Build 533169stable
Module 560010
908 characters · in 898e263ef19c9bbe.js, 3ee4253b98e73f4f.jsDependencies
Source Raw
function(e,t,n){n.d(t,{A:()=>r});var i=n(311907),l=n(73153);let a={};class s extends i.Ay.Store{static displayName="ChannelFollowerStatsStore";getFollowerStatsForChannel(e){return a[e]}}let r=new s(l.h,{CONNECTION_OPEN:function(){a={}},CHANNEL_FOLLOWER_STATS_FETCH_SUCCESS:function(e){let{channelId:t,stats:n}=e;n=null!=n?n:{},a[t]={loadingStatus:"succeeded",lastFetched:Date.now(),channelsFollowing:n.channels_following,guildMembers:n.guild_members,guildsFollowing:n.guilds_following,usersSeenEver:n.users_seen_ever,subscribersGainedSinceLastPost:n.subscribers_gained_since_last_post,subscribersLostSinceLastPost:n.subscribers_lost_since_last_post}},CHANNEL_FOLLOWER_STATS_FETCH_FAILURE:function(e){let{channelId:t}=e;a[t]={loadingStatus:"failed",lastFetched:Date.now(),channelsFollowing:0,guildMembers:0,guildsFollowing:0,usersSeenEver:0,subscribersGainedSinceLastPost:0,subscribersLostSinceLastPost:0}}})}