pleroma/priv/static/static/js/app.7008c016496dd60fe79d.js

6 lines
102 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

webpackJsonp([2,0],[function(t,e,s){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var a=s(199),i=n(a),r=s(97),o=n(r),u=s(481),l=n(u),c=s(484),d=n(c),f=s(429),v=n(f),m=s(441),p=n(m),h=s(440),_=n(h),g=s(434),b=n(g),w=s(446),C=n(w),y=s(431),k=n(y),x=s(437),S=n(x),$=s(450),P=n($),j=s(444),F=n(j),I=s(442),O=n(I),A=s(451),L=n(A),U=s(99),M=n(U),N=s(165),E=n(N),T=s(163),D=n(T),R=s(164),H=n(R),W=s(483),B=n(W),V=s(428),q=n(V),K=s(162),Y=n(K),J=s(161),z=n(J);o.default.use(d.default),o.default.use(l.default),o.default.use(B.default,{locale:"en-US",locales:{"en-US":s(267)}}),o.default.use(q.default);var X={paths:["config.hideAttachments","config.hideAttachmentsInConv","config.hideNsfw","config.autoLoad","config.hoverPreview","config.muteWords","users.lastLoginName"]},G=new d.default.Store({modules:{statuses:M.default,users:E.default,api:D.default,config:H.default},plugins:[(0,Y.default)(X)],strict:!1}),Z=[{name:"root",path:"/",redirect:"/main/all"},{path:"/main/all",component:_.default},{path:"/main/public",component:p.default},{path:"/main/friends",component:b.default},{path:"/tag/:tag",component:C.default},{name:"conversation",path:"/notice/:id",component:k.default,meta:{dontScroll:!0}},{name:"user-profile",path:"/users/:id",component:P.default},{name:"mentions",path:"/:username/mentions",component:S.default},{name:"settings",path:"/settings",component:F.default},{name:"registration",path:"/registration",component:O.default},{name:"user-settings",path:"/user-settings",component:L.default}],Q=new l.default({mode:"history",routes:Z,scrollBehavior:function(t,e,s){return!t.matched.some(function(t){return t.meta.dontScroll})&&(s||{x:0,y:0})}}),tt=(window.navigator.language||"en").split("-")[0],et=new q.default({locale:tt,fallbackLocale:"en",messages:z.default});new o.default({router:Q,store:G,i18n:et,el:"#app",render:function(t){return t(v.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,i=t.registrationOpen;G.dispatch("setOption",{name:"name",value:e}),G.dispatch("setOption",{name:"theme",value:s}),G.dispatch("setOption",{name:"background",value:n}),G.dispatch("setOption",{name:"logo",value:a}),G.dispatch("setOption",{name:"registrationOpen",value:i})}),window.fetch("/static/terms-of-service.html").then(function(t){return t.text()}).then(function(t){G.dispatch("setOption",{name:"tos",value:t})}),window.fetch("/api/pleroma/emoji.json").then(function(t){return t.json()}).then(function(t){var e=(0,i.default)(t).map(function(e){return{shortcode:e,image_url:t[e]}});G.dispatch("setOption",{name:"emoji",value:e})})},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){s(247);var n=s(1)(s(191),s(454),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});var a=s(59),i=n(a),r=s(56),o=n(r);s(485);var u="/api/account/verify_credentials.json",l="/api/statuses/friends_timeline.json",c="/api/qvitter/allfollowing",d="/api/statuses/public_timeline.json",f="/api/statuses/public_and_external_timeline.json",v="/api/statusnet/tags/timeline",m="/api/favorites/create",p="/api/favorites/destroy",h="/api/statuses/retweet",_="/api/statuses/update.json",g="/api/statuses/destroy",b="/api/statuses/show",w="/api/statusnet/media/upload",C="/api/statusnet/conversation",y="/api/statuses/mentions.json",k="/api/statuses/followers.json",x="/api/statuses/friends.json",S="/api/friendships/create.json",$="/api/friendships/destroy.json",P="/api/qvitter/set_profile_pref.json",j="/api/account/register.json",F="/api/qvitter/update_avatar.json",I="/api/qvitter/update_background_image.json",O="/api/account/update_profile_banner.json",A="/api/account/update_profile.json",L="/api/externalprofile/show.json",U="/api/qvitter/statuses/user_timeline.json",M=window.fetch,N=function(t,e){e=e||{};var s="",n=s+t;return e.credentials="same-origin",M(n,e)},E=function(t){var e=t.credentials,s=t.params,n=F,a=new FormData;return(0,o.default)(s,function(t,e){t&&a.append(e,t)}),N(n,{headers:W(e),method:"POST",body:a}).then(function(t){return t.json()})},T=function(t){var e=t.credentials,s=t.params,n=I,a=new FormData;return(0,o.default)(s,function(t,e){t&&a.append(e,t)}),N(n,{headers:W(e),method:"POST",body:a}).then(function(t){return t.json()})},D=function(t){var e=t.credentials,s=t.params,n=O,a=new FormData;return(0,o.default)(s,function(t,e){t&&a.append(e,t)}),N(n,{headers:W(e),method:"POST",body:a}).then(function(t){return t.json()})},R=function(t){var e=t.credentials,s=t.params,n=A,a=new FormData;return(0,o.default)(s,function(t,e){t&&a.append(e,t)}),N(n,{headers:W(e),method:"POST",body:a}).then(function(t){return t.json()})},H=function(t){var e=new FormData;return(0,o.default)(t,function(t,s){t&&e.append(s,t)}),N(j,{method:"POST",body:e})},W=function(t){return t&&t.username&&t.password?{Authorization:"Basic "+btoa(t.username+":"+t.password)}:{}},B=function(t){var e=t.profileUrl,s=t.credentials,n=L+"?profileurl="+e;return N(n,{headers:W(s),method:"GET"}).then(function(t){return t.json()})},V=function(t){var e=t.id,s=t.credentials,n=S+"?user_id="+e;return N(n,{headers:W(s),method:"POST"}).then(function(t){return t.json()})},q=function(t){var e=t.id,s=t.credentials,n=$+"?user_id="+e;return N(n,{headers:W(s),method:"POST"}).then(function(t){return t.json()})},K=function(t){var e=t.id,s=t.credentials,n=x+"?user_id="+e;return N(n,{headers:W(s)}).then(function(t){return t.json()})},Y=function(t){var e=t.id,s=t.credentials,n=k+"?user_id="+e;return N(n,{headers:W(s)}).then(function(t){return t.json()})},J=function(t){var e=t.username,s=t.credentials,n=c+"/"+e+".json";return N(n,{headers:W(s)}).then(function(t){return t.json()})},z=function(t){var e=t.id,s=t.credentials,n=C+"/"+e+".json?count=100";return N(n,{headers:W(s)}).then(function(t){return t.json()})},X=function(t){var e=t.id,s=t.credentials,n=b+"/"+e+".json";return N(n,{headers:W(s)}).then(function(t){return t.json()})},G=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),N(P,{method:"POST",headers:W(s),body:i})},Z=function(t){var e=t.timeline,s=t.credentials,n=t.since,a=void 0!==n&&n,r=t.until,o=void 0!==r&&r,u=t.userId,c=void 0!==u&&u,m=t.tag,p=void 0!==m&&m,h={public:d,friends:l,mentions:y,publicAndExternal:f,user:U,tag:v},_=h[e],g=[];a&&g.push(["since_id",a]),o&&g.push(["max_id",o]),c&&g.push(["user_id",c]),p&&(_+="/"+p+".json");var b=(0,i.default)(g,function(t){return t[0]+"="+t[1]}).join("&");return _+="?"+b,N(_,{headers:W(s)}).then(function(t){return t.json()})},Q=function(t){return N(u,{method:"POST",headers:W(t)})},tt=function(t){var e=t.id,s=t.credentials;return N(m+"/"+e+".json",{headers:W(s),method:"POST"})},et=function(t){var e=t.id,s=t.credentials;return N(p+"/"+e+".json",{headers:W(s),method:"POST"})},st=function(t){var e=t.id,s=t.credentials;return N(h+"/"+e+".json",{headers:W(s),method:"POST"})},nt=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),N(_,{body:r,method:"POST",headers:W(e)})},at=function(t){var e=t.id,s=t.credentials;return N(g+"/"+e+".json",{headers:W(s),method:"POST"})},it=function(t){var e=t.formData,s=t.credentials;return N(w,{body:e,method:"POST",headers:W(s)}).then(function(t){return t.text()}).then(function(t){return(new DOMParser).parseFromString(t,"application/xml")})},rt=function(t){var e=t.credentials,s="/api/qvitter/mutes.json";return N(s,{headers:W(e)}).then(function(t){return t.json()})},ot={verifyCredentials:Q,fetchTimeline:Z,fetchConversation:z,fetchStatus:X,fetchFriends:K,fetchFollowers:Y,followUser:V,unfollowUser:q,favorite:tt,unfavorite:et,retweet:st,postStatus:nt,deleteStatus:at,uploadMedia:it,fetchAllFollowing:J,setUserMute:G,fetchMutes:rt,register:H,updateAvatar:E,updateBg:T,updateProfile:R,updateBanner:D,externalProfile:B};e.default=ot},,,,,,,,,,,,,,,,,,,,,,function(t,e,s){s(259);var n=s(1)(s(187),s(471),null,null);t.exports=n.exports},function(t,e,s){s(246);var n=s(1)(s(168),s(453),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(201),i=n(a),r=s(2),o=n(r),u=s(405),l=n(u),c=s(154),d=n(c),f=s(153),v=n(f),m=s(406),p=n(m),h=s(397),_=n(h),g=s(57),b=n(g),w=s(56),C=n(w),y=s(22),k=n(y),x=s(96),S=n(x),$=s(414),P=n($),j=s(413),F=n(j),I=s(401),O=n(I),A=s(38),L=n(A),U=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,followers:[],friends:[],viewing:"statuses"},public:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses"},user:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses"},publicAndExternal:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses"},friends:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses"},tag:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses"}}},M=function(t){var e=/#nsfw/i;return(0,O.default)(t.tags,"nsfw")||!!t.text.match(e)},N=e.prepareStatus=function(t){return void 0===t.nsfw&&(t.nsfw=M(t)),t.deleted=!1,t.attachments=t.attachments||[],t},E=e.statusType=function(t){return t.is_post_verb?"status":t.retweeted_status?"retweet":"string"==typeof t.uri&&t.uri.match(/(fave|objectType=Favourite)/)||"string"==typeof t.text&&t.text.match(/favorited/)?"favorite":t.text.match(/deleted notice {{tag/)?"deletion":t.text.match(/started following/)?"follow":"unknown"},T=(e.findMaxId=function(){for(var t=arguments.length,e=Array(t),s=0;s<t;s++)e[s]=arguments[s];return((0,p.default)((0,_.default)(e),"id")||{}).id},function(t,e,s){var n=e[s.id];return n?((0,d.default)(n,s),n.attachments.splice(n.attachments.length),{item:n,new:!1}):(N(s),t.push(s),e[s.id]=s,{item:s,new:!0})}),D=function(t){return t.visibleStatuses=(0,S.default)(t.visibleStatuses,function(t){var e=t.id;return-e}),t.statuses=(0,S.default)(t.statuses,function(t){var e=t.id;return-e}),t.minVisibleId=((0,v.default)(t.visibleStatuses)||{}).id,t},R=function(t,e){var s=e.statuses,n=e.showImmediately,a=void 0!==n&&n,i=e.timeline,r=e.user,u=void 0===r?{}:r,c=e.noIdUpdate,d=void 0!==c&&c;if(!(0,o.default)(s))return!1;var f=t.allStatuses,v=t.allStatusesObject,m=t.timelines[i],p=function(t){var e=t.id;return!(!i||d)&&void(m.maxId=(0,l.default)([e,m.maxId]))},h=function(e,s){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=T(f,v,e);if(e=a.item,a.new&&(p(e),"retweet"===E(e)&&e.retweeted_status.user.id===u.id&&_({type:"repeat",status:e.retweeted_status,action:e}),"status"===E(e)&&(0,b.default)(e.attentions,{id:u.id}))){var r=t.timelines.mentions;m!==r&&(T(r.statuses,r.statusesObject,e),r.newStatusCount+=1,D(r)),_({type:"mention",status:e,action:e})}var o=void 0;return i&&n&&(o=T(m.statuses,m.statusesObject,e)),i&&s?T(m.visibleStatuses,m.visibleStatusesObject,e):i&&n&&o.new&&(m.newStatusCount+=1),e},_=function(e){var s=e.type,n=e.status,a=e.action;(0,b.default)(t.notifications,function(t){return t.action.id===a.id})||t.notifications.push({type:s,status:n,action:a,seen:!1})},g=function(t){var e=(0,b.default)(f,{id:(0,k.default)(t.in_reply_to_status_id)});return e&&(e.fave_num+=1,t.user.id===u.id&&(e.favorited=!0),e.user.id===u.id&&_({type:"favorite",status:e,action:t})),e},w={status:function(t){h(t,a)},retweet:function t(e){var s=h(e.retweeted_status,!1,!1),t=void 0;t=i&&(0,b.default)(m.statuses,{id:s.id})?h(e,!1,!1):h(e,a),t.retweeted_status=s},favorite:function(e){t.favorites.has(e.id)||(t.favorites.add(e.id),p(e),g(e))},follow:function(t){var e=new RegExp("started following "+u.name+" \\("+u.statusnet_profile_url+"\\)"),s=new RegExp("started following "+u.screen_name+"$");(t.text.match(e)||t.text.match(s))&&_({type:"follow",status:t,action:t})},deletion:function(e){var s=e.uri;p(e);var n=(0,b.default)(f,{uri:s});n&&((0,F.default)(t.notifications,function(t){var e=t.action.id;return e===n.id}),(0,F.default)(f,{uri:s}),i&&((0,F.default)(m.statuses,{uri:s}),(0,F.default)(m.visibleStatuses,{uri:s})))},default:function(t){console.log("unknown status type"),console.log(t)}};(0,C.default)(s,function(t){var e=E(t),s=w[e]||w.default;s(t)}),i&&D(m)},H=e.mutations={addNewStatuses:R,showNewStatuses:function(t,e){var s=e.timeline,n=t.timelines[s];n.newStatusCount=0,n.visibleStatuses=(0,P.default)(n.statuses,0,50),n.visibleStatusesObject={},(0,C.default)(n.visibleStatuses,function(t){n.visibleStatusesObject[t.id]=t})},clearTimeline:function(t,e){var s=e.timeline,n={statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses"};t.timelines[s]=n},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},setProfileView:function(t,e){var s=e.v;t.timelines.user.viewing=s},addFriends:function(t,e){var s=e.friends;t.timelines.user.friends=s},addFollowers:function(t,e){var s=e.followers;t.timelines.user.followers=s},markNotificationsAsSeen:function(t,e){(0,C.default)(e,function(t){t.seen=!0})}},W={state:U,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})},addFriends:function(t,e){var s=(t.rootState,t.commit),n=e.friends;s("addFriends",{friends:n})},addFollowers:function(t,e){var s=(t.rootState,t.commit),n=e.followers;s("addFollowers",{followers:n})},deleteStatus:function(t,e){var s=t.rootState,n=t.commit;n("setDeleted",{status:e}),L.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}),L.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}),L.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}),L.default.retweet({id:e.id,credentials:s.users.currentUser.credentials})}},mutations:H};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(38),i=n(a),r=s(103),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(e){var s=e.id;return i.default.fetchFriends({id:s,credentials:t})},a=function(e){var s=e.id;return i.default.fetchFollowers({id:s,credentials:t})},r=function(e){var s=e.username;return i.default.fetchAllFollowing({username:s,credentials:t})},u=function(e){return i.default.followUser({credentials:t,id:e})},l=function(e){return i.default.unfollowUser({credentials:t,id:e})},c=function(e){var s=e.timeline,n=e.store,a=e.userId,i=void 0!==a&&a;return o.default.startFetching({timeline:s,store:n,credentials:t,userId:i})},d=function(e){var s=e.id,n=e.muted,a=void 0===n||n;return i.default.setUserMute({id:s,muted:a,credentials:t})},f=function(){return i.default.fetchMutes({credentials:t})},v=function(t){return i.default.register(t)},m=function(e){var s=e.params;return i.default.updateAvatar({credentials:t,params:s})},p=function(e){var s=e.params;return i.default.updateBg({credentials:t,params:s})},h=function(e){var s=e.params;return i.default.updateBanner({credentials:t,params:s})},_=function(e){var s=e.params;return i.default.updateProfile({credentials:t,params:s})},g=function(e){return i.default.externalProfile({profileUrl:e,credentials:t})},b={fetchStatus:e,fetchConversation:s,fetchFriends:n,fetchFollowers:a,followUser:u,unfollowUser:l,fetchAllFollowing:r,verifyCredentials:i.default.verifyCredentials,startFetching:c,setUserMute:d,fetchMutes:f,register:v,updateAvatar:m,updateBg:p,updateBanner:h,updateProfile:_,externalProfile:g};return b};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(59),i=n(a),r=s(38),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){return t.error||e.dispatch("addNewStatuses",{statuses:[t],timeline:"friends",showImmediately:!0,noIdUpdate:!0}),t}).catch(function(t){return{error:t.message}})},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(390),i=n(a),r=s(38),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=t.userId,v=void 0!==f&&f,m=t.tag,p=void 0!==m&&m,h={timeline:a,credentials:s},_=e.rootState||e.state,g=_.statuses.timelines[(0,i.default)(a)];return l?h.until=g.minVisibleId:h.since=g.maxId,h.userId=v,h.tag=p,o.default.fetchTimeline(h).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,i=t.userId,r=void 0!==i&&i,o=t.tag,u=void 0!==o&&o;l({timeline:s,credentials:n,store:a,showImmediately:!0,userId:r,tag:u});var c=function(){return l({timeline:s,credentials:n,store:a,userId:r,tag:u})};return setInterval(c,1e4)},d={fetchAndUpdate:l,startFetching:c};e.default=d},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){s(249);var n=s(1)(s(172),s(456),null,null);t.exports=n.exports},function(t,e,s){s(248);var n=s(1)(s(181),s(455),null,null);t.exports=n.exports},function(t,e,s){s(262);var n=s(1)(s(189),s(475),null,null);t.exports=n.exports},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={nav:{timeline:"Zeitleiste"}},n={nav:{timeline:"Aikajana",mentions:"Maininnat",public_tl:"Julkinen Aikajana",twkn:"Koko Tunnettu Verkosto"},user_card:{follows_you:"Seuraa sinua!",following:"Seuraat!",follow:"Seuraa",statuses:"Viestit",mute:"Hiljennä",muted:"Hiljennetty",followers:"Seuraajat",followees:"Seuraa",per_day:"päivässä"},timeline:{show_new:"Näytä uudet",error_fetching:"Virhe ladatessa viestejä",up_to_date:"Ajantasalla",load_older:"Lataa vanhempia viestejä"},settings:{user_settings:"Käyttäjän asetukset",name_bio:"Nimi ja kuvaus",name:"Nimi",bio:"Kuvaus",avatar:"Profiilikuva",current_avatar:"Nykyinen profiilikuvasi",set_new_avatar:"Aseta uusi profiilikuva",profile_banner:"Juliste",current_profile_banner:"Nykyinen julisteesi",set_new_profile_banner:"Aseta uusi juliste",profile_background:"Taustakuva",set_new_profile_background:"Aseta uusi taustakuva",settings:"Asetukset",theme:"Teema",filtering:"Suodatus",filtering_explanation:"Kaikki viestit, jotka sisältävät näitä sanoja, suodatetaan. Yksi sana per rivi.",attachments:"Liitteet",hide_attachments_in_tl:"Piilota liitteet aikajanalla",hide_attachments_in_convo:"Piilota liitteet keskusteluissa",nsfw_clickthrough:"Piilota NSFW liitteet klikkauksen taakse.",autoload:"Lataa vanhempia viestejä automaattisesti ruudun pohjalla",reply_link_preview:"Keskusteluiden vastauslinkkien esikatselu"},notifications:{notifications:"Ilmoitukset",read:"Lue!",followed_you:"seuraa sinua"},general:{submit:"Lähetä"}},a={nav:{timeline:"Timeline",mentions:"Mentions",public_tl:"Public Timeline",twkn:"The Whole Known Network"},user_card:{follows_you:"Follows you!",following:"Following!",follow:"Follow",statuses:"Statuses",mute:"Mute",muted:"Muted",followers:"Followers",followees:"Following",per_day:"per day"},timeline:{show_new:"Show new",error_fetching:"Error fetching updates",up_to_date:"Up-to-date",load_older:"Load older statuses"},settings:{user_settings:"User Settings",name_bio:"Name & Bio",name:"Name",bio:"Bio",avatar:"Avatar",current_avatar:"Your current avatar",set_new_avatar:"Set new avatar",profile_banner:"Profile Banner",current_profile_banner:"Your current profile banner",set_new_profile_banner:"Set new profile banner",profile_background:"Profile Background",set_new_profile_background:"Set new profile background",settings:"Settings",theme:"Theme",filtering:"Filtering",filtering_explanation:"All notices containing these words will be muted, one per line",attachments:"Attachments",hide_attachments_in_tl:"Hide attachments in timeline",hide_attachments_in_convo:"Hide attachments in conversations",nsfw_clickthrough:"Enable clickthrough NSFW attachment hiding",autoload:"Enable automatic loading when scrolled to the bottom",reply_link_preview:"Enable reply-link preview on mouse hover"},notifications:{notifications:"Notfications",read:"Read!",followed_you:"followed you"},general:{submit:"Submit"}},i={nav:{timeline:"タイムライン",mentions:"通知",public_tl:"公開タイムライン",twkn:"接続しているすべてのネットワーク"},user_card:{follows_you:"フォローされました!",following:"フォロー中!",follow:"フォロー",statuses:"ステータス",mute:"ミュート",muted:"ミュート済み",followers:"フォロワー",followees:"フォロー",per_day:"/日"},timeline:{show_new:"新しいものを表示",error_fetching:"更新の取得中にエラーが発生しました",up_to_date:"最新",load_older:"古いステータスを読み込む"},settings:{user_settings:"ユーザー設定",name_bio:"名前 & プロフィール",name:"名前",bio:"プロフィール",avatar:"アバター",current_avatar:"あなたの現在のアバター",set_new_avatar:"新しいアバターを設定する",profile_banner:"プロフィールバナー",current_profile_banner:"現在のプロフィールバナー",set_new_profile_banner:"新しいプロフィールバナーを設定する",profile_background:"プロフィールの背景",set_new_profile_background:"新しいプロフィールの背景を設定する",settings:"設定",theme:"テーマ",filtering:"フィルタリング",filtering_explanation:"これらの単語を含むすべての通知はミュートされます、1行に1つのワードを入力してください",attachments:"添付ファイル",hide_attachments_in_tl:"タイムラインの添付ファイルを隠す",hide_attachments_in_convo:"会話の中の添付ファイルを隠す",nsfw_clickthrough:"NSFWファイルの非表示を有効にする",autoload:"下にスクロールした時に自動で読み込むようにする",reply_link_preview:"マウスカーソルを重ねたときに返信リンクプレビューを表示するようにする"},notifications:{notifications:"通知",read:"読んだ!",followed_you:"フォローされました"},general:{submit:"送信"}},r={de:s,fi:n,en:a,ja:i};e.default=r},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,v=t.reducer,m=void 0===v?g:v,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))}t.state.users.lastLoginName&&t.dispatch("loginUser",{username:t.state.users.lastLoginName,password:"xxx"}),_=!0}catch(t){console.log("Couldn't load state"),_=!0}}),y(t)(function(t,e){try{d(s,m(e,a),h)}catch(t){console.log("Couldn't persist state:"),console.log(t)}})}}Object.defineProperty(e,"__esModule",{value:!0});var i=s(205),r=n(i),o=s(56),u=n(o),l=s(417),c=n(l);e.default=a;var d=s(280),f=n(d),v=s(426),m=n(v),p=s(268),h=n(p),_=!1,g=function(t,e){return 0===e.length?t:e.reduce(function(e,s){return m.default.set(e,s,m.default.get(t,s)),e},{})},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(2),i=n(a),r=s(100),o=n(r),u={state:{backendInteractor:(0,o.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){var s=!1;if((0,i.default)(e)&&(s=e[1],e=e[0]),!t.state.fetchers[e]){var n=t.state.backendInteractor.startFetching({timeline:e,store:t,userId:s});t.commit("addFetcher",{timeline:e,fetcher:n})}},stopFetching:function(t,e){var s=t.state.fetchers[e];window.clearInterval(s),t.commit("removeFetcher",{timeline:e})}}};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(97),i=s(167),r=n(i),o={name:"Pleroma FE",colors:{},hideAttachments:!1,hideAttachmentsInConv:!1,hideNsfw:!0,autoLoad:!0,hoverPreview:!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(200),i=n(a),r=s(154),o=n(r),u=s(56),l=n(u),c=s(59),d=n(c),f=s(392),v=n(f),m=s(100),p=n(m),h=s(97),_=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.lastLoginName=e.screen_name,t.currentUser=(0,o.default)(t.currentUser||{},e)},clearCurrentUser:function(t){t.currentUser=!1,t.lastLoginName=!1},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={lastLoginName:!1,currentUser:!1,loggingIn:!1,users:[],usersObject:{}},w={state:b,mutations:g,actions:{addNewStatuses:function(t,e){var s=e.statuses,n=(0,d.default)(s,"user"),a=(0,v.default)((0,d.default)(s,"retweeted_status.user"));t.commit("addNewUsers",n),t.commit("addNewUsers",a),(0,l.default)(s,function(e){t.commit("setUserForStatus",e)}),(0,l.default)((0,v.default)((0,d.default)(s,"retweeted_status")),function(e){t.commit("setUserForStatus",e)})},logout:function(t){t.commit("clearCurrentUser"),t.dispatch("stopFetching","friends"),t.commit("setBackendInteractor",(0,p.default)())},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}),e.splitIntoWords=e.addPositionToWords=e.wordAtPosition=e.replaceWord=void 0;var a=s(57),i=n(a),r=s(155),o=n(r),u=e.replaceWord=function(t,e,s){return t.slice(0,e.start)+s+t.slice(e.end)},l=e.wordAtPosition=function(t,e){var s=d(t),n=c(s);return(0,i.default)(n,function(t){var s=t.start,n=t.end;return s<=e&&n>e})},c=e.addPositionToWords=function(t){return(0,o.default)(t,function(t,e){var s={word:e,start:0,end:e.length};if(t.length>0){var n=t.pop();s.start+=n.end,s.end+=n.end,t.push(n)}return t.push(s),t},[])},d=e.splitIntoWords=function(t){var e=/\b/,s=/[@#:]+$/,n=t.split(e),a=(0,o.default)(n,function(t,e){if(t.length>0){var n=t.pop(),a=n.match(s);a&&(n=n.replace(s,""),e=a[0]+e),t.push(n)}return t.push(e),t},[]);return a},f={wordAtPosition:l,addPositionToWords:c,splitIntoWords:d,replaceWord:u};e.default=f},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(418),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","switcher"],computed:{headingStyle:function(){var t=this.$store.state.config.colors.base00;if(t){var e=this.$store.state.config.colors.base00.match(/\d+/g);return{backgroundColor:"rgb("+Math.floor(.53*e[0])+", "+Math.floor(.56*e[1])+", "+Math.floor(.59*e[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)},setProfileView:function(t){var e=this.$store;e.commit("setProfileView",{v:t})}}}},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(449),i=n(a),r=s(438),o=n(r),u=s(439),l=n(u),c=s(448),d=n(c);e.default={name:"app",components:{UserPanel:i.default,NavPanel:o.default,Notifications:l.default,UserFinder:d.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)},logout:function(){this.$store.dispatch("logout")}}}},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(427),i=n(a),r=s(101),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(22),i=n(a),r=s(57),o=n(r),u=s(158),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(96),i=n(a),r=s(36),o=n(r),u=s(57),l=n(u),c=s(155),d=n(c),f=s(99),v=s(60),m=n(v),p=function(t){return t=(0,o.default)(t,function(t){return"retweet"!==(0,f.statusType)(t)}),(0,i.default)(t,"id")},h={data:function(){return{highlight:null,preview:{x:0,y:0,status: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 p(t)},replies:function(){var t=1;return(0,d.default)(this.conversation,function(e,s){var n=s.id,a=s.in_reply_to_status_id,i=Number(a);return i&&(e[i]=e[i]||[],e[i].push({name:"#"+t,id:n})),t++,e},{})}},components:{Status:m.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})}).then(function(){return t.setHighlight(t.statusoid.id)})}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()})}},getReplies:function(t){return t=Number(t),this.replies[t]||[]},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)},setPreview:function(t,e,s){t?(this.preview.x=e,this.preview.y=s,this.preview.status=(0,l.default)(this.conversation,{id:t})):this.preview.status=null}}};e.default=h},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(27),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},registrationOpen:function(){return this.$store.state.config.registrationOpen}},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(102),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(27),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(36),i=n(a),r=s(156),o=n(r),u=s(96),l=n(u),c=s(60),d=n(c),f={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}},components:{Status:d.default},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=f},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(204),i=n(a),r=s(422),o=n(r),u=s(59),l=n(u),c=s(412),d=n(c),f=s(36),v=n(f),m=s(156),p=n(m),h=s(102),_=n(h),g=s(436),b=n(g),w=s(101),C=n(w),y=s(166),k=n(y),x=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={props:["replyTo","repliedUser","attentions"],components:{MediaUpload:b.default},data:function(){var t="";if(this.replyTo){var e=this.$store.state.users.currentUser;t=x({user:this.repliedUser,attentions:this.attentions},e)}return{dropFiles:[],submitDisabled:!1,error:null,posting:!1,newStatus:{status:t,files:[]},caret:0}},computed:{candidates:function(){var t=this,e=this.textAtCaret.charAt(0);if("@"===e){var s=(0,v.default)(this.users,function(e){return String(e.name+e.screen_name).match(t.textAtCaret.slice(1))});return!(s.length<=0)&&(0,l.default)((0,p.default)(s,5),function(t){var e=t.screen_name,s=t.name,n=t.profile_image_url_original;return{screen_name:"@"+e,name:s,img:n}})}if(":"===e){var n=(0,v.default)(this.emoji,function(e){return e.shortcode.match(t.textAtCaret.slice(1))});return!(n.length<=0)&&(0,l.default)((0,p.default)(n,5),function(t){var e=t.shortcode,s=t.image_url;return{screen_name:":"+e+":",name:"",img:s}})}return!1},textAtCaret:function(){return(this.wordAtCaret||{}).word||""},wordAtCaret:function(){var t=k.default.wordAtPosition(this.newStatus.status,this.caret-1)||{};return t},users:function(){return this.$store.state.users.users},emoji:function(){return this.$store.state.config.emoji||[]}},methods:{replace:function(t){this.newStatus.status=k.default.replaceWord(this.newStatus.status,this.wordAtCaret,t);var e=this.$el.querySelector("textarea");e.focus(),this.caret=0},setCaret:function(t){var e=t.target.selectionStart;this.caret=e},postStatus:function(t){var e=this;if(!this.posting){if(""===this.newStatus.status){if(!(this.newStatus.files.length>0))return void(this.error="Cannot post an empty status with no files");this.newStatus.status=""}this.posting=!0,_.default.postStatus({status:t.status,media:t.files,store:this.$store,inReplyToStatusId:this.replyTo}).then(function(t){if(t.error)e.error=t.error;else{e.newStatus={status:"",files:[]},e.$emit("posted");var s=e.$el.querySelector("textarea");s.style.height="16px",e.error=null}e.posting=!1})}},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 C.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"},resize:function(t){t.target.style.height="auto",t.target.style.height=t.target.scrollHeight-10+"px",""===t.target.value&&(t.target.style.height="16px")},clearError:function(){this.error=null}}};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(27),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(27),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}},created:function(){this.$store.state.config.registrationOpen&&!this.$store.state.users.currentUser||this.$router.push("/main/all")},computed:{termsofservice:function(){return this.$store.state.config.tos}},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(421),i=n(a),r=s(36),o=n(r),u=s(160),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"),autoLoadLocal:this.$store.state.config.autoLoad,hoverPreviewLocal:this.$store.state.config.hoverPreview}},components:{StyleSwitcher:l.default},computed:{user:function(){return this.$store.state.users.currentUser}},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})},autoLoadLocal:function(t){this.$store.dispatch("setOption",{name:"autoLoad",value:t})},hoverPreviewLocal:function(t){this.$store.dispatch("setOption",{name:"hoverPreview",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(36),i=n(a),r=s(430),o=n(r),u=s(433),l=n(u),c=s(443),d=n(c),f=s(432),v=n(f),m=s(159),p=n(m),h=s(61),_=n(h),g={props:["statusoid","expandable","inConversation","focused","highlight","compact","replies"],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:v.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(t){this.$emit("goto",t)},toggleExpanded:function(){this.$emit("toggleExpanded")},toggleMute:function(){this.unmuted=!this.unmuted},toggleUserExpanded:function(){this.userExpanded=!this.userExpanded},replyEnter:function(t,e){if(this.$store.state.config.hoverPreview){var s=e.target.getBoundingClientRect();this.$emit("preview",Number(t),s.left+20,s.top+20+window.pageYOffset)}},replyLeave:function(){this.$emit("preview",0,0,0)}},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-50&&window.scrollBy(0,e.bottom-window.innerHeight+50)}}}};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(60),i=n(a),r=s(158),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(27),i=n(a),r={created:function(){this.$store.commit("clearTimeline",{timeline:"tag"}),this.$store.dispatch("startFetching",{tag:this.tag})},components:{Timeline:i.default},computed:{tag:function(){return this.$route.params.tag},timeline:function(){return this.$store.state.statuses.timelines.tag}},watch:{tag:function(){this.$store.commit("clearTimeline",{timeline:"tag"}),this.$store.dispatch("startFetching",{tag:this.tag})}},destroyed:function(){this.$store.dispatch("stopFetching","tag")}};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(60),i=n(a),r=s(103),o=n(r),u=s(445),l=n(u),c=s(447),d=n(c),f={props:["timeline","timelineName","title","userId","tag"],computed:{timelineError:function(){return this.$store.state.statuses.error},followers:function(){return this.timeline.followers},friends:function(){return this.timeline.friends},viewing:function(){return this.timeline.viewing}},components:{Status:i.default,StatusOrConversation:l.default,UserCard:d.default},created:function(){var t=this.$store,e=t.state.users.currentUser.credentials,s=0===this.timeline.visibleStatuses.length;window.addEventListener("scroll",this.scrollLoad),o.default.fetchAndUpdate({store:t,credentials:e,timeline:this.timelineName,showImmediately:s,userId:this.userId,tag:this.tag}),"user"===this.timelineName&&(this.fetchFriends(),this.fetchFollowers())},destroyed:function(){window.removeEventListener("scroll",this.scrollLoad)},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,userId:this.userId,tag:this.tag}).then(function(){return e.commit("setLoading",{timeline:t.timelineName,value:!1})})},fetchFollowers:function(){var t=this,e=this.userId;this.$store.state.api.backendInteractor.fetchFollowers({id:e}).then(function(e){return t.$store.dispatch("addFollowers",{followers:e})})},fetchFriends:function(){var t=this,e=this.userId;this.$store.state.api.backendInteractor.fetchFriends({id:e}).then(function(e){return t.$store.dispatch("addFriends",{friends:e})})},scrollLoad:function(t){var e=Math.max(document.body.offsetHeight,document.body.scrollHeight);this.timeline.loading===!1&&this.$store.state.config.autoLoad&&this.$el.offsetHeight>0&&window.innerHeight+window.pageYOffset>=e-750&&this.fetchOlderStatuses()}}};e.default=f},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(61),i=n(a),r={props:["user","showFollows"],data:function(){return{userExpanded:!1}},components:{UserCardContent:i.default},methods:{toggleUserExpanded:function(){this.userExpanded=!this.userExpanded}}};e.default=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={data:function(){return{username:void 0,hidden:!0,error:!1,loading:!1}},methods:{findUser:function(t){var e=this;this.loading=!0,this.$store.state.api.backendInteractor.externalProfile(t).then(function(t){e.loading=!1,e.hidden=!0,t.error?e.error=!0:(e.$store.commit("addNewUsers",[t]),e.$router.push({name:"user-profile",params:{id:t.id}}))})},toggleHidden:function(){this.hidden=!this.hidden},dismissError:function(){this.error=!1}}};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(435),i=n(a),r=s(159),o=n(r),u=s(61),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(61),i=n(a),r=s(27),o=n(r),u={created:function(){this.$store.commit("clearTimeline",{timeline:"user"}),this.$store.dispatch("startFetching",["user",this.userId])},destroyed:function(){this.$store.dispatch("stopFetching","user")},computed:{timeline:function(){return this.$store.state.statuses.timelines.user},userId:function(){return this.$route.params.id},user:function(){return!!this.timeline.statuses[0]&&this.timeline.statuses[0].user}},watch:{userId:function(){this.$store.commit("clearTimeline",{timeline:"user"}),this.$store.dispatch("startFetching",["user",this.userId])}},components:{UserCardContent:i.default,Timeline:o.default}};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(198),i=n(a),r=s(160),o=n(r),u={data:function(){return{newname:this.$store.state.users.currentUser.name,newbio:this.$store.state.users.currentUser.description,uploading:[!1,!1,!1],previews:[null,null,null]}},components:{StyleSwitcher:o.default},computed:{user:function(){return this.$store.state.users.currentUser}},methods:{updateProfile:function(){var t=this,e=this.newname,s=this.newbio;this.$store.state.api.backendInteractor.updateProfile({params:{name:e,description:s}}).then(function(e){e.error||(t.$store.commit("addNewUsers",[e]),t.$store.commit("setCurrentUser",e))})},uploadFile:function(t,e){var s=this,n=e.target.files[0];if(n){var a=new FileReader;a.onload=function(e){var n=e.target,a=n.result;s.previews[t]=a,s.$forceUpdate()},a.readAsDataURL(n)}},submitAvatar:function(){var t=this;if(this.previews[0]){var e=this.previews[0],s=new Image,n=void 0,a=void 0,i=void 0,r=void 0;s.src=e,s.height>s.width?(n=0,i=s.width,a=Math.floor((s.height-s.width)/2),r=s.width):(a=0,r=s.height,n=Math.floor((s.width-s.height)/2),i=s.height),this.uploading[0]=!0,this.$store.state.api.backendInteractor.updateAvatar({params:{img:e,cropX:n,cropY:a,cropW:i,cropH:r}}).then(function(e){e.error||(t.$store.commit("addNewUsers",[e]),t.$store.commit("setCurrentUser",e),t.previews[0]=null),t.uploading[0]=!1})}},submitBanner:function(){var t=this;if(this.previews[1]){var e=this.previews[1],s=new Image,n=void 0,a=void 0,r=void 0,o=void 0;s.src=e,r=s.width,o=s.height,n=0,a=0,this.uploading[1]=!0,this.$store.state.api.backendInteractor.updateBanner({params:{banner:e,offset_top:n,offset_left:a,width:r,height:o}}).then(function(e){if(!e.error){var s=JSON.parse((0,i.default)(t.$store.state.users.currentUser));s.cover_photo=e.url,t.$store.commit("addNewUsers",[s]),t.$store.commit("setCurrentUser",s),t.previews[1]=null}t.uploading[1]=!1})}},submitBg:function(){var t=this;if(this.previews[2]){var e=this.previews[2],s=new Image,n=void 0,a=void 0,r=void 0,o=void 0;s.src=e,n=0,a=0,r=s.width,o=s.width,this.uploading[2]=!0,this.$store.state.api.backendInteractor.updateBg({params:{img:e,cropX:n,cropY:a,cropW:r,cropH:o}}).then(function(e){if(!e.error){var s=JSON.parse((0,i.default)(t.$store.state.users.currentUser));s.background_image=e.url,t.$store.commit("addNewUsers",[s]),t.$store.commit("setCurrentUser",s),t.previews[2]=null}t.uploading[2]=!1})}}}};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){},function(t,e){},function(t,e){t.exports=["now",["%ss","%ss"],["%smin","%smin"],["%sh","%sh"],["%sd","%sd"],["%sw","%sw"],["%smo","%smo"],["%sy","%sy"]]},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,s){t.exports=s.p+"static/img/nsfw.9399fe3.png"},,function(t,e,s){s(257);var n=s(1)(s(169),s(467),null,null);t.exports=n.exports},function(t,e,s){s(256);var n=s(1)(s(170),s(466),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(171),s(470),null,null);t.exports=n.exports},function(t,e,s){s(261);var n=s(1)(s(173),s(474),null,null);t.exports=n.exports},function(t,e,s){s(263);var n=s(1)(s(174),s(476),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(175),s(472),null,null);t.exports=n.exports},function(t,e,s){s(253);var n=s(1)(s(176),s(463),null,null);t.exports=n.exports},function(t,e,s){s(258);var n=s(1)(s(177),s(468),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(178),s(459),null,null);t.exports=n.exports},function(t,e,s){s(265);var n=s(1)(s(179),s(478),null,null);t.exports=n.exports},function(t,e,s){s(245);var n=s(1)(s(180),s(452),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(182),s(460),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(183),s(469),null,null);t.exports=n.exports},function(t,e,s){s(254);var n=s(1)(s(184),s(464),null,null);t.exports=n.exports},function(t,e,s){s(250);var n=s(1)(s(185),s(458),null,null);t.exports=n.exports},function(t,e,s){s(264);var n=s(1)(s(186),s(477),null,null);t.exports=n.exports},function(t,e,s){s(252);var n=s(1)(s(188),s(462),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(190),s(457),null,null);t.exports=n.exports},function(t,e,s){s(266);var n=s(1)(s(192),s(480),null,null);t.exports=n.exports},function(t,e,s){s(251);var n=s(1)(s(193),s(461),null,null);t.exports=n.exports},function(t,e,s){var n=s(1)(s(194),s(479),null,null);t.exports=n.exports},function(t,e,s){s(255);var n=s(1)(s(195),s(465),null,null);t.exports=n.exports},function(t,e,s){s(260);var n=s(1)(s(196),s(473),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 "+t._s(t.$t("notifications.notifications"))+"\n "),s("button",{staticClass:"base05 base01-background read-button",on:{click:function(e){e.preventDefault(),t.markAsSeen(e)}}},[t._v(t._s(t.$t("notifications.read")))])]),t._v(" "),s("div",{staticClass:"panel-body base03-border"},t._l(t.visibleNotifications,function(e){return s("div",{key:e,staticClass:"notification",class:{unseen:!e.seen}},[s("div",[s("a",{attrs:{href:e.action.user.statusnet_profile_url,target:"_blank"}},[s("img",{staticClass:"avatar",attrs:{src:e.action.user.profile_image_url_original}})])]),t._v(" "),s("div",{staticClass:"text",staticStyle:{width:"100%"}},["favorite"===e.type?s("div",[s("h1",[s("span",{attrs:{title:"@"+e.action.user.screen_name}},[t._v(t._s(e.action.user.name))]),t._v(" "),s("i",{staticClass:"fa icon-star"}),t._v(" "),s("small",[s("router-link",{attrs:{to:{name:"conversation",params:{id:e.status.id}}}},[s("timeago",{attrs:{since:e.action.created_at,"auto-update":240}})],1)],1)]),t._v(" "),s("div",{domProps:{innerHTML:t._s(e.status.statusnet_html)}})]):t._e(),t._v(" "),"repeat"===e.type?s("div",[s("h1",[s("span",{attrs:{title:"@"+e.action.user.screen_name}},[t._v(t._s(e.action.user.name))]),t._v(" "),s("i",{staticClass:"fa icon-retweet lit"}),t._v(" "),s("small",[s("router-link",{attrs:{to:{name:"conversation",params:{id:e.status.id}}}},[s("timeago",{attrs:{since:e.action.created_at,"auto-update":240}})],1)],1)]),t._v(" "),s("div",{domProps:{innerHTML:t._s(e.status.statusnet_html)}})]):t._e(),t._v(" "),"mention"===e.type?s("div",[s("h1",[s("span",{attrs:{title:"@"+e.action.user.screen_name}},[t._v(t._s(e.action.user.name))]),t._v(" "),s("i",{staticClass:"fa icon-reply lit"}),t._v(" "),s("small",[s("router-link",{attrs:{to:{name:"conversation",params:{id:e.status.id}}}},[s("timeago",{attrs:{since:e.action.created_at,"auto-update":240}})],1)],1)]),t._v(" "),s("status",{attrs:{compact:!0,statusoid:e.status}})],1):t._e(),t._v(" "),"follow"===e.type?s("div",[s("h1",[s("span",{attrs:{title:"@"+e.action.user.screen_name}},[t._v(t._s(e.action.user.name))]),t._v(" "),s("i",{staticClass:"fa icon-user-plus lit"})]),t._v(" "),s("div",[s("router-link",{attrs:{to:{name:"user-profile",params:{id:e.action.user.id}}}},[t._v("@"+t._s(e.action.user.screen_name))]),t._v(" "+t._s(t.$t("notifications.followed_you"))+"\n ")],1)]):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:"profile-panel-background",style:t.headingStyle,attrs:{id:"heading"}},[s("div",{staticClass:"panel-heading text-center"},[s("div",{staticClass:"user-info"},[t.isOtherUser?t._e():s("router-link",{staticStyle:{float:"right","margin-top":"16px"},attrs:{to:"/user-settings"}},[s("i",{staticClass:"icon-cog usersettings"})]),t._v(" "),s("div",{staticClass:"container"},[s("router-link",{attrs:{to:{name:"user-profile",params:{id:t.user.id}}}},[s("img",{attrs:{src:t.user.profile_image_url_original}})]),t._v(" "),s("span",{staticClass:"glyphicon glyphicon-user"}),t._v(" "),s("div",{staticClass:"name-and-screen-name"},[s("div",{staticClass:"user-name"},[t._v(t._s(t.user.name))]),t._v(" "),s("router-link",{attrs:{to:{name:"user-profile",params:{id:t.user.id}}}},[s("div",{staticClass:"user-screen-name"},[t._v("@"+t._s(t.user.screen_name))])])],1)],1),t._v(" "),t.isOtherUser?s("div",{staticClass:"user-interactions"},[t.user.follows_you&&t.loggedIn?s("div",{staticClass:"following base06"},[t._v("\n "+t._s(t.$t("user_card.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 "+t._s(t.$t("user_card.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 "+t._s(t.$t("user_card.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("\n "+t._s(t.$t("user_card.muted"))+"\n ")])]):t._e(),t._v(" "),t.user.muted?t._e():s("span",[s("button",{staticClass:"base05 base02-background",on:{click:t.toggleMute}},[t._v("\n "+t._s(t.$t("user_card.mute"))+"\n ")])])]):t._e()]):t._e()],1)]),t._v(" "),s("div",{staticClass:"panel-body profile-panel-body",style:t.bodyStyle},[s("div",{staticClass:"user-counts"},[s("div",{staticClass:"user-count"},[t.switcher?s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.setProfileView("statuses")}}},[s("h5",{staticClass:"base05"},[t._v(t._s(t.$t("user_card.statuses")))])]):s("h5",[t._v(t._s(t.$t("user_card.statuses")))]),t._v(" "),s("span",{staticClass:"base05"},[t._v(t._s(t.user.statuses_count)+" "),s("br"),s("span",{staticClass:"dailyAvg"},[t._v(t._s(t.dailyAvg)+" "+t._s(t.$t("user_card.per_day")))])])]),t._v(" "),s("div",{staticClass:"user-count"},[t.switcher?s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.setProfileView("friends")}}},[s("h5",{staticClass:"base05"},[t._v(t._s(t.$t("user_card.followees")))])]):s("h5",[t._v(t._s(t.$t("user_card.followees")))]),t._v(" "),s("span",{staticClass:"base05"},[t._v(t._s(t.user.friends_count))])]),t._v(" "),s("div",{staticClass:"user-count"},[t.switcher?s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.setProfileView("followers")}}},[s("h5",{staticClass:"base05"},[t._v(t._s(t.$t("user_card.followers")))])]):s("h5",[t._v(t._s(t.$t("user_card.followers")))]),t._v(" "),s("span",{staticClass:"base05"},[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"statuses"==t.viewing?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:"base05 base01-background loadmore-button",on:{click:function(e){e.preventDefault(),t.showNewStatuses(e)}}},[t._v("\n "+t._s(t.$t("timeline.show_new"))+" ("+t._s(t.timeline.newStatusCount)+")\n ")]):t._e(),t._v(" "),t.timelineError?s("div",{staticClass:"base06 error loadmore-text",on:{click:function(t){t.preventDefault()}}},[t._v("\n "+t._s(t.$t("timeline.error_fetching"))+"\n ")]):t._e(),t._v(" "),!t.timeline.newStatusCount>0&&!t.timelineError?s("div",{staticClass:"base04 base01-background loadmore-text",on:{click:function(t){t.preventDefault()}}},[t._v("\n "+t._s(t.$t("timeline.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(t._s(t.$t("timeline.load_older")))])])],2)])]):"followers"==t.viewing?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.$t("user_card.followers"))+"\n ")])]),t._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"timeline"},t._l(t.followers,function(t){return s("user-card",{attrs:{user:t,showFollows:!1}})}))])]):"friends"==t.viewing?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.$t("user_card.followees"))+"\n ")])]),t._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"timeline"},t._l(t.friends,function(t){return s("user-card",{attrs:{user:t,showFollows:!0}})}))])]):t._e()},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"post-status-form"},[s("form",{on:{submit:function(e){e.preventDefault(),t.postStatus(t.newStatus)}}},[s("div",{staticClass:"form-group base03-border"},[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:"1"},domProps:{value:t.newStatus.status},on:{click:t.setCaret,keyup:[t.setCaret,function(e){return("button"in e||!t._k(e.keyCode,"enter",13))&&e.ctrlKey?void t.postStatus(t.newStatus):null}],keydown:function(e){return("button"in e||!t._k(e.keyCode,"enter",13))&&e.metaKey?void t.postStatus(t.newStatus):null},drop:t.fileDrop,dragover:function(e){e.preventDefault(),t.fileDrag(e)},input:[function(e){e.target.composing||(t.newStatus.status=e.target.value)},t.resize]}})]),t._v(" "),t.candidates?s("div",{staticStyle:{position:"relative"}},[s("div",{staticClass:"autocomplete-panel base05-background"},t._l(t.candidates,function(e){return s("div",{staticClass:"autocomplete base01",on:{click:function(s){t.replace(e.screen_name+" ")}}},[s("img",{attrs:{src:e.img}}),t._v(" "),s("span",[t._v("\n "+t._s(e.screen_name)+"\n "),s("small",{staticClass:"base02"},[t._v(t._s(e.name))])])])}))]):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(" "),t.posting?s("button",{staticClass:"btn btn-default base05 base01-background",attrs:{disabled:""}},[t._v("Posting")]):s("button",{staticClass:"btn btn-default base05 base01-background",attrs:{disabled:t.submitDisabled,type:"submit"}},[t._v("Submit")])],1),t._v(" "),t.error?s("div",{staticClass:"error"},[t._v("\n Error: "+t._s(t.error)+"\n "),s("i",{staticClass:"icon-cancel",on:{click:t.clearError}})]):t._e(),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()])}))])])},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,replies:t.getReplies(e.id)},on:{goto:t.setHighlight,preview:t.setPreview}})}))]),t._v(" "),t.preview.status?s("div",{staticClass:"status-preview base00-background base03-border",style:{left:t.preview.x+"px",top:t.preview.y+"px"}},[s("img",{staticClass:"avatar",attrs:{src:t.preview.status.user.profile_image_url_original}}),t._v(" "),s("div",{staticClass:"text"},[s("h4",[t._v("\n "+t._s(t.preview.status.user.name)+"\n "),s("small",[s("a",[t._v(t._s(t.preview.status.user.screen_name))])])]),t._v(" "),s("div",{staticClass:"status-content",domProps:{innerHTML:t._s(t.preview.status.statusnet_html)},on:{click:function(e){e.preventDefault(),t.linkClicked(e)}}})])]):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:t.tag,timeline:t.timeline,"timeline-name":"tag",tag:t.tag}})},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("span",[t.error?s("span",{staticClass:"finder-error base05"},[s("i",{staticClass:"icon-cancel user-finder-icon",on:{click:t.dismissError}}),t._v("\n Error fetching user\n ")]):t._e(),t._v(" "),t.loading?s("i",{staticClass:"icon-spin4 user-finder-icon animate-spin-slow"}):t._e(),t._v(" "),t.hidden?s("a",{attrs:{href:"#"}},[s("i",{staticClass:"icon-user-plus user-finder-icon",on:{click:function(e){e.preventDefault(),t.toggleHidden(e)}}})]):s("span",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.username,expression:"username"}],staticClass:"user-finder-input base03-border",attrs:{placeholder:"Find user",id:"user-finder-input",type:"text"},domProps:{value:t.username},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13)?void t.findUser(t.username):null},input:function(e){e.target.composing||(t.username=e.target.value)}}}),t._v(" "),s("i",{staticClass:"icon-cancel user-finder-icon",on:{click:t.toggleHidden}})])])},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.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.user.password},on:{input:function(e){e.target.composing||(t.user.password=e.target.value)}}})]),t._v(" "),s("div",{staticClass:"form-group"},[s("div",{staticClass:"login-bottom"},[s("div",[t.registrationOpen?s("router-link",{staticClass:"register",attrs:{to:{name:"registration"}}},[t._v("Register")]):t._e()],1),t._v(" "),s("button",{staticClass:"btn btn-default base05 base01-background",attrs:{disabled:t.loggingIn,type:"submit"}},[t._v("Log in")])])]),t._v(" "),t.authError?s("div",{staticClass:"form-group"},[s("div",{staticClass:"error base05"},[t._v(t._s(t.authError))])]):t._e()])])])},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return 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:"container"},[s("div",{staticClass:"text-fields"},[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.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.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.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.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.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.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(" "),s("div",{staticClass:"terms-of-service",domProps:{innerHTML:t._s(t.termsofservice)}})]),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",[t.user?s("div",{staticClass:"user-profile panel panel-default base00-background"},[s("user-card-content",{attrs:{user:t.user,switcher:!0}})],1):t._e(),t._v(" "),s("Timeline",{attrs:{title:"User Timeline",timeline:t.timeline,"timeline-name":"user","user-id":t.userId}})],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:"",loop:""}}),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("user-finder"),t._v(" "),s("router-link",{attrs:{to:{name:"settings"}}},[s("i",{staticClass:"icon-cog"})]),t._v(" "),t.currentUser?s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.logout(e)}}},[s("i",{staticClass:"icon-logout",attrs:{title:"Logout"}})]):t._e()],1)])]),t._v(" "),s("div",{staticClass:"container",attrs:{id:"content"}},[s("div",{staticClass:"panel-switcher"},[s("button",{staticClass:"base01-background base04",on:{click:function(e){t.activatePanel("sidebar")}}},[t._v("Sidebar")]),t._v(" "),s("button",{staticClass:"base01-background base04",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.compact?s("div",{staticClass:"status-el base00-background"},[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.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}})],1)]):t._e(),t._v(" "),t.replying?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}}):t._e()],1):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:"fa icon-eye-off"})])])]:t._e(),t._v(" "),t.muted?t._e():[t.retweet?s("div",{staticClass:"media container retweet-info"},[s("div",{staticClass:"media-left"},[s("i",{staticClass:"fa icon-retweet retweeted"})]),t._v(" "),s("div",{staticClass:"media-body"},[t._v("\n Repeated by "),s("a",{staticStyle:{"font-weight":"bold"},attrs:{href:t.statusoid.user.statusnet_profile_url,title:"@"+t.statusoid.user.screen_name}},[t._v(t._s(t.retweeter))])])]):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",class:{retweeted:t.retweet},attrs:{src:t.status.user.profile_image_url_original},on:{click:function(e){e.preventDefault(),t.toggleUserExpanded(e)}}}),t._v(" "),t.retweet?s("img",{staticClass:"avatar-retweeter",attrs:{src:t.statusoid.user.profile_image_url_original}}):t._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,switcher:!1}})],1):t._e(),t._v(" "),s("div",{staticClass:"user-content"},[s("div",{staticClass:"media-heading"},[s("div",{staticClass:"name-and-links"},[s("h4",{staticClass:"user-name"},[t._v(t._s(t.status.user.name))]),t._v(" "),s("div",{staticClass:"links"},[s("h4",[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(t.status.in_reply_to_status_id)}}},[s("i",{staticClass:"icon-reply",on:{mouseenter:function(e){t.replyEnter(t.status.in_reply_to_status_id,e)},mouseout:function(e){t.replyLeave()}}})])])]: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)],2)]),t._v(" "),t.inConversation?s("h4",{staticClass:"replies"},[t.replies.length?s("small",[t._v("Replies:")]):t._e(),t._v(" "),t._l(t.replies,function(e){return s("small",[s("a",{attrs:{href:"#"},on:{click:function(s){s.preventDefault(),t.gotoOriginal(e.id)},mouseenter:function(s){t.replyEnter(e.id,s)},mouseout:function(e){t.replyLeave()}}},[t._v(t._s(e.name)+" ")])])})],2):t._e()]),t._v(" "),s("div",{staticClass:"heading-icons"},[t.unmuted?s("a",{attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleMute(e)}}},[s("i",{staticClass:"fa icon-eye-off"})]):t._e(),t._v(" "),t.status.is_local?t._e():s("a",{staticClass:"source_url",attrs:{href:t.status.external_url,target:"_blank"}},[s("i",{staticClass:"fa icon-binoculars"})]),t._v(" "),t.expandable?[s("a",{staticClass:"expand",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.toggleExpanded(e)}}},[s("i",{staticClass:"fa icon-plus-squared"})])]:t._e()],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(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Timeline",{attrs:{title:"Friends",timeline:t.timeline,"timeline-name":"friends"}})},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"settings panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base01-background base04"},[t._v("\n "+t._s(t.$t("settings.user_settings"))+"\n ")]),t._v(" "),s("div",{staticClass:"panel-body profile-edit"},[s("div",{staticClass:"setting-item"},[s("h3",[t._v(t._s(t.$t("settings.name_bio")))]),t._v(" "),s("p",[t._v(t._s(t.$t("settings.name")))]),t._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:t.newname,expression:"newname"}],staticClass:"name-changer base03-border",attrs:{id:"username"},domProps:{value:t.user.screen_name,value:t.newname},on:{input:function(e){e.target.composing||(t.newname=e.target.value)}}}),t._v(" "),s("p",[t._v(t._s(t.$t("settings.bio")))]),t._v(" "),s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.newbio,expression:"newbio"}],staticClass:"bio base03-border",domProps:{value:t.newbio},on:{input:function(e){e.target.composing||(t.newbio=e.target.value)}}}),t._v(" "),s("button",{staticClass:"btn btn-default base05 base01-background",attrs:{disabled:t.newname.length<=0},on:{click:t.updateProfile}},[t._v(t._s(t.$t("general.submit")))])]),t._v(" "),s("div",{staticClass:"setting-item"},[s("h3",[t._v(t._s(t.$t("settings.avatar")))]),t._v(" "),s("p",[t._v(t._s(t.$t("settings.current_avatar")))]),t._v(" "),s("img",{staticClass:"old-avatar",attrs:{src:t.user.profile_image_url_original}}),t._v(" "),s("p",[t._v(t._s(t.$t("settings.set_new_avatar")))]),t._v(" "),t.previews[0]?s("img",{staticClass:"new-avatar",attrs:{src:t.previews[0]}}):t._e(),t._v(" "),s("div",[s("input",{attrs:{type:"file"},on:{change:function(e){t.uploadFile(0,e)}}})]),t._v(" "),t.uploading[0]?s("i",{staticClass:"fa icon-spin4 animate-spin"}):t.previews[0]?s("button",{staticClass:"btn btn-default base05 base01-background",on:{click:t.submitAvatar}},[t._v(t._s(t.$t("general.submit")))]):t._e()]),t._v(" "),s("div",{staticClass:"setting-item"},[s("h3",[t._v(t._s(t.$t("settings.profile_banner")))]),t._v(" "),s("p",[t._v(t._s(t.$t("settings.current_profile_banner")))]),t._v(" "),s("img",{staticClass:"banner",attrs:{src:t.user.cover_photo}}),t._v(" "),s("p",[t._v(t._s(t.$t("settings.set_new_profile_banner")))]),t._v(" "),t.previews[1]?s("img",{staticClass:"banner",attrs:{src:t.previews[1]}}):t._e(),t._v(" "),s("div",[s("input",{attrs:{type:"file"},on:{change:function(e){t.uploadFile(1,e)}}})]),t._v(" "),t.uploading[1]?s("i",{staticClass:"fa icon-spin4 animate-spin uploading"}):t.previews[1]?s("button",{staticClass:"btn btn-default base05 base01-background",on:{click:t.submitBanner}},[t._v(t._s(t.$t("general.submit")))]):t._e()]),t._v(" "),s("div",{staticClass:"setting-item"},[s("h3",[t._v(t._s(t.$t("settings.profile_background")))]),t._v(" "),s("p",[t._v(t._s(t.$t("settings.set_new_profile_background")))]),t._v(" "),t.previews[2]?s("img",{staticClass:"bg",attrs:{src:t.previews[2]}}):t._e(),t._v(" "),s("div",[s("input",{attrs:{type:"file"},on:{change:function(e){t.uploadFile(2,e)}}})]),t._v(" "),t.uploading[2]?s("i",{staticClass:"fa icon-spin4 animate-spin uploading"}):t.previews[2]?s("button",{staticClass:"btn btn-default base05 base01-background",on:{click:t.submitBg}},[t._v(t._s(t.$t("general.submit")))]):t._e()])])])},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){
var s=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});t.selected=e.target.multiple?s:s[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 "+t._s(t.$t("settings.settings"))+"\n ")]),t._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"setting-item"},[s("h2",[t._v(t._s(t.$t("settings.theme")))]),t._v(" "),s("style-switcher")],1),t._v(" "),s("div",{staticClass:"setting-item"},[s("h2",[t._v(t._s(t.$t("settings.filtering")))]),t._v(" "),s("p",[t._v(t._s(t.$t("settings.filtering_explanation")))]),t._v(" "),s("textarea",{directives:[{name:"model",rawName:"v-model",value:t.muteWordsString,expression:"muteWordsString"}],attrs:{id:"muteWords"},domProps:{value: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(t._s(t.$t("settings.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:{__c: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(t._s(t.$t("settings.hide_attachments_in_tl")))])]),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:{__c: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(t._s(t.$t("settings.hide_attachments_in_convo")))])]),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:{__c: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(t._s(t.$t("settings.nsfw_clickthrough")))])]),t._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.autoLoadLocal,expression:"autoLoadLocal"}],attrs:{type:"checkbox",id:"autoLoad"},domProps:{checked:Array.isArray(t.autoLoadLocal)?t._i(t.autoLoadLocal,null)>-1:t.autoLoadLocal},on:{__c:function(e){var s=t.autoLoadLocal,n=e.target,a=!!n.checked;if(Array.isArray(s)){var i=null,r=t._i(s,i);a?r<0&&(t.autoLoadLocal=s.concat(i)):r>-1&&(t.autoLoadLocal=s.slice(0,r).concat(s.slice(r+1)))}else t.autoLoadLocal=a}}}),t._v(" "),s("label",{attrs:{for:"autoLoad"}},[t._v(t._s(t.$t("settings.autoload")))])]),t._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.hoverPreviewLocal,expression:"hoverPreviewLocal"}],attrs:{type:"checkbox",id:"hoverPreview"},domProps:{checked:Array.isArray(t.hoverPreviewLocal)?t._i(t.hoverPreviewLocal,null)>-1:t.hoverPreviewLocal},on:{__c:function(e){var s=t.hoverPreviewLocal,n=e.target,a=!!n.checked;if(Array.isArray(s)){var i=null,r=t._i(s,i);a?r<0&&(t.hoverPreviewLocal=s.concat(i)):r>-1&&(t.hoverPreviewLocal=s.slice(0,r).concat(s.slice(r+1)))}else t.hoverPreviewLocal=a}}}),t._v(" "),s("label",{attrs:{for:"hoverPreview"}},[t._v(t._s(t.$t("settings.reply_link_preview")))])])])])])])},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 "+t._s(t.$t("nav.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 "+t._s(t.$t("nav.mentions"))+"\n ")])],1):t._e(),t._v(" "),s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/public"}},[t._v("\n "+t._s(t.$t("nav.public_tl"))+"\n ")])],1),t._v(" "),s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/all"}},[t._v("\n "+t._s(t.$t("nav.twkn"))+"\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,switcher:!1}}),t._v(" "),s("div",{staticClass:"panel-footer base00-background"},[t.user?s("post-status-form"):t._e()],1)],1):t._e(),t._v(" "),t.user?t._e():s("login-form")],1)},staticRenderFns:[]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"card base00-background base03-border"},[s("a",{attrs:{href:"#"}},[s("img",{staticClass:"avatar",attrs:{src:t.user.profile_image_url},on:{click:function(e){e.preventDefault(),t.toggleUserExpanded(e)}}})]),t._v(" "),t.userExpanded?s("div",{staticClass:"base05 base05=border usercard"},[s("user-card-content",{attrs:{user:t.user,switcher:!1}})],1):s("div",{staticClass:"name-and-screen-name"},[s("div",{staticClass:"user-name"},[t._v("\n "+t._s(t.user.name)+"\n "),!t.userExpanded&&t.showFollows&&t.user.follows_you?s("span",{staticClass:"follows-you"},[t._v("\n "+t._s(t.$t("user_card.follows_you"))+"\n ")]):t._e()]),t._v(" "),s("a",{attrs:{href:t.user.statusnet_profile_url,target:"blank"}},[s("div",{staticClass:"user-screen-name"},[t._v("@"+t._s(t.user.screen_name))])])])])},staticRenderFns:[]}}]);
//# sourceMappingURL=app.7008c016496dd60fe79d.js.map