From d6d5f46baea90e9b8a305a010457ac6d404d8829 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Thu, 11 Apr 2019 16:02:38 +0000 Subject: [PATCH 001/246] Update OAuth web template --- lib/pleroma/web/templates/layout/app.html.eex | 45 ++++++++++++--- .../web/templates/o_auth/o_auth/show.html.eex | 57 ++++++++++++++----- 2 files changed, 79 insertions(+), 23 deletions(-) diff --git a/lib/pleroma/web/templates/layout/app.html.eex b/lib/pleroma/web/templates/layout/app.html.eex index 8333bc921..7d2d609d1 100644 --- a/lib/pleroma/web/templates/layout/app.html.eex +++ b/lib/pleroma/web/templates/layout/app.html.eex @@ -63,13 +63,14 @@ .scopes-input { display: flex; + flex-direction: column; margin-top: 1em; text-align: left; color: #89898a; } .scopes-input label:first-child { - flex-basis: 40%; + height: 2em; } .scopes { @@ -80,13 +81,22 @@ } .scope { - flex-basis: 100%; display: flex; + flex-basis: 100%; height: 2em; align-items: center; } + .scope:before { + color: #b9b9ba; + content: "✔"; + margin-left: 1em; + margin-right: 1em; + } + [type="checkbox"] + label { + display: none; + cursor: pointer; margin: 0.5em; } @@ -95,10 +105,12 @@ } [type="checkbox"] + label:before { + cursor: pointer; display: inline-block; color: white; background-color: #121a24; border: 4px solid #121a24; + box-shadow: 0px 0px 1px 0 #d8a070; box-sizing: border-box; width: 1.2em; height: 1.2em; @@ -128,7 +140,8 @@ border-radius: 4px; border: none; padding: 10px; - margin-top: 30px; + margin-top: 20px; + margin-bottom: 20px; text-transform: uppercase; font-size: 16px; box-shadow: 0px 0px 2px 0px black, @@ -147,8 +160,9 @@ box-sizing: border-box; width: 100%; background-color: #931014; + border: 1px solid #a06060; + color: #902020; border-radius: 4px; - border: none; padding: 10px; margin-top: 20px; font-weight: 500; @@ -171,12 +185,27 @@ margin-top: 0 } - .scopes-input { - flex-direction: column; + .scope { + flex-basis: 0%; } - .scope { - flex-basis: 50%; + .scope:before { + content: ""; + margin-left: 0em; + margin-right: 1em; + } + + .scope:first-child:before { + margin-left: 1em; + content: "✔"; + } + + .scope:after { + content: ","; + } + + .scope:last-child:after { + content: ""; } } diff --git a/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex index 87278e636..c7b4ef792 100644 --- a/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex +++ b/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex @@ -6,26 +6,53 @@ <% end %>

OAuth Authorization

- <%= form_for @conn, o_auth_path(@conn, :authorize), [as: "authorization"], fn f -> %> -
- <%= label f, :name, "Name or email" %> - <%= text_input f, :name %> -
-
- <%= label f, :password, "Password" %> - <%= password_input f, :password %> -
-<%= render @view_module, "_scopes.html", Map.merge(assigns, %{form: f, scope_param: "authorization[scope][]"}) %> +<%= if @params["registration"] in ["true", true] do %> +

This is the first time you visit! Please enter your Pleroma handle.

+

Choose carefully! You won't be able to change this later. You will be able to change your display name, though.

+

Please only use lowercase letters and no special characters

+
+ <%= label f, :nickname, "Pleroma Handle" %> + <%= text_input f, :nickname, placeholder: "lain" %> +
+ <%= hidden_input f, :name, value: @params["name"] %> + <%= hidden_input f, :password, value: @params["password"] %> +
+ +<% else %> +
+ <%= label f, :name, "Username" %> + <%= text_input f, :name %> +
+
+ <%= label f, :password, "Password" %> + <%= password_input f, :password %> +
+ <%= submit "Log In" %> +
+ <%= label f, :scope, "The following permissions will be granted" %> +
+ <%= for scope <- @available_scopes do %> + <%# Note: using hidden input with `unchecked_value` in order to distinguish user's empty selection from `scope` param being omitted %> + <%= if scope in @scopes do %> +
+ <%= checkbox f, :"scope_#{scope}", value: scope in @scopes && scope, checked_value: scope, unchecked_value: "", name: "authorization[scope][]" %> + <%= label f, :"scope_#{scope}", String.capitalize(scope) %> + <%= if scope in @scopes && scope do %> + <%= String.capitalize(scope) %> + <% end %> +
+ <% else %> + <%= checkbox f, :"scope_#{scope}", value: scope in @scopes && scope, checked_value: scope, unchecked_value: "", name: "authorization[scope][]" %> + <% end %> + <% end %> +
+
+<% end %> <%= hidden_input f, :client_id, value: @client_id %> <%= hidden_input f, :response_type, value: @response_type %> <%= hidden_input f, :redirect_uri, value: @redirect_uri %> <%= hidden_input f, :state, value: @state %> -<%= submit "Authorize" %> -<% end %> - -<%= if Pleroma.Config.oauth_consumer_enabled?() do %> - <%= render @view_module, Pleroma.Web.Auth.Authenticator.oauth_consumer_template(), assigns %> <% end %> From 9a98f48ec3f438e543a5a621624401bb22a0d44a Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Wed, 1 May 2019 12:29:48 -0500 Subject: [PATCH 002/246] Remove incorrect statement about valid characters --- lib/pleroma/web/templates/o_auth/o_auth/show.html.eex | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex index c7b4ef792..45f2b5cc0 100644 --- a/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex +++ b/lib/pleroma/web/templates/o_auth/o_auth/show.html.eex @@ -11,7 +11,6 @@ <%= if @params["registration"] in ["true", true] do %>

This is the first time you visit! Please enter your Pleroma handle.

Choose carefully! You won't be able to change this later. You will be able to change your display name, though.

-

Please only use lowercase letters and no special characters

<%= label f, :nickname, "Pleroma Handle" %> <%= text_input f, :nickname, placeholder: "lain" %> From 62e42b03abd2cede85e85f62c35f62a8c42e8ea1 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Wed, 15 May 2019 20:10:16 +0300 Subject: [PATCH 003/246] Handle incoming Question objects --- .../web/activity_pub/transmogrifier.ex | 2 +- lib/pleroma/web/activity_pub/utils.ex | 2 +- test/fixtures/httpoison_mock/rinpatch.json | 64 ++++++++++++ test/fixtures/mastodon-question-activity.json | 99 +++++++++++++++++++ test/support/http_request_mock.ex | 8 ++ test/web/activity_pub/transmogrifier_test.exs | 17 ++++ 6 files changed, 190 insertions(+), 2 deletions(-) create mode 100644 test/fixtures/httpoison_mock/rinpatch.json create mode 100644 test/fixtures/mastodon-question-activity.json diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index 508f3532f..c2596cfec 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -399,7 +399,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do # - tags # - emoji def handle_incoming(%{"type" => "Create", "object" => %{"type" => objtype} = object} = data) - when objtype in ["Article", "Note", "Video", "Page"] do + when objtype in ["Article", "Note", "Video", "Page", "Question"] do actor = Containment.get_actor(data) data = diff --git a/lib/pleroma/web/activity_pub/utils.ex b/lib/pleroma/web/activity_pub/utils.ex index 581b9d1ab..de91fa03f 100644 --- a/lib/pleroma/web/activity_pub/utils.ex +++ b/lib/pleroma/web/activity_pub/utils.ex @@ -19,7 +19,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do require Logger - @supported_object_types ["Article", "Note", "Video", "Page"] + @supported_object_types ["Article", "Note", "Video", "Page", "Question"] # Some implementations send the actor URI as the actor field, others send the entire actor object, # so figure out what the actor's URI is based on what we have. diff --git a/test/fixtures/httpoison_mock/rinpatch.json b/test/fixtures/httpoison_mock/rinpatch.json new file mode 100644 index 000000000..59311ecb6 --- /dev/null +++ b/test/fixtures/httpoison_mock/rinpatch.json @@ -0,0 +1,64 @@ +{ + "@context": [ + "https://www.w3.org/ns/activitystreams", + "https://w3id.org/security/v1", + { + "manuallyApprovesFollowers": "as:manuallyApprovesFollowers", + "toot": "http://joinmastodon.org/ns#", + "featured": { + "@id": "toot:featured", + "@type": "@id" + }, + "alsoKnownAs": { + "@id": "as:alsoKnownAs", + "@type": "@id" + }, + "movedTo": { + "@id": "as:movedTo", + "@type": "@id" + }, + "schema": "http://schema.org#", + "PropertyValue": "schema:PropertyValue", + "value": "schema:value", + "Hashtag": "as:Hashtag", + "Emoji": "toot:Emoji", + "IdentityProof": "toot:IdentityProof", + "focalPoint": { + "@container": "@list", + "@id": "toot:focalPoint" + } + } + ], + "id": "https://mastodon.sdf.org/users/rinpatch", + "type": "Person", + "following": "https://mastodon.sdf.org/users/rinpatch/following", + "followers": "https://mastodon.sdf.org/users/rinpatch/followers", + "inbox": "https://mastodon.sdf.org/users/rinpatch/inbox", + "outbox": "https://mastodon.sdf.org/users/rinpatch/outbox", + "featured": "https://mastodon.sdf.org/users/rinpatch/collections/featured", + "preferredUsername": "rinpatch", + "name": "rinpatch", + "summary": "

umu

", + "url": "https://mastodon.sdf.org/@rinpatch", + "manuallyApprovesFollowers": false, + "publicKey": { + "id": "https://mastodon.sdf.org/users/rinpatch#main-key", + "owner": "https://mastodon.sdf.org/users/rinpatch", + "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1vbhYKDopb5xzfJB2TZY\n0ZvgxqdAhbSKKkQC5Q2b0ofhvueDy2AuZTnVk1/BbHNlqKlwhJUSpA6LiTZVvtcc\nMn6cmSaJJEg30gRF5GARP8FMcuq8e2jmceiW99NnUX17MQXsddSf2JFUwD0rUE8H\nBsgD7UzE9+zlA/PJOTBO7fvBEz9PTQ3r4sRMTJVFvKz2MU/U+aRNTuexRKMMPnUw\nfp6VWh1F44VWJEQOs4tOEjGiQiMQh5OfBk1w2haT3vrDbQvq23tNpUP1cRomLUtx\nEBcGKi5DMMBzE1RTVT1YUykR/zLWlA+JSmw7P6cWtsHYZovs8dgn8Po3X//6N+ng\nTQIDAQAB\n-----END PUBLIC KEY-----\n" + }, + "tag": [], + "attachment": [], + "endpoints": { + "sharedInbox": "https://mastodon.sdf.org/inbox" + }, + "icon": { + "type": "Image", + "mediaType": "image/jpeg", + "url": "https://mastodon.sdf.org/system/accounts/avatars/000/067/580/original/bf05521bf711b7a0.jpg?1533238802" + }, + "image": { + "type": "Image", + "mediaType": "image/gif", + "url": "https://mastodon.sdf.org/system/accounts/headers/000/067/580/original/a99b987e798f7063.gif?1533278217" + } +} diff --git a/test/fixtures/mastodon-question-activity.json b/test/fixtures/mastodon-question-activity.json new file mode 100644 index 000000000..ac329c7d5 --- /dev/null +++ b/test/fixtures/mastodon-question-activity.json @@ -0,0 +1,99 @@ +{ + "@context": [ + "https://www.w3.org/ns/activitystreams", + { + "ostatus": "http://ostatus.org#", + "atomUri": "ostatus:atomUri", + "inReplyToAtomUri": "ostatus:inReplyToAtomUri", + "conversation": "ostatus:conversation", + "sensitive": "as:sensitive", + "Hashtag": "as:Hashtag", + "toot": "http://joinmastodon.org/ns#", + "Emoji": "toot:Emoji", + "focalPoint": { + "@container": "@list", + "@id": "toot:focalPoint" + } + } + ], + "id": "https://mastodon.sdf.org/users/rinpatch/statuses/102070944809637304/activity", + "type": "Create", + "actor": "https://mastodon.sdf.org/users/rinpatch", + "published": "2019-05-10T09:03:36Z", + "to": [ + "https://www.w3.org/ns/activitystreams#Public" + ], + "cc": [ + "https://mastodon.sdf.org/users/rinpatch/followers" + ], + "object": { + "id": "https://mastodon.sdf.org/users/rinpatch/statuses/102070944809637304", + "type": "Question", + "summary": null, + "inReplyTo": null, + "published": "2019-05-10T09:03:36Z", + "url": "https://mastodon.sdf.org/@rinpatch/102070944809637304", + "attributedTo": "https://mastodon.sdf.org/users/rinpatch", + "to": [ + "https://www.w3.org/ns/activitystreams#Public" + ], + "cc": [ + "https://mastodon.sdf.org/users/rinpatch/followers" + ], + "sensitive": false, + "atomUri": "https://mastodon.sdf.org/users/rinpatch/statuses/102070944809637304", + "inReplyToAtomUri": null, + "conversation": "tag:mastodon.sdf.org,2019-05-10:objectId=15095122:objectType=Conversation", + "content": "

Why is Tenshi eating a corndog so cute?

", + "contentMap": { + "en": "

Why is Tenshi eating a corndog so cute?

" + }, + "endTime": "2019-05-11T09:03:36Z", + "closed": "2019-05-11T09:03:36Z", + "attachment": [], + "tag": [], + "replies": { + "id": "https://mastodon.sdf.org/users/rinpatch/statuses/102070944809637304/replies", + "type": "Collection", + "first": { + "type": "CollectionPage", + "partOf": "https://mastodon.sdf.org/users/rinpatch/statuses/102070944809637304/replies", + "items": [] + } + }, + "oneOf": [ + { + "type": "Note", + "name": "Dunno", + "replies": { + "type": "Collection", + "totalItems": 0 + } + }, + { + "type": "Note", + "name": "Everyone knows that!", + "replies": { + "type": "Collection", + "totalItems": 1 + } + }, + { + "type": "Note", + "name": "25 char limit is dumb", + "replies": { + "type": "Collection", + "totalItems": 0 + } + }, + { + "type": "Note", + "name": "I can't even fit a funny", + "replies": { + "type": "Collection", + "totalItems": 1 + } + } + ] + } +} diff --git a/test/support/http_request_mock.ex b/test/support/http_request_mock.ex index 5b355bfe6..3064c032b 100644 --- a/test/support/http_request_mock.ex +++ b/test/support/http_request_mock.ex @@ -52,6 +52,14 @@ defmodule HttpRequestMock do }} end + def get("https://mastodon.sdf.org/users/rinpatch", _, _, _) do + {:ok, + %Tesla.Env{ + status: 200, + body: File.read!("test/fixtures/httpoison_mock/rinpatch.json") + }} + end + def get( "https://mastodon.social/.well-known/webfinger?resource=https://mastodon.social/users/emelie", _, diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs index c24b50f8c..727abbd17 100644 --- a/test/web/activity_pub/transmogrifier_test.exs +++ b/test/web/activity_pub/transmogrifier_test.exs @@ -113,6 +113,23 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do assert Enum.at(object.data["tag"], 2) == "moo" end + test "it works for incoming questions" do + data = File.read!("test/fixtures/mastodon-question-activity.json") |> Poison.decode!() + + {:ok, %Activity{local: false} = activity} = Transmogrifier.handle_incoming(data) + + object = Object.normalize(activity) + + assert Enum.all?(object.data["oneOf"], fn choice -> + choice["name"] in [ + "Dunno", + "Everyone knows that!", + "25 char limit is dumb", + "I can't even fit a funny" + ] + end) + end + test "it works for incoming notices with contentMap" do data = File.read!("test/fixtures/mastodon-post-activity-contentmap.json") |> Poison.decode!() From 642a67dd4492f31b5b9fe457e34c1589c9d70c3f Mon Sep 17 00:00:00 2001 From: rinpatch Date: Fri, 17 May 2019 11:44:47 +0300 Subject: [PATCH 004/246] Render polls in statuses --- .../web/mastodon_api/views/status_view.ex | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index bd2372944..6337c50e8 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -232,6 +232,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do spoiler_text: summary_html, visibility: get_visibility(object), media_attachments: attachments, + poll: render("poll.json", %{object: object, for: opts[:for]}), mentions: mentions, tags: build_tags(tags), application: %{ @@ -321,6 +322,57 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do } end + # TODO: Add tests for this view + def render("poll.json", %{object: object} = opts) do + {multiple, options} = + case object.data do + %{"anyOf" => options} when is_list(options) -> {true, options} + %{"oneOf" => options} when is_list(options) -> {false, options} + _ -> {nil, nil} + end + + if options do + end_time = + (object.data["closed"] || object.data["endTime"]) + |> NaiveDateTime.from_iso8601!() + + votes_count = object.data["votes_count"] || 0 + + expired = + end_time + |> NaiveDateTime.compare(NaiveDateTime.utc_now()) + |> case do + :lt -> true + _ -> false + end + + options = + Enum.map(options, fn %{"name" => name} = option -> + name = + HTML.filter_tags( + name, + User.html_filter_policy(opts[:for]) + ) + + %{title: name, votes_count: option["replies"]["votes_count"] || 0} + end) + + %{ + # Mastodon uses separate ids for polls, but an object can't have more than one poll embedded so object id is fine + id: object.id, + expires_at: Utils.to_masto_date(end_time), + expired: expired, + multiple: multiple, + votes_count: votes_count, + options: options, + voted: false, + emojis: build_emojis(object.data["emoji"]) + } + else + nil + end + end + def get_reply_to(activity, %{replied_to_activities: replied_to_activities}) do object = Object.normalize(activity) From fd920c897339b9cedea042dd6698d14380cedae7 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Sat, 18 May 2019 13:29:28 +0300 Subject: [PATCH 005/246] Mastodon API: Add support for posting polls --- lib/pleroma/web/common_api/common_api.ex | 4 +- lib/pleroma/web/common_api/utils.ex | 64 ++++++++++++++++--- .../mastodon_api_controller_test.exs | 22 +++++++ test/web/mastodon_api/status_view_test.exs | 1 + 4 files changed, 82 insertions(+), 9 deletions(-) diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index b53869c75..335ae70b0 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -149,6 +149,7 @@ defmodule Pleroma.Web.CommonAPI do data, visibility ), + {poll, mentions, tags} <- make_poll_data(data, mentions, tags), {to, cc} <- to_for_user_and_mentions(user, mentions, in_reply_to, visibility), context <- make_context(in_reply_to), cw <- data["spoiler_text"] || "", @@ -164,7 +165,8 @@ defmodule Pleroma.Web.CommonAPI do in_reply_to, tags, cw, - cc + cc, + poll ), object <- Map.put( diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 1dfe50b40..13cdffbbd 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -102,6 +102,48 @@ defmodule Pleroma.Web.CommonAPI.Utils do end end + def make_poll_data( + %{"poll" => %{"options" => options, "expires_in" => expires_in}} = data, + mentions, + tags + ) + when is_list(options) and is_integer(expires_in) do + content_type = get_content_type(data["content_type"]) + # XXX: There is probably a more performant/cleaner way to do this + {poll, {mentions, tags}} = + Enum.map_reduce(options, {mentions, tags}, fn option, {mentions, tags} -> + # TODO: Custom emoji + {option, mentions_merge, tags_merge} = format_input(option, content_type) + mentions = mentions ++ mentions_merge + tags = tags ++ tags_merge + + {%{ + "name" => option, + "type" => "Note", + "replies" => %{"type" => "Collection", "totalItems" => 0} + }, {mentions, tags}} + end) + + end_time = + NaiveDateTime.utc_now() + |> NaiveDateTime.add(expires_in) + |> NaiveDateTime.to_iso8601() + + poll = + if Pleroma.Web.ControllerHelper.truthy_param?(data["poll"]["multiple"]) do + %{"type" => "Question", "anyOf" => poll, "closed" => end_time} + else + %{"type" => "Question", "oneOf" => poll, "closed" => end_time} + end + + {poll, mentions, tags} + end + + def make_poll_data(data, mentions, tags) do + IO.inspect(data, label: "data") + {%{}, mentions, tags} + end + def make_content_html( status, attachments, @@ -223,8 +265,11 @@ defmodule Pleroma.Web.CommonAPI.Utils do in_reply_to, tags, cw \\ nil, - cc \\ [] + cc \\ [], + merge \\ %{} ) do + IO.inspect(merge, label: "merge") + object = %{ "type" => "Note", "to" => to, @@ -237,14 +282,17 @@ defmodule Pleroma.Web.CommonAPI.Utils do "tag" => tags |> Enum.map(fn {_, tag} -> tag end) |> Enum.uniq() } - if in_reply_to do - in_reply_to_object = Object.normalize(in_reply_to) + object = + if in_reply_to do + in_reply_to_object = Object.normalize(in_reply_to) - object - |> Map.put("inReplyTo", in_reply_to_object.data["id"]) - else - object - end + object + |> Map.put("inReplyTo", in_reply_to_object.data["id"]) + else + object + end + + Map.merge(object, merge) end def format_naive_asctime(date) do diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index 505e45010..ce581c092 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -132,6 +132,28 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do refute id == third_id end + test "posting a poll", %{conn: conn} do + user = insert(:user) + time = NaiveDateTime.utc_now() + + conn = + conn + |> assign(:user, user) + |> post("/api/v1/statuses", %{ + "status" => "Who is the best girl?", + "poll" => %{"options" => ["Rei", "Asuka", "Misato"], "expires_in" => 420} + }) + + response = json_response(conn, 200) + + assert Enum.all?(response["poll"]["options"], fn %{"title" => title} -> + title in ["Rei", "Asuka", "Misato"] + end) + + assert NaiveDateTime.diff(NaiveDateTime.from_iso8601!(response["poll"]["expires_at"]), time) in 420..430 + refute response["poll"]["expred"] + end + test "posting a sensitive status", %{conn: conn} do user = insert(:user) diff --git a/test/web/mastodon_api/status_view_test.exs b/test/web/mastodon_api/status_view_test.exs index d7c800e83..9f2ebda4e 100644 --- a/test/web/mastodon_api/status_view_test.exs +++ b/test/web/mastodon_api/status_view_test.exs @@ -103,6 +103,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do muted: false, pinned: false, sensitive: false, + poll: nil, spoiler_text: HtmlSanitizeEx.basic_html(note.data["object"]["summary"]), visibility: "public", media_attachments: [], From 1d90f9b96999f8bad3fa3e3ec58bf50c8666be4f Mon Sep 17 00:00:00 2001 From: rinpatch Date: Sun, 19 May 2019 17:06:44 +0300 Subject: [PATCH 006/246] Remove tags/mentions/rich text from poll options because Mastodon and add custom emoji --- lib/pleroma/web/common_api/common_api.ex | 4 +-- lib/pleroma/web/common_api/utils.ex | 25 ++++++------------- .../web/mastodon_api/views/status_view.ex | 14 +++++------ 3 files changed, 15 insertions(+), 28 deletions(-) diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index bc8f80389..374967a1b 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -154,7 +154,7 @@ defmodule Pleroma.Web.CommonAPI do data, visibility ), - {poll, mentions, tags} <- make_poll_data(data, mentions, tags), + {poll, poll_emoji} <- make_poll_data(data), {to, cc} <- to_for_user_and_mentions(user, mentions, in_reply_to, visibility), context <- make_context(in_reply_to), cw <- data["spoiler_text"] || "", @@ -179,7 +179,7 @@ defmodule Pleroma.Web.CommonAPI do Map.put( object, "emoji", - Formatter.get_emoji_map(full_payload) + Map.merge(Formatter.get_emoji_map(full_payload), poll_emoji) ) do res = ActivityPub.create( diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 2ea997789..cd8483c11 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -102,26 +102,15 @@ defmodule Pleroma.Web.CommonAPI.Utils do end end - def make_poll_data( - %{"poll" => %{"options" => options, "expires_in" => expires_in}} = data, - mentions, - tags - ) + def make_poll_data(%{"poll" => %{"options" => options, "expires_in" => expires_in}} = data) when is_list(options) and is_integer(expires_in) do - content_type = get_content_type(data["content_type"]) - # XXX: There is probably a more performant/cleaner way to do this - {poll, {mentions, tags}} = - Enum.map_reduce(options, {mentions, tags}, fn option, {mentions, tags} -> - # TODO: Custom emoji - {option, mentions_merge, tags_merge} = format_input(option, content_type) - mentions = mentions ++ mentions_merge - tags = tags ++ tags_merge - + {poll, emoji} = + Enum.map_reduce(options, %{}, fn option, emoji -> {%{ "name" => option, "type" => "Note", "replies" => %{"type" => "Collection", "totalItems" => 0} - }, {mentions, tags}} + }, Map.merge(emoji, Formatter.get_emoji_map(option))} end) end_time = @@ -136,11 +125,11 @@ defmodule Pleroma.Web.CommonAPI.Utils do %{"type" => "Question", "oneOf" => poll, "closed" => end_time} end - {poll, mentions, tags} + {poll, emoji} end - def make_poll_data(_data, mentions, tags) do - {%{}, mentions, tags} + def make_poll_data(_data) do + {%{}, %{}} end def make_content_html( diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index 2a5691e1f..0df8bb5c2 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -325,7 +325,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do end # TODO: Add tests for this view - def render("poll.json", %{object: object} = opts) do + def render("poll.json", %{object: object} = _opts) do {multiple, options} = case object.data do %{"anyOf" => options} when is_list(options) -> {true, options} @@ -350,13 +350,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do options = Enum.map(options, fn %{"name" => name} = option -> - name = - HTML.filter_tags( - name, - User.html_filter_policy(opts[:for]) - ) - - %{title: name, votes_count: option["replies"]["votes_count"] || 0} + %{ + title: HTML.strip_tags(name), + votes_count: option["replies"]["votes_count"] || 0 + } end) %{ @@ -367,6 +364,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do multiple: multiple, votes_count: votes_count, options: options, + # TODO: Actually check for a vote voted: false, emojis: build_emojis(object.data["emoji"]) } From 6430cb1bf78e7949cc023a30df7a8d1547c36524 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Sun, 19 May 2019 17:44:18 +0300 Subject: [PATCH 007/246] Restrict poll replies from fetch queries by default --- lib/pleroma/web/activity_pub/activity_pub.ex | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 5c3156978..035fb75d5 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -820,6 +820,16 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do defp restrict_muted_reblogs(query, _), do: query + defp restrict_poll_replies(query, %{"include_poll_replies" => "true"}), do: query + + defp restrict_poll_replies(query, _) do + if has_named_binding?(query, :object) do + from([activity, object: o] in query, where: fragment("?->'name' is null", o.data)) + else + query + end + end + defp maybe_preload_objects(query, %{"skip_preload" => true}), do: query defp maybe_preload_objects(query, _) do @@ -873,6 +883,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do |> restrict_pinned(opts) |> restrict_muted_reblogs(opts) |> Activity.restrict_deactivated_users() + |> restrict_poll_replies(opts) end def fetch_activities(recipients, opts \\ %{}) do From 76a7429befb2e9a819b653ff8328cc42a565c29d Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 09:13:10 +0300 Subject: [PATCH 008/246] Add poll limits to /api/v1/instance and initial state --- config/config.exs | 6 ++++++ docs/config.md | 5 +++++ lib/pleroma/web/mastodon_api/mastodon_api_controller.ex | 4 +++- test/web/mastodon_api/mastodon_api_controller_test.exs | 3 ++- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/config/config.exs b/config/config.exs index 9a10b0ff7..47d8dfb42 100644 --- a/config/config.exs +++ b/config/config.exs @@ -211,6 +211,12 @@ config :pleroma, :instance, avatar_upload_limit: 2_000_000, background_upload_limit: 4_000_000, banner_upload_limit: 4_000_000, + poll_limits: %{ + max_options: 20, + max_option_chars: 200, + min_expiration: 0, + max_expiration: 365 * 24 * 60 * 60 + }, registrations_open: true, federating: true, federation_reachability_timeout_days: 7, diff --git a/docs/config.md b/docs/config.md index 450d73fda..f9903332c 100644 --- a/docs/config.md +++ b/docs/config.md @@ -71,6 +71,11 @@ config :pleroma, Pleroma.Emails.Mailer, * `avatar_upload_limit`: File size limit of user’s profile avatars * `background_upload_limit`: File size limit of user’s profile backgrounds * `banner_upload_limit`: File size limit of user’s profile banners +* `poll_limits`: A map with poll limits for **local** polls + * `max_options`: Maximum number of options + * `max_option_chars`: Maximum number of characters per option + * `min_expiration`: Minimum expiration time (in seconds) + * `max_expiration`: Maximum expiration time (in seconds) * `registrations_open`: Enable registrations for anyone, invitations can be enabled when false. * `invites_enabled`: Enable user invitations for admins (depends on `registrations_open: false`). * `account_activation_required`: Require users to confirm their emails before signing in. diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index 1051861ff..81cc5a972 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -197,7 +197,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do languages: ["en"], registrations: Pleroma.Config.get([:instance, :registrations_open]), # Extra (not present in Mastodon): - max_toot_chars: Keyword.get(instance, :limit) + max_toot_chars: Keyword.get(instance, :limit), + poll_limits: Keyword.get(instance, :poll_limits) } json(conn, response) @@ -1331,6 +1332,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do max_toot_chars: limit, mascot: "/images/pleroma-fox-tan-smol.png" }, + poll_limits: Config.get([:instance, :poll_limits]), rights: %{ delete_others_notice: present?(user.info.is_moderator), admin: present?(user.info.is_admin) diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index 68fe9c1b4..48268d4f7 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -2494,7 +2494,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do "stats" => _, "thumbnail" => _, "languages" => _, - "registrations" => _ + "registrations" => _, + "poll_limits" => _ } = result assert email == from_config_email From 3f96b3e4b8114ec1cf924d452907b17c2aea2003 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 10:54:20 +0300 Subject: [PATCH 009/246] Enforce poll limits and add error handling for MastodonAPI's post endpoint --- lib/pleroma/web/common_api/utils.ex | 71 ++++++++---- .../mastodon_api/mastodon_api_controller.ex | 43 ++++--- .../mastodon_api_controller_test.exs | 107 +++++++++++++++--- 3 files changed, 173 insertions(+), 48 deletions(-) diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index cd8483c11..97172fd94 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -104,28 +104,61 @@ defmodule Pleroma.Web.CommonAPI.Utils do def make_poll_data(%{"poll" => %{"options" => options, "expires_in" => expires_in}} = data) when is_list(options) and is_integer(expires_in) do - {poll, emoji} = - Enum.map_reduce(options, %{}, fn option, emoji -> - {%{ - "name" => option, - "type" => "Note", - "replies" => %{"type" => "Collection", "totalItems" => 0} - }, Map.merge(emoji, Formatter.get_emoji_map(option))} - end) + %{max_expiration: max_expiration, min_expiration: min_expiration} = + limits = Pleroma.Config.get([:instance, :poll_limits]) - end_time = - NaiveDateTime.utc_now() - |> NaiveDateTime.add(expires_in) - |> NaiveDateTime.to_iso8601() - - poll = - if Pleroma.Web.ControllerHelper.truthy_param?(data["poll"]["multiple"]) do - %{"type" => "Question", "anyOf" => poll, "closed" => end_time} - else - %{"type" => "Question", "oneOf" => poll, "closed" => end_time} + # XXX: There is probably a cleaner way of doing this + try do + if Enum.count(options) > limits.max_options do + raise ArgumentError, message: "Poll can't contain more than #{limits.max_options} options" end - {poll, emoji} + {poll, emoji} = + Enum.map_reduce(options, %{}, fn option, emoji -> + if String.length(option) > limits.max_option_chars do + raise ArgumentError, + message: + "Poll options cannot be longer than #{limits.max_option_chars} characters each" + end + + {%{ + "name" => option, + "type" => "Note", + "replies" => %{"type" => "Collection", "totalItems" => 0} + }, Map.merge(emoji, Formatter.get_emoji_map(option))} + end) + + case expires_in do + expires_in when expires_in > max_expiration -> + raise ArgumentError, message: "Expiration date is too far in the future" + + expires_in when expires_in < min_expiration -> + raise ArgumentError, message: "Expiration date is too soon" + + _ -> + :noop + end + + end_time = + NaiveDateTime.utc_now() + |> NaiveDateTime.add(expires_in) + |> NaiveDateTime.to_iso8601() + + poll = + if Pleroma.Web.ControllerHelper.truthy_param?(data["poll"]["multiple"]) do + %{"type" => "Question", "anyOf" => poll, "closed" => end_time} + else + %{"type" => "Question", "oneOf" => poll, "closed" => end_time} + end + + {poll, emoji} + rescue + e in ArgumentError -> e.message + end + end + + def make_poll_data(%{"poll" => _}) do + "Invalid poll" end def make_poll_data(_data) do diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index 81cc5a972..e2cab86f1 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -473,12 +473,6 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do params |> Map.put("in_reply_to_status_id", params["in_reply_to_id"]) - idempotency_key = - case get_req_header(conn, "idempotency-key") do - [key] -> key - _ -> Ecto.UUID.generate() - end - scheduled_at = params["scheduled_at"] if scheduled_at && ScheduledActivity.far_enough?(scheduled_at) do @@ -491,17 +485,40 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do else params = Map.drop(params, ["scheduled_at"]) - {:ok, activity} = - Cachex.fetch!(:idempotency_cache, idempotency_key, fn _ -> - CommonAPI.post(user, params) - end) + case get_cached_status_or_post(conn, params) do + {:ignore, message} -> + conn + |> put_status(401) + |> json(%{error: message}) - conn - |> put_view(StatusView) - |> try_render("status.json", %{activity: activity, for: user, as: :activity}) + {:error, message} -> + conn + |> put_status(401) + |> json(%{error: message}) + + {_, activity} -> + conn + |> put_view(StatusView) + |> try_render("status.json", %{activity: activity, for: user, as: :activity}) + end end end + defp get_cached_status_or_post(%{assigns: %{user: user}} = conn, params) do + idempotency_key = + case get_req_header(conn, "idempotency-key") do + [key] -> key + _ -> Ecto.UUID.generate() + end + + Cachex.fetch(:idempotency_cache, idempotency_key, fn _ -> + case CommonAPI.post(user, params) do + {:ok, activity} -> activity + {:error, message} -> {:ignore, message} + end + end) + end + def delete_status(%{assigns: %{user: user}} = conn, %{"id" => id}) do with {:ok, %Activity{}} <- CommonAPI.delete(id, user) do json(conn, %{}) diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index 48268d4f7..e1df79ffb 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -146,26 +146,101 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do refute id == third_id end - test "posting a poll", %{conn: conn} do - user = insert(:user) - time = NaiveDateTime.utc_now() + describe "posting polls" do + test "posting a poll", %{conn: conn} do + user = insert(:user) + time = NaiveDateTime.utc_now() - conn = - conn - |> assign(:user, user) - |> post("/api/v1/statuses", %{ - "status" => "Who is the best girl?", - "poll" => %{"options" => ["Rei", "Asuka", "Misato"], "expires_in" => 420} - }) + conn = + conn + |> assign(:user, user) + |> post("/api/v1/statuses", %{ + "status" => "Who is the #bestgrill?", + "poll" => %{"options" => ["Rei", "Asuka", "Misato"], "expires_in" => 420} + }) - response = json_response(conn, 200) + response = json_response(conn, 200) - assert Enum.all?(response["poll"]["options"], fn %{"title" => title} -> - title in ["Rei", "Asuka", "Misato"] - end) + assert Enum.all?(response["poll"]["options"], fn %{"title" => title} -> + title in ["Rei", "Asuka", "Misato"] + end) - assert NaiveDateTime.diff(NaiveDateTime.from_iso8601!(response["poll"]["expires_at"]), time) in 420..430 - refute response["poll"]["expred"] + assert NaiveDateTime.diff(NaiveDateTime.from_iso8601!(response["poll"]["expires_at"]), time) in 420..430 + refute response["poll"]["expred"] + end + + test "option limit is enforced", %{conn: conn} do + user = insert(:user) + limit = Pleroma.Config.get([:instance, :poll_limits, :max_options]) + + conn = + conn + |> assign(:user, user) + |> post("/api/v1/statuses", %{ + "status" => "desu~", + "poll" => %{"options" => Enum.map(0..limit, fn _ -> "desu" end), "expires_in" => 1} + }) + + %{"error" => error} = json_response(conn, 401) + assert error == "Poll can't contain more than #{limit} options" + end + + test "option character limit is enforced", %{conn: conn} do + user = insert(:user) + limit = Pleroma.Config.get([:instance, :poll_limits, :max_option_chars]) + + conn = + conn + |> assign(:user, user) + |> post("/api/v1/statuses", %{ + "status" => "...", + "poll" => %{ + "options" => [Enum.reduce(0..limit, "", fn _, acc -> acc <> "." end)], + "expires_in" => 1 + } + }) + + %{"error" => error} = json_response(conn, 401) + assert error == "Poll options cannot be longer than #{limit} characters each" + end + + test "minimal date limit is enforced", %{conn: conn} do + user = insert(:user) + limit = Pleroma.Config.get([:instance, :poll_limits, :min_expiration]) + + conn = + conn + |> assign(:user, user) + |> post("/api/v1/statuses", %{ + "status" => "imagine arbitrary limits", + "poll" => %{ + "options" => ["this post was made by pleroma gang"], + "expires_in" => limit - 1 + } + }) + + %{"error" => error} = json_response(conn, 401) + assert error == "Expiration date is too soon" + end + + test "maximum date limit is enforced", %{conn: conn} do + user = insert(:user) + limit = Pleroma.Config.get([:instance, :poll_limits, :max_expiration]) + + conn = + conn + |> assign(:user, user) + |> post("/api/v1/statuses", %{ + "status" => "imagine arbitrary limits", + "poll" => %{ + "options" => ["this post was made by pleroma gang"], + "expires_in" => limit + 1 + } + }) + + %{"error" => error} = json_response(conn, 401) + assert error == "Expiration date is too far in the future" + end end test "posting a sensitive status", %{conn: conn} do From aafe30d94e68ccf251c56139d07bda154dde3af9 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 14:12:10 +0300 Subject: [PATCH 010/246] Handle poll votes --- lib/pleroma/object.ex | 30 ++++++++++++++++++ lib/pleroma/web/activity_pub/activity_pub.ex | 10 ++++++ test/fixtures/mastodon-vote.json | 16 ++++++++++ test/web/activity_pub/transmogrifier_test.exs | 31 +++++++++++++++++++ 4 files changed, 87 insertions(+) create mode 100644 test/fixtures/mastodon-vote.json diff --git a/lib/pleroma/object.ex b/lib/pleroma/object.ex index 740d687a3..a0f7659eb 100644 --- a/lib/pleroma/object.ex +++ b/lib/pleroma/object.ex @@ -188,4 +188,34 @@ defmodule Pleroma.Object do _ -> {:error, "Not found"} end end + + def increase_vote_count(ap_id, name) do + with %Object{} = object <- Object.normalize(ap_id), + "Question" <- object.data["type"] do + multiple = Map.has_key?(object.data, "anyOf") + + options = + (object.data["anyOf"] || object.data["oneOf"] || []) + |> Enum.map(fn + %{"name" => ^name} = option -> + Kernel.update_in(option["replies"]["totalItems"], &(&1 + 1)) + + option -> + option + end) + + data = + if multiple do + Map.put(object.data, "anyOf", options) + else + Map.put(object.data, "oneOf", options) + end + + object + |> Object.change(%{data: data}) + |> update_and_set_cache() + else + _ -> :noop + end + end end diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 035fb75d5..ce78d895b 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -108,6 +108,15 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do def decrease_replies_count_if_reply(_object), do: :noop + def increase_poll_votes_if_vote(%{ + "object" => %{"inReplyTo" => reply_ap_id, "name" => name}, + "type" => "Create" + }) do + Object.increase_vote_count(reply_ap_id, name) + end + + def increase_poll_votes_if_vote(_create_data), do: :noop + def insert(map, local \\ true, fake \\ false) when is_map(map) do with nil <- Activity.normalize(map), map <- lazy_put_activity_defaults(map, fake), @@ -235,6 +244,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do {:ok, activity} <- insert(create_data, local, fake), {:fake, false, activity} <- {:fake, fake, activity}, _ <- increase_replies_count_if_reply(create_data), + _ <- increase_poll_votes_if_vote(create_data), # Changing note count prior to enqueuing federation task in order to avoid # race conditions on updating user.info {:ok, _actor} <- increase_note_count_if_public(actor, activity), diff --git a/test/fixtures/mastodon-vote.json b/test/fixtures/mastodon-vote.json new file mode 100644 index 000000000..c2c5f40c0 --- /dev/null +++ b/test/fixtures/mastodon-vote.json @@ -0,0 +1,16 @@ +{ + "@context": "https://www.w3.org/ns/activitystreams", + "actor": "https://mastodon.sdf.org/users/rinpatch", + "id": "https://mastodon.sdf.org/users/rinpatch#votes/387/activity", + "nickname": "rin", + "object": { + "attributedTo": "https://mastodon.sdf.org/users/rinpatch", + "id": "https://mastodon.sdf.org/users/rinpatch#votes/387", + "inReplyTo": "https://testing.uguu.ltd/objects/9d300947-2dcb-445d-8978-9a3b4b84fa14", + "name": "suya..", + "to": "https://testing.uguu.ltd/users/rin", + "type": "Note" + }, + "to": "https://testing.uguu.ltd/users/rin", + "type": "Create" +} diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs index 727abbd17..32d94e3e9 100644 --- a/test/web/activity_pub/transmogrifier_test.exs +++ b/test/web/activity_pub/transmogrifier_test.exs @@ -130,6 +130,37 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do end) end + test "in increments vote counters on question activities" do + user = insert(:user) + + {:ok, activity} = + CommonAPI.post(user, %{ + "status" => "suya...", + "poll" => %{"options" => ["suya", "suya.", "suya.."], "expires_in" => 10} + }) + + object = Object.normalize(activity) + + data = + File.read!("test/fixtures/mastodon-vote.json") + |> Poison.decode!() + |> Kernel.put_in(["to"], user.ap_id) + |> Kernel.put_in(["object", "inReplyTo"], object.data["id"]) + |> Kernel.put_in(["object", "to"], user.ap_id) + + {:ok, %Activity{local: false}} = Transmogrifier.handle_incoming(data) + + object = Object.get_by_ap_id(object.data["id"]) + + assert Enum.any?( + object.data["oneOf"], + fn + %{"name" => "suya..", "replies" => %{"totalItems" => 1}} -> true + _ -> false + end + ) + end + test "it works for incoming notices with contentMap" do data = File.read!("test/fixtures/mastodon-post-activity-contentmap.json") |> Poison.decode!() From a53d06273080525fdda332291838b0c95ed69690 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 14:19:03 +0300 Subject: [PATCH 011/246] Fix posting non-polls from mastofe --- lib/pleroma/web/common_api/utils.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 97172fd94..66153a105 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -157,7 +157,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do end end - def make_poll_data(%{"poll" => _}) do + def make_poll_data(%{"poll" => poll}) when is_map(poll) do "Invalid poll" end From f28747858bf3265e8b82eb587919f5a89386bed7 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 14:27:09 +0300 Subject: [PATCH 012/246] Actual vote count in poll view --- .../web/mastodon_api/views/status_view.ex | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index 0df8bb5c2..c501c213c 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -338,8 +338,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do (object.data["closed"] || object.data["endTime"]) |> NaiveDateTime.from_iso8601!() - votes_count = object.data["votes_count"] || 0 - expired = end_time |> NaiveDateTime.compare(NaiveDateTime.utc_now()) @@ -348,12 +346,14 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do _ -> false end - options = - Enum.map(options, fn %{"name" => name} = option -> - %{ - title: HTML.strip_tags(name), - votes_count: option["replies"]["votes_count"] || 0 - } + {options, votes_count} = + Enum.map_reduce(options, 0, fn %{"name" => name} = option, count -> + current_count = option["replies"]["totalItems"] || 0 + + {%{ + title: HTML.strip_tags(name), + votes_count: current_count + }, current_count + count} end) %{ From d7c4d029c82c833278b3640d585235dc704f30d1 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 14:35:20 +0300 Subject: [PATCH 013/246] Restrict poll replies when fetching activiites for context --- lib/pleroma/web/activity_pub/activity_pub.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index ce78d895b..c04e6c2b8 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -491,6 +491,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do from(activity in Activity) |> restrict_blocked(opts) + |> restrict_poll_replies(opts) |> restrict_recipients(recipients, opts["user"]) |> where( [activity], From ee682441415d7abe4acb2643e1d76fe8d78e80c1 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 16:58:15 +0300 Subject: [PATCH 014/246] Do not stream out poll replies --- lib/pleroma/web/activity_pub/activity_pub.ex | 54 ++++++++++---------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index c04e6c2b8..fdebf1f6b 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -192,40 +192,42 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do public = "https://www.w3.org/ns/activitystreams#Public" if activity.data["type"] in ["Create", "Announce", "Delete"] do - Pleroma.Web.Streamer.stream("user", activity) - Pleroma.Web.Streamer.stream("list", activity) + object = Object.normalize(activity) + # Do not stream out poll replies + unless object.data["name"] do + Pleroma.Web.Streamer.stream("user", activity) + Pleroma.Web.Streamer.stream("list", activity) - if Enum.member?(activity.data["to"], public) do - Pleroma.Web.Streamer.stream("public", activity) + if Enum.member?(activity.data["to"], public) do + Pleroma.Web.Streamer.stream("public", activity) - if activity.local do - Pleroma.Web.Streamer.stream("public:local", activity) - end + if activity.local do + Pleroma.Web.Streamer.stream("public:local", activity) + end - if activity.data["type"] in ["Create"] do - object = Object.normalize(activity) + if activity.data["type"] in ["Create"] do + object.data + |> Map.get("tag", []) + |> Enum.filter(fn tag -> is_bitstring(tag) end) + |> Enum.each(fn tag -> Pleroma.Web.Streamer.stream("hashtag:" <> tag, activity) end) - object.data - |> Map.get("tag", []) - |> Enum.filter(fn tag -> is_bitstring(tag) end) - |> Enum.each(fn tag -> Pleroma.Web.Streamer.stream("hashtag:" <> tag, activity) end) + if object.data["attachment"] != [] do + Pleroma.Web.Streamer.stream("public:media", activity) - if object.data["attachment"] != [] do - Pleroma.Web.Streamer.stream("public:media", activity) - - if activity.local do - Pleroma.Web.Streamer.stream("public:local:media", activity) + if activity.local do + Pleroma.Web.Streamer.stream("public:local:media", activity) + end end end + else + # TODO: Write test, replace with visibility test + if !Enum.member?(activity.data["cc"] || [], public) && + !Enum.member?( + activity.data["to"], + User.get_cached_by_ap_id(activity.data["actor"]).follower_address + ), + do: Pleroma.Web.Streamer.stream("direct", activity) end - else - # TODO: Write test, replace with visibility test - if !Enum.member?(activity.data["cc"] || [], public) && - !Enum.member?( - activity.data["to"], - User.get_cached_by_ap_id(activity.data["actor"]).follower_address - ), - do: Pleroma.Web.Streamer.stream("direct", activity) end end end From 0407ffe75f7e91db240d491492eadf1385b1726b Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 17:12:38 +0300 Subject: [PATCH 015/246] Change validation error status codes to be more appropriate --- lib/pleroma/web/mastodon_api/mastodon_api_controller.ex | 4 ++-- test/web/mastodon_api/mastodon_api_controller_test.exs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index e2cab86f1..aef2abf0b 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -488,12 +488,12 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do case get_cached_status_or_post(conn, params) do {:ignore, message} -> conn - |> put_status(401) + |> put_status(422) |> json(%{error: message}) {:error, message} -> conn - |> put_status(401) + |> put_status(422) |> json(%{error: message}) {_, activity} -> diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index e1df79ffb..4f332f83c 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -181,7 +181,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do "poll" => %{"options" => Enum.map(0..limit, fn _ -> "desu" end), "expires_in" => 1} }) - %{"error" => error} = json_response(conn, 401) + %{"error" => error} = json_response(conn, 422) assert error == "Poll can't contain more than #{limit} options" end @@ -200,7 +200,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do } }) - %{"error" => error} = json_response(conn, 401) + %{"error" => error} = json_response(conn, 422) assert error == "Poll options cannot be longer than #{limit} characters each" end @@ -219,7 +219,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do } }) - %{"error" => error} = json_response(conn, 401) + %{"error" => error} = json_response(conn, 422) assert error == "Expiration date is too soon" end @@ -238,7 +238,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do } }) - %{"error" => error} = json_response(conn, 401) + %{"error" => error} = json_response(conn, 422) assert error == "Expiration date is too far in the future" end end From 5f67c26baf2bdc98480fa4cda5895f33351b13ab Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 17:30:51 +0300 Subject: [PATCH 016/246] Accept strings in expires_in because sasuga javascript --- lib/pleroma/web/common_api/utils.ex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 66153a105..1a239de97 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -103,12 +103,15 @@ defmodule Pleroma.Web.CommonAPI.Utils do end def make_poll_data(%{"poll" => %{"options" => options, "expires_in" => expires_in}} = data) - when is_list(options) and is_integer(expires_in) do + when is_list(options) do %{max_expiration: max_expiration, min_expiration: min_expiration} = limits = Pleroma.Config.get([:instance, :poll_limits]) # XXX: There is probably a cleaner way of doing this try do + # In some cases mastofe sends out strings instead of integers + expires_in = if is_binary(expires_in), do: String.to_integer(expires_in), else: expires_in + if Enum.count(options) > limits.max_options do raise ArgumentError, message: "Poll can't contain more than #{limits.max_options} options" end From ff61d345020b9ee79b243fb8d23a37a06cc41b8e Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 17:33:54 +0300 Subject: [PATCH 017/246] Accept question objects for conversations --- lib/pleroma/conversation.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/conversation.ex b/lib/pleroma/conversation.ex index 238c1acf2..bc97b39ca 100644 --- a/lib/pleroma/conversation.ex +++ b/lib/pleroma/conversation.ex @@ -49,7 +49,7 @@ defmodule Pleroma.Conversation do with true <- Pleroma.Web.ActivityPub.Visibility.is_direct?(activity), "Create" <- activity.data["type"], object <- Pleroma.Object.normalize(activity), - "Note" <- object.data["type"], + true <- object.data["type"] in ["Note", "Question"], ap_id when is_binary(ap_id) and byte_size(ap_id) > 0 <- object.data["context"] do {:ok, conversation} = create_for_ap_id(ap_id) From 63b0b7190cb652cd27d236e3f9daaaf5e50701a6 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Tue, 21 May 2019 20:40:35 +0300 Subject: [PATCH 018/246] MastoAPI: Add GET /api/v1/polls/:id --- lib/pleroma/object.ex | 3 ++ .../mastodon_api/mastodon_api_controller.ex | 20 +++++++++ lib/pleroma/web/router.ex | 2 + .../mastodon_api_controller_test.exs | 44 +++++++++++++++++++ 4 files changed, 69 insertions(+) diff --git a/lib/pleroma/object.ex b/lib/pleroma/object.ex index a0f7659eb..3ffa290eb 100644 --- a/lib/pleroma/object.ex +++ b/lib/pleroma/object.ex @@ -35,6 +35,9 @@ defmodule Pleroma.Object do |> unique_constraint(:ap_id, name: :objects_unique_apid_index) end + def get_by_id(nil), do: nil + def get_by_id(id), do: Repo.get(Object, id) + def get_by_ap_id(nil), do: nil def get_by_ap_id(ap_id) do diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index aef2abf0b..ecb7df459 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -410,6 +410,26 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do end end + def get_poll(%{assigns: %{user: user}} = conn, %{"id" => id}) do + with %Object{} = object <- Object.get_by_id(id), + %Activity{} = activity <- Activity.get_create_by_object_ap_id(object.data["id"]), + true <- Visibility.visible_for_user?(activity, user) do + conn + |> put_view(StatusView) + |> try_render("poll.json", %{object: object, for: user}) + else + nil -> + conn + |> put_status(404) + |> json(%{error: "Record not found"}) + + false -> + conn + |> put_status(404) + |> json(%{error: "Record not found"}) + end + end + def scheduled_statuses(%{assigns: %{user: user}} = conn, params) do with scheduled_activities <- MastodonAPI.get_scheduled_activities(user, params) do conn diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 6a4e4a1d4..e0611e3fc 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -423,6 +423,8 @@ defmodule Pleroma.Web.Router do get("/statuses/:id", MastodonAPIController, :get_status) get("/statuses/:id/context", MastodonAPIController, :get_context) + get("/polls/:id", MastodonAPIController, :get_poll) + get("/accounts/:id/statuses", MastodonAPIController, :user_statuses) get("/accounts/:id/followers", MastodonAPIController, :followers) get("/accounts/:id/following", MastodonAPIController, :following) diff --git a/test/web/mastodon_api/mastodon_api_controller_test.exs b/test/web/mastodon_api/mastodon_api_controller_test.exs index 4f332f83c..0d56b6ff2 100644 --- a/test/web/mastodon_api/mastodon_api_controller_test.exs +++ b/test/web/mastodon_api/mastodon_api_controller_test.exs @@ -3453,4 +3453,48 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIControllerTest do assert json_response(conn, 403) == %{"error" => "Rate limit exceeded."} end end + + describe "GET /api/v1/polls/:id" do + test "returns poll entity for object id", %{conn: conn} do + user = insert(:user) + + {:ok, activity} = + CommonAPI.post(user, %{ + "status" => "Pleroma does", + "poll" => %{"options" => ["what Mastodon't", "n't what Mastodoes"], "expires_in" => 20} + }) + + object = Object.normalize(activity) + + conn = + conn + |> assign(:user, user) + |> get("/api/v1/polls/#{object.id}") + + response = json_response(conn, 200) + id = object.id + assert %{"id" => ^id, "expired" => false, "multiple" => false} = response + end + + test "does not expose polls for private statuses", %{conn: conn} do + user = insert(:user) + other_user = insert(:user) + + {:ok, activity} = + CommonAPI.post(user, %{ + "status" => "Pleroma does", + "poll" => %{"options" => ["what Mastodon't", "n't what Mastodoes"], "expires_in" => 20}, + "visibility" => "private" + }) + + object = Object.normalize(activity) + + conn = + conn + |> assign(:user, other_user) + |> get("/api/v1/polls/#{object.id}") + + assert json_response(conn, 404) + end + end end From 10ca1f91de12c3ff3a1adff2cf36e9ec47c659dd Mon Sep 17 00:00:00 2001 From: rinpatch Date: Wed, 22 May 2019 11:56:53 +0300 Subject: [PATCH 019/246] Add GIN index on object data->'name' --- .../migrations/20190522084924_add_object_index_on_name.exs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 priv/repo/migrations/20190522084924_add_object_index_on_name.exs diff --git a/priv/repo/migrations/20190522084924_add_object_index_on_name.exs b/priv/repo/migrations/20190522084924_add_object_index_on_name.exs new file mode 100644 index 000000000..886e8499e --- /dev/null +++ b/priv/repo/migrations/20190522084924_add_object_index_on_name.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.AddObjectIndexOnName do + use Ecto.Migration + + def change do + create(index(:objects, ["(data->'name')"], name: :objects_name_index, using: :gin)) + end +end From 19c90d47c4f649d0962098050f6cbc65eeb889d0 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Wed, 22 May 2019 21:17:57 +0300 Subject: [PATCH 020/246] Normalize poll votes to Answer objects --- lib/pleroma/web/activity_pub/activity_pub.ex | 14 +-------- .../web/activity_pub/transmogrifier.ex | 22 ++++++++++++- lib/pleroma/web/activity_pub/utils.ex | 2 +- test/web/activity_pub/transmogrifier_test.exs | 31 +++++++++++++++++-- 4 files changed, 51 insertions(+), 18 deletions(-) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index fdebf1f6b..5b3fb7e84 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -194,7 +194,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do if activity.data["type"] in ["Create", "Announce", "Delete"] do object = Object.normalize(activity) # Do not stream out poll replies - unless object.data["name"] do + unless object.data["type"] == "Answer" do Pleroma.Web.Streamer.stream("user", activity) Pleroma.Web.Streamer.stream("list", activity) @@ -493,7 +493,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do from(activity in Activity) |> restrict_blocked(opts) - |> restrict_poll_replies(opts) |> restrict_recipients(recipients, opts["user"]) |> where( [activity], @@ -833,16 +832,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do defp restrict_muted_reblogs(query, _), do: query - defp restrict_poll_replies(query, %{"include_poll_replies" => "true"}), do: query - - defp restrict_poll_replies(query, _) do - if has_named_binding?(query, :object) do - from([activity, object: o] in query, where: fragment("?->'name' is null", o.data)) - else - query - end - end - defp maybe_preload_objects(query, %{"skip_preload" => true}), do: query defp maybe_preload_objects(query, _) do @@ -896,7 +885,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do |> restrict_pinned(opts) |> restrict_muted_reblogs(opts) |> Activity.restrict_deactivated_users() - |> restrict_poll_replies(opts) end def fetch_activities(recipients, opts \\ %{}) do diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index 8b2427258..70b467b3f 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -35,6 +35,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do |> fix_likes |> fix_addressing |> fix_summary + |> fix_type end def fix_summary(%{"summary" => nil} = object) do @@ -328,6 +329,18 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do def fix_content_map(object), do: object + def fix_type(%{"inReplyTo" => reply_id} = object) when is_binary(reply_id) do + reply = Object.normalize(reply_id) + + if reply.data["type"] == "Question" and object["name"] do + Map.put(object, "type", "Answer") + else + object + end + end + + def fix_type(object), do: object + defp mastodon_follow_hack(%{"id" => id, "actor" => follower_id}, followed) do with true <- id =~ "follows", %User{local: true} = follower <- User.get_cached_by_ap_id(follower_id), @@ -398,7 +411,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do # - tags # - emoji def handle_incoming(%{"type" => "Create", "object" => %{"type" => objtype} = object} = data) - when objtype in ["Article", "Note", "Video", "Page", "Question"] do + when objtype in ["Article", "Note", "Video", "Page", "Question", "Answer"] do actor = Containment.get_actor(data) data = @@ -731,6 +744,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do |> set_reply_to_uri |> strip_internal_fields |> strip_internal_tags + |> set_type end # @doc @@ -895,6 +909,12 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do Map.put(object, "sensitive", "nsfw" in tags) end + def set_type(%{"type" => "Answer"} = object) do + Map.put(object, "type", "Note") + end + + def set_type(object), do: object + def add_attributed_to(object) do attributed_to = object["attributedTo"] || object["actor"] diff --git a/lib/pleroma/web/activity_pub/utils.ex b/lib/pleroma/web/activity_pub/utils.ex index 63454e3f7..9646bbee9 100644 --- a/lib/pleroma/web/activity_pub/utils.ex +++ b/lib/pleroma/web/activity_pub/utils.ex @@ -19,7 +19,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do require Logger - @supported_object_types ["Article", "Note", "Video", "Page", "Question"] + @supported_object_types ["Article", "Note", "Video", "Page", "Question", "Answer"] @supported_report_states ~w(open closed resolved) @valid_visibilities ~w(public unlisted private direct) diff --git a/test/web/activity_pub/transmogrifier_test.exs b/test/web/activity_pub/transmogrifier_test.exs index 32d94e3e9..8422fc3d5 100644 --- a/test/web/activity_pub/transmogrifier_test.exs +++ b/test/web/activity_pub/transmogrifier_test.exs @@ -130,7 +130,7 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do end) end - test "in increments vote counters on question activities" do + test "it rewrites Note votes to Answers and increments vote counters on question activities" do user = insert(:user) {:ok, activity} = @@ -148,8 +148,9 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do |> Kernel.put_in(["object", "inReplyTo"], object.data["id"]) |> Kernel.put_in(["object", "to"], user.ap_id) - {:ok, %Activity{local: false}} = Transmogrifier.handle_incoming(data) - + {:ok, %Activity{local: false} = activity} = Transmogrifier.handle_incoming(data) + answer_object = Object.normalize(activity) + assert answer_object.data["type"] == "Answer" object = Object.get_by_ap_id(object.data["id"]) assert Enum.any?( @@ -1257,4 +1258,28 @@ defmodule Pleroma.Web.ActivityPub.TransmogrifierTest do {:ok, _} = Transmogrifier.prepare_outgoing(activity.data) end end + + test "Rewrites Answers to Notes" do + user = insert(:user) + + {:ok, poll_activity} = + CommonAPI.post(user, %{ + "status" => "suya...", + "poll" => %{"options" => ["suya", "suya.", "suya.."], "expires_in" => 10} + }) + + poll_object = Object.normalize(poll_activity) + # TODO: Replace with CommonAPI vote creation when implemented + data = + File.read!("test/fixtures/mastodon-vote.json") + |> Poison.decode!() + |> Kernel.put_in(["to"], user.ap_id) + |> Kernel.put_in(["object", "inReplyTo"], poll_object.data["id"]) + |> Kernel.put_in(["object", "to"], user.ap_id) + + {:ok, %Activity{local: false} = activity} = Transmogrifier.handle_incoming(data) + {:ok, data} = Transmogrifier.prepare_outgoing(activity.data) + + assert data["object"]["type"] == "Note" + end end From ac7702f8009bf244a9e77cba39114dbb6584739f Mon Sep 17 00:00:00 2001 From: rinpatch Date: Wed, 22 May 2019 21:49:19 +0300 Subject: [PATCH 021/246] Exclude Answers from fetching by default --- lib/pleroma/web/activity_pub/activity_pub.ex | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 5b3fb7e84..db5a4a7ee 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -492,6 +492,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do if opts["user"], do: [opts["user"].ap_id | opts["user"].following] ++ public, else: public from(activity in Activity) + |> Activity.with_preloaded_object() + |> exclude_poll_votes(opts) |> restrict_blocked(opts) |> restrict_recipients(recipients, opts["user"]) |> where( @@ -832,6 +834,18 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do defp restrict_muted_reblogs(query, _), do: query + defp exclude_poll_votes(query, %{"include_poll_votes" => "true"}), do: query + + defp exclude_poll_votes(query, _) do + if has_named_binding?(query, :object) do + from([activity, object: o] in query, + where: fragment("not(?->>'type' = ?)", o.data, "Answer") + ) + else + query + end + end + defp maybe_preload_objects(query, %{"skip_preload" => true}), do: query defp maybe_preload_objects(query, _) do @@ -865,6 +879,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do |> maybe_preload_objects(opts) |> maybe_preload_bookmarks(opts) |> maybe_order(opts) + |> exclude_poll_votes(opts) |> restrict_recipients(recipients, opts["user"]) |> restrict_tag(opts) |> restrict_tag_reject(opts) From e6b175ed6cafcd6a05120e003cfe40a04b38849f Mon Sep 17 00:00:00 2001 From: rinpatch Date: Wed, 22 May 2019 21:57:46 +0300 Subject: [PATCH 022/246] Fix credo issues --- lib/pleroma/web/mastodon_api/views/status_view.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index c501c213c..7a393a817 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -357,7 +357,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do end) %{ - # Mastodon uses separate ids for polls, but an object can't have more than one poll embedded so object id is fine + # Mastodon uses separate ids for polls, but an object can't have + # more than one poll embedded so object id is fine id: object.id, expires_at: Utils.to_masto_date(end_time), expired: expired, From 8b2d39c1ec8f47df8a2159c23eabdc61b983ddf0 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Thu, 23 May 2019 14:03:16 +0300 Subject: [PATCH 023/246] Change the order of preloading when fetching activities for context --- lib/pleroma/web/activity_pub/activity_pub.ex | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index db5a4a7ee..b06200cb5 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -492,7 +492,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do if opts["user"], do: [opts["user"].ap_id | opts["user"].following] ++ public, else: public from(activity in Activity) - |> Activity.with_preloaded_object() + |> maybe_preload_objects(opts) |> exclude_poll_votes(opts) |> restrict_blocked(opts) |> restrict_recipients(recipients, opts["user"]) @@ -513,7 +513,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do def fetch_activities_for_context(context, opts \\ %{}) do context |> fetch_activities_for_context_query(opts) - |> Activity.with_preloaded_object() |> Repo.all() end @@ -521,7 +520,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do Pleroma.FlakeId.t() | nil def fetch_latest_activity_id_for_context(context, opts \\ %{}) do context - |> fetch_activities_for_context_query(opts) + |> fetch_activities_for_context_query(Map.merge(%{"skip_preload" => true}, opts)) |> limit(1) |> select([a], a.id) |> Repo.one() From 356c047759735bcd984ebd44059a21a3cf22af0e Mon Sep 17 00:00:00 2001 From: Alfie Pates Date: Thu, 23 May 2019 22:33:27 +0100 Subject: [PATCH 024/246] explicitly set reverse proxy upstream to IPv4 since Pleroma.Web.Endpoint binds on IPv4 only and `localhost.` resolves to [::0] on some systems fixes #930. --- installation/caddyfile-pleroma.example | 4 +++- installation/pleroma-apache.conf | 6 ++++-- installation/pleroma.nginx | 4 +++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/installation/caddyfile-pleroma.example b/installation/caddyfile-pleroma.example index fcf76718e..7985d9c67 100644 --- a/installation/caddyfile-pleroma.example +++ b/installation/caddyfile-pleroma.example @@ -10,7 +10,9 @@ example.tld { gzip - proxy / localhost:4000 { + # this is explicitly IPv4 since Pleroma.Web.Endpoint binds on IPv4 only + # and `localhost.` resolves to [::0] on some systems: see issue #930 + proxy / 127.0.0.1:4000 { websocket transparent } diff --git a/installation/pleroma-apache.conf b/installation/pleroma-apache.conf index 2beb7c4cc..b5640ac3d 100644 --- a/installation/pleroma-apache.conf +++ b/installation/pleroma-apache.conf @@ -58,8 +58,10 @@ CustomLog ${APACHE_LOG_DIR}/access.log combined RewriteRule /(.*) ws://localhost:4000/$1 [P,L] ProxyRequests off - ProxyPass / http://localhost:4000/ - ProxyPassReverse / http://localhost:4000/ + # this is explicitly IPv4 since Pleroma.Web.Endpoint binds on IPv4 only + # and `localhost.` resolves to [::0] on some systems: see issue #930 + ProxyPass / http://127.0.0.1:4000/ + ProxyPassReverse / http://127.0.0.1:4000/ RequestHeader set Host ${servername} ProxyPreserveHost On diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index cc75d78b2..7425da33f 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -69,7 +69,9 @@ server { proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; - proxy_pass http://localhost:4000; + # this is explicitly IPv4 since Pleroma.Web.Endpoint binds on IPv4 only + # and `localhost.` resolves to [::0] on some systems: see issue #930 + proxy_pass http://127.0.0.1:4000; client_max_body_size 16m; } From f916e4cdd9a502b83c615146c598be135f47e57a Mon Sep 17 00:00:00 2001 From: feld Date: Fri, 24 May 2019 20:33:55 +0000 Subject: [PATCH 025/246] Move the Cache Control header test to its own file We can consolidate our cache control header tests here --- lib/pleroma/web/endpoint.ex | 19 +++++++++++++++++-- test/plugs/cache_control_test.exs | 20 ++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 test/plugs/cache_control_test.exs diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex index 9ef30e885..8cd7a2270 100644 --- a/lib/pleroma/web/endpoint.ex +++ b/lib/pleroma/web/endpoint.ex @@ -16,17 +16,32 @@ defmodule Pleroma.Web.Endpoint do plug(Pleroma.Plugs.UploadedMedia) + @static_cache_control "public, no-cache" + # InstanceStatic needs to be before Plug.Static to be able to override shipped-static files # If you're adding new paths to `only:` you'll need to configure them in InstanceStatic as well - plug(Pleroma.Plugs.InstanceStatic, at: "/") + # Cache-control headers are duplicated in case we turn off etags in the future + plug(Pleroma.Plugs.InstanceStatic, + at: "/", + gzip: true, + cache_control_for_etags: @static_cache_control, + headers: %{ + "cache-control" => @static_cache_control + } + ) plug( Plug.Static, at: "/", from: :pleroma, only: - ~w(index.html robots.txt static finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc) + ~w(index.html robots.txt static finmoji emoji packs sounds images instance sw.js sw-pleroma.js favicon.png schemas doc), # credo:disable-for-previous-line Credo.Check.Readability.MaxLineLength + gzip: true, + cache_control_for_etags: @static_cache_control, + headers: %{ + "cache-control" => @static_cache_control + } ) plug(Plug.Static.IndexHtml, at: "/pleroma/admin/") diff --git a/test/plugs/cache_control_test.exs b/test/plugs/cache_control_test.exs new file mode 100644 index 000000000..45151b289 --- /dev/null +++ b/test/plugs/cache_control_test.exs @@ -0,0 +1,20 @@ +# Pleroma: A lightweight social networking server +# Copyright © 2017-2018 Pleroma Authors +# SPDX-License-Identifier: AGPL-3.0-only + +defmodule Pleroma.Web.CacheControlTest do + use Pleroma.Web.ConnCase + alias Plug.Conn + + test "Verify Cache-Control header on static assets", %{conn: conn} do + conn = get(conn, "/index.html") + + assert Conn.get_resp_header(conn, "cache-control") == ["public, no-cache"] + end + + test "Verify Cache-Control header on the API", %{conn: conn} do + conn = get(conn, "/api/v1/instance") + + assert Conn.get_resp_header(conn, "cache-control") == ["max-age=0, private, must-revalidate"] + end +end From bbea5691da67916151a883f09e24da7c2e27d9ba Mon Sep 17 00:00:00 2001 From: Sergey Suprunenko Date: Fri, 24 May 2019 20:34:23 +0000 Subject: [PATCH 026/246] Mention all people in the beginning of DM --- lib/pleroma/formatter.ex | 2 +- test/formatter_test.exs | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex index 3e3b9fe97..607843a5b 100644 --- a/lib/pleroma/formatter.ex +++ b/lib/pleroma/formatter.ex @@ -8,7 +8,7 @@ defmodule Pleroma.Formatter do alias Pleroma.User alias Pleroma.Web.MediaProxy - @safe_mention_regex ~r/^(\s*(?@.+?\s+)+)(?.*)/s + @safe_mention_regex ~r/^(\s*(?(@.+?\s+){1,})+)(?.*)/s @link_regex ~r"((?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~%:/?#[\]@!\$&'\(\)\*\+,;=.]+)|[0-9a-z+\-\.]+:[0-9a-z$-_.+!*'(),]+"ui @markdown_characters_regex ~r/(`|\*|_|{|}|[|]|\(|\)|#|\+|-|\.|!)/ diff --git a/test/formatter_test.exs b/test/formatter_test.exs index 47b91b121..bfa673049 100644 --- a/test/formatter_test.exs +++ b/test/formatter_test.exs @@ -184,17 +184,19 @@ defmodule Pleroma.FormatterTest do test "given the 'safe_mention' option, it will only mention people in the beginning" do user = insert(:user) - _other_user = insert(:user) + other_user = insert(:user) third_user = insert(:user) - text = " @#{user.nickname} hey dude i hate @#{third_user.nickname}" + text = " @#{user.nickname} @#{other_user.nickname} hey dudes i hate @#{third_user.nickname}" {expected_text, mentions, [] = _tags} = Formatter.linkify(text, safe_mention: true) - assert mentions == [{"@#{user.nickname}", user}] + assert mentions == [{"@#{user.nickname}", user}, {"@#{other_user.nickname}", other_user}] assert expected_text == "@#{user.nickname} hey dude i hate @#{user.nickname} @#{other_user.nickname} hey dudes i hate @#{third_user.nickname}" end From 9415932af5829f2aa19e362076e0653dd1ce9c5a Mon Sep 17 00:00:00 2001 From: Aaron Tinio Date: Sat, 25 May 2019 08:15:12 +0800 Subject: [PATCH 027/246] Keep nodeinfo available when not federating --- .../web/nodeinfo/nodeinfo_controller.ex | 2 - test/web/node_info_test.exs | 80 ++++--------------- 2 files changed, 16 insertions(+), 66 deletions(-) diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex index 3bf2a0fbc..45f90c579 100644 --- a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex +++ b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex @@ -12,8 +12,6 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do alias Pleroma.Web.ActivityPub.MRF alias Pleroma.Web.Federator.Publisher - plug(Pleroma.Web.FederatingPlug) - def schemas(conn, _params) do response = %{ links: [ diff --git a/test/web/node_info_test.exs b/test/web/node_info_test.exs index 2fc42b7cc..be1173513 100644 --- a/test/web/node_info_test.exs +++ b/test/web/node_info_test.exs @@ -7,6 +7,22 @@ defmodule Pleroma.Web.NodeInfoTest do import Pleroma.Factory + test "GET /.well-known/nodeinfo", %{conn: conn} do + links = + conn + |> get("/.well-known/nodeinfo") + |> json_response(200) + |> Map.fetch!("links") + + Enum.each(links, fn link -> + href = Map.fetch!(link, "href") + + conn + |> get(href) + |> json_response(200) + end) + end + test "nodeinfo shows staff accounts", %{conn: conn} do moderator = insert(:user, %{local: true, info: %{is_moderator: true}}) admin = insert(:user, %{local: true, info: %{is_admin: true}}) @@ -32,70 +48,6 @@ defmodule Pleroma.Web.NodeInfoTest do result["metadata"]["restrictedNicknames"] end - test "returns 404 when federation is disabled", %{conn: conn} do - instance = - Application.get_env(:pleroma, :instance) - |> Keyword.put(:federating, false) - - Application.put_env(:pleroma, :instance, instance) - - conn - |> get("/.well-known/nodeinfo") - |> json_response(404) - - conn - |> get("/nodeinfo/2.1.json") - |> json_response(404) - - instance = - Application.get_env(:pleroma, :instance) - |> Keyword.put(:federating, true) - - Application.put_env(:pleroma, :instance, instance) - end - - test "returns 200 when federation is enabled", %{conn: conn} do - conn - |> get("/.well-known/nodeinfo") - |> json_response(200) - - conn - |> get("/nodeinfo/2.1.json") - |> json_response(200) - end - - test "returns 404 when federation is disabled (nodeinfo 2.0)", %{conn: conn} do - instance = - Application.get_env(:pleroma, :instance) - |> Keyword.put(:federating, false) - - Application.put_env(:pleroma, :instance, instance) - - conn - |> get("/.well-known/nodeinfo") - |> json_response(404) - - conn - |> get("/nodeinfo/2.0.json") - |> json_response(404) - - instance = - Application.get_env(:pleroma, :instance) - |> Keyword.put(:federating, true) - - Application.put_env(:pleroma, :instance, instance) - end - - test "returns 200 when federation is enabled (nodeinfo 2.0)", %{conn: conn} do - conn - |> get("/.well-known/nodeinfo") - |> json_response(200) - - conn - |> get("/nodeinfo/2.0.json") - |> json_response(200) - end - test "returns software.repository field in nodeinfo 2.1", %{conn: conn} do conn |> get("/.well-known/nodeinfo") From 9bec891eb4d5d06e6bd84dd2c95259d2c1a4f563 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 04:24:21 +0000 Subject: [PATCH 028/246] kill @httpoison --- config/config.exs | 1 - lib/pleroma/object/fetcher.ex | 5 ++--- lib/pleroma/reverse_proxy.ex | 5 +++-- lib/pleroma/uploaders/mdii.ex | 5 ++--- lib/pleroma/web/activity_pub/publisher.ex | 5 ++--- .../web/mastodon_api/mastodon_api_controller.ex | 4 ++-- lib/pleroma/web/ostatus/ostatus.ex | 7 +++---- lib/pleroma/web/salmon/salmon.ex | 5 ++--- lib/pleroma/web/web_finger/web_finger.ex | 9 ++++----- lib/pleroma/web/websub/websub.ex | 11 +++++------ 10 files changed, 25 insertions(+), 32 deletions(-) diff --git a/config/config.exs b/config/config.exs index e90821d66..01827fb5f 100644 --- a/config/config.exs +++ b/config/config.exs @@ -186,7 +186,6 @@ config :mime, :types, %{ config :pleroma, :websub, Pleroma.Web.Websub config :pleroma, :ostatus, Pleroma.Web.OStatus -config :pleroma, :httpoison, Pleroma.HTTP config :tesla, adapter: Tesla.Adapter.Hackney # Configures http settings, upstream proxy etc. diff --git a/lib/pleroma/object/fetcher.ex b/lib/pleroma/object/fetcher.ex index bb9388d4f..ca980c629 100644 --- a/lib/pleroma/object/fetcher.ex +++ b/lib/pleroma/object/fetcher.ex @@ -1,4 +1,5 @@ defmodule Pleroma.Object.Fetcher do + alias Pleroma.HTTP alias Pleroma.Object alias Pleroma.Object.Containment alias Pleroma.Web.ActivityPub.Transmogrifier @@ -6,8 +7,6 @@ defmodule Pleroma.Object.Fetcher do require Logger - @httpoison Application.get_env(:pleroma, :httpoison) - defp reinject_object(data) do Logger.debug("Reinjecting object #{data["id"]}") @@ -78,7 +77,7 @@ defmodule Pleroma.Object.Fetcher do with true <- String.starts_with?(id, "http"), {:ok, %{body: body, status: code}} when code in 200..299 <- - @httpoison.get( + HTTP.get( id, [{:Accept, "application/activity+json"}] ), diff --git a/lib/pleroma/reverse_proxy.ex b/lib/pleroma/reverse_proxy.ex index a3f177fec..6e5feb4c3 100644 --- a/lib/pleroma/reverse_proxy.ex +++ b/lib/pleroma/reverse_proxy.ex @@ -3,6 +3,8 @@ # SPDX-License-Identifier: AGPL-3.0-only defmodule Pleroma.ReverseProxy do + alias Pleroma.HTTP + @keep_req_headers ~w(accept user-agent accept-encoding cache-control if-modified-since) ++ ~w(if-unmodified-since if-none-match if-range range) @resp_cache_headers ~w(etag date last-modified cache-control) @@ -60,7 +62,6 @@ defmodule Pleroma.ReverseProxy do """ @hackney Application.get_env(:pleroma, :hackney, :hackney) - @httpoison Application.get_env(:pleroma, :httpoison, HTTPoison) @default_hackney_options [] @@ -97,7 +98,7 @@ defmodule Pleroma.ReverseProxy do hackney_opts = @default_hackney_options |> Keyword.merge(Keyword.get(opts, :http, [])) - |> @httpoison.process_request_options() + |> HTTP.process_request_options() req_headers = build_req_headers(conn.req_headers, opts) diff --git a/lib/pleroma/uploaders/mdii.ex b/lib/pleroma/uploaders/mdii.ex index 190ed9f3a..237544337 100644 --- a/lib/pleroma/uploaders/mdii.ex +++ b/lib/pleroma/uploaders/mdii.ex @@ -4,11 +4,10 @@ defmodule Pleroma.Uploaders.MDII do alias Pleroma.Config + alias Pleroma.HTTP @behaviour Pleroma.Uploaders.Uploader - @httpoison Application.get_env(:pleroma, :httpoison) - # MDII-hosted images are never passed through the MediaPlug; only local media. # Delegate to Pleroma.Uploaders.Local def get_file(file) do @@ -25,7 +24,7 @@ defmodule Pleroma.Uploaders.MDII do query = "#{cgi}?#{extension}" with {:ok, %{status: 200, body: body}} <- - @httpoison.post(query, file_data, [], adapter: [pool: :default]) do + HTTP.post(query, file_data, [], adapter: [pool: :default]) do remote_file_name = String.split(body) |> List.first() public_url = "#{files}/#{remote_file_name}.#{extension}" {:ok, {:url, public_url}} diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex index 11dba87de..8f1399ce6 100644 --- a/lib/pleroma/web/activity_pub/publisher.ex +++ b/lib/pleroma/web/activity_pub/publisher.ex @@ -5,6 +5,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do alias Pleroma.Activity alias Pleroma.Config + alias Pleroma.HTTP alias Pleroma.Instances alias Pleroma.User alias Pleroma.Web.ActivityPub.Relay @@ -16,8 +17,6 @@ defmodule Pleroma.Web.ActivityPub.Publisher do require Logger - @httpoison Application.get_env(:pleroma, :httpoison) - @moduledoc """ ActivityPub outgoing federation module. """ @@ -63,7 +62,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do with {:ok, %{status: code}} when code in 200..299 <- result = - @httpoison.post( + HTTP.post( inbox, json, [ diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index 1ec0f30a1..0fe09c285 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -11,6 +11,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do alias Pleroma.Conversation.Participation alias Pleroma.Filter alias Pleroma.Formatter + alias Pleroma.HTTP alias Pleroma.Notification alias Pleroma.Object alias Pleroma.Object.Fetcher @@ -55,7 +56,6 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do when action in [:account_register] ) - @httpoison Application.get_env(:pleroma, :httpoison) @local_mastodon_name "Mastodon-Local" action_fallback(:errors) @@ -1691,7 +1691,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do |> String.replace("{{user}}", user) with {:ok, %{status: 200, body: body}} <- - @httpoison.get( + HTTP.get( url, [], adapter: [ diff --git a/lib/pleroma/web/ostatus/ostatus.ex b/lib/pleroma/web/ostatus/ostatus.ex index 61515b31e..6ed089d84 100644 --- a/lib/pleroma/web/ostatus/ostatus.ex +++ b/lib/pleroma/web/ostatus/ostatus.ex @@ -3,13 +3,12 @@ # SPDX-License-Identifier: AGPL-3.0-only defmodule Pleroma.Web.OStatus do - @httpoison Application.get_env(:pleroma, :httpoison) - import Ecto.Query import Pleroma.Web.XML require Logger alias Pleroma.Activity + alias Pleroma.HTTP alias Pleroma.Object alias Pleroma.Repo alias Pleroma.User @@ -363,7 +362,7 @@ defmodule Pleroma.Web.OStatus do def fetch_activity_from_atom_url(url) do with true <- String.starts_with?(url, "http"), {:ok, %{body: body, status: code}} when code in 200..299 <- - @httpoison.get( + HTTP.get( url, [{:Accept, "application/atom+xml"}] ) do @@ -380,7 +379,7 @@ defmodule Pleroma.Web.OStatus do Logger.debug("Trying to fetch #{url}") with true <- String.starts_with?(url, "http"), - {:ok, %{body: body}} <- @httpoison.get(url, []), + {:ok, %{body: body}} <- HTTP.get(url, []), {:ok, atom_url} <- get_atom_url(body) do fetch_activity_from_atom_url(atom_url) else diff --git a/lib/pleroma/web/salmon/salmon.ex b/lib/pleroma/web/salmon/salmon.ex index f25d92fad..9e91a5a40 100644 --- a/lib/pleroma/web/salmon/salmon.ex +++ b/lib/pleroma/web/salmon/salmon.ex @@ -5,11 +5,10 @@ defmodule Pleroma.Web.Salmon do @behaviour Pleroma.Web.Federator.Publisher - @httpoison Application.get_env(:pleroma, :httpoison) - use Bitwise alias Pleroma.Activity + alias Pleroma.HTTP alias Pleroma.Instances alias Pleroma.Keys alias Pleroma.User @@ -138,7 +137,7 @@ defmodule Pleroma.Web.Salmon do def publish_one(%{recipient: url, feed: feed} = params) when is_binary(url) do with {:ok, %{status: code}} when code in 200..299 <- - @httpoison.post( + HTTP.post( url, feed, [{"Content-Type", "application/magic-envelope+xml"}] diff --git a/lib/pleroma/web/web_finger/web_finger.ex b/lib/pleroma/web/web_finger/web_finger.ex index c5b7d4acb..3fca72de8 100644 --- a/lib/pleroma/web/web_finger/web_finger.ex +++ b/lib/pleroma/web/web_finger/web_finger.ex @@ -3,8 +3,7 @@ # SPDX-License-Identifier: AGPL-3.0-only defmodule Pleroma.Web.WebFinger do - @httpoison Application.get_env(:pleroma, :httpoison) - + alias Pleroma.HTTP alias Pleroma.User alias Pleroma.Web alias Pleroma.Web.Federator.Publisher @@ -176,11 +175,11 @@ defmodule Pleroma.Web.WebFinger do def find_lrdd_template(domain) do with {:ok, %{status: status, body: body}} when status in 200..299 <- - @httpoison.get("http://#{domain}/.well-known/host-meta", []) do + HTTP.get("http://#{domain}/.well-known/host-meta", []) do get_template_from_xml(body) else _ -> - with {:ok, %{body: body}} <- @httpoison.get("https://#{domain}/.well-known/host-meta", []) do + with {:ok, %{body: body}} <- HTTP.get("https://#{domain}/.well-known/host-meta", []) do get_template_from_xml(body) else e -> {:error, "Can't find LRDD template: #{inspect(e)}"} @@ -209,7 +208,7 @@ defmodule Pleroma.Web.WebFinger do end with response <- - @httpoison.get( + HTTP.get( address, Accept: "application/xrd+xml,application/jrd+json" ), diff --git a/lib/pleroma/web/websub/websub.ex b/lib/pleroma/web/websub/websub.ex index 7ad0414ab..b61f388b8 100644 --- a/lib/pleroma/web/websub/websub.ex +++ b/lib/pleroma/web/websub/websub.ex @@ -5,6 +5,7 @@ defmodule Pleroma.Web.Websub do alias Ecto.Changeset alias Pleroma.Activity + alias Pleroma.HTTP alias Pleroma.Instances alias Pleroma.Repo alias Pleroma.User @@ -24,9 +25,7 @@ defmodule Pleroma.Web.Websub do @behaviour Pleroma.Web.Federator.Publisher - @httpoison Application.get_env(:pleroma, :httpoison) - - def verify(subscription, getter \\ &@httpoison.get/3) do + def verify(subscription, getter \\ &HTTP.get/3) do challenge = Base.encode16(:crypto.strong_rand_bytes(8)) lease_seconds = NaiveDateTime.diff(subscription.valid_until, subscription.updated_at) lease_seconds = lease_seconds |> to_string @@ -207,7 +206,7 @@ defmodule Pleroma.Web.Websub do requester.(subscription) end - def gather_feed_data(topic, getter \\ &@httpoison.get/1) do + def gather_feed_data(topic, getter \\ &HTTP.get/1) do with {:ok, response} <- getter.(topic), status when status in 200..299 <- response.status, body <- response.body, @@ -236,7 +235,7 @@ defmodule Pleroma.Web.Websub do end end - def request_subscription(websub, poster \\ &@httpoison.post/3, timeout \\ 10_000) do + def request_subscription(websub, poster \\ &HTTP.post/3, timeout \\ 10_000) do data = [ "hub.mode": "subscribe", "hub.topic": websub.topic, @@ -294,7 +293,7 @@ defmodule Pleroma.Web.Websub do Logger.info(fn -> "Pushing #{topic} to #{callback}" end) with {:ok, %{status: code}} when code in 200..299 <- - @httpoison.post( + HTTP.post( callback, xml, [ From 80d55d428fedfe4ebc44569c6134908d269db698 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 04:34:16 +0000 Subject: [PATCH 029/246] tests: websub: check only that signature validation succeeds or fails --- config/test.exs | 4 ++-- test/web/websub/websub_controller_test.exs | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/config/test.exs b/config/test.exs index 6100989c4..3bc407840 100644 --- a/config/test.exs +++ b/config/test.exs @@ -39,8 +39,8 @@ config :pleroma, Pleroma.Repo, # Reduce hash rounds for testing config :pbkdf2_elixir, rounds: 1 -config :pleroma, :websub, Pleroma.Web.WebsubMock -config :pleroma, :ostatus, Pleroma.Web.OStatusMock +#config :pleroma, :websub, Pleroma.Web.WebsubMock +#config :pleroma, :ostatus, Pleroma.Web.OStatusMock config :tesla, adapter: Tesla.Mock config :pleroma, :rich_media, enabled: false diff --git a/test/web/websub/websub_controller_test.exs b/test/web/websub/websub_controller_test.exs index 1e69ed01a..bf2ee31ee 100644 --- a/test/web/websub/websub_controller_test.exs +++ b/test/web/websub/websub_controller_test.exs @@ -52,7 +52,7 @@ defmodule Pleroma.Web.Websub.WebsubControllerTest do end describe "websub_incoming" do - test "handles incoming feed updates", %{conn: conn} do + test "accepts incoming feed updates", %{conn: conn} do websub = insert(:websub_client_subscription) doc = "some stuff" signature = Websub.sign(websub.secret, doc) @@ -64,8 +64,6 @@ defmodule Pleroma.Web.Websub.WebsubControllerTest do |> post("/push/subscriptions/#{websub.id}", doc) assert response(conn, 200) == "OK" - - assert length(Repo.all(Activity)) == 1 end test "rejects incoming feed updates with the wrong signature", %{conn: conn} do @@ -80,8 +78,6 @@ defmodule Pleroma.Web.Websub.WebsubControllerTest do |> post("/push/subscriptions/#{websub.id}", doc) assert response(conn, 500) == "Error" - - assert Enum.empty?(Repo.all(Activity)) end end end From 56fd7dbdd7e3f1a0bb05430ed4805d8715e54935 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 04:39:32 +0000 Subject: [PATCH 030/246] remove @websub and @ostatus module-level constants --- config/config.exs | 2 -- config/test.exs | 2 -- lib/pleroma/web/federator/federator.ex | 8 +++----- test/support/ostatus_mock.ex | 11 ----------- test/support/websub_mock.ex | 9 --------- test/web/websub/websub_controller_test.exs | 1 - 6 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 test/support/ostatus_mock.ex delete mode 100644 test/support/websub_mock.ex diff --git a/config/config.exs b/config/config.exs index 01827fb5f..68168b279 100644 --- a/config/config.exs +++ b/config/config.exs @@ -184,8 +184,6 @@ config :mime, :types, %{ "application/ld+json" => ["activity+json"] } -config :pleroma, :websub, Pleroma.Web.Websub -config :pleroma, :ostatus, Pleroma.Web.OStatus config :tesla, adapter: Tesla.Adapter.Hackney # Configures http settings, upstream proxy etc. diff --git a/config/test.exs b/config/test.exs index 3bc407840..41cddb9bd 100644 --- a/config/test.exs +++ b/config/test.exs @@ -39,8 +39,6 @@ config :pleroma, Pleroma.Repo, # Reduce hash rounds for testing config :pbkdf2_elixir, rounds: 1 -#config :pleroma, :websub, Pleroma.Web.WebsubMock -#config :pleroma, :ostatus, Pleroma.Web.OStatusMock config :tesla, adapter: Tesla.Mock config :pleroma, :rich_media, enabled: false diff --git a/lib/pleroma/web/federator/federator.ex b/lib/pleroma/web/federator/federator.ex index 6b0b75284..f4c9fe284 100644 --- a/lib/pleroma/web/federator/federator.ex +++ b/lib/pleroma/web/federator/federator.ex @@ -11,13 +11,11 @@ defmodule Pleroma.Web.Federator do alias Pleroma.Web.ActivityPub.Utils alias Pleroma.Web.Federator.Publisher alias Pleroma.Web.Federator.RetryQueue + alias Pleroma.Web.OStatus alias Pleroma.Web.Websub require Logger - @websub Application.get_env(:pleroma, :websub) - @ostatus Application.get_env(:pleroma, :ostatus) - def init do # 1 minute Process.sleep(1000 * 60) @@ -87,12 +85,12 @@ defmodule Pleroma.Web.Federator do "Running WebSub verification for #{websub.id} (#{websub.topic}, #{websub.callback})" end) - @websub.verify(websub) + Websub.verify(websub) end def perform(:incoming_doc, doc) do Logger.info("Got document, trying to parse") - @ostatus.handle_incoming(doc) + OStatus.handle_incoming(doc) end def perform(:incoming_ap_doc, params) do diff --git a/test/support/ostatus_mock.ex b/test/support/ostatus_mock.ex deleted file mode 100644 index 9c0f2f323..000000000 --- a/test/support/ostatus_mock.ex +++ /dev/null @@ -1,11 +0,0 @@ -# Pleroma: A lightweight social networking server -# Copyright © 2017-2018 Pleroma Authors -# SPDX-License-Identifier: AGPL-3.0-only - -defmodule Pleroma.Web.OStatusMock do - import Pleroma.Factory - - def handle_incoming(_doc) do - insert(:note_activity) - end -end diff --git a/test/support/websub_mock.ex b/test/support/websub_mock.ex deleted file mode 100644 index e3d5a5b16..000000000 --- a/test/support/websub_mock.ex +++ /dev/null @@ -1,9 +0,0 @@ -# Pleroma: A lightweight social networking server -# Copyright © 2017-2018 Pleroma Authors -# SPDX-License-Identifier: AGPL-3.0-only - -defmodule Pleroma.Web.WebsubMock do - def verify(sub) do - {:ok, sub} - end -end diff --git a/test/web/websub/websub_controller_test.exs b/test/web/websub/websub_controller_test.exs index bf2ee31ee..f79745d58 100644 --- a/test/web/websub/websub_controller_test.exs +++ b/test/web/websub/websub_controller_test.exs @@ -5,7 +5,6 @@ defmodule Pleroma.Web.Websub.WebsubControllerTest do use Pleroma.Web.ConnCase import Pleroma.Factory - alias Pleroma.Activity alias Pleroma.Repo alias Pleroma.Web.Websub alias Pleroma.Web.Websub.WebsubClientSubscription From 4030837d91b7ff8525513589d5d810e9a1a6b959 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 05:19:47 +0000 Subject: [PATCH 031/246] notification: add non_follows/non_followers notification control settings --- lib/pleroma/notification.ex | 32 +++++++++++++++++++++++++++++++- lib/pleroma/user/info.ex | 11 +++++++++-- 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index 844264307..4095e0474 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -166,7 +166,17 @@ defmodule Pleroma.Notification do def get_notified_from_activity(_, _local_only), do: [] def skip?(activity, user) do - [:self, :blocked, :local, :muted, :followers, :follows, :recently_followed] + [ + :self, + :blocked, + :local, + :muted, + :followers, + :follows, + :non_followers, + :non_follows, + :recently_followed + ] |> Enum.any?(&skip?(&1, activity, user)) end @@ -201,12 +211,32 @@ defmodule Pleroma.Notification do User.following?(follower, user) end + def skip?( + :non_followers, + activity, + %{info: %{notification_settings: %{"non_followers" => false}}} = user + ) do + actor = activity.data["actor"] + follower = User.get_cached_by_ap_id(actor) + !User.following?(follower, user) + end + def skip?(:follows, activity, %{info: %{notification_settings: %{"follows" => false}}} = user) do actor = activity.data["actor"] followed = User.get_cached_by_ap_id(actor) User.following?(user, followed) end + def skip?( + :non_follows, + activity, + %{info: %{notification_settings: %{"non_follows" => false}}} = user + ) do + actor = activity.data["actor"] + followed = User.get_cached_by_ap_id(actor) + !User.following?(user, followed) + end + def skip?(:recently_followed, %{data: %{"type" => "Follow"}} = activity, user) do actor = activity.data["actor"] diff --git a/lib/pleroma/user/info.ex b/lib/pleroma/user/info.ex index 6397e2737..fb4cf3cc3 100644 --- a/lib/pleroma/user/info.ex +++ b/lib/pleroma/user/info.ex @@ -47,7 +47,14 @@ defmodule Pleroma.User.Info do field(:emoji, {:array, :map}, default: []) field(:notification_settings, :map, - default: %{"remote" => true, "local" => true, "followers" => true, "follows" => true} + default: %{ + "remote" => true, + "local" => true, + "followers" => true, + "follows" => true, + "non_follows" => true, + "non_followers" => true + } ) # Found in the wild @@ -71,7 +78,7 @@ defmodule Pleroma.User.Info do notification_settings = info.notification_settings |> Map.merge(settings) - |> Map.take(["remote", "local", "followers", "follows"]) + |> Map.take(["remote", "local", "followers", "follows", "non_follows", "non_followers"]) params = %{notification_settings: notification_settings} From 1542cccbbcc2935add83d1428b4cd9e4b146f1ec Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 05:22:13 +0000 Subject: [PATCH 032/246] tests: chase notification setting changes --- test/web/mastodon_api/account_view_test.exs | 4 +++- test/web/twitter_api/util_controller_test.exs | 10 ++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/test/web/mastodon_api/account_view_test.exs b/test/web/mastodon_api/account_view_test.exs index aaf2261bb..6f8480ee2 100644 --- a/test/web/mastodon_api/account_view_test.exs +++ b/test/web/mastodon_api/account_view_test.exs @@ -81,7 +81,9 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do "remote" => true, "local" => true, "followers" => true, - "follows" => true + "follows" => true, + "non_follows" => true, + "non_followers" => true } privacy = user.info.default_scope diff --git a/test/web/twitter_api/util_controller_test.exs b/test/web/twitter_api/util_controller_test.exs index 2cd82b3e7..ca0b8cc26 100644 --- a/test/web/twitter_api/util_controller_test.exs +++ b/test/web/twitter_api/util_controller_test.exs @@ -110,8 +110,14 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do user = Repo.get(User, user.id) - assert %{"remote" => false, "local" => true, "followers" => false, "follows" => true} == - user.info.notification_settings + assert %{ + "remote" => false, + "local" => true, + "followers" => false, + "follows" => true, + "non_follows" => true, + "non_followers" => true + } == user.info.notification_settings end end From 0f7eeb0943472da80405639f17b9bc99e4fcd417 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 05:25:40 +0000 Subject: [PATCH 033/246] tests: add tests for non-follows/non-followers settings --- test/notification_test.exs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/notification_test.exs b/test/notification_test.exs index 581db58a8..b54414dcd 100644 --- a/test/notification_test.exs +++ b/test/notification_test.exs @@ -113,6 +113,13 @@ defmodule Pleroma.NotificationTest do assert nil == Notification.create_notification(activity, followed) end + test "it disables notifications from non-followers" do + follower = insert(:user) + followed = insert(:user, info: %{notification_settings: %{"non_followers" => false}}) + {:ok, activity} = CommonAPI.post(follower, %{"status" => "hey @#{followed.nickname}"}) + assert nil == Notification.create_notification(activity, followed) + end + test "it disables notifications from people the user follows" do follower = insert(:user, info: %{notification_settings: %{"follows" => false}}) followed = insert(:user) @@ -122,6 +129,13 @@ defmodule Pleroma.NotificationTest do assert nil == Notification.create_notification(activity, follower) end + test "it disables notifications from people the user does not follow" do + follower = insert(:user, info: %{notification_settings: %{"non_follows" => false}}) + followed = insert(:user) + {:ok, activity} = CommonAPI.post(followed, %{"status" => "hey @#{follower.nickname}"}) + assert nil == Notification.create_notification(activity, follower) + end + test "it doesn't create a notification for user if he is the activity author" do activity = insert(:note_activity) author = User.get_cached_by_ap_id(activity.data["actor"]) From 59a703fcbe6436c92d0e276caaf55f599c3165f4 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 05:31:13 +0000 Subject: [PATCH 034/246] twitter api: user view: expose user notification settings under pleroma object --- lib/pleroma/web/twitter_api/views/user_view.ex | 7 +++++++ test/web/twitter_api/views/user_view_test.exs | 2 ++ 2 files changed, 9 insertions(+) diff --git a/lib/pleroma/web/twitter_api/views/user_view.ex b/lib/pleroma/web/twitter_api/views/user_view.ex index f0a4ddbd3..550f35f5f 100644 --- a/lib/pleroma/web/twitter_api/views/user_view.ex +++ b/lib/pleroma/web/twitter_api/views/user_view.ex @@ -121,6 +121,7 @@ defmodule Pleroma.Web.TwitterAPI.UserView do "tags" => user.tags } |> maybe_with_activation_status(user, for_user) + |> with_notification_settings(user, for_user) } |> maybe_with_user_settings(user, for_user) |> maybe_with_role(user, for_user) @@ -132,6 +133,12 @@ defmodule Pleroma.Web.TwitterAPI.UserView do end end + defp with_notification_settings(data, %User{id: user_id} = user, %User{id: user_id}) do + Map.put(data, "notification_settings", user.info.notification_settings) + end + + defp with_notification_settings(data, _, _), do: data + defp maybe_with_activation_status(data, user, %User{info: %{is_admin: true}}) do Map.put(data, "deactivated", user.info.deactivated) end diff --git a/test/web/twitter_api/views/user_view_test.exs b/test/web/twitter_api/views/user_view_test.exs index 74526673c..a48fc9b78 100644 --- a/test/web/twitter_api/views/user_view_test.exs +++ b/test/web/twitter_api/views/user_view_test.exs @@ -112,9 +112,11 @@ defmodule Pleroma.Web.TwitterAPI.UserViewTest do as_user = UserView.render("show.json", %{user: user, for: user}) assert as_user["default_scope"] == user.info.default_scope assert as_user["no_rich_text"] == user.info.no_rich_text + assert as_user["pleroma"]["notification_settings"] == user.info.notification_settings as_stranger = UserView.render("show.json", %{user: user}) refute as_stranger["default_scope"] refute as_stranger["no_rich_text"] + refute as_stranger["pleroma"]["notification_settings"] end test "A user for a given other follower", %{user: user} do From e7e2e7a1a633e2f7e493d040e290c931320d8cc8 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 05:54:02 +0000 Subject: [PATCH 035/246] user info: allow formdata for notification settings like every other API --- lib/pleroma/user/info.ex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/pleroma/user/info.ex b/lib/pleroma/user/info.ex index fb4cf3cc3..b0bfdf4f4 100644 --- a/lib/pleroma/user/info.ex +++ b/lib/pleroma/user/info.ex @@ -75,6 +75,11 @@ defmodule Pleroma.User.Info do end def update_notification_settings(info, settings) do + settings = + settings + |> Enum.map(fn {k, v} -> {k, v in [true, "true", "True", "1"]} end) + |> Map.new() + notification_settings = info.notification_settings |> Map.merge(settings) From 5fbbc57c1b497f8d194f3bbdefd889f0a943525a Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 25 May 2019 07:25:13 +0000 Subject: [PATCH 036/246] add migration to add notification settings to user accounts --- ...d_non_followers_fields_to_notification_settings.exs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 priv/repo/migrations/20190525071417_add_non_follows_and_non_followers_fields_to_notification_settings.exs diff --git a/priv/repo/migrations/20190525071417_add_non_follows_and_non_followers_fields_to_notification_settings.exs b/priv/repo/migrations/20190525071417_add_non_follows_and_non_followers_fields_to_notification_settings.exs new file mode 100644 index 000000000..a88b0ea61 --- /dev/null +++ b/priv/repo/migrations/20190525071417_add_non_follows_and_non_followers_fields_to_notification_settings.exs @@ -0,0 +1,10 @@ +defmodule Pleroma.Repo.Migrations.AddNonFollowsAndNonFollowersFieldsToNotificationSettings do + use Ecto.Migration + + def change do + execute(""" + update users set info = jsonb_set(info, '{notification_settings}', '{"local": true, "remote": true, "follows": true, "followers": true, "non_follows": true, "non_followers": true}') + where local=true + """) + end +end From 750ede5764d30063587182696f7ebc50c05f8278 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 26 May 2019 00:05:47 +0000 Subject: [PATCH 037/246] notification: remove local/remote match rules (too complicated) --- lib/pleroma/notification.ex | 7 ------- lib/pleroma/user/info.ex | 4 +--- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index 4095e0474..35beffb87 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -169,7 +169,6 @@ defmodule Pleroma.Notification do [ :self, :blocked, - :local, :muted, :followers, :follows, @@ -189,12 +188,6 @@ defmodule Pleroma.Notification do User.blocks?(user, %{ap_id: actor}) end - def skip?(:local, %{local: true}, %{info: %{notification_settings: %{"local" => false}}}), - do: true - - def skip?(:local, %{local: false}, %{info: %{notification_settings: %{"remote" => false}}}), - do: true - def skip?(:muted, activity, user) do actor = activity.data["actor"] diff --git a/lib/pleroma/user/info.ex b/lib/pleroma/user/info.ex index b0bfdf4f4..74573ba83 100644 --- a/lib/pleroma/user/info.ex +++ b/lib/pleroma/user/info.ex @@ -48,8 +48,6 @@ defmodule Pleroma.User.Info do field(:notification_settings, :map, default: %{ - "remote" => true, - "local" => true, "followers" => true, "follows" => true, "non_follows" => true, @@ -83,7 +81,7 @@ defmodule Pleroma.User.Info do notification_settings = info.notification_settings |> Map.merge(settings) - |> Map.take(["remote", "local", "followers", "follows", "non_follows", "non_followers"]) + |> Map.take(["followers", "follows", "non_follows", "non_followers"]) params = %{notification_settings: notification_settings} From 45e4642a58f5299d2cd3f142aea110a474eb477f Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 26 May 2019 00:20:54 +0000 Subject: [PATCH 038/246] tests: chase remote/local removal --- test/notification_test.exs | 27 ------------------- test/web/mastodon_api/account_view_test.exs | 2 -- test/web/twitter_api/util_controller_test.exs | 3 --- 3 files changed, 32 deletions(-) diff --git a/test/notification_test.exs b/test/notification_test.exs index b54414dcd..be292abd9 100644 --- a/test/notification_test.exs +++ b/test/notification_test.exs @@ -78,33 +78,6 @@ defmodule Pleroma.NotificationTest do assert nil == Notification.create_notification(activity, muter) end - test "it disables notifications from people on remote instances" do - user = insert(:user, info: %{notification_settings: %{"remote" => false}}) - other_user = insert(:user) - - create_activity = %{ - "@context" => "https://www.w3.org/ns/activitystreams", - "type" => "Create", - "to" => ["https://www.w3.org/ns/activitystreams#Public"], - "actor" => other_user.ap_id, - "object" => %{ - "type" => "Note", - "content" => "Hi @#{user.nickname}", - "attributedTo" => other_user.ap_id - } - } - - {:ok, %{local: false} = activity} = Transmogrifier.handle_incoming(create_activity) - assert nil == Notification.create_notification(activity, user) - end - - test "it disables notifications from people on the local instance" do - user = insert(:user, info: %{notification_settings: %{"local" => false}}) - other_user = insert(:user) - {:ok, activity} = CommonAPI.post(other_user, %{"status" => "hey @#{user.nickname}"}) - assert nil == Notification.create_notification(activity, user) - end - test "it disables notifications from followers" do follower = insert(:user) followed = insert(:user, info: %{notification_settings: %{"followers" => false}}) diff --git a/test/web/mastodon_api/account_view_test.exs b/test/web/mastodon_api/account_view_test.exs index 6f8480ee2..23f250990 100644 --- a/test/web/mastodon_api/account_view_test.exs +++ b/test/web/mastodon_api/account_view_test.exs @@ -78,8 +78,6 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do user = insert(:user) notification_settings = %{ - "remote" => true, - "local" => true, "followers" => true, "follows" => true, "non_follows" => true, diff --git a/test/web/twitter_api/util_controller_test.exs b/test/web/twitter_api/util_controller_test.exs index ca0b8cc26..cab9e5d90 100644 --- a/test/web/twitter_api/util_controller_test.exs +++ b/test/web/twitter_api/util_controller_test.exs @@ -102,7 +102,6 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do conn |> assign(:user, user) |> put("/api/pleroma/notification_settings", %{ - "remote" => false, "followers" => false, "bar" => 1 }) @@ -111,8 +110,6 @@ defmodule Pleroma.Web.TwitterAPI.UtilControllerTest do user = Repo.get(User, user.id) assert %{ - "remote" => false, - "local" => true, "followers" => false, "follows" => true, "non_follows" => true, From 79503ce90f6d85f00ee9e2dbc6358df2237d5036 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 26 May 2019 01:57:22 +0000 Subject: [PATCH 039/246] mrf: simple policy: fix matching imported activitypub and ostatus statuses --- CHANGELOG.md | 1 + .../web/activity_pub/mrf/simple_policy.ex | 3 +-- .../activity_pub/mrf/simple_policy_test.exs | 18 ++++++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7869e299b..f689160e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -113,6 +113,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Mastodon API: Exposing default scope of the user to anyone - Mastodon API: Make `irreversible` field default to `false` [`POST /api/v1/filters`] - User-Agent is now sent correctly for all HTTP requests. +- MRF: Simple policy now properly delists imported or relayed statuses ## Removed - Configuration: `config :pleroma, :fe` in favor of the more flexible `config :pleroma, :frontend_configurations` diff --git a/lib/pleroma/web/activity_pub/mrf/simple_policy.ex b/lib/pleroma/web/activity_pub/mrf/simple_policy.ex index 890d70a7a..433d23c5f 100644 --- a/lib/pleroma/web/activity_pub/mrf/simple_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/simple_policy.ex @@ -74,8 +74,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.SimplePolicy do actor_host ), user <- User.get_cached_by_ap_id(object["actor"]), - true <- "https://www.w3.org/ns/activitystreams#Public" in object["to"], - true <- user.follower_address in object["cc"] do + true <- "https://www.w3.org/ns/activitystreams#Public" in object["to"] do to = List.delete(object["to"], "https://www.w3.org/ns/activitystreams#Public") ++ [user.follower_address] diff --git a/test/web/activity_pub/mrf/simple_policy_test.exs b/test/web/activity_pub/mrf/simple_policy_test.exs index 3d1f26e60..0fd68e103 100644 --- a/test/web/activity_pub/mrf/simple_policy_test.exs +++ b/test/web/activity_pub/mrf/simple_policy_test.exs @@ -145,6 +145,24 @@ defmodule Pleroma.Web.ActivityPub.MRF.SimplePolicyTest do assert SimplePolicy.filter(local_message) == {:ok, local_message} end + + test "has a matching host but only as:Public in to" do + {_actor, ftl_message} = build_ftl_actor_and_message() + + ftl_message_actor_host = + ftl_message + |> Map.fetch!("actor") + |> URI.parse() + |> Map.fetch!(:host) + + ftl_message = Map.put(ftl_message, "cc", []) + + Config.put([:mrf_simple, :federated_timeline_removal], [ftl_message_actor_host]) + + assert {:ok, ftl_message} = SimplePolicy.filter(ftl_message) + refute "https://www.w3.org/ns/activitystreams#Public" in ftl_message["to"] + assert "https://www.w3.org/ns/activitystreams#Public" in ftl_message["cc"] + end end defp build_ftl_actor_and_message do From 9f3bcf0efe7fa06e2b8970386c099c1ea2974d0a Mon Sep 17 00:00:00 2001 From: jeff Date: Tue, 28 May 2019 06:49:53 +0000 Subject: [PATCH 040/246] Respect proxy settings federation --- lib/pleroma/http/connection.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pleroma/http/connection.ex b/lib/pleroma/http/connection.ex index 558005c19..c216cdcb1 100644 --- a/lib/pleroma/http/connection.ex +++ b/lib/pleroma/http/connection.ex @@ -32,9 +32,11 @@ defmodule Pleroma.HTTP.Connection do defp hackney_options(opts) do options = Keyword.get(opts, :adapter, []) adapter_options = Pleroma.Config.get([:http, :adapter], []) + proxy_url = Pleroma.Config.get([:http, :proxy_url], nil) @hackney_options |> Keyword.merge(adapter_options) |> Keyword.merge(options) + |> Keyword.merge(proxy: proxy_url) end end From abc15b6dcca39f62f043fcaf0292443a3dcb3d76 Mon Sep 17 00:00:00 2001 From: feld Date: Tue, 28 May 2019 21:20:24 +0000 Subject: [PATCH 041/246] Improve Varnish config. We set sane headers from the backend now. --- installation/pleroma.vcl | 70 ++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/installation/pleroma.vcl b/installation/pleroma.vcl index 92153d8ef..154747aa6 100644 --- a/installation/pleroma.vcl +++ b/installation/pleroma.vcl @@ -1,4 +1,4 @@ -vcl 4.0; +vcl 4.1; import std; backend default { @@ -35,24 +35,6 @@ sub vcl_recv { } return(purge); } - - # Pleroma MediaProxy - strip headers that will affect caching - if (req.url ~ "^/proxy/") { - unset req.http.Cookie; - unset req.http.Authorization; - unset req.http.Accept; - return (hash); - } - - # Strip headers that will affect caching from all other static content - # This also permits caching of individual toots and AP Activities - if ((req.url ~ "^/(media|static)/") || - (req.url ~ "(?i)\.(html|js|css|jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|mp4|ogg|webm|svg|swf|ttf|pdf|woff|woff2)$")) - { - unset req.http.Cookie; - unset req.http.Authorization; - return (hash); - } } sub vcl_backend_response { @@ -61,6 +43,12 @@ sub vcl_backend_response { set beresp.do_gzip = true; } + # Retry broken backend responses. + if (beresp.status == 503) { + set bereq.http.X-Varnish-Backend-503 = "1"; + return (retry); + } + # CHUNKED SUPPORT if (bereq.http.x-range ~ "bytes=" && beresp.status == 206) { set beresp.ttl = 10m; @@ -73,8 +61,6 @@ sub vcl_backend_response { return (deliver); } - # Default object caching of 86400s; - set beresp.ttl = 86400s; # Allow serving cached content for 6h in case backend goes down set beresp.grace = 6h; @@ -90,20 +76,6 @@ sub vcl_backend_response { set beresp.ttl = 30s; return (deliver); } - - # Pleroma MediaProxy internally sets headers properly - if (bereq.url ~ "^/proxy/") { - return (deliver); - } - - # Strip cache-restricting headers from Pleroma on static content that we want to cache - if (bereq.url ~ "(?i)\.(js|css|jpg|jpeg|png|gif|gz|tgz|bz2|tbz|mp3|mp4|ogg|webm|svg|swf|ttf|pdf|woff|woff2)$") - { - unset beresp.http.set-cookie; - unset beresp.http.Cache-Control; - unset beresp.http.x-request-id; - set beresp.http.Cache-Control = "public, max-age=86400"; - } } # The synthetic response for 301 redirects @@ -132,10 +104,32 @@ sub vcl_hash { } sub vcl_backend_fetch { + # Be more lenient for slow servers on the fediverse + if bereq.url ~ "^/proxy/" { + set bereq.first_byte_timeout = 300s; + } + # CHUNKED SUPPORT if (bereq.http.x-range) { set bereq.http.Range = bereq.http.x-range; } + + if (bereq.retries == 0) { + # Clean up the X-Varnish-Backend-503 flag that is used internally + # to mark broken backend responses that should be retried. + unset bereq.http.X-Varnish-Backend-503; + } else { + if (bereq.http.X-Varnish-Backend-503) { + if (bereq.method != "POST" && + std.healthy(bereq.backend) && + bereq.retries <= 4) { + # Flush broken backend response flag & try again. + unset bereq.http.X-Varnish-Backend-503; + } else { + return (abandon); + } + } + } } sub vcl_deliver { @@ -145,3 +139,9 @@ sub vcl_deliver { unset resp.http.CR; } } + +sub vcl_backend_error { + # Retry broken backend responses. + set bereq.http.X-Varnish-Backend-503 = "1"; + return (retry); +} From 0159a6dbe97330150d2913c7d7a060151f83f7eb Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 29 May 2019 10:58:45 +0000 Subject: [PATCH 042/246] router: require oauth_read for searching Search calls are generally expensive and allow unauthenticated users to crawl the instance for user profiles or posts which contain specified keywords. An adversary can build a distributed search engine which not only will consume significant instance resources, but also can be used for undesirable purposes such as datamining. Accordingly, require authenticated access to use the search API endpoints. This acts as a nice balance as it allows guest users to make use of most functionality available in Pleroma FE while ensuring that Pleroma instances are reasonably protected from resource exhaustion. It also removes Pleroma as a potential vector in distributed search engines. --- lib/pleroma/web/router.ex | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 352268b96..08c74a742 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -414,7 +414,12 @@ defmodule Pleroma.Web.Router do get("/trends", MastodonAPIController, :empty_array) - get("/accounts/search", MastodonAPIController, :account_search) + scope [] do + pipe_through(:oauth_read) + + get("/search", MastodonAPIController, :search) + get("/accounts/search", MastodonAPIController, :account_search) + end scope [] do pipe_through(:oauth_read_or_public) @@ -431,14 +436,12 @@ defmodule Pleroma.Web.Router do get("/accounts/:id/following", MastodonAPIController, :following) get("/accounts/:id", MastodonAPIController, :user) - get("/search", MastodonAPIController, :search) - get("/pleroma/accounts/:id/favourites", MastodonAPIController, :user_favourites) end end scope "/api/v2", Pleroma.Web.MastodonAPI do - pipe_through([:api, :oauth_read_or_public]) + pipe_through([:api, :oauth_read]) get("/search", MastodonAPIController, :search2) end @@ -480,9 +483,14 @@ defmodule Pleroma.Web.Router do get("/statuses/show/:id", TwitterAPI.Controller, :fetch_status) get("/statusnet/conversation/:id", TwitterAPI.Controller, :fetch_conversation) - get("/search", TwitterAPI.Controller, :search) get("/statusnet/tags/timeline/:tag", TwitterAPI.Controller, :public_and_external_timeline) end + + scope [] do + pipe_through(:oauth_read) + + get("/search", TwitterAPI.Controller, :search) + end end scope "/api", Pleroma.Web do @@ -500,7 +508,7 @@ defmodule Pleroma.Web.Router do end scope "/api", Pleroma.Web, as: :twitter_api_search do - pipe_through([:api, :oauth_read_or_public]) + pipe_through([:api, :oauth_read]) get("/pleroma/search_user", TwitterAPI.Controller, :search_user) end From 672fddb7213b69f3ee8b9a7728426373090847ed Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Wed, 29 May 2019 08:06:26 -0500 Subject: [PATCH 043/246] Default search limit should be 40 https://docs.joinmastodon.org/api/rest/search/ --- lib/pleroma/web/mastodon_api/mastodon_api_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index 0fe09c285..2110027c3 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -1084,7 +1084,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do from([a, o] in Activity.with_preloaded_object(Activity), where: fragment("?->>'type' = 'Create'", a.data), where: "https://www.w3.org/ns/activitystreams#Public" in a.recipients, - limit: 20 + limit: 40 ) q = From db94294dfb6f25ce0f08acfb78b3c4cc2241e9f5 Mon Sep 17 00:00:00 2001 From: Maksim Date: Wed, 29 May 2019 14:04:58 +0000 Subject: [PATCH 044/246] [#936] fix tests --- .../admin_api/admin_api_controller_test.exs | 176 ++++++++++-------- 1 file changed, 96 insertions(+), 80 deletions(-) diff --git a/test/web/admin_api/admin_api_controller_test.exs b/test/web/admin_api/admin_api_controller_test.exs index c15c67e31..43dcf945a 100644 --- a/test/web/admin_api/admin_api_controller_test.exs +++ b/test/web/admin_api/admin_api_controller_test.exs @@ -437,27 +437,31 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do user = insert(:user, local: false, tags: ["foo", "bar"]) conn = get(conn, "/api/pleroma/admin/users?page=1") + users = + [ + %{ + "deactivated" => admin.info.deactivated, + "id" => admin.id, + "nickname" => admin.nickname, + "roles" => %{"admin" => true, "moderator" => false}, + "local" => true, + "tags" => [] + }, + %{ + "deactivated" => user.info.deactivated, + "id" => user.id, + "nickname" => user.nickname, + "roles" => %{"admin" => false, "moderator" => false}, + "local" => false, + "tags" => ["foo", "bar"] + } + ] + |> Enum.sort_by(& &1["nickname"]) + assert json_response(conn, 200) == %{ "count" => 2, "page_size" => 50, - "users" => [ - %{ - "deactivated" => admin.info.deactivated, - "id" => admin.id, - "nickname" => admin.nickname, - "roles" => %{"admin" => true, "moderator" => false}, - "local" => true, - "tags" => [] - }, - %{ - "deactivated" => user.info.deactivated, - "id" => user.id, - "nickname" => user.nickname, - "roles" => %{"admin" => false, "moderator" => false}, - "local" => false, - "tags" => ["foo", "bar"] - } - ] + "users" => users } end @@ -659,35 +663,39 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do |> assign(:user, admin) |> get("/api/pleroma/admin/users?filters=local") + users = + [ + %{ + "deactivated" => user.info.deactivated, + "id" => user.id, + "nickname" => user.nickname, + "roles" => %{"admin" => false, "moderator" => false}, + "local" => true, + "tags" => [] + }, + %{ + "deactivated" => admin.info.deactivated, + "id" => admin.id, + "nickname" => admin.nickname, + "roles" => %{"admin" => true, "moderator" => false}, + "local" => true, + "tags" => [] + }, + %{ + "deactivated" => false, + "id" => old_admin.id, + "local" => true, + "nickname" => old_admin.nickname, + "roles" => %{"admin" => true, "moderator" => false}, + "tags" => [] + } + ] + |> Enum.sort_by(& &1["nickname"]) + assert json_response(conn, 200) == %{ "count" => 3, "page_size" => 50, - "users" => [ - %{ - "deactivated" => user.info.deactivated, - "id" => user.id, - "nickname" => user.nickname, - "roles" => %{"admin" => false, "moderator" => false}, - "local" => true, - "tags" => [] - }, - %{ - "deactivated" => admin.info.deactivated, - "id" => admin.id, - "nickname" => admin.nickname, - "roles" => %{"admin" => true, "moderator" => false}, - "local" => true, - "tags" => [] - }, - %{ - "deactivated" => false, - "id" => old_admin.id, - "local" => true, - "nickname" => old_admin.nickname, - "roles" => %{"admin" => true, "moderator" => false}, - "tags" => [] - } - ] + "users" => users } end @@ -698,27 +706,31 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do conn = get(conn, "/api/pleroma/admin/users?filters=is_admin") + users = + [ + %{ + "deactivated" => false, + "id" => admin.id, + "nickname" => admin.nickname, + "roles" => %{"admin" => true, "moderator" => false}, + "local" => admin.local, + "tags" => [] + }, + %{ + "deactivated" => false, + "id" => second_admin.id, + "nickname" => second_admin.nickname, + "roles" => %{"admin" => true, "moderator" => false}, + "local" => second_admin.local, + "tags" => [] + } + ] + |> Enum.sort_by(& &1["nickname"]) + assert json_response(conn, 200) == %{ "count" => 2, "page_size" => 50, - "users" => [ - %{ - "deactivated" => false, - "id" => admin.id, - "nickname" => admin.nickname, - "roles" => %{"admin" => true, "moderator" => false}, - "local" => admin.local, - "tags" => [] - }, - %{ - "deactivated" => false, - "id" => second_admin.id, - "nickname" => second_admin.nickname, - "roles" => %{"admin" => true, "moderator" => false}, - "local" => second_admin.local, - "tags" => [] - } - ] + "users" => users } end @@ -753,27 +765,31 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do conn = get(conn, "/api/pleroma/admin/users?tags[]=first&tags[]=second") + users = + [ + %{ + "deactivated" => false, + "id" => user1.id, + "nickname" => user1.nickname, + "roles" => %{"admin" => false, "moderator" => false}, + "local" => user1.local, + "tags" => ["first"] + }, + %{ + "deactivated" => false, + "id" => user2.id, + "nickname" => user2.nickname, + "roles" => %{"admin" => false, "moderator" => false}, + "local" => user2.local, + "tags" => ["second"] + } + ] + |> Enum.sort_by(& &1["nickname"]) + assert json_response(conn, 200) == %{ "count" => 2, "page_size" => 50, - "users" => [ - %{ - "deactivated" => false, - "id" => user1.id, - "nickname" => user1.nickname, - "roles" => %{"admin" => false, "moderator" => false}, - "local" => user1.local, - "tags" => ["first"] - }, - %{ - "deactivated" => false, - "id" => user2.id, - "nickname" => user2.nickname, - "roles" => %{"admin" => false, "moderator" => false}, - "local" => user2.local, - "tags" => ["second"] - } - ] + "users" => users } end From 6aec0d1b58c12db2fa669fcff043338174290a35 Mon Sep 17 00:00:00 2001 From: kaniini Date: Wed, 29 May 2019 22:10:16 +0000 Subject: [PATCH 045/246] Revert "Merge branch 'feature/search-authenticated-only' into 'develop'" This reverts merge request !1209 --- lib/pleroma/web/router.ex | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 08c74a742..352268b96 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -414,12 +414,7 @@ defmodule Pleroma.Web.Router do get("/trends", MastodonAPIController, :empty_array) - scope [] do - pipe_through(:oauth_read) - - get("/search", MastodonAPIController, :search) - get("/accounts/search", MastodonAPIController, :account_search) - end + get("/accounts/search", MastodonAPIController, :account_search) scope [] do pipe_through(:oauth_read_or_public) @@ -436,12 +431,14 @@ defmodule Pleroma.Web.Router do get("/accounts/:id/following", MastodonAPIController, :following) get("/accounts/:id", MastodonAPIController, :user) + get("/search", MastodonAPIController, :search) + get("/pleroma/accounts/:id/favourites", MastodonAPIController, :user_favourites) end end scope "/api/v2", Pleroma.Web.MastodonAPI do - pipe_through([:api, :oauth_read]) + pipe_through([:api, :oauth_read_or_public]) get("/search", MastodonAPIController, :search2) end @@ -483,13 +480,8 @@ defmodule Pleroma.Web.Router do get("/statuses/show/:id", TwitterAPI.Controller, :fetch_status) get("/statusnet/conversation/:id", TwitterAPI.Controller, :fetch_conversation) - get("/statusnet/tags/timeline/:tag", TwitterAPI.Controller, :public_and_external_timeline) - end - - scope [] do - pipe_through(:oauth_read) - get("/search", TwitterAPI.Controller, :search) + get("/statusnet/tags/timeline/:tag", TwitterAPI.Controller, :public_and_external_timeline) end end @@ -508,7 +500,7 @@ defmodule Pleroma.Web.Router do end scope "/api", Pleroma.Web, as: :twitter_api_search do - pipe_through([:api, :oauth_read]) + pipe_through([:api, :oauth_read_or_public]) get("/pleroma/search_user", TwitterAPI.Controller, :search_user) end From 99f70c7e2011ab29746a8a61d3a4b354f4513045 Mon Sep 17 00:00:00 2001 From: Egor Kislitsyn Date: Thu, 30 May 2019 15:33:58 +0700 Subject: [PATCH 046/246] Use Pleroma.Config everywhere --- lib/healthcheck.ex | 4 +- lib/pleroma/emoji.ex | 4 +- lib/pleroma/html.ex | 20 ++---- lib/pleroma/http/http.ex | 7 +- lib/pleroma/plugs/federating_plug.ex | 2 +- lib/pleroma/reverse_proxy.ex | 2 +- lib/pleroma/user.ex | 4 +- lib/pleroma/web/activity_pub/activity_pub.ex | 12 ++-- .../activity_pub/activity_pub_controller.ex | 2 +- lib/pleroma/web/activity_pub/mrf.ex | 4 +- lib/pleroma/web/endpoint.ex | 2 +- lib/pleroma/web/media_proxy/media_proxy.ex | 34 +++++----- .../web/nodeinfo/nodeinfo_controller.ex | 66 ++++++++----------- lib/pleroma/web/templates/layout/app.html.eex | 4 +- .../mastodon_api/mastodon/index.html.eex | 2 +- .../web/twitter_api/twitter_api_controller.ex | 2 +- test/web/plugs/federating_plug_test.exs | 12 +--- .../twitter_api_controller_test.exs | 48 +++----------- 18 files changed, 80 insertions(+), 151 deletions(-) diff --git a/lib/healthcheck.ex b/lib/healthcheck.ex index 646fb3b9d..32aafc210 100644 --- a/lib/healthcheck.ex +++ b/lib/healthcheck.ex @@ -29,13 +29,13 @@ defmodule Pleroma.Healthcheck do end defp assign_db_info(healthcheck) do - database = Application.get_env(:pleroma, Repo)[:database] + database = Pleroma.Config.get([Repo, :database]) query = "select state, count(pid) from pg_stat_activity where datname = '#{database}' group by state;" result = Repo.query!(query) - pool_size = Application.get_env(:pleroma, Repo)[:pool_size] + pool_size = Pleroma.Config.get([Repo, :pool_size]) db_info = Enum.reduce(result.rows, %{active: 0, idle: 0}, fn [state, cnt], states -> diff --git a/lib/pleroma/emoji.ex b/lib/pleroma/emoji.ex index 6390cce4c..7d12eff7f 100644 --- a/lib/pleroma/emoji.ex +++ b/lib/pleroma/emoji.ex @@ -22,7 +22,7 @@ defmodule Pleroma.Emoji do @ets __MODULE__.Ets @ets_options [:ordered_set, :protected, :named_table, {:read_concurrency, true}] - @groups Application.get_env(:pleroma, :emoji)[:groups] + @groups Pleroma.Config.get([:emoji, :groups]) @doc false def start_link do @@ -112,7 +112,7 @@ defmodule Pleroma.Emoji do # Compat thing for old custom emoji handling & default emoji, # it should run even if there are no emoji packs - shortcode_globs = Application.get_env(:pleroma, :emoji)[:shortcode_globs] || [] + shortcode_globs = Pleroma.Config.get([:emoji, :shortcode_globs], []) emojis = (load_from_file("config/emoji.txt") ++ diff --git a/lib/pleroma/html.ex b/lib/pleroma/html.ex index d1da746de..e5e78ee4f 100644 --- a/lib/pleroma/html.ex +++ b/lib/pleroma/html.ex @@ -104,7 +104,6 @@ defmodule Pleroma.HTML.Scrubber.TwitterText do paragraphs, breaks and links are allowed through the filter. """ - @markup Application.get_env(:pleroma, :markup) @valid_schemes Pleroma.Config.get([:uri_schemes, :valid_schemes], []) require HtmlSanitizeEx.Scrubber.Meta @@ -142,9 +141,7 @@ defmodule Pleroma.HTML.Scrubber.TwitterText do Meta.allow_tag_with_these_attributes("span", []) # allow inline images for custom emoji - @allow_inline_images Keyword.get(@markup, :allow_inline_images) - - if @allow_inline_images do + if Pleroma.Config.get([:markup, :allow_inline_images]) do # restrict img tags to http/https only, because of MediaProxy. Meta.allow_tag_with_uri_attributes("img", ["src"], ["http", "https"]) @@ -168,7 +165,6 @@ defmodule Pleroma.HTML.Scrubber.Default do # credo:disable-for-previous-line # No idea how to fix this one… - @markup Application.get_env(:pleroma, :markup) @valid_schemes Pleroma.Config.get([:uri_schemes, :valid_schemes], []) Meta.remove_cdata_sections_before_scrub() @@ -213,7 +209,7 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_this_attribute_values("span", "class", ["h-card"]) Meta.allow_tag_with_these_attributes("span", []) - @allow_inline_images Keyword.get(@markup, :allow_inline_images) + @allow_inline_images Pleroma.Config.get([:markup, :allow_inline_images]) if @allow_inline_images do # restrict img tags to http/https only, because of MediaProxy. @@ -228,9 +224,7 @@ defmodule Pleroma.HTML.Scrubber.Default do ]) end - @allow_tables Keyword.get(@markup, :allow_tables) - - if @allow_tables do + if Pleroma.Config.get([:markup, :allow_tables]) do Meta.allow_tag_with_these_attributes("table", []) Meta.allow_tag_with_these_attributes("tbody", []) Meta.allow_tag_with_these_attributes("td", []) @@ -239,9 +233,7 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_these_attributes("tr", []) end - @allow_headings Keyword.get(@markup, :allow_headings) - - if @allow_headings do + if Pleroma.Config.get([:markup, :allow_headings]) do Meta.allow_tag_with_these_attributes("h1", []) Meta.allow_tag_with_these_attributes("h2", []) Meta.allow_tag_with_these_attributes("h3", []) @@ -249,9 +241,7 @@ defmodule Pleroma.HTML.Scrubber.Default do Meta.allow_tag_with_these_attributes("h5", []) end - @allow_fonts Keyword.get(@markup, :allow_fonts) - - if @allow_fonts do + if Pleroma.Config.get([:markup, :allow_fonts]) do Meta.allow_tag_with_these_attributes("font", ["face"]) end diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex index c5f720bc9..c96ee7353 100644 --- a/lib/pleroma/http/http.ex +++ b/lib/pleroma/http/http.ex @@ -65,12 +65,9 @@ defmodule Pleroma.HTTP do end def process_request_options(options) do - config = Application.get_env(:pleroma, :http, []) - proxy = Keyword.get(config, :proxy_url, nil) - - case proxy do + case Pleroma.Config.get([:http, :proxy_url]) do nil -> options - _ -> options ++ [proxy: proxy] + proxy -> options ++ [proxy: proxy] end end diff --git a/lib/pleroma/plugs/federating_plug.ex b/lib/pleroma/plugs/federating_plug.ex index effc154bf..4dc4e9279 100644 --- a/lib/pleroma/plugs/federating_plug.ex +++ b/lib/pleroma/plugs/federating_plug.ex @@ -10,7 +10,7 @@ defmodule Pleroma.Web.FederatingPlug do end def call(conn, _opts) do - if Keyword.get(Application.get_env(:pleroma, :instance), :federating) do + if Pleroma.Config.get([:instance, :federating]) do conn else conn diff --git a/lib/pleroma/reverse_proxy.ex b/lib/pleroma/reverse_proxy.ex index 6e5feb4c3..983e156f5 100644 --- a/lib/pleroma/reverse_proxy.ex +++ b/lib/pleroma/reverse_proxy.ex @@ -61,7 +61,7 @@ defmodule Pleroma.ReverseProxy do * `http`: options for [hackney](https://github.com/benoitc/hackney). """ - @hackney Application.get_env(:pleroma, :hackney, :hackney) + @hackney Pleroma.Config.get(:hackney, :hackney) @default_hackney_options [] diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 653dec95f..5c91dc7d4 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -366,9 +366,7 @@ defmodule Pleroma.User do end def follow(%User{} = follower, %User{info: info} = followed) do - user_config = Application.get_env(:pleroma, :user) - deny_follow_blocked = Keyword.get(user_config, :deny_follow_blocked) - + deny_follow_blocked = Pleroma.Config.get([:user, :deny_follow_blocked]) ap_followers = followed.follower_address cond do diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index aa0229db7..bdd7e78d2 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -399,16 +399,12 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do end def block(blocker, blocked, activity_id \\ nil, local \\ true) do - ap_config = Application.get_env(:pleroma, :activitypub) - unfollow_blocked = Keyword.get(ap_config, :unfollow_blocked) - outgoing_blocks = Keyword.get(ap_config, :outgoing_blocks) + outgoing_blocks = Pleroma.Config.get([:activitypub, :outgoing_blocks]) + unfollow_blocked = Pleroma.Config.get([:activitypub, :unfollow_blocked]) - with true <- unfollow_blocked do + if unfollow_blocked do follow_activity = fetch_latest_follow(blocker, blocked) - - if follow_activity do - unfollow(blocker, blocked, nil, local) - end + if follow_activity, do: unfollow(blocker, blocked, nil, local) end with true <- outgoing_blocks, diff --git a/lib/pleroma/web/activity_pub/activity_pub_controller.ex b/lib/pleroma/web/activity_pub/activity_pub_controller.ex index ad2ca1e54..0182bda46 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -27,7 +27,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do plug(:relay_active? when action in [:relay]) def relay_active?(conn, _) do - if Keyword.get(Application.get_env(:pleroma, :instance), :allow_relay) do + if Pleroma.Config.get([:instance, :allow_relay]) do conn else conn diff --git a/lib/pleroma/web/activity_pub/mrf.ex b/lib/pleroma/web/activity_pub/mrf.ex index 1aaa20050..3bf7955f3 100644 --- a/lib/pleroma/web/activity_pub/mrf.ex +++ b/lib/pleroma/web/activity_pub/mrf.ex @@ -17,9 +17,7 @@ defmodule Pleroma.Web.ActivityPub.MRF do end def get_policies do - Application.get_env(:pleroma, :instance, []) - |> Keyword.get(:rewrite_policy, []) - |> get_policies() + Pleroma.Config.get([:instance, :rewrite_policy], []) |> get_policies() end defp get_policies(policy) when is_atom(policy), do: [policy] diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex index 8cd7a2270..bd76e4295 100644 --- a/lib/pleroma/web/endpoint.ex +++ b/lib/pleroma/web/endpoint.ex @@ -66,7 +66,7 @@ defmodule Pleroma.Web.Endpoint do parsers: [:urlencoded, :multipart, :json], pass: ["*/*"], json_decoder: Jason, - length: Application.get_env(:pleroma, :instance) |> Keyword.get(:upload_limit), + length: Pleroma.Config.get([:instance, :upload_limit]), body_reader: {Pleroma.Web.Plugs.DigestPlug, :read_body, []} ) diff --git a/lib/pleroma/web/media_proxy/media_proxy.ex b/lib/pleroma/web/media_proxy/media_proxy.ex index 5762e767b..cee6d8481 100644 --- a/lib/pleroma/web/media_proxy/media_proxy.ex +++ b/lib/pleroma/web/media_proxy/media_proxy.ex @@ -12,25 +12,27 @@ defmodule Pleroma.Web.MediaProxy do def url("/" <> _ = url), do: url def url(url) do - config = Application.get_env(:pleroma, :media_proxy, []) - domain = URI.parse(url).host - - cond do - !Keyword.get(config, :enabled, false) or String.starts_with?(url, Pleroma.Web.base_url()) -> - url - - Enum.any?(Pleroma.Config.get([:media_proxy, :whitelist]), fn pattern -> - String.equivalent?(domain, pattern) - end) -> - url - - true -> - encode_url(url) + if !enabled?() or local?(url) or whitelisted?(url) do + url + else + encode_url(url) end end + defp enabled?, do: Pleroma.Config.get([:media_proxy, :enabled], false) + + defp local?(url), do: String.starts_with?(url, Pleroma.Web.base_url()) + + defp whitelisted?(url) do + %{host: domain} = URI.parse(url) + + Enum.any?(Pleroma.Config.get([:media_proxy, :whitelist]), fn pattern -> + String.equivalent?(domain, pattern) + end) + end + def encode_url(url) do - secret = Application.get_env(:pleroma, Pleroma.Web.Endpoint)[:secret_key_base] + secret = Pleroma.Config.get([Pleroma.Web.Endpoint, :secret_key_base]) # Must preserve `%2F` for compatibility with S3 # https://git.pleroma.social/pleroma/pleroma/issues/580 @@ -52,7 +54,7 @@ defmodule Pleroma.Web.MediaProxy do end def decode_url(sig, url) do - secret = Application.get_env(:pleroma, Pleroma.Web.Endpoint)[:secret_key_base] + secret = Pleroma.Config.get([Pleroma.Web.Endpoint, :secret_key_base]) sig = Base.url_decode64!(sig, @base64_opts) local_sig = :crypto.hmac(:sha, secret, url) diff --git a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex index 45f90c579..59f3d4e11 100644 --- a/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex +++ b/lib/pleroma/web/nodeinfo/nodeinfo_controller.ex @@ -32,20 +32,15 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do # returns a nodeinfo 2.0 map, since 2.1 just adds a repository field # under software. def raw_nodeinfo do - instance = Application.get_env(:pleroma, :instance) - media_proxy = Application.get_env(:pleroma, :media_proxy) - suggestions = Application.get_env(:pleroma, :suggestions) - chat = Application.get_env(:pleroma, :chat) - gopher = Application.get_env(:pleroma, :gopher) stats = Stats.get_stats() mrf_simple = - Application.get_env(:pleroma, :mrf_simple) + Config.get(:mrf_simple) |> Enum.into(%{}) # This horror is needed to convert regex sigils to strings mrf_keyword = - Application.get_env(:pleroma, :mrf_keyword, []) + Config.get(:mrf_keyword, []) |> Enum.map(fn {key, value} -> {key, Enum.map(value, fn @@ -74,14 +69,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do MRF.get_policies() |> Enum.map(fn policy -> to_string(policy) |> String.split(".") |> List.last() end) - quarantined = Keyword.get(instance, :quarantined_instances) - - quarantined = - if is_list(quarantined) do - quarantined - else - [] - end + quarantined = Config.get([:instance, :quarantined_instances], []) staff_accounts = User.all_superusers() @@ -92,7 +80,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do |> Enum.into(%{}, fn {k, v} -> {k, length(v)} end) federation_response = - if Keyword.get(instance, :mrf_transparency) do + if Config.get([:instance, :mrf_transparency]) do %{ mrf_policies: mrf_policies, mrf_simple: mrf_simple, @@ -109,22 +97,22 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do "pleroma_api", "mastodon_api", "mastodon_api_streaming", - if Keyword.get(media_proxy, :enabled) do + if Config.get([:media_proxy, :enabled]) do "media_proxy" end, - if Keyword.get(gopher, :enabled) do + if Config.get([:gopher, :enabled]) do "gopher" end, - if Keyword.get(chat, :enabled) do + if Config.get([:chat, :enabled]) do "chat" end, - if Keyword.get(suggestions, :enabled) do + if Config.get([:suggestions, :enabled]) do "suggestions" end, - if Keyword.get(instance, :allow_relay) do + if Config.get([:instance, :allow_relay]) do "relay" end, - if Keyword.get(instance, :safe_dm_mentions) do + if Config.get([:instance, :safe_dm_mentions]) do "safe_dm_mentions" end ] @@ -141,7 +129,7 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do inbound: [], outbound: [] }, - openRegistrations: Keyword.get(instance, :registrations_open), + openRegistrations: Config.get([:instance, :registrations_open]), usage: %{ users: %{ total: stats.user_count || 0 @@ -149,29 +137,29 @@ defmodule Pleroma.Web.Nodeinfo.NodeinfoController do localPosts: stats.status_count || 0 }, metadata: %{ - nodeName: Keyword.get(instance, :name), - nodeDescription: Keyword.get(instance, :description), - private: !Keyword.get(instance, :public, true), + nodeName: Config.get([:instance, :name]), + nodeDescription: Config.get([:instance, :description]), + private: !Config.get([:instance, :public], true), suggestions: %{ - enabled: Keyword.get(suggestions, :enabled, false), - thirdPartyEngine: Keyword.get(suggestions, :third_party_engine, ""), - timeout: Keyword.get(suggestions, :timeout, 5000), - limit: Keyword.get(suggestions, :limit, 23), - web: Keyword.get(suggestions, :web, "") + enabled: Config.get([:suggestions, :enabled], false), + thirdPartyEngine: Config.get([:suggestions, :third_party_engine], ""), + timeout: Config.get([:suggestions, :timeout], 5000), + limit: Config.get([:suggestions, :limit], 23), + web: Config.get([:suggestions, :web], "") }, staffAccounts: staff_accounts, federation: federation_response, - postFormats: Keyword.get(instance, :allowed_post_formats), + postFormats: Config.get([:instance, :allowed_post_formats]), uploadLimits: %{ - general: Keyword.get(instance, :upload_limit), - avatar: Keyword.get(instance, :avatar_upload_limit), - banner: Keyword.get(instance, :banner_upload_limit), - background: Keyword.get(instance, :background_upload_limit) + general: Config.get([:instance, :upload_limit]), + avatar: Config.get([:instance, :avatar_upload_limit]), + banner: Config.get([:instance, :banner_upload_limit]), + background: Config.get([:instance, :background_upload_limit]) }, - accountActivationRequired: Keyword.get(instance, :account_activation_required, false), - invitesEnabled: Keyword.get(instance, :invites_enabled, false), + accountActivationRequired: Config.get([:instance, :account_activation_required], false), + invitesEnabled: Config.get([:instance, :invites_enabled], false), features: features, - restrictedNicknames: Pleroma.Config.get([Pleroma.User, :restricted_nicknames]) + restrictedNicknames: Config.get([Pleroma.User, :restricted_nicknames]) } } end diff --git a/lib/pleroma/web/templates/layout/app.html.eex b/lib/pleroma/web/templates/layout/app.html.eex index 3389c91cc..85ec4d76c 100644 --- a/lib/pleroma/web/templates/layout/app.html.eex +++ b/lib/pleroma/web/templates/layout/app.html.eex @@ -4,7 +4,7 @@ - <%= Application.get_env(:pleroma, :instance)[:name] %> + <%= Pleroma.Config.get([:instance, :name]) %> \n","/* eslint-env browser */\nimport { filter, trim } from 'lodash'\n\nimport TabSwitcher from '../tab_switcher/tab_switcher.js'\nimport StyleSwitcher from '../style_switcher/style_switcher.vue'\nimport InterfaceLanguageSwitcher from '../interface_language_switcher/interface_language_switcher.vue'\nimport { extractCommit } from '../../services/version/version.service'\n\nconst pleromaFeCommitUrl = 'https://git.pleroma.social/pleroma/pleroma-fe/commit/'\nconst pleromaBeCommitUrl = 'https://git.pleroma.social/pleroma/pleroma/commit/'\n\nconst settings = {\n data () {\n const user = this.$store.state.config\n const instance = this.$store.state.instance\n\n return {\n hideAttachmentsLocal: user.hideAttachments,\n hideAttachmentsInConvLocal: user.hideAttachmentsInConv,\n maxThumbnails: user.maxThumbnails,\n hideNsfwLocal: user.hideNsfw,\n useOneClickNsfw: user.useOneClickNsfw,\n hideISPLocal: user.hideISP,\n preloadImage: user.preloadImage,\n\n hidePostStatsLocal: typeof user.hidePostStats === 'undefined'\n ? instance.hidePostStats\n : user.hidePostStats,\n hidePostStatsDefault: this.$t('settings.values.' + instance.hidePostStats),\n\n hideUserStatsLocal: typeof user.hideUserStats === 'undefined'\n ? instance.hideUserStats\n : user.hideUserStats,\n hideUserStatsDefault: this.$t('settings.values.' + instance.hideUserStats),\n\n hideFilteredStatusesLocal: typeof user.hideFilteredStatuses === 'undefined'\n ? instance.hideFilteredStatuses\n : user.hideFilteredStatuses,\n hideFilteredStatusesDefault: this.$t('settings.values.' + instance.hideFilteredStatuses),\n\n notificationVisibilityLocal: user.notificationVisibility,\n replyVisibilityLocal: user.replyVisibility,\n loopVideoLocal: user.loopVideo,\n muteWordsString: user.muteWords.join('\\n'),\n autoLoadLocal: user.autoLoad,\n streamingLocal: user.streaming,\n pauseOnUnfocusedLocal: user.pauseOnUnfocused,\n hoverPreviewLocal: user.hoverPreview,\n autohideFloatingPostButtonLocal: user.autohideFloatingPostButton,\n\n hideMutedPostsLocal: typeof user.hideMutedPosts === 'undefined'\n ? instance.hideMutedPosts\n : user.hideMutedPosts,\n hideMutedPostsDefault: this.$t('settings.values.' + instance.hideMutedPosts),\n\n collapseMessageWithSubjectLocal: typeof user.collapseMessageWithSubject === 'undefined'\n ? instance.collapseMessageWithSubject\n : user.collapseMessageWithSubject,\n collapseMessageWithSubjectDefault: this.$t('settings.values.' + instance.collapseMessageWithSubject),\n\n subjectLineBehaviorLocal: typeof user.subjectLineBehavior === 'undefined'\n ? instance.subjectLineBehavior\n : user.subjectLineBehavior,\n subjectLineBehaviorDefault: instance.subjectLineBehavior,\n\n postContentTypeLocal: typeof user.postContentType === 'undefined'\n ? instance.postContentType\n : user.postContentType,\n postContentTypeDefault: instance.postContentType,\n\n alwaysShowSubjectInputLocal: typeof user.alwaysShowSubjectInput === 'undefined'\n ? instance.alwaysShowSubjectInput\n : user.alwaysShowSubjectInput,\n alwaysShowSubjectInputDefault: this.$t('settings.values.' + instance.alwaysShowSubjectInput),\n\n scopeCopyLocal: typeof user.scopeCopy === 'undefined'\n ? instance.scopeCopy\n : user.scopeCopy,\n scopeCopyDefault: this.$t('settings.values.' + instance.scopeCopy),\n\n minimalScopesModeLocal: typeof user.minimalScopesMode === 'undefined'\n ? instance.minimalScopesMode\n : user.minimalScopesMode,\n minimalScopesModeDefault: this.$t('settings.values.' + instance.minimalScopesMode),\n\n stopGifs: user.stopGifs,\n webPushNotificationsLocal: user.webPushNotifications,\n loopVideoSilentOnlyLocal: user.loopVideosSilentOnly,\n loopSilentAvailable:\n // Firefox\n Object.getOwnPropertyDescriptor(HTMLVideoElement.prototype, 'mozHasAudio') ||\n // Chrome-likes\n Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'webkitAudioDecodedByteCount') ||\n // Future spec, still not supported in Nightly 63 as of 08/2018\n Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'audioTracks'),\n playVideosInModal: user.playVideosInModal,\n useContainFit: user.useContainFit,\n\n backendVersion: instance.backendVersion,\n frontendVersion: instance.frontendVersion\n }\n },\n components: {\n TabSwitcher,\n StyleSwitcher,\n InterfaceLanguageSwitcher\n },\n computed: {\n user () {\n return this.$store.state.users.currentUser\n },\n currentSaveStateNotice () {\n return this.$store.state.interface.settings.currentSaveStateNotice\n },\n postFormats () {\n return this.$store.state.instance.postFormats || []\n },\n instanceSpecificPanelPresent () { return this.$store.state.instance.showInstanceSpecificPanel },\n frontendVersionLink () {\n return pleromaFeCommitUrl + this.frontendVersion\n },\n backendVersionLink () {\n return pleromaBeCommitUrl + extractCommit(this.backendVersion)\n }\n },\n watch: {\n hideAttachmentsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideAttachments', value })\n },\n hideAttachmentsInConvLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideAttachmentsInConv', value })\n },\n hidePostStatsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hidePostStats', value })\n },\n hideUserStatsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideUserStats', value })\n },\n hideFilteredStatusesLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideFilteredStatuses', value })\n },\n hideNsfwLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideNsfw', value })\n },\n useOneClickNsfw (value) {\n this.$store.dispatch('setOption', { name: 'useOneClickNsfw', value })\n },\n preloadImage (value) {\n this.$store.dispatch('setOption', { name: 'preloadImage', value })\n },\n hideISPLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideISP', value })\n },\n 'notificationVisibilityLocal.likes' (value) {\n this.$store.dispatch('setOption', { name: 'notificationVisibility', value: this.$store.state.config.notificationVisibility })\n },\n 'notificationVisibilityLocal.follows' (value) {\n this.$store.dispatch('setOption', { name: 'notificationVisibility', value: this.$store.state.config.notificationVisibility })\n },\n 'notificationVisibilityLocal.repeats' (value) {\n this.$store.dispatch('setOption', { name: 'notificationVisibility', value: this.$store.state.config.notificationVisibility })\n },\n 'notificationVisibilityLocal.mentions' (value) {\n this.$store.dispatch('setOption', { name: 'notificationVisibility', value: this.$store.state.config.notificationVisibility })\n },\n replyVisibilityLocal (value) {\n this.$store.dispatch('setOption', { name: 'replyVisibility', value })\n },\n loopVideoLocal (value) {\n this.$store.dispatch('setOption', { name: 'loopVideo', value })\n },\n loopVideoSilentOnlyLocal (value) {\n this.$store.dispatch('setOption', { name: 'loopVideoSilentOnly', value })\n },\n autoLoadLocal (value) {\n this.$store.dispatch('setOption', { name: 'autoLoad', value })\n },\n streamingLocal (value) {\n this.$store.dispatch('setOption', { name: 'streaming', value })\n },\n pauseOnUnfocusedLocal (value) {\n this.$store.dispatch('setOption', { name: 'pauseOnUnfocused', value })\n },\n hoverPreviewLocal (value) {\n this.$store.dispatch('setOption', { name: 'hoverPreview', value })\n },\n autohideFloatingPostButtonLocal (value) {\n this.$store.dispatch('setOption', { name: 'autohideFloatingPostButton', value })\n },\n muteWordsString (value) {\n value = filter(value.split('\\n'), (word) => trim(word).length > 0)\n this.$store.dispatch('setOption', { name: 'muteWords', value })\n },\n hideMutedPostsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideMutedPosts', value })\n },\n collapseMessageWithSubjectLocal (value) {\n this.$store.dispatch('setOption', { name: 'collapseMessageWithSubject', value })\n },\n scopeCopyLocal (value) {\n this.$store.dispatch('setOption', { name: 'scopeCopy', value })\n },\n alwaysShowSubjectInputLocal (value) {\n this.$store.dispatch('setOption', { name: 'alwaysShowSubjectInput', value })\n },\n subjectLineBehaviorLocal (value) {\n this.$store.dispatch('setOption', { name: 'subjectLineBehavior', value })\n },\n postContentTypeLocal (value) {\n this.$store.dispatch('setOption', { name: 'postContentType', value })\n },\n minimalScopesModeLocal (value) {\n this.$store.dispatch('setOption', { name: 'minimalScopesMode', value })\n },\n stopGifs (value) {\n this.$store.dispatch('setOption', { name: 'stopGifs', value })\n },\n webPushNotificationsLocal (value) {\n this.$store.dispatch('setOption', { name: 'webPushNotifications', value })\n if (value) this.$store.dispatch('registerPushNotifications')\n },\n playVideosInModal (value) {\n this.$store.dispatch('setOption', { name: 'playVideosInModal', value })\n },\n useContainFit (value) {\n this.$store.dispatch('setOption', { name: 'useContainFit', value })\n },\n maxThumbnails (value) {\n value = this.maxThumbnails = Math.floor(Math.max(value, 0))\n this.$store.dispatch('setOption', { name: 'maxThumbnails', value })\n }\n }\n}\n\nexport default settings\n","import { rgb2hex, hex2rgb, getContrastRatio, alphaBlend } from '../../services/color_convert/color_convert.js'\nimport { set, delete as del } from 'vue'\nimport { generateColors, generateShadows, generateRadii, generateFonts, composePreset, getThemes } from '../../services/style_setter/style_setter.js'\nimport ColorInput from '../color_input/color_input.vue'\nimport RangeInput from '../range_input/range_input.vue'\nimport OpacityInput from '../opacity_input/opacity_input.vue'\nimport ShadowControl from '../shadow_control/shadow_control.vue'\nimport FontControl from '../font_control/font_control.vue'\nimport ContrastRatio from '../contrast_ratio/contrast_ratio.vue'\nimport TabSwitcher from '../tab_switcher/tab_switcher.js'\nimport Preview from './preview.vue'\nimport ExportImport from '../export_import/export_import.vue'\n\n// List of color values used in v1\nconst v1OnlyNames = [\n 'bg',\n 'fg',\n 'text',\n 'link',\n 'cRed',\n 'cGreen',\n 'cBlue',\n 'cOrange'\n].map(_ => _ + 'ColorLocal')\n\nexport default {\n data () {\n return {\n availableStyles: [],\n selected: this.$store.state.config.theme,\n\n previewShadows: {},\n previewColors: {},\n previewRadii: {},\n previewFonts: {},\n\n shadowsInvalid: true,\n colorsInvalid: true,\n radiiInvalid: true,\n\n keepColor: false,\n keepShadows: false,\n keepOpacity: false,\n keepRoundness: false,\n keepFonts: false,\n\n textColorLocal: '',\n linkColorLocal: '',\n\n bgColorLocal: '',\n bgOpacityLocal: undefined,\n\n fgColorLocal: '',\n fgTextColorLocal: undefined,\n fgLinkColorLocal: undefined,\n\n btnColorLocal: undefined,\n btnTextColorLocal: undefined,\n btnOpacityLocal: undefined,\n\n inputColorLocal: undefined,\n inputTextColorLocal: undefined,\n inputOpacityLocal: undefined,\n\n panelColorLocal: undefined,\n panelTextColorLocal: undefined,\n panelLinkColorLocal: undefined,\n panelFaintColorLocal: undefined,\n panelOpacityLocal: undefined,\n\n topBarColorLocal: undefined,\n topBarTextColorLocal: undefined,\n topBarLinkColorLocal: undefined,\n\n alertErrorColorLocal: undefined,\n\n badgeOpacityLocal: undefined,\n badgeNotificationColorLocal: undefined,\n\n borderColorLocal: undefined,\n borderOpacityLocal: undefined,\n\n faintColorLocal: undefined,\n faintOpacityLocal: undefined,\n faintLinkColorLocal: undefined,\n\n cRedColorLocal: '',\n cBlueColorLocal: '',\n cGreenColorLocal: '',\n cOrangeColorLocal: '',\n\n shadowSelected: undefined,\n shadowsLocal: {},\n fontsLocal: {},\n\n btnRadiusLocal: '',\n inputRadiusLocal: '',\n checkboxRadiusLocal: '',\n panelRadiusLocal: '',\n avatarRadiusLocal: '',\n avatarAltRadiusLocal: '',\n attachmentRadiusLocal: '',\n tooltipRadiusLocal: ''\n }\n },\n created () {\n const self = this\n\n getThemes().then((themesComplete) => {\n self.availableStyles = themesComplete\n })\n },\n mounted () {\n this.normalizeLocalState(this.$store.state.config.customTheme)\n if (typeof this.shadowSelected === 'undefined') {\n this.shadowSelected = this.shadowsAvailable[0]\n }\n },\n computed: {\n selectedVersion () {\n return Array.isArray(this.selected) ? 1 : 2\n },\n currentColors () {\n return {\n bg: this.bgColorLocal,\n text: this.textColorLocal,\n link: this.linkColorLocal,\n\n fg: this.fgColorLocal,\n fgText: this.fgTextColorLocal,\n fgLink: this.fgLinkColorLocal,\n\n panel: this.panelColorLocal,\n panelText: this.panelTextColorLocal,\n panelLink: this.panelLinkColorLocal,\n panelFaint: this.panelFaintColorLocal,\n\n input: this.inputColorLocal,\n inputText: this.inputTextColorLocal,\n\n topBar: this.topBarColorLocal,\n topBarText: this.topBarTextColorLocal,\n topBarLink: this.topBarLinkColorLocal,\n\n btn: this.btnColorLocal,\n btnText: this.btnTextColorLocal,\n\n alertError: this.alertErrorColorLocal,\n badgeNotification: this.badgeNotificationColorLocal,\n\n faint: this.faintColorLocal,\n faintLink: this.faintLinkColorLocal,\n border: this.borderColorLocal,\n\n cRed: this.cRedColorLocal,\n cBlue: this.cBlueColorLocal,\n cGreen: this.cGreenColorLocal,\n cOrange: this.cOrangeColorLocal\n }\n },\n currentOpacity () {\n return {\n bg: this.bgOpacityLocal,\n btn: this.btnOpacityLocal,\n input: this.inputOpacityLocal,\n panel: this.panelOpacityLocal,\n topBar: this.topBarOpacityLocal,\n border: this.borderOpacityLocal,\n faint: this.faintOpacityLocal\n }\n },\n currentRadii () {\n return {\n btn: this.btnRadiusLocal,\n input: this.inputRadiusLocal,\n checkbox: this.checkboxRadiusLocal,\n panel: this.panelRadiusLocal,\n avatar: this.avatarRadiusLocal,\n avatarAlt: this.avatarAltRadiusLocal,\n tooltip: this.tooltipRadiusLocal,\n attachment: this.attachmentRadiusLocal\n }\n },\n preview () {\n return composePreset(this.previewColors, this.previewRadii, this.previewShadows, this.previewFonts)\n },\n previewTheme () {\n if (!this.preview.theme.colors) return { colors: {}, opacity: {}, radii: {}, shadows: {}, fonts: {} }\n return this.preview.theme\n },\n // This needs optimization maybe\n previewContrast () {\n if (!this.previewTheme.colors.bg) return {}\n const colors = this.previewTheme.colors\n const opacity = this.previewTheme.opacity\n if (!colors.bg) return {}\n const hints = (ratio) => ({\n text: ratio.toPrecision(3) + ':1',\n // AA level, AAA level\n aa: ratio >= 4.5,\n aaa: ratio >= 7,\n // same but for 18pt+ texts\n laa: ratio >= 3,\n laaa: ratio >= 4.5\n })\n\n // fgsfds :DDDD\n const fgs = {\n text: hex2rgb(colors.text),\n panelText: hex2rgb(colors.panelText),\n panelLink: hex2rgb(colors.panelLink),\n btnText: hex2rgb(colors.btnText),\n topBarText: hex2rgb(colors.topBarText),\n inputText: hex2rgb(colors.inputText),\n\n link: hex2rgb(colors.link),\n topBarLink: hex2rgb(colors.topBarLink),\n\n red: hex2rgb(colors.cRed),\n green: hex2rgb(colors.cGreen),\n blue: hex2rgb(colors.cBlue),\n orange: hex2rgb(colors.cOrange)\n }\n\n const bgs = {\n bg: hex2rgb(colors.bg),\n btn: hex2rgb(colors.btn),\n panel: hex2rgb(colors.panel),\n topBar: hex2rgb(colors.topBar),\n input: hex2rgb(colors.input),\n alertError: hex2rgb(colors.alertError),\n badgeNotification: hex2rgb(colors.badgeNotification)\n }\n\n /* This is a bit confusing because \"bottom layer\" used is text color\n * This is done to get worst case scenario when background below transparent\n * layer matches text color, making it harder to read the lower alpha is.\n */\n const ratios = {\n bgText: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.text), fgs.text),\n bgLink: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.link), fgs.link),\n bgRed: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.red), fgs.red),\n bgGreen: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.green), fgs.green),\n bgBlue: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.blue), fgs.blue),\n bgOrange: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.orange), fgs.orange),\n\n tintText: getContrastRatio(alphaBlend(bgs.bg, 0.5, fgs.panelText), fgs.text),\n\n panelText: getContrastRatio(alphaBlend(bgs.panel, opacity.panel, fgs.panelText), fgs.panelText),\n panelLink: getContrastRatio(alphaBlend(bgs.panel, opacity.panel, fgs.panelLink), fgs.panelLink),\n\n btnText: getContrastRatio(alphaBlend(bgs.btn, opacity.btn, fgs.btnText), fgs.btnText),\n\n inputText: getContrastRatio(alphaBlend(bgs.input, opacity.input, fgs.inputText), fgs.inputText),\n\n topBarText: getContrastRatio(alphaBlend(bgs.topBar, opacity.topBar, fgs.topBarText), fgs.topBarText),\n topBarLink: getContrastRatio(alphaBlend(bgs.topBar, opacity.topBar, fgs.topBarLink), fgs.topBarLink)\n }\n\n return Object.entries(ratios).reduce((acc, [k, v]) => { acc[k] = hints(v); return acc }, {})\n },\n previewRules () {\n if (!this.preview.rules) return ''\n return [\n ...Object.values(this.preview.rules),\n 'color: var(--text)',\n 'font-family: var(--interfaceFont, sans-serif)'\n ].join(';')\n },\n shadowsAvailable () {\n return Object.keys(this.previewTheme.shadows).sort()\n },\n currentShadowOverriden: {\n get () {\n return !!this.currentShadow\n },\n set (val) {\n if (val) {\n set(this.shadowsLocal, this.shadowSelected, this.currentShadowFallback.map(_ => Object.assign({}, _)))\n } else {\n del(this.shadowsLocal, this.shadowSelected)\n }\n }\n },\n currentShadowFallback () {\n return this.previewTheme.shadows[this.shadowSelected]\n },\n currentShadow: {\n get () {\n return this.shadowsLocal[this.shadowSelected]\n },\n set (v) {\n set(this.shadowsLocal, this.shadowSelected, v)\n }\n },\n themeValid () {\n return !this.shadowsInvalid && !this.colorsInvalid && !this.radiiInvalid\n },\n exportedTheme () {\n const saveEverything = (\n !this.keepFonts &&\n !this.keepShadows &&\n !this.keepOpacity &&\n !this.keepRoundness &&\n !this.keepColor\n )\n\n const theme = {}\n\n if (this.keepFonts || saveEverything) {\n theme.fonts = this.fontsLocal\n }\n if (this.keepShadows || saveEverything) {\n theme.shadows = this.shadowsLocal\n }\n if (this.keepOpacity || saveEverything) {\n theme.opacity = this.currentOpacity\n }\n if (this.keepColor || saveEverything) {\n theme.colors = this.currentColors\n }\n if (this.keepRoundness || saveEverything) {\n theme.radii = this.currentRadii\n }\n\n return {\n // To separate from other random JSON files and possible future theme formats\n _pleroma_theme_version: 2, theme\n }\n }\n },\n components: {\n ColorInput,\n OpacityInput,\n RangeInput,\n ContrastRatio,\n ShadowControl,\n FontControl,\n TabSwitcher,\n Preview,\n ExportImport\n },\n methods: {\n setCustomTheme () {\n this.$store.dispatch('setOption', {\n name: 'customTheme',\n value: {\n shadows: this.shadowsLocal,\n fonts: this.fontsLocal,\n opacity: this.currentOpacity,\n colors: this.currentColors,\n radii: this.currentRadii\n }\n })\n },\n onImport (parsed) {\n if (parsed._pleroma_theme_version === 1) {\n this.normalizeLocalState(parsed, 1)\n } else if (parsed._pleroma_theme_version === 2) {\n this.normalizeLocalState(parsed.theme, 2)\n }\n },\n importValidator (parsed) {\n const version = parsed._pleroma_theme_version\n return version >= 1 || version <= 2\n },\n clearAll () {\n const state = this.$store.state.config.customTheme\n const version = state.colors ? 2 : 'l1'\n this.normalizeLocalState(this.$store.state.config.customTheme, version)\n },\n\n // Clears all the extra stuff when loading V1 theme\n clearV1 () {\n Object.keys(this.$data)\n .filter(_ => _.endsWith('ColorLocal') || _.endsWith('OpacityLocal'))\n .filter(_ => !v1OnlyNames.includes(_))\n .forEach(key => {\n set(this.$data, key, undefined)\n })\n },\n\n clearRoundness () {\n Object.keys(this.$data)\n .filter(_ => _.endsWith('RadiusLocal'))\n .forEach(key => {\n set(this.$data, key, undefined)\n })\n },\n\n clearOpacity () {\n Object.keys(this.$data)\n .filter(_ => _.endsWith('OpacityLocal'))\n .forEach(key => {\n set(this.$data, key, undefined)\n })\n },\n\n clearShadows () {\n this.shadowsLocal = {}\n },\n\n clearFonts () {\n this.fontsLocal = {}\n },\n\n /**\n * This applies stored theme data onto form. Supports three versions of data:\n * v2 (version = 2) - newer version of themes.\n * v1 (version = 1) - older version of themes (import from file)\n * v1l (version = l1) - older version of theme (load from local storage)\n * v1 and v1l differ because of way themes were stored/exported.\n * @param {Object} input - input data\n * @param {Number} version - version of data. 0 means try to guess based on data. \"l1\" means v1, locastorage type\n */\n normalizeLocalState (input, version = 0) {\n const colors = input.colors || input\n const radii = input.radii || input\n const opacity = input.opacity\n const shadows = input.shadows || {}\n const fonts = input.fonts || {}\n\n if (version === 0) {\n if (input.version) version = input.version\n // Old v1 naming: fg is text, btn is foreground\n if (typeof colors.text === 'undefined' && typeof colors.fg !== 'undefined') {\n version = 1\n }\n // New v2 naming: text is text, fg is foreground\n if (typeof colors.text !== 'undefined' && typeof colors.fg !== 'undefined') {\n version = 2\n }\n }\n\n // Stuff that differs between V1 and V2\n if (version === 1) {\n this.fgColorLocal = rgb2hex(colors.btn)\n this.textColorLocal = rgb2hex(colors.fg)\n }\n\n if (!this.keepColor) {\n this.clearV1()\n const keys = new Set(version !== 1 ? Object.keys(colors) : [])\n if (version === 1 || version === 'l1') {\n keys\n .add('bg')\n .add('link')\n .add('cRed')\n .add('cBlue')\n .add('cGreen')\n .add('cOrange')\n }\n\n keys.forEach(key => {\n this[key + 'ColorLocal'] = rgb2hex(colors[key])\n })\n }\n\n if (!this.keepRoundness) {\n this.clearRoundness()\n Object.entries(radii).forEach(([k, v]) => {\n // 'Radius' is kept mostly for v1->v2 localstorage transition\n const key = k.endsWith('Radius') ? k.split('Radius')[0] : k\n this[key + 'RadiusLocal'] = v\n })\n }\n\n if (!this.keepShadows) {\n this.clearShadows()\n this.shadowsLocal = shadows\n this.shadowSelected = this.shadowsAvailable[0]\n }\n\n if (!this.keepFonts) {\n this.clearFonts()\n this.fontsLocal = fonts\n }\n\n if (opacity && !this.keepOpacity) {\n this.clearOpacity()\n Object.entries(opacity).forEach(([k, v]) => {\n if (typeof v === 'undefined' || v === null || Number.isNaN(v)) return\n this[k + 'OpacityLocal'] = v\n })\n }\n }\n },\n watch: {\n currentRadii () {\n try {\n this.previewRadii = generateRadii({ radii: this.currentRadii })\n this.radiiInvalid = false\n } catch (e) {\n this.radiiInvalid = true\n console.warn(e)\n }\n },\n shadowsLocal: {\n handler () {\n try {\n this.previewShadows = generateShadows({ shadows: this.shadowsLocal })\n this.shadowsInvalid = false\n } catch (e) {\n this.shadowsInvalid = true\n console.warn(e)\n }\n },\n deep: true\n },\n fontsLocal: {\n handler () {\n try {\n this.previewFonts = generateFonts({ fonts: this.fontsLocal })\n this.fontsInvalid = false\n } catch (e) {\n this.fontsInvalid = true\n console.warn(e)\n }\n },\n deep: true\n },\n currentColors () {\n try {\n this.previewColors = generateColors({\n opacity: this.currentOpacity,\n colors: this.currentColors\n })\n this.colorsInvalid = false\n } catch (e) {\n this.colorsInvalid = true\n console.warn(e)\n }\n },\n currentOpacity () {\n try {\n this.previewColors = generateColors({\n opacity: this.currentOpacity,\n colors: this.currentColors\n })\n } catch (e) {\n console.warn(e)\n }\n },\n selected () {\n if (this.selectedVersion === 1) {\n if (!this.keepRoundness) {\n this.clearRoundness()\n }\n\n if (!this.keepShadows) {\n this.clearShadows()\n }\n\n if (!this.keepOpacity) {\n this.clearOpacity()\n }\n\n if (!this.keepColor) {\n this.clearV1()\n\n this.bgColorLocal = this.selected[1]\n this.fgColorLocal = this.selected[2]\n this.textColorLocal = this.selected[3]\n this.linkColorLocal = this.selected[4]\n this.cRedColorLocal = this.selected[5]\n this.cGreenColorLocal = this.selected[6]\n this.cBlueColorLocal = this.selected[7]\n this.cOrangeColorLocal = this.selected[8]\n }\n } else if (this.selectedVersion >= 2) {\n this.normalizeLocalState(this.selected.theme, 2)\n }\n }\n }\n}\n","\n\n\n\n\n","\n\n\n","\n\n\n","import ColorInput from '../color_input/color_input.vue'\nimport OpacityInput from '../opacity_input/opacity_input.vue'\nimport { getCssShadow } from '../../services/style_setter/style_setter.js'\nimport { hex2rgb } from '../../services/color_convert/color_convert.js'\n\nexport default {\n // 'Value' and 'Fallback' can be undefined, but if they are\n // initially vue won't detect it when they become something else\n // therefore i'm using \"ready\" which should be passed as true when\n // data becomes available\n props: [\n 'value', 'fallback', 'ready'\n ],\n data () {\n return {\n selectedId: 0,\n // TODO there are some bugs regarding display of array (it's not getting updated when deleting for some reason)\n cValue: this.value || this.fallback || []\n }\n },\n components: {\n ColorInput,\n OpacityInput\n },\n methods: {\n add () {\n this.cValue.push(Object.assign({}, this.selected))\n this.selectedId = this.cValue.length - 1\n },\n del () {\n this.cValue.splice(this.selectedId, 1)\n this.selectedId = this.cValue.length === 0 ? undefined : this.selectedId - 1\n },\n moveUp () {\n const movable = this.cValue.splice(this.selectedId, 1)[0]\n this.cValue.splice(this.selectedId - 1, 0, movable)\n this.selectedId -= 1\n },\n moveDn () {\n const movable = this.cValue.splice(this.selectedId, 1)[0]\n this.cValue.splice(this.selectedId + 1, 0, movable)\n this.selectedId += 1\n }\n },\n beforeUpdate () {\n this.cValue = this.value || this.fallback\n },\n computed: {\n selected () {\n if (this.ready && this.cValue.length > 0) {\n return this.cValue[this.selectedId]\n } else {\n return {\n x: 0,\n y: 0,\n blur: 0,\n spread: 0,\n inset: false,\n color: '#000000',\n alpha: 1\n }\n }\n },\n moveUpValid () {\n return this.ready && this.selectedId > 0\n },\n moveDnValid () {\n return this.ready && this.selectedId < this.cValue.length - 1\n },\n present () {\n return this.ready &&\n typeof this.cValue[this.selectedId] !== 'undefined' &&\n !this.usingFallback\n },\n usingFallback () {\n return typeof this.value === 'undefined'\n },\n rgb () {\n return hex2rgb(this.selected.color)\n },\n style () {\n return this.ready ? {\n boxShadow: getCssShadow(this.cValue)\n } : {}\n }\n }\n}\n","import { set } from 'vue'\n\nexport default {\n props: [\n 'name', 'label', 'value', 'fallback', 'options', 'no-inherit'\n ],\n data () {\n return {\n lValue: this.value,\n availableOptions: [\n this.noInherit ? '' : 'inherit',\n 'custom',\n ...(this.options || []),\n 'serif',\n 'monospace',\n 'sans-serif'\n ].filter(_ => _)\n }\n },\n beforeUpdate () {\n this.lValue = this.value\n },\n computed: {\n present () {\n return typeof this.lValue !== 'undefined'\n },\n dValue () {\n return this.lValue || this.fallback || {}\n },\n family: {\n get () {\n return this.dValue.family\n },\n set (v) {\n set(this.lValue, 'family', v)\n this.$emit('input', this.lValue)\n }\n },\n isCustom () {\n return this.preset === 'custom'\n },\n preset: {\n get () {\n if (this.family === 'serif' ||\n this.family === 'sans-serif' ||\n this.family === 'monospace' ||\n this.family === 'inherit') {\n return this.family\n } else {\n return 'custom'\n }\n },\n set (v) {\n this.family = v === 'custom' ? '' : v\n }\n }\n }\n}\n","\n\n\n\n\n","\n\n\n\n\n","\n\n\n","import { validationMixin } from 'vuelidate'\nimport { required, sameAs } from 'vuelidate/lib/validators'\nimport { mapActions, mapState } from 'vuex'\n\nconst registration = {\n mixins: [validationMixin],\n data: () => ({\n user: {\n email: '',\n fullname: '',\n username: '',\n password: '',\n confirm: ''\n },\n captcha: {}\n }),\n validations: {\n user: {\n email: { required },\n username: { required },\n fullname: { required },\n password: { required },\n confirm: {\n required,\n sameAsPassword: sameAs('password')\n }\n }\n },\n created () {\n if ((!this.registrationOpen && !this.token) || this.signedIn) {\n this.$router.push({name: 'root'})\n }\n\n this.setCaptcha()\n },\n computed: {\n token () { return this.$route.params.token },\n bioPlaceholder () {\n return this.$t('registration.bio_placeholder').replace(/\\s*\\n\\s*/g, ' \\n')\n },\n ...mapState({\n registrationOpen: (state) => state.instance.registrationOpen,\n signedIn: (state) => !!state.users.currentUser,\n isPending: (state) => state.users.signUpPending,\n serverValidationErrors: (state) => state.users.signUpErrors,\n termsOfService: (state) => state.instance.tos\n })\n },\n methods: {\n ...mapActions(['signUp', 'getCaptcha']),\n async submit () {\n this.user.nickname = this.user.username\n this.user.token = this.token\n\n this.user.captcha_solution = this.captcha.solution\n this.user.captcha_token = this.captcha.token\n this.user.captcha_answer_data = this.captcha.answer_data\n\n this.$v.$touch()\n\n if (!this.$v.$invalid) {\n try {\n await this.signUp(this.user)\n this.$router.push({name: 'friends'})\n } catch (error) {\n console.warn('Registration failed: ' + error)\n }\n }\n },\n setCaptcha () {\n this.getCaptcha().then(cpt => { this.captcha = cpt })\n }\n }\n}\n\nexport default registration\n","import unescape from 'lodash/unescape'\nimport get from 'lodash/get'\nimport map from 'lodash/map'\nimport reject from 'lodash/reject'\nimport TabSwitcher from '../tab_switcher/tab_switcher.js'\nimport ImageCropper from '../image_cropper/image_cropper.vue'\nimport StyleSwitcher from '../style_switcher/style_switcher.vue'\nimport ScopeSelector from '../scope_selector/scope_selector.vue'\nimport fileSizeFormatService from '../../services/file_size_format/file_size_format.js'\nimport BlockCard from '../block_card/block_card.vue'\nimport MuteCard from '../mute_card/mute_card.vue'\nimport SelectableList from '../selectable_list/selectable_list.vue'\nimport ProgressButton from '../progress_button/progress_button.vue'\nimport EmojiInput from '../emoji-input/emoji-input.vue'\nimport suggestor from '../emoji-input/suggestor.js'\nimport Autosuggest from '../autosuggest/autosuggest.vue'\nimport Importer from '../importer/importer.vue'\nimport Exporter from '../exporter/exporter.vue'\nimport withSubscription from '../../hocs/with_subscription/with_subscription'\nimport userSearchApi from '../../services/new_api/user_search.js'\nimport Mfa from './mfa.vue'\n\nconst BlockList = withSubscription({\n fetch: (props, $store) => $store.dispatch('fetchBlocks'),\n select: (props, $store) => get($store.state.users.currentUser, 'blockIds', []),\n childPropName: 'items'\n})(SelectableList)\n\nconst MuteList = withSubscription({\n fetch: (props, $store) => $store.dispatch('fetchMutes'),\n select: (props, $store) => get($store.state.users.currentUser, 'muteIds', []),\n childPropName: 'items'\n})(SelectableList)\n\nconst UserSettings = {\n data () {\n return {\n newName: this.$store.state.users.currentUser.name,\n newBio: unescape(this.$store.state.users.currentUser.description),\n newLocked: this.$store.state.users.currentUser.locked,\n newNoRichText: this.$store.state.users.currentUser.no_rich_text,\n newDefaultScope: this.$store.state.users.currentUser.default_scope,\n hideFollows: this.$store.state.users.currentUser.hide_follows,\n hideFollowers: this.$store.state.users.currentUser.hide_followers,\n showRole: this.$store.state.users.currentUser.show_role,\n role: this.$store.state.users.currentUser.role,\n pickAvatarBtnVisible: true,\n bannerUploading: false,\n backgroundUploading: false,\n banner: null,\n bannerPreview: null,\n background: null,\n backgroundPreview: null,\n bannerUploadError: null,\n backgroundUploadError: null,\n deletingAccount: false,\n deleteAccountConfirmPasswordInput: '',\n deleteAccountError: false,\n changePasswordInputs: [ '', '', '' ],\n changedPassword: false,\n changePasswordError: false,\n activeTab: 'profile',\n notificationSettings: this.$store.state.users.currentUser.notification_settings\n }\n },\n created () {\n this.$store.dispatch('fetchTokens')\n },\n components: {\n StyleSwitcher,\n ScopeSelector,\n TabSwitcher,\n ImageCropper,\n BlockList,\n MuteList,\n EmojiInput,\n Autosuggest,\n BlockCard,\n MuteCard,\n ProgressButton,\n Importer,\n Exporter,\n Mfa\n },\n computed: {\n user () {\n return this.$store.state.users.currentUser\n },\n emojiUserSuggestor () {\n return suggestor({\n emoji: [\n ...this.$store.state.instance.emoji,\n ...this.$store.state.instance.customEmoji\n ],\n users: this.$store.state.users.users\n })\n },\n emojiSuggestor () {\n return suggestor({ emoji: [\n ...this.$store.state.instance.emoji,\n ...this.$store.state.instance.customEmoji\n ]})\n },\n pleromaBackend () {\n return this.$store.state.instance.pleromaBackend\n },\n minimalScopesMode () {\n return this.$store.state.instance.minimalScopesMode\n },\n vis () {\n return {\n public: { selected: this.newDefaultScope === 'public' },\n unlisted: { selected: this.newDefaultScope === 'unlisted' },\n private: { selected: this.newDefaultScope === 'private' },\n direct: { selected: this.newDefaultScope === 'direct' }\n }\n },\n currentSaveStateNotice () {\n return this.$store.state.interface.settings.currentSaveStateNotice\n },\n oauthTokens () {\n return this.$store.state.oauthTokens.tokens.map(oauthToken => {\n return {\n id: oauthToken.id,\n appName: oauthToken.app_name,\n validUntil: new Date(oauthToken.valid_until).toLocaleDateString()\n }\n })\n }\n },\n methods: {\n updateProfile () {\n this.$store.state.api.backendInteractor\n .updateProfile({\n params: {\n note: this.newBio,\n locked: this.newLocked,\n // Backend notation.\n /* eslint-disable camelcase */\n display_name: this.newName,\n default_scope: this.newDefaultScope,\n no_rich_text: this.newNoRichText,\n hide_follows: this.hideFollows,\n hide_followers: this.hideFollowers,\n show_role: this.showRole\n /* eslint-enable camelcase */\n }}).then((user) => {\n this.$store.commit('addNewUsers', [user])\n this.$store.commit('setCurrentUser', user)\n })\n },\n updateNotificationSettings () {\n this.$store.state.api.backendInteractor\n .updateNotificationSettings({ settings: this.notificationSettings })\n },\n changeVis (visibility) {\n this.newDefaultScope = visibility\n },\n uploadFile (slot, e) {\n const file = e.target.files[0]\n if (!file) { return }\n if (file.size > this.$store.state.instance[slot + 'limit']) {\n const filesize = fileSizeFormatService.fileSizeFormat(file.size)\n const allowedsize = fileSizeFormatService.fileSizeFormat(this.$store.state.instance[slot + 'limit'])\n this[slot + 'UploadError'] = this.$t('upload.error.base') + ' ' + this.$t('upload.error.file_too_big', {filesize: filesize.num, filesizeunit: filesize.unit, allowedsize: allowedsize.num, allowedsizeunit: allowedsize.unit})\n return\n }\n // eslint-disable-next-line no-undef\n const reader = new FileReader()\n reader.onload = ({target}) => {\n const img = target.result\n this[slot + 'Preview'] = img\n this[slot] = file\n }\n reader.readAsDataURL(file)\n },\n submitAvatar (cropper, file) {\n const that = this\n return new Promise((resolve, reject) => {\n function updateAvatar (avatar) {\n that.$store.state.api.backendInteractor.updateAvatar({ avatar })\n .then((user) => {\n that.$store.commit('addNewUsers', [user])\n that.$store.commit('setCurrentUser', user)\n resolve()\n })\n .catch((err) => {\n reject(new Error(that.$t('upload.error.base') + ' ' + err.message))\n })\n }\n\n if (cropper) {\n cropper.getCroppedCanvas().toBlob(updateAvatar, file.type)\n } else {\n updateAvatar(file)\n }\n })\n },\n clearUploadError (slot) {\n this[slot + 'UploadError'] = null\n },\n submitBanner () {\n if (!this.bannerPreview) { return }\n\n this.bannerUploading = true\n this.$store.state.api.backendInteractor.updateBanner({banner: this.banner})\n .then((user) => {\n this.$store.commit('addNewUsers', [user])\n this.$store.commit('setCurrentUser', user)\n this.bannerPreview = null\n })\n .catch((err) => {\n this.bannerUploadError = this.$t('upload.error.base') + ' ' + err.message\n })\n .then(() => { this.bannerUploading = false })\n },\n submitBg () {\n if (!this.backgroundPreview) { return }\n let background = this.background\n this.backgroundUploading = true\n this.$store.state.api.backendInteractor.updateBg({ background }).then((data) => {\n if (!data.error) {\n this.$store.commit('addNewUsers', [data])\n this.$store.commit('setCurrentUser', data)\n this.backgroundPreview = null\n } else {\n this.backgroundUploadError = this.$t('upload.error.base') + data.error\n }\n this.backgroundUploading = false\n })\n },\n importFollows (file) {\n return this.$store.state.api.backendInteractor.importFollows(file)\n .then((status) => {\n if (!status) {\n throw new Error('failed')\n }\n })\n },\n importBlocks (file) {\n return this.$store.state.api.backendInteractor.importBlocks(file)\n .then((status) => {\n if (!status) {\n throw new Error('failed')\n }\n })\n },\n generateExportableUsersContent (users) {\n // Get addresses\n return users.map((user) => {\n // check is it's a local user\n if (user && user.is_local) {\n // append the instance address\n // eslint-disable-next-line no-undef\n return user.screen_name + '@' + location.hostname\n }\n return user.screen_name\n }).join('\\n')\n },\n getFollowsContent () {\n return this.$store.state.api.backendInteractor.exportFriends({ id: this.$store.state.users.currentUser.id })\n .then(this.generateExportableUsersContent)\n },\n getBlocksContent () {\n return this.$store.state.api.backendInteractor.fetchBlocks()\n .then(this.generateExportableUsersContent)\n },\n confirmDelete () {\n this.deletingAccount = true\n },\n deleteAccount () {\n this.$store.state.api.backendInteractor.deleteAccount({password: this.deleteAccountConfirmPasswordInput})\n .then((res) => {\n if (res.status === 'success') {\n this.$store.dispatch('logout')\n this.$router.push({name: 'root'})\n } else {\n this.deleteAccountError = res.error\n }\n })\n },\n changePassword () {\n const params = {\n password: this.changePasswordInputs[0],\n newPassword: this.changePasswordInputs[1],\n newPasswordConfirmation: this.changePasswordInputs[2]\n }\n this.$store.state.api.backendInteractor.changePassword(params)\n .then((res) => {\n if (res.status === 'success') {\n this.changedPassword = true\n this.changePasswordError = false\n this.logout()\n } else {\n this.changedPassword = false\n this.changePasswordError = res.error\n }\n })\n },\n activateTab (tabName) {\n this.activeTab = tabName\n },\n logout () {\n this.$store.dispatch('logout')\n this.$router.replace('/')\n },\n revokeToken (id) {\n if (window.confirm(`${this.$i18n.t('settings.revoke_token')}?`)) {\n this.$store.dispatch('revokeToken', id)\n }\n },\n filterUnblockedUsers (userIds) {\n return reject(userIds, (userId) => {\n const user = this.$store.getters.findUser(userId)\n return !user || user.statusnet_blocking || user.id === this.$store.state.users.currentUser.id\n })\n },\n filterUnMutedUsers (userIds) {\n return reject(userIds, (userId) => {\n const user = this.$store.getters.findUser(userId)\n return !user || user.muted || user.id === this.$store.state.users.currentUser.id\n })\n },\n queryUserIds (query) {\n return userSearchApi.search({query, store: this.$store})\n .then((users) => {\n this.$store.dispatch('addNewUsers', users)\n return map(users, 'id')\n })\n },\n blockUsers (ids) {\n return this.$store.dispatch('blockUsers', ids)\n },\n unblockUsers (ids) {\n return this.$store.dispatch('unblockUsers', ids)\n },\n muteUsers (ids) {\n return this.$store.dispatch('muteUsers', ids)\n },\n unmuteUsers (ids) {\n return this.$store.dispatch('unmuteUsers', ids)\n },\n identity (value) {\n return value\n }\n }\n}\n\nexport default UserSettings\n","import Cropper from 'cropperjs'\nimport 'cropperjs/dist/cropper.css'\n\nconst ImageCropper = {\n props: {\n trigger: {\n type: [String, window.Element],\n required: true\n },\n submitHandler: {\n type: Function,\n required: true\n },\n cropperOptions: {\n type: Object,\n default () {\n return {\n aspectRatio: 1,\n autoCropArea: 1,\n viewMode: 1,\n movable: false,\n zoomable: false,\n guides: false\n }\n }\n },\n mimes: {\n type: String,\n default: 'image/png, image/gif, image/jpeg, image/bmp, image/x-icon'\n },\n saveButtonLabel: {\n type: String\n },\n saveWithoutCroppingButtonlabel: {\n type: String\n },\n cancelButtonLabel: {\n type: String\n }\n },\n data () {\n return {\n cropper: undefined,\n dataUrl: undefined,\n filename: undefined,\n submitting: false,\n submitError: null\n }\n },\n computed: {\n saveText () {\n return this.saveButtonLabel || this.$t('image_cropper.save')\n },\n saveWithoutCroppingText () {\n return this.saveWithoutCroppingButtonlabel || this.$t('image_cropper.save_without_cropping')\n },\n cancelText () {\n return this.cancelButtonLabel || this.$t('image_cropper.cancel')\n },\n submitErrorMsg () {\n return this.submitError && this.submitError instanceof Error ? this.submitError.toString() : this.submitError\n }\n },\n methods: {\n destroy () {\n if (this.cropper) {\n this.cropper.destroy()\n }\n this.$refs.input.value = ''\n this.dataUrl = undefined\n this.$emit('close')\n },\n submit (cropping = true) {\n this.submitting = true\n this.avatarUploadError = null\n this.submitHandler(cropping && this.cropper, this.file)\n .then(() => this.destroy())\n .catch((err) => {\n this.submitError = err\n })\n .finally(() => {\n this.submitting = false\n })\n },\n pickImage () {\n this.$refs.input.click()\n },\n createCropper () {\n this.cropper = new Cropper(this.$refs.img, this.cropperOptions)\n },\n getTriggerDOM () {\n return typeof this.trigger === 'object' ? this.trigger : document.querySelector(this.trigger)\n },\n readFile () {\n const fileInput = this.$refs.input\n if (fileInput.files != null && fileInput.files[0] != null) {\n this.file = fileInput.files[0]\n let reader = new window.FileReader()\n reader.onload = (e) => {\n this.dataUrl = e.target.result\n this.$emit('open')\n }\n reader.readAsDataURL(this.file)\n this.$emit('changed', this.file, reader)\n }\n },\n clearError () {\n this.submitError = null\n }\n },\n mounted () {\n // listen for click event on trigger\n const trigger = this.getTriggerDOM()\n if (!trigger) {\n this.$emit('error', 'No image make trigger found.', 'user')\n } else {\n trigger.addEventListener('click', this.pickImage)\n }\n // listen for input file changes\n const fileInput = this.$refs.input\n fileInput.addEventListener('change', this.readFile)\n },\n beforeDestroy: function () {\n // remove the event listeners\n const trigger = this.getTriggerDOM()\n if (trigger) {\n trigger.removeEventListener('click', this.pickImage)\n }\n const fileInput = this.$refs.input\n fileInput.removeEventListener('change', this.readFile)\n }\n}\n\nexport default ImageCropper\n","import BasicUserCard from '../basic_user_card/basic_user_card.vue'\n\nconst BlockCard = {\n props: ['userId'],\n data () {\n return {\n progress: false\n }\n },\n computed: {\n user () {\n return this.$store.getters.findUser(this.userId)\n },\n blocked () {\n return this.user.statusnet_blocking\n }\n },\n components: {\n BasicUserCard\n },\n methods: {\n unblockUser () {\n this.progress = true\n this.$store.dispatch('unblockUser', this.user.id).then(() => {\n this.progress = false\n })\n },\n blockUser () {\n this.progress = true\n this.$store.dispatch('blockUser', this.user.id).then(() => {\n this.progress = false\n })\n }\n }\n}\n\nexport default BlockCard\n","import BasicUserCard from '../basic_user_card/basic_user_card.vue'\n\nconst MuteCard = {\n props: ['userId'],\n data () {\n return {\n progress: false\n }\n },\n computed: {\n user () {\n return this.$store.getters.findUser(this.userId)\n },\n muted () {\n return this.user.muted\n }\n },\n components: {\n BasicUserCard\n },\n methods: {\n unmuteUser () {\n this.progress = true\n this.$store.dispatch('unmuteUser', this.user.id).then(() => {\n this.progress = false\n })\n },\n muteUser () {\n this.progress = true\n this.$store.dispatch('muteUser', this.user.id).then(() => {\n this.progress = false\n })\n }\n }\n}\n\nexport default MuteCard\n","import List from '../list/list.vue'\nimport Checkbox from '../checkbox/checkbox.vue'\n\nconst SelectableList = {\n components: {\n List,\n Checkbox\n },\n props: {\n items: {\n type: Array,\n default: () => []\n },\n getKey: {\n type: Function,\n default: item => item.id\n }\n },\n data () {\n return {\n selected: []\n }\n },\n computed: {\n allKeys () {\n return this.items.map(this.getKey)\n },\n filteredSelected () {\n return this.allKeys.filter(key => this.selected.indexOf(key) !== -1)\n },\n allSelected () {\n return this.filteredSelected.length === this.items.length\n },\n noneSelected () {\n return this.filteredSelected.length === 0\n },\n someSelected () {\n return !this.allSelected && !this.noneSelected\n }\n },\n methods: {\n isSelected (item) {\n return this.filteredSelected.indexOf(this.getKey(item)) !== -1\n },\n toggle (checked, item) {\n const key = this.getKey(item)\n const oldChecked = this.isSelected(key)\n if (checked !== oldChecked) {\n if (checked) {\n this.selected.push(key)\n } else {\n this.selected.splice(this.selected.indexOf(key), 1)\n }\n }\n },\n toggleAll (value) {\n if (value) {\n this.selected = this.allKeys.slice(0)\n } else {\n this.selected = []\n }\n }\n }\n}\n\nexport default SelectableList\n","\n\n\n\n\n","\n\n\n","const debounceMilliseconds = 500\n\nexport default {\n props: {\n query: { // function to query results and return a promise\n type: Function,\n required: true\n },\n filter: { // function to filter results in real time\n type: Function\n },\n placeholder: {\n type: String,\n default: 'Search...'\n }\n },\n data () {\n return {\n term: '',\n timeout: null,\n results: [],\n resultsVisible: false\n }\n },\n computed: {\n filtered () {\n return this.filter ? this.filter(this.results) : this.results\n }\n },\n watch: {\n term (val) {\n this.fetchResults(val)\n }\n },\n methods: {\n fetchResults (term) {\n clearTimeout(this.timeout)\n this.timeout = setTimeout(() => {\n this.results = []\n if (term) {\n this.query(term).then((results) => { this.results = results })\n }\n }, debounceMilliseconds)\n },\n onInputClick () {\n this.resultsVisible = true\n },\n onClickOutside () {\n this.resultsVisible = false\n }\n }\n}\n","const Importer = {\n props: {\n submitHandler: {\n type: Function,\n required: true\n },\n submitButtonLabel: {\n type: String,\n default () {\n return this.$t('importer.submit')\n }\n },\n successMessage: {\n type: String,\n default () {\n return this.$t('importer.success')\n }\n },\n errorMessage: {\n type: String,\n default () {\n return this.$t('importer.error')\n }\n }\n },\n data () {\n return {\n file: null,\n error: false,\n success: false,\n submitting: false\n }\n },\n methods: {\n change () {\n this.file = this.$refs.input.files[0]\n },\n submit () {\n this.dismiss()\n this.submitting = true\n this.submitHandler(this.file)\n .then(() => { this.success = true })\n .catch(() => { this.error = true })\n .finally(() => { this.submitting = false })\n },\n dismiss () {\n this.success = false\n this.error = false\n }\n }\n}\n\nexport default Importer\n","const Exporter = {\n props: {\n getContent: {\n type: Function,\n required: true\n },\n filename: {\n type: String,\n default: 'export.csv'\n },\n exportButtonLabel: {\n type: String,\n default () {\n return this.$t('exporter.export')\n }\n },\n processingMessage: {\n type: String,\n default () {\n return this.$t('exporter.processing')\n }\n }\n },\n data () {\n return {\n processing: false\n }\n },\n methods: {\n process () {\n this.processing = true\n this.getContent()\n .then((content) => {\n const fileToDownload = document.createElement('a')\n fileToDownload.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(content))\n fileToDownload.setAttribute('download', this.filename)\n fileToDownload.style.display = 'none'\n document.body.appendChild(fileToDownload)\n fileToDownload.click()\n document.body.removeChild(fileToDownload)\n // Add delay before hiding processing state since browser takes some time to handle file download\n setTimeout(() => { this.processing = false }, 2000)\n })\n }\n }\n}\n\nexport default Exporter\n","import RecoveryCodes from './mfa_backup_codes.vue'\nimport TOTP from './mfa_totp.vue'\nimport Confirm from './confirm.vue'\nimport VueQrcode from '@chenfengyuan/vue-qrcode'\nimport { mapState } from 'vuex'\n\nconst Mfa = {\n data: () => ({\n settings: { // current settings of MFA\n available: false,\n enabled: false,\n totp: false\n },\n setupState: { // setup mfa\n state: '', // state of setup. '' -> 'getBackupCodes' -> 'setupOTP' -> 'complete'\n setupOTPState: '' // state of setup otp. '' -> 'prepare' -> 'confirm' -> 'complete'\n },\n backupCodes: {\n getNewCodes: false,\n inProgress: false, // progress of fetch codes\n codes: []\n },\n otpSettings: { // pre-setup setting of OTP. secret key, qrcode url.\n provisioning_uri: '',\n key: ''\n },\n currentPassword: null,\n otpConfirmToken: null,\n error: null,\n readyInit: false\n }),\n components: {\n 'recovery-codes': RecoveryCodes,\n 'totp-item': TOTP,\n 'qrcode': VueQrcode,\n 'confirm': Confirm\n },\n computed: {\n canSetupOTP () {\n return (\n (this.setupInProgress && this.backupCodesPrepared) ||\n this.settings.enabled\n ) && !this.settings.totp && !this.setupOTPInProgress\n },\n setupInProgress () {\n return this.setupState.state !== '' && this.setupState.state !== 'complete'\n },\n setupOTPInProgress () {\n return this.setupState.state === 'setupOTP' && !this.completedOTP\n },\n prepareOTP () {\n return this.setupState.setupOTPState === 'prepare'\n },\n confirmOTP () {\n return this.setupState.setupOTPState === 'confirm'\n },\n completedOTP () {\n return this.setupState.setupOTPState === 'completed'\n },\n backupCodesPrepared () {\n return !this.backupCodes.inProgress && this.backupCodes.codes.length > 0\n },\n confirmNewBackupCodes () {\n return this.backupCodes.getNewCodes\n },\n ...mapState({\n backendInteractor: (state) => state.api.backendInteractor\n })\n },\n\n methods: {\n activateOTP () {\n if (!this.settings.enabled) {\n this.setupState.state = 'getBackupcodes'\n this.fetchBackupCodes()\n }\n },\n fetchBackupCodes () {\n this.backupCodes.inProgress = true\n this.backupCodes.codes = []\n\n return this.backendInteractor.generateMfaBackupCodes()\n .then((res) => {\n this.backupCodes.codes = res.codes\n this.backupCodes.inProgress = false\n })\n },\n getBackupCodes () { // get a new backup codes\n this.backupCodes.getNewCodes = true\n },\n confirmBackupCodes () { // confirm getting new backup codes\n this.fetchBackupCodes().then((res) => {\n this.backupCodes.getNewCodes = false\n })\n },\n cancelBackupCodes () { // cancel confirm form of new backup codes\n this.backupCodes.getNewCodes = false\n },\n\n // Setup OTP\n setupOTP () { // prepare setup OTP\n this.setupState.state = 'setupOTP'\n this.setupState.setupOTPState = 'prepare'\n this.backendInteractor.mfaSetupOTP()\n .then((res) => {\n this.otpSettings = res\n this.setupState.setupOTPState = 'confirm'\n })\n },\n doConfirmOTP () { // handler confirm enable OTP\n this.error = null\n this.backendInteractor.mfaConfirmOTP({\n token: this.otpConfirmToken,\n password: this.currentPassword\n })\n .then((res) => {\n if (res.error) {\n this.error = res.error\n return\n }\n this.completeSetup()\n })\n },\n\n completeSetup () {\n this.setupState.setupOTPState = 'complete'\n this.setupState.state = 'complete'\n this.currentPassword = null\n this.error = null\n this.fetchSettings()\n },\n cancelSetup () { // cancel setup\n this.setupState.setupOTPState = ''\n this.setupState.state = ''\n this.currentPassword = null\n this.error = null\n },\n // end Setup OTP\n\n // fetch settings from server\n async fetchSettings () {\n let result = await this.backendInteractor.fetchSettingsMFA()\n if (result.error) return\n this.settings = result.settings\n this.settings.available = true\n return result\n }\n },\n mounted () {\n this.fetchSettings().then(() => {\n this.readyInit = true\n })\n }\n}\nexport default Mfa\n","export default {\n props: {\n backupCodes: {\n type: Object,\n default: () => ({\n inProgress: false,\n codes: []\n })\n }\n },\n data: () => ({}),\n computed: {\n inProgress () { return this.backupCodes.inProgress },\n ready () { return this.backupCodes.codes.length > 0 },\n displayTitle () { return this.inProgress || this.ready }\n }\n}\n","import Confirm from './confirm.vue'\nimport { mapState } from 'vuex'\n\nexport default {\n props: ['settings'],\n data: () => ({\n error: false,\n currentPassword: '',\n deactivate: false,\n inProgress: false // progress peform request to disable otp method\n }),\n components: {\n 'confirm': Confirm\n },\n computed: {\n isActivated () {\n return this.settings.totp\n },\n ...mapState({\n backendInteractor: (state) => state.api.backendInteractor\n })\n },\n methods: {\n doActivate () {\n this.$emit('activate')\n },\n cancelDeactivate () { this.deactivate = false },\n doDeactivate () {\n this.error = null\n this.deactivate = true\n },\n confirmDeactivate () { // confirm deactivate TOTP method\n this.error = null\n this.inProgress = true\n this.backendInteractor.mfaDisableOTP({\n password: this.currentPassword\n })\n .then((res) => {\n this.inProgress = false\n if (res.error) {\n this.error = res.error\n return\n }\n this.deactivate = false\n this.$emit('deactivate')\n })\n }\n }\n}\n","const Confirm = {\n props: ['disabled'],\n data: () => ({}),\n methods: {\n confirm () { this.$emit('confirm') },\n cancel () { this.$emit('cancel') }\n }\n}\nexport default Confirm\n","import FollowRequestCard from '../follow_request_card/follow_request_card.vue'\n\nconst FollowRequests = {\n components: {\n FollowRequestCard\n },\n computed: {\n requests () {\n return this.$store.state.api.followRequests\n }\n }\n}\n\nexport default FollowRequests\n","import BasicUserCard from '../basic_user_card/basic_user_card.vue'\n\nconst FollowRequestCard = {\n props: ['user'],\n components: {\n BasicUserCard\n },\n methods: {\n approveUser () {\n this.$store.state.api.backendInteractor.approveUser(this.user.id)\n this.$store.dispatch('removeFollowRequest', this.user)\n },\n denyUser () {\n this.$store.state.api.backendInteractor.denyUser(this.user.id)\n this.$store.dispatch('removeFollowRequest', this.user)\n }\n }\n}\n\nexport default FollowRequestCard\n","import oauth from '../../services/new_api/oauth.js'\n\nconst oac = {\n props: ['code'],\n mounted () {\n if (this.code) {\n const { clientId } = this.$store.state.oauth\n\n oauth.getToken({\n clientId,\n instance: this.$store.state.instance.server,\n code: this.code\n }).then((result) => {\n this.$store.commit('setToken', result.access_token)\n this.$store.dispatch('loginUser', result.access_token)\n this.$router.push({ name: 'friends' })\n })\n }\n }\n}\n\nexport default oac\n","import FollowCard from '../follow_card/follow_card.vue'\nimport map from 'lodash/map'\n\nconst userSearch = {\n components: {\n FollowCard\n },\n props: [\n 'query'\n ],\n data () {\n return {\n username: '',\n userIds: [],\n loading: false\n }\n },\n computed: {\n users () {\n return this.userIds.map(userId => this.$store.getters.findUser(userId))\n }\n },\n mounted () {\n this.search(this.query)\n },\n watch: {\n query (newV) {\n this.search(newV)\n }\n },\n methods: {\n newQuery (query) {\n this.$router.push({ name: 'user-search', query: { query } })\n this.$refs.userSearchInput.focus()\n },\n search (query) {\n if (!query) {\n this.users = []\n return\n }\n this.loading = true\n this.$store.dispatch('searchUsers', query)\n .then((res) => {\n this.loading = false\n this.userIds = map(res, 'id')\n })\n }\n }\n}\n\nexport default userSearch\n","import { mapState, mapGetters, mapActions, mapMutations } from 'vuex'\nimport oauthApi from '../../services/new_api/oauth.js'\n\nconst LoginForm = {\n data: () => ({\n user: {},\n error: false\n }),\n computed: {\n isPasswordAuth () { return this.requiredPassword },\n isTokenAuth () { return this.requiredToken },\n ...mapState({\n registrationOpen: state => state.instance.registrationOpen,\n instance: state => state.instance,\n loggingIn: state => state.users.loggingIn,\n oauth: state => state.oauth\n }),\n ...mapGetters(\n 'authFlow', ['requiredPassword', 'requiredToken', 'requiredMFA']\n )\n },\n methods: {\n ...mapMutations('authFlow', ['requireMFA']),\n ...mapActions({ login: 'authFlow/login' }),\n submit () {\n this.isTokenAuth ? this.submitToken() : this.submitPassword()\n },\n submitToken () {\n const { clientId } = this.oauth\n const data = {\n clientId,\n instance: this.instance.server,\n commit: this.$store.commit\n }\n\n oauthApi.getOrCreateApp(data)\n .then((app) => { oauthApi.login({ ...app, ...data }) })\n },\n submitPassword () {\n const { clientId } = this.oauth\n const data = {\n clientId,\n oauth: this.oauth,\n instance: this.instance.server,\n commit: this.$store.commit\n }\n this.error = false\n\n oauthApi.getOrCreateApp(data).then((app) => {\n oauthApi.getTokenWithCredentials(\n {\n ...app,\n instance: data.instance,\n username: this.user.username,\n password: this.user.password\n }\n ).then((result) => {\n if (result.error) {\n if (result.error === 'mfa_required') {\n this.requireMFA({app: app, settings: result})\n } else {\n this.error = result.error\n this.focusOnPasswordInput()\n }\n return\n }\n this.login(result).then(() => {\n this.$router.push({name: 'friends'})\n })\n })\n })\n },\n clearError () { this.error = false },\n focusOnPasswordInput () {\n let passwordInput = this.$refs.passwordInput\n passwordInput.focus()\n passwordInput.setSelectionRange(0, passwordInput.value.length)\n }\n }\n}\n\nexport default LoginForm\n","import mfaApi from '../../services/new_api/mfa.js'\nimport { mapState, mapGetters, mapActions, mapMutations } from 'vuex'\n\nexport default {\n data: () => ({\n code: null,\n error: false\n }),\n computed: {\n ...mapGetters({\n authApp: 'authFlow/app',\n authSettings: 'authFlow/settings'\n }),\n ...mapState({ instance: 'instance' })\n },\n methods: {\n ...mapMutations('authFlow', ['requireTOTP', 'abortMFA']),\n ...mapActions({ login: 'authFlow/login' }),\n clearError () { this.error = false },\n submit () {\n const data = {\n app: this.authApp,\n instance: this.instance.server,\n mfaToken: this.authSettings.mfa_token,\n code: this.code\n }\n\n mfaApi.verifyRecoveryCode(data).then((result) => {\n if (result.error) {\n this.error = result.error\n this.code = null\n return\n }\n\n this.login(result).then(() => {\n this.$router.push({name: 'friends'})\n })\n })\n }\n }\n}\n","import mfaApi from '../../services/new_api/mfa.js'\nimport { mapState, mapGetters, mapActions, mapMutations } from 'vuex'\nexport default {\n data: () => ({\n code: null,\n error: false\n }),\n computed: {\n ...mapGetters({\n authApp: 'authFlow/app',\n authSettings: 'authFlow/settings'\n }),\n ...mapState({ instance: 'instance' })\n },\n methods: {\n ...mapMutations('authFlow', ['requireRecovery', 'abortMFA']),\n ...mapActions({ login: 'authFlow/login' }),\n clearError () { this.error = false },\n submit () {\n const data = {\n app: this.authApp,\n instance: this.instance.server,\n mfaToken: this.authSettings.mfa_token,\n code: this.code\n }\n\n mfaApi.verifyOTPCode(data).then((result) => {\n if (result.error) {\n this.error = result.error\n this.code = null\n return\n }\n\n this.login(result).then(() => {\n this.$router.push({name: 'friends'})\n })\n })\n }\n }\n}\n","import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'\n\nconst chatPanel = {\n props: [ 'floating' ],\n data () {\n return {\n currentMessage: '',\n channel: null,\n collapsed: true\n }\n },\n computed: {\n messages () {\n return this.$store.state.chat.messages\n }\n },\n methods: {\n submit (message) {\n this.$store.state.chat.channel.push('new_msg', {text: message}, 10000)\n this.currentMessage = ''\n },\n togglePanel () {\n this.collapsed = !this.collapsed\n },\n userProfileLink (user) {\n return generateProfileLink(user.id, user.username, this.$store.state.instance.restrictedNicknames)\n }\n }\n}\n\nexport default chatPanel\n","import apiService from '../../services/api/api.service.js'\nimport FollowCard from '../follow_card/follow_card.vue'\n\nconst WhoToFollow = {\n components: {\n FollowCard\n },\n data () {\n return {\n users: []\n }\n },\n mounted () {\n this.getWhoToFollow()\n },\n methods: {\n showWhoToFollow (reply) {\n reply.forEach((i, index) => {\n const user = {\n id: 0,\n name: i.display_name,\n screen_name: i.acct,\n profile_image_url: i.avatar || '/images/avi.png',\n profile_image_url_original: i.avatar || '/images/avi.png'\n }\n this.users.push(user)\n\n this.$store.state.api.backendInteractor.externalProfile(user.screen_name)\n .then((externalUser) => {\n if (!externalUser.error) {\n this.$store.commit('addNewUsers', [externalUser])\n user.id = externalUser.id\n }\n })\n })\n },\n getWhoToFollow () {\n const credentials = this.$store.state.users.currentUser.credentials\n if (credentials) {\n apiService.suggestions({credentials: credentials})\n .then((reply) => {\n this.showWhoToFollow(reply)\n })\n }\n }\n }\n}\n\nexport default WhoToFollow\n","import InstanceSpecificPanel from '../instance_specific_panel/instance_specific_panel.vue'\nimport FeaturesPanel from '../features_panel/features_panel.vue'\nimport TermsOfServicePanel from '../terms_of_service_panel/terms_of_service_panel.vue'\n\nconst About = {\n components: {\n InstanceSpecificPanel,\n FeaturesPanel,\n TermsOfServicePanel\n },\n computed: {\n showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel }\n }\n}\n\nexport default About\n","const InstanceSpecificPanel = {\n computed: {\n instanceSpecificPanelContent () {\n return this.$store.state.instance.instanceSpecificPanelContent\n },\n show () {\n return !this.$store.state.config.hideISP\n }\n }\n}\n\nexport default InstanceSpecificPanel\n","const FeaturesPanel = {\n computed: {\n chat: function () {\n return this.$store.state.instance.chatAvailable && (!this.$store.state.chatDisabled)\n },\n gopher: function () { return this.$store.state.instance.gopherAvailable },\n whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },\n mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },\n minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },\n textlimit: function () { return this.$store.state.instance.textlimit }\n }\n}\n\nexport default FeaturesPanel\n","const TermsOfServicePanel = {\n computed: {\n content () {\n return this.$store.state.instance.tos\n }\n }\n}\n\nexport default TermsOfServicePanel\n","import UserPanel from './components/user_panel/user_panel.vue'\nimport NavPanel from './components/nav_panel/nav_panel.vue'\nimport Notifications from './components/notifications/notifications.vue'\nimport UserFinder from './components/user_finder/user_finder.vue'\nimport InstanceSpecificPanel from './components/instance_specific_panel/instance_specific_panel.vue'\nimport FeaturesPanel from './components/features_panel/features_panel.vue'\nimport WhoToFollowPanel from './components/who_to_follow_panel/who_to_follow_panel.vue'\nimport ChatPanel from './components/chat_panel/chat_panel.vue'\nimport MediaModal from './components/media_modal/media_modal.vue'\nimport SideDrawer from './components/side_drawer/side_drawer.vue'\nimport MobilePostStatusModal from './components/mobile_post_status_modal/mobile_post_status_modal.vue'\nimport MobileNav from './components/mobile_nav/mobile_nav.vue'\nimport UserReportingModal from './components/user_reporting_modal/user_reporting_modal.vue'\nimport { windowWidth } from './services/window_utils/window_utils'\n\nexport default {\n name: 'app',\n components: {\n UserPanel,\n NavPanel,\n Notifications,\n UserFinder,\n InstanceSpecificPanel,\n FeaturesPanel,\n WhoToFollowPanel,\n ChatPanel,\n MediaModal,\n SideDrawer,\n MobilePostStatusModal,\n MobileNav,\n UserReportingModal\n },\n data: () => ({\n mobileActivePanel: 'timeline',\n finderHidden: true,\n supportsMask: window.CSS && window.CSS.supports && (\n window.CSS.supports('mask-size', 'contain') ||\n window.CSS.supports('-webkit-mask-size', 'contain') ||\n window.CSS.supports('-moz-mask-size', 'contain') ||\n window.CSS.supports('-ms-mask-size', 'contain') ||\n window.CSS.supports('-o-mask-size', 'contain')\n )\n }),\n created () {\n // Load the locale from the storage\n this.$i18n.locale = this.$store.state.config.interfaceLanguage\n window.addEventListener('resize', this.updateMobileState)\n },\n destroyed () {\n window.removeEventListener('resize', this.updateMobileState)\n },\n computed: {\n currentUser () { return this.$store.state.users.currentUser },\n background () {\n return this.currentUser.background_image || this.$store.state.instance.background\n },\n enableMask () { return this.supportsMask && this.$store.state.instance.logoMask },\n logoStyle () {\n return {\n 'visibility': this.enableMask ? 'hidden' : 'visible'\n }\n },\n logoMaskStyle () {\n return this.enableMask ? {\n 'mask-image': `url(${this.$store.state.instance.logo})`\n } : {\n 'background-color': this.enableMask ? '' : 'transparent'\n }\n },\n logoBgStyle () {\n return Object.assign({\n 'margin': `${this.$store.state.instance.logoMargin} 0`,\n opacity: this.finderHidden ? 1 : 0\n }, this.enableMask ? {} : {\n 'background-color': this.enableMask ? '' : 'transparent'\n })\n },\n logo () { return this.$store.state.instance.logo },\n bgStyle () {\n return {\n 'background-image': `url(${this.background})`\n }\n },\n bgAppStyle () {\n return {\n '--body-background-image': `url(${this.background})`\n }\n },\n sitename () { return this.$store.state.instance.name },\n chat () { return this.$store.state.chat.channel.state === 'joined' },\n suggestionsEnabled () { return this.$store.state.instance.suggestionsEnabled },\n showInstanceSpecificPanel () { return this.$store.state.instance.showInstanceSpecificPanel },\n showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },\n isMobileLayout () { return this.$store.state.interface.mobileLayout }\n },\n methods: {\n scrollToTop () {\n window.scrollTo(0, 0)\n },\n logout () {\n this.$router.replace('/main/public')\n this.$store.dispatch('logout')\n },\n onFinderToggled (hidden) {\n this.finderHidden = hidden\n },\n updateMobileState () {\n const mobileLayout = windowWidth() <= 800\n const changed = mobileLayout !== this.isMobileLayout\n if (changed) {\n this.$store.dispatch('setMobileLayout', mobileLayout)\n }\n }\n }\n}\n","import AuthForm from '../auth_form/auth_form.js'\nimport PostStatusForm from '../post_status_form/post_status_form.vue'\nimport UserCard from '../user_card/user_card.vue'\nimport { mapState } from 'vuex'\n\nconst UserPanel = {\n computed: {\n signedIn () { return this.user },\n ...mapState({ user: state => state.users.currentUser })\n },\n components: {\n AuthForm,\n PostStatusForm,\n UserCard\n }\n}\n\nexport default UserPanel\n","import followRequestFetcher from '../../services/follow_request_fetcher/follow_request_fetcher.service'\n\nconst NavPanel = {\n created () {\n if (this.currentUser && this.currentUser.locked) {\n const store = this.$store\n const credentials = store.state.users.currentUser.credentials\n\n followRequestFetcher.startFetching({ store, credentials })\n }\n },\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n },\n chat () {\n return this.$store.state.chat.channel\n },\n followRequestCount () {\n return this.$store.state.api.followRequests.length\n }\n }\n}\n\nexport default NavPanel\n","const UserFinder = {\n data: () => ({\n username: undefined,\n hidden: true,\n error: false,\n loading: false\n }),\n methods: {\n findUser (username) {\n this.$router.push({ name: 'user-search', query: { query: username } })\n this.$refs.userSearchInput.focus()\n },\n toggleHidden () {\n this.hidden = !this.hidden\n this.$emit('toggled', this.hidden)\n }\n }\n}\n\nexport default UserFinder\n","import apiService from '../../services/api/api.service.js'\nimport generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'\nimport { shuffle } from 'lodash'\n\nfunction showWhoToFollow (panel, reply) {\n const shuffled = shuffle(reply)\n\n panel.usersToFollow.forEach((toFollow, index) => {\n let user = shuffled[index]\n let img = user.avatar || '/images/avi.png'\n let name = user.acct\n\n toFollow.img = img\n toFollow.name = name\n\n panel.$store.state.api.backendInteractor.externalProfile(name)\n .then((externalUser) => {\n if (!externalUser.error) {\n panel.$store.commit('addNewUsers', [externalUser])\n toFollow.id = externalUser.id\n }\n })\n })\n}\n\nfunction getWhoToFollow (panel) {\n var credentials = panel.$store.state.users.currentUser.credentials\n if (credentials) {\n panel.usersToFollow.forEach(toFollow => {\n toFollow.name = 'Loading...'\n })\n apiService.suggestions({credentials: credentials})\n .then((reply) => {\n showWhoToFollow(panel, reply)\n })\n }\n}\n\nconst WhoToFollowPanel = {\n data: () => ({\n usersToFollow: new Array(3).fill().map(x => (\n {\n img: '/images/avi.png',\n name: '',\n id: 0\n }\n ))\n }),\n computed: {\n user: function () {\n return this.$store.state.users.currentUser.screen_name\n },\n suggestionsEnabled () {\n return this.$store.state.instance.suggestionsEnabled\n }\n },\n methods: {\n userProfileLink (id, name) {\n return generateProfileLink(id, name, this.$store.state.instance.restrictedNicknames)\n }\n },\n watch: {\n user: function (user, oldUser) {\n if (this.suggestionsEnabled) {\n getWhoToFollow(this)\n }\n }\n },\n mounted:\n function () {\n if (this.suggestionsEnabled) {\n getWhoToFollow(this)\n }\n }\n}\n\nexport default WhoToFollowPanel\n","import StillImage from '../still-image/still-image.vue'\nimport VideoAttachment from '../video_attachment/video_attachment.vue'\nimport fileTypeService from '../../services/file_type/file_type.service.js'\n\nconst MediaModal = {\n components: {\n StillImage,\n VideoAttachment\n },\n computed: {\n showing () {\n return this.$store.state.mediaViewer.activated\n },\n media () {\n return this.$store.state.mediaViewer.media\n },\n currentIndex () {\n return this.$store.state.mediaViewer.currentIndex\n },\n currentMedia () {\n return this.media[this.currentIndex]\n },\n canNavigate () {\n return this.media.length > 1\n },\n type () {\n return this.currentMedia ? fileTypeService.fileType(this.currentMedia.mimetype) : null\n }\n },\n methods: {\n hide () {\n this.$store.dispatch('closeMediaViewer')\n },\n goPrev () {\n if (this.canNavigate) {\n const prevIndex = this.currentIndex === 0 ? this.media.length - 1 : (this.currentIndex - 1)\n this.$store.dispatch('setCurrent', this.media[prevIndex])\n }\n },\n goNext () {\n if (this.canNavigate) {\n const nextIndex = this.currentIndex === this.media.length - 1 ? 0 : (this.currentIndex + 1)\n this.$store.dispatch('setCurrent', this.media[nextIndex])\n }\n },\n handleKeyupEvent (e) {\n if (this.showing && e.keyCode === 27) { // escape\n this.hide()\n }\n },\n handleKeydownEvent (e) {\n if (!this.showing) {\n return\n }\n\n if (e.keyCode === 39) { // arrow right\n this.goNext()\n } else if (e.keyCode === 37) { // arrow left\n this.goPrev()\n }\n }\n },\n mounted () {\n document.addEventListener('keyup', this.handleKeyupEvent)\n document.addEventListener('keydown', this.handleKeydownEvent)\n },\n destroyed () {\n document.removeEventListener('keyup', this.handleKeyupEvent)\n document.removeEventListener('keydown', this.handleKeydownEvent)\n }\n}\n\nexport default MediaModal\n","import UserCard from '../user_card/user_card.vue'\nimport { unseenNotificationsFromStore } from '../../services/notification_utils/notification_utils'\nimport GestureService from '../../services/gesture_service/gesture_service'\n\nconst SideDrawer = {\n props: [ 'logout' ],\n data: () => ({\n closed: true,\n closeGesture: undefined\n }),\n created () {\n this.closeGesture = GestureService.swipeGesture(GestureService.DIRECTION_LEFT, this.toggleDrawer)\n },\n components: { UserCard },\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n },\n chat () { return this.$store.state.chat.channel.state === 'joined' },\n unseenNotifications () {\n return unseenNotificationsFromStore(this.$store)\n },\n unseenNotificationsCount () {\n return this.unseenNotifications.length\n },\n suggestionsEnabled () {\n return this.$store.state.instance.suggestionsEnabled\n },\n logo () {\n return this.$store.state.instance.logo\n },\n sitename () {\n return this.$store.state.instance.name\n },\n followRequestCount () {\n return this.$store.state.api.followRequests.length\n }\n },\n methods: {\n toggleDrawer () {\n this.closed = !this.closed\n },\n doLogout () {\n this.logout()\n this.toggleDrawer()\n },\n touchStart (e) {\n GestureService.beginSwipe(e, this.closeGesture)\n },\n touchMove (e) {\n GestureService.updateSwipe(e, this.closeGesture)\n }\n }\n}\n\nexport default SideDrawer\n","import PostStatusForm from '../post_status_form/post_status_form.vue'\nimport { debounce } from 'lodash'\n\nconst MobilePostStatusModal = {\n components: {\n PostStatusForm\n },\n data () {\n return {\n hidden: false,\n postFormOpen: false,\n scrollingDown: false,\n inputActive: false,\n oldScrollPos: 0,\n amountScrolled: 0\n }\n },\n created () {\n if (this.autohideFloatingPostButton) {\n this.activateFloatingPostButtonAutohide()\n }\n window.addEventListener('resize', this.handleOSK)\n },\n destroyed () {\n if (this.autohideFloatingPostButton) {\n this.deactivateFloatingPostButtonAutohide()\n }\n window.removeEventListener('resize', this.handleOSK)\n },\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n },\n isHidden () {\n return this.autohideFloatingPostButton && (this.hidden || this.inputActive)\n },\n autohideFloatingPostButton () {\n return !!this.$store.state.config.autohideFloatingPostButton\n }\n },\n watch: {\n autohideFloatingPostButton: function (isEnabled) {\n if (isEnabled) {\n this.activateFloatingPostButtonAutohide()\n } else {\n this.deactivateFloatingPostButtonAutohide()\n }\n }\n },\n methods: {\n activateFloatingPostButtonAutohide () {\n window.addEventListener('scroll', this.handleScrollStart)\n window.addEventListener('scroll', this.handleScrollEnd)\n },\n deactivateFloatingPostButtonAutohide () {\n window.removeEventListener('scroll', this.handleScrollStart)\n window.removeEventListener('scroll', this.handleScrollEnd)\n },\n openPostForm () {\n this.postFormOpen = true\n this.hidden = true\n\n const el = this.$el.querySelector('textarea')\n this.$nextTick(function () {\n el.focus()\n })\n },\n closePostForm () {\n this.postFormOpen = false\n this.hidden = false\n },\n handleOSK () {\n // This is a big hack: we're guessing from changed window sizes if the\n // on-screen keyboard is active or not. This is only really important\n // for phones in portrait mode and it's more important to show the button\n // in normal scenarios on all phones, than it is to hide it when the\n // keyboard is active.\n // Guesswork based on https://www.mydevice.io/#compare-devices\n\n // for example, iphone 4 and android phones from the same time period\n const smallPhone = window.innerWidth < 350\n const smallPhoneKbOpen = smallPhone && window.innerHeight < 345\n\n const biggerPhone = !smallPhone && window.innerWidth < 450\n const biggerPhoneKbOpen = biggerPhone && window.innerHeight < 560\n if (smallPhoneKbOpen || biggerPhoneKbOpen) {\n this.inputActive = true\n } else {\n this.inputActive = false\n }\n },\n handleScrollStart: debounce(function () {\n if (window.scrollY > this.oldScrollPos) {\n this.hidden = true\n } else {\n this.hidden = false\n }\n this.oldScrollPos = window.scrollY\n }, 100, {leading: true, trailing: false}),\n\n handleScrollEnd: debounce(function () {\n this.hidden = false\n this.oldScrollPos = window.scrollY\n }, 100, {leading: false, trailing: true})\n }\n}\n\nexport default MobilePostStatusModal\n","import SideDrawer from '../side_drawer/side_drawer.vue'\nimport Notifications from '../notifications/notifications.vue'\nimport MobilePostStatusModal from '../mobile_post_status_modal/mobile_post_status_modal.vue'\nimport { unseenNotificationsFromStore } from '../../services/notification_utils/notification_utils'\nimport GestureService from '../../services/gesture_service/gesture_service'\n\nconst MobileNav = {\n components: {\n SideDrawer,\n Notifications,\n MobilePostStatusModal\n },\n data: () => ({\n notificationsCloseGesture: undefined,\n notificationsOpen: false\n }),\n created () {\n this.notificationsCloseGesture = GestureService.swipeGesture(\n GestureService.DIRECTION_RIGHT,\n this.closeMobileNotifications,\n 50\n )\n },\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n },\n unseenNotifications () {\n return unseenNotificationsFromStore(this.$store)\n },\n unseenNotificationsCount () {\n return this.unseenNotifications.length\n },\n sitename () { return this.$store.state.instance.name }\n },\n methods: {\n toggleMobileSidebar () {\n this.$refs.sideDrawer.toggleDrawer()\n },\n openMobileNotifications () {\n this.notificationsOpen = true\n },\n closeMobileNotifications () {\n if (this.notificationsOpen) {\n // make sure to mark notifs seen only when the notifs were open and not\n // from close-calls.\n this.notificationsOpen = false\n this.markNotificationsAsSeen()\n }\n },\n notificationsTouchStart (e) {\n GestureService.beginSwipe(e, this.notificationsCloseGesture)\n },\n notificationsTouchMove (e) {\n GestureService.updateSwipe(e, this.notificationsCloseGesture)\n },\n scrollToTop () {\n window.scrollTo(0, 0)\n },\n logout () {\n this.$router.replace('/main/public')\n this.$store.dispatch('logout')\n },\n markNotificationsAsSeen () {\n this.$refs.notifications.markAsSeen()\n },\n onScroll ({ target: { scrollTop, clientHeight, scrollHeight } }) {\n if (this.$store.state.config.autoLoad && scrollTop + clientHeight >= scrollHeight) {\n this.$refs.notifications.fetchOlderNotifications()\n }\n }\n },\n watch: {\n $route () {\n // handles closing notificaitons when you press any router-link on the\n // notifications.\n this.closeMobileNotifications()\n }\n }\n}\n\nexport default MobileNav\n","\nimport Status from '../status/status.vue'\nimport List from '../list/list.vue'\nimport Checkbox from '../checkbox/checkbox.vue'\n\nconst UserReportingModal = {\n components: {\n Status,\n List,\n Checkbox\n },\n data () {\n return {\n comment: '',\n forward: false,\n statusIdsToReport: [],\n processing: false,\n error: false\n }\n },\n computed: {\n isLoggedIn () {\n return !!this.$store.state.users.currentUser\n },\n isOpen () {\n return this.isLoggedIn && this.$store.state.reports.modalActivated\n },\n userId () {\n return this.$store.state.reports.userId\n },\n user () {\n return this.$store.getters.findUser(this.userId)\n },\n remoteInstance () {\n return !this.user.is_local && this.user.screen_name.substr(this.user.screen_name.indexOf('@') + 1)\n },\n statuses () {\n return this.$store.state.reports.statuses\n }\n },\n watch: {\n userId: 'resetState'\n },\n methods: {\n resetState () {\n // Reset state\n this.comment = ''\n this.forward = false\n this.statusIdsToReport = []\n this.processing = false\n this.error = false\n },\n closeModal () {\n this.$store.dispatch('closeUserReportingModal')\n },\n reportUser () {\n this.processing = true\n this.error = false\n const params = {\n userId: this.userId,\n comment: this.comment,\n forward: this.forward,\n statusIds: this.statusIdsToReport\n }\n this.$store.state.api.backendInteractor.reportUser(params)\n .then(() => {\n this.processing = false\n this.resetState()\n this.closeModal()\n })\n .catch(() => {\n this.processing = false\n this.error = true\n })\n },\n clearError () {\n this.error = false\n },\n isChecked (statusId) {\n return this.statusIdsToReport.indexOf(statusId) !== -1\n },\n toggleStatus (checked, statusId) {\n if (checked === this.isChecked(statusId)) {\n return\n }\n\n if (checked) {\n this.statusIdsToReport.push(statusId)\n } else {\n this.statusIdsToReport.splice(this.statusIdsToReport.indexOf(statusId), 1)\n }\n },\n resize (e) {\n const target = e.target || e\n if (!(target instanceof window.Element)) { return }\n // Auto is needed to make textbox shrink when removing lines\n target.style.height = 'auto'\n target.style.height = `${target.scrollHeight}px`\n if (target.value === '') {\n target.style.height = null\n }\n }\n }\n}\n\nexport default UserReportingModal\n","import apiService from '../api/api.service.js'\nimport timelineFetcherService from '../timeline_fetcher/timeline_fetcher.service.js'\nimport notificationsFetcher from '../notifications_fetcher/notifications_fetcher.service.js'\n\nconst backendInteractorService = credentials => {\n const fetchStatus = ({ id }) => {\n return apiService.fetchStatus({ id, credentials })\n }\n\n const fetchConversation = ({ id }) => {\n return apiService.fetchConversation({ id, credentials })\n }\n\n const fetchFriends = ({ id, maxId, sinceId, limit }) => {\n return apiService.fetchFriends({ id, maxId, sinceId, limit, credentials })\n }\n\n const exportFriends = ({ id }) => {\n return apiService.exportFriends({ id, credentials })\n }\n\n const fetchFollowers = ({ id, maxId, sinceId, limit }) => {\n return apiService.fetchFollowers({ id, maxId, sinceId, limit, credentials })\n }\n\n const fetchUser = ({ id }) => {\n return apiService.fetchUser({ id, credentials })\n }\n\n const fetchUserRelationship = ({ id }) => {\n return apiService.fetchUserRelationship({ id, credentials })\n }\n\n const followUser = (id) => {\n return apiService.followUser({ credentials, id })\n }\n\n const unfollowUser = (id) => {\n return apiService.unfollowUser({ credentials, id })\n }\n\n const blockUser = (id) => {\n return apiService.blockUser({ credentials, id })\n }\n\n const unblockUser = (id) => {\n return apiService.unblockUser({ credentials, id })\n }\n\n const approveUser = (id) => {\n return apiService.approveUser({ credentials, id })\n }\n\n const denyUser = (id) => {\n return apiService.denyUser({ credentials, id })\n }\n\n const startFetchingTimeline = ({ timeline, store, userId = false, tag }) => {\n return timelineFetcherService.startFetching({ timeline, store, credentials, userId, tag })\n }\n\n const startFetchingNotifications = ({ store }) => {\n return notificationsFetcher.startFetching({ store, credentials })\n }\n\n const tagUser = ({ screen_name }, tag) => {\n return apiService.tagUser({ screen_name, tag, credentials })\n }\n\n const untagUser = ({ screen_name }, tag) => {\n return apiService.untagUser({ screen_name, tag, credentials })\n }\n\n const addRight = ({ screen_name }, right) => {\n return apiService.addRight({ screen_name, right, credentials })\n }\n\n const deleteRight = ({ screen_name }, right) => {\n return apiService.deleteRight({ screen_name, right, credentials })\n }\n\n const setActivationStatus = ({ screen_name }, status) => {\n return apiService.setActivationStatus({ screen_name, status, credentials })\n }\n\n const deleteUser = ({ screen_name }) => {\n return apiService.deleteUser({ screen_name, credentials })\n }\n\n const vote = (pollId, choices) => {\n return apiService.vote({ credentials, pollId, choices })\n }\n\n const fetchPoll = (pollId) => {\n return apiService.fetchPoll({ credentials, pollId })\n }\n\n const updateNotificationSettings = ({ settings }) => {\n return apiService.updateNotificationSettings({ credentials, settings })\n }\n\n const fetchMutes = () => apiService.fetchMutes({ credentials })\n const muteUser = (id) => apiService.muteUser({ credentials, id })\n const unmuteUser = (id) => apiService.unmuteUser({ credentials, id })\n const fetchBlocks = () => apiService.fetchBlocks({ credentials })\n const fetchFollowRequests = () => apiService.fetchFollowRequests({ credentials })\n const fetchOAuthTokens = () => apiService.fetchOAuthTokens({ credentials })\n const revokeOAuthToken = (id) => apiService.revokeOAuthToken({ id, credentials })\n const fetchPinnedStatuses = (id) => apiService.fetchPinnedStatuses({ credentials, id })\n const pinOwnStatus = (id) => apiService.pinOwnStatus({ credentials, id })\n const unpinOwnStatus = (id) => apiService.unpinOwnStatus({ credentials, id })\n\n const getCaptcha = () => apiService.getCaptcha()\n const register = (params) => apiService.register({ credentials, params })\n const updateAvatar = ({ avatar }) => apiService.updateAvatar({ credentials, avatar })\n const updateBg = ({ background }) => apiService.updateBg({ credentials, background })\n const updateBanner = ({ banner }) => apiService.updateBanner({ credentials, banner })\n const updateProfile = ({ params }) => apiService.updateProfile({ credentials, params })\n\n const externalProfile = (profileUrl) => apiService.externalProfile({ profileUrl, credentials })\n\n const importBlocks = (file) => apiService.importBlocks({ file, credentials })\n const importFollows = (file) => apiService.importFollows({ file, credentials })\n\n const deleteAccount = ({ password }) => apiService.deleteAccount({ credentials, password })\n const changePassword = ({ password, newPassword, newPasswordConfirmation }) =>\n apiService.changePassword({ credentials, password, newPassword, newPasswordConfirmation })\n\n const fetchSettingsMFA = () => apiService.settingsMFA({ credentials })\n const generateMfaBackupCodes = () => apiService.generateMfaBackupCodes({ credentials })\n const mfaSetupOTP = () => apiService.mfaSetupOTP({ credentials })\n const mfaConfirmOTP = ({ password, token }) => apiService.mfaConfirmOTP({ credentials, password, token })\n const mfaDisableOTP = ({ password }) => apiService.mfaDisableOTP({ credentials, password })\n\n const fetchFavoritedByUsers = (id) => apiService.fetchFavoritedByUsers({ id })\n const fetchRebloggedByUsers = (id) => apiService.fetchRebloggedByUsers({ id })\n const reportUser = (params) => apiService.reportUser({ credentials, ...params })\n\n const favorite = (id) => apiService.favorite({ id, credentials })\n const unfavorite = (id) => apiService.unfavorite({ id, credentials })\n const retweet = (id) => apiService.retweet({ id, credentials })\n const unretweet = (id) => apiService.unretweet({ id, credentials })\n\n const backendInteractorServiceInstance = {\n fetchStatus,\n fetchConversation,\n fetchFriends,\n exportFriends,\n fetchFollowers,\n followUser,\n unfollowUser,\n blockUser,\n unblockUser,\n fetchUser,\n fetchUserRelationship,\n verifyCredentials: apiService.verifyCredentials,\n startFetchingTimeline,\n startFetchingNotifications,\n fetchMutes,\n muteUser,\n unmuteUser,\n fetchBlocks,\n fetchOAuthTokens,\n revokeOAuthToken,\n fetchPinnedStatuses,\n pinOwnStatus,\n unpinOwnStatus,\n tagUser,\n untagUser,\n addRight,\n deleteRight,\n deleteUser,\n setActivationStatus,\n register,\n getCaptcha,\n updateAvatar,\n updateBg,\n updateBanner,\n updateProfile,\n externalProfile,\n importBlocks,\n importFollows,\n deleteAccount,\n changePassword,\n fetchSettingsMFA,\n generateMfaBackupCodes,\n mfaSetupOTP,\n mfaConfirmOTP,\n mfaDisableOTP,\n fetchFollowRequests,\n approveUser,\n denyUser,\n vote,\n fetchPoll,\n fetchFavoritedByUsers,\n fetchRebloggedByUsers,\n reportUser,\n favorite,\n unfavorite,\n retweet,\n unretweet,\n updateNotificationSettings\n }\n\n return backendInteractorServiceInstance\n}\n\nexport default backendInteractorService\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./still-image.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./still-image.js\"\nimport __vue_script__ from \"!!babel-loader!./still-image.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4ae09a58\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./still-image.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./timeago.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./timeago.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-96912de0\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./timeago.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./post_status_form.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./post_status_form.js\"\nimport __vue_script__ from \"!!babel-loader!./post_status_form.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-fb6a5a42\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./post_status_form.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./conversation.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./conversation.js\"\nimport __vue_script__ from \"!!babel-loader!./conversation.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4beb651e\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./conversation.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","import { filter, sortBy } from 'lodash'\n\nexport const notificationsFromStore = store => store.state.statuses.notifications.data\n\nexport const visibleTypes = store => ([\n store.state.config.notificationVisibility.likes && 'like',\n store.state.config.notificationVisibility.mentions && 'mention',\n store.state.config.notificationVisibility.repeats && 'repeat',\n store.state.config.notificationVisibility.follows && 'follow'\n].filter(_ => _))\n\nconst sortById = (a, b) => {\n const seqA = Number(a.id)\n const seqB = Number(b.id)\n const isSeqA = !Number.isNaN(seqA)\n const isSeqB = !Number.isNaN(seqB)\n if (isSeqA && isSeqB) {\n return seqA > seqB ? -1 : 1\n } else if (isSeqA && !isSeqB) {\n return 1\n } else if (!isSeqA && isSeqB) {\n return -1\n } else {\n return a.id > b.id ? -1 : 1\n }\n}\n\nexport const visibleNotificationsFromStore = (store, types) => {\n // map is just to clone the array since sort mutates it and it causes some issues\n let sortedNotifications = notificationsFromStore(store).map(_ => _).sort(sortById)\n sortedNotifications = sortBy(sortedNotifications, 'seen')\n return sortedNotifications.filter(\n (notification) => (types || visibleTypes(store)).includes(notification.type)\n )\n}\n\nexport const unseenNotificationsFromStore = store =>\n filter(visibleNotificationsFromStore(store), ({seen}) => !seen)\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./follow_card.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./follow_card.js\"\nimport __vue_script__ from \"!!babel-loader!./follow_card.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6b257768\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./follow_card.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./list.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./list.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./list.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4921cfd6\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./list.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","import Vue from 'vue'\n\nimport './tab_switcher.scss'\n\nexport default Vue.component('tab-switcher', {\n name: 'TabSwitcher',\n props: ['renderOnlyFocused', 'onSwitch'],\n data () {\n return {\n active: this.$slots.default.findIndex(_ => _.tag)\n }\n },\n methods: {\n activateTab (index, dataset) {\n return () => {\n if (typeof this.onSwitch === 'function') {\n this.onSwitch.call(null, index, this.$slots.default[index].elm.dataset)\n }\n this.active = index\n }\n }\n },\n beforeUpdate () {\n const currentSlot = this.$slots.default[this.active]\n if (!currentSlot.tag) {\n this.active = this.$slots.default.findIndex(_ => _.tag)\n }\n },\n render (h) {\n const tabs = this.$slots.default\n .map((slot, index) => {\n if (!slot.tag) return\n const classesTab = ['tab']\n const classesWrapper = ['tab-wrapper']\n\n if (index === this.active) {\n classesTab.push('active')\n classesWrapper.push('active')\n }\n\n return (\n
\n \n {slot.data.attrs.label}\n
\n )\n })\n\n const contents = this.$slots.default.map((slot, index) => {\n if (!slot.tag) return\n const active = index === this.active\n if (this.renderOnlyFocused) {\n return active\n ?
{slot}
\n :
\n }\n return
{slot}
\n })\n\n return (\n
\n
\n {tabs}\n
\n
\n {contents}\n
\n
\n )\n }\n})\n","import { reduce } from 'lodash'\n\nconst REDIRECT_URI = `${window.location.origin}/oauth-callback`\n\nexport const getOrCreateApp = ({ clientId, clientSecret, instance, commit }) => {\n if (clientId && clientSecret) {\n return Promise.resolve({ clientId, clientSecret })\n }\n\n const url = `${instance}/api/v1/apps`\n const form = new window.FormData()\n\n form.append('client_name', `PleromaFE_${window.___pleromafe_commit_hash}_${(new Date()).toISOString()}`)\n form.append('redirect_uris', REDIRECT_URI)\n form.append('scopes', 'read write follow')\n\n return window.fetch(url, {\n method: 'POST',\n body: form\n })\n .then((data) => data.json())\n .then((app) => ({ clientId: app.client_id, clientSecret: app.client_secret }))\n .then((app) => commit('setClientData', app) || app)\n}\n\nconst login = ({ instance, clientId }) => {\n const data = {\n response_type: 'code',\n client_id: clientId,\n redirect_uri: REDIRECT_URI,\n scope: 'read write follow'\n }\n\n const dataString = reduce(data, (acc, v, k) => {\n const encoded = `${k}=${encodeURIComponent(v)}`\n if (!acc) {\n return encoded\n } else {\n return `${acc}&${encoded}`\n }\n }, false)\n\n // Do the redirect...\n const url = `${instance}/oauth/authorize?${dataString}`\n\n window.location.href = url\n}\n\nconst getTokenWithCredentials = ({ clientId, clientSecret, instance, username, password }) => {\n const url = `${instance}/oauth/token`\n const form = new window.FormData()\n\n form.append('client_id', clientId)\n form.append('client_secret', clientSecret)\n form.append('grant_type', 'password')\n form.append('username', username)\n form.append('password', password)\n\n return window.fetch(url, {\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\nconst getToken = ({ clientId, clientSecret, instance, code }) => {\n const url = `${instance}/oauth/token`\n const form = new window.FormData()\n\n form.append('client_id', clientId)\n form.append('client_secret', clientSecret)\n form.append('grant_type', 'authorization_code')\n form.append('code', code)\n form.append('redirect_uri', `${window.location.origin}/oauth-callback`)\n\n return window.fetch(url, {\n method: 'POST',\n body: form\n })\n .then((data) => data.json())\n}\n\nexport const getClientToken = ({ clientId, clientSecret, instance }) => {\n const url = `${instance}/oauth/token`\n const form = new window.FormData()\n\n form.append('client_id', clientId)\n form.append('client_secret', clientSecret)\n form.append('grant_type', 'client_credentials')\n form.append('redirect_uri', `${window.location.origin}/oauth-callback`)\n\n return window.fetch(url, {\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\nconst verifyOTPCode = ({app, instance, mfaToken, code}) => {\n const url = `${instance}/oauth/mfa/challenge`\n const form = new window.FormData()\n\n form.append('client_id', app.client_id)\n form.append('client_secret', app.client_secret)\n form.append('mfa_token', mfaToken)\n form.append('code', code)\n form.append('challenge_type', 'totp')\n\n return window.fetch(url, {\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\nconst verifyRecoveryCode = ({app, instance, mfaToken, code}) => {\n const url = `${instance}/oauth/mfa/challenge`\n const form = new window.FormData()\n\n form.append('client_id', app.client_id)\n form.append('client_secret', app.client_secret)\n form.append('mfa_token', mfaToken)\n form.append('code', code)\n form.append('challenge_type', 'recovery')\n\n return window.fetch(url, {\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\nconst oauth = {\n login,\n getToken,\n getTokenWithCredentials,\n getOrCreateApp,\n verifyOTPCode,\n verifyRecoveryCode\n}\n\nexport default oauth\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"still-image\",class:{ animated: _vm.animated }},[(_vm.animated)?_c('canvas',{ref:\"canvas\"}):_vm._e(),_vm._v(\" \"),_c('img',{ref:\"src\",attrs:{\"src\":_vm.src,\"referrerpolicy\":_vm.referrerpolicy},on:{\"load\":_vm.onLoad,\"error\":_vm.onError}})])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('video',{staticClass:\"video\",attrs:{\"src\":_vm.attachment.url,\"loop\":_vm.loopVideo,\"controls\":_vm.controls,\"playsinline\":\"\"},on:{\"loadeddata\":_vm.onVideoDataLoad}})}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {\nvar _obj;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.usePlaceHolder)?_c('div',{on:{\"click\":_vm.openModal}},[(_vm.type !== 'html')?_c('a',{staticClass:\"placeholder\",attrs:{\"target\":\"_blank\",\"href\":_vm.attachment.url}},[_vm._v(\"\\n [\"+_vm._s(_vm.nsfw ? \"NSFW/\" : \"\")+_vm._s(_vm.type.toUpperCase())+\"]\\n \")]):_vm._e()]):_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isEmpty),expression:\"!isEmpty\"}],staticClass:\"attachment\",class:( _obj = {}, _obj[_vm.type] = true, _obj.loading = _vm.loading, _obj['fullwidth'] = _vm.fullwidth, _obj['nsfw-placeholder'] = _vm.hidden, _obj )},[(_vm.hidden)?_c('a',{staticClass:\"image-attachment\",attrs:{\"href\":_vm.attachment.url},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleHidden($event)}}},[_c('img',{key:_vm.nsfwImage,staticClass:\"nsfw\",class:{'small': _vm.isSmall},attrs:{\"src\":_vm.nsfwImage}}),_vm._v(\" \"),(_vm.type === 'video')?_c('i',{staticClass:\"play-icon icon-play-circled\"}):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.nsfw && _vm.hideNsfwLocal && !_vm.hidden)?_c('div',{staticClass:\"hider\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleHidden($event)}}},[_vm._v(\"Hide\")])]):_vm._e(),_vm._v(\" \"),(_vm.type === 'image' && (!_vm.hidden || _vm.preloadImage))?_c('a',{staticClass:\"image-attachment\",class:{'hidden': _vm.hidden && _vm.preloadImage },attrs:{\"href\":_vm.attachment.url,\"target\":\"_blank\",\"title\":_vm.attachment.description},on:{\"click\":_vm.openModal}},[_c('StillImage',{attrs:{\"referrerpolicy\":_vm.referrerpolicy,\"mimetype\":_vm.attachment.mimetype,\"src\":_vm.attachment.large_thumb_url || _vm.attachment.url}})],1):_vm._e(),_vm._v(\" \"),(_vm.type === 'video' && !_vm.hidden)?_c('a',{staticClass:\"video-container\",class:{'small': _vm.isSmall},attrs:{\"href\":_vm.allowPlay ? undefined : _vm.attachment.url},on:{\"click\":_vm.openModal}},[_c('VideoAttachment',{staticClass:\"video\",attrs:{\"attachment\":_vm.attachment,\"controls\":_vm.allowPlay}}),_vm._v(\" \"),(!_vm.allowPlay)?_c('i',{staticClass:\"play-icon icon-play-circled\"}):_vm._e()],1):_vm._e(),_vm._v(\" \"),(_vm.type === 'audio')?_c('audio',{attrs:{\"src\":_vm.attachment.url,\"controls\":\"\"}}):_vm._e(),_vm._v(\" \"),(_vm.type === 'html' && _vm.attachment.oembed)?_c('div',{staticClass:\"oembed\",on:{\"click\":function($event){$event.preventDefault();return _vm.linkClicked($event)}}},[(_vm.attachment.thumb_url)?_c('div',{staticClass:\"image\"},[_c('img',{attrs:{\"src\":_vm.attachment.thumb_url}})]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"text\"},[_c('h1',[_c('a',{attrs:{\"href\":_vm.attachment.url}},[_vm._v(_vm._s(_vm.attachment.oembed.title))])]),_vm._v(\" \"),_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.attachment.oembed.oembedHTML)}})])]):_vm._e()])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loggedIn)?_c('div',[_c('i',{staticClass:\"button-icon favorite-button fav-active\",class:_vm.classes,attrs:{\"title\":_vm.$t('tool_tip.favorite')},on:{\"click\":function($event){$event.preventDefault();_vm.favorite()}}}),_vm._v(\" \"),(!_vm.hidePostStatsLocal && _vm.status.fave_num > 0)?_c('span',[_vm._v(_vm._s(_vm.status.fave_num))]):_vm._e()]):_c('div',[_c('i',{staticClass:\"button-icon favorite-button\",class:_vm.classes,attrs:{\"title\":_vm.$t('tool_tip.favorite')}}),_vm._v(\" \"),(!_vm.hidePostStatsLocal && _vm.status.fave_num > 0)?_c('span',[_vm._v(_vm._s(_vm.status.fave_num))]):_vm._e()])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.loggedIn)?_c('div',[(_vm.visibility !== 'private' && _vm.visibility !== 'direct')?[_c('i',{staticClass:\"button-icon retweet-button icon-retweet rt-active\",class:_vm.classes,attrs:{\"title\":_vm.$t('tool_tip.repeat')},on:{\"click\":function($event){$event.preventDefault();_vm.retweet()}}}),_vm._v(\" \"),(!_vm.hidePostStatsLocal && _vm.status.repeat_num > 0)?_c('span',[_vm._v(_vm._s(_vm.status.repeat_num))]):_vm._e()]:[_c('i',{staticClass:\"button-icon icon-lock\",class:_vm.classes,attrs:{\"title\":_vm.$t('timeline.no_retweet_hint')}})]],2):(!_vm.loggedIn)?_c('div',[_c('i',{staticClass:\"button-icon icon-retweet\",class:_vm.classes,attrs:{\"title\":_vm.$t('tool_tip.repeat')}}),_vm._v(\" \"),(!_vm.hidePostStatsLocal && _vm.status.repeat_num > 0)?_c('span',[_vm._v(_vm._s(_vm.status.repeat_num))]):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('time',{attrs:{\"datetime\":_vm.time,\"title\":_vm.localeDateString}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(_vm.relativeTime.key, [_vm.relativeTime.num]))+\"\\n\")])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"poll\",class:_vm.containerClass},[_vm._l((_vm.poll.options),function(option,index){return _c('div',{key:index,staticClass:\"poll-option\"},[(_vm.showResults)?_c('div',{staticClass:\"option-result\",attrs:{\"title\":_vm.resultTitle(option)}},[_c('div',{staticClass:\"option-result-label\"},[_c('span',{staticClass:\"result-percentage\"},[_vm._v(\"\\n \"+_vm._s(_vm.percentageForOption(option.votes_count))+\"%\\n \")]),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(option.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"result-fill\",style:({ 'width': ((_vm.percentageForOption(option.votes_count)) + \"%\") })})]):_c('div',{on:{\"click\":function($event){_vm.activateOption(index)}}},[(_vm.poll.multiple)?_c('input',{attrs:{\"type\":\"checkbox\",\"disabled\":_vm.loading},domProps:{\"value\":index}}):_c('input',{attrs:{\"type\":\"radio\",\"disabled\":_vm.loading},domProps:{\"value\":index}}),_vm._v(\" \"),_c('label',[_vm._v(\"\\n \"+_vm._s(option.title)+\"\\n \")])])])}),_vm._v(\" \"),_c('div',{staticClass:\"footer faint\"},[(!_vm.showResults)?_c('button',{staticClass:\"btn btn-default poll-vote-button\",attrs:{\"type\":\"button\",\"disabled\":_vm.isDisabled},on:{\"click\":_vm.vote}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('polls.vote'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"total\"},[_vm._v(\"\\n \"+_vm._s(_vm.totalVotesCount)+\" \"+_vm._s(_vm.$t(\"polls.votes\"))+\" · \\n \")]),_vm._v(\" \"),_c('i18n',{attrs:{\"path\":_vm.expired ? 'polls.expired' : 'polls.expires_in'}},[_c('Timeago',{attrs:{\"time\":this.poll.expires_at,\"auto-update\":60,\"now-threshold\":0}})],1)],1)],2)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.enabled && _vm.showPopper)?_c('Popper',{attrs:{\"trigger\":\"click\",\"append-to-body\":\"\",\"options\":{\n placement: 'top',\n modifiers: {\n arrow: { enabled: true },\n offset: { offset: '0, 5px' },\n }\n }},on:{\"hide\":function($event){_vm.showDropDown = false}}},[_c('div',{staticClass:\"popper-wrapper\"},[_c('div',{staticClass:\"dropdown-menu\"},[(!_vm.status.pinned && _vm.canPin)?_c('button',{staticClass:\"dropdown-item dropdown-item-icon\",on:{\"click\":function($event){$event.preventDefault();return _vm.pinStatus($event)}}},[_c('i',{staticClass:\"icon-pin\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"status.pin\")))])]):_vm._e(),_vm._v(\" \"),(_vm.status.pinned && _vm.canPin)?_c('button',{staticClass:\"dropdown-item dropdown-item-icon\",on:{\"click\":function($event){$event.preventDefault();return _vm.unpinStatus($event)}}},[_c('i',{staticClass:\"icon-pin\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"status.unpin\")))])]):_vm._e(),_vm._v(\" \"),(_vm.canDelete)?_c('button',{staticClass:\"dropdown-item dropdown-item-icon\",on:{\"click\":function($event){$event.preventDefault();return _vm.deleteStatus($event)}}},[_c('i',{staticClass:\"icon-cancel\"}),_c('span',[_vm._v(_vm._s(_vm.$t(\"status.delete\")))])]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"button-icon\",attrs:{\"slot\":\"reference\"},on:{\"click\":_vm.toggleMenu},slot:\"reference\"},[_c('i',{staticClass:\"icon-ellipsis\",class:{'icon-clicked': _vm.showDropDown}})])]):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"media-upload\",on:{\"drop\":[function($event){$event.preventDefault();},_vm.fileDrop],\"dragover\":function($event){$event.preventDefault();return _vm.fileDrag($event)}}},[_c('label',{staticClass:\"btn btn-default\",attrs:{\"title\":_vm.$t('tool_tip.media_upload')}},[(_vm.uploading)?_c('i',{staticClass:\"icon-spin4 animate-spin\"}):_vm._e(),_vm._v(\" \"),(!_vm.uploading)?_c('i',{staticClass:\"icon-upload\"}):_vm._e(),_vm._v(\" \"),(_vm.uploadReady)?_c('input',{staticStyle:{\"position\":\"fixed\",\"top\":\"-100em\"},attrs:{\"type\":\"file\",\"multiple\":\"true\"},on:{\"change\":_vm.change}}):_vm._e()])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.showNothing)?_c('div',{staticClass:\"scope-selector\"},[(_vm.showDirect)?_c('i',{staticClass:\"icon-mail-alt\",class:_vm.css.direct,attrs:{\"title\":_vm.$t('post_status.scope.direct')},on:{\"click\":function($event){_vm.changeVis('direct')}}}):_vm._e(),_vm._v(\" \"),(_vm.showPrivate)?_c('i',{staticClass:\"icon-lock\",class:_vm.css.private,attrs:{\"title\":_vm.$t('post_status.scope.private')},on:{\"click\":function($event){_vm.changeVis('private')}}}):_vm._e(),_vm._v(\" \"),(_vm.showUnlisted)?_c('i',{staticClass:\"icon-lock-open-alt\",class:_vm.css.unlisted,attrs:{\"title\":_vm.$t('post_status.scope.unlisted')},on:{\"click\":function($event){_vm.changeVis('unlisted')}}}):_vm._e(),_vm._v(\" \"),(_vm.showPublic)?_c('i',{staticClass:\"icon-globe\",class:_vm.css.public,attrs:{\"title\":_vm.$t('post_status.scope.public')},on:{\"click\":function($event){_vm.changeVis('public')}}}):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"emoji-input\"},[_vm._t(\"default\"),_vm._v(\" \"),_c('div',{ref:\"panel\",staticClass:\"autocomplete-panel\",class:{ hide: !_vm.showPopup }},[_c('div',{staticClass:\"autocomplete-panel-body\"},_vm._l((_vm.suggestions),function(suggestion,index){return _c('div',{key:index,staticClass:\"autocomplete-item\",class:{ highlighted: suggestion.highlighted },on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.replaceText($event)}}},[_c('span',{staticClass:\"image\"},[(suggestion.img)?_c('img',{attrs:{\"src\":suggestion.img}}):_c('span',[_vm._v(_vm._s(suggestion.replacement))])]),_vm._v(\" \"),_c('div',{staticClass:\"label\"},[_c('span',{staticClass:\"displayText\"},[_vm._v(_vm._s(suggestion.displayText))]),_vm._v(\" \"),_c('span',{staticClass:\"detailText\"},[_vm._v(_vm._s(suggestion.detailText))])])])}),0)])],2)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible)?_c('div',{staticClass:\"poll-form\"},[_vm._l((_vm.options),function(option,index){return _c('div',{key:index,staticClass:\"poll-option\"},[_c('div',{staticClass:\"input-container\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.options[index]),expression:\"options[index]\"}],staticClass:\"poll-option-input\",attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('polls.option'),\"maxlength\":_vm.maxLength,\"id\":(\"poll-\" + index)},domProps:{\"value\":(_vm.options[index])},on:{\"change\":_vm.updatePollToParent,\"keydown\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }$event.stopPropagation();$event.preventDefault();_vm.nextOption(index)},\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.options, index, $event.target.value)}}})]),_vm._v(\" \"),(_vm.options.length > 2)?_c('div',{staticClass:\"icon-container\"},[_c('i',{staticClass:\"icon-cancel\",on:{\"click\":function($event){_vm.deleteOption(index)}}})]):_vm._e()])}),_vm._v(\" \"),(_vm.options.length < _vm.maxOptions)?_c('a',{staticClass:\"add-option faint\",on:{\"click\":_vm.addOption}},[_c('i',{staticClass:\"icon-plus\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t(\"polls.add_option\"))+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"poll-type-expiry\"},[_c('div',{staticClass:\"poll-type\",attrs:{\"title\":_vm.$t('polls.type')}},[_c('label',{staticClass:\"select\",attrs:{\"for\":\"poll-type-selector\"}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.pollType),expression:\"pollType\"}],staticClass:\"select\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.pollType=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.updatePollToParent]}},[_c('option',{attrs:{\"value\":\"single\"}},[_vm._v(_vm._s(_vm.$t('polls.single_choice')))]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"multiple\"}},[_vm._v(_vm._s(_vm.$t('polls.multiple_choices')))])]),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})])]),_vm._v(\" \"),_c('div',{staticClass:\"poll-expiry\",attrs:{\"title\":_vm.$t('polls.expiry')}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.expiryAmount),expression:\"expiryAmount\"}],staticClass:\"expiry-amount hide-number-spinner\",attrs:{\"type\":\"number\",\"min\":_vm.minExpirationInCurrentUnit,\"max\":_vm.maxExpirationInCurrentUnit},domProps:{\"value\":(_vm.expiryAmount)},on:{\"change\":_vm.expiryAmountChange,\"input\":function($event){if($event.target.composing){ return; }_vm.expiryAmount=$event.target.value}}}),_vm._v(\" \"),_c('label',{staticClass:\"expiry-unit select\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.expiryUnit),expression:\"expiryUnit\"}],on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.expiryUnit=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.expiryAmountChange]}},_vm._l((_vm.expiryUnits),function(unit){return _c('option',{domProps:{\"value\":unit}},[_vm._v(\"\\n \"+_vm._s(_vm.$t((\"time.\" + unit + \"_short\"), ['']))+\"\\n \")])}),0),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})])])])],2):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"post-status-form\"},[_c('form',{attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();_vm.postStatus(_vm.newStatus)}}},[_c('div',{staticClass:\"form-group\"},[(!_vm.$store.state.users.currentUser.locked && _vm.newStatus.visibility == 'private')?_c('i18n',{staticClass:\"visibility-notice\",attrs:{\"path\":\"post_status.account_not_locked_warning\",\"tag\":\"p\"}},[_c('router-link',{attrs:{\"to\":{ name: 'user-settings' }}},[_vm._v(_vm._s(_vm.$t('post_status.account_not_locked_warning_link')))])],1):_vm._e(),_vm._v(\" \"),(!_vm.hideScopeNotice && _vm.newStatus.visibility === 'public')?_c('p',{staticClass:\"visibility-notice notice-dismissible\"},[_c('span',[_vm._v(_vm._s(_vm.$t('post_status.scope_notice.public')))]),_vm._v(\" \"),_c('a',{staticClass:\"button-icon dismiss\",on:{\"click\":function($event){$event.preventDefault();_vm.dismissScopeNotice()}}},[_c('i',{staticClass:\"icon-cancel\"})])]):(!_vm.hideScopeNotice && _vm.newStatus.visibility === 'unlisted')?_c('p',{staticClass:\"visibility-notice notice-dismissible\"},[_c('span',[_vm._v(_vm._s(_vm.$t('post_status.scope_notice.unlisted')))]),_vm._v(\" \"),_c('a',{staticClass:\"button-icon dismiss\",on:{\"click\":function($event){$event.preventDefault();_vm.dismissScopeNotice()}}},[_c('i',{staticClass:\"icon-cancel\"})])]):(!_vm.hideScopeNotice && _vm.newStatus.visibility === 'private' && _vm.$store.state.users.currentUser.locked)?_c('p',{staticClass:\"visibility-notice notice-dismissible\"},[_c('span',[_vm._v(_vm._s(_vm.$t('post_status.scope_notice.private')))]),_vm._v(\" \"),_c('a',{staticClass:\"button-icon dismiss\",on:{\"click\":function($event){$event.preventDefault();_vm.dismissScopeNotice()}}},[_c('i',{staticClass:\"icon-cancel\"})])]):(_vm.newStatus.visibility === 'direct')?_c('p',{staticClass:\"visibility-notice\"},[(_vm.safeDMEnabled)?_c('span',[_vm._v(_vm._s(_vm.$t('post_status.direct_warning_to_first_only')))]):_c('span',[_vm._v(_vm._s(_vm.$t('post_status.direct_warning_to_all')))])]):_vm._e(),_vm._v(\" \"),(_vm.newStatus.spoilerText || _vm.alwaysShowSubject)?_c('EmojiInput',{staticClass:\"form-control\",attrs:{\"suggest\":_vm.emojiSuggestor},model:{value:(_vm.newStatus.spoilerText),callback:function ($$v) {_vm.$set(_vm.newStatus, \"spoilerText\", $$v)},expression:\"newStatus.spoilerText\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newStatus.spoilerText),expression:\"newStatus.spoilerText\"}],staticClass:\"form-post-subject\",attrs:{\"type\":\"text\",\"placeholder\":_vm.$t('post_status.content_warning')},domProps:{\"value\":(_vm.newStatus.spoilerText)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.newStatus, \"spoilerText\", $event.target.value)}}})]):_vm._e(),_vm._v(\" \"),_c('EmojiInput',{staticClass:\"form-control\",attrs:{\"suggest\":_vm.emojiUserSuggestor},model:{value:(_vm.newStatus.status),callback:function ($$v) {_vm.$set(_vm.newStatus, \"status\", $$v)},expression:\"newStatus.status\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newStatus.status),expression:\"newStatus.status\"}],ref:\"textarea\",staticClass:\"form-post-body\",attrs:{\"placeholder\":_vm.$t('post_status.default'),\"rows\":\"1\",\"disabled\":_vm.posting},domProps:{\"value\":(_vm.newStatus.status)},on:{\"keydown\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }if(!$event.metaKey){ return null; }_vm.postStatus(_vm.newStatus)},\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }if(!$event.ctrlKey){ return null; }_vm.postStatus(_vm.newStatus)},\"drop\":_vm.fileDrop,\"dragover\":function($event){$event.preventDefault();return _vm.fileDrag($event)},\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.newStatus, \"status\", $event.target.value)},_vm.resize],\"paste\":_vm.paste}})]),_vm._v(\" \"),_c('div',{staticClass:\"visibility-tray\"},[(_vm.postFormats.length > 1)?_c('div',{staticClass:\"text-format\"},[_c('label',{staticClass:\"select\",attrs:{\"for\":\"post-content-type\"}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newStatus.contentType),expression:\"newStatus.contentType\"}],staticClass:\"form-control\",attrs:{\"id\":\"post-content-type\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.newStatus, \"contentType\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.postFormats),function(postFormat){return _c('option',{key:postFormat,domProps:{\"value\":postFormat}},[_vm._v(\"\\n \"+_vm._s(_vm.$t((\"post_status.content_type[\\\"\" + postFormat + \"\\\"]\")))+\"\\n \")])}),0),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})])]):_vm._e(),_vm._v(\" \"),(_vm.postFormats.length === 1)?_c('div',{staticClass:\"text-format\"},[_c('span',{staticClass:\"only-format\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t((\"post_status.content_type[\\\"\" + (_vm.postFormats[0]) + \"\\\"]\")))+\"\\n \")])]):_vm._e(),_vm._v(\" \"),_c('scope-selector',{attrs:{\"showAll\":_vm.showAllScopes,\"userDefault\":_vm.userDefaultScope,\"originalScope\":_vm.copyMessageScope,\"initialScope\":_vm.newStatus.visibility,\"onScopeChange\":_vm.changeVis}})],1)],1),_vm._v(\" \"),(_vm.pollsAvailable)?_c('poll-form',{ref:\"pollForm\",attrs:{\"visible\":_vm.pollFormVisible},on:{\"update-poll\":_vm.setPoll}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-bottom\"},[_c('div',{staticClass:\"form-bottom-left\"},[_c('media-upload',{ref:\"mediaUpload\",attrs:{\"drop-files\":_vm.dropFiles},on:{\"uploading\":_vm.disableSubmit,\"uploaded\":_vm.addMediaFile,\"upload-failed\":_vm.uploadFailed}}),_vm._v(\" \"),(_vm.pollsAvailable)?_c('div',{staticClass:\"poll-icon\"},[_c('i',{staticClass:\"icon-chart-bar btn btn-default\",class:_vm.pollFormVisible && 'selected',attrs:{\"title\":_vm.$t('polls.add_poll')},on:{\"click\":_vm.togglePollForm}})]):_vm._e()],1),_vm._v(\" \"),(_vm.isOverLengthLimit)?_c('p',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.charactersLeft))]):(_vm.hasStatusLengthLimit)?_c('p',{staticClass:\"faint\"},[_vm._v(_vm._s(_vm.charactersLeft))]):_vm._e(),_vm._v(\" \"),(_vm.posting)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.$t('post_status.posting')))]):(_vm.isOverLengthLimit)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":\"\"}},[_vm._v(_vm._s(_vm.$t('general.submit')))]):_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.submitDisabled,\"type\":\"submit\"}},[_vm._v(_vm._s(_vm.$t('general.submit')))])]),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"alert error\"},[_vm._v(\"\\n Error: \"+_vm._s(_vm.error)+\"\\n \"),_c('i',{staticClass:\"button-icon icon-cancel\",on:{\"click\":_vm.clearError}})]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"attachments\"},_vm._l((_vm.newStatus.files),function(file){return _c('div',{staticClass:\"media-upload-wrapper\"},[_c('i',{staticClass:\"fa button-icon icon-cancel\",on:{\"click\":function($event){_vm.removeMediaFile(file)}}}),_vm._v(\" \"),_c('div',{staticClass:\"media-upload-container attachment\"},[(_vm.type(file) === 'image')?_c('img',{staticClass:\"thumbnail media-upload\",attrs:{\"src\":file.url}}):_vm._e(),_vm._v(\" \"),(_vm.type(file) === 'video')?_c('video',{attrs:{\"src\":file.url,\"controls\":\"\"}}):_vm._e(),_vm._v(\" \"),(_vm.type(file) === 'audio')?_c('audio',{attrs:{\"src\":file.url,\"controls\":\"\"}}):_vm._e(),_vm._v(\" \"),(_vm.type(file) === 'unknown')?_c('a',{attrs:{\"href\":file.url}},[_vm._v(_vm._s(file.url))]):_vm._e()])])}),0),_vm._v(\" \"),(_vm.newStatus.files.length > 0)?_c('div',{staticClass:\"upload_settings\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newStatus.nsfw),expression:\"newStatus.nsfw\"}],attrs:{\"type\":\"checkbox\",\"id\":\"filesSensitive\"},domProps:{\"checked\":Array.isArray(_vm.newStatus.nsfw)?_vm._i(_vm.newStatus.nsfw,null)>-1:(_vm.newStatus.nsfw)},on:{\"change\":function($event){var $$a=_vm.newStatus.nsfw,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.newStatus, \"nsfw\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.newStatus, \"nsfw\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.newStatus, \"nsfw\", $$c)}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"filesSensitive\"}},[_vm._v(_vm._s(_vm.$t('post_status.attachments_sensitive')))])]):_vm._e()],1)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('StillImage',{staticClass:\"avatar\",class:{ 'avatar-compact': _vm.compact, 'better-shadow': _vm.betterShadow },attrs:{\"alt\":_vm.user.screen_name,\"title\":_vm.user.screen_name,\"src\":_vm.user.profile_image_url_original,\"imageLoadError\":_vm.imageLoadError}})}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"remote-follow\"},[_c('form',{attrs:{\"method\":\"POST\",\"action\":_vm.subscribeUrl}},[_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"nickname\"},domProps:{\"value\":_vm.user.screen_name}}),_vm._v(\" \"),_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"profile\",\"value\":\"\"}}),_vm._v(\" \"),_c('button',{staticClass:\"remote-button\",attrs:{\"click\":\"submit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.remote_follow'))+\"\\n \")])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:{ 'dark-overlay': _vm.darkOverlay },on:{\"click\":function($event){if($event.target !== $event.currentTarget){ return null; }$event.stopPropagation();_vm.onCancel()}}},[_c('div',{staticClass:\"dialog-modal panel panel-default\",on:{\"click\":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:\"panel-heading dialog-modal-heading\"},[_c('div',{staticClass:\"title\"},[_vm._t(\"header\")],2)]),_vm._v(\" \"),_c('div',{staticClass:\"dialog-modal-content\"},[_vm._t(\"default\")],2),_vm._v(\" \"),_c('div',{staticClass:\"dialog-modal-footer user-interactions panel-footer\"},[_vm._t(\"footer\")],2)])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"block\",staticStyle:{\"position\":\"relative\"}},[_c('Popper',{attrs:{\"trigger\":\"click\",\"append-to-body\":\"\",\"options\":{\n placement: 'bottom-end',\n modifiers: {\n arrow: { enabled: true },\n offset: { offset: '0, 5px' },\n }\n }},on:{\"hide\":function($event){_vm.showDropDown = false}}},[_c('div',{staticClass:\"popper-wrapper\"},[_c('div',{staticClass:\"dropdown-menu\"},[(_vm.user.is_local)?_c('span',[_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.toggleRight(\"admin\")}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(!!_vm.user.rights.admin ? 'user_card.admin_menu.revoke_admin' : 'user_card.admin_menu.grant_admin'))+\"\\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.toggleRight(\"moderator\")}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(!!_vm.user.rights.moderator ? 'user_card.admin_menu.revoke_moderator' : 'user_card.admin_menu.grant_moderator'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"dropdown-divider\",attrs:{\"role\":\"separator\"}})]):_vm._e(),_vm._v(\" \"),_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.toggleActivationStatus()}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(!!_vm.user.deactivated ? 'user_card.admin_menu.activate_account' : 'user_card.admin_menu.deactivate_account'))+\"\\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.deleteUserDialog(true)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.admin_menu.delete_account'))+\"\\n \")]),_vm._v(\" \"),(_vm.hasTagPolicy)?_c('div',{staticClass:\"dropdown-divider\",attrs:{\"role\":\"separator\"}}):_vm._e(),_vm._v(\" \"),(_vm.hasTagPolicy)?_c('span',[_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.toggleTag(_vm.tags.FORCE_NSFW)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.admin_menu.force_nsfw'))+\"\\n \"),_c('span',{staticClass:\"menu-checkbox\",class:{ 'menu-checkbox-checked': _vm.hasTag(_vm.tags.FORCE_NSFW) }})]),_vm._v(\" \"),_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.toggleTag(_vm.tags.STRIP_MEDIA)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.admin_menu.strip_media'))+\"\\n \"),_c('span',{staticClass:\"menu-checkbox\",class:{ 'menu-checkbox-checked': _vm.hasTag(_vm.tags.STRIP_MEDIA) }})]),_vm._v(\" \"),_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.toggleTag(_vm.tags.FORCE_UNLISTED)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.admin_menu.force_unlisted'))+\"\\n \"),_c('span',{staticClass:\"menu-checkbox\",class:{ 'menu-checkbox-checked': _vm.hasTag(_vm.tags.FORCE_UNLISTED) }})]),_vm._v(\" \"),_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.toggleTag(_vm.tags.SANDBOX)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.admin_menu.sandbox'))+\"\\n \"),_c('span',{staticClass:\"menu-checkbox\",class:{ 'menu-checkbox-checked': _vm.hasTag(_vm.tags.SANDBOX) }})]),_vm._v(\" \"),(_vm.user.is_local)?_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.toggleTag(_vm.tags.DISABLE_REMOTE_SUBSCRIPTION)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.admin_menu.disable_remote_subscription'))+\"\\n \"),_c('span',{staticClass:\"menu-checkbox\",class:{ 'menu-checkbox-checked': _vm.hasTag(_vm.tags.DISABLE_REMOTE_SUBSCRIPTION) }})]):_vm._e(),_vm._v(\" \"),(_vm.user.is_local)?_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.toggleTag(_vm.tags.DISABLE_ANY_SUBSCRIPTION)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.admin_menu.disable_any_subscription'))+\"\\n \"),_c('span',{staticClass:\"menu-checkbox\",class:{ 'menu-checkbox-checked': _vm.hasTag(_vm.tags.DISABLE_ANY_SUBSCRIPTION) }})]):_vm._e(),_vm._v(\" \"),(_vm.user.is_local)?_c('button',{staticClass:\"dropdown-item\",on:{\"click\":function($event){_vm.toggleTag(_vm.tags.QUARANTINE)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.admin_menu.quarantine'))+\"\\n \"),_c('span',{staticClass:\"menu-checkbox\",class:{ 'menu-checkbox-checked': _vm.hasTag(_vm.tags.QUARANTINE) }})]):_vm._e()]):_vm._e()])]),_vm._v(\" \"),_c('button',{class:{ pressed: _vm.showDropDown },attrs:{\"slot\":\"reference\"},on:{\"click\":_vm.toggleMenu},slot:\"reference\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.admin_menu.moderation'))+\"\\n \")])]),_vm._v(\" \"),_c('portal',{attrs:{\"to\":\"modal\"}},[(_vm.showDeleteUserDialog)?_c('DialogModal',{attrs:{\"onCancel\":_vm.deleteUserDialog.bind(this, false)}},[_c('template',{slot:\"header\"},[_vm._v(_vm._s(_vm.$t('user_card.admin_menu.delete_user')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('user_card.admin_menu.delete_user_confirmation')))]),_vm._v(\" \"),_c('template',{slot:\"footer\"},[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){_vm.deleteUserDialog(false)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.cancel'))+\"\\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default danger\",on:{\"click\":function($event){_vm.deleteUser()}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.admin_menu.delete_user'))+\"\\n \")])])],2):_vm._e()],1)],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"user-card\",class:_vm.classes,style:(_vm.style)},[_c('div',{staticClass:\"panel-heading\"},[_c('div',{staticClass:\"user-info\"},[_c('div',{staticClass:\"container\"},[_c('router-link',{attrs:{\"to\":_vm.userProfileLink(_vm.user)}},[_c('UserAvatar',{attrs:{\"betterShadow\":_vm.betterShadow,\"user\":_vm.user}})],1),_vm._v(\" \"),_c('div',{staticClass:\"user-summary\"},[_c('div',{staticClass:\"top-line\"},[(_vm.user.name_html)?_c('div',{staticClass:\"user-name\",attrs:{\"title\":_vm.user.name},domProps:{\"innerHTML\":_vm._s(_vm.user.name_html)}}):_c('div',{staticClass:\"user-name\",attrs:{\"title\":_vm.user.name}},[_vm._v(_vm._s(_vm.user.name))]),_vm._v(\" \"),(!_vm.isOtherUser)?_c('router-link',{attrs:{\"to\":{ name: 'user-settings' }}},[_c('i',{staticClass:\"button-icon icon-wrench usersettings\",attrs:{\"title\":_vm.$t('tool_tip.user_settings')}})]):_vm._e(),_vm._v(\" \"),(_vm.isOtherUser && !_vm.user.is_local)?_c('a',{attrs:{\"href\":_vm.user.statusnet_profile_url,\"target\":\"_blank\"}},[_c('i',{staticClass:\"icon-link-ext usersettings\"})]):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"bottom-line\"},[_c('router-link',{staticClass:\"user-screen-name\",attrs:{\"to\":_vm.userProfileLink(_vm.user)}},[_vm._v(\"@\"+_vm._s(_vm.user.screen_name))]),_vm._v(\" \"),(!_vm.hideBio && !!_vm.visibleRole)?_c('span',{staticClass:\"alert staff\"},[_vm._v(_vm._s(_vm.visibleRole))]):_vm._e(),_vm._v(\" \"),(_vm.user.locked)?_c('span',[_c('i',{staticClass:\"icon icon-lock\"})]):_vm._e(),_vm._v(\" \"),(!_vm.hideUserStatsLocal && !_vm.hideBio)?_c('span',{staticClass:\"dailyAvg\"},[_vm._v(_vm._s(_vm.dailyAvg)+\" \"+_vm._s(_vm.$t('user_card.per_day')))]):_vm._e()],1)])],1),_vm._v(\" \"),_c('div',{staticClass:\"user-meta\"},[(_vm.user.follows_you && _vm.loggedIn && _vm.isOtherUser)?_c('div',{staticClass:\"following\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.follows_you'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isOtherUser && (_vm.loggedIn || !_vm.switcher))?_c('div',{staticClass:\"highlighter\"},[(_vm.userHighlightType !== 'disabled')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userHighlightColor),expression:\"userHighlightColor\"}],staticClass:\"userHighlightText\",attrs:{\"type\":\"text\",\"id\":'userHighlightColorTx'+_vm.user.id},domProps:{\"value\":(_vm.userHighlightColor)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.userHighlightColor=$event.target.value}}}):_vm._e(),_vm._v(\" \"),(_vm.userHighlightType !== 'disabled')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userHighlightColor),expression:\"userHighlightColor\"}],staticClass:\"userHighlightCl\",attrs:{\"type\":\"color\",\"id\":'userHighlightColor'+_vm.user.id},domProps:{\"value\":(_vm.userHighlightColor)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.userHighlightColor=$event.target.value}}}):_vm._e(),_vm._v(\" \"),_c('label',{staticClass:\"userHighlightSel select\",attrs:{\"for\":\"style-switcher\"}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userHighlightType),expression:\"userHighlightType\"}],staticClass:\"userHighlightSel\",attrs:{\"id\":'userHighlightSel'+_vm.user.id},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.userHighlightType=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"disabled\"}},[_vm._v(\"No highlight\")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"solid\"}},[_vm._v(\"Solid bg\")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"striped\"}},[_vm._v(\"Striped bg\")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"side\"}},[_vm._v(\"Side stripe\")])]),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})])]):_vm._e()]),_vm._v(\" \"),(_vm.isOtherUser)?_c('div',{staticClass:\"user-interactions\"},[(_vm.loggedIn)?_c('div',{staticClass:\"follow\"},[(_vm.user.following)?_c('span',[_c('button',{staticClass:\"pressed\",attrs:{\"disabled\":_vm.followRequestInProgress,\"title\":_vm.$t('user_card.follow_unfollow')},on:{\"click\":_vm.unfollowUser}},[(_vm.followRequestInProgress)?[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.follow_progress'))+\"\\n \")]:[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.following'))+\"\\n \")]],2)]):_vm._e(),_vm._v(\" \"),(!_vm.user.following)?_c('span',[_c('button',{attrs:{\"disabled\":_vm.followRequestInProgress,\"title\":_vm.followRequestSent ? _vm.$t('user_card.follow_again') : ''},on:{\"click\":_vm.followUser}},[(_vm.followRequestInProgress)?[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.follow_progress'))+\"\\n \")]:(_vm.followRequestSent)?[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.follow_sent'))+\"\\n \")]:[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.follow'))+\"\\n \")]],2)]):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.isOtherUser && _vm.loggedIn)?_c('div',{staticClass:\"mute\"},[(_vm.user.muted)?_c('span',[_c('button',{staticClass:\"pressed\",on:{\"click\":_vm.unmuteUser}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.muted'))+\"\\n \")])]):_vm._e(),_vm._v(\" \"),(!_vm.user.muted)?_c('span',[_c('button',{on:{\"click\":_vm.muteUser}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.mute'))+\"\\n \")])]):_vm._e()]):_vm._e(),_vm._v(\" \"),(!_vm.loggedIn && _vm.user.is_local)?_c('div',[_c('RemoteFollow',{attrs:{\"user\":_vm.user}})],1):_vm._e(),_vm._v(\" \"),(_vm.isOtherUser && _vm.loggedIn)?_c('div',{staticClass:\"block\"},[(_vm.user.statusnet_blocking)?_c('span',[_c('button',{staticClass:\"pressed\",on:{\"click\":_vm.unblockUser}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.blocked'))+\"\\n \")])]):_vm._e(),_vm._v(\" \"),(!_vm.user.statusnet_blocking)?_c('span',[_c('button',{on:{\"click\":_vm.blockUser}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.block'))+\"\\n \")])]):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.isOtherUser && _vm.loggedIn)?_c('div',{staticClass:\"block\"},[_c('span',[_c('button',{on:{\"click\":_vm.reportUser}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.report'))+\"\\n \")])])]):_vm._e(),_vm._v(\" \"),(_vm.loggedIn.role === \"admin\")?_c('ModerationTools',{attrs:{\"user\":_vm.user}}):_vm._e()],1):_vm._e()])]),_vm._v(\" \"),(!_vm.hideBio)?_c('div',{staticClass:\"panel-body\"},[(!_vm.hideUserStatsLocal && _vm.switcher)?_c('div',{staticClass:\"user-counts\"},[_c('div',{staticClass:\"user-count\",on:{\"click\":function($event){$event.preventDefault();_vm.setProfileView('statuses')}}},[_c('h5',[_vm._v(_vm._s(_vm.$t('user_card.statuses')))]),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.user.statuses_count)+\" \"),_c('br')])]),_vm._v(\" \"),_c('div',{staticClass:\"user-count\",on:{\"click\":function($event){$event.preventDefault();_vm.setProfileView('friends')}}},[_c('h5',[_vm._v(_vm._s(_vm.$t('user_card.followees')))]),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.user.friends_count))])]),_vm._v(\" \"),_c('div',{staticClass:\"user-count\",on:{\"click\":function($event){$event.preventDefault();_vm.setProfileView('followers')}}},[_c('h5',[_vm._v(_vm._s(_vm.$t('user_card.followers')))]),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.user.followers_count))])])]):_vm._e(),_vm._v(\" \"),(!_vm.hideBio && _vm.user.description_html)?_c('p',{staticClass:\"user-card-bio\",domProps:{\"innerHTML\":_vm._s(_vm.user.description_html)},on:{\"click\":function($event){$event.preventDefault();return _vm.linkClicked($event)}}}):(!_vm.hideBio)?_c('p',{staticClass:\"user-card-bio\"},[_vm._v(_vm._s(_vm.user.description))]):_vm._e()]):_vm._e()])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"galleryContainer\",staticStyle:{\"width\":\"100%\"}},_vm._l((_vm.rows),function(row){return _c('div',{staticClass:\"gallery-row\",class:{ 'contain-fit': _vm.useContainFit, 'cover-fit': !_vm.useContainFit },style:(_vm.rowHeight(row.length))},_vm._l((row),function(attachment){return _c('attachment',{key:attachment.id,attrs:{\"setMedia\":_vm.setMedia,\"nsfw\":_vm.nsfw,\"attachment\":attachment,\"allowPlay\":false}})}),1)}),0)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a',{staticClass:\"link-preview-card\",attrs:{\"href\":_vm.card.url,\"target\":\"_blank\",\"rel\":\"noopener\"}},[(_vm.useImage)?_c('div',{staticClass:\"card-image\",class:{ 'small-image': _vm.size === 'small' }},[_c('img',{attrs:{\"src\":_vm.card.image}})]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-content\"},[_c('span',{staticClass:\"card-host faint\"},[_vm._v(_vm._s(_vm.card.provider_name))]),_vm._v(\" \"),_c('h4',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.card.title))]),_vm._v(\" \"),(_vm.useDescription)?_c('p',{staticClass:\"card-description\"},[_vm._v(_vm._s(_vm.card.description))]):_vm._e()])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"avatars\"},_vm._l((_vm.slicedUsers),function(user){return _c('router-link',{key:user.id,staticClass:\"avatars-item\",attrs:{\"to\":_vm.userProfileLink(user)}},[_c('UserAvatar',{staticClass:\"avatar-small\",attrs:{\"user\":user}})],1)}),1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.hideStatus)?_c('div',{staticClass:\"status-el\",class:[{ 'status-el_focused': _vm.isFocused }, { 'status-conversation': _vm.inlineExpanded }]},[(_vm.error)?_c('div',{staticClass:\"alert error\"},[_vm._v(\"\\n \"+_vm._s(_vm.error)+\"\\n \"),_c('i',{staticClass:\"button-icon icon-cancel\",on:{\"click\":_vm.clearError}})]):_vm._e(),_vm._v(\" \"),(_vm.muted && !_vm.isPreview)?[_c('div',{staticClass:\"media status container muted\"},[_c('small',[_c('router-link',{attrs:{\"to\":_vm.userProfileLink}},[_vm._v(\"\\n \"+_vm._s(_vm.status.user.screen_name)+\"\\n \")])],1),_vm._v(\" \"),_c('small',{staticClass:\"muteWords\"},[_vm._v(_vm._s(_vm.muteWordHits.join(', ')))]),_vm._v(\" \"),_c('a',{staticClass:\"unmute\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleMute($event)}}},[_c('i',{staticClass:\"button-icon icon-eye-off\"})])])]:[(_vm.showPinned && _vm.statusoid.pinned)?_c('div',{staticClass:\"status-pin\"},[_c('i',{staticClass:\"fa icon-pin faint\"}),_vm._v(\" \"),_c('span',{staticClass:\"faint\"},[_vm._v(_vm._s(_vm.$t('status.pinned')))])]):_vm._e(),_vm._v(\" \"),(_vm.retweet && !_vm.noHeading && !_vm.inConversation)?_c('div',{staticClass:\"media container retweet-info\",class:[_vm.repeaterClass, { highlighted: _vm.repeaterStyle }],style:([_vm.repeaterStyle])},[(_vm.retweet)?_c('UserAvatar',{staticClass:\"media-left\",attrs:{\"betterShadow\":_vm.betterShadow,\"user\":_vm.statusoid.user}}):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"media-body faint\"},[_c('span',{staticClass:\"user-name\"},[(_vm.retweeterHtml)?_c('router-link',{attrs:{\"to\":_vm.retweeterProfileLink},domProps:{\"innerHTML\":_vm._s(_vm.retweeterHtml)}}):_c('router-link',{attrs:{\"to\":_vm.retweeterProfileLink}},[_vm._v(_vm._s(_vm.retweeter))])],1),_vm._v(\" \"),_c('i',{staticClass:\"fa icon-retweet retweeted\",attrs:{\"title\":_vm.$t('tool_tip.repeat')}}),_vm._v(\"\\n \"+_vm._s(_vm.$t('timeline.repeated'))+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"media status\",class:[_vm.userClass, { highlighted: _vm.userStyle, 'is-retweet': _vm.retweet && !_vm.inConversation }],style:([ _vm.userStyle ]),attrs:{\"data-tags\":_vm.tags}},[(!_vm.noHeading)?_c('div',{staticClass:\"media-left\"},[_c('router-link',{attrs:{\"to\":_vm.userProfileLink},nativeOn:{\"!click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.toggleUserExpanded($event)}}},[_c('UserAvatar',{attrs:{\"compact\":_vm.compact,\"betterShadow\":_vm.betterShadow,\"user\":_vm.status.user}})],1)],1):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"status-body\"},[(_vm.userExpanded)?_c('UserCard',{staticClass:\"status-usercard\",attrs:{\"user\":_vm.status.user,\"rounded\":true,\"bordered\":true}}):_vm._e(),_vm._v(\" \"),(!_vm.noHeading)?_c('div',{staticClass:\"media-heading\"},[_c('div',{staticClass:\"heading-name-row\"},[_c('div',{staticClass:\"name-and-account-name\"},[(_vm.status.user.name_html)?_c('h4',{staticClass:\"user-name\",domProps:{\"innerHTML\":_vm._s(_vm.status.user.name_html)}}):_c('h4',{staticClass:\"user-name\"},[_vm._v(_vm._s(_vm.status.user.name))]),_vm._v(\" \"),_c('router-link',{staticClass:\"account-name\",attrs:{\"to\":_vm.userProfileLink}},[_vm._v(\"\\n \"+_vm._s(_vm.status.user.screen_name)+\"\\n \")])],1),_vm._v(\" \"),_c('span',{staticClass:\"heading-right\"},[_c('router-link',{staticClass:\"timeago faint-link\",attrs:{\"to\":{ name: 'conversation', params: { id: _vm.status.id } }}},[_c('Timeago',{attrs:{\"time\":_vm.status.created_at,\"auto-update\":60}})],1),_vm._v(\" \"),(_vm.status.visibility)?_c('div',{staticClass:\"button-icon visibility-icon\"},[_c('i',{class:_vm.visibilityIcon(_vm.status.visibility),attrs:{\"title\":_vm._f(\"capitalize\")(_vm.status.visibility)}})]):_vm._e(),_vm._v(\" \"),(!_vm.status.is_local && !_vm.isPreview)?_c('a',{staticClass:\"source_url\",attrs:{\"href\":_vm.status.external_url,\"target\":\"_blank\",\"title\":\"Source\"}},[_c('i',{staticClass:\"button-icon icon-link-ext-alt\"})]):_vm._e(),_vm._v(\" \"),(_vm.expandable && !_vm.isPreview)?[_c('a',{attrs:{\"href\":\"#\",\"title\":\"Expand\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleExpanded($event)}}},[_c('i',{staticClass:\"button-icon icon-plus-squared\"})])]:_vm._e(),_vm._v(\" \"),(_vm.unmuted)?_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleMute($event)}}},[_c('i',{staticClass:\"button-icon icon-eye-off\"})]):_vm._e()],2)]),_vm._v(\" \"),_c('div',{staticClass:\"heading-reply-row\"},[(_vm.isReply)?_c('div',{staticClass:\"reply-to-and-accountname\"},[_c('a',{staticClass:\"reply-to\",attrs:{\"href\":\"#\",\"aria-label\":_vm.$t('tool_tip.reply')},on:{\"click\":function($event){$event.preventDefault();_vm.gotoOriginal(_vm.status.in_reply_to_status_id)},\"mouseenter\":function($event){$event.preventDefault();$event.stopPropagation();_vm.replyEnter(_vm.status.in_reply_to_status_id, $event)},\"mouseleave\":function($event){$event.preventDefault();$event.stopPropagation();_vm.replyLeave()}}},[(!_vm.isPreview)?_c('i',{staticClass:\"button-icon icon-reply\"}):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"faint-link reply-to-text\"},[_vm._v(_vm._s(_vm.$t('status.reply_to')))])]),_vm._v(\" \"),_c('router-link',{attrs:{\"to\":_vm.replyProfileLink}},[_vm._v(\"\\n \"+_vm._s(_vm.replyToName)+\"\\n \")]),_vm._v(\" \"),(_vm.replies && _vm.replies.length)?_c('span',{staticClass:\"faint replies-separator\"},[_vm._v(\"\\n -\\n \")]):_vm._e()],1):_vm._e(),_vm._v(\" \"),(_vm.inConversation && !_vm.isPreview)?_c('div',{staticClass:\"replies\"},[(_vm.replies && _vm.replies.length)?_c('span',{staticClass:\"faint\"},[_vm._v(_vm._s(_vm.$t('status.replies_list')))]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.replies),function(reply){return (_vm.replies)?_c('span',{staticClass:\"reply-link faint\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();_vm.gotoOriginal(reply.id)},\"mouseenter\":function($event){_vm.replyEnter(reply.id, $event)},\"mouseout\":function($event){_vm.replyLeave()}}},[_vm._v(_vm._s(reply.name))])]):_vm._e()})],2):_vm._e()])]):_vm._e(),_vm._v(\" \"),(_vm.showPreview)?_c('div',{staticClass:\"status-preview-container\"},[(_vm.preview)?_c('status',{staticClass:\"status-preview\",attrs:{\"isPreview\":true,\"statusoid\":_vm.preview,\"compact\":true}}):_c('div',{staticClass:\"status-preview status-preview-loading\"},[_c('i',{staticClass:\"icon-spin4 animate-spin\"})])],1):_vm._e(),_vm._v(\" \"),(_vm.longSubject)?_c('div',{staticClass:\"status-content-wrapper\",class:{ 'tall-status': !_vm.showingLongSubject }},[(!_vm.showingLongSubject)?_c('a',{staticClass:\"tall-status-hider\",class:{ 'tall-status-hider_focused': _vm.isFocused },attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();_vm.showingLongSubject=true}}},[_vm._v(_vm._s(_vm.$t(\"general.show_more\")))]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"status-content media-body\",domProps:{\"innerHTML\":_vm._s(_vm.contentHtml)},on:{\"click\":function($event){$event.preventDefault();return _vm.linkClicked($event)}}}),_vm._v(\" \"),(_vm.showingLongSubject)?_c('a',{staticClass:\"status-unhider\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();_vm.showingLongSubject=false}}},[_vm._v(_vm._s(_vm.$t(\"general.show_less\")))]):_vm._e()]):_c('div',{staticClass:\"status-content-wrapper\",class:{'tall-status': _vm.hideTallStatus}},[(_vm.hideTallStatus)?_c('a',{staticClass:\"tall-status-hider\",class:{ 'tall-status-hider_focused': _vm.isFocused },attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleShowMore($event)}}},[_vm._v(_vm._s(_vm.$t(\"general.show_more\")))]):_vm._e(),_vm._v(\" \"),(!_vm.hideSubjectStatus)?_c('div',{staticClass:\"status-content media-body\",domProps:{\"innerHTML\":_vm._s(_vm.contentHtml)},on:{\"click\":function($event){$event.preventDefault();return _vm.linkClicked($event)}}}):_c('div',{staticClass:\"status-content media-body\",domProps:{\"innerHTML\":_vm._s(_vm.status.summary_html)},on:{\"click\":function($event){$event.preventDefault();return _vm.linkClicked($event)}}}),_vm._v(\" \"),(_vm.hideSubjectStatus)?_c('a',{staticClass:\"cw-status-hider\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleShowMore($event)}}},[_vm._v(_vm._s(_vm.$t(\"general.show_more\")))]):_vm._e(),_vm._v(\" \"),(_vm.showingMore)?_c('a',{staticClass:\"status-unhider\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleShowMore($event)}}},[_vm._v(_vm._s(_vm.$t(\"general.show_less\")))]):_vm._e()]),_vm._v(\" \"),(_vm.status.poll && _vm.status.poll.options)?_c('div',[_c('poll',{attrs:{\"poll\":_vm.status.poll,\"status-id\":_vm.status.id}})],1):_vm._e(),_vm._v(\" \"),(_vm.status.attachments && (!_vm.hideSubjectStatus || _vm.showingLongSubject))?_c('div',{staticClass:\"attachments media-body\"},[_vm._l((_vm.nonGalleryAttachments),function(attachment){return _c('attachment',{key:attachment.id,staticClass:\"non-gallery\",attrs:{\"size\":_vm.attachmentSize,\"nsfw\":_vm.nsfwClickthrough,\"attachment\":attachment,\"allowPlay\":true,\"setMedia\":_vm.setMedia()}})}),_vm._v(\" \"),(_vm.galleryAttachments.length > 0)?_c('gallery',{attrs:{\"nsfw\":_vm.nsfwClickthrough,\"attachments\":_vm.galleryAttachments,\"setMedia\":_vm.setMedia()}}):_vm._e()],2):_vm._e(),_vm._v(\" \"),(_vm.status.card && !_vm.hideSubjectStatus && !_vm.noHeading)?_c('div',{staticClass:\"link-preview media-body\"},[_c('link-preview',{attrs:{\"card\":_vm.status.card,\"size\":_vm.attachmentSize,\"nsfw\":_vm.nsfwClickthrough}})],1):_vm._e(),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.isFocused && _vm.combinedFavsAndRepeatsUsers.length > 0)?_c('div',{staticClass:\"favs-repeated-users\"},[_c('div',{staticClass:\"stats\"},[(_vm.statusFromGlobalRepository.rebloggedBy && _vm.statusFromGlobalRepository.rebloggedBy.length > 0)?_c('div',{staticClass:\"stat-count\"},[_c('a',{staticClass:\"stat-title\"},[_vm._v(_vm._s(_vm.$t('status.repeats')))]),_vm._v(\" \"),_c('div',{staticClass:\"stat-number\"},[_vm._v(_vm._s(_vm.statusFromGlobalRepository.rebloggedBy.length))])]):_vm._e(),_vm._v(\" \"),(_vm.statusFromGlobalRepository.favoritedBy && _vm.statusFromGlobalRepository.favoritedBy.length > 0)?_c('div',{staticClass:\"stat-count\"},[_c('a',{staticClass:\"stat-title\"},[_vm._v(_vm._s(_vm.$t('status.favorites')))]),_vm._v(\" \"),_c('div',{staticClass:\"stat-number\"},[_vm._v(_vm._s(_vm.statusFromGlobalRepository.favoritedBy.length))])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"avatar-row\"},[_c('AvatarList',{attrs:{\"users\":_vm.combinedFavsAndRepeatsUsers}})],1)])]):_vm._e()]),_vm._v(\" \"),(!_vm.noHeading && !_vm.isPreview)?_c('div',{staticClass:\"status-actions media-body\"},[_c('div',[(_vm.loggedIn)?_c('i',{staticClass:\"button-icon icon-reply\",class:{'button-icon-active': _vm.replying},attrs:{\"title\":_vm.$t('tool_tip.reply')},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleReplying($event)}}}):_c('i',{staticClass:\"button-icon button-icon-disabled icon-reply\",attrs:{\"title\":_vm.$t('tool_tip.reply')}}),_vm._v(\" \"),(_vm.status.replies_count > 0)?_c('span',[_vm._v(_vm._s(_vm.status.replies_count))]):_vm._e()]),_vm._v(\" \"),_c('retweet-button',{attrs:{\"visibility\":_vm.status.visibility,\"loggedIn\":_vm.loggedIn,\"status\":_vm.status}}),_vm._v(\" \"),_c('favorite-button',{attrs:{\"loggedIn\":_vm.loggedIn,\"status\":_vm.status}}),_vm._v(\" \"),_c('extra-buttons',{attrs:{\"status\":_vm.status},on:{\"onError\":_vm.showError,\"onSuccess\":_vm.clearError}})],1):_vm._e()],1)]),_vm._v(\" \"),(_vm.replying)?_c('div',{staticClass:\"container\"},[_c('post-status-form',{staticClass:\"reply-body\",attrs:{\"reply-to\":_vm.status.id,\"attentions\":_vm.status.attentions,\"repliedUser\":_vm.status.user,\"copy-message-scope\":_vm.status.visibility,\"subject\":_vm.replySubject},on:{\"posted\":_vm.toggleReplying}})],1):_vm._e()]],2):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"timeline panel-default\",class:[_vm.isExpanded ? 'panel' : 'panel-disabled']},[(_vm.isExpanded)?_c('div',{staticClass:\"panel-heading conversation-heading\"},[_c('span',{staticClass:\"title\"},[_vm._v(\" \"+_vm._s(_vm.$t('timeline.conversation'))+\" \")]),_vm._v(\" \"),(_vm.collapsable)?_c('span',[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleExpanded($event)}}},[_vm._v(_vm._s(_vm.$t('timeline.collapse')))])]):_vm._e()]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.conversation),function(status){return _c('status',{key:status.id,staticClass:\"status-fadein panel-body\",attrs:{\"inlineExpanded\":_vm.collapsable && _vm.isExpanded,\"statusoid\":status,\"expandable\":!_vm.isExpanded,\"showPinned\":_vm.showPinned,\"focused\":_vm.focused(status.id),\"inConversation\":_vm.isExpanded,\"highlight\":_vm.getHighlight(),\"replies\":_vm.getReplies(status.id)},on:{\"goto\":_vm.setHighlight,\"toggleExpanded\":_vm.toggleExpanded}})})],2)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.classes.root},[_c('div',{class:_vm.classes.header},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.title)+\"\\n \")]),_vm._v(\" \"),(_vm.timelineError)?_c('div',{staticClass:\"loadmore-error alert error\",on:{\"click\":function($event){$event.preventDefault();}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('timeline.error_fetching'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.timeline.newStatusCount > 0 && !_vm.timelineError)?_c('button',{staticClass:\"loadmore-button\",on:{\"click\":function($event){$event.preventDefault();return _vm.showNewStatuses($event)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('timeline.show_new'))+_vm._s(_vm.newStatusCountStr)+\"\\n \")]):_vm._e(),_vm._v(\" \"),(!_vm.timeline.newStatusCount > 0 && !_vm.timelineError)?_c('div',{staticClass:\"loadmore-text faint\",on:{\"click\":function($event){$event.preventDefault();}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('timeline.up_to_date'))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{class:_vm.classes.body},[_c('div',{staticClass:\"timeline\"},_vm._l((_vm.timeline.visibleStatuses),function(status){return _c('conversation',{key:status.id,staticClass:\"status-fadein\",attrs:{\"statusoid\":status,\"collapsable\":true}})}),1)]),_vm._v(\" \"),_c('div',{class:_vm.classes.footer},[(_vm.count===0)?_c('div',{staticClass:\"new-status-notification text-center panel-footer faint\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('timeline.no_statuses'))+\"\\n \")]):(_vm.bottomedOut)?_c('div',{staticClass:\"new-status-notification text-center panel-footer faint\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('timeline.no_more_statuses'))+\"\\n \")]):(!_vm.timeline.loading)?_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();_vm.fetchOlderStatuses()}}},[_c('div',{staticClass:\"new-status-notification text-center panel-footer\"},[_vm._v(_vm._s(_vm.$t('timeline.load_older')))])]):_c('div',{staticClass:\"new-status-notification text-center panel-footer\"},[_c('i',{staticClass:\"icon-spin3 animate-spin\"})])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Timeline',{attrs:{\"title\":_vm.$t('nav.public_tl'),\"timeline\":_vm.timeline,\"timeline-name\":'public'}})}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Timeline',{attrs:{\"title\":_vm.$t('nav.twkn'),\"timeline\":_vm.timeline,\"timeline-name\":'publicAndExternal'}})}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Timeline',{attrs:{\"title\":_vm.$t('nav.timeline'),\"timeline\":_vm.timeline,\"timeline-name\":'friends'}})}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Timeline',{attrs:{\"title\":_vm.tag,\"timeline\":_vm.timeline,\"timeline-name\":'tag',\"tag\":_vm.tag}})}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('conversation',{attrs:{\"collapsable\":false,\"isPage\":\"true\",\"statusoid\":_vm.statusoid}})}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.notification.type === 'mention')?_c('status',{attrs:{\"compact\":true,\"statusoid\":_vm.notification.status}}):_c('div',{staticClass:\"non-mention\",class:[_vm.userClass, { highlighted: _vm.userStyle }],style:([ _vm.userStyle ])},[_c('a',{staticClass:\"avatar-container\",attrs:{\"href\":_vm.notification.from_profile.statusnet_profile_url},on:{\"!click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.toggleUserExpanded($event)}}},[_c('UserAvatar',{attrs:{\"compact\":true,\"betterShadow\":_vm.betterShadow,\"user\":_vm.notification.from_profile}})],1),_vm._v(\" \"),_c('div',{staticClass:\"notification-right\"},[(_vm.userExpanded)?_c('UserCard',{attrs:{\"user\":_vm.getUser(_vm.notification),\"rounded\":true,\"bordered\":true}}):_vm._e(),_vm._v(\" \"),_c('span',{staticClass:\"notification-details\"},[_c('div',{staticClass:\"name-and-action\"},[(!!_vm.notification.from_profile.name_html)?_c('span',{staticClass:\"username\",attrs:{\"title\":'@'+_vm.notification.from_profile.screen_name},domProps:{\"innerHTML\":_vm._s(_vm.notification.from_profile.name_html)}}):_c('span',{staticClass:\"username\",attrs:{\"title\":'@'+_vm.notification.from_profile.screen_name}},[_vm._v(_vm._s(_vm.notification.from_profile.name))]),_vm._v(\" \"),(_vm.notification.type === 'like')?_c('span',[_c('i',{staticClass:\"fa icon-star lit\"}),_vm._v(\" \"),_c('small',[_vm._v(_vm._s(_vm.$t('notifications.favorited_you')))])]):_vm._e(),_vm._v(\" \"),(_vm.notification.type === 'repeat')?_c('span',[_c('i',{staticClass:\"fa icon-retweet lit\",attrs:{\"title\":_vm.$t('tool_tip.repeat')}}),_vm._v(\" \"),_c('small',[_vm._v(_vm._s(_vm.$t('notifications.repeated_you')))])]):_vm._e(),_vm._v(\" \"),(_vm.notification.type === 'follow')?_c('span',[_c('i',{staticClass:\"fa icon-user-plus lit\"}),_vm._v(\" \"),_c('small',[_vm._v(_vm._s(_vm.$t('notifications.followed_you')))])]):_vm._e()]),_vm._v(\" \"),(_vm.notification.type === 'follow')?_c('div',{staticClass:\"timeago\"},[_c('span',{staticClass:\"faint\"},[_c('Timeago',{attrs:{\"time\":_vm.notification.created_at,\"auto-update\":240}})],1)]):_c('div',{staticClass:\"timeago\"},[(_vm.notification.status)?_c('router-link',{staticClass:\"faint-link\",attrs:{\"to\":{ name: 'conversation', params: { id: _vm.notification.status.id } }}},[_c('Timeago',{attrs:{\"time\":_vm.notification.created_at,\"auto-update\":240}})],1):_vm._e()],1)]),_vm._v(\" \"),(_vm.notification.type === 'follow')?_c('div',{staticClass:\"follow-text\"},[_c('router-link',{attrs:{\"to\":_vm.userProfileLink(_vm.notification.from_profile)}},[_vm._v(\"\\n @\"+_vm._s(_vm.notification.from_profile.screen_name)+\"\\n \")])],1):[_c('status',{staticClass:\"faint\",attrs:{\"compact\":true,\"statusoid\":_vm.notification.action,\"noHeading\":true}})]],2)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"notifications\",class:{ minimal: _vm.minimalMode }},[_c('div',{class:_vm.mainClass},[(!_vm.noHeading)?_c('div',{staticClass:\"panel-heading\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('notifications.notifications'))+\"\\n \"),(_vm.unseenCount)?_c('span',{staticClass:\"badge badge-notification unseen-count\"},[_vm._v(_vm._s(_vm.unseenCount))]):_vm._e()]),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"loadmore-error alert error\",on:{\"click\":function($event){$event.preventDefault();}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('timeline.error_fetching'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.unseenCount)?_c('button',{staticClass:\"read-button\",on:{\"click\":function($event){$event.preventDefault();return _vm.markAsSeen($event)}}},[_vm._v(_vm._s(_vm.$t('notifications.read')))]):_vm._e()]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"panel-body\"},_vm._l((_vm.visibleNotifications),function(notification){return _c('div',{key:notification.id,staticClass:\"notification\",class:{\"unseen\": !_vm.minimalMode && !notification.seen}},[_c('div',{staticClass:\"notification-overlay\"}),_vm._v(\" \"),_c('notification',{attrs:{\"notification\":notification}})],1)}),0),_vm._v(\" \"),_c('div',{staticClass:\"panel-footer\"},[(_vm.bottomedOut)?_c('div',{staticClass:\"new-status-notification text-center panel-footer faint\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('notifications.no_more_notifications'))+\"\\n \")]):(!_vm.loading)?_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();_vm.fetchOlderNotifications()}}},[_c('div',{staticClass:\"new-status-notification text-center panel-footer\"},[_vm._v(\"\\n \"+_vm._s(_vm.minimalMode ? _vm.$t('interactions.load_older') : _vm.$t('notifications.load_older'))+\"\\n \")])]):_c('div',{staticClass:\"new-status-notification text-center panel-footer\"},[_c('i',{staticClass:\"icon-spin3 animate-spin\"})])])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"panel panel-default\"},[_c('div',{staticClass:\"panel-heading\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.interactions\"))+\"\\n \")])]),_vm._v(\" \"),_c('tab-switcher',{ref:\"tabSwitcher\",attrs:{\"onSwitch\":_vm.onModeSwitch}},[_c('span',{attrs:{\"data-tab-dummy\":\"\",\"data-filter\":\"mentions\",\"label\":_vm.$t('nav.mentions')}}),_vm._v(\" \"),_c('span',{attrs:{\"data-tab-dummy\":\"\",\"data-filter\":\"likes+repeats\",\"label\":_vm.$t('interactions.favs_repeats')}}),_vm._v(\" \"),_c('span',{attrs:{\"data-tab-dummy\":\"\",\"data-filter\":\"follows\",\"label\":_vm.$t('interactions.follows')}})]),_vm._v(\" \"),_c('Notifications',{ref:\"notifications\",attrs:{\"noHeading\":true,\"minimalMode\":true,\"filterMode\":_vm.filterMode}})],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Timeline',{attrs:{\"title\":_vm.$t('nav.dms'),\"timeline\":_vm.timeline,\"timeline-name\":'dms'}})}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"basic-user-card\"},[_c('router-link',{attrs:{\"to\":_vm.userProfileLink(_vm.user)}},[_c('UserAvatar',{staticClass:\"avatar\",attrs:{\"user\":_vm.user},nativeOn:{\"click\":function($event){$event.preventDefault();return _vm.toggleUserExpanded($event)}}})],1),_vm._v(\" \"),(_vm.userExpanded)?_c('div',{staticClass:\"basic-user-card-expanded-content\"},[_c('UserCard',{attrs:{\"user\":_vm.user,\"rounded\":true,\"bordered\":true}})],1):_c('div',{staticClass:\"basic-user-card-collapsed-content\"},[_c('div',{staticClass:\"basic-user-card-user-name\",attrs:{\"title\":_vm.user.name}},[(_vm.user.name_html)?_c('span',{staticClass:\"basic-user-card-user-name-value\",domProps:{\"innerHTML\":_vm._s(_vm.user.name_html)}}):_c('span',{staticClass:\"basic-user-card-user-name-value\"},[_vm._v(_vm._s(_vm.user.name))])]),_vm._v(\" \"),_c('div',[_c('router-link',{staticClass:\"basic-user-card-screen-name\",attrs:{\"to\":_vm.userProfileLink(_vm.user)}},[_vm._v(\"\\n @\"+_vm._s(_vm.user.screen_name)+\"\\n \")])],1),_vm._v(\" \"),_vm._t(\"default\")],2)],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('basic-user-card',{attrs:{\"user\":_vm.user}},[_c('div',{staticClass:\"follow-card-content-container\"},[(!_vm.noFollowsYou && _vm.user.follows_you)?_c('span',{staticClass:\"faint\"},[_vm._v(\"\\n \"+_vm._s(_vm.isMe ? _vm.$t('user_card.its_you') : _vm.$t('user_card.follows_you'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(!_vm.loggedIn)?[(!_vm.user.following)?_c('div',{staticClass:\"follow-card-follow-button\"},[_c('RemoteFollow',{attrs:{\"user\":_vm.user}})],1):_vm._e()]:[(!_vm.user.following)?_c('button',{staticClass:\"btn btn-default follow-card-follow-button\",attrs:{\"disabled\":_vm.inProgress,\"title\":_vm.requestSent ? _vm.$t('user_card.follow_again') : ''},on:{\"click\":_vm.followUser}},[(_vm.inProgress)?[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.follow_progress'))+\"\\n \")]:(_vm.requestSent)?[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.follow_sent'))+\"\\n \")]:[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.follow'))+\"\\n \")]],2):_c('button',{staticClass:\"btn btn-default follow-card-follow-button pressed\",attrs:{\"disabled\":_vm.inProgress},on:{\"click\":_vm.unfollowUser}},[(_vm.inProgress)?[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.follow_progress'))+\"\\n \")]:[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.follow_unfollow'))+\"\\n \")]],2)]],2)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"list\"},[_vm._l((_vm.items),function(item){return _c('div',{key:_vm.getKey(item),staticClass:\"list-item\"},[_vm._t(\"item\",null,{item:item})],2)}),_vm._v(\" \"),(_vm.items.length === 0 && !!_vm.$slots.empty)?_c('div',{staticClass:\"list-empty-content faint\"},[_vm._t(\"empty\")],2):_vm._e()],2)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.user)?_c('div',{staticClass:\"user-profile panel panel-default\"},[_c('UserCard',{attrs:{\"user\":_vm.user,\"switcher\":true,\"selected\":_vm.timeline.viewing,\"rounded\":\"top\"}}),_vm._v(\" \"),_c('tab-switcher',{ref:\"tabSwitcher\",attrs:{\"renderOnlyFocused\":true}},[_c('div',{attrs:{\"label\":_vm.$t('user_card.statuses'),\"disabled\":!_vm.user.statuses_count}},[_c('div',{staticClass:\"timeline\"},[_vm._l((_vm.user.pinnedStatuseIds),function(statusId){return [(_vm.timeline.statusesObject[statusId])?_c('Conversation',{key:statusId,staticClass:\"status-fadein\",attrs:{\"statusoid\":_vm.timeline.statusesObject[statusId],\"collapsable\":true,\"showPinned\":true}}):_vm._e()]})],2),_vm._v(\" \"),_c('Timeline',{attrs:{\"count\":_vm.user.statuses_count,\"embedded\":true,\"title\":_vm.$t('user_profile.timeline_title'),\"timeline\":_vm.timeline,\"timeline-name\":'user',\"user-id\":_vm.userId}})],1),_vm._v(\" \"),(_vm.followsTabVisible)?_c('div',{attrs:{\"label\":_vm.$t('user_card.followees'),\"disabled\":!_vm.user.friends_count}},[_c('FriendList',{attrs:{\"userId\":_vm.userId},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('FollowCard',{attrs:{\"user\":item}})]}}])})],1):_vm._e(),_vm._v(\" \"),(_vm.followersTabVisible)?_c('div',{attrs:{\"label\":_vm.$t('user_card.followers'),\"disabled\":!_vm.user.followers_count}},[_c('FollowerList',{attrs:{\"userId\":_vm.userId},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('FollowCard',{attrs:{\"user\":item,\"noFollowsYou\":_vm.isUs}})]}}])})],1):_vm._e(),_vm._v(\" \"),_c('Timeline',{attrs:{\"label\":_vm.$t('user_card.media'),\"disabled\":!_vm.media.visibleStatuses.length,\"embedded\":true,\"title\":_vm.$t('user_card.media'),\"timeline-name\":\"media\",\"timeline\":_vm.media,\"user-id\":_vm.userId}}),_vm._v(\" \"),(_vm.isUs)?_c('Timeline',{attrs:{\"label\":_vm.$t('user_card.favorites'),\"disabled\":!_vm.favorites.visibleStatuses.length,\"embedded\":true,\"title\":_vm.$t('user_card.favorites'),\"timeline-name\":\"favorites\",\"timeline\":_vm.favorites}}):_vm._e()],1)],1):_c('div',{staticClass:\"panel user-profile-placeholder\"},[_c('div',{staticClass:\"panel-heading\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.profile_tab'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"panel-body\"},[(_vm.error)?_c('span',[_vm._v(_vm._s(_vm.error))]):_c('i',{staticClass:\"icon-spin3 animate-spin\"})])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"color-control style-control\",class:{ disabled: !_vm.present || _vm.disabled }},[_c('label',{staticClass:\"label\",attrs:{\"for\":_vm.name}},[_vm._v(\"\\n \"+_vm._s(_vm.label)+\"\\n \")]),_vm._v(\" \"),(typeof _vm.fallback !== 'undefined')?_c('input',{staticClass:\"opt exlcude-disabled\",attrs:{\"id\":_vm.name + '-o',\"type\":\"checkbox\"},domProps:{\"checked\":_vm.present},on:{\"input\":function($event){_vm.$emit('input', typeof _vm.value === 'undefined' ? _vm.fallback : undefined)}}}):_vm._e(),_vm._v(\" \"),(typeof _vm.fallback !== 'undefined')?_c('label',{staticClass:\"opt-l\",attrs:{\"for\":_vm.name + '-o'}}):_vm._e(),_vm._v(\" \"),_c('input',{staticClass:\"color-input\",attrs:{\"id\":_vm.name,\"type\":\"color\",\"disabled\":!_vm.present || _vm.disabled},domProps:{\"value\":_vm.value || _vm.fallback},on:{\"input\":function($event){_vm.$emit('input', $event.target.value)}}}),_vm._v(\" \"),_c('input',{staticClass:\"text-input\",attrs:{\"id\":_vm.name + '-t',\"type\":\"text\",\"disabled\":!_vm.present || _vm.disabled},domProps:{\"value\":_vm.value || _vm.fallback},on:{\"input\":function($event){_vm.$emit('input', $event.target.value)}}})])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"range-control style-control\",class:{ disabled: !_vm.present || _vm.disabled }},[_c('label',{staticClass:\"label\",attrs:{\"for\":_vm.name}},[_vm._v(\"\\n \"+_vm._s(_vm.label)+\"\\n \")]),_vm._v(\" \"),(typeof _vm.fallback !== 'undefined')?_c('input',{staticClass:\"opt exclude-disabled\",attrs:{\"id\":_vm.name + '-o',\"type\":\"checkbox\"},domProps:{\"checked\":_vm.present},on:{\"input\":function($event){_vm.$emit('input', !_vm.present ? _vm.fallback : undefined)}}}):_vm._e(),_vm._v(\" \"),(typeof _vm.fallback !== 'undefined')?_c('label',{staticClass:\"opt-l\",attrs:{\"for\":_vm.name + '-o'}}):_vm._e(),_vm._v(\" \"),_c('input',{staticClass:\"input-number\",attrs:{\"id\":_vm.name,\"type\":\"range\",\"disabled\":!_vm.present || _vm.disabled,\"max\":_vm.max || _vm.hardMax || 100,\"min\":_vm.min || _vm.hardMin || 0,\"step\":_vm.step || 1},domProps:{\"value\":_vm.value || _vm.fallback},on:{\"input\":function($event){_vm.$emit('input', $event.target.value)}}}),_vm._v(\" \"),_c('input',{staticClass:\"input-number\",attrs:{\"id\":_vm.name,\"type\":\"number\",\"disabled\":!_vm.present || _vm.disabled,\"max\":_vm.hardMax,\"min\":_vm.hardMin,\"step\":_vm.step || 1},domProps:{\"value\":_vm.value || _vm.fallback},on:{\"input\":function($event){_vm.$emit('input', $event.target.value)}}})])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"opacity-control style-control\",class:{ disabled: !_vm.present || _vm.disabled }},[_c('label',{staticClass:\"label\",attrs:{\"for\":_vm.name}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.style.common.opacity'))+\"\\n \")]),_vm._v(\" \"),(typeof _vm.fallback !== 'undefined')?_c('input',{staticClass:\"opt exclude-disabled\",attrs:{\"id\":_vm.name + '-o',\"type\":\"checkbox\"},domProps:{\"checked\":_vm.present},on:{\"input\":function($event){_vm.$emit('input', !_vm.present ? _vm.fallback : undefined)}}}):_vm._e(),_vm._v(\" \"),(typeof _vm.fallback !== 'undefined')?_c('label',{staticClass:\"opt-l\",attrs:{\"for\":_vm.name + '-o'}}):_vm._e(),_vm._v(\" \"),_c('input',{staticClass:\"input-number\",attrs:{\"id\":_vm.name,\"type\":\"number\",\"disabled\":!_vm.present || _vm.disabled,\"max\":\"1\",\"min\":\"0\",\"step\":\".05\"},domProps:{\"value\":_vm.value || _vm.fallback},on:{\"input\":function($event){_vm.$emit('input', $event.target.value)}}})])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"shadow-control\",class:{ disabled: !_vm.present }},[_c('div',{staticClass:\"shadow-preview-container\"},[_c('div',{staticClass:\"y-shift-control\",attrs:{\"disabled\":!_vm.present}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected.y),expression:\"selected.y\"}],staticClass:\"input-number\",attrs:{\"disabled\":!_vm.present,\"type\":\"number\"},domProps:{\"value\":(_vm.selected.y)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.selected, \"y\", $event.target.value)}}}),_vm._v(\" \"),_c('div',{staticClass:\"wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected.y),expression:\"selected.y\"}],staticClass:\"input-range\",attrs:{\"disabled\":!_vm.present,\"type\":\"range\",\"max\":\"20\",\"min\":\"-20\"},domProps:{\"value\":(_vm.selected.y)},on:{\"__r\":function($event){_vm.$set(_vm.selected, \"y\", $event.target.value)}}})])]),_vm._v(\" \"),_c('div',{staticClass:\"preview-window\"},[_c('div',{staticClass:\"preview-block\",style:(_vm.style)})]),_vm._v(\" \"),_c('div',{staticClass:\"x-shift-control\",attrs:{\"disabled\":!_vm.present}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected.x),expression:\"selected.x\"}],staticClass:\"input-number\",attrs:{\"disabled\":!_vm.present,\"type\":\"number\"},domProps:{\"value\":(_vm.selected.x)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.selected, \"x\", $event.target.value)}}}),_vm._v(\" \"),_c('div',{staticClass:\"wrap\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected.x),expression:\"selected.x\"}],staticClass:\"input-range\",attrs:{\"disabled\":!_vm.present,\"type\":\"range\",\"max\":\"20\",\"min\":\"-20\"},domProps:{\"value\":(_vm.selected.x)},on:{\"__r\":function($event){_vm.$set(_vm.selected, \"x\", $event.target.value)}}})])])]),_vm._v(\" \"),_c('div',{staticClass:\"shadow-tweak\"},[_c('div',{staticClass:\"id-control style-control\",attrs:{\"disabled\":_vm.usingFallback}},[_c('label',{staticClass:\"select\",attrs:{\"for\":\"shadow-switcher\",\"disabled\":!_vm.ready || _vm.usingFallback}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedId),expression:\"selectedId\"}],staticClass:\"shadow-switcher\",attrs:{\"disabled\":!_vm.ready || _vm.usingFallback,\"id\":\"shadow-switcher\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.cValue),function(shadow,index){return _c('option',{domProps:{\"value\":index}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.style.shadows.shadow_id', { value: index }))+\"\\n \")])}),0),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":!_vm.ready || !_vm.present},on:{\"click\":_vm.del}},[_c('i',{staticClass:\"icon-cancel\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":!_vm.moveUpValid},on:{\"click\":_vm.moveUp}},[_c('i',{staticClass:\"icon-up-open\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":!_vm.moveDnValid},on:{\"click\":_vm.moveDn}},[_c('i',{staticClass:\"icon-down-open\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.usingFallback},on:{\"click\":_vm.add}},[_c('i',{staticClass:\"icon-plus\"})])]),_vm._v(\" \"),_c('div',{staticClass:\"inset-control style-control\",attrs:{\"disabled\":!_vm.present}},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"inset\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.style.shadows.inset'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected.inset),expression:\"selected.inset\"}],staticClass:\"input-inset\",attrs:{\"disabled\":!_vm.present,\"name\":\"inset\",\"id\":\"inset\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.selected.inset)?_vm._i(_vm.selected.inset,null)>-1:(_vm.selected.inset)},on:{\"change\":function($event){var $$a=_vm.selected.inset,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.selected, \"inset\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.selected, \"inset\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.selected, \"inset\", $$c)}}}}),_vm._v(\" \"),_c('label',{staticClass:\"checkbox-label\",attrs:{\"for\":\"inset\"}})]),_vm._v(\" \"),_c('div',{staticClass:\"blur-control style-control\",attrs:{\"disabled\":!_vm.present}},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"spread\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.style.shadows.blur'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected.blur),expression:\"selected.blur\"}],staticClass:\"input-range\",attrs:{\"disabled\":!_vm.present,\"name\":\"blur\",\"id\":\"blur\",\"type\":\"range\",\"max\":\"20\",\"min\":\"0\"},domProps:{\"value\":(_vm.selected.blur)},on:{\"__r\":function($event){_vm.$set(_vm.selected, \"blur\", $event.target.value)}}}),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected.blur),expression:\"selected.blur\"}],staticClass:\"input-number\",attrs:{\"disabled\":!_vm.present,\"type\":\"number\",\"min\":\"0\"},domProps:{\"value\":(_vm.selected.blur)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.selected, \"blur\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"spread-control style-control\",attrs:{\"disabled\":!_vm.present}},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"spread\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.style.shadows.spread'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected.spread),expression:\"selected.spread\"}],staticClass:\"input-range\",attrs:{\"disabled\":!_vm.present,\"name\":\"spread\",\"id\":\"spread\",\"type\":\"range\",\"max\":\"20\",\"min\":\"-20\"},domProps:{\"value\":(_vm.selected.spread)},on:{\"__r\":function($event){_vm.$set(_vm.selected, \"spread\", $event.target.value)}}}),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected.spread),expression:\"selected.spread\"}],staticClass:\"input-number\",attrs:{\"disabled\":!_vm.present,\"type\":\"number\"},domProps:{\"value\":(_vm.selected.spread)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.selected, \"spread\", $event.target.value)}}})]),_vm._v(\" \"),_c('ColorInput',{attrs:{\"disabled\":!_vm.present,\"label\":_vm.$t('settings.style.common.color'),\"name\":\"shadow\"},model:{value:(_vm.selected.color),callback:function ($$v) {_vm.$set(_vm.selected, \"color\", $$v)},expression:\"selected.color\"}}),_vm._v(\" \"),_c('OpacityInput',{attrs:{\"disabled\":!_vm.present},model:{value:(_vm.selected.alpha),callback:function ($$v) {_vm.$set(_vm.selected, \"alpha\", $$v)},expression:\"selected.alpha\"}}),_vm._v(\" \"),_c('p',[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.style.shadows.hint'))+\"\\n \")])],1)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"font-control style-control\",class:{ custom: _vm.isCustom }},[_c('label',{staticClass:\"label\",attrs:{\"for\":_vm.preset === 'custom' ? _vm.name : _vm.name + '-font-switcher'}},[_vm._v(\"\\n \"+_vm._s(_vm.label)+\"\\n \")]),_vm._v(\" \"),(typeof _vm.fallback !== 'undefined')?_c('input',{staticClass:\"opt exlcude-disabled\",attrs:{\"type\":\"checkbox\",\"id\":_vm.name + '-o'},domProps:{\"checked\":_vm.present},on:{\"input\":function($event){_vm.$emit('input', typeof _vm.value === 'undefined' ? _vm.fallback : undefined)}}}):_vm._e(),_vm._v(\" \"),(typeof _vm.fallback !== 'undefined')?_c('label',{staticClass:\"opt-l\",attrs:{\"for\":_vm.name + '-o'}}):_vm._e(),_vm._v(\" \"),_c('label',{staticClass:\"select\",attrs:{\"for\":_vm.name + '-font-switcher',\"disabled\":!_vm.present}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.preset),expression:\"preset\"}],staticClass:\"font-switcher\",attrs:{\"disabled\":!_vm.present,\"id\":_vm.name + '-font-switcher'},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.preset=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.availableOptions),function(option){return _c('option',{domProps:{\"value\":option}},[_vm._v(\"\\n \"+_vm._s(option === 'custom' ? _vm.$t('settings.style.fonts.custom') : option)+\"\\n \")])}),0),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})]),_vm._v(\" \"),(_vm.isCustom)?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.family),expression:\"family\"}],staticClass:\"custom-font\",attrs:{\"type\":\"text\",\"id\":_vm.name},domProps:{\"value\":(_vm.family)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.family=$event.target.value}}}):_vm._e()])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.contrast)?_c('span',{staticClass:\"contrast-ratio\"},[_c('span',{staticClass:\"rating\",attrs:{\"title\":_vm.hint}},[(_vm.contrast.aaa)?_c('span',[_c('i',{staticClass:\"icon-thumbs-up-alt\"})]):_vm._e(),_vm._v(\" \"),(!_vm.contrast.aaa && _vm.contrast.aa)?_c('span',[_c('i',{staticClass:\"icon-adjust\"})]):_vm._e(),_vm._v(\" \"),(!_vm.contrast.aaa && !_vm.contrast.aa)?_c('span',[_c('i',{staticClass:\"icon-attention\"})]):_vm._e()]),_vm._v(\" \"),(_vm.contrast && _vm.large)?_c('span',{staticClass:\"rating\",attrs:{\"title\":_vm.hint_18pt}},[(_vm.contrast.laaa)?_c('span',[_c('i',{staticClass:\"icon-thumbs-up-alt\"})]):_vm._e(),_vm._v(\" \"),(!_vm.contrast.laaa && _vm.contrast.laa)?_c('span',[_c('i',{staticClass:\"icon-adjust\"})]):_vm._e(),_vm._v(\" \"),(!_vm.contrast.laaa && !_vm.contrast.laa)?_c('span',[_c('i',{staticClass:\"icon-attention\"})]):_vm._e()]):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"import-export-container\"},[_vm._t(\"before\"),_vm._v(\" \"),_c('button',{staticClass:\"btn\",on:{\"click\":_vm.exportData}},[_vm._v(_vm._s(_vm.exportLabel))]),_vm._v(\" \"),_c('button',{staticClass:\"btn\",on:{\"click\":_vm.importData}},[_vm._v(_vm._s(_vm.importLabel))]),_vm._v(\" \"),_vm._t(\"afterButtons\"),_vm._v(\" \"),(_vm.importFailed)?_c('p',{staticClass:\"alert error\"},[_vm._v(_vm._s(_vm.importFailedText))]):_vm._e(),_vm._v(\" \"),_vm._t(\"afterError\")],2)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"style-switcher\"},[_c('div',{staticClass:\"presets-container\"},[_c('div',{staticClass:\"save-load\"},[_c('export-import',{attrs:{\"exportObject\":_vm.exportedTheme,\"exportLabel\":_vm.$t(\"settings.export_theme\"),\"importLabel\":_vm.$t(\"settings.import_theme\"),\"importFailedText\":_vm.$t(\"settings.invalid_theme_imported\"),\"onImport\":_vm.onImport,\"validator\":_vm.importValidator}},[_c('template',{slot:\"before\"},[_c('div',{staticClass:\"presets\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.presets'))+\"\\n \"),_c('label',{staticClass:\"select\",attrs:{\"for\":\"preset-switcher\"}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected),expression:\"selected\"}],staticClass:\"preset-switcher\",attrs:{\"id\":\"preset-switcher\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selected=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.availableStyles),function(style){return _c('option',{style:({\n backgroundColor: style[1] || style.theme.colors.bg,\n color: style[3] || style.theme.colors.text\n }),domProps:{\"value\":style}},[_vm._v(\"\\n \"+_vm._s(style[0] || style.name)+\"\\n \")])}),0),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})])])])],2)],1),_vm._v(\" \"),_c('div',{staticClass:\"save-load-options\"},[_c('span',{staticClass:\"keep-option\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.keepColor),expression:\"keepColor\"}],attrs:{\"id\":\"keep-color\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.keepColor)?_vm._i(_vm.keepColor,null)>-1:(_vm.keepColor)},on:{\"change\":function($event){var $$a=_vm.keepColor,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.keepColor=$$a.concat([$$v]))}else{$$i>-1&&(_vm.keepColor=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.keepColor=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"keep-color\"}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.keep_color')))])]),_vm._v(\" \"),_c('span',{staticClass:\"keep-option\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.keepShadows),expression:\"keepShadows\"}],attrs:{\"id\":\"keep-shadows\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.keepShadows)?_vm._i(_vm.keepShadows,null)>-1:(_vm.keepShadows)},on:{\"change\":function($event){var $$a=_vm.keepShadows,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.keepShadows=$$a.concat([$$v]))}else{$$i>-1&&(_vm.keepShadows=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.keepShadows=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"keep-shadows\"}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.keep_shadows')))])]),_vm._v(\" \"),_c('span',{staticClass:\"keep-option\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.keepOpacity),expression:\"keepOpacity\"}],attrs:{\"id\":\"keep-opacity\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.keepOpacity)?_vm._i(_vm.keepOpacity,null)>-1:(_vm.keepOpacity)},on:{\"change\":function($event){var $$a=_vm.keepOpacity,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.keepOpacity=$$a.concat([$$v]))}else{$$i>-1&&(_vm.keepOpacity=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.keepOpacity=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"keep-opacity\"}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.keep_opacity')))])]),_vm._v(\" \"),_c('span',{staticClass:\"keep-option\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.keepRoundness),expression:\"keepRoundness\"}],attrs:{\"id\":\"keep-roundness\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.keepRoundness)?_vm._i(_vm.keepRoundness,null)>-1:(_vm.keepRoundness)},on:{\"change\":function($event){var $$a=_vm.keepRoundness,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.keepRoundness=$$a.concat([$$v]))}else{$$i>-1&&(_vm.keepRoundness=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.keepRoundness=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"keep-roundness\"}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.keep_roundness')))])]),_vm._v(\" \"),_c('span',{staticClass:\"keep-option\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.keepFonts),expression:\"keepFonts\"}],attrs:{\"id\":\"keep-fonts\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.keepFonts)?_vm._i(_vm.keepFonts,null)>-1:(_vm.keepFonts)},on:{\"change\":function($event){var $$a=_vm.keepFonts,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.keepFonts=$$a.concat([$$v]))}else{$$i>-1&&(_vm.keepFonts=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.keepFonts=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"keep-fonts\"}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.keep_fonts')))])]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.style.switcher.save_load_hint')))])])]),_vm._v(\" \"),_c('div',{staticClass:\"preview-container\"},[_c('preview',{style:(_vm.previewRules)})],1),_vm._v(\" \"),_c('keep-alive',[_c('tab-switcher',{key:\"style-tweak\"},[_c('div',{staticClass:\"color-container\",attrs:{\"label\":_vm.$t('settings.style.common_colors._tab_label')}},[_c('div',{staticClass:\"tab-header\"},[_c('p',[_vm._v(_vm._s(_vm.$t('settings.theme_help')))]),_vm._v(\" \"),_c('button',{staticClass:\"btn\",on:{\"click\":_vm.clearOpacity}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_opacity')))]),_vm._v(\" \"),_c('button',{staticClass:\"btn\",on:{\"click\":_vm.clearV1}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_all')))])]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.theme_help_v2_1')))]),_vm._v(\" \"),_c('h4',[_vm._v(_vm._s(_vm.$t('settings.style.common_colors.main')))]),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('ColorInput',{attrs:{\"name\":\"bgColor\",\"label\":_vm.$t('settings.background')},model:{value:(_vm.bgColorLocal),callback:function ($$v) {_vm.bgColorLocal=$$v},expression:\"bgColorLocal\"}}),_vm._v(\" \"),_c('OpacityInput',{attrs:{\"name\":\"bgOpacity\",\"fallback\":_vm.previewTheme.opacity.bg || 1},model:{value:(_vm.bgOpacityLocal),callback:function ($$v) {_vm.bgOpacityLocal=$$v},expression:\"bgOpacityLocal\"}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"textColor\",\"label\":_vm.$t('settings.text')},model:{value:(_vm.textColorLocal),callback:function ($$v) {_vm.textColorLocal=$$v},expression:\"textColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.bgText}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"linkColor\",\"label\":_vm.$t('settings.links')},model:{value:(_vm.linkColorLocal),callback:function ($$v) {_vm.linkColorLocal=$$v},expression:\"linkColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.bgLink}})],1),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('ColorInput',{attrs:{\"name\":\"fgColor\",\"label\":_vm.$t('settings.foreground')},model:{value:(_vm.fgColorLocal),callback:function ($$v) {_vm.fgColorLocal=$$v},expression:\"fgColorLocal\"}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"fgTextColor\",\"label\":_vm.$t('settings.text'),\"fallback\":_vm.previewTheme.colors.fgText},model:{value:(_vm.fgTextColorLocal),callback:function ($$v) {_vm.fgTextColorLocal=$$v},expression:\"fgTextColorLocal\"}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"fgLinkColor\",\"label\":_vm.$t('settings.links'),\"fallback\":_vm.previewTheme.colors.fgLink},model:{value:(_vm.fgLinkColorLocal),callback:function ($$v) {_vm.fgLinkColorLocal=$$v},expression:\"fgLinkColorLocal\"}}),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.style.common_colors.foreground_hint')))])],1),_vm._v(\" \"),_c('h4',[_vm._v(_vm._s(_vm.$t('settings.style.common_colors.rgbo')))]),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('ColorInput',{attrs:{\"name\":\"cRedColor\",\"label\":_vm.$t('settings.cRed')},model:{value:(_vm.cRedColorLocal),callback:function ($$v) {_vm.cRedColorLocal=$$v},expression:\"cRedColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.bgRed}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"cBlueColor\",\"label\":_vm.$t('settings.cBlue')},model:{value:(_vm.cBlueColorLocal),callback:function ($$v) {_vm.cBlueColorLocal=$$v},expression:\"cBlueColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.bgBlue}})],1),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('ColorInput',{attrs:{\"name\":\"cGreenColor\",\"label\":_vm.$t('settings.cGreen')},model:{value:(_vm.cGreenColorLocal),callback:function ($$v) {_vm.cGreenColorLocal=$$v},expression:\"cGreenColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.bgGreen}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"cOrangeColor\",\"label\":_vm.$t('settings.cOrange')},model:{value:(_vm.cOrangeColorLocal),callback:function ($$v) {_vm.cOrangeColorLocal=$$v},expression:\"cOrangeColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.bgOrange}})],1),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.theme_help_v2_2')))])]),_vm._v(\" \"),_c('div',{staticClass:\"color-container\",attrs:{\"label\":_vm.$t('settings.style.advanced_colors._tab_label')}},[_c('div',{staticClass:\"tab-header\"},[_c('p',[_vm._v(_vm._s(_vm.$t('settings.theme_help')))]),_vm._v(\" \"),_c('button',{staticClass:\"btn\",on:{\"click\":_vm.clearOpacity}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_opacity')))]),_vm._v(\" \"),_c('button',{staticClass:\"btn\",on:{\"click\":_vm.clearV1}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_all')))])]),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('h4',[_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.alert')))]),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"alertError\",\"label\":_vm.$t('settings.style.advanced_colors.alert_error'),\"fallback\":_vm.previewTheme.colors.alertError},model:{value:(_vm.alertErrorColorLocal),callback:function ($$v) {_vm.alertErrorColorLocal=$$v},expression:\"alertErrorColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.alertError}})],1),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('h4',[_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.badge')))]),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"badgeNotification\",\"label\":_vm.$t('settings.style.advanced_colors.badge_notification'),\"fallback\":_vm.previewTheme.colors.badgeNotification},model:{value:(_vm.badgeNotificationColorLocal),callback:function ($$v) {_vm.badgeNotificationColorLocal=$$v},expression:\"badgeNotificationColorLocal\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('h4',[_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.panel_header')))]),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"panelColor\",\"fallback\":_vm.fgColorLocal,\"label\":_vm.$t('settings.background')},model:{value:(_vm.panelColorLocal),callback:function ($$v) {_vm.panelColorLocal=$$v},expression:\"panelColorLocal\"}}),_vm._v(\" \"),_c('OpacityInput',{attrs:{\"name\":\"panelOpacity\",\"fallback\":_vm.previewTheme.opacity.panel || 1},model:{value:(_vm.panelOpacityLocal),callback:function ($$v) {_vm.panelOpacityLocal=$$v},expression:\"panelOpacityLocal\"}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"panelTextColor\",\"fallback\":_vm.previewTheme.colors.panelText,\"label\":_vm.$t('settings.text')},model:{value:(_vm.panelTextColorLocal),callback:function ($$v) {_vm.panelTextColorLocal=$$v},expression:\"panelTextColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.panelText,\"large\":\"1\"}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"panelLinkColor\",\"fallback\":_vm.previewTheme.colors.panelLink,\"label\":_vm.$t('settings.links')},model:{value:(_vm.panelLinkColorLocal),callback:function ($$v) {_vm.panelLinkColorLocal=$$v},expression:\"panelLinkColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.panelLink,\"large\":\"1\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('h4',[_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.top_bar')))]),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"topBarColor\",\"fallback\":_vm.fgColorLocal,\"label\":_vm.$t('settings.background')},model:{value:(_vm.topBarColorLocal),callback:function ($$v) {_vm.topBarColorLocal=$$v},expression:\"topBarColorLocal\"}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"topBarTextColor\",\"fallback\":_vm.previewTheme.colors.topBarText,\"label\":_vm.$t('settings.text')},model:{value:(_vm.topBarTextColorLocal),callback:function ($$v) {_vm.topBarTextColorLocal=$$v},expression:\"topBarTextColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.topBarText}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"topBarLinkColor\",\"fallback\":_vm.previewTheme.colors.topBarLink,\"label\":_vm.$t('settings.links')},model:{value:(_vm.topBarLinkColorLocal),callback:function ($$v) {_vm.topBarLinkColorLocal=$$v},expression:\"topBarLinkColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.topBarLink}})],1),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('h4',[_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.inputs')))]),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"inputColor\",\"fallback\":_vm.fgColorLocal,\"label\":_vm.$t('settings.background')},model:{value:(_vm.inputColorLocal),callback:function ($$v) {_vm.inputColorLocal=$$v},expression:\"inputColorLocal\"}}),_vm._v(\" \"),_c('OpacityInput',{attrs:{\"name\":\"inputOpacity\",\"fallback\":_vm.previewTheme.opacity.input || 1},model:{value:(_vm.inputOpacityLocal),callback:function ($$v) {_vm.inputOpacityLocal=$$v},expression:\"inputOpacityLocal\"}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"inputTextColor\",\"fallback\":_vm.previewTheme.colors.inputText,\"label\":_vm.$t('settings.text')},model:{value:(_vm.inputTextColorLocal),callback:function ($$v) {_vm.inputTextColorLocal=$$v},expression:\"inputTextColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.inputText}})],1),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('h4',[_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.buttons')))]),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"btnColor\",\"fallback\":_vm.fgColorLocal,\"label\":_vm.$t('settings.background')},model:{value:(_vm.btnColorLocal),callback:function ($$v) {_vm.btnColorLocal=$$v},expression:\"btnColorLocal\"}}),_vm._v(\" \"),_c('OpacityInput',{attrs:{\"name\":\"btnOpacity\",\"fallback\":_vm.previewTheme.opacity.btn || 1},model:{value:(_vm.btnOpacityLocal),callback:function ($$v) {_vm.btnOpacityLocal=$$v},expression:\"btnOpacityLocal\"}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"btnTextColor\",\"fallback\":_vm.previewTheme.colors.btnText,\"label\":_vm.$t('settings.text')},model:{value:(_vm.btnTextColorLocal),callback:function ($$v) {_vm.btnTextColorLocal=$$v},expression:\"btnTextColorLocal\"}}),_vm._v(\" \"),_c('ContrastRatio',{attrs:{\"contrast\":_vm.previewContrast.btnText}})],1),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('h4',[_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.borders')))]),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"borderColor\",\"fallback\":_vm.previewTheme.colors.border,\"label\":_vm.$t('settings.style.common.color')},model:{value:(_vm.borderColorLocal),callback:function ($$v) {_vm.borderColorLocal=$$v},expression:\"borderColorLocal\"}}),_vm._v(\" \"),_c('OpacityInput',{attrs:{\"name\":\"borderOpacity\",\"fallback\":_vm.previewTheme.opacity.border || 1},model:{value:(_vm.borderOpacityLocal),callback:function ($$v) {_vm.borderOpacityLocal=$$v},expression:\"borderOpacityLocal\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"color-item\"},[_c('h4',[_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.faint_text')))]),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"faintColor\",\"fallback\":_vm.previewTheme.colors.faint || 1,\"label\":_vm.$t('settings.text')},model:{value:(_vm.faintColorLocal),callback:function ($$v) {_vm.faintColorLocal=$$v},expression:\"faintColorLocal\"}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"faintLinkColor\",\"fallback\":_vm.previewTheme.colors.faintLink,\"label\":_vm.$t('settings.links')},model:{value:(_vm.faintLinkColorLocal),callback:function ($$v) {_vm.faintLinkColorLocal=$$v},expression:\"faintLinkColorLocal\"}}),_vm._v(\" \"),_c('ColorInput',{attrs:{\"name\":\"panelFaintColor\",\"fallback\":_vm.previewTheme.colors.panelFaint,\"label\":_vm.$t('settings.style.advanced_colors.panel_header')},model:{value:(_vm.panelFaintColorLocal),callback:function ($$v) {_vm.panelFaintColorLocal=$$v},expression:\"panelFaintColorLocal\"}}),_vm._v(\" \"),_c('OpacityInput',{attrs:{\"name\":\"faintOpacity\",\"fallback\":_vm.previewTheme.opacity.faint || 0.5},model:{value:(_vm.faintOpacityLocal),callback:function ($$v) {_vm.faintOpacityLocal=$$v},expression:\"faintOpacityLocal\"}})],1)]),_vm._v(\" \"),_c('div',{staticClass:\"radius-container\",attrs:{\"label\":_vm.$t('settings.style.radii._tab_label')}},[_c('div',{staticClass:\"tab-header\"},[_c('p',[_vm._v(_vm._s(_vm.$t('settings.radii_help')))]),_vm._v(\" \"),_c('button',{staticClass:\"btn\",on:{\"click\":_vm.clearRoundness}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_all')))])]),_vm._v(\" \"),_c('RangeInput',{attrs:{\"name\":\"btnRadius\",\"label\":_vm.$t('settings.btnRadius'),\"fallback\":_vm.previewTheme.radii.btn,\"max\":\"16\",\"hardMin\":\"0\"},model:{value:(_vm.btnRadiusLocal),callback:function ($$v) {_vm.btnRadiusLocal=$$v},expression:\"btnRadiusLocal\"}}),_vm._v(\" \"),_c('RangeInput',{attrs:{\"name\":\"inputRadius\",\"label\":_vm.$t('settings.inputRadius'),\"fallback\":_vm.previewTheme.radii.input,\"max\":\"9\",\"hardMin\":\"0\"},model:{value:(_vm.inputRadiusLocal),callback:function ($$v) {_vm.inputRadiusLocal=$$v},expression:\"inputRadiusLocal\"}}),_vm._v(\" \"),_c('RangeInput',{attrs:{\"name\":\"checkboxRadius\",\"label\":_vm.$t('settings.checkboxRadius'),\"fallback\":_vm.previewTheme.radii.checkbox,\"max\":\"16\",\"hardMin\":\"0\"},model:{value:(_vm.checkboxRadiusLocal),callback:function ($$v) {_vm.checkboxRadiusLocal=$$v},expression:\"checkboxRadiusLocal\"}}),_vm._v(\" \"),_c('RangeInput',{attrs:{\"name\":\"panelRadius\",\"label\":_vm.$t('settings.panelRadius'),\"fallback\":_vm.previewTheme.radii.panel,\"max\":\"50\",\"hardMin\":\"0\"},model:{value:(_vm.panelRadiusLocal),callback:function ($$v) {_vm.panelRadiusLocal=$$v},expression:\"panelRadiusLocal\"}}),_vm._v(\" \"),_c('RangeInput',{attrs:{\"name\":\"avatarRadius\",\"label\":_vm.$t('settings.avatarRadius'),\"fallback\":_vm.previewTheme.radii.avatar,\"max\":\"28\",\"hardMin\":\"0\"},model:{value:(_vm.avatarRadiusLocal),callback:function ($$v) {_vm.avatarRadiusLocal=$$v},expression:\"avatarRadiusLocal\"}}),_vm._v(\" \"),_c('RangeInput',{attrs:{\"name\":\"avatarAltRadius\",\"label\":_vm.$t('settings.avatarAltRadius'),\"fallback\":_vm.previewTheme.radii.avatarAlt,\"max\":\"28\",\"hardMin\":\"0\"},model:{value:(_vm.avatarAltRadiusLocal),callback:function ($$v) {_vm.avatarAltRadiusLocal=$$v},expression:\"avatarAltRadiusLocal\"}}),_vm._v(\" \"),_c('RangeInput',{attrs:{\"name\":\"attachmentRadius\",\"label\":_vm.$t('settings.attachmentRadius'),\"fallback\":_vm.previewTheme.radii.attachment,\"max\":\"50\",\"hardMin\":\"0\"},model:{value:(_vm.attachmentRadiusLocal),callback:function ($$v) {_vm.attachmentRadiusLocal=$$v},expression:\"attachmentRadiusLocal\"}}),_vm._v(\" \"),_c('RangeInput',{attrs:{\"name\":\"tooltipRadius\",\"label\":_vm.$t('settings.tooltipRadius'),\"fallback\":_vm.previewTheme.radii.tooltip,\"max\":\"50\",\"hardMin\":\"0\"},model:{value:(_vm.tooltipRadiusLocal),callback:function ($$v) {_vm.tooltipRadiusLocal=$$v},expression:\"tooltipRadiusLocal\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"shadow-container\",attrs:{\"label\":_vm.$t('settings.style.shadows._tab_label')}},[_c('div',{staticClass:\"tab-header shadow-selector\"},[_c('div',{staticClass:\"select-container\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.style.shadows.component'))+\"\\n \"),_c('label',{staticClass:\"select\",attrs:{\"for\":\"shadow-switcher\"}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.shadowSelected),expression:\"shadowSelected\"}],staticClass:\"shadow-switcher\",attrs:{\"id\":\"shadow-switcher\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.shadowSelected=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.shadowsAvailable),function(shadow){return _c('option',{domProps:{\"value\":shadow}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.style.shadows.components.' + shadow))+\"\\n \")])}),0),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})])]),_vm._v(\" \"),_c('div',{staticClass:\"override\"},[_c('label',{staticClass:\"label\",attrs:{\"for\":\"override\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.style.shadows.override'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currentShadowOverriden),expression:\"currentShadowOverriden\"}],staticClass:\"input-override\",attrs:{\"name\":\"override\",\"id\":\"override\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.currentShadowOverriden)?_vm._i(_vm.currentShadowOverriden,null)>-1:(_vm.currentShadowOverriden)},on:{\"change\":function($event){var $$a=_vm.currentShadowOverriden,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.currentShadowOverriden=$$a.concat([$$v]))}else{$$i>-1&&(_vm.currentShadowOverriden=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.currentShadowOverriden=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"checkbox-label\",attrs:{\"for\":\"override\"}})]),_vm._v(\" \"),_c('button',{staticClass:\"btn\",on:{\"click\":_vm.clearShadows}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_all')))])]),_vm._v(\" \"),_c('shadow-control',{attrs:{\"ready\":!!_vm.currentShadowFallback,\"fallback\":_vm.currentShadowFallback},model:{value:(_vm.currentShadow),callback:function ($$v) {_vm.currentShadow=$$v},expression:\"currentShadow\"}}),_vm._v(\" \"),(_vm.shadowSelected === 'avatar' || _vm.shadowSelected === 'avatarStatus')?_c('div',[_c('i18n',{attrs:{\"path\":\"settings.style.shadows.filter_hint.always_drop_shadow\",\"tag\":\"p\"}},[_c('code',[_vm._v(\"filter: drop-shadow()\")])]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.style.shadows.filter_hint.avatar_inset')))]),_vm._v(\" \"),_c('i18n',{attrs:{\"path\":\"settings.style.shadows.filter_hint.drop_shadow_syntax\",\"tag\":\"p\"}},[_c('code',[_vm._v(\"drop-shadow\")]),_vm._v(\" \"),_c('code',[_vm._v(\"spread-radius\")]),_vm._v(\" \"),_c('code',[_vm._v(\"inset\")])]),_vm._v(\" \"),_c('i18n',{attrs:{\"path\":\"settings.style.shadows.filter_hint.inset_classic\",\"tag\":\"p\"}},[_c('code',[_vm._v(\"box-shadow\")])]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.style.shadows.filter_hint.spread_zero')))])],1):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"fonts-container\",attrs:{\"label\":_vm.$t('settings.style.fonts._tab_label')}},[_c('div',{staticClass:\"tab-header\"},[_c('p',[_vm._v(_vm._s(_vm.$t('settings.style.fonts.help')))]),_vm._v(\" \"),_c('button',{staticClass:\"btn\",on:{\"click\":_vm.clearFonts}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_all')))])]),_vm._v(\" \"),_c('FontControl',{attrs:{\"name\":\"ui\",\"label\":_vm.$t('settings.style.fonts.components.interface'),\"fallback\":_vm.previewTheme.fonts.interface,\"no-inherit\":\"1\"},model:{value:(_vm.fontsLocal.interface),callback:function ($$v) {_vm.$set(_vm.fontsLocal, \"interface\", $$v)},expression:\"fontsLocal.interface\"}}),_vm._v(\" \"),_c('FontControl',{attrs:{\"name\":\"input\",\"label\":_vm.$t('settings.style.fonts.components.input'),\"fallback\":_vm.previewTheme.fonts.input},model:{value:(_vm.fontsLocal.input),callback:function ($$v) {_vm.$set(_vm.fontsLocal, \"input\", $$v)},expression:\"fontsLocal.input\"}}),_vm._v(\" \"),_c('FontControl',{attrs:{\"name\":\"post\",\"label\":_vm.$t('settings.style.fonts.components.post'),\"fallback\":_vm.previewTheme.fonts.post},model:{value:(_vm.fontsLocal.post),callback:function ($$v) {_vm.$set(_vm.fontsLocal, \"post\", $$v)},expression:\"fontsLocal.post\"}}),_vm._v(\" \"),_c('FontControl',{attrs:{\"name\":\"postCode\",\"label\":_vm.$t('settings.style.fonts.components.postCode'),\"fallback\":_vm.previewTheme.fonts.postCode},model:{value:(_vm.fontsLocal.postCode),callback:function ($$v) {_vm.$set(_vm.fontsLocal, \"postCode\", $$v)},expression:\"fontsLocal.postCode\"}})],1)])],1),_vm._v(\" \"),_c('div',{staticClass:\"apply-container\"},[_c('button',{staticClass:\"btn submit\",attrs:{\"disabled\":!_vm.themeValid},on:{\"click\":_vm.setCustomTheme}},[_vm._v(_vm._s(_vm.$t('general.apply')))]),_vm._v(\" \"),_c('button',{staticClass:\"btn\",on:{\"click\":_vm.clearAll}},[_vm._v(_vm._s(_vm.$t('settings.style.switcher.reset')))])])],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('label',{attrs:{\"for\":\"interface-language-switcher\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.interfaceLanguage'))+\"\\n \")]),_vm._v(\" \"),_c('label',{staticClass:\"select\",attrs:{\"for\":\"interface-language-switcher\"}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.language),expression:\"language\"}],attrs:{\"id\":\"interface-language-switcher\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.language=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.languageCodes),function(langCode,i){return _c('option',{domProps:{\"value\":langCode}},[_vm._v(\"\\n \"+_vm._s(_vm.languageNames[i])+\"\\n \")])}),0),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"settings panel panel-default\"},[_c('div',{staticClass:\"panel-heading\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.settings'))+\"\\n \")]),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.currentSaveStateNotice)?[(_vm.currentSaveStateNotice.error)?_c('div',{staticClass:\"alert error\",on:{\"click\":function($event){$event.preventDefault();}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.saving_err'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(!_vm.currentSaveStateNotice.error)?_c('div',{staticClass:\"alert transparent\",on:{\"click\":function($event){$event.preventDefault();}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.saving_ok'))+\"\\n \")]):_vm._e()]:_vm._e()],2)],1),_vm._v(\" \"),_c('div',{staticClass:\"panel-body\"},[_c('keep-alive',[_c('tab-switcher',[_c('div',{attrs:{\"label\":_vm.$t('settings.general')}},[_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.interface')))]),_vm._v(\" \"),_c('ul',{staticClass:\"setting-list\"},[_c('li',[_c('interface-language-switcher')],1),_vm._v(\" \"),(_vm.instanceSpecificPanelPresent)?_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideISPLocal),expression:\"hideISPLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"hideISP\"},domProps:{\"checked\":Array.isArray(_vm.hideISPLocal)?_vm._i(_vm.hideISPLocal,null)>-1:(_vm.hideISPLocal)},on:{\"change\":function($event){var $$a=_vm.hideISPLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideISPLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideISPLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideISPLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"hideISP\"}},[_vm._v(_vm._s(_vm.$t('settings.hide_isp')))])]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('nav.timeline')))]),_vm._v(\" \"),_c('ul',{staticClass:\"setting-list\"},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideMutedPostsLocal),expression:\"hideMutedPostsLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"hideMutedPosts\"},domProps:{\"checked\":Array.isArray(_vm.hideMutedPostsLocal)?_vm._i(_vm.hideMutedPostsLocal,null)>-1:(_vm.hideMutedPostsLocal)},on:{\"change\":function($event){var $$a=_vm.hideMutedPostsLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideMutedPostsLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideMutedPostsLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideMutedPostsLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"hideMutedPosts\"}},[_vm._v(_vm._s(_vm.$t('settings.hide_muted_posts'))+\" \"+_vm._s(_vm.$t('settings.instance_default', { value: _vm.hideMutedPostsDefault })))])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.collapseMessageWithSubjectLocal),expression:\"collapseMessageWithSubjectLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"collapseMessageWithSubject\"},domProps:{\"checked\":Array.isArray(_vm.collapseMessageWithSubjectLocal)?_vm._i(_vm.collapseMessageWithSubjectLocal,null)>-1:(_vm.collapseMessageWithSubjectLocal)},on:{\"change\":function($event){var $$a=_vm.collapseMessageWithSubjectLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.collapseMessageWithSubjectLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.collapseMessageWithSubjectLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.collapseMessageWithSubjectLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"collapseMessageWithSubject\"}},[_vm._v(_vm._s(_vm.$t('settings.collapse_subject'))+\" \"+_vm._s(_vm.$t('settings.instance_default', { value: _vm.collapseMessageWithSubjectDefault })))])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.streamingLocal),expression:\"streamingLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"streaming\"},domProps:{\"checked\":Array.isArray(_vm.streamingLocal)?_vm._i(_vm.streamingLocal,null)>-1:(_vm.streamingLocal)},on:{\"change\":function($event){var $$a=_vm.streamingLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.streamingLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.streamingLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.streamingLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"streaming\"}},[_vm._v(_vm._s(_vm.$t('settings.streaming')))]),_vm._v(\" \"),_c('ul',{staticClass:\"setting-list suboptions\",class:[{disabled: !_vm.streamingLocal}]},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.pauseOnUnfocusedLocal),expression:\"pauseOnUnfocusedLocal\"}],attrs:{\"disabled\":!_vm.streamingLocal,\"type\":\"checkbox\",\"id\":\"pauseOnUnfocused\"},domProps:{\"checked\":Array.isArray(_vm.pauseOnUnfocusedLocal)?_vm._i(_vm.pauseOnUnfocusedLocal,null)>-1:(_vm.pauseOnUnfocusedLocal)},on:{\"change\":function($event){var $$a=_vm.pauseOnUnfocusedLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.pauseOnUnfocusedLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.pauseOnUnfocusedLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.pauseOnUnfocusedLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"pauseOnUnfocused\"}},[_vm._v(_vm._s(_vm.$t('settings.pause_on_unfocused')))])])])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.autoLoadLocal),expression:\"autoLoadLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"autoload\"},domProps:{\"checked\":Array.isArray(_vm.autoLoadLocal)?_vm._i(_vm.autoLoadLocal,null)>-1:(_vm.autoLoadLocal)},on:{\"change\":function($event){var $$a=_vm.autoLoadLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.autoLoadLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.autoLoadLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.autoLoadLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"autoload\"}},[_vm._v(_vm._s(_vm.$t('settings.autoload')))])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hoverPreviewLocal),expression:\"hoverPreviewLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"hoverPreview\"},domProps:{\"checked\":Array.isArray(_vm.hoverPreviewLocal)?_vm._i(_vm.hoverPreviewLocal,null)>-1:(_vm.hoverPreviewLocal)},on:{\"change\":function($event){var $$a=_vm.hoverPreviewLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hoverPreviewLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hoverPreviewLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hoverPreviewLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"hoverPreview\"}},[_vm._v(_vm._s(_vm.$t('settings.reply_link_preview')))])])])]),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.composing')))]),_vm._v(\" \"),_c('ul',{staticClass:\"setting-list\"},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.scopeCopyLocal),expression:\"scopeCopyLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"scopeCopy\"},domProps:{\"checked\":Array.isArray(_vm.scopeCopyLocal)?_vm._i(_vm.scopeCopyLocal,null)>-1:(_vm.scopeCopyLocal)},on:{\"change\":function($event){var $$a=_vm.scopeCopyLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.scopeCopyLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.scopeCopyLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.scopeCopyLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"scopeCopy\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.scope_copy'))+\" \"+_vm._s(_vm.$t('settings.instance_default', { value: _vm.scopeCopyDefault }))+\"\\n \")])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.alwaysShowSubjectInputLocal),expression:\"alwaysShowSubjectInputLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"subjectHide\"},domProps:{\"checked\":Array.isArray(_vm.alwaysShowSubjectInputLocal)?_vm._i(_vm.alwaysShowSubjectInputLocal,null)>-1:(_vm.alwaysShowSubjectInputLocal)},on:{\"change\":function($event){var $$a=_vm.alwaysShowSubjectInputLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.alwaysShowSubjectInputLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.alwaysShowSubjectInputLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.alwaysShowSubjectInputLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"subjectHide\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.subject_input_always_show'))+\" \"+_vm._s(_vm.$t('settings.instance_default', { value: _vm.alwaysShowSubjectInputDefault }))+\"\\n \")])]),_vm._v(\" \"),_c('li',[_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.subject_line_behavior'))+\"\\n \"),_c('label',{staticClass:\"select\",attrs:{\"for\":\"subjectLineBehavior\"}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.subjectLineBehaviorLocal),expression:\"subjectLineBehaviorLocal\"}],attrs:{\"id\":\"subjectLineBehavior\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.subjectLineBehaviorLocal=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"email\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.subject_line_email'))+\"\\n \"+_vm._s(_vm.subjectLineBehaviorDefault == 'email' ? _vm.$t('settings.instance_default_simple') : '')+\"\\n \")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"masto\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.subject_line_mastodon'))+\"\\n \"+_vm._s(_vm.subjectLineBehaviorDefault == 'mastodon' ? _vm.$t('settings.instance_default_simple') : '')+\"\\n \")]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"noop\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.subject_line_noop'))+\"\\n \"+_vm._s(_vm.subjectLineBehaviorDefault == 'noop' ? _vm.$t('settings.instance_default_simple') : '')+\"\\n \")])]),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})])])]),_vm._v(\" \"),(_vm.postFormats.length > 0)?_c('li',[_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.post_status_content_type'))+\"\\n \"),_c('label',{staticClass:\"select\",attrs:{\"for\":\"postContentType\"}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.postContentTypeLocal),expression:\"postContentTypeLocal\"}],attrs:{\"id\":\"postContentType\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.postContentTypeLocal=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.postFormats),function(postFormat){return _c('option',{key:postFormat,domProps:{\"value\":postFormat}},[_vm._v(\"\\n \"+_vm._s(_vm.$t((\"post_status.content_type[\\\"\" + postFormat + \"\\\"]\")))+\"\\n \"+_vm._s(_vm.postContentTypeDefault === postFormat ? _vm.$t('settings.instance_default_simple') : '')+\"\\n \")])}),0),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})])])]):_vm._e(),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.minimalScopesModeLocal),expression:\"minimalScopesModeLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"minimalScopesMode\"},domProps:{\"checked\":Array.isArray(_vm.minimalScopesModeLocal)?_vm._i(_vm.minimalScopesModeLocal,null)>-1:(_vm.minimalScopesModeLocal)},on:{\"change\":function($event){var $$a=_vm.minimalScopesModeLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.minimalScopesModeLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.minimalScopesModeLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.minimalScopesModeLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"minimalScopesMode\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.minimal_scopes_mode'))+\" \"+_vm._s(_vm.$t('settings.instance_default', { value: _vm.minimalScopesModeDefault }))+\"\\n \")])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.autohideFloatingPostButtonLocal),expression:\"autohideFloatingPostButtonLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"autohideFloatingPostButton\"},domProps:{\"checked\":Array.isArray(_vm.autohideFloatingPostButtonLocal)?_vm._i(_vm.autohideFloatingPostButtonLocal,null)>-1:(_vm.autohideFloatingPostButtonLocal)},on:{\"change\":function($event){var $$a=_vm.autohideFloatingPostButtonLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.autohideFloatingPostButtonLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.autohideFloatingPostButtonLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.autohideFloatingPostButtonLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"autohideFloatingPostButton\"}},[_vm._v(_vm._s(_vm.$t('settings.autohide_floating_post_button')))])])])]),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.attachments')))]),_vm._v(\" \"),_c('ul',{staticClass:\"setting-list\"},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideAttachmentsLocal),expression:\"hideAttachmentsLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"hideAttachments\"},domProps:{\"checked\":Array.isArray(_vm.hideAttachmentsLocal)?_vm._i(_vm.hideAttachmentsLocal,null)>-1:(_vm.hideAttachmentsLocal)},on:{\"change\":function($event){var $$a=_vm.hideAttachmentsLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideAttachmentsLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideAttachmentsLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideAttachmentsLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"hideAttachments\"}},[_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_tl')))])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideAttachmentsInConvLocal),expression:\"hideAttachmentsInConvLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"hideAttachmentsInConv\"},domProps:{\"checked\":Array.isArray(_vm.hideAttachmentsInConvLocal)?_vm._i(_vm.hideAttachmentsInConvLocal,null)>-1:(_vm.hideAttachmentsInConvLocal)},on:{\"change\":function($event){var $$a=_vm.hideAttachmentsInConvLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideAttachmentsInConvLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideAttachmentsInConvLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideAttachmentsInConvLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"hideAttachmentsInConv\"}},[_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_convo')))])]),_vm._v(\" \"),_c('li',[_c('label',{attrs:{\"for\":\"maxThumbnails\"}},[_vm._v(_vm._s(_vm.$t('settings.max_thumbnails')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.maxThumbnails),expression:\"maxThumbnails\",modifiers:{\"number\":true}}],staticClass:\"number-input\",attrs:{\"type\":\"number\",\"id\":\"maxThumbnails\",\"min\":\"0\",\"step\":\"1\"},domProps:{\"value\":(_vm.maxThumbnails)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.maxThumbnails=_vm._n($event.target.value)},\"blur\":function($event){_vm.$forceUpdate()}}})]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideNsfwLocal),expression:\"hideNsfwLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"hideNsfw\"},domProps:{\"checked\":Array.isArray(_vm.hideNsfwLocal)?_vm._i(_vm.hideNsfwLocal,null)>-1:(_vm.hideNsfwLocal)},on:{\"change\":function($event){var $$a=_vm.hideNsfwLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideNsfwLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideNsfwLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideNsfwLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"hideNsfw\"}},[_vm._v(_vm._s(_vm.$t('settings.nsfw_clickthrough')))])]),_vm._v(\" \"),_c('ul',{staticClass:\"setting-list suboptions\"},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.preloadImage),expression:\"preloadImage\"}],attrs:{\"disabled\":!_vm.hideNsfwLocal,\"type\":\"checkbox\",\"id\":\"preloadImage\"},domProps:{\"checked\":Array.isArray(_vm.preloadImage)?_vm._i(_vm.preloadImage,null)>-1:(_vm.preloadImage)},on:{\"change\":function($event){var $$a=_vm.preloadImage,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.preloadImage=$$a.concat([$$v]))}else{$$i>-1&&(_vm.preloadImage=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.preloadImage=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"preloadImage\"}},[_vm._v(_vm._s(_vm.$t('settings.preload_images')))])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.useOneClickNsfw),expression:\"useOneClickNsfw\"}],attrs:{\"disabled\":!_vm.hideNsfwLocal,\"type\":\"checkbox\",\"id\":\"useOneClickNsfw\"},domProps:{\"checked\":Array.isArray(_vm.useOneClickNsfw)?_vm._i(_vm.useOneClickNsfw,null)>-1:(_vm.useOneClickNsfw)},on:{\"change\":function($event){var $$a=_vm.useOneClickNsfw,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.useOneClickNsfw=$$a.concat([$$v]))}else{$$i>-1&&(_vm.useOneClickNsfw=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.useOneClickNsfw=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"useOneClickNsfw\"}},[_vm._v(_vm._s(_vm.$t('settings.use_one_click_nsfw')))])])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.stopGifs),expression:\"stopGifs\"}],attrs:{\"type\":\"checkbox\",\"id\":\"stopGifs\"},domProps:{\"checked\":Array.isArray(_vm.stopGifs)?_vm._i(_vm.stopGifs,null)>-1:(_vm.stopGifs)},on:{\"change\":function($event){var $$a=_vm.stopGifs,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.stopGifs=$$a.concat([$$v]))}else{$$i>-1&&(_vm.stopGifs=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.stopGifs=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"stopGifs\"}},[_vm._v(_vm._s(_vm.$t('settings.stop_gifs')))])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.loopVideoLocal),expression:\"loopVideoLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"loopVideo\"},domProps:{\"checked\":Array.isArray(_vm.loopVideoLocal)?_vm._i(_vm.loopVideoLocal,null)>-1:(_vm.loopVideoLocal)},on:{\"change\":function($event){var $$a=_vm.loopVideoLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.loopVideoLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.loopVideoLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.loopVideoLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"loopVideo\"}},[_vm._v(_vm._s(_vm.$t('settings.loop_video')))]),_vm._v(\" \"),_c('ul',{staticClass:\"setting-list suboptions\",class:[{disabled: !_vm.streamingLocal}]},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.loopVideoSilentOnlyLocal),expression:\"loopVideoSilentOnlyLocal\"}],attrs:{\"disabled\":!_vm.loopVideoLocal || !_vm.loopSilentAvailable,\"type\":\"checkbox\",\"id\":\"loopVideoSilentOnly\"},domProps:{\"checked\":Array.isArray(_vm.loopVideoSilentOnlyLocal)?_vm._i(_vm.loopVideoSilentOnlyLocal,null)>-1:(_vm.loopVideoSilentOnlyLocal)},on:{\"change\":function($event){var $$a=_vm.loopVideoSilentOnlyLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.loopVideoSilentOnlyLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.loopVideoSilentOnlyLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.loopVideoSilentOnlyLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"loopVideoSilentOnly\"}},[_vm._v(_vm._s(_vm.$t('settings.loop_video_silent_only')))]),_vm._v(\" \"),(!_vm.loopSilentAvailable)?_c('div',{staticClass:\"unavailable\"},[_c('i',{staticClass:\"icon-globe\"}),_vm._v(\"! \"+_vm._s(_vm.$t('settings.limited_availability'))+\"\\n \")]):_vm._e()])])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.playVideosInModal),expression:\"playVideosInModal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"playVideosInModal\"},domProps:{\"checked\":Array.isArray(_vm.playVideosInModal)?_vm._i(_vm.playVideosInModal,null)>-1:(_vm.playVideosInModal)},on:{\"change\":function($event){var $$a=_vm.playVideosInModal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.playVideosInModal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.playVideosInModal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.playVideosInModal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"playVideosInModal\"}},[_vm._v(_vm._s(_vm.$t('settings.play_videos_in_modal')))])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.useContainFit),expression:\"useContainFit\"}],attrs:{\"type\":\"checkbox\",\"id\":\"useContainFit\"},domProps:{\"checked\":Array.isArray(_vm.useContainFit)?_vm._i(_vm.useContainFit,null)>-1:(_vm.useContainFit)},on:{\"change\":function($event){var $$a=_vm.useContainFit,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.useContainFit=$$a.concat([$$v]))}else{$$i>-1&&(_vm.useContainFit=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.useContainFit=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"useContainFit\"}},[_vm._v(_vm._s(_vm.$t('settings.use_contain_fit')))])])])]),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.notifications')))]),_vm._v(\" \"),_c('ul',{staticClass:\"setting-list\"},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.webPushNotificationsLocal),expression:\"webPushNotificationsLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"webPushNotifications\"},domProps:{\"checked\":Array.isArray(_vm.webPushNotificationsLocal)?_vm._i(_vm.webPushNotificationsLocal,null)>-1:(_vm.webPushNotificationsLocal)},on:{\"change\":function($event){var $$a=_vm.webPushNotificationsLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.webPushNotificationsLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.webPushNotificationsLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.webPushNotificationsLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"webPushNotifications\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.enable_web_push_notifications'))+\"\\n \")])])])])]),_vm._v(\" \"),_c('div',{attrs:{\"label\":_vm.$t('settings.theme')}},[_c('div',{staticClass:\"setting-item\"},[_c('style-switcher')],1)]),_vm._v(\" \"),_c('div',{attrs:{\"label\":_vm.$t('settings.filtering')}},[_c('div',{staticClass:\"setting-item\"},[_c('div',{staticClass:\"select-multiple\"},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t('settings.notification_visibility')))]),_vm._v(\" \"),_c('ul',{staticClass:\"option-list\"},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notificationVisibilityLocal.likes),expression:\"notificationVisibilityLocal.likes\"}],attrs:{\"type\":\"checkbox\",\"id\":\"notification-visibility-likes\"},domProps:{\"checked\":Array.isArray(_vm.notificationVisibilityLocal.likes)?_vm._i(_vm.notificationVisibilityLocal.likes,null)>-1:(_vm.notificationVisibilityLocal.likes)},on:{\"change\":function($event){var $$a=_vm.notificationVisibilityLocal.likes,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.notificationVisibilityLocal, \"likes\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.notificationVisibilityLocal, \"likes\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.notificationVisibilityLocal, \"likes\", $$c)}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"notification-visibility-likes\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.notification_visibility_likes'))+\"\\n \")])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notificationVisibilityLocal.repeats),expression:\"notificationVisibilityLocal.repeats\"}],attrs:{\"type\":\"checkbox\",\"id\":\"notification-visibility-repeats\"},domProps:{\"checked\":Array.isArray(_vm.notificationVisibilityLocal.repeats)?_vm._i(_vm.notificationVisibilityLocal.repeats,null)>-1:(_vm.notificationVisibilityLocal.repeats)},on:{\"change\":function($event){var $$a=_vm.notificationVisibilityLocal.repeats,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.notificationVisibilityLocal, \"repeats\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.notificationVisibilityLocal, \"repeats\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.notificationVisibilityLocal, \"repeats\", $$c)}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"notification-visibility-repeats\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.notification_visibility_repeats'))+\"\\n \")])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notificationVisibilityLocal.follows),expression:\"notificationVisibilityLocal.follows\"}],attrs:{\"type\":\"checkbox\",\"id\":\"notification-visibility-follows\"},domProps:{\"checked\":Array.isArray(_vm.notificationVisibilityLocal.follows)?_vm._i(_vm.notificationVisibilityLocal.follows,null)>-1:(_vm.notificationVisibilityLocal.follows)},on:{\"change\":function($event){var $$a=_vm.notificationVisibilityLocal.follows,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.notificationVisibilityLocal, \"follows\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.notificationVisibilityLocal, \"follows\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.notificationVisibilityLocal, \"follows\", $$c)}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"notification-visibility-follows\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.notification_visibility_follows'))+\"\\n \")])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notificationVisibilityLocal.mentions),expression:\"notificationVisibilityLocal.mentions\"}],attrs:{\"type\":\"checkbox\",\"id\":\"notification-visibility-mentions\"},domProps:{\"checked\":Array.isArray(_vm.notificationVisibilityLocal.mentions)?_vm._i(_vm.notificationVisibilityLocal.mentions,null)>-1:(_vm.notificationVisibilityLocal.mentions)},on:{\"change\":function($event){var $$a=_vm.notificationVisibilityLocal.mentions,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.notificationVisibilityLocal, \"mentions\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.notificationVisibilityLocal, \"mentions\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.notificationVisibilityLocal, \"mentions\", $$c)}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"notification-visibility-mentions\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.notification_visibility_mentions'))+\"\\n \")])])])]),_vm._v(\" \"),_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.replies_in_timeline'))+\"\\n \"),_c('label',{staticClass:\"select\",attrs:{\"for\":\"replyVisibility\"}},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.replyVisibilityLocal),expression:\"replyVisibilityLocal\"}],attrs:{\"id\":\"replyVisibility\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.replyVisibilityLocal=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"all\",\"selected\":\"\"}},[_vm._v(_vm._s(_vm.$t('settings.reply_visibility_all')))]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"following\"}},[_vm._v(_vm._s(_vm.$t('settings.reply_visibility_following')))]),_vm._v(\" \"),_c('option',{attrs:{\"value\":\"self\"}},[_vm._v(_vm._s(_vm.$t('settings.reply_visibility_self')))])]),_vm._v(\" \"),_c('i',{staticClass:\"icon-down-open\"})])]),_vm._v(\" \"),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hidePostStatsLocal),expression:\"hidePostStatsLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"hidePostStats\"},domProps:{\"checked\":Array.isArray(_vm.hidePostStatsLocal)?_vm._i(_vm.hidePostStatsLocal,null)>-1:(_vm.hidePostStatsLocal)},on:{\"change\":function($event){var $$a=_vm.hidePostStatsLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hidePostStatsLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hidePostStatsLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hidePostStatsLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"hidePostStats\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.hide_post_stats'))+\" \"+_vm._s(_vm.$t('settings.instance_default', { value: _vm.hidePostStatsDefault }))+\"\\n \")])]),_vm._v(\" \"),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideUserStatsLocal),expression:\"hideUserStatsLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"hideUserStats\"},domProps:{\"checked\":Array.isArray(_vm.hideUserStatsLocal)?_vm._i(_vm.hideUserStatsLocal,null)>-1:(_vm.hideUserStatsLocal)},on:{\"change\":function($event){var $$a=_vm.hideUserStatsLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideUserStatsLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideUserStatsLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideUserStatsLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"hideUserStats\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.hide_user_stats'))+\" \"+_vm._s(_vm.$t('settings.instance_default', { value: _vm.hideUserStatsDefault }))+\"\\n \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('div',[_c('p',[_vm._v(_vm._s(_vm.$t('settings.filtering_explanation')))]),_vm._v(\" \"),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.muteWordsString),expression:\"muteWordsString\"}],attrs:{\"id\":\"muteWords\"},domProps:{\"value\":(_vm.muteWordsString)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.muteWordsString=$event.target.value}}})]),_vm._v(\" \"),_c('div',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideFilteredStatusesLocal),expression:\"hideFilteredStatusesLocal\"}],attrs:{\"type\":\"checkbox\",\"id\":\"hideFilteredStatuses\"},domProps:{\"checked\":Array.isArray(_vm.hideFilteredStatusesLocal)?_vm._i(_vm.hideFilteredStatusesLocal,null)>-1:(_vm.hideFilteredStatusesLocal)},on:{\"change\":function($event){var $$a=_vm.hideFilteredStatusesLocal,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideFilteredStatusesLocal=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideFilteredStatusesLocal=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideFilteredStatusesLocal=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"hideFilteredStatuses\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.hide_filtered_statuses'))+\" \"+_vm._s(_vm.$t('settings.instance_default', { value: _vm.hideFilteredStatusesDefault }))+\"\\n \")])])])]),_vm._v(\" \"),_c('div',{attrs:{\"label\":_vm.$t('settings.version.title')}},[_c('div',{staticClass:\"setting-item\"},[_c('ul',{staticClass:\"setting-list\"},[_c('li',[_c('p',[_vm._v(_vm._s(_vm.$t('settings.version.backend_version')))]),_vm._v(\" \"),_c('ul',{staticClass:\"option-list\"},[_c('li',[_c('a',{attrs:{\"href\":_vm.backendVersionLink,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.backendVersion))])])])]),_vm._v(\" \"),_c('li',[_c('p',[_vm._v(_vm._s(_vm.$t('settings.version.frontend_version')))]),_vm._v(\" \"),_c('ul',{staticClass:\"option-list\"},[_c('li',[_c('a',{attrs:{\"href\":_vm.frontendVersionLink,\"target\":\"_blank\"}},[_vm._v(_vm._s(_vm.frontendVersion))])])])])])])])])],1)],1)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"settings panel panel-default\"},[_c('div',{staticClass:\"panel-heading\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('registration.registration'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"panel-body\"},[_c('form',{staticClass:\"registration-form\",on:{\"submit\":function($event){$event.preventDefault();_vm.submit(_vm.user)}}},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"text-fields\"},[_c('div',{staticClass:\"form-group\",class:{ 'form-group--error': _vm.$v.user.username.$error }},[_c('label',{staticClass:\"form--label\",attrs:{\"for\":\"sign-up-username\"}},[_vm._v(_vm._s(_vm.$t('login.username')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.user.username.$model),expression:\"$v.user.username.$model\",modifiers:{\"trim\":true}}],staticClass:\"form-control\",attrs:{\"disabled\":_vm.isPending,\"id\":\"sign-up-username\",\"placeholder\":_vm.$t('registration.username_placeholder')},domProps:{\"value\":(_vm.$v.user.username.$model)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.user.username, \"$model\", $event.target.value.trim())},\"blur\":function($event){_vm.$forceUpdate()}}})]),_vm._v(\" \"),(_vm.$v.user.username.$dirty)?_c('div',{staticClass:\"form-error\"},[_c('ul',[(!_vm.$v.user.username.required)?_c('li',[_c('span',[_vm._v(_vm._s(_vm.$t('registration.validations.username_required')))])]):_vm._e()])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-group\",class:{ 'form-group--error': _vm.$v.user.fullname.$error }},[_c('label',{staticClass:\"form--label\",attrs:{\"for\":\"sign-up-fullname\"}},[_vm._v(_vm._s(_vm.$t('registration.fullname')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.$v.user.fullname.$model),expression:\"$v.user.fullname.$model\",modifiers:{\"trim\":true}}],staticClass:\"form-control\",attrs:{\"disabled\":_vm.isPending,\"id\":\"sign-up-fullname\",\"placeholder\":_vm.$t('registration.fullname_placeholder')},domProps:{\"value\":(_vm.$v.user.fullname.$model)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.user.fullname, \"$model\", $event.target.value.trim())},\"blur\":function($event){_vm.$forceUpdate()}}})]),_vm._v(\" \"),(_vm.$v.user.fullname.$dirty)?_c('div',{staticClass:\"form-error\"},[_c('ul',[(!_vm.$v.user.fullname.required)?_c('li',[_c('span',[_vm._v(_vm._s(_vm.$t('registration.validations.fullname_required')))])]):_vm._e()])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-group\",class:{ 'form-group--error': _vm.$v.user.email.$error }},[_c('label',{staticClass:\"form--label\",attrs:{\"for\":\"email\"}},[_vm._v(_vm._s(_vm.$t('registration.email')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.$v.user.email.$model),expression:\"$v.user.email.$model\"}],staticClass:\"form-control\",attrs:{\"disabled\":_vm.isPending,\"id\":\"email\",\"type\":\"email\"},domProps:{\"value\":(_vm.$v.user.email.$model)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.$v.user.email, \"$model\", $event.target.value)}}})]),_vm._v(\" \"),(_vm.$v.user.email.$dirty)?_c('div',{staticClass:\"form-error\"},[_c('ul',[(!_vm.$v.user.email.required)?_c('li',[_c('span',[_vm._v(_vm._s(_vm.$t('registration.validations.email_required')))])]):_vm._e()])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('label',{staticClass:\"form--label\",attrs:{\"for\":\"bio\"}},[_vm._v(_vm._s(_vm.$t('registration.bio'))+\" (\"+_vm._s(_vm.$t('general.optional'))+\")\")]),_vm._v(\" \"),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.bio),expression:\"user.bio\"}],staticClass:\"form-control\",attrs:{\"disabled\":_vm.isPending,\"id\":\"bio\",\"placeholder\":_vm.bioPlaceholder},domProps:{\"value\":(_vm.user.bio)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"bio\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"form-group\",class:{ 'form-group--error': _vm.$v.user.password.$error }},[_c('label',{staticClass:\"form--label\",attrs:{\"for\":\"sign-up-password\"}},[_vm._v(_vm._s(_vm.$t('login.password')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.password),expression:\"user.password\"}],staticClass:\"form-control\",attrs:{\"disabled\":_vm.isPending,\"id\":\"sign-up-password\",\"type\":\"password\"},domProps:{\"value\":(_vm.user.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"password\", $event.target.value)}}})]),_vm._v(\" \"),(_vm.$v.user.password.$dirty)?_c('div',{staticClass:\"form-error\"},[_c('ul',[(!_vm.$v.user.password.required)?_c('li',[_c('span',[_vm._v(_vm._s(_vm.$t('registration.validations.password_required')))])]):_vm._e()])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-group\",class:{ 'form-group--error': _vm.$v.user.confirm.$error }},[_c('label',{staticClass:\"form--label\",attrs:{\"for\":\"sign-up-password-confirmation\"}},[_vm._v(_vm._s(_vm.$t('registration.password_confirm')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.confirm),expression:\"user.confirm\"}],staticClass:\"form-control\",attrs:{\"disabled\":_vm.isPending,\"id\":\"sign-up-password-confirmation\",\"type\":\"password\"},domProps:{\"value\":(_vm.user.confirm)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"confirm\", $event.target.value)}}})]),_vm._v(\" \"),(_vm.$v.user.confirm.$dirty)?_c('div',{staticClass:\"form-error\"},[_c('ul',[(!_vm.$v.user.confirm.required)?_c('li',[_c('span',[_vm._v(_vm._s(_vm.$t('registration.validations.password_confirmation_required')))])]):_vm._e(),_vm._v(\" \"),(!_vm.$v.user.confirm.sameAsPassword)?_c('li',[_c('span',[_vm._v(_vm._s(_vm.$t('registration.validations.password_confirmation_match')))])]):_vm._e()])]):_vm._e(),_vm._v(\" \"),(_vm.captcha.type != 'none')?_c('div',{staticClass:\"form-group\",attrs:{\"id\":\"captcha-group\"}},[_c('label',{staticClass:\"form--label\",attrs:{\"for\":\"captcha-label\"}},[_vm._v(_vm._s(_vm.$t('captcha')))]),_vm._v(\" \"),(_vm.captcha.type == 'kocaptcha')?[_c('img',{attrs:{\"src\":_vm.captcha.url},on:{\"click\":_vm.setCaptcha}}),_vm._v(\" \"),_c('sub',[_vm._v(_vm._s(_vm.$t('registration.new_captcha')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.captcha.solution),expression:\"captcha.solution\"}],staticClass:\"form-control\",attrs:{\"disabled\":_vm.isPending,\"id\":\"captcha-answer\",\"type\":\"text\",\"autocomplete\":\"off\"},domProps:{\"value\":(_vm.captcha.solution)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.captcha, \"solution\", $event.target.value)}}})]:_vm._e()],2):_vm._e(),_vm._v(\" \"),(_vm.token)?_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"token\"}},[_vm._v(_vm._s(_vm.$t('registration.token')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.token),expression:\"token\"}],staticClass:\"form-control\",attrs:{\"disabled\":\"true\",\"id\":\"token\",\"type\":\"text\"},domProps:{\"value\":(_vm.token)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.token=$event.target.value}}})]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.isPending,\"type\":\"submit\"}},[_vm._v(_vm._s(_vm.$t('general.submit')))])])]),_vm._v(\" \"),_c('div',{staticClass:\"terms-of-service\",domProps:{\"innerHTML\":_vm._s(_vm.termsOfService)}})]),_vm._v(\" \"),(_vm.serverValidationErrors.length)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"alert error\"},_vm._l((_vm.serverValidationErrors),function(error){return _c('span',[_vm._v(_vm._s(error))])}),0)]):_vm._e()])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"image-cropper\"},[(_vm.dataUrl)?_c('div',[_c('div',{staticClass:\"image-cropper-image-container\"},[_c('img',{ref:\"img\",attrs:{\"src\":_vm.dataUrl,\"alt\":\"\"},on:{\"load\":function($event){$event.stopPropagation();return _vm.createCropper($event)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"image-cropper-buttons-wrapper\"},[_c('button',{staticClass:\"btn\",attrs:{\"type\":\"button\",\"disabled\":_vm.submitting},domProps:{\"textContent\":_vm._s(_vm.saveText)},on:{\"click\":function($event){_vm.submit()}}}),_vm._v(\" \"),_c('button',{staticClass:\"btn\",attrs:{\"type\":\"button\",\"disabled\":_vm.submitting},domProps:{\"textContent\":_vm._s(_vm.cancelText)},on:{\"click\":_vm.destroy}}),_vm._v(\" \"),_c('button',{staticClass:\"btn\",attrs:{\"type\":\"button\",\"disabled\":_vm.submitting},domProps:{\"textContent\":_vm._s(_vm.saveWithoutCroppingText)},on:{\"click\":function($event){_vm.submit(false)}}}),_vm._v(\" \"),(_vm.submitting)?_c('i',{staticClass:\"icon-spin4 animate-spin\"}):_vm._e()]),_vm._v(\" \"),(_vm.submitError)?_c('div',{staticClass:\"alert error\"},[_vm._v(\"\\n \"+_vm._s(_vm.submitErrorMsg)+\"\\n \"),_c('i',{staticClass:\"button-icon icon-cancel\",on:{\"click\":_vm.clearError}})]):_vm._e()]):_vm._e(),_vm._v(\" \"),_c('input',{ref:\"input\",staticClass:\"image-cropper-img-input\",attrs:{\"type\":\"file\",\"accept\":_vm.mimes}})])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('basic-user-card',{attrs:{\"user\":_vm.user}},[_c('div',{staticClass:\"block-card-content-container\"},[(_vm.blocked)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.progress},on:{\"click\":_vm.unblockUser}},[(_vm.progress)?[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.unblock_progress'))+\"\\n \")]:[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.unblock'))+\"\\n \")]],2):_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.progress},on:{\"click\":_vm.blockUser}},[(_vm.progress)?[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.block_progress'))+\"\\n \")]:[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.block'))+\"\\n \")]],2)])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('basic-user-card',{attrs:{\"user\":_vm.user}},[_c('div',{staticClass:\"mute-card-content-container\"},[(_vm.muted)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.progress},on:{\"click\":_vm.unmuteUser}},[(_vm.progress)?[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.unmute_progress'))+\"\\n \")]:[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.unmute'))+\"\\n \")]],2):_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.progress},on:{\"click\":_vm.muteUser}},[(_vm.progress)?[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.mute_progress'))+\"\\n \")]:[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.mute'))+\"\\n \")]],2)])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('label',{staticClass:\"checkbox\"},[_c('input',{attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":_vm.checked,\"indeterminate\":_vm.indeterminate},on:{\"change\":function($event){_vm.$emit('change', $event.target.checked)}}}),_vm._v(\" \"),_c('i',{staticClass:\"checkbox-indicator\"}),_vm._v(\" \"),(!!_vm.$slots.default)?_c('span',[_vm._t(\"default\")],2):_vm._e()])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"selectable-list\"},[(_vm.items.length > 0)?_c('div',{staticClass:\"selectable-list-header\"},[_c('div',{staticClass:\"selectable-list-checkbox-wrapper\"},[_c('Checkbox',{attrs:{\"checked\":_vm.allSelected,\"indeterminate\":_vm.someSelected},on:{\"change\":_vm.toggleAll}},[_vm._v(_vm._s(_vm.$t('selectable_list.select_all')))])],1),_vm._v(\" \"),_c('div',{staticClass:\"selectable-list-header-actions\"},[_vm._t(\"header\",null,{selected:_vm.filteredSelected})],2)]):_vm._e(),_vm._v(\" \"),_c('List',{attrs:{\"items\":_vm.items,\"getKey\":_vm.getKey},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',{staticClass:\"selectable-list-item-inner\",class:{ 'selectable-list-item-selected-inner': _vm.isSelected(item) }},[_c('div',{staticClass:\"selectable-list-checkbox-wrapper\"},[_c('Checkbox',{attrs:{\"checked\":_vm.isSelected(item)},on:{\"change\":function (checked) { return _vm.toggle(checked, item); }}})],1),_vm._v(\" \"),_vm._t(\"item\",null,{item:item})],2)]}}])},[_c('template',{slot:\"empty\"},[_vm._t(\"empty\")],2)],2)],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{attrs:{\"disabled\":_vm.progress || _vm.disabled},on:{\"click\":_vm.onClick}},[(_vm.progress)?[_vm._t(\"progress\")]:[_vm._t(\"default\")]],2)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.onClickOutside),expression:\"onClickOutside\"}],staticClass:\"autosuggest\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.term),expression:\"term\"}],staticClass:\"autosuggest-input\",attrs:{\"placeholder\":_vm.placeholder},domProps:{\"value\":(_vm.term)},on:{\"click\":_vm.onInputClick,\"input\":function($event){if($event.target.composing){ return; }_vm.term=$event.target.value}}}),_vm._v(\" \"),(_vm.resultsVisible && _vm.filtered.length > 0)?_c('div',{staticClass:\"autosuggest-results\"},[_vm._l((_vm.filtered),function(item){return _vm._t(\"default\",null,{item:item})})],2):_vm._e()])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"importer\"},[_c('form',[_c('input',{ref:\"input\",attrs:{\"type\":\"file\"},on:{\"change\":_vm.change}})]),_vm._v(\" \"),(_vm.submitting)?_c('i',{staticClass:\"icon-spin4 animate-spin importer-uploading\"}):_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.submit}},[_vm._v(_vm._s(_vm.submitButtonLabel))]),_vm._v(\" \"),(_vm.success)?_c('div',[_c('i',{staticClass:\"icon-cross\",on:{\"click\":_vm.dismiss}}),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.successMessage))])]):(_vm.error)?_c('div',[_c('i',{staticClass:\"icon-cross\",on:{\"click\":_vm.dismiss}}),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.errorMessage))])]):_vm._e()])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"exporter\"},[(_vm.processing)?_c('div',[_c('i',{staticClass:\"icon-spin4 animate-spin exporter-processing\"}),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.processingMessage))])]):_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.process}},[_vm._v(_vm._s(_vm.exportButtonLabel))])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.displayTitle)?_c('h4',[_vm._v(_vm._s(_vm.$t('settings.mfa.recovery_codes')))]):_vm._e(),_vm._v(\" \"),(_vm.inProgress)?_c('i',[_vm._v(_vm._s(_vm.$t('settings.mfa.waiting_a_recovery_codes')))]):_vm._e(),_vm._v(\" \"),(_vm.ready)?[_c('p',{staticClass:\"alert warning\"},[_vm._v(_vm._s(_vm.$t('settings.mfa.recovery_codes_warning')))]),_vm._v(\" \"),_c('ul',{staticClass:\"backup-codes\"},_vm._l((_vm.backupCodes.codes),function(code){return _c('li',[_vm._v(_vm._s(code))])}),0)]:_vm._e()],2)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._t(\"default\"),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.confirm}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.confirm'))+\"\\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.disabled},on:{\"click\":_vm.cancel}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.cancel'))+\"\\n \")])],2)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"method-item\"},[_c('strong',[_vm._v(_vm._s(_vm.$t('settings.mfa.otp')))]),_vm._v(\" \"),(!_vm.isActivated)?_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.doActivate}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.enable'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.isActivated)?_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.deactivate},on:{\"click\":_vm.doDeactivate}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.disable'))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(_vm.deactivate)?_c('confirm',{attrs:{\"disabled\":_vm.inProgress},on:{\"confirm\":_vm.confirmDeactivate,\"cancel\":_vm.cancelDeactivate}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.enter_current_password_to_confirm'))+\":\\n \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currentPassword),expression:\"currentPassword\"}],attrs:{\"type\":\"password\"},domProps:{\"value\":(_vm.currentPassword)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.currentPassword=$event.target.value}}})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"alert error\"},[_vm._v(_vm._s(_vm.error))]):_vm._e()],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.readyInit && _vm.settings.available)?_c('div',{staticClass:\"setting-item mfa-settings\"},[_c('div',{staticClass:\"mfa-heading\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.mfa.title')))])]),_vm._v(\" \"),_c('div',[(!_vm.setupInProgress)?_c('div',{staticClass:\"setting-item\"},[_c('h3',[_vm._v(_vm._s(_vm.$t('settings.mfa.authentication_methods')))]),_vm._v(\" \"),_c('totp-item',{attrs:{\"settings\":_vm.settings},on:{\"deactivate\":_vm.fetchSettings,\"activate\":_vm.activateOTP}}),_vm._v(\" \"),_c('br'),_vm._v(\" \"),(_vm.settings.enabled)?_c('div',[(!_vm.confirmNewBackupCodes)?_c('recovery-codes',{attrs:{\"backup-codes\":_vm.backupCodes}}):_vm._e(),_vm._v(\" \"),(!_vm.confirmNewBackupCodes)?_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.getBackupCodes}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.mfa.generate_new_recovery_codes'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.confirmNewBackupCodes)?_c('div',[_c('confirm',{attrs:{\"disabled\":_vm.backupCodes.inProgress},on:{\"confirm\":_vm.confirmBackupCodes,\"cancel\":_vm.cancelBackupCodes}},[_c('p',{staticClass:\"warning\"},[_vm._v(_vm._s(_vm.$t('settings.mfa.warning_of_generate_new_codes')))])])],1):_vm._e()],1):_vm._e()],1):_vm._e(),_vm._v(\" \"),(_vm.setupInProgress)?_c('div',[_c('h3',[_vm._v(_vm._s(_vm.$t('settings.mfa.setup_otp')))]),_vm._v(\" \"),(!_vm.setupOTPInProgress)?_c('recovery-codes',{attrs:{\"backup-codes\":_vm.backupCodes}}):_vm._e(),_vm._v(\" \"),(_vm.canSetupOTP)?_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.cancelSetup}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.cancel'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.canSetupOTP)?_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.setupOTP}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.mfa.setup_otp'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.setupOTPInProgress)?[(_vm.prepareOTP)?_c('i',[_vm._v(_vm._s(_vm.$t('settings.mfa.wait_pre_setup_otp')))]):_vm._e(),_vm._v(\" \"),(_vm.confirmOTP)?_c('div',[_c('div',{staticClass:\"setup-otp\"},[_c('div',{staticClass:\"qr-code\"},[_c('h4',[_vm._v(_vm._s(_vm.$t('settings.mfa.scan.title')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.mfa.scan.desc')))]),_vm._v(\" \"),_c('qrcode',{attrs:{\"value\":_vm.otpSettings.provisioning_uri,\"options\":{ width: 200 }}}),_vm._v(\" \"),_c('p',[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.mfa.scan.secret_code'))+\":\\n \"+_vm._s(_vm.otpSettings.key)+\"\\n \")])],1),_vm._v(\" \"),_c('div',{staticClass:\"verify\"},[_c('h4',[_vm._v(_vm._s(_vm.$t('general.verify')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.mfa.verify.desc')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.otpConfirmToken),expression:\"otpConfirmToken\"}],attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.otpConfirmToken)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.otpConfirmToken=$event.target.value}}}),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.enter_current_password_to_confirm'))+\":\")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currentPassword),expression:\"currentPassword\"}],attrs:{\"type\":\"password\"},domProps:{\"value\":(_vm.currentPassword)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.currentPassword=$event.target.value}}}),_vm._v(\" \"),_c('div',{staticClass:\"confirm-otp-actions\"},[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.doConfirmOTP}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.mfa.confirm_and_enable'))+\"\\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.cancelSetup}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.cancel'))+\"\\n \")])]),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"alert error\"},[_vm._v(_vm._s(_vm.error))]):_vm._e()])])]):_vm._e()]:_vm._e()],2):_vm._e()])]):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"settings panel panel-default\"},[_c('div',{staticClass:\"panel-heading\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.user_settings'))+\"\\n \")]),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.currentSaveStateNotice)?[(_vm.currentSaveStateNotice.error)?_c('div',{staticClass:\"alert error\",on:{\"click\":function($event){$event.preventDefault();}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.saving_err'))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(!_vm.currentSaveStateNotice.error)?_c('div',{staticClass:\"alert transparent\",on:{\"click\":function($event){$event.preventDefault();}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.saving_ok'))+\"\\n \")]):_vm._e()]:_vm._e()],2)],1),_vm._v(\" \"),_c('div',{staticClass:\"panel-body profile-edit\"},[_c('tab-switcher',[_c('div',{attrs:{\"label\":_vm.$t('settings.profile_tab')}},[_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.name_bio')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.name')))]),_vm._v(\" \"),_c('EmojiInput',{attrs:{\"suggest\":_vm.emojiSuggestor},model:{value:(_vm.newName),callback:function ($$v) {_vm.newName=$$v},expression:\"newName\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newName),expression:\"newName\"}],attrs:{\"id\":\"username\",\"classname\":\"name-changer\"},domProps:{\"value\":(_vm.newName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.newName=$event.target.value}}})]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.bio')))]),_vm._v(\" \"),_c('EmojiInput',{attrs:{\"suggest\":_vm.emojiUserSuggestor},model:{value:(_vm.newBio),callback:function ($$v) {_vm.newBio=$$v},expression:\"newBio\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newBio),expression:\"newBio\"}],attrs:{\"classname\":\"bio\"},domProps:{\"value\":(_vm.newBio)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.newBio=$event.target.value}}})]),_vm._v(\" \"),_c('p',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newLocked),expression:\"newLocked\"}],attrs:{\"type\":\"checkbox\",\"id\":\"account-locked\"},domProps:{\"checked\":Array.isArray(_vm.newLocked)?_vm._i(_vm.newLocked,null)>-1:(_vm.newLocked)},on:{\"change\":function($event){var $$a=_vm.newLocked,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.newLocked=$$a.concat([$$v]))}else{$$i>-1&&(_vm.newLocked=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.newLocked=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"account-locked\"}},[_vm._v(_vm._s(_vm.$t('settings.lock_account_description')))])]),_vm._v(\" \"),_c('div',[_c('label',{attrs:{\"for\":\"default-vis\"}},[_vm._v(_vm._s(_vm.$t('settings.default_vis')))]),_vm._v(\" \"),_c('div',{staticClass:\"visibility-tray\",attrs:{\"id\":\"default-vis\"}},[_c('scope-selector',{attrs:{\"showAll\":true,\"userDefault\":_vm.newDefaultScope,\"initialScope\":_vm.newDefaultScope,\"onScopeChange\":_vm.changeVis}})],1)]),_vm._v(\" \"),_c('p',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.newNoRichText),expression:\"newNoRichText\"}],attrs:{\"type\":\"checkbox\",\"id\":\"account-no-rich-text\"},domProps:{\"checked\":Array.isArray(_vm.newNoRichText)?_vm._i(_vm.newNoRichText,null)>-1:(_vm.newNoRichText)},on:{\"change\":function($event){var $$a=_vm.newNoRichText,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.newNoRichText=$$a.concat([$$v]))}else{$$i>-1&&(_vm.newNoRichText=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.newNoRichText=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"account-no-rich-text\"}},[_vm._v(_vm._s(_vm.$t('settings.no_rich_text_description')))])]),_vm._v(\" \"),_c('p',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideFollows),expression:\"hideFollows\"}],attrs:{\"type\":\"checkbox\",\"id\":\"account-hide-follows\"},domProps:{\"checked\":Array.isArray(_vm.hideFollows)?_vm._i(_vm.hideFollows,null)>-1:(_vm.hideFollows)},on:{\"change\":function($event){var $$a=_vm.hideFollows,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideFollows=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideFollows=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideFollows=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"account-hide-follows\"}},[_vm._v(_vm._s(_vm.$t('settings.hide_follows_description')))])]),_vm._v(\" \"),_c('p',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.hideFollowers),expression:\"hideFollowers\"}],attrs:{\"type\":\"checkbox\",\"id\":\"account-hide-followers\"},domProps:{\"checked\":Array.isArray(_vm.hideFollowers)?_vm._i(_vm.hideFollowers,null)>-1:(_vm.hideFollowers)},on:{\"change\":function($event){var $$a=_vm.hideFollowers,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.hideFollowers=$$a.concat([$$v]))}else{$$i>-1&&(_vm.hideFollowers=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.hideFollowers=$$c}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"account-hide-followers\"}},[_vm._v(_vm._s(_vm.$t('settings.hide_followers_description')))])]),_vm._v(\" \"),_c('p',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.showRole),expression:\"showRole\"}],attrs:{\"type\":\"checkbox\",\"id\":\"account-show-role\"},domProps:{\"checked\":Array.isArray(_vm.showRole)?_vm._i(_vm.showRole,null)>-1:(_vm.showRole)},on:{\"change\":function($event){var $$a=_vm.showRole,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.showRole=$$a.concat([$$v]))}else{$$i>-1&&(_vm.showRole=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.showRole=$$c}}}}),_vm._v(\" \"),(_vm.role === 'admin')?_c('label',{attrs:{\"for\":\"account-show-role\"}},[_vm._v(_vm._s(_vm.$t('settings.show_admin_badge')))]):_vm._e(),_vm._v(\" \"),(_vm.role === 'moderator')?_c('label',{attrs:{\"for\":\"account-show-role\"}},[_vm._v(_vm._s(_vm.$t('settings.show_moderator_badge')))]):_vm._e()]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.newName && _vm.newName.length === 0},on:{\"click\":_vm.updateProfile}},[_vm._v(_vm._s(_vm.$t('general.submit')))])],1),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.avatar')))]),_vm._v(\" \"),_c('p',{staticClass:\"visibility-notice\"},[_vm._v(_vm._s(_vm.$t('settings.avatar_size_instruction')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.current_avatar')))]),_vm._v(\" \"),_c('img',{staticClass:\"current-avatar\",attrs:{\"src\":_vm.user.profile_image_url_original}}),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.set_new_avatar')))]),_vm._v(\" \"),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.pickAvatarBtnVisible),expression:\"pickAvatarBtnVisible\"}],staticClass:\"btn\",attrs:{\"type\":\"button\",\"id\":\"pick-avatar\"}},[_vm._v(_vm._s(_vm.$t('settings.upload_a_photo')))]),_vm._v(\" \"),_c('image-cropper',{attrs:{\"trigger\":\"#pick-avatar\",\"submitHandler\":_vm.submitAvatar},on:{\"open\":function($event){_vm.pickAvatarBtnVisible=false},\"close\":function($event){_vm.pickAvatarBtnVisible=true}}})],1),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.profile_banner')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.current_profile_banner')))]),_vm._v(\" \"),_c('img',{staticClass:\"banner\",attrs:{\"src\":_vm.user.cover_photo}}),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.set_new_profile_banner')))]),_vm._v(\" \"),(_vm.bannerPreview)?_c('img',{staticClass:\"banner\",attrs:{\"src\":_vm.bannerPreview}}):_vm._e(),_vm._v(\" \"),_c('div',[_c('input',{attrs:{\"type\":\"file\"},on:{\"change\":function($event){_vm.uploadFile('banner', $event)}}})]),_vm._v(\" \"),(_vm.bannerUploading)?_c('i',{staticClass:\" icon-spin4 animate-spin uploading\"}):(_vm.bannerPreview)?_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.submitBanner}},[_vm._v(_vm._s(_vm.$t('general.submit')))]):_vm._e(),_vm._v(\" \"),(_vm.bannerUploadError)?_c('div',{staticClass:\"alert error\"},[_vm._v(\"\\n Error: \"+_vm._s(_vm.bannerUploadError)+\"\\n \"),_c('i',{staticClass:\"button-icon icon-cancel\",on:{\"click\":function($event){_vm.clearUploadError('banner')}}})]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.profile_background')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.set_new_profile_background')))]),_vm._v(\" \"),(_vm.backgroundPreview)?_c('img',{staticClass:\"bg\",attrs:{\"src\":_vm.backgroundPreview}}):_vm._e(),_vm._v(\" \"),_c('div',[_c('input',{attrs:{\"type\":\"file\"},on:{\"change\":function($event){_vm.uploadFile('background', $event)}}})]),_vm._v(\" \"),(_vm.backgroundUploading)?_c('i',{staticClass:\" icon-spin4 animate-spin uploading\"}):(_vm.backgroundPreview)?_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.submitBg}},[_vm._v(_vm._s(_vm.$t('general.submit')))]):_vm._e(),_vm._v(\" \"),(_vm.backgroundUploadError)?_c('div',{staticClass:\"alert error\"},[_vm._v(\"\\n Error: \"+_vm._s(_vm.backgroundUploadError)+\"\\n \"),_c('i',{staticClass:\"button-icon icon-cancel\",on:{\"click\":function($event){_vm.clearUploadError('background')}}})]):_vm._e()])]),_vm._v(\" \"),_c('div',{attrs:{\"label\":_vm.$t('settings.security_tab')}},[_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.change_password')))]),_vm._v(\" \"),_c('div',[_c('p',[_vm._v(_vm._s(_vm.$t('settings.current_password')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.changePasswordInputs[0]),expression:\"changePasswordInputs[0]\"}],attrs:{\"type\":\"password\"},domProps:{\"value\":(_vm.changePasswordInputs[0])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.changePasswordInputs, 0, $event.target.value)}}})]),_vm._v(\" \"),_c('div',[_c('p',[_vm._v(_vm._s(_vm.$t('settings.new_password')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.changePasswordInputs[1]),expression:\"changePasswordInputs[1]\"}],attrs:{\"type\":\"password\"},domProps:{\"value\":(_vm.changePasswordInputs[1])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.changePasswordInputs, 1, $event.target.value)}}})]),_vm._v(\" \"),_c('div',[_c('p',[_vm._v(_vm._s(_vm.$t('settings.confirm_new_password')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.changePasswordInputs[2]),expression:\"changePasswordInputs[2]\"}],attrs:{\"type\":\"password\"},domProps:{\"value\":(_vm.changePasswordInputs[2])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.changePasswordInputs, 2, $event.target.value)}}})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.changePassword}},[_vm._v(_vm._s(_vm.$t('general.submit')))]),_vm._v(\" \"),(_vm.changedPassword)?_c('p',[_vm._v(_vm._s(_vm.$t('settings.changed_password')))]):(_vm.changePasswordError !== false)?_c('p',[_vm._v(_vm._s(_vm.$t('settings.change_password_error')))]):_vm._e(),_vm._v(\" \"),(_vm.changePasswordError)?_c('p',[_vm._v(_vm._s(_vm.changePasswordError))]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.oauth_tokens')))]),_vm._v(\" \"),_c('table',{staticClass:\"oauth-tokens\"},[_c('thead',[_c('tr',[_c('th',[_vm._v(_vm._s(_vm.$t('settings.app_name')))]),_vm._v(\" \"),_c('th',[_vm._v(_vm._s(_vm.$t('settings.valid_until')))]),_vm._v(\" \"),_c('th')])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.oauthTokens),function(oauthToken){return _c('tr',{key:oauthToken.id},[_c('td',[_vm._v(_vm._s(oauthToken.appName))]),_vm._v(\" \"),_c('td',[_vm._v(_vm._s(oauthToken.validUntil))]),_vm._v(\" \"),_c('td',{staticClass:\"actions\"},[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){_vm.revokeToken(oauthToken.id)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.revoke_token'))+\"\\n \")])])])}),0)])]),_vm._v(\" \"),_c('mfa'),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.delete_account')))]),_vm._v(\" \"),(!_vm.deletingAccount)?_c('p',[_vm._v(_vm._s(_vm.$t('settings.delete_account_description')))]):_vm._e(),_vm._v(\" \"),(_vm.deletingAccount)?_c('div',[_c('p',[_vm._v(_vm._s(_vm.$t('settings.delete_account_instructions')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('login.password')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.deleteAccountConfirmPasswordInput),expression:\"deleteAccountConfirmPasswordInput\"}],attrs:{\"type\":\"password\"},domProps:{\"value\":(_vm.deleteAccountConfirmPasswordInput)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.deleteAccountConfirmPasswordInput=$event.target.value}}}),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.deleteAccount}},[_vm._v(_vm._s(_vm.$t('settings.delete_account')))])]):_vm._e(),_vm._v(\" \"),(_vm.deleteAccountError !== false)?_c('p',[_vm._v(_vm._s(_vm.$t('settings.delete_account_error')))]):_vm._e(),_vm._v(\" \"),(_vm.deleteAccountError)?_c('p',[_vm._v(_vm._s(_vm.deleteAccountError))]):_vm._e(),_vm._v(\" \"),(!_vm.deletingAccount)?_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.confirmDelete}},[_vm._v(_vm._s(_vm.$t('general.submit')))]):_vm._e()])],1),_vm._v(\" \"),(_vm.pleromaBackend)?_c('div',{attrs:{\"label\":_vm.$t('settings.notifications')}},[_c('div',{staticClass:\"setting-item\"},[_c('div',{staticClass:\"select-multiple\"},[_c('span',{staticClass:\"label\"},[_vm._v(_vm._s(_vm.$t('settings.notification_setting')))]),_vm._v(\" \"),_c('ul',{staticClass:\"option-list\"},[_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notificationSettings.follows),expression:\"notificationSettings.follows\"}],attrs:{\"type\":\"checkbox\",\"id\":\"notification-setting-follows\"},domProps:{\"checked\":Array.isArray(_vm.notificationSettings.follows)?_vm._i(_vm.notificationSettings.follows,null)>-1:(_vm.notificationSettings.follows)},on:{\"change\":function($event){var $$a=_vm.notificationSettings.follows,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.notificationSettings, \"follows\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.notificationSettings, \"follows\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.notificationSettings, \"follows\", $$c)}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"notification-setting-follows\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.notification_setting_follows'))+\"\\n \")])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notificationSettings.followers),expression:\"notificationSettings.followers\"}],attrs:{\"type\":\"checkbox\",\"id\":\"notification-setting-followers\"},domProps:{\"checked\":Array.isArray(_vm.notificationSettings.followers)?_vm._i(_vm.notificationSettings.followers,null)>-1:(_vm.notificationSettings.followers)},on:{\"change\":function($event){var $$a=_vm.notificationSettings.followers,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.notificationSettings, \"followers\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.notificationSettings, \"followers\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.notificationSettings, \"followers\", $$c)}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"notification-setting-followers\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.notification_setting_followers'))+\"\\n \")])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notificationSettings.non_follows),expression:\"notificationSettings.non_follows\"}],attrs:{\"type\":\"checkbox\",\"id\":\"notification-setting-non-follows\"},domProps:{\"checked\":Array.isArray(_vm.notificationSettings.non_follows)?_vm._i(_vm.notificationSettings.non_follows,null)>-1:(_vm.notificationSettings.non_follows)},on:{\"change\":function($event){var $$a=_vm.notificationSettings.non_follows,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.notificationSettings, \"non_follows\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.notificationSettings, \"non_follows\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.notificationSettings, \"non_follows\", $$c)}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"notification-setting-non-follows\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.notification_setting_non_follows'))+\"\\n \")])]),_vm._v(\" \"),_c('li',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notificationSettings.non_followers),expression:\"notificationSettings.non_followers\"}],attrs:{\"type\":\"checkbox\",\"id\":\"notification-setting-non-followers\"},domProps:{\"checked\":Array.isArray(_vm.notificationSettings.non_followers)?_vm._i(_vm.notificationSettings.non_followers,null)>-1:(_vm.notificationSettings.non_followers)},on:{\"change\":function($event){var $$a=_vm.notificationSettings.non_followers,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.notificationSettings, \"non_followers\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.notificationSettings, \"non_followers\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.notificationSettings, \"non_followers\", $$c)}}}}),_vm._v(\" \"),_c('label',{attrs:{\"for\":\"notification-setting-non-followers\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('settings.notification_setting_non_followers'))+\"\\n \")])])])]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.notification_mutes')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.notification_blocks')))]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.updateNotificationSettings}},[_vm._v(_vm._s(_vm.$t('general.submit')))])])]):_vm._e(),_vm._v(\" \"),(_vm.pleromaBackend)?_c('div',{attrs:{\"label\":_vm.$t('settings.data_import_export_tab')}},[_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.follow_import')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.import_followers_from_a_csv_file')))]),_vm._v(\" \"),_c('Importer',{attrs:{\"submitHandler\":_vm.importFollows,\"successMessage\":_vm.$t('settings.follows_imported'),\"errorMessage\":_vm.$t('settings.follow_import_error')}})],1),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.follow_export')))]),_vm._v(\" \"),_c('Exporter',{attrs:{\"getContent\":_vm.getFollowsContent,\"filename\":\"friends.csv\",\"exportButtonLabel\":_vm.$t('settings.follow_export_button')}})],1),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.block_import')))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(_vm.$t('settings.import_blocks_from_a_csv_file')))]),_vm._v(\" \"),_c('Importer',{attrs:{\"submitHandler\":_vm.importBlocks,\"successMessage\":_vm.$t('settings.blocks_imported'),\"errorMessage\":_vm.$t('settings.block_import_error')}})],1),_vm._v(\" \"),_c('div',{staticClass:\"setting-item\"},[_c('h2',[_vm._v(_vm._s(_vm.$t('settings.block_export')))]),_vm._v(\" \"),_c('Exporter',{attrs:{\"getContent\":_vm.getBlocksContent,\"filename\":\"blocks.csv\",\"exportButtonLabel\":_vm.$t('settings.block_export_button')}})],1)]):_vm._e(),_vm._v(\" \"),_c('div',{attrs:{\"label\":_vm.$t('settings.blocks_tab')}},[_c('div',{staticClass:\"profile-edit-usersearch-wrapper\"},[_c('Autosuggest',{attrs:{\"filter\":_vm.filterUnblockedUsers,\"query\":_vm.queryUserIds,\"placeholder\":_vm.$t('settings.search_user_to_block')},scopedSlots:_vm._u([{key:\"default\",fn:function(row){return _c('BlockCard',{attrs:{\"userId\":row.item}})}}])})],1),_vm._v(\" \"),_c('BlockList',{attrs:{\"refresh\":true,\"getKey\":_vm.identity},scopedSlots:_vm._u([{key:\"header\",fn:function(ref){\nvar selected = ref.selected;\nreturn [_c('div',{staticClass:\"profile-edit-bulk-actions\"},[(selected.length > 0)?_c('ProgressButton',{staticClass:\"btn btn-default\",attrs:{\"click\":function () { return _vm.blockUsers(selected); }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.block'))+\"\\n \"),_c('template',{slot:\"progress\"},[_vm._v(_vm._s(_vm.$t('user_card.block_progress')))])],2):_vm._e(),_vm._v(\" \"),(selected.length > 0)?_c('ProgressButton',{staticClass:\"btn btn-default\",attrs:{\"click\":function () { return _vm.unblockUsers(selected); }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.unblock'))+\"\\n \"),_c('template',{slot:\"progress\"},[_vm._v(_vm._s(_vm.$t('user_card.unblock_progress')))])],2):_vm._e()],1)]}},{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('BlockCard',{attrs:{\"userId\":item}})]}}])},[_c('template',{slot:\"empty\"},[_vm._v(_vm._s(_vm.$t('settings.no_blocks')))])],2)],1),_vm._v(\" \"),_c('div',{attrs:{\"label\":_vm.$t('settings.mutes_tab')}},[_c('div',{staticClass:\"profile-edit-usersearch-wrapper\"},[_c('Autosuggest',{attrs:{\"filter\":_vm.filterUnMutedUsers,\"query\":_vm.queryUserIds,\"placeholder\":_vm.$t('settings.search_user_to_mute')},scopedSlots:_vm._u([{key:\"default\",fn:function(row){return _c('MuteCard',{attrs:{\"userId\":row.item}})}}])})],1),_vm._v(\" \"),_c('MuteList',{attrs:{\"refresh\":true,\"getKey\":_vm.identity},scopedSlots:_vm._u([{key:\"header\",fn:function(ref){\nvar selected = ref.selected;\nreturn [_c('div',{staticClass:\"profile-edit-bulk-actions\"},[(selected.length > 0)?_c('ProgressButton',{staticClass:\"btn btn-default\",attrs:{\"click\":function () { return _vm.muteUsers(selected); }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.mute'))+\"\\n \"),_c('template',{slot:\"progress\"},[_vm._v(_vm._s(_vm.$t('user_card.mute_progress')))])],2):_vm._e(),_vm._v(\" \"),(selected.length > 0)?_c('ProgressButton',{staticClass:\"btn btn-default\",attrs:{\"click\":function () { return _vm.unmuteUsers(selected); }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_card.unmute'))+\"\\n \"),_c('template',{slot:\"progress\"},[_vm._v(_vm._s(_vm.$t('user_card.unmute_progress')))])],2):_vm._e()],1)]}},{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('MuteCard',{attrs:{\"userId\":item}})]}}])},[_c('template',{slot:\"empty\"},[_vm._v(_vm._s(_vm.$t('settings.no_mutes')))])],2)],1)])],1)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('basic-user-card',{attrs:{\"user\":_vm.user}},[_c('div',{staticClass:\"follow-request-card-content-container\"},[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.approveUser}},[_vm._v(_vm._s(_vm.$t('user_card.approve')))]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.denyUser}},[_vm._v(_vm._s(_vm.$t('user_card.deny')))])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"settings panel panel-default\"},[_c('div',{staticClass:\"panel-heading\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('nav.friend_requests'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"panel-body\"},_vm._l((_vm.requests),function(request){return _c('FollowRequestCard',{key:request.id,staticClass:\"list-item\",attrs:{\"user\":request}})}),1)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h1',[_vm._v(\"...\")])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"user-search panel panel-default\"},[_c('div',{staticClass:\"panel-heading\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('nav.user_search'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"user-search-input-container\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.username),expression:\"username\"}],ref:\"userSearchInput\",staticClass:\"user-finder-input\",attrs:{\"placeholder\":_vm.$t('finder.find_user')},domProps:{\"value\":(_vm.username)},on:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }_vm.newQuery(_vm.username)},\"input\":function($event){if($event.target.composing){ return; }_vm.username=$event.target.value}}}),_vm._v(\" \"),_c('button',{staticClass:\"btn search-button\",on:{\"click\":function($event){_vm.newQuery(_vm.username)}}},[_c('i',{staticClass:\"icon-search\"})])]),_vm._v(\" \"),(_vm.loading)?_c('div',{staticClass:\"text-center loading-icon\"},[_c('i',{staticClass:\"icon-spin3 animate-spin\"})]):_c('div',{staticClass:\"panel-body\"},_vm._l((_vm.users),function(user){return _c('FollowCard',{key:user.id,staticClass:\"list-item\",attrs:{\"user\":user}})}),1)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login panel panel-default\"},[_c('div',{staticClass:\"panel-heading\"},[_vm._v(_vm._s(_vm.$t('login.login')))]),_vm._v(\" \"),_c('div',{staticClass:\"panel-body\"},[_c('form',{staticClass:\"login-form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.submit($event)}}},[(_vm.isPasswordAuth)?[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"username\"}},[_vm._v(_vm._s(_vm.$t('login.username')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.username),expression:\"user.username\"}],staticClass:\"form-control\",attrs:{\"disabled\":_vm.loggingIn,\"id\":\"username\",\"placeholder\":_vm.$t('login.placeholder')},domProps:{\"value\":(_vm.user.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"username\", $event.target.value)}}})]),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"password\"}},[_vm._v(_vm._s(_vm.$t('login.password')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user.password),expression:\"user.password\"}],ref:\"passwordInput\",staticClass:\"form-control\",attrs:{\"disabled\":_vm.loggingIn,\"id\":\"password\",\"type\":\"password\"},domProps:{\"value\":(_vm.user.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.user, \"password\", $event.target.value)}}})])]:_vm._e(),_vm._v(\" \"),(_vm.isTokenAuth)?_c('div',{staticClass:\"form-group\"},[_c('p',[_vm._v(_vm._s(_vm.$t('login.description')))])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"login-bottom\"},[_c('div',[(_vm.registrationOpen)?_c('router-link',{staticClass:\"register\",attrs:{\"to\":{name: 'registration'}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('login.register'))+\"\\n \")]):_vm._e()],1),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.loggingIn,\"type\":\"submit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('login.login'))+\"\\n \")])])])],2)]),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"alert error\"},[_vm._v(\"\\n \"+_vm._s(_vm.error)+\"\\n \"),_c('i',{staticClass:\"button-icon icon-cancel\",on:{\"click\":_vm.clearError}})])]):_vm._e()])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login panel panel-default\"},[_c('div',{staticClass:\"panel-heading\"},[_vm._v(_vm._s(_vm.$t('login.heading.recovery')))]),_vm._v(\" \"),_c('div',{staticClass:\"panel-body\"},[_c('form',{staticClass:\"login-form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.submit($event)}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"code\"}},[_vm._v(_vm._s(_vm.$t('login.recovery_code')))]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.code),expression:\"code\"}],staticClass:\"form-control\",attrs:{\"id\":\"code\"},domProps:{\"value\":(_vm.code)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.code=$event.target.value}}})]),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"login-bottom\"},[_c('div',[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.requireTOTP($event)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('login.enter_two_factor_code'))+\"\\n \")]),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.abortMFA($event)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.cancel'))+\"\\n \")])]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.verify'))+\"\\n \")])])])])]),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"alert error\"},[_vm._v(\"\\n \"+_vm._s(_vm.error)+\"\\n \"),_c('i',{staticClass:\"button-icon icon-cancel\",on:{\"click\":_vm.clearError}})])]):_vm._e()])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login panel panel-default\"},[_c('div',{staticClass:\"panel-heading\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('login.heading.totp'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"panel-body\"},[_c('form',{staticClass:\"login-form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.submit($event)}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"code\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('login.authentication_code'))+\"\\n \")]),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.code),expression:\"code\"}],staticClass:\"form-control\",attrs:{\"id\":\"code\"},domProps:{\"value\":(_vm.code)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.code=$event.target.value}}})]),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"login-bottom\"},[_c('div',[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.requireRecovery($event)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('login.enter_recovery_code'))+\"\\n \")]),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.abortMFA($event)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.cancel'))+\"\\n \")])]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('general.verify'))+\"\\n \")])])])])]),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"alert error\"},[_vm._v(\"\\n \"+_vm._s(_vm.error)+\"\\n \"),_c('i',{staticClass:\"button-icon icon-cancel\",on:{\"click\":_vm.clearError}})])]):_vm._e()])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!this.collapsed || !this.floating)?_c('div',{staticClass:\"chat-panel\"},[_c('div',{staticClass:\"panel panel-default\"},[_c('div',{staticClass:\"panel-heading timeline-heading\",class:{ 'chat-heading': _vm.floating },on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.togglePanel($event)}}},[_c('div',{staticClass:\"title\"},[_c('span',[_vm._v(_vm._s(_vm.$t('chat.title')))]),_vm._v(\" \"),(_vm.floating)?_c('i',{staticClass:\"icon-cancel\"}):_vm._e()])]),_vm._v(\" \"),_c('div',{directives:[{name:\"chat-scroll\",rawName:\"v-chat-scroll\"}],staticClass:\"chat-window\"},_vm._l((_vm.messages),function(message){return _c('div',{key:message.id,staticClass:\"chat-message\"},[_c('span',{staticClass:\"chat-avatar\"},[_c('img',{attrs:{\"src\":message.author.avatar}})]),_vm._v(\" \"),_c('div',{staticClass:\"chat-content\"},[_c('router-link',{staticClass:\"chat-name\",attrs:{\"to\":_vm.userProfileLink(message.author)}},[_vm._v(\"\\n \"+_vm._s(message.author.username)+\"\\n \")]),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('span',{staticClass:\"chat-text\"},[_vm._v(\"\\n \"+_vm._s(message.text)+\"\\n \")])],1)])}),0),_vm._v(\" \"),_c('div',{staticClass:\"chat-input\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.currentMessage),expression:\"currentMessage\"}],staticClass:\"chat-input-textarea\",attrs:{\"rows\":\"1\"},domProps:{\"value\":(_vm.currentMessage)},on:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }_vm.submit(_vm.currentMessage)},\"input\":function($event){if($event.target.composing){ return; }_vm.currentMessage=$event.target.value}}})])])]):_c('div',{staticClass:\"chat-panel\"},[_c('div',{staticClass:\"panel panel-default\"},[_c('div',{staticClass:\"panel-heading stub timeline-heading chat-heading\",on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.togglePanel($event)}}},[_c('div',{staticClass:\"title\"},[_c('i',{staticClass:\"icon-comment-empty\"}),_vm._v(\"\\n \"+_vm._s(_vm.$t('chat.title'))+\"\\n \")])])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"panel panel-default\"},[_c('div',{staticClass:\"panel-heading\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('who_to_follow.who_to_follow'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"panel-body\"},_vm._l((_vm.users),function(user){return _c('FollowCard',{key:user.id,staticClass:\"list-item\",attrs:{\"user\":user}})}),1)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.show)?_c('div',{staticClass:\"instance-specific-panel\"},[_c('div',{staticClass:\"panel panel-default\"},[_c('div',{staticClass:\"panel-body\"},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.instanceSpecificPanelContent)}})])])]):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"features-panel\"},[_c('div',{staticClass:\"panel panel-default base01-background\"},[_c('div',{staticClass:\"panel-heading timeline-heading base02-background base04\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('features_panel.title'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"panel-body features-panel\"},[_c('ul',[(_vm.chat)?_c('li',[_vm._v(_vm._s(_vm.$t('features_panel.chat')))]):_vm._e(),_vm._v(\" \"),(_vm.gopher)?_c('li',[_vm._v(_vm._s(_vm.$t('features_panel.gopher')))]):_vm._e(),_vm._v(\" \"),(_vm.whoToFollow)?_c('li',[_vm._v(_vm._s(_vm.$t('features_panel.who_to_follow')))]):_vm._e(),_vm._v(\" \"),(_vm.mediaProxy)?_c('li',[_vm._v(_vm._s(_vm.$t('features_panel.media_proxy')))]):_vm._e(),_vm._v(\" \"),_c('li',[_vm._v(_vm._s(_vm.$t('features_panel.scope_options')))]),_vm._v(\" \"),_c('li',[_vm._v(_vm._s(_vm.$t('features_panel.text_limit'))+\" = \"+_vm._s(_vm.textlimit))])])])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"panel panel-default\"},[_c('div',{staticClass:\"panel-body\"},[_c('div',{staticClass:\"tos-content\",domProps:{\"innerHTML\":_vm._s(_vm.content)}})])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sidebar\"},[_c('instance-specific-panel'),_vm._v(\" \"),(_vm.showFeaturesPanel)?_c('features-panel'):_vm._e(),_vm._v(\" \"),_c('terms-of-service-panel')],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"user-panel\"},[(_vm.signedIn)?_c('div',{key:\"user-panel\",staticClass:\"panel panel-default signed-in\"},[_c('UserCard',{attrs:{\"user\":_vm.user,\"hideBio\":true,\"rounded\":\"top\"}}),_vm._v(\" \"),_c('div',{staticClass:\"panel-footer\"},[(_vm.user)?_c('post-status-form'):_vm._e()],1)],1):_c('auth-form',{key:\"user-panel\"})],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"nav-panel\"},[_c('div',{staticClass:\"panel panel-default\"},[_c('ul',[(_vm.currentUser)?_c('li',[_c('router-link',{attrs:{\"to\":{ name: 'friends' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.timeline\"))+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),(_vm.currentUser)?_c('li',[_c('router-link',{attrs:{\"to\":{ name: 'interactions', params: { username: _vm.currentUser.screen_name } }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.interactions\"))+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),(_vm.currentUser)?_c('li',[_c('router-link',{attrs:{\"to\":{ name: 'dms', params: { username: _vm.currentUser.screen_name } }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.dms\"))+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),(_vm.currentUser && _vm.currentUser.locked)?_c('li',[_c('router-link',{attrs:{\"to\":{ name: 'friend-requests' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.friend_requests\"))+\"\\n \"),(_vm.followRequestCount > 0)?_c('span',{staticClass:\"badge follow-request-count\"},[_vm._v(\"\\n \"+_vm._s(_vm.followRequestCount)+\"\\n \")]):_vm._e()])],1):_vm._e(),_vm._v(\" \"),_c('li',[_c('router-link',{attrs:{\"to\":{ name: 'public-timeline' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.public_tl\"))+\"\\n \")])],1),_vm._v(\" \"),_c('li',[_c('router-link',{attrs:{\"to\":{ name: 'public-external-timeline' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.twkn\"))+\"\\n \")])],1)])])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"user-finder-container\"},[(_vm.loading)?_c('i',{staticClass:\"icon-spin4 user-finder-icon animate-spin-slow\"}):_vm._e(),_vm._v(\" \"),(_vm.hidden)?_c('a',{attrs:{\"href\":\"#\",\"title\":_vm.$t('finder.find_user')}},[_c('i',{staticClass:\"icon-user-plus user-finder-icon\",on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.toggleHidden($event)}}})]):[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.username),expression:\"username\"}],ref:\"userSearchInput\",staticClass:\"user-finder-input\",attrs:{\"placeholder\":_vm.$t('finder.find_user'),\"id\":\"user-finder-input\",\"type\":\"text\"},domProps:{\"value\":(_vm.username)},on:{\"keyup\":function($event){if(!('button' in $event)&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }_vm.findUser(_vm.username)},\"input\":function($event){if($event.target.composing){ return; }_vm.username=$event.target.value}}}),_vm._v(\" \"),_c('button',{staticClass:\"btn search-button\",on:{\"click\":function($event){_vm.findUser(_vm.username)}}},[_c('i',{staticClass:\"icon-search\"})]),_vm._v(\" \"),_c('i',{staticClass:\"button-icon icon-cancel user-finder-icon\",on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.toggleHidden($event)}}})]],2)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"who-to-follow-panel\"},[_c('div',{staticClass:\"panel panel-default base01-background\"},[_c('div',{staticClass:\"panel-heading timeline-heading base02-background base04\"},[_c('div',{staticClass:\"title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('who_to_follow.who_to_follow'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"who-to-follow\"},[_vm._l((_vm.usersToFollow),function(user){return _c('p',{staticClass:\"who-to-follow-items\"},[_c('img',{attrs:{\"src\":user.img}}),_vm._v(\" \"),_c('router-link',{attrs:{\"to\":_vm.userProfileLink(user.id, user.name)}},[_vm._v(\"\\n \"+_vm._s(user.name)+\"\\n \")]),_c('br')],1)}),_vm._v(\" \"),_c('p',{staticClass:\"who-to-follow-more\"},[_c('router-link',{attrs:{\"to\":{ name: 'who-to-follow' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('who_to_follow.more'))+\"\\n \")])],1)],2)])])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showing)?_c('div',{staticClass:\"modal-view media-modal-view\",on:{\"click\":function($event){$event.preventDefault();return _vm.hide($event)}}},[(_vm.type === 'image')?_c('img',{staticClass:\"modal-image\",attrs:{\"src\":_vm.currentMedia.url}}):_vm._e(),_vm._v(\" \"),(_vm.type === 'video')?_c('VideoAttachment',{staticClass:\"modal-image\",attrs:{\"attachment\":_vm.currentMedia,\"controls\":true},nativeOn:{\"click\":function($event){$event.stopPropagation();}}}):_vm._e(),_vm._v(\" \"),(_vm.canNavigate)?_c('button',{staticClass:\"modal-view-button-arrow modal-view-button-arrow--prev\",attrs:{\"title\":_vm.$t('media_modal.previous')},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.goPrev($event)}}},[_c('i',{staticClass:\"icon-left-open arrow-icon\"})]):_vm._e(),_vm._v(\" \"),(_vm.canNavigate)?_c('button',{staticClass:\"modal-view-button-arrow modal-view-button-arrow--next\",attrs:{\"title\":_vm.$t('media_modal.next')},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.goNext($event)}}},[_c('i',{staticClass:\"icon-right-open arrow-icon\"})]):_vm._e()],1):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"side-drawer-container\",class:{ 'side-drawer-container-closed': _vm.closed, 'side-drawer-container-open': !_vm.closed }},[_c('div',{staticClass:\"side-drawer-darken\",class:{ 'side-drawer-darken-closed': _vm.closed}}),_vm._v(\" \"),_c('div',{staticClass:\"side-drawer\",class:{'side-drawer-closed': _vm.closed},on:{\"touchstart\":_vm.touchStart,\"touchmove\":_vm.touchMove}},[_c('div',{staticClass:\"side-drawer-heading\",on:{\"click\":_vm.toggleDrawer}},[(_vm.currentUser)?_c('UserCard',{attrs:{\"user\":_vm.currentUser,\"hideBio\":true}}):_c('div',{staticClass:\"side-drawer-logo-wrapper\"},[_c('img',{attrs:{\"src\":_vm.logo}}),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.sitename))])])],1),_vm._v(\" \"),_c('ul',[(!_vm.currentUser)?_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":{ name: 'login' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"login.login\"))+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),(_vm.currentUser)?_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":{ name: 'dms', params: { username: _vm.currentUser.screen_name } }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.dms\"))+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),(_vm.currentUser)?_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":{ name: 'interactions', params: { username: _vm.currentUser.screen_name } }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.interactions\"))+\"\\n \")])],1):_vm._e()]),_vm._v(\" \"),_c('ul',[(_vm.currentUser)?_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":{ name: 'friends' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.timeline\"))+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),(_vm.currentUser && _vm.currentUser.locked)?_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":\"/friend-requests\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.friend_requests\"))+\"\\n \"),(_vm.followRequestCount > 0)?_c('span',{staticClass:\"badge follow-request-count\"},[_vm._v(\"\\n \"+_vm._s(_vm.followRequestCount)+\"\\n \")]):_vm._e()])],1):_vm._e(),_vm._v(\" \"),_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":\"/main/public\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.public_tl\"))+\"\\n \")])],1),_vm._v(\" \"),_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":\"/main/all\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.twkn\"))+\"\\n \")])],1),_vm._v(\" \"),(_vm.currentUser && _vm.chat)?_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":{ name: 'chat' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.chat\"))+\"\\n \")])],1):_vm._e()]),_vm._v(\" \"),_c('ul',[_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":{ name: 'user-search' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.user_search\"))+\"\\n \")])],1),_vm._v(\" \"),(_vm.currentUser && _vm.suggestionsEnabled)?_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":{ name: 'who-to-follow' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.who_to_follow\"))+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":{ name: 'settings' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"settings.settings\"))+\"\\n \")])],1),_vm._v(\" \"),_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('router-link',{attrs:{\"to\":{ name: 'about'}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"nav.about\"))+\"\\n \")])],1),_vm._v(\" \"),(_vm.currentUser)?_c('li',{on:{\"click\":_vm.toggleDrawer}},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":_vm.doLogout}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"login.logout\"))+\"\\n \")])]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"side-drawer-click-outside\",class:{'side-drawer-click-outside-closed': _vm.closed},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.toggleDrawer($event)}}})])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.currentUser)?_c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.postFormOpen),expression:\"postFormOpen\"}],staticClass:\"post-form-modal-view modal-view\",on:{\"click\":_vm.closePostForm}},[_c('div',{staticClass:\"post-form-modal-panel panel\",on:{\"click\":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:\"panel-heading\"},[_vm._v(_vm._s(_vm.$t('post_status.new_status')))]),_vm._v(\" \"),_c('PostStatusForm',{staticClass:\"panel-body\",on:{\"posted\":_vm.closePostForm}})],1)]),_vm._v(\" \"),_c('button',{staticClass:\"new-status-button\",class:{ 'hidden': _vm.isHidden },on:{\"click\":_vm.openPostForm}},[_c('i',{staticClass:\"icon-edit\"})])]):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('nav',{staticClass:\"nav-bar container\",attrs:{\"id\":\"nav\"}},[_c('div',{staticClass:\"mobile-inner-nav\",on:{\"click\":function($event){_vm.scrollToTop()}}},[_c('div',{staticClass:\"item\"},[_c('a',{staticClass:\"mobile-nav-button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();_vm.toggleMobileSidebar()}}},[_c('i',{staticClass:\"button-icon icon-menu\"})]),_vm._v(\" \"),_c('router-link',{staticClass:\"site-name\",attrs:{\"to\":{ name: 'root' },\"active-class\":\"home\"}},[_vm._v(_vm._s(_vm.sitename))])],1),_vm._v(\" \"),_c('div',{staticClass:\"item right\"},[(_vm.currentUser)?_c('a',{staticClass:\"mobile-nav-button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();_vm.openMobileNotifications()}}},[_c('i',{staticClass:\"button-icon icon-bell-alt\"}),_vm._v(\" \"),(_vm.unseenNotificationsCount)?_c('div',{staticClass:\"alert-dot\"}):_vm._e()]):_vm._e()])])]),_vm._v(\" \"),(_vm.currentUser)?_c('div',{staticClass:\"mobile-notifications-drawer\",class:{ 'closed': !_vm.notificationsOpen },on:{\"touchstart\":function($event){$event.stopPropagation();return _vm.notificationsTouchStart($event)},\"touchmove\":function($event){$event.stopPropagation();return _vm.notificationsTouchMove($event)}}},[_c('div',{staticClass:\"mobile-notifications-header\"},[_c('span',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.$t('notifications.notifications')))]),_vm._v(\" \"),_c('a',{staticClass:\"mobile-nav-button\",on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();_vm.closeMobileNotifications()}}},[_c('i',{staticClass:\"button-icon icon-cancel\"})])]),_vm._v(\" \"),_c('div',{staticClass:\"mobile-notifications\",on:{\"scroll\":_vm.onScroll}},[_c('Notifications',{ref:\"notifications\",attrs:{\"noHeading\":true}})],1)]):_vm._e(),_vm._v(\" \"),_c('SideDrawer',{ref:\"sideDrawer\",attrs:{\"logout\":_vm.logout}}),_vm._v(\" \"),_c('MobilePostStatusModal')],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isOpen)?_c('div',{staticClass:\"modal-view\",on:{\"click\":_vm.closeModal}},[_c('div',{staticClass:\"user-reporting-panel panel\",on:{\"click\":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:\"panel-heading\"},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.$t('user_reporting.title', [_vm.user.screen_name])))])]),_vm._v(\" \"),_c('div',{staticClass:\"panel-body\"},[_c('div',{staticClass:\"user-reporting-panel-left\"},[_c('div',[_c('p',[_vm._v(_vm._s(_vm.$t('user_reporting.add_comment_description')))]),_vm._v(\" \"),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.comment),expression:\"comment\"}],staticClass:\"form-control\",attrs:{\"placeholder\":_vm.$t('user_reporting.additional_comments'),\"rows\":\"1\"},domProps:{\"value\":(_vm.comment)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.comment=$event.target.value},_vm.resize]}})]),_vm._v(\" \"),(!_vm.user.is_local)?_c('div',[_c('p',[_vm._v(_vm._s(_vm.$t('user_reporting.forward_description')))]),_vm._v(\" \"),_c('Checkbox',{model:{value:(_vm.forward),callback:function ($$v) {_vm.forward=$$v},expression:\"forward\"}},[_vm._v(_vm._s(_vm.$t('user_reporting.forward_to', [_vm.remoteInstance])))])],1):_vm._e(),_vm._v(\" \"),_c('div',[_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":_vm.processing},on:{\"click\":_vm.reportUser}},[_vm._v(_vm._s(_vm.$t('user_reporting.submit')))]),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"alert error\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('user_reporting.generic_error'))+\"\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"user-reporting-panel-right\"},[_c('List',{attrs:{\"items\":_vm.statuses},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('div',{staticClass:\"status-fadein user-reporting-panel-sitem\"},[_c('Status',{attrs:{\"inConversation\":false,\"focused\":false,\"statusoid\":item}}),_vm._v(\" \"),_c('Checkbox',{attrs:{\"checked\":_vm.isChecked(item.id)},on:{\"change\":function (checked) { return _vm.toggleStatus(checked, item.id); }}})],1)]}}])})],1)])])]):_vm._e()}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{style:(_vm.bgAppStyle),attrs:{\"id\":\"app\"}},[_c('div',{staticClass:\"app-bg-wrapper\",style:(_vm.bgStyle)}),_vm._v(\" \"),(_vm.isMobileLayout)?_c('MobileNav'):_c('nav',{staticClass:\"nav-bar container\",attrs:{\"id\":\"nav\"},on:{\"click\":function($event){_vm.scrollToTop()}}},[_c('div',{staticClass:\"logo\",style:(_vm.logoBgStyle)},[_c('div',{staticClass:\"mask\",style:(_vm.logoMaskStyle)}),_vm._v(\" \"),_c('img',{style:(_vm.logoStyle),attrs:{\"src\":_vm.logo}})]),_vm._v(\" \"),_c('div',{staticClass:\"inner-nav\"},[_c('div',{staticClass:\"item\"},[_c('router-link',{staticClass:\"site-name\",attrs:{\"to\":{ name: 'root' },\"active-class\":\"home\"}},[_vm._v(_vm._s(_vm.sitename))])],1),_vm._v(\" \"),_c('div',{staticClass:\"item right\"},[_c('user-finder',{staticClass:\"button-icon nav-icon mobile-hidden\",on:{\"toggled\":_vm.onFinderToggled}}),_vm._v(\" \"),_c('router-link',{staticClass:\"mobile-hidden\",attrs:{\"to\":{ name: 'settings'}}},[_c('i',{staticClass:\"button-icon icon-cog nav-icon\",attrs:{\"title\":_vm.$t('nav.preferences')}})]),_vm._v(\" \"),(_vm.currentUser)?_c('a',{staticClass:\"mobile-hidden\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.logout($event)}}},[_c('i',{staticClass:\"button-icon icon-logout nav-icon\",attrs:{\"title\":_vm.$t('login.logout')}})]):_vm._e()],1)])]),_vm._v(\" \"),_c('div',{staticClass:\"container\",attrs:{\"id\":\"content\"}},[_c('div',{staticClass:\"sidebar-flexer mobile-hidden\"},[_c('div',{staticClass:\"sidebar-bounds\"},[_c('div',{staticClass:\"sidebar-scroller\"},[_c('div',{staticClass:\"sidebar\"},[_c('user-panel'),_vm._v(\" \"),(!_vm.isMobileLayout)?_c('div',[_c('nav-panel'),_vm._v(\" \"),(_vm.showInstanceSpecificPanel)?_c('instance-specific-panel'):_vm._e(),_vm._v(\" \"),(!_vm.currentUser && _vm.showFeaturesPanel)?_c('features-panel'):_vm._e(),_vm._v(\" \"),(_vm.currentUser && _vm.suggestionsEnabled)?_c('who-to-follow-panel'):_vm._e(),_vm._v(\" \"),(_vm.currentUser)?_c('notifications'):_vm._e()],1):_vm._e()],1)])])]),_vm._v(\" \"),_c('div',{staticClass:\"main\"},[(!_vm.currentUser)?_c('div',{staticClass:\"login-hint panel panel-default\"},[_c('router-link',{staticClass:\"panel-body\",attrs:{\"to\":{ name: 'login' }}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"login.hint\"))+\"\\n \")])],1):_vm._e(),_vm._v(\" \"),_c('transition',{attrs:{\"name\":\"fade\"}},[_c('router-view')],1)],1),_vm._v(\" \"),_c('media-modal')],1),_vm._v(\" \"),(_vm.currentUser && _vm.chat)?_c('chat-panel',{staticClass:\"floating-chat mobile-hidden\",attrs:{\"floating\":true}}):_vm._e(),_vm._v(\" \"),_c('UserReportingModal'),_vm._v(\" \"),_c('portal-target',{attrs:{\"name\":\"modal\"}})],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","const qvitterStatusType = (status) => {\n if (status.is_post_verb) {\n return 'status'\n }\n\n if (status.retweeted_status) {\n return 'retweet'\n }\n\n if ((typeof status.uri === 'string' && status.uri.match(/(fave|objectType=Favourite)/)) ||\n (typeof status.text === 'string' && status.text.match(/favorited/))) {\n return 'favorite'\n }\n\n if (status.text.match(/deleted notice {{tag/) || status.qvitter_delete_notice) {\n return 'deletion'\n }\n\n if (status.text.match(/started following/) || status.activity_type === 'follow') {\n return 'follow'\n }\n\n return 'unknown'\n}\n\nexport const parseUser = (data) => {\n const output = {}\n const masto = data.hasOwnProperty('acct')\n // case for users in \"mentions\" property for statuses in MastoAPI\n const mastoShort = masto && !data.hasOwnProperty('avatar')\n\n output.id = String(data.id)\n\n if (masto) {\n output.screen_name = data.acct\n output.statusnet_profile_url = data.url\n\n // There's nothing else to get\n if (mastoShort) {\n return output\n }\n\n output.name = data.display_name\n output.name_html = addEmojis(data.display_name, data.emojis)\n\n output.description = data.note\n output.description_html = addEmojis(data.note, data.emojis)\n\n // Utilize avatar_static for gif avatars?\n output.profile_image_url = data.avatar\n output.profile_image_url_original = data.avatar\n\n // Same, utilize header_static?\n output.cover_photo = data.header\n\n output.friends_count = data.following_count\n\n output.bot = data.bot\n\n if (data.pleroma) {\n const relationship = data.pleroma.relationship\n\n output.background_image = data.pleroma.background_image\n output.token = data.pleroma.chat_token\n\n if (relationship) {\n output.follows_you = relationship.followed_by\n output.following = relationship.following\n output.statusnet_blocking = relationship.blocking\n output.muted = relationship.muting\n }\n\n output.rights = {\n moderator: data.pleroma.is_moderator,\n admin: data.pleroma.is_admin\n }\n // TODO: Clean up in UI? This is duplication from what BE does for qvitterapi\n if (output.rights.admin) {\n output.role = 'admin'\n } else if (output.rights.moderator) {\n output.role = 'moderator'\n } else {\n output.role = 'member'\n }\n }\n\n if (data.source) {\n output.description = data.source.note\n output.default_scope = data.source.privacy\n if (data.source.pleroma) {\n output.no_rich_text = data.source.pleroma.no_rich_text\n output.show_role = data.source.pleroma.show_role\n }\n }\n\n // TODO: handle is_local\n output.is_local = !output.screen_name.includes('@')\n } else {\n output.screen_name = data.screen_name\n\n output.name = data.name\n output.name_html = data.name_html\n\n output.description = data.description\n output.description_html = data.description_html\n\n output.profile_image_url = data.profile_image_url\n output.profile_image_url_original = data.profile_image_url_original\n\n output.cover_photo = data.cover_photo\n\n output.friends_count = data.friends_count\n\n // output.bot = ??? missing\n\n output.statusnet_profile_url = data.statusnet_profile_url\n\n output.statusnet_blocking = data.statusnet_blocking\n\n output.is_local = data.is_local\n output.role = data.role\n output.show_role = data.show_role\n\n output.follows_you = data.follows_you\n\n output.muted = data.muted\n\n if (data.rights) {\n output.rights = {\n moderator: data.rights.delete_others_notice,\n admin: data.rights.admin\n }\n }\n output.no_rich_text = data.no_rich_text\n output.default_scope = data.default_scope\n output.hide_follows = data.hide_follows\n output.hide_followers = data.hide_followers\n output.background_image = data.background_image\n // on mastoapi this info is contained in a \"relationship\"\n output.following = data.following\n // Websocket token\n output.token = data.token\n }\n\n output.created_at = new Date(data.created_at)\n output.locked = data.locked\n output.followers_count = data.followers_count\n output.statuses_count = data.statuses_count\n output.friendIds = []\n output.followerIds = []\n output.pinnedStatuseIds = []\n\n if (data.pleroma) {\n output.follow_request_count = data.pleroma.follow_request_count\n\n output.tags = data.pleroma.tags\n output.deactivated = data.pleroma.deactivated\n\n output.notification_settings = data.pleroma.notification_settings\n }\n\n output.tags = output.tags || []\n output.rights = output.rights || {}\n output.notification_settings = output.notification_settings || {}\n\n return output\n}\n\nexport const parseAttachment = (data) => {\n const output = {}\n const masto = !data.hasOwnProperty('oembed')\n\n if (masto) {\n // Not exactly same...\n output.mimetype = data.pleroma ? data.pleroma.mime_type : data.type\n output.meta = data.meta // not present in BE yet\n output.id = data.id\n } else {\n output.mimetype = data.mimetype\n // output.meta = ??? missing\n }\n\n output.url = data.url\n output.description = data.description\n\n return output\n}\nexport const addEmojis = (string, emojis) => {\n return emojis.reduce((acc, emoji) => {\n return acc.replace(\n new RegExp(`:${emoji.shortcode}:`, 'g'),\n `${emoji.shortcode}`\n )\n }, string)\n}\n\nexport const parseStatus = (data) => {\n const output = {}\n const masto = data.hasOwnProperty('account')\n\n if (masto) {\n output.favorited = data.favourited\n output.fave_num = data.favourites_count\n\n output.repeated = data.reblogged\n output.repeat_num = data.reblogs_count\n\n output.type = data.reblog ? 'retweet' : 'status'\n output.nsfw = data.sensitive\n\n output.statusnet_html = addEmojis(data.content, data.emojis)\n\n output.tags = data.tags\n\n if (data.pleroma) {\n const { pleroma } = data\n output.text = pleroma.content ? data.pleroma.content['text/plain'] : data.content\n output.summary = pleroma.spoiler_text ? data.pleroma.spoiler_text['text/plain'] : data.spoiler_text\n output.statusnet_conversation_id = data.pleroma.conversation_id\n output.is_local = pleroma.local\n output.in_reply_to_screen_name = data.pleroma.in_reply_to_account_acct\n } else {\n output.text = data.content\n output.summary = data.spoiler_text\n }\n\n output.in_reply_to_status_id = data.in_reply_to_id\n output.in_reply_to_user_id = data.in_reply_to_account_id\n output.replies_count = data.replies_count\n\n if (output.type === 'retweet') {\n output.retweeted_status = parseStatus(data.reblog)\n }\n\n output.summary_html = addEmojis(data.spoiler_text, data.emojis)\n output.external_url = data.url\n output.poll = data.poll\n output.pinned = data.pinned\n } else {\n output.favorited = data.favorited\n output.fave_num = data.fave_num\n\n output.repeated = data.repeated\n output.repeat_num = data.repeat_num\n\n // catchall, temporary\n // Object.assign(output, data)\n\n output.type = qvitterStatusType(data)\n\n if (data.nsfw === undefined) {\n output.nsfw = isNsfw(data)\n if (data.retweeted_status) {\n output.nsfw = data.retweeted_status.nsfw\n }\n } else {\n output.nsfw = data.nsfw\n }\n\n output.statusnet_html = data.statusnet_html\n output.text = data.text\n\n output.in_reply_to_status_id = data.in_reply_to_status_id\n output.in_reply_to_user_id = data.in_reply_to_user_id\n output.in_reply_to_screen_name = data.in_reply_to_screen_name\n output.statusnet_conversation_id = data.statusnet_conversation_id\n\n if (output.type === 'retweet') {\n output.retweeted_status = parseStatus(data.retweeted_status)\n }\n\n output.summary = data.summary\n output.summary_html = data.summary_html\n output.external_url = data.external_url\n output.is_local = data.is_local\n }\n\n output.id = String(data.id)\n output.visibility = data.visibility\n output.card = data.card\n output.created_at = new Date(data.created_at)\n\n // Converting to string, the right way.\n output.in_reply_to_status_id = output.in_reply_to_status_id\n ? String(output.in_reply_to_status_id)\n : null\n output.in_reply_to_user_id = output.in_reply_to_user_id\n ? String(output.in_reply_to_user_id)\n : null\n\n output.user = parseUser(masto ? data.account : data.user)\n\n output.attentions = ((masto ? data.mentions : data.attentions) || []).map(parseUser)\n\n output.attachments = ((masto ? data.media_attachments : data.attachments) || [])\n .map(parseAttachment)\n\n const retweetedStatus = masto ? data.reblog : data.retweeted_status\n if (retweetedStatus) {\n output.retweeted_status = parseStatus(retweetedStatus)\n }\n\n output.favoritedBy = []\n output.rebloggedBy = []\n\n return output\n}\n\nexport const parseNotification = (data) => {\n const mastoDict = {\n 'favourite': 'like',\n 'reblog': 'repeat'\n }\n const masto = !data.hasOwnProperty('ntype')\n const output = {}\n\n if (masto) {\n output.type = mastoDict[data.type] || data.type\n output.seen = data.pleroma.is_seen\n output.status = output.type === 'follow'\n ? null\n : parseStatus(data.status)\n output.action = output.status // TODO: Refactor, this is unneeded\n output.from_profile = parseUser(data.account)\n } else {\n const parsedNotice = parseStatus(data.notice)\n output.type = data.ntype\n output.seen = Boolean(data.is_seen)\n output.status = output.type === 'like'\n ? parseStatus(data.notice.favorited_status)\n : parsedNotice\n output.action = parsedNotice\n output.from_profile = parseUser(data.from_profile)\n }\n\n output.created_at = new Date(data.created_at)\n output.id = parseInt(data.id)\n\n return output\n}\n\nconst isNsfw = (status) => {\n const nsfwRegex = /#nsfw/i\n return (status.tags || []).includes('nsfw') || !!(status.text || '').match(nsfwRegex)\n}\n","import { camelCase } from 'lodash'\n\nimport apiService from '../api/api.service.js'\n\nconst update = ({store, statuses, timeline, showImmediately, userId}) => {\n const ccTimeline = camelCase(timeline)\n\n store.dispatch('setError', { value: false })\n\n store.dispatch('addNewStatuses', {\n timeline: ccTimeline,\n userId,\n statuses,\n showImmediately\n })\n}\n\nconst fetchAndUpdate = ({store, credentials, timeline = 'friends', older = false, showImmediately = false, userId = false, tag = false, until}) => {\n const args = { timeline, credentials }\n const rootState = store.rootState || store.state\n const timelineData = rootState.statuses.timelines[camelCase(timeline)]\n const hideMutedPosts = typeof rootState.config.hideMutedPosts === 'undefined'\n ? rootState.instance.hideMutedPosts\n : rootState.config.hideMutedPosts\n\n if (older) {\n args['until'] = until || timelineData.minId\n } else {\n args['since'] = timelineData.maxId\n }\n\n args['userId'] = userId\n args['tag'] = tag\n args['withMuted'] = !hideMutedPosts\n\n const numStatusesBeforeFetch = timelineData.statuses.length\n\n return apiService.fetchTimeline(args)\n .then((statuses) => {\n if (!older && statuses.length >= 20 && !timelineData.loading && numStatusesBeforeFetch > 0) {\n store.dispatch('queueFlush', { timeline: timeline, id: timelineData.maxId })\n }\n update({store, statuses, timeline, showImmediately, userId})\n return statuses\n }, () => store.dispatch('setError', { value: true }))\n}\n\nconst startFetching = ({timeline = 'friends', credentials, store, userId = false, tag = false}) => {\n const rootState = store.rootState || store.state\n const timelineData = rootState.statuses.timelines[camelCase(timeline)]\n const showImmediately = timelineData.visibleStatuses.length === 0\n timelineData.userId = userId\n fetchAndUpdate({timeline, credentials, store, showImmediately, userId, tag})\n const boundFetchAndUpdate = () => fetchAndUpdate({ timeline, credentials, store, userId, tag })\n return setInterval(boundFetchAndUpdate, 10000)\n}\nconst timelineFetcher = {\n fetchAndUpdate,\n startFetching\n}\n\nexport default timelineFetcher\n","import apiService from '../api/api.service.js'\n\nconst update = ({store, notifications, older}) => {\n store.dispatch('setNotificationsError', { value: false })\n\n store.dispatch('addNewNotifications', { notifications, older })\n}\n\nconst fetchAndUpdate = ({store, credentials, older = false}) => {\n const args = { credentials }\n const rootState = store.rootState || store.state\n const timelineData = rootState.statuses.notifications\n\n args['timeline'] = 'notifications'\n if (older) {\n if (timelineData.minId !== Number.POSITIVE_INFINITY) {\n args['until'] = timelineData.minId\n }\n return fetchNotifications({ store, args, older })\n } else {\n // fetch new notifications\n if (timelineData.maxId !== Number.POSITIVE_INFINITY) {\n args['since'] = timelineData.maxId\n }\n const result = fetchNotifications({ store, args, older })\n\n // load unread notifications repeatedly to provide consistency between browser tabs\n const notifications = timelineData.data\n const unread = notifications.filter(n => !n.seen).map(n => n.id)\n if (unread.length) {\n args['since'] = Math.min(...unread)\n fetchNotifications({ store, args, older })\n }\n\n return result\n }\n}\n\nconst fetchNotifications = ({ store, args, older }) => {\n return apiService.fetchTimeline(args)\n .then((notifications) => {\n update({ store, notifications, older })\n return notifications\n }, () => store.dispatch('setNotificationsError', { value: true }))\n .catch(() => store.dispatch('setNotificationsError', { value: true }))\n}\n\nconst startFetching = ({credentials, store}) => {\n fetchAndUpdate({ credentials, store })\n const boundFetchAndUpdate = () => fetchAndUpdate({ credentials, store })\n // Initially there's set flag to silence all desktop notifications so\n // that there won't spam of them when user just opened up the FE we\n // reset that flag after a while to show new notifications once again.\n setTimeout(() => store.dispatch('setNotificationsSilence', false), 10000)\n return setInterval(boundFetchAndUpdate, 10000)\n}\n\nconst notificationsFetcher = {\n fetchAndUpdate,\n startFetching\n}\n\nexport default notificationsFetcher\n","import utils from './utils.js'\nimport { parseUser } from '../entity_normalizer/entity_normalizer.service.js'\n\nconst search = ({query, store}) => {\n return utils.request({\n store,\n url: '/api/v1/accounts/search',\n params: {\n q: query\n }\n })\n .then((data) => data.json())\n .then((data) => data.map(parseUser))\n}\nconst UserSearch = {\n search\n}\n\nexport default UserSearch\n","// When contributing, please sort JSON before committing so it would be easier to see what's missing and what's being added compared to English and other languages. It's not obligatory, but just an advice.\n// To sort json use jq https://stedolan.github.io/jq and invoke it like `jq -S . xx.json > xx.sorted.json`, AFAIK, there's no inplace edit option like in sed\n// Also, when adding a new language to \"messages\" variable, please do it alphabetically by language code so that users can search or check their custom language easily.\n\n// For anyone contributing to old huge messages.js and in need to quickly convert it to JSON\n// sed command for converting currently formatted JS to JSON:\n// sed -i -e \"s/'//gm\" -e 's/\"/\\\\\"/gm' -re 's/^( +)(.+?): ((.+?))?(,?)(\\{?)$/\\1\"\\2\": \"\\4\"/gm' -e 's/\\\"\\{\\\"/{/g' -e 's/,\"$/\",/g' file.json\n// There's only problem that apostrophe character ' gets replaced by \\\\ so you have to fix it manually, sorry.\n\nconst messages = {\n ar: require('./ar.json'),\n ca: require('./ca.json'),\n cs: require('./cs.json'),\n de: require('./de.json'),\n en: require('./en.json'),\n eo: require('./eo.json'),\n es: require('./es.json'),\n et: require('./et.json'),\n fi: require('./fi.json'),\n fr: require('./fr.json'),\n ga: require('./ga.json'),\n he: require('./he.json'),\n hu: require('./hu.json'),\n it: require('./it.json'),\n ja: require('./ja.json'),\n ja_pedantic: require('./ja_pedantic.json'),\n ko: require('./ko.json'),\n nb: require('./nb.json'),\n nl: require('./nl.json'),\n oc: require('./oc.json'),\n pl: require('./pl.json'),\n pt: require('./pt.json'),\n ro: require('./ro.json'),\n ru: require('./ru.json'),\n zh: require('./zh.json')\n}\n\nexport default messages\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./attachment.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./attachment.js\"\nimport __vue_script__ from \"!!babel-loader!./attachment.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-608c26d2\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./attachment.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","/* script */\nexport * from \"!!babel-loader!./video_attachment.js\"\nimport __vue_script__ from \"!!babel-loader!./video_attachment.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-10dde0a9\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./video_attachment.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","export const SECOND = 1000\nexport const MINUTE = 60 * SECOND\nexport const HOUR = 60 * MINUTE\nexport const DAY = 24 * HOUR\nexport const WEEK = 7 * DAY\nexport const MONTH = 30 * DAY\nexport const YEAR = 365.25 * DAY\n\nexport const relativeTime = (date, nowThreshold = 1) => {\n if (typeof date === 'string') date = Date.parse(date)\n const round = Date.now() > date ? Math.floor : Math.ceil\n const d = Math.abs(Date.now() - date)\n let r = { num: round(d / YEAR), key: 'time.years' }\n if (d < nowThreshold * SECOND) {\n r.num = 0\n r.key = 'time.now'\n } else if (d < MINUTE) {\n r.num = round(d / SECOND)\n r.key = 'time.seconds'\n } else if (d < HOUR) {\n r.num = round(d / MINUTE)\n r.key = 'time.minutes'\n } else if (d < DAY) {\n r.num = round(d / HOUR)\n r.key = 'time.hours'\n } else if (d < WEEK) {\n r.num = round(d / DAY)\n r.key = 'time.days'\n } else if (d < MONTH) {\n r.num = round(d / WEEK)\n r.key = 'time.weeks'\n } else if (d < YEAR) {\n r.num = round(d / MONTH)\n r.key = 'time.months'\n }\n // Remove plural form when singular\n if (r.num === 1) r.key = r.key.slice(0, -1)\n return r\n}\n\nexport const relativeTimeShort = (date, nowThreshold = 1) => {\n const r = relativeTime(date, nowThreshold)\n r.key += '_short'\n return r\n}\n","import { map } from 'lodash'\nimport apiService from '../api/api.service.js'\n\nconst postStatus = ({ store, status, spoilerText, visibility, sensitive, poll, media = [], inReplyToStatusId = undefined, contentType = 'text/plain' }) => {\n const mediaIds = map(media, 'id')\n\n return apiService.postStatus({\n credentials: store.state.users.currentUser.credentials,\n status,\n spoilerText,\n visibility,\n sensitive,\n mediaIds,\n inReplyToStatusId,\n contentType,\n poll})\n .then((data) => {\n if (!data.error) {\n store.dispatch('addNewStatuses', {\n statuses: [data],\n timeline: 'friends',\n showImmediately: true,\n noIdUpdate: true // To prevent missing notices on next pull.\n })\n }\n return data\n })\n .catch((err) => {\n return {\n error: err.message\n }\n })\n}\n\nconst uploadMedia = ({ store, formData }) => {\n const credentials = store.state.users.currentUser.credentials\n\n return apiService.uploadMedia({ credentials, formData })\n}\n\nconst statusPosterService = {\n postStatus,\n uploadMedia\n}\n\nexport default statusPosterService\n","const fileSizeFormat = (num) => {\n var exponent\n var unit\n var units = ['B', 'KiB', 'MiB', 'GiB', 'TiB']\n if (num < 1) {\n return num + ' ' + units[0]\n }\n\n exponent = Math.min(Math.floor(Math.log(num) / Math.log(1024)), units.length - 1)\n num = (num / Math.pow(1024, exponent)).toFixed(2) * 1\n unit = units[exponent]\n return {num: num, unit: unit}\n}\nconst fileSizeFormatService = {\n fileSizeFormat\n}\nexport default fileSizeFormatService\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./scope_selector.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./scope_selector.js\"\nimport __vue_script__ from \"!!babel-loader!./scope_selector.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-ad4ca5da\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./scope_selector.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./emoji-input.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./emoji-input.js\"\nimport __vue_script__ from \"!!babel-loader!./emoji-input.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2e5742e6\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./emoji-input.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","/**\n * suggest - generates a suggestor function to be used by emoji-input\n * data: object providing source information for specific types of suggestions:\n * data.emoji - optional, an array of all emoji available i.e.\n * (state.instance.emoji + state.instance.customEmoji)\n * data.users - optional, an array of all known users\n *\n * Depending on data present one or both (or none) can be present, so if field\n * doesn't support user linking you can just provide only emoji.\n */\nexport default data => input => {\n const firstChar = input[0]\n if (firstChar === ':' && data.emoji) {\n return suggestEmoji(data.emoji)(input)\n }\n if (firstChar === '@' && data.users) {\n return suggestUsers(data.users)(input)\n }\n return []\n}\n\nexport const suggestEmoji = emojis => input => {\n const noPrefix = input.toLowerCase().substr(1)\n return emojis\n .filter(({ displayText }) => displayText.toLowerCase().startsWith(noPrefix))\n .sort((a, b) => {\n let aScore = 0\n let bScore = 0\n\n // Make custom emojis a priority\n aScore += a.imageUrl ? 10 : 0\n bScore += b.imageUrl ? 10 : 0\n\n // Sort alphabetically\n const alphabetically = a.displayText > b.displayText ? 1 : -1\n\n return bScore - aScore + alphabetically\n })\n}\n\nexport const suggestUsers = users => input => {\n const noPrefix = input.toLowerCase().substr(1)\n return users.filter(\n user =>\n user.screen_name.toLowerCase().startsWith(noPrefix) ||\n user.name.toLowerCase().startsWith(noPrefix)\n\n /* taking only 20 results so that sorting is a bit cheaper, we display\n * only 5 anyway. could be inaccurate, but we ideally we should query\n * backend anyway\n */\n ).slice(0, 20).sort((a, b) => {\n let aScore = 0\n let bScore = 0\n\n // Matches on screen name (i.e. user@instance) makes a priority\n aScore += a.screen_name.toLowerCase().startsWith(noPrefix) ? 2 : 0\n bScore += b.screen_name.toLowerCase().startsWith(noPrefix) ? 2 : 0\n\n // Matches on name takes second priority\n aScore += a.name.toLowerCase().startsWith(noPrefix) ? 1 : 0\n bScore += b.name.toLowerCase().startsWith(noPrefix) ? 1 : 0\n\n const diff = (bScore - aScore) * 10\n\n // Then sort alphabetically\n const nameAlphabetically = a.name > b.name ? 1 : -1\n const screenNameAlphabetically = a.screen_name > b.screen_name ? 1 : -1\n\n return diff + nameAlphabetically + screenNameAlphabetically\n /* eslint-disable camelcase */\n }).map(({ screen_name, name, profile_image_url_original }) => ({\n displayText: screen_name,\n detailText: name,\n imageUrl: profile_image_url_original,\n replacement: '@' + screen_name + ' '\n }))\n /* eslint-enable camelcase */\n}\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./remote_follow.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./remote_follow.js\"\nimport __vue_script__ from \"!!babel-loader!./remote_follow.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2ecbe62b\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./remote_follow.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./moderation_tools.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./moderation_tools.js\"\nimport __vue_script__ from \"!!babel-loader!./moderation_tools.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-788f6147\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./moderation_tools.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","const fetchUser = (attempt, user, store) => new Promise((resolve, reject) => {\n setTimeout(() => {\n store.state.api.backendInteractor.fetchUser({ id: user.id })\n .then((user) => store.commit('addNewUsers', [user]))\n .then(() => resolve([user.following, attempt]))\n .catch((e) => reject(e))\n }, 500)\n}).then(([following, attempt]) => {\n if (!following && attempt <= 3) {\n // If we BE reports that we still not following that user - retry,\n // increment attempts by one\n return fetchUser(++attempt, user, store)\n } else {\n // If we run out of attempts, just return whatever status is.\n return following\n }\n})\n\nexport const requestFollow = (user, store) => new Promise((resolve, reject) => {\n store.state.api.backendInteractor.followUser(user.id)\n .then((updated) => {\n store.commit('updateUserRelationship', [updated])\n\n // For locked users we just mark it that we sent the follow request\n if (updated.locked) {\n resolve({ sent: true })\n }\n\n if (updated.following) {\n // If we get result immediately, just stop.\n resolve({ sent: false })\n }\n\n // But usually we don't get result immediately, so we ask server\n // for updated user profile to confirm if we are following them\n // Sometimes it takes several tries. Sometimes we end up not following\n // user anyway, probably because they locked themselves and we\n // don't know that yet.\n // Recursive Promise, it will call itself up to 3 times.\n\n return fetchUser(1, user, store)\n .then((following) => {\n if (following) {\n // We confirmed and everything's good.\n resolve({ sent: false })\n } else {\n // If after all the tries, just treat it as if user is locked\n resolve({ sent: false })\n }\n })\n })\n})\n\nexport const requestUnfollow = (user, store) => new Promise((resolve, reject) => {\n store.state.api.backendInteractor.unfollowUser(user.id)\n .then((updated) => {\n store.commit('updateUserRelationship', [updated])\n resolve({\n updated\n })\n })\n})\n","import { hex2rgb } from '../color_convert/color_convert.js'\nconst highlightStyle = (prefs) => {\n if (prefs === undefined) return\n const {color, type} = prefs\n if (typeof color !== 'string') return\n const rgb = hex2rgb(color)\n if (rgb == null) return\n const solidColor = `rgb(${Math.floor(rgb.r)}, ${Math.floor(rgb.g)}, ${Math.floor(rgb.b)})`\n const tintColor = `rgba(${Math.floor(rgb.r)}, ${Math.floor(rgb.g)}, ${Math.floor(rgb.b)}, .1)`\n const tintColor2 = `rgba(${Math.floor(rgb.r)}, ${Math.floor(rgb.g)}, ${Math.floor(rgb.b)}, .2)`\n if (type === 'striped') {\n return {\n backgroundImage: [\n 'repeating-linear-gradient(135deg,',\n `${tintColor} ,`,\n `${tintColor} 20px,`,\n `${tintColor2} 20px,`,\n `${tintColor2} 40px`\n ].join(' '),\n backgroundPosition: '0 0'\n }\n } else if (type === 'solid') {\n return {\n backgroundColor: tintColor2\n }\n } else if (type === 'side') {\n return {\n backgroundImage: [\n 'linear-gradient(to right,',\n `${solidColor} ,`,\n `${solidColor} 2px,`,\n `transparent 6px`\n ].join(' '),\n backgroundPosition: '0 0'\n }\n }\n}\n\nconst highlightClass = (user) => {\n return 'USER____' + user.screen_name\n .replace(/\\./g, '_')\n .replace(/@/g, '_AT_')\n}\n\nexport {\n highlightClass,\n highlightStyle\n}\n","import isFunction from 'lodash/isFunction'\n\nconst getComponentOptions = (Component) => (isFunction(Component)) ? Component.options : Component\n\nconst getComponentProps = (Component) => getComponentOptions(Component).props\n\nexport {\n getComponentOptions,\n getComponentProps\n}\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!./style_switcher.scss\")\n}\n/* script */\nexport * from \"!!babel-loader!./style_switcher.js\"\nimport __vue_script__ from \"!!babel-loader!./style_switcher.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5e6c3467\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./style_switcher.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./color_input.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./color_input.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./color_input.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5c9e43f0\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./color_input.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./opacity_input.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./opacity_input.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-296de9c3\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./opacity_input.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./checkbox.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./checkbox.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./checkbox.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-76559fdc\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./checkbox.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","/* script */\nexport * from \"!!babel-loader!./confirm.js\"\nimport __vue_script__ from \"!!babel-loader!./confirm.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7144d19e\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./confirm.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","import LoginForm from '../login_form/login_form.vue'\nimport MFARecoveryForm from '../mfa_form/recovery_form.vue'\nimport MFATOTPForm from '../mfa_form/totp_form.vue'\nimport { mapGetters } from 'vuex'\n\nconst AuthForm = {\n name: 'AuthForm',\n render (createElement) {\n return createElement('component', { is: this.authForm })\n },\n computed: {\n authForm () {\n if (this.requiredTOTP) { return 'MFATOTPForm' }\n if (this.requiredRecovery) { return 'MFARecoveryForm' }\n return 'LoginForm'\n },\n ...mapGetters('authFlow', ['requiredTOTP', 'requiredRecovery'])\n },\n components: {\n MFARecoveryForm,\n MFATOTPForm,\n LoginForm\n }\n}\n\nexport default AuthForm\n","const verifyOTPCode = ({app, instance, mfaToken, code}) => {\n const url = `${instance}/oauth/mfa/challenge`\n const form = new window.FormData()\n\n form.append('client_id', app.client_id)\n form.append('client_secret', app.client_secret)\n form.append('mfa_token', mfaToken)\n form.append('code', code)\n form.append('challenge_type', 'totp')\n\n return window.fetch(url, {\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\nconst verifyRecoveryCode = ({app, instance, mfaToken, code}) => {\n const url = `${instance}/oauth/mfa/challenge`\n const form = new window.FormData()\n\n form.append('client_id', app.client_id)\n form.append('client_secret', app.client_secret)\n form.append('mfa_token', mfaToken)\n form.append('code', code)\n form.append('challenge_type', 'recovery')\n\n return window.fetch(url, {\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\nconst mfa = {\n verifyOTPCode,\n verifyRecoveryCode\n}\n\nexport default mfa\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./chat_panel.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./chat_panel.js\"\nimport __vue_script__ from \"!!babel-loader!./chat_panel.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-18ad082c\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./chat_panel.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./instance_specific_panel.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./instance_specific_panel.js\"\nimport __vue_script__ from \"!!babel-loader!./instance_specific_panel.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0df9e546\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./instance_specific_panel.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./features_panel.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./features_panel.js\"\nimport __vue_script__ from \"!!babel-loader!./features_panel.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5c3884f4\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./features_panel.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./side_drawer.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./side_drawer.js\"\nimport __vue_script__ from \"!!babel-loader!./side_drawer.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0afaec76\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./side_drawer.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","\nconst DIRECTION_LEFT = [-1, 0]\nconst DIRECTION_RIGHT = [1, 0]\nconst DIRECTION_UP = [0, -1]\nconst DIRECTION_DOWN = [0, 1]\n\nconst deltaCoord = (oldCoord, newCoord) => [newCoord[0] - oldCoord[0], newCoord[1] - oldCoord[1]]\n\nconst touchEventCoord = e => ([e.touches[0].screenX, e.touches[0].screenY])\n\nconst vectorLength = v => Math.sqrt(v[0] * v[0] + v[1] * v[1])\n\nconst perpendicular = v => [v[1], -v[0]]\n\nconst dotProduct = (v1, v2) => v1[0] * v2[0] + v1[1] * v2[1]\n\nconst project = (v1, v2) => {\n const scalar = (dotProduct(v1, v2) / dotProduct(v2, v2))\n return [scalar * v2[0], scalar * v2[1]]\n}\n\n// direction: either use the constants above or an arbitrary 2d vector.\n// threshold: how many Px to move from touch origin before checking if the\n// callback should be called.\n// divergentTolerance: a scalar for much of divergent direction we tolerate when\n// above threshold. for example, with 1.0 we only call the callback if\n// divergent component of delta is < 1.0 * direction component of delta.\nconst swipeGesture = (direction, onSwipe, threshold = 30, perpendicularTolerance = 1.0) => {\n return {\n direction,\n onSwipe,\n threshold,\n perpendicularTolerance,\n _startPos: [0, 0],\n _swiping: false\n }\n}\n\nconst beginSwipe = (event, gesture) => {\n gesture._startPos = touchEventCoord(event)\n gesture._swiping = true\n}\n\nconst updateSwipe = (event, gesture) => {\n if (!gesture._swiping) return\n // movement too small\n const delta = deltaCoord(gesture._startPos, touchEventCoord(event))\n if (vectorLength(delta) < gesture.threshold) return\n // movement is opposite from direction\n if (dotProduct(delta, gesture.direction) < 0) return\n // movement perpendicular to direction is too much\n const towardsDir = project(delta, gesture.direction)\n const perpendicularDir = perpendicular(gesture.direction)\n const towardsPerpendicular = project(delta, perpendicularDir)\n if (\n vectorLength(towardsDir) * gesture.perpendicularTolerance <\n vectorLength(towardsPerpendicular)\n ) return\n\n gesture.onSwipe()\n gesture._swiping = false\n}\n\nconst GestureService = {\n DIRECTION_LEFT,\n DIRECTION_RIGHT,\n DIRECTION_UP,\n DIRECTION_DOWN,\n swipeGesture,\n beginSwipe,\n updateSwipe\n}\n\nexport default GestureService\n","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!sass-loader!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./mobile_post_status_modal.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!./mobile_post_status_modal.js\"\nimport __vue_script__ from \"!!babel-loader!./mobile_post_status_modal.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7060e3da\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./mobile_post_status_modal.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","\nexport const windowWidth = () =>\n window.innerWidth ||\n document.documentElement.clientWidth ||\n document.body.clientWidth\n","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport Vuex from 'vuex'\n\nimport interfaceModule from './modules/interface.js'\nimport instanceModule from './modules/instance.js'\nimport statusesModule from './modules/statuses.js'\nimport usersModule from './modules/users.js'\nimport apiModule from './modules/api.js'\nimport configModule from './modules/config.js'\nimport chatModule from './modules/chat.js'\nimport oauthModule from './modules/oauth.js'\nimport authFlowModule from './modules/auth_flow.js'\nimport mediaViewerModule from './modules/media_viewer.js'\nimport oauthTokensModule from './modules/oauth_tokens.js'\nimport reportsModule from './modules/reports.js'\n\nimport VueI18n from 'vue-i18n'\n\nimport createPersistedState from './lib/persisted_state.js'\nimport pushNotifications from './lib/push_notifications_plugin.js'\n\nimport messages from './i18n/messages.js'\n\nimport VueChatScroll from 'vue-chat-scroll'\nimport VueClickOutside from 'v-click-outside'\nimport PortalVue from 'portal-vue'\n\nimport afterStoreSetup from './boot/after_store.js'\n\nconst currentLocale = (window.navigator.language || 'en').split('-')[0]\n\nVue.use(Vuex)\nVue.use(VueRouter)\nVue.use(VueI18n)\nVue.use(VueChatScroll)\nVue.use(VueClickOutside)\nVue.use(PortalVue)\n\nconst i18n = new VueI18n({\n // By default, use the browser locale, we will update it if neccessary\n locale: currentLocale,\n fallbackLocale: 'en',\n messages\n})\n\nconst persistedStateOptions = {\n paths: [\n 'config',\n 'users.lastLoginName',\n 'oauth'\n ]\n};\n\n(async () => {\n const persistedState = await createPersistedState(persistedStateOptions)\n const store = new Vuex.Store({\n modules: {\n i18n: {\n getters: {\n i18n: () => i18n\n }\n },\n interface: interfaceModule,\n instance: instanceModule,\n statuses: statusesModule,\n users: usersModule,\n api: apiModule,\n config: configModule,\n chat: chatModule,\n oauth: oauthModule,\n authFlow: authFlowModule,\n mediaViewer: mediaViewerModule,\n oauthTokens: oauthTokensModule,\n reports: reportsModule\n },\n plugins: [persistedState, pushNotifications],\n strict: false // Socket modifies itself, let's ignore this for now.\n // strict: process.env.NODE_ENV !== 'production'\n })\n\n afterStoreSetup({ store, i18n })\n})()\n\n// These are inlined by webpack's DefinePlugin\n/* eslint-disable */\nwindow.___pleromafe_mode = process.env\nwindow.___pleromafe_commit_hash = COMMIT_HASH\nwindow.___pleromafe_dev_overrides = DEV_OVERRIDES\n","import { set, delete as del } from 'vue'\n\nconst defaultState = {\n settings: {\n currentSaveStateNotice: null,\n noticeClearTimeout: null,\n notificationPermission: null\n },\n browserSupport: {\n cssFilter: window.CSS && window.CSS.supports && (\n window.CSS.supports('filter', 'drop-shadow(0 0)') ||\n window.CSS.supports('-webkit-filter', 'drop-shadow(0 0)')\n )\n },\n mobileLayout: false\n}\n\nconst interfaceMod = {\n state: defaultState,\n mutations: {\n settingsSaved (state, { success, error }) {\n if (success) {\n if (state.noticeClearTimeout) {\n clearTimeout(state.noticeClearTimeout)\n }\n set(state.settings, 'currentSaveStateNotice', { error: false, data: success })\n set(state.settings, 'noticeClearTimeout',\n setTimeout(() => del(state.settings, 'currentSaveStateNotice'), 2000))\n } else {\n set(state.settings, 'currentSaveStateNotice', { error: true, errorData: error })\n }\n },\n setNotificationPermission (state, permission) {\n state.notificationPermission = permission\n },\n setMobileLayout (state, value) {\n state.mobileLayout = value\n }\n },\n actions: {\n setPageTitle ({ rootState }, option = '') {\n document.title = `${option} ${rootState.instance.name}`\n },\n settingsSaved ({ commit, dispatch }, { success, error }) {\n commit('settingsSaved', { success, error })\n },\n setNotificationPermission ({ commit }, permission) {\n commit('setNotificationPermission', permission)\n },\n setMobileLayout ({ commit }, value) {\n commit('setMobileLayout', value)\n }\n }\n}\n\nexport default interfaceMod\n","import { set } from 'vue'\nimport { setPreset } from '../services/style_setter/style_setter.js'\n\nconst defaultState = {\n // Stuff from static/config.json and apiConfig\n name: 'Pleroma FE',\n registrationOpen: true,\n safeDM: true,\n textlimit: 5000,\n server: 'http://localhost:4040/',\n theme: 'pleroma-dark',\n background: '/static/aurora_borealis.jpg',\n logo: '/static/logo.png',\n logoMask: true,\n logoMargin: '.2em',\n redirectRootNoLogin: '/main/all',\n redirectRootLogin: '/main/friends',\n showInstanceSpecificPanel: false,\n alwaysShowSubjectInput: true,\n hideMutedPosts: false,\n collapseMessageWithSubject: false,\n hidePostStats: false,\n hideUserStats: false,\n hideFilteredStatuses: false,\n disableChat: false,\n scopeCopy: true,\n subjectLineBehavior: 'email',\n postContentType: 'text/plain',\n nsfwCensorImage: undefined,\n vapidPublicKey: undefined,\n noAttachmentLinks: false,\n showFeaturesPanel: true,\n minimalScopesMode: false,\n\n // Nasty stuff\n pleromaBackend: true,\n emoji: [],\n customEmoji: [],\n restrictedNicknames: [],\n postFormats: [],\n\n // Feature-set, apparently, not everything here is reported...\n mediaProxyAvailable: false,\n chatAvailable: false,\n gopherAvailable: false,\n suggestionsEnabled: false,\n suggestionsWeb: '',\n\n // Html stuff\n instanceSpecificPanelContent: '',\n tos: '',\n\n // Version Information\n backendVersion: '',\n frontendVersion: '',\n\n pollsAvailable: false,\n pollLimits: {\n max_options: 4,\n max_option_chars: 255,\n min_expiration: 60,\n max_expiration: 60 * 60 * 24\n }\n}\n\nconst instance = {\n state: defaultState,\n mutations: {\n setInstanceOption (state, { name, value }) {\n if (typeof value !== 'undefined') {\n set(state, name, value)\n }\n }\n },\n actions: {\n setInstanceOption ({ commit, dispatch }, { name, value }) {\n commit('setInstanceOption', {name, value})\n switch (name) {\n case 'name':\n dispatch('setPageTitle')\n break\n }\n },\n setTheme ({ commit }, themeName) {\n commit('setInstanceOption', { name: 'theme', value: themeName })\n return setPreset(themeName, commit)\n }\n }\n}\n\nexport default instance\n","import { remove, slice, each, findIndex, find, maxBy, minBy, merge, first, last, isArray, omitBy } from 'lodash'\nimport { set } from 'vue'\nimport apiService from '../services/api/api.service.js'\n// import parse from '../services/status_parser/status_parser.js'\n\nconst emptyTl = (userId = 0) => ({\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minId: 0,\n minVisibleId: 0,\n loading: false,\n followers: [],\n friends: [],\n userId,\n flushMarker: 0\n})\n\nconst emptyNotifications = () => ({\n desktopNotificationSilence: true,\n maxId: 0,\n minId: Number.POSITIVE_INFINITY,\n data: [],\n idStore: {},\n loading: false,\n error: false\n})\n\nexport const defaultState = () => ({\n allStatuses: [],\n allStatusesObject: {},\n conversationsObject: {},\n maxId: 0,\n notifications: emptyNotifications(),\n favorites: new Set(),\n error: false,\n timelines: {\n mentions: emptyTl(),\n public: emptyTl(),\n user: emptyTl(),\n favorites: emptyTl(),\n media: emptyTl(),\n publicAndExternal: emptyTl(),\n friends: emptyTl(),\n tag: emptyTl(),\n dms: emptyTl()\n }\n})\n\nexport const prepareStatus = (status) => {\n // Set deleted flag\n status.deleted = false\n\n // To make the array reactive\n status.attachments = status.attachments || []\n\n return status\n}\n\nconst visibleNotificationTypes = (rootState) => {\n return [\n rootState.config.notificationVisibility.likes && 'like',\n rootState.config.notificationVisibility.mentions && 'mention',\n rootState.config.notificationVisibility.repeats && 'repeat',\n rootState.config.notificationVisibility.follows && 'follow'\n ].filter(_ => _)\n}\n\nconst mergeOrAdd = (arr, obj, item) => {\n const oldItem = obj[item.id]\n\n if (oldItem) {\n // We already have this, so only merge the new info.\n // We ignore null values to avoid overwriting existing properties with missing data\n // we also skip 'user' because that is handled by users module\n merge(oldItem, omitBy(item, (v, k) => v === null || k === 'user'))\n // Reactivity fix.\n oldItem.attachments.splice(oldItem.attachments.length)\n return {item: oldItem, new: false}\n } else {\n // This is a new item, prepare it\n prepareStatus(item)\n arr.push(item)\n set(obj, item.id, item)\n return {item, new: true}\n }\n}\n\nconst sortById = (a, b) => {\n const seqA = Number(a.id)\n const seqB = Number(b.id)\n const isSeqA = !Number.isNaN(seqA)\n const isSeqB = !Number.isNaN(seqB)\n if (isSeqA && isSeqB) {\n return seqA > seqB ? -1 : 1\n } else if (isSeqA && !isSeqB) {\n return 1\n } else if (!isSeqA && isSeqB) {\n return -1\n } else {\n return a.id > b.id ? -1 : 1\n }\n}\n\nconst sortTimeline = (timeline) => {\n timeline.visibleStatuses = timeline.visibleStatuses.sort(sortById)\n timeline.statuses = timeline.statuses.sort(sortById)\n timeline.minVisibleId = (last(timeline.visibleStatuses) || {}).id\n return timeline\n}\n\n// Add status to the global storages (arrays and objects maintaining statuses) except timelines\nconst addStatusToGlobalStorage = (state, data) => {\n const result = mergeOrAdd(state.allStatuses, state.allStatusesObject, data)\n if (result.new) {\n // Add to conversation\n const status = result.item\n const conversationsObject = state.conversationsObject\n const conversationId = status.statusnet_conversation_id\n if (conversationsObject[conversationId]) {\n conversationsObject[conversationId].push(status)\n } else {\n set(conversationsObject, conversationId, [status])\n }\n }\n return result\n}\n\n// Remove status from the global storages (arrays and objects maintaining statuses) except timelines\nconst removeStatusFromGlobalStorage = (state, status) => {\n remove(state.allStatuses, { id: status.id })\n\n // TODO: Need to remove from allStatusesObject?\n\n // Remove possible notification\n remove(state.notifications.data, ({action: {id}}) => id === status.id)\n\n // Remove from conversation\n const conversationId = status.statusnet_conversation_id\n if (state.conversationsObject[conversationId]) {\n remove(state.conversationsObject[conversationId], { id: status.id })\n }\n}\n\nconst addNewStatuses = (state, { statuses, showImmediately = false, timeline, user = {}, noIdUpdate = false, userId }) => {\n // Sanity check\n if (!isArray(statuses)) {\n return false\n }\n\n const allStatuses = state.allStatuses\n const timelineObject = state.timelines[timeline]\n\n const maxNew = statuses.length > 0 ? maxBy(statuses, 'id').id : 0\n const minNew = statuses.length > 0 ? minBy(statuses, 'id').id : 0\n const newer = timeline && (maxNew > timelineObject.maxId || timelineObject.maxId === 0) && statuses.length > 0\n const older = timeline && (minNew < timelineObject.minId || timelineObject.minId === 0) && statuses.length > 0\n\n if (!noIdUpdate && newer) {\n timelineObject.maxId = maxNew\n }\n if (!noIdUpdate && older) {\n timelineObject.minId = minNew\n }\n\n // This makes sure that user timeline won't get data meant for other\n // user. I.e. opening different user profiles makes request which could\n // return data late after user already viewing different user profile\n if ((timeline === 'user' || timeline === 'media') && timelineObject.userId !== userId) {\n return\n }\n\n const addStatus = (data, showImmediately, addToTimeline = true) => {\n const result = addStatusToGlobalStorage(state, data)\n const status = result.item\n\n if (result.new) {\n // We are mentioned in a post\n if (status.type === 'status' && find(status.attentions, { id: user.id })) {\n const mentions = state.timelines.mentions\n\n // Add the mention to the mentions timeline\n if (timelineObject !== mentions) {\n mergeOrAdd(mentions.statuses, mentions.statusesObject, status)\n mentions.newStatusCount += 1\n\n sortTimeline(mentions)\n }\n }\n if (status.visibility === 'direct') {\n const dms = state.timelines.dms\n\n mergeOrAdd(dms.statuses, dms.statusesObject, status)\n dms.newStatusCount += 1\n\n sortTimeline(dms)\n }\n }\n\n // Decide if we should treat the status as new for this timeline.\n let resultForCurrentTimeline\n // Some statuses should only be added to the global status repository.\n if (timeline && addToTimeline) {\n resultForCurrentTimeline = mergeOrAdd(timelineObject.statuses, timelineObject.statusesObject, status)\n }\n\n if (timeline && showImmediately) {\n // Add it directly to the visibleStatuses, don't change\n // newStatusCount\n mergeOrAdd(timelineObject.visibleStatuses, timelineObject.visibleStatusesObject, status)\n } else if (timeline && addToTimeline && resultForCurrentTimeline.new) {\n // Just change newStatuscount\n timelineObject.newStatusCount += 1\n }\n\n return status\n }\n\n const favoriteStatus = (favorite, counter) => {\n const status = find(allStatuses, { id: favorite.in_reply_to_status_id })\n if (status) {\n // This is our favorite, so the relevant bit.\n if (favorite.user.id === user.id) {\n status.favorited = true\n } else {\n status.fave_num += 1\n }\n }\n return status\n }\n\n const processors = {\n 'status': (status) => {\n addStatus(status, showImmediately)\n },\n 'retweet': (status) => {\n // RetweetedStatuses are never shown immediately\n const retweetedStatus = addStatus(status.retweeted_status, false, false)\n\n let retweet\n // If the retweeted status is already there, don't add the retweet\n // to the timeline.\n if (timeline && find(timelineObject.statuses, (s) => {\n if (s.retweeted_status) {\n return s.id === retweetedStatus.id || s.retweeted_status.id === retweetedStatus.id\n } else {\n return s.id === retweetedStatus.id\n }\n })) {\n // Already have it visible (either as the original or another RT), don't add to timeline, don't show.\n retweet = addStatus(status, false, false)\n } else {\n retweet = addStatus(status, showImmediately)\n }\n\n retweet.retweeted_status = retweetedStatus\n },\n 'favorite': (favorite) => {\n // Only update if this is a new favorite.\n // Ignore our own favorites because we get info about likes as response to like request\n if (!state.favorites.has(favorite.id)) {\n state.favorites.add(favorite.id)\n favoriteStatus(favorite)\n }\n },\n 'deletion': (deletion) => {\n const uri = deletion.uri\n const status = find(allStatuses, {uri})\n if (!status) {\n return\n }\n\n removeStatusFromGlobalStorage(state, status)\n\n if (timeline) {\n remove(timelineObject.statuses, { uri })\n remove(timelineObject.visibleStatuses, { uri })\n }\n },\n 'follow': (follow) => {\n // NOOP, it is known status but we don't do anything about it for now\n },\n 'default': (unknown) => {\n console.log('unknown status type')\n console.log(unknown)\n }\n }\n\n each(statuses, (status) => {\n const type = status.type\n const processor = processors[type] || processors['default']\n processor(status)\n })\n\n // Keep the visible statuses sorted\n if (timeline) {\n sortTimeline(timelineObject)\n }\n}\n\nconst addNewNotifications = (state, { dispatch, notifications, older, visibleNotificationTypes, rootGetters }) => {\n each(notifications, (notification) => {\n if (notification.type !== 'follow') {\n notification.action = addStatusToGlobalStorage(state, notification.action).item\n notification.status = notification.status && addStatusToGlobalStorage(state, notification.status).item\n }\n\n // Only add a new notification if we don't have one for the same action\n if (!state.notifications.idStore.hasOwnProperty(notification.id)) {\n state.notifications.maxId = notification.id > state.notifications.maxId\n ? notification.id\n : state.notifications.maxId\n state.notifications.minId = notification.id < state.notifications.minId\n ? notification.id\n : state.notifications.minId\n\n state.notifications.data.push(notification)\n state.notifications.idStore[notification.id] = notification\n\n if ('Notification' in window && window.Notification.permission === 'granted') {\n const notifObj = {}\n const status = notification.status\n const title = notification.from_profile.name\n notifObj.icon = notification.from_profile.profile_image_url\n let i18nString\n switch (notification.type) {\n case 'like':\n i18nString = 'favorited_you'\n break\n case 'repeat':\n i18nString = 'repeated_you'\n break\n case 'follow':\n i18nString = 'followed_you'\n break\n }\n\n if (i18nString) {\n notifObj.body = rootGetters.i18n.t('notifications.' + i18nString)\n } else {\n notifObj.body = notification.status.text\n }\n\n // Shows first attached non-nsfw image, if any. Should add configuration for this somehow...\n if (status && status.attachments && status.attachments.length > 0 && !status.nsfw &&\n status.attachments[0].mimetype.startsWith('image/')) {\n notifObj.image = status.attachments[0].url\n }\n\n if (!notification.seen && !state.notifications.desktopNotificationSilence && visibleNotificationTypes.includes(notification.type)) {\n let notification = new window.Notification(title, notifObj)\n // Chrome is known for not closing notifications automatically\n // according to MDN, anyway.\n setTimeout(notification.close.bind(notification), 5000)\n }\n }\n } else if (notification.seen) {\n state.notifications.idStore[notification.id].seen = true\n }\n })\n}\n\nconst removeStatus = (state, { timeline, userId }) => {\n const timelineObject = state.timelines[timeline]\n if (userId) {\n remove(timelineObject.statuses, { user: { id: userId } })\n remove(timelineObject.visibleStatuses, { user: { id: userId } })\n timelineObject.minVisibleId = timelineObject.visibleStatuses.length > 0 ? last(timelineObject.visibleStatuses).id : 0\n timelineObject.maxId = timelineObject.statuses.length > 0 ? first(timelineObject.statuses).id : 0\n }\n}\n\nexport const mutations = {\n addNewStatuses,\n addNewNotifications,\n removeStatus,\n showNewStatuses (state, { timeline }) {\n const oldTimeline = (state.timelines[timeline])\n\n oldTimeline.newStatusCount = 0\n oldTimeline.visibleStatuses = slice(oldTimeline.statuses, 0, 50)\n oldTimeline.minVisibleId = last(oldTimeline.visibleStatuses).id\n oldTimeline.minId = oldTimeline.minVisibleId\n oldTimeline.visibleStatusesObject = {}\n each(oldTimeline.visibleStatuses, (status) => { oldTimeline.visibleStatusesObject[status.id] = status })\n },\n resetStatuses (state) {\n const emptyState = defaultState()\n Object.entries(emptyState).forEach(([key, value]) => {\n state[key] = value\n })\n },\n clearTimeline (state, { timeline }) {\n state.timelines[timeline] = emptyTl(state.timelines[timeline].userId)\n },\n clearNotifications (state) {\n state.notifications = emptyNotifications()\n },\n setFavorited (state, { status, value }) {\n const newStatus = state.allStatusesObject[status.id]\n\n if (newStatus.favorited !== value) {\n if (value) {\n newStatus.fave_num++\n } else {\n newStatus.fave_num--\n }\n }\n\n newStatus.favorited = value\n },\n setFavoritedConfirm (state, { status, user }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.favorited = status.favorited\n newStatus.fave_num = status.fave_num\n const index = findIndex(newStatus.favoritedBy, { id: user.id })\n if (index !== -1 && !newStatus.favorited) {\n newStatus.favoritedBy.splice(index, 1)\n } else if (index === -1 && newStatus.favorited) {\n newStatus.favoritedBy.push(user)\n }\n },\n setPinned (state, status) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.pinned = status.pinned\n },\n setRetweeted (state, { status, value }) {\n const newStatus = state.allStatusesObject[status.id]\n\n if (newStatus.repeated !== value) {\n if (value) {\n newStatus.repeat_num++\n } else {\n newStatus.repeat_num--\n }\n }\n\n newStatus.repeated = value\n },\n setRetweetedConfirm (state, { status, user }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.repeated = status.repeated\n newStatus.repeat_num = status.repeat_num\n const index = findIndex(newStatus.rebloggedBy, { id: user.id })\n if (index !== -1 && !newStatus.repeated) {\n newStatus.rebloggedBy.splice(index, 1)\n } else if (index === -1 && newStatus.repeated) {\n newStatus.rebloggedBy.push(user)\n }\n },\n setDeleted (state, { status }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.deleted = true\n },\n setManyDeleted (state, condition) {\n Object.values(state.allStatusesObject).forEach(status => {\n if (condition(status)) {\n status.deleted = true\n }\n })\n },\n setLoading (state, { timeline, value }) {\n state.timelines[timeline].loading = value\n },\n setNsfw (state, { id, nsfw }) {\n const newStatus = state.allStatusesObject[id]\n newStatus.nsfw = nsfw\n },\n setError (state, { value }) {\n state.error = value\n },\n setNotificationsLoading (state, { value }) {\n state.notifications.loading = value\n },\n setNotificationsError (state, { value }) {\n state.notifications.error = value\n },\n setNotificationsSilence (state, { value }) {\n state.notifications.desktopNotificationSilence = value\n },\n markNotificationsAsSeen (state) {\n each(state.notifications.data, (notification) => {\n notification.seen = true\n })\n },\n queueFlush (state, { timeline, id }) {\n state.timelines[timeline].flushMarker = id\n },\n addFavsAndRepeats (state, { id, favoritedByUsers, rebloggedByUsers }) {\n const newStatus = state.allStatusesObject[id]\n newStatus.favoritedBy = favoritedByUsers.filter(_ => _)\n newStatus.rebloggedBy = rebloggedByUsers.filter(_ => _)\n },\n updateStatusWithPoll (state, { id, poll }) {\n const status = state.allStatusesObject[id]\n status.poll = poll\n }\n}\n\nconst statuses = {\n state: defaultState(),\n actions: {\n addNewStatuses ({ rootState, commit }, { statuses, showImmediately = false, timeline = false, noIdUpdate = false, userId }) {\n commit('addNewStatuses', { statuses, showImmediately, timeline, noIdUpdate, user: rootState.users.currentUser, userId })\n },\n addNewNotifications ({ rootState, commit, dispatch, rootGetters }, { notifications, older }) {\n commit('addNewNotifications', { visibleNotificationTypes: visibleNotificationTypes(rootState), dispatch, notifications, older, rootGetters })\n },\n setError ({ rootState, commit }, { value }) {\n commit('setError', { value })\n },\n setNotificationsLoading ({ rootState, commit }, { value }) {\n commit('setNotificationsLoading', { value })\n },\n setNotificationsError ({ rootState, commit }, { value }) {\n commit('setNotificationsError', { value })\n },\n setNotificationsSilence ({ rootState, commit }, { value }) {\n commit('setNotificationsSilence', { value })\n },\n deleteStatus ({ rootState, commit }, status) {\n commit('setDeleted', { status })\n apiService.deleteStatus({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n markStatusesAsDeleted ({ commit }, condition) {\n commit('setManyDeleted', condition)\n },\n favorite ({ rootState, commit }, status) {\n // Optimistic favoriting...\n commit('setFavorited', { status, value: true })\n rootState.api.backendInteractor.favorite(status.id)\n .then(status => commit('setFavoritedConfirm', { status, user: rootState.users.currentUser }))\n },\n unfavorite ({ rootState, commit }, status) {\n // Optimistic unfavoriting...\n commit('setFavorited', { status, value: false })\n rootState.api.backendInteractor.unfavorite(status.id)\n .then(status => commit('setFavoritedConfirm', { status, user: rootState.users.currentUser }))\n },\n fetchPinnedStatuses ({ rootState, dispatch }, userId) {\n rootState.api.backendInteractor.fetchPinnedStatuses(userId)\n .then(statuses => dispatch('addNewStatuses', { statuses, timeline: 'user', userId, showImmediately: true }))\n },\n pinStatus ({ rootState, commit }, statusId) {\n return rootState.api.backendInteractor.pinOwnStatus(statusId)\n .then((status) => commit('setPinned', status))\n },\n unpinStatus ({ rootState, commit }, statusId) {\n rootState.api.backendInteractor.unpinOwnStatus(statusId)\n .then((status) => commit('setPinned', status))\n },\n retweet ({ rootState, commit }, status) {\n // Optimistic retweeting...\n commit('setRetweeted', { status, value: true })\n rootState.api.backendInteractor.retweet(status.id)\n .then(status => commit('setRetweetedConfirm', { status: status.retweeted_status, user: rootState.users.currentUser }))\n },\n unretweet ({ rootState, commit }, status) {\n // Optimistic unretweeting...\n commit('setRetweeted', { status, value: false })\n rootState.api.backendInteractor.unretweet(status.id)\n .then(status => commit('setRetweetedConfirm', { status, user: rootState.users.currentUser }))\n },\n queueFlush ({ rootState, commit }, { timeline, id }) {\n commit('queueFlush', { timeline, id })\n },\n markNotificationsAsSeen ({ rootState, commit }) {\n commit('markNotificationsAsSeen')\n apiService.markNotificationsAsSeen({\n id: rootState.statuses.notifications.maxId,\n credentials: rootState.users.currentUser.credentials\n })\n },\n fetchFavsAndRepeats ({ rootState, commit }, id) {\n Promise.all([\n rootState.api.backendInteractor.fetchFavoritedByUsers(id),\n rootState.api.backendInteractor.fetchRebloggedByUsers(id)\n ]).then(([favoritedByUsers, rebloggedByUsers]) =>\n commit('addFavsAndRepeats', { id, favoritedByUsers, rebloggedByUsers })\n )\n },\n votePoll ({ rootState, commit }, { id, pollId, choices }) {\n return rootState.api.backendInteractor.vote(pollId, choices).then(poll => {\n commit('updateStatusWithPoll', { id, poll })\n return poll\n })\n },\n refreshPoll ({ rootState, commit }, { id, pollId }) {\n return rootState.api.backendInteractor.fetchPoll(pollId).then(poll => {\n commit('updateStatusWithPoll', { id, poll })\n return poll\n })\n }\n },\n mutations\n}\n\nexport default statuses\n","export function StatusCodeError (statusCode, body, options, response) {\n this.name = 'StatusCodeError'\n this.statusCode = statusCode\n this.message = statusCode + ' - ' + (JSON && JSON.stringify ? JSON.stringify(body) : body)\n this.error = body // legacy attribute\n this.options = options\n this.response = response\n\n if (Error.captureStackTrace) { // required for non-V8 environments\n Error.captureStackTrace(this)\n }\n}\nStatusCodeError.prototype = Object.create(Error.prototype)\nStatusCodeError.prototype.constructor = StatusCodeError\n","import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\nimport userSearchApi from '../services/new_api/user_search.js'\nimport { compact, map, each, merge, last, concat, uniq } from 'lodash'\nimport { set } from 'vue'\nimport { registerPushNotifications, unregisterPushNotifications } from '../services/push/push.js'\nimport { humanizeErrors } from './errors'\n\n// TODO: Unify with mergeOrAdd in statuses.js\nexport const mergeOrAdd = (arr, obj, item) => {\n if (!item) { return false }\n const oldItem = obj[item.id]\n if (oldItem) {\n // We already have this, so only merge the new info.\n merge(oldItem, item)\n return { item: oldItem, new: false }\n } else {\n // This is a new item, prepare it\n arr.push(item)\n set(obj, item.id, item)\n if (item.screen_name && !item.screen_name.includes('@')) {\n set(obj, item.screen_name.toLowerCase(), item)\n }\n return { item, new: true }\n }\n}\n\nconst getNotificationPermission = () => {\n const Notification = window.Notification\n\n if (!Notification) return Promise.resolve(null)\n if (Notification.permission === 'default') return Notification.requestPermission()\n return Promise.resolve(Notification.permission)\n}\n\nconst blockUser = (store, id) => {\n return store.rootState.api.backendInteractor.blockUser(id)\n .then((relationship) => {\n store.commit('updateUserRelationship', [relationship])\n store.commit('addBlockId', id)\n store.commit('removeStatus', { timeline: 'friends', userId: id })\n store.commit('removeStatus', { timeline: 'public', userId: id })\n store.commit('removeStatus', { timeline: 'publicAndExternal', userId: id })\n })\n}\n\nconst unblockUser = (store, id) => {\n return store.rootState.api.backendInteractor.unblockUser(id)\n .then((relationship) => store.commit('updateUserRelationship', [relationship]))\n}\n\nconst muteUser = (store, id) => {\n return store.rootState.api.backendInteractor.muteUser(id)\n .then((relationship) => {\n store.commit('updateUserRelationship', [relationship])\n store.commit('addMuteId', id)\n })\n}\n\nconst unmuteUser = (store, id) => {\n return store.rootState.api.backendInteractor.unmuteUser(id)\n .then((relationship) => store.commit('updateUserRelationship', [relationship]))\n}\n\nexport const mutations = {\n setMuted (state, { user: { id }, muted }) {\n const user = state.usersObject[id]\n set(user, 'muted', muted)\n },\n tagUser (state, { user: { id }, tag }) {\n const user = state.usersObject[id]\n const tags = user.tags || []\n const newTags = tags.concat([tag])\n set(user, 'tags', newTags)\n },\n untagUser (state, { user: { id }, tag }) {\n const user = state.usersObject[id]\n const tags = user.tags || []\n const newTags = tags.filter(t => t !== tag)\n set(user, 'tags', newTags)\n },\n updateRight (state, { user: { id }, right, value }) {\n const user = state.usersObject[id]\n let newRights = user.rights\n newRights[right] = value\n set(user, 'rights', newRights)\n },\n updateActivationStatus (state, { user: { id }, status }) {\n const user = state.usersObject[id]\n set(user, 'deactivated', !status)\n },\n setCurrentUser (state, user) {\n state.lastLoginName = user.screen_name\n state.currentUser = merge(state.currentUser || {}, user)\n },\n clearCurrentUser (state) {\n state.currentUser = false\n state.lastLoginName = false\n },\n beginLogin (state) {\n state.loggingIn = true\n },\n endLogin (state) {\n state.loggingIn = false\n },\n saveFriendIds (state, { id, friendIds }) {\n const user = state.usersObject[id]\n user.friendIds = uniq(concat(user.friendIds, friendIds))\n },\n saveFollowerIds (state, { id, followerIds }) {\n const user = state.usersObject[id]\n user.followerIds = uniq(concat(user.followerIds, followerIds))\n },\n // Because frontend doesn't have a reason to keep these stuff in memory\n // outside of viewing someones user profile.\n clearFriends (state, userId) {\n const user = state.usersObject[userId]\n if (user) {\n set(user, 'friendIds', [])\n }\n },\n clearFollowers (state, userId) {\n const user = state.usersObject[userId]\n if (user) {\n set(user, 'followerIds', [])\n }\n },\n addNewUsers (state, users) {\n each(users, (user) => mergeOrAdd(state.users, state.usersObject, user))\n },\n updateUserRelationship (state, relationships) {\n relationships.forEach((relationship) => {\n const user = state.usersObject[relationship.id]\n if (user) {\n user.follows_you = relationship.followed_by\n user.following = relationship.following\n user.muted = relationship.muting\n user.statusnet_blocking = relationship.blocking\n }\n })\n },\n updateBlocks (state, blockedUsers) {\n // Reset statusnet_blocking of all fetched users\n each(state.users, (user) => { user.statusnet_blocking = false })\n each(blockedUsers, (user) => mergeOrAdd(state.users, state.usersObject, user))\n },\n saveBlockIds (state, blockIds) {\n state.currentUser.blockIds = blockIds\n },\n addBlockId (state, blockId) {\n if (state.currentUser.blockIds.indexOf(blockId) === -1) {\n state.currentUser.blockIds.push(blockId)\n }\n },\n updateMutes (state, mutedUsers) {\n // Reset muted of all fetched users\n each(state.users, (user) => { user.muted = false })\n each(mutedUsers, (user) => mergeOrAdd(state.users, state.usersObject, user))\n },\n saveMuteIds (state, muteIds) {\n state.currentUser.muteIds = muteIds\n },\n addMuteId (state, muteId) {\n if (state.currentUser.muteIds.indexOf(muteId) === -1) {\n state.currentUser.muteIds.push(muteId)\n }\n },\n setPinned (state, status) {\n const user = state.usersObject[status.user.id]\n const index = user.pinnedStatuseIds.indexOf(status.id)\n if (status.pinned && index === -1) {\n user.pinnedStatuseIds.push(status.id)\n } else if (!status.pinned && index !== -1) {\n user.pinnedStatuseIds.splice(index, 1)\n }\n },\n setUserForStatus (state, status) {\n status.user = state.usersObject[status.user.id]\n },\n setUserForNotification (state, notification) {\n if (notification.type !== 'follow') {\n notification.action.user = state.usersObject[notification.action.user.id]\n }\n notification.from_profile = state.usersObject[notification.from_profile.id]\n },\n setColor (state, { user: { id }, highlighted }) {\n const user = state.usersObject[id]\n set(user, 'highlight', highlighted)\n },\n signUpPending (state) {\n state.signUpPending = true\n state.signUpErrors = []\n },\n signUpSuccess (state) {\n state.signUpPending = false\n },\n signUpFailure (state, errors) {\n state.signUpPending = false\n state.signUpErrors = errors\n }\n}\n\nexport const getters = {\n findUser: state => query => {\n const result = state.usersObject[query]\n // In case it's a screen_name, we can try searching case-insensitive\n if (!result && typeof query === 'string') {\n return state.usersObject[query.toLowerCase()]\n }\n return result\n }\n}\n\nexport const defaultState = {\n loggingIn: false,\n lastLoginName: false,\n currentUser: false,\n users: [],\n usersObject: {},\n signUpPending: false,\n signUpErrors: []\n}\n\nconst users = {\n state: defaultState,\n mutations,\n getters,\n actions: {\n fetchUser (store, id) {\n return store.rootState.api.backendInteractor.fetchUser({ id })\n .then((user) => {\n store.commit('addNewUsers', [user])\n return user\n })\n },\n fetchUserRelationship (store, id) {\n if (store.state.currentUser) {\n store.rootState.api.backendInteractor.fetchUserRelationship({ id })\n .then((relationships) => store.commit('updateUserRelationship', relationships))\n }\n },\n fetchBlocks (store) {\n return store.rootState.api.backendInteractor.fetchBlocks()\n .then((blocks) => {\n store.commit('saveBlockIds', map(blocks, 'id'))\n store.commit('updateBlocks', blocks)\n return blocks\n })\n },\n blockUser (store, id) {\n return blockUser(store, id)\n },\n unblockUser (store, id) {\n return unblockUser(store, id)\n },\n blockUsers (store, ids = []) {\n return Promise.all(ids.map(id => blockUser(store, id)))\n },\n unblockUsers (store, ids = []) {\n return Promise.all(ids.map(id => unblockUser(store, id)))\n },\n fetchMutes (store) {\n return store.rootState.api.backendInteractor.fetchMutes()\n .then((mutes) => {\n store.commit('updateMutes', mutes)\n store.commit('saveMuteIds', map(mutes, 'id'))\n return mutes\n })\n },\n muteUser (store, id) {\n return muteUser(store, id)\n },\n unmuteUser (store, id) {\n return unmuteUser(store, id)\n },\n muteUsers (store, ids = []) {\n return Promise.all(ids.map(id => muteUser(store, id)))\n },\n unmuteUsers (store, ids = []) {\n return Promise.all(ids.map(id => unmuteUser(store, id)))\n },\n fetchFriends ({ rootState, commit }, id) {\n const user = rootState.users.usersObject[id]\n const maxId = last(user.friendIds)\n return rootState.api.backendInteractor.fetchFriends({ id, maxId })\n .then((friends) => {\n commit('addNewUsers', friends)\n commit('saveFriendIds', { id, friendIds: map(friends, 'id') })\n return friends\n })\n },\n fetchFollowers ({ rootState, commit }, id) {\n const user = rootState.users.usersObject[id]\n const maxId = last(user.followerIds)\n return rootState.api.backendInteractor.fetchFollowers({ id, maxId })\n .then((followers) => {\n commit('addNewUsers', followers)\n commit('saveFollowerIds', { id, followerIds: map(followers, 'id') })\n return followers\n })\n },\n clearFriends ({ commit }, userId) {\n commit('clearFriends', userId)\n },\n clearFollowers ({ commit }, userId) {\n commit('clearFollowers', userId)\n },\n registerPushNotifications (store) {\n const token = store.state.currentUser.credentials\n const vapidPublicKey = store.rootState.instance.vapidPublicKey\n const isEnabled = store.rootState.config.webPushNotifications\n const notificationVisibility = store.rootState.config.notificationVisibility\n\n registerPushNotifications(isEnabled, vapidPublicKey, token, notificationVisibility)\n },\n unregisterPushNotifications (store) {\n const token = store.state.currentUser.credentials\n\n unregisterPushNotifications(token)\n },\n addNewUsers ({ commit }, users) {\n commit('addNewUsers', users)\n },\n addNewStatuses (store, { statuses }) {\n const users = map(statuses, 'user')\n const retweetedUsers = compact(map(statuses, 'retweeted_status.user'))\n store.commit('addNewUsers', users)\n store.commit('addNewUsers', retweetedUsers)\n\n each(statuses, (status) => {\n // Reconnect users to statuses\n store.commit('setUserForStatus', status)\n // Set pinned statuses to user\n store.commit('setPinned', status)\n })\n each(compact(map(statuses, 'retweeted_status')), (status) => {\n // Reconnect users to retweets\n store.commit('setUserForStatus', status)\n // Set pinned retweets to user\n store.commit('setPinned', status)\n })\n },\n addNewNotifications (store, { notifications }) {\n const users = map(notifications, 'from_profile')\n const notificationIds = notifications.map(_ => _.id)\n store.commit('addNewUsers', users)\n\n const notificationsObject = store.rootState.statuses.notifications.idStore\n const relevantNotifications = Object.entries(notificationsObject)\n .filter(([k, val]) => notificationIds.includes(k))\n .map(([k, val]) => val)\n\n // Reconnect users to notifications\n each(relevantNotifications, (notification) => {\n store.commit('setUserForNotification', notification)\n })\n },\n searchUsers (store, query) {\n // TODO: Move userSearch api into api.service\n return userSearchApi.search({\n query,\n store: {\n state: store.rootState,\n getters: store.rootGetters\n }\n })\n .then((users) => {\n store.commit('addNewUsers', users)\n return users\n })\n },\n async signUp (store, userInfo) {\n store.commit('signUpPending')\n\n let rootState = store.rootState\n\n try {\n let data = await rootState.api.backendInteractor.register(userInfo)\n store.commit('signUpSuccess')\n store.commit('setToken', data.access_token)\n store.dispatch('loginUser', data.access_token)\n } catch (e) {\n let errors = e.message\n // replace ap_id with username\n if (typeof errors === 'object') {\n if (errors.ap_id) {\n errors.username = errors.ap_id\n delete errors.ap_id\n }\n errors = humanizeErrors(errors)\n }\n store.commit('signUpFailure', errors)\n throw Error(errors)\n }\n },\n async getCaptcha (store) {\n return await store.rootState.api.backendInteractor.getCaptcha()\n },\n\n logout (store) {\n store.commit('clearCurrentUser')\n store.dispatch('disconnectFromChat')\n store.commit('setToken', false)\n store.dispatch('stopFetching', 'friends')\n store.commit('setBackendInteractor', backendInteractorService(store.getters.getToken()))\n store.dispatch('stopFetching', 'notifications')\n store.commit('clearNotifications')\n store.commit('resetStatuses')\n },\n loginUser (store, accessToken) {\n return new Promise((resolve, reject) => {\n const commit = store.commit\n commit('beginLogin')\n store.rootState.api.backendInteractor.verifyCredentials(accessToken)\n .then((data) => {\n if (!data.error) {\n const user = data\n // user.credentials = userCredentials\n user.credentials = accessToken\n user.blockIds = []\n user.muteIds = []\n commit('setCurrentUser', user)\n commit('addNewUsers', [user])\n\n getNotificationPermission()\n .then(permission => commit('setNotificationPermission', permission))\n\n // Set our new backend interactor\n commit('setBackendInteractor', backendInteractorService(accessToken))\n\n if (user.token) {\n store.dispatch('setWsToken', user.token)\n\n // Initialize the chat socket.\n store.dispatch('initializeSocket')\n }\n\n // Start getting fresh posts.\n store.dispatch('startFetchingTimeline', { timeline: 'friends' })\n\n // Start fetching notifications\n store.dispatch('startFetchingNotifications')\n\n // Get user mutes\n store.dispatch('fetchMutes')\n\n // Fetch our friends\n store.rootState.api.backendInteractor.fetchFriends({ id: user.id })\n .then((friends) => commit('addNewUsers', friends))\n } else {\n const response = data.error\n // Authentication failed\n commit('endLogin')\n if (response.status === 401) {\n reject('Wrong username or password')\n } else {\n reject('An error occurred, please try again')\n }\n }\n commit('endLogin')\n resolve()\n })\n .catch((error) => {\n console.log(error)\n commit('endLogin')\n reject('Failed to connect to server, try again')\n })\n })\n }\n }\n}\n\nexport default users\n","const queryParams = (params) => {\n return Object.keys(params)\n .map(k => encodeURIComponent(k) + '=' + encodeURIComponent(params[k]))\n .join('&')\n}\n\nconst headers = (store) => {\n const accessToken = store.getters.getToken()\n if (accessToken) {\n return { 'Authorization': `Bearer ${accessToken}` }\n } else {\n return {}\n }\n}\n\nconst request = ({method = 'GET', url, params, store}) => {\n const instance = store.state.instance.server\n let fullUrl = `${instance}${url}`\n\n if (method === 'GET' && params) {\n fullUrl = fullUrl + `?${queryParams(params)}`\n }\n\n return window.fetch(fullUrl, {\n method,\n headers: headers(store),\n credentials: 'same-origin'\n })\n}\n\nconst utils = {\n queryParams,\n request\n}\n\nexport default utils\n","import runtime from 'serviceworker-webpack-plugin/lib/runtime'\n\nfunction urlBase64ToUint8Array (base64String) {\n const padding = '='.repeat((4 - base64String.length % 4) % 4)\n const base64 = (base64String + padding)\n .replace(/-/g, '+')\n .replace(/_/g, '/')\n\n const rawData = window.atob(base64)\n return Uint8Array.from([...rawData].map((char) => char.charCodeAt(0)))\n}\n\nfunction isPushSupported () {\n return 'serviceWorker' in navigator && 'PushManager' in window\n}\n\nfunction getOrCreateServiceWorker () {\n return runtime.register()\n .catch((err) => console.error('Unable to get or create a service worker.', err))\n}\n\nfunction subscribePush (registration, isEnabled, vapidPublicKey) {\n if (!isEnabled) return Promise.reject(new Error('Web Push is disabled in config'))\n if (!vapidPublicKey) return Promise.reject(new Error('VAPID public key is not found'))\n\n const subscribeOptions = {\n userVisibleOnly: true,\n applicationServerKey: urlBase64ToUint8Array(vapidPublicKey)\n }\n return registration.pushManager.subscribe(subscribeOptions)\n}\n\nfunction unsubscribePush (registration) {\n return registration.pushManager.getSubscription()\n .then((subscribtion) => {\n if (subscribtion === null) { return }\n return subscribtion.unsubscribe()\n })\n}\n\nfunction deleteSubscriptionFromBackEnd (token) {\n return window.fetch('/api/v1/push/subscription/', {\n method: 'DELETE',\n headers: {\n 'Content-Type': 'application/json',\n 'Authorization': `Bearer ${token}`\n }\n }).then((response) => {\n if (!response.ok) throw new Error('Bad status code from server.')\n return response\n })\n}\n\nfunction sendSubscriptionToBackEnd (subscription, token, notificationVisibility) {\n return window.fetch('/api/v1/push/subscription/', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'Authorization': `Bearer ${token}`\n },\n body: JSON.stringify({\n subscription,\n data: {\n alerts: {\n follow: notificationVisibility.follows,\n favourite: notificationVisibility.likes,\n mention: notificationVisibility.mentions,\n reblog: notificationVisibility.repeats\n }\n }\n })\n }).then((response) => {\n if (!response.ok) throw new Error('Bad status code from server.')\n return response.json()\n }).then((responseData) => {\n if (!responseData.id) throw new Error('Bad response from server.')\n return responseData\n })\n}\n\nexport function registerPushNotifications (isEnabled, vapidPublicKey, token, notificationVisibility) {\n if (isPushSupported()) {\n getOrCreateServiceWorker()\n .then((registration) => subscribePush(registration, isEnabled, vapidPublicKey))\n .then((subscription) => sendSubscriptionToBackEnd(subscription, token, notificationVisibility))\n .catch((e) => console.warn(`Failed to setup Web Push Notifications: ${e.message}`))\n }\n}\n\nexport function unregisterPushNotifications (token) {\n if (isPushSupported()) {\n Promise.all([\n deleteSubscriptionFromBackEnd(token),\n getOrCreateServiceWorker()\n .then((registration) => {\n return unsubscribePush(registration).then((result) => [registration, result])\n })\n .then(([registration, unsubResult]) => {\n if (!unsubResult) {\n console.warn('Push subscription cancellation wasn\\'t successful, killing SW anyway...')\n }\n return registration.unregister().then((result) => {\n if (!result) {\n console.warn('Failed to kill SW')\n }\n })\n })\n ]).catch((e) => console.warn(`Failed to disable Web Push Notifications: ${e.message}`))\n }\n}\n","import { capitalize } from 'lodash'\n\nexport function humanizeErrors (errors) {\n return Object.entries(errors).reduce((errs, [k, val]) => {\n let message = val.reduce((acc, message) => {\n let key = capitalize(k.replace(/_/g, ' '))\n return acc + [key, message].join(' ') + '. '\n }, '')\n return [...errs, message]\n }, [])\n}\n\n","import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\nimport { Socket } from 'phoenix'\n\nconst api = {\n state: {\n backendInteractor: backendInteractorService(),\n fetchers: {},\n socket: null,\n chatDisabled: false,\n followRequests: []\n },\n mutations: {\n setBackendInteractor (state, backendInteractor) {\n state.backendInteractor = backendInteractor\n },\n addFetcher (state, { fetcherName, fetcher }) {\n state.fetchers[fetcherName] = fetcher\n },\n removeFetcher (state, { fetcherName }) {\n delete state.fetchers[fetcherName]\n },\n setWsToken (state, token) {\n state.wsToken = token\n },\n setSocket (state, socket) {\n state.socket = socket\n },\n setChatDisabled (state, value) {\n state.chatDisabled = value\n },\n setFollowRequests (state, value) {\n state.followRequests = value\n }\n },\n actions: {\n startFetchingTimeline (store, { timeline = 'friends', tag = false, userId = false }) {\n // Don't start fetching if we already are.\n if (store.state.fetchers[timeline]) return\n\n const fetcher = store.state.backendInteractor.startFetchingTimeline({ timeline, store, userId, tag })\n store.commit('addFetcher', { fetcherName: timeline, fetcher })\n },\n startFetchingNotifications (store) {\n // Don't start fetching if we already are.\n if (store.state.fetchers['notifications']) return\n\n const fetcher = store.state.backendInteractor.startFetchingNotifications({ store })\n store.commit('addFetcher', { fetcherName: 'notifications', fetcher })\n },\n stopFetching (store, fetcherName) {\n const fetcher = store.state.fetchers[fetcherName]\n window.clearInterval(fetcher)\n store.commit('removeFetcher', { fetcherName })\n },\n setWsToken (store, token) {\n store.commit('setWsToken', token)\n },\n initializeSocket (store) {\n // Set up websocket connection\n if (!store.state.chatDisabled) {\n const token = store.state.wsToken\n const socket = new Socket('/socket', { params: { token } })\n socket.connect()\n store.dispatch('initializeChat', socket)\n }\n },\n disableChat (store) {\n store.commit('setChatDisabled', true)\n },\n removeFollowRequest (store, request) {\n let requests = store.state.followRequests.filter((it) => it !== request)\n store.commit('setFollowRequests', requests)\n }\n }\n}\n\nexport default api\n","import { set, delete as del } from 'vue'\nimport { setPreset, applyTheme } from '../services/style_setter/style_setter.js'\n\nconst browserLocale = (window.navigator.language || 'en').split('-')[0]\n\nconst defaultState = {\n colors: {},\n hideMutedPosts: undefined, // instance default\n collapseMessageWithSubject: undefined, // instance default\n hideAttachments: false,\n hideAttachmentsInConv: false,\n maxThumbnails: 16,\n hideNsfw: true,\n preloadImage: true,\n loopVideo: true,\n loopVideoSilentOnly: true,\n autoLoad: true,\n streaming: false,\n hoverPreview: true,\n autohideFloatingPostButton: false,\n pauseOnUnfocused: true,\n stopGifs: false,\n replyVisibility: 'all',\n notificationVisibility: {\n follows: true,\n mentions: true,\n likes: true,\n repeats: true\n },\n webPushNotifications: false,\n muteWords: [],\n highlight: {},\n interfaceLanguage: browserLocale,\n hideScopeNotice: false,\n scopeCopy: undefined, // instance default\n subjectLineBehavior: undefined, // instance default\n alwaysShowSubjectInput: undefined, // instance default\n postContentType: undefined, // instance default\n minimalScopesMode: undefined // instance default\n}\n\nconst config = {\n state: defaultState,\n mutations: {\n setOption (state, { name, value }) {\n set(state, name, value)\n },\n setHighlight (state, { user, color, type }) {\n const data = this.state.config.highlight[user]\n if (color || type) {\n set(state.highlight, user, { color: color || data.color, type: type || data.type })\n } else {\n del(state.highlight, user)\n }\n }\n },\n actions: {\n setHighlight ({ commit, dispatch }, { user, color, type }) {\n commit('setHighlight', {user, color, type})\n },\n setOption ({ commit, dispatch }, { name, value }) {\n commit('setOption', {name, value})\n switch (name) {\n case 'theme':\n setPreset(value, commit)\n break\n case 'customTheme':\n applyTheme(value, commit)\n }\n }\n }\n}\n\nexport default config\n","const chat = {\n state: {\n messages: [],\n channel: {state: ''},\n socket: null\n },\n mutations: {\n setChannel (state, channel) {\n state.channel = channel\n },\n setSocket (state, socket) {\n state.socket = socket\n },\n addMessage (state, message) {\n state.messages.push(message)\n state.messages = state.messages.slice(-19, 20)\n },\n setMessages (state, messages) {\n state.messages = messages.slice(-19, 20)\n }\n },\n actions: {\n disconnectFromChat (store) {\n store.state.socket.disconnect()\n },\n initializeChat (store, socket) {\n const channel = socket.channel('chat:public')\n store.commit('setSocket', socket)\n channel.on('new_msg', (msg) => {\n store.commit('addMessage', msg)\n })\n channel.on('messages', ({messages}) => {\n store.commit('setMessages', messages)\n })\n channel.join()\n store.commit('setChannel', channel)\n }\n }\n}\n\nexport default chat\n","const oauth = {\n state: {\n clientId: false,\n clientSecret: false,\n /* App token is authentication for app without any user, used mostly for\n * MastoAPI's registration of new users, stored so that we can fall back to\n * it on logout\n */\n appToken: false,\n /* User token is authentication for app with user, this is for every calls\n * that need authorized user to be successful (i.e. posting, liking etc)\n */\n userToken: false\n },\n mutations: {\n setClientData (state, { clientId, clientSecret }) {\n state.clientId = clientId\n state.clientSecret = clientSecret\n },\n setAppToken (state, token) {\n state.appToken = token\n },\n setToken (state, token) {\n state.userToken = token\n }\n },\n getters: {\n getToken: state => () => {\n // state.token is userToken with older name, coming from persistent state\n // added here for smoother transition, otherwise user will be logged out\n return state.userToken || state.token || state.appToken\n },\n getUserToken: state => () => {\n // state.token is userToken with older name, coming from persistent state\n // added here for smoother transition, otherwise user will be logged out\n return state.userToken || state.token\n }\n }\n}\n\nexport default oauth\n","const PASSWORD_STRATEGY = 'password'\nconst TOKEN_STRATEGY = 'token'\n\n// MFA strategies\nconst TOTP_STRATEGY = 'totp'\nconst RECOVERY_STRATEGY = 'recovery'\n\n// initial state\nconst state = {\n app: null,\n settings: {},\n strategy: PASSWORD_STRATEGY,\n initStrategy: PASSWORD_STRATEGY // default strategy from config\n}\n\nconst resetState = (state) => {\n state.strategy = state.initStrategy\n state.settings = {}\n state.app = null\n}\n\n// getters\nconst getters = {\n app: (state, getters) => {\n return state.app\n },\n settings: (state, getters) => {\n return state.settings\n },\n requiredPassword: (state, getters, rootState) => {\n return state.strategy === PASSWORD_STRATEGY\n },\n requiredToken: (state, getters, rootState) => {\n return state.strategy === TOKEN_STRATEGY\n },\n requiredTOTP: (state, getters, rootState) => {\n return state.strategy === TOTP_STRATEGY\n },\n requiredRecovery: (state, getters, rootState) => {\n return state.strategy === RECOVERY_STRATEGY\n }\n}\n\n// mutations\nconst mutations = {\n setInitialStrategy (state, strategy) {\n if (strategy) {\n state.initStrategy = strategy\n state.strategy = strategy\n }\n },\n requirePassword (state) {\n state.strategy = PASSWORD_STRATEGY\n },\n requireToken (state) {\n state.strategy = TOKEN_STRATEGY\n },\n requireMFA (state, {app, settings}) {\n state.settings = settings\n state.app = app\n state.strategy = TOTP_STRATEGY // default strategy of MFA\n },\n requireRecovery (state) {\n state.strategy = RECOVERY_STRATEGY\n },\n requireTOTP (state) {\n state.strategy = TOTP_STRATEGY\n },\n abortMFA (state) {\n resetState(state)\n }\n}\n\n// actions\nconst actions = {\n async login ({state, dispatch, commit}, {access_token}) {\n commit('setToken', access_token, { root: true })\n await dispatch('loginUser', access_token, { root: true })\n resetState(state)\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n mutations,\n actions\n}\n","import fileTypeService from '../services/file_type/file_type.service.js'\n\nconst mediaViewer = {\n state: {\n media: [],\n currentIndex: 0,\n activated: false\n },\n mutations: {\n setMedia (state, media) {\n state.media = media\n },\n setCurrent (state, index) {\n state.activated = true\n state.currentIndex = index\n },\n close (state) {\n state.activated = false\n }\n },\n actions: {\n setMedia ({ commit }, attachments) {\n const media = attachments.filter(attachment => {\n const type = fileTypeService.fileType(attachment.mimetype)\n return type === 'image' || type === 'video'\n })\n commit('setMedia', media)\n },\n setCurrent ({ commit, state }, current) {\n const index = state.media.indexOf(current)\n commit('setCurrent', index || 0)\n },\n closeMediaViewer ({ commit }) {\n commit('close')\n }\n }\n}\n\nexport default mediaViewer\n","const oauthTokens = {\n state: {\n tokens: []\n },\n actions: {\n fetchTokens ({rootState, commit}) {\n rootState.api.backendInteractor.fetchOAuthTokens().then((tokens) => {\n commit('swapTokens', tokens)\n })\n },\n revokeToken ({rootState, commit, state}, id) {\n rootState.api.backendInteractor.revokeOAuthToken(id).then((response) => {\n if (response.status === 201) {\n commit('swapTokens', state.tokens.filter(token => token.id !== id))\n }\n })\n }\n },\n mutations: {\n swapTokens (state, tokens) {\n state.tokens = tokens\n }\n }\n}\n\nexport default oauthTokens\n","import filter from 'lodash/filter'\n\nconst reports = {\n state: {\n userId: null,\n statuses: [],\n modalActivated: false\n },\n mutations: {\n openUserReportingModal (state, { userId, statuses }) {\n state.userId = userId\n state.statuses = statuses\n state.modalActivated = true\n },\n closeUserReportingModal (state) {\n state.modalActivated = false\n }\n },\n actions: {\n openUserReportingModal ({ rootState, commit }, userId) {\n const statuses = filter(rootState.statuses.allStatuses, status => status.user.id === userId)\n commit('openUserReportingModal', { userId, statuses })\n },\n closeUserReportingModal ({ commit }) {\n commit('closeUserReportingModal')\n }\n }\n}\n\nexport default reports\n","import merge from 'lodash.merge'\nimport objectPath from 'object-path'\nimport localforage from 'localforage'\nimport { each } from 'lodash'\n\nlet loaded = false\n\nconst defaultReducer = (state, paths) => (\n paths.length === 0 ? state : paths.reduce((substate, path) => {\n objectPath.set(substate, path, objectPath.get(state, path))\n return substate\n }, {})\n)\n\nconst saveImmedeatelyActions = [\n 'markNotificationsAsSeen',\n 'clearCurrentUser',\n 'setCurrentUser',\n 'setHighlight',\n 'setOption',\n 'setClientData',\n 'setToken'\n]\n\nconst defaultStorage = (() => {\n return localforage\n})()\n\nexport default function createPersistedState ({\n key = 'vuex-lz',\n paths = [],\n getState = (key, storage) => {\n let value = storage.getItem(key)\n return value\n },\n setState = (key, state, storage) => {\n if (!loaded) {\n console.log('waiting for old state to be loaded...')\n return Promise.resolve()\n } else {\n return storage.setItem(key, state)\n }\n },\n reducer = defaultReducer,\n storage = defaultStorage,\n subscriber = store => handler => store.subscribe(handler)\n} = {}) {\n return getState(key, storage).then((savedState) => {\n return store => {\n try {\n if (savedState !== null && typeof savedState === 'object') {\n // build user cache\n const usersState = savedState.users || {}\n usersState.usersObject = {}\n const users = usersState.users || []\n each(users, (user) => { usersState.usersObject[user.id] = user })\n savedState.users = usersState\n\n store.replaceState(\n merge({}, store.state, savedState)\n )\n }\n loaded = true\n } catch (e) {\n console.log(\"Couldn't load state\")\n console.error(e)\n loaded = true\n }\n subscriber(store)((mutation, state) => {\n try {\n if (saveImmedeatelyActions.includes(mutation.type)) {\n setState(key, reducer(state, paths), storage)\n .then(success => {\n if (typeof success !== 'undefined') {\n if (mutation.type === 'setOption' || mutation.type === 'setCurrentUser') {\n store.dispatch('settingsSaved', { success })\n }\n }\n }, error => {\n if (mutation.type === 'setOption' || mutation.type === 'setCurrentUser') {\n store.dispatch('settingsSaved', { error })\n }\n })\n }\n } catch (e) {\n console.log(\"Couldn't persist state:\")\n console.log(e)\n }\n })\n }\n })\n}\n","export default (store) => {\n store.subscribe((mutation, state) => {\n const vapidPublicKey = state.instance.vapidPublicKey\n const webPushNotification = state.config.webPushNotifications\n const permission = state.interface.notificationPermission === 'granted'\n const user = state.users.currentUser\n\n const isUserMutation = mutation.type === 'setCurrentUser'\n const isVapidMutation = mutation.type === 'setInstanceOption' && mutation.payload.name === 'vapidPublicKey'\n const isPermMutation = mutation.type === 'setNotificationPermission' && mutation.payload === 'granted'\n const isUserConfigMutation = mutation.type === 'setOption' && mutation.payload.name === 'webPushNotifications'\n const isVisibilityMutation = mutation.type === 'setOption' && mutation.payload.name === 'notificationVisibility'\n\n if (isUserMutation || isVapidMutation || isPermMutation || isUserConfigMutation || isVisibilityMutation) {\n if (user && vapidPublicKey && permission && webPushNotification) {\n return store.dispatch('registerPushNotifications')\n } else if (isUserConfigMutation && !webPushNotification) {\n return store.dispatch('unregisterPushNotifications')\n }\n }\n })\n}\n","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport routes from './routes'\nimport App from '../App.vue'\nimport { windowWidth } from '../services/window_utils/window_utils'\nimport { getOrCreateApp, getClientToken } from '../services/new_api/oauth.js'\nimport backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\n\nconst getStatusnetConfig = async ({ store }) => {\n try {\n const res = await window.fetch('/api/statusnet/config.json')\n if (res.ok) {\n const data = await res.json()\n const { name, closed: registrationClosed, textlimit, uploadlimit, server, vapidPublicKey, safeDMMentionsEnabled } = data.site\n\n store.dispatch('setInstanceOption', { name: 'name', value: name })\n store.dispatch('setInstanceOption', { name: 'registrationOpen', value: (registrationClosed === '0') })\n store.dispatch('setInstanceOption', { name: 'textlimit', value: parseInt(textlimit) })\n store.dispatch('setInstanceOption', { name: 'server', value: server })\n store.dispatch('setInstanceOption', { name: 'safeDM', value: safeDMMentionsEnabled !== '0' })\n\n // TODO: default values for this stuff, added if to not make it break on\n // my dev config out of the box.\n if (uploadlimit) {\n store.dispatch('setInstanceOption', { name: 'uploadlimit', value: parseInt(uploadlimit.uploadlimit) })\n store.dispatch('setInstanceOption', { name: 'avatarlimit', value: parseInt(uploadlimit.avatarlimit) })\n store.dispatch('setInstanceOption', { name: 'backgroundlimit', value: parseInt(uploadlimit.backgroundlimit) })\n store.dispatch('setInstanceOption', { name: 'bannerlimit', value: parseInt(uploadlimit.bannerlimit) })\n }\n\n if (vapidPublicKey) {\n store.dispatch('setInstanceOption', { name: 'vapidPublicKey', value: vapidPublicKey })\n }\n\n return data.site.pleromafe\n } else {\n throw (res)\n }\n } catch (error) {\n console.error('Could not load statusnet config, potentially fatal')\n console.error(error)\n }\n}\n\nconst getStaticConfig = async () => {\n try {\n const res = await window.fetch('/static/config.json')\n if (res.ok) {\n return res.json()\n } else {\n throw (res)\n }\n } catch (error) {\n console.warn('Failed to load static/config.json, continuing without it.')\n console.warn(error)\n return {}\n }\n}\n\nconst setSettings = async ({ apiConfig, staticConfig, store }) => {\n const overrides = window.___pleromafe_dev_overrides || {}\n const env = window.___pleromafe_mode.NODE_ENV\n\n // This takes static config and overrides properties that are present in apiConfig\n let config = {}\n if (overrides.staticConfigPreference && env === 'development') {\n console.warn('OVERRIDING API CONFIG WITH STATIC CONFIG')\n config = Object.assign({}, apiConfig, staticConfig)\n } else {\n config = Object.assign({}, staticConfig, apiConfig)\n }\n\n const copyInstanceOption = (name) => {\n store.dispatch('setInstanceOption', { name, value: config[name] })\n }\n\n copyInstanceOption('nsfwCensorImage')\n copyInstanceOption('background')\n copyInstanceOption('hidePostStats')\n copyInstanceOption('hideUserStats')\n copyInstanceOption('hideFilteredStatuses')\n copyInstanceOption('logo')\n\n store.dispatch('setInstanceOption', {\n name: 'logoMask',\n value: typeof config.logoMask === 'undefined'\n ? true\n : config.logoMask\n })\n\n store.dispatch('setInstanceOption', {\n name: 'logoMargin',\n value: typeof config.logoMargin === 'undefined'\n ? 0\n : config.logoMargin\n })\n store.commit('authFlow/setInitialStrategy', config.loginMethod)\n\n copyInstanceOption('redirectRootNoLogin')\n copyInstanceOption('redirectRootLogin')\n copyInstanceOption('showInstanceSpecificPanel')\n copyInstanceOption('minimalScopesMode')\n copyInstanceOption('hideMutedPosts')\n copyInstanceOption('collapseMessageWithSubject')\n copyInstanceOption('scopeCopy')\n copyInstanceOption('subjectLineBehavior')\n copyInstanceOption('postContentType')\n copyInstanceOption('alwaysShowSubjectInput')\n copyInstanceOption('noAttachmentLinks')\n copyInstanceOption('showFeaturesPanel')\n\n if ((config.chatDisabled)) {\n store.dispatch('disableChat')\n } else {\n store.dispatch('initializeSocket')\n }\n\n return store.dispatch('setTheme', config['theme'])\n}\n\nconst getTOS = async ({ store }) => {\n try {\n const res = await window.fetch('/static/terms-of-service.html')\n if (res.ok) {\n const html = await res.text()\n store.dispatch('setInstanceOption', { name: 'tos', value: html })\n } else {\n throw (res)\n }\n } catch (e) {\n console.warn(\"Can't load TOS\")\n console.warn(e)\n }\n}\n\nconst getInstancePanel = async ({ store }) => {\n try {\n const res = await window.fetch('/instance/panel.html')\n if (res.ok) {\n const html = await res.text()\n store.dispatch('setInstanceOption', { name: 'instanceSpecificPanelContent', value: html })\n } else {\n throw (res)\n }\n } catch (e) {\n console.warn(\"Can't load instance panel\")\n console.warn(e)\n }\n}\n\nconst getStaticEmoji = async ({ store }) => {\n try {\n const res = await window.fetch('/static/emoji.json')\n if (res.ok) {\n const values = await res.json()\n const emoji = Object.keys(values).map((key) => {\n return {\n displayText: key,\n imageUrl: false,\n replacement: values[key]\n }\n })\n store.dispatch('setInstanceOption', { name: 'emoji', value: emoji })\n } else {\n throw (res)\n }\n } catch (e) {\n console.warn(\"Can't load static emoji\")\n console.warn(e)\n }\n}\n\n// This is also used to indicate if we have a 'pleroma backend' or not.\n// Somewhat weird, should probably be somewhere else.\nconst getCustomEmoji = async ({ store }) => {\n try {\n const res = await window.fetch('/api/pleroma/emoji.json')\n if (res.ok) {\n const result = await res.json()\n const values = Array.isArray(result) ? Object.assign({}, ...result) : result\n const emoji = Object.keys(values).map((key) => {\n const imageUrl = values[key].image_url\n return {\n displayText: key,\n imageUrl: imageUrl ? store.state.instance.server + imageUrl : values[key],\n replacement: `:${key}: `\n }\n })\n store.dispatch('setInstanceOption', { name: 'customEmoji', value: emoji })\n store.dispatch('setInstanceOption', { name: 'pleromaBackend', value: true })\n } else {\n throw (res)\n }\n } catch (e) {\n store.dispatch('setInstanceOption', { name: 'pleromaBackend', value: false })\n console.warn(\"Can't load custom emojis, maybe not a Pleroma instance?\")\n console.warn(e)\n }\n}\n\nconst getAppSecret = async ({ store }) => {\n const { state, commit } = store\n const { oauth, instance } = state\n return getOrCreateApp({ ...oauth, instance: instance.server, commit })\n .then((app) => getClientToken({ ...app, instance: instance.server }))\n .then((token) => {\n commit('setAppToken', token.access_token)\n commit('setBackendInteractor', backendInteractorService(store.getters.getToken()))\n })\n}\n\nconst getNodeInfo = async ({ store }) => {\n try {\n const res = await window.fetch('/nodeinfo/2.0.json')\n if (res.ok) {\n const data = await res.json()\n const metadata = data.metadata\n const features = metadata.features\n store.dispatch('setInstanceOption', { name: 'mediaProxyAvailable', value: features.includes('media_proxy') })\n store.dispatch('setInstanceOption', { name: 'chatAvailable', value: features.includes('chat') })\n store.dispatch('setInstanceOption', { name: 'gopherAvailable', value: features.includes('gopher') })\n store.dispatch('setInstanceOption', { name: 'pollsAvailable', value: features.includes('polls') })\n store.dispatch('setInstanceOption', { name: 'pollLimits', value: metadata.pollLimits })\n\n store.dispatch('setInstanceOption', { name: 'restrictedNicknames', value: metadata.restrictedNicknames })\n store.dispatch('setInstanceOption', { name: 'postFormats', value: metadata.postFormats })\n\n const suggestions = metadata.suggestions\n store.dispatch('setInstanceOption', { name: 'suggestionsEnabled', value: suggestions.enabled })\n store.dispatch('setInstanceOption', { name: 'suggestionsWeb', value: suggestions.web })\n\n const software = data.software\n store.dispatch('setInstanceOption', { name: 'backendVersion', value: software.version })\n\n const frontendVersion = window.___pleromafe_commit_hash\n store.dispatch('setInstanceOption', { name: 'frontendVersion', value: frontendVersion })\n store.dispatch('setInstanceOption', { name: 'tagPolicyAvailable', value: metadata.federation.mrf_policies.includes('TagPolicy') })\n } else {\n throw (res)\n }\n } catch (e) {\n console.warn('Could not load nodeinfo')\n console.warn(e)\n }\n}\n\nconst setConfig = async ({ store }) => {\n // apiConfig, staticConfig\n const configInfos = await Promise.all([getStatusnetConfig({ store }), getStaticConfig()])\n const apiConfig = configInfos[0]\n const staticConfig = configInfos[1]\n\n await setSettings({ store, apiConfig, staticConfig }).then(getAppSecret({ store }))\n}\n\nconst checkOAuthToken = async ({ store }) => {\n return new Promise(async (resolve, reject) => {\n if (store.getters.getUserToken()) {\n try {\n await store.dispatch('loginUser', store.getters.getUserToken())\n } catch (e) {\n console.log(e)\n }\n }\n resolve()\n })\n}\n\nconst afterStoreSetup = async ({ store, i18n }) => {\n if (store.state.config.customTheme) {\n // This is a hack to deal with async loading of config.json and themes\n // See: style_setter.js, setPreset()\n window.themeLoaded = true\n store.dispatch('setOption', {\n name: 'customTheme',\n value: store.state.config.customTheme\n })\n }\n\n const width = windowWidth()\n store.dispatch('setMobileLayout', width <= 800)\n\n // Now we can try getting the server settings and logging in\n await Promise.all([\n checkOAuthToken({ store }),\n setConfig({ store }),\n getTOS({ store }),\n getInstancePanel({ store }),\n getStaticEmoji({ store }),\n getCustomEmoji({ store }),\n getNodeInfo({ store })\n ])\n\n const router = new VueRouter({\n mode: 'history',\n routes: routes(store),\n scrollBehavior: (to, _from, savedPosition) => {\n if (to.matched.some(m => m.meta.dontScroll)) {\n return false\n }\n return savedPosition || { x: 0, y: 0 }\n }\n })\n\n /* eslint-disable no-new */\n return new Vue({\n router,\n store,\n i18n,\n el: '#app',\n render: h => h(App)\n })\n}\n\nexport default afterStoreSetup\n","import PublicTimeline from 'components/public_timeline/public_timeline.vue'\nimport PublicAndExternalTimeline from 'components/public_and_external_timeline/public_and_external_timeline.vue'\nimport FriendsTimeline from 'components/friends_timeline/friends_timeline.vue'\nimport TagTimeline from 'components/tag_timeline/tag_timeline.vue'\nimport ConversationPage from 'components/conversation-page/conversation-page.vue'\nimport Interactions from 'components/interactions/interactions.vue'\nimport DMs from 'components/dm_timeline/dm_timeline.vue'\nimport UserProfile from 'components/user_profile/user_profile.vue'\nimport Settings from 'components/settings/settings.vue'\nimport Registration from 'components/registration/registration.vue'\nimport UserSettings from 'components/user_settings/user_settings.vue'\nimport FollowRequests from 'components/follow_requests/follow_requests.vue'\nimport OAuthCallback from 'components/oauth_callback/oauth_callback.vue'\nimport UserSearch from 'components/user_search/user_search.vue'\nimport Notifications from 'components/notifications/notifications.vue'\nimport AuthForm from 'components/auth_form/auth_form.js'\nimport ChatPanel from 'components/chat_panel/chat_panel.vue'\nimport WhoToFollow from 'components/who_to_follow/who_to_follow.vue'\nimport About from 'components/about/about.vue'\n\nexport default (store) => {\n return [\n { name: 'root',\n path: '/',\n redirect: _to => {\n return (store.state.users.currentUser\n ? store.state.instance.redirectRootLogin\n : store.state.instance.redirectRootNoLogin) || '/main/all'\n }\n },\n { name: 'public-external-timeline', path: '/main/all', component: PublicAndExternalTimeline },\n { name: 'public-timeline', path: '/main/public', component: PublicTimeline },\n { name: 'friends', path: '/main/friends', component: FriendsTimeline },\n { name: 'tag-timeline', path: '/tag/:tag', component: TagTimeline },\n { name: 'conversation', path: '/notice/:id', component: ConversationPage, meta: { dontScroll: true } },\n { name: 'external-user-profile', path: '/users/:id', component: UserProfile },\n { name: 'interactions', path: '/users/:username/interactions', component: Interactions },\n { name: 'dms', path: '/users/:username/dms', component: DMs },\n { name: 'settings', path: '/settings', component: Settings },\n { name: 'registration', path: '/registration', component: Registration },\n { name: 'registration-token', path: '/registration/:token', component: Registration },\n { name: 'friend-requests', path: '/friend-requests', component: FollowRequests },\n { name: 'user-settings', path: '/user-settings', component: UserSettings },\n { name: 'notifications', path: '/:username/notifications', component: Notifications },\n { name: 'login', path: '/login', component: AuthForm },\n { name: 'chat', path: '/chat', component: ChatPanel, props: () => ({ floating: false }) },\n { name: 'oauth-callback', path: '/oauth-callback', component: OAuthCallback, props: (route) => ({ code: route.query.code }) },\n { name: 'user-search', path: '/user-search', component: UserSearch, props: (route) => ({ query: route.query.query }) },\n { name: 'who-to-follow', path: '/who-to-follow', component: WhoToFollow },\n { name: 'about', path: '/about', component: About },\n { name: 'user-profile', path: '/(users/)?:name', component: UserProfile }\n ]\n}\n","/* script */\nexport * from \"!!babel-loader!./public_timeline.js\"\nimport __vue_script__ from \"!!babel-loader!./public_timeline.js\"/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-28719980\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./public_timeline.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","// style-loader: Adds some css to the DOM by adding a \n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// popper.js.vue?d82780f4","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// checkbox.vue?3ca7f228","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// color_input.vue?77e7e595","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// contrast_ratio.vue?3da6379e","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// export_import.vue?3c652c60","\n\n\n\n\n\n// WEBPACK FOOTER //\n// interface_language_switcher.vue?71c943eb","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// list.vue?65919d38","\n\n\n\n\n\n// WEBPACK FOOTER //\n// opacity_input.vue?aea9ac64","\n\n\n\n\n\n// WEBPACK FOOTER //\n// progress_button.vue?f0970780","\n\n\n\n\n\n// WEBPACK FOOTER //\n// range_input.vue?63c72290","import UserPanel from './components/user_panel/user_panel.vue'\nimport NavPanel from './components/nav_panel/nav_panel.vue'\nimport Notifications from './components/notifications/notifications.vue'\nimport UserFinder from './components/user_finder/user_finder.vue'\nimport InstanceSpecificPanel from './components/instance_specific_panel/instance_specific_panel.vue'\nimport FeaturesPanel from './components/features_panel/features_panel.vue'\nimport WhoToFollowPanel from './components/who_to_follow_panel/who_to_follow_panel.vue'\nimport ChatPanel from './components/chat_panel/chat_panel.vue'\nimport MediaModal from './components/media_modal/media_modal.vue'\nimport SideDrawer from './components/side_drawer/side_drawer.vue'\nimport MobilePostStatusModal from './components/mobile_post_status_modal/mobile_post_status_modal.vue'\nimport MobileNav from './components/mobile_nav/mobile_nav.vue'\nimport { windowWidth } from './services/window_utils/window_utils'\n\nexport default {\n name: 'app',\n components: {\n UserPanel,\n NavPanel,\n Notifications,\n UserFinder,\n InstanceSpecificPanel,\n FeaturesPanel,\n WhoToFollowPanel,\n ChatPanel,\n MediaModal,\n SideDrawer,\n MobilePostStatusModal,\n MobileNav\n },\n data: () => ({\n mobileActivePanel: 'timeline',\n finderHidden: true,\n supportsMask: window.CSS && window.CSS.supports && (\n window.CSS.supports('mask-size', 'contain') ||\n window.CSS.supports('-webkit-mask-size', 'contain') ||\n window.CSS.supports('-moz-mask-size', 'contain') ||\n window.CSS.supports('-ms-mask-size', 'contain') ||\n window.CSS.supports('-o-mask-size', 'contain')\n )\n }),\n created () {\n // Load the locale from the storage\n this.$i18n.locale = this.$store.state.config.interfaceLanguage\n window.addEventListener('resize', this.updateMobileState)\n },\n destroyed () {\n window.removeEventListener('resize', this.updateMobileState)\n },\n computed: {\n currentUser () { return this.$store.state.users.currentUser },\n background () {\n return this.currentUser.background_image || this.$store.state.instance.background\n },\n enableMask () { return this.supportsMask && this.$store.state.instance.logoMask },\n logoStyle () {\n return {\n 'visibility': this.enableMask ? 'hidden' : 'visible'\n }\n },\n logoMaskStyle () {\n return this.enableMask ? {\n 'mask-image': `url(${this.$store.state.instance.logo})`\n } : {\n 'background-color': this.enableMask ? '' : 'transparent'\n }\n },\n logoBgStyle () {\n return Object.assign({\n 'margin': `${this.$store.state.instance.logoMargin} 0`,\n opacity: this.finderHidden ? 1 : 0\n }, this.enableMask ? {} : {\n 'background-color': this.enableMask ? '' : 'transparent'\n })\n },\n logo () { return this.$store.state.instance.logo },\n bgStyle () {\n return {\n 'background-image': `url(${this.background})`\n }\n },\n bgAppStyle () {\n return {\n '--body-background-image': `url(${this.background})`\n }\n },\n sitename () { return this.$store.state.instance.name },\n chat () { return this.$store.state.chat.channel.state === 'joined' },\n suggestionsEnabled () { return this.$store.state.instance.suggestionsEnabled },\n showInstanceSpecificPanel () { return this.$store.state.instance.showInstanceSpecificPanel },\n showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },\n isMobileLayout () { return this.$store.state.interface.mobileLayout }\n },\n methods: {\n scrollToTop () {\n window.scrollTo(0, 0)\n },\n logout () {\n this.$router.replace('/main/public')\n this.$store.dispatch('logout')\n },\n onFinderToggled (hidden) {\n this.finderHidden = hidden\n },\n updateMobileState () {\n const mobileLayout = windowWidth() <= 800\n const changed = mobileLayout !== this.isMobileLayout\n if (changed) {\n this.$store.dispatch('setMobileLayout', mobileLayout)\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/App.js","import InstanceSpecificPanel from '../instance_specific_panel/instance_specific_panel.vue'\nimport FeaturesPanel from '../features_panel/features_panel.vue'\nimport TermsOfServicePanel from '../terms_of_service_panel/terms_of_service_panel.vue'\n\nconst About = {\n components: {\n InstanceSpecificPanel,\n FeaturesPanel,\n TermsOfServicePanel\n },\n computed: {\n showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel }\n }\n}\n\nexport default About\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/about/about.js","import StillImage from '../still-image/still-image.vue'\nimport VideoAttachment from '../video_attachment/video_attachment.vue'\nimport nsfwImage from '../../assets/nsfw.png'\nimport fileTypeService from '../../services/file_type/file_type.service.js'\n\nconst Attachment = {\n props: [\n 'attachment',\n 'nsfw',\n 'statusId',\n 'size',\n 'allowPlay',\n 'setMedia'\n ],\n data () {\n return {\n nsfwImage: this.$store.state.instance.nsfwCensorImage || nsfwImage,\n hideNsfwLocal: this.$store.state.config.hideNsfw,\n preloadImage: this.$store.state.config.preloadImage,\n loading: false,\n img: fileTypeService.fileType(this.attachment.mimetype) === 'image' && document.createElement('img'),\n modalOpen: false,\n showHidden: false\n }\n },\n components: {\n StillImage,\n VideoAttachment\n },\n computed: {\n usePlaceHolder () {\n return this.size === 'hide' || this.type === 'unknown'\n },\n referrerpolicy () {\n return this.$store.state.instance.mediaProxyAvailable ? '' : 'no-referrer'\n },\n type () {\n return fileTypeService.fileType(this.attachment.mimetype)\n },\n hidden () {\n return this.nsfw && this.hideNsfwLocal && !this.showHidden\n },\n isEmpty () {\n return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown'\n },\n isSmall () {\n return this.size === 'small'\n },\n fullwidth () {\n return this.type === 'html' || this.type === 'audio'\n }\n },\n methods: {\n linkClicked ({target}) {\n if (target.tagName === 'A') {\n window.open(target.href, '_blank')\n }\n },\n openModal (event) {\n const modalTypes = this.$store.state.config.playVideosInModal\n ? ['image', 'video']\n : ['image']\n if (fileTypeService.fileMatchesSomeType(modalTypes, this.attachment) ||\n this.usePlaceHolder\n ) {\n event.stopPropagation()\n event.preventDefault()\n this.setMedia()\n this.$store.dispatch('setCurrent', this.attachment)\n }\n },\n toggleHidden (event) {\n if (this.$store.state.config.useOneClickNsfw && !this.showHidden) {\n this.openModal(event)\n return\n }\n if (this.img && !this.preloadImage) {\n if (this.img.onload) {\n this.img.onload()\n } else {\n this.loading = true\n this.img.src = this.attachment.url\n this.img.onload = () => {\n this.loading = false\n this.showHidden = !this.showHidden\n }\n }\n } else {\n this.showHidden = !this.showHidden\n }\n }\n }\n}\n\nexport default Attachment\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/attachment/attachment.js","const debounceMilliseconds = 500\n\nexport default {\n props: {\n query: { // function to query results and return a promise\n type: Function,\n required: true\n },\n filter: { // function to filter results in real time\n type: Function\n },\n placeholder: {\n type: String,\n default: 'Search...'\n }\n },\n data () {\n return {\n term: '',\n timeout: null,\n results: [],\n resultsVisible: false\n }\n },\n computed: {\n filtered () {\n return this.filter ? this.filter(this.results) : this.results\n }\n },\n watch: {\n term (val) {\n this.fetchResults(val)\n }\n },\n methods: {\n fetchResults (term) {\n clearTimeout(this.timeout)\n this.timeout = setTimeout(() => {\n this.results = []\n if (term) {\n this.query(term).then((results) => { this.results = results })\n }\n }, debounceMilliseconds)\n },\n onInputClick () {\n this.resultsVisible = true\n },\n onClickOutside () {\n this.resultsVisible = false\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/autosuggest/autosuggest.js","import UserCard from '../user_card/user_card.vue'\nimport UserAvatar from '../user_avatar/user_avatar.vue'\nimport generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'\n\nconst BasicUserCard = {\n props: [\n 'user'\n ],\n data () {\n return {\n userExpanded: false\n }\n },\n components: {\n UserCard,\n UserAvatar\n },\n methods: {\n toggleUserExpanded () {\n this.userExpanded = !this.userExpanded\n },\n userProfileLink (user) {\n return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames)\n }\n }\n}\n\nexport default BasicUserCard\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/basic_user_card/basic_user_card.js","import BasicUserCard from '../basic_user_card/basic_user_card.vue'\n\nconst BlockCard = {\n props: ['userId'],\n data () {\n return {\n progress: false\n }\n },\n computed: {\n user () {\n return this.$store.getters.findUser(this.userId)\n },\n blocked () {\n return this.user.statusnet_blocking\n }\n },\n components: {\n BasicUserCard\n },\n methods: {\n unblockUser () {\n this.progress = true\n this.$store.dispatch('unblockUser', this.user.id).then(() => {\n this.progress = false\n })\n },\n blockUser () {\n this.progress = true\n this.$store.dispatch('blockUser', this.user.id).then(() => {\n this.progress = false\n })\n }\n }\n}\n\nexport default BlockCard\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/block_card/block_card.js","import generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'\n\nconst chatPanel = {\n props: [ 'floating' ],\n data () {\n return {\n currentMessage: '',\n channel: null,\n collapsed: true\n }\n },\n computed: {\n messages () {\n return this.$store.state.chat.messages\n }\n },\n methods: {\n submit (message) {\n this.$store.state.chat.channel.push('new_msg', {text: message}, 10000)\n this.currentMessage = ''\n },\n togglePanel () {\n this.collapsed = !this.collapsed\n },\n userProfileLink (user) {\n return generateProfileLink(user.id, user.username, this.$store.state.instance.restrictedNicknames)\n }\n }\n}\n\nexport default chatPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/chat_panel/chat_panel.js","import Conversation from '../conversation/conversation.vue'\n\nconst conversationPage = {\n components: {\n Conversation\n },\n computed: {\n statusoid () {\n const id = this.$route.params.id\n const statuses = this.$store.state.statuses.allStatusesObject\n const status = statuses[id]\n\n return status\n }\n }\n}\n\nexport default conversationPage\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/conversation-page/conversation-page.js","import { reduce, filter, findIndex, clone } from 'lodash'\nimport Status from '../status/status.vue'\n\nconst sortById = (a, b) => {\n const idA = a.type === 'retweet' ? a.retweeted_status.id : a.id\n const idB = b.type === 'retweet' ? b.retweeted_status.id : b.id\n const seqA = Number(idA)\n const seqB = Number(idB)\n const isSeqA = !Number.isNaN(seqA)\n const isSeqB = !Number.isNaN(seqB)\n if (isSeqA && isSeqB) {\n return seqA < seqB ? -1 : 1\n } else if (isSeqA && !isSeqB) {\n return -1\n } else if (!isSeqA && isSeqB) {\n return 1\n } else {\n return idA < idB ? -1 : 1\n }\n}\n\nconst sortAndFilterConversation = (conversation, statusoid) => {\n if (statusoid.type === 'retweet') {\n conversation = filter(\n conversation,\n (status) => (status.type === 'retweet' || status.id !== statusoid.retweeted_status.id)\n )\n } else {\n conversation = filter(conversation, (status) => status.type !== 'retweet')\n }\n return conversation.filter(_ => _).sort(sortById)\n}\n\nconst conversation = {\n data () {\n return {\n highlight: null,\n expanded: false\n }\n },\n props: [\n 'statusoid',\n 'collapsable',\n 'isPage'\n ],\n created () {\n if (this.isPage) {\n this.fetchConversation()\n }\n },\n computed: {\n status () {\n return this.statusoid\n },\n statusId () {\n if (this.statusoid.retweeted_status) {\n return this.statusoid.retweeted_status.id\n } else {\n return this.statusoid.id\n }\n },\n conversationId () {\n if (this.statusoid.retweeted_status) {\n return this.statusoid.retweeted_status.statusnet_conversation_id\n } else {\n return this.statusoid.statusnet_conversation_id\n }\n },\n conversation () {\n if (!this.status) {\n return []\n }\n\n if (!this.isExpanded) {\n return [this.status]\n }\n\n const conversation = clone(this.$store.state.statuses.conversationsObject[this.conversationId])\n const statusIndex = findIndex(conversation, { id: this.statusId })\n if (statusIndex !== -1) {\n conversation[statusIndex] = this.status\n }\n\n return sortAndFilterConversation(conversation, this.status)\n },\n replies () {\n let i = 1\n return reduce(this.conversation, (result, {id, in_reply_to_status_id}) => {\n /* eslint-disable camelcase */\n const irid = in_reply_to_status_id\n /* eslint-enable camelcase */\n if (irid) {\n result[irid] = result[irid] || []\n result[irid].push({\n name: `#${i}`,\n id: id\n })\n }\n i++\n return result\n }, {})\n },\n isExpanded () {\n return this.expanded || this.isPage\n }\n },\n components: {\n Status\n },\n watch: {\n '$route': 'fetchConversation',\n expanded (value) {\n if (value) {\n this.fetchConversation()\n }\n }\n },\n methods: {\n fetchConversation () {\n if (this.status) {\n this.$store.state.api.backendInteractor.fetchConversation({id: this.status.id})\n .then(({ancestors, descendants}) => {\n this.$store.dispatch('addNewStatuses', { statuses: ancestors })\n this.$store.dispatch('addNewStatuses', { statuses: descendants })\n })\n .then(() => this.setHighlight(this.statusId))\n } else {\n const id = this.$route.params.id\n this.$store.state.api.backendInteractor.fetchStatus({id})\n .then((status) => this.$store.dispatch('addNewStatuses', { statuses: [status] }))\n .then(() => this.fetchConversation())\n }\n },\n getReplies (id) {\n return this.replies[id] || []\n },\n focused (id) {\n return (this.isExpanded) && id === this.status.id\n },\n setHighlight (id) {\n this.highlight = id\n },\n getHighlight () {\n return this.isExpanded ? this.highlight : null\n },\n toggleExpanded () {\n this.expanded = !this.expanded\n if (!this.expanded) {\n this.setHighlight(null)\n }\n }\n }\n}\n\nexport default conversation\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/conversation/conversation.js","const DeleteButton = {\n props: [ 'status' ],\n methods: {\n deleteStatus () {\n const confirmed = window.confirm('Do you really want to delete this status?')\n if (confirmed) {\n this.$store.dispatch('deleteStatus', { id: this.status.id })\n }\n }\n },\n computed: {\n currentUser () { return this.$store.state.users.currentUser },\n canDelete () {\n if (!this.currentUser) { return }\n const superuser = this.currentUser.rights.moderator || this.currentUser.rights.admin\n return superuser || this.status.user.id === this.currentUser.id\n }\n }\n}\n\nexport default DeleteButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/delete_button/delete_button.js","const DialogModal = {\n props: {\n darkOverlay: {\n default: true,\n type: Boolean\n },\n onCancel: {\n default: () => {},\n type: Function\n }\n }\n}\n\nexport default DialogModal\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/dialog_modal/dialog_modal.js","import Timeline from '../timeline/timeline.vue'\n\nconst DMs = {\n computed: {\n timeline () {\n return this.$store.state.statuses.timelines.dms\n }\n },\n components: {\n Timeline\n }\n}\n\nexport default DMs\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/dm_timeline/dm_timeline.js","import Completion from '../../services/completion/completion.js'\nimport { take, filter, map } from 'lodash'\n\nconst EmojiInput = {\n props: [\n 'value',\n 'placeholder',\n 'type',\n 'classname'\n ],\n data () {\n return {\n highlighted: 0,\n caret: 0\n }\n },\n computed: {\n suggestions () {\n const firstchar = this.textAtCaret.charAt(0)\n if (firstchar === ':') {\n if (this.textAtCaret === ':') { return }\n const matchedEmoji = filter(this.emoji.concat(this.customEmoji), (emoji) => emoji.shortcode.startsWith(this.textAtCaret.slice(1)))\n if (matchedEmoji.length <= 0) {\n return false\n }\n return map(take(matchedEmoji, 5), ({shortcode, image_url, utf}, index) => ({\n shortcode: `:${shortcode}:`,\n utf: utf || '',\n // eslint-disable-next-line camelcase\n img: utf ? '' : this.$store.state.instance.server + image_url,\n highlighted: index === this.highlighted\n }))\n } else {\n return false\n }\n },\n textAtCaret () {\n return (this.wordAtCaret || {}).word || ''\n },\n wordAtCaret () {\n const word = Completion.wordAtPosition(this.value, this.caret - 1) || {}\n return word\n },\n emoji () {\n return this.$store.state.instance.emoji || []\n },\n customEmoji () {\n return this.$store.state.instance.customEmoji || []\n }\n },\n methods: {\n replace (replacement) {\n const newValue = Completion.replaceWord(this.value, this.wordAtCaret, replacement)\n this.$emit('input', newValue)\n this.caret = 0\n },\n replaceEmoji (e) {\n const len = this.suggestions.length || 0\n if (this.textAtCaret === ':' || e.ctrlKey) { return }\n if (len > 0) {\n e.preventDefault()\n const emoji = this.suggestions[this.highlighted]\n const replacement = emoji.utf || (emoji.shortcode + ' ')\n const newValue = Completion.replaceWord(this.value, this.wordAtCaret, replacement)\n this.$emit('input', newValue)\n this.caret = 0\n this.highlighted = 0\n }\n },\n cycleBackward (e) {\n const len = this.suggestions.length || 0\n if (len > 0) {\n e.preventDefault()\n this.highlighted -= 1\n if (this.highlighted < 0) {\n this.highlighted = this.suggestions.length - 1\n }\n } else {\n this.highlighted = 0\n }\n },\n cycleForward (e) {\n const len = this.suggestions.length || 0\n if (len > 0) {\n if (e.shiftKey) { return }\n e.preventDefault()\n this.highlighted += 1\n if (this.highlighted >= len) {\n this.highlighted = 0\n }\n } else {\n this.highlighted = 0\n }\n },\n onKeydown (e) {\n e.stopPropagation()\n },\n onInput (e) {\n this.$emit('input', e.target.value)\n },\n setCaret ({target: {selectionStart}}) {\n this.caret = selectionStart\n }\n }\n}\n\nexport default EmojiInput\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/emoji-input/emoji-input.js","const FavoriteButton = {\n props: ['status', 'loggedIn'],\n data () {\n return {\n hidePostStatsLocal: typeof this.$store.state.config.hidePostStats === 'undefined'\n ? this.$store.state.instance.hidePostStats\n : this.$store.state.config.hidePostStats,\n animated: false\n }\n },\n methods: {\n favorite () {\n if (!this.status.favorited) {\n this.$store.dispatch('favorite', {id: this.status.id})\n } else {\n this.$store.dispatch('unfavorite', {id: this.status.id})\n }\n this.animated = true\n setTimeout(() => {\n this.animated = false\n }, 500)\n }\n },\n computed: {\n classes () {\n return {\n 'icon-star-empty': !this.status.favorited,\n 'icon-star': this.status.favorited,\n 'animate-spin': this.animated\n }\n }\n }\n}\n\nexport default FavoriteButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/favorite_button/favorite_button.js","const FeaturesPanel = {\n computed: {\n chat: function () {\n return this.$store.state.instance.chatAvailable && (!this.$store.state.chatDisabled)\n },\n gopher: function () { return this.$store.state.instance.gopherAvailable },\n whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },\n mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },\n minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },\n textlimit: function () { return this.$store.state.instance.textlimit }\n }\n}\n\nexport default FeaturesPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/features_panel/features_panel.js","import BasicUserCard from '../basic_user_card/basic_user_card.vue'\nimport RemoteFollow from '../remote_follow/remote_follow.vue'\nimport { requestFollow, requestUnfollow } from '../../services/follow_manipulate/follow_manipulate'\n\nconst FollowCard = {\n props: [\n 'user',\n 'noFollowsYou'\n ],\n data () {\n return {\n inProgress: false,\n requestSent: false\n }\n },\n components: {\n BasicUserCard,\n RemoteFollow\n },\n computed: {\n isMe () {\n return this.$store.state.users.currentUser.id === this.user.id\n },\n loggedIn () {\n return this.$store.state.users.currentUser\n }\n },\n methods: {\n followUser () {\n this.inProgress = true\n requestFollow(this.user, this.$store).then(({ sent }) => {\n this.inProgress = false\n this.requestSent = sent\n })\n },\n unfollowUser () {\n this.inProgress = true\n requestUnfollow(this.user, this.$store).then(() => {\n this.inProgress = false\n })\n }\n }\n}\n\nexport default FollowCard\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/follow_card/follow_card.js","import BasicUserCard from '../basic_user_card/basic_user_card.vue'\n\nconst FollowRequestCard = {\n props: ['user'],\n components: {\n BasicUserCard\n },\n methods: {\n approveUser () {\n this.$store.state.api.backendInteractor.approveUser(this.user.id)\n this.$store.dispatch('removeFollowRequest', this.user)\n },\n denyUser () {\n this.$store.state.api.backendInteractor.denyUser(this.user.id)\n this.$store.dispatch('removeFollowRequest', this.user)\n }\n }\n}\n\nexport default FollowRequestCard\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/follow_request_card/follow_request_card.js","import FollowRequestCard from '../follow_request_card/follow_request_card.vue'\n\nconst FollowRequests = {\n components: {\n FollowRequestCard\n },\n computed: {\n requests () {\n return this.$store.state.api.followRequests\n }\n }\n}\n\nexport default FollowRequests\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/follow_requests/follow_requests.js","import { set } from 'vue'\n\nexport default {\n props: [\n 'name', 'label', 'value', 'fallback', 'options', 'no-inherit'\n ],\n data () {\n return {\n lValue: this.value,\n availableOptions: [\n this.noInherit ? '' : 'inherit',\n 'custom',\n ...(this.options || []),\n 'serif',\n 'monospace',\n 'sans-serif'\n ].filter(_ => _)\n }\n },\n beforeUpdate () {\n this.lValue = this.value\n },\n computed: {\n present () {\n return typeof this.lValue !== 'undefined'\n },\n dValue () {\n return this.lValue || this.fallback || {}\n },\n family: {\n get () {\n return this.dValue.family\n },\n set (v) {\n set(this.lValue, 'family', v)\n this.$emit('input', this.lValue)\n }\n },\n isCustom () {\n return this.preset === 'custom'\n },\n preset: {\n get () {\n if (this.family === 'serif' ||\n this.family === 'sans-serif' ||\n this.family === 'monospace' ||\n this.family === 'inherit') {\n return this.family\n } else {\n return 'custom'\n }\n },\n set (v) {\n this.family = v === 'custom' ? '' : v\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/font_control/font_control.js","import Timeline from '../timeline/timeline.vue'\nconst FriendsTimeline = {\n components: {\n Timeline\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.friends }\n }\n}\n\nexport default FriendsTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/friends_timeline/friends_timeline.js","import Attachment from '../attachment/attachment.vue'\nimport { chunk, last, dropRight } from 'lodash'\n\nconst Gallery = {\n data: () => ({\n width: 500\n }),\n props: [\n 'attachments',\n 'nsfw',\n 'setMedia'\n ],\n components: { Attachment },\n mounted () {\n this.resize()\n window.addEventListener('resize', this.resize)\n },\n destroyed () {\n window.removeEventListener('resize', this.resize)\n },\n computed: {\n rows () {\n if (!this.attachments) {\n return []\n }\n const rows = chunk(this.attachments, 3)\n if (last(rows).length === 1 && rows.length > 1) {\n // if 1 attachment on last row -> add it to the previous row instead\n const lastAttachment = last(rows)[0]\n const allButLastRow = dropRight(rows)\n last(allButLastRow).push(lastAttachment)\n return allButLastRow\n }\n return rows\n },\n rowHeight () {\n return itemsPerRow => ({ 'height': `${(this.width / (itemsPerRow + 0.6))}px` })\n },\n useContainFit () {\n return this.$store.state.config.useContainFit\n }\n },\n methods: {\n resize () {\n // Quick optimization to make resizing not always trigger state change,\n // only update attachment size in 10px steps\n const width = Math.floor(this.$el.getBoundingClientRect().width / 10) * 10\n if (this.width !== width) {\n this.width = width\n }\n }\n }\n}\n\nexport default Gallery\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/gallery/gallery.js","import Cropper from 'cropperjs'\nimport 'cropperjs/dist/cropper.css'\n\nconst ImageCropper = {\n props: {\n trigger: {\n type: [String, window.Element],\n required: true\n },\n submitHandler: {\n type: Function,\n required: true\n },\n cropperOptions: {\n type: Object,\n default () {\n return {\n aspectRatio: 1,\n autoCropArea: 1,\n viewMode: 1,\n movable: false,\n zoomable: false,\n guides: false\n }\n }\n },\n mimes: {\n type: String,\n default: 'image/png, image/gif, image/jpeg, image/bmp, image/x-icon'\n },\n saveButtonLabel: {\n type: String\n },\n saveWithoutCroppingButtonlabel: {\n type: String\n },\n cancelButtonLabel: {\n type: String\n }\n },\n data () {\n return {\n cropper: undefined,\n dataUrl: undefined,\n filename: undefined,\n submitting: false,\n submitError: null\n }\n },\n computed: {\n saveText () {\n return this.saveButtonLabel || this.$t('image_cropper.save')\n },\n saveWithoutCroppingText () {\n return this.saveWithoutCroppingButtonlabel || this.$t('image_cropper.save_without_cropping')\n },\n cancelText () {\n return this.cancelButtonLabel || this.$t('image_cropper.cancel')\n },\n submitErrorMsg () {\n return this.submitError && this.submitError instanceof Error ? this.submitError.toString() : this.submitError\n }\n },\n methods: {\n destroy () {\n if (this.cropper) {\n this.cropper.destroy()\n }\n this.$refs.input.value = ''\n this.dataUrl = undefined\n this.$emit('close')\n },\n submit () {\n this.submitting = true\n this.avatarUploadError = null\n this.submitHandler(this.cropper, this.file)\n .then(() => this.destroy())\n .catch((err) => {\n this.submitError = err\n })\n .finally(() => {\n this.submitting = false\n })\n },\n submitWithoutCropping () {\n this.submitting = true\n this.avatarUploadError = null\n this.submitHandler(false, this.dataUrl)\n .then(() => this.destroy())\n .catch((err) => {\n this.submitError = err\n })\n .finally(() => {\n this.submitting = false\n })\n },\n pickImage () {\n this.$refs.input.click()\n },\n createCropper () {\n this.cropper = new Cropper(this.$refs.img, this.cropperOptions)\n },\n getTriggerDOM () {\n return typeof this.trigger === 'object' ? this.trigger : document.querySelector(this.trigger)\n },\n readFile () {\n const fileInput = this.$refs.input\n if (fileInput.files != null && fileInput.files[0] != null) {\n this.file = fileInput.files[0]\n let reader = new window.FileReader()\n reader.onload = (e) => {\n this.dataUrl = e.target.result\n this.$emit('open')\n }\n reader.readAsDataURL(this.file)\n this.$emit('changed', this.file, reader)\n }\n },\n clearError () {\n this.submitError = null\n }\n },\n mounted () {\n // listen for click event on trigger\n const trigger = this.getTriggerDOM()\n if (!trigger) {\n this.$emit('error', 'No image make trigger found.', 'user')\n } else {\n trigger.addEventListener('click', this.pickImage)\n }\n // listen for input file changes\n const fileInput = this.$refs.input\n fileInput.addEventListener('change', this.readFile)\n },\n beforeDestroy: function () {\n // remove the event listeners\n const trigger = this.getTriggerDOM()\n if (trigger) {\n trigger.removeEventListener('click', this.pickImage)\n }\n const fileInput = this.$refs.input\n fileInput.removeEventListener('change', this.readFile)\n }\n}\n\nexport default ImageCropper\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/image_cropper/image_cropper.js","const InstanceSpecificPanel = {\n computed: {\n instanceSpecificPanelContent () {\n return this.$store.state.instance.instanceSpecificPanelContent\n },\n show () {\n return !this.$store.state.config.hideISP\n }\n }\n}\n\nexport default InstanceSpecificPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/instance_specific_panel/instance_specific_panel.js","const LinkPreview = {\n name: 'LinkPreview',\n props: [\n 'card',\n 'size',\n 'nsfw'\n ],\n computed: {\n useImage () {\n // Currently BE shoudn't give cards if tagged NSFW, this is a bit paranoid\n // as it makes sure to hide the image if somehow NSFW tagged preview can\n // exist.\n return this.card.image && !this.nsfw && this.size !== 'hide'\n },\n useDescription () {\n return this.card.description && /\\S/.test(this.card.description)\n }\n }\n}\n\nexport default LinkPreview\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/link-preview/link-preview.js","import oauthApi from '../../services/new_api/oauth.js'\nconst LoginForm = {\n data: () => ({\n user: {},\n authError: false\n }),\n computed: {\n loginMethod () { return this.$store.state.instance.loginMethod },\n loggingIn () { return this.$store.state.users.loggingIn },\n registrationOpen () { return this.$store.state.instance.registrationOpen }\n },\n methods: {\n oAuthLogin () {\n oauthApi.login({\n oauth: this.$store.state.oauth,\n instance: this.$store.state.instance.server,\n commit: this.$store.commit\n })\n },\n submit () {\n const data = {\n oauth: this.$store.state.oauth,\n instance: this.$store.state.instance.server\n }\n this.clearError()\n oauthApi.getOrCreateApp(data).then((app) => {\n oauthApi.getTokenWithCredentials(\n {\n app,\n instance: data.instance,\n username: this.user.username,\n password: this.user.password\n }\n ).then(async (result) => {\n if (result.error) {\n this.authError = result.error\n this.user.password = ''\n return\n }\n this.$store.commit('setToken', result.access_token)\n try {\n await this.$store.dispatch('loginUser', result.access_token)\n this.$router.push({name: 'friends'})\n } catch (e) {\n console.log(e)\n }\n })\n })\n },\n clearError () {\n this.authError = false\n }\n }\n}\n\nexport default LoginForm\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/login_form/login_form.js","import StillImage from '../still-image/still-image.vue'\nimport VideoAttachment from '../video_attachment/video_attachment.vue'\nimport fileTypeService from '../../services/file_type/file_type.service.js'\n\nconst MediaModal = {\n components: {\n StillImage,\n VideoAttachment\n },\n computed: {\n showing () {\n return this.$store.state.mediaViewer.activated\n },\n media () {\n return this.$store.state.mediaViewer.media\n },\n currentIndex () {\n return this.$store.state.mediaViewer.currentIndex\n },\n currentMedia () {\n return this.media[this.currentIndex]\n },\n canNavigate () {\n return this.media.length > 1\n },\n type () {\n return this.currentMedia ? fileTypeService.fileType(this.currentMedia.mimetype) : null\n }\n },\n methods: {\n hide () {\n this.$store.dispatch('closeMediaViewer')\n },\n goPrev () {\n if (this.canNavigate) {\n const prevIndex = this.currentIndex === 0 ? this.media.length - 1 : (this.currentIndex - 1)\n this.$store.dispatch('setCurrent', this.media[prevIndex])\n }\n },\n goNext () {\n if (this.canNavigate) {\n const nextIndex = this.currentIndex === this.media.length - 1 ? 0 : (this.currentIndex + 1)\n this.$store.dispatch('setCurrent', this.media[nextIndex])\n }\n },\n handleKeyupEvent (e) {\n if (this.showing && e.keyCode === 27) { // escape\n this.hide()\n }\n },\n handleKeydownEvent (e) {\n if (!this.showing) {\n return\n }\n\n if (e.keyCode === 39) { // arrow right\n this.goNext()\n } else if (e.keyCode === 37) { // arrow left\n this.goPrev()\n }\n }\n },\n mounted () {\n document.addEventListener('keyup', this.handleKeyupEvent)\n document.addEventListener('keydown', this.handleKeydownEvent)\n },\n destroyed () {\n document.removeEventListener('keyup', this.handleKeyupEvent)\n document.removeEventListener('keydown', this.handleKeydownEvent)\n }\n}\n\nexport default MediaModal\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/media_modal/media_modal.js","/* eslint-env browser */\nimport statusPosterService from '../../services/status_poster/status_poster.service.js'\nimport fileSizeFormatService from '../../services/file_size_format/file_size_format.js'\n\nconst mediaUpload = {\n data () {\n return {\n uploading: false,\n uploadReady: true\n }\n },\n methods: {\n uploadFile (file) {\n const self = this\n const store = this.$store\n if (file.size > store.state.instance.uploadlimit) {\n const filesize = fileSizeFormatService.fileSizeFormat(file.size)\n const allowedsize = fileSizeFormatService.fileSizeFormat(store.state.instance.uploadlimit)\n self.$emit('upload-failed', 'file_too_big', {filesize: filesize.num, filesizeunit: filesize.unit, allowedsize: allowedsize.num, allowedsizeunit: allowedsize.unit})\n return\n }\n const formData = new FormData()\n formData.append('file', file)\n\n self.$emit('uploading')\n self.uploading = true\n\n statusPosterService.uploadMedia({ store, formData })\n .then((fileData) => {\n self.$emit('uploaded', fileData)\n self.uploading = false\n }, (error) => { // eslint-disable-line handle-callback-err\n self.$emit('upload-failed', 'default')\n self.uploading = false\n })\n },\n fileDrop (e) {\n if (e.dataTransfer.files.length > 0) {\n e.preventDefault() // allow dropping text like before\n this.uploadFile(e.dataTransfer.files[0])\n }\n },\n fileDrag (e) {\n let types = e.dataTransfer.types\n if (types.contains('Files')) {\n e.dataTransfer.dropEffect = 'copy'\n } else {\n e.dataTransfer.dropEffect = 'none'\n }\n },\n clearFile () {\n this.uploadReady = false\n this.$nextTick(() => {\n this.uploadReady = true\n })\n },\n change ({target}) {\n for (var i = 0; i < target.files.length; i++) {\n let file = target.files[i]\n this.uploadFile(file)\n }\n }\n },\n props: [\n 'dropFiles'\n ],\n watch: {\n 'dropFiles': function (fileInfos) {\n if (!this.uploading) {\n this.uploadFile(fileInfos[0])\n }\n }\n }\n}\n\nexport default mediaUpload\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/media_upload/media_upload.js","import Timeline from '../timeline/timeline.vue'\n\nconst Mentions = {\n computed: {\n timeline () {\n return this.$store.state.statuses.timelines.mentions\n }\n },\n components: {\n Timeline\n }\n}\n\nexport default Mentions\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/mentions/mentions.js","import SideDrawer from '../side_drawer/side_drawer.vue'\nimport Notifications from '../notifications/notifications.vue'\nimport MobilePostStatusModal from '../mobile_post_status_modal/mobile_post_status_modal.vue'\nimport { unseenNotificationsFromStore } from '../../services/notification_utils/notification_utils'\nimport GestureService from '../../services/gesture_service/gesture_service'\n\nconst MobileNav = {\n components: {\n SideDrawer,\n Notifications,\n MobilePostStatusModal\n },\n data: () => ({\n notificationsCloseGesture: undefined,\n notificationsOpen: false\n }),\n created () {\n this.notificationsCloseGesture = GestureService.swipeGesture(\n GestureService.DIRECTION_RIGHT,\n this.closeMobileNotifications,\n 50\n )\n },\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n },\n unseenNotifications () {\n return unseenNotificationsFromStore(this.$store)\n },\n unseenNotificationsCount () {\n return this.unseenNotifications.length\n },\n sitename () { return this.$store.state.instance.name }\n },\n methods: {\n toggleMobileSidebar () {\n this.$refs.sideDrawer.toggleDrawer()\n },\n openMobileNotifications () {\n this.notificationsOpen = true\n },\n closeMobileNotifications () {\n if (this.notificationsOpen) {\n // make sure to mark notifs seen only when the notifs were open and not\n // from close-calls.\n this.notificationsOpen = false\n this.markNotificationsAsSeen()\n }\n },\n notificationsTouchStart (e) {\n GestureService.beginSwipe(e, this.notificationsCloseGesture)\n },\n notificationsTouchMove (e) {\n GestureService.updateSwipe(e, this.notificationsCloseGesture)\n },\n scrollToTop () {\n window.scrollTo(0, 0)\n },\n logout () {\n this.$router.replace('/main/public')\n this.$store.dispatch('logout')\n },\n markNotificationsAsSeen () {\n this.$refs.notifications.markAsSeen()\n }\n },\n watch: {\n $route () {\n // handles closing notificaitons when you press any router-link on the\n // notifications.\n this.closeMobileNotifications()\n }\n }\n}\n\nexport default MobileNav\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/mobile_nav/mobile_nav.js","import PostStatusForm from '../post_status_form/post_status_form.vue'\nimport { throttle } from 'lodash'\n\nconst MobilePostStatusModal = {\n components: {\n PostStatusForm\n },\n data () {\n return {\n hidden: false,\n postFormOpen: false,\n scrollingDown: false,\n inputActive: false,\n oldScrollPos: 0,\n amountScrolled: 0\n }\n },\n created () {\n window.addEventListener('scroll', this.handleScroll)\n window.addEventListener('resize', this.handleOSK)\n },\n destroyed () {\n window.removeEventListener('scroll', this.handleScroll)\n window.removeEventListener('resize', this.handleOSK)\n },\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n },\n isHidden () {\n return this.hidden || this.inputActive\n }\n },\n methods: {\n openPostForm () {\n this.postFormOpen = true\n this.hidden = true\n\n const el = this.$el.querySelector('textarea')\n this.$nextTick(function () {\n el.focus()\n })\n },\n closePostForm () {\n this.postFormOpen = false\n this.hidden = false\n },\n handleOSK () {\n // This is a big hack: we're guessing from changed window sizes if the\n // on-screen keyboard is active or not. This is only really important\n // for phones in portrait mode and it's more important to show the button\n // in normal scenarios on all phones, than it is to hide it when the\n // keyboard is active.\n // Guesswork based on https://www.mydevice.io/#compare-devices\n\n // for example, iphone 4 and android phones from the same time period\n const smallPhone = window.innerWidth < 350\n const smallPhoneKbOpen = smallPhone && window.innerHeight < 345\n\n const biggerPhone = !smallPhone && window.innerWidth < 450\n const biggerPhoneKbOpen = biggerPhone && window.innerHeight < 560\n if (smallPhoneKbOpen || biggerPhoneKbOpen) {\n this.inputActive = true\n } else {\n this.inputActive = false\n }\n },\n handleScroll: throttle(function () {\n const scrollAmount = window.scrollY - this.oldScrollPos\n const scrollingDown = scrollAmount > 0\n\n if (scrollingDown !== this.scrollingDown) {\n this.amountScrolled = 0\n this.scrollingDown = scrollingDown\n if (!scrollingDown) {\n this.hidden = false\n }\n } else if (scrollingDown) {\n this.amountScrolled += scrollAmount\n if (this.amountScrolled > 100 && !this.hidden) {\n this.hidden = true\n }\n }\n\n this.oldScrollPos = window.scrollY\n this.scrollingDown = scrollingDown\n }, 100)\n }\n}\n\nexport default MobilePostStatusModal\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/mobile_post_status_modal/mobile_post_status_modal.js","import DialogModal from '../dialog_modal/dialog_modal.vue'\nimport Popper from 'vue-popperjs/src/component/popper.js.vue'\n\nconst FORCE_NSFW = 'mrf_tag:media-force-nsfw'\nconst STRIP_MEDIA = 'mrf_tag:media-strip'\nconst FORCE_UNLISTED = 'mrf_tag:force-unlisted'\nconst DISABLE_REMOTE_SUBSCRIPTION = 'mrf_tag:disable-remote-subscription'\nconst DISABLE_ANY_SUBSCRIPTION = 'mrf_tag:disable-any-subscription'\nconst SANDBOX = 'mrf_tag:sandbox'\nconst QUARANTINE = 'mrf_tag:quarantine'\n\nconst ModerationTools = {\n props: [\n 'user'\n ],\n data () {\n return {\n showDropDown: false,\n tags: {\n FORCE_NSFW,\n STRIP_MEDIA,\n FORCE_UNLISTED,\n DISABLE_REMOTE_SUBSCRIPTION,\n DISABLE_ANY_SUBSCRIPTION,\n SANDBOX,\n QUARANTINE\n },\n showDeleteUserDialog: false\n }\n },\n components: {\n DialogModal,\n Popper\n },\n computed: {\n tagsSet () {\n return new Set(this.user.tags)\n },\n hasTagPolicy () {\n return this.$store.state.instance.tagPolicyAvailable\n }\n },\n methods: {\n toggleMenu () {\n this.showDropDown = !this.showDropDown\n },\n hasTag (tagName) {\n return this.tagsSet.has(tagName)\n },\n toggleTag (tag) {\n const store = this.$store\n if (this.tagsSet.has(tag)) {\n store.state.api.backendInteractor.untagUser(this.user, tag).then(response => {\n if (!response.ok) { return }\n store.commit('untagUser', {user: this.user, tag})\n })\n } else {\n store.state.api.backendInteractor.tagUser(this.user, tag).then(response => {\n if (!response.ok) { return }\n store.commit('tagUser', {user: this.user, tag})\n })\n }\n },\n toggleRight (right) {\n const store = this.$store\n if (this.user.rights[right]) {\n store.state.api.backendInteractor.deleteRight(this.user, right).then(response => {\n if (!response.ok) { return }\n store.commit('updateRight', {user: this.user, right: right, value: false})\n })\n } else {\n store.state.api.backendInteractor.addRight(this.user, right).then(response => {\n if (!response.ok) { return }\n store.commit('updateRight', {user: this.user, right: right, value: true})\n })\n }\n },\n toggleActivationStatus () {\n const store = this.$store\n const status = !!this.user.deactivated\n store.state.api.backendInteractor.setActivationStatus(this.user, status).then(response => {\n if (!response.ok) { return }\n store.commit('updateActivationStatus', {user: this.user, status: status})\n })\n },\n deleteUserDialog (show) {\n this.showDeleteUserDialog = show\n },\n deleteUser () {\n const store = this.$store\n const user = this.user\n const {id, name} = user\n store.state.api.backendInteractor.deleteUser(user)\n .then(e => {\n this.$store.dispatch('markStatusesAsDeleted', status => user.id === status.user.id)\n const isProfile = this.$route.name === 'external-user-profile' || this.$route.name === 'user-profile'\n const isTargetUser = this.$route.params.name === name || this.$route.params.id === id\n if (isProfile && isTargetUser) {\n window.history.back()\n }\n })\n }\n }\n}\n\nexport default ModerationTools\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/moderation_tools/moderation_tools.js","import BasicUserCard from '../basic_user_card/basic_user_card.vue'\n\nconst MuteCard = {\n props: ['userId'],\n data () {\n return {\n progress: false\n }\n },\n computed: {\n user () {\n return this.$store.getters.findUser(this.userId)\n },\n muted () {\n return this.user.muted\n }\n },\n components: {\n BasicUserCard\n },\n methods: {\n unmuteUser () {\n this.progress = true\n this.$store.dispatch('unmuteUser', this.user.id).then(() => {\n this.progress = false\n })\n },\n muteUser () {\n this.progress = true\n this.$store.dispatch('muteUser', this.user.id).then(() => {\n this.progress = false\n })\n }\n }\n}\n\nexport default MuteCard\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/mute_card/mute_card.js","import followRequestFetcher from '../../services/follow_request_fetcher/follow_request_fetcher.service'\n\nconst NavPanel = {\n created () {\n if (this.currentUser && this.currentUser.locked) {\n const store = this.$store\n const credentials = store.state.users.currentUser.credentials\n\n followRequestFetcher.startFetching({ store, credentials })\n }\n },\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n },\n chat () {\n return this.$store.state.chat.channel\n },\n followRequestCount () {\n return this.$store.state.api.followRequests.length\n }\n }\n}\n\nexport default NavPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/nav_panel/nav_panel.js","import Status from '../status/status.vue'\nimport UserAvatar from '../user_avatar/user_avatar.vue'\nimport UserCard from '../user_card/user_card.vue'\nimport { highlightClass, highlightStyle } from '../../services/user_highlighter/user_highlighter.js'\nimport generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'\n\nconst Notification = {\n data () {\n return {\n userExpanded: false,\n betterShadow: this.$store.state.interface.browserSupport.cssFilter\n }\n },\n props: [ 'notification' ],\n components: {\n Status, UserAvatar, UserCard\n },\n methods: {\n toggleUserExpanded () {\n this.userExpanded = !this.userExpanded\n },\n userProfileLink (user) {\n return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames)\n },\n getUser (notification) {\n return this.$store.state.users.usersObject[notification.from_profile.id]\n }\n },\n computed: {\n userClass () {\n return highlightClass(this.notification.from_profile)\n },\n userStyle () {\n const highlight = this.$store.state.config.highlight\n const user = this.notification.from_profile\n return highlightStyle(highlight[user.screen_name])\n },\n userInStore () {\n return this.$store.getters.findUser(this.notification.from_profile.id)\n },\n user () {\n if (this.userInStore) {\n return this.userInStore\n }\n return this.notification.from_profile\n }\n }\n}\n\nexport default Notification\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/notification/notification.js","import Notification from '../notification/notification.vue'\nimport notificationsFetcher from '../../services/notifications_fetcher/notifications_fetcher.service.js'\nimport {\n notificationsFromStore,\n visibleNotificationsFromStore,\n unseenNotificationsFromStore\n} from '../../services/notification_utils/notification_utils.js'\n\nconst Notifications = {\n props: [\n 'noHeading'\n ],\n data () {\n return {\n bottomedOut: false\n }\n },\n computed: {\n notifications () {\n return notificationsFromStore(this.$store)\n },\n error () {\n return this.$store.state.statuses.notifications.error\n },\n unseenNotifications () {\n return unseenNotificationsFromStore(this.$store)\n },\n visibleNotifications () {\n return visibleNotificationsFromStore(this.$store)\n },\n unseenCount () {\n return this.unseenNotifications.length\n },\n loading () {\n return this.$store.state.statuses.notifications.loading\n }\n },\n components: {\n Notification\n },\n watch: {\n unseenCount (count) {\n if (count > 0) {\n this.$store.dispatch('setPageTitle', `(${count})`)\n } else {\n this.$store.dispatch('setPageTitle', '')\n }\n }\n },\n methods: {\n markAsSeen () {\n this.$store.dispatch('markNotificationsAsSeen')\n },\n fetchOlderNotifications () {\n const store = this.$store\n const credentials = store.state.users.currentUser.credentials\n store.commit('setNotificationsLoading', { value: true })\n notificationsFetcher.fetchAndUpdate({\n store,\n credentials,\n older: true\n }).then(notifs => {\n store.commit('setNotificationsLoading', { value: false })\n if (notifs.length === 0) {\n this.bottomedOut = true\n }\n })\n }\n }\n}\n\nexport default Notifications\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/notifications/notifications.js","import oauth from '../../services/new_api/oauth.js'\n\nconst oac = {\n props: ['code'],\n mounted () {\n if (this.code) {\n oauth.getToken({\n app: this.$store.state.oauth,\n instance: this.$store.state.instance.server,\n code: this.code\n }).then((result) => {\n this.$store.commit('setToken', result.access_token)\n this.$store.dispatch('loginUser', result.access_token)\n this.$router.push({name: 'friends'})\n })\n }\n }\n}\n\nexport default oac\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/oauth_callback/oauth_callback.js","import statusPoster from '../../services/status_poster/status_poster.service.js'\nimport MediaUpload from '../media_upload/media_upload.vue'\nimport ScopeSelector from '../scope_selector/scope_selector.vue'\nimport EmojiInput from '../emoji-input/emoji-input.vue'\nimport fileTypeService from '../../services/file_type/file_type.service.js'\nimport Completion from '../../services/completion/completion.js'\nimport { take, filter, reject, map, uniqBy } from 'lodash'\n\nconst buildMentionsString = ({user, attentions}, currentUser) => {\n let allAttentions = [...attentions]\n\n allAttentions.unshift(user)\n\n allAttentions = uniqBy(allAttentions, 'id')\n allAttentions = reject(allAttentions, {id: currentUser.id})\n\n let mentions = map(allAttentions, (attention) => {\n return `@${attention.screen_name}`\n })\n\n return mentions.length > 0 ? mentions.join(' ') + ' ' : ''\n}\n\nconst PostStatusForm = {\n props: [\n 'replyTo',\n 'repliedUser',\n 'attentions',\n 'copyMessageScope',\n 'subject'\n ],\n components: {\n MediaUpload,\n ScopeSelector,\n EmojiInput\n },\n mounted () {\n this.resize(this.$refs.textarea)\n const textLength = this.$refs.textarea.value.length\n this.$refs.textarea.setSelectionRange(textLength, textLength)\n\n if (this.replyTo) {\n this.$refs.textarea.focus()\n }\n },\n data () {\n const preset = this.$route.query.message\n let statusText = preset || ''\n\n const scopeCopy = typeof this.$store.state.config.scopeCopy === 'undefined'\n ? this.$store.state.instance.scopeCopy\n : this.$store.state.config.scopeCopy\n\n if (this.replyTo) {\n const currentUser = this.$store.state.users.currentUser\n statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser)\n }\n\n const scope = (this.copyMessageScope && scopeCopy || this.copyMessageScope === 'direct')\n ? this.copyMessageScope\n : this.$store.state.users.currentUser.default_scope\n\n const contentType = typeof this.$store.state.config.postContentType === 'undefined'\n ? this.$store.state.instance.postContentType\n : this.$store.state.config.postContentType\n\n return {\n dropFiles: [],\n submitDisabled: false,\n error: null,\n posting: false,\n highlighted: 0,\n newStatus: {\n spoilerText: this.subject || '',\n status: statusText,\n nsfw: false,\n files: [],\n visibility: scope,\n contentType\n },\n caret: 0\n }\n },\n computed: {\n candidates () {\n const firstchar = this.textAtCaret.charAt(0)\n if (firstchar === '@') {\n const query = this.textAtCaret.slice(1).toUpperCase()\n const matchedUsers = filter(this.users, (user) => {\n return user.screen_name.toUpperCase().startsWith(query) ||\n user.name && user.name.toUpperCase().startsWith(query)\n })\n if (matchedUsers.length <= 0) {\n return false\n }\n // eslint-disable-next-line camelcase\n return map(take(matchedUsers, 5), ({screen_name, name, profile_image_url_original}, index) => ({\n // eslint-disable-next-line camelcase\n screen_name: `@${screen_name}`,\n name: name,\n img: profile_image_url_original,\n highlighted: index === this.highlighted\n }))\n } else if (firstchar === ':') {\n if (this.textAtCaret === ':') { return }\n const matchedEmoji = filter(this.emoji.concat(this.customEmoji), (emoji) => emoji.shortcode.startsWith(this.textAtCaret.slice(1)))\n if (matchedEmoji.length <= 0) {\n return false\n }\n return map(take(matchedEmoji, 5), ({shortcode, image_url, utf}, index) => ({\n screen_name: `:${shortcode}:`,\n name: '',\n utf: utf || '',\n // eslint-disable-next-line camelcase\n img: utf ? '' : this.$store.state.instance.server + image_url,\n highlighted: index === this.highlighted\n }))\n } else {\n return false\n }\n },\n textAtCaret () {\n return (this.wordAtCaret || {}).word || ''\n },\n wordAtCaret () {\n const word = Completion.wordAtPosition(this.newStatus.status, this.caret - 1) || {}\n return word\n },\n users () {\n return this.$store.state.users.users\n },\n userDefaultScope () {\n return this.$store.state.users.currentUser.default_scope\n },\n showAllScopes () {\n const minimalScopesMode = typeof this.$store.state.config.minimalScopesMode === 'undefined'\n ? this.$store.state.instance.minimalScopesMode\n : this.$store.state.config.minimalScopesMode\n return !minimalScopesMode\n },\n emoji () {\n return this.$store.state.instance.emoji || []\n },\n customEmoji () {\n return this.$store.state.instance.customEmoji || []\n },\n statusLength () {\n return this.newStatus.status.length\n },\n spoilerTextLength () {\n return this.newStatus.spoilerText.length\n },\n statusLengthLimit () {\n return this.$store.state.instance.textlimit\n },\n hasStatusLengthLimit () {\n return this.statusLengthLimit > 0\n },\n charactersLeft () {\n return this.statusLengthLimit - (this.statusLength + this.spoilerTextLength)\n },\n isOverLengthLimit () {\n return this.hasStatusLengthLimit && (this.charactersLeft < 0)\n },\n minimalScopesMode () {\n return this.$store.state.instance.minimalScopesMode\n },\n alwaysShowSubject () {\n if (typeof this.$store.state.config.alwaysShowSubjectInput !== 'undefined') {\n return this.$store.state.config.alwaysShowSubjectInput\n } else if (typeof this.$store.state.instance.alwaysShowSubjectInput !== 'undefined') {\n return this.$store.state.instance.alwaysShowSubjectInput\n } else {\n return true\n }\n },\n formattingOptionsEnabled () {\n return this.$store.state.instance.formattingOptionsEnabled\n },\n postFormats () {\n return this.$store.state.instance.postFormats || []\n },\n safeDMEnabled () {\n return this.$store.state.instance.safeDM\n }\n },\n methods: {\n replace (replacement) {\n this.newStatus.status = Completion.replaceWord(this.newStatus.status, this.wordAtCaret, replacement)\n const el = this.$el.querySelector('textarea')\n el.focus()\n this.caret = 0\n },\n replaceCandidate (e) {\n const len = this.candidates.length || 0\n if (this.textAtCaret === ':' || e.ctrlKey) { return }\n if (len > 0) {\n e.preventDefault()\n const candidate = this.candidates[this.highlighted]\n const replacement = candidate.utf || (candidate.screen_name + ' ')\n this.newStatus.status = Completion.replaceWord(this.newStatus.status, this.wordAtCaret, replacement)\n const el = this.$el.querySelector('textarea')\n el.focus()\n this.caret = 0\n this.highlighted = 0\n }\n },\n cycleBackward (e) {\n const len = this.candidates.length || 0\n if (len > 0) {\n e.preventDefault()\n this.highlighted -= 1\n if (this.highlighted < 0) {\n this.highlighted = this.candidates.length - 1\n }\n } else {\n this.highlighted = 0\n }\n },\n cycleForward (e) {\n const len = this.candidates.length || 0\n if (len > 0) {\n if (e.shiftKey) { return }\n e.preventDefault()\n this.highlighted += 1\n if (this.highlighted >= len) {\n this.highlighted = 0\n }\n } else {\n this.highlighted = 0\n }\n },\n onKeydown (e) {\n e.stopPropagation()\n },\n setCaret ({target: {selectionStart}}) {\n this.caret = selectionStart\n },\n postStatus (newStatus) {\n if (this.posting) { return }\n if (this.submitDisabled) { return }\n\n if (this.newStatus.status === '') {\n if (this.newStatus.files.length > 0) {\n this.newStatus.status = '\\u200b' // hack\n } else {\n this.error = 'Cannot post an empty status with no files'\n return\n }\n }\n\n this.posting = true\n statusPoster.postStatus({\n status: newStatus.status,\n spoilerText: newStatus.spoilerText || null,\n visibility: newStatus.visibility,\n sensitive: newStatus.nsfw,\n media: newStatus.files,\n store: this.$store,\n inReplyToStatusId: this.replyTo,\n contentType: newStatus.contentType\n }).then((data) => {\n if (!data.error) {\n this.newStatus = {\n status: '',\n spoilerText: '',\n files: [],\n visibility: newStatus.visibility,\n contentType: newStatus.contentType\n }\n this.$refs.mediaUpload.clearFile()\n this.$emit('posted')\n let el = this.$el.querySelector('textarea')\n el.style.height = 'auto'\n el.style.height = undefined\n this.error = null\n } else {\n this.error = data.error\n }\n this.posting = false\n })\n },\n addMediaFile (fileInfo) {\n this.newStatus.files.push(fileInfo)\n this.enableSubmit()\n },\n removeMediaFile (fileInfo) {\n let index = this.newStatus.files.indexOf(fileInfo)\n this.newStatus.files.splice(index, 1)\n },\n uploadFailed (errString, templateArgs) {\n templateArgs = templateArgs || {}\n this.error = this.$t('upload.error.base') + ' ' + this.$t('upload.error.' + errString, templateArgs)\n this.enableSubmit()\n },\n disableSubmit () {\n this.submitDisabled = true\n },\n enableSubmit () {\n this.submitDisabled = false\n },\n type (fileInfo) {\n return fileTypeService.fileType(fileInfo.mimetype)\n },\n paste (e) {\n if (e.clipboardData.files.length > 0) {\n // prevent pasting of file as text\n e.preventDefault()\n // Strangely, files property gets emptied after event propagation\n // Trying to wrap it in array doesn't work. Plus I doubt it's possible\n // to hold more than one file in clipboard.\n this.dropFiles = [e.clipboardData.files[0]]\n }\n },\n fileDrop (e) {\n if (e.dataTransfer.files.length > 0) {\n e.preventDefault() // allow dropping text like before\n this.dropFiles = e.dataTransfer.files\n }\n },\n fileDrag (e) {\n e.dataTransfer.dropEffect = 'copy'\n },\n resize (e) {\n const target = e.target || e\n if (!(target instanceof window.Element)) { return }\n const vertPadding = Number(window.getComputedStyle(target)['padding-top'].substr(0, 1)) +\n Number(window.getComputedStyle(target)['padding-bottom'].substr(0, 1))\n // Auto is needed to make textbox shrink when removing lines\n target.style.height = 'auto'\n target.style.height = `${target.scrollHeight - vertPadding}px`\n if (target.value === '') {\n target.style.height = null\n }\n },\n clearError () {\n this.error = null\n },\n changeVis (visibility) {\n this.newStatus.visibility = visibility\n }\n }\n}\n\nexport default PostStatusForm\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/post_status_form/post_status_form.js","import Timeline from '../timeline/timeline.vue'\nconst PublicAndExternalTimeline = {\n components: {\n Timeline\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.publicAndExternal }\n },\n created () {\n this.$store.dispatch('startFetchingTimeline', { timeline: 'publicAndExternal' })\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'publicAndExternal')\n }\n}\n\nexport default PublicAndExternalTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/public_and_external_timeline/public_and_external_timeline.js","import Timeline from '../timeline/timeline.vue'\nconst PublicTimeline = {\n components: {\n Timeline\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.public }\n },\n created () {\n this.$store.dispatch('startFetchingTimeline', { timeline: 'public' })\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'public')\n }\n\n}\n\nexport default PublicTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/public_timeline/public_timeline.js","import { validationMixin } from 'vuelidate'\nimport { required, sameAs } from 'vuelidate/lib/validators'\nimport { mapActions, mapState } from 'vuex'\n\nconst registration = {\n mixins: [validationMixin],\n data: () => ({\n user: {\n email: '',\n fullname: '',\n username: '',\n password: '',\n confirm: ''\n },\n captcha: {}\n }),\n validations: {\n user: {\n email: { required },\n username: { required },\n fullname: { required },\n password: { required },\n confirm: {\n required,\n sameAsPassword: sameAs('password')\n }\n }\n },\n created () {\n if ((!this.registrationOpen && !this.token) || this.signedIn) {\n this.$router.push({name: 'root'})\n }\n\n this.setCaptcha()\n },\n computed: {\n token () { return this.$route.params.token },\n bioPlaceholder () {\n return this.$t('registration.bio_placeholder').replace(/\\s*\\n\\s*/g, ' \\n')\n },\n ...mapState({\n registrationOpen: (state) => state.instance.registrationOpen,\n signedIn: (state) => !!state.users.currentUser,\n isPending: (state) => state.users.signUpPending,\n serverValidationErrors: (state) => state.users.signUpErrors,\n termsOfService: (state) => state.instance.tos\n })\n },\n methods: {\n ...mapActions(['signUp', 'getCaptcha']),\n async submit () {\n this.user.nickname = this.user.username\n this.user.token = this.token\n\n this.user.captcha_solution = this.captcha.solution\n this.user.captcha_token = this.captcha.token\n this.user.captcha_answer_data = this.captcha.answer_data\n\n this.$v.$touch()\n\n if (!this.$v.$invalid) {\n try {\n await this.signUp(this.user)\n this.$router.push({name: 'friends'})\n } catch (error) {\n console.warn('Registration failed: ' + error)\n }\n }\n },\n setCaptcha () {\n this.getCaptcha().then(cpt => { this.captcha = cpt })\n }\n }\n}\n\nexport default registration\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/registration/registration.js","export default {\n props: [ 'user' ],\n computed: {\n subscribeUrl () {\n // eslint-disable-next-line no-undef\n const serverUrl = new URL(this.user.statusnet_profile_url)\n return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus`\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/remote_follow/remote_follow.js","const RetweetButton = {\n props: ['status', 'loggedIn', 'visibility'],\n data () {\n return {\n hidePostStatsLocal: typeof this.$store.state.config.hidePostStats === 'undefined'\n ? this.$store.state.instance.hidePostStats\n : this.$store.state.config.hidePostStats,\n animated: false\n }\n },\n methods: {\n retweet () {\n if (!this.status.repeated) {\n this.$store.dispatch('retweet', {id: this.status.id})\n } else {\n this.$store.dispatch('unretweet', {id: this.status.id})\n }\n this.animated = true\n setTimeout(() => {\n this.animated = false\n }, 500)\n }\n },\n computed: {\n classes () {\n return {\n 'retweeted': this.status.repeated,\n 'retweeted-empty': !this.status.repeated,\n 'animate-spin': this.animated\n }\n }\n }\n}\n\nexport default RetweetButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/retweet_button/retweet_button.js","const ScopeSelector = {\n props: [\n 'showAll',\n 'userDefault',\n 'originalScope',\n 'initialScope',\n 'onScopeChange'\n ],\n data () {\n return {\n currentScope: this.initialScope\n }\n },\n computed: {\n showNothing () {\n return !this.showPublic && !this.showUnlisted && !this.showPrivate && !this.showDirect\n },\n showPublic () {\n return this.originalScope !== 'direct' && this.shouldShow('public')\n },\n showUnlisted () {\n return this.originalScope !== 'direct' && this.shouldShow('unlisted')\n },\n showPrivate () {\n return this.originalScope !== 'direct' && this.shouldShow('private')\n },\n showDirect () {\n return this.shouldShow('direct')\n },\n css () {\n return {\n public: {selected: this.currentScope === 'public'},\n unlisted: {selected: this.currentScope === 'unlisted'},\n private: {selected: this.currentScope === 'private'},\n direct: {selected: this.currentScope === 'direct'}\n }\n }\n },\n methods: {\n shouldShow (scope) {\n return this.showAll ||\n this.currentScope === scope ||\n this.originalScope === scope ||\n this.userDefault === scope ||\n scope === 'direct'\n },\n changeVis (scope) {\n this.currentScope = scope\n this.onScopeChange && this.onScopeChange(scope)\n }\n }\n}\n\nexport default ScopeSelector\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/scope_selector/scope_selector.js","import List from '../list/list.vue'\nimport Checkbox from '../checkbox/checkbox.vue'\n\nconst SelectableList = {\n components: {\n List,\n Checkbox\n },\n props: {\n items: {\n type: Array,\n default: () => []\n },\n getKey: {\n type: Function,\n default: item => item.id\n }\n },\n data () {\n return {\n selected: []\n }\n },\n computed: {\n allKeys () {\n return this.items.map(this.getKey)\n },\n filteredSelected () {\n return this.allKeys.filter(key => this.selected.indexOf(key) !== -1)\n },\n allSelected () {\n return this.filteredSelected.length === this.items.length\n },\n noneSelected () {\n return this.filteredSelected.length === 0\n },\n someSelected () {\n return !this.allSelected && !this.noneSelected\n }\n },\n methods: {\n isSelected (item) {\n return this.filteredSelected.indexOf(this.getKey(item)) !== -1\n },\n toggle (checked, item) {\n const key = this.getKey(item)\n const oldChecked = this.isSelected(key)\n if (checked !== oldChecked) {\n if (checked) {\n this.selected.push(key)\n } else {\n this.selected.splice(this.selected.indexOf(key), 1)\n }\n }\n },\n toggleAll (value) {\n if (value) {\n this.selected = this.allKeys.slice(0)\n } else {\n this.selected = []\n }\n }\n }\n}\n\nexport default SelectableList\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/selectable_list/selectable_list.js","/* eslint-env browser */\nimport { filter, trim } from 'lodash'\n\nimport TabSwitcher from '../tab_switcher/tab_switcher.js'\nimport StyleSwitcher from '../style_switcher/style_switcher.vue'\nimport InterfaceLanguageSwitcher from '../interface_language_switcher/interface_language_switcher.vue'\nimport { extractCommit } from '../../services/version/version.service'\n\nconst pleromaFeCommitUrl = 'https://git.pleroma.social/pleroma/pleroma-fe/commit/'\nconst pleromaBeCommitUrl = 'https://git.pleroma.social/pleroma/pleroma/commit/'\n\nconst settings = {\n data () {\n const user = this.$store.state.config\n const instance = this.$store.state.instance\n\n return {\n hideAttachmentsLocal: user.hideAttachments,\n hideAttachmentsInConvLocal: user.hideAttachmentsInConv,\n maxThumbnails: user.maxThumbnails,\n hideNsfwLocal: user.hideNsfw,\n useOneClickNsfw: user.useOneClickNsfw,\n hideISPLocal: user.hideISP,\n preloadImage: user.preloadImage,\n\n hidePostStatsLocal: typeof user.hidePostStats === 'undefined'\n ? instance.hidePostStats\n : user.hidePostStats,\n hidePostStatsDefault: this.$t('settings.values.' + instance.hidePostStats),\n\n hideUserStatsLocal: typeof user.hideUserStats === 'undefined'\n ? instance.hideUserStats\n : user.hideUserStats,\n hideUserStatsDefault: this.$t('settings.values.' + instance.hideUserStats),\n\n hideFilteredStatusesLocal: typeof user.hideFilteredStatuses === 'undefined'\n ? instance.hideFilteredStatuses\n : user.hideFilteredStatuses,\n hideFilteredStatusesDefault: this.$t('settings.values.' + instance.hideFilteredStatuses),\n\n notificationVisibilityLocal: user.notificationVisibility,\n replyVisibilityLocal: user.replyVisibility,\n loopVideoLocal: user.loopVideo,\n muteWordsString: user.muteWords.join('\\n'),\n autoLoadLocal: user.autoLoad,\n streamingLocal: user.streaming,\n pauseOnUnfocusedLocal: user.pauseOnUnfocused,\n hoverPreviewLocal: user.hoverPreview,\n\n hideMutedPostsLocal: typeof user.hideMutedPosts === 'undefined'\n ? instance.hideMutedPosts\n : user.hideMutedPosts,\n hideMutedPostsDefault: this.$t('settings.values.' + instance.hideMutedPosts),\n\n collapseMessageWithSubjectLocal: typeof user.collapseMessageWithSubject === 'undefined'\n ? instance.collapseMessageWithSubject\n : user.collapseMessageWithSubject,\n collapseMessageWithSubjectDefault: this.$t('settings.values.' + instance.collapseMessageWithSubject),\n\n subjectLineBehaviorLocal: typeof user.subjectLineBehavior === 'undefined'\n ? instance.subjectLineBehavior\n : user.subjectLineBehavior,\n subjectLineBehaviorDefault: instance.subjectLineBehavior,\n\n postContentTypeLocal: typeof user.postContentType === 'undefined'\n ? instance.postContentType\n : user.postContentType,\n postContentTypeDefault: instance.postContentType,\n\n alwaysShowSubjectInputLocal: typeof user.alwaysShowSubjectInput === 'undefined'\n ? instance.alwaysShowSubjectInput\n : user.alwaysShowSubjectInput,\n alwaysShowSubjectInputDefault: this.$t('settings.values.' + instance.alwaysShowSubjectInput),\n\n scopeCopyLocal: typeof user.scopeCopy === 'undefined'\n ? instance.scopeCopy\n : user.scopeCopy,\n scopeCopyDefault: this.$t('settings.values.' + instance.scopeCopy),\n\n minimalScopesModeLocal: typeof user.minimalScopesMode === 'undefined'\n ? instance.minimalScopesMode\n : user.minimalScopesMode,\n minimalScopesModeDefault: this.$t('settings.values.' + instance.minimalScopesMode),\n\n stopGifs: user.stopGifs,\n webPushNotificationsLocal: user.webPushNotifications,\n loopVideoSilentOnlyLocal: user.loopVideosSilentOnly,\n loopSilentAvailable:\n // Firefox\n Object.getOwnPropertyDescriptor(HTMLVideoElement.prototype, 'mozHasAudio') ||\n // Chrome-likes\n Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'webkitAudioDecodedByteCount') ||\n // Future spec, still not supported in Nightly 63 as of 08/2018\n Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'audioTracks'),\n playVideosInModal: user.playVideosInModal,\n useContainFit: user.useContainFit,\n\n backendVersion: instance.backendVersion,\n frontendVersion: instance.frontendVersion\n }\n },\n components: {\n TabSwitcher,\n StyleSwitcher,\n InterfaceLanguageSwitcher\n },\n computed: {\n user () {\n return this.$store.state.users.currentUser\n },\n currentSaveStateNotice () {\n return this.$store.state.interface.settings.currentSaveStateNotice\n },\n postFormats () {\n return this.$store.state.instance.postFormats || []\n },\n instanceSpecificPanelPresent () { return this.$store.state.instance.showInstanceSpecificPanel },\n frontendVersionLink () {\n return pleromaFeCommitUrl + this.frontendVersion\n },\n backendVersionLink () {\n return pleromaBeCommitUrl + extractCommit(this.backendVersion)\n }\n },\n watch: {\n hideAttachmentsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideAttachments', value })\n },\n hideAttachmentsInConvLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideAttachmentsInConv', value })\n },\n hidePostStatsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hidePostStats', value })\n },\n hideUserStatsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideUserStats', value })\n },\n hideFilteredStatusesLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideFilteredStatuses', value })\n },\n hideNsfwLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideNsfw', value })\n },\n useOneClickNsfw (value) {\n this.$store.dispatch('setOption', { name: 'useOneClickNsfw', value })\n },\n preloadImage (value) {\n this.$store.dispatch('setOption', { name: 'preloadImage', value })\n },\n hideISPLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideISP', value })\n },\n 'notificationVisibilityLocal.likes' (value) {\n this.$store.dispatch('setOption', { name: 'notificationVisibility', value: this.$store.state.config.notificationVisibility })\n },\n 'notificationVisibilityLocal.follows' (value) {\n this.$store.dispatch('setOption', { name: 'notificationVisibility', value: this.$store.state.config.notificationVisibility })\n },\n 'notificationVisibilityLocal.repeats' (value) {\n this.$store.dispatch('setOption', { name: 'notificationVisibility', value: this.$store.state.config.notificationVisibility })\n },\n 'notificationVisibilityLocal.mentions' (value) {\n this.$store.dispatch('setOption', { name: 'notificationVisibility', value: this.$store.state.config.notificationVisibility })\n },\n replyVisibilityLocal (value) {\n this.$store.dispatch('setOption', { name: 'replyVisibility', value })\n },\n loopVideoLocal (value) {\n this.$store.dispatch('setOption', { name: 'loopVideo', value })\n },\n loopVideoSilentOnlyLocal (value) {\n this.$store.dispatch('setOption', { name: 'loopVideoSilentOnly', value })\n },\n autoLoadLocal (value) {\n this.$store.dispatch('setOption', { name: 'autoLoad', value })\n },\n streamingLocal (value) {\n this.$store.dispatch('setOption', { name: 'streaming', value })\n },\n pauseOnUnfocusedLocal (value) {\n this.$store.dispatch('setOption', { name: 'pauseOnUnfocused', value })\n },\n hoverPreviewLocal (value) {\n this.$store.dispatch('setOption', { name: 'hoverPreview', value })\n },\n muteWordsString (value) {\n value = filter(value.split('\\n'), (word) => trim(word).length > 0)\n this.$store.dispatch('setOption', { name: 'muteWords', value })\n },\n hideMutedPostsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideMutedPosts', value })\n },\n collapseMessageWithSubjectLocal (value) {\n this.$store.dispatch('setOption', { name: 'collapseMessageWithSubject', value })\n },\n scopeCopyLocal (value) {\n this.$store.dispatch('setOption', { name: 'scopeCopy', value })\n },\n alwaysShowSubjectInputLocal (value) {\n this.$store.dispatch('setOption', { name: 'alwaysShowSubjectInput', value })\n },\n subjectLineBehaviorLocal (value) {\n this.$store.dispatch('setOption', { name: 'subjectLineBehavior', value })\n },\n postContentTypeLocal (value) {\n this.$store.dispatch('setOption', { name: 'postContentType', value })\n },\n minimalScopesModeLocal (value) {\n this.$store.dispatch('setOption', { name: 'minimalScopesMode', value })\n },\n stopGifs (value) {\n this.$store.dispatch('setOption', { name: 'stopGifs', value })\n },\n webPushNotificationsLocal (value) {\n this.$store.dispatch('setOption', { name: 'webPushNotifications', value })\n if (value) this.$store.dispatch('registerPushNotifications')\n },\n playVideosInModal (value) {\n this.$store.dispatch('setOption', { name: 'playVideosInModal', value })\n },\n useContainFit (value) {\n this.$store.dispatch('setOption', { name: 'useContainFit', value })\n },\n maxThumbnails (value) {\n value = this.maxThumbnails = Math.floor(Math.max(value, 0))\n this.$store.dispatch('setOption', { name: 'maxThumbnails', value })\n }\n }\n}\n\nexport default settings\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/settings/settings.js","import ColorInput from '../color_input/color_input.vue'\nimport OpacityInput from '../opacity_input/opacity_input.vue'\nimport { getCssShadow } from '../../services/style_setter/style_setter.js'\nimport { hex2rgb } from '../../services/color_convert/color_convert.js'\n\nexport default {\n // 'Value' and 'Fallback' can be undefined, but if they are\n // initially vue won't detect it when they become something else\n // therefore i'm using \"ready\" which should be passed as true when\n // data becomes available\n props: [\n 'value', 'fallback', 'ready'\n ],\n data () {\n return {\n selectedId: 0,\n // TODO there are some bugs regarding display of array (it's not getting updated when deleting for some reason)\n cValue: this.value || this.fallback || []\n }\n },\n components: {\n ColorInput,\n OpacityInput\n },\n methods: {\n add () {\n this.cValue.push(Object.assign({}, this.selected))\n this.selectedId = this.cValue.length - 1\n },\n del () {\n this.cValue.splice(this.selectedId, 1)\n this.selectedId = this.cValue.length === 0 ? undefined : this.selectedId - 1\n },\n moveUp () {\n const movable = this.cValue.splice(this.selectedId, 1)[0]\n this.cValue.splice(this.selectedId - 1, 0, movable)\n this.selectedId -= 1\n },\n moveDn () {\n const movable = this.cValue.splice(this.selectedId, 1)[0]\n this.cValue.splice(this.selectedId + 1, 0, movable)\n this.selectedId += 1\n }\n },\n beforeUpdate () {\n this.cValue = this.value || this.fallback\n },\n computed: {\n selected () {\n if (this.ready && this.cValue.length > 0) {\n return this.cValue[this.selectedId]\n } else {\n return {\n x: 0,\n y: 0,\n blur: 0,\n spread: 0,\n inset: false,\n color: '#000000',\n alpha: 1\n }\n }\n },\n moveUpValid () {\n return this.ready && this.selectedId > 0\n },\n moveDnValid () {\n return this.ready && this.selectedId < this.cValue.length - 1\n },\n present () {\n return this.ready &&\n typeof this.cValue[this.selectedId] !== 'undefined' &&\n !this.usingFallback\n },\n usingFallback () {\n return typeof this.value === 'undefined'\n },\n rgb () {\n return hex2rgb(this.selected.color)\n },\n style () {\n return this.ready ? {\n boxShadow: getCssShadow(this.cValue)\n } : {}\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/shadow_control/shadow_control.js","import UserCard from '../user_card/user_card.vue'\nimport { unseenNotificationsFromStore } from '../../services/notification_utils/notification_utils'\nimport GestureService from '../../services/gesture_service/gesture_service'\n\nconst SideDrawer = {\n props: [ 'logout' ],\n data: () => ({\n closed: true,\n closeGesture: undefined\n }),\n created () {\n this.closeGesture = GestureService.swipeGesture(GestureService.DIRECTION_LEFT, this.toggleDrawer)\n },\n components: { UserCard },\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n },\n chat () { return this.$store.state.chat.channel.state === 'joined' },\n unseenNotifications () {\n return unseenNotificationsFromStore(this.$store)\n },\n unseenNotificationsCount () {\n return this.unseenNotifications.length\n },\n suggestionsEnabled () {\n return this.$store.state.instance.suggestionsEnabled\n },\n logo () {\n return this.$store.state.instance.logo\n },\n sitename () {\n return this.$store.state.instance.name\n },\n followRequestCount () {\n return this.$store.state.api.followRequests.length\n }\n },\n methods: {\n toggleDrawer () {\n this.closed = !this.closed\n },\n doLogout () {\n this.logout()\n this.toggleDrawer()\n },\n touchStart (e) {\n GestureService.beginSwipe(e, this.closeGesture)\n },\n touchMove (e) {\n GestureService.updateSwipe(e, this.closeGesture)\n }\n }\n}\n\nexport default SideDrawer\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/side_drawer/side_drawer.js","import Attachment from '../attachment/attachment.vue'\nimport FavoriteButton from '../favorite_button/favorite_button.vue'\nimport RetweetButton from '../retweet_button/retweet_button.vue'\nimport DeleteButton from '../delete_button/delete_button.vue'\nimport PostStatusForm from '../post_status_form/post_status_form.vue'\nimport UserCard from '../user_card/user_card.vue'\nimport UserAvatar from '../user_avatar/user_avatar.vue'\nimport Gallery from '../gallery/gallery.vue'\nimport LinkPreview from '../link-preview/link-preview.vue'\nimport generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'\nimport fileType from 'src/services/file_type/file_type.service'\nimport { highlightClass, highlightStyle } from '../../services/user_highlighter/user_highlighter.js'\nimport { mentionMatchesUrl, extractTagFromUrl } from 'src/services/matcher/matcher.service.js'\nimport { filter, find, unescape } from 'lodash'\n\nconst Status = {\n name: 'Status',\n props: [\n 'statusoid',\n 'expandable',\n 'inConversation',\n 'focused',\n 'highlight',\n 'compact',\n 'replies',\n 'isPreview',\n 'noHeading',\n 'inlineExpanded'\n ],\n data () {\n return {\n replying: false,\n expanded: false,\n unmuted: false,\n userExpanded: false,\n preview: null,\n showPreview: false,\n showingTall: this.inConversation && this.focused,\n showingLongSubject: false,\n expandingSubject: typeof this.$store.state.config.collapseMessageWithSubject === 'undefined'\n ? !this.$store.state.instance.collapseMessageWithSubject\n : !this.$store.state.config.collapseMessageWithSubject,\n betterShadow: this.$store.state.interface.browserSupport.cssFilter\n }\n },\n computed: {\n localCollapseSubjectDefault () {\n return typeof this.$store.state.config.collapseMessageWithSubject === 'undefined'\n ? this.$store.state.instance.collapseMessageWithSubject\n : this.$store.state.config.collapseMessageWithSubject\n },\n muteWords () {\n return this.$store.state.config.muteWords\n },\n repeaterClass () {\n const user = this.statusoid.user\n return highlightClass(user)\n },\n userClass () {\n const user = this.retweet ? (this.statusoid.retweeted_status.user) : this.statusoid.user\n return highlightClass(user)\n },\n deleted () {\n return this.statusoid.deleted\n },\n repeaterStyle () {\n const user = this.statusoid.user\n const highlight = this.$store.state.config.highlight\n return highlightStyle(highlight[user.screen_name])\n },\n userStyle () {\n if (this.noHeading) return\n const user = this.retweet ? (this.statusoid.retweeted_status.user) : this.statusoid.user\n const highlight = this.$store.state.config.highlight\n return highlightStyle(highlight[user.screen_name])\n },\n hideAttachments () {\n return (this.$store.state.config.hideAttachments && !this.inConversation) ||\n (this.$store.state.config.hideAttachmentsInConv && this.inConversation)\n },\n userProfileLink () {\n return this.generateUserProfileLink(this.status.user.id, this.status.user.screen_name)\n },\n replyProfileLink () {\n if (this.isReply) {\n return this.generateUserProfileLink(this.status.in_reply_to_user_id, this.replyToName)\n }\n },\n retweet () { return !!this.statusoid.retweeted_status },\n retweeter () { return this.statusoid.user.name || this.statusoid.user.screen_name },\n retweeterHtml () { return this.statusoid.user.name_html },\n retweeterProfileLink () { return this.generateUserProfileLink(this.statusoid.user.id, this.statusoid.user.screen_name) },\n status () {\n if (this.retweet) {\n return this.statusoid.retweeted_status\n } else {\n return this.statusoid\n }\n },\n loggedIn () {\n return !!this.$store.state.users.currentUser\n },\n muteWordHits () {\n const statusText = this.status.text.toLowerCase()\n const hits = filter(this.muteWords, (muteWord) => {\n return statusText.includes(muteWord.toLowerCase())\n })\n\n return hits\n },\n muted () { return !this.unmuted && (this.status.user.muted || this.muteWordHits.length > 0) },\n hideFilteredStatuses () {\n return typeof this.$store.state.config.hideFilteredStatuses === 'undefined'\n ? this.$store.state.instance.hideFilteredStatuses\n : this.$store.state.config.hideFilteredStatuses\n },\n hideStatus () {\n return (this.hideReply || this.deleted) || (this.muted && this.hideFilteredStatuses)\n },\n isFocused () {\n // retweet or root of an expanded conversation\n if (this.focused) {\n return true\n } else if (!this.inConversation) {\n return false\n }\n // use conversation highlight only when in conversation\n return this.status.id === this.highlight\n },\n // This is a bit hacky, but we want to approximate post height before rendering\n // so we count newlines (masto uses

for paragraphs, GS uses
between them)\n // as well as approximate line count by counting characters and approximating ~80\n // per line.\n //\n // Using max-height + overflow: auto for status components resulted in false positives\n // very often with japanese characters, and it was very annoying.\n tallStatus () {\n const lengthScore = this.status.statusnet_html.split(/ 20\n },\n longSubject () {\n return this.status.summary.length > 900\n },\n isReply () {\n return !!(this.status.in_reply_to_status_id && this.status.in_reply_to_user_id)\n },\n replyToName () {\n if (this.status.in_reply_to_screen_name) {\n return this.status.in_reply_to_screen_name\n } else {\n const user = this.$store.getters.findUser(this.status.in_reply_to_user_id)\n return user && user.screen_name\n }\n },\n hideReply () {\n if (this.$store.state.config.replyVisibility === 'all') {\n return false\n }\n if (this.inlineExpanded || this.expanded || this.inConversation || !this.isReply) {\n return false\n }\n if (this.status.user.id === this.$store.state.users.currentUser.id) {\n return false\n }\n if (this.status.type === 'retweet') {\n return false\n }\n var checkFollowing = this.$store.state.config.replyVisibility === 'following'\n for (var i = 0; i < this.status.attentions.length; ++i) {\n if (this.status.user.id === this.status.attentions[i].id) {\n continue\n }\n if (checkFollowing && this.status.attentions[i].following) {\n return false\n }\n if (this.status.attentions[i].id === this.$store.state.users.currentUser.id) {\n return false\n }\n }\n return this.status.attentions.length > 0\n },\n hideSubjectStatus () {\n if (this.tallStatus && !this.localCollapseSubjectDefault) {\n return false\n }\n return !this.expandingSubject && this.status.summary\n },\n hideTallStatus () {\n if (this.status.summary && this.localCollapseSubjectDefault) {\n return false\n }\n if (this.showingTall) {\n return false\n }\n return this.tallStatus\n },\n showingMore () {\n return (this.tallStatus && this.showingTall) || (this.status.summary && this.expandingSubject)\n },\n nsfwClickthrough () {\n if (!this.status.nsfw) {\n return false\n }\n if (this.status.summary && this.localCollapseSubjectDefault) {\n return false\n }\n return true\n },\n replySubject () {\n if (!this.status.summary) return ''\n const decodedSummary = unescape(this.status.summary)\n const behavior = typeof this.$store.state.config.subjectLineBehavior === 'undefined'\n ? this.$store.state.instance.subjectLineBehavior\n : this.$store.state.config.subjectLineBehavior\n const startsWithRe = decodedSummary.match(/^re[: ]/i)\n if (behavior !== 'noop' && startsWithRe || behavior === 'masto') {\n return decodedSummary\n } else if (behavior === 'email') {\n return 're: '.concat(decodedSummary)\n } else if (behavior === 'noop') {\n return ''\n }\n },\n attachmentSize () {\n if ((this.$store.state.config.hideAttachments && !this.inConversation) ||\n (this.$store.state.config.hideAttachmentsInConv && this.inConversation) ||\n (this.status.attachments.length > this.maxThumbnails)) {\n return 'hide'\n } else if (this.compact) {\n return 'small'\n }\n return 'normal'\n },\n galleryTypes () {\n if (this.attachmentSize === 'hide') {\n return []\n }\n return this.$store.state.config.playVideosInModal\n ? ['image', 'video']\n : ['image']\n },\n galleryAttachments () {\n return this.status.attachments.filter(\n file => fileType.fileMatchesSomeType(this.galleryTypes, file)\n )\n },\n nonGalleryAttachments () {\n return this.status.attachments.filter(\n file => !fileType.fileMatchesSomeType(this.galleryTypes, file)\n )\n },\n maxThumbnails () {\n return this.$store.state.config.maxThumbnails\n },\n contentHtml () {\n if (!this.status.summary_html) {\n return this.status.statusnet_html\n }\n return this.status.summary_html + '
' + this.status.statusnet_html\n }\n },\n components: {\n Attachment,\n FavoriteButton,\n RetweetButton,\n DeleteButton,\n PostStatusForm,\n UserCard,\n UserAvatar,\n Gallery,\n LinkPreview\n },\n methods: {\n visibilityIcon (visibility) {\n switch (visibility) {\n case 'private':\n return 'icon-lock'\n case 'unlisted':\n return 'icon-lock-open-alt'\n case 'direct':\n return 'icon-mail-alt'\n default:\n return 'icon-globe'\n }\n },\n linkClicked (event) {\n let { target } = event\n if (target.tagName === 'SPAN') {\n target = target.parentNode\n }\n if (target.tagName === 'A') {\n if (target.className.match(/mention/)) {\n const href = target.href\n const attn = this.status.attentions.find(attn => mentionMatchesUrl(attn, href))\n if (attn) {\n event.stopPropagation()\n event.preventDefault()\n const link = this.generateUserProfileLink(attn.id, attn.screen_name)\n this.$router.push(link)\n return\n }\n }\n if (target.className.match(/hashtag/)) {\n // Extract tag name from link url\n const tag = extractTagFromUrl(target.href)\n if (tag) {\n const link = this.generateTagLink(tag)\n this.$router.push(link)\n return\n }\n }\n window.open(target.href, '_blank')\n }\n },\n toggleReplying () {\n this.replying = !this.replying\n },\n gotoOriginal (id) {\n if (this.inConversation) {\n this.$emit('goto', id)\n }\n },\n toggleExpanded () {\n this.$emit('toggleExpanded')\n },\n toggleMute () {\n this.unmuted = !this.unmuted\n },\n toggleUserExpanded () {\n this.userExpanded = !this.userExpanded\n },\n toggleShowMore () {\n if (this.showingTall) {\n this.showingTall = false\n } else if (this.expandingSubject && this.status.summary) {\n this.expandingSubject = false\n } else if (this.hideTallStatus) {\n this.showingTall = true\n } else if (this.hideSubjectStatus && this.status.summary) {\n this.expandingSubject = true\n }\n },\n replyEnter (id, event) {\n this.showPreview = true\n const targetId = id\n const statuses = this.$store.state.statuses.allStatuses\n\n if (!this.preview) {\n // if we have the status somewhere already\n this.preview = find(statuses, { 'id': targetId })\n // or if we have to fetch it\n if (!this.preview) {\n this.$store.state.api.backendInteractor.fetchStatus({id}).then((status) => {\n this.preview = status\n })\n }\n } else if (this.preview.id !== targetId) {\n this.preview = find(statuses, { 'id': targetId })\n }\n },\n replyLeave () {\n this.showPreview = false\n },\n generateUserProfileLink (id, name) {\n return generateProfileLink(id, name, this.$store.state.instance.restrictedNicknames)\n },\n generateTagLink (tag) {\n return `/tag/${tag}`\n },\n setMedia () {\n const attachments = this.attachmentSize === 'hide' ? this.status.attachments : this.galleryAttachments\n return () => this.$store.dispatch('setMedia', attachments)\n }\n },\n watch: {\n 'highlight': function (id) {\n if (this.status.id === id) {\n let rect = this.$el.getBoundingClientRect()\n if (rect.top < 100) {\n // Post is above screen, match its top to screen top\n window.scrollBy(0, rect.top - 100)\n } else if (rect.height >= (window.innerHeight - 50)) {\n // Post we want to see is taller than screen so match its top to screen top\n window.scrollBy(0, rect.top - 100)\n } else if (rect.bottom > window.innerHeight - 50) {\n // Post is below screen, match its bottom to screen bottom\n window.scrollBy(0, rect.bottom - window.innerHeight + 50)\n }\n }\n }\n },\n filters: {\n capitalize: function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1)\n }\n }\n}\n\nexport default Status\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/status/status.js","const StillImage = {\n props: [\n 'src',\n 'referrerpolicy',\n 'mimetype',\n 'imageLoadError'\n ],\n data () {\n return {\n stopGifs: this.$store.state.config.stopGifs\n }\n },\n computed: {\n animated () {\n return this.stopGifs && (this.mimetype === 'image/gif' || this.src.endsWith('.gif'))\n }\n },\n methods: {\n onLoad () {\n const canvas = this.$refs.canvas\n if (!canvas) return\n const width = this.$refs.src.naturalWidth\n const height = this.$refs.src.naturalHeight\n canvas.width = width\n canvas.height = height\n canvas.getContext('2d').drawImage(this.$refs.src, 0, 0, width, height)\n },\n onError () {\n this.imageLoadError && this.imageLoadError()\n }\n }\n}\n\nexport default StillImage\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/still-image/still-image.js","import { rgb2hex, hex2rgb, getContrastRatio, alphaBlend } from '../../services/color_convert/color_convert.js'\nimport { set, delete as del } from 'vue'\nimport { generateColors, generateShadows, generateRadii, generateFonts, composePreset, getThemes } from '../../services/style_setter/style_setter.js'\nimport ColorInput from '../color_input/color_input.vue'\nimport RangeInput from '../range_input/range_input.vue'\nimport OpacityInput from '../opacity_input/opacity_input.vue'\nimport ShadowControl from '../shadow_control/shadow_control.vue'\nimport FontControl from '../font_control/font_control.vue'\nimport ContrastRatio from '../contrast_ratio/contrast_ratio.vue'\nimport TabSwitcher from '../tab_switcher/tab_switcher.js'\nimport Preview from './preview.vue'\nimport ExportImport from '../export_import/export_import.vue'\n\n// List of color values used in v1\nconst v1OnlyNames = [\n 'bg',\n 'fg',\n 'text',\n 'link',\n 'cRed',\n 'cGreen',\n 'cBlue',\n 'cOrange'\n].map(_ => _ + 'ColorLocal')\n\nexport default {\n data () {\n return {\n availableStyles: [],\n selected: this.$store.state.config.theme,\n\n previewShadows: {},\n previewColors: {},\n previewRadii: {},\n previewFonts: {},\n\n shadowsInvalid: true,\n colorsInvalid: true,\n radiiInvalid: true,\n\n keepColor: false,\n keepShadows: false,\n keepOpacity: false,\n keepRoundness: false,\n keepFonts: false,\n\n textColorLocal: '',\n linkColorLocal: '',\n\n bgColorLocal: '',\n bgOpacityLocal: undefined,\n\n fgColorLocal: '',\n fgTextColorLocal: undefined,\n fgLinkColorLocal: undefined,\n\n btnColorLocal: undefined,\n btnTextColorLocal: undefined,\n btnOpacityLocal: undefined,\n\n inputColorLocal: undefined,\n inputTextColorLocal: undefined,\n inputOpacityLocal: undefined,\n\n panelColorLocal: undefined,\n panelTextColorLocal: undefined,\n panelLinkColorLocal: undefined,\n panelFaintColorLocal: undefined,\n panelOpacityLocal: undefined,\n\n topBarColorLocal: undefined,\n topBarTextColorLocal: undefined,\n topBarLinkColorLocal: undefined,\n\n alertErrorColorLocal: undefined,\n\n badgeOpacityLocal: undefined,\n badgeNotificationColorLocal: undefined,\n\n borderColorLocal: undefined,\n borderOpacityLocal: undefined,\n\n faintColorLocal: undefined,\n faintOpacityLocal: undefined,\n faintLinkColorLocal: undefined,\n\n cRedColorLocal: '',\n cBlueColorLocal: '',\n cGreenColorLocal: '',\n cOrangeColorLocal: '',\n\n shadowSelected: undefined,\n shadowsLocal: {},\n fontsLocal: {},\n\n btnRadiusLocal: '',\n inputRadiusLocal: '',\n checkboxRadiusLocal: '',\n panelRadiusLocal: '',\n avatarRadiusLocal: '',\n avatarAltRadiusLocal: '',\n attachmentRadiusLocal: '',\n tooltipRadiusLocal: ''\n }\n },\n created () {\n const self = this\n\n getThemes().then((themesComplete) => {\n self.availableStyles = themesComplete\n })\n },\n mounted () {\n this.normalizeLocalState(this.$store.state.config.customTheme)\n if (typeof this.shadowSelected === 'undefined') {\n this.shadowSelected = this.shadowsAvailable[0]\n }\n },\n computed: {\n selectedVersion () {\n return Array.isArray(this.selected) ? 1 : 2\n },\n currentColors () {\n return {\n bg: this.bgColorLocal,\n text: this.textColorLocal,\n link: this.linkColorLocal,\n\n fg: this.fgColorLocal,\n fgText: this.fgTextColorLocal,\n fgLink: this.fgLinkColorLocal,\n\n panel: this.panelColorLocal,\n panelText: this.panelTextColorLocal,\n panelLink: this.panelLinkColorLocal,\n panelFaint: this.panelFaintColorLocal,\n\n input: this.inputColorLocal,\n inputText: this.inputTextColorLocal,\n\n topBar: this.topBarColorLocal,\n topBarText: this.topBarTextColorLocal,\n topBarLink: this.topBarLinkColorLocal,\n\n btn: this.btnColorLocal,\n btnText: this.btnTextColorLocal,\n\n alertError: this.alertErrorColorLocal,\n badgeNotification: this.badgeNotificationColorLocal,\n\n faint: this.faintColorLocal,\n faintLink: this.faintLinkColorLocal,\n border: this.borderColorLocal,\n\n cRed: this.cRedColorLocal,\n cBlue: this.cBlueColorLocal,\n cGreen: this.cGreenColorLocal,\n cOrange: this.cOrangeColorLocal\n }\n },\n currentOpacity () {\n return {\n bg: this.bgOpacityLocal,\n btn: this.btnOpacityLocal,\n input: this.inputOpacityLocal,\n panel: this.panelOpacityLocal,\n topBar: this.topBarOpacityLocal,\n border: this.borderOpacityLocal,\n faint: this.faintOpacityLocal\n }\n },\n currentRadii () {\n return {\n btn: this.btnRadiusLocal,\n input: this.inputRadiusLocal,\n checkbox: this.checkboxRadiusLocal,\n panel: this.panelRadiusLocal,\n avatar: this.avatarRadiusLocal,\n avatarAlt: this.avatarAltRadiusLocal,\n tooltip: this.tooltipRadiusLocal,\n attachment: this.attachmentRadiusLocal\n }\n },\n preview () {\n return composePreset(this.previewColors, this.previewRadii, this.previewShadows, this.previewFonts)\n },\n previewTheme () {\n if (!this.preview.theme.colors) return { colors: {}, opacity: {}, radii: {}, shadows: {}, fonts: {} }\n return this.preview.theme\n },\n // This needs optimization maybe\n previewContrast () {\n if (!this.previewTheme.colors.bg) return {}\n const colors = this.previewTheme.colors\n const opacity = this.previewTheme.opacity\n if (!colors.bg) return {}\n const hints = (ratio) => ({\n text: ratio.toPrecision(3) + ':1',\n // AA level, AAA level\n aa: ratio >= 4.5,\n aaa: ratio >= 7,\n // same but for 18pt+ texts\n laa: ratio >= 3,\n laaa: ratio >= 4.5\n })\n\n // fgsfds :DDDD\n const fgs = {\n text: hex2rgb(colors.text),\n panelText: hex2rgb(colors.panelText),\n panelLink: hex2rgb(colors.panelLink),\n btnText: hex2rgb(colors.btnText),\n topBarText: hex2rgb(colors.topBarText),\n inputText: hex2rgb(colors.inputText),\n\n link: hex2rgb(colors.link),\n topBarLink: hex2rgb(colors.topBarLink),\n\n red: hex2rgb(colors.cRed),\n green: hex2rgb(colors.cGreen),\n blue: hex2rgb(colors.cBlue),\n orange: hex2rgb(colors.cOrange)\n }\n\n const bgs = {\n bg: hex2rgb(colors.bg),\n btn: hex2rgb(colors.btn),\n panel: hex2rgb(colors.panel),\n topBar: hex2rgb(colors.topBar),\n input: hex2rgb(colors.input),\n alertError: hex2rgb(colors.alertError),\n badgeNotification: hex2rgb(colors.badgeNotification)\n }\n\n /* This is a bit confusing because \"bottom layer\" used is text color\n * This is done to get worst case scenario when background below transparent\n * layer matches text color, making it harder to read the lower alpha is.\n */\n const ratios = {\n bgText: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.text), fgs.text),\n bgLink: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.link), fgs.link),\n bgRed: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.red), fgs.red),\n bgGreen: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.green), fgs.green),\n bgBlue: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.blue), fgs.blue),\n bgOrange: getContrastRatio(alphaBlend(bgs.bg, opacity.bg, fgs.orange), fgs.orange),\n\n tintText: getContrastRatio(alphaBlend(bgs.bg, 0.5, fgs.panelText), fgs.text),\n\n panelText: getContrastRatio(alphaBlend(bgs.panel, opacity.panel, fgs.panelText), fgs.panelText),\n panelLink: getContrastRatio(alphaBlend(bgs.panel, opacity.panel, fgs.panelLink), fgs.panelLink),\n\n btnText: getContrastRatio(alphaBlend(bgs.btn, opacity.btn, fgs.btnText), fgs.btnText),\n\n inputText: getContrastRatio(alphaBlend(bgs.input, opacity.input, fgs.inputText), fgs.inputText),\n\n topBarText: getContrastRatio(alphaBlend(bgs.topBar, opacity.topBar, fgs.topBarText), fgs.topBarText),\n topBarLink: getContrastRatio(alphaBlend(bgs.topBar, opacity.topBar, fgs.topBarLink), fgs.topBarLink)\n }\n\n return Object.entries(ratios).reduce((acc, [k, v]) => { acc[k] = hints(v); return acc }, {})\n },\n previewRules () {\n if (!this.preview.rules) return ''\n return [\n ...Object.values(this.preview.rules),\n 'color: var(--text)',\n 'font-family: var(--interfaceFont, sans-serif)'\n ].join(';')\n },\n shadowsAvailable () {\n return Object.keys(this.previewTheme.shadows).sort()\n },\n currentShadowOverriden: {\n get () {\n return !!this.currentShadow\n },\n set (val) {\n if (val) {\n set(this.shadowsLocal, this.shadowSelected, this.currentShadowFallback.map(_ => Object.assign({}, _)))\n } else {\n del(this.shadowsLocal, this.shadowSelected)\n }\n }\n },\n currentShadowFallback () {\n return this.previewTheme.shadows[this.shadowSelected]\n },\n currentShadow: {\n get () {\n return this.shadowsLocal[this.shadowSelected]\n },\n set (v) {\n set(this.shadowsLocal, this.shadowSelected, v)\n }\n },\n themeValid () {\n return !this.shadowsInvalid && !this.colorsInvalid && !this.radiiInvalid\n },\n exportedTheme () {\n const saveEverything = (\n !this.keepFonts &&\n !this.keepShadows &&\n !this.keepOpacity &&\n !this.keepRoundness &&\n !this.keepColor\n )\n\n const theme = {}\n\n if (this.keepFonts || saveEverything) {\n theme.fonts = this.fontsLocal\n }\n if (this.keepShadows || saveEverything) {\n theme.shadows = this.shadowsLocal\n }\n if (this.keepOpacity || saveEverything) {\n theme.opacity = this.currentOpacity\n }\n if (this.keepColor || saveEverything) {\n theme.colors = this.currentColors\n }\n if (this.keepRoundness || saveEverything) {\n theme.radii = this.currentRadii\n }\n\n return {\n // To separate from other random JSON files and possible future theme formats\n _pleroma_theme_version: 2, theme\n }\n }\n },\n components: {\n ColorInput,\n OpacityInput,\n RangeInput,\n ContrastRatio,\n ShadowControl,\n FontControl,\n TabSwitcher,\n Preview,\n ExportImport\n },\n methods: {\n setCustomTheme () {\n this.$store.dispatch('setOption', {\n name: 'customTheme',\n value: {\n shadows: this.shadowsLocal,\n fonts: this.fontsLocal,\n opacity: this.currentOpacity,\n colors: this.currentColors,\n radii: this.currentRadii\n }\n })\n },\n onImport (parsed) {\n if (parsed._pleroma_theme_version === 1) {\n this.normalizeLocalState(parsed, 1)\n } else if (parsed._pleroma_theme_version === 2) {\n this.normalizeLocalState(parsed.theme, 2)\n }\n },\n importValidator (parsed) {\n const version = parsed._pleroma_theme_version\n return version >= 1 || version <= 2\n },\n clearAll () {\n const state = this.$store.state.config.customTheme\n const version = state.colors ? 2 : 'l1'\n this.normalizeLocalState(this.$store.state.config.customTheme, version)\n },\n\n // Clears all the extra stuff when loading V1 theme\n clearV1 () {\n Object.keys(this.$data)\n .filter(_ => _.endsWith('ColorLocal') || _.endsWith('OpacityLocal'))\n .filter(_ => !v1OnlyNames.includes(_))\n .forEach(key => {\n set(this.$data, key, undefined)\n })\n },\n\n clearRoundness () {\n Object.keys(this.$data)\n .filter(_ => _.endsWith('RadiusLocal'))\n .forEach(key => {\n set(this.$data, key, undefined)\n })\n },\n\n clearOpacity () {\n Object.keys(this.$data)\n .filter(_ => _.endsWith('OpacityLocal'))\n .forEach(key => {\n set(this.$data, key, undefined)\n })\n },\n\n clearShadows () {\n this.shadowsLocal = {}\n },\n\n clearFonts () {\n this.fontsLocal = {}\n },\n\n /**\n * This applies stored theme data onto form. Supports three versions of data:\n * v2 (version = 2) - newer version of themes.\n * v1 (version = 1) - older version of themes (import from file)\n * v1l (version = l1) - older version of theme (load from local storage)\n * v1 and v1l differ because of way themes were stored/exported.\n * @param {Object} input - input data\n * @param {Number} version - version of data. 0 means try to guess based on data. \"l1\" means v1, locastorage type\n */\n normalizeLocalState (input, version = 0) {\n const colors = input.colors || input\n const radii = input.radii || input\n const opacity = input.opacity\n const shadows = input.shadows || {}\n const fonts = input.fonts || {}\n\n if (version === 0) {\n if (input.version) version = input.version\n // Old v1 naming: fg is text, btn is foreground\n if (typeof colors.text === 'undefined' && typeof colors.fg !== 'undefined') {\n version = 1\n }\n // New v2 naming: text is text, fg is foreground\n if (typeof colors.text !== 'undefined' && typeof colors.fg !== 'undefined') {\n version = 2\n }\n }\n\n // Stuff that differs between V1 and V2\n if (version === 1) {\n this.fgColorLocal = rgb2hex(colors.btn)\n this.textColorLocal = rgb2hex(colors.fg)\n }\n\n if (!this.keepColor) {\n this.clearV1()\n const keys = new Set(version !== 1 ? Object.keys(colors) : [])\n if (version === 1 || version === 'l1') {\n keys\n .add('bg')\n .add('link')\n .add('cRed')\n .add('cBlue')\n .add('cGreen')\n .add('cOrange')\n }\n\n keys.forEach(key => {\n this[key + 'ColorLocal'] = rgb2hex(colors[key])\n })\n }\n\n if (!this.keepRoundness) {\n this.clearRoundness()\n Object.entries(radii).forEach(([k, v]) => {\n // 'Radius' is kept mostly for v1->v2 localstorage transition\n const key = k.endsWith('Radius') ? k.split('Radius')[0] : k\n this[key + 'RadiusLocal'] = v\n })\n }\n\n if (!this.keepShadows) {\n this.clearShadows()\n this.shadowsLocal = shadows\n this.shadowSelected = this.shadowsAvailable[0]\n }\n\n if (!this.keepFonts) {\n this.clearFonts()\n this.fontsLocal = fonts\n }\n\n if (opacity && !this.keepOpacity) {\n this.clearOpacity()\n Object.entries(opacity).forEach(([k, v]) => {\n if (typeof v === 'undefined' || v === null || Number.isNaN(v)) return\n this[k + 'OpacityLocal'] = v\n })\n }\n }\n },\n watch: {\n currentRadii () {\n try {\n this.previewRadii = generateRadii({ radii: this.currentRadii })\n this.radiiInvalid = false\n } catch (e) {\n this.radiiInvalid = true\n console.warn(e)\n }\n },\n shadowsLocal: {\n handler () {\n try {\n this.previewShadows = generateShadows({ shadows: this.shadowsLocal })\n this.shadowsInvalid = false\n } catch (e) {\n this.shadowsInvalid = true\n console.warn(e)\n }\n },\n deep: true\n },\n fontsLocal: {\n handler () {\n try {\n this.previewFonts = generateFonts({ fonts: this.fontsLocal })\n this.fontsInvalid = false\n } catch (e) {\n this.fontsInvalid = true\n console.warn(e)\n }\n },\n deep: true\n },\n currentColors () {\n try {\n this.previewColors = generateColors({\n opacity: this.currentOpacity,\n colors: this.currentColors\n })\n this.colorsInvalid = false\n } catch (e) {\n this.colorsInvalid = true\n console.warn(e)\n }\n },\n currentOpacity () {\n try {\n this.previewColors = generateColors({\n opacity: this.currentOpacity,\n colors: this.currentColors\n })\n } catch (e) {\n console.warn(e)\n }\n },\n selected () {\n if (this.selectedVersion === 1) {\n if (!this.keepRoundness) {\n this.clearRoundness()\n }\n\n if (!this.keepShadows) {\n this.clearShadows()\n }\n\n if (!this.keepOpacity) {\n this.clearOpacity()\n }\n\n if (!this.keepColor) {\n this.clearV1()\n\n this.bgColorLocal = this.selected[1]\n this.fgColorLocal = this.selected[2]\n this.textColorLocal = this.selected[3]\n this.linkColorLocal = this.selected[4]\n this.cRedColorLocal = this.selected[5]\n this.cGreenColorLocal = this.selected[6]\n this.cBlueColorLocal = this.selected[7]\n this.cOrangeColorLocal = this.selected[8]\n }\n } else if (this.selectedVersion >= 2) {\n this.normalizeLocalState(this.selected.theme, 2)\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/style_switcher/style_switcher.js","import Timeline from '../timeline/timeline.vue'\n\nconst TagTimeline = {\n created () {\n this.$store.commit('clearTimeline', { timeline: 'tag' })\n this.$store.dispatch('startFetchingTimeline', { timeline: 'tag', tag: this.tag })\n },\n components: {\n Timeline\n },\n computed: {\n tag () { return this.$route.params.tag },\n timeline () { return this.$store.state.statuses.timelines.tag }\n },\n watch: {\n tag () {\n this.$store.commit('clearTimeline', { timeline: 'tag' })\n this.$store.dispatch('startFetchingTimeline', { timeline: 'tag', tag: this.tag })\n }\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'tag')\n }\n}\n\nexport default TagTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/tag_timeline/tag_timeline.js","const TermsOfServicePanel = {\n computed: {\n content () {\n return this.$store.state.instance.tos\n }\n }\n}\n\nexport default TermsOfServicePanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/terms_of_service_panel/terms_of_service_panel.js","import Status from '../status/status.vue'\nimport timelineFetcher from '../../services/timeline_fetcher/timeline_fetcher.service.js'\nimport Conversation from '../conversation/conversation.vue'\nimport { throttle } from 'lodash'\n\nconst Timeline = {\n props: [\n 'timeline',\n 'timelineName',\n 'title',\n 'userId',\n 'tag',\n 'embedded',\n 'count'\n ],\n data () {\n return {\n paused: false,\n unfocused: false,\n bottomedOut: false\n }\n },\n computed: {\n timelineError () { return this.$store.state.statuses.error },\n newStatusCount () {\n return this.timeline.newStatusCount\n },\n newStatusCountStr () {\n if (this.timeline.flushMarker !== 0) {\n return ''\n } else {\n return ` (${this.newStatusCount})`\n }\n },\n classes () {\n return {\n root: ['timeline'].concat(!this.embedded ? ['panel', 'panel-default'] : []),\n header: ['timeline-heading'].concat(!this.embedded ? ['panel-heading'] : []),\n body: ['timeline-body'].concat(!this.embedded ? ['panel-body'] : []),\n footer: ['timeline-footer'].concat(!this.embedded ? ['panel-footer'] : [])\n }\n }\n },\n components: {\n Status,\n Conversation\n },\n created () {\n const store = this.$store\n const credentials = store.state.users.currentUser.credentials\n const showImmediately = this.timeline.visibleStatuses.length === 0\n\n window.addEventListener('scroll', this.scrollLoad)\n\n if (store.state.api.fetchers[this.timelineName]) { return false }\n\n timelineFetcher.fetchAndUpdate({\n store,\n credentials,\n timeline: this.timelineName,\n showImmediately,\n userId: this.userId,\n tag: this.tag\n })\n },\n mounted () {\n if (typeof document.hidden !== 'undefined') {\n document.addEventListener('visibilitychange', this.handleVisibilityChange, false)\n this.unfocused = document.hidden\n }\n window.addEventListener('keydown', this.handleShortKey)\n },\n destroyed () {\n window.removeEventListener('scroll', this.scrollLoad)\n window.removeEventListener('keydown', this.handleShortKey)\n if (typeof document.hidden !== 'undefined') document.removeEventListener('visibilitychange', this.handleVisibilityChange, false)\n this.$store.commit('setLoading', { timeline: this.timelineName, value: false })\n },\n methods: {\n handleShortKey (e) {\n if (e.key === '.') this.showNewStatuses()\n },\n showNewStatuses () {\n if (this.newStatusCount === 0) return\n\n if (this.timeline.flushMarker !== 0) {\n this.$store.commit('clearTimeline', { timeline: this.timelineName })\n this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 })\n this.fetchOlderStatuses()\n } else {\n this.$store.commit('showNewStatuses', { timeline: this.timelineName })\n this.paused = false\n }\n },\n fetchOlderStatuses: throttle(function () {\n const store = this.$store\n const credentials = store.state.users.currentUser.credentials\n store.commit('setLoading', { timeline: this.timelineName, value: true })\n timelineFetcher.fetchAndUpdate({\n store,\n credentials,\n timeline: this.timelineName,\n older: true,\n showImmediately: true,\n userId: this.userId,\n tag: this.tag\n }).then(statuses => {\n store.commit('setLoading', { timeline: this.timelineName, value: false })\n if (statuses && statuses.length === 0) {\n this.bottomedOut = true\n }\n })\n }, 1000, this),\n scrollLoad (e) {\n const bodyBRect = document.body.getBoundingClientRect()\n const height = Math.max(bodyBRect.height, -(bodyBRect.y))\n if (this.timeline.loading === false &&\n this.$store.state.config.autoLoad &&\n this.$el.offsetHeight > 0 &&\n (window.innerHeight + window.pageYOffset) >= (height - 750)) {\n this.fetchOlderStatuses()\n }\n },\n handleVisibilityChange () {\n this.unfocused = document.hidden\n }\n },\n watch: {\n newStatusCount (count) {\n if (!this.$store.state.config.streaming) {\n return\n }\n if (count > 0) {\n // only 'stream' them when you're scrolled to the top\n const doc = document.documentElement\n const top = (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0)\n if (top < 15 &&\n !this.paused &&\n !(this.unfocused && this.$store.state.config.pauseOnUnfocused)\n ) {\n this.showNewStatuses()\n } else {\n this.paused = true\n }\n }\n }\n }\n}\n\nexport default Timeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/timeline/timeline.js","import StillImage from '../still-image/still-image.vue'\n\nconst UserAvatar = {\n props: [\n 'src',\n 'betterShadow',\n 'compact'\n ],\n data () {\n return {\n showPlaceholder: false\n }\n },\n components: {\n StillImage\n },\n computed: {\n imgSrc () {\n return this.showPlaceholder ? '/images/avi.png' : this.src\n }\n },\n methods: {\n imageLoadError () {\n this.showPlaceholder = true\n }\n },\n watch: {\n src () {\n this.showPlaceholder = false\n }\n }\n}\n\nexport default UserAvatar\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_avatar/user_avatar.js","import UserAvatar from '../user_avatar/user_avatar.vue'\nimport RemoteFollow from '../remote_follow/remote_follow.vue'\nimport ModerationTools from '../moderation_tools/moderation_tools.vue'\nimport { hex2rgb } from '../../services/color_convert/color_convert.js'\nimport { requestFollow, requestUnfollow } from '../../services/follow_manipulate/follow_manipulate'\nimport generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'\n\nexport default {\n props: [ 'user', 'switcher', 'selected', 'hideBio', 'rounded', 'bordered' ],\n data () {\n return {\n followRequestInProgress: false,\n followRequestSent: false,\n hideUserStatsLocal: typeof this.$store.state.config.hideUserStats === 'undefined'\n ? this.$store.state.instance.hideUserStats\n : this.$store.state.config.hideUserStats,\n betterShadow: this.$store.state.interface.browserSupport.cssFilter\n }\n },\n created () {\n this.$store.dispatch('fetchUserRelationship', this.user.id)\n },\n computed: {\n classes () {\n return [{\n 'user-card-rounded-t': this.rounded === 'top', // set border-top-left-radius and border-top-right-radius\n 'user-card-rounded': this.rounded === true, // set border-radius for all sides\n 'user-card-bordered': this.bordered === true // set border for all sides\n }]\n },\n style () {\n const color = this.$store.state.config.customTheme.colors\n ? this.$store.state.config.customTheme.colors.bg // v2\n : this.$store.state.config.colors.bg // v1\n\n if (color) {\n const rgb = (typeof color === 'string') ? hex2rgb(color) : color\n const tintColor = `rgba(${Math.floor(rgb.r)}, ${Math.floor(rgb.g)}, ${Math.floor(rgb.b)}, .5)`\n\n const gradient = [\n [tintColor, this.hideBio ? '60%' : ''],\n this.hideBio ? [\n color, '100%'\n ] : [\n tintColor, ''\n ]\n ].map(_ => _.join(' ')).join(', ')\n\n return {\n backgroundColor: `rgb(${Math.floor(rgb.r * 0.53)}, ${Math.floor(rgb.g * 0.56)}, ${Math.floor(rgb.b * 0.59)})`,\n backgroundImage: [\n `linear-gradient(to bottom, ${gradient})`,\n `url(${this.user.cover_photo})`\n ].join(', ')\n }\n }\n },\n isOtherUser () {\n return this.user.id !== this.$store.state.users.currentUser.id\n },\n subscribeUrl () {\n // eslint-disable-next-line no-undef\n const serverUrl = new URL(this.user.statusnet_profile_url)\n return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus`\n },\n loggedIn () {\n return this.$store.state.users.currentUser\n },\n dailyAvg () {\n const days = Math.ceil((new Date() - new Date(this.user.created_at)) / (60 * 60 * 24 * 1000))\n return Math.round(this.user.statuses_count / days)\n },\n userHighlightType: {\n get () {\n const data = this.$store.state.config.highlight[this.user.screen_name]\n return data && data.type || 'disabled'\n },\n set (type) {\n const data = this.$store.state.config.highlight[this.user.screen_name]\n if (type !== 'disabled') {\n this.$store.dispatch('setHighlight', { user: this.user.screen_name, color: data && data.color || '#FFFFFF', type })\n } else {\n this.$store.dispatch('setHighlight', { user: this.user.screen_name, color: undefined })\n }\n }\n },\n userHighlightColor: {\n get () {\n const data = this.$store.state.config.highlight[this.user.screen_name]\n return data && data.color\n },\n set (color) {\n this.$store.dispatch('setHighlight', { user: this.user.screen_name, color })\n }\n },\n visibleRole () {\n const rights = this.user.rights\n if (!rights) { return }\n const validRole = rights.admin || rights.moderator\n const roleTitle = rights.admin ? 'admin' : 'moderator'\n return validRole && roleTitle\n }\n },\n components: {\n UserAvatar,\n RemoteFollow,\n ModerationTools\n },\n methods: {\n followUser () {\n const store = this.$store\n this.followRequestInProgress = true\n requestFollow(this.user, store).then(({sent}) => {\n this.followRequestInProgress = false\n this.followRequestSent = sent\n })\n },\n unfollowUser () {\n const store = this.$store\n this.followRequestInProgress = true\n requestUnfollow(this.user, store).then(() => {\n this.followRequestInProgress = false\n store.commit('removeStatus', { timeline: 'friends', userId: this.user.id })\n })\n },\n blockUser () {\n this.$store.dispatch('blockUser', this.user.id)\n },\n unblockUser () {\n this.$store.dispatch('unblockUser', this.user.id)\n },\n muteUser () {\n this.$store.dispatch('muteUser', this.user.id)\n },\n unmuteUser () {\n this.$store.dispatch('unmuteUser', this.user.id)\n },\n setProfileView (v) {\n if (this.switcher) {\n const store = this.$store\n store.commit('setProfileView', { v })\n }\n },\n linkClicked ({target}) {\n if (target.tagName === 'SPAN') {\n target = target.parentNode\n }\n if (target.tagName === 'A') {\n window.open(target.href, '_blank')\n }\n },\n userProfileLink (user) {\n return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_card/user_card.js","const UserFinder = {\n data: () => ({\n username: undefined,\n hidden: true,\n error: false,\n loading: false\n }),\n methods: {\n findUser (username) {\n this.$router.push({ name: 'user-search', query: { query: username } })\n this.$refs.userSearchInput.focus()\n },\n toggleHidden () {\n this.hidden = !this.hidden\n this.$emit('toggled', this.hidden)\n }\n }\n}\n\nexport default UserFinder\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_finder/user_finder.js","import LoginForm from '../login_form/login_form.vue'\nimport PostStatusForm from '../post_status_form/post_status_form.vue'\nimport UserCard from '../user_card/user_card.vue'\n\nconst UserPanel = {\n computed: {\n user () { return this.$store.state.users.currentUser }\n },\n components: {\n LoginForm,\n PostStatusForm,\n UserCard\n }\n}\n\nexport default UserPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_panel/user_panel.js","import get from 'lodash/get'\nimport UserCard from '../user_card/user_card.vue'\nimport FollowCard from '../follow_card/follow_card.vue'\nimport Timeline from '../timeline/timeline.vue'\nimport ModerationTools from '../moderation_tools/moderation_tools.vue'\nimport List from '../list/list.vue'\nimport withLoadMore from '../../hocs/with_load_more/with_load_more'\n\nconst FollowerList = withLoadMore({\n fetch: (props, $store) => $store.dispatch('fetchFollowers', props.userId),\n select: (props, $store) => get($store.getters.findUser(props.userId), 'followerIds', []).map(id => $store.getters.findUser(id)),\n destroy: (props, $store) => $store.dispatch('clearFollowers', props.userId),\n childPropName: 'items',\n additionalPropNames: ['userId']\n})(List)\n\nconst FriendList = withLoadMore({\n fetch: (props, $store) => $store.dispatch('fetchFriends', props.userId),\n select: (props, $store) => get($store.getters.findUser(props.userId), 'friendIds', []).map(id => $store.getters.findUser(id)),\n destroy: (props, $store) => $store.dispatch('clearFriends', props.userId),\n childPropName: 'items',\n additionalPropNames: ['userId']\n})(List)\n\nconst UserProfile = {\n data () {\n return {\n error: false,\n userId: null\n }\n },\n created () {\n const routeParams = this.$route.params\n this.load(routeParams.name || routeParams.id)\n },\n destroyed () {\n this.cleanUp()\n },\n computed: {\n timeline () {\n return this.$store.state.statuses.timelines.user\n },\n favorites () {\n return this.$store.state.statuses.timelines.favorites\n },\n media () {\n return this.$store.state.statuses.timelines.media\n },\n isUs () {\n return this.userId && this.$store.state.users.currentUser.id &&\n this.userId === this.$store.state.users.currentUser.id\n },\n user () {\n return this.$store.getters.findUser(this.userId)\n },\n isExternal () {\n return this.$route.name === 'external-user-profile'\n },\n followsTabVisible () {\n return this.isUs || !this.user.hide_follows\n },\n followersTabVisible () {\n return this.isUs || !this.user.hide_followers\n }\n },\n methods: {\n load (userNameOrId) {\n // Check if user data is already loaded in store\n const user = this.$store.getters.findUser(userNameOrId)\n if (user) {\n this.userId = user.id\n this.fetchTimelines()\n } else {\n this.$store.dispatch('fetchUser', userNameOrId)\n .then(({ id }) => {\n this.userId = id\n this.fetchTimelines()\n })\n .catch((reason) => {\n const errorMessage = get(reason, 'error.error')\n if (errorMessage === 'No user with such user_id') { // Known error\n this.error = this.$t('user_profile.profile_does_not_exist')\n } else if (errorMessage) {\n this.error = errorMessage\n } else {\n this.error = this.$t('user_profile.profile_loading_error')\n }\n })\n }\n },\n fetchTimelines () {\n const userId = this.userId\n this.$store.dispatch('startFetchingTimeline', { timeline: 'user', userId })\n this.$store.dispatch('startFetchingTimeline', { timeline: 'media', userId })\n if (this.isUs) {\n this.$store.dispatch('startFetchingTimeline', { timeline: 'favorites', userId })\n }\n },\n cleanUp () {\n this.$store.dispatch('stopFetching', 'user')\n this.$store.dispatch('stopFetching', 'favorites')\n this.$store.dispatch('stopFetching', 'media')\n this.$store.commit('clearTimeline', { timeline: 'user' })\n this.$store.commit('clearTimeline', { timeline: 'favorites' })\n this.$store.commit('clearTimeline', { timeline: 'media' })\n }\n },\n watch: {\n '$route.params.id': function (newVal) {\n if (newVal) {\n this.cleanUp()\n this.load(newVal)\n }\n },\n '$route.params.name': function (newVal) {\n if (newVal) {\n this.cleanUp()\n this.load(newVal)\n }\n },\n $route () {\n this.$refs.tabSwitcher.activateTab(0)()\n }\n },\n components: {\n UserCard,\n Timeline,\n FollowerList,\n FriendList,\n ModerationTools,\n FollowCard\n }\n}\n\nexport default UserProfile\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_profile/user_profile.js","import FollowCard from '../follow_card/follow_card.vue'\nimport map from 'lodash/map'\n\nconst userSearch = {\n components: {\n FollowCard\n },\n props: [\n 'query'\n ],\n data () {\n return {\n username: '',\n userIds: [],\n loading: false\n }\n },\n computed: {\n users () {\n return this.userIds.map(userId => this.$store.getters.findUser(userId))\n }\n },\n mounted () {\n this.search(this.query)\n },\n watch: {\n query (newV) {\n this.search(newV)\n }\n },\n methods: {\n newQuery (query) {\n this.$router.push({ name: 'user-search', query: { query } })\n this.$refs.userSearchInput.focus()\n },\n search (query) {\n if (!query) {\n this.users = []\n return\n }\n this.loading = true\n this.$store.dispatch('searchUsers', query)\n .then((res) => {\n this.loading = false\n this.userIds = map(res, 'id')\n })\n }\n }\n}\n\nexport default userSearch\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_search/user_search.js","import unescape from 'lodash/unescape'\nimport get from 'lodash/get'\nimport map from 'lodash/map'\nimport reject from 'lodash/reject'\nimport TabSwitcher from '../tab_switcher/tab_switcher.js'\nimport ImageCropper from '../image_cropper/image_cropper.vue'\nimport StyleSwitcher from '../style_switcher/style_switcher.vue'\nimport ScopeSelector from '../scope_selector/scope_selector.vue'\nimport fileSizeFormatService from '../../services/file_size_format/file_size_format.js'\nimport BlockCard from '../block_card/block_card.vue'\nimport MuteCard from '../mute_card/mute_card.vue'\nimport SelectableList from '../selectable_list/selectable_list.vue'\nimport ProgressButton from '../progress_button/progress_button.vue'\nimport EmojiInput from '../emoji-input/emoji-input.vue'\nimport Autosuggest from '../autosuggest/autosuggest.vue'\nimport withSubscription from '../../hocs/with_subscription/with_subscription'\nimport userSearchApi from '../../services/new_api/user_search.js'\n\nconst BlockList = withSubscription({\n fetch: (props, $store) => $store.dispatch('fetchBlocks'),\n select: (props, $store) => get($store.state.users.currentUser, 'blockIds', []),\n childPropName: 'items'\n})(SelectableList)\n\nconst MuteList = withSubscription({\n fetch: (props, $store) => $store.dispatch('fetchMutes'),\n select: (props, $store) => get($store.state.users.currentUser, 'muteIds', []),\n childPropName: 'items'\n})(SelectableList)\n\nconst UserSettings = {\n data () {\n return {\n newName: this.$store.state.users.currentUser.name,\n newBio: unescape(this.$store.state.users.currentUser.description),\n newLocked: this.$store.state.users.currentUser.locked,\n newNoRichText: this.$store.state.users.currentUser.no_rich_text,\n newDefaultScope: this.$store.state.users.currentUser.default_scope,\n hideFollows: this.$store.state.users.currentUser.hide_follows,\n hideFollowers: this.$store.state.users.currentUser.hide_followers,\n showRole: this.$store.state.users.currentUser.show_role,\n role: this.$store.state.users.currentUser.role,\n followList: null,\n followImportError: false,\n followsImported: false,\n enableFollowsExport: true,\n pickAvatarBtnVisible: true,\n bannerUploading: false,\n backgroundUploading: false,\n followListUploading: false,\n bannerPreview: null,\n backgroundPreview: null,\n bannerUploadError: null,\n backgroundUploadError: null,\n deletingAccount: false,\n deleteAccountConfirmPasswordInput: '',\n deleteAccountError: false,\n changePasswordInputs: [ '', '', '' ],\n changedPassword: false,\n changePasswordError: false,\n activeTab: 'profile'\n }\n },\n created () {\n this.$store.dispatch('fetchTokens')\n },\n components: {\n StyleSwitcher,\n ScopeSelector,\n TabSwitcher,\n ImageCropper,\n BlockList,\n MuteList,\n EmojiInput,\n Autosuggest,\n BlockCard,\n MuteCard,\n ProgressButton\n },\n computed: {\n user () {\n return this.$store.state.users.currentUser\n },\n pleromaBackend () {\n return this.$store.state.instance.pleromaBackend\n },\n minimalScopesMode () {\n return this.$store.state.instance.minimalScopesMode\n },\n vis () {\n return {\n public: { selected: this.newDefaultScope === 'public' },\n unlisted: { selected: this.newDefaultScope === 'unlisted' },\n private: { selected: this.newDefaultScope === 'private' },\n direct: { selected: this.newDefaultScope === 'direct' }\n }\n },\n currentSaveStateNotice () {\n return this.$store.state.interface.settings.currentSaveStateNotice\n },\n oauthTokens () {\n return this.$store.state.oauthTokens.tokens.map(oauthToken => {\n return {\n id: oauthToken.id,\n appName: oauthToken.app_name,\n validUntil: new Date(oauthToken.valid_until).toLocaleDateString()\n }\n })\n }\n },\n methods: {\n updateProfile () {\n const name = this.newName\n const description = this.newBio\n const locked = this.newLocked\n // Backend notation.\n /* eslint-disable camelcase */\n const default_scope = this.newDefaultScope\n const no_rich_text = this.newNoRichText\n const hide_follows = this.hideFollows\n const hide_followers = this.hideFollowers\n const show_role = this.showRole\n\n /* eslint-enable camelcase */\n this.$store.state.api.backendInteractor\n .updateProfile({\n params: {\n name,\n description,\n locked,\n // Backend notation.\n /* eslint-disable camelcase */\n default_scope,\n no_rich_text,\n hide_follows,\n hide_followers,\n show_role\n /* eslint-enable camelcase */\n }}).then((user) => {\n if (!user.error) {\n this.$store.commit('addNewUsers', [user])\n this.$store.commit('setCurrentUser', user)\n }\n })\n },\n changeVis (visibility) {\n this.newDefaultScope = visibility\n },\n uploadFile (slot, e) {\n const file = e.target.files[0]\n if (!file) { return }\n if (file.size > this.$store.state.instance[slot + 'limit']) {\n const filesize = fileSizeFormatService.fileSizeFormat(file.size)\n const allowedsize = fileSizeFormatService.fileSizeFormat(this.$store.state.instance[slot + 'limit'])\n this[slot + 'UploadError'] = this.$t('upload.error.base') + ' ' + this.$t('upload.error.file_too_big', {filesize: filesize.num, filesizeunit: filesize.unit, allowedsize: allowedsize.num, allowedsizeunit: allowedsize.unit})\n return\n }\n // eslint-disable-next-line no-undef\n const reader = new FileReader()\n reader.onload = ({target}) => {\n const img = target.result\n this[slot + 'Preview'] = img\n }\n reader.readAsDataURL(file)\n },\n submitAvatar (cropper, file) {\n let img\n if (cropper) {\n img = cropper.getCroppedCanvas().toDataURL(file.type)\n } else {\n img = file\n }\n\n return this.$store.state.api.backendInteractor.updateAvatar({ params: { img } }).then((user) => {\n if (!user.error) {\n this.$store.commit('addNewUsers', [user])\n this.$store.commit('setCurrentUser', user)\n } else {\n throw new Error(this.$t('upload.error.base') + user.error)\n }\n })\n },\n clearUploadError (slot) {\n this[slot + 'UploadError'] = null\n },\n submitBanner () {\n if (!this.bannerPreview) { return }\n\n let banner = this.bannerPreview\n // eslint-disable-next-line no-undef\n let imginfo = new Image()\n /* eslint-disable camelcase */\n let offset_top, offset_left, width, height\n imginfo.src = banner\n width = imginfo.width\n height = imginfo.height\n offset_top = 0\n offset_left = 0\n this.bannerUploading = true\n this.$store.state.api.backendInteractor.updateBanner({params: {banner, offset_top, offset_left, width, height}}).then((data) => {\n if (!data.error) {\n let clone = JSON.parse(JSON.stringify(this.$store.state.users.currentUser))\n clone.cover_photo = data.url\n this.$store.commit('addNewUsers', [clone])\n this.$store.commit('setCurrentUser', clone)\n this.bannerPreview = null\n } else {\n this.bannerUploadError = this.$t('upload.error.base') + data.error\n }\n this.bannerUploading = false\n })\n /* eslint-enable camelcase */\n },\n submitBg () {\n if (!this.backgroundPreview) { return }\n let img = this.backgroundPreview\n // eslint-disable-next-line no-undef\n let imginfo = new Image()\n let cropX, cropY, cropW, cropH\n imginfo.src = img\n cropX = 0\n cropY = 0\n cropW = imginfo.width\n cropH = imginfo.width\n this.backgroundUploading = true\n this.$store.state.api.backendInteractor.updateBg({params: {img, cropX, cropY, cropW, cropH}}).then((data) => {\n if (!data.error) {\n let clone = JSON.parse(JSON.stringify(this.$store.state.users.currentUser))\n clone.background_image = data.url\n this.$store.commit('addNewUsers', [clone])\n this.$store.commit('setCurrentUser', clone)\n this.backgroundPreview = null\n } else {\n this.backgroundUploadError = this.$t('upload.error.base') + data.error\n }\n this.backgroundUploading = false\n })\n },\n importFollows () {\n this.followListUploading = true\n const followList = this.followList\n this.$store.state.api.backendInteractor.followImport({params: followList})\n .then((status) => {\n if (status) {\n this.followsImported = true\n } else {\n this.followImportError = true\n }\n this.followListUploading = false\n })\n },\n /* This function takes an Array of Users\n * and outputs a file with all the addresses for the user to download\n */\n exportPeople (users, filename) {\n // Get all the friends addresses\n var UserAddresses = users.map(function (user) {\n // check is it's a local user\n if (user && user.is_local) {\n // append the instance address\n // eslint-disable-next-line no-undef\n user.screen_name += '@' + location.hostname\n }\n return user.screen_name\n }).join('\\n')\n // Make the user download the file\n var fileToDownload = document.createElement('a')\n fileToDownload.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(UserAddresses))\n fileToDownload.setAttribute('download', filename)\n fileToDownload.style.display = 'none'\n document.body.appendChild(fileToDownload)\n fileToDownload.click()\n document.body.removeChild(fileToDownload)\n },\n exportFollows () {\n this.enableFollowsExport = false\n this.$store.state.api.backendInteractor\n .exportFriends({\n id: this.$store.state.users.currentUser.id\n })\n .then((friendList) => {\n this.exportPeople(friendList, 'friends.csv')\n setTimeout(() => { this.enableFollowsExport = true }, 2000)\n })\n },\n followListChange () {\n // eslint-disable-next-line no-undef\n let formData = new FormData()\n formData.append('list', this.$refs.followlist.files[0])\n this.followList = formData\n },\n dismissImported () {\n this.followsImported = false\n this.followImportError = false\n },\n confirmDelete () {\n this.deletingAccount = true\n },\n deleteAccount () {\n this.$store.state.api.backendInteractor.deleteAccount({password: this.deleteAccountConfirmPasswordInput})\n .then((res) => {\n if (res.status === 'success') {\n this.$store.dispatch('logout')\n this.$router.push({name: 'root'})\n } else {\n this.deleteAccountError = res.error\n }\n })\n },\n changePassword () {\n const params = {\n password: this.changePasswordInputs[0],\n newPassword: this.changePasswordInputs[1],\n newPasswordConfirmation: this.changePasswordInputs[2]\n }\n this.$store.state.api.backendInteractor.changePassword(params)\n .then((res) => {\n if (res.status === 'success') {\n this.changedPassword = true\n this.changePasswordError = false\n this.logout()\n } else {\n this.changedPassword = false\n this.changePasswordError = res.error\n }\n })\n },\n activateTab (tabName) {\n this.activeTab = tabName\n },\n logout () {\n this.$store.dispatch('logout')\n this.$router.replace('/')\n },\n revokeToken (id) {\n if (window.confirm(`${this.$i18n.t('settings.revoke_token')}?`)) {\n this.$store.dispatch('revokeToken', id)\n }\n },\n filterUnblockedUsers (userIds) {\n return reject(userIds, (userId) => {\n const user = this.$store.getters.findUser(userId)\n return !user || user.statusnet_blocking || user.id === this.$store.state.users.currentUser.id\n })\n },\n filterUnMutedUsers (userIds) {\n return reject(userIds, (userId) => {\n const user = this.$store.getters.findUser(userId)\n return !user || user.muted || user.id === this.$store.state.users.currentUser.id\n })\n },\n queryUserIds (query) {\n return userSearchApi.search({query, store: this.$store})\n .then((users) => {\n this.$store.dispatch('addNewUsers', users)\n return map(users, 'id')\n })\n },\n blockUsers (ids) {\n return this.$store.dispatch('blockUsers', ids)\n },\n unblockUsers (ids) {\n return this.$store.dispatch('unblockUsers', ids)\n },\n muteUsers (ids) {\n return this.$store.dispatch('muteUsers', ids)\n },\n unmuteUsers (ids) {\n return this.$store.dispatch('unmuteUsers', ids)\n },\n identity (value) {\n return value\n }\n }\n}\n\nexport default UserSettings\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_settings/user_settings.js","\nconst VideoAttachment = {\n props: ['attachment', 'controls'],\n data () {\n return {\n loopVideo: this.$store.state.config.loopVideo\n }\n },\n methods: {\n onVideoDataLoad (e) {\n const target = e.srcElement || e.target\n if (typeof target.webkitAudioDecodedByteCount !== 'undefined') {\n // non-zero if video has audio track\n if (target.webkitAudioDecodedByteCount > 0) {\n this.loopVideo = this.loopVideo && !this.$store.state.config.loopVideoSilentOnly\n }\n } else if (typeof target.mozHasAudio !== 'undefined') {\n // true if video has audio track\n if (target.mozHasAudio) {\n this.loopVideo = this.loopVideo && !this.$store.state.config.loopVideoSilentOnly\n }\n } else if (typeof target.audioTracks !== 'undefined') {\n if (target.audioTracks.length > 0) {\n this.loopVideo = this.loopVideo && !this.$store.state.config.loopVideoSilentOnly\n }\n }\n }\n }\n}\n\nexport default VideoAttachment\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/video_attachment/video_attachment.js","import apiService from '../../services/api/api.service.js'\nimport FollowCard from '../follow_card/follow_card.vue'\n\nconst WhoToFollow = {\n components: {\n FollowCard\n },\n data () {\n return {\n users: []\n }\n },\n mounted () {\n this.getWhoToFollow()\n },\n methods: {\n showWhoToFollow (reply) {\n reply.forEach((i, index) => {\n const user = {\n id: 0,\n name: i.display_name,\n screen_name: i.acct,\n profile_image_url: i.avatar || '/images/avi.png'\n }\n this.users.push(user)\n\n this.$store.state.api.backendInteractor.externalProfile(user.screen_name)\n .then((externalUser) => {\n if (!externalUser.error) {\n this.$store.commit('addNewUsers', [externalUser])\n user.id = externalUser.id\n }\n })\n })\n },\n getWhoToFollow () {\n const credentials = this.$store.state.users.currentUser.credentials\n if (credentials) {\n apiService.suggestions({credentials: credentials})\n .then((reply) => {\n this.showWhoToFollow(reply)\n })\n }\n }\n }\n}\n\nexport default WhoToFollow\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/who_to_follow/who_to_follow.js","import apiService from '../../services/api/api.service.js'\nimport generateProfileLink from 'src/services/user_profile_link_generator/user_profile_link_generator'\nimport { shuffle } from 'lodash'\n\nfunction showWhoToFollow (panel, reply) {\n const shuffled = shuffle(reply)\n\n panel.usersToFollow.forEach((toFollow, index) => {\n let user = shuffled[index]\n let img = user.avatar || '/images/avi.png'\n let name = user.acct\n\n toFollow.img = img\n toFollow.name = name\n\n panel.$store.state.api.backendInteractor.externalProfile(name)\n .then((externalUser) => {\n if (!externalUser.error) {\n panel.$store.commit('addNewUsers', [externalUser])\n toFollow.id = externalUser.id\n }\n })\n })\n}\n\nfunction getWhoToFollow (panel) {\n var credentials = panel.$store.state.users.currentUser.credentials\n if (credentials) {\n panel.usersToFollow.forEach(toFollow => {\n toFollow.name = 'Loading...'\n })\n apiService.suggestions({credentials: credentials})\n .then((reply) => {\n showWhoToFollow(panel, reply)\n })\n }\n}\n\nconst WhoToFollowPanel = {\n data: () => ({\n usersToFollow: new Array(3).fill().map(x => (\n {\n img: '/images/avi.png',\n name: '',\n id: 0\n }\n ))\n }),\n computed: {\n user: function () {\n return this.$store.state.users.currentUser.screen_name\n },\n suggestionsEnabled () {\n return this.$store.state.instance.suggestionsEnabled\n }\n },\n methods: {\n userProfileLink (id, name) {\n return generateProfileLink(id, name, this.$store.state.instance.restrictedNicknames)\n }\n },\n watch: {\n user: function (user, oldUser) {\n if (this.suggestionsEnabled) {\n getWhoToFollow(this)\n }\n }\n },\n mounted:\n function () {\n if (this.suggestionsEnabled) {\n getWhoToFollow(this)\n }\n }\n}\n\nexport default WhoToFollowPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/who_to_follow_panel/who_to_follow_panel.js","module.exports = {\"chat\":{\"title\":\"الدردشة\"},\"features_panel\":{\"chat\":\"الدردشة\",\"gopher\":\"غوفر\",\"media_proxy\":\"بروكسي الوسائط\",\"scope_options\":\"\",\"text_limit\":\"الحد الأقصى للنص\",\"title\":\"الميّزات\",\"who_to_follow\":\"للمتابعة\"},\"finder\":{\"error_fetching_user\":\"خطأ أثناء جلب صفحة المستخدم\",\"find_user\":\"البحث عن مستخدِم\"},\"general\":{\"apply\":\"تطبيق\",\"submit\":\"إرسال\"},\"login\":{\"login\":\"تسجيل الدخول\",\"logout\":\"الخروج\",\"password\":\"الكلمة السرية\",\"placeholder\":\"مثال lain\",\"register\":\"انشاء حساب\",\"username\":\"إسم المستخدم\"},\"nav\":{\"chat\":\"الدردشة المحلية\",\"friend_requests\":\"طلبات المتابَعة\",\"mentions\":\"الإشارات\",\"public_tl\":\"الخيط الزمني العام\",\"timeline\":\"الخيط الزمني\",\"twkn\":\"كافة الشبكة المعروفة\"},\"notifications\":{\"broken_favorite\":\"منشور مجهول، جارٍ البحث عنه…\",\"favorited_you\":\"أعجِب بمنشورك\",\"followed_you\":\"يُتابعك\",\"load_older\":\"تحميل الإشعارات الأقدم\",\"notifications\":\"الإخطارات\",\"read\":\"مقروء!\",\"repeated_you\":\"شارَك منشورك\"},\"post_status\":{\"account_not_locked_warning\":\"\",\"account_not_locked_warning_link\":\"مقفل\",\"attachments_sensitive\":\"اعتبر المرفقات كلها كمحتوى حساس\",\"content_type\":{\"text/plain\":\"نص صافٍ\"},\"content_warning\":\"الموضوع (اختياري)\",\"default\":\"وصلت للتوّ إلى لوس أنجلس.\",\"direct_warning\":\"\",\"posting\":\"النشر\",\"scope\":{\"direct\":\"\",\"private\":\"\",\"public\":\"علني - يُنشر على الخيوط الزمنية العمومية\",\"unlisted\":\"غير مُدرَج - لا يُنشَر على الخيوط الزمنية العمومية\"}},\"registration\":{\"bio\":\"السيرة الذاتية\",\"email\":\"عنوان البريد الإلكتروني\",\"fullname\":\"الإسم المعروض\",\"password_confirm\":\"تأكيد الكلمة السرية\",\"registration\":\"التسجيل\",\"token\":\"رمز الدعوة\"},\"settings\":{\"attachmentRadius\":\"المُرفَقات\",\"attachments\":\"المُرفَقات\",\"autoload\":\"\",\"avatar\":\"الصورة الرمزية\",\"avatarAltRadius\":\"الصور الرمزية (الإشعارات)\",\"avatarRadius\":\"الصور الرمزية\",\"background\":\"الخلفية\",\"bio\":\"السيرة الذاتية\",\"btnRadius\":\"الأزرار\",\"cBlue\":\"أزرق (الرد، المتابَعة)\",\"cGreen\":\"أخضر (إعادة النشر)\",\"cOrange\":\"برتقالي (مفضلة)\",\"cRed\":\"أحمر (إلغاء)\",\"change_password\":\"تغيير كلمة السر\",\"change_password_error\":\"وقع هناك خلل أثناء تعديل كلمتك السرية.\",\"changed_password\":\"تم تغيير كلمة المرور بنجاح!\",\"collapse_subject\":\"\",\"confirm_new_password\":\"تأكيد كلمة السر الجديدة\",\"current_avatar\":\"صورتك الرمزية الحالية\",\"current_password\":\"كلمة السر الحالية\",\"current_profile_banner\":\"الرأسية الحالية لصفحتك الشخصية\",\"data_import_export_tab\":\"تصدير واستيراد البيانات\",\"default_vis\":\"أسلوب العرض الافتراضي\",\"delete_account\":\"حذف الحساب\",\"delete_account_description\":\"حذف حسابك و كافة منشوراتك نهائيًا.\",\"delete_account_error\":\"\",\"delete_account_instructions\":\"يُرجى إدخال كلمتك السرية أدناه لتأكيد عملية حذف الحساب.\",\"export_theme\":\"حفظ النموذج\",\"filtering\":\"التصفية\",\"filtering_explanation\":\"سيتم إخفاء كافة المنشورات التي تحتوي على هذه الكلمات، كلمة واحدة في كل سطر\",\"follow_export\":\"تصدير الاشتراكات\",\"follow_export_button\":\"تصدير الاشتراكات كملف csv\",\"follow_export_processing\":\"التصدير جارٍ، سوف يُطلَب منك تنزيل ملفك بعد حين\",\"follow_import\":\"استيراد الاشتراكات\",\"follow_import_error\":\"خطأ أثناء استيراد المتابِعين\",\"follows_imported\":\"\",\"foreground\":\"الأمامية\",\"general\":\"الإعدادات العامة\",\"hide_attachments_in_convo\":\"إخفاء المرفقات على المحادثات\",\"hide_attachments_in_tl\":\"إخفاء المرفقات على الخيط الزمني\",\"hide_post_stats\":\"\",\"hide_user_stats\":\"\",\"import_followers_from_a_csv_file\":\"\",\"import_theme\":\"تحميل نموذج\",\"inputRadius\":\"\",\"instance_default\":\"\",\"interfaceLanguage\":\"لغة الواجهة\",\"invalid_theme_imported\":\"\",\"limited_availability\":\"غير متوفر على متصفحك\",\"links\":\"الروابط\",\"lock_account_description\":\"\",\"loop_video\":\"\",\"loop_video_silent_only\":\"\",\"name\":\"الاسم\",\"name_bio\":\"الاسم والسيرة الذاتية\",\"new_password\":\"كلمة السر الجديدة\",\"no_rich_text_description\":\"\",\"notification_visibility\":\"نوع الإشعارات التي تريد عرضها\",\"notification_visibility_follows\":\"يتابع\",\"notification_visibility_likes\":\"الإعجابات\",\"notification_visibility_mentions\":\"الإشارات\",\"notification_visibility_repeats\":\"\",\"nsfw_clickthrough\":\"\",\"oauth_tokens\":\"رموز OAuth\",\"token\":\"رمز\",\"refresh_token\":\"رمز التحديث\",\"valid_until\":\"صالح حتى\",\"revoke_token\":\"سحب\",\"panelRadius\":\"\",\"pause_on_unfocused\":\"\",\"presets\":\"النماذج\",\"profile_background\":\"خلفية الصفحة الشخصية\",\"profile_banner\":\"رأسية الصفحة الشخصية\",\"profile_tab\":\"الملف الشخصي\",\"radii_help\":\"\",\"replies_in_timeline\":\"الردود على الخيط الزمني\",\"reply_link_preview\":\"\",\"reply_visibility_all\":\"عرض كافة الردود\",\"reply_visibility_following\":\"\",\"reply_visibility_self\":\"\",\"saving_err\":\"خطأ أثناء حفظ الإعدادات\",\"saving_ok\":\"تم حفظ الإعدادات\",\"security_tab\":\"الأمان\",\"set_new_avatar\":\"اختيار صورة رمزية جديدة\",\"set_new_profile_background\":\"اختيار خلفية جديدة للملف الشخصي\",\"set_new_profile_banner\":\"اختيار رأسية جديدة للصفحة الشخصية\",\"settings\":\"الإعدادات\",\"stop_gifs\":\"\",\"streaming\":\"\",\"text\":\"النص\",\"theme\":\"المظهر\",\"theme_help\":\"\",\"tooltipRadius\":\"\",\"user_settings\":\"إعدادات المستخدم\",\"values\":{\"false\":\"لا\",\"true\":\"نعم\"}},\"timeline\":{\"collapse\":\"\",\"conversation\":\"محادثة\",\"error_fetching\":\"خطأ أثناء جلب التحديثات\",\"load_older\":\"تحميل المنشورات القديمة\",\"no_retweet_hint\":\"\",\"repeated\":\"\",\"show_new\":\"عرض الجديد\",\"up_to_date\":\"تم تحديثه\"},\"user_card\":{\"approve\":\"قبول\",\"block\":\"حظر\",\"blocked\":\"تم حظره!\",\"deny\":\"رفض\",\"follow\":\"اتبع\",\"followees\":\"\",\"followers\":\"مُتابِعون\",\"following\":\"\",\"follows_you\":\"يتابعك!\",\"mute\":\"كتم\",\"muted\":\"تم كتمه\",\"per_day\":\"في اليوم\",\"remote_follow\":\"مُتابَعة عن بُعد\",\"statuses\":\"المنشورات\"},\"user_profile\":{\"timeline_title\":\"الخيط الزمني للمستخدم\"},\"who_to_follow\":{\"more\":\"المزيد\",\"who_to_follow\":\"للمتابعة\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/ar.json\n// module id = 484\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Xat\"},\"features_panel\":{\"chat\":\"Xat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Proxy per multimèdia\",\"scope_options\":\"Opcions d'abast i visibilitat\",\"text_limit\":\"Límit de text\",\"title\":\"Funcionalitats\",\"who_to_follow\":\"A qui seguir\"},\"finder\":{\"error_fetching_user\":\"No s'ha pogut carregar l'usuari/a\",\"find_user\":\"Find user\"},\"general\":{\"apply\":\"Aplica\",\"submit\":\"Desa\"},\"login\":{\"login\":\"Inicia sessió\",\"logout\":\"Tanca la sessió\",\"password\":\"Contrasenya\",\"placeholder\":\"p.ex.: Maria\",\"register\":\"Registra't\",\"username\":\"Nom d'usuari/a\"},\"nav\":{\"chat\":\"Xat local públic\",\"friend_requests\":\"Soŀlicituds de connexió\",\"mentions\":\"Mencions\",\"public_tl\":\"Flux públic del node\",\"timeline\":\"Flux personal\",\"twkn\":\"Flux de la xarxa coneguda\"},\"notifications\":{\"broken_favorite\":\"No es coneix aquest estat. S'està cercant.\",\"favorited_you\":\"ha marcat un estat teu\",\"followed_you\":\"ha començat a seguir-te\",\"load_older\":\"Carrega més notificacions\",\"notifications\":\"Notificacions\",\"read\":\"Read!\",\"repeated_you\":\"ha repetit el teu estat\"},\"post_status\":{\"account_not_locked_warning\":\"El teu compte no està {0}. Qualsevol persona pot seguir-te per llegir les teves entrades reservades només a seguidores.\",\"account_not_locked_warning_link\":\"bloquejat\",\"attachments_sensitive\":\"Marca l'adjunt com a delicat\",\"content_type\":{\"text/plain\":\"Text pla\"},\"content_warning\":\"Assumpte (opcional)\",\"default\":\"Em sento…\",\"direct_warning\":\"Aquesta entrada només serà visible per les usuràries que etiquetis\",\"posting\":\"Publicació\",\"scope\":{\"direct\":\"Directa - Publica només per les usuàries etiquetades\",\"private\":\"Només seguidors/es - Publica només per comptes que et segueixin\",\"public\":\"Pública - Publica als fluxos públics\",\"unlisted\":\"Silenciosa - No la mostris en fluxos públics\"}},\"registration\":{\"bio\":\"Presentació\",\"email\":\"Correu\",\"fullname\":\"Nom per mostrar\",\"password_confirm\":\"Confirma la contrasenya\",\"registration\":\"Registra't\",\"token\":\"Codi d'invitació\"},\"settings\":{\"attachmentRadius\":\"Adjunts\",\"attachments\":\"Adjunts\",\"autoload\":\"Recarrega automàticament en arribar a sota de tot.\",\"avatar\":\"Avatar\",\"avatarAltRadius\":\"Avatars en les notificacions\",\"avatarRadius\":\"Avatars\",\"background\":\"Fons de pantalla\",\"bio\":\"Presentació\",\"btnRadius\":\"Botons\",\"cBlue\":\"Blau (respon, segueix)\",\"cGreen\":\"Verd (republica)\",\"cOrange\":\"Taronja (marca com a preferit)\",\"cRed\":\"Vermell (canceŀla)\",\"change_password\":\"Canvia la contrasenya\",\"change_password_error\":\"No s'ha pogut canviar la contrasenya\",\"changed_password\":\"S'ha canviat la contrasenya\",\"collapse_subject\":\"Replega les entrades amb títol\",\"confirm_new_password\":\"Confirma la nova contrasenya\",\"current_avatar\":\"L'avatar actual\",\"current_password\":\"La contrasenya actual\",\"current_profile_banner\":\"El fons de perfil actual\",\"data_import_export_tab\":\"Importa o exporta dades\",\"default_vis\":\"Abast per defecte de les entrades\",\"delete_account\":\"Esborra el compte\",\"delete_account_description\":\"Esborra permanentment el teu compte i tots els missatges\",\"delete_account_error\":\"No s'ha pogut esborrar el compte. Si continua el problema, contacta amb l'administració del node\",\"delete_account_instructions\":\"Confirma que vols esborrar el compte escrivint la teva contrasenya aquí sota\",\"export_theme\":\"Desa el tema\",\"filtering\":\"Filtres\",\"filtering_explanation\":\"Es silenciaran totes les entrades que continguin aquestes paraules. Separa-les per línies\",\"follow_export\":\"Exporta la llista de contactes\",\"follow_export_button\":\"Exporta tots els comptes que segueixes a un fitxer CSV\",\"follow_export_processing\":\"S'està processant la petició. Aviat podràs descarregar el fitxer\",\"follow_import\":\"Importa els contactes\",\"follow_import_error\":\"No s'ha pogut importar els contactes\",\"follows_imported\":\"S'han importat els contactes. Trigaran una estoneta en ser processats.\",\"foreground\":\"Primer pla\",\"general\":\"General\",\"hide_attachments_in_convo\":\"Amaga els adjunts en les converses\",\"hide_attachments_in_tl\":\"Amaga els adjunts en el flux d'entrades\",\"import_followers_from_a_csv_file\":\"Importa els contactes des d'un fitxer CSV\",\"import_theme\":\"Carrega un tema\",\"inputRadius\":\"Caixes d'entrada de text\",\"instance_default\":\"(default: {value})\",\"interfaceLanguage\":\"Llengua de la interfície\",\"invalid_theme_imported\":\"No s'ha entès l'arxiu carregat perquè no és un tema vàlid de Pleroma. No s'ha fet cap canvi als temes actuals.\",\"limited_availability\":\"No està disponible en aquest navegador\",\"links\":\"Enllaços\",\"lock_account_description\":\"Restringeix el teu compte només a seguidores aprovades.\",\"loop_video\":\"Reprodueix els vídeos en bucle\",\"loop_video_silent_only\":\"Reprodueix en bucles només els vídeos sense so (com els \\\"GIF\\\" de Mastodon)\",\"name\":\"Nom\",\"name_bio\":\"Nom i presentació\",\"new_password\":\"Contrasenya nova\",\"notification_visibility\":\"Notifica'm quan algú\",\"notification_visibility_follows\":\"Comença a seguir-me\",\"notification_visibility_likes\":\"Marca com a preferida una entrada meva\",\"notification_visibility_mentions\":\"Em menciona\",\"notification_visibility_repeats\":\"Republica una entrada meva\",\"no_rich_text_description\":\"Neteja el formatat de text de totes les entrades\",\"nsfw_clickthrough\":\"Amaga el contingut NSFW darrer d'una imatge clicable\",\"oauth_tokens\":\"Llistats OAuth\",\"token\":\"Token\",\"refresh_token\":\"Actualitza el token\",\"valid_until\":\"Vàlid fins\",\"revoke_token\":\"Revocar\",\"panelRadius\":\"Panells\",\"pause_on_unfocused\":\"Pausa la reproducció en continu quan la pestanya perdi el focus\",\"presets\":\"Temes\",\"profile_background\":\"Fons de pantalla\",\"profile_banner\":\"Fons de perfil\",\"profile_tab\":\"Perfil\",\"radii_help\":\"Configura l'arrodoniment de les vores (en píxels)\",\"replies_in_timeline\":\"Replies in timeline\",\"reply_link_preview\":\"Mostra el missatge citat en passar el ratolí per sobre de l'enllaç de resposta\",\"reply_visibility_all\":\"Mostra totes les respostes\",\"reply_visibility_following\":\"Mostra només les respostes a entrades meves o d'usuàries que jo segueixo\",\"reply_visibility_self\":\"Mostra només les respostes a entrades meves\",\"saving_err\":\"No s'ha pogut desar la configuració\",\"saving_ok\":\"S'ha desat la configuració\",\"security_tab\":\"Seguretat\",\"set_new_avatar\":\"Canvia l'avatar\",\"set_new_profile_background\":\"Canvia el fons de pantalla\",\"set_new_profile_banner\":\"Canvia el fons del perfil\",\"settings\":\"Configuració\",\"stop_gifs\":\"Anima els GIF només en passar-hi el ratolí per sobre\",\"streaming\":\"Carrega automàticament entrades noves quan estigui a dalt de tot\",\"text\":\"Text\",\"theme\":\"Tema\",\"theme_help\":\"Personalitza els colors del tema. Escriu-los en format RGB hexadecimal (#rrggbb)\",\"tooltipRadius\":\"Missatges sobreposats\",\"user_settings\":\"Configuració personal\",\"values\":{\"false\":\"no\",\"true\":\"sí\"}},\"timeline\":{\"collapse\":\"Replega\",\"conversation\":\"Conversa\",\"error_fetching\":\"S'ha produït un error en carregar les entrades\",\"load_older\":\"Carrega entrades anteriors\",\"no_retweet_hint\":\"L'entrada és només per a seguidores o és \\\"directa\\\", i per tant no es pot republicar\",\"repeated\":\"republicat\",\"show_new\":\"Mostra els nous\",\"up_to_date\":\"Actualitzat\"},\"user_card\":{\"approve\":\"Aprova\",\"block\":\"Bloqueja\",\"blocked\":\"Bloquejat!\",\"deny\":\"Denega\",\"follow\":\"Segueix\",\"followees\":\"Segueixo\",\"followers\":\"Seguidors/es\",\"following\":\"Seguint!\",\"follows_you\":\"Et segueix!\",\"mute\":\"Silencia\",\"muted\":\"Silenciat\",\"per_day\":\"per dia\",\"remote_follow\":\"Seguiment remot\",\"statuses\":\"Estats\"},\"user_profile\":{\"timeline_title\":\"Flux personal\"},\"who_to_follow\":{\"more\":\"More\",\"who_to_follow\":\"A qui seguir\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/ca.json\n// module id = 485\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Chat\"},\"features_panel\":{\"chat\":\"Chat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Mediální proxy\",\"scope_options\":\"Možnosti rozsahů\",\"text_limit\":\"Textový limit\",\"title\":\"Vlastnosti\",\"who_to_follow\":\"Koho sledovat\"},\"finder\":{\"error_fetching_user\":\"Chyba při načítání uživatele\",\"find_user\":\"Najít uživatele\"},\"general\":{\"apply\":\"Použít\",\"submit\":\"Odeslat\",\"more\":\"Více\",\"generic_error\":\"Vyskytla se chyba\",\"optional\":\"volitelné\"},\"image_cropper\":{\"crop_picture\":\"Oříznout obrázek\",\"save\":\"Uložit\",\"cancel\":\"Zrušit\"},\"login\":{\"login\":\"Přihlásit\",\"description\":\"Přihlásit pomocí OAuth\",\"logout\":\"Odhlásit\",\"password\":\"Heslo\",\"placeholder\":\"např. lain\",\"register\":\"Registrovat\",\"username\":\"Uživatelské jméno\",\"hint\":\"Chcete-li se přidat do diskuze, přihlaste se\"},\"media_modal\":{\"previous\":\"Předchozí\",\"next\":\"Další\"},\"nav\":{\"about\":\"O instanci\",\"back\":\"Zpět\",\"chat\":\"Místní chat\",\"friend_requests\":\"Požadavky o sledování\",\"mentions\":\"Zmínky\",\"dms\":\"Přímé zprávy\",\"public_tl\":\"Veřejná časová osa\",\"timeline\":\"Časová osa\",\"twkn\":\"Celá známá síť\",\"user_search\":\"Hledání uživatelů\",\"who_to_follow\":\"Koho sledovat\",\"preferences\":\"Předvolby\"},\"notifications\":{\"broken_favorite\":\"Neznámý příspěvek, hledám jej…\",\"favorited_you\":\"si oblíbil/a váš příspěvek\",\"followed_you\":\"vás nyní sleduje\",\"load_older\":\"Načíst starší oznámení\",\"notifications\":\"Oznámení\",\"read\":\"Číst!\",\"repeated_you\":\"zopakoval/a váš příspěvek\",\"no_more_notifications\":\"Žádná další oznámení\"},\"post_status\":{\"new_status\":\"Napsat nový příspěvek\",\"account_not_locked_warning\":\"Váš účet není {0}. Kdokoliv vás může sledovat a vidět vaše příspěvky pouze pro sledující.\",\"account_not_locked_warning_link\":\"uzamčen\",\"attachments_sensitive\":\"Označovat přílohy jako citlivé\",\"content_type\":{\"text/plain\":\"Prostý text\",\"text/html\":\"HTML\",\"text/markdown\":\"Markdown\",\"text/bbcode\":\"BBCode\"},\"content_warning\":\"Předmět (volitelný)\",\"default\":\"Právě jsem přistál v L.A.\",\"direct_warning\":\"Tento příspěvek uvidí pouze všichni zmínění uživatelé.\",\"posting\":\"Přispívání\",\"scope\":{\"direct\":\"Přímý - Poslat pouze zmíněným uživatelům\",\"private\":\"Pouze pro sledující - Poslat pouze sledujícím\",\"public\":\"Veřejný - Poslat na veřejné časové osy\",\"unlisted\":\"Neuvedený - Neposlat na veřejné časové osy\"}},\"registration\":{\"bio\":\"O vás\",\"email\":\"E-mail\",\"fullname\":\"Zobrazované jméno\",\"password_confirm\":\"Potvrzení hesla\",\"registration\":\"Registrace\",\"token\":\"Token pozvánky\",\"captcha\":\"CAPTCHA\",\"new_captcha\":\"Kliknutím na obrázek získáte novou CAPTCHA\",\"username_placeholder\":\"např. lain\",\"fullname_placeholder\":\"např. Lain Iwakura\",\"bio_placeholder\":\"např.\\nNazdar, jsem Lain\\nJsem anime dívka žijící v příměstském Japonsku. Možná mě znáte z Wired.\",\"validations\":{\"username_required\":\"nemůže být prázdné\",\"fullname_required\":\"nemůže být prázdné\",\"email_required\":\"nemůže být prázdný\",\"password_required\":\"nemůže být prázdné\",\"password_confirmation_required\":\"nemůže být prázdné\",\"password_confirmation_match\":\"musí být stejné jako heslo\"}},\"settings\":{\"app_name\":\"Název aplikace\",\"attachmentRadius\":\"Přílohy\",\"attachments\":\"Přílohy\",\"autoload\":\"Povolit automatické načítání při rolování dolů\",\"avatar\":\"Avatar\",\"avatarAltRadius\":\"Avatary (oznámení)\",\"avatarRadius\":\"Avatary\",\"background\":\"Pozadí\",\"bio\":\"O vás\",\"blocks_tab\":\"Blokování\",\"btnRadius\":\"Tlačítka\",\"cBlue\":\"Modrá (Odpovědět, sledovat)\",\"cGreen\":\"Zelená (Zopakovat)\",\"cOrange\":\"Oranžová (Oblíbit)\",\"cRed\":\"Červená (Zrušit)\",\"change_password\":\"Změnit heslo\",\"change_password_error\":\"Při změně vašeho hesla se vyskytla chyba.\",\"changed_password\":\"Heslo bylo úspěšně změněno!\",\"collapse_subject\":\"Zabalit příspěvky s předměty\",\"composing\":\"Komponování\",\"confirm_new_password\":\"Potvrďte nové heslo\",\"current_avatar\":\"Váš současný avatar\",\"current_password\":\"Současné heslo\",\"current_profile_banner\":\"Váš současný profilový banner\",\"data_import_export_tab\":\"Import/export dat\",\"default_vis\":\"Výchozí rozsah viditelnosti\",\"delete_account\":\"Smazat účet\",\"delete_account_description\":\"Trvale smaže váš účet a všechny vaše příspěvky.\",\"delete_account_error\":\"Při mazání vašeho účtu nastala chyba. Pokud tato chyba bude trvat, kontaktujte prosím admministrátora vaší instance.\",\"delete_account_instructions\":\"Pro potvrzení smazání účtu napište své heslo do pole níže.\",\"avatar_size_instruction\":\"Doporučená minimální velikost pro avatarové obrázky je 150x150 pixelů.\",\"export_theme\":\"Uložit přednastavení\",\"filtering\":\"Filtrování\",\"filtering_explanation\":\"Všechny příspěvky obsahující tato slova budou skryty. Napište jedno slovo na každý řádek\",\"follow_export\":\"Export sledovaných\",\"follow_export_button\":\"Exportovat vaše sledované do souboru CSV\",\"follow_export_processing\":\"Zpracovávám, brzy si budete moci stáhnout váš soubor\",\"follow_import\":\"Import sledovaných\",\"follow_import_error\":\"Chyba při importování sledovaných\",\"follows_imported\":\"Sledovaní importováni! Jejich zpracování bude chvilku trvat.\",\"foreground\":\"Popředí\",\"general\":\"Obecné\",\"hide_attachments_in_convo\":\"Skrývat přílohy v konverzacích\",\"hide_attachments_in_tl\":\"Skrývat přílohy v časové ose\",\"max_thumbnails\":\"Maximální počet miniatur na příspěvek\",\"hide_isp\":\"Skrýt panel specifický pro instanci\",\"preload_images\":\"Přednačítat obrázky\",\"use_one_click_nsfw\":\"Otevírat citlivé přílohy pouze jedním kliknutím\",\"hide_post_stats\":\"Skrývat statistiky příspěvků (např. počet oblíbení)\",\"hide_user_stats\":\"Skrývat statistiky uživatelů (např. počet sledujících)\",\"hide_filtered_statuses\":\"Skrývat filtrované příspěvky\",\"import_followers_from_a_csv_file\":\"Importovat sledované ze souboru CSV\",\"import_theme\":\"Načíst přednastavení\",\"inputRadius\":\"Vstupní pole\",\"checkboxRadius\":\"Zaškrtávací pole\",\"instance_default\":\"(výchozí: {value})\",\"instance_default_simple\":\"(výchozí)\",\"interface\":\"Rozhraní\",\"interfaceLanguage\":\"Jazyk rozhraní\",\"invalid_theme_imported\":\"Zvolený soubor není podporovaný motiv Pleroma. Nebyly provedeny žádné změny s vaším motivem.\",\"limited_availability\":\"Nedostupné ve vašem prohlížeči\",\"links\":\"Odkazy\",\"lock_account_description\":\"Omezit váš účet pouze na schválené sledující\",\"loop_video\":\"Opakovat videa\",\"loop_video_silent_only\":\"Opakovat pouze videa beze zvuku (t.j. „GIFy“ na Mastodonu)\",\"mutes_tab\":\"Ignorování\",\"play_videos_in_modal\":\"Přehrávat videa přímo v prohlížeči médií\",\"use_contain_fit\":\"Neořezávat přílohu v miniaturách\",\"name\":\"Jméno\",\"name_bio\":\"Jméno a popis\",\"new_password\":\"Nové heslo\",\"notification_visibility\":\"Typy oznámení k zobrazení\",\"notification_visibility_follows\":\"Sledující\",\"notification_visibility_likes\":\"Oblíbení\",\"notification_visibility_mentions\":\"Zmínky\",\"notification_visibility_repeats\":\"Zopakování\",\"no_rich_text_description\":\"Odstranit ze všech příspěvků formátování textu\",\"no_blocks\":\"Žádná blokování\",\"no_mutes\":\"Žádná ignorování\",\"hide_follows_description\":\"Nezobrazovat, koho sleduji\",\"hide_followers_description\":\"Nezobrazovat, kdo mě sleduje\",\"show_admin_badge\":\"Zobrazovat v mém profilu odznak administrátora\",\"show_moderator_badge\":\"Zobrazovat v mém profilu odznak moderátora\",\"nsfw_clickthrough\":\"Povolit prokliknutelné skrývání citlivých příloh\",\"oauth_tokens\":\"Tokeny OAuth\",\"token\":\"Token\",\"refresh_token\":\"Obnovit token\",\"valid_until\":\"Platný do\",\"revoke_token\":\"Odvolat\",\"panelRadius\":\"Panely\",\"pause_on_unfocused\":\"Pozastavit streamování, pokud není záložka prohlížeče v soustředění\",\"presets\":\"Přednastavení\",\"profile_background\":\"Profilové pozadí\",\"profile_banner\":\"Profilový banner\",\"profile_tab\":\"Profil\",\"radii_help\":\"Nastavit zakulacení rohů rozhraní (v pixelech)\",\"replies_in_timeline\":\"Odpovědi v časové ose\",\"reply_link_preview\":\"Povolit náhledy odkazu pro odpověď při přejetí myši\",\"reply_visibility_all\":\"Zobrazit všechny odpovědi\",\"reply_visibility_following\":\"Zobrazit pouze odpovědi směřované na mě nebo uživatele, které sleduji\",\"reply_visibility_self\":\"Zobrazit pouze odpovědi směřované na mě\",\"saving_err\":\"Chyba při ukládání nastavení\",\"saving_ok\":\"Nastavení uložena\",\"security_tab\":\"Bezpečnost\",\"scope_copy\":\"Kopírovat rozsah při odpovídání (přímé zprávy jsou vždy kopírovány)\",\"set_new_avatar\":\"Nastavit nový avatar\",\"set_new_profile_background\":\"Nastavit nové profilové pozadí\",\"set_new_profile_banner\":\"Nastavit nový profilový banner\",\"settings\":\"Nastavení\",\"subject_input_always_show\":\"Vždy zobrazit pole pro předmět\",\"subject_line_behavior\":\"Kopírovat předmět při odpovídání\",\"subject_line_email\":\"Jako u e-mailu: „re: předmět“\",\"subject_line_mastodon\":\"Jako u Mastodonu: zkopírovat tak, jak je\",\"subject_line_noop\":\"Nekopírovat\",\"post_status_content_type\":\"Publikovat typ obsahu příspěvku\",\"stop_gifs\":\"Přehrávat GIFy při přejetí myši\",\"streaming\":\"Povolit automatické streamování nových příspěvků při rolování nahoru\",\"text\":\"Text\",\"theme\":\"Motiv\",\"theme_help\":\"Použijte hexadecimální barevné kódy (#rrggbb) pro přizpůsobení vašeho barevného motivu.\",\"theme_help_v2_1\":\"Zaškrtnutím pole můžete také přepsat barvy a průhlednost některých komponentů, pro smazání všech přednastavení použijte tlačítko „Smazat vše“.\",\"theme_help_v2_2\":\"Ikony pod některými položkami jsou indikátory kontrastu pozadí/textu, pro detailní informace nad nimi přejeďte myší. Prosím berte na vědomí, že při používání kontrastu průhlednosti ukazují indikátory nejhorší možný případ.\",\"tooltipRadius\":\"Popisky/upozornění\",\"upload_a_photo\":\"Nahrát fotku\",\"user_settings\":\"Uživatelská nastavení\",\"values\":{\"false\":\"ne\",\"true\":\"ano\"},\"notifications\":\"Oznámení\",\"enable_web_push_notifications\":\"Povolit webová push oznámení\",\"style\":{\"switcher\":{\"keep_color\":\"Ponechat barvy\",\"keep_shadows\":\"Ponechat stíny\",\"keep_opacity\":\"Ponechat průhlednost\",\"keep_roundness\":\"Ponechat kulatost\",\"keep_fonts\":\"Keep fonts\",\"save_load_hint\":\"Možnosti „Ponechat“ dočasně ponechávají aktuálně nastavené možností při volení či nahrávání motivů, také tyto možnosti ukládají při exportování motivu. Pokud není žádné pole zaškrtnuto, uloží export motivu všechno.\",\"reset\":\"Resetovat\",\"clear_all\":\"Vymazat vše\",\"clear_opacity\":\"Vymazat průhlednost\"},\"common\":{\"color\":\"Barva\",\"opacity\":\"Průhlednost\",\"contrast\":{\"hint\":\"Poměr kontrastu je {ratio}, {level} {context}\",\"level\":{\"aa\":\"splňuje směrnici úrovně AA (minimální)\",\"aaa\":\"splňuje směrnici úrovně AAA (doporučováno)\",\"bad\":\"nesplňuje žádné směrnice přístupnosti\"},\"context\":{\"18pt\":\"pro velký (18+ bodů) text\",\"text\":\"pro text\"}}},\"common_colors\":{\"_tab_label\":\"Obvyklé\",\"main\":\"Obvyklé barvy\",\"foreground_hint\":\"Pro detailnější kontrolu viz záložka „Pokročilé“\",\"rgbo\":\"Ikony, odstíny, odznaky\"},\"advanced_colors\":{\"_tab_label\":\"Pokročilé\",\"alert\":\"Pozadí upozornění\",\"alert_error\":\"Chyba\",\"badge\":\"Pozadí odznaků\",\"badge_notification\":\"Oznámení\",\"panel_header\":\"Záhlaví panelu\",\"top_bar\":\"Vrchní pruh\",\"borders\":\"Okraje\",\"buttons\":\"Tlačítka\",\"inputs\":\"Vstupní pole\",\"faint_text\":\"Vybledlý text\"},\"radii\":{\"_tab_label\":\"Kulatost\"},\"shadows\":{\"_tab_label\":\"Stín a osvětlení\",\"component\":\"Komponent\",\"override\":\"Přepsat\",\"shadow_id\":\"Stín #{value}\",\"blur\":\"Rozmazání\",\"spread\":\"Rozsah\",\"inset\":\"Vsazení\",\"hint\":\"Pro stíny můžete také použít --variable jako hodnotu barvy pro použití proměnných CSS3. Prosím berte na vědomí, že nastavení průhlednosti v tomto případě nebude fungovat.\",\"filter_hint\":{\"always_drop_shadow\":\"Varování, tento stín vždy používá {0}, když to prohlížeč podporuje.\",\"drop_shadow_syntax\":\"{0} nepodporuje parametr {1} a klíčové slovo {2}.\",\"avatar_inset\":\"Prosím berte na vědomí, že kombinování vsazených i nevsazených stínů u avatarů může u průhledných avatarů dát neočekávané výsledky.\",\"spread_zero\":\"Stíny s rozsahem > 0 se zobrazí, jako kdyby byl rozsah nastaven na nulu\",\"inset_classic\":\"Vsazené stíny budou používat {0}\"},\"components\":{\"panel\":\"Panel\",\"panelHeader\":\"Záhlaví panelu\",\"topBar\":\"Vrchní pruh\",\"avatar\":\"Avatar uživatele (v zobrazení profilu)\",\"avatarStatus\":\"Avatar uživatele (v zobrazení příspěvku)\",\"popup\":\"Vyskakovací okna a popisky\",\"button\":\"Tlačítko\",\"buttonHover\":\"Tlačítko (přejetí myši)\",\"buttonPressed\":\"Tlačítko (stisknuto)\",\"buttonPressedHover\":\"Button (stisknuto+přejetí myši)\",\"input\":\"Vstupní pole\"}},\"fonts\":{\"_tab_label\":\"Písma\",\"help\":\"Zvolte písmo, které bude použito pro prvky rozhraní. U možnosti „vlastní“ musíte zadat přesný název písma tak, jak se zobrazuje v systému.\",\"components\":{\"interface\":\"Rozhraní\",\"input\":\"Vstupní pole\",\"post\":\"Text příspěvků\",\"postCode\":\"Neproporcionální text v příspěvku (formátovaný text)\"},\"family\":\"Název písma\",\"size\":\"Velikost (v pixelech)\",\"weight\":\"Tloušťka\",\"custom\":\"Vlastní\"},\"preview\":{\"header\":\"Náhled\",\"content\":\"Obsah\",\"error\":\"Příklad chyby\",\"button\":\"Tlačítko\",\"text\":\"Spousta dalšího {0} a {1}\",\"mono\":\"obsahu\",\"input\":\"Právě jsem přistál v L.A.\",\"faint_link\":\"pomocný manuál\",\"fine_print\":\"Přečtěte si náš {0} a nenaučte se nic užitečného!\",\"header_faint\":\"Tohle je v pohodě\",\"checkbox\":\"Pročetl/a jsem podmínky používání\",\"link\":\"hezký malý odkaz\"}}},\"timeline\":{\"collapse\":\"Zabalit\",\"conversation\":\"Konverzace\",\"error_fetching\":\"Chyba při načítání aktualizací\",\"load_older\":\"Načíst starší příspěvky\",\"no_retweet_hint\":\"Příspěvek je označen jako pouze pro sledující či přímý a nemůže být zopakován\",\"repeated\":\"zopakoval/a\",\"show_new\":\"Zobrazit nové\",\"up_to_date\":\"Aktuální\",\"no_more_statuses\":\"Žádné další příspěvky\",\"no_statuses\":\"Žádné příspěvky\"},\"status\":{\"reply_to\":\"Odpověď uživateli\",\"replies_list\":\"Odpovědi:\"},\"user_card\":{\"approve\":\"Schválit\",\"block\":\"Blokovat\",\"blocked\":\"Blokován/a!\",\"deny\":\"Zamítnout\",\"favorites\":\"Oblíbené\",\"follow\":\"Sledovat\",\"follow_sent\":\"Požadavek odeslán!\",\"follow_progress\":\"Odeslílám požadavek…\",\"follow_again\":\"Odeslat požadavek znovu?\",\"follow_unfollow\":\"Přestat sledovat\",\"followees\":\"Sledovaní\",\"followers\":\"Sledující\",\"following\":\"Sledujete!\",\"follows_you\":\"Sleduje vás!\",\"its_you\":\"Jste to vy!\",\"media\":\"Média\",\"mute\":\"Ignorovat\",\"muted\":\"Ignorován/a\",\"per_day\":\"za den\",\"remote_follow\":\"Vzdálené sledování\",\"statuses\":\"Příspěvky\",\"unblock\":\"Odblokovat\",\"unblock_progress\":\"Odblokuji…\",\"block_progress\":\"Blokuji…\",\"unmute\":\"Přestat ignorovat\",\"unmute_progress\":\"Ruším ignorování…\",\"mute_progress\":\"Ignoruji…\"},\"user_profile\":{\"timeline_title\":\"Uživatelská časová osa\",\"profile_does_not_exist\":\"Omlouváme se, tento profil neexistuje.\",\"profile_loading_error\":\"Omlouváme se, při načítání tohoto profilu se vyskytla chyba.\"},\"who_to_follow\":{\"more\":\"Více\",\"who_to_follow\":\"Koho sledovat\"},\"tool_tip\":{\"media_upload\":\"Nahrát média\",\"repeat\":\"Zopakovat\",\"reply\":\"Odpovědět\",\"favorite\":\"Oblíbit\",\"user_settings\":\"Uživatelské nastavení\"},\"upload\":{\"error\":{\"base\":\"Nahrávání selhalo.\",\"file_too_big\":\"Soubor je příliš velký [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"Zkuste to znovu později\"},\"file_size_units\":{\"B\":\"B\",\"KiB\":\"KiB\",\"MiB\":\"MiB\",\"GiB\":\"GiB\",\"TiB\":\"TiB\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/cs.json\n// module id = 486\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Chat\"},\"features_panel\":{\"chat\":\"Chat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Media Proxy\",\"scope_options\":\"Reichweitenoptionen\",\"text_limit\":\"Textlimit\",\"title\":\"Features\",\"who_to_follow\":\"Who to follow\"},\"finder\":{\"error_fetching_user\":\"Fehler beim Suchen des Benutzers\",\"find_user\":\"Finde Benutzer\"},\"general\":{\"apply\":\"Anwenden\",\"submit\":\"Absenden\"},\"login\":{\"login\":\"Anmelden\",\"description\":\"Mit OAuth anmelden\",\"logout\":\"Abmelden\",\"password\":\"Passwort\",\"placeholder\":\"z.B. lain\",\"register\":\"Registrieren\",\"username\":\"Benutzername\"},\"nav\":{\"back\":\"Zurück\",\"chat\":\"Lokaler Chat\",\"friend_requests\":\"Followanfragen\",\"mentions\":\"Erwähnungen\",\"dms\":\"Direktnachrichten\",\"public_tl\":\"Öffentliche Zeitleiste\",\"timeline\":\"Zeitleiste\",\"twkn\":\"Das gesamte bekannte Netzwerk\",\"user_search\":\"Benutzersuche\",\"preferences\":\"Voreinstellungen\"},\"notifications\":{\"broken_favorite\":\"Unbekannte Nachricht, suche danach...\",\"favorited_you\":\"favorisierte deine Nachricht\",\"followed_you\":\"folgt dir\",\"load_older\":\"Ältere Benachrichtigungen laden\",\"notifications\":\"Benachrichtigungen\",\"read\":\"Gelesen!\",\"repeated_you\":\"wiederholte deine Nachricht\"},\"post_status\":{\"new_status\":\"Neuen Status veröffentlichen\",\"account_not_locked_warning\":\"Dein Profil ist nicht {0}. Wer dir folgen will, kann das jederzeit tun und dann auch deine privaten Beiträge sehen.\",\"account_not_locked_warning_link\":\"gesperrt\",\"attachments_sensitive\":\"Anhänge als heikel markieren\",\"content_type\":{\"text/plain\":\"Nur Text\"},\"content_warning\":\"Betreff (optional)\",\"default\":\"Sitze gerade im Hofbräuhaus.\",\"direct_warning\":\"Dieser Beitrag wird nur für die erwähnten Nutzer sichtbar sein.\",\"posting\":\"Veröffentlichen\",\"scope\":{\"direct\":\"Direkt - Beitrag nur an erwähnte Profile\",\"private\":\"Nur Follower - Beitrag nur für Follower sichtbar\",\"public\":\"Öffentlich - Beitrag an öffentliche Zeitleisten\",\"unlisted\":\"Nicht gelistet - Nicht in öffentlichen Zeitleisten anzeigen\"}},\"registration\":{\"bio\":\"Bio\",\"email\":\"Email\",\"fullname\":\"Angezeigter Name\",\"password_confirm\":\"Passwort bestätigen\",\"registration\":\"Registrierung\",\"token\":\"Einladungsschlüssel\",\"captcha\":\"CAPTCHA\",\"new_captcha\":\"Zum Erstellen eines neuen Captcha auf das Bild klicken.\",\"validations\":{\"username_required\":\"darf nicht leer sein\",\"fullname_required\":\"darf nicht leer sein\",\"email_required\":\"darf nicht leer sein\",\"password_required\":\"darf nicht leer sein\",\"password_confirmation_required\":\"darf nicht leer sein\",\"password_confirmation_match\":\"sollte mit dem Passwort identisch sein.\"}},\"settings\":{\"attachmentRadius\":\"Anhänge\",\"attachments\":\"Anhänge\",\"autoload\":\"Aktiviere automatisches Laden von älteren Beiträgen beim scrollen\",\"avatar\":\"Avatar\",\"avatarAltRadius\":\"Avatare (Benachrichtigungen)\",\"avatarRadius\":\"Avatare\",\"background\":\"Hintergrund\",\"bio\":\"Bio\",\"btnRadius\":\"Buttons\",\"cBlue\":\"Blau (Antworten, Folgt dir)\",\"cGreen\":\"Grün (Retweet)\",\"cOrange\":\"Orange (Favorisieren)\",\"cRed\":\"Rot (Abbrechen)\",\"change_password\":\"Passwort ändern\",\"change_password_error\":\"Es gab ein Problem bei der Änderung des Passworts.\",\"changed_password\":\"Passwort erfolgreich geändert!\",\"collapse_subject\":\"Beiträge mit Betreff einklappen\",\"composing\":\"Verfassen\",\"confirm_new_password\":\"Neues Passwort bestätigen\",\"current_avatar\":\"Dein derzeitiger Avatar\",\"current_password\":\"Aktuelles Passwort\",\"current_profile_banner\":\"Der derzeitige Banner deines Profils\",\"data_import_export_tab\":\"Datenimport/-export\",\"default_vis\":\"Standard-Sichtbarkeitsumfang\",\"delete_account\":\"Account löschen\",\"delete_account_description\":\"Lösche deinen Account und alle deine Nachrichten unwiderruflich.\",\"delete_account_error\":\"Es ist ein Fehler beim Löschen deines Accounts aufgetreten. Tritt dies weiterhin auf, wende dich an den Administrator der Instanz.\",\"delete_account_instructions\":\"Tippe dein Passwort unten in das Feld ein, um die Löschung deines Accounts zu bestätigen.\",\"export_theme\":\"Farbschema speichern\",\"filtering\":\"Filtern\",\"filtering_explanation\":\"Alle Beiträge die diese Wörter enthalten werden ausgeblendet. Ein Wort pro Zeile.\",\"follow_export\":\"Follower exportieren\",\"follow_export_button\":\"Exportiere deine Follows in eine csv-Datei\",\"follow_export_processing\":\"In Bearbeitung. Die Liste steht gleich zum herunterladen bereit.\",\"follow_import\":\"Followers importieren\",\"follow_import_error\":\"Fehler beim importieren der Follower\",\"follows_imported\":\"Followers importiert! Die Bearbeitung kann eine Zeit lang dauern.\",\"foreground\":\"Vordergrund\",\"general\":\"Allgemein\",\"hide_attachments_in_convo\":\"Anhänge in Unterhaltungen ausblenden\",\"hide_attachments_in_tl\":\"Anhänge in der Zeitleiste ausblenden\",\"hide_isp\":\"Instanz-spezifisches Panel ausblenden\",\"preload_images\":\"Bilder vorausladen\",\"hide_post_stats\":\"Beitragsstatistiken verbergen (z.B. die Anzahl der Favoriten)\",\"hide_user_stats\":\"Benutzerstatistiken verbergen (z.B. die Anzahl der Follower)\",\"hide_filtered_statuses\":\"Gefilterte Beiträge verbergen\",\"import_followers_from_a_csv_file\":\"Importiere Follower, denen du folgen möchtest, aus einer CSV-Datei\",\"import_theme\":\"Farbschema laden\",\"inputRadius\":\"Eingabefelder\",\"checkboxRadius\":\"Auswahlfelder\",\"instance_default\":\"(Standard: {value})\",\"instance_default_simple\":\"(Standard)\",\"interface\":\"Oberfläche\",\"interfaceLanguage\":\"Sprache der Oberfläche\",\"invalid_theme_imported\":\"Die ausgewählte Datei ist kein unterstütztes Pleroma-Theme. Keine Änderungen wurden vorgenommen.\",\"limited_availability\":\"In deinem Browser nicht verfügbar\",\"links\":\"Links\",\"lock_account_description\":\"Sperre deinen Account, um neue Follower zu genehmigen oder abzulehnen\",\"loop_video\":\"Videos wiederholen\",\"loop_video_silent_only\":\"Nur Videos ohne Ton wiederholen (z.B. Mastodons \\\"gifs\\\")\",\"name\":\"Name\",\"name_bio\":\"Name & Bio\",\"new_password\":\"Neues Passwort\",\"notification_visibility\":\"Benachrichtigungstypen, die angezeigt werden sollen\",\"notification_visibility_follows\":\"Follows\",\"notification_visibility_likes\":\"Favoriten\",\"notification_visibility_mentions\":\"Erwähnungen\",\"notification_visibility_repeats\":\"Wiederholungen\",\"no_rich_text_description\":\"Rich-Text Formatierungen von allen Beiträgen entfernen\",\"hide_follows_description\":\"Zeige nicht, wem ich folge\",\"hide_followers_description\":\"Zeige nicht, wer mir folgt\",\"nsfw_clickthrough\":\"Aktiviere ausblendbares Overlay für Anhänge, die als NSFW markiert sind\",\"oauth_tokens\":\"OAuth-Token\",\"token\":\"Zeichen\",\"refresh_token\":\"Token aktualisieren\",\"valid_until\":\"Gültig bis\",\"revoke_token\":\"Widerrufen\",\"panelRadius\":\"Panel\",\"pause_on_unfocused\":\"Streaming pausieren, wenn das Tab nicht fokussiert ist\",\"presets\":\"Voreinstellungen\",\"profile_background\":\"Profilhintergrund\",\"profile_banner\":\"Profilbanner\",\"profile_tab\":\"Profil\",\"radii_help\":\"Kantenrundung (in Pixel) der Oberfläche anpassen\",\"replies_in_timeline\":\"Antworten in der Zeitleiste\",\"reply_link_preview\":\"Antwortlink-Vorschau beim Überfahren mit der Maus aktivieren\",\"reply_visibility_all\":\"Alle Antworten zeigen\",\"reply_visibility_following\":\"Zeige nur Antworten an mich oder an Benutzer, denen ich folge\",\"reply_visibility_self\":\"Nur Antworten an mich anzeigen\",\"saving_err\":\"Fehler beim Speichern der Einstellungen\",\"saving_ok\":\"Einstellungen gespeichert\",\"security_tab\":\"Sicherheit\",\"scope_copy\":\"Reichweite beim Antworten übernehmen (Direktnachrichten werden immer kopiert)\",\"set_new_avatar\":\"Setze einen neuen Avatar\",\"set_new_profile_background\":\"Setze einen neuen Hintergrund für dein Profil\",\"set_new_profile_banner\":\"Setze einen neuen Banner für dein Profil\",\"settings\":\"Einstellungen\",\"subject_input_always_show\":\"Betreff-Feld immer anzeigen\",\"subject_line_behavior\":\"Betreff beim Antworten kopieren\",\"subject_line_email\":\"Wie Email: \\\"re: Betreff\\\"\",\"subject_line_mastodon\":\"Wie Mastodon: unverändert kopieren\",\"subject_line_noop\":\"Nicht kopieren\",\"stop_gifs\":\"Play-on-hover GIFs\",\"streaming\":\"Aktiviere automatisches Laden (Streaming) von neuen Beiträgen\",\"text\":\"Text\",\"theme\":\"Farbschema\",\"theme_help\":\"Benutze HTML-Farbcodes (#rrggbb) um dein Farbschema anzupassen\",\"theme_help_v2_1\":\"Du kannst auch die Farben und die Deckkraft bestimmter Komponenten überschreiben, indem du das Kontrollkästchen umschaltest. Verwende die Schaltfläche \\\"Alle löschen\\\", um alle Überschreibungen zurückzusetzen.\",\"theme_help_v2_2\":\"Unter einigen Einträgen befinden sich Symbole für Hintergrund-/Textkontrastindikatoren, für detaillierte Informationen fahre mit der Maus darüber. Bitte beachte, dass bei der Verwendung von Transparenz Kontrastindikatoren den schlechtest möglichen Fall darstellen.\",\"tooltipRadius\":\"Tooltips/Warnungen\",\"user_settings\":\"Benutzereinstellungen\",\"values\":{\"false\":\"nein\",\"true\":\"Ja\"},\"notifications\":\"Benachrichtigungen\",\"enable_web_push_notifications\":\"Web-Pushbenachrichtigungen aktivieren\",\"style\":{\"switcher\":{\"keep_color\":\"Farben beibehalten\",\"keep_shadows\":\"Schatten beibehalten\",\"keep_opacity\":\"Deckkraft beibehalten\",\"keep_roundness\":\"Abrundungen beibehalten\",\"keep_fonts\":\"Schriften beibehalten\",\"save_load_hint\":\"Die \\\"Beibehalten\\\"-Optionen behalten die aktuell eingestellten Optionen beim Auswählen oder Laden von Designs bei, sie speichern diese Optionen auch beim Exportieren eines Designs. Wenn alle Kontrollkästchen deaktiviert sind, wird beim Exportieren des Designs alles gespeichert.\",\"reset\":\"Zurücksetzen\",\"clear_all\":\"Alles leeren\",\"clear_opacity\":\"Deckkraft leeren\"},\"common\":{\"color\":\"Farbe\",\"opacity\":\"Deckkraft\",\"contrast\":{\"hint\":\"Das Kontrastverhältnis ist {ratio}, es {level} {context}\",\"level\":{\"aa\":\"entspricht Level AA Richtlinie (minimum)\",\"aaa\":\"entspricht Level AAA Richtlinie (empfohlen)\",\"bad\":\"entspricht keiner Richtlinien zur Barrierefreiheit\"},\"context\":{\"18pt\":\"für großen (18pt+) Text\",\"text\":\"für Text\"}}},\"common_colors\":{\"_tab_label\":\"Allgemein\",\"main\":\"Allgemeine Farben\",\"foreground_hint\":\"Siehe Reiter \\\"Erweitert\\\" für eine detailliertere Einstellungen\",\"rgbo\":\"Symbole, Betonungen, Kennzeichnungen\"},\"advanced_colors\":{\"_tab_label\":\"Erweitert\",\"alert\":\"Warnhinweis-Hintergrund\",\"alert_error\":\"Fehler\",\"badge\":\"Kennzeichnungs-Hintergrund\",\"badge_notification\":\"Benachrichtigung\",\"panel_header\":\"Panel-Kopf\",\"top_bar\":\"Obere Leiste\",\"borders\":\"Rahmen\",\"buttons\":\"Schaltflächen\",\"inputs\":\"Eingabefelder\",\"faint_text\":\"Verblasster Text\"},\"radii\":{\"_tab_label\":\"Abrundungen\"},\"shadows\":{\"_tab_label\":\"Schatten und Beleuchtung\",\"component\":\"Komponente\",\"override\":\"Überschreiben\",\"shadow_id\":\"Schatten #{value}\",\"blur\":\"Unschärfe\",\"spread\":\"Streuung\",\"inset\":\"Einsatz\",\"hint\":\"Für Schatten kannst du auch --variable als Farbwert verwenden, um CSS3-Variablen zu verwenden. Bitte beachte, dass die Einstellung der Deckkraft in diesem Fall nicht funktioniert.\",\"filter_hint\":{\"always_drop_shadow\":\"Achtung, dieser Schatten verwendet immer {0}, wenn der Browser dies unterstützt.\",\"drop_shadow_syntax\":\"{0} unterstützt Parameter {1} und Schlüsselwort {2} nicht.\",\"avatar_inset\":\"Bitte beachte, dass die Kombination von eingesetzten und nicht eingesetzten Schatten auf Avataren zu unerwarteten Ergebnissen bei transparenten Avataren führen kann.\",\"spread_zero\":\"Schatten mit einer Streuung > 0 erscheinen so, als ob sie auf Null gesetzt wären.\",\"inset_classic\":\"Eingesetzte Schatten werden mit {0} verwendet\"},\"components\":{\"panel\":\"Panel\",\"panelHeader\":\"Panel-Kopf\",\"topBar\":\"Obere Leiste\",\"avatar\":\"Benutzer-Avatar (in der Profilansicht)\",\"avatarStatus\":\"Benutzer-Avatar (in der Beitragsanzeige)\",\"popup\":\"Dialogfenster und Hinweistexte\",\"button\":\"Schaltfläche\",\"buttonHover\":\"Schaltfläche (hover)\",\"buttonPressed\":\"Schaltfläche (gedrückt)\",\"buttonPressedHover\":\"Schaltfläche (gedrückt+hover)\",\"input\":\"Input field\"}},\"fonts\":{\"_tab_label\":\"Schriften\",\"help\":\"Wähl die Schriftart, die für Elemente der Benutzeroberfläche verwendet werden soll. Für \\\" Benutzerdefiniert\\\" musst du den genauen Schriftnamen eingeben, wie er im System angezeigt wird.\",\"components\":{\"interface\":\"Oberfläche\",\"input\":\"Eingabefelder\",\"post\":\"Beitragstext\",\"postCode\":\"Dicktengleicher Text in einem Beitrag (Rich-Text)\"},\"family\":\"Schriftname\",\"size\":\"Größe (in px)\",\"weight\":\"Gewicht (Dicke)\",\"custom\":\"Benutzerdefiniert\"},\"preview\":{\"header\":\"Vorschau\",\"content\":\"Inhalt\",\"error\":\"Beispielfehler\",\"button\":\"Schaltfläche\",\"text\":\"Ein Haufen mehr von {0} und {1}\",\"mono\":\"Inhalt\",\"input\":\"Sitze gerade im Hofbräuhaus.\",\"faint_link\":\"Hilfreiche Anleitung\",\"fine_print\":\"Lies unser {0}, um nichts Nützliches zu lernen!\",\"header_faint\":\"Das ist in Ordnung\",\"checkbox\":\"Ich habe die Allgemeinen Geschäftsbedingungen überflogen\",\"link\":\"ein netter kleiner Link\"}}},\"timeline\":{\"collapse\":\"Einklappen\",\"conversation\":\"Unterhaltung\",\"error_fetching\":\"Fehler beim Laden\",\"load_older\":\"Lade ältere Beiträge\",\"no_retweet_hint\":\"Der Beitrag ist als nur-für-Follower oder als Direktnachricht markiert und kann nicht wiederholt werden.\",\"repeated\":\"wiederholte\",\"show_new\":\"Zeige Neuere\",\"up_to_date\":\"Aktuell\"},\"user_card\":{\"approve\":\"Genehmigen\",\"block\":\"Blockieren\",\"blocked\":\"Blockiert!\",\"deny\":\"Ablehnen\",\"follow\":\"Folgen\",\"follow_sent\":\"Anfrage gesendet!\",\"follow_progress\":\"Anfragen…\",\"follow_again\":\"Anfrage erneut senden?\",\"follow_unfollow\":\"Folgen beenden\",\"followees\":\"Folgt\",\"followers\":\"Followers\",\"following\":\"Folgst du!\",\"follows_you\":\"Folgt dir!\",\"its_you\":\"Das bist du!\",\"mute\":\"Stummschalten\",\"muted\":\"Stummgeschaltet\",\"per_day\":\"pro Tag\",\"remote_follow\":\"Folgen\",\"statuses\":\"Beiträge\"},\"user_profile\":{\"timeline_title\":\"Beiträge\"},\"who_to_follow\":{\"more\":\"Mehr\",\"who_to_follow\":\"Wem soll ich folgen\"},\"tool_tip\":{\"media_upload\":\"Medien hochladen\",\"repeat\":\"Wiederholen\",\"reply\":\"Antworten\",\"favorite\":\"Favorisieren\",\"user_settings\":\"Benutzereinstellungen\"},\"upload\":{\"error\":{\"base\":\"Hochladen fehlgeschlagen.\",\"file_too_big\":\"Datei ist zu groß [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"Bitte versuche es später erneut\"},\"file_size_units\":{\"B\":\"B\",\"KiB\":\"KiB\",\"MiB\":\"MiB\",\"GiB\":\"GiB\",\"TiB\":\"TiB\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/de.json\n// module id = 487\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Chat\"},\"features_panel\":{\"chat\":\"Chat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Media proxy\",\"scope_options\":\"Scope options\",\"text_limit\":\"Text limit\",\"title\":\"Features\",\"who_to_follow\":\"Who to follow\"},\"finder\":{\"error_fetching_user\":\"Error fetching user\",\"find_user\":\"Find user\"},\"general\":{\"apply\":\"Apply\",\"submit\":\"Submit\",\"more\":\"More\",\"generic_error\":\"An error occured\",\"optional\":\"optional\",\"show_more\":\"Show more\",\"show_less\":\"Show less\",\"cancel\":\"Cancel\"},\"image_cropper\":{\"crop_picture\":\"Crop picture\",\"save\":\"Save\",\"save_without_cropping\":\"Save without cropping\",\"cancel\":\"Cancel\"},\"login\":{\"login\":\"Log in\",\"description\":\"Log in with OAuth\",\"logout\":\"Log out\",\"password\":\"Password\",\"placeholder\":\"e.g. lain\",\"register\":\"Register\",\"username\":\"Username\",\"hint\":\"Log in to join the discussion\"},\"media_modal\":{\"previous\":\"Previous\",\"next\":\"Next\"},\"nav\":{\"about\":\"About\",\"back\":\"Back\",\"chat\":\"Local Chat\",\"friend_requests\":\"Follow Requests\",\"mentions\":\"Mentions\",\"dms\":\"Direct Messages\",\"public_tl\":\"Public Timeline\",\"timeline\":\"Timeline\",\"twkn\":\"The Whole Known Network\",\"user_search\":\"User Search\",\"who_to_follow\":\"Who to follow\",\"preferences\":\"Preferences\"},\"notifications\":{\"broken_favorite\":\"Unknown status, searching for it...\",\"favorited_you\":\"favorited your status\",\"followed_you\":\"followed you\",\"load_older\":\"Load older notifications\",\"notifications\":\"Notifications\",\"read\":\"Read!\",\"repeated_you\":\"repeated your status\",\"no_more_notifications\":\"No more notifications\"},\"post_status\":{\"new_status\":\"Post new status\",\"account_not_locked_warning\":\"Your account is not {0}. Anyone can follow you to view your follower-only posts.\",\"account_not_locked_warning_link\":\"locked\",\"attachments_sensitive\":\"Mark attachments as sensitive\",\"content_type\":{\"text/plain\":\"Plain text\",\"text/html\":\"HTML\",\"text/markdown\":\"Markdown\",\"text/bbcode\":\"BBCode\"},\"content_warning\":\"Subject (optional)\",\"default\":\"Just landed in L.A.\",\"direct_warning_to_all\":\"This post will be visible to all the mentioned users.\",\"direct_warning_to_first_only\":\"This post will only be visible to the mentioned users at the beginning of the message.\",\"posting\":\"Posting\",\"scope\":{\"direct\":\"Direct - Post to mentioned users only\",\"private\":\"Followers-only - Post to followers only\",\"public\":\"Public - Post to public timelines\",\"unlisted\":\"Unlisted - Do not post to public timelines\"}},\"registration\":{\"bio\":\"Bio\",\"email\":\"Email\",\"fullname\":\"Display name\",\"password_confirm\":\"Password confirmation\",\"registration\":\"Registration\",\"token\":\"Invite token\",\"captcha\":\"CAPTCHA\",\"new_captcha\":\"Click the image to get a new captcha\",\"username_placeholder\":\"e.g. lain\",\"fullname_placeholder\":\"e.g. Lain Iwakura\",\"bio_placeholder\":\"e.g.\\nHi, I'm Lain.\\nI’m an anime girl living in suburban Japan. You may know me from the Wired.\",\"validations\":{\"username_required\":\"cannot be left blank\",\"fullname_required\":\"cannot be left blank\",\"email_required\":\"cannot be left blank\",\"password_required\":\"cannot be left blank\",\"password_confirmation_required\":\"cannot be left blank\",\"password_confirmation_match\":\"should be the same as password\"}},\"selectable_list\":{\"select_all\":\"Select all\"},\"settings\":{\"app_name\":\"App name\",\"attachmentRadius\":\"Attachments\",\"attachments\":\"Attachments\",\"autoload\":\"Enable automatic loading when scrolled to the bottom\",\"avatar\":\"Avatar\",\"avatarAltRadius\":\"Avatars (Notifications)\",\"avatarRadius\":\"Avatars\",\"background\":\"Background\",\"bio\":\"Bio\",\"blocks_tab\":\"Blocks\",\"btnRadius\":\"Buttons\",\"cBlue\":\"Blue (Reply, follow)\",\"cGreen\":\"Green (Retweet)\",\"cOrange\":\"Orange (Favorite)\",\"cRed\":\"Red (Cancel)\",\"change_password\":\"Change Password\",\"change_password_error\":\"There was an issue changing your password.\",\"changed_password\":\"Password changed successfully!\",\"collapse_subject\":\"Collapse posts with subjects\",\"composing\":\"Composing\",\"confirm_new_password\":\"Confirm new password\",\"current_avatar\":\"Your current avatar\",\"current_password\":\"Current password\",\"current_profile_banner\":\"Your current profile banner\",\"data_import_export_tab\":\"Data Import / Export\",\"default_vis\":\"Default visibility scope\",\"delete_account\":\"Delete Account\",\"delete_account_description\":\"Permanently delete your account and all your messages.\",\"delete_account_error\":\"There was an issue deleting your account. If this persists please contact your instance administrator.\",\"delete_account_instructions\":\"Type your password in the input below to confirm account deletion.\",\"avatar_size_instruction\":\"The recommended minimum size for avatar images is 150x150 pixels.\",\"export_theme\":\"Save preset\",\"filtering\":\"Filtering\",\"filtering_explanation\":\"All statuses containing these words will be muted, one per line\",\"follow_export\":\"Follow export\",\"follow_export_button\":\"Export your follows to a csv file\",\"follow_export_processing\":\"Processing, you'll soon be asked to download your file\",\"follow_import\":\"Follow import\",\"follow_import_error\":\"Error importing followers\",\"follows_imported\":\"Follows imported! Processing them will take a while.\",\"foreground\":\"Foreground\",\"general\":\"General\",\"hide_attachments_in_convo\":\"Hide attachments in conversations\",\"hide_attachments_in_tl\":\"Hide attachments in timeline\",\"hide_muted_posts\":\"Hide posts of muted users\",\"max_thumbnails\":\"Maximum amount of thumbnails per post\",\"hide_isp\":\"Hide instance-specific panel\",\"preload_images\":\"Preload images\",\"use_one_click_nsfw\":\"Open NSFW attachments with just one click\",\"hide_post_stats\":\"Hide post statistics (e.g. the number of favorites)\",\"hide_user_stats\":\"Hide user statistics (e.g. the number of followers)\",\"hide_filtered_statuses\":\"Hide filtered statuses\",\"import_followers_from_a_csv_file\":\"Import follows from a csv file\",\"import_theme\":\"Load preset\",\"inputRadius\":\"Input fields\",\"checkboxRadius\":\"Checkboxes\",\"instance_default\":\"(default: {value})\",\"instance_default_simple\":\"(default)\",\"interface\":\"Interface\",\"interfaceLanguage\":\"Interface language\",\"invalid_theme_imported\":\"The selected file is not a supported Pleroma theme. No changes to your theme were made.\",\"limited_availability\":\"Unavailable in your browser\",\"links\":\"Links\",\"lock_account_description\":\"Restrict your account to approved followers only\",\"loop_video\":\"Loop videos\",\"loop_video_silent_only\":\"Loop only videos without sound (i.e. Mastodon's \\\"gifs\\\")\",\"mutes_tab\":\"Mutes\",\"play_videos_in_modal\":\"Play videos directly in the media viewer\",\"use_contain_fit\":\"Don't crop the attachment in thumbnails\",\"name\":\"Name\",\"name_bio\":\"Name & Bio\",\"new_password\":\"New password\",\"notification_visibility\":\"Types of notifications to show\",\"notification_visibility_follows\":\"Follows\",\"notification_visibility_likes\":\"Likes\",\"notification_visibility_mentions\":\"Mentions\",\"notification_visibility_repeats\":\"Repeats\",\"no_rich_text_description\":\"Strip rich text formatting from all posts\",\"no_blocks\":\"No blocks\",\"no_mutes\":\"No mutes\",\"hide_follows_description\":\"Don't show who I'm following\",\"hide_followers_description\":\"Don't show who's following me\",\"show_admin_badge\":\"Show Admin badge in my profile\",\"show_moderator_badge\":\"Show Moderator badge in my profile\",\"nsfw_clickthrough\":\"Enable clickthrough NSFW attachment hiding\",\"oauth_tokens\":\"OAuth tokens\",\"token\":\"Token\",\"refresh_token\":\"Refresh Token\",\"valid_until\":\"Valid Until\",\"revoke_token\":\"Revoke\",\"panelRadius\":\"Panels\",\"pause_on_unfocused\":\"Pause streaming when tab is not focused\",\"presets\":\"Presets\",\"profile_background\":\"Profile Background\",\"profile_banner\":\"Profile Banner\",\"profile_tab\":\"Profile\",\"radii_help\":\"Set up interface edge rounding (in pixels)\",\"replies_in_timeline\":\"Replies in timeline\",\"reply_link_preview\":\"Enable reply-link preview on mouse hover\",\"reply_visibility_all\":\"Show all replies\",\"reply_visibility_following\":\"Only show replies directed at me or users I'm following\",\"reply_visibility_self\":\"Only show replies directed at me\",\"saving_err\":\"Error saving settings\",\"saving_ok\":\"Settings saved\",\"search_user_to_block\":\"Search whom you want to block\",\"search_user_to_mute\":\"Search whom you want to mute\",\"security_tab\":\"Security\",\"scope_copy\":\"Copy scope when replying (DMs are always copied)\",\"minimal_scopes_mode\":\"Minimize post scope selection options\",\"set_new_avatar\":\"Set new avatar\",\"set_new_profile_background\":\"Set new profile background\",\"set_new_profile_banner\":\"Set new profile banner\",\"settings\":\"Settings\",\"subject_input_always_show\":\"Always show subject field\",\"subject_line_behavior\":\"Copy subject when replying\",\"subject_line_email\":\"Like email: \\\"re: subject\\\"\",\"subject_line_mastodon\":\"Like mastodon: copy as is\",\"subject_line_noop\":\"Do not copy\",\"post_status_content_type\":\"Post status content type\",\"stop_gifs\":\"Play-on-hover GIFs\",\"streaming\":\"Enable automatic streaming of new posts when scrolled to the top\",\"text\":\"Text\",\"theme\":\"Theme\",\"theme_help\":\"Use hex color codes (#rrggbb) to customize your color theme.\",\"theme_help_v2_1\":\"You can also override certain component's colors and opacity by toggling the checkbox, use \\\"Clear all\\\" button to clear all overrides.\",\"theme_help_v2_2\":\"Icons underneath some entries are background/text contrast indicators, hover over for detailed info. Please keep in mind that when using transparency contrast indicators show the worst possible case.\",\"tooltipRadius\":\"Tooltips/alerts\",\"upload_a_photo\":\"Upload a photo\",\"user_settings\":\"User Settings\",\"values\":{\"false\":\"no\",\"true\":\"yes\"},\"notifications\":\"Notifications\",\"enable_web_push_notifications\":\"Enable web push notifications\",\"style\":{\"switcher\":{\"keep_color\":\"Keep colors\",\"keep_shadows\":\"Keep shadows\",\"keep_opacity\":\"Keep opacity\",\"keep_roundness\":\"Keep roundness\",\"keep_fonts\":\"Keep fonts\",\"save_load_hint\":\"\\\"Keep\\\" options preserve currently set options when selecting or loading themes, it also stores said options when exporting a theme. When all checkboxes unset, exporting theme will save everything.\",\"reset\":\"Reset\",\"clear_all\":\"Clear all\",\"clear_opacity\":\"Clear opacity\"},\"common\":{\"color\":\"Color\",\"opacity\":\"Opacity\",\"contrast\":{\"hint\":\"Contrast ratio is {ratio}, it {level} {context}\",\"level\":{\"aa\":\"meets Level AA guideline (minimal)\",\"aaa\":\"meets Level AAA guideline (recommended)\",\"bad\":\"doesn't meet any accessibility guidelines\"},\"context\":{\"18pt\":\"for large (18pt+) text\",\"text\":\"for text\"}}},\"common_colors\":{\"_tab_label\":\"Common\",\"main\":\"Common colors\",\"foreground_hint\":\"See \\\"Advanced\\\" tab for more detailed control\",\"rgbo\":\"Icons, accents, badges\"},\"advanced_colors\":{\"_tab_label\":\"Advanced\",\"alert\":\"Alert background\",\"alert_error\":\"Error\",\"badge\":\"Badge background\",\"badge_notification\":\"Notification\",\"panel_header\":\"Panel header\",\"top_bar\":\"Top bar\",\"borders\":\"Borders\",\"buttons\":\"Buttons\",\"inputs\":\"Input fields\",\"faint_text\":\"Faded text\"},\"radii\":{\"_tab_label\":\"Roundness\"},\"shadows\":{\"_tab_label\":\"Shadow and lighting\",\"component\":\"Component\",\"override\":\"Override\",\"shadow_id\":\"Shadow #{value}\",\"blur\":\"Blur\",\"spread\":\"Spread\",\"inset\":\"Inset\",\"hint\":\"For shadows you can also use --variable as a color value to use CSS3 variables. Please note that setting opacity won't work in this case.\",\"filter_hint\":{\"always_drop_shadow\":\"Warning, this shadow always uses {0} when browser supports it.\",\"drop_shadow_syntax\":\"{0} does not support {1} parameter and {2} keyword.\",\"avatar_inset\":\"Please note that combining both inset and non-inset shadows on avatars might give unexpected results with transparent avatars.\",\"spread_zero\":\"Shadows with spread > 0 will appear as if it was set to zero\",\"inset_classic\":\"Inset shadows will be using {0}\"},\"components\":{\"panel\":\"Panel\",\"panelHeader\":\"Panel header\",\"topBar\":\"Top bar\",\"avatar\":\"User avatar (in profile view)\",\"avatarStatus\":\"User avatar (in post display)\",\"popup\":\"Popups and tooltips\",\"button\":\"Button\",\"buttonHover\":\"Button (hover)\",\"buttonPressed\":\"Button (pressed)\",\"buttonPressedHover\":\"Button (pressed+hover)\",\"input\":\"Input field\"}},\"fonts\":{\"_tab_label\":\"Fonts\",\"help\":\"Select font to use for elements of UI. For \\\"custom\\\" you have to enter exact font name as it appears in system.\",\"components\":{\"interface\":\"Interface\",\"input\":\"Input fields\",\"post\":\"Post text\",\"postCode\":\"Monospaced text in a post (rich text)\"},\"family\":\"Font name\",\"size\":\"Size (in px)\",\"weight\":\"Weight (boldness)\",\"custom\":\"Custom\"},\"preview\":{\"header\":\"Preview\",\"content\":\"Content\",\"error\":\"Example error\",\"button\":\"Button\",\"text\":\"A bunch of more {0} and {1}\",\"mono\":\"content\",\"input\":\"Just landed in L.A.\",\"faint_link\":\"helpful manual\",\"fine_print\":\"Read our {0} to learn nothing useful!\",\"header_faint\":\"This is fine\",\"checkbox\":\"I have skimmed over terms and conditions\",\"link\":\"a nice lil' link\"}},\"version\":{\"title\":\"Version\",\"backend_version\":\"Backend Version\",\"frontend_version\":\"Frontend Version\"}},\"timeline\":{\"collapse\":\"Collapse\",\"conversation\":\"Conversation\",\"error_fetching\":\"Error fetching updates\",\"load_older\":\"Load older statuses\",\"no_retweet_hint\":\"Post is marked as followers-only or direct and cannot be repeated\",\"repeated\":\"repeated\",\"show_new\":\"Show new\",\"up_to_date\":\"Up-to-date\",\"no_more_statuses\":\"No more statuses\",\"no_statuses\":\"No statuses\"},\"status\":{\"reply_to\":\"Reply to\",\"replies_list\":\"Replies:\"},\"user_card\":{\"approve\":\"Approve\",\"block\":\"Block\",\"blocked\":\"Blocked!\",\"deny\":\"Deny\",\"favorites\":\"Favorites\",\"follow\":\"Follow\",\"follow_sent\":\"Request sent!\",\"follow_progress\":\"Requesting…\",\"follow_again\":\"Send request again?\",\"follow_unfollow\":\"Unfollow\",\"followees\":\"Following\",\"followers\":\"Followers\",\"following\":\"Following!\",\"follows_you\":\"Follows you!\",\"its_you\":\"It's you!\",\"media\":\"Media\",\"mute\":\"Mute\",\"muted\":\"Muted\",\"per_day\":\"per day\",\"remote_follow\":\"Remote follow\",\"statuses\":\"Statuses\",\"unblock\":\"Unblock\",\"unblock_progress\":\"Unblocking...\",\"block_progress\":\"Blocking...\",\"unmute\":\"Unmute\",\"unmute_progress\":\"Unmuting...\",\"mute_progress\":\"Muting...\",\"admin_menu\":{\"moderation\":\"Moderation\",\"grant_admin\":\"Grant Admin\",\"revoke_admin\":\"Revoke Admin\",\"grant_moderator\":\"Grant Moderator\",\"revoke_moderator\":\"Revoke Moderator\",\"activate_account\":\"Activate account\",\"deactivate_account\":\"Deactivate account\",\"delete_account\":\"Delete account\",\"force_nsfw\":\"Mark all posts as NSFW\",\"strip_media\":\"Remove media from posts\",\"force_unlisted\":\"Force posts to be unlisted\",\"sandbox\":\"Force posts to be followers-only\",\"disable_remote_subscription\":\"Disallow following user from remote instances\",\"disable_any_subscription\":\"Disallow following user at all\",\"quarantine\":\"Disallow user posts from federating\",\"delete_user\":\"Delete user\",\"delete_user_confirmation\":\"Are you absolutely sure? This action cannot be undone.\"}},\"user_profile\":{\"timeline_title\":\"User Timeline\",\"profile_does_not_exist\":\"Sorry, this profile does not exist.\",\"profile_loading_error\":\"Sorry, there was an error loading this profile.\"},\"who_to_follow\":{\"more\":\"More\",\"who_to_follow\":\"Who to follow\"},\"tool_tip\":{\"media_upload\":\"Upload Media\",\"repeat\":\"Repeat\",\"reply\":\"Reply\",\"favorite\":\"Favorite\",\"user_settings\":\"User Settings\"},\"upload\":{\"error\":{\"base\":\"Upload failed.\",\"file_too_big\":\"File too big [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"Try again later\"},\"file_size_units\":{\"B\":\"B\",\"KiB\":\"KiB\",\"MiB\":\"MiB\",\"GiB\":\"GiB\",\"TiB\":\"TiB\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/en.json\n// module id = 488\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Babilejo\"},\"features_panel\":{\"chat\":\"Babilejo\",\"gopher\":\"Gopher\",\"media_proxy\":\"Aŭdvidaĵa prokurilo\",\"scope_options\":\"Agordoj de amplekso\",\"text_limit\":\"Teksta limo\",\"title\":\"Funkcioj\",\"who_to_follow\":\"Kiun aboni\"},\"finder\":{\"error_fetching_user\":\"Eraro alportante uzanton\",\"find_user\":\"Trovi uzanton\"},\"general\":{\"apply\":\"Apliki\",\"submit\":\"Sendi\",\"more\":\"Pli\",\"generic_error\":\"Eraro okazis\",\"optional\":\"Malnepra\"},\"image_cropper\":{\"crop_picture\":\"Tondi bildon\",\"save\":\"Konservi\",\"cancel\":\"Nuligi\"},\"login\":{\"login\":\"Saluti\",\"description\":\"Saluti per OAuth\",\"logout\":\"Adiaŭi\",\"password\":\"Pasvorto\",\"placeholder\":\"ekz. lain\",\"register\":\"Registriĝi\",\"username\":\"Salutnomo\",\"hint\":\"Salutu por partopreni la diskutadon\"},\"media_modal\":{\"previous\":\"Antaŭa\",\"next\":\"Sekva\"},\"nav\":{\"about\":\"Pri\",\"back\":\"Reen\",\"chat\":\"Loka babilejo\",\"friend_requests\":\"Abonaj petoj\",\"mentions\":\"Mencioj\",\"dms\":\"Rektaj mesaĝoj\",\"public_tl\":\"Publika tempolinio\",\"timeline\":\"Tempolinio\",\"twkn\":\"La tuta konata reto\",\"user_search\":\"Serĉi uzantojn\",\"who_to_follow\":\"Kiun aboni\",\"preferences\":\"Agordoj\"},\"notifications\":{\"broken_favorite\":\"Nekonata stato, serĉante ĝin…\",\"favorited_you\":\"ŝatis vian staton\",\"followed_you\":\"ekabonis vin\",\"load_older\":\"Enlegi pli malnovajn sciigojn\",\"notifications\":\"Sciigoj\",\"read\":\"Legite!\",\"repeated_you\":\"ripetis vian staton\",\"no_more_notifications\":\"Neniuj pliaj sciigoj\"},\"post_status\":{\"new_status\":\"Afiŝi novan staton\",\"account_not_locked_warning\":\"Via konto ne estas {0}. Iu ajn povas vin aboni por vidi viajn afiŝoj nur por abonantoj.\",\"account_not_locked_warning_link\":\"ŝlosita\",\"attachments_sensitive\":\"Marki kunsendaĵojn kiel konsternajn\",\"content_type\":{\"text/plain\":\"Plata teksto\"},\"content_warning\":\"Temo (malnepra)\",\"default\":\"Ĵus alvenis al la Universala Kongreso!\",\"direct_warning\":\"Ĉi tiu afiŝo estos videbla nur por ĉiuj menciitaj uzantoj.\",\"posting\":\"Afiŝante\",\"scope\":{\"direct\":\"Rekta – Afiŝi nur al menciitaj uzantoj\",\"private\":\"Nur abonantoj – Afiŝi nur al abonantoj\",\"public\":\"Publika – Afiŝi al publikaj tempolinioj\",\"unlisted\":\"Nelistigita – Ne afiŝi al publikaj tempolinioj\"}},\"registration\":{\"bio\":\"Priskribo\",\"email\":\"Retpoŝtadreso\",\"fullname\":\"Vidiga nomo\",\"password_confirm\":\"Konfirmo de pasvorto\",\"registration\":\"Registriĝo\",\"token\":\"Invita ĵetono\",\"captcha\":\"TESTO DE HOMECO\",\"new_captcha\":\"Alklaku la bildon por akiri novan teston\",\"username_placeholder\":\"ekz. lain\",\"fullname_placeholder\":\"ekz. Lain Iwakura\",\"bio_placeholder\":\"ekz.\\nSaluton, mi estas Lain\\nMi estas animea knabino vivante en Japanujo. Eble vi konas min de la retejo « Wired ».\",\"validations\":{\"username_required\":\"ne povas resti malplena\",\"fullname_required\":\"ne povas resti malplena\",\"email_required\":\"ne povas resti malplena\",\"password_required\":\"ne povas resti malplena\",\"password_confirmation_required\":\"ne povas resti malplena\",\"password_confirmation_match\":\"samu la pasvorton\"}},\"settings\":{\"app_name\":\"Nomo de aplikaĵo\",\"attachmentRadius\":\"Kunsendaĵoj\",\"attachments\":\"Kunsendaĵoj\",\"autoload\":\"Ŝalti memfaran enlegadon ĉe subo de paĝo\",\"avatar\":\"Profilbildo\",\"avatarAltRadius\":\"Profilbildoj (sciigoj)\",\"avatarRadius\":\"Profilbildoj\",\"background\":\"Fono\",\"bio\":\"Priskribo\",\"blocks_tab\":\"Baroj\",\"btnRadius\":\"Butonoj\",\"cBlue\":\"Blua (Respondo, abono)\",\"cGreen\":\"Verda (Kunhavigo)\",\"cOrange\":\"Oranĝa (Ŝato)\",\"cRed\":\"Ruĝa (Nuligo)\",\"change_password\":\"Ŝanĝi pasvorton\",\"change_password_error\":\"Okazis eraro dum ŝanĝo de via pasvorto.\",\"changed_password\":\"Pasvorto sukcese ŝanĝiĝis!\",\"collapse_subject\":\"Maletendi afiŝojn kun temoj\",\"composing\":\"Verkante\",\"confirm_new_password\":\"Konfirmu novan pasvorton\",\"current_avatar\":\"Via nuna profilbildo\",\"current_password\":\"Nuna pasvorto\",\"current_profile_banner\":\"Via nuna profila rubando\",\"data_import_export_tab\":\"Enporto / Elporto de datenoj\",\"default_vis\":\"Implicita videbleca amplekso\",\"delete_account\":\"Forigi konton\",\"delete_account_description\":\"Por ĉiam forigi vian konton kaj ĉiujn viajn mesaĝojn\",\"delete_account_error\":\"Okazis eraro dum forigo de via kanto. Se tio daŭre okazados, bonvolu kontakti la administranton de via nodo.\",\"delete_account_instructions\":\"Entajpu sube vian pasvorton por konfirmi forigon de konto.\",\"avatar_size_instruction\":\"La rekomendata malpleja grando de profilbildoj estas 150×150 bilderoj.\",\"export_theme\":\"Konservi antaŭagordon\",\"filtering\":\"Filtrado\",\"filtering_explanation\":\"Ĉiuj statoj kun tiuj ĉi vortoj silentiĝos, po unu linio\",\"follow_export\":\"Abona elporto\",\"follow_export_button\":\"Elporti viajn abonojn al CSV-dosiero\",\"follow_export_processing\":\"Traktante; baldaŭ vi ricevos peton elŝuti la dosieron\",\"follow_import\":\"Abona enporto\",\"follow_import_error\":\"Eraro enportante abonojn\",\"follows_imported\":\"Abonoj enportiĝis! Traktado daŭros iom.\",\"foreground\":\"Malfono\",\"general\":\"Ĝenerala\",\"hide_attachments_in_convo\":\"Kaŝi kunsendaĵojn en interparoloj\",\"hide_attachments_in_tl\":\"Kaŝi kunsendaĵojn en tempolinio\",\"max_thumbnails\":\"Plej multa nombro da bildetoj po afiŝo\",\"hide_isp\":\"Kaŝi nodo-propran breton\",\"preload_images\":\"Antaŭ-enlegi bildojn\",\"use_one_click_nsfw\":\"Malfermi konsternajn kunsendaĵojn per nur unu klako\",\"hide_post_stats\":\"Kaŝi statistikon de afiŝoj (ekz. nombron da ŝatoj)\",\"hide_user_stats\":\"Kaŝi statistikon de uzantoj (ekz. nombron da abonantoj)\",\"hide_filtered_statuses\":\"Kaŝi filtritajn statojn\",\"import_followers_from_a_csv_file\":\"Enporti abonojn el CSV-dosiero\",\"import_theme\":\"Enlegi antaŭagordojn\",\"inputRadius\":\"Enigaj kampoj\",\"checkboxRadius\":\"Markbutonoj\",\"instance_default\":\"(implicita: {value})\",\"instance_default_simple\":\"(implicita)\",\"interface\":\"Fasado\",\"interfaceLanguage\":\"Lingvo de fasado\",\"invalid_theme_imported\":\"La elektita dosiero ne estas subtenata haŭto de Pleromo. Neniuj ŝanĝoj al via haŭto okazis.\",\"limited_availability\":\"Nehavebla en via foliumilo\",\"links\":\"Ligiloj\",\"lock_account_description\":\"Limigi vian konton al nur abonantoj aprobitaj\",\"loop_video\":\"Ripetadi filmojn\",\"loop_video_silent_only\":\"Ripetadi nur filmojn sen sono (ekz. la \\\"GIF-ojn\\\" de Mastodon)\",\"mutes_tab\":\"Silentigoj\",\"play_videos_in_modal\":\"Ludi filmojn rekte en la aŭdvidaĵa spektilo\",\"use_contain_fit\":\"Ne tondi la kunsendaĵon en bildetoj\",\"name\":\"Nomo\",\"name_bio\":\"Nomo kaj priskribo\",\"new_password\":\"Nova pasvorto\",\"notification_visibility\":\"Montrotaj specoj de sciigoj\",\"notification_visibility_follows\":\"Abonoj\",\"notification_visibility_likes\":\"Ŝatoj\",\"notification_visibility_mentions\":\"Mencioj\",\"notification_visibility_repeats\":\"Ripetoj\",\"no_rich_text_description\":\"Forigi riĉtekstajn formojn de ĉiuj afiŝoj\",\"no_blocks\":\"Neniuj baroj\",\"no_mutes\":\"Neniuj silentigoj\",\"hide_follows_description\":\"Ne montri kiun mi sekvas\",\"hide_followers_description\":\"Ne montri kiu min sekvas\",\"show_admin_badge\":\"Montri la insignon de administranto en mia profilo\",\"show_moderator_badge\":\"Montri la insignon de kontrolanto en mia profilo\",\"nsfw_clickthrough\":\"Ŝalti traklakan kaŝon de konsternaj kunsendaĵoj\",\"oauth_tokens\":\"Ĵetonoj de OAuth\",\"token\":\"Ĵetono\",\"refresh_token\":\"Ĵetono de novigo\",\"valid_until\":\"Valida ĝis\",\"revoke_token\":\"Senvalidigi\",\"panelRadius\":\"Bretoj\",\"pause_on_unfocused\":\"Paŭzigi elsendfluon kiam langeto ne estas fokusata\",\"presets\":\"Antaŭagordoj\",\"profile_background\":\"Profila fono\",\"profile_banner\":\"Profila rubando\",\"profile_tab\":\"Profilo\",\"radii_help\":\"Agordi fasadan rondigon de randoj (bildere)\",\"replies_in_timeline\":\"Respondoj en tempolinio\",\"reply_link_preview\":\"Ŝalti respond-ligilan antaŭvidon dum musa ŝvebo\",\"reply_visibility_all\":\"Montri ĉiujn respondojn\",\"reply_visibility_following\":\"Montri nur respondojn por mi aŭ miaj abonatoj\",\"reply_visibility_self\":\"Montri nur respondojn por mi\",\"saving_err\":\"Eraro dum konservo de agordoj\",\"saving_ok\":\"Agordoj konserviĝis\",\"security_tab\":\"Sekureco\",\"scope_copy\":\"Kopii amplekson por respondo (rektaj mesaĝoj ĉiam kopiiĝas)\",\"set_new_avatar\":\"Agordi novan profilbildon\",\"set_new_profile_background\":\"Agordi novan profilan fonon\",\"set_new_profile_banner\":\"Agordi novan profilan rubandon\",\"settings\":\"Agordoj\",\"subject_input_always_show\":\"Ĉiam montri teman kampon\",\"subject_line_behavior\":\"Kopii temon por respondo\",\"subject_line_email\":\"Kiel retpoŝto: \\\"re: temo\\\"\",\"subject_line_mastodon\":\"Kiel Mastodon: kopii senŝanĝe\",\"subject_line_noop\":\"Ne kopii\",\"post_status_content_type\":\"Afiŝi specon de la enhavo de la stato\",\"stop_gifs\":\"Movi GIF-bildojn dum musa ŝvebo\",\"streaming\":\"Ŝalti memfaran fluigon de novaj afiŝoj ĉe la supro de la paĝo\",\"text\":\"Teksto\",\"theme\":\"Haŭto\",\"theme_help\":\"Uzu deksesumajn kolorkodojn (#rrvvbb) por adapti vian koloran haŭton.\",\"theme_help_v2_1\":\"Vi ankaŭ povas superagordi la kolorojn kaj travideblecon de kelkaj eroj per marko de la markbutono; uzu la butonon \\\"Vakigi ĉion\\\" por forigi ĉîujn superagordojn.\",\"theme_help_v2_2\":\"Bildsimboloj sub kelkaj eroj estas indikiloj de kontrasto inter fono kaj teksto; muse ŝvebu por detalaj informoj. Bonvolu memori, ke la indikilo montras la plej malbonan okazeblon dum sia uzo.\",\"tooltipRadius\":\"Ŝpruchelpiloj/avertoj\",\"upload_a_photo\":\"Alŝuti foton\",\"user_settings\":\"Agordoj de uzanto\",\"values\":{\"false\":\"ne\",\"true\":\"jes\"},\"notifications\":\"Sciigoj\",\"enable_web_push_notifications\":\"Ŝalti retajn puŝajn sciigojn\",\"style\":{\"switcher\":{\"keep_color\":\"Konservi kolorojn\",\"keep_shadows\":\"Konservi ombrojn\",\"keep_opacity\":\"Konservi maltravideblecon\",\"keep_roundness\":\"Konservi rondecon\",\"keep_fonts\":\"Konservi tiparojn\",\"save_load_hint\":\"Elektebloj de \\\"konservi\\\" konservas la nuntempajn agordojn dum elektado aŭ enlegado de haŭtoj. Ĝi ankaŭ konservas tiujn agordojn dum elportado de haŭto. Kun ĉiuj markbutonoj nemarkitaj, elporto de la haŭto ĉion konservos.\",\"reset\":\"Restarigi\",\"clear_all\":\"Vakigi ĉion\",\"clear_opacity\":\"Vakigi maltravideblecon\"},\"common\":{\"color\":\"Koloro\",\"opacity\":\"Maltravidebleco\",\"contrast\":{\"hint\":\"Proporcio de kontrasto estas {ratio}, ĝi {level} {context}\",\"level\":{\"aa\":\"plenumas la gvidilon je nivelo AA (malpleja)\",\"aaa\":\"plenumas la gvidilon je nivela AAA (rekomendita)\",\"bad\":\"plenumas neniujn faciluzajn gvidilojn\"},\"context\":{\"18pt\":\"por granda (18pt+) teksto\",\"text\":\"por teksto\"}}},\"common_colors\":{\"_tab_label\":\"Komunaj\",\"main\":\"Komunaj koloroj\",\"foreground_hint\":\"Vidu langeton \\\"Specialaj\\\" por pli detalaj agordoj\",\"rgbo\":\"Bildsimboloj, emfazoj, insignoj\"},\"advanced_colors\":{\"_tab_label\":\"Specialaj\",\"alert\":\"Averta fono\",\"alert_error\":\"Eraro\",\"badge\":\"Insigna fono\",\"badge_notification\":\"Sciigo\",\"panel_header\":\"Kapo de breto\",\"top_bar\":\"Supra breto\",\"borders\":\"Limoj\",\"buttons\":\"Butonoj\",\"inputs\":\"Enigaj kampoj\",\"faint_text\":\"Malvigla teksto\"},\"radii\":{\"_tab_label\":\"Rondeco\"},\"shadows\":{\"_tab_label\":\"Ombro kaj lumo\",\"component\":\"Ero\",\"override\":\"Transpasi\",\"shadow_id\":\"Ombro #{value}\",\"blur\":\"Malklarigo\",\"spread\":\"Vastigo\",\"inset\":\"Internigo\",\"hint\":\"Por ombroj vi ankaŭ povas uzi --variable kiel koloran valoron, por uzi variantojn de CSS3. Bonvolu rimarki, ke tiuokaze agordoj de maltravidebleco ne funkcios.\",\"filter_hint\":{\"always_drop_shadow\":\"Averto: ĉi tiu ombro ĉiam uzas {0} kiam la foliumilo ĝin subtenas.\",\"drop_shadow_syntax\":\"{0} ne subtenas parametron {1} kaj ŝlosilvorton {2}.\",\"avatar_inset\":\"Bonvolu rimarki, ke agordi ambaŭ internajn kaj eksterajn ombrojn por profilbildoj povas redoni neatenditajn rezultojn ĉe profilbildoj travideblaj.\",\"spread_zero\":\"Ombroj kun vastigo > 0 aperos kvazaŭ ĝi estus fakte nulo\",\"inset_classic\":\"Internaj ombroj uzos {0}\"},\"components\":{\"panel\":\"Breto\",\"panelHeader\":\"Kapo de breto\",\"topBar\":\"Supra breto\",\"avatar\":\"Profilbildo de uzanto (en profila vido)\",\"avatarStatus\":\"Profilbildo de uzanto (en afiŝa vido)\",\"popup\":\"Ŝprucaĵoj\",\"button\":\"Butono\",\"buttonHover\":\"Butono (je ŝvebo)\",\"buttonPressed\":\"Butono (premita)\",\"buttonPressedHover\":\"Butono (premita je ŝvebo)\",\"input\":\"Eniga kampo\"}},\"fonts\":{\"_tab_label\":\"Tiparoj\",\"help\":\"Elektu tiparon uzotan por eroj de la fasado. Por \\\"propra\\\" vi devas enigi la precizan nomon de tiparo tiel, kiel ĝi aperas en la sistemo\",\"components\":{\"interface\":\"Fasado\",\"input\":\"Enigaj kampoj\",\"post\":\"Teksto de afiŝo\",\"postCode\":\"Egallarĝa teksto en afiŝo (riĉteksto)\"},\"family\":\"Nomo de tiparo\",\"size\":\"Grando (en bilderoj)\",\"weight\":\"Pezo (graseco)\",\"custom\":\"Propra\"},\"preview\":{\"header\":\"Antaŭrigardo\",\"content\":\"Enhavo\",\"error\":\"Ekzempla eraro\",\"button\":\"Butono\",\"text\":\"Kelko da pliaj {0} kaj {1}\",\"mono\":\"enhavo\",\"input\":\"Ĵus alvenis al la Universala Kongreso!\",\"faint_link\":\"helpan manlibron\",\"fine_print\":\"Legu nian {0} por nenion utilan ekscii!\",\"header_faint\":\"Tio estas en ordo\",\"checkbox\":\"Mi legetis la kondiĉojn de uzado\",\"link\":\"bela eta ligil’\"}}},\"timeline\":{\"collapse\":\"Maletendi\",\"conversation\":\"Interparolo\",\"error_fetching\":\"Eraro dum ĝisdatigo\",\"load_older\":\"Montri pli malnovajn statojn\",\"no_retweet_hint\":\"Afiŝo estas markita kiel rekta aŭ nur por abonantoj, kaj ne eblas ĝin ripeti\",\"repeated\":\"ripetita\",\"show_new\":\"Montri novajn\",\"up_to_date\":\"Ĝisdata\",\"no_more_statuses\":\"Neniuj pliaj statoj\",\"no_statuses\":\"Neniuj statoj\"},\"user_card\":{\"approve\":\"Aprobi\",\"block\":\"Bari\",\"blocked\":\"Barita!\",\"deny\":\"Rifuzi\",\"favorites\":\"Ŝatataj\",\"follow\":\"Aboni\",\"follow_sent\":\"Peto sendiĝis!\",\"follow_progress\":\"Petanta…\",\"follow_again\":\"Ĉu sendi peton denove?\",\"follow_unfollow\":\"Malaboni\",\"followees\":\"Abonatoj\",\"followers\":\"Abonantoj\",\"following\":\"Abonanta!\",\"follows_you\":\"Abonas vin!\",\"its_you\":\"Tio estas vi!\",\"media\":\"Aŭdvidaĵoj\",\"mute\":\"Silentigi\",\"muted\":\"Silentigitaj\",\"per_day\":\"tage\",\"remote_follow\":\"Fore aboni\",\"statuses\":\"Statoj\",\"unblock\":\"Malbari\",\"unblock_progress\":\"Malbaranta…\",\"block_progress\":\"Baranta…\",\"unmute\":\"Malsilentigi\",\"unmute_progress\":\"Malsilentiganta…\",\"mute_progress\":\"Silentiganta…\"},\"user_profile\":{\"timeline_title\":\"Uzanta tempolinio\",\"profile_does_not_exist\":\"Pardonu, ĉi tiu profilo ne ekzistas.\",\"profile_loading_error\":\"Pardonu, eraro okazis dum enlegado de ĉi tiu profilo.\"},\"who_to_follow\":{\"more\":\"Pli\",\"who_to_follow\":\"Kiun aboni\"},\"tool_tip\":{\"media_upload\":\"Alŝuti aŭdvidaĵon\",\"repeat\":\"Ripeti\",\"reply\":\"Respondi\",\"favorite\":\"Ŝati\",\"user_settings\":\"Agordoj de uzanto\"},\"upload\":{\"error\":{\"base\":\"Alŝuto malsukcesis.\",\"file_too_big\":\"Dosiero estas tro granda [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"Reprovu pli poste\"},\"file_size_units\":{\"B\":\"B\",\"KiB\":\"KiB\",\"MiB\":\"MiB\",\"GiB\":\"GiB\",\"TiB\":\"TiB\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/eo.json\n// module id = 489\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Chat\"},\"features_panel\":{\"chat\":\"Chat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Media proxy\",\"scope_options\":\"Opciones del alcance de la visibilidad\",\"text_limit\":\"Límite de carácteres\",\"title\":\"Características\",\"who_to_follow\":\"A quién seguir\"},\"finder\":{\"error_fetching_user\":\"Error al buscar usuario\",\"find_user\":\"Encontrar usuario\"},\"general\":{\"apply\":\"Aplicar\",\"submit\":\"Enviar\",\"more\":\"Más\",\"generic_error\":\"Ha ocurrido un error\"},\"login\":{\"login\":\"Identificación\",\"description\":\"Identificación con OAuth\",\"logout\":\"Salir\",\"password\":\"Contraseña\",\"placeholder\":\"p.ej. lain\",\"register\":\"Registrar\",\"username\":\"Usuario\",\"hint\":\"Inicia sesión para unirte a la discusión\"},\"nav\":{\"about\":\"Sobre\",\"back\":\"Volver\",\"chat\":\"Chat Local\",\"friend_requests\":\"Solicitudes de amistad\",\"mentions\":\"Menciones\",\"dms\":\"Mensajes Directo\",\"public_tl\":\"Línea Temporal Pública\",\"timeline\":\"Línea Temporal\",\"twkn\":\"Toda La Red Conocida\",\"user_search\":\"Búsqueda de Usuarios\",\"who_to_follow\":\"A quién seguir\",\"preferences\":\"Preferencias\"},\"notifications\":{\"broken_favorite\":\"Estado desconocido, buscándolo...\",\"favorited_you\":\"le gusta tu estado\",\"followed_you\":\"empezó a seguirte\",\"load_older\":\"Cargar notificaciones antiguas\",\"notifications\":\"Notificaciones\",\"read\":\"¡Leído!\",\"repeated_you\":\"repite tu estado\",\"no_more_notifications\":\"No hay más notificaciones\"},\"post_status\":{\"new_status\":\"Publicar un nuevo estado\",\"account_not_locked_warning\":\"Tu cuenta no está {0}. Cualquiera puede seguirte y leer las entradas para Solo-Seguidores.\",\"account_not_locked_warning_link\":\"bloqueada\",\"attachments_sensitive\":\"Contenido sensible\",\"content_type\":{\"text/plain\":\"Texto Plano\"},\"content_warning\":\"Tema (opcional)\",\"default\":\"Acabo de aterrizar en L.A.\",\"direct_warning\":\"Esta entrada solo será visible para los usuarios mencionados.\",\"posting\":\"Publicando\",\"scope\":{\"direct\":\"Directo - Solo para los usuarios mencionados.\",\"private\":\"Solo-Seguidores - Solo tus seguidores leeran la entrada\",\"public\":\"Público - Entradas visibles en las Líneas Temporales Públicas\",\"unlisted\":\"Sin Listar - Entradas no visibles en las Líneas Temporales Públicas\"}},\"registration\":{\"bio\":\"Biografía\",\"email\":\"Correo electrónico\",\"fullname\":\"Nombre a mostrar\",\"password_confirm\":\"Confirmación de contraseña\",\"registration\":\"Registro\",\"token\":\"Token de invitación\",\"captcha\":\"CAPTCHA\",\"new_captcha\":\"Click en la imagen para obtener un nuevo captca\",\"validations\":{\"username_required\":\"no puede estar vacío\",\"fullname_required\":\"no puede estar vacío\",\"email_required\":\"no puede estar vacío\",\"password_required\":\"no puede estar vacío\",\"password_confirmation_required\":\"no puede estar vacío\",\"password_confirmation_match\":\"la contraseña no coincide\"}},\"settings\":{\"attachmentRadius\":\"Adjuntos\",\"attachments\":\"Adjuntos\",\"autoload\":\"Activar carga automática al llegar al final de la página\",\"avatar\":\"Avatar\",\"avatarAltRadius\":\"Avatares (Notificaciones)\",\"avatarRadius\":\"Avatares\",\"background\":\"Fondo\",\"bio\":\"Biografía\",\"btnRadius\":\"Botones\",\"cBlue\":\"Azul (Responder, seguir)\",\"cGreen\":\"Verde (Retweet)\",\"cOrange\":\"Naranja (Favorito)\",\"cRed\":\"Rojo (Cancelar)\",\"change_password\":\"Cambiar contraseña\",\"change_password_error\":\"Hubo un problema cambiando la contraseña.\",\"changed_password\":\"Contraseña cambiada correctamente!\",\"collapse_subject\":\"Colapsar entradas con tema\",\"composing\":\"Redactando\",\"confirm_new_password\":\"Confirmar la nueva contraseña\",\"current_avatar\":\"Tu avatar actual\",\"current_password\":\"Contraseña actual\",\"current_profile_banner\":\"Tu cabecera actual\",\"data_import_export_tab\":\"Importar / Exportar Datos\",\"default_vis\":\"Alcance de visibilidad por defecto\",\"delete_account\":\"Eliminar la cuenta\",\"delete_account_description\":\"Eliminar para siempre la cuenta y todos los mensajes.\",\"delete_account_error\":\"Hubo un error al eliminar tu cuenta. Si el fallo persiste, ponte en contacto con el administrador de tu instancia.\",\"delete_account_instructions\":\"Escribe tu contraseña para confirmar la eliminación de tu cuenta.\",\"avatar_size_instruction\":\"El tamaño mínimo recomendado para el avatar es de 150X150 píxeles.\",\"export_theme\":\"Exportar tema\",\"filtering\":\"Filtros\",\"filtering_explanation\":\"Todos los estados que contengan estas palabras serán silenciados, una por línea\",\"follow_export\":\"Exportar personas que tú sigues\",\"follow_export_button\":\"Exporta tus seguidores a un archivo csv\",\"follow_export_processing\":\"Procesando, en breve se te preguntará para guardar el archivo\",\"follow_import\":\"Importar personas que tú sigues\",\"follow_import_error\":\"Error al importal el archivo\",\"follows_imported\":\"¡Importado! Procesarlos llevará tiempo.\",\"foreground\":\"Primer plano\",\"general\":\"General\",\"hide_attachments_in_convo\":\"Ocultar adjuntos en las conversaciones\",\"hide_attachments_in_tl\":\"Ocultar adjuntos en la línea temporal\",\"hide_isp\":\"Ocultar el panel específico de la instancia\",\"preload_images\":\"Precargar las imágenes\",\"use_one_click_nsfw\":\"Abrir los adjuntos NSFW con un solo click.\",\"hide_post_stats\":\"Ocultar las estadísticas de las entradas (p.ej. el número de favoritos)\",\"hide_user_stats\":\"Ocultar las estadísticas del usuario (p.ej. el número de seguidores)\",\"hide_filtered_statuses\":\"Ocultar estados filtrados\",\"import_followers_from_a_csv_file\":\"Importar personas que tú sigues a partir de un archivo csv\",\"import_theme\":\"Importar tema\",\"inputRadius\":\"Campos de entrada\",\"checkboxRadius\":\"Casillas de verificación\",\"instance_default\":\"(por defecto: {value})\",\"instance_default_simple\":\"(por defecto)\",\"interface\":\"Interfaz\",\"interfaceLanguage\":\"Idioma\",\"invalid_theme_imported\":\"El archivo importado no es un tema válido de Pleroma. No se han realizado cambios.\",\"limited_availability\":\"No disponible en tu navegador\",\"links\":\"Enlaces\",\"lock_account_description\":\"Restringir el acceso a tu cuenta solo a seguidores admitidos\",\"loop_video\":\"Vídeos en bucle\",\"loop_video_silent_only\":\"Bucle solo en vídeos sin sonido (p.ej. \\\"gifs\\\" de Mastodon)\",\"play_videos_in_modal\":\"Reproducir los vídeos directamente en el visor de medios\",\"use_contain_fit\":\"No recortar los adjuntos en miniaturas\",\"name\":\"Nombre\",\"name_bio\":\"Nombre y Biografía\",\"new_password\":\"Nueva contraseña\",\"notification_visibility\":\"Tipos de notificaciones a mostrar\",\"notification_visibility_follows\":\"Nuevos seguidores\",\"notification_visibility_likes\":\"Me gustan (Likes)\",\"notification_visibility_mentions\":\"Menciones\",\"notification_visibility_repeats\":\"Repeticiones (Repeats)\",\"no_rich_text_description\":\"Eliminar el formato de texto enriquecido de todas las entradas\",\"hide_follows_description\":\"No mostrar a quién sigo\",\"hide_followers_description\":\"No mostrar quién me sigue\",\"show_admin_badge\":\"Mostrar la placa de administrador en mi perfil\",\"show_moderator_badge\":\"Mostrar la placa de moderador en mi perfil\",\"nsfw_clickthrough\":\"Activar el clic para ocultar los adjuntos NSFW\",\"oauth_tokens\":\"Tokens de OAuth\",\"token\":\"Token\",\"refresh_token\":\"Actualizar el token\",\"valid_until\":\"Válido hasta\",\"revoke_token\":\"Revocar\",\"panelRadius\":\"Paneles\",\"pause_on_unfocused\":\"Parar la transmisión cuando no estés en foco.\",\"presets\":\"Por defecto\",\"profile_background\":\"Fondo del Perfil\",\"profile_banner\":\"Cabecera del Perfil\",\"profile_tab\":\"Perfil\",\"radii_help\":\"Estable el redondeo de las esquinas del interfaz (en píxeles)\",\"replies_in_timeline\":\"Réplicas en la línea temporal\",\"reply_link_preview\":\"Activar la previsualización del enlace de responder al pasar el ratón por encim\",\"reply_visibility_all\":\"Mostrar todas las réplicas\",\"reply_visibility_following\":\"Solo mostrar réplicas para mí o usuarios a los que sigo\",\"reply_visibility_self\":\"Solo mostrar réplicas para mí\",\"saving_err\":\"Error al guardar los ajustes\",\"saving_ok\":\"Ajustes guardados\",\"security_tab\":\"Seguridad\",\"scope_copy\":\"Copiar la visibilidad cuando contestamos (En los mensajes directos (MDs) siempre se copia)\",\"set_new_avatar\":\"Cambiar avatar\",\"set_new_profile_background\":\"Cambiar fondo del perfil\",\"set_new_profile_banner\":\"Cambiar cabecera del perfil\",\"settings\":\"Ajustes\",\"subject_input_always_show\":\"Mostrar siempre el campo del tema\",\"subject_line_behavior\":\"Copiar el tema en las contestaciones\",\"subject_line_email\":\"Tipo email: \\\"re: tema\\\"\",\"subject_line_mastodon\":\"Tipo mastodon: copiar como es\",\"subject_line_noop\":\"No copiar\",\"post_status_content_type\":\"Formato de publicación\",\"stop_gifs\":\"Iniciar GIFs al pasar el ratón\",\"streaming\":\"Habilite la transmisión automática de nuevas publicaciones cuando se desplaza hacia la parte superior\",\"text\":\"Texto\",\"theme\":\"Tema\",\"theme_help\":\"Use códigos de color hexadecimales (#rrggbb) para personalizar su tema de colores.\",\"theme_help_v2_1\":\"También puede invalidar los colores y la opacidad de ciertos componentes si activa la casilla de verificación, use el botón \\\"Borrar todo\\\" para deshacer los cambios.\",\"theme_help_v2_2\":\"Los iconos debajo de algunas entradas son indicadores de contraste de fondo/texto, desplace el ratón para obtener información detallada. Tenga en cuenta que cuando se utilizan indicadores de contraste de transparencia se muestra el peor caso posible.\",\"tooltipRadius\":\"Información/alertas\",\"user_settings\":\"Ajustes de Usuario\",\"values\":{\"false\":\"no\",\"true\":\"sí\"},\"notifications\":\"Notificaciones\",\"enable_web_push_notifications\":\"Habilitar las notificiaciones en el navegador\",\"style\":{\"switcher\":{\"keep_color\":\"Mantener colores\",\"keep_shadows\":\"Mantener sombras\",\"keep_opacity\":\"Mantener opacidad\",\"keep_roundness\":\"Mantener redondeces\",\"keep_fonts\":\"Mantener fuentes\",\"save_load_hint\":\"Las opciones \\\"Mantener\\\" conservan las opciones configuradas actualmente al seleccionar o cargar temas, también almacena dichas opciones al exportar un tema. Cuando se desactiven todas las casillas de verificación, el tema de exportación lo guardará todo.\",\"reset\":\"Reiniciar\",\"clear_all\":\"Limpiar todo\",\"clear_opacity\":\"Limpiar opacidad\"},\"common\":{\"color\":\"Color\",\"opacity\":\"Opacidad\",\"contrast\":{\"hint\":\"El ratio de contraste es {ratio}. {level} {context}\",\"level\":{\"aa\":\"Cumple con la pauta de nivel AA (mínimo)\",\"aaa\":\"Cumple con la pauta de nivel AAA (recomendado)\",\"bad\":\"No cumple con las pautas de accesibilidad\"},\"context\":{\"18pt\":\"para textos grandes (+18pt)\",\"text\":\"para textos\"}}},\"common_colors\":{\"_tab_label\":\"Común\",\"main\":\"Colores comunes\",\"foreground_hint\":\"Vea la pestaña \\\"Avanzado\\\" para un control más detallado\",\"rgbo\":\"Iconos, acentos, insignias\"},\"advanced_colors\":{\"_tab_label\":\"Avanzado\",\"alert\":\"Fondo de Alertas\",\"alert_error\":\"Error\",\"badge\":\"Fondo de Insignias\",\"badge_notification\":\"Notificaciones\",\"panel_header\":\"Cabecera del panel\",\"top_bar\":\"Barra superior\",\"borders\":\"Bordes\",\"buttons\":\"Botones\",\"inputs\":\"Campos de entrada\",\"faint_text\":\"Texto desvanecido\"},\"radii\":{\"_tab_label\":\"Redondez\"},\"shadows\":{\"_tab_label\":\"Sombra e iluminación\",\"component\":\"Componente\",\"override\":\"Sobreescribir\",\"shadow_id\":\"Sombra #{value}\",\"blur\":\"Difuminar\",\"spread\":\"Cantidad\",\"inset\":\"Insertada\",\"hint\":\"Para las sombras, también puede usar --variable como un valor de color para usar las variables CSS3. Tenga en cuenta que establecer la opacidad no funcionará en este caso.\",\"filter_hint\":{\"always_drop_shadow\":\"Advertencia, esta sombra siempre usa {0} cuando el navegador lo soporta.\",\"drop_shadow_syntax\":\"{0} no soporta el parámetro {1} y la palabra clave {2}.\",\"avatar_inset\":\"Tenga en cuenta que la combinación de sombras insertadas como no-insertadas en los avatares, puede dar resultados inesperados con los avatares transparentes.\",\"spread_zero\":\"Sombras con una cantidad > 0 aparecerá como si estuviera puesto a cero\",\"inset_classic\":\"Las sombras insertadas estarán usando {0}\"},\"components\":{\"panel\":\"Panel\",\"panelHeader\":\"Cabecera del panel\",\"topBar\":\"Barra superior\",\"avatar\":\"Avatar del usuario (en la vista del perfil)\",\"avatarStatus\":\"Avatar del usuario (en la vista de la entrada)\",\"popup\":\"Ventanas y textos emergentes (popups & tooltips)\",\"button\":\"Botones\",\"buttonHover\":\"Botón (encima)\",\"buttonPressed\":\"Botón (presionado)\",\"buttonPressedHover\":\"Botón (presionado+encima)\",\"input\":\"Campo de entrada\"}},\"fonts\":{\"_tab_label\":\"Fuentes\",\"help\":\"Seleccione la fuente para utilizar para los elementos de la interfaz de usuario. Para \\\"personalizado\\\", debe ingresar el nombre exacto de la fuente tal como aparece en el sistema.\",\"components\":{\"interface\":\"Interfaz\",\"input\":\"Campos de entrada\",\"post\":\"Texto de publicaciones\",\"postCode\":\"Texto monoespaciado en publicación (texto enriquecido)\"},\"family\":\"Nombre de la fuente\",\"size\":\"Tamaño (en px)\",\"weight\":\"Peso (negrita)\",\"custom\":\"Personalizado\"},\"preview\":{\"header\":\"Vista previa\",\"content\":\"Contenido\",\"error\":\"Ejemplo de error\",\"button\":\"Botón\",\"text\":\"Un montón de {0} y {1}\",\"mono\":\"contenido\",\"input\":\"Acaba de aterrizar en L.A.\",\"faint_link\":\"manual útil\",\"fine_print\":\"¡Lea nuestro {0} para aprender nada útil!\",\"header_faint\":\"Esto está bien\",\"checkbox\":\"He revisado los términos y condiciones\",\"link\":\"un bonito enlace\"}}},\"timeline\":{\"collapse\":\"Colapsar\",\"conversation\":\"Conversación\",\"error_fetching\":\"Error al cargar las actualizaciones\",\"load_older\":\"Cargar actualizaciones anteriores\",\"no_retweet_hint\":\"La publicación está marcada como solo para seguidores o directa y no se puede repetir\",\"repeated\":\"repetida\",\"show_new\":\"Mostrar lo nuevo\",\"up_to_date\":\"Actualizado\",\"no_more_statuses\":\"No hay más estados\"},\"user_card\":{\"approve\":\"Aprovar\",\"block\":\"Bloquear\",\"blocked\":\"¡Bloqueado!\",\"deny\":\"Denegar\",\"favorites\":\"Favoritos\",\"follow\":\"Seguir\",\"follow_sent\":\"¡Solicitud enviada!\",\"follow_progress\":\"Solicitando…\",\"follow_again\":\"¿Enviar solicitud de nuevo?\",\"follow_unfollow\":\"Dejar de seguir\",\"followees\":\"Siguiendo\",\"followers\":\"Seguidores\",\"following\":\"¡Siguiendo!\",\"follows_you\":\"¡Te sigue!\",\"its_you\":\"¡Eres tú!\",\"media\":\"Media\",\"mute\":\"Silenciar\",\"muted\":\"Silenciado\",\"per_day\":\"por día\",\"remote_follow\":\"Seguir\",\"statuses\":\"Estados\"},\"user_profile\":{\"timeline_title\":\"Linea temporal del usuario\"},\"who_to_follow\":{\"more\":\"Más\",\"who_to_follow\":\"A quién seguir\"},\"tool_tip\":{\"media_upload\":\"Subir Medios\",\"repeat\":\"Repetir\",\"reply\":\"Contestar\",\"favorite\":\"Favorito\",\"user_settings\":\"Ajustes de usuario\"},\"upload\":{\"error\":{\"base\":\"Subida fallida.\",\"file_too_big\":\"Archivo demasiado grande [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"Inténtalo más tarde\"},\"file_size_units\":{\"B\":\"B\",\"KiB\":\"KiB\",\"MiB\":\"MiB\",\"GiB\":\"GiB\",\"TiB\":\"TiB\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/es.json\n// module id = 490\n// module chunks = 2","module.exports = {\"finder\":{\"error_fetching_user\":\"Viga kasutaja leidmisel\",\"find_user\":\"Otsi kasutajaid\"},\"general\":{\"submit\":\"Postita\"},\"login\":{\"login\":\"Logi sisse\",\"logout\":\"Logi välja\",\"password\":\"Parool\",\"placeholder\":\"nt lain\",\"register\":\"Registreeru\",\"username\":\"Kasutajanimi\"},\"nav\":{\"mentions\":\"Mainimised\",\"public_tl\":\"Avalik Ajajoon\",\"timeline\":\"Ajajoon\",\"twkn\":\"Kogu Teadaolev Võrgustik\"},\"notifications\":{\"followed_you\":\"alustas sinu jälgimist\",\"notifications\":\"Teavitused\",\"read\":\"Loe!\"},\"post_status\":{\"default\":\"Just sõitsin elektrirongiga Tallinnast Pääskülla.\",\"posting\":\"Postitan\"},\"registration\":{\"bio\":\"Bio\",\"email\":\"E-post\",\"fullname\":\"Kuvatav nimi\",\"password_confirm\":\"Parooli kinnitamine\",\"registration\":\"Registreerimine\"},\"settings\":{\"attachments\":\"Manused\",\"autoload\":\"Luba ajajoone automaatne uuendamine kui ajajoon on põhja keritud\",\"avatar\":\"Profiilipilt\",\"bio\":\"Bio\",\"current_avatar\":\"Sinu praegune profiilipilt\",\"current_profile_banner\":\"Praegune profiilibänner\",\"filtering\":\"Sisu filtreerimine\",\"filtering_explanation\":\"Kõiki staatuseid, mis sisaldavad neid sõnu, ei kuvata. Üks sõna reale.\",\"hide_attachments_in_convo\":\"Peida manused vastlustes\",\"hide_attachments_in_tl\":\"Peida manused ajajoonel\",\"name\":\"Nimi\",\"name_bio\":\"Nimi ja Bio\",\"nsfw_clickthrough\":\"Peida tööks-mittesobivad(NSFW) manuste hiireklõpsu taha\",\"profile_background\":\"Profiilitaust\",\"profile_banner\":\"Profiilibänner\",\"reply_link_preview\":\"Luba algpostituse kuvamine vastustes\",\"set_new_avatar\":\"Vali uus profiilipilt\",\"set_new_profile_background\":\"Vali uus profiilitaust\",\"set_new_profile_banner\":\"Vali uus profiilibänner\",\"settings\":\"Sätted\",\"theme\":\"Teema\",\"user_settings\":\"Kasutaja sätted\"},\"timeline\":{\"conversation\":\"Vestlus\",\"error_fetching\":\"Viga uuenduste laadimisel\",\"load_older\":\"Kuva vanemaid staatuseid\",\"show_new\":\"Näita uusi\",\"up_to_date\":\"Uuendatud\"},\"user_card\":{\"block\":\"Blokeeri\",\"blocked\":\"Blokeeritud!\",\"follow\":\"Jälgi\",\"followees\":\"Jälgitavaid\",\"followers\":\"Jälgijaid\",\"following\":\"Jälgin!\",\"follows_you\":\"Jälgib sind!\",\"mute\":\"Vaigista\",\"muted\":\"Vaigistatud\",\"per_day\":\"päevas\",\"statuses\":\"Staatuseid\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/et.json\n// module id = 491\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Chat\"},\"features_panel\":{\"chat\":\"Chat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Media-välityspalvelin\",\"scope_options\":\"Näkyvyyden rajaus\",\"text_limit\":\"Tekstin pituusraja\",\"title\":\"Ominaisuudet\",\"who_to_follow\":\"Seurausehdotukset\"},\"finder\":{\"error_fetching_user\":\"Virhe hakiessa käyttäjää\",\"find_user\":\"Hae käyttäjä\"},\"general\":{\"apply\":\"Aseta\",\"submit\":\"Lähetä\",\"more\":\"Lisää\",\"generic_error\":\"Virhe tapahtui\"},\"login\":{\"login\":\"Kirjaudu sisään\",\"description\":\"Kirjaudu sisään OAuthilla\",\"logout\":\"Kirjaudu ulos\",\"password\":\"Salasana\",\"placeholder\":\"esim. Seppo\",\"register\":\"Rekisteröidy\",\"username\":\"Käyttäjänimi\"},\"nav\":{\"about\":\"Tietoja\",\"back\":\"Takaisin\",\"chat\":\"Paikallinen Chat\",\"friend_requests\":\"Seurauspyynnöt\",\"mentions\":\"Maininnat\",\"dms\":\"Yksityisviestit\",\"public_tl\":\"Julkinen Aikajana\",\"timeline\":\"Aikajana\",\"twkn\":\"Koko Tunnettu Verkosto\",\"user_search\":\"Käyttäjähaku\",\"who_to_follow\":\"Seurausehdotukset\",\"preferences\":\"Asetukset\"},\"notifications\":{\"broken_favorite\":\"Viestiä ei löydetty...\",\"favorited_you\":\"tykkäsi viestistäsi\",\"followed_you\":\"seuraa sinua\",\"load_older\":\"Lataa vanhempia ilmoituksia\",\"notifications\":\"Ilmoitukset\",\"read\":\"Lue!\",\"repeated_you\":\"toisti viestisi\",\"no_more_notifications\":\"Ei enempää ilmoituksia\"},\"post_status\":{\"new_status\":\"Uusi viesti\",\"account_not_locked_warning\":\"Tilisi ei ole {0}. Kuka vain voi seurata sinua nähdäksesi 'vain-seuraajille' -viestisi\",\"account_not_locked_warning_link\":\"lukittu\",\"attachments_sensitive\":\"Merkkaa liitteet arkaluonteisiksi\",\"content_type\":{\"text/plain\":\"Tavallinen teksti\"},\"content_warning\":\"Aihe (valinnainen)\",\"default\":\"Tulin juuri saunasta.\",\"direct_warning\":\"Tämä viesti näkyy vain mainituille käyttäjille.\",\"posting\":\"Lähetetään\",\"scope\":{\"direct\":\"Yksityisviesti - Näkyy vain mainituille käyttäjille\",\"private\":\"Vain-seuraajille - Näkyy vain seuraajillesi\",\"public\":\"Julkinen - Näkyy julkisilla aikajanoilla\",\"unlisted\":\"Listaamaton - Ei näy julkisilla aikajanoilla\"}},\"registration\":{\"bio\":\"Kuvaus\",\"email\":\"Sähköposti\",\"fullname\":\"Koko nimi\",\"password_confirm\":\"Salasanan vahvistaminen\",\"registration\":\"Rekisteröityminen\",\"token\":\"Kutsuvaltuus\",\"captcha\":\"Varmenne\",\"new_captcha\":\"Paina kuvaa saadaksesi uuden varmenteen\",\"validations\":{\"username_required\":\"ei voi olla tyhjä\",\"fullname_required\":\"ei voi olla tyhjä\",\"email_required\":\"ei voi olla tyhjä\",\"password_required\":\"ei voi olla tyhjä\",\"password_confirmation_required\":\"ei voi olla tyhjä\",\"password_confirmation_match\":\"pitää vastata salasanaa\"}},\"settings\":{\"attachmentRadius\":\"Liitteet\",\"attachments\":\"Liitteet\",\"autoload\":\"Lataa vanhempia viestejä automaattisesti ruudun pohjalla\",\"avatar\":\"Profiilikuva\",\"avatarAltRadius\":\"Profiilikuvat (ilmoitukset)\",\"avatarRadius\":\"Profiilikuvat\",\"background\":\"Tausta\",\"bio\":\"Kuvaus\",\"btnRadius\":\"Napit\",\"cBlue\":\"Sininen (Vastaukset, seuraukset)\",\"cGreen\":\"Vihreä (Toistot)\",\"cOrange\":\"Oranssi (Tykkäykset)\",\"cRed\":\"Punainen (Peruminen)\",\"change_password\":\"Vaihda salasana\",\"change_password_error\":\"Virhe vaihtaessa salasanaa.\",\"changed_password\":\"Salasana vaihdettu!\",\"collapse_subject\":\"Minimoi viestit, joille on asetettu aihe\",\"composing\":\"Viestien laatiminen\",\"confirm_new_password\":\"Vahvista uusi salasana\",\"current_avatar\":\"Nykyinen profiilikuvasi\",\"current_password\":\"Nykyinen salasana\",\"current_profile_banner\":\"Nykyinen julisteesi\",\"data_import_export_tab\":\"Tietojen tuonti / vienti\",\"default_vis\":\"Oletusnäkyvyysrajaus\",\"delete_account\":\"Poista tili\",\"delete_account_description\":\"Poista tilisi ja viestisi pysyvästi.\",\"delete_account_error\":\"Virhe poistaessa tiliäsi. Jos virhe jatkuu, ota yhteyttä palvelimesi ylläpitoon.\",\"delete_account_instructions\":\"Syötä salasanasi vahvistaaksesi tilin poiston.\",\"export_theme\":\"Tallenna teema\",\"filtering\":\"Suodatus\",\"filtering_explanation\":\"Kaikki viestit, jotka sisältävät näitä sanoja, suodatetaan. Yksi sana per rivi.\",\"follow_export\":\"Seurausten vienti\",\"follow_export_button\":\"Vie seurauksesi CSV-tiedostoon\",\"follow_export_processing\":\"Käsitellään, sinua pyydetään lataamaan tiedosto hetken päästä\",\"follow_import\":\"Seurausten tuonti\",\"follow_import_error\":\"Virhe tuodessa seuraksia\",\"follows_imported\":\"Seuraukset tuotu! Niiden käsittely vie hetken.\",\"foreground\":\"Korostus\",\"general\":\"Yleinen\",\"hide_attachments_in_convo\":\"Piilota liitteet keskusteluissa\",\"hide_attachments_in_tl\":\"Piilota liitteet aikajanalla\",\"max_thumbnails\":\"Suurin sallittu määrä liitteitä esikatselussa\",\"hide_isp\":\"Piilota palvelimenkohtainen ruutu\",\"preload_images\":\"Esilataa kuvat\",\"use_one_click_nsfw\":\"Avaa NSFW-liitteet yhdellä painalluksella\",\"hide_post_stats\":\"Piilota viestien statistiikka (esim. tykkäysten määrä)\",\"hide_user_stats\":\"Piilota käyttäjien statistiikka (esim. seuraajien määrä)\",\"import_followers_from_a_csv_file\":\"Tuo seuraukset CSV-tiedostosta\",\"import_theme\":\"Tuo tallennettu teema\",\"inputRadius\":\"Syöttökentät\",\"checkboxRadius\":\"Valintalaatikot\",\"instance_default\":\"(oletus: {value})\",\"instance_default_simple\":\"(oletus)\",\"interface\":\"Käyttöliittymä\",\"interfaceLanguage\":\"Käyttöliittymän kieli\",\"invalid_theme_imported\":\"Tuotu tallennettu teema on epäkelpo, muutoksia ei tehty nykyiseen teemaasi.\",\"limited_availability\":\"Ei saatavilla selaimessasi\",\"links\":\"Linkit\",\"lock_account_description\":\"Vain erikseen hyväksytyt käyttäjät voivat seurata tiliäsi\",\"loop_video\":\"Uudelleentoista videot\",\"loop_video_silent_only\":\"Uudelleentoista ainoastaan äänettömät videot (Video-\\\"giffit\\\")\",\"play_videos_in_modal\":\"Toista videot modaalissa\",\"use_contain_fit\":\"Älä rajaa liitteitä esikatselussa\",\"name\":\"Nimi\",\"name_bio\":\"Nimi ja kuvaus\",\"new_password\":\"Uusi salasana\",\"notification_visibility\":\"Ilmoitusten näkyvyys\",\"notification_visibility_follows\":\"Seuraukset\",\"notification_visibility_likes\":\"Tykkäykset\",\"notification_visibility_mentions\":\"Maininnat\",\"notification_visibility_repeats\":\"Toistot\",\"no_rich_text_description\":\"Älä näytä tekstin muotoilua.\",\"hide_network_description\":\"Älä näytä seurauksiani tai seuraajiani\",\"nsfw_clickthrough\":\"Piilota NSFW liitteet klikkauksen taakse\",\"oauth_tokens\":\"OAuth-merkit\",\"token\":\"Token\",\"refresh_token\":\"Päivitä token\",\"valid_until\":\"Voimassa asti\",\"revoke_token\":\"Peruuttaa\",\"panelRadius\":\"Ruudut\",\"pause_on_unfocused\":\"Pysäytä automaattinen viestien näyttö välilehden ollessa pois fokuksesta\",\"presets\":\"Valmiit teemat\",\"profile_background\":\"Taustakuva\",\"profile_banner\":\"Juliste\",\"profile_tab\":\"Profiili\",\"radii_help\":\"Aseta reunojen pyöristys (pikseleinä)\",\"replies_in_timeline\":\"Keskustelut aikajanalla\",\"reply_link_preview\":\"Keskusteluiden vastauslinkkien esikatselu\",\"reply_visibility_all\":\"Näytä kaikki vastaukset\",\"reply_visibility_following\":\"Näytä vain vastaukset minulle tai seuraamilleni käyttäjille\",\"reply_visibility_self\":\"Näytä vain vastaukset minulle\",\"saving_err\":\"Virhe tallentaessa asetuksia\",\"saving_ok\":\"Asetukset tallennettu\",\"security_tab\":\"Tietoturva\",\"scope_copy\":\"Kopioi näkyvyysrajaus vastatessa (Yksityisviestit aina kopioivat)\",\"set_new_avatar\":\"Aseta uusi profiilikuva\",\"set_new_profile_background\":\"Aseta uusi taustakuva\",\"set_new_profile_banner\":\"Aseta uusi juliste\",\"settings\":\"Asetukset\",\"subject_input_always_show\":\"Näytä aihe-kenttä\",\"subject_line_behavior\":\"Aihe-kentän kopiointi\",\"subject_line_email\":\"Kuten sähköposti: \\\"re: aihe\\\"\",\"subject_line_mastodon\":\"Kopioi sellaisenaan\",\"subject_line_noop\":\"Älä kopioi\",\"stop_gifs\":\"Toista giffit vain kohdistaessa\",\"streaming\":\"Näytä uudet viestit automaattisesti ollessasi ruudun huipulla\",\"text\":\"Teksti\",\"theme\":\"Teema\",\"theme_help\":\"Käytä heksadesimaalivärejä muokataksesi väriteemaasi.\",\"theme_help_v2_1\":\"Voit asettaa tiettyjen osien värin tai läpinäkyvyyden täyttämällä valintalaatikon, käytä \\\"Tyhjennä kaikki\\\"-nappia tyhjentääksesi kaiken.\",\"theme_help_v2_2\":\"Ikonit kenttien alla ovat kontrasti-indikaattoreita, lisätietoa kohdistamalla. Käyttäessä läpinäkyvyyttä ne näyttävät pahimman skenaarion.\",\"tooltipRadius\":\"Ohje- tai huomioviestit\",\"user_settings\":\"Käyttäjän asetukset\",\"values\":{\"false\":\"pois päältä\",\"true\":\"päällä\"}},\"timeline\":{\"collapse\":\"Sulje\",\"conversation\":\"Keskustelu\",\"error_fetching\":\"Virhe ladatessa viestejä\",\"load_older\":\"Lataa vanhempia viestejä\",\"no_retweet_hint\":\"Viesti ei ole julkinen, eikä sitä voi toistaa\",\"repeated\":\"toisti\",\"show_new\":\"Näytä uudet\",\"up_to_date\":\"Ajantasalla\",\"no_more_statuses\":\"Ei enempää viestejä\"},\"status\":{\"reply_to\":\"Vastaus\",\"replies_list\":\"Vastaukset:\"},\"user_card\":{\"approve\":\"Hyväksy\",\"block\":\"Estä\",\"blocked\":\"Estetty!\",\"deny\":\"Älä hyväksy\",\"follow\":\"Seuraa\",\"follow_sent\":\"Pyyntö lähetetty!\",\"follow_progress\":\"Pyydetään...\",\"follow_again\":\"Lähetä pyyntö uudestaan\",\"follow_unfollow\":\"Älä seuraa\",\"followees\":\"Seuraa\",\"followers\":\"Seuraajat\",\"following\":\"Seuraat!\",\"follows_you\":\"Seuraa sinua!\",\"its_you\":\"Sinun tili!\",\"mute\":\"Hiljennä\",\"muted\":\"Hiljennetty\",\"per_day\":\"päivässä\",\"remote_follow\":\"Seuraa muualta\",\"statuses\":\"Viestit\"},\"user_profile\":{\"timeline_title\":\"Käyttäjän aikajana\"},\"who_to_follow\":{\"more\":\"Lisää\",\"who_to_follow\":\"Seurausehdotukset\"},\"tool_tip\":{\"media_upload\":\"Lataa tiedosto\",\"repeat\":\"Toista\",\"reply\":\"Vastaa\",\"favorite\":\"Tykkää\",\"user_settings\":\"Käyttäjäasetukset\"},\"upload\":{\"error\":{\"base\":\"Lataus epäonnistui.\",\"file_too_big\":\"Tiedosto liian suuri [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"Yritä uudestaan myöhemmin\"},\"file_size_units\":{\"B\":\"tavua\",\"KiB\":\"kt\",\"MiB\":\"Mt\",\"GiB\":\"Gt\",\"TiB\":\"Tt\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/fi.json\n// module id = 492\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Chat\"},\"features_panel\":{\"chat\":\"Chat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Proxy média\",\"scope_options\":\"Options de visibilité\",\"text_limit\":\"Limite du texte\",\"title\":\"Caractéristiques\",\"who_to_follow\":\"Qui s'abonner\"},\"finder\":{\"error_fetching_user\":\"Erreur lors de la recherche de l'utilisateur\",\"find_user\":\"Chercher un utilisateur\"},\"general\":{\"apply\":\"Appliquer\",\"submit\":\"Envoyer\"},\"login\":{\"login\":\"Connexion\",\"description\":\"Connexion avec OAuth\",\"logout\":\"Déconnexion\",\"password\":\"Mot de passe\",\"placeholder\":\"p.e. lain\",\"register\":\"S'inscrire\",\"username\":\"Identifiant\"},\"nav\":{\"chat\":\"Chat local\",\"friend_requests\":\"Demandes d'ami\",\"dms\":\"Messages adressés\",\"mentions\":\"Notifications\",\"public_tl\":\"Statuts locaux\",\"timeline\":\"Journal\",\"twkn\":\"Le réseau connu\"},\"notifications\":{\"broken_favorite\":\"Chargement d'un message inconnu ...\",\"favorited_you\":\"a aimé votre statut\",\"followed_you\":\"a commencé à vous suivre\",\"load_older\":\"Charger les notifications précédentes\",\"notifications\":\"Notifications\",\"read\":\"Lu !\",\"repeated_you\":\"a partagé votre statut\"},\"post_status\":{\"account_not_locked_warning\":\"Votre compte n'est pas {0}. N'importe qui peut vous suivre pour voir vos billets en Abonné·e·s uniquement.\",\"account_not_locked_warning_link\":\"verrouillé\",\"attachments_sensitive\":\"Marquer le média comme sensible\",\"content_type\":{\"text/plain\":\"Texte brut\"},\"content_warning\":\"Sujet (optionnel)\",\"default\":\"Écrivez ici votre prochain statut.\",\"direct_warning\":\"Ce message sera visible à toutes les personnes mentionnées.\",\"posting\":\"Envoi en cours\",\"scope\":{\"direct\":\"Direct - N'envoyer qu'aux personnes mentionnées\",\"private\":\"Abonné·e·s uniquement - Seul·e·s vos abonné·e·s verront vos billets\",\"public\":\"Publique - Afficher dans les fils publics\",\"unlisted\":\"Non-Listé - Ne pas afficher dans les fils publics\"}},\"registration\":{\"bio\":\"Biographie\",\"email\":\"Adresse email\",\"fullname\":\"Pseudonyme\",\"password_confirm\":\"Confirmation du mot de passe\",\"registration\":\"Inscription\",\"token\":\"Jeton d'invitation\"},\"settings\":{\"attachmentRadius\":\"Pièces jointes\",\"attachments\":\"Pièces jointes\",\"autoload\":\"Charger la suite automatiquement une fois le bas de la page atteint\",\"avatar\":\"Avatar\",\"avatarAltRadius\":\"Avatars (Notifications)\",\"avatarRadius\":\"Avatars\",\"background\":\"Arrière-plan\",\"bio\":\"Biographie\",\"btnRadius\":\"Boutons\",\"cBlue\":\"Bleu (Répondre, suivre)\",\"cGreen\":\"Vert (Partager)\",\"cOrange\":\"Orange (Aimer)\",\"cRed\":\"Rouge (Annuler)\",\"change_password\":\"Changez votre mot de passe\",\"change_password_error\":\"Il y a eu un problème pour changer votre mot de passe.\",\"changed_password\":\"Mot de passe modifié avec succès !\",\"collapse_subject\":\"Réduire les messages avec des sujets\",\"confirm_new_password\":\"Confirmation du nouveau mot de passe\",\"current_avatar\":\"Avatar actuel\",\"current_password\":\"Mot de passe actuel\",\"current_profile_banner\":\"Bannière de profil actuelle\",\"data_import_export_tab\":\"Import / Export des Données\",\"default_vis\":\"Portée de visibilité par défaut\",\"delete_account\":\"Supprimer le compte\",\"delete_account_description\":\"Supprimer définitivement votre compte et tous vos statuts.\",\"delete_account_error\":\"Il y a eu un problème lors de la tentative de suppression de votre compte. Si le problème persiste, contactez l'administrateur de cette instance.\",\"delete_account_instructions\":\"Indiquez votre mot de passe ci-dessous pour confirmer la suppression de votre compte.\",\"export_theme\":\"Enregistrer le thème\",\"filtering\":\"Filtre\",\"filtering_explanation\":\"Tous les statuts contenant ces mots seront masqués. Un mot par ligne\",\"follow_export\":\"Exporter les abonnements\",\"follow_export_button\":\"Exporter les abonnements en csv\",\"follow_export_processing\":\"Exportation en cours…\",\"follow_import\":\"Importer des abonnements\",\"follow_import_error\":\"Erreur lors de l'importation des abonnements\",\"follows_imported\":\"Abonnements importés ! Le traitement peut prendre un moment.\",\"foreground\":\"Premier plan\",\"general\":\"Général\",\"hide_attachments_in_convo\":\"Masquer les pièces jointes dans les conversations\",\"hide_attachments_in_tl\":\"Masquer les pièces jointes dans le journal\",\"hide_post_stats\":\"Masquer les statistiques de publication (le nombre de favoris)\",\"hide_user_stats\":\"Masquer les statistiques de profil (le nombre d'amis)\",\"import_followers_from_a_csv_file\":\"Importer des abonnements depuis un fichier csv\",\"import_theme\":\"Charger le thème\",\"inputRadius\":\"Champs de texte\",\"instance_default\":\"(default: {value})\",\"instance_default_simple\":\"(default)\",\"interfaceLanguage\":\"Langue de l'interface\",\"invalid_theme_imported\":\"Le fichier sélectionné n'est pas un thème Pleroma pris en charge. Aucun changement n'a été apporté à votre thème.\",\"limited_availability\":\"Non disponible dans votre navigateur\",\"links\":\"Liens\",\"lock_account_description\":\"Limitez votre compte aux abonnés acceptés uniquement\",\"loop_video\":\"Vidéos en boucle\",\"loop_video_silent_only\":\"Boucle uniquement les vidéos sans le son (les «gifs» de Mastodon)\",\"name\":\"Nom\",\"name_bio\":\"Nom & Bio\",\"new_password\":\"Nouveau mot de passe\",\"no_rich_text_description\":\"Ne formatez pas le texte\",\"notification_visibility\":\"Types de notifications à afficher\",\"notification_visibility_follows\":\"Abonnements\",\"notification_visibility_likes\":\"J’aime\",\"notification_visibility_mentions\":\"Mentionnés\",\"notification_visibility_repeats\":\"Partages\",\"nsfw_clickthrough\":\"Masquer les images marquées comme contenu adulte ou sensible\",\"oauth_tokens\":\"Jetons OAuth\",\"token\":\"Jeton\",\"refresh_token\":\"Refresh Token\",\"valid_until\":\"Valable jusque\",\"revoke_token\":\"Révoquer\",\"panelRadius\":\"Fenêtres\",\"pause_on_unfocused\":\"Suspendre le streaming lorsque l'onglet n'est pas centré\",\"presets\":\"Thèmes prédéfinis\",\"profile_background\":\"Image de fond\",\"profile_banner\":\"Bannière de profil\",\"profile_tab\":\"Profil\",\"radii_help\":\"Vous pouvez ici choisir le niveau d'arrondi des angles de l'interface (en pixels)\",\"replies_in_timeline\":\"Réponses au journal\",\"reply_link_preview\":\"Afficher un aperçu lors du survol de liens vers une réponse\",\"reply_visibility_all\":\"Montrer toutes les réponses\",\"reply_visibility_following\":\"Afficher uniquement les réponses adressées à moi ou aux utilisateurs que je suis\",\"reply_visibility_self\":\"Afficher uniquement les réponses adressées à moi\",\"saving_err\":\"Erreur lors de l'enregistrement des paramètres\",\"saving_ok\":\"Paramètres enregistrés\",\"security_tab\":\"Sécurité\",\"set_new_avatar\":\"Changer d'avatar\",\"set_new_profile_background\":\"Changer d'image de fond\",\"set_new_profile_banner\":\"Changer de bannière\",\"settings\":\"Paramètres\",\"stop_gifs\":\"N'animer les GIFS que lors du survol du curseur de la souris\",\"streaming\":\"Charger automatiquement les nouveaux statuts lorsque vous êtes au haut de la page\",\"text\":\"Texte\",\"theme\":\"Thème\",\"theme_help\":\"Spécifiez des codes couleur hexadécimaux (#rrvvbb) pour personnaliser les couleurs du thème.\",\"tooltipRadius\":\"Info-bulles/alertes\",\"user_settings\":\"Paramètres utilisateur\",\"values\":{\"false\":\"non\",\"true\":\"oui\"}},\"timeline\":{\"collapse\":\"Fermer\",\"conversation\":\"Conversation\",\"error_fetching\":\"Erreur en cherchant les mises à jour\",\"load_older\":\"Afficher plus\",\"no_retweet_hint\":\"Le message est marqué en abonnés-seulement ou direct et ne peut pas être répété\",\"repeated\":\"a partagé\",\"show_new\":\"Afficher plus\",\"up_to_date\":\"À jour\"},\"user_card\":{\"approve\":\"Accepter\",\"block\":\"Bloquer\",\"blocked\":\"Bloqué !\",\"deny\":\"Rejeter\",\"follow\":\"Suivre\",\"followees\":\"Suivis\",\"followers\":\"Vous suivent\",\"following\":\"Suivi !\",\"follows_you\":\"Vous suit !\",\"mute\":\"Masquer\",\"muted\":\"Masqué\",\"per_day\":\"par jour\",\"remote_follow\":\"Suivre d'une autre instance\",\"statuses\":\"Statuts\"},\"user_profile\":{\"timeline_title\":\"Journal de l'utilisateur\"},\"who_to_follow\":{\"more\":\"Plus\",\"who_to_follow\":\"Qui s'abonner\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/fr.json\n// module id = 493\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Comhrá\"},\"features_panel\":{\"chat\":\"Comhrá\",\"gopher\":\"Gófar\",\"media_proxy\":\"Seachfhreastalaí meáin\",\"scope_options\":\"Rogha scóip\",\"text_limit\":\"Teorainn Téacs\",\"title\":\"Gnéithe\",\"who_to_follow\":\"Daoine le leanúint\"},\"finder\":{\"error_fetching_user\":\"Earráid a aimsiú d'úsáideoir\",\"find_user\":\"Aimsigh úsáideoir\"},\"general\":{\"apply\":\"Feidhmigh\",\"submit\":\"Deimhnigh\"},\"login\":{\"login\":\"Logáil isteach\",\"logout\":\"Logáil amach\",\"password\":\"Pasfhocal\",\"placeholder\":\"m.sh. Daire\",\"register\":\"Clárú\",\"username\":\"Ainm Úsáideora\"},\"nav\":{\"chat\":\"Comhrá Áitiúil\",\"friend_requests\":\"Iarratas ar Cairdeas\",\"mentions\":\"Tagairt\",\"public_tl\":\"Amlíne Poiblí\",\"timeline\":\"Amlíne\",\"twkn\":\"An Líonra Iomlán\"},\"notifications\":{\"broken_favorite\":\"Post anaithnid. Cuardach dó...\",\"favorited_you\":\"toghadh le do phost\",\"followed_you\":\"lean tú\",\"load_older\":\"Luchtaigh fógraí aosta\",\"notifications\":\"Fógraí\",\"read\":\"Léigh!\",\"repeated_you\":\"athphostáil tú\"},\"post_status\":{\"account_not_locked_warning\":\"Níl do chuntas {0}. Is féidir le duine ar bith a leanúint leat chun do phoist leantacha amháin a fheiceáil.\",\"account_not_locked_warning_link\":\"faoi glas\",\"attachments_sensitive\":\"Marcáil ceangaltán mar íogair\",\"content_type\":{\"text/plain\":\"Gnáth-théacs\"},\"content_warning\":\"Teideal (roghnach)\",\"default\":\"Lá iontach anseo i nGaillimh\",\"direct_warning\":\"Ní bheidh an post seo le feiceáil ach amháin do na húsáideoirí atá luaite.\",\"posting\":\"Post nua\",\"scope\":{\"direct\":\"Díreach - Post chuig úsáideoirí luaite amháin\",\"private\":\"Leanúna amháin - Post chuig lucht leanúna amháin\",\"public\":\"Poiblí - Post chuig amlínte poiblí\",\"unlisted\":\"Neamhliostaithe - Ná cuir post chuig amlínte poiblí\"}},\"registration\":{\"bio\":\"Scéal saoil\",\"email\":\"Ríomhphost\",\"fullname\":\"Ainm taispeána'\",\"password_confirm\":\"Deimhnigh do pasfhocal\",\"registration\":\"Clárú\",\"token\":\"Cód cuireadh\"},\"settings\":{\"attachmentRadius\":\"Ceangaltáin\",\"attachments\":\"Ceangaltáin\",\"autoload\":\"Cumasaigh luchtú uathoibríoch nuair a scrollaítear go bun\",\"avatar\":\"Phictúir phrófíle\",\"avatarAltRadius\":\"Phictúirí phrófíle (Fograí)\",\"avatarRadius\":\"Phictúirí phrófíle\",\"background\":\"Cúlra\",\"bio\":\"Scéal saoil\",\"btnRadius\":\"Cnaipí\",\"cBlue\":\"Gorm (Freagra, lean)\",\"cGreen\":\"Glas (Athphóstail)\",\"cOrange\":\"Oráiste (Cosúil)\",\"cRed\":\"Dearg (Cealaigh)\",\"change_password\":\"Athraigh do pasfhocal\",\"change_password_error\":\"Bhí fadhb ann ag athrú do pasfhocail\",\"changed_password\":\"Athraigh an pasfhocal go rathúil!\",\"collapse_subject\":\"Poist a chosc le teidil\",\"confirm_new_password\":\"Deimhnigh do pasfhocal nua\",\"current_avatar\":\"Phictúir phrófíle\",\"current_password\":\"Pasfhocal reatha\",\"current_profile_banner\":\"Phictúir ceanntáisc\",\"data_import_export_tab\":\"Iompórtáil / Easpórtáil Sonraí\",\"default_vis\":\"Scóip infheicthe réamhshocraithe\",\"delete_account\":\"Scrios cuntas\",\"delete_account_description\":\"Do chuntas agus do chuid teachtaireachtaí go léir a scriosadh go buan.\",\"delete_account_error\":\"Bhí fadhb ann a scriosadh do chuntas. Má leanann sé seo, téigh i dteagmháil le do riarthóir.\",\"delete_account_instructions\":\"Scríobh do phasfhocal san ionchur thíos chun deimhniú a scriosadh.\",\"export_theme\":\"Sábháil Téama\",\"filtering\":\"Scagadh\",\"filtering_explanation\":\"Beidh gach post ina bhfuil na focail seo i bhfolach, ceann in aghaidh an líne\",\"follow_export\":\"Easpórtáil do leanann\",\"follow_export_button\":\"Easpórtáil do leanann chuig comhad csv\",\"follow_export_processing\":\"Próiseáil. Iarrtar ort go luath an comhad a íoslódáil.\",\"follow_import\":\"Iompórtáil do leanann\",\"follow_import_error\":\"Earráid agus do leanann a iompórtáil\",\"follows_imported\":\"Do leanann iompórtáil! Tógfaidh an próiseas iad le tamall.\",\"foreground\":\"Tulra\",\"general\":\"Ginearálta\",\"hide_attachments_in_convo\":\"Folaigh ceangaltáin i comhráite\",\"hide_attachments_in_tl\":\"Folaigh ceangaltáin sa amlíne\",\"hide_post_stats\":\"Folaigh staitisticí na bpost (m.sh. líon na n-athrá)\",\"hide_user_stats\":\"Folaigh na staitisticí úsáideora (m.sh. líon na leantóiri)\",\"import_followers_from_a_csv_file\":\"Iompórtáil leanann ó chomhad csv\",\"import_theme\":\"Luchtaigh Téama\",\"inputRadius\":\"Limistéar iontrála\",\"instance_default\":\"(Réamhshocrú: {value})\",\"interfaceLanguage\":\"Teanga comhéadain\",\"invalid_theme_imported\":\"Ní téama bailí é an comhad dícheangailte. Níor rinneadh aon athruithe.\",\"limited_availability\":\"Níl sé ar fáil i do bhrabhsálaí\",\"links\":\"Naisc\",\"lock_account_description\":\"Srian a chur ar do chuntas le lucht leanúna ceadaithe amháin\",\"loop_video\":\"Lúb físeáin\",\"loop_video_silent_only\":\"Lúb físeáin amháin gan fuaim (i.e. Mastodon's \\\"gifs\\\")\",\"name\":\"Ainm\",\"name_bio\":\"Ainm ⁊ Scéal\",\"new_password\":\"Pasfhocal nua'\",\"notification_visibility\":\"Cineálacha fógraí a thaispeáint\",\"notification_visibility_follows\":\"Leana\",\"notification_visibility_likes\":\"Thaithin\",\"notification_visibility_mentions\":\"Tagairt\",\"notification_visibility_repeats\":\"Atphostáil\",\"no_rich_text_description\":\"Bain formáidiú téacs saibhir ó gach post\",\"nsfw_clickthrough\":\"Cumasaigh an ceangaltán NSFW cliceáil ar an gcnaipe\",\"oauth_tokens\":\"Tocanna OAuth\",\"token\":\"Token\",\"refresh_token\":\"Athnuachan Comórtas\",\"valid_until\":\"Bailí Go dtí\",\"revoke_token\":\"Athghairm\",\"panelRadius\":\"Painéil\",\"pause_on_unfocused\":\"Sruthú ar sos nuair a bhíonn an fócas caillte\",\"presets\":\"Réamhshocruithe\",\"profile_background\":\"Cúlra Próifíl\",\"profile_banner\":\"Phictúir Ceanntáisc\",\"profile_tab\":\"Próifíl\",\"radii_help\":\"Cruinniú imeall comhéadan a chumrú (i bpicteilíní)\",\"replies_in_timeline\":\"Freagraí sa amlíne\",\"reply_link_preview\":\"Cumasaigh réamhamharc nasc freagartha ar chlár na luiche\",\"reply_visibility_all\":\"Taispeáin gach freagra\",\"reply_visibility_following\":\"Taispeáin freagraí amháin atá dírithe ar mise nó ar úsáideoirí atá mé ag leanúint\",\"reply_visibility_self\":\"Taispeáin freagraí amháin atá dírithe ar mise\",\"saving_err\":\"Earráid socruithe a shábháil\",\"saving_ok\":\"Socruithe sábháilte\",\"security_tab\":\"Slándáil\",\"set_new_avatar\":\"Athraigh do phictúir phrófíle\",\"set_new_profile_background\":\"Athraigh do cúlra próifíl\",\"set_new_profile_banner\":\"Athraigh do phictúir ceanntáisc\",\"settings\":\"Socruithe\",\"stop_gifs\":\"Seinn GIFs ar an scáileán\",\"streaming\":\"Cumasaigh post nua a shruthú uathoibríoch nuair a scrollaítear go barr an leathanaigh\",\"text\":\"Téacs\",\"theme\":\"Téama\",\"theme_help\":\"Úsáid cód daith hex (#rrggbb) chun do schéim a saincheapadh\",\"tooltipRadius\":\"Bileoga eolais\",\"user_settings\":\"Socruithe úsáideora\",\"values\":{\"false\":\"níl\",\"true\":\"tá\"}},\"timeline\":{\"collapse\":\"Folaigh\",\"conversation\":\"Cómhra\",\"error_fetching\":\"Earráid a thabhairt cothrom le dáta\",\"load_older\":\"Luchtaigh níos mó\",\"no_retweet_hint\":\"Tá an post seo marcáilte mar lucht leanúna amháin nó díreach agus ní féidir é a athphostáil\",\"repeated\":\"athphostáil\",\"show_new\":\"Taispeáin nua\",\"up_to_date\":\"Nuashonraithe\"},\"user_card\":{\"approve\":\"Údaraigh\",\"block\":\"Cosc\",\"blocked\":\"Cuireadh coisc!\",\"deny\":\"Diúltaigh\",\"follow\":\"Lean\",\"followees\":\"Leantóirí\",\"followers\":\"Á Leanúint\",\"following\":\"Á Leanúint\",\"follows_you\":\"Leanann tú\",\"mute\":\"Cuir i mód ciúin\",\"muted\":\"Mód ciúin\",\"per_day\":\"laethúil\",\"remote_follow\":\"Leaníunt iargúlta\",\"statuses\":\"Poist\"},\"user_profile\":{\"timeline_title\":\"Amlíne úsáideora\"},\"who_to_follow\":{\"more\":\"Feach uile\",\"who_to_follow\":\"Daoine le leanúint\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/ga.json\n// module id = 494\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"צ'אט\"},\"features_panel\":{\"chat\":\"צ'אט\",\"gopher\":\"גופר\",\"media_proxy\":\"מדיה פרוקסי\",\"scope_options\":\"אפשרויות טווח\",\"text_limit\":\"מגבלת טקסט\",\"title\":\"מאפיינים\",\"who_to_follow\":\"אחרי מי לעקוב\"},\"finder\":{\"error_fetching_user\":\"שגיאה במציאת משתמש\",\"find_user\":\"מציאת משתמש\"},\"general\":{\"apply\":\"החל\",\"submit\":\"שלח\"},\"login\":{\"login\":\"התחבר\",\"logout\":\"התנתק\",\"password\":\"סיסמה\",\"placeholder\":\"למשל lain\",\"register\":\"הירשם\",\"username\":\"שם המשתמש\"},\"nav\":{\"chat\":\"צ'אט מקומי\",\"friend_requests\":\"בקשות עקיבה\",\"mentions\":\"אזכורים\",\"public_tl\":\"ציר הזמן הציבורי\",\"timeline\":\"ציר הזמן\",\"twkn\":\"כל הרשת הידועה\"},\"notifications\":{\"broken_favorite\":\"סטאטוס לא ידוע, מחפש...\",\"favorited_you\":\"אהב את הסטטוס שלך\",\"followed_you\":\"עקב אחריך!\",\"load_older\":\"טען התראות ישנות\",\"notifications\":\"התראות\",\"read\":\"קרא!\",\"repeated_you\":\"חזר על הסטטוס שלך\"},\"post_status\":{\"account_not_locked_warning\":\"המשתמש שלך אינו {0}. כל אחד יכול לעקוב אחריך ולראות את ההודעות לעוקבים-בלבד שלך.\",\"account_not_locked_warning_link\":\"נעול\",\"attachments_sensitive\":\"סמן מסמכים מצורפים כלא בטוחים לצפייה\",\"content_type\":{\"text/plain\":\"טקסט פשוט\"},\"content_warning\":\"נושא (נתון לבחירה)\",\"default\":\"הרגע נחת ב-ל.א.\",\"direct_warning\":\"הודעה זו תהיה זמינה רק לאנשים המוזכרים.\",\"posting\":\"מפרסם\",\"scope\":{\"direct\":\"ישיר - שלח לאנשים המוזכרים בלבד\",\"private\":\"עוקבים-בלבד - שלח לעוקבים בלבד\",\"public\":\"ציבורי - שלח לציר הזמן הציבורי\",\"unlisted\":\"מחוץ לרשימה - אל תשלח לציר הזמן הציבורי\"}},\"registration\":{\"bio\":\"אודות\",\"email\":\"אימייל\",\"fullname\":\"שם תצוגה\",\"password_confirm\":\"אישור סיסמה\",\"registration\":\"הרשמה\",\"token\":\"טוקן הזמנה\"},\"settings\":{\"attachmentRadius\":\"צירופים\",\"attachments\":\"צירופים\",\"autoload\":\"החל טעינה אוטומטית בגלילה לתחתית הדף\",\"avatar\":\"תמונת פרופיל\",\"avatarAltRadius\":\"תמונות פרופיל (התראות)\",\"avatarRadius\":\"תמונות פרופיל\",\"background\":\"רקע\",\"bio\":\"אודות\",\"btnRadius\":\"כפתורים\",\"cBlue\":\"כחול (תגובה, עקיבה)\",\"cGreen\":\"ירוק (חזרה)\",\"cOrange\":\"כתום (לייק)\",\"cRed\":\"אדום (ביטול)\",\"change_password\":\"שנה סיסמה\",\"change_password_error\":\"הייתה בעיה בשינוי סיסמתך.\",\"changed_password\":\"סיסמה שונתה בהצלחה!\",\"collapse_subject\":\"מזער הודעות עם נושאים\",\"confirm_new_password\":\"אשר סיסמה\",\"current_avatar\":\"תמונת הפרופיל הנוכחית שלך\",\"current_password\":\"סיסמה נוכחית\",\"current_profile_banner\":\"כרזת הפרופיל הנוכחית שלך\",\"data_import_export_tab\":\"ייבוא או ייצוא מידע\",\"default_vis\":\"ברירת מחדל לטווח הנראות\",\"delete_account\":\"מחק משתמש\",\"delete_account_description\":\"מחק לצמיתות את המשתמש שלך ואת כל הודעותיך.\",\"delete_account_error\":\"הייתה בעיה במחיקת המשתמש. אם זה ממשיך, אנא עדכן את מנהל השרת שלך.\",\"delete_account_instructions\":\"הכנס את סיסמתך בקלט למטה על מנת לאשר מחיקת משתמש.\",\"export_theme\":\"שמור ערכים\",\"filtering\":\"סינון\",\"filtering_explanation\":\"כל הסטטוסים הכוללים את המילים הללו יושתקו, אחד לשורה\",\"follow_export\":\"יצוא עקיבות\",\"follow_export_button\":\"ייצא את הנעקבים שלך לקובץ csv\",\"follow_export_processing\":\"טוען. בקרוב תתבקש להוריד את הקובץ את הקובץ שלך\",\"follow_import\":\"יבוא עקיבות\",\"follow_import_error\":\"שגיאה בייבוא נעקבים.\",\"follows_imported\":\"נעקבים יובאו! ייקח זמן מה לעבד אותם.\",\"foreground\":\"חזית\",\"hide_attachments_in_convo\":\"החבא צירופים בשיחות\",\"hide_attachments_in_tl\":\"החבא צירופים בציר הזמן\",\"import_followers_from_a_csv_file\":\"ייבא את הנעקבים שלך מקובץ csv\",\"import_theme\":\"טען ערכים\",\"inputRadius\":\"שדות קלט\",\"interfaceLanguage\":\"שפת הממשק\",\"invalid_theme_imported\":\"הקובץ הנבחר אינו תמה הנתמכת ע\\\"י פלרומה. שום שינויים לא נעשו לתמה שלך.\",\"limited_availability\":\"לא זמין בדפדפן שלך\",\"links\":\"לינקים\",\"lock_account_description\":\"הגבל את המשתמש לעוקבים מאושרים בלבד\",\"loop_video\":\"נגן סרטונים ללא הפסקה\",\"loop_video_silent_only\":\"נגן רק סרטונים חסרי קול ללא הפסקה\",\"name\":\"שם\",\"name_bio\":\"שם ואודות\",\"new_password\":\"סיסמה חדשה\",\"notification_visibility\":\"סוג ההתראות שתרצו לראות\",\"notification_visibility_follows\":\"עקיבות\",\"notification_visibility_likes\":\"לייקים\",\"notification_visibility_mentions\":\"אזכורים\",\"notification_visibility_repeats\":\"חזרות\",\"nsfw_clickthrough\":\"החל החבאת צירופים לא בטוחים לצפיה בעת עבודה בעזרת לחיצת עכבר\",\"oauth_tokens\":\"אסימוני OAuth\",\"token\":\"אסימון\",\"refresh_token\":\"רענון האסימון\",\"valid_until\":\"בתוקף עד\",\"revoke_token\":\"בטל\",\"panelRadius\":\"פאנלים\",\"pause_on_unfocused\":\"השהה זרימת הודעות כשהחלון לא בפוקוס\",\"presets\":\"ערכים קבועים מראש\",\"profile_background\":\"רקע הפרופיל\",\"profile_banner\":\"כרזת הפרופיל\",\"profile_tab\":\"פרופיל\",\"radii_help\":\"קבע מראש עיגול פינות לממשק (בפיקסלים)\",\"replies_in_timeline\":\"תגובות בציר הזמן\",\"reply_link_preview\":\"החל תצוגה מקדימה של לינק-תגובה בעת ריחוף עם העכבר\",\"reply_visibility_all\":\"הראה את כל התגובות\",\"reply_visibility_following\":\"הראה תגובות שמופנות אליי או לעקובים שלי בלבד\",\"reply_visibility_self\":\"הראה תגובות שמופנות אליי בלבד\",\"security_tab\":\"ביטחון\",\"set_new_avatar\":\"קבע תמונת פרופיל חדשה\",\"set_new_profile_background\":\"קבע רקע פרופיל חדש\",\"set_new_profile_banner\":\"קבע כרזת פרופיל חדשה\",\"settings\":\"הגדרות\",\"stop_gifs\":\"נגן-בעת-ריחוף GIFs\",\"streaming\":\"החל זרימת הודעות אוטומטית בעת גלילה למעלה הדף\",\"text\":\"טקסט\",\"theme\":\"תמה\",\"theme_help\":\"השתמש בקודי צבע הקס (#אדום-אדום-ירוק-ירוק-כחול-כחול) על מנת להתאים אישית את תמת הצבע שלך.\",\"tooltipRadius\":\"טולטיפ \\\\ התראות\",\"user_settings\":\"הגדרות משתמש\"},\"timeline\":{\"collapse\":\"מוטט\",\"conversation\":\"שיחה\",\"error_fetching\":\"שגיאה בהבאת הודעות\",\"load_older\":\"טען סטטוסים חדשים\",\"no_retweet_hint\":\"ההודעה מסומנת כ\\\"לעוקבים-בלבד\\\" ולא ניתן לחזור עליה\",\"repeated\":\"חזר\",\"show_new\":\"הראה חדש\",\"up_to_date\":\"עדכני\"},\"user_card\":{\"approve\":\"אשר\",\"block\":\"חסימה\",\"blocked\":\"חסום!\",\"deny\":\"דחה\",\"follow\":\"עקוב\",\"followees\":\"נעקבים\",\"followers\":\"עוקבים\",\"following\":\"עוקב!\",\"follows_you\":\"עוקב אחריך!\",\"mute\":\"השתק\",\"muted\":\"מושתק\",\"per_day\":\"ליום\",\"remote_follow\":\"עקיבה מרחוק\",\"statuses\":\"סטטוסים\"},\"user_profile\":{\"timeline_title\":\"ציר זמן המשתמש\"},\"who_to_follow\":{\"more\":\"עוד\",\"who_to_follow\":\"אחרי מי לעקוב\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/he.json\n// module id = 495\n// module chunks = 2","module.exports = {\"finder\":{\"error_fetching_user\":\"Hiba felhasználó beszerzésével\",\"find_user\":\"Felhasználó keresése\"},\"general\":{\"submit\":\"Elküld\"},\"login\":{\"login\":\"Bejelentkezés\",\"logout\":\"Kijelentkezés\",\"password\":\"Jelszó\",\"placeholder\":\"e.g. lain\",\"register\":\"Feliratkozás\",\"username\":\"Felhasználó név\"},\"nav\":{\"mentions\":\"Említéseim\",\"public_tl\":\"Publikus Idővonal\",\"timeline\":\"Idővonal\",\"twkn\":\"Az Egész Ismert Hálózat\"},\"notifications\":{\"followed_you\":\"követ téged\",\"notifications\":\"Értesítések\",\"read\":\"Olvasva!\"},\"post_status\":{\"default\":\"Most érkeztem L.A.-be\",\"posting\":\"Küldés folyamatban\"},\"registration\":{\"bio\":\"Bio\",\"email\":\"Email\",\"fullname\":\"Teljes név\",\"password_confirm\":\"Jelszó megerősítése\",\"registration\":\"Feliratkozás\"},\"settings\":{\"attachments\":\"Csatolmányok\",\"autoload\":\"Autoatikus betöltés engedélyezése lap aljára görgetéskor\",\"avatar\":\"Avatár\",\"bio\":\"Bio\",\"current_avatar\":\"Jelenlegi avatár\",\"current_profile_banner\":\"Jelenlegi profil banner\",\"filtering\":\"Szűrés\",\"filtering_explanation\":\"Minden tartalom mely ezen szavakat tartalmazza némítva lesz, soronként egy\",\"hide_attachments_in_convo\":\"Csatolmányok elrejtése a társalgásokban\",\"hide_attachments_in_tl\":\"Csatolmányok elrejtése az idővonalon\",\"name\":\"Név\",\"name_bio\":\"Név és Bio\",\"nsfw_clickthrough\":\"NSFW átkattintási tartalom elrejtésének engedélyezése\",\"profile_background\":\"Profil háttérkép\",\"profile_banner\":\"Profil Banner\",\"reply_link_preview\":\"Válasz-link előzetes mutatása egér rátételkor\",\"set_new_avatar\":\"Új avatár\",\"set_new_profile_background\":\"Új profil háttér beállítása\",\"set_new_profile_banner\":\"Új profil banner\",\"settings\":\"Beállítások\",\"theme\":\"Téma\",\"user_settings\":\"Felhasználói beállítások\"},\"timeline\":{\"conversation\":\"Társalgás\",\"error_fetching\":\"Hiba a frissítések beszerzésénél\",\"load_older\":\"Régebbi állapotok betöltése\",\"show_new\":\"Újak mutatása\",\"up_to_date\":\"Naprakész\"},\"user_card\":{\"block\":\"Letilt\",\"blocked\":\"Letiltva!\",\"follow\":\"Követ\",\"followees\":\"Követettek\",\"followers\":\"Követők\",\"following\":\"Követve!\",\"follows_you\":\"Követ téged!\",\"mute\":\"Némít\",\"muted\":\"Némított\",\"per_day\":\"naponta\",\"statuses\":\"Állapotok\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/hu.json\n// module id = 496\n// module chunks = 2","module.exports = {\"general\":{\"submit\":\"Invia\",\"apply\":\"Applica\"},\"nav\":{\"mentions\":\"Menzioni\",\"public_tl\":\"Sequenza temporale pubblica\",\"timeline\":\"Sequenza temporale\",\"twkn\":\"L'intera rete conosciuta\",\"chat\":\"Chat Locale\",\"friend_requests\":\"Richieste di Seguirti\"},\"notifications\":{\"followed_you\":\"ti segue\",\"notifications\":\"Notifiche\",\"read\":\"Leggi!\",\"broken_favorite\":\"Stato sconosciuto, lo sto cercando...\",\"favorited_you\":\"ha messo mi piace al tuo stato\",\"load_older\":\"Carica notifiche più vecchie\",\"repeated_you\":\"ha condiviso il tuo stato\"},\"settings\":{\"attachments\":\"Allegati\",\"autoload\":\"Abilita caricamento automatico quando si raggiunge fondo pagina\",\"avatar\":\"Avatar\",\"bio\":\"Introduzione\",\"current_avatar\":\"Il tuo avatar attuale\",\"current_profile_banner\":\"Il tuo banner attuale\",\"filtering\":\"Filtri\",\"filtering_explanation\":\"Tutti i post contenenti queste parole saranno silenziati, uno per linea\",\"hide_attachments_in_convo\":\"Nascondi gli allegati presenti nelle conversazioni\",\"hide_attachments_in_tl\":\"Nascondi gli allegati presenti nella sequenza temporale\",\"name\":\"Nome\",\"name_bio\":\"Nome & Introduzione\",\"nsfw_clickthrough\":\"Abilita il click per visualizzare gli allegati segnati come NSFW\",\"profile_background\":\"Sfondo della tua pagina\",\"profile_banner\":\"Banner del tuo profilo\",\"reply_link_preview\":\"Abilita il link per la risposta al passaggio del mouse\",\"set_new_avatar\":\"Scegli un nuovo avatar\",\"set_new_profile_background\":\"Scegli un nuovo sfondo per la tua pagina\",\"set_new_profile_banner\":\"Scegli un nuovo banner per il tuo profilo\",\"settings\":\"Impostazioni\",\"theme\":\"Tema\",\"user_settings\":\"Impostazioni Utente\",\"attachmentRadius\":\"Allegati\",\"avatarAltRadius\":\"Avatar (Notifiche)\",\"avatarRadius\":\"Avatar\",\"background\":\"Sfondo\",\"btnRadius\":\"Pulsanti\",\"cBlue\":\"Blu (Rispondere, seguire)\",\"cGreen\":\"Verde (Condividi)\",\"cOrange\":\"Arancio (Mi piace)\",\"cRed\":\"Rosso (Annulla)\",\"change_password\":\"Cambia Password\",\"change_password_error\":\"C'è stato un problema durante il cambiamento della password.\",\"changed_password\":\"Password cambiata correttamente!\",\"collapse_subject\":\"Riduci post che hanno un oggetto\",\"confirm_new_password\":\"Conferma la nuova password\",\"current_password\":\"Password attuale\",\"data_import_export_tab\":\"Importa / Esporta Dati\",\"default_vis\":\"Visibilità predefinita dei post\",\"delete_account\":\"Elimina Account\",\"delete_account_description\":\"Elimina definitivamente il tuo account e tutti i tuoi messaggi.\",\"delete_account_error\":\"C'è stato un problema durante l'eliminazione del tuo account. Se il problema persiste contatta l'amministratore della tua istanza.\",\"delete_account_instructions\":\"Digita la tua password nel campo sottostante per confermare l'eliminazione dell'account.\",\"export_theme\":\"Salva settaggi\",\"follow_export\":\"Esporta la lista di chi segui\",\"follow_export_button\":\"Esporta la lista di chi segui in un file csv\",\"follow_export_processing\":\"Sto elaborando, presto ti sarà chiesto di scaricare il tuo file\",\"follow_import\":\"Importa la lista di chi segui\",\"follow_import_error\":\"Errore nell'importazione della lista di chi segui\",\"follows_imported\":\"Importazione riuscita! L'elaborazione richiederà un po' di tempo.\",\"foreground\":\"In primo piano\",\"general\":\"Generale\",\"hide_post_stats\":\"Nascondi statistiche dei post (es. il numero di mi piace)\",\"hide_user_stats\":\"Nascondi statistiche dell'utente (es. il numero di chi ti segue)\",\"import_followers_from_a_csv_file\":\"Importa una lista di chi segui da un file csv\",\"import_theme\":\"Carica settaggi\",\"inputRadius\":\"Campi di testo\",\"instance_default\":\"(predefinito: {value})\",\"interfaceLanguage\":\"Linguaggio dell'interfaccia\",\"invalid_theme_imported\":\"Il file selezionato non è un file di tema per Pleroma supportato. Il tuo tema non è stato modificato.\",\"limited_availability\":\"Non disponibile nel tuo browser\",\"links\":\"Collegamenti\",\"lock_account_description\":\"Limita il tuo account solo per contatti approvati\",\"loop_video\":\"Riproduci video in ciclo continuo\",\"loop_video_silent_only\":\"Riproduci solo video senza audio in ciclo continuo (es. le gif di Mastodon)\",\"new_password\":\"Nuova password\",\"notification_visibility\":\"Tipi di notifiche da mostrare\",\"notification_visibility_follows\":\"Nuove persone ti seguono\",\"notification_visibility_likes\":\"Mi piace\",\"notification_visibility_mentions\":\"Menzioni\",\"notification_visibility_repeats\":\"Condivisioni\",\"no_rich_text_description\":\"Togli la formattazione del testo da tutti i post\",\"oauth_tokens\":\"Token OAuth\",\"token\":\"Token\",\"refresh_token\":\"Aggiorna token\",\"valid_until\":\"Valido fino a\",\"revoke_token\":\"Revocare\",\"panelRadius\":\"Pannelli\",\"pause_on_unfocused\":\"Metti in pausa l'aggiornamento continuo quando la scheda non è in primo piano\",\"presets\":\"Valori predefiniti\",\"profile_tab\":\"Profilo\",\"radii_help\":\"Imposta l'arrotondamento dei bordi (in pixel)\",\"replies_in_timeline\":\"Risposte nella sequenza temporale\",\"reply_visibility_all\":\"Mostra tutte le risposte\",\"reply_visibility_following\":\"Mostra solo le risposte dirette a me o agli utenti che seguo\",\"reply_visibility_self\":\"Mostra solo risposte dirette a me\",\"saving_err\":\"Errore nel salvataggio delle impostazioni\",\"saving_ok\":\"Impostazioni salvate\",\"security_tab\":\"Sicurezza\",\"stop_gifs\":\"Riproduci GIF al passaggio del cursore del mouse\",\"streaming\":\"Abilita aggiornamento automatico dei nuovi post quando si è in alto alla pagina\",\"text\":\"Testo\",\"theme_help\":\"Usa codici colore esadecimali (#rrggbb) per personalizzare il tuo schema di colori.\",\"tooltipRadius\":\"Descrizioni/avvisi\",\"values\":{\"false\":\"no\",\"true\":\"si\"}},\"timeline\":{\"error_fetching\":\"Errore nel prelievo aggiornamenti\",\"load_older\":\"Carica messaggi più vecchi\",\"show_new\":\"Mostra nuovi\",\"up_to_date\":\"Aggiornato\",\"collapse\":\"Riduci\",\"conversation\":\"Conversazione\",\"no_retweet_hint\":\"La visibilità del post è impostata solo per chi ti segue o messaggio diretto e non può essere condiviso\",\"repeated\":\"condiviso\"},\"user_card\":{\"follow\":\"Segui\",\"followees\":\"Chi stai seguendo\",\"followers\":\"Chi ti segue\",\"following\":\"Lo stai seguendo!\",\"follows_you\":\"Ti segue!\",\"mute\":\"Silenzia\",\"muted\":\"Silenziato\",\"per_day\":\"al giorno\",\"statuses\":\"Messaggi\",\"approve\":\"Approva\",\"block\":\"Blocca\",\"blocked\":\"Bloccato!\",\"deny\":\"Nega\",\"remote_follow\":\"Segui da remoto\"},\"chat\":{\"title\":\"Chat\"},\"features_panel\":{\"chat\":\"Chat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Media proxy\",\"scope_options\":\"Opzioni di visibilità\",\"text_limit\":\"Lunghezza limite\",\"title\":\"Caratteristiche\",\"who_to_follow\":\"Chi seguire\"},\"finder\":{\"error_fetching_user\":\"Errore nel recupero dell'utente\",\"find_user\":\"Trova utente\"},\"login\":{\"login\":\"Accedi\",\"logout\":\"Disconnettiti\",\"password\":\"Password\",\"placeholder\":\"es. lain\",\"register\":\"Registrati\",\"username\":\"Nome utente\"},\"post_status\":{\"account_not_locked_warning\":\"Il tuo account non è {0}. Chiunque può seguirti e vedere i tuoi post riservati a chi ti segue.\",\"account_not_locked_warning_link\":\"bloccato\",\"attachments_sensitive\":\"Segna allegati come sensibili\",\"content_type\":{\"text/plain\":\"Testo normale\"},\"content_warning\":\"Oggetto (facoltativo)\",\"default\":\"Appena atterrato in L.A.\",\"direct_warning\":\"Questo post sarà visibile solo dagli utenti menzionati.\",\"posting\":\"Pubblica\",\"scope\":{\"direct\":\"Diretto - Pubblicato solo per gli utenti menzionati\",\"private\":\"Solo per chi ti segue - Visibile solo da chi ti segue\",\"public\":\"Pubblico - Visibile sulla sequenza temporale pubblica\",\"unlisted\":\"Non elencato - Non visibile sulla sequenza temporale pubblica\"}},\"registration\":{\"bio\":\"Introduzione\",\"email\":\"Email\",\"fullname\":\"Nome visualizzato\",\"password_confirm\":\"Conferma password\",\"registration\":\"Registrazione\",\"token\":\"Codice d'invito\"},\"user_profile\":{\"timeline_title\":\"Sequenza Temporale dell'Utente\"},\"who_to_follow\":{\"more\":\"Più\",\"who_to_follow\":\"Chi seguire\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/it.json\n// module id = 497\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"チャット\"},\"features_panel\":{\"chat\":\"チャット\",\"gopher\":\"Gopher\",\"media_proxy\":\"メディアプロクシ\",\"scope_options\":\"こうかいはんいせんたく\",\"text_limit\":\"もじのかず\",\"title\":\"ゆうこうなきのう\",\"who_to_follow\":\"おすすめユーザー\"},\"finder\":{\"error_fetching_user\":\"ユーザーけんさくがエラーになりました。\",\"find_user\":\"ユーザーをさがす\"},\"general\":{\"apply\":\"てきよう\",\"submit\":\"そうしん\",\"more\":\"つづき\",\"generic_error\":\"エラーになりました\"},\"login\":{\"login\":\"ログイン\",\"description\":\"OAuthでログイン\",\"logout\":\"ログアウト\",\"password\":\"パスワード\",\"placeholder\":\"れい: lain\",\"register\":\"はじめる\",\"username\":\"ユーザーめい\",\"hint\":\"はなしあいにくわわるには、ログインしてください\"},\"nav\":{\"about\":\"これはなに?\",\"back\":\"もどる\",\"chat\":\"ローカルチャット\",\"friend_requests\":\"フォローリクエスト\",\"mentions\":\"メンション\",\"dms\":\"ダイレクトメッセージ\",\"public_tl\":\"パブリックタイムライン\",\"timeline\":\"タイムライン\",\"twkn\":\"つながっているすべてのネットワーク\",\"user_search\":\"ユーザーをさがす\",\"who_to_follow\":\"おすすめユーザー\",\"preferences\":\"せってい\"},\"notifications\":{\"broken_favorite\":\"ステータスがみつかりません。さがしています...\",\"favorited_you\":\"あなたのステータスがおきにいりされました\",\"followed_you\":\"フォローされました\",\"load_older\":\"ふるいつうちをみる\",\"notifications\":\"つうち\",\"read\":\"よんだ!\",\"repeated_you\":\"あなたのステータスがリピートされました\",\"no_more_notifications\":\"つうちはありません\"},\"post_status\":{\"new_status\":\"とうこうする\",\"account_not_locked_warning\":\"あなたのアカウントは {0} ではありません。あなたをフォローすれば、だれでも、フォロワーげんていのステータスをよむことができます。\",\"account_not_locked_warning_link\":\"ロックされたアカウント\",\"attachments_sensitive\":\"ファイルをNSFWにする\",\"content_type\":{\"text/plain\":\"プレーンテキスト\"},\"content_warning\":\"せつめい (かかなくてもよい)\",\"default\":\"はねだくうこうに、つきました。\",\"direct_warning\":\"このステータスは、メンションされたユーザーだけが、よむことができます。\",\"posting\":\"とうこう\",\"scope\":{\"direct\":\"ダイレクト: メンションされたユーザーのみにとどきます。\",\"private\":\"フォロワーげんてい: フォロワーのみにとどきます。\",\"public\":\"パブリック: パブリックタイムラインにとどきます。\",\"unlisted\":\"アンリステッド: パブリックタイムラインにとどきません。\"}},\"registration\":{\"bio\":\"プロフィール\",\"email\":\"Eメール\",\"fullname\":\"スクリーンネーム\",\"password_confirm\":\"パスワードのかくにん\",\"registration\":\"はじめる\",\"token\":\"しょうたいトークン\",\"captcha\":\"CAPTCHA\",\"new_captcha\":\"もじがよめないときは、がぞうをクリックすると、あたらしいがぞうになります\",\"validations\":{\"username_required\":\"なにかかいてください\",\"fullname_required\":\"なにかかいてください\",\"email_required\":\"なにかかいてください\",\"password_required\":\"なにかかいてください\",\"password_confirmation_required\":\"なにかかいてください\",\"password_confirmation_match\":\"パスワードがちがいます\"}},\"settings\":{\"attachmentRadius\":\"ファイル\",\"attachments\":\"ファイル\",\"autoload\":\"したにスクロールしたとき、じどうてきによみこむ。\",\"avatar\":\"アバター\",\"avatarAltRadius\":\"つうちのアバター\",\"avatarRadius\":\"アバター\",\"background\":\"バックグラウンド\",\"bio\":\"プロフィール\",\"btnRadius\":\"ボタン\",\"cBlue\":\"リプライとフォロー\",\"cGreen\":\"リピート\",\"cOrange\":\"おきにいり\",\"cRed\":\"キャンセル\",\"change_password\":\"パスワードをかえる\",\"change_password_error\":\"パスワードをかえることが、できなかったかもしれません。\",\"changed_password\":\"パスワードが、かわりました!\",\"collapse_subject\":\"せつめいのあるとうこうをたたむ\",\"composing\":\"とうこう\",\"confirm_new_password\":\"あたらしいパスワードのかくにん\",\"current_avatar\":\"いまのアバター\",\"current_password\":\"いまのパスワード\",\"current_profile_banner\":\"いまのプロフィールバナー\",\"data_import_export_tab\":\"インポートとエクスポート\",\"default_vis\":\"デフォルトのこうかいはんい\",\"delete_account\":\"アカウントをけす\",\"delete_account_description\":\"あなたのアカウントとメッセージが、きえます。\",\"delete_account_error\":\"アカウントをけすことが、できなかったかもしれません。インスタンスのかんりしゃに、れんらくしてください。\",\"delete_account_instructions\":\"ほんとうにアカウントをけしてもいいなら、パスワードをかいてください。\",\"avatar_size_instruction\":\"アバターのおおきさは、150×150ピクセルか、それよりもおおきくするといいです。\",\"export_theme\":\"セーブ\",\"filtering\":\"フィルタリング\",\"filtering_explanation\":\"これらのことばをふくむすべてのものがミュートされます。1ぎょうに1つのことばをかいてください。\",\"follow_export\":\"フォローのエクスポート\",\"follow_export_button\":\"エクスポート\",\"follow_export_processing\":\"おまちください。まもなくファイルをダウンロードできます。\",\"follow_import\":\"フォローインポート\",\"follow_import_error\":\"フォローのインポートがエラーになりました。\",\"follows_imported\":\"フォローがインポートされました! すこしじかんがかかるかもしれません。\",\"foreground\":\"フォアグラウンド\",\"general\":\"ぜんぱん\",\"hide_attachments_in_convo\":\"スレッドのファイルをかくす\",\"hide_attachments_in_tl\":\"タイムラインのファイルをかくす\",\"hide_isp\":\"インスタンススペシフィックパネルをかくす\",\"preload_images\":\"がぞうをさきよみする\",\"use_one_click_nsfw\":\"NSFWなファイルを1クリックでひらく\",\"hide_post_stats\":\"とうこうのとうけいをかくす (れい: おきにいりのかず)\",\"hide_user_stats\":\"ユーザーのとうけいをかくす (れい: フォロワーのかず)\",\"hide_filtered_statuses\":\"フィルターされたとうこうをかくす\",\"import_followers_from_a_csv_file\":\"CSVファイルからフォローをインポートする\",\"import_theme\":\"ロード\",\"inputRadius\":\"インプットフィールド\",\"checkboxRadius\":\"チェックボックス\",\"instance_default\":\"(デフォルト: {value})\",\"instance_default_simple\":\"(デフォルト)\",\"interface\":\"インターフェース\",\"interfaceLanguage\":\"インターフェースのことば\",\"invalid_theme_imported\":\"このファイルはPleromaのテーマではありません。テーマはへんこうされませんでした。\",\"limited_availability\":\"あなたのブラウザではできません\",\"links\":\"リンク\",\"lock_account_description\":\"あなたがみとめたひとだけ、あなたのアカウントをフォローできる\",\"loop_video\":\"ビデオをくりかえす\",\"loop_video_silent_only\":\"おとのないビデオだけくりかえす\",\"play_videos_in_modal\":\"ビデオをメディアビューアーでみる\",\"use_contain_fit\":\"がぞうのサムネイルを、きりぬかない\",\"name\":\"なまえ\",\"name_bio\":\"なまえとプロフィール\",\"new_password\":\"あたらしいパスワード\",\"notification_visibility\":\"ひょうじするつうち\",\"notification_visibility_follows\":\"フォロー\",\"notification_visibility_likes\":\"おきにいり\",\"notification_visibility_mentions\":\"メンション\",\"notification_visibility_repeats\":\"リピート\",\"no_rich_text_description\":\"リッチテキストをつかわない\",\"hide_follows_description\":\"フォローしているひとをみせない\",\"hide_followers_description\":\"フォロワーをみせない\",\"show_admin_badge\":\"アドミンのしるしをみる\",\"show_moderator_badge\":\"モデレーターのしるしをみる\",\"nsfw_clickthrough\":\"NSFWなファイルをかくす\",\"oauth_tokens\":\"OAuthトークン\",\"token\":\"トークン\",\"refresh_token\":\"トークンを更新\",\"valid_until\":\"まで有効\",\"revoke_token\":\"取り消す\",\"panelRadius\":\"パネル\",\"pause_on_unfocused\":\"タブにフォーカスがないときストリーミングをとめる\",\"presets\":\"プリセット\",\"profile_background\":\"プロフィールのバックグラウンド\",\"profile_banner\":\"プロフィールバナー\",\"profile_tab\":\"プロフィール\",\"radii_help\":\"インターフェースのまるさをせっていする。\",\"replies_in_timeline\":\"タイムラインのリプライ\",\"reply_link_preview\":\"カーソルをかさねたとき、リプライのプレビューをみる\",\"reply_visibility_all\":\"すべてのリプライをみる\",\"reply_visibility_following\":\"わたしにあてられたリプライと、フォローしているひとからのリプライをみる\",\"reply_visibility_self\":\"わたしにあてられたリプライをみる\",\"saving_err\":\"せっていをセーブできませんでした\",\"saving_ok\":\"せっていをセーブしました\",\"security_tab\":\"セキュリティ\",\"scope_copy\":\"リプライするとき、こうかいはんいをコピーする (DMのこうかいはんいは、つねにコピーされます)\",\"set_new_avatar\":\"あたらしいアバターをせっていする\",\"set_new_profile_background\":\"あたらしいプロフィールのバックグラウンドをせっていする\",\"set_new_profile_banner\":\"あたらしいプロフィールバナーを設定する\",\"settings\":\"せってい\",\"subject_input_always_show\":\"サブジェクトフィールドをいつでもひょうじする\",\"subject_line_behavior\":\"リプライするときサブジェクトをコピーする\",\"subject_line_email\":\"メールふう: \\\"re: サブジェクト\\\"\",\"subject_line_mastodon\":\"マストドンふう: そのままコピー\",\"subject_line_noop\":\"コピーしない\",\"post_status_content_type\":\"とうこうのコンテントタイプ\",\"stop_gifs\":\"カーソルをかさねたとき、GIFをうごかす\",\"streaming\":\"うえまでスクロールしたとき、じどうてきにストリーミングする\",\"text\":\"もじ\",\"theme\":\"テーマ\",\"theme_help\":\"カラーテーマをカスタマイズできます\",\"theme_help_v2_1\":\"チェックボックスをONにすると、コンポーネントごとに、いろと、とうめいどを、オーバーライドできます。「すべてクリア」ボタンをおすと、すべてのオーバーライドを、やめます。\",\"theme_help_v2_2\":\"バックグラウンドとテキストのコントラストをあらわすアイコンがあります。マウスをホバーすると、くわしいせつめいがでます。とうめいないろをつかっているときは、もっともわるいばあいのコントラストがしめされます。\",\"tooltipRadius\":\"ツールチップとアラート\",\"user_settings\":\"ユーザーせってい\",\"values\":{\"false\":\"いいえ\",\"true\":\"はい\"},\"notifications\":\"つうち\",\"enable_web_push_notifications\":\"ウェブプッシュつうちをゆるす\",\"style\":{\"switcher\":{\"keep_color\":\"いろをのこす\",\"keep_shadows\":\"かげをのこす\",\"keep_opacity\":\"とうめいどをのこす\",\"keep_roundness\":\"まるさをのこす\",\"keep_fonts\":\"フォントをのこす\",\"save_load_hint\":\"「のこす」オプションをONにすると、テーマをえらんだときとロードしたとき、いまのせっていをのこします。また、テーマをエクスポートするとき、これらのオプションをストアします。すべてのチェックボックスをOFFにすると、テーマをエクスポートしたとき、すべてのせっていをセーブします。\",\"reset\":\"リセット\",\"clear_all\":\"すべてクリア\",\"clear_opacity\":\"とうめいどをクリア\"},\"common\":{\"color\":\"いろ\",\"opacity\":\"とうめいど\",\"contrast\":{\"hint\":\"コントラストは {ratio} です。{level}。({context})\",\"level\":{\"aa\":\"AAレベルガイドライン (ミニマル) をみたします\",\"aaa\":\"AAAレベルガイドライン (レコメンデッド) をみたします。\",\"bad\":\"ガイドラインをみたしません。\"},\"context\":{\"18pt\":\"おおきい (18ポイントいじょう) テキスト\",\"text\":\"テキスト\"}}},\"common_colors\":{\"_tab_label\":\"きょうつう\",\"main\":\"きょうつうのいろ\",\"foreground_hint\":\"「くわしく」タブで、もっとこまかくせっていできます\",\"rgbo\":\"アイコンとアクセントとバッジ\"},\"advanced_colors\":{\"_tab_label\":\"くわしく\",\"alert\":\"アラートのバックグラウンド\",\"alert_error\":\"エラー\",\"badge\":\"バッジのバックグラウンド\",\"badge_notification\":\"つうち\",\"panel_header\":\"パネルヘッダー\",\"top_bar\":\"トップバー\",\"borders\":\"さかいめ\",\"buttons\":\"ボタン\",\"inputs\":\"インプットフィールド\",\"faint_text\":\"うすいテキスト\"},\"radii\":{\"_tab_label\":\"まるさ\"},\"shadows\":{\"_tab_label\":\"ひかりとかげ\",\"component\":\"コンポーネント\",\"override\":\"オーバーライド\",\"shadow_id\":\"かげ #{value}\",\"blur\":\"ぼかし\",\"spread\":\"ひろがり\",\"inset\":\"うちがわ\",\"hint\":\"かげのせっていでは、いろのあたいとして --variable をつかうことができます。これはCSS3へんすうです。ただし、とうめいどのせっていは、きかなくなります。\",\"filter_hint\":{\"always_drop_shadow\":\"ブラウザーがサポートしていれば、つねに {0} がつかわれます。\",\"drop_shadow_syntax\":\"{0} は、{1} パラメーターと {2} キーワードをサポートしていません。\",\"avatar_inset\":\"うちがわのかげと、そとがわのかげを、いっしょにつかうと、とうめいなアバターが、へんなみためになります。\",\"spread_zero\":\"ひろがりが 0 よりもおおきなかげは、0 とおなじです。\",\"inset_classic\":\"うちがわのかげは {0} をつかいます。\"},\"components\":{\"panel\":\"パネル\",\"panelHeader\":\"パネルヘッダー\",\"topBar\":\"トップバー\",\"avatar\":\"ユーザーアバター (プロフィール)\",\"avatarStatus\":\"ユーザーアバター (とうこう)\",\"popup\":\"ポップアップとツールチップ\",\"button\":\"ボタン\",\"buttonHover\":\"ボタン (ホバー)\",\"buttonPressed\":\"ボタン (おされているとき)\",\"buttonPressedHover\":\"ボタン (ホバー、かつ、おされているとき)\",\"input\":\"インプットフィールド\"}},\"fonts\":{\"_tab_label\":\"フォント\",\"help\":\"「カスタム」をえらんだときは、システムにあるフォントのなまえを、ただしくにゅうりょくしてください。\",\"components\":{\"interface\":\"インターフェース\",\"input\":\"インプットフィールド\",\"post\":\"とうこう\",\"postCode\":\"モノスペース (とうこうがリッチテキストであるとき)\"},\"family\":\"フォントめい\",\"size\":\"おおきさ (px)\",\"weight\":\"ふとさ\",\"custom\":\"カスタム\"},\"preview\":{\"header\":\"プレビュー\",\"content\":\"ほんぶん\",\"error\":\"エラーのれい\",\"button\":\"ボタン\",\"text\":\"これは{0}と{1}のれいです。\",\"mono\":\"monospace\",\"input\":\"はねだくうこうに、つきました。\",\"faint_link\":\"とてもたすけになるマニュアル\",\"fine_print\":\"わたしたちの{0}を、よまないでください!\",\"header_faint\":\"エラーではありません\",\"checkbox\":\"りようきやくを、よみました\",\"link\":\"ハイパーリンク\"}}},\"timeline\":{\"collapse\":\"たたむ\",\"conversation\":\"スレッド\",\"error_fetching\":\"よみこみがエラーになりました\",\"load_older\":\"ふるいステータス\",\"no_retweet_hint\":\"とうこうを「フォロワーのみ」または「ダイレクト」にすると、リピートできなくなります\",\"repeated\":\"リピート\",\"show_new\":\"よみこみ\",\"up_to_date\":\"さいしん\",\"no_more_statuses\":\"これでおわりです\"},\"user_card\":{\"approve\":\"うけいれ\",\"block\":\"ブロック\",\"blocked\":\"ブロックしています!\",\"deny\":\"おことわり\",\"favorites\":\"おきにいり\",\"follow\":\"フォロー\",\"follow_sent\":\"リクエストを、おくりました!\",\"follow_progress\":\"リクエストしています…\",\"follow_again\":\"ふたたびリクエストをおくりますか?\",\"follow_unfollow\":\"フォローをやめる\",\"followees\":\"フォロー\",\"followers\":\"フォロワー\",\"following\":\"フォローしています!\",\"follows_you\":\"フォローされました!\",\"its_you\":\"これはあなたです!\",\"media\":\"メディア\",\"mute\":\"ミュート\",\"muted\":\"ミュートしています!\",\"per_day\":\"/日\",\"remote_follow\":\"リモートフォロー\",\"statuses\":\"ステータス\"},\"user_profile\":{\"timeline_title\":\"ユーザータイムライン\"},\"who_to_follow\":{\"more\":\"くわしく\",\"who_to_follow\":\"おすすめユーザー\"},\"tool_tip\":{\"media_upload\":\"メディアをアップロード\",\"repeat\":\"リピート\",\"reply\":\"リプライ\",\"favorite\":\"おきにいり\",\"user_settings\":\"ユーザーせってい\"},\"upload\":{\"error\":{\"base\":\"アップロードにしっぱいしました。\",\"file_too_big\":\"ファイルがおおきすぎます [{filesize} {filesizeunit} / {allowedsize} {allowedsizeunit}]\",\"default\":\"しばらくしてから、ためしてください\"},\"file_size_units\":{\"B\":\"B\",\"KiB\":\"KiB\",\"MiB\":\"MiB\",\"GiB\":\"GiB\",\"TiB\":\"TiB\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/ja.json\n// module id = 498\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"챗\"},\"features_panel\":{\"chat\":\"챗\",\"gopher\":\"고퍼\",\"media_proxy\":\"미디어 프록시\",\"scope_options\":\"범위 옵션\",\"text_limit\":\"텍스트 제한\",\"title\":\"기능\",\"who_to_follow\":\"팔로우 추천\"},\"finder\":{\"error_fetching_user\":\"사용자 정보 불러오기 실패\",\"find_user\":\"사용자 찾기\"},\"general\":{\"apply\":\"적용\",\"submit\":\"보내기\"},\"login\":{\"login\":\"로그인\",\"description\":\"OAuth로 로그인\",\"logout\":\"로그아웃\",\"password\":\"암호\",\"placeholder\":\"예시: lain\",\"register\":\"가입\",\"username\":\"사용자 이름\"},\"nav\":{\"about\":\"About\",\"back\":\"뒤로\",\"chat\":\"로컬 챗\",\"friend_requests\":\"팔로우 요청\",\"mentions\":\"멘션\",\"dms\":\"다이렉트 메시지\",\"public_tl\":\"공개 타임라인\",\"timeline\":\"타임라인\",\"twkn\":\"모든 알려진 네트워크\",\"user_search\":\"사용자 검색\",\"preferences\":\"환경설정\"},\"notifications\":{\"broken_favorite\":\"알 수 없는 게시물입니다, 검색 합니다...\",\"favorited_you\":\"당신의 게시물을 즐겨찾기\",\"followed_you\":\"당신을 팔로우\",\"load_older\":\"오래 된 알림 불러오기\",\"notifications\":\"알림\",\"read\":\"읽음!\",\"repeated_you\":\"당신의 게시물을 리핏\"},\"post_status\":{\"new_status\":\"새 게시물 게시\",\"account_not_locked_warning\":\"당신의 계정은 {0} 상태가 아닙니다. 누구나 당신을 팔로우 하고 팔로워 전용 게시물을 볼 수 있습니다.\",\"account_not_locked_warning_link\":\"잠김\",\"attachments_sensitive\":\"첨부물을 민감함으로 설정\",\"content_type\":{\"text/plain\":\"평문\"},\"content_warning\":\"주제 (필수 아님)\",\"default\":\"LA에 도착!\",\"direct_warning\":\"이 게시물을 멘션 된 사용자들에게만 보여집니다\",\"posting\":\"게시\",\"scope\":{\"direct\":\"다이렉트 - 멘션 된 사용자들에게만\",\"private\":\"팔로워 전용 - 팔로워들에게만\",\"public\":\"공개 - 공개 타임라인으로\",\"unlisted\":\"비공개 - 공개 타임라인에 게시 안 함\"}},\"registration\":{\"bio\":\"소개\",\"email\":\"이메일\",\"fullname\":\"표시 되는 이름\",\"password_confirm\":\"암호 확인\",\"registration\":\"가입하기\",\"token\":\"초대 토큰\",\"captcha\":\"캡차\",\"new_captcha\":\"이미지를 클릭해서 새로운 캡차\",\"validations\":{\"username_required\":\"공백으로 둘 수 없습니다\",\"fullname_required\":\"공백으로 둘 수 없습니다\",\"email_required\":\"공백으로 둘 수 없습니다\",\"password_required\":\"공백으로 둘 수 없습니다\",\"password_confirmation_required\":\"공백으로 둘 수 없습니다\",\"password_confirmation_match\":\"패스워드와 일치해야 합니다\"}},\"settings\":{\"attachmentRadius\":\"첨부물\",\"attachments\":\"첨부물\",\"autoload\":\"최하단에 도착하면 자동으로 로드 활성화\",\"avatar\":\"아바타\",\"avatarAltRadius\":\"아바타 (알림)\",\"avatarRadius\":\"아바타\",\"background\":\"배경\",\"bio\":\"소개\",\"btnRadius\":\"버튼\",\"cBlue\":\"파랑 (답글, 팔로우)\",\"cGreen\":\"초록 (리트윗)\",\"cOrange\":\"주황 (즐겨찾기)\",\"cRed\":\"빨강 (취소)\",\"change_password\":\"암호 바꾸기\",\"change_password_error\":\"암호를 바꾸는 데 몇 가지 문제가 있습니다.\",\"changed_password\":\"암호를 바꾸었습니다!\",\"collapse_subject\":\"주제를 가진 게시물 접기\",\"composing\":\"작성\",\"confirm_new_password\":\"새 패스워드 확인\",\"current_avatar\":\"현재 아바타\",\"current_password\":\"현재 패스워드\",\"current_profile_banner\":\"현재 프로필 배너\",\"data_import_export_tab\":\"데이터 불러오기 / 내보내기\",\"default_vis\":\"기본 공개 범위\",\"delete_account\":\"계정 삭제\",\"delete_account_description\":\"계정과 메시지를 영구히 삭제.\",\"delete_account_error\":\"계정을 삭제하는데 문제가 있습니다. 계속 발생한다면 인스턴스 관리자에게 문의하세요.\",\"delete_account_instructions\":\"계정 삭제를 확인하기 위해 아래에 패스워드 입력.\",\"export_theme\":\"프리셋 저장\",\"filtering\":\"필터링\",\"filtering_explanation\":\"아래의 단어를 가진 게시물들은 뮤트 됩니다, 한 줄에 하나씩 적으세요\",\"follow_export\":\"팔로우 내보내기\",\"follow_export_button\":\"팔로우 목록을 csv로 내보내기\",\"follow_export_processing\":\"진행 중입니다, 곧 다운로드 가능해 질 것입니다\",\"follow_import\":\"팔로우 불러오기\",\"follow_import_error\":\"팔로우 불러오기 실패\",\"follows_imported\":\"팔로우 목록을 불러왔습니다! 처리에는 시간이 걸립니다.\",\"foreground\":\"전경\",\"general\":\"일반\",\"hide_attachments_in_convo\":\"대화의 첨부물 숨기기\",\"hide_attachments_in_tl\":\"타임라인의 첨부물 숨기기\",\"hide_isp\":\"인스턴스 전용 패널 숨기기\",\"preload_images\":\"이미지 미리 불러오기\",\"hide_post_stats\":\"게시물 통계 숨기기 (즐겨찾기 수 등)\",\"hide_user_stats\":\"사용자 통계 숨기기 (팔로워 수 등)\",\"import_followers_from_a_csv_file\":\"csv 파일에서 팔로우 목록 불러오기\",\"import_theme\":\"프리셋 불러오기\",\"inputRadius\":\"입력 칸\",\"checkboxRadius\":\"체크박스\",\"instance_default\":\"(기본: {value})\",\"instance_default_simple\":\"(기본)\",\"interface\":\"인터페이스\",\"interfaceLanguage\":\"인터페이스 언어\",\"invalid_theme_imported\":\"선택한 파일은 지원하는 플레로마 테마가 아닙니다. 아무런 변경도 일어나지 않았습니다.\",\"limited_availability\":\"이 브라우저에서 사용 불가\",\"links\":\"링크\",\"lock_account_description\":\"계정을 승인 된 팔로워들로 제한\",\"loop_video\":\"비디오 반복재생\",\"loop_video_silent_only\":\"소리가 없는 비디오만 반복 재생 (마스토돈의 \\\"gifs\\\" 같은 것들)\",\"name\":\"이름\",\"name_bio\":\"이름 & 소개\",\"new_password\":\"새 암호\",\"notification_visibility\":\"보여 줄 알림 종류\",\"notification_visibility_follows\":\"팔로우\",\"notification_visibility_likes\":\"좋아함\",\"notification_visibility_mentions\":\"멘션\",\"notification_visibility_repeats\":\"반복\",\"no_rich_text_description\":\"모든 게시물의 서식을 지우기\",\"hide_follows_description\":\"내가 팔로우하는 사람을 표시하지 않음\",\"hide_followers_description\":\"나를 따르는 사람을 보여주지 마라.\",\"nsfw_clickthrough\":\"NSFW 이미지 \\\"클릭해서 보이기\\\"를 활성화\",\"oauth_tokens\":\"OAuth 토큰\",\"token\":\"토큰\",\"refresh_token\":\"토큰 새로 고침\",\"valid_until\":\"까지 유효하다\",\"revoke_token\":\"취소\",\"panelRadius\":\"패널\",\"pause_on_unfocused\":\"탭이 활성 상태가 아닐 때 스트리밍 멈추기\",\"presets\":\"프리셋\",\"profile_background\":\"프로필 배경\",\"profile_banner\":\"프로필 배너\",\"profile_tab\":\"프로필\",\"radii_help\":\"인터페이스 모서리 둥글기 (픽셀 단위)\",\"replies_in_timeline\":\"답글을 타임라인에\",\"reply_link_preview\":\"마우스를 올려서 답글 링크 미리보기 활성화\",\"reply_visibility_all\":\"모든 답글 보기\",\"reply_visibility_following\":\"나에게 직접 오는 답글이나 내가 팔로우 중인 사람에게서 오는 답글만 표시\",\"reply_visibility_self\":\"나에게 직접 전송 된 답글만 보이기\",\"saving_err\":\"설정 저장 실패\",\"saving_ok\":\"설정 저장 됨\",\"security_tab\":\"보안\",\"scope_copy\":\"답글을 달 때 공개 범위 따라가리 (다이렉트 메시지는 언제나 따라감)\",\"set_new_avatar\":\"새 아바타 설정\",\"set_new_profile_background\":\"새 프로필 배경 설정\",\"set_new_profile_banner\":\"새 프로필 배너 설정\",\"settings\":\"설정\",\"subject_input_always_show\":\"항상 주제 칸 보이기\",\"subject_line_behavior\":\"답글을 달 때 주제 복사하기\",\"subject_line_email\":\"이메일처럼: \\\"re: 주제\\\"\",\"subject_line_mastodon\":\"마스토돈처럼: 그대로 복사\",\"subject_line_noop\":\"복사 안 함\",\"stop_gifs\":\"GIF파일에 마우스를 올려서 재생\",\"streaming\":\"최상단에 도달하면 자동으로 새 게시물 스트리밍\",\"text\":\"텍스트\",\"theme\":\"테마\",\"theme_help\":\"16진수 색상코드(#rrggbb)를 사용해 색상 테마를 커스터마이즈.\",\"theme_help_v2_1\":\"체크박스를 통해 몇몇 컴포넌트의 색상과 불투명도를 조절 가능, \\\"모두 지우기\\\" 버튼으로 덮어 씌운 것을 모두 취소.\",\"theme_help_v2_2\":\"몇몇 입력칸 밑의 아이콘은 전경/배경 대비 관련 표시등입니다, 마우스를 올려 자세한 정보를 볼 수 있습니다. 투명도 대비 표시등이 가장 최악의 경우를 나타낸다는 것을 유의하세요.\",\"tooltipRadius\":\"툴팁/경고\",\"user_settings\":\"사용자 설정\",\"values\":{\"false\":\"아니오\",\"true\":\"네\"},\"notifications\":\"알림\",\"enable_web_push_notifications\":\"웹 푸시 알림 활성화\",\"style\":{\"switcher\":{\"keep_color\":\"색상 유지\",\"keep_shadows\":\"그림자 유지\",\"keep_opacity\":\"불투명도 유지\",\"keep_roundness\":\"둥글기 유지\",\"keep_fonts\":\"글자체 유지\",\"save_load_hint\":\"\\\"유지\\\" 옵션들은 다른 테마를 고르거나 불러 올 때 현재 설정 된 옵션들을 건드리지 않게 합니다, 테마를 내보내기 할 때도 이 옵션에 따라 저장합니다. 아무 것도 체크 되지 않았다면 모든 설정을 내보냅니다.\",\"reset\":\"초기화\",\"clear_all\":\"모두 지우기\",\"clear_opacity\":\"불투명도 지우기\"},\"common\":{\"color\":\"색상\",\"opacity\":\"불투명도\",\"contrast\":{\"hint\":\"대비율이 {ratio}입니다, 이것은 {context} {level}\",\"level\":{\"aa\":\"AA등급 가이드라인에 부합합니다 (최소한도)\",\"aaa\":\"AAA등급 가이드라인에 부합합니다 (권장)\",\"bad\":\"아무런 가이드라인 등급에도 미치지 못합니다\"},\"context\":{\"18pt\":\"큰 (18pt 이상) 텍스트에 대해\",\"text\":\"텍스트에 대해\"}}},\"common_colors\":{\"_tab_label\":\"일반\",\"main\":\"일반 색상\",\"foreground_hint\":\"\\\"고급\\\" 탭에서 더 자세한 설정이 가능합니다\",\"rgbo\":\"아이콘, 강조, 배지\"},\"advanced_colors\":{\"_tab_label\":\"고급\",\"alert\":\"주의 배경\",\"alert_error\":\"에러\",\"badge\":\"배지 배경\",\"badge_notification\":\"알림\",\"panel_header\":\"패널 헤더\",\"top_bar\":\"상단 바\",\"borders\":\"테두리\",\"buttons\":\"버튼\",\"inputs\":\"입력칸\",\"faint_text\":\"흐려진 텍스트\"},\"radii\":{\"_tab_label\":\"둥글기\"},\"shadows\":{\"_tab_label\":\"그림자와 빛\",\"component\":\"컴포넌트\",\"override\":\"덮어쓰기\",\"shadow_id\":\"그림자 #{value}\",\"blur\":\"흐리기\",\"spread\":\"퍼지기\",\"inset\":\"안쪽으로\",\"hint\":\"그림자에는 CSS3 변수를 --variable을 통해 색상 값으로 사용할 수 있습니다. 불투명도에는 적용 되지 않습니다.\",\"filter_hint\":{\"always_drop_shadow\":\"경고, 이 그림자는 브라우저가 지원하는 경우 항상 {0}을 사용합니다.\",\"drop_shadow_syntax\":\"{0}는 {1} 파라미터와 {2} 키워드를 지원하지 않습니다.\",\"avatar_inset\":\"안쪽과 안쪽이 아닌 그림자를 모두 설정하는 경우 투명 아바타에서 예상치 못 한 결과가 나올 수 있다는 것에 주의해 주세요.\",\"spread_zero\":\"퍼지기가 0보다 큰 그림자는 0으로 설정한 것과 동일하게 보여집니다\",\"inset_classic\":\"안쪽 그림자는 {0}를 사용합니다\"},\"components\":{\"panel\":\"패널\",\"panelHeader\":\"패널 헤더\",\"topBar\":\"상단 바\",\"avatar\":\"사용자 아바타 (프로필 뷰에서)\",\"avatarStatus\":\"사용자 아바타 (게시물에서)\",\"popup\":\"팝업과 툴팁\",\"button\":\"버튼\",\"buttonHover\":\"버튼 (마우스 올렸을 때)\",\"buttonPressed\":\"버튼 (눌렸을 때)\",\"buttonPressedHover\":\"Button (마우스 올림 + 눌림)\",\"input\":\"입력칸\"}},\"fonts\":{\"_tab_label\":\"글자체\",\"help\":\"인터페이스의 요소에 사용 될 글자체를 고르세요. \\\"커스텀\\\"은 시스템에 있는 폰트 이름을 정확히 입력해야 합니다.\",\"components\":{\"interface\":\"인터페이스\",\"input\":\"입력칸\",\"post\":\"게시물 텍스트\",\"postCode\":\"게시물의 고정폭 텍스트 (서식 있는 텍스트)\"},\"family\":\"글자체 이름\",\"size\":\"크기 (px 단위)\",\"weight\":\"굵기\",\"custom\":\"커스텀\"},\"preview\":{\"header\":\"미리보기\",\"content\":\"내용\",\"error\":\"에러 예시\",\"button\":\"버튼\",\"text\":\"더 많은 {0} 그리고 {1}\",\"mono\":\"내용\",\"input\":\"LA에 막 도착!\",\"faint_link\":\"도움 되는 설명서\",\"fine_print\":\"우리의 {0} 를 읽고 도움 되지 않는 것들을 배우자!\",\"header_faint\":\"이건 괜찮아\",\"checkbox\":\"나는 약관을 대충 훑어보았습니다\",\"link\":\"작고 귀여운 링크\"}}},\"timeline\":{\"collapse\":\"접기\",\"conversation\":\"대화\",\"error_fetching\":\"업데이트 불러오기 실패\",\"load_older\":\"더 오래 된 게시물 불러오기\",\"no_retweet_hint\":\"팔로워 전용, 다이렉트 메시지는 반복할 수 없습니다\",\"repeated\":\"반복 됨\",\"show_new\":\"새로운 것 보기\",\"up_to_date\":\"최신 상태\"},\"user_card\":{\"approve\":\"승인\",\"block\":\"차단\",\"blocked\":\"차단 됨!\",\"deny\":\"거부\",\"follow\":\"팔로우\",\"follow_sent\":\"요청 보내짐!\",\"follow_progress\":\"요청 중…\",\"follow_again\":\"요청을 다시 보낼까요?\",\"follow_unfollow\":\"팔로우 중지\",\"followees\":\"팔로우 중\",\"followers\":\"팔로워\",\"following\":\"팔로우 중!\",\"follows_you\":\"당신을 팔로우 합니다!\",\"its_you\":\"당신입니다!\",\"mute\":\"침묵\",\"muted\":\"침묵 됨\",\"per_day\":\" / 하루\",\"remote_follow\":\"원격 팔로우\",\"statuses\":\"게시물\"},\"user_profile\":{\"timeline_title\":\"사용자 타임라인\"},\"who_to_follow\":{\"more\":\"더 보기\",\"who_to_follow\":\"팔로우 추천\"},\"tool_tip\":{\"media_upload\":\"미디어 업로드\",\"repeat\":\"반복\",\"reply\":\"답글\",\"favorite\":\"즐겨찾기\",\"user_settings\":\"사용자 설정\"},\"upload\":{\"error\":{\"base\":\"업로드 실패.\",\"file_too_big\":\"파일이 너무 커요 [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"잠시 후에 다시 시도해 보세요\"},\"file_size_units\":{\"B\":\"바이트\",\"KiB\":\"키비바이트\",\"MiB\":\"메비바이트\",\"GiB\":\"기비바이트\",\"TiB\":\"테비바이트\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/ko.json\n// module id = 499\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Nettprat\"},\"features_panel\":{\"chat\":\"Nettprat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Media proxy\",\"scope_options\":\"Velg mottakere\",\"text_limit\":\"Tekst-grense\",\"title\":\"Egenskaper\",\"who_to_follow\":\"Hvem å følge\"},\"finder\":{\"error_fetching_user\":\"Feil ved henting av bruker\",\"find_user\":\"Finn bruker\"},\"general\":{\"apply\":\"Bruk\",\"submit\":\"Send\"},\"login\":{\"login\":\"Logg inn\",\"logout\":\"Logg ut\",\"password\":\"Passord\",\"placeholder\":\"f. eks lain\",\"register\":\"Registrer\",\"username\":\"Brukernavn\"},\"nav\":{\"chat\":\"Lokal nettprat\",\"friend_requests\":\"Følgeforespørsler\",\"mentions\":\"Nevnt\",\"public_tl\":\"Offentlig Tidslinje\",\"timeline\":\"Tidslinje\",\"twkn\":\"Det hele kjente nettverket\"},\"notifications\":{\"broken_favorite\":\"Ukjent status, leter etter den...\",\"favorited_you\":\"likte din status\",\"followed_you\":\"fulgte deg\",\"load_older\":\"Last eldre varsler\",\"notifications\":\"Varslinger\",\"read\":\"Les!\",\"repeated_you\":\"Gjentok din status\"},\"post_status\":{\"account_not_locked_warning\":\"Kontoen din er ikke {0}. Hvem som helst kan følge deg for å se dine statuser til følgere\",\"account_not_locked_warning_link\":\"låst\",\"attachments_sensitive\":\"Merk vedlegg som sensitive\",\"content_type\":{\"text/plain\":\"Klar tekst\"},\"content_warning\":\"Tema (valgfritt)\",\"default\":\"Landet akkurat i L.A.\",\"direct_warning\":\"Denne statusen vil kun bli sett av nevnte brukere\",\"posting\":\"Publiserer\",\"scope\":{\"direct\":\"Direkte, publiser bare til nevnte brukere\",\"private\":\"Bare følgere, publiser bare til brukere som følger deg\",\"public\":\"Offentlig, publiser til offentlige tidslinjer\",\"unlisted\":\"Uoppført, ikke publiser til offentlige tidslinjer\"}},\"registration\":{\"bio\":\"Biografi\",\"email\":\"Epost-adresse\",\"fullname\":\"Visningsnavn\",\"password_confirm\":\"Bekreft passord\",\"registration\":\"Registrering\",\"token\":\"Invitasjons-bevis\"},\"settings\":{\"attachmentRadius\":\"Vedlegg\",\"attachments\":\"Vedlegg\",\"autoload\":\"Automatisk lasting når du blar ned til bunnen\",\"avatar\":\"Profilbilde\",\"avatarAltRadius\":\"Profilbilde (Varslinger)\",\"avatarRadius\":\"Profilbilde\",\"background\":\"Bakgrunn\",\"bio\":\"Biografi\",\"btnRadius\":\"Knapper\",\"cBlue\":\"Blå (Svar, følg)\",\"cGreen\":\"Grønn (Gjenta)\",\"cOrange\":\"Oransje (Lik)\",\"cRed\":\"Rød (Avbryt)\",\"change_password\":\"Endre passord\",\"change_password_error\":\"Feil ved endring av passord\",\"changed_password\":\"Passord endret\",\"collapse_subject\":\"Sammenfold statuser med tema\",\"confirm_new_password\":\"Bekreft nytt passord\",\"current_avatar\":\"Ditt nåværende profilbilde\",\"current_password\":\"Nåværende passord\",\"current_profile_banner\":\"Din nåværende profil-banner\",\"data_import_export_tab\":\"Data import / eksport\",\"default_vis\":\"Standard visnings-omfang\",\"delete_account\":\"Slett konto\",\"delete_account_description\":\"Slett din konto og alle dine statuser\",\"delete_account_error\":\"Det oppsto et problem ved sletting av kontoen din, hvis dette problemet forblir kontakt din administrator\",\"delete_account_instructions\":\"Skriv inn ditt passord i feltet nedenfor for å bekrefte sletting av konto\",\"export_theme\":\"Lagre tema\",\"filtering\":\"Filtrering\",\"filtering_explanation\":\"Alle statuser som inneholder disse ordene vil bli dempet, en kombinasjon av tegn per linje\",\"follow_export\":\"Eksporter følginger\",\"follow_export_button\":\"Eksporter følgingene dine til en .csv fil\",\"follow_export_processing\":\"Jobber, du vil snart bli spurt om å laste ned filen din.\",\"follow_import\":\"Importer følginger\",\"follow_import_error\":\"Feil ved importering av følginger.\",\"follows_imported\":\"Følginger importert! Behandling vil ta litt tid.\",\"foreground\":\"Forgrunn\",\"general\":\"Generell\",\"hide_attachments_in_convo\":\"Gjem vedlegg i samtaler\",\"hide_attachments_in_tl\":\"Gjem vedlegg på tidslinje\",\"import_followers_from_a_csv_file\":\"Importer følginger fra en csv fil\",\"import_theme\":\"Last tema\",\"inputRadius\":\"Input felt\",\"instance_default\":\"(standard: {value})\",\"interfaceLanguage\":\"Grensesnitt-språk\",\"invalid_theme_imported\":\"Den valgte filen er ikke ett støttet Pleroma-tema, ingen endringer til ditt tema ble gjort\",\"limited_availability\":\"Ikke tilgjengelig i din nettleser\",\"links\":\"Linker\",\"lock_account_description\":\"Begrens din konto til bare godkjente følgere\",\"loop_video\":\"Gjenta videoer\",\"loop_video_silent_only\":\"Gjenta bare videoer uten lyd, (for eksempel Mastodon sine \\\"gifs\\\")\",\"name\":\"Navn\",\"name_bio\":\"Navn & Biografi\",\"new_password\":\"Nytt passord\",\"notification_visibility\":\"Typer varsler som skal vises\",\"notification_visibility_follows\":\"Følginger\",\"notification_visibility_likes\":\"Likes\",\"notification_visibility_mentions\":\"Nevnt\",\"notification_visibility_repeats\":\"Gjentakelser\",\"no_rich_text_description\":\"Fjern all formatering fra statuser\",\"nsfw_clickthrough\":\"Krev trykk for å vise statuser som kan være upassende\",\"oauth_tokens\":\"OAuth Tokens\",\"token\":\"Pollett\",\"refresh_token\":\"Refresh Token\",\"valid_until\":\"Gyldig til\",\"revoke_token\":\"Tilbakekall\",\"panelRadius\":\"Panel\",\"pause_on_unfocused\":\"Stopp henting av poster når vinduet ikke er i fokus\",\"presets\":\"Forhåndsdefinerte tema\",\"profile_background\":\"Profil-bakgrunn\",\"profile_banner\":\"Profil-banner\",\"profile_tab\":\"Profil\",\"radii_help\":\"Bestem hvor runde hjørnene i brukergrensesnittet skal være (i piksler)\",\"replies_in_timeline\":\"Svar på tidslinje\",\"reply_link_preview\":\"Vis en forhåndsvisning når du holder musen over svar til en status\",\"reply_visibility_all\":\"Vis alle svar\",\"reply_visibility_following\":\"Vis bare svar som er til meg eller folk jeg følger\",\"reply_visibility_self\":\"Vis bare svar som er til meg\",\"saving_err\":\"Feil ved lagring av innstillinger\",\"saving_ok\":\"Innstillinger lagret\",\"security_tab\":\"Sikkerhet\",\"set_new_avatar\":\"Rediger profilbilde\",\"set_new_profile_background\":\"Rediger profil-bakgrunn\",\"set_new_profile_banner\":\"Sett ny profil-banner\",\"settings\":\"Innstillinger\",\"stop_gifs\":\"Spill av GIFs når du holder over dem\",\"streaming\":\"Automatisk strømming av nye statuser når du har bladd til toppen\",\"text\":\"Tekst\",\"theme\":\"Tema\",\"theme_help\":\"Bruk heksadesimale fargekoder (#rrggbb) til å endre farge-temaet ditt.\",\"tooltipRadius\":\"Verktøytips/advarsler\",\"user_settings\":\"Brukerinstillinger\",\"values\":{\"false\":\"nei\",\"true\":\"ja\"}},\"timeline\":{\"collapse\":\"Sammenfold\",\"conversation\":\"Samtale\",\"error_fetching\":\"Feil ved henting av oppdateringer\",\"load_older\":\"Last eldre statuser\",\"no_retweet_hint\":\"Status er markert som bare til følgere eller direkte og kan ikke gjentas\",\"repeated\":\"gjentok\",\"show_new\":\"Vis nye\",\"up_to_date\":\"Oppdatert\"},\"user_card\":{\"approve\":\"Godkjenn\",\"block\":\"Blokker\",\"blocked\":\"Blokkert!\",\"deny\":\"Avslå\",\"follow\":\"Følg\",\"followees\":\"Følger\",\"followers\":\"Følgere\",\"following\":\"Følger!\",\"follows_you\":\"Følger deg!\",\"mute\":\"Demp\",\"muted\":\"Dempet\",\"per_day\":\"per dag\",\"remote_follow\":\"Følg eksternt\",\"statuses\":\"Statuser\"},\"user_profile\":{\"timeline_title\":\"Bruker-tidslinje\"},\"who_to_follow\":{\"more\":\"Mer\",\"who_to_follow\":\"Hvem å følge\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/nb.json\n// module id = 500\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Chat\"},\"features_panel\":{\"chat\":\"Chat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Media proxy\",\"scope_options\":\"Zichtbaarheidsopties\",\"text_limit\":\"Tekst limiet\",\"title\":\"Features\",\"who_to_follow\":\"Wie te volgen\"},\"finder\":{\"error_fetching_user\":\"Fout tijdens ophalen gebruiker\",\"find_user\":\"Gebruiker zoeken\"},\"general\":{\"apply\":\"toepassen\",\"submit\":\"Verzend\"},\"login\":{\"login\":\"Log in\",\"description\":\"Log in met OAuth\",\"logout\":\"Log uit\",\"password\":\"Wachtwoord\",\"placeholder\":\"bv. lain\",\"register\":\"Registreer\",\"username\":\"Gebruikersnaam\"},\"nav\":{\"about\":\"Over\",\"back\":\"Terug\",\"chat\":\"Locale Chat\",\"friend_requests\":\"Volgverzoek\",\"mentions\":\"Vermeldingen\",\"dms\":\"Directe Berichten\",\"public_tl\":\"Publieke Tijdlijn\",\"timeline\":\"Tijdlijn\",\"twkn\":\"Het Geheel Gekende Netwerk\",\"user_search\":\"Zoek Gebruiker\",\"who_to_follow\":\"Wie te volgen\",\"preferences\":\"Voorkeuren\"},\"notifications\":{\"broken_favorite\":\"Onbekende status, aan het zoeken...\",\"favorited_you\":\"vond je status leuk\",\"followed_you\":\"volgt jou\",\"load_older\":\"Laad oudere meldingen\",\"notifications\":\"Meldingen\",\"read\":\"Gelezen!\",\"repeated_you\":\"Herhaalde je status\"},\"post_status\":{\"new_status\":\"Post nieuwe status\",\"account_not_locked_warning\":\"Je account is niet {0}. Iedereen die je volgt kan enkel-volgers posts lezen.\",\"account_not_locked_warning_link\":\"gesloten\",\"attachments_sensitive\":\"Markeer bijlage als gevoelig\",\"content_type\":{\"text/plain\":\"Gewone tekst\"},\"content_warning\":\"Onderwerp (optioneel)\",\"default\":\"Tijd voor een pauze!\",\"direct_warning\":\"Deze post zal enkel zichtbaar zijn voor de personen die genoemd zijn.\",\"posting\":\"Plaatsen\",\"scope\":{\"direct\":\"Direct - Post enkel naar genoemde gebruikers\",\"private\":\"Enkel volgers - Post enkel naar volgers\",\"public\":\"Publiek - Post op publieke tijdlijnen\",\"unlisted\":\"Unlisted - Toon niet op publieke tijdlijnen\"}},\"registration\":{\"bio\":\"Bio\",\"email\":\"Email\",\"fullname\":\"Weergave naam\",\"password_confirm\":\"Wachtwoord bevestiging\",\"registration\":\"Registratie\",\"token\":\"Uitnodigingstoken\",\"captcha\":\"CAPTCHA\",\"new_captcha\":\"Klik op de afbeelding voor een nieuwe captcha\",\"validations\":{\"username_required\":\"moet ingevuld zijn\",\"fullname_required\":\"moet ingevuld zijn\",\"email_required\":\"moet ingevuld zijn\",\"password_required\":\"moet ingevuld zijn\",\"password_confirmation_required\":\"moet ingevuld zijn\",\"password_confirmation_match\":\"komt niet overeen met het wachtwoord\"}},\"settings\":{\"attachmentRadius\":\"Bijlages\",\"attachments\":\"Bijlages\",\"autoload\":\"Automatisch laden wanneer tot de bodem gescrold inschakelen\",\"avatar\":\"Avatar\",\"avatarAltRadius\":\"Avatars (Meldingen)\",\"avatarRadius\":\"Avatars\",\"background\":\"Achtergrond\",\"bio\":\"Bio\",\"btnRadius\":\"Knoppen\",\"cBlue\":\"Blauw (Antwoord, volgen)\",\"cGreen\":\"Groen (Herhaal)\",\"cOrange\":\"Oranje (Vind ik leuk)\",\"cRed\":\"Rood (Annuleer)\",\"change_password\":\"Verander Wachtwoord\",\"change_password_error\":\"Er was een probleem bij het aanpassen van je wachtwoord.\",\"changed_password\":\"Wachtwoord succesvol aangepast!\",\"collapse_subject\":\"Klap posts met onderwerp in\",\"composing\":\"Samenstellen\",\"confirm_new_password\":\"Bevestig nieuw wachtwoord\",\"current_avatar\":\"Je huidige avatar\",\"current_password\":\"Huidig wachtwoord\",\"current_profile_banner\":\"Je huidige profiel banner\",\"data_import_export_tab\":\"Data Import / Export\",\"default_vis\":\"Standaard zichtbaarheidsscope\",\"delete_account\":\"Verwijder Account\",\"delete_account_description\":\"Verwijder je account en berichten permanent.\",\"delete_account_error\":\"Er was een probleem bij het verwijderen van je account. Indien dit probleem blijft, gelieve de administratie van deze instantie te verwittigen.\",\"delete_account_instructions\":\"Typ je wachtwoord in de input hieronder om het verwijderen van je account te bevestigen.\",\"export_theme\":\"Sla preset op\",\"filtering\":\"Filtering\",\"filtering_explanation\":\"Alle statussen die deze woorden bevatten worden genegeerd, één filter per lijn.\",\"follow_export\":\"Volgers export\",\"follow_export_button\":\"Exporteer je volgers naar een csv file\",\"follow_export_processing\":\"Aan het verwerken, binnen enkele ogenblikken wordt je gevraagd je bestand te downloaden\",\"follow_import\":\"Volgers import\",\"follow_import_error\":\"Fout bij importeren volgers\",\"follows_imported\":\"Volgers geïmporteerd! Het kan even duren om ze allemaal te verwerken.\",\"foreground\":\"Voorgrond\",\"general\":\"Algemeen\",\"hide_attachments_in_convo\":\"Verberg bijlages in conversaties\",\"hide_attachments_in_tl\":\"Verberg bijlages in de tijdlijn\",\"hide_isp\":\"Verberg instantie-specifiek paneel\",\"preload_images\":\"Afbeeldingen voorladen\",\"hide_post_stats\":\"Verberg post statistieken (bv. het aantal vind-ik-leuks)\",\"hide_user_stats\":\"Verberg post statistieken (bv. het aantal volgers)\",\"import_followers_from_a_csv_file\":\"Importeer volgers uit een csv file\",\"import_theme\":\"Laad preset\",\"inputRadius\":\"Invoer velden\",\"checkboxRadius\":\"Checkboxen\",\"instance_default\":\"(standaard: {value})\",\"instance_default_simple\":\"(standaard)\",\"interface\":\"Interface\",\"interfaceLanguage\":\"Interface taal\",\"invalid_theme_imported\":\"Het geselecteerde thema is geen door Pleroma ondersteund thema. Er zijn geen aanpassingen gedaan.\",\"limited_availability\":\"Onbeschikbaar in je browser\",\"links\":\"Links\",\"lock_account_description\":\"Laat volgers enkel toe na expliciete toestemming\",\"loop_video\":\"Speel videos af in een lus\",\"loop_video_silent_only\":\"Speel enkel videos zonder geluid af in een lus (bv. Mastodon's \\\"gifs\\\")\",\"name\":\"Naam\",\"name_bio\":\"Naam & Bio\",\"new_password\":\"Nieuw wachtwoord\",\"notification_visibility\":\"Type meldingen die getoond worden\",\"notification_visibility_follows\":\"Volgers\",\"notification_visibility_likes\":\"Vind-ik-leuks\",\"notification_visibility_mentions\":\"Vermeldingen\",\"notification_visibility_repeats\":\"Herhalingen\",\"no_rich_text_description\":\"Strip rich text formattering van alle posts\",\"hide_network_description\":\"Toon niet wie mij volgt en wie ik volg.\",\"nsfw_clickthrough\":\"Schakel doorklikbaar verbergen van NSFW bijlages in\",\"oauth_tokens\":\"OAuth-tokens\",\"token\":\"Token\",\"refresh_token\":\"Token vernieuwen\",\"valid_until\":\"Geldig tot\",\"revoke_token\":\"Intrekken\",\"panelRadius\":\"Panelen\",\"pause_on_unfocused\":\"Pauzeer streamen wanneer de tab niet gefocused is\",\"presets\":\"Presets\",\"profile_background\":\"Profiel Achtergrond\",\"profile_banner\":\"Profiel Banner\",\"profile_tab\":\"Profiel\",\"radii_help\":\"Stel afronding van hoeken in de interface in (in pixels)\",\"replies_in_timeline\":\"Antwoorden in tijdlijn\",\"reply_link_preview\":\"Schakel antwoordlink preview in bij over zweven met muisaanwijzer\",\"reply_visibility_all\":\"Toon alle antwoorden\",\"reply_visibility_following\":\"Toon enkel antwoorden naar mij of andere gebruikers gericht\",\"reply_visibility_self\":\"Toon enkel antwoorden naar mij gericht\",\"saving_err\":\"Fout tijdens opslaan van instellingen\",\"saving_ok\":\"Instellingen opgeslagen\",\"security_tab\":\"Veiligheid\",\"scope_copy\":\"Neem scope over bij antwoorden (Directe Berichten blijven altijd Direct)\",\"set_new_avatar\":\"Zet nieuwe avatar\",\"set_new_profile_background\":\"Zet nieuwe profiel achtergrond\",\"set_new_profile_banner\":\"Zet nieuwe profiel banner\",\"settings\":\"Instellingen\",\"subject_input_always_show\":\"Maak onderwerpveld altijd zichtbaar\",\"subject_line_behavior\":\"Kopieer onderwerp bij antwoorden\",\"subject_line_email\":\"Zoals email: \\\"re: onderwerp\\\"\",\"subject_line_mastodon\":\"Zoals Mastodon: kopieer zoals het is\",\"subject_line_noop\":\"Kopieer niet\",\"stop_gifs\":\"Speel GIFs af bij zweven\",\"streaming\":\"Schakel automatisch streamen van posts in wanneer tot boven gescrold.\",\"text\":\"Tekst\",\"theme\":\"Thema\",\"theme_help\":\"Gebruik hex color codes (#rrggbb) om je kleurschema te wijzigen.\",\"theme_help_v2_1\":\"Je kan ook de kleur en transparantie van bepaalde componenten overschrijven door de checkbox aan te vinken, gebruik de \\\"Wis alles\\\" knop om alle overschrijvingen te annuleren.\",\"theme_help_v2_2\":\"Iconen onder sommige items zijn achtergrond/tekst contrast indicators, zweef er over voor gedetailleerde info. Hou er rekening mee dat bij doorzichtigheid de ergst mogelijke situatie wordt weer gegeven.\",\"tooltipRadius\":\"Gereedschapstips/alarmen\",\"user_settings\":\"Gebruikers Instellingen\",\"values\":{\"false\":\"nee\",\"true\":\"ja\"},\"notifications\":\"Meldingen\",\"enable_web_push_notifications\":\"Schakel web push meldingen in\",\"style\":{\"switcher\":{\"keep_color\":\"Behoud kleuren\",\"keep_shadows\":\"Behoud schaduwen\",\"keep_opacity\":\"Behoud transparantie\",\"keep_roundness\":\"Behoud afrondingen\",\"keep_fonts\":\"Behoud lettertypes\",\"save_load_hint\":\"\\\"Behoud\\\" opties behouden de momenteel ingestelde opties bij het selecteren of laden van thema's, maar slaan ook de genoemde opties op bij het exporteren van een thema. Wanneer alle selectievakjes zijn uitgeschakeld, zal het exporteren van thema's alles opslaan.\",\"reset\":\"Reset\",\"clear_all\":\"Wis alles\",\"clear_opacity\":\"Wis transparantie\"},\"common\":{\"color\":\"Kleur\",\"opacity\":\"Transparantie\",\"contrast\":{\"hint\":\"Contrast ratio is {ratio}, {level} {context}\",\"level\":{\"aa\":\"voldoet aan de richtlijn van niveau AA (minimum)\",\"aaa\":\"voldoet aan de richtlijn van niveau AAA (aangeraden)\",\"bad\":\"voldoet aan geen enkele toegankelijkheidsrichtlijn\"},\"context\":{\"18pt\":\"voor grote (18pt+) tekst\",\"text\":\"voor tekst\"}}},\"common_colors\":{\"_tab_label\":\"Gemeenschappelijk\",\"main\":\"Gemeenschappelijke kleuren\",\"foreground_hint\":\"Zie \\\"Geavanceerd\\\" tab voor meer gedetailleerde controle\",\"rgbo\":\"Iconen, accenten, badges\"},\"advanced_colors\":{\"_tab_label\":\"Geavanceerd\",\"alert\":\"Alarm achtergrond\",\"alert_error\":\"Fout\",\"badge\":\"Badge achtergrond\",\"badge_notification\":\"Meldingen\",\"panel_header\":\"Paneel hoofding\",\"top_bar\":\"Top bar\",\"borders\":\"Randen\",\"buttons\":\"Knoppen\",\"inputs\":\"Invoervelden\",\"faint_text\":\"Vervaagde tekst\"},\"radii\":{\"_tab_label\":\"Rondheid\"},\"shadows\":{\"_tab_label\":\"Schaduw en belichting\",\"component\":\"Component\",\"override\":\"Overschrijven\",\"shadow_id\":\"Schaduw #{value}\",\"blur\":\"Vervagen\",\"spread\":\"Spreid\",\"inset\":\"Inzet\",\"hint\":\"Voor schaduw kan je ook --variable gebruiken als een kleur waarde om CSS3 variabelen te gebruiken. Houd er rekening mee dat het instellen van opaciteit in dit geval niet werkt.\",\"filter_hint\":{\"always_drop_shadow\":\"Waarschuwing, deze schaduw gebruikt altijd {0} als de browser dit ondersteund.\",\"drop_shadow_syntax\":\"{0} ondersteund niet de {1} parameter en {2} sleutelwoord.\",\"avatar_inset\":\"Houd er rekening mee dat het combineren van zowel inzet and niet-inzet schaduwen op transparante avatars onverwachte resultaten kan opleveren.\",\"spread_zero\":\"Schaduw met spreiding > 0 worden weergegeven alsof ze op nul staan\",\"inset_classic\":\"Inzet schaduw zal {0} gebruiken\"},\"components\":{\"panel\":\"Paneel\",\"panelHeader\":\"Paneel hoofding\",\"topBar\":\"Top bar\",\"avatar\":\"Gebruiker avatar (in profiel weergave)\",\"avatarStatus\":\"Gebruiker avatar (in post weergave)\",\"popup\":\"Popups en gereedschapstips\",\"button\":\"Knop\",\"buttonHover\":\"Knop (zweven)\",\"buttonPressed\":\"Knop (ingedrukt)\",\"buttonPressedHover\":\"Knop (ingedrukt+zweven)\",\"input\":\"Invoerveld\"}},\"fonts\":{\"_tab_label\":\"Lettertypes\",\"help\":\"Selecteer het lettertype om te gebruiken voor elementen van de UI.Voor \\\"aangepast\\\" moet je de exacte naam van het lettertype invoeren zoals die in het systeem wordt weergegeven.\",\"components\":{\"interface\":\"Interface\",\"input\":\"Invoervelden\",\"post\":\"Post tekst\",\"postCode\":\"Monospaced tekst in een post (rich text)\"},\"family\":\"Naam lettertype\",\"size\":\"Grootte (in px)\",\"weight\":\"Gewicht (vetheid)\",\"custom\":\"Aangepast\"},\"preview\":{\"header\":\"Voorvertoning\",\"content\":\"Inhoud\",\"error\":\"Voorbeeld fout\",\"button\":\"Knop\",\"text\":\"Nog een boel andere {0} en {1}\",\"mono\":\"inhoud\",\"input\":\"Tijd voor een pauze!\",\"faint_link\":\"handige gebruikershandleiding\",\"fine_print\":\"Lees onze {0} om niets nuttig te leren!\",\"header_faint\":\"Alles komt goed\",\"checkbox\":\"Ik heb de gebruikersvoorwaarden eens van ver bekeken\",\"link\":\"een link\"}}},\"timeline\":{\"collapse\":\"Inklappen\",\"conversation\":\"Conversatie\",\"error_fetching\":\"Fout bij ophalen van updates\",\"load_older\":\"Laad oudere Statussen\",\"no_retweet_hint\":\"Post is gemarkeerd als enkel volgers of direct en kan niet worden herhaald\",\"repeated\":\"herhaalde\",\"show_new\":\"Toon nieuwe\",\"up_to_date\":\"Up-to-date\"},\"user_card\":{\"approve\":\"Goedkeuren\",\"block\":\"Blokkeren\",\"blocked\":\"Geblokkeerd!\",\"deny\":\"Ontzeggen\",\"favorites\":\"Vind-ik-leuks\",\"follow\":\"Volgen\",\"follow_sent\":\"Aanvraag verzonden!\",\"follow_progress\":\"Aanvragen…\",\"follow_again\":\"Aanvraag opnieuw zenden?\",\"follow_unfollow\":\"Stop volgen\",\"followees\":\"Aan het volgen\",\"followers\":\"Volgers\",\"following\":\"Aan het volgen!\",\"follows_you\":\"Volgt jou!\",\"its_you\":\"'t is jij!\",\"mute\":\"Dempen\",\"muted\":\"Gedempt\",\"per_day\":\"per dag\",\"remote_follow\":\"Volg vanop afstand\",\"statuses\":\"Statussen\"},\"user_profile\":{\"timeline_title\":\"Gebruikers Tijdlijn\"},\"who_to_follow\":{\"more\":\"Meer\",\"who_to_follow\":\"Wie te volgen\"},\"tool_tip\":{\"media_upload\":\"Upload Media\",\"repeat\":\"Herhaal\",\"reply\":\"Antwoord\",\"favorite\":\"Vind-ik-leuk\",\"user_settings\":\"Gebruikers Instellingen\"},\"upload\":{\"error\":{\"base\":\"Upload gefaald.\",\"file_too_big\":\"Bestand is te groot [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"Probeer later opnieuw\"},\"file_size_units\":{\"B\":\"B\",\"KiB\":\"KiB\",\"MiB\":\"MiB\",\"GiB\":\"GiB\",\"TiB\":\"TiB\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/nl.json\n// module id = 501\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Messatjariá\"},\"features_panel\":{\"chat\":\"Chat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Servidor mandatari mèdia\",\"scope_options\":\"Nivèls de confidencialitat\",\"text_limit\":\"Limita de tèxte\",\"title\":\"Foncionalitats\",\"who_to_follow\":\"Qual seguir\"},\"finder\":{\"error_fetching_user\":\"Error pendent la cèrca d’un utilizaire\",\"find_user\":\"Cercar un utilizaire\"},\"general\":{\"apply\":\"Aplicar\",\"submit\":\"Mandar\",\"more\":\"Mai\",\"generic_error\":\"Una error s’es producha\",\"optional\":\"opcional\",\"show_more\":\"Mostrar mai\",\"show_less\":\"Mostrar mens\",\"cancel\":\"Anullar\"},\"image_cropper\":{\"crop_picture\":\"Talhar l’imatge\",\"save\":\"Salvar\",\"save_without_cropping\":\"Salvar sens talhada\",\"cancel\":\"Anullar\"},\"login\":{\"login\":\"Connexion\",\"description\":\"Connexion via OAuth\",\"logout\":\"Desconnexion\",\"password\":\"Senhal\",\"placeholder\":\"e.g. lain\",\"register\":\"Se marcar\",\"username\":\"Nom d’utilizaire\",\"hint\":\"Connectatz-vos per participar a la discutida\"},\"media_modal\":{\"previous\":\"Precedent\",\"next\":\"Seguent\"},\"nav\":{\"about\":\"A prepaus\",\"back\":\"Tornar\",\"chat\":\"Chat local\",\"friend_requests\":\"Demandas de seguiment\",\"mentions\":\"Notificacions\",\"dms\":\"Messatges privats\",\"public_tl\":\"Estatuts locals\",\"timeline\":\"Flux d’actualitat\",\"twkn\":\"Lo malhum conegut\",\"user_search\":\"Cèrca d’utilizaires\",\"who_to_follow\":\"Qual seguir\",\"preferences\":\"Preferéncias\"},\"notifications\":{\"broken_favorite\":\"Estatut desconegut, sèm a lo cercar...\",\"favorited_you\":\"a aimat vòstre estatut\",\"followed_you\":\"vos a seguit\",\"load_older\":\"Cargar las notificacions mai ancianas\",\"notifications\":\"Notficacions\",\"read\":\"Legit !\",\"repeated_you\":\"a repetit vòstre estatut\",\"no_more_notifications\":\"Pas mai de notificacions\"},\"post_status\":{\"new_status\":\"Publicar d’estatuts novèls\",\"account_not_locked_warning\":\"Vòstre compte es pas {0}. Qual que siá pòt vos seguir per veire vòstras publicacions destinadas pas qu’a vòstres seguidors.\",\"account_not_locked_warning_link\":\"clavat\",\"attachments_sensitive\":\"Marcar las pèças juntas coma sensiblas\",\"content_type\":{\"text/plain\":\"Tèxte brut\",\"text/html\":\"HTML\",\"text/markdown\":\"Markdown\",\"text/bbcode\":\"BBCode\"},\"content_warning\":\"Avís de contengut (opcional)\",\"default\":\"Escrivètz aquí vòstre estatut.\",\"direct_warning_to_all\":\"Aquesta publicacion serà pas que visibla pels utilizaires mencionats.\",\"direct_warning_to_first_only\":\"Aquesta publicacion serà pas que visibla pels utilizaires mencionats a la debuta del messatge.\",\"posting\":\"Mandadís\",\"scope\":{\"direct\":\"Dirècte - Publicar pels utilizaires mencionats solament\",\"private\":\"Seguidors solament - Publicar pels sols seguidors\",\"public\":\"Public - Publicar pel flux d’actualitat public\",\"unlisted\":\"Pas listat - Publicar pas pel flux public\"}},\"registration\":{\"bio\":\"Biografia\",\"email\":\"Adreça de corrièl\",\"fullname\":\"Nom complèt\",\"password_confirm\":\"Confirmar lo senhal\",\"registration\":\"Inscripcion\",\"token\":\"Geton de convidat\",\"captcha\":\"CAPTCHA\",\"new_captcha\":\"Clicatz l’imatge per obténer una nòva captcha\",\"username_placeholder\":\"e.g. lain\",\"fullname_placeholder\":\"e.g. Lain Iwakura\",\"bio_placeholder\":\"e.g.\\nHi, Soi lo Lain\\nSoi afocada d’animes e vivi al Japan. Benlèu que me coneissètz de the Wired.\",\"validations\":{\"username_required\":\"pòt pas èsser void\",\"fullname_required\":\"pòt pas èsser void\",\"email_required\":\"pòt pas èsser void\",\"password_required\":\"pòt pas èsser void\",\"password_confirmation_required\":\"pòt pas èsser void\",\"password_confirmation_match\":\"deu èsser lo meteis senhal\"}},\"selectable_list\":{\"select_all\":\"O seleccionar tot\"},\"settings\":{\"app_name\":\"Nom de l’aplicacion\",\"attachmentRadius\":\"Pèças juntas\",\"attachments\":\"Pèças juntas\",\"autoload\":\"Activar lo cargament automatic un còp arribat al cap de la pagina\",\"avatar\":\"Avatar\",\"avatarAltRadius\":\"Avatars (Notificacions)\",\"avatarRadius\":\"Avatars\",\"background\":\"Rèire plan\",\"bio\":\"Biografia\",\"blocks_tab\":\"Blocatges\",\"btnRadius\":\"Botons\",\"cBlue\":\"Blau (Respondre, seguir)\",\"cGreen\":\"Verd (Repertir)\",\"cOrange\":\"Irange (Aimar)\",\"cRed\":\"Roge (Anullar)\",\"change_password\":\"Cambiar lo senhal\",\"change_password_error\":\"Una error s’es producha en cambiant lo senhal.\",\"changed_password\":\"Senhal corrèctament cambiat !\",\"collapse_subject\":\"Replegar las publicacions amb de subjèctes\",\"composing\":\"Escritura\",\"confirm_new_password\":\"Confirmatz lo nòu senhal\",\"current_avatar\":\"Vòstre avatar actual\",\"current_password\":\"Senhal actual\",\"current_profile_banner\":\"Bandièra actuala del perfil\",\"data_import_export_tab\":\"Importar / Exportar las donadas\",\"default_vis\":\"Nivèl de visibilitat per defaut\",\"delete_account\":\"Suprimir lo compte\",\"delete_account_description\":\"Suprimir vòstre compte e los messatges per sempre.\",\"delete_account_error\":\"Una error s’es producha en suprimir lo compte. S’aquò ten d’arribar mercés de contactar vòstre administrator d’instància.\",\"delete_account_instructions\":\"Picatz vòstre senhal dins lo camp tèxte çai-jos per confirmar la supression del compte.\",\"avatar_size_instruction\":\"La talha minimum recomandada pels imatges d’avatar es 150x150 pixèls.\",\"export_theme\":\"Enregistrar la preconfiguracion\",\"filtering\":\"Filtratge\",\"filtering_explanation\":\"Totes los estatuts amb aqueles mots seràn en silenci, un mot per linha\",\"follow_export\":\"Exportar los abonaments\",\"follow_export_button\":\"Exportar vòstres abonaments dins un fichièr csv\",\"follow_export_processing\":\"Tractament, vos demandarem lèu de telecargar lo fichièr\",\"follow_import\":\"Importar los abonaments\",\"follow_import_error\":\"Error en important los seguidors\",\"follows_imported\":\"Seguidors importats. Lo tractament pòt trigar una estona.\",\"foreground\":\"Endavant\",\"general\":\"General\",\"hide_attachments_in_convo\":\"Rescondre las pèças juntas dins las conversacions\",\"hide_attachments_in_tl\":\"Rescondre las pèças juntas\",\"hide_muted_posts\":\"Rescondre las publicacions del monde rescondut\",\"max_thumbnails\":\"Nombre maximum de vinhetas per publicacion\",\"hide_isp\":\"Amagar lo panèl especial instància\",\"preload_images\":\"Precargar los imatges\",\"use_one_click_nsfw\":\"Dobrir las pèças juntas NSFW amb un clic\",\"hide_post_stats\":\"Amagar las estatisticas de publicacion (ex. lo nombre de favorits)\",\"hide_user_stats\":\"Amagar las estatisticas de l’utilizaire (ex. lo nombre de seguidors)\",\"hide_filtered_statuses\":\"Amagar los estatuts filtrats\",\"import_followers_from_a_csv_file\":\"Importar los seguidors d’un fichièr csv\",\"import_theme\":\"Cargar un tèma\",\"inputRadius\":\"Camps tèxte\",\"checkboxRadius\":\"Casas de marcar\",\"instance_default\":\"(defaut : {value})\",\"instance_default_simple\":\"(defaut)\",\"interface\":\"Interfàcia\",\"interfaceLanguage\":\"Lenga de l’interfàcia\",\"invalid_theme_imported\":\"Lo fichièr seleccionat es pas un tèma Pleroma valid. Cap de cambiament es estat fach a vòstre tèma.\",\"limited_availability\":\"Pas disponible per vòstre navigador\",\"links\":\"Ligams\",\"lock_account_description\":\"Limitar vòstre compte als seguidors acceptats solament\",\"loop_video\":\"Bocla vidèo\",\"loop_video_silent_only\":\"Legir en bocla solament las vidèos sens son (coma los « Gifs » de Mastodon)\",\"mutes_tab\":\"Agamats\",\"play_videos_in_modal\":\"Legir las vidèos dirèctament dins la visualizaira mèdia\",\"use_contain_fit\":\"Talhar pas las pèças juntas per las vinhetas\",\"name\":\"Nom\",\"name_bio\":\"Nom & Bio\",\"new_password\":\"Nòu senhal\",\"notification_visibility_follows\":\"Abonaments\",\"notification_visibility_likes\":\"Aimar\",\"notification_visibility_mentions\":\"Mencions\",\"notification_visibility_repeats\":\"Repeticions\",\"notification_visibility\":\"Tipes de notificacion de mostrar\",\"no_rich_text_description\":\"Netejar lo format tèxte de totas las publicacions\",\"no_blocks\":\"Cap de blocatge\",\"no_mutes\":\"Cap d’amagat\",\"hide_follows_description\":\"Mostrar pas qual seguissi\",\"hide_followers_description\":\"Mostrar pas qual me seguisson\",\"show_admin_badge\":\"Mostrar lo badge Admin badge al perfil meu\",\"show_moderator_badge\":\"Mostrar lo badge Moderator al perfil meu\",\"nsfw_clickthrough\":\"Activar lo clic per mostrar los imatges marcats coma pels adults o sensibles\",\"oauth_tokens\":\"Listats OAuth\",\"token\":\"Geton\",\"refresh_token\":\"Actualizar lo geton\",\"valid_until\":\"Valid fins a\",\"revoke_token\":\"Revocar\",\"panelRadius\":\"Panèls\",\"pause_on_unfocused\":\"Pausar la difusion quand l’onglet es pas seleccionat\",\"presets\":\"Pre-enregistrats\",\"profile_background\":\"Imatge de fons\",\"profile_banner\":\"Bandièra del perfil\",\"profile_tab\":\"Perfil\",\"radii_help\":\"Configurar los caires arredondits de l’interfàcia (en pixèls)\",\"replies_in_timeline\":\"Responsas del flux\",\"reply_link_preview\":\"Activar l’apercebut en passar la mirga\",\"reply_visibility_all\":\"Mostrar totas las responsas\",\"reply_visibility_following\":\"Mostrar pas que las responsas que me son destinada a ieu o un utilizaire que seguissi\",\"reply_visibility_self\":\"Mostrar pas que las responsas que me son destinadas\",\"saving_err\":\"Error en enregistrant los paramètres\",\"saving_ok\":\"Paramètres enregistrats\",\"search_user_to_block\":\"Cercatz qual volètz blocar\",\"search_user_to_mute\":\"Cercatz qual volètz rescondre\",\"security_tab\":\"Seguretat\",\"scope_copy\":\"Copiar lo nivèl de confidencialitat per las responsas (Totjorn aissí pels Messatges Dirèctes)\",\"minimal_scopes_mode\":\"Minimizar lo nombre d’opcions per publicacion\",\"set_new_avatar\":\"Definir un nòu avatar\",\"set_new_profile_background\":\"Definir un nòu fons de perfil\",\"set_new_profile_banner\":\"Definir una nòva bandièra de perfil\",\"settings\":\"Paramètres\",\"subject_input_always_show\":\"Totjorn mostrar lo camp de subjècte\",\"subject_line_behavior\":\"Copiar lo subjècte per las responsas\",\"subject_line_email\":\"Coma los corrièls : \\\"re: subjècte\\\"\",\"subject_line_mastodon\":\"Coma mastodon : copiar tal coma es\",\"subject_line_noop\":\"Copiar pas\",\"post_status_content_type\":\"Publicar lo tipe de contengut dels estatuts\",\"stop_gifs\":\"Lançar los GIFs al subrevòl\",\"streaming\":\"Activar lo cargament automatic dels novèls estatus en anar amont\",\"text\":\"Tèxte\",\"theme\":\"Tèma\",\"theme_help_v2_1\":\"You can also override certain component's colors and opacity by toggling the checkbox, use \\\"Clear all\\\" button to clear all overrides.\",\"theme_help_v2_2\":\"Icons underneath some entries are background/text contrast indicators, hover over for detailed info. Please keep in mind that when using transparency contrast indicators show the worst possible case.\",\"theme_help\":\"Emplegatz los còdis de color hex (#rrggbb) per personalizar vòstre tèma de color.\",\"tooltipRadius\":\"Astúcias/alèrtas\",\"upload_a_photo\":\"Enviar una fotografia\",\"user_settings\":\"Paramètres utilizaire\",\"values\":{\"false\":\"non\",\"true\":\"òc\"},\"notifications\":\"Notificacions\",\"enable_web_push_notifications\":\"Activar las notificacions web push\",\"style\":{\"switcher\":{\"keep_color\":\"Gardar las colors\",\"keep_shadows\":\"Gardar las ombras\",\"keep_opacity\":\"Gardar l’opacitat\",\"keep_roundness\":\"Gardar la redondetat\",\"keep_fonts\":\"Gardar las polissas\",\"save_load_hint\":\"Las opcions « Gardar » permeton de servar las opcions configuradas actualament quand seleccionatz o cargatz un tèma, permeton tanben d’enregistrar aquelas opcions quand exportatz un tèma. Quand totas las casas son pas marcadas, l’exportacion de tèma o enregistrarà tot.\",\"reset\":\"Restablir\",\"clear_all\":\"O escafar tot\",\"clear_opacity\":\"Escafar l’opacitat\"},\"common\":{\"color\":\"Color\",\"opacity\":\"Opacitat\",\"contrast\":{\"hint\":\"Lo coeficient de contraste es de {ratio}. Dòna {level} {context}\",\"level\":{\"aa\":\"un nivèl AA minimum recomandat\",\"aaa\":\"un nivèl AAA recomandat\",\"bad\":\"pas un nivèl d’accessibilitat recomandat\"},\"context\":{\"18pt\":\"pel tèxte grand (18pt+)\",\"text\":\"pel tèxte\"}}},\"common_colors\":{\"_tab_label\":\"Comun\",\"main\":\"Colors comunas\",\"foreground_hint\":\"Vejatz « Avançat » per mai de paramètres detalhats\",\"rgbo\":\"Icònas, accents, badges\"},\"advanced_colors\":{\"_tab_label\":\"Avançat\",\"alert\":\"Rèire plan d’alèrtas\",\"alert_error\":\"Error\",\"badge\":\"Rèire plan dels badges\",\"badge_notification\":\"Notificacion\",\"panel_header\":\"Bandièra del tablèu de bòrd\",\"top_bar\":\"Barra amont\",\"borders\":\"Caires\",\"buttons\":\"Botons\",\"inputs\":\"Camps tèxte\",\"faint_text\":\"Tèxte descolorit\"},\"radii\":{\"_tab_label\":\"Redondetat\"},\"shadows\":{\"_tab_label\":\"Ombra e luminositat\",\"component\":\"Compausant\",\"override\":\"Subrecargar\",\"shadow_id\":\"Ombra #{value}\",\"blur\":\"Fosc\",\"spread\":\"Espandiment\",\"inset\":\"Incrustacion\",\"hint\":\"Per las ombras podètz tanben utilizar --variable coma valor de color per emplegar una variable CSS3. Notatz que lo paramètre d’opacitat foncionarà pas dins aquel cas.\",\"filter_hint\":{\"always_drop_shadow\":\"Avertiment, aquel ombra utiliza totjorn {0} quand lo navigator es compatible.\",\"drop_shadow_syntax\":\"{0} es pas compatible amb lo paramètre {1} e lo mot clau {2}.\",\"avatar_inset\":\"Notatz que combinar d’ombras incrustadas e pas incrustadas pòt donar de resultats inesperats amb los avatars transparents.\",\"spread_zero\":\"L’ombra amb un espandiment de > 0 apareisserà coma reglat a zèro\",\"inset_classic\":\"L’ombra d’incrustacion utilizarà {0}\"},\"components\":{\"panel\":\"Tablèu\",\"panelHeader\":\"Bandièra del tablèu\",\"topBar\":\"Barra amont\",\"avatar\":\"Utilizar l’avatar (vista perfil)\",\"avatarStatus\":\"Avatar de l’utilizaire (afichatge publicacion)\",\"popup\":\"Fenèstras sorgissentas e astúcias\",\"button\":\"Boton\",\"buttonHover\":\"Boton (en passar la mirga)\",\"buttonPressed\":\"Boton (en quichar)\",\"buttonPressedHover\":\"Boton (en quichar e passar)\",\"input\":\"Camp tèxte\"}},\"fonts\":{\"_tab_label\":\"Polissas\",\"help\":\"Selecionatz la polissa d’utilizar pels elements de l’UI. Per « Personalizada » vos cal picar lo nom exacte tal coma apareis sul sistèma.\",\"components\":{\"interface\":\"Interfàcia\",\"input\":\"Camps tèxte\",\"post\":\"Tèxte de publicacion\",\"postCode\":\"Tèxte Monospaced dins las publicacion (tèxte formatat)\"},\"family\":\"Nom de la polissa\",\"size\":\"Talha (en px)\",\"weight\":\"Largor (gras)\",\"custom\":\"Personalizada\"},\"preview\":{\"header\":\"Apercebut\",\"content\":\"Contengut\",\"error\":\"Error d’exemple\",\"button\":\"Boton\",\"text\":\"A tròç de mai de {0} e {1}\",\"mono\":\"contengut\",\"input\":\"arribada al país.\",\"faint_link\":\"manual d’ajuda\",\"fine_print\":\"Legissètz nòstre {0} per legir pas res d’util !\",\"header_faint\":\"Va plan\",\"checkbox\":\"Ai legit los tèrmes e condicions d’utilizacion\",\"link\":\"un pichon ligam simpatic\"}},\"version\":{\"title\":\"Version\",\"backend_version\":\"Version Backend\",\"frontend_version\":\"Version Frontend\"}},\"timeline\":{\"collapse\":\"Tampar\",\"conversation\":\"Conversacion\",\"error_fetching\":\"Error en cercant de mesas a jorn\",\"load_older\":\"Ne veire mai\",\"no_retweet_hint\":\"Las publicacions marcadas pels seguidors solament o dirèctas se pòdon pas repetir\",\"repeated\":\"repetit\",\"show_new\":\"Ne veire mai\",\"up_to_date\":\"A jorn\",\"no_more_statuses\":\"Pas mai d’estatuts\",\"no_statuses\":\"Cap d’estatuts\"},\"status\":{\"reply_to\":\"Respond a\",\"replies_list\":\"Responsas :\"},\"user_card\":{\"approve\":\"Validar\",\"block\":\"Blocar\",\"blocked\":\"Blocat !\",\"deny\":\"Refusar\",\"favorites\":\"Favorits\",\"follow\":\"Seguir\",\"follow_sent\":\"Demanda enviada !\",\"follow_progress\":\"Demanda…\",\"follow_again\":\"Tornar enviar la demanda ?\",\"follow_unfollow\":\"Quitar de seguir\",\"followees\":\"Abonaments\",\"followers\":\"Seguidors\",\"following\":\"Seguit !\",\"follows_you\":\"Vos sèc !\",\"its_you\":\"Sètz vos !\",\"media\":\"Mèdia\",\"mute\":\"Amagar\",\"muted\":\"Amagat\",\"per_day\":\"per jorn\",\"remote_follow\":\"Seguir a distància\",\"statuses\":\"Estatuts\",\"unblock\":\"Desblocar\",\"unblock_progress\":\"Desblocatge...\",\"block_progress\":\"Blocatge...\",\"unmute\":\"Tornar mostrar\",\"unmute_progress\":\"Afichatge...\",\"mute_progress\":\"A amagar...\",\"admin_menu\":{\"moderation\":\"Moderacion\",\"grant_admin\":\"Passar Admin\",\"revoke_admin\":\"Revocar Admin\",\"grant_moderator\":\"Passar Moderator\",\"revoke_moderator\":\"Revocar Moderator\",\"activate_account\":\"Activar lo compte\",\"deactivate_account\":\"Desactivar lo compte\",\"delete_account\":\"Suprimir lo compte\",\"force_nsfw\":\"Marcar totas las publicacions coma sensiblas\",\"strip_media\":\"Tirar los mèdias de las publicacions\",\"force_unlisted\":\"Forçar las publicacions en pas-listadas\",\"sandbox\":\"Forçar las publicacions en seguidors solament\",\"disable_remote_subscription\":\"Desactivar lo seguiment d’utilizaire d’instàncias alonhadas\",\"disable_any_subscription\":\"Desactivar tot seguiment\",\"quarantine\":\"Defendre la federacion de las publicacions de l’utilizaire\",\"delete_user\":\"Suprimir l’utilizaire\",\"delete_user_confirmation\":\"Volètz vertadièrament far aquò ? Aquesta accion se pòt pas anullar.\"}},\"user_profile\":{\"timeline_title\":\"Flux utilizaire\",\"profile_does_not_exist\":\"Aqueste perfil existís pas.\",\"profile_loading_error\":\"Una error s’es producha en cargant aqueste perfil.\"},\"who_to_follow\":{\"more\":\"Mai\",\"who_to_follow\":\"Qual seguir\"},\"tool_tip\":{\"media_upload\":\"Enviar un mèdia\",\"repeat\":\"Repetir\",\"reply\":\"Respondre\",\"favorite\":\"aimar\",\"user_settings\":\"Paramètres utilizaire\"},\"upload\":{\"error\":{\"base\":\"Mandadís fracassat.\",\"file_too_big\":\"Fichièr tròp grand [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"Tornatz ensajar mai tard\"},\"file_size_units\":{\"B\":\"o\",\"KiB\":\"Kio\",\"MiB\":\"Mio\",\"GiB\":\"Gio\",\"TiB\":\"Tio\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/oc.json\n// module id = 502\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Czat\"},\"features_panel\":{\"chat\":\"Czat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Proxy mediów\",\"scope_options\":\"Ustawienia zakresu\",\"text_limit\":\"Limit tekstu\",\"title\":\"Funkcje\",\"who_to_follow\":\"Propozycje obserwacji\"},\"finder\":{\"error_fetching_user\":\"Błąd przy pobieraniu profilu\",\"find_user\":\"Znajdź użytkownika\"},\"general\":{\"apply\":\"Zastosuj\",\"submit\":\"Wyślij\",\"more\":\"Więcej\",\"generic_error\":\"Wystąpił błąd\",\"optional\":\"nieobowiązkowe\"},\"image_cropper\":{\"crop_picture\":\"Przytnij obrazek\",\"save\":\"Zapisz\",\"save_without_cropping\":\"Zapisz bez przycinania\",\"cancel\":\"Anuluj\"},\"login\":{\"login\":\"Zaloguj\",\"description\":\"Zaloguj używając OAuth\",\"logout\":\"Wyloguj\",\"password\":\"Hasło\",\"placeholder\":\"n.p. lain\",\"register\":\"Zarejestruj\",\"username\":\"Użytkownik\",\"hint\":\"Zaloguj się, aby dołączyć do dyskusji\"},\"media_modal\":{\"previous\":\"Poprzednie\",\"next\":\"Następne\"},\"nav\":{\"about\":\"O nas\",\"back\":\"Wróć\",\"chat\":\"Lokalny czat\",\"friend_requests\":\"Prośby o możliwość obserwacji\",\"mentions\":\"Wzmianki\",\"dms\":\"Wiadomości prywatne\",\"public_tl\":\"Publiczna oś czasu\",\"timeline\":\"Oś czasu\",\"twkn\":\"Cała znana sieć\",\"user_search\":\"Wyszukiwanie użytkowników\",\"who_to_follow\":\"Sugestie obserwacji\",\"preferences\":\"Preferencje\"},\"notifications\":{\"broken_favorite\":\"Nieznany status, szukam go…\",\"favorited_you\":\"dodał(-a) twój status do ulubionych\",\"followed_you\":\"obserwuje cię\",\"load_older\":\"Załaduj starsze powiadomienia\",\"notifications\":\"Powiadomienia\",\"read\":\"Przeczytane!\",\"repeated_you\":\"powtórzył(-a) twój status\",\"no_more_notifications\":\"Nie masz więcej powiadomień\"},\"post_status\":{\"new_status\":\"Dodaj nowy status\",\"account_not_locked_warning\":\"Twoje konto nie jest {0}. Każdy może cię zaobserwować aby zobaczyć wpisy tylko dla obserwujących.\",\"account_not_locked_warning_link\":\"zablokowane\",\"attachments_sensitive\":\"Oznacz załączniki jako wrażliwe\",\"content_type\":{\"text/plain\":\"Czysty tekst\",\"text/html\":\"HTML\",\"text/markdown\":\"Markdown\",\"text/bbcode\":\"BBCode\"},\"content_warning\":\"Temat (nieobowiązkowy)\",\"default\":\"Właśnie wróciłem z kościoła\",\"direct_warning\":\"Ten wpis zobaczą tylko osoby, o których wspomniałeś(-aś).\",\"posting\":\"Wysyłanie\",\"scope\":{\"direct\":\"Bezpośredni – Tylko dla wspomnianych użytkowników\",\"private\":\"Tylko dla obserwujących – Umieść dla osób, które cię obserwują\",\"public\":\"Publiczny – Umieść na publicznych osiach czasu\",\"unlisted\":\"Niewidoczny – Nie umieszczaj na publicznych osiach czasu\"}},\"registration\":{\"bio\":\"Bio\",\"email\":\"E-mail\",\"fullname\":\"Wyświetlana nazwa profilu\",\"password_confirm\":\"Potwierdzenie hasła\",\"registration\":\"Rejestracja\",\"token\":\"Token zaproszenia\",\"captcha\":\"CAPTCHA\",\"new_captcha\":\"Naciśnij na obrazek, aby dostać nowy kod captcha\",\"username_placeholder\":\"np. lain\",\"fullname_placeholder\":\"np. Lain Iwakura\",\"bio_placeholder\":\"e.g.\\nCześć, jestem Lain.\\nJestem dziewczynką z anime żyjącą na peryferiach Japonii. Możesz znać mnie z Wired.\",\"validations\":{\"username_required\":\"nie może być pusta\",\"fullname_required\":\"nie może być pusta\",\"email_required\":\"nie może być pusty\",\"password_required\":\"nie może być puste\",\"password_confirmation_required\":\"nie może być puste\",\"password_confirmation_match\":\"musi być takie jak hasło\"}},\"settings\":{\"app_name\":\"Nazwa aplikacji\",\"attachmentRadius\":\"Załączniki\",\"attachments\":\"Załączniki\",\"autoload\":\"Włącz automatyczne ładowanie po przewinięciu do końca strony\",\"avatar\":\"Awatar\",\"avatarAltRadius\":\"Awatary (powiadomienia)\",\"avatarRadius\":\"Awatary\",\"background\":\"Tło\",\"bio\":\"Bio\",\"blocks_tab\":\"Bloki\",\"btnRadius\":\"Przyciski\",\"cBlue\":\"Niebieski (odpowiedz, obserwuj)\",\"cGreen\":\"Zielony (powtórzenia)\",\"cOrange\":\"Pomarańczowy (ulubione)\",\"cRed\":\"Czerwony (anuluj)\",\"change_password\":\"Zmień hasło\",\"change_password_error\":\"Podczas zmiany hasła wystąpił problem.\",\"changed_password\":\"Pomyślnie zmieniono hasło!\",\"collapse_subject\":\"Zwijaj posty z tematami\",\"composing\":\"Pisanie\",\"confirm_new_password\":\"Potwierdź nowe hasło\",\"current_avatar\":\"Twój obecny awatar\",\"current_password\":\"Obecne hasło\",\"current_profile_banner\":\"Twój obecny banner profilu\",\"data_import_export_tab\":\"Import/eksport danych\",\"default_vis\":\"Domyślny zakres widoczności\",\"delete_account\":\"Usuń konto\",\"delete_account_description\":\"Trwale usuń konto i wszystkie posty.\",\"delete_account_error\":\"Wystąpił problem z usuwaniem twojego konta. Jeżeli problem powtarza się, poinformuj administratora swojej instancji.\",\"delete_account_instructions\":\"Wprowadź swoje hasło w poniższe pole aby potwierdzić usunięcie konta.\",\"avatar_size_instruction\":\"Zalecany minimalny rozmiar awatarów to 150x150 pikseli.\",\"export_theme\":\"Zapisz motyw\",\"filtering\":\"Filtrowanie\",\"filtering_explanation\":\"Wszystkie statusy zawierające te słowa będą wyciszone. Jedno słowo na linijkę.\",\"follow_export\":\"Eksport obserwowanych\",\"follow_export_button\":\"Eksportuj swoją listę obserwowanych do pliku CSV\",\"follow_export_processing\":\"Przetwarzanie, wkrótce twój plik zacznie się ściągać.\",\"follow_import\":\"Import obserwowanych\",\"follow_import_error\":\"Błąd przy importowaniu obserwowanych\",\"follows_imported\":\"Obserwowani zaimportowani! Przetwarzanie może trochę potrwać.\",\"foreground\":\"Pierwszy plan\",\"general\":\"Ogólne\",\"hide_attachments_in_convo\":\"Ukrywaj załączniki w rozmowach\",\"hide_attachments_in_tl\":\"Ukrywaj załączniki w osi czasu\",\"hide_muted_posts\":\"Ukrywaj wpisy wyciszonych użytkowników\",\"max_thumbnails\":\"Maksymalna liczba miniatur w poście\",\"hide_isp\":\"Ukryj panel informacji o instancji\",\"preload_images\":\"Ładuj wstępnie obrazy\",\"use_one_click_nsfw\":\"Otwieraj załączniki NSFW jednym kliknięciem\",\"hide_post_stats\":\"Ukrywaj statysyki postów (np. liczbę polubień)\",\"hide_user_stats\":\"Ukrywaj statysyki użytkowników (np. liczbę obserwujących)\",\"hide_filtered_statuses\":\"Ukrywaj filtrowane statusy\",\"import_followers_from_a_csv_file\":\"Importuj obserwowanych z pliku CSV\",\"import_theme\":\"Załaduj motyw\",\"inputRadius\":\"Pola tekstowe\",\"checkboxRadius\":\"Pola wyboru\",\"instance_default\":\"(domyślny: {value})\",\"instance_default_simple\":\"(domyślny)\",\"interface\":\"Interfejs\",\"interfaceLanguage\":\"Język interfejsu\",\"invalid_theme_imported\":\"Wybrany plik nie jest obsługiwanym motywem Pleromy. Nie dokonano zmian w twoim motywie.\",\"limited_availability\":\"Niedostępne w twojej przeglądarce\",\"links\":\"Łącza\",\"lock_account_description\":\"Ogranicz swoje konto dla zatwierdzonych obserwowanych\",\"loop_video\":\"Zapętlaj filmy\",\"loop_video_silent_only\":\"Zapętlaj tylko filmy bez dźwięku (np. mastodonowe „gify”)\",\"mutes_tab\":\"Wyciszenia\",\"play_videos_in_modal\":\"Odtwarzaj filmy bezpośrednio w przeglądarce mediów\",\"use_contain_fit\":\"Nie przycinaj załączników na miniaturach\",\"name\":\"Imię\",\"name_bio\":\"Imię i bio\",\"new_password\":\"Nowe hasło\",\"notification_visibility\":\"Rodzaje powiadomień do wyświetlania\",\"notification_visibility_follows\":\"Obserwacje\",\"notification_visibility_likes\":\"Ulubione\",\"notification_visibility_mentions\":\"Wzmianki\",\"notification_visibility_repeats\":\"Powtórzenia\",\"no_rich_text_description\":\"Usuwaj formatowanie ze wszystkich postów\",\"no_blocks\":\"Bez blokad\",\"no_mutes\":\"Bez wyciszeń\",\"hide_follows_description\":\"Nie pokazuj kogo obserwuję\",\"hide_followers_description\":\"Nie pokazuj kto mnie obserwuje\",\"show_admin_badge\":\"Pokazuj odznakę Administrator na moim profilu\",\"show_moderator_badge\":\"Pokazuj odznakę Moderator na moim profilu\",\"nsfw_clickthrough\":\"Włącz domyślne ukrywanie załączników o treści nieprzyzwoitej (NSFW)\",\"oauth_tokens\":\"Tokeny OAuth\",\"token\":\"Token\",\"refresh_token\":\"Odśwież token\",\"valid_until\":\"Ważne do\",\"revoke_token\":\"Odwołać\",\"panelRadius\":\"Panele\",\"pause_on_unfocused\":\"Wstrzymuj strumieniowanie kiedy karta nie jest aktywna\",\"presets\":\"Gotowe motywy\",\"profile_background\":\"Tło profilu\",\"profile_banner\":\"Banner profilu\",\"profile_tab\":\"Profil\",\"radii_help\":\"Ustaw zaokrąglenie krawędzi interfejsu (w pikselach)\",\"replies_in_timeline\":\"Odpowiedzi na osi czasu\",\"reply_link_preview\":\"Włącz dymek z podglądem postu po najechaniu na znak odpowiedzi\",\"reply_visibility_all\":\"Pokazuj wszystkie odpowiedzi\",\"reply_visibility_following\":\"Pokazuj tylko odpowiedzi skierowane do mnie i osób które obserwuję\",\"reply_visibility_self\":\"Pokazuj tylko odpowiedzi skierowane do mnie\",\"saving_err\":\"Nie udało się zapisać ustawień\",\"saving_ok\":\"Zapisano ustawienia\",\"security_tab\":\"Bezpieczeństwo\",\"scope_copy\":\"Kopiuj zakres podczas odpowiadania (DM-y zawsze są kopiowane)\",\"set_new_avatar\":\"Ustaw nowy awatar\",\"set_new_profile_background\":\"Ustaw nowe tło profilu\",\"set_new_profile_banner\":\"Ustaw nowy banner profilu\",\"settings\":\"Ustawienia\",\"subject_input_always_show\":\"Zawsze pokazuj pole tematu\",\"subject_line_behavior\":\"Kopiuj temat podczas odpowiedzi\",\"subject_line_email\":\"Jak w mailach – „re: temat”\",\"subject_line_mastodon\":\"Jak na Mastodonie – po prostu kopiuj\",\"subject_line_noop\":\"Nie kopiuj\",\"post_status_content_type\":\"Post status content type\",\"stop_gifs\":\"Odtwarzaj GIFy po najechaniu kursorem\",\"streaming\":\"Włącz automatycznie strumieniowanie nowych postów gdy jesteś na początku strony\",\"text\":\"Tekst\",\"theme\":\"Motyw\",\"theme_help\":\"Użyj kolorów w notacji szesnastkowej (#rrggbb), by stworzyć swój motyw.\",\"theme_help_v2_1\":\"Możesz też zastąpić kolory i widoczność poszczególnych komponentów przełączając pola wyboru, użyj „Wyczyść wszystko” aby usunąć wszystkie zastąpienia.\",\"theme_help_v2_2\":\"Ikony pod niektórych wpisami są wskaźnikami kontrastu pomiędzy tłem a tekstem, po najechaniu na nie otrzymasz szczegółowe informacje. Zapamiętaj, że jeżeli używasz przezroczystości, wskaźniki pokazują najgorszy możliwy przypadek.\",\"tooltipRadius\":\"Etykiety/alerty\",\"upload_a_photo\":\"Wyślij zdjęcie\",\"user_settings\":\"Ustawienia użytkownika\",\"values\":{\"false\":\"nie\",\"true\":\"tak\"},\"notifications\":\"Powiadomienia\",\"enable_web_push_notifications\":\"Włącz powiadomienia push\",\"style\":{\"switcher\":{\"keep_color\":\"Zachowaj kolory\",\"keep_shadows\":\"Zachowaj cienie\",\"keep_opacity\":\"Zachowaj widoczność\",\"keep_roundness\":\"Zachowaj zaokrąglenie\",\"keep_fonts\":\"Zachowaj czcionki\",\"save_load_hint\":\"Opcje „zachowaj” pozwalają na pozostanie przy obecnych opcjach po wybraniu lub załadowaniu motywu, jak i przechowywanie ich podczas eksportowania motywu. Jeżeli wszystkie są odznaczone, eksportowanie motywu spowoduje zapisanie wszystkiego.\",\"reset\":\"Wyzeruj\",\"clear_all\":\"Wyczyść wszystko\",\"clear_opacity\":\"Wyczyść widoczność\"},\"common\":{\"color\":\"Kolor\",\"opacity\":\"Widoczność\",\"contrast\":{\"hint\":\"Współczynnik kontrastu wynosi {ratio}, {level} {context}\",\"level\":{\"aa\":\"spełnia wymogi poziomu AA (minimalne)\",\"aaa\":\"spełnia wymogi poziomu AAA (zalecane)\",\"bad\":\"nie spełnia żadnych wymogów dostępności\"},\"context\":{\"18pt\":\"dla dużego tekstu (18pt+)\",\"text\":\"dla tekstu\"}}},\"common_colors\":{\"_tab_label\":\"Ogólne\",\"main\":\"Ogólne kolory\",\"foreground_hint\":\"Zajrzyj do karty „Zaawansowane”, aby uzyskać dokładniejszą kontrolę\",\"rgbo\":\"Ikony, wyróżnienia, odznaki\"},\"advanced_colors\":{\"_tab_label\":\"Zaawansowane\",\"alert\":\"Tło alertu\",\"alert_error\":\"Błąd\",\"badge\":\"Tło odznaki\",\"badge_notification\":\"Powiadomienie\",\"panel_header\":\"Nagłówek panelu\",\"top_bar\":\"Górny pasek\",\"borders\":\"Granice\",\"buttons\":\"Przyciski\",\"inputs\":\"Pola wejścia\",\"faint_text\":\"Zanikający tekst\"},\"radii\":{\"_tab_label\":\"Zaokrąglenie\"},\"shadows\":{\"_tab_label\":\"Cień i podświetlenie\",\"component\":\"Komponent\",\"override\":\"Zastąp\",\"shadow_id\":\"Cień #{value}\",\"blur\":\"Rozmycie\",\"spread\":\"Szerokość\",\"inset\":\"Inset\",\"hint\":\"Możesz też używać --zmiennych jako kolorów, aby wykorzystać zmienne CSS3. Pamiętaj, że ustawienie widoczności nie będzie wtedy działać.\",\"filter_hint\":{\"always_drop_shadow\":\"Ostrzeżenie, ten cień zawsze używa {0} jeżeli to obsługiwane przez przeglądarkę.\",\"drop_shadow_syntax\":\"{0} nie obsługuje parametru {1} i słowa kluczowego {2}.\",\"avatar_inset\":\"Pamiętaj że użycie jednocześnie cieni inset i nie inset na awatarach może daćnieoczekiwane wyniki z przezroczystymi awatarami.\",\"spread_zero\":\"Cienie o ujemnej szerokości będą widoczne tak, jakby wynosiła ona zero\",\"inset_classic\":\"Cienie inset będą używały {0}\"},\"components\":{\"panel\":\"Panel\",\"panelHeader\":\"Nagłówek panelu\",\"topBar\":\"Górny pasek\",\"avatar\":\"Awatar użytkownika (w widoku profilu)\",\"avatarStatus\":\"Awatar użytkownika (w widoku wpisu)\",\"popup\":\"Wyskakujące okna i podpowiedzi\",\"button\":\"Przycisk\",\"buttonHover\":\"Przycisk (po najechaniu)\",\"buttonPressed\":\"Przycisk (naciśnięty)\",\"buttonPressedHover\":\"Przycisk(naciśnięty+najechany)\",\"input\":\"Pole wejścia\"}},\"fonts\":{\"_tab_label\":\"Czcionki\",\"help\":\"Wybierz czcionkę używaną przez elementy UI. Jeżeli wybierzesz niestandardową, musisz wpisać dokładnie tę nazwę, pod którą pojawia się w systemie.\",\"components\":{\"interface\":\"Interfejs\",\"input\":\"Pola wejścia\",\"post\":\"Tekst postu\",\"postCode\":\"Tekst o stałej szerokości znaków w sformatowanym poście\"},\"family\":\"Nazwa czcionki\",\"size\":\"Rozmiar (w pikselach)\",\"weight\":\"Grubość\",\"custom\":\"Niestandardowa\"},\"preview\":{\"header\":\"Podgląd\",\"content\":\"Zawartość\",\"error\":\"Przykładowy błąd\",\"button\":\"Przycisk\",\"text\":\"Trochę więcej {0} i {1}\",\"mono\":\"treści\",\"input\":\"Właśnie wróciłem z kościoła\",\"faint_link\":\"pomocny podręcznik\",\"fine_print\":\"Przeczytaj nasz {0}, aby nie nauczyć się niczego przydatnego!\",\"header_faint\":\"W porządku\",\"checkbox\":\"Przeleciałem przez zasady użytkowania\",\"link\":\"i fajny mały odnośnik\"}},\"version\":{\"title\":\"Wersja\",\"backend_version\":\"Wersja back-endu\",\"frontend_version\":\"Wersja front-endu\"}},\"timeline\":{\"collapse\":\"Zwiń\",\"conversation\":\"Rozmowa\",\"error_fetching\":\"Błąd pobierania\",\"load_older\":\"Załaduj starsze statusy\",\"no_retweet_hint\":\"Wpis oznaczony jako tylko dla obserwujących lub bezpośredni nie może zostać powtórzony\",\"repeated\":\"powtórzono\",\"show_new\":\"Pokaż nowe\",\"up_to_date\":\"Na bieżąco\",\"no_more_statuses\":\"Brak kolejnych statusów\",\"no_statuses\":\"Brak statusów\"},\"status\":{\"reply_to\":\"Odpowiedź dla\",\"replies_list\":\"Odpowiedzi:\"},\"user_card\":{\"approve\":\"Przyjmij\",\"block\":\"Zablokuj\",\"blocked\":\"Zablokowany!\",\"deny\":\"Odrzuć\",\"favorites\":\"Ulubione\",\"follow\":\"Obserwuj\",\"follow_sent\":\"Wysłano prośbę!\",\"follow_progress\":\"Wysyłam prośbę…\",\"follow_again\":\"Wysłać prośbę ponownie?\",\"follow_unfollow\":\"Przestań obserwować\",\"followees\":\"Obserwowani\",\"followers\":\"Obserwujący\",\"following\":\"Obserwowany!\",\"follows_you\":\"Obserwuje cię!\",\"its_you\":\"To ty!\",\"media\":\"Media\",\"mute\":\"Wycisz\",\"muted\":\"Wyciszony(-a)\",\"per_day\":\"dziennie\",\"remote_follow\":\"Zdalna obserwacja\",\"statuses\":\"Statusy\",\"unblock\":\"Odblokuj\",\"unblock_progress\":\"Odblokowuję…\",\"block_progress\":\"Blokuję…\",\"unmute\":\"Cofnij wyciszenie\",\"unmute_progress\":\"Cofam wyciszenie…\",\"mute_progress\":\"Wyciszam…\"},\"user_profile\":{\"timeline_title\":\"Oś czasu użytkownika\",\"profile_does_not_exist\":\"Przepraszamy, ten profil nie istnieje.\",\"profile_loading_error\":\"Przepraszamy, wystąpił błąd podczas ładowania tego profilu.\"},\"who_to_follow\":{\"more\":\"Więcej\",\"who_to_follow\":\"Propozycje obserwacji\"},\"tool_tip\":{\"media_upload\":\"Wyślij media\",\"repeat\":\"Powtórz\",\"reply\":\"Odpowiedz\",\"favorite\":\"Dodaj do ulubionych\",\"user_settings\":\"Ustawienia użytkownika\"},\"upload\":{\"error\":{\"base\":\"Wysyłanie nie powiodło się.\",\"file_too_big\":\"Zbyt duży plik [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"Spróbuj ponownie później\"},\"file_size_units\":{\"B\":\"B\",\"KiB\":\"KiB\",\"MiB\":\"MiB\",\"GiB\":\"GiB\",\"TiB\":\"TiB\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/pl.json\n// module id = 503\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Chat\"},\"features_panel\":{\"chat\":\"Chat\",\"gopher\":\"Gopher\",\"media_proxy\":\"Proxy de mídia\",\"scope_options\":\"Opções de privacidade\",\"text_limit\":\"Limite de caracteres\",\"title\":\"Funções\",\"who_to_follow\":\"Quem seguir\"},\"finder\":{\"error_fetching_user\":\"Erro ao procurar usuário\",\"find_user\":\"Buscar usuário\"},\"general\":{\"apply\":\"Aplicar\",\"submit\":\"Enviar\",\"more\":\"Mais\",\"generic_error\":\"Houve um erro\",\"optional\":\"opcional\"},\"image_cropper\":{\"crop_picture\":\"Cortar imagem\",\"save\":\"Salvar\",\"cancel\":\"Cancelar\"},\"login\":{\"login\":\"Entrar\",\"description\":\"Entrar com OAuth\",\"logout\":\"Sair\",\"password\":\"Senha\",\"placeholder\":\"p.e. lain\",\"register\":\"Registrar\",\"username\":\"Usuário\",\"hint\":\"Entre para participar da discussão\"},\"media_modal\":{\"previous\":\"Anterior\",\"next\":\"Próximo\"},\"nav\":{\"about\":\"Sobre\",\"back\":\"Voltar\",\"chat\":\"Chat local\",\"friend_requests\":\"Solicitações de seguidores\",\"mentions\":\"Menções\",\"dms\":\"Mensagens diretas\",\"public_tl\":\"Linha do tempo pública\",\"timeline\":\"Linha do tempo\",\"twkn\":\"Toda a rede conhecida\",\"user_search\":\"Buscar usuários\",\"who_to_follow\":\"Quem seguir\",\"preferences\":\"Preferências\"},\"notifications\":{\"broken_favorite\":\"Status desconhecido, buscando...\",\"favorited_you\":\"favoritou sua postagem\",\"followed_you\":\"seguiu você\",\"load_older\":\"Carregar notificações antigas\",\"notifications\":\"Notificações\",\"read\":\"Lido!\",\"repeated_you\":\"repetiu sua postagem\",\"no_more_notifications\":\"Mais nenhuma notificação\"},\"post_status\":{\"new_status\":\"Postar novo status\",\"account_not_locked_warning\":\"Sua conta não é {0}. Qualquer pessoa pode te seguir e ver seus posts privados (só para seguidores).\",\"account_not_locked_warning_link\":\"restrita\",\"attachments_sensitive\":\"Marcar anexos como sensíveis\",\"content_type\":{\"text/plain\":\"Texto puro\"},\"content_warning\":\"Assunto (opcional)\",\"default\":\"Acabei de chegar no Rio!\",\"direct_warning\":\"Este post será visível apenas para os usuários mencionados.\",\"posting\":\"Publicando\",\"scope\":{\"direct\":\"Direto - Enviar somente aos usuários mencionados\",\"private\":\"Apenas para seguidores - Enviar apenas para seguidores\",\"public\":\"Público - Enviar a linhas do tempo públicas\",\"unlisted\":\"Não listado - Não enviar a linhas do tempo públicas\"}},\"registration\":{\"bio\":\"Biografia\",\"email\":\"Correio eletrônico\",\"fullname\":\"Nome para exibição\",\"password_confirm\":\"Confirmação de senha\",\"registration\":\"Registro\",\"token\":\"Código do convite\",\"captcha\":\"CAPTCHA\",\"new_captcha\":\"Clique na imagem para carregar um novo captcha\",\"username_placeholder\":\"p. ex. lain\",\"fullname_placeholder\":\"p. ex. Lain Iwakura\",\"bio_placeholder\":\"e.g.\\nOi, sou Lain\\nSou uma garota que vive no subúrbio do Japão. Você deve me conhecer da Rede.\",\"validations\":{\"username_required\":\"não pode ser deixado em branco\",\"fullname_required\":\"não pode ser deixado em branco\",\"email_required\":\"não pode ser deixado em branco\",\"password_required\":\"não pode ser deixado em branco\",\"password_confirmation_required\":\"não pode ser deixado em branco\",\"password_confirmation_match\":\"deve ser idêntica à senha\"}},\"settings\":{\"app_name\":\"Nome do aplicativo\",\"attachmentRadius\":\"Anexos\",\"attachments\":\"Anexos\",\"autoload\":\"Habilitar carregamento automático quando a rolagem chegar ao fim.\",\"avatar\":\"Avatar\",\"avatarAltRadius\":\"Avatares (Notificações)\",\"avatarRadius\":\"Avatares\",\"background\":\"Pano de Fundo\",\"bio\":\"Biografia\",\"blocks_tab\":\"Bloqueios\",\"btnRadius\":\"Botões\",\"cBlue\":\"Azul (Responder, seguir)\",\"cGreen\":\"Verde (Repetir)\",\"cOrange\":\"Laranja (Favoritar)\",\"cRed\":\"Vermelho (Cancelar)\",\"change_password\":\"Mudar senha\",\"change_password_error\":\"Houve um erro ao modificar sua senha.\",\"changed_password\":\"Senha modificada com sucesso!\",\"collapse_subject\":\"Esconder posts com assunto\",\"composing\":\"Escrita\",\"confirm_new_password\":\"Confirmar nova senha\",\"current_avatar\":\"Seu avatar atual\",\"current_password\":\"Sua senha atual\",\"current_profile_banner\":\"Sua capa de perfil atual\",\"data_import_export_tab\":\"Importação/exportação de dados\",\"default_vis\":\"Opção de privacidade padrão\",\"delete_account\":\"Deletar conta\",\"delete_account_description\":\"Deletar sua conta e mensagens permanentemente.\",\"delete_account_error\":\"Houve um problema ao deletar sua conta. Se ele persistir, por favor entre em contato com o/a administrador/a da instância.\",\"delete_account_instructions\":\"Digite sua senha no campo abaixo para confirmar a exclusão da conta.\",\"avatar_size_instruction\":\"O tamanho mínimo recomendado para imagens de avatar é 150x150 pixels.\",\"export_theme\":\"Salvar predefinições\",\"filtering\":\"Filtragem\",\"filtering_explanation\":\"Todas as postagens contendo estas palavras serão silenciadas; uma palavra por linha.\",\"follow_export\":\"Exportar quem você segue\",\"follow_export_button\":\"Exportar quem você segue para um arquivo CSV\",\"follow_export_processing\":\"Processando. Em breve você receberá a solicitação de download do arquivo\",\"follow_import\":\"Importar quem você segue\",\"follow_import_error\":\"Erro ao importar seguidores\",\"follows_imported\":\"Seguidores importados! O processamento pode demorar um pouco.\",\"foreground\":\"Primeiro Plano\",\"general\":\"Geral\",\"hide_attachments_in_convo\":\"Ocultar anexos em conversas\",\"hide_attachments_in_tl\":\"Ocultar anexos na linha do tempo.\",\"max_thumbnails\":\"Número máximo de miniaturas por post\",\"hide_isp\":\"Esconder painel específico da instância\",\"preload_images\":\"Pré-carregar imagens\",\"use_one_click_nsfw\":\"Abrir anexos sensíveis com um clique\",\"hide_post_stats\":\"Esconder estatísticas de posts (p. ex. número de favoritos)\",\"hide_user_stats\":\"Esconder estatísticas do usuário (p. ex. número de seguidores)\",\"hide_filtered_statuses\":\"Esconder posts filtrados\",\"import_followers_from_a_csv_file\":\"Importe seguidores a partir de um arquivo CSV\",\"import_theme\":\"Carregar pré-definição\",\"inputRadius\":\"Campos de entrada\",\"checkboxRadius\":\"Checkboxes\",\"instance_default\":\"(padrão: {value})\",\"instance_default_simple\":\"(padrão)\",\"interface\":\"Interface\",\"interfaceLanguage\":\"Idioma da interface\",\"invalid_theme_imported\":\"O arquivo selecionado não é um tema compatível com o Pleroma. Nenhuma mudança no tema foi feita.\",\"limited_availability\":\"Indisponível para seu navegador\",\"links\":\"Links\",\"lock_account_description\":\"Restringir sua conta a seguidores aprovados\",\"loop_video\":\"Repetir vídeos\",\"loop_video_silent_only\":\"Repetir apenas vídeos sem som (como os \\\"gifs\\\" do Mastodon)\",\"mutes_tab\":\"Silenciados\",\"play_videos_in_modal\":\"Tocar vídeos diretamente no visualizador de mídia\",\"use_contain_fit\":\"Não cortar o anexo na miniatura\",\"name\":\"Nome\",\"name_bio\":\"Nome & Biografia\",\"new_password\":\"Nova senha\",\"notification_visibility\":\"Tipos de notificação para mostrar\",\"notification_visibility_follows\":\"Seguidas\",\"notification_visibility_likes\":\"Favoritos\",\"notification_visibility_mentions\":\"Menções\",\"notification_visibility_repeats\":\"Repetições\",\"no_rich_text_description\":\"Remover formatação de todos os posts\",\"no_blocks\":\"Sem bloqueios\",\"no_mutes\":\"Sem silenciados\",\"hide_follows_description\":\"Não mostrar quem estou seguindo\",\"hide_followers_description\":\"Não mostrar quem me segue\",\"show_admin_badge\":\"Mostrar título de Administrador em meu perfil\",\"show_moderator_badge\":\"Mostrar título de Moderador em meu perfil\",\"nsfw_clickthrough\":\"Habilitar clique para ocultar anexos sensíveis\",\"oauth_tokens\":\"Token OAuth\",\"token\":\"Token\",\"refresh_token\":\"Atualizar Token\",\"valid_until\":\"Válido até\",\"revoke_token\":\"Revogar\",\"panelRadius\":\"Paineis\",\"pause_on_unfocused\":\"Parar transmissão quando a aba não estiver em primeiro plano\",\"presets\":\"Predefinições\",\"profile_background\":\"Pano de fundo de perfil\",\"profile_banner\":\"Capa de perfil\",\"profile_tab\":\"Perfil\",\"radii_help\":\"Arredondar arestas da interface (em pixel)\",\"replies_in_timeline\":\"Respostas na linha do tempo\",\"reply_link_preview\":\"Habilitar a pré-visualização de de respostas ao passar o mouse.\",\"reply_visibility_all\":\"Mostrar todas as respostas\",\"reply_visibility_following\":\"Só mostrar respostas direcionadas a mim ou a usuários que sigo\",\"reply_visibility_self\":\"Só mostrar respostas direcionadas a mim\",\"saving_err\":\"Erro ao salvar configurações\",\"saving_ok\":\"Configurações salvas\",\"security_tab\":\"Segurança\",\"scope_copy\":\"Copiar opções de privacidade ao responder (Mensagens diretas sempre copiam)\",\"set_new_avatar\":\"Alterar avatar\",\"set_new_profile_background\":\"Alterar o pano de fundo de perfil\",\"set_new_profile_banner\":\"Alterar capa de perfil\",\"settings\":\"Configurações\",\"subject_input_always_show\":\"Sempre mostrar campo de assunto\",\"subject_line_behavior\":\"Copiar assunto ao responder\",\"subject_line_email\":\"Como em email: \\\"re: assunto\\\"\",\"subject_line_mastodon\":\"Como o Mastodon: copiar como está\",\"subject_line_noop\":\"Não copiar\",\"post_status_content_type\":\"Tipo de conteúdo do status\",\"stop_gifs\":\"Reproduzir GIFs ao passar o cursor\",\"streaming\":\"Habilitar o fluxo automático de postagens no topo da página\",\"text\":\"Texto\",\"theme\":\"Tema\",\"theme_help\":\"Use cores em código hexadecimal (#rrggbb) para personalizar seu esquema de cores.\",\"theme_help_v2_1\":\"Você também pode sobrescrever as cores e opacidade de alguns componentes ao modificar o checkbox, use \\\"Limpar todos\\\" para limpar todas as modificações.\",\"theme_help_v2_2\":\"Alguns ícones sob registros são indicadores de fundo/contraste de textos, passe por cima para informações detalhadas. Tenha ciência de que os indicadores de contraste não funcionam muito bem com transparência.\",\"tooltipRadius\":\"Dicas/alertas\",\"upload_a_photo\":\"Enviar uma foto\",\"user_settings\":\"Configurações de Usuário\",\"values\":{\"false\":\"não\",\"true\":\"sim\"},\"notifications\":\"Notificações\",\"enable_web_push_notifications\":\"Habilitar notificações web push\",\"style\":{\"switcher\":{\"keep_color\":\"Manter cores\",\"keep_shadows\":\"Manter sombras\",\"keep_opacity\":\"Manter opacidade\",\"keep_roundness\":\"Manter arredondado\",\"keep_fonts\":\"Manter fontes\",\"save_load_hint\":\"Manter as opções preserva as opções atuais ao selecionar ou carregar temas; também salva as opções ao exportar um tempo. Quanto todos os campos estiverem desmarcados, tudo será salvo ao exportar o tema.\",\"reset\":\"Restaurar o padrão\",\"clear_all\":\"Limpar tudo\",\"clear_opacity\":\"Limpar opacidade\"},\"common\":{\"color\":\"Cor\",\"opacity\":\"Opacidade\",\"contrast\":{\"hint\":\"A taxa de contraste é {ratio}, {level} {context}\",\"level\":{\"aa\":\"padrão Nível AA (mínimo)\",\"aaa\":\"padrão Nível AAA (recomendado)\",\"bad\":\"nenhum padrão de acessibilidade\"},\"context\":{\"18pt\":\"para textos longos (18pt+)\",\"text\":\"para texto\"}}},\"common_colors\":{\"_tab_label\":\"Comum\",\"main\":\"Cores Comuns\",\"foreground_hint\":\"Configurações mais detalhadas na aba\\\"Avançado\\\"\",\"rgbo\":\"Ícones, acentuação, distintivos\"},\"advanced_colors\":{\"_tab_label\":\"Avançado\",\"alert\":\"Fundo de alerta\",\"alert_error\":\"Erro\",\"badge\":\"Fundo do distintivo\",\"badge_notification\":\"Notificação\",\"panel_header\":\"Topo do painel\",\"top_bar\":\"Barra do topo\",\"borders\":\"Bordas\",\"buttons\":\"Botões\",\"inputs\":\"Caixas de entrada\",\"faint_text\":\"Texto esmaecido\"},\"radii\":{\"_tab_label\":\"Arredondado\"},\"shadows\":{\"_tab_label\":\"Luz e sombra\",\"component\":\"Componente\",\"override\":\"Sobrescrever\",\"shadow_id\":\"Sombra #{value}\",\"blur\":\"Borrado\",\"spread\":\"Difusão\",\"inset\":\"Inserção\",\"hint\":\"Para as sombras você também pode usar --variável como valor de cor para utilizar variáveis do CSS3. Tenha em mente que configurar a opacidade não será possível neste caso.\",\"filter_hint\":{\"always_drop_shadow\":\"Atenção, esta sombra sempre utiliza {0} quando compatível com o navegador.\",\"drop_shadow_syntax\":\"{0} não é compatível com o parâmetro {1} e a palavra-chave {2}.\",\"avatar_inset\":\"Tenha em mente que combinar as sombras de inserção e a não-inserção em avatares pode causar resultados inesperados em avatares transparentes.\",\"spread_zero\":\"Sombras com uma difusão > 0 aparecerão como se fossem definidas como 0.\",\"inset_classic\":\"Sombras de inserção utilizarão {0}\"},\"components\":{\"panel\":\"Painel\",\"panelHeader\":\"Topo do painel\",\"topBar\":\"Barra do topo\",\"avatar\":\"Avatar do usuário (na visualização do perfil)\",\"avatarStatus\":\"Avatar do usuário (na exibição de posts)\",\"popup\":\"Dicas e notificações\",\"button\":\"Botão\",\"buttonHover\":\"Botão (em cima)\",\"buttonPressed\":\"Botão (pressionado)\",\"buttonPressedHover\":\"Botão (pressionado+em cima)\",\"input\":\"Campo de entrada\"}},\"fonts\":{\"_tab_label\":\"Fontes\",\"help\":\"Selecione as fontes dos elementos da interface. Para fonte \\\"personalizada\\\" você deve inserir o mesmo nome da fonte no sistema.\",\"components\":{\"interface\":\"Interface\",\"input\":\"Campo de entrada\",\"post\":\"Postar texto\",\"postCode\":\"Texto monoespaçado em post (formatação rica)\"},\"family\":\"Nome da fonte\",\"size\":\"Tamanho (em px)\",\"weight\":\"Peso\",\"custom\":\"Personalizada\"},\"preview\":{\"header\":\"Pré-visualizar\",\"content\":\"Conteúdo\",\"error\":\"Erro de exemplo\",\"button\":\"Botão\",\"text\":\"Vários {0} e {1}\",\"mono\":\"conteúdo\",\"input\":\"Acabei de chegar no Rio!\",\"faint_link\":\"manual útil\",\"fine_print\":\"Leia nosso {0} para não aprender nada!\",\"header_faint\":\"Está ok!\",\"checkbox\":\"Li os termos e condições\",\"link\":\"um belo link\"}}},\"timeline\":{\"collapse\":\"Esconder\",\"conversation\":\"Conversa\",\"error_fetching\":\"Erro ao buscar atualizações\",\"load_older\":\"Carregar postagens antigas\",\"no_retweet_hint\":\"Posts apenas para seguidores ou diretos não podem ser repetidos\",\"repeated\":\"Repetido\",\"show_new\":\"Mostrar novas\",\"up_to_date\":\"Atualizado\",\"no_more_statuses\":\"Sem mais posts\",\"no_statuses\":\"Sem posts\"},\"status\":{\"reply_to\":\"Responder a\",\"replies_list\":\"Respostas:\"},\"user_card\":{\"approve\":\"Aprovar\",\"block\":\"Bloquear\",\"blocked\":\"Bloqueado!\",\"deny\":\"Negar\",\"favorites\":\"Favoritos\",\"follow\":\"Seguir\",\"follow_sent\":\"Pedido enviado!\",\"follow_progress\":\"Enviando…\",\"follow_again\":\"Enviar solicitação novamente?\",\"follow_unfollow\":\"Deixar de seguir\",\"followees\":\"Seguindo\",\"followers\":\"Seguidores\",\"following\":\"Seguindo!\",\"follows_you\":\"Segue você!\",\"its_you\":\"É você!\",\"media\":\"Mídia\",\"mute\":\"Silenciar\",\"muted\":\"Silenciado\",\"per_day\":\"por dia\",\"remote_follow\":\"Seguir remotamente\",\"statuses\":\"Postagens\",\"unblock\":\"Desbloquear\",\"unblock_progress\":\"Desbloqueando...\",\"block_progress\":\"Bloqueando...\",\"unmute\":\"Retirar silêncio\",\"unmute_progress\":\"Retirando silêncio...\",\"mute_progress\":\"Silenciando...\"},\"user_profile\":{\"timeline_title\":\"Linha do tempo do usuário\",\"profile_does_not_exist\":\"Desculpe, este perfil não existe.\",\"profile_loading_error\":\"Desculpe, houve um erro ao carregar este perfil.\"},\"who_to_follow\":{\"more\":\"Mais\",\"who_to_follow\":\"Quem seguir\"},\"tool_tip\":{\"media_upload\":\"Envio de mídia\",\"repeat\":\"Repetir\",\"reply\":\"Responder\",\"favorite\":\"Favoritar\",\"user_settings\":\"Configurações do usuário\"},\"upload\":{\"error\":{\"base\":\"Falha no envio.\",\"file_too_big\":\"Arquivo grande demais [{filesize}{filesizeunit} / {allowedsize}{allowedsizeunit}]\",\"default\":\"Tente novamente mais tarde\"},\"file_size_units\":{\"B\":\"B\",\"KiB\":\"KiB\",\"MiB\":\"MiB\",\"GiB\":\"GiB\",\"TiB\":\"TiB\"}}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/pt.json\n// module id = 504\n// module chunks = 2","module.exports = {\"finder\":{\"error_fetching_user\":\"Eroare la preluarea utilizatorului\",\"find_user\":\"Găsește utilizator\"},\"general\":{\"submit\":\"trimite\"},\"login\":{\"login\":\"Loghează\",\"logout\":\"Deloghează\",\"password\":\"Parolă\",\"placeholder\":\"d.e. lain\",\"register\":\"Înregistrare\",\"username\":\"Nume utilizator\"},\"nav\":{\"mentions\":\"Menționări\",\"public_tl\":\"Cronologie Publică\",\"timeline\":\"Cronologie\",\"twkn\":\"Toată Reșeaua Cunoscută\"},\"notifications\":{\"followed_you\":\"te-a urmărit\",\"notifications\":\"Notificări\",\"read\":\"Citit!\"},\"post_status\":{\"default\":\"Nu de mult am aterizat în L.A.\",\"posting\":\"Postează\"},\"registration\":{\"bio\":\"Bio\",\"email\":\"Email\",\"fullname\":\"Numele întreg\",\"password_confirm\":\"Cofirmă parola\",\"registration\":\"Îregistrare\"},\"settings\":{\"attachments\":\"Atașamente\",\"autoload\":\"Permite încărcarea automată când scrolat la capăt\",\"avatar\":\"Avatar\",\"bio\":\"Bio\",\"current_avatar\":\"Avatarul curent\",\"current_profile_banner\":\"Bannerul curent al profilului\",\"filtering\":\"Filtru\",\"filtering_explanation\":\"Toate stările care conțin aceste cuvinte vor fi puse pe mut, una pe linie\",\"hide_attachments_in_convo\":\"Ascunde atașamentele în conversații\",\"hide_attachments_in_tl\":\"Ascunde atașamentele în cronologie\",\"name\":\"Nume\",\"name_bio\":\"Nume și Bio\",\"nsfw_clickthrough\":\"Permite ascunderea al atașamentelor NSFW\",\"profile_background\":\"Fundalul de profil\",\"profile_banner\":\"Banner de profil\",\"reply_link_preview\":\"Permite previzualizarea linkului de răspuns la planarea de mouse\",\"set_new_avatar\":\"Setează avatar nou\",\"set_new_profile_background\":\"Setează fundal nou\",\"set_new_profile_banner\":\"Setează banner nou la profil\",\"settings\":\"Setări\",\"theme\":\"Temă\",\"user_settings\":\"Setările utilizatorului\"},\"timeline\":{\"conversation\":\"Conversație\",\"error_fetching\":\"Erare la preluarea actualizărilor\",\"load_older\":\"Încarcă stări mai vechi\",\"show_new\":\"Arată cele noi\",\"up_to_date\":\"La zi\"},\"user_card\":{\"block\":\"Blochează\",\"blocked\":\"Blocat!\",\"follow\":\"Urmărește\",\"followees\":\"Urmărește\",\"followers\":\"Următori\",\"following\":\"Urmărit!\",\"follows_you\":\"Te urmărește!\",\"mute\":\"Pune pe mut\",\"muted\":\"Pus pe mut\",\"per_day\":\"pe zi\",\"statuses\":\"Stări\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/ro.json\n// module id = 505\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"Чат\"},\"finder\":{\"error_fetching_user\":\"Пользователь не найден\",\"find_user\":\"Найти пользователя\"},\"general\":{\"apply\":\"Применить\",\"submit\":\"Отправить\",\"cancel\":\"Отмена\"},\"login\":{\"login\":\"Войти\",\"logout\":\"Выйти\",\"password\":\"Пароль\",\"placeholder\":\"e.c. lain\",\"register\":\"Зарегистрироваться\",\"username\":\"Имя пользователя\"},\"nav\":{\"back\":\"Назад\",\"chat\":\"Локальный чат\",\"mentions\":\"Упоминания\",\"public_tl\":\"Публичная лента\",\"timeline\":\"Лента\",\"twkn\":\"Федеративная лента\"},\"notifications\":{\"broken_favorite\":\"Неизвестный статус, ищем...\",\"favorited_you\":\"нравится ваш статус\",\"followed_you\":\"начал(а) читать вас\",\"load_older\":\"Загрузить старые уведомления\",\"notifications\":\"Уведомления\",\"read\":\"Прочесть\",\"repeated_you\":\"повторил(а) ваш статус\"},\"post_status\":{\"account_not_locked_warning\":\"Ваш аккаунт не {0}. Кто угодно может зафоловить вас чтобы прочитать посты только для подписчиков\",\"account_not_locked_warning_link\":\"залочен\",\"attachments_sensitive\":\"Вложения содержат чувствительный контент\",\"content_warning\":\"Тема (не обязательно)\",\"default\":\"Что нового?\",\"direct_warning\":\"Этот пост будет видет только упомянутым пользователям\",\"posting\":\"Отправляется\",\"scope\":{\"direct\":\"Личное - этот пост видят только те кто в нём упомянут\",\"private\":\"Для подписчиков - этот пост видят только подписчики\",\"public\":\"Публичный - этот пост виден всем\",\"unlisted\":\"Непубличный - этот пост не виден на публичных лентах\"}},\"registration\":{\"bio\":\"Описание\",\"email\":\"Email\",\"fullname\":\"Отображаемое имя\",\"password_confirm\":\"Подтверждение пароля\",\"registration\":\"Регистрация\",\"token\":\"Код приглашения\",\"validations\":{\"username_required\":\"не должно быть пустым\",\"fullname_required\":\"не должно быть пустым\",\"email_required\":\"не должен быть пустым\",\"password_required\":\"не должен быть пустым\",\"password_confirmation_required\":\"не должно быть пустым\",\"password_confirmation_match\":\"должно совпадать с паролем\"}},\"settings\":{\"attachmentRadius\":\"Прикреплённые файлы\",\"attachments\":\"Вложения\",\"autoload\":\"Включить автоматическую загрузку при прокрутке вниз\",\"avatar\":\"Аватар\",\"avatarAltRadius\":\"Аватары в уведомлениях\",\"avatarRadius\":\"Аватары\",\"background\":\"Фон\",\"bio\":\"Описание\",\"btnRadius\":\"Кнопки\",\"cBlue\":\"Ответить, читать\",\"cGreen\":\"Повторить\",\"cOrange\":\"Нравится\",\"cRed\":\"Отменить\",\"change_password\":\"Сменить пароль\",\"change_password_error\":\"Произошла ошибка при попытке изменить пароль.\",\"changed_password\":\"Пароль изменён успешно.\",\"collapse_subject\":\"Сворачивать посты с темой\",\"confirm_new_password\":\"Подтверждение нового пароля\",\"current_avatar\":\"Текущий аватар\",\"current_password\":\"Текущий пароль\",\"current_profile_banner\":\"Текущий баннер профиля\",\"data_import_export_tab\":\"Импорт / Экспорт данных\",\"delete_account\":\"Удалить аккаунт\",\"delete_account_description\":\"Удалить ваш аккаунт и все ваши сообщения.\",\"delete_account_error\":\"Возникла ошибка в процессе удаления вашего аккаунта. Если это повторяется, свяжитесь с администратором вашего сервера.\",\"delete_account_instructions\":\"Введите ваш пароль в поле ниже для подтверждения удаления.\",\"export_theme\":\"Сохранить Тему\",\"filtering\":\"Фильтрация\",\"filtering_explanation\":\"Все статусы, содержащие данные слова, будут игнорироваться, по одному в строке\",\"follow_export\":\"Экспортировать читаемых\",\"follow_export_button\":\"Экспортировать читаемых в файл .csv\",\"follow_export_processing\":\"Ведётся обработка, скоро вам будет предложено загрузить файл\",\"follow_import\":\"Импортировать читаемых\",\"follow_import_error\":\"Ошибка при импортировании читаемых.\",\"follows_imported\":\"Список читаемых импортирован. Обработка займёт некоторое время..\",\"foreground\":\"Передний план\",\"general\":\"Общие\",\"hide_attachments_in_convo\":\"Прятать вложения в разговорах\",\"hide_attachments_in_tl\":\"Прятать вложения в ленте\",\"hide_isp\":\"Скрыть серверную панель\",\"import_followers_from_a_csv_file\":\"Импортировать читаемых из файла .csv\",\"import_theme\":\"Загрузить Тему\",\"inputRadius\":\"Поля ввода\",\"checkboxRadius\":\"Чекбоксы\",\"instance_default\":\"(по умолчанию: {value})\",\"instance_default_simple\":\"(по умолчанию)\",\"interface\":\"Интерфейс\",\"interfaceLanguage\":\"Язык интерфейса\",\"limited_availability\":\"Не доступно в вашем браузере\",\"links\":\"Ссылки\",\"lock_account_description\":\"Аккаунт доступен только подтверждённым подписчикам\",\"loop_video\":\"Зациливать видео\",\"loop_video_silent_only\":\"Зацикливать только беззвучные видео (т.е. \\\"гифки\\\" с Mastodon)\",\"name\":\"Имя\",\"name_bio\":\"Имя и описание\",\"new_password\":\"Новый пароль\",\"notification_visibility\":\"Показывать уведомления\",\"notification_visibility_follows\":\"Подписки\",\"notification_visibility_likes\":\"Лайки\",\"notification_visibility_mentions\":\"Упоминания\",\"notification_visibility_repeats\":\"Повторы\",\"no_rich_text_description\":\"Убрать форматирование из всех постов\",\"hide_follows_description\":\"Не показывать кого я читаю\",\"hide_followers_description\":\"Не показывать кто читает меня\",\"show_admin_badge\":\"Показывать значок администратора в моем профиле\",\"show_moderator_badge\":\"Показывать значок модератора в моем профиле\",\"nsfw_clickthrough\":\"Включить скрытие NSFW вложений\",\"oauth_tokens\":\"OAuth токены\",\"token\":\"Токен\",\"refresh_token\":\"Рефреш токен\",\"valid_until\":\"Годен до\",\"revoke_token\":\"Удалить\",\"panelRadius\":\"Панели\",\"pause_on_unfocused\":\"Приостановить загрузку когда вкладка не в фокусе\",\"presets\":\"Пресеты\",\"profile_background\":\"Фон профиля\",\"profile_banner\":\"Баннер профиля\",\"profile_tab\":\"Профиль\",\"radii_help\":\"Скругление углов элементов интерфейса (в пикселях)\",\"replies_in_timeline\":\"Ответы в ленте\",\"reply_link_preview\":\"Включить предварительный просмотр ответа при наведении мыши\",\"reply_visibility_all\":\"Показывать все ответы\",\"reply_visibility_following\":\"Показывать только ответы мне и тех на кого я подписан\",\"reply_visibility_self\":\"Показывать только ответы мне\",\"saving_err\":\"Не удалось сохранить настройки\",\"saving_ok\":\"Сохранено\",\"security_tab\":\"Безопасность\",\"scope_copy\":\"Копировать видимость поста при ответе (всегда включено для Личных Сообщений)\",\"minimal_scopes_mode\":\"Минимизировать набор опций видимости поста\",\"set_new_avatar\":\"Загрузить новый аватар\",\"set_new_profile_background\":\"Загрузить новый фон профиля\",\"set_new_profile_banner\":\"Загрузить новый баннер профиля\",\"settings\":\"Настройки\",\"subject_input_always_show\":\"Всегда показывать поле ввода темы\",\"stop_gifs\":\"Проигрывать GIF анимации только при наведении\",\"streaming\":\"Включить автоматическую загрузку новых сообщений при прокрутке вверх\",\"text\":\"Текст\",\"theme\":\"Тема\",\"theme_help\":\"Используйте шестнадцатеричные коды цветов (#rrggbb) для настройки темы.\",\"theme_help_v2_1\":\"Вы так же можете перепоределить цвета определенных компонентов нажав соотв. галочку. Используйте кнопку \\\"Очистить всё\\\" чтобы снять все переопределения\",\"theme_help_v2_2\":\"Под некоторыми полями ввода это идикаторы контрастности, наведите на них мышью чтобы узнать больше. Приспользовании прозрачности контраст расчитывается для наихудшего варианта.\",\"tooltipRadius\":\"Всплывающие подсказки/уведомления\",\"user_settings\":\"Настройки пользователя\",\"values\":{\"false\":\"нет\",\"true\":\"да\"},\"style\":{\"switcher\":{\"keep_color\":\"Оставить цвета\",\"keep_shadows\":\"Оставить тени\",\"keep_opacity\":\"Оставить прозрачность\",\"keep_roundness\":\"Оставить скругление\",\"keep_fonts\":\"Оставить шрифты\",\"save_load_hint\":\"Опции \\\"оставить...\\\" позволяют сохранить текущие настройки при выборе другой темы или импорта её из файла. Так же они влияют на то какие компоненты будут сохранены при экспорте темы. Когда все галочки сняты все компоненты будут экспортированы.\",\"reset\":\"Сбросить\",\"clear_all\":\"Очистить всё\",\"clear_opacity\":\"Очистить прозрачность\"},\"common\":{\"color\":\"Цвет\",\"opacity\":\"Прозрачность\",\"contrast\":{\"hint\":\"Уровень контраста: {ratio}, что {level} {context}\",\"level\":{\"aa\":\"соответствует гайдлайну Level AA (минимальный)\",\"aaa\":\"соответствует гайдлайну Level AAA (рекомендуемый)\",\"bad\":\"не соответствует каким либо гайдлайнам\"},\"context\":{\"18pt\":\"для крупного (18pt+) текста\",\"text\":\"для текста\"}}},\"common_colors\":{\"_tab_label\":\"Общие\",\"main\":\"Общие цвета\",\"foreground_hint\":\"См. вкладку \\\"Дополнительно\\\" для более детального контроля\",\"rgbo\":\"Иконки, акценты, ярылки\"},\"advanced_colors\":{\"_tab_label\":\"Дополнительно\",\"alert\":\"Фон уведомлений\",\"alert_error\":\"Ошибки\",\"badge\":\"Фон значков\",\"badge_notification\":\"Уведомления\",\"panel_header\":\"Заголовок панели\",\"top_bar\":\"Верняя полоска\",\"borders\":\"Границы\",\"buttons\":\"Кнопки\",\"inputs\":\"Поля ввода\",\"faint_text\":\"Маловажный текст\"},\"radii\":{\"_tab_label\":\"Скругление\"},\"shadows\":{\"_tab_label\":\"Светотень\",\"component\":\"Компонент\",\"override\":\"Переопределить\",\"shadow_id\":\"Тень №{value}\",\"blur\":\"Размытие\",\"spread\":\"Разброс\",\"inset\":\"Внутренняя\",\"hint\":\"Для теней вы так же можете использовать --variable в качестве цвета чтобы использовать CSS3-переменные. В таком случае прозрачность работать не будет.\",\"filter_hint\":{\"always_drop_shadow\":\"Внимание, эта тень всегда использует {0} когда браузер поддерживает это\",\"drop_shadow_syntax\":\"{0} не поддерживает параметр {1} и ключевое слово {2}\",\"avatar_inset\":\"Одновременное использование внутренних и внешних теней на (прозрачных) аватарках может дать не те результаты что вы ожидаете\",\"spread_zero\":\"Тени с разбросом > 0 будут выглядеть как если бы разброс установлен в 0\",\"inset_classic\":\"Внутренние тени будут использовать {0}\"},\"components\":{\"panel\":\"Панель\",\"panelHeader\":\"Заголовок панели\",\"topBar\":\"Верхняя полоска\",\"avatar\":\"Аватарка (профиль)\",\"avatarStatus\":\"Аватарка (в ленте)\",\"popup\":\"Всплывающие подсказки\",\"button\":\"Кнопки\",\"buttonHover\":\"Кнопки (наведен курсор)\",\"buttonPressed\":\"Кнопки (нажата)\",\"buttonPressedHover\":\"Кнопки (нажата+наведен курсор)\",\"input\":\"Поля ввода\"}},\"fonts\":{\"_tab_label\":\"Шрифты\",\"help\":\"Выберите тип шрифта для использования в интерфейсе. При выборе варианта \\\"другой\\\" надо ввести название шрифта в точности как он называется в системе.\",\"components\":{\"interface\":\"Интерфейс\",\"input\":\"Поля ввода\",\"post\":\"Текст постов\",\"postCode\":\"Моноширинный текст в посте (форматирование)\"},\"family\":\"Шрифт\",\"size\":\"Размер (в пикселях)\",\"weight\":\"Ширина\",\"custom\":\"Другой\"},\"preview\":{\"header\":\"Пример\",\"content\":\"Контент\",\"error\":\"Ошибка стоп 000\",\"button\":\"Кнопка\",\"text\":\"Еще немного {0} и масенькая {1}\",\"mono\":\"контента\",\"input\":\"Что нового?\",\"faint_link\":\"Его придется убрать\",\"fine_print\":\"Если проблемы остались — ваш гуртовщик мыши плохо стоит. {0}.\",\"header_faint\":\"Все идет по плану\",\"checkbox\":\"Я подтверждаю что не было ни единого разрыва\",\"link\":\"ссылка\"}}},\"timeline\":{\"collapse\":\"Свернуть\",\"conversation\":\"Разговор\",\"error_fetching\":\"Ошибка при обновлении\",\"load_older\":\"Загрузить старые статусы\",\"no_retweet_hint\":\"Пост помечен как \\\"только для подписчиков\\\" или \\\"личное\\\" и поэтому не может быть повторён\",\"repeated\":\"повторил(а)\",\"show_new\":\"Показать новые\",\"up_to_date\":\"Обновлено\"},\"user_card\":{\"block\":\"Заблокировать\",\"blocked\":\"Заблокирован\",\"favorites\":\"Понравившиеся\",\"follow\":\"Читать\",\"follow_sent\":\"Запрос отправлен!\",\"follow_progress\":\"Запрашиваем…\",\"follow_again\":\"Запросить еще заново?\",\"follow_unfollow\":\"Перестать читать\",\"followees\":\"Читаемые\",\"followers\":\"Читатели\",\"following\":\"Читаю\",\"follows_you\":\"Читает вас\",\"mute\":\"Игнорировать\",\"muted\":\"Игнорирую\",\"per_day\":\"в день\",\"remote_follow\":\"Читать удалённо\",\"statuses\":\"Статусы\",\"admin_menu\":{\"moderation\":\"Опции модератора\",\"grant_admin\":\"Сделать администратором\",\"revoke_admin\":\"Забрать права администратора\",\"grant_moderator\":\"Сделать модератором\",\"revoke_moderator\":\"Забрать права модератора\",\"activate_account\":\"Активировать аккаунт\",\"deactivate_account\":\"Деактивировать аккаунт\",\"delete_account\":\"Удалить аккаунт\",\"force_nsfw\":\"Отмечать посты пользователя как NSFW\",\"strip_media\":\"Убирать вложения из постов пользователя\",\"force_unlisted\":\"Не добавлять посты в публичные ленты\",\"sandbox\":\"Посты доступны только для подписчиков\",\"disable_remote_subscription\":\"Запретить подписываться с удаленных серверов\",\"disable_any_subscription\":\"Запретить подписываться на пользователя\",\"quarantine\":\"Не федерировать посты пользователя\",\"delete_user\":\"Удалить пользователя\",\"delete_user_confirmation\":\"Вы уверены? Это действие нельзя отменить.\"}},\"user_profile\":{\"timeline_title\":\"Лента пользователя\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/ru.json\n// module id = 506\n// module chunks = 2","module.exports = {\"chat\":{\"title\":\"聊天\"},\"features_panel\":{\"chat\":\"聊天\",\"gopher\":\"Gopher\",\"media_proxy\":\"媒体代理\",\"scope_options\":\"可见范围设置\",\"text_limit\":\"文本长度限制\",\"title\":\"功能\",\"who_to_follow\":\"推荐关注\"},\"finder\":{\"error_fetching_user\":\"获取用户时发生错误\",\"find_user\":\"寻找用户\"},\"general\":{\"apply\":\"应用\",\"submit\":\"提交\"},\"login\":{\"login\":\"登录\",\"logout\":\"登出\",\"password\":\"密码\",\"placeholder\":\"例如:lain\",\"register\":\"注册\",\"username\":\"用户名\"},\"nav\":{\"chat\":\"本地聊天\",\"friend_requests\":\"关注请求\",\"mentions\":\"提及\",\"public_tl\":\"公共时间线\",\"timeline\":\"时间线\",\"twkn\":\"所有已知网络\"},\"notifications\":{\"broken_favorite\":\"未知的状态,正在搜索中...\",\"favorited_you\":\"收藏了你的状态\",\"followed_you\":\"关注了你\",\"load_older\":\"加载更早的通知\",\"notifications\":\"通知\",\"read\":\"阅读!\",\"repeated_you\":\"转发了你的状态\"},\"post_status\":{\"account_not_locked_warning\":\"你的帐号没有 {0}。任何人都可以关注你并浏览你的上锁内容。\",\"account_not_locked_warning_link\":\"上锁\",\"attachments_sensitive\":\"标记附件为敏感内容\",\"content_type\":{\"text/plain\":\"纯文本\"},\"content_warning\":\"主题(可选)\",\"default\":\"刚刚抵达上海\",\"direct_warning\":\"本条内容只有被提及的用户能够看到。\",\"posting\":\"发送\",\"scope\":{\"direct\":\"私信 - 只发送给被提及的用户\",\"private\":\"仅关注者 - 只有关注了你的人能看到\",\"public\":\"公共 - 发送到公共时间轴\",\"unlisted\":\"不公开 - 所有人可见,但不会发送到公共时间轴\"}},\"registration\":{\"bio\":\"简介\",\"email\":\"电子邮箱\",\"fullname\":\"全名\",\"password_confirm\":\"确认密码\",\"registration\":\"注册\",\"token\":\"邀请码\"},\"settings\":{\"attachmentRadius\":\"附件\",\"attachments\":\"附件\",\"autoload\":\"启用滚动到底部时的自动加载\",\"avatar\":\"头像\",\"avatarAltRadius\":\"头像(通知)\",\"avatarRadius\":\"头像\",\"background\":\"背景\",\"bio\":\"简介\",\"btnRadius\":\"按钮\",\"cBlue\":\"蓝色(回复,关注)\",\"cGreen\":\"绿色(转发)\",\"cOrange\":\"橙色(收藏)\",\"cRed\":\"红色(取消)\",\"change_password\":\"修改密码\",\"change_password_error\":\"修改密码的时候出了点问题。\",\"changed_password\":\"成功修改了密码!\",\"collapse_subject\":\"折叠带主题的内容\",\"confirm_new_password\":\"确认新密码\",\"current_avatar\":\"当前头像\",\"current_password\":\"当前密码\",\"current_profile_banner\":\"您当前的横幅图片\",\"data_import_export_tab\":\"数据导入/导出\",\"default_vis\":\"默认可见范围\",\"delete_account\":\"删除账户\",\"delete_account_description\":\"永久删除你的帐号和所有消息。\",\"delete_account_error\":\"删除账户时发生错误,如果一直删除不了,请联系实例管理员。\",\"delete_account_instructions\":\"在下面输入你的密码来确认删除账户\",\"export_theme\":\"导出预置主题\",\"filtering\":\"过滤器\",\"filtering_explanation\":\"所有包含以下词汇的内容都会被隐藏,一行一个\",\"follow_export\":\"导出关注\",\"follow_export_button\":\"将关注导出成 csv 文件\",\"follow_export_processing\":\"正在处理,过一会儿就可以下载你的文件了\",\"follow_import\":\"导入关注\",\"follow_import_error\":\"导入关注时错误\",\"follows_imported\":\"关注已导入!尚需要一些时间来处理。\",\"foreground\":\"前景\",\"general\":\"通用\",\"hide_attachments_in_convo\":\"在对话中隐藏附件\",\"hide_attachments_in_tl\":\"在时间线上隐藏附件\",\"hide_post_stats\":\"隐藏推文相关的统计数据(例如:收藏的次数)\",\"hide_user_stats\":\"隐藏用户的统计数据(例如:关注者的数量)\",\"import_followers_from_a_csv_file\":\"从 csv 文件中导入关注\",\"import_theme\":\"导入预置主题\",\"inputRadius\":\"输入框\",\"instance_default\":\"(默认:{value})\",\"interfaceLanguage\":\"界面语言\",\"invalid_theme_imported\":\"您所选择的主题文件不被 Pleroma 支持,因此主题未被修改。\",\"limited_availability\":\"在您的浏览器中无法使用\",\"links\":\"链接\",\"lock_account_description\":\"你需要手动审核关注请求\",\"loop_video\":\"循环视频\",\"loop_video_silent_only\":\"只循环没有声音的视频(例如:Mastodon 里的“GIF”)\",\"name\":\"名字\",\"name_bio\":\"名字及简介\",\"new_password\":\"新密码\",\"notification_visibility\":\"要显示的通知类型\",\"notification_visibility_follows\":\"关注\",\"notification_visibility_likes\":\"点赞\",\"notification_visibility_mentions\":\"提及\",\"notification_visibility_repeats\":\"转发\",\"no_rich_text_description\":\"不显示富文本格式\",\"nsfw_clickthrough\":\"将不和谐附件隐藏,点击才能打开\",\"oauth_tokens\":\"OAuth令牌\",\"token\":\"代币\",\"refresh_token\":\"刷新令牌\",\"valid_until\":\"有效期至\",\"revoke_token\":\"撤消\",\"panelRadius\":\"面板\",\"pause_on_unfocused\":\"在离开页面时暂停时间线推送\",\"presets\":\"预置\",\"profile_background\":\"个人资料背景图\",\"profile_banner\":\"横幅图片\",\"profile_tab\":\"个人资料\",\"radii_help\":\"设置界面边缘的圆角 (单位:像素)\",\"replies_in_timeline\":\"时间线中的回复\",\"reply_link_preview\":\"启用鼠标悬停时预览回复链接\",\"reply_visibility_all\":\"显示所有回复\",\"reply_visibility_following\":\"只显示发送给我的回复/发送给我关注的用户的回复\",\"reply_visibility_self\":\"只显示发送给我的回复\",\"saving_err\":\"保存设置时发生错误\",\"saving_ok\":\"设置已保存\",\"security_tab\":\"安全\",\"set_new_avatar\":\"设置新头像\",\"set_new_profile_background\":\"设置新的个人资料背景\",\"set_new_profile_banner\":\"设置新的横幅图片\",\"settings\":\"设置\",\"stop_gifs\":\"鼠标悬停时播放GIF\",\"streaming\":\"开启滚动到顶部时的自动推送\",\"text\":\"文本\",\"theme\":\"主题\",\"theme_help\":\"使用十六进制代码(#rrggbb)来设置主题颜色。\",\"tooltipRadius\":\"提醒\",\"user_settings\":\"用户设置\",\"values\":{\"false\":\"否\",\"true\":\"是\"}},\"timeline\":{\"collapse\":\"折叠\",\"conversation\":\"对话\",\"error_fetching\":\"获取更新时发生错误\",\"load_older\":\"加载更早的状态\",\"no_retweet_hint\":\"这条内容仅关注者可见,或者是私信,因此不能转发。\",\"repeated\":\"已转发\",\"show_new\":\"显示新内容\",\"up_to_date\":\"已是最新\"},\"user_card\":{\"approve\":\"允许\",\"block\":\"屏蔽\",\"blocked\":\"已屏蔽!\",\"deny\":\"拒绝\",\"follow\":\"关注\",\"followees\":\"正在关注\",\"followers\":\"关注者\",\"following\":\"正在关注!\",\"follows_you\":\"关注了你!\",\"mute\":\"隐藏\",\"muted\":\"已隐藏\",\"per_day\":\"每天\",\"remote_follow\":\"跨站关注\",\"statuses\":\"状态\"},\"user_profile\":{\"timeline_title\":\"用户时间线\"},\"who_to_follow\":{\"more\":\"更多\",\"who_to_follow\":\"推荐关注\"}}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/i18n/zh.json\n// module id = 507\n// module chunks = 2","module.exports = [\"teď\",[\"%s s\",\"%s s\"],[\"%s min\",\"%s min\"],[\"%s h\",\"%s h\"],[\"%s d\",\"%s d\"],[\"%s týd\",\"%s týd\"],[\"%s měs\",\"%s měs\"],[\"%s r\",\"%s l\"]]\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./static/timeago-cs.json\n// module id = 508\n// module chunks = 2","module.exports = [\"now\",[\"%ss\",\"%ss\"],[\"%smin\",\"%smin\"],[\"%sh\",\"%sh\"],[\"%sd\",\"%sd\"],[\"%sw\",\"%sw\"],[\"%smo\",\"%smo\"],[\"%sy\",\"%sy\"]]\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./static/timeago-en.json\n// module id = 509\n// module chunks = 2","module.exports = [\"たった今\",\"%s 秒前\",\"%s 分前\",\"%s 時間前\",\"%s 日前\",\"%s 週間前\",\"%s ヶ月前\",\"%s 年前\"]\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./static/timeago-ja.json\n// module id = 510\n// module chunks = 2","module.exports = __webpack_public_path__ + \"static/img/nsfw.74818f9.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/nsfw.png\n// module id = 683\n// module chunks = 2","\n/* styles */\nrequire(\"!!../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-e918ada2\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./App.scss\")\n\nvar Component = require(\"!../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./App.js\"),\n /* template */\n require(\"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-e918ada2\\\"}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = 687\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-a9b2b458\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./about.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./about.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-a9b2b458\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./about.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/about/about.vue\n// module id = 688\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-1f75a0a4\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./autosuggest.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./autosuggest.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1f75a0a4\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./autosuggest.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/autosuggest/autosuggest.vue\n// module id = 689\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-0cfc2f90\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./block_card.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./block_card.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0cfc2f90\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./block_card.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/block_card/block_card.vue\n// module id = 690\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-23dd4dd0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./checkbox.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./checkbox.vue\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-23dd4dd0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./checkbox.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/checkbox/checkbox.vue\n// module id = 691\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-1a970f38\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./contrast_ratio.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./contrast_ratio.vue\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1a970f38\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./contrast_ratio.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/contrast_ratio/contrast_ratio.vue\n// module id = 692\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./conversation-page.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1771daec\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./conversation-page.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/conversation-page/conversation-page.vue\n// module id = 693\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-0b8ce2f4\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./delete_button.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./delete_button.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0b8ce2f4\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./delete_button.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/delete_button/delete_button.vue\n// module id = 694\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-419c6cf8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./dialog_modal.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./dialog_modal.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-419c6cf8\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./dialog_modal.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/dialog_modal/dialog_modal.vue\n// module id = 695\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./dm_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d8bc97b0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./dm_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/dm_timeline/dm_timeline.vue\n// module id = 696\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-45eb80cc\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./export_import.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./export_import.vue\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-45eb80cc\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./export_import.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/export_import/export_import.vue\n// module id = 697\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-08c6b5b8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./favorite_button.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./favorite_button.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-08c6b5b8\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./favorite_button.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/favorite_button/favorite_button.vue\n// module id = 698\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-45e71c56\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./follow_request_card.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./follow_request_card.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-45e71c56\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./follow_request_card.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/follow_request_card/follow_request_card.vue\n// module id = 699\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./follow_requests.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-56ec10de\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./follow_requests.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/follow_requests/follow_requests.vue\n// module id = 700\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-2979f658\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./font_control.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./font_control.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2979f658\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./font_control.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/font_control/font_control.vue\n// module id = 701\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./friends_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-87ffcfd0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./friends_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/friends_timeline/friends_timeline.vue\n// module id = 702\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-34b44944\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./gallery.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./gallery.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-34b44944\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./gallery.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/gallery/gallery.vue\n// module id = 703\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-0803a50c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./image_cropper.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./image_cropper.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0803a50c\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./image_cropper.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/image_cropper/image_cropper.vue\n// module id = 704\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./interface_language_switcher.vue\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-119964fe\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./interface_language_switcher.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/interface_language_switcher/interface_language_switcher.vue\n// module id = 705\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-4cb37358\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./link-preview.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./link-preview.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4cb37358\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./link-preview.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/link-preview/link-preview.vue\n// module id = 706\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-1351175e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./media_modal.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./media_modal.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1351175e\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./media_modal.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/media_modal/media_modal.vue\n// module id = 707\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-32209eb8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./media_upload.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./media_upload.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-32209eb8\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./media_upload.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/media_upload/media_upload.vue\n// module id = 708\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./mentions.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2de5c050\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./mentions.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/mentions/mentions.vue\n// module id = 709\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-8c712490\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./mobile_nav.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./mobile_nav.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-8c712490\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./mobile_nav.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/mobile_nav/mobile_nav.vue\n// module id = 710\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-fd544d34\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./mute_card.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./mute_card.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-fd544d34\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./mute_card.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/mute_card/mute_card.vue\n// module id = 711\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-23ab246c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./nav_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./nav_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-23ab246c\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./nav_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/nav_panel/nav_panel.vue\n// module id = 712\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./notification.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-46ab3318\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./notification.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/notification/notification.vue\n// module id = 713\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./oauth_callback.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3b485558\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./oauth_callback.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/oauth_callback/oauth_callback.vue\n// module id = 714\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./progress_button.vue\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-27148cc2\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./progress_button.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/progress_button/progress_button.vue\n// module id = 715\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./public_and_external_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b0da3ad0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./public_and_external_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/public_and_external_timeline/public_and_external_timeline.vue\n// module id = 716\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./public_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-84f9a930\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./public_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/public_timeline/public_timeline.vue\n// module id = 717\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../../../node_modules/vue-loader/lib/selector?type=script&index=0!./range_input.vue\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-b947c06c\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./range_input.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/range_input/range_input.vue\n// module id = 718\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-23a871d8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./registration.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./registration.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-23a871d8\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./registration.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/registration/registration.vue\n// module id = 719\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-28288ed0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./retweet_button.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./retweet_button.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-28288ed0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./retweet_button.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/retweet_button/retweet_button.vue\n// module id = 720\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-237f0e88\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./selectable_list.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./selectable_list.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-237f0e88\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./selectable_list.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/selectable_list/selectable_list.vue\n// module id = 721\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-5719c518\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./settings.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./settings.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-5719c518\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./settings.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/settings/settings.vue\n// module id = 722\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-75a4cd90\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./shadow_control.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./shadow_control.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-75a4cd90\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./shadow_control.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/shadow_control/shadow_control.vue\n// module id = 723\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n null,\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2da7d1a2\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./preview.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/style_switcher/preview.vue\n// module id = 724\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./tag_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-59e5a210\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./tag_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/tag_timeline/tag_timeline.vue\n// module id = 725\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-37956e90\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./terms_of_service_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./terms_of_service_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-37956e90\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./terms_of_service_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/terms_of_service_panel/terms_of_service_panel.vue\n// module id = 726\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-7ca85c6e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_finder.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_finder.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-7ca85c6e\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_finder.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_finder/user_finder.vue\n// module id = 727\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-a72b9910\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_panel/user_panel.vue\n// module id = 728\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-26005b58\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_profile.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_profile.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-26005b58\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_profile.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_profile/user_profile.vue\n// module id = 729\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-c7873b1c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_search.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_search.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-c7873b1c\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_search.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_search/user_search.vue\n// module id = 730\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-06130768\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_settings.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_settings.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-06130768\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_settings.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_settings/user_settings.vue\n// module id = 731\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-6a618ce2\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./who_to_follow.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./who_to_follow.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6a618ce2\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./who_to_follow.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/who_to_follow/who_to_follow.vue\n// module id = 732\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-bf9ee3a8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./who_to_follow_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./who_to_follow_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-bf9ee3a8\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./who_to_follow_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/who_to_follow_panel/who_to_follow_panel.vue\n// module id = 733\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-e68535ce\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../vue-loader/lib/selector?type=styles&index=0!./popper.js.vue\")\n\nvar Component = require(\"!../../../vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!../../../vue-loader/lib/selector?type=script&index=0!./popper.js.vue\"),\n /* template */\n require(\"!!../../../vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-e68535ce\\\"}!../../../vue-loader/lib/selector?type=template&index=0!./popper.js.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-popperjs/src/component/popper.js.vue\n// module id = 734\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"login panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('login.login')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [(_vm.loginMethod == 'password') ? _c('form', {\n staticClass: \"login-form\",\n on: {\n \"submit\": function($event) {\n $event.preventDefault();\n _vm.submit(_vm.user)\n }\n }\n }, [_c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"username\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.username')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.username),\n expression: \"user.username\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"id\": \"username\",\n \"placeholder\": _vm.$t('login.placeholder')\n },\n domProps: {\n \"value\": (_vm.user.username)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"username\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"password\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.password),\n expression: \"user.password\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"id\": \"password\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.user.password)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"password\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"login-bottom\"\n }, [_c('div', [(_vm.registrationOpen) ? _c('router-link', {\n staticClass: \"register\",\n attrs: {\n \"to\": {\n name: 'registration'\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('login.register')))]) : _vm._e()], 1), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"type\": \"submit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.login')))])])])]) : _vm._e(), _vm._v(\" \"), (_vm.loginMethod == 'token') ? _c('form', {\n staticClass: \"login-form\",\n on: {\n \"submit\": function($event) {\n $event.preventDefault();\n return _vm.oAuthLogin($event)\n }\n }\n }, [_c('div', {\n staticClass: \"form-group\"\n }, [_c('p', [_vm._v(_vm._s(_vm.$t('login.description')))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"login-bottom\"\n }, [_c('div', [(_vm.registrationOpen) ? _c('router-link', {\n staticClass: \"register\",\n attrs: {\n \"to\": {\n name: 'registration'\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('login.register')))]) : _vm._e()], 1), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"type\": \"submit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.login')))])])])]) : _vm._e(), _vm._v(\" \"), (_vm.authError) ? _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.authError) + \"\\n \"), _c('i', {\n staticClass: \"button-icon icon-cancel\",\n on: {\n \"click\": _vm.clearError\n }\n })])]) : _vm._e()])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-017c4138\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/login_form/login_form.vue\n// module id = 735\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"color-control style-control\",\n class: {\n disabled: !_vm.present || _vm.disabled\n }\n }, [_c('label', {\n staticClass: \"label\",\n attrs: {\n \"for\": _vm.name\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.label) + \"\\n \")]), _vm._v(\" \"), (typeof _vm.fallback !== 'undefined') ? _c('input', {\n staticClass: \"opt exlcude-disabled\",\n attrs: {\n \"id\": _vm.name + '-o',\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": _vm.present\n },\n on: {\n \"input\": function($event) {\n _vm.$emit('input', typeof _vm.value === 'undefined' ? _vm.fallback : undefined)\n }\n }\n }) : _vm._e(), _vm._v(\" \"), (typeof _vm.fallback !== 'undefined') ? _c('label', {\n staticClass: \"opt-l\",\n attrs: {\n \"for\": _vm.name + '-o'\n }\n }) : _vm._e(), _vm._v(\" \"), _c('input', {\n staticClass: \"color-input\",\n attrs: {\n \"id\": _vm.name,\n \"type\": \"color\",\n \"disabled\": !_vm.present || _vm.disabled\n },\n domProps: {\n \"value\": _vm.value || _vm.fallback\n },\n on: {\n \"input\": function($event) {\n _vm.$emit('input', $event.target.value)\n }\n }\n }), _vm._v(\" \"), _c('input', {\n staticClass: \"text-input\",\n attrs: {\n \"id\": _vm.name + '-t',\n \"type\": \"text\",\n \"disabled\": !_vm.present || _vm.disabled\n },\n domProps: {\n \"value\": _vm.value || _vm.fallback\n },\n on: {\n \"input\": function($event) {\n _vm.$emit('input', $event.target.value)\n }\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-04195416\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/color_input/color_input.vue\n// module id = 736\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"settings panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.user_settings')) + \"\\n \")]), _vm._v(\" \"), _c('transition', {\n attrs: {\n \"name\": \"fade\"\n }\n }, [(_vm.currentSaveStateNotice) ? [(_vm.currentSaveStateNotice.error) ? _c('div', {\n staticClass: \"alert error\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.saving_err')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.currentSaveStateNotice.error) ? _c('div', {\n staticClass: \"alert transparent\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.saving_ok')) + \"\\n \")]) : _vm._e()] : _vm._e()], 2)], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body profile-edit\"\n }, [_c('tab-switcher', [_c('div', {\n attrs: {\n \"label\": _vm.$t('settings.profile_tab')\n }\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.name_bio')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.name')))]), _vm._v(\" \"), _c('EmojiInput', {\n attrs: {\n \"type\": \"text\",\n \"id\": \"username\",\n \"classname\": \"name-changer\"\n },\n model: {\n value: (_vm.newName),\n callback: function($$v) {\n _vm.newName = $$v\n },\n expression: \"newName\"\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.bio')))]), _vm._v(\" \"), _c('EmojiInput', {\n attrs: {\n \"type\": \"textarea\",\n \"classname\": \"bio\"\n },\n model: {\n value: (_vm.newBio),\n callback: function($$v) {\n _vm.newBio = $$v\n },\n expression: \"newBio\"\n }\n }), _vm._v(\" \"), _c('p', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newLocked),\n expression: \"newLocked\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"account-locked\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.newLocked) ? _vm._i(_vm.newLocked, null) > -1 : (_vm.newLocked)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.newLocked,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.newLocked = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.newLocked = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.newLocked = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"account-locked\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.lock_account_description')))])]), _vm._v(\" \"), _c('div', [_c('label', {\n attrs: {\n \"for\": \"default-vis\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.default_vis')))]), _vm._v(\" \"), _c('div', {\n staticClass: \"visibility-tray\",\n attrs: {\n \"id\": \"default-vis\"\n }\n }, [_c('scope-selector', {\n attrs: {\n \"showAll\": true,\n \"userDefault\": _vm.newDefaultScope,\n \"onScopeChange\": _vm.changeVis\n }\n })], 1)]), _vm._v(\" \"), _c('p', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newNoRichText),\n expression: \"newNoRichText\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"account-no-rich-text\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.newNoRichText) ? _vm._i(_vm.newNoRichText, null) > -1 : (_vm.newNoRichText)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.newNoRichText,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.newNoRichText = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.newNoRichText = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.newNoRichText = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"account-no-rich-text\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.no_rich_text_description')))])]), _vm._v(\" \"), _c('p', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideFollows),\n expression: \"hideFollows\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"account-hide-follows\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideFollows) ? _vm._i(_vm.hideFollows, null) > -1 : (_vm.hideFollows)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideFollows,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideFollows = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideFollows = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideFollows = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"account-hide-follows\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.hide_follows_description')))])]), _vm._v(\" \"), _c('p', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideFollowers),\n expression: \"hideFollowers\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"account-hide-followers\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideFollowers) ? _vm._i(_vm.hideFollowers, null) > -1 : (_vm.hideFollowers)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideFollowers,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideFollowers = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideFollowers = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideFollowers = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"account-hide-followers\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.hide_followers_description')))])]), _vm._v(\" \"), _c('p', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.showRole),\n expression: \"showRole\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"account-show-role\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.showRole) ? _vm._i(_vm.showRole, null) > -1 : (_vm.showRole)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.showRole,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.showRole = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.showRole = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.showRole = $$c\n }\n }\n }\n }), _vm._v(\" \"), (_vm.role === 'admin') ? _c('label', {\n attrs: {\n \"for\": \"account-show-role\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.show_admin_badge')))]) : _vm._e(), _vm._v(\" \"), (_vm.role === 'moderator') ? _c('label', {\n attrs: {\n \"for\": \"account-show-role\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.show_moderator_badge')))]) : _vm._e()]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.newName && _vm.newName.length === 0\n },\n on: {\n \"click\": _vm.updateProfile\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.avatar')))]), _vm._v(\" \"), _c('p', {\n staticClass: \"visibility-notice\"\n }, [_vm._v(_vm._s(_vm.$t('settings.avatar_size_instruction')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.current_avatar')))]), _vm._v(\" \"), _c('img', {\n staticClass: \"current-avatar\",\n attrs: {\n \"src\": _vm.user.profile_image_url_original\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_avatar')))]), _vm._v(\" \"), _c('button', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.pickAvatarBtnVisible),\n expression: \"pickAvatarBtnVisible\"\n }],\n staticClass: \"btn\",\n attrs: {\n \"type\": \"button\",\n \"id\": \"pick-avatar\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.upload_a_photo')))]), _vm._v(\" \"), _c('image-cropper', {\n attrs: {\n \"trigger\": \"#pick-avatar\",\n \"submitHandler\": _vm.submitAvatar\n },\n on: {\n \"open\": function($event) {\n _vm.pickAvatarBtnVisible = false\n },\n \"close\": function($event) {\n _vm.pickAvatarBtnVisible = true\n }\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.profile_banner')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.current_profile_banner')))]), _vm._v(\" \"), _c('img', {\n staticClass: \"banner\",\n attrs: {\n \"src\": _vm.user.cover_photo\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_profile_banner')))]), _vm._v(\" \"), (_vm.bannerPreview) ? _c('img', {\n staticClass: \"banner\",\n attrs: {\n \"src\": _vm.bannerPreview\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": function($event) {\n _vm.uploadFile('banner', $event)\n }\n }\n })]), _vm._v(\" \"), (_vm.bannerUploading) ? _c('i', {\n staticClass: \" icon-spin4 animate-spin uploading\"\n }) : (_vm.bannerPreview) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.submitBanner\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e(), _vm._v(\" \"), (_vm.bannerUploadError) ? _c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(\"\\n Error: \" + _vm._s(_vm.bannerUploadError) + \"\\n \"), _c('i', {\n staticClass: \"button-icon icon-cancel\",\n on: {\n \"click\": function($event) {\n _vm.clearUploadError('banner')\n }\n }\n })]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.profile_background')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_profile_background')))]), _vm._v(\" \"), (_vm.backgroundPreview) ? _c('img', {\n staticClass: \"bg\",\n attrs: {\n \"src\": _vm.backgroundPreview\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": function($event) {\n _vm.uploadFile('background', $event)\n }\n }\n })]), _vm._v(\" \"), (_vm.backgroundUploading) ? _c('i', {\n staticClass: \" icon-spin4 animate-spin uploading\"\n }) : (_vm.backgroundPreview) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.submitBg\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e(), _vm._v(\" \"), (_vm.backgroundUploadError) ? _c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(\"\\n Error: \" + _vm._s(_vm.backgroundUploadError) + \"\\n \"), _c('i', {\n staticClass: \"button-icon icon-cancel\",\n on: {\n \"click\": function($event) {\n _vm.clearUploadError('background')\n }\n }\n })]) : _vm._e()])]), _vm._v(\" \"), _c('div', {\n attrs: {\n \"label\": _vm.$t('settings.security_tab')\n }\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.change_password')))]), _vm._v(\" \"), _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.current_password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.changePasswordInputs[0]),\n expression: \"changePasswordInputs[0]\"\n }],\n attrs: {\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.changePasswordInputs[0])\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.changePasswordInputs, 0, $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.new_password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.changePasswordInputs[1]),\n expression: \"changePasswordInputs[1]\"\n }],\n attrs: {\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.changePasswordInputs[1])\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.changePasswordInputs, 1, $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.confirm_new_password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.changePasswordInputs[2]),\n expression: \"changePasswordInputs[2]\"\n }],\n attrs: {\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.changePasswordInputs[2])\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.changePasswordInputs, 2, $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.changePassword\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]), _vm._v(\" \"), (_vm.changedPassword) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.changed_password')))]) : (_vm.changePasswordError !== false) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.change_password_error')))]) : _vm._e(), _vm._v(\" \"), (_vm.changePasswordError) ? _c('p', [_vm._v(_vm._s(_vm.changePasswordError))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.oauth_tokens')))]), _vm._v(\" \"), _c('table', {\n staticClass: \"oauth-tokens\"\n }, [_c('thead', [_c('tr', [_c('th', [_vm._v(_vm._s(_vm.$t('settings.app_name')))]), _vm._v(\" \"), _c('th', [_vm._v(_vm._s(_vm.$t('settings.valid_until')))]), _vm._v(\" \"), _c('th')])]), _vm._v(\" \"), _c('tbody', _vm._l((_vm.oauthTokens), function(oauthToken) {\n return _c('tr', {\n key: oauthToken.id\n }, [_c('td', [_vm._v(_vm._s(oauthToken.appName))]), _vm._v(\" \"), _c('td', [_vm._v(_vm._s(oauthToken.validUntil))]), _vm._v(\" \"), _c('td', {\n staticClass: \"actions\"\n }, [_c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": function($event) {\n _vm.revokeToken(oauthToken.id)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.revoke_token')) + \"\\n \")])])])\n }), 0)])]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.delete_account')))]), _vm._v(\" \"), (!_vm.deletingAccount) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_description')))]) : _vm._e(), _vm._v(\" \"), (_vm.deletingAccount) ? _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_instructions')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.deleteAccountConfirmPasswordInput),\n expression: \"deleteAccountConfirmPasswordInput\"\n }],\n attrs: {\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.deleteAccountConfirmPasswordInput)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.deleteAccountConfirmPasswordInput = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.deleteAccount\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.delete_account')))])]) : _vm._e(), _vm._v(\" \"), (_vm.deleteAccountError !== false) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_error')))]) : _vm._e(), _vm._v(\" \"), (_vm.deleteAccountError) ? _c('p', [_vm._v(_vm._s(_vm.deleteAccountError))]) : _vm._e(), _vm._v(\" \"), (!_vm.deletingAccount) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.confirmDelete\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()])]), _vm._v(\" \"), (_vm.pleromaBackend) ? _c('div', {\n attrs: {\n \"label\": _vm.$t('settings.data_import_export_tab')\n }\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.follow_import')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.import_followers_from_a_csv_file')))]), _vm._v(\" \"), _c('form', [_c('input', {\n ref: \"followlist\",\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": _vm.followListChange\n }\n })]), _vm._v(\" \"), (_vm.followListUploading) ? _c('i', {\n staticClass: \" icon-spin4 animate-spin uploading\"\n }) : _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.importFollows\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]), _vm._v(\" \"), (_vm.followsImported) ? _c('div', [_c('i', {\n staticClass: \"icon-cross\",\n on: {\n \"click\": _vm.dismissImported\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.follows_imported')))])]) : (_vm.followImportError) ? _c('div', [_c('i', {\n staticClass: \"icon-cross\",\n on: {\n \"click\": _vm.dismissImported\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.follow_import_error')))])]) : _vm._e()]), _vm._v(\" \"), (_vm.enableFollowsExport) ? _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.follow_export')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.exportFollows\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.follow_export_button')))])]) : _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.follow_export_processing')))])])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n attrs: {\n \"label\": _vm.$t('settings.blocks_tab')\n }\n }, [_c('div', {\n staticClass: \"profile-edit-usersearch-wrapper\"\n }, [_c('Autosuggest', {\n attrs: {\n \"filter\": _vm.filterUnblockedUsers,\n \"query\": _vm.queryUserIds,\n \"placeholder\": _vm.$t('settings.search_user_to_block')\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function(row) {\n return _c('BlockCard', {\n attrs: {\n \"userId\": row.item\n }\n })\n }\n }])\n })], 1), _vm._v(\" \"), _c('BlockList', {\n attrs: {\n \"refresh\": true,\n \"getKey\": _vm.identity\n },\n scopedSlots: _vm._u([{\n key: \"header\",\n fn: function(ref) {\n var selected = ref.selected;\n\n return [_c('div', {\n staticClass: \"profile-edit-bulk-actions\"\n }, [(selected.length > 0) ? _c('ProgressButton', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"click\": function () { return _vm.blockUsers(selected); }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.block')) + \"\\n \"), _c('template', {\n slot: \"progress\"\n }, [_vm._v(_vm._s(_vm.$t('user_card.block_progress')))])], 2) : _vm._e(), _vm._v(\" \"), (selected.length > 0) ? _c('ProgressButton', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"click\": function () { return _vm.unblockUsers(selected); }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.unblock')) + \"\\n \"), _c('template', {\n slot: \"progress\"\n }, [_vm._v(_vm._s(_vm.$t('user_card.unblock_progress')))])], 2) : _vm._e()], 1)]\n }\n }, {\n key: \"item\",\n fn: function(ref) {\n var item = ref.item;\n\n return [_c('BlockCard', {\n attrs: {\n \"userId\": item\n }\n })]\n }\n }])\n }, [_c('template', {\n slot: \"empty\"\n }, [_vm._v(_vm._s(_vm.$t('settings.no_blocks')))])], 2)], 1), _vm._v(\" \"), _c('div', {\n attrs: {\n \"label\": _vm.$t('settings.mutes_tab')\n }\n }, [_c('div', {\n staticClass: \"profile-edit-usersearch-wrapper\"\n }, [_c('Autosuggest', {\n attrs: {\n \"filter\": _vm.filterUnMutedUsers,\n \"query\": _vm.queryUserIds,\n \"placeholder\": _vm.$t('settings.search_user_to_mute')\n },\n scopedSlots: _vm._u([{\n key: \"default\",\n fn: function(row) {\n return _c('MuteCard', {\n attrs: {\n \"userId\": row.item\n }\n })\n }\n }])\n })], 1), _vm._v(\" \"), _c('MuteList', {\n attrs: {\n \"refresh\": true,\n \"getKey\": _vm.identity\n },\n scopedSlots: _vm._u([{\n key: \"header\",\n fn: function(ref) {\n var selected = ref.selected;\n\n return [_c('div', {\n staticClass: \"profile-edit-bulk-actions\"\n }, [(selected.length > 0) ? _c('ProgressButton', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"click\": function () { return _vm.muteUsers(selected); }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.mute')) + \"\\n \"), _c('template', {\n slot: \"progress\"\n }, [_vm._v(_vm._s(_vm.$t('user_card.mute_progress')))])], 2) : _vm._e(), _vm._v(\" \"), (selected.length > 0) ? _c('ProgressButton', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"click\": function () { return _vm.unmuteUsers(selected); }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.unmute')) + \"\\n \"), _c('template', {\n slot: \"progress\"\n }, [_vm._v(_vm._s(_vm.$t('user_card.unmute_progress')))])], 2) : _vm._e()], 1)]\n }\n }, {\n key: \"item\",\n fn: function(ref) {\n var item = ref.item;\n\n return [_c('MuteCard', {\n attrs: {\n \"userId\": item\n }\n })]\n }\n }])\n }, [_c('template', {\n slot: \"empty\"\n }, [_vm._v(_vm._s(_vm.$t('settings.no_mutes')))])], 2)], 1)])], 1)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-06130768\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_settings/user_settings.vue\n// module id = 737\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"still-image\",\n class: {\n animated: _vm.animated\n }\n }, [(_vm.animated) ? _c('canvas', {\n ref: \"canvas\"\n }) : _vm._e(), _vm._v(\" \"), _c('img', {\n ref: \"src\",\n attrs: {\n \"src\": _vm.src,\n \"referrerpolicy\": _vm.referrerpolicy\n },\n on: {\n \"load\": _vm.onLoad,\n \"error\": _vm.onError\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-06a2da26\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/still-image/still-image.vue\n// module id = 738\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"image-cropper\"\n }, [(_vm.dataUrl) ? _c('div', [_c('div', {\n staticClass: \"image-cropper-image-container\"\n }, [_c('img', {\n ref: \"img\",\n attrs: {\n \"src\": _vm.dataUrl,\n \"alt\": \"\"\n },\n on: {\n \"load\": function($event) {\n $event.stopPropagation();\n return _vm.createCropper($event)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"image-cropper-buttons-wrapper\"\n }, [_c('button', {\n staticClass: \"btn\",\n attrs: {\n \"type\": \"button\",\n \"disabled\": _vm.submitting\n },\n domProps: {\n \"textContent\": _vm._s(_vm.saveText)\n },\n on: {\n \"click\": _vm.submit\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n attrs: {\n \"type\": \"button\",\n \"disabled\": _vm.submitting\n },\n domProps: {\n \"textContent\": _vm._s(_vm.cancelText)\n },\n on: {\n \"click\": _vm.destroy\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n attrs: {\n \"type\": \"button\",\n \"disabled\": _vm.submitting\n },\n domProps: {\n \"textContent\": _vm._s(_vm.saveWithoutCroppingText)\n },\n on: {\n \"click\": _vm.submitWithoutCropping\n }\n }), _vm._v(\" \"), (_vm.submitting) ? _c('i', {\n staticClass: \"icon-spin4 animate-spin\"\n }) : _vm._e()]), _vm._v(\" \"), (_vm.submitError) ? _c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.submitErrorMsg) + \"\\n \"), _c('i', {\n staticClass: \"button-icon icon-cancel\",\n on: {\n \"click\": _vm.clearError\n }\n })]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), _c('input', {\n ref: \"input\",\n staticClass: \"image-cropper-img-input\",\n attrs: {\n \"type\": \"file\",\n \"accept\": _vm.mimes\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-0803a50c\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/image_cropper/image_cropper.vue\n// module id = 739\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.loggedIn) ? _c('div', [_c('i', {\n staticClass: \"button-icon favorite-button fav-active\",\n class: _vm.classes,\n attrs: {\n \"title\": _vm.$t('tool_tip.favorite')\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.favorite()\n }\n }\n }), _vm._v(\" \"), (!_vm.hidePostStatsLocal && _vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()]) : _c('div', [_c('i', {\n staticClass: \"button-icon favorite-button\",\n class: _vm.classes,\n attrs: {\n \"title\": _vm.$t('tool_tip.favorite')\n }\n }), _vm._v(\" \"), (!_vm.hidePostStatsLocal && _vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-08c6b5b8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/favorite_button/favorite_button.vue\n// module id = 740\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.canDelete) ? _c('div', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.deleteStatus()\n }\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-cancel delete-status\"\n })])]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-0b8ce2f4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/delete_button/delete_button.vue\n// module id = 741\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('basic-user-card', {\n attrs: {\n \"user\": _vm.user\n }\n }, [_c('div', {\n staticClass: \"block-card-content-container\"\n }, [(_vm.blocked) ? _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.progress\n },\n on: {\n \"click\": _vm.unblockUser\n }\n }, [(_vm.progress) ? [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.unblock_progress')) + \"\\n \")] : [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.unblock')) + \"\\n \")]], 2) : _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.progress\n },\n on: {\n \"click\": _vm.blockUser\n }\n }, [(_vm.progress) ? [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.block_progress')) + \"\\n \")] : [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.block')) + \"\\n \")]], 2)])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-0cfc2f90\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/block_card/block_card.vue\n// module id = 742\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.currentUser) ? _c('div', [_c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (_vm.postFormOpen),\n expression: \"postFormOpen\"\n }],\n staticClass: \"post-form-modal-view modal-view\",\n on: {\n \"click\": _vm.closePostForm\n }\n }, [_c('div', {\n staticClass: \"post-form-modal-panel panel\",\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n }\n }\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(_vm._s(_vm.$t('post_status.new_status')))]), _vm._v(\" \"), _c('PostStatusForm', {\n staticClass: \"panel-body\",\n on: {\n \"posted\": _vm.closePostForm\n }\n })], 1)]), _vm._v(\" \"), _c('button', {\n staticClass: \"new-status-button\",\n class: {\n 'hidden': _vm.isHidden\n },\n on: {\n \"click\": _vm.openPostForm\n }\n }, [_c('i', {\n staticClass: \"icon-edit\"\n })])]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-0e4321f8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/mobile_post_status_modal/mobile_post_status_modal.vue\n// module id = 743\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('label', {\n attrs: {\n \"for\": \"interface-language-switcher\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.interfaceLanguage')) + \"\\n \")]), _vm._v(\" \"), _c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": \"interface-language-switcher\"\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.language),\n expression: \"language\"\n }],\n attrs: {\n \"id\": \"interface-language-switcher\"\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.language = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, _vm._l((_vm.languageCodes), function(langCode, i) {\n return _c('option', {\n domProps: {\n \"value\": langCode\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.languageNames[i]) + \"\\n \")])\n }), 0), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-119964fe\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/interface_language_switcher/interface_language_switcher.vue\n// module id = 744\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.showing) ? _c('div', {\n staticClass: \"modal-view media-modal-view\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.hide($event)\n }\n }\n }, [(_vm.type === 'image') ? _c('img', {\n staticClass: \"modal-image\",\n attrs: {\n \"src\": _vm.currentMedia.url\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'video') ? _c('VideoAttachment', {\n staticClass: \"modal-image\",\n attrs: {\n \"attachment\": _vm.currentMedia,\n \"controls\": true\n },\n nativeOn: {\n \"click\": function($event) {\n $event.stopPropagation();\n }\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.canNavigate) ? _c('button', {\n staticClass: \"modal-view-button-arrow modal-view-button-arrow--prev\",\n attrs: {\n \"title\": _vm.$t('media_modal.previous')\n },\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n return _vm.goPrev($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-left-open arrow-icon\"\n })]) : _vm._e(), _vm._v(\" \"), (_vm.canNavigate) ? _c('button', {\n staticClass: \"modal-view-button-arrow modal-view-button-arrow--next\",\n attrs: {\n \"title\": _vm.$t('media_modal.next')\n },\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n return _vm.goNext($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-right-open arrow-icon\"\n })]) : _vm._e()], 1) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-1351175e\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/media_modal/media_modal.vue\n// module id = 745\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('conversation', {\n attrs: {\n \"collapsable\": false,\n \"isPage\": \"true\",\n \"statusoid\": _vm.statusoid\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-1771daec\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/conversation-page/conversation-page.vue\n// module id = 746\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"post-status-form\"\n }, [_c('form', {\n on: {\n \"submit\": function($event) {\n $event.preventDefault();\n _vm.postStatus(_vm.newStatus)\n }\n }\n }, [_c('div', {\n staticClass: \"form-group\"\n }, [(!_vm.$store.state.users.currentUser.locked && _vm.newStatus.visibility == 'private') ? _c('i18n', {\n staticClass: \"visibility-notice\",\n attrs: {\n \"path\": \"post_status.account_not_locked_warning\",\n \"tag\": \"p\"\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-settings'\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('post_status.account_not_locked_warning_link')))])], 1) : _vm._e(), _vm._v(\" \"), (_vm.newStatus.visibility === 'direct') ? _c('p', {\n staticClass: \"visibility-notice\"\n }, [(_vm.safeDMEnabled) ? _c('span', [_vm._v(_vm._s(_vm.$t('post_status.direct_warning_to_first_only')))]) : _c('span', [_vm._v(_vm._s(_vm.$t('post_status.direct_warning_to_all')))])]) : _vm._e(), _vm._v(\" \"), (_vm.newStatus.spoilerText || _vm.alwaysShowSubject) ? _c('EmojiInput', {\n attrs: {\n \"type\": \"text\",\n \"placeholder\": _vm.$t('post_status.content_warning'),\n \"classname\": \"form-control\"\n },\n model: {\n value: (_vm.newStatus.spoilerText),\n callback: function($$v) {\n _vm.$set(_vm.newStatus, \"spoilerText\", $$v)\n },\n expression: \"newStatus.spoilerText\"\n }\n }) : _vm._e(), _vm._v(\" \"), _c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newStatus.status),\n expression: \"newStatus.status\"\n }],\n ref: \"textarea\",\n staticClass: \"form-control\",\n attrs: {\n \"placeholder\": _vm.$t('post_status.default'),\n \"rows\": \"1\",\n \"disabled\": _vm.posting\n },\n domProps: {\n \"value\": (_vm.newStatus.status)\n },\n on: {\n \"click\": _vm.setCaret,\n \"keyup\": [_vm.setCaret, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) { return null; }\n if (!$event.ctrlKey) { return null; }\n _vm.postStatus(_vm.newStatus)\n }],\n \"keydown\": [_vm.onKeydown, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) { return null; }\n return _vm.cycleForward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) { return null; }\n return _vm.cycleBackward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) { return null; }\n if (!$event.shiftKey) { return null; }\n return _vm.cycleBackward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) { return null; }\n return _vm.cycleForward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) { return null; }\n return _vm.replaceCandidate($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) { return null; }\n if (!$event.metaKey) { return null; }\n _vm.postStatus(_vm.newStatus)\n }],\n \"drop\": _vm.fileDrop,\n \"dragover\": function($event) {\n $event.preventDefault();\n return _vm.fileDrag($event)\n },\n \"input\": [function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.newStatus, \"status\", $event.target.value)\n }, _vm.resize],\n \"paste\": _vm.paste\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"visibility-tray\"\n }, [(_vm.formattingOptionsEnabled) ? _c('span', {\n staticClass: \"text-format\"\n }, [_c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": \"post-content-type\"\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newStatus.contentType),\n expression: \"newStatus.contentType\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"id\": \"post-content-type\"\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.$set(_vm.newStatus, \"contentType\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])\n }\n }\n }, _vm._l((_vm.postFormats), function(postFormat) {\n return _c('option', {\n key: postFormat,\n domProps: {\n \"value\": postFormat\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t((\"post_status.content_type[\\\"\" + postFormat + \"\\\"]\"))) + \"\\n \")])\n }), 0), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })])]) : _vm._e(), _vm._v(\" \"), _c('scope-selector', {\n attrs: {\n \"showAll\": _vm.showAllScopes,\n \"userDefault\": _vm.userDefaultScope,\n \"originalScope\": _vm.copyMessageScope,\n \"initialScope\": _vm.newStatus.visibility,\n \"onScopeChange\": _vm.changeVis\n }\n })], 1)], 1), _vm._v(\" \"), (_vm.candidates) ? _c('div', {\n staticClass: \"autocomplete-panel\"\n }, [_c('div', {\n staticClass: \"autocomplete-panel-body\"\n }, _vm._l((_vm.candidates), function(candidate, index) {\n return _c('div', {\n key: index,\n staticClass: \"autocomplete-item\",\n class: {\n highlighted: candidate.highlighted\n },\n on: {\n \"click\": function($event) {\n _vm.replace(candidate.utf || (candidate.screen_name + ' '))\n }\n }\n }, [(candidate.img) ? _c('span', [_c('img', {\n attrs: {\n \"src\": candidate.img\n }\n })]) : _c('span', [_vm._v(_vm._s(candidate.utf))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(candidate.screen_name)), _c('small', [_vm._v(_vm._s(candidate.name))])])])\n }), 0)]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"form-bottom\"\n }, [_c('media-upload', {\n ref: \"mediaUpload\",\n attrs: {\n \"drop-files\": _vm.dropFiles\n },\n on: {\n \"uploading\": _vm.disableSubmit,\n \"uploaded\": _vm.addMediaFile,\n \"upload-failed\": _vm.uploadFailed\n }\n }), _vm._v(\" \"), (_vm.isOverLengthLimit) ? _c('p', {\n staticClass: \"error\"\n }, [_vm._v(_vm._s(_vm.charactersLeft))]) : (_vm.hasStatusLengthLimit) ? _c('p', {\n staticClass: \"faint\"\n }, [_vm._v(_vm._s(_vm.charactersLeft))]) : _vm._e(), _vm._v(\" \"), (_vm.posting) ? _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": \"\"\n }\n }, [_vm._v(_vm._s(_vm.$t('post_status.posting')))]) : (_vm.isOverLengthLimit) ? _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": \"\"\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.submitDisabled,\n \"type\": \"submit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))])], 1), _vm._v(\" \"), (_vm.error) ? _c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(\"\\n Error: \" + _vm._s(_vm.error) + \"\\n \"), _c('i', {\n staticClass: \"button-icon icon-cancel\",\n on: {\n \"click\": _vm.clearError\n }\n })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"attachments\"\n }, _vm._l((_vm.newStatus.files), function(file) {\n return _c('div', {\n staticClass: \"media-upload-wrapper\"\n }, [_c('i', {\n staticClass: \"fa button-icon icon-cancel\",\n on: {\n \"click\": function($event) {\n _vm.removeMediaFile(file)\n }\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"media-upload-container attachment\"\n }, [(_vm.type(file) === 'image') ? _c('img', {\n staticClass: \"thumbnail media-upload\",\n attrs: {\n \"src\": file.url\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'video') ? _c('video', {\n attrs: {\n \"src\": file.url,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'audio') ? _c('audio', {\n attrs: {\n \"src\": file.url,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'unknown') ? _c('a', {\n attrs: {\n \"href\": file.url\n }\n }, [_vm._v(_vm._s(file.url))]) : _vm._e()])])\n }), 0), _vm._v(\" \"), (_vm.newStatus.files.length > 0) ? _c('div', {\n staticClass: \"upload_settings\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newStatus.nsfw),\n expression: \"newStatus.nsfw\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"filesSensitive\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.newStatus.nsfw) ? _vm._i(_vm.newStatus.nsfw, null) > -1 : (_vm.newStatus.nsfw)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.newStatus.nsfw,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.$set(_vm.newStatus, \"nsfw\", $$a.concat([$$v])))\n } else {\n $$i > -1 && (_vm.$set(_vm.newStatus, \"nsfw\", $$a.slice(0, $$i).concat($$a.slice($$i + 1))))\n }\n } else {\n _vm.$set(_vm.newStatus, \"nsfw\", $$c)\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"filesSensitive\"\n }\n }, [_vm._v(_vm._s(_vm.$t('post_status.attachments_sensitive')))])]) : _vm._e()])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-17731af8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/post_status_form/post_status_form.vue\n// module id = 747\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.contrast) ? _c('span', {\n staticClass: \"contrast-ratio\"\n }, [_c('span', {\n staticClass: \"rating\",\n attrs: {\n \"title\": _vm.hint\n }\n }, [(_vm.contrast.aaa) ? _c('span', [_c('i', {\n staticClass: \"icon-thumbs-up-alt\"\n })]) : _vm._e(), _vm._v(\" \"), (!_vm.contrast.aaa && _vm.contrast.aa) ? _c('span', [_c('i', {\n staticClass: \"icon-adjust\"\n })]) : _vm._e(), _vm._v(\" \"), (!_vm.contrast.aaa && !_vm.contrast.aa) ? _c('span', [_c('i', {\n staticClass: \"icon-attention\"\n })]) : _vm._e()]), _vm._v(\" \"), (_vm.contrast && _vm.large) ? _c('span', {\n staticClass: \"rating\",\n attrs: {\n \"title\": _vm.hint_18pt\n }\n }, [(_vm.contrast.laaa) ? _c('span', [_c('i', {\n staticClass: \"icon-thumbs-up-alt\"\n })]) : _vm._e(), _vm._v(\" \"), (!_vm.contrast.laaa && _vm.contrast.laa) ? _c('span', [_c('i', {\n staticClass: \"icon-adjust\"\n })]) : _vm._e(), _vm._v(\" \"), (!_vm.contrast.laaa && !_vm.contrast.laa) ? _c('span', [_c('i', {\n staticClass: \"icon-attention\"\n })]) : _vm._e()]) : _vm._e()]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-1a970f38\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/contrast_ratio/contrast_ratio.vue\n// module id = 748\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n directives: [{\n name: \"click-outside\",\n rawName: \"v-click-outside\",\n value: (_vm.onClickOutside),\n expression: \"onClickOutside\"\n }],\n staticClass: \"autosuggest\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.term),\n expression: \"term\"\n }],\n staticClass: \"autosuggest-input\",\n attrs: {\n \"placeholder\": _vm.placeholder\n },\n domProps: {\n \"value\": (_vm.term)\n },\n on: {\n \"click\": _vm.onInputClick,\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.term = $event.target.value\n }\n }\n }), _vm._v(\" \"), (_vm.resultsVisible && _vm.filtered.length > 0) ? _c('div', {\n staticClass: \"autosuggest-results\"\n }, [_vm._l((_vm.filtered), function(item) {\n return _vm._t(\"default\", null, {\n item: item\n })\n })], 2) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-1f75a0a4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/autosuggest/autosuggest.vue\n// module id = 749\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"selectable-list\"\n }, [(_vm.items.length > 0) ? _c('div', {\n staticClass: \"selectable-list-header\"\n }, [_c('div', {\n staticClass: \"selectable-list-checkbox-wrapper\"\n }, [_c('Checkbox', {\n attrs: {\n \"checked\": _vm.allSelected,\n \"indeterminate\": _vm.someSelected\n },\n on: {\n \"change\": _vm.toggleAll\n }\n }, [_vm._v(_vm._s(_vm.$t('selectable_list.select_all')))])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"selectable-list-header-actions\"\n }, [_vm._t(\"header\", null, {\n selected: _vm.filteredSelected\n })], 2)]) : _vm._e(), _vm._v(\" \"), _c('List', {\n attrs: {\n \"items\": _vm.items,\n \"getKey\": _vm.getKey\n },\n scopedSlots: _vm._u([{\n key: \"item\",\n fn: function(ref) {\n var item = ref.item;\n\n return [_c('div', {\n staticClass: \"selectable-list-item-inner\",\n class: {\n 'selectable-list-item-selected-inner': _vm.isSelected(item)\n }\n }, [_c('div', {\n staticClass: \"selectable-list-checkbox-wrapper\"\n }, [_c('Checkbox', {\n attrs: {\n \"checked\": _vm.isSelected(item)\n },\n on: {\n \"change\": function (checked) { return _vm.toggle(checked, item); }\n }\n })], 1), _vm._v(\" \"), _vm._t(\"item\", null, {\n item: item\n })], 2)]\n }\n }])\n }, [_c('template', {\n slot: \"empty\"\n }, [_vm._t(\"empty\")], 2)], 2)], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-237f0e88\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/selectable_list/selectable_list.vue\n// module id = 750\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"settings panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('registration.registration')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('form', {\n staticClass: \"registration-form\",\n on: {\n \"submit\": function($event) {\n $event.preventDefault();\n _vm.submit(_vm.user)\n }\n }\n }, [_c('div', {\n staticClass: \"container\"\n }, [_c('div', {\n staticClass: \"text-fields\"\n }, [_c('div', {\n staticClass: \"form-group\",\n class: {\n 'form-group--error': _vm.$v.user.username.$error\n }\n }, [_c('label', {\n staticClass: \"form--label\",\n attrs: {\n \"for\": \"sign-up-username\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.username')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model.trim\",\n value: (_vm.$v.user.username.$model),\n expression: \"$v.user.username.$model\",\n modifiers: {\n \"trim\": true\n }\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.isPending,\n \"id\": \"sign-up-username\",\n \"placeholder\": _vm.$t('registration.username_placeholder')\n },\n domProps: {\n \"value\": (_vm.$v.user.username.$model)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.$v.user.username, \"$model\", $event.target.value.trim())\n },\n \"blur\": function($event) {\n _vm.$forceUpdate()\n }\n }\n })]), _vm._v(\" \"), (_vm.$v.user.username.$dirty) ? _c('div', {\n staticClass: \"form-error\"\n }, [_c('ul', [(!_vm.$v.user.username.required) ? _c('li', [_c('span', [_vm._v(_vm._s(_vm.$t('registration.validations.username_required')))])]) : _vm._e()])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\",\n class: {\n 'form-group--error': _vm.$v.user.fullname.$error\n }\n }, [_c('label', {\n staticClass: \"form--label\",\n attrs: {\n \"for\": \"sign-up-fullname\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.fullname')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model.trim\",\n value: (_vm.$v.user.fullname.$model),\n expression: \"$v.user.fullname.$model\",\n modifiers: {\n \"trim\": true\n }\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.isPending,\n \"id\": \"sign-up-fullname\",\n \"placeholder\": _vm.$t('registration.fullname_placeholder')\n },\n domProps: {\n \"value\": (_vm.$v.user.fullname.$model)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.$v.user.fullname, \"$model\", $event.target.value.trim())\n },\n \"blur\": function($event) {\n _vm.$forceUpdate()\n }\n }\n })]), _vm._v(\" \"), (_vm.$v.user.fullname.$dirty) ? _c('div', {\n staticClass: \"form-error\"\n }, [_c('ul', [(!_vm.$v.user.fullname.required) ? _c('li', [_c('span', [_vm._v(_vm._s(_vm.$t('registration.validations.fullname_required')))])]) : _vm._e()])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\",\n class: {\n 'form-group--error': _vm.$v.user.email.$error\n }\n }, [_c('label', {\n staticClass: \"form--label\",\n attrs: {\n \"for\": \"email\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.email')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.$v.user.email.$model),\n expression: \"$v.user.email.$model\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.isPending,\n \"id\": \"email\",\n \"type\": \"email\"\n },\n domProps: {\n \"value\": (_vm.$v.user.email.$model)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.$v.user.email, \"$model\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), (_vm.$v.user.email.$dirty) ? _c('div', {\n staticClass: \"form-error\"\n }, [_c('ul', [(!_vm.$v.user.email.required) ? _c('li', [_c('span', [_vm._v(_vm._s(_vm.$t('registration.validations.email_required')))])]) : _vm._e()])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n staticClass: \"form--label\",\n attrs: {\n \"for\": \"bio\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.bio')) + \" (\" + _vm._s(_vm.$t('general.optional')) + \")\")]), _vm._v(\" \"), _c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.bio),\n expression: \"user.bio\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.isPending,\n \"id\": \"bio\",\n \"placeholder\": _vm.bioPlaceholder\n },\n domProps: {\n \"value\": (_vm.user.bio)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"bio\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\",\n class: {\n 'form-group--error': _vm.$v.user.password.$error\n }\n }, [_c('label', {\n staticClass: \"form--label\",\n attrs: {\n \"for\": \"sign-up-password\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.password),\n expression: \"user.password\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.isPending,\n \"id\": \"sign-up-password\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.user.password)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"password\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), (_vm.$v.user.password.$dirty) ? _c('div', {\n staticClass: \"form-error\"\n }, [_c('ul', [(!_vm.$v.user.password.required) ? _c('li', [_c('span', [_vm._v(_vm._s(_vm.$t('registration.validations.password_required')))])]) : _vm._e()])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\",\n class: {\n 'form-group--error': _vm.$v.user.confirm.$error\n }\n }, [_c('label', {\n staticClass: \"form--label\",\n attrs: {\n \"for\": \"sign-up-password-confirmation\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.password_confirm')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.confirm),\n expression: \"user.confirm\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.isPending,\n \"id\": \"sign-up-password-confirmation\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.user.confirm)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"confirm\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), (_vm.$v.user.confirm.$dirty) ? _c('div', {\n staticClass: \"form-error\"\n }, [_c('ul', [(!_vm.$v.user.confirm.required) ? _c('li', [_c('span', [_vm._v(_vm._s(_vm.$t('registration.validations.password_confirmation_required')))])]) : _vm._e(), _vm._v(\" \"), (!_vm.$v.user.confirm.sameAsPassword) ? _c('li', [_c('span', [_vm._v(_vm._s(_vm.$t('registration.validations.password_confirmation_match')))])]) : _vm._e()])]) : _vm._e(), _vm._v(\" \"), (_vm.captcha.type != 'none') ? _c('div', {\n staticClass: \"form-group\",\n attrs: {\n \"id\": \"captcha-group\"\n }\n }, [_c('label', {\n staticClass: \"form--label\",\n attrs: {\n \"for\": \"captcha-label\"\n }\n }, [_vm._v(_vm._s(_vm.$t('captcha')))]), _vm._v(\" \"), (_vm.captcha.type == 'kocaptcha') ? [_c('img', {\n attrs: {\n \"src\": _vm.captcha.url\n },\n on: {\n \"click\": _vm.setCaptcha\n }\n }), _vm._v(\" \"), _c('sub', [_vm._v(_vm._s(_vm.$t('registration.new_captcha')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.captcha.solution),\n expression: \"captcha.solution\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.isPending,\n \"id\": \"captcha-answer\",\n \"type\": \"text\",\n \"autocomplete\": \"off\"\n },\n domProps: {\n \"value\": (_vm.captcha.solution)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.captcha, \"solution\", $event.target.value)\n }\n }\n })] : _vm._e()], 2) : _vm._e(), _vm._v(\" \"), (_vm.token) ? _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"token\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.token')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.token),\n expression: \"token\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": \"true\",\n \"id\": \"token\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.token)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.token = $event.target.value\n }\n }\n })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.isPending,\n \"type\": \"submit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"terms-of-service\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.termsOfService)\n }\n })]), _vm._v(\" \"), (_vm.serverValidationErrors.length) ? _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"alert error\"\n }, _vm._l((_vm.serverValidationErrors), function(error) {\n return _c('span', [_vm._v(_vm._s(error))])\n }), 0)]) : _vm._e()])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-23a871d8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/registration/registration.vue\n// module id = 751\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"nav-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('ul', [(_vm.currentUser) ? _c('li', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'friends'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.timeline\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'mentions',\n params: {\n username: _vm.currentUser.screen_name\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.mentions\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'dms',\n params: {\n username: _vm.currentUser.screen_name\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.dms\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser && _vm.currentUser.locked) ? _c('li', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'friend-requests'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.friend_requests\")) + \"\\n \"), (_vm.followRequestCount > 0) ? _c('span', {\n staticClass: \"badge follow-request-count\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.followRequestCount) + \"\\n \")]) : _vm._e()])], 1) : _vm._e(), _vm._v(\" \"), _c('li', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'public-timeline'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.public_tl\")) + \"\\n \")])], 1), _vm._v(\" \"), _c('li', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'public-external-timeline'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.twkn\")) + \"\\n \")])], 1)])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-23ab246c\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/nav_panel/nav_panel.vue\n// module id = 752\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('label', {\n staticClass: \"checkbox\"\n }, [_c('input', {\n attrs: {\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": _vm.checked,\n \"indeterminate\": _vm.indeterminate\n },\n on: {\n \"change\": function($event) {\n _vm.$emit('change', $event.target.checked)\n }\n }\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"checkbox-indicator\"\n }), _vm._v(\" \"), (!!_vm.$slots.default) ? _c('span', [_vm._t(\"default\")], 2) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-23dd4dd0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/checkbox/checkbox.vue\n// module id = 753\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [(_vm.user) ? _c('div', {\n staticClass: \"user-profile panel panel-default\"\n }, [_c('UserCard', {\n attrs: {\n \"user\": _vm.user,\n \"switcher\": true,\n \"selected\": _vm.timeline.viewing,\n \"rounded\": \"top\"\n }\n }), _vm._v(\" \"), _c('tab-switcher', {\n ref: \"tabSwitcher\",\n attrs: {\n \"renderOnlyFocused\": true\n }\n }, [_c('Timeline', {\n attrs: {\n \"label\": _vm.$t('user_card.statuses'),\n \"disabled\": !_vm.user.statuses_count,\n \"count\": _vm.user.statuses_count,\n \"embedded\": true,\n \"title\": _vm.$t('user_profile.timeline_title'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'user',\n \"user-id\": _vm.userId\n }\n }), _vm._v(\" \"), (_vm.followsTabVisible) ? _c('div', {\n attrs: {\n \"label\": _vm.$t('user_card.followees'),\n \"disabled\": !_vm.user.friends_count\n }\n }, [_c('FriendList', {\n attrs: {\n \"userId\": _vm.userId\n },\n scopedSlots: _vm._u([{\n key: \"item\",\n fn: function(ref) {\n var item = ref.item;\n\n return [_c('FollowCard', {\n attrs: {\n \"user\": item\n }\n })]\n }\n }])\n })], 1) : _vm._e(), _vm._v(\" \"), (_vm.followersTabVisible) ? _c('div', {\n attrs: {\n \"label\": _vm.$t('user_card.followers'),\n \"disabled\": !_vm.user.followers_count\n }\n }, [_c('FollowerList', {\n attrs: {\n \"userId\": _vm.userId\n },\n scopedSlots: _vm._u([{\n key: \"item\",\n fn: function(ref) {\n var item = ref.item;\n\n return [_c('FollowCard', {\n attrs: {\n \"user\": item,\n \"noFollowsYou\": _vm.isUs\n }\n })]\n }\n }])\n })], 1) : _vm._e(), _vm._v(\" \"), _c('Timeline', {\n attrs: {\n \"label\": _vm.$t('user_card.media'),\n \"disabled\": !_vm.media.visibleStatuses.length,\n \"embedded\": true,\n \"title\": _vm.$t('user_card.media'),\n \"timeline-name\": \"media\",\n \"timeline\": _vm.media,\n \"user-id\": _vm.userId\n }\n }), _vm._v(\" \"), (_vm.isUs) ? _c('Timeline', {\n attrs: {\n \"label\": _vm.$t('user_card.favorites'),\n \"disabled\": !_vm.favorites.visibleStatuses.length,\n \"embedded\": true,\n \"title\": _vm.$t('user_card.favorites'),\n \"timeline-name\": \"favorites\",\n \"timeline\": _vm.favorites\n }\n }) : _vm._e()], 1)], 1) : _c('div', {\n staticClass: \"panel user-profile-placeholder\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.profile_tab')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [(_vm.error) ? _c('span', [_vm._v(_vm._s(_vm.error))]) : _c('i', {\n staticClass: \"icon-spin3 animate-spin\"\n })])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-26005b58\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_profile/user_profile.vue\n// module id = 754\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('button', {\n attrs: {\n \"disabled\": _vm.progress || _vm.disabled\n },\n on: {\n \"click\": _vm.onClick\n }\n }, [(_vm.progress) ? [_vm._t(\"progress\")] : [_vm._t(\"default\")]], 2)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-27148cc2\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/progress_button/progress_button.vue\n// module id = 755\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.loggedIn) ? _c('div', [(_vm.visibility !== 'private' && _vm.visibility !== 'direct') ? [_c('i', {\n staticClass: \"button-icon retweet-button icon-retweet rt-active\",\n class: _vm.classes,\n attrs: {\n \"title\": _vm.$t('tool_tip.repeat')\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.retweet()\n }\n }\n }), _vm._v(\" \"), (!_vm.hidePostStatsLocal && _vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()] : [_c('i', {\n staticClass: \"button-icon icon-lock\",\n class: _vm.classes,\n attrs: {\n \"title\": _vm.$t('timeline.no_retweet_hint')\n }\n })]], 2) : (!_vm.loggedIn) ? _c('div', [_c('i', {\n staticClass: \"button-icon icon-retweet\",\n class: _vm.classes,\n attrs: {\n \"title\": _vm.$t('tool_tip.repeat')\n }\n }), _vm._v(\" \"), (!_vm.hidePostStatsLocal && _vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-28288ed0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/retweet_button/retweet_button.vue\n// module id = 756\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"font-control style-control\",\n class: {\n custom: _vm.isCustom\n }\n }, [_c('label', {\n staticClass: \"label\",\n attrs: {\n \"for\": _vm.preset === 'custom' ? _vm.name : _vm.name + '-font-switcher'\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.label) + \"\\n \")]), _vm._v(\" \"), (typeof _vm.fallback !== 'undefined') ? _c('input', {\n staticClass: \"opt exlcude-disabled\",\n attrs: {\n \"type\": \"checkbox\",\n \"id\": _vm.name + '-o'\n },\n domProps: {\n \"checked\": _vm.present\n },\n on: {\n \"input\": function($event) {\n _vm.$emit('input', typeof _vm.value === 'undefined' ? _vm.fallback : undefined)\n }\n }\n }) : _vm._e(), _vm._v(\" \"), (typeof _vm.fallback !== 'undefined') ? _c('label', {\n staticClass: \"opt-l\",\n attrs: {\n \"for\": _vm.name + '-o'\n }\n }) : _vm._e(), _vm._v(\" \"), _c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": _vm.name + '-font-switcher',\n \"disabled\": !_vm.present\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.preset),\n expression: \"preset\"\n }],\n staticClass: \"font-switcher\",\n attrs: {\n \"disabled\": !_vm.present,\n \"id\": _vm.name + '-font-switcher'\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.preset = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, _vm._l((_vm.availableOptions), function(option) {\n return _c('option', {\n domProps: {\n \"value\": option\n }\n }, [_vm._v(\"\\n \" + _vm._s(option === 'custom' ? _vm.$t('settings.style.fonts.custom') : option) + \"\\n \")])\n }), 0), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })]), _vm._v(\" \"), (_vm.isCustom) ? _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.family),\n expression: \"family\"\n }],\n staticClass: \"custom-font\",\n attrs: {\n \"type\": \"text\",\n \"id\": _vm.name\n },\n domProps: {\n \"value\": (_vm.family)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.family = $event.target.value\n }\n }\n }) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-2979f658\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/font_control/font_control.vue\n// module id = 757\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"panel dummy\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.preview.header')) + \"\\n \"), _c('span', {\n staticClass: \"badge badge-notification\"\n }, [_vm._v(\"\\n 99\\n \")])]), _vm._v(\" \"), _c('span', {\n staticClass: \"faint\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.preview.header_faint')) + \"\\n \")]), _vm._v(\" \"), _c('span', {\n staticClass: \"alert error\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.preview.error')) + \"\\n \")]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.preview.button')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body theme-preview-content\"\n }, [_c('div', {\n staticClass: \"post\"\n }, [_c('div', {\n staticClass: \"avatar\"\n }, [_vm._v(\"\\n ( ͡° ͜ʖ ͡°)\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"content\"\n }, [_c('h4', [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.preview.content')) + \"\\n \")]), _vm._v(\" \"), _c('i18n', {\n attrs: {\n \"path\": \"settings.style.preview.text\"\n }\n }, [_c('code', {\n staticStyle: {\n \"font-family\": \"var(--postCodeFont)\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.preview.mono')) + \"\\n \")]), _vm._v(\" \"), _c('a', {\n staticStyle: {\n \"color\": \"var(--link)\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.preview.link')) + \"\\n \")])]), _vm._v(\" \"), _vm._m(0)], 1)]), _vm._v(\" \"), _c('div', {\n staticClass: \"after-post\"\n }, [_c('div', {\n staticClass: \"avatar-alt\"\n }, [_vm._v(\"\\n :^)\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"content\"\n }, [_c('i18n', {\n staticClass: \"faint\",\n attrs: {\n \"path\": \"settings.style.preview.fine_print\",\n \"tag\": \"span\"\n }\n }, [_c('a', {\n staticStyle: {\n \"color\": \"var(--faintLink)\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.preview.faint_link')) + \"\\n \")])])], 1)]), _vm._v(\" \"), _c('div', {\n staticClass: \"separator\"\n }), _vm._v(\" \"), _c('span', {\n staticClass: \"alert error\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.preview.error')) + \"\\n \")]), _vm._v(\" \"), _c('input', {\n attrs: {\n \"type\": \"text\"\n },\n domProps: {\n \"value\": _vm.$t('settings.style.preview.input')\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"actions\"\n }, [_c('span', {\n staticClass: \"checkbox\"\n }, [_c('input', {\n attrs: {\n \"checked\": \"very yes\",\n \"type\": \"checkbox\",\n \"id\": \"preview_checkbox\"\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"preview_checkbox\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.preview.checkbox')))])]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.preview.button')) + \"\\n \")])])])])\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"icons\"\n }, [_c('i', {\n staticClass: \"button-icon icon-reply\",\n staticStyle: {\n \"color\": \"var(--cBlue)\"\n }\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"button-icon icon-retweet\",\n staticStyle: {\n \"color\": \"var(--cGreen)\"\n }\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"button-icon icon-star\",\n staticStyle: {\n \"color\": \"var(--cOrange)\"\n }\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"button-icon icon-cancel\",\n staticStyle: {\n \"color\": \"var(--cRed)\"\n }\n })])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-2da7d1a2\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/style_switcher/preview.vue\n// module id = 758\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.mentions'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'mentions'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-2de5c050\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/mentions/mentions.vue\n// module id = 759\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"media-upload\",\n on: {\n \"drop\": [function($event) {\n $event.preventDefault();\n }, _vm.fileDrop],\n \"dragover\": function($event) {\n $event.preventDefault();\n return _vm.fileDrag($event)\n }\n }\n }, [_c('label', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"title\": _vm.$t('tool_tip.media_upload')\n }\n }, [(_vm.uploading) ? _c('i', {\n staticClass: \"icon-spin4 animate-spin\"\n }) : _vm._e(), _vm._v(\" \"), (!_vm.uploading) ? _c('i', {\n staticClass: \"icon-upload\"\n }) : _vm._e(), _vm._v(\" \"), (_vm.uploadReady) ? _c('input', {\n staticStyle: {\n \"position\": \"fixed\",\n \"top\": \"-100em\"\n },\n attrs: {\n \"type\": \"file\",\n \"multiple\": \"true\"\n },\n on: {\n \"change\": _vm.change\n }\n }) : _vm._e()])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-32209eb8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/media_upload/media_upload.vue\n// module id = 760\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n ref: \"galleryContainer\",\n staticStyle: {\n \"width\": \"100%\"\n }\n }, _vm._l((_vm.rows), function(row) {\n return _c('div', {\n staticClass: \"gallery-row\",\n class: {\n 'contain-fit': _vm.useContainFit, 'cover-fit': !_vm.useContainFit\n },\n style: (_vm.rowHeight(row.length))\n }, _vm._l((row), function(attachment) {\n return _c('attachment', {\n key: attachment.id,\n attrs: {\n \"setMedia\": _vm.setMedia,\n \"nsfw\": _vm.nsfw,\n \"attachment\": attachment,\n \"allowPlay\": false\n }\n })\n }), 1)\n }), 0)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-34b44944\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/gallery/gallery.vue\n// module id = 761\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"tos-content\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.content)\n }\n })])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-37956e90\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/terms_of_service_panel/terms_of_service_panel.vue\n// module id = 762\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('h1', [_vm._v(\"...\")])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-3b485558\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/oauth_callback/oauth_callback.vue\n// module id = 763\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"features-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default base01-background\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading base02-background base04\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('features_panel.title')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body features-panel\"\n }, [_c('ul', [(_vm.chat) ? _c('li', [_vm._v(_vm._s(_vm.$t('features_panel.chat')))]) : _vm._e(), _vm._v(\" \"), (_vm.gopher) ? _c('li', [_vm._v(_vm._s(_vm.$t('features_panel.gopher')))]) : _vm._e(), _vm._v(\" \"), (_vm.whoToFollow) ? _c('li', [_vm._v(_vm._s(_vm.$t('features_panel.who_to_follow')))]) : _vm._e(), _vm._v(\" \"), (_vm.mediaProxy) ? _c('li', [_vm._v(_vm._s(_vm.$t('features_panel.media_proxy')))]) : _vm._e(), _vm._v(\" \"), _c('li', [_vm._v(_vm._s(_vm.$t('features_panel.scope_options')))]), _vm._v(\" \"), _c('li', [_vm._v(_vm._s(_vm.$t('features_panel.text_limit')) + \" = \" + _vm._s(_vm.textlimit))])])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-40f388b8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/features_panel/features_panel.vue\n// module id = 764\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('span', {\n class: {\n 'dark-overlay': _vm.darkOverlay\n },\n on: {\n \"click\": function($event) {\n if ($event.target !== $event.currentTarget) { return null; }\n $event.stopPropagation();\n _vm.onCancel()\n }\n }\n }, [_c('div', {\n staticClass: \"dialog-modal panel panel-default\",\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n }\n }\n }, [_c('div', {\n staticClass: \"panel-heading dialog-modal-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._t(\"header\")], 2)]), _vm._v(\" \"), _c('div', {\n staticClass: \"dialog-modal-content\"\n }, [_vm._t(\"default\")], 2), _vm._v(\" \"), _c('div', {\n staticClass: \"dialog-modal-footer user-interactions panel-footer\"\n }, [_vm._t(\"footer\")], 2)])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-419c6cf8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/dialog_modal/dialog_modal.vue\n// module id = 765\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"user-card\",\n class: _vm.classes,\n style: (_vm.style)\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_c('div', {\n staticClass: \"user-info\"\n }, [_c('div', {\n staticClass: \"container\"\n }, [_c('router-link', {\n attrs: {\n \"to\": _vm.userProfileLink(_vm.user)\n }\n }, [_c('UserAvatar', {\n attrs: {\n \"betterShadow\": _vm.betterShadow,\n \"src\": _vm.user.profile_image_url_original\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"name-and-screen-name\"\n }, [_c('div', {\n staticClass: \"top-line\"\n }, [(_vm.user.name_html) ? _c('div', {\n staticClass: \"user-name\",\n attrs: {\n \"title\": _vm.user.name\n },\n domProps: {\n \"innerHTML\": _vm._s(_vm.user.name_html)\n }\n }) : _c('div', {\n staticClass: \"user-name\",\n attrs: {\n \"title\": _vm.user.name\n }\n }, [_vm._v(_vm._s(_vm.user.name))]), _vm._v(\" \"), (!_vm.isOtherUser) ? _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-settings'\n }\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-wrench usersettings\",\n attrs: {\n \"title\": _vm.$t('tool_tip.user_settings')\n }\n })]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser && !_vm.user.is_local) ? _c('a', {\n attrs: {\n \"href\": _vm.user.statusnet_profile_url,\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"icon-link-ext usersettings\"\n })]) : _vm._e()], 1), _vm._v(\" \"), _c('router-link', {\n staticClass: \"user-screen-name\",\n attrs: {\n \"to\": _vm.userProfileLink(_vm.user)\n }\n }, [_c('span', {\n staticClass: \"handle\"\n }, [_vm._v(\"@\" + _vm._s(_vm.user.screen_name) + \"\\n \"), (!_vm.hideBio && !!_vm.visibleRole) ? _c('span', {\n staticClass: \"alert staff\"\n }, [_vm._v(_vm._s(_vm.visibleRole))]) : _vm._e()]), (_vm.user.locked) ? _c('span', [_c('i', {\n staticClass: \"icon icon-lock\"\n })]) : _vm._e(), _vm._v(\" \"), (!_vm.hideUserStatsLocal && !_vm.hideBio) ? _c('span', {\n staticClass: \"dailyAvg\"\n }, [_vm._v(_vm._s(_vm.dailyAvg) + \" \" + _vm._s(_vm.$t('user_card.per_day')))]) : _vm._e()])], 1)], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"user-meta\"\n }, [(_vm.user.follows_you && _vm.loggedIn && _vm.isOtherUser) ? _c('div', {\n staticClass: \"following\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follows_you')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser && (_vm.loggedIn || !_vm.switcher)) ? _c('div', {\n staticClass: \"highlighter\"\n }, [(_vm.userHighlightType !== 'disabled') ? _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.userHighlightColor),\n expression: \"userHighlightColor\"\n }],\n staticClass: \"userHighlightText\",\n attrs: {\n \"type\": \"text\",\n \"id\": 'userHighlightColorTx' + _vm.user.id\n },\n domProps: {\n \"value\": (_vm.userHighlightColor)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.userHighlightColor = $event.target.value\n }\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.userHighlightType !== 'disabled') ? _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.userHighlightColor),\n expression: \"userHighlightColor\"\n }],\n staticClass: \"userHighlightCl\",\n attrs: {\n \"type\": \"color\",\n \"id\": 'userHighlightColor' + _vm.user.id\n },\n domProps: {\n \"value\": (_vm.userHighlightColor)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.userHighlightColor = $event.target.value\n }\n }\n }) : _vm._e(), _vm._v(\" \"), _c('label', {\n staticClass: \"userHighlightSel select\",\n attrs: {\n \"for\": \"style-switcher\"\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.userHighlightType),\n expression: \"userHighlightType\"\n }],\n staticClass: \"userHighlightSel\",\n attrs: {\n \"id\": 'userHighlightSel' + _vm.user.id\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.userHighlightType = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, [_c('option', {\n attrs: {\n \"value\": \"disabled\"\n }\n }, [_vm._v(\"No highlight\")]), _vm._v(\" \"), _c('option', {\n attrs: {\n \"value\": \"solid\"\n }\n }, [_vm._v(\"Solid bg\")]), _vm._v(\" \"), _c('option', {\n attrs: {\n \"value\": \"striped\"\n }\n }, [_vm._v(\"Striped bg\")]), _vm._v(\" \"), _c('option', {\n attrs: {\n \"value\": \"side\"\n }\n }, [_vm._v(\"Side stripe\")])]), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })])]) : _vm._e()]), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n staticClass: \"user-interactions\"\n }, [(_vm.loggedIn) ? _c('div', {\n staticClass: \"follow\"\n }, [(_vm.user.following) ? _c('span', [_c('button', {\n staticClass: \"pressed\",\n attrs: {\n \"disabled\": _vm.followRequestInProgress,\n \"title\": _vm.$t('user_card.follow_unfollow')\n },\n on: {\n \"click\": _vm.unfollowUser\n }\n }, [(_vm.followRequestInProgress) ? [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow_progress')) + \"\\n \")] : [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.following')) + \"\\n \")]], 2)]) : _vm._e(), _vm._v(\" \"), (!_vm.user.following) ? _c('span', [_c('button', {\n attrs: {\n \"disabled\": _vm.followRequestInProgress,\n \"title\": _vm.followRequestSent ? _vm.$t('user_card.follow_again') : ''\n },\n on: {\n \"click\": _vm.followUser\n }\n }, [(_vm.followRequestInProgress) ? [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow_progress')) + \"\\n \")] : (_vm.followRequestSent) ? [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow_sent')) + \"\\n \")] : [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow')) + \"\\n \")]], 2)]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser && _vm.loggedIn) ? _c('div', {\n staticClass: \"mute\"\n }, [(_vm.user.muted) ? _c('span', [_c('button', {\n staticClass: \"pressed\",\n on: {\n \"click\": _vm.unmuteUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.muted')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.muted) ? _c('span', [_c('button', {\n on: {\n \"click\": _vm.muteUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.mute')) + \"\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (!_vm.loggedIn && _vm.user.is_local) ? _c('div', [_c('RemoteFollow', {\n attrs: {\n \"user\": _vm.user\n }\n })], 1) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser && _vm.loggedIn) ? _c('div', {\n staticClass: \"block\"\n }, [(_vm.user.statusnet_blocking) ? _c('span', [_c('button', {\n staticClass: \"pressed\",\n on: {\n \"click\": _vm.unblockUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.blocked')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.statusnet_blocking) ? _c('span', [_c('button', {\n on: {\n \"click\": _vm.blockUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.block')) + \"\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.loggedIn.role === \"admin\") ? _c('ModerationTools', {\n attrs: {\n \"user\": _vm.user\n }\n }) : _vm._e()], 1) : _vm._e()])]), _vm._v(\" \"), (!_vm.hideBio) ? _c('div', {\n staticClass: \"panel-body\"\n }, [(!_vm.hideUserStatsLocal && _vm.switcher) ? _c('div', {\n staticClass: \"user-counts\"\n }, [_c('div', {\n staticClass: \"user-count\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.setProfileView('statuses')\n }\n }\n }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.statuses')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.statuses_count) + \" \"), _c('br')])]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-count\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.setProfileView('friends')\n }\n }\n }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.followees')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.friends_count))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-count\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.setProfileView('followers')\n }\n }\n }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.followers')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.followers_count))])])]) : _vm._e(), _vm._v(\" \"), (!_vm.hideBio && _vm.user.description_html) ? _c('p', {\n staticClass: \"user-card-bio\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.user.description_html)\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.linkClicked($event)\n }\n }\n }) : (!_vm.hideBio) ? _c('p', {\n staticClass: \"user-card-bio\"\n }, [_vm._v(_vm._s(_vm.user.description))]) : _vm._e()]) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-41bc45fc\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_card/user_card.vue\n// module id = 766\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('basic-user-card', {\n attrs: {\n \"user\": _vm.user\n }\n }, [_c('div', {\n staticClass: \"follow-request-card-content-container\"\n }, [_c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.approveUser\n }\n }, [_vm._v(_vm._s(_vm.$t('user_card.approve')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.denyUser\n }\n }, [_vm._v(_vm._s(_vm.$t('user_card.deny')))])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-45e71c56\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/follow_request_card/follow_request_card.vue\n// module id = 767\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"import-export-container\"\n }, [_vm._t(\"before\"), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.exportData\n }\n }, [_vm._v(_vm._s(_vm.exportLabel))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.importData\n }\n }, [_vm._v(_vm._s(_vm.importLabel))]), _vm._v(\" \"), _vm._t(\"afterButtons\"), _vm._v(\" \"), (_vm.importFailed) ? _c('p', {\n staticClass: \"alert error\"\n }, [_vm._v(_vm._s(_vm.importFailedText))]) : _vm._e(), _vm._v(\" \"), _vm._t(\"afterError\")], 2)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-45eb80cc\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/export_import/export_import.vue\n// module id = 768\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.notification.type === 'mention') ? _c('status', {\n attrs: {\n \"compact\": true,\n \"statusoid\": _vm.notification.status\n }\n }) : _c('div', {\n staticClass: \"non-mention\",\n class: [_vm.userClass, {\n highlighted: _vm.userStyle\n }],\n style: ([_vm.userStyle])\n }, [_c('a', {\n staticClass: \"avatar-container\",\n attrs: {\n \"href\": _vm.notification.from_profile.statusnet_profile_url\n },\n on: {\n \"!click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n return _vm.toggleUserExpanded($event)\n }\n }\n }, [_c('UserAvatar', {\n attrs: {\n \"compact\": true,\n \"betterShadow\": _vm.betterShadow,\n \"src\": _vm.notification.from_profile.profile_image_url_original\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"notification-right\"\n }, [(_vm.userExpanded) ? _c('UserCard', {\n attrs: {\n \"user\": _vm.getUser(_vm.notification),\n \"rounded\": true,\n \"bordered\": true\n }\n }) : _vm._e(), _vm._v(\" \"), _c('span', {\n staticClass: \"notification-details\"\n }, [_c('div', {\n staticClass: \"name-and-action\"\n }, [(!!_vm.notification.from_profile.name_html) ? _c('span', {\n staticClass: \"username\",\n attrs: {\n \"title\": '@' + _vm.notification.from_profile.screen_name\n },\n domProps: {\n \"innerHTML\": _vm._s(_vm.notification.from_profile.name_html)\n }\n }) : _c('span', {\n staticClass: \"username\",\n attrs: {\n \"title\": '@' + _vm.notification.from_profile.screen_name\n }\n }, [_vm._v(_vm._s(_vm.notification.from_profile.name))]), _vm._v(\" \"), (_vm.notification.type === 'like') ? _c('span', [_c('i', {\n staticClass: \"fa icon-star lit\"\n }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.favorited_you')))])]) : _vm._e(), _vm._v(\" \"), (_vm.notification.type === 'repeat') ? _c('span', [_c('i', {\n staticClass: \"fa icon-retweet lit\",\n attrs: {\n \"title\": _vm.$t('tool_tip.repeat')\n }\n }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.repeated_you')))])]) : _vm._e(), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('span', [_c('i', {\n staticClass: \"fa icon-user-plus lit\"\n }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.followed_you')))])]) : _vm._e()]), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('div', {\n staticClass: \"timeago\"\n }, [_c('span', {\n staticClass: \"faint\"\n }, [_c('timeago', {\n attrs: {\n \"since\": _vm.notification.created_at,\n \"auto-update\": 240\n }\n })], 1)]) : _c('div', {\n staticClass: \"timeago\"\n }, [(_vm.notification.status) ? _c('router-link', {\n staticClass: \"faint-link\",\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: _vm.notification.status.id\n }\n }\n }\n }, [_c('timeago', {\n attrs: {\n \"since\": _vm.notification.created_at,\n \"auto-update\": 240\n }\n })], 1) : _vm._e()], 1)]), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('div', {\n staticClass: \"follow-text\"\n }, [_c('router-link', {\n attrs: {\n \"to\": _vm.userProfileLink(_vm.notification.from_profile)\n }\n }, [_vm._v(\"\\n @\" + _vm._s(_vm.notification.from_profile.screen_name) + \"\\n \")])], 1) : [_c('status', {\n staticClass: \"faint\",\n attrs: {\n \"compact\": true,\n \"statusoid\": _vm.notification.action,\n \"noHeading\": true\n }\n })]], 2)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-46ab3318\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/notification/notification.vue\n// module id = 769\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('StillImage', {\n staticClass: \"avatar\",\n class: {\n 'avatar-compact': _vm.compact, 'better-shadow': _vm.betterShadow\n },\n attrs: {\n \"src\": _vm.imgSrc,\n \"imageLoadError\": _vm.imageLoadError\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-48225754\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_avatar/user_avatar.vue\n// module id = 770\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"list\"\n }, [_vm._l((_vm.items), function(item) {\n return _c('div', {\n key: _vm.getKey(item),\n staticClass: \"list-item\"\n }, [_vm._t(\"item\", null, {\n item: item\n })], 2)\n }), _vm._v(\" \"), (_vm.items.length === 0 && !!_vm.$slots.empty) ? _c('div', {\n staticClass: \"list-empty-content faint\"\n }, [_vm._t(\"empty\")], 2) : _vm._e()], 2)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-4b0200f8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/list/list.vue\n// module id = 771\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('a', {\n staticClass: \"link-preview-card\",\n attrs: {\n \"href\": _vm.card.url,\n \"target\": \"_blank\",\n \"rel\": \"noopener\"\n }\n }, [(_vm.useImage) ? _c('div', {\n staticClass: \"card-image\",\n class: {\n 'small-image': _vm.size === 'small'\n }\n }, [_c('img', {\n attrs: {\n \"src\": _vm.card.image\n }\n })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"card-content\"\n }, [_c('span', {\n staticClass: \"card-host faint\"\n }, [_vm._v(_vm._s(_vm.card.provider_name))]), _vm._v(\" \"), _c('h4', {\n staticClass: \"card-title\"\n }, [_vm._v(_vm._s(_vm.card.title))]), _vm._v(\" \"), (_vm.useDescription) ? _c('p', {\n staticClass: \"card-description\"\n }, [_vm._v(_vm._s(_vm.card.description))]) : _vm._e()])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-4cb37358\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/link-preview/link-preview.vue\n// module id = 772\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"notifications\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [(!_vm.noHeading) ? _c('div', {\n staticClass: \"panel-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('notifications.notifications')) + \"\\n \"), (_vm.unseenCount) ? _c('span', {\n staticClass: \"badge badge-notification unseen-count\"\n }, [_vm._v(_vm._s(_vm.unseenCount))]) : _vm._e()]), _vm._v(\" \"), (_vm.error) ? _c('div', {\n staticClass: \"loadmore-error alert error\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.error_fetching')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.unseenCount) ? _c('button', {\n staticClass: \"read-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.markAsSeen($event)\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('notifications.read')))]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, _vm._l((_vm.visibleNotifications), function(notification) {\n return _c('div', {\n key: notification.id,\n staticClass: \"notification\",\n class: {\n \"unseen\": !notification.seen\n }\n }, [_c('div', {\n staticClass: \"notification-overlay\"\n }), _vm._v(\" \"), _c('notification', {\n attrs: {\n \"notification\": notification\n }\n })], 1)\n }), 0), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-footer\"\n }, [(_vm.bottomedOut) ? _c('div', {\n staticClass: \"new-status-notification text-center panel-footer faint\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('notifications.no_more_notifications')) + \"\\n \")]) : (!_vm.loading) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.fetchOlderNotifications()\n }\n }\n }, [_c('div', {\n staticClass: \"new-status-notification text-center panel-footer\"\n }, [_vm._v(_vm._s(_vm.$t('notifications.load_older')))])]) : _c('div', {\n staticClass: \"new-status-notification text-center panel-footer\"\n }, [_c('i', {\n staticClass: \"icon-spin3 animate-spin\"\n })])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-4ffc824a\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/notifications/notifications.vue\n// module id = 773\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"settings panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('nav.friend_requests')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, _vm._l((_vm.requests), function(request) {\n return _c('FollowRequestCard', {\n key: request.id,\n staticClass: \"list-item\",\n attrs: {\n \"user\": request\n }\n })\n }), 1)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-56ec10de\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/follow_requests/follow_requests.vue\n// module id = 774\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"timeline panel-default\",\n class: [_vm.isExpanded ? 'panel' : 'panel-disabled']\n }, [(_vm.isExpanded) ? _c('div', {\n staticClass: \"panel-heading conversation-heading\"\n }, [_c('span', {\n staticClass: \"title\"\n }, [_vm._v(\" \" + _vm._s(_vm.$t('timeline.conversation')) + \" \")]), _vm._v(\" \"), (_vm.collapsable) ? _c('span', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleExpanded($event)\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('timeline.collapse')))])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), _vm._l((_vm.conversation), function(status) {\n return _c('status', {\n key: status.id,\n staticClass: \"status-fadein panel-body\",\n attrs: {\n \"inlineExpanded\": _vm.collapsable,\n \"statusoid\": status,\n \"expandable\": !_vm.isExpanded,\n \"focused\": _vm.focused(status.id),\n \"inConversation\": _vm.isExpanded,\n \"highlight\": _vm.getHighlight(),\n \"replies\": _vm.getReplies(status.id)\n },\n on: {\n \"goto\": _vm.setHighlight,\n \"toggleExpanded\": _vm.toggleExpanded\n }\n })\n })], 2)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-57136bd0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/conversation/conversation.vue\n// module id = 775\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"settings panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.settings')) + \"\\n \")]), _vm._v(\" \"), _c('transition', {\n attrs: {\n \"name\": \"fade\"\n }\n }, [(_vm.currentSaveStateNotice) ? [(_vm.currentSaveStateNotice.error) ? _c('div', {\n staticClass: \"alert error\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.saving_err')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.currentSaveStateNotice.error) ? _c('div', {\n staticClass: \"alert transparent\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.saving_ok')) + \"\\n \")]) : _vm._e()] : _vm._e()], 2)], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('keep-alive', [_c('tab-switcher', [_c('div', {\n attrs: {\n \"label\": _vm.$t('settings.general')\n }\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.interface')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"setting-list\"\n }, [_c('li', [_c('interface-language-switcher')], 1), _vm._v(\" \"), (_vm.instanceSpecificPanelPresent) ? _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideISPLocal),\n expression: \"hideISPLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideISP\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideISPLocal) ? _vm._i(_vm.hideISPLocal, null) > -1 : (_vm.hideISPLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideISPLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideISPLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideISPLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideISPLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideISP\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.hide_isp')))])]) : _vm._e()])]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('nav.timeline')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"setting-list\"\n }, [_c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideMutedPostsLocal),\n expression: \"hideMutedPostsLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideMutedPosts\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideMutedPostsLocal) ? _vm._i(_vm.hideMutedPostsLocal, null) > -1 : (_vm.hideMutedPostsLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideMutedPostsLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideMutedPostsLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideMutedPostsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideMutedPostsLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideMutedPosts\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.hide_muted_posts')) + \" \" + _vm._s(_vm.$t('settings.instance_default', {\n value: _vm.hideMutedPostsDefault\n })))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.collapseMessageWithSubjectLocal),\n expression: \"collapseMessageWithSubjectLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"collapseMessageWithSubject\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.collapseMessageWithSubjectLocal) ? _vm._i(_vm.collapseMessageWithSubjectLocal, null) > -1 : (_vm.collapseMessageWithSubjectLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.collapseMessageWithSubjectLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.collapseMessageWithSubjectLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.collapseMessageWithSubjectLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.collapseMessageWithSubjectLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"collapseMessageWithSubject\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.collapse_subject')) + \" \" + _vm._s(_vm.$t('settings.instance_default', {\n value: _vm.collapseMessageWithSubjectDefault\n })))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.streamingLocal),\n expression: \"streamingLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"streaming\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.streamingLocal) ? _vm._i(_vm.streamingLocal, null) > -1 : (_vm.streamingLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.streamingLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.streamingLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.streamingLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.streamingLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"streaming\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.streaming')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"setting-list suboptions\",\n class: [{\n disabled: !_vm.streamingLocal\n }]\n }, [_c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.pauseOnUnfocusedLocal),\n expression: \"pauseOnUnfocusedLocal\"\n }],\n attrs: {\n \"disabled\": !_vm.streamingLocal,\n \"type\": \"checkbox\",\n \"id\": \"pauseOnUnfocused\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.pauseOnUnfocusedLocal) ? _vm._i(_vm.pauseOnUnfocusedLocal, null) > -1 : (_vm.pauseOnUnfocusedLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.pauseOnUnfocusedLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.pauseOnUnfocusedLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.pauseOnUnfocusedLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.pauseOnUnfocusedLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"pauseOnUnfocused\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.pause_on_unfocused')))])])])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.autoLoadLocal),\n expression: \"autoLoadLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"autoload\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.autoLoadLocal) ? _vm._i(_vm.autoLoadLocal, null) > -1 : (_vm.autoLoadLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.autoLoadLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.autoLoadLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.autoLoadLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.autoLoadLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"autoload\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.autoload')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hoverPreviewLocal),\n expression: \"hoverPreviewLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hoverPreview\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hoverPreviewLocal) ? _vm._i(_vm.hoverPreviewLocal, null) > -1 : (_vm.hoverPreviewLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hoverPreviewLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hoverPreviewLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hoverPreviewLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hoverPreviewLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hoverPreview\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.reply_link_preview')))])])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.composing')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"setting-list\"\n }, [_c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.scopeCopyLocal),\n expression: \"scopeCopyLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"scopeCopy\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.scopeCopyLocal) ? _vm._i(_vm.scopeCopyLocal, null) > -1 : (_vm.scopeCopyLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.scopeCopyLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.scopeCopyLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.scopeCopyLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.scopeCopyLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"scopeCopy\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.scope_copy')) + \" \" + _vm._s(_vm.$t('settings.instance_default', {\n value: _vm.scopeCopyDefault\n })) + \"\\n \")])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.alwaysShowSubjectInputLocal),\n expression: \"alwaysShowSubjectInputLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"subjectHide\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.alwaysShowSubjectInputLocal) ? _vm._i(_vm.alwaysShowSubjectInputLocal, null) > -1 : (_vm.alwaysShowSubjectInputLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.alwaysShowSubjectInputLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.alwaysShowSubjectInputLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.alwaysShowSubjectInputLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.alwaysShowSubjectInputLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"subjectHide\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.subject_input_always_show')) + \" \" + _vm._s(_vm.$t('settings.instance_default', {\n value: _vm.alwaysShowSubjectInputDefault\n })) + \"\\n \")])]), _vm._v(\" \"), _c('li', [_c('div', [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.subject_line_behavior')) + \"\\n \"), _c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": \"subjectLineBehavior\"\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.subjectLineBehaviorLocal),\n expression: \"subjectLineBehaviorLocal\"\n }],\n attrs: {\n \"id\": \"subjectLineBehavior\"\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.subjectLineBehaviorLocal = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, [_c('option', {\n attrs: {\n \"value\": \"email\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.subject_line_email')) + \"\\n \" + _vm._s(_vm.subjectLineBehaviorDefault == 'email' ? _vm.$t('settings.instance_default_simple') : '') + \"\\n \")]), _vm._v(\" \"), _c('option', {\n attrs: {\n \"value\": \"masto\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.subject_line_mastodon')) + \"\\n \" + _vm._s(_vm.subjectLineBehaviorDefault == 'mastodon' ? _vm.$t('settings.instance_default_simple') : '') + \"\\n \")]), _vm._v(\" \"), _c('option', {\n attrs: {\n \"value\": \"noop\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.subject_line_noop')) + \"\\n \" + _vm._s(_vm.subjectLineBehaviorDefault == 'noop' ? _vm.$t('settings.instance_default_simple') : '') + \"\\n \")])]), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })])])]), _vm._v(\" \"), _c('li', [_c('div', [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.post_status_content_type')) + \"\\n \"), _c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": \"postContentType\"\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.postContentTypeLocal),\n expression: \"postContentTypeLocal\"\n }],\n attrs: {\n \"id\": \"postContentType\"\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.postContentTypeLocal = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, _vm._l((_vm.postFormats), function(postFormat) {\n return _c('option', {\n key: postFormat,\n domProps: {\n \"value\": postFormat\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t((\"post_status.content_type[\\\"\" + postFormat + \"\\\"]\"))) + \"\\n \" + _vm._s(_vm.postContentTypeDefault === postFormat ? _vm.$t('settings.instance_default_simple') : '') + \"\\n \")])\n }), 0), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })])])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.minimalScopesModeLocal),\n expression: \"minimalScopesModeLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"minimalScopesMode\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.minimalScopesModeLocal) ? _vm._i(_vm.minimalScopesModeLocal, null) > -1 : (_vm.minimalScopesModeLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.minimalScopesModeLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.minimalScopesModeLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.minimalScopesModeLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.minimalScopesModeLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"minimalScopesMode\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.minimal_scopes_mode')) + \" \" + _vm._s(_vm.$t('settings.instance_default', {\n value: _vm.minimalScopesModeDefault\n })) + \"\\n \")])])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.attachments')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"setting-list\"\n }, [_c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideAttachmentsLocal),\n expression: \"hideAttachmentsLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideAttachments\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideAttachmentsLocal) ? _vm._i(_vm.hideAttachmentsLocal, null) > -1 : (_vm.hideAttachmentsLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideAttachmentsLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideAttachmentsLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideAttachmentsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideAttachmentsLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideAttachments\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_tl')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideAttachmentsInConvLocal),\n expression: \"hideAttachmentsInConvLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideAttachmentsInConv\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideAttachmentsInConvLocal) ? _vm._i(_vm.hideAttachmentsInConvLocal, null) > -1 : (_vm.hideAttachmentsInConvLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideAttachmentsInConvLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideAttachmentsInConvLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideAttachmentsInConvLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideAttachmentsInConvLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideAttachmentsInConv\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_convo')))])]), _vm._v(\" \"), _c('li', [_c('label', {\n attrs: {\n \"for\": \"maxThumbnails\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.max_thumbnails')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model.number\",\n value: (_vm.maxThumbnails),\n expression: \"maxThumbnails\",\n modifiers: {\n \"number\": true\n }\n }],\n staticClass: \"number-input\",\n attrs: {\n \"type\": \"number\",\n \"id\": \"maxThumbnails\",\n \"min\": \"0\",\n \"step\": \"1\"\n },\n domProps: {\n \"value\": (_vm.maxThumbnails)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.maxThumbnails = _vm._n($event.target.value)\n },\n \"blur\": function($event) {\n _vm.$forceUpdate()\n }\n }\n })]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideNsfwLocal),\n expression: \"hideNsfwLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideNsfw\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideNsfwLocal) ? _vm._i(_vm.hideNsfwLocal, null) > -1 : (_vm.hideNsfwLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideNsfwLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideNsfwLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideNsfwLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideNsfwLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideNsfw\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.nsfw_clickthrough')))])]), _vm._v(\" \"), _c('ul', {\n staticClass: \"setting-list suboptions\"\n }, [_c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.preloadImage),\n expression: \"preloadImage\"\n }],\n attrs: {\n \"disabled\": !_vm.hideNsfwLocal,\n \"type\": \"checkbox\",\n \"id\": \"preloadImage\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.preloadImage) ? _vm._i(_vm.preloadImage, null) > -1 : (_vm.preloadImage)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.preloadImage,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.preloadImage = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.preloadImage = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.preloadImage = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"preloadImage\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.preload_images')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.useOneClickNsfw),\n expression: \"useOneClickNsfw\"\n }],\n attrs: {\n \"disabled\": !_vm.hideNsfwLocal,\n \"type\": \"checkbox\",\n \"id\": \"useOneClickNsfw\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.useOneClickNsfw) ? _vm._i(_vm.useOneClickNsfw, null) > -1 : (_vm.useOneClickNsfw)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.useOneClickNsfw,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.useOneClickNsfw = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.useOneClickNsfw = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.useOneClickNsfw = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"useOneClickNsfw\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.use_one_click_nsfw')))])])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.stopGifs),\n expression: \"stopGifs\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"stopGifs\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.stopGifs) ? _vm._i(_vm.stopGifs, null) > -1 : (_vm.stopGifs)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.stopGifs,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.stopGifs = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.stopGifs = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.stopGifs = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"stopGifs\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.stop_gifs')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.loopVideoLocal),\n expression: \"loopVideoLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"loopVideo\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.loopVideoLocal) ? _vm._i(_vm.loopVideoLocal, null) > -1 : (_vm.loopVideoLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.loopVideoLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.loopVideoLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.loopVideoLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.loopVideoLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"loopVideo\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.loop_video')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"setting-list suboptions\",\n class: [{\n disabled: !_vm.streamingLocal\n }]\n }, [_c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.loopVideoSilentOnlyLocal),\n expression: \"loopVideoSilentOnlyLocal\"\n }],\n attrs: {\n \"disabled\": !_vm.loopVideoLocal || !_vm.loopSilentAvailable,\n \"type\": \"checkbox\",\n \"id\": \"loopVideoSilentOnly\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.loopVideoSilentOnlyLocal) ? _vm._i(_vm.loopVideoSilentOnlyLocal, null) > -1 : (_vm.loopVideoSilentOnlyLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.loopVideoSilentOnlyLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.loopVideoSilentOnlyLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.loopVideoSilentOnlyLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.loopVideoSilentOnlyLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"loopVideoSilentOnly\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.loop_video_silent_only')))]), _vm._v(\" \"), (!_vm.loopSilentAvailable) ? _c('div', {\n staticClass: \"unavailable\"\n }, [_c('i', {\n staticClass: \"icon-globe\"\n }), _vm._v(\"! \" + _vm._s(_vm.$t('settings.limited_availability')) + \"\\n \")]) : _vm._e()])])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.playVideosInModal),\n expression: \"playVideosInModal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"playVideosInModal\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.playVideosInModal) ? _vm._i(_vm.playVideosInModal, null) > -1 : (_vm.playVideosInModal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.playVideosInModal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.playVideosInModal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.playVideosInModal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.playVideosInModal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"playVideosInModal\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.play_videos_in_modal')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.useContainFit),\n expression: \"useContainFit\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"useContainFit\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.useContainFit) ? _vm._i(_vm.useContainFit, null) > -1 : (_vm.useContainFit)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.useContainFit,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.useContainFit = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.useContainFit = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.useContainFit = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"useContainFit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.use_contain_fit')))])])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.notifications')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"setting-list\"\n }, [_c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.webPushNotificationsLocal),\n expression: \"webPushNotificationsLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"webPushNotifications\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.webPushNotificationsLocal) ? _vm._i(_vm.webPushNotificationsLocal, null) > -1 : (_vm.webPushNotificationsLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.webPushNotificationsLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.webPushNotificationsLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.webPushNotificationsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.webPushNotificationsLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"webPushNotifications\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.enable_web_push_notifications')) + \"\\n \")])])])])]), _vm._v(\" \"), _c('div', {\n attrs: {\n \"label\": _vm.$t('settings.theme')\n }\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('style-switcher')], 1)]), _vm._v(\" \"), _c('div', {\n attrs: {\n \"label\": _vm.$t('settings.filtering')\n }\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('div', {\n staticClass: \"select-multiple\"\n }, [_c('span', {\n staticClass: \"label\"\n }, [_vm._v(_vm._s(_vm.$t('settings.notification_visibility')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"option-list\"\n }, [_c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.notificationVisibilityLocal.likes),\n expression: \"notificationVisibilityLocal.likes\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"notification-visibility-likes\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.notificationVisibilityLocal.likes) ? _vm._i(_vm.notificationVisibilityLocal.likes, null) > -1 : (_vm.notificationVisibilityLocal.likes)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.notificationVisibilityLocal.likes,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.$set(_vm.notificationVisibilityLocal, \"likes\", $$a.concat([$$v])))\n } else {\n $$i > -1 && (_vm.$set(_vm.notificationVisibilityLocal, \"likes\", $$a.slice(0, $$i).concat($$a.slice($$i + 1))))\n }\n } else {\n _vm.$set(_vm.notificationVisibilityLocal, \"likes\", $$c)\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"notification-visibility-likes\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.notification_visibility_likes')) + \"\\n \")])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.notificationVisibilityLocal.repeats),\n expression: \"notificationVisibilityLocal.repeats\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"notification-visibility-repeats\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.notificationVisibilityLocal.repeats) ? _vm._i(_vm.notificationVisibilityLocal.repeats, null) > -1 : (_vm.notificationVisibilityLocal.repeats)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.notificationVisibilityLocal.repeats,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.$set(_vm.notificationVisibilityLocal, \"repeats\", $$a.concat([$$v])))\n } else {\n $$i > -1 && (_vm.$set(_vm.notificationVisibilityLocal, \"repeats\", $$a.slice(0, $$i).concat($$a.slice($$i + 1))))\n }\n } else {\n _vm.$set(_vm.notificationVisibilityLocal, \"repeats\", $$c)\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"notification-visibility-repeats\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.notification_visibility_repeats')) + \"\\n \")])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.notificationVisibilityLocal.follows),\n expression: \"notificationVisibilityLocal.follows\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"notification-visibility-follows\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.notificationVisibilityLocal.follows) ? _vm._i(_vm.notificationVisibilityLocal.follows, null) > -1 : (_vm.notificationVisibilityLocal.follows)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.notificationVisibilityLocal.follows,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.$set(_vm.notificationVisibilityLocal, \"follows\", $$a.concat([$$v])))\n } else {\n $$i > -1 && (_vm.$set(_vm.notificationVisibilityLocal, \"follows\", $$a.slice(0, $$i).concat($$a.slice($$i + 1))))\n }\n } else {\n _vm.$set(_vm.notificationVisibilityLocal, \"follows\", $$c)\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"notification-visibility-follows\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.notification_visibility_follows')) + \"\\n \")])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.notificationVisibilityLocal.mentions),\n expression: \"notificationVisibilityLocal.mentions\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"notification-visibility-mentions\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.notificationVisibilityLocal.mentions) ? _vm._i(_vm.notificationVisibilityLocal.mentions, null) > -1 : (_vm.notificationVisibilityLocal.mentions)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.notificationVisibilityLocal.mentions,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.$set(_vm.notificationVisibilityLocal, \"mentions\", $$a.concat([$$v])))\n } else {\n $$i > -1 && (_vm.$set(_vm.notificationVisibilityLocal, \"mentions\", $$a.slice(0, $$i).concat($$a.slice($$i + 1))))\n }\n } else {\n _vm.$set(_vm.notificationVisibilityLocal, \"mentions\", $$c)\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"notification-visibility-mentions\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.notification_visibility_mentions')) + \"\\n \")])])])]), _vm._v(\" \"), _c('div', [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.replies_in_timeline')) + \"\\n \"), _c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": \"replyVisibility\"\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.replyVisibilityLocal),\n expression: \"replyVisibilityLocal\"\n }],\n attrs: {\n \"id\": \"replyVisibility\"\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.replyVisibilityLocal = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, [_c('option', {\n attrs: {\n \"value\": \"all\",\n \"selected\": \"\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.reply_visibility_all')))]), _vm._v(\" \"), _c('option', {\n attrs: {\n \"value\": \"following\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.reply_visibility_following')))]), _vm._v(\" \"), _c('option', {\n attrs: {\n \"value\": \"self\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.reply_visibility_self')))])]), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })])]), _vm._v(\" \"), _c('div', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hidePostStatsLocal),\n expression: \"hidePostStatsLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hidePostStats\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hidePostStatsLocal) ? _vm._i(_vm.hidePostStatsLocal, null) > -1 : (_vm.hidePostStatsLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hidePostStatsLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hidePostStatsLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hidePostStatsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hidePostStatsLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hidePostStats\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.hide_post_stats')) + \" \" + _vm._s(_vm.$t('settings.instance_default', {\n value: _vm.hidePostStatsDefault\n })) + \"\\n \")])]), _vm._v(\" \"), _c('div', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideUserStatsLocal),\n expression: \"hideUserStatsLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideUserStats\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideUserStatsLocal) ? _vm._i(_vm.hideUserStatsLocal, null) > -1 : (_vm.hideUserStatsLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideUserStatsLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideUserStatsLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideUserStatsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideUserStatsLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideUserStats\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.hide_user_stats')) + \" \" + _vm._s(_vm.$t('settings.instance_default', {\n value: _vm.hideUserStatsDefault\n })) + \"\\n \")])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.filtering_explanation')))]), _vm._v(\" \"), _c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.muteWordsString),\n expression: \"muteWordsString\"\n }],\n attrs: {\n \"id\": \"muteWords\"\n },\n domProps: {\n \"value\": (_vm.muteWordsString)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.muteWordsString = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideFilteredStatusesLocal),\n expression: \"hideFilteredStatusesLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideFilteredStatuses\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideFilteredStatusesLocal) ? _vm._i(_vm.hideFilteredStatusesLocal, null) > -1 : (_vm.hideFilteredStatusesLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideFilteredStatusesLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideFilteredStatusesLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideFilteredStatusesLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideFilteredStatusesLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideFilteredStatuses\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.hide_filtered_statuses')) + \" \" + _vm._s(_vm.$t('settings.instance_default', {\n value: _vm.hideFilteredStatusesDefault\n })) + \"\\n \")])])])]), _vm._v(\" \"), _c('div', {\n attrs: {\n \"label\": _vm.$t('settings.version.title')\n }\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('ul', {\n staticClass: \"setting-list\"\n }, [_c('li', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.version.backend_version')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"option-list\"\n }, [_c('li', [_c('a', {\n attrs: {\n \"href\": _vm.backendVersionLink,\n \"target\": \"_blank\"\n }\n }, [_vm._v(_vm._s(_vm.backendVersion))])])])]), _vm._v(\" \"), _c('li', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.version.frontend_version')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"option-list\"\n }, [_c('li', [_c('a', {\n attrs: {\n \"href\": _vm.frontendVersionLink,\n \"target\": \"_blank\"\n }\n }, [_vm._v(_vm._s(_vm.frontendVersion))])])])])])])])])], 1)], 1)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-5719c518\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/settings/settings.vue\n// module id = 776\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"emoji-input\"\n }, [(_vm.type !== 'textarea') ? _c('input', {\n class: _vm.classname,\n attrs: {\n \"type\": _vm.type,\n \"placeholder\": _vm.placeholder\n },\n domProps: {\n \"value\": _vm.value\n },\n on: {\n \"input\": _vm.onInput,\n \"click\": _vm.setCaret,\n \"keyup\": _vm.setCaret,\n \"keydown\": [_vm.onKeydown, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) { return null; }\n return _vm.cycleForward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) { return null; }\n return _vm.cycleBackward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) { return null; }\n if (!$event.shiftKey) { return null; }\n return _vm.cycleBackward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) { return null; }\n return _vm.cycleForward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) { return null; }\n return _vm.replaceEmoji($event)\n }]\n }\n }) : _c('textarea', {\n class: _vm.classname,\n attrs: {\n \"placeholder\": _vm.placeholder\n },\n domProps: {\n \"value\": _vm.value\n },\n on: {\n \"input\": _vm.onInput,\n \"click\": _vm.setCaret,\n \"keyup\": _vm.setCaret,\n \"keydown\": [_vm.onKeydown, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key, [\"Down\", \"ArrowDown\"])) { return null; }\n return _vm.cycleForward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key, [\"Up\", \"ArrowUp\"])) { return null; }\n return _vm.cycleBackward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) { return null; }\n if (!$event.shiftKey) { return null; }\n return _vm.cycleBackward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key, \"Tab\")) { return null; }\n return _vm.cycleForward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) { return null; }\n return _vm.replaceEmoji($event)\n }]\n }\n }), _vm._v(\" \"), (_vm.suggestions) ? _c('div', {\n staticClass: \"autocomplete-panel\"\n }, [_c('div', {\n staticClass: \"autocomplete-panel-body\"\n }, _vm._l((_vm.suggestions), function(emoji, index) {\n return _c('div', {\n key: index,\n staticClass: \"autocomplete-item\",\n class: {\n highlighted: emoji.highlighted\n },\n on: {\n \"click\": function($event) {\n _vm.replace(emoji.utf || (emoji.shortcode + ' '))\n }\n }\n }, [(emoji.img) ? _c('span', [_c('img', {\n attrs: {\n \"src\": emoji.img\n }\n })]) : _c('span', [_vm._v(_vm._s(emoji.utf))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(emoji.shortcode))])])\n }), 0)]) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-57426280\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/emoji-input/emoji-input.vue\n// module id = 777\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('video', {\n staticClass: \"video\",\n attrs: {\n \"src\": _vm.attachment.url,\n \"loop\": _vm.loopVideo,\n \"controls\": _vm.controls,\n \"playsinline\": \"\"\n },\n on: {\n \"loadeddata\": _vm.onVideoDataLoad\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-582fc798\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/video_attachment/video_attachment.vue\n// module id = 778\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.tag,\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'tag',\n \"tag\": _vm.tag\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-59e5a210\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/tag_timeline/tag_timeline.vue\n// module id = 779\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (!this.collapsed || !this.floating) ? _c('div', {\n staticClass: \"chat-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading\",\n class: {\n 'chat-heading': _vm.floating\n },\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n return _vm.togglePanel($event)\n }\n }\n }, [_c('div', {\n staticClass: \"title\"\n }, [_c('span', [_vm._v(_vm._s(_vm.$t('chat.title')))]), _vm._v(\" \"), (_vm.floating) ? _c('i', {\n staticClass: \"icon-cancel\"\n }) : _vm._e()])]), _vm._v(\" \"), _c('div', {\n directives: [{\n name: \"chat-scroll\",\n rawName: \"v-chat-scroll\"\n }],\n staticClass: \"chat-window\"\n }, _vm._l((_vm.messages), function(message) {\n return _c('div', {\n key: message.id,\n staticClass: \"chat-message\"\n }, [_c('span', {\n staticClass: \"chat-avatar\"\n }, [_c('img', {\n attrs: {\n \"src\": message.author.avatar\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"chat-content\"\n }, [_c('router-link', {\n staticClass: \"chat-name\",\n attrs: {\n \"to\": _vm.userProfileLink(message.author)\n }\n }, [_vm._v(\"\\n \" + _vm._s(message.author.username) + \"\\n \")]), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('span', {\n staticClass: \"chat-text\"\n }, [_vm._v(\"\\n \" + _vm._s(message.text) + \"\\n \")])], 1)])\n }), 0), _vm._v(\" \"), _c('div', {\n staticClass: \"chat-input\"\n }, [_c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.currentMessage),\n expression: \"currentMessage\"\n }],\n staticClass: \"chat-input-textarea\",\n attrs: {\n \"rows\": \"1\"\n },\n domProps: {\n \"value\": (_vm.currentMessage)\n },\n on: {\n \"keyup\": function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) { return null; }\n _vm.submit(_vm.currentMessage)\n },\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.currentMessage = $event.target.value\n }\n }\n })])])]) : _c('div', {\n staticClass: \"chat-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading stub timeline-heading chat-heading\",\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n return _vm.togglePanel($event)\n }\n }\n }, [_c('div', {\n staticClass: \"title\"\n }, [_c('i', {\n staticClass: \"icon-comment-empty\"\n }), _vm._v(\"\\n \" + _vm._s(_vm.$t('chat.title')) + \"\\n \")])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-5b021158\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/chat_panel/chat_panel.vue\n// module id = 780\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('basic-user-card', {\n attrs: {\n \"user\": _vm.user\n }\n }, [_c('div', {\n staticClass: \"follow-card-content-container\"\n }, [(!_vm.noFollowsYou && _vm.user.follows_you) ? _c('span', {\n staticClass: \"faint\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.isMe ? _vm.$t('user_card.its_you') : _vm.$t('user_card.follows_you')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.loggedIn) ? [(!_vm.user.following) ? _c('div', {\n staticClass: \"follow-card-follow-button\"\n }, [_c('RemoteFollow', {\n attrs: {\n \"user\": _vm.user\n }\n })], 1) : _vm._e()] : [(!_vm.user.following) ? _c('button', {\n staticClass: \"btn btn-default follow-card-follow-button\",\n attrs: {\n \"disabled\": _vm.inProgress,\n \"title\": _vm.requestSent ? _vm.$t('user_card.follow_again') : ''\n },\n on: {\n \"click\": _vm.followUser\n }\n }, [(_vm.inProgress) ? [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow_progress')) + \"\\n \")] : (_vm.requestSent) ? [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow_sent')) + \"\\n \")] : [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow')) + \"\\n \")]], 2) : _c('button', {\n staticClass: \"btn btn-default follow-card-follow-button pressed\",\n attrs: {\n \"disabled\": _vm.inProgress\n },\n on: {\n \"click\": _vm.unfollowUser\n }\n }, [(_vm.inProgress) ? [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow_progress')) + \"\\n \")] : [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow_unfollow')) + \"\\n \")]], 2)]], 2)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-609a91f6\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/follow_card/follow_card.vue\n// module id = 781\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('who_to_follow.who_to_follow')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, _vm._l((_vm.users), function(user) {\n return _c('FollowCard', {\n key: user.id,\n staticClass: \"list-item\",\n attrs: {\n \"user\": user\n }\n })\n }), 1)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-6a618ce2\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/who_to_follow/who_to_follow.vue\n// module id = 782\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.usePlaceHolder) ? _c('div', {\n on: {\n \"click\": _vm.openModal\n }\n }, [(_vm.type !== 'html') ? _c('a', {\n staticClass: \"placeholder\",\n attrs: {\n \"target\": \"_blank\",\n \"href\": _vm.attachment.url\n }\n }, [_vm._v(\"\\n [\" + _vm._s(_vm.nsfw ? \"NSFW/\" : \"\") + _vm._s(_vm.type.toUpperCase()) + \"]\\n \")]) : _vm._e()]) : _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.isEmpty),\n expression: \"!isEmpty\"\n }],\n staticClass: \"attachment\",\n class: ( _obj = {\n loading: _vm.loading,\n 'fullwidth': _vm.fullwidth,\n 'nsfw-placeholder': _vm.hidden\n }, _obj[_vm.type] = true, _obj )\n }, [(_vm.hidden) ? _c('a', {\n staticClass: \"image-attachment\",\n attrs: {\n \"href\": _vm.attachment.url\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleHidden($event)\n }\n }\n }, [_c('img', {\n key: _vm.nsfwImage,\n staticClass: \"nsfw\",\n class: {\n 'small': _vm.isSmall\n },\n attrs: {\n \"src\": _vm.nsfwImage\n }\n }), _vm._v(\" \"), (_vm.type === 'video') ? _c('i', {\n staticClass: \"play-icon icon-play-circled\"\n }) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.nsfw && _vm.hideNsfwLocal && !_vm.hidden) ? _c('div', {\n staticClass: \"hider\"\n }, [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleHidden($event)\n }\n }\n }, [_vm._v(\"Hide\")])]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'image' && (!_vm.hidden || _vm.preloadImage)) ? _c('a', {\n staticClass: \"image-attachment\",\n class: {\n 'hidden': _vm.hidden && _vm.preloadImage\n },\n attrs: {\n \"href\": _vm.attachment.url,\n \"target\": \"_blank\",\n \"title\": _vm.attachment.description\n },\n on: {\n \"click\": _vm.openModal\n }\n }, [_c('StillImage', {\n attrs: {\n \"referrerpolicy\": _vm.referrerpolicy,\n \"mimetype\": _vm.attachment.mimetype,\n \"src\": _vm.attachment.large_thumb_url || _vm.attachment.url\n }\n })], 1) : _vm._e(), _vm._v(\" \"), (_vm.type === 'video' && !_vm.hidden) ? _c('a', {\n staticClass: \"video-container\",\n class: {\n 'small': _vm.isSmall\n },\n attrs: {\n \"href\": _vm.allowPlay ? undefined : _vm.attachment.url\n },\n on: {\n \"click\": _vm.openModal\n }\n }, [_c('VideoAttachment', {\n staticClass: \"video\",\n attrs: {\n \"attachment\": _vm.attachment,\n \"controls\": _vm.allowPlay\n }\n }), _vm._v(\" \"), (!_vm.allowPlay) ? _c('i', {\n staticClass: \"play-icon icon-play-circled\"\n }) : _vm._e()], 1) : _vm._e(), _vm._v(\" \"), (_vm.type === 'audio') ? _c('audio', {\n attrs: {\n \"src\": _vm.attachment.url,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'html' && _vm.attachment.oembed) ? _c('div', {\n staticClass: \"oembed\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.linkClicked($event)\n }\n }\n }, [(_vm.attachment.thumb_url) ? _c('div', {\n staticClass: \"image\"\n }, [_c('img', {\n attrs: {\n \"src\": _vm.attachment.thumb_url\n }\n })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"text\"\n }, [_c('h1', [_c('a', {\n attrs: {\n \"href\": _vm.attachment.url\n }\n }, [_vm._v(_vm._s(_vm.attachment.oembed.title))])]), _vm._v(\" \"), _c('div', {\n domProps: {\n \"innerHTML\": _vm._s(_vm.attachment.oembed.oembedHTML)\n }\n })])]) : _vm._e()])\n var _obj;\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-6c119998\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/attachment/attachment.vue\n// module id = 783\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"shadow-control\",\n class: {\n disabled: !_vm.present\n }\n }, [_c('div', {\n staticClass: \"shadow-preview-container\"\n }, [_c('div', {\n staticClass: \"y-shift-control\",\n attrs: {\n \"disabled\": !_vm.present\n }\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected.y),\n expression: \"selected.y\"\n }],\n staticClass: \"input-number\",\n attrs: {\n \"disabled\": !_vm.present,\n \"type\": \"number\"\n },\n domProps: {\n \"value\": (_vm.selected.y)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.selected, \"y\", $event.target.value)\n }\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"wrap\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected.y),\n expression: \"selected.y\"\n }],\n staticClass: \"input-range\",\n attrs: {\n \"disabled\": !_vm.present,\n \"type\": \"range\",\n \"max\": \"20\",\n \"min\": \"-20\"\n },\n domProps: {\n \"value\": (_vm.selected.y)\n },\n on: {\n \"__r\": function($event) {\n _vm.$set(_vm.selected, \"y\", $event.target.value)\n }\n }\n })])]), _vm._v(\" \"), _c('div', {\n staticClass: \"preview-window\"\n }, [_c('div', {\n staticClass: \"preview-block\",\n style: (_vm.style)\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"x-shift-control\",\n attrs: {\n \"disabled\": !_vm.present\n }\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected.x),\n expression: \"selected.x\"\n }],\n staticClass: \"input-number\",\n attrs: {\n \"disabled\": !_vm.present,\n \"type\": \"number\"\n },\n domProps: {\n \"value\": (_vm.selected.x)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.selected, \"x\", $event.target.value)\n }\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"wrap\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected.x),\n expression: \"selected.x\"\n }],\n staticClass: \"input-range\",\n attrs: {\n \"disabled\": !_vm.present,\n \"type\": \"range\",\n \"max\": \"20\",\n \"min\": \"-20\"\n },\n domProps: {\n \"value\": (_vm.selected.x)\n },\n on: {\n \"__r\": function($event) {\n _vm.$set(_vm.selected, \"x\", $event.target.value)\n }\n }\n })])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"shadow-tweak\"\n }, [_c('div', {\n staticClass: \"id-control style-control\",\n attrs: {\n \"disabled\": _vm.usingFallback\n }\n }, [_c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": \"shadow-switcher\",\n \"disabled\": !_vm.ready || _vm.usingFallback\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selectedId),\n expression: \"selectedId\"\n }],\n staticClass: \"shadow-switcher\",\n attrs: {\n \"disabled\": !_vm.ready || _vm.usingFallback,\n \"id\": \"shadow-switcher\"\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.selectedId = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, _vm._l((_vm.cValue), function(shadow, index) {\n return _c('option', {\n domProps: {\n \"value\": index\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.shadows.shadow_id', {\n value: index\n })) + \"\\n \")])\n }), 0), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": !_vm.ready || !_vm.present\n },\n on: {\n \"click\": _vm.del\n }\n }, [_c('i', {\n staticClass: \"icon-cancel\"\n })]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": !_vm.moveUpValid\n },\n on: {\n \"click\": _vm.moveUp\n }\n }, [_c('i', {\n staticClass: \"icon-up-open\"\n })]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": !_vm.moveDnValid\n },\n on: {\n \"click\": _vm.moveDn\n }\n }, [_c('i', {\n staticClass: \"icon-down-open\"\n })]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.usingFallback\n },\n on: {\n \"click\": _vm.add\n }\n }, [_c('i', {\n staticClass: \"icon-plus\"\n })])]), _vm._v(\" \"), _c('div', {\n staticClass: \"inset-control style-control\",\n attrs: {\n \"disabled\": !_vm.present\n }\n }, [_c('label', {\n staticClass: \"label\",\n attrs: {\n \"for\": \"inset\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.shadows.inset')) + \"\\n \")]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected.inset),\n expression: \"selected.inset\"\n }],\n staticClass: \"input-inset\",\n attrs: {\n \"disabled\": !_vm.present,\n \"name\": \"inset\",\n \"id\": \"inset\",\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.selected.inset) ? _vm._i(_vm.selected.inset, null) > -1 : (_vm.selected.inset)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.selected.inset,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.$set(_vm.selected, \"inset\", $$a.concat([$$v])))\n } else {\n $$i > -1 && (_vm.$set(_vm.selected, \"inset\", $$a.slice(0, $$i).concat($$a.slice($$i + 1))))\n }\n } else {\n _vm.$set(_vm.selected, \"inset\", $$c)\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n staticClass: \"checkbox-label\",\n attrs: {\n \"for\": \"inset\"\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"blur-control style-control\",\n attrs: {\n \"disabled\": !_vm.present\n }\n }, [_c('label', {\n staticClass: \"label\",\n attrs: {\n \"for\": \"spread\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.shadows.blur')) + \"\\n \")]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected.blur),\n expression: \"selected.blur\"\n }],\n staticClass: \"input-range\",\n attrs: {\n \"disabled\": !_vm.present,\n \"name\": \"blur\",\n \"id\": \"blur\",\n \"type\": \"range\",\n \"max\": \"20\",\n \"min\": \"0\"\n },\n domProps: {\n \"value\": (_vm.selected.blur)\n },\n on: {\n \"__r\": function($event) {\n _vm.$set(_vm.selected, \"blur\", $event.target.value)\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected.blur),\n expression: \"selected.blur\"\n }],\n staticClass: \"input-number\",\n attrs: {\n \"disabled\": !_vm.present,\n \"type\": \"number\",\n \"min\": \"0\"\n },\n domProps: {\n \"value\": (_vm.selected.blur)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.selected, \"blur\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"spread-control style-control\",\n attrs: {\n \"disabled\": !_vm.present\n }\n }, [_c('label', {\n staticClass: \"label\",\n attrs: {\n \"for\": \"spread\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.shadows.spread')) + \"\\n \")]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected.spread),\n expression: \"selected.spread\"\n }],\n staticClass: \"input-range\",\n attrs: {\n \"disabled\": !_vm.present,\n \"name\": \"spread\",\n \"id\": \"spread\",\n \"type\": \"range\",\n \"max\": \"20\",\n \"min\": \"-20\"\n },\n domProps: {\n \"value\": (_vm.selected.spread)\n },\n on: {\n \"__r\": function($event) {\n _vm.$set(_vm.selected, \"spread\", $event.target.value)\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected.spread),\n expression: \"selected.spread\"\n }],\n staticClass: \"input-number\",\n attrs: {\n \"disabled\": !_vm.present,\n \"type\": \"number\"\n },\n domProps: {\n \"value\": (_vm.selected.spread)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.selected, \"spread\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"disabled\": !_vm.present,\n \"label\": _vm.$t('settings.style.common.color'),\n \"name\": \"shadow\"\n },\n model: {\n value: (_vm.selected.color),\n callback: function($$v) {\n _vm.$set(_vm.selected, \"color\", $$v)\n },\n expression: \"selected.color\"\n }\n }), _vm._v(\" \"), _c('OpacityInput', {\n attrs: {\n \"disabled\": !_vm.present\n },\n model: {\n value: (_vm.selected.alpha),\n callback: function($$v) {\n _vm.$set(_vm.selected, \"alpha\", $$v)\n },\n expression: \"selected.alpha\"\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.shadows.hint')) + \"\\n \")])], 1)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-75a4cd90\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/shadow_control/shadow_control.vue\n// module id = 784\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"block\",\n staticStyle: {\n \"position\": \"relative\"\n }\n }, [_c('Popper', {\n attrs: {\n \"trigger\": \"click\",\n \"append-to-body\": \"\",\n \"options\": {\n placement: 'bottom-end',\n modifiers: {\n arrow: {\n enabled: true\n },\n offset: {\n offset: '0, 5px'\n },\n }\n }\n },\n on: {\n \"hide\": function($event) {\n _vm.showDropDown = false\n }\n }\n }, [_c('div', {\n staticClass: \"popper-wrapper\"\n }, [_c('div', {\n staticClass: \"dropdown-menu\"\n }, [(_vm.user.is_local) ? _c('span', [_c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.toggleRight(\"admin\")\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(!!_vm.user.rights.admin ? 'user_card.admin_menu.revoke_admin' : 'user_card.admin_menu.grant_admin')) + \"\\n \")]), _vm._v(\" \"), _c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.toggleRight(\"moderator\")\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(!!_vm.user.rights.moderator ? 'user_card.admin_menu.revoke_moderator' : 'user_card.admin_menu.grant_moderator')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"dropdown-divider\",\n attrs: {\n \"role\": \"separator\"\n }\n })]) : _vm._e(), _vm._v(\" \"), _c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.toggleActivationStatus()\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(!!_vm.user.deactivated ? 'user_card.admin_menu.activate_account' : 'user_card.admin_menu.deactivate_account')) + \"\\n \")]), _vm._v(\" \"), _c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.deleteUserDialog(true)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.admin_menu.delete_account')) + \"\\n \")]), _vm._v(\" \"), (_vm.hasTagPolicy) ? _c('div', {\n staticClass: \"dropdown-divider\",\n attrs: {\n \"role\": \"separator\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.hasTagPolicy) ? _c('span', [_c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.toggleTag(_vm.tags.FORCE_NSFW)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.admin_menu.force_nsfw')) + \"\\n \"), _c('span', {\n staticClass: \"menu-checkbox\",\n class: {\n 'menu-checkbox-checked': _vm.hasTag(_vm.tags.FORCE_NSFW)\n }\n })]), _vm._v(\" \"), _c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.toggleTag(_vm.tags.STRIP_MEDIA)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.admin_menu.strip_media')) + \"\\n \"), _c('span', {\n staticClass: \"menu-checkbox\",\n class: {\n 'menu-checkbox-checked': _vm.hasTag(_vm.tags.STRIP_MEDIA)\n }\n })]), _vm._v(\" \"), _c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.toggleTag(_vm.tags.FORCE_UNLISTED)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.admin_menu.force_unlisted')) + \"\\n \"), _c('span', {\n staticClass: \"menu-checkbox\",\n class: {\n 'menu-checkbox-checked': _vm.hasTag(_vm.tags.FORCE_UNLISTED)\n }\n })]), _vm._v(\" \"), _c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.toggleTag(_vm.tags.SANDBOX)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.admin_menu.sandbox')) + \"\\n \"), _c('span', {\n staticClass: \"menu-checkbox\",\n class: {\n 'menu-checkbox-checked': _vm.hasTag(_vm.tags.SANDBOX)\n }\n })]), _vm._v(\" \"), (_vm.user.is_local) ? _c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.toggleTag(_vm.tags.DISABLE_REMOTE_SUBSCRIPTION)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.admin_menu.disable_remote_subscription')) + \"\\n \"), _c('span', {\n staticClass: \"menu-checkbox\",\n class: {\n 'menu-checkbox-checked': _vm.hasTag(_vm.tags.DISABLE_REMOTE_SUBSCRIPTION)\n }\n })]) : _vm._e(), _vm._v(\" \"), (_vm.user.is_local) ? _c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.toggleTag(_vm.tags.DISABLE_ANY_SUBSCRIPTION)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.admin_menu.disable_any_subscription')) + \"\\n \"), _c('span', {\n staticClass: \"menu-checkbox\",\n class: {\n 'menu-checkbox-checked': _vm.hasTag(_vm.tags.DISABLE_ANY_SUBSCRIPTION)\n }\n })]) : _vm._e(), _vm._v(\" \"), (_vm.user.is_local) ? _c('button', {\n staticClass: \"dropdown-item\",\n on: {\n \"click\": function($event) {\n _vm.toggleTag(_vm.tags.QUARANTINE)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.admin_menu.quarantine')) + \"\\n \"), _c('span', {\n staticClass: \"menu-checkbox\",\n class: {\n 'menu-checkbox-checked': _vm.hasTag(_vm.tags.QUARANTINE)\n }\n })]) : _vm._e()]) : _vm._e()])]), _vm._v(\" \"), _c('button', {\n class: {\n pressed: _vm.showDropDown\n },\n attrs: {\n \"slot\": \"reference\"\n },\n on: {\n \"click\": _vm.toggleMenu\n },\n slot: \"reference\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.admin_menu.moderation')) + \"\\n \")])]), _vm._v(\" \"), (_vm.showDeleteUserDialog) ? _c('DialogModal', {\n attrs: {\n \"onCancel\": _vm.deleteUserDialog.bind(this, false)\n }\n }, [_c('span', {\n attrs: {\n \"slot\": \"header\"\n },\n slot: \"header\"\n }, [_vm._v(_vm._s(_vm.$t('user_card.admin_menu.delete_user')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('user_card.admin_menu.delete_user_confirmation')))]), _vm._v(\" \"), _c('span', {\n attrs: {\n \"slot\": \"footer\"\n },\n slot: \"footer\"\n }, [_c('button', {\n on: {\n \"click\": function($event) {\n _vm.deleteUserDialog(false)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('general.cancel')) + \"\\n \")]), _vm._v(\" \"), _c('button', {\n staticClass: \"danger\",\n on: {\n \"click\": function($event) {\n _vm.deleteUser()\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.admin_menu.delete_user')) + \"\\n \")])])]) : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-75d69e10\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/moderation_tools/moderation_tools.vue\n// module id = 785\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.show) ? _c('div', {\n staticClass: \"instance-specific-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n domProps: {\n \"innerHTML\": _vm._s(_vm.instanceSpecificPanelContent)\n }\n })])])]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-77c211fc\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/instance_specific_panel/instance_specific_panel.vue\n// module id = 786\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"basic-user-card\"\n }, [_c('router-link', {\n attrs: {\n \"to\": _vm.userProfileLink(_vm.user)\n }\n }, [_c('UserAvatar', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": _vm.user.profile_image_url\n },\n nativeOn: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleUserExpanded($event)\n }\n }\n })], 1), _vm._v(\" \"), (_vm.userExpanded) ? _c('div', {\n staticClass: \"basic-user-card-expanded-content\"\n }, [_c('UserCard', {\n attrs: {\n \"user\": _vm.user,\n \"rounded\": true,\n \"bordered\": true\n }\n })], 1) : _c('div', {\n staticClass: \"basic-user-card-collapsed-content\"\n }, [_c('div', {\n staticClass: \"basic-user-card-user-name\",\n attrs: {\n \"title\": _vm.user.name\n }\n }, [(_vm.user.name_html) ? _c('span', {\n staticClass: \"basic-user-card-user-name-value\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.user.name_html)\n }\n }) : _c('span', {\n staticClass: \"basic-user-card-user-name-value\"\n }, [_vm._v(_vm._s(_vm.user.name))])]), _vm._v(\" \"), _c('div', [_c('router-link', {\n staticClass: \"basic-user-card-screen-name\",\n attrs: {\n \"to\": _vm.userProfileLink(_vm.user)\n }\n }, [_vm._v(\"\\n @\" + _vm._s(_vm.user.screen_name) + \"\\n \")])], 1), _vm._v(\" \"), _vm._t(\"default\")], 2)], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-7b67c5c0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/basic_user_card/basic_user_card.vue\n// module id = 787\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('div', {\n staticClass: \"user-finder-container\"\n }, [(_vm.loading) ? _c('i', {\n staticClass: \"icon-spin4 user-finder-icon animate-spin-slow\"\n }) : _vm._e(), _vm._v(\" \"), (_vm.hidden) ? _c('a', {\n attrs: {\n \"href\": \"#\",\n \"title\": _vm.$t('finder.find_user')\n }\n }, [_c('i', {\n staticClass: \"icon-user-plus user-finder-icon\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n $event.stopPropagation();\n return _vm.toggleHidden($event)\n }\n }\n })]) : [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.username),\n expression: \"username\"\n }],\n ref: \"userSearchInput\",\n staticClass: \"user-finder-input\",\n attrs: {\n \"placeholder\": _vm.$t('finder.find_user'),\n \"id\": \"user-finder-input\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.username)\n },\n on: {\n \"keyup\": function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) { return null; }\n _vm.findUser(_vm.username)\n },\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.username = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn search-button\",\n on: {\n \"click\": function($event) {\n _vm.findUser(_vm.username)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-search\"\n })]), _vm._v(\" \"), _c('i', {\n staticClass: \"button-icon icon-cancel user-finder-icon\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n $event.stopPropagation();\n return _vm.toggleHidden($event)\n }\n }\n })]], 2)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-7ca85c6e\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_finder/user_finder.vue\n// module id = 788\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.public_tl'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'public'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-84f9a930\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/public_timeline/public_timeline.vue\n// module id = 789\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.timeline'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'friends'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-87ffcfd0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/friends_timeline/friends_timeline.vue\n// module id = 790\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n class: _vm.classes.root\n }, [_c('div', {\n class: _vm.classes.header\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]), _vm._v(\" \"), (_vm.timelineError) ? _c('div', {\n staticClass: \"loadmore-error alert error\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.error_fetching')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n staticClass: \"loadmore-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.showNewStatuses($event)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.show_new')) + _vm._s(_vm.newStatusCountStr) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('div', {\n staticClass: \"loadmore-text faint\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.up_to_date')) + \"\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n class: _vm.classes.body\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.timeline.visibleStatuses), function(status) {\n return _c('conversation', {\n key: status.id,\n staticClass: \"status-fadein\",\n attrs: {\n \"statusoid\": status,\n \"collapsable\": true\n }\n })\n }), 1)]), _vm._v(\" \"), _c('div', {\n class: _vm.classes.footer\n }, [(_vm.count === 0) ? _c('div', {\n staticClass: \"new-status-notification text-center panel-footer faint\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.no_statuses')) + \"\\n \")]) : (_vm.bottomedOut) ? _c('div', {\n staticClass: \"new-status-notification text-center panel-footer faint\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.no_more_statuses')) + \"\\n \")]) : (!_vm.timeline.loading) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.fetchOlderStatuses()\n }\n }\n }, [_c('div', {\n staticClass: \"new-status-notification text-center panel-footer\"\n }, [_vm._v(_vm._s(_vm.$t('timeline.load_older')))])]) : _c('div', {\n staticClass: \"new-status-notification text-center panel-footer\"\n }, [_c('i', {\n staticClass: \"icon-spin3 animate-spin\"\n })])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-8acdb250\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/timeline/timeline.vue\n// module id = 791\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (!_vm.showNothing) ? _c('div', [(_vm.showDirect) ? _c('i', {\n staticClass: \"icon-mail-alt\",\n class: _vm.css.direct,\n attrs: {\n \"title\": _vm.$t('post_status.scope.direct')\n },\n on: {\n \"click\": function($event) {\n _vm.changeVis('direct')\n }\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.showPrivate) ? _c('i', {\n staticClass: \"icon-lock\",\n class: _vm.css.private,\n attrs: {\n \"title\": _vm.$t('post_status.scope.private')\n },\n on: {\n \"click\": function($event) {\n _vm.changeVis('private')\n }\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.showUnlisted) ? _c('i', {\n staticClass: \"icon-lock-open-alt\",\n class: _vm.css.unlisted,\n attrs: {\n \"title\": _vm.$t('post_status.scope.unlisted')\n },\n on: {\n \"click\": function($event) {\n _vm.changeVis('unlisted')\n }\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.showPublic) ? _c('i', {\n staticClass: \"icon-globe\",\n class: _vm.css.public,\n attrs: {\n \"title\": _vm.$t('post_status.scope.public')\n },\n on: {\n \"click\": function($event) {\n _vm.changeVis('public')\n }\n }\n }) : _vm._e()]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-8c430890\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/scope_selector/scope_selector.vue\n// module id = 792\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('nav', {\n staticClass: \"nav-bar container\",\n attrs: {\n \"id\": \"nav\"\n }\n }, [_c('div', {\n staticClass: \"mobile-inner-nav\",\n on: {\n \"click\": function($event) {\n _vm.scrollToTop()\n }\n }\n }, [_c('div', {\n staticClass: \"item\"\n }, [_c('a', {\n staticClass: \"mobile-nav-button\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.toggleMobileSidebar()\n }\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-menu\"\n })]), _vm._v(\" \"), _c('router-link', {\n staticClass: \"site-name\",\n attrs: {\n \"to\": {\n name: 'root'\n },\n \"active-class\": \"home\"\n }\n }, [_vm._v(_vm._s(_vm.sitename))])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"item right\"\n }, [(_vm.currentUser) ? _c('a', {\n staticClass: \"mobile-nav-button\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.openMobileNotifications()\n }\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-bell-alt\"\n }), _vm._v(\" \"), (_vm.unseenNotificationsCount) ? _c('div', {\n staticClass: \"alert-dot\"\n }) : _vm._e()]) : _vm._e()])]), _vm._v(\" \"), _c('SideDrawer', {\n ref: \"sideDrawer\",\n attrs: {\n \"logout\": _vm.logout\n }\n }), _vm._v(\" \"), (_vm.currentUser) ? _c('div', {\n staticClass: \"mobile-notifications-drawer\",\n class: {\n 'closed': !_vm.notificationsOpen\n },\n on: {\n \"touchstart\": _vm.notificationsTouchStart,\n \"touchmove\": _vm.notificationsTouchMove\n }\n }, [_c('div', {\n staticClass: \"mobile-notifications-header\"\n }, [_c('span', {\n staticClass: \"title\"\n }, [_vm._v(_vm._s(_vm.$t('notifications.notifications')))]), _vm._v(\" \"), _c('a', {\n staticClass: \"mobile-nav-button\",\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.closeMobileNotifications()\n }\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-cancel\"\n })])]), _vm._v(\" \"), (_vm.currentUser) ? _c('div', {\n staticClass: \"mobile-notifications\"\n }, [_c('Notifications', {\n ref: \"notifications\",\n attrs: {\n \"noHeading\": \"true\"\n }\n })], 1) : _vm._e()]) : _vm._e(), _vm._v(\" \"), _c('MobilePostStatusModal')], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-8c712490\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/mobile_nav/mobile_nav.vue\n// module id = 793\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"user-panel\"\n }, [(_vm.user) ? _c('div', {\n staticClass: \"panel panel-default\",\n staticStyle: {\n \"overflow\": \"visible\"\n }\n }, [_c('UserCard', {\n attrs: {\n \"user\": _vm.user,\n \"hideBio\": true,\n \"rounded\": \"top\"\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-footer\"\n }, [(_vm.user) ? _c('post-status-form') : _vm._e()], 1)], 1) : _vm._e(), _vm._v(\" \"), (!_vm.user) ? _c('login-form') : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-a72b9910\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_panel/user_panel.vue\n// module id = 794\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"sidebar\"\n }, [_c('instance-specific-panel'), _vm._v(\" \"), (_vm.showFeaturesPanel) ? _c('features-panel') : _vm._e(), _vm._v(\" \"), _c('terms-of-service-panel')], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-a9b2b458\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/about/about.vue\n// module id = 795\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"side-drawer-container\",\n class: {\n 'side-drawer-container-closed': _vm.closed, 'side-drawer-container-open': !_vm.closed\n }\n }, [_c('div', {\n staticClass: \"side-drawer-darken\",\n class: {\n 'side-drawer-darken-closed': _vm.closed\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"side-drawer\",\n class: {\n 'side-drawer-closed': _vm.closed\n },\n on: {\n \"touchstart\": _vm.touchStart,\n \"touchmove\": _vm.touchMove\n }\n }, [_c('div', {\n staticClass: \"side-drawer-heading\",\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [(_vm.currentUser) ? _c('UserCard', {\n attrs: {\n \"user\": _vm.currentUser,\n \"hideBio\": true\n }\n }) : _c('div', {\n staticClass: \"side-drawer-logo-wrapper\"\n }, [_c('img', {\n attrs: {\n \"src\": _vm.logo\n }\n }), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.sitename))])])], 1), _vm._v(\" \"), _c('ul', [(!_vm.currentUser) ? _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'login'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"login.login\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'dms',\n params: {\n username: _vm.currentUser.screen_name\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.dms\")) + \"\\n \")])], 1) : _vm._e()]), _vm._v(\" \"), _c('ul', [(_vm.currentUser) ? _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'friends'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.timeline\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser && _vm.currentUser.locked) ? _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": \"/friend-requests\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.friend_requests\")) + \"\\n \"), (_vm.followRequestCount > 0) ? _c('span', {\n staticClass: \"badge follow-request-count\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.followRequestCount) + \"\\n \")]) : _vm._e()])], 1) : _vm._e(), _vm._v(\" \"), _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": \"/main/public\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.public_tl\")) + \"\\n \")])], 1), _vm._v(\" \"), _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": \"/main/all\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.twkn\")) + \"\\n \")])], 1), _vm._v(\" \"), (_vm.currentUser && _vm.chat) ? _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'chat'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.chat\")) + \"\\n \")])], 1) : _vm._e()]), _vm._v(\" \"), _c('ul', [_c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-search'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.user_search\")) + \"\\n \")])], 1), _vm._v(\" \"), (_vm.currentUser && _vm.suggestionsEnabled) ? _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'who-to-follow'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.who_to_follow\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'settings'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"settings.settings\")) + \"\\n \")])], 1), _vm._v(\" \"), _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'about'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.about\")) + \"\\n \")])], 1), _vm._v(\" \"), (_vm.currentUser) ? _c('li', {\n on: {\n \"click\": _vm.toggleDrawer\n }\n }, [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": _vm.doLogout\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"login.logout\")) + \"\\n \")])]) : _vm._e()])]), _vm._v(\" \"), _c('div', {\n staticClass: \"side-drawer-click-outside\",\n class: {\n 'side-drawer-click-outside-closed': _vm.closed\n },\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n return _vm.toggleDrawer($event)\n }\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-b0cc0b28\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/side_drawer/side_drawer.vue\n// module id = 796\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.twkn'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'publicAndExternal'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-b0da3ad0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/public_and_external_timeline/public_and_external_timeline.vue\n// module id = 797\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"range-control style-control\",\n class: {\n disabled: !_vm.present || _vm.disabled\n }\n }, [_c('label', {\n staticClass: \"label\",\n attrs: {\n \"for\": _vm.name\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.label) + \"\\n \")]), _vm._v(\" \"), (typeof _vm.fallback !== 'undefined') ? _c('input', {\n staticClass: \"opt exclude-disabled\",\n attrs: {\n \"id\": _vm.name + '-o',\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": _vm.present\n },\n on: {\n \"input\": function($event) {\n _vm.$emit('input', !_vm.present ? _vm.fallback : undefined)\n }\n }\n }) : _vm._e(), _vm._v(\" \"), (typeof _vm.fallback !== 'undefined') ? _c('label', {\n staticClass: \"opt-l\",\n attrs: {\n \"for\": _vm.name + '-o'\n }\n }) : _vm._e(), _vm._v(\" \"), _c('input', {\n staticClass: \"input-number\",\n attrs: {\n \"id\": _vm.name,\n \"type\": \"range\",\n \"disabled\": !_vm.present || _vm.disabled,\n \"max\": _vm.max || _vm.hardMax || 100,\n \"min\": _vm.min || _vm.hardMin || 0,\n \"step\": _vm.step || 1\n },\n domProps: {\n \"value\": _vm.value || _vm.fallback\n },\n on: {\n \"input\": function($event) {\n _vm.$emit('input', $event.target.value)\n }\n }\n }), _vm._v(\" \"), _c('input', {\n staticClass: \"input-number\",\n attrs: {\n \"id\": _vm.name,\n \"type\": \"number\",\n \"disabled\": !_vm.present || _vm.disabled,\n \"max\": _vm.hardMax,\n \"min\": _vm.hardMin,\n \"step\": _vm.step || 1\n },\n domProps: {\n \"value\": _vm.value || _vm.fallback\n },\n on: {\n \"input\": function($event) {\n _vm.$emit('input', $event.target.value)\n }\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-b947c06c\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/range_input/range_input.vue\n// module id = 798\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"style-switcher\"\n }, [_c('div', {\n staticClass: \"presets-container\"\n }, [_c('div', {\n staticClass: \"save-load\"\n }, [_c('export-import', {\n attrs: {\n \"exportObject\": _vm.exportedTheme,\n \"exportLabel\": _vm.$t(\"settings.export_theme\"),\n \"importLabel\": _vm.$t(\"settings.import_theme\"),\n \"importFailedText\": _vm.$t(\"settings.invalid_theme_imported\"),\n \"onImport\": _vm.onImport,\n \"validator\": _vm.importValidator\n }\n }, [_c('template', {\n slot: \"before\"\n }, [_c('div', {\n staticClass: \"presets\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.presets')) + \"\\n \"), _c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": \"preset-switcher\"\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected),\n expression: \"selected\"\n }],\n staticClass: \"preset-switcher\",\n attrs: {\n \"id\": \"preset-switcher\"\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.selected = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, _vm._l((_vm.availableStyles), function(style) {\n return _c('option', {\n style: ({\n backgroundColor: style[1] || style.theme.colors.bg,\n color: style[3] || style.theme.colors.text\n }),\n domProps: {\n \"value\": style\n }\n }, [_vm._v(\"\\n \" + _vm._s(style[0] || style.name) + \"\\n \")])\n }), 0), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })])])])], 2)], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"save-load-options\"\n }, [_c('span', {\n staticClass: \"keep-option\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.keepColor),\n expression: \"keepColor\"\n }],\n attrs: {\n \"id\": \"keep-color\",\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.keepColor) ? _vm._i(_vm.keepColor, null) > -1 : (_vm.keepColor)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.keepColor,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.keepColor = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.keepColor = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.keepColor = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"keep-color\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.keep_color')))])]), _vm._v(\" \"), _c('span', {\n staticClass: \"keep-option\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.keepShadows),\n expression: \"keepShadows\"\n }],\n attrs: {\n \"id\": \"keep-shadows\",\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.keepShadows) ? _vm._i(_vm.keepShadows, null) > -1 : (_vm.keepShadows)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.keepShadows,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.keepShadows = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.keepShadows = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.keepShadows = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"keep-shadows\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.keep_shadows')))])]), _vm._v(\" \"), _c('span', {\n staticClass: \"keep-option\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.keepOpacity),\n expression: \"keepOpacity\"\n }],\n attrs: {\n \"id\": \"keep-opacity\",\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.keepOpacity) ? _vm._i(_vm.keepOpacity, null) > -1 : (_vm.keepOpacity)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.keepOpacity,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.keepOpacity = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.keepOpacity = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.keepOpacity = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"keep-opacity\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.keep_opacity')))])]), _vm._v(\" \"), _c('span', {\n staticClass: \"keep-option\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.keepRoundness),\n expression: \"keepRoundness\"\n }],\n attrs: {\n \"id\": \"keep-roundness\",\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.keepRoundness) ? _vm._i(_vm.keepRoundness, null) > -1 : (_vm.keepRoundness)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.keepRoundness,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.keepRoundness = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.keepRoundness = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.keepRoundness = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"keep-roundness\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.keep_roundness')))])]), _vm._v(\" \"), _c('span', {\n staticClass: \"keep-option\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.keepFonts),\n expression: \"keepFonts\"\n }],\n attrs: {\n \"id\": \"keep-fonts\",\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.keepFonts) ? _vm._i(_vm.keepFonts, null) > -1 : (_vm.keepFonts)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.keepFonts,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.keepFonts = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.keepFonts = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.keepFonts = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"keep-fonts\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.keep_fonts')))])]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.style.switcher.save_load_hint')))])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"preview-container\"\n }, [_c('preview', {\n style: (_vm.previewRules)\n })], 1), _vm._v(\" \"), _c('keep-alive', [_c('tab-switcher', {\n key: \"style-tweak\"\n }, [_c('div', {\n staticClass: \"color-container\",\n attrs: {\n \"label\": _vm.$t('settings.style.common_colors._tab_label')\n }\n }, [_c('div', {\n staticClass: \"tab-header\"\n }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.theme_help')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.clearOpacity\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_opacity')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.clearV1\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_all')))])]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.theme_help_v2_1')))]), _vm._v(\" \"), _c('h4', [_vm._v(_vm._s(_vm.$t('settings.style.common_colors.main')))]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('ColorInput', {\n attrs: {\n \"name\": \"bgColor\",\n \"label\": _vm.$t('settings.background')\n },\n model: {\n value: (_vm.bgColorLocal),\n callback: function($$v) {\n _vm.bgColorLocal = $$v\n },\n expression: \"bgColorLocal\"\n }\n }), _vm._v(\" \"), _c('OpacityInput', {\n attrs: {\n \"name\": \"bgOpacity\",\n \"fallback\": _vm.previewTheme.opacity.bg || 1\n },\n model: {\n value: (_vm.bgOpacityLocal),\n callback: function($$v) {\n _vm.bgOpacityLocal = $$v\n },\n expression: \"bgOpacityLocal\"\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"textColor\",\n \"label\": _vm.$t('settings.text')\n },\n model: {\n value: (_vm.textColorLocal),\n callback: function($$v) {\n _vm.textColorLocal = $$v\n },\n expression: \"textColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.bgText\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"linkColor\",\n \"label\": _vm.$t('settings.links')\n },\n model: {\n value: (_vm.linkColorLocal),\n callback: function($$v) {\n _vm.linkColorLocal = $$v\n },\n expression: \"linkColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.bgLink\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('ColorInput', {\n attrs: {\n \"name\": \"fgColor\",\n \"label\": _vm.$t('settings.foreground')\n },\n model: {\n value: (_vm.fgColorLocal),\n callback: function($$v) {\n _vm.fgColorLocal = $$v\n },\n expression: \"fgColorLocal\"\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"fgTextColor\",\n \"label\": _vm.$t('settings.text'),\n \"fallback\": _vm.previewTheme.colors.fgText\n },\n model: {\n value: (_vm.fgTextColorLocal),\n callback: function($$v) {\n _vm.fgTextColorLocal = $$v\n },\n expression: \"fgTextColorLocal\"\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"fgLinkColor\",\n \"label\": _vm.$t('settings.links'),\n \"fallback\": _vm.previewTheme.colors.fgLink\n },\n model: {\n value: (_vm.fgLinkColorLocal),\n callback: function($$v) {\n _vm.fgLinkColorLocal = $$v\n },\n expression: \"fgLinkColorLocal\"\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.style.common_colors.foreground_hint')))])], 1), _vm._v(\" \"), _c('h4', [_vm._v(_vm._s(_vm.$t('settings.style.common_colors.rgbo')))]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('ColorInput', {\n attrs: {\n \"name\": \"cRedColor\",\n \"label\": _vm.$t('settings.cRed')\n },\n model: {\n value: (_vm.cRedColorLocal),\n callback: function($$v) {\n _vm.cRedColorLocal = $$v\n },\n expression: \"cRedColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.bgRed\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"cBlueColor\",\n \"label\": _vm.$t('settings.cBlue')\n },\n model: {\n value: (_vm.cBlueColorLocal),\n callback: function($$v) {\n _vm.cBlueColorLocal = $$v\n },\n expression: \"cBlueColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.bgBlue\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('ColorInput', {\n attrs: {\n \"name\": \"cGreenColor\",\n \"label\": _vm.$t('settings.cGreen')\n },\n model: {\n value: (_vm.cGreenColorLocal),\n callback: function($$v) {\n _vm.cGreenColorLocal = $$v\n },\n expression: \"cGreenColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.bgGreen\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"cOrangeColor\",\n \"label\": _vm.$t('settings.cOrange')\n },\n model: {\n value: (_vm.cOrangeColorLocal),\n callback: function($$v) {\n _vm.cOrangeColorLocal = $$v\n },\n expression: \"cOrangeColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.bgOrange\n }\n })], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.theme_help_v2_2')))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-container\",\n attrs: {\n \"label\": _vm.$t('settings.style.advanced_colors._tab_label')\n }\n }, [_c('div', {\n staticClass: \"tab-header\"\n }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.theme_help')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.clearOpacity\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_opacity')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.clearV1\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_all')))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('h4', [_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.alert')))]), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"alertError\",\n \"label\": _vm.$t('settings.style.advanced_colors.alert_error'),\n \"fallback\": _vm.previewTheme.colors.alertError\n },\n model: {\n value: (_vm.alertErrorColorLocal),\n callback: function($$v) {\n _vm.alertErrorColorLocal = $$v\n },\n expression: \"alertErrorColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.alertError\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('h4', [_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.badge')))]), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"badgeNotification\",\n \"label\": _vm.$t('settings.style.advanced_colors.badge_notification'),\n \"fallback\": _vm.previewTheme.colors.badgeNotification\n },\n model: {\n value: (_vm.badgeNotificationColorLocal),\n callback: function($$v) {\n _vm.badgeNotificationColorLocal = $$v\n },\n expression: \"badgeNotificationColorLocal\"\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('h4', [_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.panel_header')))]), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"panelColor\",\n \"fallback\": _vm.fgColorLocal,\n \"label\": _vm.$t('settings.background')\n },\n model: {\n value: (_vm.panelColorLocal),\n callback: function($$v) {\n _vm.panelColorLocal = $$v\n },\n expression: \"panelColorLocal\"\n }\n }), _vm._v(\" \"), _c('OpacityInput', {\n attrs: {\n \"name\": \"panelOpacity\",\n \"fallback\": _vm.previewTheme.opacity.panel || 1\n },\n model: {\n value: (_vm.panelOpacityLocal),\n callback: function($$v) {\n _vm.panelOpacityLocal = $$v\n },\n expression: \"panelOpacityLocal\"\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"panelTextColor\",\n \"fallback\": _vm.previewTheme.colors.panelText,\n \"label\": _vm.$t('settings.text')\n },\n model: {\n value: (_vm.panelTextColorLocal),\n callback: function($$v) {\n _vm.panelTextColorLocal = $$v\n },\n expression: \"panelTextColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.panelText,\n \"large\": \"1\"\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"panelLinkColor\",\n \"fallback\": _vm.previewTheme.colors.panelLink,\n \"label\": _vm.$t('settings.links')\n },\n model: {\n value: (_vm.panelLinkColorLocal),\n callback: function($$v) {\n _vm.panelLinkColorLocal = $$v\n },\n expression: \"panelLinkColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.panelLink,\n \"large\": \"1\"\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('h4', [_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.top_bar')))]), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"topBarColor\",\n \"fallback\": _vm.fgColorLocal,\n \"label\": _vm.$t('settings.background')\n },\n model: {\n value: (_vm.topBarColorLocal),\n callback: function($$v) {\n _vm.topBarColorLocal = $$v\n },\n expression: \"topBarColorLocal\"\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"topBarTextColor\",\n \"fallback\": _vm.previewTheme.colors.topBarText,\n \"label\": _vm.$t('settings.text')\n },\n model: {\n value: (_vm.topBarTextColorLocal),\n callback: function($$v) {\n _vm.topBarTextColorLocal = $$v\n },\n expression: \"topBarTextColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.topBarText\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"topBarLinkColor\",\n \"fallback\": _vm.previewTheme.colors.topBarLink,\n \"label\": _vm.$t('settings.links')\n },\n model: {\n value: (_vm.topBarLinkColorLocal),\n callback: function($$v) {\n _vm.topBarLinkColorLocal = $$v\n },\n expression: \"topBarLinkColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.topBarLink\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('h4', [_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.inputs')))]), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"inputColor\",\n \"fallback\": _vm.fgColorLocal,\n \"label\": _vm.$t('settings.background')\n },\n model: {\n value: (_vm.inputColorLocal),\n callback: function($$v) {\n _vm.inputColorLocal = $$v\n },\n expression: \"inputColorLocal\"\n }\n }), _vm._v(\" \"), _c('OpacityInput', {\n attrs: {\n \"name\": \"inputOpacity\",\n \"fallback\": _vm.previewTheme.opacity.input || 1\n },\n model: {\n value: (_vm.inputOpacityLocal),\n callback: function($$v) {\n _vm.inputOpacityLocal = $$v\n },\n expression: \"inputOpacityLocal\"\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"inputTextColor\",\n \"fallback\": _vm.previewTheme.colors.inputText,\n \"label\": _vm.$t('settings.text')\n },\n model: {\n value: (_vm.inputTextColorLocal),\n callback: function($$v) {\n _vm.inputTextColorLocal = $$v\n },\n expression: \"inputTextColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.inputText\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('h4', [_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.buttons')))]), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"btnColor\",\n \"fallback\": _vm.fgColorLocal,\n \"label\": _vm.$t('settings.background')\n },\n model: {\n value: (_vm.btnColorLocal),\n callback: function($$v) {\n _vm.btnColorLocal = $$v\n },\n expression: \"btnColorLocal\"\n }\n }), _vm._v(\" \"), _c('OpacityInput', {\n attrs: {\n \"name\": \"btnOpacity\",\n \"fallback\": _vm.previewTheme.opacity.btn || 1\n },\n model: {\n value: (_vm.btnOpacityLocal),\n callback: function($$v) {\n _vm.btnOpacityLocal = $$v\n },\n expression: \"btnOpacityLocal\"\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"btnTextColor\",\n \"fallback\": _vm.previewTheme.colors.btnText,\n \"label\": _vm.$t('settings.text')\n },\n model: {\n value: (_vm.btnTextColorLocal),\n callback: function($$v) {\n _vm.btnTextColorLocal = $$v\n },\n expression: \"btnTextColorLocal\"\n }\n }), _vm._v(\" \"), _c('ContrastRatio', {\n attrs: {\n \"contrast\": _vm.previewContrast.btnText\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('h4', [_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.borders')))]), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"borderColor\",\n \"fallback\": _vm.previewTheme.colors.border,\n \"label\": _vm.$t('settings.style.common.color')\n },\n model: {\n value: (_vm.borderColorLocal),\n callback: function($$v) {\n _vm.borderColorLocal = $$v\n },\n expression: \"borderColorLocal\"\n }\n }), _vm._v(\" \"), _c('OpacityInput', {\n attrs: {\n \"name\": \"borderOpacity\",\n \"fallback\": _vm.previewTheme.opacity.border || 1\n },\n model: {\n value: (_vm.borderOpacityLocal),\n callback: function($$v) {\n _vm.borderOpacityLocal = $$v\n },\n expression: \"borderOpacityLocal\"\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('h4', [_vm._v(_vm._s(_vm.$t('settings.style.advanced_colors.faint_text')))]), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"faintColor\",\n \"fallback\": _vm.previewTheme.colors.faint || 1,\n \"label\": _vm.$t('settings.text')\n },\n model: {\n value: (_vm.faintColorLocal),\n callback: function($$v) {\n _vm.faintColorLocal = $$v\n },\n expression: \"faintColorLocal\"\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"faintLinkColor\",\n \"fallback\": _vm.previewTheme.colors.faintLink,\n \"label\": _vm.$t('settings.links')\n },\n model: {\n value: (_vm.faintLinkColorLocal),\n callback: function($$v) {\n _vm.faintLinkColorLocal = $$v\n },\n expression: \"faintLinkColorLocal\"\n }\n }), _vm._v(\" \"), _c('ColorInput', {\n attrs: {\n \"name\": \"panelFaintColor\",\n \"fallback\": _vm.previewTheme.colors.panelFaint,\n \"label\": _vm.$t('settings.style.advanced_colors.panel_header')\n },\n model: {\n value: (_vm.panelFaintColorLocal),\n callback: function($$v) {\n _vm.panelFaintColorLocal = $$v\n },\n expression: \"panelFaintColorLocal\"\n }\n }), _vm._v(\" \"), _c('OpacityInput', {\n attrs: {\n \"name\": \"faintOpacity\",\n \"fallback\": _vm.previewTheme.opacity.faint || 0.5\n },\n model: {\n value: (_vm.faintOpacityLocal),\n callback: function($$v) {\n _vm.faintOpacityLocal = $$v\n },\n expression: \"faintOpacityLocal\"\n }\n })], 1)]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-container\",\n attrs: {\n \"label\": _vm.$t('settings.style.radii._tab_label')\n }\n }, [_c('div', {\n staticClass: \"tab-header\"\n }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.radii_help')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.clearRoundness\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_all')))])]), _vm._v(\" \"), _c('RangeInput', {\n attrs: {\n \"name\": \"btnRadius\",\n \"label\": _vm.$t('settings.btnRadius'),\n \"fallback\": _vm.previewTheme.radii.btn,\n \"max\": \"16\",\n \"hardMin\": \"0\"\n },\n model: {\n value: (_vm.btnRadiusLocal),\n callback: function($$v) {\n _vm.btnRadiusLocal = $$v\n },\n expression: \"btnRadiusLocal\"\n }\n }), _vm._v(\" \"), _c('RangeInput', {\n attrs: {\n \"name\": \"inputRadius\",\n \"label\": _vm.$t('settings.inputRadius'),\n \"fallback\": _vm.previewTheme.radii.input,\n \"max\": \"9\",\n \"hardMin\": \"0\"\n },\n model: {\n value: (_vm.inputRadiusLocal),\n callback: function($$v) {\n _vm.inputRadiusLocal = $$v\n },\n expression: \"inputRadiusLocal\"\n }\n }), _vm._v(\" \"), _c('RangeInput', {\n attrs: {\n \"name\": \"checkboxRadius\",\n \"label\": _vm.$t('settings.checkboxRadius'),\n \"fallback\": _vm.previewTheme.radii.checkbox,\n \"max\": \"16\",\n \"hardMin\": \"0\"\n },\n model: {\n value: (_vm.checkboxRadiusLocal),\n callback: function($$v) {\n _vm.checkboxRadiusLocal = $$v\n },\n expression: \"checkboxRadiusLocal\"\n }\n }), _vm._v(\" \"), _c('RangeInput', {\n attrs: {\n \"name\": \"panelRadius\",\n \"label\": _vm.$t('settings.panelRadius'),\n \"fallback\": _vm.previewTheme.radii.panel,\n \"max\": \"50\",\n \"hardMin\": \"0\"\n },\n model: {\n value: (_vm.panelRadiusLocal),\n callback: function($$v) {\n _vm.panelRadiusLocal = $$v\n },\n expression: \"panelRadiusLocal\"\n }\n }), _vm._v(\" \"), _c('RangeInput', {\n attrs: {\n \"name\": \"avatarRadius\",\n \"label\": _vm.$t('settings.avatarRadius'),\n \"fallback\": _vm.previewTheme.radii.avatar,\n \"max\": \"28\",\n \"hardMin\": \"0\"\n },\n model: {\n value: (_vm.avatarRadiusLocal),\n callback: function($$v) {\n _vm.avatarRadiusLocal = $$v\n },\n expression: \"avatarRadiusLocal\"\n }\n }), _vm._v(\" \"), _c('RangeInput', {\n attrs: {\n \"name\": \"avatarAltRadius\",\n \"label\": _vm.$t('settings.avatarAltRadius'),\n \"fallback\": _vm.previewTheme.radii.avatarAlt,\n \"max\": \"28\",\n \"hardMin\": \"0\"\n },\n model: {\n value: (_vm.avatarAltRadiusLocal),\n callback: function($$v) {\n _vm.avatarAltRadiusLocal = $$v\n },\n expression: \"avatarAltRadiusLocal\"\n }\n }), _vm._v(\" \"), _c('RangeInput', {\n attrs: {\n \"name\": \"attachmentRadius\",\n \"label\": _vm.$t('settings.attachmentRadius'),\n \"fallback\": _vm.previewTheme.radii.attachment,\n \"max\": \"50\",\n \"hardMin\": \"0\"\n },\n model: {\n value: (_vm.attachmentRadiusLocal),\n callback: function($$v) {\n _vm.attachmentRadiusLocal = $$v\n },\n expression: \"attachmentRadiusLocal\"\n }\n }), _vm._v(\" \"), _c('RangeInput', {\n attrs: {\n \"name\": \"tooltipRadius\",\n \"label\": _vm.$t('settings.tooltipRadius'),\n \"fallback\": _vm.previewTheme.radii.tooltip,\n \"max\": \"50\",\n \"hardMin\": \"0\"\n },\n model: {\n value: (_vm.tooltipRadiusLocal),\n callback: function($$v) {\n _vm.tooltipRadiusLocal = $$v\n },\n expression: \"tooltipRadiusLocal\"\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"shadow-container\",\n attrs: {\n \"label\": _vm.$t('settings.style.shadows._tab_label')\n }\n }, [_c('div', {\n staticClass: \"tab-header shadow-selector\"\n }, [_c('div', {\n staticClass: \"select-container\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.shadows.component')) + \"\\n \"), _c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": \"shadow-switcher\"\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.shadowSelected),\n expression: \"shadowSelected\"\n }],\n staticClass: \"shadow-switcher\",\n attrs: {\n \"id\": \"shadow-switcher\"\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.shadowSelected = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, _vm._l((_vm.shadowsAvailable), function(shadow) {\n return _c('option', {\n domProps: {\n \"value\": shadow\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.shadows.components.' + shadow)) + \"\\n \")])\n }), 0), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })])]), _vm._v(\" \"), _c('div', {\n staticClass: \"override\"\n }, [_c('label', {\n staticClass: \"label\",\n attrs: {\n \"for\": \"override\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.shadows.override')) + \"\\n \")]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.currentShadowOverriden),\n expression: \"currentShadowOverriden\"\n }],\n staticClass: \"input-override\",\n attrs: {\n \"name\": \"override\",\n \"id\": \"override\",\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.currentShadowOverriden) ? _vm._i(_vm.currentShadowOverriden, null) > -1 : (_vm.currentShadowOverriden)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.currentShadowOverriden,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.currentShadowOverriden = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.currentShadowOverriden = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.currentShadowOverriden = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n staticClass: \"checkbox-label\",\n attrs: {\n \"for\": \"override\"\n }\n })]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.clearShadows\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_all')))])]), _vm._v(\" \"), _c('shadow-control', {\n attrs: {\n \"ready\": !!_vm.currentShadowFallback,\n \"fallback\": _vm.currentShadowFallback\n },\n model: {\n value: (_vm.currentShadow),\n callback: function($$v) {\n _vm.currentShadow = $$v\n },\n expression: \"currentShadow\"\n }\n }), _vm._v(\" \"), (_vm.shadowSelected === 'avatar' || _vm.shadowSelected === 'avatarStatus') ? _c('div', [_c('i18n', {\n attrs: {\n \"path\": \"settings.style.shadows.filter_hint.always_drop_shadow\",\n \"tag\": \"p\"\n }\n }, [_c('code', [_vm._v(\"filter: drop-shadow()\")])]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.style.shadows.filter_hint.avatar_inset')))]), _vm._v(\" \"), _c('i18n', {\n attrs: {\n \"path\": \"settings.style.shadows.filter_hint.drop_shadow_syntax\",\n \"tag\": \"p\"\n }\n }, [_c('code', [_vm._v(\"drop-shadow\")]), _vm._v(\" \"), _c('code', [_vm._v(\"spread-radius\")]), _vm._v(\" \"), _c('code', [_vm._v(\"inset\")])]), _vm._v(\" \"), _c('i18n', {\n attrs: {\n \"path\": \"settings.style.shadows.filter_hint.inset_classic\",\n \"tag\": \"p\"\n }\n }, [_c('code', [_vm._v(\"box-shadow\")])]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.style.shadows.filter_hint.spread_zero')))])], 1) : _vm._e()], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"fonts-container\",\n attrs: {\n \"label\": _vm.$t('settings.style.fonts._tab_label')\n }\n }, [_c('div', {\n staticClass: \"tab-header\"\n }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.style.fonts.help')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.clearFonts\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.clear_all')))])]), _vm._v(\" \"), _c('FontControl', {\n attrs: {\n \"name\": \"ui\",\n \"label\": _vm.$t('settings.style.fonts.components.interface'),\n \"fallback\": _vm.previewTheme.fonts.interface,\n \"no-inherit\": \"1\"\n },\n model: {\n value: (_vm.fontsLocal.interface),\n callback: function($$v) {\n _vm.$set(_vm.fontsLocal, \"interface\", $$v)\n },\n expression: \"fontsLocal.interface\"\n }\n }), _vm._v(\" \"), _c('FontControl', {\n attrs: {\n \"name\": \"input\",\n \"label\": _vm.$t('settings.style.fonts.components.input'),\n \"fallback\": _vm.previewTheme.fonts.input\n },\n model: {\n value: (_vm.fontsLocal.input),\n callback: function($$v) {\n _vm.$set(_vm.fontsLocal, \"input\", $$v)\n },\n expression: \"fontsLocal.input\"\n }\n }), _vm._v(\" \"), _c('FontControl', {\n attrs: {\n \"name\": \"post\",\n \"label\": _vm.$t('settings.style.fonts.components.post'),\n \"fallback\": _vm.previewTheme.fonts.post\n },\n model: {\n value: (_vm.fontsLocal.post),\n callback: function($$v) {\n _vm.$set(_vm.fontsLocal, \"post\", $$v)\n },\n expression: \"fontsLocal.post\"\n }\n }), _vm._v(\" \"), _c('FontControl', {\n attrs: {\n \"name\": \"postCode\",\n \"label\": _vm.$t('settings.style.fonts.components.postCode'),\n \"fallback\": _vm.previewTheme.fonts.postCode\n },\n model: {\n value: (_vm.fontsLocal.postCode),\n callback: function($$v) {\n _vm.$set(_vm.fontsLocal, \"postCode\", $$v)\n },\n expression: \"fontsLocal.postCode\"\n }\n })], 1)])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"apply-container\"\n }, [_c('button', {\n staticClass: \"btn submit\",\n attrs: {\n \"disabled\": !_vm.themeValid\n },\n on: {\n \"click\": _vm.setCustomTheme\n }\n }, [_vm._v(_vm._s(_vm.$t('general.apply')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.clearAll\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.style.switcher.reset')))])])], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-ba17cdd0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/style_switcher/style_switcher.vue\n// module id = 799\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"who-to-follow-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default base01-background\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading base02-background base04\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('who_to_follow.who_to_follow')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body who-to-follow\"\n }, [_vm._l((_vm.usersToFollow), function(user) {\n return _c('span', [_c('img', {\n attrs: {\n \"src\": user.img\n }\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": _vm.userProfileLink(user.id, user.name)\n }\n }, [_vm._v(\"\\n \" + _vm._s(user.name) + \"\\n \")]), _c('br')], 1)\n }), _vm._v(\" \"), _c('img', {\n attrs: {\n \"src\": _vm.$store.state.instance.logo\n }\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'who-to-follow'\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('who_to_follow.more')))])], 2)])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-bf9ee3a8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/who_to_follow_panel/who_to_follow_panel.vue\n// module id = 800\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"opacity-control style-control\",\n class: {\n disabled: !_vm.present || _vm.disabled\n }\n }, [_c('label', {\n staticClass: \"label\",\n attrs: {\n \"for\": _vm.name\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.style.common.opacity')) + \"\\n \")]), _vm._v(\" \"), (typeof _vm.fallback !== 'undefined') ? _c('input', {\n staticClass: \"opt exclude-disabled\",\n attrs: {\n \"id\": _vm.name + '-o',\n \"type\": \"checkbox\"\n },\n domProps: {\n \"checked\": _vm.present\n },\n on: {\n \"input\": function($event) {\n _vm.$emit('input', !_vm.present ? _vm.fallback : undefined)\n }\n }\n }) : _vm._e(), _vm._v(\" \"), (typeof _vm.fallback !== 'undefined') ? _c('label', {\n staticClass: \"opt-l\",\n attrs: {\n \"for\": _vm.name + '-o'\n }\n }) : _vm._e(), _vm._v(\" \"), _c('input', {\n staticClass: \"input-number\",\n attrs: {\n \"id\": _vm.name,\n \"type\": \"number\",\n \"disabled\": !_vm.present || _vm.disabled,\n \"max\": \"1\",\n \"min\": \"0\",\n \"step\": \".05\"\n },\n domProps: {\n \"value\": _vm.value || _vm.fallback\n },\n on: {\n \"input\": function($event) {\n _vm.$emit('input', $event.target.value)\n }\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-c69d01b4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/opacity_input/opacity_input.vue\n// module id = 801\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"user-search panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('nav.user_search')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-search-input-container\"\n }, [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.username),\n expression: \"username\"\n }],\n ref: \"userSearchInput\",\n staticClass: \"user-finder-input\",\n attrs: {\n \"placeholder\": _vm.$t('finder.find_user')\n },\n domProps: {\n \"value\": (_vm.username)\n },\n on: {\n \"keyup\": function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key, \"Enter\")) { return null; }\n _vm.newQuery(_vm.username)\n },\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.username = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn search-button\",\n on: {\n \"click\": function($event) {\n _vm.newQuery(_vm.username)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-search\"\n })])]), _vm._v(\" \"), (_vm.loading) ? _c('div', {\n staticClass: \"text-center loading-icon\"\n }, [_c('i', {\n staticClass: \"icon-spin3 animate-spin\"\n })]) : _c('div', {\n staticClass: \"panel-body\"\n }, _vm._l((_vm.users), function(user) {\n return _c('FollowCard', {\n key: user.id,\n staticClass: \"list-item\",\n attrs: {\n \"user\": user\n }\n })\n }), 1)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-c7873b1c\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_search/user_search.vue\n// module id = 802\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (!_vm.hideStatus) ? _c('div', {\n staticClass: \"status-el\",\n class: [{\n 'status-el_focused': _vm.isFocused\n }, {\n 'status-conversation': _vm.inlineExpanded\n }]\n }, [(_vm.muted && !_vm.isPreview) ? [_c('div', {\n staticClass: \"media status container muted\"\n }, [_c('small', [_c('router-link', {\n attrs: {\n \"to\": _vm.userProfileLink\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.status.user.screen_name) + \"\\n \")])], 1), _vm._v(\" \"), _c('small', {\n staticClass: \"muteWords\"\n }, [_vm._v(_vm._s(_vm.muteWordHits.join(', ')))]), _vm._v(\" \"), _c('a', {\n staticClass: \"unmute\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleMute($event)\n }\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-eye-off\"\n })])])] : [(_vm.retweet && !_vm.noHeading && !_vm.inConversation) ? _c('div', {\n staticClass: \"media container retweet-info\",\n class: [_vm.repeaterClass, {\n highlighted: _vm.repeaterStyle\n }],\n style: ([_vm.repeaterStyle])\n }, [(_vm.retweet) ? _c('UserAvatar', {\n staticClass: \"media-left\",\n attrs: {\n \"betterShadow\": _vm.betterShadow,\n \"src\": _vm.statusoid.user.profile_image_url_original\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"media-body faint\"\n }, [_c('span', {\n staticClass: \"user-name\"\n }, [(_vm.retweeterHtml) ? _c('router-link', {\n attrs: {\n \"to\": _vm.retweeterProfileLink\n },\n domProps: {\n \"innerHTML\": _vm._s(_vm.retweeterHtml)\n }\n }) : _c('router-link', {\n attrs: {\n \"to\": _vm.retweeterProfileLink\n }\n }, [_vm._v(_vm._s(_vm.retweeter))])], 1), _vm._v(\" \"), _c('i', {\n staticClass: \"fa icon-retweet retweeted\",\n attrs: {\n \"title\": _vm.$t('tool_tip.repeat')\n }\n }), _vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.repeated')) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"media status\",\n class: [_vm.userClass, {\n highlighted: _vm.userStyle,\n 'is-retweet': _vm.retweet && !_vm.inConversation\n }],\n style: ([_vm.userStyle])\n }, [(!_vm.noHeading) ? _c('div', {\n staticClass: \"media-left\"\n }, [_c('router-link', {\n attrs: {\n \"to\": _vm.userProfileLink\n },\n nativeOn: {\n \"!click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n return _vm.toggleUserExpanded($event)\n }\n }\n }, [_c('UserAvatar', {\n attrs: {\n \"compact\": _vm.compact,\n \"betterShadow\": _vm.betterShadow,\n \"src\": _vm.status.user.profile_image_url_original\n }\n })], 1)], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"status-body\"\n }, [(_vm.userExpanded) ? _c('UserCard', {\n staticClass: \"status-usercard\",\n attrs: {\n \"user\": _vm.status.user,\n \"rounded\": true,\n \"bordered\": true\n }\n }) : _vm._e(), _vm._v(\" \"), (!_vm.noHeading) ? _c('div', {\n staticClass: \"media-heading\"\n }, [_c('div', {\n staticClass: \"heading-name-row\"\n }, [_c('div', {\n staticClass: \"name-and-account-name\"\n }, [(_vm.status.user.name_html) ? _c('h4', {\n staticClass: \"user-name\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.status.user.name_html)\n }\n }) : _c('h4', {\n staticClass: \"user-name\"\n }, [_vm._v(_vm._s(_vm.status.user.name))]), _vm._v(\" \"), _c('router-link', {\n staticClass: \"account-name\",\n attrs: {\n \"to\": _vm.userProfileLink\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.status.user.screen_name) + \"\\n \")])], 1), _vm._v(\" \"), _c('span', {\n staticClass: \"heading-right\"\n }, [_c('router-link', {\n staticClass: \"timeago faint-link\",\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: _vm.status.id\n }\n }\n }\n }, [_c('timeago', {\n attrs: {\n \"since\": _vm.status.created_at,\n \"auto-update\": 60\n }\n })], 1), _vm._v(\" \"), (_vm.status.visibility) ? _c('div', {\n staticClass: \"button-icon visibility-icon\"\n }, [_c('i', {\n class: _vm.visibilityIcon(_vm.status.visibility),\n attrs: {\n \"title\": _vm._f(\"capitalize\")(_vm.status.visibility)\n }\n })]) : _vm._e(), _vm._v(\" \"), (!_vm.status.is_local && !_vm.isPreview) ? _c('a', {\n staticClass: \"source_url\",\n attrs: {\n \"href\": _vm.status.external_url,\n \"target\": \"_blank\",\n \"title\": \"Source\"\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-link-ext-alt\"\n })]) : _vm._e(), _vm._v(\" \"), (_vm.expandable && !_vm.isPreview) ? [_c('a', {\n attrs: {\n \"href\": \"#\",\n \"title\": \"Expand\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleExpanded($event)\n }\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-plus-squared\"\n })])] : _vm._e(), _vm._v(\" \"), (_vm.unmuted) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleMute($event)\n }\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-eye-off\"\n })]) : _vm._e()], 2)]), _vm._v(\" \"), _c('div', {\n staticClass: \"heading-reply-row\"\n }, [(_vm.isReply) ? _c('div', {\n staticClass: \"reply-to-and-accountname\"\n }, [_c('a', {\n staticClass: \"reply-to\",\n attrs: {\n \"href\": \"#\",\n \"aria-label\": _vm.$t('tool_tip.reply')\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.gotoOriginal(_vm.status.in_reply_to_status_id)\n },\n \"mouseenter\": function($event) {\n $event.preventDefault();\n $event.stopPropagation();\n _vm.replyEnter(_vm.status.in_reply_to_status_id, $event)\n },\n \"mouseleave\": function($event) {\n $event.preventDefault();\n $event.stopPropagation();\n _vm.replyLeave()\n }\n }\n }, [(!_vm.isPreview) ? _c('i', {\n staticClass: \"button-icon icon-reply\"\n }) : _vm._e(), _vm._v(\" \"), _c('span', {\n staticClass: \"faint-link reply-to-text\"\n }, [_vm._v(_vm._s(_vm.$t('status.reply_to')))])]), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": _vm.replyProfileLink\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.replyToName) + \"\\n \")]), _vm._v(\" \"), (_vm.replies && _vm.replies.length) ? _c('span', {\n staticClass: \"faint replies-separator\"\n }, [_vm._v(\"\\n -\\n \")]) : _vm._e()], 1) : _vm._e(), _vm._v(\" \"), (_vm.inConversation && !_vm.isPreview) ? _c('div', {\n staticClass: \"replies\"\n }, [(_vm.replies && _vm.replies.length) ? _c('span', {\n staticClass: \"faint\"\n }, [_vm._v(_vm._s(_vm.$t('status.replies_list')))]) : _vm._e(), _vm._v(\" \"), _vm._l((_vm.replies), function(reply) {\n return (_vm.replies) ? _c('span', {\n staticClass: \"reply-link faint\"\n }, [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.gotoOriginal(reply.id)\n },\n \"mouseenter\": function($event) {\n _vm.replyEnter(reply.id, $event)\n },\n \"mouseout\": function($event) {\n _vm.replyLeave()\n }\n }\n }, [_vm._v(_vm._s(reply.name))])]) : _vm._e()\n })], 2) : _vm._e()])]) : _vm._e(), _vm._v(\" \"), (_vm.showPreview) ? _c('div', {\n staticClass: \"status-preview-container\"\n }, [(_vm.preview) ? _c('status', {\n staticClass: \"status-preview\",\n attrs: {\n \"isPreview\": true,\n \"statusoid\": _vm.preview,\n \"compact\": true\n }\n }) : _c('div', {\n staticClass: \"status-preview status-preview-loading\"\n }, [_c('i', {\n staticClass: \"icon-spin4 animate-spin\"\n })])], 1) : _vm._e(), _vm._v(\" \"), (_vm.longSubject) ? _c('div', {\n staticClass: \"status-content-wrapper\",\n class: {\n 'tall-status': !_vm.showingLongSubject\n }\n }, [(!_vm.showingLongSubject) ? _c('a', {\n staticClass: \"tall-status-hider\",\n class: {\n 'tall-status-hider_focused': _vm.isFocused\n },\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.showingLongSubject = true\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"general.show_more\")))]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"status-content media-body\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.contentHtml)\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.linkClicked($event)\n }\n }\n }), _vm._v(\" \"), (_vm.showingLongSubject) ? _c('a', {\n staticClass: \"status-unhider\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.showingLongSubject = false\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"general.show_less\")))]) : _vm._e()]) : _c('div', {\n staticClass: \"status-content-wrapper\",\n class: {\n 'tall-status': _vm.hideTallStatus\n }\n }, [(_vm.hideTallStatus) ? _c('a', {\n staticClass: \"tall-status-hider\",\n class: {\n 'tall-status-hider_focused': _vm.isFocused\n },\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleShowMore($event)\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"general.show_more\")))]) : _vm._e(), _vm._v(\" \"), (!_vm.hideSubjectStatus) ? _c('div', {\n staticClass: \"status-content media-body\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.contentHtml)\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.linkClicked($event)\n }\n }\n }) : _c('div', {\n staticClass: \"status-content media-body\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.status.summary_html)\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.linkClicked($event)\n }\n }\n }), _vm._v(\" \"), (_vm.hideSubjectStatus) ? _c('a', {\n staticClass: \"cw-status-hider\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleShowMore($event)\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"general.show_more\")))]) : _vm._e(), _vm._v(\" \"), (_vm.showingMore) ? _c('a', {\n staticClass: \"status-unhider\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleShowMore($event)\n }\n }\n }, [_vm._v(_vm._s(_vm.$t(\"general.show_less\")))]) : _vm._e()]), _vm._v(\" \"), (_vm.status.attachments && (!_vm.hideSubjectStatus || _vm.showingLongSubject)) ? _c('div', {\n staticClass: \"attachments media-body\"\n }, [_vm._l((_vm.nonGalleryAttachments), function(attachment) {\n return _c('attachment', {\n key: attachment.id,\n staticClass: \"non-gallery\",\n attrs: {\n \"size\": _vm.attachmentSize,\n \"nsfw\": _vm.nsfwClickthrough,\n \"attachment\": attachment,\n \"allowPlay\": true,\n \"setMedia\": _vm.setMedia()\n }\n })\n }), _vm._v(\" \"), (_vm.galleryAttachments.length > 0) ? _c('gallery', {\n attrs: {\n \"nsfw\": _vm.nsfwClickthrough,\n \"attachments\": _vm.galleryAttachments,\n \"setMedia\": _vm.setMedia()\n }\n }) : _vm._e()], 2) : _vm._e(), _vm._v(\" \"), (_vm.status.card && !_vm.hideSubjectStatus && !_vm.noHeading) ? _c('div', {\n staticClass: \"link-preview media-body\"\n }, [_c('link-preview', {\n attrs: {\n \"card\": _vm.status.card,\n \"size\": _vm.attachmentSize,\n \"nsfw\": _vm.nsfwClickthrough\n }\n })], 1) : _vm._e(), _vm._v(\" \"), (!_vm.noHeading && !_vm.isPreview) ? _c('div', {\n staticClass: \"status-actions media-body\"\n }, [(_vm.loggedIn) ? _c('div', [_c('i', {\n staticClass: \"button-icon icon-reply\",\n class: {\n 'icon-reply-active': _vm.replying\n },\n attrs: {\n \"title\": _vm.$t('tool_tip.reply')\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.toggleReplying($event)\n }\n }\n }), _vm._v(\" \"), (_vm.status.replies_count > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.replies_count))]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), _c('retweet-button', {\n attrs: {\n \"visibility\": _vm.status.visibility,\n \"loggedIn\": _vm.loggedIn,\n \"status\": _vm.status\n }\n }), _vm._v(\" \"), _c('favorite-button', {\n attrs: {\n \"loggedIn\": _vm.loggedIn,\n \"status\": _vm.status\n }\n }), _vm._v(\" \"), _c('delete-button', {\n attrs: {\n \"status\": _vm.status\n }\n })], 1) : _vm._e()], 1)]), _vm._v(\" \"), (_vm.replying) ? _c('div', {\n staticClass: \"container\"\n }, [_c('div', {\n staticClass: \"reply-left\"\n }), _vm._v(\" \"), _c('post-status-form', {\n staticClass: \"reply-body\",\n attrs: {\n \"reply-to\": _vm.status.id,\n \"attentions\": _vm.status.attentions,\n \"repliedUser\": _vm.status.user,\n \"copy-message-scope\": _vm.status.visibility,\n \"subject\": _vm.replySubject\n },\n on: {\n \"posted\": _vm.toggleReplying\n }\n })], 1) : _vm._e()]], 2) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-d221ac90\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/status/status.vue\n// module id = 803\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.dms'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'dms'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-d8bc97b0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/dm_timeline/dm_timeline.vue\n// module id = 804\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"remote-follow\"\n }, [_c('form', {\n attrs: {\n \"method\": \"POST\",\n \"action\": _vm.subscribeUrl\n }\n }, [_c('input', {\n attrs: {\n \"type\": \"hidden\",\n \"name\": \"nickname\"\n },\n domProps: {\n \"value\": _vm.user.screen_name\n }\n }), _vm._v(\" \"), _c('input', {\n attrs: {\n \"type\": \"hidden\",\n \"name\": \"profile\",\n \"value\": \"\"\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"remote-button\",\n attrs: {\n \"click\": \"submit\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.remote_follow')) + \"\\n \")])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-e61d22e4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/remote_follow/remote_follow.vue\n// module id = 805\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('span', [_c('transition', {\n attrs: {\n \"name\": _vm.transition,\n \"enter-active-class\": _vm.enterActiveClass,\n \"leave-active-class\": _vm.leaveActiveClass\n },\n on: {\n \"after-leave\": _vm.doDestroy\n }\n }, [_c('span', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.disabled && _vm.showPopper),\n expression: \"!disabled && showPopper\"\n }],\n ref: \"popper\"\n }, [_vm._t(\"default\", [_vm._v(_vm._s(_vm.content))])], 2)]), _vm._v(\" \"), _vm._t(\"reference\")], 2)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-e68535ce\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./~/vue-popperjs/src/component/popper.js.vue\n// module id = 806\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n style: (_vm.bgAppStyle),\n attrs: {\n \"id\": \"app\"\n }\n }, [_c('div', {\n staticClass: \"app-bg-wrapper\",\n style: (_vm.bgStyle)\n }), _vm._v(\" \"), (_vm.isMobileLayout) ? _c('MobileNav') : _c('nav', {\n staticClass: \"nav-bar container\",\n attrs: {\n \"id\": \"nav\"\n },\n on: {\n \"click\": function($event) {\n _vm.scrollToTop()\n }\n }\n }, [_c('div', {\n staticClass: \"logo\",\n style: (_vm.logoBgStyle)\n }, [_c('div', {\n staticClass: \"mask\",\n style: (_vm.logoMaskStyle)\n }), _vm._v(\" \"), _c('img', {\n style: (_vm.logoStyle),\n attrs: {\n \"src\": _vm.logo\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"inner-nav\"\n }, [_c('div', {\n staticClass: \"item\"\n }, [_c('router-link', {\n staticClass: \"site-name\",\n attrs: {\n \"to\": {\n name: 'root'\n },\n \"active-class\": \"home\"\n }\n }, [_vm._v(_vm._s(_vm.sitename))])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"item right\"\n }, [_c('user-finder', {\n staticClass: \"button-icon nav-icon mobile-hidden\",\n on: {\n \"toggled\": _vm.onFinderToggled\n }\n }), _vm._v(\" \"), _c('router-link', {\n staticClass: \"mobile-hidden\",\n attrs: {\n \"to\": {\n name: 'settings'\n }\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-cog nav-icon\",\n attrs: {\n \"title\": _vm.$t('nav.preferences')\n }\n })]), _vm._v(\" \"), (_vm.currentUser) ? _c('a', {\n staticClass: \"mobile-hidden\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n return _vm.logout($event)\n }\n }\n }, [_c('i', {\n staticClass: \"button-icon icon-logout nav-icon\",\n attrs: {\n \"title\": _vm.$t('login.logout')\n }\n })]) : _vm._e()], 1)])]), _vm._v(\" \"), _c('div', {\n staticClass: \"container\",\n attrs: {\n \"id\": \"content\"\n }\n }, [(!_vm.isMobileLayout) ? _c('div', {\n staticClass: \"sidebar-flexer mobile-hidden\"\n }, [_c('div', {\n staticClass: \"sidebar-bounds\"\n }, [_c('div', {\n staticClass: \"sidebar-scroller\"\n }, [_c('div', {\n staticClass: \"sidebar\"\n }, [_c('user-panel'), _vm._v(\" \"), _c('nav-panel'), _vm._v(\" \"), (_vm.showInstanceSpecificPanel) ? _c('instance-specific-panel') : _vm._e(), _vm._v(\" \"), (!_vm.currentUser && _vm.showFeaturesPanel) ? _c('features-panel') : _vm._e(), _vm._v(\" \"), (_vm.currentUser && _vm.suggestionsEnabled) ? _c('who-to-follow-panel') : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('notifications') : _vm._e()], 1)])])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"main\"\n }, [(!_vm.currentUser) ? _c('div', {\n staticClass: \"login-hint panel panel-default\"\n }, [_c('router-link', {\n staticClass: \"panel-body\",\n attrs: {\n \"to\": {\n name: 'login'\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"login.hint\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('transition', {\n attrs: {\n \"name\": \"fade\"\n }\n }, [_c('router-view')], 1)], 1), _vm._v(\" \"), _c('media-modal')], 1), _vm._v(\" \"), (_vm.currentUser && _vm.chat) ? _c('chat-panel', {\n staticClass: \"floating-chat mobile-hidden\",\n attrs: {\n \"floating\": true\n }\n }) : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-e918ada2\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = 807\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('basic-user-card', {\n attrs: {\n \"user\": _vm.user\n }\n }, [_c('div', {\n staticClass: \"mute-card-content-container\"\n }, [(_vm.muted) ? _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.progress\n },\n on: {\n \"click\": _vm.unmuteUser\n }\n }, [(_vm.progress) ? [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.unmute_progress')) + \"\\n \")] : [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.unmute')) + \"\\n \")]], 2) : _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.progress\n },\n on: {\n \"click\": _vm.muteUser\n }\n }, [(_vm.progress) ? [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.mute_progress')) + \"\\n \")] : [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.mute')) + \"\\n \")]], 2)])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-fd544d34\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/mute_card/mute_card.vue\n// module id = 808\n// module chunks = 2"],"sourceRoot":""} \ No newline at end of file diff --git a/priv/static/static/js/manifest.bf15f24d205c8cf4ee4a.js b/priv/static/static/js/manifest.bf15f24d205c8cf4ee4a.js deleted file mode 100644 index b6de44a86..000000000 --- a/priv/static/static/js/manifest.bf15f24d205c8cf4ee4a.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e){function t(a){if(r[a])return r[a].exports;var n=r[a]={exports:{},id:a,loaded:!1};return e[a].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var a=window.webpackJsonp;window.webpackJsonp=function(o,c){for(var p,l,s=0,d=[];s=0&&Math.floor(e)===e&&isFinite(t)}function h(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}function m(t,e){return Nr.call(t,e)}function y(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function g(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function b(t,e){return t.bind(e)}function _(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function w(t,e){for(var n in e)t[n]=e[n];return t}function x(t){for(var e={},n=0;n-1)if(i&&!m(o,"default"))a=!1;else if(""===a||a===Dr(t)){var u=nt(String,o.type);(u<0||s0&&(a=bt(a,(e||"")+"_"+n),gt(a[0])&>(c)&&(f[u]=P(c.text+a[0].text),a.shift()),f.push.apply(f,a)):s(a)?gt(c)?f[u]=P(c.text+a):""!==a&&f.push(P(a)):gt(a)&>(c)?f[u]=P(c.text+a.text):(i(t._isVList)&&o(a.tag)&&r(a.key)&&o(e)&&(a.key="__vlist"+e+"_"+n+"__"),f.push(a)));return f}function _t(t,e){return(t.__esModule||so&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function wt(t,e,n,r,o){var i=vo();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function xt(t,e,n){if(i(t.error)&&o(t.errorComp))return t.errorComp;if(o(t.resolved))return t.resolved;if(i(t.loading)&&o(t.loadingComp))return t.loadingComp;if(!o(t.contexts)){var a=t.contexts=[n],s=!0,c=function(t){for(var e=0,n=a.length;e1?_(n):n;for(var r=_(arguments,1),o=0,i=n.length;ozo&&Do[n].id>t.id;)n--;Do.splice(n+1,0,t)}else Do.push(t);Bo||(Bo=!0,ut(Ht))}}function Gt(t,e,n){Ho.get=function(){return this[e][n]},Ho.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ho)}function Kt(t){t._watchers=[];var e=t.$options;e.props&&Zt(t,e.props),e.methods&&oe(t,e.methods),e.data?Jt(t):$(t._data={},!0),e.computed&&te(t,e.computed),e.watch&&e.watch!==to&&ie(t,e.watch)}function Zt(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[],i=!t.$parent;i||I(!1);var a=function(i){o.push(i);var a=J(i,e,n,t);B(r,i,a),i in t||Gt(t,"_props",i)};for(var s in e)a(s);I(!0)}function Jt(t){var e=t.$options.data;e=t._data="function"==typeof e?Qt(e,t):e||{},c(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);o--;){var i=n[o];r&&m(r,i)||E(i)||Gt(t,"_data",i)}$(e,!0)}function Qt(t,e){N();try{return t.call(e,e)}catch(t){return rt(t,e,"data()"),{}}finally{T()}}function te(t,e){var n=t._computedWatchers=Object.create(null),r=io();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new Wo(t,a||j,j,Yo)),o in t||ee(t,o,i)}}function ee(t,e,n){var r=!io();"function"==typeof n?(Ho.get=r?ne(e):re(n),Ho.set=j):(Ho.get=n.get?r&&n.cache!==!1?ne(e):re(n.get):j,Ho.set=n.set||j),Object.defineProperty(t,e,Ho)}function ne(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),fo.target&&e.depend(),e.value}}function re(t){return function(){return t.call(this,this)}}function oe(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?j:Rr(e[n],t)}function ie(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o=0||n.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function We(t){this._init(t)}function He(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ye(t){t.mixin=function(t){return this.options=K(this.options,t),this}}function qe(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=K(n.options,t),a.super=n,a.options.props&&Xe(a),a.options.computed&&Ve(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,zr.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=w({},a.options),o[r]=a,a}}function Xe(t){var e=t.options.props;for(var n in e)Gt(t.prototype,"_props",n)}function Ve(t){var e=t.options.computed;for(var n in e)ee(t.prototype,n,e[n])}function Ge(t){zr.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Ke(t){return t&&(t.Ctor.options.name||t.tag)}function Ze(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Je(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=Ke(a.componentOptions);s&&!e(s)&&Qe(n,i,r,o)}}}function Qe(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,v(n,e)}function tn(t){var e={};e.get=function(){return Wr},Object.defineProperty(t,"config",e),t.util={warn:uo,extend:w,mergeOptions:K,defineReactive:B},t.set=F,t.delete=z,t.nextTick=ut,t.options=Object.create(null),zr.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,w(t.options.components,Qo),He(t),Ye(t),qe(t),Ge(t)}function en(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)r=r.componentInstance._vnode,r&&r.data&&(e=nn(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=nn(e,n.data));return rn(e.staticClass,e.class)}function nn(t,e){return{staticClass:on(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function rn(t,e){return o(t)||o(e)?on(t,an(e)):""}function on(t,e){return t?e?t+" "+e:t:e||""}function an(t){return Array.isArray(t)?sn(t):u(t)?un(t):"string"==typeof t?t:""}function sn(t){for(var e,n="",r=0,i=t.length;r-1?vi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:vi[t]=/HTMLUnknownElement/.test(e.toString())}function ln(t){if("string"==typeof t){var e=document.querySelector(t);return e?e:document.createElement("div")}return t}function hn(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function pn(t,e){return document.createElementNS(li[t],e)}function dn(t){return document.createTextNode(t)}function vn(t){return document.createComment(t)}function mn(t,e,n){t.insertBefore(e,n)}function yn(t,e){t.removeChild(e)}function gn(t,e){t.appendChild(e)}function bn(t){return t.parentNode}function _n(t){return t.nextSibling}function wn(t){return t.tagName}function xn(t,e){t.textContent=e}function jn(t,e){t.setAttribute(e,"")}function On(t,e){var n=t.data.ref;if(o(n)){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?v(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(i)<0&&a[n].push(i):a[n]=[i]:a[n]=i}}function kn(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&o(t.data)===o(e.data)&&Sn(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function Sn(t,e){if("input"!==t.tag)return!0;var n,r=o(n=t.data)&&o(n=n.attrs)&&n.type,i=o(n=e.data)&&o(n=n.attrs)&&n.type;return r===i||mi(r)&&mi(i)}function En(t,e,n){var r,i,a={};for(r=e;r<=n;++r)i=t[r].key,o(i)&&(a[i]=r);return a}function An(t){function e(t){return new ho(N.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0===--n.listeners&&a(t)}return n.listeners=e,n}function a(t){var e=N.parentNode(t);o(e)&&N.removeChild(e,t)}function u(t,e,n,r,a,s,u){if(o(t.elm)&&o(s)&&(t=s[u]=L(t)),t.isRootInsert=!a,!c(t,e,n,r)){var f=t.data,l=t.children,d=t.tag;o(d)?(t.elm=t.ns?N.createElementNS(t.ns,d):N.createElement(d,t),y(t),p(t,l,e),o(f)&&m(t,e),h(n,t.elm,r)):i(t.isComment)?(t.elm=N.createComment(t.text),h(n,t.elm,r)):(t.elm=N.createTextNode(t.text),h(n,t.elm,r))}}function c(t,e,n,r){var a=t.data;if(o(a)){var s=o(t.componentInstance)&&a.keepAlive;if(o(a=a.hook)&&o(a=a.init)&&a(t,!1),o(t.componentInstance))return f(t,e),h(n,t.elm,r),i(s)&&l(t,e,n,r),!0}}function f(t,e){o(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,v(t)?(m(t,e),y(t)):(On(t),e.push(t))}function l(t,e,n,r){for(var i,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,o(i=a.data)&&o(i=i.transition)){for(i=0;id?(l=r(n[y+1])?null:n[y+1].elm,g(t,l,n,p,y,i)):p>y&&_(t,e,h,d)}function j(t,e,n,r){for(var i=n;i-1?Dn(t,e,n):ai(e)?fi(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):ii(e)?t.setAttribute(e,fi(n)||"false"===n?"false":"true"):ui(e)?fi(n)?t.removeAttributeNS(si,ci(e)):t.setAttributeNS(si,e,n):Dn(t,e,n)}function Dn(t,e,n){if(fi(n))t.removeAttribute(e);else{if(Kr&&!Zr&&("TEXTAREA"===t.tagName||"INPUT"===t.tagName)&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}function Rn(t,e){var n=e.elm,i=e.data,a=t.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=en(e),u=n._transitionClasses;o(u)&&(s=on(s,an(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function $n(t){if(o(t[Si])){var e=Kr?"change":"input";t[e]=[].concat(t[Si],t[e]||[]),delete t[Si]}o(t[Ei])&&(t.change=[].concat(t[Ei],t.change||[]),delete t[Ei])}function Bn(t,e,n){var r=ti;return function o(){var i=e.apply(null,arguments);null!==i&&zn(t,o,n,r)}}function Fn(t,e,n,r){e=st(e),ti.addEventListener(t,e,eo?{capture:n,passive:r}:n)}function zn(t,e,n,r){(r||ti).removeEventListener(t,e._withTask||e,n)}function Un(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},o=t.data.on||{};ti=e.elm,$n(n),ht(n,o,Fn,zn,Bn,e.context),ti=void 0}}function Wn(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,i,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};o(u.__ob__)&&(u=e.data.domProps=w({},u));for(n in s)r(u[n])&&(a[n]="");for(n in u){if(i=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var c=r(i)?"":String(i);Hn(a,c)&&(a.value=c)}else a[n]=i}}}function Hn(t,e){return!t.composing&&("OPTION"===t.tagName||Yn(t,e)||qn(t,e))}function Yn(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function qn(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return p(n)!==p(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}function Xn(t){var e=Vn(t.style);return t.staticStyle?w(t.staticStyle,e):e}function Vn(t){return Array.isArray(t)?x(t):"string"==typeof t?Ci(t):t}function Gn(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)o=o.componentInstance._vnode,o&&o.data&&(n=Xn(o.data))&&w(r,n);(n=Xn(t.data))&&w(r,n);for(var i=t;i=i.parent;)i.data&&(n=Xn(i.data))&&w(r,n);return r}function Kn(t,e){var n=e.data,i=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,u=e.elm,c=i.staticStyle,f=i.normalizedStyle||i.style||{},l=c||f,h=Vn(e.data.style)||{};e.data.normalizedStyle=o(h.__ob__)?w({},h):h;var p=Gn(e,!0);for(s in l)r(p[s])&&Pi(u,s,"");for(s in p)a=p[s],a!==l[s]&&Pi(u,s,null==a?"":a)}}function Zn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ri).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Jn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ri).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Qn(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&w(e,$i(t.name||"v")),w(e,t),e}return"string"==typeof t?$i(t):void 0}}function tr(t){qi(function(){qi(t)})}function er(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Zn(t,e))}function nr(t,e){t._transitionClasses&&v(t._transitionClasses,e),Jn(t,e)}function rr(t,e,n){var r=or(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Fi?Wi:Yi,u=0,c=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u0&&(n=Fi,f=a,l=i.length):e===zi?c>0&&(n=zi,f=c,l=u.length):(f=Math.max(a,c),n=f>0?a>c?Fi:zi:null,l=n?n===Fi?i.length:u.length:0);var h=n===Fi&&Xi.test(r[Ui+"Property"]);return{type:n,timeout:f,propCount:l,hasTransform:h}}function ir(t,e){for(;t.length1}function lr(t,e){e.data.show!==!0&&sr(e)}function hr(t,e,n){pr(t,e,n),(Kr||Jr)&&setTimeout(function(){pr(t,e,n)},0)}function pr(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,u=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(O(vr(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function dr(t,e){return e.every(function(e){return!O(e,t)})}function vr(t){return"_value"in t?t._value:t.value}function mr(t){t.target.composing=!0}function yr(t){t.target.composing&&(t.target.composing=!1,gr(t.target,"input"))}function gr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function br(t){return!t.componentInstance||t.data&&t.data.transition?t:br(t.componentInstance._vnode)}function _r(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?_r(Ot(e.children)):t}function wr(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[Pr(i)]=o[i];return e}function xr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function jr(t){for(;t=t.parent;)if(t.data.transition)return!0}function Or(t,e){return e.key===t.key&&e.tag===t.tag}function kr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Sr(t){t.data.newPos=t.elm.getBoundingClientRect()}function Er(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}var Ar=Object.freeze({}),Mr=Object.prototype.toString,Cr=(d("slot,component",!0),d("key,ref,slot,slot-scope,is")),Nr=Object.prototype.hasOwnProperty,Tr=/-(\w)/g,Pr=y(function(t){return t.replace(Tr,function(t,e){return e?e.toUpperCase():""})}),Lr=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Ir=/\B([A-Z])/g,Dr=y(function(t){return t.replace(Ir,"-$1").toLowerCase()}),Rr=Function.prototype.bind?b:g,$r=function(t,e,n){return!1},Br=function(t){return t},Fr="data-server-rendered",zr=["component","directive","filter"],Ur=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],Wr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:$r,isReservedAttr:$r,isUnknownElement:$r,getTagNamespace:j,parsePlatformTagName:Br,mustUseProp:$r,async:!0,_lifecycleHooks:Ur},Hr=/[^\w.$]/,Yr="__proto__"in{},qr="undefined"!=typeof window,Xr="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Vr=Xr&&WXEnvironment.platform.toLowerCase(),Gr=qr&&window.navigator.userAgent.toLowerCase(),Kr=Gr&&/msie|trident/.test(Gr),Zr=Gr&&Gr.indexOf("msie 9.0")>0,Jr=Gr&&Gr.indexOf("edge/")>0,Qr=(Gr&&Gr.indexOf("android")>0||"android"===Vr,Gr&&/iphone|ipad|ipod|ios/.test(Gr)||"ios"===Vr),to=(Gr&&/chrome\/\d+/.test(Gr)&&!Jr,{}.watch),eo=!1;if(qr)try{var no={};Object.defineProperty(no,"passive",{get:function(){eo=!0}}),window.addEventListener("test-passive",null,no)}catch(t){}var ro,oo,io=function(){return void 0===ro&&(ro=!qr&&!Xr&&"undefined"!=typeof e&&(e.process&&"server"===e.process.env.VUE_ENV)),ro},ao=qr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,so="undefined"!=typeof Symbol&&C(Symbol)&&"undefined"!=typeof Reflect&&C(Reflect.ownKeys);oo="undefined"!=typeof Set&&C(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return this.set[t]===!0},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var uo=j,co=0,fo=function(){this.id=co++,this.subs=[]};fo.prototype.addSub=function(t){this.subs.push(t)},fo.prototype.removeSub=function(t){v(this.subs,t)},fo.prototype.depend=function(){fo.target&&fo.target.addDep(this)},fo.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;eparseInt(this.max)&&Qe(u,c[0],c,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Qo={KeepAlive:Jo};tn(We),Object.defineProperty(We.prototype,"$isServer",{get:io}),Object.defineProperty(We.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(We,"FunctionalRenderContext",{value:je}),We.version="2.5.21";var ti,ei,ni=d("style,class"),ri=d("input,textarea,option,select,progress"),oi=function(t,e,n){return"value"===n&&ri(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},ii=d("contenteditable,draggable,spellcheck"),ai=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),si="http://www.w3.org/1999/xlink",ui=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},ci=function(t){return ui(t)?t.slice(6,t.length):""},fi=function(t){return null==t||t===!1},li={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},hi=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),pi=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),di=function(t){return hi(t)||pi(t)},vi=Object.create(null),mi=d("text,number,password,search,email,tel,url"),yi=Object.freeze({createElement:hn,createElementNS:pn,createTextNode:dn,createComment:vn,insertBefore:mn,removeChild:yn,appendChild:gn,parentNode:bn,nextSibling:_n,tagName:wn,setTextContent:xn,setStyleScope:jn}),gi={create:function(t,e){On(e)},update:function(t,e){t.data.ref!==e.data.ref&&(On(t,!0),On(e))},destroy:function(t){On(t,!0)}},bi=new ho("",{},[]),_i=["create","activate","update","remove","destroy"],wi={create:Mn,update:Mn,destroy:function(t){Mn(t,bi)}},xi=Object.create(null),ji=[gi,wi],Oi={create:Ln,update:Ln},ki={create:Rn,update:Rn},Si="__r",Ei="__c",Ai={create:Un,update:Un},Mi={create:Wn,update:Wn},Ci=y(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),Ni=/^--/,Ti=/\s*!important$/,Pi=function(t,e,n){if(Ni.test(e))t.style.setProperty(e,n);else if(Ti.test(n))t.style.setProperty(e,n.replace(Ti,""),"important");else{var r=Ii(e);if(Array.isArray(n))for(var o=0,i=n.length;o=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(13),o=r.Symbol;t.exports=o},function(t,e){function n(t,e,n){var r=-1,o=t.length;e<0&&(e=-e>o?0:o+e),n=n>o?o:n,n<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var i=Array(o);++rb;b++)if(m=e?g(a(d=t[b])[0],d[1]):g(t[b]),m===c||m===f)return m}else for(v=y.call(t);!(d=v.next()).done;)if(m=o(v,g,d.value,e),m===c||m===f)return m};e.BREAK=c,e.RETURN=f},function(t,e){t.exports=!0},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(12).f,o=n(30),i=n(7)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(104);t.exports=function(t){return Object(r(t))}},function(t,e,n){n(403);for(var r=n(6),o=n(24),i=n(40),a=n(7)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u-1&&t%1==0&&t";for(e.style.display="none",n(159).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+a+"document.F=Object"+o+"/script"+a),t.close(),c=t.F;r--;)delete c[u][i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[u]=r(t),n=new s,s[u]=null,n[a]=t):n=c(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(115),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){function n(t){return o(t)&&d.call(t,"callee")&&(!m.call(t,"callee")||v.call(t)==f)}function r(t){return null!=t&&a(t.length)&&!i(t)}function o(t){return u(t)&&r(t)}function i(t){var e=s(t)?v.call(t):"";return e==l||e==h}function a(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=c}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function u(t){return!!t&&"object"==typeof t}var c=9007199254740991,f="[object Arguments]",l="[object Function]",h="[object GeneratorFunction]",p=Object.prototype,d=p.hasOwnProperty,v=p.toString,m=p.propertyIsEnumerable;t.exports=n},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e0?r:n)(t)}},function(t,e,n){var r=n(15);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(6),o=n(2),i=n(55),a=n(118),s=n(12).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){e.f=n(7)},function(t,e,n){var r=n(75),o=n(7)("iterator"),i=n(40);t.exports=n(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e){},function(t,e){function n(t){return!!t&&"object"==typeof t}function r(t,e){var n=null==t?void 0:t[e];return s(n)?n:void 0}function o(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=y}function i(t){return a(t)&&d.call(t)==c}function a(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function s(t){return null!=t&&(i(t)?v.test(h.call(t)):n(t)&&f.test(t))}var u="[object Array]",c="[object Function]",f=/^\[object .+?Constructor\]$/,l=Object.prototype,h=Function.prototype.toString,p=l.hasOwnProperty,d=l.toString,v=RegExp("^"+h.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),m=r(Array,"isArray"),y=9007199254740991,g=m||function(t){return n(t)&&o(t.length)&&d.call(t)==u};t.exports=g},function(t,e,n){var r=n(32),o=n(13),i=r(o,"Map");t.exports=i},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e,n){function r(t,e,n){var r=u(t)?o:s,c=arguments.length<3;return r(t,a(e,4),n,c,i)}var o=n(184),i=n(84),a=n(8),s=n(564),u=n(4);t.exports=r},,,,,,function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},,,,,,,,,,,,,,,function(t,e,n){t.exports={default:n(372),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n(353),i=r(o);e.default=function(t,e,n){return e in t?(0,i.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var r=n(6).document;t.exports=r&&r.documentElement},function(t,e,n){t.exports=!n(14)&&!n(29)(function(){return 7!=Object.defineProperty(n(105)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(40),o=n(7)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){var r=n(53);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(18);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(7)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(56),o=n(57),i=n(25),a=n(116),s=n(30),u=n(160),c=Object.getOwnPropertyDescriptor;e.f=n(14)?c:function(t,e){if(t=i(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(168),o=n(106).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(30),o=n(25),i=n(379)(!1),a=n(113)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(5),o=n(2),i=n(29);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(41),o=n(25),i=n(56).f;t.exports=function(t){return function(e){for(var n,a=o(e),s=r(a),u=s.length,c=0,f=[];u>c;)i.call(a,n=s[c++])&&f.push(t?[n,a[n]]:a[n]);return f}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(18),o=n(15),i=n(110);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t),a=n.resolve;return a(e),n.promise}},function(t,e,n){t.exports=n(24)},function(t,e,n){"use strict";var r=n(6),o=n(2),i=n(12),a=n(14),s=n(7)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];a&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(18),o=n(52),i=n(7)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},function(t,e,n){var r,o,i,a=n(23),s=n(388),u=n(159),c=n(105),f=n(6),l=f.process,h=f.setImmediate,p=f.clearImmediate,d=f.MessageChannel,v=f.Dispatch,m=0,y={},g="onreadystatechange",b=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},_=function(t){b.call(t.data)};h&&p||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++m]=function(){s("function"==typeof t?t:Function(t),e)},r(m),m},p=function(t){delete y[t]},"process"==n(53)(l)?r=function(t){l.nextTick(a(b,t,1))}:v&&v.now?r=function(t){v.now(a(b,t,1))}:d?(o=new d,i=o.port2,o.port1.onmessage=_,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",_,!1)):r=g in c("script")?function(t){u.appendChild(c("script"))[g]=function(){u.removeChild(this),b.call(t)}}:function(t){setTimeout(a(b,t,1),0)}),t.exports={set:h,clear:p}},function(t,e,n){var r=n(15);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){function r(t,e){return t="number"==typeof t||c.test(t)?+t:-1,e=null==e?h:e,t>-1&&t%1==0&&t-1&&t%1==0&&t<=h}function i(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function a(t){if(null==t)return[];i(t)||(t=Object(t));var e=t.length;e=e&&o(e)&&(u(t)||s(t))&&e||0;for(var n=t.constructor,a=-1,c="function"==typeof n&&n.prototype===t,f=Array(e),h=e>0;++a0&&n(f)?e>1?r(f,e-1,n,a,s):o(s,f):a||(s[s.length]=f)}return s}var o=n(82),i=n(603);t.exports=r},function(t,e,n){var r=n(583),o=r();t.exports=o},function(t,e,n){function r(t,e,n){var r=e(t);return i(t)?r:o(r,n(t))}var o=n(82),i=n(4);t.exports=r},function(t,e,n){function r(t,e,n,a,s){return t===e||(null==t||null==e||!i(t)&&!i(e)?t!==t&&e!==e:o(t,e,n,a,r,s))}var o=n(545),i=n(16);t.exports=r},function(t,e,n){function r(t){if(!o(t))return i(t);var e=[];for(var n in Object(t))s.call(t,n)&&"constructor"!=n&&e.push(n);return e}var o=n(91),i=n(618),a=Object.prototype,s=a.hasOwnProperty;t.exports=r},function(t,e,n){function r(t,e){var n=-1,r=i(t)?Array(t.length):[];return o(t,function(t,o,i){r[++n]=e(t,o,i)}),r}var o=n(84),i=n(19);t.exports=r},function(t,e){function n(t){return function(e){return null==t?void 0:t[e]}}t.exports=n},function(t,e,n){function r(t,e){return a(i(t,e,o),t+"")}var o=n(67),i=n(621),a=n(625);t.exports=r},function(t,e){function n(t,e){for(var n=-1,r=Array(t);++n=f){var m=e?null:u(t);if(m)return c(m);p=!1,l=s,v=new o}else v=e?[]:d;t:for(;++r=r?t:o(t,e,n)}var o=n(44);t.exports=r},function(t,e,n){(function(t){function r(t,e){if(e)return t.slice();var n=t.length,r=c?c(n):new t.constructor(n);return t.copy(r),r}var o=n(13),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i,u=s?o.Buffer:void 0,c=u?u.allocUnsafe:void 0;t.exports=r}).call(e,n(142)(t))},function(t,e,n){function r(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var o=n(127);t.exports=r},function(t,e,n){var r=n(32),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,e,n){function r(t,e,n,r,c,f){var l=n&s,h=t.length,p=e.length;if(h!=p&&!(l&&p>h))return!1;var d=f.get(t);if(d&&f.get(e))return d==e;var v=-1,m=!0,y=n&u?new o:void 0;for(f.set(t,e),f.set(e,t);++v-1}function i(t,e){for(var n in e)t[n]=e[n];return t}function a(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}function s(t,e,n){void 0===e&&(e={});var r,o=n||u;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}function u(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=Bt(n.shift()),o=n.length>0?Bt(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function c(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return $t(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push($t(e)):r.push($t(e)+"="+$t(t)))}),r.join("&")}return $t(e)+"="+$t(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function f(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=l(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:p(e,o),matched:t?h(t):[]};return n&&(a.redirectedFrom=p(n,o)),Object.freeze(a)}function l(t){if(Array.isArray(t))return t.map(l);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=l(t[n]);return e}return t}function h(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function p(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||c;return(n||"/")+i(r)+o}function d(t,e){return e===zt?t===e:!!e&&(t.path&&e.path?t.path.replace(Ft,"")===e.path.replace(Ft,"")&&t.hash===e.hash&&v(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&v(t.query,e.query)&&v(t.params,e.params)))}function v(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?v(r,o):String(r)===String(o)})}function m(t,e){return 0===t.path.replace(Ft,"/").indexOf(e.path.replace(Ft,"/"))&&(!e.hash||t.hash===e.hash)&&y(t.query,e.query)}function y(t,e){for(var n in e)if(!(n in t))return!1;return!0}function g(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function b(t){if(t)for(var e,n=0;n=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function j(t){return t.replace(/\/\//g,"/")}function O(t,e){for(var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";null!=(n=Jt.exec(t));){var u=n[0],c=n[1],f=n.index;if(a+=t.slice(i,f),i=f+u.length,c)a+=c[1];else{var l=t[i],h=n[2],p=n[3],d=n[4],v=n[5],m=n[6],y=n[7];a&&(r.push(a),a="");var g=null!=h&&null!=l&&l!==h,b="+"===m||"*"===m,_="?"===m||"*"===m,w=n[2]||s,x=d||v;r.push({name:p||o++,prefix:h||"",delimiter:w,optional:_,repeat:b,partial:g,asterisk:!!y,pattern:x?C(x):y?".*":"[^"+M(w)+"]+?"})}}return i-1&&(o.params[h]=n.params[h]);if(s)return o.path=$(s.path,o.params,'named route "'+i+'"'),a(s,o,r)}else if(o.path){o.params={};for(var p=0;p=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function ct(t){return function(e,n,r){var i=!1,a=0,s=null;ft(t,function(t,e,n,u){if("function"==typeof t&&void 0===t.cid){i=!0,a++;var c,f=pt(function(e){ht(e)&&(e=e.default),t.resolved="function"==typeof e?e:Pt.extend(e),n.components[u]=e,a--,a<=0&&r()}),l=pt(function(t){var e="Failed to resolve async component "+u+": "+t;s||(s=o(t)?t:new Error(e),r(s))});try{c=t(f,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(f,l);else{var h=c.component;h&&"function"==typeof h.then&&h.then(f,l)}}}),i||r()}}function ft(t,e){return lt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function lt(t){return Array.prototype.concat.apply([],t)}function ht(t){return t.__esModule||oe&&"Module"===t[Symbol.toStringTag]}function pt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}function dt(t){if(!t)if(Yt){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function vt(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n=0?e.slice(0,n):e;return r+"#"+t}function Mt(t){ee?at(At(t)):window.location.hash=t}function Ct(t){ee?st(At(t)):window.location.replace(At(t))}function Nt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function Tt(t,e,n){var r="hash"===n?"#"+e:e;return t?j(t+"/"+r):r}var Pt,Lt={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,s=e.data;s.routerView=!0;for(var u=o.$createElement,c=n.name,f=o.$route,l=o._routerViewCache||(o._routerViewCache={}),h=0,p=!1;o&&o._routerRoot!==o;)o.$vnode&&o.$vnode.data.routerView&&h++,o._inactive&&(p=!0),o=o.$parent;if(s.routerViewDepth=h,p)return u(l[c],s,r);var d=f.matched[h];if(!d)return l[c]=null,u();var v=l[c]=d.components[c];s.registerRouteInstance=function(t,e){var n=d.instances[c];(e&&n!==t||!e&&n===t)&&(d.instances[c]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){d.instances[c]=e.componentInstance};var m=s.props=a(f,d.props&&d.props[c]);if(m){m=s.props=i({},m);var y=s.attrs=s.attrs||{};for(var g in m)v.props&&g in v.props||(y[g]=m[g],delete m[g])}return u(v,s,r)}},It=/[!'()*]/g,Dt=function(t){return"%"+t.charCodeAt(0).toString(16)},Rt=/%2C/g,$t=function(t){return encodeURIComponent(t).replace(It,Dt).replace(Rt,",")},Bt=decodeURIComponent,Ft=/\/?$/,zt=f(null,{path:"/"}),Ut=[String,Object],Wt=[String,Array],Ht={name:"RouterLink",props:{to:{type:Ut,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:Wt,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,s=o.route,u=o.href,c={},l=n.options.linkActiveClass,h=n.options.linkExactActiveClass,p=null==l?"router-link-active":l,v=null==h?"router-link-exact-active":h,y=null==this.activeClass?p:this.activeClass,_=null==this.exactActiveClass?v:this.exactActiveClass,w=a.path?f(null,a,null,n):s;c[_]=d(r,w),c[y]=this.exact?c[_]:m(r,w);var x=function(t){g(t)&&(e.replace?n.replace(a):n.push(a))},j={click:g};Array.isArray(this.event)?this.event.forEach(function(t){j[t]=x}):j[this.event]=x;var O={class:c};if("a"===this.tag)O.on=j,O.attrs={href:u};else{var k=b(this.$slots.default);if(k){k.isStatic=!1;var S=k.data=i({},k.data);S.on=j;var E=k.data.attrs=i({},k.data.attrs);E.href=u}else O.on=j}return t(this.tag,O,this.$slots.default)}},Yt="undefined"!=typeof window,qt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},Xt=R,Vt=O,Gt=k,Kt=A,Zt=D,Jt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");Xt.parse=Vt,Xt.compile=Gt,Xt.tokensToFunction=Kt,Xt.tokensToRegExp=Zt;var Qt=Object.create(null),te=Object.create(null),ee=Yt&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),ne=Yt&&window.performance&&window.performance.now?window.performance:Date,re=rt(),oe="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,ie=function(t,e){this.router=t,this.base=dt(e),this.current=zt,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};ie.prototype.listen=function(t){this.cb=t},ie.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ie.prototype.onError=function(t){this.errorCbs.push(t)},ie.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},ie.prototype.confirmTransition=function(t,e,n){var i=this,a=this.current,s=function(t){o(t)&&(i.errorCbs.length?i.errorCbs.forEach(function(e){e(t)}):(r(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)};if(d(t,a)&&t.matched.length===a.matched.length)return this.ensureURL(),s();var u=vt(this.current.matched,t.matched),c=u.updated,f=u.deactivated,l=u.activated,h=[].concat(gt(f),this.router.beforeHooks,bt(c),l.map(function(t){return t.beforeEnter}),ct(l));this.pending=t;var p=function(e,n){if(i.pending!==t)return s();try{e(t,a,function(t){t===!1||o(t)?(i.ensureURL(!0),s(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(s(),"object"==typeof t&&t.replace?i.replace(t):i.push(t)):n(t)})}catch(t){s(t)}};ut(h,p,function(){var n=[],r=function(){return i.current===t},o=wt(l,n,r),a=o.concat(i.router.resolveHooks);ut(a,p,function(){return i.pending!==t?s():(i.pending=null,e(t),void(i.router.app&&i.router.app.$nextTick(function(){n.forEach(function(t){t()})})))})})},ie.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var ae=function(t){function e(e,n){var r=this;t.call(this,e,n);var o=e.options.scrollBehavior,i=ee&&o;i&&X();var a=Ot(this.base);window.addEventListener("popstate",function(t){var n=r.current,o=Ot(r.base);r.current===zt&&o===a||r.transitionTo(o,function(t){i&&V(e,t,n,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){at(j(r.base+t.fullPath)),V(r.router,t,i,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){st(j(r.base+t.fullPath)),V(r.router,t,i,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(Ot(this.base)!==this.current.fullPath){var e=j(this.base+this.current.fullPath);t?at(e):st(e)}},e.prototype.getCurrentLocation=function(){return Ot(this.base)},e}(ie),se=function(t){function e(e,n,r){t.call(this,e,n),r&&kt(this.base)||St()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router,n=e.options.scrollBehavior,r=ee&&n;r&&X(),window.addEventListener(ee?"popstate":"hashchange",function(){var e=t.current;St()&&t.transitionTo(Et(),function(n){r&&V(t.router,n,e,!0),ee||Ct(n.fullPath)})})},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){Mt(t.fullPath),V(r.router,t,i,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,function(t){Ct(t.fullPath),V(r.router,t,i,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Et()!==e&&(t?Mt(e):Ct(e))},e.prototype.getCurrentLocation=function(){return Et()},e}(ie),ue=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ie),ce=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=H(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!ee&&t.fallback!==!1,this.fallback&&(e="hash"),Yt||(e="abstract"),this.mode=e,e){case"history":this.history=new ae(this,t.base);break;case"hash":this.history=new se(this,t.base,this.fallback);break;case"abstract":this.history=new ue(this,t.base)}},fe={currentRoute:{configurable:!0}};ce.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},fe.currentRoute.get=function(){return this.history&&this.history.current},ce.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof ae)n.transitionTo(n.getCurrentLocation());else if(n instanceof se){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},ce.prototype.beforeEach=function(t){return Nt(this.beforeHooks,t)},ce.prototype.beforeResolve=function(t){return Nt(this.resolveHooks,t)},ce.prototype.afterEach=function(t){return Nt(this.afterHooks,t)},ce.prototype.onReady=function(t,e){this.history.onReady(t,e)},ce.prototype.onError=function(t){this.history.onError(t)},ce.prototype.push=function(t,e,n){this.history.push(t,e,n)},ce.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},ce.prototype.go=function(t){this.history.go(t)},ce.prototype.back=function(){this.go(-1)},ce.prototype.forward=function(){this.go(1)},ce.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},ce.prototype.resolve=function(t,e,n){var r=W(t,e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,a=this.history.base,s=Tt(a,i,this.mode);return{location:r,route:o,href:s,normalizedTo:r,resolved:o}},ce.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==zt&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ce.prototype,fe),ce.install=_,ce.version="3.0.2",Yt&&window.Vue&&window.Vue.use(ce),t.exports=ce},function(t,e){"use strict";function n(t){for(var e=1;e-1&&e.splice(n,1)}}function c(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;l(t,n,[],t._modules.root,!0),f(t,n,e)}function f(t,e,n){var r=t._vm;t.getters={};var i=t._wrappedGetters,a={};o(i,function(e,n){a[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var s=M.config.silent;M.config.silent=!0,t._vm=new M({data:{$$state:e},computed:a}),M.config.silent=s,t.strict&&y(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),M.nextTick(function(){return r.$destroy()}))}function l(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a]=r),!i&&!o){var s=g(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit(function(){M.set(s,u,r.state)})}var c=r.context=h(t,a,n);r.forEachMutation(function(e,n){var r=a+n;d(t,r,e,c)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,o=e.handler||e;v(t,r,o,c)}),r.forEachGetter(function(e,n){var r=a+n;m(t,r,e,c)}),r.forEachChild(function(r,i){l(t,e,n.concat(i),r,o)})}function h(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=b(n,r,o),a=i.payload,s=i.options,u=i.type;return s&&s.root||(u=e+u),t.dispatch(u,a)},commit:r?t.commit:function(n,r,o){var i=b(n,r,o),a=i.payload,s=i.options,u=i.type;s&&s.root||(u=e+u),t.commit(u,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return p(t,e)}},state:{get:function(){return g(t.state,n)}}}),o}function p(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),n}function d(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(e){n.call(t,r.state,e)})}function v(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(e,o){var i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,o);return a(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):i})}function m(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function y(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function g(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function b(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function _(t){M&&t===M||(M=t,O(M))}function w(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function x(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function j(t,e,n){var r=t._modulesNamespaceMap[n];return r}var O=function(t){function e(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}var n=Number(t.version.split(".")[0]);if(n>=2)t.mixin({beforeCreate:e});else{var r=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,r.call(this,t)}}},k="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,S=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},E={namespaced:{configurable:!0}};E.namespaced.get=function(){return!!this._rawModule.namespaced},S.prototype.addChild=function(t,e){this._children[t]=e},S.prototype.removeChild=function(t){delete this._children[t]},S.prototype.getChild=function(t){return this._children[t]},S.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},S.prototype.forEachChild=function(t){o(this._children,t)},S.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},S.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},S.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(S.prototype,E);var A=function(t){this.register([],t,!1)};A.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},A.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},A.prototype.update=function(t){s([],this.root,t)},A.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new S(e,n);if(0===t.length)this.root=i;else{var a=this.get(t.slice(0,-1));a.addChild(t[t.length-1],i)}e.modules&&o(e.modules,function(e,o){r.register(t.concat(o),e,n)})},A.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var M,C=function t(e){var n=this;void 0===e&&(e={}),!M&&"undefined"!=typeof window&&window.Vue&&_(window.Vue);var o=e.plugins;void 0===o&&(o=[]);var i=e.strict;void 0===i&&(i=!1);var a=e.state;void 0===a&&(a={}),"function"==typeof a&&(a=a()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new A(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new M;var s=this,u=this,c=u.dispatch,h=u.commit;this.dispatch=function(t,e){return c.call(s,t,e)},this.commit=function(t,e,n){return h.call(s,t,e,n)},this.strict=i,l(this,a,[],this._modules.root),f(this,a),o.forEach(function(t){return t(n)}),M.config.devtools&&r(this)},N={state:{configurable:!0}};N.state.get=function(){return this._vm._data.$$state},N.state.set=function(t){},C.prototype.commit=function(t,e,n){var r=this,o=b(t,e,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),u=this._mutations[i];u&&(this._withCommit(function(){u.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,r.state)}))},C.prototype.dispatch=function(t,e){var n=this,r=b(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s)return this._actionSubscribers.forEach(function(t){return t(a,n.state)}),s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i)},C.prototype.subscribe=function(t){return u(t,this._subscribers)},C.prototype.subscribeAction=function(t){return u(t,this._actionSubscribers)},C.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},C.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},C.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),l(this,this.state,t,this._modules.get(t),n.preserveState),f(this,this.state)},C.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=g(e.state,t.slice(0,-1));M.delete(n,t[t.length-1])}),c(this)},C.prototype.hotUpdate=function(t){this._modules.update(t),c(this,!0)},C.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(C.prototype,N);var T=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=j(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),P=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=j(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),L=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||j(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n}),I=x(function(t,e){var n={};return w(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=j(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),D=function(t){return{mapState:T.bind(null,t),mapGetters:L.bind(null,t),mapMutations:P.bind(null,t),mapActions:I.bind(null,t)}},R={Store:C,install:_,version:"3.0.1",mapState:T,mapMutations:P,mapGetters:L,mapActions:I,createNamespacedHelpers:D};t.exports=R},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){t.exports={default:n(361),__esModule:!0}},function(t,e,n){t.exports={default:n(362),__esModule:!0}},function(t,e,n){t.exports={default:n(363),__esModule:!0}},function(t,e,n){t.exports={default:n(367),__esModule:!0}},function(t,e,n){t.exports={default:n(368),__esModule:!0}},function(t,e,n){t.exports={default:n(370),__esModule:!0}},function(t,e,n){t.exports={default:n(375),__esModule:!0}},function(t,e,n){t.exports={default:n(376),__esModule:!0}},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}},function(t,e,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(359),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},function(t,e){!function(e){"use strict";function n(t,e,n,r){var i=e&&e.prototype instanceof o?e:o,a=Object.create(i.prototype),s=new p(r||[]);return a._invoke=c(t,n,s),a}function r(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function a(){}function s(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function u(t){function e(n,o,i,a){var s=r(t[n],t,o);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&g.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,i,a)},function(t){e("throw",t,i,a)}):Promise.resolve(c).then(function(t){u.value=t,i(u)},a)}a(s.arg)}function n(t,n){function r(){return new Promise(function(r,o){e(t,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=n}function c(t,e,n){var o=k;return function(i,a){if(o===E)throw new Error("Generator is already running");if(o===A){if("throw"===i)throw a;return v()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var u=f(s,n);if(u){if(u===M)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===k)throw o=A,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=E;var c=r(t,e,n);if("normal"===c.type){if(o=n.done?A:S,c.arg===M)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=A,n.method="throw",n.arg=c.arg)}}}function f(t,e){var n=t.iterator[e.method];if(n===m){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=m,f(t,e),"throw"===e.method))return M;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return M}var o=r(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,M;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=m),e.delegate=null,M):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,M)}function l(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function h(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function p(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function d(t){if(t){var e=t[_];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=g.call(o,"catchLoc"),s=g.call(o,"finallyLoc");if(a&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),h(n),M}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;h(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:d(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=m),M}}}(function(){return this}()||Function("return this")())},function(t,e){"use strict";function n(t){return $[t]}function r(t,e){for(var n=[],r=0;re[1]&&(t=e[1]),t}function f(t){return{r:at(t.r),g:at(t.g),b:at(t.b)}}function l(t){if(Math.cbrt)return Math.cbrt(t);var e=Math.pow(Math.abs(t),1/3);return t<0?-e:e}function h(t,e,n){if(void 0===e)throw new Error("No value provided");var r=n||i(e);if(r===t)return e;if(jt[r][t])return kt(r,t,e);var o=Ot[r],a="string"==typeof o?o:o[t]||o.default;return h(t,kt(r,a,e),a)}function p(t){var e={};return St.forEach(function(n){Object.defineProperty(e,n,{get:function(){return Et(n,t)},enumerable:!0})}),e}function d(t,e,i){var a=h("XYZ",t),s=h("lms",n(e)||n("D65")),u=h("lms",n(i)||n("D65")),c=o("BRADFORD"),f=r(r(r(o("INVERSE_BRADFORD"),[[s.rho/u.rho,0,0],[0,s.gamma/u.gamma,0],[0,0,s.beta/u.beta]]),c),[[a.X],[a.Y],[a.Z]]);return p({X:f[0][0],Y:f[1][0],Z:f[2][0]})}function v(t,e,n){for(var r=h("hsl",n),o=[{h:r.h,s:r.s,l:r.l}],i=0;i100&&(n.l=100),p(n)}function y(t){var e=h("hsl",t);return e.h=(e.h+180)%360,p(e)}function g(t,e){var n=h("rgb",e);return n.r=255*((n.r/255-.5)*t+.5),n.r<0?n.r=0:n.r>255&&(n.r=255),n.g=255*((n.g/255-.5)*t+.5),n.g<0?n.g=0:n.g>255&&(n.g=255),n.b=255*((n.b/255-.5)*t+.5),n.b<0?n.b=0:n.b>255&&(n.b=255),p(n)}function b(t){var e=h("rgb",t);return e=(299*e.r+587*e.g+114*e.b)/1e3>=128?{r:0,g:0,b:0}:{r:255,g:255,b:255},p(e)}function _(t,e,n,r){n=n||1,r=r||1;var o=h("cielab",t),i=h("cielab",e),s=Math.sqrt(Math.pow(o.a,2)+Math.pow(o.b,2)),u=s-Math.sqrt(Math.pow(i.a,2)+Math.pow(i.b,2)),c=o.L-i.L,f=o.a-i.a,l=o.b-i.b,p=Math.sqrt(Math.pow(f,2)+Math.pow(l,2)-Math.pow(u,2)),d=o.L<16?.511:.040975*o.L/(1.01765*o.L),v=.0638*s/(1.0131*s),m=Math.atan2(o.b,o.a),y=m>=0?m:m+360,g=y>=164&&y<=345?.56+Math.abs(.2*Math.cos(a(y+168))):.36+Math.abs(.4*Math.cos(a(y+35))),b=Math.pow(s,4)/(Math.pow(s,4)+1900),_=v*(b*g+1-b),w=Math.pow(c/(n*d),2),x=Math.pow(u/(r*v),2),j=Math.pow(p/_,2);return Math.sqrt(w+x+j)}function w(t,e){return t>2*e?w(t-2*e,e):t>e?2*e-t:t<0?w(t+2*e,e):t}function x(t,e,n){var r=h("rgb",e),o=h("rgb",n),i=[r];t-=1;for(var a=(o.r-r.r)/t,s=(o.g-r.g)/t,u=(o.b-r.b)/t,c={r:r.r,g:r.g,b:r.b},f=0;f100?100:o.l,o.l=o.l<0?0:o.l,p(o)}function M(t,e){var n=h("hsl",e);return n.s+=t,n.s<0?n.s=0:n.s>100&&(n.s=100),p(n)}function C(t){var e=h("rgb",t),n={};return n.r=.393*e.r+.769*e.g+.189*e.b,n.g=.349*e.r+.686*e.g+.168*e.b,n.b=.272*e.r+.534*e.g+.131*e.b,p(n)}function N(t,e){var n=h("hsv",e);return console.log(n),n.v+=t,n.v<0?n.v=0:n.v>100&&(n.v=100),console.log(n),p(n)}function T(t){var e=h("xyY",t),n=(e.x-.332)/(e.y-.1858);return-449*Math.pow(n,3)+3525*Math.pow(n,2)-6823.3*n+5520.33}function P(t){for(var e=h("hsl",t),n=[{h:e.h,s:e.s,l:e.l}],r=0;r<3;r++)e.h=(e.h+90)%360,n.push({h:e.h,s:e.s,l:e.l});return p(n)}function L(t){for(var e=h("hsl",t),n=[{h:e.h,s:e.s,l:e.l}],r=0;r<2;r++)e.h=(e.h+120)%360,n.push({h:e.h,s:e.s,l:e.l});return p(n)}function I(t){var e=h("hsluv",t);return e.hu=(e.hu+180)%360,p(e)}function D(t){for(var e=h("hsluv",t),n=[{hu:e.hu,s:e.s,l:e.l}],r=0;r<2;r++)e.hu=(e.hu+120)%360,n.push({h:e.hu,s:e.s,l:e.l});return p(n)}function R(t){for(var e=h("hsluv",t),n=[{hu:e.hu,s:e.s,l:e.l}],r=0;r<3;r++)e.hu=(e.hu+90)%360,n.push({h:e.hu,s:e.s,l:e.l});return p(n)}Object.defineProperty(e,"__esModule",{value:!0});var $={A:{X:1.0985*100,Y:100,Z:35.585},B:{X:99.072,Y:100,Z:85.223},C:{X:98.074,Y:100,Z:118.232},D50:{X:96.422,Y:100,Z:82.521},D55:{X:95.682,Y:100,Z:92.149},D65:{X:95.047,Y:100,Z:108.883},D75:{X:94.972,Y:100,Z:122.638},E:{X:100,Y:100,Z:100},F2:{X:.99186*100,Y:100,Z:67.393},F7:{X:95.041,Y:100,Z:108.747},F11:{X:1.00962*100,Y:100,Z:64.35}},B={BRADFORD:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],INVERSE_BRADFORD:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]],SRGB_XYZ:[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],INVERSE_SRGB_XYZ:[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]]},F=function(t,e){var n=new Set(Object.keys(t));return e.every(function(t){return n.has(t)})},z=function(t,e){return"string"==typeof t&&t.slice(0,e.length)===e},U={hex:function(t){return z(t,"#")},rgb:function(t){return F(t,["r","g","b"])},cssrgb:function(t){return z(t,"rgb(")},hsl:function(t){return F(t,["h","s","l"])},csshsl:function(t){return z(t,"hsl(")},hsv:function(t){return F(t,["h","s","v"])},cmyk:function(t){return F(t,["c","m","y","k"])},yiq:function(t){return F(t,["y","i","q"])},XYZ:function(t){return F(t,["X","Y","Z"])},xyY:function(t){return F(t,["x","y","Y"])},lms:function(t){return F(t,["rho","gamma","beta"])},cielab:function(t){return F(t,["L","a","b"])},cieluv:function(t){return F(t,["L","u","v"])},cielch:function(t){return F(t,["L","C","h"])},hsluv:function(t){return F(t,["hu","s","l"])}},W=Object.keys(U),H=.008856,Y=903.3,q=n("D65"),X=function(t){return Math.pow(t,3)>H?Math.pow(t,3):(116*t-16)/Y},V={XYZ:function(t){var e=(t.L+16)/116,n=t.a/500+e,r=e-t.b/200,o=X(n),i=X(r),a=t.L>Y*H?Math.pow(e,3):t.L/Y;return{X:o*q.X,Y:a*q.Y,Z:i*q.Z}}},G={cieluv:function(t){var e=a(t.h),n=t.C*Math.cos(e),r=t.C*Math.sin(e);return{L:t.L,u:n,v:r}},hsluv:function(t){if(t.L>99.9999999)return{hu:t.h,s:0,l:100};if(t.L<1e-8)return{hu:t.h,s:0,l:0};for(var e=(t.L+16)/1560896,n=e>.008856?e:t.L/903.3,r=o("INVERSE_SRGB_XYZ"),i=[],s=0;s<3;s++)for(var u=r[s][0],c=r[s][1],f=r[s][2],l=0;l<2;l++){var h=(284517*u-94839*f)*n,p=(838422*f+769860*c+731718*u)*t.L*n-769860*l*t.L,d=(632260*f-126452*c)*n+126452*l;i.push({m:h/d,b:p/d})}var v=Number.MAX_VALUE,m=a(t.h);i.forEach(function(t){var e=t.b/(Math.sin(m)-t.m*Math.cos(m));e>=0&&(v=Math.min(v,e))});var y=v;return{hu:t.h,s:t.C/y*100,l:t.L}}},K={XYZ:function(t){var e=n("D65"),r=function(t){return 4*t.X/(t.X+15*t.Y+3*t.Z)}(e),o=function(t){return 9*t.Y/(t.X+15*t.Y+3*t.Z)}(e),i=1/3*(52*t.L/(t.u+13*t.L*r)-1),a=t.L>903.3*.008856?Math.pow((t.L+16)/116,3):t.L/903.3,s=-5*a,u=(a*(39*t.L/(t.v+13*t.L*o)-5)-s)/(i- -1/3);return{X:100*u,Y:100*a,Z:100*(u*i+s)}},cielch:function(t){var e=Math.sqrt(Math.pow(t.u,2)+Math.pow(t.v,2)),n=Math.atan2(t.v,t.u);return n<0&&(n+=2*Math.PI),n=s(n),{L:t.L,C:e,h:n}}},Z=function(t){return{r:255*(1-t.c)*(1-t.k),g:255*(1-t.m)*(1-t.k),b:255*(1-t.y)*(1-t.k)}},J={rgb:Z,cssrgb:function(t){var e=Z(t),n=e.r,r=e.g,o=e.b;return"rgb("+Math.round(n)+","+Math.round(r)+","+Math.round(o)+")"}},Q={hsl:function(t){var e=t.replace(/(hsl\(|\)|%|[\s]*)/g,"").split(",").map(function(t){return parseInt(t,10)});return{h:e[0],s:e[1],l:e[2]}}},tt={rgb:function(t){var e=t.replace(/((rgb\(|\))|[\s]*)/g,"").split(",").map(function(t){return parseInt(t,10)});return{r:e[0],g:e[1],b:e[2]}}},et={rgb:function(t){var e=t.replace("#","").match(/.{2}/g).map(function(t){return parseInt(t,16)});return{r:e[0],g:e[1],b:e[2]}}},nt={rgb:function(t){if(0===t.s){var e=t.l/100*255;return{r:e,g:e,b:e}}var n,r,o;n=t.l>=50?t.l/100+t.s/100-t.l/100*(t.s/100):t.l/100*(1+t.s/100),r=t.l/100*2-n;var i,a,s,c=((o=t.h/360)+.333)%1,f=o,l=u(o-.333,1);return i=6*c<1?r+6*(n-r)*c:2*c<1?n:3*c<2?r+6*(.666-c)*(n-r):r,a=6*f<1?r+6*(n-r)*f:2*f<1?n:3*f<2?r+6*(.666-f)*(n-r):r,s=6*l<1?r+6*(n-r)*l:2*l<1?n:3*l<2?r+6*(.666-l)*(n-r):r,i<0&&(i=0),a<0&&(a=0),s<0&&(s=0),{r:255*i,g:255*a,b:255*s}},csshsl:function(t){return"hsl("+Math.round(t.h)+","+Math.round(t.s)+"%,"+Math.round(t.l)+"%)"},hsv:function(t){var e=Object.assign({},t,{s:t.s/100,l:t.l/100}),n=e.s*(e.l<.5?e.l:1-e.l);return{h:e.h,s:100*(2*n/(e.l+n)),v:100*(e.l+n)}}},rt={cielch:function(t){if(t.L>99.9999999)return{L:100,C:0,h:t.hu};if(t.L<1e-8)return{L:0,C:0,h:t.hu};for(var e=(t.l+16)/1560896,n=e>.008856?e:t.l/903.3,r=o("INVERSE_SRGB_XYZ"),i=[],s=0;s<3;s++)for(var u=r[s][0],c=r[s][1],f=r[s][2],l=0;l<2;l++){var h=(284517*u-94839*f)*n,p=(838422*f+769860*c+731718*u)*t.l*n-769860*l*t.l,d=(632260*f-126452*c)*n+126452*l;i.push({m:h/d,b:p/d})}var v=Number.MAX_VALUE,m=a(t.hu);i.forEach(function(t){var e=t.b/(Math.sin(m)-t.m*Math.cos(m));e>=0&&(v=Math.min(v,e))});var y=v;return{L:t.l,C:y/100*t.s,h:t.hu}}},ot={hsl:function(t){var e=Object.assign({},t,{h:t.h/360,s:t.s/100,v:t.v/100});return{h:360*e.h,s:100*((2-e.s)*e.v<1?e.s*e.v/((2-e.s)*e.v):e.s*e.v/(2-(2-e.s)*e.v)),l:100*((2-e.s)*e.v/2)}}},it={XYZ:function(t){var e=[t.rho,t.gamma,t.beta],n=o("INVERSE_BRADFORD").map(function(t){return e.reduce(function(e,n,r){return t[r]*n+e},0)});return{X:100*n[0],Y:100*n[1],Z:100*n[2]}}},at=function(t){return c(t,[0,255])},st=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),ut=.008856,ct=903.3,ft=n("D65"),lt={rgb:function(t){var e=[t.X,t.Y,t.Z].map(function(t){return t/100}),n=o("INVERSE_SRGB_XYZ").map(function(t){return e.reduce(function(e,n,r){return t[r]*n+e},0)}).map(function(t){return t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055}).map(function(t){return 255*t}),r=st(n,3);return f({r:r[0],g:r[1],b:r[2]})},lms:function(t){var e=[t.X,t.Y,t.Z].map(function(t){return t/100}),n=o("BRADFORD").map(function(t){return e.reduce(function(e,n,r){return t[r]*n+e},0)});return{rho:n[0],gamma:n[1],beta:n[2]}},cielab:function(t){var e=t.X/ft.X,n=t.Y/ft.Y,r=t.Z/ft.Z,o=function(t){return t>ut?l(t):(ct*t+16)/116},i=o(e),a=o(n);return{L:116*a-16,a:500*(i-a),b:200*(a-o(r))}},cieluv:function(t){var e=t.Y/ft.Y,n=e>ut?116*l(e)-16:ct*e,r=function(t){return 4*t.X/(t.X+15*t.Y+3*t.Z)},o=function(t){return 9*t.Y/(t.X+15*t.Y+3*t.Z)};return{L:n,u:13*n*(r(t)-r(ft)),v:13*n*(o(t)-o(ft))}},xyY:function(t){return{x:t.X/(t.X+t.Y+t.Z),y:t.Y/(t.X+t.Y+t.Z),Y:t.Y}}},ht=lt.lms,pt=lt.cielab,dt=lt.cieluv,vt=lt.xyY,mt=function(t){var e,n,r=t.r/255,o=t.g/255,i=t.b/255,a=[r,o,i].sort(),s=(a[0]+a[2])/2*100;return a[0]===a[2]?(e=0,n=0):(e=s>=50?(a[2]-a[0])/(2-a[2]-a[0])*100:(a[2]-a[0])/(a[2]+a[0])*100,(n=a[2]===r?(o-i)/(a[2]-a[0])*60:a[2]===o?60*(2+(i-r)/(a[2]-a[0])):60*(4+(r-o)/(a[2]-a[0])))<0?n+=360:n>360&&(n%=360)),{h:n,s:e,l:s}},yt=function(t){return dt(gt(t))},gt=function(t){var e=[t.r,t.g,t.b].map(function(t){return t/255}).map(function(t){return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}),n=o("SRGB_XYZ").map(function(t){return e.reduce(function(e,n,r){return t[r]*n+e},0)}).map(function(t){return 100*t}),r=st(n,3);return{X:r[0],Y:r[1],Z:r[2]}},bt={hex:function(t){var e=Math.round(t.r).toString(16);1===e.length&&(e="0"+e);var n=Math.round(t.g).toString(16);1===n.length&&(n="0"+n);var r=Math.round(t.b).toString(16);return 1===r.length&&(r="0"+r),"#"+e+n+r},cssrgb:function(t){return"rgb("+Math.round(t.r)+","+Math.round(t.g)+","+Math.round(t.b)+")"},hsl:mt,csshsl:function(t){var e=mt(t),n=e.h,r=e.s,o=e.l;return"hsl("+Math.round(n)+","+Math.round(r)+"%,"+Math.round(o)+"%)"},cmyk:function(t){var e=t.r/255,n=t.g/255,r=t.b/255,o=1-Math.max(e,n,r);return 1!==o?{c:(1-e-o)/(1-o),m:(1-n-o)/(1-o),y:(1-r-o)/(1-o),k:o}:{c:0,m:0,y:0,k:o}},yiq:function(t){var e=t.r/255*.299+t.g/255*.587+t.b/255*.114,n=t.r/255*.596+t.g/255*-.274+t.b/255*-.322,r=t.r/255*.211+t.g/255*-.523+t.b/255*.312;return n=c(n,[-.5957,.5957]),r=c(r,[-.5226,.5226]),{y:e,i:n,q:r}},XYZ:gt,lms:function(t){return ht(gt(t))},cielab:function(t){return pt(gt(t))},cieluv:yt,xyY:function(t){return vt(gt(t))}},_t={XYZ:function(t){var e=t.x,n=t.y,r=t.Y;return{X:r/n*e,Y:r,Z:r/n*(1-e-n)}}},wt=function(t){return c(t,[0,255])},xt={rgb:function(t){var e=c(t.i,[-.5957,.5957]),n=c(t.q,[-.5226,.5226]);return{r:255*wt(t.y+.956*e+.621*n),g:255*wt(t.y+-.272*e+-.647*n),b:255*wt(t.y+-1.106*e+-1.703*n)}}},jt=Object.freeze({cielab:V,cielch:G,cieluv:K,cmyk:J,csshsl:Q,cssrgb:tt,hex:et,hsl:nt,hsluv:rt,hsv:ot,lms:it,rgb:bt,xyY:_t,XYZ:lt,yiq:xt}),Ot={rgb:{default:"XYZ",csshsl:"hsl",hsv:"hsl"},hex:"rgb",hsl:"rgb",hsv:"hsl",csshsl:"hsl",cssrgb:"rgb",cmyk:"rgb",XYZ:{default:"rgb",cielch:"cieluv",hsluv:"cieluv"},xyY:"XYZ",lms:"XYZ",cieluv:{default:"XYZ",hsluv:"cielch"},cielch:"cieluv",cielab:"XYZ",yiq:"rgb",hsluv:"cielch"},kt=function(t,e,n){return jt[t][e](n)},St=Object.keys(U),Et=function(t,e){return Array.isArray(e)?e.map(function(e){return h(t,e)}):h(t,e)};e.adapt=d,e.adjacent=v,e.brightness=m,e.complementary=y,e.contrast=g,e.contrastRatio=b,e.convert=p,e.difference=_,e.fade=x,e.greyscale=j,e.hue=O,e.invert=k,e.invertLightness=S,e.mid=E,e.multiply=A,e.saturation=M,e.sepia=C,e.shade=N,e.temperature=T,e.tetrad=P,e.triad=L,e.uniformComplementary=I,e.uniformTriad=D,e.uniformTetrad=R},function(t,e,n){n(42),n(402),t.exports=n(2).Array.from},function(t,e,n){n(60),n(42),t.exports=n(400)},function(t,e,n){n(60),n(42),t.exports=n(401)},function(t,e,n){var r=n(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},function(t,e,n){n(404),t.exports=n(2).Number.isNaN},function(t,e,n){n(405),t.exports=n(2).Object.assign},function(t,e,n){n(406);var r=n(2).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){n(407);var r=n(2).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){n(413),t.exports=n(2).Object.entries},function(t,e,n){n(408);var r=n(2).Object;t.exports=function(t,e){return r.getOwnPropertyDescriptor(t,e)}},function(t,e,n){n(409),t.exports=n(2).Object.keys},function(t,e,n){n(414),t.exports=n(2).Object.values},function(t,e,n){n(120),n(42),n(60),n(410),n(415),n(416),t.exports=n(2).Promise},function(t,e,n){n(120),n(42),n(60),n(411),n(419),n(418),n(417),t.exports=n(2).Set},function(t,e,n){n(412),n(120),n(420),n(421),t.exports=n(2).Symbol},function(t,e,n){n(42),n(60),t.exports=n(118).f("iterator")},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(54);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e,n){var r=n(25),o=n(77),i=n(398);t.exports=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),f=i(a,c);if(t&&n!=n){for(;c>f;)if(s=u[f++],s!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(23),o=n(107),i=n(59),a=n(77),s=n(382); -t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,f=4==t,l=6==t,h=5==t||l,p=e||s;return function(e,s,d){for(var v,m,y=i(e),g=o(y),b=r(s,d,3),_=a(g.length),w=0,x=n?p(e,_):u?p(e,0):void 0;_>w;w++)if((h||w in g)&&(v=g[w],m=b(v,w,y),t))if(n)x[w]=m;else if(m)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(f)return!1;return l?-1:c||f?f:x}}},function(t,e,n){var r=n(15),o=n(162),i=n(7)("species");t.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&(e=e[i],null===e&&(e=void 0))),void 0===e?Array:e}},function(t,e,n){var r=n(381);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(12).f,o=n(76),i=n(112),a=n(23),s=n(103),u=n(54),c=n(108),f=n(165),l=n(174),h=n(14),p=n(109).fastKey,d=n(177),v=h?"_s":"size",m=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var f=t(function(t,r){s(t,f,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=r&&u(r,n,t[c],t)});return i(f.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var n=d(this,e),r=m(n,t);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[v]--}return!!r},forEach:function(t){d(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!m(d(this,e),t)}}),h&&r(f.prototype,"size",{get:function(){return d(this,e)[v]}}),f},def:function(t,e,n){var r,o,i=m(t,e);return i?i.v=n:(t._l=i={i:o=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[v]++,"F"!==o&&(t._i[o]=i)),t},getEntry:m,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?"keys"==e?f(0,n.k):"values"==e?f(0,n.v):f(0,[n.k,n.v]):(t._t=void 0,f(1))},n?"entries":"values",!n,!0),l(e)}}},function(t,e,n){var r=n(75),o=n(378);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return o(this)}}},function(t,e,n){"use strict";var r=n(6),o=n(5),i=n(109),a=n(29),s=n(24),u=n(112),c=n(54),f=n(103),l=n(15),h=n(58),p=n(12).f,d=n(380)(0),v=n(14);t.exports=function(t,e,n,m,y,g){var b=r[t],_=b,w=y?"set":"add",x=_&&_.prototype,j={};return v&&"function"==typeof _&&(g||x.forEach&&!a(function(){(new _).entries().next()}))?(_=e(function(e,n){f(e,_,t,"_c"),e._c=new b,void 0!=n&&c(n,y,e[w],e)}),d("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),function(t){var e="add"==t||"set"==t;t in x&&(!g||"clear"!=t)&&s(_.prototype,t,function(n,r){if(f(this,_,t),!e&&g&&!l(n))return"get"==t&&void 0;var o=this._c[t](0===n?0:n,r);return e?this:o})}),g||p(_.prototype,"size",{get:function(){return this._c.size}})):(_=m.getConstructor(e,t,y,w),u(_.prototype,n),i.NEED=!0),h(_,t),j[t]=_,o(o.G+o.W+o.F,j),g||m.setStrong(_,t,y),_}},function(t,e,n){"use strict";var r=n(12),o=n(57);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(41),o=n(111),i=n(56);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),u=i.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){"use strict";var r=n(76),o=n(57),i=n(58),a={};n(24)(a,n(7)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(6),o=n(176).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==n(53)(a);t.exports=function(){var t,e,n,c=function(){var r,o;for(u&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);n=function(){f.then(c)}}else n=function(){o.call(r,c)};else{var l=!0,h=document.createTextNode("");new i(c).observe(h,{characterData:!0}),n=function(){h.data=l=!l}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},function(t,e,n){"use strict";var r=n(41),o=n(111),i=n(56),a=n(59),s=n(107),u=Object.assign;t.exports=!u||n(29)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,c=1,f=o.f,l=i.f;u>c;)for(var h,p=s(arguments[c++]),d=f?r(p).concat(f(p)):r(p),v=d.length,m=0;v>m;)l.call(p,h=d[m++])&&(n[h]=p[h]);return n}:u},function(t,e,n){var r=n(12),o=n(18),i=n(41);t.exports=n(14)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,u=0;s>u;)r.f(t,n=a[u++],e[n]);return t}},function(t,e,n){var r=n(25),o=n(167).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return o(t)}catch(t){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?s(t):o(r(t))}},function(t,e,n){var r=n(30),o=n(59),i=n(113)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){"use strict";var r=n(5),o=n(52),i=n(23),a=n(54);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,s,u=arguments[1];return o(this),e=void 0!==u,e&&o(u),void 0==t?new this:(n=[],e?(r=0,s=i(u,arguments[2],2),a(t,!1,function(t){n.push(s(t,r++))})):a(t,!1,n.push,n),new this(n))}})}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){var r=n(115),o=n(104);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u),i<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):(i-55296<<10)+(a-56320)+65536)}}},function(t,e,n){var r=n(115),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(6),o=r.navigator;t.exports=o&&o.userAgent||""},function(t,e,n){var r=n(18),o=n(119);t.exports=n(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){var r=n(75),o=n(7)("iterator"),i=n(40);t.exports=n(2).isIterable=function(t){var e=Object(t);return void 0!==e[o]||"@@iterator"in e||i.hasOwnProperty(r(e))}},function(t,e,n){"use strict";var r=n(23),o=n(5),i=n(59),a=n(163),s=n(161),u=n(77),c=n(386),f=n(119);o(o.S+o.F*!n(164)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,h=i(t),p="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,m=void 0!==v,y=0,g=f(h);if(m&&(v=r(v,d>2?arguments[2]:void 0,2)),void 0==g||p==Array&&s(g))for(e=u(h.length),n=new p(e);e>y;y++)c(n,y,m?v(h[y],y):h[y]);else for(l=g.call(h),n=new p;!(o=l.next()).done;y++)c(n,y,m?a(l,v,[o.value,y],!0):o.value);return n.length=y,n}})},function(t,e,n){"use strict";var r=n(377),o=n(165),i=n(40),a=n(25);t.exports=n(108)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(5);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(5);r(r.S+r.F,"Object",{assign:n(391)})},function(t,e,n){var r=n(5);r(r.S,"Object",{create:n(76)})},function(t,e,n){var r=n(5);r(r.S+r.F*!n(14),"Object",{defineProperty:n(12).f})},function(t,e,n){var r=n(25),o=n(166).f;n(169)("getOwnPropertyDescriptor",function(){return function(t,e){return o(r(t),e)}})},function(t,e,n){var r=n(59),o=n(41);n(169)("keys",function(){return function(t){return o(r(t))}})},function(t,e,n){"use strict";var r,o,i,a,s=n(55),u=n(6),c=n(23),f=n(75),l=n(5),h=n(15),p=n(52),d=n(103),v=n(54),m=n(175),y=n(176).set,g=n(390)(),b=n(110),_=n(171),w=n(399),x=n(172),j="Promise",O=u.TypeError,k=u.process,S=k&&k.versions,E=S&&S.v8||"",A=u[j],M="process"==f(k),C=function(){},N=o=b.f,T=!!function(){try{var t=A.resolve(1),e=(t.constructor={})[n(7)("species")]=function(t){t(C,C)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(C)instanceof e&&0!==E.indexOf("6.6")&&w.indexOf("Chrome/66")===-1}catch(t){}}(),P=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},L=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,s=o?e.ok:e.fail,u=e.resolve,c=e.reject,f=e.domain;try{s?(o||(2==t._h&&R(t),t._h=1),s===!0?n=r:(f&&f.enter(),n=s(r),f&&(f.exit(),a=!0)),n===e.promise?c(O("Promise-chain cycle")):(i=P(n))?i.call(n,u,c):u(n)):c(r)}catch(t){f&&!a&&f.exit(),c(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&I(t)})}},I=function(t){y.call(u,function(){var e,n,r,o=t._v,i=D(t);if(i&&(e=_(function(){M?k.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=M||D(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){y.call(u,function(){var e;M?k.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})})},$=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),L(e,!0))},B=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=P(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,c(B,r,1),c($,r,1))}catch(t){$.call(r,t)}}):(n._v=t,n._s=1,L(n,!1))}catch(t){$.call({_w:n,_d:!1},t)}}};T||(A=function(t){d(this,A,j,"_h"),p(t),r.call(this);try{t(c(B,this,1),c($,this,1))}catch(t){$.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(112)(A.prototype,{then:function(t,e){var n=N(m(this,A));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=M?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=c(B,t,1),this.reject=c($,t,1)},b.f=N=function(t){return t===A||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!T,{Promise:A}),n(58)(A,j),n(174)(j),a=n(2)[j],l(l.S+l.F*!T,j,{reject:function(t){var e=N(this),n=e.reject;return n(t),e.promise}}),l(l.S+l.F*(s||!T),j,{resolve:function(t){return x(s&&this===a?A:this,t)}}),l(l.S+l.F*!(T&&n(164)(function(t){A.all(t).catch(C)})),j,{all:function(t){var e=this,n=N(e),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;v(t,!1,function(t){var s=i++,u=!1;n.push(void 0),a++,e.resolve(t).then(function(t){u||(u=!0,n[s]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=N(e),r=n.reject,o=_(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(t,e,n){"use strict";var r=n(383),o=n(177),i="Set";t.exports=n(385)(i,function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(o(this,i),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r=n(6),o=n(30),i=n(14),a=n(5),s=n(173),u=n(109).KEY,c=n(29),f=n(114),l=n(58),h=n(78),p=n(7),d=n(118),v=n(117),m=n(387),y=n(162),g=n(18),b=n(15),_=n(25),w=n(116),x=n(57),j=n(76),O=n(393),k=n(166),S=n(12),E=n(41),A=k.f,M=S.f,C=O.f,N=r.Symbol,T=r.JSON,P=T&&T.stringify,L="prototype",I=p("_hidden"),D=p("toPrimitive"),R={}.propertyIsEnumerable,$=f("symbol-registry"),B=f("symbols"),F=f("op-symbols"),z=Object[L],U="function"==typeof N,W=r.QObject,H=!W||!W[L]||!W[L].findChild,Y=i&&c(function(){return 7!=j(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=A(z,e);r&&delete z[e],M(t,e,n),r&&t!==z&&M(z,e,r)}:M,q=function(t){var e=B[t]=j(N[L]);return e._k=t,e},X=U&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},V=function(t,e,n){return t===z&&V(F,e,n),g(t),e=w(e,!0),g(n),o(B,e)?(n.enumerable?(o(t,I)&&t[I][e]&&(t[I][e]=!1),n=j(n,{enumerable:x(0,!1)})):(o(t,I)||M(t,I,x(1,{})),t[I][e]=!0),Y(t,e,n)):M(t,e,n)},G=function(t,e){g(t);for(var n,r=m(e=_(e)),o=0,i=r.length;i>o;)V(t,n=r[o++],e[n]);return t},K=function(t,e){return void 0===e?j(t):G(j(t),e)},Z=function(t){var e=R.call(this,t=w(t,!0));return!(this===z&&o(B,t)&&!o(F,t))&&(!(e||!o(this,t)||!o(B,t)||o(this,I)&&this[I][t])||e)},J=function(t,e){if(t=_(t),e=w(e,!0),t!==z||!o(B,e)||o(F,e)){var n=A(t,e);return!n||!o(B,e)||o(t,I)&&t[I][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=C(_(t)),r=[],i=0;n.length>i;)o(B,e=n[i++])||e==I||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===z,r=C(n?F:_(t)),i=[],a=0;r.length>a;)!o(B,e=r[a++])||n&&!o(z,e)||i.push(B[e]);return i};U||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===z&&e.call(F,n),o(this,I)&&o(this[I],t)&&(this[I][t]=!1),Y(this,t,x(1,n))};return i&&H&&Y(z,t,{configurable:!0,set:e}),q(t)},s(N[L],"toString",function(){return this._k}),k.f=J,S.f=V,n(167).f=O.f=Q,n(56).f=Z,n(111).f=tt,i&&!n(55)&&s(z,"propertyIsEnumerable",Z,!0),d.f=function(t){return q(p(t))}),a(a.G+a.W+a.F*!U,{Symbol:N});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var rt=E(p.store),ot=0;rt.length>ot;)v(rt[ot++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return o($,t+="")?$[t]:$[t]=N(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in $)if($[e]===t)return e},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!U,"Object",{create:K,defineProperty:V,defineProperties:G,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:tt}),T&&a(a.S+a.F*(!U||c(function(){var t=N();return"[null]"!=P([t])||"{}"!=P({a:t})||"{}"!=P(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(b(e)||void 0!==t)&&!X(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),r[1]=e,P.apply(T,r)}}),N[L][D]||n(24)(N[L],D,N[L].valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){var r=n(5),o=n(170)(!0);r(r.S,"Object",{entries:function(t){return o(t)}})},function(t,e,n){var r=n(5),o=n(170)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},function(t,e,n){"use strict";var r=n(5),o=n(2),i=n(6),a=n(175),s=n(172);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(5),o=n(110),i=n(171);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){n(395)("Set")},function(t,e,n){n(396)("Set")},function(t,e,n){var r=n(5);r(r.P+r.R,"Set",{toJSON:n(384)("Set")})},function(t,e,n){n(117)("asyncIterator")},function(t,e,n){n(117)("observable")},function(t,e){/*! - * Cropper.js v1.4.3 - * https://fengyuanchen.github.io/cropperjs - * - * Copyright 2015-present Chen Fengyuan - * Released under the MIT license - * - * Date: 2018-10-24T13:07:15.032Z - */ -"use strict";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})(t)}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:1e11;return Bt.test(t)?Math.round(t*e)/e:t}function y(t,e){var n=t.style;v(e,function(t,e){Ft.test(e)&&f(t)&&(t+="px"),n[e]=t})}function g(t,e){return t.classList?t.classList.contains(e):t.className.indexOf(e)>-1}function b(t,e){if(e){if(f(t.length))return void v(t,function(t){b(t,e)});if(t.classList)return void t.classList.add(e);var n=t.className.trim();n?n.indexOf(e)<0&&(t.className="".concat(n," ").concat(e)):t.className=e}}function _(t,e){if(e)return f(t.length)?void v(t,function(t){_(t,e)}):t.classList?void t.classList.remove(e):void(t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,"")))}function w(t,e,n){if(e)return f(t.length)?void v(t,function(t){w(t,e,n)}):void(n?b(t,e):_(t,e))}function x(t){return t.replace(zt,"$1-$2").toLowerCase()}function j(t,e){return h(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(x(e)))}function O(t,e,n){h(n)?t[e]=n:t.dataset?t.dataset[e]=n:t.setAttribute("data-".concat(x(e)),n)}function k(t,e){if(h(t[e]))try{delete t[e]}catch(n){t[e]=void 0}else if(t.dataset)try{delete t.dataset[e]}catch(n){t.dataset[e]=void 0}else t.removeAttribute("data-".concat(x(e)))}function S(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n;e.trim().split(Ut).forEach(function(e){if(!Wt){var i=t.listeners;i&&i[e]&&i[e][n]&&(o=i[e][n],delete i[e][n],0===Object.keys(i[e]).length&&delete i[e],0===Object.keys(i).length&&delete t.listeners)}t.removeEventListener(e,o,r)})}function E(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n;e.trim().split(Ut).forEach(function(e){if(r.once&&!Wt){var i=t.listeners,a=void 0===i?{}:i;o=function(){delete a[e][n],t.removeEventListener(e,o,r);for(var i=arguments.length,s=new Array(i),u=0;u1&&void 0!==arguments[1]?arguments[1]:"contain",i=function(t){return qt(t)&&t>0};if(i(r)&&i(n)){var a=n*e;"contain"===o&&a>r||"cover"===o&&a90?{width:u,height:s}:{width:s,height:u}}function $(t,e,n,r){var o=e.aspectRatio,i=e.naturalWidth,s=e.naturalHeight,u=e.rotate,c=void 0===u?0:u,f=e.scaleX,l=void 0===f?1:f,h=e.scaleY,p=void 0===h?1:h,d=n.aspectRatio,v=n.naturalWidth,y=n.naturalHeight,g=r.fillColor,b=void 0===g?"transparent":g,_=r.imageSmoothingEnabled,w=void 0===_||_,x=r.imageSmoothingQuality,j=void 0===x?"low":x,O=r.maxWidth,k=void 0===O?1/0:O,S=r.maxHeight,E=void 0===S?1/0:S,A=r.minWidth,M=void 0===A?0:A,C=r.minHeight,N=void 0===C?0:C,T=document.createElement("canvas"),P=T.getContext("2d"),L=D({aspectRatio:d,width:k,height:E}),I=D({aspectRatio:d,width:M,height:N},"cover"),R=Math.min(L.width,Math.max(I.width,v)),$=Math.min(L.height,Math.max(I.height,y)),B=D({aspectRatio:o,width:k,height:E}),F=D({aspectRatio:o,width:M,height:N},"cover"),z=Math.min(B.width,Math.max(F.width,i)),U=Math.min(B.height,Math.max(F.height,s)),W=[-z/2,-U/2,z,U];return T.width=m(R),T.height=m($),P.fillStyle=b,P.fillRect(0,0,R,$),P.save(),P.translate(R/2,$/2),P.rotate(c*Math.PI/180),P.scale(l,p),P.imageSmoothingEnabled=w,P.imageSmoothingQuality=j,P.drawImage.apply(P,[t].concat(a(W.map(function(t){return Math.floor(m(t))})))),P.restore(),T}function B(t,e,n){var r,o="";for(n+=e,r=e;r0;)n.push(Xt.apply(void 0,a(o.subarray(0,r)))),o=o.subarray(r);return"data:".concat(e,";base64,").concat(btoa(n.join("")))}function U(t){var e,n=new DataView(t);try{var r,o,i;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var a=n.byteLength,s=2;s+1=8&&(i=c+l)}}}if(i){var h,p,d=n.getUint16(i,r);for(p=0;p

',Dt=Number.isNaN||Y.isNaN,Rt=Object.prototype.hasOwnProperty,$t=Object.assign||function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0&&n.forEach(function(e){h(e)&&Object.keys(e).forEach(function(n){t[n]=e[n]})}),t},Bt=/\.\d*(?:0|9){12}\d*$/,Ft=/^(?:width|height|left|top|marginLeft|marginTop)$/,zt=/([a-z\d])([A-Z])/g,Ut=/\s\s*/,Wt=function(){var t=!1;if(H){var e=!1,n=function(){},r=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(t){e=t}});Y.addEventListener("test",n,r),Y.removeEventListener("test",n,r)}return t}(),Ht=Y.location,Yt=/^(https?:)\/\/([^:\/?#]+):?(\d*)/i,qt=Number.isFinite||Y.isFinite,Xt=String.fromCharCode,Vt=/^data:.*,/,Gt={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,e=this.options,n=this.container,r=this.cropper;b(r,st),_(t,st);var o={width:Math.max(n.offsetWidth,Number(e.minContainerWidth)||200),height:Math.max(n.offsetHeight,Number(e.minContainerHeight)||100)};this.containerData=o,y(r,{width:o.width,height:o.height}),b(t,st),_(r,st)},initCanvas:function(){var t=this.containerData,e=this.imageData,n=this.options.viewMode,r=Math.abs(e.rotate)%180===90,o=r?e.naturalHeight:e.naturalWidth,i=r?e.naturalWidth:e.naturalHeight,a=o/i,s=t.width,u=t.height;t.height*a>t.width?3===n?s=t.height*a:u=t.width/a:3===n?u=t.width/a:s=t.height*a;var c={aspectRatio:a,naturalWidth:o,naturalHeight:i,width:s,height:u};c.left=(t.width-s)/2,c.top=(t.height-u)/2,c.oldLeft=c.left,c.oldTop=c.top,this.canvasData=c,this.limited=1===n||2===n,this.limitCanvas(!0,!0),this.initialImageData=$t({},e),this.initialCanvasData=$t({},c)},limitCanvas:function(t,e){var n=this.options,r=this.containerData,o=this.canvasData,i=this.cropBoxData,a=n.viewMode,s=o.aspectRatio,u=this.cropped&&i;if(t){var c=Number(n.minCanvasWidth)||0,f=Number(n.minCanvasHeight)||0;a>1?(c=Math.max(c,r.width),f=Math.max(f,r.height),3===a&&(f*s>c?c=f*s:f=c/s)):a>0&&(c?c=Math.max(c,u?i.width:0):f?f=Math.max(f,u?i.height:0):u&&(c=i.width,f=i.height,f*s>c?c=f*s:f=c/s));var l=D({aspectRatio:s,width:c,height:f});c=l.width,f=l.height,o.minWidth=c,o.minHeight=f,o.maxWidth=1/0,o.maxHeight=1/0}if(e)if(a>(u?0:1)){var h=r.width-o.width,p=r.height-o.height;o.minLeft=Math.min(0,h),o.minTop=Math.min(0,p),o.maxLeft=Math.max(0,h),o.maxTop=Math.max(0,p),u&&this.limited&&(o.minLeft=Math.min(i.left,i.left+(i.width-o.width)),o.minTop=Math.min(i.top,i.top+(i.height-o.height)),o.maxLeft=i.left,o.maxTop=i.top,2===a&&(o.width>=r.width&&(o.minLeft=Math.min(0,h),o.maxLeft=Math.max(0,h)),o.height>=r.height&&(o.minTop=Math.min(0,p),o.maxTop=Math.max(0,p))))}else o.minLeft=-o.width,o.minTop=-o.height,o.maxLeft=r.width,o.maxTop=r.height},renderCanvas:function(t,e){var n=this.canvasData,r=this.imageData;if(e){var o=R({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),i=o.width,a=o.height,s=n.width*(i/n.naturalWidth),u=n.height*(a/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(u-n.height)/2,n.width=s,n.height=u,n.aspectRatio=i/a,n.naturalWidth=i,n.naturalHeight=a,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.widthn.maxHeight||n.heighte.width?o.height=o.width/n:o.width=o.height*n),this.cropBoxData=o,this.limitCropBox(!0,!0),o.width=Math.min(Math.max(o.width,o.minWidth),o.maxWidth),o.height=Math.min(Math.max(o.height,o.minHeight),o.maxHeight),o.width=Math.max(o.minWidth,o.width*r),o.height=Math.max(o.minHeight,o.height*r),o.left=e.left+(e.width-o.width)/2,o.top=e.top+(e.height-o.height)/2,o.oldLeft=o.left,o.oldTop=o.top,this.initialCropBoxData=$t({},o)},limitCropBox:function(t,e){var n=this.options,r=this.containerData,o=this.canvasData,i=this.cropBoxData,a=this.limited,s=n.aspectRatio;if(t){var u=Number(n.minCropBoxWidth)||0,c=Number(n.minCropBoxHeight)||0,f=a?Math.min(r.width,o.width,o.width+o.left,r.width-o.left):r.width,l=a?Math.min(r.height,o.height,o.height+o.top,r.height-o.top):r.height;u=Math.min(u,r.width),c=Math.min(c,r.height),s&&(u&&c?c*s>u?c=u/s:u=c*s:u?c=u/s:c&&(u=c*s),l*s>f?l=f/s:f=l*s),i.minWidth=Math.min(u,f),i.minHeight=Math.min(c,l),i.maxWidth=f,i.maxHeight=l}e&&(a?(i.minLeft=Math.max(0,o.left),i.minTop=Math.max(0,o.top),i.maxLeft=Math.min(r.width,o.left+o.width)-i.width,i.maxTop=Math.min(r.height,o.top+o.height)-i.height):(i.minLeft=0,i.minTop=0,i.maxLeft=r.width-i.width,i.maxTop=r.height-i.height))},renderCropBox:function(){var t=this.options,e=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.widthn.maxHeight||n.height=e.width&&n.height>=e.height?G:X),y(this.cropBox,$t({width:n.width,height:n.height},T({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),A(this.element,yt,this.getData())}},Kt={initPreview:function(){var t=this.crossOrigin,e=this.options.preview,n=t?this.crossOriginUrl:this.url,r=document.createElement("img");if(t&&(r.crossOrigin=t),r.src=n,this.viewBox.appendChild(r),this.viewBoxImage=r,e){var o=e;"string"==typeof e?o=this.element.ownerDocument.querySelectorAll(e):e.querySelector&&(o=[e]),this.previews=o,v(o,function(e){var r=document.createElement("img");O(e,pt,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),t&&(r.crossOrigin=t),r.src=n,r.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',e.innerHTML="",e.appendChild(r)})}},resetPreview:function(){v(this.previews,function(t){var e=j(t,pt);y(t,{width:e.width,height:e.height}),t.innerHTML=e.html,k(t,pt)})},preview:function(){var t=this.imageData,e=this.canvasData,n=this.cropBoxData,r=n.width,o=n.height,i=t.width,a=t.height,s=n.left-e.left-t.left,u=n.top-e.top-t.top;this.cropped&&!this.disabled&&(y(this.viewBoxImage,$t({width:i,height:a},T($t({translateX:-s,translateY:-u},t)))),v(this.previews,function(e){var n=j(e,pt),c=n.width,f=n.height,l=c,h=f,p=1;r&&(p=c/r,h=o*p),o&&h>f&&(p=f/o,l=r*p,h=f),y(e,{width:l,height:h}),y(e.getElementsByTagName("img")[0],$t({width:i*p,height:a*p},T($t({translateX:-s*p,translateY:-u*p},t))))}))}},Zt={bind:function(){var t=this.element,e=this.options,n=this.cropper;d(e.cropstart)&&E(t,_t,e.cropstart),d(e.cropmove)&&E(t,bt,e.cropmove),d(e.cropend)&&E(t,gt,e.cropend),d(e.crop)&&E(t,yt,e.crop),d(e.zoom)&&E(t,At,e.zoom),E(n,xt,this.onCropStart=this.cropStart.bind(this)),e.zoomable&&e.zoomOnWheel&&E(n,Et,this.onWheel=this.wheel.bind(this)),e.toggleDragModeOnDblclick&&E(n,wt,this.onDblclick=this.dblclick.bind(this)),E(t.ownerDocument,jt,this.onCropMove=this.cropMove.bind(this)),E(t.ownerDocument,Ot,this.onCropEnd=this.cropEnd.bind(this)),e.responsive&&E(window,St,this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,e=this.options,n=this.cropper;d(e.cropstart)&&S(t,_t,e.cropstart),d(e.cropmove)&&S(t,bt,e.cropmove),d(e.cropend)&&S(t,gt,e.cropend),d(e.crop)&&S(t,yt,e.crop),d(e.zoom)&&S(t,At,e.zoom),S(n,xt,this.onCropStart),e.zoomable&&e.zoomOnWheel&&S(n,Et,this.onWheel),e.toggleDragModeOnDblclick&&S(n,wt,this.onDblclick),S(t.ownerDocument,jt,this.onCropMove),S(t.ownerDocument,Ot,this.onCropEnd),e.responsive&&S(window,St,this.onResize)}},Jt={resize:function(){var t=this.options,e=this.container,n=this.containerData,r=Number(t.minContainerWidth)||200,o=Number(t.minContainerHeight)||100;if(!(this.disabled||n.width<=r||n.height<=o)){var i=e.offsetWidth/n.width;if(1!==i||e.offsetHeight!==n.height){var a,s;t.restore&&(a=this.getCanvasData(),s=this.getCropBoxData()),this.render(),t.restore&&(this.setCanvasData(v(a,function(t,e){a[e]=t*i})),this.setCropBoxData(v(s,function(t,e){s[e]=t*i})))}}},dblclick:function(){this.disabled||this.options.dragMode===mt||this.setDragMode(g(this.dragBox,it)?vt:dt)},wheel:function(t){var e=this,n=Number(this.options.wheelZoomRatio)||.1,r=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){e.wheeling=!1},50),t.deltaY?r=t.deltaY>0?1:-1:t.wheelDelta?r=-t.wheelDelta/120:t.detail&&(r=t.detail>0?1:-1),this.zoom(-r*n,t)))},cropStart:function(t){if(!this.disabled){var e,n=this.options,r=this.pointers;t.changedTouches?v(t.changedTouches,function(t){r[t.identifier]=L(t)}):r[t.pointerId||0]=L(t),e=Object.keys(r).length>1&&n.zoomable&&n.zoomOnTouch?K:j(t.target,ht),Ct.test(e)&&A(this.element,_t,{originalEvent:t,action:e})!==!1&&(t.preventDefault(),this.action=e,this.cropping=!1,e===V&&(this.cropping=!0,b(this.dragBox,ft)))}},cropMove:function(t){var e=this.action;if(!this.disabled&&e){var n=this.pointers;t.preventDefault(),A(this.element,bt,{originalEvent:t,action:e})!==!1&&(t.changedTouches?v(t.changedTouches,function(t){$t(n[t.identifier]||{},L(t,!0))}):$t(n[t.pointerId||0]||{},L(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var e=this.action,n=this.pointers;t.changedTouches?v(t.changedTouches,function(t){delete n[t.identifier]}):delete n[t.pointerId||0],e&&(t.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,w(this.dragBox,ft,this.cropped&&this.options.modal)),A(this.element,gt,{originalEvent:t,action:e}))}}},Qt={change:function(t){var e,n=this.options,r=this.canvasData,o=this.containerData,i=this.cropBoxData,a=this.pointers,s=this.action,u=n.aspectRatio,c=i.left,f=i.top,l=i.width,h=i.height,p=c+l,d=f+h,m=0,y=0,g=o.width,b=o.height,w=!0;!u&&t.shiftKey&&(u=l&&h?l/h:1),this.limited&&(m=i.minLeft,y=i.minTop,g=m+Math.min(o.width,r.width,r.left+r.width),b=y+Math.min(o.height,r.height,r.top+r.height));var x=a[Object.keys(a)[0]],j={x:x.endX-x.startX,y:x.endY-x.startY},O=function(t){switch(t){case Z:p+j.x>g&&(j.x=g-p);break;case J:c+j.xb&&(j.y=b-d)}};switch(s){case X:c+=j.x,f+=j.y;break;case Z:if(j.x>=0&&(p>=g||u&&(f<=y||d>=b))){w=!1;break}O(Z),l+=j.x,l<0&&(s=J,l=-l,c-=l),u&&(h=l/u,f+=(i.height-h)/2);break;case tt:if(j.y<=0&&(f<=y||u&&(c<=m||p>=g))){w=!1;break}O(tt),h-=j.y,f+=j.y,h<0&&(s=Q,h=-h,f-=h),u&&(l=h*u,c+=(i.width-l)/2);break;case J:if(j.x<=0&&(c<=m||u&&(f<=y||d>=b))){w=!1;break}O(J),l-=j.x,c+=j.x,l<0&&(s=Z,l=-l,c-=l),u&&(h=l/u,f+=(i.height-h)/2);break;case Q:if(j.y>=0&&(d>=b||u&&(c<=m||p>=g))){w=!1;break}O(Q),h+=j.y,h<0&&(s=tt,h=-h,f-=h),u&&(l=h*u,c+=(i.width-l)/2);break;case et:if(u){if(j.y<=0&&(f<=y||p>=g)){w=!1;break}O(tt),h-=j.y,f+=j.y,l=h*u}else O(tt),O(Z),j.x>=0?py&&(h-=j.y,f+=j.y):(h-=j.y,f+=j.y);l<0&&h<0?(s=ot,h=-h,l=-l,f-=h,c-=l):l<0?(s=nt,l=-l,c-=l):h<0&&(s=rt,h=-h,f-=h);break;case nt:if(u){if(j.y<=0&&(f<=y||c<=m)){w=!1;break}O(tt),h-=j.y,f+=j.y,l=h*u,c+=i.width-l}else O(tt),O(J),j.x<=0?c>m?(l-=j.x,c+=j.x):j.y<=0&&f<=y&&(w=!1):(l-=j.x,c+=j.x),j.y<=0?f>y&&(h-=j.y,f+=j.y):(h-=j.y,f+=j.y);l<0&&h<0?(s=rt,h=-h,l=-l,f-=h,c-=l):l<0?(s=et,l=-l,c-=l):h<0&&(s=ot,h=-h,f-=h);break;case ot:if(u){if(j.x<=0&&(c<=m||d>=b)){w=!1;break}O(J),l-=j.x,c+=j.x,h=l/u}else O(Q),O(J),j.x<=0?c>m?(l-=j.x,c+=j.x):j.y>=0&&d>=b&&(w=!1):(l-=j.x,c+=j.x),j.y>=0?d=0&&(p>=g||d>=b)){w=!1;break}O(Z),l+=j.x,h=l/u}else O(Q),O(Z),j.x>=0?p=0&&d>=b&&(w=!1):l+=j.x,j.y>=0?d0?s=j.y>0?rt:et:j.x<0&&(c-=l,s=j.y>0?ot:nt),j.y<0&&(f-=h),this.cropped||(_(this.cropBox,st),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}w&&(i.width=l,i.height=h,i.left=c,i.top=f,this.action=s,this.renderCropBox()),v(a,function(t){t.startX=t.endX,t.startY=t.endY})}},te={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&b(this.dragBox,ft),_(this.cropBox,st),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=$t({},this.initialImageData),this.canvasData=$t({},this.initialCanvasData),this.cropBoxData=$t({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&($t(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),_(this.dragBox,ft),b(this.cropBox,st)),this},replace:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&t&&(this.isImg&&(this.element.src=t),e?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,v(this.previews,function(e){e.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,_(this.cropper,at)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,b(this.cropper,at)),this},destroy:function(){var t=this.element;return t[q]?(t[q]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,r=n.left,o=n.top;return this.moveTo(l(t)?t:r+Number(t),l(e)?e:o+Number(e))},moveTo:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.canvasData,r=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(f(t)&&(n.left=t,r=!0),f(e)&&(n.top=e,r=!0),r&&this.renderCanvas(!0)),this},zoom:function(t,e){var n=this.canvasData;return t=Number(t),t=t<0?1/(1-t):1+t,this.zoomTo(n.width*t/n.naturalWidth,null,e)},zoomTo:function(t,e,n){var r=this.options,o=this.canvasData,i=o.width,a=o.height,s=o.naturalWidth,u=o.naturalHeight;if(t=Number(t),t>=0&&this.ready&&!this.disabled&&r.zoomable){var c=s*t,l=u*t;if(A(this.element,At,{ratio:t,oldRatio:i/s,originalEvent:n})===!1)return this;if(n){var h=this.pointers,d=M(this.cropper),v=h&&Object.keys(h).length?I(h):{pageX:n.pageX,pageY:n.pageY};o.left-=(c-i)*((v.pageX-d.left-o.left)/i),o.top-=(l-a)*((v.pageY-d.top-o.top)/a)}else p(e)&&f(e.x)&&f(e.y)?(o.left-=(c-i)*((e.x-o.left)/i),o.top-=(l-a)*((e.y-o.top)/a)):(o.left-=(c-i)/2,o.top-=(l-a)/2);o.width=c,o.height=l,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return t=Number(t),f(t)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var e=this.imageData.scaleY;return this.scale(t,f(e)?e:1)},scaleY:function(t){var e=this.imageData.scaleX;return this.scale(f(e)?e:1,t)},scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=this.imageData,r=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(f(t)&&(n.scaleX=t,r=!0),f(e)&&(n.scaleY=e,r=!0),r&&this.renderCanvas(!0,!0)),this},getData:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,r=this.imageData,o=this.canvasData,i=this.cropBoxData;if(this.ready&&this.cropped){t={x:i.left-o.left,y:i.top-o.top,width:i.width,height:i.height};var a=r.width/r.naturalWidth;if(v(t,function(e,n){t[n]=e/a}),e){var s=Math.round(t.y+t.height),u=Math.round(t.x+t.width);t.x=Math.round(t.x),t.y=Math.round(t.y),t.width=u-t.x,t.height=s-t.y}}else t={x:0,y:0,width:0,height:0};return n.rotatable&&(t.rotate=r.rotate||0),n.scalable&&(t.scaleX=r.scaleX||1,t.scaleY=r.scaleY||1),t},setData:function(t){var e=this.options,n=this.imageData,r=this.canvasData,o={};if(this.ready&&!this.disabled&&p(t)){var i=!1;e.rotatable&&f(t.rotate)&&t.rotate!==n.rotate&&(n.rotate=t.rotate,i=!0),e.scalable&&(f(t.scaleX)&&t.scaleX!==n.scaleX&&(n.scaleX=t.scaleX,i=!0),f(t.scaleY)&&t.scaleY!==n.scaleY&&(n.scaleY=t.scaleY,i=!0)),i&&this.renderCanvas(!0,!0);var a=n.width/n.naturalWidth;f(t.x)&&(o.left=t.x*a+r.left),f(t.y)&&(o.top=t.y*a+r.top),f(t.width)&&(o.width=t.width*a),f(t.height)&&(o.height=t.height*a),this.setCropBoxData(o)}return this},getContainerData:function(){return this.ready?$t({},this.containerData):{}},getImageData:function(){return this.sized?$t({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,e={};return this.ready&&v(["left","top","width","height","naturalWidth","naturalHeight"],function(n){e[n]=t[n]}),e},setCanvasData:function(t){var e=this.canvasData,n=e.aspectRatio;return this.ready&&!this.disabled&&p(t)&&(f(t.left)&&(e.left=t.left),f(t.top)&&(e.top=t.top),f(t.width)?(e.width=t.width,e.height=t.width/n):f(t.height)&&(e.height=t.height,e.width=t.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var t,e=this.cropBoxData;return this.ready&&this.cropped&&(t={left:e.left,top:e.top,width:e.width,height:e.height}),t||{}},setCropBoxData:function(t){var e,n,r=this.cropBoxData,o=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&p(t)&&(f(t.left)&&(r.left=t.left),f(t.top)&&(r.top=t.top),f(t.width)&&t.width!==r.width&&(e=!0,r.width=t.width),f(t.height)&&t.height!==r.height&&(n=!0,r.height=t.height),o&&(e?r.height=r.width/o:n&&(r.width=r.height*o)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var e=this.canvasData,n=$(this.image,this.imageData,e,t);if(!this.cropped)return n;var r=this.getData(),o=r.x,i=r.y,s=r.width,u=r.height,c=n.width/Math.floor(e.naturalWidth);1!==c&&(o*=c,i*=c,s*=c,u*=c);var f=s/u,l=D({aspectRatio:f,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),h=D({aspectRatio:f,width:t.minWidth||0,height:t.minHeight||0},"cover"),p=D({aspectRatio:f,width:t.width||(1!==c?n.width:s),height:t.height||(1!==c?n.height:u)}),d=p.width,v=p.height;d=Math.min(l.width,Math.max(h.width,d)),v=Math.min(l.height,Math.max(h.height,v));var y=document.createElement("canvas"),g=y.getContext("2d");y.width=m(d),y.height=m(v),g.fillStyle=t.fillColor||"transparent",g.fillRect(0,0,d,v);var b=t.imageSmoothingEnabled,_=void 0===b||b,w=t.imageSmoothingQuality;g.imageSmoothingEnabled=_,w&&(g.imageSmoothingQuality=w);var x,j,O,k,S,E,A=n.width,M=n.height,C=o,N=i;C<=-s||C>A?(C=0,x=0,O=0,S=0):C<=0?(O=-C,C=0,x=Math.min(A,s+C),S=x):C<=A&&(O=0,x=Math.min(s,A-C),S=x),x<=0||N<=-u||N>M?(N=0,j=0,k=0,E=0):N<=0?(k=-N,N=0,j=Math.min(M,u+N),E=j):N<=M&&(k=0,j=Math.min(u,M-N),E=j);var T=[C,N,x,j];if(S>0&&E>0){var P=d/s;T.push(O*P,k*P,S*P,E*P)}return g.drawImage.apply(g,[n].concat(a(T.map(function(t){return Math.floor(m(t))})))),y},setAspectRatio:function(t){var e=this.options;return this.disabled||l(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var e=this.options,n=this.dragBox,r=this.face;if(this.ready&&!this.disabled){var o=t===dt,i=e.movable&&t===vt;t=o||i?t:mt,e.dragMode=t,O(n,ht,t),w(n,it,o),w(n,lt,i),e.cropBoxMovable||(O(r,ht,t),w(r,it,o),w(r,lt,i))}return this}},ee=Y.Cropper,ne=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,t),!e||!Pt.test(e.tagName))throw new Error("The first argument is required and must be an or element.");this.element=e,this.options=$t({},Lt,p(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return i(t,[{key:"init",value:function(){var t,e=this.element,n=e.tagName.toLowerCase();if(!e[q]){if(e[q]=this,"img"===n){if(this.isImg=!0,t=e.getAttribute("src")||"",this.originalUrl=t,!t)return;t=e.src}else"canvas"===n&&window.HTMLCanvasElement&&(t=e.toDataURL());this.load(t)}}},{key:"load",value:function(t){var e=this;if(t){this.url=t,this.imageData={};var n=this.element,r=this.options;if(r.rotatable||r.scalable||(r.checkOrientation=!1),!r.checkOrientation||!window.ArrayBuffer)return void this.clone(); -if(Nt.test(t))return void(Tt.test(t)?this.read(F(t)):this.clone());var o=new XMLHttpRequest,i=this.clone.bind(this);this.reloading=!0,this.xhr=o,o.ontimeout=i,o.onabort=i,o.onerror=i,o.onprogress=function(){o.getResponseHeader("content-type")!==Mt&&o.abort()},o.onload=function(){e.read(o.response)},o.onloadend=function(){e.reloading=!1,e.xhr=null},r.checkCrossOrigin&&C(t)&&n.crossOrigin&&(t=N(t)),o.open("GET",t),o.responseType="arraybuffer",o.withCredentials="use-credentials"===n.crossOrigin,o.send()}}},{key:"read",value:function(t){var e=this.options,n=this.imageData,r=U(t),o=0,i=1,a=1;if(r>1){this.url=z(t,Mt);var s=W(r);o=s.rotate,i=s.scaleX,a=s.scaleY}e.rotatable&&(n.rotate=o),e.scalable&&(n.scaleX=i,n.scaleY=a),this.clone()}},{key:"clone",value:function(){var t,e,n=this.element,r=this.url;this.options.checkCrossOrigin&&C(r)&&(t=n.crossOrigin,t?e=r:(t="anonymous",e=N(r))),this.crossOrigin=t,this.crossOriginUrl=e;var o=document.createElement("img");t&&(o.crossOrigin=t),o.src=e||r,this.image=o,o.onload=this.start.bind(this),o.onerror=this.stop.bind(this),b(o,ut),n.parentNode.insertBefore(o,n.nextSibling)}},{key:"start",value:function(){var t=this,e=this.isImg?this.element:this.image;e.onload=null,e.onerror=null,this.sizing=!0;var n=Y.navigator&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(Y.navigator.userAgent),r=function(e,n){$t(t.imageData,{naturalWidth:e,naturalHeight:n,aspectRatio:e/n}),t.sizing=!1,t.sized=!0,t.build()};if(e.naturalWidth&&!n)return void r(e.naturalWidth,e.naturalHeight);var o=document.createElement("img"),i=document.body||document.documentElement;this.sizingImage=o,o.onload=function(){r(o.width,o.height),n||i.removeChild(o)},o.src=e.src,n||(o.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",i.appendChild(o))}},{key:"stop",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var t=this.element,e=this.options,n=this.image,r=t.parentNode,o=document.createElement("div");o.innerHTML=It;var i=o.querySelector(".".concat(q,"-container")),a=i.querySelector(".".concat(q,"-canvas")),s=i.querySelector(".".concat(q,"-drag-box")),u=i.querySelector(".".concat(q,"-crop-box")),c=u.querySelector(".".concat(q,"-face"));this.container=r,this.cropper=i,this.canvas=a,this.dragBox=s,this.cropBox=u,this.viewBox=i.querySelector(".".concat(q,"-view-box")),this.face=c,a.appendChild(n),b(t,st),r.insertBefore(i,t.nextSibling),this.isImg||_(n,ut),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,b(u,st),e.guides||b(u.getElementsByClassName("".concat(q,"-dashed")),st),e.center||b(u.getElementsByClassName("".concat(q,"-center")),st),e.background&&b(i,"".concat(q,"-bg")),e.highlight||b(c,ct),e.cropBoxMovable&&(b(c,lt),O(c,ht,X)),e.cropBoxResizable||(b(u.getElementsByClassName("".concat(q,"-line")),st),b(u.getElementsByClassName("".concat(q,"-point")),st)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),d(e.ready)&&E(t,kt,e.ready,{once:!0}),A(t,kt)}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),_(this.element,st))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=ee,t}},{key:"setDefaults",value:function(t){$t(Lt,p(t)&&t)}}]),t}();$t(ne.prototype,Gt,Kt,Zt,Jt,Qt,te),t.exports=ne},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){!function(e,n){t.exports=n()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s="./src/index.js")}({"./node_modules/babel-runtime/core-js/object/define-property.js":function(t,e,n){t.exports={default:n("./node_modules/core-js/library/fn/object/define-property.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/keys.js":function(t,e,n){t.exports={default:n("./node_modules/core-js/library/fn/object/keys.js"),__esModule:!0}},"./node_modules/babel-runtime/core-js/object/values.js":function(t,e,n){t.exports={default:n("./node_modules/core-js/library/fn/object/values.js"),__esModule:!0}},"./node_modules/babel-runtime/helpers/classCallCheck.js":function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},"./node_modules/babel-runtime/helpers/createClass.js":function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=n("./node_modules/babel-runtime/core-js/object/define-property.js"),i=r(o);e.default=function(){function t(t,e){for(var n=0;nf;)if(s=u[f++],s!=s)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},"./node_modules/core-js/library/modules/_cof.js":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"./node_modules/core-js/library/modules/_core.js":function(t,e){var n=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},"./node_modules/core-js/library/modules/_ctx.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_a-function.js");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"./node_modules/core-js/library/modules/_defined.js":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"./node_modules/core-js/library/modules/_descriptors.js":function(t,e,n){t.exports=!n("./node_modules/core-js/library/modules/_fails.js")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"./node_modules/core-js/library/modules/_dom-create.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_is-object.js"),o=n("./node_modules/core-js/library/modules/_global.js").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"./node_modules/core-js/library/modules/_enum-bug-keys.js":function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/core-js/library/modules/_export.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_global.js"),o=n("./node_modules/core-js/library/modules/_core.js"),i=n("./node_modules/core-js/library/modules/_ctx.js"),a=n("./node_modules/core-js/library/modules/_hide.js"),s="prototype",u=function(t,e,n){var c,f,l,h=t&u.F,p=t&u.G,d=t&u.S,v=t&u.P,m=t&u.B,y=t&u.W,g=p?o:o[e]||(o[e]={}),b=g[s],_=p?r:d?r[e]:(r[e]||{})[s];p&&(n=e);for(c in n)f=!h&&_&&void 0!==_[c],f&&c in g||(l=f?_[c]:n[c],g[c]=p&&"function"!=typeof _[c]?n[c]:m&&f?i(l,r):y&&_[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[s]=t[s],e}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[c]=l,t&u.R&&b&&!b[c]&&a(b,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"./node_modules/core-js/library/modules/_fails.js":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"./node_modules/core-js/library/modules/_global.js":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"./node_modules/core-js/library/modules/_has.js":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"./node_modules/core-js/library/modules/_hide.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_object-dp.js"),o=n("./node_modules/core-js/library/modules/_property-desc.js");t.exports=n("./node_modules/core-js/library/modules/_descriptors.js")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"./node_modules/core-js/library/modules/_ie8-dom-define.js":function(t,e,n){t.exports=!n("./node_modules/core-js/library/modules/_descriptors.js")&&!n("./node_modules/core-js/library/modules/_fails.js")(function(){return 7!=Object.defineProperty(n("./node_modules/core-js/library/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a})},"./node_modules/core-js/library/modules/_iobject.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_cof.js");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"./node_modules/core-js/library/modules/_is-object.js":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"./node_modules/core-js/library/modules/_object-dp.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_an-object.js"),o=n("./node_modules/core-js/library/modules/_ie8-dom-define.js"),i=n("./node_modules/core-js/library/modules/_to-primitive.js"),a=Object.defineProperty;e.f=n("./node_modules/core-js/library/modules/_descriptors.js")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"./node_modules/core-js/library/modules/_object-keys-internal.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_has.js"),o=n("./node_modules/core-js/library/modules/_to-iobject.js"),i=n("./node_modules/core-js/library/modules/_array-includes.js")(!1),a=n("./node_modules/core-js/library/modules/_shared-key.js")("IE_PROTO");t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},"./node_modules/core-js/library/modules/_object-keys.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_object-keys-internal.js"),o=n("./node_modules/core-js/library/modules/_enum-bug-keys.js");t.exports=Object.keys||function(t){return r(t,o)}},"./node_modules/core-js/library/modules/_object-pie.js":function(t,e){e.f={}.propertyIsEnumerable},"./node_modules/core-js/library/modules/_object-sap.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_export.js"),o=n("./node_modules/core-js/library/modules/_core.js"),i=n("./node_modules/core-js/library/modules/_fails.js");t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},"./node_modules/core-js/library/modules/_object-to-array.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_object-keys.js"),o=n("./node_modules/core-js/library/modules/_to-iobject.js"),i=n("./node_modules/core-js/library/modules/_object-pie.js").f;t.exports=function(t){return function(e){for(var n,a=o(e),s=r(a),u=s.length,c=0,f=[];u>c;)i.call(a,n=s[c++])&&f.push(t?[n,a[n]]:a[n]);return f}}},"./node_modules/core-js/library/modules/_property-desc.js":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"./node_modules/core-js/library/modules/_shared-key.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_shared.js")("keys"),o=n("./node_modules/core-js/library/modules/_uid.js");t.exports=function(t){return r[t]||(r[t]=o(t))}},"./node_modules/core-js/library/modules/_shared.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_global.js"),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},"./node_modules/core-js/library/modules/_to-absolute-index.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_to-integer.js"),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},"./node_modules/core-js/library/modules/_to-integer.js":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"./node_modules/core-js/library/modules/_to-iobject.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_iobject.js"),o=n("./node_modules/core-js/library/modules/_defined.js");t.exports=function(t){return r(o(t))}},"./node_modules/core-js/library/modules/_to-length.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_to-integer.js"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},"./node_modules/core-js/library/modules/_to-object.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_defined.js");t.exports=function(t){return Object(r(t))}},"./node_modules/core-js/library/modules/_to-primitive.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_is-object.js");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/library/modules/_uid.js":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"./node_modules/core-js/library/modules/es6.object.define-property.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_export.js");r(r.S+r.F*!n("./node_modules/core-js/library/modules/_descriptors.js"),"Object",{defineProperty:n("./node_modules/core-js/library/modules/_object-dp.js").f})},"./node_modules/core-js/library/modules/es6.object.keys.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_to-object.js"),o=n("./node_modules/core-js/library/modules/_object-keys.js");n("./node_modules/core-js/library/modules/_object-sap.js")("keys",function(){return function(t){return o(r(t))}})},"./node_modules/core-js/library/modules/es7.object.values.js":function(t,e,n){var r=n("./node_modules/core-js/library/modules/_export.js"),o=n("./node_modules/core-js/library/modules/_object-to-array.js")(!1);r(r.S,"Object",{values:function(t){return o(t)}})},"./src/data.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={aa:{name:"Afar",nativeName:"Afaraf"},ab:{name:"Abkhaz",nativeName:"аҧсуа бызшәа"},ae:{name:"Avestan",nativeName:"avesta"},af:{name:"Afrikaans",nativeName:"Afrikaans"},ak:{name:"Akan",nativeName:"Akan"},am:{name:"Amharic",nativeName:"አማርኛ"},an:{name:"Aragonese",nativeName:"aragonés"},ar:{name:"Arabic",nativeName:"اللغة العربية"},as:{name:"Assamese",nativeName:"অসমীয়া"},av:{name:"Avaric",nativeName:"авар мацӀ"},ay:{name:"Aymara",nativeName:"aymar aru"},az:{name:"Azerbaijani",nativeName:"azərbaycan dili"},ba:{name:"Bashkir",nativeName:"башҡорт теле"},be:{name:"Belarusian",nativeName:"беларуская мова"},bg:{name:"Bulgarian",nativeName:"български език"},bh:{name:"Bihari",nativeName:"भोजपुरी"},bi:{name:"Bislama",nativeName:"Bislama"},bm:{name:"Bambara",nativeName:"bamanankan"},bn:{name:"Bengali",nativeName:"বাংলা"},bo:{name:"Tibetan Standard",nativeName:"བོད་ཡིག"},br:{name:"Breton",nativeName:"brezhoneg"},bs:{name:"Bosnian",nativeName:"bosanski jezik"},ca:{name:"Catalan",nativeName:"català"},ce:{name:"Chechen",nativeName:"нохчийн мотт"},ch:{name:"Chamorro",nativeName:"Chamoru"},co:{name:"Corsican",nativeName:"corsu"},cr:{name:"Cree",nativeName:"ᓀᐦᐃᔭᐍᐏᐣ"},cs:{name:"Czech",nativeName:"čeština"},cu:{name:"Old Church Slavonic",nativeName:"ѩзыкъ словѣньскъ"},cv:{name:"Chuvash",nativeName:"чӑваш чӗлхи"},cy:{name:"Welsh",nativeName:"Cymraeg"},da:{name:"Danish",nativeName:"dansk"},de:{name:"German",nativeName:"Deutsch"},dv:{name:"Divehi",nativeName:"Dhivehi"},dz:{name:"Dzongkha",nativeName:"རྫོང་ཁ"},ee:{name:"Ewe",nativeName:"Eʋegbe"},el:{name:"Greek",nativeName:"ελληνικά"},en:{name:"English",nativeName:"English"},eo:{name:"Esperanto",nativeName:"Esperanto"},es:{name:"Spanish",nativeName:"Español"},et:{name:"Estonian",nativeName:"eesti"},eu:{name:"Basque",nativeName:"euskara"},fa:{name:"Persian",nativeName:"فارسی"},ff:{name:"Fula",nativeName:"Fulfulde"},fi:{name:"Finnish",nativeName:"suomi"},fj:{name:"Fijian",nativeName:"Vakaviti"},fo:{name:"Faroese",nativeName:"føroyskt"},fr:{name:"French",nativeName:"Français"},fy:{name:"Western Frisian",nativeName:"Frysk"},ga:{name:"Irish",nativeName:"Gaeilge"},gd:{name:"Scottish Gaelic",nativeName:"Gàidhlig"},gl:{name:"Galician",nativeName:"galego"},gn:{name:"Guaraní",nativeName:"Avañe'ẽ"},gu:{name:"Gujarati",nativeName:"ગુજરાતી"},gv:{name:"Manx",nativeName:"Gaelg"},ha:{name:"Hausa",nativeName:"هَوُسَ"},he:{name:"Hebrew",nativeName:"עברית"},hi:{name:"Hindi",nativeName:"हिन्दी"},ho:{name:"Hiri Motu",nativeName:"Hiri Motu"},hr:{name:"Croatian",nativeName:"hrvatski jezik"},ht:{name:"Haitian",nativeName:"Kreyòl ayisyen"},hu:{name:"Hungarian",nativeName:"magyar"},hy:{name:"Armenian",nativeName:"Հայերեն"},hz:{name:"Herero",nativeName:"Otjiherero"},ia:{name:"Interlingua",nativeName:"Interlingua"},id:{name:"Indonesian",nativeName:"Indonesian"},ie:{name:"Interlingue",nativeName:"Interlingue"},ig:{name:"Igbo",nativeName:"Asụsụ Igbo"},ii:{name:"Nuosu",nativeName:"ꆈꌠ꒿ Nuosuhxop"},ik:{name:"Inupiaq",nativeName:"Iñupiaq"},io:{name:"Ido",nativeName:"Ido"},is:{name:"Icelandic",nativeName:"Íslenska"},it:{name:"Italian",nativeName:"Italiano"},iu:{name:"Inuktitut",nativeName:"ᐃᓄᒃᑎᑐᑦ"},ja:{name:"Japanese",nativeName:"日本語"},jv:{name:"Javanese",nativeName:"basa Jawa"},ka:{name:"Georgian",nativeName:"ქართული"},kg:{name:"Kongo",nativeName:"Kikongo"},ki:{name:"Kikuyu",nativeName:"Gĩkũyũ"},kj:{name:"Kwanyama",nativeName:"Kuanyama"},kk:{name:"Kazakh",nativeName:"қазақ тілі"},kl:{name:"Kalaallisut",nativeName:"kalaallisut"},km:{name:"Khmer",nativeName:"ខេមរភាសា"},kn:{name:"Kannada",nativeName:"ಕನ್ನಡ"},ko:{name:"Korean",nativeName:"한국어"},kr:{name:"Kanuri",nativeName:"Kanuri"},ks:{name:"Kashmiri",nativeName:"कश्मीरी"},ku:{name:"Kurdish",nativeName:"Kurdî"},kv:{name:"Komi",nativeName:"коми кыв"},kw:{name:"Cornish",nativeName:"Kernewek"},ky:{name:"Kyrgyz",nativeName:"Кыргызча"},la:{name:"Latin",nativeName:"latine"},lb:{name:"Luxembourgish",nativeName:"Lëtzebuergesch"},lg:{name:"Ganda",nativeName:"Luganda"},li:{name:"Limburgish",nativeName:"Limburgs"},ln:{name:"Lingala",nativeName:"Lingála"},lo:{name:"Lao",nativeName:"ພາສາ"},lt:{name:"Lithuanian",nativeName:"lietuvių kalba"},lu:{name:"Luba-Katanga",nativeName:"Tshiluba"},lv:{name:"Latvian",nativeName:"latviešu valoda"},mg:{name:"Malagasy",nativeName:"fiteny malagasy"},mh:{name:"Marshallese",nativeName:"Kajin M̧ajeļ"},mi:{name:"Māori",nativeName:"te reo Māori"},mk:{name:"Macedonian",nativeName:"македонски јазик"},ml:{name:"Malayalam",nativeName:"മലയാളം"},mn:{name:"Mongolian",nativeName:"Монгол хэл"},mr:{name:"Marathi",nativeName:"मराठी"},ms:{name:"Malay",nativeName:"هاس ملايو‎"},mt:{name:"Maltese",nativeName:"Malti"},my:{name:"Burmese",nativeName:"ဗမာစာ"},na:{name:"Nauru",nativeName:"Ekakairũ Naoero"},nb:{name:"Norwegian Bokmål",nativeName:"Norsk bokmål"},nd:{name:"Northern Ndebele",nativeName:"isiNdebele"},ne:{name:"Nepali",nativeName:"नेपाली"},ng:{name:"Ndonga",nativeName:"Owambo"},nl:{name:"Dutch",nativeName:"Nederlands"},nn:{name:"Norwegian Nynorsk",nativeName:"Norsk nynorsk"},no:{name:"Norwegian",nativeName:"Norsk"},nr:{name:"Southern Ndebele",nativeName:"isiNdebele"},nv:{name:"Navajo",nativeName:"Diné bizaad"},ny:{name:"Chichewa",nativeName:"chiCheŵa"},oc:{name:"Occitan",nativeName:"occitan"},oj:{name:"Ojibwe",nativeName:"ᐊᓂᔑᓈᐯᒧᐎᓐ"},om:{name:"Oromo",nativeName:"Afaan Oromoo"},or:{name:"Oriya",nativeName:"ଓଡ଼ିଆ"},os:{name:"Ossetian",nativeName:"ирон æвзаг"},pa:{name:"Panjabi",nativeName:"ਪੰਜਾਬੀ"},pi:{name:"Pāli",nativeName:"पाऴि"},pl:{name:"Polish",nativeName:"język polski"},ps:{name:"Pashto",nativeName:"پښتو"},pt:{name:"Portuguese",nativeName:"Português"},qu:{name:"Quechua",nativeName:"Runa Simi"},rm:{name:"Romansh",nativeName:"rumantsch grischun"},rn:{name:"Kirundi",nativeName:"Ikirundi"},ro:{name:"Romanian",nativeName:"limba română"},ru:{name:"Russian",nativeName:"Русский"},rw:{name:"Kinyarwanda",nativeName:"Ikinyarwanda"},sa:{name:"Sanskrit",nativeName:"संस्कृतम्"},sc:{name:"Sardinian",nativeName:"sardu"},sd:{name:"Sindhi",nativeName:"सिन्धी"},se:{name:"Northern Sami",nativeName:"Davvisámegiella"},sg:{name:"Sango",nativeName:"yângâ tî sängö"},si:{name:"Sinhala",nativeName:"සිංහල"},sk:{name:"Slovak",nativeName:"slovenčina"},sl:{name:"Slovene",nativeName:"slovenski jezik"},sm:{name:"Samoan",nativeName:"gagana fa'a Samoa"},sn:{name:"Shona",nativeName:"chiShona"},so:{name:"Somali",nativeName:"Soomaaliga"},sq:{name:"Albanian",nativeName:"Shqip"},sr:{name:"Serbian",nativeName:"српски језик"},ss:{name:"Swati",nativeName:"SiSwati"},st:{name:"Southern Sotho",nativeName:"Sesotho"},su:{name:"Sundanese",nativeName:"Basa Sunda"},sv:{name:"Swedish",nativeName:"svenska"},sw:{name:"Swahili",nativeName:"Kiswahili"},ta:{name:"Tamil",nativeName:"தமிழ்"},te:{name:"Telugu",nativeName:"తెలుగు"},tg:{name:"Tajik",nativeName:"тоҷикӣ"},th:{name:"Thai",nativeName:"ไทย"},ti:{name:"Tigrinya",nativeName:"ትግርኛ"},tk:{name:"Turkmen",nativeName:"Türkmen"},tl:{name:"Tagalog",nativeName:"Wikang Tagalog"},tn:{name:"Tswana",nativeName:"Setswana"},to:{name:"Tonga",nativeName:"faka Tonga"},tr:{name:"Turkish",nativeName:"Türkçe"},ts:{name:"Tsonga",nativeName:"Xitsonga"},tt:{name:"Tatar",nativeName:"татар теле"},tw:{name:"Twi",nativeName:"Twi"},ty:{name:"Tahitian",nativeName:"Reo Tahiti"},ug:{name:"Uyghur",nativeName:"ئۇيغۇرچە‎"},uk:{name:"Ukrainian",nativeName:"Українська"},ur:{name:"Urdu",nativeName:"اردو"},uz:{name:"Uzbek",nativeName:"Ўзбек"},ve:{name:"Venda",nativeName:"Tshivenḓa"},vi:{name:"Vietnamese",nativeName:"Tiếng Việt"},vo:{name:"Volapük",nativeName:"Volapük"},wa:{name:"Walloon",nativeName:"walon"},wo:{name:"Wolof",nativeName:"Wollof"},xh:{name:"Xhosa",nativeName:"isiXhosa"},yi:{name:"Yiddish",nativeName:"ייִדיש"},yo:{name:"Yoruba",nativeName:"Yorùbá"},za:{name:"Zhuang",nativeName:"Saɯ cueŋƅ"},zh:{name:"Chinese",nativeName:"中文"},zu:{name:"Zulu",nativeName:"isiZulu"}};e.default=r,t.exports=e.default},"./src/index.js":function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n("./node_modules/babel-runtime/core-js/object/keys.js"),i=r(o),a=n("./node_modules/babel-runtime/core-js/object/values.js"),s=r(a),u=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),c=r(u),f=n("./node_modules/babel-runtime/helpers/createClass.js"),l=r(f),h=n("./src/data.js"),p=r(h),d=function(){function t(){(0,c.default)(this,t)}return(0,l.default)(t,null,[{key:"getLanguages",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(function(e){return{code:e,name:t.getName(e),nativeName:t.getNativeName(e)}})}},{key:"getName",value:function(e){return t.validate(e)?p.default[e].name:""}},{key:"getAllNames",value:function(){return(0,s.default)(p.default).map(function(t){return t.name})}},{key:"getNativeName",value:function(e){return t.validate(e)?p.default[e].nativeName:""}},{key:"getAllNativeNames",value:function(){return(0,s.default)(p.default).map(function(t){return t.nativeName})}},{key:"getCode",value:function(t){var e=(0,i.default)(p.default).find(function(e){var n=p.default[e];return n.name.toLowerCase()===t.toLowerCase()||n.nativeName.toLowerCase()===t.toLowerCase()});return e||""}},{key:"getAllCodes",value:function(){return(0,i.default)(p.default)}},{key:"validate",value:function(t){return void 0!==p.default[t]}}]),t}();e.default=d,t.exports=e.default}})})},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){/*! - localForage -- Offline Storage, Improved - Version 1.7.3 - https://localforage.github.io/localForage - (c) 2013-2017 Mozilla, Apache License 2.0 - */ -!function(n){if("object"==typeof e&&"undefined"!=typeof t)t.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.localforage=n()}}(function(){return function t(e,n,r){function o(a,s){if(!n[a]){if(!e[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[a]={exports:{}};e[a][0].call(f.exports,function(t){var n=e[a][1][t];return o(n?n:t)},f,f.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a=43)}}).catch(function(){return!1})}function p(t){return"boolean"==typeof jt?wt.resolve(jt):h(t).then(function(t){return jt=t})}function d(t){var e=Ot[t.name],n={};n.promise=new wt(function(t,e){n.resolve=t,n.reject=e}),e.deferredOperations.push(n),e.dbReady?e.dbReady=e.dbReady.then(function(){return n.promise}):e.dbReady=n.promise}function v(t){var e=Ot[t.name],n=e.deferredOperations.pop();if(n)return n.resolve(),n.promise}function m(t,e){var n=Ot[t.name],r=n.deferredOperations.pop();if(r)return r.reject(e),r.promise}function y(t,e){return new wt(function(n,r){if(Ot[t.name]=Ot[t.name]||E(),t.db){if(!e)return n(t.db);d(t),t.db.close()}var o=[t.name];e&&o.push(t.version);var i=_t.open.apply(_t,o);e&&(i.onupgradeneeded=function(e){var n=i.result;try{n.createObjectStore(t.storeName),e.oldVersion<=1&&n.createObjectStore(xt)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+t.name+'" has been upgraded from version '+e.oldVersion+" to version "+e.newVersion+', but the storage "'+t.storeName+'" already exists.')}}),i.onerror=function(t){t.preventDefault(),r(i.error)},i.onsuccess=function(){n(i.result),v(t)}})}function g(t){return y(t,!1)}function b(t){return y(t,!0)}function _(t,e){if(!t.db)return!0;var n=!t.db.objectStoreNames.contains(t.storeName),r=t.versiont.db.version;if(r&&(t.version!==e&&console.warn('The database "'+t.name+"\" can't be downgraded from version "+t.db.version+" to version "+t.version+"."),t.version=t.db.version),o||n){if(n){var i=t.db.version+1;i>t.version&&(t.version=i)}return!0}return!1}function w(t){return new wt(function(e,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:t.type})},r.readAsBinaryString(t)})}function x(t){var e=l(atob(t.data));return a([e],{type:t.type})}function j(t){return t&&t.__local_forage_encoded_blob}function O(t){var e=this,n=e._initReady().then(function(){var t=Ot[e._dbInfo.name];if(t&&t.dbReady)return t.dbReady});return u(n,t,t),n}function k(t){d(t);for(var e=Ot[t.name],n=e.forages,r=0;r0&&(!t.db||"InvalidStateError"===o.name||"NotFoundError"===o.name))return wt.resolve().then(function(){if(!t.db||"NotFoundError"===o.name&&!t.db.objectStoreNames.contains(t.storeName)&&t.version<=t.db.version)return t.db&&(t.version=t.db.version+1),b(t)}).then(function(){return k(t).then(function(){S(t,e,n,r-1)})}).catch(n);n(o)}}function E(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function A(t){function e(){return wt.resolve()}var n=this,r={db:null};if(t)for(var o in t)r[o]=t[o];var i=Ot[r.name];i||(i=E(),Ot[r.name]=i),i.forages.push(n),n._initReady||(n._initReady=n.ready,n.ready=O);for(var a=[],s=0;s>4,f[u++]=(15&r)<<4|o>>2,f[u++]=(3&o)<<6|63&i;return c}function F(t){var e,n=new Uint8Array(t),r="";for(e=0;e>2],r+=Mt[(3&n[e])<<4|n[e+1]>>4],r+=Mt[(15&n[e+1])<<2|n[e+2]>>6],r+=Mt[63&n[e+2]];return n.length%3===2?r=r.substring(0,r.length-1)+"=":n.length%3===1&&(r=r.substring(0,r.length-2)+"=="),r}function z(t,e){var n="";if(t&&(n=qt.call(t)),t&&("[object ArrayBuffer]"===n||t.buffer&&"[object ArrayBuffer]"===qt.call(t.buffer))){var r,o=Tt;t instanceof ArrayBuffer?(r=t,o+=Lt):(r=t.buffer,"[object Int8Array]"===n?o+=Dt:"[object Uint8Array]"===n?o+=Rt:"[object Uint8ClampedArray]"===n?o+=$t:"[object Int16Array]"===n?o+=Bt:"[object Uint16Array]"===n?o+=zt:"[object Int32Array]"===n?o+=Ft:"[object Uint32Array]"===n?o+=Ut:"[object Float32Array]"===n?o+=Wt:"[object Float64Array]"===n?o+=Ht:e(new Error("Failed to get type for BinaryArray"))),e(o+F(r))}else if("[object Blob]"===n){var i=new FileReader;i.onload=function(){var n=Ct+t.type+"~"+F(this.result);e(Tt+It+n)},i.readAsArrayBuffer(t)}else try{e(JSON.stringify(t))}catch(n){console.error("Couldn't convert value into a JSON string: ",t),e(null,n)}}function U(t){if(t.substring(0,Pt)!==Tt)return JSON.parse(t);var e,n=t.substring(Yt),r=t.substring(Pt,Yt);if(r===It&&Nt.test(n)){var o=n.match(Nt);e=o[1],n=n.substring(o[0].length)}var i=B(n);switch(r){case Lt:return i;case It:return a([i],{type:e});case Dt:return new Int8Array(i);case Rt:return new Uint8Array(i);case $t:return new Uint8ClampedArray(i);case Bt:return new Int16Array(i);case zt:return new Uint16Array(i);case Ft:return new Int32Array(i);case Ut:return new Uint32Array(i);case Wt:return new Float32Array(i);case Ht:return new Float64Array(i);default:throw new Error("Unkown type: "+r)}}function W(t,e,n,r){t.executeSql("CREATE TABLE IF NOT EXISTS "+e.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function H(t){var e=this,n={db:null};if(t)for(var r in t)n[r]="string"!=typeof t[r]?t[r].toString():t[r];var o=new wt(function(t,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(t){return r(t)}n.db.transaction(function(o){W(o,n,function(){e._dbInfo=n,t()},function(t,e){r(e)})},r)});return n.serializer=Xt,o}function Y(t,e,n,r,o,i){t.executeSql(n,r,o,function(t,a){a.code===a.SYNTAX_ERR?t.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[e.storeName],function(t,s){s.rows.length?i(t,a):W(t,e,function(){t.executeSql(n,r,o,i)},i)},i):i(t,a)},i)}function q(t,e){var n=this;t=c(t);var r=new wt(function(e,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){Y(n,o,"SELECT * FROM "+o.storeName+" WHERE key = ? LIMIT 1",[t],function(t,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=o.serializer.deserialize(r)),e(r)},function(t,e){r(e)})})}).catch(r)});return s(r,e),r}function X(t,e){var n=this,r=new wt(function(e,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){Y(n,o,"SELECT * FROM "+o.storeName,[],function(n,r){for(var i=r.rows,a=i.length,s=0;s0)return void i(V.apply(o,[t,s,n,r-1]));a(e)}})})}).catch(a)});return s(i,n),i}function G(t,e,n){return V.apply(this,[t,e,n,1])}function K(t,e){var n=this;t=c(t);var r=new wt(function(e,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){Y(n,o,"DELETE FROM "+o.storeName+" WHERE key = ?",[t],function(){e()},function(t,e){r(e)})})}).catch(r)});return s(r,e),r}function Z(t){var e=this,n=new wt(function(t,n){e.ready().then(function(){var r=e._dbInfo;r.db.transaction(function(e){Y(e,r,"DELETE FROM "+r.storeName,[],function(){t()},function(t,e){n(e)})})}).catch(n)});return s(n,t),n}function J(t){var e=this,n=new wt(function(t,n){e.ready().then(function(){var r=e._dbInfo;r.db.transaction(function(e){Y(e,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],function(e,n){var r=n.rows.item(0).c;t(r)},function(t,e){n(e)})})}).catch(n)});return s(n,t),n}function Q(t,e){var n=this,r=new wt(function(e,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){Y(n,o,"SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[t+1],function(t,n){var r=n.rows.length?n.rows.item(0).key:null;e(r)},function(t,e){r(e)})})}).catch(r)});return s(r,e),r}function tt(t){var e=this,n=new wt(function(t,n){e.ready().then(function(){var r=e._dbInfo;r.db.transaction(function(e){Y(e,r,"SELECT key FROM "+r.storeName,[],function(e,n){for(var r=[],o=0;o '__WebKitDatabaseInfoTable__'",[],function(n,r){for(var o=[],i=0;i0}function st(t){var e=this,n={};if(t)for(var r in t)n[r]=t[r];return n.keyPrefix=ot(t,e._defaultConfig),at()?(e._dbInfo=n,n.serializer=Xt,wt.resolve()):wt.reject()}function ut(t){var e=this,n=e.ready().then(function(){for(var t=e._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(t)&&localStorage.removeItem(r)}});return s(n,t),n}function ct(t,e){var n=this;t=c(t);var r=n.ready().then(function(){var e=n._dbInfo,r=localStorage.getItem(e.keyPrefix+t);return r&&(r=e.serializer.deserialize(r)),r});return s(r,e),r}function ft(t,e){var n=this,r=n.ready().then(function(){for(var e=n._dbInfo,r=e.keyPrefix,o=r.length,i=localStorage.length,a=1,s=0;s=0;e--){var n=localStorage.key(e);0===n.indexOf(t)&&localStorage.removeItem(n)}}):wt.reject("Invalid arguments"),s(r,e),r}function yt(t,e){t[e]=function(){var n=arguments;return t.ready().then(function(){return t[e].apply(t,n)})}}function gt(){for(var t=1;t2?n[a-2]:void 0,u=a>2?n[2]:void 0,c=a>1?n[a-1]:void 0;for("function"==typeof s?(s=o(s,c,5),a-=2):(s="function"==typeof c?c:void 0,a-=s?1:0),u&&i(n[0],n[1],u)&&(s=a<3?void 0:s,a=1);++r-1&&t%1==0&&t-1&&t%1==0&&t<=c}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var u=/^\d+$/,c=9007199254740991,f=n("length");t.exports=i},function(t,e,n){function r(t){return!!t&&"object"==typeof t}function o(t,e){return a(t,e,u)}function i(t){var e;if(!r(t)||h.call(t)!=c||s(t)||!l.call(t,"constructor")&&(e=t.constructor, -"function"==typeof e&&!(e instanceof e)))return!1;var n;return o(t,function(t,e){n=e}),void 0===n||l.call(t,n)}var a=n(515),s=n(79),u=n(178),c="[object Object]",f=Object.prototype,l=f.hasOwnProperty,h=f.toString;t.exports=i},function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function r(t){return!!t&&"object"==typeof t}function o(t){return r(t)&&n(t.length)&&!!C[T.call(t)]}var i=9007199254740991,a="[object Arguments]",s="[object Array]",u="[object Boolean]",c="[object Date]",f="[object Error]",l="[object Function]",h="[object Map]",p="[object Number]",d="[object Object]",v="[object RegExp]",m="[object Set]",y="[object String]",g="[object WeakMap]",b="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",j="[object Int8Array]",O="[object Int16Array]",k="[object Int32Array]",S="[object Uint8Array]",E="[object Uint8ClampedArray]",A="[object Uint16Array]",M="[object Uint32Array]",C={};C[w]=C[x]=C[j]=C[O]=C[k]=C[S]=C[E]=C[A]=C[M]=!0,C[a]=C[s]=C[b]=C[u]=C[_]=C[c]=C[f]=C[l]=C[h]=C[p]=C[d]=C[v]=C[m]=C[y]=C[g]=!1;var N=Object.prototype,T=N.toString;t.exports=o},function(t,e,n){function r(t){return function(e){return null==e?void 0:e[t]}}function o(t){return null!=t&&a(g(t))}function i(t,e){return t="number"==typeof t||p.test(t)?+t:-1,e=null==e?y:e,t>-1&&t%1==0&&t-1&&t%1==0&&t<=y}function s(t){for(var e=c(t),n=e.length,r=n&&t.length,o=!!r&&a(r)&&(h(t)||l(t)),s=-1,u=[];++s0;++r-1&&t%1==0&&t<=b}function c(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var f=n(512),l=n(513),h=n(517),p=n(79),d=n(121),v=n(520),m=n(521),y=n(522),g=n(525),b=9007199254740991,_=a("length"),w=h(o);t.exports=w},function(t,e){function n(t,e){if("function"!=typeof t)throw new TypeError(r);return e=o(void 0===e?t.length-1:+e||0,0),function(){for(var n=arguments,r=-1,i=o(n.length-e,0),a=Array(i);++r-1}var o=n(86);t.exports=r},function(t,e){function n(t,e,n){for(var r=-1,o=null==t?0:t.length;++re}t.exports=n},function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},function(t,e,n){function r(t){return i(t)&&o(t)==a}var o=n(31),i=n(16),a="[object Arguments]";t.exports=r},function(t,e,n){function r(t,e,n,r,m,g){var b=c(t),_=c(e),w=b?d:u(t),x=_?d:u(e);w=w==p?v:w,x=x==p?v:x;var j=w==v,O=x==v,k=w==x;if(k&&f(t)){if(!f(e))return!1;b=!0,j=!1}if(k&&!j)return g||(g=new o),b||l(t)?i(t,e,n,r,m,g):a(t,e,w,n,r,m,g);if(!(n&h)){var S=j&&y.call(t,"__wrapped__"),E=O&&y.call(e,"__wrapped__");if(S||E){var A=S?t.value():t,M=E?e.value():e;return g||(g=new o),m(A,M,n,r,g)}}return!!k&&(g||(g=new o),s(t,e,n,r,m,g))}var o=n(81),i=n(206),a=n(589),s=n(590),u=n(64),c=n(4),f=n(69),l=n(95),h=1,p="[object Arguments]",d="[object Array]",v="[object Object]",m=Object.prototype,y=m.hasOwnProperty;t.exports=r},function(t,e,n){function r(t){return i(t)&&o(t)==a}var o=n(64),i=n(16),a="[object Map]";t.exports=r},function(t,e,n){function r(t,e,n,r){var u=n.length,c=u,f=!r;if(null==t)return!c;for(t=Object(t);u--;){var l=n[u];if(f&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++u-1;);return n}var o=n(86);t.exports=r},function(t,e,n){function r(t,e){for(var n=-1,r=t.length;++n-1;);return n}var o=n(86);t.exports=r},function(t,e,n){function r(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var o=n(127);t.exports=r},function(t,e){function n(t){var e=new t.constructor(t.source,r.exec(t));return e.lastIndex=t.lastIndex,e}var r=/\w*$/;t.exports=n},function(t,e,n){function r(t){return a?Object(a.call(t)):{}}var o=n(43),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;t.exports=r},function(t,e,n){function r(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t===t,a=o(t),s=void 0!==e,u=null===e,c=e===e,f=o(e);if(!u&&!f&&!a&&t>e||a&&s&&c&&!u&&!f||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!f&&t=u)return c;var f=n[r];return c*("desc"==f?-1:1)}}return t.index-e.index}var o=n(576);t.exports=r},function(t,e,n){function r(t,e){return o(t,i(t),e)}var o=n(63),i=n(129);t.exports=r},function(t,e,n){function r(t,e){return o(t,i(t),e)}var o=n(63),i=n(210);t.exports=r},function(t,e,n){var r=n(13),o=r["__core-js_shared__"];t.exports=o},function(t,e,n){function r(t){return o(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r-1?s[u?e[c]:c]:void 0}}var o=n(8),i=n(19),a=n(33);t.exports=r},function(t,e,n){var r=n(179),o=n(658),i=n(132),a=1/0,s=r&&1/i(new r([,-0]))[1]==a?function(t){return new r(t)}:o;t.exports=s},function(t,e,n){var r=n(195),o={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},i=r(o);t.exports=i},function(t,e,n){function r(t,e,n,r,o,j,k){switch(n){case x:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case w:return!(t.byteLength!=e.byteLength||!j(new i(t),new i(e)));case h:case p:case m:return a(+t,+e);case d:return t.name==e.name&&t.message==e.message;case y:case b:return t==e+"";case v:var S=u;case g:var E=r&f;if(S||(S=c),t.size!=e.size&&!E)return!1;var A=k.get(t);if(A)return A==e;r|=l,k.set(t,e);var M=s(S(t),S(e),r,o,j,k);return k.delete(t),M;case _:if(O)return O.call(t)==O.call(e)}return!1}var o=n(43),i=n(181),a=n(66),s=n(206),u=n(616),c=n(132),f=1,l=2,h="[object Boolean]",p="[object Date]",d="[object Error]",v="[object Map]",m="[object Number]",y="[object RegExp]",g="[object Set]",b="[object String]",_="[object Symbol]",w="[object ArrayBuffer]",x="[object DataView]",j=o?o.prototype:void 0,O=j?j.valueOf:void 0;t.exports=r},function(t,e,n){function r(t,e,n,r,a,u){var c=n&i,f=o(t),l=f.length,h=o(e),p=h.length;if(l!=p&&!c)return!1;for(var d=l;d--;){var v=f[d];if(!(c?v in e:s.call(e,v)))return!1}var m=u.get(t);if(m&&u.get(e))return m==e;var y=!0;u.set(t,e),u.set(e,t);for(var g=c;++d-1}var o=n(83);t.exports=r},function(t,e,n){function r(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var o=n(83);t.exports=r},function(t,e,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n(527),i=n(80),a=n(122);t.exports=r},function(t,e,n){function r(t){var e=o(this,t).delete(t);return this.size-=e?1:0,e}var o=n(89);t.exports=r},function(t,e,n){function r(t){return o(this,t).get(t)}var o=n(89);t.exports=r},function(t,e,n){function r(t){return o(this,t).has(t)}var o=n(89);t.exports=r},function(t,e,n){function r(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var o=n(89);t.exports=r},function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}t.exports=n},function(t,e,n){function r(t){var e=o(t,function(t){return n.size===i&&n.clear(),t}),n=e.cache;return e}var o=n(656),i=500;t.exports=r},function(t,e,n){var r=n(215),o=r(Object.keys,Object);t.exports=o},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e){function n(t){return o.call(t)}var r=Object.prototype,o=r.toString;t.exports=n},function(t,e,n){function r(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var r=arguments,a=-1,s=i(r.length-e,0),u=Array(s);++a0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;t.exports=n},function(t,e,n){function r(){this.__data__=new o,this.size=0}var o=n(80);t.exports=r},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function r(t,e){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length",""":'"',"'":"'"},i=r(o);t.exports=i},function(t,e){function n(t){return t.match(x)||[]}var r="\\ud800-\\udfff",o="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",a="\\u20d0-\\u20ff",s=o+i+a,u="\\ufe0e\\ufe0f",c="["+r+"]",f="["+s+"]",l="\\ud83c[\\udffb-\\udfff]",h="(?:"+f+"|"+l+")",p="[^"+r+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",v="[\\ud800-\\udbff][\\udc00-\\udfff]",m="\\u200d",y=h+"?",g="["+u+"]?",b="(?:"+m+"(?:"+[p,d,v].join("|")+")"+g+y+")*",_=g+y+b,w="(?:"+[p+f+"?",f,d,v,c].join("|")+")",x=RegExp(l+"(?="+l+")|"+w+_,"g");t.exports=n},function(t,e){function n(t){return t.match(U)||[]}var r="\\ud800-\\udfff",o="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",a="\\u20d0-\\u20ff",s=o+i+a,u="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",f="\\xac\\xb1\\xd7\\xf7",l="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",h="\\u2000-\\u206f",p=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",d="A-Z\\xc0-\\xd6\\xd8-\\xde",v="\\ufe0e\\ufe0f",m=f+l+h+p,y="['’]",g="["+m+"]",b="["+s+"]",_="\\d+",w="["+u+"]",x="["+c+"]",j="[^"+r+m+_+u+c+d+"]",O="\\ud83c[\\udffb-\\udfff]",k="(?:"+b+"|"+O+")",S="[^"+r+"]",E="(?:\\ud83c[\\udde6-\\uddff]){2}",A="[\\ud800-\\udbff][\\udc00-\\udfff]",M="["+d+"]",C="\\u200d",N="(?:"+x+"|"+j+")",T="(?:"+M+"|"+j+")",P="(?:"+y+"(?:d|ll|m|re|s|t|ve))?",L="(?:"+y+"(?:D|LL|M|RE|S|T|VE))?",I=k+"?",D="["+v+"]?",R="(?:"+C+"(?:"+[S,E,A].join("|")+")"+D+I+")*",$="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",B="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",F=D+I+R,z="(?:"+[w,E,A].join("|")+")"+F,U=RegExp([M+"?"+x+"+"+P+"(?="+[g,M,"$"].join("|")+")",T+"+"+L+"(?="+[g,M+N,"$"].join("|")+")",M+"?"+N+"+"+P,M+"+"+L,B,$,_,z].join("|"),"g");t.exports=n},function(t,e,n){var r=n(220),o=n(585),i=o(function(t,e,n){return e=e.toLowerCase(),t+(n?r(e):e)});t.exports=i},function(t,e,n){function r(t,e,n){e=(n?i(t,e,n):void 0===e)?1:u(a(e),0);var r=null==t?0:t.length;if(!r||e<1)return[];for(var c=0,f=0,l=Array(s(r/e));c=e||n<0||S&&r>=_}function p(){var t=i();return h(t)?d(t):void(x=setTimeout(p,l(t)))}function d(t){return x=void 0,E&&g?r(t):(g=b=void 0,w)}function v(){void 0!==x&&clearTimeout(x),O=0,g=j=b=x=void 0}function m(){return void 0===x?w:d(i())}function y(){var t=i(),n=h(t);if(g=arguments,b=this,j=t,n){if(void 0===x)return f(j);if(S)return x=setTimeout(p,e),r(j)}return void 0===x&&(x=setTimeout(p,e)),w}var g,b,_,w,x,j,O=0,k=!1,S=!1,E=!0;if("function"!=typeof t)throw new TypeError(s);return e=a(e)||0,o(n)&&(k=!!n.leading,S="maxWait"in n,_=S?u(a(n.maxWait)||0,e):_,E="trailing"in n?!!n.trailing:E),y.cancel=v,y.flush=m,y}var o=n(9),i=n(659),a=n(230),s="Expected a function",u=Math.max,c=Math.min;t.exports=r},function(t,e,n){function r(t){return t=i(t),t&&t.replace(a,o).replace(h,"")}var o=n(588),i=n(35),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s="\\u0300-\\u036f",u="\\ufe20-\\ufe2f",c="\\u20d0-\\u20ff",f=s+u+c,l="["+f+"]",h=RegExp(l,"g");t.exports=r},function(t,e,n){function r(t,e,n){var r=null==t?0:t.length;return r?(e=n||void 0===e?1:i(e),e=r-e,o(t,0,e<0?0:e)):[]}var o=n(44),i=n(34);t.exports=r},function(t,e,n){t.exports=n(648)},function(t,e,n){function r(t,e){var n=s(t)?o:i;return n(t,a(e))}var o=n(182),i=n(84),a=n(201),s=n(4);t.exports=r},function(t,e,n){function r(t,e){return null!=t&&i(t,e,o)}var o=n(543),i=n(594);t.exports=r},function(t,e){function n(t){return t&&t.length?t[0]:void 0}t.exports=n},function(t,e,n){function r(t,e,n,r){t=i(t)?t:u(t),n=n&&!r?s(n):0;var f=t.length;return n<0&&(n=c(f+n,0)),a(t)?n<=f&&t.indexOf(e,n)>-1:!!f&&o(t,e,n)>-1}var o=n(86),i=n(19),a=n(654),s=n(34),u=n(232),c=Math.max;t.exports=r},function(t,e,n){function r(t){return i(t)&&o(t)}var o=n(19),i=n(16);t.exports=r},function(t,e,n){var r=n(546),o=n(87),i=n(131),a=i&&i.isMap,s=a?o(a):r;t.exports=s},function(t,e,n){function r(t){if(!a(t)||o(t)!=s)return!1;var e=i(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&f.call(n)==h}var o=n(31),i=n(128),a=n(16),s="[object Object]",u=Function.prototype,c=Object.prototype,f=u.toString,l=c.hasOwnProperty,h=f.call(Object);t.exports=r},function(t,e,n){var r=n(550),o=n(87),i=n(131),a=i&&i.isSet,s=a?o(a):r;t.exports=s},function(t,e,n){function r(t){return"string"==typeof t||!i(t)&&a(t)&&o(t)==s}var o=n(31),i=n(4),a=n(16),s="[object String]";t.exports=r},function(t,e,n){function r(t,e){return t&&t.length?o(t,a(e,2),i):void 0}var o=n(186),i=n(542),a=n(8);t.exports=r},function(t,e,n){function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n(123),i="Expected a function";r.Cache=o,t.exports=r},function(t,e,n){function r(t,e){return t&&t.length?o(t,i(e,2),a):void 0}var o=n(186),i=n(8),a=n(553);t.exports=r},function(t,e){function n(){}t.exports=n},function(t,e,n){var r=n(13),o=function(){return r.Date.now()};t.exports=o},function(t,e,n){function r(t,e){return a(t,i(o(e)))}var o=n(8),i=n(225),a=n(661);t.exports=r},function(t,e,n){function r(t,e){if(null==t)return{};var n=o(s(t),function(t){return[t]});return e=i(e),a(t,n,function(t,n){return e(t,n[0])})}var o=n(61),i=n(8),a=n(559),s=n(209);t.exports=r},function(t,e,n){function r(t){return a(t)?o(s(t)):i(t)}var o=n(560),i=n(561),a=n(130),s=n(45);t.exports=r},function(t,e,n){function r(t,e){var n=[];if(!t||!t.length)return n;var r=-1,a=[],s=t.length;for(e=o(e,3);++r1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),o(t,r(e,1),[])});t.exports=s},function(t,e){function n(){return!1}t.exports=n},function(t,e,n){function r(t,e){if(t=a(t),t<1||t>s)return[];var n=u,r=c(t,u);e=i(e),t-=u;for(var f=o(r,e);++n0&&void 0!==arguments[0]?arguments[0]:this.timeout;if(this.joinedOnce)throw"tried to join multiple times. 'join' can only be called a single time per channel instance";return this.joinedOnce=!0,this.rejoin(t),this.joinPush}},{key:"onClose",value:function(t){this.on(p.close,t)}},{key:"onError",value:function(t){return this.on(p.error,function(e){return t(e)})}},{key:"on",value:function(t,e){var n=this.bindingRef++;return this.bindings.push({event:t,ref:n,callback:e}),n}},{key:"off",value:function(t,e){this.bindings=this.bindings.filter(function(n){return!(n.event===t&&(void 0===e||e===n.ref))})}},{key:"canPush",value:function(){return this.socket.isConnected()&&this.isJoined()}},{key:"push",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.timeout;if(!this.joinedOnce)throw"tried to push '".concat(t,"' to '").concat(this.topic,"' before joining. Use channel.join() before pushing events");var r=new y(this,t,function(){return e},n);return this.canPush()?r.send():(r.startTimeout(),this.pushBuffer.push(r)),r}},{key:"leave",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.timeout;this.state=h.leaving;var n=function(){t.socket.hasLogger()&&t.socket.log("channel","leave ".concat(t.topic)),t.trigger(p.close,"leave")},r=new y(this,p.leave,m({}),e);return r.receive("ok",function(){return n()}).receive("timeout",function(){return n()}),r.send(),this.canPush()||r.trigger("ok",{}),r}},{key:"onMessage",value:function(t,e,n){return e}},{key:"isLifecycleEvent",value:function(t){return d.indexOf(t)>=0}},{key:"isMember",value:function(t,e,n,r){return!(this.topic!==t||r&&r!==this.joinRef()&&this.isLifecycleEvent(e)&&(this.socket.hasLogger()&&this.socket.log("channel","dropping outdated message",{topic:t,event:e,payload:n,joinRef:r}),1))}},{key:"joinRef",value:function(){return this.joinPush.ref}},{key:"sendJoin",value:function(t){this.state=h.joining,this.joinPush.resend(t)}},{key:"rejoin",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.timeout;this.isLeaving()||this.sendJoin(t)}},{key:"trigger",value:function(t,e,n,r){var o=this.onMessage(t,e,n,r);if(e&&!o)throw"channel onMessage callbacks must return the payload, modified or unmodified";for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{};a(this,t),this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.channels=[],this.sendBuffer=[],this.ref=0,this.timeout=r.timeout||l,this.transport=r.transport||c.WebSocket||w,this.defaultEncoder=b.encode,this.defaultDecoder=b.decode,this.transport!==w?(this.encode=r.encode||this.defaultEncoder,this.decode=r.decode||this.defaultDecoder):(this.encode=this.defaultEncoder,this.decode=this.defaultDecoder),this.heartbeatIntervalMs=r.heartbeatIntervalMs||3e4,this.reconnectAfterMs=r.reconnectAfterMs||function(t){return[1e3,2e3,5e3,1e4][t-1]||1e4},this.logger=r.logger||null,this.longpollerTimeout=r.longpollerTimeout||2e4,this.params=m(r.params||{}),this.endPoint="".concat(e,"/").concat(v.websocket),this.heartbeatTimer=null,this.pendingHeartbeatRef=null,this.reconnectTimer=new O(function(){n.teardown(function(){return n.connect()})},this.reconnectAfterMs)}return u(t,[{key:"protocol",value:function(){return location.protocol.match(/^https/)?"wss":"ws"}},{key:"endPointURL",value:function(){var t=x.appendParams(x.appendParams(this.endPoint,this.params()),{vsn:"2.0.0"});return"/"!==t.charAt(0)?t:"/"===t.charAt(1)?"".concat(this.protocol(),":").concat(t):"".concat(this.protocol(),"://").concat(location.host).concat(t)}},{key:"disconnect",value:function(t,e,n){this.reconnectTimer.reset(),this.teardown(t,e,n)}},{key:"connect",value:function(t){var e=this;t&&(console&&console.log("passing params to connect is deprecated. Instead pass :params to the Socket constructor"),this.params=m(t)),this.conn||(this.conn=new this.transport(this.endPointURL()),this.conn.timeout=this.longpollerTimeout,this.conn.onopen=function(){return e.onConnOpen()},this.conn.onerror=function(t){return e.onConnError(t)},this.conn.onmessage=function(t){return e.onConnMessage(t)},this.conn.onclose=function(t){return e.onConnClose(t)})}},{key:"log",value:function(t,e,n){this.logger(t,e,n)}},{key:"hasLogger",value:function(){return null!==this.logger}},{key:"onOpen",value:function(t){this.stateChangeCallbacks.open.push(t)}},{key:"onClose",value:function(t){this.stateChangeCallbacks.close.push(t)}},{key:"onError",value:function(t){this.stateChangeCallbacks.error.push(t)}},{key:"onMessage",value:function(t){this.stateChangeCallbacks.message.push(t)}},{key:"onConnOpen",value:function(){this.hasLogger()&&this.log("transport","connected to ".concat(this.endPointURL())),this.flushSendBuffer(),this.reconnectTimer.reset(),this.resetHeartbeat(),this.resetChannelTimers(),this.stateChangeCallbacks.open.forEach(function(t){return t()})}},{key:"resetHeartbeat",value:function(){var t=this;this.conn.skipHeartbeat||(this.pendingHeartbeatRef=null,clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(function(){return t.sendHeartbeat()},this.heartbeatIntervalMs))}},{key:"teardown",value:function(t,e,n){this.conn&&(this.conn.onclose=function(){},e?this.conn.close(e,n||""):this.conn.close(),this.conn=null),t&&t()}},{key:"onConnClose",value:function(t){this.hasLogger()&&this.log("transport","close",t),this.triggerChanError(),clearInterval(this.heartbeatTimer),t&&1e3!==t.code&&this.reconnectTimer.scheduleTimeout(),this.stateChangeCallbacks.close.forEach(function(e){return e(t)})}},{key:"onConnError",value:function(t){this.hasLogger()&&this.log("transport",t),this.triggerChanError(),this.stateChangeCallbacks.error.forEach(function(e){return e(t)})}},{key:"triggerChanError",value:function(){this.channels.forEach(function(t){return t.trigger(p.error)})}},{key:"connectionState",value:function(){switch(this.conn&&this.conn.readyState){case f.connecting:return"connecting";case f.open:return"open";case f.closing:return"closing";default:return"closed"}}},{key:"isConnected",value:function(){return"open"===this.connectionState()}},{key:"remove",value:function(t){this.channels=this.channels.filter(function(e){return e.joinRef()!==t.joinRef()})}},{key:"channel",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new g(t,e,this);return this.channels.push(n),n}},{key:"push",value:function(t){var e=this;if(this.hasLogger()){var n=t.topic,r=t.event,o=t.payload,i=t.ref,a=t.join_ref;this.log("push","".concat(n," ").concat(r," (").concat(a,", ").concat(i,")"),o)}this.isConnected()?this.encode(t,function(t){return e.conn.send(t)}):this.sendBuffer.push(function(){return e.encode(t,function(t){return e.conn.send(t)})})}},{key:"makeRef",value:function(){var t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}},{key:"sendHeartbeat",value:function(){if(this.isConnected()){if(this.pendingHeartbeatRef)return this.pendingHeartbeatRef=null,this.hasLogger()&&this.log("transport","heartbeat timeout. Attempting to re-establish connection"),void this.conn.close(1e3,"hearbeat timeout");this.pendingHeartbeatRef=this.makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef})}}},{key:"flushSendBuffer",value:function(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(function(t){return t()}),this.sendBuffer=[])}},{key:"onConnMessage",value:function(t){var e=this;this.decode(t.data,function(t){var n=t.topic,r=t.event,o=t.payload,i=t.ref,a=t.join_ref;i&&i===e.pendingHeartbeatRef&&(e.pendingHeartbeatRef=null),e.hasLogger()&&e.log("receive","".concat(o.status||""," ").concat(n," ").concat(r," ").concat(i&&"("+i+")"||""),o);for(var s=0;s1&&void 0!==arguments[1]?arguments[1]:{};a(this,t);var o=r.events||{state:"presence_state",diff:"presence_diff"};this.state={},this.pendingDiffs=[],this.channel=e,this.joinRef=null,this.caller={onJoin:function(){},onLeave:function(){},onSync:function(){}},this.channel.on(o.state,function(e){var r=n.caller,o=r.onJoin,i=r.onLeave,a=r.onSync;n.joinRef=n.channel.joinRef(),n.state=t.syncState(n.state,e,o,i),n.pendingDiffs.forEach(function(e){n.state=t.syncDiff(n.state,e,o,i)}),n.pendingDiffs=[],a()}),this.channel.on(o.diff,function(e){var r=n.caller,o=r.onJoin,i=r.onLeave,a=r.onSync;n.inPendingSyncState()?n.pendingDiffs.push(e):(n.state=t.syncDiff(n.state,e,o,i),a())})}return u(t,[{key:"onJoin",value:function(t){this.caller.onJoin=t}},{key:"onLeave",value:function(t){this.caller.onLeave=t}},{key:"onSync",value:function(t){this.caller.onSync=t}},{key:"list",value:function(e){return t.list(this.state,e)}},{key:"inPendingSyncState",value:function(){return!this.joinRef||this.joinRef!==this.channel.joinRef()}}],[{key:"syncState",value:function(t,e,n,r){var o=this,i=this.clone(t),a={},s={};return this.map(i,function(t,n){e[t]||(s[t]=n)}),this.map(e,function(t,e){var n=i[t];if(n){var r=e.metas.map(function(t){return t.phx_ref}),u=n.metas.map(function(t){return t.phx_ref}),c=e.metas.filter(function(t){return u.indexOf(t.phx_ref)<0}),f=n.metas.filter(function(t){return r.indexOf(t.phx_ref)<0});c.length>0&&(a[t]=e,a[t].metas=c),f.length>0&&(s[t]=o.clone(n),s[t].metas=f)}else a[t]=e}),this.syncDiff(i,{joins:a,leaves:s},n,r)}},{key:"syncDiff",value:function(t,e,n,o){var i=e.joins,a=e.leaves,s=this.clone(t);return n||(n=function(){}),o||(o=function(){}),this.map(i,function(t,e){var o=s[t];if(s[t]=e,o){var i,a=s[t].metas.map(function(t){return t.phx_ref}),u=o.metas.filter(function(t){return a.indexOf(t.phx_ref)<0});(i=s[t].metas).unshift.apply(i,r(u))}n(t,o,e)}),this.map(a,function(t,e){var n=s[t];if(n){var r=e.metas.map(function(t){return t.phx_ref});n.metas=n.metas.filter(function(t){return r.indexOf(t.phx_ref)<0}),o(t,n,e),0===n.metas.length&&delete s[t]}}),s}},{key:"list",value:function(t,e){return e||(e=function(t,e){return e}),this.map(t,function(t,n){return e(t,n)})}},{key:"map",value:function(t,e){return Object.getOwnPropertyNames(t).map(function(n){return e(n,t[n])})}},{key:"clone",value:function(t){return JSON.parse(JSON.stringify(t))}}]),t}(),O=function(){function t(e,n){a(this,t),this.callback=e,this.timerCalc=n,this.timer=null,this.tries=0}return u(t,[{key:"reset",value:function(){this.tries=0,this.clearTimer()}},{key:"restart",value:function(){var t=null!==this.timer;this.reset(),t&&this.scheduleTimeout()}},{key:"scheduleTimeout",value:function(){var t=this;this.clearTimer(),this.timer=setTimeout(function(){t.tries=t.tries+1,t.callback()},this.timerCalc(this.tries+1))}},{key:"clearTimer",value:function(){clearTimeout(this.timer),this.timer=null}}]),t}()}])})},function(t,e,n){(function(e){/**! - * @fileOverview Kickass library to create and place poppers near their reference elements. - * @version 1.14.7 - * @license - * Copyright (c) 2016 Federico Zivolo and contributors - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ -!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function n(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},lt))}}function r(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function o(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView,r=n.getComputedStyle(t,null);return e?r[e]:r}function i(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function a(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=o(t),n=e.overflow,r=e.overflowX,s=e.overflowY;return/(auto|scroll|overlay)/.test(n+s+r)?t:a(i(t))}function s(t){return 11===t?vt:10===t?mt:vt||mt}function u(t){if(!t)return document.documentElement;for(var e=s(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&"static"===o(n,"position")?u(n):n:t?t.ownerDocument.documentElement:document.documentElement}function c(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||u(t.firstElementChild)===t)}function f(t){return null!==t.parentNode?f(t.parentNode):t}function l(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(t!==a&&e!==a||r.contains(o))return c(a)?a:u(a);var s=f(t);return s.host?l(s.host,e):l(t,f(e).host)}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}return t[n]}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(e,"top"),o=h(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function d(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function v(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],s(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function m(t){var e=t.body,n=t.documentElement,r=s(10)&&getComputedStyle(n);return{height:v("Height",e,n,r),width:v("Width",e,n,r)}}function y(t){return _t({},t,{right:t.left+t.width,bottom:t.top+t.height})}function g(t){var e={};try{if(s(10)){e=t.getBoundingClientRect();var n=h(t,"top"),r=h(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},a="HTML"===t.nodeName?m(t.ownerDocument):{},u=a.width||t.clientWidth||i.right-i.left,c=a.height||t.clientHeight||i.bottom-i.top,f=t.offsetWidth-u,l=t.offsetHeight-c;if(f||l){var p=o(t);f-=d(p,"x"),l-=d(p,"y"),i.width-=f,i.height-=l}return y(i)}function b(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=s(10),i="HTML"===e.nodeName,u=g(t),c=g(e),f=a(t),l=o(e),h=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);n&&i&&(c.top=Math.max(c.top,0),c.left=Math.max(c.left,0));var v=y({top:u.top-c.top-h,left:u.left-c.left-d,width:u.width,height:u.height});if(v.marginTop=0,v.marginLeft=0,!r&&i){var m=parseFloat(l.marginTop,10),b=parseFloat(l.marginLeft,10);v.top-=h-m,v.bottom-=h-m,v.left-=d-b,v.right-=d-b,v.marginTop=m,v.marginLeft=b}return(r&&!n?e.contains(f):e===f&&"BODY"!==f.nodeName)&&(v=p(v,e)),v}function _(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=b(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:h(n),s=e?0:h(n,"left"),u={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return y(u)}function w(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===o(t,"position"))return!0;var n=i(t);return!!n&&w(n)}function x(t){if(!t||!t.parentElement||s())return document.documentElement;for(var e=t.parentElement;e&&"none"===o(e,"transform");)e=e.parentElement;return e||document.documentElement}function j(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},u=o?x(t):l(t,e);if("viewport"===r)s=_(u,o);else{var c=void 0;"scrollParent"===r?(c=a(i(e)),"BODY"===c.nodeName&&(c=t.ownerDocument.documentElement)):c="window"===r?t.ownerDocument.documentElement:r;var f=b(c,u,o);if("HTML"!==c.nodeName||w(u))s=f;else{var h=m(t.ownerDocument),p=h.height,d=h.width;s.top+=f.top-f.marginTop,s.bottom=p+f.top,s.left+=f.left-f.marginLeft,s.right=d+f.left}}n=n||0;var v="number"==typeof n;return s.left+=v?n:n.left||0,s.top+=v?n:n.top||0,s.right-=v?n:n.right||0,s.bottom-=v?n:n.bottom||0,s}function O(t){var e=t.width,n=t.height;return e*n}function k(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(t.indexOf("auto")===-1)return t;var a=j(n,r,i,o),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(s).map(function(t){return _t({key:t},s[t],{area:O(s[t])})}).sort(function(t,e){return e.area-t.area}),c=u.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),f=c.length>0?c[0].key:u[0].key,l=t.split("-")[1];return f+(l?"-"+l:"")}function S(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?x(e):l(e,n);return b(n,o,r)}function E(t){var e=t.ownerDocument.defaultView,n=e.getComputedStyle(t),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),i={width:t.offsetWidth+o,height:t.offsetHeight+r};return i}function A(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function M(t,e,n){n=n.split("-")[0];var r=E(t),o={width:r.width,height:r.height},i=["right","left"].indexOf(n)!==-1,a=i?"top":"left",s=i?"left":"top",u=i?"height":"width",c=i?"width":"height";return o[a]=e[a]+e[u]/2-r[u]/2,n===s?o[s]=e[s]-r[c]:o[s]=e[A(s)],o}function C(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function N(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=C(t,function(t){return t[e]===n});return t.indexOf(r)}function T(t,e,n){var o=void 0===n?t:t.slice(0,N(t,"name",n));return o.forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&r(n)&&(e.offsets.popper=y(e.offsets.popper),e.offsets.reference=y(e.offsets.reference),e=n(e,t))}),e}function P(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=S(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=k(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=M(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=T(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function L(t,e){return t.some(function(t){var n=t.name,r=t.enabled;return r&&n===e})}function I(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;rs[d]&&(t.offsets.popper[h]+=u[h]+v-s[d]),t.offsets.popper=y(t.offsets.popper);var m=u[h]+u[f]/2-v/2,g=o(t.instance.popper),b=parseFloat(g["margin"+l],10),_=parseFloat(g["border"+l+"Width"],10),w=m-t.offsets.popper[h]-b-_;return w=Math.max(Math.min(s[f]-v,w),0),t.arrowElement=r,t.offsets.arrow=(n={},bt(n,h,Math.round(w)),bt(n,p,""),n),t}function J(t){return"end"===t?"start":"start"===t?"end":t}function Q(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=jt.indexOf(t),r=jt.slice(n+1).concat(jt.slice(0,n));return e?r.reverse():r}function tt(t,e){if(L(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=j(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=A(r),i=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case Ot.FLIP:a=[r,o];break;case Ot.CLOCKWISE:a=Q(r);break;case Ot.COUNTERCLOCKWISE:a=Q(r,!0);break;default:a=e.behavior}return a.forEach(function(s,u){if(r!==s||a.length===u+1)return t;r=t.placement.split("-")[0],o=A(r);var c=t.offsets.popper,f=t.offsets.reference,l=Math.floor,h="left"===r&&l(c.right)>l(f.left)||"right"===r&&l(c.left)l(f.top)||"bottom"===r&&l(c.top)l(n.right),v=l(c.top)l(n.bottom),y="left"===r&&p||"right"===r&&d||"top"===r&&v||"bottom"===r&&m,g=["top","bottom"].indexOf(r)!==-1,b=!!e.flipVariations&&(g&&"start"===i&&p||g&&"end"===i&&d||!g&&"start"===i&&v||!g&&"end"===i&&m);(h||y||b)&&(t.flipped=!0,(h||y)&&(r=a[u+1]),b&&(i=J(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=_t({},t.offsets.popper,M(t.instance.popper,t.offsets.reference,t.placement)),t=T(t.instance.modifiers,t,"flip"))}),t}function et(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,a=["top","bottom"].indexOf(o)!==-1,s=a?"right":"bottom",u=a?"left":"top",c=a?"width":"height";return n[s]i(r[s])&&(t.offsets.popper[u]=i(r[s])),t}function nt(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}var u=y(s);return u[e]/100*i}if("vh"===a||"vw"===a){var c=void 0;return c="vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),c/100*i}return i}function rt(t,e,n,r){var o=[0,0],i=["right","left"].indexOf(r)!==-1,a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(C(a,function(t){return t.search(/,|\s/)!==-1}));a[s]&&a[s].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=s!==-1?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return c=c.map(function(t,r){var o=(1===r?!i:i)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&["+","-"].indexOf(e)!==-1?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return nt(t,o,e,n)})}),c.forEach(function(t,e){t.forEach(function(n,r){W(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))})}),o}function ot(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],u=void 0;return u=W(+n)?[+n,0]:rt(n,i,a,s),"left"===s?(i.top+=u[0],i.left-=u[1]):"right"===s?(i.top+=u[0],i.left+=u[1]):"top"===s?(i.left+=u[0],i.top-=u[1]):"bottom"===s&&(i.left+=u[0],i.top+=u[1]),t.popper=i,t}function it(t,e){var n=e.boundariesElement||u(t.instance.popper);t.instance.reference===n&&(n=u(n));var r=I("transform"),o=t.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var c=j(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=i,o.left=a,o[r]=s,e.boundaries=c;var f=e.priority,l=t.offsets.popper,h={primary:function(t){var n=l[t];return l[t]c[t]&&!e.escapeWithReference&&(r=Math.min(l[n],c[t]-("right"===t?l.width:l.height))),bt({},n,r)}};return f.forEach(function(t){var e=["left","top"].indexOf(t)!==-1?"primary":"secondary";l=_t({},l,h[e](t))}),t.offsets.popper=l,t}function at(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,s=["bottom","top"].indexOf(n)!==-1,u=s?"left":"top",c=s?"width":"height",f={start:bt({},u,i[u]),end:bt({},u,i[u]+i[c]-a[c])};t.offsets.popper=_t({},a,f[r])}return t}function st(t){if(!K(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=C(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right=0){lt=1;break}var pt=ct&&window.Promise,dt=pt?t:n,vt=ct&&!(!window.MSInputMethodContext||!document.documentMode),mt=ct&&/MSIE 10/.test(navigator.userAgent),yt=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},gt=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{};yt(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=dt(this.update.bind(this)),this.options=_t({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(_t({},t.Defaults.modifiers,i.modifiers)).forEach(function(e){o.options.modifiers[e]=_t({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return _t({name:t},o.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&r(t.onLoad)&&t.onLoad(o.reference,o.popper,o.options,t,o.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return gt(t,[{key:"update",value:function(){return P.call(this)}},{key:"destroy",value:function(){return D.call(this)}},{key:"enableEventListeners",value:function(){return F.call(this)}},{key:"disableEventListeners",value:function(){return U.call(this)}}]),t}();return Et.Utils=("undefined"!=typeof window?window:e).PopperUtils,Et.placements=xt,Et.Defaults=St,Et})}).call(e,function(){return this}())},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function a(){v&&p&&(v=!1,p.length?d=p.concat(d):m=-1,d.length&&s())}function s(){if(!v){var t=o(a);v=!0;for(var e=d.length;e;){for(p=d,d=[];++m1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:{};return!!navigator.serviceWorker&&navigator.serviceWorker.register(n.scriptURL,t)}},t.exports=e.default},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(681),e.setImmediate="undefined"!=typeof self&&self.setImmediate||"undefined"!=typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||"undefined"!=typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(e,function(){return this}())},,function(t,e,n){!function(e,n){t.exports=n()}(this,function(){function t(t){var e="function"==typeof t;if(!e&&"object"!=typeof t)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:e?t:t.handler,middleware:t.middleware||s,events:t.events||a,isActive:!(!1===t.isActive)}}function e(t){var e=t.el,n=t.event,r=t.handler,o=t.middleware;n.target!==e&&!e.contains(n.target)&&o(n,e)&&r(n,e)}function n(t){var n=t.el,r=t.handler,o=t.middleware;return{el:n,eventHandlers:t.events.map(function(t){return{event:t,handler:function(t){return e({event:t,el:n,handler:r,middleware:o})}}})}}function r(t){var e=u.instances.findIndex(function(e){return e.el===t});-1!==e&&(u.instances[e].eventHandlers.forEach(function(t){return document.removeEventListener(t.event,t.handler)}),u.instances.splice(e,1))}var o="undefined"!=typeof window,i="undefined"!=typeof navigator,a=o&&("ontouchstart"in window||i&&navigator.msMaxTouchPoints>0)?["touchstart","click"]:["click"],s=function(t){return t},u={instances:[]};return u.bind=function(e,r){var o=t(r.value);if(o.isActive){var i=n({el:e,events:o.events,handler:o.handler,middleware:o.middleware});i.eventHandlers.forEach(function(t){return setTimeout(document.addEventListener,0,t.event,t.handler)}),u.instances.push(i)}},u.update=function(o,i){var a=t(i.value),s=a.events,c=a.handler,f=a.middleware;if(a.isActive){var l=u.instances.find(function(t){return t.el===o});l?(l.eventHandlers.forEach(function(t){return document.removeEventListener(t.event,t.handler)}),l.eventHandlers=s.map(function(t){return{event:t,handler:function(t){return e({event:t,el:o,handler:c,middleware:f})}}})):(l=n({el:o,events:s,handler:c,middleware:f}),u.instances.push(l)),l.eventHandlers.forEach(function(t){return setTimeout(document.addEventListener,0,t.event,t.handler)})}else r(o)},u.unbind=r,{install:function(t){t.directive("click-outside",u)},directive:u}})},function(t,e,n){!function(e,n){t.exports=n()}(this,function(){"use strict";var t=function(t,e){"function"==typeof t.scroll?t.scroll({top:t.scrollHeight,behavior:e?"smooth":"instant"}):t.scrollTop=t.scrollHeight},e={bind:function(e,n){var r=!1;e.addEventListener("scroll",function(t){r=e.scrollTop+e.clientHeight+11?1:0:1}function c(t,e){return t=Math.abs(t),2===e?u(t):t?Math.min(t,2):0}function f(t,e){if(!t&&"string"!=typeof t)return null;var n=t.split("|");return e=c(e,n.length),n[e]?n[e].trim():t}function l(t){return JSON.parse(JSON.stringify(t))}function h(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function p(t,e){return R.call(t,e)}function d(t){for(var e=arguments,n=Object(t),r=1;r0;)n[r]=arguments[r+1];var o=t.$i18n;return o._t.apply(o,[e,o.locale,o._getMessages(),t].concat(n))}}}),Object.defineProperty(t.prototype,"$tc",{get:function(){var t=this;return function(e,n){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];var i=t.$i18n;return i._tc.apply(i,[e,i.locale,i._getMessages(),t,n].concat(r))}}}),Object.defineProperty(t.prototype,"$te",{get:function(){var t=this;return function(e,n){var r=t.$i18n;return r._te(e,r.locale,r._getMessages(),n)}}}),Object.defineProperty(t.prototype,"$d",{get:function(){var t=this;return function(e){for(var n,r=[],o=arguments.length-1;o-- >0;)r[o]=arguments[o+1];return(n=t.$i18n).d.apply(n,[e].concat(r))}}}),Object.defineProperty(t.prototype,"$n",{get:function(){var t=this;return function(e){for(var n,r=[],o=arguments.length-1;o-- >0;)r[o]=arguments[o+1];return(n=t.$i18n).n.apply(n,[e].concat(r))}}})}function y(t,e,n){_(t,n)&&x(t,e,n)}function g(t,e,n,r){_(t,n)&&(w(t,n)&&v(e.value,e.oldValue)||x(t,e,n))}function b(t,e,n,r){_(t,n)&&(t.textContent="",t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale)}function _(t,e){var n=e.context;return n?!!n.$i18n||(r("not exist VueI18n instance in Vue instance"),!1):(r("not exist Vue instance in VNode context"),!1)}function w(t,e){var n=e.context;return t._locale===n.$i18n.locale}function x(t,e,n){var o,i,a=e.value,s=j(a),u=s.path,c=s.locale,f=s.args,l=s.choice;if(!u&&!c&&!f)return void r("not support value type");if(!u)return void r("required `path` in v-t directive");var h=n.context;l?t._vt=t.textContent=(o=h.$i18n).tc.apply(o,[u,l].concat(O(c,f))):t._vt=t.textContent=(i=h.$i18n).t.apply(i,[u].concat(O(c,f))),t._locale=h.$i18n.locale}function j(t){var e,n,r,o;return"string"==typeof t?e=t:i(t)&&(e=t.path,n=t.locale,r=t.args,o=t.choice),{path:e,locale:n,args:r,choice:o}}function O(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||i(e))&&n.push(e),n}function k(t){L=t;L.version&&Number(L.version.split(".")[0])||-1;k.installed=!0,Object.defineProperty(L.prototype,"$i18n",{get:function(){return this._i18n}}),m(L),L.mixin(F),L.directive("t",{bind:y,update:g,unbind:b}),L.component(z.name,z);var e=L.config.optionMergeStrategies;e.i18n=e.methods}function S(t){for(var e=[],n=0,r="";n=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function N(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(A(e)?M(e):"*"+e)}function T(t){function e(){var e=t[f+1];if(l===tt&&"'"===e||l===et&&'"'===e)return f++,o="\\"+e,p[Y](),!0}var n,r,o,i,a,s,u,c=[],f=-1,l=G,h=0,p=[];for(p[q]=function(){void 0!==r&&(c.push(r),r=void 0)},p[Y]=function(){void 0===r?r=o:r+=o},p[X]=function(){p[Y](),h++},p[V]=function(){if(h>0)h--,l=Q,p[Y]();else{if(h=0,r=N(r),r===!1)return!1;p[q]()}};null!==l;)if(f++,n=t[f],"\\"!==n||!e()){if(i=C(n),u=ot[l],a=u[i]||u.else||rt,a===rt)return;if(l=a[0],s=p[a[1]],s&&(o=a[2],o=void 0===o?n:o,s()===!1))return;if(l===nt)return c}}function P(t){return!!Array.isArray(t)&&0===t.length}var L,I=Object.prototype.toString,D="[object Object]",R=Object.prototype.hasOwnProperty,$="undefined"!=typeof Intl&&"undefined"!=typeof Intl.DateTimeFormat,B="undefined"!=typeof Intl&&"undefined"!=typeof Intl.NumberFormat,F={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n){if(t.i18n instanceof ut){if(t.__i18n)try{var e={};t.__i18n.forEach(function(t){e=d(e,JSON.parse(t))}),Object.keys(e).forEach(function(n){t.i18n.mergeLocaleMessage(n,e[n])})}catch(t){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData(),this._i18n.subscribeDataChanging(this),this._subscribing=!0}else if(i(t.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ut&&(t.i18n.root=this.$root.$i18n,t.i18n.formatter=this.$root.$i18n.formatter,t.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,t.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn),t.__i18n)try{var n={};t.__i18n.forEach(function(t){n=d(n,JSON.parse(t))}),t.i18n.messages=n}catch(t){}this._i18n=new ut(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),this._i18n.subscribeDataChanging(this),this._subscribing=!0,(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof ut?(this._i18n=this.$root.$i18n,this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof ut&&(this._i18n=t.parent.$i18n,this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){this._i18n&&(this._subscribing&&(this._i18n.unsubscribeDataChanging(this),delete this._subscribing),this._i18nWatcher&&(this._i18nWatcher(),delete this._i18nWatcher),this._localeWatcher&&(this._localeWatcher(),delete this._localeWatcher),this._i18n=null)}},z={name:"i18n",functional:!0,props:{tag:{type:String,default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.props,o=e.data,i=e.children,a=e.parent,s=a.$i18n;if(i=(i||[]).filter(function(t){return t.tag||(t.text=t.text.trim())}),!s)return i;var u=n.path,c=n.locale,f={},l=n.places||{},h=Array.isArray(l)?l.length>0:Object.keys(l).length>0,p=i.every(function(t){if(t.data&&t.data.attrs){var e=t.data.attrs.place;return"undefined"!=typeof e&&""!==e}});return h&&i.length>0&&!p&&r("If places prop is set, all child elements must have place prop set."),Array.isArray(l)?l.forEach(function(t,e){f[e]=t}):Object.keys(l).forEach(function(t){f[t]=l[t]}),i.forEach(function(t,e){var n=p?""+t.data.attrs.place:""+e;f[n]=t}),t(n.tag,o,s.i(u,c,f))}},U=function(){this._caches=Object.create(null)};U.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=S(t),this._caches[t]=n),E(n,e)};var W=/^(\d)+/,H=/^(\w)+/,Y=0,q=1,X=2,V=3,G=0,K=1,Z=2,J=3,Q=4,tt=5,et=6,nt=7,rt=8,ot=[];ot[G]={ws:[G],ident:[J,Y],"[":[Q],eof:[nt]},ot[K]={ws:[K],".":[Z],"[":[Q],eof:[nt]},ot[Z]={ws:[Z],ident:[J,Y],0:[J,Y],number:[J,Y]},ot[J]={ident:[J,Y],0:[J,Y],number:[J,Y],ws:[K,q],".":[Z,q],"[":[Q,q],eof:[nt,q]},ot[Q]={"'":[tt,Y],'"':[et,Y],"[":[Q,X],"]":[K,V],eof:rt,else:[Q,Y]},ot[tt]={"'":[Q,Y],eof:rt,else:[tt,Y]},ot[et]={'"':[Q,Y],eof:rt,else:[et,Y]};var it=/^\s?(true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/,at=function(){this._cache=Object.create(null)};at.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=T(t),e&&(this._cache[t]=e)),e||[]},at.prototype.getPathValue=function(t,e){if(!o(t))return null;var n=this.parsePath(e);if(P(n))return null;for(var r=n.length,i=null,a=t,s=0;s=0&&(c=this._link(t,e,c,r,o,s)),this._render(c,o,s)},ut.prototype._link=function(t,e,n,r,o,i){var a=this,s=n,u=s.match(/(@:[\w\-_|.]+)/g);for(var c in u)if(u.hasOwnProperty(c)){var f=u[c],l=f.substr(2),h=a._interpolate(t,e,l,r,"raw"===o?"string":o,"raw"===o?void 0:i);if(a._isFallbackRoot(h)){if(!a._root)throw Error("unexpected error");var p=a._root;h=p._translate(p._getMessages(),p.locale,p.fallbackLocale,l,r,o,i)}h=a._warnDefault(t,l,h,r,Array.isArray(i)?i:[i]),s=h?s.replace(f,h):s}return s},ut.prototype._render=function(t,e,n){var r=this._formatter.interpolate(t,n);return"string"===e?r.join(""):r},ut.prototype._translate=function(t,e,n,r,o,i,s){var u=this._interpolate(e,t[e],r,o,i,s);return a(u)?(u=this._interpolate(n,t[n],r,o,i,s),a(u)?null:u):u},ut.prototype._t=function(t,e,n,r){for(var o,i=[],a=arguments.length-4;a-- >0;)i[a]=arguments[a+4];if(!t)return"";var u=s.apply(void 0,i),c=u.locale||e,f=this._translate(n,c,this.fallbackLocale,t,r,"string",u.params);if(this._isFallbackRoot(f)){if(!this._root)throw Error("unexpected error");return(o=this._root).t.apply(o,[t].concat(i))}return this._warnDefault(c,t,f,r,i)},ut.prototype.t=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},ut.prototype._i=function(t,e,n,r,o){var i=this._translate(n,e,this.fallbackLocale,t,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.i(t,e,o)}return this._warnDefault(e,t,i,r,[o])},ut.prototype.i=function(t,e,n){return t?("string"!=typeof e&&(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},ut.prototype._tc=function(t,e,n,r,o){for(var i,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];return t?(void 0===o&&(o=1),f((i=this)._t.apply(i,[t,e,n,r].concat(a)),o)):""},ut.prototype.tc=function(t,e){for(var n,r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},ut.prototype._te=function(t,e,n){for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var i=s.apply(void 0,r).locale||e;return this._exist(n[i],t)},ut.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},ut.prototype.getLocaleMessage=function(t){return l(this._vm.messages[t]||{})},ut.prototype.setLocaleMessage=function(t,e){this._vm.$set(this._vm.messages,t,e)},ut.prototype.mergeLocaleMessage=function(t,e){this._vm.$set(this._vm.messages,t,L.util.extend(this._vm.messages[t]||{},e))},ut.prototype.getDateTimeFormat=function(t){return l(this._vm.dateTimeFormats[t]||{})},ut.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e)},ut.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,L.util.extend(this._vm.dateTimeFormats[t]||{},e))},ut.prototype._localizeDateTime=function(t,e,n,r,o){var i=e,s=r[i];if((a(s)||a(s[o]))&&(i=n,s=r[i]),a(s)||a(s[o]))return null;var u=s[o],c=i+"__"+o,f=this._dateTimeFormatters[c];return f||(f=this._dateTimeFormatters[c]=new Intl.DateTimeFormat(i,u)),f.format(t)},ut.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var r=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.d(t,n,e)}return r||""},ut.prototype.d=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.locale,i=null;return 1===e.length?"string"==typeof e[0]?i=e[0]:o(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(i=e[0].key)):2===e.length&&("string"==typeof e[0]&&(i=e[0]),"string"==typeof e[1]&&(r=e[1])),this._d(t,r,i)},ut.prototype.getNumberFormat=function(t){return l(this._vm.numberFormats[t]||{})},ut.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e)},ut.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,L.util.extend(this._vm.numberFormats[t]||{},e))},ut.prototype._localizeNumber=function(t,e,n,r,o,i){var s=e,u=r[s];if((a(u)||a(u[o]))&&(s=n,u=r[s]),a(u)||a(u[o]))return null;var c,f=u[o];if(i)c=new Intl.NumberFormat(s,Object.assign({},f,i));else{var l=s+"__"+o;c=this._numberFormatters[l],c||(c=this._numberFormatters[l]=new Intl.NumberFormat(s,f))}return c.format(t)},ut.prototype._n=function(t,e,n,r){if(!n){var o=r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e);return o.format(t)}var i=this._localizeNumber(t,e,this.fallbackLocale,this._getNumberFormats(),n,r);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.n(t,Object.assign({},{key:n,locale:e},r))}return i||""},ut.prototype.n=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.locale,i=null,a=null;return 1===e.length?"string"==typeof e[0]?i=e[0]:o(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(i=e[0].key),a=Object.keys(e[0]).reduce(function(t,n){var r;return st.includes(n)?Object.assign({},t,(r={},r[n]=e[0][n],r)):t},null)):2===e.length&&("string"==typeof e[0]&&(i=e[0]),"string"==typeof e[1]&&(r=e[1])),this._n(t,r,i,a)},Object.defineProperties(ut.prototype,ct),ut.availabilities={dateTimeFormat:$,numberFormat:B},ut.install=k,ut.version="7.8.1",t.exports=ut},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports=function(t,e){for(var n=[],r={},o=0;o1?e[1].replace(/%s/,n):e[0].replace(/%s/,n):e.replace(/%s/,n)}function e(t){var e=new Date(t);return e.toLocaleString()}function n(n,c){void 0===c&&(c={});var f=c.name;void 0===f&&(f="timeago");var l=c.locale;void 0===l&&(l="en-US");var h=c.locales;if(void 0===h&&(h=null),!h||0===Object.keys(h).length)throw new TypeError("Expected locales to have at least one locale.");var p={props:{since:{required:!0},locale:String,maxTime:Number,autoUpdate:Number,format:Function},data:function(){return{now:(new Date).getTime()}},computed:{currentLocale:function(){var t=h[this.locale||l];return t?t:h[l]},sinceTime:function(){return new Date(this.since).getTime()},timeForTitle:function(){var t=this.now/1e3-this.sinceTime/1e3;return this.maxTime&&t>this.maxTime?null:this.format?this.format(this.sinceTime):e(this.sinceTime)},timeago:function(){var n=this.now/1e3-this.sinceTime/1e3;if(this.maxTime&&n>this.maxTime)return clearInterval(this.interval),this.format?this.format(this.sinceTime):e(this.sinceTime);var c=n<=5?t("just now",this.currentLocale[0]):n1?i:i.$sub[0]:null;return{output:o,params:a}}},computed:{run:function(){var t=this,e=this.lazyParentModel(),n=Array.isArray(e)&&e.__ob__;if(n){var r=e.__ob__.dep;r.depend();var o=r.constructor.target;if(!this._indirectWatcher){var i=o.constructor;this._indirectWatcher=new i(this,function(){return t.runRule(e)},null,{lazy:!0})}var a=this.getModel();if(!this._indirectWatcher.dirty&&this._lastModel===a)return this._indirectWatcher.depend(),o.value;this._lastModel=a,this._indirectWatcher.evaluate(),this._indirectWatcher.depend()}else this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null);return this._indirectWatcher?this._indirectWatcher.value:this.runRule(e)},$params:function(){return this.run.params},proxy:function(){var t=this.run.output;return t[x]?!!t.v:!!t},$pending:function(){var t=this.run.output;return!!t[x]&&t.p}},destroyed:function(){this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null)}}),o=e.extend({data:function(){return{dirty:!1,validations:null,lazyModel:null,model:null,prop:null,lazyParentModel:null,rootModel:null}},methods:s({},O,{refProxy:function(t){return this.getRef(t).proxy},getRef:function(t){return this.refs[t]},isNested:function(t){return"function"!=typeof this.validations[t]}}),computed:s({},j,{nestedKeys:function(){return this.keys.filter(this.isNested)},ruleKeys:function(){var t=this;return this.keys.filter(function(e){return!t.isNested(e)})},keys:function(){return Object.keys(this.validations).filter(function(t){return"$params"!==t})},proxy:function(){var t=this,e=_(this.keys,function(e){return{enumerable:!0,configurable:!0,get:function(){return t.refProxy(e)}}}),n=_(k,function(e){return{enumerable:!0,configurable:!0,get:function(){return t[e]}}}),r=_(S,function(e){return{enumerable:!1,configurable:!0,get:function(){return t[e]}}}),o=this.hasIter()?{$iter:{enumerable:!0,value:Object.defineProperties({},s({},e))}}:{};return Object.defineProperties({},s({},e,o,{$model:{enumerable:!0,get:function(){var e=t.lazyParentModel();return null!=e?e[t.prop]:null},set:function(e){var n=t.lazyParentModel();null!=n&&(n[t.prop]=e,t.$touch())}}},n,r))},children:function(){var t=this;return r(this.nestedKeys.map(function(e){return u(t,e)})).concat(r(this.ruleKeys.map(function(e){return c(t,e)}))).filter(Boolean)}})}),i=o.extend({methods:{isNested:function(t){return"undefined"!=typeof this.validations[t]()},getRef:function(t){var e=this;return{get proxy(){return e.validations[t]()||!1}}}}}),a=o.extend({computed:{keys:function(){var t=this.getModel();return l(t)?Object.keys(t):[]},tracker:function(){var t=this,e=this.validations.$trackBy;return e?function(n){return"".concat(w(t.rootModel,t.getModelKey(n),e))}:function(t){return"".concat(t)}},getModelLazy:function(){var t=this;return function(){return t.getModel()}},children:function(){var t=this,e=this.validations,n=this.getModel(),r=s({},e);delete r.$trackBy;var i={};return this.keys.map(function(e){var a=t.tracker(e);return i.hasOwnProperty(a)?null:(i[a]=!0,(0,y.h)(o,a,{validations:r,prop:e,lazyParentModel:t.getModelLazy,model:n[e],rootModel:t.rootModel}))}).filter(Boolean)}},methods:{isNested:function(){return!0},getRef:function(t){return this.refs[this.tracker(t)]},hasIter:function(){return!0}}}),u=function(t,e){if("$each"===e)return(0,y.h)(a,e,{validations:t.validations[e],lazyParentModel:t.lazyParentModel,prop:e,lazyModel:t.getModel,rootModel:t.rootModel});var n=t.validations[e];if(Array.isArray(n)){var r=t.rootModel,s=_(n,function(t){return function(){return w(r,r.$v,t)}},function(t){return Array.isArray(t)?t.join("."):t});return(0,y.h)(i,e,{validations:s,lazyParentModel:b,prop:e,lazyModel:b,rootModel:r})}return(0,y.h)(o,e,{validations:n,lazyParentModel:t.getModel,prop:e,lazyModel:t.getModelKey,rootModel:t.rootModel})},c=function(t,e){return(0,y.h)(n,e,{rule:t.validations[e],lazyParentModel:t.lazyParentModel,lazyModel:t.getModel,rootModel:t.rootModel})};return E={VBase:e,Validation:o}},M=null,C=function(t,e){var n=v(t),r=A(n),o=r.Validation,i=r.VBase,a=new i({computed:{children:function(){var n="function"==typeof e?e.call(t):e;return[(0,y.h)(o,"$v",{validations:n,lazyParentModel:b,prop:"$v",model:t,rootModel:t})]}}});return a},N={data:function(){var t=this.$options.validations;return t&&(this._vuelidate=C(this,t)),{}},beforeCreate:function(){var t=this.$options,e=t.validations;e&&(t.computed||(t.computed={}),t.computed.$v||(t.computed.$v=function(){return this._vuelidate?this._vuelidate.refs.$v.proxy:null}))},beforeDestroy:function(){this._vuelidate&&(this._vuelidate.$destroy(),this._vuelidate=null)}};e.validationMixin=N;var T=m;e.default=T},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=(0,r.regex)("alpha",/^[a-zA-Z]*$/);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=(0,r.regex)("alphaNum",/^[a-zA-Z0-9]*$/);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(){for(var t=arguments.length,e=new Array(t),n=0;n0&&e.reduce(function(e,n){return e&&n.apply(t,r)},!0)})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(t,e){return(0,r.withParams)({type:"between",min:t,max:e},function(n){return!(0,r.req)(n)||(!/\s/.test(n)||n instanceof Date)&&+t<=+n&&+e>=+n})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=(0,r.regex)("decimal",/^[-]?\d*(\.\d+)?$/);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=/(^$|^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$)/,i=(0,r.regex)("email",o);e.default=i},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}function o(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"alpha",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"alphaNum",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"numeric",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"between",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"email",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"ipAddress",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"macAddress",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"maxLength",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"minLength",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"required",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"requiredIf",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"requiredUnless",{ -enumerable:!0,get:function(){return m.default}}),Object.defineProperty(e,"sameAs",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(e,"url",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"or",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"and",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"not",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(e,"minValue",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"maxValue",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"integer",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"decimal",{enumerable:!0,get:function(){return k.default}}),e.helpers=void 0;var i=o(n(812)),a=o(n(813)),s=o(n(827)),u=o(n(815)),c=o(n(817)),f=o(n(820)),l=o(n(821)),h=o(n(822)),p=o(n(824)),d=o(n(829)),v=o(n(830)),m=o(n(831)),y=o(n(832)),g=o(n(833)),b=o(n(828)),_=o(n(814)),w=o(n(826)),x=o(n(825)),j=o(n(823)),O=o(n(819)),k=o(n(816)),S=r(n(3));e.helpers=S},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=(0,r.regex)("integer",/^-?[0-9]*$/);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=(0,r.withParams)({type:"ipAddress"},function(t){if(!(0,r.req)(t))return!0;if("string"!=typeof t)return!1;var e=t.split(".");return 4===e.length&&e.every(i)});e.default=o;var i=function(t){if(t.length>3||0===t.length)return!1;if("0"===t[0]&&"0"!==t)return!1;if(!t.match(/^\d+$/))return!1;var e=0|+t;return e>=0&&e<=255}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:":";return(0,r.withParams)({type:"macAddress"},function(e){if(!(0,r.req)(e))return!0;if("string"!=typeof e)return!1;var n="string"==typeof t&&""!==t?e.split(t):12===e.length||16===e.length?e.match(/.{2}/g):null;return null!==n&&(6===n.length||8===n.length)&&n.every(i)})};e.default=o;var i=function(t){return t.toLowerCase().match(/^[0-9a-f]{2}$/)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(t){return(0,r.withParams)({type:"maxLength",max:t},function(e){return!(0,r.req)(e)||(0,r.len)(e)<=t})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(t){return(0,r.withParams)({type:"maxValue",max:t},function(e){return!(0,r.req)(e)||(!/\s/.test(e)||e instanceof Date)&&+e<=+t})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(t){return(0,r.withParams)({type:"minLength",min:t},function(e){return!(0,r.req)(e)||(0,r.len)(e)>=t})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(t){return(0,r.withParams)({type:"minValue",min:t},function(e){return!(0,r.req)(e)||(!/\s/.test(e)||e instanceof Date)&&+e>=+t})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(t){return(0,r.withParams)({type:"not"},function(e,n){return!(0,r.req)(e)||!t.call(this,e,n)})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=(0,r.regex)("numeric",/^[0-9]*$/);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(){for(var t=arguments.length,e=new Array(t),n=0;n0&&e.reduce(function(e,n){return e||n.apply(t,r)},!1)})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=(0,r.withParams)({type:"required"},r.req);e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(t){return(0,r.withParams)({type:"requiredIf",prop:t},function(e,n){return!(0,r.ref)(t,this,n)||(0,r.req)(e)})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(t){return(0,r.withParams)({type:"requiredUnless",prop:t},function(e,n){return!!(0,r.ref)(t,this,n)||(0,r.req)(e)})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=function(t){return(0,r.withParams)({type:"sameAs",eq:t},function(e,n){return e===(0,r.ref)(t,this,n)})};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(3),o=/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[\/?#]\S*)?$/i,i=(0,r.regex)("url",o);e.default=i},function(t,e){"use strict";function n(t){return null===t||void 0===t}function r(t){return null!==t&&void 0!==t}function o(t,e){return e.tag===t.tag&&e.key===t.key}function i(t){var e=t.tag;t.vm=new e({data:t.args})}function a(t){for(var e=Object.keys(t.args),n=0;nv?c(e,d,g):d>g&&f(t,p,v)}function c(t,e,n){for(;e<=n;++e)i(t[e])}function f(t,e,n){for(;e<=n;++e){var o=t[e];r(o)&&(o.vm.$destroy(),o.vm=null)}}function l(t,e){t!==e&&(e.vm=t.vm,a(e))}function h(t,e){r(t)&&r(e)?t!==e&&u(t,e):r(e)?c(e,0,e.length-1):r(t)&&f(t,0,t.length-1)}function p(t,e,n){return{tag:t,key:e,args:n}}Object.defineProperty(e,"__esModule",{value:!0}),e.patchChildren=h,e.h=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r="web"==={NODE_ENV:"production"}.BUILD?n(836).withParams:n(251).withParams,o=r;e.default=o},function(t,e){(function(t){"use strict";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})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.withParams=void 0;var r="undefined"!=typeof window?window:"undefined"!=typeof t?t:{},o=function(t,e){return"object"===n(t)&&void 0!==e?e:t(function(){})},i=r.vuelidate?r.vuelidate.withParams:o;e.withParams=i}).call(e,function(){return this}())},function(t,e){!function(t){"use strict";function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function r(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return y.iterable&&(e[Symbol.iterator]=function(){return e}),e}function o(t){this.map={},t instanceof o?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function i(t){return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function a(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function s(t){var e=new FileReader,n=a(e);return e.readAsArrayBuffer(t),n}function u(t){var e=new FileReader,n=a(e);return e.readAsText(t),n}function c(t){for(var e=new Uint8Array(t),n=new Array(e.length),r=0;r-1?e:t}function p(t,e){e=e||{};var n=e.body;if(t instanceof p){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new o(t.headers)),this.method=t.method,this.mode=t.mode,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new o(e.headers)),this.method=h(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function d(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(o))}}),e}function v(t){var e=new o,n=t.replace(/\r?\n[\t ]+/g," ");return n.split(/\r?\n/).forEach(function(t){var n=t.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();e.append(r,o)}}),e}function m(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new o(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var y={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(y.arrayBuffer)var g=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(t){return t&&DataView.prototype.isPrototypeOf(t)},_=ArrayBuffer.isView||function(t){return t&&g.indexOf(Object.prototype.toString.call(t))>-1};o.prototype.append=function(t,r){t=e(t),r=n(r);var o=this.map[t];this.map[t]=o?o+","+r:r},o.prototype.delete=function(t){delete this.map[e(t)]},o.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},o.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},o.prototype.set=function(t,r){this.map[e(t)]=n(r)},o.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},o.prototype.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),r(t)},o.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),r(t)},o.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),r(t)},y.iterable&&(o.prototype[Symbol.iterator]=o.prototype.entries);var w=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];p.prototype.clone=function(){return new p(this,{body:this._bodyInit})},l.call(p.prototype),l.call(m.prototype),m.prototype.clone=function(){return new m(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},m.error=function(){var t=new m(null,{status:0,statusText:""});return t.type="error",t};var x=[301,302,303,307,308];m.redirect=function(t,e){if(x.indexOf(e)===-1)throw new RangeError("Invalid status code");return new m(null,{status:e,headers:{location:t}})},t.Headers=o,t.Request=p,t.Response=m,t.fetch=function(t,e){return new Promise(function(n,r){var o=new p(t,e),i=new XMLHttpRequest;i.onload=function(){var t={status:i.status,statusText:i.statusText,headers:v(i.getAllResponseHeaders()||"")};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var e="response"in i?i.response:i.responseText;n(new m(e,t))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials?i.withCredentials=!0:"omit"===o.credentials&&(i.withCredentials=!1),"responseType"in i&&y.blob&&(i.responseType="blob"),o.headers.forEach(function(t,e){i.setRequestHeader(e,t)}),i.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;en.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o true\n\t *\n\t * _.isArray(document.body.children);\n\t * // => false\n\t *\n\t * _.isArray('abc');\n\t * // => false\n\t *\n\t * _.isArray(_.noop);\n\t * // => false\n\t */\n\tvar isArray = Array.isArray;\n\t\n\tmodule.exports = isArray;\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(6);\n\tvar core = __webpack_require__(2);\n\tvar ctx = __webpack_require__(23);\n\tvar hide = __webpack_require__(24);\n\tvar has = __webpack_require__(30);\n\tvar PROTOTYPE = 'prototype';\n\t\n\tvar $export = function (type, name, source) {\n\t var IS_FORCED = type & $export.F;\n\t var IS_GLOBAL = type & $export.G;\n\t var IS_STATIC = type & $export.S;\n\t var IS_PROTO = type & $export.P;\n\t var IS_BIND = type & $export.B;\n\t var IS_WRAP = type & $export.W;\n\t var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n\t var expProto = exports[PROTOTYPE];\n\t var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n\t var key, own, out;\n\t if (IS_GLOBAL) source = name;\n\t for (key in source) {\n\t // contains in native\n\t own = !IS_FORCED && target && target[key] !== undefined;\n\t if (own && has(exports, key)) continue;\n\t // export native or passed\n\t out = own ? target[key] : source[key];\n\t // prevent global pollution for namespaces\n\t exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n\t // bind timers to global for call from export context\n\t : IS_BIND && own ? ctx(out, global)\n\t // wrap global constructors for prevent change them in library\n\t : IS_WRAP && target[key] == out ? (function (C) {\n\t var F = function (a, b, c) {\n\t if (this instanceof C) {\n\t switch (arguments.length) {\n\t case 0: return new C();\n\t case 1: return new C(a);\n\t case 2: return new C(a, b);\n\t } return new C(a, b, c);\n\t } return C.apply(this, arguments);\n\t };\n\t F[PROTOTYPE] = C[PROTOTYPE];\n\t return F;\n\t // make static versions for prototype methods\n\t })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n\t // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n\t if (IS_PROTO) {\n\t (exports.virtual || (exports.virtual = {}))[key] = out;\n\t // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n\t if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n\t }\n\t }\n\t};\n\t// type bitmap\n\t$export.F = 1; // forced\n\t$export.G = 2; // global\n\t$export.S = 4; // static\n\t$export.P = 8; // proto\n\t$export.B = 16; // bind\n\t$export.W = 32; // wrap\n\t$export.U = 64; // safe\n\t$export.R = 128; // real proto method for `library`\n\tmodule.exports = $export;\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports) {\n\n\t// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\n\tvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n\t ? window : typeof self != 'undefined' && self.Math == Math ? self\n\t // eslint-disable-next-line no-new-func\n\t : Function('return this')();\n\tif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar store = __webpack_require__(114)('wks');\n\tvar uid = __webpack_require__(78);\n\tvar Symbol = __webpack_require__(6).Symbol;\n\tvar USE_SYMBOL = typeof Symbol == 'function';\n\t\n\tvar $exports = module.exports = function (name) {\n\t return store[name] || (store[name] =\n\t USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n\t};\n\t\n\t$exports.store = store;\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar baseMatches = __webpack_require__(554),\n\t baseMatchesProperty = __webpack_require__(555),\n\t identity = __webpack_require__(67),\n\t isArray = __webpack_require__(4),\n\t property = __webpack_require__(662);\n\t\n\t/**\n\t * The base implementation of `_.iteratee`.\n\t *\n\t * @private\n\t * @param {*} [value=_.identity] The value to convert to an iteratee.\n\t * @returns {Function} Returns the iteratee.\n\t */\n\tfunction baseIteratee(value) {\n\t // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n\t // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n\t if (typeof value == 'function') {\n\t return value;\n\t }\n\t if (value == null) {\n\t return identity;\n\t }\n\t if (typeof value == 'object') {\n\t return isArray(value)\n\t ? baseMatchesProperty(value[0], value[1])\n\t : baseMatches(value);\n\t }\n\t return property(value);\n\t}\n\t\n\tmodule.exports = baseIteratee;\n\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * Checks if `value` is the\n\t * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n\t * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(_.noop);\n\t * // => true\n\t *\n\t * _.isObject(null);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t var type = typeof value;\n\t return value != null && (type == 'object' || type == 'function');\n\t}\n\t\n\tmodule.exports = isObject;\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global, setImmediate) {/*!\n\t * Vue.js v2.5.21\n\t * (c) 2014-2018 Evan You\n\t * Released under the MIT License.\n\t */\n\t'use strict';\n\t\n\t/* */\n\t\n\tvar emptyObject = Object.freeze({});\n\t\n\t// These helpers produce better VM code in JS engines due to their\n\t// explicitness and function inlining.\n\tfunction isUndef (v) {\n\t return v === undefined || v === null\n\t}\n\t\n\tfunction isDef (v) {\n\t return v !== undefined && v !== null\n\t}\n\t\n\tfunction isTrue (v) {\n\t return v === true\n\t}\n\t\n\tfunction isFalse (v) {\n\t return v === false\n\t}\n\t\n\t/**\n\t * Check if value is primitive.\n\t */\n\tfunction isPrimitive (value) {\n\t return (\n\t typeof value === 'string' ||\n\t typeof value === 'number' ||\n\t // $flow-disable-line\n\t typeof value === 'symbol' ||\n\t typeof value === 'boolean'\n\t )\n\t}\n\t\n\t/**\n\t * Quick object check - this is primarily used to tell\n\t * Objects from primitive values when we know the value\n\t * is a JSON-compliant type.\n\t */\n\tfunction isObject (obj) {\n\t return obj !== null && typeof obj === 'object'\n\t}\n\t\n\t/**\n\t * Get the raw type string of a value, e.g., [object Object].\n\t */\n\tvar _toString = Object.prototype.toString;\n\t\n\tfunction toRawType (value) {\n\t return _toString.call(value).slice(8, -1)\n\t}\n\t\n\t/**\n\t * Strict object type check. Only returns true\n\t * for plain JavaScript objects.\n\t */\n\tfunction isPlainObject (obj) {\n\t return _toString.call(obj) === '[object Object]'\n\t}\n\t\n\tfunction isRegExp (v) {\n\t return _toString.call(v) === '[object RegExp]'\n\t}\n\t\n\t/**\n\t * Check if val is a valid array index.\n\t */\n\tfunction isValidArrayIndex (val) {\n\t var n = parseFloat(String(val));\n\t return n >= 0 && Math.floor(n) === n && isFinite(val)\n\t}\n\t\n\t/**\n\t * Convert a value to a string that is actually rendered.\n\t */\n\tfunction toString (val) {\n\t return val == null\n\t ? ''\n\t : typeof val === 'object'\n\t ? JSON.stringify(val, null, 2)\n\t : String(val)\n\t}\n\t\n\t/**\n\t * Convert an input value to a number for persistence.\n\t * If the conversion fails, return original string.\n\t */\n\tfunction toNumber (val) {\n\t var n = parseFloat(val);\n\t return isNaN(n) ? val : n\n\t}\n\t\n\t/**\n\t * Make a map and return a function for checking if a key\n\t * is in that map.\n\t */\n\tfunction makeMap (\n\t str,\n\t expectsLowerCase\n\t) {\n\t var map = Object.create(null);\n\t var list = str.split(',');\n\t for (var i = 0; i < list.length; i++) {\n\t map[list[i]] = true;\n\t }\n\t return expectsLowerCase\n\t ? function (val) { return map[val.toLowerCase()]; }\n\t : function (val) { return map[val]; }\n\t}\n\t\n\t/**\n\t * Check if a tag is a built-in tag.\n\t */\n\tvar isBuiltInTag = makeMap('slot,component', true);\n\t\n\t/**\n\t * Check if an attribute is a reserved attribute.\n\t */\n\tvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n\t\n\t/**\n\t * Remove an item from an array.\n\t */\n\tfunction remove (arr, item) {\n\t if (arr.length) {\n\t var index = arr.indexOf(item);\n\t if (index > -1) {\n\t return arr.splice(index, 1)\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Check whether an object has the property.\n\t */\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\tfunction hasOwn (obj, key) {\n\t return hasOwnProperty.call(obj, key)\n\t}\n\t\n\t/**\n\t * Create a cached version of a pure function.\n\t */\n\tfunction cached (fn) {\n\t var cache = Object.create(null);\n\t return (function cachedFn (str) {\n\t var hit = cache[str];\n\t return hit || (cache[str] = fn(str))\n\t })\n\t}\n\t\n\t/**\n\t * Camelize a hyphen-delimited string.\n\t */\n\tvar camelizeRE = /-(\\w)/g;\n\tvar camelize = cached(function (str) {\n\t return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; })\n\t});\n\t\n\t/**\n\t * Capitalize a string.\n\t */\n\tvar capitalize = cached(function (str) {\n\t return str.charAt(0).toUpperCase() + str.slice(1)\n\t});\n\t\n\t/**\n\t * Hyphenate a camelCase string.\n\t */\n\tvar hyphenateRE = /\\B([A-Z])/g;\n\tvar hyphenate = cached(function (str) {\n\t return str.replace(hyphenateRE, '-$1').toLowerCase()\n\t});\n\t\n\t/**\n\t * Simple bind polyfill for environments that do not support it,\n\t * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n\t * since native bind is now performant enough in most browsers.\n\t * But removing it would mean breaking code that was able to run in\n\t * PhantomJS 1.x, so this must be kept for backward compatibility.\n\t */\n\t\n\t/* istanbul ignore next */\n\tfunction polyfillBind (fn, ctx) {\n\t function boundFn (a) {\n\t var l = arguments.length;\n\t return l\n\t ? l > 1\n\t ? fn.apply(ctx, arguments)\n\t : fn.call(ctx, a)\n\t : fn.call(ctx)\n\t }\n\t\n\t boundFn._length = fn.length;\n\t return boundFn\n\t}\n\t\n\tfunction nativeBind (fn, ctx) {\n\t return fn.bind(ctx)\n\t}\n\t\n\tvar bind = Function.prototype.bind\n\t ? nativeBind\n\t : polyfillBind;\n\t\n\t/**\n\t * Convert an Array-like object to a real Array.\n\t */\n\tfunction toArray (list, start) {\n\t start = start || 0;\n\t var i = list.length - start;\n\t var ret = new Array(i);\n\t while (i--) {\n\t ret[i] = list[i + start];\n\t }\n\t return ret\n\t}\n\t\n\t/**\n\t * Mix properties into target object.\n\t */\n\tfunction extend (to, _from) {\n\t for (var key in _from) {\n\t to[key] = _from[key];\n\t }\n\t return to\n\t}\n\t\n\t/**\n\t * Merge an Array of Objects into a single Object.\n\t */\n\tfunction toObject (arr) {\n\t var res = {};\n\t for (var i = 0; i < arr.length; i++) {\n\t if (arr[i]) {\n\t extend(res, arr[i]);\n\t }\n\t }\n\t return res\n\t}\n\t\n\t/* eslint-disable no-unused-vars */\n\t\n\t/**\n\t * Perform no operation.\n\t * Stubbing args to make Flow happy without leaving useless transpiled code\n\t * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n\t */\n\tfunction noop (a, b, c) {}\n\t\n\t/**\n\t * Always return false.\n\t */\n\tvar no = function (a, b, c) { return false; };\n\t\n\t/* eslint-enable no-unused-vars */\n\t\n\t/**\n\t * Return the same value.\n\t */\n\tvar identity = function (_) { return _; };\n\t\n\t/**\n\t * Check if two values are loosely equal - that is,\n\t * if they are plain objects, do they have the same shape?\n\t */\n\tfunction looseEqual (a, b) {\n\t if (a === b) { return true }\n\t var isObjectA = isObject(a);\n\t var isObjectB = isObject(b);\n\t if (isObjectA && isObjectB) {\n\t try {\n\t var isArrayA = Array.isArray(a);\n\t var isArrayB = Array.isArray(b);\n\t if (isArrayA && isArrayB) {\n\t return a.length === b.length && a.every(function (e, i) {\n\t return looseEqual(e, b[i])\n\t })\n\t } else if (a instanceof Date && b instanceof Date) {\n\t return a.getTime() === b.getTime()\n\t } else if (!isArrayA && !isArrayB) {\n\t var keysA = Object.keys(a);\n\t var keysB = Object.keys(b);\n\t return keysA.length === keysB.length && keysA.every(function (key) {\n\t return looseEqual(a[key], b[key])\n\t })\n\t } else {\n\t /* istanbul ignore next */\n\t return false\n\t }\n\t } catch (e) {\n\t /* istanbul ignore next */\n\t return false\n\t }\n\t } else if (!isObjectA && !isObjectB) {\n\t return String(a) === String(b)\n\t } else {\n\t return false\n\t }\n\t}\n\t\n\t/**\n\t * Return the first index at which a loosely equal value can be\n\t * found in the array (if value is a plain object, the array must\n\t * contain an object of the same shape), or -1 if it is not present.\n\t */\n\tfunction looseIndexOf (arr, val) {\n\t for (var i = 0; i < arr.length; i++) {\n\t if (looseEqual(arr[i], val)) { return i }\n\t }\n\t return -1\n\t}\n\t\n\t/**\n\t * Ensure a function is called only once.\n\t */\n\tfunction once (fn) {\n\t var called = false;\n\t return function () {\n\t if (!called) {\n\t called = true;\n\t fn.apply(this, arguments);\n\t }\n\t }\n\t}\n\t\n\tvar SSR_ATTR = 'data-server-rendered';\n\t\n\tvar ASSET_TYPES = [\n\t 'component',\n\t 'directive',\n\t 'filter'\n\t];\n\t\n\tvar LIFECYCLE_HOOKS = [\n\t 'beforeCreate',\n\t 'created',\n\t 'beforeMount',\n\t 'mounted',\n\t 'beforeUpdate',\n\t 'updated',\n\t 'beforeDestroy',\n\t 'destroyed',\n\t 'activated',\n\t 'deactivated',\n\t 'errorCaptured'\n\t];\n\t\n\t/* */\n\t\n\t\n\t\n\tvar config = ({\n\t /**\n\t * Option merge strategies (used in core/util/options)\n\t */\n\t // $flow-disable-line\n\t optionMergeStrategies: Object.create(null),\n\t\n\t /**\n\t * Whether to suppress warnings.\n\t */\n\t silent: false,\n\t\n\t /**\n\t * Show production mode tip message on boot?\n\t */\n\t productionTip: (\"production\") !== 'production',\n\t\n\t /**\n\t * Whether to enable devtools\n\t */\n\t devtools: (\"production\") !== 'production',\n\t\n\t /**\n\t * Whether to record perf\n\t */\n\t performance: false,\n\t\n\t /**\n\t * Error handler for watcher errors\n\t */\n\t errorHandler: null,\n\t\n\t /**\n\t * Warn handler for watcher warns\n\t */\n\t warnHandler: null,\n\t\n\t /**\n\t * Ignore certain custom elements\n\t */\n\t ignoredElements: [],\n\t\n\t /**\n\t * Custom user key aliases for v-on\n\t */\n\t // $flow-disable-line\n\t keyCodes: Object.create(null),\n\t\n\t /**\n\t * Check if a tag is reserved so that it cannot be registered as a\n\t * component. This is platform-dependent and may be overwritten.\n\t */\n\t isReservedTag: no,\n\t\n\t /**\n\t * Check if an attribute is reserved so that it cannot be used as a component\n\t * prop. This is platform-dependent and may be overwritten.\n\t */\n\t isReservedAttr: no,\n\t\n\t /**\n\t * Check if a tag is an unknown element.\n\t * Platform-dependent.\n\t */\n\t isUnknownElement: no,\n\t\n\t /**\n\t * Get the namespace of an element\n\t */\n\t getTagNamespace: noop,\n\t\n\t /**\n\t * Parse the real tag name for the specific platform.\n\t */\n\t parsePlatformTagName: identity,\n\t\n\t /**\n\t * Check if an attribute must be bound using property, e.g. value\n\t * Platform-dependent.\n\t */\n\t mustUseProp: no,\n\t\n\t /**\n\t * Perform updates asynchronously. Intended to be used by Vue Test Utils\n\t * This will significantly reduce performance if set to false.\n\t */\n\t async: true,\n\t\n\t /**\n\t * Exposed for legacy reasons\n\t */\n\t _lifecycleHooks: LIFECYCLE_HOOKS\n\t});\n\t\n\t/* */\n\t\n\t/**\n\t * Check if a string starts with $ or _\n\t */\n\tfunction isReserved (str) {\n\t var c = (str + '').charCodeAt(0);\n\t return c === 0x24 || c === 0x5F\n\t}\n\t\n\t/**\n\t * Define a property.\n\t */\n\tfunction def (obj, key, val, enumerable) {\n\t Object.defineProperty(obj, key, {\n\t value: val,\n\t enumerable: !!enumerable,\n\t writable: true,\n\t configurable: true\n\t });\n\t}\n\t\n\t/**\n\t * Parse simple path.\n\t */\n\tvar bailRE = /[^\\w.$]/;\n\tfunction parsePath (path) {\n\t if (bailRE.test(path)) {\n\t return\n\t }\n\t var segments = path.split('.');\n\t return function (obj) {\n\t for (var i = 0; i < segments.length; i++) {\n\t if (!obj) { return }\n\t obj = obj[segments[i]];\n\t }\n\t return obj\n\t }\n\t}\n\t\n\t/* */\n\t\n\t// can we use __proto__?\n\tvar hasProto = '__proto__' in {};\n\t\n\t// Browser environment sniffing\n\tvar inBrowser = typeof window !== 'undefined';\n\tvar inWeex = typeof WXEnvironment !== 'undefined' && !!WXEnvironment.platform;\n\tvar weexPlatform = inWeex && WXEnvironment.platform.toLowerCase();\n\tvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\n\tvar isIE = UA && /msie|trident/.test(UA);\n\tvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\n\tvar isEdge = UA && UA.indexOf('edge/') > 0;\n\tvar isAndroid = (UA && UA.indexOf('android') > 0) || (weexPlatform === 'android');\n\tvar isIOS = (UA && /iphone|ipad|ipod|ios/.test(UA)) || (weexPlatform === 'ios');\n\tvar isChrome = UA && /chrome\\/\\d+/.test(UA) && !isEdge;\n\t\n\t// Firefox has a \"watch\" function on Object.prototype...\n\tvar nativeWatch = ({}).watch;\n\t\n\tvar supportsPassive = false;\n\tif (inBrowser) {\n\t try {\n\t var opts = {};\n\t Object.defineProperty(opts, 'passive', ({\n\t get: function get () {\n\t /* istanbul ignore next */\n\t supportsPassive = true;\n\t }\n\t })); // https://github.com/facebook/flow/issues/285\n\t window.addEventListener('test-passive', null, opts);\n\t } catch (e) {}\n\t}\n\t\n\t// this needs to be lazy-evaled because vue may be required before\n\t// vue-server-renderer can set VUE_ENV\n\tvar _isServer;\n\tvar isServerRendering = function () {\n\t if (_isServer === undefined) {\n\t /* istanbul ignore if */\n\t if (!inBrowser && !inWeex && typeof global !== 'undefined') {\n\t // detect presence of vue-server-renderer and avoid\n\t // Webpack shimming the process\n\t _isServer = global['process'] && global['process'].env.VUE_ENV === 'server';\n\t } else {\n\t _isServer = false;\n\t }\n\t }\n\t return _isServer\n\t};\n\t\n\t// detect devtools\n\tvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\t\n\t/* istanbul ignore next */\n\tfunction isNative (Ctor) {\n\t return typeof Ctor === 'function' && /native code/.test(Ctor.toString())\n\t}\n\t\n\tvar hasSymbol =\n\t typeof Symbol !== 'undefined' && isNative(Symbol) &&\n\t typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\n\t\n\tvar _Set;\n\t/* istanbul ignore if */ // $flow-disable-line\n\tif (typeof Set !== 'undefined' && isNative(Set)) {\n\t // use native Set when available.\n\t _Set = Set;\n\t} else {\n\t // a non-standard Set polyfill that only works with primitive keys.\n\t _Set = /*@__PURE__*/(function () {\n\t function Set () {\n\t this.set = Object.create(null);\n\t }\n\t Set.prototype.has = function has (key) {\n\t return this.set[key] === true\n\t };\n\t Set.prototype.add = function add (key) {\n\t this.set[key] = true;\n\t };\n\t Set.prototype.clear = function clear () {\n\t this.set = Object.create(null);\n\t };\n\t\n\t return Set;\n\t }());\n\t}\n\t\n\t/* */\n\t\n\tvar warn = noop;\n\tvar tip = noop;\n\tvar generateComponentTrace = (noop); // work around flow check\n\tvar formatComponentName = (noop);\n\t\n\tif (false) {\n\t var hasConsole = typeof console !== 'undefined';\n\t var classifyRE = /(?:^|[-_])(\\w)/g;\n\t var classify = function (str) { return str\n\t .replace(classifyRE, function (c) { return c.toUpperCase(); })\n\t .replace(/[-_]/g, ''); };\n\t\n\t warn = function (msg, vm) {\n\t var trace = vm ? generateComponentTrace(vm) : '';\n\t\n\t if (config.warnHandler) {\n\t config.warnHandler.call(null, msg, vm, trace);\n\t } else if (hasConsole && (!config.silent)) {\n\t console.error((\"[Vue warn]: \" + msg + trace));\n\t }\n\t };\n\t\n\t tip = function (msg, vm) {\n\t if (hasConsole && (!config.silent)) {\n\t console.warn(\"[Vue tip]: \" + msg + (\n\t vm ? generateComponentTrace(vm) : ''\n\t ));\n\t }\n\t };\n\t\n\t formatComponentName = function (vm, includeFile) {\n\t if (vm.$root === vm) {\n\t return ''\n\t }\n\t var options = typeof vm === 'function' && vm.cid != null\n\t ? vm.options\n\t : vm._isVue\n\t ? vm.$options || vm.constructor.options\n\t : vm || {};\n\t var name = options.name || options._componentTag;\n\t var file = options.__file;\n\t if (!name && file) {\n\t var match = file.match(/([^/\\\\]+)\\.vue$/);\n\t name = match && match[1];\n\t }\n\t\n\t return (\n\t (name ? (\"<\" + (classify(name)) + \">\") : \"\") +\n\t (file && includeFile !== false ? (\" at \" + file) : '')\n\t )\n\t };\n\t\n\t var repeat = function (str, n) {\n\t var res = '';\n\t while (n) {\n\t if (n % 2 === 1) { res += str; }\n\t if (n > 1) { str += str; }\n\t n >>= 1;\n\t }\n\t return res\n\t };\n\t\n\t generateComponentTrace = function (vm) {\n\t if (vm._isVue && vm.$parent) {\n\t var tree = [];\n\t var currentRecursiveSequence = 0;\n\t while (vm) {\n\t if (tree.length > 0) {\n\t var last = tree[tree.length - 1];\n\t if (last.constructor === vm.constructor) {\n\t currentRecursiveSequence++;\n\t vm = vm.$parent;\n\t continue\n\t } else if (currentRecursiveSequence > 0) {\n\t tree[tree.length - 1] = [last, currentRecursiveSequence];\n\t currentRecursiveSequence = 0;\n\t }\n\t }\n\t tree.push(vm);\n\t vm = vm.$parent;\n\t }\n\t return '\\n\\nfound in\\n\\n' + tree\n\t .map(function (vm, i) { return (\"\" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)\n\t ? ((formatComponentName(vm[0])) + \"... (\" + (vm[1]) + \" recursive calls)\")\n\t : formatComponentName(vm))); })\n\t .join('\\n')\n\t } else {\n\t return (\"\\n\\n(found in \" + (formatComponentName(vm)) + \")\")\n\t }\n\t };\n\t}\n\t\n\t/* */\n\t\n\tvar uid = 0;\n\t\n\t/**\n\t * A dep is an observable that can have multiple\n\t * directives subscribing to it.\n\t */\n\tvar Dep = function Dep () {\n\t this.id = uid++;\n\t this.subs = [];\n\t};\n\t\n\tDep.prototype.addSub = function addSub (sub) {\n\t this.subs.push(sub);\n\t};\n\t\n\tDep.prototype.removeSub = function removeSub (sub) {\n\t remove(this.subs, sub);\n\t};\n\t\n\tDep.prototype.depend = function depend () {\n\t if (Dep.target) {\n\t Dep.target.addDep(this);\n\t }\n\t};\n\t\n\tDep.prototype.notify = function notify () {\n\t // stabilize the subscriber list first\n\t var subs = this.subs.slice();\n\t if (false) {\n\t // subs aren't sorted in scheduler if not running async\n\t // we need to sort them now to make sure they fire in correct\n\t // order\n\t subs.sort(function (a, b) { return a.id - b.id; });\n\t }\n\t for (var i = 0, l = subs.length; i < l; i++) {\n\t subs[i].update();\n\t }\n\t};\n\t\n\t// the current target watcher being evaluated.\n\t// this is globally unique because there could be only one\n\t// watcher being evaluated at any time.\n\tDep.target = null;\n\tvar targetStack = [];\n\t\n\tfunction pushTarget (target) {\n\t targetStack.push(target);\n\t Dep.target = target;\n\t}\n\t\n\tfunction popTarget () {\n\t targetStack.pop();\n\t Dep.target = targetStack[targetStack.length - 1];\n\t}\n\t\n\t/* */\n\t\n\tvar VNode = function VNode (\n\t tag,\n\t data,\n\t children,\n\t text,\n\t elm,\n\t context,\n\t componentOptions,\n\t asyncFactory\n\t) {\n\t this.tag = tag;\n\t this.data = data;\n\t this.children = children;\n\t this.text = text;\n\t this.elm = elm;\n\t this.ns = undefined;\n\t this.context = context;\n\t this.fnContext = undefined;\n\t this.fnOptions = undefined;\n\t this.fnScopeId = undefined;\n\t this.key = data && data.key;\n\t this.componentOptions = componentOptions;\n\t this.componentInstance = undefined;\n\t this.parent = undefined;\n\t this.raw = false;\n\t this.isStatic = false;\n\t this.isRootInsert = true;\n\t this.isComment = false;\n\t this.isCloned = false;\n\t this.isOnce = false;\n\t this.asyncFactory = asyncFactory;\n\t this.asyncMeta = undefined;\n\t this.isAsyncPlaceholder = false;\n\t};\n\t\n\tvar prototypeAccessors = { child: { configurable: true } };\n\t\n\t// DEPRECATED: alias for componentInstance for backwards compat.\n\t/* istanbul ignore next */\n\tprototypeAccessors.child.get = function () {\n\t return this.componentInstance\n\t};\n\t\n\tObject.defineProperties( VNode.prototype, prototypeAccessors );\n\t\n\tvar createEmptyVNode = function (text) {\n\t if ( text === void 0 ) text = '';\n\t\n\t var node = new VNode();\n\t node.text = text;\n\t node.isComment = true;\n\t return node\n\t};\n\t\n\tfunction createTextVNode (val) {\n\t return new VNode(undefined, undefined, undefined, String(val))\n\t}\n\t\n\t// optimized shallow clone\n\t// used for static nodes and slot nodes because they may be reused across\n\t// multiple renders, cloning them avoids errors when DOM manipulations rely\n\t// on their elm reference.\n\tfunction cloneVNode (vnode) {\n\t var cloned = new VNode(\n\t vnode.tag,\n\t vnode.data,\n\t // #7975\n\t // clone children array to avoid mutating original in case of cloning\n\t // a child.\n\t vnode.children && vnode.children.slice(),\n\t vnode.text,\n\t vnode.elm,\n\t vnode.context,\n\t vnode.componentOptions,\n\t vnode.asyncFactory\n\t );\n\t cloned.ns = vnode.ns;\n\t cloned.isStatic = vnode.isStatic;\n\t cloned.key = vnode.key;\n\t cloned.isComment = vnode.isComment;\n\t cloned.fnContext = vnode.fnContext;\n\t cloned.fnOptions = vnode.fnOptions;\n\t cloned.fnScopeId = vnode.fnScopeId;\n\t cloned.asyncMeta = vnode.asyncMeta;\n\t cloned.isCloned = true;\n\t return cloned\n\t}\n\t\n\t/*\n\t * not type checking this file because flow doesn't play well with\n\t * dynamically accessing methods on Array prototype\n\t */\n\t\n\tvar arrayProto = Array.prototype;\n\tvar arrayMethods = Object.create(arrayProto);\n\t\n\tvar methodsToPatch = [\n\t 'push',\n\t 'pop',\n\t 'shift',\n\t 'unshift',\n\t 'splice',\n\t 'sort',\n\t 'reverse'\n\t];\n\t\n\t/**\n\t * Intercept mutating methods and emit events\n\t */\n\tmethodsToPatch.forEach(function (method) {\n\t // cache original method\n\t var original = arrayProto[method];\n\t def(arrayMethods, method, function mutator () {\n\t var args = [], len = arguments.length;\n\t while ( len-- ) args[ len ] = arguments[ len ];\n\t\n\t var result = original.apply(this, args);\n\t var ob = this.__ob__;\n\t var inserted;\n\t switch (method) {\n\t case 'push':\n\t case 'unshift':\n\t inserted = args;\n\t break\n\t case 'splice':\n\t inserted = args.slice(2);\n\t break\n\t }\n\t if (inserted) { ob.observeArray(inserted); }\n\t // notify change\n\t ob.dep.notify();\n\t return result\n\t });\n\t});\n\t\n\t/* */\n\t\n\tvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\n\t\n\t/**\n\t * In some cases we may want to disable observation inside a component's\n\t * update computation.\n\t */\n\tvar shouldObserve = true;\n\t\n\tfunction toggleObserving (value) {\n\t shouldObserve = value;\n\t}\n\t\n\t/**\n\t * Observer class that is attached to each observed\n\t * object. Once attached, the observer converts the target\n\t * object's property keys into getter/setters that\n\t * collect dependencies and dispatch updates.\n\t */\n\tvar Observer = function Observer (value) {\n\t this.value = value;\n\t this.dep = new Dep();\n\t this.vmCount = 0;\n\t def(value, '__ob__', this);\n\t if (Array.isArray(value)) {\n\t if (hasProto) {\n\t protoAugment(value, arrayMethods);\n\t } else {\n\t copyAugment(value, arrayMethods, arrayKeys);\n\t }\n\t this.observeArray(value);\n\t } else {\n\t this.walk(value);\n\t }\n\t};\n\t\n\t/**\n\t * Walk through all properties and convert them into\n\t * getter/setters. This method should only be called when\n\t * value type is Object.\n\t */\n\tObserver.prototype.walk = function walk (obj) {\n\t var keys = Object.keys(obj);\n\t for (var i = 0; i < keys.length; i++) {\n\t defineReactive$$1(obj, keys[i]);\n\t }\n\t};\n\t\n\t/**\n\t * Observe a list of Array items.\n\t */\n\tObserver.prototype.observeArray = function observeArray (items) {\n\t for (var i = 0, l = items.length; i < l; i++) {\n\t observe(items[i]);\n\t }\n\t};\n\t\n\t// helpers\n\t\n\t/**\n\t * Augment a target Object or Array by intercepting\n\t * the prototype chain using __proto__\n\t */\n\tfunction protoAugment (target, src) {\n\t /* eslint-disable no-proto */\n\t target.__proto__ = src;\n\t /* eslint-enable no-proto */\n\t}\n\t\n\t/**\n\t * Augment a target Object or Array by defining\n\t * hidden properties.\n\t */\n\t/* istanbul ignore next */\n\tfunction copyAugment (target, src, keys) {\n\t for (var i = 0, l = keys.length; i < l; i++) {\n\t var key = keys[i];\n\t def(target, key, src[key]);\n\t }\n\t}\n\t\n\t/**\n\t * Attempt to create an observer instance for a value,\n\t * returns the new observer if successfully observed,\n\t * or the existing observer if the value already has one.\n\t */\n\tfunction observe (value, asRootData) {\n\t if (!isObject(value) || value instanceof VNode) {\n\t return\n\t }\n\t var ob;\n\t if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n\t ob = value.__ob__;\n\t } else if (\n\t shouldObserve &&\n\t !isServerRendering() &&\n\t (Array.isArray(value) || isPlainObject(value)) &&\n\t Object.isExtensible(value) &&\n\t !value._isVue\n\t ) {\n\t ob = new Observer(value);\n\t }\n\t if (asRootData && ob) {\n\t ob.vmCount++;\n\t }\n\t return ob\n\t}\n\t\n\t/**\n\t * Define a reactive property on an Object.\n\t */\n\tfunction defineReactive$$1 (\n\t obj,\n\t key,\n\t val,\n\t customSetter,\n\t shallow\n\t) {\n\t var dep = new Dep();\n\t\n\t var property = Object.getOwnPropertyDescriptor(obj, key);\n\t if (property && property.configurable === false) {\n\t return\n\t }\n\t\n\t // cater for pre-defined getter/setters\n\t var getter = property && property.get;\n\t var setter = property && property.set;\n\t if ((!getter || setter) && arguments.length === 2) {\n\t val = obj[key];\n\t }\n\t\n\t var childOb = !shallow && observe(val);\n\t Object.defineProperty(obj, key, {\n\t enumerable: true,\n\t configurable: true,\n\t get: function reactiveGetter () {\n\t var value = getter ? getter.call(obj) : val;\n\t if (Dep.target) {\n\t dep.depend();\n\t if (childOb) {\n\t childOb.dep.depend();\n\t if (Array.isArray(value)) {\n\t dependArray(value);\n\t }\n\t }\n\t }\n\t return value\n\t },\n\t set: function reactiveSetter (newVal) {\n\t var value = getter ? getter.call(obj) : val;\n\t /* eslint-disable no-self-compare */\n\t if (newVal === value || (newVal !== newVal && value !== value)) {\n\t return\n\t }\n\t /* eslint-enable no-self-compare */\n\t if (false) {\n\t customSetter();\n\t }\n\t // #7981: for accessor properties without setter\n\t if (getter && !setter) { return }\n\t if (setter) {\n\t setter.call(obj, newVal);\n\t } else {\n\t val = newVal;\n\t }\n\t childOb = !shallow && observe(newVal);\n\t dep.notify();\n\t }\n\t });\n\t}\n\t\n\t/**\n\t * Set a property on an object. Adds the new property and\n\t * triggers change notification if the property doesn't\n\t * already exist.\n\t */\n\tfunction set (target, key, val) {\n\t if (false\n\t ) {\n\t warn((\"Cannot set reactive property on undefined, null, or primitive value: \" + ((target))));\n\t }\n\t if (Array.isArray(target) && isValidArrayIndex(key)) {\n\t target.length = Math.max(target.length, key);\n\t target.splice(key, 1, val);\n\t return val\n\t }\n\t if (key in target && !(key in Object.prototype)) {\n\t target[key] = val;\n\t return val\n\t }\n\t var ob = (target).__ob__;\n\t if (target._isVue || (ob && ob.vmCount)) {\n\t (\"production\") !== 'production' && warn(\n\t 'Avoid adding reactive properties to a Vue instance or its root $data ' +\n\t 'at runtime - declare it upfront in the data option.'\n\t );\n\t return val\n\t }\n\t if (!ob) {\n\t target[key] = val;\n\t return val\n\t }\n\t defineReactive$$1(ob.value, key, val);\n\t ob.dep.notify();\n\t return val\n\t}\n\t\n\t/**\n\t * Delete a property and trigger change if necessary.\n\t */\n\tfunction del (target, key) {\n\t if (false\n\t ) {\n\t warn((\"Cannot delete reactive property on undefined, null, or primitive value: \" + ((target))));\n\t }\n\t if (Array.isArray(target) && isValidArrayIndex(key)) {\n\t target.splice(key, 1);\n\t return\n\t }\n\t var ob = (target).__ob__;\n\t if (target._isVue || (ob && ob.vmCount)) {\n\t (\"production\") !== 'production' && warn(\n\t 'Avoid deleting properties on a Vue instance or its root $data ' +\n\t '- just set it to null.'\n\t );\n\t return\n\t }\n\t if (!hasOwn(target, key)) {\n\t return\n\t }\n\t delete target[key];\n\t if (!ob) {\n\t return\n\t }\n\t ob.dep.notify();\n\t}\n\t\n\t/**\n\t * Collect dependencies on array elements when the array is touched, since\n\t * we cannot intercept array element access like property getters.\n\t */\n\tfunction dependArray (value) {\n\t for (var e = (void 0), i = 0, l = value.length; i < l; i++) {\n\t e = value[i];\n\t e && e.__ob__ && e.__ob__.dep.depend();\n\t if (Array.isArray(e)) {\n\t dependArray(e);\n\t }\n\t }\n\t}\n\t\n\t/* */\n\t\n\t/**\n\t * Option overwriting strategies are functions that handle\n\t * how to merge a parent option value and a child option\n\t * value into the final value.\n\t */\n\tvar strats = config.optionMergeStrategies;\n\t\n\t/**\n\t * Options with restrictions\n\t */\n\tif (false) {\n\t strats.el = strats.propsData = function (parent, child, vm, key) {\n\t if (!vm) {\n\t warn(\n\t \"option \\\"\" + key + \"\\\" can only be used during instance \" +\n\t 'creation with the `new` keyword.'\n\t );\n\t }\n\t return defaultStrat(parent, child)\n\t };\n\t}\n\t\n\t/**\n\t * Helper that recursively merges two data objects together.\n\t */\n\tfunction mergeData (to, from) {\n\t if (!from) { return to }\n\t var key, toVal, fromVal;\n\t var keys = Object.keys(from);\n\t for (var i = 0; i < keys.length; i++) {\n\t key = keys[i];\n\t toVal = to[key];\n\t fromVal = from[key];\n\t if (!hasOwn(to, key)) {\n\t set(to, key, fromVal);\n\t } else if (\n\t toVal !== fromVal &&\n\t isPlainObject(toVal) &&\n\t isPlainObject(fromVal)\n\t ) {\n\t mergeData(toVal, fromVal);\n\t }\n\t }\n\t return to\n\t}\n\t\n\t/**\n\t * Data\n\t */\n\tfunction mergeDataOrFn (\n\t parentVal,\n\t childVal,\n\t vm\n\t) {\n\t if (!vm) {\n\t // in a Vue.extend merge, both should be functions\n\t if (!childVal) {\n\t return parentVal\n\t }\n\t if (!parentVal) {\n\t return childVal\n\t }\n\t // when parentVal & childVal are both present,\n\t // we need to return a function that returns the\n\t // merged result of both functions... no need to\n\t // check if parentVal is a function here because\n\t // it has to be a function to pass previous merges.\n\t return function mergedDataFn () {\n\t return mergeData(\n\t typeof childVal === 'function' ? childVal.call(this, this) : childVal,\n\t typeof parentVal === 'function' ? parentVal.call(this, this) : parentVal\n\t )\n\t }\n\t } else {\n\t return function mergedInstanceDataFn () {\n\t // instance merge\n\t var instanceData = typeof childVal === 'function'\n\t ? childVal.call(vm, vm)\n\t : childVal;\n\t var defaultData = typeof parentVal === 'function'\n\t ? parentVal.call(vm, vm)\n\t : parentVal;\n\t if (instanceData) {\n\t return mergeData(instanceData, defaultData)\n\t } else {\n\t return defaultData\n\t }\n\t }\n\t }\n\t}\n\t\n\tstrats.data = function (\n\t parentVal,\n\t childVal,\n\t vm\n\t) {\n\t if (!vm) {\n\t if (childVal && typeof childVal !== 'function') {\n\t (\"production\") !== 'production' && warn(\n\t 'The \"data\" option should be a function ' +\n\t 'that returns a per-instance value in component ' +\n\t 'definitions.',\n\t vm\n\t );\n\t\n\t return parentVal\n\t }\n\t return mergeDataOrFn(parentVal, childVal)\n\t }\n\t\n\t return mergeDataOrFn(parentVal, childVal, vm)\n\t};\n\t\n\t/**\n\t * Hooks and props are merged as arrays.\n\t */\n\tfunction mergeHook (\n\t parentVal,\n\t childVal\n\t) {\n\t return childVal\n\t ? parentVal\n\t ? parentVal.concat(childVal)\n\t : Array.isArray(childVal)\n\t ? childVal\n\t : [childVal]\n\t : parentVal\n\t}\n\t\n\tLIFECYCLE_HOOKS.forEach(function (hook) {\n\t strats[hook] = mergeHook;\n\t});\n\t\n\t/**\n\t * Assets\n\t *\n\t * When a vm is present (instance creation), we need to do\n\t * a three-way merge between constructor options, instance\n\t * options and parent options.\n\t */\n\tfunction mergeAssets (\n\t parentVal,\n\t childVal,\n\t vm,\n\t key\n\t) {\n\t var res = Object.create(parentVal || null);\n\t if (childVal) {\n\t (\"production\") !== 'production' && assertObjectType(key, childVal, vm);\n\t return extend(res, childVal)\n\t } else {\n\t return res\n\t }\n\t}\n\t\n\tASSET_TYPES.forEach(function (type) {\n\t strats[type + 's'] = mergeAssets;\n\t});\n\t\n\t/**\n\t * Watchers.\n\t *\n\t * Watchers hashes should not overwrite one\n\t * another, so we merge them as arrays.\n\t */\n\tstrats.watch = function (\n\t parentVal,\n\t childVal,\n\t vm,\n\t key\n\t) {\n\t // work around Firefox's Object.prototype.watch...\n\t if (parentVal === nativeWatch) { parentVal = undefined; }\n\t if (childVal === nativeWatch) { childVal = undefined; }\n\t /* istanbul ignore if */\n\t if (!childVal) { return Object.create(parentVal || null) }\n\t if (false) {\n\t assertObjectType(key, childVal, vm);\n\t }\n\t if (!parentVal) { return childVal }\n\t var ret = {};\n\t extend(ret, parentVal);\n\t for (var key$1 in childVal) {\n\t var parent = ret[key$1];\n\t var child = childVal[key$1];\n\t if (parent && !Array.isArray(parent)) {\n\t parent = [parent];\n\t }\n\t ret[key$1] = parent\n\t ? parent.concat(child)\n\t : Array.isArray(child) ? child : [child];\n\t }\n\t return ret\n\t};\n\t\n\t/**\n\t * Other object hashes.\n\t */\n\tstrats.props =\n\tstrats.methods =\n\tstrats.inject =\n\tstrats.computed = function (\n\t parentVal,\n\t childVal,\n\t vm,\n\t key\n\t) {\n\t if (childVal && (\"production\") !== 'production') {\n\t assertObjectType(key, childVal, vm);\n\t }\n\t if (!parentVal) { return childVal }\n\t var ret = Object.create(null);\n\t extend(ret, parentVal);\n\t if (childVal) { extend(ret, childVal); }\n\t return ret\n\t};\n\tstrats.provide = mergeDataOrFn;\n\t\n\t/**\n\t * Default strategy.\n\t */\n\tvar defaultStrat = function (parentVal, childVal) {\n\t return childVal === undefined\n\t ? parentVal\n\t : childVal\n\t};\n\t\n\t/**\n\t * Validate component names\n\t */\n\tfunction checkComponents (options) {\n\t for (var key in options.components) {\n\t validateComponentName(key);\n\t }\n\t}\n\t\n\tfunction validateComponentName (name) {\n\t if (!/^[a-zA-Z][\\w-]*$/.test(name)) {\n\t warn(\n\t 'Invalid component name: \"' + name + '\". Component names ' +\n\t 'can only contain alphanumeric characters and the hyphen, ' +\n\t 'and must start with a letter.'\n\t );\n\t }\n\t if (isBuiltInTag(name) || config.isReservedTag(name)) {\n\t warn(\n\t 'Do not use built-in or reserved HTML elements as component ' +\n\t 'id: ' + name\n\t );\n\t }\n\t}\n\t\n\t/**\n\t * Ensure all props option syntax are normalized into the\n\t * Object-based format.\n\t */\n\tfunction normalizeProps (options, vm) {\n\t var props = options.props;\n\t if (!props) { return }\n\t var res = {};\n\t var i, val, name;\n\t if (Array.isArray(props)) {\n\t i = props.length;\n\t while (i--) {\n\t val = props[i];\n\t if (typeof val === 'string') {\n\t name = camelize(val);\n\t res[name] = { type: null };\n\t } else if (false) {\n\t warn('props must be strings when using array syntax.');\n\t }\n\t }\n\t } else if (isPlainObject(props)) {\n\t for (var key in props) {\n\t val = props[key];\n\t name = camelize(key);\n\t res[name] = isPlainObject(val)\n\t ? val\n\t : { type: val };\n\t }\n\t } else if (false) {\n\t warn(\n\t \"Invalid value for option \\\"props\\\": expected an Array or an Object, \" +\n\t \"but got \" + (toRawType(props)) + \".\",\n\t vm\n\t );\n\t }\n\t options.props = res;\n\t}\n\t\n\t/**\n\t * Normalize all injections into Object-based format\n\t */\n\tfunction normalizeInject (options, vm) {\n\t var inject = options.inject;\n\t if (!inject) { return }\n\t var normalized = options.inject = {};\n\t if (Array.isArray(inject)) {\n\t for (var i = 0; i < inject.length; i++) {\n\t normalized[inject[i]] = { from: inject[i] };\n\t }\n\t } else if (isPlainObject(inject)) {\n\t for (var key in inject) {\n\t var val = inject[key];\n\t normalized[key] = isPlainObject(val)\n\t ? extend({ from: key }, val)\n\t : { from: val };\n\t }\n\t } else if (false) {\n\t warn(\n\t \"Invalid value for option \\\"inject\\\": expected an Array or an Object, \" +\n\t \"but got \" + (toRawType(inject)) + \".\",\n\t vm\n\t );\n\t }\n\t}\n\t\n\t/**\n\t * Normalize raw function directives into object format.\n\t */\n\tfunction normalizeDirectives (options) {\n\t var dirs = options.directives;\n\t if (dirs) {\n\t for (var key in dirs) {\n\t var def = dirs[key];\n\t if (typeof def === 'function') {\n\t dirs[key] = { bind: def, update: def };\n\t }\n\t }\n\t }\n\t}\n\t\n\tfunction assertObjectType (name, value, vm) {\n\t if (!isPlainObject(value)) {\n\t warn(\n\t \"Invalid value for option \\\"\" + name + \"\\\": expected an Object, \" +\n\t \"but got \" + (toRawType(value)) + \".\",\n\t vm\n\t );\n\t }\n\t}\n\t\n\t/**\n\t * Merge two option objects into a new one.\n\t * Core utility used in both instantiation and inheritance.\n\t */\n\tfunction mergeOptions (\n\t parent,\n\t child,\n\t vm\n\t) {\n\t if (false) {\n\t checkComponents(child);\n\t }\n\t\n\t if (typeof child === 'function') {\n\t child = child.options;\n\t }\n\t\n\t normalizeProps(child, vm);\n\t normalizeInject(child, vm);\n\t normalizeDirectives(child);\n\t \n\t // Apply extends and mixins on the child options,\n\t // but only if it is a raw options object that isn't\n\t // the result of another mergeOptions call.\n\t // Only merged options has the _base property.\n\t if (!child._base) {\n\t if (child.extends) {\n\t parent = mergeOptions(parent, child.extends, vm);\n\t }\n\t if (child.mixins) {\n\t for (var i = 0, l = child.mixins.length; i < l; i++) {\n\t parent = mergeOptions(parent, child.mixins[i], vm);\n\t }\n\t }\n\t }\n\t\n\t var options = {};\n\t var key;\n\t for (key in parent) {\n\t mergeField(key);\n\t }\n\t for (key in child) {\n\t if (!hasOwn(parent, key)) {\n\t mergeField(key);\n\t }\n\t }\n\t function mergeField (key) {\n\t var strat = strats[key] || defaultStrat;\n\t options[key] = strat(parent[key], child[key], vm, key);\n\t }\n\t return options\n\t}\n\t\n\t/**\n\t * Resolve an asset.\n\t * This function is used because child instances need access\n\t * to assets defined in its ancestor chain.\n\t */\n\tfunction resolveAsset (\n\t options,\n\t type,\n\t id,\n\t warnMissing\n\t) {\n\t /* istanbul ignore if */\n\t if (typeof id !== 'string') {\n\t return\n\t }\n\t var assets = options[type];\n\t // check local registration variations first\n\t if (hasOwn(assets, id)) { return assets[id] }\n\t var camelizedId = camelize(id);\n\t if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }\n\t var PascalCaseId = capitalize(camelizedId);\n\t if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }\n\t // fallback to prototype chain\n\t var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n\t if (false) {\n\t warn(\n\t 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,\n\t options\n\t );\n\t }\n\t return res\n\t}\n\t\n\t/* */\n\t\n\t\n\t\n\tfunction validateProp (\n\t key,\n\t propOptions,\n\t propsData,\n\t vm\n\t) {\n\t var prop = propOptions[key];\n\t var absent = !hasOwn(propsData, key);\n\t var value = propsData[key];\n\t // boolean casting\n\t var booleanIndex = getTypeIndex(Boolean, prop.type);\n\t if (booleanIndex > -1) {\n\t if (absent && !hasOwn(prop, 'default')) {\n\t value = false;\n\t } else if (value === '' || value === hyphenate(key)) {\n\t // only cast empty string / same name to boolean if\n\t // boolean has higher priority\n\t var stringIndex = getTypeIndex(String, prop.type);\n\t if (stringIndex < 0 || booleanIndex < stringIndex) {\n\t value = true;\n\t }\n\t }\n\t }\n\t // check default value\n\t if (value === undefined) {\n\t value = getPropDefaultValue(vm, prop, key);\n\t // since the default value is a fresh copy,\n\t // make sure to observe it.\n\t var prevShouldObserve = shouldObserve;\n\t toggleObserving(true);\n\t observe(value);\n\t toggleObserving(prevShouldObserve);\n\t }\n\t if (\n\t false\n\t ) {\n\t assertProp(prop, key, value, vm, absent);\n\t }\n\t return value\n\t}\n\t\n\t/**\n\t * Get the default value of a prop.\n\t */\n\tfunction getPropDefaultValue (vm, prop, key) {\n\t // no default, return undefined\n\t if (!hasOwn(prop, 'default')) {\n\t return undefined\n\t }\n\t var def = prop.default;\n\t // warn against non-factory defaults for Object & Array\n\t if (false) {\n\t warn(\n\t 'Invalid default value for prop \"' + key + '\": ' +\n\t 'Props with type Object/Array must use a factory function ' +\n\t 'to return the default value.',\n\t vm\n\t );\n\t }\n\t // the raw prop value was also undefined from previous render,\n\t // return previous default value to avoid unnecessary watcher trigger\n\t if (vm && vm.$options.propsData &&\n\t vm.$options.propsData[key] === undefined &&\n\t vm._props[key] !== undefined\n\t ) {\n\t return vm._props[key]\n\t }\n\t // call factory function for non-Function types\n\t // a value is Function if its prototype is function even across different execution context\n\t return typeof def === 'function' && getType(prop.type) !== 'Function'\n\t ? def.call(vm)\n\t : def\n\t}\n\t\n\t/**\n\t * Assert whether a prop is valid.\n\t */\n\tfunction assertProp (\n\t prop,\n\t name,\n\t value,\n\t vm,\n\t absent\n\t) {\n\t if (prop.required && absent) {\n\t warn(\n\t 'Missing required prop: \"' + name + '\"',\n\t vm\n\t );\n\t return\n\t }\n\t if (value == null && !prop.required) {\n\t return\n\t }\n\t var type = prop.type;\n\t var valid = !type || type === true;\n\t var expectedTypes = [];\n\t if (type) {\n\t if (!Array.isArray(type)) {\n\t type = [type];\n\t }\n\t for (var i = 0; i < type.length && !valid; i++) {\n\t var assertedType = assertType(value, type[i]);\n\t expectedTypes.push(assertedType.expectedType || '');\n\t valid = assertedType.valid;\n\t }\n\t }\n\t\n\t if (!valid) {\n\t warn(\n\t getInvalidTypeMessage(name, value, expectedTypes),\n\t vm\n\t );\n\t return\n\t }\n\t var validator = prop.validator;\n\t if (validator) {\n\t if (!validator(value)) {\n\t warn(\n\t 'Invalid prop: custom validator check failed for prop \"' + name + '\".',\n\t vm\n\t );\n\t }\n\t }\n\t}\n\t\n\tvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;\n\t\n\tfunction assertType (value, type) {\n\t var valid;\n\t var expectedType = getType(type);\n\t if (simpleCheckRE.test(expectedType)) {\n\t var t = typeof value;\n\t valid = t === expectedType.toLowerCase();\n\t // for primitive wrapper objects\n\t if (!valid && t === 'object') {\n\t valid = value instanceof type;\n\t }\n\t } else if (expectedType === 'Object') {\n\t valid = isPlainObject(value);\n\t } else if (expectedType === 'Array') {\n\t valid = Array.isArray(value);\n\t } else {\n\t valid = value instanceof type;\n\t }\n\t return {\n\t valid: valid,\n\t expectedType: expectedType\n\t }\n\t}\n\t\n\t/**\n\t * Use function string name to check built-in types,\n\t * because a simple equality check will fail when running\n\t * across different vms / iframes.\n\t */\n\tfunction getType (fn) {\n\t var match = fn && fn.toString().match(/^\\s*function (\\w+)/);\n\t return match ? match[1] : ''\n\t}\n\t\n\tfunction isSameType (a, b) {\n\t return getType(a) === getType(b)\n\t}\n\t\n\tfunction getTypeIndex (type, expectedTypes) {\n\t if (!Array.isArray(expectedTypes)) {\n\t return isSameType(expectedTypes, type) ? 0 : -1\n\t }\n\t for (var i = 0, len = expectedTypes.length; i < len; i++) {\n\t if (isSameType(expectedTypes[i], type)) {\n\t return i\n\t }\n\t }\n\t return -1\n\t}\n\t\n\tfunction getInvalidTypeMessage (name, value, expectedTypes) {\n\t var message = \"Invalid prop: type check failed for prop \\\"\" + name + \"\\\".\" +\n\t \" Expected \" + (expectedTypes.map(capitalize).join(', '));\n\t var expectedType = expectedTypes[0];\n\t var receivedType = toRawType(value);\n\t var expectedValue = styleValue(value, expectedType);\n\t var receivedValue = styleValue(value, receivedType);\n\t // check if we need to specify expected value\n\t if (expectedTypes.length === 1 &&\n\t isExplicable(expectedType) &&\n\t !isBoolean(expectedType, receivedType)) {\n\t message += \" with value \" + expectedValue;\n\t }\n\t message += \", got \" + receivedType + \" \";\n\t // check if we need to specify received value\n\t if (isExplicable(receivedType)) {\n\t message += \"with value \" + receivedValue + \".\";\n\t }\n\t return message\n\t}\n\t\n\tfunction styleValue (value, type) {\n\t if (type === 'String') {\n\t return (\"\\\"\" + value + \"\\\"\")\n\t } else if (type === 'Number') {\n\t return (\"\" + (Number(value)))\n\t } else {\n\t return (\"\" + value)\n\t }\n\t}\n\t\n\tfunction isExplicable (value) {\n\t var explicitTypes = ['string', 'number', 'boolean'];\n\t return explicitTypes.some(function (elem) { return value.toLowerCase() === elem; })\n\t}\n\t\n\tfunction isBoolean () {\n\t var args = [], len = arguments.length;\n\t while ( len-- ) args[ len ] = arguments[ len ];\n\t\n\t return args.some(function (elem) { return elem.toLowerCase() === 'boolean'; })\n\t}\n\t\n\t/* */\n\t\n\tfunction handleError (err, vm, info) {\n\t if (vm) {\n\t var cur = vm;\n\t while ((cur = cur.$parent)) {\n\t var hooks = cur.$options.errorCaptured;\n\t if (hooks) {\n\t for (var i = 0; i < hooks.length; i++) {\n\t try {\n\t var capture = hooks[i].call(cur, err, vm, info) === false;\n\t if (capture) { return }\n\t } catch (e) {\n\t globalHandleError(e, cur, 'errorCaptured hook');\n\t }\n\t }\n\t }\n\t }\n\t }\n\t globalHandleError(err, vm, info);\n\t}\n\t\n\tfunction globalHandleError (err, vm, info) {\n\t if (config.errorHandler) {\n\t try {\n\t return config.errorHandler.call(null, err, vm, info)\n\t } catch (e) {\n\t logError(e, null, 'config.errorHandler');\n\t }\n\t }\n\t logError(err, vm, info);\n\t}\n\t\n\tfunction logError (err, vm, info) {\n\t if (false) {\n\t warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n\t }\n\t /* istanbul ignore else */\n\t if ((inBrowser || inWeex) && typeof console !== 'undefined') {\n\t console.error(err);\n\t } else {\n\t throw err\n\t }\n\t}\n\t\n\t/* */\n\t\n\tvar callbacks = [];\n\tvar pending = false;\n\t\n\tfunction flushCallbacks () {\n\t pending = false;\n\t var copies = callbacks.slice(0);\n\t callbacks.length = 0;\n\t for (var i = 0; i < copies.length; i++) {\n\t copies[i]();\n\t }\n\t}\n\t\n\t// Here we have async deferring wrappers using both microtasks and (macro) tasks.\n\t// In < 2.4 we used microtasks everywhere, but there are some scenarios where\n\t// microtasks have too high a priority and fire in between supposedly\n\t// sequential events (e.g. #4521, #6690) or even between bubbling of the same\n\t// event (#6566). However, using (macro) tasks everywhere also has subtle problems\n\t// when state is changed right before repaint (e.g. #6813, out-in transitions).\n\t// Here we use microtask by default, but expose a way to force (macro) task when\n\t// needed (e.g. in event handlers attached by v-on).\n\tvar microTimerFunc;\n\tvar macroTimerFunc;\n\tvar useMacroTask = false;\n\t\n\t// Determine (macro) task defer implementation.\n\t// Technically setImmediate should be the ideal choice, but it's only available\n\t// in IE. The only polyfill that consistently queues the callback after all DOM\n\t// events triggered in the same loop is by using MessageChannel.\n\t/* istanbul ignore if */\n\tif (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\n\t macroTimerFunc = function () {\n\t setImmediate(flushCallbacks);\n\t };\n\t} else if (typeof MessageChannel !== 'undefined' && (\n\t isNative(MessageChannel) ||\n\t // PhantomJS\n\t MessageChannel.toString() === '[object MessageChannelConstructor]'\n\t)) {\n\t var channel = new MessageChannel();\n\t var port = channel.port2;\n\t channel.port1.onmessage = flushCallbacks;\n\t macroTimerFunc = function () {\n\t port.postMessage(1);\n\t };\n\t} else {\n\t /* istanbul ignore next */\n\t macroTimerFunc = function () {\n\t setTimeout(flushCallbacks, 0);\n\t };\n\t}\n\t\n\t// Determine microtask defer implementation.\n\t/* istanbul ignore next, $flow-disable-line */\n\tif (typeof Promise !== 'undefined' && isNative(Promise)) {\n\t var p = Promise.resolve();\n\t microTimerFunc = function () {\n\t p.then(flushCallbacks);\n\t // in problematic UIWebViews, Promise.then doesn't completely break, but\n\t // it can get stuck in a weird state where callbacks are pushed into the\n\t // microtask queue but the queue isn't being flushed, until the browser\n\t // needs to do some other work, e.g. handle a timer. Therefore we can\n\t // \"force\" the microtask queue to be flushed by adding an empty timer.\n\t if (isIOS) { setTimeout(noop); }\n\t };\n\t} else {\n\t // fallback to macro\n\t microTimerFunc = macroTimerFunc;\n\t}\n\t\n\t/**\n\t * Wrap a function so that if any code inside triggers state change,\n\t * the changes are queued using a (macro) task instead of a microtask.\n\t */\n\tfunction withMacroTask (fn) {\n\t return fn._withTask || (fn._withTask = function () {\n\t useMacroTask = true;\n\t try {\n\t return fn.apply(null, arguments)\n\t } finally {\n\t useMacroTask = false; \n\t }\n\t })\n\t}\n\t\n\tfunction nextTick (cb, ctx) {\n\t var _resolve;\n\t callbacks.push(function () {\n\t if (cb) {\n\t try {\n\t cb.call(ctx);\n\t } catch (e) {\n\t handleError(e, ctx, 'nextTick');\n\t }\n\t } else if (_resolve) {\n\t _resolve(ctx);\n\t }\n\t });\n\t if (!pending) {\n\t pending = true;\n\t if (useMacroTask) {\n\t macroTimerFunc();\n\t } else {\n\t microTimerFunc();\n\t }\n\t }\n\t // $flow-disable-line\n\t if (!cb && typeof Promise !== 'undefined') {\n\t return new Promise(function (resolve) {\n\t _resolve = resolve;\n\t })\n\t }\n\t}\n\t\n\t/* */\n\t\n\t/* not type checking this file because flow doesn't play well with Proxy */\n\t\n\tvar initProxy;\n\t\n\tif (false) {\n\t var allowedGlobals = makeMap(\n\t 'Infinity,undefined,NaN,isFinite,isNaN,' +\n\t 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\n\t 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +\n\t 'require' // for Webpack/Browserify\n\t );\n\t\n\t var warnNonPresent = function (target, key) {\n\t warn(\n\t \"Property or method \\\"\" + key + \"\\\" is not defined on the instance but \" +\n\t 'referenced during render. Make sure that this property is reactive, ' +\n\t 'either in the data option, or for class-based components, by ' +\n\t 'initializing the property. ' +\n\t 'See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',\n\t target\n\t );\n\t };\n\t\n\t var warnReservedPrefix = function (target, key) {\n\t warn(\n\t \"Property \\\"\" + key + \"\\\" must be accessed with \\\"$data.\" + key + \"\\\" because \" +\n\t 'properties starting with \"$\" or \"_\" are not proxied in the Vue instance to ' +\n\t 'prevent conflicts with Vue internals' +\n\t 'See: https://vuejs.org/v2/api/#data',\n\t target\n\t );\n\t };\n\t\n\t var hasProxy =\n\t typeof Proxy !== 'undefined' && isNative(Proxy);\n\t\n\t if (hasProxy) {\n\t var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');\n\t config.keyCodes = new Proxy(config.keyCodes, {\n\t set: function set (target, key, value) {\n\t if (isBuiltInModifier(key)) {\n\t warn((\"Avoid overwriting built-in modifier in config.keyCodes: .\" + key));\n\t return false\n\t } else {\n\t target[key] = value;\n\t return true\n\t }\n\t }\n\t });\n\t }\n\t\n\t var hasHandler = {\n\t has: function has (target, key) {\n\t var has = key in target;\n\t var isAllowed = allowedGlobals(key) ||\n\t (typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data));\n\t if (!has && !isAllowed) {\n\t if (key in target.$data) { warnReservedPrefix(target, key); }\n\t else { warnNonPresent(target, key); }\n\t }\n\t return has || !isAllowed\n\t }\n\t };\n\t\n\t var getHandler = {\n\t get: function get (target, key) {\n\t if (typeof key === 'string' && !(key in target)) {\n\t if (key in target.$data) { warnReservedPrefix(target, key); }\n\t else { warnNonPresent(target, key); }\n\t }\n\t return target[key]\n\t }\n\t };\n\t\n\t initProxy = function initProxy (vm) {\n\t if (hasProxy) {\n\t // determine which proxy handler to use\n\t var options = vm.$options;\n\t var handlers = options.render && options.render._withStripped\n\t ? getHandler\n\t : hasHandler;\n\t vm._renderProxy = new Proxy(vm, handlers);\n\t } else {\n\t vm._renderProxy = vm;\n\t }\n\t };\n\t}\n\t\n\t/* */\n\t\n\tvar seenObjects = new _Set();\n\t\n\t/**\n\t * Recursively traverse an object to evoke all converted\n\t * getters, so that every nested property inside the object\n\t * is collected as a \"deep\" dependency.\n\t */\n\tfunction traverse (val) {\n\t _traverse(val, seenObjects);\n\t seenObjects.clear();\n\t}\n\t\n\tfunction _traverse (val, seen) {\n\t var i, keys;\n\t var isA = Array.isArray(val);\n\t if ((!isA && !isObject(val)) || Object.isFrozen(val) || val instanceof VNode) {\n\t return\n\t }\n\t if (val.__ob__) {\n\t var depId = val.__ob__.dep.id;\n\t if (seen.has(depId)) {\n\t return\n\t }\n\t seen.add(depId);\n\t }\n\t if (isA) {\n\t i = val.length;\n\t while (i--) { _traverse(val[i], seen); }\n\t } else {\n\t keys = Object.keys(val);\n\t i = keys.length;\n\t while (i--) { _traverse(val[keys[i]], seen); }\n\t }\n\t}\n\t\n\tvar mark;\n\tvar measure;\n\t\n\tif (false) {\n\t var perf = inBrowser && window.performance;\n\t /* istanbul ignore if */\n\t if (\n\t perf &&\n\t perf.mark &&\n\t perf.measure &&\n\t perf.clearMarks &&\n\t perf.clearMeasures\n\t ) {\n\t mark = function (tag) { return perf.mark(tag); };\n\t measure = function (name, startTag, endTag) {\n\t perf.measure(name, startTag, endTag);\n\t perf.clearMarks(startTag);\n\t perf.clearMarks(endTag);\n\t perf.clearMeasures(name);\n\t };\n\t }\n\t}\n\t\n\t/* */\n\t\n\tvar normalizeEvent = cached(function (name) {\n\t var passive = name.charAt(0) === '&';\n\t name = passive ? name.slice(1) : name;\n\t var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first\n\t name = once$$1 ? name.slice(1) : name;\n\t var capture = name.charAt(0) === '!';\n\t name = capture ? name.slice(1) : name;\n\t return {\n\t name: name,\n\t once: once$$1,\n\t capture: capture,\n\t passive: passive\n\t }\n\t});\n\t\n\tfunction createFnInvoker (fns) {\n\t function invoker () {\n\t var arguments$1 = arguments;\n\t\n\t var fns = invoker.fns;\n\t if (Array.isArray(fns)) {\n\t var cloned = fns.slice();\n\t for (var i = 0; i < cloned.length; i++) {\n\t cloned[i].apply(null, arguments$1);\n\t }\n\t } else {\n\t // return handler return value for single handlers\n\t return fns.apply(null, arguments)\n\t }\n\t }\n\t invoker.fns = fns;\n\t return invoker\n\t}\n\t\n\tfunction updateListeners (\n\t on,\n\t oldOn,\n\t add,\n\t remove$$1,\n\t createOnceHandler,\n\t vm\n\t) {\n\t var name, def$$1, cur, old, event;\n\t for (name in on) {\n\t def$$1 = cur = on[name];\n\t old = oldOn[name];\n\t event = normalizeEvent(name);\n\t if (isUndef(cur)) {\n\t (\"production\") !== 'production' && warn(\n\t \"Invalid handler for event \\\"\" + (event.name) + \"\\\": got \" + String(cur),\n\t vm\n\t );\n\t } else if (isUndef(old)) {\n\t if (isUndef(cur.fns)) {\n\t cur = on[name] = createFnInvoker(cur);\n\t }\n\t if (isTrue(event.once)) {\n\t cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n\t }\n\t add(event.name, cur, event.capture, event.passive, event.params);\n\t } else if (cur !== old) {\n\t old.fns = cur;\n\t on[name] = old;\n\t }\n\t }\n\t for (name in oldOn) {\n\t if (isUndef(on[name])) {\n\t event = normalizeEvent(name);\n\t remove$$1(event.name, oldOn[name], event.capture);\n\t }\n\t }\n\t}\n\t\n\t/* */\n\t\n\tfunction mergeVNodeHook (def, hookKey, hook) {\n\t if (def instanceof VNode) {\n\t def = def.data.hook || (def.data.hook = {});\n\t }\n\t var invoker;\n\t var oldHook = def[hookKey];\n\t\n\t function wrappedHook () {\n\t hook.apply(this, arguments);\n\t // important: remove merged hook to ensure it's called only once\n\t // and prevent memory leak\n\t remove(invoker.fns, wrappedHook);\n\t }\n\t\n\t if (isUndef(oldHook)) {\n\t // no existing hook\n\t invoker = createFnInvoker([wrappedHook]);\n\t } else {\n\t /* istanbul ignore if */\n\t if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n\t // already a merged invoker\n\t invoker = oldHook;\n\t invoker.fns.push(wrappedHook);\n\t } else {\n\t // existing plain hook\n\t invoker = createFnInvoker([oldHook, wrappedHook]);\n\t }\n\t }\n\t\n\t invoker.merged = true;\n\t def[hookKey] = invoker;\n\t}\n\t\n\t/* */\n\t\n\tfunction extractPropsFromVNodeData (\n\t data,\n\t Ctor,\n\t tag\n\t) {\n\t // we are only extracting raw values here.\n\t // validation and default values are handled in the child\n\t // component itself.\n\t var propOptions = Ctor.options.props;\n\t if (isUndef(propOptions)) {\n\t return\n\t }\n\t var res = {};\n\t var attrs = data.attrs;\n\t var props = data.props;\n\t if (isDef(attrs) || isDef(props)) {\n\t for (var key in propOptions) {\n\t var altKey = hyphenate(key);\n\t if (false) {\n\t var keyInLowerCase = key.toLowerCase();\n\t if (\n\t key !== keyInLowerCase &&\n\t attrs && hasOwn(attrs, keyInLowerCase)\n\t ) {\n\t tip(\n\t \"Prop \\\"\" + keyInLowerCase + \"\\\" is passed to component \" +\n\t (formatComponentName(tag || Ctor)) + \", but the declared prop name is\" +\n\t \" \\\"\" + key + \"\\\". \" +\n\t \"Note that HTML attributes are case-insensitive and camelCased \" +\n\t \"props need to use their kebab-case equivalents when using in-DOM \" +\n\t \"templates. You should probably use \\\"\" + altKey + \"\\\" instead of \\\"\" + key + \"\\\".\"\n\t );\n\t }\n\t }\n\t checkProp(res, props, key, altKey, true) ||\n\t checkProp(res, attrs, key, altKey, false);\n\t }\n\t }\n\t return res\n\t}\n\t\n\tfunction checkProp (\n\t res,\n\t hash,\n\t key,\n\t altKey,\n\t preserve\n\t) {\n\t if (isDef(hash)) {\n\t if (hasOwn(hash, key)) {\n\t res[key] = hash[key];\n\t if (!preserve) {\n\t delete hash[key];\n\t }\n\t return true\n\t } else if (hasOwn(hash, altKey)) {\n\t res[key] = hash[altKey];\n\t if (!preserve) {\n\t delete hash[altKey];\n\t }\n\t return true\n\t }\n\t }\n\t return false\n\t}\n\t\n\t/* */\n\t\n\t// The template compiler attempts to minimize the need for normalization by\n\t// statically analyzing the template at compile time.\n\t//\n\t// For plain HTML markup, normalization can be completely skipped because the\n\t// generated render function is guaranteed to return Array. There are\n\t// two cases where extra normalization is needed:\n\t\n\t// 1. When the children contains components - because a functional component\n\t// may return an Array instead of a single root. In this case, just a simple\n\t// normalization is needed - if any child is an Array, we flatten the whole\n\t// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n\t// because functional components already normalize their own children.\n\tfunction simpleNormalizeChildren (children) {\n\t for (var i = 0; i < children.length; i++) {\n\t if (Array.isArray(children[i])) {\n\t return Array.prototype.concat.apply([], children)\n\t }\n\t }\n\t return children\n\t}\n\t\n\t// 2. When the children contains constructs that always generated nested Arrays,\n\t// e.g.