Module 807348

969 characters · in no known chunk
Dependencies
Lazily required by (0)none
Requires (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A2:()=>A,Cx:()=>h,FH:()=>_,If:()=>d,N0:()=>E,Vr:()=>u,ib:()=>c,uq:()=>I});var i,r,a,s,l,o,d=((i={})[i.NONE=0]="NONE",i[i.PLAY=1]="PLAY",i[i.ADD=2]="ADD",i[i.SOUNDMOJI=3]="SOUNDMOJI",i),c=((r={}).ENTRY="entry_sound",r.EXIT="exit_sound",r.DEFAULT="default",r),u=((a={}).ADDED="added",a.UPDATED="updated",a.REMOVED="removed",a),_=((s={}).DEFAULT="default",s.CUSTOM="custom",s);function E(e,t){let{sound_id:n,emoji_id:i,emoji_name:r,user_id:a,available:s,...l}=e;return{...l,soundId:n,guildId:t,emojiId:i,emojiName:r,userId:a,available:s??!0}}function A(e){let{soundId:t,guildId:n,emojiId:i,emojiName:r,userId:a,...s}=e;return{...s,sound_id:t,guild_id:n,emoji_id:i,emoji_name:r,user_id:a}}var h=((l={})[l.FAVORITES=0]="FAVORITES",l[l.GUILD=1]="GUILD",l[l.DEFAULTS=2]="DEFAULTS",l[l.SEARCH=3]="SEARCH",l[l.FREQUENTLY_USED=4]="FREQUENTLY_USED",l[l.TOP_SOUNDS=5]="TOP_SOUNDS",l),I=((o={})[o.SOUND=0]="SOUND",o[o.ADD_SOUND=1]="ADD_SOUND",o)}