diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex index d22421d37..3aabf8157 100644 --- a/lib/pleroma/upload.ex +++ b/lib/pleroma/upload.ex @@ -18,6 +18,31 @@ def store(%Plug.Upload{} = file) do } end + def store(%{"img" => "data:image/" <> image_data}) do + parsed = Regex.named_captures(~r/(?jpeg|png|gif);base64,(?.*)/, image_data) + data = Base.decode64!(parsed["data"]) + uuid = Ecto.UUID.generate + upload_folder = Path.join(upload_path(), uuid) + File.mkdir_p!(upload_folder) + filename = Base.encode16(:crypto.hash(:sha256, data)) <> ".#{parsed["filetype"]}" + result_file = Path.join(upload_folder, filename) + + File.write!(result_file, data) + + content_type = "image/#{parsed["filetype"]}" + + %{ + "type" => "Image", + "url" => [%{ + "type" => "Link", + "mediaType" => content_type, + "href" => url_for(Path.join(uuid, filename)) + }], + "name" => filename, + "uuid" => uuid + } + end + defp upload_path do Application.get_env(:pleroma, Pleroma.Upload) |> Keyword.fetch!(:uploads) diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index ed85447fe..fdcc1b7d5 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -13,6 +13,7 @@ defmodule Pleroma.User do field :password_confirmation, :string, virtual: true field :following, { :array, :string }, default: [] field :ap_id, :string + field :avatar, :map timestamps() end diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 0d3360ee1..125473b96 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -167,7 +167,7 @@ def fetch_activities_for_context(context) do Repo.all(query) end - def upload(%Plug.Upload{} = file) do + def upload(file) do data = Upload.store(file) Repo.insert(%Object{data: data}) end diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 2749be5e9..2d7c25b50 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -45,5 +45,6 @@ def user_fetcher(username) do post "/favorites/create", TwitterAPI.Controller, :favorite post "/favorites/destroy/:id", TwitterAPI.Controller, :unfavorite post "/statuses/retweet/:id", TwitterAPI.Controller, :retweet + post "/qvitter/update_avatar", TwitterAPI.Controller, :update_avatar end end diff --git a/lib/pleroma/web/twitter_api/representers/user_representer.ex b/lib/pleroma/web/twitter_api/representers/user_representer.ex index d8f98488e..2ee4ee254 100644 --- a/lib/pleroma/web/twitter_api/representers/user_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/user_representer.ex @@ -4,8 +4,10 @@ defmodule Pleroma.Web.TwitterAPI.Representers.UserRepresenter do alias Pleroma.User def to_map(user, opts) do - - image = "https://placehold.it/48x48" + image = case user.avatar do + %{"url" => [%{"href" => href} | _]} -> href + _ -> "https://placehold.it/48x48" + end following = if opts[:for] do User.following?(opts[:for], user) diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index 56b8e5b3b..b70af3b09 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -3,6 +3,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do alias Pleroma.Web.TwitterAPI.TwitterAPI alias Pleroma.Web.TwitterAPI.Representers.{UserRepresenter, ActivityRepresenter} alias Pleroma.{Repo, Activity} + alias Pleroma.Web.ActivityPub.ActivityPub def verify_credentials(%{assigns: %{user: user}} = conn, _params) do response = user |> UserRepresenter.to_json(%{for: user}) @@ -142,6 +143,18 @@ def register(conn, params) do end end + def update_avatar(%{assigns: %{user: user}} = conn, params) do + {:ok, object} = ActivityPub.upload(params) + change = Ecto.Changeset.change(user, %{avatar: object.data}) + {:ok, user} = Repo.update(change) + + response = UserRepresenter.to_map(user, %{for: user}) + |> Poison.encode! + + conn + |> json_reply(200, response) + end + defp json_reply(conn, status, json) do conn |> put_resp_content_type("application/json") diff --git a/priv/repo/migrations/20170416122418_add_avatar_object_to_users.exs b/priv/repo/migrations/20170416122418_add_avatar_object_to_users.exs new file mode 100644 index 000000000..b6d8742dc --- /dev/null +++ b/priv/repo/migrations/20170416122418_add_avatar_object_to_users.exs @@ -0,0 +1,9 @@ +defmodule Pleroma.Repo.Migrations.AddAvatarObjectToUsers do + use Ecto.Migration + + def change do + alter table(:users) do + add :avatar, :map + end + end +end diff --git a/priv/static/index.html b/priv/static/index.html index c7ba82231..b9e6e29b6 100755 --- 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/js/app.d4e0a640b375c4b52997.js b/priv/static/static/js/app.d4e0a640b375c4b52997.js new file mode 100644 index 000000000..f81b8526a --- /dev/null +++ b/priv/static/static/js/app.d4e0a640b375c4b52997.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),A=n(j),O=s(160),I=n(O),F=s(158),U=n(F),N=s(159),P=n(N),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:A.default,users:I.default,api:U.default,config:P.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/statusnet/media/upload",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="/api/qvitter/update_avatar.json",$=window.fetch,M=function(t,e){var s="",n=s+t;return e.credentials="include",$(n,e)},j=function(t){var e=t.credentials,s=t.params,n=k,a=new FormData;return(0,i.default)(s,function(t,e){t&&a.append(e,t)}),M(n,{headers:O(e),method:"POST",body:a}).then(function(t){return t.json()})},A=function(t){var e=new FormData;return(0,i.default)(t,function(t,s){t&&e.append(s,t)}),M(x,{method:"POST",body:e})},O=function(t){return t&&t.username&&t.password?{Authorization:"Basic "+btoa(t.username+":"+t.password)}:{}},I=function(t){var e=t.id,s=t.credentials,n=C+"?user_id="+e;return M(n,{headers:O(s),method:"POST"}).then(function(t){return t.json()})},F=function(t){var e=t.id,s=t.credentials,n=y+"?user_id="+e;return M(n,{headers:O(s),method:"POST"}).then(function(t){return t.json()})},U=function(t){var e=t.credentials;return M(w,{headers:O(e)}).then(function(t){return t.json()})},N=function(t){var e=t.username,s=t.credentials,n=u+"/"+e+".json";return M(n,{headers:O(s)}).then(function(t){return t.json()})},P=function(t){var e=t.id,s=t.credentials,n=g+"/"+e+".json?count=100";return M(n,{headers:O(s)}).then(function(t){return t.json()})},E=function(t){var e=t.id,s=t.credentials,n=h+"/"+e+".json";return M(n,{headers:O(s)}).then(function(t){return t.json()})},T=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),M(S,{method:"POST",headers:O(s),body:i})},L=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),M(d,{headers:O(s)}).then(function(t){return t.json()})},D=function(t){return M(r,{method:"POST",headers:O(t)})},R=function(t){var e=t.id,s=t.credentials;return M(d+"/"+e+".json",{headers:O(s),method:"POST"})},W=function(t){var e=t.id,s=t.credentials;return M(f+"/"+e+".json",{headers:O(s),method:"POST"})},H=function(t){var e=t.id,s=t.credentials;return M(m+"/"+e+".json",{headers:O(s),method:"POST"})},B=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),M(v,{body:r,method:"POST",headers:O(e)})},q=function(t){var e=t.id,s=t.credentials;return M(p+"/"+e+".json",{headers:O(s),method:"POST"})},V=function(t){var e=t.formData,s=t.credentials;return M(_,{body:e,method:"POST",headers:O(s)}).then(function(t){return t.text()}).then(function(t){return(new DOMParser).parseFromString(t,"application/xml")})},K=function(t){var e=t.credentials,s="/api/qvitter/mutes.json";return M(s,{headers:O(e)}).then(function(t){return t.json()})},z={verifyCredentials:D,fetchTimeline:L,fetchConversation:P,fetchStatus:E,fetchFriends:U,followUser:I,unfollowUser:F,favorite:R,unfavorite:W,retweet:H,postStatus:B,deleteStatus:q,uploadMedia:V,fetchAllFollowing:N,setUserMute:T,fetchMutes:K,register:A,updateAvatar:j};e.default=z},,,,,,,,,,,,,,,,,,,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),A=n(j),O=s(34),I=n(O),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"},P=(e.findMaxId=function(){for(var t=arguments.length,e=Array(t),s=0;s2&&void 0!==arguments[2])||arguments[2],a=P(f,m,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;v!==r&&(P(r.statuses,r.statusesObject,e),r.newStatusCount+=1,E(r)),_({type:"mention",status:e,action:e})}var o=void 0;return i&&n&&(o=P(v.statuses,v.statusesObject,e)),i&&s?P(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,A.default)(f,{uri:e}),i&&((0,A.default)(v.statuses,{uri:e}),(0,A.default)(v.visibleStatuses,{uri:e}))},default:function(t){console.log("unknown status type"),console.log(t)}};(0,C.default)(s,function(t){var e=N(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=function(e){var s=e.params;return i.default.updateAvatar({credentials:t,params:s})},v={fetchStatus:e,fetchConversation:s,fetchFriends:n,followUser:r,unfollowUser:u,fetchAllFollowing:a,verifyCredentials:i.default.verifyCredentials,startFetching:l,setUserMute:c,fetchMutes:d,register:f,updateAvatar:m};return v};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=(0,o.default)(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},computed:{user:function(){return this.$store.state.users.currentUser}},methods:{uploadAvatar:function(t){var e=this,s=t.target,n=s.files[0],a=new FileReader;a.onload=function(t){var s=t.target,n=s.result;e.$store.state.api.backendInteractor.updateAvatar({params:{img:n}}).then(function(t){t.error||(e.$store.commit("addNewUsers",[t]),e.$store.commit("setCurrentUser",t))})},a.readAsDataURL(n)}},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("Avatar")]),t._v(" "),s("img",{attrs:{src:t.user.profile_image_url_original}}),t._v(" "),s("div",[s("input",{attrs:{name:"avatar-upload",id:"avatar-upload",type:"file"},on:{change:t.uploadAvatar}})])]),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.d4e0a640b375c4b52997.js.map \ No newline at end of file diff --git a/priv/static/static/js/app.d4e0a640b375c4b52997.js.map b/priv/static/static/js/app.d4e0a640b375c4b52997.js.map new file mode 100644 index 000000000..3f82a2940 --- /dev/null +++ b/priv/static/static/js/app.d4e0a640b375c4b52997.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///static/js/app.d4e0a640b375c4b52997.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","AVATAR_UPDATE_URL","oldfetch","url","options","baseUrl","fullUrl","credentials","updateAvatar","params","form","FormData","key","append","headers","authHeaders","method","body","data","register","user","username","password","Authorization","btoa","followUser","_ref2","id","unfollowUser","_ref3","fetchFriends","_ref4","fetchAllFollowing","_ref5","fetchConversation","_ref6","fetchStatus","_ref7","setUserMute","_ref8","_ref8$muted","muted","undefined","muteInteger","fetchTimeline","_ref9","timeline","_ref9$since","since","_ref9$until","until","timelineUrls","public","friends","mentions","publicAndExternal","verifyCredentials","favorite","_ref10","unfavorite","_ref11","retweet","_ref12","postStatus","_ref13","status","mediaIds","inReplyToStatusId","idsText","join","deleteStatus","_ref14","uploadMedia","_ref15","formData","response","text","DOMParser","parseFromString","fetchMutes","_ref16","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","_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","uploadAvatar","reader","FileReader","readAsDataURL","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,KDoB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,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,G2Cv/GvBD,EAAAC,SACA,YAEA,gBACA,mBAGA,gBACA,mBAGA,cACA,iBAGA,aACA,gBAGA,cACA,iBAGA,eACA,kBAGA,cACA,kB3C8/GS,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,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,CA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,qBACHY,OACAnmB,KAAAolB,EAAAplB,QAEGolB,EAAAM,GAAA,KAAAH,EAAA,OACHE,YAAA,mCACGL,EAAA,KAAAG,EAAA,oBAAAH,EAAAQ,MAAA,OAAAR,EAAAQ,KAAAR,EAAAM,GAAA,KAAAN,EAAAplB,KAAAolB,EAAAQ,KAAAL,EAAA,mBACFgB","file":"static/js/app.d4e0a640b375c4b52997.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/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\tvar REGISTRATION_URL = '/api/account/register.json';\n\tvar AVATAR_UPDATE_URL = '/api/qvitter/update_avatar.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 updateAvatar = function updateAvatar(_ref) {\n\t var credentials = _ref.credentials,\n\t params = _ref.params;\n\t\n\t var url = AVATAR_UPDATE_URL;\n\t\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 return fetch(url, {\n\t headers: authHeaders(credentials),\n\t method: 'POST',\n\t body: form\n\t }).then(function (data) {\n\t return data.json();\n\t });\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(_ref2) {\n\t var id = _ref2.id,\n\t credentials = _ref2.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(_ref3) {\n\t var id = _ref3.id,\n\t credentials = _ref3.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(_ref4) {\n\t var credentials = _ref4.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(_ref5) {\n\t var username = _ref5.username,\n\t credentials = _ref5.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(_ref6) {\n\t var id = _ref6.id,\n\t credentials = _ref6.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(_ref7) {\n\t var id = _ref7.id,\n\t credentials = _ref7.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(_ref8) {\n\t var id = _ref8.id,\n\t credentials = _ref8.credentials,\n\t _ref8$muted = _ref8.muted,\n\t muted = _ref8$muted === undefined ? true : _ref8$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(_ref9) {\n\t var timeline = _ref9.timeline,\n\t credentials = _ref9.credentials,\n\t _ref9$since = _ref9.since,\n\t since = _ref9$since === undefined ? false : _ref9$since,\n\t _ref9$until = _ref9.until,\n\t until = _ref9$until === undefined ? false : _ref9$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(_ref10) {\n\t var id = _ref10.id,\n\t credentials = _ref10.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(_ref11) {\n\t var id = _ref11.id,\n\t credentials = _ref11.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(_ref12) {\n\t var id = _ref12.id,\n\t credentials = _ref12.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(_ref13) {\n\t var credentials = _ref13.credentials,\n\t status = _ref13.status,\n\t mediaIds = _ref13.mediaIds,\n\t inReplyToStatusId = _ref13.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(_ref14) {\n\t var id = _ref14.id,\n\t credentials = _ref14.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(_ref15) {\n\t var formData = _ref15.formData,\n\t credentials = _ref15.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(_ref16) {\n\t var credentials = _ref16.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 updateAvatar: updateAvatar\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 var updateAvatar = function updateAvatar(_ref6) {\n\t var params = _ref6.params;\n\t return _apiService2.default.updateAvatar({ credentials: credentials, params: 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 updateAvatar: updateAvatar\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 = (0, _merge3.default)(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 computed: {\n\t user: function user() {\n\t return this.$store.state.users.currentUser;\n\t }\n\t },\n\t methods: {\n\t uploadAvatar: function uploadAvatar(_ref) {\n\t var _this = this;\n\t\n\t var target = _ref.target;\n\t\n\t var file = target.files[0];\n\t var reader = new FileReader();\n\t reader.onload = function (_ref2) {\n\t var target = _ref2.target;\n\t\n\t var img = target.result;\n\t\n\t _this.$store.state.api.backendInteractor.updateAvatar({ params: { img: img } }).then(function (user) {\n\t if (!user.error) {\n\t _this.$store.commit('addNewUsers', [user]);\n\t _this.$store.commit('setCurrentUser', user);\n\t }\n\t });\n\t };\n\t reader.readAsDataURL(file);\n\t }\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(\"Avatar\")]), _vm._v(\" \"), _c('img', {\n\t attrs: {\n\t \"src\": _vm.user.profile_image_url_original\n\t }\n\t }), _vm._v(\" \"), _c('div', [_c('input', {\n\t attrs: {\n\t \"name\": \"avatar-upload\",\n\t \"id\": \"avatar-upload\",\n\t \"type\": \"file\"\n\t },\n\t on: {\n\t \"change\": _vm.uploadAvatar\n\t }\n\t })])]), _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.d4e0a640b375c4b52997.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/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'\nconst REGISTRATION_URL = '/api/account/register.json'\nconst AVATAR_UPDATE_URL = '/api/qvitter/update_avatar.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\n// cropH\n// cropW\n// cropX\n// cropY\n// img (base 64 encodend data url)\nconst updateAvatar = ({credentials, params}) => {\n let url = AVATAR_UPDATE_URL\n\n const form = new FormData()\n\n each(params, (value, key) => {\n if (value) {\n form.append(key, value)\n }\n })\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST',\n body: form\n }).then((data) => data.json())\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 updateAvatar\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 const updateAvatar = ({params}) => apiService.updateAvatar({credentials, 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 updateAvatar\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 = merge(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 computed: {\n user () {\n return this.$store.state.users.currentUser\n }\n },\n methods: {\n uploadAvatar ({target}) {\n const file = target.files[0]\n const reader = new FileReader()\n reader.onload = ({target}) => {\n const img = target.result\n\n this.$store.state.api.backendInteractor.updateAvatar({params: {img}}).then((user) => {\n if (!user.error) {\n this.$store.commit('addNewUsers', [user])\n this.$store.commit('setCurrentUser', user)\n }\n })\n }\n reader.readAsDataURL(file)\n }\n },\n watch: {\n hideAttachmentsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideAttachments', value })\n },\n hideAttachmentsInConvLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideAttachmentsInConv', value })\n },\n 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(\"Avatar\")]), _vm._v(\" \"), _c('img', {\n attrs: {\n \"src\": _vm.user.profile_image_url_original\n }\n }), _vm._v(\" \"), _c('div', [_c('input', {\n attrs: {\n \"name\": \"avatar-upload\",\n \"id\": \"avatar-upload\",\n \"type\": \"file\"\n },\n on: {\n \"change\": _vm.uploadAvatar\n }\n })])]), _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.dcc60205ebdef9eb3d87.js b/priv/static/static/js/app.dcc60205ebdef9eb3d87.js deleted file mode 100644 index b6b494b97..000000000 --- a/priv/static/static/js/app.dcc60205ebdef9eb3d87.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(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/statusnet/media/upload",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.dcc60205ebdef9eb3d87.js.map \ No newline at end of file diff --git a/priv/static/static/js/app.dcc60205ebdef9eb3d87.js.map b/priv/static/static/js/app.dcc60205ebdef9eb3d87.js.map deleted file mode 100644 index 0864a16b7..000000000 --- a/priv/static/static/js/app.dcc60205ebdef9eb3d87.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack:///static/js/app.dcc60205ebdef9eb3d87.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,EAAiC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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,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,C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A,mCACGL,EAAA,KAAAG,EAAA,oBAAAH,EAAAQ,MAAA,OAAAR,EAAAQ,KAAAR,EAAAM,GAAA,KAAAN,EAAAllB,KAAAklB,EAAAQ,KAAAL,EAAA,mBACFgB","file":"static/js/app.dcc60205ebdef9eb3d87.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/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\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.dcc60205ebdef9eb3d87.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/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'\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/manifest.66d994092e61600982a8.js b/priv/static/static/js/manifest.66d994092e61600982a8.js new file mode 100644 index 000000000..12929d88f --- /dev/null +++ b/priv/static/static/js/manifest.66d994092e61600982a8.js @@ -0,0 +1,2 @@ +!function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n=window.webpackJsonp;window.webpackJsonp=function(o,c){for(var p,s,l=0,i=[];l 1, "actor" => user.ap_id, @@ -29,7 +29,7 @@ def insert_list(times, data \\ %{}, opts \\ %{}) do end def public_and_non_public do - {:ok, user} = UserBuilder.insert + user = Pleroma.Factory.insert(:user) public = build(%{"id" => 1}, %{user: user}) non_public = build(%{"id" => 2, "to" => []}, %{user: user}) diff --git a/test/user_test.exs b/test/user_test.exs index e7843e1a8..d711adb9d 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -3,6 +3,8 @@ defmodule Pleroma.UserTest do alias Pleroma.User use Pleroma.DataCase + import Pleroma.Factory + test "ap_id returns the activity pub id for the user" do host = Application.get_env(:pleroma, Pleroma.Web.Endpoint) @@ -25,21 +27,21 @@ test "ap_followers returns the followers collection for the user" do end test "follow takes a user and another user" do - { :ok, user } = UserBuilder.insert - { :ok, following } = UserBuilder.insert(%{nickname: "guy"}) + user = insert(:user) + followed = insert(:user) - {:ok, user } = User.follow(user, following) + {:ok, user } = User.follow(user, followed) user = Repo.get(User, user.id) - assert user.following == [User.ap_followers(following)] + assert user.following == [User.ap_followers(followed)] end test "unfollow takes a user and another user" do - { :ok, following } = UserBuilder.insert(%{nickname: "guy"}) - { :ok, user } = UserBuilder.insert(%{following: [User.ap_followers(following)]}) + followed = insert(:user) + user = insert(:user, %{following: [User.ap_followers(followed)]}) - {:ok, user } = User.unfollow(user, following) + {:ok, user } = User.unfollow(user, followed) user = Repo.get(User, user.id) @@ -47,8 +49,8 @@ test "unfollow takes a user and another user" do end test "test if a user is following another user" do - { :ok, followed } = UserBuilder.insert(%{nickname: "guy"}) - { :ok, user } = UserBuilder.insert(%{following: [User.ap_followers(followed)]}) + followed = insert(:user) + user = insert(:user, %{following: [User.ap_followers(followed)]}) assert User.following?(user, followed) refute User.following?(followed, user) diff --git a/test/web/activity_pub/activity_pub_test.exs b/test/web/activity_pub/activity_pub_test.exs index b0c2a3544..744021c8c 100644 --- a/test/web/activity_pub/activity_pub_test.exs +++ b/test/web/activity_pub/activity_pub_test.exs @@ -184,5 +184,17 @@ test "copies the file to the configured folder" do {:ok, %Object{} = object} = ActivityPub.upload(file) assert object.data["name"] == "an_image.jpg" end + + test "works with base64 encoded images" do + file = %{ + "img" => data_uri() + } + + {:ok, %Object{}} = ActivityPub.upload(file) + end + end + + def data_uri do + "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBxdWFsaXR5ID0gODUK/9sAQwAFAwQEBAMFBAQEBQUFBgcMCAcHBwcPCwsJDBEPEhIRDxERExYcFxMUGhURERghGBodHR8fHxMXIiQiHiQcHh8e/9sAQwEFBQUHBgcOCAgOHhQRFB4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4e/8AAEQgA7ADsAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALUR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1JWWhN9Dj/iHrSatq19djcI5ZCVBPQdK8/u9rS9ep6j0q/rs0gkmj3ZGcc+1YMsjbnOcYC/qATXpUafLG9zmer1FuwFVAO5OajtlMkkakoCT3NXdUt0W58kFtoCn35FU7Mb7tVPRcEcCqTugsS31k0UoQHkD5qhhZ4pEkBIYEEY45FW7id7nUDvAXquF9qpu7MQWOcNxVK842YLQ/Qf4DeKI/Enw80u/Zw00cCwzc5+dRg5/KvQruISQsgHUYyO9fJf7Geq3kTX+nLJm3yHCnPB4FfW8bGSJieMHt3rzpK0mmdCdjjLq3a0vfmwEJIAFNuIQVDkLnoQOlb+u20TMSQfWqccMbQAkZ4zWOpVzDltIiOQGJ6e1Ur6BIkBI3NzgeldBcRJ2UAn0rKnAMjKR93ODStcLnJ36PdQyIFOSMY9Ky/CPg+FtabUZEEjRgiPJ6MetdmESNCQgJcHJP41u6DawQWa+WgyyhyT1yRk1KgmJq+pQis5YLVImtSQRgvn2qkbMGdTs3ZOM4rqJhsRuScZAzUVtEnljIyeuTVWHcg0Wx8uQg/dzXY6XbLtBwKw7BV8zpXT6ZgKo2jpmqitbEyZeit41UALUvlgDufrT0p7dK7FBIybZWMeewqOaImMjZuAGePWrSqCx5PArlvidql1ovgXWtUsSq3NtYSyRlgcBgOD1q0rhc8W/aH+N1j4Sv5PDmgFZtSGVupgMrEMZAHNeF6V8TLTUrgnV4RO8hGCy9T3+leR6vqF5qOoTXV7cPNPLI0ryMcks3U1UhleO6+U9QCfeieGVWOpVOvKJ9ieDvEekLbpHHdxxQkZVGfpmuvS8sJVDx3cTKe5PWviqw1nUAvn+dlk4HpVs+K9ebkahKg6BVOBXDPCci1OmOP5p8tuh//Z" end end diff --git a/test/web/twitter_api/representers/activity_representer_test.exs b/test/web/twitter_api/representers/activity_representer_test.exs index a9129bccc..d0cccb149 100644 --- a/test/web/twitter_api/representers/activity_representer_test.exs +++ b/test/web/twitter_api/representers/activity_representer_test.exs @@ -45,8 +45,11 @@ test "a like activity" do test "an activity" do {:ok, user} = UserBuilder.insert - {:ok, mentioned_user } = UserBuilder.insert(%{nickname: "shp", ap_id: "shp"}) - {:ok, follower} = UserBuilder.insert(%{following: [User.ap_followers(user)]}) + # {:ok, mentioned_user } = UserBuilder.insert(%{nickname: "shp", ap_id: "shp"}) + mentioned_user = insert(:user, %{nickname: "shp"}) + + # {:ok, follower} = UserBuilder.insert(%{following: [User.ap_followers(user)]}) + follower = insert(:user, %{following: [User.ap_followers(user)]}) object = %Object{ data: %{ @@ -62,7 +65,7 @@ test "an activity" do } } - content_html = "Some content mentioning @shp" + content_html = "Some content mentioning @shp" content = HtmlSanitizeEx.strip_tags(content_html) date = DateTime.from_naive!(~N[2016-05-24 13:26:08.003], "Etc/UTC") |> DateTime.to_iso8601 diff --git a/test/web/twitter_api/representers/user_representer_test.exs b/test/web/twitter_api/representers/user_representer_test.exs index 76e3bd6e6..913d1322c 100644 --- a/test/web/twitter_api/representers/user_representer_test.exs +++ b/test/web/twitter_api/representers/user_representer_test.exs @@ -5,13 +5,23 @@ defmodule Pleroma.Web.TwitterAPI.Representers.UserRepresenterTest do alias Pleroma.Web.TwitterAPI.Representers.UserRepresenter alias Pleroma.Builders.UserBuilder + import Pleroma.Factory + setup do - {:ok, user} = UserBuilder.insert + user = insert(:user) [user: user] end + test "A user with an avatar object", %{user: user} do + image = "image" + user = %{ user | avatar: %{ "url" => [%{"href" => image}] }} + represented = UserRepresenter.to_map(user) + assert represented["profile_image_url"] == image + end + test "A user", %{user: user} do image = "https://placehold.it/48x48" + represented = %{ "id" => user.id, "name" => user.name, diff --git a/test/web/twitter_api/twitter_api_controller_test.exs b/test/web/twitter_api/twitter_api_controller_test.exs index 3bc4eb700..f9723dd9f 100644 --- a/test/web/twitter_api/twitter_api_controller_test.exs +++ b/test/web/twitter_api/twitter_api_controller_test.exs @@ -94,10 +94,10 @@ test "without valid credentials", %{conn: conn} do end test "with credentials", %{conn: conn, user: current_user} do - {:ok, user} = UserBuilder.insert + user = insert(:user) activities = ActivityBuilder.insert_list(30, %{"to" => [User.ap_followers(user)]}, %{user: user}) returned_activities = ActivityBuilder.insert_list(10, %{"to" => [User.ap_followers(user)]}, %{user: user}) - {:ok, other_user} = UserBuilder.insert(%{ap_id: "glimmung", nickname: "nockame"}) + other_user = insert(:user) ActivityBuilder.insert_list(10, %{}, %{user: other_user}) since_id = List.last(activities).id @@ -110,7 +110,7 @@ test "with credentials", %{conn: conn, user: current_user} do response = json_response(conn, 200) assert length(response) == 10 - assert response == Enum.map(returned_activities, fn (activity) -> ActivityRepresenter.to_map(activity, %{user: user, for: current_user}) end) + assert response == Enum.map(returned_activities, fn (activity) -> ActivityRepresenter.to_map(activity, %{user: User.get_cached_by_ap_id(activity.data["actor"]), for: current_user}) end) end end @@ -122,7 +122,7 @@ test "without valid credentials", %{conn: conn} do end test "with credentials", %{conn: conn, user: current_user} do - {:ok, followed } = UserBuilder.insert(%{name: "some guy"}) + followed = insert(:user) conn = conn |> with_credentials(current_user.nickname, "test") @@ -142,7 +142,7 @@ test "without valid credentials", %{conn: conn} do end test "with credentials", %{conn: conn, user: current_user} do - {:ok, followed } = UserBuilder.insert(%{name: "some guy"}) + followed = insert(:user) {:ok, current_user} = User.follow(current_user, followed) assert current_user.following == [User.ap_followers(followed)] @@ -157,6 +157,24 @@ test "with credentials", %{conn: conn, user: current_user} do end end + describe "POST /api/qvitter/update_avatar.json" do + setup [:valid_user] + test "without valid credentials", %{conn: conn} do + conn = post conn, "/api/qvitter/update_avatar.json" + assert json_response(conn, 403) == %{"error" => "Invalid credentials."} + end + + test "with credentials", %{conn: conn, user: current_user} do + conn = conn + |> with_credentials(current_user.nickname, "test") + |> post("/api/qvitter/update_avatar.json", %{img: Pleroma.Web.ActivityPub.ActivityPubTest.data_uri}) + + current_user = Repo.get(User, current_user.id) + assert is_map(current_user.avatar) + assert json_response(conn, 200) == UserRepresenter.to_map(current_user, %{for: current_user}) + end + end + describe "POST /api/favorites/create/:id" do setup [:valid_user] test "without valid credentials", %{conn: conn} do diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs index 821bdebbe..3d16a2049 100644 --- a/test/web/twitter_api/twitter_api_test.exs +++ b/test/web/twitter_api/twitter_api_test.exs @@ -78,7 +78,8 @@ test "create a status that is a reply" do test "fetch public statuses" do %{ public: activity, user: user } = ActivityBuilder.public_and_non_public - {:ok, follower } = UserBuilder.insert(%{name: "dude", ap_id: "idididid", following: [User.ap_followers(user)]}) + + follower = insert(:user, following: [User.ap_followers(user)]) statuses = TwitterAPI.fetch_public_statuses(follower) @@ -87,19 +88,18 @@ test "fetch public statuses" do end test "fetch friends' statuses" do - ActivityBuilder.public_and_non_public - + user = insert(:user, %{following: ["someguy/followers"]}) {: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"]}) + {:ok, direct_activity} = ActivityBuilder.insert(%{"to" => [user.ap_id]}) statuses = TwitterAPI.fetch_friend_statuses(user) activity_user = Repo.get_by(User, ap_id: activity.data["actor"]) + direct_activity_user = Repo.get_by(User, ap_id: direct_activity.data["actor"]) 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]}) + assert Enum.at(statuses, 1) == ActivityRepresenter.to_map(direct_activity, %{user: direct_activity_user, mentioned: [user]}) end test "fetch a single status" do @@ -113,8 +113,8 @@ test "fetch a single status" do end test "Follow another user" do - { :ok, user } = UserBuilder.insert - { :ok, following } = UserBuilder.insert(%{nickname: "guy"}) + user = insert(:user) + following = insert(:user) {:ok, user, following, activity } = TwitterAPI.follow(user, following.id) @@ -126,8 +126,8 @@ test "Follow another user" do end test "Unfollow another user using user_id" do - { :ok, following } = UserBuilder.insert(%{nickname: "guy"}) - { :ok, user } = UserBuilder.insert(%{following: [User.ap_followers(following)]}) + following = insert(:user) + user = insert(:user, %{following: [User.ap_followers(following)]}) {:ok, user, _following } = TwitterAPI.unfollow(user, %{"user_id" => following.id}) @@ -137,8 +137,8 @@ test "Unfollow another user using user_id" do end test "Unfollow another user using screen_name" do - { :ok, following } = UserBuilder.insert(%{nickname: "guy"}) - { :ok, user } = UserBuilder.insert(%{following: [User.ap_followers(following)]}) + following = insert(:user) + user = insert(:user, %{following: [User.ap_followers(following)]}) {:ok, user, _following } = TwitterAPI.unfollow(user, %{"screen_name" => following.nickname}) @@ -171,8 +171,8 @@ test "upload a file" do test "it can parse mentions and return the relevant users" do text = "@gsimg According to @archaeme , that is @daggsy." - {:ok, gsimg} = UserBuilder.insert(%{nickname: "gsimg"}) - {:ok, archaeme} = UserBuilder.insert(%{nickname: "archaeme"}) + gsimg = insert(:user, %{nickname: "gsimg"}) + archaeme = insert(:user, %{nickname: "archaeme"}) expected_result = [ {"@gsimg", gsimg}, @@ -185,11 +185,11 @@ test "it can parse mentions and return the relevant users" do test "it adds user links to an existing text" do text = "@gsimg According to @archaeme , that is @daggsy." - {:ok, _gsimg} = UserBuilder.insert(%{nickname: "gsimg", ap_id: "first_link" }) - {:ok, _archaeme} = UserBuilder.insert(%{nickname: "archaeme", ap_id: "second_link"}) + gsimg = insert(:user, %{nickname: "gsimg"}) + archaeme = insert(:user, %{nickname: "archaeme"}) mentions = TwitterAPI.parse_mentions(text) - expected_text = "@gsimg According to @archaeme , that is @daggsy." + expected_text = "@gsimg According to @archaeme , that is @daggsy." assert TwitterAPI.add_user_links(text, mentions) == expected_text end