Module 928531

885 characters · in 65cf5d4c33e49008.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){n.d(t,{yx:()=>E,yv:()=>g});var i=n(435558),l=n.n(i),r=n(5180),s=n(749884),a=n(366811),o=n(309010),d=n(711014),c=n(619921),u=n(265422),h=n(652215);let A=l().throttle(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=d.Ay.getFlattenedGuildIds(),n=function(e){let t=a.A.getState().guildId;if(null==t)return -2;if((0,r.ai)(t))return -1;let n=e.indexOf(t);return -1===n?-2:n}(t);if(-1!==(n+=e)||(0,s.J)()||(n+=e),-3===n&&(n=t.length-1),n>=t.length||-2===n)return void(0,u.a)(c.A.getHomeLink());let i=-1===n?h.YYv:t[n],l=o.Ay.getChannelId(i);(0,u.i)(i,l===i?null:l,!1)},h.ugG),E={binds:["mod+alt+down","mod+shift+]","ctrl+tab"],comboKeysBindGlobal:!0,action:e=>(e.preventDefault(),e.stopPropagation(),A(),!1)},g={binds:["mod+alt+up","mod+shift+[","ctrl+shift+tab"],comboKeysBindGlobal:!0,action:e=>(e.preventDefault(),e.stopPropagation(),A(-1),!1)}}