From 48b6ae2314ffc087d1db33b0caaee34b877120c3 Mon Sep 17 00:00:00 2001 From: dtluna Date: Mon, 10 Apr 2017 15:41:21 +0300 Subject: [PATCH 01/37] Add GET route for verify_credentials --- lib/pleroma/web/router.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 52030d684..0d2432b9e 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -30,6 +30,7 @@ defmodule Pleroma.Web.Router do scope "/api", Pleroma.Web do pipe_through :authenticated_api + get "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials post "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials post "/statuses/update", TwitterAPI.Controller, :status_update get "/statuses/friends_timeline", TwitterAPI.Controller, :friends_timeline From 6f99765fbace8081455e57cf2077ba42fd06d338 Mon Sep 17 00:00:00 2001 From: dtluna Date: Mon, 10 Apr 2017 18:26:14 +0300 Subject: [PATCH 02/37] Add home timeline --- lib/pleroma/web/router.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 52030d684..66dcbb118 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -32,6 +32,7 @@ defmodule Pleroma.Web.Router do post "/account/verify_credentials", TwitterAPI.Controller, :verify_credentials post "/statuses/update", TwitterAPI.Controller, :status_update + get "/statuses/home_timeline", TwitterAPI.Controller, :friends_timeline get "/statuses/friends_timeline", TwitterAPI.Controller, :friends_timeline post "/friendships/create", TwitterAPI.Controller, :follow post "/friendships/destroy", TwitterAPI.Controller, :unfollow From 15655d992e8ba2aa8d4680eb38a8d3039b58703a Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 12 Apr 2017 16:38:55 +0200 Subject: [PATCH 03/37] Fix user representation after following. --- lib/pleroma/web/twitter_api/twitter_api_controller.ex | 2 +- test/web/twitter_api/twitter_api_controller_test.exs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index f2c893e96..c3a58b63a 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -44,7 +44,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do end def follow(%{assigns: %{user: user}} = conn, %{ "user_id" => followed_id }) do - { :ok, _user, follower, _activity } = TwitterAPI.follow(user, followed_id) + { :ok, user, follower, _activity } = TwitterAPI.follow(user, followed_id) response = follower |> UserRepresenter.to_json(%{for: user}) diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index 5aad12593..7c75ff757 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -127,7 +127,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do current_user = Repo.get(User, current_user.id) assert current_user.following == [User.ap_followers(followed)] - assert json_response(conn, 200) == UserRepresenter.to_map(followed) + assert json_response(conn, 200) == UserRepresenter.to_map(followed, %{for: current_user}) end end @@ -150,7 +150,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do current_user = Repo.get(User, current_user.id) assert current_user.following == [] - assert json_response(conn, 200) == UserRepresenter.to_map(followed) + assert json_response(conn, 200) == UserRepresenter.to_map(followed, %{for: current_user}) end end From 8eea09889b114a27eaf6ca1998b4d3ca3505ad51 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 12 Apr 2017 16:45:23 +0200 Subject: [PATCH 04/37] Return directly addressed activities in friends timeline. --- lib/pleroma/web/twitter_api/twitter_api.ex | 2 +- test/web/twitter_api/twitter_api_test.exs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 0a942e880..0217b28d6 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -69,7 +69,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do end def fetch_friend_statuses(user, opts \\ %{}) do - ActivityPub.fetch_activities(user.following, opts) + ActivityPub.fetch_activities([user.ap_id | user.following], opts) |> activities_to_statuses(%{for: user}) end diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index ad932131a..dcb38b8b1 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -82,14 +82,16 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do test "fetch friends' statuses" do ActivityBuilder.public_and_non_public + {:ok, activity} = ActivityBuilder.insert(%{"to" => ["someguy/followers"]}) + {:ok, direct_activity} = ActivityBuilder.insert(%{"to" => ["some other id"]}) {:ok, user} = UserBuilder.insert(%{ap_id: "some other id", following: ["someguy/followers"]}) statuses = TwitterAPI.fetch_friend_statuses(user) activity_user = Repo.get_by(User, ap_id: activity.data["actor"]) - assert length(statuses) == 1 + assert length(statuses) == 2 assert Enum.at(statuses, 0) == ActivityRepresenter.to_map(activity, %{user: activity_user}) end From 6a179a44bec113b8fb9a8092f791111a318e7a53 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 12 Apr 2017 16:53:46 +0200 Subject: [PATCH 05/37] Test friends timeline more thoroughly. --- test/web/twitter_api/twitter_api_test.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index dcb38b8b1..e8853a910 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -93,6 +93,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do assert length(statuses) == 2 assert Enum.at(statuses, 0) == ActivityRepresenter.to_map(activity, %{user: activity_user}) + assert Enum.at(statuses, 1) == ActivityRepresenter.to_map(direct_activity, %{user: activity_user, mentioned: [user]}) end test "fetch a single status" do From b666f11d2fc32b10dce0d36e72cc285377c28f18 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 12 Apr 2017 17:11:01 +0200 Subject: [PATCH 06/37] Add max_id fetching to activity fetching. --- lib/pleroma/web/activity_pub/activity_pub.ex | 6 ++++++ test/web/activity_pub/activity_pub_test.exs | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index ec9c5e970..75e4101f2 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -54,6 +54,12 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do query = from activity in query, where: activity.id > ^since_id + query = if opts["max_id"] do + from activity in query, where: activity.id < ^opts["max_id"] + else + query + end + Repo.all(query) |> Enum.reverse end diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 2c6f67621..5cfd46238 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -94,6 +94,20 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do assert length(activities) == 10 assert last == last_expected end + + test "retrieves ids up to max_id" do + _first_activities = ActivityBuilder.insert_list(10) + activities = ActivityBuilder.insert_list(20) + later_activities = ActivityBuilder.insert_list(10) + max_id = List.first(later_activities).id + last_expected = List.last(activities) + + activities = ActivityPub.fetch_public_activities(%{"max_id" => max_id}) + last = List.last(activities) + + assert length(activities) == 20 + assert last == last_expected + end end describe "uploading files" do From 1b086834bd83a490e55d44ffa5167c8856db92d9 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 12 Apr 2017 17:22:29 +0200 Subject: [PATCH 07/37] Don't return html in the text field. --- .../web/twitter_api/representers/activity_representer.ex | 2 +- .../twitter_api/representers/activity_representer_test.exs | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex index 5fe0df359..b0dd85bbb 100644 --- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/activity_representer.ex @@ -33,7 +33,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do "user" => UserRepresenter.to_map(user, opts), "attentions" => [], "statusnet_html" => content, - "text" => content, + "text" => HtmlSanitizeEx.strip_tags(content), "is_local" => true, "is_post_verb" => true, "created_at" => published, diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs index 256d920c0..6b0da810f 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -23,7 +23,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do } } - content = "Some content mentioning @shp" + content_html = "Some content mentioning @shp" + content = HtmlSanitizeEx.strip_tags(content_html) date = DateTime.utc_now() |> DateTime.to_iso8601 activity = %Activity{ @@ -39,7 +40,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do "object" => %{ "published" => date, "type" => "Note", - "content" => content, + "content" => content_html, "inReplyToStatusId" => 213123, "statusnetConversationId" => 4711, "attachment" => [ @@ -56,7 +57,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do "user" => UserRepresenter.to_map(user, %{for: follower}), "is_local" => true, "attentions" => [], - "statusnet_html" => content, + "statusnet_html" => content_html, "text" => content, "is_post_verb" => true, "created_at" => date, From 129e30f4658312e8bb1737fd5577497107fbdeb1 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 12 Apr 2017 17:47:05 +0200 Subject: [PATCH 08/37] Add basic config endpoint. --- lib/pleroma/web/router.ex | 1 + .../web/twitter_api/twitter_api_controller.ex | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 52030d684..17eab293a 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -25,6 +25,7 @@ defmodule Pleroma.Web.Router do get "/statuses/public_and_external_timeline", TwitterAPI.Controller, :public_timeline get "/statuses/show/:id", TwitterAPI.Controller, :fetch_status get "/statusnet/conversation/:id", TwitterAPI.Controller, :fetch_conversation + get "/statusnet/config", TwitterAPI.Controller, :config end scope "/api", Pleroma.Web do diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index c3a58b63a..3f299a941 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -83,6 +83,20 @@ defmodule Pleroma.Web.TwitterAPI.Controller do |> send_resp(200, response) end + def config(conn, _params) do + response = %{ + site: %{ + name: Pleroma.Web.base_url, + server: Pleroma.Web.base_url, + textlimit: -1 + } + } + |> Poison.encode! + + conn + |> json_reply(200, response) + end + defp json_reply(conn, status, json) do conn |> put_resp_content_type("application/json") From d2bf099ae66b7332128c854f322bb8a00eb62212 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Wed, 12 Apr 2017 19:34:58 +0200 Subject: [PATCH 09/37] Fix twitter api date. --- .../representers/activity_representer.ex | 19 ++++++++++++++++--- mix.exs | 1 + mix.lock | 12 ++++++++++-- .../activity_representer_test.exs | 4 ++-- 4 files changed, 29 insertions(+), 7 deletions(-) diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex index b0dd85bbb..9e4ffaefe 100644 --- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/activity_representer.ex @@ -3,7 +3,11 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do alias Pleroma.Web.TwitterAPI.Representers.{UserRepresenter, ObjectRepresenter} alias Pleroma.Activity + def to_map(%Activity{data: %{"type" => "Follow"}} = activity, %{user: user} = opts) do + created_at = get_in(activity.data, ["published"]) + |> date_to_asctime + %{ "id" => activity.id, "user" => UserRepresenter.to_map(user, opts), @@ -12,14 +16,15 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do "text" => "", "is_local" => true, "is_post_verb" => false, - "created_at" => get_in(activity.data, ["published"]), + "created_at" => created_at, "in_reply_to_status_id" => nil, } end def to_map(%Activity{} = activity, %{user: user} = opts) do content = get_in(activity.data, ["object", "content"]) - published = get_in(activity.data, ["object", "published"]) + created_at = get_in(activity.data, ["object", "published"]) + |> date_to_asctime mentions = opts[:mentioned] || [] @@ -36,11 +41,19 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do "text" => HtmlSanitizeEx.strip_tags(content), "is_local" => true, "is_post_verb" => true, - "created_at" => published, + "created_at" => created_at, "in_reply_to_status_id" => activity.data["object"]["inReplyToStatusId"], "statusnet_conversation_id" => activity.data["object"]["statusnetConversationId"], "attachments" => (activity.data["object"]["attachment"] || []) |> ObjectRepresenter.enum_to_list(opts), "attentions" => attentions } end + + defp date_to_asctime(date) do + with {:ok, date, _offset} <- date |> DateTime.from_iso8601 do + Calendar.Strftime.strftime!(date, "%a %b %d %H:%M:%S %z %Y") + else e -> + "" + end + end end diff --git a/mix.exs b/mix.exs index 90ecba514..43a93cc2c 100644 --- a/mix.exs +++ b/mix.exs @@ -37,6 +37,7 @@ defmodule Pleroma.Mixfile do {:comeonin, "~> 3.0"}, {:trailing_format_plug, "~> 0.0.5" }, {:html_sanitize_ex, "~> 1.0.0"}, + {:calendar, "~> 0.16.1"}, {:mix_test_watch, "~> 0.2", only: :dev}] end diff --git a/mix.lock b/mix.lock index 072f5bce9..780a63221 100644 --- a/mix.lock +++ b/mix.lock @@ -1,4 +1,6 @@ -%{"comeonin": {:hex, :comeonin, "3.0.2", "8b213268a6634bd2e31a8035a963e974681d13ccc1f73f2ae664b6ac4e993c96", [:make, :mix], [{:elixir_make, "~> 0.4", [hex: :elixir_make, optional: false]}]}, +%{"calendar": {:hex, :calendar, "0.16.1", "782327ad8bae7c797b887840dc4ddb933f05ce6e333e5b04964d7a5d5f79bde3", [:mix], [{:tzdata, "~> 0.5.8 or ~> 0.1.201603", [hex: :tzdata, optional: false]}]}, + "certifi": {:hex, :certifi, "1.0.0", "1c787a85b1855ba354f0b8920392c19aa1d06b0ee1362f9141279620a5be2039", [:rebar3], []}, + "comeonin": {:hex, :comeonin, "3.0.2", "8b213268a6634bd2e31a8035a963e974681d13ccc1f73f2ae664b6ac4e993c96", [:make, :mix], [{:elixir_make, "~> 0.4", [hex: :elixir_make, optional: false]}]}, "connection": {:hex, :connection, "1.0.4", "a1cae72211f0eef17705aaededacac3eb30e6625b04a6117c1b2db6ace7d5976", [:mix], []}, "cowboy": {:hex, :cowboy, "1.1.2", "61ac29ea970389a88eca5a65601460162d370a70018afe6f949a29dca91f3bb0", [:rebar3], [{:cowlib, "~> 1.0.2", [hex: :cowlib, optional: false]}, {:ranch, "~> 1.3.2", [hex: :ranch, optional: false]}]}, "cowlib": {:hex, :cowlib, "1.0.2", "9d769a1d062c9c3ac753096f868ca121e2730b9a377de23dec0f7e08b1df84ee", [:make], []}, @@ -8,8 +10,12 @@ "elixir_make": {:hex, :elixir_make, "0.4.0", "992f38fabe705bb45821a728f20914c554b276838433349d4f2341f7a687cddf", [:mix], []}, "fs": {:hex, :fs, "2.12.0", "ad631efacc9a5683c8eaa1b274e24fa64a1b8eb30747e9595b93bec7e492e25e", [:rebar3], []}, "gettext": {:hex, :gettext, "0.13.1", "5e0daf4e7636d771c4c71ad5f3f53ba09a9ae5c250e1ab9c42ba9edccc476263", [:mix], []}, + "hackney": {:hex, :hackney, "1.7.1", "e238c52c5df3c3b16ce613d3a51c7220a784d734879b1e231c9babd433ac1cb4", [:rebar3], [{:certifi, "1.0.0", [hex: :certifi, optional: false]}, {:idna, "4.0.0", [hex: :idna, optional: false]}, {:metrics, "1.0.1", [hex: :metrics, optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, optional: false]}]}, "html_sanitize_ex": {:hex, :html_sanitize_ex, "1.0.1", "2572e7122c78ab7e57b613e7c7f5e42bf9b3c25e430e32f23f1413d86db8a0af", [:mix], [{:mochiweb, "~> 2.12.2", [hex: :mochiweb, optional: false]}]}, + "idna": {:hex, :idna, "4.0.0", "10aaa9f79d0b12cf0def53038547855b91144f1bfcc0ec73494f38bb7b9c4961", [:rebar3], []}, + "metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], []}, "mime": {:hex, :mime, "1.1.0", "01c1d6f4083d8aa5c7b8c246ade95139620ef8effb009edde934e0ec3b28090a", [:mix], []}, + "mimerl": {:hex, :mimerl, "1.0.2", "993f9b0e084083405ed8252b99460c4f0563e41729ab42d9074fd5e52439be88", [:rebar3], []}, "mix_test_watch": {:hex, :mix_test_watch, "0.3.3", "70859889a8d1d43d1b75d69d87258a301f43209a17787cdb2bd9cab42adf271d", [:mix], [{:fs, "~> 2.12", [hex: :fs, optional: false]}]}, "mochiweb": {:hex, :mochiweb, "2.12.2", "80804ad342afa3d7f3524040d4eed66ce74b17a555de454ac85b07c479928e46", [:make, :rebar], []}, "phoenix": {:hex, :phoenix, "1.3.0-rc.1", "0d04948a4bd24823f101024c07b6a4d35e58f1fd92a465c1bc75dd37acd1041a", [:mix], [{:cowboy, "~> 1.0", [hex: :cowboy, optional: true]}, {:phoenix_pubsub, "~> 1.0", [hex: :phoenix_pubsub, optional: false]}, {:plug, "~> 1.3.2 or ~> 1.4", [hex: :plug, optional: false]}, {:poison, "~> 2.2 or ~> 3.0", [hex: :poison, optional: false]}]}, @@ -20,4 +26,6 @@ "poolboy": {:hex, :poolboy, "1.5.1", "6b46163901cfd0a1b43d692657ed9d7e599853b3b21b95ae5ae0a777cf9b6ca8", [:rebar], []}, "postgrex": {:hex, :postgrex, "0.13.2", "2b88168fc6a5456a27bfb54ccf0ba4025d274841a7a3af5e5deb1b755d95154e", [:mix], [{:connection, "~> 1.0", [hex: :connection, optional: false]}, {:db_connection, "~> 1.1", [hex: :db_connection, optional: false]}, {:decimal, "~> 1.0", [hex: :decimal, optional: false]}]}, "ranch": {:hex, :ranch, "1.3.2", "e4965a144dc9fbe70e5c077c65e73c57165416a901bd02ea899cfd95aa890986", [:rebar3], []}, - "trailing_format_plug": {:hex, :trailing_format_plug, "0.0.6", "777fd71bbc30e54cb36133bacd38fac88d44be410bc60353fe48e91e14c0b990", [:mix], [{:cowboy, "~> 1.0.0", [hex: :cowboy, optional: false]}, {:plug, "> 0.12.0", [hex: :plug, optional: false]}]}} + "ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.1", "28a4d65b7f59893bc2c7de786dec1e1555bd742d336043fe644ae956c3497fbe", [:make, :rebar], []}, + "trailing_format_plug": {:hex, :trailing_format_plug, "0.0.6", "777fd71bbc30e54cb36133bacd38fac88d44be410bc60353fe48e91e14c0b990", [:mix], [{:cowboy, "~> 1.0.0", [hex: :cowboy, optional: false]}, {:plug, "> 0.12.0", [hex: :plug, optional: false]}]}, + "tzdata": {:hex, :tzdata, "0.5.11", "3d5469a9f46bdf4a8760333dbdabdcc4751325035c454b10521f71e7c611ae50", [:mix], [{:hackney, "~> 1.0", [hex: :hackney, optional: false]}]}} diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs index 6b0da810f..f1f2b4c9c 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -25,7 +25,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do content_html = "Some content mentioning @shp" content = HtmlSanitizeEx.strip_tags(content_html) - date = DateTime.utc_now() |> DateTime.to_iso8601 + date = DateTime.from_naive!(~N[2016-05-24 13:26:08.003], "Etc/UTC") |> DateTime.to_iso8601 activity = %Activity{ id: 1, @@ -60,7 +60,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do "statusnet_html" => content_html, "text" => content, "is_post_verb" => true, - "created_at" => date, + "created_at" => "Tue May 24 13:26:08 +0000 2016", "in_reply_to_status_id" => 213123, "statusnet_conversation_id" => 4711, "attachments" => [ From 1ccbe562c950e588e24822d20f802dd99b01bd79 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 13 Apr 2017 14:56:19 +0200 Subject: [PATCH 10/37] Add actor to objects. --- lib/pleroma/web/twitter_api/twitter_api.ex | 3 ++- test/web/twitter_api/twitter_api_test.exs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 0217b28d6..a195301ee 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -37,7 +37,8 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do "content" => content_html, "published" => date, "context" => context, - "attachment" => attachments + "attachment" => attachments, + "actor" => user.ap_id }, "published" => date, "context" => context diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index e8853a910..a4c9bd7e7 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -32,6 +32,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do assert get_in(activity.data, ["object", "content"]) == "Hello again, @shp." assert get_in(activity.data, ["object", "type"]) == "Note" + assert get_in(activity.data, ["object", "actor"]) == user.ap_id assert get_in(activity.data, ["actor"]) == user.ap_id assert Enum.member?(get_in(activity.data, ["to"]), User.ap_followers(user)) assert Enum.member?(get_in(activity.data, ["to"]), "https://www.w3.org/ns/activitystreams#Public") From 4cac385411b743fce039e0ebe93ce27323e6f231 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 13 Apr 2017 15:49:24 +0200 Subject: [PATCH 11/37] Add factories for testing. --- mix.exs | 1 + mix.lock | 1 + test/support/factory.ex | 47 +++++++++++++++++++++++++++++++++++++++++ test/test_helper.exs | 1 + 4 files changed, 50 insertions(+) create mode 100644 test/support/factory.ex diff --git a/mix.exs b/mix.exs index 43a93cc2c..590ecfb09 100644 --- a/mix.exs +++ b/mix.exs @@ -38,6 +38,7 @@ defmodule Pleroma.Mixfile do {:trailing_format_plug, "~> 0.0.5" }, {:html_sanitize_ex, "~> 1.0.0"}, {:calendar, "~> 0.16.1"}, + {:ex_machina, "~> 2.0", only: :test}, {:mix_test_watch, "~> 0.2", only: :dev}] end diff --git a/mix.lock b/mix.lock index 780a63221..2cf62ddca 100644 --- a/mix.lock +++ b/mix.lock @@ -8,6 +8,7 @@ "decimal": {:hex, :decimal, "1.3.1", "157b3cedb2bfcb5359372a7766dd7a41091ad34578296e951f58a946fcab49c6", [:mix], []}, "ecto": {:hex, :ecto, "2.1.4", "d1ba932813ec0e0d9db481ef2c17777f1cefb11fc90fa7c142ff354972dfba7e", [:mix], [{:db_connection, "~> 1.1", [hex: :db_connection, optional: true]}, {:decimal, "~> 1.2", [hex: :decimal, optional: false]}, {:mariaex, "~> 0.8.0", [hex: :mariaex, optional: true]}, {:poison, "~> 2.2 or ~> 3.0", [hex: :poison, optional: true]}, {:poolboy, "~> 1.5", [hex: :poolboy, optional: false]}, {:postgrex, "~> 0.13.0", [hex: :postgrex, optional: true]}, {:sbroker, "~> 1.0", [hex: :sbroker, optional: true]}]}, "elixir_make": {:hex, :elixir_make, "0.4.0", "992f38fabe705bb45821a728f20914c554b276838433349d4f2341f7a687cddf", [:mix], []}, + "ex_machina": {:hex, :ex_machina, "2.0.0", "ec284c6f57233729cea9319e083f66e613e82549f78eccdb2059aeba5d0df9f3", [:mix], [{:ecto, "~> 2.1", [hex: :ecto, optional: true]}]}, "fs": {:hex, :fs, "2.12.0", "ad631efacc9a5683c8eaa1b274e24fa64a1b8eb30747e9595b93bec7e492e25e", [:rebar3], []}, "gettext": {:hex, :gettext, "0.13.1", "5e0daf4e7636d771c4c71ad5f3f53ba09a9ae5c250e1ab9c42ba9edccc476263", [:mix], []}, "hackney": {:hex, :hackney, "1.7.1", "e238c52c5df3c3b16ce613d3a51c7220a784d734879b1e231c9babd433ac1cb4", [:rebar3], [{:certifi, "1.0.0", [hex: :certifi, optional: false]}, {:idna, "4.0.0", [hex: :idna, optional: false]}, {:metrics, "1.0.1", [hex: :metrics, optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, optional: false]}]}, diff --git a/test/support/factory.ex b/test/support/factory.ex new file mode 100644 index 000000000..fcbdfbd9a --- /dev/null +++ b/test/support/factory.ex @@ -0,0 +1,47 @@ +defmodule Pleroma.Factory do + use ExMachina.Ecto, repo: Pleroma.Repo + + def user_factory do + user = %Pleroma.User{ + name: sequence(:name, &"Test User #{&1}"), + email: sequence(:email, &"user#{&1}@example.com"), + nickname: sequence(:nickname, &"nick#{&1}"), + password_hash: Comeonin.Pbkdf2.hashpwsalt("test"), + bio: sequence(:bio, &"Tester Number #{&1}"), + } + %{ user | ap_id: Pleroma.User.ap_id(user) } + end + + def note_factory do + text = sequence(:text, &"This is note #{&1}") + + user = insert(:user) + data = %{ + "type" => "Note", + "content" => text, + "id" => Pleroma.Web.ActivityPub.ActivityPub.generate_object_id, + "actor" => user.ap_id, + "to" => ["https://www.w3.org/ns/activitystreams#Public"], + "published_at" => DateTime.utc_now() |> DateTime.to_iso8601 + } + + %Pleroma.Object{ + data: data + } + end + + def note_activity_factory do + note = insert(:note) + data = %{ + "id" => Pleroma.Web.ActivityPub.ActivityPub.generate_activity_id, + "actor" => note.data["actor"], + "to" => note.data["to"], + "object" => note.data, + "published_at" => DateTime.utc_now() |> DateTime.to_iso8601 + } + + %Pleroma.Activity{ + data: data + } + end +end diff --git a/test/test_helper.exs b/test/test_helper.exs index 602c5fca4..a2a9c7fd9 100644 --- a/test/test_helper.exs +++ b/test/test_helper.exs @@ -1,4 +1,5 @@ ExUnit.start() Ecto.Adapters.SQL.Sandbox.mode(Pleroma.Repo, :manual) +{:ok, _} = Application.ensure_all_started(:ex_machina) From f97c8e43792f76e84c436e75b0c0893d3c16d7d8 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 13 Apr 2017 15:49:42 +0200 Subject: [PATCH 12/37] Add utility functions for objects and activities. --- lib/pleroma/activity.ex | 12 ++++++++++++ test/activity_test.exs | 18 ++++++++++++++++++ test/object_test.exs | 11 +++++++++++ 3 files changed, 41 insertions(+) create mode 100644 test/activity_test.exs create mode 100644 test/object_test.exs diff --git a/lib/pleroma/activity.ex b/lib/pleroma/activity.ex index c4efc6283..46568bb13 100644 --- a/lib/pleroma/activity.ex +++ b/lib/pleroma/activity.ex @@ -1,9 +1,21 @@ defmodule Pleroma.Activity do use Ecto.Schema + alias Pleroma.{Repo, Activity} + import Ecto.Query schema "activities" do field :data, :map timestamps() end + + def get_by_ap_id(ap_id) do + Repo.one(from activity in Activity, + where: fragment("? @> ?", activity.data, ^%{id: ap_id})) + end + + def all_by_object_ap_id(ap_id) do + Repo.all(from activity in Activity, + where: fragment("? @> ?", activity.data, ^%{object: %{id: ap_id}})) + end end diff --git a/test/activity_test.exs b/test/activity_test.exs new file mode 100644 index 000000000..ce6eb1545 --- /dev/null +++ b/test/activity_test.exs @@ -0,0 +1,18 @@ +defmodule Pleroma.ActivityTest do + use Pleroma.DataCase + import Pleroma.Factory + + test "returns an activity by it's AP id" do + activity = insert(:note_activity) + found_activity = Pleroma.Activity.get_by_ap_id(activity.data["id"]) + + assert activity == found_activity + end + + test "returns activities by it's objects AP ids" do + activity = insert(:note_activity) + [found_activity] = Pleroma.Activity.all_by_object_ap_id(activity.data["object"]["id"]) + + assert activity == found_activity + end +end diff --git a/test/object_test.exs b/test/object_test.exs new file mode 100644 index 000000000..3ffddbbc5 --- /dev/null +++ b/test/object_test.exs @@ -0,0 +1,11 @@ +defmodule Pleroma.ObjectTest do + use Pleroma.DataCase + import Pleroma.Factory + + test "returns an object by it's AP id" do + object = insert(:note) + found_object = Pleroma.Object.get_by_ap_id(object.data["id"]) + + assert object == found_object + end +end From 1388054796feed8f03d659171bbbc0c21056dd2f Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 13 Apr 2017 15:50:05 +0200 Subject: [PATCH 13/37] Add liking to ActivityPub. --- lib/pleroma/web/activity_pub/activity_pub.ex | 34 ++++++++++++++++++-- test/web/activity_pub/activity_pub_test.exs | 24 ++++++++++++++ 2 files changed, 56 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 75e4101f2..10efa2c9d 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -1,10 +1,12 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do alias Pleroma.Repo - alias Pleroma.{Activity, Object, Upload} + alias Pleroma.{Activity, Object, Upload, User} import Ecto.Query def insert(map) when is_map(map) do - map = Map.put_new_lazy(map, "id", &generate_activity_id/0) + map = map + |> Map.put_new_lazy("id", &generate_activity_id/0) + |> Map.put_new_lazy("published", &make_date/0) map = if is_map(map["object"]) do object = Map.put_new_lazy(map["object"], "id", &generate_object_id/0) @@ -17,6 +19,30 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do Repo.insert(%Activity{data: map}) end + def like(%User{ap_id: ap_id}, object = %Object{data: %{ "id" => id}}) do + data = %{ + "type" => "Like", + "actor" => ap_id, + "object" => id + } + + {:ok, activity} = insert(data) + like_count = (object.data["like_count"] || 0) + 1 + new_data = object.data |> Map.put("like_count", like_count) + changeset = Ecto.Changeset.change(object, data: new_data) + {:ok, object} = Repo.update(changeset) + + # Update activities that already had this. Could be done in a seperate process. + relevant_activities = Activity.all_by_object_ap_id(id) + Enum.map(relevant_activities, fn (activity) -> + new_activity_data = activity.data |> Map.put("object", new_data) + changeset = Ecto.Changeset.change(activity, data: new_activity_data) + Repo.update(changeset) + end) + + {:ok, activity, object} + end + def generate_activity_id do generate_id("activities") end @@ -74,4 +100,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do data = Upload.store(file) Repo.insert(%Object{data: data}) end + + defp make_date do + DateTime.utc_now() |> DateTime.to_iso8601 + end end diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 5cfd46238..2bdd439b0 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -4,6 +4,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do alias Pleroma.{Activity, Object} alias Pleroma.Builders.ActivityBuilder + import Pleroma.Factory + describe "insertion" do test "inserts a given map into the activity database, giving it an id if it has none." do data = %{ @@ -110,6 +112,28 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do end end + describe "like an object" do + test "adds a like activity to the db" do + note_activity = insert(:note_activity) + object = Object.get_by_ap_id(note_activity.data["object"]["id"]) + user = insert(:user) + user_two = insert(:user) + + {:ok, like_activity, object} = ActivityPub.like(user, object) + + assert like_activity.data["actor"] == user.ap_id + assert like_activity.data["type"] == "Like" + assert like_activity.data["object"] == object.data["id"] + assert object.data["like_count"] == 1 + + [note_activity] = Activity.all_by_object_ap_id(object.data["id"]) + assert note_activity.data["object"]["like_count"] == 1 + + {:ok, _like_activity, object} = ActivityPub.like(user_two, object) + assert object.data["like_count"] == 2 + end + end + describe "uploading files" do test "copies the file to the configured folder" do file = %Plug.Upload{content_type: "image/jpg", path: Path.absname("test/fixtures/image.jpg"), filename: "an_image.jpg"} From 653d605e14d25658d398148748335dc58f9f2229 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 13 Apr 2017 16:19:07 +0200 Subject: [PATCH 14/37] Add favoriting to twitter api. --- .../representers/activity_representer.ex | 6 ++++-- lib/pleroma/web/twitter_api/twitter_api.ex | 13 +++++++++++++ .../representers/activity_representer_test.exs | 6 ++++-- test/web/twitter_api/twitter_api_test.exs | 13 +++++++++++++ 4 files changed, 34 insertions(+), 4 deletions(-) diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex index 9e4ffaefe..6a5304049 100644 --- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/activity_representer.ex @@ -25,6 +25,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do content = get_in(activity.data, ["object", "content"]) created_at = get_in(activity.data, ["object", "published"]) |> date_to_asctime + like_count = get_in(activity.data, ["object", "like_count"]) || 0 mentions = opts[:mentioned] || [] @@ -45,14 +46,15 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do "in_reply_to_status_id" => activity.data["object"]["inReplyToStatusId"], "statusnet_conversation_id" => activity.data["object"]["statusnetConversationId"], "attachments" => (activity.data["object"]["attachment"] || []) |> ObjectRepresenter.enum_to_list(opts), - "attentions" => attentions + "attentions" => attentions, + "fave_num" => like_count } end defp date_to_asctime(date) do with {:ok, date, _offset} <- date |> DateTime.from_iso8601 do Calendar.Strftime.strftime!(date, "%a %b %d %H:%M:%S %z %Y") - else e -> + else _e -> "" end end diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index a195301ee..2679397d9 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -124,6 +124,19 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do end end + def favorite(%User{} = user, %Activity{data: %{"object" => object}} = activity) do + object = Object.get_by_ap_id(object["id"]) + + {:ok, _like_activity, object} = ActivityPub.like(user, object) + new_data = activity.data + |> Map.put("object", object.data) + + status = %{activity | data: new_data} + |> activity_to_status(%{for: user}) + + {:ok, status} + end + def upload(%Plug.Upload{} = file) do {:ok, object} = ActivityPub.upload(file) diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs index f1f2b4c9c..70df79a77 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -45,7 +45,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do "statusnetConversationId" => 4711, "attachment" => [ object - ] + ], + "like_count" => 5 }, "published" => date } @@ -68,7 +69,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do ], "attentions" => [ UserRepresenter.to_map(mentioned_user, %{for: follower}) - ] + ], + "fave_num" => 5 } assert ActivityRepresenter.to_map(activity, %{user: user, for: follower, mentioned: [mentioned_user]}) == expected_status diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index a4c9bd7e7..341622758 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -5,6 +5,8 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do alias Pleroma.{Activity, User, Object, Repo} alias Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter + import Pleroma.Factory + test "create a status" do user = UserBuilder.build(%{ap_id: "142344"}) _mentioned_user = UserBuilder.insert(%{nickname: "shp", ap_id: "shp"}) @@ -177,4 +179,15 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do assert TwitterAPI.add_user_links(text, mentions) == expected_text end + + test "it favorites a status, returns the updated status" do + user = insert(:user) + note_activity = insert(:note_activity) + activity_user = Repo.get_by!(User, ap_id: note_activity.data["actor"]) + + {:ok, status} = TwitterAPI.favorite(user, note_activity) + updated_activity = Activity.get_by_ap_id(note_activity.data["id"]) + + assert status == ActivityRepresenter.to_map(updated_activity, %{user: activity_user, for: user}) + end end From 834c84b5dc5821d04f5a24b1202c6bbf9f32094f Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 13 Apr 2017 17:05:35 +0200 Subject: [PATCH 15/37] Update factory. --- test/support/factory.ex | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/test/support/factory.ex b/test/support/factory.ex index fcbdfbd9a..af8e58bd1 100644 --- a/test/support/factory.ex +++ b/test/support/factory.ex @@ -34,6 +34,7 @@ defmodule Pleroma.Factory do note = insert(:note) data = %{ "id" => Pleroma.Web.ActivityPub.ActivityPub.generate_activity_id, + "type" => "Create", "actor" => note.data["actor"], "to" => note.data["to"], "object" => note.data, @@ -44,4 +45,21 @@ defmodule Pleroma.Factory do data: data } end + + def like_activity_factory do + note_activity = insert(:note_activity) + user = insert(:user) + + data = %{ + "id" => Pleroma.Web.ActivityPub.ActivityPub.generate_activity_id, + "actor" => user.ap_id, + "type" => "Like", + "object" => note_activity.data["object"]["id"], + "published_at" => DateTime.utc_now() |> DateTime.to_iso8601 + } + + %Pleroma.Activity{ + data: data + } + end end From d0da40dc81f5db2b3d335fb47d00d0ac52c2cba3 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 13 Apr 2017 17:05:53 +0200 Subject: [PATCH 16/37] Display like activities. --- .../representers/activity_representer.ex | 19 +++++++++++++++++++ lib/pleroma/web/twitter_api/twitter_api.ex | 9 +++++++++ .../activity_representer_test.exs | 14 ++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex index 6a5304049..ed8655905 100644 --- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/activity_representer.ex @@ -4,6 +4,25 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do alias Pleroma.Activity + def to_map(%Activity{data: %{"type" => "Like"}} = activity, %{user: user, liked_activity: liked_activity} = opts) do + created_at = get_in(activity.data, ["published"]) + |> date_to_asctime + + text = "#{user.nickname} favorited a status." + + %{ + "id" => activity.id, + "user" => UserRepresenter.to_map(user, opts), + "statusnet_html" => text, # TODO: add summary + "text" => text, + "is_local" => true, + "is_post_verb" => false, + "uri" => "tag:#{activity.data["id"]}:objectType=Favourite", + "created_at" => created_at, + "in_reply_to_status_id" => liked_activity.id, + } + end + def to_map(%Activity{data: %{"type" => "Follow"}} = activity, %{user: user} = opts) do created_at = get_in(activity.data, ["published"]) |> date_to_asctime diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 2679397d9..33ddebbc1 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -192,6 +192,15 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do end) end + # For likes, fetch the liked activity, too. + defp activity_to_status(%Activity{data: %{"type" => "Like"}} = activity, opts) do + actor = get_in(activity.data, ["actor"]) + user = Repo.get_by!(User, ap_id: actor) + [liked_activity] = Activity.all_by_object_ap_id(activity.data["object"]) + + ActivityRepresenter.to_map(activity, Map.merge(opts, %{user: user, liked_activity: liked_activity})) + end + defp activity_to_status(activity, opts) do actor = get_in(activity.data, ["actor"]) user = Repo.get_by!(User, ap_id: actor) diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs index 70df79a77..5673c1f0d 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -2,7 +2,21 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do use Pleroma.DataCase alias Pleroma.{User, Activity, Object} alias Pleroma.Web.TwitterAPI.Representers.{UserRepresenter, ActivityRepresenter, ObjectRepresenter} + alias Pleroma.Web.ActivityPub.ActivityPub alias Pleroma.Builders.UserBuilder + import Pleroma.Factory + + test "a like activity" do + user = insert(:user) + note_activity = insert(:note_activity) + object = Object.get_by_ap_id(note_activity.data["object"]["id"]) + + {:ok, like_activity, object} = ActivityPub.like(user, object) + status = ActivityRepresenter.to_map(like_activity, %{user: user, liked_activity: note_activity}) + + assert status["id"] == like_activity.id + assert status["in_reply_to_status_id"] == note_activity.id + end test "an activity" do {:ok, user} = UserBuilder.insert From 5cb446a148ab7f935b4fc90e4d353d10e18f9f7d Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 13 Apr 2017 17:22:44 +0200 Subject: [PATCH 17/37] Add favoriting to TwAPI controller. --- TODO.txt | 7 +++++++ lib/pleroma/web/router.ex | 1 + .../web/twitter_api/twitter_api_controller.ex | 10 +++++++++ .../twitter_api_controller_test.exs | 21 +++++++++++++++++++ 4 files changed, 39 insertions(+) diff --git a/TODO.txt b/TODO.txt index 42501a637..78cb92e2c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1 +1,8 @@ - Add cache for user fetching / representing. (mostly in TwitterAPI.activity_to_status) + +Favorites: +- Add 'likes' to activity, collection of ids of people who liked it. +- show if you favorited something or not. +- Don't allow double favorites +- Address favorites to the followers of the liked activity's author. + diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 40350ad0c..a61e32b40 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -39,5 +39,6 @@ defmodule Pleroma.Web.Router do post "/friendships/create", TwitterAPI.Controller, :follow post "/friendships/destroy", TwitterAPI.Controller, :unfollow post "/statusnet/media/upload", TwitterAPI.Controller, :upload + post "/favorites/create/:id", TwitterAPI.Controller, :favorite end end diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index 3f299a941..3969e92a6 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -2,6 +2,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do use Pleroma.Web, :controller alias Pleroma.Web.TwitterAPI.TwitterAPI alias Pleroma.Web.TwitterAPI.Representers.{UserRepresenter, ActivityRepresenter} + alias Pleroma.{Repo, Activity} def verify_credentials(%{assigns: %{user: user}} = conn, _params) do response = user |> UserRepresenter.to_json(%{for: user}) @@ -97,6 +98,15 @@ defmodule Pleroma.Web.TwitterAPI.Controller do |> json_reply(200, response) end + def favorite(%{assigns: %{user: user}} = conn, %{"id" => id}) do + activity = Repo.get(Activity, id) + {:ok, status} = TwitterAPI.favorite(user, activity) + response = Poison.encode!(status) + + conn + |> json_reply(200, response) + end + defp json_reply(conn, status, json) do conn |> put_resp_content_type("application/json") diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index 7c75ff757..728a1b6a8 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -4,6 +4,8 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do alias Pleroma.Builders.{ActivityBuilder, UserBuilder} alias Pleroma.{Repo, Activity, User} + import Pleroma.Factory + describe "POST /api/account/verify_credentials" do setup [:valid_user] test "without valid credentials", %{conn: conn} do @@ -154,6 +156,25 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do end end + describe "POST /api/favorites/create/:id" do + setup [:valid_user] + test "without valid credentials", %{conn: conn} do + note_activity = insert(:note_activity) + conn = post conn, "/api/favorites/create/#{note_activity.id}.json" + assert json_response(conn, 403) == %{"error" => "Invalid credentials."} + end + + test "with credentials", %{conn: conn, user: current_user} do + note_activity = insert(:note_activity) + + conn = conn + |> with_credentials(current_user.nickname, "test") + |> post("/api/favorites/create/#{note_activity.id}.json") + + assert json_response(conn, 200) + end + end + defp valid_user(_context) do { :ok, user } = UserBuilder.insert(%{nickname: "lambda", ap_id: "lambda"}) [user: user] From fa0c279139f384f6c97bce217be4131b255f00b1 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 14 Apr 2017 15:07:24 +0200 Subject: [PATCH 18/37] Favorite changes. - Add 'likes' to activity, collection of ids of people who liked it. - show if you favorited something or not. - Don't allow double favorites - Address favorites to the followers of the liked activity's author. --- TODO.txt | 7 --- lib/pleroma/web/activity_pub/activity_pub.ex | 53 ++++++++++++------- .../representers/activity_representer.ex | 4 +- test/web/activity_pub/activity_pub_test.exs | 10 +++- .../activity_representer_test.exs | 10 +++- 5 files changed, 54 insertions(+), 30 deletions(-) diff --git a/TODO.txt b/TODO.txt index 78cb92e2c..42501a637 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,8 +1 @@ - Add cache for user fetching / representing. (mostly in TwitterAPI.activity_to_status) - -Favorites: -- Add 'likes' to activity, collection of ids of people who liked it. -- show if you favorited something or not. -- Don't allow double favorites -- Address favorites to the followers of the liked activity's author. - diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 10efa2c9d..b9ba72b0d 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -19,28 +19,43 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do Repo.insert(%Activity{data: map}) end - def like(%User{ap_id: ap_id}, object = %Object{data: %{ "id" => id}}) do - data = %{ - "type" => "Like", - "actor" => ap_id, - "object" => id - } + def like(%User{ap_id: ap_id} = user, %Object{data: %{ "id" => id}} = object) do + cond do + # There's already a like here, so return the original activity. + ap_id in (object.data["likes"] || []) -> + query = from activity in Activity, + where: fragment("? @> ?", activity.data, ^%{actor: ap_id, object: id}) - {:ok, activity} = insert(data) - like_count = (object.data["like_count"] || 0) + 1 - new_data = object.data |> Map.put("like_count", like_count) - changeset = Ecto.Changeset.change(object, data: new_data) - {:ok, object} = Repo.update(changeset) + activity = Repo.one(query) + {:ok, activity, object} + true -> + data = %{ + "type" => "Like", + "actor" => ap_id, + "object" => id, + "to" => [User.ap_followers(user)] + } - # Update activities that already had this. Could be done in a seperate process. - relevant_activities = Activity.all_by_object_ap_id(id) - Enum.map(relevant_activities, fn (activity) -> - new_activity_data = activity.data |> Map.put("object", new_data) - changeset = Ecto.Changeset.change(activity, data: new_activity_data) - Repo.update(changeset) - end) + {:ok, activity} = insert(data) - {:ok, activity, object} + likes = [ap_id | (object.data["likes"] || [])] |> Enum.uniq + + new_data = object.data + |> Map.put("like_count", length(likes)) + |> Map.put("likes", likes) + + changeset = Ecto.Changeset.change(object, data: new_data) + {:ok, object} = Repo.update(changeset) + + # Update activities that already had this. Could be done in a seperate process. + relevant_activities = Activity.all_by_object_ap_id(id) + Enum.map(relevant_activities, fn (activity) -> + new_activity_data = activity.data |> Map.put("object", new_data) + changeset = Ecto.Changeset.change(activity, data: new_activity_data) + Repo.update(changeset) + end) + {:ok, activity, object} + end end def generate_activity_id do diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex index ed8655905..e69a63e1d 100644 --- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/activity_representer.ex @@ -45,6 +45,7 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do created_at = get_in(activity.data, ["object", "published"]) |> date_to_asctime like_count = get_in(activity.data, ["object", "like_count"]) || 0 + favorited = opts[:for] && opts[:for].ap_id in (activity.data["object"]["likes"] || []) mentions = opts[:mentioned] || [] @@ -66,7 +67,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do "statusnet_conversation_id" => activity.data["object"]["statusnetConversationId"], "attachments" => (activity.data["object"]["attachment"] || []) |> ObjectRepresenter.enum_to_list(opts), "attentions" => attentions, - "fave_num" => like_count + "fave_num" => like_count, + "favorited" => !!favorited } end diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 2bdd439b0..570120484 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -1,7 +1,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do use Pleroma.DataCase alias Pleroma.Web.ActivityPub.ActivityPub - alias Pleroma.{Activity, Object} + alias Pleroma.{Activity, Object, User} alias Pleroma.Builders.ActivityBuilder import Pleroma.Factory @@ -124,7 +124,15 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do assert like_activity.data["actor"] == user.ap_id assert like_activity.data["type"] == "Like" assert like_activity.data["object"] == object.data["id"] + assert like_activity.data["to"] == [User.ap_followers(user)] assert object.data["like_count"] == 1 + assert object.data["likes"] == [user.ap_id] + + # Just return the original activity if the user already liked it. + {:ok, same_like_activity, object} = ActivityPub.like(user, object) + + assert like_activity == same_like_activity + assert object.data["likes"] == [user.ap_id] [note_activity] = Activity.all_by_object_ap_id(object.data["id"]) assert note_activity.data["object"]["like_count"] == 1 diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs index 5673c1f0d..d1f9e00c8 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -11,11 +11,16 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do note_activity = insert(:note_activity) object = Object.get_by_ap_id(note_activity.data["object"]["id"]) - {:ok, like_activity, object} = ActivityPub.like(user, object) + {:ok, like_activity, _object} = ActivityPub.like(user, object) status = ActivityRepresenter.to_map(like_activity, %{user: user, liked_activity: note_activity}) assert status["id"] == like_activity.id assert status["in_reply_to_status_id"] == note_activity.id + + note_activity = Activity.get_by_ap_id(note_activity.data["id"]) + activity_actor = Repo.get_by(User, ap_id: note_activity.data["actor"]) + liked_status = ActivityRepresenter.to_map(note_activity, %{user: activity_actor, for: user}) + assert liked_status["favorited"] == true end test "an activity" do @@ -84,7 +89,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do "attentions" => [ UserRepresenter.to_map(mentioned_user, %{for: follower}) ], - "fave_num" => 5 + "fave_num" => 5, + "favorited" => false } assert ActivityRepresenter.to_map(activity, %{user: user, for: follower, mentioned: [mentioned_user]}) == expected_status From 90b38fd51b4d40b6240ff5e5e3bb852eb18f97df Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 14 Apr 2017 16:13:34 +0200 Subject: [PATCH 19/37] Fix uploads and favorites in twidere / twittnuker. --- lib/pleroma/web/router.ex | 2 ++ lib/pleroma/web/twitter_api/twitter_api.ex | 36 ++++++++++++------- .../web/twitter_api/twitter_api_controller.ex | 6 ++++ 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index a61e32b40..e11086538 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -39,6 +39,8 @@ defmodule Pleroma.Web.Router do post "/friendships/create", TwitterAPI.Controller, :follow post "/friendships/destroy", TwitterAPI.Controller, :unfollow post "/statusnet/media/upload", TwitterAPI.Controller, :upload + post "/media/upload", TwitterAPI.Controller, :upload_json post "/favorites/create/:id", TwitterAPI.Controller, :favorite + post "/favorites/create", TwitterAPI.Controller, :favorite end end diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 33ddebbc1..19f3c1c8c 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -137,25 +137,35 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do {:ok, status} end - def upload(%Plug.Upload{} = file) do + def upload(%Plug.Upload{} = file, format \\ "xml") do {:ok, object} = ActivityPub.upload(file) url = List.first(object.data["url"]) href = url["href"] type = url["mediaType"] - # Fake this as good as possible... - """ - - - #{object.id} - #{object.id} - #{object.id} - #{href} - #{href} - - - """ + case format do + "xml" -> + # Fake this as good as possible... + """ + + + #{object.id} + #{object.id} + #{object.id} + #{href} + #{href} + + + """ + "json" -> + %{ + media_id: object.id, + media_id_string: "#{object.id}}", + media_url: href, + size: 0 + } |> Poison.encode! + end end def parse_mentions(text) do diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index 3969e92a6..f66238e0a 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -84,6 +84,12 @@ defmodule Pleroma.Web.TwitterAPI.Controller do |> send_resp(200, response) end + def upload_json(conn, %{"media" => media}) do + response = TwitterAPI.upload(media, "json") + conn + |> json_reply(200, response) + end + def config(conn, _params) do response = %{ site: %{ From 03ddaead7e01d096cc3caa95a956d049be2e28f6 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 14 Apr 2017 17:13:51 +0200 Subject: [PATCH 20/37] Add basic user caching. Expires after 5 seconds. --- lib/pleroma/application.ex | 4 ++++ lib/pleroma/user.ex | 13 +++++++++++++ lib/pleroma/web/twitter_api/twitter_api.ex | 13 +++++++++---- mix.exs | 1 + mix.lock | 2 ++ .../web/twitter_api/twitter_api_controller_test.exs | 6 ++++++ test/web/twitter_api/twitter_api_test.exs | 6 ++++++ 7 files changed, 41 insertions(+), 4 deletions(-) diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index e88a85196..e5bd17ced 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -14,6 +14,10 @@ defmodule Pleroma.Application do supervisor(Pleroma.Web.Endpoint, []), # Start your own worker by calling: Pleroma.Worker.start_link(arg1, arg2, arg3) # worker(Pleroma.Worker, [arg1, arg2, arg3]), + supervisor(ConCache, [[ + ttl_check: :timer.seconds(1), + ttl: :timer.seconds(5) + ], [name: :users]]) ] # See http://elixir-lang.org/docs/stable/elixir/Supervisor.html diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index c77704db0..0a443d22a 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -52,4 +52,17 @@ defmodule Pleroma.User do def following?(%User{} = follower, %User{} = followed) do Enum.member?(follower.following, User.ap_followers(followed)) end + + def get_cached_by_ap_id(ap_id) do + ConCache.get_or_store(:users, "ap_id:#{ap_id}", fn() -> + # Return false so the cache will store it. + Repo.get_by(User, ap_id: ap_id) || false + end) + end + + def get_cached_by_nickname(nickname) do + ConCache.get_or_store(:users, "nickname:#{nickname}", fn() -> + Repo.get_by(User, nickname: nickname) || false + end) + end end diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 19f3c1c8c..d6ef0f4ed 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -175,7 +175,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do Regex.scan(regex, text) |> List.flatten |> Enum.uniq - |> Enum.map(fn ("@" <> match = full_match) -> {full_match, Repo.get_by(User, nickname: match)} end) + |> Enum.map(fn ("@" <> match = full_match) -> {full_match, User.get_cached_by_nickname(match)} end) |> Enum.filter(fn ({_match, user}) -> user end) end @@ -205,7 +205,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do # For likes, fetch the liked activity, too. defp activity_to_status(%Activity{data: %{"type" => "Like"}} = activity, opts) do actor = get_in(activity.data, ["actor"]) - user = Repo.get_by!(User, ap_id: actor) + user = User.get_cached_by_ap_id(actor) [liked_activity] = Activity.all_by_object_ap_id(activity.data["object"]) ActivityRepresenter.to_map(activity, Map.merge(opts, %{user: user, liked_activity: liked_activity})) @@ -213,8 +213,13 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do defp activity_to_status(activity, opts) do actor = get_in(activity.data, ["actor"]) - user = Repo.get_by!(User, ap_id: actor) - mentioned_users = Repo.all(from user in User, where: user.ap_id in ^activity.data["to"]) + user = User.get_cached_by_ap_id(actor) + # mentioned_users = Repo.all(from user in User, where: user.ap_id in ^activity.data["to"]) + mentioned_users = Enum.map(activity.data["to"], fn (ap_id) -> + User.get_cached_by_ap_id(ap_id) + end) + |> Enum.filter(&(&1)) + ActivityRepresenter.to_map(activity, Map.merge(opts, %{user: user, mentioned: mentioned_users})) end diff --git a/mix.exs b/mix.exs index 590ecfb09..09bc34f1a 100644 --- a/mix.exs +++ b/mix.exs @@ -38,6 +38,7 @@ defmodule Pleroma.Mixfile do {:trailing_format_plug, "~> 0.0.5" }, {:html_sanitize_ex, "~> 1.0.0"}, {:calendar, "~> 0.16.1"}, + {:con_cache, "~> 0.12.0"}, {:ex_machina, "~> 2.0", only: :test}, {:mix_test_watch, "~> 0.2", only: :dev}] end diff --git a/mix.lock b/mix.lock index 2cf62ddca..6fb72ac8a 100644 --- a/mix.lock +++ b/mix.lock @@ -1,6 +1,7 @@ %{"calendar": {:hex, :calendar, "0.16.1", "782327ad8bae7c797b887840dc4ddb933f05ce6e333e5b04964d7a5d5f79bde3", [:mix], [{:tzdata, "~> 0.5.8 or ~> 0.1.201603", [hex: :tzdata, optional: false]}]}, "certifi": {:hex, :certifi, "1.0.0", "1c787a85b1855ba354f0b8920392c19aa1d06b0ee1362f9141279620a5be2039", [:rebar3], []}, "comeonin": {:hex, :comeonin, "3.0.2", "8b213268a6634bd2e31a8035a963e974681d13ccc1f73f2ae664b6ac4e993c96", [:make, :mix], [{:elixir_make, "~> 0.4", [hex: :elixir_make, optional: false]}]}, + "con_cache": {:hex, :con_cache, "0.12.0", "2d961aec219aa5a914473873f348f5a6088292dc69d5192a9d25f8a1e13e9905", [:mix], [{:exactor, "~> 2.2.0", [hex: :exactor, optional: false]}]}, "connection": {:hex, :connection, "1.0.4", "a1cae72211f0eef17705aaededacac3eb30e6625b04a6117c1b2db6ace7d5976", [:mix], []}, "cowboy": {:hex, :cowboy, "1.1.2", "61ac29ea970389a88eca5a65601460162d370a70018afe6f949a29dca91f3bb0", [:rebar3], [{:cowlib, "~> 1.0.2", [hex: :cowlib, optional: false]}, {:ranch, "~> 1.3.2", [hex: :ranch, optional: false]}]}, "cowlib": {:hex, :cowlib, "1.0.2", "9d769a1d062c9c3ac753096f868ca121e2730b9a377de23dec0f7e08b1df84ee", [:make], []}, @@ -9,6 +10,7 @@ "ecto": {:hex, :ecto, "2.1.4", "d1ba932813ec0e0d9db481ef2c17777f1cefb11fc90fa7c142ff354972dfba7e", [:mix], [{:db_connection, "~> 1.1", [hex: :db_connection, optional: true]}, {:decimal, "~> 1.2", [hex: :decimal, optional: false]}, {:mariaex, "~> 0.8.0", [hex: :mariaex, optional: true]}, {:poison, "~> 2.2 or ~> 3.0", [hex: :poison, optional: true]}, {:poolboy, "~> 1.5", [hex: :poolboy, optional: false]}, {:postgrex, "~> 0.13.0", [hex: :postgrex, optional: true]}, {:sbroker, "~> 1.0", [hex: :sbroker, optional: true]}]}, "elixir_make": {:hex, :elixir_make, "0.4.0", "992f38fabe705bb45821a728f20914c554b276838433349d4f2341f7a687cddf", [:mix], []}, "ex_machina": {:hex, :ex_machina, "2.0.0", "ec284c6f57233729cea9319e083f66e613e82549f78eccdb2059aeba5d0df9f3", [:mix], [{:ecto, "~> 2.1", [hex: :ecto, optional: true]}]}, + "exactor": {:hex, :exactor, "2.2.3", "a6972f43bb6160afeb73e1d8ab45ba604cd0ac8b5244c557093f6e92ce582786", [:mix], []}, "fs": {:hex, :fs, "2.12.0", "ad631efacc9a5683c8eaa1b274e24fa64a1b8eb30747e9595b93bec7e492e25e", [:rebar3], []}, "gettext": {:hex, :gettext, "0.13.1", "5e0daf4e7636d771c4c71ad5f3f53ba09a9ae5c250e1ab9c42ba9edccc476263", [:mix], []}, "hackney": {:hex, :hackney, "1.7.1", "e238c52c5df3c3b16ce613d3a51c7220a784d734879b1e231c9babd433ac1cb4", [:rebar3], [{:certifi, "1.0.0", [hex: :certifi, optional: false]}, {:idna, "4.0.0", [hex: :idna, optional: false]}, {:metrics, "1.0.1", [hex: :metrics, optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, optional: false]}]}, diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index 728a1b6a8..a4128f442 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -184,4 +184,10 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do header_content = "Basic " <> Base.encode64("#{username}:#{password}") put_req_header(conn, "authorization", header_content) end + + setup do + Supervisor.terminate_child(Pleroma.Supervisor, ConCache) + Supervisor.restart_child(Pleroma.Supervisor, ConCache) + :ok + end end diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index 341622758..040a392e5 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -190,4 +190,10 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do assert status == ActivityRepresenter.to_map(updated_activity, %{user: activity_user, for: user}) end + + setup do + Supervisor.terminate_child(Pleroma.Supervisor, ConCache) + Supervisor.restart_child(Pleroma.Supervisor, ConCache) + :ok + end end From 8c2aad1cabfc708084585a4f4afdccc481657d0e Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 14 Apr 2017 17:29:27 +0200 Subject: [PATCH 21/37] Make new users follow themselves. --- lib/mix/tasks/register_user.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mix/tasks/register_user.ex b/lib/mix/tasks/register_user.ex index e2f36c34c..17535f190 100644 --- a/lib/mix/tasks/register_user.ex +++ b/lib/mix/tasks/register_user.ex @@ -14,7 +14,7 @@ defmodule Mix.Tasks.RegisterUser do bio: bio } - user = %{ user | ap_id: User.ap_id(user) } + user = %{ user | ap_id: User.ap_id(user), following: User.ap_followers(user) } Repo.insert!(user) end From a926038cd096d3340749f071a183c46a987e8c77 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 14 Apr 2017 18:08:47 +0200 Subject: [PATCH 22/37] Add unliking to activitypub. --- TODO.txt | 4 ++ lib/pleroma/web/activity_pub/activity_pub.ex | 48 ++++++++++++++++---- test/support/factory.ex | 4 +- test/web/activity_pub/activity_pub_test.exs | 20 ++++++++ 4 files changed, 67 insertions(+), 9 deletions(-) diff --git a/TODO.txt b/TODO.txt index 42501a637..dd85c5239 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1 +1,5 @@ - Add cache for user fetching / representing. (mostly in TwitterAPI.activity_to_status) + +Unliking: + +- Add a proper undo activity, find out how to ignore those in twitter api. diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index b9ba72b0d..75de2e43c 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -24,7 +24,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do # There's already a like here, so return the original activity. ap_id in (object.data["likes"] || []) -> query = from activity in Activity, - where: fragment("? @> ?", activity.data, ^%{actor: ap_id, object: id}) + where: fragment("? @> ?", activity.data, ^%{actor: ap_id, object: id, type: "Like"}) activity = Repo.one(query) {:ok, activity, object} @@ -47,17 +47,49 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do changeset = Ecto.Changeset.change(object, data: new_data) {:ok, object} = Repo.update(changeset) - # Update activities that already had this. Could be done in a seperate process. - relevant_activities = Activity.all_by_object_ap_id(id) - Enum.map(relevant_activities, fn (activity) -> - new_activity_data = activity.data |> Map.put("object", new_data) - changeset = Ecto.Changeset.change(activity, data: new_activity_data) - Repo.update(changeset) - end) + update_object_in_activities(object) + {:ok, activity, object} end end + defp update_object_in_activities(%{data: %{"id" => id}} = object) do + # Update activities that already had this. Could be done in a seperate process. + relevant_activities = Activity.all_by_object_ap_id(id) + Enum.map(relevant_activities, fn (activity) -> + new_activity_data = activity.data |> Map.put("object", object.data) + changeset = Ecto.Changeset.change(activity, data: new_activity_data) + Repo.update(changeset) + end) + end + + def unlike(%User{ap_id: ap_id} = user, %Object{data: %{ "id" => id}} = object) do + query = from activity in Activity, + where: fragment("? @> ?", activity.data, ^%{actor: ap_id, object: id, type: "Like"}) + + activity = Repo.one(query) + + if activity do + # just delete for now... + {:ok, _activity} = Repo.delete(activity) + + likes = (object.data["likes"] || []) |> List.delete(ap_id) + + new_data = object.data + |> Map.put("like_count", length(likes)) + |> Map.put("likes", likes) + + changeset = Ecto.Changeset.change(object, data: new_data) + {:ok, object} = Repo.update(changeset) + + update_object_in_activities(object) + + {:ok, object} + else + {:ok, object} + end + end + def generate_activity_id do generate_id("activities") end diff --git a/test/support/factory.ex b/test/support/factory.ex index af8e58bd1..3fc9cf710 100644 --- a/test/support/factory.ex +++ b/test/support/factory.ex @@ -22,7 +22,9 @@ defmodule Pleroma.Factory do "id" => Pleroma.Web.ActivityPub.ActivityPub.generate_object_id, "actor" => user.ap_id, "to" => ["https://www.w3.org/ns/activitystreams#Public"], - "published_at" => DateTime.utc_now() |> DateTime.to_iso8601 + "published_at" => DateTime.utc_now() |> DateTime.to_iso8601, + "likes" => [], + "like_count" => 0 } %Pleroma.Object{ diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 570120484..203dcaec2 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -142,6 +142,26 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do end end + describe "unliking" do + test "unliking a previously liked object" do + note_activity = insert(:note_activity) + object = Object.get_by_ap_id(note_activity.data["object"]["id"]) + user = insert(:user) + + # Unliking something that hasn't been liked does nothing + {:ok, object} = ActivityPub.unlike(user, object) + assert object.data["like_count"] == 0 + + {:ok, like_activity, object} = ActivityPub.like(user, object) + assert object.data["like_count"] == 1 + + {:ok, object} = ActivityPub.unlike(user, object) + assert object.data["like_count"] == 0 + + assert Repo.get(Activity, like_activity.id) == nil + end + end + describe "uploading files" do test "copies the file to the configured folder" do file = %Plug.Upload{content_type: "image/jpg", path: Path.absname("test/fixtures/image.jpg"), filename: "an_image.jpg"} From f4eea0847b4bfcc2a2e6e0c80480ca5818f17aa9 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 14 Apr 2017 18:15:15 +0200 Subject: [PATCH 23/37] Add unfavoriting to TwAPI. --- lib/pleroma/web/twitter_api/twitter_api.ex | 13 +++++++++++++ test/web/twitter_api/twitter_api_test.exs | 17 +++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index d6ef0f4ed..a23f465d4 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -137,6 +137,19 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do {:ok, status} end + def unfavorite(%User{} = user, %Activity{data: %{"object" => object}} = activity) do + object = Object.get_by_ap_id(object["id"]) + + {:ok, object} = ActivityPub.unlike(user, object) + new_data = activity.data + |> Map.put("object", object.data) + + status = %{activity | data: new_data} + |> activity_to_status(%{for: user}) + + {:ok, status} + end + def upload(%Plug.Upload{} = file, format \\ "xml") do {:ok, object} = ActivityPub.upload(file) diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index 040a392e5..88e6dd684 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -4,6 +4,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do alias Pleroma.Web.TwitterAPI.TwitterAPI alias Pleroma.{Activity, User, Object, Repo} alias Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter + alias Pleroma.Web.ActivityPub.ActivityPub import Pleroma.Factory @@ -191,6 +192,22 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do assert status == ActivityRepresenter.to_map(updated_activity, %{user: activity_user, for: user}) end + test "it unfavorites a status, returns the updated status" do + user = insert(:user) + note_activity = insert(:note_activity) + activity_user = Repo.get_by!(User, ap_id: note_activity.data["actor"]) + object = Object.get_by_ap_id(note_activity.data["object"]["id"]) + + {:ok, like_activity, object } = ActivityPub.like(user, object) + updated_activity = Activity.get_by_ap_id(note_activity.data["id"]) + assert ActivityRepresenter.to_map(updated_activity, %{user: activity_user, for: user})["fave_num"] == 1 + + {:ok, status} = TwitterAPI.unfavorite(user, note_activity) + updated_activity = Activity.get_by_ap_id(note_activity.data["id"]) + + assert status["fave_num"] == 0 + end + setup do Supervisor.terminate_child(Pleroma.Supervisor, ConCache) Supervisor.restart_child(Pleroma.Supervisor, ConCache) From c83f279a7d1d9061dff6fb2f3f36740abad2e85c Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 14 Apr 2017 18:27:17 +0200 Subject: [PATCH 24/37] Add unliking to TwAPI controller. --- lib/pleroma/web/router.ex | 1 + .../web/twitter_api/twitter_api_controller.ex | 9 +++++++ .../twitter_api_controller_test.exs | 24 ++++++++++++++++++- test/web/twitter_api/twitter_api_test.exs | 3 +-- 4 files changed, 34 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index e11086538..7e4866c2f 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -42,5 +42,6 @@ defmodule Pleroma.Web.Router do post "/media/upload", TwitterAPI.Controller, :upload_json post "/favorites/create/:id", TwitterAPI.Controller, :favorite post "/favorites/create", TwitterAPI.Controller, :favorite + post "/favorites/destroy/:id", TwitterAPI.Controller, :unfavorite end end diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index f66238e0a..c71c123b2 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -113,6 +113,15 @@ defmodule Pleroma.Web.TwitterAPI.Controller do |> json_reply(200, response) end + def unfavorite(%{assigns: %{user: user}} = conn, %{"id" => id}) do + activity = Repo.get(Activity, id) + {:ok, status} = TwitterAPI.unfavorite(user, activity) + response = Poison.encode!(status) + + conn + |> json_reply(200, response) + end + defp json_reply(conn, status, json) do conn |> put_resp_content_type("application/json") diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index a4128f442..814f457b9 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -2,7 +2,8 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do use Pleroma.Web.ConnCase alias Pleroma.Web.TwitterAPI.Representers.{UserRepresenter, ActivityRepresenter} alias Pleroma.Builders.{ActivityBuilder, UserBuilder} - alias Pleroma.{Repo, Activity, User} + alias Pleroma.{Repo, Activity, User, Object} + alias Pleroma.Web.ActivityPub.ActivityPub import Pleroma.Factory @@ -175,6 +176,27 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do end end + describe "POST /api/favorites/destroy/:id" do + setup [:valid_user] + test "without valid credentials", %{conn: conn} do + note_activity = insert(:note_activity) + conn = post conn, "/api/favorites/destroy/#{note_activity.id}.json" + assert json_response(conn, 403) == %{"error" => "Invalid credentials."} + end + + test "with credentials", %{conn: conn, user: current_user} do + note_activity = insert(:note_activity) + object = Object.get_by_ap_id(note_activity.data["object"]["id"]) + ActivityPub.like(current_user, object) + + conn = conn + |> with_credentials(current_user.nickname, "test") + |> post("/api/favorites/destroy/#{note_activity.id}.json") + + assert json_response(conn, 200) + end + end + defp valid_user(_context) do { :ok, user } = UserBuilder.insert(%{nickname: "lambda", ap_id: "lambda"}) [user: user] diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index 88e6dd684..36d4f4012 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -198,12 +198,11 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do activity_user = Repo.get_by!(User, ap_id: note_activity.data["actor"]) object = Object.get_by_ap_id(note_activity.data["object"]["id"]) - {:ok, like_activity, object } = ActivityPub.like(user, object) + {:ok, _like_activity, _object } = ActivityPub.like(user, object) updated_activity = Activity.get_by_ap_id(note_activity.data["id"]) assert ActivityRepresenter.to_map(updated_activity, %{user: activity_user, for: user})["fave_num"] == 1 {:ok, status} = TwitterAPI.unfavorite(user, note_activity) - updated_activity = Activity.get_by_ap_id(note_activity.data["id"]) assert status["fave_num"] == 0 end From 7a47afed3c52f537e9a4851372d76ccf95459799 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Fri, 14 Apr 2017 18:59:11 +0200 Subject: [PATCH 25/37] Update object correctly after setting context. --- lib/pleroma/web/twitter_api/twitter_api.ex | 5 +++++ test/web/twitter_api/twitter_api_test.exs | 2 ++ 2 files changed, 7 insertions(+) diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index a23f465d4..76dbc77a1 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -204,6 +204,11 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do |> put_in(["object", "statusnetConversationId"], activity.id) |> put_in(["statusnetConversationId"], activity.id) + object = Object.get_by_ap_id(activity.data["object"]["id"]) + + changeset = Ecto.Changeset.change(object, data: data["object"]) + Repo.update(changeset) + changeset = Ecto.Changeset.change(activity, data: data) Repo.update(changeset) end diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index 36d4f4012..fd9908b9f 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -48,6 +48,8 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do assert get_in(activity.data, ["statusnetConversationId"]) == activity.id assert is_list(activity.data["object"]["attachment"]) + + assert activity.data["object"] == Object.get_by_ap_id(activity.data["object"]["id"]).data end test "create a status that is a reply" do From 21c397820f5feffc5d68ccfb578e2d6765052a3b Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sat, 15 Apr 2017 12:11:20 +0200 Subject: [PATCH 26/37] Add announcements to activitypub. --- lib/pleroma/web/activity_pub/activity_pub.ex | 24 ++++++++++++++++++++ test/web/activity_pub/activity_pub_test.exs | 15 ++++++++++++ 2 files changed, 39 insertions(+) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 75de2e43c..a38f63b03 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -137,6 +137,30 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do |> Enum.reverse end + def announce(%User{ap_id: ap_id} = user, %Object{data: %{"id" => id}} = object) do + data = %{ + "type" => "Announce", + "actor" => ap_id, + "object" => id, + "to" => [User.ap_followers(user)] + } + + {:ok, activity} = insert(data) + + announcements = [ap_id | (object.data["announcements"] || [])] |> Enum.uniq + + new_data = object.data + |> Map.put("announcement_count", length(announcements)) + |> Map.put("announcements", announcements) + + changeset = Ecto.Changeset.change(object, data: new_data) + {:ok, object} = Repo.update(changeset) + + update_object_in_activities(object) + + {:ok, activity, object} + end + def fetch_activities_for_context(context) do query = from activity in Activity, where: fragment("? @> ?", activity.data, ^%{ context: context }) diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index 203dcaec2..b5f81da0c 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -162,6 +162,21 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do end end + describe "announcing an object" do + test "adds an announce activity to the db" do + note_activity = insert(:note_activity) + object = Object.get_by_ap_id(note_activity.data["object"]["id"]) + user = insert(:user) + + {:ok, announce_activity, object} = ActivityPub.announce(user, object) + assert object.data["announcement_count"] == 1 + assert object.data["announcements"] == [user.ap_id] + assert announce_activity.data["to"] == [User.ap_followers(user)] + assert announce_activity.data["object"] == object.data["id"] + assert announce_activity.data["actor"] == user.ap_id + end + end + describe "uploading files" do test "copies the file to the configured folder" do file = %Plug.Upload{content_type: "image/jpg", path: Path.absname("test/fixtures/image.jpg"), filename: "an_image.jpg"} From 60c60de330fe8fe03594da89831351099c8c9037 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sat, 15 Apr 2017 13:54:46 +0200 Subject: [PATCH 27/37] Add announcements / retweets to TwAPI. --- lib/pleroma/web/activity_pub/activity_pub.ex | 2 +- .../representers/activity_representer.ex | 32 ++++++++++++++++++- lib/pleroma/web/twitter_api/twitter_api.ex | 23 +++++++++++++ .../activity_representer_test.exs | 27 ++++++++++++++-- test/web/twitter_api/twitter_api_test.exs | 11 +++++++ 5 files changed, 91 insertions(+), 4 deletions(-) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index a38f63b03..b2508de68 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -63,7 +63,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do end) end - def unlike(%User{ap_id: ap_id} = user, %Object{data: %{ "id" => id}} = object) do + def unlike(%User{ap_id: ap_id}, %Object{data: %{ "id" => id}} = object) do query = from activity in Activity, where: fragment("? @> ?", activity.data, ^%{actor: ap_id, object: id, type: "Like"}) diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex index e69a63e1d..f2bf93abb 100644 --- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/activity_representer.ex @@ -4,6 +4,32 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do alias Pleroma.Activity + defp user_by_ap_id(user_list, ap_id) do + Enum.find(user_list, fn (%{ap_id: user_id}) -> ap_id == user_id end) + end + + def to_map(%Activity{data: %{"type" => "Announce", "actor" => actor}} = activity, %{users: users, announced_activity: announced_activity} = opts) do + user = user_by_ap_id(users, actor) + created_at = get_in(activity.data, ["published"]) + |> date_to_asctime + + text = "#{user.nickname} retweeted a status." + + announced_user = user_by_ap_id(users, announced_activity.data["actor"]) + retweeted_status = to_map(announced_activity, Map.merge(%{user: announced_user}, opts)) + %{ + "id" => activity.id, + "user" => UserRepresenter.to_map(user, opts), + "statusnet_html" => text, + "text" => text, + "is_local" => true, + "is_post_verb" => false, + "uri" => "tag:#{activity.data["id"]}:objectType=note", + "created_at" => created_at, + "retweeted_status" => retweeted_status + } + end + def to_map(%Activity{data: %{"type" => "Like"}} = activity, %{user: user, liked_activity: liked_activity} = opts) do created_at = get_in(activity.data, ["published"]) |> date_to_asctime @@ -45,7 +71,9 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do created_at = get_in(activity.data, ["object", "published"]) |> date_to_asctime like_count = get_in(activity.data, ["object", "like_count"]) || 0 + announcement_count = get_in(activity.data, ["object", "announcement_count"]) || 0 favorited = opts[:for] && opts[:for].ap_id in (activity.data["object"]["likes"] || []) + repeated = opts[:for] && opts[:for].ap_id in (activity.data["object"]["announcements"] || []) mentions = opts[:mentioned] || [] @@ -68,7 +96,9 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter do "attachments" => (activity.data["object"]["attachment"] || []) |> ObjectRepresenter.enum_to_list(opts), "attentions" => attentions, "fave_num" => like_count, - "favorited" => !!favorited + "repeat_num" => announcement_count, + "favorited" => !!favorited, + "repeated" => !!repeated, } end diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 76dbc77a1..58f8bc1d3 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -150,6 +150,19 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do {:ok, status} end + def retweet(%User{} = user, %Activity{data: %{"object" => object}} = activity) do + object = Object.get_by_ap_id(object["id"]) + + {:ok, _announce_activity, object} = ActivityPub.announce(user, object) + new_data = activity.data + |> Map.put("object", object.data) + + status = %{activity | data: new_data} + |> activity_to_status(%{for: user}) + + {:ok, status} + end + def upload(%Plug.Upload{} = file, format \\ "xml") do {:ok, object} = ActivityPub.upload(file) @@ -229,6 +242,16 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do ActivityRepresenter.to_map(activity, Map.merge(opts, %{user: user, liked_activity: liked_activity})) end + # For announces, fetch the announced activity and the user. + defp activity_to_status(%Activity{data: %{"type" => "Announce"}} = activity, opts) do + actor = get_in(activity.data, ["actor"]) + user = User.get_cached_by_ap_id(actor) + [announced_activity] = Activity.all_by_object_ap_id(activity.data["object"]) + announced_actor = User.get_cached_by_ap_id(announced_activity.data["actor"]) + + ActivityRepresenter.to_map(activity, Map.merge(opts, %{users: [user, announced_actor], announced_activity: announced_activity})) + end + defp activity_to_status(activity, opts) do actor = get_in(activity.data, ["actor"]) user = User.get_cached_by_ap_id(actor) diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs index d1f9e00c8..a9129bccc 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -6,6 +6,26 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do alias Pleroma.Builders.UserBuilder import Pleroma.Factory + test "an announce activity" do + user = insert(:user) + note_activity = insert(:note_activity) + activity_actor = Repo.get_by(User, ap_id: note_activity.data["actor"]) + object = Object.get_by_ap_id(note_activity.data["object"]["id"]) + + {:ok, announce_activity, _object} = ActivityPub.announce(user, object) + note_activity = Activity.get_by_ap_id(note_activity.data["id"]) + + status = ActivityRepresenter.to_map(announce_activity, %{users: [user, activity_actor], announced_activity: note_activity, for: user}) + + assert status["id"] == announce_activity.id + assert status["user"] == UserRepresenter.to_map(user, %{for: user}) + + retweeted_status = ActivityRepresenter.to_map(note_activity, %{user: activity_actor, for: user}) + assert retweeted_status["repeated"] == true + + assert status["retweeted_status"] == retweeted_status + end + test "a like activity" do user = insert(:user) note_activity = insert(:note_activity) @@ -65,7 +85,8 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do "attachment" => [ object ], - "like_count" => 5 + "like_count" => 5, + "announcement_count" => 3 }, "published" => date } @@ -90,7 +111,9 @@ defmodule Pleroma.Web.TwitterAPI.Representers.ActivityRepresenterTest do UserRepresenter.to_map(mentioned_user, %{for: follower}) ], "fave_num" => 5, - "favorited" => false + "repeat_num" => 3, + "favorited" => false, + "repeated" => false } assert ActivityRepresenter.to_map(activity, %{user: user, for: follower, mentioned: [mentioned_user]}) == expected_status diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index fd9908b9f..71b0d8b12 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -209,6 +209,17 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do assert status["fave_num"] == 0 end + test "it retweets a status and returns the retweet" do + user = insert(:user) + note_activity = insert(:note_activity) + activity_user = Repo.get_by!(User, ap_id: note_activity.data["actor"]) + + {:ok, status} = TwitterAPI.retweet(user, note_activity) + updated_activity = Activity.get_by_ap_id(note_activity.data["id"]) + + assert status == ActivityRepresenter.to_map(updated_activity, %{user: activity_user, for: user}) + end + setup do Supervisor.terminate_child(Pleroma.Supervisor, ConCache) Supervisor.restart_child(Pleroma.Supervisor, ConCache) From 4799dc6991682489e8f1701946685a7725ad0a6a Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sat, 15 Apr 2017 14:09:54 +0200 Subject: [PATCH 28/37] Add retweeting to TwAPI controller. --- lib/pleroma/web/router.ex | 1 + .../web/twitter_api/twitter_api_controller.ex | 9 +++++++++ .../twitter_api_controller_test.exs | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+) diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 7e4866c2f..7bb3c9763 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -43,5 +43,6 @@ defmodule Pleroma.Web.Router do post "/favorites/create/:id", TwitterAPI.Controller, :favorite post "/favorites/create", TwitterAPI.Controller, :favorite post "/favorites/destroy/:id", TwitterAPI.Controller, :unfavorite + post "/statuses/retweet/:id", TwitterAPI.Controller, :retweet end end diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index c71c123b2..a4d8a1d14 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -122,6 +122,15 @@ defmodule Pleroma.Web.TwitterAPI.Controller do |> json_reply(200, response) end + def retweet(%{assigns: %{user: user}} = conn, %{"id" => id}) do + activity = Repo.get(Activity, id) + {:ok, status} = TwitterAPI.retweet(user, activity) + response = Poison.encode!(status) + + conn + |> json_reply(200, response) + end + defp json_reply(conn, status, json) do conn |> put_resp_content_type("application/json") diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index 814f457b9..0eb1b60c5 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -197,6 +197,25 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do end end + describe "POST /api/statuses/retweet/:id" do + setup [:valid_user] + test "without valid credentials", %{conn: conn} do + note_activity = insert(:note_activity) + conn = post conn, "/api/statuses/retweet/#{note_activity.id}.json" + assert json_response(conn, 403) == %{"error" => "Invalid credentials."} + end + + test "with credentials", %{conn: conn, user: current_user} do + note_activity = insert(:note_activity) + + conn = conn + |> with_credentials(current_user.nickname, "test") + |> post("/api/statuses/retweet/#{note_activity.id}.json") + + assert json_response(conn, 200) + end + end + defp valid_user(_context) do { :ok, user } = UserBuilder.insert(%{nickname: "lambda", ap_id: "lambda"}) [user: user] From 4f7adb343c66dba0a3c6883cd9f4156fb43594d4 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sat, 15 Apr 2017 14:16:01 +0200 Subject: [PATCH 29/37] Address liking / announcing to the original author. --- lib/pleroma/web/activity_pub/activity_pub.ex | 4 ++-- test/web/activity_pub/activity_pub_test.exs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index b2508de68..0d3360ee1 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -33,7 +33,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do "type" => "Like", "actor" => ap_id, "object" => id, - "to" => [User.ap_followers(user)] + "to" => [User.ap_followers(user), object.data["actor"]] } {:ok, activity} = insert(data) @@ -142,7 +142,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do "type" => "Announce", "actor" => ap_id, "object" => id, - "to" => [User.ap_followers(user)] + "to" => [User.ap_followers(user), object.data["actor"]] } {:ok, activity} = insert(data) diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index b5f81da0c..b0c2a3544 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -124,7 +124,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do assert like_activity.data["actor"] == user.ap_id assert like_activity.data["type"] == "Like" assert like_activity.data["object"] == object.data["id"] - assert like_activity.data["to"] == [User.ap_followers(user)] + assert like_activity.data["to"] == [User.ap_followers(user), note_activity.data["actor"]] assert object.data["like_count"] == 1 assert object.data["likes"] == [user.ap_id] @@ -171,7 +171,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubTest do {:ok, announce_activity, object} = ActivityPub.announce(user, object) assert object.data["announcement_count"] == 1 assert object.data["announcements"] == [user.ap_id] - assert announce_activity.data["to"] == [User.ap_followers(user)] + assert announce_activity.data["to"] == [User.ap_followers(user), note_activity.data["actor"]] assert announce_activity.data["object"] == object.data["id"] assert announce_activity.data["actor"] == user.ap_id end From 03c6148bb3dfe6efe512363d2793eb233e020d50 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sat, 15 Apr 2017 16:40:09 +0200 Subject: [PATCH 30/37] Add user registration changeset. --- lib/pleroma/user.ex | 23 ++++++++++++++ ...add_unique_index_to_email_and_nickname.exs | 8 +++++ test/user_test.exs | 31 +++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 priv/repo/migrations/20170415141210_add_unique_index_to_email_and_nickname.exs diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 0a443d22a..ed85447fe 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -9,6 +9,8 @@ defmodule Pleroma.User do field :name, :string field :nickname, :string field :password_hash, :string + field :password, :string, virtual: true + field :password_confirmation, :string, virtual: true field :following, { :array, :string }, default: [] field :ap_id, :string @@ -29,6 +31,27 @@ defmodule Pleroma.User do |> validate_required([:following]) end + def register_changeset(struct, params \\ %{}) do + changeset = struct + |> cast(params, [:bio, :email, :name, :nickname, :password, :password_confirmation]) + |> validate_required([:bio, :email, :name, :nickname, :password, :password_confirmation]) + |> validate_confirmation(:password) + |> unique_constraint(:email) + |> unique_constraint(:nickname) + + if changeset.valid? do + hashed = Comeonin.Pbkdf2.hashpwsalt(changeset.changes[:password]) + ap_id = User.ap_id(%User{nickname: changeset.changes[:nickname]}) + followers = User.ap_followers(%User{nickname: changeset.changes[:nickname]}) + changeset + |> put_change(:password_hash, hashed) + |> put_change(:ap_id, ap_id) + |> put_change(:following, [followers]) + else + changeset + end + end + def follow(%User{} = follower, %User{} = followed) do ap_followers = User.ap_followers(followed) following = [ap_followers | follower.following] diff --git a/priv/repo/migrations/20170415141210_add_unique_index_to_email_and_nickname.exs b/priv/repo/migrations/20170415141210_add_unique_index_to_email_and_nickname.exs new file mode 100644 index 000000000..361ca04da --- /dev/null +++ b/priv/repo/migrations/20170415141210_add_unique_index_to_email_and_nickname.exs @@ -0,0 +1,8 @@ +defmodule Pleroma.Repo.Migrations.AddUniqueIndexToEmailAndNickname do + use Ecto.Migration + + def change do + create unique_index(:users, [:email]) + create unique_index(:users, [:nickname]) + end +end diff --git a/test/user_test.exs b/test/user_test.exs index f41063e9c..e7843e1a8 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -53,4 +53,35 @@ defmodule Pleroma.UserTest do assert User.following?(user, followed) refute User.following?(followed, user) end + + describe "user registration" do + @full_user_data %{ + bio: "A guy", + name: "my name", + nickname: "nick", + password: "test", + password_confirmation: "test", + email: "email@example.com" + } + + test "it requires a bio, email, name, nickname and password" do + @full_user_data + |> Map.keys + |> Enum.each(fn (key) -> + params = Map.delete(@full_user_data, key) + changeset = User.register_changeset(%User{}, params) + assert changeset.valid? == false + end) + end + + test "it sets the password_hash, ap_id and following fields" do + changeset = User.register_changeset(%User{}, @full_user_data) + + assert changeset.valid? + + assert is_binary(changeset.changes[:password_hash]) + assert changeset.changes[:ap_id] == User.ap_id(%User{nickname: @full_user_data.nickname}) + assert changeset.changes[:following] == [User.ap_followers(%User{nickname: @full_user_data.nickname})] + end + end end From 40706b4c4fe4ae29bf01ef13bc3e79318773d66f Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sat, 15 Apr 2017 16:42:02 +0200 Subject: [PATCH 31/37] Use changeset in user registration mix task. --- lib/mix/tasks/register_user.ex | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/mix/tasks/register_user.ex b/lib/mix/tasks/register_user.ex index 17535f190..48236439b 100644 --- a/lib/mix/tasks/register_user.ex +++ b/lib/mix/tasks/register_user.ex @@ -6,15 +6,17 @@ defmodule Mix.Tasks.RegisterUser do @shortdoc "Register user" def run([name, nickname, email, bio, password]) do ensure_started(Repo, []) - user = %User{ + + params = %{ name: name, nickname: nickname, email: email, - password_hash: Comeonin.Pbkdf2.hashpwsalt(password), + password: password, + password_confirmation: password, bio: bio } - user = %{ user | ap_id: User.ap_id(user), following: User.ap_followers(user) } + user = User.register_changeset(%User{}, params) Repo.insert!(user) end From b1edd94baa64a18223ae2cc731231ba4314fd0d3 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sun, 16 Apr 2017 10:25:27 +0200 Subject: [PATCH 32/37] Add user registration to TwAPI. --- lib/pleroma/web/twitter_api/twitter_api.ex | 24 +++++++++++++++- test/web/twitter_api/twitter_api_test.exs | 33 +++++++++++++++++++++- 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 58f8bc1d3..557faf454 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -1,7 +1,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do alias Pleroma.{User, Activity, Repo, Object} alias Pleroma.Web.ActivityPub.ActivityPub - alias Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter + alias Pleroma.Web.TwitterAPI.Representers.{ActivityRepresenter, UserRepresenter} import Ecto.Query @@ -227,6 +227,28 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do end end + def register_user(params) do + params = %{ + nickname: params["nickname"], + name: params["fullname"], + bio: params["bio"], + email: params["email"], + password: params["password"], + password_confirmation: params["confirm"] + } + + changeset = User.register_changeset(%User{}, params) + + with {:ok, user} <- Repo.insert(changeset) do + {:ok, UserRepresenter.to_map(user)} + else + {:error, changeset} -> + errors = Ecto.Changeset.traverse_errors(changeset, fn {msg, opts} -> msg end) + |> Poison.encode! + {:error, %{error: errors}} + end + end + defp activities_to_statuses(activities, opts) do Enum.map(activities, fn(activity) -> activity_to_status(activity, opts) diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index 71b0d8b12..eb5f8ec26 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -3,7 +3,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do alias Pleroma.Builders.{UserBuilder, ActivityBuilder} alias Pleroma.Web.TwitterAPI.TwitterAPI alias Pleroma.{Activity, User, Object, Repo} - alias Pleroma.Web.TwitterAPI.Representers.ActivityRepresenter + alias Pleroma.Web.TwitterAPI.Representers.{ActivityRepresenter, UserRepresenter} alias Pleroma.Web.ActivityPub.ActivityPub import Pleroma.Factory @@ -220,6 +220,37 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPITest do assert status == ActivityRepresenter.to_map(updated_activity, %{user: activity_user, for: user}) end + test "it registers a new user and returns the user." do + data = %{ + "nickname" => "lain", + "email" => "lain@wired.jp", + "fullname" => "lain iwakura", + "bio" => "close the world.", + "password" => "bear", + "confirm" => "bear" + } + + {:ok, user} = TwitterAPI.register_user(data) + + fetched_user = Repo.get_by(User, nickname: "lain") + assert user == UserRepresenter.to_map(fetched_user) + end + + test "it returns the error on registration problems" do + data = %{ + "nickname" => "lain", + "email" => "lain@wired.jp", + "fullname" => "lain iwakura", + "bio" => "close the world.", + "password" => "bear" + } + + {:error, error_object} = TwitterAPI.register_user(data) + + assert is_binary(error_object[:error]) + refute Repo.get_by(User, nickname: "lain") + end + setup do Supervisor.terminate_child(Pleroma.Supervisor, ConCache) Supervisor.restart_child(Pleroma.Supervisor, ConCache) From 5dac3727f10d65eea284da56fe4b0db5cab53f1f Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sun, 16 Apr 2017 11:01:24 +0200 Subject: [PATCH 33/37] Add registration to the TwAPI controller. --- lib/pleroma/web/router.ex | 1 + .../web/twitter_api/twitter_api_controller.ex | 11 ++++++ .../twitter_api_controller_test.exs | 38 +++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 7bb3c9763..2749be5e9 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -26,6 +26,7 @@ defmodule Pleroma.Web.Router do get "/statuses/show/:id", TwitterAPI.Controller, :fetch_status get "/statusnet/conversation/:id", TwitterAPI.Controller, :fetch_conversation get "/statusnet/config", TwitterAPI.Controller, :config + post "/account/register", TwitterAPI.Controller, :register end scope "/api", Pleroma.Web do diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index a4d8a1d14..fa26bb3e9 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -131,6 +131,17 @@ defmodule Pleroma.Web.TwitterAPI.Controller do |> json_reply(200, response) end + def register(conn, params) do + with {:ok, user} <- TwitterAPI.register_user(params) do + conn + |> json_reply(200, Poison.encode!(user)) + else + {:error, errors} -> + conn + |> json_reply(400, Poison.encode!(errors)) + end + end + defp json_reply(conn, status, json) do conn |> put_resp_content_type("application/json") diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index 0eb1b60c5..3bc4eb700 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -216,6 +216,44 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do end end + describe "POST /api/account/register" do + test "it creates a new user", %{conn: conn} do + data = %{ + "nickname" => "lain", + "email" => "lain@wired.jp", + "fullname" => "lain iwakura", + "bio" => "close the world.", + "password" => "bear", + "confirm" => "bear" + } + + conn = conn + |> post("/api/account/register", data) + + user = json_response(conn, 200) + + fetched_user = Repo.get_by(User, nickname: "lain") + assert user == UserRepresenter.to_map(fetched_user) + end + + test "it returns errors on a problem", %{conn: conn} do + data = %{ + "email" => "lain@wired.jp", + "fullname" => "lain iwakura", + "bio" => "close the world.", + "password" => "bear", + "confirm" => "bear" + } + + conn = conn + |> post("/api/account/register", data) + + errors = json_response(conn, 400) + + assert is_binary(errors["error"]) + end + end + defp valid_user(_context) do { :ok, user } = UserBuilder.insert(%{nickname: "lambda", ap_id: "lambda"}) [user: user] From 2652f5a684809fde09a513e5aadbf49a8beaaf5a Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Sun, 16 Apr 2017 11:04:30 +0200 Subject: [PATCH 34/37] Update frontend. --- priv/static/index.html | 2 +- priv/static/static/config.json | 2 +- .../app.a86c13eb46180b1b975a1acd59b52cc6.css | 2 ++ ...p.a86c13eb46180b1b975a1acd59b52cc6.css.map | 1 + .../app.c9152df945545cbfad798e27da935399.css | 2 -- ...p.c9152df945545cbfad798e27da935399.css.map | 1 - .../static/static/css/base16-pleroma-dark.css | 33 +++++++++++++++++++ .../static/css/base16-pleroma-light.css | 33 +++++++++++++++++++ priv/static/static/css/themes.json | 2 ++ .../static/js/app.6a6016da34598b91ac47.js | 4 +++ .../static/js/app.6a6016da34598b91ac47.js.map | 1 + .../static/js/app.8e94b6d65028f6ffaeee.js | 4 --- .../static/js/app.8e94b6d65028f6ffaeee.js.map | 1 - .../js/manifest.53ddf71d231dbc5f82dc.js | 2 -- .../js/manifest.e04a9bc033ed0322c140.js | 2 ++ ...p => manifest.e04a9bc033ed0322c140.js.map} | 2 +- .../js/vendor.a3ec6a31a96c8e7709d8.js.map | 1 - ...09d8.js => vendor.d7d8813599feb765b152.js} | 16 ++++----- .../js/vendor.d7d8813599feb765b152.js.map | 1 + 19 files changed, 90 insertions(+), 22 deletions(-) mode change 100644 => 100755 priv/static/index.html create mode 100644 priv/static/static/css/app.a86c13eb46180b1b975a1acd59b52cc6.css create mode 100644 priv/static/static/css/app.a86c13eb46180b1b975a1acd59b52cc6.css.map delete mode 100644 priv/static/static/css/app.c9152df945545cbfad798e27da935399.css delete mode 100644 priv/static/static/css/app.c9152df945545cbfad798e27da935399.css.map create mode 100644 priv/static/static/css/base16-pleroma-dark.css create mode 100644 priv/static/static/css/base16-pleroma-light.css create mode 100644 priv/static/static/js/app.6a6016da34598b91ac47.js create mode 100644 priv/static/static/js/app.6a6016da34598b91ac47.js.map delete mode 100644 priv/static/static/js/app.8e94b6d65028f6ffaeee.js delete mode 100644 priv/static/static/js/app.8e94b6d65028f6ffaeee.js.map delete mode 100644 priv/static/static/js/manifest.53ddf71d231dbc5f82dc.js create mode 100644 priv/static/static/js/manifest.e04a9bc033ed0322c140.js rename priv/static/static/js/{manifest.53ddf71d231dbc5f82dc.js.map => manifest.e04a9bc033ed0322c140.js.map} (92%) delete mode 100644 priv/static/static/js/vendor.a3ec6a31a96c8e7709d8.js.map rename priv/static/static/js/{vendor.a3ec6a31a96c8e7709d8.js => vendor.d7d8813599feb765b152.js} (60%) create mode 100644 priv/static/static/js/vendor.d7d8813599feb765b152.js.map diff --git a/priv/static/index.html b/priv/static/index.html old mode 100644 new mode 100755 index 09e66cd6b..bd99b9429 --- a/priv/static/index.html +++ b/priv/static/index.html @@ -1 +1 @@ -Pleroma
\ No newline at end of file +Pleroma
\ No newline at end of file diff --git a/priv/static/static/config.json b/priv/static/static/config.json index fb8d40158..3b6d56c44 100644 --- a/priv/static/static/config.json +++ b/priv/static/static/config.json @@ -1,6 +1,6 @@ { "name": "Pleroma FE", - "theme": "base16-ashes.css", + "theme": "base16-pleroma-dark.css", "background": "/static/bg.jpg", "logo": "/static/logo.png" } diff --git a/priv/static/static/css/app.a86c13eb46180b1b975a1acd59b52cc6.css b/priv/static/static/css/app.a86c13eb46180b1b975a1acd59b52cc6.css new file mode 100644 index 000000000..74e3ab783 --- /dev/null +++ b/priv/static/static/css/app.a86c13eb46180b1b975a1acd59b52cc6.css @@ -0,0 +1,2 @@ +#app{background-size:cover;background-attachment:fixed;background-repeat:no-repeat;background-position:0 50px;min-height:100vh}h4{margin:0}#content{padding-top:60px}.text-center{text-align:center}body{font-family:sans-serif;font-size:14px;margin:0}a{text-decoration:none}button{border:none;border-radius:5px;cursor:pointer}button:hover{opacity:.8}.container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0 10px}.gaps{margin:-1em 0 0 -1em}.item{-ms-flex:1;flex:1}.gaps>.item{padding:1em 0 0 1em}.auto-size{-ms-flex:1;flex:1}nav{width:100%;position:fixed}nav,nav .inner-nav{-ms-flex-align:center;align-items:center;height:50px}nav .inner-nav{padding-left:20px;padding-right:20px;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:970px;flex-basis:970px;margin:auto;background-repeat:no-repeat;background-position:50%;background-size:contain}main-router{-ms-flex:1;flex:1}.status.compact{color:rgba(0,0,0,.42);font-weight:300}.status.compact p{margin:0;font-size:.8em}.panel{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:.5em;border-radius:10px}.panel-heading{border-radius:10px 10px 0 0;background-size:cover;padding:.6em 1em;text-align:left;font-size:1.3em;line-height:24px}.panel-footer{border-radius:0 0 10px 10px}.panel-body>p{line-height:18px;padding:1em;margin:0}#content{margin:auto;max-width:980px;border-radius:10px;padding-bottom:1em;background-color:rgba(0,0,0,.1)}.media-body{-ms-flex:1;flex:1;padding-left:.5em}.container>*{min-width:0}.fa{color:grey}.status-actions{width:50%;display:-ms-flexbox;display:flex}.status-actions div,.status-actions favorite-button{-ms-flex:1;flex:1}status-text-container{display:block}.status-el{line-height:18px}.status-el .notify .avatar{border-width:3px;border-style:solid}.status-el .media-left img{margin-top:.2em;float:right;margin-right:.3em;border-radius:5px}.status-el .retweet-info{padding:.7em 0 0 .6em}.status-el .retweet-info .media-left{display:-ms-flexbox;display:flex}.status-el .retweet-info .media-left i{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;text-align:right;-ms-flex:1;flex:1;padding-right:.3em}.status-el .media-heading{margin-bottom:.3em}.status-el .media-heading small{font-weight:lighter}nav{z-index:1000}.fade-enter-active,.fade-leave-active{transition:opacity .2s}.fade-enter,.fade-leave-active{opacity:0}.main{-ms-flex-preferred-size:60%;flex-basis:60%;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}.sidebar{-ms-flex:0;flex:0;-ms-flex-preferred-size:35%;flex-basis:35%}.sidebar-flexer{-ms-flex:1;flex:1;-ms-flex-preferred-size:345px;flex-basis:345px;width:365px}.mobile-shown{display:none}.panel-switcher{display:none;width:100%}.panel-switcher button{display:block;-ms-flex:1;flex:1;margin:.5em;padding:.5em}@media (min-width:960px){.sidebar{overflow:hidden;max-height:100vh;width:350px;position:fixed;margin-top:-10px}.sidebar .sidebar-container{height:96vh;width:362px;padding-top:10px;padding-right:20px;overflow-x:hidden;overflow-y:scroll}.sidebar-flexer{max-height:96vh;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}}@media (max-width:959px){.mobile-hidden{display:none}.panel-switcher{display:-ms-flexbox;display:flex}.container{padding:0}.panel{margin:.5em 0}}.item.right{text-align:right;padding-right:20px}.login-form input{border:1px solid silver;border-radius:5px;padding:.1em .2em .2em}.login-form .btn{margin-top:1em;min-height:28px}.login-form .error{border-radius:5px;text-align:center;background-color:rgba(255,48,16,.65);min-height:28px;line-height:28px}.tribute-container ul{padding:0}.tribute-container ul li{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.tribute-container img{padding:3px;width:16px;height:16px;border-radius:50%}.login .form-bottom,.post-status-form .form-bottom{display:-ms-flexbox;display:flex;padding:.5em}.login .form-bottom button,.post-status-form .form-bottom button{-ms-flex:2;flex:2}.login .attachments,.post-status-form .attachments{padding:.5em}.login .attachments i,.post-status-form .attachments i{position:absolute;margin:10px;padding:5px;background:hsla(0,0%,90%,.6);border-radius:5px;font-weight:700}.login .btn,.post-status-form .btn{cursor:pointer}.login .btn[disabled],.post-status-form .btn[disabled]{cursor:not-allowed}.login .icon-cancel,.post-status-form .icon-cancel{cursor:pointer}.login form,.post-status-form form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:.6em}.login .form-group,.post-status-form .form-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:.3em .5em .6em;line-height:24px}.login form textarea,.post-status-form form textarea{border:solid;border-width:1px;border-color:silver;border-radius:5px;line-height:16px;padding:5px;resize:vertical}.media-upload{font-size:26px;-ms-flex:1;flex:1}.icon-upload{cursor:pointer}.tribute-container{position:absolute;top:0;left:0;height:auto;max-height:300px;max-width:500px;overflow:auto;display:block;z-index:999999}.tribute-container ul{margin:0;margin-top:2px;list-style:none;background:#efefef}.tribute-container li{padding:5px;cursor:pointer}.tribute-container li.highlight,.tribute-container li:hover{background:#ddd}.tribute-container .menu-highlighted,.tribute-container li span{font-weight:700}.profile-panel-background{background-size:cover;border-radius:10px}.profile-panel-background .panel-heading{padding:.6em 0;text-align:center}.profile-panel-body{top:0;padding-top:4em}.user-info{color:#fff;padding:16px;margin-bottom:-4em;text-shadow:0 1px 1.5px #000}.user-info .container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-pack:center;justify-content:center;max-height:60px}.user-info img{border:2px solid;border-radius:5px;-ms-flex:1 0 100%;flex:1 0 100%;max-width:48px;max-height:48px}.user-info .user-name,.user-info .user-screen-name{margin-top:0;margin-left:.6em;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-item-align:start;align-self:flex-start}.user-info .user-screen-name{font-weight:lighter;font-size:15px;padding-right:.1em}.user-info .user-interactions{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:justify;justify-content:space-between;margin-top:.7em;margin-bottom:-1em}.user-info .user-interactions div{-ms-flex:1;flex:1}.user-info .user-interactions .following{color:#fff;font-size:14px;-ms-flex:0 0 100%;flex:0 0 100%;margin:-.7em 0 .3em;padding-left:16px;text-align:left}.user-info .user-interactions .follow,.user-info .user-interactions .mute{max-width:220px;min-height:28px}.user-info .user-interactions button{border:solid;border-width:1px;width:92%;height:100%}.user-info .user-interactions .pressed{border:solid;border-width:1px}.user-counts{display:-ms-flexbox;display:flex;line-height:16px;padding:1em 1.5em 0 1em;text-align:center}.user-count{-ms-flex:1;flex:1}.user-count h5{font-size:1em;font-weight:bolder;margin:0 0 .25em}.dailyAvg{font-size:.8em;opacity:.5}.nav-panel ul{list-style:none;margin:0;padding:0}.nav-panel li{border-bottom:1px solid;border-color:inherit;padding:0}.nav-panel li:first-child a{border-top-right-radius:10px;border-top-left-radius:10px}.nav-panel li:last-child a{border-bottom-right-radius:10px;border-bottom-left-radius:10px}.nav-panel li:last-child{border:none}.nav-panel a{display:block;padding:.8em .85em}.nav-panel a:hover{background-color:transparent}.nav-panel a.router-link-active{font-weight:bolder;background-color:transparent}.nav-panel a.router-link-active:hover{text-decoration:underline}.notifications{padding-bottom:15em}.notifications .panel-heading{position:relative}.notifications .panel-heading .read-button{position:absolute;right:.7em;height:1.8em;line-height:100%}.notifications .unseen-count{display:inline-block;background-color:rgba(255,16,8,.8);text-shadow:0 0 3px rgba(0,0,0,.5);min-width:1.3em;border-radius:1.3em;margin:0 .2em 0 -.4em;color:#fff;font-size:.9em;text-align:center;line-height:1.3em}.notifications .notification{padding:.4em 0 0 10px;display:-ms-flexbox;display:flex;border-bottom:1px solid;border-bottom-color:inherit}.notifications .notification .text{min-width:0;word-wrap:break-word;line-height:18px;padding:.3em .8em .5em}.notifications .notification .text .icon-retweet{color:#0fa00f}.notifications .notification .text .icon-reply{color:#0095ff}.notifications .notification .text h1{margin:0 0 .3em;padding:0;font-size:1em;line-height:20px}.notifications .notification .text p{margin:0;margin-top:0;margin-bottom:.3em}.notifications .notification .avatar{padding-top:.3em;width:32px;height:32px;border-radius:50%}.notifications .notification:last-child{border-bottom:none;border-radius:0 0 10px 10px}.notifications .unseen{border-left:4px solid rgba(255,16,8,.75);padding-left:6px}.timeline .timeline-heading{position:relative;display:-ms-flexbox;display:flex}.timeline .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%}.timeline .loadmore-button{position:absolute;right:.6em;min-width:6em;height:1.8em;line-height:100%}.timeline .error{background-color:rgba(255,48,16,.65)}.timeline .no-press{opacity:.8;cursor:default}.new-status-notification{position:relative;margin-top:-1px;font-size:1.1em;border-width:1px 0 0;border-style:solid;border-radius:0 0 10px 10px;padding:10px;z-index:1}.status-el{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;border-left-width:0}.status-el .user-content{min-height:52px;padding-top:1px}.status-el .source_url{float:right}.status-el .greentext{color:green}.status-el a{display:inline-block;word-break:break-all}.status-el .status-content{margin:3px 15px 4px 0}.status-el p{margin:0;margin-top:.2em;margin-bottom:.5em}.status-conversation{border-left-style:solid}.status-actions{padding-top:5px}.icon-reply-active,.icon-reply:hover{color:#0095ff}.status .avatar{width:48px}.status.compact .avatar{width:32px}.status{padding:.65em .7em .8em .8em;border-bottom:1px solid;border-bottom-color:inherit;border-left:4px rgba(255,48,16,.65);border-left-style:inherit}.muted{padding:.1em .7em .1em .8em}.muted button{margin-left:auto}.muted .muteWords{margin-left:10px}a.unmute{display:block;margin-left:auto}.usercard{border-style:solid;border-width:1px;border-radius:10px;margin-bottom:1em;margin-top:.2em}.reply-left{-ms-flex:0;flex:0;min-width:48px}.reply-body{-ms-flex:1;flex:1}.attachments{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-.7em}.attachments .attachment{-ms-flex:1 0 30%;flex:1 0 30%;margin:.5em .7em .6em 0;-ms-flex-item-align:start;align-self:flex-start}.attachments .attachment.html{-ms-flex-preferred-size:100%;flex-basis:100%;display:-ms-flexbox;display:flex}.attachments .attachment.loading{cursor:progress}.attachments .attachment .hider{position:absolute;margin:10px;padding:5px;background:hsla(0,0%,90%,.6);border-radius:5px;font-weight:700}.attachments .attachment video{height:100%;border:1px solid;border-radius:5px;width:100%}.attachments .attachment audio{width:100%}.attachments .attachment img.media-upload{width:100%;height:100%;-ms-flex:1;flex:1;border:1px solid;border-radius:5px}.attachments .attachment .oembed{border:1px solid;border-radius:5px;border-color:inherit;width:100%;margin-right:15px;display:-ms-flexbox;display:flex}.attachments .attachment .oembed img{width:100%}.attachments .attachment .oembed .image{-ms-flex:1;flex:1}.attachments .attachment .oembed .image img{border:0;border-radius:5px;height:100%;object-fit:cover}.attachments .attachment .oembed .text{-ms-flex:2;flex:2;margin:8px}.attachments .attachment .oembed .text h1{font-size:14px;margin:0}.attachments .attachment a.image-attachment{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}.attachments .attachment a.image-attachment img{border-style:solid;border-width:1px;border-radius:5px;object-fit:contain;width:100%;height:100%;max-height:500px}.favorite-button{cursor:pointer;animation-duration:.6s}.favorite-button:hover,.icon-star{color:orange}.icon-retweet{cursor:pointer;animation-duration:.6s}.icon-retweet:hover,.retweeted{color:#0fa00f}.delete-status,.icon-cancel{cursor:pointer}.delete-status:hover,.icon-cancel:hover{color:red}.spacer{height:1em}.conversation-heading{border-bottom-style:solid;border-bottom-width:1px}.user-profile{-ms-flex:2;flex:2;-ms-flex-preferred-size:500px;flex-basis:500px}.setting-item{margin:1em 1em 1.4em}.setting-item textarea{width:100%;height:100px}.setting-list{list-style-type:none}.style-switcher{margin-right:1em}.registration-form form{padding:.6em}.registration-form .form-group,.registration-form form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.registration-form .form-group{padding:.3em .5em .6em;line-height:24px}.registration-form form textarea{border:solid;border-width:1px;border-color:silver;border-radius:5px;line-height:16px;padding:5px;resize:vertical}.registration-form input{border:1px solid silver;border-radius:5px;padding:.1em .2em .2em}.registration-form .btn{margin-top:1em;min-height:28px}.registration-form .error{border-radius:5px;text-align:center;background-color:rgba(255,48,16,.65);min-height:28px;line-height:28px} +/*# sourceMappingURL=app.a86c13eb46180b1b975a1acd59b52cc6.css.map*/ \ No newline at end of file diff --git a/priv/static/static/css/app.a86c13eb46180b1b975a1acd59b52cc6.css.map b/priv/static/static/css/app.a86c13eb46180b1b975a1acd59b52cc6.css.map new file mode 100644 index 000000000..a3219d583 --- /dev/null +++ b/priv/static/static/css/app.a86c13eb46180b1b975a1acd59b52cc6.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack:///src/App.scss","webpack:///webpack:///src/components/login_form/login_form.vue","webpack:///webpack:///src/components/post_status_form/post_status_form.vue","webpack:///webpack:///src/components/media_upload/media_upload.vue","webpack:///webpack:///~/tributejs/scss/~/tributejs/scss/tribute.scss","webpack:///webpack:///src/components/user_card_content/user_card_content.vue","webpack:///webpack:///src/components/nav_panel/nav_panel.vue","webpack:///webpack:///src/components/notifications/notifications.scss","webpack:///webpack:///src/components/timeline/timeline.vue","webpack:///webpack:///src/components/status/status.vue","webpack:///webpack:///src/components/attachment/attachment.vue","webpack:///webpack:///src/components/favorite_button/favorite_button.vue","webpack:///webpack:///src/components/retweet_button/retweet_button.vue","webpack:///webpack:///src/components/delete_button/delete_button.vue","webpack:///webpack:///src/components/status_or_conversation/status_or_conversation.vue","webpack:///webpack:///src/components/conversation/conversation.vue","webpack:///webpack:///src/components/user_profile/user_profile.vue","webpack:///webpack:///src/components/settings/settings.vue","webpack:///webpack:///src/components/style_switcher/style_switcher.vue","webpack:///webpack:///src/components/registration/registration.vue"],"names":[],"mappings":"AACA,KAAK,sBAAsB,4BAA4B,4BAA4B,2BAA2B,gBAAgB,CAE9H,GAAG,QAAQ,CAEX,SAAS,gBAAgB,CAEzB,aAAa,iBAAiB,CAE9B,KAAK,uBAAuB,eAAe,QAAQ,CAEnD,EAAE,oBAAoB,CAEtB,OAAO,YAAY,kBAAkB,cAAc,CAEnD,aAAa,UAAW,CAExB,WAAW,oBAAoB,aAAa,mBAAmB,eAAe,SAAS,cAAqB,CAE5G,MAAM,oBAAoB,CAE1B,MAAM,WAAW,MAAM,CAEvB,YAAY,mBAAmB,CAE/B,WAAW,WAAW,MAAM,CAE5B,IAAI,WAAoD,cAAe,CAEvE,mBAFe,sBAAsB,mBAAkC,WAAW,CAGjF,eADc,kBAAkB,mBAAmB,oBAAoB,aAAsD,8BAA8B,iBAAiB,YAAwB,4BAA4B,wBAA2B,uBAAuB,CAEnR,YAAY,WAAW,MAAM,CAE7B,gBAAgB,sBAAuB,eAAe,CA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YAAY,WAAW,OAAO,iBAAiB,iBAAiB,CAErH,iCAAiC,iBAAiB,kBAAkB,qBAAqB,WAAW,kBAAkB,oBAAoB,YAAY,CAEtJ,qCAAqC,UAAU,CAE/C,wCAAwC,WAAW,MAAM,CAEzD,4CAA4C,SAAW,kBAAkB,YAAY,gBAAgB,CAErG,uCAAuC,WAAW,OAAO,UAAU,CAEnE,0CAA0C,eAAe,QAAU,CAEnE,4CAA4C,oBAAoB,aAAa,WAAW,MAAM,CAE9F,gDAAgD,mBAAmB,iBAAiB,kBAAkB,mBAAmB,WAAW,YAAY,gBAAgB,CC9BhK,iBAAiB,eAAe,sBAAuB,CAIvD,kCAAW,YAAY,CCJvB,cAAc,eAAe,sBAAuB,CAIpD,+BAAW,aAAa,CCJxB,4BAA4B,cAAc,CAE1C,wCAAwC,SAAS,CCFjD,QAAQ,UAAU,CCAlB,sBAAsB,0BAA0B,uBAAuB,CCAvE,cAAc,WAAW,OAAO,8BAA8B,gBAAgB,CCA9E,cAAc,oBAAoB,CAElC,uBAAuB,WAAW,YAAY,CAE9C,cAAc,oBAAoB,CCJlC,gBAAgB,gBAAgB,CCAhC,wBAAyG,YAAa,CAEtH,uDAFwB,oBAAoB,aAAa,0BAA0B,qBAAsB,CAGxG,+BAD+G,uBAA0B,gBAAgB,CAE1J,iCAAiC,aAAa,iBAAiB,oBAAoB,kBAAkB,iBAAiB,YAAY,eAAe,CAEjJ,yBAA6D,wBAAoB,kBAAkB,sBAA+B,CAElI,wBAAwB,eAAiB,eAAe,CAExD,0BAA0B,kBAAkB,kBAAkB,qCAAsC,gBAAgB,gBAAgB","file":"static/css/app.a86c13eb46180b1b975a1acd59b52cc6.css","sourcesContent":["\n#app{background-size:cover;background-attachment:fixed;background-repeat:no-repeat;background-position:0 50px;min-height:100vh\n}\nh4{margin:0\n}\n#content{padding-top:60px\n}\n.text-center{text-align:center\n}\nbody{font-family:sans-serif;font-size:14px;margin:0\n}\na{text-decoration:none\n}\nbutton{border:none;border-radius:5px;cursor:pointer\n}\nbutton:hover{opacity:0.8\n}\n.container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0 10px 0 10px\n}\n.gaps{margin:-1em 0 0 -1em\n}\n.item{-ms-flex:1;flex:1\n}\n.gaps>.item{padding:1em 0 0 1em\n}\n.auto-size{-ms-flex:1;flex:1\n}\nnav{width:100%;-ms-flex-align:center;align-items:center;position:fixed;height:50px\n}\nnav .inner-nav{padding-left:20px;padding-right:20px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-preferred-size:970px;flex-basis:970px;margin:auto;height:50px;background-repeat:no-repeat;background-position:center;background-size:contain\n}\nmain-router{-ms-flex:1;flex:1\n}\n.status.compact{color:rgba(0,0,0,0.42);font-weight:300\n}\n.status.compact p{margin:0;font-size:0.8em\n}\n.panel{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0.5em;border-radius:10px\n}\n.panel-heading{border-radius:10px 10px 0 0;background-size:cover;padding:0.6em 1.0em;text-align:left;font-size:1.3em;line-height:24px\n}\n.panel-footer{border-radius:0 0 10px 10px\n}\n.panel-body>p{line-height:18px;padding:1em;margin:0\n}\n#content{margin:auto;max-width:980px;border-radius:10px;padding-bottom:1em;background-color:rgba(0,0,0,0.1)\n}\n.media-body{-ms-flex:1;flex:1;padding-left:0.5em\n}\n.container>*{min-width:0px\n}\n.fa{color:grey\n}\n.status-actions{width:50%;display:-ms-flexbox;display:flex\n}\n.status-actions div,.status-actions favorite-button{-ms-flex:1;flex:1\n}\nstatus-text-container{display:block\n}\n.status-el{line-height:18px\n}\n.status-el .notify .avatar{border-width:3px;border-style:solid\n}\n.status-el .media-left img{margin-top:0.2em;float:right;margin-right:0.3em;border-radius:5px\n}\n.status-el .retweet-info{padding:0.7em 0 0 0.6em\n}\n.status-el .retweet-info .media-left{display:-ms-flexbox;display:flex\n}\n.status-el .retweet-info .media-left i{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;text-align:right;-ms-flex:1;flex:1;padding-right:0.3em\n}\n.status-el .media-heading{margin-bottom:0.3em\n}\n.status-el .media-heading small{font-weight:lighter\n}\nnav{z-index:1000\n}\n.fade-enter-active,.fade-leave-active{transition:opacity .2s\n}\n.fade-enter,.fade-leave-active{opacity:0\n}\n.main{-ms-flex-preferred-size:60%;flex-basis:60%;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1\n}\n.sidebar{-ms-flex:0;flex:0;-ms-flex-preferred-size:35%;flex-basis:35%\n}\n.sidebar-flexer{-ms-flex:1;flex:1;-ms-flex-preferred-size:345px;flex-basis:345px;width:365px\n}\n.mobile-shown{display:none\n}\n.panel-switcher{display:none;width:100%\n}\n.panel-switcher button{display:block;-ms-flex:1;flex:1;margin:0.5em;padding:0.5em\n}\n@media all and (min-width: 960px){\n.sidebar{overflow:hidden;max-height:100vh;width:350px;position:fixed;margin-top:-10px\n}\n.sidebar .sidebar-container{height:96vh;width:362px;padding-top:10px;padding-right:20px;overflow-x:hidden;overflow-y:scroll\n}\n.sidebar-flexer{max-height:96vh;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0\n}\n}\n@media all and (max-width: 959px){\n.mobile-hidden{display:none\n}\n.panel-switcher{display:-ms-flexbox;display:flex\n}\n.container{padding:0 0 0 0\n}\n.panel{margin:0.5em 0 0.5em 0\n}\n}\n.item.right{text-align:right;padding-right:20px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/App.scss","\n.login-form input{border-width:1px;border-style:solid;border-color:silver;border-radius:5px;padding:0.1em 0.2em 0.2em 0.2em\n}\n.login-form .btn{margin-top:1.0em;min-height:28px\n}\n.login-form .error{border-radius:5px;text-align:center;background-color:rgba(255,48,16,0.65);min-height:28px;line-height:28px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/login_form/login_form.vue","\n.tribute-container ul{padding:0px\n}\n.tribute-container ul li{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center\n}\n.tribute-container img{padding:3px;width:16px;height:16px;border-radius:50%\n}\n.post-status-form .form-bottom,.login .form-bottom{display:-ms-flexbox;display:flex;padding:0.5em\n}\n.post-status-form .form-bottom button,.login .form-bottom button{-ms-flex:2;flex:2\n}\n.post-status-form .attachments,.login .attachments{padding:0.5em\n}\n.post-status-form .attachments i,.login .attachments i{position:absolute;margin:10px;padding:5px;background:rgba(230,230,230,0.6);border-radius:5px;font-weight:bold\n}\n.post-status-form .btn,.login .btn{cursor:pointer\n}\n.post-status-form .btn[disabled],.login .btn[disabled]{cursor:not-allowed\n}\n.post-status-form .icon-cancel,.login .icon-cancel{cursor:pointer\n}\n.post-status-form form,.login form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0.6em\n}\n.post-status-form .form-group,.login .form-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0.3em 0.5em 0.6em;line-height:24px\n}\n.post-status-form form textarea,.login form textarea{border:solid;border-width:1px;border-color:silver;border-radius:5px;line-height:16px;padding:5px;resize:vertical\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/post_status_form/post_status_form.vue","\n.media-upload {\n font-size: 26px;\n -ms-flex: 1;\n flex: 1;\n}\n.icon-upload {\n cursor: pointer;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/media_upload/media_upload.vue",".tribute-container {\n position: absolute;\n top: 0;\n left: 0;\n height: auto;\n max-height: 300px;\n max-width: 500px;\n overflow: auto;\n display: block;\n z-index: 999999;\n\n ul {\n margin: 0;\n margin-top: 2px;\n list-style: none;\n background: #efefef;\n }\n\n li {\n padding: 5px 5px;\n cursor: pointer;\n\n &.highlight, &:hover {\n background: #ddd;\n }\n\n span {\n font-weight: bold;\n }\n }\n\n .menu-highlighted {\n font-weight: bold;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///~/tributejs/scss/~/tributejs/scss/tribute.scss","\n.profile-panel-background{background-size:cover;border-radius:10px\n}\n.profile-panel-background .panel-heading{padding:0.6em 0em;text-align:center\n}\n.profile-panel-body{top:-0em;padding-top:4em\n}\n.user-info{color:white;padding:16px 16px 16px 16px;margin-bottom:-4em;text-shadow:0px 1px 1.5px #000\n}\n.user-info .container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-pack:center;justify-content:center;max-height:60px\n}\n.user-info img{border:2px solid;border-radius:5px;-ms-flex:1 0 100%;flex:1 0 100%;max-width:48px;max-height:48px\n}\n.user-info .user-name{margin-top:0.0em;margin-left:0.6em;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-item-align:start;align-self:flex-start\n}\n.user-info .user-screen-name{margin-top:0.0em;margin-left:0.6em;font-weight:lighter;font-size:15px;padding-right:0.1em;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-item-align:start;align-self:flex-start\n}\n.user-info .user-interactions{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:justify;justify-content:space-between;margin-top:0.7em;margin-bottom:-1.0em\n}\n.user-info .user-interactions div{-ms-flex:1;flex:1\n}\n.user-info .user-interactions .following{color:white;font-size:14px;-ms-flex:0 0 100%;flex:0 0 100%;margin:-0.7em 0.0em 0.3em 0.0em;padding-left:16px;text-align:left\n}\n.user-info .user-interactions .mute{max-width:220px;min-height:28px\n}\n.user-info .user-interactions .follow{max-width:220px;min-height:28px\n}\n.user-info .user-interactions button{border:solid;border-width:1px;width:92%;height:100%\n}\n.user-info .user-interactions .pressed{border:solid;border-width:1px\n}\n.user-counts{display:-ms-flexbox;display:flex;line-height:16px;padding:1em 1.5em 0em 1em;text-align:center\n}\n.user-count{-ms-flex:1;flex:1\n}\n.user-count h5{font-size:1em;font-weight:bolder;margin:0 0 0.25em\n}\n.dailyAvg{font-size:0.8em;opacity:0.5\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/user_card_content/user_card_content.vue","\n.nav-panel ul{list-style:none;margin:0;padding:0\n}\n.nav-panel li{border-bottom:1px solid;border-color:inherit;padding:0\n}\n.nav-panel li:first-child a{border-top-right-radius:10px;border-top-left-radius:10px\n}\n.nav-panel li:last-child a{border-bottom-right-radius:10px;border-bottom-left-radius:10px\n}\n.nav-panel li:last-child{border:none\n}\n.nav-panel a{display:block;padding:0.8em 0.85em\n}\n.nav-panel a:hover{background-color:transparent\n}\n.nav-panel a.router-link-active{font-weight:bolder;background-color:transparent\n}\n.nav-panel a.router-link-active:hover{text-decoration:underline\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/nav_panel/nav_panel.vue","\n.notifications{padding-bottom:15em\n}\n.notifications .panel-heading{position:relative\n}\n.notifications .panel-heading .read-button{position:absolute;right:0.7em;height:1.8em;line-height:100%\n}\n.notifications .unseen-count{display:inline-block;background-color:rgba(255,16,8,0.8);text-shadow:0px 0px 3px rgba(0,0,0,0.5);min-width:1.3em;border-radius:1.3em;margin:0 0.2em 0 -0.4em;color:white;font-size:0.9em;text-align:center;line-height:1.3em\n}\n.notifications .notification{padding:0.4em 0 0 10px;display:-ms-flexbox;display:flex;border-bottom:1px solid;border-bottom-color:inherit\n}\n.notifications .notification .text{min-width:0px;word-wrap:break-word;line-height:18px;padding:0.3em 0.8em 0.5em\n}\n.notifications .notification .text .icon-retweet{color:#0fa00f\n}\n.notifications .notification .text .icon-reply{color:#0095ff\n}\n.notifications .notification .text h1{margin:0 0 0.3em;padding:0;font-size:1em;line-height:20px\n}\n.notifications .notification .text p{margin:0;margin-top:0;margin-bottom:0.3em\n}\n.notifications .notification .avatar{padding-top:0.3em;width:32px;height:32px;border-radius:50%\n}\n.notifications .notification:last-child{border-bottom:none;border-radius:0 0 10px 10px\n}\n.notifications .unseen{border-left:4px solid rgba(255,16,8,0.75);padding-left:6px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/notifications/notifications.scss","\n.timeline .timeline-heading{position:relative;display:-ms-flexbox;display:flex\n}\n.timeline .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%\n}\n.timeline .loadmore-button{position:absolute;right:0.6em;min-width:6em;height:1.8em;line-height:100%\n}\n.timeline .error{background-color:rgba(255,48,16,0.65)\n}\n.timeline .no-press{opacity:0.8;cursor:default\n}\n.new-status-notification{position:relative;margin-top:-1px;font-size:1.1em;border-width:1px 0 0 0;border-style:solid;border-radius:0 0 10px 10px;padding:10px;z-index:1\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/timeline/timeline.vue","\n.status-el{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;border-left-width:0px\n}\n.status-el .user-content{min-height:52px;padding-top:1px\n}\n.status-el .source_url{float:right\n}\n.status-el .greentext{color:green\n}\n.status-el a{display:inline-block;word-break:break-all\n}\n.status-el .status-content{margin:3px 15px 4px 0\n}\n.status-el p{margin:0;margin-top:0.2em;margin-bottom:0.5em\n}\n.status-conversation{border-left-style:solid\n}\n.status-actions{padding-top:5px\n}\n.icon-reply:hover{color:#0095ff\n}\n.icon-reply-active{color:#0095ff\n}\n.status .avatar{width:48px\n}\n.status.compact .avatar{width:32px\n}\n.status{padding:0.65em 0.7em 0.8em 0.8em;border-bottom:1px solid;border-bottom-color:inherit;border-left:4px rgba(255,48,16,0.65);border-left-style:inherit\n}\n.muted{padding:0.1em 0.7em 0.1em 0.8em\n}\n.muted button{margin-left:auto\n}\n.muted .muteWords{margin-left:10px\n}\na.unmute{display:block;margin-left:auto\n}\n.usercard{border-style:solid;border-width:1px;border-radius:10px;margin-bottom:1em;margin-top:0.2em\n}\n.reply-left{-ms-flex:0;flex:0;min-width:48px\n}\n.reply-body{-ms-flex:1;flex:1\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/status/status.vue","\n.attachments{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-0.7em\n}\n.attachments .attachment{-ms-flex:1 0 30%;flex:1 0 30%;margin:0.5em 0.7em 0.6em 0.0em;-ms-flex-item-align:start;align-self:flex-start\n}\n.attachments .attachment.html{-ms-flex-preferred-size:100%;flex-basis:100%;display:-ms-flexbox;display:flex\n}\n.attachments .attachment.loading{cursor:progress\n}\n.attachments .attachment .hider{position:absolute;margin:10px;padding:5px;background:rgba(230,230,230,0.6);border-radius:5px;font-weight:bold\n}\n.attachments .attachment video{height:100%;border:1px solid;border-radius:5px;width:100%\n}\n.attachments .attachment audio{width:100%\n}\n.attachments .attachment img.media-upload{width:100%;height:100%;-ms-flex:1;flex:1;border:1px solid;border-radius:5px\n}\n.attachments .attachment .oembed{border:1px solid;border-radius:5px;border-color:inherit;width:100%;margin-right:15px;display:-ms-flexbox;display:flex\n}\n.attachments .attachment .oembed img{width:100%\n}\n.attachments .attachment .oembed .image{-ms-flex:1;flex:1\n}\n.attachments .attachment .oembed .image img{border:0px;border-radius:5px;height:100%;object-fit:cover\n}\n.attachments .attachment .oembed .text{-ms-flex:2;flex:2;margin:8px\n}\n.attachments .attachment .oembed .text h1{font-size:14px;margin:0px\n}\n.attachments .attachment a.image-attachment{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1\n}\n.attachments .attachment a.image-attachment img{border-style:solid;border-width:1px;border-radius:5px;object-fit:contain;width:100%;height:100%;max-height:500px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/attachment/attachment.vue","\n.favorite-button{cursor:pointer;animation-duration:0.6s\n}\n.favorite-button:hover{color:orange\n}\n.icon-star{color:orange\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/favorite_button/favorite_button.vue","\n.icon-retweet{cursor:pointer;animation-duration:0.6s\n}\n.icon-retweet:hover{color:#0fa00f\n}\n.retweeted{color:#0fa00f\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/retweet_button/retweet_button.vue","\n.icon-cancel,.delete-status{cursor:pointer\n}\n.icon-cancel:hover,.delete-status:hover{color:red\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/delete_button/delete_button.vue","\n.spacer{height:1em\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/status_or_conversation/status_or_conversation.vue","\n.conversation-heading{border-bottom-style:solid;border-bottom-width:1px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/conversation/conversation.vue","\n.user-profile{-ms-flex:2;flex:2;-ms-flex-preferred-size:500px;flex-basis:500px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/user_profile/user_profile.vue","\n.setting-item{margin:1em 1em 1.4em\n}\n.setting-item textarea{width:100%;height:100px\n}\n.setting-list{list-style-type:none\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/settings/settings.vue","\n.style-switcher{margin-right:1em\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/style_switcher/style_switcher.vue","\n.registration-form form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0.6em\n}\n.registration-form .form-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0.3em 0.5em 0.6em;line-height:24px\n}\n.registration-form form textarea{border:solid;border-width:1px;border-color:silver;border-radius:5px;line-height:16px;padding:5px;resize:vertical\n}\n.registration-form input{border-width:1px;border-style:solid;border-color:silver;border-radius:5px;padding:0.1em 0.2em 0.2em 0.2em\n}\n.registration-form .btn{margin-top:1.0em;min-height:28px\n}\n.registration-form .error{border-radius:5px;text-align:center;background-color:rgba(255,48,16,0.65);min-height:28px;line-height:28px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/registration/registration.vue"],"sourceRoot":""} \ No newline at end of file diff --git a/priv/static/static/css/app.c9152df945545cbfad798e27da935399.css b/priv/static/static/css/app.c9152df945545cbfad798e27da935399.css deleted file mode 100644 index 28d742473..000000000 --- a/priv/static/static/css/app.c9152df945545cbfad798e27da935399.css +++ /dev/null @@ -1,2 +0,0 @@ -#app{background-size:cover;background-attachment:fixed;background-repeat:no-repeat;background-position:0 50px;min-height:100vh}h4{margin:0}#content{padding-top:60px}.text-center{text-align:center}body{font-family:sans-serif;font-size:14px;margin:0}a{text-decoration:none}button{border:none;border-radius:5px;cursor:pointer}button:hover{opacity:.8}.container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0 10px}.gaps{margin:-1em 0 0 -1em}.item{-ms-flex:1;flex:1}.gaps>.item{padding:1em 0 0 1em}.auto-size{-ms-flex:1;flex:1}nav{width:100%;position:fixed}nav,nav .inner-nav{-ms-flex-align:center;align-items:center;height:50px}nav .inner-nav{padding-left:20px;padding-right:20px;display:-ms-flexbox;display:flex;-ms-flex-preferred-size:970px;flex-basis:970px;margin:auto;background-repeat:no-repeat;background-position:50%;background-size:contain}main-router{-ms-flex:1;flex:1}.status.compact{color:rgba(0,0,0,.42);font-weight:300}.status.compact p{margin:0;font-size:.8em}.panel{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:.5em;border-radius:10px}.panel-heading{border-radius:10px 10px 0 0;background-size:cover;padding:.6em 1em;text-align:left;font-size:1.3em;line-height:24px}.panel-footer{border-radius:0 0 10px 10px}.panel-body>p{line-height:18px;padding:1em;margin:0}#content{margin:auto;max-width:980px;border-radius:10px;padding-bottom:1em;background-color:rgba(0,0,0,.1)}.media-body{-ms-flex:1;flex:1;padding-left:.5em}.container>*{min-width:0}.fa{color:grey}.status-actions{width:50%;display:-ms-flexbox;display:flex}.status-actions div,.status-actions favorite-button{-ms-flex:1;flex:1}status-text-container{display:block}.status-el{line-height:18px}.status-el .notify .avatar{border-width:3px;border-style:solid}.status-el .media-left img{margin-top:.2em;float:right;margin-right:.3em;border-radius:5px}.status-el .retweet-info{padding:.7em 0 0 .6em}.status-el .retweet-info .media-left{display:-ms-flexbox;display:flex}.status-el .retweet-info .media-left i{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;text-align:right;-ms-flex:1;flex:1;padding-right:.3em}.status-el .media-heading{margin-bottom:.3em}.status-el .media-heading small{font-weight:lighter}nav{z-index:1000}.fade-enter-active,.fade-leave-active{transition:opacity .2s}.fade-enter,.fade-leave-active{opacity:0}.main{-ms-flex:1;flex:1;-ms-flex-preferred-size:65%;flex-basis:65%}.sidebar{-ms-flex:1;flex:1;-ms-flex-preferred-size:35%;flex-basis:35%}.mobile-shown{display:none}.panel-switcher{display:none;width:100%}.panel-switcher button{display:block;-ms-flex:1;flex:1;margin:.5em;padding:.5em}@media (max-width:959px){.mobile-hidden{display:none}.panel-switcher{display:-ms-flexbox;display:flex}.container{padding:0}.panel{margin:.5em 0}}.item.right{text-align:right;padding-right:20px}.login-form input{border:1px solid silver;border-radius:5px;padding:.1em .2em .2em}.login-form .btn{margin-top:1em;min-height:28px}.login-form .error{border-radius:5px;text-align:center;background-color:rgba(255,48,16,.65);min-height:28px;line-height:28px}.tribute-container ul{padding:0}.tribute-container ul li{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.tribute-container img{padding:3px;width:16px;height:16px;border-radius:50%}.login .form-bottom,.post-status-form .form-bottom{display:-ms-flexbox;display:flex;padding:.5em}.login .form-bottom button,.post-status-form .form-bottom button{-ms-flex:2;flex:2}.login .attachments,.post-status-form .attachments{padding:.5em}.login .attachments i,.post-status-form .attachments i{position:absolute;margin:10px;padding:5px;background:hsla(0,0%,90%,.6);border-radius:5px;font-weight:700}.login form,.post-status-form form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:.6em}.login .form-group,.post-status-form .form-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:.3em .5em .6em;line-height:24px}.login form textarea,.post-status-form form textarea{border:solid;border-width:1px;border-color:silver;border-radius:5px;line-height:16px;padding:5px;resize:vertical}.login .btn,.post-status-form .btn{cursor:pointer}.login .btn[disabled],.post-status-form .btn[disabled]{cursor:not-allowed}.login .icon-cancel,.post-status-form .icon-cancel{cursor:pointer}.media-upload{font-size:26px;-ms-flex:1;flex:1}.icon-upload{cursor:pointer}.tribute-container{position:absolute;top:0;left:0;height:auto;max-height:300px;max-width:500px;overflow:auto;display:block;z-index:999999}.tribute-container ul{margin:0;margin-top:2px;list-style:none;background:#efefef}.tribute-container li{padding:5px;cursor:pointer}.tribute-container li.highlight,.tribute-container li:hover{background:#ddd}.tribute-container .menu-highlighted,.tribute-container li span{font-weight:700}.profile-panel-background{background-size:cover;border-radius:10px}.profile-panel-background .panel-heading{padding:.6em 0;text-align:center}.profile-panel-body{padding-top:0;top:0;padding-top:4em}.user-info{color:#fff;padding:16px;margin-bottom:-4em;text-shadow:0 1px 1.5px #000}.user-info .container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-pack:center;justify-content:center;max-height:60px}.user-info img{border:2px solid;border-radius:5px;-ms-flex:1 0 100%;flex:1 0 100%;max-width:48px;max-height:48px}.user-info .user-name,.user-info .user-screen-name{margin-top:0;margin-left:.6em;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-item-align:start;align-self:flex-start}.user-info .user-screen-name{font-weight:lighter;font-size:15px;padding-right:.1em}.user-info .user-interactions{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:justify;justify-content:space-between;margin-top:.7em;margin-bottom:-1em}.user-info .user-interactions div{-ms-flex:1;flex:1}.user-info .user-interactions .following{color:#fff;font-size:14px;-ms-flex:0 0 100%;flex:0 0 100%;margin:-.7em 0 .3em;padding-left:16px;text-align:left}.user-info .user-interactions .follow,.user-info .user-interactions .mute{max-width:220px;min-height:28px}.user-info .user-interactions button{border:solid;border-width:1px;width:92%;height:100%}.user-info .user-interactions .pressed{border:solid;border-width:1px}.user-counts{display:-ms-flexbox;display:flex;line-height:16px;padding:1em 1.5em 0 1em;text-align:center}.user-count{-ms-flex:1;flex:1}.user-count h5{font-size:1em;font-weight:bolder;margin:0 0 .25em}.dailyAvg{font-size:.8em;opacity:.5}.nav-panel ul{list-style:none;margin:0;padding:0}.nav-panel li{border-bottom:1px solid;border-color:inherit;padding:0}.nav-panel li:first-child a{border-top-right-radius:10px;border-top-left-radius:10px}.nav-panel li:last-child a{border-bottom-right-radius:10px;border-bottom-left-radius:10px}.nav-panel li:last-child{border:none}.nav-panel a{display:block;padding:.8em .85em}.nav-panel a:hover{background-color:transparent}.nav-panel a.router-link-active{font-weight:bolder;background-color:transparent}.nav-panel a.router-link-active:hover{text-decoration:underline}.notifications .panel-heading{position:relative}.notifications .panel-heading .read-button{position:absolute;right:.7em;height:1.8em;line-height:100%}.notifications .unseen-count{display:inline-block;background-color:rgba(255,16,8,.8);text-shadow:0 0 3px rgba(0,0,0,.5);min-width:1.3em;border-radius:1.3em;margin:0 .2em 0 -.4em;color:#fff;font-size:.9em;text-align:center;line-height:1.3em}.notifications .notification{padding:.4em 0 0 10px;display:-ms-flexbox;display:flex;border-bottom:1px solid;border-bottom-color:inherit}.notifications .notification .text{min-width:0;word-wrap:break-word;line-height:18px;padding:.3em .8em .5em}.notifications .notification .text .icon-retweet{color:#0fa00f}.notifications .notification .text .icon-reply{color:#0095ff}.notifications .notification .text h1{margin:0 0 .3em;padding:0;font-size:1em;line-height:20px}.notifications .notification .text p{margin:0;margin-top:0;margin-bottom:.3em}.notifications .notification .avatar{padding-top:.3em;width:32px;height:32px;border-radius:50%}.notifications .notification:last-child{border-bottom:none;border-radius:0 0 10px 10px}.notifications .unseen{border-left:4px solid rgba(255,16,8,.75);padding-left:6px}.timeline .timeline-heading{position:relative;display:-ms-flexbox;display:flex}.timeline .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%}.timeline .loadmore-button{position:absolute;right:.6em;min-width:6em;height:1.8em;line-height:100%}.timeline .error{background-color:rgba(255,48,16,.65)}.timeline .no-press{opacity:.8;cursor:default}.new-status-notification{position:relative;margin-top:-1px;font-size:1.1em;border-width:1px 0 0;border-style:solid;border-radius:0 0 10px 10px;padding:10px;z-index:1}.status-el{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;border-left-width:0}.status-el .user-content{min-height:52px;padding-top:1px}.status-el .source_url{float:right}.status-el .greentext{color:green}.status-el a{display:inline-block;word-break:break-all}.status-el .status-content{margin:3px 15px 4px 0}.status-el p{margin:0;margin-top:.2em;margin-bottom:.5em}.status-conversation{border-left-style:solid}.status-actions{padding-top:5px}.icon-reply-active,.icon-reply:hover{color:#0095ff}.status .avatar{width:48px}.status.compact .avatar{width:32px}.status{padding:.65em .7em .8em .8em;border-bottom:1px solid;border-bottom-color:inherit;border-left:4px rgba(255,48,16,.65);border-left-style:inherit}.muted button,a.unmute{margin-left:auto}a.unmute{display:block}.usercard{border-style:solid;border-width:1px;border-radius:10px;margin-bottom:1em;margin-top:.2em}.reply-left{-ms-flex:0;flex:0;min-width:48px}.reply-body{-ms-flex:1;flex:1}.attachments{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-.8em}.attachments .attachment{-ms-flex:1 0 30%;flex:1 0 30%;margin:.5em .8em .6em 0;-ms-flex-item-align:start;align-self:flex-start}.attachments .attachment.html{-ms-flex-preferred-size:100%;flex-basis:100%;display:-ms-flexbox;display:flex}.attachments .attachment.loading{cursor:progress}.attachments .attachment .hider{position:absolute;margin:10px;padding:5px;background:hsla(0,0%,90%,.6);border-radius:5px;font-weight:700}.attachments .attachment video{height:100%;border:1px solid;border-radius:5px;width:100%}.attachments .attachment audio{width:100%}.attachments .attachment img.media-upload{width:100%;height:100%;-ms-flex:1;flex:1;border:1px solid;border-radius:5px}.attachments .attachment .oembed{border:1px solid;border-radius:5px;border-color:inherit;width:100%;margin-right:15px;display:-ms-flexbox;display:flex}.attachments .attachment .oembed img{width:100%}.attachments .attachment .oembed .image{-ms-flex:1;flex:1}.attachments .attachment .oembed .image img{border:0;border-radius:5px;height:100%;object-fit:cover}.attachments .attachment .oembed .text{-ms-flex:2;flex:2;margin:8px}.attachments .attachment .oembed .text h1{font-size:14px;margin:0}.attachments .attachment a.image-attachment{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}.attachments .attachment a.image-attachment img{border-style:solid;border-width:1px;border-radius:5px;width:100%;height:100%}.favorite-button{cursor:pointer;animation-duration:.6s}.favorite-button:hover,.icon-star{color:orange}.icon-retweet{cursor:pointer;animation-duration:.6s}.icon-retweet:hover,.retweeted{color:#0fa00f}.delete-status,.icon-cancel{cursor:pointer}.delete-status:hover,.icon-cancel:hover{color:red}.spacer{height:1em}.conversation-heading{border-bottom-style:solid;border-bottom-width:1px}.user-profile{-ms-flex:2;flex:2;-ms-flex-preferred-size:500px;flex-basis:500px}.setting-item{margin:1em 1em 1.4em}.setting-list{list-style-type:none}.style-switcher{margin-right:1em} -/*# sourceMappingURL=app.c9152df945545cbfad798e27da935399.css.map*/ \ No newline at end of file diff --git a/priv/static/static/css/app.c9152df945545cbfad798e27da935399.css.map b/priv/static/static/css/app.c9152df945545cbfad798e27da935399.css.map deleted file mode 100644 index 7fdfadaa6..000000000 --- a/priv/static/static/css/app.c9152df945545cbfad798e27da935399.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///webpack:///src/App.scss","webpack:///webpack:///src/components/login_form/login_form.vue","webpack:///webpack:///src/components/post_status_form/post_status_form.vue","webpack:///webpack:///src/components/media_upload/media_upload.vue","webpack:///webpack:///~/tributejs/scss/~/tributejs/scss/tribute.scss","webpack:///webpack:///src/components/user_card_content/user_card_content.vue","webpack:///webpack:///src/components/nav_panel/nav_panel.vue","webpack:///webpack:///src/components/notifications/notifications.scss","webpack:///webpack:///src/components/timeline/timeline.vue","webpack:///webpack:///src/components/status/status.vue","webpack:///webpack:///src/components/attachment/attachment.vue","webpack:///webpack:///src/components/favorite_button/favorite_button.vue","webpack:///webpack:///src/components/retweet_button/retweet_button.vue","webpack:///webpack:///src/components/delete_button/delete_button.vue","webpack:///webpack:///src/components/status_or_conversation/status_or_conversation.vue","webpack:///webpack:///src/components/conversation/conversation.vue","webpack:///webpack:///src/components/user_profile/user_profile.vue","webpack:///webpack:///src/components/settings/settings.vue","webpack:///webpack:///src/components/style_switcher/style_switcher.vue"],"names":[],"mappings":"AACA,KAAK,sBAAsB,4BAA4B,4BAA4B,2BAA2B,gBAAgB,CAE9H,GAAG,QAAQ,CAEX,SAAS,gBAAgB,CAEzB,aAAa,iBAAiB,CAE9B,KAAK,uBAAuB,eAAe,QAAQ,CAEnD,EAAE,oBAAoB,CAEtB,OAAO,YAAY,kBAAkB,cAAc,CAEnD,aAAa,UAAW,CAExB,WAAW,oBAAoB,aAAa,mBAAmB,eAAe,SAAS,cAAqB,CAE5G,MAAM,oBAAoB,CAE1B,MAAM,WAAW,MAAM,CAEvB,YAAY,mBAAmB,CAE/B,WAAW,WAAW,MAAM,CAE5B,IAAI,WAAoD,cAAe,CAEvE,mBAFe,sBAAsB,mBAAkC,WAAW,CAGjF,eADc,kBAAkB,mBAAmB,oBAAoB,aAAsD,8BAA8B,iBAAiB,YAAwB,4BAA4B,wBAA2B,uBAAuB,CAEnR,YAAY,WAAW,MAAM,CAE7B,gBAAgB,sBAAuB,eAAe,CAEtD,kBAAkB,SAAS,cAAe,CAE1C,OAAO,oBAAoB,aAAa,0BAA0B,sBAAsB,YAAa,kBAAkB,CAEvH,eAAe,4BAA4B,sBAAsB,iBAAoB,gBAAgB,gBAAgB,gBAAgB,CAErI,cAAc,2BAA2B,CAEzC,cAAc,iBAAiB,YAAY,QAAQ,CAEnD,SAAS,YAAY,gBAAgB,mBAAmB,mBAAmB,+BAAgC,CAE3G,YAAY,WAAW,OAAO,iBAAkB,CAEhD,aAAa,WAAa,CAE1B,IAAI,UAAU,CAEd,gBAAgB,UAAU,oBAAoB,YAAY,CAE1D,oDAAoD,WAAW,MAAM,CAErE,sBAAsB,aAAa,CAEnC,WAAW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at:no-repeat;background-position:0 50px;min-height:100vh\n}\nh4{margin:0\n}\n#content{padding-top:60px\n}\n.text-center{text-align:center\n}\nbody{font-family:sans-serif;font-size:14px;margin:0\n}\na{text-decoration:none\n}\nbutton{border:none;border-radius:5px;cursor:pointer\n}\nbutton:hover{opacity:0.8\n}\n.container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0 10px 0 10px\n}\n.gaps{margin:-1em 0 0 -1em\n}\n.item{-ms-flex:1;flex:1\n}\n.gaps>.item{padding:1em 0 0 1em\n}\n.auto-size{-ms-flex:1;flex:1\n}\nnav{width:100%;-ms-flex-align:center;align-items:center;position:fixed;height:50px\n}\nnav .inner-nav{padding-left:20px;padding-right:20px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-preferred-size:970px;flex-basis:970px;margin:auto;height:50px;background-repeat:no-repeat;background-position:center;background-size:contain\n}\nmain-router{-ms-flex:1;flex:1\n}\n.status.compact{color:rgba(0,0,0,0.42);font-weight:300\n}\n.status.compact p{margin:0;font-size:0.8em\n}\n.panel{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0.5em;border-radius:10px\n}\n.panel-heading{border-radius:10px 10px 0 0;background-size:cover;padding:0.6em 1.0em;text-align:left;font-size:1.3em;line-height:24px\n}\n.panel-footer{border-radius:0 0 10px 10px\n}\n.panel-body>p{line-height:18px;padding:1em;margin:0\n}\n#content{margin:auto;max-width:980px;border-radius:10px;padding-bottom:1em;background-color:rgba(0,0,0,0.1)\n}\n.media-body{-ms-flex:1;flex:1;padding-left:0.5em\n}\n.container>*{min-width:0px\n}\n.fa{color:grey\n}\n.status-actions{width:50%;display:-ms-flexbox;display:flex\n}\n.status-actions div,.status-actions favorite-button{-ms-flex:1;flex:1\n}\nstatus-text-container{display:block\n}\n.status-el{line-height:18px\n}\n.status-el .notify .avatar{border-width:3px;border-style:solid\n}\n.status-el .media-left img{margin-top:0.2em;float:right;margin-right:0.3em;border-radius:5px\n}\n.status-el .retweet-info{padding:0.7em 0 0 0.6em\n}\n.status-el .retweet-info .media-left{display:-ms-flexbox;display:flex\n}\n.status-el .retweet-info .media-left i{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;text-align:right;-ms-flex:1;flex:1;padding-right:0.3em\n}\n.status-el .media-heading{margin-bottom:0.3em\n}\n.status-el .media-heading small{font-weight:lighter\n}\nnav{z-index:1000\n}\n.fade-enter-active,.fade-leave-active{transition:opacity .2s\n}\n.fade-enter,.fade-leave-active{opacity:0\n}\n.main{-ms-flex:1;flex:1;-ms-flex-preferred-size:65%;flex-basis:65%\n}\n.sidebar{-ms-flex:1;flex:1;-ms-flex-preferred-size:35%;flex-basis:35%\n}\n.mobile-shown{display:none\n}\n.panel-switcher{display:none;width:100%\n}\n.panel-switcher button{display:block;-ms-flex:1;flex:1;margin:0.5em;padding:0.5em\n}\n@media all and (max-width: 959px){\n.mobile-hidden{display:none\n}\n.panel-switcher{display:-ms-flexbox;display:flex\n}\n.container{padding:0 0 0 0\n}\n.panel{margin:0.5em 0 0.5em 0\n}\n}\n.item.right{text-align:right;padding-right:20px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/App.scss","\n.login-form input{border-width:1px;border-style:solid;border-color:silver;border-radius:5px;padding:0.1em 0.2em 0.2em 0.2em\n}\n.login-form .btn{margin-top:1.0em;min-height:28px\n}\n.login-form .error{border-radius:5px;text-align:center;background-color:rgba(255,48,16,0.65);min-height:28px;line-height:28px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/login_form/login_form.vue","\n.tribute-container ul{padding:0px\n}\n.tribute-container ul li{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center\n}\n.tribute-container img{padding:3px;width:16px;height:16px;border-radius:50%\n}\n.post-status-form .form-bottom,.login .form-bottom{display:-ms-flexbox;display:flex;padding:0.5em\n}\n.post-status-form .form-bottom button,.login .form-bottom button{-ms-flex:2;flex:2\n}\n.post-status-form .attachments,.login .attachments{padding:0.5em\n}\n.post-status-form .attachments i,.login .attachments i{position:absolute;margin:10px;padding:5px;background:rgba(230,230,230,0.6);border-radius:5px;font-weight:bold\n}\n.post-status-form form,.login form{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0.6em\n}\n.post-status-form .form-group,.login .form-group{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:0.3em 0.5em 0.6em;line-height:24px\n}\n.post-status-form form textarea,.login form textarea{border:solid;border-width:1px;border-color:silver;border-radius:5px;line-height:16px;padding:5px;resize:vertical\n}\n.post-status-form .btn,.login .btn{cursor:pointer\n}\n.post-status-form .btn[disabled],.login .btn[disabled]{cursor:not-allowed\n}\n.post-status-form .icon-cancel,.login .icon-cancel{cursor:pointer\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/post_status_form/post_status_form.vue","\n.media-upload {\n font-size: 26px;\n -ms-flex: 1;\n flex: 1;\n}\n.icon-upload {\n cursor: pointer;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/media_upload/media_upload.vue",".tribute-container {\n position: absolute;\n top: 0;\n left: 0;\n height: auto;\n max-height: 300px;\n max-width: 500px;\n overflow: auto;\n display: block;\n z-index: 999999;\n\n ul {\n margin: 0;\n margin-top: 2px;\n list-style: none;\n background: #efefef;\n }\n\n li {\n padding: 5px 5px;\n cursor: pointer;\n\n &.highlight, &:hover {\n background: #ddd;\n }\n\n span {\n font-weight: bold;\n }\n }\n\n .menu-highlighted {\n font-weight: bold;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///~/tributejs/scss/~/tributejs/scss/tribute.scss","\n.profile-panel-background{background-size:cover;border-radius:10px\n}\n.profile-panel-background .panel-heading{padding:0.6em 0em;text-align:center\n}\n.profile-panel-body{padding-top:0em;top:-0em;padding-top:4em\n}\n.user-info{color:white;padding:16px 16px 16px 16px;margin-bottom:-4em;text-shadow:0px 1px 1.5px #000\n}\n.user-info .container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-direction:column;flex-direction:column;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-pack:center;justify-content:center;max-height:60px\n}\n.user-info img{border:2px solid;border-radius:5px;-ms-flex:1 0 100%;flex:1 0 100%;max-width:48px;max-height:48px\n}\n.user-info .user-name{margin-top:0.0em;margin-left:0.6em;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-item-align:start;align-self:flex-start\n}\n.user-info .user-screen-name{margin-top:0.0em;margin-left:0.6em;font-weight:lighter;font-size:15px;padding-right:0.1em;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-item-align:start;align-self:flex-start\n}\n.user-info .user-interactions{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:justify;justify-content:space-between;margin-top:0.7em;margin-bottom:-1.0em\n}\n.user-info .user-interactions div{-ms-flex:1;flex:1\n}\n.user-info .user-interactions .following{color:white;font-size:14px;-ms-flex:0 0 100%;flex:0 0 100%;margin:-0.7em 0.0em 0.3em 0.0em;padding-left:16px;text-align:left\n}\n.user-info .user-interactions .mute{max-width:220px;min-height:28px\n}\n.user-info .user-interactions .follow{max-width:220px;min-height:28px\n}\n.user-info .user-interactions button{border:solid;border-width:1px;width:92%;height:100%\n}\n.user-info .user-interactions .pressed{border:solid;border-width:1px\n}\n.user-counts{display:-ms-flexbox;display:flex;line-height:16px;padding:1em 1.5em 0em 1em;text-align:center\n}\n.user-count{-ms-flex:1;flex:1\n}\n.user-count h5{font-size:1em;font-weight:bolder;margin:0 0 0.25em\n}\n.dailyAvg{font-size:0.8em;opacity:0.5\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/user_card_content/user_card_content.vue","\n.nav-panel ul{list-style:none;margin:0;padding:0\n}\n.nav-panel li{border-bottom:1px solid;border-color:inherit;padding:0\n}\n.nav-panel li:first-child a{border-top-right-radius:10px;border-top-left-radius:10px\n}\n.nav-panel li:last-child a{border-bottom-right-radius:10px;border-bottom-left-radius:10px\n}\n.nav-panel li:last-child{border:none\n}\n.nav-panel a{display:block;padding:0.8em 0.85em\n}\n.nav-panel a:hover{background-color:transparent\n}\n.nav-panel a.router-link-active{font-weight:bolder;background-color:transparent\n}\n.nav-panel a.router-link-active:hover{text-decoration:underline\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/nav_panel/nav_panel.vue","\n.notifications .panel-heading{position:relative\n}\n.notifications .panel-heading .read-button{position:absolute;right:0.7em;height:1.8em;line-height:100%\n}\n.notifications .unseen-count{display:inline-block;background-color:rgba(255,16,8,0.8);text-shadow:0px 0px 3px rgba(0,0,0,0.5);min-width:1.3em;border-radius:1.3em;margin:0 0.2em 0 -0.4em;color:white;font-size:0.9em;text-align:center;line-height:1.3em\n}\n.notifications .notification{padding:0.4em 0 0 10px;display:-ms-flexbox;display:flex;border-bottom:1px solid;border-bottom-color:inherit\n}\n.notifications .notification .text{min-width:0px;word-wrap:break-word;line-height:18px;padding:0.3em 0.8em 0.5em\n}\n.notifications .notification .text .icon-retweet{color:#0fa00f\n}\n.notifications .notification .text .icon-reply{color:#0095ff\n}\n.notifications .notification .text h1{margin:0 0 0.3em;padding:0;font-size:1em;line-height:20px\n}\n.notifications .notification .text p{margin:0;margin-top:0;margin-bottom:0.3em\n}\n.notifications .notification .avatar{padding-top:0.3em;width:32px;height:32px;border-radius:50%\n}\n.notifications .notification:last-child{border-bottom:none;border-radius:0 0 10px 10px\n}\n.notifications .unseen{border-left:4px solid rgba(255,16,8,0.75);padding-left:6px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/notifications/notifications.scss","\n.timeline .timeline-heading{position:relative;display:-ms-flexbox;display:flex\n}\n.timeline .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70%\n}\n.timeline .loadmore-button{position:absolute;right:0.6em;min-width:6em;height:1.8em;line-height:100%\n}\n.timeline .error{background-color:rgba(255,48,16,0.65)\n}\n.timeline .no-press{opacity:0.8;cursor:default\n}\n.new-status-notification{position:relative;margin-top:-1px;font-size:1.1em;border-width:1px 0 0 0;border-style:solid;border-radius:0 0 10px 10px;padding:10px;z-index:1\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/timeline/timeline.vue","\n.status-el{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;border-left-width:0px\n}\n.status-el .user-content{min-height:52px;padding-top:1px\n}\n.status-el .source_url{float:right\n}\n.status-el .greentext{color:green\n}\n.status-el a{display:inline-block;word-break:break-all\n}\n.status-el .status-content{margin:3px 15px 4px 0\n}\n.status-el p{margin:0;margin-top:0.2em;margin-bottom:0.5em\n}\n.status-conversation{border-left-style:solid\n}\n.status-actions{padding-top:5px\n}\n.icon-reply:hover{color:#0095ff\n}\n.icon-reply-active{color:#0095ff\n}\n.status .avatar{width:48px\n}\n.status.compact .avatar{width:32px\n}\n.status{padding:0.65em 0.7em 0.8em 0.8em;border-bottom:1px solid;border-bottom-color:inherit;border-left:4px rgba(255,48,16,0.65);border-left-style:inherit\n}\n.muted button{margin-left:auto\n}\na.unmute{display:block;margin-left:auto\n}\n.usercard{border-style:solid;border-width:1px;border-radius:10px;margin-bottom:1em;margin-top:0.2em\n}\n.reply-left{-ms-flex:0;flex:0;min-width:48px\n}\n.reply-body{-ms-flex:1;flex:1\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/status/status.vue","\n.attachments{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-0.8em\n}\n.attachments .attachment{-ms-flex:1 0 30%;flex:1 0 30%;margin:0.5em 0.8em 0.6em 0.0em;-ms-flex-item-align:start;align-self:flex-start\n}\n.attachments .attachment.html{-ms-flex-preferred-size:100%;flex-basis:100%;display:-ms-flexbox;display:flex\n}\n.attachments .attachment.loading{cursor:progress\n}\n.attachments .attachment .hider{position:absolute;margin:10px;padding:5px;background:rgba(230,230,230,0.6);border-radius:5px;font-weight:bold\n}\n.attachments .attachment video{height:100%;border:1px solid;border-radius:5px;width:100%\n}\n.attachments .attachment audio{width:100%\n}\n.attachments .attachment img.media-upload{width:100%;height:100%;-ms-flex:1;flex:1;border:1px solid;border-radius:5px\n}\n.attachments .attachment .oembed{border:1px solid;border-radius:5px;border-color:inherit;width:100%;margin-right:15px;display:-ms-flexbox;display:flex\n}\n.attachments .attachment .oembed img{width:100%\n}\n.attachments .attachment .oembed .image{-ms-flex:1;flex:1\n}\n.attachments .attachment .oembed .image img{border:0px;border-radius:5px;height:100%;object-fit:cover\n}\n.attachments .attachment .oembed .text{-ms-flex:2;flex:2;margin:8px\n}\n.attachments .attachment .oembed .text h1{font-size:14px;margin:0px\n}\n.attachments .attachment a.image-attachment{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1\n}\n.attachments .attachment a.image-attachment img{border-style:solid;border-width:1px;border-radius:5px;width:100%;height:100%\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/attachment/attachment.vue","\n.favorite-button{cursor:pointer;animation-duration:0.6s\n}\n.favorite-button:hover{color:orange\n}\n.icon-star{color:orange\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/favorite_button/favorite_button.vue","\n.icon-retweet{cursor:pointer;animation-duration:0.6s\n}\n.icon-retweet:hover{color:#0fa00f\n}\n.retweeted{color:#0fa00f\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/retweet_button/retweet_button.vue","\n.icon-cancel,.delete-status{cursor:pointer\n}\n.icon-cancel:hover,.delete-status:hover{color:red\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/delete_button/delete_button.vue","\n.spacer{height:1em\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/status_or_conversation/status_or_conversation.vue","\n.conversation-heading{border-bottom-style:solid;border-bottom-width:1px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/conversation/conversation.vue","\n.user-profile{-ms-flex:2;flex:2;-ms-flex-preferred-size:500px;flex-basis:500px\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/user_profile/user_profile.vue","\n.setting-item {\n margin: 1em 1em 1.4em;\n}\n.setting-list {\n list-style-type: none;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/settings/settings.vue","\n.style-switcher{margin-right:1em\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/style_switcher/style_switcher.vue"],"sourceRoot":""} \ No newline at end of file diff --git a/priv/static/static/css/base16-pleroma-dark.css b/priv/static/static/css/base16-pleroma-dark.css new file mode 100644 index 000000000..8190d2a78 --- /dev/null +++ b/priv/static/static/css/base16-pleroma-dark.css @@ -0,0 +1,33 @@ +.base00-background { background-color: #161c20; } +.base01-background { background-color: #282e32; } +.base02-background { background-color: #343a3f; } +.base03-background { background-color: #4e5256; } +.base04-background { background-color: #ababab; } +.base05-background { background-color: #b9b9b9; } +.base06-background { background-color: #d0d0d0; } +.base07-background { background-color: #e7e7e7; } +.base08-background { background-color: #baaa9c; } +.base09-background { background-color: #999999; } +.base0A-background { background-color: #a0a0a0; } +.base0B-background { background-color: #8e8e8e; } +.base0C-background { background-color: #868686; } +.base0D-background { background-color: #686868; } +.base0E-background { background-color: #747474; } +.base0F-background { background-color: #5e5e5e; } + +.base00 { color: #161c20; } +.base01 { color: #282e32; } +.base02 { color: #36393e; } +.base03 { color: #4e5256; } +.base04 { color: #ababab; } +.base05 { color: #b9b9b9; } +.base06 { color: #d0d0d0; } +.base07 { color: #e7e7e7; } +.base08 { color: #baaa9c; } +.base09 { color: #999999; } +.base0A { color: #a0a0a0; } +.base0B { color: #8e8e8e; } +.base0C { color: #868686; } +.base0D { color: #686868; } +.base0E { color: #747474; } +.base0F { color: #5e5e5e; } diff --git a/priv/static/static/css/base16-pleroma-light.css b/priv/static/static/css/base16-pleroma-light.css new file mode 100644 index 000000000..1a85689aa --- /dev/null +++ b/priv/static/static/css/base16-pleroma-light.css @@ -0,0 +1,33 @@ +.base00-background { background-color: #f2f4f6; } +.base01-background { background-color: #dde2e6; } +.base02-background { background-color: #c0c6cb; } +.base03-background { background-color: #a4a4a4; } +.base04-background { background-color: #545454; } +.base05-background { background-color: #304055; } +.base06-background { background-color: #040404; } +.base07-background { background-color: #000000; } +.base08-background { background-color: #e92f2f; } +.base09-background { background-color: #e09448; } +.base0A-background { background-color: #dddd13; } +.base0B-background { background-color: #0ed839; } +.base0C-background { background-color: #23edda; } +.base0D-background { background-color: #3b48e3; } +.base0E-background { background-color: #f996e2; } +.base0F-background { background-color: #69542d; } + +.base00 { color: #f2f4f6; } +.base01 { color: #dde2e6; } +.base02 { color: #c0c6cb; } +.base03 { color: #a4a4a4; } +.base04 { color: #545454; } +.base05 { color: #304055; } +.base06 { color: #040404; } +.base07 { color: #000000; } +.base08 { color: #e46f0f; } +.base09 { color: #e09448; } +.base0A { color: #dddd13; } +.base0B { color: #0ed839; } +.base0C { color: #23edda; } +.base0D { color: #3b48e3; } +.base0E { color: #f996e2; } +.base0F { color: #69542d; } diff --git a/priv/static/static/css/themes.json b/priv/static/static/css/themes.json index e3c35d6dd..ea8e5a0c4 100644 --- a/priv/static/static/css/themes.json +++ b/priv/static/static/css/themes.json @@ -1,4 +1,6 @@ [ +"base16-pleroma-dark.css", +"base16-pleroma-light.css", "base16-3024.css", "base16-apathy.css", "base16-ashes.css", diff --git a/priv/static/static/js/app.6a6016da34598b91ac47.js b/priv/static/static/js/app.6a6016da34598b91ac47.js new file mode 100644 index 000000000..01de4c6d2 --- /dev/null +++ b/priv/static/static/js/app.6a6016da34598b91ac47.js @@ -0,0 +1,4 @@ +webpackJsonp([2,0],[function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var a=s(98),i=n(a),r=s(458),o=n(r),u=s(461),l=n(u),c=s(413),d=n(c),f=s(425),m=n(f),v=s(424),p=n(v),h=s(418),_=n(h),g=s(415),b=n(g),w=s(421),C=n(w),y=s(432),S=n(y),x=s(428),k=n(x),$=s(426),M=n($),j=s(100),O=n(j),A=s(160),I=n(A),F=s(158),N=n(F),P=s(159),U=n(P),E=s(460),T=n(E),L=s(157),D=n(L);i.default.use(l.default),i.default.use(o.default),i.default.use(T.default,{locale:"en-US",locales:{"en-US":s(255)}});var R={paths:["config.hideAttachments","config.hideAttachmentsInConv","config.hideNsfw","config.muteWords","statuses.notifications","users.users"]},W=new l.default.Store({modules:{statuses:O.default,users:I.default,api:N.default,config:U.default},plugins:[(0,D.default)(R)],strict:!1}),H=[{name:"root",path:"/",redirect:"/main/all"},{path:"/main/all",component:p.default},{path:"/main/public",component:m.default},{path:"/main/friends",component:_.default},{name:"conversation",path:"/notice/:id",component:b.default,meta:{dontScroll:!0}},{name:"user-profile",path:"/users/:id",component:S.default},{name:"mentions",path:"/:username/mentions",component:C.default},{name:"settings",path:"/settings",component:k.default},{name:"registration",path:"/registration",component:M.default}],B=new o.default({mode:"history",routes:H,scrollBehavior:function(t,e,s){return!t.matched.some(function(t){return t.meta.dontScroll})&&(s||{x:0,y:0})}});new i.default({router:B,store:W,el:"#app",render:function(t){return t(d.default)}}),window.fetch("/static/config.json").then(function(t){return t.json()}).then(function(t){var e=t.name,s=t.theme,n=t.background,a=t.logo;W.dispatch("setOption",{name:"name",value:e}),W.dispatch("setOption",{name:"theme",value:s}),W.dispatch("setOption",{name:"background",value:n}),W.dispatch("setOption",{name:"logo",value:a})})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(49),i=n(a),r="/api/account/verify_credentials.json",o="/api/statuses/friends_timeline.json",u="/api/qvitter/allfollowing",l="/api/statuses/public_timeline.json",c="/api/statuses/public_and_external_timeline.json",d="/api/favorites/create",f="/api/favorites/destroy",m="/api/statuses/retweet",v="/api/statuses/update.json",p="/api/statuses/destroy",h="/api/statuses/show",_="/api/media/upload.json",g="/api/statusnet/conversation",b="/api/statuses/mentions.json",w="/api/statuses/friends.json",C="/api/friendships/create.json",y="/api/friendships/destroy.json",S="/api/qvitter/set_profile_pref.json",x="/api/account/register.json",k=window.fetch,$=function(t,e){var s="",n=s+t;return e.credentials="include",k(n,e)},M=function(t){var e=new FormData;return(0,i.default)(t,function(t,s){t&&e.append(s,t)}),$(x,{method:"POST",body:e})},j=function(t){return t&&t.username&&t.password?{Authorization:"Basic "+btoa(t.username+":"+t.password)}:{}},O=function(t){var e=t.id,s=t.credentials,n=C+"?user_id="+e;return $(n,{headers:j(s),method:"POST"}).then(function(t){return t.json()})},A=function(t){var e=t.id,s=t.credentials,n=y+"?user_id="+e;return $(n,{headers:j(s),method:"POST"}).then(function(t){return t.json()})},I=function(t){var e=t.credentials;return $(w,{headers:j(e)}).then(function(t){return t.json()})},F=function(t){var e=t.username,s=t.credentials,n=u+"/"+e+".json";return $(n,{headers:j(s)}).then(function(t){return t.json()})},N=function(t){var e=t.id,s=t.credentials,n=g+"/"+e+".json?count=100";return $(n,{headers:j(s)}).then(function(t){return t.json()})},P=function(t){var e=t.id,s=t.credentials,n=h+"/"+e+".json";return $(n,{headers:j(s)}).then(function(t){return t.json()})},U=function(t){var e=t.id,s=t.credentials,n=t.muted,a=void 0===n||n,i=new FormData,r=a?1:0;return i.append("namespace","qvitter"),i.append("data",r),i.append("topic","mute:"+e),$(S,{method:"POST",headers:j(s),body:i})},E=function(t){var e=t.timeline,s=t.credentials,n=t.since,a=void 0!==n&&n,i=t.until,r=void 0!==i&&i,u={public:l,friends:o,mentions:b,publicAndExternal:c},d=u[e];return a&&(d+="?since_id="+a),r&&(d+="?max_id="+r),$(d,{headers:j(s)}).then(function(t){return t.json()})},T=function(t){return $(r,{method:"POST",headers:j(t)})},L=function(t){var e=t.id,s=t.credentials;return $(d+"/"+e+".json",{headers:j(s),method:"POST"})},D=function(t){var e=t.id,s=t.credentials;return $(f+"/"+e+".json",{headers:j(s),method:"POST"})},R=function(t){var e=t.id,s=t.credentials;return $(m+"/"+e+".json",{headers:j(s),method:"POST"})},W=function(t){var e=t.credentials,s=t.status,n=t.mediaIds,a=t.inReplyToStatusId,i=n.join(","),r=new FormData;return r.append("status",s),r.append("source","Pleroma FE"),r.append("media_ids",i),a&&r.append("in_reply_to_status_id",a),$(v,{body:r,method:"POST",headers:j(e)})},H=function(t){var e=t.id,s=t.credentials;return $(p+"/"+e+".json",{headers:j(s),method:"POST"})},B=function(t){var e=t.formData,s=t.credentials;return $(_,{body:e,method:"POST",headers:j(s)}).then(function(t){return t.text()}).then(function(t){return(new DOMParser).parseFromString(t,"application/xml")})},q=function(t){var e=t.credentials,s="/api/qvitter/mutes.json";return $(s,{headers:j(e)}).then(function(t){return t.json()})},V={verifyCredentials:T,fetchTimeline:E,fetchConversation:N,fetchStatus:P,fetchFriends:I,followUser:O,unfollowUser:A,favorite:L,unfavorite:D,retweet:R,postStatus:W,deleteStatus:H,uploadMedia:B,fetchAllFollowing:F,setUserMute:U,fetchMutes:q,register:M};e.default=V},,,,,,,,,,,,,,,,,,,function(t,e,s){s(238);var n=s(1)(s(190),s(435),null,null);t.exports=n.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){s(249);var n=s(1)(s(187),s(450),null,null);t.exports=n.exports},function(t,e,s){s(237);var n=s(1)(s(168),s(434),null,null);t.exports=n.exports},,,function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.mutations=e.findMaxId=e.statusType=e.prepareStatus=e.defaultState=void 0;var a=s(195),i=n(a),r=s(2),o=n(r),u=s(390),l=n(u),c=s(94),d=n(c),f=s(153),m=n(f),v=s(391),p=n(v),h=s(384),_=n(h),g=s(88),b=n(g),w=s(49),C=n(w),y=s(24),S=n(y),x=s(95),k=n(x),$=s(399),M=n($),j=s(398),O=n(j),A=s(34),I=n(A),F=e.defaultState={allStatuses:[],allStatusesObject:{},maxId:0,notifications:[],favorites:new i.default,error:!1,timelines:{mentions:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1},public:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1},publicAndExternal:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1},friends:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1}}},N=e.prepareStatus=function(t){if(void 0===t.nsfw){var e=/#nsfw/i;t.nsfw=!!t.text.match(e)}return t.deleted=!1,t.attachments=t.attachments||[],t},P=e.statusType=function(t){return t.is_post_verb?"status":t.retweeted_status?"retweet":"string"==typeof t.uri&&t.uri.match(/(fave|objectType=Favourite)/)?"favorite":t.text.match(/deleted notice {{tag/)?"deletion":"unknown"},U=(e.findMaxId=function(){for(var t=arguments.length,e=Array(t),s=0;s2&&void 0!==arguments[2])||arguments[2],a=U(f,m,e);if(e=a.item,a.new&&(p(e),"retweet"===P(e)&&e.retweeted_status.user.id===u.id&&_({type:"repeat",status:e.retweeted_status,action:e}),"status"===P(e)&&(0,b.default)(e.attentions,{id:u.id}))){var r=t.timelines.mentions;v!==r&&(U(r.statuses,r.statusesObject,e),r.newStatusCount+=1,E(r)),_({type:"mention",status:e,action:e})}var o=void 0;return i&&n&&(o=U(v.statuses,v.statusesObject,e)),i&&s?U(v.visibleStatuses,v.visibleStatusesObject,e):i&&n&&o.new&&(v.newStatusCount+=1),e},_=function(e){var s=e.type,n=e.status,a=e.action;(0,b.default)(t.notifications,function(t){return t.action.id===a.id})||t.notifications.push({type:s,status:n,action:a,seen:!1})},g=function(t){var e=(0,b.default)(f,{id:(0,S.default)(t.in_reply_to_status_id)});return e&&(e.fave_num+=1,t.user.id===u.id&&(e.favorited=!0),e.user.id===u.id&&_({type:"favorite",status:e,action:t})),e},w={status:function(t){h(t,a)},retweet:function t(e){var s=h(e.retweeted_status,!1,!1),t=void 0;t=i&&(0,b.default)(v.statuses,{id:s.id})?h(e,!1,!1):h(e,a),t.retweeted_status=s},favorite:function(e){t.favorites.has(e.id)||(t.favorites.add(e.id),p(e),g(e))},deletion:function(t){var e=t.uri;p(t),(0,O.default)(f,{uri:e}),i&&((0,O.default)(v.statuses,{uri:e}),(0,O.default)(v.visibleStatuses,{uri:e}))},default:function(t){console.log("unknown status type"),console.log(t)}};(0,C.default)(s,function(t){var e=P(t),s=w[e]||w.default;s(t)}),i&&E(v)},L=e.mutations={addNewStatuses:T,showNewStatuses:function(t,e){var s=e.timeline,n=t.timelines[s];n.newStatusCount=0,n.visibleStatuses=(0,M.default)(n.statuses,0,50),n.visibleStatusesObject={},(0,C.default)(n.visibleStatuses,function(t){n.visibleStatusesObject[t.id]=t})},setFavorited:function(t,e){var s=e.status,n=e.value,a=t.allStatusesObject[s.id];a.favorited=n},setRetweeted:function(t,e){var s=e.status,n=e.value,a=t.allStatusesObject[s.id];a.repeated=n},setDeleted:function(t,e){var s=e.status,n=t.allStatusesObject[s.id];n.deleted=!0},setLoading:function(t,e){var s=e.timeline,n=e.value;t.timelines[s].loading=n},setNsfw:function(t,e){var s=e.id,n=e.nsfw,a=t.allStatusesObject[s];a.nsfw=n},setError:function(t,e){var s=e.value;t.error=s},markNotificationsAsSeen:function(t,e){(0,C.default)(e,function(t){t.seen=!0})}},D={state:F,actions:{addNewStatuses:function(t,e){var s=t.rootState,n=t.commit,a=e.statuses,i=e.showImmediately,r=void 0!==i&&i,o=e.timeline,u=void 0!==o&&o,l=e.noIdUpdate,c=void 0!==l&&l;n("addNewStatuses",{statuses:a,showImmediately:r,timeline:u,noIdUpdate:c,user:s.users.currentUser})},setError:function(t,e){var s=(t.rootState,t.commit),n=e.value;s("setError",{value:n})},deleteStatus:function(t,e){var s=t.rootState,n=t.commit;n("setDeleted",{status:e}),I.default.deleteStatus({id:e.id,credentials:s.users.currentUser.credentials})},favorite:function(t,e){var s=t.rootState,n=t.commit;n("setFavorited",{status:e,value:!0}),I.default.favorite({id:e.id,credentials:s.users.currentUser.credentials})},unfavorite:function(t,e){var s=t.rootState,n=t.commit;n("setFavorited",{status:e,value:!1}),I.default.unfavorite({id:e.id,credentials:s.users.currentUser.credentials})},retweet:function(t,e){var s=t.rootState,n=t.commit;n("setRetweeted",{status:e,value:!0}),I.default.retweet({id:e.id,credentials:s.users.currentUser.credentials})}},mutations:L};e.default=D},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(34),i=n(a),r=s(104),o=n(r),u=function(t){var e=function(e){var s=e.id;return i.default.fetchStatus({id:s,credentials:t})},s=function(e){var s=e.id;return i.default.fetchConversation({id:s,credentials:t})},n=function(){return i.default.fetchFriends({credentials:t})},a=function(e){var s=e.username;return i.default.fetchAllFollowing({username:s,credentials:t})},r=function(e){return i.default.followUser({credentials:t,id:e})},u=function(e){return i.default.unfollowUser({credentials:t,id:e})},l=function(e){var s=e.timeline,n=e.store;return o.default.startFetching({timeline:s,store:n,credentials:t})},c=function(e){var s=e.id,n=e.muted,a=void 0===n||n;return i.default.setUserMute({id:s,muted:a,credentials:t})},d=function(){return i.default.fetchMutes({credentials:t})},f=function(t){return i.default.register(t)},m={fetchStatus:e,fetchConversation:s,fetchFriends:n,followUser:r,unfollowUser:u,fetchAllFollowing:a,verifyCredentials:i.default.verifyCredentials,startFetching:l,setUserMute:c,fetchMutes:d,register:f};return m};e.default=u},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){var e="unknown";return t.match(/text\/html/)&&(e="html"),t.match(/image/)&&(e="image"),t.match(/video\/(webm|mp4)/)&&(e="video"),t.match(/audio|ogg/)&&(e="audio"),e},n={fileType:s};e.default=n},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(93),i=n(a),r=s(34),o=n(r),u=function(t){var e=t.store,s=t.status,n=t.media,a=void 0===n?[]:n,r=t.inReplyToStatusId,u=void 0===r?void 0:r,l=(0,i.default)(a,"id");return o.default.postStatus({credentials:e.state.users.currentUser.credentials,status:s,mediaIds:l,inReplyToStatusId:u}).then(function(t){return t.json()}).then(function(t){e.dispatch("addNewStatuses",{statuses:[t],timeline:"friends",showImmediately:!0,noIdUpdate:!0})})},l=function(t){var e=t.store,s=t.formData,n=e.state.users.currentUser.credentials;return o.default.uploadMedia({credentials:n,formData:s}).then(function(t){var e=t.getElementsByTagName("link");0===e.length&&(e=t.getElementsByTagName("atom:link")),e=e[0];var s={id:t.getElementsByTagName("media_id")[0].textContent,url:t.getElementsByTagName("media_url")[0].textContent,image:e.getAttribute("href"),mimetype:e.getAttribute("type")};return s})},c={postStatus:u,uploadMedia:l};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(377),i=n(a),r=s(34),o=n(r),u=function(t){var e=t.store,s=t.statuses,n=t.timeline,a=t.showImmediately,r=(0,i.default)(n);e.dispatch("setError",{value:!1}),e.dispatch("addNewStatuses",{timeline:r,statuses:s,showImmediately:a})},l=function(t){var e=t.store,s=t.credentials,n=t.timeline,a=void 0===n?"friends":n,r=t.older,l=void 0!==r&&r,c=t.showImmediately,d=void 0!==c&&c,f={timeline:a,credentials:s},m=e.rootState||e.state,v=m.statuses.timelines[(0,i.default)(a)];return l?f.until=v.minVisibleId:f.since=v.maxId,o.default.fetchTimeline(f).then(function(t){return u({store:e,statuses:t,timeline:a,showImmediately:d})},function(){return e.dispatch("setError",{value:!0})})},c=function(t){var e=t.timeline,s=void 0===e?"friends":e,n=t.credentials,a=t.store;l({timeline:s,credentials:n,store:a,showImmediately:!0});var i=function(){return l({timeline:s,credentials:n,store:a})};return setInterval(i,1e4)},d={fetchAndUpdate:l,startFetching:c};e.default=d},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){s(240);var n=s(1)(s(172),s(437),null,null);t.exports=n.exports},function(t,e,s){s(239);var n=s(1)(s(181),s(436),null,null);t.exports=n.exports},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,s=void 0===e?"vuex-lz":e,n=t.paths,a=void 0===n?[]:n,i=t.getState,o=void 0===i?function(t,e){var s=e.getItem(t);return s}:i,l=t.setState,d=void 0===l?(0,c.default)(w,6e4):l,m=t.reducer,v=void 0===m?g:m,p=t.storage,h=void 0===p?b:p,C=t.subscriber,y=void 0===C?function(t){return function(e){return t.subscribe(e)}}:C;return function(t){o(s,h).then(function(e){try{if("object"===("undefined"==typeof e?"undefined":(0,r.default)(e))){var s=e.users||{};s.usersObject={};var n=s.users||[];(0,u.default)(n,function(t){s.usersObject[t.id]=t}),e.users=s,t.replaceState((0,f.default)({},t.state,e))}_=!0}catch(t){console.log("Couldn't load state"),_=!0}}),y(t)(function(t,e){try{d(s,v(e,a),h)}catch(t){console.log("Couldn't persist state:"),console.log(t)}})}}Object.defineProperty(e,"__esModule",{value:!0});var i=s(199),r=n(i),o=s(49),u=n(o),l=s(403),c=n(l);e.default=a;var d=s(268),f=n(d),m=s(411),v=n(m),p=s(256),h=n(p),_=!1,g=function(t,e){return 0===e.length?t:e.reduce(function(e,s){return v.default.set(e,s,v.default.get(t,s)),e},{})},b=function(){return h.default}(),w=function(t,e,s){return _?s.setItem(t,e):void console.log("waiting for old state to be loaded...")}},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(101),i=n(a),r={state:{backendInteractor:(0,i.default)(),fetchers:{}},mutations:{setBackendInteractor:function(t,e){t.backendInteractor=e},addFetcher:function(t,e){var s=e.timeline,n=e.fetcher;t.fetchers[s]=n},removeFetcher:function(t,e){var s=e.timeline;delete t.fetchers[s]}},actions:{startFetching:function(t,e){if(!t.state.fetchers[e]){var s=t.state.backendInteractor.startFetching({timeline:e,store:t});t.commit("addFetcher",{timeline:e,fetcher:s})}},stopFetching:function(t,e){var s=t.state.fetchers[e];window.clearInterval(s),t.commit("removeFetcher",{timeline:e})}}};e.default=r},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(98),i=s(161),r=n(i),o={name:"Pleroma FE",colors:{},hideAttachments:!1,hideAttachmentsInConv:!1,hideNsfw:!0,muteWords:[]},u={state:o,mutations:{setOption:function(t,e){var s=e.name,n=e.value;(0,a.set)(t,s,n)}},actions:{setPageTitle:function(t){var e=t.state,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";document.title=s+" "+e.name},setOption:function(t,e){var s=t.commit,n=t.dispatch,a=e.name,i=e.value;switch(s("setOption",{name:a,value:i}),a){case"name":n("setPageTitle");break;case"theme":var o="/static/css/"+i;r.default.setStyle(o,s)}}}};e.default=u},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.defaultState=e.mutations=e.mergeOrAdd=void 0;var a=s(194),i=n(a),r=s(94),o=n(r),u=s(49),l=n(u),c=s(93),d=n(c),f=s(379),m=n(f),v=s(101),p=n(v),h=s(98),_=e.mergeOrAdd=function(t,e,s){if(!s)return!1;var n=e[s.id];return n?((0,o.default)(n,s),{item:n,new:!1}):(t.push(s),e[s.id]=s,{item:s,new:!0})},g=e.mutations={setMuted:function(t,e){var s=e.user.id,n=e.muted,a=t.usersObject[s];(0,h.set)(a,"muted",n)},setCurrentUser:function(t,e){t.currentUser=e},beginLogin:function(t){t.loggingIn=!0},endLogin:function(t){t.loggingIn=!1},addNewUsers:function(t,e){(0,l.default)(e,function(e){return _(t.users,t.usersObject,e)})},setUserForStatus:function(t,e){e.user=t.usersObject[e.user.id]}},b=e.defaultState={currentUser:!1,loggingIn:!1,users:[],usersObject:{}},w={state:b,mutations:g,actions:{addNewStatuses:function(t,e){var s=e.statuses,n=(0,d.default)(s,"user"),a=(0,m.default)((0,d.default)(s,"retweeted_status.user"));t.commit("addNewUsers",n),t.commit("addNewUsers",a),(0,l.default)(s,function(e){t.commit("setUserForStatus",e)}),(0,l.default)((0,m.default)((0,d.default)(s,"retweeted_status")),function(e){t.commit("setUserForStatus",e)})},loginUser:function(t,e){return new i.default(function(s,n){var a=t.commit;a("beginLogin"),t.rootState.api.backendInteractor.verifyCredentials(e).then(function(i){i.ok?i.json().then(function(s){s.credentials=e,a("setCurrentUser",s),a("addNewUsers",[s]),a("setBackendInteractor",(0,p.default)(e)),t.dispatch("startFetching","friends"),t.rootState.api.backendInteractor.fetchMutes().then(function(e){(0,l.default)(e,function(t){t.muted=!0}),t.commit("addNewUsers",e)}),t.rootState.api.backendInteractor.fetchFriends().then(function(t){return a("addNewUsers",t)})}):(a("endLogin"),n(401===i.status?"Wrong username or password":"An error occurred, please try again")),a("endLogin"),s()}).catch(function(t){console.log(t),a("endLogin"),n("Failed to connect to server, try again")})})}}};e.default=w},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(404),i=n(a),r=function(t,e){var s=document.head,n=document.body;n.style.display="none";var a=document.createElement("link");a.setAttribute("rel","stylesheet"),a.setAttribute("href",t),s.appendChild(a);var r=function(){var t=document.createElement("div");n.appendChild(t);var a={};(0,i.default)(16,function(e){var s="base0"+e.toString(16).toUpperCase();t.setAttribute("class",s);var n=window.getComputedStyle(t).getPropertyValue("color");a[s]=n}),e("setOption",{name:"colors",value:a}),n.removeChild(t);var r=document.createElement("style");s.appendChild(r);var o=r.sheet;o.insertRule("a { color: "+a.base08,"index-max"),o.insertRule("body { color: "+a.base05,"index-max"),o.insertRule(".base05-border { border-color: "+a.base05,"index-max"),o.insertRule(".base03-border { border-color: "+a.base03,"index-max"),n.style.display="initial"};a.addEventListener("load",r)},o={setStyle:r};e.default=o},,,,,,,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["user"],computed:{headingStyle:function(){var t=this.$store.state.config.colors.base00.match(/\d+/g);return{backgroundColor:"rgb("+Math.floor(.53*t[0])+", "+Math.floor(.56*t[1])+", "+Math.floor(.59*t[2])+")",backgroundImage:"url("+this.user.cover_photo+")"}},bodyStyle:function(){return{background:"linear-gradient(to bottom, rgba(0, 0, 0, 0), "+this.$store.state.config.colors.base00+" 80%)"}},isOtherUser:function(){return this.user!==this.$store.state.users.currentUser},loggedIn:function(){return this.$store.state.users.currentUser},dailyAvg:function(){var t=Math.ceil((new Date-new Date(this.user.created_at))/864e5);return Math.round(this.user.statuses_count/t)}},methods:{followUser:function(){var t=this.$store;t.state.api.backendInteractor.followUser(this.user.id).then(function(e){return t.commit("addNewUsers",[e])})},unfollowUser:function(){var t=this.$store;t.state.api.backendInteractor.unfollowUser(this.user.id).then(function(e){return t.commit("addNewUsers",[e])})},toggleMute:function(){var t=this.$store;t.commit("setMuted",{user:this.user,muted:!this.user.muted}),t.state.api.backendInteractor.setUserMute(this.user)}}}},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(431),i=n(a),r=s(422),o=n(r),u=s(423),l=n(u);e.default={name:"app",components:{UserPanel:i.default,NavPanel:o.default,Notifications:l.default},data:function(){return{mobileActivePanel:"timeline"}},computed:{currentUser:function(){return this.$store.state.users.currentUser},background:function(){return this.currentUser.background_image||this.$store.state.config.background},logoStyle:function(){return{"background-image":"url("+this.$store.state.config.logo+")"}},style:function(){return{"background-image":"url("+this.background+")"}},sitename:function(){return this.$store.state.config.name}},methods:{activatePanel:function(t){this.mobileActivePanel=t},scrollToTop:function(){window.scrollTo(0,0)}}}},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(412),i=n(a),r=s(102),o=n(r),u={props:["attachment","nsfw","statusId"],data:function(){return{nsfwImage:i.default,hideNsfwLocal:this.$store.state.config.hideNsfw,showHidden:!1,loading:!1,img:document.createElement("img")}},computed:{type:function(){return o.default.fileType(this.attachment.mimetype)},hidden:function(){return this.nsfw&&this.hideNsfwLocal&&!this.showHidden},autoHeight:function(){if("image"===this.type&&this.nsfw)return{"min-height":"109px"}}},methods:{linkClicked:function(t){var e=t.target;"A"===e.tagName&&window.open(e.href,"_blank")},toggleHidden:function(){var t=this;this.img.onload?this.img.onload():(this.loading=!0,this.img.src=this.attachment.url,this.img.onload=function(){t.loading=!1,t.showHidden=!t.showHidden})}}};e.default=u},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(24),i=n(a),r=s(88),o=n(r),u=s(155),l=n(u),c={components:{Conversation:l.default},computed:{statusoid:function(){var t=(0,i.default)(this.$route.params.id),e=this.$store.state.statuses.allStatuses,s=(0,o.default)(e,{id:t});return s}}};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(95),i=n(a),r=s(50),o=n(r),u=s(100),l=s(96),c=n(l),d=function(t){return t=(0,o.default)(t,function(t){return"retweet"!==(0,u.statusType)(t)}),(0,i.default)(t,"id")},f={data:function(){return{highlight:null}},props:["statusoid","collapsable"],computed:{status:function(){return this.statusoid},conversation:function t(){if(!this.status)return!1;var e=this.status.statusnet_conversation_id,s=this.$store.state.statuses.allStatuses,t=(0,o.default)(s,{statusnet_conversation_id:e});return d(t)}},components:{Status:c.default},created:function(){this.fetchConversation()},watch:{$route:"fetchConversation"},methods:{fetchConversation:function(){var t=this;if(this.status){var e=this.status.statusnet_conversation_id;this.$store.state.api.backendInteractor.fetchConversation({id:e}).then(function(e){return t.$store.dispatch("addNewStatuses",{statuses:e})})}else{var s=this.$route.params.id;this.$store.state.api.backendInteractor.fetchStatus({id:s}).then(function(e){return t.$store.dispatch("addNewStatuses",{statuses:[e]})}).then(function(){return t.fetchConversation()})}},focused:function(t){return this.statusoid.retweeted_status?t===this.statusoid.retweeted_status.id:t===this.statusoid.id},setHighlight:function(t){this.highlight=Number(t)}}};e.default=f},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={props:["status"],methods:{deleteStatus:function(){var t=window.confirm("Do you really want to delete this status?");t&&this.$store.dispatch("deleteStatus",{id:this.status.id})}},computed:{currentUser:function(){return this.$store.state.users.currentUser},canDelete:function(){return this.currentUser.rights.delete_others_notice||this.status.user.id===this.currentUser.id}}};e.default=s},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={props:["status"],data:function(){return{animated:!1}},methods:{favorite:function(){var t=this;this.status.favorited?this.$store.dispatch("unfavorite",{id:this.status.id}):this.$store.dispatch("favorite",{id:this.status.id}),this.animated=!0,setTimeout(function(){t.animated=!1},500)}},computed:{classes:function(){return{"icon-star-empty":!this.status.favorited,"icon-star":this.status.favorited,"animate-spin":this.animated}}}};e.default=s},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(53),i=n(a),r={components:{Timeline:i.default},computed:{timeline:function(){return this.$store.state.statuses.timelines.friends}}};e.default=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={data:function(){return{user:{},authError:!1}},computed:{loggingIn:function(){return this.$store.state.users.loggingIn}},methods:{submit:function(){var t=this;this.$store.dispatch("loginUser",this.user).then(function(){},function(e){t.authError=e,t.user.username="",t.user.password=""})}}};e.default=s},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(103),i=n(a),r={mounted:function(){var t=this,e=this.$el.querySelector("input");e.addEventListener("change",function(e){var s=e.target,n=s.files[0];t.uploadFile(n)})},data:function(){return{uploading:!1}},methods:{uploadFile:function(t){var e=this,s=this.$store,n=new FormData;n.append("media",t),e.$emit("uploading"),e.uploading=!0,i.default.uploadMedia({store:s,formData:n}).then(function(t){e.$emit("uploaded",t),e.uploading=!1},function(t){e.$emit("upload-failed"),e.uploading=!1})},fileDrop:function(t){t.dataTransfer.files.length>0&&(t.preventDefault(),this.uploadFile(t.dataTransfer.files[0]))},fileDrag:function(t){var e=t.dataTransfer.types;e.contains("Files")?t.dataTransfer.dropEffect="copy":t.dataTransfer.dropEffect="none"}},props:["dropFiles"],watch:{dropFiles:function(t){this.uploading||this.uploadFile(t[0])}}};e.default=r},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(53),i=n(a),r={computed:{timeline:function(){return this.$store.state.statuses.timelines.mentions}},components:{Timeline:i.default}};e.default=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={computed:{currentUser:function(){return this.$store.state.users.currentUser}}};e.default=s},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(50),i=n(a),r=s(402),o=n(r),u=s(95),l=n(u),c={data:function(){return{visibleNotificationCount:10}},computed:{notifications:function(){return this.$store.state.statuses.notifications},unseenNotifications:function(){return(0,i.default)(this.notifications,function(t){var e=t.seen;return!e})},visibleNotifications:function(){var t=(0,l.default)(this.notifications,function(t){var e=t.action;return-e.id});return t=(0,l.default)(t,"seen"),(0,o.default)(t,this.visibleNotificationCount)},unseenCount:function(){return this.unseenNotifications.length}},watch:{unseenCount:function(t){t>0?this.$store.dispatch("setPageTitle","("+t+")"):this.$store.dispatch("setPageTitle","")}},methods:{markAsSeen:function(){this.$store.commit("markNotificationsAsSeen",this.visibleNotifications)}}};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(198),i=n(a),r=s(408),o=n(r),u=s(93),l=n(u),c=s(397),d=n(c),f=s(94),m=n(f),v=s(103),p=n(v),h=s(420),_=n(h),g=s(102),b=n(g),w=s(162),C=n(w);s(235);var y=function(t,e){var s=t.user,n=t.attentions,a=[].concat((0,i.default)(n));a.unshift(s),a=(0,o.default)(a,"id"),a=(0,d.default)(a,{id:e.id});var r=(0,l.default)(a,function(t){return"@"+t.screen_name});return r.join(" ")+" "},S={trigger:"@",iframe:null,selectClass:"highlight",selectTemplate:function(t){return"@"+t.original.screen_name},menuItemTemplate:function(t){return'
"+t.string+"
"},noMatchTemplate:null,menuContainer:document.body,lookup:function(t){var e=t.name,s=t.screen_name;return e+" (@"+s+")"},fillAttr:"screen_name",values:[],requireLeadingSpace:!0,allowSpaces:!1},x=new C.default({collection:[]}),k={props:["replyTo","repliedUser","attentions"],components:{MediaUpload:_.default},data:function(){var t="";if(this.replyTo){var e=this.$store.state.users.currentUser;t=y({user:this.repliedUser,attentions:this.attentions},e)}return{dropFiles:[],submitDisabled:!1,newStatus:{status:t,files:[]}}},computed:{users:function(){return this.$store.state.users.users},completions:function(){var t=this.users;return t=(0,m.default)({values:t},S),[t]}},watch:{completions:function(){x.collection=this.completions}},mounted:function(){var t=this.$el.querySelector("textarea");x.collection=this.completions,x.attach(t)},methods:{postStatus:function(t){p.default.postStatus({status:t.status,media:t.files,store:this.$store,inReplyToStatusId:this.replyTo}),this.newStatus={status:"",files:[]},this.$emit("posted")},addMediaFile:function(t){this.newStatus.files.push(t),this.enableSubmit()},removeMediaFile:function(t){var e=this.newStatus.files.indexOf(t);this.newStatus.files.splice(e,1)},disableSubmit:function(){this.submitDisabled=!0; +},enableSubmit:function(){this.submitDisabled=!1},type:function(t){return b.default.fileType(t.mimetype)},fileDrop:function(t){t.dataTransfer.files.length>0&&(t.preventDefault(),this.dropFiles=t.dataTransfer.files)},fileDrag:function(t){t.dataTransfer.dropEffect="copy"}}};e.default=k},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(53),i=n(a),r={components:{Timeline:i.default},computed:{timeline:function(){return this.$store.state.statuses.timelines.publicAndExternal}},created:function(){this.$store.dispatch("startFetching","publicAndExternal")},destroyed:function(){this.$store.dispatch("stopFetching","publicAndExternal")}};e.default=r},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(53),i=n(a),r={components:{Timeline:i.default},computed:{timeline:function(){return this.$store.state.statuses.timelines.public}},created:function(){this.$store.dispatch("startFetching","public")},destroyed:function(){this.$store.dispatch("stopFetching","public")}};e.default=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={data:function(){return{user:{},error:!1,registering:!1}},methods:{submit:function(){var t=this;this.registering=!0,this.user.nickname=this.user.username,this.$store.state.api.backendInteractor.register(this.user).then(function(e){e.ok?(t.$store.dispatch("loginUser",t.user),t.$router.push("/main/all"),t.registering=!1):(t.registering=!1,e.json().then(function(e){t.error=e.error}))})}}};e.default=s},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={props:["status"],data:function(){return{animated:!1}},methods:{retweet:function(){var t=this;this.status.repeated||this.$store.dispatch("retweet",{id:this.status.id}),this.animated=!0,setTimeout(function(){t.animated=!1},500)}},computed:{classes:function(){return{retweeted:this.status.repeated,"animate-spin":this.animated}}}};e.default=s},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(407),i=n(a),r=s(50),o=n(r),u=s(430),l=n(u),c={data:function(){return{hideAttachmentsLocal:this.$store.state.config.hideAttachments,hideAttachmentsInConvLocal:this.$store.state.config.hideAttachmentsInConv,hideNsfwLocal:this.$store.state.config.hideNsfw,muteWordsString:this.$store.state.config.muteWords.join("\n")}},components:{StyleSwitcher:l.default},watch:{hideAttachmentsLocal:function(t){this.$store.dispatch("setOption",{name:"hideAttachments",value:t})},hideAttachmentsInConvLocal:function(t){this.$store.dispatch("setOption",{name:"hideAttachmentsInConv",value:t})},hideNsfwLocal:function(t){this.$store.dispatch("setOption",{name:"hideNsfw",value:t})},muteWordsString:function(t){t=(0,o.default)(t.split("\n"),function(t){return(0,i.default)(t).length>0}),this.$store.dispatch("setOption",{name:"muteWords",value:t})}}};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(50),i=n(a),r=s(414),o=n(r),u=s(417),l=n(u),c=s(427),d=n(c),f=s(416),m=n(f),v=s(156),p=n(v),h=s(97),_=n(h),g={props:["statusoid","expandable","inConversation","focused","highlight"],data:function(){return{replying:!1,expanded:!1,unmuted:!1,userExpanded:!1}},computed:{muteWords:function(){return this.$store.state.config.muteWords},hideAttachments:function(){return this.$store.state.config.hideAttachments&&!this.inConversation||this.$store.state.config.hideAttachmentsInConv&&this.inConversation},retweet:function(){return!!this.statusoid.retweeted_status},retweeter:function(){return this.statusoid.user.name},status:function(){return this.retweet?this.statusoid.retweeted_status:this.statusoid},loggedIn:function(){return!!this.$store.state.users.currentUser},muteWordHits:function(){var t=this.status.text.toLowerCase(),e=(0,i.default)(this.muteWords,function(e){return t.includes(e.toLowerCase())});return e},muted:function(){return!this.unmuted&&(this.status.user.muted||this.muteWordHits.length>0)},isReply:function(){return!!this.status.in_reply_to_status_id},borderColor:function(){return{borderBottomColor:this.$store.state.config.colors.base02}},isFocused:function(){return!!this.focused||!!this.inConversation&&this.status.id===this.highlight}},components:{Attachment:o.default,FavoriteButton:l.default,RetweetButton:d.default,DeleteButton:m.default,PostStatusForm:p.default,UserCardContent:_.default},methods:{linkClicked:function(t){var e=t.target;"SPAN"===e.tagName&&(e=e.parentNode),"A"===e.tagName&&window.open(e.href,"_blank")},toggleReplying:function(){this.replying=!this.replying},gotoOriginal:function(){this.$emit("goto",this.status.in_reply_to_status_id)},toggleExpanded:function(){this.$emit("toggleExpanded")},toggleMute:function(){this.unmuted=!this.unmuted},toggleUserExpanded:function(){this.userExpanded=!this.userExpanded}},watch:{highlight:function(t){if(t=Number(t),this.status.id===t){var e=this.$el.getBoundingClientRect();e.top<100?window.scrollBy(0,e.top-200):e.bottom>window.innerHeight-100&&window.scrollBy(0,e.bottom+200)}}}};e.default=g},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(96),i=n(a),r=s(155),o=n(r),u={props:["statusoid"],data:function(){return{expanded:!1}},components:{Status:i.default,Conversation:o.default},methods:{toggleExpanded:function(){this.expanded=!this.expanded}}};e.default=u},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{availableStyles:[],selected:this.$store.state.config.theme}},created:function(){var t=this;window.fetch("/static/css/themes.json").then(function(t){return t.json()}).then(function(e){t.availableStyles=e})},watch:{selected:function(){this.$store.dispatch("setOption",{name:"theme",value:this.selected})}}}},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(96),i=n(a),r=s(104),o=n(r),u=s(429),l=n(u),c={props:["timeline","timelineName","title"],computed:{timelineError:function(){return this.$store.state.statuses.error}},components:{Status:i.default,StatusOrConversation:l.default},created:function(){var t=this.$store,e=t.state.users.currentUser.credentials,s=0===this.timeline.visibleStatuses.length;o.default.fetchAndUpdate({store:t,credentials:e,timeline:this.timelineName,showImmediately:s})},methods:{showNewStatuses:function(){this.$store.commit("showNewStatuses",{timeline:this.timelineName})},fetchOlderStatuses:function(){var t=this,e=this.$store,s=e.state.users.currentUser.credentials;e.commit("setLoading",{timeline:this.timelineName,value:!0}),o.default.fetchAndUpdate({store:e,credentials:s,timeline:this.timelineName,older:!0,showImmediately:!0}).then(function(){return e.commit("setLoading",{timeline:t.timelineName,value:!1})})}}};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(419),i=n(a),r=s(156),o=n(r),u=s(97),l=n(u),c={computed:{user:function(){return this.$store.state.users.currentUser}},components:{LoginForm:i.default,PostStatusForm:o.default,UserCardContent:l.default}};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(88),i=n(a),r=s(97),o=n(r),u={computed:{user:function t(){var e=this.$route.params.id,t=(0,i.default)(this.$store.state.users.users,{id:e});return t}},components:{UserCardContent:o.default}};e.default=u},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){t.exports=["just now",["%s second ago","%s seconds ago"],["%s minute ago","%s minutes ago"],["%s hour ago","%s hours ago"],["%s day ago","%s days ago"],["%s week ago","%s weeks ago"],["%s month ago","%s months ago"],["%s year ago","%s years ago"]]},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){t.exports=s.p+"static/img/nsfw.9399fe3.png"},function(t,e,s){s(247);var n=s(1)(s(169),s(446),null,null);t.exports=n.exports},function(t,e,s){s(246);var n=s(1)(s(170),s(445),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(171),s(449),null,null);t.exports=n.exports},function(t,e,s){s(250);var n=s(1)(s(173),s(452),null,null);t.exports=n.exports},function(t,e,s){s(252);var n=s(1)(s(174),s(454),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(175),s(451),null,null);t.exports=n.exports},function(t,e,s){s(243);var n=s(1)(s(176),s(442),null,null);t.exports=n.exports},function(t,e,s){s(248);var n=s(1)(s(177),s(447),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(178),s(439),null,null);t.exports=n.exports},function(t,e,s){s(254);var n=s(1)(s(179),s(456),null,null);t.exports=n.exports},function(t,e,s){s(236);var n=s(1)(s(180),s(433),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(182),s(440),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(183),s(448),null,null);t.exports=n.exports},function(t,e,s){s(244);var n=s(1)(s(184),s(443),null,null);t.exports=n.exports},function(t,e,s){s(241);var n=s(1)(s(185),s(438),null,null);t.exports=n.exports},function(t,e,s){s(253);var n=s(1)(s(186),s(455),null,null);t.exports=n.exports},function(t,e,s){s(242);var n=s(1)(s(188),s(441),null,null);t.exports=n.exports},function(t,e,s){s(251);var n=s(1)(s(189),s(453),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(191),s(457),null,null);t.exports=n.exports},function(t,e,s){s(245);var n=s(1)(s(192),s(444),null,null);t.exports=n.exports},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"notifications"},[s("div",{staticClass:"panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base01-background base04"},[t.unseenCount?s("span",{staticClass:"unseen-count"},[t._v(t._s(t.unseenCount))]):t._e(),t._v("\n Notifications\n "),s("button",{staticClass:"base06 base02-background read-button",on:{click:function(e){e.preventDefault(),t.markAsSeen(e)}}},[t._v("Read!")])]),t._v(" "),s("div",{staticClass:"panel-body base03-border"},t._l(t.visibleNotifications,function(e){return s("div",{staticClass:"notification",class:{unseen:!e.seen}},[s("a",{attrs:{href:e.action.user.statusnet_profile_url}},[s("img",{staticClass:"avatar",attrs:{src:e.action.user.profile_image_url_original}})]),t._v(" "),s("div",{staticClass:"text"},[s("timeago",{attrs:{since:e.action.created_at,"auto-update":240}}),t._v(" "),"favorite"===e.type?s("div",[s("h1",[t._v(t._s(e.action.user.name)),s("br"),s("i",{staticClass:"fa icon-star"}),t._v(" favorited your "),s("router-link",{attrs:{to:{name:"conversation",params:{id:e.status.id}}}},[t._v("status")])],1),t._v(" "),s("p",[t._v(t._s(e.status.text))])]):t._e(),t._v(" "),"repeat"===e.type?s("div",[s("h1",[t._v(t._s(e.action.user.name)),s("br"),s("i",{staticClass:"fa icon-retweet"}),t._v(" repeated your "),s("router-link",{attrs:{to:{name:"conversation",params:{id:e.status.id}}}},[t._v("status")])],1),t._v(" "),s("p",[t._v(t._s(e.status.text))])]):t._e(),t._v(" "),"mention"===e.type?s("div",[s("h1",[t._v(t._s(e.action.user.name)),s("br"),s("i",{staticClass:"fa icon-reply"}),t._v(" "),s("router-link",{attrs:{to:{name:"conversation",params:{id:e.status.id}}}},[t._v("mentioned")]),t._v(" you")],1),t._v(" "),s("p",[t._v(t._s(e.status.text))])]):t._e()],1)])}))])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-panel-background",style:t.headingStyle,attrs:{id:"heading"}},[s("div",{staticClass:"panel-heading text-center"},[s("div",{staticClass:"user-info"},[s("div",{staticClass:"container"},[s("img",{attrs:{src:t.user.profile_image_url}}),t._v(" "),s("span",{staticClass:"glyphicon glyphicon-user"}),t._v(" "),s("div",{staticClass:"user-name"},[t._v(t._s(t.user.name))]),t._v(" "),s("div",{staticClass:"user-screen-name"},[t._v("@"+t._s(t.user.screen_name))])]),t._v(" "),t.isOtherUser?s("div",{staticClass:"user-interactions"},[t.user.follows_you&&t.loggedIn?s("div",{staticClass:"following base06"},[t._v("\n Follows you!\n ")]):t._e(),t._v(" "),t.loggedIn?s("div",{staticClass:"follow"},[t.user.following?s("span",[s("button",{staticClass:"base04 base00-background pressed",on:{click:t.unfollowUser}},[t._v("\n Following!\n ")])]):t._e(),t._v(" "),t.user.following?t._e():s("span",[s("button",{staticClass:"base05 base02-background",on:{click:t.followUser}},[t._v("\n Follow\n ")])])]):t._e(),t._v(" "),t.isOtherUser?s("div",{staticClass:"mute"},[t.user.muted?s("span",[s("button",{staticClass:"base04 base00-background pressed",on:{click:t.toggleMute}},[t._v("Muted")])]):t._e(),t._v(" "),t.user.muted?t._e():s("span",[s("button",{staticClass:"base05 base02-background",on:{click:t.toggleMute}},[t._v("Mute")])])]):t._e()]):t._e()])]),t._v(" "),s("div",{staticClass:"panel-body profile-panel-body",style:t.bodyStyle},[s("div",{staticClass:"user-counts"},[s("div",{staticClass:"user-count"},[s("h5",[t._v("Statuses")]),t._v(" "),s("span",[t._v(t._s(t.user.statuses_count)+" "),s("br"),s("span",{staticClass:"dailyAvg"},[t._v(t._s(t.dailyAvg)+" per day")])])]),t._v(" "),s("div",{staticClass:"user-count"},[s("h5",[t._v("Following")]),t._v(" "),s("span",[t._v(t._s(t.user.friends_count))])]),t._v(" "),s("div",{staticClass:"user-count"},[s("h5",[t._v("Followers")]),t._v(" "),s("span",[t._v(t._s(t.user.followers_count))])])]),t._v(" "),s("p",[t._v(t._s(t.user.description))])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline panel panel-default"},[s("div",{staticClass:"panel-heading timeline-heading base01-background base04"},[s("div",{staticClass:"title"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.timeline.newStatusCount>0&&!t.timelineError?s("button",{staticClass:"base06 base02-background loadmore-button",on:{click:function(e){e.preventDefault(),t.showNewStatuses(e)}}},[t._v("\n Show new ("+t._s(t.timeline.newStatusCount)+")\n ")]):t._e(),t._v(" "),t.timelineError?s("button",{staticClass:"base06 error no-press loadmore-button",on:{click:function(t){t.preventDefault()}}},[t._v("\n Error fetching updates\n ")]):t._e(),t._v(" "),!t.timeline.newStatusCount>0&&!t.timelineError?s("button",{staticClass:"base04 base01-background no-press loadmore-button",on:{click:function(t){t.preventDefault()}}},[t._v("\n Up-to-date\n ")]):t._e()]),t._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"timeline"},[t._l(t.timeline.visibleStatuses,function(t){return s("status-or-conversation",{key:t.id,attrs:{statusoid:t}})}),t._v(" "),t.timeline.loading?s("div",{staticClass:"base01-background base03-border new-status-notification text-center"},[t._v("...")]):s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.fetchOlderStatuses()}}},[s("div",{staticClass:"base01-background base03-border new-status-notification text-center"},[t._v("Load older statuses.")])])],2)])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-status-form"},[s("form",{on:{submit:function(e){e.preventDefault(),t.postStatus(t.newStatus)}}},[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.newStatus.status,expression:"newStatus.status"}],staticClass:"form-control",attrs:{placeholder:"Just landed in L.A.",rows:"3"},domProps:{value:t._s(t.newStatus.status)},on:{keyup:[function(e){t._k(e.keyCode,"enter",13)||e.metaKey&&t.postStatus(t.newStatus)},function(e){t._k(e.keyCode,"enter",13)||e.ctrlKey&&t.postStatus(t.newStatus)}],drop:t.fileDrop,dragover:function(e){e.preventDefault(),t.fileDrag(e)},input:function(e){e.target.composing||(t.newStatus.status=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"attachments"},t._l(t.newStatus.files,function(e){return s("div",{staticClass:"attachment"},[s("i",{staticClass:"fa icon-cancel",on:{click:function(s){t.removeMediaFile(e)}}}),t._v(" "),"image"===t.type(e)?s("img",{staticClass:"thumbnail media-upload",attrs:{src:e.image}}):t._e(),t._v(" "),"video"===t.type(e)?s("video",{attrs:{src:e.image,controls:""}}):t._e(),t._v(" "),"audio"===t.type(e)?s("audio",{attrs:{src:e.image,controls:""}}):t._e(),t._v(" "),"unknown"===t.type(e)?s("a",{attrs:{href:e.image}},[t._v(t._s(e.url))]):t._e()])})),t._v(" "),s("div",{staticClass:"form-bottom"},[s("media-upload",{attrs:{"drop-files":t.dropFiles},on:{uploading:t.disableSubmit,uploaded:t.addMediaFile,"upload-failed":t.enableSubmit}}),t._v(" "),s("button",{staticClass:"btn btn-default base05 base01-background",attrs:{disabled:t.submitDisabled,type:"submit"}},[t._v("Submit")])],1)])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base01-background base04 base03-border conversation-heading"},[t._v("\n Conversation\n "),t.collapsable?s("span",{staticStyle:{float:"right"}},[s("small",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.$emit("toggleExpanded")}}},[t._v("Collapse")])])]):t._e()]),t._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"timeline"},t._l(t.conversation,function(e){return s("status",{key:e.id,attrs:{statusoid:e,expandable:!1,focused:t.focused(e.id),inConversation:!0,highlight:t.highlight},on:{goto:t.setHighlight}})}))])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("i",{staticClass:"icon-retweet fa",class:t.classes,on:{click:function(e){e.preventDefault(),t.retweet()}}}),t._v(" "),t.status.repeat_num>0?s("span",[t._v(t._s(t.status.repeat_num))]):t._e()])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Timeline",{attrs:{title:"Mentions",timeline:t.timeline,"timeline-name":"mentions"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Timeline",{attrs:{title:"THE WHOLE KNOWN NETWORK",timeline:t.timeline,"timeline-name":"publicAndExternal"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.expanded?s("conversation",{attrs:{collapsable:!0,statusoid:t.statusoid},on:{toggleExpanded:t.toggleExpanded}}):t._e(),t._v(" "),t.expanded?t._e():s("status",{attrs:{expandable:!0,inConversation:!1,focused:!1,statusoid:t.statusoid},on:{toggleExpanded:t.toggleExpanded}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"login panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base01-background base04"},[t._v("\n Log in\n ")]),t._v(" "),s("div",{staticClass:"panel-body"},[s("form",{staticClass:"login-form",on:{submit:function(e){e.preventDefault(),t.submit(t.user)}}},[s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"username"}},[t._v("Username")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.user.username,expression:"user.username"}],staticClass:"form-control",attrs:{disabled:t.loggingIn,id:"username",placeholder:"e.g. lain"},domProps:{value:t._s(t.user.username)},on:{input:function(e){e.target.composing||(t.user.username=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"password"}},[t._v("Password")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.user.password,expression:"user.password"}],staticClass:"form-control",attrs:{disabled:t.loggingIn,id:"password",type:"password"},domProps:{value:t._s(t.user.password)},on:{input:function(e){e.target.composing||(t.user.password=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("button",{staticClass:"btn btn-default base05 base01-background",attrs:{disabled:t.loggingIn,type:"submit"}},[t._v("Submit")])]),t._v(" "),t.authError?s("div",{staticClass:"form-group"},[s("div",{staticClass:"error base05"},[t._v(t._s(t.authError))])]):t._e(),t._v(" "),s("div",{staticClass:"form-group"},[s("router-link",{attrs:{to:{name:"registration"}}},[t._v("Register new account")])],1)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base01-background base04"},[t._v("\n Registration\n ")]),t._v(" "),s("div",{staticClass:"panel-body"},[s("form",{staticClass:"registration-form",on:{submit:function(e){e.preventDefault(),t.submit(t.user)}}},[s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"username"}},[t._v("Username")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.user.username,expression:"user.username"}],staticClass:"form-control",attrs:{disabled:t.registering,id:"username",placeholder:"e.g. lain"},domProps:{value:t._s(t.user.username)},on:{input:function(e){e.target.composing||(t.user.username=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"fullname"}},[t._v("Fullname")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.user.fullname,expression:"user.fullname"}],staticClass:"form-control",attrs:{disabled:t.registering,id:"fullname",placeholder:"e.g. Lain Iwakura"},domProps:{value:t._s(t.user.fullname)},on:{input:function(e){e.target.composing||(t.user.fullname=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"email"}},[t._v("Email")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.user.email,expression:"user.email"}],staticClass:"form-control",attrs:{disabled:t.registering,id:"email",type:"email"},domProps:{value:t._s(t.user.email)},on:{input:function(e){e.target.composing||(t.user.email=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"bio"}},[t._v("Bio")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.user.bio,expression:"user.bio"}],staticClass:"form-control",attrs:{disabled:t.registering,id:"bio"},domProps:{value:t._s(t.user.bio)},on:{input:function(e){e.target.composing||(t.user.bio=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"password"}},[t._v("Password")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.user.password,expression:"user.password"}],staticClass:"form-control",attrs:{disabled:t.registering,id:"password",type:"password"},domProps:{value:t._s(t.user.password)},on:{input:function(e){e.target.composing||(t.user.password=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"password_confirmation"}},[t._v("Password confirmation")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.user.confirm,expression:"user.confirm"}],staticClass:"form-control",attrs:{disabled:t.registering,id:"password_confirmation",type:"password"},domProps:{value:t._s(t.user.confirm)},on:{input:function(e){e.target.composing||(t.user.confirm=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("button",{staticClass:"btn btn-default base05 base01-background",attrs:{disabled:t.registering,type:"submit"}},[t._v("Submit")])]),t._v(" "),t.error?s("div",{staticClass:"form-group"},[s("div",{staticClass:"error base05"},[t._v(t._s(t.error))])]):t._e()])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"user-profile panel panel-default base00-background"},[s("user-card-content",{attrs:{user:t.user}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"attachment base03-border",class:(n={loading:t.loading},n[t.type]=!0,n),style:t.autoHeight},[t.hidden?s("a",{staticClass:"image-attachment",on:{click:function(e){e.preventDefault(),t.toggleHidden()}}},[s("img",{key:t.nsfwImage,attrs:{src:t.nsfwImage}})]):t._e(),t._v(" "),t.nsfw&&t.hideNsfwLocal&&!t.hidden?s("div",{staticClass:"hider"},[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleHidden()}}},[t._v("Hide")])]):t._e(),t._v(" "),"image"!==t.type||t.hidden?t._e():s("a",{staticClass:"image-attachment",attrs:{href:t.attachment.url,target:"_blank"}},[s("img",{staticClass:"base03-border",attrs:{referrerpolicy:"no-referrer",src:t.attachment.large_thumb_url||t.attachment.url}})]),t._v(" "),"video"!==t.type||t.hidden?t._e():s("video",{attrs:{src:t.attachment.url,controls:""}}),t._v(" "),"audio"===t.type?s("audio",{attrs:{src:t.attachment.url,controls:""}}):t._e(),t._v(" "),"html"===t.type&&t.attachment.oembed?s("div",{staticClass:"oembed",on:{click:function(e){e.preventDefault(),t.linkClicked(e)}}},[t.attachment.thumb_url?s("div",{staticClass:"image"},[s("img",{attrs:{src:t.attachment.thumb_url}})]):t._e(),t._v(" "),s("div",{staticClass:"text"},[s("h1",[s("a",{attrs:{href:t.attachment.url}},[t._v(t._s(t.attachment.oembed.title))])]),t._v(" "),s("div",{domProps:{innerHTML:t._s(t.attachment.oembed.oembedHTML)}})])]):t._e()]);var n},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"base02-background",style:t.style,attrs:{id:"app"}},[s("nav",{staticClass:"container base01-background base04",on:{click:function(e){t.scrollToTop()}}},[s("div",{staticClass:"inner-nav",style:t.logoStyle},[s("div",{staticClass:"item"},[s("router-link",{attrs:{to:{name:"root"}}},[t._v(t._s(t.sitename))])],1),t._v(" "),s("div",{staticClass:"item right"},[s("router-link",{attrs:{to:{name:"settings"}}},[s("i",{staticClass:"icon-cog"})])],1)])]),t._v(" "),s("div",{staticClass:"container",attrs:{id:"content"}},[s("div",{staticClass:"panel-switcher"},[s("button",{on:{click:function(e){t.activatePanel("sidebar")}}},[t._v("Sidebar")]),t._v(" "),s("button",{on:{click:function(e){t.activatePanel("timeline")}}},[t._v("Timeline")])]),t._v(" "),s("div",{staticClass:"sidebar-flexer",class:{"mobile-hidden":"sidebar"!=t.mobileActivePanel}},[s("div",{staticClass:"sidebar",class:{"mobile-hidden":"sidebar"!=t.mobileActivePanel}},[s("div",{staticClass:"sidebar-container"},[s("user-panel"),t._v(" "),s("nav-panel"),t._v(" "),t.currentUser?s("notifications"):t._e()],1)])]),t._v(" "),s("div",{staticClass:"main",class:{"mobile-hidden":"timeline"!=t.mobileActivePanel}},[s("transition",{attrs:{name:"fade"}},[s("router-view")],1)],1)])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"media-upload",on:{drop:[function(t){t.preventDefault()},t.fileDrop],dragover:function(e){e.preventDefault(),t.fileDrag(e)}}},[s("label",{staticClass:"btn btn-default"},[t.uploading?s("i",{staticClass:"fa icon-spin4 animate-spin"}):t._e(),t._v(" "),t.uploading?t._e():s("i",{staticClass:"fa icon-upload"}),t._v(" "),s("input",{staticStyle:{position:"fixed",top:"-100em"},attrs:{type:"file"}})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Timeline",{attrs:{title:"Public Timeline",timeline:t.timeline,"timeline-name":"public"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("conversation",{attrs:{collapsable:!1,statusoid:t.statusoid}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.status.deleted?t._e():s("div",{staticClass:"status-el base00-background base03-border",class:[{"base01-background":t.isFocused},{"status-conversation":t.inConversation}]},[t.muted?[s("div",{staticClass:"media status container muted"},[s("small",[s("router-link",{attrs:{to:{name:"user-profile",params:{id:t.status.user.id}}}},[t._v(t._s(t.status.user.screen_name))])],1),t._v(" "),s("small",{staticClass:"muteWords"},[t._v(t._s(t.muteWordHits.join(", ")))]),t._v(" "),s("a",{staticClass:"unmute",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleMute(e)}}},[s("i",{staticClass:"icon-eye-off"})])])]:t._e(),t._v(" "),t.muted?t._e():[t.retweet?s("div",{staticClass:"media container retweet-info"},[t._m(0),t._v(" "),s("div",{staticClass:"media-body"},[t._v("\n Retweeted by "+t._s(t.retweeter)+"\n ")])]):t._e(),t._v(" "),s("div",{staticClass:"media status container"},[s("div",{staticClass:"media-left"},[s("a",{attrs:{href:t.status.user.statusnet_profile_url}},[s("img",{staticClass:"avatar",attrs:{src:t.status.user.profile_image_url_original},on:{click:function(e){e.preventDefault(),t.toggleUserExpanded(e)}}})])]),t._v(" "),s("div",{staticClass:"media-body"},[t.userExpanded?s("div",{staticClass:"base05 base05=border usercard"},[s("user-card-content",{attrs:{user:t.status.user}})],1):t._e(),t._v(" "),s("div",{staticClass:"user-content"},[s("h4",{staticClass:"media-heading"},[t._v("\n "+t._s(t.status.user.name)+"\n "),s("small",[s("router-link",{attrs:{to:{name:"user-profile",params:{id:t.status.user.id}}}},[t._v(t._s(t.status.user.screen_name))])],1),t._v(" "),t.status.in_reply_to_screen_name?s("small",[t._v(" >\n "),s("router-link",{attrs:{to:{name:"user-profile",params:{id:t.status.in_reply_to_user_id}}}},[t._v("\n "+t._s(t.status.in_reply_to_screen_name)+"\n ")])],1):t._e(),t._v(" "),t.isReply&&!t.expandable?[s("small",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.gotoOriginal(e)}}},[s("i",{staticClass:"icon-reply"})])])]:t._e(),t._v("\n -\n "),s("small",[s("router-link",{attrs:{to:{name:"conversation",params:{id:t.status.id}}}},[s("timeago",{attrs:{since:t.status.created_at,"auto-update":60}})],1)],1),t._v(" "),t.expandable?[t._v("\n -\n "),s("small",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleExpanded(e)}}},[s("i",{staticClass:"icon-plus-squared"})])])]:t._e(),t._v(" "),t.unmuted?s("small",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleMute(e)}}},[s("i",{staticClass:"icon-eye-off"})])]):t._e(),t._v(" "),t.status.is_local?t._e():s("small",{staticClass:"source_url"},[s("a",{attrs:{href:t.status.external_url,target:"_blank"}},[s("i",{staticClass:"icon-binoculars"})])])],2),t._v(" "),s("div",{staticClass:"status-content",domProps:{innerHTML:t._s(t.status.statusnet_html)},on:{click:function(e){e.preventDefault(),t.linkClicked(e)}}}),t._v(" "),t.status.attachments?s("div",{staticClass:"attachments"},t._l(t.status.attachments,function(e){return t.hideAttachments?t._e():s("attachment",{attrs:{"status-id":t.status.id,nsfw:t.status.nsfw,attachment:e}})})):t._e()]),t._v(" "),t.loggedIn?s("div",[s("div",{staticClass:"status-actions"},[s("div",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleReplying(e)}}},[s("i",{staticClass:"fa icon-reply", +class:{"icon-reply-active":t.replying}})])]),t._v(" "),s("retweet-button",{attrs:{status:t.status}}),t._v(" "),s("favorite-button",{attrs:{status:t.status}}),t._v(" "),s("delete-button",{attrs:{status:t.status}})],1)]):t._e()])]),t._v(" "),t.replying?s("div",{staticClass:"status base00-background container"},[s("div",{staticClass:"reply-left"}),t._v(" "),s("post-status-form",{staticClass:"reply-body",attrs:{"reply-to":t.status.id,attentions:t.status.attentions,repliedUser:t.status.user},on:{posted:t.toggleReplying}})],1):t._e()]],2)},staticRenderFns:[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"media-left"},[s("i",{staticClass:"fa icon-retweet retweeted"})])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Timeline",{attrs:{title:"Friends",timeline:t.timeline,"timeline-name":"friends"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.canDelete?s("div",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.deleteStatus()}}},[s("i",{staticClass:"fa icon-cancel delete-status"})])]):t._e()},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],staticClass:"style-switcher",on:{change:function(e){t.selected=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){var e="_value"in t?t._value:t.value;return e})[0]}}},t._l(t.availableStyles,function(e){return s("option",[t._v(t._s(e))])}))},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("i",{staticClass:"favorite-button fa",class:t.classes,on:{click:function(e){e.preventDefault(),t.favorite()}}}),t._v(" "),t.status.fave_num>0?s("span",[t._v(t._s(t.status.fave_num))]):t._e()])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base01-background base04"},[t._v("\n Settings\n ")]),t._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"setting-item"},[s("h2",[t._v("Theme")]),t._v(" "),s("style-switcher")],1),t._v(" "),s("div",{staticClass:"setting-item"},[s("h2",[t._v("Filtering")]),t._v(" "),s("p",[t._v("All notices containing these words will be muted, one per line")]),t._v(" "),s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.muteWordsString,expression:"muteWordsString"}],attrs:{id:"muteWords"},domProps:{value:t._s(t.muteWordsString)},on:{input:function(e){e.target.composing||(t.muteWordsString=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"setting-item"},[s("h2",[t._v("Attachments")]),t._v(" "),s("ul",{staticClass:"setting-list"},[s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.hideAttachmentsLocal,expression:"hideAttachmentsLocal"}],attrs:{type:"checkbox",id:"hideAttachments"},domProps:{checked:Array.isArray(t.hideAttachmentsLocal)?t._i(t.hideAttachmentsLocal,null)>-1:t.hideAttachmentsLocal},on:{click:function(e){var s=t.hideAttachmentsLocal,n=e.target,a=!!n.checked;if(Array.isArray(s)){var i=null,r=t._i(s,i);a?r<0&&(t.hideAttachmentsLocal=s.concat(i)):r>-1&&(t.hideAttachmentsLocal=s.slice(0,r).concat(s.slice(r+1)))}else t.hideAttachmentsLocal=a}}}),t._v(" "),s("label",{attrs:{for:"hideAttachments"}},[t._v("Hide attachments in timeline")])]),t._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.hideAttachmentsInConvLocal,expression:"hideAttachmentsInConvLocal"}],attrs:{type:"checkbox",id:"hideAttachmentsInConv"},domProps:{checked:Array.isArray(t.hideAttachmentsInConvLocal)?t._i(t.hideAttachmentsInConvLocal,null)>-1:t.hideAttachmentsInConvLocal},on:{click:function(e){var s=t.hideAttachmentsInConvLocal,n=e.target,a=!!n.checked;if(Array.isArray(s)){var i=null,r=t._i(s,i);a?r<0&&(t.hideAttachmentsInConvLocal=s.concat(i)):r>-1&&(t.hideAttachmentsInConvLocal=s.slice(0,r).concat(s.slice(r+1)))}else t.hideAttachmentsInConvLocal=a}}}),t._v(" "),s("label",{attrs:{for:"hideAttachmentsInConv"}},[t._v("Hide attachments in conversations")])]),t._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.hideNsfwLocal,expression:"hideNsfwLocal"}],attrs:{type:"checkbox",id:"hideNsfw"},domProps:{checked:Array.isArray(t.hideNsfwLocal)?t._i(t.hideNsfwLocal,null)>-1:t.hideNsfwLocal},on:{click:function(e){var s=t.hideNsfwLocal,n=e.target,a=!!n.checked;if(Array.isArray(s)){var i=null,r=t._i(s,i);a?r<0&&(t.hideNsfwLocal=s.concat(i)):r>-1&&(t.hideNsfwLocal=s.slice(0,r).concat(s.slice(r+1)))}else t.hideNsfwLocal=a}}}),t._v(" "),s("label",{attrs:{for:"hideNsfw"}},[t._v("Enable clickthrough NSFW attachment hiding")])])])])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"nav-panel"},[s("div",{staticClass:"panel panel-default base01-background"},[s("ul",{staticClass:"base03-border"},[t.currentUser?s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/friends"}},[t._v("\n Timeline\n ")])],1):t._e(),t._v(" "),t.currentUser?s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:{name:"mentions",params:{username:t.currentUser.screen_name}}}},[t._v("\n Mentions\n ")])],1):t._e(),t._v(" "),s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/public"}},[t._v("\n Public Timeline\n ")])],1),t._v(" "),s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/all"}},[t._v("\n The Whole Known Network\n ")])],1)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"user-panel"},[t.user?s("div",{staticClass:"panel panel-default"},[s("user-card-content",{attrs:{user:t.user}}),t._v(" "),s("div",{staticClass:"panel-footer base00-background"},[t.user?s("post-status-form"):t._e()],1)],1):t._e(),t._v(" "),t.user?t._e():s("login-form")],1)},staticRenderFns:[]}}]); +//# sourceMappingURL=app.6a6016da34598b91ac47.js.map \ No newline at end of file diff --git a/priv/static/static/js/app.6a6016da34598b91ac47.js.map b/priv/static/static/js/app.6a6016da34598b91ac47.js.map new file mode 100644 index 000000000..56523d591 --- /dev/null +++ b/priv/static/static/js/app.6a6016da34598b91ac47.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///static/js/app.6a6016da34598b91ac47.js","webpack:///./src/main.js","webpack:///./src/services/api/api.service.js","webpack:///./src/components/timeline/timeline.vue","webpack:///./src/components/status/status.vue","webpack:///./src/components/user_card_content/user_card_content.vue","webpack:///./src/modules/statuses.js","webpack:///./src/services/backend_interactor_service/backend_interactor_service.js","webpack:///./src/services/file_type/file_type.service.js","webpack:///./src/services/status_poster/status_poster.service.js","webpack:///./src/services/timeline_fetcher/timeline_fetcher.service.js","webpack:///./src/components/conversation/conversation.vue","webpack:///./src/components/post_status_form/post_status_form.vue","webpack:///./src/lib/persisted_state.js","webpack:///./src/modules/api.js","webpack:///./src/modules/config.js","webpack:///./src/modules/users.js","webpack:///./src/services/style_setter/style_setter.js","webpack:///user_card_content.vue","webpack:///./src/App.js","webpack:///./src/components/attachment/attachment.js","webpack:///./src/components/conversation-page/conversation-page.js","webpack:///./src/components/conversation/conversation.js","webpack:///./src/components/delete_button/delete_button.js","webpack:///./src/components/favorite_button/favorite_button.js","webpack:///./src/components/friends_timeline/friends_timeline.js","webpack:///./src/components/login_form/login_form.js","webpack:///./src/components/media_upload/media_upload.js","webpack:///./src/components/mentions/mentions.js","webpack:///./src/components/nav_panel/nav_panel.js","webpack:///./src/components/notifications/notifications.js","webpack:///./src/components/post_status_form/post_status_form.js","webpack:///./src/components/public_and_external_timeline/public_and_external_timeline.js","webpack:///./src/components/public_timeline/public_timeline.js","webpack:///./src/components/registration/registration.js","webpack:///./src/components/retweet_button/retweet_button.js","webpack:///./src/components/settings/settings.js","webpack:///./src/components/status/status.js","webpack:///./src/components/status_or_conversation/status_or_conversation.js","webpack:///./src/components/style_switcher/style_switcher.js","webpack:///./src/components/timeline/timeline.js","webpack:///./src/components/user_panel/user_panel.js","webpack:///./src/components/user_profile/user_profile.js","webpack:///./~/vue-timeago/locales/en-US.json","webpack:///./src/assets/nsfw.png","webpack:///./src/App.vue","webpack:///./src/components/attachment/attachment.vue","webpack:///./src/components/conversation-page/conversation-page.vue","webpack:///./src/components/delete_button/delete_button.vue","webpack:///./src/components/favorite_button/favorite_button.vue","webpack:///./src/components/friends_timeline/friends_timeline.vue","webpack:///./src/components/login_form/login_form.vue","webpack:///./src/components/media_upload/media_upload.vue","webpack:///./src/components/mentions/mentions.vue","webpack:///./src/components/nav_panel/nav_panel.vue","webpack:///./src/components/notifications/notifications.vue","webpack:///./src/components/public_and_external_timeline/public_and_external_timeline.vue","webpack:///./src/components/public_timeline/public_timeline.vue","webpack:///./src/components/registration/registration.vue","webpack:///./src/components/retweet_button/retweet_button.vue","webpack:///./src/components/settings/settings.vue","webpack:///./src/components/status_or_conversation/status_or_conversation.vue","webpack:///./src/components/style_switcher/style_switcher.vue","webpack:///./src/components/user_panel/user_panel.vue","webpack:///./src/components/user_profile/user_profile.vue","webpack:///./src/components/notifications/notifications.vue?5be5","webpack:///./src/components/user_card_content/user_card_content.vue?3b60","webpack:///./src/components/timeline/timeline.vue?bccb","webpack:///./src/components/post_status_form/post_status_form.vue?50e8","webpack:///./src/components/conversation/conversation.vue?0265","webpack:///./src/components/retweet_button/retweet_button.vue?23e1","webpack:///./src/components/mentions/mentions.vue?6b3c","webpack:///./src/components/public_and_external_timeline/public_and_external_timeline.vue?d30a","webpack:///./src/components/status_or_conversation/status_or_conversation.vue?71df","webpack:///./src/components/login_form/login_form.vue?4161","webpack:///./src/components/registration/registration.vue?5f52","webpack:///./src/components/user_profile/user_profile.vue?68fe","webpack:///./src/components/attachment/attachment.vue?b9a1","webpack:///./src/App.vue?2bc0","webpack:///./src/components/media_upload/media_upload.vue?f8c0","webpack:///./src/components/public_timeline/public_timeline.vue?10dc","webpack:///./src/components/conversation-page/conversation-page.vue?4c2e","webpack:///./src/components/status/status.vue?ae21","webpack:///./src/components/friends_timeline/friends_timeline.vue?da5a","webpack:///./src/components/delete_button/delete_button.vue?6b4a","webpack:///./src/components/style_switcher/style_switcher.vue?3216","webpack:///./src/components/favorite_button/favorite_button.vue?6b07","webpack:///./src/components/settings/settings.vue?ed79","webpack:///./src/components/nav_panel/nav_panel.vue?68c8","webpack:///./src/components/user_panel/user_panel.vue?098f"],"names":["webpackJsonp","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","_vue","_vue2","_vueRouter","_vueRouter2","_vuex","_vuex2","_App","_App2","_public_timeline","_public_timeline2","_public_and_external_timeline","_public_and_external_timeline2","_friends_timeline","_friends_timeline2","_conversationPage","_conversationPage2","_mentions","_mentions2","_user_profile","_user_profile2","_settings","_settings2","_registration","_registration2","_statuses","_statuses2","_users","_users2","_api","_api2","_config","_config2","_vueTimeago","_vueTimeago2","_persisted_state","_persisted_state2","use","locale","locales","en-US","persistedStateOptions","paths","store","Store","modules","statuses","users","api","config","plugins","strict","routes","name","path","redirect","component","meta","dontScroll","router","mode","scrollBehavior","to","from","savedPosition","matched","some","m","x","y","el","render","h","window","fetch","then","res","json","_ref","theme","background","logo","dispatch","value","Object","defineProperty","_each2","_each3","LOGIN_URL","FRIENDS_TIMELINE_URL","ALL_FOLLOWING_URL","PUBLIC_TIMELINE_URL","PUBLIC_AND_EXTERNAL_TIMELINE_URL","FAVORITE_URL","UNFAVORITE_URL","RETWEET_URL","STATUS_UPDATE_URL","STATUS_DELETE_URL","STATUS_URL","MEDIA_UPLOAD_URL","CONVERSATION_URL","MENTIONS_URL","FRIENDS_URL","FOLLOWING_URL","UNFOLLOWING_URL","QVITTER_USER_PREF_URL","REGISTRATION_URL","oldfetch","url","options","baseUrl","fullUrl","credentials","register","params","form","FormData","key","append","method","body","authHeaders","user","username","password","Authorization","btoa","followUser","id","headers","data","unfollowUser","_ref2","fetchFriends","_ref3","fetchAllFollowing","_ref4","fetchConversation","_ref5","fetchStatus","_ref6","setUserMute","_ref7","_ref7$muted","muted","undefined","muteInteger","fetchTimeline","_ref8","timeline","_ref8$since","since","_ref8$until","until","timelineUrls","public","friends","mentions","publicAndExternal","verifyCredentials","favorite","_ref9","unfavorite","_ref10","retweet","_ref11","postStatus","_ref12","status","mediaIds","inReplyToStatusId","idsText","join","deleteStatus","_ref13","uploadMedia","_ref14","formData","response","text","DOMParser","parseFromString","fetchMutes","_ref15","apiService","Component","mutations","findMaxId","statusType","prepareStatus","defaultState","_set","_set2","_isArray2","_isArray3","_max2","_max3","_merge2","_merge3","_last2","_last3","_maxBy2","_maxBy3","_flatten2","_flatten3","_find2","_find3","_toInteger2","_toInteger3","_sortBy2","_sortBy3","_slice2","_slice3","_remove2","_remove3","_apiService","_apiService2","allStatuses","allStatusesObject","maxId","notifications","favorites","error","timelines","statusesObject","faves","visibleStatuses","visibleStatusesObject","newStatusCount","minVisibleId","loading","nsfw","nsfwRegex","match","deleted","attachments","is_post_verb","retweeted_status","uri","mergeOrAdd","_len","arguments","length","args","Array","_key","arr","item","oldItem","splice","new","push","sortTimeline","addNewStatuses","state","_ref3$showImmediately","showImmediately","_ref3$user","_ref3$noIdUpdate","noIdUpdate","timelineObject","updateMaxId","addStatus","addToTimeline","result","addNotification","type","action","attentions","resultForCurrentTimeline","oldNotification","seen","favoriteStatus","in_reply_to_status_id","fave_num","favorited","processors","retweetedStatus","has","add","deletion","unknown","console","log","processor","showNewStatuses","oldTimeline","setFavorited","newStatus","setRetweeted","repeated","setDeleted","setLoading","setNsfw","setError","markNotificationsAsSeen","notification","actions","rootState","commit","_ref14$showImmediatel","_ref14$timeline","_ref14$noIdUpdate","currentUser","_ref16","_ref17","_ref18","_ref19","_ref20","_timeline_fetcherService","_timeline_fetcherService2","backendInteractorService","startFetching","_ref5$muted","backendInteractorServiceInstance","fileType","typeString","fileTypeService","_map2","_map3","_ref$media","media","_ref$inReplyToStatusI","xml","link","getElementsByTagName","mediaData","textContent","image","getAttribute","mimetype","statusPosterService","_camelCase2","_camelCase3","update","ccTimeline","fetchAndUpdate","_ref2$timeline","_ref2$older","older","_ref2$showImmediately","timelineData","_ref3$timeline","boundFetchAndUpdate","setInterval","timelineFetcher","createPersistedState","_ref$key","_ref$paths","_ref$getState","getState","storage","getItem","_ref$setState","setState","_throttle3","defaultSetState","_ref$reducer","reducer","defaultReducer","_ref$storage","defaultStorage","_ref$subscriber","subscriber","handler","subscribe","savedState","_typeof3","usersState","usersObject","replaceState","_lodash2","loaded","e","mutation","_typeof2","_throttle2","_lodash","_objectPath","_objectPath2","_localforage","_localforage2","reduce","substate","set","get","setItem","_backend_interactor_service","_backend_interactor_service2","backendInteractor","fetchers","setBackendInteractor","addFetcher","fetcher","removeFetcher","stopFetching","clearInterval","_style_setter","_style_setter2","colors","hideAttachments","hideAttachmentsInConv","hideNsfw","muteWords","setOption","setPageTitle","option","document","title","fullPath","setStyle","_promise","_promise2","_compact2","_compact3","setMuted","setCurrentUser","beginLogin","loggingIn","endLogin","addNewUsers","setUserForStatus","retweetedUsers","loginUser","userCredentials","resolve","reject","ok","mutedUsers","catch","_times2","_times3","href","head","style","display","cssEl","createElement","setAttribute","appendChild","setDynamic","baseEl","n","toString","toUpperCase","color","getComputedStyle","getPropertyValue","removeChild","styleEl","styleSheet","sheet","insertRule","addEventListener","StyleSetter","props","computed","headingStyle","rgb","this","$store","backgroundColor","Math","floor","backgroundImage","cover_photo","bodyStyle","isOtherUser","loggedIn","dailyAvg","days","ceil","Date","created_at","round","statuses_count","methods","followedUser","unfollowedUser","toggleMute","_user_panel","_user_panel2","_nav_panel","_nav_panel2","_notifications","_notifications2","components","UserPanel","NavPanel","Notifications","mobileActivePanel","background_image","logoStyle","background-image","sitename","activatePanel","panelName","scrollToTop","scrollTo","_nsfw","_nsfw2","_file_typeService","_file_typeService2","Attachment","nsfwImage","hideNsfwLocal","showHidden","img","attachment","hidden","autoHeight","min-height","linkClicked","target","tagName","open","toggleHidden","_this","onload","src","_conversation","_conversation2","conversationPage","Conversation","statusoid","$route","_filter2","_filter3","_status","_status2","sortAndFilterConversation","conversation","highlight","conversationId","statusnet_conversation_id","Status","created","watch","focused","setHighlight","Number","DeleteButton","confirmed","confirm","canDelete","rights","delete_others_notice","FavoriteButton","animated","setTimeout","classes","icon-star-empty","icon-star","animate-spin","_timeline","_timeline2","FriendsTimeline","Timeline","LoginForm","authError","submit","_status_posterService","_status_posterService2","mediaUpload","mounted","input","$el","querySelector","file","files","uploadFile","uploading","self","$emit","fileData","fileDrop","dataTransfer","preventDefault","fileDrag","types","contains","dropEffect","dropFiles","fileInfos","Mentions","_take2","_take3","visibleNotificationCount","unseenNotifications","visibleNotifications","sortedNotifications","unseenCount","count","markAsSeen","_toConsumableArray2","_toConsumableArray3","_uniqBy2","_uniqBy3","_reject2","_reject3","_media_upload","_media_upload2","_Tribute","_Tribute2","buildMentionsString","allAttentions","unshift","attention","screen_name","defaultCollection","trigger","iframe","selectClass","selectTemplate","original","menuItemTemplate","profile_image_url","string","noMatchTemplate","menuContainer","lookup","fillAttr","values","requireLeadingSpace","allowSpaces","tribute","collection","PostStatusForm","MediaUpload","statusText","replyTo","repliedUser","submitDisabled","completions","textarea","attach","addMediaFile","fileInfo","enableSubmit","removeMediaFile","index","indexOf","disableSubmit","PublicAndExternalTimeline","destroyed","PublicTimeline","registration","registering","nickname","$router","RetweetButton","retweeted","_trim2","_trim3","_style_switcher","_style_switcher2","settings","hideAttachmentsLocal","hideAttachmentsInConvLocal","muteWordsString","StyleSwitcher","split","word","_attachment","_attachment2","_favorite_button","_favorite_button2","_retweet_button","_retweet_button2","_delete_button","_delete_button2","_post_status_form","_post_status_form2","_user_card_content","_user_card_content2","replying","expanded","unmuted","userExpanded","inConversation","retweeter","muteWordHits","toLowerCase","hits","muteWord","includes","isReply","borderColor","borderBottomColor","isFocused","UserCardContent","parentNode","toggleReplying","gotoOriginal","toggleExpanded","toggleUserExpanded","rect","getBoundingClientRect","top","scrollBy","bottom","innerHeight","statusOrConversation","availableStyles","selected","themes","_status_or_conversation","_status_or_conversation2","timelineError","StatusOrConversation","timelineName","fetchOlderStatuses","_login_form","_login_form2","UserProfile","p","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","_e","on","click","$event","_l","class","unseen","attrs","statusnet_profile_url","profile_image_url_original","auto-update","staticRenderFns","follows_you","following","friends_count","followers_count","description","directives","rawName","expression","placeholder","rows","domProps","keyup","_k","keyCode","metaKey","ctrlKey","drop","dragover","composing","controls","drop-files","uploaded","upload-failed","disabled","staticStyle","float","expandable","goto","repeat_num","timeline-name","collapsable","for","fullname","email","bio","_obj","referrerpolicy","large_thumb_url","oembed","thumb_url","innerHTML","oembedHTML","mobile-hidden","position","base01-background","status-conversation","_m","in_reply_to_user_id","in_reply_to_screen_name","is_local","external_url","statusnet_html","status-id","icon-reply-active","reply-to","posted","change","prototype","filter","call","o","map","val","_value","checked","isArray","_i","$$a","$$el","$$c","$$v","$$i","concat","slice"],"mappings":"AAAAA,cAAc,EAAE,IAEV,SAASC,EAAQC,EAASC,GAE/B,YA0EA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GC9ExF,GAAAG,GAAAL,EAAA,IDQKM,EAAQL,EAAuBI,GCPpCE,EAAAP,EAAA,KDWKQ,EAAcP,EAAuBM,GCV1CE,EAAAT,EAAA,KDcKU,EAAST,EAAuBQ,GCbrCE,EAAAX,EAAA,KDiBKY,EAAQX,EAAuBU,GChBpCE,EAAAb,EAAA,KDoBKc,EAAoBb,EAAuBY,GCnBhDE,EAAAf,EAAA,KDuBKgB,EAAiCf,EAAuBc,GCtB7DE,EAAAjB,EAAA,KD0BKkB,EAAqBjB,EAAuBgB,GCzBjDE,EAAAnB,EAAA,KD6BKoB,EAAqB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ACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CAEH,SAAShtB,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,G2C97GvBD,EAAAC,SACA,YAEA,gBACA,mBAGA,gBACA,mBAGA,cACA,iBAGA,aACA,gBAGA,cACA,iBAGA,eACA,kBAGA,cACA,kB3Cq8GS,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA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KAAAklB,EAAAQ,KAAAL,EAAA,mBACFgB","file":"static/js/app.6a6016da34598b91ac47.js","sourcesContent":["webpackJsonp([2,0],[\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _vue = __webpack_require__(98);\n\t\n\tvar _vue2 = _interopRequireDefault(_vue);\n\t\n\tvar _vueRouter = __webpack_require__(458);\n\t\n\tvar _vueRouter2 = _interopRequireDefault(_vueRouter);\n\t\n\tvar _vuex = __webpack_require__(461);\n\t\n\tvar _vuex2 = _interopRequireDefault(_vuex);\n\t\n\tvar _App = __webpack_require__(413);\n\t\n\tvar _App2 = _interopRequireDefault(_App);\n\t\n\tvar _public_timeline = __webpack_require__(425);\n\t\n\tvar _public_timeline2 = _interopRequireDefault(_public_timeline);\n\t\n\tvar _public_and_external_timeline = __webpack_require__(424);\n\t\n\tvar _public_and_external_timeline2 = _interopRequireDefault(_public_and_external_timeline);\n\t\n\tvar _friends_timeline = __webpack_require__(418);\n\t\n\tvar _friends_timeline2 = _interopRequireDefault(_friends_timeline);\n\t\n\tvar _conversationPage = __webpack_require__(415);\n\t\n\tvar _conversationPage2 = _interopRequireDefault(_conversationPage);\n\t\n\tvar _mentions = __webpack_require__(421);\n\t\n\tvar _mentions2 = _interopRequireDefault(_mentions);\n\t\n\tvar _user_profile = __webpack_require__(432);\n\t\n\tvar _user_profile2 = _interopRequireDefault(_user_profile);\n\t\n\tvar _settings = __webpack_require__(428);\n\t\n\tvar _settings2 = _interopRequireDefault(_settings);\n\t\n\tvar _registration = __webpack_require__(426);\n\t\n\tvar _registration2 = _interopRequireDefault(_registration);\n\t\n\tvar _statuses = __webpack_require__(100);\n\t\n\tvar _statuses2 = _interopRequireDefault(_statuses);\n\t\n\tvar _users = __webpack_require__(160);\n\t\n\tvar _users2 = _interopRequireDefault(_users);\n\t\n\tvar _api = __webpack_require__(158);\n\t\n\tvar _api2 = _interopRequireDefault(_api);\n\t\n\tvar _config = __webpack_require__(159);\n\t\n\tvar _config2 = _interopRequireDefault(_config);\n\t\n\tvar _vueTimeago = __webpack_require__(460);\n\t\n\tvar _vueTimeago2 = _interopRequireDefault(_vueTimeago);\n\t\n\tvar _persisted_state = __webpack_require__(157);\n\t\n\tvar _persisted_state2 = _interopRequireDefault(_persisted_state);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t_vue2.default.use(_vuex2.default);\n\t_vue2.default.use(_vueRouter2.default);\n\t_vue2.default.use(_vueTimeago2.default, {\n\t locale: 'en-US',\n\t locales: {\n\t 'en-US': __webpack_require__(255)\n\t }\n\t});\n\t\n\tvar persistedStateOptions = {\n\t paths: ['config.hideAttachments', 'config.hideAttachmentsInConv', 'config.hideNsfw', 'config.muteWords', 'statuses.notifications', 'users.users']\n\t};\n\t\n\tvar store = new _vuex2.default.Store({\n\t modules: {\n\t statuses: _statuses2.default,\n\t users: _users2.default,\n\t api: _api2.default,\n\t config: _config2.default\n\t },\n\t plugins: [(0, _persisted_state2.default)(persistedStateOptions)],\n\t strict: (\"production\") !== 'production'\n\t});\n\t\n\tvar routes = [{ name: 'root', path: '/', redirect: '/main/all' }, { path: '/main/all', component: _public_and_external_timeline2.default }, { path: '/main/public', component: _public_timeline2.default }, { path: '/main/friends', component: _friends_timeline2.default }, { name: 'conversation', path: '/notice/:id', component: _conversationPage2.default, meta: { dontScroll: true } }, { name: 'user-profile', path: '/users/:id', component: _user_profile2.default }, { name: 'mentions', path: '/:username/mentions', component: _mentions2.default }, { name: 'settings', path: '/settings', component: _settings2.default }, { name: 'registration', path: '/registration', component: _registration2.default }];\n\t\n\tvar router = new _vueRouter2.default({\n\t mode: 'history',\n\t routes: routes,\n\t scrollBehavior: function scrollBehavior(to, from, savedPosition) {\n\t if (to.matched.some(function (m) {\n\t return m.meta.dontScroll;\n\t })) {\n\t return false;\n\t }\n\t return savedPosition || { x: 0, y: 0 };\n\t }\n\t});\n\t\n\tnew _vue2.default({\n\t router: router,\n\t store: store,\n\t el: '#app',\n\t render: function render(h) {\n\t return h(_App2.default);\n\t }\n\t});\n\t\n\twindow.fetch('/static/config.json').then(function (res) {\n\t return res.json();\n\t}).then(function (_ref) {\n\t var name = _ref.name,\n\t theme = _ref.theme,\n\t background = _ref.background,\n\t logo = _ref.logo;\n\t\n\t store.dispatch('setOption', { name: 'name', value: name });\n\t store.dispatch('setOption', { name: 'theme', value: theme });\n\t store.dispatch('setOption', { name: 'background', value: background });\n\t store.dispatch('setOption', { name: 'logo', value: logo });\n\t});\n\n/***/ },\n/* 1 */,\n/* 2 */,\n/* 3 */,\n/* 4 */,\n/* 5 */,\n/* 6 */,\n/* 7 */,\n/* 8 */,\n/* 9 */,\n/* 10 */,\n/* 11 */,\n/* 12 */,\n/* 13 */,\n/* 14 */,\n/* 15 */,\n/* 16 */,\n/* 17 */,\n/* 18 */,\n/* 19 */,\n/* 20 */,\n/* 21 */,\n/* 22 */,\n/* 23 */,\n/* 24 */,\n/* 25 */,\n/* 26 */,\n/* 27 */,\n/* 28 */,\n/* 29 */,\n/* 30 */,\n/* 31 */,\n/* 32 */,\n/* 33 */,\n/* 34 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _each2 = __webpack_require__(49);\n\t\n\tvar _each3 = _interopRequireDefault(_each2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar LOGIN_URL = '/api/account/verify_credentials.json';\n\tvar FRIENDS_TIMELINE_URL = '/api/statuses/friends_timeline.json';\n\tvar ALL_FOLLOWING_URL = '/api/qvitter/allfollowing';\n\tvar PUBLIC_TIMELINE_URL = '/api/statuses/public_timeline.json';\n\tvar PUBLIC_AND_EXTERNAL_TIMELINE_URL = '/api/statuses/public_and_external_timeline.json';\n\tvar FAVORITE_URL = '/api/favorites/create';\n\tvar UNFAVORITE_URL = '/api/favorites/destroy';\n\tvar RETWEET_URL = '/api/statuses/retweet';\n\tvar STATUS_UPDATE_URL = '/api/statuses/update.json';\n\tvar STATUS_DELETE_URL = '/api/statuses/destroy';\n\tvar STATUS_URL = '/api/statuses/show';\n\tvar MEDIA_UPLOAD_URL = '/api/media/upload.json';\n\tvar CONVERSATION_URL = '/api/statusnet/conversation';\n\tvar MENTIONS_URL = '/api/statuses/mentions.json';\n\tvar FRIENDS_URL = '/api/statuses/friends.json';\n\tvar FOLLOWING_URL = '/api/friendships/create.json';\n\tvar UNFOLLOWING_URL = '/api/friendships/destroy.json';\n\tvar QVITTER_USER_PREF_URL = '/api/qvitter/set_profile_pref.json';\n\tvar REGISTRATION_URL = '/api/account/register.json';\n\t\n\t\n\tvar oldfetch = window.fetch;\n\t\n\tvar fetch = function fetch(url, options) {\n\t var baseUrl = '';\n\t var fullUrl = baseUrl + url;\n\t options.credentials = 'include';\n\t return oldfetch(fullUrl, options);\n\t};\n\t\n\tvar register = function register(params) {\n\t var form = new FormData();\n\t\n\t (0, _each3.default)(params, function (value, key) {\n\t if (value) {\n\t form.append(key, value);\n\t }\n\t });\n\t\n\t return fetch(REGISTRATION_URL, {\n\t method: 'POST',\n\t body: form\n\t });\n\t};\n\t\n\tvar authHeaders = function authHeaders(user) {\n\t if (user && user.username && user.password) {\n\t return { 'Authorization': 'Basic ' + btoa(user.username + ':' + user.password) };\n\t } else {\n\t return {};\n\t }\n\t};\n\t\n\tvar followUser = function followUser(_ref) {\n\t var id = _ref.id,\n\t credentials = _ref.credentials;\n\t\n\t var url = FOLLOWING_URL + '?user_id=' + id;\n\t return fetch(url, {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar unfollowUser = function unfollowUser(_ref2) {\n\t var id = _ref2.id,\n\t credentials = _ref2.credentials;\n\t\n\t var url = UNFOLLOWING_URL + '?user_id=' + id;\n\t return fetch(url, {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar fetchFriends = function fetchFriends(_ref3) {\n\t var credentials = _ref3.credentials;\n\t\n\t return fetch(FRIENDS_URL, { headers: authHeaders(credentials) }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar fetchAllFollowing = function fetchAllFollowing(_ref4) {\n\t var username = _ref4.username,\n\t credentials = _ref4.credentials;\n\t\n\t var url = ALL_FOLLOWING_URL + '/' + username + '.json';\n\t return fetch(url, { headers: authHeaders(credentials) }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar fetchConversation = function fetchConversation(_ref5) {\n\t var id = _ref5.id,\n\t credentials = _ref5.credentials;\n\t\n\t var url = CONVERSATION_URL + '/' + id + '.json?count=100';\n\t return fetch(url, { headers: authHeaders(credentials) }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar fetchStatus = function fetchStatus(_ref6) {\n\t var id = _ref6.id,\n\t credentials = _ref6.credentials;\n\t\n\t var url = STATUS_URL + '/' + id + '.json';\n\t return fetch(url, { headers: authHeaders(credentials) }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar setUserMute = function setUserMute(_ref7) {\n\t var id = _ref7.id,\n\t credentials = _ref7.credentials,\n\t _ref7$muted = _ref7.muted,\n\t muted = _ref7$muted === undefined ? true : _ref7$muted;\n\t\n\t var form = new FormData();\n\t\n\t var muteInteger = muted ? 1 : 0;\n\t\n\t form.append('namespace', 'qvitter');\n\t form.append('data', muteInteger);\n\t form.append('topic', 'mute:' + id);\n\t\n\t return fetch(QVITTER_USER_PREF_URL, {\n\t method: 'POST',\n\t headers: authHeaders(credentials),\n\t body: form\n\t });\n\t};\n\t\n\tvar fetchTimeline = function fetchTimeline(_ref8) {\n\t var timeline = _ref8.timeline,\n\t credentials = _ref8.credentials,\n\t _ref8$since = _ref8.since,\n\t since = _ref8$since === undefined ? false : _ref8$since,\n\t _ref8$until = _ref8.until,\n\t until = _ref8$until === undefined ? false : _ref8$until;\n\t\n\t var timelineUrls = {\n\t public: PUBLIC_TIMELINE_URL,\n\t friends: FRIENDS_TIMELINE_URL,\n\t mentions: MENTIONS_URL,\n\t 'publicAndExternal': PUBLIC_AND_EXTERNAL_TIMELINE_URL\n\t };\n\t\n\t var url = timelineUrls[timeline];\n\t\n\t if (since) {\n\t url += '?since_id=' + since;\n\t }\n\t\n\t if (until) {\n\t url += '?max_id=' + until;\n\t }\n\t\n\t return fetch(url, { headers: authHeaders(credentials) }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar verifyCredentials = function verifyCredentials(user) {\n\t return fetch(LOGIN_URL, {\n\t method: 'POST',\n\t headers: authHeaders(user)\n\t });\n\t};\n\t\n\tvar favorite = function favorite(_ref9) {\n\t var id = _ref9.id,\n\t credentials = _ref9.credentials;\n\t\n\t return fetch(FAVORITE_URL + '/' + id + '.json', {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t });\n\t};\n\t\n\tvar unfavorite = function unfavorite(_ref10) {\n\t var id = _ref10.id,\n\t credentials = _ref10.credentials;\n\t\n\t return fetch(UNFAVORITE_URL + '/' + id + '.json', {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t });\n\t};\n\t\n\tvar retweet = function retweet(_ref11) {\n\t var id = _ref11.id,\n\t credentials = _ref11.credentials;\n\t\n\t return fetch(RETWEET_URL + '/' + id + '.json', {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t });\n\t};\n\t\n\tvar postStatus = function postStatus(_ref12) {\n\t var credentials = _ref12.credentials,\n\t status = _ref12.status,\n\t mediaIds = _ref12.mediaIds,\n\t inReplyToStatusId = _ref12.inReplyToStatusId;\n\t\n\t var idsText = mediaIds.join(',');\n\t var form = new FormData();\n\t\n\t form.append('status', status);\n\t form.append('source', 'Pleroma FE');\n\t form.append('media_ids', idsText);\n\t if (inReplyToStatusId) {\n\t form.append('in_reply_to_status_id', inReplyToStatusId);\n\t }\n\t\n\t return fetch(STATUS_UPDATE_URL, {\n\t body: form,\n\t method: 'POST',\n\t headers: authHeaders(credentials)\n\t });\n\t};\n\t\n\tvar deleteStatus = function deleteStatus(_ref13) {\n\t var id = _ref13.id,\n\t credentials = _ref13.credentials;\n\t\n\t return fetch(STATUS_DELETE_URL + '/' + id + '.json', {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t });\n\t};\n\t\n\tvar uploadMedia = function uploadMedia(_ref14) {\n\t var formData = _ref14.formData,\n\t credentials = _ref14.credentials;\n\t\n\t return fetch(MEDIA_UPLOAD_URL, {\n\t body: formData,\n\t method: 'POST',\n\t headers: authHeaders(credentials)\n\t }).then(function (response) {\n\t return response.text();\n\t }).then(function (text) {\n\t return new DOMParser().parseFromString(text, 'application/xml');\n\t });\n\t};\n\t\n\tvar fetchMutes = function fetchMutes(_ref15) {\n\t var credentials = _ref15.credentials;\n\t\n\t var url = '/api/qvitter/mutes.json';\n\t\n\t return fetch(url, {\n\t headers: authHeaders(credentials)\n\t }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar apiService = {\n\t verifyCredentials: verifyCredentials,\n\t fetchTimeline: fetchTimeline,\n\t fetchConversation: fetchConversation,\n\t fetchStatus: fetchStatus,\n\t fetchFriends: fetchFriends,\n\t followUser: followUser,\n\t unfollowUser: unfollowUser,\n\t favorite: favorite,\n\t unfavorite: unfavorite,\n\t retweet: retweet,\n\t postStatus: postStatus,\n\t deleteStatus: deleteStatus,\n\t uploadMedia: uploadMedia,\n\t fetchAllFollowing: fetchAllFollowing,\n\t setUserMute: setUserMute,\n\t fetchMutes: fetchMutes,\n\t register: register\n\t};\n\t\n\texports.default = apiService;\n\n/***/ },\n/* 35 */,\n/* 36 */,\n/* 37 */,\n/* 38 */,\n/* 39 */,\n/* 40 */,\n/* 41 */,\n/* 42 */,\n/* 43 */,\n/* 44 */,\n/* 45 */,\n/* 46 */,\n/* 47 */,\n/* 48 */,\n/* 49 */,\n/* 50 */,\n/* 51 */,\n/* 52 */,\n/* 53 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(238)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(190),\n\t /* template */\n\t __webpack_require__(435),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 54 */,\n/* 55 */,\n/* 56 */,\n/* 57 */,\n/* 58 */,\n/* 59 */,\n/* 60 */,\n/* 61 */,\n/* 62 */,\n/* 63 */,\n/* 64 */,\n/* 65 */,\n/* 66 */,\n/* 67 */,\n/* 68 */,\n/* 69 */,\n/* 70 */,\n/* 71 */,\n/* 72 */,\n/* 73 */,\n/* 74 */,\n/* 75 */,\n/* 76 */,\n/* 77 */,\n/* 78 */,\n/* 79 */,\n/* 80 */,\n/* 81 */,\n/* 82 */,\n/* 83 */,\n/* 84 */,\n/* 85 */,\n/* 86 */,\n/* 87 */,\n/* 88 */,\n/* 89 */,\n/* 90 */,\n/* 91 */,\n/* 92 */,\n/* 93 */,\n/* 94 */,\n/* 95 */,\n/* 96 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(249)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(187),\n\t /* template */\n\t __webpack_require__(450),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 97 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(237)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(168),\n\t /* template */\n\t __webpack_require__(434),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 98 */,\n/* 99 */,\n/* 100 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.mutations = exports.findMaxId = exports.statusType = exports.prepareStatus = exports.defaultState = undefined;\n\t\n\tvar _set = __webpack_require__(195);\n\t\n\tvar _set2 = _interopRequireDefault(_set);\n\t\n\tvar _isArray2 = __webpack_require__(2);\n\t\n\tvar _isArray3 = _interopRequireDefault(_isArray2);\n\t\n\tvar _max2 = __webpack_require__(390);\n\t\n\tvar _max3 = _interopRequireDefault(_max2);\n\t\n\tvar _merge2 = __webpack_require__(94);\n\t\n\tvar _merge3 = _interopRequireDefault(_merge2);\n\t\n\tvar _last2 = __webpack_require__(153);\n\t\n\tvar _last3 = _interopRequireDefault(_last2);\n\t\n\tvar _maxBy2 = __webpack_require__(391);\n\t\n\tvar _maxBy3 = _interopRequireDefault(_maxBy2);\n\t\n\tvar _flatten2 = __webpack_require__(384);\n\t\n\tvar _flatten3 = _interopRequireDefault(_flatten2);\n\t\n\tvar _find2 = __webpack_require__(88);\n\t\n\tvar _find3 = _interopRequireDefault(_find2);\n\t\n\tvar _each2 = __webpack_require__(49);\n\t\n\tvar _each3 = _interopRequireDefault(_each2);\n\t\n\tvar _toInteger2 = __webpack_require__(24);\n\t\n\tvar _toInteger3 = _interopRequireDefault(_toInteger2);\n\t\n\tvar _sortBy2 = __webpack_require__(95);\n\t\n\tvar _sortBy3 = _interopRequireDefault(_sortBy2);\n\t\n\tvar _slice2 = __webpack_require__(399);\n\t\n\tvar _slice3 = _interopRequireDefault(_slice2);\n\t\n\tvar _remove2 = __webpack_require__(398);\n\t\n\tvar _remove3 = _interopRequireDefault(_remove2);\n\t\n\tvar _apiService = __webpack_require__(34);\n\t\n\tvar _apiService2 = _interopRequireDefault(_apiService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar defaultState = exports.defaultState = {\n\t allStatuses: [],\n\t allStatusesObject: {},\n\t maxId: 0,\n\t notifications: [],\n\t favorites: new _set2.default(),\n\t error: false,\n\t timelines: {\n\t mentions: {\n\t statuses: [],\n\t statusesObject: {},\n\t faves: [],\n\t visibleStatuses: [],\n\t visibleStatusesObject: {},\n\t newStatusCount: 0,\n\t maxId: 0,\n\t minVisibleId: 0,\n\t loading: false\n\t },\n\t public: {\n\t statuses: [],\n\t statusesObject: {},\n\t faves: [],\n\t visibleStatuses: [],\n\t visibleStatusesObject: {},\n\t newStatusCount: 0,\n\t maxId: 0,\n\t minVisibleId: 0,\n\t loading: false\n\t },\n\t publicAndExternal: {\n\t statuses: [],\n\t statusesObject: {},\n\t faves: [],\n\t visibleStatuses: [],\n\t visibleStatusesObject: {},\n\t newStatusCount: 0,\n\t maxId: 0,\n\t minVisibleId: 0,\n\t loading: false\n\t },\n\t friends: {\n\t statuses: [],\n\t statusesObject: {},\n\t faves: [],\n\t visibleStatuses: [],\n\t visibleStatusesObject: {},\n\t newStatusCount: 0,\n\t maxId: 0,\n\t minVisibleId: 0,\n\t loading: false\n\t }\n\t }\n\t};\n\t\n\tvar prepareStatus = exports.prepareStatus = function prepareStatus(status) {\n\t if (status.nsfw === undefined) {\n\t var nsfwRegex = /#nsfw/i;\n\t status.nsfw = !!status.text.match(nsfwRegex);\n\t }\n\t\n\t status.deleted = false;\n\t\n\t status.attachments = status.attachments || [];\n\t\n\t return status;\n\t};\n\t\n\tvar statusType = exports.statusType = function statusType(status) {\n\t if (status.is_post_verb) {\n\t return 'status';\n\t }\n\t\n\t if (status.retweeted_status) {\n\t return 'retweet';\n\t }\n\t\n\t if (typeof status.uri === 'string' && status.uri.match(/(fave|objectType=Favourite)/)) {\n\t return 'favorite';\n\t }\n\t\n\t if (status.text.match(/deleted notice {{tag/)) {\n\t return 'deletion';\n\t }\n\t\n\t return 'unknown';\n\t};\n\t\n\tvar findMaxId = exports.findMaxId = function findMaxId() {\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return ((0, _maxBy3.default)((0, _flatten3.default)(args), 'id') || {}).id;\n\t};\n\t\n\tvar mergeOrAdd = function mergeOrAdd(arr, obj, item) {\n\t var oldItem = obj[item.id];\n\t\n\t if (oldItem) {\n\t (0, _merge3.default)(oldItem, item);\n\t\n\t oldItem.attachments.splice(oldItem.attachments.length);\n\t return { item: oldItem, new: false };\n\t } else {\n\t prepareStatus(item);\n\t arr.push(item);\n\t obj[item.id] = item;\n\t return { item: item, new: true };\n\t }\n\t};\n\t\n\tvar sortTimeline = function sortTimeline(timeline) {\n\t timeline.visibleStatuses = (0, _sortBy3.default)(timeline.visibleStatuses, function (_ref) {\n\t var id = _ref.id;\n\t return -id;\n\t });\n\t timeline.statuses = (0, _sortBy3.default)(timeline.statuses, function (_ref2) {\n\t var id = _ref2.id;\n\t return -id;\n\t });\n\t timeline.minVisibleId = ((0, _last3.default)(timeline.visibleStatuses) || {}).id;\n\t\n\t return timeline;\n\t};\n\t\n\tvar addNewStatuses = function addNewStatuses(state, _ref3) {\n\t var statuses = _ref3.statuses,\n\t _ref3$showImmediately = _ref3.showImmediately,\n\t showImmediately = _ref3$showImmediately === undefined ? false : _ref3$showImmediately,\n\t timeline = _ref3.timeline,\n\t _ref3$user = _ref3.user,\n\t user = _ref3$user === undefined ? {} : _ref3$user,\n\t _ref3$noIdUpdate = _ref3.noIdUpdate,\n\t noIdUpdate = _ref3$noIdUpdate === undefined ? false : _ref3$noIdUpdate;\n\t\n\t if (!(0, _isArray3.default)(statuses)) {\n\t return false;\n\t }\n\t\n\t var allStatuses = state.allStatuses;\n\t var allStatusesObject = state.allStatusesObject;\n\t var timelineObject = state.timelines[timeline];\n\t\n\t var updateMaxId = function updateMaxId(_ref4) {\n\t var id = _ref4.id;\n\t\n\t if (!timeline || noIdUpdate) {\n\t return false;\n\t }\n\t timelineObject.maxId = (0, _max3.default)([id, timelineObject.maxId]);\n\t };\n\t\n\t var addStatus = function addStatus(status, showImmediately) {\n\t var addToTimeline = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\t\n\t var result = mergeOrAdd(allStatuses, allStatusesObject, status);\n\t status = result.item;\n\t\n\t if (result.new) {\n\t updateMaxId(status);\n\t\n\t if (statusType(status) === 'retweet' && status.retweeted_status.user.id === user.id) {\n\t addNotification({ type: 'repeat', status: status.retweeted_status, action: status });\n\t }\n\t\n\t if (statusType(status) === 'status' && (0, _find3.default)(status.attentions, { id: user.id })) {\n\t var mentions = state.timelines.mentions;\n\t\n\t if (timelineObject !== mentions) {\n\t mergeOrAdd(mentions.statuses, mentions.statusesObject, status);\n\t mentions.newStatusCount += 1;\n\t\n\t sortTimeline(mentions);\n\t }\n\t\n\t addNotification({ type: 'mention', status: status, action: status });\n\t }\n\t }\n\t\n\t var resultForCurrentTimeline = void 0;\n\t\n\t if (timeline && addToTimeline) {\n\t resultForCurrentTimeline = mergeOrAdd(timelineObject.statuses, timelineObject.statusesObject, status);\n\t }\n\t\n\t if (timeline && showImmediately) {\n\t mergeOrAdd(timelineObject.visibleStatuses, timelineObject.visibleStatusesObject, status);\n\t } else if (timeline && addToTimeline && resultForCurrentTimeline.new) {\n\t timelineObject.newStatusCount += 1;\n\t }\n\t\n\t return status;\n\t };\n\t\n\t var addNotification = function addNotification(_ref5) {\n\t var type = _ref5.type,\n\t status = _ref5.status,\n\t action = _ref5.action;\n\t\n\t if (!(0, _find3.default)(state.notifications, function (oldNotification) {\n\t return oldNotification.action.id === action.id;\n\t })) {\n\t state.notifications.push({ type: type, status: status, action: action, seen: false });\n\t }\n\t };\n\t\n\t var favoriteStatus = function favoriteStatus(favorite) {\n\t var status = (0, _find3.default)(allStatuses, { id: (0, _toInteger3.default)(favorite.in_reply_to_status_id) });\n\t if (status) {\n\t status.fave_num += 1;\n\t\n\t if (favorite.user.id === user.id) {\n\t status.favorited = true;\n\t }\n\t\n\t if (status.user.id === user.id) {\n\t addNotification({ type: 'favorite', status: status, action: favorite });\n\t }\n\t }\n\t return status;\n\t };\n\t\n\t var processors = {\n\t 'status': function status(_status) {\n\t addStatus(_status, showImmediately);\n\t },\n\t 'retweet': function retweet(status) {\n\t var retweetedStatus = addStatus(status.retweeted_status, false, false);\n\t\n\t var retweet = void 0;\n\t\n\t if (timeline && (0, _find3.default)(timelineObject.statuses, { id: retweetedStatus.id })) {\n\t retweet = addStatus(status, false, false);\n\t } else {\n\t retweet = addStatus(status, showImmediately);\n\t }\n\t\n\t retweet.retweeted_status = retweetedStatus;\n\t },\n\t 'favorite': function favorite(_favorite) {\n\t if (!state.favorites.has(_favorite.id)) {\n\t state.favorites.add(_favorite.id);\n\t updateMaxId(_favorite);\n\t favoriteStatus(_favorite);\n\t }\n\t },\n\t 'deletion': function deletion(_deletion) {\n\t var uri = _deletion.uri;\n\t updateMaxId(_deletion);\n\t\n\t (0, _remove3.default)(allStatuses, { uri: uri });\n\t if (timeline) {\n\t (0, _remove3.default)(timelineObject.statuses, { uri: uri });\n\t (0, _remove3.default)(timelineObject.visibleStatuses, { uri: uri });\n\t }\n\t },\n\t 'default': function _default(unknown) {\n\t console.log('unknown status type');\n\t console.log(unknown);\n\t }\n\t };\n\t\n\t (0, _each3.default)(statuses, function (status) {\n\t var type = statusType(status);\n\t var processor = processors[type] || processors['default'];\n\t processor(status);\n\t });\n\t\n\t if (timeline) {\n\t sortTimeline(timelineObject);\n\t }\n\t};\n\t\n\tvar mutations = exports.mutations = {\n\t addNewStatuses: addNewStatuses,\n\t showNewStatuses: function showNewStatuses(state, _ref6) {\n\t var timeline = _ref6.timeline;\n\t\n\t var oldTimeline = state.timelines[timeline];\n\t\n\t oldTimeline.newStatusCount = 0;\n\t oldTimeline.visibleStatuses = (0, _slice3.default)(oldTimeline.statuses, 0, 50);\n\t oldTimeline.visibleStatusesObject = {};\n\t (0, _each3.default)(oldTimeline.visibleStatuses, function (status) {\n\t oldTimeline.visibleStatusesObject[status.id] = status;\n\t });\n\t },\n\t setFavorited: function setFavorited(state, _ref7) {\n\t var status = _ref7.status,\n\t value = _ref7.value;\n\t\n\t var newStatus = state.allStatusesObject[status.id];\n\t newStatus.favorited = value;\n\t },\n\t setRetweeted: function setRetweeted(state, _ref8) {\n\t var status = _ref8.status,\n\t value = _ref8.value;\n\t\n\t var newStatus = state.allStatusesObject[status.id];\n\t newStatus.repeated = value;\n\t },\n\t setDeleted: function setDeleted(state, _ref9) {\n\t var status = _ref9.status;\n\t\n\t var newStatus = state.allStatusesObject[status.id];\n\t newStatus.deleted = true;\n\t },\n\t setLoading: function setLoading(state, _ref10) {\n\t var timeline = _ref10.timeline,\n\t value = _ref10.value;\n\t\n\t state.timelines[timeline].loading = value;\n\t },\n\t setNsfw: function setNsfw(state, _ref11) {\n\t var id = _ref11.id,\n\t nsfw = _ref11.nsfw;\n\t\n\t var newStatus = state.allStatusesObject[id];\n\t newStatus.nsfw = nsfw;\n\t },\n\t setError: function setError(state, _ref12) {\n\t var value = _ref12.value;\n\t\n\t state.error = value;\n\t },\n\t markNotificationsAsSeen: function markNotificationsAsSeen(state, notifications) {\n\t (0, _each3.default)(notifications, function (notification) {\n\t notification.seen = true;\n\t });\n\t }\n\t};\n\t\n\tvar statuses = {\n\t state: defaultState,\n\t actions: {\n\t addNewStatuses: function addNewStatuses(_ref13, _ref14) {\n\t var rootState = _ref13.rootState,\n\t commit = _ref13.commit;\n\t var statuses = _ref14.statuses,\n\t _ref14$showImmediatel = _ref14.showImmediately,\n\t showImmediately = _ref14$showImmediatel === undefined ? false : _ref14$showImmediatel,\n\t _ref14$timeline = _ref14.timeline,\n\t timeline = _ref14$timeline === undefined ? false : _ref14$timeline,\n\t _ref14$noIdUpdate = _ref14.noIdUpdate,\n\t noIdUpdate = _ref14$noIdUpdate === undefined ? false : _ref14$noIdUpdate;\n\t\n\t commit('addNewStatuses', { statuses: statuses, showImmediately: showImmediately, timeline: timeline, noIdUpdate: noIdUpdate, user: rootState.users.currentUser });\n\t },\n\t setError: function setError(_ref15, _ref16) {\n\t var rootState = _ref15.rootState,\n\t commit = _ref15.commit;\n\t var value = _ref16.value;\n\t\n\t commit('setError', { value: value });\n\t },\n\t deleteStatus: function deleteStatus(_ref17, status) {\n\t var rootState = _ref17.rootState,\n\t commit = _ref17.commit;\n\t\n\t commit('setDeleted', { status: status });\n\t _apiService2.default.deleteStatus({ id: status.id, credentials: rootState.users.currentUser.credentials });\n\t },\n\t favorite: function favorite(_ref18, status) {\n\t var rootState = _ref18.rootState,\n\t commit = _ref18.commit;\n\t\n\t commit('setFavorited', { status: status, value: true });\n\t _apiService2.default.favorite({ id: status.id, credentials: rootState.users.currentUser.credentials });\n\t },\n\t unfavorite: function unfavorite(_ref19, status) {\n\t var rootState = _ref19.rootState,\n\t commit = _ref19.commit;\n\t\n\t commit('setFavorited', { status: status, value: false });\n\t _apiService2.default.unfavorite({ id: status.id, credentials: rootState.users.currentUser.credentials });\n\t },\n\t retweet: function retweet(_ref20, status) {\n\t var rootState = _ref20.rootState,\n\t commit = _ref20.commit;\n\t\n\t commit('setRetweeted', { status: status, value: true });\n\t _apiService2.default.retweet({ id: status.id, credentials: rootState.users.currentUser.credentials });\n\t }\n\t },\n\t mutations: mutations\n\t};\n\t\n\texports.default = statuses;\n\n/***/ },\n/* 101 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _apiService = __webpack_require__(34);\n\t\n\tvar _apiService2 = _interopRequireDefault(_apiService);\n\t\n\tvar _timeline_fetcherService = __webpack_require__(104);\n\t\n\tvar _timeline_fetcherService2 = _interopRequireDefault(_timeline_fetcherService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar backendInteractorService = function backendInteractorService(credentials) {\n\t var fetchStatus = function fetchStatus(_ref) {\n\t var id = _ref.id;\n\t\n\t return _apiService2.default.fetchStatus({ id: id, credentials: credentials });\n\t };\n\t\n\t var fetchConversation = function fetchConversation(_ref2) {\n\t var id = _ref2.id;\n\t\n\t return _apiService2.default.fetchConversation({ id: id, credentials: credentials });\n\t };\n\t\n\t var fetchFriends = function fetchFriends() {\n\t return _apiService2.default.fetchFriends({ credentials: credentials });\n\t };\n\t\n\t var fetchAllFollowing = function fetchAllFollowing(_ref3) {\n\t var username = _ref3.username;\n\t\n\t return _apiService2.default.fetchAllFollowing({ username: username, credentials: credentials });\n\t };\n\t\n\t var followUser = function followUser(id) {\n\t return _apiService2.default.followUser({ credentials: credentials, id: id });\n\t };\n\t\n\t var unfollowUser = function unfollowUser(id) {\n\t return _apiService2.default.unfollowUser({ credentials: credentials, id: id });\n\t };\n\t\n\t var startFetching = function startFetching(_ref4) {\n\t var timeline = _ref4.timeline,\n\t store = _ref4.store;\n\t\n\t return _timeline_fetcherService2.default.startFetching({ timeline: timeline, store: store, credentials: credentials });\n\t };\n\t\n\t var setUserMute = function setUserMute(_ref5) {\n\t var id = _ref5.id,\n\t _ref5$muted = _ref5.muted,\n\t muted = _ref5$muted === undefined ? true : _ref5$muted;\n\t\n\t return _apiService2.default.setUserMute({ id: id, muted: muted, credentials: credentials });\n\t };\n\t\n\t var fetchMutes = function fetchMutes() {\n\t return _apiService2.default.fetchMutes({ credentials: credentials });\n\t };\n\t\n\t var register = function register(params) {\n\t return _apiService2.default.register(params);\n\t };\n\t\n\t var backendInteractorServiceInstance = {\n\t fetchStatus: fetchStatus,\n\t fetchConversation: fetchConversation,\n\t fetchFriends: fetchFriends,\n\t followUser: followUser,\n\t unfollowUser: unfollowUser,\n\t fetchAllFollowing: fetchAllFollowing,\n\t verifyCredentials: _apiService2.default.verifyCredentials,\n\t startFetching: startFetching,\n\t setUserMute: setUserMute,\n\t fetchMutes: fetchMutes,\n\t register: register\n\t };\n\t\n\t return backendInteractorServiceInstance;\n\t};\n\t\n\texports.default = backendInteractorService;\n\n/***/ },\n/* 102 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar fileType = function fileType(typeString) {\n\t var type = 'unknown';\n\t\n\t if (typeString.match(/text\\/html/)) {\n\t type = 'html';\n\t }\n\t\n\t if (typeString.match(/image/)) {\n\t type = 'image';\n\t }\n\t\n\t if (typeString.match(/video\\/(webm|mp4)/)) {\n\t type = 'video';\n\t }\n\t\n\t if (typeString.match(/audio|ogg/)) {\n\t type = 'audio';\n\t }\n\t\n\t return type;\n\t};\n\t\n\tvar fileTypeService = {\n\t fileType: fileType\n\t};\n\t\n\texports.default = fileTypeService;\n\n/***/ },\n/* 103 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _map2 = __webpack_require__(93);\n\t\n\tvar _map3 = _interopRequireDefault(_map2);\n\t\n\tvar _apiService = __webpack_require__(34);\n\t\n\tvar _apiService2 = _interopRequireDefault(_apiService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar postStatus = function postStatus(_ref) {\n\t var store = _ref.store,\n\t status = _ref.status,\n\t _ref$media = _ref.media,\n\t media = _ref$media === undefined ? [] : _ref$media,\n\t _ref$inReplyToStatusI = _ref.inReplyToStatusId,\n\t inReplyToStatusId = _ref$inReplyToStatusI === undefined ? undefined : _ref$inReplyToStatusI;\n\t\n\t var mediaIds = (0, _map3.default)(media, 'id');\n\t\n\t return _apiService2.default.postStatus({ credentials: store.state.users.currentUser.credentials, status: status, mediaIds: mediaIds, inReplyToStatusId: inReplyToStatusId }).then(function (data) {\n\t return data.json();\n\t }).then(function (data) {\n\t store.dispatch('addNewStatuses', {\n\t statuses: [data],\n\t timeline: 'friends',\n\t showImmediately: true,\n\t noIdUpdate: true });\n\t });\n\t};\n\t\n\tvar uploadMedia = function uploadMedia(_ref2) {\n\t var store = _ref2.store,\n\t formData = _ref2.formData;\n\t\n\t var credentials = store.state.users.currentUser.credentials;\n\t\n\t return _apiService2.default.uploadMedia({ credentials: credentials, formData: formData }).then(function (xml) {\n\t var link = xml.getElementsByTagName('link');\n\t\n\t if (link.length === 0) {\n\t link = xml.getElementsByTagName('atom:link');\n\t }\n\t\n\t link = link[0];\n\t\n\t var mediaData = {\n\t id: xml.getElementsByTagName('media_id')[0].textContent,\n\t url: xml.getElementsByTagName('media_url')[0].textContent,\n\t image: link.getAttribute('href'),\n\t mimetype: link.getAttribute('type')\n\t };\n\t\n\t return mediaData;\n\t });\n\t};\n\t\n\tvar statusPosterService = {\n\t postStatus: postStatus,\n\t uploadMedia: uploadMedia\n\t};\n\t\n\texports.default = statusPosterService;\n\n/***/ },\n/* 104 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _camelCase2 = __webpack_require__(377);\n\t\n\tvar _camelCase3 = _interopRequireDefault(_camelCase2);\n\t\n\tvar _apiService = __webpack_require__(34);\n\t\n\tvar _apiService2 = _interopRequireDefault(_apiService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar update = function update(_ref) {\n\t var store = _ref.store,\n\t statuses = _ref.statuses,\n\t timeline = _ref.timeline,\n\t showImmediately = _ref.showImmediately;\n\t\n\t var ccTimeline = (0, _camelCase3.default)(timeline);\n\t\n\t store.dispatch('setError', { value: false });\n\t\n\t store.dispatch('addNewStatuses', {\n\t timeline: ccTimeline,\n\t statuses: statuses,\n\t showImmediately: showImmediately\n\t });\n\t};\n\t\n\tvar fetchAndUpdate = function fetchAndUpdate(_ref2) {\n\t var store = _ref2.store,\n\t credentials = _ref2.credentials,\n\t _ref2$timeline = _ref2.timeline,\n\t timeline = _ref2$timeline === undefined ? 'friends' : _ref2$timeline,\n\t _ref2$older = _ref2.older,\n\t older = _ref2$older === undefined ? false : _ref2$older,\n\t _ref2$showImmediately = _ref2.showImmediately,\n\t showImmediately = _ref2$showImmediately === undefined ? false : _ref2$showImmediately;\n\t\n\t var args = { timeline: timeline, credentials: credentials };\n\t var rootState = store.rootState || store.state;\n\t var timelineData = rootState.statuses.timelines[(0, _camelCase3.default)(timeline)];\n\t\n\t if (older) {\n\t args['until'] = timelineData.minVisibleId;\n\t } else {\n\t args['since'] = timelineData.maxId;\n\t }\n\t\n\t return _apiService2.default.fetchTimeline(args).then(function (statuses) {\n\t return update({ store: store, statuses: statuses, timeline: timeline, showImmediately: showImmediately });\n\t }, function () {\n\t return store.dispatch('setError', { value: true });\n\t });\n\t};\n\t\n\tvar startFetching = function startFetching(_ref3) {\n\t var _ref3$timeline = _ref3.timeline,\n\t timeline = _ref3$timeline === undefined ? 'friends' : _ref3$timeline,\n\t credentials = _ref3.credentials,\n\t store = _ref3.store;\n\t\n\t fetchAndUpdate({ timeline: timeline, credentials: credentials, store: store, showImmediately: true });\n\t var boundFetchAndUpdate = function boundFetchAndUpdate() {\n\t return fetchAndUpdate({ timeline: timeline, credentials: credentials, store: store });\n\t };\n\t return setInterval(boundFetchAndUpdate, 10000);\n\t};\n\tvar timelineFetcher = {\n\t fetchAndUpdate: fetchAndUpdate,\n\t startFetching: startFetching\n\t};\n\t\n\texports.default = timelineFetcher;\n\n/***/ },\n/* 105 */,\n/* 106 */,\n/* 107 */,\n/* 108 */,\n/* 109 */,\n/* 110 */,\n/* 111 */,\n/* 112 */,\n/* 113 */,\n/* 114 */,\n/* 115 */,\n/* 116 */,\n/* 117 */,\n/* 118 */,\n/* 119 */,\n/* 120 */,\n/* 121 */,\n/* 122 */,\n/* 123 */,\n/* 124 */,\n/* 125 */,\n/* 126 */,\n/* 127 */,\n/* 128 */,\n/* 129 */,\n/* 130 */,\n/* 131 */,\n/* 132 */,\n/* 133 */,\n/* 134 */,\n/* 135 */,\n/* 136 */,\n/* 137 */,\n/* 138 */,\n/* 139 */,\n/* 140 */,\n/* 141 */,\n/* 142 */,\n/* 143 */,\n/* 144 */,\n/* 145 */,\n/* 146 */,\n/* 147 */,\n/* 148 */,\n/* 149 */,\n/* 150 */,\n/* 151 */,\n/* 152 */,\n/* 153 */,\n/* 154 */,\n/* 155 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(240)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(172),\n\t /* template */\n\t __webpack_require__(437),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 156 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(239)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(181),\n\t /* template */\n\t __webpack_require__(436),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 157 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _typeof2 = __webpack_require__(199);\n\t\n\tvar _typeof3 = _interopRequireDefault(_typeof2);\n\t\n\tvar _each2 = __webpack_require__(49);\n\t\n\tvar _each3 = _interopRequireDefault(_each2);\n\t\n\tvar _throttle2 = __webpack_require__(403);\n\t\n\tvar _throttle3 = _interopRequireDefault(_throttle2);\n\t\n\texports.default = createPersistedState;\n\t\n\tvar _lodash = __webpack_require__(268);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _objectPath = __webpack_require__(411);\n\t\n\tvar _objectPath2 = _interopRequireDefault(_objectPath);\n\t\n\tvar _localforage = __webpack_require__(256);\n\t\n\tvar _localforage2 = _interopRequireDefault(_localforage);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar loaded = false;\n\t\n\tvar defaultReducer = function defaultReducer(state, paths) {\n\t return paths.length === 0 ? state : paths.reduce(function (substate, path) {\n\t _objectPath2.default.set(substate, path, _objectPath2.default.get(state, path));\n\t return substate;\n\t }, {});\n\t};\n\t\n\tvar defaultStorage = function () {\n\t return _localforage2.default;\n\t}();\n\t\n\tvar defaultSetState = function defaultSetState(key, state, storage) {\n\t if (!loaded) {\n\t console.log('waiting for old state to be loaded...');\n\t } else {\n\t return storage.setItem(key, state);\n\t }\n\t};\n\t\n\tfunction createPersistedState() {\n\t var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n\t _ref$key = _ref.key,\n\t key = _ref$key === undefined ? 'vuex-lz' : _ref$key,\n\t _ref$paths = _ref.paths,\n\t paths = _ref$paths === undefined ? [] : _ref$paths,\n\t _ref$getState = _ref.getState,\n\t getState = _ref$getState === undefined ? function (key, storage) {\n\t var value = storage.getItem(key);\n\t return value;\n\t } : _ref$getState,\n\t _ref$setState = _ref.setState,\n\t setState = _ref$setState === undefined ? (0, _throttle3.default)(defaultSetState, 60000) : _ref$setState,\n\t _ref$reducer = _ref.reducer,\n\t reducer = _ref$reducer === undefined ? defaultReducer : _ref$reducer,\n\t _ref$storage = _ref.storage,\n\t storage = _ref$storage === undefined ? defaultStorage : _ref$storage,\n\t _ref$subscriber = _ref.subscriber,\n\t subscriber = _ref$subscriber === undefined ? function (store) {\n\t return function (handler) {\n\t return store.subscribe(handler);\n\t };\n\t } : _ref$subscriber;\n\t\n\t return function (store) {\n\t getState(key, storage).then(function (savedState) {\n\t try {\n\t if ((typeof savedState === 'undefined' ? 'undefined' : (0, _typeof3.default)(savedState)) === 'object') {\n\t var usersState = savedState.users || {};\n\t usersState.usersObject = {};\n\t var users = usersState.users || [];\n\t (0, _each3.default)(users, function (user) {\n\t usersState.usersObject[user.id] = user;\n\t });\n\t savedState.users = usersState;\n\t\n\t store.replaceState((0, _lodash2.default)({}, store.state, savedState));\n\t }\n\t loaded = true;\n\t } catch (e) {\n\t console.log(\"Couldn't load state\");\n\t loaded = true;\n\t }\n\t });\n\t\n\t subscriber(store)(function (mutation, state) {\n\t try {\n\t setState(key, reducer(state, paths), storage);\n\t } catch (e) {\n\t console.log(\"Couldn't persist state:\");\n\t console.log(e);\n\t }\n\t });\n\t };\n\t}\n\n/***/ },\n/* 158 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _backend_interactor_service = __webpack_require__(101);\n\t\n\tvar _backend_interactor_service2 = _interopRequireDefault(_backend_interactor_service);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar api = {\n\t state: {\n\t backendInteractor: (0, _backend_interactor_service2.default)(),\n\t fetchers: {}\n\t },\n\t mutations: {\n\t setBackendInteractor: function setBackendInteractor(state, backendInteractor) {\n\t state.backendInteractor = backendInteractor;\n\t },\n\t addFetcher: function addFetcher(state, _ref) {\n\t var timeline = _ref.timeline,\n\t fetcher = _ref.fetcher;\n\t\n\t state.fetchers[timeline] = fetcher;\n\t },\n\t removeFetcher: function removeFetcher(state, _ref2) {\n\t var timeline = _ref2.timeline;\n\t\n\t delete state.fetchers[timeline];\n\t }\n\t },\n\t actions: {\n\t startFetching: function startFetching(store, timeline) {\n\t if (!store.state.fetchers[timeline]) {\n\t var fetcher = store.state.backendInteractor.startFetching({ timeline: timeline, store: store });\n\t store.commit('addFetcher', { timeline: timeline, fetcher: fetcher });\n\t }\n\t },\n\t stopFetching: function stopFetching(store, timeline) {\n\t var fetcher = store.state.fetchers[timeline];\n\t window.clearInterval(fetcher);\n\t store.commit('removeFetcher', { timeline: timeline });\n\t }\n\t }\n\t};\n\t\n\texports.default = api;\n\n/***/ },\n/* 159 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _vue = __webpack_require__(98);\n\t\n\tvar _style_setter = __webpack_require__(161);\n\t\n\tvar _style_setter2 = _interopRequireDefault(_style_setter);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar defaultState = {\n\t name: 'Pleroma FE',\n\t colors: {},\n\t hideAttachments: false,\n\t hideAttachmentsInConv: false,\n\t hideNsfw: true,\n\t muteWords: []\n\t};\n\t\n\tvar config = {\n\t state: defaultState,\n\t mutations: {\n\t setOption: function setOption(state, _ref) {\n\t var name = _ref.name,\n\t value = _ref.value;\n\t\n\t (0, _vue.set)(state, name, value);\n\t }\n\t },\n\t actions: {\n\t setPageTitle: function setPageTitle(_ref2) {\n\t var state = _ref2.state;\n\t var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\t\n\t document.title = option + ' ' + state.name;\n\t },\n\t setOption: function setOption(_ref3, _ref4) {\n\t var commit = _ref3.commit,\n\t dispatch = _ref3.dispatch;\n\t var name = _ref4.name,\n\t value = _ref4.value;\n\t\n\t commit('setOption', { name: name, value: value });\n\t switch (name) {\n\t case 'name':\n\t dispatch('setPageTitle');\n\t break;\n\t case 'theme':\n\t var fullPath = '/static/css/' + value;\n\t _style_setter2.default.setStyle(fullPath, commit);\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = config;\n\n/***/ },\n/* 160 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.defaultState = exports.mutations = exports.mergeOrAdd = undefined;\n\t\n\tvar _promise = __webpack_require__(194);\n\t\n\tvar _promise2 = _interopRequireDefault(_promise);\n\t\n\tvar _merge2 = __webpack_require__(94);\n\t\n\tvar _merge3 = _interopRequireDefault(_merge2);\n\t\n\tvar _each2 = __webpack_require__(49);\n\t\n\tvar _each3 = _interopRequireDefault(_each2);\n\t\n\tvar _map2 = __webpack_require__(93);\n\t\n\tvar _map3 = _interopRequireDefault(_map2);\n\t\n\tvar _compact2 = __webpack_require__(379);\n\t\n\tvar _compact3 = _interopRequireDefault(_compact2);\n\t\n\tvar _backend_interactor_service = __webpack_require__(101);\n\t\n\tvar _backend_interactor_service2 = _interopRequireDefault(_backend_interactor_service);\n\t\n\tvar _vue = __webpack_require__(98);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar mergeOrAdd = exports.mergeOrAdd = function mergeOrAdd(arr, obj, item) {\n\t if (!item) {\n\t return false;\n\t }\n\t var oldItem = obj[item.id];\n\t if (oldItem) {\n\t (0, _merge3.default)(oldItem, item);\n\t return { item: oldItem, new: false };\n\t } else {\n\t arr.push(item);\n\t obj[item.id] = item;\n\t return { item: item, new: true };\n\t }\n\t};\n\t\n\tvar mutations = exports.mutations = {\n\t setMuted: function setMuted(state, _ref) {\n\t var id = _ref.user.id,\n\t muted = _ref.muted;\n\t\n\t var user = state.usersObject[id];\n\t (0, _vue.set)(user, 'muted', muted);\n\t },\n\t setCurrentUser: function setCurrentUser(state, user) {\n\t state.currentUser = user;\n\t },\n\t beginLogin: function beginLogin(state) {\n\t state.loggingIn = true;\n\t },\n\t endLogin: function endLogin(state) {\n\t state.loggingIn = false;\n\t },\n\t addNewUsers: function addNewUsers(state, users) {\n\t (0, _each3.default)(users, function (user) {\n\t return mergeOrAdd(state.users, state.usersObject, user);\n\t });\n\t },\n\t setUserForStatus: function setUserForStatus(state, status) {\n\t status.user = state.usersObject[status.user.id];\n\t }\n\t};\n\t\n\tvar defaultState = exports.defaultState = {\n\t currentUser: false,\n\t loggingIn: false,\n\t users: [],\n\t usersObject: {}\n\t};\n\t\n\tvar users = {\n\t state: defaultState,\n\t mutations: mutations,\n\t actions: {\n\t addNewStatuses: function addNewStatuses(store, _ref2) {\n\t var statuses = _ref2.statuses;\n\t\n\t var users = (0, _map3.default)(statuses, 'user');\n\t var retweetedUsers = (0, _compact3.default)((0, _map3.default)(statuses, 'retweeted_status.user'));\n\t store.commit('addNewUsers', users);\n\t store.commit('addNewUsers', retweetedUsers);\n\t\n\t (0, _each3.default)(statuses, function (status) {\n\t store.commit('setUserForStatus', status);\n\t });\n\t\n\t (0, _each3.default)((0, _compact3.default)((0, _map3.default)(statuses, 'retweeted_status')), function (status) {\n\t store.commit('setUserForStatus', status);\n\t });\n\t },\n\t loginUser: function loginUser(store, userCredentials) {\n\t return new _promise2.default(function (resolve, reject) {\n\t var commit = store.commit;\n\t commit('beginLogin');\n\t store.rootState.api.backendInteractor.verifyCredentials(userCredentials).then(function (response) {\n\t if (response.ok) {\n\t response.json().then(function (user) {\n\t user.credentials = userCredentials;\n\t commit('setCurrentUser', user);\n\t commit('addNewUsers', [user]);\n\t\n\t commit('setBackendInteractor', (0, _backend_interactor_service2.default)(userCredentials));\n\t\n\t store.dispatch('startFetching', 'friends');\n\t\n\t store.rootState.api.backendInteractor.fetchMutes().then(function (mutedUsers) {\n\t (0, _each3.default)(mutedUsers, function (user) {\n\t user.muted = true;\n\t });\n\t store.commit('addNewUsers', mutedUsers);\n\t });\n\t\n\t store.rootState.api.backendInteractor.fetchFriends().then(function (friends) {\n\t return commit('addNewUsers', friends);\n\t });\n\t });\n\t } else {\n\t commit('endLogin');\n\t if (response.status === 401) {\n\t reject('Wrong username or password');\n\t } else {\n\t reject('An error occurred, please try again');\n\t }\n\t }\n\t commit('endLogin');\n\t resolve();\n\t }).catch(function (error) {\n\t console.log(error);\n\t commit('endLogin');\n\t reject('Failed to connect to server, try again');\n\t });\n\t });\n\t }\n\t }\n\t};\n\t\n\texports.default = users;\n\n/***/ },\n/* 161 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _times2 = __webpack_require__(404);\n\t\n\tvar _times3 = _interopRequireDefault(_times2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar setStyle = function setStyle(href, commit) {\n\t var head = document.head;\n\t var body = document.body;\n\t body.style.display = 'none';\n\t var cssEl = document.createElement('link');\n\t cssEl.setAttribute('rel', 'stylesheet');\n\t cssEl.setAttribute('href', href);\n\t head.appendChild(cssEl);\n\t\n\t var setDynamic = function setDynamic() {\n\t var baseEl = document.createElement('div');\n\t body.appendChild(baseEl);\n\t\n\t var colors = {};\n\t (0, _times3.default)(16, function (n) {\n\t var name = 'base0' + n.toString(16).toUpperCase();\n\t baseEl.setAttribute('class', name);\n\t var color = window.getComputedStyle(baseEl).getPropertyValue('color');\n\t colors[name] = color;\n\t });\n\t\n\t commit('setOption', { name: 'colors', value: colors });\n\t\n\t body.removeChild(baseEl);\n\t\n\t var styleEl = document.createElement('style');\n\t head.appendChild(styleEl);\n\t var styleSheet = styleEl.sheet;\n\t\n\t styleSheet.insertRule('a { color: ' + colors['base08'], 'index-max');\n\t styleSheet.insertRule('body { color: ' + colors['base05'], 'index-max');\n\t styleSheet.insertRule('.base05-border { border-color: ' + colors['base05'], 'index-max');\n\t styleSheet.insertRule('.base03-border { border-color: ' + colors['base03'], 'index-max');\n\t body.style.display = 'initial';\n\t };\n\t cssEl.addEventListener('load', setDynamic);\n\t};\n\t\n\tvar StyleSetter = {\n\t setStyle: setStyle\n\t};\n\t\n\texports.default = StyleSetter;\n\n/***/ },\n/* 162 */,\n/* 163 */,\n/* 164 */,\n/* 165 */,\n/* 166 */,\n/* 167 */,\n/* 168 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = {\n\t props: ['user'],\n\t computed: {\n\t headingStyle: function headingStyle() {\n\t var rgb = this.$store.state.config.colors['base00'].match(/\\d+/g);\n\t return {\n\t backgroundColor: 'rgb(' + Math.floor(rgb[0] * 0.53) + ', ' + Math.floor(rgb[1] * 0.56) + ', ' + Math.floor(rgb[2] * 0.59) + ')',\n\t backgroundImage: 'url(' + this.user.cover_photo + ')'\n\t };\n\t },\n\t bodyStyle: function bodyStyle() {\n\t return {\n\t background: 'linear-gradient(to bottom, rgba(0, 0, 0, 0), ' + this.$store.state.config.colors['base00'] + ' 80%)'\n\t };\n\t },\n\t isOtherUser: function isOtherUser() {\n\t return this.user !== this.$store.state.users.currentUser;\n\t },\n\t loggedIn: function loggedIn() {\n\t return this.$store.state.users.currentUser;\n\t },\n\t dailyAvg: function dailyAvg() {\n\t var days = Math.ceil((new Date() - new Date(this.user.created_at)) / (60 * 60 * 24 * 1000));\n\t return Math.round(this.user.statuses_count / days);\n\t }\n\t },\n\t methods: {\n\t followUser: function followUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.followUser(this.user.id).then(function (followedUser) {\n\t return store.commit('addNewUsers', [followedUser]);\n\t });\n\t },\n\t unfollowUser: function unfollowUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.unfollowUser(this.user.id).then(function (unfollowedUser) {\n\t return store.commit('addNewUsers', [unfollowedUser]);\n\t });\n\t },\n\t toggleMute: function toggleMute() {\n\t var store = this.$store;\n\t store.commit('setMuted', { user: this.user, muted: !this.user.muted });\n\t store.state.api.backendInteractor.setUserMute(this.user);\n\t }\n\t }\n\t};\n\n/***/ },\n/* 169 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _user_panel = __webpack_require__(431);\n\t\n\tvar _user_panel2 = _interopRequireDefault(_user_panel);\n\t\n\tvar _nav_panel = __webpack_require__(422);\n\t\n\tvar _nav_panel2 = _interopRequireDefault(_nav_panel);\n\t\n\tvar _notifications = __webpack_require__(423);\n\t\n\tvar _notifications2 = _interopRequireDefault(_notifications);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t name: 'app',\n\t components: {\n\t UserPanel: _user_panel2.default,\n\t NavPanel: _nav_panel2.default,\n\t Notifications: _notifications2.default\n\t },\n\t data: function data() {\n\t return {\n\t mobileActivePanel: 'timeline'\n\t };\n\t },\n\t computed: {\n\t currentUser: function currentUser() {\n\t return this.$store.state.users.currentUser;\n\t },\n\t background: function background() {\n\t return this.currentUser.background_image || this.$store.state.config.background;\n\t },\n\t logoStyle: function logoStyle() {\n\t return { 'background-image': 'url(' + this.$store.state.config.logo + ')' };\n\t },\n\t style: function style() {\n\t return { 'background-image': 'url(' + this.background + ')' };\n\t },\n\t sitename: function sitename() {\n\t return this.$store.state.config.name;\n\t }\n\t },\n\t methods: {\n\t activatePanel: function activatePanel(panelName) {\n\t this.mobileActivePanel = panelName;\n\t },\n\t scrollToTop: function scrollToTop() {\n\t window.scrollTo(0, 0);\n\t }\n\t }\n\t};\n\n/***/ },\n/* 170 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _nsfw = __webpack_require__(412);\n\t\n\tvar _nsfw2 = _interopRequireDefault(_nsfw);\n\t\n\tvar _file_typeService = __webpack_require__(102);\n\t\n\tvar _file_typeService2 = _interopRequireDefault(_file_typeService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Attachment = {\n\t props: ['attachment', 'nsfw', 'statusId'],\n\t data: function data() {\n\t return {\n\t nsfwImage: _nsfw2.default,\n\t hideNsfwLocal: this.$store.state.config.hideNsfw,\n\t showHidden: false,\n\t loading: false,\n\t img: document.createElement('img')\n\t };\n\t },\n\t\n\t computed: {\n\t type: function type() {\n\t return _file_typeService2.default.fileType(this.attachment.mimetype);\n\t },\n\t hidden: function hidden() {\n\t return this.nsfw && this.hideNsfwLocal && !this.showHidden;\n\t },\n\t autoHeight: function autoHeight() {\n\t if (this.type === 'image' && this.nsfw) {\n\t return {\n\t 'min-height': '109px'\n\t };\n\t }\n\t }\n\t },\n\t methods: {\n\t linkClicked: function linkClicked(_ref) {\n\t var target = _ref.target;\n\t\n\t if (target.tagName === 'A') {\n\t window.open(target.href, '_blank');\n\t }\n\t },\n\t toggleHidden: function toggleHidden() {\n\t var _this = this;\n\t\n\t if (this.img.onload) {\n\t this.img.onload();\n\t } else {\n\t this.loading = true;\n\t this.img.src = this.attachment.url;\n\t this.img.onload = function () {\n\t _this.loading = false;\n\t _this.showHidden = !_this.showHidden;\n\t };\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = Attachment;\n\n/***/ },\n/* 171 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _toInteger2 = __webpack_require__(24);\n\t\n\tvar _toInteger3 = _interopRequireDefault(_toInteger2);\n\t\n\tvar _find2 = __webpack_require__(88);\n\t\n\tvar _find3 = _interopRequireDefault(_find2);\n\t\n\tvar _conversation = __webpack_require__(155);\n\t\n\tvar _conversation2 = _interopRequireDefault(_conversation);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar conversationPage = {\n\t components: {\n\t Conversation: _conversation2.default\n\t },\n\t computed: {\n\t statusoid: function statusoid() {\n\t var id = (0, _toInteger3.default)(this.$route.params.id);\n\t var statuses = this.$store.state.statuses.allStatuses;\n\t var status = (0, _find3.default)(statuses, { id: id });\n\t\n\t return status;\n\t }\n\t }\n\t};\n\t\n\texports.default = conversationPage;\n\n/***/ },\n/* 172 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _sortBy2 = __webpack_require__(95);\n\t\n\tvar _sortBy3 = _interopRequireDefault(_sortBy2);\n\t\n\tvar _filter2 = __webpack_require__(50);\n\t\n\tvar _filter3 = _interopRequireDefault(_filter2);\n\t\n\tvar _statuses = __webpack_require__(100);\n\t\n\tvar _status = __webpack_require__(96);\n\t\n\tvar _status2 = _interopRequireDefault(_status);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar sortAndFilterConversation = function sortAndFilterConversation(conversation) {\n\t conversation = (0, _filter3.default)(conversation, function (status) {\n\t return (0, _statuses.statusType)(status) !== 'retweet';\n\t });\n\t return (0, _sortBy3.default)(conversation, 'id');\n\t};\n\t\n\tvar conversation = {\n\t data: function data() {\n\t return {\n\t highlight: null\n\t };\n\t },\n\t\n\t props: ['statusoid', 'collapsable'],\n\t computed: {\n\t status: function status() {\n\t return this.statusoid;\n\t },\n\t conversation: function conversation() {\n\t if (!this.status) {\n\t return false;\n\t }\n\t\n\t var conversationId = this.status.statusnet_conversation_id;\n\t var statuses = this.$store.state.statuses.allStatuses;\n\t var conversation = (0, _filter3.default)(statuses, { statusnet_conversation_id: conversationId });\n\t\n\t return sortAndFilterConversation(conversation);\n\t }\n\t },\n\t components: {\n\t Status: _status2.default\n\t },\n\t created: function created() {\n\t this.fetchConversation();\n\t },\n\t\n\t watch: {\n\t '$route': 'fetchConversation'\n\t },\n\t methods: {\n\t fetchConversation: function fetchConversation() {\n\t var _this = this;\n\t\n\t if (this.status) {\n\t var conversationId = this.status.statusnet_conversation_id;\n\t this.$store.state.api.backendInteractor.fetchConversation({ id: conversationId }).then(function (statuses) {\n\t return _this.$store.dispatch('addNewStatuses', { statuses: statuses });\n\t });\n\t } else {\n\t var id = this.$route.params.id;\n\t this.$store.state.api.backendInteractor.fetchStatus({ id: id }).then(function (status) {\n\t return _this.$store.dispatch('addNewStatuses', { statuses: [status] });\n\t }).then(function () {\n\t return _this.fetchConversation();\n\t });\n\t }\n\t },\n\t\n\t focused: function focused(id) {\n\t if (this.statusoid.retweeted_status) {\n\t return id === this.statusoid.retweeted_status.id;\n\t } else {\n\t return id === this.statusoid.id;\n\t }\n\t },\n\t setHighlight: function setHighlight(id) {\n\t this.highlight = Number(id);\n\t }\n\t }\n\t};\n\t\n\texports.default = conversation;\n\n/***/ },\n/* 173 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar DeleteButton = {\n\t props: ['status'],\n\t methods: {\n\t deleteStatus: function deleteStatus() {\n\t var confirmed = window.confirm('Do you really want to delete this status?');\n\t if (confirmed) {\n\t this.$store.dispatch('deleteStatus', { id: this.status.id });\n\t }\n\t }\n\t },\n\t computed: {\n\t currentUser: function currentUser() {\n\t return this.$store.state.users.currentUser;\n\t },\n\t canDelete: function canDelete() {\n\t return this.currentUser.rights.delete_others_notice || this.status.user.id === this.currentUser.id;\n\t }\n\t }\n\t};\n\t\n\texports.default = DeleteButton;\n\n/***/ },\n/* 174 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar FavoriteButton = {\n\t props: ['status'],\n\t data: function data() {\n\t return {\n\t animated: false\n\t };\n\t },\n\t\n\t methods: {\n\t favorite: function favorite() {\n\t var _this = this;\n\t\n\t if (!this.status.favorited) {\n\t this.$store.dispatch('favorite', { id: this.status.id });\n\t } else {\n\t this.$store.dispatch('unfavorite', { id: this.status.id });\n\t }\n\t this.animated = true;\n\t setTimeout(function () {\n\t _this.animated = false;\n\t }, 500);\n\t }\n\t },\n\t computed: {\n\t classes: function classes() {\n\t return {\n\t 'icon-star-empty': !this.status.favorited,\n\t 'icon-star': this.status.favorited,\n\t 'animate-spin': this.animated\n\t };\n\t }\n\t }\n\t};\n\t\n\texports.default = FavoriteButton;\n\n/***/ },\n/* 175 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _timeline = __webpack_require__(53);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar FriendsTimeline = {\n\t components: {\n\t Timeline: _timeline2.default\n\t },\n\t computed: {\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.friends;\n\t }\n\t }\n\t};\n\t\n\texports.default = FriendsTimeline;\n\n/***/ },\n/* 176 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar LoginForm = {\n\t data: function data() {\n\t return {\n\t user: {},\n\t authError: false\n\t };\n\t },\n\t computed: {\n\t loggingIn: function loggingIn() {\n\t return this.$store.state.users.loggingIn;\n\t }\n\t },\n\t methods: {\n\t submit: function submit() {\n\t var _this = this;\n\t\n\t this.$store.dispatch('loginUser', this.user).then(function () {}, function (error) {\n\t _this.authError = error;\n\t _this.user.username = '';\n\t _this.user.password = '';\n\t });\n\t }\n\t }\n\t};\n\t\n\texports.default = LoginForm;\n\n/***/ },\n/* 177 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _status_posterService = __webpack_require__(103);\n\t\n\tvar _status_posterService2 = _interopRequireDefault(_status_posterService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar mediaUpload = {\n\t mounted: function mounted() {\n\t var _this = this;\n\t\n\t var input = this.$el.querySelector('input');\n\t\n\t input.addEventListener('change', function (_ref) {\n\t var target = _ref.target;\n\t\n\t var file = target.files[0];\n\t _this.uploadFile(file);\n\t });\n\t },\n\t data: function data() {\n\t return {\n\t uploading: false\n\t };\n\t },\n\t\n\t methods: {\n\t uploadFile: function uploadFile(file) {\n\t var self = this;\n\t var store = this.$store;\n\t var formData = new FormData();\n\t formData.append('media', file);\n\t\n\t self.$emit('uploading');\n\t self.uploading = true;\n\t\n\t _status_posterService2.default.uploadMedia({ store: store, formData: formData }).then(function (fileData) {\n\t self.$emit('uploaded', fileData);\n\t self.uploading = false;\n\t }, function (error) {\n\t self.$emit('upload-failed');\n\t self.uploading = false;\n\t });\n\t },\n\t fileDrop: function fileDrop(e) {\n\t if (e.dataTransfer.files.length > 0) {\n\t e.preventDefault();\n\t this.uploadFile(e.dataTransfer.files[0]);\n\t }\n\t },\n\t fileDrag: function fileDrag(e) {\n\t var types = e.dataTransfer.types;\n\t if (types.contains('Files')) {\n\t e.dataTransfer.dropEffect = 'copy';\n\t } else {\n\t e.dataTransfer.dropEffect = 'none';\n\t }\n\t }\n\t },\n\t props: ['dropFiles'],\n\t watch: {\n\t 'dropFiles': function dropFiles(fileInfos) {\n\t if (!this.uploading) {\n\t this.uploadFile(fileInfos[0]);\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = mediaUpload;\n\n/***/ },\n/* 178 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _timeline = __webpack_require__(53);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Mentions = {\n\t computed: {\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.mentions;\n\t }\n\t },\n\t components: {\n\t Timeline: _timeline2.default\n\t }\n\t};\n\t\n\texports.default = Mentions;\n\n/***/ },\n/* 179 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar NavPanel = {\n\t computed: {\n\t currentUser: function currentUser() {\n\t return this.$store.state.users.currentUser;\n\t }\n\t }\n\t};\n\t\n\texports.default = NavPanel;\n\n/***/ },\n/* 180 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _filter2 = __webpack_require__(50);\n\t\n\tvar _filter3 = _interopRequireDefault(_filter2);\n\t\n\tvar _take2 = __webpack_require__(402);\n\t\n\tvar _take3 = _interopRequireDefault(_take2);\n\t\n\tvar _sortBy2 = __webpack_require__(95);\n\t\n\tvar _sortBy3 = _interopRequireDefault(_sortBy2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Notifications = {\n\t data: function data() {\n\t return {\n\t visibleNotificationCount: 10\n\t };\n\t },\n\t\n\t computed: {\n\t notifications: function notifications() {\n\t return this.$store.state.statuses.notifications;\n\t },\n\t unseenNotifications: function unseenNotifications() {\n\t return (0, _filter3.default)(this.notifications, function (_ref) {\n\t var seen = _ref.seen;\n\t return !seen;\n\t });\n\t },\n\t visibleNotifications: function visibleNotifications() {\n\t var sortedNotifications = (0, _sortBy3.default)(this.notifications, function (_ref2) {\n\t var action = _ref2.action;\n\t return -action.id;\n\t });\n\t sortedNotifications = (0, _sortBy3.default)(sortedNotifications, 'seen');\n\t return (0, _take3.default)(sortedNotifications, this.visibleNotificationCount);\n\t },\n\t unseenCount: function unseenCount() {\n\t return this.unseenNotifications.length;\n\t }\n\t },\n\t watch: {\n\t unseenCount: function unseenCount(count) {\n\t if (count > 0) {\n\t this.$store.dispatch('setPageTitle', '(' + count + ')');\n\t } else {\n\t this.$store.dispatch('setPageTitle', '');\n\t }\n\t }\n\t },\n\t methods: {\n\t markAsSeen: function markAsSeen() {\n\t this.$store.commit('markNotificationsAsSeen', this.visibleNotifications);\n\t }\n\t }\n\t};\n\t\n\texports.default = Notifications;\n\n/***/ },\n/* 181 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _toConsumableArray2 = __webpack_require__(198);\n\t\n\tvar _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);\n\t\n\tvar _uniqBy2 = __webpack_require__(408);\n\t\n\tvar _uniqBy3 = _interopRequireDefault(_uniqBy2);\n\t\n\tvar _map2 = __webpack_require__(93);\n\t\n\tvar _map3 = _interopRequireDefault(_map2);\n\t\n\tvar _reject2 = __webpack_require__(397);\n\t\n\tvar _reject3 = _interopRequireDefault(_reject2);\n\t\n\tvar _merge2 = __webpack_require__(94);\n\t\n\tvar _merge3 = _interopRequireDefault(_merge2);\n\t\n\tvar _status_posterService = __webpack_require__(103);\n\t\n\tvar _status_posterService2 = _interopRequireDefault(_status_posterService);\n\t\n\tvar _media_upload = __webpack_require__(420);\n\t\n\tvar _media_upload2 = _interopRequireDefault(_media_upload);\n\t\n\tvar _file_typeService = __webpack_require__(102);\n\t\n\tvar _file_typeService2 = _interopRequireDefault(_file_typeService);\n\t\n\tvar _Tribute = __webpack_require__(162);\n\t\n\tvar _Tribute2 = _interopRequireDefault(_Tribute);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t__webpack_require__(235);\n\t\n\tvar buildMentionsString = function buildMentionsString(_ref, currentUser) {\n\t var user = _ref.user,\n\t attentions = _ref.attentions;\n\t\n\t var allAttentions = [].concat((0, _toConsumableArray3.default)(attentions));\n\t\n\t allAttentions.unshift(user);\n\t\n\t allAttentions = (0, _uniqBy3.default)(allAttentions, 'id');\n\t allAttentions = (0, _reject3.default)(allAttentions, { id: currentUser.id });\n\t\n\t var mentions = (0, _map3.default)(allAttentions, function (attention) {\n\t return '@' + attention.screen_name;\n\t });\n\t\n\t return mentions.join(' ') + ' ';\n\t};\n\t\n\tvar defaultCollection = {\n\t trigger: '@',\n\t\n\t iframe: null,\n\t\n\t selectClass: 'highlight',\n\t\n\t selectTemplate: function selectTemplate(item) {\n\t return '@' + item.original.screen_name;\n\t },\n\t\n\t menuItemTemplate: function menuItemTemplate(item) {\n\t return '
' + item.string + '
';\n\t },\n\t\n\t noMatchTemplate: null,\n\t\n\t menuContainer: document.body,\n\t\n\t lookup: function lookup(_ref2) {\n\t var name = _ref2.name,\n\t screen_name = _ref2.screen_name;\n\t return name + ' (@' + screen_name + ')';\n\t },\n\t fillAttr: 'screen_name',\n\t\n\t values: [],\n\t\n\t requireLeadingSpace: true,\n\t\n\t allowSpaces: false\n\t};\n\t\n\tvar tribute = new _Tribute2.default({ collection: [] });\n\t\n\tvar PostStatusForm = {\n\t props: ['replyTo', 'repliedUser', 'attentions'],\n\t components: {\n\t MediaUpload: _media_upload2.default\n\t },\n\t data: function data() {\n\t var statusText = '';\n\t\n\t if (this.replyTo) {\n\t var currentUser = this.$store.state.users.currentUser;\n\t statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser);\n\t }\n\t\n\t return {\n\t dropFiles: [],\n\t submitDisabled: false,\n\t newStatus: {\n\t status: statusText,\n\t files: []\n\t }\n\t };\n\t },\n\t\n\t computed: {\n\t users: function users() {\n\t return this.$store.state.users.users;\n\t },\n\t completions: function completions() {\n\t var users = this.users;\n\t users = (0, _merge3.default)({ values: users }, defaultCollection);\n\t return [users];\n\t }\n\t },\n\t watch: {\n\t completions: function completions() {\n\t tribute.collection = this.completions;\n\t }\n\t },\n\t mounted: function mounted() {\n\t var textarea = this.$el.querySelector('textarea');\n\t tribute.collection = this.completions;\n\t tribute.attach(textarea);\n\t },\n\t\n\t methods: {\n\t postStatus: function postStatus(newStatus) {\n\t _status_posterService2.default.postStatus({\n\t status: newStatus.status,\n\t media: newStatus.files,\n\t store: this.$store,\n\t inReplyToStatusId: this.replyTo\n\t });\n\t this.newStatus = {\n\t status: '',\n\t files: []\n\t };\n\t this.$emit('posted');\n\t },\n\t addMediaFile: function addMediaFile(fileInfo) {\n\t this.newStatus.files.push(fileInfo);\n\t this.enableSubmit();\n\t },\n\t removeMediaFile: function removeMediaFile(fileInfo) {\n\t var index = this.newStatus.files.indexOf(fileInfo);\n\t this.newStatus.files.splice(index, 1);\n\t },\n\t disableSubmit: function disableSubmit() {\n\t this.submitDisabled = true;\n\t },\n\t enableSubmit: function enableSubmit() {\n\t this.submitDisabled = false;\n\t },\n\t type: function type(fileInfo) {\n\t return _file_typeService2.default.fileType(fileInfo.mimetype);\n\t },\n\t fileDrop: function fileDrop(e) {\n\t if (e.dataTransfer.files.length > 0) {\n\t e.preventDefault();\n\t this.dropFiles = e.dataTransfer.files;\n\t }\n\t },\n\t fileDrag: function fileDrag(e) {\n\t e.dataTransfer.dropEffect = 'copy';\n\t }\n\t }\n\t};\n\t\n\texports.default = PostStatusForm;\n\n/***/ },\n/* 182 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _timeline = __webpack_require__(53);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar PublicAndExternalTimeline = {\n\t components: {\n\t Timeline: _timeline2.default\n\t },\n\t computed: {\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.publicAndExternal;\n\t }\n\t },\n\t created: function created() {\n\t this.$store.dispatch('startFetching', 'publicAndExternal');\n\t },\n\t destroyed: function destroyed() {\n\t this.$store.dispatch('stopFetching', 'publicAndExternal');\n\t }\n\t};\n\t\n\texports.default = PublicAndExternalTimeline;\n\n/***/ },\n/* 183 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _timeline = __webpack_require__(53);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar PublicTimeline = {\n\t components: {\n\t Timeline: _timeline2.default\n\t },\n\t computed: {\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.public;\n\t }\n\t },\n\t created: function created() {\n\t this.$store.dispatch('startFetching', 'public');\n\t },\n\t destroyed: function destroyed() {\n\t this.$store.dispatch('stopFetching', 'public');\n\t }\n\t};\n\t\n\texports.default = PublicTimeline;\n\n/***/ },\n/* 184 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar registration = {\n\t data: function data() {\n\t return {\n\t user: {},\n\t error: false,\n\t registering: false\n\t };\n\t },\n\t methods: {\n\t submit: function submit() {\n\t var _this = this;\n\t\n\t this.registering = true;\n\t this.user.nickname = this.user.username;\n\t this.$store.state.api.backendInteractor.register(this.user).then(function (response) {\n\t if (response.ok) {\n\t _this.$store.dispatch('loginUser', _this.user);\n\t _this.$router.push('/main/all');\n\t _this.registering = false;\n\t } else {\n\t _this.registering = false;\n\t response.json().then(function (data) {\n\t _this.error = data.error;\n\t });\n\t }\n\t });\n\t }\n\t }\n\t};\n\t\n\texports.default = registration;\n\n/***/ },\n/* 185 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar RetweetButton = {\n\t props: ['status'],\n\t data: function data() {\n\t return {\n\t animated: false\n\t };\n\t },\n\t\n\t methods: {\n\t retweet: function retweet() {\n\t var _this = this;\n\t\n\t if (!this.status.repeated) {\n\t this.$store.dispatch('retweet', { id: this.status.id });\n\t }\n\t this.animated = true;\n\t setTimeout(function () {\n\t _this.animated = false;\n\t }, 500);\n\t }\n\t },\n\t computed: {\n\t classes: function classes() {\n\t return {\n\t 'retweeted': this.status.repeated,\n\t 'animate-spin': this.animated\n\t };\n\t }\n\t }\n\t};\n\t\n\texports.default = RetweetButton;\n\n/***/ },\n/* 186 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _trim2 = __webpack_require__(407);\n\t\n\tvar _trim3 = _interopRequireDefault(_trim2);\n\t\n\tvar _filter2 = __webpack_require__(50);\n\t\n\tvar _filter3 = _interopRequireDefault(_filter2);\n\t\n\tvar _style_switcher = __webpack_require__(430);\n\t\n\tvar _style_switcher2 = _interopRequireDefault(_style_switcher);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar settings = {\n\t data: function data() {\n\t return {\n\t hideAttachmentsLocal: this.$store.state.config.hideAttachments,\n\t hideAttachmentsInConvLocal: this.$store.state.config.hideAttachmentsInConv,\n\t hideNsfwLocal: this.$store.state.config.hideNsfw,\n\t muteWordsString: this.$store.state.config.muteWords.join('\\n')\n\t };\n\t },\n\t\n\t components: {\n\t StyleSwitcher: _style_switcher2.default\n\t },\n\t watch: {\n\t hideAttachmentsLocal: function hideAttachmentsLocal(value) {\n\t this.$store.dispatch('setOption', { name: 'hideAttachments', value: value });\n\t },\n\t hideAttachmentsInConvLocal: function hideAttachmentsInConvLocal(value) {\n\t this.$store.dispatch('setOption', { name: 'hideAttachmentsInConv', value: value });\n\t },\n\t hideNsfwLocal: function hideNsfwLocal(value) {\n\t this.$store.dispatch('setOption', { name: 'hideNsfw', value: value });\n\t },\n\t muteWordsString: function muteWordsString(value) {\n\t value = (0, _filter3.default)(value.split('\\n'), function (word) {\n\t return (0, _trim3.default)(word).length > 0;\n\t });\n\t this.$store.dispatch('setOption', { name: 'muteWords', value: value });\n\t }\n\t }\n\t};\n\t\n\texports.default = settings;\n\n/***/ },\n/* 187 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _filter2 = __webpack_require__(50);\n\t\n\tvar _filter3 = _interopRequireDefault(_filter2);\n\t\n\tvar _attachment = __webpack_require__(414);\n\t\n\tvar _attachment2 = _interopRequireDefault(_attachment);\n\t\n\tvar _favorite_button = __webpack_require__(417);\n\t\n\tvar _favorite_button2 = _interopRequireDefault(_favorite_button);\n\t\n\tvar _retweet_button = __webpack_require__(427);\n\t\n\tvar _retweet_button2 = _interopRequireDefault(_retweet_button);\n\t\n\tvar _delete_button = __webpack_require__(416);\n\t\n\tvar _delete_button2 = _interopRequireDefault(_delete_button);\n\t\n\tvar _post_status_form = __webpack_require__(156);\n\t\n\tvar _post_status_form2 = _interopRequireDefault(_post_status_form);\n\t\n\tvar _user_card_content = __webpack_require__(97);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Status = {\n\t props: ['statusoid', 'expandable', 'inConversation', 'focused', 'highlight'],\n\t data: function data() {\n\t return {\n\t replying: false,\n\t expanded: false,\n\t unmuted: false,\n\t userExpanded: false\n\t };\n\t },\n\t computed: {\n\t muteWords: function muteWords() {\n\t return this.$store.state.config.muteWords;\n\t },\n\t hideAttachments: function hideAttachments() {\n\t return this.$store.state.config.hideAttachments && !this.inConversation || this.$store.state.config.hideAttachmentsInConv && this.inConversation;\n\t },\n\t retweet: function retweet() {\n\t return !!this.statusoid.retweeted_status;\n\t },\n\t retweeter: function retweeter() {\n\t return this.statusoid.user.name;\n\t },\n\t status: function status() {\n\t if (this.retweet) {\n\t return this.statusoid.retweeted_status;\n\t } else {\n\t return this.statusoid;\n\t }\n\t },\n\t loggedIn: function loggedIn() {\n\t return !!this.$store.state.users.currentUser;\n\t },\n\t muteWordHits: function muteWordHits() {\n\t var statusText = this.status.text.toLowerCase();\n\t var hits = (0, _filter3.default)(this.muteWords, function (muteWord) {\n\t return statusText.includes(muteWord.toLowerCase());\n\t });\n\t\n\t return hits;\n\t },\n\t muted: function muted() {\n\t return !this.unmuted && (this.status.user.muted || this.muteWordHits.length > 0);\n\t },\n\t isReply: function isReply() {\n\t return !!this.status.in_reply_to_status_id;\n\t },\n\t borderColor: function borderColor() {\n\t return {\n\t borderBottomColor: this.$store.state.config.colors['base02']\n\t };\n\t },\n\t isFocused: function isFocused() {\n\t if (this.focused) {\n\t return true;\n\t } else if (!this.inConversation) {\n\t return false;\n\t }\n\t\n\t return this.status.id === this.highlight;\n\t }\n\t },\n\t components: {\n\t Attachment: _attachment2.default,\n\t FavoriteButton: _favorite_button2.default,\n\t RetweetButton: _retweet_button2.default,\n\t DeleteButton: _delete_button2.default,\n\t PostStatusForm: _post_status_form2.default,\n\t UserCardContent: _user_card_content2.default\n\t },\n\t methods: {\n\t linkClicked: function linkClicked(_ref) {\n\t var target = _ref.target;\n\t\n\t if (target.tagName === 'SPAN') {\n\t target = target.parentNode;\n\t }\n\t if (target.tagName === 'A') {\n\t window.open(target.href, '_blank');\n\t }\n\t },\n\t toggleReplying: function toggleReplying() {\n\t this.replying = !this.replying;\n\t },\n\t gotoOriginal: function gotoOriginal() {\n\t this.$emit('goto', this.status.in_reply_to_status_id);\n\t },\n\t toggleExpanded: function toggleExpanded() {\n\t this.$emit('toggleExpanded');\n\t },\n\t toggleMute: function toggleMute() {\n\t this.unmuted = !this.unmuted;\n\t },\n\t toggleUserExpanded: function toggleUserExpanded() {\n\t this.userExpanded = !this.userExpanded;\n\t }\n\t },\n\t watch: {\n\t 'highlight': function highlight(id) {\n\t id = Number(id);\n\t if (this.status.id === id) {\n\t var rect = this.$el.getBoundingClientRect();\n\t if (rect.top < 100) {\n\t window.scrollBy(0, rect.top - 200);\n\t } else if (rect.bottom > window.innerHeight - 100) {\n\t window.scrollBy(0, rect.bottom + 200);\n\t }\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = Status;\n\n/***/ },\n/* 188 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _status = __webpack_require__(96);\n\t\n\tvar _status2 = _interopRequireDefault(_status);\n\t\n\tvar _conversation = __webpack_require__(155);\n\t\n\tvar _conversation2 = _interopRequireDefault(_conversation);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar statusOrConversation = {\n\t props: ['statusoid'],\n\t data: function data() {\n\t return {\n\t expanded: false\n\t };\n\t },\n\t\n\t components: {\n\t Status: _status2.default,\n\t Conversation: _conversation2.default\n\t },\n\t methods: {\n\t toggleExpanded: function toggleExpanded() {\n\t this.expanded = !this.expanded;\n\t }\n\t }\n\t};\n\t\n\texports.default = statusOrConversation;\n\n/***/ },\n/* 189 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = {\n\t data: function data() {\n\t return {\n\t availableStyles: [],\n\t selected: this.$store.state.config.theme\n\t };\n\t },\n\t created: function created() {\n\t var self = this;\n\t window.fetch('/static/css/themes.json').then(function (data) {\n\t return data.json();\n\t }).then(function (themes) {\n\t self.availableStyles = themes;\n\t });\n\t },\n\t\n\t watch: {\n\t selected: function selected() {\n\t this.$store.dispatch('setOption', { name: 'theme', value: this.selected });\n\t }\n\t }\n\t};\n\n/***/ },\n/* 190 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _status = __webpack_require__(96);\n\t\n\tvar _status2 = _interopRequireDefault(_status);\n\t\n\tvar _timeline_fetcherService = __webpack_require__(104);\n\t\n\tvar _timeline_fetcherService2 = _interopRequireDefault(_timeline_fetcherService);\n\t\n\tvar _status_or_conversation = __webpack_require__(429);\n\t\n\tvar _status_or_conversation2 = _interopRequireDefault(_status_or_conversation);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Timeline = {\n\t props: ['timeline', 'timelineName', 'title'],\n\t computed: {\n\t timelineError: function timelineError() {\n\t return this.$store.state.statuses.error;\n\t }\n\t },\n\t components: {\n\t Status: _status2.default,\n\t StatusOrConversation: _status_or_conversation2.default\n\t },\n\t created: function created() {\n\t var store = this.$store;\n\t var credentials = store.state.users.currentUser.credentials;\n\t var showImmediately = this.timeline.visibleStatuses.length === 0;\n\t\n\t _timeline_fetcherService2.default.fetchAndUpdate({\n\t store: store,\n\t credentials: credentials,\n\t timeline: this.timelineName,\n\t showImmediately: showImmediately\n\t });\n\t },\n\t\n\t methods: {\n\t showNewStatuses: function showNewStatuses() {\n\t this.$store.commit('showNewStatuses', { timeline: this.timelineName });\n\t },\n\t fetchOlderStatuses: function fetchOlderStatuses() {\n\t var _this = this;\n\t\n\t var store = this.$store;\n\t var credentials = store.state.users.currentUser.credentials;\n\t store.commit('setLoading', { timeline: this.timelineName, value: true });\n\t _timeline_fetcherService2.default.fetchAndUpdate({\n\t store: store,\n\t credentials: credentials,\n\t timeline: this.timelineName,\n\t older: true,\n\t showImmediately: true\n\t }).then(function () {\n\t return store.commit('setLoading', { timeline: _this.timelineName, value: false });\n\t });\n\t }\n\t }\n\t};\n\t\n\texports.default = Timeline;\n\n/***/ },\n/* 191 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _login_form = __webpack_require__(419);\n\t\n\tvar _login_form2 = _interopRequireDefault(_login_form);\n\t\n\tvar _post_status_form = __webpack_require__(156);\n\t\n\tvar _post_status_form2 = _interopRequireDefault(_post_status_form);\n\t\n\tvar _user_card_content = __webpack_require__(97);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserPanel = {\n\t computed: {\n\t user: function user() {\n\t return this.$store.state.users.currentUser;\n\t }\n\t },\n\t components: {\n\t LoginForm: _login_form2.default,\n\t PostStatusForm: _post_status_form2.default,\n\t UserCardContent: _user_card_content2.default\n\t }\n\t};\n\t\n\texports.default = UserPanel;\n\n/***/ },\n/* 192 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _find2 = __webpack_require__(88);\n\t\n\tvar _find3 = _interopRequireDefault(_find2);\n\t\n\tvar _user_card_content = __webpack_require__(97);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserProfile = {\n\t computed: {\n\t user: function user() {\n\t var id = this.$route.params.id;\n\t var user = (0, _find3.default)(this.$store.state.users.users, { id: id });\n\t return user;\n\t }\n\t },\n\t components: {\n\t UserCardContent: _user_card_content2.default\n\t }\n\t};\n\t\n\texports.default = UserProfile;\n\n/***/ },\n/* 193 */,\n/* 194 */,\n/* 195 */,\n/* 196 */,\n/* 197 */,\n/* 198 */,\n/* 199 */,\n/* 200 */,\n/* 201 */,\n/* 202 */,\n/* 203 */,\n/* 204 */,\n/* 205 */,\n/* 206 */,\n/* 207 */,\n/* 208 */,\n/* 209 */,\n/* 210 */,\n/* 211 */,\n/* 212 */,\n/* 213 */,\n/* 214 */,\n/* 215 */,\n/* 216 */,\n/* 217 */,\n/* 218 */,\n/* 219 */,\n/* 220 */,\n/* 221 */,\n/* 222 */,\n/* 223 */,\n/* 224 */,\n/* 225 */,\n/* 226 */,\n/* 227 */,\n/* 228 */,\n/* 229 */,\n/* 230 */,\n/* 231 */,\n/* 232 */,\n/* 233 */,\n/* 234 */,\n/* 235 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 236 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 237 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 238 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 239 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 240 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 241 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 242 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 243 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 244 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 245 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 246 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 247 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 248 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 249 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 250 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 251 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 252 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 253 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 254 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 255 */\n/***/ function(module, exports) {\n\n\tmodule.exports = [\n\t\t\"just now\",\n\t\t[\n\t\t\t\"%s second ago\",\n\t\t\t\"%s seconds ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s minute ago\",\n\t\t\t\"%s minutes ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s hour ago\",\n\t\t\t\"%s hours ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s day ago\",\n\t\t\t\"%s days ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s week ago\",\n\t\t\t\"%s weeks ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s month ago\",\n\t\t\t\"%s months ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s year ago\",\n\t\t\t\"%s years ago\"\n\t\t]\n\t];\n\n/***/ },\n/* 256 */,\n/* 257 */,\n/* 258 */,\n/* 259 */,\n/* 260 */,\n/* 261 */,\n/* 262 */,\n/* 263 */,\n/* 264 */,\n/* 265 */,\n/* 266 */,\n/* 267 */,\n/* 268 */,\n/* 269 */,\n/* 270 */,\n/* 271 */,\n/* 272 */,\n/* 273 */,\n/* 274 */,\n/* 275 */,\n/* 276 */,\n/* 277 */,\n/* 278 */,\n/* 279 */,\n/* 280 */,\n/* 281 */,\n/* 282 */,\n/* 283 */,\n/* 284 */,\n/* 285 */,\n/* 286 */,\n/* 287 */,\n/* 288 */,\n/* 289 */,\n/* 290 */,\n/* 291 */,\n/* 292 */,\n/* 293 */,\n/* 294 */,\n/* 295 */,\n/* 296 */,\n/* 297 */,\n/* 298 */,\n/* 299 */,\n/* 300 */,\n/* 301 */,\n/* 302 */,\n/* 303 */,\n/* 304 */,\n/* 305 */,\n/* 306 */,\n/* 307 */,\n/* 308 */,\n/* 309 */,\n/* 310 */,\n/* 311 */,\n/* 312 */,\n/* 313 */,\n/* 314 */,\n/* 315 */,\n/* 316 */,\n/* 317 */,\n/* 318 */,\n/* 319 */,\n/* 320 */,\n/* 321 */,\n/* 322 */,\n/* 323 */,\n/* 324 */,\n/* 325 */,\n/* 326 */,\n/* 327 */,\n/* 328 */,\n/* 329 */,\n/* 330 */,\n/* 331 */,\n/* 332 */,\n/* 333 */,\n/* 334 */,\n/* 335 */,\n/* 336 */,\n/* 337 */,\n/* 338 */,\n/* 339 */,\n/* 340 */,\n/* 341 */,\n/* 342 */,\n/* 343 */,\n/* 344 */,\n/* 345 */,\n/* 346 */,\n/* 347 */,\n/* 348 */,\n/* 349 */,\n/* 350 */,\n/* 351 */,\n/* 352 */,\n/* 353 */,\n/* 354 */,\n/* 355 */,\n/* 356 */,\n/* 357 */,\n/* 358 */,\n/* 359 */,\n/* 360 */,\n/* 361 */,\n/* 362 */,\n/* 363 */,\n/* 364 */,\n/* 365 */,\n/* 366 */,\n/* 367 */,\n/* 368 */,\n/* 369 */,\n/* 370 */,\n/* 371 */,\n/* 372 */,\n/* 373 */,\n/* 374 */,\n/* 375 */,\n/* 376 */,\n/* 377 */,\n/* 378 */,\n/* 379 */,\n/* 380 */,\n/* 381 */,\n/* 382 */,\n/* 383 */,\n/* 384 */,\n/* 385 */,\n/* 386 */,\n/* 387 */,\n/* 388 */,\n/* 389 */,\n/* 390 */,\n/* 391 */,\n/* 392 */,\n/* 393 */,\n/* 394 */,\n/* 395 */,\n/* 396 */,\n/* 397 */,\n/* 398 */,\n/* 399 */,\n/* 400 */,\n/* 401 */,\n/* 402 */,\n/* 403 */,\n/* 404 */,\n/* 405 */,\n/* 406 */,\n/* 407 */,\n/* 408 */,\n/* 409 */,\n/* 410 */,\n/* 411 */,\n/* 412 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__.p + \"static/img/nsfw.9399fe3.png\";\n\n/***/ },\n/* 413 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(247)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(169),\n\t /* template */\n\t __webpack_require__(446),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 414 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(246)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(170),\n\t /* template */\n\t __webpack_require__(445),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 415 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(171),\n\t /* template */\n\t __webpack_require__(449),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 416 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(250)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(173),\n\t /* template */\n\t __webpack_require__(452),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 417 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(252)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(174),\n\t /* template */\n\t __webpack_require__(454),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 418 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(175),\n\t /* template */\n\t __webpack_require__(451),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 419 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(243)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(176),\n\t /* template */\n\t __webpack_require__(442),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 420 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(248)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(177),\n\t /* template */\n\t __webpack_require__(447),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 421 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(178),\n\t /* template */\n\t __webpack_require__(439),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 422 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(254)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(179),\n\t /* template */\n\t __webpack_require__(456),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 423 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(236)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(180),\n\t /* template */\n\t __webpack_require__(433),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 424 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(182),\n\t /* template */\n\t __webpack_require__(440),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 425 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(183),\n\t /* template */\n\t __webpack_require__(448),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 426 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(244)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(184),\n\t /* template */\n\t __webpack_require__(443),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 427 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(241)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(185),\n\t /* template */\n\t __webpack_require__(438),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 428 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(253)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(186),\n\t /* template */\n\t __webpack_require__(455),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 429 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(242)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(188),\n\t /* template */\n\t __webpack_require__(441),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 430 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(251)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(189),\n\t /* template */\n\t __webpack_require__(453),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 431 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(191),\n\t /* template */\n\t __webpack_require__(457),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 432 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(245)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(192),\n\t /* template */\n\t __webpack_require__(444),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 433 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"notifications\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default base00-background\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading base01-background base04\"\n\t }, [(_vm.unseenCount) ? _c('span', {\n\t staticClass: \"unseen-count\"\n\t }, [_vm._v(_vm._s(_vm.unseenCount))]) : _vm._e(), _vm._v(\"\\n Notifications\\n \"), _c('button', {\n\t staticClass: \"base06 base02-background read-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.markAsSeen($event)\n\t }\n\t }\n\t }, [_vm._v(\"Read!\")])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body base03-border\"\n\t }, _vm._l((_vm.visibleNotifications), function(notification) {\n\t return _c('div', {\n\t staticClass: \"notification\",\n\t class: {\n\t \"unseen\": !notification.seen\n\t }\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": notification.action.user.statusnet_profile_url\n\t }\n\t }, [_c('img', {\n\t staticClass: \"avatar\",\n\t attrs: {\n\t \"src\": notification.action.user.profile_image_url_original\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"text\"\n\t }, [_c('timeago', {\n\t attrs: {\n\t \"since\": notification.action.created_at,\n\t \"auto-update\": 240\n\t }\n\t }), _vm._v(\" \"), (notification.type === 'favorite') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n\t staticClass: \"fa icon-star\"\n\t }), _vm._v(\" favorited your \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: notification.status.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"status\")])], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e(), _vm._v(\" \"), (notification.type === 'repeat') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n\t staticClass: \"fa icon-retweet\"\n\t }), _vm._v(\" repeated your \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: notification.status.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"status\")])], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e(), _vm._v(\" \"), (notification.type === 'mention') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n\t staticClass: \"fa icon-reply\"\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: notification.status.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"mentioned\")]), _vm._v(\" you\")], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e()], 1)])\n\t }))])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 434 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"profile-panel-background\",\n\t style: (_vm.headingStyle),\n\t attrs: {\n\t \"id\": \"heading\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"panel-heading text-center\"\n\t }, [_c('div', {\n\t staticClass: \"user-info\"\n\t }, [_c('div', {\n\t staticClass: \"container\"\n\t }, [_c('img', {\n\t attrs: {\n\t \"src\": _vm.user.profile_image_url\n\t }\n\t }), _vm._v(\" \"), _c('span', {\n\t staticClass: \"glyphicon glyphicon-user\"\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-name\"\n\t }, [_vm._v(_vm._s(_vm.user.name))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-screen-name\"\n\t }, [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))])]), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n\t staticClass: \"user-interactions\"\n\t }, [(_vm.user.follows_you && _vm.loggedIn) ? _c('div', {\n\t staticClass: \"following base06\"\n\t }, [_vm._v(\"\\n Follows you!\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', {\n\t staticClass: \"follow\"\n\t }, [(_vm.user.following) ? _c('span', [_c('button', {\n\t staticClass: \"base04 base00-background pressed\",\n\t on: {\n\t \"click\": _vm.unfollowUser\n\t }\n\t }, [_vm._v(\"\\n Following!\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.following) ? _c('span', [_c('button', {\n\t staticClass: \"base05 base02-background\",\n\t on: {\n\t \"click\": _vm.followUser\n\t }\n\t }, [_vm._v(\"\\n Follow\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n\t staticClass: \"mute\"\n\t }, [(_vm.user.muted) ? _c('span', [_c('button', {\n\t staticClass: \"base04 base00-background pressed\",\n\t on: {\n\t \"click\": _vm.toggleMute\n\t }\n\t }, [_vm._v(\"Muted\")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.muted) ? _c('span', [_c('button', {\n\t staticClass: \"base05 base02-background\",\n\t on: {\n\t \"click\": _vm.toggleMute\n\t }\n\t }, [_vm._v(\"Mute\")])]) : _vm._e()]) : _vm._e()]) : _vm._e()])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body profile-panel-body\",\n\t style: (_vm.bodyStyle)\n\t }, [_c('div', {\n\t staticClass: \"user-counts\"\n\t }, [_c('div', {\n\t staticClass: \"user-count\"\n\t }, [_c('h5', [_vm._v(\"Statuses\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.statuses_count) + \" \"), _c('br'), _c('span', {\n\t staticClass: \"dailyAvg\"\n\t }, [_vm._v(_vm._s(_vm.dailyAvg) + \" per day\")])])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-count\"\n\t }, [_c('h5', [_vm._v(\"Following\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.friends_count))])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-count\"\n\t }, [_c('h5', [_vm._v(\"Followers\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.followers_count))])])]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.user.description))])])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 435 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"timeline panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading timeline-heading base01-background base04\"\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]), _vm._v(\" \"), (_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n\t staticClass: \"base06 base02-background loadmore-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.showNewStatuses($event)\n\t }\n\t }\n\t }, [_vm._v(\"\\n Show new (\" + _vm._s(_vm.timeline.newStatusCount) + \")\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.timelineError) ? _c('button', {\n\t staticClass: \"base06 error no-press loadmore-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t }\n\t }\n\t }, [_vm._v(\"\\n Error fetching updates\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n\t staticClass: \"base04 base01-background no-press loadmore-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t }\n\t }\n\t }, [_vm._v(\"\\n Up-to-date\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, [_vm._l((_vm.timeline.visibleStatuses), function(status) {\n\t return _c('status-or-conversation', {\n\t key: status.id,\n\t attrs: {\n\t \"statusoid\": status\n\t }\n\t })\n\t }), _vm._v(\" \"), (!_vm.timeline.loading) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.fetchOlderStatuses()\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"base01-background base03-border new-status-notification text-center\"\n\t }, [_vm._v(\"Load older statuses.\")])]) : _c('div', {\n\t staticClass: \"base01-background base03-border new-status-notification text-center\"\n\t }, [_vm._v(\"...\")])], 2)])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 436 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"post-status-form\"\n\t }, [_c('form', {\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.postStatus(_vm.newStatus)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.newStatus.status),\n\t expression: \"newStatus.status\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"placeholder\": \"Just landed in L.A.\",\n\t \"rows\": \"3\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.newStatus.status)\n\t },\n\t on: {\n\t \"keyup\": [function($event) {\n\t if (_vm._k($event.keyCode, \"enter\", 13)) { return; }\n\t if (!$event.metaKey) { return; }\n\t _vm.postStatus(_vm.newStatus)\n\t }, function($event) {\n\t if (_vm._k($event.keyCode, \"enter\", 13)) { return; }\n\t if (!$event.ctrlKey) { return; }\n\t _vm.postStatus(_vm.newStatus)\n\t }],\n\t \"drop\": _vm.fileDrop,\n\t \"dragover\": function($event) {\n\t $event.preventDefault();\n\t _vm.fileDrag($event)\n\t },\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.newStatus.status = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"attachments\"\n\t }, _vm._l((_vm.newStatus.files), function(file) {\n\t return _c('div', {\n\t staticClass: \"attachment\"\n\t }, [_c('i', {\n\t staticClass: \"fa icon-cancel\",\n\t on: {\n\t \"click\": function($event) {\n\t _vm.removeMediaFile(file)\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.type(file) === 'image') ? _c('img', {\n\t staticClass: \"thumbnail media-upload\",\n\t attrs: {\n\t \"src\": file.image\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'video') ? _c('video', {\n\t attrs: {\n\t \"src\": file.image,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'audio') ? _c('audio', {\n\t attrs: {\n\t \"src\": file.image,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'unknown') ? _c('a', {\n\t attrs: {\n\t \"href\": file.image\n\t }\n\t }, [_vm._v(_vm._s(file.url))]) : _vm._e()])\n\t })), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-bottom\"\n\t }, [_c('media-upload', {\n\t attrs: {\n\t \"drop-files\": _vm.dropFiles\n\t },\n\t on: {\n\t \"uploading\": _vm.disableSubmit,\n\t \"uploaded\": _vm.addMediaFile,\n\t \"upload-failed\": _vm.enableSubmit\n\t }\n\t }), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default base05 base01-background\",\n\t attrs: {\n\t \"disabled\": _vm.submitDisabled,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(\"Submit\")])], 1)])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 437 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"timeline panel panel-default base00-background\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading base01-background base04 base03-border conversation-heading\"\n\t }, [_vm._v(\"\\n Conversation\\n \"), (_vm.collapsable) ? _c('span', {\n\t staticStyle: {\n\t \"float\": \"right\"\n\t }\n\t }, [_c('small', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.$emit('toggleExpanded')\n\t }\n\t }\n\t }, [_vm._v(\"Collapse\")])])]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, _vm._l((_vm.conversation), function(status) {\n\t return _c('status', {\n\t key: status.id,\n\t attrs: {\n\t \"statusoid\": status,\n\t \"expandable\": false,\n\t \"focused\": _vm.focused(status.id),\n\t \"inConversation\": true,\n\t \"highlight\": _vm.highlight\n\t },\n\t on: {\n\t \"goto\": _vm.setHighlight\n\t }\n\t })\n\t }))])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 438 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [_c('i', {\n\t staticClass: \"icon-retweet fa\",\n\t class: _vm.classes,\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.retweet()\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 439 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": 'Mentions',\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'mentions'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ },\n/* 440 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": 'THE WHOLE KNOWN NETWORK',\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'publicAndExternal'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ },\n/* 441 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [(_vm.expanded) ? _c('conversation', {\n\t attrs: {\n\t \"collapsable\": true,\n\t \"statusoid\": _vm.statusoid\n\t },\n\t on: {\n\t \"toggleExpanded\": _vm.toggleExpanded\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (!_vm.expanded) ? _c('status', {\n\t attrs: {\n\t \"expandable\": true,\n\t \"inConversation\": false,\n\t \"focused\": false,\n\t \"statusoid\": _vm.statusoid\n\t },\n\t on: {\n\t \"toggleExpanded\": _vm.toggleExpanded\n\t }\n\t }) : _vm._e()], 1)\n\t},staticRenderFns: []}\n\n/***/ },\n/* 442 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"login panel panel-default base00-background\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading base01-background base04\"\n\t }, [_vm._v(\"\\n Log in\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('form', {\n\t staticClass: \"login-form\",\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.submit(_vm.user)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"username\"\n\t }\n\t }, [_vm._v(\"Username\")]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.username),\n\t expression: \"user.username\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"id\": \"username\",\n\t \"placeholder\": \"e.g. lain\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.user.username)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.user.username = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"password\"\n\t }\n\t }, [_vm._v(\"Password\")]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.password),\n\t expression: \"user.password\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"id\": \"password\",\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.user.password)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.user.password = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('button', {\n\t staticClass: \"btn btn-default base05 base01-background\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(\"Submit\")])]), _vm._v(\" \"), (_vm.authError) ? _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('div', {\n\t staticClass: \"error base05\"\n\t }, [_vm._v(_vm._s(_vm.authError))])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'registration'\n\t }\n\t }\n\t }, [_vm._v(\"Register new account\")])], 1)])])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 443 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"settings panel panel-default base00-background\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading base01-background base04\"\n\t }, [_vm._v(\"\\n Registration\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('form', {\n\t staticClass: \"registration-form\",\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.submit(_vm.user)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"username\"\n\t }\n\t }, [_vm._v(\"Username\")]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.username),\n\t expression: \"user.username\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"username\",\n\t \"placeholder\": \"e.g. lain\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.user.username)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.user.username = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"fullname\"\n\t }\n\t }, [_vm._v(\"Fullname\")]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.fullname),\n\t expression: \"user.fullname\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"fullname\",\n\t \"placeholder\": \"e.g. Lain Iwakura\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.user.fullname)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.user.fullname = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"email\"\n\t }\n\t }, [_vm._v(\"Email\")]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.email),\n\t expression: \"user.email\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"email\",\n\t \"type\": \"email\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.user.email)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.user.email = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"bio\"\n\t }\n\t }, [_vm._v(\"Bio\")]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.bio),\n\t expression: \"user.bio\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"bio\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.user.bio)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.user.bio = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"password\"\n\t }\n\t }, [_vm._v(\"Password\")]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.password),\n\t expression: \"user.password\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"password\",\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.user.password)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.user.password = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"password_confirmation\"\n\t }\n\t }, [_vm._v(\"Password confirmation\")]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.confirm),\n\t expression: \"user.confirm\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"password_confirmation\",\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.user.confirm)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.user.confirm = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('button', {\n\t staticClass: \"btn btn-default base05 base01-background\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(\"Submit\")])]), _vm._v(\" \"), (_vm.error) ? _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('div', {\n\t staticClass: \"error base05\"\n\t }, [_vm._v(_vm._s(_vm.error))])]) : _vm._e()])])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 444 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"user-profile panel panel-default base00-background\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.user\n\t }\n\t })], 1)\n\t},staticRenderFns: []}\n\n/***/ },\n/* 445 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"attachment base03-border\",\n\t class: ( _obj = {\n\t loading: _vm.loading\n\t }, _obj[_vm.type] = true, _obj ),\n\t style: (_vm.autoHeight)\n\t }, [(_vm.hidden) ? _c('a', {\n\t staticClass: \"image-attachment\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleHidden()\n\t }\n\t }\n\t }, [_c('img', {\n\t key: _vm.nsfwImage,\n\t attrs: {\n\t \"src\": _vm.nsfwImage\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), (_vm.nsfw && _vm.hideNsfwLocal && !_vm.hidden) ? _c('div', {\n\t staticClass: \"hider\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleHidden()\n\t }\n\t }\n\t }, [_vm._v(\"Hide\")])]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'image' && !_vm.hidden) ? _c('a', {\n\t staticClass: \"image-attachment\",\n\t attrs: {\n\t \"href\": _vm.attachment.url,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_c('img', {\n\t staticClass: \"base03-border\",\n\t attrs: {\n\t \"referrerpolicy\": \"no-referrer\",\n\t \"src\": _vm.attachment.large_thumb_url || _vm.attachment.url\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'video' && !_vm.hidden) ? _c('video', {\n\t attrs: {\n\t \"src\": _vm.attachment.url,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'audio') ? _c('audio', {\n\t attrs: {\n\t \"src\": _vm.attachment.url,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'html' && _vm.attachment.oembed) ? _c('div', {\n\t staticClass: \"oembed\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.linkClicked($event)\n\t }\n\t }\n\t }, [(_vm.attachment.thumb_url) ? _c('div', {\n\t staticClass: \"image\"\n\t }, [_c('img', {\n\t attrs: {\n\t \"src\": _vm.attachment.thumb_url\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"text\"\n\t }, [_c('h1', [_c('a', {\n\t attrs: {\n\t \"href\": _vm.attachment.url\n\t }\n\t }, [_vm._v(_vm._s(_vm.attachment.oembed.title))])]), _vm._v(\" \"), _c('div', {\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.attachment.oembed.oembedHTML)\n\t }\n\t })])]) : _vm._e()])\n\t var _obj;\n\t},staticRenderFns: []}\n\n/***/ },\n/* 446 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"base02-background\",\n\t style: (_vm.style),\n\t attrs: {\n\t \"id\": \"app\"\n\t }\n\t }, [_c('nav', {\n\t staticClass: \"container base01-background base04\",\n\t on: {\n\t \"click\": function($event) {\n\t _vm.scrollToTop()\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"inner-nav\",\n\t style: (_vm.logoStyle)\n\t }, [_c('div', {\n\t staticClass: \"item\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'root'\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.sitename))])], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"item right\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'settings'\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-cog\"\n\t })])], 1)])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"container\",\n\t attrs: {\n\t \"id\": \"content\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"panel-switcher\"\n\t }, [_c('button', {\n\t on: {\n\t \"click\": function($event) {\n\t _vm.activatePanel('sidebar')\n\t }\n\t }\n\t }, [_vm._v(\"Sidebar\")]), _vm._v(\" \"), _c('button', {\n\t on: {\n\t \"click\": function($event) {\n\t _vm.activatePanel('timeline')\n\t }\n\t }\n\t }, [_vm._v(\"Timeline\")])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"sidebar-flexer\",\n\t class: {\n\t 'mobile-hidden': _vm.mobileActivePanel != 'sidebar'\n\t }\n\t }, [_c('div', {\n\t staticClass: \"sidebar\",\n\t class: {\n\t 'mobile-hidden': _vm.mobileActivePanel != 'sidebar'\n\t }\n\t }, [_c('div', {\n\t staticClass: \"sidebar-container\"\n\t }, [_c('user-panel'), _vm._v(\" \"), _c('nav-panel'), _vm._v(\" \"), (_vm.currentUser) ? _c('notifications') : _vm._e()], 1)])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"main\",\n\t class: {\n\t 'mobile-hidden': _vm.mobileActivePanel != 'timeline'\n\t }\n\t }, [_c('transition', {\n\t attrs: {\n\t \"name\": \"fade\"\n\t }\n\t }, [_c('router-view')], 1)], 1)])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 447 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"media-upload\",\n\t on: {\n\t \"drop\": [function($event) {\n\t $event.preventDefault();\n\t }, _vm.fileDrop],\n\t \"dragover\": function($event) {\n\t $event.preventDefault();\n\t _vm.fileDrag($event)\n\t }\n\t }\n\t }, [_c('label', {\n\t staticClass: \"btn btn-default\"\n\t }, [(_vm.uploading) ? _c('i', {\n\t staticClass: \"fa icon-spin4 animate-spin\"\n\t }) : _vm._e(), _vm._v(\" \"), (!_vm.uploading) ? _c('i', {\n\t staticClass: \"fa icon-upload\"\n\t }) : _vm._e(), _vm._v(\" \"), _c('input', {\n\t staticStyle: {\n\t \"position\": \"fixed\",\n\t \"top\": \"-100em\"\n\t },\n\t attrs: {\n\t \"type\": \"file\"\n\t }\n\t })])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 448 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": 'Public Timeline',\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'public'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ },\n/* 449 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('conversation', {\n\t attrs: {\n\t \"collapsable\": false,\n\t \"statusoid\": _vm.statusoid\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ },\n/* 450 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (!_vm.status.deleted) ? _c('div', {\n\t staticClass: \"status-el base00-background base03-border\",\n\t class: [{\n\t 'base01-background': _vm.isFocused\n\t }, {\n\t 'status-conversation': _vm.inConversation\n\t }]\n\t }, [(_vm.muted) ? [_c('div', {\n\t staticClass: \"media status container muted\"\n\t }, [_c('small', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.user.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), _c('small', {\n\t staticClass: \"muteWords\"\n\t }, [_vm._v(_vm._s(_vm.muteWordHits.join(', ')))]), _vm._v(\" \"), _c('a', {\n\t staticClass: \"unmute\",\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleMute($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-eye-off\"\n\t })])])] : _vm._e(), _vm._v(\" \"), (!_vm.muted) ? [(_vm.retweet) ? _c('div', {\n\t staticClass: \"media container retweet-info\"\n\t }, [_vm._m(0), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media-body\"\n\t }, [_vm._v(\"\\n Retweeted by \" + _vm._s(_vm.retweeter) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media status container\"\n\t }, [_c('div', {\n\t staticClass: \"media-left\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": _vm.status.user.statusnet_profile_url\n\t }\n\t }, [_c('img', {\n\t staticClass: \"avatar\",\n\t attrs: {\n\t \"src\": _vm.status.user.profile_image_url_original\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleUserExpanded($event)\n\t }\n\t }\n\t })])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media-body\"\n\t }, [(_vm.userExpanded) ? _c('div', {\n\t staticClass: \"base05 base05=border usercard\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.status.user\n\t }\n\t })], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-content\"\n\t }, [_c('h4', {\n\t staticClass: \"media-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.status.user.name) + \"\\n \"), _c('small', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.user.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), (_vm.status.in_reply_to_screen_name) ? _c('small', [_vm._v(\" >\\n \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.in_reply_to_user_id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.status.in_reply_to_screen_name) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.isReply && !_vm.expandable) ? [_c('small', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.gotoOriginal($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-reply\"\n\t })])])] : _vm._e(), _vm._v(\"\\n -\\n \"), _c('small', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: _vm.status.id\n\t }\n\t }\n\t }\n\t }, [_c('timeago', {\n\t attrs: {\n\t \"since\": _vm.status.created_at,\n\t \"auto-update\": 60\n\t }\n\t })], 1)], 1), _vm._v(\" \"), (_vm.expandable) ? [_vm._v(\"\\n -\\n \"), _c('small', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleExpanded($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-plus-squared\"\n\t })])])] : _vm._e(), _vm._v(\" \"), (_vm.unmuted) ? _c('small', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleMute($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-eye-off\"\n\t })])]) : _vm._e(), _vm._v(\" \"), (!_vm.status.is_local) ? _c('small', {\n\t staticClass: \"source_url\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": _vm.status.external_url,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-binoculars\"\n\t })])]) : _vm._e()], 2), _vm._v(\" \"), _c('div', {\n\t staticClass: \"status-content\",\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.status.statusnet_html)\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.linkClicked($event)\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.status.attachments) ? _c('div', {\n\t staticClass: \"attachments\"\n\t }, _vm._l((_vm.status.attachments), function(attachment) {\n\t return (!_vm.hideAttachments) ? _c('attachment', {\n\t attrs: {\n\t \"status-id\": _vm.status.id,\n\t \"nsfw\": _vm.status.nsfw,\n\t \"attachment\": attachment\n\t }\n\t }) : _vm._e()\n\t })) : _vm._e()]), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', [_c('div', {\n\t staticClass: \"status-actions\"\n\t }, [_c('div', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleReplying($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"fa icon-reply\",\n\t class: {\n\t 'icon-reply-active': _vm.replying\n\t }\n\t })])]), _vm._v(\" \"), _c('retweet-button', {\n\t attrs: {\n\t \"status\": _vm.status\n\t }\n\t }), _vm._v(\" \"), _c('favorite-button', {\n\t attrs: {\n\t \"status\": _vm.status\n\t }\n\t }), _vm._v(\" \"), _c('delete-button', {\n\t attrs: {\n\t \"status\": _vm.status\n\t }\n\t })], 1)]) : _vm._e()])]), _vm._v(\" \"), (_vm.replying) ? _c('div', {\n\t staticClass: \"status base00-background container\"\n\t }, [_c('div', {\n\t staticClass: \"reply-left\"\n\t }), _vm._v(\" \"), _c('post-status-form', {\n\t staticClass: \"reply-body\",\n\t attrs: {\n\t \"reply-to\": _vm.status.id,\n\t \"attentions\": _vm.status.attentions,\n\t \"repliedUser\": _vm.status.user\n\t },\n\t on: {\n\t \"posted\": _vm.toggleReplying\n\t }\n\t })], 1) : _vm._e()] : _vm._e()], 2) : _vm._e()\n\t},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"media-left\"\n\t }, [_c('i', {\n\t staticClass: \"fa icon-retweet retweeted\"\n\t })])\n\t}]}\n\n/***/ },\n/* 451 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": 'Friends',\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'friends'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ },\n/* 452 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.canDelete) ? _c('div', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.deleteStatus()\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"fa icon-cancel delete-status\"\n\t })])]) : _vm._e()\n\t},staticRenderFns: []}\n\n/***/ },\n/* 453 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('select', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.selected),\n\t expression: \"selected\"\n\t }],\n\t staticClass: \"style-switcher\",\n\t on: {\n\t \"change\": function($event) {\n\t _vm.selected = Array.prototype.filter.call($event.target.options, function(o) {\n\t return o.selected\n\t }).map(function(o) {\n\t var val = \"_value\" in o ? o._value : o.value;\n\t return val\n\t })[0]\n\t }\n\t }\n\t }, _vm._l((_vm.availableStyles), function(style) {\n\t return _c('option', [_vm._v(_vm._s(style))])\n\t }))\n\t},staticRenderFns: []}\n\n/***/ },\n/* 454 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [_c('i', {\n\t staticClass: \"favorite-button fa\",\n\t class: _vm.classes,\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.favorite()\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 455 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"settings panel panel-default base00-background\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading base01-background base04\"\n\t }, [_vm._v(\"\\n Settings\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(\"Theme\")]), _vm._v(\" \"), _c('style-switcher')], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(\"Filtering\")]), _vm._v(\" \"), _c('p', [_vm._v(\"All notices containing these words will be muted, one per line\")]), _vm._v(\" \"), _c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.muteWordsString),\n\t expression: \"muteWordsString\"\n\t }],\n\t attrs: {\n\t \"id\": \"muteWords\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.muteWordsString)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.muteWordsString = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(\"Attachments\")]), _vm._v(\" \"), _c('ul', {\n\t staticClass: \"setting-list\"\n\t }, [_c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideAttachmentsLocal),\n\t expression: \"hideAttachmentsLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideAttachments\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideAttachmentsLocal) ? _vm._i(_vm.hideAttachmentsLocal, null) > -1 : (_vm.hideAttachmentsLocal)\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t var $$a = _vm.hideAttachmentsLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$c) {\n\t $$i < 0 && (_vm.hideAttachmentsLocal = $$a.concat($$v))\n\t } else {\n\t $$i > -1 && (_vm.hideAttachmentsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideAttachmentsLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideAttachments\"\n\t }\n\t }, [_vm._v(\"Hide attachments in timeline\")])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideAttachmentsInConvLocal),\n\t expression: \"hideAttachmentsInConvLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideAttachmentsInConv\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideAttachmentsInConvLocal) ? _vm._i(_vm.hideAttachmentsInConvLocal, null) > -1 : (_vm.hideAttachmentsInConvLocal)\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t var $$a = _vm.hideAttachmentsInConvLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$c) {\n\t $$i < 0 && (_vm.hideAttachmentsInConvLocal = $$a.concat($$v))\n\t } else {\n\t $$i > -1 && (_vm.hideAttachmentsInConvLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideAttachmentsInConvLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideAttachmentsInConv\"\n\t }\n\t }, [_vm._v(\"Hide attachments in conversations\")])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideNsfwLocal),\n\t expression: \"hideNsfwLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideNsfw\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideNsfwLocal) ? _vm._i(_vm.hideNsfwLocal, null) > -1 : (_vm.hideNsfwLocal)\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t var $$a = _vm.hideNsfwLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$c) {\n\t $$i < 0 && (_vm.hideNsfwLocal = $$a.concat($$v))\n\t } else {\n\t $$i > -1 && (_vm.hideNsfwLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideNsfwLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideNsfw\"\n\t }\n\t }, [_vm._v(\"Enable clickthrough NSFW attachment hiding\")])])])])])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 456 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"nav-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default base01-background\"\n\t }, [_c('ul', {\n\t staticClass: \"base03-border\"\n\t }, [(_vm.currentUser) ? _c('li', [_c('router-link', {\n\t staticClass: \"base00-background\",\n\t attrs: {\n\t \"to\": \"/main/friends\"\n\t }\n\t }, [_vm._v(\"\\n Timeline\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', [_c('router-link', {\n\t staticClass: \"base00-background\",\n\t attrs: {\n\t \"to\": {\n\t name: 'mentions',\n\t params: {\n\t username: _vm.currentUser.screen_name\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"\\n Mentions\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('li', [_c('router-link', {\n\t staticClass: \"base00-background\",\n\t attrs: {\n\t \"to\": \"/main/public\"\n\t }\n\t }, [_vm._v(\"\\n Public Timeline\\n \")])], 1), _vm._v(\" \"), _c('li', [_c('router-link', {\n\t staticClass: \"base00-background\",\n\t attrs: {\n\t \"to\": \"/main/all\"\n\t }\n\t }, [_vm._v(\"\\n The Whole Known Network\\n \")])], 1)])])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 457 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"user-panel\"\n\t }, [(_vm.user) ? _c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.user\n\t }\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-footer base00-background\"\n\t }, [(_vm.user) ? _c('post-status-form') : _vm._e()], 1)], 1) : _vm._e(), _vm._v(\" \"), (!_vm.user) ? _c('login-form') : _vm._e()], 1)\n\t},staticRenderFns: []}\n\n/***/ }\n]);\n\n\n// WEBPACK FOOTER //\n// static/js/app.6a6016da34598b91ac47.js","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport Vuex from 'vuex'\nimport App from './App.vue'\nimport 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 ConversationPage from './components/conversation-page/conversation-page.vue'\nimport Mentions from './components/mentions/mentions.vue'\nimport UserProfile from './components/user_profile/user_profile.vue'\nimport Settings from './components/settings/settings.vue'\nimport Registration from './components/registration/registration.vue'\n\nimport statusesModule from './modules/statuses.js'\nimport usersModule from './modules/users.js'\nimport apiModule from './modules/api.js'\nimport configModule from './modules/config.js'\n\nimport VueTimeago from 'vue-timeago'\n\nimport createPersistedState from './lib/persisted_state.js'\n\nVue.use(Vuex)\nVue.use(VueRouter)\nVue.use(VueTimeago, {\n locale: 'en-US',\n locales: {\n 'en-US': require('vue-timeago/locales/en-US.json')\n }\n})\n\nconst persistedStateOptions = {\n paths: [\n 'config.hideAttachments',\n 'config.hideAttachmentsInConv',\n 'config.hideNsfw',\n 'config.muteWords',\n 'statuses.notifications',\n 'users.users'\n ]\n}\n\nconst store = new Vuex.Store({\n modules: {\n statuses: statusesModule,\n users: usersModule,\n api: apiModule,\n config: configModule\n },\n plugins: [createPersistedState(persistedStateOptions)],\n strict: process.env.NODE_ENV !== 'production'\n})\n\nconst routes = [\n { name: 'root', path: '/', redirect: '/main/all' },\n { path: '/main/all', component: PublicAndExternalTimeline },\n { path: '/main/public', component: PublicTimeline },\n { path: '/main/friends', component: FriendsTimeline },\n { name: 'conversation', path: '/notice/:id', component: ConversationPage, meta: { dontScroll: true } },\n { name: 'user-profile', path: '/users/:id', component: UserProfile },\n { name: 'mentions', path: '/:username/mentions', component: Mentions },\n { name: 'settings', path: '/settings', component: Settings },\n { name: 'registration', path: '/registration', component: Registration }\n]\n\nconst router = new VueRouter({\n mode: 'history',\n routes,\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 */\nnew Vue({\n router,\n store,\n el: '#app',\n render: h => h(App)\n})\n\nwindow.fetch('/static/config.json')\n .then((res) => res.json())\n .then(({name, theme, background, logo}) => {\n store.dispatch('setOption', { name: 'name', value: name })\n store.dispatch('setOption', { name: 'theme', value: theme })\n store.dispatch('setOption', { name: 'background', value: background })\n store.dispatch('setOption', { name: 'logo', value: logo })\n })\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","/* eslint-env browser */\nconst LOGIN_URL = '/api/account/verify_credentials.json'\nconst FRIENDS_TIMELINE_URL = '/api/statuses/friends_timeline.json'\nconst ALL_FOLLOWING_URL = '/api/qvitter/allfollowing'\nconst PUBLIC_TIMELINE_URL = '/api/statuses/public_timeline.json'\nconst PUBLIC_AND_EXTERNAL_TIMELINE_URL = '/api/statuses/public_and_external_timeline.json'\nconst FAVORITE_URL = '/api/favorites/create'\nconst UNFAVORITE_URL = '/api/favorites/destroy'\nconst RETWEET_URL = '/api/statuses/retweet'\nconst STATUS_UPDATE_URL = '/api/statuses/update.json'\nconst STATUS_DELETE_URL = '/api/statuses/destroy'\nconst STATUS_URL = '/api/statuses/show'\nconst MEDIA_UPLOAD_URL = '/api/media/upload.json'\nconst CONVERSATION_URL = '/api/statusnet/conversation'\nconst MENTIONS_URL = '/api/statuses/mentions.json'\nconst FRIENDS_URL = '/api/statuses/friends.json'\nconst FOLLOWING_URL = '/api/friendships/create.json'\nconst UNFOLLOWING_URL = '/api/friendships/destroy.json'\nconst QVITTER_USER_PREF_URL = '/api/qvitter/set_profile_pref.json'\nconst REGISTRATION_URL = '/api/account/register.json'\n// const USER_URL = '/api/users/show.json'\n\nimport { each } from 'lodash'\n\nconst oldfetch = window.fetch\n\nlet fetch = (url, options) => {\n const baseUrl = ''\n const fullUrl = baseUrl + url\n options.credentials = 'include'\n return oldfetch(fullUrl, options)\n}\n\n// Params needed:\n// nickname\n// email\n// fullname\n// password\n// password_confirm\n//\n// Optional\n// bio\n// homepage\n// location\nconst register = (params) => {\n const form = new FormData()\n\n each(params, (value, key) => {\n if (value) {\n form.append(key, value)\n }\n })\n\n return fetch(REGISTRATION_URL, {\n method: 'POST',\n body: form\n })\n}\n\nconst authHeaders = (user) => {\n if (user && user.username && user.password) {\n return { 'Authorization': `Basic ${btoa(`${user.username}:${user.password}`)}` }\n } else {\n return { }\n }\n}\n\nconst followUser = ({id, credentials}) => {\n let url = `${FOLLOWING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst unfollowUser = ({id, credentials}) => {\n let url = `${UNFOLLOWING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst fetchFriends = ({credentials}) => {\n return fetch(FRIENDS_URL, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchAllFollowing = ({username, credentials}) => {\n const url = `${ALL_FOLLOWING_URL}/${username}.json`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchConversation = ({id, credentials}) => {\n let url = `${CONVERSATION_URL}/${id}.json?count=100`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchStatus = ({id, credentials}) => {\n let url = `${STATUS_URL}/${id}.json`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst setUserMute = ({id, credentials, muted = true}) => {\n const form = new FormData()\n\n const muteInteger = muted ? 1 : 0\n\n form.append('namespace', 'qvitter')\n form.append('data', muteInteger)\n form.append('topic', `mute:${id}`)\n\n return fetch(QVITTER_USER_PREF_URL, {\n method: 'POST',\n headers: authHeaders(credentials),\n body: form\n })\n}\n\nconst fetchTimeline = ({timeline, credentials, since = false, until = false}) => {\n const timelineUrls = {\n public: PUBLIC_TIMELINE_URL,\n friends: FRIENDS_TIMELINE_URL,\n mentions: MENTIONS_URL,\n 'publicAndExternal': PUBLIC_AND_EXTERNAL_TIMELINE_URL\n }\n\n let url = timelineUrls[timeline]\n\n if (since) {\n url += `?since_id=${since}`\n }\n\n if (until) {\n url += `?max_id=${until}`\n }\n\n return fetch(url, { headers: authHeaders(credentials) }).then((data) => data.json())\n}\n\nconst verifyCredentials = (user) => {\n return fetch(LOGIN_URL, {\n method: 'POST',\n headers: authHeaders(user)\n })\n}\n\nconst favorite = ({ id, credentials }) => {\n return fetch(`${FAVORITE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst unfavorite = ({ id, credentials }) => {\n return fetch(`${UNFAVORITE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst retweet = ({ id, credentials }) => {\n return fetch(`${RETWEET_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst postStatus = ({credentials, status, mediaIds, inReplyToStatusId}) => {\n const idsText = mediaIds.join(',')\n const form = new FormData()\n\n form.append('status', status)\n form.append('source', 'Pleroma FE')\n form.append('media_ids', idsText)\n if (inReplyToStatusId) {\n form.append('in_reply_to_status_id', inReplyToStatusId)\n }\n\n return fetch(STATUS_UPDATE_URL, {\n body: form,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n}\n\nconst deleteStatus = ({ id, credentials }) => {\n return fetch(`${STATUS_DELETE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst uploadMedia = ({formData, credentials}) => {\n return fetch(MEDIA_UPLOAD_URL, {\n body: formData,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n .then((response) => response.text())\n .then((text) => (new DOMParser()).parseFromString(text, 'application/xml'))\n}\n\nconst fetchMutes = ({credentials}) => {\n const url = '/api/qvitter/mutes.json'\n\n return fetch(url, {\n headers: authHeaders(credentials)\n }).then((data) => data.json())\n}\n\nconst apiService = {\n verifyCredentials,\n fetchTimeline,\n fetchConversation,\n fetchStatus,\n fetchFriends,\n followUser,\n unfollowUser,\n favorite,\n unfavorite,\n retweet,\n postStatus,\n deleteStatus,\n uploadMedia,\n fetchAllFollowing,\n setUserMute,\n fetchMutes,\n register\n}\n\nexport default apiService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/api/api.service.js","\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-rewriter?{\\\"id\\\":\\\"data-v-0652fc80\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./timeline.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./timeline.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-0652fc80\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./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/timeline/timeline.vue\n// module id = 53\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-rewriter?{\\\"id\\\":\\\"data-v-769e38a0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./status.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./status.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-769e38a0\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./status.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/status/status.vue\n// module id = 96\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-rewriter?{\\\"id\\\":\\\"data-v-05b840de\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_card_content.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!./user_card_content.vue\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-05b840de\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_card_content.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_card_content/user_card_content.vue\n// module id = 97\n// module chunks = 2","import { remove, slice, sortBy, toInteger, each, find, flatten, maxBy, last, merge, max, isArray } from 'lodash'\nimport apiService from '../services/api/api.service.js'\n// import parse from '../services/status_parser/status_parser.js'\n\nexport const defaultState = {\n allStatuses: [],\n allStatusesObject: {},\n maxId: 0,\n notifications: [],\n favorites: new Set(),\n error: false,\n timelines: {\n mentions: {\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minVisibleId: 0,\n loading: false\n },\n public: {\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minVisibleId: 0,\n loading: false\n },\n publicAndExternal: {\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minVisibleId: 0,\n loading: false\n },\n friends: {\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minVisibleId: 0,\n loading: false\n }\n }\n}\n\nexport const prepareStatus = (status) => {\n // Parse nsfw tags\n if (status.nsfw === undefined) {\n const nsfwRegex = /#nsfw/i\n status.nsfw = !!status.text.match(nsfwRegex)\n }\n\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\nexport const statusType = (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 return 'favorite'\n }\n\n if (status.text.match(/deleted notice {{tag/)) {\n return 'deletion'\n }\n\n return 'unknown'\n}\n\nexport const findMaxId = (...args) => {\n return (maxBy(flatten(args), 'id') || {}).id\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 merge(oldItem, item)\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 obj[item.id] = item\n return {item, new: true}\n }\n}\n\nconst sortTimeline = (timeline) => {\n timeline.visibleStatuses = sortBy(timeline.visibleStatuses, ({id}) => -id)\n timeline.statuses = sortBy(timeline.statuses, ({id}) => -id)\n timeline.minVisibleId = (last(timeline.visibleStatuses) || {}).id\n\n return timeline\n}\n\nconst addNewStatuses = (state, { statuses, showImmediately = false, timeline, user = {}, noIdUpdate = false }) => {\n // Sanity check\n if (!isArray(statuses)) {\n return false\n }\n\n const allStatuses = state.allStatuses\n const allStatusesObject = state.allStatusesObject\n const timelineObject = state.timelines[timeline]\n\n // Set the maxId to the new id if it's larger.\n const updateMaxId = ({id}) => {\n if (!timeline || noIdUpdate) { return false }\n timelineObject.maxId = max([id, timelineObject.maxId])\n }\n\n const addStatus = (status, showImmediately, addToTimeline = true) => {\n const result = mergeOrAdd(allStatuses, allStatusesObject, status)\n status = result.item\n\n if (result.new) {\n updateMaxId(status)\n\n if (statusType(status) === 'retweet' && status.retweeted_status.user.id === user.id) {\n addNotification({ type: 'repeat', status: status.retweeted_status, action: status })\n }\n\n // We are mentioned in a post\n if (statusType(status) === '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 addNotification({ type: 'mention', status, action: status })\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 addNotification = ({type, status, action}) => {\n // Only add a new notification if we don't have one for the same action\n if (!find(state.notifications, (oldNotification) => oldNotification.action.id === action.id)) {\n state.notifications.push({type, status, action, seen: false})\n }\n }\n\n const favoriteStatus = (favorite) => {\n const status = find(allStatuses, { id: toInteger(favorite.in_reply_to_status_id) })\n if (status) {\n status.fave_num += 1\n\n // This is our favorite, so the relevant bit.\n if (favorite.user.id === user.id) {\n status.favorited = true\n }\n\n // Add a notification if the user's status is favorited\n if (status.user.id === user.id) {\n addNotification({type: 'favorite', status, action: favorite})\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, {id: retweetedStatus.id})) {\n // Already have it visible, 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 if (!state.favorites.has(favorite.id)) {\n state.favorites.add(favorite.id)\n updateMaxId(favorite)\n favoriteStatus(favorite)\n }\n },\n 'deletion': (deletion) => {\n const uri = deletion.uri\n updateMaxId(deletion)\n\n remove(allStatuses, { uri })\n if (timeline) {\n remove(timelineObject.statuses, { uri })\n remove(timelineObject.visibleStatuses, { uri })\n }\n },\n 'default': (unknown) => {\n console.log('unknown status type')\n console.log(unknown)\n }\n }\n\n each(statuses, (status) => {\n const type = statusType(status)\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\nexport const mutations = {\n addNewStatuses,\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.visibleStatusesObject = {}\n each(oldTimeline.visibleStatuses, (status) => { oldTimeline.visibleStatusesObject[status.id] = status })\n },\n setFavorited (state, { status, value }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.favorited = value\n },\n setRetweeted (state, { status, value }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.repeated = value\n },\n setDeleted (state, { status }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.deleted = true\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 markNotificationsAsSeen (state, notifications) {\n each(notifications, (notification) => {\n notification.seen = true\n })\n }\n}\n\nconst statuses = {\n state: defaultState,\n actions: {\n addNewStatuses ({ rootState, commit }, { statuses, showImmediately = false, timeline = false, noIdUpdate = false }) {\n commit('addNewStatuses', { statuses, showImmediately, timeline, noIdUpdate, user: rootState.users.currentUser })\n },\n setError ({ rootState, commit }, { value }) {\n commit('setError', { value })\n },\n deleteStatus ({ rootState, commit }, status) {\n commit('setDeleted', { status })\n apiService.deleteStatus({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n favorite ({ rootState, commit }, status) {\n // Optimistic favoriting...\n commit('setFavorited', { status, value: true })\n apiService.favorite({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n unfavorite ({ rootState, commit }, status) {\n // Optimistic favoriting...\n commit('setFavorited', { status, value: false })\n apiService.unfavorite({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n retweet ({ rootState, commit }, status) {\n // Optimistic retweeting...\n commit('setRetweeted', { status, value: true })\n apiService.retweet({ id: status.id, credentials: rootState.users.currentUser.credentials })\n }\n },\n mutations\n}\n\nexport default statuses\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/statuses.js","import apiService from '../api/api.service.js'\nimport timelineFetcherService from '../timeline_fetcher/timeline_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 = () => {\n return apiService.fetchFriends({credentials})\n }\n\n const fetchAllFollowing = ({username}) => {\n return apiService.fetchAllFollowing({username, 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 startFetching = ({timeline, store}) => {\n return timelineFetcherService.startFetching({timeline, store, credentials})\n }\n\n const setUserMute = ({id, muted = true}) => {\n return apiService.setUserMute({id, muted, credentials})\n }\n\n const fetchMutes = () => apiService.fetchMutes({credentials})\n\n const register = (params) => apiService.register(params)\n\n const backendInteractorServiceInstance = {\n fetchStatus,\n fetchConversation,\n fetchFriends,\n followUser,\n unfollowUser,\n fetchAllFollowing,\n verifyCredentials: apiService.verifyCredentials,\n startFetching,\n setUserMute,\n fetchMutes,\n register\n }\n\n return backendInteractorServiceInstance\n}\n\nexport default backendInteractorService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/backend_interactor_service/backend_interactor_service.js","const fileType = (typeString) => {\n let type = 'unknown'\n\n if (typeString.match(/text\\/html/)) {\n type = 'html'\n }\n\n if (typeString.match(/image/)) {\n type = 'image'\n }\n\n if (typeString.match(/video\\/(webm|mp4)/)) {\n type = 'video'\n }\n\n if (typeString.match(/audio|ogg/)) {\n type = 'audio'\n }\n\n return type\n}\n\nconst fileTypeService = {\n fileType\n}\n\nexport default fileTypeService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/file_type/file_type.service.js","import { map } from 'lodash'\nimport apiService from '../api/api.service.js'\n\nconst postStatus = ({ store, status, media = [], inReplyToStatusId = undefined }) => {\n const mediaIds = map(media, 'id')\n\n return apiService.postStatus({credentials: store.state.users.currentUser.credentials, status, mediaIds, inReplyToStatusId})\n .then((data) => data.json())\n .then((data) => {\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}\n\nconst uploadMedia = ({ store, formData }) => {\n const credentials = store.state.users.currentUser.credentials\n\n return apiService.uploadMedia({ credentials, formData }).then((xml) => {\n // Firefox and Chrome treat method differently...\n let link = xml.getElementsByTagName('link')\n\n if (link.length === 0) {\n link = xml.getElementsByTagName('atom:link')\n }\n\n link = link[0]\n\n const mediaData = {\n id: xml.getElementsByTagName('media_id')[0].textContent,\n url: xml.getElementsByTagName('media_url')[0].textContent,\n image: link.getAttribute('href'),\n mimetype: link.getAttribute('type')\n }\n\n return mediaData\n })\n}\n\nconst statusPosterService = {\n postStatus,\n uploadMedia\n}\n\nexport default statusPosterService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/status_poster/status_poster.service.js","import { camelCase } from 'lodash'\n\nimport apiService from '../api/api.service.js'\n\nconst update = ({store, statuses, timeline, showImmediately}) => {\n const ccTimeline = camelCase(timeline)\n\n store.dispatch('setError', { value: false })\n\n store.dispatch('addNewStatuses', {\n timeline: ccTimeline,\n statuses,\n showImmediately\n })\n}\n\nconst fetchAndUpdate = ({store, credentials, timeline = 'friends', older = false, showImmediately = false}) => {\n const args = { timeline, credentials }\n const rootState = store.rootState || store.state\n const timelineData = rootState.statuses.timelines[camelCase(timeline)]\n\n if (older) {\n args['until'] = timelineData.minVisibleId\n } else {\n args['since'] = timelineData.maxId\n }\n\n return apiService.fetchTimeline(args)\n .then((statuses) => update({store, statuses, timeline, showImmediately}),\n () => store.dispatch('setError', { value: true }))\n}\n\nconst startFetching = ({ timeline = 'friends', credentials, store }) => {\n fetchAndUpdate({timeline, credentials, store, showImmediately: true})\n const boundFetchAndUpdate = () => fetchAndUpdate({ timeline, credentials, store })\n return setInterval(boundFetchAndUpdate, 10000)\n}\nconst timelineFetcher = {\n fetchAndUpdate,\n startFetching\n}\n\nexport default timelineFetcher\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/timeline_fetcher/timeline_fetcher.service.js","\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-rewriter?{\\\"id\\\":\\\"data-v-12838600\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./conversation.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./conversation.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-12838600\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./conversation.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/conversation.vue\n// module id = 155\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-rewriter?{\\\"id\\\":\\\"data-v-11ada5e0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./post_status_form.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./post_status_form.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-11ada5e0\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./post_status_form.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/post_status_form/post_status_form.vue\n// module id = 156\n// module chunks = 2","import merge from 'lodash.merge'\nimport objectPath from 'object-path'\nimport localforage from 'localforage'\nimport { throttle, 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 defaultStorage = (() => {\n return localforage\n})()\n\nconst defaultSetState = (key, state, storage) => {\n if (!loaded) {\n console.log('waiting for old state to be loaded...')\n } else {\n return storage.setItem(key, state)\n }\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 = throttle(defaultSetState, 60000),\n reducer = defaultReducer,\n storage = defaultStorage,\n subscriber = store => handler => store.subscribe(handler)\n} = {}) {\n return store => {\n getState(key, storage).then((savedState) => {\n try {\n if (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 loaded = true\n }\n })\n\n subscriber(store)((mutation, state) => {\n try {\n setState(key, reducer(state, paths), storage)\n } catch (e) {\n console.log(\"Couldn't persist state:\")\n console.log(e)\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/lib/persisted_state.js","import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\n\nconst api = {\n state: {\n backendInteractor: backendInteractorService(),\n fetchers: {}\n },\n mutations: {\n setBackendInteractor (state, backendInteractor) {\n state.backendInteractor = backendInteractor\n },\n addFetcher (state, {timeline, fetcher}) {\n state.fetchers[timeline] = fetcher\n },\n removeFetcher (state, {timeline}) {\n delete state.fetchers[timeline]\n }\n },\n actions: {\n startFetching (store, timeline) {\n // Don't start fetching if we already are.\n if (!store.state.fetchers[timeline]) {\n const fetcher = store.state.backendInteractor.startFetching({timeline, store})\n store.commit('addFetcher', {timeline, fetcher})\n }\n },\n stopFetching (store, timeline) {\n const fetcher = store.state.fetchers[timeline]\n window.clearInterval(fetcher)\n store.commit('removeFetcher', {timeline})\n }\n }\n}\n\nexport default api\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/api.js","import { set } from 'vue'\nimport StyleSetter from '../services/style_setter/style_setter.js'\n\nconst defaultState = {\n name: 'Pleroma FE',\n colors: {},\n hideAttachments: false,\n hideAttachmentsInConv: false,\n hideNsfw: true,\n muteWords: []\n}\n\nconst config = {\n state: defaultState,\n mutations: {\n setOption (state, { name, value }) {\n set(state, name, value)\n }\n },\n actions: {\n setPageTitle ({state}, option = '') {\n document.title = `${option} ${state.name}`\n },\n setOption ({ commit, dispatch }, { name, value }) {\n commit('setOption', {name, value})\n switch (name) {\n case 'name':\n dispatch('setPageTitle')\n break\n case 'theme':\n const fullPath = `/static/css/${value}`\n StyleSetter.setStyle(fullPath, commit)\n }\n }\n }\n}\n\nexport default config\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/config.js","import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\nimport { compact, map, each, merge } from 'lodash'\nimport { set } from 'vue'\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 obj[item.id] = item\n return {item, new: true}\n }\n}\n\nexport const mutations = {\n setMuted (state, { user: {id}, muted }) {\n const user = state.usersObject[id]\n set(user, 'muted', muted)\n },\n setCurrentUser (state, user) {\n state.currentUser = user\n },\n beginLogin (state) {\n state.loggingIn = true\n },\n endLogin (state) {\n state.loggingIn = false\n },\n addNewUsers (state, users) {\n each(users, (user) => mergeOrAdd(state.users, state.usersObject, user))\n },\n setUserForStatus (state, status) {\n status.user = state.usersObject[status.user.id]\n }\n}\n\nexport const defaultState = {\n currentUser: false,\n loggingIn: false,\n users: [],\n usersObject: {}\n}\n\nconst users = {\n state: defaultState,\n mutations,\n actions: {\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 // Reconnect users to statuses\n each(statuses, (status) => {\n store.commit('setUserForStatus', status)\n })\n // Reconnect users to retweets\n each(compact(map(statuses, 'retweeted_status')), (status) => {\n store.commit('setUserForStatus', status)\n })\n },\n loginUser (store, userCredentials) {\n return new Promise((resolve, reject) => {\n const commit = store.commit\n commit('beginLogin')\n store.rootState.api.backendInteractor.verifyCredentials(userCredentials)\n .then((response) => {\n if (response.ok) {\n response.json()\n .then((user) => {\n user.credentials = userCredentials\n commit('setCurrentUser', user)\n commit('addNewUsers', [user])\n\n // Set our new backend interactor\n commit('setBackendInteractor', backendInteractorService(userCredentials))\n\n // Start getting fresh tweets.\n store.dispatch('startFetching', 'friends')\n\n // Get user mutes and follower info\n store.rootState.api.backendInteractor.fetchMutes().then((mutedUsers) => {\n each(mutedUsers, (user) => { user.muted = true })\n store.commit('addNewUsers', mutedUsers)\n })\n\n // Fetch our friends\n store.rootState.api.backendInteractor.fetchFriends()\n .then((friends) => commit('addNewUsers', friends))\n })\n } else {\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\n\n\n// WEBPACK FOOTER //\n// ./src/modules/users.js","import { times } from 'lodash'\n\nconst setStyle = (href, commit) => {\n /***\n What's going on here?\n I want to make it easy for admins to style this application. To have\n a good set of default themes, I chose the system from base16\n (https://chriskempson.github.io/base16/) to style all elements. They\n all have the base00..0F classes. So the only thing an admin needs to\n do to style Pleroma is to change these colors in that one css file.\n Some default things (body text color, link color) need to be set dy-\n namically, so this is done here by waiting for the stylesheet to be\n loaded and then creating an element with the respective classes.\n\n It is a bit weird, but should make life for admins somewhat easier.\n ***/\n const head = document.head\n const body = document.body\n body.style.display = 'none'\n const cssEl = document.createElement('link')\n cssEl.setAttribute('rel', 'stylesheet')\n cssEl.setAttribute('href', href)\n head.appendChild(cssEl)\n\n const setDynamic = () => {\n const baseEl = document.createElement('div')\n body.appendChild(baseEl)\n\n let colors = {}\n times(16, (n) => {\n const name = `base0${n.toString(16).toUpperCase()}`\n baseEl.setAttribute('class', name)\n const color = window.getComputedStyle(baseEl).getPropertyValue('color')\n colors[name] = color\n })\n\n commit('setOption', { name: 'colors', value: colors })\n\n body.removeChild(baseEl)\n\n const styleEl = document.createElement('style')\n head.appendChild(styleEl)\n const styleSheet = styleEl.sheet\n\n styleSheet.insertRule(`a { color: ${colors['base08']}`, 'index-max')\n styleSheet.insertRule(`body { color: ${colors['base05']}`, 'index-max')\n styleSheet.insertRule(`.base05-border { border-color: ${colors['base05']}`, 'index-max')\n styleSheet.insertRule(`.base03-border { border-color: ${colors['base03']}`, 'index-max')\n body.style.display = 'initial'\n }\n cssEl.addEventListener('load', setDynamic)\n}\n\nconst StyleSetter = {\n setStyle\n}\n\nexport default StyleSetter\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/style_setter/style_setter.js","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// user_card_content.vue?7f26a567","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'\n\nexport default {\n name: 'app',\n components: {\n UserPanel,\n NavPanel,\n Notifications\n },\n data: () => ({\n mobileActivePanel: 'timeline'\n }),\n computed: {\n currentUser () { return this.$store.state.users.currentUser },\n background () {\n return this.currentUser.background_image || this.$store.state.config.background\n },\n logoStyle () { return { 'background-image': `url(${this.$store.state.config.logo})` } },\n style () { return { 'background-image': `url(${this.background})` } },\n sitename () { return this.$store.state.config.name }\n },\n methods: {\n activatePanel (panelName) {\n this.mobileActivePanel = panelName\n },\n scrollToTop () {\n window.scrollTo(0, 0)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/App.js","import 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 ],\n data () {\n return {\n nsfwImage,\n hideNsfwLocal: this.$store.state.config.hideNsfw,\n showHidden: false,\n loading: false,\n img: document.createElement('img')\n }\n },\n computed: {\n type () {\n return fileTypeService.fileType(this.attachment.mimetype)\n },\n hidden () {\n return this.nsfw && this.hideNsfwLocal && !this.showHidden\n },\n autoHeight () {\n if (this.type === 'image' && this.nsfw) {\n return {\n 'min-height': '109px'\n }\n }\n }\n },\n methods: {\n linkClicked ({target}) {\n if (target.tagName === 'A') {\n window.open(target.href, '_blank')\n }\n },\n toggleHidden () {\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 }\n }\n}\n\nexport default Attachment\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/attachment/attachment.js","import Conversation from '../conversation/conversation.vue'\nimport { find, toInteger } from 'lodash'\n\nconst conversationPage = {\n components: {\n Conversation\n },\n computed: {\n statusoid () {\n const id = toInteger(this.$route.params.id)\n const statuses = this.$store.state.statuses.allStatuses\n const status = find(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 { filter, sortBy } from 'lodash'\nimport { statusType } from '../../modules/statuses.js'\nimport Status from '../status/status.vue'\n\nconst sortAndFilterConversation = (conversation) => {\n conversation = filter(conversation, (status) => statusType(status) !== 'retweet')\n return sortBy(conversation, 'id')\n}\n\nconst conversation = {\n data () {\n return {\n highlight: null\n }\n },\n props: [\n 'statusoid',\n 'collapsable'\n ],\n computed: {\n status () { return this.statusoid },\n conversation () {\n if (!this.status) {\n return false\n }\n\n const conversationId = this.status.statusnet_conversation_id\n const statuses = this.$store.state.statuses.allStatuses\n const conversation = filter(statuses, { statusnet_conversation_id: conversationId })\n\n return sortAndFilterConversation(conversation)\n }\n },\n components: {\n Status\n },\n created () {\n this.fetchConversation()\n },\n watch: {\n '$route': 'fetchConversation'\n },\n methods: {\n fetchConversation () {\n if (this.status) {\n const conversationId = this.status.statusnet_conversation_id\n this.$store.state.api.backendInteractor.fetchConversation({id: conversationId})\n .then((statuses) => this.$store.dispatch('addNewStatuses', { statuses }))\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 focused: function (id) {\n if (this.statusoid.retweeted_status) {\n return (id === this.statusoid.retweeted_status.id)\n } else {\n return (id === this.statusoid.id)\n }\n },\n setHighlight (id) {\n this.highlight = Number(id)\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 () { return this.currentUser.rights.delete_others_notice || this.status.user.id === this.currentUser.id }\n }\n}\n\nexport default DeleteButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/delete_button/delete_button.js","const FavoriteButton = {\n props: ['status'],\n data () {\n return {\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","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","const LoginForm = {\n data: () => ({\n user: {},\n authError: false\n }),\n computed: {\n loggingIn () { return this.$store.state.users.loggingIn }\n },\n methods: {\n submit () {\n this.$store.dispatch('loginUser', this.user).then(\n () => {},\n (error) => {\n this.authError = error\n this.user.username = ''\n this.user.password = ''\n }\n )\n }\n }\n}\n\nexport default LoginForm\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/login_form/login_form.js","/* eslint-env browser */\nimport statusPosterService from '../../services/status_poster/status_poster.service.js'\n\nconst mediaUpload = {\n mounted () {\n const input = this.$el.querySelector('input')\n\n input.addEventListener('change', ({target}) => {\n const file = target.files[0]\n this.uploadFile(file)\n })\n },\n data () {\n return {\n uploading: false\n }\n },\n methods: {\n uploadFile (file) {\n const self = this\n const store = this.$store\n const formData = new FormData()\n formData.append('media', 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')\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 },\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","const NavPanel = {\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n }\n }\n}\n\nexport default NavPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/nav_panel/nav_panel.js","import { sortBy, take, filter } from 'lodash'\n\nconst Notifications = {\n data () {\n return {\n visibleNotificationCount: 10\n }\n },\n computed: {\n notifications () {\n return this.$store.state.statuses.notifications\n },\n unseenNotifications () {\n return filter(this.notifications, ({seen}) => !seen)\n },\n visibleNotifications () {\n // Don't know why, but sortBy([seen, -action.id]) doesn't work.\n let sortedNotifications = sortBy(this.notifications, ({action}) => -action.id)\n sortedNotifications = sortBy(sortedNotifications, 'seen')\n return take(sortedNotifications, this.visibleNotificationCount)\n },\n unseenCount () {\n return this.unseenNotifications.length\n }\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.commit('markNotificationsAsSeen', this.visibleNotifications)\n }\n }\n}\n\nexport default Notifications\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/notifications/notifications.js","import statusPoster from '../../services/status_poster/status_poster.service.js'\nimport MediaUpload from '../media_upload/media_upload.vue'\nimport fileTypeService from '../../services/file_type/file_type.service.js'\nimport Tribute from '../../../node_modules/tributejs/src/Tribute.js'\nrequire('../../../node_modules/tributejs/scss/tribute.scss')\n\nimport { merge, 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.join(' ') + ' '\n}\n\nconst defaultCollection = {\n // symbol that starts the lookup\n trigger: '@',\n\n // element to target for @mentions\n iframe: null,\n\n // class added in the flyout menu for active item\n selectClass: 'highlight',\n\n // function called on select that returns the content to insert\n selectTemplate: function (item) {\n return '@' + item.original.screen_name\n },\n\n // template for displaying item in menu\n menuItemTemplate: function (item) {\n return `
${item.string}
`\n },\n\n // template for when no match is found (optional),\n // If no template is provided, menu is hidden.\n noMatchTemplate: null,\n\n // specify an alternative parent container for the menu\n menuContainer: document.body,\n\n // column to search against in the object (accepts function or string)\n lookup: ({name, screen_name}) => `${name} (@${screen_name})`, // eslint-disable-line camelcase\n\n // column that contains the content to insert by default\n fillAttr: 'screen_name',\n\n // REQUIRED: array of objects to match\n values: [],\n\n // specify whether a space is required before the trigger character\n requireLeadingSpace: true,\n\n // specify whether a space is allowed in the middle of mentions\n allowSpaces: false\n}\n\nconst tribute = new Tribute({ collection: [] })\n\nconst PostStatusForm = {\n props: [\n 'replyTo',\n 'repliedUser',\n 'attentions'\n ],\n components: {\n MediaUpload\n },\n data () {\n let statusText = ''\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 return {\n dropFiles: [],\n submitDisabled: false,\n newStatus: {\n status: statusText,\n files: []\n }\n }\n },\n computed: {\n users () {\n return this.$store.state.users.users\n },\n completions () {\n let users = this.users\n users = merge({values: users}, defaultCollection)\n return [users]\n }\n },\n watch: {\n completions () {\n tribute.collection = this.completions\n }\n },\n mounted () {\n const textarea = this.$el.querySelector('textarea')\n tribute.collection = this.completions\n tribute.attach(textarea)\n },\n methods: {\n postStatus (newStatus) {\n statusPoster.postStatus({\n status: newStatus.status,\n media: newStatus.files,\n store: this.$store,\n inReplyToStatusId: this.replyTo\n })\n this.newStatus = {\n status: '',\n files: []\n }\n this.$emit('posted')\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 disableSubmit () {\n this.submitDisabled = true\n },\n enableSubmit () {\n this.submitDisabled = false\n },\n type (fileInfo) {\n return fileTypeService.fileType(fileInfo.mimetype)\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 }\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('startFetching', '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('startFetching', '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","const registration = {\n data: () => ({\n user: {},\n error: false,\n registering: false\n }),\n methods: {\n submit () {\n this.registering = true\n this.user.nickname = this.user.username\n this.$store.state.api.backendInteractor.register(this.user).then(\n (response) => {\n if (response.ok) {\n this.$store.dispatch('loginUser', this.user)\n this.$router.push('/main/all')\n this.registering = false\n } else {\n this.registering = false\n response.json().then((data) => {\n this.error = data.error\n })\n }\n }\n )\n }\n }\n}\n\nexport default registration\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/registration/registration.js","const RetweetButton = {\n props: ['status'],\n data () {\n return {\n animated: false\n }\n },\n methods: {\n retweet () {\n if (!this.status.repeated) {\n this.$store.dispatch('retweet', {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 '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","import StyleSwitcher from '../style_switcher/style_switcher.vue'\nimport { filter, trim } from 'lodash'\n\nconst settings = {\n data () {\n return {\n hideAttachmentsLocal: this.$store.state.config.hideAttachments,\n hideAttachmentsInConvLocal: this.$store.state.config.hideAttachmentsInConv,\n hideNsfwLocal: this.$store.state.config.hideNsfw,\n muteWordsString: this.$store.state.config.muteWords.join('\\n')\n }\n },\n components: {\n StyleSwitcher\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 hideNsfwLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideNsfw', 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 }\n}\n\nexport default settings\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/settings/settings.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 UserCardContent from '../user_card_content/user_card_content.vue'\nimport { filter } from 'lodash'\n\nconst Status = {\n props: [\n 'statusoid',\n 'expandable',\n 'inConversation',\n 'focused',\n 'highlight'\n ],\n data: () => ({\n replying: false,\n expanded: false,\n unmuted: false,\n userExpanded: false\n }),\n computed: {\n muteWords () {\n return this.$store.state.config.muteWords\n },\n hideAttachments () {\n return (this.$store.state.config.hideAttachments && !this.inConversation) ||\n (this.$store.state.config.hideAttachmentsInConv && this.inConversation)\n },\n retweet () { return !!this.statusoid.retweeted_status },\n retweeter () { return this.statusoid.user.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 isReply () { return !!this.status.in_reply_to_status_id },\n borderColor () {\n return {\n borderBottomColor: this.$store.state.config.colors['base02']\n }\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 },\n components: {\n Attachment,\n FavoriteButton,\n RetweetButton,\n DeleteButton,\n PostStatusForm,\n UserCardContent\n },\n methods: {\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 toggleReplying () {\n this.replying = !this.replying\n },\n gotoOriginal () {\n // only handled by conversation, not status_or_conversation\n this.$emit('goto', this.status.in_reply_to_status_id)\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 },\n watch: {\n 'highlight': function (id) {\n id = Number(id)\n if (this.status.id === id) {\n let rect = this.$el.getBoundingClientRect()\n if (rect.top < 100) {\n window.scrollBy(0, rect.top - 200)\n } else if (rect.bottom > window.innerHeight - 100) {\n // will be useful when scrolling down to replies or root posts is in\n window.scrollBy(0, rect.bottom + 200)\n }\n }\n }\n }\n}\n\nexport default Status\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/status/status.js","import Status from '../status/status.vue'\nimport Conversation from '../conversation/conversation.vue'\n\nconst statusOrConversation = {\n props: ['statusoid'],\n data () {\n return {\n expanded: false\n }\n },\n components: {\n Status,\n Conversation\n },\n methods: {\n toggleExpanded () {\n this.expanded = !this.expanded\n }\n }\n}\n\nexport default statusOrConversation\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/status_or_conversation/status_or_conversation.js","export default {\n data () {\n return {\n availableStyles: [],\n selected: this.$store.state.config.theme\n }\n },\n created () {\n const self = this\n window.fetch('/static/css/themes.json')\n .then((data) => data.json())\n .then((themes) => { self.availableStyles = themes })\n },\n watch: {\n selected () {\n this.$store.dispatch('setOption', { name: 'theme', value: this.selected })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/style_switcher/style_switcher.js","import Status from '../status/status.vue'\nimport timelineFetcher from '../../services/timeline_fetcher/timeline_fetcher.service.js'\nimport StatusOrConversation from '../status_or_conversation/status_or_conversation.vue'\n\nconst Timeline = {\n props: [\n 'timeline',\n 'timelineName',\n 'title'\n ],\n computed: {\n timelineError () { return this.$store.state.statuses.error }\n },\n components: {\n Status,\n StatusOrConversation\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 timelineFetcher.fetchAndUpdate({\n store,\n credentials,\n timeline: this.timelineName,\n showImmediately\n })\n },\n methods: {\n showNewStatuses () {\n this.$store.commit('showNewStatuses', { timeline: this.timelineName })\n },\n fetchOlderStatuses () {\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 }).then(() => store.commit('setLoading', { timeline: this.timelineName, value: false }))\n }\n }\n}\n\nexport default Timeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/timeline/timeline.js","import LoginForm from '../login_form/login_form.vue'\nimport PostStatusForm from '../post_status_form/post_status_form.vue'\nimport UserCardContent from '../user_card_content/user_card_content.vue'\n\nconst UserPanel = {\n computed: {\n user () { return this.$store.state.users.currentUser }\n },\n components: {\n LoginForm,\n PostStatusForm,\n UserCardContent\n }\n}\n\nexport default UserPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_panel/user_panel.js","import UserCardContent from '../user_card_content/user_card_content.vue'\nimport { find } from 'lodash'\n\nconst UserProfile = {\n computed: {\n user () {\n const id = this.$route.params.id\n const user = find(this.$store.state.users.users, {id})\n return user\n }\n },\n components: {\n UserCardContent\n }\n}\n\nexport default UserProfile\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_profile/user_profile.js","module.exports = [\n\t\"just now\",\n\t[\n\t\t\"%s second ago\",\n\t\t\"%s seconds ago\"\n\t],\n\t[\n\t\t\"%s minute ago\",\n\t\t\"%s minutes ago\"\n\t],\n\t[\n\t\t\"%s hour ago\",\n\t\t\"%s hours ago\"\n\t],\n\t[\n\t\t\"%s day ago\",\n\t\t\"%s days ago\"\n\t],\n\t[\n\t\t\"%s week ago\",\n\t\t\"%s weeks ago\"\n\t],\n\t[\n\t\t\"%s month ago\",\n\t\t\"%s months ago\"\n\t],\n\t[\n\t\t\"%s year ago\",\n\t\t\"%s years ago\"\n\t]\n];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-timeago/locales/en-US.json\n// module id = 255\n// module chunks = 2","module.exports = __webpack_public_path__ + \"static/img/nsfw.9399fe3.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/nsfw.png\n// module id = 412\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-rewriter?{\\\"id\\\":\\\"data-v-4c17cd72\\\",\\\"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?{\\\"id\\\":\\\"data-v-4c17cd72\\\"}!./../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 = 413\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-rewriter?{\\\"id\\\":\\\"data-v-48d74080\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./attachment.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./attachment.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-48d74080\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./attachment.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/attachment/attachment.vue\n// module id = 414\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?{\\\"id\\\":\\\"data-v-6d354bd4\\\"}!./../../../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 = 415\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-rewriter?{\\\"id\\\":\\\"data-v-ab5f3124\\\",\\\"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?{\\\"id\\\":\\\"data-v-ab5f3124\\\"}!./../../../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 = 416\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-rewriter?{\\\"id\\\":\\\"data-v-bd666be8\\\",\\\"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?{\\\"id\\\":\\\"data-v-bd666be8\\\"}!./../../../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 = 417\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?{\\\"id\\\":\\\"data-v-938aba00\\\"}!./../../../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 = 418\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-rewriter?{\\\"id\\\":\\\"data-v-437c2fc0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./login_form.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./login_form.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-437c2fc0\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./login_form.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/login_form/login_form.vue\n// module id = 419\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-rewriter?{\\\"id\\\":\\\"data-v-546891a0\\\",\\\"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?{\\\"id\\\":\\\"data-v-546891a0\\\"}!./../../../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 = 420\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?{\\\"id\\\":\\\"data-v-2b4a7ac0\\\"}!./../../../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 = 421\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-rewriter?{\\\"id\\\":\\\"data-v-d306a29c\\\",\\\"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?{\\\"id\\\":\\\"data-v-d306a29c\\\"}!./../../../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 = 422\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-rewriter?{\\\"id\\\":\\\"data-v-00135b32\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./notifications.scss\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./notifications.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-00135b32\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./notifications.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/notifications/notifications.vue\n// module id = 423\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?{\\\"id\\\":\\\"data-v-2dd59500\\\"}!./../../../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 = 424\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?{\\\"id\\\":\\\"data-v-63335050\\\"}!./../../../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 = 425\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-rewriter?{\\\"id\\\":\\\"data-v-45f064c0\\\",\\\"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?{\\\"id\\\":\\\"data-v-45f064c0\\\"}!./../../../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 = 426\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-rewriter?{\\\"id\\\":\\\"data-v-1ca01100\\\",\\\"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?{\\\"id\\\":\\\"data-v-1ca01100\\\"}!./../../../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 = 427\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-rewriter?{\\\"id\\\":\\\"data-v-cd51c000\\\",\\\"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?{\\\"id\\\":\\\"data-v-cd51c000\\\"}!./../../../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 = 428\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-rewriter?{\\\"id\\\":\\\"data-v-42b0f6a0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./status_or_conversation.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./status_or_conversation.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-42b0f6a0\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./status_or_conversation.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/status_or_conversation/status_or_conversation.vue\n// module id = 429\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-rewriter?{\\\"id\\\":\\\"data-v-ae8f5000\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./style_switcher.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./style_switcher.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-ae8f5000\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./style_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/style_switcher/style_switcher.vue\n// module id = 430\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?{\\\"id\\\":\\\"data-v-eda04b40\\\"}!./../../../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 = 431\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-rewriter?{\\\"id\\\":\\\"data-v-48484e40\\\",\\\"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?{\\\"id\\\":\\\"data-v-48484e40\\\"}!./../../../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 = 432\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 base00-background\"\n }, [_c('div', {\n staticClass: \"panel-heading base01-background base04\"\n }, [(_vm.unseenCount) ? _c('span', {\n staticClass: \"unseen-count\"\n }, [_vm._v(_vm._s(_vm.unseenCount))]) : _vm._e(), _vm._v(\"\\n Notifications\\n \"), _c('button', {\n staticClass: \"base06 base02-background read-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.markAsSeen($event)\n }\n }\n }, [_vm._v(\"Read!\")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body base03-border\"\n }, _vm._l((_vm.visibleNotifications), function(notification) {\n return _c('div', {\n staticClass: \"notification\",\n class: {\n \"unseen\": !notification.seen\n }\n }, [_c('a', {\n attrs: {\n \"href\": notification.action.user.statusnet_profile_url\n }\n }, [_c('img', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": notification.action.user.profile_image_url_original\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"text\"\n }, [_c('timeago', {\n attrs: {\n \"since\": notification.action.created_at,\n \"auto-update\": 240\n }\n }), _vm._v(\" \"), (notification.type === 'favorite') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n staticClass: \"fa icon-star\"\n }), _vm._v(\" favorited your \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: notification.status.id\n }\n }\n }\n }, [_vm._v(\"status\")])], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e(), _vm._v(\" \"), (notification.type === 'repeat') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n staticClass: \"fa icon-retweet\"\n }), _vm._v(\" repeated your \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: notification.status.id\n }\n }\n }\n }, [_vm._v(\"status\")])], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e(), _vm._v(\" \"), (notification.type === 'mention') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n staticClass: \"fa icon-reply\"\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: notification.status.id\n }\n }\n }\n }, [_vm._v(\"mentioned\")]), _vm._v(\" you\")], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e()], 1)])\n }))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-00135b32\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/notifications/notifications.vue\n// module id = 433\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: \"profile-panel-background\",\n style: (_vm.headingStyle),\n attrs: {\n \"id\": \"heading\"\n }\n }, [_c('div', {\n staticClass: \"panel-heading text-center\"\n }, [_c('div', {\n staticClass: \"user-info\"\n }, [_c('div', {\n staticClass: \"container\"\n }, [_c('img', {\n attrs: {\n \"src\": _vm.user.profile_image_url\n }\n }), _vm._v(\" \"), _c('span', {\n staticClass: \"glyphicon glyphicon-user\"\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"user-name\"\n }, [_vm._v(_vm._s(_vm.user.name))]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-screen-name\"\n }, [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))])]), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n staticClass: \"user-interactions\"\n }, [(_vm.user.follows_you && _vm.loggedIn) ? _c('div', {\n staticClass: \"following base06\"\n }, [_vm._v(\"\\n Follows you!\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', {\n staticClass: \"follow\"\n }, [(_vm.user.following) ? _c('span', [_c('button', {\n staticClass: \"base04 base00-background pressed\",\n on: {\n \"click\": _vm.unfollowUser\n }\n }, [_vm._v(\"\\n Following!\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.following) ? _c('span', [_c('button', {\n staticClass: \"base05 base02-background\",\n on: {\n \"click\": _vm.followUser\n }\n }, [_vm._v(\"\\n Follow\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n staticClass: \"mute\"\n }, [(_vm.user.muted) ? _c('span', [_c('button', {\n staticClass: \"base04 base00-background pressed\",\n on: {\n \"click\": _vm.toggleMute\n }\n }, [_vm._v(\"Muted\")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.muted) ? _c('span', [_c('button', {\n staticClass: \"base05 base02-background\",\n on: {\n \"click\": _vm.toggleMute\n }\n }, [_vm._v(\"Mute\")])]) : _vm._e()]) : _vm._e()]) : _vm._e()])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body profile-panel-body\",\n style: (_vm.bodyStyle)\n }, [_c('div', {\n staticClass: \"user-counts\"\n }, [_c('div', {\n staticClass: \"user-count\"\n }, [_c('h5', [_vm._v(\"Statuses\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.statuses_count) + \" \"), _c('br'), _c('span', {\n staticClass: \"dailyAvg\"\n }, [_vm._v(_vm._s(_vm.dailyAvg) + \" per day\")])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-count\"\n }, [_c('h5', [_vm._v(\"Following\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.friends_count))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-count\"\n }, [_c('h5', [_vm._v(\"Followers\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.followers_count))])])]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.user.description))])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-05b840de\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_card_content/user_card_content.vue\n// module id = 434\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 panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading base01-background base04\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]), _vm._v(\" \"), (_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n staticClass: \"base06 base02-background loadmore-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.showNewStatuses($event)\n }\n }\n }, [_vm._v(\"\\n Show new (\" + _vm._s(_vm.timeline.newStatusCount) + \")\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.timelineError) ? _c('button', {\n staticClass: \"base06 error no-press loadmore-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n Error fetching updates\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n staticClass: \"base04 base01-background no-press loadmore-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n Up-to-date\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, [_vm._l((_vm.timeline.visibleStatuses), function(status) {\n return _c('status-or-conversation', {\n key: status.id,\n attrs: {\n \"statusoid\": status\n }\n })\n }), _vm._v(\" \"), (!_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: \"base01-background base03-border new-status-notification text-center\"\n }, [_vm._v(\"Load older statuses.\")])]) : _c('div', {\n staticClass: \"base01-background base03-border new-status-notification text-center\"\n }, [_vm._v(\"...\")])], 2)])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-0652fc80\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/timeline/timeline.vue\n// module id = 435\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 }, [_c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newStatus.status),\n expression: \"newStatus.status\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"placeholder\": \"Just landed in L.A.\",\n \"rows\": \"3\"\n },\n domProps: {\n \"value\": _vm._s(_vm.newStatus.status)\n },\n on: {\n \"keyup\": [function($event) {\n if (_vm._k($event.keyCode, \"enter\", 13)) { return; }\n if (!$event.metaKey) { return; }\n _vm.postStatus(_vm.newStatus)\n }, function($event) {\n if (_vm._k($event.keyCode, \"enter\", 13)) { return; }\n if (!$event.ctrlKey) { return; }\n _vm.postStatus(_vm.newStatus)\n }],\n \"drop\": _vm.fileDrop,\n \"dragover\": function($event) {\n $event.preventDefault();\n _vm.fileDrag($event)\n },\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.newStatus.status = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"attachments\"\n }, _vm._l((_vm.newStatus.files), function(file) {\n return _c('div', {\n staticClass: \"attachment\"\n }, [_c('i', {\n staticClass: \"fa icon-cancel\",\n on: {\n \"click\": function($event) {\n _vm.removeMediaFile(file)\n }\n }\n }), _vm._v(\" \"), (_vm.type(file) === 'image') ? _c('img', {\n staticClass: \"thumbnail media-upload\",\n attrs: {\n \"src\": file.image\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'video') ? _c('video', {\n attrs: {\n \"src\": file.image,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'audio') ? _c('audio', {\n attrs: {\n \"src\": file.image,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'unknown') ? _c('a', {\n attrs: {\n \"href\": file.image\n }\n }, [_vm._v(_vm._s(file.url))]) : _vm._e()])\n })), _vm._v(\" \"), _c('div', {\n staticClass: \"form-bottom\"\n }, [_c('media-upload', {\n attrs: {\n \"drop-files\": _vm.dropFiles\n },\n on: {\n \"uploading\": _vm.disableSubmit,\n \"uploaded\": _vm.addMediaFile,\n \"upload-failed\": _vm.enableSubmit\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default base05 base01-background\",\n attrs: {\n \"disabled\": _vm.submitDisabled,\n \"type\": \"submit\"\n }\n }, [_vm._v(\"Submit\")])], 1)])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-11ada5e0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/post_status_form/post_status_form.vue\n// module id = 436\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 panel-default base00-background\"\n }, [_c('div', {\n staticClass: \"panel-heading base01-background base04 base03-border conversation-heading\"\n }, [_vm._v(\"\\n Conversation\\n \"), (_vm.collapsable) ? _c('span', {\n staticStyle: {\n \"float\": \"right\"\n }\n }, [_c('small', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.$emit('toggleExpanded')\n }\n }\n }, [_vm._v(\"Collapse\")])])]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.conversation), function(status) {\n return _c('status', {\n key: status.id,\n attrs: {\n \"statusoid\": status,\n \"expandable\": false,\n \"focused\": _vm.focused(status.id),\n \"inConversation\": true,\n \"highlight\": _vm.highlight\n },\n on: {\n \"goto\": _vm.setHighlight\n }\n })\n }))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-12838600\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/conversation/conversation.vue\n// module id = 437\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('i', {\n staticClass: \"icon-retweet fa\",\n class: _vm.classes,\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.retweet()\n }\n }\n }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-1ca01100\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/retweet_button/retweet_button.vue\n// module id = 438\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\": '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.js?{\"id\":\"data-v-2b4a7ac0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/mentions/mentions.vue\n// module id = 439\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\": 'THE WHOLE KNOWN NETWORK',\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'publicAndExternal'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-2dd59500\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/public_and_external_timeline/public_and_external_timeline.vue\n// module id = 440\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.expanded) ? _c('conversation', {\n attrs: {\n \"collapsable\": true,\n \"statusoid\": _vm.statusoid\n },\n on: {\n \"toggleExpanded\": _vm.toggleExpanded\n }\n }) : _vm._e(), _vm._v(\" \"), (!_vm.expanded) ? _c('status', {\n attrs: {\n \"expandable\": true,\n \"inConversation\": false,\n \"focused\": false,\n \"statusoid\": _vm.statusoid\n },\n on: {\n \"toggleExpanded\": _vm.toggleExpanded\n }\n }) : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-42b0f6a0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/status_or_conversation/status_or_conversation.vue\n// module id = 441\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 base00-background\"\n }, [_c('div', {\n staticClass: \"panel-heading base01-background base04\"\n }, [_vm._v(\"\\n Log in\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_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(\"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\": \"e.g. lain\"\n },\n domProps: {\n \"value\": _vm._s(_vm.user.username)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _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(\"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._s(_vm.user.password)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.user.password = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('button', {\n staticClass: \"btn btn-default base05 base01-background\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"type\": \"submit\"\n }\n }, [_vm._v(\"Submit\")])]), _vm._v(\" \"), (_vm.authError) ? _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"error base05\"\n }, [_vm._v(_vm._s(_vm.authError))])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'registration'\n }\n }\n }, [_vm._v(\"Register new account\")])], 1)])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-437c2fc0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/login_form/login_form.vue\n// module id = 442\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 base00-background\"\n }, [_c('div', {\n staticClass: \"panel-heading base01-background base04\"\n }, [_vm._v(\"\\n 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: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"username\"\n }\n }, [_vm._v(\"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.registering,\n \"id\": \"username\",\n \"placeholder\": \"e.g. lain\"\n },\n domProps: {\n \"value\": _vm._s(_vm.user.username)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.user.username = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"fullname\"\n }\n }, [_vm._v(\"Fullname\")]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.fullname),\n expression: \"user.fullname\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"fullname\",\n \"placeholder\": \"e.g. Lain Iwakura\"\n },\n domProps: {\n \"value\": _vm._s(_vm.user.fullname)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.user.fullname = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"email\"\n }\n }, [_vm._v(\"Email\")]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.email),\n expression: \"user.email\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"email\",\n \"type\": \"email\"\n },\n domProps: {\n \"value\": _vm._s(_vm.user.email)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.user.email = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"bio\"\n }\n }, [_vm._v(\"Bio\")]), _vm._v(\" \"), _c('input', {\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.registering,\n \"id\": \"bio\"\n },\n domProps: {\n \"value\": _vm._s(_vm.user.bio)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.user.bio = $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(\"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.registering,\n \"id\": \"password\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": _vm._s(_vm.user.password)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.user.password = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"password_confirmation\"\n }\n }, [_vm._v(\"Password confirmation\")]), _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.registering,\n \"id\": \"password_confirmation\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": _vm._s(_vm.user.confirm)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.user.confirm = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('button', {\n staticClass: \"btn btn-default base05 base01-background\",\n attrs: {\n \"disabled\": _vm.registering,\n \"type\": \"submit\"\n }\n }, [_vm._v(\"Submit\")])]), _vm._v(\" \"), (_vm.error) ? _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"error base05\"\n }, [_vm._v(_vm._s(_vm.error))])]) : _vm._e()])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-45f064c0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/registration/registration.vue\n// module id = 443\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-profile panel panel-default base00-background\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.user\n }\n })], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-48484e40\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_profile/user_profile.vue\n// module id = 444\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: \"attachment base03-border\",\n class: ( _obj = {\n loading: _vm.loading\n }, _obj[_vm.type] = true, _obj ),\n style: (_vm.autoHeight)\n }, [(_vm.hidden) ? _c('a', {\n staticClass: \"image-attachment\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleHidden()\n }\n }\n }, [_c('img', {\n key: _vm.nsfwImage,\n attrs: {\n \"src\": _vm.nsfwImage\n }\n })]) : _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 _vm.toggleHidden()\n }\n }\n }, [_vm._v(\"Hide\")])]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'image' && !_vm.hidden) ? _c('a', {\n staticClass: \"image-attachment\",\n attrs: {\n \"href\": _vm.attachment.url,\n \"target\": \"_blank\"\n }\n }, [_c('img', {\n staticClass: \"base03-border\",\n attrs: {\n \"referrerpolicy\": \"no-referrer\",\n \"src\": _vm.attachment.large_thumb_url || _vm.attachment.url\n }\n })]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'video' && !_vm.hidden) ? _c('video', {\n attrs: {\n \"src\": _vm.attachment.url,\n \"controls\": \"\"\n }\n }) : _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 _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.js?{\"id\":\"data-v-48d74080\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/attachment/attachment.vue\n// module id = 445\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: \"base02-background\",\n style: (_vm.style),\n attrs: {\n \"id\": \"app\"\n }\n }, [_c('nav', {\n staticClass: \"container base01-background base04\",\n on: {\n \"click\": function($event) {\n _vm.scrollToTop()\n }\n }\n }, [_c('div', {\n staticClass: \"inner-nav\",\n style: (_vm.logoStyle)\n }, [_c('div', {\n staticClass: \"item\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'root'\n }\n }\n }, [_vm._v(_vm._s(_vm.sitename))])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"item right\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'settings'\n }\n }\n }, [_c('i', {\n staticClass: \"icon-cog\"\n })])], 1)])]), _vm._v(\" \"), _c('div', {\n staticClass: \"container\",\n attrs: {\n \"id\": \"content\"\n }\n }, [_c('div', {\n staticClass: \"panel-switcher\"\n }, [_c('button', {\n on: {\n \"click\": function($event) {\n _vm.activatePanel('sidebar')\n }\n }\n }, [_vm._v(\"Sidebar\")]), _vm._v(\" \"), _c('button', {\n on: {\n \"click\": function($event) {\n _vm.activatePanel('timeline')\n }\n }\n }, [_vm._v(\"Timeline\")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"sidebar-flexer\",\n class: {\n 'mobile-hidden': _vm.mobileActivePanel != 'sidebar'\n }\n }, [_c('div', {\n staticClass: \"sidebar\",\n class: {\n 'mobile-hidden': _vm.mobileActivePanel != 'sidebar'\n }\n }, [_c('div', {\n staticClass: \"sidebar-container\"\n }, [_c('user-panel'), _vm._v(\" \"), _c('nav-panel'), _vm._v(\" \"), (_vm.currentUser) ? _c('notifications') : _vm._e()], 1)])]), _vm._v(\" \"), _c('div', {\n staticClass: \"main\",\n class: {\n 'mobile-hidden': _vm.mobileActivePanel != 'timeline'\n }\n }, [_c('transition', {\n attrs: {\n \"name\": \"fade\"\n }\n }, [_c('router-view')], 1)], 1)])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-4c17cd72\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = 446\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 _vm.fileDrag($event)\n }\n }\n }, [_c('label', {\n staticClass: \"btn btn-default\"\n }, [(_vm.uploading) ? _c('i', {\n staticClass: \"fa icon-spin4 animate-spin\"\n }) : _vm._e(), _vm._v(\" \"), (!_vm.uploading) ? _c('i', {\n staticClass: \"fa icon-upload\"\n }) : _vm._e(), _vm._v(\" \"), _c('input', {\n staticStyle: {\n \"position\": \"fixed\",\n \"top\": \"-100em\"\n },\n attrs: {\n \"type\": \"file\"\n }\n })])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-546891a0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/media_upload/media_upload.vue\n// module id = 447\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\": 'Public Timeline',\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'public'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-63335050\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/public_timeline/public_timeline.vue\n// module id = 448\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 \"statusoid\": _vm.statusoid\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-6d354bd4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/conversation-page/conversation-page.vue\n// module id = 449\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (!_vm.status.deleted) ? _c('div', {\n staticClass: \"status-el base00-background base03-border\",\n class: [{\n 'base01-background': _vm.isFocused\n }, {\n 'status-conversation': _vm.inConversation\n }]\n }, [(_vm.muted) ? [_c('div', {\n staticClass: \"media status container muted\"\n }, [_c('small', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.user.id\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 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 _vm.toggleMute($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-eye-off\"\n })])])] : _vm._e(), _vm._v(\" \"), (!_vm.muted) ? [(_vm.retweet) ? _c('div', {\n staticClass: \"media container retweet-info\"\n }, [_vm._m(0), _vm._v(\" \"), _c('div', {\n staticClass: \"media-body\"\n }, [_vm._v(\"\\n Retweeted by \" + _vm._s(_vm.retweeter) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"media status container\"\n }, [_c('div', {\n staticClass: \"media-left\"\n }, [_c('a', {\n attrs: {\n \"href\": _vm.status.user.statusnet_profile_url\n }\n }, [_c('img', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": _vm.status.user.profile_image_url_original\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleUserExpanded($event)\n }\n }\n })])]), _vm._v(\" \"), _c('div', {\n staticClass: \"media-body\"\n }, [(_vm.userExpanded) ? _c('div', {\n staticClass: \"base05 base05=border usercard\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.status.user\n }\n })], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"user-content\"\n }, [_c('h4', {\n staticClass: \"media-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.status.user.name) + \"\\n \"), _c('small', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.user.id\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), (_vm.status.in_reply_to_screen_name) ? _c('small', [_vm._v(\" >\\n \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.in_reply_to_user_id\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.status.in_reply_to_screen_name) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.isReply && !_vm.expandable) ? [_c('small', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.gotoOriginal($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-reply\"\n })])])] : _vm._e(), _vm._v(\"\\n -\\n \"), _c('small', [_c('router-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)], 1), _vm._v(\" \"), (_vm.expandable) ? [_vm._v(\"\\n -\\n \"), _c('small', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleExpanded($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-plus-squared\"\n })])])] : _vm._e(), _vm._v(\" \"), (_vm.unmuted) ? _c('small', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleMute($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-eye-off\"\n })])]) : _vm._e(), _vm._v(\" \"), (!_vm.status.is_local) ? _c('small', {\n staticClass: \"source_url\"\n }, [_c('a', {\n attrs: {\n \"href\": _vm.status.external_url,\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"icon-binoculars\"\n })])]) : _vm._e()], 2), _vm._v(\" \"), _c('div', {\n staticClass: \"status-content\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.status.statusnet_html)\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.linkClicked($event)\n }\n }\n }), _vm._v(\" \"), (_vm.status.attachments) ? _c('div', {\n staticClass: \"attachments\"\n }, _vm._l((_vm.status.attachments), function(attachment) {\n return (!_vm.hideAttachments) ? _c('attachment', {\n attrs: {\n \"status-id\": _vm.status.id,\n \"nsfw\": _vm.status.nsfw,\n \"attachment\": attachment\n }\n }) : _vm._e()\n })) : _vm._e()]), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', [_c('div', {\n staticClass: \"status-actions\"\n }, [_c('div', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleReplying($event)\n }\n }\n }, [_c('i', {\n staticClass: \"fa icon-reply\",\n class: {\n 'icon-reply-active': _vm.replying\n }\n })])]), _vm._v(\" \"), _c('retweet-button', {\n attrs: {\n \"status\": _vm.status\n }\n }), _vm._v(\" \"), _c('favorite-button', {\n attrs: {\n \"status\": _vm.status\n }\n }), _vm._v(\" \"), _c('delete-button', {\n attrs: {\n \"status\": _vm.status\n }\n })], 1)]) : _vm._e()])]), _vm._v(\" \"), (_vm.replying) ? _c('div', {\n staticClass: \"status base00-background 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 },\n on: {\n \"posted\": _vm.toggleReplying\n }\n })], 1) : _vm._e()] : _vm._e()], 2) : _vm._e()\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"media-left\"\n }, [_c('i', {\n staticClass: \"fa icon-retweet retweeted\"\n })])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-769e38a0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/status/status.vue\n// module id = 450\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\": 'Friends',\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'friends'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-938aba00\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/friends_timeline/friends_timeline.vue\n// module id = 451\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: \"fa icon-cancel delete-status\"\n })])]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-ab5f3124\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/delete_button/delete_button.vue\n// module id = 452\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected),\n expression: \"selected\"\n }],\n staticClass: \"style-switcher\",\n on: {\n \"change\": function($event) {\n _vm.selected = 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 })[0]\n }\n }\n }, _vm._l((_vm.availableStyles), function(style) {\n return _c('option', [_vm._v(_vm._s(style))])\n }))\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-ae8f5000\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/style_switcher/style_switcher.vue\n// module id = 453\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('i', {\n staticClass: \"favorite-button fa\",\n class: _vm.classes,\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.favorite()\n }\n }\n }), _vm._v(\" \"), (_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.js?{\"id\":\"data-v-bd666be8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/favorite_button/favorite_button.vue\n// module id = 454\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 base00-background\"\n }, [_c('div', {\n staticClass: \"panel-heading base01-background base04\"\n }, [_vm._v(\"\\n Settings\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(\"Theme\")]), _vm._v(\" \"), _c('style-switcher')], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(\"Filtering\")]), _vm._v(\" \"), _c('p', [_vm._v(\"All notices containing these words will be muted, one per line\")]), _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._s(_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', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(\"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 \"click\": 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 ($$c) {\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(\"Hide attachments in timeline\")])]), _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 \"click\": 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 ($$c) {\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(\"Hide attachments in conversations\")])]), _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 \"click\": 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 ($$c) {\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(\"Enable clickthrough NSFW attachment hiding\")])])])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-cd51c000\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/settings/settings.vue\n// module id = 455\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 base01-background\"\n }, [_c('ul', {\n staticClass: \"base03-border\"\n }, [(_vm.currentUser) ? _c('li', [_c('router-link', {\n staticClass: \"base00-background\",\n attrs: {\n \"to\": \"/main/friends\"\n }\n }, [_vm._v(\"\\n Timeline\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', [_c('router-link', {\n staticClass: \"base00-background\",\n attrs: {\n \"to\": {\n name: 'mentions',\n params: {\n username: _vm.currentUser.screen_name\n }\n }\n }\n }, [_vm._v(\"\\n Mentions\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('li', [_c('router-link', {\n staticClass: \"base00-background\",\n attrs: {\n \"to\": \"/main/public\"\n }\n }, [_vm._v(\"\\n Public Timeline\\n \")])], 1), _vm._v(\" \"), _c('li', [_c('router-link', {\n staticClass: \"base00-background\",\n attrs: {\n \"to\": \"/main/all\"\n }\n }, [_vm._v(\"\\n The Whole Known Network\\n \")])], 1)])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-d306a29c\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/nav_panel/nav_panel.vue\n// module id = 456\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 }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.user\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-footer base00-background\"\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.js?{\"id\":\"data-v-eda04b40\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_panel/user_panel.vue\n// module id = 457\n// module chunks = 2"],"sourceRoot":""} \ No newline at end of file diff --git a/priv/static/static/js/app.8e94b6d65028f6ffaeee.js b/priv/static/static/js/app.8e94b6d65028f6ffaeee.js deleted file mode 100644 index 830f12f67..000000000 --- a/priv/static/static/js/app.8e94b6d65028f6ffaeee.js +++ /dev/null @@ -1,4 +0,0 @@ -webpackJsonp([2,0],[function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var a=s(96),i=n(a),r=s(451),o=n(r),u=s(454),l=n(u),c=s(408),d=n(c),f=s(420),v=n(f),m=s(419),p=n(m),h=s(413),_=n(h),g=s(410),b=n(g),w=s(416),y=n(w),C=s(426),S=n(C),x=s(422),k=n(x),M=s(98),j=n(M),$=s(156),O=n($),A=s(154),I=n(A),F=s(155),U=n(F),N=s(453),E=n(N),P=s(153),T=n(P);i.default.use(l.default),i.default.use(o.default),i.default.use(E.default,{locale:"en-US",locales:{"en-US":s(249)}});var L={paths:["config.hideAttachments","config.hideAttachmentsInConv","config.hideNsfw","statuses.notifications","users.users"]},D=new l.default.Store({modules:{statuses:j.default,users:O.default,api:I.default,config:U.default},plugins:[(0,T.default)(L)],strict:!1}),R=[{name:"root",path:"/",redirect:"/main/all"},{path:"/main/all",component:p.default},{path:"/main/public",component:v.default},{path:"/main/friends",component:_.default},{name:"conversation",path:"/notice/:id",component:b.default,meta:{dontScroll:!0}},{name:"user-profile",path:"/users/:id",component:S.default},{name:"mentions",path:"/:username/mentions",component:y.default},{name:"settings",path:"/settings",component:k.default}],H=new o.default({mode:"history",routes:R,scrollBehavior:function(t,e,s){return!t.matched.some(function(t){return t.meta.dontScroll})&&(s||{x:0,y:0})}});new i.default({router:H,store:D,el:"#app",render:function(t){return t(d.default)}}),window.fetch("/static/config.json").then(function(t){return t.json()}).then(function(t){var e=t.name,s=t.theme,n=t.background,a=t.logo;D.dispatch("setOption",{name:"name",value:e}),D.dispatch("setOption",{name:"theme",value:s}),D.dispatch("setOption",{name:"background",value:n}),D.dispatch("setOption",{name:"logo",value:a})})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s="/api/account/verify_credentials.json",n="/api/statuses/friends_timeline.json",a="/api/qvitter/allfollowing",i="/api/statuses/public_timeline.json",r="/api/statuses/public_and_external_timeline.json",o="/api/favorites/create",u="/api/favorites/destroy",l="/api/statuses/retweet",c="/api/statuses/update.json",d="/api/statuses/destroy",f="/api/statuses/show",v="/api/statusnet/media/upload",m="/api/statusnet/conversation",p="/api/statuses/mentions.json",h="/api/statuses/friends.json",_="/api/friendships/create.json",g="/api/friendships/destroy.json",b="/api/qvitter/set_profile_pref.json",w=window.fetch,y=function(t,e){var s="",n=s+t;return e.credentials="include",w(n,e)},C=function(t){return t&&t.username&&t.password?{Authorization:"Basic "+btoa(t.username+":"+t.password)}:{}},S=function(t){var e=t.id,s=t.credentials,n=_+"?user_id="+e;return y(n,{headers:C(s),method:"POST"}).then(function(t){return t.json()})},x=function(t){var e=t.id,s=t.credentials,n=g+"?user_id="+e;return y(n,{headers:C(s),method:"POST"}).then(function(t){return t.json()})},k=function(t){var e=t.credentials;return y(h,{headers:C(e)}).then(function(t){return t.json()})},M=function(t){var e=t.username,s=t.credentials,n=a+"/"+e+".json";return y(n,{headers:C(s)}).then(function(t){return t.json()})},j=function(t){var e=t.id,s=t.credentials,n=m+"/"+e+".json?count=100";return y(n,{headers:C(s)}).then(function(t){return t.json()})},$=function(t){var e=t.id,s=t.credentials,n=f+"/"+e+".json";return y(n,{headers:C(s)}).then(function(t){return t.json()})},O=function(t){var e=t.id,s=t.credentials,n=t.muted,a=void 0===n||n,i=new FormData,r=a?1:0;return i.append("namespace","qvitter"),i.append("data",r),i.append("topic","mute:"+e),y(b,{method:"POST",headers:C(s),body:i})},A=function(t){var e=t.timeline,s=t.credentials,a=t.since,o=void 0!==a&&a,u=t.until,l=void 0!==u&&u,c={public:i,friends:n,mentions:p,publicAndExternal:r},d=c[e];return o&&(d+="?since_id="+o),l&&(d+="?max_id="+l),y(d,{headers:C(s)}).then(function(t){return t.json()})},I=function(t){return y(s,{method:"POST",headers:C(t)})},F=function(t){var e=t.id,s=t.credentials;return y(o+"/"+e+".json",{headers:C(s),method:"POST"})},U=function(t){var e=t.id,s=t.credentials;return y(u+"/"+e+".json",{headers:C(s),method:"POST"})},N=function(t){var e=t.id,s=t.credentials;return y(l+"/"+e+".json",{headers:C(s),method:"POST"})},E=function(t){var e=t.credentials,s=t.status,n=t.mediaIds,a=t.inReplyToStatusId,i=n.join(","),r=new FormData;return r.append("status",s),r.append("source","Pleroma FE"),r.append("media_ids",i),a&&r.append("in_reply_to_status_id",a),y(c,{body:r,method:"POST",headers:C(e)})},P=function(t){var e=t.id,s=t.credentials;return y(d+"/"+e+".json",{headers:C(s),method:"POST"})},T=function(t){var e=t.formData,s=t.credentials;return y(v,{body:e,method:"POST",headers:C(s)}).then(function(t){return t.text()}).then(function(t){return(new DOMParser).parseFromString(t,"application/xml")})},L=function(t){var e=t.credentials,s="/api/qvitter/mutes.json";return y(s,{headers:C(e)}).then(function(t){return t.json()})},D={verifyCredentials:I,fetchTimeline:A,fetchConversation:j,fetchStatus:$,fetchFriends:k,followUser:S,unfollowUser:x,favorite:F,unfavorite:U,retweet:N,postStatus:E,deleteStatus:P,uploadMedia:T,fetchAllFollowing:M,setUserMute:O,fetchMutes:L};e.default=D},,,,,,,,,,,,,,,,,function(t,e,s){s(231);var n=s(1)(s(185),s(427),null,null);t.exports=n.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){s(234);var n=s(1)(s(182),s(432),null,null);t.exports=n.exports},function(t,e,s){s(248);var n=s(1)(s(164),s(450),null,null);t.exports=n.exports},,,function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.mutations=e.findMaxId=e.statusType=e.prepareStatus=e.defaultState=void 0;var a=s(190),i=n(a),r=s(2),o=n(r),u=s(386),l=n(u),c=s(92),d=n(c),f=s(149),v=n(f),m=s(387),p=n(m),h=s(380),_=n(h),g=s(86),b=n(g),w=s(85),y=n(w),C=s(24),S=n(C),x=s(93),k=n(x),M=s(395),j=n(M),$=s(394),O=n($),A=s(34),I=n(A),F=e.defaultState={allStatuses:[],allStatusesObject:{},maxId:0,notifications:[],favorites:new i.default,error:!1,timelines:{mentions:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1},public:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1},publicAndExternal:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1},friends:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1}}},U=e.prepareStatus=function(t){if(void 0===t.nsfw){var e=/#nsfw/i;t.nsfw=!!t.text.match(e)}return t.deleted=!1,t.attachments=t.attachments||[],t},N=e.statusType=function(t){return t.is_post_verb?"status":t.retweeted_status?"retweet":"string"==typeof t.uri&&t.uri.match(/(fave|objectType=Favourite)/)?"favorite":t.text.match(/deleted notice {{tag/)?"deletion":"unknown"},E=(e.findMaxId=function(){for(var t=arguments.length,e=Array(t),s=0;s2&&void 0!==arguments[2])||arguments[2],a=E(f,v,e);if(e=a.item,a.new&&(p(e),"retweet"===N(e)&&e.retweeted_status.user.id===u.id&&_({type:"repeat",status:e.retweeted_status,action:e}),"status"===N(e)&&(0,b.default)(e.attentions,{id:u.id}))){var r=t.timelines.mentions;m!==r&&(E(r.statuses,r.statusesObject,e),r.newStatusCount+=1,P(r)),_({type:"mention",status:e,action:e})}var o=void 0;return i&&n&&(o=E(m.statuses,m.statusesObject,e)),i&&s?E(m.visibleStatuses,m.visibleStatusesObject,e):i&&n&&o.new&&(m.newStatusCount+=1),e},_=function(e){var s=e.type,n=e.status,a=e.action;(0,b.default)(t.notifications,function(t){return t.action.id===a.id})||t.notifications.push({type:s,status:n,action:a,seen:!1})},g=function(t){var e=(0,b.default)(f,{id:(0,S.default)(t.in_reply_to_status_id)});return e&&(e.fave_num+=1,t.user.id===u.id&&(e.favorited=!0),e.user.id===u.id&&_({type:"favorite",status:e,action:t})),e},w={status:function(t){h(t,a)},retweet:function t(e){var s=h(e.retweeted_status,!1,!1),t=void 0;t=i&&(0,b.default)(m.statuses,{id:s.id})?h(e,!1,!1):h(e,a),t.retweeted_status=s},favorite:function(e){t.favorites.has(e.id)||(t.favorites.add(e.id),p(e),g(e))},deletion:function(t){var e=t.uri;p(t),(0,O.default)(f,{uri:e}),i&&((0,O.default)(m.statuses,{uri:e}),(0,O.default)(m.visibleStatuses,{uri:e}))},default:function(t){console.log("unknown status type"),console.log(t)}};(0,y.default)(s,function(t){var e=N(t),s=w[e]||w.default;s(t)}),i&&P(m)},L=e.mutations={addNewStatuses:T,showNewStatuses:function(t,e){var s=e.timeline,n=t.timelines[s];n.newStatusCount=0,n.visibleStatuses=(0,j.default)(n.statuses,0,50),n.visibleStatusesObject={},(0,y.default)(n.visibleStatuses,function(t){n.visibleStatusesObject[t.id]=t})},setFavorited:function(t,e){var s=e.status,n=e.value,a=t.allStatusesObject[s.id];a.favorited=n},setRetweeted:function(t,e){var s=e.status,n=e.value,a=t.allStatusesObject[s.id];a.repeated=n},setDeleted:function(t,e){var s=e.status,n=t.allStatusesObject[s.id];n.deleted=!0},setLoading:function(t,e){var s=e.timeline,n=e.value;t.timelines[s].loading=n},setNsfw:function(t,e){var s=e.id,n=e.nsfw,a=t.allStatusesObject[s];a.nsfw=n},setError:function(t,e){var s=e.value;t.error=s},markNotificationsAsSeen:function(t,e){(0,y.default)(e,function(t){t.seen=!0})}},D={state:F,actions:{addNewStatuses:function(t,e){var s=t.rootState,n=t.commit,a=e.statuses,i=e.showImmediately,r=void 0!==i&&i,o=e.timeline,u=void 0!==o&&o,l=e.noIdUpdate,c=void 0!==l&&l;n("addNewStatuses",{statuses:a,showImmediately:r,timeline:u,noIdUpdate:c,user:s.users.currentUser})},setError:function(t,e){var s=(t.rootState,t.commit),n=e.value;s("setError",{value:n})},deleteStatus:function(t,e){var s=t.rootState,n=t.commit;n("setDeleted",{status:e}),I.default.deleteStatus({id:e.id,credentials:s.users.currentUser.credentials})},favorite:function(t,e){var s=t.rootState,n=t.commit;n("setFavorited",{status:e,value:!0}),I.default.favorite({id:e.id,credentials:s.users.currentUser.credentials})},unfavorite:function(t,e){var s=t.rootState,n=t.commit;n("setFavorited",{status:e,value:!1}),I.default.unfavorite({id:e.id,credentials:s.users.currentUser.credentials})},retweet:function(t,e){var s=t.rootState,n=t.commit;n("setRetweeted",{status:e,value:!0}),I.default.retweet({id:e.id,credentials:s.users.currentUser.credentials})}},mutations:L};e.default=D},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(34),i=n(a),r=s(102),o=n(r),u=function(t){var e=function(e){var s=e.id;return i.default.fetchStatus({id:s,credentials:t})},s=function(e){var s=e.id;return i.default.fetchConversation({id:s,credentials:t})},n=function(){return i.default.fetchFriends({credentials:t})},a=function(e){var s=e.username;return i.default.fetchAllFollowing({username:s,credentials:t})},r=function(e){return i.default.followUser({credentials:t,id:e})},u=function(e){return i.default.unfollowUser({credentials:t,id:e})},l=function(e){var s=e.timeline,n=e.store;return o.default.startFetching({timeline:s,store:n,credentials:t})},c=function(e){var s=e.id,n=e.muted,a=void 0===n||n;return i.default.setUserMute({id:s,muted:a,credentials:t})},d=function(){return i.default.fetchMutes({credentials:t})},f={fetchStatus:e,fetchConversation:s,fetchFriends:n,followUser:r,unfollowUser:u,fetchAllFollowing:a,verifyCredentials:i.default.verifyCredentials,startFetching:l,setUserMute:c,fetchMutes:d};return f};e.default=u},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){var e="unknown";return t.match(/text\/html/)&&(e="html"),t.match(/image/)&&(e="image"),t.match(/video\/(webm|mp4)/)&&(e="video"),t.match(/audio|ogg/)&&(e="audio"),e},n={fileType:s};e.default=n},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(91),i=n(a),r=s(34),o=n(r),u=function(t){var e=t.store,s=t.status,n=t.media,a=void 0===n?[]:n,r=t.inReplyToStatusId,u=void 0===r?void 0:r,l=(0,i.default)(a,"id");return o.default.postStatus({credentials:e.state.users.currentUser.credentials,status:s,mediaIds:l,inReplyToStatusId:u}).then(function(t){return t.json()}).then(function(t){e.dispatch("addNewStatuses",{statuses:[t],timeline:"friends",showImmediately:!0,noIdUpdate:!0})})},l=function(t){var e=t.store,s=t.formData,n=e.state.users.currentUser.credentials;return o.default.uploadMedia({credentials:n,formData:s}).then(function(t){var e=t.getElementsByTagName("link");0===e.length&&(e=t.getElementsByTagName("atom:link")),e=e[0];var s={id:t.getElementsByTagName("media_id")[0].textContent,url:t.getElementsByTagName("media_url")[0].textContent,image:e.getAttribute("href"),mimetype:e.getAttribute("type")};return s})},c={postStatus:u,uploadMedia:l};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(373),i=n(a),r=s(34),o=n(r),u=function(t){var e=t.store,s=t.statuses,n=t.timeline,a=t.showImmediately,r=(0,i.default)(n);e.dispatch("setError",{value:!1}),e.dispatch("addNewStatuses",{timeline:r,statuses:s,showImmediately:a})},l=function(t){var e=t.store,s=t.credentials,n=t.timeline,a=void 0===n?"friends":n,r=t.older,l=void 0!==r&&r,c=t.showImmediately,d=void 0!==c&&c,f={timeline:a,credentials:s},v=e.rootState||e.state,m=v.statuses.timelines[(0,i.default)(a)];return l?f.until=m.minVisibleId:f.since=m.maxId,o.default.fetchTimeline(f).then(function(t){return u({store:e,statuses:t,timeline:a,showImmediately:d})},function(){return e.dispatch("setError",{value:!0})})},c=function(t){var e=t.timeline,s=void 0===e?"friends":e,n=t.credentials,a=t.store;l({timeline:s,credentials:n,store:a,showImmediately:!0});var i=function(){return l({timeline:s,credentials:n,store:a})};return setInterval(i,1e4)},d={fetchAndUpdate:l,startFetching:c};e.default=d},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){s(237);var n=s(1)(s(168),s(436),null,null);t.exports=n.exports},function(t,e,s){s(239);var n=s(1)(s(177),s(439),null,null);t.exports=n.exports},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,s=void 0===e?"vuex-lz":e,n=t.paths,a=void 0===n?[]:n,i=t.getState,o=void 0===i?function(t,e){var s=e.getItem(t);return s}:i,l=t.setState,d=void 0===l?(0,c.default)(b,6e4):l,v=t.reducer,m=void 0===v?_:v,p=t.storage,h=void 0===p?g:p,w=t.subscriber,y=void 0===w?function(t){return function(e){return t.subscribe(e)}}:w;return function(t){o(s,h).then(function(e){if("object"===("undefined"==typeof e?"undefined":(0,r.default)(e))){var s=e.users||{};s.usersObject={};var n=s.users||[];(0,u.default)(n,function(t){s.usersObject[t.id]=t}),e.users=s,t.replaceState((0,f.default)({},t.state,e))}}),y(t)(function(t,e){try{d(s,m(e,a),h)}catch(t){console.log("Couldn't persist state:"),console.log(t)}})}}Object.defineProperty(e,"__esModule",{value:!0});var i=s(194),r=n(i),o=s(85),u=n(o),l=s(399),c=n(l);e.default=a;var d=s(262),f=n(d),v=s(406),m=n(v),p=s(250),h=n(p),_=function(t,e){return 0===e.length?t:e.reduce(function(e,s){return m.default.set(e,s,m.default.get(t,s)),e},{})},g=function(){return h.default}(),b=function(t,e,s){return s.setItem(t,e)}},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(99),i=n(a),r={state:{backendInteractor:(0,i.default)(),fetchers:{}},mutations:{setBackendInteractor:function(t,e){t.backendInteractor=e},addFetcher:function(t,e){var s=e.timeline,n=e.fetcher;t.fetchers[s]=n},removeFetcher:function(t,e){var s=e.timeline;delete t.fetchers[s]}},actions:{startFetching:function(t,e){if(!t.state.fetchers[e]){var s=t.state.backendInteractor.startFetching({timeline:e,store:t});t.commit("addFetcher",{timeline:e,fetcher:s})}},stopFetching:function(t,e){var s=t.state.fetchers[e];window.clearInterval(s),t.commit("removeFetcher",{timeline:e})}}};e.default=r},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(96),i=s(157),r=n(i),o={name:"Pleroma FE",colors:{},hideAttachments:!1,hideAttachmentsInConv:!1,hideNsfw:!0},u={state:o,mutations:{setOption:function(t,e){var s=e.name,n=e.value;(0,a.set)(t,s,n)}},actions:{setPageTitle:function(t){var e=t.state,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";document.title=s+" "+e.name},setOption:function(t,e){var s=t.commit,n=t.dispatch,a=e.name,i=e.value;switch(s("setOption",{name:a,value:i}),a){case"name":n("setPageTitle");break;case"theme":var o="/static/css/"+i;r.default.setStyle(o,s)}}}};e.default=u},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.defaultState=e.mutations=e.mergeOrAdd=void 0;var a=s(189),i=n(a),r=s(92),o=n(r),u=s(85),l=n(u),c=s(91),d=n(c),f=s(375),v=n(f),m=s(99),p=n(m),h=s(96),_=e.mergeOrAdd=function(t,e,s){if(!s)return!1;var n=e[s.id];return n?((0,o.default)(n,s),{item:n,new:!1}):(t.push(s),e[s.id]=s,{item:s,new:!0})},g=e.mutations={setMuted:function(t,e){var s=e.user.id,n=e.muted,a=t.usersObject[s];(0,h.set)(a,"muted",n)},setCurrentUser:function(t,e){t.currentUser=e},beginLogin:function(t){t.loggingIn=!0},endLogin:function(t){t.loggingIn=!1},addNewUsers:function(t,e){(0,l.default)(e,function(e){return _(t.users,t.usersObject,e)})},setUserForStatus:function(t,e){e.user=t.usersObject[e.user.id]}},b=e.defaultState={currentUser:!1,loggingIn:!1,users:[],usersObject:{}},w={state:b,mutations:g,actions:{addNewStatuses:function(t,e){var s=e.statuses,n=(0,d.default)(s,"user"),a=(0,v.default)((0,d.default)(s,"retweeted_status.user"));t.commit("addNewUsers",n),t.commit("addNewUsers",a),(0,l.default)(s,function(e){t.commit("setUserForStatus",e)}),(0,l.default)((0,v.default)((0,d.default)(s,"retweeted_status")),function(e){t.commit("setUserForStatus",e)})},loginUser:function(t,e){return new i.default(function(s,n){var a=t.commit;a("beginLogin"),t.rootState.api.backendInteractor.verifyCredentials(e).then(function(i){i.ok?i.json().then(function(s){s.credentials=e,a("setCurrentUser",s),a("addNewUsers",[s]),a("setBackendInteractor",(0,p.default)(e)),t.dispatch("startFetching","friends"),t.rootState.api.backendInteractor.fetchMutes().then(function(e){(0,l.default)(e,function(t){t.muted=!0}),t.commit("addNewUsers",e)}),t.rootState.api.backendInteractor.fetchFriends().then(function(t){return a("addNewUsers",t)})}):(a("endLogin"),n(401===i.status?"Wrong username or password":"An error occurred, please try again")),a("endLogin"),s()}).catch(function(t){console.log(t),a("endLogin"),n("Failed to connect to server, try again")})})}}};e.default=w},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(400),i=n(a),r=function(t,e){var s=document.head,n=document.body;n.style.display="none";var a=document.createElement("link");a.setAttribute("rel","stylesheet"),a.setAttribute("href",t),s.appendChild(a);var r=function(){var t=document.createElement("div");n.appendChild(t);var a={};(0,i.default)(16,function(e){var s="base0"+e.toString(16).toUpperCase();t.setAttribute("class",s);var n=window.getComputedStyle(t).getPropertyValue("color");a[s]=n}),e("setOption",{name:"colors",value:a}),n.removeChild(t);var r=document.createElement("style");s.appendChild(r);var o=r.sheet;o.insertRule("a { color: "+a.base08,"index-max"),o.insertRule("body { color: "+a.base05,"index-max"),o.insertRule(".base05-border { border-color: "+a.base05,"index-max"),o.insertRule(".base03-border { border-color: "+a.base03,"index-max"),n.style.display="initial"};a.addEventListener("load",r)},o={setStyle:r};e.default=o},,,,,,,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["user"],computed:{headingStyle:function(){var t=this.$store.state.config.colors.base00.match(/\d+/g);return{backgroundColor:"rgb("+Math.floor(.53*t[0])+", "+Math.floor(.56*t[1])+", "+Math.floor(.59*t[2])+")",backgroundImage:"url("+this.user.cover_photo+")"}},bodyStyle:function(){return{background:"linear-gradient(to bottom, rgba(0, 0, 0, 0), "+this.$store.state.config.colors.base00+" 80%)"}},isOtherUser:function(){return this.user!==this.$store.state.users.currentUser},loggedIn:function(){return this.$store.state.users.currentUser},dailyAvg:function(){return Math.round(this.user.statuses_count/((new Date-new Date(this.user.created_at))/864e5))}},methods:{followUser:function(){var t=this.$store;t.state.api.backendInteractor.followUser(this.user.id).then(function(e){return t.commit("addNewUsers",[e])})},unfollowUser:function(){var t=this.$store;t.state.api.backendInteractor.unfollowUser(this.user.id).then(function(e){return t.commit("addNewUsers",[e])})},toggleMute:function(){var t=this.$store;t.commit("setMuted",{user:this.user,muted:!this.user.muted}),t.state.api.backendInteractor.setUserMute(this.user)}}}},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(425),i=n(a),r=s(417),o=n(r),u=s(418),l=n(u);e.default={name:"app",components:{UserPanel:i.default,NavPanel:o.default,Notifications:l.default},data:function(){return{mobileActivePanel:"timeline"}},computed:{currentUser:function(){return this.$store.state.users.currentUser},background:function(){return this.currentUser.background_image||this.$store.state.config.background},logoStyle:function(){return{"background-image":"url("+this.$store.state.config.logo+")"}},style:function(){return{"background-image":"url("+this.background+")"}},sitename:function(){return this.$store.state.config.name}},methods:{activatePanel:function(t){this.mobileActivePanel=t},scrollToTop:function(){window.scrollTo(0,0)}}}},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(407),i=n(a),r=s(100),o=n(r),u={props:["attachment","nsfw","statusId"],data:function(){return{nsfwImage:i.default,hideNsfwLocal:this.$store.state.config.hideNsfw,showHidden:!1,loading:!1,img:document.createElement("img")}},computed:{type:function(){return o.default.fileType(this.attachment.mimetype)},hidden:function(){return this.nsfw&&this.hideNsfwLocal&&!this.showHidden},autoHeight:function(){if("image"===this.type&&this.nsfw)return{"min-height":"311px"}}},methods:{linkClicked:function(t){var e=t.target;"A"===e.tagName&&window.open(e.href,"_blank")},toggleHidden:function(){var t=this;this.img.onload?this.img.onload():(this.loading=!0,this.img.src=this.attachment.url,this.img.onload=function(){t.loading=!1,t.showHidden=!t.showHidden})}}};e.default=u},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(24),i=n(a),r=s(86),o=n(r),u=s(151),l=n(u),c={components:{Conversation:l.default},computed:{statusoid:function(){var t=(0,i.default)(this.$route.params.id),e=this.$store.state.statuses.allStatuses,s=(0,o.default)(e,{id:t});return s}}};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(93),i=n(a),r=s(147),o=n(r),u=s(98),l=s(94),c=n(l),d=function(t){return t=(0,o.default)(t,function(t){return"retweet"!==(0,u.statusType)(t)}),(0,i.default)(t,"id")},f={props:["statusoid","collapsable"],computed:{status:function(){return this.statusoid},conversation:function t(){if(!this.status)return!1;var e=this.status.statusnet_conversation_id,s=this.$store.state.statuses.allStatuses,t=(0,o.default)(s,{statusnet_conversation_id:e});return d(t)}},components:{Status:c.default},created:function(){this.fetchConversation()},watch:{$route:"fetchConversation"},methods:{fetchConversation:function(){var t=this;if(this.status){var e=this.status.statusnet_conversation_id;this.$store.state.api.backendInteractor.fetchConversation({id:e}).then(function(e){return t.$store.dispatch("addNewStatuses",{statuses:e})})}else{var s=this.$route.params.id;this.$store.state.api.backendInteractor.fetchStatus({id:s}).then(function(e){return t.$store.dispatch("addNewStatuses",{statuses:[e]})}).then(function(){return t.fetchConversation()})}},focused:function(t){return this.statusoid.retweeted_status?t===this.statusoid.retweeted_status.id:t===this.statusoid.id}}};e.default=f},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={props:["status"],methods:{deleteStatus:function(){var t=window.confirm("Do you really want to delete this status?");t&&this.$store.dispatch("deleteStatus",{id:this.status.id})}},computed:{currentUser:function(){return this.$store.state.users.currentUser},canDelete:function(){return this.currentUser.rights.delete_others_notice||this.status.user.id===this.currentUser.id}}};e.default=s},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={props:["status"],data:function(){return{animated:!1}},methods:{favorite:function(){var t=this;this.status.favorited?this.$store.dispatch("unfavorite",{id:this.status.id}):this.$store.dispatch("favorite",{id:this.status.id}),this.animated=!0,setTimeout(function(){t.animated=!1},500)}},computed:{classes:function(){return{"icon-star-empty":!this.status.favorited,"icon-star":this.status.favorited,"animate-spin":this.animated}}}};e.default=s},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(51),i=n(a),r={components:{Timeline:i.default},computed:{timeline:function(){return this.$store.state.statuses.timelines.friends}}};e.default=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={data:function(){return{user:{},authError:!1}},computed:{loggingIn:function(){return this.$store.state.users.loggingIn}},methods:{submit:function(){var t=this;this.$store.dispatch("loginUser",this.user).then(function(){},function(e){t.authError=e,t.user.username="",t.user.password=""})}}};e.default=s},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(101),i=n(a),r={mounted:function(){var t=this,e=this.$el.querySelector("input");e.addEventListener("change",function(e){var s=e.target,n=s.files[0];t.uploadFile(n)})},data:function(){return{uploading:!1}},methods:{uploadFile:function(t){var e=this,s=this.$store,n=new FormData;n.append("media",t),e.$emit("uploading"),e.uploading=!0,i.default.uploadMedia({store:s,formData:n}).then(function(t){e.$emit("uploaded",t),e.uploading=!1},function(t){e.$emit("upload-failed"),e.uploading=!1})},fileDrop:function(t){t.dataTransfer.files.length>0&&(t.preventDefault(),this.uploadFile(t.dataTransfer.files[0]))},fileDrag:function(t){var e=t.dataTransfer.types;e.contains("Files")?t.dataTransfer.dropEffect="copy":t.dataTransfer.dropEffect="none"}},props:["dropFiles"],watch:{dropFiles:function(t){this.uploading||this.uploadFile(t[0])}}};e.default=r},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(51),i=n(a),r={computed:{timeline:function(){return this.$store.state.statuses.timelines.mentions}},components:{Timeline:i.default}};e.default=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={computed:{currentUser:function(){return this.$store.state.users.currentUser}}};e.default=s},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(147),i=n(a),r=s(398),o=n(r),u=s(93),l=n(u),c={data:function(){return{visibleNotificationCount:10}},computed:{notifications:function(){return this.$store.state.statuses.notifications},unseenNotifications:function(){return(0,i.default)(this.notifications,function(t){var e=t.seen;return!e})},visibleNotifications:function(){var t=(0,l.default)(this.notifications,function(t){var e=t.action;return-e.id});return t=(0,l.default)(t,"seen"),(0,o.default)(t,this.visibleNotificationCount)},unseenCount:function(){return this.unseenNotifications.length}},watch:{unseenCount:function(t){t>0?this.$store.dispatch("setPageTitle","("+t+")"):this.$store.dispatch("setPageTitle","")}},methods:{markAsSeen:function(){this.$store.commit("markNotificationsAsSeen",this.visibleNotifications)}}};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(193),i=n(a),r=s(403),o=n(r),u=s(91),l=n(u),c=s(393),d=n(c),f=s(92),v=n(f),m=s(101),p=n(m),h=s(415),_=n(h),g=s(100),b=n(g),w=s(158),y=n(w);s(230);var C=function(t,e){var s=t.user,n=t.attentions,a=[].concat((0,i.default)(n));a.unshift(s),a=(0,o.default)(a,"id"),a=(0,d.default)(a,{id:e.id});var r=(0,l.default)(a,function(t){return"@"+t.screen_name});return r.join(" ")+" "},S={trigger:"@",iframe:null,selectClass:"highlight",selectTemplate:function(t){return"@"+t.original.screen_name},menuItemTemplate:function(t){return'
"+t.string+"
"},noMatchTemplate:null,menuContainer:document.body,lookup:function(t){var e=t.name,s=t.screen_name;return e+" (@"+s+")"},fillAttr:"screen_name",values:[],requireLeadingSpace:!0,allowSpaces:!1},x=new y.default({collection:[]}),k={props:["replyTo","repliedUser","attentions"],components:{MediaUpload:_.default},data:function(){var t="";if(this.replyTo){var e=this.$store.state.users.currentUser;t=C({user:this.repliedUser,attentions:this.attentions},e)}return{dropFiles:[],submitDisabled:!1,newStatus:{status:t,files:[]}}},computed:{users:function(){return this.$store.state.users.users},completions:function(){var t=this.users;return t=(0,v.default)({values:t},S),[t]}},watch:{completions:function(){x.collection=this.completions}},mounted:function(){var t=this.$el.querySelector("textarea");x.collection=this.completions,x.attach(t)},methods:{postStatus:function(t){p.default.postStatus({status:t.status,media:t.files,store:this.$store,inReplyToStatusId:this.replyTo}),this.newStatus={status:"",files:[]},this.$emit("posted")},addMediaFile:function(t){this.newStatus.files.push(t),this.enableSubmit()},removeMediaFile:function(t){var e=this.newStatus.files.indexOf(t);this.newStatus.files.splice(e,1)},disableSubmit:function(){this.submitDisabled=!0},enableSubmit:function(){this.submitDisabled=!1},type:function(t){return b.default.fileType(t.mimetype)},fileDrop:function(t){t.dataTransfer.files.length>0&&(t.preventDefault(),this.dropFiles=t.dataTransfer.files)},fileDrag:function(t){t.dataTransfer.dropEffect="copy"}}};e.default=k},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(51),i=n(a),r={components:{Timeline:i.default},computed:{timeline:function(){return this.$store.state.statuses.timelines.publicAndExternal}},created:function(){this.$store.dispatch("startFetching","publicAndExternal"); -},destroyed:function(){this.$store.dispatch("stopFetching","publicAndExternal")}};e.default=r},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(51),i=n(a),r={components:{Timeline:i.default},computed:{timeline:function(){return this.$store.state.statuses.timelines.public}},created:function(){this.$store.dispatch("startFetching","public")},destroyed:function(){this.$store.dispatch("stopFetching","public")}};e.default=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={props:["status"],data:function(){return{animated:!1}},methods:{retweet:function(){var t=this;this.status.repeated||this.$store.dispatch("retweet",{id:this.status.id}),this.animated=!0,setTimeout(function(){t.animated=!1},500)}},computed:{classes:function(){return{retweeted:this.status.repeated,"animate-spin":this.animated}}}};e.default=s},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(424),i=n(a),r={data:function(){return{hideAttachmentsLocal:this.$store.state.config.hideAttachments,hideAttachmentsInConvLocal:this.$store.state.config.hideAttachmentsInConv,hideNsfwLocal:this.$store.state.config.hideNsfw}},components:{StyleSwitcher:i.default},watch:{hideAttachmentsLocal:function(t){this.$store.dispatch("setOption",{name:"hideAttachments",value:t})},hideAttachmentsInConvLocal:function(t){this.$store.dispatch("setOption",{name:"hideAttachmentsInConv",value:t})},hideNsfwLocal:function(t){this.$store.dispatch("setOption",{name:"hideNsfw",value:t})}}};e.default=r},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(409),i=n(a),r=s(412),o=n(r),u=s(421),l=n(u),c=s(411),d=n(c),f=s(152),v=n(f),m=s(95),p=n(m),h={props:["statusoid","expandable","inConversation","focused"],data:function(){return{replying:!1,expanded:!1,unmuted:!1,userExpanded:!1}},computed:{hideAttachments:function(){return this.$store.state.config.hideAttachments&&!this.inConversation||this.$store.state.config.hideAttachmentsInConv&&this.inConversation},retweet:function(){return!!this.statusoid.retweeted_status},retweeter:function(){return this.statusoid.user.name},status:function(){return this.retweet?this.statusoid.retweeted_status:this.statusoid},loggedIn:function(){return!!this.$store.state.users.currentUser},muted:function(){return!this.unmuted&&this.status.user.muted},isReply:function(){return!!this.status.in_reply_to_status_id},borderColor:function(){return{borderBottomColor:this.$store.state.config.colors.base02}}},components:{Attachment:i.default,FavoriteButton:o.default,RetweetButton:l.default,DeleteButton:d.default,PostStatusForm:v.default,UserCardContent:p.default},methods:{linkClicked:function(t){var e=t.target;"SPAN"===e.tagName&&(e=e.parentNode),"A"===e.tagName&&window.open(e.href,"_blank")},toggleReplying:function(){this.replying=!this.replying},toggleExpanded:function(){this.$emit("toggleExpanded")},toggleMute:function(){this.unmuted=!this.unmuted},toggleUserExpanded:function(){this.userExpanded=!this.userExpanded}}};e.default=h},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(94),i=n(a),r=s(151),o=n(r),u={props:["statusoid"],data:function(){return{expanded:!1}},components:{Status:i.default,Conversation:o.default},methods:{toggleExpanded:function(){this.expanded=!this.expanded}}};e.default=u},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={data:function(){return{availableStyles:[],selected:this.$store.state.config.theme}},created:function(){var t=this;window.fetch("/static/css/themes.json").then(function(t){return t.json()}).then(function(e){t.availableStyles=e})},watch:{selected:function(){this.$store.dispatch("setOption",{name:"theme",value:this.selected})}}}},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(94),i=n(a),r=s(102),o=n(r),u=s(423),l=n(u),c={props:["timeline","timelineName","title"],computed:{timelineError:function(){return this.$store.state.statuses.error}},components:{Status:i.default,StatusOrConversation:l.default},created:function(){var t=this.$store,e=t.state.users.currentUser.credentials,s=0===this.timeline.visibleStatuses.length;o.default.fetchAndUpdate({store:t,credentials:e,timeline:this.timelineName,showImmediately:s})},methods:{showNewStatuses:function(){this.$store.commit("showNewStatuses",{timeline:this.timelineName})},fetchOlderStatuses:function(){var t=this,e=this.$store,s=e.state.users.currentUser.credentials;e.commit("setLoading",{timeline:this.timelineName,value:!0}),o.default.fetchAndUpdate({store:e,credentials:s,timeline:this.timelineName,older:!0,showImmediately:!0}).then(function(){return e.commit("setLoading",{timeline:t.timelineName,value:!1})})}}};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(414),i=n(a),r=s(152),o=n(r),u=s(95),l=n(u),c={computed:{user:function(){return this.$store.state.users.currentUser}},components:{LoginForm:i.default,PostStatusForm:o.default,UserCardContent:l.default}};e.default=c},function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var a=s(86),i=n(a),r=s(95),o=n(r),u={computed:{user:function t(){var e=this.$route.params.id,t=(0,i.default)(this.$store.state.users.users,{id:e});return t}},components:{UserCardContent:o.default}};e.default=u},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){t.exports=["just now",["%s second ago","%s seconds ago"],["%s minute ago","%s minutes ago"],["%s hour ago","%s hours ago"],["%s day ago","%s days ago"],["%s week ago","%s weeks ago"],["%s month ago","%s months ago"],["%s year ago","%s years ago"]]},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){t.exports=s.p+"static/img/nsfw.9399fe3.png"},function(t,e,s){s(242);var n=s(1)(s(165),s(442),null,null);t.exports=n.exports},function(t,e,s){s(240);var n=s(1)(s(166),s(440),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(167),s(429),null,null);t.exports=n.exports},function(t,e,s){s(238);var n=s(1)(s(169),s(438),null,null);t.exports=n.exports},function(t,e,s){s(243);var n=s(1)(s(170),s(444),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(171),s(430),null,null);t.exports=n.exports},function(t,e,s){s(233);var n=s(1)(s(172),s(431),null,null);t.exports=n.exports},function(t,e,s){s(244);var n=s(1)(s(173),s(445),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(174),s(433),null,null);t.exports=n.exports},function(t,e,s){s(232);var n=s(1)(s(175),s(428),null,null);t.exports=n.exports},function(t,e,s){s(235);var n=s(1)(s(176),s(434),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(178),s(437),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(179),s(443),null,null);t.exports=n.exports},function(t,e,s){s(236);var n=s(1)(s(180),s(435),null,null);t.exports=n.exports},function(t,e,s){s(245);var n=s(1)(s(181),s(446),null,null);t.exports=n.exports},function(t,e,s){s(241);var n=s(1)(s(183),s(441),null,null);t.exports=n.exports},function(t,e,s){s(246);var n=s(1)(s(184),s(447),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(186),s(448),null,null);t.exports=n.exports},function(t,e,s){s(247);var n=s(1)(s(187),s(449),null,null);t.exports=n.exports},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline panel panel-default"},[s("div",{staticClass:"panel-heading timeline-heading base01-background base04"},[s("div",{staticClass:"title"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.timeline.newStatusCount>0&&!t.timelineError?s("button",{staticClass:"base06 base02-background loadmore-button",on:{click:function(e){e.preventDefault(),t.showNewStatuses(e)}}},[t._v("\n Show new ("+t._s(t.timeline.newStatusCount)+")\n ")]):t._e(),t._v(" "),t.timelineError?s("button",{staticClass:"base06 error no-press loadmore-button",on:{click:function(t){t.preventDefault()}}},[t._v("\n Error fetching updates\n ")]):t._e(),t._v(" "),!t.timeline.newStatusCount>0&&!t.timelineError?s("button",{staticClass:"base04 base01-background no-press loadmore-button",on:{click:function(t){t.preventDefault()}}},[t._v("\n Up-to-date\n ")]):t._e()]),t._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"timeline"},[t._l(t.timeline.visibleStatuses,function(t){return s("status-or-conversation",{key:t.id,attrs:{statusoid:t}})}),t._v(" "),t.timeline.loading?s("div",{staticClass:"base01-background base03-border new-status-notification text-center"},[t._v("...")]):s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.fetchOlderStatuses()}}},[s("div",{staticClass:"base01-background base03-border new-status-notification text-center"},[t._v("Load older statuses.")])])],2)])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"nav-panel"},[s("div",{staticClass:"panel panel-default base01-background"},[s("ul",{staticClass:"base03-border"},[t.currentUser?s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/friends"}},[t._v("\n Timeline\n ")])],1):t._e(),t._v(" "),t.currentUser?s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:{name:"mentions",params:{username:t.currentUser.screen_name}}}},[t._v("\n Mentions\n ")])],1):t._e(),t._v(" "),s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/public"}},[t._v("\n Public Timeline\n ")])],1),t._v(" "),s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/all"}},[t._v("\n The Whole Known Network\n ")])],1)])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("conversation",{attrs:{collapsable:!1,statusoid:t.statusoid}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Timeline",{attrs:{title:"Friends",timeline:t.timeline,"timeline-name":"friends"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"login panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base01-background base04"},[t._v("\n Log in\n ")]),t._v(" "),s("div",{staticClass:"panel-body"},[s("form",{staticClass:"login-form",on:{submit:function(e){e.preventDefault(),t.submit(t.user)}}},[s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"username"}},[t._v("Username")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.user.username,expression:"user.username"}],staticClass:"form-control",attrs:{disabled:t.loggingIn,id:"username",placeholder:"e.g. lain"},domProps:{value:t._s(t.user.username)},on:{input:function(e){e.target.composing||(t.user.username=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"password"}},[t._v("Password")]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.user.password,expression:"user.password"}],staticClass:"form-control",attrs:{disabled:t.loggingIn,id:"password",type:"password"},domProps:{value:t._s(t.user.password)},on:{input:function(e){e.target.composing||(t.user.password=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("button",{staticClass:"btn btn-default base05 base01-background",attrs:{disabled:t.loggingIn,type:"submit"}},[t._v("Submit")])]),t._v(" "),t.authError?s("div",{staticClass:"form-group"},[s("div",{staticClass:"error base05"},[t._v(t._s(t.authError))])]):t._e()])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.status.deleted?t._e():s("div",{staticClass:"status-el base00-background base03-border",class:[{"base01-background":t.focused},{"status-conversation":t.inConversation}]},[t.muted?[s("div",{staticClass:"media status container muted"},[s("small",[s("router-link",{attrs:{to:{name:"user-profile",params:{id:t.status.user.id}}}},[t._v(t._s(t.status.user.screen_name))])],1),t._v(" "),s("a",{staticClass:"unmute",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleMute(e)}}},[s("i",{staticClass:"icon-eye-off"})])])]:t._e(),t._v(" "),t.muted?t._e():[t.retweet?s("div",{staticClass:"media container retweet-info"},[t._m(0),t._v(" "),s("div",{staticClass:"media-body"},[t._v("\n Retweeted by "+t._s(t.retweeter)+"\n ")])]):t._e(),t._v(" "),s("div",{staticClass:"media status container"},[s("div",{staticClass:"media-left"},[s("a",{attrs:{href:t.status.user.statusnet_profile_url}},[s("img",{staticClass:"avatar",attrs:{src:t.status.user.profile_image_url_original},on:{click:function(e){e.preventDefault(),t.toggleUserExpanded(e)}}})])]),t._v(" "),s("div",{staticClass:"media-body"},[t.userExpanded?s("div",{staticClass:"base05 base05=border usercard"},[s("user-card-content",{attrs:{user:t.status.user}})],1):t._e(),t._v(" "),s("div",{staticClass:"user-content"},[s("h4",{staticClass:"media-heading"},[t._v("\n "+t._s(t.status.user.name)+"\n "),s("small",[s("router-link",{attrs:{to:{name:"user-profile",params:{id:t.status.user.id}}}},[t._v(t._s(t.status.user.screen_name))])],1),t._v(" "),t.status.in_reply_to_screen_name?s("small",[t._v(" >\n "),s("router-link",{attrs:{to:{name:"user-profile",params:{id:t.status.in_reply_to_user_id}}}},[t._v("\n "+t._s(t.status.in_reply_to_screen_name)+"\n ")])],1):t._e(),t._v(" "),t.isReply?[s("small",[s("router-link",{attrs:{to:{name:"conversation",params:{id:t.status.in_reply_to_status_id}}}},[s("i",{staticClass:"icon-reply"})])],1)]:t._e(),t._v("\n -\n "),s("small",[s("router-link",{attrs:{to:{name:"conversation",params:{id:t.status.id}}}},[s("timeago",{attrs:{since:t.status.created_at,"auto-update":60}})],1)],1),t._v(" "),t.expandable?[t._v("\n -\n "),s("small",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleExpanded(e)}}},[s("i",{staticClass:"icon-plus-squared"})])]),t._v(" "),t.status.user.muted?s("small",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleMute(e)}}},[s("i",{staticClass:"icon-eye-off"})])]):t._e()]:t._e(),t._v(" "),t.status.is_local?t._e():s("small",{staticClass:"source_url"},[s("a",{attrs:{href:t.status.external_url,target:"_blank"}},[s("i",{staticClass:"icon-binoculars"})])])],2),t._v(" "),s("div",{staticClass:"status-content",domProps:{innerHTML:t._s(t.status.statusnet_html)},on:{click:function(e){e.preventDefault(),t.linkClicked(e)}}}),t._v(" "),t.status.attachments?s("div",{staticClass:"attachments"},t._l(t.status.attachments,function(e){return t.hideAttachments?t._e():s("attachment",{attrs:{"status-id":t.status.id,nsfw:t.status.nsfw,attachment:e}})})):t._e()]),t._v(" "),t.loggedIn?s("div",[s("div",{staticClass:"status-actions"},[s("div",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleReplying(e)}}},[s("i",{staticClass:"fa icon-reply",class:{"icon-reply-active":t.replying}})])]),t._v(" "),s("retweet-button",{attrs:{status:t.status}}),t._v(" "),s("favorite-button",{attrs:{status:t.status}}),t._v(" "),s("delete-button",{attrs:{status:t.status}})],1)]):t._e()])]),t._v(" "),t.replying?s("div",{staticClass:"status base00-background container"},[s("div",{staticClass:"reply-left"}),t._v(" "),s("post-status-form",{staticClass:"reply-body",attrs:{"reply-to":t.status.id,attentions:t.status.attentions,repliedUser:t.status.user},on:{posted:t.toggleReplying}})],1):t._e()]],2)},staticRenderFns:[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"media-left"},[s("i",{staticClass:"fa icon-retweet retweeted"})])}]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Timeline",{attrs:{title:"Mentions",timeline:t.timeline,"timeline-name":"mentions"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"notifications"},[s("div",{staticClass:"panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base01-background base04"},[t.unseenCount?s("span",{staticClass:"unseen-count"},[t._v(t._s(t.unseenCount))]):t._e(),t._v("\n Notifications\n "),s("button",{staticClass:"base06 base02-background read-button",on:{click:function(e){e.preventDefault(),t.markAsSeen(e)}}},[t._v("Read!")])]),t._v(" "),s("div",{staticClass:"panel-body base03-border"},t._l(t.visibleNotifications,function(e){return s("div",{staticClass:"notification",class:{unseen:!e.seen}},[s("a",{attrs:{href:e.action.user.statusnet_profile_url}},[s("img",{staticClass:"avatar",attrs:{src:e.action.user.profile_image_url_original}})]),t._v(" "),s("div",{staticClass:"text"},[s("timeago",{attrs:{since:e.action.created_at,"auto-update":240}}),t._v(" "),"favorite"===e.type?s("div",[s("h1",[t._v(t._s(e.action.user.name)),s("br"),s("i",{staticClass:"fa icon-star"}),t._v(" favorited your "),s("router-link",{attrs:{to:{name:"conversation",params:{id:e.status.id}}}},[t._v("status")])],1),t._v(" "),s("p",[t._v(t._s(e.status.text))])]):t._e(),t._v(" "),"repeat"===e.type?s("div",[s("h1",[t._v(t._s(e.action.user.name)),s("br"),s("i",{staticClass:"fa icon-retweet"}),t._v(" repeated your "),s("router-link",{attrs:{to:{name:"conversation",params:{id:e.status.id}}}},[t._v("status")])],1),t._v(" "),s("p",[t._v(t._s(e.status.text))])]):t._e(),t._v(" "),"mention"===e.type?s("div",[s("h1",[t._v(t._s(e.action.user.name)),s("br"),s("i",{staticClass:"fa icon-reply"}),t._v(" "),s("router-link",{attrs:{to:{name:"conversation",params:{id:e.status.id}}}},[t._v("mentioned")]),t._v(" you")],1),t._v(" "),s("p",[t._v(t._s(e.status.text))])]):t._e()],1)])}))])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("i",{staticClass:"icon-retweet fa",class:t.classes,on:{click:function(e){e.preventDefault(),t.retweet()}}}),t._v(" "),t.status.repeat_num>0?s("span",[t._v(t._s(t.status.repeat_num))]):t._e()])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"timeline panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base01-background base04 base03-border conversation-heading"},[t._v("\n Conversation\n "),t.collapsable?s("span",{staticStyle:{float:"right"}},[s("small",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.$emit("toggleExpanded")}}},[t._v("Collapse")])])]):t._e()]),t._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"timeline"},t._l(t.conversation,function(e){return s("status",{key:e.id,attrs:{statusoid:e,expandable:!1,focused:t.focused(e.id),inConversation:!0}})}))])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Timeline",{attrs:{title:"THE WHOLE KNOWN NETWORK",timeline:t.timeline,"timeline-name":"publicAndExternal"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.canDelete?s("div",[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.deleteStatus()}}},[s("i",{staticClass:"fa icon-cancel delete-status"})])]):t._e()},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-status-form"},[s("form",{on:{submit:function(e){e.preventDefault(),t.postStatus(t.newStatus)}}},[s("div",{staticClass:"form-group"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.newStatus.status,expression:"newStatus.status"}],staticClass:"form-control",attrs:{placeholder:"Just landed in L.A.",rows:"3"},domProps:{value:t._s(t.newStatus.status)},on:{keyup:[function(e){t._k(e.keyCode,"enter",13)||e.metaKey&&t.postStatus(t.newStatus)},function(e){t._k(e.keyCode,"enter",13)||e.ctrlKey&&t.postStatus(t.newStatus)}],drop:t.fileDrop,dragover:function(e){e.preventDefault(),t.fileDrag(e)},input:function(e){e.target.composing||(t.newStatus.status=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"attachments"},t._l(t.newStatus.files,function(e){return s("div",{staticClass:"attachment"},[s("i",{staticClass:"fa icon-cancel",on:{click:function(s){t.removeMediaFile(e)}}}),t._v(" "),"image"===t.type(e)?s("img",{staticClass:"thumbnail media-upload",attrs:{src:e.image}}):t._e(),t._v(" "),"video"===t.type(e)?s("video",{attrs:{src:e.image,controls:""}}):t._e(),t._v(" "),"audio"===t.type(e)?s("audio",{attrs:{src:e.image,controls:""}}):t._e(),t._v(" "),"unknown"===t.type(e)?s("a",{attrs:{href:e.image}},[t._v(t._s(e.url))]):t._e()])})),t._v(" "),s("div",{staticClass:"form-bottom"},[s("media-upload",{attrs:{"drop-files":t.dropFiles},on:{uploading:t.disableSubmit,uploaded:t.addMediaFile,"upload-failed":t.enableSubmit}}),t._v(" "),s("button",{staticClass:"btn btn-default base05 base01-background",attrs:{disabled:t.submitDisabled,type:"submit"}},[t._v("Submit")])],1)])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"attachment base03-border",class:(n={loading:t.loading},n[t.type]=!0,n),style:t.autoHeight},[t.hidden?s("a",{staticClass:"image-attachment",on:{click:function(e){e.preventDefault(),t.toggleHidden()}}},[s("img",{key:t.nsfwImage,attrs:{src:t.nsfwImage}})]):t._e(),t._v(" "),t.nsfw&&t.hideNsfwLocal&&!t.hidden?s("div",{staticClass:"hider"},[s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleHidden()}}},[t._v("Hide")])]):t._e(),t._v(" "),"image"!==t.type||t.hidden?t._e():s("a",{staticClass:"image-attachment",attrs:{href:t.attachment.url,target:"_blank"}},[s("img",{staticClass:"base03-border",attrs:{referrerpolicy:"no-referrer",src:t.attachment.large_thumb_url||t.attachment.url}})]),t._v(" "),"video"!==t.type||t.hidden?t._e():s("video",{attrs:{src:t.attachment.url,controls:""}}),t._v(" "),"audio"===t.type?s("audio",{attrs:{src:t.attachment.url,controls:""}}):t._e(),t._v(" "),"html"===t.type&&t.attachment.oembed?s("div",{staticClass:"oembed",on:{click:function(e){e.preventDefault(),t.linkClicked(e)}}},[t.attachment.thumb_url?s("div",{staticClass:"image"},[s("img",{attrs:{src:t.attachment.thumb_url}})]):t._e(),t._v(" "),s("div",{staticClass:"text"},[s("h1",[s("a",{attrs:{href:t.attachment.url}},[t._v(t._s(t.attachment.oembed.title))])]),t._v(" "),s("div",{domProps:{innerHTML:t._s(t.attachment.oembed.oembedHTML)}})])]):t._e()]);var n},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[t.expanded?s("conversation",{attrs:{collapsable:!0,statusoid:t.statusoid},on:{toggleExpanded:t.toggleExpanded}}):t._e(),t._v(" "),t.expanded?t._e():s("status",{attrs:{expandable:!0,inConversation:!1,focused:!1,statusoid:t.statusoid},on:{toggleExpanded:t.toggleExpanded}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"base02-background",style:t.style,attrs:{id:"app"}},[s("nav",{staticClass:"container base01-background base04",on:{click:function(e){t.scrollToTop()}}},[s("div",{staticClass:"inner-nav",style:t.logoStyle},[s("div",{staticClass:"item"},[s("router-link",{attrs:{to:{name:"root"}}},[t._v(t._s(t.sitename))])],1),t._v(" "),s("div",{staticClass:"item right"},[s("router-link",{attrs:{to:{name:"settings"}}},[s("i",{staticClass:"icon-cog"})])],1)])]),t._v(" "),s("div",{staticClass:"container",attrs:{id:"content"}},[s("div",{staticClass:"panel-switcher"},[s("button",{on:{click:function(e){t.activatePanel("sidebar")}}},[t._v("Sidebar")]),t._v(" "),s("button",{on:{click:function(e){t.activatePanel("timeline")}}},[t._v("Timeline")])]),t._v(" "),s("div",{staticClass:"sidebar",class:{"mobile-hidden":"sidebar"!=t.mobileActivePanel}},[s("user-panel"),t._v(" "),s("nav-panel"),t._v(" "),t.currentUser?s("notifications"):t._e()],1),t._v(" "),s("div",{staticClass:"main",class:{"mobile-hidden":"timeline"!=t.mobileActivePanel}},[s("transition",{attrs:{name:"fade"}},[s("router-view")],1)],1)])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Timeline",{attrs:{title:"Public Timeline",timeline:t.timeline,"timeline-name":"public"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("i",{staticClass:"favorite-button fa",class:t.classes,on:{click:function(e){e.preventDefault(),t.favorite()}}}),t._v(" "),t.status.fave_num>0?s("span",[t._v(t._s(t.status.fave_num))]):t._e()])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"media-upload",on:{drop:[function(t){t.preventDefault()},t.fileDrop],dragover:function(e){e.preventDefault(),t.fileDrag(e)}}},[s("label",{staticClass:"btn btn-default"},[t.uploading?s("i",{staticClass:"fa icon-spin4 animate-spin"}):t._e(),t._v(" "),t.uploading?t._e():s("i",{staticClass:"fa icon-upload"}),t._v(" "),s("input",{staticStyle:{position:"fixed",top:"-100em"},attrs:{type:"file"}})])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base01-background base04"},[t._v("\n Settings\n ")]),t._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"setting-item"},[s("h2",[t._v("Theme")]),t._v(" "),s("style-switcher")],1),t._v(" "),s("div",{staticClass:"setting-item"},[s("h2",[t._v("Attachments")]),t._v(" "),s("ul",{staticClass:"setting-list"},[s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.hideAttachmentsLocal,expression:"hideAttachmentsLocal"}],attrs:{type:"checkbox",id:"hideAttachments"},domProps:{checked:Array.isArray(t.hideAttachmentsLocal)?t._i(t.hideAttachmentsLocal,null)>-1:t.hideAttachmentsLocal},on:{click:function(e){var s=t.hideAttachmentsLocal,n=e.target,a=!!n.checked;if(Array.isArray(s)){var i=null,r=t._i(s,i);a?r<0&&(t.hideAttachmentsLocal=s.concat(i)):r>-1&&(t.hideAttachmentsLocal=s.slice(0,r).concat(s.slice(r+1)))}else t.hideAttachmentsLocal=a}}}),t._v(" "),s("label",{attrs:{for:"hideAttachments"}},[t._v("Hide attachments in timeline")])]),t._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.hideAttachmentsInConvLocal,expression:"hideAttachmentsInConvLocal"}],attrs:{type:"checkbox",id:"hideAttachmentsInConv"},domProps:{checked:Array.isArray(t.hideAttachmentsInConvLocal)?t._i(t.hideAttachmentsInConvLocal,null)>-1:t.hideAttachmentsInConvLocal},on:{click:function(e){var s=t.hideAttachmentsInConvLocal,n=e.target,a=!!n.checked;if(Array.isArray(s)){var i=null,r=t._i(s,i);a?r<0&&(t.hideAttachmentsInConvLocal=s.concat(i)):r>-1&&(t.hideAttachmentsInConvLocal=s.slice(0,r).concat(s.slice(r+1)))}else t.hideAttachmentsInConvLocal=a}}}),t._v(" "),s("label",{attrs:{for:"hideAttachmentsInConv"}},[t._v("Hide attachments in conversations")])]),t._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.hideNsfwLocal,expression:"hideNsfwLocal"}],attrs:{type:"checkbox",id:"hideNsfw"},domProps:{checked:Array.isArray(t.hideNsfwLocal)?t._i(t.hideNsfwLocal,null)>-1:t.hideNsfwLocal},on:{click:function(e){var s=t.hideNsfwLocal,n=e.target,a=!!n.checked;if(Array.isArray(s)){var i=null,r=t._i(s,i);a?r<0&&(t.hideNsfwLocal=s.concat(i)):r>-1&&(t.hideNsfwLocal=s.slice(0,r).concat(s.slice(r+1)))}else t.hideNsfwLocal=a}}}),t._v(" "),s("label",{attrs:{for:"hideNsfw"}},[t._v("Enable clickthrough NSFW attachment hiding")])])])])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("select",{directives:[{name:"model",rawName:"v-model",value:t.selected,expression:"selected"}],staticClass:"style-switcher",on:{change:function(e){t.selected=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){var e="_value"in t?t._value:t.value;return e})[0]}}},t._l(t.availableStyles,function(e){return s("option",[t._v(t._s(e))])}))},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"user-panel"},[t.user?s("div",{staticClass:"panel panel-default"},[s("user-card-content",{attrs:{user:t.user}}),t._v(" "),s("div",{staticClass:"panel-footer base00-background"},[t.user?s("post-status-form"):t._e()],1)],1):t._e(),t._v(" "),t.user?t._e():s("login-form")],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"user-profile panel panel-default base00-background"},[s("user-card-content",{attrs:{user:t.user}})],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"profile-panel-background",style:t.headingStyle,attrs:{id:"heading"}},[s("div",{staticClass:"panel-heading text-center"},[s("div",{staticClass:"user-info"},[s("div",{staticClass:"container"},[s("img",{attrs:{src:t.user.profile_image_url}}),t._v(" "),s("span",{staticClass:"glyphicon glyphicon-user"}),t._v(" "),s("div",{staticClass:"user-name"},[t._v(t._s(t.user.name))]),t._v(" "),s("div",{staticClass:"user-screen-name"},[t._v("@"+t._s(t.user.screen_name))])]),t._v(" "),t.isOtherUser?s("div",{staticClass:"user-interactions"},[t.user.follows_you&&t.loggedIn?s("div",{staticClass:"following base06"},[t._v("\n Follows you!\n ")]):t._e(),t._v(" "),t.loggedIn?s("div",{staticClass:"follow"},[t.user.following?s("span",[s("button",{staticClass:"base04 base00-background pressed",on:{click:t.unfollowUser}},[t._v("\n Following!\n ")])]):t._e(),t._v(" "),t.user.following?t._e():s("span",[s("button",{staticClass:"base05 base02-background",on:{click:t.followUser}},[t._v("\n Follow\n ")])])]):t._e(),t._v(" "),t.isOtherUser?s("div",{staticClass:"mute"},[t.user.muted?s("span",[s("button",{staticClass:"base04 base00-background pressed",on:{click:t.toggleMute}},[t._v("Muted")])]):t._e(),t._v(" "),t.user.muted?t._e():s("span",[s("button",{staticClass:"base05 base02-background",on:{click:t.toggleMute}},[t._v("Mute")])])]):t._e()]):t._e()])]),t._v(" "),s("div",{staticClass:"panel-body profile-panel-body",style:t.bodyStyle},[s("div",{staticClass:"user-counts"},[s("div",{staticClass:"user-count"},[s("h5",[t._v("Statuses")]),t._v(" "),s("span",[t._v(t._s(t.user.statuses_count)+" "),s("br"),s("span",{staticClass:"dailyAvg"},[t._v(t._s(t.dailyAvg)+" per day")])])]),t._v(" "),s("div",{staticClass:"user-count"},[s("h5",[t._v("Following")]),t._v(" "),s("span",[t._v(t._s(t.user.friends_count))])]),t._v(" "),s("div",{staticClass:"user-count"},[s("h5",[t._v("Followers")]),t._v(" "),s("span",[t._v(t._s(t.user.followers_count))])])]),t._v(" "),s("p",[t._v(t._s(t.user.description))])])]); -},staticRenderFns:[]}}]); -//# sourceMappingURL=app.8e94b6d65028f6ffaeee.js.map \ No newline at end of file diff --git a/priv/static/static/js/app.8e94b6d65028f6ffaeee.js.map b/priv/static/static/js/app.8e94b6d65028f6ffaeee.js.map deleted file mode 100644 index cb331a231..000000000 --- a/priv/static/static/js/app.8e94b6d65028f6ffaeee.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///static/js/app.8e94b6d65028f6ffaeee.js","webpack:///./src/main.js","webpack:///./src/services/api/api.service.js","webpack:///./src/components/timeline/timeline.vue","webpack:///./src/components/status/status.vue","webpack:///./src/components/user_card_content/user_card_content.vue","webpack:///./src/modules/statuses.js","webpack:///./src/services/backend_interactor_service/backend_interactor_service.js","webpack:///./src/services/file_type/file_type.service.js","webpack:///./src/services/status_poster/status_poster.service.js","webpack:///./src/services/timeline_fetcher/timeline_fetcher.service.js","webpack:///./src/components/conversation/conversation.vue","webpack:///./src/components/post_status_form/post_status_form.vue","webpack:///./src/lib/persisted_state.js","webpack:///./src/modules/api.js","webpack:///./src/modules/config.js","webpack:///./src/modules/users.js","webpack:///./src/services/style_setter/style_setter.js","webpack:///user_card_content.vue","webpack:///./src/App.js","webpack:///./src/components/attachment/attachment.js","webpack:///./src/components/conversation-page/conversation-page.js","webpack:///./src/components/conversation/conversation.js","webpack:///./src/components/delete_button/delete_button.js","webpack:///./src/components/favorite_button/favorite_button.js","webpack:///./src/components/friends_timeline/friends_timeline.js","webpack:///./src/components/login_form/login_form.js","webpack:///./src/components/media_upload/media_upload.js","webpack:///./src/components/mentions/mentions.js","webpack:///./src/components/nav_panel/nav_panel.js","webpack:///./src/components/notifications/notifications.js","webpack:///./src/components/post_status_form/post_status_form.js","webpack:///./src/components/public_and_external_timeline/public_and_external_timeline.js","webpack:///./src/components/public_timeline/public_timeline.js","webpack:///./src/components/retweet_button/retweet_button.js","webpack:///./src/components/settings/settings.js","webpack:///./src/components/status/status.js","webpack:///./src/components/status_or_conversation/status_or_conversation.js","webpack:///./src/components/style_switcher/style_switcher.js","webpack:///./src/components/timeline/timeline.js","webpack:///./src/components/user_panel/user_panel.js","webpack:///./src/components/user_profile/user_profile.js","webpack:///./~/vue-timeago/locales/en-US.json","webpack:///./src/assets/nsfw.png","webpack:///./src/App.vue","webpack:///./src/components/attachment/attachment.vue","webpack:///./src/components/conversation-page/conversation-page.vue","webpack:///./src/components/delete_button/delete_button.vue","webpack:///./src/components/favorite_button/favorite_button.vue","webpack:///./src/components/friends_timeline/friends_timeline.vue","webpack:///./src/components/login_form/login_form.vue","webpack:///./src/components/media_upload/media_upload.vue","webpack:///./src/components/mentions/mentions.vue","webpack:///./src/components/nav_panel/nav_panel.vue","webpack:///./src/components/notifications/notifications.vue","webpack:///./src/components/public_and_external_timeline/public_and_external_timeline.vue","webpack:///./src/components/public_timeline/public_timeline.vue","webpack:///./src/components/retweet_button/retweet_button.vue","webpack:///./src/components/settings/settings.vue","webpack:///./src/components/status_or_conversation/status_or_conversation.vue","webpack:///./src/components/style_switcher/style_switcher.vue","webpack:///./src/components/user_panel/user_panel.vue","webpack:///./src/components/user_profile/user_profile.vue","webpack:///./src/components/timeline/timeline.vue?d08d","webpack:///./src/components/nav_panel/nav_panel.vue?b1a0","webpack:///./src/components/conversation-page/conversation-page.vue?3ce1","webpack:///./src/components/friends_timeline/friends_timeline.vue?05fb","webpack:///./src/components/login_form/login_form.vue?316c","webpack:///./src/components/status/status.vue?25fe","webpack:///./src/components/mentions/mentions.vue?1c61","webpack:///./src/components/notifications/notifications.vue?9b7b","webpack:///./src/components/retweet_button/retweet_button.vue?7228","webpack:///./src/components/conversation/conversation.vue?5434","webpack:///./src/components/public_and_external_timeline/public_and_external_timeline.vue?1c09","webpack:///./src/components/delete_button/delete_button.vue?b2cb","webpack:///./src/components/post_status_form/post_status_form.vue?76c5","webpack:///./src/components/attachment/attachment.vue?406b","webpack:///./src/components/status_or_conversation/status_or_conversation.vue?8f70","webpack:///./src/App.vue?256c","webpack:///./src/components/public_timeline/public_timeline.vue?d756","webpack:///./src/components/favorite_button/favorite_button.vue?a56f","webpack:///./src/components/media_upload/media_upload.vue?7e27","webpack:///./src/components/settings/settings.vue?1be9","webpack:///./src/components/style_switcher/style_switcher.vue?cb39","webpack:///./src/components/user_panel/user_panel.vue?af52","webpack:///./src/components/user_profile/user_profile.vue?31e6","webpack:///./src/components/user_card_content/user_card_content.vue?496c"],"names":["webpackJsonp","module","exports","__webpack_require__","_interopRequireDefault","obj","__esModule","default","_vue","_vue2","_vueRouter","_vueRouter2","_vuex","_vuex2","_App","_App2","_public_timeline","_public_timeline2","_public_and_external_timeline","_public_and_external_timeline2","_friends_timeline","_friends_timeline2","_conversationPage","_conversationPage2","_mentions","_mentions2","_user_profile","_user_profile2","_settings","_settings2","_statuses","_statuses2","_users","_users2","_api","_api2","_config","_config2","_vueTimeago","_vueTimeago2","_persisted_state","_persisted_state2","use","locale","locales","en-US","persistedStateOptions","paths","store","Store","modules","statuses","users","api","config","plugins","strict","routes","name","path","redirect","component","meta","dontScroll","router","mode","scrollBehavior","to","from","savedPosition","matched","some","m","x","y","el","render","h","window","fetch","then","res","json","_ref","theme","background","logo","dispatch","value","Object","defineProperty","LOGIN_URL","FRIENDS_TIMELINE_URL","ALL_FOLLOWING_URL","PUBLIC_TIMELINE_URL","PUBLIC_AND_EXTERNAL_TIMELINE_URL","FAVORITE_URL","UNFAVORITE_URL","RETWEET_URL","STATUS_UPDATE_URL","STATUS_DELETE_URL","STATUS_URL","MEDIA_UPLOAD_URL","CONVERSATION_URL","MENTIONS_URL","FRIENDS_URL","FOLLOWING_URL","UNFOLLOWING_URL","QVITTER_USER_PREF_URL","oldfetch","url","options","baseUrl","fullUrl","credentials","authHeaders","user","username","password","Authorization","btoa","followUser","id","headers","method","data","unfollowUser","_ref2","fetchFriends","_ref3","fetchAllFollowing","_ref4","fetchConversation","_ref5","fetchStatus","_ref6","setUserMute","_ref7","_ref7$muted","muted","undefined","form","FormData","muteInteger","append","body","fetchTimeline","_ref8","timeline","_ref8$since","since","_ref8$until","until","timelineUrls","public","friends","mentions","publicAndExternal","verifyCredentials","favorite","_ref9","unfavorite","_ref10","retweet","_ref11","postStatus","_ref12","status","mediaIds","inReplyToStatusId","idsText","join","deleteStatus","_ref13","uploadMedia","_ref14","formData","response","text","DOMParser","parseFromString","fetchMutes","_ref15","apiService","Component","mutations","findMaxId","statusType","prepareStatus","defaultState","_set","_set2","_isArray2","_isArray3","_max2","_max3","_merge2","_merge3","_last2","_last3","_maxBy2","_maxBy3","_flatten2","_flatten3","_find2","_find3","_each2","_each3","_toInteger2","_toInteger3","_sortBy2","_sortBy3","_slice2","_slice3","_remove2","_remove3","_apiService","_apiService2","allStatuses","allStatusesObject","maxId","notifications","favorites","error","timelines","statusesObject","faves","visibleStatuses","visibleStatusesObject","newStatusCount","minVisibleId","loading","nsfw","nsfwRegex","match","deleted","attachments","is_post_verb","retweeted_status","uri","mergeOrAdd","_len","arguments","length","args","Array","_key","arr","item","oldItem","splice","new","push","sortTimeline","addNewStatuses","state","_ref3$showImmediately","showImmediately","_ref3$user","_ref3$noIdUpdate","noIdUpdate","timelineObject","updateMaxId","addStatus","addToTimeline","result","addNotification","type","action","attentions","resultForCurrentTimeline","oldNotification","seen","favoriteStatus","in_reply_to_status_id","fave_num","favorited","processors","retweetedStatus","has","add","deletion","unknown","console","log","processor","showNewStatuses","oldTimeline","setFavorited","newStatus","setRetweeted","repeated","setDeleted","setLoading","setNsfw","setError","markNotificationsAsSeen","notification","actions","rootState","commit","_ref14$showImmediatel","_ref14$timeline","_ref14$noIdUpdate","currentUser","_ref16","_ref17","_ref18","_ref19","_ref20","_timeline_fetcherService","_timeline_fetcherService2","backendInteractorService","startFetching","_ref5$muted","backendInteractorServiceInstance","fileType","typeString","fileTypeService","_map2","_map3","_ref$media","media","_ref$inReplyToStatusI","xml","link","getElementsByTagName","mediaData","textContent","image","getAttribute","mimetype","statusPosterService","_camelCase2","_camelCase3","update","ccTimeline","fetchAndUpdate","_ref2$timeline","_ref2$older","older","_ref2$showImmediately","timelineData","_ref3$timeline","boundFetchAndUpdate","setInterval","timelineFetcher","createPersistedState","_ref$key","key","_ref$paths","_ref$getState","getState","storage","getItem","_ref$setState","setState","_throttle3","defaultSetState","_ref$reducer","reducer","defaultReducer","_ref$storage","defaultStorage","_ref$subscriber","subscriber","handler","subscribe","savedState","_typeof3","usersState","usersObject","replaceState","_lodash2","mutation","e","_typeof2","_throttle2","_lodash","_objectPath","_objectPath2","_localforage","_localforage2","reduce","substate","set","get","setItem","_backend_interactor_service","_backend_interactor_service2","backendInteractor","fetchers","setBackendInteractor","addFetcher","fetcher","removeFetcher","stopFetching","clearInterval","_style_setter","_style_setter2","colors","hideAttachments","hideAttachmentsInConv","hideNsfw","setOption","setPageTitle","option","document","title","fullPath","setStyle","_promise","_promise2","_compact2","_compact3","setMuted","setCurrentUser","beginLogin","loggingIn","endLogin","addNewUsers","setUserForStatus","retweetedUsers","loginUser","userCredentials","resolve","reject","ok","mutedUsers","catch","_times2","_times3","href","head","style","display","cssEl","createElement","setAttribute","appendChild","setDynamic","baseEl","n","toString","toUpperCase","color","getComputedStyle","getPropertyValue","removeChild","styleEl","styleSheet","sheet","insertRule","addEventListener","StyleSetter","props","computed","headingStyle","rgb","this","$store","backgroundColor","Math","floor","backgroundImage","cover_photo","bodyStyle","isOtherUser","loggedIn","dailyAvg","round","statuses_count","Date","created_at","methods","followedUser","unfollowedUser","toggleMute","_user_panel","_user_panel2","_nav_panel","_nav_panel2","_notifications","_notifications2","components","UserPanel","NavPanel","Notifications","mobileActivePanel","background_image","logoStyle","background-image","sitename","activatePanel","panelName","scrollToTop","scrollTo","_nsfw","_nsfw2","_file_typeService","_file_typeService2","Attachment","nsfwImage","hideNsfwLocal","showHidden","img","attachment","hidden","autoHeight","min-height","linkClicked","target","tagName","open","toggleHidden","_this","onload","src","_conversation","_conversation2","conversationPage","Conversation","statusoid","$route","params","_filter2","_filter3","_status","_status2","sortAndFilterConversation","conversation","conversationId","statusnet_conversation_id","Status","created","watch","focused","DeleteButton","confirmed","confirm","canDelete","rights","delete_others_notice","FavoriteButton","animated","setTimeout","classes","icon-star-empty","icon-star","animate-spin","_timeline","_timeline2","FriendsTimeline","Timeline","LoginForm","authError","submit","_status_posterService","_status_posterService2","mediaUpload","mounted","input","$el","querySelector","file","files","uploadFile","uploading","self","$emit","fileData","fileDrop","dataTransfer","preventDefault","fileDrag","types","contains","dropEffect","dropFiles","fileInfos","Mentions","_take2","_take3","visibleNotificationCount","unseenNotifications","visibleNotifications","sortedNotifications","unseenCount","count","markAsSeen","_toConsumableArray2","_toConsumableArray3","_uniqBy2","_uniqBy3","_reject2","_reject3","_media_upload","_media_upload2","_Tribute","_Tribute2","buildMentionsString","allAttentions","unshift","attention","screen_name","defaultCollection","trigger","iframe","selectClass","selectTemplate","original","menuItemTemplate","profile_image_url","string","noMatchTemplate","menuContainer","lookup","fillAttr","values","requireLeadingSpace","allowSpaces","tribute","collection","PostStatusForm","MediaUpload","statusText","replyTo","repliedUser","submitDisabled","completions","textarea","attach","addMediaFile","fileInfo","enableSubmit","removeMediaFile","index","indexOf","disableSubmit","PublicAndExternalTimeline","destroyed","PublicTimeline","RetweetButton","retweeted","_style_switcher","_style_switcher2","settings","hideAttachmentsLocal","hideAttachmentsInConvLocal","StyleSwitcher","_attachment","_attachment2","_favorite_button","_favorite_button2","_retweet_button","_retweet_button2","_delete_button","_delete_button2","_post_status_form","_post_status_form2","_user_card_content","_user_card_content2","replying","expanded","unmuted","userExpanded","inConversation","retweeter","isReply","borderColor","borderBottomColor","UserCardContent","parentNode","toggleReplying","toggleExpanded","toggleUserExpanded","statusOrConversation","availableStyles","selected","themes","_status_or_conversation","_status_or_conversation2","timelineError","StatusOrConversation","timelineName","fetchOlderStatuses","_login_form","_login_form2","UserProfile","p","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","on","click","$event","_e","_l","attrs","staticRenderFns","collapsable","timeline-name","for","directives","rawName","expression","disabled","placeholder","domProps","composing","class","base01-background","status-conversation","_m","statusnet_profile_url","profile_image_url_original","in_reply_to_user_id","in_reply_to_screen_name","auto-update","is_local","external_url","innerHTML","statusnet_html","status-id","icon-reply-active","reply-to","posted","unseen","repeat_num","staticStyle","float","expandable","rows","keyup","_k","keyCode","metaKey","ctrlKey","drop","dragover","controls","drop-files","uploaded","upload-failed","_obj","referrerpolicy","large_thumb_url","oembed","thumb_url","oembedHTML","mobile-hidden","position","top","checked","isArray","_i","$$a","$$el","$$c","$$v","$$i","concat","slice","change","prototype","filter","call","o","map","val","_value","follows_you","following","friends_count","followers_count","description"],"mappings":"AAAAA,cAAc,EAAE,IAEV,SAASC,EAAQC,EAASC,GAE/B,YAsEA,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GC1ExF,GAAAG,GAAAL,EAAA,IDQKM,EAAQL,EAAuBI,GCPpCE,EAAAP,EAAA,KDWKQ,EAAcP,EAAuBM,GCV1CE,EAAAT,EAAA,KDcKU,EAAST,EAAuBQ,GCbrCE,EAAAX,EAAA,KDiBKY,EAAQX,EAAu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,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CAEH,SAAS/qB,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,KAMjB,SAASD,EAAQC,G0C7xGvBD,EAAAC,SACA,YAEA,gBACA,mBAGA,gBACA,mBAGA,cACA,iBAGA,aACA,gBAGA,cACA,iBAGA,eACA,kBAGA,cACA,kB1CoyGS,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CACA,C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,EAAAW,OAAAX,EAAAW,SAAAX,EAAAM,GAAA,KAAAH,EAAA,OACHE,YAAA,gCACArQ,MAAAgQ,EAAA,YACGG,EAAA,OACHE,YAAA,gBACGF,EAAA,OACHE,YAAA,eACGF,EAAA,MAAAH,EAAAM,GAAA,cAAAN,EAAAM,GAAA,KAAAH,EAAA,QAAAH,EAAAM,GAAAN,EAAAO,GAAAP,EAAA9jB,KAAAmW,gBAAA,KAAA8N,EAAA,MAAAA,EAAA,QACHE,YAAA,aACGL,EAAAM,GAAAN,EAAAO,GAAAP,EAAA7N,UAAA,kBAAA6N,EAAAM,GAAA,KAAAH,EAAA,OACHE,YAAA,eACGF,EAAA,MAAAH,EAAAM,GAAA,eAAAN,EAAAM,GAAA,KAAAH,EAAA,QAAAH,EAAAM,GAAAN,EAAAO,GAAAP,EAAA9jB,KAAAspB,oBAAAxF,EAAAM,GAAA,KAAAH,EAAA,OACHE,YAAA,eACGF,EAAA,MAAAH,EAAAM,GAAA,eAAAN,EAAAM,GAAA,KAAAH,EAAA,QAAAH,EAAAM,GAAAN,EAAAO,GAAAP,EAAA9jB,KAAAupB,wBAAAzF,EAAAM,GAAA,KAAAH,EAAA,KAAAH,EAAAM,GAAAN,EAAAO,GAAAP,EAAA9jB,KAAAwpB;EACF5E","file":"static/js/app.8e94b6d65028f6ffaeee.js","sourcesContent":["webpackJsonp([2,0],[\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar _vue = __webpack_require__(96);\n\t\n\tvar _vue2 = _interopRequireDefault(_vue);\n\t\n\tvar _vueRouter = __webpack_require__(451);\n\t\n\tvar _vueRouter2 = _interopRequireDefault(_vueRouter);\n\t\n\tvar _vuex = __webpack_require__(454);\n\t\n\tvar _vuex2 = _interopRequireDefault(_vuex);\n\t\n\tvar _App = __webpack_require__(408);\n\t\n\tvar _App2 = _interopRequireDefault(_App);\n\t\n\tvar _public_timeline = __webpack_require__(420);\n\t\n\tvar _public_timeline2 = _interopRequireDefault(_public_timeline);\n\t\n\tvar _public_and_external_timeline = __webpack_require__(419);\n\t\n\tvar _public_and_external_timeline2 = _interopRequireDefault(_public_and_external_timeline);\n\t\n\tvar _friends_timeline = __webpack_require__(413);\n\t\n\tvar _friends_timeline2 = _interopRequireDefault(_friends_timeline);\n\t\n\tvar _conversationPage = __webpack_require__(410);\n\t\n\tvar _conversationPage2 = _interopRequireDefault(_conversationPage);\n\t\n\tvar _mentions = __webpack_require__(416);\n\t\n\tvar _mentions2 = _interopRequireDefault(_mentions);\n\t\n\tvar _user_profile = __webpack_require__(426);\n\t\n\tvar _user_profile2 = _interopRequireDefault(_user_profile);\n\t\n\tvar _settings = __webpack_require__(422);\n\t\n\tvar _settings2 = _interopRequireDefault(_settings);\n\t\n\tvar _statuses = __webpack_require__(98);\n\t\n\tvar _statuses2 = _interopRequireDefault(_statuses);\n\t\n\tvar _users = __webpack_require__(156);\n\t\n\tvar _users2 = _interopRequireDefault(_users);\n\t\n\tvar _api = __webpack_require__(154);\n\t\n\tvar _api2 = _interopRequireDefault(_api);\n\t\n\tvar _config = __webpack_require__(155);\n\t\n\tvar _config2 = _interopRequireDefault(_config);\n\t\n\tvar _vueTimeago = __webpack_require__(453);\n\t\n\tvar _vueTimeago2 = _interopRequireDefault(_vueTimeago);\n\t\n\tvar _persisted_state = __webpack_require__(153);\n\t\n\tvar _persisted_state2 = _interopRequireDefault(_persisted_state);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t_vue2.default.use(_vuex2.default);\n\t_vue2.default.use(_vueRouter2.default);\n\t_vue2.default.use(_vueTimeago2.default, {\n\t locale: 'en-US',\n\t locales: {\n\t 'en-US': __webpack_require__(249)\n\t }\n\t});\n\t\n\tvar persistedStateOptions = {\n\t paths: ['config.hideAttachments', 'config.hideAttachmentsInConv', 'config.hideNsfw', 'statuses.notifications', 'users.users']\n\t};\n\t\n\tvar store = new _vuex2.default.Store({\n\t modules: {\n\t statuses: _statuses2.default,\n\t users: _users2.default,\n\t api: _api2.default,\n\t config: _config2.default\n\t },\n\t plugins: [(0, _persisted_state2.default)(persistedStateOptions)],\n\t strict: (\"production\") !== 'production'\n\t});\n\t\n\tvar routes = [{ name: 'root', path: '/', redirect: '/main/all' }, { path: '/main/all', component: _public_and_external_timeline2.default }, { path: '/main/public', component: _public_timeline2.default }, { path: '/main/friends', component: _friends_timeline2.default }, { name: 'conversation', path: '/notice/:id', component: _conversationPage2.default, meta: { dontScroll: true } }, { name: 'user-profile', path: '/users/:id', component: _user_profile2.default }, { name: 'mentions', path: '/:username/mentions', component: _mentions2.default }, { name: 'settings', path: '/settings', component: _settings2.default }];\n\t\n\tvar router = new _vueRouter2.default({\n\t mode: 'history',\n\t routes: routes,\n\t scrollBehavior: function scrollBehavior(to, from, savedPosition) {\n\t if (to.matched.some(function (m) {\n\t return m.meta.dontScroll;\n\t })) {\n\t return false;\n\t }\n\t return savedPosition || { x: 0, y: 0 };\n\t }\n\t});\n\t\n\tnew _vue2.default({\n\t router: router,\n\t store: store,\n\t el: '#app',\n\t render: function render(h) {\n\t return h(_App2.default);\n\t }\n\t});\n\t\n\twindow.fetch('/static/config.json').then(function (res) {\n\t return res.json();\n\t}).then(function (_ref) {\n\t var name = _ref.name,\n\t theme = _ref.theme,\n\t background = _ref.background,\n\t logo = _ref.logo;\n\t\n\t store.dispatch('setOption', { name: 'name', value: name });\n\t store.dispatch('setOption', { name: 'theme', value: theme });\n\t store.dispatch('setOption', { name: 'background', value: background });\n\t store.dispatch('setOption', { name: 'logo', value: logo });\n\t});\n\n/***/ },\n/* 1 */,\n/* 2 */,\n/* 3 */,\n/* 4 */,\n/* 5 */,\n/* 6 */,\n/* 7 */,\n/* 8 */,\n/* 9 */,\n/* 10 */,\n/* 11 */,\n/* 12 */,\n/* 13 */,\n/* 14 */,\n/* 15 */,\n/* 16 */,\n/* 17 */,\n/* 18 */,\n/* 19 */,\n/* 20 */,\n/* 21 */,\n/* 22 */,\n/* 23 */,\n/* 24 */,\n/* 25 */,\n/* 26 */,\n/* 27 */,\n/* 28 */,\n/* 29 */,\n/* 30 */,\n/* 31 */,\n/* 32 */,\n/* 33 */,\n/* 34 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar LOGIN_URL = '/api/account/verify_credentials.json';\n\tvar FRIENDS_TIMELINE_URL = '/api/statuses/friends_timeline.json';\n\tvar ALL_FOLLOWING_URL = '/api/qvitter/allfollowing';\n\tvar PUBLIC_TIMELINE_URL = '/api/statuses/public_timeline.json';\n\tvar PUBLIC_AND_EXTERNAL_TIMELINE_URL = '/api/statuses/public_and_external_timeline.json';\n\tvar FAVORITE_URL = '/api/favorites/create';\n\tvar UNFAVORITE_URL = '/api/favorites/destroy';\n\tvar RETWEET_URL = '/api/statuses/retweet';\n\tvar STATUS_UPDATE_URL = '/api/statuses/update.json';\n\tvar STATUS_DELETE_URL = '/api/statuses/destroy';\n\tvar STATUS_URL = '/api/statuses/show';\n\tvar MEDIA_UPLOAD_URL = '/api/statusnet/media/upload';\n\tvar CONVERSATION_URL = '/api/statusnet/conversation';\n\tvar MENTIONS_URL = '/api/statuses/mentions.json';\n\tvar FRIENDS_URL = '/api/statuses/friends.json';\n\tvar FOLLOWING_URL = '/api/friendships/create.json';\n\tvar UNFOLLOWING_URL = '/api/friendships/destroy.json';\n\tvar QVITTER_USER_PREF_URL = '/api/qvitter/set_profile_pref.json';\n\t\n\t\n\tvar oldfetch = window.fetch;\n\t\n\tvar fetch = function fetch(url, options) {\n\t var baseUrl = '';\n\t var fullUrl = baseUrl + url;\n\t options.credentials = 'include';\n\t return oldfetch(fullUrl, options);\n\t};\n\t\n\tvar authHeaders = function authHeaders(user) {\n\t if (user && user.username && user.password) {\n\t return { 'Authorization': 'Basic ' + btoa(user.username + ':' + user.password) };\n\t } else {\n\t return {};\n\t }\n\t};\n\t\n\tvar followUser = function followUser(_ref) {\n\t var id = _ref.id,\n\t credentials = _ref.credentials;\n\t\n\t var url = FOLLOWING_URL + '?user_id=' + id;\n\t return fetch(url, {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar unfollowUser = function unfollowUser(_ref2) {\n\t var id = _ref2.id,\n\t credentials = _ref2.credentials;\n\t\n\t var url = UNFOLLOWING_URL + '?user_id=' + id;\n\t return fetch(url, {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar fetchFriends = function fetchFriends(_ref3) {\n\t var credentials = _ref3.credentials;\n\t\n\t return fetch(FRIENDS_URL, { headers: authHeaders(credentials) }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar fetchAllFollowing = function fetchAllFollowing(_ref4) {\n\t var username = _ref4.username,\n\t credentials = _ref4.credentials;\n\t\n\t var url = ALL_FOLLOWING_URL + '/' + username + '.json';\n\t return fetch(url, { headers: authHeaders(credentials) }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar fetchConversation = function fetchConversation(_ref5) {\n\t var id = _ref5.id,\n\t credentials = _ref5.credentials;\n\t\n\t var url = CONVERSATION_URL + '/' + id + '.json?count=100';\n\t return fetch(url, { headers: authHeaders(credentials) }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar fetchStatus = function fetchStatus(_ref6) {\n\t var id = _ref6.id,\n\t credentials = _ref6.credentials;\n\t\n\t var url = STATUS_URL + '/' + id + '.json';\n\t return fetch(url, { headers: authHeaders(credentials) }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar setUserMute = function setUserMute(_ref7) {\n\t var id = _ref7.id,\n\t credentials = _ref7.credentials,\n\t _ref7$muted = _ref7.muted,\n\t muted = _ref7$muted === undefined ? true : _ref7$muted;\n\t\n\t var form = new FormData();\n\t\n\t var muteInteger = muted ? 1 : 0;\n\t\n\t form.append('namespace', 'qvitter');\n\t form.append('data', muteInteger);\n\t form.append('topic', 'mute:' + id);\n\t\n\t return fetch(QVITTER_USER_PREF_URL, {\n\t method: 'POST',\n\t headers: authHeaders(credentials),\n\t body: form\n\t });\n\t};\n\t\n\tvar fetchTimeline = function fetchTimeline(_ref8) {\n\t var timeline = _ref8.timeline,\n\t credentials = _ref8.credentials,\n\t _ref8$since = _ref8.since,\n\t since = _ref8$since === undefined ? false : _ref8$since,\n\t _ref8$until = _ref8.until,\n\t until = _ref8$until === undefined ? false : _ref8$until;\n\t\n\t var timelineUrls = {\n\t public: PUBLIC_TIMELINE_URL,\n\t friends: FRIENDS_TIMELINE_URL,\n\t mentions: MENTIONS_URL,\n\t 'publicAndExternal': PUBLIC_AND_EXTERNAL_TIMELINE_URL\n\t };\n\t\n\t var url = timelineUrls[timeline];\n\t\n\t if (since) {\n\t url += '?since_id=' + since;\n\t }\n\t\n\t if (until) {\n\t url += '?max_id=' + until;\n\t }\n\t\n\t return fetch(url, { headers: authHeaders(credentials) }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar verifyCredentials = function verifyCredentials(user) {\n\t return fetch(LOGIN_URL, {\n\t method: 'POST',\n\t headers: authHeaders(user)\n\t });\n\t};\n\t\n\tvar favorite = function favorite(_ref9) {\n\t var id = _ref9.id,\n\t credentials = _ref9.credentials;\n\t\n\t return fetch(FAVORITE_URL + '/' + id + '.json', {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t });\n\t};\n\t\n\tvar unfavorite = function unfavorite(_ref10) {\n\t var id = _ref10.id,\n\t credentials = _ref10.credentials;\n\t\n\t return fetch(UNFAVORITE_URL + '/' + id + '.json', {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t });\n\t};\n\t\n\tvar retweet = function retweet(_ref11) {\n\t var id = _ref11.id,\n\t credentials = _ref11.credentials;\n\t\n\t return fetch(RETWEET_URL + '/' + id + '.json', {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t });\n\t};\n\t\n\tvar postStatus = function postStatus(_ref12) {\n\t var credentials = _ref12.credentials,\n\t status = _ref12.status,\n\t mediaIds = _ref12.mediaIds,\n\t inReplyToStatusId = _ref12.inReplyToStatusId;\n\t\n\t var idsText = mediaIds.join(',');\n\t var form = new FormData();\n\t\n\t form.append('status', status);\n\t form.append('source', 'Pleroma FE');\n\t form.append('media_ids', idsText);\n\t if (inReplyToStatusId) {\n\t form.append('in_reply_to_status_id', inReplyToStatusId);\n\t }\n\t\n\t return fetch(STATUS_UPDATE_URL, {\n\t body: form,\n\t method: 'POST',\n\t headers: authHeaders(credentials)\n\t });\n\t};\n\t\n\tvar deleteStatus = function deleteStatus(_ref13) {\n\t var id = _ref13.id,\n\t credentials = _ref13.credentials;\n\t\n\t return fetch(STATUS_DELETE_URL + '/' + id + '.json', {\n\t headers: authHeaders(credentials),\n\t method: 'POST'\n\t });\n\t};\n\t\n\tvar uploadMedia = function uploadMedia(_ref14) {\n\t var formData = _ref14.formData,\n\t credentials = _ref14.credentials;\n\t\n\t return fetch(MEDIA_UPLOAD_URL, {\n\t body: formData,\n\t method: 'POST',\n\t headers: authHeaders(credentials)\n\t }).then(function (response) {\n\t return response.text();\n\t }).then(function (text) {\n\t return new DOMParser().parseFromString(text, 'application/xml');\n\t });\n\t};\n\t\n\tvar fetchMutes = function fetchMutes(_ref15) {\n\t var credentials = _ref15.credentials;\n\t\n\t var url = '/api/qvitter/mutes.json';\n\t\n\t return fetch(url, {\n\t headers: authHeaders(credentials)\n\t }).then(function (data) {\n\t return data.json();\n\t });\n\t};\n\t\n\tvar apiService = {\n\t verifyCredentials: verifyCredentials,\n\t fetchTimeline: fetchTimeline,\n\t fetchConversation: fetchConversation,\n\t fetchStatus: fetchStatus,\n\t fetchFriends: fetchFriends,\n\t followUser: followUser,\n\t unfollowUser: unfollowUser,\n\t favorite: favorite,\n\t unfavorite: unfavorite,\n\t retweet: retweet,\n\t postStatus: postStatus,\n\t deleteStatus: deleteStatus,\n\t uploadMedia: uploadMedia,\n\t fetchAllFollowing: fetchAllFollowing,\n\t setUserMute: setUserMute,\n\t fetchMutes: fetchMutes\n\t};\n\t\n\texports.default = apiService;\n\n/***/ },\n/* 35 */,\n/* 36 */,\n/* 37 */,\n/* 38 */,\n/* 39 */,\n/* 40 */,\n/* 41 */,\n/* 42 */,\n/* 43 */,\n/* 44 */,\n/* 45 */,\n/* 46 */,\n/* 47 */,\n/* 48 */,\n/* 49 */,\n/* 50 */,\n/* 51 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(231)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(185),\n\t /* template */\n\t __webpack_require__(427),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 52 */,\n/* 53 */,\n/* 54 */,\n/* 55 */,\n/* 56 */,\n/* 57 */,\n/* 58 */,\n/* 59 */,\n/* 60 */,\n/* 61 */,\n/* 62 */,\n/* 63 */,\n/* 64 */,\n/* 65 */,\n/* 66 */,\n/* 67 */,\n/* 68 */,\n/* 69 */,\n/* 70 */,\n/* 71 */,\n/* 72 */,\n/* 73 */,\n/* 74 */,\n/* 75 */,\n/* 76 */,\n/* 77 */,\n/* 78 */,\n/* 79 */,\n/* 80 */,\n/* 81 */,\n/* 82 */,\n/* 83 */,\n/* 84 */,\n/* 85 */,\n/* 86 */,\n/* 87 */,\n/* 88 */,\n/* 89 */,\n/* 90 */,\n/* 91 */,\n/* 92 */,\n/* 93 */,\n/* 94 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(234)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(182),\n\t /* template */\n\t __webpack_require__(432),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 95 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(248)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(164),\n\t /* template */\n\t __webpack_require__(450),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 96 */,\n/* 97 */,\n/* 98 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.mutations = exports.findMaxId = exports.statusType = exports.prepareStatus = exports.defaultState = undefined;\n\t\n\tvar _set = __webpack_require__(190);\n\t\n\tvar _set2 = _interopRequireDefault(_set);\n\t\n\tvar _isArray2 = __webpack_require__(2);\n\t\n\tvar _isArray3 = _interopRequireDefault(_isArray2);\n\t\n\tvar _max2 = __webpack_require__(386);\n\t\n\tvar _max3 = _interopRequireDefault(_max2);\n\t\n\tvar _merge2 = __webpack_require__(92);\n\t\n\tvar _merge3 = _interopRequireDefault(_merge2);\n\t\n\tvar _last2 = __webpack_require__(149);\n\t\n\tvar _last3 = _interopRequireDefault(_last2);\n\t\n\tvar _maxBy2 = __webpack_require__(387);\n\t\n\tvar _maxBy3 = _interopRequireDefault(_maxBy2);\n\t\n\tvar _flatten2 = __webpack_require__(380);\n\t\n\tvar _flatten3 = _interopRequireDefault(_flatten2);\n\t\n\tvar _find2 = __webpack_require__(86);\n\t\n\tvar _find3 = _interopRequireDefault(_find2);\n\t\n\tvar _each2 = __webpack_require__(85);\n\t\n\tvar _each3 = _interopRequireDefault(_each2);\n\t\n\tvar _toInteger2 = __webpack_require__(24);\n\t\n\tvar _toInteger3 = _interopRequireDefault(_toInteger2);\n\t\n\tvar _sortBy2 = __webpack_require__(93);\n\t\n\tvar _sortBy3 = _interopRequireDefault(_sortBy2);\n\t\n\tvar _slice2 = __webpack_require__(395);\n\t\n\tvar _slice3 = _interopRequireDefault(_slice2);\n\t\n\tvar _remove2 = __webpack_require__(394);\n\t\n\tvar _remove3 = _interopRequireDefault(_remove2);\n\t\n\tvar _apiService = __webpack_require__(34);\n\t\n\tvar _apiService2 = _interopRequireDefault(_apiService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar defaultState = exports.defaultState = {\n\t allStatuses: [],\n\t allStatusesObject: {},\n\t maxId: 0,\n\t notifications: [],\n\t favorites: new _set2.default(),\n\t error: false,\n\t timelines: {\n\t mentions: {\n\t statuses: [],\n\t statusesObject: {},\n\t faves: [],\n\t visibleStatuses: [],\n\t visibleStatusesObject: {},\n\t newStatusCount: 0,\n\t maxId: 0,\n\t minVisibleId: 0,\n\t loading: false\n\t },\n\t public: {\n\t statuses: [],\n\t statusesObject: {},\n\t faves: [],\n\t visibleStatuses: [],\n\t visibleStatusesObject: {},\n\t newStatusCount: 0,\n\t maxId: 0,\n\t minVisibleId: 0,\n\t loading: false\n\t },\n\t publicAndExternal: {\n\t statuses: [],\n\t statusesObject: {},\n\t faves: [],\n\t visibleStatuses: [],\n\t visibleStatusesObject: {},\n\t newStatusCount: 0,\n\t maxId: 0,\n\t minVisibleId: 0,\n\t loading: false\n\t },\n\t friends: {\n\t statuses: [],\n\t statusesObject: {},\n\t faves: [],\n\t visibleStatuses: [],\n\t visibleStatusesObject: {},\n\t newStatusCount: 0,\n\t maxId: 0,\n\t minVisibleId: 0,\n\t loading: false\n\t }\n\t }\n\t};\n\t\n\tvar prepareStatus = exports.prepareStatus = function prepareStatus(status) {\n\t if (status.nsfw === undefined) {\n\t var nsfwRegex = /#nsfw/i;\n\t status.nsfw = !!status.text.match(nsfwRegex);\n\t }\n\t\n\t status.deleted = false;\n\t\n\t status.attachments = status.attachments || [];\n\t\n\t return status;\n\t};\n\t\n\tvar statusType = exports.statusType = function statusType(status) {\n\t if (status.is_post_verb) {\n\t return 'status';\n\t }\n\t\n\t if (status.retweeted_status) {\n\t return 'retweet';\n\t }\n\t\n\t if (typeof status.uri === 'string' && status.uri.match(/(fave|objectType=Favourite)/)) {\n\t return 'favorite';\n\t }\n\t\n\t if (status.text.match(/deleted notice {{tag/)) {\n\t return 'deletion';\n\t }\n\t\n\t return 'unknown';\n\t};\n\t\n\tvar findMaxId = exports.findMaxId = function findMaxId() {\n\t for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\t\n\t return ((0, _maxBy3.default)((0, _flatten3.default)(args), 'id') || {}).id;\n\t};\n\t\n\tvar mergeOrAdd = function mergeOrAdd(arr, obj, item) {\n\t var oldItem = obj[item.id];\n\t\n\t if (oldItem) {\n\t (0, _merge3.default)(oldItem, item);\n\t\n\t oldItem.attachments.splice(oldItem.attachments.length);\n\t return { item: oldItem, new: false };\n\t } else {\n\t prepareStatus(item);\n\t arr.push(item);\n\t obj[item.id] = item;\n\t return { item: item, new: true };\n\t }\n\t};\n\t\n\tvar sortTimeline = function sortTimeline(timeline) {\n\t timeline.visibleStatuses = (0, _sortBy3.default)(timeline.visibleStatuses, function (_ref) {\n\t var id = _ref.id;\n\t return -id;\n\t });\n\t timeline.statuses = (0, _sortBy3.default)(timeline.statuses, function (_ref2) {\n\t var id = _ref2.id;\n\t return -id;\n\t });\n\t timeline.minVisibleId = ((0, _last3.default)(timeline.visibleStatuses) || {}).id;\n\t\n\t return timeline;\n\t};\n\t\n\tvar addNewStatuses = function addNewStatuses(state, _ref3) {\n\t var statuses = _ref3.statuses,\n\t _ref3$showImmediately = _ref3.showImmediately,\n\t showImmediately = _ref3$showImmediately === undefined ? false : _ref3$showImmediately,\n\t timeline = _ref3.timeline,\n\t _ref3$user = _ref3.user,\n\t user = _ref3$user === undefined ? {} : _ref3$user,\n\t _ref3$noIdUpdate = _ref3.noIdUpdate,\n\t noIdUpdate = _ref3$noIdUpdate === undefined ? false : _ref3$noIdUpdate;\n\t\n\t if (!(0, _isArray3.default)(statuses)) {\n\t return false;\n\t }\n\t\n\t var allStatuses = state.allStatuses;\n\t var allStatusesObject = state.allStatusesObject;\n\t var timelineObject = state.timelines[timeline];\n\t\n\t var updateMaxId = function updateMaxId(_ref4) {\n\t var id = _ref4.id;\n\t\n\t if (!timeline || noIdUpdate) {\n\t return false;\n\t }\n\t timelineObject.maxId = (0, _max3.default)([id, timelineObject.maxId]);\n\t };\n\t\n\t var addStatus = function addStatus(status, showImmediately) {\n\t var addToTimeline = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\t\n\t var result = mergeOrAdd(allStatuses, allStatusesObject, status);\n\t status = result.item;\n\t\n\t if (result.new) {\n\t updateMaxId(status);\n\t\n\t if (statusType(status) === 'retweet' && status.retweeted_status.user.id === user.id) {\n\t addNotification({ type: 'repeat', status: status.retweeted_status, action: status });\n\t }\n\t\n\t if (statusType(status) === 'status' && (0, _find3.default)(status.attentions, { id: user.id })) {\n\t var mentions = state.timelines.mentions;\n\t\n\t if (timelineObject !== mentions) {\n\t mergeOrAdd(mentions.statuses, mentions.statusesObject, status);\n\t mentions.newStatusCount += 1;\n\t\n\t sortTimeline(mentions);\n\t }\n\t\n\t addNotification({ type: 'mention', status: status, action: status });\n\t }\n\t }\n\t\n\t var resultForCurrentTimeline = void 0;\n\t\n\t if (timeline && addToTimeline) {\n\t resultForCurrentTimeline = mergeOrAdd(timelineObject.statuses, timelineObject.statusesObject, status);\n\t }\n\t\n\t if (timeline && showImmediately) {\n\t mergeOrAdd(timelineObject.visibleStatuses, timelineObject.visibleStatusesObject, status);\n\t } else if (timeline && addToTimeline && resultForCurrentTimeline.new) {\n\t timelineObject.newStatusCount += 1;\n\t }\n\t\n\t return status;\n\t };\n\t\n\t var addNotification = function addNotification(_ref5) {\n\t var type = _ref5.type,\n\t status = _ref5.status,\n\t action = _ref5.action;\n\t\n\t if (!(0, _find3.default)(state.notifications, function (oldNotification) {\n\t return oldNotification.action.id === action.id;\n\t })) {\n\t state.notifications.push({ type: type, status: status, action: action, seen: false });\n\t }\n\t };\n\t\n\t var favoriteStatus = function favoriteStatus(favorite) {\n\t var status = (0, _find3.default)(allStatuses, { id: (0, _toInteger3.default)(favorite.in_reply_to_status_id) });\n\t if (status) {\n\t status.fave_num += 1;\n\t\n\t if (favorite.user.id === user.id) {\n\t status.favorited = true;\n\t }\n\t\n\t if (status.user.id === user.id) {\n\t addNotification({ type: 'favorite', status: status, action: favorite });\n\t }\n\t }\n\t return status;\n\t };\n\t\n\t var processors = {\n\t 'status': function status(_status) {\n\t addStatus(_status, showImmediately);\n\t },\n\t 'retweet': function retweet(status) {\n\t var retweetedStatus = addStatus(status.retweeted_status, false, false);\n\t\n\t var retweet = void 0;\n\t\n\t if (timeline && (0, _find3.default)(timelineObject.statuses, { id: retweetedStatus.id })) {\n\t retweet = addStatus(status, false, false);\n\t } else {\n\t retweet = addStatus(status, showImmediately);\n\t }\n\t\n\t retweet.retweeted_status = retweetedStatus;\n\t },\n\t 'favorite': function favorite(_favorite) {\n\t if (!state.favorites.has(_favorite.id)) {\n\t state.favorites.add(_favorite.id);\n\t updateMaxId(_favorite);\n\t favoriteStatus(_favorite);\n\t }\n\t },\n\t 'deletion': function deletion(_deletion) {\n\t var uri = _deletion.uri;\n\t updateMaxId(_deletion);\n\t\n\t (0, _remove3.default)(allStatuses, { uri: uri });\n\t if (timeline) {\n\t (0, _remove3.default)(timelineObject.statuses, { uri: uri });\n\t (0, _remove3.default)(timelineObject.visibleStatuses, { uri: uri });\n\t }\n\t },\n\t 'default': function _default(unknown) {\n\t console.log('unknown status type');\n\t console.log(unknown);\n\t }\n\t };\n\t\n\t (0, _each3.default)(statuses, function (status) {\n\t var type = statusType(status);\n\t var processor = processors[type] || processors['default'];\n\t processor(status);\n\t });\n\t\n\t if (timeline) {\n\t sortTimeline(timelineObject);\n\t }\n\t};\n\t\n\tvar mutations = exports.mutations = {\n\t addNewStatuses: addNewStatuses,\n\t showNewStatuses: function showNewStatuses(state, _ref6) {\n\t var timeline = _ref6.timeline;\n\t\n\t var oldTimeline = state.timelines[timeline];\n\t\n\t oldTimeline.newStatusCount = 0;\n\t oldTimeline.visibleStatuses = (0, _slice3.default)(oldTimeline.statuses, 0, 50);\n\t oldTimeline.visibleStatusesObject = {};\n\t (0, _each3.default)(oldTimeline.visibleStatuses, function (status) {\n\t oldTimeline.visibleStatusesObject[status.id] = status;\n\t });\n\t },\n\t setFavorited: function setFavorited(state, _ref7) {\n\t var status = _ref7.status,\n\t value = _ref7.value;\n\t\n\t var newStatus = state.allStatusesObject[status.id];\n\t newStatus.favorited = value;\n\t },\n\t setRetweeted: function setRetweeted(state, _ref8) {\n\t var status = _ref8.status,\n\t value = _ref8.value;\n\t\n\t var newStatus = state.allStatusesObject[status.id];\n\t newStatus.repeated = value;\n\t },\n\t setDeleted: function setDeleted(state, _ref9) {\n\t var status = _ref9.status;\n\t\n\t var newStatus = state.allStatusesObject[status.id];\n\t newStatus.deleted = true;\n\t },\n\t setLoading: function setLoading(state, _ref10) {\n\t var timeline = _ref10.timeline,\n\t value = _ref10.value;\n\t\n\t state.timelines[timeline].loading = value;\n\t },\n\t setNsfw: function setNsfw(state, _ref11) {\n\t var id = _ref11.id,\n\t nsfw = _ref11.nsfw;\n\t\n\t var newStatus = state.allStatusesObject[id];\n\t newStatus.nsfw = nsfw;\n\t },\n\t setError: function setError(state, _ref12) {\n\t var value = _ref12.value;\n\t\n\t state.error = value;\n\t },\n\t markNotificationsAsSeen: function markNotificationsAsSeen(state, notifications) {\n\t (0, _each3.default)(notifications, function (notification) {\n\t notification.seen = true;\n\t });\n\t }\n\t};\n\t\n\tvar statuses = {\n\t state: defaultState,\n\t actions: {\n\t addNewStatuses: function addNewStatuses(_ref13, _ref14) {\n\t var rootState = _ref13.rootState,\n\t commit = _ref13.commit;\n\t var statuses = _ref14.statuses,\n\t _ref14$showImmediatel = _ref14.showImmediately,\n\t showImmediately = _ref14$showImmediatel === undefined ? false : _ref14$showImmediatel,\n\t _ref14$timeline = _ref14.timeline,\n\t timeline = _ref14$timeline === undefined ? false : _ref14$timeline,\n\t _ref14$noIdUpdate = _ref14.noIdUpdate,\n\t noIdUpdate = _ref14$noIdUpdate === undefined ? false : _ref14$noIdUpdate;\n\t\n\t commit('addNewStatuses', { statuses: statuses, showImmediately: showImmediately, timeline: timeline, noIdUpdate: noIdUpdate, user: rootState.users.currentUser });\n\t },\n\t setError: function setError(_ref15, _ref16) {\n\t var rootState = _ref15.rootState,\n\t commit = _ref15.commit;\n\t var value = _ref16.value;\n\t\n\t commit('setError', { value: value });\n\t },\n\t deleteStatus: function deleteStatus(_ref17, status) {\n\t var rootState = _ref17.rootState,\n\t commit = _ref17.commit;\n\t\n\t commit('setDeleted', { status: status });\n\t _apiService2.default.deleteStatus({ id: status.id, credentials: rootState.users.currentUser.credentials });\n\t },\n\t favorite: function favorite(_ref18, status) {\n\t var rootState = _ref18.rootState,\n\t commit = _ref18.commit;\n\t\n\t commit('setFavorited', { status: status, value: true });\n\t _apiService2.default.favorite({ id: status.id, credentials: rootState.users.currentUser.credentials });\n\t },\n\t unfavorite: function unfavorite(_ref19, status) {\n\t var rootState = _ref19.rootState,\n\t commit = _ref19.commit;\n\t\n\t commit('setFavorited', { status: status, value: false });\n\t _apiService2.default.unfavorite({ id: status.id, credentials: rootState.users.currentUser.credentials });\n\t },\n\t retweet: function retweet(_ref20, status) {\n\t var rootState = _ref20.rootState,\n\t commit = _ref20.commit;\n\t\n\t commit('setRetweeted', { status: status, value: true });\n\t _apiService2.default.retweet({ id: status.id, credentials: rootState.users.currentUser.credentials });\n\t }\n\t },\n\t mutations: mutations\n\t};\n\t\n\texports.default = statuses;\n\n/***/ },\n/* 99 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _apiService = __webpack_require__(34);\n\t\n\tvar _apiService2 = _interopRequireDefault(_apiService);\n\t\n\tvar _timeline_fetcherService = __webpack_require__(102);\n\t\n\tvar _timeline_fetcherService2 = _interopRequireDefault(_timeline_fetcherService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar backendInteractorService = function backendInteractorService(credentials) {\n\t var fetchStatus = function fetchStatus(_ref) {\n\t var id = _ref.id;\n\t\n\t return _apiService2.default.fetchStatus({ id: id, credentials: credentials });\n\t };\n\t\n\t var fetchConversation = function fetchConversation(_ref2) {\n\t var id = _ref2.id;\n\t\n\t return _apiService2.default.fetchConversation({ id: id, credentials: credentials });\n\t };\n\t\n\t var fetchFriends = function fetchFriends() {\n\t return _apiService2.default.fetchFriends({ credentials: credentials });\n\t };\n\t\n\t var fetchAllFollowing = function fetchAllFollowing(_ref3) {\n\t var username = _ref3.username;\n\t\n\t return _apiService2.default.fetchAllFollowing({ username: username, credentials: credentials });\n\t };\n\t\n\t var followUser = function followUser(id) {\n\t return _apiService2.default.followUser({ credentials: credentials, id: id });\n\t };\n\t\n\t var unfollowUser = function unfollowUser(id) {\n\t return _apiService2.default.unfollowUser({ credentials: credentials, id: id });\n\t };\n\t\n\t var startFetching = function startFetching(_ref4) {\n\t var timeline = _ref4.timeline,\n\t store = _ref4.store;\n\t\n\t return _timeline_fetcherService2.default.startFetching({ timeline: timeline, store: store, credentials: credentials });\n\t };\n\t\n\t var setUserMute = function setUserMute(_ref5) {\n\t var id = _ref5.id,\n\t _ref5$muted = _ref5.muted,\n\t muted = _ref5$muted === undefined ? true : _ref5$muted;\n\t\n\t return _apiService2.default.setUserMute({ id: id, muted: muted, credentials: credentials });\n\t };\n\t\n\t var fetchMutes = function fetchMutes() {\n\t return _apiService2.default.fetchMutes({ credentials: credentials });\n\t };\n\t\n\t var backendInteractorServiceInstance = {\n\t fetchStatus: fetchStatus,\n\t fetchConversation: fetchConversation,\n\t fetchFriends: fetchFriends,\n\t followUser: followUser,\n\t unfollowUser: unfollowUser,\n\t fetchAllFollowing: fetchAllFollowing,\n\t verifyCredentials: _apiService2.default.verifyCredentials,\n\t startFetching: startFetching,\n\t setUserMute: setUserMute,\n\t fetchMutes: fetchMutes\n\t };\n\t\n\t return backendInteractorServiceInstance;\n\t};\n\t\n\texports.default = backendInteractorService;\n\n/***/ },\n/* 100 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar fileType = function fileType(typeString) {\n\t var type = 'unknown';\n\t\n\t if (typeString.match(/text\\/html/)) {\n\t type = 'html';\n\t }\n\t\n\t if (typeString.match(/image/)) {\n\t type = 'image';\n\t }\n\t\n\t if (typeString.match(/video\\/(webm|mp4)/)) {\n\t type = 'video';\n\t }\n\t\n\t if (typeString.match(/audio|ogg/)) {\n\t type = 'audio';\n\t }\n\t\n\t return type;\n\t};\n\t\n\tvar fileTypeService = {\n\t fileType: fileType\n\t};\n\t\n\texports.default = fileTypeService;\n\n/***/ },\n/* 101 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _map2 = __webpack_require__(91);\n\t\n\tvar _map3 = _interopRequireDefault(_map2);\n\t\n\tvar _apiService = __webpack_require__(34);\n\t\n\tvar _apiService2 = _interopRequireDefault(_apiService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar postStatus = function postStatus(_ref) {\n\t var store = _ref.store,\n\t status = _ref.status,\n\t _ref$media = _ref.media,\n\t media = _ref$media === undefined ? [] : _ref$media,\n\t _ref$inReplyToStatusI = _ref.inReplyToStatusId,\n\t inReplyToStatusId = _ref$inReplyToStatusI === undefined ? undefined : _ref$inReplyToStatusI;\n\t\n\t var mediaIds = (0, _map3.default)(media, 'id');\n\t\n\t return _apiService2.default.postStatus({ credentials: store.state.users.currentUser.credentials, status: status, mediaIds: mediaIds, inReplyToStatusId: inReplyToStatusId }).then(function (data) {\n\t return data.json();\n\t }).then(function (data) {\n\t store.dispatch('addNewStatuses', {\n\t statuses: [data],\n\t timeline: 'friends',\n\t showImmediately: true,\n\t noIdUpdate: true });\n\t });\n\t};\n\t\n\tvar uploadMedia = function uploadMedia(_ref2) {\n\t var store = _ref2.store,\n\t formData = _ref2.formData;\n\t\n\t var credentials = store.state.users.currentUser.credentials;\n\t\n\t return _apiService2.default.uploadMedia({ credentials: credentials, formData: formData }).then(function (xml) {\n\t var link = xml.getElementsByTagName('link');\n\t\n\t if (link.length === 0) {\n\t link = xml.getElementsByTagName('atom:link');\n\t }\n\t\n\t link = link[0];\n\t\n\t var mediaData = {\n\t id: xml.getElementsByTagName('media_id')[0].textContent,\n\t url: xml.getElementsByTagName('media_url')[0].textContent,\n\t image: link.getAttribute('href'),\n\t mimetype: link.getAttribute('type')\n\t };\n\t\n\t return mediaData;\n\t });\n\t};\n\t\n\tvar statusPosterService = {\n\t postStatus: postStatus,\n\t uploadMedia: uploadMedia\n\t};\n\t\n\texports.default = statusPosterService;\n\n/***/ },\n/* 102 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _camelCase2 = __webpack_require__(373);\n\t\n\tvar _camelCase3 = _interopRequireDefault(_camelCase2);\n\t\n\tvar _apiService = __webpack_require__(34);\n\t\n\tvar _apiService2 = _interopRequireDefault(_apiService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar update = function update(_ref) {\n\t var store = _ref.store,\n\t statuses = _ref.statuses,\n\t timeline = _ref.timeline,\n\t showImmediately = _ref.showImmediately;\n\t\n\t var ccTimeline = (0, _camelCase3.default)(timeline);\n\t\n\t store.dispatch('setError', { value: false });\n\t\n\t store.dispatch('addNewStatuses', {\n\t timeline: ccTimeline,\n\t statuses: statuses,\n\t showImmediately: showImmediately\n\t });\n\t};\n\t\n\tvar fetchAndUpdate = function fetchAndUpdate(_ref2) {\n\t var store = _ref2.store,\n\t credentials = _ref2.credentials,\n\t _ref2$timeline = _ref2.timeline,\n\t timeline = _ref2$timeline === undefined ? 'friends' : _ref2$timeline,\n\t _ref2$older = _ref2.older,\n\t older = _ref2$older === undefined ? false : _ref2$older,\n\t _ref2$showImmediately = _ref2.showImmediately,\n\t showImmediately = _ref2$showImmediately === undefined ? false : _ref2$showImmediately;\n\t\n\t var args = { timeline: timeline, credentials: credentials };\n\t var rootState = store.rootState || store.state;\n\t var timelineData = rootState.statuses.timelines[(0, _camelCase3.default)(timeline)];\n\t\n\t if (older) {\n\t args['until'] = timelineData.minVisibleId;\n\t } else {\n\t args['since'] = timelineData.maxId;\n\t }\n\t\n\t return _apiService2.default.fetchTimeline(args).then(function (statuses) {\n\t return update({ store: store, statuses: statuses, timeline: timeline, showImmediately: showImmediately });\n\t }, function () {\n\t return store.dispatch('setError', { value: true });\n\t });\n\t};\n\t\n\tvar startFetching = function startFetching(_ref3) {\n\t var _ref3$timeline = _ref3.timeline,\n\t timeline = _ref3$timeline === undefined ? 'friends' : _ref3$timeline,\n\t credentials = _ref3.credentials,\n\t store = _ref3.store;\n\t\n\t fetchAndUpdate({ timeline: timeline, credentials: credentials, store: store, showImmediately: true });\n\t var boundFetchAndUpdate = function boundFetchAndUpdate() {\n\t return fetchAndUpdate({ timeline: timeline, credentials: credentials, store: store });\n\t };\n\t return setInterval(boundFetchAndUpdate, 10000);\n\t};\n\tvar timelineFetcher = {\n\t fetchAndUpdate: fetchAndUpdate,\n\t startFetching: startFetching\n\t};\n\t\n\texports.default = timelineFetcher;\n\n/***/ },\n/* 103 */,\n/* 104 */,\n/* 105 */,\n/* 106 */,\n/* 107 */,\n/* 108 */,\n/* 109 */,\n/* 110 */,\n/* 111 */,\n/* 112 */,\n/* 113 */,\n/* 114 */,\n/* 115 */,\n/* 116 */,\n/* 117 */,\n/* 118 */,\n/* 119 */,\n/* 120 */,\n/* 121 */,\n/* 122 */,\n/* 123 */,\n/* 124 */,\n/* 125 */,\n/* 126 */,\n/* 127 */,\n/* 128 */,\n/* 129 */,\n/* 130 */,\n/* 131 */,\n/* 132 */,\n/* 133 */,\n/* 134 */,\n/* 135 */,\n/* 136 */,\n/* 137 */,\n/* 138 */,\n/* 139 */,\n/* 140 */,\n/* 141 */,\n/* 142 */,\n/* 143 */,\n/* 144 */,\n/* 145 */,\n/* 146 */,\n/* 147 */,\n/* 148 */,\n/* 149 */,\n/* 150 */,\n/* 151 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(237)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(168),\n\t /* template */\n\t __webpack_require__(436),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 152 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(239)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(177),\n\t /* template */\n\t __webpack_require__(439),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 153 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _typeof2 = __webpack_require__(194);\n\t\n\tvar _typeof3 = _interopRequireDefault(_typeof2);\n\t\n\tvar _each2 = __webpack_require__(85);\n\t\n\tvar _each3 = _interopRequireDefault(_each2);\n\t\n\tvar _throttle2 = __webpack_require__(399);\n\t\n\tvar _throttle3 = _interopRequireDefault(_throttle2);\n\t\n\texports.default = createPersistedState;\n\t\n\tvar _lodash = __webpack_require__(262);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _objectPath = __webpack_require__(406);\n\t\n\tvar _objectPath2 = _interopRequireDefault(_objectPath);\n\t\n\tvar _localforage = __webpack_require__(250);\n\t\n\tvar _localforage2 = _interopRequireDefault(_localforage);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar defaultReducer = function defaultReducer(state, paths) {\n\t return paths.length === 0 ? state : paths.reduce(function (substate, path) {\n\t _objectPath2.default.set(substate, path, _objectPath2.default.get(state, path));\n\t return substate;\n\t }, {});\n\t};\n\t\n\tvar defaultStorage = function () {\n\t return _localforage2.default;\n\t}();\n\t\n\tvar defaultSetState = function defaultSetState(key, state, storage) {\n\t return storage.setItem(key, state);\n\t};\n\t\n\tfunction createPersistedState() {\n\t var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n\t _ref$key = _ref.key,\n\t key = _ref$key === undefined ? 'vuex-lz' : _ref$key,\n\t _ref$paths = _ref.paths,\n\t paths = _ref$paths === undefined ? [] : _ref$paths,\n\t _ref$getState = _ref.getState,\n\t getState = _ref$getState === undefined ? function (key, storage) {\n\t var value = storage.getItem(key);\n\t return value;\n\t } : _ref$getState,\n\t _ref$setState = _ref.setState,\n\t setState = _ref$setState === undefined ? (0, _throttle3.default)(defaultSetState, 60000) : _ref$setState,\n\t _ref$reducer = _ref.reducer,\n\t reducer = _ref$reducer === undefined ? defaultReducer : _ref$reducer,\n\t _ref$storage = _ref.storage,\n\t storage = _ref$storage === undefined ? defaultStorage : _ref$storage,\n\t _ref$subscriber = _ref.subscriber,\n\t subscriber = _ref$subscriber === undefined ? function (store) {\n\t return function (handler) {\n\t return store.subscribe(handler);\n\t };\n\t } : _ref$subscriber;\n\t\n\t return function (store) {\n\t getState(key, storage).then(function (savedState) {\n\t if ((typeof savedState === 'undefined' ? 'undefined' : (0, _typeof3.default)(savedState)) === 'object') {\n\t var usersState = savedState.users || {};\n\t usersState.usersObject = {};\n\t var users = usersState.users || [];\n\t (0, _each3.default)(users, function (user) {\n\t usersState.usersObject[user.id] = user;\n\t });\n\t savedState.users = usersState;\n\t\n\t store.replaceState((0, _lodash2.default)({}, store.state, savedState));\n\t }\n\t });\n\t\n\t subscriber(store)(function (mutation, state) {\n\t try {\n\t setState(key, reducer(state, paths), storage);\n\t } catch (e) {\n\t console.log(\"Couldn't persist state:\");\n\t console.log(e);\n\t }\n\t });\n\t };\n\t}\n\n/***/ },\n/* 154 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _backend_interactor_service = __webpack_require__(99);\n\t\n\tvar _backend_interactor_service2 = _interopRequireDefault(_backend_interactor_service);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar api = {\n\t state: {\n\t backendInteractor: (0, _backend_interactor_service2.default)(),\n\t fetchers: {}\n\t },\n\t mutations: {\n\t setBackendInteractor: function setBackendInteractor(state, backendInteractor) {\n\t state.backendInteractor = backendInteractor;\n\t },\n\t addFetcher: function addFetcher(state, _ref) {\n\t var timeline = _ref.timeline,\n\t fetcher = _ref.fetcher;\n\t\n\t state.fetchers[timeline] = fetcher;\n\t },\n\t removeFetcher: function removeFetcher(state, _ref2) {\n\t var timeline = _ref2.timeline;\n\t\n\t delete state.fetchers[timeline];\n\t }\n\t },\n\t actions: {\n\t startFetching: function startFetching(store, timeline) {\n\t if (!store.state.fetchers[timeline]) {\n\t var fetcher = store.state.backendInteractor.startFetching({ timeline: timeline, store: store });\n\t store.commit('addFetcher', { timeline: timeline, fetcher: fetcher });\n\t }\n\t },\n\t stopFetching: function stopFetching(store, timeline) {\n\t var fetcher = store.state.fetchers[timeline];\n\t window.clearInterval(fetcher);\n\t store.commit('removeFetcher', { timeline: timeline });\n\t }\n\t }\n\t};\n\t\n\texports.default = api;\n\n/***/ },\n/* 155 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _vue = __webpack_require__(96);\n\t\n\tvar _style_setter = __webpack_require__(157);\n\t\n\tvar _style_setter2 = _interopRequireDefault(_style_setter);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar defaultState = {\n\t name: 'Pleroma FE',\n\t colors: {},\n\t hideAttachments: false,\n\t hideAttachmentsInConv: false,\n\t hideNsfw: true\n\t};\n\t\n\tvar config = {\n\t state: defaultState,\n\t mutations: {\n\t setOption: function setOption(state, _ref) {\n\t var name = _ref.name,\n\t value = _ref.value;\n\t\n\t (0, _vue.set)(state, name, value);\n\t }\n\t },\n\t actions: {\n\t setPageTitle: function setPageTitle(_ref2) {\n\t var state = _ref2.state;\n\t var option = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\t\n\t document.title = option + ' ' + state.name;\n\t },\n\t setOption: function setOption(_ref3, _ref4) {\n\t var commit = _ref3.commit,\n\t dispatch = _ref3.dispatch;\n\t var name = _ref4.name,\n\t value = _ref4.value;\n\t\n\t commit('setOption', { name: name, value: value });\n\t switch (name) {\n\t case 'name':\n\t dispatch('setPageTitle');\n\t break;\n\t case 'theme':\n\t var fullPath = '/static/css/' + value;\n\t _style_setter2.default.setStyle(fullPath, commit);\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = config;\n\n/***/ },\n/* 156 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.defaultState = exports.mutations = exports.mergeOrAdd = undefined;\n\t\n\tvar _promise = __webpack_require__(189);\n\t\n\tvar _promise2 = _interopRequireDefault(_promise);\n\t\n\tvar _merge2 = __webpack_require__(92);\n\t\n\tvar _merge3 = _interopRequireDefault(_merge2);\n\t\n\tvar _each2 = __webpack_require__(85);\n\t\n\tvar _each3 = _interopRequireDefault(_each2);\n\t\n\tvar _map2 = __webpack_require__(91);\n\t\n\tvar _map3 = _interopRequireDefault(_map2);\n\t\n\tvar _compact2 = __webpack_require__(375);\n\t\n\tvar _compact3 = _interopRequireDefault(_compact2);\n\t\n\tvar _backend_interactor_service = __webpack_require__(99);\n\t\n\tvar _backend_interactor_service2 = _interopRequireDefault(_backend_interactor_service);\n\t\n\tvar _vue = __webpack_require__(96);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar mergeOrAdd = exports.mergeOrAdd = function mergeOrAdd(arr, obj, item) {\n\t if (!item) {\n\t return false;\n\t }\n\t var oldItem = obj[item.id];\n\t if (oldItem) {\n\t (0, _merge3.default)(oldItem, item);\n\t return { item: oldItem, new: false };\n\t } else {\n\t arr.push(item);\n\t obj[item.id] = item;\n\t return { item: item, new: true };\n\t }\n\t};\n\t\n\tvar mutations = exports.mutations = {\n\t setMuted: function setMuted(state, _ref) {\n\t var id = _ref.user.id,\n\t muted = _ref.muted;\n\t\n\t var user = state.usersObject[id];\n\t (0, _vue.set)(user, 'muted', muted);\n\t },\n\t setCurrentUser: function setCurrentUser(state, user) {\n\t state.currentUser = user;\n\t },\n\t beginLogin: function beginLogin(state) {\n\t state.loggingIn = true;\n\t },\n\t endLogin: function endLogin(state) {\n\t state.loggingIn = false;\n\t },\n\t addNewUsers: function addNewUsers(state, users) {\n\t (0, _each3.default)(users, function (user) {\n\t return mergeOrAdd(state.users, state.usersObject, user);\n\t });\n\t },\n\t setUserForStatus: function setUserForStatus(state, status) {\n\t status.user = state.usersObject[status.user.id];\n\t }\n\t};\n\t\n\tvar defaultState = exports.defaultState = {\n\t currentUser: false,\n\t loggingIn: false,\n\t users: [],\n\t usersObject: {}\n\t};\n\t\n\tvar users = {\n\t state: defaultState,\n\t mutations: mutations,\n\t actions: {\n\t addNewStatuses: function addNewStatuses(store, _ref2) {\n\t var statuses = _ref2.statuses;\n\t\n\t var users = (0, _map3.default)(statuses, 'user');\n\t var retweetedUsers = (0, _compact3.default)((0, _map3.default)(statuses, 'retweeted_status.user'));\n\t store.commit('addNewUsers', users);\n\t store.commit('addNewUsers', retweetedUsers);\n\t\n\t (0, _each3.default)(statuses, function (status) {\n\t store.commit('setUserForStatus', status);\n\t });\n\t\n\t (0, _each3.default)((0, _compact3.default)((0, _map3.default)(statuses, 'retweeted_status')), function (status) {\n\t store.commit('setUserForStatus', status);\n\t });\n\t },\n\t loginUser: function loginUser(store, userCredentials) {\n\t return new _promise2.default(function (resolve, reject) {\n\t var commit = store.commit;\n\t commit('beginLogin');\n\t store.rootState.api.backendInteractor.verifyCredentials(userCredentials).then(function (response) {\n\t if (response.ok) {\n\t response.json().then(function (user) {\n\t user.credentials = userCredentials;\n\t commit('setCurrentUser', user);\n\t commit('addNewUsers', [user]);\n\t\n\t commit('setBackendInteractor', (0, _backend_interactor_service2.default)(userCredentials));\n\t\n\t store.dispatch('startFetching', 'friends');\n\t\n\t store.rootState.api.backendInteractor.fetchMutes().then(function (mutedUsers) {\n\t (0, _each3.default)(mutedUsers, function (user) {\n\t user.muted = true;\n\t });\n\t store.commit('addNewUsers', mutedUsers);\n\t });\n\t\n\t store.rootState.api.backendInteractor.fetchFriends().then(function (friends) {\n\t return commit('addNewUsers', friends);\n\t });\n\t });\n\t } else {\n\t commit('endLogin');\n\t if (response.status === 401) {\n\t reject('Wrong username or password');\n\t } else {\n\t reject('An error occurred, please try again');\n\t }\n\t }\n\t commit('endLogin');\n\t resolve();\n\t }).catch(function (error) {\n\t console.log(error);\n\t commit('endLogin');\n\t reject('Failed to connect to server, try again');\n\t });\n\t });\n\t }\n\t }\n\t};\n\t\n\texports.default = users;\n\n/***/ },\n/* 157 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _times2 = __webpack_require__(400);\n\t\n\tvar _times3 = _interopRequireDefault(_times2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar setStyle = function setStyle(href, commit) {\n\t var head = document.head;\n\t var body = document.body;\n\t body.style.display = 'none';\n\t var cssEl = document.createElement('link');\n\t cssEl.setAttribute('rel', 'stylesheet');\n\t cssEl.setAttribute('href', href);\n\t head.appendChild(cssEl);\n\t\n\t var setDynamic = function setDynamic() {\n\t var baseEl = document.createElement('div');\n\t body.appendChild(baseEl);\n\t\n\t var colors = {};\n\t (0, _times3.default)(16, function (n) {\n\t var name = 'base0' + n.toString(16).toUpperCase();\n\t baseEl.setAttribute('class', name);\n\t var color = window.getComputedStyle(baseEl).getPropertyValue('color');\n\t colors[name] = color;\n\t });\n\t\n\t commit('setOption', { name: 'colors', value: colors });\n\t\n\t body.removeChild(baseEl);\n\t\n\t var styleEl = document.createElement('style');\n\t head.appendChild(styleEl);\n\t var styleSheet = styleEl.sheet;\n\t\n\t styleSheet.insertRule('a { color: ' + colors['base08'], 'index-max');\n\t styleSheet.insertRule('body { color: ' + colors['base05'], 'index-max');\n\t styleSheet.insertRule('.base05-border { border-color: ' + colors['base05'], 'index-max');\n\t styleSheet.insertRule('.base03-border { border-color: ' + colors['base03'], 'index-max');\n\t body.style.display = 'initial';\n\t };\n\t cssEl.addEventListener('load', setDynamic);\n\t};\n\t\n\tvar StyleSetter = {\n\t setStyle: setStyle\n\t};\n\t\n\texports.default = StyleSetter;\n\n/***/ },\n/* 158 */,\n/* 159 */,\n/* 160 */,\n/* 161 */,\n/* 162 */,\n/* 163 */,\n/* 164 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = {\n\t props: ['user'],\n\t computed: {\n\t headingStyle: function headingStyle() {\n\t var rgb = this.$store.state.config.colors['base00'].match(/\\d+/g);\n\t return {\n\t backgroundColor: 'rgb(' + Math.floor(rgb[0] * 0.53) + ', ' + Math.floor(rgb[1] * 0.56) + ', ' + Math.floor(rgb[2] * 0.59) + ')',\n\t backgroundImage: 'url(' + this.user.cover_photo + ')'\n\t };\n\t },\n\t bodyStyle: function bodyStyle() {\n\t return {\n\t background: 'linear-gradient(to bottom, rgba(0, 0, 0, 0), ' + this.$store.state.config.colors['base00'] + ' 80%)'\n\t };\n\t },\n\t isOtherUser: function isOtherUser() {\n\t return this.user !== this.$store.state.users.currentUser;\n\t },\n\t loggedIn: function loggedIn() {\n\t return this.$store.state.users.currentUser;\n\t },\n\t dailyAvg: function dailyAvg() {\n\t return Math.round(this.user.statuses_count / ((new Date() - new Date(this.user.created_at)) / (60 * 60 * 24 * 1000)));\n\t }\n\t },\n\t methods: {\n\t followUser: function followUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.followUser(this.user.id).then(function (followedUser) {\n\t return store.commit('addNewUsers', [followedUser]);\n\t });\n\t },\n\t unfollowUser: function unfollowUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.unfollowUser(this.user.id).then(function (unfollowedUser) {\n\t return store.commit('addNewUsers', [unfollowedUser]);\n\t });\n\t },\n\t toggleMute: function toggleMute() {\n\t var store = this.$store;\n\t store.commit('setMuted', { user: this.user, muted: !this.user.muted });\n\t store.state.api.backendInteractor.setUserMute(this.user);\n\t }\n\t }\n\t};\n\n/***/ },\n/* 165 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _user_panel = __webpack_require__(425);\n\t\n\tvar _user_panel2 = _interopRequireDefault(_user_panel);\n\t\n\tvar _nav_panel = __webpack_require__(417);\n\t\n\tvar _nav_panel2 = _interopRequireDefault(_nav_panel);\n\t\n\tvar _notifications = __webpack_require__(418);\n\t\n\tvar _notifications2 = _interopRequireDefault(_notifications);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t name: 'app',\n\t components: {\n\t UserPanel: _user_panel2.default,\n\t NavPanel: _nav_panel2.default,\n\t Notifications: _notifications2.default\n\t },\n\t data: function data() {\n\t return {\n\t mobileActivePanel: 'timeline'\n\t };\n\t },\n\t computed: {\n\t currentUser: function currentUser() {\n\t return this.$store.state.users.currentUser;\n\t },\n\t background: function background() {\n\t return this.currentUser.background_image || this.$store.state.config.background;\n\t },\n\t logoStyle: function logoStyle() {\n\t return { 'background-image': 'url(' + this.$store.state.config.logo + ')' };\n\t },\n\t style: function style() {\n\t return { 'background-image': 'url(' + this.background + ')' };\n\t },\n\t sitename: function sitename() {\n\t return this.$store.state.config.name;\n\t }\n\t },\n\t methods: {\n\t activatePanel: function activatePanel(panelName) {\n\t this.mobileActivePanel = panelName;\n\t },\n\t scrollToTop: function scrollToTop() {\n\t window.scrollTo(0, 0);\n\t }\n\t }\n\t};\n\n/***/ },\n/* 166 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _nsfw = __webpack_require__(407);\n\t\n\tvar _nsfw2 = _interopRequireDefault(_nsfw);\n\t\n\tvar _file_typeService = __webpack_require__(100);\n\t\n\tvar _file_typeService2 = _interopRequireDefault(_file_typeService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Attachment = {\n\t props: ['attachment', 'nsfw', 'statusId'],\n\t data: function data() {\n\t return {\n\t nsfwImage: _nsfw2.default,\n\t hideNsfwLocal: this.$store.state.config.hideNsfw,\n\t showHidden: false,\n\t loading: false,\n\t img: document.createElement('img')\n\t };\n\t },\n\t\n\t computed: {\n\t type: function type() {\n\t return _file_typeService2.default.fileType(this.attachment.mimetype);\n\t },\n\t hidden: function hidden() {\n\t return this.nsfw && this.hideNsfwLocal && !this.showHidden;\n\t },\n\t autoHeight: function autoHeight() {\n\t if (this.type === 'image' && this.nsfw) {\n\t return {\n\t 'min-height': '311px'\n\t };\n\t }\n\t }\n\t },\n\t methods: {\n\t linkClicked: function linkClicked(_ref) {\n\t var target = _ref.target;\n\t\n\t if (target.tagName === 'A') {\n\t window.open(target.href, '_blank');\n\t }\n\t },\n\t toggleHidden: function toggleHidden() {\n\t var _this = this;\n\t\n\t if (this.img.onload) {\n\t this.img.onload();\n\t } else {\n\t this.loading = true;\n\t this.img.src = this.attachment.url;\n\t this.img.onload = function () {\n\t _this.loading = false;\n\t _this.showHidden = !_this.showHidden;\n\t };\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = Attachment;\n\n/***/ },\n/* 167 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _toInteger2 = __webpack_require__(24);\n\t\n\tvar _toInteger3 = _interopRequireDefault(_toInteger2);\n\t\n\tvar _find2 = __webpack_require__(86);\n\t\n\tvar _find3 = _interopRequireDefault(_find2);\n\t\n\tvar _conversation = __webpack_require__(151);\n\t\n\tvar _conversation2 = _interopRequireDefault(_conversation);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar conversationPage = {\n\t components: {\n\t Conversation: _conversation2.default\n\t },\n\t computed: {\n\t statusoid: function statusoid() {\n\t var id = (0, _toInteger3.default)(this.$route.params.id);\n\t var statuses = this.$store.state.statuses.allStatuses;\n\t var status = (0, _find3.default)(statuses, { id: id });\n\t\n\t return status;\n\t }\n\t }\n\t};\n\t\n\texports.default = conversationPage;\n\n/***/ },\n/* 168 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _sortBy2 = __webpack_require__(93);\n\t\n\tvar _sortBy3 = _interopRequireDefault(_sortBy2);\n\t\n\tvar _filter2 = __webpack_require__(147);\n\t\n\tvar _filter3 = _interopRequireDefault(_filter2);\n\t\n\tvar _statuses = __webpack_require__(98);\n\t\n\tvar _status = __webpack_require__(94);\n\t\n\tvar _status2 = _interopRequireDefault(_status);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar sortAndFilterConversation = function sortAndFilterConversation(conversation) {\n\t conversation = (0, _filter3.default)(conversation, function (status) {\n\t return (0, _statuses.statusType)(status) !== 'retweet';\n\t });\n\t return (0, _sortBy3.default)(conversation, 'id');\n\t};\n\t\n\tvar conversation = {\n\t props: ['statusoid', 'collapsable'],\n\t computed: {\n\t status: function status() {\n\t return this.statusoid;\n\t },\n\t conversation: function conversation() {\n\t if (!this.status) {\n\t return false;\n\t }\n\t\n\t var conversationId = this.status.statusnet_conversation_id;\n\t var statuses = this.$store.state.statuses.allStatuses;\n\t var conversation = (0, _filter3.default)(statuses, { statusnet_conversation_id: conversationId });\n\t\n\t return sortAndFilterConversation(conversation);\n\t }\n\t },\n\t components: {\n\t Status: _status2.default\n\t },\n\t created: function created() {\n\t this.fetchConversation();\n\t },\n\t\n\t watch: {\n\t '$route': 'fetchConversation'\n\t },\n\t methods: {\n\t fetchConversation: function fetchConversation() {\n\t var _this = this;\n\t\n\t if (this.status) {\n\t var conversationId = this.status.statusnet_conversation_id;\n\t this.$store.state.api.backendInteractor.fetchConversation({ id: conversationId }).then(function (statuses) {\n\t return _this.$store.dispatch('addNewStatuses', { statuses: statuses });\n\t });\n\t } else {\n\t var id = this.$route.params.id;\n\t this.$store.state.api.backendInteractor.fetchStatus({ id: id }).then(function (status) {\n\t return _this.$store.dispatch('addNewStatuses', { statuses: [status] });\n\t }).then(function () {\n\t return _this.fetchConversation();\n\t });\n\t }\n\t },\n\t\n\t focused: function focused(id) {\n\t if (this.statusoid.retweeted_status) {\n\t return id === this.statusoid.retweeted_status.id;\n\t } else {\n\t return id === this.statusoid.id;\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = conversation;\n\n/***/ },\n/* 169 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar DeleteButton = {\n\t props: ['status'],\n\t methods: {\n\t deleteStatus: function deleteStatus() {\n\t var confirmed = window.confirm('Do you really want to delete this status?');\n\t if (confirmed) {\n\t this.$store.dispatch('deleteStatus', { id: this.status.id });\n\t }\n\t }\n\t },\n\t computed: {\n\t currentUser: function currentUser() {\n\t return this.$store.state.users.currentUser;\n\t },\n\t canDelete: function canDelete() {\n\t return this.currentUser.rights.delete_others_notice || this.status.user.id === this.currentUser.id;\n\t }\n\t }\n\t};\n\t\n\texports.default = DeleteButton;\n\n/***/ },\n/* 170 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar FavoriteButton = {\n\t props: ['status'],\n\t data: function data() {\n\t return {\n\t animated: false\n\t };\n\t },\n\t\n\t methods: {\n\t favorite: function favorite() {\n\t var _this = this;\n\t\n\t if (!this.status.favorited) {\n\t this.$store.dispatch('favorite', { id: this.status.id });\n\t } else {\n\t this.$store.dispatch('unfavorite', { id: this.status.id });\n\t }\n\t this.animated = true;\n\t setTimeout(function () {\n\t _this.animated = false;\n\t }, 500);\n\t }\n\t },\n\t computed: {\n\t classes: function classes() {\n\t return {\n\t 'icon-star-empty': !this.status.favorited,\n\t 'icon-star': this.status.favorited,\n\t 'animate-spin': this.animated\n\t };\n\t }\n\t }\n\t};\n\t\n\texports.default = FavoriteButton;\n\n/***/ },\n/* 171 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _timeline = __webpack_require__(51);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar FriendsTimeline = {\n\t components: {\n\t Timeline: _timeline2.default\n\t },\n\t computed: {\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.friends;\n\t }\n\t }\n\t};\n\t\n\texports.default = FriendsTimeline;\n\n/***/ },\n/* 172 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar LoginForm = {\n\t data: function data() {\n\t return {\n\t user: {},\n\t authError: false\n\t };\n\t },\n\t computed: {\n\t loggingIn: function loggingIn() {\n\t return this.$store.state.users.loggingIn;\n\t }\n\t },\n\t methods: {\n\t submit: function submit() {\n\t var _this = this;\n\t\n\t this.$store.dispatch('loginUser', this.user).then(function () {}, function (error) {\n\t _this.authError = error;\n\t _this.user.username = '';\n\t _this.user.password = '';\n\t });\n\t }\n\t }\n\t};\n\t\n\texports.default = LoginForm;\n\n/***/ },\n/* 173 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _status_posterService = __webpack_require__(101);\n\t\n\tvar _status_posterService2 = _interopRequireDefault(_status_posterService);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar mediaUpload = {\n\t mounted: function mounted() {\n\t var _this = this;\n\t\n\t var input = this.$el.querySelector('input');\n\t\n\t input.addEventListener('change', function (_ref) {\n\t var target = _ref.target;\n\t\n\t var file = target.files[0];\n\t _this.uploadFile(file);\n\t });\n\t },\n\t data: function data() {\n\t return {\n\t uploading: false\n\t };\n\t },\n\t\n\t methods: {\n\t uploadFile: function uploadFile(file) {\n\t var self = this;\n\t var store = this.$store;\n\t var formData = new FormData();\n\t formData.append('media', file);\n\t\n\t self.$emit('uploading');\n\t self.uploading = true;\n\t\n\t _status_posterService2.default.uploadMedia({ store: store, formData: formData }).then(function (fileData) {\n\t self.$emit('uploaded', fileData);\n\t self.uploading = false;\n\t }, function (error) {\n\t self.$emit('upload-failed');\n\t self.uploading = false;\n\t });\n\t },\n\t fileDrop: function fileDrop(e) {\n\t if (e.dataTransfer.files.length > 0) {\n\t e.preventDefault();\n\t this.uploadFile(e.dataTransfer.files[0]);\n\t }\n\t },\n\t fileDrag: function fileDrag(e) {\n\t var types = e.dataTransfer.types;\n\t if (types.contains('Files')) {\n\t e.dataTransfer.dropEffect = 'copy';\n\t } else {\n\t e.dataTransfer.dropEffect = 'none';\n\t }\n\t }\n\t },\n\t props: ['dropFiles'],\n\t watch: {\n\t 'dropFiles': function dropFiles(fileInfos) {\n\t if (!this.uploading) {\n\t this.uploadFile(fileInfos[0]);\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = mediaUpload;\n\n/***/ },\n/* 174 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _timeline = __webpack_require__(51);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Mentions = {\n\t computed: {\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.mentions;\n\t }\n\t },\n\t components: {\n\t Timeline: _timeline2.default\n\t }\n\t};\n\t\n\texports.default = Mentions;\n\n/***/ },\n/* 175 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar NavPanel = {\n\t computed: {\n\t currentUser: function currentUser() {\n\t return this.$store.state.users.currentUser;\n\t }\n\t }\n\t};\n\t\n\texports.default = NavPanel;\n\n/***/ },\n/* 176 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _filter2 = __webpack_require__(147);\n\t\n\tvar _filter3 = _interopRequireDefault(_filter2);\n\t\n\tvar _take2 = __webpack_require__(398);\n\t\n\tvar _take3 = _interopRequireDefault(_take2);\n\t\n\tvar _sortBy2 = __webpack_require__(93);\n\t\n\tvar _sortBy3 = _interopRequireDefault(_sortBy2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Notifications = {\n\t data: function data() {\n\t return {\n\t visibleNotificationCount: 10\n\t };\n\t },\n\t\n\t computed: {\n\t notifications: function notifications() {\n\t return this.$store.state.statuses.notifications;\n\t },\n\t unseenNotifications: function unseenNotifications() {\n\t return (0, _filter3.default)(this.notifications, function (_ref) {\n\t var seen = _ref.seen;\n\t return !seen;\n\t });\n\t },\n\t visibleNotifications: function visibleNotifications() {\n\t var sortedNotifications = (0, _sortBy3.default)(this.notifications, function (_ref2) {\n\t var action = _ref2.action;\n\t return -action.id;\n\t });\n\t sortedNotifications = (0, _sortBy3.default)(sortedNotifications, 'seen');\n\t return (0, _take3.default)(sortedNotifications, this.visibleNotificationCount);\n\t },\n\t unseenCount: function unseenCount() {\n\t return this.unseenNotifications.length;\n\t }\n\t },\n\t watch: {\n\t unseenCount: function unseenCount(count) {\n\t if (count > 0) {\n\t this.$store.dispatch('setPageTitle', '(' + count + ')');\n\t } else {\n\t this.$store.dispatch('setPageTitle', '');\n\t }\n\t }\n\t },\n\t methods: {\n\t markAsSeen: function markAsSeen() {\n\t this.$store.commit('markNotificationsAsSeen', this.visibleNotifications);\n\t }\n\t }\n\t};\n\t\n\texports.default = Notifications;\n\n/***/ },\n/* 177 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _toConsumableArray2 = __webpack_require__(193);\n\t\n\tvar _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);\n\t\n\tvar _uniqBy2 = __webpack_require__(403);\n\t\n\tvar _uniqBy3 = _interopRequireDefault(_uniqBy2);\n\t\n\tvar _map2 = __webpack_require__(91);\n\t\n\tvar _map3 = _interopRequireDefault(_map2);\n\t\n\tvar _reject2 = __webpack_require__(393);\n\t\n\tvar _reject3 = _interopRequireDefault(_reject2);\n\t\n\tvar _merge2 = __webpack_require__(92);\n\t\n\tvar _merge3 = _interopRequireDefault(_merge2);\n\t\n\tvar _status_posterService = __webpack_require__(101);\n\t\n\tvar _status_posterService2 = _interopRequireDefault(_status_posterService);\n\t\n\tvar _media_upload = __webpack_require__(415);\n\t\n\tvar _media_upload2 = _interopRequireDefault(_media_upload);\n\t\n\tvar _file_typeService = __webpack_require__(100);\n\t\n\tvar _file_typeService2 = _interopRequireDefault(_file_typeService);\n\t\n\tvar _Tribute = __webpack_require__(158);\n\t\n\tvar _Tribute2 = _interopRequireDefault(_Tribute);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t__webpack_require__(230);\n\t\n\tvar buildMentionsString = function buildMentionsString(_ref, currentUser) {\n\t var user = _ref.user,\n\t attentions = _ref.attentions;\n\t\n\t var allAttentions = [].concat((0, _toConsumableArray3.default)(attentions));\n\t\n\t allAttentions.unshift(user);\n\t\n\t allAttentions = (0, _uniqBy3.default)(allAttentions, 'id');\n\t allAttentions = (0, _reject3.default)(allAttentions, { id: currentUser.id });\n\t\n\t var mentions = (0, _map3.default)(allAttentions, function (attention) {\n\t return '@' + attention.screen_name;\n\t });\n\t\n\t return mentions.join(' ') + ' ';\n\t};\n\t\n\tvar defaultCollection = {\n\t trigger: '@',\n\t\n\t iframe: null,\n\t\n\t selectClass: 'highlight',\n\t\n\t selectTemplate: function selectTemplate(item) {\n\t return '@' + item.original.screen_name;\n\t },\n\t\n\t menuItemTemplate: function menuItemTemplate(item) {\n\t return '
' + item.string + '
';\n\t },\n\t\n\t noMatchTemplate: null,\n\t\n\t menuContainer: document.body,\n\t\n\t lookup: function lookup(_ref2) {\n\t var name = _ref2.name,\n\t screen_name = _ref2.screen_name;\n\t return name + ' (@' + screen_name + ')';\n\t },\n\t fillAttr: 'screen_name',\n\t\n\t values: [],\n\t\n\t requireLeadingSpace: true,\n\t\n\t allowSpaces: false\n\t};\n\t\n\tvar tribute = new _Tribute2.default({ collection: [] });\n\t\n\tvar PostStatusForm = {\n\t props: ['replyTo', 'repliedUser', 'attentions'],\n\t components: {\n\t MediaUpload: _media_upload2.default\n\t },\n\t data: function data() {\n\t var statusText = '';\n\t\n\t if (this.replyTo) {\n\t var currentUser = this.$store.state.users.currentUser;\n\t statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser);\n\t }\n\t\n\t return {\n\t dropFiles: [],\n\t submitDisabled: false,\n\t newStatus: {\n\t status: statusText,\n\t files: []\n\t }\n\t };\n\t },\n\t\n\t computed: {\n\t users: function users() {\n\t return this.$store.state.users.users;\n\t },\n\t completions: function completions() {\n\t var users = this.users;\n\t users = (0, _merge3.default)({ values: users }, defaultCollection);\n\t return [users];\n\t }\n\t },\n\t watch: {\n\t completions: function completions() {\n\t tribute.collection = this.completions;\n\t }\n\t },\n\t mounted: function mounted() {\n\t var textarea = this.$el.querySelector('textarea');\n\t tribute.collection = this.completions;\n\t tribute.attach(textarea);\n\t },\n\t\n\t methods: {\n\t postStatus: function postStatus(newStatus) {\n\t _status_posterService2.default.postStatus({\n\t status: newStatus.status,\n\t media: newStatus.files,\n\t store: this.$store,\n\t inReplyToStatusId: this.replyTo\n\t });\n\t this.newStatus = {\n\t status: '',\n\t files: []\n\t };\n\t this.$emit('posted');\n\t },\n\t addMediaFile: function addMediaFile(fileInfo) {\n\t this.newStatus.files.push(fileInfo);\n\t this.enableSubmit();\n\t },\n\t removeMediaFile: function removeMediaFile(fileInfo) {\n\t var index = this.newStatus.files.indexOf(fileInfo);\n\t this.newStatus.files.splice(index, 1);\n\t },\n\t disableSubmit: function disableSubmit() {\n\t this.submitDisabled = true;\n\t },\n\t enableSubmit: function enableSubmit() {\n\t this.submitDisabled = false;\n\t },\n\t type: function type(fileInfo) {\n\t return _file_typeService2.default.fileType(fileInfo.mimetype);\n\t },\n\t fileDrop: function fileDrop(e) {\n\t if (e.dataTransfer.files.length > 0) {\n\t e.preventDefault();\n\t this.dropFiles = e.dataTransfer.files;\n\t }\n\t },\n\t fileDrag: function fileDrag(e) {\n\t e.dataTransfer.dropEffect = 'copy';\n\t }\n\t }\n\t};\n\t\n\texports.default = PostStatusForm;\n\n/***/ },\n/* 178 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _timeline = __webpack_require__(51);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar PublicAndExternalTimeline = {\n\t components: {\n\t Timeline: _timeline2.default\n\t },\n\t computed: {\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.publicAndExternal;\n\t }\n\t },\n\t created: function created() {\n\t this.$store.dispatch('startFetching', 'publicAndExternal');\n\t },\n\t destroyed: function destroyed() {\n\t this.$store.dispatch('stopFetching', 'publicAndExternal');\n\t }\n\t};\n\t\n\texports.default = PublicAndExternalTimeline;\n\n/***/ },\n/* 179 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _timeline = __webpack_require__(51);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar PublicTimeline = {\n\t components: {\n\t Timeline: _timeline2.default\n\t },\n\t computed: {\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.public;\n\t }\n\t },\n\t created: function created() {\n\t this.$store.dispatch('startFetching', 'public');\n\t },\n\t destroyed: function destroyed() {\n\t this.$store.dispatch('stopFetching', 'public');\n\t }\n\t};\n\t\n\texports.default = PublicTimeline;\n\n/***/ },\n/* 180 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar RetweetButton = {\n\t props: ['status'],\n\t data: function data() {\n\t return {\n\t animated: false\n\t };\n\t },\n\t\n\t methods: {\n\t retweet: function retweet() {\n\t var _this = this;\n\t\n\t if (!this.status.repeated) {\n\t this.$store.dispatch('retweet', { id: this.status.id });\n\t }\n\t this.animated = true;\n\t setTimeout(function () {\n\t _this.animated = false;\n\t }, 500);\n\t }\n\t },\n\t computed: {\n\t classes: function classes() {\n\t return {\n\t 'retweeted': this.status.repeated,\n\t 'animate-spin': this.animated\n\t };\n\t }\n\t }\n\t};\n\t\n\texports.default = RetweetButton;\n\n/***/ },\n/* 181 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _style_switcher = __webpack_require__(424);\n\t\n\tvar _style_switcher2 = _interopRequireDefault(_style_switcher);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar settings = {\n\t data: function data() {\n\t return {\n\t hideAttachmentsLocal: this.$store.state.config.hideAttachments,\n\t hideAttachmentsInConvLocal: this.$store.state.config.hideAttachmentsInConv,\n\t hideNsfwLocal: this.$store.state.config.hideNsfw\n\t };\n\t },\n\t\n\t components: {\n\t StyleSwitcher: _style_switcher2.default\n\t },\n\t watch: {\n\t hideAttachmentsLocal: function hideAttachmentsLocal(value) {\n\t this.$store.dispatch('setOption', { name: 'hideAttachments', value: value });\n\t },\n\t hideAttachmentsInConvLocal: function hideAttachmentsInConvLocal(value) {\n\t this.$store.dispatch('setOption', { name: 'hideAttachmentsInConv', value: value });\n\t },\n\t hideNsfwLocal: function hideNsfwLocal(value) {\n\t this.$store.dispatch('setOption', { name: 'hideNsfw', value: value });\n\t }\n\t }\n\t};\n\t\n\texports.default = settings;\n\n/***/ },\n/* 182 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _attachment = __webpack_require__(409);\n\t\n\tvar _attachment2 = _interopRequireDefault(_attachment);\n\t\n\tvar _favorite_button = __webpack_require__(412);\n\t\n\tvar _favorite_button2 = _interopRequireDefault(_favorite_button);\n\t\n\tvar _retweet_button = __webpack_require__(421);\n\t\n\tvar _retweet_button2 = _interopRequireDefault(_retweet_button);\n\t\n\tvar _delete_button = __webpack_require__(411);\n\t\n\tvar _delete_button2 = _interopRequireDefault(_delete_button);\n\t\n\tvar _post_status_form = __webpack_require__(152);\n\t\n\tvar _post_status_form2 = _interopRequireDefault(_post_status_form);\n\t\n\tvar _user_card_content = __webpack_require__(95);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Status = {\n\t props: ['statusoid', 'expandable', 'inConversation', 'focused'],\n\t data: function data() {\n\t return {\n\t replying: false,\n\t expanded: false,\n\t unmuted: false,\n\t userExpanded: false\n\t };\n\t },\n\t computed: {\n\t hideAttachments: function hideAttachments() {\n\t return this.$store.state.config.hideAttachments && !this.inConversation || this.$store.state.config.hideAttachmentsInConv && this.inConversation;\n\t },\n\t retweet: function retweet() {\n\t return !!this.statusoid.retweeted_status;\n\t },\n\t retweeter: function retweeter() {\n\t return this.statusoid.user.name;\n\t },\n\t status: function status() {\n\t if (this.retweet) {\n\t return this.statusoid.retweeted_status;\n\t } else {\n\t return this.statusoid;\n\t }\n\t },\n\t loggedIn: function loggedIn() {\n\t return !!this.$store.state.users.currentUser;\n\t },\n\t muted: function muted() {\n\t return !this.unmuted && this.status.user.muted;\n\t },\n\t isReply: function isReply() {\n\t return !!this.status.in_reply_to_status_id;\n\t },\n\t borderColor: function borderColor() {\n\t return {\n\t borderBottomColor: this.$store.state.config.colors['base02']\n\t };\n\t }\n\t },\n\t components: {\n\t Attachment: _attachment2.default,\n\t FavoriteButton: _favorite_button2.default,\n\t RetweetButton: _retweet_button2.default,\n\t DeleteButton: _delete_button2.default,\n\t PostStatusForm: _post_status_form2.default,\n\t UserCardContent: _user_card_content2.default\n\t },\n\t methods: {\n\t linkClicked: function linkClicked(_ref) {\n\t var target = _ref.target;\n\t\n\t if (target.tagName === 'SPAN') {\n\t target = target.parentNode;\n\t }\n\t if (target.tagName === 'A') {\n\t window.open(target.href, '_blank');\n\t }\n\t },\n\t toggleReplying: function toggleReplying() {\n\t this.replying = !this.replying;\n\t },\n\t toggleExpanded: function toggleExpanded() {\n\t this.$emit('toggleExpanded');\n\t },\n\t toggleMute: function toggleMute() {\n\t this.unmuted = !this.unmuted;\n\t },\n\t toggleUserExpanded: function toggleUserExpanded() {\n\t this.userExpanded = !this.userExpanded;\n\t }\n\t }\n\t};\n\t\n\texports.default = Status;\n\n/***/ },\n/* 183 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _status = __webpack_require__(94);\n\t\n\tvar _status2 = _interopRequireDefault(_status);\n\t\n\tvar _conversation = __webpack_require__(151);\n\t\n\tvar _conversation2 = _interopRequireDefault(_conversation);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar statusOrConversation = {\n\t props: ['statusoid'],\n\t data: function data() {\n\t return {\n\t expanded: false\n\t };\n\t },\n\t\n\t components: {\n\t Status: _status2.default,\n\t Conversation: _conversation2.default\n\t },\n\t methods: {\n\t toggleExpanded: function toggleExpanded() {\n\t this.expanded = !this.expanded;\n\t }\n\t }\n\t};\n\t\n\texports.default = statusOrConversation;\n\n/***/ },\n/* 184 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = {\n\t data: function data() {\n\t return {\n\t availableStyles: [],\n\t selected: this.$store.state.config.theme\n\t };\n\t },\n\t created: function created() {\n\t var self = this;\n\t window.fetch('/static/css/themes.json').then(function (data) {\n\t return data.json();\n\t }).then(function (themes) {\n\t self.availableStyles = themes;\n\t });\n\t },\n\t\n\t watch: {\n\t selected: function selected() {\n\t this.$store.dispatch('setOption', { name: 'theme', value: this.selected });\n\t }\n\t }\n\t};\n\n/***/ },\n/* 185 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _status = __webpack_require__(94);\n\t\n\tvar _status2 = _interopRequireDefault(_status);\n\t\n\tvar _timeline_fetcherService = __webpack_require__(102);\n\t\n\tvar _timeline_fetcherService2 = _interopRequireDefault(_timeline_fetcherService);\n\t\n\tvar _status_or_conversation = __webpack_require__(423);\n\t\n\tvar _status_or_conversation2 = _interopRequireDefault(_status_or_conversation);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Timeline = {\n\t props: ['timeline', 'timelineName', 'title'],\n\t computed: {\n\t timelineError: function timelineError() {\n\t return this.$store.state.statuses.error;\n\t }\n\t },\n\t components: {\n\t Status: _status2.default,\n\t StatusOrConversation: _status_or_conversation2.default\n\t },\n\t created: function created() {\n\t var store = this.$store;\n\t var credentials = store.state.users.currentUser.credentials;\n\t var showImmediately = this.timeline.visibleStatuses.length === 0;\n\t\n\t _timeline_fetcherService2.default.fetchAndUpdate({\n\t store: store,\n\t credentials: credentials,\n\t timeline: this.timelineName,\n\t showImmediately: showImmediately\n\t });\n\t },\n\t\n\t methods: {\n\t showNewStatuses: function showNewStatuses() {\n\t this.$store.commit('showNewStatuses', { timeline: this.timelineName });\n\t },\n\t fetchOlderStatuses: function fetchOlderStatuses() {\n\t var _this = this;\n\t\n\t var store = this.$store;\n\t var credentials = store.state.users.currentUser.credentials;\n\t store.commit('setLoading', { timeline: this.timelineName, value: true });\n\t _timeline_fetcherService2.default.fetchAndUpdate({\n\t store: store,\n\t credentials: credentials,\n\t timeline: this.timelineName,\n\t older: true,\n\t showImmediately: true\n\t }).then(function () {\n\t return store.commit('setLoading', { timeline: _this.timelineName, value: false });\n\t });\n\t }\n\t }\n\t};\n\t\n\texports.default = Timeline;\n\n/***/ },\n/* 186 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _login_form = __webpack_require__(414);\n\t\n\tvar _login_form2 = _interopRequireDefault(_login_form);\n\t\n\tvar _post_status_form = __webpack_require__(152);\n\t\n\tvar _post_status_form2 = _interopRequireDefault(_post_status_form);\n\t\n\tvar _user_card_content = __webpack_require__(95);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserPanel = {\n\t computed: {\n\t user: function user() {\n\t return this.$store.state.users.currentUser;\n\t }\n\t },\n\t components: {\n\t LoginForm: _login_form2.default,\n\t PostStatusForm: _post_status_form2.default,\n\t UserCardContent: _user_card_content2.default\n\t }\n\t};\n\t\n\texports.default = UserPanel;\n\n/***/ },\n/* 187 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _find2 = __webpack_require__(86);\n\t\n\tvar _find3 = _interopRequireDefault(_find2);\n\t\n\tvar _user_card_content = __webpack_require__(95);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserProfile = {\n\t computed: {\n\t user: function user() {\n\t var id = this.$route.params.id;\n\t var user = (0, _find3.default)(this.$store.state.users.users, { id: id });\n\t return user;\n\t }\n\t },\n\t components: {\n\t UserCardContent: _user_card_content2.default\n\t }\n\t};\n\t\n\texports.default = UserProfile;\n\n/***/ },\n/* 188 */,\n/* 189 */,\n/* 190 */,\n/* 191 */,\n/* 192 */,\n/* 193 */,\n/* 194 */,\n/* 195 */,\n/* 196 */,\n/* 197 */,\n/* 198 */,\n/* 199 */,\n/* 200 */,\n/* 201 */,\n/* 202 */,\n/* 203 */,\n/* 204 */,\n/* 205 */,\n/* 206 */,\n/* 207 */,\n/* 208 */,\n/* 209 */,\n/* 210 */,\n/* 211 */,\n/* 212 */,\n/* 213 */,\n/* 214 */,\n/* 215 */,\n/* 216 */,\n/* 217 */,\n/* 218 */,\n/* 219 */,\n/* 220 */,\n/* 221 */,\n/* 222 */,\n/* 223 */,\n/* 224 */,\n/* 225 */,\n/* 226 */,\n/* 227 */,\n/* 228 */,\n/* 229 */,\n/* 230 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 231 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 232 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 233 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 234 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 235 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 236 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 237 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 238 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 239 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 240 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 241 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 242 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 243 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 244 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 245 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 246 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 247 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 248 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 249 */\n/***/ function(module, exports) {\n\n\tmodule.exports = [\n\t\t\"just now\",\n\t\t[\n\t\t\t\"%s second ago\",\n\t\t\t\"%s seconds ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s minute ago\",\n\t\t\t\"%s minutes ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s hour ago\",\n\t\t\t\"%s hours ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s day ago\",\n\t\t\t\"%s days ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s week ago\",\n\t\t\t\"%s weeks ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s month ago\",\n\t\t\t\"%s months ago\"\n\t\t],\n\t\t[\n\t\t\t\"%s year ago\",\n\t\t\t\"%s years ago\"\n\t\t]\n\t];\n\n/***/ },\n/* 250 */,\n/* 251 */,\n/* 252 */,\n/* 253 */,\n/* 254 */,\n/* 255 */,\n/* 256 */,\n/* 257 */,\n/* 258 */,\n/* 259 */,\n/* 260 */,\n/* 261 */,\n/* 262 */,\n/* 263 */,\n/* 264 */,\n/* 265 */,\n/* 266 */,\n/* 267 */,\n/* 268 */,\n/* 269 */,\n/* 270 */,\n/* 271 */,\n/* 272 */,\n/* 273 */,\n/* 274 */,\n/* 275 */,\n/* 276 */,\n/* 277 */,\n/* 278 */,\n/* 279 */,\n/* 280 */,\n/* 281 */,\n/* 282 */,\n/* 283 */,\n/* 284 */,\n/* 285 */,\n/* 286 */,\n/* 287 */,\n/* 288 */,\n/* 289 */,\n/* 290 */,\n/* 291 */,\n/* 292 */,\n/* 293 */,\n/* 294 */,\n/* 295 */,\n/* 296 */,\n/* 297 */,\n/* 298 */,\n/* 299 */,\n/* 300 */,\n/* 301 */,\n/* 302 */,\n/* 303 */,\n/* 304 */,\n/* 305 */,\n/* 306 */,\n/* 307 */,\n/* 308 */,\n/* 309 */,\n/* 310 */,\n/* 311 */,\n/* 312 */,\n/* 313 */,\n/* 314 */,\n/* 315 */,\n/* 316 */,\n/* 317 */,\n/* 318 */,\n/* 319 */,\n/* 320 */,\n/* 321 */,\n/* 322 */,\n/* 323 */,\n/* 324 */,\n/* 325 */,\n/* 326 */,\n/* 327 */,\n/* 328 */,\n/* 329 */,\n/* 330 */,\n/* 331 */,\n/* 332 */,\n/* 333 */,\n/* 334 */,\n/* 335 */,\n/* 336 */,\n/* 337 */,\n/* 338 */,\n/* 339 */,\n/* 340 */,\n/* 341 */,\n/* 342 */,\n/* 343 */,\n/* 344 */,\n/* 345 */,\n/* 346 */,\n/* 347 */,\n/* 348 */,\n/* 349 */,\n/* 350 */,\n/* 351 */,\n/* 352 */,\n/* 353 */,\n/* 354 */,\n/* 355 */,\n/* 356 */,\n/* 357 */,\n/* 358 */,\n/* 359 */,\n/* 360 */,\n/* 361 */,\n/* 362 */,\n/* 363 */,\n/* 364 */,\n/* 365 */,\n/* 366 */,\n/* 367 */,\n/* 368 */,\n/* 369 */,\n/* 370 */,\n/* 371 */,\n/* 372 */,\n/* 373 */,\n/* 374 */,\n/* 375 */,\n/* 376 */,\n/* 377 */,\n/* 378 */,\n/* 379 */,\n/* 380 */,\n/* 381 */,\n/* 382 */,\n/* 383 */,\n/* 384 */,\n/* 385 */,\n/* 386 */,\n/* 387 */,\n/* 388 */,\n/* 389 */,\n/* 390 */,\n/* 391 */,\n/* 392 */,\n/* 393 */,\n/* 394 */,\n/* 395 */,\n/* 396 */,\n/* 397 */,\n/* 398 */,\n/* 399 */,\n/* 400 */,\n/* 401 */,\n/* 402 */,\n/* 403 */,\n/* 404 */,\n/* 405 */,\n/* 406 */,\n/* 407 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__.p + \"static/img/nsfw.9399fe3.png\";\n\n/***/ },\n/* 408 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(242)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(165),\n\t /* template */\n\t __webpack_require__(442),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 409 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(240)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(166),\n\t /* template */\n\t __webpack_require__(440),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 410 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(167),\n\t /* template */\n\t __webpack_require__(429),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 411 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(238)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(169),\n\t /* template */\n\t __webpack_require__(438),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 412 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(243)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(170),\n\t /* template */\n\t __webpack_require__(444),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 413 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(171),\n\t /* template */\n\t __webpack_require__(430),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 414 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(233)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(172),\n\t /* template */\n\t __webpack_require__(431),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 415 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(244)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(173),\n\t /* template */\n\t __webpack_require__(445),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 416 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(174),\n\t /* template */\n\t __webpack_require__(433),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 417 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(232)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(175),\n\t /* template */\n\t __webpack_require__(428),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 418 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(235)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(176),\n\t /* template */\n\t __webpack_require__(434),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 419 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(178),\n\t /* template */\n\t __webpack_require__(437),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 420 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(179),\n\t /* template */\n\t __webpack_require__(443),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 421 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(236)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(180),\n\t /* template */\n\t __webpack_require__(435),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 422 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(245)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(181),\n\t /* template */\n\t __webpack_require__(446),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 423 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(241)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(183),\n\t /* template */\n\t __webpack_require__(441),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 424 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(246)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(184),\n\t /* template */\n\t __webpack_require__(447),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 425 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(186),\n\t /* template */\n\t __webpack_require__(448),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 426 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(247)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(187),\n\t /* template */\n\t __webpack_require__(449),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ },\n/* 427 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"timeline panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading timeline-heading base01-background base04\"\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]), _vm._v(\" \"), (_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n\t staticClass: \"base06 base02-background loadmore-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.showNewStatuses($event)\n\t }\n\t }\n\t }, [_vm._v(\"\\n Show new (\" + _vm._s(_vm.timeline.newStatusCount) + \")\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.timelineError) ? _c('button', {\n\t staticClass: \"base06 error no-press loadmore-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t }\n\t }\n\t }, [_vm._v(\"\\n Error fetching updates\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n\t staticClass: \"base04 base01-background no-press loadmore-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t }\n\t }\n\t }, [_vm._v(\"\\n Up-to-date\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, [_vm._l((_vm.timeline.visibleStatuses), function(status) {\n\t return _c('status-or-conversation', {\n\t key: status.id,\n\t attrs: {\n\t \"statusoid\": status\n\t }\n\t })\n\t }), _vm._v(\" \"), (!_vm.timeline.loading) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.fetchOlderStatuses()\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"base01-background base03-border new-status-notification text-center\"\n\t }, [_vm._v(\"Load older statuses.\")])]) : _c('div', {\n\t staticClass: \"base01-background base03-border new-status-notification text-center\"\n\t }, [_vm._v(\"...\")])], 2)])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 428 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"nav-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default base01-background\"\n\t }, [_c('ul', {\n\t staticClass: \"base03-border\"\n\t }, [(_vm.currentUser) ? _c('li', [_c('router-link', {\n\t staticClass: \"base00-background\",\n\t attrs: {\n\t \"to\": \"/main/friends\"\n\t }\n\t }, [_vm._v(\"\\n Timeline\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', [_c('router-link', {\n\t staticClass: \"base00-background\",\n\t attrs: {\n\t \"to\": {\n\t name: 'mentions',\n\t params: {\n\t username: _vm.currentUser.screen_name\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"\\n Mentions\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('li', [_c('router-link', {\n\t staticClass: \"base00-background\",\n\t attrs: {\n\t \"to\": \"/main/public\"\n\t }\n\t }, [_vm._v(\"\\n Public Timeline\\n \")])], 1), _vm._v(\" \"), _c('li', [_c('router-link', {\n\t staticClass: \"base00-background\",\n\t attrs: {\n\t \"to\": \"/main/all\"\n\t }\n\t }, [_vm._v(\"\\n The Whole Known Network\\n \")])], 1)])])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 429 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('conversation', {\n\t attrs: {\n\t \"collapsable\": false,\n\t \"statusoid\": _vm.statusoid\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ },\n/* 430 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": 'Friends',\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'friends'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ },\n/* 431 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"login panel panel-default base00-background\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading base01-background base04\"\n\t }, [_vm._v(\"\\n Log in\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('form', {\n\t staticClass: \"login-form\",\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.submit(_vm.user)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"username\"\n\t }\n\t }, [_vm._v(\"Username\")]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.username),\n\t expression: \"user.username\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"id\": \"username\",\n\t \"placeholder\": \"e.g. lain\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.user.username)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.user.username = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"password\"\n\t }\n\t }, [_vm._v(\"Password\")]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.password),\n\t expression: \"user.password\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"id\": \"password\",\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.user.password)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.user.password = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('button', {\n\t staticClass: \"btn btn-default base05 base01-background\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(\"Submit\")])]), _vm._v(\" \"), (_vm.authError) ? _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('div', {\n\t staticClass: \"error base05\"\n\t }, [_vm._v(_vm._s(_vm.authError))])]) : _vm._e()])])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 432 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (!_vm.status.deleted) ? _c('div', {\n\t staticClass: \"status-el base00-background base03-border\",\n\t class: [{\n\t 'base01-background': _vm.focused\n\t }, {\n\t 'status-conversation': _vm.inConversation\n\t }]\n\t }, [(_vm.muted) ? [_c('div', {\n\t staticClass: \"media status container muted\"\n\t }, [_c('small', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.user.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), _c('a', {\n\t staticClass: \"unmute\",\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleMute($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-eye-off\"\n\t })])])] : _vm._e(), _vm._v(\" \"), (!_vm.muted) ? [(_vm.retweet) ? _c('div', {\n\t staticClass: \"media container retweet-info\"\n\t }, [_vm._m(0), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media-body\"\n\t }, [_vm._v(\"\\n Retweeted by \" + _vm._s(_vm.retweeter) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media status container\"\n\t }, [_c('div', {\n\t staticClass: \"media-left\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": _vm.status.user.statusnet_profile_url\n\t }\n\t }, [_c('img', {\n\t staticClass: \"avatar\",\n\t attrs: {\n\t \"src\": _vm.status.user.profile_image_url_original\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleUserExpanded($event)\n\t }\n\t }\n\t })])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media-body\"\n\t }, [(_vm.userExpanded) ? _c('div', {\n\t staticClass: \"base05 base05=border usercard\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.status.user\n\t }\n\t })], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-content\"\n\t }, [_c('h4', {\n\t staticClass: \"media-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.status.user.name) + \"\\n \"), _c('small', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.user.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), (_vm.status.in_reply_to_screen_name) ? _c('small', [_vm._v(\" >\\n \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.in_reply_to_user_id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.status.in_reply_to_screen_name) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.isReply) ? [_c('small', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: _vm.status.in_reply_to_status_id\n\t }\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-reply\"\n\t })])], 1)] : _vm._e(), _vm._v(\"\\n -\\n \"), _c('small', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: _vm.status.id\n\t }\n\t }\n\t }\n\t }, [_c('timeago', {\n\t attrs: {\n\t \"since\": _vm.status.created_at,\n\t \"auto-update\": 60\n\t }\n\t })], 1)], 1), _vm._v(\" \"), (_vm.expandable) ? [_vm._v(\"\\n -\\n \"), _c('small', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleExpanded($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-plus-squared\"\n\t })])]), _vm._v(\" \"), (_vm.status.user.muted) ? _c('small', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleMute($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-eye-off\"\n\t })])]) : _vm._e()] : _vm._e(), _vm._v(\" \"), (!_vm.status.is_local) ? _c('small', {\n\t staticClass: \"source_url\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": _vm.status.external_url,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-binoculars\"\n\t })])]) : _vm._e()], 2), _vm._v(\" \"), _c('div', {\n\t staticClass: \"status-content\",\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.status.statusnet_html)\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.linkClicked($event)\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.status.attachments) ? _c('div', {\n\t staticClass: \"attachments\"\n\t }, _vm._l((_vm.status.attachments), function(attachment) {\n\t return (!_vm.hideAttachments) ? _c('attachment', {\n\t attrs: {\n\t \"status-id\": _vm.status.id,\n\t \"nsfw\": _vm.status.nsfw,\n\t \"attachment\": attachment\n\t }\n\t }) : _vm._e()\n\t })) : _vm._e()]), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', [_c('div', {\n\t staticClass: \"status-actions\"\n\t }, [_c('div', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleReplying($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"fa icon-reply\",\n\t class: {\n\t 'icon-reply-active': _vm.replying\n\t }\n\t })])]), _vm._v(\" \"), _c('retweet-button', {\n\t attrs: {\n\t \"status\": _vm.status\n\t }\n\t }), _vm._v(\" \"), _c('favorite-button', {\n\t attrs: {\n\t \"status\": _vm.status\n\t }\n\t }), _vm._v(\" \"), _c('delete-button', {\n\t attrs: {\n\t \"status\": _vm.status\n\t }\n\t })], 1)]) : _vm._e()])]), _vm._v(\" \"), (_vm.replying) ? _c('div', {\n\t staticClass: \"status base00-background container\"\n\t }, [_c('div', {\n\t staticClass: \"reply-left\"\n\t }), _vm._v(\" \"), _c('post-status-form', {\n\t staticClass: \"reply-body\",\n\t attrs: {\n\t \"reply-to\": _vm.status.id,\n\t \"attentions\": _vm.status.attentions,\n\t \"repliedUser\": _vm.status.user\n\t },\n\t on: {\n\t \"posted\": _vm.toggleReplying\n\t }\n\t })], 1) : _vm._e()] : _vm._e()], 2) : _vm._e()\n\t},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"media-left\"\n\t }, [_c('i', {\n\t staticClass: \"fa icon-retweet retweeted\"\n\t })])\n\t}]}\n\n/***/ },\n/* 433 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": 'Mentions',\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'mentions'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ },\n/* 434 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"notifications\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default base00-background\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading base01-background base04\"\n\t }, [(_vm.unseenCount) ? _c('span', {\n\t staticClass: \"unseen-count\"\n\t }, [_vm._v(_vm._s(_vm.unseenCount))]) : _vm._e(), _vm._v(\"\\n Notifications\\n \"), _c('button', {\n\t staticClass: \"base06 base02-background read-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.markAsSeen($event)\n\t }\n\t }\n\t }, [_vm._v(\"Read!\")])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body base03-border\"\n\t }, _vm._l((_vm.visibleNotifications), function(notification) {\n\t return _c('div', {\n\t staticClass: \"notification\",\n\t class: {\n\t \"unseen\": !notification.seen\n\t }\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": notification.action.user.statusnet_profile_url\n\t }\n\t }, [_c('img', {\n\t staticClass: \"avatar\",\n\t attrs: {\n\t \"src\": notification.action.user.profile_image_url_original\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"text\"\n\t }, [_c('timeago', {\n\t attrs: {\n\t \"since\": notification.action.created_at,\n\t \"auto-update\": 240\n\t }\n\t }), _vm._v(\" \"), (notification.type === 'favorite') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n\t staticClass: \"fa icon-star\"\n\t }), _vm._v(\" favorited your \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: notification.status.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"status\")])], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e(), _vm._v(\" \"), (notification.type === 'repeat') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n\t staticClass: \"fa icon-retweet\"\n\t }), _vm._v(\" repeated your \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: notification.status.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"status\")])], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e(), _vm._v(\" \"), (notification.type === 'mention') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n\t staticClass: \"fa icon-reply\"\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: notification.status.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"mentioned\")]), _vm._v(\" you\")], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e()], 1)])\n\t }))])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 435 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [_c('i', {\n\t staticClass: \"icon-retweet fa\",\n\t class: _vm.classes,\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.retweet()\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 436 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"timeline panel panel-default base00-background\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading base01-background base04 base03-border conversation-heading\"\n\t }, [_vm._v(\"\\n Conversation\\n \"), (_vm.collapsable) ? _c('span', {\n\t staticStyle: {\n\t \"float\": \"right\"\n\t }\n\t }, [_c('small', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.$emit('toggleExpanded')\n\t }\n\t }\n\t }, [_vm._v(\"Collapse\")])])]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, _vm._l((_vm.conversation), function(status) {\n\t return _c('status', {\n\t key: status.id,\n\t attrs: {\n\t \"statusoid\": status,\n\t \"expandable\": false,\n\t \"focused\": _vm.focused(status.id),\n\t \"inConversation\": true\n\t }\n\t })\n\t }))])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 437 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": 'THE WHOLE KNOWN NETWORK',\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'publicAndExternal'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ },\n/* 438 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.canDelete) ? _c('div', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.deleteStatus()\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"fa icon-cancel delete-status\"\n\t })])]) : _vm._e()\n\t},staticRenderFns: []}\n\n/***/ },\n/* 439 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"post-status-form\"\n\t }, [_c('form', {\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.postStatus(_vm.newStatus)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.newStatus.status),\n\t expression: \"newStatus.status\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"placeholder\": \"Just landed in L.A.\",\n\t \"rows\": \"3\"\n\t },\n\t domProps: {\n\t \"value\": _vm._s(_vm.newStatus.status)\n\t },\n\t on: {\n\t \"keyup\": [function($event) {\n\t if (_vm._k($event.keyCode, \"enter\", 13)) { return; }\n\t if (!$event.metaKey) { return; }\n\t _vm.postStatus(_vm.newStatus)\n\t }, function($event) {\n\t if (_vm._k($event.keyCode, \"enter\", 13)) { return; }\n\t if (!$event.ctrlKey) { return; }\n\t _vm.postStatus(_vm.newStatus)\n\t }],\n\t \"drop\": _vm.fileDrop,\n\t \"dragover\": function($event) {\n\t $event.preventDefault();\n\t _vm.fileDrag($event)\n\t },\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.newStatus.status = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"attachments\"\n\t }, _vm._l((_vm.newStatus.files), function(file) {\n\t return _c('div', {\n\t staticClass: \"attachment\"\n\t }, [_c('i', {\n\t staticClass: \"fa icon-cancel\",\n\t on: {\n\t \"click\": function($event) {\n\t _vm.removeMediaFile(file)\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.type(file) === 'image') ? _c('img', {\n\t staticClass: \"thumbnail media-upload\",\n\t attrs: {\n\t \"src\": file.image\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'video') ? _c('video', {\n\t attrs: {\n\t \"src\": file.image,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'audio') ? _c('audio', {\n\t attrs: {\n\t \"src\": file.image,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'unknown') ? _c('a', {\n\t attrs: {\n\t \"href\": file.image\n\t }\n\t }, [_vm._v(_vm._s(file.url))]) : _vm._e()])\n\t })), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-bottom\"\n\t }, [_c('media-upload', {\n\t attrs: {\n\t \"drop-files\": _vm.dropFiles\n\t },\n\t on: {\n\t \"uploading\": _vm.disableSubmit,\n\t \"uploaded\": _vm.addMediaFile,\n\t \"upload-failed\": _vm.enableSubmit\n\t }\n\t }), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default base05 base01-background\",\n\t attrs: {\n\t \"disabled\": _vm.submitDisabled,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(\"Submit\")])], 1)])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 440 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"attachment base03-border\",\n\t class: ( _obj = {\n\t loading: _vm.loading\n\t }, _obj[_vm.type] = true, _obj ),\n\t style: (_vm.autoHeight)\n\t }, [(_vm.hidden) ? _c('a', {\n\t staticClass: \"image-attachment\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleHidden()\n\t }\n\t }\n\t }, [_c('img', {\n\t key: _vm.nsfwImage,\n\t attrs: {\n\t \"src\": _vm.nsfwImage\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), (_vm.nsfw && _vm.hideNsfwLocal && !_vm.hidden) ? _c('div', {\n\t staticClass: \"hider\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleHidden()\n\t }\n\t }\n\t }, [_vm._v(\"Hide\")])]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'image' && !_vm.hidden) ? _c('a', {\n\t staticClass: \"image-attachment\",\n\t attrs: {\n\t \"href\": _vm.attachment.url,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_c('img', {\n\t staticClass: \"base03-border\",\n\t attrs: {\n\t \"referrerpolicy\": \"no-referrer\",\n\t \"src\": _vm.attachment.large_thumb_url || _vm.attachment.url\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'video' && !_vm.hidden) ? _c('video', {\n\t attrs: {\n\t \"src\": _vm.attachment.url,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'audio') ? _c('audio', {\n\t attrs: {\n\t \"src\": _vm.attachment.url,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'html' && _vm.attachment.oembed) ? _c('div', {\n\t staticClass: \"oembed\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.linkClicked($event)\n\t }\n\t }\n\t }, [(_vm.attachment.thumb_url) ? _c('div', {\n\t staticClass: \"image\"\n\t }, [_c('img', {\n\t attrs: {\n\t \"src\": _vm.attachment.thumb_url\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"text\"\n\t }, [_c('h1', [_c('a', {\n\t attrs: {\n\t \"href\": _vm.attachment.url\n\t }\n\t }, [_vm._v(_vm._s(_vm.attachment.oembed.title))])]), _vm._v(\" \"), _c('div', {\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.attachment.oembed.oembedHTML)\n\t }\n\t })])]) : _vm._e()])\n\t var _obj;\n\t},staticRenderFns: []}\n\n/***/ },\n/* 441 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [(_vm.expanded) ? _c('conversation', {\n\t attrs: {\n\t \"collapsable\": true,\n\t \"statusoid\": _vm.statusoid\n\t },\n\t on: {\n\t \"toggleExpanded\": _vm.toggleExpanded\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (!_vm.expanded) ? _c('status', {\n\t attrs: {\n\t \"expandable\": true,\n\t \"inConversation\": false,\n\t \"focused\": false,\n\t \"statusoid\": _vm.statusoid\n\t },\n\t on: {\n\t \"toggleExpanded\": _vm.toggleExpanded\n\t }\n\t }) : _vm._e()], 1)\n\t},staticRenderFns: []}\n\n/***/ },\n/* 442 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"base02-background\",\n\t style: (_vm.style),\n\t attrs: {\n\t \"id\": \"app\"\n\t }\n\t }, [_c('nav', {\n\t staticClass: \"container base01-background base04\",\n\t on: {\n\t \"click\": function($event) {\n\t _vm.scrollToTop()\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"inner-nav\",\n\t style: (_vm.logoStyle)\n\t }, [_c('div', {\n\t staticClass: \"item\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'root'\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.sitename))])], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"item right\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'settings'\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-cog\"\n\t })])], 1)])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"container\",\n\t attrs: {\n\t \"id\": \"content\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"panel-switcher\"\n\t }, [_c('button', {\n\t on: {\n\t \"click\": function($event) {\n\t _vm.activatePanel('sidebar')\n\t }\n\t }\n\t }, [_vm._v(\"Sidebar\")]), _vm._v(\" \"), _c('button', {\n\t on: {\n\t \"click\": function($event) {\n\t _vm.activatePanel('timeline')\n\t }\n\t }\n\t }, [_vm._v(\"Timeline\")])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"sidebar\",\n\t class: {\n\t 'mobile-hidden': _vm.mobileActivePanel != 'sidebar'\n\t }\n\t }, [_c('user-panel'), _vm._v(\" \"), _c('nav-panel'), _vm._v(\" \"), (_vm.currentUser) ? _c('notifications') : _vm._e()], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"main\",\n\t class: {\n\t 'mobile-hidden': _vm.mobileActivePanel != 'timeline'\n\t }\n\t }, [_c('transition', {\n\t attrs: {\n\t \"name\": \"fade\"\n\t }\n\t }, [_c('router-view')], 1)], 1)])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 443 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": 'Public Timeline',\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'public'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ },\n/* 444 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [_c('i', {\n\t staticClass: \"favorite-button fa\",\n\t class: _vm.classes,\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.favorite()\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 445 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"media-upload\",\n\t on: {\n\t \"drop\": [function($event) {\n\t $event.preventDefault();\n\t }, _vm.fileDrop],\n\t \"dragover\": function($event) {\n\t $event.preventDefault();\n\t _vm.fileDrag($event)\n\t }\n\t }\n\t }, [_c('label', {\n\t staticClass: \"btn btn-default\"\n\t }, [(_vm.uploading) ? _c('i', {\n\t staticClass: \"fa icon-spin4 animate-spin\"\n\t }) : _vm._e(), _vm._v(\" \"), (!_vm.uploading) ? _c('i', {\n\t staticClass: \"fa icon-upload\"\n\t }) : _vm._e(), _vm._v(\" \"), _c('input', {\n\t staticStyle: {\n\t \"position\": \"fixed\",\n\t \"top\": \"-100em\"\n\t },\n\t attrs: {\n\t \"type\": \"file\"\n\t }\n\t })])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 446 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"settings panel panel-default base00-background\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading base01-background base04\"\n\t }, [_vm._v(\"\\n Settings\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(\"Theme\")]), _vm._v(\" \"), _c('style-switcher')], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(\"Attachments\")]), _vm._v(\" \"), _c('ul', {\n\t staticClass: \"setting-list\"\n\t }, [_c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideAttachmentsLocal),\n\t expression: \"hideAttachmentsLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideAttachments\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideAttachmentsLocal) ? _vm._i(_vm.hideAttachmentsLocal, null) > -1 : (_vm.hideAttachmentsLocal)\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t var $$a = _vm.hideAttachmentsLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$c) {\n\t $$i < 0 && (_vm.hideAttachmentsLocal = $$a.concat($$v))\n\t } else {\n\t $$i > -1 && (_vm.hideAttachmentsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideAttachmentsLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideAttachments\"\n\t }\n\t }, [_vm._v(\"Hide attachments in timeline\")])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideAttachmentsInConvLocal),\n\t expression: \"hideAttachmentsInConvLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideAttachmentsInConv\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideAttachmentsInConvLocal) ? _vm._i(_vm.hideAttachmentsInConvLocal, null) > -1 : (_vm.hideAttachmentsInConvLocal)\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t var $$a = _vm.hideAttachmentsInConvLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$c) {\n\t $$i < 0 && (_vm.hideAttachmentsInConvLocal = $$a.concat($$v))\n\t } else {\n\t $$i > -1 && (_vm.hideAttachmentsInConvLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideAttachmentsInConvLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideAttachmentsInConv\"\n\t }\n\t }, [_vm._v(\"Hide attachments in conversations\")])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideNsfwLocal),\n\t expression: \"hideNsfwLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideNsfw\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideNsfwLocal) ? _vm._i(_vm.hideNsfwLocal, null) > -1 : (_vm.hideNsfwLocal)\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t var $$a = _vm.hideNsfwLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$c) {\n\t $$i < 0 && (_vm.hideNsfwLocal = $$a.concat($$v))\n\t } else {\n\t $$i > -1 && (_vm.hideNsfwLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideNsfwLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideNsfw\"\n\t }\n\t }, [_vm._v(\"Enable clickthrough NSFW attachment hiding\")])])])])])])\n\t},staticRenderFns: []}\n\n/***/ },\n/* 447 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('select', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.selected),\n\t expression: \"selected\"\n\t }],\n\t staticClass: \"style-switcher\",\n\t on: {\n\t \"change\": function($event) {\n\t _vm.selected = Array.prototype.filter.call($event.target.options, function(o) {\n\t return o.selected\n\t }).map(function(o) {\n\t var val = \"_value\" in o ? o._value : o.value;\n\t return val\n\t })[0]\n\t }\n\t }\n\t }, _vm._l((_vm.availableStyles), function(style) {\n\t return _c('option', [_vm._v(_vm._s(style))])\n\t }))\n\t},staticRenderFns: []}\n\n/***/ },\n/* 448 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"user-panel\"\n\t }, [(_vm.user) ? _c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.user\n\t }\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-footer base00-background\"\n\t }, [(_vm.user) ? _c('post-status-form') : _vm._e()], 1)], 1) : _vm._e(), _vm._v(\" \"), (!_vm.user) ? _c('login-form') : _vm._e()], 1)\n\t},staticRenderFns: []}\n\n/***/ },\n/* 449 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"user-profile panel panel-default base00-background\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.user\n\t }\n\t })], 1)\n\t},staticRenderFns: []}\n\n/***/ },\n/* 450 */\n/***/ function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"profile-panel-background\",\n\t style: (_vm.headingStyle),\n\t attrs: {\n\t \"id\": \"heading\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"panel-heading text-center\"\n\t }, [_c('div', {\n\t staticClass: \"user-info\"\n\t }, [_c('div', {\n\t staticClass: \"container\"\n\t }, [_c('img', {\n\t attrs: {\n\t \"src\": _vm.user.profile_image_url\n\t }\n\t }), _vm._v(\" \"), _c('span', {\n\t staticClass: \"glyphicon glyphicon-user\"\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-name\"\n\t }, [_vm._v(_vm._s(_vm.user.name))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-screen-name\"\n\t }, [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))])]), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n\t staticClass: \"user-interactions\"\n\t }, [(_vm.user.follows_you && _vm.loggedIn) ? _c('div', {\n\t staticClass: \"following base06\"\n\t }, [_vm._v(\"\\n Follows you!\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', {\n\t staticClass: \"follow\"\n\t }, [(_vm.user.following) ? _c('span', [_c('button', {\n\t staticClass: \"base04 base00-background pressed\",\n\t on: {\n\t \"click\": _vm.unfollowUser\n\t }\n\t }, [_vm._v(\"\\n Following!\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.following) ? _c('span', [_c('button', {\n\t staticClass: \"base05 base02-background\",\n\t on: {\n\t \"click\": _vm.followUser\n\t }\n\t }, [_vm._v(\"\\n Follow\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n\t staticClass: \"mute\"\n\t }, [(_vm.user.muted) ? _c('span', [_c('button', {\n\t staticClass: \"base04 base00-background pressed\",\n\t on: {\n\t \"click\": _vm.toggleMute\n\t }\n\t }, [_vm._v(\"Muted\")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.muted) ? _c('span', [_c('button', {\n\t staticClass: \"base05 base02-background\",\n\t on: {\n\t \"click\": _vm.toggleMute\n\t }\n\t }, [_vm._v(\"Mute\")])]) : _vm._e()]) : _vm._e()]) : _vm._e()])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body profile-panel-body\",\n\t style: (_vm.bodyStyle)\n\t }, [_c('div', {\n\t staticClass: \"user-counts\"\n\t }, [_c('div', {\n\t staticClass: \"user-count\"\n\t }, [_c('h5', [_vm._v(\"Statuses\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.statuses_count) + \" \"), _c('br'), _c('span', {\n\t staticClass: \"dailyAvg\"\n\t }, [_vm._v(_vm._s(_vm.dailyAvg) + \" per day\")])])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-count\"\n\t }, [_c('h5', [_vm._v(\"Following\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.friends_count))])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-count\"\n\t }, [_c('h5', [_vm._v(\"Followers\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.followers_count))])])]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.user.description))])])])\n\t},staticRenderFns: []}\n\n/***/ }\n]);\n\n\n// WEBPACK FOOTER //\n// static/js/app.8e94b6d65028f6ffaeee.js","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport Vuex from 'vuex'\nimport App from './App.vue'\nimport 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 ConversationPage from './components/conversation-page/conversation-page.vue'\nimport Mentions from './components/mentions/mentions.vue'\nimport UserProfile from './components/user_profile/user_profile.vue'\nimport Settings from './components/settings/settings.vue'\n\nimport statusesModule from './modules/statuses.js'\nimport usersModule from './modules/users.js'\nimport apiModule from './modules/api.js'\nimport configModule from './modules/config.js'\n\nimport VueTimeago from 'vue-timeago'\n\nimport createPersistedState from './lib/persisted_state.js'\n\nVue.use(Vuex)\nVue.use(VueRouter)\nVue.use(VueTimeago, {\n locale: 'en-US',\n locales: {\n 'en-US': require('vue-timeago/locales/en-US.json')\n }\n})\n\nconst persistedStateOptions = {\n paths: [\n 'config.hideAttachments',\n 'config.hideAttachmentsInConv',\n 'config.hideNsfw',\n 'statuses.notifications',\n 'users.users'\n ]\n}\n\nconst store = new Vuex.Store({\n modules: {\n statuses: statusesModule,\n users: usersModule,\n api: apiModule,\n config: configModule\n },\n plugins: [createPersistedState(persistedStateOptions)],\n strict: process.env.NODE_ENV !== 'production'\n})\n\nconst routes = [\n { name: 'root', path: '/', redirect: '/main/all' },\n { path: '/main/all', component: PublicAndExternalTimeline },\n { path: '/main/public', component: PublicTimeline },\n { path: '/main/friends', component: FriendsTimeline },\n { name: 'conversation', path: '/notice/:id', component: ConversationPage, meta: { dontScroll: true } },\n { name: 'user-profile', path: '/users/:id', component: UserProfile },\n { name: 'mentions', path: '/:username/mentions', component: Mentions },\n { name: 'settings', path: '/settings', component: Settings }\n]\n\nconst router = new VueRouter({\n mode: 'history',\n routes,\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 */\nnew Vue({\n router,\n store,\n el: '#app',\n render: h => h(App)\n})\n\nwindow.fetch('/static/config.json')\n .then((res) => res.json())\n .then(({name, theme, background, logo}) => {\n store.dispatch('setOption', { name: 'name', value: name })\n store.dispatch('setOption', { name: 'theme', value: theme })\n store.dispatch('setOption', { name: 'background', value: background })\n store.dispatch('setOption', { name: 'logo', value: logo })\n })\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","/* eslint-env browser */\nconst LOGIN_URL = '/api/account/verify_credentials.json'\nconst FRIENDS_TIMELINE_URL = '/api/statuses/friends_timeline.json'\nconst ALL_FOLLOWING_URL = '/api/qvitter/allfollowing'\nconst PUBLIC_TIMELINE_URL = '/api/statuses/public_timeline.json'\nconst PUBLIC_AND_EXTERNAL_TIMELINE_URL = '/api/statuses/public_and_external_timeline.json'\nconst FAVORITE_URL = '/api/favorites/create'\nconst UNFAVORITE_URL = '/api/favorites/destroy'\nconst RETWEET_URL = '/api/statuses/retweet'\nconst STATUS_UPDATE_URL = '/api/statuses/update.json'\nconst STATUS_DELETE_URL = '/api/statuses/destroy'\nconst STATUS_URL = '/api/statuses/show'\nconst MEDIA_UPLOAD_URL = '/api/statusnet/media/upload'\nconst CONVERSATION_URL = '/api/statusnet/conversation'\nconst MENTIONS_URL = '/api/statuses/mentions.json'\nconst FRIENDS_URL = '/api/statuses/friends.json'\nconst FOLLOWING_URL = '/api/friendships/create.json'\nconst UNFOLLOWING_URL = '/api/friendships/destroy.json'\nconst QVITTER_USER_PREF_URL = '/api/qvitter/set_profile_pref.json'\n// const USER_URL = '/api/users/show.json'\n\nconst oldfetch = window.fetch\n\nlet fetch = (url, options) => {\n const baseUrl = ''\n const fullUrl = baseUrl + url\n options.credentials = 'include'\n return oldfetch(fullUrl, options)\n}\n\nconst authHeaders = (user) => {\n if (user && user.username && user.password) {\n return { 'Authorization': `Basic ${btoa(`${user.username}:${user.password}`)}` }\n } else {\n return { }\n }\n}\n\nconst followUser = ({id, credentials}) => {\n let url = `${FOLLOWING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst unfollowUser = ({id, credentials}) => {\n let url = `${UNFOLLOWING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst fetchFriends = ({credentials}) => {\n return fetch(FRIENDS_URL, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchAllFollowing = ({username, credentials}) => {\n const url = `${ALL_FOLLOWING_URL}/${username}.json`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchConversation = ({id, credentials}) => {\n let url = `${CONVERSATION_URL}/${id}.json?count=100`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchStatus = ({id, credentials}) => {\n let url = `${STATUS_URL}/${id}.json`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst setUserMute = ({id, credentials, muted = true}) => {\n const form = new FormData()\n\n const muteInteger = muted ? 1 : 0\n\n form.append('namespace', 'qvitter')\n form.append('data', muteInteger)\n form.append('topic', `mute:${id}`)\n\n return fetch(QVITTER_USER_PREF_URL, {\n method: 'POST',\n headers: authHeaders(credentials),\n body: form\n })\n}\n\nconst fetchTimeline = ({timeline, credentials, since = false, until = false}) => {\n const timelineUrls = {\n public: PUBLIC_TIMELINE_URL,\n friends: FRIENDS_TIMELINE_URL,\n mentions: MENTIONS_URL,\n 'publicAndExternal': PUBLIC_AND_EXTERNAL_TIMELINE_URL\n }\n\n let url = timelineUrls[timeline]\n\n if (since) {\n url += `?since_id=${since}`\n }\n\n if (until) {\n url += `?max_id=${until}`\n }\n\n return fetch(url, { headers: authHeaders(credentials) }).then((data) => data.json())\n}\n\nconst verifyCredentials = (user) => {\n return fetch(LOGIN_URL, {\n method: 'POST',\n headers: authHeaders(user)\n })\n}\n\nconst favorite = ({ id, credentials }) => {\n return fetch(`${FAVORITE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst unfavorite = ({ id, credentials }) => {\n return fetch(`${UNFAVORITE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst retweet = ({ id, credentials }) => {\n return fetch(`${RETWEET_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst postStatus = ({credentials, status, mediaIds, inReplyToStatusId}) => {\n const idsText = mediaIds.join(',')\n const form = new FormData()\n\n form.append('status', status)\n form.append('source', 'Pleroma FE')\n form.append('media_ids', idsText)\n if (inReplyToStatusId) {\n form.append('in_reply_to_status_id', inReplyToStatusId)\n }\n\n return fetch(STATUS_UPDATE_URL, {\n body: form,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n}\n\nconst deleteStatus = ({ id, credentials }) => {\n return fetch(`${STATUS_DELETE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst uploadMedia = ({formData, credentials}) => {\n return fetch(MEDIA_UPLOAD_URL, {\n body: formData,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n .then((response) => response.text())\n .then((text) => (new DOMParser()).parseFromString(text, 'application/xml'))\n}\n\nconst fetchMutes = ({credentials}) => {\n const url = '/api/qvitter/mutes.json'\n\n return fetch(url, {\n headers: authHeaders(credentials)\n }).then((data) => data.json())\n}\n\nconst apiService = {\n verifyCredentials,\n fetchTimeline,\n fetchConversation,\n fetchStatus,\n fetchFriends,\n followUser,\n unfollowUser,\n favorite,\n unfavorite,\n retweet,\n postStatus,\n deleteStatus,\n uploadMedia,\n fetchAllFollowing,\n setUserMute,\n fetchMutes\n}\n\nexport default apiService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/api/api.service.js","\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-rewriter?{\\\"id\\\":\\\"data-v-00af8d4e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./timeline.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./timeline.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-00af8d4e\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./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/timeline/timeline.vue\n// module id = 51\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-rewriter?{\\\"id\\\":\\\"data-v-2af73b2e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./status.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./status.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-2af73b2e\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./status.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/status/status.vue\n// module id = 94\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-rewriter?{\\\"id\\\":\\\"data-v-e7f27628\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_card_content.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!./user_card_content.vue\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-e7f27628\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_card_content.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_card_content/user_card_content.vue\n// module id = 95\n// module chunks = 2","import { remove, slice, sortBy, toInteger, each, find, flatten, maxBy, last, merge, max, isArray } from 'lodash'\nimport apiService from '../services/api/api.service.js'\n// import parse from '../services/status_parser/status_parser.js'\n\nexport const defaultState = {\n allStatuses: [],\n allStatusesObject: {},\n maxId: 0,\n notifications: [],\n favorites: new Set(),\n error: false,\n timelines: {\n mentions: {\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minVisibleId: 0,\n loading: false\n },\n public: {\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minVisibleId: 0,\n loading: false\n },\n publicAndExternal: {\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minVisibleId: 0,\n loading: false\n },\n friends: {\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minVisibleId: 0,\n loading: false\n }\n }\n}\n\nexport const prepareStatus = (status) => {\n // Parse nsfw tags\n if (status.nsfw === undefined) {\n const nsfwRegex = /#nsfw/i\n status.nsfw = !!status.text.match(nsfwRegex)\n }\n\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\nexport const statusType = (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 return 'favorite'\n }\n\n if (status.text.match(/deleted notice {{tag/)) {\n return 'deletion'\n }\n\n return 'unknown'\n}\n\nexport const findMaxId = (...args) => {\n return (maxBy(flatten(args), 'id') || {}).id\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 merge(oldItem, item)\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 obj[item.id] = item\n return {item, new: true}\n }\n}\n\nconst sortTimeline = (timeline) => {\n timeline.visibleStatuses = sortBy(timeline.visibleStatuses, ({id}) => -id)\n timeline.statuses = sortBy(timeline.statuses, ({id}) => -id)\n timeline.minVisibleId = (last(timeline.visibleStatuses) || {}).id\n\n return timeline\n}\n\nconst addNewStatuses = (state, { statuses, showImmediately = false, timeline, user = {}, noIdUpdate = false }) => {\n // Sanity check\n if (!isArray(statuses)) {\n return false\n }\n\n const allStatuses = state.allStatuses\n const allStatusesObject = state.allStatusesObject\n const timelineObject = state.timelines[timeline]\n\n // Set the maxId to the new id if it's larger.\n const updateMaxId = ({id}) => {\n if (!timeline || noIdUpdate) { return false }\n timelineObject.maxId = max([id, timelineObject.maxId])\n }\n\n const addStatus = (status, showImmediately, addToTimeline = true) => {\n const result = mergeOrAdd(allStatuses, allStatusesObject, status)\n status = result.item\n\n if (result.new) {\n updateMaxId(status)\n\n if (statusType(status) === 'retweet' && status.retweeted_status.user.id === user.id) {\n addNotification({ type: 'repeat', status: status.retweeted_status, action: status })\n }\n\n // We are mentioned in a post\n if (statusType(status) === '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 addNotification({ type: 'mention', status, action: status })\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 addNotification = ({type, status, action}) => {\n // Only add a new notification if we don't have one for the same action\n if (!find(state.notifications, (oldNotification) => oldNotification.action.id === action.id)) {\n state.notifications.push({type, status, action, seen: false})\n }\n }\n\n const favoriteStatus = (favorite) => {\n const status = find(allStatuses, { id: toInteger(favorite.in_reply_to_status_id) })\n if (status) {\n status.fave_num += 1\n\n // This is our favorite, so the relevant bit.\n if (favorite.user.id === user.id) {\n status.favorited = true\n }\n\n // Add a notification if the user's status is favorited\n if (status.user.id === user.id) {\n addNotification({type: 'favorite', status, action: favorite})\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, {id: retweetedStatus.id})) {\n // Already have it visible, 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 if (!state.favorites.has(favorite.id)) {\n state.favorites.add(favorite.id)\n updateMaxId(favorite)\n favoriteStatus(favorite)\n }\n },\n 'deletion': (deletion) => {\n const uri = deletion.uri\n updateMaxId(deletion)\n\n remove(allStatuses, { uri })\n if (timeline) {\n remove(timelineObject.statuses, { uri })\n remove(timelineObject.visibleStatuses, { uri })\n }\n },\n 'default': (unknown) => {\n console.log('unknown status type')\n console.log(unknown)\n }\n }\n\n each(statuses, (status) => {\n const type = statusType(status)\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\nexport const mutations = {\n addNewStatuses,\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.visibleStatusesObject = {}\n each(oldTimeline.visibleStatuses, (status) => { oldTimeline.visibleStatusesObject[status.id] = status })\n },\n setFavorited (state, { status, value }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.favorited = value\n },\n setRetweeted (state, { status, value }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.repeated = value\n },\n setDeleted (state, { status }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.deleted = true\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 markNotificationsAsSeen (state, notifications) {\n each(notifications, (notification) => {\n notification.seen = true\n })\n }\n}\n\nconst statuses = {\n state: defaultState,\n actions: {\n addNewStatuses ({ rootState, commit }, { statuses, showImmediately = false, timeline = false, noIdUpdate = false }) {\n commit('addNewStatuses', { statuses, showImmediately, timeline, noIdUpdate, user: rootState.users.currentUser })\n },\n setError ({ rootState, commit }, { value }) {\n commit('setError', { value })\n },\n deleteStatus ({ rootState, commit }, status) {\n commit('setDeleted', { status })\n apiService.deleteStatus({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n favorite ({ rootState, commit }, status) {\n // Optimistic favoriting...\n commit('setFavorited', { status, value: true })\n apiService.favorite({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n unfavorite ({ rootState, commit }, status) {\n // Optimistic favoriting...\n commit('setFavorited', { status, value: false })\n apiService.unfavorite({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n retweet ({ rootState, commit }, status) {\n // Optimistic retweeting...\n commit('setRetweeted', { status, value: true })\n apiService.retweet({ id: status.id, credentials: rootState.users.currentUser.credentials })\n }\n },\n mutations\n}\n\nexport default statuses\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/statuses.js","import apiService from '../api/api.service.js'\nimport timelineFetcherService from '../timeline_fetcher/timeline_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 = () => {\n return apiService.fetchFriends({credentials})\n }\n\n const fetchAllFollowing = ({username}) => {\n return apiService.fetchAllFollowing({username, 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 startFetching = ({timeline, store}) => {\n return timelineFetcherService.startFetching({timeline, store, credentials})\n }\n\n const setUserMute = ({id, muted = true}) => {\n return apiService.setUserMute({id, muted, credentials})\n }\n\n const fetchMutes = () => apiService.fetchMutes({credentials})\n\n const backendInteractorServiceInstance = {\n fetchStatus,\n fetchConversation,\n fetchFriends,\n followUser,\n unfollowUser,\n fetchAllFollowing,\n verifyCredentials: apiService.verifyCredentials,\n startFetching,\n setUserMute,\n fetchMutes\n }\n\n return backendInteractorServiceInstance\n}\n\nexport default backendInteractorService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/backend_interactor_service/backend_interactor_service.js","const fileType = (typeString) => {\n let type = 'unknown'\n\n if (typeString.match(/text\\/html/)) {\n type = 'html'\n }\n\n if (typeString.match(/image/)) {\n type = 'image'\n }\n\n if (typeString.match(/video\\/(webm|mp4)/)) {\n type = 'video'\n }\n\n if (typeString.match(/audio|ogg/)) {\n type = 'audio'\n }\n\n return type\n}\n\nconst fileTypeService = {\n fileType\n}\n\nexport default fileTypeService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/file_type/file_type.service.js","import { map } from 'lodash'\nimport apiService from '../api/api.service.js'\n\nconst postStatus = ({ store, status, media = [], inReplyToStatusId = undefined }) => {\n const mediaIds = map(media, 'id')\n\n return apiService.postStatus({credentials: store.state.users.currentUser.credentials, status, mediaIds, inReplyToStatusId})\n .then((data) => data.json())\n .then((data) => {\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}\n\nconst uploadMedia = ({ store, formData }) => {\n const credentials = store.state.users.currentUser.credentials\n\n return apiService.uploadMedia({ credentials, formData }).then((xml) => {\n // Firefox and Chrome treat method differently...\n let link = xml.getElementsByTagName('link')\n\n if (link.length === 0) {\n link = xml.getElementsByTagName('atom:link')\n }\n\n link = link[0]\n\n const mediaData = {\n id: xml.getElementsByTagName('media_id')[0].textContent,\n url: xml.getElementsByTagName('media_url')[0].textContent,\n image: link.getAttribute('href'),\n mimetype: link.getAttribute('type')\n }\n\n return mediaData\n })\n}\n\nconst statusPosterService = {\n postStatus,\n uploadMedia\n}\n\nexport default statusPosterService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/status_poster/status_poster.service.js","import { camelCase } from 'lodash'\n\nimport apiService from '../api/api.service.js'\n\nconst update = ({store, statuses, timeline, showImmediately}) => {\n const ccTimeline = camelCase(timeline)\n\n store.dispatch('setError', { value: false })\n\n store.dispatch('addNewStatuses', {\n timeline: ccTimeline,\n statuses,\n showImmediately\n })\n}\n\nconst fetchAndUpdate = ({store, credentials, timeline = 'friends', older = false, showImmediately = false}) => {\n const args = { timeline, credentials }\n const rootState = store.rootState || store.state\n const timelineData = rootState.statuses.timelines[camelCase(timeline)]\n\n if (older) {\n args['until'] = timelineData.minVisibleId\n } else {\n args['since'] = timelineData.maxId\n }\n\n return apiService.fetchTimeline(args)\n .then((statuses) => update({store, statuses, timeline, showImmediately}),\n () => store.dispatch('setError', { value: true }))\n}\n\nconst startFetching = ({ timeline = 'friends', credentials, store }) => {\n fetchAndUpdate({timeline, credentials, store, showImmediately: true})\n const boundFetchAndUpdate = () => fetchAndUpdate({ timeline, credentials, store })\n return setInterval(boundFetchAndUpdate, 10000)\n}\nconst timelineFetcher = {\n fetchAndUpdate,\n startFetching\n}\n\nexport default timelineFetcher\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/timeline_fetcher/timeline_fetcher.service.js","\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-rewriter?{\\\"id\\\":\\\"data-v-4051da8e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./conversation.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./conversation.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-4051da8e\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./conversation.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/conversation.vue\n// module id = 151\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-rewriter?{\\\"id\\\":\\\"data-v-4e49d56e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./post_status_form.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./post_status_form.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-4e49d56e\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./post_status_form.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/post_status_form/post_status_form.vue\n// module id = 152\n// module chunks = 2","import merge from 'lodash.merge'\nimport objectPath from 'object-path'\nimport localforage from 'localforage'\nimport { throttle, each } from 'lodash'\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 defaultStorage = (() => {\n return localforage\n})()\n\nconst defaultSetState = (key, state, storage) => {\n return storage.setItem(key, state)\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 = throttle(defaultSetState, 60000),\n reducer = defaultReducer,\n storage = defaultStorage,\n subscriber = store => handler => store.subscribe(handler)\n} = {}) {\n return store => {\n getState(key, storage).then((savedState) => {\n if (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 })\n\n subscriber(store)((mutation, state) => {\n try {\n setState(key, reducer(state, paths), storage)\n } catch (e) {\n console.log(\"Couldn't persist state:\")\n console.log(e)\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/lib/persisted_state.js","import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\n\nconst api = {\n state: {\n backendInteractor: backendInteractorService(),\n fetchers: {}\n },\n mutations: {\n setBackendInteractor (state, backendInteractor) {\n state.backendInteractor = backendInteractor\n },\n addFetcher (state, {timeline, fetcher}) {\n state.fetchers[timeline] = fetcher\n },\n removeFetcher (state, {timeline}) {\n delete state.fetchers[timeline]\n }\n },\n actions: {\n startFetching (store, timeline) {\n // Don't start fetching if we already are.\n if (!store.state.fetchers[timeline]) {\n const fetcher = store.state.backendInteractor.startFetching({timeline, store})\n store.commit('addFetcher', {timeline, fetcher})\n }\n },\n stopFetching (store, timeline) {\n const fetcher = store.state.fetchers[timeline]\n window.clearInterval(fetcher)\n store.commit('removeFetcher', {timeline})\n }\n }\n}\n\nexport default api\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/api.js","import { set } from 'vue'\nimport StyleSetter from '../services/style_setter/style_setter.js'\n\nconst defaultState = {\n name: 'Pleroma FE',\n colors: {},\n hideAttachments: false,\n hideAttachmentsInConv: false,\n hideNsfw: true\n}\n\nconst config = {\n state: defaultState,\n mutations: {\n setOption (state, { name, value }) {\n set(state, name, value)\n }\n },\n actions: {\n setPageTitle ({state}, option = '') {\n document.title = `${option} ${state.name}`\n },\n setOption ({ commit, dispatch }, { name, value }) {\n commit('setOption', {name, value})\n switch (name) {\n case 'name':\n dispatch('setPageTitle')\n break\n case 'theme':\n const fullPath = `/static/css/${value}`\n StyleSetter.setStyle(fullPath, commit)\n }\n }\n }\n}\n\nexport default config\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/config.js","import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\nimport { compact, map, each, merge } from 'lodash'\nimport { set } from 'vue'\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 obj[item.id] = item\n return {item, new: true}\n }\n}\n\nexport const mutations = {\n setMuted (state, { user: {id}, muted }) {\n const user = state.usersObject[id]\n set(user, 'muted', muted)\n },\n setCurrentUser (state, user) {\n state.currentUser = user\n },\n beginLogin (state) {\n state.loggingIn = true\n },\n endLogin (state) {\n state.loggingIn = false\n },\n addNewUsers (state, users) {\n each(users, (user) => mergeOrAdd(state.users, state.usersObject, user))\n },\n setUserForStatus (state, status) {\n status.user = state.usersObject[status.user.id]\n }\n}\n\nexport const defaultState = {\n currentUser: false,\n loggingIn: false,\n users: [],\n usersObject: {}\n}\n\nconst users = {\n state: defaultState,\n mutations,\n actions: {\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 // Reconnect users to statuses\n each(statuses, (status) => {\n store.commit('setUserForStatus', status)\n })\n // Reconnect users to retweets\n each(compact(map(statuses, 'retweeted_status')), (status) => {\n store.commit('setUserForStatus', status)\n })\n },\n loginUser (store, userCredentials) {\n return new Promise((resolve, reject) => {\n const commit = store.commit\n commit('beginLogin')\n store.rootState.api.backendInteractor.verifyCredentials(userCredentials)\n .then((response) => {\n if (response.ok) {\n response.json()\n .then((user) => {\n user.credentials = userCredentials\n commit('setCurrentUser', user)\n commit('addNewUsers', [user])\n\n // Set our new backend interactor\n commit('setBackendInteractor', backendInteractorService(userCredentials))\n\n // Start getting fresh tweets.\n store.dispatch('startFetching', 'friends')\n\n // Get user mutes and follower info\n store.rootState.api.backendInteractor.fetchMutes().then((mutedUsers) => {\n each(mutedUsers, (user) => { user.muted = true })\n store.commit('addNewUsers', mutedUsers)\n })\n\n // Fetch our friends\n store.rootState.api.backendInteractor.fetchFriends()\n .then((friends) => commit('addNewUsers', friends))\n })\n } else {\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\n\n\n// WEBPACK FOOTER //\n// ./src/modules/users.js","import { times } from 'lodash'\n\nconst setStyle = (href, commit) => {\n /***\n What's going on here?\n I want to make it easy for admins to style this application. To have\n a good set of default themes, I chose the system from base16\n (https://chriskempson.github.io/base16/) to style all elements. They\n all have the base00..0F classes. So the only thing an admin needs to\n do to style Pleroma is to change these colors in that one css file.\n Some default things (body text color, link color) need to be set dy-\n namically, so this is done here by waiting for the stylesheet to be\n loaded and then creating an element with the respective classes.\n\n It is a bit weird, but should make life for admins somewhat easier.\n ***/\n const head = document.head\n const body = document.body\n body.style.display = 'none'\n const cssEl = document.createElement('link')\n cssEl.setAttribute('rel', 'stylesheet')\n cssEl.setAttribute('href', href)\n head.appendChild(cssEl)\n\n const setDynamic = () => {\n const baseEl = document.createElement('div')\n body.appendChild(baseEl)\n\n let colors = {}\n times(16, (n) => {\n const name = `base0${n.toString(16).toUpperCase()}`\n baseEl.setAttribute('class', name)\n const color = window.getComputedStyle(baseEl).getPropertyValue('color')\n colors[name] = color\n })\n\n commit('setOption', { name: 'colors', value: colors })\n\n body.removeChild(baseEl)\n\n const styleEl = document.createElement('style')\n head.appendChild(styleEl)\n const styleSheet = styleEl.sheet\n\n styleSheet.insertRule(`a { color: ${colors['base08']}`, 'index-max')\n styleSheet.insertRule(`body { color: ${colors['base05']}`, 'index-max')\n styleSheet.insertRule(`.base05-border { border-color: ${colors['base05']}`, 'index-max')\n styleSheet.insertRule(`.base03-border { border-color: ${colors['base03']}`, 'index-max')\n body.style.display = 'initial'\n }\n cssEl.addEventListener('load', setDynamic)\n}\n\nconst StyleSetter = {\n setStyle\n}\n\nexport default StyleSetter\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/style_setter/style_setter.js","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// user_card_content.vue?726b6e90","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'\n\nexport default {\n name: 'app',\n components: {\n UserPanel,\n NavPanel,\n Notifications\n },\n data: () => ({\n mobileActivePanel: 'timeline'\n }),\n computed: {\n currentUser () { return this.$store.state.users.currentUser },\n background () {\n return this.currentUser.background_image || this.$store.state.config.background\n },\n logoStyle () { return { 'background-image': `url(${this.$store.state.config.logo})` } },\n style () { return { 'background-image': `url(${this.background})` } },\n sitename () { return this.$store.state.config.name }\n },\n methods: {\n activatePanel (panelName) {\n this.mobileActivePanel = panelName\n },\n scrollToTop () {\n window.scrollTo(0, 0)\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/App.js","import 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 ],\n data () {\n return {\n nsfwImage,\n hideNsfwLocal: this.$store.state.config.hideNsfw,\n showHidden: false,\n loading: false,\n img: document.createElement('img')\n }\n },\n computed: {\n type () {\n return fileTypeService.fileType(this.attachment.mimetype)\n },\n hidden () {\n return this.nsfw && this.hideNsfwLocal && !this.showHidden\n },\n autoHeight () {\n if (this.type === 'image' && this.nsfw) {\n return {\n 'min-height': '311px'\n }\n }\n }\n },\n methods: {\n linkClicked ({target}) {\n if (target.tagName === 'A') {\n window.open(target.href, '_blank')\n }\n },\n toggleHidden () {\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 }\n }\n}\n\nexport default Attachment\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/attachment/attachment.js","import Conversation from '../conversation/conversation.vue'\nimport { find, toInteger } from 'lodash'\n\nconst conversationPage = {\n components: {\n Conversation\n },\n computed: {\n statusoid () {\n const id = toInteger(this.$route.params.id)\n const statuses = this.$store.state.statuses.allStatuses\n const status = find(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 { filter, sortBy } from 'lodash'\nimport { statusType } from '../../modules/statuses.js'\nimport Status from '../status/status.vue'\n\nconst sortAndFilterConversation = (conversation) => {\n conversation = filter(conversation, (status) => statusType(status) !== 'retweet')\n return sortBy(conversation, 'id')\n}\n\nconst conversation = {\n props: [\n 'statusoid',\n 'collapsable'\n ],\n computed: {\n status () { return this.statusoid },\n conversation () {\n if (!this.status) {\n return false\n }\n\n const conversationId = this.status.statusnet_conversation_id\n const statuses = this.$store.state.statuses.allStatuses\n const conversation = filter(statuses, { statusnet_conversation_id: conversationId })\n\n return sortAndFilterConversation(conversation)\n }\n },\n components: {\n Status\n },\n created () {\n this.fetchConversation()\n },\n watch: {\n '$route': 'fetchConversation'\n },\n methods: {\n fetchConversation () {\n if (this.status) {\n const conversationId = this.status.statusnet_conversation_id\n this.$store.state.api.backendInteractor.fetchConversation({id: conversationId})\n .then((statuses) => this.$store.dispatch('addNewStatuses', { statuses }))\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 focused: function (id) {\n if (this.statusoid.retweeted_status) {\n return (id === this.statusoid.retweeted_status.id)\n } else {\n return (id === this.statusoid.id)\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 () { return this.currentUser.rights.delete_others_notice || this.status.user.id === this.currentUser.id }\n }\n}\n\nexport default DeleteButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/delete_button/delete_button.js","const FavoriteButton = {\n props: ['status'],\n data () {\n return {\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","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","const LoginForm = {\n data: () => ({\n user: {},\n authError: false\n }),\n computed: {\n loggingIn () { return this.$store.state.users.loggingIn }\n },\n methods: {\n submit () {\n this.$store.dispatch('loginUser', this.user).then(\n () => {},\n (error) => {\n this.authError = error\n this.user.username = ''\n this.user.password = ''\n }\n )\n }\n }\n}\n\nexport default LoginForm\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/login_form/login_form.js","/* eslint-env browser */\nimport statusPosterService from '../../services/status_poster/status_poster.service.js'\n\nconst mediaUpload = {\n mounted () {\n const input = this.$el.querySelector('input')\n\n input.addEventListener('change', ({target}) => {\n const file = target.files[0]\n this.uploadFile(file)\n })\n },\n data () {\n return {\n uploading: false\n }\n },\n methods: {\n uploadFile (file) {\n const self = this\n const store = this.$store\n const formData = new FormData()\n formData.append('media', 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')\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 },\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","const NavPanel = {\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n }\n }\n}\n\nexport default NavPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/nav_panel/nav_panel.js","import { sortBy, take, filter } from 'lodash'\n\nconst Notifications = {\n data () {\n return {\n visibleNotificationCount: 10\n }\n },\n computed: {\n notifications () {\n return this.$store.state.statuses.notifications\n },\n unseenNotifications () {\n return filter(this.notifications, ({seen}) => !seen)\n },\n visibleNotifications () {\n // Don't know why, but sortBy([seen, -action.id]) doesn't work.\n let sortedNotifications = sortBy(this.notifications, ({action}) => -action.id)\n sortedNotifications = sortBy(sortedNotifications, 'seen')\n return take(sortedNotifications, this.visibleNotificationCount)\n },\n unseenCount () {\n return this.unseenNotifications.length\n }\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.commit('markNotificationsAsSeen', this.visibleNotifications)\n }\n }\n}\n\nexport default Notifications\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/notifications/notifications.js","import statusPoster from '../../services/status_poster/status_poster.service.js'\nimport MediaUpload from '../media_upload/media_upload.vue'\nimport fileTypeService from '../../services/file_type/file_type.service.js'\nimport Tribute from '../../../node_modules/tributejs/src/Tribute.js'\nrequire('../../../node_modules/tributejs/scss/tribute.scss')\n\nimport { merge, 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.join(' ') + ' '\n}\n\nconst defaultCollection = {\n // symbol that starts the lookup\n trigger: '@',\n\n // element to target for @mentions\n iframe: null,\n\n // class added in the flyout menu for active item\n selectClass: 'highlight',\n\n // function called on select that returns the content to insert\n selectTemplate: function (item) {\n return '@' + item.original.screen_name\n },\n\n // template for displaying item in menu\n menuItemTemplate: function (item) {\n return `
${item.string}
`\n },\n\n // template for when no match is found (optional),\n // If no template is provided, menu is hidden.\n noMatchTemplate: null,\n\n // specify an alternative parent container for the menu\n menuContainer: document.body,\n\n // column to search against in the object (accepts function or string)\n lookup: ({name, screen_name}) => `${name} (@${screen_name})`, // eslint-disable-line camelcase\n\n // column that contains the content to insert by default\n fillAttr: 'screen_name',\n\n // REQUIRED: array of objects to match\n values: [],\n\n // specify whether a space is required before the trigger character\n requireLeadingSpace: true,\n\n // specify whether a space is allowed in the middle of mentions\n allowSpaces: false\n}\n\nconst tribute = new Tribute({ collection: [] })\n\nconst PostStatusForm = {\n props: [\n 'replyTo',\n 'repliedUser',\n 'attentions'\n ],\n components: {\n MediaUpload\n },\n data () {\n let statusText = ''\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 return {\n dropFiles: [],\n submitDisabled: false,\n newStatus: {\n status: statusText,\n files: []\n }\n }\n },\n computed: {\n users () {\n return this.$store.state.users.users\n },\n completions () {\n let users = this.users\n users = merge({values: users}, defaultCollection)\n return [users]\n }\n },\n watch: {\n completions () {\n tribute.collection = this.completions\n }\n },\n mounted () {\n const textarea = this.$el.querySelector('textarea')\n tribute.collection = this.completions\n tribute.attach(textarea)\n },\n methods: {\n postStatus (newStatus) {\n statusPoster.postStatus({\n status: newStatus.status,\n media: newStatus.files,\n store: this.$store,\n inReplyToStatusId: this.replyTo\n })\n this.newStatus = {\n status: '',\n files: []\n }\n this.$emit('posted')\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 disableSubmit () {\n this.submitDisabled = true\n },\n enableSubmit () {\n this.submitDisabled = false\n },\n type (fileInfo) {\n return fileTypeService.fileType(fileInfo.mimetype)\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 }\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('startFetching', '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('startFetching', '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","const RetweetButton = {\n props: ['status'],\n data () {\n return {\n animated: false\n }\n },\n methods: {\n retweet () {\n if (!this.status.repeated) {\n this.$store.dispatch('retweet', {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 '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","import StyleSwitcher from '../style_switcher/style_switcher.vue'\n\nconst settings = {\n data () {\n return {\n hideAttachmentsLocal: this.$store.state.config.hideAttachments,\n hideAttachmentsInConvLocal: this.$store.state.config.hideAttachmentsInConv,\n hideNsfwLocal: this.$store.state.config.hideNsfw\n }\n },\n components: {\n StyleSwitcher\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 hideNsfwLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideNsfw', value })\n }\n }\n}\n\nexport default settings\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/settings/settings.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 UserCardContent from '../user_card_content/user_card_content.vue'\n\nconst Status = {\n props: [\n 'statusoid',\n 'expandable',\n 'inConversation',\n 'focused'\n ],\n data: () => ({\n replying: false,\n expanded: false,\n unmuted: false,\n userExpanded: false\n }),\n computed: {\n hideAttachments () {\n return (this.$store.state.config.hideAttachments && !this.inConversation) ||\n (this.$store.state.config.hideAttachmentsInConv && this.inConversation)\n },\n retweet () { return !!this.statusoid.retweeted_status },\n retweeter () { return this.statusoid.user.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 muted () { return !this.unmuted && this.status.user.muted },\n isReply () { return !!this.status.in_reply_to_status_id },\n borderColor () {\n return {\n borderBottomColor: this.$store.state.config.colors['base02']\n }\n }\n },\n components: {\n Attachment,\n FavoriteButton,\n RetweetButton,\n DeleteButton,\n PostStatusForm,\n UserCardContent\n },\n methods: {\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 toggleReplying () {\n this.replying = !this.replying\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 }\n}\n\nexport default Status\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/status/status.js","import Status from '../status/status.vue'\nimport Conversation from '../conversation/conversation.vue'\n\nconst statusOrConversation = {\n props: ['statusoid'],\n data () {\n return {\n expanded: false\n }\n },\n components: {\n Status,\n Conversation\n },\n methods: {\n toggleExpanded () {\n this.expanded = !this.expanded\n }\n }\n}\n\nexport default statusOrConversation\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/status_or_conversation/status_or_conversation.js","export default {\n data () {\n return {\n availableStyles: [],\n selected: this.$store.state.config.theme\n }\n },\n created () {\n const self = this\n window.fetch('/static/css/themes.json')\n .then((data) => data.json())\n .then((themes) => { self.availableStyles = themes })\n },\n watch: {\n selected () {\n this.$store.dispatch('setOption', { name: 'theme', value: this.selected })\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/style_switcher/style_switcher.js","import Status from '../status/status.vue'\nimport timelineFetcher from '../../services/timeline_fetcher/timeline_fetcher.service.js'\nimport StatusOrConversation from '../status_or_conversation/status_or_conversation.vue'\n\nconst Timeline = {\n props: [\n 'timeline',\n 'timelineName',\n 'title'\n ],\n computed: {\n timelineError () { return this.$store.state.statuses.error }\n },\n components: {\n Status,\n StatusOrConversation\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 timelineFetcher.fetchAndUpdate({\n store,\n credentials,\n timeline: this.timelineName,\n showImmediately\n })\n },\n methods: {\n showNewStatuses () {\n this.$store.commit('showNewStatuses', { timeline: this.timelineName })\n },\n fetchOlderStatuses () {\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 }).then(() => store.commit('setLoading', { timeline: this.timelineName, value: false }))\n }\n }\n}\n\nexport default Timeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/timeline/timeline.js","import LoginForm from '../login_form/login_form.vue'\nimport PostStatusForm from '../post_status_form/post_status_form.vue'\nimport UserCardContent from '../user_card_content/user_card_content.vue'\n\nconst UserPanel = {\n computed: {\n user () { return this.$store.state.users.currentUser }\n },\n components: {\n LoginForm,\n PostStatusForm,\n UserCardContent\n }\n}\n\nexport default UserPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_panel/user_panel.js","import UserCardContent from '../user_card_content/user_card_content.vue'\nimport { find } from 'lodash'\n\nconst UserProfile = {\n computed: {\n user () {\n const id = this.$route.params.id\n const user = find(this.$store.state.users.users, {id})\n return user\n }\n },\n components: {\n UserCardContent\n }\n}\n\nexport default UserProfile\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_profile/user_profile.js","module.exports = [\n\t\"just now\",\n\t[\n\t\t\"%s second ago\",\n\t\t\"%s seconds ago\"\n\t],\n\t[\n\t\t\"%s minute ago\",\n\t\t\"%s minutes ago\"\n\t],\n\t[\n\t\t\"%s hour ago\",\n\t\t\"%s hours ago\"\n\t],\n\t[\n\t\t\"%s day ago\",\n\t\t\"%s days ago\"\n\t],\n\t[\n\t\t\"%s week ago\",\n\t\t\"%s weeks ago\"\n\t],\n\t[\n\t\t\"%s month ago\",\n\t\t\"%s months ago\"\n\t],\n\t[\n\t\t\"%s year ago\",\n\t\t\"%s years ago\"\n\t]\n];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-timeago/locales/en-US.json\n// module id = 249\n// module chunks = 2","module.exports = __webpack_public_path__ + \"static/img/nsfw.9399fe3.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/nsfw.png\n// module id = 407\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-rewriter?{\\\"id\\\":\\\"data-v-66ced9f9\\\",\\\"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?{\\\"id\\\":\\\"data-v-66ced9f9\\\"}!./../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 = 408\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-rewriter?{\\\"id\\\":\\\"data-v-5b03d50e\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./attachment.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./attachment.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-5b03d50e\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./attachment.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/attachment/attachment.vue\n// module id = 409\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?{\\\"id\\\":\\\"data-v-18f8603c\\\"}!./../../../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 = 410\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-rewriter?{\\\"id\\\":\\\"data-v-451a4d08\\\",\\\"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?{\\\"id\\\":\\\"data-v-451a4d08\\\"}!./../../../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 = 411\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-rewriter?{\\\"id\\\":\\\"data-v-8aa8f5cc\\\",\\\"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?{\\\"id\\\":\\\"data-v-8aa8f5cc\\\"}!./../../../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 = 412\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?{\\\"id\\\":\\\"data-v-1a525ae4\\\"}!./../../../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 = 413\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-rewriter?{\\\"id\\\":\\\"data-v-1f2306a4\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./login_form.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./login_form.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-1f2306a4\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./login_form.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/login_form/login_form.vue\n// module id = 414\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-rewriter?{\\\"id\\\":\\\"data-v-c407a1a4\\\",\\\"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?{\\\"id\\\":\\\"data-v-c407a1a4\\\"}!./../../../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 = 415\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?{\\\"id\\\":\\\"data-v-2f23864e\\\"}!./../../../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 = 416\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-rewriter?{\\\"id\\\":\\\"data-v-08410ec0\\\",\\\"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?{\\\"id\\\":\\\"data-v-08410ec0\\\"}!./../../../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 = 417\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-rewriter?{\\\"id\\\":\\\"data-v-3335cd40\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./notifications.scss\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./notifications.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-3335cd40\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./notifications.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/notifications/notifications.vue\n// module id = 418\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?{\\\"id\\\":\\\"data-v-429f1b0e\\\"}!./../../../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 = 419\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?{\\\"id\\\":\\\"data-v-7c920b5e\\\"}!./../../../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 = 420\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-rewriter?{\\\"id\\\":\\\"data-v-3403c3e4\\\",\\\"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?{\\\"id\\\":\\\"data-v-3403c3e4\\\"}!./../../../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 = 421\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-rewriter?{\\\"id\\\":\\\"data-v-c59fa8e4\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!./../../../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?{\\\"id\\\":\\\"data-v-c59fa8e4\\\"}!./../../../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 = 422\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-rewriter?{\\\"id\\\":\\\"data-v-5fa77da4\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./status_or_conversation.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./status_or_conversation.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-5fa77da4\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./status_or_conversation.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/status_or_conversation/status_or_conversation.vue\n// module id = 423\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-rewriter?{\\\"id\\\":\\\"data-v-c5f302e4\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./style_switcher.vue\")\n\nvar Component = require(\"!./../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./style_switcher.js\"),\n /* template */\n require(\"!!./../../../node_modules/vue-loader/lib/template-compiler?{\\\"id\\\":\\\"data-v-c5f302e4\\\"}!./../../../node_modules/vue-loader/lib/selector?type=template&index=0!./style_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/style_switcher/style_switcher.vue\n// module id = 424\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?{\\\"id\\\":\\\"data-v-c9472224\\\"}!./../../../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 = 425\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-rewriter?{\\\"id\\\":\\\"data-v-dc482864\\\",\\\"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?{\\\"id\\\":\\\"data-v-dc482864\\\"}!./../../../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 = 426\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 panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading base01-background base04\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]), _vm._v(\" \"), (_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n staticClass: \"base06 base02-background loadmore-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.showNewStatuses($event)\n }\n }\n }, [_vm._v(\"\\n Show new (\" + _vm._s(_vm.timeline.newStatusCount) + \")\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.timelineError) ? _c('button', {\n staticClass: \"base06 error no-press loadmore-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n Error fetching updates\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n staticClass: \"base04 base01-background no-press loadmore-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n Up-to-date\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, [_vm._l((_vm.timeline.visibleStatuses), function(status) {\n return _c('status-or-conversation', {\n key: status.id,\n attrs: {\n \"statusoid\": status\n }\n })\n }), _vm._v(\" \"), (!_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: \"base01-background base03-border new-status-notification text-center\"\n }, [_vm._v(\"Load older statuses.\")])]) : _c('div', {\n staticClass: \"base01-background base03-border new-status-notification text-center\"\n }, [_vm._v(\"...\")])], 2)])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-00af8d4e\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/timeline/timeline.vue\n// module id = 427\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 base01-background\"\n }, [_c('ul', {\n staticClass: \"base03-border\"\n }, [(_vm.currentUser) ? _c('li', [_c('router-link', {\n staticClass: \"base00-background\",\n attrs: {\n \"to\": \"/main/friends\"\n }\n }, [_vm._v(\"\\n Timeline\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', [_c('router-link', {\n staticClass: \"base00-background\",\n attrs: {\n \"to\": {\n name: 'mentions',\n params: {\n username: _vm.currentUser.screen_name\n }\n }\n }\n }, [_vm._v(\"\\n Mentions\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('li', [_c('router-link', {\n staticClass: \"base00-background\",\n attrs: {\n \"to\": \"/main/public\"\n }\n }, [_vm._v(\"\\n Public Timeline\\n \")])], 1), _vm._v(\" \"), _c('li', [_c('router-link', {\n staticClass: \"base00-background\",\n attrs: {\n \"to\": \"/main/all\"\n }\n }, [_vm._v(\"\\n The Whole Known Network\\n \")])], 1)])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-08410ec0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/nav_panel/nav_panel.vue\n// module id = 428\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 \"statusoid\": _vm.statusoid\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-18f8603c\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/conversation-page/conversation-page.vue\n// module id = 429\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\": 'Friends',\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'friends'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-1a525ae4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/friends_timeline/friends_timeline.vue\n// module id = 430\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 base00-background\"\n }, [_c('div', {\n staticClass: \"panel-heading base01-background base04\"\n }, [_vm._v(\"\\n Log in\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_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(\"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\": \"e.g. lain\"\n },\n domProps: {\n \"value\": _vm._s(_vm.user.username)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _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(\"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._s(_vm.user.password)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.user.password = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('button', {\n staticClass: \"btn btn-default base05 base01-background\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"type\": \"submit\"\n }\n }, [_vm._v(\"Submit\")])]), _vm._v(\" \"), (_vm.authError) ? _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"error base05\"\n }, [_vm._v(_vm._s(_vm.authError))])]) : _vm._e()])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-1f2306a4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/login_form/login_form.vue\n// module id = 431\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (!_vm.status.deleted) ? _c('div', {\n staticClass: \"status-el base00-background base03-border\",\n class: [{\n 'base01-background': _vm.focused\n }, {\n 'status-conversation': _vm.inConversation\n }]\n }, [(_vm.muted) ? [_c('div', {\n staticClass: \"media status container muted\"\n }, [_c('small', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.user.id\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), _c('a', {\n staticClass: \"unmute\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleMute($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-eye-off\"\n })])])] : _vm._e(), _vm._v(\" \"), (!_vm.muted) ? [(_vm.retweet) ? _c('div', {\n staticClass: \"media container retweet-info\"\n }, [_vm._m(0), _vm._v(\" \"), _c('div', {\n staticClass: \"media-body\"\n }, [_vm._v(\"\\n Retweeted by \" + _vm._s(_vm.retweeter) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"media status container\"\n }, [_c('div', {\n staticClass: \"media-left\"\n }, [_c('a', {\n attrs: {\n \"href\": _vm.status.user.statusnet_profile_url\n }\n }, [_c('img', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": _vm.status.user.profile_image_url_original\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleUserExpanded($event)\n }\n }\n })])]), _vm._v(\" \"), _c('div', {\n staticClass: \"media-body\"\n }, [(_vm.userExpanded) ? _c('div', {\n staticClass: \"base05 base05=border usercard\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.status.user\n }\n })], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"user-content\"\n }, [_c('h4', {\n staticClass: \"media-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.status.user.name) + \"\\n \"), _c('small', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.user.id\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), (_vm.status.in_reply_to_screen_name) ? _c('small', [_vm._v(\" >\\n \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.in_reply_to_user_id\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.status.in_reply_to_screen_name) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.isReply) ? [_c('small', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: _vm.status.in_reply_to_status_id\n }\n }\n }\n }, [_c('i', {\n staticClass: \"icon-reply\"\n })])], 1)] : _vm._e(), _vm._v(\"\\n -\\n \"), _c('small', [_c('router-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)], 1), _vm._v(\" \"), (_vm.expandable) ? [_vm._v(\"\\n -\\n \"), _c('small', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleExpanded($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-plus-squared\"\n })])]), _vm._v(\" \"), (_vm.status.user.muted) ? _c('small', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleMute($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-eye-off\"\n })])]) : _vm._e()] : _vm._e(), _vm._v(\" \"), (!_vm.status.is_local) ? _c('small', {\n staticClass: \"source_url\"\n }, [_c('a', {\n attrs: {\n \"href\": _vm.status.external_url,\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"icon-binoculars\"\n })])]) : _vm._e()], 2), _vm._v(\" \"), _c('div', {\n staticClass: \"status-content\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.status.statusnet_html)\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.linkClicked($event)\n }\n }\n }), _vm._v(\" \"), (_vm.status.attachments) ? _c('div', {\n staticClass: \"attachments\"\n }, _vm._l((_vm.status.attachments), function(attachment) {\n return (!_vm.hideAttachments) ? _c('attachment', {\n attrs: {\n \"status-id\": _vm.status.id,\n \"nsfw\": _vm.status.nsfw,\n \"attachment\": attachment\n }\n }) : _vm._e()\n })) : _vm._e()]), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', [_c('div', {\n staticClass: \"status-actions\"\n }, [_c('div', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleReplying($event)\n }\n }\n }, [_c('i', {\n staticClass: \"fa icon-reply\",\n class: {\n 'icon-reply-active': _vm.replying\n }\n })])]), _vm._v(\" \"), _c('retweet-button', {\n attrs: {\n \"status\": _vm.status\n }\n }), _vm._v(\" \"), _c('favorite-button', {\n attrs: {\n \"status\": _vm.status\n }\n }), _vm._v(\" \"), _c('delete-button', {\n attrs: {\n \"status\": _vm.status\n }\n })], 1)]) : _vm._e()])]), _vm._v(\" \"), (_vm.replying) ? _c('div', {\n staticClass: \"status base00-background 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 },\n on: {\n \"posted\": _vm.toggleReplying\n }\n })], 1) : _vm._e()] : _vm._e()], 2) : _vm._e()\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"media-left\"\n }, [_c('i', {\n staticClass: \"fa icon-retweet retweeted\"\n })])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-2af73b2e\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/status/status.vue\n// module id = 432\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\": '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.js?{\"id\":\"data-v-2f23864e\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/mentions/mentions.vue\n// module id = 433\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 base00-background\"\n }, [_c('div', {\n staticClass: \"panel-heading base01-background base04\"\n }, [(_vm.unseenCount) ? _c('span', {\n staticClass: \"unseen-count\"\n }, [_vm._v(_vm._s(_vm.unseenCount))]) : _vm._e(), _vm._v(\"\\n Notifications\\n \"), _c('button', {\n staticClass: \"base06 base02-background read-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.markAsSeen($event)\n }\n }\n }, [_vm._v(\"Read!\")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body base03-border\"\n }, _vm._l((_vm.visibleNotifications), function(notification) {\n return _c('div', {\n staticClass: \"notification\",\n class: {\n \"unseen\": !notification.seen\n }\n }, [_c('a', {\n attrs: {\n \"href\": notification.action.user.statusnet_profile_url\n }\n }, [_c('img', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": notification.action.user.profile_image_url_original\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"text\"\n }, [_c('timeago', {\n attrs: {\n \"since\": notification.action.created_at,\n \"auto-update\": 240\n }\n }), _vm._v(\" \"), (notification.type === 'favorite') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n staticClass: \"fa icon-star\"\n }), _vm._v(\" favorited your \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: notification.status.id\n }\n }\n }\n }, [_vm._v(\"status\")])], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e(), _vm._v(\" \"), (notification.type === 'repeat') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n staticClass: \"fa icon-retweet\"\n }), _vm._v(\" repeated your \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: notification.status.id\n }\n }\n }\n }, [_vm._v(\"status\")])], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e(), _vm._v(\" \"), (notification.type === 'mention') ? _c('div', [_c('h1', [_vm._v(_vm._s(notification.action.user.name)), _c('br'), _c('i', {\n staticClass: \"fa icon-reply\"\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: notification.status.id\n }\n }\n }\n }, [_vm._v(\"mentioned\")]), _vm._v(\" you\")], 1), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(notification.status.text))])]) : _vm._e()], 1)])\n }))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-3335cd40\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/notifications/notifications.vue\n// module id = 434\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('i', {\n staticClass: \"icon-retweet fa\",\n class: _vm.classes,\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.retweet()\n }\n }\n }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-3403c3e4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/retweet_button/retweet_button.vue\n// module id = 435\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 panel-default base00-background\"\n }, [_c('div', {\n staticClass: \"panel-heading base01-background base04 base03-border conversation-heading\"\n }, [_vm._v(\"\\n Conversation\\n \"), (_vm.collapsable) ? _c('span', {\n staticStyle: {\n \"float\": \"right\"\n }\n }, [_c('small', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.$emit('toggleExpanded')\n }\n }\n }, [_vm._v(\"Collapse\")])])]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.conversation), function(status) {\n return _c('status', {\n key: status.id,\n attrs: {\n \"statusoid\": status,\n \"expandable\": false,\n \"focused\": _vm.focused(status.id),\n \"inConversation\": true\n }\n })\n }))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-4051da8e\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/conversation/conversation.vue\n// module id = 436\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\": 'THE WHOLE KNOWN NETWORK',\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'publicAndExternal'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-429f1b0e\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/public_and_external_timeline/public_and_external_timeline.vue\n// module id = 437\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: \"fa icon-cancel delete-status\"\n })])]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-451a4d08\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/delete_button/delete_button.vue\n// module id = 438\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 }, [_c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newStatus.status),\n expression: \"newStatus.status\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"placeholder\": \"Just landed in L.A.\",\n \"rows\": \"3\"\n },\n domProps: {\n \"value\": _vm._s(_vm.newStatus.status)\n },\n on: {\n \"keyup\": [function($event) {\n if (_vm._k($event.keyCode, \"enter\", 13)) { return; }\n if (!$event.metaKey) { return; }\n _vm.postStatus(_vm.newStatus)\n }, function($event) {\n if (_vm._k($event.keyCode, \"enter\", 13)) { return; }\n if (!$event.ctrlKey) { return; }\n _vm.postStatus(_vm.newStatus)\n }],\n \"drop\": _vm.fileDrop,\n \"dragover\": function($event) {\n $event.preventDefault();\n _vm.fileDrag($event)\n },\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.newStatus.status = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"attachments\"\n }, _vm._l((_vm.newStatus.files), function(file) {\n return _c('div', {\n staticClass: \"attachment\"\n }, [_c('i', {\n staticClass: \"fa icon-cancel\",\n on: {\n \"click\": function($event) {\n _vm.removeMediaFile(file)\n }\n }\n }), _vm._v(\" \"), (_vm.type(file) === 'image') ? _c('img', {\n staticClass: \"thumbnail media-upload\",\n attrs: {\n \"src\": file.image\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'video') ? _c('video', {\n attrs: {\n \"src\": file.image,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'audio') ? _c('audio', {\n attrs: {\n \"src\": file.image,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'unknown') ? _c('a', {\n attrs: {\n \"href\": file.image\n }\n }, [_vm._v(_vm._s(file.url))]) : _vm._e()])\n })), _vm._v(\" \"), _c('div', {\n staticClass: \"form-bottom\"\n }, [_c('media-upload', {\n attrs: {\n \"drop-files\": _vm.dropFiles\n },\n on: {\n \"uploading\": _vm.disableSubmit,\n \"uploaded\": _vm.addMediaFile,\n \"upload-failed\": _vm.enableSubmit\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default base05 base01-background\",\n attrs: {\n \"disabled\": _vm.submitDisabled,\n \"type\": \"submit\"\n }\n }, [_vm._v(\"Submit\")])], 1)])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-4e49d56e\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/post_status_form/post_status_form.vue\n// module id = 439\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: \"attachment base03-border\",\n class: ( _obj = {\n loading: _vm.loading\n }, _obj[_vm.type] = true, _obj ),\n style: (_vm.autoHeight)\n }, [(_vm.hidden) ? _c('a', {\n staticClass: \"image-attachment\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleHidden()\n }\n }\n }, [_c('img', {\n key: _vm.nsfwImage,\n attrs: {\n \"src\": _vm.nsfwImage\n }\n })]) : _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 _vm.toggleHidden()\n }\n }\n }, [_vm._v(\"Hide\")])]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'image' && !_vm.hidden) ? _c('a', {\n staticClass: \"image-attachment\",\n attrs: {\n \"href\": _vm.attachment.url,\n \"target\": \"_blank\"\n }\n }, [_c('img', {\n staticClass: \"base03-border\",\n attrs: {\n \"referrerpolicy\": \"no-referrer\",\n \"src\": _vm.attachment.large_thumb_url || _vm.attachment.url\n }\n })]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'video' && !_vm.hidden) ? _c('video', {\n attrs: {\n \"src\": _vm.attachment.url,\n \"controls\": \"\"\n }\n }) : _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 _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.js?{\"id\":\"data-v-5b03d50e\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/attachment/attachment.vue\n// module id = 440\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.expanded) ? _c('conversation', {\n attrs: {\n \"collapsable\": true,\n \"statusoid\": _vm.statusoid\n },\n on: {\n \"toggleExpanded\": _vm.toggleExpanded\n }\n }) : _vm._e(), _vm._v(\" \"), (!_vm.expanded) ? _c('status', {\n attrs: {\n \"expandable\": true,\n \"inConversation\": false,\n \"focused\": false,\n \"statusoid\": _vm.statusoid\n },\n on: {\n \"toggleExpanded\": _vm.toggleExpanded\n }\n }) : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-5fa77da4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/status_or_conversation/status_or_conversation.vue\n// module id = 441\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: \"base02-background\",\n style: (_vm.style),\n attrs: {\n \"id\": \"app\"\n }\n }, [_c('nav', {\n staticClass: \"container base01-background base04\",\n on: {\n \"click\": function($event) {\n _vm.scrollToTop()\n }\n }\n }, [_c('div', {\n staticClass: \"inner-nav\",\n style: (_vm.logoStyle)\n }, [_c('div', {\n staticClass: \"item\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'root'\n }\n }\n }, [_vm._v(_vm._s(_vm.sitename))])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"item right\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'settings'\n }\n }\n }, [_c('i', {\n staticClass: \"icon-cog\"\n })])], 1)])]), _vm._v(\" \"), _c('div', {\n staticClass: \"container\",\n attrs: {\n \"id\": \"content\"\n }\n }, [_c('div', {\n staticClass: \"panel-switcher\"\n }, [_c('button', {\n on: {\n \"click\": function($event) {\n _vm.activatePanel('sidebar')\n }\n }\n }, [_vm._v(\"Sidebar\")]), _vm._v(\" \"), _c('button', {\n on: {\n \"click\": function($event) {\n _vm.activatePanel('timeline')\n }\n }\n }, [_vm._v(\"Timeline\")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"sidebar\",\n class: {\n 'mobile-hidden': _vm.mobileActivePanel != 'sidebar'\n }\n }, [_c('user-panel'), _vm._v(\" \"), _c('nav-panel'), _vm._v(\" \"), (_vm.currentUser) ? _c('notifications') : _vm._e()], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"main\",\n class: {\n 'mobile-hidden': _vm.mobileActivePanel != 'timeline'\n }\n }, [_c('transition', {\n attrs: {\n \"name\": \"fade\"\n }\n }, [_c('router-view')], 1)], 1)])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-66ced9f9\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = 442\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\": 'Public Timeline',\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'public'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-7c920b5e\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/public_timeline/public_timeline.vue\n// module id = 443\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('i', {\n staticClass: \"favorite-button fa\",\n class: _vm.classes,\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.favorite()\n }\n }\n }), _vm._v(\" \"), (_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.js?{\"id\":\"data-v-8aa8f5cc\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/favorite_button/favorite_button.vue\n// module id = 444\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 _vm.fileDrag($event)\n }\n }\n }, [_c('label', {\n staticClass: \"btn btn-default\"\n }, [(_vm.uploading) ? _c('i', {\n staticClass: \"fa icon-spin4 animate-spin\"\n }) : _vm._e(), _vm._v(\" \"), (!_vm.uploading) ? _c('i', {\n staticClass: \"fa icon-upload\"\n }) : _vm._e(), _vm._v(\" \"), _c('input', {\n staticStyle: {\n \"position\": \"fixed\",\n \"top\": \"-100em\"\n },\n attrs: {\n \"type\": \"file\"\n }\n })])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-c407a1a4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/media_upload/media_upload.vue\n// module id = 445\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 base00-background\"\n }, [_c('div', {\n staticClass: \"panel-heading base01-background base04\"\n }, [_vm._v(\"\\n Settings\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(\"Theme\")]), _vm._v(\" \"), _c('style-switcher')], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(\"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 \"click\": 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 ($$c) {\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(\"Hide attachments in timeline\")])]), _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 \"click\": 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 ($$c) {\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(\"Hide attachments in conversations\")])]), _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 \"click\": 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 ($$c) {\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(\"Enable clickthrough NSFW attachment hiding\")])])])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-c59fa8e4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/settings/settings.vue\n// module id = 446\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected),\n expression: \"selected\"\n }],\n staticClass: \"style-switcher\",\n on: {\n \"change\": function($event) {\n _vm.selected = 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 })[0]\n }\n }\n }, _vm._l((_vm.availableStyles), function(style) {\n return _c('option', [_vm._v(_vm._s(style))])\n }))\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-c5f302e4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/style_switcher/style_switcher.vue\n// module id = 447\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 }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.user\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-footer base00-background\"\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.js?{\"id\":\"data-v-c9472224\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_panel/user_panel.vue\n// module id = 448\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-profile panel panel-default base00-background\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.user\n }\n })], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-dc482864\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_profile/user_profile.vue\n// module id = 449\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: \"profile-panel-background\",\n style: (_vm.headingStyle),\n attrs: {\n \"id\": \"heading\"\n }\n }, [_c('div', {\n staticClass: \"panel-heading text-center\"\n }, [_c('div', {\n staticClass: \"user-info\"\n }, [_c('div', {\n staticClass: \"container\"\n }, [_c('img', {\n attrs: {\n \"src\": _vm.user.profile_image_url\n }\n }), _vm._v(\" \"), _c('span', {\n staticClass: \"glyphicon glyphicon-user\"\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"user-name\"\n }, [_vm._v(_vm._s(_vm.user.name))]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-screen-name\"\n }, [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))])]), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n staticClass: \"user-interactions\"\n }, [(_vm.user.follows_you && _vm.loggedIn) ? _c('div', {\n staticClass: \"following base06\"\n }, [_vm._v(\"\\n Follows you!\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', {\n staticClass: \"follow\"\n }, [(_vm.user.following) ? _c('span', [_c('button', {\n staticClass: \"base04 base00-background pressed\",\n on: {\n \"click\": _vm.unfollowUser\n }\n }, [_vm._v(\"\\n Following!\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.following) ? _c('span', [_c('button', {\n staticClass: \"base05 base02-background\",\n on: {\n \"click\": _vm.followUser\n }\n }, [_vm._v(\"\\n Follow\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n staticClass: \"mute\"\n }, [(_vm.user.muted) ? _c('span', [_c('button', {\n staticClass: \"base04 base00-background pressed\",\n on: {\n \"click\": _vm.toggleMute\n }\n }, [_vm._v(\"Muted\")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.muted) ? _c('span', [_c('button', {\n staticClass: \"base05 base02-background\",\n on: {\n \"click\": _vm.toggleMute\n }\n }, [_vm._v(\"Mute\")])]) : _vm._e()]) : _vm._e()]) : _vm._e()])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body profile-panel-body\",\n style: (_vm.bodyStyle)\n }, [_c('div', {\n staticClass: \"user-counts\"\n }, [_c('div', {\n staticClass: \"user-count\"\n }, [_c('h5', [_vm._v(\"Statuses\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.statuses_count) + \" \"), _c('br'), _c('span', {\n staticClass: \"dailyAvg\"\n }, [_vm._v(_vm._s(_vm.dailyAvg) + \" per day\")])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-count\"\n }, [_c('h5', [_vm._v(\"Following\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.friends_count))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-count\"\n }, [_c('h5', [_vm._v(\"Followers\")]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.followers_count))])])]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.user.description))])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?{\"id\":\"data-v-e7f27628\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_card_content/user_card_content.vue\n// module id = 450\n// module chunks = 2"],"sourceRoot":""} \ No newline at end of file diff --git a/priv/static/static/js/manifest.53ddf71d231dbc5f82dc.js b/priv/static/static/js/manifest.53ddf71d231dbc5f82dc.js deleted file mode 100644 index b45353133..000000000 --- a/priv/static/static/js/manifest.53ddf71d231dbc5f82dc.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={exports:{},id:a,loaded:!1};return e[a].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var a=window.webpackJsonp;window.webpackJsonp=function(c,o){for(var p,s,l=0,i=[];l 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/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar store = __webpack_require__(63)('wks')\n\t , uid = __webpack_require__(40)\n\t , Symbol = __webpack_require__(4).Symbol\n\t , 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/* 4 */\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 : Function('return this')();\n\tif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar freeGlobal = __webpack_require__(140);\n\t\n\t/** Detect free variable `self`. */\n\tvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\t\n\t/** Used as a reference to the global object. */\n\tvar root = freeGlobal || freeSelf || Function('return this')();\n\t\n\tmodule.exports = root;\n\n\n/***/ },\n/* 6 */\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/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar anObject = __webpack_require__(12)\n\t , IE8_DOM_DEFINE = __webpack_require__(104)\n\t , toPrimitive = __webpack_require__(66)\n\t , dP = Object.defineProperty;\n\t\n\texports.f = __webpack_require__(9) ? Object.defineProperty : function defineProperty(O, P, Attributes){\n\t anObject(O);\n\t P = toPrimitive(P, true);\n\t anObject(Attributes);\n\t if(IE8_DOM_DEFINE)try {\n\t return dP(O, P, Attributes);\n\t } catch(e){ /* empty */ }\n\t if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');\n\t if('value' in Attributes)O[P] = Attributes.value;\n\t return O;\n\t};\n\n/***/ },\n/* 8 */\n/***/ function(module, exports) {\n\n\tvar core = module.exports = {version: '2.4.0'};\n\tif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// Thank's IE8 for his funny defineProperty\n\tmodule.exports = !__webpack_require__(26)(function(){\n\t return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;\n\t});\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseMatches = __webpack_require__(291),\n\t baseMatchesProperty = __webpack_require__(292),\n\t identity = __webpack_require__(22),\n\t isArray = __webpack_require__(2),\n\t property = __webpack_require__(392);\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/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar dP = __webpack_require__(7)\n\t , createDesc = __webpack_require__(28);\n\tmodule.exports = __webpack_require__(9) ? function(object, key, value){\n\t return dP.f(object, key, createDesc(1, value));\n\t} : function(object, key, value){\n\t object[key] = value;\n\t return object;\n\t};\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(15);\n\tmodule.exports = function(it){\n\t if(!isObject(it))throw TypeError(it + ' is not an object!');\n\t return it;\n\t};\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// optional / simple context binding\n\tvar aFunction = __webpack_require__(52);\n\tmodule.exports = function(fn, that, length){\n\t aFunction(fn);\n\t if(that === undefined)return fn;\n\t switch(length){\n\t case 1: return function(a){\n\t return fn.call(that, a);\n\t };\n\t case 2: return function(a, b){\n\t return fn.call(that, a, b);\n\t };\n\t case 3: return function(a, b, c){\n\t return fn.call(that, a, b, c);\n\t };\n\t }\n\t return function(/* ...args */){\n\t return fn.apply(that, arguments);\n\t };\n\t};\n\n/***/ },\n/* 14 */\n/***/ function(module, exports) {\n\n\tvar hasOwnProperty = {}.hasOwnProperty;\n\tmodule.exports = function(it, key){\n\t return hasOwnProperty.call(it, key);\n\t};\n\n/***/ },\n/* 15 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(it){\n\t return typeof it === 'object' ? it !== null : typeof it === 'function';\n\t};\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// to indexed object, toObject with fallback for non-array-like ES3 strings\n\tvar IObject = __webpack_require__(105)\n\t , defined = __webpack_require__(35);\n\tmodule.exports = function(it){\n\t return IObject(defined(it));\n\t};\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseIsNative = __webpack_require__(287),\n\t getValue = __webpack_require__(329);\n\t\n\t/**\n\t * Gets the native function at `key` of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {string} key The key of the method to get.\n\t * @returns {*} Returns the function if it's native, else `undefined`.\n\t */\n\tfunction getNative(object, key) {\n\t var value = getValue(object, key);\n\t return baseIsNative(value) ? value : undefined;\n\t}\n\t\n\tmodule.exports = getNative;\n\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isFunction = __webpack_require__(88),\n\t isLength = __webpack_require__(89);\n\t\n\t/**\n\t * Checks if `value` is array-like. A value is considered array-like if it's\n\t * not a function and has a `value.length` that's an integer greater than or\n\t * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n\t * @example\n\t *\n\t * _.isArrayLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArrayLike(document.body.children);\n\t * // => true\n\t *\n\t * _.isArrayLike('abc');\n\t * // => true\n\t *\n\t * _.isArrayLike(_.noop);\n\t * // => false\n\t */\n\tfunction isArrayLike(value) {\n\t return value != null && isLength(value.length) && !isFunction(value);\n\t}\n\t\n\tmodule.exports = isArrayLike;\n\n\n/***/ },\n/* 19 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Checks if `value` is object-like. A value is object-like if it's not `null`\n\t * and has a `typeof` result of \"object\".\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t * @example\n\t *\n\t * _.isObjectLike({});\n\t * // => true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t return value != null && typeof value == 'object';\n\t}\n\t\n\tmodule.exports = isObjectLike;\n\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(4)\n\t , core = __webpack_require__(8)\n\t , ctx = __webpack_require__(13)\n\t , hide = __webpack_require__(11)\n\t , PROTOTYPE = 'prototype';\n\t\n\tvar $export = function(type, name, source){\n\t var IS_FORCED = type & $export.F\n\t , IS_GLOBAL = type & $export.G\n\t , IS_STATIC = type & $export.S\n\t , IS_PROTO = type & $export.P\n\t , IS_BIND = type & $export.B\n\t , IS_WRAP = type & $export.W\n\t , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})\n\t , expProto = exports[PROTOTYPE]\n\t , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]\n\t , 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 && key in exports)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/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Symbol = __webpack_require__(30),\n\t getRawTag = __webpack_require__(326),\n\t objectToString = __webpack_require__(356);\n\t\n\t/** `Object#toString` result references. */\n\tvar nullTag = '[object Null]',\n\t undefinedTag = '[object Undefined]';\n\t\n\t/** Built-in value references. */\n\tvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\t\n\t/**\n\t * The base implementation of `getTag` without fallbacks for buggy environments.\n\t *\n\t * @private\n\t * @param {*} value The value to query.\n\t * @returns {string} Returns the `toStringTag`.\n\t */\n\tfunction baseGetTag(value) {\n\t if (value == null) {\n\t return value === undefined ? undefinedTag : nullTag;\n\t }\n\t return (symToStringTag && symToStringTag in Object(value))\n\t ? getRawTag(value)\n\t : objectToString(value);\n\t}\n\t\n\tmodule.exports = baseGetTag;\n\n\n/***/ },\n/* 22 */\n/***/ function(module, exports) {\n\n\t/**\n\t * This method returns the first argument it receives.\n\t *\n\t * @static\n\t * @since 0.1.0\n\t * @memberOf _\n\t * @category Util\n\t * @param {*} value Any value.\n\t * @returns {*} Returns `value`.\n\t * @example\n\t *\n\t * var object = { 'a': 1 };\n\t *\n\t * console.log(_.identity(object) === object);\n\t * // => true\n\t */\n\tfunction identity(value) {\n\t return value;\n\t}\n\t\n\tmodule.exports = identity;\n\n\n/***/ },\n/* 23 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseGetTag = __webpack_require__(21),\n\t isObjectLike = __webpack_require__(19);\n\t\n\t/** `Object#toString` result references. */\n\tvar symbolTag = '[object Symbol]';\n\t\n\t/**\n\t * Checks if `value` is classified as a `Symbol` primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n\t * @example\n\t *\n\t * _.isSymbol(Symbol.iterator);\n\t * // => true\n\t *\n\t * _.isSymbol('abc');\n\t * // => false\n\t */\n\tfunction isSymbol(value) {\n\t return typeof value == 'symbol' ||\n\t (isObjectLike(value) && baseGetTag(value) == symbolTag);\n\t}\n\t\n\tmodule.exports = isSymbol;\n\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar toFinite = __webpack_require__(401);\n\t\n\t/**\n\t * Converts `value` to an integer.\n\t *\n\t * **Note:** This method is loosely based on\n\t * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to convert.\n\t * @returns {number} Returns the converted integer.\n\t * @example\n\t *\n\t * _.toInteger(3.2);\n\t * // => 3\n\t *\n\t * _.toInteger(Number.MIN_VALUE);\n\t * // => 0\n\t *\n\t * _.toInteger(Infinity);\n\t * // => 1.7976931348623157e+308\n\t *\n\t * _.toInteger('3.2');\n\t * // => 3\n\t */\n\tfunction toInteger(value) {\n\t var result = toFinite(value),\n\t remainder = result % 1;\n\t\n\t return result === result ? (remainder ? result - remainder : result) : 0;\n\t}\n\t\n\tmodule.exports = toInteger;\n\n\n/***/ },\n/* 25 */\n/***/ function(module, exports) {\n\n\tvar toString = {}.toString;\n\t\n\tmodule.exports = function(it){\n\t return toString.call(it).slice(8, -1);\n\t};\n\n/***/ },\n/* 26 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(exec){\n\t try {\n\t return !!exec();\n\t } catch(e){\n\t return true;\n\t }\n\t};\n\n/***/ },\n/* 27 */\n/***/ function(module, exports) {\n\n\tmodule.exports = {};\n\n/***/ },\n/* 28 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(bitmap, value){\n\t return {\n\t enumerable : !(bitmap & 1),\n\t configurable: !(bitmap & 2),\n\t writable : !(bitmap & 4),\n\t value : value\n\t };\n\t};\n\n/***/ },\n/* 29 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar def = __webpack_require__(7).f\n\t , has = __webpack_require__(14)\n\t , TAG = __webpack_require__(3)('toStringTag');\n\t\n\tmodule.exports = function(it, tag, stat){\n\t if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});\n\t};\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar root = __webpack_require__(5);\n\t\n\t/** Built-in value references. */\n\tvar Symbol = root.Symbol;\n\t\n\tmodule.exports = Symbol;\n\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isSymbol = __webpack_require__(23);\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar INFINITY = 1 / 0;\n\t\n\t/**\n\t * Converts `value` to a string key if it's not a string or symbol.\n\t *\n\t * @private\n\t * @param {*} value The value to inspect.\n\t * @returns {string|symbol} Returns the key.\n\t */\n\tfunction toKey(value) {\n\t if (typeof value == 'string' || isSymbol(value)) {\n\t return value;\n\t }\n\t var result = (value + '');\n\t return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n\t}\n\t\n\tmodule.exports = toKey;\n\n\n/***/ },\n/* 32 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Performs a\n\t * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n\t * comparison between two values to determine if they are equivalent.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to compare.\n\t * @param {*} other The other value to compare.\n\t * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n\t * @example\n\t *\n\t * var object = { 'a': 1 };\n\t * var other = { 'a': 1 };\n\t *\n\t * _.eq(object, object);\n\t * // => true\n\t *\n\t * _.eq(object, other);\n\t * // => false\n\t *\n\t * _.eq('a', 'a');\n\t * // => true\n\t *\n\t * _.eq('a', Object('a'));\n\t * // => false\n\t *\n\t * _.eq(NaN, NaN);\n\t * // => true\n\t */\n\tfunction eq(value, other) {\n\t return value === other || (value !== value && other !== other);\n\t}\n\t\n\tmodule.exports = eq;\n\n\n/***/ },\n/* 33 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseToString = __webpack_require__(302);\n\t\n\t/**\n\t * Converts `value` to a string. An empty string is returned for `null`\n\t * and `undefined` values. The sign of `-0` is preserved.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to convert.\n\t * @returns {string} Returns the converted string.\n\t * @example\n\t *\n\t * _.toString(null);\n\t * // => ''\n\t *\n\t * _.toString(-0);\n\t * // => '-0'\n\t *\n\t * _.toString([1, 2, 3]);\n\t * // => '1,2,3'\n\t */\n\tfunction toString(value) {\n\t return value == null ? '' : baseToString(value);\n\t}\n\t\n\tmodule.exports = toString;\n\n\n/***/ },\n/* 34 */,\n/* 35 */\n/***/ function(module, exports) {\n\n\t// 7.2.1 RequireObjectCoercible(argument)\n\tmodule.exports = function(it){\n\t if(it == undefined)throw TypeError(\"Can't call method on \" + it);\n\t return it;\n\t};\n\n/***/ },\n/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ctx = __webpack_require__(13)\n\t , call = __webpack_require__(108)\n\t , isArrayIter = __webpack_require__(106)\n\t , anObject = __webpack_require__(12)\n\t , toLength = __webpack_require__(39)\n\t , getIterFn = __webpack_require__(117)\n\t , BREAK = {}\n\t , RETURN = {};\n\tvar exports = module.exports = function(iterable, entries, fn, that, ITERATOR){\n\t var iterFn = ITERATOR ? function(){ return iterable; } : getIterFn(iterable)\n\t , f = ctx(fn, that, entries ? 2 : 1)\n\t , index = 0\n\t , length, step, iterator, result;\n\t if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');\n\t // fast case for arrays with default iterator\n\t if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){\n\t result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n\t if(result === BREAK || result === RETURN)return result;\n\t } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){\n\t result = call(iterator, f, step.value, entries);\n\t if(result === BREAK || result === RETURN)return result;\n\t }\n\t};\n\texports.BREAK = BREAK;\n\texports.RETURN = RETURN;\n\n/***/ },\n/* 37 */\n/***/ function(module, exports) {\n\n\tmodule.exports = true;\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.14 / 15.2.3.14 Object.keys(O)\n\tvar $keys = __webpack_require__(113)\n\t , enumBugKeys = __webpack_require__(56);\n\t\n\tmodule.exports = Object.keys || function keys(O){\n\t return $keys(O, enumBugKeys);\n\t};\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.1.15 ToLength\n\tvar toInteger = __webpack_require__(64)\n\t , min = Math.min;\n\tmodule.exports = function(it){\n\t return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n\t};\n\n/***/ },\n/* 40 */\n/***/ function(module, exports) {\n\n\tvar id = 0\n\t , px = Math.random();\n\tmodule.exports = function(key){\n\t return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n\t};\n\n/***/ },\n/* 41 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $at = __webpack_require__(220)(true);\n\t\n\t// 21.1.3.27 String.prototype[@@iterator]()\n\t__webpack_require__(57)(String, 'String', function(iterated){\n\t this._t = String(iterated); // target\n\t this._i = 0; // next index\n\t// 21.1.5.2.1 %StringIteratorPrototype%.next()\n\t}, function(){\n\t var O = this._t\n\t , index = this._i\n\t , point;\n\t if(index >= O.length)return {value: undefined, done: true};\n\t point = $at(O, index);\n\t this._i += point.length;\n\t return {value: point, done: false};\n\t});\n\n/***/ },\n/* 42 */\n/***/ function(module, exports) {\n\n\t/**\n\t * lodash (Custom Build) \n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright jQuery Foundation and other contributors \n\t * Released under MIT license \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t */\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/** `Object#toString` result references. */\n\tvar argsTag = '[object Arguments]',\n\t funcTag = '[object Function]',\n\t genTag = '[object GeneratorFunction]';\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/**\n\t * Used to resolve the\n\t * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/** Built-in value references. */\n\tvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\t\n\t/**\n\t * Checks if `value` is likely an `arguments` object.\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 `arguments` object,\n\t * else `false`.\n\t * @example\n\t *\n\t * _.isArguments(function() { return arguments; }());\n\t * // => true\n\t *\n\t * _.isArguments([1, 2, 3]);\n\t * // => false\n\t */\n\tfunction isArguments(value) {\n\t // Safari 8.1 makes `arguments.callee` enumerable in strict mode.\n\t return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&\n\t (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);\n\t}\n\t\n\t/**\n\t * Checks if `value` is array-like. A value is considered array-like if it's\n\t * not a function and has a `value.length` that's an integer greater than or\n\t * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n\t * @example\n\t *\n\t * _.isArrayLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArrayLike(document.body.children);\n\t * // => true\n\t *\n\t * _.isArrayLike('abc');\n\t * // => true\n\t *\n\t * _.isArrayLike(_.noop);\n\t * // => false\n\t */\n\tfunction isArrayLike(value) {\n\t return value != null && isLength(value.length) && !isFunction(value);\n\t}\n\t\n\t/**\n\t * This method is like `_.isArrayLike` except that it also checks if `value`\n\t * is an object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an array-like object,\n\t * else `false`.\n\t * @example\n\t *\n\t * _.isArrayLikeObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArrayLikeObject(document.body.children);\n\t * // => true\n\t *\n\t * _.isArrayLikeObject('abc');\n\t * // => false\n\t *\n\t * _.isArrayLikeObject(_.noop);\n\t * // => false\n\t */\n\tfunction isArrayLikeObject(value) {\n\t return isObjectLike(value) && isArrayLike(value);\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\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 a function, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in Safari 8-9 which returns 'object' for typed array and other constructors.\n\t var tag = isObject(value) ? objectToString.call(value) : '';\n\t return tag == funcTag || tag == genTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a valid array-like length.\n\t *\n\t * **Note:** This method is loosely based on\n\t * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n\t * @example\n\t *\n\t * _.isLength(3);\n\t * // => true\n\t *\n\t * _.isLength(Number.MIN_VALUE);\n\t * // => false\n\t *\n\t * _.isLength(Infinity);\n\t * // => false\n\t *\n\t * _.isLength('3');\n\t * // => false\n\t */\n\tfunction isLength(value) {\n\t return typeof value == 'number' &&\n\t value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t}\n\t\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 && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Checks if `value` is object-like. A value is object-like if it's not `null`\n\t * and has a `typeof` result of \"object\".\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t * @example\n\t *\n\t * _.isObjectLike({});\n\t * // => true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t return !!value && typeof value == 'object';\n\t}\n\t\n\tmodule.exports = isArguments;\n\n\n/***/ },\n/* 43 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar listCacheClear = __webpack_require__(341),\n\t listCacheDelete = __webpack_require__(342),\n\t listCacheGet = __webpack_require__(343),\n\t listCacheHas = __webpack_require__(344),\n\t listCacheSet = __webpack_require__(345);\n\t\n\t/**\n\t * Creates an list cache object.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [entries] The key-value pairs to cache.\n\t */\n\tfunction ListCache(entries) {\n\t var index = -1,\n\t length = entries == null ? 0 : entries.length;\n\t\n\t this.clear();\n\t while (++index < length) {\n\t var entry = entries[index];\n\t this.set(entry[0], entry[1]);\n\t }\n\t}\n\t\n\t// Add methods to `ListCache`.\n\tListCache.prototype.clear = listCacheClear;\n\tListCache.prototype['delete'] = listCacheDelete;\n\tListCache.prototype.get = listCacheGet;\n\tListCache.prototype.has = listCacheHas;\n\tListCache.prototype.set = listCacheSet;\n\t\n\tmodule.exports = ListCache;\n\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar eq = __webpack_require__(32);\n\t\n\t/**\n\t * Gets the index at which the `key` is found in `array` of key-value pairs.\n\t *\n\t * @private\n\t * @param {Array} array The array to inspect.\n\t * @param {*} key The key to search for.\n\t * @returns {number} Returns the index of the matched value, else `-1`.\n\t */\n\tfunction assocIndexOf(array, key) {\n\t var length = array.length;\n\t while (length--) {\n\t if (eq(array[length][0], key)) {\n\t return length;\n\t }\n\t }\n\t return -1;\n\t}\n\t\n\tmodule.exports = assocIndexOf;\n\n\n/***/ },\n/* 45 */\n/***/ function(module, exports) {\n\n\t/**\n\t * The base implementation of `_.slice` without an iteratee call guard.\n\t *\n\t * @private\n\t * @param {Array} array The array to slice.\n\t * @param {number} [start=0] The start position.\n\t * @param {number} [end=array.length] The end position.\n\t * @returns {Array} Returns the slice of `array`.\n\t */\n\tfunction baseSlice(array, start, end) {\n\t var index = -1,\n\t length = array.length;\n\t\n\t if (start < 0) {\n\t start = -start > length ? 0 : (length + start);\n\t }\n\t end = end > length ? length : end;\n\t if (end < 0) {\n\t end += length;\n\t }\n\t length = start > end ? 0 : ((end - start) >>> 0);\n\t start >>>= 0;\n\t\n\t var result = Array(length);\n\t while (++index < length) {\n\t result[index] = array[index + start];\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = baseSlice;\n\n\n/***/ },\n/* 46 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isKeyable = __webpack_require__(339);\n\t\n\t/**\n\t * Gets the data for `map`.\n\t *\n\t * @private\n\t * @param {Object} map The map to query.\n\t * @param {string} key The reference key.\n\t * @returns {*} Returns the map data.\n\t */\n\tfunction getMapData(map, key) {\n\t var data = map.__data__;\n\t return isKeyable(key)\n\t ? data[typeof key == 'string' ? 'string' : 'hash']\n\t : data.map;\n\t}\n\t\n\tmodule.exports = getMapData;\n\n\n/***/ },\n/* 47 */\n/***/ function(module, exports) {\n\n\t/** Used as references for various `Number` constants. */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/** Used to detect unsigned integer values. */\n\tvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\t\n\t/**\n\t * Checks if `value` is a valid array-like index.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n\t * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n\t */\n\tfunction isIndex(value, length) {\n\t length = length == null ? MAX_SAFE_INTEGER : length;\n\t return !!length &&\n\t (typeof value == 'number' || reIsUint.test(value)) &&\n\t (value > -1 && value % 1 == 0 && value < length);\n\t}\n\t\n\tmodule.exports = isIndex;\n\n\n/***/ },\n/* 48 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar getNative = __webpack_require__(17);\n\t\n\t/* Built-in method references that are verified to be native. */\n\tvar nativeCreate = getNative(Object, 'create');\n\t\n\tmodule.exports = nativeCreate;\n\n\n/***/ },\n/* 49 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseIsArguments = __webpack_require__(283),\n\t isObjectLike = __webpack_require__(19);\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/** Built-in value references. */\n\tvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\t\n\t/**\n\t * Checks if `value` is likely an `arguments` object.\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 `arguments` object,\n\t * else `false`.\n\t * @example\n\t *\n\t * _.isArguments(function() { return arguments; }());\n\t * // => true\n\t *\n\t * _.isArguments([1, 2, 3]);\n\t * // => false\n\t */\n\tvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n\t return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n\t !propertyIsEnumerable.call(value, 'callee');\n\t};\n\t\n\tmodule.exports = isArguments;\n\n\n/***/ },\n/* 50 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar arrayLikeKeys = __webpack_require__(122),\n\t baseKeys = __webpack_require__(289),\n\t isArrayLike = __webpack_require__(18);\n\t\n\t/**\n\t * Creates an array of the own enumerable property names of `object`.\n\t *\n\t * **Note:** Non-object values are coerced to objects. See the\n\t * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n\t * for more details.\n\t *\n\t * @static\n\t * @since 0.1.0\n\t * @memberOf _\n\t * @category Object\n\t * @param {Object} object The object to query.\n\t * @returns {Array} Returns the array of property names.\n\t * @example\n\t *\n\t * function Foo() {\n\t * this.a = 1;\n\t * this.b = 2;\n\t * }\n\t *\n\t * Foo.prototype.c = 3;\n\t *\n\t * _.keys(new Foo);\n\t * // => ['a', 'b'] (iteration order is not guaranteed)\n\t *\n\t * _.keys('hi');\n\t * // => ['0', '1']\n\t */\n\tfunction keys(object) {\n\t return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n\t}\n\t\n\tmodule.exports = keys;\n\n\n/***/ },\n/* 51 */,\n/* 52 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(it){\n\t if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n\t return it;\n\t};\n\n/***/ },\n/* 53 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(it, Constructor, name, forbiddenField){\n\t if(!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)){\n\t throw TypeError(name + ': incorrect invocation!');\n\t } return it;\n\t};\n\n/***/ },\n/* 54 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// getting tag from 19.1.3.6 Object.prototype.toString()\n\tvar cof = __webpack_require__(25)\n\t , TAG = __webpack_require__(3)('toStringTag')\n\t // ES3 wrong here\n\t , ARG = cof(function(){ return arguments; }()) == 'Arguments';\n\t\n\t// fallback for IE11 Script Access Denied error\n\tvar tryGet = function(it, key){\n\t try {\n\t return it[key];\n\t } catch(e){ /* empty */ }\n\t};\n\t\n\tmodule.exports = function(it){\n\t var O, T, B;\n\t return it === undefined ? 'Undefined' : it === null ? 'Null'\n\t // @@toStringTag case\n\t : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n\t // builtinTag case\n\t : ARG ? cof(O)\n\t // ES3 arguments fallback\n\t : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n\t};\n\n/***/ },\n/* 55 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(15)\n\t , document = __webpack_require__(4).document\n\t // in old IE typeof document.createElement is 'object'\n\t , is = isObject(document) && isObject(document.createElement);\n\tmodule.exports = function(it){\n\t return is ? document.createElement(it) : {};\n\t};\n\n/***/ },\n/* 56 */\n/***/ function(module, exports) {\n\n\t// IE 8- don't enum bug keys\n\tmodule.exports = (\n\t 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n\t).split(',');\n\n/***/ },\n/* 57 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar LIBRARY = __webpack_require__(37)\n\t , $export = __webpack_require__(20)\n\t , redefine = __webpack_require__(114)\n\t , hide = __webpack_require__(11)\n\t , has = __webpack_require__(14)\n\t , Iterators = __webpack_require__(27)\n\t , $iterCreate = __webpack_require__(212)\n\t , setToStringTag = __webpack_require__(29)\n\t , getPrototypeOf = __webpack_require__(218)\n\t , ITERATOR = __webpack_require__(3)('iterator')\n\t , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`\n\t , FF_ITERATOR = '@@iterator'\n\t , KEYS = 'keys'\n\t , VALUES = 'values';\n\t\n\tvar returnThis = function(){ return this; };\n\t\n\tmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){\n\t $iterCreate(Constructor, NAME, next);\n\t var getMethod = function(kind){\n\t if(!BUGGY && kind in proto)return proto[kind];\n\t switch(kind){\n\t case KEYS: return function keys(){ return new Constructor(this, kind); };\n\t case VALUES: return function values(){ return new Constructor(this, kind); };\n\t } return function entries(){ return new Constructor(this, kind); };\n\t };\n\t var TAG = NAME + ' Iterator'\n\t , DEF_VALUES = DEFAULT == VALUES\n\t , VALUES_BUG = false\n\t , proto = Base.prototype\n\t , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]\n\t , $default = $native || getMethod(DEFAULT)\n\t , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined\n\t , $anyNative = NAME == 'Array' ? proto.entries || $native : $native\n\t , methods, key, IteratorPrototype;\n\t // Fix native\n\t if($anyNative){\n\t IteratorPrototype = getPrototypeOf($anyNative.call(new Base));\n\t if(IteratorPrototype !== Object.prototype){\n\t // Set @@toStringTag to native iterators\n\t setToStringTag(IteratorPrototype, TAG, true);\n\t // fix for some old engines\n\t if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);\n\t }\n\t }\n\t // fix Array#{values, @@iterator}.name in V8 / FF\n\t if(DEF_VALUES && $native && $native.name !== VALUES){\n\t VALUES_BUG = true;\n\t $default = function values(){ return $native.call(this); };\n\t }\n\t // Define iterator\n\t if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){\n\t hide(proto, ITERATOR, $default);\n\t }\n\t // Plug for library\n\t Iterators[NAME] = $default;\n\t Iterators[TAG] = returnThis;\n\t if(DEFAULT){\n\t methods = {\n\t values: DEF_VALUES ? $default : getMethod(VALUES),\n\t keys: IS_SET ? $default : getMethod(KEYS),\n\t entries: $entries\n\t };\n\t if(FORCED)for(key in methods){\n\t if(!(key in proto))redefine(proto, key, methods[key]);\n\t } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n\t }\n\t return methods;\n\t};\n\n/***/ },\n/* 58 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar META = __webpack_require__(40)('meta')\n\t , isObject = __webpack_require__(15)\n\t , has = __webpack_require__(14)\n\t , setDesc = __webpack_require__(7).f\n\t , id = 0;\n\tvar isExtensible = Object.isExtensible || function(){\n\t return true;\n\t};\n\tvar FREEZE = !__webpack_require__(26)(function(){\n\t return isExtensible(Object.preventExtensions({}));\n\t});\n\tvar setMeta = function(it){\n\t setDesc(it, META, {value: {\n\t i: 'O' + ++id, // object ID\n\t w: {} // weak collections IDs\n\t }});\n\t};\n\tvar fastKey = function(it, create){\n\t // return primitive with prefix\n\t if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n\t if(!has(it, META)){\n\t // can't set metadata to uncaught frozen object\n\t if(!isExtensible(it))return 'F';\n\t // not necessary to add metadata\n\t if(!create)return 'E';\n\t // add missing metadata\n\t setMeta(it);\n\t // return object ID\n\t } return it[META].i;\n\t};\n\tvar getWeak = function(it, create){\n\t if(!has(it, META)){\n\t // can't set metadata to uncaught frozen object\n\t if(!isExtensible(it))return true;\n\t // not necessary to add metadata\n\t if(!create)return false;\n\t // add missing metadata\n\t setMeta(it);\n\t // return hash weak collections IDs\n\t } return it[META].w;\n\t};\n\t// add metadata on freeze-family methods calling\n\tvar onFreeze = function(it){\n\t if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);\n\t return it;\n\t};\n\tvar meta = module.exports = {\n\t KEY: META,\n\t NEED: false,\n\t fastKey: fastKey,\n\t getWeak: getWeak,\n\t onFreeze: onFreeze\n\t};\n\n/***/ },\n/* 59 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n\tvar anObject = __webpack_require__(12)\n\t , dPs = __webpack_require__(215)\n\t , enumBugKeys = __webpack_require__(56)\n\t , IE_PROTO = __webpack_require__(62)('IE_PROTO')\n\t , Empty = function(){ /* empty */ }\n\t , PROTOTYPE = 'prototype';\n\t\n\t// Create object with fake `null` prototype: use iframe Object with cleared prototype\n\tvar createDict = function(){\n\t // Thrash, waste and sodomy: IE GC bug\n\t var iframe = __webpack_require__(55)('iframe')\n\t , i = enumBugKeys.length\n\t , lt = '<'\n\t , gt = '>'\n\t , iframeDocument;\n\t iframe.style.display = 'none';\n\t __webpack_require__(103).appendChild(iframe);\n\t iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n\t // createDict = iframe.contentWindow.Object;\n\t // html.removeChild(iframe);\n\t iframeDocument = iframe.contentWindow.document;\n\t iframeDocument.open();\n\t iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n\t iframeDocument.close();\n\t createDict = iframeDocument.F;\n\t while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];\n\t return createDict();\n\t};\n\t\n\tmodule.exports = Object.create || function create(O, Properties){\n\t var result;\n\t if(O !== null){\n\t Empty[PROTOTYPE] = anObject(O);\n\t result = new Empty;\n\t Empty[PROTOTYPE] = null;\n\t // add \"__proto__\" for Object.getPrototypeOf polyfill\n\t result[IE_PROTO] = O;\n\t } else result = createDict();\n\t return Properties === undefined ? result : dPs(result, Properties);\n\t};\n\n\n/***/ },\n/* 60 */\n/***/ function(module, exports) {\n\n\texports.f = {}.propertyIsEnumerable;\n\n/***/ },\n/* 61 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar hide = __webpack_require__(11);\n\tmodule.exports = function(target, src, safe){\n\t for(var key in src){\n\t if(safe && target[key])target[key] = src[key];\n\t else hide(target, key, src[key]);\n\t } return target;\n\t};\n\n/***/ },\n/* 62 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar shared = __webpack_require__(63)('keys')\n\t , uid = __webpack_require__(40);\n\tmodule.exports = function(key){\n\t return shared[key] || (shared[key] = uid(key));\n\t};\n\n/***/ },\n/* 63 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(4)\n\t , SHARED = '__core-js_shared__'\n\t , store = global[SHARED] || (global[SHARED] = {});\n\tmodule.exports = function(key){\n\t return store[key] || (store[key] = {});\n\t};\n\n/***/ },\n/* 64 */\n/***/ function(module, exports) {\n\n\t// 7.1.4 ToInteger\n\tvar ceil = Math.ceil\n\t , floor = Math.floor;\n\tmodule.exports = function(it){\n\t return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n\t};\n\n/***/ },\n/* 65 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.1.13 ToObject(argument)\n\tvar defined = __webpack_require__(35);\n\tmodule.exports = function(it){\n\t return Object(defined(it));\n\t};\n\n/***/ },\n/* 66 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.1.1 ToPrimitive(input [, PreferredType])\n\tvar isObject = __webpack_require__(15);\n\t// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n\t// and the second argument - flag - preferred type is a string\n\tmodule.exports = function(it, S){\n\t if(!isObject(it))return it;\n\t var fn, val;\n\t if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n\t if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;\n\t if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n\t throw TypeError(\"Can't convert object to primitive value\");\n\t};\n\n/***/ },\n/* 67 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(4)\n\t , core = __webpack_require__(8)\n\t , LIBRARY = __webpack_require__(37)\n\t , wksExt = __webpack_require__(68)\n\t , defineProperty = __webpack_require__(7).f;\n\tmodule.exports = function(name){\n\t var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n\t if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});\n\t};\n\n/***/ },\n/* 68 */\n/***/ function(module, exports, __webpack_require__) {\n\n\texports.f = __webpack_require__(3);\n\n/***/ },\n/* 69 */\n/***/ function(module, exports) {\n\n\n\n/***/ },\n/* 70 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(223);\n\tvar global = __webpack_require__(4)\n\t , hide = __webpack_require__(11)\n\t , Iterators = __webpack_require__(27)\n\t , TO_STRING_TAG = __webpack_require__(3)('toStringTag');\n\t\n\tfor(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){\n\t var NAME = collections[i]\n\t , Collection = global[NAME]\n\t , proto = Collection && Collection.prototype;\n\t if(proto && !proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);\n\t Iterators[NAME] = Iterators.Array;\n\t}\n\n/***/ },\n/* 71 */\n/***/ function(module, exports) {\n\n\t/**\n\t * lodash 3.0.4 (Custom Build) \n\t * Build: `lodash modern modularize exports=\"npm\" -o ./`\n\t * Copyright 2012-2015 The Dojo Foundation \n\t * Based on Underscore.js 1.8.3 \n\t * Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t * Available under MIT license \n\t */\n\t\n\t/** `Object#toString` result references. */\n\tvar arrayTag = '[object Array]',\n\t funcTag = '[object Function]';\n\t\n\t/** Used to detect host constructors (Safari > 5). */\n\tvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\t\n\t/**\n\t * Checks if `value` is object-like.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t */\n\tfunction isObjectLike(value) {\n\t return !!value && typeof value == 'object';\n\t}\n\t\n\t/** Used for native method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/** Used to resolve the decompiled source of functions. */\n\tvar fnToString = Function.prototype.toString;\n\t\n\t/** Used to check objects for own properties. */\n\tvar hasOwnProperty = objectProto.hasOwnProperty;\n\t\n\t/**\n\t * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objToString = objectProto.toString;\n\t\n\t/** Used to detect if a method is native. */\n\tvar reIsNative = RegExp('^' +\n\t fnToString.call(hasOwnProperty).replace(/[\\\\^$.*+?()[\\]{}|]/g, '\\\\$&')\n\t .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n\t);\n\t\n\t/* Native method references for those with the same name as other `lodash` methods. */\n\tvar nativeIsArray = getNative(Array, 'isArray');\n\t\n\t/**\n\t * Used as the [maximum length](http://ecma-international.org/ecma-262/6.0/#sec-number.max_safe_integer)\n\t * of an array-like value.\n\t */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/**\n\t * Gets the native function at `key` of `object`.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {string} key The key of the method to get.\n\t * @returns {*} Returns the function if it's native, else `undefined`.\n\t */\n\tfunction getNative(object, key) {\n\t var value = object == null ? undefined : object[key];\n\t return isNative(value) ? value : undefined;\n\t}\n\t\n\t/**\n\t * Checks if `value` is a valid array-like length.\n\t *\n\t * **Note:** This function is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n\t */\n\tfunction isLength(value) {\n\t return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as an `Array` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isArray([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isArray(function() { return arguments; }());\n\t * // => false\n\t */\n\tvar isArray = nativeIsArray || function(value) {\n\t return isObjectLike(value) && isLength(value.length) && objToString.call(value) == arrayTag;\n\t};\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in older versions of Chrome and Safari which return 'function' for regexes\n\t // and Safari 8 equivalents which return 'object' for typed array constructors.\n\t return isObject(value) && objToString.call(value) == funcTag;\n\t}\n\t\n\t/**\n\t * Checks if `value` is the [language type](https://es5.github.io/#x8) of `Object`.\n\t * (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\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(1);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t // Avoid a V8 JIT bug in Chrome 19-20.\n\t // See https://code.google.com/p/v8/issues/detail?id=2291 for more details.\n\t var type = typeof value;\n\t return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Checks if `value` is a native function.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a native function, else `false`.\n\t * @example\n\t *\n\t * _.isNative(Array.prototype.push);\n\t * // => true\n\t *\n\t * _.isNative(_);\n\t * // => false\n\t */\n\tfunction isNative(value) {\n\t if (value == null) {\n\t return false;\n\t }\n\t if (isFunction(value)) {\n\t return reIsNative.test(fnToString.call(value));\n\t }\n\t return isObjectLike(value) && reIsHostCtor.test(value);\n\t}\n\t\n\tmodule.exports = isArray;\n\n\n/***/ },\n/* 72 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar getNative = __webpack_require__(17),\n\t root = __webpack_require__(5);\n\t\n\t/* Built-in method references that are verified to be native. */\n\tvar Map = getNative(root, 'Map');\n\t\n\tmodule.exports = Map;\n\n\n/***/ },\n/* 73 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar mapCacheClear = __webpack_require__(346),\n\t mapCacheDelete = __webpack_require__(347),\n\t mapCacheGet = __webpack_require__(348),\n\t mapCacheHas = __webpack_require__(349),\n\t mapCacheSet = __webpack_require__(350);\n\t\n\t/**\n\t * Creates a map cache object to store key-value pairs.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [entries] The key-value pairs to cache.\n\t */\n\tfunction MapCache(entries) {\n\t var index = -1,\n\t length = entries == null ? 0 : entries.length;\n\t\n\t this.clear();\n\t while (++index < length) {\n\t var entry = entries[index];\n\t this.set(entry[0], entry[1]);\n\t }\n\t}\n\t\n\t// Add methods to `MapCache`.\n\tMapCache.prototype.clear = mapCacheClear;\n\tMapCache.prototype['delete'] = mapCacheDelete;\n\tMapCache.prototype.get = mapCacheGet;\n\tMapCache.prototype.has = mapCacheHas;\n\tMapCache.prototype.set = mapCacheSet;\n\t\n\tmodule.exports = MapCache;\n\n\n/***/ },\n/* 74 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ListCache = __webpack_require__(43),\n\t stackClear = __webpack_require__(363),\n\t stackDelete = __webpack_require__(364),\n\t stackGet = __webpack_require__(365),\n\t stackHas = __webpack_require__(366),\n\t stackSet = __webpack_require__(367);\n\t\n\t/**\n\t * Creates a stack cache object to store key-value pairs.\n\t *\n\t * @private\n\t * @constructor\n\t * @param {Array} [entries] The key-value pairs to cache.\n\t */\n\tfunction Stack(entries) {\n\t var data = this.__data__ = new ListCache(entries);\n\t this.size = data.size;\n\t}\n\t\n\t// Add methods to `Stack`.\n\tStack.prototype.clear = stackClear;\n\tStack.prototype['delete'] = stackDelete;\n\tStack.prototype.get = stackGet;\n\tStack.prototype.has = stackHas;\n\tStack.prototype.set = stackSet;\n\t\n\tmodule.exports = Stack;\n\n\n/***/ },\n/* 75 */\n/***/ function(module, exports) {\n\n\t/**\n\t * A specialized version of `_.filter` for arrays without support for\n\t * iteratee shorthands.\n\t *\n\t * @private\n\t * @param {Array} [array] The array to iterate over.\n\t * @param {Function} predicate The function invoked per iteration.\n\t * @returns {Array} Returns the new filtered array.\n\t */\n\tfunction arrayFilter(array, predicate) {\n\t var index = -1,\n\t length = array == null ? 0 : array.length,\n\t resIndex = 0,\n\t result = [];\n\t\n\t while (++index < length) {\n\t var value = array[index];\n\t if (predicate(value, index, array)) {\n\t result[resIndex++] = value;\n\t }\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = arrayFilter;\n\n\n/***/ },\n/* 76 */\n/***/ function(module, exports) {\n\n\t/**\n\t * A specialized version of `_.map` for arrays without support for iteratee\n\t * shorthands.\n\t *\n\t * @private\n\t * @param {Array} [array] The array to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array} Returns the new mapped array.\n\t */\n\tfunction arrayMap(array, iteratee) {\n\t var index = -1,\n\t length = array == null ? 0 : array.length,\n\t result = Array(length);\n\t\n\t while (++index < length) {\n\t result[index] = iteratee(array[index], index, array);\n\t }\n\t return result;\n\t}\n\t\n\tmodule.exports = arrayMap;\n\n\n/***/ },\n/* 77 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar defineProperty = __webpack_require__(138);\n\t\n\t/**\n\t * The base implementation of `assignValue` and `assignMergeValue` without\n\t * value checks.\n\t *\n\t * @private\n\t * @param {Object} object The object to modify.\n\t * @param {string} key The key of the property to assign.\n\t * @param {*} value The value to assign.\n\t */\n\tfunction baseAssignValue(object, key, value) {\n\t if (key == '__proto__' && defineProperty) {\n\t defineProperty(object, key, {\n\t 'configurable': true,\n\t 'enumerable': true,\n\t 'value': value,\n\t 'writable': true\n\t });\n\t } else {\n\t object[key] = value;\n\t }\n\t}\n\t\n\tmodule.exports = baseAssignValue;\n\n\n/***/ },\n/* 78 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseForOwn = __webpack_require__(279),\n\t createBaseEach = __webpack_require__(315);\n\t\n\t/**\n\t * The base implementation of `_.forEach` without support for iteratee shorthands.\n\t *\n\t * @private\n\t * @param {Array|Object} collection The collection to iterate over.\n\t * @param {Function} iteratee The function invoked per iteration.\n\t * @returns {Array|Object} Returns `collection`.\n\t */\n\tvar baseEach = createBaseEach(baseForOwn);\n\t\n\tmodule.exports = baseEach;\n\n\n/***/ },\n/* 79 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar castPath = __webpack_require__(80),\n\t toKey = __webpack_require__(31);\n\t\n\t/**\n\t * The base implementation of `_.get` without support for default values.\n\t *\n\t * @private\n\t * @param {Object} object The object to query.\n\t * @param {Array|string} path The path of the property to get.\n\t * @returns {*} Returns the resolved value.\n\t */\n\tfunction baseGet(object, path) {\n\t path = castPath(path, object);\n\t\n\t var index = 0,\n\t length = path.length;\n\t\n\t while (object != null && index < length) {\n\t object = object[toKey(path[index++])];\n\t }\n\t return (index && index == length) ? object : undefined;\n\t}\n\t\n\tmodule.exports = baseGet;\n\n\n/***/ },\n/* 80 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isArray = __webpack_require__(2),\n\t isKey = __webpack_require__(82),\n\t stringToPath = __webpack_require__(370),\n\t toString = __webpack_require__(33);\n\t\n\t/**\n\t * Casts `value` to a path array if it's not one.\n\t *\n\t * @private\n\t * @param {*} value The value to inspect.\n\t * @param {Object} [object] The object to query keys on.\n\t * @returns {Array} Returns the cast property path array.\n\t */\n\tfunction castPath(value, object) {\n\t if (isArray(value)) {\n\t return value;\n\t }\n\t return isKey(value, object) ? [value] : stringToPath(toString(value));\n\t}\n\t\n\tmodule.exports = castPath;\n\n\n/***/ },\n/* 81 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar eq = __webpack_require__(32),\n\t isArrayLike = __webpack_require__(18),\n\t isIndex = __webpack_require__(47),\n\t isObject = __webpack_require__(6);\n\t\n\t/**\n\t * Checks if the given arguments are from an iteratee call.\n\t *\n\t * @private\n\t * @param {*} value The potential iteratee value argument.\n\t * @param {*} index The potential iteratee index or key argument.\n\t * @param {*} object The potential iteratee object argument.\n\t * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n\t * else `false`.\n\t */\n\tfunction isIterateeCall(value, index, object) {\n\t if (!isObject(object)) {\n\t return false;\n\t }\n\t var type = typeof index;\n\t if (type == 'number'\n\t ? (isArrayLike(object) && isIndex(index, object.length))\n\t : (type == 'string' && index in object)\n\t ) {\n\t return eq(object[index], value);\n\t }\n\t return false;\n\t}\n\t\n\tmodule.exports = isIterateeCall;\n\n\n/***/ },\n/* 82 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isArray = __webpack_require__(2),\n\t isSymbol = __webpack_require__(23);\n\t\n\t/** Used to match property names within property paths. */\n\tvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n\t reIsPlainProp = /^\\w*$/;\n\t\n\t/**\n\t * Checks if `value` is a property name and not a property path.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @param {Object} [object] The object to query keys on.\n\t * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n\t */\n\tfunction isKey(value, object) {\n\t if (isArray(value)) {\n\t return false;\n\t }\n\t var type = typeof value;\n\t if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n\t value == null || isSymbol(value)) {\n\t return true;\n\t }\n\t return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n\t (object != null && value in Object(object));\n\t}\n\t\n\tmodule.exports = isKey;\n\n\n/***/ },\n/* 83 */\n/***/ function(module, exports) {\n\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/**\n\t * Checks if `value` is likely a prototype object.\n\t *\n\t * @private\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n\t */\n\tfunction isPrototype(value) {\n\t var Ctor = value && value.constructor,\n\t proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\t\n\t return value === proto;\n\t}\n\t\n\tmodule.exports = isPrototype;\n\n\n/***/ },\n/* 84 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Converts `set` to an array of its values.\n\t *\n\t * @private\n\t * @param {Object} set The set to convert.\n\t * @returns {Array} Returns the values.\n\t */\n\tfunction setToArray(set) {\n\t var index = -1,\n\t result = Array(set.size);\n\t\n\t set.forEach(function(value) {\n\t result[++index] = value;\n\t });\n\t return result;\n\t}\n\t\n\tmodule.exports = setToArray;\n\n\n/***/ },\n/* 85 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__(381);\n\n\n/***/ },\n/* 86 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar createFind = __webpack_require__(319),\n\t findIndex = __webpack_require__(379);\n\t\n\t/**\n\t * Iterates over elements of `collection`, returning the first element\n\t * `predicate` returns truthy for. The predicate is invoked with three\n\t * arguments: (value, index|key, collection).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Collection\n\t * @param {Array|Object} collection The collection to inspect.\n\t * @param {Function} [predicate=_.identity] The function invoked per iteration.\n\t * @param {number} [fromIndex=0] The index to search from.\n\t * @returns {*} Returns the matched element, else `undefined`.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'barney', 'age': 36, 'active': true },\n\t * { 'user': 'fred', 'age': 40, 'active': false },\n\t * { 'user': 'pebbles', 'age': 1, 'active': true }\n\t * ];\n\t *\n\t * _.find(users, function(o) { return o.age < 40; });\n\t * // => object for 'barney'\n\t *\n\t * // The `_.matches` iteratee shorthand.\n\t * _.find(users, { 'age': 1, 'active': true });\n\t * // => object for 'pebbles'\n\t *\n\t * // The `_.matchesProperty` iteratee shorthand.\n\t * _.find(users, ['active', false]);\n\t * // => object for 'fred'\n\t *\n\t * // The `_.property` iteratee shorthand.\n\t * _.find(users, 'active');\n\t * // => object for 'barney'\n\t */\n\tvar find = createFind(findIndex);\n\t\n\tmodule.exports = find;\n\n\n/***/ },\n/* 87 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(5),\n\t stubFalse = __webpack_require__(397);\n\t\n\t/** Detect free variable `exports`. */\n\tvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\t\n\t/** Detect free variable `module`. */\n\tvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\t\n\t/** Detect the popular CommonJS extension `module.exports`. */\n\tvar moduleExports = freeModule && freeModule.exports === freeExports;\n\t\n\t/** Built-in value references. */\n\tvar Buffer = moduleExports ? root.Buffer : undefined;\n\t\n\t/* Built-in method references for those with the same name as other `lodash` methods. */\n\tvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\t\n\t/**\n\t * Checks if `value` is a buffer.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.3.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n\t * @example\n\t *\n\t * _.isBuffer(new Buffer(2));\n\t * // => true\n\t *\n\t * _.isBuffer(new Uint8Array(2));\n\t * // => false\n\t */\n\tvar isBuffer = nativeIsBuffer || stubFalse;\n\t\n\tmodule.exports = isBuffer;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(97)(module)))\n\n/***/ },\n/* 88 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseGetTag = __webpack_require__(21),\n\t isObject = __webpack_require__(6);\n\t\n\t/** `Object#toString` result references. */\n\tvar asyncTag = '[object AsyncFunction]',\n\t funcTag = '[object Function]',\n\t genTag = '[object GeneratorFunction]',\n\t proxyTag = '[object Proxy]';\n\t\n\t/**\n\t * Checks if `value` is classified as a `Function` object.\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 a function, else `false`.\n\t * @example\n\t *\n\t * _.isFunction(_);\n\t * // => true\n\t *\n\t * _.isFunction(/abc/);\n\t * // => false\n\t */\n\tfunction isFunction(value) {\n\t if (!isObject(value)) {\n\t return false;\n\t }\n\t // The use of `Object#toString` avoids issues with the `typeof` operator\n\t // in Safari 9 which returns 'object' for typed arrays and other constructors.\n\t var tag = baseGetTag(value);\n\t return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n\t}\n\t\n\tmodule.exports = isFunction;\n\n\n/***/ },\n/* 89 */\n/***/ function(module, exports) {\n\n\t/** Used as references for various `Number` constants. */\n\tvar MAX_SAFE_INTEGER = 9007199254740991;\n\t\n\t/**\n\t * Checks if `value` is a valid array-like length.\n\t *\n\t * **Note:** This method is loosely based on\n\t * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n\t * @example\n\t *\n\t * _.isLength(3);\n\t * // => true\n\t *\n\t * _.isLength(Number.MIN_VALUE);\n\t * // => false\n\t *\n\t * _.isLength(Infinity);\n\t * // => false\n\t *\n\t * _.isLength('3');\n\t * // => false\n\t */\n\tfunction isLength(value) {\n\t return typeof value == 'number' &&\n\t value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n\t}\n\t\n\tmodule.exports = isLength;\n\n\n/***/ },\n/* 90 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseIsTypedArray = __webpack_require__(288),\n\t baseUnary = __webpack_require__(135),\n\t nodeUtil = __webpack_require__(355);\n\t\n\t/* Node.js helper references. */\n\tvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\t\n\t/**\n\t * Checks if `value` is classified as a typed array.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 3.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n\t * @example\n\t *\n\t * _.isTypedArray(new Uint8Array);\n\t * // => true\n\t *\n\t * _.isTypedArray([]);\n\t * // => false\n\t */\n\tvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\t\n\tmodule.exports = isTypedArray;\n\n\n/***/ },\n/* 91 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar arrayMap = __webpack_require__(76),\n\t baseIteratee = __webpack_require__(10),\n\t baseMap = __webpack_require__(132),\n\t isArray = __webpack_require__(2);\n\t\n\t/**\n\t * Creates an array of values by running each element in `collection` thru\n\t * `iteratee`. The iteratee is invoked with three arguments:\n\t * (value, index|key, collection).\n\t *\n\t * Many lodash methods are guarded to work as iteratees for methods like\n\t * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n\t *\n\t * The guarded methods are:\n\t * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n\t * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n\t * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n\t * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Collection\n\t * @param {Array|Object} collection The collection to iterate over.\n\t * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n\t * @returns {Array} Returns the new mapped array.\n\t * @example\n\t *\n\t * function square(n) {\n\t * return n * n;\n\t * }\n\t *\n\t * _.map([4, 8], square);\n\t * // => [16, 64]\n\t *\n\t * _.map({ 'a': 4, 'b': 8 }, square);\n\t * // => [16, 64] (iteration order is not guaranteed)\n\t *\n\t * var users = [\n\t * { 'user': 'barney' },\n\t * { 'user': 'fred' }\n\t * ];\n\t *\n\t * // The `_.property` iteratee shorthand.\n\t * _.map(users, 'user');\n\t * // => ['barney', 'fred']\n\t */\n\tfunction map(collection, iteratee) {\n\t var func = isArray(collection) ? arrayMap : baseMap;\n\t return func(collection, baseIteratee(iteratee, 3));\n\t}\n\t\n\tmodule.exports = map;\n\n\n/***/ },\n/* 92 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseMerge = __webpack_require__(293),\n\t createAssigner = __webpack_require__(314);\n\t\n\t/**\n\t * This method is like `_.assign` except that it recursively merges own and\n\t * inherited enumerable string keyed properties of source objects into the\n\t * destination object. Source properties that resolve to `undefined` are\n\t * skipped if a destination value exists. Array and plain object properties\n\t * are merged recursively. Other objects and value types are overridden by\n\t * assignment. Source objects are applied from left to right. Subsequent\n\t * sources overwrite property assignments of previous sources.\n\t *\n\t * **Note:** This method mutates `object`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.5.0\n\t * @category Object\n\t * @param {Object} object The destination object.\n\t * @param {...Object} [sources] The source objects.\n\t * @returns {Object} Returns `object`.\n\t * @example\n\t *\n\t * var object = {\n\t * 'a': [{ 'b': 2 }, { 'd': 4 }]\n\t * };\n\t *\n\t * var other = {\n\t * 'a': [{ 'c': 3 }, { 'e': 5 }]\n\t * };\n\t *\n\t * _.merge(object, other);\n\t * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n\t */\n\tvar merge = createAssigner(function(object, source, srcIndex) {\n\t baseMerge(object, source, srcIndex);\n\t});\n\t\n\tmodule.exports = merge;\n\n\n/***/ },\n/* 93 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar baseFlatten = __webpack_require__(128),\n\t baseOrderBy = __webpack_require__(295),\n\t baseRest = __webpack_require__(133),\n\t isIterateeCall = __webpack_require__(81);\n\t\n\t/**\n\t * Creates an array of elements, sorted in ascending order by the results of\n\t * running each element in a collection thru each iteratee. This method\n\t * performs a stable sort, that is, it preserves the original sort order of\n\t * equal elements. The iteratees are invoked with one argument: (value).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Collection\n\t * @param {Array|Object} collection The collection to iterate over.\n\t * @param {...(Function|Function[])} [iteratees=[_.identity]]\n\t * The iteratees to sort by.\n\t * @returns {Array} Returns the new sorted array.\n\t * @example\n\t *\n\t * var users = [\n\t * { 'user': 'fred', 'age': 48 },\n\t * { 'user': 'barney', 'age': 36 },\n\t * { 'user': 'fred', 'age': 40 },\n\t * { 'user': 'barney', 'age': 34 }\n\t * ];\n\t *\n\t * _.sortBy(users, [function(o) { return o.user; }]);\n\t * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n\t *\n\t * _.sortBy(users, ['user', 'age']);\n\t * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]\n\t */\n\tvar sortBy = baseRest(function(collection, iteratees) {\n\t if (collection == null) {\n\t return [];\n\t }\n\t var length = iteratees.length;\n\t if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n\t iteratees = [];\n\t } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n\t iteratees = [iteratees[0]];\n\t }\n\t return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n\t});\n\t\n\tmodule.exports = sortBy;\n\n\n/***/ },\n/* 94 */,\n/* 95 */,\n/* 96 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/*!\n\t * Vue.js v2.1.10\n\t * (c) 2014-2017 Evan You\n\t * Released under the MIT License.\n\t */\n\t'use strict';\n\t\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 a 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 * Remove an item from an array\n\t */\n\tfunction remove$1 (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 the 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 * Check if value is primitive\n\t */\n\tfunction isPrimitive (value) {\n\t return typeof value === 'string' || typeof value === 'number'\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 = /([^-])([A-Z])/g;\n\tvar hyphenate = cached(function (str) {\n\t return str\n\t .replace(hyphenateRE, '$1-$2')\n\t .replace(hyphenateRE, '$1-$2')\n\t .toLowerCase()\n\t});\n\t\n\t/**\n\t * Simple bind, faster than native\n\t */\n\tfunction bind$1 (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 // record original fn length\n\t boundFn._length = fn.length;\n\t return boundFn\n\t}\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 * 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 * Strict object type check. Only returns true\n\t * for plain JavaScript objects.\n\t */\n\tvar toString = Object.prototype.toString;\n\tvar OBJECT_STRING = '[object Object]';\n\tfunction isPlainObject (obj) {\n\t return toString.call(obj) === OBJECT_STRING\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/**\n\t * Perform no operation.\n\t */\n\tfunction noop () {}\n\t\n\t/**\n\t * Always return false.\n\t */\n\tvar no = function () { return false; };\n\t\n\t/**\n\t * Return same value\n\t */\n\tvar identity = function (_) { return _; };\n\t\n\t/**\n\t * Generate a static keys string from compiler modules.\n\t */\n\tfunction genStaticKeys (modules) {\n\t return modules.reduce(function (keys, m) {\n\t return keys.concat(m.staticKeys || [])\n\t }, []).join(',')\n\t}\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 var isObjectA = isObject(a);\n\t var isObjectB = isObject(b);\n\t if (isObjectA && isObjectB) {\n\t return JSON.stringify(a) === JSON.stringify(b)\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\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\n\tvar config = {\n\t /**\n\t * Option merge strategies (used in core/util/options)\n\t */\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 * Whether to enable devtools\n\t */\n\t devtools: (\"production\") !== 'production',\n\t\n\t /**\n\t * Error handler for watcher errors\n\t */\n\t errorHandler: 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 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 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 * List of asset types that a component can own.\n\t */\n\t _assetTypes: [\n\t 'component',\n\t 'directive',\n\t 'filter'\n\t ],\n\t\n\t /**\n\t * List of lifecycle hooks.\n\t */\n\t _lifecycleHooks: [\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 ],\n\t\n\t /**\n\t * Max circular updates allowed in a scheduler flush cycle.\n\t */\n\t _maxUpdateCount: 100\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 } else {\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/* globals MutationObserver */\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 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;\n\tvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\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 && typeof global !== 'undefined') {\n\t // detect presence of vue-server-renderer and avoid\n\t // Webpack shimming the process\n\t _isServer = 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 /native code/.test(Ctor.toString())\n\t}\n\t\n\t/**\n\t * Defer a task to execute it asynchronously.\n\t */\n\tvar nextTick = (function () {\n\t var callbacks = [];\n\t var pending = false;\n\t var timerFunc;\n\t\n\t function nextTickHandler () {\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 // the nextTick behavior leverages the microtask queue, which can be accessed\n\t // via either native Promise.then or MutationObserver.\n\t // MutationObserver has wider support, however it is seriously bugged in\n\t // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\n\t // completely stops working after triggering a few times... so, if native\n\t // Promise is available, we will use it:\n\t /* istanbul ignore if */\n\t if (typeof Promise !== 'undefined' && isNative(Promise)) {\n\t var p = Promise.resolve();\n\t var logError = function (err) { console.error(err); };\n\t timerFunc = function () {\n\t p.then(nextTickHandler).catch(logError);\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 if (typeof MutationObserver !== 'undefined' && (\n\t isNative(MutationObserver) ||\n\t // PhantomJS and iOS 7.x\n\t MutationObserver.toString() === '[object MutationObserverConstructor]'\n\t )) {\n\t // use MutationObserver where native Promise is not available,\n\t // e.g. PhantomJS IE11, iOS7, Android 4.4\n\t var counter = 1;\n\t var observer = new MutationObserver(nextTickHandler);\n\t var textNode = document.createTextNode(String(counter));\n\t observer.observe(textNode, {\n\t characterData: true\n\t });\n\t timerFunc = function () {\n\t counter = (counter + 1) % 2;\n\t textNode.data = String(counter);\n\t };\n\t } else {\n\t // fallback to setTimeout\n\t /* istanbul ignore next */\n\t timerFunc = function () {\n\t setTimeout(nextTickHandler, 0);\n\t };\n\t }\n\t\n\t return function queueNextTick (cb, ctx) {\n\t var _resolve;\n\t callbacks.push(function () {\n\t if (cb) { cb.call(ctx); }\n\t if (_resolve) { _resolve(ctx); }\n\t });\n\t if (!pending) {\n\t pending = true;\n\t timerFunc();\n\t }\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\tvar _Set;\n\t/* istanbul ignore if */\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 = (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\tvar warn = noop;\n\tvar formatComponentName;\n\t\n\tif (false) {\n\t var hasConsole = typeof console !== 'undefined';\n\t\n\t warn = function (msg, vm) {\n\t if (hasConsole && (!config.silent)) {\n\t console.error(\"[Vue warn]: \" + msg + \" \" + (\n\t vm ? formatLocation(formatComponentName(vm)) : ''\n\t ));\n\t }\n\t };\n\t\n\t formatComponentName = function (vm) {\n\t if (vm.$root === vm) {\n\t return 'root instance'\n\t }\n\t var name = vm._isVue\n\t ? vm.$options.name || vm.$options._componentTag\n\t : vm.name;\n\t return (\n\t (name ? (\"component <\" + name + \">\") : \"anonymous component\") +\n\t (vm._isVue && vm.$options.__file ? (\" at \" + (vm.$options.__file)) : '')\n\t )\n\t };\n\t\n\t var formatLocation = function (str) {\n\t if (str === 'anonymous component') {\n\t str += \" - use the \\\"name\\\" option for better debugging messages.\";\n\t }\n\t return (\"\\n(found in \" + str + \")\")\n\t };\n\t}\n\t\n\t/* */\n\t\n\t\n\tvar uid$1 = 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$1++;\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$1(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 // stablize the subscriber list first\n\t var subs = this.subs.slice();\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 if (Dep.target) { targetStack.push(Dep.target); }\n\t Dep.target = _target;\n\t}\n\t\n\tfunction popTarget () {\n\t Dep.target = targetStack.pop();\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 'push',\n\t 'pop',\n\t 'shift',\n\t 'unshift',\n\t 'splice',\n\t 'sort',\n\t 'reverse'\n\t]\n\t.forEach(function (method) {\n\t // cache original method\n\t var original = arrayProto[method];\n\t def(arrayMethods, method, function mutator () {\n\t var arguments$1 = arguments;\n\t\n\t // avoid leaking arguments:\n\t // http://jsperf.com/closure-with-arguments\n\t var i = arguments.length;\n\t var args = new Array(i);\n\t while (i--) {\n\t args[i] = arguments$1[i];\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 inserted = args;\n\t break\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 * By default, when a reactive property is set, the new value is\n\t * also converted to become reactive. However when passing down props,\n\t * we don't want to force conversion because the value may be a nested value\n\t * under a frozen data structure. Converting it would defeat the optimization.\n\t */\n\tvar observerState = {\n\t shouldConvert: true,\n\t isSettingProps: false\n\t};\n\t\n\t/**\n\t * Observer class that are attached to each observed\n\t * object. Once attached, the observer converts target\n\t * object's property keys into getter/setters that\n\t * collect dependencies and dispatches 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 var augment = hasProto\n\t ? protoAugment\n\t : copyAugment;\n\t augment(value, arrayMethods, arrayKeys);\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 each property 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], 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 an 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 an 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)) {\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 observerState.shouldConvert &&\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) {\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\n\t var childOb = 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 }\n\t if (Array.isArray(value)) {\n\t dependArray(value);\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 if (setter) {\n\t setter.call(obj, newVal);\n\t } else {\n\t val = newVal;\n\t }\n\t childOb = 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$1 (obj, key, val) {\n\t if (Array.isArray(obj)) {\n\t obj.length = Math.max(obj.length, key);\n\t obj.splice(key, 1, val);\n\t return val\n\t }\n\t if (hasOwn(obj, key)) {\n\t obj[key] = val;\n\t return\n\t }\n\t var ob = obj.__ob__;\n\t if (obj._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\n\t }\n\t if (!ob) {\n\t obj[key] = val;\n\t return\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 (obj, key) {\n\t var ob = obj.__ob__;\n\t if (obj._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(obj, key)) {\n\t return\n\t }\n\t delete obj[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$1(to, key, fromVal);\n\t } else if (isPlainObject(toVal) && isPlainObject(fromVal)) {\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\tstrats.data = function (\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 (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 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 childVal.call(this),\n\t parentVal.call(this)\n\t )\n\t }\n\t } else if (parentVal || childVal) {\n\t return function mergedInstanceDataFn () {\n\t // instance merge\n\t var instanceData = typeof childVal === 'function'\n\t ? childVal.call(vm)\n\t : childVal;\n\t var defaultData = typeof parentVal === 'function'\n\t ? parentVal.call(vm)\n\t : undefined;\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\t/**\n\t * Hooks and param attributes 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\tconfig._lifecycleHooks.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 (parentVal, childVal) {\n\t var res = Object.create(parentVal || null);\n\t return childVal\n\t ? extend(res, childVal)\n\t : res\n\t}\n\t\n\tconfig._assetTypes.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 (parentVal, childVal) {\n\t /* istanbul ignore if */\n\t if (!childVal) { return parentVal }\n\t if (!parentVal) { return childVal }\n\t var ret = {};\n\t extend(ret, parentVal);\n\t for (var key in childVal) {\n\t var parent = ret[key];\n\t var child = childVal[key];\n\t if (parent && !Array.isArray(parent)) {\n\t parent = [parent];\n\t }\n\t ret[key] = parent\n\t ? parent.concat(child)\n\t : [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.computed = function (parentVal, childVal) {\n\t if (!childVal) { return parentVal }\n\t if (!parentVal) { return childVal }\n\t var ret = Object.create(null);\n\t extend(ret, parentVal);\n\t extend(ret, childVal);\n\t return ret\n\t};\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 var lower = key.toLowerCase();\n\t if (isBuiltInTag(lower) || config.isReservedTag(lower)) {\n\t warn(\n\t 'Do not use built-in or reserved HTML elements as component ' +\n\t 'id: ' + key\n\t );\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) {\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 }\n\t options.props = res;\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\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 normalizeProps(child);\n\t normalizeDirectives(child);\n\t var extendsFrom = child.extends;\n\t if (extendsFrom) {\n\t parent = typeof extendsFrom === 'function'\n\t ? mergeOptions(parent, extendsFrom.options, vm)\n\t : mergeOptions(parent, extendsFrom, vm);\n\t }\n\t if (child.mixins) {\n\t for (var i = 0, l = child.mixins.length; i < l; i++) {\n\t var mixin = child.mixins[i];\n\t if (mixin.prototype instanceof Vue$2) {\n\t mixin = mixin.options;\n\t }\n\t parent = mergeOptions(parent, mixin, vm);\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\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 // handle boolean props\n\t if (isType(Boolean, prop.type)) {\n\t if (absent && !hasOwn(prop, 'default')) {\n\t value = false;\n\t } else if (!isType(String, prop.type) && (value === '' || value === hyphenate(key))) {\n\t value = true;\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 prevShouldConvert = observerState.shouldConvert;\n\t observerState.shouldConvert = true;\n\t observe(value);\n\t observerState.shouldConvert = prevShouldConvert;\n\t }\n\t if (false) {\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 (isObject(def)) {\n\t (\"production\") !== 'production' && 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[key] !== undefined) {\n\t return vm[key]\n\t }\n\t // call factory function for non-Function types\n\t return typeof def === 'function' && 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 if (!valid) {\n\t warn(\n\t 'Invalid prop: type check failed for prop \"' + name + '\".' +\n\t ' Expected ' + expectedTypes.map(capitalize).join(', ') +\n\t ', got ' + Object.prototype.toString.call(value).slice(8, -1) + '.',\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\t/**\n\t * Assert the type of a value\n\t */\n\tfunction assertType (value, type) {\n\t var valid;\n\t var expectedType = getType(type);\n\t if (expectedType === 'String') {\n\t valid = typeof value === (expectedType = 'string');\n\t } else if (expectedType === 'Number') {\n\t valid = typeof value === (expectedType = 'number');\n\t } else if (expectedType === 'Boolean') {\n\t valid = typeof value === (expectedType = 'boolean');\n\t } else if (expectedType === 'Function') {\n\t valid = typeof value === (expectedType = 'function');\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 isType (type, fn) {\n\t if (!Array.isArray(fn)) {\n\t return getType(fn) === getType(type)\n\t }\n\t for (var i = 0, len = fn.length; i < len; i++) {\n\t if (getType(fn[i]) === getType(type)) {\n\t return true\n\t }\n\t }\n\t /* istanbul ignore next */\n\t return false\n\t}\n\t\n\t\n\t\n\tvar util = Object.freeze({\n\t\tdefineReactive: defineReactive$$1,\n\t\t_toString: _toString,\n\t\ttoNumber: toNumber,\n\t\tmakeMap: makeMap,\n\t\tisBuiltInTag: isBuiltInTag,\n\t\tremove: remove$1,\n\t\thasOwn: hasOwn,\n\t\tisPrimitive: isPrimitive,\n\t\tcached: cached,\n\t\tcamelize: camelize,\n\t\tcapitalize: capitalize,\n\t\thyphenate: hyphenate,\n\t\tbind: bind$1,\n\t\ttoArray: toArray,\n\t\textend: extend,\n\t\tisObject: isObject,\n\t\tisPlainObject: isPlainObject,\n\t\ttoObject: toObject,\n\t\tnoop: noop,\n\t\tno: no,\n\t\tidentity: identity,\n\t\tgenStaticKeys: genStaticKeys,\n\t\tlooseEqual: looseEqual,\n\t\tlooseIndexOf: looseIndexOf,\n\t\tisReserved: isReserved,\n\t\tdef: def,\n\t\tparsePath: parsePath,\n\t\thasProto: hasProto,\n\t\tinBrowser: inBrowser,\n\t\tUA: UA,\n\t\tisIE: isIE,\n\t\tisIE9: isIE9,\n\t\tisEdge: isEdge,\n\t\tisAndroid: isAndroid,\n\t\tisIOS: isIOS,\n\t\tisServerRendering: isServerRendering,\n\t\tdevtools: devtools,\n\t\tnextTick: nextTick,\n\t\tget _Set () { return _Set; },\n\t\tmergeOptions: mergeOptions,\n\t\tresolveAsset: resolveAsset,\n\t\tget warn () { return warn; },\n\t\tget formatComponentName () { return formatComponentName; },\n\t\tvalidateProp: validateProp\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 to declare reactive data \" +\n\t \"properties in the data option.\",\n\t target\n\t );\n\t };\n\t\n\t var hasProxy =\n\t typeof Proxy !== 'undefined' &&\n\t Proxy.toString().match(/native code/);\n\t\n\t if (hasProxy) {\n\t var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta');\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) || key.charAt(0) === '_';\n\t if (!has && !isAllowed) {\n\t 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 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 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) {\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.functionalContext = 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};\n\t\n\tvar prototypeAccessors = { child: {} };\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 () {\n\t var node = new VNode();\n\t node.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 vnode.children,\n\t vnode.text,\n\t vnode.elm,\n\t vnode.context,\n\t vnode.componentOptions\n\t );\n\t cloned.ns = vnode.ns;\n\t cloned.isStatic = vnode.isStatic;\n\t cloned.key = vnode.key;\n\t cloned.isCloned = true;\n\t return cloned\n\t}\n\t\n\tfunction cloneVNodes (vnodes) {\n\t var res = new Array(vnodes.length);\n\t for (var i = 0; i < vnodes.length; i++) {\n\t res[i] = cloneVNode(vnodes[i]);\n\t }\n\t return res\n\t}\n\t\n\t/* */\n\t\n\tvar hooks = { init: init, prepatch: prepatch, insert: insert, destroy: destroy$1 };\n\tvar hooksToMerge = Object.keys(hooks);\n\t\n\tfunction createComponent (\n\t Ctor,\n\t data,\n\t context,\n\t children,\n\t tag\n\t) {\n\t if (!Ctor) {\n\t return\n\t }\n\t\n\t var baseCtor = context.$options._base;\n\t if (isObject(Ctor)) {\n\t Ctor = baseCtor.extend(Ctor);\n\t }\n\t\n\t if (typeof Ctor !== 'function') {\n\t if (false) {\n\t warn((\"Invalid Component definition: \" + (String(Ctor))), context);\n\t }\n\t return\n\t }\n\t\n\t // async component\n\t if (!Ctor.cid) {\n\t if (Ctor.resolved) {\n\t Ctor = Ctor.resolved;\n\t } else {\n\t Ctor = resolveAsyncComponent(Ctor, baseCtor, function () {\n\t // it's ok to queue this on every render because\n\t // $forceUpdate is buffered by the scheduler.\n\t context.$forceUpdate();\n\t });\n\t if (!Ctor) {\n\t // return nothing if this is indeed an async component\n\t // wait for the callback to trigger parent update.\n\t return\n\t }\n\t }\n\t }\n\t\n\t // resolve constructor options in case global mixins are applied after\n\t // component constructor creation\n\t resolveConstructorOptions(Ctor);\n\t\n\t data = data || {};\n\t\n\t // extract props\n\t var propsData = extractProps(data, Ctor);\n\t\n\t // functional component\n\t if (Ctor.options.functional) {\n\t return createFunctionalComponent(Ctor, propsData, data, context, children)\n\t }\n\t\n\t // extract listeners, since these needs to be treated as\n\t // child component listeners instead of DOM listeners\n\t var listeners = data.on;\n\t // replace with listeners with .native modifier\n\t data.on = data.nativeOn;\n\t\n\t if (Ctor.options.abstract) {\n\t // abstract components do not keep anything\n\t // other than props & listeners\n\t data = {};\n\t }\n\t\n\t // merge component management hooks onto the placeholder node\n\t mergeHooks(data);\n\t\n\t // return a placeholder vnode\n\t var name = Ctor.options.name || tag;\n\t var vnode = new VNode(\n\t (\"vue-component-\" + (Ctor.cid) + (name ? (\"-\" + name) : '')),\n\t data, undefined, undefined, undefined, context,\n\t { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children }\n\t );\n\t return vnode\n\t}\n\t\n\tfunction createFunctionalComponent (\n\t Ctor,\n\t propsData,\n\t data,\n\t context,\n\t children\n\t) {\n\t var props = {};\n\t var propOptions = Ctor.options.props;\n\t if (propOptions) {\n\t for (var key in propOptions) {\n\t props[key] = validateProp(key, propOptions, propsData);\n\t }\n\t }\n\t // ensure the createElement function in functional components\n\t // gets a unique context - this is necessary for correct named slot check\n\t var _context = Object.create(context);\n\t var h = function (a, b, c, d) { return createElement(_context, a, b, c, d, true); };\n\t var vnode = Ctor.options.render.call(null, h, {\n\t props: props,\n\t data: data,\n\t parent: context,\n\t children: children,\n\t slots: function () { return resolveSlots(children, context); }\n\t });\n\t if (vnode instanceof VNode) {\n\t vnode.functionalContext = context;\n\t if (data.slot) {\n\t (vnode.data || (vnode.data = {})).slot = data.slot;\n\t }\n\t }\n\t return vnode\n\t}\n\t\n\tfunction createComponentInstanceForVnode (\n\t vnode, // we know it's MountedComponentVNode but flow doesn't\n\t parent, // activeInstance in lifecycle state\n\t parentElm,\n\t refElm\n\t) {\n\t var vnodeComponentOptions = vnode.componentOptions;\n\t var options = {\n\t _isComponent: true,\n\t parent: parent,\n\t propsData: vnodeComponentOptions.propsData,\n\t _componentTag: vnodeComponentOptions.tag,\n\t _parentVnode: vnode,\n\t _parentListeners: vnodeComponentOptions.listeners,\n\t _renderChildren: vnodeComponentOptions.children,\n\t _parentElm: parentElm || null,\n\t _refElm: refElm || null\n\t };\n\t // check inline-template render functions\n\t var inlineTemplate = vnode.data.inlineTemplate;\n\t if (inlineTemplate) {\n\t options.render = inlineTemplate.render;\n\t options.staticRenderFns = inlineTemplate.staticRenderFns;\n\t }\n\t return new vnodeComponentOptions.Ctor(options)\n\t}\n\t\n\tfunction init (\n\t vnode,\n\t hydrating,\n\t parentElm,\n\t refElm\n\t) {\n\t if (!vnode.componentInstance || vnode.componentInstance._isDestroyed) {\n\t var child = vnode.componentInstance = createComponentInstanceForVnode(\n\t vnode,\n\t activeInstance,\n\t parentElm,\n\t refElm\n\t );\n\t child.$mount(hydrating ? vnode.elm : undefined, hydrating);\n\t } else if (vnode.data.keepAlive) {\n\t // kept-alive components, treat as a patch\n\t var mountedNode = vnode; // work around flow\n\t prepatch(mountedNode, mountedNode);\n\t }\n\t}\n\t\n\tfunction prepatch (\n\t oldVnode,\n\t vnode\n\t) {\n\t var options = vnode.componentOptions;\n\t var child = vnode.componentInstance = oldVnode.componentInstance;\n\t child._updateFromParent(\n\t options.propsData, // updated props\n\t options.listeners, // updated listeners\n\t vnode, // new parent vnode\n\t options.children // new children\n\t );\n\t}\n\t\n\tfunction insert (vnode) {\n\t if (!vnode.componentInstance._isMounted) {\n\t vnode.componentInstance._isMounted = true;\n\t callHook(vnode.componentInstance, 'mounted');\n\t }\n\t if (vnode.data.keepAlive) {\n\t vnode.componentInstance._inactive = false;\n\t callHook(vnode.componentInstance, 'activated');\n\t }\n\t}\n\t\n\tfunction destroy$1 (vnode) {\n\t if (!vnode.componentInstance._isDestroyed) {\n\t if (!vnode.data.keepAlive) {\n\t vnode.componentInstance.$destroy();\n\t } else {\n\t vnode.componentInstance._inactive = true;\n\t callHook(vnode.componentInstance, 'deactivated');\n\t }\n\t }\n\t}\n\t\n\tfunction resolveAsyncComponent (\n\t factory,\n\t baseCtor,\n\t cb\n\t) {\n\t if (factory.requested) {\n\t // pool callbacks\n\t factory.pendingCallbacks.push(cb);\n\t } else {\n\t factory.requested = true;\n\t var cbs = factory.pendingCallbacks = [cb];\n\t var sync = true;\n\t\n\t var resolve = function (res) {\n\t if (isObject(res)) {\n\t res = baseCtor.extend(res);\n\t }\n\t // cache resolved\n\t factory.resolved = res;\n\t // invoke callbacks only if this is not a synchronous resolve\n\t // (async resolves are shimmed as synchronous during SSR)\n\t if (!sync) {\n\t for (var i = 0, l = cbs.length; i < l; i++) {\n\t cbs[i](res);\n\t }\n\t }\n\t };\n\t\n\t var reject = function (reason) {\n\t (\"production\") !== 'production' && warn(\n\t \"Failed to resolve async component: \" + (String(factory)) +\n\t (reason ? (\"\\nReason: \" + reason) : '')\n\t );\n\t };\n\t\n\t var res = factory(resolve, reject);\n\t\n\t // handle promise\n\t if (res && typeof res.then === 'function' && !factory.resolved) {\n\t res.then(resolve, reject);\n\t }\n\t\n\t sync = false;\n\t // return in case resolved synchronously\n\t return factory.resolved\n\t }\n\t}\n\t\n\tfunction extractProps (data, Ctor) {\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 (!propOptions) {\n\t return\n\t }\n\t var res = {};\n\t var attrs = data.attrs;\n\t var props = data.props;\n\t var domProps = data.domProps;\n\t if (attrs || props || domProps) {\n\t for (var key in propOptions) {\n\t var altKey = hyphenate(key);\n\t checkProp(res, props, key, altKey, true) ||\n\t checkProp(res, attrs, key, altKey) ||\n\t checkProp(res, domProps, key, altKey);\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 (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\tfunction mergeHooks (data) {\n\t if (!data.hook) {\n\t data.hook = {};\n\t }\n\t for (var i = 0; i < hooksToMerge.length; i++) {\n\t var key = hooksToMerge[i];\n\t var fromParent = data.hook[key];\n\t var ours = hooks[key];\n\t data.hook[key] = fromParent ? mergeHook$1(ours, fromParent) : ours;\n\t }\n\t}\n\t\n\tfunction mergeHook$1 (one, two) {\n\t return function (a, b, c, d) {\n\t one(a, b, c, d);\n\t two(a, b, c, d);\n\t }\n\t}\n\t\n\t/* */\n\t\n\tfunction mergeVNodeHook (def, hookKey, hook, key) {\n\t key = key + hookKey;\n\t var injectedHash = def.__injected || (def.__injected = {});\n\t if (!injectedHash[key]) {\n\t injectedHash[key] = true;\n\t var oldHook = def[hookKey];\n\t if (oldHook) {\n\t def[hookKey] = function () {\n\t oldHook.apply(this, arguments);\n\t hook.apply(this, arguments);\n\t };\n\t } else {\n\t def[hookKey] = hook;\n\t }\n\t }\n\t}\n\t\n\t/* */\n\t\n\tvar normalizeEvent = cached(function (name) {\n\t var once = name.charAt(0) === '~'; // Prefixed last, checked first\n\t name = once ? 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,\n\t capture: capture\n\t }\n\t});\n\t\n\tfunction createEventHandle (fn) {\n\t var handle = {\n\t fn: fn,\n\t invoker: function () {\n\t var arguments$1 = arguments;\n\t\n\t var fn = handle.fn;\n\t if (Array.isArray(fn)) {\n\t for (var i = 0; i < fn.length; i++) {\n\t fn[i].apply(null, arguments$1);\n\t }\n\t } else {\n\t fn.apply(null, arguments);\n\t }\n\t }\n\t };\n\t return handle\n\t}\n\t\n\tfunction updateListeners (\n\t on,\n\t oldOn,\n\t add,\n\t remove$$1,\n\t vm\n\t) {\n\t var name, cur, old, event;\n\t for (name in on) {\n\t cur = on[name];\n\t old = oldOn[name];\n\t event = normalizeEvent(name);\n\t if (!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 (!old) {\n\t if (!cur.invoker) {\n\t cur = on[name] = createEventHandle(cur);\n\t }\n\t add(event.name, cur.invoker, event.once, event.capture);\n\t } else if (cur !== old) {\n\t old.fn = cur;\n\t on[name] = old;\n\t }\n\t }\n\t for (name in oldOn) {\n\t if (!on[name]) {\n\t event = normalizeEvent(name);\n\t remove$$1(event.name, oldOn[name].invoker, event.capture);\n\t }\n\t }\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// nomralization 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 constrcuts that always generated nested Arrays,\n\t// e.g.