2017-06-08_509bba0/509bba001a76711dd089.js
2022-07-26 10:06:20 -07:00

2 lines
No EOL
3.2 MiB
Executable file
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.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

webpackJsonp([2],[,function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.PictureInPictureComponents=t.PictureInPicturePositions=t.MouseButtons=t.MAX_REASON_LENGTH=t.VerificationTypes=t.UserRequiredActions=t.AUDIT_LOG_PAGE_LIMIT=t.AuditLogChangeKeys=t.AuditLogTargetTypes=t.AuditLogSubtargetTypes=t.AuditLogActionTypes=t.AuditLogActions=t.Layers=t.CallLayouts=t.CHANNEL_NOTICE_SHOW_DELAY=t.ChannelNoticeTypes=t.UserFlags=t.PublicReleaseChannels=t.UserSearchWorkerMessageTypes=t.AnalyticEvents=t.INVITE_BANNER_MEMBER_THRESHOLD=t.Accessibility=t.QuickSwitcherResultTypes=t.MAX_IMAGE_HEIGHT=t.MAX_IMAGE_WIDTH=t.FancyInputRefs=t.PaymentModelModes=t.PremiumStatusTypes=t.PaymentStatusTypes=t.PaymentSettings=t.CurrencyCodes=t.CurrencySymbols=t.PremiumPlanPrices=t.PremiumPlans=t.SEARCH_POPOUT_ID=t.SEARCH_MONTH_FORMAT=t.SEARCH_DATE_FORMAT=t.SearchPopoutModes=t.SearchAutocompleteGroups=t.SearchTokenTypes=t.NativeFeatures=t.PermissionOverrideType=t.FBSDKEvent=t.SEARCH_BAR_HEIGHT=t.NAV_HEIGHT=t.STATUS_BAR_HEIGHT=t.NAV_BAR_HEIGHT=t.SearchBarStates=t.VerificationModalScenes=t.MentionModalScenes=t.GuildSettingsPermissionSections=t.WebBrowserType=t.SeparatorAction=t.SeparatorType=t.RowType=t.Changeset=t.Fonts=t.Colors=t.AppStates=t.DrawerTypes=t.ROLE_COLORS=t.DEFAULT_ROLE_COLOR=t.DownloadLinks=t.Arrows=t.VERIFIABLE_PLATFORM_TYPES=t.SAFE_PLATFORM_TYPES=t.UNSAFE_PLATFORM_TYPES=t.PlatformTypes=t.RPC_VERSION=t.RPC_PORT_RANGE=t.RPC_STARTING_PORT=t.NAVIGATION_THROTTLE=t.ComponentActions=t.PopoutCallers=t.Experiments=t.ExperimentContextTypes=t.ExperimentTypes=t.ExperimentBuckets=t.RECAPTCHA_SITE_KEY=t.CLYDE_ERROR_MESSAGES=t.AbortCodes=t.NEW_USER_ONBOARDING_MIC_MODES=t.NEW_USER_ONBOARDING_STEPS=t.DIVERSITY_SURROGATES=t.EmojiSprites=t.SearchModes=t.SearchTypes=t.IS_SEARCH_ANSWER_TOKEN=t.IS_SEARCH_FILTER_TOKEN=t.SEARCH_PAGE_SIZE=t.LARGE_SERVER_MEMBER_THRESHOLD=t.MAX_USER_AUTOCOMPLETE_RESULTS=void 0,t.TWITCH_CLIENT_ID=t.MARKETING_URLS=t.DEVICE_PUSH_PROVIDER=t.DEVICE_TOKEN=t.TOKEN_KEY=t.PLACEHOLDER_TAG=t.MAX_GROUP_DM_PARTICIPANTS=t.LARGE_THRESHOLD=t.MAX_MUTUAL_GUILDS=t.MAX_VOICE_USER_LIMIT=t.LOCAL_BOT_ID=t.NON_USER_BOT_DISCRIMINATOR=t.BITRATE_MAX_VIP=t.BITRATE_MAX=t.BITRATE_DEFAULT=t.BITRATE_MIN=t.EMOJI_CATEGORY_CUSTOM=t.EMOJI_CATEGORY_RECENT=t.CUSTOM_EMOJI=t.MAX_PTT_RELEASE_DELAY=t.SPLASH_SIZE=t.AVATAR_MAX_SIZE=t.AVATAR_SIZE=t.NOOP_NULL=t.NOOP=t.ActivityTypes=t.CallModes=t.CallMemberStates=t.ChannelStreamTypes=t.MAX_PREMIUM_ATTACHMENT_SIZE=t.MAX_ATTACHMENT_SIZE=t.MAX_ROLE_LENGTH=t.MAX_TYPING_USERS=t.TYPING_TIMEOUT=t.IDLE_DURATION=t.MAX_PINS_PER_CHANNEL=t.MAX_TTS_LENGTH=t.MAX_MESSAGE_LENGTH=t.MAX_MESSAGE_CACHE_SIZE=t.TRUNCATED_MESSAGE_VIEW_SIZE=t.MAX_LOADED_MESSAGES=t.MAX_MENTIONS_PER_FETCH=t.MAX_MESSAGES_PER_CHANNEL=t.ME=t.UserNotificationSettings=t.ElevatedPermissions=t.RPCCloseCodes=t.RPCErrors=t.RPCEvents=t.RPCCommands=t.RPCDeepLinks=t.RPC_PRIVATE_SCOPE=t.OAuth2Scopes=t.Permissions=t.Routes=t.Endpoints=t.DetectedPlatformAccountsDisplayTypes=t.DMSearchResultTypes=t.RelationshipTypes=t.GuildExplicitContentFilterTypes=t.MFALevels=t.VerificationCriteria=t.VerificationLevels=t.TextareaTypes=t.StatusTypes=t.OverlayAvatarSizes=t.OverlayDisplayUsers=t.OverlayDisplayNames=t.MessageTypesDeletable=t.MessageTypes=t.MessageStates=t.ExplicitContentFilterTypes=t.RTCConnectionQuality=t.RTCConnectionStates=t.GuildFeatures=t.CreateGuildModalScreens=t.InviteNativeAppStates=t.InviteStates=t.NoticeTypes=t.ContextMenuTypes=t.ThemeTypes=t.ChannelTypes=t.InputModes=t.TTSNotificationTypes=t.NotificationPermissionTypes=t.DesktopNotificationTypes=t.SearchSections=t.UserProfileSections=t.FriendsSections=t.ChannelSections=t.ChannelSettingsSections=t.GuildSettingsSections=t.UserSettingsSections=t.RecentMentionsFilters=t.KeybindCustomActions=t.KeybindActions=t.FormStates=t.LoginStates=t.ActionTypes=t.API_HOST=void 0;var r,i,s=n(253),l=o(s),u=n(451),f=n(2622),c=a(f),d=n(389),p=a(d),h=(t.API_HOST=(0,u.parse)("//canary.discordapp.com/api",!1,!0).host||"localhost",t.ActionTypes=(0,l.default)({USER_UPDATE:null,LOAD_REGIONS:null,PREFETCH_MESSAGES:null,LOAD_MESSAGES:null,LOAD_MESSAGES_SUCCESS:null,LOAD_MESSAGES_FAILURE:null,LOAD_MESSAGES_SUCCESS_CACHED:null,TRUNCATE_MESSAGES:null,LOAD_MESSAGES_AROUND_SUCCESS:null,CLEAR_MESSAGES_AROUND_SUCCESS:null,MESSAGE_CREATE:null,MESSAGE_SEND_FAILED:null,MESSAGE_UPDATE:null,MESSAGE_START_EDIT:null,MESSAGE_END_EDIT:null,MESSAGE_DELETE:null,MESSAGE_DELETE_BULK:null,MESSAGE_ACK:null,MESSAGE_REVEAL:null,RECENT_MENTION_DELETE:null,MESSAGE_REACTION_ADD:null,MESSAGE_REACTION_ADD_USERS:null,MESSAGE_REACTION_REMOVE:null,MESSAGE_REACTION_REMOVE_ALL:null,CHANNEL_PINS_ACK:null,CHANNEL_PINS_UPDATE:null,RELATIONSHIP_ADD:null,RELATIONSHIP_REMOVE:null,LOAD_RELATIONSHIPS_SUCCESS:null,LOAD_RELATIONSHIPS_FAILURE:null,LOAD_FRIEND_SUGGESTIONS_SUCCESS:null,LOAD_FRIEND_SUGGESTIONS_FAILURE:null,FRIEND_SUGGESTION_CREATE:null,FRIEND_SUGGESTION_DELETE:null,FRIENDS_SET_SECTION:null,GUILD_UNAVAILABLE:null,GUILD_CREATE:null,GUILD_UPDATE:null,GUILD_DELETE:null,GUILD_EMOJIS_UPDATE:null,GUILD_SYNC:null,EMOJI_DIVERSITY_COLOR_CHANGE:null,EMOJI_UPLOAD_START:null,EMOJI_UPLOAD_STOP:null,EMOJI_FETCH:null,EMOJI_FETCH_SUCCESS:null,EMOJI_FETCH_FAILURE:null,EMOJI_DELETE:null,GUILD_SYNC_ADD:null,GUILD_SELECT:null,GUILD_MOVE:null,DELAYED_GUILD_SELECT:null,DELAYED_CHANNEL_SELECT:null,DELAYED_SELECT_FLUSH:null,GUILD_MEMBERS_REQUEST:null,GUILD_MEMBERS_CHUNK:null,GUILD_ACK:null,CHANGE_LOG_OPEN:null,CHANGE_LOG_CLOSE:null,CHANNEL_CREATE:null,CHANNEL_UPDATE:null,CHANNEL_DELETE:null,CHANNEL_SELECT:null,CHANNEL_ACK:null,CHANNEL_LOCAL_ACK:null,CHANNEL_COLLAPSE:null,CHANNEL_COLLAPSE_MUTED:null,CHANNEL_TOGGLE_SECTION:null,CHANNEL_RECIPIENT_ADD:null,CHANNEL_RECIPIENT_REMOVE:null,GUILD_NSFW_AGREE:null,LOAD_PINNED_MESSAGES:null,LOAD_PINNED_MESSAGES_SUCCESS:null,LOAD_PINNED_MESSAGES_FAILURE:null,VOICE_CHANNEL_SELECT:null,VOICE_CHANNEL_CLEAR:null,ACTIVITY_START:null,TYPING_START:null,TYPING_STOP:null,EXPERIMENT_TRIGGER:null,EXPERIMENT_REGISTER:null,EXPERIMENT_OVERRIDE_TYPE:null,EXPERIMENT_OVERRIDE_BUCKET:null,EXPERIMENTS_FETCH_SUCCESS:null,USER_AUTHORIZED_APPS_UPDATE:null,RPC_APP_CONNECTED:null,RPC_APP_DISCONNECTED:null,RPC_NOTIFICATION_CREATE:null,NEW_USER_FLOW_SET_STEP:null,NEW_USER_FLOW_ADVANCE_STEP:null,NEW_USER_FLOW_SKIP:null,NEW_USER_FLOW_ACCOUNT_SUBMITTED:null,NEW_USER_FLOW_ACCOUNT_UPDATE:null,NEW_USER_FLOW_ACCOUNT_FAILURE:null,NEW_USER_FLOW_ACCOUNT_SUCCESS:null,NEW_USER_FLOW_GUILD_UPDATE:null,NEW_USER_FLOW_GUILD_CREATED:null,NEW_USER_FLOW_GUILD_SUBMITTED:null,NEW_USER_FLOW_GUILD_FAILURE:null,NEW_USER_FLOW_MIC_TEST_START:null,NEW_USER_FLOW_MIC_TEST_STOP:null,NEW_USER_FLOW_SELECT_MIC_INPUT:null,START_SESSION:null,LOGIN:null,LOGIN_SUCCESS:null,LOGIN_FAILURE:null,LOGIN_MFA:null,LOGIN_MFA_STEP:null,LOGIN_MFA_FAILURE:null,LOGIN_RESET:null,FINGERPRINT:null,REGISTER:null,REGISTER_SUCCESS:null,REGISTER_FAILURE:null,VERIFY_SUCCESS:null,VERIFY_FAILURE:null,FORGOT_PASSWORD_SENT:null,LOGOUT:null,UPDATE_TOKEN:null,MFA_ENABLE_SUCCESS:null,MFA_DISABLE_SUCCESS:null,MFA_VIEW_BACKUP_CODES:null,MFA_CLEAR_BACKUP_CODES:null,OAUTH2_TOKEN_REVOKE:null,MODAL_PUSH:null,MODAL_UPDATE:null,MODAL_POP:null,POST_CONNECTION_PENDING_CALLBACK:null,POPOUT_OPEN:null,POPOUT_CLOSE:null,POPOUT_CLOSE_ALL:null,POPOUT_NEEDS_RERENDER:null,POPOUT_DID_RERENDER:null,CONTEXT_MENU_OPEN:null,CONTEXT_MENU_CLOSE:null,TOOLTIP_SHOW:null,TOOLTIP_HIDE:null,TUTORIAL_INDICATOR_SHOW:null,TUTORIAL_INDICATOR_HIDE:null,TUTORIAL_INDICATOR_DISMISS:null,TUTORIAL_INDICATOR_SUPPRESS_ALL:null,UPLOAD_QUEUE:null,UPLOAD_START:null,UPLOAD_PROGRESS:null,UPLOAD_COMPLETE:null,UPLOAD_FAIL:null,UPDATE_CHANNEL_DIMENSIONS:null,UPDATE_CHANNEL_LIST_DIMENSIONS:null,UPDATE_GUILD_LIST_DIMENSIONS:null,CONNECTION_OPEN:null,CONNECTION_RESUMED:null,CONNECTION_CLOSED:null,WINDOW_FOCUS:null,WINDOW_RESIZED:null,PRESENCE_UPDATE:null,PRESENCES_REPLACE:null,VOICE_STATE_UPDATE:null,VOICE_SERVER_UPDATE:null,SPEAKING:null,AUDIO_SET_TEMPORARY_SELF_MUTE:null,AUDIO_TOGGLE_SELF_MUTE:null,AUDIO_TOGGLE_SELF_DEAF:null,AUDIO_TOGGLE_LOCAL_MUTE:null,AUDIO_TOGGLE_MUTE:null,AUDIO_TOGGLE_DEAF:null,AUDIO_ENABLE:null,AUDIO_SET_MODE:null,AUDIO_SET_INPUT_VOLUME:null,AUDIO_SET_OUTPUT_VOLUME:null,AUDIO_SET_LOCAL_VOLUME:null,AUDIO_SET_LOCAL_PAN:null,AUDIO_SET_INPUT_DEVICE:null,AUDIO_SET_OUTPUT_DEVICE:null,MEDIA_ENGINE_SET_VIDEO_DEVICE:null,AUDIO_SET_ECHO_CANCELLATION:null,AUDIO_SET_NOISE_SUPPRESSION:null,AUDIO_SET_AUTOMATIC_GAIN_CONTROL:null,AUDIO_SET_DISPLAY_SILENCE_WARNING:null,AUDIO_SET_ATTENUATION:null,AUDIO_SET_QOS:null,MEDIA_ENGINE_DEVICES:null,AUDIO_VOLUME_CHANGE:null,AUDIO_RESET:null,AUDIO_INPUT_DETECTED:null,AUDIO_SWITCH_SUBSYSTEM:null,AUDIO_SET_CURRENT_APP:null,SET_MEDIA_ENGINE:null,MEDIA_ENGINE_SET_VIDEO_ENABLED:null,MEDIA_ENGINE_SET_DESKTOP_SOURCE:null,USER_SETTINGS_UPDATE:null,USER_REQUIRED_ACTION_UPDATE:null,USER_CONNECTIONS_UPDATE:null,USER_CONNECTIONS_INTEGRATION_JOINING:null,LOAD_RECENT_MENTIONS:null,LOAD_RECENT_MENTIONS_SUCCESS:null,LOAD_RECENT_MENTIONS_FAILURE:null,SET_RECENT_MENTIONS_FILTER:null,TRUNCATE_MENTIONS:null,USER_NOTE_UPDATE:null,KEYBINDS_ADD_KEYBIND:null,KEYBINDS_SET_KEYBIND:null,KEYBINDS_DELETE_KEYBIND:null,KEYBINDS_ENABLE_ALL_KEYBINDS:null,NOTIFICATIONS_SET_DESKTOP_TYPE:null,NOTIFICATIONS_SET_TTS_TYPE:null,NOTIFICATIONS_SET_DISABLED_SOUNDS:null,NOTIFICATIONS_SET_DISABLE_UNREAD_BADGE:null,NOTIFICATIONS_SET_PERMISSION_STATE:null,NOTIFICATION_CREATE:null,NOTIFICATION_CLICK:null,NOTICE_SHOW:null,NOTICE_DISMISS:null,RTC_CONNECTION_STATE:null,RTC_CONNECTION_VIDEO:null,RTC_CONNECTION_PING:null,IN_PROGRESS_TEXT_SAVE:null,IN_PROGRESS_TEXT_CHANGE:null,INVITE_RESOLVE:null,INVITE_RESOLVE_SUCCESS:null,INVITE_RESOLVE_FAILURE:null,INVITE_ACCEPT:null,INVITE_ACCEPT_SUCCESS:null,INVITE_ACCEPT_FAILURE:null,INVITE_APP_OPENING:null,INVITE_APP_OPENED:null,INVITE_APP_NOT_OPENED:null,INVITE_NATIVE_APP_MODAL_OPENING:null,INVITE_NATIVE_APP_MODAL_OPENED:null,INVITE_NATIVE_APP_MODAL_OPEN_FAILED:null,GUILD_BAN_ADD:null,GUILD_BAN_REMOVE:null,GUILD_MEMBER_ADD:null,GUILD_MEMBER_UPDATE:null,GUILD_MEMBER_REMOVE:null,GUILD_ROLE_CREATE:null,GUILD_ROLE_UPDATE:null,GUILD_ROLE_DELETE:null,GUILD_INTEGRATIONS_UPDATE:null,FEATURED_HELP_ARTICLES:null,CHECKING_FOR_UPDATES:null,UPDATE_NOT_AVAILABLE:null,UPDATE_AVAILABLE:null,UPDATE_ERROR:null,UPDATE_DOWNLOADED:null,UPDATE_MANUALLY:null,RUNNING_GAMES_CHANGE:null,RUNNING_STREAMER_TOOLS_CHANGE:null,CANDIDATE_GAMES_CHANGE:null,OVERLAY_GAMES_CHANGE:null,OVERLAY_INSTALL_PROGRESS:null,IDLE:null,AFK:null,PERMISSION_CLEAR_VAD_WARNING:null,PERMISSION_CLEAR_SUPPRESS_WARNING:null,PERMISSION_CLEAR_PTT_ADMIN_WARNING:null,INSTANT_INVITE_CREATE:null,INSTANT_INVITE_CREATE_SUCCESS:null,INSTANT_INVITE_CREATE_FAILURE:null,INSTANT_INVITE_REVOKE_SUCCESS:null,INTEGRATION_QUERY:null,INTEGRATION_QUERY_SUCCESS:null,INTEGRATION_QUERY_FAILURE:null,OVERLAY_SET_ENABLED:null,OVERLAY_SELECT_GUILD:null,OVERLAY_SELECT_CALL:null,OVERLAY_OPEN_USER_POPOUT:null,OVERLAY_SET_DISPLAY_NAME_MODE:null,OVERLAY_SET_DISPLAY_USER_MODE:null,OVERLAY_SET_AVATAR_SIZE_MODE:null,OVERLAY_SET_POSITION:null,OVERLAY_SET_LOCKED:null,USER_GUILD_SETTINGS_UPDATE:null,STREAMER_MODE_UPDATE:null,STREAMING_UPDATE:null,PLATFORM_ACCOUNTS_DETECTING:null,PLATFORM_ACCOUNTS_DETECTED:null,PLATFORM_ACCOUNTS_IGNORE:null,DETECTED_PLATFORM_ACCOUNTS_DISPLAY_TYPE_CHANGE:null,USER_SETTINGS_MODAL_OPEN:null,USER_SETTINGS_MODAL_INIT:null,USER_SETTINGS_MODAL_CLOSE:null,USER_SETTINGS_MODAL_SUBMIT:null,USER_SETTINGS_MODAL_SUBMIT_FAILURE:null,USER_SETTINGS_MODAL_SET_SECTION:null,USER_SETTINGS_MODAL_UPDATE_ACCOUNT:null,USER_SETTINGS_MODAL_UPDATE_AUTHORIZED_APPS:null,USER_SETTINGS_ACCOUNT_INIT:null,USER_SETTINGS_ACCOUNT_CLOSE:null,USER_SETTINGS_ACCOUNT_TOGGLE_EDITING_PROFILE:null,USER_SETTINGS_ACCOUNT_TOGGLE_EDITING_PASSWORD:null,USER_SETTINGS_ACCOUNT_UPDATE_INFO:null,USER_SETTINGS_ACCOUNT_SUBMIT:null,USER_SETTINGS_ACCOUNT_SUBMIT_SUCCESS:null,USER_SETTINGS_ACCOUNT_SUBMIT_FAILURE:null,CREATE_GUILD_MODAL_OPEN:null,CREATE_GUILD_MODAL_SET_SCREEN:null,CREATE_GUILD_MODAL_UPDATE:null,CREATE_GUILD_MODAL_CLOSE:null,CREATE_GUILD_MODAL_SUBMIT:null,CREATE_GUILD_MODAL_SUBMIT_FAILURE:null,JOIN_GUILD_MODAL:null,GUILD_SETTINGS_INIT:null,GUILD_SETTINGS_OPEN:null,GUILD_SETTINGS_CLOSE:null,GUILD_SETTINGS_UPDATE:null,GUILD_SETTINGS_CANCEL_CHANGES:null,GUILD_SETTINGS_SUBMIT:null,GUILD_SETTINGS_SUBMIT_SUCCESS:null,GUILD_SETTINGS_SUBMIT_FAILURE:null,GUILD_SETTINGS_SET_SECTION:null,GUILD_SETTINGS_SET_SEARCH_QUERY:null,GUILD_SETTINGS_LOADED_BANS:null,GUILD_SETTINGS_LOADED_INVITES:null,GUILD_SETTINGS_LOADED_INTEGATIONS:null,GUILD_SETTINGS_ROLE_SELECT:null,GUILD_SETTINGS_SET_EMBED:null,GUILD_SETTINGS_SET_VANITY_URL:null,GUILD_SETTINGS_SET_MFA_SUCCESS:null,GUILD_SETTINGS_VANITY_URL_CLOSE:null,GUILD_SETTINGS_VANITY_URL_RESET:null,GUILD_SETTINGS_VANITY_URL_SET:null,GUILD_SETTINGS_VANITY_URL_ERROR:null,GUILD_SETTINGS_ROLES_INIT:null,GUILD_SETTINGS_ROLES_SORT_UPDATE:null,GUILD_SETTINGS_ROLES_UPDATE_PERMISSIONS:null,GUILD_SETTINGS_ROLES_UPDATE_SETTINGS:null,GUILD_SETTINGS_ROLES_UPDATE_NAME:null,GUILD_SETTINGS_ROLES_UPDATE_COLOR:null,GUILD_SETTINGS_ROLES_SAVE_SUCCESS:null,GUILD_SETTINGS_ROLES_SUBMITTING:null,GUILD_SETTINGS_MODAL_ROLES_START_REORDER:null,GUILD_SETTINGS_MODAL_ROLES_STOP_REORDER:null,GUILD_SETTINGS_MODAL_ROLES_EDIT_ORDER:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_START_EDITING:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_STOP_EDITING:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_CANCEL:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSION_ALLOW:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSION_DENY:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_SUBMITTING:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_SUBMITTING_SUCCESS:null,GUILD_SETTINGS_MODAL_ROLES_PERMISSIONS_SUBMITTING_FAILURE:null,GUILD_SETTINGS_MODAL_CHANNELS_INIT:null,GUILD_SETTINGS_MODAL_CHANNELS_TERMINATE:null,GUILD_SETTINGS_MODAL_CHANNELS_START_REORDER:null,GUILD_SETTINGS_MODAL_CHANNELS_STOP_REORDER:null,GUILD_SETTINGS_MODAL_CHANNELS_EDIT_ORDER:null,GUILD_SETTINGS_MODAL_CHANNELS_ADD_CHANNEL:null,GUILD_SETTINGS_MODAL_CHANNELS_ADD_CHANNEL_FAILURE:null,GUILD_SETTINGS_MODAL_MEMBERS_START_EDITING:null,GUILD_SETTINGS_MODAL_MEMBERS_STOP_EDITING:null,GUILD_SETTINGS_MODAL_MEMBERS_TOGGLE_ROLE:null,GUILD_SETTINGS_MODAL_MEMBERS_ROLES_SAVE:null,GUILD_SETTINGS_MODAL_MEMBERS_ROLES_SAVE_COMPLETE:null,GUILD_SETTINGS_MODAL_MEMBERS_CHANGE_NICKNAME:null,GUILD_SETTINGS_MODAL_MEMBERS_CHANGE_NICKNAME_SUCCESS:null,GUILD_SETTINGS_MODAL_MEMBERS_CHANGE_NICKNAME_FAILURE:null,PAYMENT_MODAL_OPEN:null,PAYMENT_MODAL_CLOSE:null,PAYMENT_MODAL_SUBMIT:null,PAYMENT_PROCESSING:null,PAYMENT_UPDATE_SUCCESS:null,PAYMENT_UPDATE_FAILURE:null,STRIPE_TOKEN_FAILURE:null,BILLING_SYNC:null,BILLING_SYNC_PROFILE_SUCCESS:null,BILLING_SYNC_HISTORY_SUCCESS:null,BILLING_SYNC_ERROR:null,BILLING_SYNC_SUCCESS:null,BILLING_INFO_UPDATE:null,BILLING_INFO_UPDATE_COMPLETE:null,SUBSCRIBE_SUCCESS:null,SUBSCRIBE_FAILURE:null,NOTIFICATION_SETTINGS_MODAL_OPEN:null,NOTIFICATION_SETTINGS_MODAL_CLOSE:null,CREATE_CHANNEL_MODAL_OPEN:null,CREATE_CHANNEL_MODAL_CLOSE:null,CREATE_CHANNEL_MODAL_SUBMIT:null,CREATE_CHANNEL_MODAL_SUBMIT_FAILURE:null,CHANNEL_SETTINGS_OPEN:null,CHANNEL_SETTINGS_INIT:null,CHANNEL_SETTINGS_CLOSE:null,CHANNEL_SETTINGS_UPDATE:null,CHANNEL_SETTINGS_SUBMIT:null,CHANNEL_SETTINGS_SUBMIT_SUCCESS:null,CHANNEL_SETTINGS_SUBMIT_FAILURE:null,CHANNEL_SETTINGS_SET_SECTION:null,CHANNEL_SETTINGS_OVERWRITE_SELECT:null,CHANNEL_SETTINGS_LOADED_INVITES:null,PRIVACY_SETTINGS_MODAL_OPEN:null,PRIVACY_SETTINGS_MODAL_CLOSE:null,CHANGE_NICKNAME_MODAL_OPEN:null,CHANGE_NICKNAME_MODAL_CLOSE:null,CHANGE_NICKNAME_MODAL_SUBMIT:null,CHANGE_NICKNAME_MODAL_SUBMIT_FAILURE:null,CHANGE_VANITY_URL_MODAL_OPEN:null,CHANGE_VANITY_URL_MODAL_CLOSE:null,CHANGE_VANITY_URL_MODAL_SUBMIT:null,CHANGE_VANITY_URL_MODAL_SUBMIT_FAILURE:null,USER_PROFILE_MODAL_OPEN:null,USER_PROFILE_MODAL_CLOSE:null,USER_PROFILE_MODAL_SET_SECTION:null,USER_PROFILE_MODAL_PUSH:null,USER_PROFILE_MODAL_POP:null,USER_PROFILE_MODAL_FETCH_SUCCESS:null,LOAD_MUTUAL_FRIENDS:null,PRUNE_GUILD_MODAL_OPEN:null,PRUNE_GUILD_MODAL_CLOSE:null,STATUS_PAGE_INCIDENT:null,STATUS_PAGE_SCHEDULED_MAINTENANCE:null,STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK:null,GUILD_VERIFICATION_CHECK:null,USER_SEARCH_QUERY:null,USER_SEARCH_SELECT:null,RUNNING_GAME_ADD_OVERRIDE:null,RUNNING_GAME_TOGGLE_BLOCK:null,RUNNING_GAME_TOGGLE_OVERLAY:null,RUNNING_GAME_EDIT_NAME:null,RUNNING_GAME_DELETE_ENTRY:null,UPLOAD_MODAL_POP_FILE:null,UPLOAD_MODAL_PUSH_FILES:null,UPLOAD_MODAL_CLEAR_ALL_FILES:null,PRIVATE_CHANNEL_RECIPIENTS_INVITE_QUERY:null,PRIVATE_CHANNEL_RECIPIENTS_INVITE_SELECT:null,PRIVATE_CHANNEL_RECIPIENTS_ADD_USER:null,PRIVATE_CHANNEL_RECIPIENTS_REMOVE_USER:null,PRIVATE_CHANNEL_CALL_SELECT_PARTICIPANT:null,PRIVATE_CHANNEL_CALL_UPDATE_LAYOUT:null,ACCESSIBILITY_FONT_SCALE_TO:"ACCESSIBILITY_FONT_SCALE_TO",ACCESSIBILITY_ZOOM_TO:"ACCESSIBILITY_ZOOM_TO",ACCESSIBILITY_RESET_TO_DEFAULT:"ACCESSIBILITY_RESET_TO_DEFAULT",ALERT_OPEN:null,ALERT_CLOSE:null,ACTION_SHEET_OPEN:null,ACTION_SHEET_CLOSE:null,SCREEN_UPDATE:null,DRAWER_OPEN:null,DRAWER_CLOSE:null,DRAWER_DRAG_START:null,DRAWER_DRAG_END:null,DRAWER_ENABLE:null,DRAWER_DISABLE:null,BROWSER_UPDATE:null,KEYBOARD_SHOW:null,KEYBOARD_HIDE:null,APP_STATE_UPDATE:null,MENTION_MODAL_OPEN:null,MENTION_MODAL_CLOSE:null,SEARCH_MODAL_OPEN:null,SEARCH_MODAL_CLOSE:null,CALL_CREATE:null,CALL_UPDATE:null,CALL_DELETE:null,CALL_CONNECT:null,CALL_RING:null,INCOMING_CALL_MOVE:null,TEXT_MESSAGE_DOWNLOAD_LINK_SUBMITTING:null,TEXT_MESSAGE_DOWNLOAD_LINK_SUCCESS:null,TEXT_MESSAGE_DOWNLOAD_LINK_FAILURE:null,TEXT_MESSAGE_DOWNLOAD_LINK_RESET:null,INVITE_MODAL_OPEN:null,INVITE_MODAL_CLOSE:null,INVITE_MODAL_ERROR:null,SHOW_KEYBOARD_SHORTCUTS:null,HIDE_KEYBOARD_SHORTCUTS:null,ACTIVATE_RAGING_DEMON:null,DEACTIVATE_RAGING_DEMON:null,CHANNEL_NOTICE_SHOW:null,CHANNEL_NOTICE_HIDE:null,CHANNEL_NOTICE_INVITE_FORCE_CREATE:null,WEBHOOKS_UPDATE:null,WEBHOOKS_FETCHING:null,WEBHOOK_CREATE:null,WEBHOOK_DELETE:null,WEBHOOK_UPDATE:null,MASKED_LINK_ADD_TRUSTED_DOMAIN:null,SEARCH_EDITOR_STATE_CHANGE:null,SEARCH_EDITOR_STATE_CLEAR:null,SEARCH_START:null,SEARCH_INDEXING:null,SEARCH_FINISH:null,SEARCH_ENSURE_SEARCH_STATE:null,SEARCH_AUTOCOMPLETE_QUERY_UPDATE:null,SEARCH_CLEAR_HISTORY:null,SEARCH_SET_SHOW_BLOCKED_RESULTS:null,USER_PAYMENTS_UPDATE:null,USER_BILLING_PROFILE_UPDATE:null,QUICKSWITCHER_SHOW:null,QUICKSWITCHER_HIDE:null,QUICKSWITCHER_SEARCH:null,QUICKSWITCHER_SELECT:null,QUICKSWITCHER_SWITCH_TO:null,LAYER_PUSH:null,LAYER_POP:null,LAYER_POP_ALL:null,AUDIT_LOG_FETCH_START:null,AUDIT_LOG_FETCH_SUCCESS:null,AUDIT_LOG_FETCH_FAIL:null,AUDIT_LOG_FETCH_NEXT_PAGE_START:null,AUDIT_LOG_FETCH_NEXT_PAGE_SUCCESS:null,AUDIT_LOG_FETCH_NEXT_PAGE_FAIL:null,AUDIT_LOG_FILTER_BY_ACTION:null,AUDIT_LOG_FILTER_BY_USER:null,SCREENSHARE_MODAL_OPEN:null,SCREENSHARE_MODAL_CLOSE:null,EMAIL_VERIFICATION_MODAL_OPEN:null,EMAIL_VERIFICATION_MODAL_CLOSE:null,CHANNEL_SETTINGS_PERMISSIONS_INIT:null,CHANNEL_SETTINGS_PERMISSIONS_UPDATE_PERMISSION:null,CHANNEL_SETTINGS_PERMISSIONS_SELECT_PERMISSION:null,CHANNEL_SETTINGS_PERMISSIONS_SUBMITTING:null,CHANNEL_SETTINGS_PERMISSIONS_SAVE_SUCCESS:null,VERIFICATION_ADDING_PHONE:null,VERIFICATION_ADD_PHONE_SUCCESS:null,VERIFICATION_ADD_PHONE_FAILURE:null,VERIFICATION_VERIFYING_PHONE:null,VERIFICATION_VERIFY_PHONE_SUCCESS:null,VERIFICATION_VERIFY_PHONE_FAILURE:null,VERIFICATION_SELECT_COUNTRY:null,VERIFICATION_OPEN_COUNTRY_SELECTOR:null,RPC_SERVER_READY:null,PICTURE_IN_PICTURE_OPEN:null,PICTURE_IN_PICTURE_CLOSE:null,PICTURE_IN_PICTURE_MOVE:null}),t.LoginStates=(0,l.default)({NONE:null,LOGGING_IN:null,MFA_STEP:null,LOGGING_IN_MFA:null}),t.FormStates=(0,l.default)({OPEN:null,SUBMITTING:null,CLOSED:null}),t.KeybindActions=(0,l.default)({SERVER_NEXT:null,SERVER_PREV:null,CHANNEL_NEXT:null,CHANNEL_PREV:null,UNREAD_NEXT:null,UNREAD_PREV:null,MENTION_CHANNEL_NEXT:null,MENTION_CHANNEL_PREV:null,TOGGLE_SETTINGS:null,TOGGLE_HELP:null,TOGGLE_USERS:null,TOGGLE_MENTIONS:null,TOGGLE_CHANNEL_PINS:null,TOGGLE_PREVIOUS_GUILD:null,TOGGLE_MUTE:null,TOGGLE_DEAFEN:null,TOGGLE_HOTKEYS:null,UPLOAD_FILE:null,SEARCH_EMOJIS:null,MARK_CHANNEL_READ:null,MARK_SERVER_READ:null,MENTION_NEXT:null,MENTION_PREV:null,CREATE_DM_GROUP:null,CREATE_GUILD:null,RETURN_TO_AUDIO_CHANNEL:null,CALL_ACCEPT:null,CALL_DECLINE:null,CALL_START:null,SCROLL_UP:null,SCROLL_DOWN:null,TEXTAREA_FOCUS:null,CLOSE_MODAL:null,SUBMIT:null,JUMP_TO_GUILD:null,JUMP_TO_FIRST_UNREAD:null,JUMP_TO_PRESENT:null,FOCUS_SEARCH:null,QUICKSWITCHER_SHOW:null,QUICKSWITCHER_HIDE:null,ZOOM_IN:null,ZOOM_OUT:null,ZOOM_RESET:null}),t.KeybindCustomActions=(0,l.default)({UNASSIGNED:null,PUSH_TO_TALK:null,PUSH_TO_MUTE:null,TOGGLE_MUTE:null,TOGGLE_DEAFEN:null,TOGGLE_OVERLAY:null,TOGGLE_VOICE_MODE:null,TOGGLE_OVERLAY_INPUT_LOCK:null,TOGGLE_STREAMER_MODE:null}),t.RecentMentionsFilters=(0,l.default)({ALL_SERVERS:null,THIS_SERVER:null}),t.UserSettingsSections=(0,l.default)({ACCOUNT:null,CONNECTIONS:null,CONNECTIONS_AUTHORIZED:null,AUTHORIZED_APPS:null,TEXT:null,VOICE:null,PRIVACY_AND_SAFETY:null,NOTIFICATIONS:null,GAMES:null,KEYBINDS:null,APPEARANCE:null,OVERLAY:null,LOCALE:null,STREAMER_MODE:null,PREMIUM:null,EXPERIMENTS:null}),t.GuildSettingsSections=(0,l.default)({LANDING:null,OVERVIEW:null,MEMBERS:null,MEMBER_EDIT:null,MEMBER_KICK:null,MEMBER_BAN:null,CHANNELS:null,CHANNEL_ADD:null,ROLES:null,ROLE_EDIT:null,ROLE_PERMISSIONS:null,BANS:null,INSTANT_INVITES:null,EMBED:null,INTEGRATIONS:null,INTEGRATION_SETTINGS:null,SECURITY:null,VANITY_URL:null,EMOJI:null,WEBHOOKS:null,AUDIT_LOG:null,MODERATION:null,DELETE:null}),t.ChannelSettingsSections=(0,l.default)({OVERVIEW:null,PERMISSIONS:null,INSTANT_INVITES:null,WEBHOOKS:null,DELETE:null,NOTIFICATIONS:null,PINNED_MESSAGES:null,PINNED_CHAT:null,NEW_PERMISSION:null,PERMISSION_OVERRIDES:null}),t.ChannelSections=(0,l.default)({NONE:null,MEMBERS:null,SEARCH:null}),t.FriendsSections=(0,l.default)({ADD_FRIEND:null,ALL:null,ONLINE:null,PENDING:null,BLOCKED:null}),t.UserProfileSections=(0,l.default)({USER_INFO:null,MUTUAL_GUILDS:null,MUTUAL_FRIENDS:null}),t.SearchSections=(0,l.default)({SEARCH:null,CHANNEL:null}),t.DesktopNotificationTypes=(0,l.default)({NEVER:null,ALL:null}),t.NotificationPermissionTypes=(0,l.default)({NEVER:null,ENABLED:null,BLOCKED:null}),t.TTSNotificationTypes=(0,l.default)({NEVER:null,ALL_CHANNELS:null,SELECTED_CHANNEL:null}),t.InputModes=(0,l.default)({PUSH_TO_TALK:null,VOICE_ACTIVITY:null}),t.ChannelTypes={DM:1,GROUP_DM:3,GUILD_TEXT:0,GUILD_VOICE:2},t.ThemeTypes={DARK:"dark",LIGHT:"light"},t.ContextMenuTypes=(0,l.default)({USER_CHANNEL_MEMBERS:null,USER_CHANNEL_MESSAGE:null,USER_CHANNEL_MENTION:null,USER_CHANNEL_TITLE:null,USER_CHANNEL_VOICE:null,USER_PRIVATE_CHANNELS:null,USER_PRIVATE_CHANNELS_MESSAGE:null,USER_SEARCH_RESULTS:null,USER_FRIEND_LIST:null,USER_PROFILE_MUTUAL:null,USER_GROUP_DM:null,USER_CALL_AVATAR:null,USER_GUILD_MEMBERS:null,USER_AUDIT_LOG:null,USER_BANS:null,GUILD_ICON_BAR:null,GUILD_ICON_NEW:null,GUILD_PROFILE_MUTUAL:null,GUILD_HEADER:null,CHANNEL_LIST_TEXT:null,CHANNEL_LIST_VOICE:null,CHANNEL_TITLE:null,CHANNEL_TOPIC:null,CHANNEL_AUDIT_LOG:null,MESSAGE_MAIN:null,MESSAGE_SYSTEM:null,NATIVE_DEFAULT:null,NATIVE_LINK:null,NATIVE_IMAGE:null,NATIVE_TEXT:null,NATIVE_INPUT:null}),t.NoticeTypes=(0,l.default)({GENERIC:null,UNCLAIMED_ACCOUNT:null,DOWNLOAD_NAG:null,VOICE_DISABLED:null,SCHEDULED_MAINTENANCE:null,CREATE_SERVER_NAG:null,NO_INPUT_DETECTED:null,STREAMER_MODE:null,RPC_CONNECTIONS:null,DETECTED_PLATFORM_ACCOUNTS:null,DOWNLOAD_MOBILE_APPS:null,SURVEY:null,CORRUPT_INSTALLATION:null}),t.InviteStates=(0,l.default)({RESOLVING:null,RESOLVED:null,EXPIRED:null,ACCEPTING:null,ACCEPTED:null,APP_OPENING:null,APP_OPENED:null,APP_NOT_OPENED:null}),t.InviteNativeAppStates=(0,l.default)({OPENING:null,OPEN:null,OPEN_FAIL:null}),t.CreateGuildModalScreens={Choose:0,CreateGuild:1,JoinGuild:2},t.GuildFeatures=(0,l.default)({INVITE_SPLASH:null,VIP_REGIONS:null,VANITY_URL:null}),t.RTCConnectionStates=(0,l.default)({DISCONNECTED:null,AWAITING_ENDPOINT:null,AUTHENTICATING:null,CONNECTING:null,CONNECTED:null,RTC_DISCONNECTED:null,RTC_CONNECTING:null,RTC_CONNECTED:null,NO_ROUTE:null,ICE_CHECKING:null}),t.RTCConnectionQuality={UNKNOWN:"unknown",BAD:"bad",AVERAGE:"average",FINE:"fine"},t.ExplicitContentFilterTypes={DISABLED:0,NON_FRIENDS:1,FRIENDS_AND_NON_FRIENDS:2},t.MessageStates=(0,l.default)({SENT:null,SENDING:null,SEND_FAILED:null}),t.MessageTypes={DEFAULT:0,RECIPIENT_ADD:1,RECIPIENT_REMOVE:2,CALL:3,CHANNEL_NAME_CHANGE:4,CHANNEL_ICON_CHANGE:5,CHANNEL_PINNED_MESSAGE:6,GUILD_MEMBER_JOIN:7}),g=(t.MessageTypesDeletable=(r={},r[h.DEFAULT]=!0,r[h.GUILD_MEMBER_JOIN]=!0,r[h.CHANNEL_PINNED_MESSAGE]=!0,r),t.OverlayDisplayNames=(0,l.default)({ALWAYS:null,NEVER:null,ONLY_WHILE_SPEAKING:null}),t.OverlayDisplayUsers=(0,l.default)({ALWAYS:null,ONLY_WHILE_SPEAKING:null}),t.OverlayAvatarSizes={LARGE:"large",SMALL:"small"},t.StatusTypes={ONLINE:"online",OFFLINE:"offline",IDLE:"idle",DND:"dnd",INVISIBLE:"invisible",UNKNOWN:"unknown",MUTED:"muted",DEAFENED:"deafened"},t.TextareaTypes={NORMAL:"normal",EDIT:"edit",FORM:"form"},t.VerificationLevels={NONE:0,LOW:1,MEDIUM:2,HIGH:3,VERY_HIGH:4},t.VerificationCriteria={ACCOUNT_AGE:5,MEMBER_AGE:10},t.MFALevels={NONE:0,ELEVATED:1},t.GuildExplicitContentFilterTypes={DISABLED:0,MEMBERS_WITHOUT_ROLES:1,ALL_MEMBERS:2},t.RelationshipTypes={NONE:0,FRIEND:1,BLOCKED:2,PENDING_INCOMING:3,PENDING_OUTGOING:4},t.DMSearchResultTypes=(0,l.default)({CHANNEL:null,USER:null}),t.DetectedPlatformAccountsDisplayTypes=(0,l.default)({NONE:null,NOTICE:null,MODAL:null}),t.Endpoints={USER_RELATIONSHIPS:function(){return"/users/"+(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"@me")+"/relationships"},USER_PROFILE:function(e){return"/users/"+e+"/profile"},USER_CHANNELS:function(e){return"/users/"+e+"/channels"},USER_GAMES_START:"/users/@me/games/start",GUILD_ACK:function(e){return"/guilds/"+e+"/ack"},GUILD_CHANNELS:function(e){return"/guilds/"+e+"/channels"},GUILD_MEMBERS:function(e){return"/guilds/"+e+"/members"},GUILD_MEMBER:function(e,t){return"/guilds/"+e+"/members/"+t},GUILD_INTEGRATIONS:function(e){return"/guilds/"+e+"/integrations"},GUILD_BANS:function(e){return"/guilds/"+e+"/bans"},GUILD_BAN:function(e,t){return"/guilds/"+e+"/bans/"+t},GUILD_ROLES:function(e){return"/guilds/"+e+"/roles"},GUILD_ROLE:function(e,t){return"/guilds/"+e+"/roles/"+t},GUILD_INSTANT_INVITES:function(e){return"/guilds/"+e+"/invites"},GUILD_EMBED:function(e){return"/guilds/"+e+"/embed"},GUILD_VANITY_URL:function(e){return"/guilds/"+e+"/vanity-url"},GUILD_MFA:function(e){return"/guilds/"+e+"/mfa"},GUILD_PRUNE:function(e){return"/guilds/"+e+"/prune"},GUILD_ICON:function(e,t){return"/guilds/"+e+"/icons/"+t+".jpg"},GUILD_EMOJIS:function(e){return"/guilds/"+e+"/emojis"},GUILD_EMOJI:function(e,t){return"/guilds/"+e+"/emojis/"+t},GUILD_AUDIT_LOG:function(e){return"/guilds/"+e+"/audit-logs"},EMOJI:function(e){return"/emojis/"+e+".png"},GUILD_SPLASH:function(e,t){return"/guilds/"+e+"/splashes/"+t+".jpg"},GUILDS:"/guilds",GUILD:function(e){return"/guilds/"+e},CHANNELS:"/channels",AVATAR:function(e,t){return"/users/"+e+"/avatars/"+t+".jpg"},MESSAGES:function(e){return"/channels/"+e+"/messages"},MESSAGES_ACK:function(e,t){return"/channels/"+e+"/messages/"+t+"/ack"},PINS_ACK:function(e){return"/channels/"+e+"/pins/ack"},PINS:function(e){return"/channels/"+e+"/pins"},PIN:function(e,t){return"/channels/"+e+"/pins/"+t},INSTANT_INVITES:function(e){return"/channels/"+e+"/invites"},TYPING:function(e){return"/channels/"+e+"/typing"},CHANNEL_PERMISSIONS:function(e){return"/channels/"+e+"/permissions"},CHANNEL_RECIPIENTS:function(e){return"/channels/"+e+"/recipients"},CHANNEL_ICON:function(e,t){return"/channels/"+e+"/icons/"+t+".jpg"},CHANNEL_CONVERT:function(e){return"/channels/"+e+"/convert"},FRIEND_SUGGESTIONS:"/friend-suggestions",TUTORIAL:"/tutorial",TUTORIAL_INDICATORS:"/tutorial/indicators",USERS:"/users",ME:"/users/@me",DEVICES:"/users/@me/devices",SETTINGS:"/users/@me/settings",PHONE:"/users/@me/phone",VERIFY_PHONE:"/users/@me/phone/verify",CONNECTIONS:"/users/@me/connections",CONNECTIONS_AUTHORIZE:function(e){return"/connections/"+e+"/authorize"},CONNECTIONS_CALLBACK:function(e){return"/connections/"+e+"/callback"},CONNECTION:function(e,t){return"/users/@me/connections/"+e+"/"+t},NOTES:"/users/@me/notes",MENTIONS:"/users/@me/mentions",MENTIONS_MESSAGE_ID:function(e){return"/users/@me/mentions/"+e},CAPTCHA:"/users/@me/captcha/verify",EXPERIMENTS:"/experiments",LOGIN:"/auth/login",LOGIN_MFA:"/auth/mfa/totp",LOGOUT:"/auth/logout",REGISTER:"/auth/register",INVITE:"/invite",TRACK:"/track",SSO:"/sso",VERIFY:"/auth/verify",AUTHORIZE_IP:"/auth/authorize-ip",VERIFY_RESEND:"/auth/verify/resend",FORGOT_PASSWORD:"/auth/forgot",RESET_PASSWORD:"/auth/reset",REGIONS:function(e){return null!=e?"/guilds/"+e+"/regions":"/voice/regions"},ICE:"/voice/ice",REPORT:"/report",INTEGRATIONS:"/integrations",INTEGRATIONS_JOIN:function(e){return"/integrations/"+e+"/join"},GATEWAY:"/gateway",USER_GUILD_SETTINGS:function(e){return"/users/@me/guilds/"+e+"/settings"},APPLICATIONS:"/applications",APPLICATION_ICON:function(e,t){return"/applications/"+e+"/icons/"+t+".jpg"},APPLICATION_RPC:function(e){return"/oauth2/applications/"+e+"/rpc"},OAUTH2_AUTHORIZE:"/oauth2/authorize",OAUTH2_AUTHORIZE_WEBHOOK_CHANNELS:"/oauth2/authorize/webhook-channels",OAUTH2_CURRENT_AUTH:"/oauth2/@me",OAUTH2_RPC_TOKEN:"/oauth2/token/rpc",OAUTH2_TOKENS:"/oauth2/tokens",OAUTH2_TOKEN:function(e){return"/oauth2/tokens/"+e},OAUTH2_WHITELIST_ACCEPT:"/oauth2/whitelist/accept",MFA_TOTP_ENABLE:"/users/@me/mfa/totp/enable",MFA_TOTP_DISABLE:"/users/@me/mfa/totp/disable",MFA_CODES:"/users/@me/mfa/codes",CALL:function(e){return"/channels/"+e+"/call"},CALL_RING:function(e){return"/channels/"+e+"/call/ring"},CALL_STOP_RINGING:function(e){return"/channels/"+e+"/call/stop-ringing"},MOBILE_TEXT_LINK:"/download/sms",DISABLE_EMAIL_NOTIFICATIONS:"/users/disable-email-notifications",CHANNEL_WEBHOOKS:function(e){return"/channels/"+e+"/webhooks"},GUILD_WEBHOOKS:function(e){return"/guilds/"+e+"/webhooks"},WEBHOOK:function(e){return"/webhooks/"+e},WEBHOOK_INTEGRATION:function(e,t){return"/webhooks/"+e+"/"+t},REACTIONS:function(e,t,n){return"/channels/"+e+"/messages/"+t+"/reactions/"+n},REMOVE_REACTIONS:function(e,t){return"/channels/"+e+"/messages/"+t+"/reactions"},REACTION:function(e,t,n,a){return"/channels/"+e+"/messages/"+t+"/reactions/"+n+"/"+a},SEARCH_GUILD:function(e){return"/guilds/"+e+"/messages/search"},SEARCH_CHANNEL:function(e){return"/channels/"+e+"/messages/search"},BILLING:"/users/@me/billing",BILLING_PREMIUM_SUBSCRIPTION:"/users/@me/billing/premium-subscription",BILLING_PAYMENT_SOURCE:"/users/@me/billing/payment-source",BILLING_HISTORY:"/users/@me/billing/payments",USER_AGREEMENTS:"/users/@me/agreements"},t.Routes={FRIENDS:"/channels/@me",ME:"/channels/@me",GUILD:function(e){return"/channels/"+e},CHANNEL:function(e,t){return"/channels/"+e+"/"+t},MESSAGE:function(e,t,n){return"/channels/"+(e||m)+"/"+t+"?jump="+n},LOGIN:"/login",REGISTER:"/register",INVITE:function(e){return"/invite/"+e},INVITE_PROXY:function(e){return"/invite-proxy/"+e},WELCOME:function(e,t,n){return"/channels/welcome/"+e+"/"+t+"/"+n},VERIFY:"/verify",RESET:"/reset",APPS:"/apps",CONNECTIONS:function(e){return"/connections/"+e},OAUTH2_AUTHORIZE:"/oauth2/authorize",OAUTH2_AUTHORIZED:"/oauth2/authorized",OAUTH2_ERROR:"/oauth2/error",SETTINGS:function(e,t){return"/settings/"+e+(t?"/"+t:"")}},t.Permissions={CREATE_INSTANT_INVITE:1,KICK_MEMBERS:2,BAN_MEMBERS:4,ADMINISTRATOR:8,MANAGE_CHANNELS:16,MANAGE_GUILD:32,CHANGE_NICKNAME:1<<26,MANAGE_NICKNAMES:1<<27,MANAGE_ROLES:1<<28,MANAGE_WEBHOOKS:1<<29,MANAGE_EMOJIS:1<<30,VIEW_AUDIT_LOG:128,READ_MESSAGES:1024,SEND_MESSAGES:2048,SEND_TSS_MESSAGES:4096,MANAGE_MESSAGES:8192,EMBED_LINKS:16384,ATTACH_FILES:32768,READ_MESSAGE_HISTORY:65536,MENTION_EVERYONE:1<<17,USE_EXTERNAL_EMOJIS:1<<18,ADD_REACTIONS:64,CONNECT:1<<20,SPEAK:1<<21,MUTE_MEMBERS:1<<22,DEAFEN_MEMBERS:1<<23,MOVE_MEMBERS:1<<24,USE_VAD:1<<25}),m=(t.OAuth2Scopes=p.OAuth2Scopes,t.RPC_PRIVATE_SCOPE="RPC_PRIVATE_SCOPE",t.RPCDeepLinks=(0,l.default)({USER_SETTINGS:null}),t.RPCCommands=(0,l.default)({DISPATCH:null,AUTHORIZE:null,AUTHENTICATE:null,GET_GUILD:null,GET_GUILDS:null,GET_CHANNEL:null,GET_CHANNELS:null,SUBSCRIBE:null,UNSUBSCRIBE:null,SET_USER_VOICE_SETTINGS:null,SELECT_VOICE_CHANNEL:null,GET_SELECTED_VOICE_CHANNEL:null,SELECT_TEXT_CHANNEL:null,GET_VOICE_SETTINGS:null,SET_VOICE_SETTINGS:null,CAPTURE_SHORTCUT:null,INVITE_BROWSER:null,DEEP_LINK:null,CONNECTIONS_CALLBACK:null,OVERLAY:null}),t.RPCEvents=(0,l.default)({GUILD_STATUS:null,GUILD_CREATE:null,CHANNEL_CREATE:null,VOICE_CHANNEL_SELECT:null,VOICE_STATE_CREATE:null,VOICE_STATE_DELETE:null,VOICE_STATE_UPDATE:null,VOICE_SETTINGS_UPDATE:null,VOICE_CONNECTION_STATUS:null,SPEAKING_START:null,SPEAKING_STOP:null,NOTIFICATION_CREATE:null,MESSAGE_CREATE:null,MESSAGE_UPDATE:null,MESSAGE_DELETE:null,CAPTURE_SHORTCUT_CHANGE:null,OVERLAY:null,READY:null,ERROR:null}),t.RPCErrors={UNKNOWN_ERROR:1e3,INVALID_PAYLOAD:4e3,INVALID_COMMAND:4002,INVALID_GUILD:4003,INVALID_EVENT:4004,INVALID_CHANNEL:4005,INVALID_PERMISSIONS:4006,INVALID_CLIENTID:4007,INVALID_ORIGIN:4008,INVALID_TOKEN:4009,INVALID_USER:4010,INVALID_INVITE:4011,OAUTH2_ERROR:5e3,SELECT_CHANNEL_TIMED_OUT:5001,GET_GUILD_TIMED_OUT:5002,SELECT_VOICE_FORCE_REQUIRED:5003,CAPTURE_SHORTCUT_ALREADY_LISTENING:5004},t.RPCCloseCodes={CLOSE_NORMAL:1e3,CLOSE_ABNORMAL:1006,INVALID_CLIENTID:4e3,INVALID_ORIGIN:4001,RATELIMITED:4002,TOKEN_REVOKED:4003,INVALID_VERSION:4004,INVALID_ENCODING:4005},t.ElevatedPermissions=[g.KICK_MEMBERS,g.BAN_MEMBERS,g.ADMINISTRATOR,g.MANAGE_CHANNELS,g.MANAGE_GUILD,g.MANAGE_ROLES,g.MANAGE_MESSAGES].reduce(function(e,t){return e|t},0),t.UserNotificationSettings={ALL_MESSAGES:0,ONLY_MENTIONS:1,NO_MESSAGES:2,NULL:3},t.ME="@me"),v=t.MAX_MESSAGES_PER_CHANNEL=50,E=(t.MAX_MENTIONS_PER_FETCH=25,t.MAX_LOADED_MESSAGES=4*v),y=(t.TRUNCATED_MESSAGE_VIEW_SIZE=.5*E,t.MAX_MESSAGE_CACHE_SIZE=5*v,t.MAX_MESSAGE_LENGTH=2e3,t.MAX_TTS_LENGTH=200,t.MAX_PINS_PER_CHANNEL=50,t.IDLE_DURATION=6e5,t.TYPING_TIMEOUT=1e4,t.MAX_TYPING_USERS=5,t.MAX_ROLE_LENGTH=32,t.MAX_ATTACHMENT_SIZE=8388608,t.MAX_PREMIUM_ATTACHMENT_SIZE=52428800,t.ChannelStreamTypes=(0,l.default)({MESSAGE_GROUP:null,MESSAGE_GROUP_BLOCKED:null,DIVIDER_TIME_STAMP:null,DIVIDER_NEW_MESSAGES:null,JUMP_TARGET:null}),t.CallMemberStates=(0,l.default)({NONE:null,IN_CALL:null,RINGING:null}),t.CallModes={VIDEO:"video",VOICE:"voice"},t.ActivityTypes={PLAYING:0,STREAMING:1},t.NOOP=function(){},t.NOOP_NULL=function(){return null},t.AVATAR_SIZE=128,t.AVATAR_MAX_SIZE=1024,t.SPLASH_SIZE=2048,t.MAX_PTT_RELEASE_DELAY=2e3,t.CUSTOM_EMOJI="CUSTOM_EMOJI",t.EMOJI_CATEGORY_RECENT="recent",t.EMOJI_CATEGORY_CUSTOM="custom",t.BITRATE_MIN=8e3,t.BITRATE_DEFAULT=64e3,t.BITRATE_MAX=96e3,t.BITRATE_MAX_VIP=128e3,t.NON_USER_BOT_DISCRIMINATOR="0000",t.LOCAL_BOT_ID="1",t.MAX_VOICE_USER_LIMIT=99,t.MAX_MUTUAL_GUILDS=5,t.LARGE_THRESHOLD=100,t.MAX_GROUP_DM_PARTICIPANTS=10,t.PLACEHOLDER_TAG="#0000",t.TOKEN_KEY="token",t.DEVICE_TOKEN="DEVICE_TOKEN",t.DEVICE_PUSH_PROVIDER=null,t.MARKETING_URLS={API_DOCS:"//discordapp.com/developers/docs/intro",COMPANY:"//discordapp.com/company",PARTNERS:"//discordapp.com/partners",HYPESQUAD:"//discordapp.com/hypesquad",TERMS:"//discordapp.com/terms",PRIVACY:"//discordapp.com/privacy",GUIDELINES:"//discordapp.com/guidelines"},t.TWITCH_CLIENT_ID="33kozedd0zs6fbauka98psnc7zwom2s",t.MAX_USER_AUTOCOMPLETE_RESULTS=10,t.LARGE_SERVER_MEMBER_THRESHOLD=100,t.SEARCH_PAGE_SIZE=25,t.IS_SEARCH_FILTER_TOKEN=/^FILTER_/,t.IS_SEARCH_ANSWER_TOKEN=/^ANSWER_/,t.SearchTypes=(0,l.default)({GUILD:null,CHANNEL:null}),t.SearchModes={RECENT:"timestamp",RELEVANT:"relevance"},t.EmojiSprites={NonDiversityPerRow:42,DiversityPerRow:10,PickerPerRow:11,PickerCount:50},t.DIVERSITY_SURROGATES=["🏻","🏼","🏽","🏾","🏿"],t.NEW_USER_ONBOARDING_STEPS=(0,l.default)({INITIAL:null,DISABLED:null,MARKETING:null,AVATAR_UPLOAD:null,GUILD_SETTINGS:null,GRANT_MIC_ACCESS:null,MIC_TEST:null,CHAT_EXAMPLE:null,APP_DOWNLOADS:null,CLAIM_ACCOUNT:null}),t.NEW_USER_ONBOARDING_MIC_MODES=(0,l.default)({WAITING:null,LOADING:null,LISTENING:null,SUCCESS:null,ERROR:null}),t.AbortCodes={UNKNOWN_ACCOUNT:10001,UNKNOWN_APPLICATION:10002,UNKNOWN_CHANNEL:10003,UNKNOWN_GUILD:10004,UNKNOWN_INTEGRATION:10005,UNKNOWN_INVITE:10006,UNKNOWN_MEMBER:10007,UNKNOWN_MESSAGE:10008,UNKNOWN_OVERWRITE:10009,UNKNOWN_PLATFORM:10010,UNKNOWN_ROLE:10011,UNKNOWN_TOKEN:10012,UNKNOWN_USER:10013,UNKNOWN_EMOJI:10014,UNKNOWN_WEBHOOK:10015,BOT_DISALLOWED:20001,BOT_REQUIRED:20002,RPC_PROXY_DISALLOWED:20003,EXPLICIT_CONTENT:20009,TOO_MANY_USER_GUILDS:30001,TOO_MANY_BOT_GUILDS:30001,TOO_MANY_FRIENDS:30002,TOO_MANY_PINS_IN_CHANNEL:30003,TOO_MANY_RECIPIENTS:30004,TOO_MANY_GUILD_ROLES:30005,TOO_MANY_USING_USERNAME:30006,TOO_MANY_WEBHOOKS:30007,TOO_MANY_REACTIONS:30010,UNAUTHORIZED:40001,EMAIL_VERIFICATION_REQUIRED:40002,RATE_LIMIT_DM_OPEN:40003,SEND_MESSAGE_TEMPORARILY_DISABLED:40004,INVALID_ACCESS:50001,INVALID_ACCOUNT_TYPE:50002,INVALID_ACTION_DM:50003,INVALID_EMBED_DISABLED:50004,INVALID_MESSAGE_AUTHOR:50005,INVALID_MESSAGE_EMPTY:50006,INVALID_MESSAGE_SEND_USER:50007,INVALID_MESSAGE_SEND_VOICE:50008,INVALID_MESSAGE_VERIFICATION_LEVEL:50009,INVALID_OAUTH_APP_BOT:50010,INVALID_OAUTH_APP_LIMIT:50011,INVALID_OAUTH_STATE:50012,INVALID_PERMISSIONS:50013,INVALID_TOKEN:50014,INVALID_NOTE:50015,INVALID_BULK_DELETE_COUNT:50016,INVALID_MFA_LEVEL:50017,INVALID_PASSWORD:50018,INVALID_PIN_MESSAGE_CHANNEL:50019,INVALID_INVITE_CODE:50020,INVALID_PHONE_NUMBER:50022,INVALID_CLIENT_ID:50023,INVALID_CHANNEL_TYPE:50024,INVALID_OAUTH2_ACCESS_TOKEN:50025,INVALID_OAUTH2_MISSING_SCOPE:50026,INVALID_WEBHOOK_TOKEN:50027,MFA_ENABLED:60001,MFA_DISABLED:60002,MFA_REQUIRED:60003,MFA_UNVERIFIED:60004,MFA_INVALID_SECRET:60005,MFA_INVALID_TICKET:60006,MFA_INVALID_CODE:60008,MFA_INVALID_SESSION:60009,PHONE_NUMBER_UNABLE_TO_SEND:70003,RELATIONSHIP_INCOMING_DISABLED:8e4,RELATIONSHIP_INCOMING_BLOCKED:80001,RELATIONSHIP_INVALUD_USER_BOT:80002,RELATIONSHIP_INVALID_SELF:80003,RELATIONSHIP_INVALID_DISCORD_TAG:80004,REACTION_BLOCKED:90001}),_=(t.CLYDE_ERROR_MESSAGES=(i={},i[y.EMAIL_VERIFICATION_REQUIRED]="BOT_REQUIRES_EMAIL_VERIFICATION",i[y.INVALID_MESSAGE_SEND_USER]="BOT_DM_SEND_FAILED",i[y.RATE_LIMIT_DM_OPEN]="BOT_DM_RATE_LIMITED",i[y.SEND_MESSAGE_TEMPORARILY_DISABLED]="BOT_DM_SEND_MESSAGE_TEMPORARILY_DISABLED",i.DEFAULT="BOT_DM_SEND_FAILED",i),t.RECAPTCHA_SITE_KEY=p.RECAPTCHA_SITE_KEY,t.ExperimentBuckets={NOT_ELIGIBLE:-1,CONTROL:0,TREATMENT_1:1,TREATMENT_2:2,TREATMENT_3:3,TREATMENT_4:4,TREATMENT_5:5,TREATMENT_6:6,TREATMENT_7:7},t.ExperimentTypes={GUILD:"guild",USER:"user",DEVELOPER:"developer",NONE:"none"},t.ExperimentContextTypes={GUILD:"guild",CHANNEL:"channel"},t.Experiments={RECOMMEND_MOBILE_NOTICE:"recommend_mobile_notice",SURVEY_VIDEO_CHAT:"survey_video_chat",INVITE_PERIOD:"2017-04_invite-period",CHANNEL_CATEGORIES:"channel_categories"},t.PopoutCallers=(0,l.default)({CALL:null,GROUP_DM:null}),t.ComponentActions={MODAL_SUBMIT:"MODAL_SUBMIT",MODAL_CLOSE:"MODAL_CLOSE",TEXTAREA_FOCUS:"TEXTAREA_FOCUS",TEXTAREA_BLUR:"TEXTAREA_BLUR",SCROLLTO_PRESENT:"SCROLLTO_PRESENT",SCROLLTO_CHANNEL:"SCROLLTO_CHANNEL",TOGGLE_CHANNEL_PINS:"TOGGLE_CHANNEL_PINS",TOGGLE_MENTIONS:"TOGGLE_MENTIONS",TOGGLE_EMOJI_POPOUT:"TOGGLE_EMOJI_POPOUT",TOGGLE_DM_CREATE:"TOGGLE_DM_CREATE",INSERT_TEXT:"INSERT_TEXT",SCROLL_PAGE_DOWN:"SCROLL_PAGE_DOWN",SCROLL_PAGE_UP:"SCROLL_PAGE_UP",FOCUS_FRIEND_SEARCH:"FOCUS_FRIEND_SEARCH",BLUR_INPUT:"BLUR_INPUT",POPOUT_CLOSE:"POPOUT_CLOSE",TOGGLE_HELP_MODAL:"TOGGLE_HELP_MODAL",UPLOAD_FILE:"UPLOAD_FILE",CALL_ACCEPT:"CALL_ACCEPT",CALL_DECLINE:"CALL_DECLINE",CALL_START:"CALL_START",DDR_ARROW_DOWN:"DDR_ARROW_DOWN",DDR_ARROW_UP:"DDR_ARROW_UP",SHAKE_APP:"SHAKE_APP",EMPHASIZE_NOTICE:"EMPHASIZE_NOTICE",TOGGLE_REACTION_POPOUT:function(e){return"TOGGLE_REACTION_POPOUT_"+e},SET_SEARCH_QUERY:"SET_SEARCH_QUERY",FOCUS_SEARCH:"FOCUS_SEARCH",PERFORM_SEARCH:"PERFORM_SEARCH",QUICKSWITCHER_RESULT_FOCUS:"QUICKSWITCHER_RESULT_FOCUS",LAYER_POP_ESCAPE_KEY:"LAYER_POP_ESCAPE_KEY",LAYER_POP_COMPLETE:"LAYER_POP_COMPLETE",CONTEXT_MENU_CLOSE:"CONTEXT_MENU_CLOSE"},t.NAVIGATION_THROTTLE=50,t.RPC_STARTING_PORT=6463,t.RPC_PORT_RANGE=10,t.RPC_VERSION=1,t.PlatformTypes={TWITCH:"twitch",YOUTUBE:"youtube",SKYPE:"skype",STEAM:"steam",LEAGUE_OF_LEGENDS:"leagueoflegends",BATTLENET:"battlenet",REDDIT:"reddit",TWITTER:"twitter"}),b=(t.UNSAFE_PLATFORM_TYPES=new Set([_.SKYPE,_.LEAGUE_OF_LEGENDS,_.BATTLENET]),t.SAFE_PLATFORM_TYPES=new Set([_.TWITCH,_.YOUTUBE,_.REDDIT,_.TWITTER,_.STEAM]));t.VERIFIABLE_PLATFORM_TYPES=new Set([].concat(b,[_.BATTLENET])),t.Arrows=(0,l.default)({UP:null,DOWN:null,LEFT:null,RIGHT:null}),t.DownloadLinks={IOS:"https://itunes.apple.com/us/app/discord-chat-for-games/id985746746",ANDROID:"https://play.google.com/store/apps/details?id=com.discord"},t.DEFAULT_ROLE_COLOR=10070709,t.ROLE_COLORS=[1752220,3066993,3447003,10181046,15277667,15844367,15105570,15158332,9807270,6323595,1146986,2067276,2123412,7419530,11342935,12745742,11027200,10038562,9936031,5533306],t.DrawerTypes=c.DrawerTypes,t.AppStates=c.AppStates,t.Colors=p.Colors,t.Fonts=p.Fonts,t.Changeset=c.Changeset,t.RowType=c.RowType,t.SeparatorType=c.SeparatorType,t.SeparatorAction=c.SeparatorAction,t.WebBrowserType=c.WebBrowserType,t.GuildSettingsPermissionSections=c.GuildSettingsPermissionSections,t.MentionModalScenes=c.MentionModalScenes,t.VerificationModalScenes=c.VerificationModalScenes,t.SearchBarStates=c.SearchBarStates,t.NAV_BAR_HEIGHT=c.NAV_BAR_HEIGHT,t.STATUS_BAR_HEIGHT=c.STATUS_BAR_HEIGHT,t.NAV_HEIGHT=c.NAV_HEIGHT,t.SEARCH_BAR_HEIGHT=c.SEARCH_BAR_HEIGHT,t.FBSDKEvent=c.FBSDKEvent,t.PermissionOverrideType=(0,l.default)({ROLE:null,MEMBER:null}),t.NativeFeatures={ELECTRON_CONFIGURE_HARDWARE_ACCELERATION:"electron_configure_hardware_acceleration",VOICE_SOUND_STOP_LOOP:"voice_sound_stop_loop",VOICE_RELATIVE_SOUNDS:"voice_relative_sounds",VOICE_LEGACY_SUBSYSTEM:"voice_legacy_subsystem",VOICE_PANNING:"voice_panning"},t.SearchTokenTypes=(0,l.default)({FILTER_FROM:null,FILTER_MENTIONS:null,ANSWER_USERNAME_FROM:null,ANSWER_USERNAME_MENTIONS:null,FILTER_HAS:null,ANSWER_HAS:null,FILTER_FILE_TYPE:null,ANSWER_FILE_TYPE:null,FILTER_FILE_NAME:null,ANSWER_FILE_NAME:null,FILTER_BEFORE:null,ANSWER_BEFORE:null,FILTER_AFTER:null,ANSWER_AFTER:null,FILTER_ON:null,ANSWER_ON:null,FILTER_IN:null,ANSWER_IN:null}),t.SearchAutocompleteGroups=(0,l.default)({HISTORY:null,SEARCH_OPTIONS:null,DATES:null}),t.SearchPopoutModes=(0,l.default)({EMPTY:null,FILTER:null,FILTER_ALL:null}),t.SEARCH_DATE_FORMAT="YYYY-MM-DD",t.SEARCH_MONTH_FORMAT="MMMM",t.SEARCH_POPOUT_ID="search-popout",t.PremiumPlans={MONTHLY:"premium_month",YEARLY:"premium_year"},t.PremiumPlanPrices={MONTHLY:"4.99",YEARLY:"49.99"},t.CurrencySymbols={USD:"$"},t.CurrencyCodes=(0,l.default)({USD:null}),t.PaymentSettings={STRIPE:{KEY:"pk_live_CUQtlpQUF0vufWpnpUmQvcdi",PAYMENT_GATEWAY:"stripe"}},t.PaymentStatusTypes={PENDING:0,COMPLETED:1,FAILED:2,REVERSED:3,REFUNDED:4},t.PremiumStatusTypes={UNPAID:0,ACTIVE:1,PAST_DUE:2,CANCELED:3},t.PaymentModelModes=(0,l.default)({NEW:null,CHANGE:null,RESUBSCRIBE:null}),t.FancyInputRefs=(0,l.default)({CARD_NUMBER:null,EXPIRATION:null,SECURITY_CODE:null,ZIP_CODE:null}),t.MAX_IMAGE_WIDTH=2560,t.MAX_IMAGE_HEIGHT=2560,t.QuickSwitcherResultTypes=(0,l.default)({GUILD:null,TEXT_CHANNEL:null,GROUP_DM:null,VOICE_CHANNEL:null,USER:null,HEADER:null}),t.Accessibility={FONT_SCALE_DEFAULT:100,FONT_SCALE_MIN:70,FONT_SCALE_MAX:200,FONT_SCALES:[82,92,100,110,125,150],ZOOM_DEFAULT:100,ZOOM_MIN:50,ZOOM_MAX:200,ZOOM_SCALES:[50,67,75,80,90,100,110,125,150,175,200]},t.INVITE_BANNER_MEMBER_THRESHOLD=1,t.AnalyticEvents={EMAIL_CLICKED:"email_clicked",INVITE_OPENED:"invite_opened",INVITE_APP_INVOKED:"invite_app_invoked",INVITE_APP_OPENED:"invite_app_opened",INVITE_APP_DOWNLOADED:"invite_app_downloaded",INVITE_LEARN_MORE:"invite_learn_more",INVITE_LOGIN:"invite_login",INVITE_LOGIN_SUCCESSFUL:"invite_login_successful",QUICKSWITCHER_OPENED:"quickswitcher_opened",QUICKSWITCHER_CLOSED:"quickswitcher_closed",QUICKSWITCHER_RESULT_SELECTED:"quickswitcher_result_selected",NOTIFICATION_CLICKED:"notification_clicked",ACK_MESSAGES:"ack_messages",JOIN_VOICE_CHANNEL:"join_voice_channel",LEAVE_VOICE_CHANNEL:"leave_voice_channel",VOICE_CONNECT:"voice_connect",START_SPEAKING:"start_speaking",START_LISTENING:"start_listening",SETTINGS_PANE_VIEWED:"settings_pane_viewed",CHANNEL_NOTICE_VIEWED:"channel_notice_viewed",CHANNEL_NOTICE_CLOSED:"channel_notice_closed"},t.UserSearchWorkerMessageTypes=(0,l.default)({UPDATE_USERS:null,USER_RESULTS:null,QUERY_SET:null,QUERY_CLEAR:null}),t.PublicReleaseChannels={CANARY:"canary",PTB:"ptb",STABLE:"stable"},t.UserFlags={STAFF:1,PARTNER:2,HYPESQUAD:4},t.ChannelNoticeTypes=(0,l.default)({MFA_WARNING:null,INVITE:null,QUICKSWITCHER:null}),t.CHANNEL_NOTICE_SHOW_DELAY=864e5,t.CallLayouts={NORMAL:"normal",MINIMUM:"minimum",NO_CHAT:"no-chat",FULL_SCREEN:"full-screen"},t.Layers=(0,l.default)({USER_SETTINGS:null,CHANNEL_SETTINGS:null,GUILD_SETTINGS:null,VERIFICATION:null}),t.AuditLogActions={ALL:null,GUILD_UPDATE:1,CHANNEL_CREATE:10,CHANNEL_UPDATE:11,CHANNEL_DELETE:12,CHANNEL_OVERWRITE_CREATE:13,CHANNEL_OVERWRITE_UPDATE:14,CHANNEL_OVERWRITE_DELETE:15,MEMBER_KICK:20,MEMBER_PRUNE:21,MEMBER_BAN_ADD:22,MEMBER_BAN_REMOVE:23,MEMBER_UPDATE:24,MEMBER_ROLE_UPDATE:25,ROLE_CREATE:30,ROLE_UPDATE:31,ROLE_DELETE:32,INVITE_CREATE:40,INVITE_UPDATE:41,INVITE_DELETE:42,WEBHOOK_CREATE:50,WEBHOOK_UPDATE:51,WEBHOOK_DELETE:52,EMOJI_CREATE:60,EMOJI_UPDATE:61,EMOJI_DELETE:62,MESSAGE_DELETE:72},t.AuditLogActionTypes=(0,l.default)({ALL:null,CREATE:null,UPDATE:null,DELETE:null}),t.AuditLogSubtargetTypes={USER:"member",ROLE:"role"},t.AuditLogTargetTypes=(0,l.default)({ALL:null,GUILD:null,CHANNEL:null,USER:null,ROLE:null,INVITE:null,WEBHOOK:null,EMOJI:null}),t.AuditLogChangeKeys={NAME:"name",ICON_HASH:"icon_hash",SPLASH_HASH:"splash_hash",OWNER_ID:"owner_id",REGION:"region",AFK_CHANNEL_ID:"afk_channel_id",AFK_TIMEOUT:"afk_timeout",MFA_LEVEL:"mfa_level",WIDGET_ENABLED:"widget_enabled",WIDGET_CHANNEL_ID:"widget_channel_id",VERIFICATION_LEVEL:"verification_level",EXPLICIT_CONTENT_FILTER:"explicit_content_filter",DEFAULT_MESSAGE_NOTIFICATIONS:"default_message_notifications",VANITY_URL_CODE:"vanity_url_code",POSITION:"position",TOPIC:"topic",TYPE:"type",BITRATE:"bitrate",PERMISSION_OVERRIDES:"permission_overrides",ROLES_ADD:"$add",ROLES_REMOVE:"$remove",NICK:"nick",DEAF:"deaf",MUTE:"mute",PERMISSIONS:"permissions",COLOR:"color",HOIST:"hoist",MENTIONABLE:"mentionable",CODE:"code",CHANNEL_ID:"channel_id",INVITER_ID:"inviter_id",MAX_USES:"max_uses",USES:"uses",MAX_AGE:"max_age",TEMPORARY:"temporary",APPLICATION_ID:"application_id",AVATAR_HASH:"avatar_hash",ID:"id",PERMISSIONS_GRANTED:"allow",PERMISSIONS_DENIED:"deny",REASON:"reason",PRUNE_DELETE_DAYS:"prune_delete_days"},t.AUDIT_LOG_PAGE_LIMIT=50,t.UserRequiredActions=(0,l.default)({AGREEMENTS:null,REQUIRE_CAPTCHA:null,REQUIRE_VERIFIED_EMAIL:null,REQUIRE_VERIFIED_PHONE:null}),t.VerificationTypes={CAPTCHA:"captcha",EMAIL_OR_PHONE:"email",PHONE:"phone"},t.MAX_REASON_LENGTH=512,t.MouseButtons={PRIMARY:0,SECONDARY:2,WHEEL:4,BACK:8,FORWARD:16},t.PictureInPicturePositions={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right"},t.PictureInPictureComponents={VIDEO:"VIDEO"}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(262),r=a(o),i=n(1549),s=a(i),l=n(1550),u=a(l),f=n(1552),c=a(f),d=n(1551),p=a(d),h=n(1701),g=a(h);t.default={Store:r.default,CachedStore:s.default,CompoundStore:u.default,StoreListenerMixin:c.default,LazyStoreListenerMixin:p.default,connectStores:g.default,initialize:function(){r.default.initialize()}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1510),r=a(o);t.default=r.default,e.exports=t.default},function(e,t,n){"use strict";(function(e){function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.Dispatcher=void 0;var s=n(690),l=a(s),u=n(262),f=a(u),c=t.Dispatcher=function(t){function n(){return o(this,n),r(this,t.apply(this,arguments))}return i(n,t),n.prototype._stopDispatching=function(){try{f.default.emitChanges()}finally{for(var e,n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];(e=t.prototype._stopDispatching).call.apply(e,[this].concat(a))}},n.prototype.maybeDispatch=function(e){this.isDispatching()||this.dispatch(e)},n.prototype.dirtyDispatch=function(t){this.isDispatching()?e(this.dispatch.bind(this,t)):this.dispatch(t)},n.prototype.dispatch=function(e){null!=this._interceptor&&this._interceptor(e)||(t.prototype.dispatch.call(this,e),this._afterDispatch&&this._afterDispatch())},n.prototype.setInterceptor=function(e){this._interceptor=e},n.prototype.setAfterDispatch=function(e){this._afterDispatch=e},n}(l.default.Dispatcher);t.default=new c}).call(t,n(78).setImmediate)},,,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.mfa_enabled;return null!=t&&(e.mfaEnabled=t,delete e.mfa_enabled),e}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=w[e.id];null==n?n=new L.default(e):t&&(n=n.merge(e));var a=w[e.id]!==n;return w[e.id]=n,a}function u(e){var t=e.user,n=e.guilds,a=e.channels,o=e.relationships;w[t.id]=new L.default(s(t));for(var r=0,i=n.length;r<i;r++)for(var l=n[r].members,u=0,f=l.length;u<f;u++){var c=l[u];null==w[c.user.id]&&(w[c.user.id]=new L.default(c.user))}for(var d=0,p=a.length;d<p;d++){var h=a[d].recipients;if(null!=h)for(var g=0,m=h.length;g<m;g++){var v=h[g];v.id!==t.id&&(w[v.id]=new L.default(v))}}for(var E=0,y=o.length;E<y;E++){var _=o[E].user;null!=_&&null==w[_.id]&&(w[_.id]=new L.default(_))}}function f(e){l(s(e.user))}function c(e){return e.messages.forEach(function(e){var t=e.author,n=e.mentions;null!=t&&l(t),n.forEach(function(e){return l(e)})}),!1}function d(e){return e.messages.forEach(function(e){return c({messages:e})}),!1}function p(e){var t=e.message,n=t.author,a=t.mentions;return null!=n&&l(n),null!=a&&a.forEach(function(e){return l(e)}),!1}function h(e){var t=e.channel,n=t.recipient,a=t.recipients;return null!=n&&l(n),null!=a&&a.forEach(function(e){return l(e)}),!1}function g(e){var t=w[e.user.id];if(null!=t){if(!["username","avatar","discriminator","bot"].reduce(function(n,a){if(e.user.hasOwnProperty(a)){var o=t.set(a,e.user[a]);n=n||o!=t,t=o}return n},!1))return!1;w[t.id]=t}}function m(e){e.bans.forEach(function(e){return l(e.user)})}function v(e){return l(e.user)}function E(e){return e.members.reduce(function(e,t){return l(t.user)||e},!1)}function y(e){e.guild.members.forEach(function(e){var t=e.user,n=t.id,a=t.username,o=t.avatar,r=t.discriminator,i=t.bot;n!==x.default.getId()&&l({id:n,username:a,avatar:o,discriminator:r,bot:i})})}function _(e){return l(e.relationship.user)}function b(e){return e.relationships.reduce(function(e,t){return l(t.user)||e},!1)}function S(e){return l(e.suggestion.suggested_user)}function I(e){return e.suggestions.reduce(function(e,t){return l(t.suggested_user)||e},!1)}function T(){var e=x.default.getId(),t=w[e];t=t.set("premium",!0),w[e]=t}function N(e){e.users.forEach(function(e){null==w[e.id]&&(w[e.id]=new L.default(s(e)))})}t.__esModule=!0;var A=n(2),M=a(A),C=n(4),O=a(C),D=(n(1),n(75)),L=a(D),R=n(17),x=a(R),w={},P=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getUser=function(e){return w[e]},t.prototype.getUsers=function(){return w},t.prototype.forEach=function(e){for(var t in w)if(e(w[t])===!1)break},t.prototype.findByTag=function(e,t){for(var n in w){var a=w[n];if(a.username===e&&a.discriminator===t)return a}return null},t.prototype.filter=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];for(var a in w){var o=w[a];e(o)&&n.push(o)}return t&&n.sort(function(e,t){return e.username>t.username?1:e.username<t.username?-1:0}),n},t.prototype.getCurrentUser=function(){return w[x.default.getId()]},t}(M.default.Store);t.default=new P(O.default,{CONNECTION_OPEN:u,USER_UPDATE:f,PRESENCE_UPDATE:g,SEARCH_FINISH:d,LOAD_MESSAGES_SUCCESS:c,LOAD_MESSAGES_AROUND_SUCCESS:c,LOAD_PINNED_MESSAGES_SUCCESS:c,LOAD_RECENT_MENTIONS_SUCCESS:c,MESSAGE_CREATE:p,MESSAGE_UPDATE:p,GUILD_SETTINGS_LOADED_BANS:m,GUILD_CREATE:y,GUILD_SYNC:y,GUILD_BAN_ADD:v,GUILD_BAN_REMOVE:v,GUILD_MEMBER_ADD:v,GUILD_MEMBER_UPDATE:v,CHANNEL_RECIPIENT_ADD:v,CHANNEL_RECIPIENT_REMOVE:v,GUILD_MEMBERS_CHUNK:E,CHANNEL_CREATE:h,CHANNEL_UPDATE:h,RELATIONSHIP_ADD:_,LOAD_RELATIONSHIPS_SUCCESS:b,FRIEND_SUGGESTION_CREATE:S,LOAD_FRIEND_SUGGESTIONS_SUCCESS:I,SUBSCRIBE_SUCCESS:T,AUDIT_LOG_FETCH_SUCCESS:N,AUDIT_LOG_FETCH_NEXT_PAGE_SUCCESS:N}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return P.default.keyBy(e,"id")}function l(e){return null==e?{}:P.default.reduce(e,function(e,t){return e[t.id]=t.nick,e},{})}function u(e){return k[e]||G[e]}function f(e){e.isManaged()?G[e.id]=e:k[e.id]=e}function c(e){if(e.isManaged()){var t;G=S({},G,(t={},t[e.id]=e,t))}else{var n;k=S({},k,(n={},n[e.id]=e,n))}}function d(e){delete k[e],delete G[e]}function p(e){U={},G={},k={},(0,P.default)(e.channels).forEach(function(e){var t=new O.default({id:e.id,name:e.name||"",topic:e.topic||"",position:e.position||0,recipients:null!=e.recipients?e.recipients.map(function(e){return e.id}):[],type:null!=e.type?e.type:M.ChannelTypes.GUILD_TEXT,guild_id:e.guild_id,application_id:e.application_id,bitrate:e.bitrate,permissionOverwrites:s(e.permission_overwrites),userLimit:e.user_limit,ownerId:e.owner_id,icon:e.icon,nicks:l(e.nicks)});g(t),f(t)})}function h(e){var t=u(e.channel.id);null==t&&(t=new O.default({id:e.channel.id})),t=t.merge({name:e.channel.name||"",topic:e.channel.topic||"",position:e.channel.position||0,recipients:null!=e.channel.recipients?e.channel.recipients.map(function(e){return e.id}):t.recipients,type:null!=e.channel.type?e.channel.type:M.ChannelTypes.GUILD_TEXT,guild_id:e.channel.guild_id,application_id:e.channel.application_id,bitrate:e.channel.bitrate||t.bitrate,permissionOverwrites:s(e.channel.permission_overwrites),userLimit:e.channel.user_limit,ownerId:e.channel.owner_id,icon:e.channel.icon,nicks:l(e.channel.nicks)}),g(t),c(t)}function g(e){e.type===M.ChannelTypes.DM&&(U[e.getRecipientId()]=e.id)}function m(e){e.type===M.ChannelTypes.DM&&delete U[e.getRecipientId()]}function v(e){var t=e.channel;k=S({},k);var n=k[t.id];if(d(t.id),!n)return!1;m(n)}function E(e){var t=e.guild;k=S({},k),G=S({},G),t.channels.forEach(function(e){f(new O.default({id:e.id,name:e.name||"",topic:e.topic||"",position:e.position||0,recipients:null!=e.recipients?e.recipients.map(function(e){return e.id}):[],type:e.type,guild_id:e.guild_id,application_id:e.application_id,bitrate:e.bitrate,permissionOverwrites:s(e.permission_overwrites),userLimit:e.user_limit,ownerId:e.owner_id,icon:e.icon,nicks:l(e.nicks)}))})}function y(e){var t=e.guild;k=(0,P.default)(k).filter(function(e){return e.getGuildId()!==t.id}).keyBy("id").value(),G=(0,P.default)(G).filter(function(e){return e.getGuildId()!==t.id}).keyBy("id").value()}function _(e){var t=u(e.channelId);return null!=t&&(L.default.getCurrentUser().id!==e.user.id&&(t=t.set("recipients",P.default.uniq([].concat(t.recipients,[e.user.id]))),e.nick&&(t=t.update("nicks",function(t){return t[e.user.id]=e.nick,t})),void c(t)))}function b(e){var t=u(e.channelId);if(null==t)return!1;t=t.set("recipients",P.default.without(t.recipients,e.user.id)),c(t)}t.__esModule=!0;var S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},I=n(2),T=a(I),N=n(4),A=a(N),M=n(1),C=n(52),O=a(C),D=n(10),L=a(D),R=n(12),x=a(R),w=n(7),P=a(w),k={},U={},G={},j=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(L.default,x.default)},t.prototype.getChannel=function(e){return null==e?null:u(e)},t.prototype.getChannels=function(){return k},t.prototype.getManagedChannels=function(){return G},t.prototype.getDMFromUserId=function(e){return U[e]},t.prototype.getDMUserIds=function(){return Object.keys(U)},t}(T.default.Store);t.default=new j(A.default,{CONNECTION_OPEN:p,GUILD_CREATE:E,GUILD_DELETE:y,CHANNEL_CREATE:h,CHANNEL_UPDATE:h,CHANNEL_DELETE:v,CHANNEL_RECIPIENT_ADD:_,CHANNEL_RECIPIENT_REMOVE:b}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){return null==t&&(t=e.position),g({},e,{position:t,originalPosition:e.position,colorString:e.color?(0,C.int2hex)(e.color):null})}function l(e,t){var n=t.length-1;return(0,y.default)(t).sortBy([function(t){return t.id===e?1/0:-t.position},function(e){return D.default.extractTimestamp(e.id)}]).map(function(e,t){return s(e,n-t)}).keyBy("id").value()}function u(e){R={},e.guilds.forEach(function(e){R[e.id]=new I.default({id:e.id,name:e.name,region:e.region,icon:e.icon,splash:e.splash,features:e.features,ownerId:e.owner_id,application_id:e.application_id,roles:l(e.id,e.roles),afkChannelId:e.afk_channel_id,afkTimeout:e.afk_timeout,joinedAt:new Date(e.joined_at),verificationLevel:e.verification_level,explicitContentFilter:e.explicit_content_filter,large:e.large,defaultMessageNotifications:e.default_message_notifications,mfaLevel:e.mfa_level})})}function f(e){var t,n=R[e.guild.id]||new I.default({id:e.guild.id});n=n.merge({name:e.guild.name,region:e.guild.region,icon:e.guild.icon,splash:e.guild.splash,features:e.guild.features,ownerId:e.guild.owner_id,application_id:e.guild.application_id,roles:l(e.guild.id,e.guild.roles),afkChannelId:e.guild.afk_channel_id,afkTimeout:e.guild.afk_timeout,joinedAt:null!=e.guild.joined_at?new Date(e.guild.joined_at):n.joinedAt,verificationLevel:e.guild.verification_level,explicitContentFilter:e.guild.explicit_content_filter,large:null!=e.guild.large?e.guild.large:n.large,defaultMessageNotifications:e.guild.default_message_notifications,mfaLevel:e.guild.mfa_level}),R=g({},R,(t={},t[n.id]=n,t)),e.type===L.ActionTypes.GUILD_CREATE&&e.guild.owner_id===N.default.getId()&&e.guild.unavailable!==!1&&M.default.transitionTo(L.Routes.GUILD(e.guild.id))}function c(e){var t,n=R[e.guild.id];if(null==n)return!1;n=n.merge({large:null!=e.guild.large?e.guild.large:n.large}),R=g({},R,(t={},t[n.id]=n,t))}function d(e){var t=e.guild;if(null==R[t.id])return!1;R=g({},R),delete R[t.id]}function p(e){var t,n=e.guildId,a=e.role,o=R[n];if(null==o)return!1;o=o.update("roles",function(e){e[a.id]=s(a);var t=Object.keys(e).length;return(0,y.default)(e).values().sortBy([function(e){return e.id===n?1/0:-e.originalPosition},function(e){return D.default.extractTimestamp(e.id)}]).map(function(e,n){return g({},e,{position:t-n})}).keyBy("id").value()}),R=g({},R,(t={},t[o.id]=o,t))}function h(e){var t,n=e.guildId,a=e.roleId,o=R[n];if(null==o)return!1;o=o.update("roles",function(e){return delete e[a],e}),R=g({},R,(t={},t[o.id]=o,t))}t.__esModule=!0;var g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},m=n(2),v=a(m),E=n(7),y=a(E),_=n(4),b=a(_),S=n(103),I=a(S),T=n(17),N=a(T),A=n(42),M=a(A),C=n(123),O=n(147),D=a(O),L=n(1),R={},x=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(N.default)},t.prototype.getGuild=function(e){return null!=e?R[e]:null},t.prototype.getGuilds=function(){return R},t}(v.default.Store);t.default=new x(b.default,{CONNECTION_OPEN:u,GUILD_CREATE:f,GUILD_UPDATE:f,GUILD_SYNC:c,GUILD_DELETE:d,GUILD_ROLE_CREATE:p,GUILD_ROLE_UPDATE:p,GUILD_ROLE_DELETE:h}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){return T.sync?T:N}function l(e,t){switch(e){case"inlineAttachmentMedia":case"inlineEmbedMedia":case"renderEmbeds":case"renderReactions":return null==t.sync||t.sync;default:return!0}}function u(e){for(var t=!1,n={},a=Object.entries(e),o=Array.isArray(a),r=0,a=o?a:a[Symbol.iterator]();;){var i;if(o){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var s=i,u=s[0],f=s[1];null!=f&&(t=!0,l(u,e)?T[u]=f:N[u]=f),n[u]=l(u,e)?T[u]:N[u]}return t&&E.default.set(I,n),S.default.setLocale(T.locale),t}t.__esModule=!0;var f=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d=n(2),p=a(d),h=n(4),g=a(h),m=n(1),v=n(25),E=a(v),y=n(368),_=a(y),b=n(3),S=a(b),I="UserSettingsStore",T={locale:S.default.getDefaultLocale(),status:m.StatusTypes.ONLINE,showCurrentGame:!0,sync:!0,inlineAttachmentMedia:!0,inlineEmbedMedia:!0,renderEmbeds:!0,renderReactions:!0,theme:m.ThemeTypes.DARK,enableTTSCommand:!0,messageDisplayCompact:!1,convertEmoticons:!0,restrictedGuilds:[],defaultGuildsRestricted:!1,explicitContentFilter:m.ExplicitContentFilterTypes.NON_FRIENDS,friendSourceFlags:{all:!0},developerMode:!1,guildPositions:[],detectPlatformAccounts:!0,afkTimeout:600},N=c({},T,{inlineAttachmentMedia:!0,inlineEmbedMedia:!0,renderEmbeds:!0}),A=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){var e=E.default.get(I);null!=e&&u(e)},t.prototype.isGuildRestricted=function(e){return T.restrictedGuilds.indexOf(e)!==-1},f(t,[{key:"showCurrentGame",get:function(){return T.showCurrentGame}},{key:"sync",get:function(){return T.sync}},{key:"inlineAttachmentMedia",get:function(){return s().inlineAttachmentMedia}},{key:"inlineEmbedMedia",get:function(){return s().inlineEmbedMedia}},{key:"renderEmbeds",get:function(){return s().renderEmbeds}},{key:"renderReactions",get:function(){return s().renderReactions}},{key:"theme",get:function(){return T.theme}},{key:"enableTTSCommand",get:function(){return _.default.supported&&T.enableTTSCommand}},{key:"convertEmoticons",get:function(){return T.convertEmoticons}},{key:"messageDisplayCompact",get:function(){return T.messageDisplayCompact}},{key:"locale",get:function(){return T.locale}},{key:"restrictedGuilds",get:function(){return T.restrictedGuilds}},{key:"friendSourceFlags",get:function(){return T.friendSourceFlags}},{key:"developerMode",get:function(){return T.developerMode}},{key:"guildPositions",get:function(){return T.guildPositions}},{key:"detectPlatformAccounts",get:function(){return T.detectPlatformAccounts}},{key:"status",get:function(){return T.status}},{key:"defaultGuildsRestricted",get:function(){return T.defaultGuildsRestricted}},{key:"explicitContentFilter",get:function(){return T.explicitContentFilter}},{key:"afkTimeout",get:function(){return T.afkTimeout}}]),t}(p.default.Store);t.default=new A(g.default,{USER_SETTINGS_UPDATE:function(e){return u(e.settings)}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(7),l=a(s);t.default={push:function(e,t){var n=l.default.uniqueId("modal");return r.default.dispatch({type:i.ActionTypes.MODAL_PUSH,modal:e,props:t,key:n}),n},update:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];r.default.dispatch({type:i.ActionTypes.MODAL_UPDATE,key:e,props:t,partial:n})},pop:function(){r.default.dispatch({type:i.ActionTypes.MODAL_POP})},popWithKey:function(e){r.default.dispatch({type:i.ActionTypes.MODAL_POP,key:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(5),d=a(c),p=n(2095),h=a(p),g=n(2082),m=a(g),v={VERTICAL:m.default.vertical,HORIZONTAL:h.default.horizontal,HORIZONTAL_REVERSE:h.default.horizontalReverse},E={START:m.default.justifyStart,END:m.default.justifyEnd,CENTER:m.default.justifyCenter,BETWEEN:m.default.justifyBetween,AROUND:m.default.justifyAround},y={START:m.default.alignStart,END:m.default.alignEnd,CENTER:m.default.alignCenter,STRETCH:m.default.alignStretch},_={NO_WRAP:m.default.noWrap,WRAP:m.default.wrap,WRAP_REVERSE:m.default.wrapReverse},b=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,a=e.shrink,r=e.grow,i=e.basis,s=e.style,c=e.wrap,p=o(e,["children","className","shrink","grow","basis","style","wrap"]);if(p.style=l({flexGrow:r,flexShrink:a,flexBasis:i},s),p.className=n,!c&&"string"!=typeof t&&1===u.Children.count(t)){var h=u.Children.only(t),g=h.props.style,m=void 0===g?{}:g;return p.style=l({},p.style,m),p.className=(0,d.default)(h.props.className,n),f.default.cloneElement(h,p)}return f.default.createElement("div",p,t)},t}(u.PureComponent);b.defaultProps={className:h.default.flexChild,shrink:1,grow:1,basis:"auto",style:{},wrap:!1};var S=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,a=e.direction,r=e.justify,i=e.align,s=e.wrap,u=e.shrink,c=e.grow,p=e.basis,g=e.style,m=o(e,["children","className","direction","justify","align","wrap","shrink","grow","basis","style"]),v=l({flexShrink:u,flexGrow:c,flexBasis:p},g);return f.default.createElement("div",l({style:v,className:(0,d.default)(h.default.flex,a,r,i,s,n)},m),t)},t}(u.PureComponent);S.Child=b,S.Direction=v,S.Align=y,S.Justify=E,S.Wrap=_,S.defaultProps={direction:v.HORIZONTAL,justify:E.START,align:y.STRETCH,wrap:_.NO_WRAP,shrink:1,grow:1,basis:"auto",style:{}},t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,a,r){var s=l.default[e](t.url);if(t.query&&s.query(t.query),t.body&&s.send(t.body),t.headers&&s.set(t.headers),t.context){var u=d.default.encodeProperties(t.context);null!=u&&s.set("X-Context-Properties",u)}t.retried&&s.set("X-Failed-Requests",""+t.retried);var c=function(){t.backoff=t.backoff||new f.default,t.retried=(t.retried||0)+1,t.backoff.fail(function(){return o(e,t,n,a,r)})};s.on("error",function(e){null!=t.retries&&t.retries-- >0?c():(a(e),null!=r&&r({ok:!1,err:e}))}),s.end(function(e){if(null!=t.retries&&t.retries-- >0&&e.status>=500)return c();var o={headers:e.headers,body:e.body,status:e.status};e.ok?n(o):a(o),null!=r&&r(i({ok:e.ok},o))})}function r(e,t,n){return new Promise(function(a,r){"string"==typeof t&&(t={url:t}),o(e,t,a,r,n)})}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=n(293),l=a(s),u=n(365),f=a(u),c=n(29),d=a(c);t.default={get:r.bind(null,"get"),post:r.bind(null,"post"),put:r.bind(null,"put"),patch:r.bind(null,"patch"),delete:r.bind(null,"del"),getAPIBaseURL:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return location.protocol+"//canary.discordapp.com/api"+(e?"/v6":"")}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){W={},j=w.LoginStates.LOGGING_IN}function l(){W={},j=w.LoginStates.NONE,B=""}function u(e){var t=e.token;j=w.LoginStates.NONE,O.default.set(w.TOKEN_KEY,t),B=""}function f(e){j=w.LoginStates.NONE,B="",W=e.errors||{}}function c(e){B=e.ticket,W={},j=w.LoginStates.MFA_STEP}function d(){j=w.LoginStates.LOGGING_IN_MFA}function p(e){var t=e.message;j=w.LoginStates.MFA_STEP,W={code:t}}function h(e){var t=e.token;O.default.set(U,t)}function g(){W={},F=!0}function m(e){var t=e.token;F=!1,O.default.set(w.TOKEN_KEY,t)}function v(e){F=!1,W=e.errors||{}}function E(){W={},O.default.remove(U)}function y(e){var t=e.user;x.default.setUser(t.id,t.username,t.email),G=t.id}function _(e){4004===e.code&&S()}function b(e){var t=e.token;O.default.set(w.TOKEN_KEY,t)}function S(){O.default.remove(w.TOKEN_KEY),x.default.clearUser(),G=null,j=w.LoginStates.NONE,F=!1,B="",V=!1,H=!1,z={},W={},k.default.transitionTo(w.Routes.LOGIN)}function I(e){var t=e.errors;V=!0,H=!1,z=t||{}}function T(){H=!0,V=!1,z={}}function N(){j=w.LoginStates.NONE,W={}}t.__esModule=!0;var A=n(2),M=a(A),C=n(25),O=a(C),D=n(4),L=a(D),R=n(836),x=a(R),w=n(1),P=n(42),k=a(P),U="fingerprint",G=null,j=w.LoginStates.NONE,F=!1,B="",V=!1,H=!1,z={},W={},Y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.didVerifyFail=function(){return V},t.prototype.getVerifyErrors=function(){return z},t.prototype.didVerifySucceed=function(){return H},t.prototype.getLoginStatus=function(){return j},t.prototype.getRegisterStatus=function(){return F},t.prototype.getId=function(){return G},t.prototype.isAuthenticated=function(){return null!=O.default.get(w.TOKEN_KEY)},t.prototype.getFingerprint=function(){return O.default.get(U)},t.prototype.getToken=function(){return O.default.get(w.TOKEN_KEY)},t.prototype.getErrors=function(){return W},t.prototype.getMFATicket=function(){return B},t}(M.default.Store);t.default=new Y(L.default,{CONNECTION_OPEN:y,CONNECTION_CLOSED:_,LOGIN:s,LOGIN_SUCCESS:u,LOGIN_FAILURE:f,LOGIN_MFA_STEP:c,LOGIN_MFA:d,LOGIN_MFA_FAILURE:p,LOGIN_RESET:l,LOGOUT:S,FINGERPRINT:h,REGISTER:g,REGISTER_SUCCESS:m,REGISTER_FAILURE:v,VERIFY_FAILURE:I,VERIFY_SUCCESS:T,START_SESSION:E,FORGOT_PASSWORD_SENT:N,UPDATE_TOKEN:b}),e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=void 0;o=n(848),t.default=a({},o,{isVersionEqualOrNewer:function(e){var t=e[this.releaseChannel];if(null==t)return!0;var n=t[this.platform];if(!n)return!0;for(var a=this.version,o=n.split("."),r=0;r<a.length;++r)if(a[r]<parseInt(o[r]))return!1;return!0},isWindows:function(){return/^win/.test(this.platform)},isOSX:function(){return"darwin"===this.platform},isLinux:function(){return"linux"===this.platform},isDesktop:function(){return this.isWindows()||this.isOSX()||this.isLinux()},isIOS:function(){return!1},isAndroid:function(){return!1}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){A.default.set(z,{selectedVoiceChannelId:J,lastConnectedTime:q})}function l(e){var t=R.default.getChannel(e);if(null!=t)return t.id}function u(e){var t=T.default.find(R.default.getChannels(),function(t){return t.guild_id===e&&t.type===H.ChannelTypes.GUILD_VOICE});if(null!=t)return t.id}function f(e){K=e.sessionId,T.default.forEach(D.default.getGuilds(),function(e){null==Q[e.id]&&(Q[e.id]=l(e.id))});var t=A.default.get(z);t&&t.lastConnectedTime&&Date.now()-t.lastConnectedTime<W&&(J=t.selectedVoiceChannelId)}function c(){K=null}function d(e){var t=e.guildId,n=e.channelId;return void 0!==t&&(n=n||l(t),X&&n!==X&&(Z=X),X=n,Q[t]!==n&&void(Q[t]=X))}function p(e){J=e.channelId,s()}function h(){J=null,s()}function g(e){var t=e.channel,n=t.id,a=t.guild_id,o=a||null;J===n&&(J=null,s()),Q[o]===n&&(Q[o]=l(o),w.default.getGuildId()==o&&V.default.replaceWith(H.Routes.GUILD(o||H.ME)))}function m(e){var t=e.guild;null==Q[t.id]&&(Q[t.id]=l(t.id));var n=Q[null];t.id===n&&(F.default.selectChannel(t.id,t.id),V.default.replaceWith(H.Routes.GUILD(t.id))),t.owner_id!==k.default.getId()&&t.id!==J||t.unavailable===!1||F.default.selectVoiceChannel(t.id,u(t.id))}function v(e){var t=e.guild;J===Q[t.id]&&(J=null),delete Q[t.id]}function E(e){if(e.sessionId!==K)return!1;clearInterval($),J=e.channelId,q=Date.now(),null!=J&&($=setInterval(function(){q=Date.now(),s()},Y)),s()}function y(){Q={},X=null,Z=null,J=null}function _(e){var t=e.channel;if(t.type!==H.ChannelTypes.GROUP_DM)return!1;var n=t.origin_channel_id,a=Q[null];return null==w.default.getGuildId()&&null!=n&&n===a&&F.default.selectPrivateChannel(t.id),null!=n&&n===J&&F.default.selectVoiceChannel(null,t.id),!1}t.__esModule=!0;var b=n(2),S=a(b),I=n(7),T=a(I),N=n(25),A=a(N),M=n(4),C=a(M),O=n(12),D=a(O),L=n(11),R=a(L),x=n(35),w=a(x),P=n(17),k=a(P),U=n(27),G=a(U),j=n(59),F=a(j),B=n(42),V=a(B),H=n(1),z="SelectedChannelStore",W=3e5,Y=6e4,K=void 0,Q={},Z=void 0,X=void 0,J=void 0,q=void 0,$=void 0,ee=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.mustEmitChanges(),this.waitFor(D.default,R.default,w.default)},t.prototype.getChannelId=function(e){return e=e===H.ME?null:e||w.default.getGuildId()||null,Q[e]},t.prototype.getVoiceChannelId=function(){return G.default.isSupported()?J:null},t.prototype.getLastSelectedChannelId=function(){return Z},t}(S.default.Store);t.default=new ee(C.default,{CONNECTION_OPEN:f,CONNECTION_CLOSED:c,CHANNEL_SELECT:d,CHANNEL_CREATE:_,CHANNEL_DELETE:g,GUILD_CREATE:m,GUILD_DELETE:v,VOICE_CHANNEL_SELECT:p,VOICE_CHANNEL_CLEAR:h,VOICE_STATE_UPDATE:E,LOGOUT:y}),e.exports=t.default},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(5)),s=a(i),l=function(e){var t=e.styles,n=e.label,a=e.hint,r=e.action,i=e.danger,l=void 0!==i&&i,u=e.disabled,f=void 0!==u&&u,c=e.children,d=void 0===c?null:c;return o("div",{className:(0,s.default)("item",{danger:l,disabled:f}),style:t,onClick:f?null:r},void 0,o("span",{},void 0,n),o("div",{className:"hint"},void 0,a),d)};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={open:function(e){r.default.dispatch({type:i.ActionTypes.CONTEXT_MENU_OPEN,contextMenu:e})},close:function(){r.default.dispatch({type:i.ActionTypes.CONTEXT_MENU_CLOSE})}},e.exports=t.default},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e){var t=Object.keys(e)[0];return t+"("+e[t]+")"}function i(e){var t=e.match(S);return null!=t&&(e="rgba("+(0|t[1])+", "+(0|t[2])+", "+(0|t[3])+", "+t[4]+")"),e}function s(e){return e&&(e.transform&&(e.transform=e.WebkitTransform=e.MozTransform=e.transform.map(r).join(" ")),e.color&&(e.color=i(e.color)),e.backgroundColor&&(e.backgroundColor=i(e.backgroundColor))),e}function l(e,t,n){if(e.setNativeProps)e.setNativeProps(t);else{if(!e.nodeType||void 0===e.setAttribute)return!1;g.default.setValueForStyles(e,s(t.style),n._reactInternalInstance)}}function u(e){return e.transform=e.transform||[],e.transform.push({translateZ:0}),e}function f(e,t,n){return void 0!==t&&void 0!=n?v.default.random(t,n):e}function c(e,t){var n=t.toValueMin,a=t.toValueMax,r=t.tension,i=void 0===r?0:r,s=t.friction,l=void 0===s?0:s,u=t.loop,d=t.reverse,h=t.invert,g=t.callback,m=t.type,v=void 0===m?"spring":m,E=t.shouldLoop,_=t.durationMin,b=t.durationMax,S=o(t,["toValueMin","toValueMax","tension","friction","loop","reverse","invert","callback","type","shouldLoop","durationMin","durationMax"]),I=e._value,T=f(t.duration,_,b),N=f(t.toValue,n,a),A=y.default[v](e,p({},S,{toValue:N,tension:i,friction:l,duration:T})),M=A,C=void 0;if(d||h){var O=f(t.duration,_,b);C=y.default[v](e,p({},S,{toValue:d?I:-N,tension:i,friction:l,duration:O})),M=y.default.sequence([A,C])}u?M.start(function(){(!E||E&&E())&&(g?g(c.bind(null,e,t)):c(e,t))}):M.start(g)}function d(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return e.interpolate({inputRange:[0,1],outputRange:n})}t.__esModule=!0;var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},h=n(1136),g=a(h),m=n(7),v=a(m),E=n(1723),y=a(E),_=n(852),b=a(_),S=/rgba\(([\d.]+), ([\d.]+), ([\d.]+), ([\d.]+)\)/;y.default.inject.ApplyAnimatedValues(l),t.default=p({},y.default,{Easing:b.default,accelerate:u,animate:c,interpolate:d,div:y.default.createAnimatedComponent("div"),span:y.default.createAnimatedComponent("span"),img:y.default.createAnimatedComponent("img"),a:y.default.createAnimatedComponent("a"),form:y.default.createAnimatedComponent("form"),ul:y.default.createAnimatedComponent("ul"),li:y.default.createAnimatedComponent("li"),g:y.default.createAnimatedComponent("g"),use:y.default.createAnimatedComponent("use"),path:y.default.createAnimatedComponent("path"),section:y.default.createAnimatedComponent("section")}),e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var a=void 0;a=n(1577).impl,t.default=a,e.exports=t.default},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(){return"audio"+(Ve?"["+Ve+"]":"")}function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"audioPermission",t=_e.default.get(e);return null!=t?_e.default.remove(e):t=Ge.supports(be.MediaEngineFeatures.AUTO_ENABLE),t}function u(){return{permission:l(),mode:me.InputModes.VOICE_ACTIVITY,modeOptions:{threshold:-40,autoThreshold:xe.default.embedded,vadLeading:5,vadTrailing:25,delay:20,shortcut:xe.default.embedded?[]:""},mute:!1,deaf:!1,echoCancellation:!0,noiseSuppression:!0,automaticGainControl:!0,silenceWarning:!0,attenuation:0,attenuateWhileSpeakingSelf:!1,attenuateWhileSpeakingOthers:!0,localMutes:{},localVolumes:{},localPans:{},inputVolume:be.DEFAULT_VOLUME,outputVolume:be.DEFAULT_VOLUME,inputDeviceId:be.DEFAULT_DEVICE_ID,outputDeviceId:be.DEFAULT_DEVICE_ID,videoDeviceId:be.DEFAULT_DEVICE_ID,qos:!0}}function f(e){e.setInputMode(je.mode,{vadThreshold:je.modeOptions.threshold,vadAutoThreshold:je.modeOptions.autoThreshold,vadLeading:je.modeOptions.vadLeading,vadTrailing:je.modeOptions.vadTrailing,pttReleaseDelay:je.modeOptions.delay})}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:be.DEFAULT_VOLUME;return ce.default.clamp(e,0,t)}function d(e){e.setSelfMute(!Fe||je.mute||je.deaf||Ke||Qe||Ze)}function p(){Ge.setVideoInputDevice(Je?b(Ye,je.videoDeviceId):be.DISABLED_DEVICE_ID)}function h(){Ge.on("connection",function(e){f(e),d(e),e.setSelfDeaf(je.deaf),e.setEchoCancellation(je.echoCancellation),e.setNoiseSuppression(je.noiseSuppression),e.setAutomaticGainControl(je.automaticGainControl),e.setAttenuation(je.attenuation,je.attenuateWhileSpeakingSelf,je.attenuateWhileSpeakingOthers),e.setQoS(je.qos);for(var t=Object.keys(je.localMutes),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var r=o;e.setLocalMute(r,je.localMutes[r])}for(var i=Object.keys(je.localVolumes),s=Array.isArray(i),l=0,i=s?i:i[Symbol.iterator]();;){var u;if(s){if(l>=i.length)break;u=i[l++]}else{if(l=i.next(),l.done)break;u=l.value}var c=u;e.setLocalVolume(c,je.localVolumes[c])}for(var p=Object.keys(je.localPans),h=Array.isArray(p),g=0,p=h?p:p[Symbol.iterator]();;){var m;if(h){if(g>=p.length)break;m=p[g++]}else{if(g=p.next(),g.done)break;m=g.value}var v=m,E=je.localPans[v];e.setLocalPan(v,E.left,E.right)}e.on("speaking",function(e,t){pe.default.dirtyDispatch({type:me.ActionTypes.SPEAKING,userId:e,speaking:t})}),e.setQualityThresholds([.92,.75,0],2e3,2,10),e.on("quality",function(e,t){var n=t.tier,a=t.quality,o=t.prevTier,r=t.duration,i=t.ping,s=Oe.default.getChannel(Me.default.getVoiceChannelId());null!=s&&Pe.default.track("voice_quality",{speaker:e,tier:n,quality:a,previous_tier:o,duration:r,session_id:Be,guild_id:s.getGuildId(),channel_id:s.id,minimum_ping:i.min,maximum_ping:i.max,average_ping:i.avg})})}),Ge.on("devicechange",function(e,t,n){pe.default.dirtyDispatch({type:me.ActionTypes.MEDIA_ENGINE_DEVICES,inputDevices:e,outputDevices:t,videoDevices:n})}),Ge.on("volumechange",function(e,t){pe.default.dirtyDispatch({type:me.ActionTypes.AUDIO_VOLUME_CHANGE,inputVolume:e,outputVolume:t})}),nt.reset()}function g(){je=ce.default.defaultsDeep(_e.default.get(s()),u()),E()}function m(e){je=Object.assign(je,e),_e.default.set(s(),je)}function v(){_e.default.remove(s()),location.reload()}function E(){Ge.setAudioInputDevice(je.inputDeviceId),Ge.setAudioOutputDevice(je.outputDeviceId),p(),Ge.setDesktopSource(He),Ge.setInputVolume(je.inputVolume),Ge.setOutputVolume(je.outputVolume)}function y(){Fe||je.mute||!je.permission||!/^https/.test(location.protocol)&&"localhost"!==location.hostname||Ge.enable().then(function(){return pe.default.dispatch({type:me.ActionTypes.AUDIO_ENABLE})},function(){return m({permission:!1})})}function _(e){return{id:be.DEFAULT_DEVICE_ID,index:0,name:e,disabled:!0}}function b(e,t){var n=e[t]||(0,ce.default)(e).values().first();return null!=n?n.id:t}function S(e){0===e.length&&(e=[_(ge.default.Messages.NO_INPUT_DEVICES)]);var t=ze;if(ze=ce.default.keyBy(e,"id"),!ce.default.isEqual(ze,t)){var n=b(ze,je.inputDeviceId);Ge.setAudioInputDevice(n)}}function I(e){0===e.length&&(e=[_(ge.default.Messages.NO_OUTPUT_DEVICES)]);var t=We;if(We=ce.default.keyBy(e,"id"),!ce.default.isEqual(We,t)){var n=b(We,je.outputDeviceId);Ge.setAudioOutputDevice(n)}}function T(e){qe=e.length>0,qe||(e=[_(ge.default.Messages.NO_VIDEO_DEVICES)]);var t=Ye;Ye=ce.default.keyBy(e,"id"),ce.default.isEqual(Ye,t)||p()}function N(e){Be=e.sessionId,Ke=!1,Xe=!1,y()}function A(){Be=null}function M(e){e.state===me.RTCConnectionStates.CONNECTED&&(et=!1),nt.update()}function C(e){return Be===e.sessionId?(Ke=e.mute||e.suppress,Xe=e.deaf,Ge.eachConnection(d),null==e.channelId&&(Je=!1,He=null,p()),!0):(null==e.channelId&&Ge.eachConnection(function(t){return t.destroyUser(e.userId)}),!1)}function O(e){Qe=e.mute,Ge.eachConnection(d)}function D(){if(Ze)return!1;var e=je,t=e.mute,n=e.deaf;t=!n&&!t,t||(n=!1),m({mute:t,deaf:n}),Ge.eachConnection(function(e){e.setSelfDeaf(je.deaf),d(e)})}function L(){m({deaf:!je.deaf}),Ge.eachConnection(function(e){e.setSelfDeaf(je.deaf),d(e)})}function R(e){var t=e.userId,n=je,a=n.localMutes;a[t]?delete a[t]:a[t]=!0,m({localMutes:a}),Ge.eachConnection(function(e){return e.setLocalMute(t,je.localMutes[t]||!1)})}function x(e){var t=e.userId,n=e.volume,a=je,o=a.localVolumes;n===be.DEFAULT_VOLUME?delete o[t]:o[t]=n,m({localVolumes:o}),Ge.eachConnection(function(e){return e.setLocalVolume(t,n)})}function w(e){var t=e.userId,n=e.left,a=e.right,o=je,r=o.localPans;r[t]={left:n,right:a},m({localPans:r}),Ge.eachConnection(function(e){return e.setLocalPan(t,n,a)})}function P(e){m({mode:e.mode,modeOptions:e.options}),Ge.eachConnection(f),nt.update()}function k(e){var t=e.volume;t=Math.ceil(t),m({inputVolume:c(t)}),Ge.setInputVolume(t)}function U(e){var t=e.volume;t=Math.ceil(t),m({outputVolume:t}),Ge.setOutputVolume(t)}function G(e){var t=e.id;t=b(ze,t),m({inputDeviceId:t}),Ge.setAudioInputDevice(t)}function j(e){var t=e.id;t=b(We,t),m({outputDeviceId:t}),Ge.setAudioOutputDevice(t)}function F(e){var t=e.id;t=b(Ye,t),m({videoDeviceId:t}),p()}function B(e){var t=e.inputDevices,n=e.outputDevices,a=e.videoDevices;S(t),I(n),T(a)}function V(){Fe=!0,m({permission:!0,mute:!1,deaf:!1}),Ge.eachConnection(function(e){e.setSelfDeaf(je.deaf),d(e)})}function H(e){var t=e.inputVolume,n=e.outputVolume;m({inputVolume:c(t),outputVolume:n})}function z(e){m({echoCancellation:e.enabled}),Ge.eachConnection(function(e){return e.setEchoCancellation(je.echoCancellation)})}function W(e){m({noiseSuppression:e.enabled}),Ge.eachConnection(function(e){return e.setNoiseSuppression(je.noiseSuppression)})}function Y(e){m({automaticGainControl:e.enabled}),Ge.eachConnection(function(e){return e.setAutomaticGainControl(je.automaticGainControl)})}function K(e){m({silenceWarning:e.enabled}),nt.update()}function Q(e){m({attenuation:e.attenuation,attenuateWhileSpeakingSelf:e.attenuateWhileSpeakingSelf,attenuateWhileSpeakingOthers:e.attenuateWhileSpeakingOthers}),Ge.eachConnection(function(e){return e.setAttenuation(je.attenuation,je.attenuateWhileSpeakingSelf,je.attenuateWhileSpeakingOthers)})}function Z(e){var t=e.enabled;m({qos:t}),Ge.eachConnection(function(e){return e.setQoS(t)})}function X(){v()}function J(e){$e=e.inputDetected,!et&&$e&&(et=!0,nt.update())}function q(){var e=!Ne.default.canUseVoiceActivity();if(e===Ze)return!1;Ze=e,Ge.eachConnection(d)}function $(){Ge.setUseLegacyAudioDevice(!Ge.getUseLegacyAudioDevice())}function ee(e){var t=e.guildId,n=e.channelId;if(null!=t||null==n)return void(tt=!1);tt||(tt=!0,(je.mute||je.deaf)&&(m({deaf:!1,mute:!1}),Ge.eachConnection(function(e){e.setSelfDeaf(je.deaf),d(e)})))}function te(e){var t=e.application;return null==Ve&&(null!=_e.default.get(s())&&(Ve=t.id,void g()))}function ne(e){if(Ve!==e.application.id)return!1;Ve=null,g()}function ae(e){var t=e.application;if(null!=Ve)return!1;Ve=t.id,g()}function oe(e){var t=e.implementation;Ge.destroy(),Ue=t,Ge=(0,be.initializeMediaEngine)(Ue),Ge.enable(),E(),h()}function re(e){Je=e.enabled,p()}function ie(e){var t=e.sourceId;He=t,Ge.setDesktopSource(t)}t.__esModule=!0;var se,le,ue,fe=n(7),ce=a(fe),de=n(4),pe=a(de),he=n(3),ge=a(he),me=n(1),ve=n(2),Ee=a(ve),ye=n(25),_e=a(ye),be=n(162),Se=n(17),Ie=a(Se),Te=n(806),Ne=a(Te),Ae=n(19),Me=a(Ae),Ce=n(11),Oe=a(Ce),De=n(62),Le=a(De),Re=n(18),xe=a(Re),we=n(29),Pe=a(we),ke={left:1,right:1},Ue=(0,be.determineMediaEngine)(),Ge=(0,be.initializeMediaEngine)(Ue),je=u(),Fe=Ge.supports(be.MediaEngineFeatures.AUTO_ENABLE),Be=void 0,Ve=void 0,He=void 0,ze=(se={},se[be.DEFAULT_DEVICE_ID]=_(ge.default.Messages.NO_INPUT_DEVICES),se),We=(le={},le[be.DEFAULT_DEVICE_ID]=_(ge.default.Messages.NO_OUTPUT_DEVICES),le),Ye=(ue={},ue[be.DEFAULT_DEVICE_ID]=_(ge.default.Messages.NO_VIDEO_DEVICES),ue),Ke=!1,Qe=!1,Ze=!1,Xe=!1,Je=!1,qe=!1,$e=null,et=!1,tt=!1,nt=new(function(){function e(){var t=this;i(this,e),this.noVoiceTimeout=5e3,this.voiceTimeout=1500,this.started=!1,this.handleSilence=function(e){var n=!e;t.stateChangeTimeout&&clearTimeout(t.stateChangeTimeout),t.stateChangeTimeout=setTimeout(function(){t.stateChangeTimeout=null,t.started&&pe.default.dirtyDispatch({type:me.ActionTypes.AUDIO_INPUT_DETECTED,inputDetected:n})},n?t.voiceTimeout:t.noVoiceTimeout)},this.handleSilence=this.handleSilence.bind(this)}return e.prototype.start=function(){this.started||(this.started=!0,Ge.on("silence",this.handleSilence))},e.prototype.stop=function(){this.started&&(this.started=!1,this.stateChangeTimeout&&(clearTimeout(this.stateChangeTimeout),this.stateChangeTimeout=null),Ge.removeListener("silence",this.handleSilence),pe.default.dirtyDispatch({type:me.ActionTypes.AUDIO_INPUT_DETECTED,inputDetected:null}))},e.prototype.update=function(){!et&&Le.default.getState()===me.RTCConnectionStates.RTC_CONNECTED&&je.mode===me.InputModes.VOICE_ACTIVITY&&je.silenceWarning?this.start():this.stop()},e.prototype.reset=function(){this.stop(),this.update()},e}()),at=function(e){function t(){return i(this,t),o(this,e.apply(this,arguments))}return r(t,e),t.prototype.initialize=function(){h(),g(),this.waitFor(Ie.default,Le.default),this.syncWith([Ne.default],q)},t.prototype.supports=function(e){return Ge.supports(e)},t.prototype.isSupported=function(){return Ge.supported()},t.prototype.getMediaEngine=function(){return Ge},t.prototype.getMediaEngineImpl=function(){return Ue},t.prototype.isEnabled=function(){return Fe},t.prototype.isMute=function(){return this.isSelfMute()||Ke},t.prototype.isDeaf=function(){return this.isSelfDeaf()||Xe},t.prototype.isSelfMutedTemporarily=function(){return Qe},t.prototype.isSelfMute=function(){return!Fe||je.mute||this.isSelfDeaf()||Ze},t.prototype.isSelfDeaf=function(){return!this.isSupported()||je.deaf},t.prototype.isVideoEnabled=function(){return Je&&qe},t.prototype.isScreenSharing=function(){return null!=He},t.prototype.isLocalMute=function(e){return je.localMutes[e]||!1},t.prototype.getLocalPan=function(e){var t=je.localPans[e];return null!=t?t:ke},t.prototype.getLocalVolume=function(e){var t=je.localVolumes[e];return null!=t?t:be.DEFAULT_VOLUME},t.prototype.getInputVolume=function(){return je.inputVolume},t.prototype.getOutputVolume=function(){return je.outputVolume},t.prototype.getMode=function(){return je.mode},t.prototype.getModeOptions=function(){return je.modeOptions},t.prototype.getInputDeviceId=function(){return b(ze,je.inputDeviceId)},t.prototype.getOutputDeviceId=function(){return b(We,je.outputDeviceId)},t.prototype.getVideoDeviceId=function(){return b(Ye,je.videoDeviceId)},t.prototype.getInputDevices=function(){return ze},t.prototype.getOutputDevices=function(){return We},t.prototype.getVideoDevices=function(){return Ye},t.prototype.getEchoCancellation=function(){return je.echoCancellation},t.prototype.getNoiseSuppression=function(){return je.noiseSuppression},t.prototype.getAutomaticGainControl=function(){return je.automaticGainControl},t.prototype.getEnableSilenceWarning=function(){return je.silenceWarning},t.prototype.getQoS=function(){return je.qos},t.prototype.getAttenuation=function(){return je.attenuation},t.prototype.getAttenuateWhileSpeakingSelf=function(){return je.attenuateWhileSpeakingSelf},t.prototype.getAttenuateWhileSpeakingOthers=function(){return je.attenuateWhileSpeakingOthers},t.prototype.isUsingLegacySubsystem=function(){return Ge.getUseLegacyAudioDevice()},t.prototype.getSettings=function(){return je},t.prototype.getInputDetected=function(){return $e},t.prototype.getPacketDelay=function(){return xe.default.embedded||this.getMode()!==me.InputModes.VOICE_ACTIVITY?0:5},t.prototype.getCurrentAppId=function(){return Ve},t}(Ee.default.Store);t.default=new at(pe.default,{VOICE_CHANNEL_SELECT:ee,VOICE_STATE_UPDATE:C,SET_MEDIA_ENGINE:oe,CONNECTION_OPEN:N,CONNECTION_CLOSED:A,RTC_CONNECTION_STATE:M,AUDIO_SET_TEMPORARY_SELF_MUTE:O,AUDIO_TOGGLE_SELF_MUTE:D,AUDIO_TOGGLE_SELF_DEAF:L,AUDIO_TOGGLE_LOCAL_MUTE:R,AUDIO_SET_LOCAL_VOLUME:x,AUDIO_SET_LOCAL_PAN:w,AUDIO_SET_MODE:P,AUDIO_SET_INPUT_VOLUME:k,AUDIO_SET_OUTPUT_VOLUME:U,AUDIO_SET_INPUT_DEVICE:G,AUDIO_SET_OUTPUT_DEVICE:j,AUDIO_SET_ECHO_CANCELLATION:z,AUDIO_SET_NOISE_SUPPRESSION:W,AUDIO_SET_AUTOMATIC_GAIN_CONTROL:Y,AUDIO_SET_DISPLAY_SILENCE_WARNING:K,AUDIO_SET_ATTENUATION:Q,AUDIO_SET_QOS:Z,MEDIA_ENGINE_DEVICES:B,AUDIO_ENABLE:V,AUDIO_VOLUME_CHANGE:H,AUDIO_RESET:X,AUDIO_INPUT_DETECTED:J,AUDIO_SWITCH_SUBSYSTEM:$,MEDIA_ENGINE_SET_VIDEO_ENABLED:re,MEDIA_ENGINE_SET_DESKTOP_SOURCE:ie,MEDIA_ENGINE_SET_VIDEO_DEVICE:F,RPC_APP_CONNECTED:te,RPC_APP_DISCONNECTED:ne,AUDIO_SET_CURRENT_APP:ae}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.ButtonSizes=t.ButtonColors=t.ButtonLooks=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(2089),p=a(d),h=n(195),g=t.ButtonLooks={FILLED:"filled",INVERTED:"inverted",OUTLINED:"outlined",GHOST:"ghost",LINK:"link"},m=t.ButtonColors={BRAND:"brand",GREY:"grey",RED:"red",GREEN:"green",YELLOW:"yellow",PRIMARY:"primary",LINK:"link",WHITE:"white",TRANSPARENT:"transparent"},v=t.ButtonSizes={SMALL:"small",MEDIUM:"medium",LARGE:"large",XLARGE:"xlarge",MIN:"min",MAX:"max",ICON:"icon"},E={DEFAULT:"Default",DISABLED:"Disabled",SUBMITTING:"Submitting"},y=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.getMode=a.getMode.bind(a),a.renderSpinner=a.renderSpinner.bind(a),a}return i(t,e),t.prototype.getMode=function(){var e=this.props,t=e.submitting;return e.disabled?E.DISABLED:t?E.SUBMITTING:E.DEFAULT},t.prototype.renderSpinner=function(){var e=this.props,t=e.look,n=e.color,a=e.disabled;if(!e.submitting||a)return null;var o=(0,h.getClass)(p.default,"spinnerItem",n,t);return s("span",{className:p.default.spinner},void 0,s("span",{className:p.default.spinnerInner},void 0,s("span",{className:o}),s("span",{className:o}),s("span",{className:o})))},t.prototype.render=function(){var e=this.props,t=e.look,n=e.color,a=e.size,o=e.grow,r=e.disabled,i=e.submitting,l=e.type,u=e.style,f=e.className,d=e.onClick,g=e.onMouseDown,m=e.onMouseUp,v=e.children,E=this.getMode();return s("button",{onClick:r||i?void 0:d,onMouseUp:r?void 0:m,onMouseDown:r?void 0:g,type:l,disabled:r,style:u,className:(0,c.default)((0,h.getClass)(p.default,"button",n,t,E),(0,h.getClass)(p.default,a,o?"Grow":null),f)},void 0,s("div",{className:(0,c.default)((0,h.getClass)(p.default,"contents",E),(0,h.getClass)(p.default,"contents",t))},void 0,v),this.renderSpinner())},t}(u.default.PureComponent);y.Looks=g,y.Colors=m,y.Sizes=v,y.defaultProps={look:g.FILLED,color:m.BRAND,size:v.MEDIUM,grow:!0,disabled:!1,submitting:!1,type:"button"},t.default=y},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)"),a=n.exec(e);return null===a||a&&"string"!=typeof a[1]&&a[1].length?"":decodeURIComponent(a[1]).replace(/\+/g," ")}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return w.forEach(function(t){var n=o(document.URL,t);n.length&&(e[t]=n)}),e}function i(){var e=document.referrer;return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=document.referrer,n=i(t),a="yahoo"!==n?"q":"p";if(null!=n){e.search_engine=n;var r=o(t,a);r.length&&(e.mp_keyword=r)}return e}function l(){var e=navigator.userAgent,t=navigator.vendor||"";return window.opera?/Mini/.test(e)?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/FBIOS/.test(e)?"Facebook Mobile":/CriOS/.test(e)?"Chrome iOS":/Apple/.test(t)?/Mobile/.test(e)?"Mobile Safari":"Safari":/Android/.test(e)?/Chrome/.test(e)?"Android Chrome":"Android Mobile":/Chrome/.test(e)?"Chrome":/Konqueror/.test(e)?"Konqueror":/Firefox/.test(e)?"Firefox":/MSIE|Trident\//.test(e)?"Internet Explorer":/Gecko/.test(e)?"Mozilla":""}function u(){var e=navigator.userAgent;return/Windows/i.test(e)?/Phone/.test(e)?"Windows Mobile":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/i.test(e)?"Linux":""}function f(){var e=navigator.userAgent;return/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Windows Phone/i.test(e)?"Windows Phone":/Android/.test(e)?"Android":""}function c(){var e=document.referrer.split("/");return e.length>=3?e[2]:""}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.os=u(),e.browser=l(),e.device=f(),e.referrer=document.referrer,e.referring_domain=c(),r(e),s(e),e}function p(){var e=I.default.get("superProperties");return e||(e=d(),I.default.set("superProperties",e)),e}function h(e){try{return new b.Buffer(JSON.stringify(e)).toString("base64")}catch(e){return null}}function g(e){return M[e]&&M[e]>Date.now()}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=k[e];if(n){var a=[e].concat(n.throttleKeys(t)).join("_");if(g(a))return;M[a]=Date.now()+n.throttlePeriod}return _.default.post({url:E.Endpoints.TRACK,body:{event:e,properties:t,token:N},retries:3}).catch(function(e){console.error("AnalyticsUtils.track(...):",e.body.message)})}t.__esModule=!0,t.ANALYTIC_EVENT_CONFIGS=void 0;var v,E=n(1),y=n(16),_=a(y),b=n(196),S=n(25),I=a(S),T=9e5,N=void 0,A=void 0,M={},C=window.__require;if(null!=C){var O=void 0;try{O=C("electron")}catch(e){}if(O){var D=C("os"),L=C("process"),R=void 0;switch(L.platform){case"win32":R="Windows";break;case"darwin":R="Mac OS X";break;case"linux":R="Linux";break;default:R=L.platform}if(A={os:R,browser:"Discord Client",release_channel:O.remote.getGlobal("releaseChannel")||"unknown",client_version:O.remote.app.getVersion(),os_version:D.release()},"linux"==L.platform){var x=O.remote.getGlobal("crashReporterMetadata");A.window_manager=x.wm,A.distro=x.distro}}}var w="utm_source utm_medium utm_campaign utm_content utm_term".split(" ");if(!A)try{A=p()}catch(e){A={}}var P=h(A),k=t.ANALYTIC_EVENT_CONFIGS=(v={},v[E.AnalyticEvents.ACK_MESSAGES]={throttlePeriod:T,throttleKeys:function(e){return[e.guild_id]}},v[E.AnalyticEvents.START_SPEAKING]={throttlePeriod:T,throttleKeys:function(e){return[e.server]}},v[E.AnalyticEvents.START_LISTENING]={throttlePeriod:T,throttleKeys:function(e){return[e.server]}},v.test=2,v);t.default={track:m,isThrottled:g,encodeProperties:h,setToken:function(e){N=e},clearToken:function(){N=null},getSuperProperties:function(){return A},getSuperPropertiesBase64:function(){return P}}},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){m.default.track("streamer_mode_toggle",{enabled:e,automatic:t})}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),f=n(2),c=a(f),d=n(4),p=a(d),h=n(1),g=n(29),m=a(g),v={enabled:!1,autoToggle:!0,hideInstantInvites:!0,hidePersonalInformation:!0,disableSounds:!0,disableNotifications:!0},E=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getSettings=function(){var e=l({},v);for(var t in e)e[t]=this.get(t);return e},u(t,[{key:"enabled",get:function(){return this.get("enabled")}},{key:"autoToggle",get:function(){return this.get("autoToggle")}},{key:"hideInstantInvites",get:function(){return this.enabled&&this.get("hideInstantInvites")}},{key:"hidePersonalInformation",get:function(){return this.enabled&&this.get("hidePersonalInformation")}},{key:"disableSounds",get:function(){return this.enabled&&this.get("disableSounds")}},{key:"disableNotifications",get:function(){return this.enabled&&this.get("disableNotifications")}}]),t}(c.default.CachedStore);t.default=new E(p.default,"StreamerModeStore",h.ActionTypes.STREAMER_MODE_UPDATE,v,function(e,t){switch(t.type){case h.ActionTypes.STREAMER_MODE_UPDATE:return"enabled"===t.key?s(t.value,!1):m.default.track("update_streamer_mode_settings",{enabled:e.get("enabled"),automatic:e.get("autoToggle"),disable_notifications:e.get("disableNotifications"),disable_sounds:e.get("disableSounds"),hide_instant_invites:e.get("hideInstantInvites"),hide_personal_info:e.get("hidePersonalInformation")}),!1;case h.ActionTypes.RUNNING_STREAMER_TOOLS_CHANGE:if(e.autoToggle){var n=t.count>0;return e.set("enabled",n),s(n,!0),!0}return!1;default:return!1}}),e.exports=t.default},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(0),r=a(o),i=n(23),s=a(i),l=n(809),u=a(l),f=n(1250),c=a(f),d=n(72),p=a(d),h=0,g="top",m="left",v="right",E="bottom",y="normal",_="success",b="warning",S="error",I=r.default.createClass({displayName:"Tooltip",mixins:[p.default],statics:{TOP:g,LEFT:m,RIGHT:v,BOTTOM:E,NORMAL:y,SUCCESS:_,WARNING:b,ERROR:S},getDefaultProps:function(){return{position:g,type:y,delay:0}},getInitialState:function(){return{id:h++,open:!1}},componentDidUpdate:function(e){e.position===this.props.position&&e.text===this.props.text||u.default.isOpen(this.state.id)&&this.showTooltip()},componentWillUnmount:function(){this.hideTooltip()},showDelayedTooltip:function(){this._timer||(this._timer=this.setTimeout(this.showTooltip,this.props.delay))},showTooltip:function(){var e=s.default.findDOMNode(this).getBoundingClientRect(),t=e.top,n=e.left,a=e.right,o=e.bottom;this._timer=this.clearTimeout(this._timer),c.default.show(this.state.id,{position:this.props.position,text:this.props.text,type:this.props.type,targetWidth:a-n,targetHeight:o-t,x:n,y:t})},hideTooltip:function(){this._timer=this.clearTimeout(this._timer),u.default.isOpen(this.state.id)&&c.default.hide(this.state.id)},render:function(){var e=this;if(this.props.children){var t=r.default.Children.only(this.props.children),n=t.props,a=n.onMouseOver,o=n.onMouseOut,i=n.onClick,s=n.onContextMenu;return t=r.default.cloneElement(t,{onMouseEnter:function(t){e.props.delay?e.showDelayedTooltip():e.showTooltip(),a&&a(t)},onMouseLeave:function(t){e.hideTooltip(),o&&o(t)},onClick:function(t){e.hideTooltip(),i&&i(t)},onContextMenu:function(t){e.hideTooltip(),s&&s(t)}})}return null}});t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t,n,a){var o=null,r=null;if(a&&a.length>0){var i=null,s=null;a.forEach(function(e){var t=n[e];t&&(t.color>0&&(null==i||t.position>i.position)&&(i=t),t.hoist&&(null==s||t.position>s.position)&&(s=t))}),i&&(null!=i.colorString?o=i.colorString:i.color&&(i.colorString=(0,I.int2hex)(i.color))),s&&(r=s.id)}return{userId:e,nick:t,roles:a,colorString:o,hoistRoleId:r}}function l(e){T={},e.guilds.forEach(function(e){var t=S.default.getGuild(e.id);if(null!=t){var n={},a=t.roles;e.members.forEach(function(e){var t=e.user,o=e.nick,r=e.roles;n[t.id]=s(t.id,o,a,r)}),T[e.id]=n}})}function u(e){var t=e.guildId,n=e.user,a=e.nick,o=e.roles,r=T[t];if(null==r)return!1;var i=S.default.getGuild(t);if(null==i)return console.warn("Guild "+t+" not found during GUILD_MEMBER_UPDATE."),!1;r[n.id]=s(n.id,a,i.roles,o)}function f(e){var t=T[e.guildId];if(null==t)return!1;var n=S.default.getGuild(e.guildId);if(null==n)return console.warn("Guild "+e.guildId+" not found during GUILD_MEMBERS_CHUNK."),!1;e.members.forEach(function(e){t[e.user.id]=s(e.user.id,e.nick,n.roles,e.roles)})}function c(e){var t=e.guildId,n=e.user,a=T[t];if(null==a||null==a[n.id])return!1;delete a[n.id]}function d(e){var t=S.default.getGuild(e.guild.id);if(null==t)return!1;var n={};e.guild.members.forEach(function(e){var a=e.user,o=e.nick,r=e.roles;n[a.id]=s(a.id,o,t.roles,r)}),T[t.id]=n}function p(e){delete T[e.guild.id]}function h(e){var t=T[e.guildId];if(null==t)return!1;var n=S.default.getGuild(e.guildId);if(null==n)return console.warn("Guild "+e.guildId+" not found during "+e.type+"."),!1;for(var a=Object.keys(t),o=Array.isArray(a),r=0,a=o?a:a[Symbol.iterator]();;){var i;if(o){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var l=i,u=t[l];(u.roles&&u.roles.length>0||u.colorString||u.hoistRoleId)&&(t[l]=s(l,u.nick,n.roles,u.roles))}}t.__esModule=!0;var g=n(2),m=a(g),v=n(7),E=a(v),y=n(4),_=a(y),b=(n(1),n(12)),S=a(b),I=n(123),T={},N=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(S.default)},t.prototype.memberOf=function(e){return(0,E.default)(T).toPairs().filter(function(t){t[0];return null!=t[1][e]}).map(function(e){return e[0]}).value()},t.prototype.getNicknames=function(e){return(0,E.default)(T).toPairs().map(function(t){return t[1][e]}).filter(function(e){return null!=e}).map(function(e){return e.nick}).filter(function(e){return null!=e}).uniq().value()},t.prototype.isMember=function(e,t){if(!e||!t)return!1;var n=T[e];return null!=n&&null!=n[t]},t.prototype.getMemberIds=function(e){var t=T[e];return null==t?[]:Object.keys(t)},t.prototype.getMembers=function(e){var t=T[e];return null==t?[]:Object.values(t)},t.prototype.getKeyedMembers=function(e){return T[e]||{}},t.prototype.getMember=function(e,t){var n=T[e];return null!=n?n[t]:null},t.prototype.getNick=function(e,t){if(!e||!t)return null;var n=this.getMember(e,t);return null!=n?n.nick:null},t}(m.default.Store);t.default=new N(_.default,{CONNECTION_OPEN:l,GUILD_CREATE:d,GUILD_SYNC:d,GUILD_DELETE:p,GUILD_MEMBER_ADD:u,GUILD_MEMBER_UPDATE:u,GUILD_MEMBERS_CHUNK:f,GUILD_MEMBER_REMOVE:c,GUILD_ROLE_UPDATE:h,GUILD_ROLE_DELETE:h}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){null!=I&&null==v.default.getGuild(I)&&(I=null),null!=T&&null==v.default.getGuild(T)&&(T=null)}function l(e){var t=e.guildId;if(I===t)return!1;null!=t&&(T=t),I=t}function u(e){var t=e.guild.id,n=!1;return T===t&&(T=null,n=!0),I===t&&(I=null,b.default.replaceWith(S.Routes.ME),n=!0),n}function f(e){var t=e.guildId;if(e.user.id!==y.default.getId())return!1;var n=!1;return T===t&&(T=null,n=!0),I===t&&(I=null,b.default.replaceWith(S.Routes.ME),n=!0),n}function c(){I=null,T=null}t.__esModule=!0;var d=n(2),p=a(d),h=n(4),g=a(h),m=n(12),v=a(m),E=n(17),y=a(E),_=n(42),b=a(_),S=n(1),I=null,T=null,N=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.mustEmitChanges(),this.waitFor(v.default,y.default)},t.prototype.getGuildId=function(){return I},t.prototype.getLastSelectedGuildId=function(){return T},t}(p.default.Store);t.default=new N(g.default,{CONNECTION_OPEN:s,GUILD_SELECT:l,GUILD_MEMBER_REMOVE:f,GUILD_DELETE:u,LOGOUT:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.ComponentDispatch=void 0;var s=n(74),l=a(s),u=function(e){function t(){var n,a,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=a=r(this,e.call.apply(e,[this].concat(l))),a._savedDispatches={},i=n,r(a,i)}return i(t,e),t.prototype.safeDispatch=function(e,t){if(!this.hasSubscribers(e))return this._savedDispatches[e]||(this._savedDispatches[e]=[]),void this._savedDispatches[e].push(t);this.dispatch(e,t)},t.prototype.dispatch=function(e,t){return this.emit(e,t),this},t.prototype.dispatchToLastSubscribed=function(e,t){var n=this.listeners(e);return n.length&&n[n.length-1](t),this},t.prototype.dispatchToFirst=function(e,t){for(var n=0;n<e.length;n++){var a=e[n];if(this.hasSubscribers(a)){this.dispatch(a,t);break}}return this},t.prototype.hasSubscribers=function(e){return this.listenerCount(e)>0},t.prototype._checkSavedDispatches=function(e){var t=this;this._savedDispatches[e]&&(this._savedDispatches[e].forEach(function(n){return t.dispatch(e,n)}),this._savedDispatches[e]=void 0)},t.prototype.subscribe=function(e,t){return this.listeners(e).indexOf(t)>=0?(console.warn("ComponentDispatch.subscribe: Attempting to add a duplicate listener",e),this):(this.on(e,t),this._checkSavedDispatches(e),this)},t.prototype.subscribeOnce=function(e,t){return this.once(e,t),this._checkSavedDispatches(e),this},t.prototype.unsubscribe=function(e,t){return this.removeListener(e,t),this},t.prototype.reset=function(){return this.removeAllListeners(),this},t}(l.default),f=t.ComponentDispatch=new u;t.default={ComponentDispatch:f}},,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=c.default.findDOMNode(e);if(null==o||o instanceof Text)throw new Error("invalid domNode");var r=o.getBoundingClientRect(),i=r.top,l=r.left,u=r.right,f=r.bottom;t=s({},k,t),I.default.open({key:n||C++,dependsOn:t.dependsOn,position:t.position,render:t.render,targetWidth:u-l,targetHeight:f-i,x:l+(t.offsetX||0),y:i+(t.offsetY||0),zIndexBoost:t.zIndexBoost,backdrop:t.backdrop,animationType:t.animationType,closeOnScroll:t.closeOnScroll,shadow:t.shadow,clickPos:a,containerClass:t.containerClass,preventInvert:t.preventInvert})}t.__esModule=!0;var i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.openPopout=r;var l=n(0),u=a(l),f=n(23),c=a(f),d=n(6),p=a(d),h=n(5),g=a(h),m=n(2),v=a(m),E=n(33),y=a(E),_=n(140),b=a(_),S=n(85),I=a(S),T=n(87),N=a(T),A=n(36),M=n(1),C=1,O="top",D="top-right",L="left",R="right",x="bottom",w="bottom-right",P=[O,D,L,R,x,w],k={position:O,backdrop:!1,animationType:"default",closeOnScroll:!0,toggleClose:!0,shadow:!0},U=u.default.createClass({displayName:"Popout",mixins:[v.default.LazyStoreListenerMixin(b.default),p.default,N.default],statics:{TOP:O,TOP_RIGHT:D,LEFT:L,RIGHT:R,BOTTOM:x,BOTTOM_RIGHT:w,POSITIONS:P},getSubscriptions:function(){var e;return this.props.subscribeTo?(e={},e[this.props.subscribeTo]=this.toggle,e):null},getDefaultProps:function(){return k},getInitialState:function(){var e=this.props.uniqueId||C++;return{id:e,open:b.default.isOpen(e)}},getStateFromStores:function(){return null==this.state?null:{open:b.default.isOpen(this.state.id)}},componentDidUpdate:function(e,t){e.position!==this.props.position&&this.state.open?this.open():t.open&&!this.state.open&&this.close()},componentWillUnmount:function(){this.close()},close:function(){var e=this.props.onClose;this.state.open&&I.default.close(this.state.id),A.ComponentDispatch.unsubscribe(M.ComponentActions.POPOUT_CLOSE,this.close),e&&e()},open:function(e){var t=this.props,n=t.target,a=t.onOpen,i=o(t,["target","onOpen"]);r(n instanceof Function?n():n||this,i,this.state.id,e),A.ComponentDispatch.subscribe(M.ComponentActions.POPOUT_CLOSE,this.close),a&&a()},render:function(){var e=this;if(this.props.children){var t=u.default.Children.only(this.props.children),n=t.props,a=n.onClick,o=n.className;return t=u.default.cloneElement(t,{className:(0,g.default)(o,{"popout-open":this.state.open}),onClick:function(t){var n=t.pageX-t.currentTarget.getBoundingClientRect().left;t.preventDefault(),t.stopPropagation(),e.toggle(n),a&&a(t)}}),this.props.tooltip?i(y.default,{text:this.props.tooltip,position:this.props.tooltipPosition},void 0,t):t}return null},toggle:function(e){this.state.open&&this.props.toggleClose?this.close():this.state.open||this.open(e)}});t.default=U},function(e,t,n){"use strict";t.__esModule=!0;var a={transitionTo:function(e){},replaceWith:function(e){},getHistory:function(){}};a=n(1695),t.default=a,e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(){I=Object.values(S).filter(function(e){return e===b.RelationshipTypes.PENDING_INCOMING}).length}function u(e){S={},e.relationships.forEach(function(e){return S[e.id]=e.type}),l()}function f(e){var t,n=S[e.relationship.id];S=d({},S,(t={},t[e.relationship.id]=e.relationship.type,t)),l(),e.relationship.type===b.RelationshipTypes.PENDING_INCOMING?_.showPendingNotification(e.relationship.user):e.relationship.type===b.RelationshipTypes.FRIEND&&n==b.RelationshipTypes.PENDING_OUTGOING&&_.showAcceptedNotification(e.relationship.user)}function c(e){S=d({},S),delete S[e.relationship.id],l()}t.__esModule=!0;var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p=n(2),h=o(p),g=n(4),m=o(g),v=n(10),E=o(v),y=n(1683),_=a(y),b=n(1),S={},I=0,T=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.initialize=function(){this.waitFor(E.default)},t.prototype.isFriend=function(e){return S[e]===b.RelationshipTypes.FRIEND},t.prototype.isBlocked=function(e){return S[e]===b.RelationshipTypes.BLOCKED},t.prototype.getPendingCount=function(){return I},t.prototype.getRelationships=function(){return S},t.prototype.getRelationshipType=function(e){var t=S[e];return null!=t?t:b.RelationshipTypes.NONE},t.prototype.getFriendIDs=function(){return Object.keys(S).filter(function(e){return S[e]===b.RelationshipTypes.FRIEND})},t}(h.default.Store);t.default=new T(m.default,{CONNECTION_OPEN:u,RELATIONSHIP_ADD:f,RELATIONSHIP_REMOVE:c}),e.exports=t.default},,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s);n(2180);var u=i("div",{className:"spinner-inner"},void 0,i("svg",{className:"circular",viewBox:"25 25 50 50"},void 0,i("circle",{className:"path",cx:"50",cy:"50",r:"20"}))),f=i("span",{className:"spinner-item"}),c=i("span",{className:"spinner-item"}),d=i("span",{className:"spinner-item"}),p=function(e){var t=e.type,n=void 0===t?"wandering-cubes":t,a=o(e,["type"]);return"spinning-circle"===n?i("div",{className:"spinner spinner-"+n},void 0,u):l.default.createElement("span",r({className:"spinner"},a),i("span",{className:"spinner-inner spinner-"+n},void 0,f,c,"pulsing-ellipsis"===n?d:null))};t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(65),r=a(o),i=n(52),s=(a(i),n(103)),l=(a(s),n(75)),u=(a(l),{getInitialState:function(){return this.getStateFromPermissionStore()},componentWillMount:function(){r.default.addChangeListener(this.permissionStoreDidChange)},componentWillUnmount:function(){r.default.removeChangeListener(this.permissionStoreDidChange)},permissionStoreDidChange:function(){this.isMounted()&&this.setState(this.getStateFromPermissionStore())},didPermissionsUpdate:function(e,t){var n=this.state,a=n.__PermissionMixinGuilds,o=n.__PermissionMixinChannels;if(null==t)return a!==e.__PermissionMixinGuilds||o!==e.__PermissionMixinChannels;var r=t.getGuildId();return o[t.id]!==e.__PermissionMixinChannels[t.id]||null!=r&&a[r]!==e.__PermissionMixinGuilds[r]},getStateFromPermissionStore:function(){var e=r.default.getState();return{__PermissionMixinGuilds:e.guilds,__PermissionMixinChannels:e.channels}},can:function(e,t){return r.default.can(e,t)},canManageUser:function(e,t,n){return r.default.canManageUser(e,t,n)}});t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.applicationId,n=e.icon;if(null!=n){return location.protocol+"//cdn.discordapp.com/app-icons/"+t+"/"+n+".jpg"}return null}function r(e,t,n,a,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"jpg";if(null!=a){var i=void 0,s="cdn.discordapp.com";return s?("jpg"===r&&m.default.isDesktop()?r="webp":"jpg"===r&&(r="png"),i=location.protocol+"//"+s+"/"+t+"/"+n+"/"+a+"."+r):i=location.protocol+"//canary.discordapp.com/api"+e(n,a),null!=o&&(i=i+"?size="+o),i}}function i(e){var t=e.id;return location.protocol+"//cdn.discordapp.com/emojis/"+t+".png"}function s(e){var t=e.id,n=e.avatar,a=e.discriminator,o=e.bot,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jpg",s=void 0;return o&&(s=v.BOT_AVATARS[n]),s=s||r(h.Endpoints.AVATAR,"avatars",t,n,2*h.AVATAR_SIZE,i),s=s||v.DEFAULT_AVATARS[parseInt(a)%v.DEFAULT_AVATARS.length]}function l(e){var t=e.discriminator;switch(parseInt(t)%v.DEFAULT_AVATARS.length){case 0:return h.Colors.BRAND_PURPLE;case 1:return h.Colors.AVATAR_GREY;case 2:return h.Colors.STATUS_GREEN;case 3:return h.Colors.STATUS_YELLOW;case 4:return h.Colors.STATUS_RED;default:return h.Colors.WHITE}}function u(e){var t=e.id,n=e.icon;return r(h.Endpoints.GUILD_ICON,"icons",t,n)}function f(e){var t=e.id,n=e.splash,a=e.size,o=void 0===a?2048:a;return r(h.Endpoints.GUILD_SPLASH,"splashes",t,n,o)}function c(e){var t=e.id,n=e.icon;return r(h.Endpoints.APPLICATION_ICON,"app-icons",t,n)}function d(e){var t=e.id,n=e.icon,a=e.applicationId;return a?o({applicationId:a,icon:n})||v.DEFAULT_CHANNEL_ICON:r(h.Endpoints.CHANNEL_ICON,"channel-icons",t,n)||v.DEFAULT_CHANNEL_ICON}function p(e){return!(!e||!e.avatar)&&"a_"===e.avatar.substr(0,2)}t.__esModule=!0,t.getUserAvatarURL=s,t.hasAnimatedAvatar=p;var h=n(1),g=n(18),m=a(g),v=void 0;v=n(1687),t.default={getUserAvatarURL:s,hasAnimatedAvatar:p,getUserAvatarSource:function(e){return{uri:s(e)}},getUserAvatarColor:l,getGuildIconURL:u,getGuildSplashURL:f,getChannelIconURL:d,getEmojiURL:i,getAppIconURL:c,getGuildIconSource:function(e){return{uri:u(e)}},getChannelIconSource:function(e){return{uri:d(e)}}}},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.Types=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(5),d=a(c),p=n(227),h=a(p),g=n(2110),m=a(g),v=t.Types={DEFAULT:"default",INPUT_PLACEHOLDER:"placeholder",DESCRIPTION:"description",LABEL_BOLD:"labelBold",LABEL_SELECTED:"labelSelected",LABEL_DESCRIPTOR:"labelDescriptor"},E={DEFAULT:"modeDefault",DISABLED:"modeDisabled",SELECTABLE:"modeSelectable"},y=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.className,a=e.disabled,r=e.selectable,i=e.children,s=e.style,u=o(e,["type","className","disabled","selectable","children","style"]),c=E.DEFAULT;return a?c=E.DISABLED:r&&(c=E.SELECTABLE),f.default.createElement(h.default,l({className:(0,d.default)(m.default[t],n,m.default[c]),color:h.default.Colors.PRIMARY,size:h.default.Sizes.MEDIUM,style:s},u),i)},t}(f.default.PureComponent);y.Types=v,y.defaultProps={type:v.DEFAULT},t.default=y},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.NSFW_RE=void 0;var s=n(119),l=a(s),u=n(48),f=a(u),c=n(55),d=a(c),p=n(1),h=n(3),g=a(h),m=t.NSFW_RE=/^nsfw(-|$)/,v="canary"===p.PublicReleaseChannels.STABLE&&1,E=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(e){this.id=e.id,this.type=null!=e.type?e.type:p.ChannelTypes.GUILD_TEXT,this.name=e.name||"",this.topic=e.topic||"",this.position=e.position||0,this.guild_id=e.guild_id||null,this.recipients=e.recipients||[],this.permissionOverwrites=e.permissionOverwrites||{},this.bitrate=e.bitrate||p.BITRATE_DEFAULT,this.userLimit=e.userLimit||0,this.ownerId=e.ownerId||null,this.icon=e.icon||null,this.application_id=e.application_id||null,this.nicks=e.nicks||{}},t.prototype.isNSFW=function(){return this.type===p.ChannelTypes.GUILD_TEXT&&m.test(this.name)},t.prototype.isManaged=function(){return null!=this.application_id},t.prototype.isPrivate=function(){return this.type===p.ChannelTypes.DM||this.type===p.ChannelTypes.GROUP_DM},t.prototype.isGroupDM=function(){return this.type===p.ChannelTypes.GROUP_DM},t.prototype.isDM=function(){return this.type===p.ChannelTypes.DM},t.prototype.isOwner=function(e){return this.ownerId===e},t.prototype.isDefaultChannel=function(){return this.guild_id===this.id},t.prototype.isRoleRequired=function(){if(v)return!1;var e=this.type,t=p.ChannelTypes.GUILD_VOICE,n=p.ChannelTypes.GUILD_TEXT;if(null==this.guild_id||e!==t&&e!==n)return!1;var a=e===t?p.Permissions.CONNECT:p.Permissions.READ_MESSAGES;if(e===t)return!d.default.canEveryoneRole(a,this);var o=this.permissionOverwrites[this.guild_id];return null!=o&&(o.deny&a)===a},t.prototype.getRecipientId=function(){return this.recipients[0]},t.prototype.getGuildId=function(){return this.guild_id},t.prototype.getApplicationId=function(){return this.application_id},t.prototype.getIconURL=function(){switch(this.type){case p.ChannelTypes.DM:var e=this._getUsers(),t=e[0];return null!=t?t.getAvatarURL():null;case p.ChannelTypes.GROUP_DM:var n={id:this.id,icon:this.icon,applicationId:this.getApplicationId()};return f.default.getChannelIconURL(n)}},t.prototype.getIconSource=function(){switch(this.type){case p.ChannelTypes.DM:var e=this._getUsers(),t=e[0];return null!=t?t.getAvatarSource():null;case p.ChannelTypes.GROUP_DM:var n={id:this.id,icon:this.icon,applicationId:this.getApplicationId()};return f.default.getChannelIconSource(n)}},t.prototype.toString=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch(this.type){case p.ChannelTypes.DM:var t=this._getUsers(),n=t[0],a=null!=n?n.toString():"";return e?"@"+a:a;case p.ChannelTypes.GROUP_DM:return this.name||this._getUsers().join(", ")||g.default.Messages.UNNAMED;case p.ChannelTypes.GUILD_TEXT:if(e)return"#"+this.name;default:return this.name}},t.prototype._getUsers=function(){var e=n(10);return this.recipients.map(e.getUser).filter(function(e){return null!=e})},t}(l.default);t.default=E},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(4),i=a(r),s=n(7),l=a(s),u=n(146),f=a(u),c=n(89),d=a(c),p=n(16),h=a(p),g=n(774),m=a(g),v=n(3),E=a(v),y=n(52),_=(a(y),n(122)),b=a(_),S=n(1),I=n(88),T=a(I),N=n(10),A=a(N),M=n(12),C=a(M),O=n(11),D=a(O),L=n(55),R=a(L),x=!1;t.default={receiveMessage:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i.default.dirtyDispatch({type:S.ActionTypes.MESSAGE_CREATE,channelId:e,message:t,optimistic:n})},sendBotMessage:function(e,t){this.receiveMessage(e,f.default.createBotMessage(e,t))},sendClydeError:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;if(t===S.AbortCodes.EXPLICIT_CONTENT){var a=D.default.getChannel(e);if(null==a)return;if(a.isDM())n=E.default.Messages.BOT_DM_EXPLICIT_CONTENT.format({name:a.toString()});else if(a.isGroupDM())n=E.default.Messages.BOT_GDM_EXPLICIT_CONTENT.format({name:a.toString()});else{var o=C.default.getGuild(a.getGuildId());if(null==o)return;n=E.default.Messages.BOT_GUILD_EXPLICIT_CONTENT.format({name:o.toString()})}}else n=E.default.Messages[S.CLYDE_ERROR_MESSAGES[t]||S.CLYDE_ERROR_MESSAGES.DEFAULT];this.sendBotMessage(e,n)},truncateMessages:function(e,t,n){i.default.dirtyDispatch({type:S.ActionTypes.TRUNCATE_MESSAGES,channelId:e,truncateBottom:t,truncateTop:n})},jumpToPresent:function(e,t){this.trackJump(e,null,"Present");var n={present:!0};T.default.hasPresent(e)?i.default.dispatch({type:S.ActionTypes.LOAD_MESSAGES_SUCCESS_CACHED,jump:n,channelId:e,limit:t}):this.fetchMessages(e,null,null,t,n)},trackJump:function(e,t,n,a){b.default.trackWithMetadata("jump",o({context:n,channel_id:e,message_id:t},a))},jumpToMessage:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;"string"==typeof a&&this.trackJump(e,t,a,o),this.fetchMessages(e,null,null,S.MAX_MESSAGES_PER_CHANNEL,{messageId:t,flash:n})},prefetchMessages:function(e,t){i.default.dispatch({type:S.ActionTypes.PREFETCH_MESSAGES,guildId:e===S.ME?null:e,channelId:t})},fetchMessages:function(e,t,n,a,o){if(!this._tryFetchMessagesCached(e,t,n,a,o)){i.default.maybeDispatch({type:S.ActionTypes.LOAD_MESSAGES,channelId:e,jump:o});var r=o&&o.messageId;h.default.get({url:S.Endpoints.MESSAGES(e),query:{before:t,after:n,limit:a,around:r},retries:2}).then(function(s){var u=s.body,f=null!=t,c=null!=n,p=null==t&&null==n,h=null!=r||u.length===a&&(f||p),g=null!=r||c&&u.length===a;if(r){var m=a/2,v=u.length-1-l.default.findIndex(u,function(e){return e.id===r});if(v<m&&(h=!1),v>=m&&u.length<a+1&&(g=!1),g&&u.length){var E=d.default.lastMessageId(e);u[0].id==E&&(g=!1)}}i.default.dispatch({type:S.ActionTypes.LOAD_MESSAGES_SUCCESS,channelId:e,messages:u,isBefore:f,isAfter:c,hasMoreBefore:h,hasMoreAfter:g,jump:o})},function(){return i.default.dispatch({type:S.ActionTypes.LOAD_MESSAGES_FAILURE,channelId:e})})}},_tryFetchMessagesCached:function(e,t,n,a,o){var r=T.default.getMessages(e);return o&&o.messageId&&r.has(o.messageId,!1)?(i.default.dirtyDispatch({type:S.ActionTypes.LOAD_MESSAGES_SUCCESS_CACHED,channelId:e,jump:o,limit:a}),!0):t&&r.hasBeforeCached(t)?(i.default.dirtyDispatch({type:S.ActionTypes.LOAD_MESSAGES_SUCCESS_CACHED,channelId:e,before:t,limit:a}),!0):!(!n||!r.hasAfterCached(n))&&(i.default.dirtyDispatch({type:S.ActionTypes.LOAD_MESSAGES_SUCCESS_CACHED,channelId:e,after:n,limit:a}),!0)},sendMessage:function(e,t){var n=this;arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?this._sendMessage(e,t):T.default.whenReady(e,function(){return n._sendMessage(e,t)})},_sendMessage:function(e,t){var n=this,a=t.content,o=t.invalidEmojis,r=t.tts,s=void 0!==r&&r;if(a){var l=f.default.createMessage(e,a,s);if(this.receiveMessage(e,l,!0),!x&&o&&o.length>0){x=!0;var u=A.default.getCurrentUser(),c=D.default.getChannel(e);R.default.can(S.Permissions.USE_EXTERNAL_EMOJIS,u,c)?this.sendBotMessage(e,E.default.Messages.INVALID_EMOJI_BODY_UPGRADE):this.sendBotMessage(e,E.default.Messages.INVALID_EMOJI_BODY)}m.default.enqueue({type:"send",message:{channelId:e,content:a,nonce:l.id,tts:s}},function(t){t.ok?n.receiveMessage(e,t.body):(t.status>=400&&t.status<500&&t.body&&n.sendClydeError(e,t.body.code),i.default.dispatch({type:S.ActionTypes.MESSAGE_SEND_FAILED,messageId:l.id,channelId:e}))})}},retrySendMessage:function(e,t,n,a){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];this.deleteMessage(e.id,t,!0),o?this.sendMessage(e.id,f.default.parse(e,n)):this.sendMessage(e.id,{content:n,tts:a})},startEditMessage:function(e,t,n){i.default.dispatch({type:S.ActionTypes.MESSAGE_START_EDIT,channelId:e,messageId:t,content:n})},endEditMessage:function(){i.default.dispatch({type:S.ActionTypes.MESSAGE_END_EDIT})},editMessage:function(e,t,n){var a=n.content,o={channelId:e,messageId:t,content:a};m.default.enqueue({type:"edit",message:o},this.endEditMessage)},deleteMessage:function(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2]?i.default.dispatch({type:S.ActionTypes.MESSAGE_DELETE,id:t,channelId:e}):h.default.delete(S.Endpoints.MESSAGES(e)+"/"+t).then(function(){i.default.dispatch({type:S.ActionTypes.MESSAGE_DELETE,id:t,channelId:e})})},revealMessage:function(e,t){i.default.dispatch({type:S.ActionTypes.MESSAGE_REVEAL,channelId:e,messageId:t})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return(!(arguments.length>3&&void 0!==arguments[3])||arguments[3])&&t.mfaLevel===M.MFALevels.ELEVATED&&n===S.default.getId()&&(T.default.getCurrentUser().mfaEnabled||(e&=~M.ElevatedPermissions)),e}function r(e,t,n,a){var r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i="string"==typeof e?e:e.id,s=void 0;if(t instanceof E.default){n=null!=n?m({},t.permissionOverwrites,n):t.permissionOverwrites;var l=t.getGuildId();s=null!=l?_.default.getGuild(l):null}else n=n||{},s=t;if(null==s)return R;if(s.isOwner(i))return o(x,s,i,r);a=null!=a?m({},s.roles,a):s.roles;var u=A.default.getMember(s.id,i),f=a[s.id],c=null!=f?f.permissions:w;if(null!=u)for(var d=0;d<u.roles.length;d++){var p=a[u.roles[d]];void 0!==p&&(c|=p.permissions)}if((c&M.Permissions.ADMINISTRATOR)===M.Permissions.ADMINISTRATOR)c=x;else{var h=n[s.id];if(null!=h&&(c^=c&h.deny,c|=h.allow),null!=u){for(var g=R,v=R,y=0;y<u.roles.length;y++){var b=n[u.roles[y]];null!=b&&(g|=b.allow,v|=b.deny)}c^=c&v,c|=g;var S=n[i];null!=S&&(c^=c&S.deny,c|=S.allow)}}return o(c,s,i,r)}function i(e,t,n,a){if(e.isOwner(t))return!0;if(null==n)return!1;var o=(0,L.default)(e.roles).sortBy(function(e){return e.position}).map(function(e){return e.id}).value();return o.indexOf(n.id)>(null!=a?o.indexOf(a.id):-1)}function s(e,t){var n=A.default.getMember(e.id,t);return null==n?null:(0,L.default)(e.roles).filter(function(e){return n.roles.indexOf(e.id)!==-1}).sortBy(function(e){return-e.position}).first()}function l(e){return{id:e,type:"role",allow:R,deny:R}}function u(){return{title:O.default.Messages.GENERAL_PERMISSIONS,permissions:[{title:O.default.Messages.ADMINISTRATOR,description:O.default.Messages.ADMINISTRATOR_DESCRIPTION,flag:M.Permissions.ADMINISTRATOR},{title:O.default.Messages.VIEW_AUDIT_LOG,description:O.default.Messages.VIEW_AUDIT_LOG_DESCRIPTION,flag:M.Permissions.VIEW_AUDIT_LOG},{title:O.default.Messages.MANAGE_SERVER,description:O.default.Messages.MANAGE_SERVER_DESCRIPTION,flag:M.Permissions.MANAGE_GUILD},{title:O.default.Messages.MANAGE_ROLES,description:O.default.Messages.MANAGE_ROLES_DESCRIPTION,flag:M.Permissions.MANAGE_ROLES},{title:O.default.Messages.MANAGE_CHANNELS,description:O.default.Messages.MANAGE_CHANNELS_DESCRIPTION,flag:M.Permissions.MANAGE_CHANNELS},{title:O.default.Messages.KICK_MEMBERS,flag:M.Permissions.KICK_MEMBERS},{title:O.default.Messages.BAN_MEMBERS,flag:M.Permissions.BAN_MEMBERS},{title:O.default.Messages.CREATE_INSTANT_INVITE,flag:M.Permissions.CREATE_INSTANT_INVITE},{title:O.default.Messages.CHANGE_NICKNAME,description:O.default.Messages.CHANGE_NICKNAME_DESCRIPTION,flag:M.Permissions.CHANGE_NICKNAME},{title:O.default.Messages.MANAGE_NICKNAMES,description:O.default.Messages.MANAGE_NICKNAMES_DESCRIPTION,flag:M.Permissions.MANAGE_NICKNAMES},{title:O.default.Messages.MANAGE_EMOJIS,flag:M.Permissions.MANAGE_EMOJIS},{title:O.default.Messages.MANAGE_WEBHOOKS,description:O.default.Messages.MANAGE_WEBHOOKS_DESCRIPTION,flag:M.Permissions.MANAGE_WEBHOOKS}]}}function f(){return{title:O.default.Messages.TEXT_PERMISSIONS,permissions:[{title:O.default.Messages.READ_MESSAGES,flag:M.Permissions.READ_MESSAGES},{title:O.default.Messages.SEND_MESSAGES,flag:M.Permissions.SEND_MESSAGES},{title:O.default.Messages.SEND_TTS_MESSAGES,description:O.default.Messages.SEND_TTS_MESSAGES_DESCRIPTION,flag:M.Permissions.SEND_TSS_MESSAGES},{title:O.default.Messages.MANAGE_MESSAGES,description:O.default.Messages.MANAGE_MESSAGES_DESCRIPTION,flag:M.Permissions.MANAGE_MESSAGES},{title:O.default.Messages.EMBED_LINKS,flag:M.Permissions.EMBED_LINKS},{title:O.default.Messages.ATTACH_FILES,flag:M.Permissions.ATTACH_FILES},{title:O.default.Messages.READ_MESSAGE_HISTORY,flag:M.Permissions.READ_MESSAGE_HISTORY},{title:O.default.Messages.MENTION_EVERYONE,description:O.default.Messages.MENTION_EVERYONE_DESCRIPTION,flag:M.Permissions.MENTION_EVERYONE},{title:O.default.Messages.USE_EXTERNAL_EMOJIS,description:O.default.Messages.USE_EXTERNAL_EMOJIS_DESCRIPTION,flag:M.Permissions.USE_EXTERNAL_EMOJIS},{title:O.default.Messages.ADD_REACTIONS,description:O.default.Messages.ADD_REACTIONS_DESCRIPTION,flag:M.Permissions.ADD_REACTIONS}]}}function c(){return{title:O.default.Messages.VOICE_PERMISSIONS,permissions:[{title:O.default.Messages.CONNECT,flag:M.Permissions.CONNECT},{title:O.default.Messages.SPEAK,flag:M.Permissions.SPEAK},{title:O.default.Messages.MUTE_MEMBERS,flag:M.Permissions.MUTE_MEMBERS},{title:O.default.Messages.DEAFEN_MEMBERS,flag:M.Permissions.DEAFEN_MEMBERS},{title:O.default.Messages.MOVE_MEMBERS,description:O.default.Messages.MOVE_MEMBERS_DESCRIPTION,flag:M.Permissions.MOVE_MEMBERS},{title:O.default.Messages.USE_VAD,description:O.default.Messages.USE_VAD_DESCRIPTION,flag:M.Permissions.USE_VAD}]}}function d(){return{title:O.default.Messages.GENERAL_PERMISSIONS,permissions:[{title:O.default.Messages.CREATE_INSTANT_INVITE,flag:M.Permissions.CREATE_INSTANT_INVITE},{title:O.default.Messages.MANAGE_CHANNEL,description:O.default.Messages.MANAGE_CHANNEL_DESCRIPTION,flag:M.Permissions.MANAGE_CHANNELS},{title:O.default.Messages.MANAGE_PERMISSIONS,description:O.default.Messages.MANAGE_PERMISSIONS_DESCRIPTION,flag:M.Permissions.MANAGE_ROLES},{title:O.default.Messages.MANAGE_WEBHOOKS,description:O.default.Messages.MANAGE_WEBHOOKS_DESCRIPTION,flag:M.Permissions.MANAGE_WEBHOOKS}]}}function p(){return{title:O.default.Messages.TEXT_PERMISSIONS,permissions:[{title:O.default.Messages.READ_MESSAGES,flag:M.Permissions.READ_MESSAGES},{title:O.default.Messages.SEND_MESSAGES,flag:M.Permissions.SEND_MESSAGES},{title:O.default.Messages.SEND_TTS_MESSAGES,description:O.default.Messages.SEND_TTS_MESSAGES_DESCRIPTION,flag:M.Permissions.SEND_TSS_MESSAGES},{title:O.default.Messages.MANAGE_MESSAGES,description:O.default.Messages.MANAGE_MESSAGES_DESCRIPTION,flag:M.Permissions.MANAGE_MESSAGES},{title:O.default.Messages.EMBED_LINKS,flag:M.Permissions.EMBED_LINKS},{title:O.default.Messages.ATTACH_FILES,flag:M.Permissions.ATTACH_FILES},{title:O.default.Messages.READ_MESSAGE_HISTORY,flag:M.Permissions.READ_MESSAGE_HISTORY},{title:O.default.Messages.MENTION_EVERYONE,description:O.default.Messages.MENTION_EVERYONE_DESCRIPTION,flag:M.Permissions.MENTION_EVERYONE},{title:O.default.Messages.USE_EXTERNAL_EMOJIS,description:O.default.Messages.USE_EXTERNAL_EMOJIS_DESCRIPTION,flag:M.Permissions.USE_EXTERNAL_EMOJIS},{title:O.default.Messages.ADD_REACTIONS,description:O.default.Messages.ADD_REACTIONS_DESCRIPTION,flag:M.Permissions.ADD_REACTIONS}]}}function h(){return{title:O.default.Messages.VOICE_PERMISSIONS,permissions:[{title:O.default.Messages.CONNECT,flag:M.Permissions.CONNECT},{title:O.default.Messages.SPEAK,flag:M.Permissions.SPEAK},{title:O.default.Messages.MUTE_MEMBERS,flag:M.Permissions.MUTE_MEMBERS},{title:O.default.Messages.DEAFEN_MEMBERS,flag:M.Permissions.DEAFEN_MEMBERS},{title:O.default.Messages.MOVE_MEMBERS,description:O.default.Messages.MOVE_MEMBERS_DESCRIPTION,flag:M.Permissions.MOVE_MEMBERS},{title:O.default.Messages.USE_VAD,description:O.default.Messages.USE_VAD_DESCRIPTION,flag:M.Permissions.USE_VAD}]}}function g(){return[u(),f(),c()]}t.__esModule=!0;var m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v=n(52),E=a(v),y=n(12),_=a(y),b=n(17),S=a(b),I=n(10),T=a(I),N=n(34),A=a(N),M=n(1),C=n(3),O=a(C),D=n(7),L=a(D),R=0,x=Object.keys(M.Permissions).reduce(function(e,t){return e|M.Permissions[t]},R),w=[M.Permissions.CREATE_INSTANT_INVITE,M.Permissions.CHANGE_NICKNAME,M.Permissions.READ_MESSAGES,M.Permissions.SEND_MESSAGES,M.Permissions.SEND_TSS_MESSAGES,M.Permissions.EMBED_LINKS,M.Permissions.ATTACH_FILES,M.Permissions.READ_MESSAGE_HISTORY,M.Permissions.MENTION_EVERYONE,M.Permissions.USE_EXTERNAL_EMOJIS,M.Permissions.ADD_REACTIONS,M.Permissions.CONNECT,M.Permissions.SPEAK,M.Permissions.USE_VAD].reduce(function(e,t){return e|t},R);t.default={PASSTHROUGH:"PASSTHROUGH",ALLOW:"ALLOW",DENY:"DENY",NONE:R,DEFAULT:w,ALL:x,computePermissions:r,isRoleHigher:i,getHighestRole:s,can:function(e,t,n,a,o){return(r(t,n,a,o)&e)===e},canEveryoneRole:function(e,t){var n=void 0,a={};if(t instanceof E.default){a=t.permissionOverwrites;var o=t.getGuildId();n=null!=o?_.default.getGuild(o):null}else n=t;if(null==n)return!1;var r=a[n.id];if(null!=r){if((r.deny&e)===e)return!1;if((r.allow&e)===e)return!0}return(n.roles[n.id].permissions&e)===e},canEveryone:function(e,t){var n=void 0,a={};if(t instanceof E.default){a=t.permissionOverwrites;var o=t.getGuildId();n=null!=o?_.default.getGuild(o):null}else n=t;return null!=n&&((n.roles[n.id].permissions&e)===e&&!L.default.some(a,function(t){return(t.deny&e)===e}))},makeEveryoneOverwrite:l,generateChannelGeneralPermissionSpec:d,generateChannelTextPermissionSpec:p,generateChannelVoicePermissionSpec:h,generateGuildGeneralPermissionSpec:u,generateGuildTextPermissionSpec:f,generateGuildVoicePermissionSpec:c,generatePermissionSpec:g},e.exports=t.default},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;s.default.dispatch({type:_.ActionTypes.USER_SETTINGS_MODAL_INIT,section:e,subsection:t})}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(4),s=a(i),l=n(3),u=a(l),f=n(16),c=a(f),d=n(385),p=a(d),h=n(25),g=a(h),m=n(48),v=n(29),E=a(v),y=n(102),_=n(1);t.default={open:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;o(e,t),(0,y.pushLayer)(_.Layers.USER_SETTINGS)},init:o,close:function(){s.default.dispatch({type:_.ActionTypes.USER_SETTINGS_MODAL_CLOSE})},setSection:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;s.default.dispatch({type:_.ActionTypes.USER_SETTINGS_MODAL_SET_SECTION,section:e,subsection:t})},updateAccount:function(e){s.default.dispatch({type:_.ActionTypes.USER_SETTINGS_MODAL_UPDATE_ACCOUNT,settings:e})},saveAccountChanges:function(e,t,n,a,o){var i=this;s.default.dispatch({type:_.ActionTypes.USER_SETTINGS_MODAL_SUBMIT}),(0,p.default)({title:u.default.Messages.TWO_FA_CHANGE_ACCOUNT},function(i){var s=r({username:e,email:t,password:n,avatar:a,new_password:o},i),l=g.default.get(_.DEVICE_TOKEN);return null!=_.DEVICE_PUSH_PROVIDER&&null!=l&&(s.push_provider=_.DEVICE_PUSH_PROVIDER,s.push_token=l),c.default.patch({url:_.Endpoints.ME,body:s})},{checkEnabled:!1,hooks:{onEarlyClose:function(){return s.default.dispatch({type:_.ActionTypes.USER_SETTINGS_MODAL_SUBMIT_FAILURE,errors:{}})}}}).then(function(e){var t=e.body,n=t.token;E.default.track("user_avatar_updated",{animated:(0,m.hasAnimatedAvatar)(t)}),delete t.token,s.default.dispatch({type:_.ActionTypes.UPDATE_TOKEN,token:n}),s.default.dispatch({type:_.ActionTypes.USER_UPDATE,user:t}),i.close(!0)},function(e){s.default.dispatch({type:_.ActionTypes.USER_SETTINGS_MODAL_SUBMIT_FAILURE,errors:e.body})})}},e.exports=t.default},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(27),s=a(i),l=n(1),u=n(42),f=a(u);t.default={selectChannel:function(e,t,n){r.default.dirtyDispatch({type:l.ActionTypes.CHANNEL_SELECT,guildId:e===l.ME?null:e,channelId:t,messageId:n})},selectPrivateChannel:function(e){f.default.transitionTo(l.Routes.CHANNEL(l.ME,e))},selectVoiceChannel:function(e,t){s.default.isSupported()&&r.default.dirtyDispatch({type:l.ActionTypes.VOICE_CHANNEL_SELECT,guildId:e,channelId:t})},clearVoiceChannel:function(){r.default.dispatch({type:l.ActionTypes.VOICE_CHANNEL_CLEAR})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(23),l=a(s),u=n(5),f=a(u),c=n(14),d=a(c),p=n(87),h=a(p),g=n(1),m=i.default.createClass({displayName:"ConfirmModal",mixins:[h.default],statics:{key:function(){return"confirm-modal"}},getSubscriptions:function(){var e;return e={},e[g.ComponentActions.MODAL_SUBMIT]=this.submitModal,e},componentDidMount:function(){l.default.findDOMNode(this).focus()},getDefaultProps:function(){return{red:!0,className:null}},handleSubmit:function(e){e.preventDefault(),this.submitModal()},submitModal:function(){d.default.pop(),null!=this.props.onConfirm&&this.props.onConfirm()},handleClose:function(){var e=this.props,t=e.onCancel,n=e.onClose;t&&t(),n&&n()},render:function(){var e=void 0;this.props.cancelText&&(e=o("button",{type:"button",className:(0,f.default)({btn:!0,"btn-default":!0,close:!0}),onClick:this.handleClose},void 0,this.props.cancelText));var t=void 0;return this.props.confirmText&&(t=o("button",{type:"submit",className:(0,f.default)({btn:!0,"btn-primary":!0,red:this.props.red})},void 0,this.props.confirmText)),o("form",{className:(0,f.default)("modal-content","form",this.props.className),tabIndex:"0",onSubmit:this.handleSubmit},void 0,o("div",{className:"form-header"},void 0,o("header",{},void 0,this.props.header)),o("div",{className:"form-inner"},void 0,this.props.children),o("div",{className:"form-actions"},void 0,e,t))}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=n(0),l=a(s),u=n(7),f=(a(u),n(94)),c=n(6),d=a(c),p=n(2),h=a(p),g=n(5),m=a(g),v=n(90),E=a(v),y=(n(1),n(46)),_=a(y),b=n(48),S=n(766);n(936);var I=["xsmall","small","large","xlarge","xxlarge","popout","profile"],T=(0,S.backgroundImagePreloader)(function(e){return l.default.createElement("div",e)}),N=(0,S.backgroundImagePreloader)(function(e){return l.default.createElement(f.Link,e)}),A=r(_.default,{type:"pulsing-ellipsis"}),M=l.default.createClass({displayName:"Avatar",mixins:[d.default,h.default.LazyStoreListenerMixin(E.default)],statics:{SIZES:I},getDefaultProps:function(){return{size:"small",typing:!1,streaming:!1,animate:!1}},getInitialState:function(){var e=this.props.user;return i({animatedAvatar:!!e&&(0,b.hasAnimatedAvatar)(e),animatedAvatarLoaded:!1},this.getStateFromStores())},getStateFromStores:function(){return{isFocused:E.default.isFocused()}},render:function(){var e=this.props,t=e.user,n=e.channel,a=e.streaming,s=e.size,u=e.to,f=e.status,c=e.typing,d=e.animate,p=e.className,h=o(e,["user","channel","streaming","size","to","status","typing","animate","className"]),g=this.state.animatedAvatar,v=void 0;null!=t?v=g&&d?t.getAvatarURL("gif"):t.avatarURL||t.getAvatarURL("jpg"):null!=n&&(v=n.iconURL||n.getIconURL());var E=void 0;if(null!=f||a){var y={status:!0,"status-typing":c,"status-streaming":a};a||null==f||(y["status-"+f]=!0);var _=void 0;c&&(_=A),E=r("div",{className:(0,m.default)(y)},void 0,_)}var b={backgroundImage:v?'url("'+v+'")':null},S=(0,m.default)(p,"avatar-"+s,{animate:this.state.isFocused,"stop-animation":!this.state.isFocused});return null!=u?l.default.createElement(N,i({},h,{to:u,className:S,style:b}),E):l.default.createElement(T,i({},h,{className:S,style:b}),E)}});t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){if(null==U)throw new Error("Creating RTCConnection without session.");var n=new P.default(R.default.getId(),U,e,t);return n.on("state",function(e,t){N.default.dirtyDispatch(b({type:A.ActionTypes.RTC_CONNECTION_STATE,state:e},t))}),n.on("video",function(e,t,n){N.default.dispatch({type:A.ActionTypes.RTC_CONNECTION_VIDEO,guildId:e,userId:t,streamId:n})}),n.on("ping",function(){N.default.dispatch({type:A.ActionTypes.RTC_CONNECTION_PING})}),n}function l(){if(null==k)return!1;k.destroy(),k=null}function u(e){return U=e.sessionId,l(),!1}function f(){U=null,l()}function c(e){if(R.default.getId()!==e.userId)return!1;if(null!=k)e.sessionId===U?null!=e.guildId&&e.guildId===k.guildId||null==e.guildId&&e.channelId===k.channelId?null==e.channelId?l():k.channelId=e.channelId:(l(),null!=e.channelId&&(G=!1,k=s(e.guildId,e.channelId))):e.guildId===k.guildId&&(G=!0,l());else{if(e.sessionId!==U||null==e.channelId)return!1;G=!1,k=s(e.guildId,e.channelId)}}function d(){}function p(){}function h(e){return null!=k&&((null==e.guildId||e.guildId===k.guildId)&&((null==e.channelId||e.channelId===k.channelId)&&void k.connect(e.endpoint,e.token)))}function g(){G=!1}function m(e){var t=e.guild;if(null==k||k.guildId!==t.id)return!1;l()}function v(e){var t=e.channelId;if(null==k||k.channelId!==t)return!1;l()}function E(e){var t=e.channel;if(null==k||k.channelId!==t.id)return!1;l()}function y(){if(null==k)return!1;k.reset()}function _(e){return e.state===A.AppStates.ACTIVE&&null!=k&&k.resetBackoff("App state is active"),!1}t.__esModule=!0;var b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},S=n(2),I=a(S),T=n(4),N=a(T),A=n(1),M=n(18),C=a(M),O=n(840),D=a(O),L=n(17),R=a(L),x=n(27),w=(a(x),n(1543)),P=a(w),k=null,U=null,G=!1;if(C.default.isDesktop()){C.default.requireElectron("powerMonitor",!0).on("resume",function(){null!=k&&k.expeditedHeartbeat(5e3,"power monitor resumed")})}D.default.addOfflineCallback(function(){null!=k&&k.expeditedHeartbeat(15e3,"network detected offline.",!1)}),D.default.addOnlineCallback(function(){null!=k&&k.expeditedHeartbeat(5e3,"network detected online.")});var j=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getState=function(){return null!=k?k.state:A.RTCConnectionStates.DISCONNECTED},t.prototype.isConnected=function(){return this.getState()===A.RTCConnectionStates.RTC_CONNECTED},t.prototype.isDisconnected=function(){return this.getState()===A.RTCConnectionStates.DISCONNECTED},t.prototype.isDisabled=function(){return G},t.prototype.getGuildId=function(){return k&&k.guildId},t.prototype.getChannelId=function(){return k&&k.channelId},t.prototype.getHostname=function(){return k&&k.hostname},t.prototype.getQuality=function(){return null!=k?k.quality:A.RTCConnectionQuality.UNKNOWN},t.prototype.getPings=function(){return k&&k.getPings()},t.prototype.getAveragePing=function(){return k&&k.getAveragePing()},t.prototype.getLastPing=function(){return k&&k.getLastPing()},t}(I.default.Store);t.default=new j(N.default,{CONNECTION_OPEN:u,CONNECTION_CLOSED:f,RTC_CONNECTION_STATE:d,RTC_CONNECTION_PING:p,VOICE_STATE_UPDATE:c,VOICE_SERVER_UPDATE:h,VOICE_CHANNEL_CLEAR:g,GUILD_DELETE:m,CHANNEL_DELETE:E,CALL_DELETE:v,APP_STATE_UPDATE:_,SET_MEDIA_ENGINE:y}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s),u=n(42),f=a(u),c=n(11),d=a(c),p=n(59),h=(a(p),n(63));a(h);t.default={selectGuild:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.default.dispatch({type:i.ActionTypes.GUILD_SELECT,guildId:e===i.ME?null:e,focus:t})},createGuild:function(e){r.default.dispatch({type:i.ActionTypes.GUILD_CREATE,guild:e})},syncGuild:function(e){r.default.dispatch({type:i.ActionTypes.GUILD_SYNC_ADD,guildId:e})},markGuildAsRead:function(e){return l.default.post(i.Endpoints.GUILD_ACK(e)).then(function(){return r.default.dispatch({type:i.ActionTypes.GUILD_ACK,guildId:e})})},setServerMute:function(e,t,n){l.default.patch({url:i.Endpoints.GUILD_MEMBER(e,t),body:{mute:n}})},setServerDeaf:function(e,t,n){l.default.patch({url:i.Endpoints.GUILD_MEMBER(e,t),body:{deaf:n}})},setChannel:function(e,t,n){l.default.patch({url:i.Endpoints.GUILD_MEMBER(e,t),body:{channel_id:n}})},kickUser:function(e,t,n){return l.default.delete({url:i.Endpoints.GUILD_MEMBER(e,t),query:{reason:n}})},banUser:function(e,t,n,a){var o={"delete-message-days":n,reason:a};return l.default.put({url:i.Endpoints.GUILD_BAN(e,t),query:o})},unbanUser:function(e,t){return l.default.delete(i.Endpoints.GUILD_BAN(e,t))},createRole:function(e){l.default.post(i.Endpoints.GUILD_ROLES(e))},updateRole:function(e,t,n,a,o,r,s){var u=arguments.length>7&&void 0!==arguments[7]&&arguments[7],f=u?{_is_new_settings_screen:!0}:{};return l.default.patch({url:i.Endpoints.GUILD_ROLE(e,t),body:{name:n,permissions:a,color:o||0,hoist:r,mentionable:s},query:f})},deleteRole:function(e,t){l.default.delete(i.Endpoints.GUILD_ROLES(e)+"/"+t)},batchChannelUpdate:function(e,t){l.default.patch({url:i.Endpoints.GUILD_CHANNELS(e),body:t})},batchRoleUpdate:function(e,t){return l.default.patch({url:i.Endpoints.GUILD_ROLES(e),body:t})},requestMembers:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;r.default.dirtyDispatch({type:i.ActionTypes.GUILD_MEMBERS_REQUEST,guildId:e,query:t,limit:n})},move:function(e,t){r.default.dispatch({type:i.ActionTypes.GUILD_MOVE,fromIndex:e,toIndex:t})},nsfwAgree:function(e){r.default.dispatch({type:i.ActionTypes.GUILD_NSFW_AGREE,guildId:e})},nsfwDisagree:function(e){var t=d.default.getChannel(e);if(null!=t&&!t.isNSFW())return void f.default.transitionTo(i.Routes.CHANNEL(e,t.id));f.default.transitionTo(i.Routes.FRIENDS)}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(23),u=a(l),f=n(6),c=a(f),d=n(5),p=a(d),h=n(2),g=a(h),m=n(87),v=a(m),E=n(13),y=a(E),_=n(795),b=a(_),S=n(22),I=a(S),T=n(1);n(937);var N=245,A=10,M=0,C=s.default.createClass({displayName:"InternalContextMenu",mixins:[c.default,v.default],getSubscriptions:function(){var e;return e={},e[T.ComponentActions.CONTEXT_MENU_CLOSE]=I.default.close,e},getInitialState:function(){return{invertX:!1,invertChildX:!1,invertY:!1,invertChildY:!1,offsetX:0,offsetY:0,theme:y.default.theme}},componentDidMount:function(){this.updateOffsets(),document.addEventListener("mousedown",this.close,!0),document.addEventListener("contextmenu",this.closeImmediate,!0),window.addEventListener("resize",this.closeImmediate,!0),this.props.config&&this.props.config.noBlurEvent||window.addEventListener("blur",this.closeImmediate,!1)},componentDidUpdate:function(e){var t=e.render,n=e.x,a=e.y;this.props.render===t&&this.props.x===n&&this.props.y===a||this.updateOffsets()},componentWillUnmount:function(){document.removeEventListener("mousedown",this.close,!0),document.removeEventListener("contextmenu",this.closeImmediate,!0),window.removeEventListener("resize",this.closeImmediate,!0),this.props.config&&this.props.config.noBlurEvent||window.removeEventListener("blur",this.closeImmediate,!1)},close:function(e){if(null!=e)for(var t=e.target;null!=t;){if(t===u.default.findDOMNode(this))return;t=t.parentNode}this.closeImmediate(e)},closeImmediate:function(e){if(this.clearSelection(),e.preventDefault(),this.props.config){var t=this.props.config.onClose;t&&t()}I.default.close()},clearSelection:function(){var e=document.selection;e&&e.empty?e.empty():window.getSelection&&window.getSelection().removeAllRanges()},updateOffsets:function(){var e=u.default.findDOMNode(this);if(e instanceof HTMLElement){var t=e.offsetHeight,n=e.offsetWidth,a=this.props,o=a.x,r=a.y,i={},s=window.innerHeight,l=window.innerWidth;i.invertY=r+t>=s,i.invertX=o+n>=l,i.invertChildX=o+2*n>=l,i.invertChildY=r+(t+N)>=s,i.invertY&&(i.offsetY=r-t<A?-(r-A):-t),i.invertX&&(i.offsetX=-n),this.setState(i)}},render:function e(){var t=this.props,e=t.render,n=t.x,a=t.y,i=t.target,s=o(t,["render","x","y","target"]),l=this.state,u=l.invertX,f=l.invertY,c=l.offsetX,d=l.offsetY,h=l.invertChildX,g=l.invertChildY,m=l.theme,v=m?"context-menu theme-"+m:"context-menu";return e(r({key:M++,className:(0,p.default)(v,{invertX:u,invertY:f,invertChildX:h}),invertChildY:g,theme:m,style:{left:n+c,top:a+d},target:i},s))}}),O=s.default.createClass({displayName:"ContextMenu",mixins:[g.default.StoreListenerMixin(b.default)],previousX:-1,previousY:-1,statics:{openContextMenu:function(e,t,n){e.preventDefault(),e.stopPropagation();var a=e.pageX,o=e.pageY;this.previousX==a&&this.previousY==o?(I.default.close(),this.previousX=-1,this.previousY=-1):(I.default.open({render:t,x:a,y:o,target:e.target||e.currentTarget,config:n}),this.previousX=a,this.previousY=o)}},getStateFromStores:function(){return{contextMenu:b.default.getContextMenu()}},render:function(){return this.state.contextMenu?s.default.createElement(C,this.state.contextMenu):null}});t.default=O,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){null!=e&&(B[e]=(B[e]||0)+1)}function l(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={};return R.default.forEach(C.default.getGuilds(),function(a){n[a.id]=D.default.computePermissions(e,a,null,null,t),s(a.id)}),n}function u(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={},a=A.default.getChannels(),o=void 0;for(var r in a)if(o=a[r],a.hasOwnProperty(r)&&null!=o&&!o.isPrivate()){if(0===R.default.size(o.permissionOverwrites)){var i=o.getGuildId();null!=i&&(n[o.id]=j[i])}else n[o.id]=D.default.computePermissions(e,o,null,null,t);s(o.getGuildId())}return n}function f(){var e=T.default.getCurrentUser();j=l(e),F=u(e)}function c(){f()}function d(){B={}}function p(){f()}function h(e){if(e.user.id!==T.default.getCurrentUser().id)return!1;f()}function g(e){var t,n=e.channel.id,a=A.default.getChannel(n);if(null==a||a.isPrivate())return!1;var o=T.default.getCurrentUser(),r=D.default.computePermissions(o,a);if(F[a.id]===r)return!1;F=E({},F,(t={},t[a.id]=r,t)),s(a.getGuildId())}function m(e){var t=e.channel;return F=E({},F),delete F[t.id],s(t.guild_id),!1}function v(e){var t,n=e.guildId,a=T.default.getCurrentUser(),o=D.default.computePermissions(a,C.default.getGuild(n));j=E({},j,(t={},t[n]=o,t)),F=E({},F),R.default.forEach(A.default.getChannels(),function(e){e.getGuildId()===n&&(F[e.id]=D.default.computePermissions(a,e))}),s(n)}t.__esModule=!0;var E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y=n(2),_=a(y),b=n(4),S=a(b),I=(n(1),n(10)),T=a(I),N=n(11),A=a(N),M=n(12),C=a(M),O=n(55),D=a(O),L=n(7),R=a(L),x=n(52),w=a(x),P=n(103),k=a(P),U=n(75),G=a(U),j={},F={},B={},V=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(T.default,C.default,A.default)},t.prototype.getState=function(){return{channels:F,guilds:j}},t.prototype.getChannelPermissions=function(e){return F[e]},t.prototype.getGuildPermissions=function(e){return j[e]},t.prototype.can=function(e,t){var n=D.default.NONE;return t instanceof w.default?n=F[t.id]:t instanceof k.default?n=j[t.id]:"string"==typeof t.channelId?n=F[t.channelId]:"string"==typeof t.guildId&&(n=j[t.guildId]),(n&e)===e},t.prototype.canManageUser=function(e,t,n){var a=t instanceof G.default?t.id:t;if(n.isOwner(a))return!1;var o=T.default.getCurrentUser();if(!this.can(e,n))return!1;var r=D.default.getHighestRole(n,o.id),i=D.default.getHighestRole(n,a);return D.default.isRoleHigher(n,o.id,r,i)},t.prototype.getGuildVersion=function(e){return B[e]},t}(_.default.Store);t.default=new V(S.default,{CONNECTION_OPEN:c,CONNECTION_CLOSED:d,GUILD_CREATE:p,GUILD_UPDATE:p,GUILD_DELETE:p,GUILD_MEMBER_UPDATE:h,USER_UPDATE:h,CHANNEL_CREATE:g,CHANNEL_UPDATE:g,CHANNEL_DELETE:m,GUILD_ROLE_CREATE:v,GUILD_ROLE_UPDATE:v,GUILD_ROLE_DELETE:v}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.Tags=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(227),p=a(d),h=n(5),g=a(h),m=n(2111),v=a(m),E=t.Tags={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5"},y=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e,t=this.props,n=t.tag,a=t.className,r=t.disabled,i=t.required,s=t.children,f=t.faded,d=o(t,["tag","className","disabled","required","children","faded"]),h=d.color||n===E.H5?null:v.default.defaultColor;return c.default.createElement(p.default,l({tag:n,className:(0,g.default)(v.default[n],h,a,(e={},e[v.default["defaultMargin"+n]]=null==a,e[v.default.disabled]=r,e[v.default.faded]=f,e))},d),s,i?u("span",{className:v.default.required},void 0,"*"):null)},t}(c.default.PureComponent);y.Tags=E,y.defaultProps={tag:E.H5,required:!1},t.default=y},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=o(i),l=n(6),u=o(l),f=n(5),c=o(f),d=n(58),p=o(d),h=n(2),g=o(h),m=n(777),v=o(m),E=n(90),y=o(E),_=n(24),b=o(_);n(2177);var S=50,I=.8,T="SCROLLER_REF",N=r("div",{className:"track"}),A=s.default.createClass({displayName:"Scroller",mixins:[u.default,g.default.StoreListenerMixin(y.default)],getDefaultProps:function(){return{onUpdate:function(){},onScroll:function(){},onResize:function(){},fade:!1}},getStateFromStores:function(){return{windowSize:y.default.windowSize()}},getInitialState:function(){return this.scrollerState={offsetHeight:0,scrollTop:0,scrollHeight:0},{thumbHeight:new b.default.Value(0),thumbTop:new b.default.Value(0)}},componentWillMount:function(){var e=this;this.springer=new v.default(function(t,n){var a=e.getScrollerNode(),o=e.scrollerState,r=o.offsetHeight,i=o.scrollHeight;if(!a)return void n.cancel();t<0&&(t=0),a.scrollTop=t,(0===t&&n._vel<0||t+r>i&&n._vel>0)&&n.cancel()})},componentDidMount:function(){this.setFullScrollerState(this.props.onUpdate)},componentWillUnmount:function(){this.springer.cancel()},componentWillReceiveProps:function(){this._queueUpdate=!0},componentDidUpdate:function(e,t){var n=t.windowSize;if(this.state.windowSize!==n)return this.handleResize();this._queueUpdate&&(this._queueUpdate=!1,this.setFullScrollerState(this.props.onUpdate))},render:function(){var e,t,n=null;if(this.needsScrollbar()){var a=this.state,o=a.thumbHeight,i=a.thumbTop;n=r("div",{className:"scrollbar"},void 0,N,r(b.default.div,{className:"thumb",style:{height:o,top:i}}))}var l=null;if(this.props.renderStickyHeader){var u=this.props.renderStickyHeader();u&&(l=s.default.cloneElement(u,{ref:"stickyHeader"}))}return r("div",{className:(0,c.default)((e={"scroller-wrap":!0,polyfill:null!=n,fade:this.props.fade},e[this.props.theme]=this.props.theme,e))},void 0,s.default.createElement("div",{ref:T,className:(0,c.default)((t={scroller:!0},t[this.props.className]=this.props.className,t)),onScroll:this.handleOnScroll},l,this.props.children),n)},handleOnScroll:function(){this.setLightScrollerState(this.props.onScroll)},handleResize:function(){this.setFullScrollerState(this.props.onResize)},getScrollbarOffset:function(){var e=this.scrollerState,t=e.scrollHeight,n=e.offsetHeight,a=e.scrollTop,o=t-n,r=0===o?0:a/o;return(n-this.getScrollbarHeight())*r},getScrollbarHeight:function(){var e=this.scrollerState,t=e.scrollHeight,n=e.offsetHeight;return 0===t||t<=n?0:n/t*n},updateScrollBar:function(){var e=this.state,t=e.thumbHeight,n=e.thumbTop,a=this.getScrollbarHeight()>>0,o=this.getScrollbarOffset()>>0;t.setValue(a),n.setValue(o)},getScrollerNode:function(){return this.refs[T]},setLightScrollerState:function(e){var t=this.getScrollerNode();this.scrollerState.scrollTop=t.scrollTop,e(this),this.needsScrollbar()&&this.updateScrollBar()},setFullScrollerState:function(e){var t=this.getScrollerNode(),n=this.scrollerState;n.offsetHeight=t.offsetHeight,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,e(this),this.needsScrollbar()&&this.updateScrollBar()},needsScrollbar:function(){return"Blink"!==p.default.layout&&"WebKit"!==p.default.layout},scrollTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=this.getScrollerNode();t&&o.scrollTop!==e?this.springer.to(e>>0,o.scrollTop,n):(this.springer.cancel(),o.scrollTop=e,n&&a.nextTick(n))},scrollIntoViewRect:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=this.scrollerState,o=a.scrollTop,r=a.offsetHeight,i=0;this.refs.stickyHeader&&(i=this.refs.stickyHeader.offsetTop+this.refs.stickyHeader.offsetHeight,o+=i,r-=i),e>=o&&t<=o+r||(e<o?this.scrollTo(e-i,n):this.scrollTo(t-r,n))},scrollIntoView:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,bottom:0},a=e.offsetTop,o=a+e.offsetHeight;this.scrollIntoViewRect(a-n.top,o+n.bottom,t)},getScrollData:function(){var e=this.scrollerState,t=e.offsetHeight,n=e.scrollTop,a=e.scrollHeight,o=t*I-S>>0;return o<S&&(o=S),{scrollHeight:a,scrollTop:n,offsetHeight:t,pageHeight:o}},scrollPageUp:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getScrollData(),a=void 0;a=t?Math.max(n.scrollTop-n.pageHeight,0):Math.max(n.scrollTop-n.pageHeight,0-n.pageHeight),this.scrollTo(a,e)},scrollPageDown:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getScrollData(),a=void 0;a=t?Math.min(n.scrollTop+n.pageHeight,n.scrollHeight-n.offsetHeight):Math.min(n.scrollTop+n.pageHeight,n.scrollHeight),this.scrollTo(a,e)},scrollToBottom:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.getScrollData();this.scrollTo(n.scrollHeight,e,t)}});t.default=A,e.exports=t.default}).call(t,n(45))},,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return l+e}function r(){return s.default.locale.toLowerCase()}t.__esModule=!0;var i=n(13),s=a(i),l="https://support.discordapp.com";t.default={getArticleURL:function(e){return o("/hc/"+r()+"/articles/"+e)},getTwitterURL:function(){return"http://www.twitter.com/discordapp"},getCommunityURL:function(){return o("/hc/"+r())},getSubmitRequestURL:function(){return o("/hc/"+r()+"/requests/new")},getSearchURL:function(e){var t=encodeURIComponent(e);return o("/hc/"+r()+"/search?utf8=%E2%9C%93&query="+t+"&commit=Search")},getFeaturedArticlesJsonURL:function(){return o("/api/v2/help_center/articles.json?label_names=featured")}},e.exports=t.default},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(0),u=a(l),f=n(7),c=a(f),d=n(1576),p=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={children:(0,d.getChildMapping)(n.children)},a._currentlyTransitioningKeys=new Set,a._keysToEnter=[],a._keysToLeave=[],a}return i(t,e),t.prototype.componentDidMount=function(){var e=this.state.children;if(this.props.transitionAppear)for(var t in e)e[t]&&this.performAppear(t)},t.prototype.componentWillReceiveProps=function(e){var t=(0,d.getChildMapping)(e.children),n=this.state.children,a=(0,d.mergeChildMappings)(n,t);if(e.transitionEnter?this._enqueueTransitions(t,n,this._keysToEnter):this._keysToEnter.length&&(this._keysToEnter=[]),e.transitionLeave)this._enqueueTransitions(n,t,this._keysToLeave);else{var o=[];this._enqueueTransitions(n,t,o);for(var r=0,i=o.length;r<i;r++)delete a[o[r]];this._keysToLeave.length&&(this._keysToLeave=[])}this.setState({children:a})},t.prototype.componentDidUpdate=function(){if(this._keysToEnter.length){var e=this._keysToEnter;this._keysToEnter=[],e.forEach(this.performEnter,this)}if(this._keysToLeave.length){var t=this._keysToLeave;this._keysToLeave=[],t.forEach(this.performLeave,this)}},t.prototype._enqueueTransitions=function(e,t,n){for(var a in e){var o=t&&t.hasOwnProperty(a);!e[a]||o||this._currentlyTransitioningKeys.has(a)||n.push(a)}},t.prototype._perform=function(e,t,n){var a=this,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this._currentlyTransitioningKeys.add(e);var r=function(){return a._handleDonePerform(e,n,o)},i=this.refs[e];null!=i&&i[t]?i[t](r):r()},t.prototype._handleDonePerform=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=this.refs[e];null!=a&&a[t]&&a[t](),this._currentlyTransitioningKeys.delete(e);var o=(0,d.getChildMapping)(this.props.children);n?null!=o&&o.hasOwnProperty(e)?this.performEnter(e):this.setState(function(t){var n=t.children;return n=s({},n),delete n[e],{children:n}}):null!=o&&o.hasOwnProperty(e)||this.performLeave(e)},t.prototype.performAppear=function(e){this._perform(e,"componentWillAppear","componentDidAppear")},t.prototype.performEnter=function(e){this._perform(e,"componentWillEnter","componentDidEnter")},t.prototype.performLeave=function(e){this._perform(e,"componentWillLeave","componentDidLeave",!0)},t.prototype.render=function(){var e=this.props,n=e.childFactory,a=e.component,o=this.state.children,r=[];for(var i in o){var s=o[i];null!=s&&r.push(u.default.cloneElement(null==n?s:n(s),{ref:i,key:i}))}return u.default.createElement(a,c.default.omit(this.props,Object.keys(t.defaultProps)),r)},t}(u.default.Component);p.defaultProps={component:"span",transitionAppear:!0,transitionLeave:!0,transitionEnter:!0,childFactory:null},t.default=p,e.exports=t.default},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=n(48),u=a(l),f=n(147),c=a(f),d=n(119),p=a(d),h=n(1),g=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(e){this.id=e.id,this.username=e.username||"",this.usernameLowerCase=this.username.toLocaleLowerCase(),this.discriminator=e.discriminator||h.NON_USER_BOT_DISCRIMINATOR,this.avatar=e.avatar||null,this.email=e.email||null,this.verified=e.verified||!1,this.bot=e.bot||!1,this.mfaEnabled=e.mfaEnabled||!1,this.mobile=e.mobile||!1,this.premium=e.premium||!1,this.flags=e.flags||0,this.phone=e.phone||null},t.prototype.getAvatarURL=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"png";return u.default.getUserAvatarURL(this,e)},t.prototype.getAvatarSource=function(){return u.default.getUserAvatarSource({id:this.id,avatar:this.avatar,discriminator:this.discriminator,bot:this.bot})},t.prototype.isClaimed=function(){return null!=this.email},t.prototype.isPhoneVerified=function(){return null!=this.phone},t.prototype.toString=function(){return this.username||"???"},t.prototype.isNonUserBot=function(){return this.bot&&this.discriminator===h.NON_USER_BOT_DISCRIMINATOR},t.prototype.isLocalBot=function(){return this.bot&&this.id===h.LOCAL_BOT_ID},s(t,[{key:"createdAt",get:function(){return new Date(c.default.extractTimestamp(this.id))}},{key:"tag",get:function(){return this.username+"#"+this.discriminator}}]),t}(p.default);t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=N[b.ME]||{},n={};E.default.each(t,function(t,a){t.channelId!==e&&(n[a]=t)}),N[b.ME]=n}function l(e){var t=e.sessionId,n=e.userId,a=e.guildId,o=e.channelId,r=e.mute,i=e.deaf,s=e.selfMute,l=e.selfDeaf,u=e.selfVideo,f=e.suppress,c=n===A&&t!==M,d=N[a||b.ME]||{},p=d[n],g=void 0;if(null==o||c||(g=null==p?new I.default({userId:n,sessionId:t,channelId:o,mute:r,deaf:i,selfMute:s,selfDeaf:l,selfVideo:u,suppress:f}):p.merge({userId:n,sessionId:t,channelId:o,mute:r,deaf:i,selfMute:s,selfDeaf:l,selfVideo:u,suppress:f})),p==g)return!1;if(null==g)d=h({},d),delete d[n];else{var m;d=h({},d,(m={},m[n]=g,m))}N[a||b.ME]=d}function u(e){var t,n=e.guildId,a=e.channelId,o=N[n||b.ME];if(null==o)return!1;var r=o[A];if(null==r)return!1;N[n||b.ME]=h({},o,(t={},t[A]=r.set("channelId",a),t))}function f(e){var t=e.user,n=e.sessionId;N={},A=t.id,M=n}function c(e){delete N[e.guild.id]}function d(e){s(e.channel.id)}function p(e){s(e.channelId)}t.__esModule=!0;var h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},g=n(2),m=a(g),v=n(7),E=a(v),y=n(4),_=a(y),b=n(1),S=n(789),I=a(S),T=Object.freeze({}),N={},A=void 0,M=void 0,C=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getVoiceStates=function(e){return N[e||b.ME]||T},t.prototype.getVoiceState=function(e,t){return this.getVoiceStates(e)[t]},t.prototype.getVoiceStatesForChannel=function(e,t){return Object.values(this.getVoiceStates(e)).filter(function(e){return e.channelId===t})},t.prototype.getCurrentVoiceChannelId=function(e,t){var n=this.getVoiceState(e,t);return n&&n.channelId},t.prototype.isInCall=function(e){var t=this.getVoiceState(null,A);return null!=t&&t.channelId===e},t.prototype.hasVideo=function(e,t){return null==e&&E.default.some(this.getVoiceStates(e),function(e){return e.selfVideo&&e.channelId===t})},t}(m.default.Store);t.default=new C(_.default,{CONNECTION_OPEN:f,VOICE_CHANNEL_SELECT:u,VOICE_STATE_UPDATE:l,GUILD_DELETE:c,CHANNEL_DELETE:d,CALL_DELETE:p}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(539),r=a(o),i=n(91),s=a(i),l=n(99),u=a(l),f=n(50),c=a(f),d=n(66),p=a(d),h=n(228),g=a(h);t.default={FormDivider:s.default,FormNotice:r.default,FormNoticeImagePositions:o.ImagePositions,FormNoticeTypes:o.Types,FormSection:u.default,FormText:c.default,FormTextTypes:f.Types,FormTitle:p.default,FormTitleTags:d.Tags,FormItem:g.default},e.exports=t.default},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(42),s=a(i),l=n(16),u=a(l),f=n(11),c=a(f),d=n(59),p=a(d),h=n(209),g=a(h),m=n(1);t.default={openPrivateChannel:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=function(e){a&&(p.default.selectVoiceChannel(null,e),g.default.ring(e))};if(null!=t&&1==t.length){var r=this._openCachedDMChannel(t[0]);if(null!=r)return o(r),Promise.resolve(r)}var i=this._getRecipients(t);return u.default.post({url:m.Endpoints.USER_CHANNELS(e),body:{recipients:i}}).then(function(e){return n._openPrivateChannel(e.body),o(e.body.id),e.body.id})},_openCachedDMChannel:function(e){var t=c.default.getDMFromUserId(e),n=null!=t?c.default.getChannel(t):null;if(n)return p.default.selectPrivateChannel(n.id),n.id},ensurePrivateChannel:function(e,t){var n=this._getRecipients(t);return u.default.post({url:m.Endpoints.USER_CHANNELS(e),body:{recipients:n}}).then(function(e){var t=e.body;return r.default.dispatch({type:m.ActionTypes.CHANNEL_CREATE,channel:t}),t.id})},_getRecipients:function(e){return null!=e?Array.isArray(e)?e:[e]:[]},_openPrivateChannel:function(e){r.default.dispatch({type:m.ActionTypes.CHANNEL_CREATE,channel:e}),p.default.selectPrivateChannel(e.id)},closePrivateChannel:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];u.default.delete(m.Endpoints.CHANNELS+"/"+e),r.default.dispatch({type:m.ActionTypes.CHANNEL_DELETE,channel:{id:e,guild_id:null}}),t&&s.default.transitionTo(m.Routes.FRIENDS)},updatePermissionOverwrite:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=n?{_is_new_settings_screen:!0}:{};return u.default.put({url:m.Endpoints.CHANNEL_PERMISSIONS(e)+"/"+t.id,body:t,query:a})},clearPermissionOverwrite:function(e,t){u.default.delete(m.Endpoints.CHANNEL_PERMISSIONS(e)+"/"+t)},addRecipient:function(e,t){var n=this;return u.default.put(m.Endpoints.CHANNEL_RECIPIENTS(e)+"/"+t).then(function(t){return 201===t.status?(n._openPrivateChannel(t.body),t.body.id):e})},addRecipients:function(e,t){var n=this;return this.addRecipient(e,t[0]).then(function(e){return Promise.all(t.slice(1).map(function(t){return n.addRecipient(e,t)})).then(function(){return e})})},removeRecipient:function(e,t){return u.default.delete(m.Endpoints.CHANNEL_RECIPIENTS(e)+"/"+t)},setName:function(e,t){u.default.patch({url:m.Endpoints.CHANNELS+"/"+e,body:{name:t}})},setIcon:function(e,t){u.default.patch({url:m.Endpoints.CHANNELS+"/"+e,body:{icon:t}})},convertToGuild:function(e){return u.default.post({url:m.Endpoints.CHANNEL_CONVERT(e)})}},e.exports=t.default},,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(27),l=a(s),u=(n(162),{isNotSupported:function(){return!1},enable:function(){r.default.dispatch({type:i.ActionTypes.AUDIO_ENABLE})}});u=n(1254);var f=u,c=f.enable,d=f.isNotSupported;t.default={enable:c,toggleSelfMute:function(){d()||(l.default.isEnabled()?r.default.dispatch({type:i.ActionTypes.AUDIO_TOGGLE_SELF_MUTE}):this.enable())},setTemporarySelfMute:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_TEMPORARY_SELF_MUTE,mute:e})},toggleSelfDeaf:function(){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_TOGGLE_SELF_DEAF})},toggleLocalMute:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_TOGGLE_LOCAL_MUTE,userId:e})},setLocalVolume:function(e,t){r.default.dispatch({type:i.ActionTypes.AUDIO_SET_LOCAL_VOLUME,userId:e,volume:t})},setLocalPan:function(e,t,n){r.default.dispatch({type:i.ActionTypes.AUDIO_SET_LOCAL_PAN,userId:e,left:t,right:n})},setMode:function(e,t){d()||(null==t&&(t=l.default.getModeOptions()),r.default.dispatch({type:i.ActionTypes.AUDIO_SET_MODE,mode:e,options:t}))},setInputVolume:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_INPUT_VOLUME,volume:e})},setOutputVolume:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_OUTPUT_VOLUME,volume:e})},setInputDevice:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_INPUT_DEVICE,id:e})},setOutputDevice:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_OUTPUT_DEVICE,id:e})},setVideoDevice:function(e){d()||r.default.dispatch({type:i.ActionTypes.MEDIA_ENGINE_SET_VIDEO_DEVICE,id:e})},setEchoCancellation:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_ECHO_CANCELLATION,enabled:e})},setNoiseSuppression:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_NOISE_SUPPRESSION,enabled:e})},setAutomaticGainControl:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_AUTOMATIC_GAIN_CONTROL,enabled:e})},setAttenuation:function(e,t,n){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_ATTENUATION,attenuation:e,attenuateWhileSpeakingSelf:t,attenuateWhileSpeakingOthers:n})},setQoS:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_QOS,enabled:e})},reset:function(){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_RESET})},setSilenceWarning:function(e){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SET_DISPLAY_SILENCE_WARNING,enabled:e})},switchSubsystem:function(){d()||r.default.dispatch({type:i.ActionTypes.AUDIO_SWITCH_SUBSYSTEM})},setCurrentApp:function(e){r.default.dispatch({type:i.ActionTypes.AUDIO_SET_CURRENT_APP,application:e})},setMediaEngine:function(e){r.default.dispatch({type:i.ActionTypes.SET_MEDIA_ENGINE,implementation:e})},setVideoEnabled:function(e,t){r.default.dispatch({type:i.ActionTypes.MEDIA_ENGINE_SET_VIDEO_ENABLED,enabled:e,channelId:t}),l.default.isEnabled()||c(!0)},setDesktopSource:function(e){r.default.dispatch({type:i.ActionTypes.MEDIA_ENGINE_SET_DESKTOP_SOURCE,sourceId:e}),l.default.isEnabled()||c()}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(4),i=a(r),s=n(3),l=a(s),u=n(1),f=n(16),c=a(f),d=n(385),p=a(d),h=n(102);t.default={init:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_INIT,guildId:e,section:t})},open:function(e,t){this.init(e,t),(0,h.pushLayer)(u.Layers.GUILD_SETTINGS)},close:function(){i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_CLOSE})},setSection:function(e){i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_SET_SECTION,section:e})},setSearchQuery:function(e){i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_SET_SEARCH_QUERY,searchQuery:e})},selectRole:function(e){i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_ROLE_SELECT,roleId:e})},updateEmbed:function(e,t,n){c.default.patch({url:u.Endpoints.GUILD_EMBED(e),body:{enabled:t,channel_id:n}}).then(function(t){i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_SET_EMBED,guildId:e,enabled:t.body.enabled,channelId:t.body.channel_id})})},updateMFALevel:function(e){var t=e.guildId,n=e.level,a=e.isEnabled;(0,p.default)({title:l.default.Messages.GUILD_SECURITY_REQ_MFA_LABEL,actionText:a?l.default.Messages.GUILD_SECURITY_REQ_MFA_TURN_OFF:l.default.Messages.GUILD_SECURITY_REQ_MFA_TURN_ON},function(e){return c.default.post({url:u.Endpoints.GUILD_MFA(t),body:o({level:n},e)})}).then(function(e){return i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_SET_MFA_SUCCESS,level:e.body.level})})},updateIcon:function(e,t){c.default.patch({url:u.Endpoints.GUILD(e),body:{icon:t}}).then(function(){i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_UPDATE,icon:t})},function(e){return i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_SUBMIT_FAILURE,errors:e.body})})},cancelChanges:function(e){i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_CANCEL_CHANGES,guildId:e})},updateGuild:function(e){i.default.dispatch(o({type:u.ActionTypes.GUILD_SETTINGS_UPDATE},e))},saveGuild:function(e,t){var n=t.name,a=t.icon,o=t.splash,r=t.region,s=t.afkChannelId,l=t.afkTimeout,f=t.verificationLevel,d=t.defaultMessageNotifications,p=t.explicitContentFilter;return i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_SUBMIT}),c.default.patch({url:u.Endpoints.GUILD(e),body:{name:n,icon:a,splash:o,region:r,afk_channel_id:s,afk_timeout:l,verification_level:f,default_message_notifications:d,explicit_content_filter:p}}).then(function(){return i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_SUBMIT_SUCCESS})},function(e){return i.default.dispatch({type:u.ActionTypes.GUILD_SETTINGS_SUBMIT_FAILURE,errors:e.body})})},updateGuildModeration:function(e,t){return c.default.patch({url:u.Endpoints.GUILD(e),body:{verification_level:t.verificationLevel,explicit_content_filter:t.explicitContentFilter}})},transferOwnership:function(e,t){return(0,p.default)({title:l.default.Messages.TRANSFER_OWNERSHIP,actionText:l.default.Messages.TRANSFER_OWNERSHIP},function(n){return c.default.patch({url:u.Endpoints.GUILD(e),body:o({owner_id:t},n)})})},deleteGuild:function(e,t){var n=this;(0,p.default)({title:l.default.Messages.DELETE_SERVER_TITLE.format({name:t}),actionText:l.default.Messages.DELETE_SERVER},function(t){return c.default.post({url:u.Endpoints.GUILD(e)+"/delete",body:t})}).then(function(){return n.close()})},leaveGuild:function(e){var t=this;c.default.delete(""+u.Endpoints.ME+u.Endpoints.GUILD(e)).then(function(){return t.close()})},updateMemberRoles:function(e,t,n){c.default.patch({url:u.Endpoints.GUILD_MEMBERS(e)+"/"+t,body:{roles:n}})},enableIntegration:function(e,t,n){c.default.post({url:u.Endpoints.GUILD_INTEGRATIONS(e),body:{type:t,id:n}})},disableIntegration:function(e,t){c.default.delete(u.Endpoints.GUILD_INTEGRATIONS(e)+"/"+t)},updateIntegration:function(e,t,n,a,o){var r={expire_behavior:n,expire_grace_period:a,enable_emoticons:o};c.default.patch({url:u.Endpoints.GUILD_INTEGRATIONS(e)+"/"+t,body:r})},enableCustomEmoji:function(e,t,n){c.default.patch({url:u.Endpoints.GUILD_INTEGRATIONS(e)+"/"+t+"/custom_emoji",body:{enable:n}})},syncIntegration:function(e,t){c.default.post(u.Endpoints.GUILD_INTEGRATIONS(e)+"/"+t+"/sync")}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(59),l=a(s),u=n(11),f=a(u),c=n(849),d=a(c),p=n(42),h=a(p),g=n(16),m=a(g),v=n(58),E=a(v),y=n(17),_=a(y),b=n(29),S=a(b);t.default={createInvite:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return m.default.post({url:i.Endpoints.INSTANT_INVITES(e),body:t,context:{location:n}}).then(function(t){return r.default.dispatch({type:i.ActionTypes.INSTANT_INVITE_CREATE_SUCCESS,channelId:e,invite:t.body}),t})},revokeInvite:function(e){m.default.delete(i.Endpoints.INVITE+"/"+e).then(function(){r.default.dispatch({type:i.ActionTypes.INSTANT_INVITE_REVOKE_SUCCESS,code:e})})},resolveInvite:function(e,t,n){return r.default.maybeDispatch({type:i.ActionTypes.INVITE_RESOLVE,code:e}),m.default.get({url:i.Endpoints.INVITE+"/"+e,query:n}).then(function(n){var a=n.body;return t&&S.default.track("resolve_invite",{resolved:!0,guild_id:a.guild.id,channel_id:a.channel.id,channel_type:a.channel.type,inviter_id:a.inviter?a.inviter.id:null,code:e,location:t,authenticated:_.default.isAuthenticated()}),r.default.dispatch({type:i.ActionTypes.INVITE_RESOLVE_SUCCESS,invite:a,code:e}),{invite:a,code:e}},function(){return t&&S.default.track("resolve_invite",{resolved:!1,code:e,location:t,authenticated:_.default.isAuthenticated()}),r.default.dispatch({type:i.ActionTypes.INVITE_RESOLVE_FAILURE,code:e}),{invite:null,code:e}})},acceptInvite:function(e,t,n){r.default.dirtyDispatch({type:i.ActionTypes.INVITE_ACCEPT,code:e}),m.default.post({url:i.Endpoints.INVITE+"/"+e,context:{Location:t}}).then(function(t){r.default.dispatch({type:i.ActionTypes.INVITE_ACCEPT_SUCCESS,invite:t.body,code:e}),n?n(t.body):r.default.dispatch({type:i.ActionTypes.INVITE_APP_NOT_OPENED,code:e})},function(){return r.default.dispatch({type:i.ActionTypes.INVITE_ACCEPT_FAILURE,code:e})})},acceptInviteAndTransitionToInviteChannel:function(e,t){var n=this;this.acceptInvite(e,t,function(e){null!=e.channel&&n.transitionToInviteChannelSync(e.channel.id)})},transitionToInviteChannel:function(e,t){(arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.ChannelTypes.GUILD_TEXT)===i.ChannelTypes.GUILD_VOICE?(l.default.selectVoiceChannel(e,t),h.default.transitionTo(i.Routes.CHANNEL(e,e))):h.default.transitionTo(i.Routes.CHANNEL(e,t))},transitionToInviteChannelSync:function(e){var t=this;f.default.addConditionalChangeListener(function(){var n=f.default.getChannel(e);if(null!=n)return t.transitionToInviteChannel(n.getGuildId()||i.ME,n.id,n.type),!1})},openNativeAppModal:function(e){var t=this;r.default.dispatch({type:i.ActionTypes.INVITE_NATIVE_APP_MODAL_OPENING,code:e});var a=n(515);a.request(i.RPCCommands.INVITE_BROWSER,{code:e}).then(function(e){var n=e.code;return t.nativeModalOpened(n)}).catch(function(){return t.nativeModalOpenFailed(e)}).then(function(){return a.disconnect()})},nativeModalOpened:function(e){r.default.dispatch({type:i.ActionTypes.INVITE_NATIVE_APP_MODAL_OPENED,code:e})},nativeModalOpenFailed:function(e){r.default.dispatch({type:i.ActionTypes.INVITE_NATIVE_APP_MODAL_OPEN_FAILED,code:e})},openApp:function(e,t){r.default.maybeDispatch({type:i.ActionTypes.INVITE_APP_OPENING,code:e});var n=void 0;"Android"===E.default.os.family?n="intent://invite/%s#Intent;scheme=discord;package=com.discord;S.browser_fallback_url=http://discordapp.com;end".replace(/%s/g,e):(n="iOS"===E.default.os.family?i.Routes.INVITE(e):i.Routes.INVITE_PROXY(t),"#"===n[0]&&(n=n.slice(1)),n="discord://"+n),d.default.launch(n,function(t){r.default.dispatch({type:t?i.ActionTypes.INVITE_APP_OPENED:i.ActionTypes.INVITE_APP_NOT_OPENED,code:e})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={open:function(e){r.default.dirtyDispatch({type:i.ActionTypes.POPOUT_OPEN,popout:e})},close:function(e){r.default.dirtyDispatch({type:i.ActionTypes.POPOUT_CLOSE,key:e})},closeAll:function(){r.default.dirtyDispatch({type:i.ActionTypes.POPOUT_CLOSE_ALL})},rerender:function(e){r.default.dirtyDispatch({type:i.ActionTypes.POPOUT_NEEDS_RERENDER,key:e})},didRerender:function(e){r.default.dirtyDispatch({type:i.ActionTypes.POPOUT_DID_RERENDER,key:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=function(e){var t=e.children;return i.default.Children.toArray(t).length?o("div",{className:"item-group"},void 0,t):null};t.default=s,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var a=n(36);t.default={componentDidMount:function(){if("function"==typeof this.getSubscriptions){this._subscriptions=this.getSubscriptions();for(var e in this._subscriptions)this._subscriptions.hasOwnProperty(e)&&a.ComponentDispatch.subscribe(e,this._subscriptions[e])}},componentWillUnmount:function(){for(var e in this._subscriptions)this._subscriptions.hasOwnProperty(e)&&a.ComponentDispatch.unsubscribe(e,this._subscriptions[e])}},e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(){var e=Z.default.getChannelId();se.default.forEach(function(t){t.channelId===e&&null!=$.default.getChannel(t.channelId)?(re.default.fetchMessages(t.channelId,null,null,P.MAX_MESSAGES_PER_CHANNEL),se.default.commit(t.mutate({loadingMore:!0}))):se.default.clear(t.channelId)})}function u(e){var t=e.guildId,n=e.channelId,a=e.messageId;if(n=n||t,null==n)return!1;var o=se.default.getOrCreate(n);o.jumpTargetId&&(o=o.mutate({jumpTargetId:null,jumped:!1}),se.default.commit(o));var r=!1;if(!ae.default.isConnected()||o.loadingMore||o.ready){if(ae.default.isConnected()&&a)r=!0;else if(B.default.isAtBottom(n))return se.default.commit(o.truncateTop(P.MAX_MESSAGES_PER_CHANNEL)),!1}else(null==t||W.default.getGuild(t))&&(r=!0,se.default.commit(o.mutate({loadingMore:!0})));r&&(a?re.default.jumpToMessage(n,a,!0):re.default.fetchMessages(n,null,null,P.MAX_MESSAGES_PER_CHANNEL))}function f(e){var t=e.guild;return J.default.getGuildId()===t.id&&u({guildId:t.id,channelId:Z.default.getChannelId(t.id),messageId:null})}function c(e){var t=e.channelId,n=e.jump,a=se.default.getOrCreate(t);se.default.commit(a.mutate({loadingMore:!0,jumped:null!=n,jumpedToPresent:n&&n.present,jumpTargetId:n&&n.messageId,ready:!n&&a.ready}))}function d(e){var t=e.channelId,n=e.truncateBottom,a=e.truncateTop,o=se.default.getOrCreate(t);o=o.truncate(n,a),se.default.commit(o)}function p(e){var t=e.channelId,n=e.jump,a=e.before,o=e.after,r=e.limit,i=se.default.getOrCreate(t);n&&n.present?i=i.jumpToPresent(r):n&&n.messageId?i=i.jumpToMessage(n.messageId,n.flash):(a||o)&&(i=i.loadFromCache(null!=a,r)),se.default.commit(i)}function h(e){var t=e.channelId,n=e.isBefore,a=e.isAfter,o=e.jump,r=e.hasMoreBefore,i=e.hasMoreAfter,s=e.messages,l=se.default.getOrCreate(t);l=l.load({newMessages:s,isBefore:n,isAfter:a,jump:o,hasMoreBefore:r,hasMoreAfter:i}),se.default.commit(l)}function g(e){var t=e.channelId,n=se.default.getOrCreate(t);se.default.commit(n.mutate({loadingMore:!1}))}function m(e){var t=e.channelId,n=e.message,a=se.default.getOrCreate(t);if(null==a||!a.ready)return!1;a=a.receiveMessage(n,B.default.isAtBottom(t)),se.default.commit(a)}function v(e){var t=e.channelId,n=e.messageId,a=se.default.getOrCreate(t);if(null==a||!a.has(n))return!1;a=a.update(n,function(e){return e.set("state",P.MessageStates.SEND_FAILED)}),se.default.commit(a)}function E(e){var t=e.id,n=e.channelId,a=se.default.getOrCreate(n);if(null==a||!a.has(t))return!1;if(a.revealedMessageId===t){var o=a.getAfter(t);a=null!=o&&o.blocked?a.mutate({revealedMessageId:o.id}):a.mutate({revealedMessageId:null})}a=a.remove(t),se.default.commit(a)}function y(e){var t=e.ids,n=e.channelId,a=se.default.getOrCreate(n);if(!a)return!1;var o=a.removeMany(t);if(a===o)return!1;if(null!=o.revealedMessageId&&D.default.some(t,function(e){return o.revealedMessageId===e})){var r=o.getAfter(o.revealedMessageId);o=null!=r&&r.blocked?o.mutate({revealedMessageId:r.id}):o.mutate({revealedMessageId:null})}se.default.commit(o)}function _(e){var t=e.message.id,n=e.message.channel_id,a=se.default.getOrCreate(n);if(null==a||!a.has(t))return!1;a=a.update(t,function(t){return t.updateMessage(e.message)}),se.default.commit(a)}function b(){se.default.forEach(function(e){e.forAll(function(e){e.timestamp.locale(K.default.locale)})})}function S(){se.default.forEach(function(e){var t=e.channelId;null==$.default.getChannel(t)&&se.default.clear(t)})}function I(){se.default.forEach(function(e){se.default.commit(e.reset(e.map(function(e){return e.set("blocked",te.default.isBlocked(e.author.id))})))})}function T(e){var t=e.channelId,n=e.messageId,a=se.default.getOrCreate(t);se.default.commit(a.mutate({revealedMessageId:n}))}function N(e){var t=e.guild;se.default.forEach(function(e){var n=$.default.getChannel(e.channelId);null!=n&&n.getGuildId()===t.id&&se.default.commit(e.reset(e.map(function(e){var t=U.default.lookupMember(e);return null!=t?e.merge(t):e})))})}function A(e){var t=e.type,n=e.channelId,a=e.messageId,o=e.userId,r=e.emoji,i=e.optimistic,s=se.default.get(n);if(null==s)return!1;var l=j.default.getCurrentUser().id===o;if(i&&!l)return!1;s=s.update(a,function(e){return t===P.ActionTypes.MESSAGE_REACTION_ADD?e.addReaction(r,l):e.removeReaction(r,l)}),se.default.commit(s)}function M(e){var t=e.channelId,n=e.messageId,a=se.default.get(t);if(null==a)return!1;a=a.update(n,function(e){return e.set("reactions",[])}),se.default.commit(a)}t.__esModule=!0;var C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},O=n(7),D=o(O),L=n(2),R=o(L),x=n(4),w=o(x),P=n(1),k=n(129),U=o(k),G=n(10),j=o(G),F=n(265),B=o(F),V=n(34),H=o(V),z=n(12),W=o(z),Y=n(13),K=o(Y),Q=n(19),Z=o(Q),X=n(35),J=o(X),q=n(11),$=o(q),ee=n(43),te=o(ee),ne=n(187),ae=o(ne),oe=n(54),re=o(oe),ie=n(1539),se=o(ie),le=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.initialize=function(){this.waitFor(j.default,$.default,B.default,H.default,K.default,Z.default,J.default,ae.default,W.default,te.default)},t.prototype.getMessages=function(e){return se.default.getOrCreate(e)},t.prototype.getMessage=function(e,t){return se.default.getOrCreate(e).get(t)},t.prototype.getLastEditableMessage=function(e){var t=j.default.getCurrentUser();return(0,D.default)(this.getMessages(e).toArray()).reverse().find(function(e){return e.author.id===t.id&&e.state===P.MessageStates.SENT})},t.prototype.jumpedMessageId=function(e){var t=se.default.get(e);return t&&t.jumpTargetId},t.prototype.hasPresent=function(e){var t=se.default.get(e);return t&&t.hasPresent()},t.prototype.whenReady=function(e,t){this.addConditionalChangeListener(function(){if(se.default.getOrCreate(e).ready)return a(t),!1})},t}(R.default.Store);t.default=new le(w.default,{CONNECTION_OPEN:l,LOAD_MESSAGES:c,LOAD_MESSAGES_SUCCESS:h,LOAD_MESSAGES_FAILURE:g,LOAD_MESSAGES_SUCCESS_CACHED:p,TRUNCATE_MESSAGES:d,MESSAGE_CREATE:m,MESSAGE_SEND_FAILED:v,MESSAGE_UPDATE:_,MESSAGE_DELETE:E,MESSAGE_DELETE_BULK:y,MESSAGE_REVEAL:T,CHANNEL_SELECT:u,PREFETCH_MESSAGES:function(e){return u(C({},e,{messageId:null}))},USER_SETTINGS_UPDATE:b,CHANNEL_DELETE:S,GUILD_DELETE:S,GUILD_CREATE:f,RELATIONSHIP_ADD:I,RELATIONSHIP_REMOVE:I,GUILD_SYNC:N,MESSAGE_REACTION_ADD:A,MESSAGE_REACTION_REMOVE:A,MESSAGE_REACTION_REMOVE_ALL:M}),e.exports=t.default}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e){return e&&Date.parse(e)||0}function l(e){e.forEach(function(e){if(e.type!==le.ChannelTypes.GUILD_VOICE){var t=pe.get(e.id);t.lastMessageId=e.last_message_id,t.lastPinTimestamp=s(e.last_pin_timestamp)}})}function u(e){de=null,pe.clearAll();var t=0===W.default.totalUnavailableGuilds;e.readState.forEach(function(e){var n=pe.get(e.id);n.mentionCount=e.mention_count||0,n.ackMessageId=e.last_message_id,n.ackPinTimestamp=s(e.last_pin_timestamp),t&&!n.channelReadable()&&n.clearReadState()}),l(e.channels)}function f(e){e.guild.channels.forEach(function(e){if(e.type===le.ChannelTypes.GUILD_TEXT){var t=pe.getIfExists(e.id);null==t||t.channelReadable()||t.clearReadState()}}),l(e.guild.channels)}function c(e){var t=e.channelId,n=e.isAfter,a=e.messages,o=pe.get(t);o.loadedMessages=!0;var r=$.default.getMessages(t);r&&(r.hasPresent()||r.jumpTargetId===o.ackMessageId?o.rebuild():n&&null!=o.ackMessageId&&r.has(o.ackMessageId,!0)&&(o.unreadCount+=a.length))}function d(e){pe.get(e.channelId).rebuild()}function p(e){var t=e.channelId,n=e.message,a=pe.get(t);a.lastMessageId=n.id;var o=B.default.getCurrentUser();if(n.author.id===o.id)return b({channelId:t,messageId:n.id,manual:!1});var r=x.default.getChannelId();if(fe&&r===t&&L.default.isAtBottom(t)&&!J.default.isIdle())return a.ack(n.id);(null==a.oldestUnreadMessageId||a.oldestUnreadMessageIdStale)&&(a.oldestUnreadMessageId=n.id),a.unreadCount++,K.default.isBlocked(n.author.id)||(te.default.isMentioned(o,n)||a.isPrivate()&&!U.default.isGuildOrChannelMuted(null,t))&&a.mentionCount++}function h(e){var t=e.channel;return(t.type===le.ChannelTypes.DM||t.type===le.ChannelTypes.GROUP_DM)&&(null!=t.last_message_id&&void(pe.get(t.id).ackMessageId=t.last_message_id))}function g(e){var t=e.channel;return pe.clear(t.id)}function m(e){var t=e.channelId;if(ce===t)return!1;var n=!1;if(null!=ce){var a=pe.get(ce);a.hasUnread()||(a.oldestUnreadMessageId=null,n=!0)}return ce=t,n}function v(e){if(fe=e.focused,null!=ce){var t=pe.get(ce);fe||t.hasUnread()||(t.oldestUnreadMessageIdStale=!0)}return E({channelId:x.default.getChannelId()})}function E(e){var t=e.channelId;if(null!=t){var n=pe.get(t);if(fe&&n.hasUnreadOrMentions()&&L.default.isAtBottom(t))return n.ack()}return!1}function y(e){var t=e.channelId,n=e.immediate,a=void 0!==n&&n,o=e.force,r=void 0!==o&&o;return pe.get(t).ack(void 0,void 0,a,r)}function _(e){var t=e.channelId,n=e.timestamp;return pe.get(t).ackPins(n)}function b(e){var t=e.channelId,n=e.messageId,a=e.manual,o=pe.get(t);return a?o.rebuild(n,!0):n!==o.ackMessageId&&o.ack(n,!0)}function S(e){var t=e.channelId;return pe.get(t).ack(void 0,!0)}function I(e){var t=e.channelId,n=e.lastPinTimestamp,a=pe.get(t),o=s(n);return a.lastPinTimestamp!==o&&(a.lastPinTimestamp=o,!0)}function T(){de=null}t.__esModule=!0;var N=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),A=n(2),M=a(A),C=n(4),O=a(C),D=n(265),L=a(D),R=n(19),x=a(R),w=n(65),P=a(w),k=n(104),U=a(k),G=n(11),j=a(G),F=n(10),B=a(F),V=n(12),H=a(V),z=n(266),W=a(z),Y=n(43),K=a(Y),Q=n(17),Z=a(Q),X=n(522),J=a(X),q=n(88),$=a(q),ee=n(146),te=a(ee),ne=n(16),ae=a(ne),oe=n(122),re=a(oe),ie=n(147),se=a(ie),le=n(1),ue=le.Permissions.READ_MESSAGE_HISTORY|le.Permissions.READ_MESSAGES,fe=!0,ce=null,de=null,pe=function(){function e(t){i(this,e),this.channelId=t,this.loadedMessages=!1,this.lastMessageId=null,this.ackMessageId=null,this.ackPinTimestamp=0,this.lastPinTimestamp=0,this._oldestUnreadMessageId=null,this.oldestUnreadMessageIdStale=!1,this.estimated=!1,this.unreadCount=0,this.mentionCount=0,this.outgoingAck=null}return e.forEach=function(t){for(var n=Object.keys(e._readStates),a=Array.isArray(n),o=0,n=a?n:n[Symbol.iterator]();;){var r;if(a){if(o>=n.length)break;r=n[o++]}else{if(o=n.next(),o.done)break;r=o.value}var i=r;if(t(e._readStates[i])===!1)break}},e.get=function(t){var n=e._readStates[t];return null==n&&(n=new e(t),e._readStates[t]=n),n},e.getIfExists=function(t){return e._readStates[t]},e.clear=function(t){return null!=e._readStates[t]&&(delete e._readStates[t],!0)},e.clearAll=function(){e._readStates={}},e.prototype.isPrivate=function(){var e=j.default.getChannel(this.channelId);return null!=e&&e.isPrivate()},e.prototype.rebuild=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.ackMessageId=e||this.ackMessageId,this.oldestUnreadMessageId=null,this.estimated=!1,this.unreadCount=0,n&&(this.mentionCount=0),this.hasUnread()){var a=B.default.getCurrentUser(),o=this.isPrivate(),r=this.ackTimestamp,i=!1,s=!1,l=null,u=$.default.getMessages(this.channelId);u.forAll(function(e){i?t.oldestUnreadMessageId=t.oldestUnreadMessageId||e.id:i=e.id===t.ackMessageId,se.default.extractTimestamp(e.id)>r?(t.unreadCount++,n&&!K.default.isBlocked(e.author.id)&&(te.default.isMentioned(a,e)||o&&!U.default.isGuildOrChannelMuted(null,t.channelId))&&t.mentionCount++,l=l||e.id):s=!0}),this.estimated=!u.hasPresent()||!(i||s)&&u.length===this.unreadCount,this.oldestUnreadMessageId=this.oldestUnreadMessageId||l}},e.prototype.hasUnread=function(){return this.ackTimestamp<se.default.extractTimestamp(this.lastMessageId)},e.prototype.hasMentions=function(){return this.mentionCount>0},e.prototype.hasUnreadOrMentions=function(){return this.hasMentions()||this.hasUnread()},e.prototype.ackPins=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.lastPinTimestamp!==this.ackPinTimestamp&&(null==e&&ae.default.post(le.Endpoints.PINS_ACK(this.channelId)),this.ackPinTimestamp=s(e)||this.lastPinTimestamp,!0)},e.prototype.ack=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!(arguments.length>3&&void 0!==arguments[3]&&arguments[3]||this.loadedMessages||t))return!1;var o=this.hasMentions();return this.unreadCount=0,this.mentionCount=0,(null!=e||(e=this.lastMessageId,null!=e))&&(this.ackMessageId=e,t?this.oldestUnreadMessageId=null:(null==this.outgoingAck&&setTimeout(function(){n._ack(),n.outgoingAck=null},o||a?0:2e3),this.outgoingAck=e),!0)},e.prototype._ack=function(){var e=this,t=this.outgoingAck;if(null!=t){var n=Z.default.getId(),a=de;ae.default.post({url:le.Endpoints.MESSAGES_ACK(this.channelId,t),body:{token:de}}).then(function(t){de===a&&n===Z.default.getId()&&(de=t.body.token);var o=j.default.getChannel(e.channelId);re.default.trackWithMetadata(le.AnalyticEvents.ACK_MESSAGES,{channel_id:e.channelId,guild_id:null==o?void 0:o.getGuildId()})})}},e.prototype.clearReadState=function(){ae.default.delete(le.Endpoints.MESSAGES(this.channelId)+"/ack"),delete e._readStates[this.channelId]},e.prototype.channelReadable=function(){var e=j.default.getChannel(this.channelId);return!!e&&(e.type!==le.ChannelTypes.GUILD_VOICE&&(e.isPrivate()||P.default.can(ue,{channelId:this.channelId})))},N(e,[{key:"oldestUnreadMessageId",get:function(){return this._oldestUnreadMessageId},set:function(e){this._oldestUnreadMessageId=e,this.oldestUnreadMessageIdStale=!1}},{key:"ackTimestamp",get:function(){var e=se.default.extractTimestamp(this.ackMessageId);if(0===e){e=se.default.extractTimestamp(this.channelId);var t=j.default.getChannel(this.channelId);if(null!=t){var n=t.getGuildId();if(null!=n){var a=H.default.getGuild(n);null!=a&&(e=+a.joinedAt)}}}return e}},{key:"oldestUnreadTimestamp",get:function(){return se.default.extractTimestamp(this.oldestUnreadMessageId)}}]),e}();pe._readStates={};var he=function(e){function t(){return i(this,t),o(this,e.apply(this,arguments))}return r(t,e),t.prototype.initialize=function(){this.waitFor(L.default,B.default,H.default,W.default,j.default,x.default,$.default,P.default)},t.prototype.hasUnread=function(e){return pe.get(e).hasUnread()},t.prototype.getUnreadCount=function(e){return pe.get(e).unreadCount},t.prototype.getMentionCount=function(e){return pe.get(e).mentionCount},t.prototype.ackMessageId=function(e){return pe.get(e).ackMessageId},t.prototype.lastMessageId=function(e){return pe.get(e).lastMessageId},t.prototype.getOldestUnreadMessageId=function(e){return pe.get(e).oldestUnreadMessageId},t.prototype.getOldestUnreadTimestamp=function(e){return pe.get(e).oldestUnreadTimestamp},t.prototype.isEstimated=function(e){return pe.get(e).estimated},t.prototype.hasUnreadPins=function(e){var t=pe.get(e);return t.lastPinTimestamp>t.ackPinTimestamp},t}(M.default.Store);t.default=new he(O.default,{CONNECTION_OPEN:u,GUILD_CREATE:f,LOAD_MESSAGES_SUCCESS:c,MESSAGE_CREATE:p,MESSAGE_DELETE:d,MESSAGE_DELETE_BULK:d,MESSAGE_ACK:b,CHANNEL_ACK:y,CHANNEL_LOCAL_ACK:S,CHANNEL_PINS_ACK:_,CHANNEL_PINS_UPDATE:I,CHANNEL_SELECT:m,CHANNEL_CREATE:h,CHANNEL_DELETE:g,WINDOW_FOCUS:v,UPDATE_CHANNEL_DIMENSIONS:E,USER_UPDATE:T}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){g={width:window.innerWidth,height:window.innerHeight}}function l(e){h=e.focused}function u(){var e={width:window.innerWidth,height:window.innerHeight};return(g.width!==e.width||g.height!==e.height)&&(g=e,!0)}t.__esModule=!0;var f=n(2),c=a(f),d=n(4),p=a(d),h=(n(1),!0),g={width:0,height:0};u();var m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){s()},t.prototype.isFocused=function(){return h},t.prototype.windowSize=function(){return g},t}(c.default.Store);t.default=new m(p.default,{WINDOW_FOCUS:l,WINDOW_RESIZED:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(2108),p=a(d),h=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.style;return s("div",{className:(0,c.default)(p.default.divider,t),style:n})},t}(u.default.PureComponent);t.default=h,e.exports=t.default},,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(86),f=a(u),c=n(1433),d=a(c),p=n(1430),h=a(p),g=n(1431),m=a(g),v=n(1429),E=a(v),y=n(259),_=a(y),b=n(1411),S=a(b),I=n(1428),T=a(I),N=n(1440),A=a(N),M=n(1437),C=a(M),O=n(1424),D=a(O),L=n(1439),R=a(L),x=n(1423),w=a(x),P=n(1425),k=a(P),U=n(1427),G=a(U),j=n(1426),F=a(j),B=n(1436),V=a(B),H=n(761),z=a(H),W=n(1432),Y=a(W),K=n(1438),Q=a(K),Z=n(1434),X=a(Z),J=n(1435),q=a(J),$=n(1),ee=n(11),te=a(ee),ne=n(52),ae=(a(ne),i.default.createClass({displayName:"UserContextMenu",mixins:[l.default],render:function(){if(this.props.user.isNonUserBot())return null;var e=this.props,t=e.style,n=e.user,a=e.type,r=e.guildId,i=e.channelId,s=e.className,l=e.selected,u=e.invertChildY,c=e.target,p=e.nearestMessage;switch(a){case $.ContextMenuTypes.USER_CHANNEL_MEMBERS:case $.ContextMenuTypes.USER_CHANNEL_VOICE:return o("div",{className:s,style:t},void 0,o(f.default,{},void 0,o(d.default,{userId:n.id}),o(h.default,{user:n,guildId:r}),o(m.default,{userId:n.id}),o(F.default,{userId:n.id}),o(Y.default,{user:n,guildId:r,channelId:i,target:c,position:a===$.ContextMenuTypes.USER_CHANNEL_MEMBERS?Y.default.LEFT:Y.default.RIGHT}),o(Q.default,{userId:n.id})),o(A.default,{userId:n.id}),o(f.default,{},void 0,o(E.default,{userId:n.id}),o(z.default,{userId:n.id,guildId:r}),o(T.default,{user:n,guildId:r}),o(w.default,{user:n}),o(k.default,{user:n}),o(q.default,{user:n,message:p})),o(D.default,{user:n,guildId:r,channelId:i,target:c}),o(C.default,{userId:n.id,guildId:r,invertChildY:u}),o(S.default,{user:n,guildId:r,invertChildY:u}),o(_.default,{id:n.id}));case $.ContextMenuTypes.USER_CHANNEL_MESSAGE:case $.ContextMenuTypes.USER_CHANNEL_MENTION:return o("div",{className:s,style:t},void 0,o(f.default,{},void 0,o(d.default,{userId:n.id}),o(h.default,{user:n,guildId:r}),o(m.default,{userId:n.id}),o(F.default,{userId:n.id}),o(Y.default,{user:n,guildId:r,channelId:i,target:c})),o(f.default,{},void 0,o(z.default,{userId:n.id,guildId:r}),o(T.default,{user:n,guildId:r}),o(w.default,{user:n}),o(k.default,{user:n}),o(q.default,{user:n,message:p})),o(D.default,{user:n,guildId:r,channelId:i}),o(C.default,{userId:n.id,guildId:r,invertChildY:u}),o(S.default,{user:n,guildId:r,invertChildY:u}),o(_.default,{id:n.id}));case $.ContextMenuTypes.USER_PRIVATE_CHANNELS:return o("div",{className:s,style:t},void 0,o(f.default,{},void 0,o(d.default,{userId:n.id}),o(F.default,{userId:n.id}),o(Y.default,{user:n,guildId:r,channelId:i,target:c}),o(G.default,{selected:l,channelId:i}),o(Q.default,{userId:n.id})),o(f.default,{},void 0,o(T.default,{user:n,guildId:r}),o(w.default,{user:n}),o(k.default,{user:n}),o(q.default,{user:n,message:p})),o(_.default,{id:n.id}));case $.ContextMenuTypes.USER_GROUP_DM:case $.ContextMenuTypes.USER_CALL_AVATAR:var g=o(V.default,{userId:n.id,channelId:i}),v=o(f.default,{},void 0,o(X.default,{userId:n.id,channelId:i})),y=te.default.getChannel(i);return y&&y.isManaged()&&(g=null,v=null),o("div",{className:s,style:t},void 0,o(f.default,{},void 0,o(d.default,{userId:n.id}),o(h.default,{user:n}),o(m.default,{userId:n.id}),g,o(Y.default,{user:n,channelId:i,target:c}),o(Q.default,{userId:n.id})),o(A.default,{userId:n.id}),v,o(f.default,{},void 0,o(E.default,{userId:n.id}),o(T.default,{user:n,guildId:r}),o(w.default,{user:n}),o(k.default,{user:n}),o(q.default,{user:n,message:p})),o(_.default,{id:n.id}));case $.ContextMenuTypes.USER_SEARCH_RESULTS:case $.ContextMenuTypes.USER_FRIEND_LIST:case $.ContextMenuTypes.USER_PROFILE_MUTUAL:return o("div",{className:s,style:t},void 0,o(f.default,{},void 0,o(d.default,{userId:n.id}),o(m.default,{userId:n.id}),o(F.default,{userId:n.id}),o(Y.default,{user:n,guildId:r,channelId:i,target:c}),o(Q.default,{userId:n.id})),o(f.default,{},void 0,o(T.default,{user:n,guildId:r}),o(w.default,{user:n}),o(k.default,{user:n}),o(q.default,{user:n,message:p})),o(_.default,{id:n.id}));case $.ContextMenuTypes.USER_CHANNEL_TITLE:case $.ContextMenuTypes.USER_PRIVATE_CHANNELS_MESSAGE:return o("div",{className:s,style:t},void 0,o(f.default,{},void 0,o(d.default,{userId:n.id}),o(F.default,{userId:n.id}),o(Y.default,{user:n,guildId:r,channelId:i,target:c}),o(Q.default,{userId:n.id}),o(G.default,{selected:l,channelId:i})),o(f.default,{},void 0,o(T.default,{user:n,guildId:r}),o(w.default,{user:n}),o(k.default,{user:n}),o(q.default,{user:n,message:p})),o(_.default,{id:n.id}));case $.ContextMenuTypes.USER_GUILD_MEMBERS:return o("div",{className:s,style:t},void 0,o(f.default,{},void 0,o(E.default,{userId:n.id}),o(z.default,{userId:n.id,guildId:r})),o(D.default,{user:n,guildId:r,channelId:i,target:c}),o(C.default,{userId:n.id,guildId:r,invertChildY:u}),o(f.default,{},void 0,o(R.default,{user:n,guildId:r})),o(_.default,{id:n.id}));case $.ContextMenuTypes.USER_AUDIT_LOG:return o("div",{className:s,style:t},void 0,o(f.default,{},void 0,o(d.default,{userId:n.id}),o(m.default,{userId:n.id})),o(C.default,{userId:n.id,guildId:r,invertChildY:u}),o(_.default,{id:n.id}));case $.ContextMenuTypes.USER_BANS:return o("div",{className:s,style:t},void 0,o(f.default,{},void 0,o(d.default,{userId:n.id}),o(m.default,{userId:n.id})),o(_.default,{id:n.id}));default:console.warn("Error - no such ctx menu type")}return null}}));t.default=ae,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return null!=he&&he.id===e&&(he==ge?ge=he=Y.default.getGuild(e):(he=Y.default.getGuild(e),ge=ge.set("roles",he.roles)),!0)}function l(e){ue=!0,u(e)}function u(e){var t=e.guildId,n=e.section,a=void 0===n?null:n;he=ge=Y.default.getGuild(t),fe=se.FormStates.OPEN,pe={},me=t,_e=ge.mfaLevel,c({section:a||ce||se.GuildSettingsSections.OVERVIEW})}function f(){ue=!1,fe=se.FormStates.CLOSED,he=ge=null,ve=!1,Ee=null,ye=null,be=null,Se=null,Ie=null,ce=null,de=null,_e=se.MFALevels.NONE}function c(e){if(ce=e.section,ce===se.GuildSettingsSections.BANS)oe.default.get(se.Endpoints.GUILD_BANS(ge.id)).then(function(e){V.default.dispatch({type:se.ActionTypes.GUILD_SETTINGS_LOADED_BANS,bans:e.body})});else if(ce===se.GuildSettingsSections.INSTANT_INVITES)oe.default.get(se.Endpoints.GUILD_INSTANT_INVITES(ge.id)).then(function(e){V.default.dispatch({type:se.ActionTypes.GUILD_SETTINGS_LOADED_INVITES,invites:e.body})});else if(ce===se.GuildSettingsSections.EMBED)oe.default.get(se.Endpoints.GUILD_EMBED(ge.id)).then(function(e){V.default.dispatch({type:se.ActionTypes.GUILD_SETTINGS_SET_EMBED,enabled:e.body.enabled,channelId:e.body.channel_id})});else{if(ce===se.GuildSettingsSections.INTEGRATIONS)return k(e);ce===se.GuildSettingsSections.MEMBERS?(me=ge.id,ge.large&&ne.default.requestMembers(ge.id,"",0)):ce===se.GuildSettingsSections.VANITY_URL&&oe.default.get(se.Endpoints.GUILD_VANITY_URL(ge.id)).then(function(e){V.default.dispatch({type:se.ActionTypes.GUILD_SETTINGS_SET_VANITY_URL,code:e.body.code})})}}function d(e){de=e.searchQuery}function p(e){var t=e.guildId;he=ge=Y.default.getGuild(t),pe={}}function h(){fe=se.FormStates.SUBMITTING}function g(){fe=se.FormStates.OPEN}function m(e){fe=se.FormStates.OPEN,ce=se.GuildSettingsSections.OVERVIEW,pe=e.errors||{}}function v(){var e=!1;le.forEach(function(t){ge[t]!==he[t]&&(e=!0)}),e||(ge=he)}function E(e){le.forEach(function(t){e.hasOwnProperty(t)&&(ge=ge.set(t,e[t]))}),v()}function y(e){return new ee.default({code:e.code,temporary:e.temporary,revoked:e.revoked,inviter:null!=e.inviter?new Q.default(e.inviter):null,channel:new q.default(e.channel),guild:new X.default(e.guild),uses:e.uses,maxUses:e.max_uses,maxAge:e.max_age,createdAt:(0,ie.default)(e.created_at)})}function _(e){Se={},e.invites.forEach(function(e){Se[e.code]=y(e)})}function b(e){Se=G({},Se),delete Se[e.code]}function S(e){var t;Se=G({},Se,(t={},t[e.invite.code]=y(e.invite),t))}function I(e){be={},e.bans.forEach(function(e){null!=e.user&&null!=e.user.id&&(be[e.user.id]=e)})}function T(e){var t,n=e.user,a=e.guildId;return null!=be&&(null!=ge&&ge.id===a&&void(be=G({},be,(t={},t[n.id]=!0,t))))}function N(e){var t=e.user,n=e.guildId;return null!=be&&(null!=ge&&ge.id===n&&(be=G({},be),void delete be[t.id]))}function A(e){if(null==ge||ge.id!==e.guild.id)return!1;he=Y.default.getGuild(ge.id);var t=he;le.forEach(function(e){"icon"!==e&&"splash"!==e&&(t=t.set(e,ge[e]))}),ge=t}function M(e){if(null==ge||ge.id!==e.guild.id)return!1;f()}function C(e){me=e.roleId}function O(e){var t=e.guildId,n=e.role;if(!s(t))return!1;me=n.id}function D(e){if(!s(e.guildId))return!1}function L(e){var t=e.guildId,n=e.roleId;if(!s(t))return!1;me===n&&(me=t)}function R(e){ve=e.enabled,Ee=e.channelId}function x(e){ye=e.code}function w(e){_e=e.level}function P(e){Ie=e.integrations.map(function(e){return e.user=new Q.default(e.user),e})}function k(e){fe===se.FormStates.OPEN&&(e.type===se.ActionTypes.GUILD_INTEGRATIONS_UPDATE&&e.guildId!==ge.id||oe.default.get(se.Endpoints.GUILD_INTEGRATIONS(ge.id)).then(function(e){V.default.dispatch({type:se.ActionTypes.GUILD_SETTINGS_LOADED_INTEGATIONS,guildId:ge.id,integrations:e.body})}))}function U(e){var t=e.guildId;fe===se.FormStates.OPEN&&t===ge.id&&s(t)}t.__esModule=!0;var G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},j=n(2),F=a(j),B=n(4),V=a(B),H=n(10),z=a(H),W=n(12),Y=a(W),K=n(75),Q=a(K),Z=n(103),X=a(Z),J=n(52),q=a(J),$=n(373),ee=a($),te=n(63),ne=a(te),ae=n(16),oe=a(ae),re=n(8),ie=a(re),se=n(1),le=["name","icon","splash","region","afkChannelId","afkTimeout","verificationLevel","defaultMessageNotifications","explicitContentFilter"],ue=!1,fe=se.FormStates.CLOSED,ce=void 0,de=void 0,pe={},he=void 0,ge=void 0,me=void 0,ve=!1,Ee=null,ye=null,_e=se.MFALevels.NONE,be=null,Se=null,Ie=null,Te=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(Y.default,z.default)},t.prototype.hasChanges=function(){return ge!==he},t.prototype.isOpen=function(){return ue},t.prototype.getSection=function(){return ce},t.prototype.showNotice=function(){return this.hasChanges()},t.prototype.getGuildId=function(){return ge?ge.id:null},t.prototype.getProps=function(){return{submitting:fe===se.FormStates.SUBMITTING,integrations:Ie,section:ce,errors:pe,guild:ge,bans:be,invites:Se,selectedRoleId:me,embedEnabled:ve,embedChannelId:Ee,mfaLevel:_e,searchQuery:de,vanityURLCode:ye,hasChanges:this.hasChanges()}},t}(F.default.Store);t.default=new Te(V.default,{GUILD_SETTINGS_INIT:u,GUILD_SETTINGS_OPEN:l,GUILD_SETTINGS_CLOSE:f,GUILD_SETTINGS_UPDATE:E,GUILD_SETTINGS_CANCEL_CHANGES:p,GUILD_SETTINGS_SUBMIT:h,GUILD_SETTINGS_SUBMIT_SUCCESS:g,GUILD_SETTINGS_SUBMIT_FAILURE:m,GUILD_SETTINGS_SET_SECTION:c,GUILD_SETTINGS_SET_SEARCH_QUERY:d,GUILD_SETTINGS_LOADED_BANS:I,GUILD_SETTINGS_LOADED_INVITES:_,GUILD_SETTINGS_SET_EMBED:R,GUILD_SETTINGS_SET_VANITY_URL:x,GUILD_SETTINGS_SET_MFA_SUCCESS:w,GUILD_SETTINGS_ROLE_SELECT:C,GUILD_SETTINGS_LOADED_INTEGATIONS:P,GUILD_BAN_ADD:T,GUILD_BAN_REMOVE:N,GUILD_ROLE_CREATE:O,GUILD_ROLE_UPDATE:D,GUILD_ROLE_DELETE:L,GUILD_UPDATE:A,GUILD_DELETE:M,USER_CONNECTIONS_UPDATE:k,GUILD_INTEGRATIONS_UPDATE:k,GUILD_EMOJIS_UPDATE:U,INSTANT_INVITE_REVOKE_SUCCESS:b,INSTANT_INVITE_CREATE_SUCCESS:S}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){var n=R[e];return null!=n?n[t]:null}function l(e){if(null==R[e])delete x[e],delete w[e];else{x[e]=T.StatusTypes.OFFLINE,delete w[e];for(var t in R[e]){var n=R[e][t],a=n.status,o=n.activity;L[a]>L[x[e]]&&(x[e]=a),null!=o&&(w[e]=o)}}}function u(e,t,n,a){if(t!==A.default.getId()){var o=R[t];if(null==o){if(n===T.StatusTypes.OFFLINE)return!1;o=R[t]={}}if(n===T.StatusTypes.OFFLINE)delete o[e],0===Object.keys(o).length&&delete R[t],e===T.ME&&P.delete(t);else{var r=o[e];null!=r&&(0,D.default)(r.activity,a)&&(a=r.activity),o[e]={status:n,activity:a},e===T.ME&&P.add(t)}l(t)}}function f(e){for(var t=Object.keys(R),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var r=o;null!=R[r][e]&&u(e,r,T.StatusTypes.OFFLINE)}}function c(e){var t,n,a=e.guilds,o=e.user,r=e.presences;R={},t={},t[o.id]=C.default.getStatus(),x=t,n={},n[o.id]=C.default.getActivity(),w=n,P.clear(),a.forEach(function(e){return p({guild:e})}),r.forEach(function(e){var t=e.user,n=e.status,a=e.game;return u(T.ME,t.id,n,a)})}function d(e){var t=e.presences;f(T.ME),t.forEach(function(e){var t=e.user,n=e.status,a=e.game;return u(T.ME,t.id,n,a)})}function p(e){var t=e.guild;t.presences.forEach(function(e){var n=e.user,a=e.status,o=e.game;u(t.id,n.id,a,o)})}function h(e){var t=e.guild;f(t.id),p({guild:t})}function g(e){f(e.guild.id)}function m(e){return u(e.guildId,e.user.id,T.StatusTypes.OFFLINE)}function v(e){var t=e.guildId,n=e.user,a=e.status,o=e.game;u(t||T.ME,n.id,a,o)}function E(){var e=A.default.getId();x[e]=C.default.getStatus(),w[e]=C.default.getActivity()}t.__esModule=!0;var y,_=n(2),b=a(_),S=n(4),I=a(S),T=n(1),N=n(17),A=a(N),M=n(269),C=a(M),O=n(118),D=a(O),L=(y={},y[T.StatusTypes.ONLINE]=4,y[T.StatusTypes.IDLE]=3,y[T.StatusTypes.DND]=2,y[T.StatusTypes.INVISIBLE]=1,y[T.StatusTypes.OFFLINE]=0,y),R={},x={},w={},P=new Set,k=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(A.default,C.default),this.syncWith([C.default],E)},t.prototype.getStatus=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:T.StatusTypes.OFFLINE;if(null==t)return x[e]||n;var a=s(e,t);return a&&a.status||n},t.prototype.getStatuses=function(){return x},t.prototype.getActivity=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(null==t)return w[e];var n=s(e,t);return n&&n.activity||null},t.prototype.getActivities=function(){return w},t.prototype.getOnlineFriendCount=function(){return P.size},t}(b.default.Store);t.default=new k(I.default,{CONNECTION_OPEN:c,GUILD_CREATE:p,GUILD_SYNC:h,GUILD_DELETE:g,GUILD_MEMBER_REMOVE:m,PRESENCE_UPDATE:v,PRESENCES_REPLACE:d}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e;return e={},e[L.ChannelTypes.GUILD_TEXT]=[],e[L.ChannelTypes.GUILD_VOICE]=[],e.count=0,e}function l(e){var t=V[e];return null==t&&(t=s(),V[e]=t),t}function u(e,t){var n=e.comparator,a=t.comparator;return n>a?1:n<a?-1:0}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!0};A.default.forEach(x.default.getChannels(),function(t){var n=t.getGuildId();if(null!=n&&e(t)){var a={channelId:t.id},o=l(n);o.count+=1,(t.type!==L.ChannelTypes.GUILD_TEXT||P.default.can(L.Permissions.READ_MESSAGES,a))&&o[t.type].push({comparator:t.position,channel:t})}})}function c(){V={},f();for(var e=Object.keys(V),t=Array.isArray(e),n=0,e=t?e:e[Symbol.iterator]();;){var a;if(t){if(n>=e.length)break;a=e[n++]}else{if(n=e.next(),n.done)break;a=n.value}var o=a,r=V[o];r[L.ChannelTypes.GUILD_TEXT].sort(u),r[L.ChannelTypes.GUILD_VOICE].sort(u)}b()}function d(e){if(null==e||null==U.default.getGuild(e))return!1;var t=s();V[e]=t,f(function(t){return t.guild_id===e}),t[L.ChannelTypes.GUILD_TEXT].sort(u),t[L.ChannelTypes.GUILD_VOICE].sort(u),S(e)}function p(e){return d(e.guild.id)}function h(e){return delete V[e.guild.id],!0}function g(e){return d(e.guildId)}function m(e){return e.user.id===B.default.getId()&&(c(),!0)}function v(e){return d(e.channel.guild_id)}function E(e){return d(e.guildId)}function y(e,t){return 0!==(D.default.computePermissions(e,t,null,null,!1)&L.ElevatedPermissions)}function _(e,t){var n=U.default.getGuild(t);if(n&&y(e,n))return!0;for(var a=V[t],o=a[L.ChannelTypes.GUILD_TEXT],r=a[L.ChannelTypes.GUILD_VOICE],i=o,s=Array.isArray(i),l=0,i=s?i:i[Symbol.iterator]();;){var u;if(s){if(l>=i.length)break;u=i[l++]}else{if(l=i.next(),l.done)break;u=l.value}var f=u,c=f.channel;if(y(e,c))return!0}for(var d=r,p=Array.isArray(d),h=0,d=p?d:d[Symbol.iterator]();;){var g;if(p){if(h>=d.length)break;g=d[h++]}else{if(h=d.next(),h.done)break;g=h.value}var m=g,c=m.channel;if(y(e,c))return!0}return!1}function b(){H={};for(var e=j.default.getCurrentUser(),t=Object.keys(V),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var r=o;_(e,r)&&(H[r]=!0)}}function S(e){_(j.default.getCurrentUser(),e)?H[e]=!0:delete H[e]}t.__esModule=!0;var I=n(2),T=a(I),N=n(7),A=a(N),M=n(4),C=a(M),O=n(55),D=a(O),L=n(1),R=n(11),x=a(R),w=n(65),P=a(w),k=n(12),U=a(k),G=n(10),j=a(G),F=n(17),B=a(F),V={},H={},z=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(U.default,x.default,P.default,B.default)},t.prototype.getChannels=function(e){return l(e)},t.prototype.getTextChannelIds=function(e){return this.getChannels(e)[0].map(function(e){return e.channel.id})},t.prototype.hasElevatedPermissions=function(e){return H[e]||!1},t}(T.default.Store);t.default=new z(C.default,{CONNECTION_OPEN:c,GUILD_CREATE:p,GUILD_UPDATE:p,GUILD_SYNC:p,GUILD_DELETE:h,GUILD_MEMBER_UPDATE:g,USER_UPDATE:m,CHANNEL_CREATE:v,CHANNEL_UPDATE:v,CHANNEL_DELETE:v,GUILD_ROLE_CREATE:E,GUILD_ROLE_UPDATE:E,GUILD_ROLE_DELETE:E}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(66),c=a(f),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,a=e.title,o=e.tag;return null!=a?s("div",{className:n},void 0,s(c.default,{tag:o},void 0,a),s("div",{className:"flex-vertical"},void 0,t)):s("div",{className:n},void 0,t)},t}(u.default.PureComponent);d.defaultProps={tag:c.default.Tags.H5},t.default=d,e.exports=t.default},,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(17),s=a(i),l=n(42),u=a(l),f=n(16),c=a(f),d=n(25),p=a(d),h=n(3),g=a(h),m=n(1);t.default={startSession:function(e){r.default.dirtyDispatch({type:m.ActionTypes.START_SESSION,token:e})},login:function(e,t){r.default.dispatch({type:m.ActionTypes.LOGIN}),c.default.post({url:m.Endpoints.LOGIN,body:{email:e,password:t},retries:2}).then(function(e){e.body.mfa?r.default.dispatch({type:m.ActionTypes.LOGIN_MFA_STEP,ticket:e.body.ticket}):r.default.dispatch({type:m.ActionTypes.LOGIN_SUCCESS,token:e.body.token})},function(e){return r.default.dispatch({type:m.ActionTypes.LOGIN_FAILURE,errors:e.body})})},loginMFA:function(e,t){r.default.dispatch({type:m.ActionTypes.LOGIN_MFA}),c.default.post({url:m.Endpoints.LOGIN_MFA,body:{code:e,ticket:t},retries:2}).then(function(e){return r.default.dispatch({type:m.ActionTypes.LOGIN_SUCCESS,token:e.body.token})},function(e){return r.default.dispatch({type:m.ActionTypes.LOGIN_MFA_FAILURE,message:e.body?e.body.message:g.default.Messages.NETWORK_ERROR_REST_REQUEST})})},loginToken:function(e){r.default.dispatch({type:m.ActionTypes.LOGIN_SUCCESS,token:e}),this.startSession(e)},loginReset:function(){r.default.dispatch({type:m.ActionTypes.LOGIN_RESET})},register:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.registerFull(void 0,e,void 0,t,n)},registerFull:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;return r.default.dispatch({type:m.ActionTypes.REGISTER}),c.default.post({url:m.Endpoints.REGISTER,body:{fingerprint:s.default.getFingerprint(),email:e,username:t,password:n,invite:a,captcha_key:o}}).then(function(e){return r.default.dispatch({type:m.ActionTypes.REGISTER_SUCCESS,token:e.body.token})},function(e){return r.default.dispatch({type:m.ActionTypes.REGISTER_FAILURE,errors:e.body})})},logout:function(){c.default.post({url:m.Endpoints.LOGOUT,body:{provider:m.DEVICE_PUSH_PROVIDER,token:p.default.get(m.DEVICE_TOKEN)}}).then(function(){return r.default.dispatch({type:m.ActionTypes.LOGOUT})})},verify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;null!=e?c.default.post({url:m.Endpoints.VERIFY,body:{token:e,captcha_key:t}}).then(function(e){r.default.dispatch({type:m.ActionTypes.LOGIN_SUCCESS,token:e.body.token}),u.default.replaceWith(m.Routes.ME)},function(e){return r.default.dispatch({type:m.ActionTypes.VERIFY_FAILURE,errors:e.body})}):r.default.dispatch({type:m.ActionTypes.VERIFY_FAILURE,errors:{}})},authorizeIPAddress:function(e){null!=e?c.default.post({url:m.Endpoints.AUTHORIZE_IP,body:{token:e}}).then(function(){return r.default.dispatch({type:m.ActionTypes.VERIFY_SUCCESS})},function(){return r.default.dispatch({type:m.ActionTypes.VERIFY_FAILURE,errors:{}})}):r.default.dispatch({type:m.ActionTypes.VERIFY_FAILURE,errors:{}})},verifyResend:function(){c.default.post(m.Endpoints.VERIFY_RESEND)},resetPassword:function(e,t){r.default.dispatch({type:m.ActionTypes.LOGIN});var n={token:e,password:t},a=p.default.get(m.DEVICE_TOKEN);null!=m.DEVICE_PUSH_PROVIDER&&null!=a&&(n.push_provider=m.DEVICE_PUSH_PROVIDER,n.push_token=a),c.default.post({url:m.Endpoints.RESET_PASSWORD,body:n}).then(function(e){e.body.mfa?r.default.dispatch({type:m.ActionTypes.LOGIN_MFA_STEP,ticket:e.body.ticket}):(r.default.dispatch({type:m.ActionTypes.LOGIN_SUCCESS,token:e.body.token}),u.default.replaceWith(m.Routes.ME))},function(e){return r.default.dispatch({type:m.ActionTypes.LOGIN_FAILURE,errors:e.body})})},resetPasswordMFA:function(e,t,n,a){r.default.dispatch({type:m.ActionTypes.LOGIN_MFA}),c.default.post({url:m.Endpoints.RESET_PASSWORD,body:{code:e,ticket:t,password:n,token:a}}).then(function(e){r.default.dispatch({type:m.ActionTypes.LOGIN_SUCCESS,token:e.body.token}),u.default.replaceWith(m.Routes.ME)},function(e){return r.default.dispatch({type:m.ActionTypes.LOGIN_MFA_FAILURE,message:e.body.message})})},forgotPassword:function(e,t){r.default.dispatch({type:m.ActionTypes.LOGIN}),c.default.post({url:m.Endpoints.FORGOT_PASSWORD,body:{email:e}}).then(function(){r.default.dispatch({type:m.ActionTypes.FORGOT_PASSWORD_SENT}),t&&t()},function(e){return r.default.dispatch({type:m.ActionTypes.LOGIN_FAILURE,errors:e.body})})},fingerprint:function e(t){var e=s.default.getFingerprint()||s.default.getToken();return null!=e?Promise.resolve(e):c.default.get({url:m.Endpoints.EXPERIMENTS,context:{location:t},retries:3}).then(function(e){var t=e.body.fingerprint;return r.default.dispatch({type:m.ActionTypes.FINGERPRINT,token:t}),t},function(){return null})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){l.default.dirtyDispatch({type:u.ActionTypes.LAYER_PUSH,component:e})}function r(){l.default.dirtyDispatch({type:u.ActionTypes.LAYER_POP})}function i(){l.default.dirtyDispatch({type:u.ActionTypes.LAYER_POP_ALL})}t.__esModule=!0,t.pushLayer=o,t.popLayer=r,t.popAllLayers=i;var s=n(4),l=a(s),u=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=n(48),u=a(l),f=n(1),c=n(345),d=a(c),p=n(119),h=a(p),g=n(384),m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(e){this.id=e.id,this.name=e.name||"",this.ownerId=e.ownerId||null,this.icon=e.icon||null,this.splash=e.splash||null,this.features=new Set(e.features||[]),this.roles=e.roles||{},this.afkChannelId=e.afkChannelId||null,this.afkTimeout=e.afkTimeout||null,this.verificationLevel=e.verificationLevel||f.VerificationLevels.NONE,this.region=e.region||null,this.joinedAt=e.joinedAt||new Date,this.large=e.large||!1,this.defaultMessageNotifications=e.defaultMessageNotifications||f.UserNotificationSettings.ALL_MESSAGES,this.mfaLevel=e.mfaLevel||f.MFALevels.NONE,this.application_id=e.application_id||null,this.explicitContentFilter=e.explicitContentFilter||f.GuildExplicitContentFilterTypes.DISABLED},t.prototype.getIconURL=function(){return u.default.getGuildIconURL({id:this.id,icon:this.icon})},t.prototype.getIconSource=function(){return u.default.getGuildIconSource({id:this.id,icon:this.icon})},t.prototype.getApplicationId=function(){return this.application_id},t.prototype.toString=function(){return this.name||""},t.prototype.isOwner=function(e){var t="string"==typeof e?e:null!=e?e.id:null;return this.ownerId===t},t.prototype.isOwnerWithRequiredMfaLevel=function(e){return!(!e.mfaEnabled&&this.mfaLevel==f.MFALevels.ELEVATED)&&this.isOwner(e)},t.prototype.isNew=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:7,t=d.default.fromString(this.id,!0).shiftRight(22).add(d.default.fromNumber(14200704e5)).toNumber();return Date.now()-t<864e5*e},t.prototype.hasFeature=function(e){return this.features.has(e)},t.prototype.getRole=function(e){return this.roles[e]},s(t,[{key:"acronym",get:function(){return(0,g.getAcronym)(this.name)}}]),t}(h.default);t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.forEach(function(e){var n=e.guild_id,a=u(e.channel_overrides);if(t){var o=C[n];null!=o&&(a=(0,M.default)(o.channel_overrides,a))}e.channel_overrides=a,C[n]=(0,M.default)(C[n]||l(n),e),L[n]=new Set((0,E.default)(e.channel_overrides).filter(function(e){return e.muted}).map(function(e){return e.channel_id}).value())}),!0}function l(e){var t=T.default.getGuild(e);return D[t?t.defaultMessageNotifications:N.UserNotificationSettings.ALL_MESSAGES]}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e instanceof Array?E.default.keyBy(e,"channel_id"):e}function f(e){return C[e]||l(e)}function c(e){return C={},L={},s(e.userGuildSettings)}function d(e){var t=e.userGuildSettings,n=e.partial;return s(t,void 0!==n&&n)}t.__esModule=!0;var p,h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},g=n(2),m=a(g),v=n(7),E=a(v),y=n(4),_=a(y),b=n(10),S=a(b),I=n(12),T=a(I),N=n(1),A=n(686),M=a(A),C={},O={suppress_everyone:!1,mobile_push:!0,muted:!1,message_notifications:N.UserNotificationSettings.ALL_MESSAGES,channel_overrides:{}},D=(p={},p[N.UserNotificationSettings.ALL_MESSAGES]=h({},O,{message_notifications:N.UserNotificationSettings.ALL_MESSAGES}),p[N.UserNotificationSettings.ONLY_MENTIONS]=h({},O,{message_notifications:N.UserNotificationSettings.ONLY_MENTIONS}),p),L={},R=new Set,x=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(S.default,T.default)},t.prototype.isSuppressEveryoneEnabled=function(e){return f(e).suppress_everyone},t.prototype.isMobilePushEnabled=function(e){return f(e).mobile_push},t.prototype.isMuted=function(e){return f(e).muted},t.prototype.getMessageNotifications=function(e){return f(e).message_notifications},t.prototype.getChannelOverrides=function(e){return f(e).channel_overrides},t.prototype.getChannelMessageNotifications=function(e,t){var n=this.getChannelOverrides(e)[t];return null==n||null==n.message_notifications?N.UserNotificationSettings.NULL:n.message_notifications},t.prototype.getMutedChannels=function(e){return L[e]||R},t.prototype.isChannelMuted=function(e,t){return this.getMutedChannels(e).has(t)},t.prototype.resolvedMessageNotifications=function(e,t){var n=this.getChannelMessageNotifications(e,t);return n===N.UserNotificationSettings.NULL?this.getMessageNotifications(e):n},t.prototype.isGuildOrChannelMuted=function(e,t){return this.isMuted(e)||this.isChannelMuted(e,t)},t.prototype.allowNoMessages=function(e){var t=e.getGuildId();return this.isGuildOrChannelMuted(t,e.id)||this.resolvedMessageNotifications(t,e.id)===N.UserNotificationSettings.NO_MESSAGES},t.prototype.allowAllMessages=function(e){var t=e.getGuildId();return!this.isGuildOrChannelMuted(t,e.id)&&this.resolvedMessageNotifications(t,e.id)===N.UserNotificationSettings.ALL_MESSAGES},t}(m.default.Store);t.default=new x(_.default,{USER_GUILD_SETTINGS_UPDATE:d,CONNECTION_OPEN:c,GUILD_CREATE:function(e){return!0},GUILD_UPDATE:function(e){return!0}}),e.exports=t.default},,,function(e,t,n){"use strict";t.__esModule=!0;var a={};a=n(1253),t.default=a,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n={},a=Object.keys(f),o=Array.isArray(a),r=0,a=o?a:a[Symbol.iterator]();;){var i;if(o){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var s=i,l=f[s],u=e[t?l:s];null!=u&&(n[t?s:l]=u)}return n}t.__esModule=!0;var r=n(4),i=a(r),s=n(1),l=n(16),u=a(l),f={showCurrentGame:"show_current_game",inlineAttachmentMedia:"inline_attachment_media",inlineEmbedMedia:"inline_embed_media",renderEmbeds:"render_embeds",renderReactions:"render_reactions",sync:"sync",theme:"theme",enableTTSCommand:"enable_tts_command",messageDisplayCompact:"message_display_compact",locale:"locale",convertEmoticons:"convert_emoticons",restrictedGuilds:"restricted_guilds",friendSourceFlags:"friend_source_flags",developerMode:"developer_mode",guildPositions:"guild_positions",detectPlatformAccounts:"detect_platform_accounts",status:"status",explicitContentFilter:"explicit_content_filter",defaultGuildsRestricted:"default_guilds_restricted",afkTimeout:"afk_timeout"};t.default={updateLocalSettings:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&(e=o(e,!0)),i.default.dispatch({type:s.ActionTypes.USER_SETTINGS_UPDATE,settings:e})},updateRemoteSettings:function(e){u.default.patch({url:s.Endpoints.SETTINGS,body:o(e,!1)}),this.updateLocalSettings(e)}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){return(0,O.default)(x.default.getGuilds()).values().sortBy(function(e){return e.name.toLowerCase()}).map(function(e){return e.id}).first()}function l(){K=s()}function u(){if(null!=K)return!1;K=s()}function f(){if(null!=x.default.getGuild(K))return!1;K=s()}function c(e){K=e.guildId,Q=null}function d(e){var t=e.callId;K=null,Q=t}function p(){K=s(),Q=null}function h(e){var t=e.userId;Z={guildId:e.guildId,userId:t,channelId:e.channelId}}function g(e){var t=e.mode;Y.displayNameMode=t,U.default.set(H,Y)}function m(e){var t=e.mode;Y.displayUserMode=t,U.default.set(H,Y)}function v(e){var t=e.mode;Y.avatarSizeMode=t,U.default.set(H,Y)}function E(e){var t=e.x,n=e.y;Y.position={x:t,y:n},U.default.set(H,Y)}function y(e){!Y.enabled&&e.enabled?j.default.enable():Y.enabled&&!e.enabled&&j.default.disable(),Y.enabled=e.enabled,U.default.set(H,Y)}function _(){j.default.attach(P.default.pids)}function b(e){X=e.locked,j.default.setLocked(X)}function S(e){J=e.progress}function I(e){var t=e.port;j.default.setURL(location.protocol+"//"+location.host+"/overlay?rpc="+t)}t.__esModule=!0;var T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},N=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),A=n(2),M=a(A),C=n(7),O=a(C),D=n(4),L=a(D),R=n(12),x=a(R),w=n(270),P=a(w),k=n(25),U=a(k),G=n(137),j=a(G),F=n(18),B=a(F),V=n(1),H="OverlayStore",z=B.default.embedded&&B.default.isWindows(),W={displayUserMode:V.OverlayDisplayUsers.ALWAYS,displayNameMode:V.OverlayDisplayNames.ALWAYS,avatarSizeMode:V.OverlayAvatarSizes.LARGE,position:{x:15,y:15},enabled:!1},Y={},K=null,Q=null,Z={},X=!0,J=0,q=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){Y=T({},W,U.default.get(H)),z&&Y.enabled&&j.default.enable(),this.waitFor(x.default),__OVERLAY__||this.waitFor(P.default)},t.prototype.isSupported=function(){return z},t.prototype.getSelectedGuildId=function(){return K},t.prototype.getSelectedCallId=function(){return Q},t.prototype.getOpenedUserPopout=function(){return Z},t.prototype.getDisplayUserMode=function(){return Y.displayUserMode},t.prototype.getDisplayNameMode=function(){return Y.displayNameMode},t.prototype.getAvatarSizeMode=function(){return Y.avatarSizeMode},t.prototype.getPosition=function(){return Y.position},N(t,[{key:"enabled",get:function(){return this.isSupported()&&Y.enabled}},{key:"isAvailable",get:function(){return j.default.isAvailable}},{key:"installProgress",get:function(){return J}},{key:"locked",get:function(){return X}}]),t}(M.default.Store);t.default=new q(L.default,{CONNECTION_OPEN:l,GUILD_CREATE:u,GUILD_DELETE:f,OVERLAY_SELECT_GUILD:c,OVERLAY_SELECT_CALL:d,CALL_DELETE:p,OVERLAY_OPEN_USER_POPOUT:h,OVERLAY_SET_ENABLED:y,OVERLAY_SET_DISPLAY_NAME_MODE:g,OVERLAY_SET_DISPLAY_USER_MODE:m,OVERLAY_SET_AVATAR_SIZE_MODE:v,OVERLAY_SET_POSITION:E,OVERLAY_SET_LOCKED:b,OVERLAY_GAMES_CHANGE:function(e){return!__OVERLAY__&&_(e)},OVERLAY_INSTALL_PROGRESS:function(e){return!__OVERLAY__&&S(e)},RPC_SERVER_READY:I}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(382),p=a(d),h=n(66),g=a(h),m=n(50),v=a(m),E=n(91),y=a(E),_=n(15),b=a(_);n(2302);var S=s(b.default.Child,{className:"margin-top-20"},void 0,s(y.default,{})),I=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.value,n=e.onChange,a=e.disabled,o=e.clear,r=e.fill,i=e.hideBorder,l=e.children,u=e.className,f=e.note,d=e.style;return s(b.default,{style:d,className:(0,c.default)("ui-switch-item",u,{disabled:a}),direction:b.default.Direction.VERTICAL},void 0,s(b.default,{},void 0,s(b.default.Child,{},void 0,s(g.default,{className:"margin-reset",tag:h.Tags.H3,disabled:a},void 0,l)),s(b.default.Child,{grow:0,shrink:0},void 0,s(p.default,{value:t,fill:r,onChange:n,disabled:a,clear:o}))),f&&s(b.default.Child,{className:"margin-top-4"},void 0,s(v.default,{disabled:a,type:m.Types.DESCRIPTION},void 0,f)),!i&&S)},t}(u.default.PureComponent);I.defaultProps={disabled:!1,clear:!1,hideBorder:!1,className:"margin-bottom-20"},t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){a(this,e)}return e.prototype.__attach=function(){},e.prototype.__detach=function(){},e.prototype.__getValue=function(){},e.prototype.__getAnimatedValue=function(){return this.__getValue()},e.prototype.__addChild=function(e){},e.prototype.__removeChild=function(e){},e.prototype.__getChildren=function(){return[]},e}();e.exports=o},,,,,,,,function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){function e(t){a(this,e),this.initialize(t)}return e.prototype.initialize=function(e){throw new Error("`initialize` must be implemented")},e.prototype.toJS=function(){return o({},this)},e.prototype.set=function(e,t){var n=this;if(n.hasOwnProperty(e)&&n[e]!==t){var a;return new this.constructor(o({},this,(a={},a[e]=t,a)))}return this},e.prototype.merge=function(e){var t=this,n=null;for(var a in e)if(e.hasOwnProperty(a))if(t.hasOwnProperty(a)){var r=e[a];t[a]!==r&&(null==n&&(n=o({},this)),n[a]=e[a])}else console.warn("Record does not have property: "+a);return null!=n?new this.constructor(n):this},e.prototype.update=function(t,n,a){null==a&&(a=n,n=void 0);var r=this,i=r[t];return i instanceof e||(i instanceof Array?i=[].concat(i):i instanceof Object&&(i=o({},i))),void 0===i&&(i=n),this.set(t,a(i))},e}();t.default=r,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=Date.now(),t=!1;z=x.default.reduce(z,function(n,a,o){return e-a.time<=Q?n[o]=a:t=!0,n},{}),t&&g()}function l(){var e={};Object.keys(Y).forEach(function(t){K[t]&&(e[t]=K[t])}),K=e,Object.keys(K).length?L.default.set(V,K):L.default.remove(V)}function u(e){if(null==e)return"";switch(e.type){case O.ExperimentContextTypes.GUILD:return"|guild:"+e.guildId;case O.ExperimentContextTypes.CHANNEL:return"|channel:"+e.channelId+":"+(e.guildId||0);default:return""}}function f(e){var t=e.experimentDescriptor;if(t.type===O.ExperimentTypes.DEVELOPER)return!1;var n=t.type+"|"+t.name,a=t.bucket+"|"+t.revision;if(t.type===O.ExperimentTypes.GUILD)a+="|"+t.guildId,n+="|"+t.guildId;else if(t.type===O.ExperimentTypes.USER){var o=u(t.context);a+=o,n+=o}var r=j.default.v3(a),i=Date.now(),s=z[n];if(null!=s&&i-s.time<=Q&&s.hash===r)return!1;var l=t.type===O.ExperimentTypes.USER?"experiment_user_triggered":"experiment_guild_triggered",f={name:t.name,revision:t.revision,bucket:t.bucket};if(t.type===O.ExperimentTypes.GUILD)f.guild_id=t.guildId;else if(t.type===O.ExperimentTypes.USER&&null!=t.context){var c=t.context;if(null!=c)switch(f.context_type=c.type,c.type){case O.ExperimentContextTypes.GUILD:f.context_guild_id=c.guildId;break;case O.ExperimentContextTypes.CHANNEL:f.context_guild_id=c.guildId,f.context_channel_id=c.channelId}}P.default.track(l,f),z[n]={time:i,hash:r},g()}function c(e){var t=j.default.v3(e),n=K[e]||W[t];return null!=n&&null==n.name&&(n.name=e),n}function d(e){var t=e.experiments;W={},t.forEach(function(e){var t=e[0],n=e[1],a=e[2];W[t]={revision:n,bucket:a,type:"user"}})}function p(){L.default.remove(B),W={},z={}}function h(){var e=L.default.get(B);return e&&e.v===H?e.e:{}}function g(){L.default.set(B,{v:H,e:z})}function m(e){var t,n=e.store,a=e.renderFunctions,o="function"==typeof n.getExperimentId?n.getExperimentId():null;if(!o)throw new Error("Experiment Store must have a static getExperimentId method defined");var r="function"==typeof n.getMetaData?n.getMetaData():{},i=_({},Z,r,{experiments:{}});x.default.keys(a).forEach(function(e){if(e!==O.ExperimentTypes.NONE){var t=Y[o]&&Y[o].experiments[e]?Y[o].experiments[e]:[],n=Object.keys(a[e]).map(function(e){return parseInt(e)});i.experiments[e]=Array.from(new Set([].concat(t,n))).sort()}}),Y=_({},Y,(t={},t[o]=i,t))}function v(e){return y(e.experimentId,"type",e.experimentType)}function E(e){return y(e.experimentId,"bucket",e.experimentBucket)}function y(e,t,n){var a=void 0,o=Y[e];if(null==o)return!1;if("type"===t){var r=o.experiments[n];n&&(a={type:n,bucket:null!=r?r[0]:""})}else a=_({},K[e],{bucket:n});return a?K[e]=a:delete K[e],l(),!0}t.__esModule=!0;var _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},b=n(2),S=a(b),I=n(4),T=a(I),N=n(17),A=a(N),M=n(187),C=a(M),O=n(1),D=n(25),L=a(D),R=n(7),x=a(R),w=n(29),P=a(w),k=n(797),U=a(k),G=n(346),j=a(G),F=["experiments","current_experiments","scientist:experiments"],B="scientist:triggered",V="exerimentOverrides",H=1,z={},W={},Y={},K={},Q=6048e5,Z={title:"Unnamed Experiment",description:"No description provided"},X=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){F.forEach(function(e){return L.default.remove(e)}),z=h(),s(),this.waitFor(A.default,C.default),K=L.default.get(V)||{}},t.prototype.getExperimentBucket=function(e){var t=c(e);return t?t.bucket:O.ExperimentBuckets.NOT_ELIGIBLE},t.prototype.getExperimentRevision=function(e){var t=c(e);return t?t.revision:0},t.prototype.getEligibleExperiment=function(e){return c(e)},t.prototype.getRegisteredExperiments=function(){return Y},t.prototype.getExperimentOverrides=function(){return K},t.prototype.getOverrideExperimentDescriptor=function(e){if(!U.default.isDeveloper())return null;var t=K[e],n=Y[e];return t&&n&&(n.experiments[t.type]||[]).indexOf(t.bucket)>=0?_({},t,{revision:1,name:e,override:!0}):null},t}(S.default.Store);t.default=new X(T.default,{LOGOUT:p,CONNECTION_OPEN:d,EXPERIMENTS_FETCH_SUCCESS:d,EXPERIMENT_TRIGGER:f,EXPERIMENT_REGISTER:m,EXPERIMENT_OVERRIDE_TYPE:v,EXPERIMENT_OVERRIDE_BUCKET:E}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(5),p=a(d),h=n(195),g=n(2104),m=a(g),v={WANDERING_CUBES:"wanderingCubes",CHASING_DOTS:"chasingDots",PULSING_ELLIPSIS:"pulsingEllipsis",SPINNING_CIRCLE:"spinningCircle"},E=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.className,a=o(e,["type","className"]);if(t===v.SPINNING_CIRCLE)return c.default.createElement("div",l({className:(0,p.default)(m.default.spinner,m.default[t],n)},a),u("div",{className:m.default.spinningCircleInner},void 0,u("svg",{className:m.default.circular,viewBox:"25 25 50 50"},void 0,u("circle",{className:(0,p.default)(m.default.path,m.default.path3),cx:"50",cy:"50",r:"20"}),u("circle",{className:(0,p.default)(m.default.path,m.default.path2),cx:"50",cy:"50",r:"20"}),u("circle",{className:m.default.path,cx:"50",cy:"50",r:"20"}))));var r=(0,h.getClass)(m.default,t,"item");return c.default.createElement("span",l({className:(0,p.default)(m.default.spinner,n)},a),u("span",{className:(0,p.default)(m.default.inner,m.default[t])},void 0,u("span",{className:r}),u("span",{className:r}),t===v.PULSING_ELLIPSIS?u("span",{className:r}):null))},t}(c.default.PureComponent);E.Type=v,E.defaultProps={type:v.WANDERING_CUBES},t.default=E,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=0;for(var n in e)t+=1;return t}function r(e){if(null==e)return null;var t=I.default.getGuild(e);if(null==t)return null;var n=c.default.getId(),a=N.default.getMember(e,n),r=b.default.getChannels(e);return{guild_id:t.id,guild_size_total:M.default.getMemberCount(e),guild_num_channels:r.count,guild_num_text_channels:r[u.ChannelTypes.GUILD_TEXT].length,guild_num_voice_channels:r[u.ChannelTypes.GUILD_VOICE].length,guild_num_roles:o(t.roles),guild_member_num_roles:a?a.roles.length:0,guild_member_perms:O.default.getGuildPermissions(e)||0,guild_is_vip:t.hasFeature(u.GuildFeatures.VIP_REGIONS)}}function i(e){if(null==e)return null;var t=v.default.getChannel(e);if(null==t)return null;var n=!1,a=t.getGuildId();if(null!=a){var o=t.permissionOverwrites[a];o&&0===(o.deny&u.Permissions.READ_MESSAGES)&&(n=!0)}return{channel_id:t.id,channel_type:t.type,channel_size_total:a?0:t.recipients.length,channel_size_online:y.default.getOnlineMemberCount(e),channel_member_perms:a?O.default.getChannelPermissions(e)||0:0,channel_hidden:n}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!L.default.isThrottled(e)){var a=t.guild_id||g.default.getGuildId(),o=t.channel_id||p.default.getChannelId(a),s=l({},t,r(a),i(o));L.default.track(e,s,n)}}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(1),f=n(17),c=a(f),d=n(19),p=a(d),h=n(35),g=a(h),m=n(11),v=a(m),E=n(821),y=a(E),_=n(98),b=a(_),S=n(12),I=a(S),T=n(34),N=a(T),A=n(376),M=a(A),C=n(65),O=a(C),D=n(29),L=a(D);t.default={trackWithMetadata:s},e.exports=t.default},function(e,t,n){"use strict";function a(e){return 1==e.length?"0"+e:e}function o(e){if(e)return 4===e.length&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]),parseInt(e.slice(1),16)}function r(e){var t=e>>16&255,n=e>>8&255,o=255&e;return"#"+a(t.toString(16))+a(n.toString(16))+a(o.toString(16))}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.match(c);if(n){if(n=n.slice(1),3!==n.length)return null;return"rgba("+n.map(function(e){return 1===e.length&&(e+=e),parseInt(e,16)}).join(", ")+", "+t+")"}return null}function s(e){var t=e.match(/\d{1,3}/g);if(t&&t.length>=3){var n=t.slice(1),o=n[0],r=n[1],i=n[2],s=n[3];return null==s||"0"==s?"transparent":"#"+a(o.toString(16))+a(r.toString(16))+a(i.toString(16))}return null}function l(e,t){return null==t&&(t=(e>>24&255)/255),"rgba("+(e>>16&255)+", "+(e>>8&255)+", "+(255&e)+", "+t+")"}function u(e){return 1-(.299*(e>>16&255)+.587*(e>>8&255)+.114*(255&e))/255}function f(e){return(4===e.length||7==e.length)&&"#"==e[0]&&null!=e.match(c)}t.__esModule=!0,t.hex2int=o,t.int2hex=r,t.hex2rgb=i,t.rgb2hex=s,t.int2rgba=l,t.getDarkness=u,t.isValidHex=f;var c=/^#?([a-f,A-F,0-9]{1,2})([a-f,A-F,0-9]{1,2})([a-f,A-F,0-9]{1,2})$/},,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(23),l=a(s),u=n(5),f=a(u),c=n(3),d=a(c),p=n(87),h=a(p),g=n(1);n(2145);var m=i.default.createClass({displayName:"Alert",mixins:[h.default],statics:{key:function(){return"confirm-modal"}},getSubscriptions:function(){var e;return e={},e[g.ComponentActions.MODAL_SUBMIT]=this.handleSubmit,e},getDefaultProps:function(){return{confirmText:d.default.Messages.OKAY}},handleCancel:function(){this.props.onClose&&this.props.onClose(),this.props.onCancel&&this.props.onCancel()},handleSubmit:function(e){null!=e&&e.preventDefault(),this.props.onClose&&this.props.onClose(),this.props.onConfirm&&this.props.onConfirm()},handleMinorConfirm:function(){this.props.onClose&&this.props.onClose(),this.props.onConfirmSecondary&&this.props.onConfirmSecondary()},componentDidMount:function(){l.default.findDOMNode(this).focus()},render:function(){var e=void 0;this.props.cancelText&&(e=o("a",{className:(0,f.default)({btn:!0,"btn-default":!0,cancel:!0}),onClick:this.handleCancel},void 0,this.props.cancelText));var t=void 0;this.props.confirmText&&(t=o("a",{className:(0,f.default)({btn:!0,"btn-primary":!0}),onClick:this.handleSubmit},void 0,this.props.confirmText));var n=void 0;this.props.minorText&&(n=o("a",{className:"btn-close-forever",onClick:this.handleMinorConfirm},void 0,this.props.minorText));var a=null;return this.props.iconUrl&&(a={backgroundImage:"url('"+this.props.iconUrl+"')"}),o("form",{className:(0,f.default)("modal-content","form","alert",this.props.className,{"has-icon":null!=a}),onSubmit:this.handleSubmit,style:a,tabIndex:"0"},void 0,o("div",{className:"form-inner"},void 0,o("h4",{},void 0,this.props.title),o("p",{},void 0,this.props.body),o("div",{className:"alert-actions"},void 0,e,t),n))}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(7),r=a(o),i=n(18),s=a(i),l=[{type:"twitch",name:"Twitch",color:"#593695",icon:{color:n(3082),white:n(3084),grey:n(3083)},serverSync:!0,enabled:!0,getPlatformUserUrl:function(e){var t=e.name;return"https://www.twitch.tv/"+encodeURIComponent(t)}},{type:"youtube",name:"YouTube",color:"#CB2120",icon:{color:n(3088),white:n(3090),grey:n(3089)},serverSync:!0,enabled:!0,getPlatformUserUrl:function(e){var t=e.id;return"https://www.youtube.com/channel/"+encodeURIComponent(t)}},{type:"battlenet",name:"Battle.net",color:"#009AE5",icon:{color:n(3060),white:n(3062),grey:n(3061)},serverSync:!1,disabled:1,enabled:s.default.isWindows()},{type:"skype",name:"Skype",color:"#009DD7",icon:{color:n(3072),white:n(3074),grey:n(3073)},serverSync:!1,enabled:s.default.isWindows()||s.default.isOSX(),getPlatformUserUrl:function(e){var t=e.id;return"skype:"+encodeURIComponent(t)+"?userinfo"}},{type:"leagueoflegends",name:"League of Legends",color:"#021F25",icon:{color:n(3066),white:n(3068),grey:n(3067)},serverSync:!1,enabled:s.default.isWindows()},{type:"steam",name:"Steam",color:"#182332",icon:{color:n(3079),white:n(3081),grey:n(3080)},serverSync:!0,enabled:!0,getPlatformUserUrl:function(e){var t=e.id;return"https://steamcommunity.com/profiles/"+encodeURIComponent(t)}},{type:"reddit",name:"Reddit",color:"#5F99CF",icon:{color:n(3069),white:n(3071),grey:n(3070)},serverSync:!0,enabled:!0,getPlatformUserUrl:function(e){var t=e.name;return"https://www.reddit.com/u/"+encodeURIComponent(t)}},{type:"facebook",name:"Facebook",color:"#355089",icon:{color:n(3063),white:n(3065),grey:n(3064)},serverSync:!0,enabled:!1},{type:"twitter",name:"Twitter",color:"#1da1f2",icon:{color:n(3085),white:n(3087),grey:n(3086)},serverSync:!0,enabled:!0,getPlatformUserUrl:function(e){var t=e.name;return"https://twitter.com/"+encodeURIComponent(t)}}],u=r.default.keyBy(l,"type");t.default={get:function(e){var t=u[e];if(null==t)throw new Error("unknown platform: "+t);return t},map:function(e){return l.map(e)},filter:function(e){return l.filter(e)}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){return t?l(e):"paragraph"!==e[0].type?e:(e[0].content instanceof Array&&(e[0].content=l(e[0].content)),e)}function l(e){if(e.some(function(e){return"emoji"!==e.type&&"customEmoji"!==e.type&&("string"!=typeof e.content||""!==e.content.trim())}))return e;var t=0;return e.forEach(function(e){if("emoji"!==e.type&&"customEmoji"!==e.type||(t+=1),t>P)return!1}),t>P?e:(e.forEach(function(e){e.jumboable=!0}),e)}function u(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e.mentionEveryone&&t)return!0;var a=E.default.getId();if(e.mentions.some(function(e){return"string"==typeof e?e===a:e&&e.id===a}))return!0;if(!e.mention_roles||!e.mention_roles.length)return!1;var o=A.default.getChannel(e.channel_id);if(null==o)return!1;var r=o.getGuildId();if(null==r)return!1;var i=C.default.getGuild(r);if(null==i)return!1;var s=D.default.getMember(i.id,E.default.getId());return null!=s&&(n&&e.mention_roles.some(function(e){return s.roles.indexOf(e)!==-1}))}function f(e){return null!=e?{participants:e.participants,endedTimestamp:null!=e.ended_timestamp?(0,m.default)(new Date(e.ended_timestamp)):null}:null}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.messageMentionsCurrentUser=u;var d=n(119),p=a(d),h=n(1),g=n(8),m=a(g),v=n(17),E=a(v),y=n(43),_=a(y),b=n(229),S=a(b),I=n(10),T=a(I),N=n(11),A=a(N),M=n(12),C=a(M),O=n(34),D=a(O),L=n(75),R=a(L),x=n(145),w=n(319),P=27,k=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(e){this.id=e.id,this.type=e.type||h.MessageTypes.DEFAULT,this.channel_id=e.channel_id,this.author=e.author,this.colorString=e.colorString||null,this.nick=e.nick||null,this.content=e.content||"",this.contentParsed=e.contentParsed||null,this.attachments=e.attachments||[],this.embeds=e.embeds||[],this.mentions=e.mentions||[],this.mention_roles=e.mention_roles||[],this.pinned=e.pinned||!1,this.mentionEveryone=e.mentionEveryone||!1,this.mentioned=e.mentioned||!1,this.tts=e.tts||!1,this.invites=e.invites||[],this.timestamp=e.timestamp||(0,m.default)(),this.editedTimestamp=e.editedTimestamp||null,this.state=e.state||h.MessageStates.SENT,this.nonce=e.nonce||null,this.blocked=e.blocked||!1,this.call=e.call||null,this.bot=e.bot||!1,this.webhook_id=e.webhook_id||null,this.reactions=e.reactions||[]},t.prototype.getAuthorName=function(){return this.nick||this.author&&this.author.username},t.prototype.isEdited=function(){return null!=this.editedTimestamp},t.prototype.getChannelId=function(){return this.channel_id},t.prototype.updateMessage=function(e){if(null!=e.edited_timestamp){var n=t.create(e);return n.reactions=this.reactions,n}var a=this;return null!=e.call&&(a=a.set("call",f(e.call))),e.embeds&&(a=a.set("embeds",e.embeds)),e.pinned!==a.pinned&&(a=a.set("pinned",e.pinned)),a.webhook_id&&e.author&&(a=a.set("author",new R.default(e.author))),a},t.prototype.getReaction=function(e){return this.reactions.find(function(t){return(0,w.emojiEquals)(t.emoji,e)})},t.prototype.addReaction=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=-1,a=this.reactions.map(function(a,o){return(0,w.emojiEquals)(a.emoji,e)&&(a=c({},a,{count:t&&a.me?a.count:a.count+1,me:!!t||a.me}),n=o),a});return n===-1&&a.push({emoji:e,me:t,count:1}),this.set("reactions",a)},t.prototype.removeReaction=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=-1,a=this.reactions.map(function(a,o){return(0,w.emojiEquals)(a.emoji,e)&&(a=c({},a,{count:t&&!a.me?a.count:a.count-1,me:!t&&a.me}),n=o),a});return n!==-1&&a[n].count<=0&&a.splice(n,1),this.set("reactions",a)},t.lookupMember=function(e){var t=A.default.getChannel(e.channel_id);if(null==t)return null;var n=t.getGuildId();if(null==n)return t.isManaged()&&t.nicks&&t.nicks[e.author.id]?{nick:t.nicks[e.author.id],colorString:void 0}:null;var a=D.default.getMember(n,e.author.id);return null==a?null:{colorString:a.colorString,nick:a.nick}},t.create=function(e,n){e.blocked=_.default.isBlocked(e.author.id),e.webhook_id?e.author=new R.default(e.author):e.author=T.default.getUser(e.author.id),e.timestamp=(0,m.default)(new Date(e.timestamp));var a=e.webhook_id?S.default.parseAllowLinks:S.default.parse;e.contentParsed=a(e.content,!0,{channelId:e.channel_id},function(e,t){return e=s(e,t),null!=n&&(e=n(e)),e}),e.editedTimestamp=null,null!=e.edited_timestamp&&(e.editedTimestamp=(0,m.default)(new Date(e.edited_timestamp))),e.mentionEveryone=e.mention_everyone,e.mentions=e.mentions.map(function(e){return e.id}),e.mentioned=u(e),e.invites=(0,x.findInvites)(e.content);var o=t.lookupMember(e);return null!=o&&(e.colorString=o.colorString,e.nick=o.nick),e.call=f(e.call),new t(e)},t}(p.default);t.default=k},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){return!Y||!Y.isPrivate()}function l(e,t){var n=!1;if(Q.forEach(function(a,o){var r=t(a);if(r!==a[e]){var i;Q[o]=b({},a,(i={},i[e]=r,i)),n=!0}}),!n)return!1;Q=[].concat(Q),c()}function u(e){var t=Q;if(Q=s()||null==Y?W:f(Y.id),(0,M.default)(Q,t))return null!=e&&c(e),!1;c();var n=Y&&X[Y.id],a=null==Q.find(function(e){return e.user.id===n});(null==n||a)&&y({participantId:null})}function f(e){var t=H.default.getCall(e),n=U.default.getChannel(e);return null==t||t.unavailable||null==n?W:(0,N.default)(n.recipients).map(L.default.getUser).filter(function(e){return null!=e}).unshift(L.default.getCurrentUser()).map(function(n){var a=x.default.getVoiceState(null,n.id),o=z.CallMemberStates.NONE;return null!=a&&a.channelId===e?o=z.CallMemberStates.IN_CALL:null!=t&&t.ringing.includes(n.id)&&(o=z.CallMemberStates.RINGING),{user:n,voiceState:a,calling:o,streamId:B.default.getStreamId(n.id),speaking:j.default.isSpeaking(n.id)}}).filter(function(e){return e.calling!==z.CallMemberStates.NONE}).value()}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!=e){var t=f(e);Z[e]=d(t)}else null!=Y&&(Z[Y.id]=d(Q))}function d(e){return e.some(function(e){return e.calling===z.CallMemberStates.IN_CALL&&null!=e.voiceState&&e.voiceState.selfVideo})?z.CallModes.VIDEO:z.CallModes.VOICE}function p(){return!s()&&l("speaking",function(e){return j.default.isSpeaking(e.user.id)})}function h(){return!s()&&l("streamId",function(e){return B.default.getStreamId(e.user.id)})}function g(){return!s()&&l("user",function(e){return L.default.getUser(e.user.id)})}function m(){if(s())return!1;var e=x.default.getVoiceStates(z.ME);if(K===e)return!1;K=e,u()}function v(){var e=P.default.getChannelId(),t=null!=e?U.default.getChannel(e):null;return Y!==t&&(Y=t,u())}function E(e){return u(e.channelId)}function y(e){var t=e.participantId;if(null==Y)return null;if(Q.length<=2&&null==t){var n=L.default.getCurrentUser().id,a=Q.find(function(e){return e.user.id!==n});X[Y.id]=null!=a&&a.calling===z.CallMemberStates.IN_CALL?a.user.id:n}else X[Y.id]=t}t.__esModule=!0,t.PrivateChannelCallStore=void 0;var _=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},S=n(2),I=a(S),T=n(7),N=a(T),A=n(118),M=a(A),C=n(4),O=a(C),D=n(10),L=a(D),R=n(76),x=a(R),w=n(19),P=a(w),k=n(11),U=a(k),G=n(190),j=a(G),F=n(531),B=a(F),V=n(164),H=a(V),z=n(1),W=Object.freeze([]),Y=void 0,K=void 0,Q=W,Z={},X={},J=t.PrivateChannelCallStore=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(H.default),this.syncWith([P.default,U.default],v),this.syncWith([L.default],g),this.syncWith([j.default],p),this.syncWith([B.default],h),this.syncWith([x.default],m)},t.prototype.getVisibleCallParticipants=function(){return Q},t.prototype.getSelectedParticipantId=function(e){if(e=e||(null!=Y?Y.id:null),null==e)return null;var t=H.default.getCall(e);return null!=t&&t.layout!==z.CallLayouts.MINIMUM?X[e]:null},t.prototype.getCallMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null==e?null!=Y?Z[Y.id]:z.CallModes.VOICE:Z[e]},t.prototype.isInCall=function(e,t){var n=f(t).find(function(t){return t.user.id===e});return null!=n&&n.calling===z.CallMemberStates.IN_CALL},_(t,[{key:"selectedParticipantIds",get:function(){return X}}]),t}(I.default.Store);t.default=new J(O.default,{CONNECTION_OPEN:v,CHANNEL_SELECT:v,CALL_CREATE:E,CALL_UPDATE:E,CALL_DELETE:E,PRIVATE_CHANNEL_CALL_SELECT_PARTICIPANT:y})},,,,,,,function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(){if(z&&!H)return void b.default.installModule(k);var e=H&&z;e!==W&&(Y=b.default.requireModule("discord_overlay",!0),e?(W=!0,Y.setAttachCallback(function(e,t){M.default.track("Overlay Attached",{"Overlay Session":e,"Attach Status":t||0})}),V.forEach(s)):(V.forEach(l),W=!1,null!=Q&&Q.reset()))}function s(e){if(W&&null!=Y&&null!=K){var t=Y.generateSession(e);M.default.track("Overlay Attaching",d({"Overlay Session":t,"Game Name":O.default.getGameNameForPid(e)},Y.getAnalyticsData())),Y.setURL(K),Y.attachToProcess(e,t)}}function l(e){W&&null!=Y&&null!=K&&Y.detachFromProcess(e)}function u(){clearTimeout(J),J=setTimeout(function(){I.send({type:F,stores:Z}),Z={}},0)}function f(){I.send({type:B,payload:{type:v.ActionTypes.UPDATE_TOKEN,token:L.default.getToken()}})}function c(e){var t=e.getDispatchToken();return{componentDidMount:function(){X.on(t,this.handleBridgedStoreUpdate),I.send({type:G,dispatchToken:t})},componentWillUnmount:function(){X.removeListener(t,this.handleBridgedStoreUpdate),I.send({type:j,dispatchToken:t})},handleBridgedStoreUpdate:function(){this.setState(this.getBridgedStoreState())},getInitialState:function(){return this.getBridgedStoreState()},getBridgedStoreState:function(){var e=Z[t];return d({__ready:null!=e},e)},isReady:function(){return this.state.__ready}}}t.__esModule=!0;var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};n(0);var p=n(6),h=o(p),g=n(4),m=o(g),v=n(1),E=n(74),y=o(E),_=n(18),b=o(_),S=n(1574),I=a(S),T=n(161),N=o(T),A=n(29),M=o(A),C=n(270),O=o(C),D=n(17),L=o(D),R=n(179),x=o(R),w=N.default.create("OverlayBridge"),P=!b.default.isVersionEqualOrNewer({stable:{win32:"0.0.292",darwin:"0.0.241",linux:"0.0.0"},ptb:{win32:"0.0.20",darwin:"0.0.18",linux:"0.0.0"},canary:{win32:"0.0.121",darwin:"0.0.106",linux:"0.0.9"}}),k=P?"overlay":"discord_overlay",U="CONNECT",G="ADD_CHANGE_LISTENER",j="REMOVE_CHANGE_LISTENER",F="STORES",B="DISPATCH",V=[],H=!1,z=!1,W=!1,Y=null,K=void 0,Q=null,Z={},X=new y.default,J=void 0;b.default.embedded&&L.default.addChangeListener(f);var q=function(){function e(){r(this,e),this.stores=[n(813),n(814),n(816),n(818),n(820),n(815),n(819),n(817),n(534)].reduce(function(e,t){return e[t.getDispatchToken()]=t,e},{}),this.refs={},this.changeListeners={}}return e.prototype.reset=function(){for(var e=Object.keys(this.changeListeners),t=Array.isArray(e),n=0,e=t?e:e[Symbol.iterator]();;){var a;if(t){if(n>=e.length)break;a=e[n++]}else{if(n=e.next(),n.done)break;a=n.value}var o=a;this.stores[o].removeChangeListener(this.changeListeners[o])}this.refs={},this.changeListeners={}},e.prototype.connect=function(){for(var e=Object.values(this.changeListeners),t=Array.isArray(e),n=0,e=t?e:e[Symbol.iterator]();;){var a;if(t){if(n>=e.length)break;a=e[n++]}else{if(n=e.next(),n.done)break;a=n.value}a()}},e.prototype.listenTo=function(e){this.refs[e]=(this.refs[e]||0)+1;var t=this.changeListeners[e];if(null==t){var n=this.stores[e];null!=n&&(t=function(){Z[e]=n.getState(),u()},this.changeListeners[e]=t,n.addChangeListener(t))}},e.prototype.stopListeningTo=function(e){if(this.refs[e]--,0===this.refs[e]){var t=this.stores[e];null!=t&&(t.removeChangeListener(this.changeListeners[e]),delete this.changeListeners[e])}},e}();I.setReceiveHandler(function(e){switch(e.type){case U:b.default.embedded&&f(),Q=Q||new q,Q.connect(),w.info("Overlay instance connected.");break;case G:Q.listenTo(e.dispatchToken),w.info("Overlay added a listener to "+e.dispatchToken+".");break;case j:Q.stopListeningTo(e.dispatchToken),w.info("Overlay removed a listener from "+e.dispatchToken+".");break;case B:m.default.dispatch(e.payload);break;case F:var t=e.stores;Z=d({},Z,t);for(var n=Object.keys(t),a=Array.isArray(n),o=0,n=a?n:n[Symbol.iterator]();;){var r;if(a){if(o>=n.length)break;r=n[o++]}else{if(o=n.next(),o.done)break;r=o.value}var i=r;X.emit(i)}}}),__OVERLAY__&&(I.connect(),I.send({type:U})),b.default.embedded&&(b.default.on("MODULE_INSTALLED",function(e,t,n){t===k&&(H=n,x.default.setInstallProgress(n?1:0),i())}),b.default.on("MODULE_INSTALL_PROGRESS",function(e,t,n){t===k&&x.default.setInstallProgress(n)})),t.default={sync:function(e,t){return t._render=t.render,delete t.render,d({mixins:[h.default,c(e)]},t,{render:function(){return this.isReady()?this._render():null}})},interceptDispatcher:function(){var e=new Set([v.ActionTypes.GUILD_SELECT,v.ActionTypes.CHANNEL_COLLAPSE,v.ActionTypes.VOICE_CHANNEL_SELECT,v.ActionTypes.AUDIO_TOGGLE_SELF_MUTE,v.ActionTypes.AUDIO_TOGGLE_SELF_DEAF,v.ActionTypes.AUDIO_TOGGLE_LOCAL_MUTE,v.ActionTypes.AUDIO_SET_LOCAL_VOLUME,v.ActionTypes.OVERLAY_SELECT_GUILD,v.ActionTypes.OVERLAY_SELECT_CALL,v.ActionTypes.OVERLAY_OPEN_USER_POPOUT,v.ActionTypes.OVERLAY_SET_DISPLAY_NAME_MODE,v.ActionTypes.OVERLAY_SET_DISPLAY_USER_MODE,v.ActionTypes.OVERLAY_SET_AVATAR_SIZE_MODE,v.ActionTypes.OVERLAY_SET_POSITION,v.ActionTypes.OVERLAY_SET_LOCKED,v.ActionTypes.CALL_DELETE]);m.default.setInterceptor(function(t){var n=e.has(t.type);return n&&I.send({type:B,payload:t}),n})},setURL:function(e){if(null!=K)throw new Error("overlayURL already set");K=e,V.forEach(s)},enable:function(){z=!0,i()},disable:function(){z=!1,i()},get isAvailable(){return H},attach:function(e){e.filter(function(e){return V.indexOf(e)===-1}).forEach(s),V.filter(function(t){return e.indexOf(t)===-1}).forEach(l),V=e,0===V.length&&null!=Q&&Q.reset()},setLocked:function(e){null!=Y&&Y.setInputLocked(e)}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments[2],a=O;return t&&(a+="/ptb"),a+"?platform="+e+(n?"&format="+n:"")}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(5),c=a(f),d=n(58),p=a(d),h=n(2),g=a(h),m=n(1),v=n(10),E=a(v),y=n(3),_=a(y),b=n(57),S=a(b),I=n(359),T=a(I),N=n(29),A=a(N);n(2188);var M=n(25),C=a(M),O=location.protocol+"//canary.discordapp.com/api/download",D=s.default.createClass({displayName:"DownloadApps",mixins:[u.default,g.default.StoreListenerMixin(E.default)],statics:{modalConfig:{key:"download-apps",backdropStyle:T.default.LIGHT}},getInitialState:function(){return{ptb:!1,desktop:{key:"desktop",platforms:[{os:_.default.Messages.PLATFORM_OSX,icon:"apple",url:function(e){return o("osx",e)}},{os:_.default.Messages.PLATFORM_WINDOWS,icon:"windows",url:function(e){return o("win",e)}},{os:_.default.Messages.PLATFORM_LINUX,icon:"linux",url:[{url:function(e){return o("linux",e,"deb")},text:_.default.Messages.DEB},{url:function(e){return o("linux",e,"tar.gz")},text:_.default.Messages.TAR_GZ}]}]},mobile:{key:"mobile",platforms:[{os:_.default.Messages.PLATFORM_IOS,icon:"ios",url:function(){return m.DownloadLinks.IOS}},{os:_.default.Messages.PLATFORM_ANDROID,icon:"android",url:function(){return m.DownloadLinks.ANDROID}}]}}},getStateFromStores:function(){var e=E.default.getCurrentUser();return{claimed:null==e||e.isClaimed()}},getDefaultProps:function(){return{source:"Unspecified"}},componentWillMount:function(){this.detectActiveOS()},detectActiveOS:function(){switch(p.default.os.family){case"OS X":return this.handleMouseEnter(this.state.desktop.key+0);case"Windows":return this.handleMouseEnter(this.state.desktop.key+1);case"Ubuntu":case"Debian":case"Fedora":case"Red Hat":case"SuSE":case"Linux":return this.handleMouseEnter(this.state.desktop.key+2);case"iOS":return this.handleMouseEnter(this.state.mobile.key+0);case"Android":return this.handleMouseEnter(this.state.mobile.key+1);default:return null}},renderPlatforms:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.map(function(e,o){var i=e.os,s=e.icon,l=e.url,u=t+o,f=(0,c.default)({platform:!0,active:n.state.active===u});return r(R,{os:i,icon:s,url:l,claimed:n.state.claimed,className:f,onClick:n.handleClick.bind(n,i,a),onMouseEnter:n.handleMouseEnter.bind(n,u),ptb:a},u)},this)},render:function(){var e=void 0;return e=this.state.ptb?_.default.Messages.DOWNLOAD_DESKTOP_PTB_FOOTER.format({onClick:this.showStable}):_.default.Messages.DOWNLOAD_DESKTOP_STABLE_FOOTER.format({onClick:this.showPTB}),r("div",{className:"download-apps"},void 0,r("div",{className:"inner"},void 0,r("div",{className:"platforms-wrap"},void 0,r("p",{className:"header"},void 0,_.default.Messages.DOWNLOAD_DESKTOP_TITLE),r("ul",{className:"platforms"},void 0,this.renderPlatforms(this.state.desktop.platforms,this.state.desktop.key,this.state.ptb)),r("p",{className:"footer"},void 0,e)),r("div",{className:"platforms-wrap"},void 0,r("p",{className:"header"},void 0,_.default.Messages.DOWNLOAD_MOBILE_TITLE),r("ul",{className:"platforms"},void 0,this.renderPlatforms(this.state.mobile.platforms,this.state.mobile.key)))))},showStable:function(){this.setState({ptb:!1})},showPTB:function(){this.setState({ptb:!0})},handleClick:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(C.default.get("token")||C.default.get("fingerprint"))&&A.default.track("Download App",{Platform:e,PTB:t,Released:!0,"Has E-Mail":this.state.claimed,"Referring Location":this.props.source}),this.state.claimed||S.default.open(m.UserSettingsSections.ACCOUNT)},handleMouseEnter:function(e){this.setState({active:e})}}),L=function(e){var t=e.url,n=e.ptb,a=e.text;return r("a",{href:t,target:"_blank",className:"download-button",onClick:e.onClick},void 0,a,n?" PTB":"")},R=s.default.createClass({displayName:"DownloadApp",mixins:[u.default],render:function(){var e=this.props,t=e.icon,n=e.ptb,a=e.url,o=e.onClick,i=e.onMouseEnter,s=e.className,l=e.claimed,u=e.os,f=(0,c.default)("icon",t),d=void 0,p=void 0;if(Array.isArray(a))p="list",d=a.map(function(e,t){var a=l?e.url(n):null;return r(L,{ptb:n,url:a,onClick:o,text:e.text},a+"-"+t)});else{d=r(L,{ptb:n,url:l?a(n):null,onClick:o,text:_.default.Messages.DOWNLOAD})}return r("li",{className:s,onMouseEnter:i},void 0,r("div",{className:"content-wrapper"},void 0,r("div",{className:"icon-wrap"},void 0,r("div",{className:f}),r("div",{className:"active "+f})),r("p",{},void 0,u),r("div",{className:(0,c.default)("download-buttons",p)},void 0,d)))}});t.default=D,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(46),l=a(s),u=n(0),f=a(u),c=n(5),d=a(c),p=function(e){var t=e.isSubmit,n=void 0===t||t,a=e.disabled,s=void 0!==a&&a,u=e.className,c=e.children,p=e.success,h=void 0!==p&&p,g=e.failure,m=void 0!==g&&g,v=e.spinnerType,E=void 0===v?"chasing-dots":v,y=e.component,_=void 0===y?"button":y,b=o(e,["isSubmit","disabled","className","children","success","failure","spinnerType","component"]),S=_,I=s?i(l.default,{type:E}):null;return f.default.createElement(S,r({type:n?"submit":"button",disabled:s||h,className:(0,d.default)(u,{"btn-saving":s,"btn-success":h,"btn-failure":m,disabled:s})},b),I,c)};t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.popout;t.dependsOn||(y={}),y[t.key]=t}function l(e){var t=e.key;y[t]&&(y[t]=h({},y[t],{needsRerender:!0}))}function u(e){var t=e.key;y[t]&&(y[t]=h({},y[t],{needsRerender:!1}))}function f(e){return y[e]}function c(e){for(var t=Object.keys(y),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}if(y[o].dependsOn===e)return!0}return!1}function d(e){var t=e.key;return null==t?void(y={}):!!f(t)&&(!c(t)&&void delete y[t])}function p(){for(var e in y)d({key:e})}t.__esModule=!0;var h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},g=n(2),m=a(g),v=n(4),E=a(v),y=(n(1),{}),_=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isOpen=function(e){return null!=y[e]},t.prototype.getPopouts=function(){return Object.keys(y).map(function(e){return y[e]})},t}(m.default.Store);t.default=new _(E.default,{POPOUT_OPEN:s,POPOUT_CLOSE:d,POPOUT_CLOSE_ALL:p,POPOUT_NEEDS_RERENDER:l,POPOUT_DID_RERENDER:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.Types=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(5),d=a(c),p=n(195),h=n(2090),g=a(h),m=t.Types={PRIMARY:"cardPrimary",DANGER:"cardDanger",WARNING:"cardWarning",SUCCESS:"cardSuccess",BRAND:"cardBrand",CUSTOM:"cardCustom"},v=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.editable,a=e.type,r=e.className,i=e.outline,s=o(e,["children","editable","type","className","outline"]),u=void 0;return i?u="outline":a===m.PRIMARY&&n&&(u="editable"),f.default.createElement("div",l({className:(0,d.default)(r,(0,p.getClass)(g.default,a,u))},s),t)},t}(f.default.PureComponent);v.Types=m,v.defaultProps={type:m.PRIMARY,outline:!1,editable:!1},t.default=v},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.EmptyStateText=t.EmptyStateImage=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(15),p=a(d),h=n(1),g=n(2094),m=a(g),v=(t.EmptyStateImage=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.theme,n=e.lightSrc,a=e.darkSrc,o=e.width,r=e.height,i=e.offsetX,l=e.offsetY;return s(p.default.Child,{grow:0,className:(0,c.default)(m.default.image,"margin-bottom-40"),style:{width:o,height:r,marginLeft:i,marginTop:l,backgroundImage:"url("+(t===h.ThemeTypes.DARK?a:n)+")"}})},t}(u.default.PureComponent),t.EmptyStateText=function(e){var t=e.children,n=e.note,a=e.style;return s(p.default.Child,{grow:0,direction:p.default.Direction.VERTICAL,style:a},void 0,s("h4",{className:m.default.title},void 0,t),n&&s("div",{className:(0,c.default)(m.default.text,"margin-top-8")},void 0,n))},function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.theme,a=e.className,o=u.default.Children.map(t,function(e){return u.default.cloneElement(e,{theme:n})});return s(p.default,{direction:p.default.Direction.VERTICAL,align:p.default.Align.CENTER,justify:p.default.Justify.CENTER,className:(0,c.default)(m.default.wrapper,a)},void 0,o)},t}(u.default.PureComponent));t.default=v},function(e,t,n){"use strict";(function(e){function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.Themes=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(7),c=a(f),d=n(58),p=a(d),h=n(5),g=a(h),m=n(24),v=a(m),E=n(777),y=a(E),_=n(1);n(2295);var b=50,S=.8,I=t.Themes={DARK:"ui-scroller-dark",LIGHT:"ui-scroller-light",GHOST:"ui-scroller-ghost",GHOST_HAIRLINE:"ui-scroller-ghost-hairline"},T=s("div",{className:"track"}),N=function(t){function n(e){o(this,n);var a=r(this,t.call(this,e));return a._springer=null,a._queueUpdate=!1,a._scrollerRef=null,a._stickyHeaderRef=null,a.scrollerState={offsetHeight:0,scrollTop:0,scrollHeight:0},a.state={thumbHeight:new v.default.Value(0),thumbTop:new v.default.Value(0),needsScrollbar:"Blink"!==p.default.layout&&"WebKit"!==p.default.layout},c.default.bindAll(a,["handleOnScroll","handleResize","updateScrollBar","setScrollerRef","setStickyHeaderRef","setLightScrollerState","setFullScrollerState"]),a}return i(n,t),n.prototype.componentWillMount=function(){var e=this;this._springer=new y.default(function(t,n){var a=e._scrollerRef,o=e.scrollerState,r=o.offsetHeight,i=o.scrollHeight;if(!a)return void n.cancel();t<0&&(t=0),a.scrollTop=t,(0===t&&n._vel<0||t+r>i&&n._vel>0)&&n.cancel()})},n.prototype.componentDidMount=function(){this.setFullScrollerState(this.props.onUpdate),window.addEventListener("resize",this.handleResize)},n.prototype.componentWillUnmount=function(){this._springer&&this._springer.cancel(),window.removeEventListener("resize",this.handleResize)},n.prototype.componentWillReceiveProps=function(){this._queueUpdate=!0},n.prototype.componentDidUpdate=function(e){if(e.windowSize!==this.props.windowSize)return this.handleResize();this._queueUpdate&&(this._queueUpdate=!1,this.setFullScrollerState(this.props.onUpdate))},n.prototype.setScrollerRef=function(e){this._scrollerRef=e},n.prototype.setStickyHeaderRef=function(e){this._stickyHeaderRef=e},n.prototype.render=function(){var e=this.props,t=e.renderStickyHeader,n=e.className,a=e.fade,o=e.track,r=e.theme,i=e.children,l=e.style,f=this.state.needsScrollbar,c=null;if(f){var d=this.state,p=d.thumbHeight,h=d.thumbTop,m=this.props.backgroundColor;c=s("div",{className:"scrollbar",style:{backgroundColor:m}},void 0,T,s(v.default.div,{className:"thumb",style:{height:p,top:h}}),s("div",{className:"pad",style:{backgroundColor:m}}))}var E=null;if(t){var y=t();y&&(E=u.default.cloneElement(y,{ref:this.setStickyHeaderRef}))}return s("div",{className:(0,g.default)("ui-scroller-wrap",r,{polyfill:null!=c,"ui-scroller-themed":r,"ui-scroller-fade":a,"ui-scroller-track":o})},void 0,u.default.createElement("div",{ref:this.setScrollerRef,className:(0,g.default)("scroller",n),onScroll:this.handleOnScroll,style:l},E,i),c)},n.prototype.handleOnScroll=function(){this.setLightScrollerState(this.props.onScroll)},n.prototype.handleResize=function(){this.setFullScrollerState(this.props.onResize)},n.prototype.getScrollbarOffset=function(){var e=this.scrollerState,t=e.scrollHeight,n=e.offsetHeight,a=e.scrollTop,o=t-n,r=0===o?0:a/o;return(n-this.getScrollbarHeight())*r},n.prototype.getScrollbarHeight=function(){var e=this.scrollerState,t=e.scrollHeight,n=e.offsetHeight;return 0===t||t<=n?0:n/t*n},n.prototype.updateScrollBar=function(){var e=this.state,t=e.thumbHeight,n=e.thumbTop,a=this.getScrollbarHeight()>>0,o=this.getScrollbarOffset()>>0;t.setValue(a),n.setValue(o)},n.prototype.setLightScrollerState=function(e){this._scrollerRef&&(this.scrollerState.scrollTop=this._scrollerRef.scrollTop,e(this),this.state.needsScrollbar&&this.updateScrollBar())},n.prototype.setFullScrollerState=function(e){if(this._scrollerRef){var t=this._scrollerRef,n=this.scrollerState;n.offsetHeight=t.offsetHeight,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,e(this),this.state.needsScrollbar&&this.updateScrollBar()}},n.prototype.getScrollerNode=function(){return this._scrollerRef},n.prototype.scrollTo=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(this._scrollerRef&&this._springer){var o=this._scrollerRef;n&&o.scrollTop!==t?this._springer.to(t>>0,o.scrollTop,a):(this._springer.cancel(),o.scrollTop=t,a&&e.nextTick(a))}},n.prototype.scrollIntoViewRect=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=this.scrollerState,o=a.scrollTop,r=a.offsetHeight,i=0;this._stickyHeaderRef&&(i=this._stickyHeaderRef.offsetTop+this._stickyHeaderRef.offsetHeight,o+=i,r-=i),e>=o&&t<=o+r||(e<o?this.scrollTo(e-i,n):this.scrollTo(t-r,n))},n.prototype.scrollIntoView=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,bottom:0},a=e.offsetTop,o=a+e.offsetHeight;this.scrollIntoViewRect(a-n.top,o+n.bottom,t)},n.prototype.getScrollData=function(){var e=this.scrollerState,t=e.offsetHeight,n=e.scrollTop,a=e.scrollHeight,o=t*S-b>>0;return o<b&&(o=b),{scrollHeight:a,scrollTop:n,offsetHeight:t,pageHeight:o}},n.prototype.scrollPageUp=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getScrollData(),a=void 0;a=t?Math.max(n.scrollTop-n.pageHeight,0):Math.max(n.scrollTop-n.pageHeight,0-n.pageHeight),this.scrollTo(a,e)},n.prototype.scrollPageDown=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getScrollData(),a=void 0;a=t?Math.min(n.scrollTop+n.pageHeight,n.scrollHeight-n.offsetHeight):Math.min(n.scrollTop+n.pageHeight,n.scrollHeight),this.scrollTo(a,e)},n.prototype.scrollToBottom=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.getScrollData();this.scrollTo(n.scrollHeight,e,t)},n}(u.default.PureComponent);N.defaultProps={onUpdate:_.NOOP,onScroll:function(e){},onResize:_.NOOP,fade:!1,track:!1},N.Themes=I,t.default=N}).call(t,n(45))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.TextInputSizes=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(5),p=a(d);n(2305),n(2249);var h=t.TextInputSizes={DEFAULT:"default",MINI:"mini"},g=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.onChange=a.onChange.bind(a),a.onFocus=a.onFocus.bind(a),a.onBlur=a.onBlur.bind(a),a}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.error,n=e.className,a=e.disabled,r=e.size,i=e.editable,s=o(e,["error","className","disabled","size","editable"]),f=t?u("div",{className:"ui-error-message margin-top-8"},void 0,t):null;return u("div",{className:(0,p.default)("ui-text-input","flex-vertical",n)},void 0,c.default.createElement("input",l({className:(0,p.default)("input",r,{error:t,disabled:a,editable:i}),disabled:a},s,{onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus})),f)},t.prototype.onChange=function(e){this.props.onChange&&this.props.onChange(e.target.value,this.props.name)},t.prototype.onFocus=function(e){this.props.onFocus&&this.props.onFocus(e,this.props.name)},t.prototype.onBlur=function(e){this.props.onBlur&&this.props.onBlur(e,this.props.name)},t}(c.default.PureComponent);g.Sizes=h,g.defaultProps={name:"",size:h.DEFAULT,disabled:!1,type:"text",placeholder:"",autoFocus:!1,maxLength:999},t.default=g},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return{value:""+e,get label(){return t()}}}function r(e){if(null==e)return[];var t=e.match(h);return null!=t?t.map(function(e){var t=e.split("/");return t[t.length-1]}):[]}function i(e){return r(e)[0]}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="discord.gg",n=void 0;return null!=t?n="/"+e:(t=location.host,n="/invite/"+e),location.protocol+"//"+t+n}t.__esModule=!0,t.findInvites=r,t.findInvite=i,t.getInviteURL=s;var l=n(3),u=a(l),f=n(167),c=a(f),d=[o(0,function(){return u.default.Messages.MAX_AGE_NEVER}),o(1800,function(){return u.default.Messages.DURATION_MINUTES.format({minutes:30})}),o(3600,function(){return u.default.Messages.DURATION_HOURS.format({hours:1})}),o(21600,function(){return u.default.Messages.DURATION_HOURS.format({hours:6})}),o(43200,function(){return u.default.Messages.DURATION_HOURS.format({hours:12})}),o(86400,function(){return u.default.Messages.DURATION_DAYS.format({days:1})})],p=[o(0,function(){return u.default.Messages.MAX_USES.format({maxUses:0})}),o(1,function(){return u.default.Messages.MAX_USES.format({maxUses:1})}),o(5,function(){return u.default.Messages.MAX_USES.format({maxUses:5})}),o(10,function(){return u.default.Messages.MAX_USES.format({maxUses:10})}),o(25,function(){return u.default.Messages.MAX_USES.format({maxUses:25})}),o(50,function(){return u.default.Messages.MAX_USES.format({maxUses:50})}),o(100,function(){return u.default.Messages.MAX_USES.format({maxUses:100})})],h=new RegExp(c.default.escape("discord.gg")+"(?:/#)?(?:/invite)?/([a-z0-9-]+)","ig");t.default={getMaxAgeOptions:d,getMaxUsesOptions:p}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n in J){var a=J[n];if(a.regex){if(a.regex.test(e.content)){r(n,a,e,t);break}}else if("/"===e.content[0]){var o=e.content.split(" "),i=o[0].slice(1);if(n===i&&a.action){e.content=o.slice(1).join(" "),r(n,a,e,t);break}}}}function r(e,t,n,a){n[e]=!0,t.action(n,a),S.default.trackWithMetadata("slash_command_used",{command:e})}function i(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return t[0]!==e?null:n.sortBy(function(e){return-e.text.length}).filter(function(e){var n=e.text;return 1===t.toLowerCase().indexOf(n.toLowerCase())}).map(function(t){var n=t.id;return[e+t.text,n,a,t.hasNick]}).first()}function s(e){return{order:e.order,match:e.match,parse:function(t){return{type:e.type,content:t[0]}}}}function l(e){var t=e.indexOf(" "),n=t===-1?e:e.substr(0,t);return n===$||n===q}function u(e,t,n){var a="";return e.forEach(function(e){null!=n&&"customEmoticon"===e.type&&n(e.emoji),e.content.constructor===String?a+="codeBlock"===e.type||"inlineCode"===e.type?e.content:t(e.content):e.content.constructor===Array?a+=u(e.content,t,n):console.warn("Unknown message item type: ",e)}),a}function f(){return p.default.fromNumber(Date.now()).subtract(14200704e5).shiftLeft(22).toString()}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d=n(345),p=a(d),h=n(178),g=a(h),m=n(7),v=a(m),E=n(229),y=a(E),_=n(319),b=n(122),S=a(b),I=n(163),T=a(I),N=n(10),A=a(N),M=n(13),C=a(M),O=n(104),D=a(O),L=n(11),R=a(L),x=n(12),w=a(x),P=n(34),k=a(P),U=n(189),G=a(U),j=n(88),F=a(j),B=n(19),V=a(B),H=n(1233),z=a(H),W=n(54),Y=a(W),K=n(193),Q=a(K),Z=n(213),X=n(1),J={tts:{action:function(e){e.tts=C.default.enableTTSCommand}},me:{action:function(e){e.content="_"+e.content+"_"}},tableflip:{action:function(e){e.content=(e.content+" (╯°□°)╯︵ ┻━┻").trim()}},unflip:{action:function(e){e.content=(e.content+" ┬─┬\ufeff ( ゜-゜ノ)").trim()}},shrug:{action:function(e){e.content=(e.content+" ¯\\_(ツ)_/¯").trim()}},nick:{action:function(e,t){var n=t.guildId,a=t.channelId;z.default.changeNickname(n,a,X.ME,e.content),e.content=""}},reaction:{regex:/^\+:(.+?):$/,action:function(e,t){var n=t.isEdit,a=t.channelId,o=t.emojiContext;if(!n&&F.default.hasPresent(a)){var r=F.default.getMessages(a).last();if(r&&r.id){var i=o.getByName(e.content.slice(2,-1));null!=i&&(e.content="",(0,Z.addReaction)(a,r.id,(0,_.toReactionEmoji)(i)))}}}},searchReplace:{regex:/^s\/((?:.+?)[^\\]|.)\/(.*)/,REMOVE_ESCAPE_CHARS:/\\([*?+\/])/g,action:function(e,t){if(!t.isEdit){var n=e.content;e.content="";var a=V.default.getChannelId();if(a){var o=F.default.getLastEditableMessage(a);if(o&&o.id){var r=Array.from(n.match(this.regex)||[]),i=r[1],s=r[2];i=i.replace(this.REMOVE_ESCAPE_CHARS,function(e,t){return t}),s=s.replace(this.REMOVE_ESCAPE_CHARS,function(e,t){return t});var l=o.content.replace(i,s);l||o.attachments.length?l!==o.content&&Y.default.editMessage(a,o.id,{content:l}):Y.default.deleteMessage(a,o.id)}}}}}},q="@here",$="@everyone",ee=y.default.getDefaultRules(),te=g.default.defaultRules.text,ne={link:s(g.default.defaultRules.link),autolink:s(g.default.defaultRules.autolink),url:s(g.default.defaultRules.url),inlineCode:s(ee.inlineCode),codeBlock:s(ee.codeBlock),mention:{match:function e(t,n,a){var o=a.split(" ").pop()+t;if(/^[^ ]+@[^ ]+\.[^ \.]+/.test(o))return null;var e=i("@",t,n.users,"mention");return e?e:(e=i("@",t,n.mentionableRoles,"roleMention"))?e:l(t)?null:i("@",t,n.users.map(function(e){return c({},e,{text:e.text.split("#")[0]})}),"mention")},parse:function(e){var t=e[1],n=e[2],a=e[3],o="@";return"roleMention"===n?o+="&":a&&(o+="!"),{type:n,content:"<"+o+t+">"}}},channel:{match:function(e,t){return i("#",e,t.channels)},parse:function(e){return{type:"text",content:"<#"+e[1]+">"}}},emoticon:{match:function e(t,n,a){if(!C.default.convertEmoticons)return null;if(0!==a.length&&!/\s$/.test(a))return null;var e=T.default.EMOJI_SHORTCUT_RE.exec(t);return null==e?null:e[0].length!==t.length&&" "!==t[e[0].length]?null:e},parse:function(e){return{type:"emoticon",content:T.default.convertShortcutToName(e[1])}}},emoji:{order:ee.emoji.order,match:ee.emoji.match,parse:function(e,t,n){var a=e[0],o=e[1],r=n.customEmoji,i=Object.prototype.hasOwnProperty.call(r,o)?r[o]:null;return null!=i?{type:"customEmoticon",content:"<:"+(i.originalName||i.name)+":"+i.id+">",emoji:i}:{type:"text",content:a}}},customEmoticons:{match:function(e,t){return t.customEmoticonsRegex&&t.customEmoticonsRegex.exec(e)},parse:function(e,t,n){var a=e[0],o=e[1],r=n.emojiContext,i=r.getEmoticonByName(o);return null!=i?{type:"customEmoticon",content:"<:"+i.name+":"+i.id+">",emoji:i}:{type:"text",content:a}}},text:c({},te,{match:function(e,t){if(t.textExclusions){var n="^[\\s\\S]+?(?="+t.textExclusions+"|[^0-9A-Za-z\\s\\u00ff-\\uffff]|\\n\\n| {2,}\\n|\\w+:\\S|$)";return new RegExp(n).exec(e)}return null!=te.match?te.match(e,t,""):null}})},ae={inlineCode:s(ee.inlineCode),codeBlock:s(ee.codeBlock),mention:{regex:/^<@!?(\d+)>/,parse:function(e){var t=A.default.getUser(e[1]);return{content:null==t?e[0]:"@"+t.username+"#"+t.discriminator}}},roleMention:{regex:/^<@&(\d+)>/,parse:function(e,t,n){var a=n.guild;if(null!=a){var o=a.roles[e[1]];if(null!=o)return{content:"@"+o.name}}return{content:e[0]}}},channel:{regex:/^<#(\d+)>/,parse:function(e){var t=R.default.getChannel(e[1]);return{content:null==t?e[0]:t.toString(!0)}}},emoji:{regex:/^<:(\w+):(\d+)>/,parse:function(e,t,n){var a=(e[0],e[1]),o=e[2],r=n.guild,i=G.default.getDisambiguatedEmojiContext(r?r.id:null).getById(o);return{content:":"+(i?i.name:a)+":"}}},text:te};[ne,ae].forEach(function(e){Object.keys(e).forEach(function(t,n){e[t].order=n})});var oe=g.default.parserFor(ne),re=g.default.parserFor(ae);t.default={createMessage:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=A.default.getCurrentUser(),o=a.id,r=a.username,i=a.avatar,s=a.discriminator,l=a.bot;return{id:f(),type:X.MessageTypes.DEFAULT,content:t,channel_id:e,author:{id:o,username:r,avatar:i,discriminator:s,bot:l},attachments:[],embeds:[],mentions:[],mention_roles:[],mention_everyone:!1,timestamp:(new Date).toISOString(),state:X.MessageStates.SENDING,tts:n}},createBotMessage:function(e,t){return{id:f(),type:X.MessageTypes.DEFAULT,content:t,channel_id:e,author:{id:X.LOCAL_BOT_ID,username:"Clyde",discriminator:X.NON_USER_BOT_DISCRIMINATOR,avatar:"clyde",bot:!0},attachments:[],embeds:[],mentions:[],mention_roles:[],mention_everyone:!1,timestamp:(new Date).toISOString(),state:X.MessageStates.SENT,tts:!1}},parse:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=e.getGuildId(),r=a?w.default.getGuild(a):null,i=void 0;i=e.isPrivate()?e.recipients.map(function(e){return{userId:e,nick:null}}):null!=a?k.default.getMembers(a).map(function(e){return{userId:e.userId,nick:e.nick}}):[];var s=(0,v.default)(i).map(function(e){var t=e.userId,n=e.nick,a=A.default.getUser(t);return{id:t,hasNick:null!=n,text:a.username+"#"+a.discriminator}}),l=(0,v.default)(null!=r?r.roles:{}).values().filter(function(e){return e.mentionable}).map(function(e){return{id:e.id,text:e.name}}),f=(0,v.default)(R.default.getChannels()).filter(function(t){return t.guild_id===e.guild_id}).filter(function(e){return e.type===X.ChannelTypes.GUILD_TEXT}).map(function(e){return{id:e.id,text:e.toString()}}),c=G.default.getDisambiguatedEmojiContext(a),d=c.getEscapedCustomEmoticonNames(),p=c.getCustomEmoji(),h=c.getCustomEmoticonRegex(),g={inline:!0,mentionableRoles:l,guild:r,users:s,channels:f,emojiContext:c,customEmoticonsRegex:h,customEmoji:p,textExclusions:d},m={content:t,tts:!1,invalidEmojis:[]};o(m,{guildId:a,guild:r,channelId:e.id,channel:e,isEdit:n,emojiContext:c});var E=new Set;return m.content=u(oe(m.content,g),T.default.translateInlineEmojiToSurrogates,function(e){return E.add(e)}),E.forEach(function(t){Q.default.isEmojiDisabled(t,e)&&m.invalidEmojis.push(t)}),m},unparse:function(e,t){var n=R.default.getChannel(t),a=n?n.getGuildId():null;return u(re(e,{inline:!0,guild:a?w.default.getGuild(a):null}),T.default.translateSurrogatesToInlineEmoji)},isMentioned:function(e,t){var n=R.default.getChannel(t.channel_id);if(null==n)return console.warn("MessageUtils.isMentioned(...): "+t.channel_id+" does not exist."),!1;var a=D.default.isSuppressEveryoneEnabled(n.getGuildId());if((t.mentionEveryone||t.mention_everyone)&&!a)return!0;if(t.mentions.some(function(t){return"string"==typeof t?t===e.id:t.id===e.id}))return!0;var o=n.getGuildId();if(null==o)return!1;var r=w.default.getGuild(o);if(!r)return!1;var i=k.default.getMember(r.id,e.id);return!!i&&t.mention_roles.some(function(e){return i.roles.indexOf(e)!==-1})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(345),r=a(o),i=14200704e5,s=22;t.default={extractTimestamp:function(e){return null==e?0:r.default.fromString(e,!0).shiftRight(s).add(r.default.fromNumber(i)).toNumber()},getFromTimestamp:function(e){var t=e-i;return t<=0?"0":r.default.fromNumber(t).shiftLeft(s).toString()}},e.exports=t.default},,,,,,,,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={updateChannelDimensions:function(e,t,n,a){r.default.dirtyDispatch({type:i.ActionTypes.UPDATE_CHANNEL_DIMENSIONS,channelId:e,scrollTop:t,scrollHeight:n,offsetHeight:a})},updateChannelListScroll:function(e,t){r.default.dirtyDispatch({type:i.ActionTypes.UPDATE_CHANNEL_LIST_DIMENSIONS,guildId:e,scrollTop:t})},channelListScrollTo:function(e,t){r.default.dirtyDispatch({type:i.ActionTypes.UPDATE_CHANNEL_LIST_DIMENSIONS,guildId:e,scrollTo:t})},clearChannelListScrollTo:function(e){r.default.dirtyDispatch({type:i.ActionTypes.UPDATE_CHANNEL_LIST_DIMENSIONS,guildId:e,scrollTo:null})},clearChannelDimensions:function(e){this.updateChannelDimensions(e,null,null,null)},updateGuildListScrollTo:function(e){r.default.dirtyDispatch({type:i.ActionTypes.UPDATE_GUILD_LIST_DIMENSIONS,scrollTop:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(3),f=a(u),c=n(57),d=a(c),p=n(102),h=n(1);n(2252);var g=o("div",{className:"streamer-mode-enabled-image"}),m=i.default.createClass({displayName:"StreamerModeEnabled",getDefaultProps:function(){return{disableButton:!1}},handleClick:function(){this.props.disableButton||((0,p.pushLayer)(h.Layers.USER_SETTINGS),d.default.setSection(h.UserSettingsSections.STREAMER_MODE))},render:function(){return o("div",{className:"streamer-mode-enabled"},void 0,g,o("div",{className:(0,l.default)("streamer-mode-enabled-btn",{disabled:this.props.disableButton}),onClick:this.handleClick},void 0,f.default.Messages.STREAMER_MODE_ENABLED))}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(5),f=a(u);n(2161);var c="CHECKBOX_REF",d=i("span",{}),p=l.default.createClass({displayName:"Checkbox",render:function(){var e=this.props,t=e.children,n=o(e,["children"]);return i("div",{className:(0,f.default)("checkbox",{disabled:n.disabled}),onClick:this.handleClick},void 0,i("div",{className:(0,f.default)("checkbox-inner",{alt:n.alt})},void 0,l.default.createElement("input",r({ref:c},n,{type:"checkbox"})),d),i("span",{},void 0,t))},handleClick:function(){this.refs[c].click()}});t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o="\n font-weight: bold;\n color: purple;\n",r=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default";a(this,e),this.name=t,this.log=this.log.bind(this),this.info=this.info.bind(this),this.warn=this.warn.bind(this),this.error=this.error.bind(this),this.trace=this.trace.bind(this)}return e.prototype.log=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r;(r=console)[e||"log"].apply(r,["%c["+this.name+"]",o].concat(n))},e.prototype.info=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log.apply(this,["info"].concat(t))},e.prototype.warn=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log.apply(this,["warn"].concat(t))},e.prototype.error=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log.apply(this,["error"].concat(t))},e.prototype.trace=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log.apply(this,["trace"].concat(t))},e}(),i=new r;t.default={create:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new(Function.prototype.bind.apply(r,[null].concat(t)))},log:i.log,info:i.info,warn:i.warn,error:i.error,trace:i.trace},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.getDesktopSources=t.getIceServers=t.DISABLED_DEVICE_ID=t.DEFAULT_BITRATE=t.DEFAULT_DEVICE_ID=t.DEFAULT_PAN=t.DEFAULT_VOLUME=t.MediaEngineConnectionStates=t.MediaEngineDesktopSources=t.MediaEngineImplementations=t.MediaEngineFeatures=t.supportedMediaEngineImpl=t.initializeMediaEngine=t.determineMediaEngine=void 0;var o=n(1556);Object.defineProperty(t,"determineMediaEngine",{enumerable:!0,get:function(){return o.determineMediaEngine}}),Object.defineProperty(t,"initializeMediaEngine",{enumerable:!0,get:function(){return o.initializeMediaEngine}}),Object.defineProperty(t,"supportedMediaEngineImpl",{enumerable:!0,get:function(){return o.supportedMediaEngineImpl}});var r=n(263);Object.defineProperty(t,"MediaEngineFeatures",{enumerable:!0,get:function(){return r.Features}}),Object.defineProperty(t,"MediaEngineImplementations",{enumerable:!0,get:function(){return r.MediaEngineImplementations}}),Object.defineProperty(t,"MediaEngineDesktopSources",{enumerable:!0,get:function(){return r.DesktopSources}}),Object.defineProperty(t,"MediaEngineConnectionStates",{enumerable:!0,get:function(){return r.ConnectionStates}}),Object.defineProperty(t,"DEFAULT_VOLUME",{enumerable:!0,get:function(){return r.DEFAULT_VOLUME}}),Object.defineProperty(t,"DEFAULT_PAN",{enumerable:!0,get:function(){return r.DEFAULT_PAN}}),Object.defineProperty(t,"DEFAULT_DEVICE_ID",{enumerable:!0,get:function(){return r.DEFAULT_DEVICE_ID}}),Object.defineProperty(t,"DEFAULT_BITRATE",{enumerable:!0,get:function(){return r.DEFAULT_BITRATE}}),Object.defineProperty(t,"DISABLED_DEVICE_ID",{enumerable:!0,get:function(){return r.DISABLED_DEVICE_ID}});var i=n(1555),s=a(i),l=n(1554),u=a(l);t.getIceServers=s.default,t.getDesktopSources=u.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e){I=e||null}function i(){return I}function s(){return Object.keys(T)}function l(e){return Object.prototype.hasOwnProperty.call(N,e)?N[e]:null}function u(e){return T[e]}function f(e){return e.replace(k,function(e,t){return p(t,e)})}function c(e){return e.replace(U,function(e,t){return h(t)})}function d(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=n;return Object.prototype.hasOwnProperty.call(C,e)&&(a=C[e]),t?":"+a+":":a}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.prototype.hasOwnProperty.call(A,e)?A[e]:t}function h(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=n;return Object.prototype.hasOwnProperty.call(M,e)&&(a=M[e]),t?":"+a+":":a}t.__esModule=!0,t.Emoji=void 0;var g=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),m=n(7),v=a(m),E=n(1),y=n(193),_=a(y),b=n(167),S=a(b),I=null,T={},N={},A={},M={},C={},O=[],D=t.Emoji=function(){function e(t){var n=this;o(this,e);var a=t.names,r=t.surrogates,i=a[0]||"";this.uniqueName=i,this.names=a,this.allNamesString=a.length>1?":"+a.join(": :")+":":":"+i+":",this.uniqueName=i,this.defaultUrl=_.default.getURL(r),this.surrogates=t.surrogates,this.useSpriteSheet=!1,this.index=null,this.urlForDiversitySurrogate={},this.diversitiesByName={},this.hasDiversity=t.hasDiversity,this.hasDiversity&&v.default.each(E.DIVERSITY_SURROGATES,function(e,t){var o=r+e,i=_.default.getURL(o);i&&(n.urlForDiversitySurrogate[e]=i),a.forEach(function(e){e=e+"::skin-tone-"+(t+1),n.diversitiesByName[e]={name:e,surrogatePair:o,url:i}})})}return e.prototype.forEachDiversity=function(e){this.diversitiesByName&&v.default.each(this.diversitiesByName,e)},e.prototype.forEachName=function(e){v.default.each(this.names,e)},e.prototype.setSpriteSheetIndex=function(e){this.index=e,this.useSpriteSheet=!0},g(e,[{key:"url",get:function(){return this.hasDiversity&&null!==I&&this.hasDiversity?this.urlForDiversitySurrogate[I]:this.defaultUrl}},{key:"name",get:function(){return this.hasDiversity&&null!==I?this.uniqueName+"::"+M[I]:this.uniqueName}},{key:"surrogatePair",get:function(){var e=this.diversitiesByName[this.name];return null!=e?e.surrogatePair:this.surrogates}}]),e}(),L=0,R=0,x=n(1216);v.default.each(x,function(e,t){T[t]=v.default.map(e,function(e){var t=new D(e);return t.setSpriteSheetIndex(t.hasDiversity?L++:R++),t.managed=!0,M[t.surrogates]=t.uniqueName,t.forEachName(function(e){N[e]=t,A[e]=t.surrogates}),t.forEachDiversity(function(e){N[e.name]=t,A[e.name]=e.surrogatePair,M[e.surrogatePair]=e.name}),O.push(t),t})}),v.default.forEach(E.DIVERSITY_SURROGATES,function(e,t){A["skin-tone-"+(t+1)]=e,M[e]="skin-tone-"+(t+1)});var w=n(1215);v.default.each(w,function(e){var t=e.emoji;e.shortcuts.forEach(function(e){C[e]=t})});var P=/^:([^\s:]+?(?:::skin\-tone\-\d)?):/,k=/^:([^\s:]+?(?:::skin\-tone\-\d)?):/,U=function(){var e=(0,v.default)(M).keys().sortBy(function(e){return-e.length}).map(S.default.escape).join("|");return new RegExp("("+e+")","g")}(),G=function(){var e=(0,v.default)(C).keys().map(S.default.escape).join("|");return new RegExp("^("+e+")")}();t.default={getDefaultDiversitySurrogate:i,setDefaultDiversitySurrogate:r,getCategories:s,getByName:l,getByCategory:u,translateInlineEmojiToSurrogates:f,translateSurrogatesToInlineEmoji:c,convertNameToSurrogate:p,convertSurrogateToName:h,convertShortcutToName:d,forEach:function(e){return v.default.each(O,e)},all:function(){return O},numDiversitySprites:L,numNonDiversitySprites:R,EMOJI_NAME_RE:P,EMOJI_NAME_AND_DIVERSITY_RE:k,EMOJI_SHORTCUT_RE:G}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(null==x.default.getGuildId()){var t=L.default.getChannelId();if(null!=t&&(null==w[t]||e))return w[t]=w[t]||{channelId:t,ringing:[]},A.default.dirtyDispatch({type:M.ActionTypes.CALL_CONNECT,channelId:t}),!0}return!1}function l(){return w={},P=L.default.getVoiceChannelId(),s(!0)}function u(){return s(!0)}function f(){return s()}function c(){return s()}function d(e){var t=e.channel;if(null==w[t.id])return!1;delete w[t.id]}function p(e){var t=e.channelId,n=e.messageId,a=e.region,o=e.ringing,r=null!=w[t]&&null!=w[t].layout?w[t].layout:M.CallLayouts.MINIMUM;w[t]={channelId:t,messageId:n,region:a,ringing:o,unavailable:!1,layout:r}}function h(e){var t=e.channelId,n=e.messageId,a=e.region,o=e.ringing;w[t]=S({},w[t],{messageId:n,region:a,ringing:o})}function g(e){var t=e.channelId,n=e.unavailable,a=w[t];w[t]=n===!0&&null!=a?S({},a,{unavailable:n}):{channelId:t,ringing:[]}}function m(e){var t=e.channelId,n=e.layout;w[t]=S({},w[t],{layout:n})}function v(e){P=e.channelId}function E(){P=null}function y(e){var t=e.enabled,n=e.channelId;t&&b(n)}function _(e){null!=e.sourceId&&b()}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;null==e&&(e=L.default.getChannelId()),null==e||null!=w[e]&&null!=w[e].layout&&w[e].layout!==M.CallLayouts.MINIMUM||m({channelId:e,layout:M.CallLayouts.NORMAL})}t.__esModule=!0;var S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},I=n(2),T=a(I),N=n(4),A=a(N),M=n(1),C=n(187),O=a(C),D=n(19),L=a(D),R=n(35),x=a(R),w={},P=void 0,k=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(O.default,x.default,L.default)},t.prototype.getCall=function(e){return w[e]},t.prototype.getCallLayout=function(e){var t=this.getCall(e);return null!=t&&null!=t.layout&&e===P?t.layout:M.CallLayouts.MINIMUM},t.prototype.getMessageId=function(e){var t=this.getCall(e);return null!=t?t.messageId:null},t.prototype.isCallActive=function(e,t){var n=w[e];return null!=n&&!n.unavailable&&(t?n.messageId===t:null!=n.region)},t.prototype.isCallUnavailable=function(e){var t=w[e];return null!=t&&t.unavailable},t}(T.default.Store);t.default=new k(A.default,{CONNECTION_OPEN:l,CONNECTION_RESUMED:u,GUILD_SELECT:f,CHANNEL_SELECT:c,CHANNEL_DELETE:d,CALL_CREATE:p,CALL_UPDATE:h,CALL_DELETE:g,MEDIA_ENGINE_SET_VIDEO_ENABLED:y,MEDIA_ENGINE_SET_DESKTOP_SOURCE:_,PRIVATE_CHANNEL_CALL_UPDATE_LAYOUT:m,VOICE_CHANNEL_SELECT:v,VOICE_CHANNEL_CLEAR:E}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){M=[],C.forEach(function(e,t){var n=T.default.getGuild(e);null!=n&&M.push({index:t,guild:n})})}function l(){C=E.default.guildPositions,null!=C&&0!==C.length||(C=(0,h.default)(T.default.getGuilds()).sortBy(function(e){return[_.default.isMuted(e.id),e.name.toLowerCase()]}).map(function(e){return e.id}).value()),C=C.filter(function(e){return T.default.getGuild(e)||S.default.isUnavailable(e)});var e=new Set(C);h.default.forEach(T.default.getGuilds(),function(t){e.has(t.id)||C.unshift(t.id)}),s()}function u(e){var t=e.fromIndex,n=e.toIndex;C=A.default.moveItemFromTo(C,t,n),s()}t.__esModule=!0;var f=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),c=n(2),d=a(c),p=n(7),h=a(p),g=n(4),m=a(g),v=(n(1),n(13)),E=a(v),y=n(104),_=a(y),b=n(266),S=a(b),I=n(12),T=a(I),N=n(542),A=a(N),M=[],C=[],O=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(T.default,_.default,E.default,S.default)},t.prototype.getSortedGuilds=function(){return M},f(t,[{key:"guildPositions",get:function(){return C}}]),t}(d.default.Store);t.default=new O(m.default,{CONNECTION_OPEN:l,GUILD_CREATE:l,GUILD_DELETE:l,USER_SETTINGS_UPDATE:l,USER_GUILD_SETTINGS_UPDATE:l,GUILD_MOVE:u,GUILD_UPDATE:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(5),s=a(i),l=n(0),u=a(l),f=n(700),c=a(f);n(2298);var d=function(e){var t=e.className,n=e.error,a=o(e,["className","error"]),i=n?r("div",{className:"error-message"},void 0,n):null;return r("div",{className:(0,s.default)("ui-select",t,{error:n})},void 0,u.default.createElement(c.default,a),i)};t.default=d,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={escape:function(e){return e.replace(/[\-\[\]\/\{}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(111),s=function(e){function t(){a(this,t);var n=o(this,e.call(this));return n._children=[],n}return r(t,e),t.prototype.__addChild=function(e){0===this._children.length&&this.__attach(),this._children.push(e)},t.prototype.__removeChild=function(e){var t=this._children.indexOf(e);if(t===-1)return void console.warn("Trying to remove a child that doesn't exist");this._children.splice(t,1),0===this._children.length&&this.__detach()},t.prototype.__getChildren=function(){return this._children},t}(i);e.exports=s},,,,,,,,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={setLocked:function(e){r.default.dispatch({type:i.ActionTypes.OVERLAY_SET_LOCKED,locked:e})},setEnabled:function(e){r.default.dispatch({type:i.ActionTypes.OVERLAY_SET_ENABLED,enabled:e})},selectGuild:function(e){r.default.dispatch({type:i.ActionTypes.OVERLAY_SELECT_GUILD,guildId:e})},selectCall:function(e){r.default.dispatch({type:i.ActionTypes.OVERLAY_SELECT_CALL,callId:e})},openUserPopout:function(e,t,n){r.default.dispatch({type:i.ActionTypes.OVERLAY_OPEN_USER_POPOUT,userId:e,guildId:t,channelId:n})},setDisplayNameMode:function(e){r.default.dispatch({type:i.ActionTypes.OVERLAY_SET_DISPLAY_NAME_MODE,mode:e})},setDisplayUserMode:function(e){r.default.dispatch({type:i.ActionTypes.OVERLAY_SET_DISPLAY_USER_MODE,mode:e})},setAvatarSizeMode:function(e){r.default.dispatch({type:i.ActionTypes.OVERLAY_SET_AVATAR_SIZE_MODE,mode:e})},setPosition:function(e,t){r.default.dispatch({type:i.ActionTypes.OVERLAY_SET_POSITION,x:e,y:t})},setInstallProgress:function(e){r.default.dispatch({type:i.ActionTypes.OVERLAY_INSTALL_PROGRESS,progress:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){_.default.close(),E.default.close(),h.default.show(e)}function r(e){var t=e.status,n=e.body;if(429===t)o({title:d.default.Messages.FRIEND_REQUEST_RATE_LIMITED_HEADER,body:d.default.Messages.FRIEND_REQUEST_RATE_LIMITED_BODY,confirmText:d.default.Messages.FRIEND_REQUEST_RATE_LIMITED_BUTTON});else if(403===t){var a=n&&n.code;a===l.AbortCodes.EMAIL_VERIFICATION_REQUIRED&&o({title:d.default.Messages.FRIEND_REQUEST_REQUIRES_EMAIL_VALIDATION_HEADER,body:d.default.Messages.FRIEND_REQUEST_REQUIRES_EMAIL_VALIDATION_BODY,confirmText:d.default.Messages.FRIEND_REQUEST_REQUIRES_EMAIL_VALIDATION_BUTTON,onConfirm:function(){m.default.open(l.UserSettingsSections.ACCOUNT)}})}throw e}t.__esModule=!0;var i=n(4),s=a(i),l=n(1),u=n(16),f=a(u),c=n(3),d=a(c),p=n(107),h=a(p),g=n(57),m=a(g),v=n(214),E=a(v),y=n(22),_=a(y);t.default={sendRequest:function(e,t){var n=e.split("#"),a=n[0],o=n[1];return o=parseInt(o),f.default.post({url:l.Endpoints.USER_RELATIONSHIPS(),body:{username:a,discriminator:o},context:t}).catch(r)},addRelationship:function(e,t,n){f.default.put({url:l.Endpoints.USER_RELATIONSHIPS()+"/"+e,body:{type:n},context:t}).catch(r)},removeRelationship:function(e,t){f.default.delete({url:l.Endpoints.USER_RELATIONSHIPS()+"/"+e,context:t})},fetchRelationships:function(){f.default.get(l.Endpoints.USER_RELATIONSHIPS()).then(function(e){return s.default.dispatch({type:l.ActionTypes.LOAD_RELATIONSHIPS_SUCCESS,relationships:e.body})},function(){return s.default.dispatch({type:l.ActionTypes.LOAD_RELATIONSHIPS_FAILURE})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HeaderToolbarButton=void 0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(6),f=a(u),c=n(2),d=a(c),p=n(532),h=a(p),g=n(33),m=a(g),v=n(3),E=a(v),y=n(14),_=a(y),b=n(791),S=a(b),I=n(1686),T=a(I),N=n(1302),A=a(N),M=n(18),C=a(M),O=n(138),D=a(O),L=n(1327),R=a(L),x=n(1324),w=a(x),P=n(87),k=a(P),U=n(222),G=a(U),j=n(36),F=n(1);n(2148),n(2197);var B=i.default.createClass({displayName:"AutoUpdateButton",mixins:[d.default.StoreListenerMixin(S.default),f.default],getStateFromStores:function(){return{autoUpdateState:S.default.getState()}},handleDownloadApps:function(){_.default.push(D.default,{source:"Links"})},render:function(){var e=void 0,t=void 0,a=void 0,r=void 0,i=void 0;switch(this.state.autoUpdateState){case F.ActionTypes.UPDATE_NOT_AVAILABLE:case F.ActionTypes.UPDATE_ERROR:return null;case F.ActionTypes.CHECKING_FOR_UPDATES:i="auto-update-checking auto-update-info",r=E.default.Messages.CHECKING_FOR_UPDATES,t=n(3004),a=n(3036);break;case F.ActionTypes.UPDATE_AVAILABLE:i="auto-update-info",r=E.default.Messages.UPDATE_AVAILABLE,t=n(1179),a=n(1182);break;case F.ActionTypes.UPDATE_MANUALLY:i="auto-update-info",r=E.default.Messages.UPDATE_MANUALLY,t=n(1179),a=n(1182),e=this.handleDownloadApps;break;case F.ActionTypes.UPDATE_DOWNLOADED:e=T.default.quitAndInstall,r=E.default.Messages.UPDATE_DOWNLOADED,t=a=n(3035)}return o(z,{className:(0,l.default)("auto-update",i),onClick:e,tooltip:r,iconLight:t,iconDark:a})}}),V=i.default.createClass({displayName:"HelpButton",mixins:[f.default,k.default],getSubscriptions:function(){var e;return e={},e[F.ComponentActions.TOGGLE_HELP_MODAL]=this.toggleModal,e},openNeedHelpModal:function(){G.default.isModalOpen(A.default)||_.default.push(A.default)},render:function(){return o(z,{onClick:this.toggleModal,tooltip:E.default.Messages.HELP,iconLight:n(2997),iconDark:n(3029)})},toggleModal:function(){G.default.isModalOpen(A.default)?j.ComponentDispatch.dispatch(F.ComponentActions.MODAL_CLOSE):this.openNeedHelpModal()}}),H=o("div",{className:"toolbar-badge"}),z=t.HeaderToolbarButton=i.default.createClass({displayName:"HeaderToolbarButton",mixins:[d.default.LazyStoreListenerMixin(h.default),f.default,k.default],getDefaultProps:function(){return{active:!1,showBadge:!1}},getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{theme:h.default.theme}},getSubscriptions:function(){var e;return this.props.subscribeTo?(e={},e[this.props.subscribeTo]=this.handleComponentAction,e):null},handleComponentAction:function(e){this.props.disabled||this.props.onClick&&this.props.onClick(e)},render:function(){var e=this.state.theme,t=this.props,n=t.active,a=t.iconLight,r=t.iconDark,i=t.tooltip,s=t.className,u=t.showBadge,f=t.tooltipType,c=t.disabled,d=t.id,p=t.onClick,h=null;u&&(h=H);var g=o("button",{id:d,type:"button",disabled:c,className:(0,l.default)({active:n,disabled:c},s),onClick:p},void 0,o("span",{style:{backgroundImage:"url('"+(e===F.ThemeTypes.DARK?r:a)+"')"}}),h);return null==i||c||(g=o(m.default,{text:i,type:f,position:m.default.BOTTOM},void 0,g)),g}}),W=o(R.default,{}),Y=o(B,{}),K=o(w.default,{}),Q=o(V,{}),Z=o("div",{className:"separator separator-win"}),X=i.default.createClass({displayName:"HeaderToolbar",mixins:[d.default.LazyStoreListenerMixin(h.default),f.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{theme:h.default.theme}},render:function(){var e=this.props.children||[];return e instanceof Array||(e=[e]),o("div",{className:"header-toolbar"},void 0,e,W,e.filter(function(e){return null!=e}).length>0?o("div",{className:(0,l.default)("separator","theme-"+this.state.theme)}):null,Y,K,Q,C.default.isWindows()?Z:null)}});t.default=X},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(94),u=n(6),f=a(u),c=n(5),d=a(c);n(936);var p={1:18,2:18,3:16,4:16,5:14,6:12},h=10,g=s.default.createClass({displayName:"GuildIcon",mixins:[f.default],getDefaultProps:function(){return{size:"small",textScale:1}},render:function(){var e=this.props,t=e.guild,n=e.textScale,a=e.size,i=e.className,u=e.to,f=o(e,["guild","textScale","size","className","to"]),c=void 0,g=void 0;return null==t.icon?(c=t.acronym,g={fontSize:(p[c.length]||h)*n}):g={backgroundImage:'url("'+(t.iconURL||t.getIconURL())+'")'},i=(0,d.default)("avatar-"+a,i),null!=u?s.default.createElement(l.Link,r({},f,{to:u,className:i,style:g}),c):s.default.createElement("div",r({},f,{className:i,style:g}),c)}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(5)),s=a(i),l=n(160),u=a(l),f=function(e){var t=e.styles,n=e.label,a=e.action,r=e.active,i=void 0!==r&&r,l=e.disabled,f=void 0!==l&&l,c=e.danger,d=void 0!==c&&c,p=void 0;return f||(p=function(e){return a(e,n,i)}),o("div",{className:(0,s.default)("item item-toggle",{danger:d}),style:t,onClick:p},void 0,o("div",{className:"label"},void 0,n),o(u.default,{checked:i,disabled:f,onChange:function(){}}))};t.default=f,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.SlideAnimationMixin=t.SLIDE_ANIMATION_CONTAINER_REF=void 0;var o=n(24),r=a(o),i=t.SLIDE_ANIMATION_CONTAINER_REF="CONTAINER",s=t.SlideAnimationMixin={getInitialState:function(){return{translateX:new r.default.Value(0),direction:"in",animating:!1}},getDefaultProps:function(){return{onAnimationComplete:function(){},onMount:function(){}}},componentDidMount:function(){this.props.onMount(this),this.refs.scroller&&this.refs.scroller.scrollTo(0)},componentDidAppear:function(){this.state.translateX.setValue(1),this.state.direction="out"},componentDidEnter:function(){this.state.direction="out",this.state.translateX.setValue(1)},componentWillEnter:function(e){var t=this;this.setState({animating:!0}),this.state.translateX.setValue(0),r.default.sequence([r.default.delay(250),r.default.spring(this.state.translateX,{toValue:1,friction:10,tension:60})]).start(function(){t.setState({animating:!1}),t.props.onAnimationComplete(),e()})},componentWillLeave:function(e){var t=this;this.setState({animating:!0,height:this.refs[i]?this.refs[i].refs.node.offsetHeight:0}),r.default.stagger(325,[r.default.spring(this.state.translateX,{toValue:1.1,friction:25,tension:80}),r.default.spring(this.state.translateX,{toValue:0,friction:10,tension:60})]).start(function(){t.props.onAnimationComplete(),e()})},getChildStyle:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=300/t*e;return{transform:[{translateX:this.state.translateX.interpolate({inputRange:[0,1],outputRange:["in"===this.state.direction?n+"%":"-"+n+"%","0%"]})}]}},getContainerStyle:function(){var e=this.getChildStyle(1,3);return this.state.height&&(e.height=this.state.height),e}};t.default=s},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0);a(r);n(2221);var i=function(e){var t=e.titleCopy,n=e.titleBlurbCopy;return o("div",{className:"slide-header"},void 0,o("h1",{className:"title-h2"},void 0,t),o("p",{className:"base-copy"},void 0,n))};t.default=i,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=[];for(var n in e)t=t.concat(e[n].binds);return t.map(function(e){return e.replace("mod",b)})}function r(e){var t=function(t){var n=e[t],a=c.default.getKeybindList();p.default.embedded||(a=a.concat(T));var o=n.binds.filter(function(e){return e=e.replace("mod",b),a.indexOf(e)<0});if(0===o.length)return"continue";var r=n.global?y.bindGlobal:y.bind;n.action&&r.call(y,o,n.action),n.keyup&&r.call(y,o,n.keyup,"keyup"),n.keydown&&r.call(y,o,n.keydown,"keydown"),n.keypress&&r.call(y,o,n.keypress,"keypress")};for(var n in e){t(n)}}t.__esModule=!0;var i=n(343),s=a(i),l=n(862),u=a(l),f=n(379),c=a(f),d=n(18),p=a(d),h=n(58),g=a(h),m=n(767),v=void 0,E=!1,y=(0,u.default)(new s.default(window)),_=/Darwin|OS X/.test(g.default.os.family||""),b=_?"cmd":"ctrl",S=_?"opt":"alt",I=_?"return":"enter",T=[].concat(m.JUMP_TO_GUILD.binds,["mod+shift+[","mod+shift+]","ctrl+shift+tab","ctrl+tab","mod+n","mod+t","mod+shift+t","mod+plus","mod+minus","mod+0"]).map(function(e){return e.replace("mod",b)});if(p.default.embedded){new s.default(document).bind("backspace",function(e){return e.preventDefault()})}t.default={combokeys:y,modKey:b,altKey:S,returnKey:I,checkDupes:function(e){for(var t={},n=[],a=o(e),r=0,i=a.length;r<i;r++)void 0===t[a[r]]?t[a[r]]=0:t[a[r]]+=1;for(var s in t)t[s]&&n.push(s);n.length&&console.warn("Duplicate keyboard shortcuts defined:",n)},setLayout:function(e){v=e},enable:function(){E||(E=!0,this.checkDupes(v),r(v))},enableTemp:function(e){r(e)},disableTemp:function(){this.disable(),this.enable()},disable:function(){E&&(E=!1,y.reset())},validateKeybind:function(e){E&&this.hasBind(e)&&y.unbind(e)},hasBind:function(e){var t=o(v);return e=e.replace("meta","cmd"),e=e.replace(/right|left/i,"").trim(),!(t.indexOf(e)<0)}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){if(null==e)throw new TypeError("Cannot destructure undefined")}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(){_e.isDisconnected()&&_e.connect()}function u(){_e.close()}function f(e){ce.default.setToken(e.analyticsToken),ge=!0,me=e.sessionId,ve.update({},!0);var t={},n=G.default.getVoiceChannelId();if(null!=n){var a=z.default.getChannel(n);null!=a&&(t={guildId:a.guild_id,channelId:n})}Ee.update(t,!0)}function c(){ce.default.clearToken(),ge=!1}function d(e){return Ee.update({guildId:e.guildId,channelId:e.channelId}),!1}function p(e){if(k.default.getId()!==e.userId)return!1;if(e.sessionId===me)Ee.setState({guildId:e.guildId,channelId:e.channelId});else{if(e.guildId!==Ee.guildId)return!1;Ee.setState({guildId:null,channelId:null})}}function h(e){e.guild.id===Ee.guildId&&Ee.setState({guildId:null,channelId:null})}function g(e){e.channelId===Ee.channelId&&Ee.setState({guildId:null,channelId:null})}function m(e){e.channel.id===Ee.channelId&&Ee.setState({guildId:null,channelId:null})}function v(e){var t=e.state,n=e.willReconnect;if(t!==D.RTCConnectionStates.DISCONNECTED)return!1;n&&_e.voiceServerPing()}function E(e){return e.state===D.AppStates.ACTIVE&&_e.resetBackoff("App state is active"),!1}function y(){return Ee.update(),!1}function _(){return ve.update(),!1}function b(e){var t=e.guildId,n=e.query,a=e.limit;return _e.isSessionEstablished()&&_e.requestGuildMembers(t,n,a),!1}function S(){return ye.update(),!1}function I(e){var t=e.channelId;return _e.isSessionEstablished()&&_e.callConnect(t),!1}t.__esModule=!0;var T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},N=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),A=n(2),M=a(A),C=n(4),O=a(C),D=n(1),L=n(18),R=a(L),x=n(840),w=a(x),P=n(17),k=a(P),U=n(19),G=a(U),j=n(269),F=a(j),B=n(27),V=a(B),H=n(11),z=a(H),W=n(34),Y=a(W),K=n(520),Q=a(K),Z=n(530),X=a(Z),J=n(268),q=a(J),$=n(1541),ee=a($),te=n(1548),ne=a(te),ae=n(54),oe=a(ae),re=n(108),ie=a(re),se=n(63),le=a(se),ue=n(294),fe=n(29),ce=a(fe),de=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.getInitialState=function(){return F.default.getPresence()},t.prototype.getNextState=function(){return F.default.getPresence()},t.prototype.shouldCommit=function(){return _e.isSessionEstablished()},t.prototype.didCommit=function(e){var t=e.status,n=e.since,a=e.activity,o=e.afk;_e.presenceUpdate(t,n,a,o)},t}(ne.default),pe=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.getInitialState=function(){return{guildId:null,channelId:null,selfMute:V.default.isSelfMute(),selfDeaf:V.default.isSelfDeaf()}},t.prototype.getNextState=function(e){return{guildId:e.guildId,channelId:e.channelId,selfMute:V.default.isSelfMute(),selfDeaf:V.default.isSelfDeaf(),selfVideo:V.default.isVideoEnabled()||V.default.isScreenSharing()}},t.prototype.shouldCommit=function(){return _e.isSessionEstablished()},t.prototype.didCommit=function(e){var t=e.guildId,n=e.channelId,a=e.selfMute,o=e.selfDeaf,r=e.selfVideo;_e.voiceStateUpdate(t,n,a,o,r)},N(t,[{key:"guildId",get:function(){return this.getState().guildId}},{key:"channelId",get:function(){return this.getState().channelId}}]),t}(ne.default),he=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.getInitialState=function(){return{syncedGuilds:Q.default.getSyncedGuilds()}},t.prototype.getNextState=function(e){return o(e),{syncedGuilds:Q.default.getSyncedGuilds()}},t.prototype.shouldCommit=function(){return _e.isSessionEstablished()},t.prototype.didCommit=function(e){var t=e.syncedGuilds;_e.syncGuilds(t)},t}(ne.default),ge=!1,me=null,ve=new de,Ee=new pe,ye=new he,_e=new ee.default(D.Endpoints.GATEWAY,function(){var e=k.default.getToken();return e?(ye.reset(),{token:e,properties:ce.default.getSuperProperties(),syncedGuilds:ye.getState().syncedGuilds,presence:ve.getState()}):null});if(R.default.isDesktop()){R.default.requireElectron("powerMonitor",!0).on("resume",function(){_e.expeditedHeartbeat(5e3,"power monitor resumed")})}w.default.addOfflineCallback(function(){_e.expeditedHeartbeat(15e3,"network detected offline.",!1)}),w.default.addOnlineCallback(function(){_e.expeditedHeartbeat(5e3,"network detected online.")}),_e.on("disconnect",function(e){var t=e.code,n=e.reason;O.default.dispatch({type:D.ActionTypes.CONNECTION_CLOSED,code:t,reason:n})}),_e.on("dispatch",function(e,t){switch(e){case"READY":if(t.user.bot)return void O.default.dispatch({type:D.ActionTypes.LOGOUT});var n=[];t.private_channels.forEach(function(e){e.guild_id=null,n.push(e)});var a=t.guilds.filter(function(e){return e.unavailable}).map(function(e){return e.id}),o=t.guilds.filter(function(e){return e.unavailable!==!0});o.forEach(function(e){e.channels.forEach(function(t){t.guild_id=e.id,n.push(t)}),delete e.channels}),O.default.dispatch({type:D.ActionTypes.CONNECTION_OPEN,sessionId:t.session_id,user:t.user,guilds:o,unavailableGuilds:a,channels:n,readState:t.read_state,userGuildSettings:t.user_guild_settings,tutorial:t.tutorial,relationships:t.relationships,friendSuggestionCount:t.friend_suggestion_count,presences:t.presences||[],notes:t.notes,analyticsToken:t.analytics_token,experiments:t.experiments,connectedAccounts:t.connected_accounts,guildExperiments:t.guild_experiments,requiredAction:t.required_action}),o.forEach(function(e){e.voice_states.forEach(function(t){O.default.dispatch({type:D.ActionTypes.VOICE_STATE_UPDATE,userId:t.user_id,guildId:e.id,sessionId:t.session_id,channelId:t.channel_id,mute:t.mute,deaf:t.deaf,selfMute:t.self_mute,selfDeaf:t.self_deaf,selfVideo:t.self_video||!1,suppress:t.suppress})})}),ie.default.updateLocalSettings(t.user_settings,!0),ve.update(),ye.update(),Ee.update();break;case"RESUMED":ve.forceUpdate(),ye.forceUpdate(),Ee.forceUpdate(),O.default.dispatch({type:D.ActionTypes.CONNECTION_RESUMED});break;case D.ActionTypes.TYPING_START:O.default.dispatch({type:e,channelId:t.channel_id,userId:t.user_id});break;case D.ActionTypes.ACTIVITY_START:O.default.dispatch({type:e,userId:t.user_id,activity:t.activity});break;case D.ActionTypes.MESSAGE_CREATE:oe.default.receiveMessage(t.channel_id,t);break;case D.ActionTypes.MESSAGE_UPDATE:O.default.dispatch({type:e,message:t});break;case D.ActionTypes.MESSAGE_DELETE:O.default.dispatch({type:e,id:t.id,channelId:t.channel_id});break;case D.ActionTypes.MESSAGE_DELETE_BULK:O.default.dispatch({type:e,ids:t.ids,channelId:t.channel_id});break;case D.ActionTypes.MESSAGE_ACK:O.default.dispatch({type:e,channelId:t.channel_id,messageId:t.message_id,manual:t.manual});break;case D.ActionTypes.CHANNEL_PINS_ACK:O.default.dispatch({type:e,channelId:t.channel_id,timestamp:t.timestamp});break;case D.ActionTypes.CHANNEL_PINS_UPDATE:O.default.dispatch({type:e,channelId:t.channel_id,lastPinTimestamp:t.last_pin_timestamp});break;case D.ActionTypes.CHANNEL_CREATE:case D.ActionTypes.CHANNEL_UPDATE:case D.ActionTypes.CHANNEL_DELETE:O.default.dispatch({type:e,channel:t});break;case D.ActionTypes.CHANNEL_RECIPIENT_ADD:case D.ActionTypes.CHANNEL_RECIPIENT_REMOVE:O.default.dispatch({type:e,channelId:t.channel_id,user:t.user,nick:t.nick});break;case D.ActionTypes.GUILD_CREATE:t.unavailable?O.default.dispatch({type:D.ActionTypes.GUILD_UNAVAILABLE,guildId:t.id}):(t.channels.forEach(function(e){e.guild_id=t.id}),le.default.createGuild(t),t.voice_states.forEach(function(e){O.default.dispatch({type:D.ActionTypes.VOICE_STATE_UPDATE,userId:e.user_id,guildId:t.id,sessionId:e.session_id,channelId:e.channel_id,mute:e.mute,deaf:e.deaf,selfMute:e.self_mute,selfDeaf:e.self_deaf,selfVideo:e.self_video||!1,suppress:e.suppress})}));break;case D.ActionTypes.GUILD_UPDATE:case D.ActionTypes.GUILD_DELETE:O.default.dispatch({type:e,guild:t}),t.unavailable&&O.default.dispatch({type:D.ActionTypes.GUILD_UNAVAILABLE,guildId:t.id});break;case D.ActionTypes.GUILD_SYNC:O.default.dispatch({type:e,guild:t});break;case D.ActionTypes.GUILD_MEMBERS_CHUNK:O.default.dispatch({type:e,guildId:t.guild_id,members:t.members});break;case D.ActionTypes.GUILD_BAN_ADD:case D.ActionTypes.GUILD_BAN_REMOVE:case D.ActionTypes.GUILD_MEMBER_ADD:case D.ActionTypes.GUILD_MEMBER_UPDATE:case D.ActionTypes.GUILD_MEMBER_REMOVE:O.default.dispatch({type:e,guildId:t.guild_id,user:t.user,roles:t.roles,nick:t.nick});break;case D.ActionTypes.GUILD_ROLE_CREATE:case D.ActionTypes.GUILD_ROLE_UPDATE:O.default.dispatch({type:e,guildId:t.guild_id,role:t.role});break;case D.ActionTypes.GUILD_ROLE_DELETE:O.default.dispatch({type:e,guildId:t.guild_id,roleId:t.role_id});break;case D.ActionTypes.GUILD_EMOJIS_UPDATE:O.default.dispatch({type:e,guildId:t.guild_id,emojis:t.emojis});break;case D.ActionTypes.GUILD_INTEGRATIONS_UPDATE:O.default.dispatch({type:e,guildId:t.guild_id});break;case D.ActionTypes.USER_UPDATE:O.default.dispatch({type:e,user:t});break;case D.ActionTypes.USER_SETTINGS_UPDATE:ie.default.updateLocalSettings(t,!0);break;case D.ActionTypes.USER_GUILD_SETTINGS_UPDATE:O.default.dispatch({type:e,userGuildSettings:[t]});break;case D.ActionTypes.USER_CONNECTIONS_UPDATE:O.default.dispatch({type:e});break;case D.ActionTypes.USER_REQUIRED_ACTION_UPDATE:O.default.dispatch({type:e,requiredAction:t.required_action});break;case D.ActionTypes.USER_NOTE_UPDATE:O.default.dispatch(T({type:e},t));break;case D.ActionTypes.RELATIONSHIP_ADD:case D.ActionTypes.RELATIONSHIP_REMOVE:O.default.dispatch({type:e,relationship:t});break;case D.ActionTypes.PRESENCE_UPDATE:t.status===D.StatusTypes.OFFLINE||null==t.user.username||Y.default.isMember(t.guild_id,t.user.id)||O.default.dispatch({type:D.ActionTypes.GUILD_MEMBER_ADD,guildId:t.guild_id,user:t.user,roles:t.roles,nick:t.nick}),O.default.dispatch({type:e,guildId:t.guild_id,user:t.user,status:t.status,game:t.game});break;case D.ActionTypes.PRESENCES_REPLACE:O.default.dispatch({type:e,presences:t});break;case D.ActionTypes.VOICE_STATE_UPDATE:O.default.dispatch({type:e,userId:t.user_id,guildId:t.guild_id,sessionId:t.session_id,channelId:t.channel_id,mute:t.mute,deaf:t.deaf,selfMute:t.self_mute,selfDeaf:t.self_deaf,selfVideo:t.self_video||!1,suppress:t.suppress});break;case D.ActionTypes.VOICE_SERVER_UPDATE:O.default.dispatch({type:e,guildId:t.guild_id,channelId:t.channel_id,endpoint:t.endpoint,token:t.token});break;case D.ActionTypes.CALL_CREATE:O.default.dispatch({type:e,channelId:t.channel_id,messageId:t.message_id,region:t.region,ringing:t.ringing});var r=t.voice_states;null!=r&&r.forEach(function(e){O.default.dispatch({type:D.ActionTypes.VOICE_STATE_UPDATE,userId:e.user_id,guildId:null,sessionId:e.session_id,channelId:e.channel_id,mute:e.mute,deaf:e.deaf,selfMute:e.self_mute,selfDeaf:e.self_deaf,selfVideo:e.self_video||!1,suppress:e.suppress})});break;case D.ActionTypes.CALL_UPDATE:O.default.dispatch({type:e,channelId:t.channel_id,messageId:t.message_id,region:t.region,ringing:t.ringing});break;case D.ActionTypes.CALL_DELETE:O.default.dispatch({type:e,channelId:t.channel_id,unavailable:t.unavailable});break;case D.ActionTypes.OAUTH2_TOKEN_REVOKE:O.default.dispatch({type:e,accessToken:t.access_token});break;case D.ActionTypes.RECENT_MENTION_DELETE:O.default.dispatch({type:e,id:t.message_id});break;case D.ActionTypes.FRIEND_SUGGESTION_CREATE:O.default.dispatch({type:e,suggestion:t});break;case D.ActionTypes.FRIEND_SUGGESTION_DELETE:O.default.dispatch({type:e,suggestedUserId:t.suggested_user_id});break;case D.ActionTypes.WEBHOOKS_UPDATE:O.default.dispatch({type:e,guildId:t.guild_id,channelId:t.channel_id});break;case D.ActionTypes.MESSAGE_REACTION_ADD:case D.ActionTypes.MESSAGE_REACTION_REMOVE:O.default.dispatch({type:e,channelId:t.channel_id,messageId:t.message_id,userId:t.user_id,emoji:t.emoji});break;case D.ActionTypes.MESSAGE_REACTION_REMOVE_ALL:O.default.dispatch({type:e,channelId:t.channel_id,messageId:t.message_id});break;case D.ActionTypes.USER_PAYMENTS_UPDATE:case D.ActionTypes.USER_BILLING_PROFILE_UPDATE:(X.default.isOpen()||q.default.hasLayers())&&(0,ue.getBillingInfo)()}});var be=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.initialize=function(){this.waitFor(k.default,G.default,z.default),this.syncWith([V.default],y),this.syncWith([Q.default],S),this.syncWith([F.default],_)},t.prototype.isTryingToConnect=function(){return!_e.isDisconnected()},t.prototype.isConnected=function(){return ge},t}(M.default.Store);t.default=new be(O.default,{START_SESSION:l,LOGOUT:u,CONNECTION_OPEN:f,CONNECTION_CLOSED:c,RTC_CONNECTION_STATE:v,VOICE_CHANNEL_SELECT:d,VOICE_STATE_UPDATE:p,GUILD_DELETE:h,CHANNEL_DELETE:m,CALL_DELETE:g,APP_STATE_UPDATE:E,GUILD_MEMBERS_REQUEST:b,CALL_CONNECT:I}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L;null==T?N=Date.now():clearTimeout(T),T=setTimeout(u,e)}function l(e){var t=e.guildId;if(A===t)return!1;A=t||I.ME,M[A]=void 0,s()}function u(){T=null;var e=M[A];A!==I.ME||e?A&&!e?S.default.transitionTo(I.Routes.GUILD(A)):A&&e&&S.default.transitionTo(I.Routes.CHANNEL(A,e)):S.default.transitionTo(I.Routes.ME),M[A]=void 0,A=void 0}function f(e){var t=e.guildId,n=e.channelId;if(t||(t=I.ME),t===A&&n===M[t])return!1;A=t||I.ME,M[A]=t!==I.ME||n?n||t:void 0,s()}function c(){clearTimeout(T),T=null,M[A]=void 0,A=void 0}function d(e){var t=e.immediate;T&&(t?u():s(null!=N&&Date.now()-N<=C?O:D))}t.__esModule=!0;var p=n(2),h=a(p),g=n(4),m=a(g),v=n(35),E=a(v),y=n(19),_=a(y),b=n(42),S=a(b),I=n(1),T=null,N=null,A=null,M={},C=150,O=100,D=250,L=500,R=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.syncWith([_.default,E.default],function(){return!0})},t.prototype.getGuildId=function(){return T?A===I.ME?null:A:E.default.getGuildId()},t.prototype.getChannelId=function(e){return T?M[e]:_.default.getChannelId(A)},t}(h.default.Store);t.default=new R(m.default,{DELAYED_GUILD_SELECT:l,DELAYED_CHANNEL_SELECT:f,DELAYED_SELECT_FLUSH:d,GUILD_SELECT:c,CHANNEL_SELECT:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(){ue={},le={},te.reset()}function l(e){null!=ue[e]&&delete ue[e]}function u(){var e=[];Object.values(ue).forEach(function(t){e.push.apply(e,t.emoticons),J.default.each(t.usableEmojis,function(e){return le[e.id]=e})}),te.reset(),ie.compute()}function f(e,t){if(l(e),te.clear(e),null!=t){var n=A.default.getCurrentUser();if(null!=n){var a=C.default.getMember(e,n.id);if(null!=a){var o={};o.emojis=t,o.usableEmojis=[],Object.values(t).filter(function(e){return!e.roles.length||a.roles.find(function(t){return e.roles.indexOf(t)>=0})}).sort(function(e,t){return t.name.localeCompare(e.name)}).forEach(function(t){t.url=G.default.getEmojiURL({id:t.id}),t.allNamesString=":"+t.name+":",t.guildId=e,o.usableEmojis.push(t)}),o.emoticons=o.usableEmojis.filter(function(e){return!e.require_colons}),ue[e]=o}}}}function c(e){s(),e.guilds.forEach(function(e){return f(e.id,e.emojis)}),u()}function d(e){f(e.guild.id,e.guild.emojis),u()}function p(e){f(e.guildId,e.emojis),u()}function h(e){l(e.guild.id),u()}function g(e){var t=e.guildId;if(e.user.id===A.default.getCurrentUser().id){var n=ue[t];f(t,n&&n.usableEmojis),u()}}function m(e){if(!e.optimistic)return!1;for(var t=H.default.translateSurrogatesToInlineEmoji(e.message.content),n=w.default.getChannel(e.message.channelId),a=n?n.getGuildId():null,o=void 0,r=!1;null!==(o=ne.exec(t));){var i=void 0;i=o[1]?te.get(a).getById(o[1]):H.default.getByName(o[2]),i&&(ie.track(i.id||i.uniqueName||i.name),r=!0)}if(!r)return!1;ie.compute()}function v(e){if(!e.optimistic)return!1;var t=w.default.getChannel(e.channelId),n=t?t.getGuildId():null,a=void 0;if(a=0!=e.emoji.id?te.get(n).getById(e.emoji.id):H.default.getByName(H.default.convertSurrogateToName(e.emoji.name,!1)),null==a)return!1;ie.track(a.id||a.uniqueName||a.name),ie.compute()}function E(e){var t=e.color;H.default.setDefaultDiversitySurrogate(t),B.default.set(fe,t)}t.__esModule=!0;var y=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},b=n(2),S=a(b),I=n(4),T=a(I),N=n(10),A=a(N),M=n(34),C=a(M),O=n(165),D=a(O),L=n(12),R=a(L),x=n(11),w=a(x),P=n(167),k=a(P),U=n(48),G=a(U),j=n(1),F=n(25),B=a(F),V=n(163),H=a(V),z=n(772),W=a(z),Y=n(193),K=a(Y),Q=n(55),Z=a(Q),X=n(7),J=a(X),q="recent",$="custom",ee=[q,$].concat(H.default.getCategories()),te=function(){function e(t){i(this,e),this.guildId=t}return e.get=function(t){return null!=e._lastInstance&&e._lastInstance.guildId===t||(e._lastInstance=new e(t)),e._lastInstance},e.reset=function(){e._lastInstance=null},e.resetFrequentlyUsed=function(){null!=e._lastInstance&&(e._lastInstance.frequentlyUsed=null)},e.clear=function(t){null!=e._lastInstance&&e._lastInstance.guildId===t&&(e._lastInstance=null)},e.prototype.ensureDisambiguated=function(){null==this.disambiguatedEmoji&&this._buildDisambiguatedCustomEmoji()},e.prototype.getDisambiguatedEmoji=function(){return null==this.disambiguatedEmoji&&this._buildDisambiguatedCustomEmoji(),this.disambiguatedEmoji},e.prototype.getCustomEmoji=function(){return null==this.customEmojis&&this._buildDisambiguatedCustomEmoji(),this.customEmojis},e.prototype.getByName=function(e){if(null==this.emojisByName&&this._buildDisambiguatedCustomEmoji(),Object.prototype.hasOwnProperty.call(this.emojisByName,e))return this.emojisByName[e]},e.prototype.getEmoticonByName=function(e){if(null==this.emoticonsByName&&this._buildDisambiguatedCustomEmoji(),Object.prototype.hasOwnProperty.call(this.emoticonsByName,e))return this.emoticonsByName[e]},e.prototype.getById=function(e){if(null==this.emojisById&&this._buildDisambiguatedCustomEmoji(),Object.prototype.hasOwnProperty.call(this.emojisById,e))return this.emojisById[e]},e.prototype.getCustomEmoticonRegex=function(){return null==this.escapedEmoticonNames&&this._buildDisambiguatedCustomEmoji(),null==this.emoticonRegex&&this.escapedEmoticonNames&&(this.emoticonRegex=new RegExp("^\\b("+this.escapedEmoticonNames+")\\b")),this.emoticonRegex},e.prototype.getFrequentlyUsedEmojis=function(){var e=this;return this.ensureDisambiguated(),null==this.frequentlyUsed&&(this.frequentlyUsed=[],J.default.each(re,function(t){var n=void 0;n=t.id?e.getById(t.id):H.default.getByName(t.name),n&&e.frequentlyUsed.push(n)})),this.frequentlyUsed},e.prototype.getEscapedCustomEmoticonNames=function(){return null==this.escapedEmoticonNames&&this._buildDisambiguatedCustomEmoji(),this.escapedEmoticonNames},e.prototype.nameMatchesChain=function(e){return(0,J.default)(this.getDisambiguatedEmoji()).filter(function(t){var n=t.names,a=t.name;return n?J.default.some(n,e):e(a)})},e.prototype._buildDisambiguatedCustomEmoji=function(){var e=this,t={},n=[];this.emoticonRegex=null,this.frequentlyUsed=null,this.disambiguatedEmoji=[],this.customEmojis={},this.emoticonsByName={},this.emojisByName={},this.emojisById={};var a=function(n){var a=n.name,o=t[a]||0;if(t[a]=o+1,o>0){var r=a+"~"+o;n=_({},n,{name:r,originalName:a,allNamesString:":"+r+":"})}e.emojisByName[n.name]=n,n.id&&(e.emojisById[n.id]=n,e.customEmojis[n.name]=n),e.disambiguatedEmoji.push(n)},o=function(t){Object.prototype.hasOwnProperty.call(e.emoticonsByName,t.name)||(n.push(k.default.escape(t.name)),e.emoticonsByName[t.name]=t)};H.default.forEach(a);var r=function(e){var t=ue[e];t&&(J.default.each(t.usableEmojis,a),J.default.each(t.emoticons,o))};r(this.guildId),D.default.getSortedGuilds().forEach(function(t){var n=t.guild;n.id!==e.guildId&&r(n.id)}),this.escapedEmoticonNames=n.join("|")},e}();te._lastInstance=null;var ne=/(?:<:\w+:(\d+)>)|:(?:([^\s:]+?)(?:::skin\-tone\-\d)?:)/g,ae="EmojiUsageHistory",oe=40,re=[],ie=new W.default(function(){return 100},function(e){var t=0;return e<=3?t=100:e<=15?t=70:e<=30?t=50:e<=45?t=30:e<=80&&(t=10),t},function(e){var t=H.default.getByName(e);return t?t:Object.prototype.hasOwnProperty.call(le,e)?le[e]:null},function(e,t){B.default.set(ae,e),te.resetFrequentlyUsed(),re=t,se=ee.slice(0),J.default.some(ue,function(e){return e.usableEmojis.length>0})||se.splice(ee.indexOf($),1)},oe),se=ee.slice(0),le={},ue={},fe="EmojiDiversitySurrogate",ce=function(e){function t(){return i(this,t),o(this,e.apply(this,arguments))}return r(t,e),t.prototype.initialize=function(){this.waitFor(C.default,A.default,R.default);var e=B.default.get(ae);ie.overwriteHistory(e),e&&Object.keys(e).length||(ie.track("eggplant"),ie.track("fork_and_knife"),ie.track("yum"),ie.track("weary"),ie.track("tired_face"),ie.track("poop"),ie.track("ok_hand"),ie.track("100")),H.default.setDefaultDiversitySurrogate(B.default.get(fe))},t.prototype.getGuildEmoji=function(e){var t=ue[e];return t&&t.usableEmojis||{}},t.prototype.filterExternal=function(e,t,n){var a=e.getGuildId(),o=te.get(a).nameMatchesChain(t).reject(function(t){return K.default.isEmojiDisabled(t,e)}),r=A.default.getCurrentUser();return e.isPrivate()||!r||Z.default.can(j.Permissions.USE_EXTERNAL_EMOJIS,r,e)||(o=o.filter(function(e){return null==e.guildId||e.guildId===a})),n>0&&(o=o.take(n)),o.value()},t.prototype.getDisambiguatedEmojiContext=function(e){return te.get(e)},t.prototype.search=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=t.toLowerCase(),o=k.default.escape(a),r=new RegExp(""+o,"i"),i=r.test.bind(r),s=this.filterExternal(e,i);if(s.length){var l=new RegExp("^"+o,"i"),u=new RegExp("(^|_|[A-Z])"+o+"s?([A-Z]|_|$)"),f=u.test.bind(u),c=l.test.bind(l),d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=e.toLowerCase(),o=1+(n===a?4:0)+(f(n)||f(e)?2:0)+(c(e)?1:0),r=ie.getScore(t);return null!=r&&(o*=r/100),o};s=J.default.orderBy(s,[function(e){return e.names?d(e.names[0]):d(e.name,e.id)},function(e){return e.names?e.names[0]:e.name}],["desc","asc"])}return n&&(s=s.slice(0,n)),s},y(t,[{key:"categories",get:function(){return se}},{key:"diversitySurrogate",get:function(){return H.default.getDefaultDiversitySurrogate()||""}}]),t}(S.default.Store);t.default=new ce(T.default,{GUILD_MEMBER_UPDATE:g,CONNECTION_OPEN:c,GUILD_CREATE:d,GUILD_UPDATE:d,GUILD_EMOJIS_UPDATE:p,GUILD_DELETE:h,MESSAGE_CREATE:m,MESSAGE_REACTION_ADD:v,EMOJI_DIVERSITY_COLOR_CHANGE:E}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){y=f({},y),delete y[e]}function l(e){var t=e.userId;if(e.speaking){var n;y=f({},y,(n={},n[t]=Date.now(),n))}else s(t)}function u(e){var t=e.userId;if(null!=e.channelId||null==y[t])return!1;s(t)}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=n(2),d=a(c),p=n(4),h=a(p),g=(n(1),n(10)),m=a(g),v=n(7),E=a(v),y={},_=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.mustEmitChanges()},t.prototype.getSpeakers=function(){return y},t.prototype.isSpeaking=function(e){return null!=y[e]},t.prototype.isAnyoneSpeaking=function(){return!E.default.isEmpty(y)},t.prototype.isCurrentUserSpeaking=function(){var e=m.default.getCurrentUser();return null!=e&&this.isSpeaking(e.id)},t}(d.default.Store);t.default=new _(h.default,{SPEAKING:l,VOICE_STATE_UPDATE:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.AvatarSizes=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(2086),p=a(d),h=t.AvatarSizes={PROFILE:"profile",XXLARGE:"xxlarge",XLARGE:"xlarge",LARGE:"large",SMALL:"small",XSMALL:"xsmall"},g=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.size,n=e.src,a=e.className,o={backgroundImage:"url('"+n+"')"};return s("div",{className:(0,c.default)(p.default.avatar,p.default[t],a),style:o})},t}(u.default.PureComponent);g.Sizes=h,g.defaultProps={size:h.LARGE},t.default=g},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return null==e||null==e.name?null:r(e)?u.default.Messages.STREAMING.format({name:e.name}):u.default.Messages.PLAYING_GAME.format({game:e.name})}function r(e){return null!=e&&(e.type===s.ActivityTypes.STREAMING&&(null!=e.url&&f.test(e.url)))}function i(e){return null!=e&&null!=e.url&&f.test(e.url)?e.url:null}t.__esModule=!0,t.renderActivity=o,t.isStreaming=r,t.getStreamURL=i;var s=n(1),l=n(3),u=a(l),f=/^https?:\/\/(www\.)?twitch\.tv\/.+/},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(10),i=a(r),s=n(55),l=a(s),u=n(1),f={};f=n(1688),t.default=o({getURL:function(){return""}},f,{isEmojiFiltered:function(e,t){var n=i.default.getCurrentUser();if(!e.guildId)return!1;if(t.type!==u.ChannelTypes.GUILD_TEXT)return!1;var a=e.guildId===t.getGuildId(),o=l.default.can(u.Permissions.USE_EXTERNAL_EMOJIS,n,t);return!a&&!o},isEmojiDisabled:function(e,t){var n=i.default.getCurrentUser();if(!e.guildId)return!1;if(t.type===u.ChannelTypes.GUILD_TEXT){var a=e.guildId===t.getGuildId(),o=l.default.can(u.Permissions.USE_EXTERNAL_EMOJIS,n,t),r=e.managed||n.premium,s=!a&&o&&r;return!a&&!s}return!n.premium&&!e.managed}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(e)return u.default.getNick(e,n.id);if(t){var a=s.default.getChannel(t);if(a&&a.isManaged())return a.nicks[n.id]}return null}function r(e,t,n){return o(e,t,n)||n.username}t.__esModule=!0;var i=n(11),s=a(i),l=n(34),u=a(l);t.default={getNickname:o,getName:r},e.exports=t.default},function(e,t,n){"use strict";function a(e,t){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];var i=a.reduce(function(e,t){return e+(0,o.upperCaseFirstChar)(t)},""),s=""+t+i,l=e[s];return null==l?"":l}t.__esModule=!0,t.getClass=a;var o=n(1684)},,,,,,,,,,,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(164),r=a(o),i=n(16),s=a(i),l=n(1);t.default={_getCallContext:function(e){return{message_id:r.default.getMessageId(e)}},ring:function(e,t){return s.default.post({url:l.Endpoints.CALL_RING(e),body:{recipients:t},context:this._getCallContext(e)})},stopRinging:function(e,t){return s.default.post({url:l.Endpoints.CALL_STOP_RINGING(e),body:{recipients:t},context:this._getCallContext(e)})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(4),i=a(r),s=n(1),l=n(16),u=a(l);t.default={fetch:function(){u.default.get(s.Endpoints.CONNECTIONS).then(function(e){return i.default.dispatch({type:s.ActionTypes.USER_CONNECTIONS_UPDATE,local:!0,accounts:e.body})},function(){return i.default.dispatch({type:s.ActionTypes.USER_CONNECTIONS_UPDATE,local:!0,accounts:[]})})},authorize:function(e){return u.default.get(s.Endpoints.CONNECTIONS_AUTHORIZE(e))},callback:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return u.default.post({url:s.Endpoints.CONNECTIONS_CALLBACK(e),body:o({},t,{insecure:n})})},connect:function(e,t,n,a){u.default.put({url:s.Endpoints.CONNECTION(e,encodeURIComponent(t)),body:{name:n,friend_sync:s.UNSAFE_PLATFORM_TYPES.has(e)},context:{location:a}})},disconnect:function(e,t){u.default.delete(s.Endpoints.CONNECTION(e,encodeURIComponent(t)))},setVisibility:function(e,t,n){return this.update(e,t,{visibility:n})},setFriendSync:function(e,t,n){return this.update(e,t,{friend_sync:n})},update:function(e,t,n){return u.default.patch({url:s.Endpoints.CONNECTION(e,encodeURIComponent(t)),body:n})},joinServer:function(e){i.default.dispatch({type:s.ActionTypes.USER_CONNECTIONS_INTEGRATION_JOINING,integrationId:e,joining:!0}),u.default.post(s.Endpoints.INTEGRATIONS_JOIN(e),function(){i.default.dispatch({type:s.ActionTypes.USER_CONNECTIONS_INTEGRATION_JOINING,integrationId:e,joining:!1})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={selectGuild:function(e){r.default.dispatch({type:i.ActionTypes.DELAYED_GUILD_SELECT,guildId:e})},selectChannel:function(e,t){r.default.dispatch({type:i.ActionTypes.DELAYED_CHANNEL_SELECT,guildId:e,channelId:t})},flushSelection:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];r.default.dispatch({type:i.ActionTypes.DELAYED_SELECT_FLUSH,immediate:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(1),i=n(4),s=a(i),l=n(16),u=a(l);t.default={open:function(e){s.default.dispatch({type:r.ActionTypes.NOTIFICATION_SETTINGS_MODAL_OPEN,guildId:e})},close:function(){s.default.dispatch({type:r.ActionTypes.NOTIFICATION_SETTINGS_MODAL_CLOSE})},updateNotificationSettings:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];u.default.patch({url:r.Endpoints.USER_GUILD_SETTINGS(e||r.ME),body:t}),s.default.dispatch({type:r.ActionTypes.USER_GUILD_SETTINGS_UPDATE,userGuildSettings:[o({guild_id:e},t)],partial:n})},updateChannelOverrideSettings:function(e,t,n){var a;this.updateNotificationSettings(e,{channel_overrides:(a={},a[t]=n,a)},!0)}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.status,a=e.body;if(429===n)return setTimeout(t,e.body.retry_after),!1;if(403===n)switch(a&&a.code){case S.AbortCodes.TOO_MANY_REACTIONS:_.default.show({title:h.default.Messages.TOO_MANY_REACTIONS_ALERT_HEADER,body:h.default.Messages.TOO_MANY_REACTIONS_ALERT_BODY,confirmText:h.default.Messages.OKAY});break;case S.AbortCodes.REACTION_BLOCKED:b.ComponentDispatch.dispatch(S.ComponentActions.SHAKE_APP,{duration:200,intensity:2})}return!0}function r(e,t,n,a,o){m.default.dispatch({type:e,channelId:t,messageId:n,userId:o||E.default.getId(),emoji:a,optimistic:!0})}function i(e,t,n,a){var o=encodeURIComponent(null!=n.id?n.name+":"+n.id:n.name);return null!=a?S.Endpoints.REACTION(e,t,o,a):S.Endpoints.REACTIONS(e,t,o,a)}function s(e,t,n,a){return d.default.get({url:i(e,t,n),query:{limit:100,after:a}}).then(function(a){return m.default.dispatch({type:S.ActionTypes.MESSAGE_REACTION_ADD_USERS,channelId:e,messageId:t,users:a.body,emoji:n}),a.body})}function l(e,t,n){r(S.ActionTypes.MESSAGE_REACTION_ADD,e,t,n),d.default.put(i(e,t,n,"@me")).catch(function(a){o(a,function(){return l(e,t,n)})&&r(S.ActionTypes.MESSAGE_REACTION_REMOVE,e,t,n)})}function u(e,t){d.default.delete(S.Endpoints.REMOVE_REACTIONS(e,t)).catch(function(n){o(n,function(){return u(e,t)})})}function f(e,t,n,a){r(S.ActionTypes.MESSAGE_REACTION_REMOVE,e,t,n,a),d.default.delete(i(e,t,n,a||"@me")).catch(function(i){o(i,function(){return f(e,t,n,a)})&&r(S.ActionTypes.MESSAGE_REACTION_ADD,e,t,n,a)})}t.__esModule=!0,t.getReactions=s,t.addReaction=l,t.removeAllReactions=u,t.removeReaction=f;var c=n(16),d=a(c),p=n(3),h=a(p),g=n(4),m=a(g),v=n(17),E=a(v),y=n(107),_=a(y),b=n(36),S=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){u.default.get(d.Endpoints.USER_PROFILE(e)).then(function(e){s.default.dispatch(r({type:d.ActionTypes.USER_PROFILE_MODAL_FETCH_SUCCESS},e.body))},function(e){var t=e.body;return console.warn("fetchProfile error: "+t.code+" - "+t.message)})}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(4),s=a(i),l=n(16),u=a(l),f=n(10),c=a(f),d=n(1);t.default={open:function(e){c.default.getUser(e).bot||o(e),s.default.dispatch({type:d.ActionTypes.USER_PROFILE_MODAL_OPEN,userId:e})},push:function(e){o(e),s.default.dispatch({type:d.ActionTypes.USER_PROFILE_MODAL_PUSH,userId:e})},pop:function(){s.default.dispatch({type:d.ActionTypes.USER_PROFILE_MODAL_POP})},close:function(){s.default.dispatch({type:d.ActionTypes.USER_PROFILE_MODAL_CLOSE})},setSection:function(e){s.default.dispatch({type:d.ActionTypes.USER_PROFILE_MODAL_SET_SECTION,section:e})},fetchMutualFriends:function(e){u.default.get(d.Endpoints.USER_RELATIONSHIPS(e)).then(function(t){s.default.dispatch({type:d.ActionTypes.LOAD_MUTUAL_FRIENDS,userId:e,mutualFriends:t.body})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(5),c=a(f),d=n(766),p=n(72),h=a(p),g=n(48),m=a(g),v=n(3),E=a(v);n(2147);var y=["diablo","dota2","ffxiv","league","minecraft","wow"],_=y[Math.floor(Math.random()*y.length)],b=n(1224)("./"+_+".jpg"),S=n(3134),I=(0,d.backgroundImagePreloader)(function(e){return s.default.createElement("div",e)}),T=r("div",{className:"auth-tiling-bg"}),N=r("div",{className:"auth-brand"},void 0,r("div",{className:"auth-brand-inner"},void 0,r("div",{className:"auth-logo"}),r("div",{className:"auth-name"}))),A=s.default.createClass({displayName:"BaseAuthForm",mixins:[u.default,h.default],splashImageURL:function(){var e=this.props.invite;if(null==e)return b;var t=e.guild;return t?t.splash?m.default.getGuildSplashURL({id:t.id,splash:t.splash}):b:null},getInitialState:function(){return{hasRendered:!1,visible:!1,splashVisible:!1,splashImageURL:null}},componentDidMount:function(){var e=this;this.updateWidth(),this._timeout=this.setTimeout(function(){e.setState({visible:!0})},1e3),this.loadBackgroundImage(),this.setState({hasRendered:!0})},handleBGLoad:function(e,t){var n=this.splashImageURL();n&&n===t?this.setState({splashVisible:!e}):this.setState({visible:!0})},loadBackgroundImage:function(){var e=this.splashImageURL();null!=e&&e!=this.state.splashImageURL&&this.setState({splashImageURL:e})},componentWillUpdate:function(e,t){t.visible&&this.clearTimeout(this._timeout),e.invite!=this.props.invite&&this.loadBackgroundImage(e.invite)},componentDidUpdate:function(){this.updateWidth()},updateWidth:function(){var e=this.refs.copy,t=this.refs.org;e.style.width=t.offsetWidth+"px",e.style.height=t.offsetHeight+"px"},getDefaultProps:function(){return{invite:null,authFormClassNames:null}},render:function(){var e=this.state,t=e.visible,n=e.splashVisible,a=e.hasRendered,i=e.splashImageURL,l={className:"auth-tiling-bg",style:{backgroundImage:a?"url('"+S+"')":null}},u={className:"auth-background",style:{backgroundImage:a&&i?"url('"+i+"')":null}};return r("div",{className:(0,c.default)({"auth-wrap-background":!0,visible:t})},void 0,s.default.createElement(I,o({},l,{onBackgroundImageLoad:this.handleBGLoad})),r("div",{className:(0,c.default)({"auth-wrap-background":!0,visible:n})},void 0,s.default.createElement(I,o({},u,{onBackgroundImageLoad:this.handleBGLoad}))),r("div",{className:"auth-copyright"},void 0,E.default.Messages.ARTWORK_COPYRIGHT),r("div",{className:"auth-center"},void 0,s.default.createElement("div",{className:"auth-blur",ref:"copy"},T,s.default.createElement("div",l),r("div",{className:(0,c.default)({"auth-wrap-background":!0,visible:n})},void 0,s.default.createElement("div",u)))),r("div",{className:"auth-center"},void 0,s.default.createElement("div",{className:"auth-inner",ref:"org"},N,r("form",{className:(0,c.default)("auth-form form",this.props.authFormClassNames),onSubmit:this.props.onSubmit},void 0,this.props.children))))}});t.default=A,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(6),f=a(u),c=n(5),d=a(c),p=n(2),h=a(p),g=n(3),m=a(g),v=n(7),E=a(v),y=n(257),_=a(y),b=n(61),S=a(b),I=n(508),T=a(I),N=n(746),A=a(N),M=n(1368),C=a(M),O=n(731),D=a(O),L=n(192),R=n(97),x=a(R),w=n(13),P=a(w),k=n(10),U=a(k),G=n(34),j=a(G),F=n(12),B=a(F),V=n(214),H=a(V),z=n(194),W=a(z);n(2258);var Y=function(e){var t=e.name,n=e.label,a=e.body;return i("div",{className:"section "+t},void 0,i("div",{className:"label"},void 0,i("span",{className:"icon icon-"+t}),n),a)},K=i("span",{className:"live"}),Q=i("div",{className:"avatar-hint"},void 0,"View Profile"),Z=l.default.createClass({displayName:"UserPopout",mixins:[h.default.LazyStoreListenerMixin(j.default),f.default],getDefaultProps:function(){return{setNote:!1}},getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=this.props,t=e.guildId,n=e.user,a=e.channelId,o=U.default.getCurrentUser(),r=o===n,i=null!=t?j.default.getMember(t,n.id):null,s=i?i.roles:[],l=W.default.getNickname(t,a,n);return{me:r,guild:null!=t?B.default.getGuild(t):null,activity:x.default.getActivity(n.id),status:n.isNonUserBot()?null:x.default.getStatus(n.id),userRoles:s,guildMember:i,nickname:l}},close:function(){var e=this.props.onClose;e&&e()},handleViewProfile:function(){H.default.open(this.props.user.id),this.close()},render:function(){var e=this.state,t=e.me,n=e.guild,a=e.activity,s=e.status,u=e.userRoles,f=e.guildMember,c=e.nickname,p=this.props,h=p.user,g=p.popoutKey,v=p.setNote,y=p.onClose,b=(p.guildId,p.channelId,o(p,["user","popoutKey","setNote","onClose","guildId","channelId"])),I=h.isNonUserBot(),N=u.length,M=!1;t||(0,E.default)(j.default.memberOf(h.id)).map(function(e){return P.default.isGuildRestricted(e)}).forEach(function(e){e||(M=!0)});var O=null;f&&(O=i(Y,{name:"roles",label:m.default.Messages.ROLES_LIST.format({numRoles:N}),body:i(D.default,{guild:n,user:h,userRoles:u,popoutKey:g})}));var R=(0,L.isStreaming)(a),x=void 0;return R&&(x=i("a",{className:"live-on-twitch",href:(0,L.getStreamURL)(a),target:"_blank",rel:"noreferrer"},void 0,K,m.default.Messages.LIVE_ON_TWITCH)),l.default.createElement("div",r({className:"user-popout"},b),i("header",{className:(0,d.default)("header",{streaming:R})},void 0,i("div",{className:(0,d.default)("avatar-wrapper",{"no-hover":I}),onClick:!I&&this.handleViewProfile},void 0,Q,i(S.default,{user:h,size:"popout",status:s,animate:!0})),i("div",{className:(0,d.default)("username-wrapper",{"has-nickname":c&&c.length})},void 0,c&&i("div",{className:"nickname"},void 0,c),i(_.default,{user:h,invertBotColor:!0,hideDiscriminator:I}),a&&i("div",{className:"activity"},void 0,(0,L.renderActivity)(a)),x)),!I&&i("div",{className:"body"},void 0,O,i(Y,{name:"notes",label:m.default.Messages.NOTE,body:i(A.default,{userId:h.id,autoFocus:v})})),!I&&i("div",{className:"footer"},void 0,M&&i("div",{className:"quick-message-wrapper"},void 0,i(C.default,{user:h,autoFocus:!v,onClose:y})),i("div",{className:"update-notice"},void 0,i(T.default,{type:"inline",tip:m.default.Messages.CONTEXT_MENU_HINT}))))}});t.default=Z,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(6),p=a(d),h=n(143),g=a(h),m=n(87),v=a(m),E=n(1),y=4,_=function(){function e(t,n,a,o){r(this,e),this.height=t,this.paddingTop=a,this.paddingBottom=o,this.numberOfChildren=n}return e.prototype.getTotalScrollableHeight=function(){return this.height*this.numberOfChildren+this.paddingTop+this.paddingBottom},e.prototype.getDisplayIndexStart=function(e){return Math.floor(Math.max(e-this.paddingTop,0)/this.height)},e.prototype.getDisplayIndexEnd=function(e){return Math.ceil(e/this.height)},e.prototype.getTopSpacerHeight=function(e){return e*this.height+this.paddingTop},e.prototype.getBottomSpacerHeight=function(e){var t=this.numberOfChildren,n=this.height,a=this.paddingBottom;return Math.max(0,(t-e)*n)+a},e}(),b=u.default.createClass({displayName:"LazyScroller",mixins:[v.default,p.default],statics:{Themes:g.default.Themes},getDefaultProps:function(){return{track:!0,paddingTop:0,paddingBottom:0,batchEndMultiplier:1.1,theme:g.default.Themes.GHOST}},getInitialState:function(){var e=this.props,t=e.elementHeight,n=e.children,a=e.paddingTop,o=e.paddingBottom;return{computer:this.createComputer(t,n,a,o),displayIndexStart:0,displayIndexEnd:0,scrolling:!1}},getSubscriptions:function(){if(this.props.keyboardScroll){var e;return e={},e[E.ComponentActions.SCROLL_PAGE_DOWN]=this.scrollPageDown,e[E.ComponentActions.SCROLL_PAGE_UP]=this.scrollPageUp,e}return null},createComputer:function(e,t,n,a){return new _(e,u.default.Children.count(t),n,a)},componentDidMount:function(){this.setState(this.getStateFromScroller())},componentWillReceiveProps:function(e){u.default.Children.count(this.props.children)===u.default.Children.count(e.children)&&this.props.elementHeight===e.elementHeight||this.setState(this.getStateFromScroller(e))},componentDidUpdate:function(e,t){t.containerHeight!==this.getContainerHeight()&&this.setState(this.getStateFromScroller())},componentWillUnmount:function(){clearTimeout(this._scrollingTimeout)},getScrollTop:function(){return this._scrollerRef.getScrollData().scrollTop},getContainerHeight:function(){return this._scrollerRef.getScrollData().offsetHeight},getStateFromScroller:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=e.paddingTop,n=e.paddingBottom,a=this.createComputer(e.elementHeight,e.children,t,n),o=this.getScrollTop(),r=this.getContainerHeight(),i=Math.ceil(r/y),s=Math.floor((o+t)/i),l=i*s,u=l+Math.ceil(i*y*e.batchEndMultiplier);return{containerHeight:r,computer:a,displayIndexStart:a.getDisplayIndexStart(Math.max(0,l-i)),displayIndexEnd:a.getDisplayIndexEnd(Math.min(a.getTotalScrollableHeight(),u+i))}},handleResize:function(e){this.setState(this.getStateFromScroller()),this.props.onResize&&this.props.onResize(e)},handleScroll:function(e){var t=this;clearTimeout(this._scrollingTimeout),this._scrollingTimeout=setTimeout(function(){t.isMounted()&&t.setState({scrolling:!1})},100);var n=this.getStateFromScroller();n.scrolling=!0,this.setState(n),this.props.onScroll&&this.props.onScroll(e)},getScrollerNode:function(){return this._scrollerRef._scrollerRef},scrollIntoViewRect:function(e,t,n){this._scrollerRef.scrollIntoViewRect(e,t,n)},scrollIndexIntoView:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,bottom:0},a=this.props,o=a.paddingTop,r=a.elementHeight;this._scrollerRef.scrollIntoViewRect(Math.max(e*r+o-n.top,0),e*r+r+o+n.bottom,t)},scrollIntoView:function(e,t){this._scrollerRef.scrollIntoView(e,t)},scrollTo:function(e,t){this._scrollerRef.scrollTo(e,t)},scrollPageUp:function(){var e=this._scrollerRef;e&&e.scrollPageUp(!0,!0)},scrollPageDown:function(){var e=this._scrollerRef;e&&e.scrollPageDown(!0,!0)},buildHeightStyle:function(e){return{width:"100%",height:Math.ceil(e)+"px"}},setScrollerRef:function(e){this._scrollerRef=e},render:function(){var e=this.state,t=e.computer,n=e.scrolling,a=e.displayIndexStart,r=e.displayIndexEnd,l=this.props,f=l.theme,d=l.className,p=l.children,h=o(l,["theme","className","children"]),m=p.slice(a,r),v=t.getTopSpacerHeight(a),E=t.getBottomSpacerHeight(r),y=(0,c.default)(d,{scrolling:n});return u.default.createElement(g.default,i({},h,{className:y,ref:this.setScrollerRef,theme:f,onResize:this.handleResize,onScroll:this.handleScroll}),s("div",{style:this.buildHeightStyle(v)}),m,s("div",{style:this.buildHeightStyle(E)}))}});t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.ContentTypes=t.LazyContentScroller=t.SectionTypes=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(5),p=a(d),h=n(1655),g=a(h),m=n(143),v=a(m),E=n(217),y=a(E),_=n(73),b=a(_),S=n(24),I=a(S),T=n(850),N=a(T),A=n(1);n(2134);t.SectionTypes={HEADER:"HEADER",DIVIDER:"DIVIDER",CUSTOM:"CUSTOM"};(t.LazyContentScroller=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.renderHeader=a.renderHeader.bind(a),a}return s(t,e),t.prototype.renderHeader=function(){return u("div",{className:"custom-header"},void 0,this.props.header)},t.prototype.renderContent=function(){var e=this.props,t=e.children,n=(e.header,o(e,["children","header"]));return u("div",{className:"custom-container"},void 0,c.default.createElement(y.default,l({},n,{theme:E.Themes.GHOST,renderStickyHeader:this.renderHeader,className:"custom-scroller"}),t))},t.prototype.render=function(){return u("div",{className:"custom-column"},void 0,this.renderContent())},t}(c.default.PureComponent)).defaultProps={paddingTop:0,paddingBottom:60,batchEndMultiplier:1};var M={friction:7,tension:60},C=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.state={translateY:new I.default.Value(0)},a}return s(t,e),t.prototype.componentDidMount=function(){this.slideIn()},t.prototype.componentWillEnter=function(e){this.slideIn(e)},t.prototype.componentWillLeave=function(e){this.slideOut(e)},t.prototype.slideIn=function(e){var t=this.state.translateY;I.default.spring(t,l({toValue:1},M)).start(e)},t.prototype.slideOut=function(e){var t=this.state.translateY;I.default.stagger(250,[I.default.spring(t,l({toValue:1.3},M)),I.default.spring(t,l({toValue:0},M))]).start(e)},t.prototype.render=function(){return u(I.default.div,{className:"notice-region",style:this.getNoticeStyle()},void 0,this.props.children)},t.prototype.getNoticeStyle=function(){return{transform:[{translateY:this.state.translateY.interpolate({inputRange:[0,1],outputRange:["150%","0%"]})},{translateZ:0}]}},t}(c.default.PureComponent),O=t.ContentTypes={MINIMAL:"minimal",CUSTOM:"custom",DEFAULT:"default"},D=u("div",{className:"esc-text"},void 0,"ESC"),L=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.setScrollerRef=a.setScrollerRef.bind(a),a}return s(t,e),t.prototype.componentDidUpdate=function(e){e.section!==this.props.section&&this.resetScroll()},t.prototype.resetScroll=function(){null!=this._scroller&&this._scroller.scrollTo(0)},t.prototype.setScrollerRef=function(e){this._scroller=e},t.prototype.renderTools=function(){var e=this.props,t=e.closeAction,n=e.theme;return null==t?null:u("div",{className:"tools"},void 0,u("div",{className:"btn-close",onClick:t},void 0,u(g.default,{fill:A.ThemeTypes.DARK===n?A.Colors.PRIMARY_200:A.Colors.PRIMARY_400,width:18,height:18})),D)},t.prototype.renderNotice=function(){var e=this.props,t=e.notice,n=e.section;return null==t?null:u(C,{},n,t)},t.prototype.renderContent=function(){var e=this.props,t=e.content,n=e.theme,a=e.contentType;if(a===O.CUSTOM)return u(b.default,{component:"div",className:"content-region"},void 0,t,this.renderTools(),this.renderNotice());var o=n===A.ThemeTypes.LIGHT?A.Colors.WHITE:A.Colors.PRIMARY_600,r=a||O.DEFAULT;return u(b.default,{component:"div",className:"content-region"},void 0,u("div",{className:"content-transition-wrap"},void 0,c.default.createElement(v.default,{track:!0,theme:v.default.Themes.GHOST,ref:this.setScrollerRef,backgroundColor:o},u("div",{className:(0,p.default)("content-column",r)},void 0,t),this.renderTools())),this.renderNotice())},t.prototype.renderSidebar=function(){var e=this.props,t=e.sidebar,n=e.theme,a=n===A.ThemeTypes.LIGHT?N.default.darken(A.Colors.PRIMARY_100,.015):A.Colors.PRIMARY_630;return u("div",{className:"sidebar-region"},void 0,u(v.default,{fade:!0,theme:v.default.Themes.GHOST,backgroundColor:a},void 0,u("div",{className:"sidebar"},void 0,t)))},t.prototype.render=function(){return u("div",{className:"ui-standard-sidebar-view"},void 0,this.renderSidebar(),this.renderContent())},t}(c.default.PureComponent);t.default=L},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(0),r=a(o),i=n(23),s=a(i),l=n(6),u=a(l),f=n(2),c=a(f),d=n(528),p=a(d),h=n(719),g=a(h),m=n(90),v=a(m),E=n(268),y=a(E),_="top",b="left",S="right",I="bottom",T=r.default.createClass({displayName:"TutorialIndicator",mixins:[c.default.StoreListenerMixin(p.default,v.default,y.default),u.default],statics:{TOP:_,LEFT:b,RIGHT:S,BOTTOM:I},getDefaultProps:function(){return{position:_,offsetX:0,offsetY:0,offsetXPercent:0,offsetYPercent:0}},getStateFromStores:function(){var e=y.default.hasLayers();return{layerShown:e,visible:!e&&p.default.shouldShow(this.props.tutorialId),windowSize:v.default.windowSize()}},componentDidUpdate:function(e,t){var n=e.position,a=e.offsetX,o=e.offsetY,r=e.offsetXPercent,i=e.offsetYPercent,s=e.tutorialId,l=t.visible,u=t.windowSize;s!==this.props.tutorialId?(g.default.hide(s),this.setState({visible:!this.state.layerShown&&p.default.shouldShow(this.props.tutorialId)})):l===this.state.visible&&n===this.props.position&&a==this.props.offsetX&&o==this.props.offsetY&&r==this.props.offsetXPercent&&i==this.props.offsetYPercent&&u===this.state.windowSize||this.show(this.state.visible)},componentDidMount:function(){this.show(this.state.visible)},componentWillUnmount:function(){this.show(!1)},show:function(e){var t=this.props,n=t.tutorialId,a=t.position,o=t.offsetX,r=t.offsetY,i=t.offsetXPercent,l=t.offsetYPercent,u=this.state,f=u.layerShown,c=u.visible;if(e){var d=s.default.findDOMNode(this).getBoundingClientRect(),p=d.top,h=d.left,m=d.right,v=d.bottom;g.default.show(n,{position:a,targetWidth:m-h,targetHeight:v-p,x:h,y:p,offset:{x:o,y:r},offsetPercent:{x:i,y:l}})}else(c||f)&&g.default.hide(n)},render:function(){return r.default.Children.only(this.props.children)}});t.default=T,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var a=n(263);Object.defineProperty(t,"DeviceTypes",{enumerable:!0,get:function(){return a.DeviceTypes}}),Object.defineProperty(t,"InputModes",{enumerable:!0,get:function(){return a.InputModes}}),Object.defineProperty(t,"ConnectionStates",{enumerable:!0,get:function(){return a.ConnectionStates}}),Object.defineProperty(t,"DEFAULT_VOLUME",{enumerable:!0,get:function(){return a.DEFAULT_VOLUME}}),Object.defineProperty(t,"DEFAULT_BITRATE",{enumerable:!0,get:function(){return a.DEFAULT_BITRATE}}),Object.defineProperty(t,"DEFAULT_DEVICE_ID",{enumerable:!0,get:function(){return a.DEFAULT_DEVICE_ID}}),Object.defineProperty(t,"DISABLED_DEVICE_ID",{enumerable:!0,get:function(){return a.DISABLED_DEVICE_ID}}),Object.defineProperty(t,"Features",{enumerable:!0,get:function(){return a.Features}});t.SUPPORTED_BROWSERS={Firefox:38,Chrome:37,Opera:27,"Node.js":6}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return null!=e?e:null}function l(e){var t=!1,n=!1,a=0,o=W[e];if(null==o&&(u(),o=W[e]||new Set),o.forEach(function(t){null!==e&&(n=n||!G.default.isGuildOrChannelMuted(e,t)&&R.default.hasUnread(t)),a+=R.default.getMentionCount(t)}),n){if(!H[e]){var r;H=I({},H,(r={},r[e]=!0,r)),t=!0}}else H[e]&&(H=I({},H),delete H[e],t=!0);if(z[e]!==a){var i;z=I({},z,(i={},i[e]=a,i)),t=!0}return t}function u(){W={},M.default.forEach(k.default.getChannels(),function(e){if(e.type!==D.ChannelTypes.GUILD_VOICE&&(e.isPrivate()||F.default.can(D.Permissions.READ_MESSAGES,{channelId:e.id}))){var t=e.guild_id,n=W[t];null==n&&(n=new Set,W[t]=n),n.add(e.id)}})}function f(e){return u(),l(e)}function c(e,t){var n=k.default.getChannel(e);if(null!=n)return t(s(n.guild_id));for(var a=Object.keys(W),o=Array.isArray(a),r=0,a=o?a:a[Symbol.iterator]();;){var i;if(o){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var l=i;if(W[l].has(e))return t(s(l))}return!1}function d(e){var t=e.guilds;H={},z={},u(),l(null),t.forEach(function(e){return l(e.id)})}function p(e){return f(e.guild.id)}function h(e){var t=e.guild;H[t.id]&&(H=I({},H),delete H[t.id]),null!=z[t.id]&&(z=I({},z),delete z[t.id]),delete W[t.id]}function g(e){var t=e.channel;return c(t.id,function(e){return W[e].delete(t.id),l(e)})}function m(){return c(w.default.getChannelId(),l)}function v(e){var t=e.user,n=e.guildId;return t.id===V.default.getId()&&f(n)}function E(e){return c(e.channelId,l)}function y(e){return c(e.channel.id,f)}function _(e){return l(e.guildId)}function b(e){return f(e.guildId)}function S(){Object.keys(H).forEach(l)}t.__esModule=!0;var I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},T=n(2),N=a(T),A=n(7),M=a(A),C=n(4),O=a(C),D=n(1),L=n(89),R=a(L),x=n(19),w=a(x),P=n(11),k=a(P),U=n(104),G=a(U),j=n(65),F=a(j),B=n(17),V=a(B),H={},z={},W={},Y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(k.default,w.default,R.default,F.default,V.default,G.default)},t.prototype.hasAnyUnread=function(){return Object.keys(H).length>0},t.prototype.getUnreadGuilds=function(){return H},t.prototype.hasUnread=function(e){return null!=H[e]&&H[e]>0},t.prototype.getMentionCounts=function(){return z},t.prototype.getUnreadGuildsIgnoreMuted=function(e){var t=W[e];return t&&Array.from(t).some(function(e){return R.default.hasUnread(e)})},t.prototype.getTotalMentionCount=function(){return(0,M.default)(z).values().sum()},t}(N.default.Store);t.default=new Y(O.default,{CONNECTION_OPEN:d,GUILD_CREATE:p,GUILD_DELETE:h,MESSAGE_CREATE:E,MESSAGE_ACK:E,CHANNEL_SELECT:E,UPDATE_CHANNEL_DIMENSIONS:E,CHANNEL_DELETE:g,WINDOW_FOCUS:m,GUILD_ACK:_,GUILD_ROLE_CREATE:b,GUILD_ROLE_DELETE:b,GUILD_ROLE_UPDATE:b,CHANNEL_CREATE:y,CHANNEL_UPDATE:y,GUILD_MEMBER_UPDATE:v,USER_GUILD_SETTINGS_UPDATE:S}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.modal,n=e.props,a=e.key;E.push({modal:t,props:n,key:a})}function l(){E.push(null)}function u(e){var t=e.key;t?v.default.remove(E,{key:t}):E.pop()}function f(e){var t=e.key,n=e.props,a=e.partial,o=void 0===a||a,r=v.default.findIndex(E,{key:t});if(r===-1)return!1;var i=E[r],s=o?c({},i.props,n):n;E[r]=c({},i,{props:s})}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d=n(2),p=a(d),h=n(4),g=a(h),m=(n(1),n(7)),v=a(m),E=[],y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getModal=function(){return E[E.length-1]},t.prototype.hasModalOpen=function(){return E.length>0},t.prototype.isModalOpen=function(e){return!!v.default.find(E,function(t){return t&&t.modal===e})},t}(p.default.Store);t.default=new y(g.default,{MODAL_PUSH:s,MODAL_POP:u,MODAL_UPDATE:f,GUILD_SETTINGS_OPEN:l,USER_SETTINGS_MODAL_OPEN:l,CREATE_GUILD_MODAL_OPEN:l,CHANNEL_SETTINGS_OPEN:l,CREATE_CHANNEL_MODAL_OPEN:l,NOTIFICATION_SETTINGS_MODAL_OPEN:l,USER_PROFILE_MODAL_OPEN:l,CHANGE_NICKNAME_MODAL_OPEN:l,CHANGE_LOG_OPEN:l,PAYMENT_MODAL_OPEN:l,SCREENSHARE_MODAL_OPEN:l,EMAIL_VERIFICATION_MODAL_OPEN:l,MENTION_MODAL_OPEN:l,GUILD_SETTINGS_CLOSE:u,USER_SETTINGS_MODAL_CLOSE:u,CREATE_GUILD_MODAL_CLOSE:u,CHANNEL_SETTINGS_CLOSE:u,CREATE_CHANNEL_MODAL_CLOSE:u,NOTIFICATION_SETTINGS_MODAL_CLOSE:u,USER_PROFILE_MODAL_CLOSE:u,CHANGE_NICKNAME_MODAL_CLOSE:u,CHANGE_LOG_CLOSE:u,PAYMENT_MODAL_CLOSE:u,SCREENSHARE_MODAL_CLOSE:u,EMAIL_VERIFICATION_MODAL_CLOSE:u,MENTION_MODAL_CLOSE:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e){if(de=e.focused){var t=W.default.getChannelId();null!=t&&he.clearChannel(t)}}function u(e){var t=e.channelId,n=e.message,a=j.default.getChannel(t);if(null==a)return!1;var o=H.default.getUser(n.author.id),r=H.default.getCurrentUser();return o.id!=r.id&&(!J.default.isBlocked(o.id)&&(Z.default.getStatus()!==oe.StatusTypes.DND&&(!K.default.allowNoMessages(a)&&(K.default.allowAllMessages(a)?f(a,n,o):P.default.isMentioned(r,n)?f(a,n,o):void 0))))}function f(e,t,n){if(de&&e.id===W.default.getChannelId())return!1;if(e.isManaged())return!1;var a=te.default.getName(e.getGuildId(),e.id,n);switch(e.type){case oe.ChannelTypes.GUILD_TEXT:if(t.type===oe.MessageTypes.DEFAULT)a=a+" ("+e.toString(!0)+")";else{var o=B.default.getGuild(e.getGuildId());null!=o&&(a=o.name+" ("+e.toString(!0)+")")}break;case oe.ChannelTypes.GROUP_DM:e.isManaged()&&n.bot&&a==e||(a=a+" ("+e.toString(!0)+")")}var r=t.content;if(t.type!==oe.MessageTypes.DEFAULT&&(r=U.default.stringify(t),null==r))return console.warn("SystemMessageUtils.stringify(...) could not convert",t),!1;var i=P.default.unparse(r,e.id);if(!i.length&&t.attachments.length){var s=t.attachments[0].filename;i=ie.default.Messages.NOTIFICATION_BODY_ATTACHMENT.format({filename:s})}if(!i.length&&t.embeds.length){var l=t.embeds[0];if(null!=l.description)i=null!=l.title?l.title+": "+l.description:l.description;else if(null!=l.title)i=l.title;else if(null!=l.fields){var u=l.fields[0];i=u.name+": "+u.value}}var f=n.getAvatarURL();N.default.dirtyDispatch({type:oe.ActionTypes.RPC_NOTIFICATION_CREATE,channelId:e.id,message:t,icon:f,title:a,body:i});var c=ce.disabledSounds.indexOf(le)===-1;if(ce.desktopType===oe.DesktopNotificationTypes.NEVER)return c&&x.playSound(le,ue),!1;var d=M.default.showNotification(f,a,i,{tag:e.id,sound:c?le:null,volume:ue,onClick:function(){$.default.track(oe.AnalyticEvents.NOTIFICATION_CLICKED,{notif_type:oe.ActionTypes.MESSAGE_CREATE,notif_user_id:t.author.id,message_id:t.id,message_type:t.type,channel_id:e.id,channel_type:e.type,guild_id:e.guild_id}),O.default.transitionTo(oe.Routes.CHANNEL(e.getGuildId()||oe.ME,e.id)),ae.default.clickedNotification()}});null!=d&&he.track(e.id,d)}function c(e){var t=e.desktopType;ce.desktopType=t,I.default.set(se,ce)}function d(e){var t=e.sounds;ce.disabledSounds=t,I.default.set(se,ce)}function p(e){var t=e.ttsType;ce.ttsType=t,I.default.set(se,ce)}function h(e){var t=e.disableUnreadBadge;ce.disableUnreadBadge=t,I.default.set(se,ce)}function g(e){var t=e.enabled,a=e.source;pe=t,$.default.track("enable_notifications",{enabled:t===oe.NotificationPermissionTypes.ENABLED,source:a}),pe===oe.NotificationPermissionTypes.BLOCKED?c({desktopType:oe.DesktopNotificationTypes.NEVER}):pe===oe.NotificationPermissionTypes.ENABLED&&(c({desktopType:oe.DesktopNotificationTypes.ALL}),L.default.embedded||M.default.showNotification(n(1174),ie.default.Messages.NOTIFICATION_TITLE_DISCORD,ie.default.Messages.BROWSER_NOTIFICATIONS_ENABLED_BODY,{sound:le,volume:ue,tag:"hello",onClick:function(){window.focus()}}))}function m(e){var t=e.channelId;return null!=t&&he.clearChannel(t),!1}function v(e){var t=e.channelId;return he.clearChannel(t),!1}function E(e){var t=e.userId,n=e.activity;switch(n.type){case oe.ActivityTypes.PLAYING:var a=H.default.getUser(t);if(null==a)return!1;var o=a.toString(),r=n.name,i=a.getAvatarURL(),s=ie.default.Messages.NOTIFICATION_TITLE_START_GAME,l=ie.default.Messages.NOTIFICATION_BODY_START_GAME.format({username:o,gameName:r});return M.default.showNotification(i,s,l,{sound:le,volume:ue}),!1;default:return!1}}function y(e){var t=e.icon,n=e.title,a=e.body,o=e.options;return ce.desktopType!==oe.DesktopNotificationTypes.NEVER&&M.default.showNotification(t,n,a,o),!1}t.__esModule=!0;var _=n(2),b=o(_),S=n(25),I=o(S),T=n(4),N=o(T),A=n(841),M=o(A),C=n(42),O=o(C),D=n(18),L=o(D),R=n(230),x=a(R),w=n(146),P=o(w),k=n(844),U=o(k),G=n(11),j=o(G),F=n(12),B=o(F),V=n(10),H=o(V),z=n(19),W=o(z),Y=n(104),K=o(Y),Q=n(269),Z=o(Q),X=n(43),J=o(X),q=n(29),$=o(q),ee=n(194),te=o(ee),ne=n(352),ae=o(ne),oe=n(1),re=n(3),ie=o(re),se="notifications",le="message1",ue=.4,fe=5,ce={},de=!0,pe=oe.NotificationPermissionTypes.NEVER,he=new(function(){function e(){s(this,e),this._channels={}}return e.prototype.track=function(e,t){var n=this._channels[e];for(null==n&&(n=[],this._channels[e]=n),n.push(t);n.length>fe;)n.shift().close()},e.prototype.clearChannel=function(e){var t=this._channels[e];null!=t&&(delete this._channels[e],t.forEach(function(e){return e.close()}))},e}()),ge=function(e){function t(){return s(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){ce=I.default.get(se)||ce,ce.disabledSounds=ce.disabledSounds||[],ce.disableUnreadBadge=ce.disableUnreadBadge||!1,ce.ttsType=ce.ttsType||oe.TTSNotificationTypes.NEVER,null==ce.desktopType&&(ce.desktopType=L.default.embedded?oe.DesktopNotificationTypes.ALL:oe.DesktopNotificationTypes.NEVER),pe=M.default.hasPermission()?oe.NotificationPermissionTypes.ENABLED:oe.NotificationPermissionTypes.NEVER,this.waitFor(H.default,j.default)},t.prototype.getDesktopType=function(){return ce.desktopType},t.prototype.getTTSType=function(){return ce.ttsType},t.prototype.getDisabledSounds=function(){return ce.disabledSounds},t.prototype.getDisableUnreadBadge=function(){return ce.disableUnreadBadge},t.prototype.isSoundDisabled=function(e){return ce.disabledSounds.indexOf(e)!==-1},t.prototype.isFocused=function(){return de},t}(b.default.Store);t.default=new ge(N.default,{NOTIFICATIONS_SET_DESKTOP_TYPE:c,NOTIFICATIONS_SET_TTS_TYPE:p,NOTIFICATIONS_SET_DISABLED_SOUNDS:d,NOTIFICATIONS_SET_PERMISSION_STATE:g,NOTIFICATIONS_SET_DISABLE_UNREAD_BADGE:h,NOTIFICATION_CREATE:y,WINDOW_FOCUS:l,MESSAGE_CREATE:u,CHANNEL_SELECT:m,MESSAGE_ACK:v,ACTIVITY_START:E}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){J=!0}function l(){J=!1}function u(e){return null==X[e]&&(X[e]={searchId:e,searchType:f(e),isIndexing:!1,isHistoricalIndexing:!1,isSearching:!1,analyticsId:null,editorState:null,offset:null,query:null,hasError:!1,searchFetcher:null,searchResults:null,totalResults:null,documentsIndexed:null,resultsBlocked:0,showBlockedResults:!1,showNoResultsAlt:!1}),X[e]}function f(e){return B.default.getGuild(e)?P.SearchTypes.GUILD:H.default.getChannel(e)?P.SearchTypes.CHANNEL:null}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(null==e)return n;var a=X[e];return null==a?n:t(a)}function d(e){var t=e.searchId,n=e.editorState;u(t).editorState=n}function p(e){var t=e.searchId;t&&u(t)}function h(e){var t=e.queryString,n=e.searchId,a=e.query,o=u(n);o.searchFetcher&&(o.searchFetcher.cancel(),o.searchFetcher=null);var r=new R.default(n,o.searchType,a);o.searchFetcher=r,o.isSearching=!0,o.searchResults=null,o.analyticsId=null,o.query=A.default.omit(a,"type"),o.offset=a.offset?a.offset:0,o.showBlockedResults=!1,g(n,t),r.fetch(function(e){w.default.dispatch({type:P.ActionTypes.SEARCH_FINISH,searchId:n,analyticsId:e.body.analytics_id,totalResults:e.body.total_results,messages:e.body.messages,hasError:!1,doingHistoricalIndex:e.body.doing_deep_historical_index,documentsIndexed:e.body.documents_indexed})},function(){w.default.dispatch({type:P.ActionTypes.SEARCH_INDEXING,searchId:n})},function(){w.default.dispatch({type:P.ActionTypes.SEARCH_FINISH,searchId:n,messages:[],totalResults:0,analyticsId:null,hasError:!0,doingHistoricalIndex:!1,documentsIndexed:0})})}function g(e,t){if("string"==typeof t){var n=te[e]=te[e]||[];t=t.trim();var a=n.indexOf(t);a!==-1?(n.splice(a,1),n.unshift(t)):n[0]&&t.startsWith(n[0])?n[0]=t:a<0&&n.unshift(t),n.length>5&&n.splice(5,n.length),D.default.set(q,{history:te})}}function m(e){var t=e.searchId,n=u(t);n.isIndexing=!0,n.isHistoricalIndexing=!0,n.isSearching=!1}function v(e){var t=e.searchId,n=u(t);n.isSearching=!1,n.isIndexing=!1,n.isHistoricalIndexing=e.doingHistoricalIndex,n.searchFetcher=null,n.totalResults=e.totalResults,n.hasError=e.hasError,n.analyticsId=e.analyticsId,n.documentsIndexed=e.documentsIndexed,n.showNoResultsAlt=Math.random()<Z;var a=n.query;if(!a)return void(n.hasError=!0);var o=(0,Q.createASTHighlighter)(a.content||""),r=0;n.searchResults=(0,A.default)(e.messages).map(function(e){return e.map(function(e){return K.default.create(e,o)})}).map(function(e){return e.filter(function(e){var t=W.default.isBlocked(e.message.author.id);return t&&e.hit&&r++,!t||e.hit})}).value(),n.resultsBlocked=r}function E(e){var t=e.searchId,n=X[t];if(null==n)return!1;null!=n.searchFetcher&&n.searchFetcher.cancel(),delete X[t]}function y(){var e=j.default.getGuildId(),t=U.default.getChannelId(e),n=e||t;if(n===ne)return!1;n&&!X[n]&&u(n),ne=n}function _(e){var t=e.searchId;null==t?(D.default.remove(q),te={}):(delete te[t],D.default.set(q,{history:te}))}function b(e){return Object.keys(e).forEach(function(t){Array.isArray(e[t])&&(e[t]=e[t].filter(function(e){return"string"==typeof e&&e.trim()})),Array.isArray(e[t])&&e[t].length||delete e[t]}),e}function S(e){var t=e.searchId,n=e.showBlocked;u(t).showBlockedResults=n}function I(){Object.keys(X).forEach(function(e){null!=X[e]&&(X[e].searchType=f(e))})}function T(){D.default.remove(q),te={}}t.__esModule=!0;var N=n(7),A=a(N),M=n(2),C=a(M),O=n(25),D=a(O),L=n(1547),R=a(L),x=n(4),w=a(x),P=n(1),k=n(19),U=a(k),G=n(35),j=a(G),F=n(12),B=a(F),V=n(11),H=a(V),z=n(43),W=a(z),Y=n(1580),K=a(Y),Q=n(1575),Z=.05,X={},J=!1,q="SearchStore",$="tokenized",ee=!1,te={},ne=null,ae=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(U.default,j.default,B.default,H.default);var e=D.default.get(q);e&&e.history&&(te=b(e.history)),ee=!!D.default.get($)||0},t.prototype.isOpen=function(){return J},t.prototype.getCurrentSearchId=function(){return ne},t.prototype.isActive=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne;return null!=e&&(this.isIndexing(e)||this.isSearching(e)||this.hasResults(e))},t.prototype.isTokenized=function(){return ee},t.prototype.getSearchType=function(e){return c(e||ne,function(e){return e.searchType})},t.prototype.getResults=function(e){return c(e,function(e){return e.searchResults})},t.prototype.hasResults=function(e){return null!=c(e,function(e){return e.searchResults})},t.prototype.isIndexing=function(e){return c(e,function(e){return e.isIndexing})||!1},t.prototype.isHistoricalIndexing=function(e){return c(e,function(e){return e.isHistoricalIndexing})||!1},t.prototype.isSearching=function(e){return c(e,function(e){return e.isSearching})||!1},t.prototype.getAnalyticsId=function(e){return c(e,function(e){return e.analyticsId})},t.prototype.getResultsBlocked=function(e){return c(e,function(e){return e.resultsBlocked})},t.prototype.getDocumentsIndexedCount=function(e){return c(e,function(e){return e.documentsIndexed})},t.prototype.getSearchFetcher=function(e){return c(e,function(e){return e.searchFetcher})},t.prototype.getTotalResults=function(e){return c(e,function(e){return e.totalResults})||0},t.prototype.getEditorState=function(e){return c(e,function(e){return e.editorState})},t.prototype.getHistory=function(e){return te[e]},t.prototype.getOffset=function(e){return c(e,function(e){return e.offset})||0},t.prototype.getQuery=function(e){return c(e,function(e){return e.query})},t.prototype.hasError=function(e){return c(e,function(e){return e.hasError})||!1},t.prototype.shouldShowBlockedResults=function(e){return c(e,function(e){return e.showBlockedResults},!1)||!1},t.prototype.shouldShowNoResultsAlt=function(e){return c(e,function(e){return e.showNoResultsAlt},!1)||!1},t.prototype.getResultsState=function(e){return{isSearching:this.isSearching(e),isIndexing:this.isIndexing(e),isHistoricalIndexing:this.isHistoricalIndexing(e),documentsIndexed:this.getDocumentsIndexedCount(e),offset:this.getOffset(e),results:this.getResults(e),totalResults:this.getTotalResults(e),hasError:this.hasError(e),resultsBlocked:this.getResultsBlocked(e),showBlockedResults:this.shouldShowBlockedResults(e),showNoResultsAlt:this.shouldShowNoResultsAlt(e)}},t}(C.default.Store);t.default=new ae(w.default,{SEARCH_START:h,SEARCH_INDEXING:m,SEARCH_FINISH:v,SEARCH_EDITOR_STATE_CLEAR:E,SEARCH_ENSURE_SEARCH_STATE:p,SEARCH_EDITOR_STATE_CHANGE:d,SEARCH_SET_SHOW_BLOCKED_RESULTS:S,CHANNEL_SELECT:y,GUILD_SELECT:y,CHANNEL_TOGGLE_SECTION:function(e){return null!=ne&&E({searchId:ne})},SEARCH_CLEAR_HISTORY:_,LOGOUT:function(e){return T()},CONNECTION_OPEN:I,SEARCH_MODAL_OPEN:function(e){return s()},SEARCH_MODAL_CLOSE:function(e){return l()}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=m.default.getChannelId();if(null!=e&&h.default.getCallMode(e)===v.CallModes.VIDEO){var t;E=l({},E,(t={},t[e]=!0,t))}else null!=e&&null!=E[e]&&(E=l({},E),delete E[e])}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(2),f=a(u),c=n(4),d=a(c),p=n(130),h=a(p),g=n(19),m=a(g),v=n(1),E={},y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(h.default),this.syncWith([h.default],s)},t.prototype.getExperimentId=function(){return"VIDEO_CALL_EXPERIMENT"},t.prototype.getMetaData=function(){return{title:"Video Call",description:"Video call!!"}},t.prototype.getExperimentDescriptor=function(e,t){return null!=t&&null!=E[t]?{type:v.ExperimentTypes.DEVELOPER,bucket:v.ExperimentBuckets.CONTROL,revision:1,override:!0,name:this.getExperimentId()}:null},t.prototype.hasVideoCall=function(){return Object.keys(E).length>0},t}(f.default.Store);t.default=new y(d.default),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(141),p=a(d),h=n(312),g=a(h),m=n(1);n(2290);var v=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.checked,n=e.disabled,a=e.option,o=a.desc?s("div",{className:"desc margin-top-4"},void 0,a.desc):null,r=t?a.color||m.Colors.BRAND:"",i=t?m.Colors.WHITE:a.color,l=n||a.disabled;return s(p.default,{className:(0,c.default)("radio-item","flex-horizontal","margin-bottom-8",{checked:t,disabled:l}),style:{borderColor:r,backgroundColor:r,padding:10},editable:!0,onClick:!l&&this.handleClick},void 0,s(g.default,{value:t,disabled:l,onChange:this.handleClick,color:r}),s("div",{className:"info"},void 0,s("div",{className:"title",style:{color:i}},void 0,a.name),o))},t.prototype.handleClick=function(){var e=this.props,t=e.onClick,n=e.option;return t&&t(n)},t}(u.default.PureComponent),E=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.renderRadio=a.renderRadio.bind(a),a}return i(t,e),t.prototype.renderRadio=function(e){var t=this.props,n=t.value;return s(v,{disabled:t.disabled,checked:n===e.value,option:e,onClick:this.props.onChange},e.value)},t.prototype.render=function(){return s("div",{className:"ui-radiogroup"},void 0,this.props.options.map(this.renderRadio))},t}(u.default.PureComponent);E.defaultProps={options:[],onChange:m.NOOP,value:null},t.default=E,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.Weights=t.Family=t.Colors=t.Sizes=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(5),d=a(c),p=n(2105),h=a(p),g=n(2083),m=a(g),v=n(2084),E=a(v),y=n(2085),_=a(y),b=t.Sizes={SMALL:h.default.small,MEDIUM:h.default.medium,LARGE:h.default.large},S=t.Colors={PRIMARY:h.default.primary,BRAND:m.default.brand,GREY:m.default.statusGrey,RED:m.default.statusRed,GREEN:m.default.statusGreen,YELLOW:m.default.statusYellow,LINK:m.default.link,WHITE:m.default.white},I=t.Family={WHITNEY:E.default.whitney,CODE:E.default.code},T=t.Weights={LIGHT:_.default.weightLight,NORMAL:_.default.weightNormal,MEDIUM:_.default.weightMedium,SEMIBOLD:_.default.weightSemiBold,BOLD:_.default.weightBold},N=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e,t=this.props,n=t.tag,a=void 0===n?"div":n,r=t.size,i=t.color,s=t.family,u=t.weight,c=t.selectable,p=t.children,g=t.className,m=o(t,["tag","size","color","family","weight","selectable","children","className"]);return f.default.createElement(a,l({className:(0,d.default)(g,r,i,s,u,(e={},e[h.default.selectable]=c,e))},m),p)},t}(f.default.PureComponent);N.Sizes=b,N.Colors=S,N.Family=I,N.Weights=T,N.defaultProps={tag:"div",selectable:!1},t.default=N},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(5),p=a(d),h=n(66),g=a(h),m=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.shrink,a=void 0!==n&&n,r=e.disabled,i=void 0!==r&&r,s=e.className,f=e.tag,d=void 0===f?h.Tags.H5:f,m=e.required,v=void 0!==m&&m,E=e.style,y=void 0===E?{}:E,_=e.title,b=o(e,["children","shrink","disabled","className","tag","required","style","title"]);return u("div",{className:(0,p.default)("ui-form-item",s,{shrink:a}),style:y},void 0,_&&c.default.createElement(g.default,l({tag:d,disabled:i,required:v},b),_),t)},t}(c.default.PureComponent);t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){try{var t=N.default.parse(e);return t.hostname=M.default.toASCII(t.hostname||""),N.default.format(t)}catch(t){return e}}function r(e){var t=o(e[1]);return{type:"link",content:[{type:"text",content:t}],target:t,title:void 0}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=n(1),l=n(178),u=a(l),f=n(10),c=a(f),d=n(11),p=a(d),h=n(12),g=a(h),m=n(194),v=a(m),E=n(55),y=a(E),_=n(163),b=a(_),S=n(7),I=a(S),T=n(451),N=a(T),A=n(1110),M=a(A),C="deleted-channel",O="deleted-role",D=void 0;D=n(1691);var L={newline:u.default.defaultRules.newline,paragraph:u.default.defaultRules.paragraph,escape:u.default.defaultRules.escape,link:i({},u.default.defaultRules.link,{parse:function(e,t,n){return{content:t(e[1],n),target:o(u.default.unescapeUrl(e[2])),title:e[3]}}}),autolink:i({},u.default.defaultRules.autolink,{parse:r}),url:i({},u.default.defaultRules.url,{parse:r}),strong:u.default.defaultRules.strong,em:u.default.defaultRules.em,u:u.default.defaultRules.u,br:u.default.defaultRules.br,text:u.default.defaultRules.text,inlineCode:u.default.defaultRules.inlineCode,emoticon:{order:u.default.defaultRules.text.order,match:function(e){return/^(¯\\_\(ツ\)_\/¯)/.exec(e)},parse:function(e){return{type:"text",content:e[1]}}},codeBlock:{order:u.default.defaultRules.codeBlock.order,match:function(e){return/^```(([A-z0-9\-]+?)\n+)?\n*([^]+?)\n*```/.exec(e)},parse:function(e){return{lang:(e[2]||"").trim(),content:e[3]||""}}},roleMention:{order:u.default.defaultRules.text.order,match:function(e){return/^<@&(\d+)>/.exec(e)},parse:function(e,t,n){var a=(e[0],e[1]),o=p.default.getChannel(n.channelId),r=o?o.getGuildId():null,i=r?g.default.getGuild(r):null,s=i?i.roles[a]:null;return null==s?{type:"text",content:"@"+O}:{type:"mention",color:s.color,content:[{type:"text",content:"@"+s.name}]}}},mention:{order:u.default.defaultRules.text.order,match:function(e){return/^<@!?(\d+)>|^(@(?:everyone|here))/.exec(e)},parse:function(e,t,n){var a=void 0,o=void 0,r=c.default.getUser(e[1]);if(null!=r){o=r.id,a=r.toString();var i=p.default.getChannel(n.channelId);null!=i&&(a=v.default.getNickname(i.getGuildId(),n.channelId,r)||a)}return{userId:o,channelId:n.channelId,content:[{type:"text",content:null!=a?"@"+a:e[0]}]}}},channel:{order:u.default.defaultRules.text.order,match:function(e){return/^<#(\d+)>/.exec(e)},parse:function(e){var t=p.default.getChannel(e[1]),n=c.default.getCurrentUser();return t&&t.type===s.ChannelTypes.GUILD_TEXT&&y.default.can(s.Permissions.READ_MESSAGES,n,t)?{channelId:null!=t?t.id:null,guildId:null!=t?t.guild_id:null,content:[{type:"text",content:null!=t?"#"+t.toString():"#"+C}]}:{type:"text",content:null!=t?"#"+t.toString():"#"+C}}},emoji:{order:u.default.defaultRules.text.order,match:function(e){return b.default.EMOJI_NAME_RE.exec(e)},parse:function(e){var t=b.default.convertNameToSurrogate(e[1]);return{type:"text",content:t?t:":"+e[1]+":"}}},customEmoji:{order:u.default.defaultRules.text.order,match:function(e){return/^<:(\w+):(\d+)>/.exec(e)},parse:function(e){return{type:"text",content:":"+e[1]+":"}}},s:{order:u.default.defaultRules.u.order,match:u.default.inlineRegex(/^~~([\s\S]+?)~~(?!_)/),parse:u.default.defaultRules.u.parse}},R=D.createRules(i({},L,{link:i({},L.link,{match:function(){return null}})})),x=i({},I.default.omit(R,["inlineCode","codeBlock","br"]),{codeBlock:i({},R.codeBlock,{react:R.text.react})}),w=D.createRules(L),P=I.default.omit(R,["codeBlock","br","mention","channel","roleMention"]);t.default=i({},D,{getDefaultRules:function(){return i({},R)},parse:D.parserFor(R),parseAllowLinks:D.parserFor(w),parseTopic:D.parserFor(x),parseEmbedTitle:D.parserFor(P),parseReturnTree:D.parserFor(R,!0)}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e){return new v(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!p.default.disableSounds){var n=r(e,t);return n.play(),n}}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();t.createSound=r,t.playSound=i;var l=n(117),u=a(l),f=n(18),c=a(f),d=n(31),p=a(d),h=n(1),g=function(){function e(){o(this,e),this.nextSoundId=1,this.voe=c.default.getVoiceEngine()}return e.prototype.play=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=u.default.join("sounds",e+".wav");if(!c.default.supportsFeature(h.NativeFeatures.VOICE_RELATIVE_SOUNDS)){var o=c.default.require("process",!0),r=o.resourcesPath;a=u.default.join(r,a)}return c.default.supportsFeature(h.NativeFeatures.VOICE_SOUND_STOP_LOOP)?this.voe.playSound(this.nextSoundId,a,n,t):this.voe.playSound(a,t),this.nextSoundId++},e.prototype.stop=function(e){c.default.supportsFeature(h.NativeFeatures.VOICE_SOUND_STOP_LOOP)&&this.voe.stopSound(e)},e.prototype.setVolume=function(e,t){c.default.supportsFeature(h.NativeFeatures.VOICE_SOUND_STOP_LOOP)&&this.voe.setSoundVolume(e,t)},e}(),m=function(){function e(t,n){o(this,e),this.player=new g,this.name=t,this._volume=n,this._id=0}return e.prototype.loop=function(){this._id=this._id||this.player.play(this.name,this._volume,!0)},e.prototype.play=function(){this.stop(),this._id=this.player.play(this.name,this._volume,!1)},e.prototype.stop=function(){this._id>0&&(this.player.stop(this._id),this._id=0)},s(e,[{key:"volume",get:function(){return this._volume},set:function(e){this._volume=e,this.player.setVolume(this._id,this._volume)}}]),e}(),v=void 0;v=c.default.isOSX()?m:n(1696).WebAudioSound},function(e,t,n){"use strict";(function(t){function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){function t(e){"function"==typeof e.update?n.add(e):e.__getChildren().forEach(t)}var n=new d;t(e),n.forEach(function(e){return e.update()})}var s=n(168),l=n(855),u=n(390),f=n(321),c=(n(320),n(545)),d=t.Set||n(1717),p=function(e){function t(n){a(this,t);var r=o(this,e.call(this));return r._value=n,r._offset=0,r._animation=null,r._listeners={},r}return r(t,e),t.prototype.__detach=function(){this.stopAnimation()},t.prototype.__getValue=function(){return this._value+this._offset},t.prototype.setValue=function(e){this._animation&&(this._animation.stop(),this._animation=null),this._updateValue(e)},t.prototype.setOffset=function(e){this._offset=e},t.prototype.flattenOffset=function(){this._value+=this._offset,this._offset=0},t.prototype.addListener=function(e){var t=c();return this._listeners[t]=e,t},t.prototype.removeListener=function(e){delete this._listeners[e]},t.prototype.removeAllListeners=function(){this._listeners={}},t.prototype.stopAnimation=function(e){this.stopTracking(),this._animation&&this._animation.stop(),this._animation=null,e&&e(this.__getValue())},t.prototype.interpolate=function(e){return new u(this,f.create(e))},t.prototype.animate=function(e,t){var n=this,a=null;e.__isInteraction&&(a=l.current.createInteractionHandle());var o=this._animation;this._animation&&this._animation.stop(),this._animation=e,e.start(this._value,function(e){n._updateValue(e)},function(e){n._animation=null,null!==a&&l.current.clearInteractionHandle(a),t&&t(e)},o)},t.prototype.stopTracking=function(){this._tracking&&this._tracking.__detach(),this._tracking=null},t.prototype.track=function(e){this.stopTracking(),this._tracking=e},t.prototype._updateValue=function(e){this._value=e,i(this);for(var t in this._listeners)this._listeners[t]({value:this.__getValue()})},t}(s);e.exports=p}).call(t,n(30))},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return u.default.patch({url:s.Endpoints.ME,body:e}).then(function(e){var t=e.body;if(t.token){var n=t.token;delete t.token,i.default.dispatch({type:s.ActionTypes.UPDATE_TOKEN,token:n})}i.default.dispatch({type:s.ActionTypes.USER_UPDATE,user:t}),i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_ACCOUNT_SUCCESS})},function(e){return i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_ACCOUNT_FAILURE,errors:e.body}),Promise.reject(e)})}t.__esModule=!0;var r=n(4),i=a(r),s=n(1),l=n(16),u=a(l);t.default={setStep:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_SET_STEP,step:e})},updateTemporaryGuild:function(e){i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_GUILD_UPDATE,guild:e})},createGuild:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_GUILD_SUBMITTED}),u.default.post({url:s.Endpoints.GUILDS,body:{name:e,region:t,icon:n}}).then(function(){return i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_GUILD_CREATED})},function(e){return i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_GUILD_FAILURE,errors:e.body})})},updateAccount:function(e){i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_ACCOUNT_UPDATE,settings:e})},claimAccount:function(e){return i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_ACCOUNT_SUBMITTED}),o(e)},updateAvatar:function(e){return o({avatar:e})},advanceStep:function(){i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_ADVANCE_STEP})},skipOnboarding:function(){i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_SKIP})},micTestStart:function(){i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_MIC_TEST_START})},micTestStop:function(){i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_MIC_TEST_STOP})},selectMicInput:function(e){i.default.dispatch({type:s.ActionTypes.NEW_USER_FLOW_SELECT_MIC_INPUT,id:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){var e=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],arguments.length>1&&void 0!==arguments[1]?arguments[1]:250),t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.Easing.inOut(h.default.Easing.cubic);return{getInitialState:function(){return{opacity:new h.default.Value(0)}},componentDidAppear:function(){this.state.opacity.setValue(1)},componentWillEnter:function(n){h.default.timing(this.state.opacity,{toValue:1,duration:e,easing:t}).start(n)},componentWillLeave:function(n){h.default.timing(this.state.opacity,{toValue:0,duration:e,easing:t}).start(n)},getAnimatedStyle:function(){return{opacity:this.state.opacity}}}}t.__esModule=!0;var r,i,s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(6),d=a(c),p=n(24),h=a(p),g=n(292),m=a(g),v=n(3),E=a(v),y=n(497),_=a(y),b=n(2),S=a(b),I=n(29),T=a(I),N=n(84),A=a(N),M=n(523),C=a(M),O=n(31),D=a(O),L=n(145),R=a(L),x=n(98),w=a(x),P=n(73),k=a(P),U=n(160),G=a(U),j=n(1615),F=a(j),B=n(260),V=a(B),H=n(46),z=a(H),W=n(33),Y=a(W),K=n(1);n(2199);var Q="Invite Modal",Z=R.default.getMaxAgeOptions,X=R.default.getMaxUsesOptions,J=l(z.default,{}),q=f.default.createClass({displayName:"BasicInstantInviteModal",mixins:[o()],render:function(){var e=this.props,t=e.invite,n=e.guild,a=e.hide,o=e.maxAge,r=e.handleExpiresChange,i=e.showAdvanced,s=!1,u=void 0,f=void 0;return t?(u=l(_.default,{code:t.code,copyText:E.default.Messages.COPY,hidden:a,location:Q}),s=o==Z[0].value,f=s?E.default.Messages.INVITE_LINKS_NEVER_EXPIRES:o==Z[1].value?E.default.Messages.INVITE_LINKS_EXPIRE_AFTER_BY_DEFAULT:E.default.Messages.INVITE_LINKS_EXPIRE_AFTER_1_DAY):u=J,l(h.default.form,{id:"instant-invite-modal",className:"form",style:this.getAnimatedStyle()},void 0,l("div",{className:"form-header"},void 0,l("header",{},void 0,E.default.Messages.INVITE_TO_SERVER_NAME.format({guildName:n.name})),l("div",{className:"blurb"},void 0,E.default.Messages.SHARE_INVITE_LINK_FOR_ACCESS)),l("div",{className:"form-inner"},void 0,u,l("div",{className:"expire-text"},void 0,f)),l("div",{className:"form-actions"},void 0,l(G.default,{checked:s,onChange:r},void 0,E.default.Messages.SET_INVITE_LINK_NEVER_EXPIRE),l(Y.default,{text:E.default.Messages.LINK_SETTINGS},void 0,l("button",{className:"advanced",onClick:i}))))}}),$=f.default.createClass({displayName:"AdvancedInstantInviteModal",mixins:[o(!0)],render:function(){var e=this.props,t=e.maxAge,n=e.maxUses,a=e.temporary,o=e.handleTemporaryChange,r=e.handleGenerateNewLink,i=e.hideAdvanced,s=e.handleMaxUsesChange,u=e.handleExpireAfterChange,f=Z.find(function(e){return e.value==t}),c=X.find(function(e){return e.value==n});return l(h.default.form,{id:"instant-invite-modal-advanced",className:"form",style:this.getAnimatedStyle()},void 0,l("div",{className:"form-inner"},void 0,l("div",{className:"control-groups"},void 0,l("div",{className:"control-group"},void 0,l("label",{},void 0,E.default.Messages.EXPIRE_AFTER),l(m.default,{value:f,clearable:!1,searchable:!1,options:Z,onChange:u})),l("div",{className:"control-group"},void 0,l("label",{},void 0,E.default.Messages.MAX_NUMBER_OF_USES),l(m.default,{value:c,clearable:!1,searchable:!1,options:X,onChange:s}))),l("div",{className:"control-group"},void 0,l(G.default,{checked:a,onChange:o},void 0,E.default.Messages.GRANT_TEMPORARY_MEMBERSHIP),l("div",{className:"help-text"},void 0,E.default.Messages.TEMPORARY_MEMBERSHIP_EXPLANATION))),l("div",{className:"form-actions"},void 0,l("button",{type:"button",className:"btn btn-default",onClick:i},void 0,E.default.Messages.CANCEL),l("button",{type:"submit",className:"btn btn-primary",onClick:r},void 0,E.default.Messages.GENERATE_A_NEW_LINK)))}}),ee=f.default.createClass({displayName:"InstantInviteModal",mixins:[S.default.LazyStoreListenerMixin(C.default,D.default),d.default],getInitialState:function(){return s({showAdvanced:!1,maxUses:X[0].value,temporary:!1,channel:this.getChannel()},this.getStateFromStores())},getStateFromStores:function(){var e=C.default.getInvite(this.getChannel().id),t=e?e.maxAge:Z[1].value;return{invite:e,maxAge:t,savedMaxAge:t==X[0].value?Z[1].value:Z[0].value,hide:D.default.hideInstantInvites}},componentDidMount:function(){var e=this.state.invite?this.state.invite.code:null,t=this.props.experiment?this.props.experiment.bucket:0,n=function(e){switch(e){case K.ExperimentBuckets.TREATMENT_1:case K.ExperimentBuckets.TREATMENT_2:return Z[5].value;default:return Z[1].value}}(t);A.default.createInvite(this.state.channel.id,{validate:e,max_age:n},"InstantInviteModal Mount");var a=this.props.source;null!=a&&(window.inviteButtonSource&&(a=window.inviteButtonSource,window.inviteButtonSource=void 0),T.default.track("open_popout",{Type:"Instant Invite Modal",Source:a}))},getChannel:function(){var e=this.props,t=e.channel,n=e.guild;return t?t:this.state&&this.state.channel?this.state.channel:w.default.getChannels(n.id)[K.ChannelTypes.GUILD_TEXT].find(function(e){return e.channel.id==n.id}).channel},handleExpiresChange:function(){this.createInvite(this.state.savedMaxAge,this.state.maxUses,this.state.temporary,"InstantInviteModal"),this.setState({maxAge:this.state.savedMaxAge,savedMaxAge:this.state.maxAge})},handleExpireAfterChange:function(e){this.setState({maxAge:e,savedMaxAge:e==Z[0].value?Z[1].value:Z[0].value})},handleMaxUsesChange:function(e){this.setState({maxUses:e})},handleTemporaryChange:function(e){this.setState({temporary:e.currentTarget.checked})},showAdvanced:function(e){e.preventDefault(),this.setState({showAdvanced:!0})},hideAdvanced:function(e){e.preventDefault(),this.setState({showAdvanced:!1})},handleGenerateNewLink:function(e){e.preventDefault(),this.createInvite(this.state.maxAge,this.state.maxUses,this.state.temporary,"InstantInviteModal Regenerate"),this.setState({showAdvanced:!1})},createInvite:function(e,t,n){A.default.createInvite(this.state.channel.id,{max_age:parseInt(e,10),max_uses:parseInt(t,10),temporary:n},"InstantInviteModal")},render:function(){var e=this.state,t=e.showAdvanced,n=e.maxAge,a=e.maxUses,o=e.temporary,r=e.hide,i=e.invite,s=this.props.guild,u=t?l($,{maxAge:n,maxUses:a,temporary:o,handleTemporaryChange:this.handleTemporaryChange,handleGenerateNewLink:this.handleGenerateNewLink,handleMaxUsesChange:this.handleMaxUsesChange,handleExpireAfterChange:this.handleExpireAfterChange,hideAdvanced:this.hideAdvanced},"instant-invite-modal"):l(q,{invite:i,guild:s,hide:r,maxAge:n,handleExpiresChange:this.handleExpiresChange,showAdvanced:this.showAdvanced},"instant-invite-modal-advanced");return l(k.default,{className:"instant-invite-modal theme-light",component:"div"},void 0,u)}}),te=function(e,t){return f.default.createElement(ee,s({},e,{experiment:t}))};t.default=(0,V.default)(F.default,(i={},i[K.ExperimentTypes.NONE]=function(e){return f.default.createElement(ee,e)},i[K.ExperimentTypes.USER]=(r={},r[K.ExperimentBuckets.CONTROL]=te,r[K.ExperimentBuckets.TREATMENT_1]=te,r[K.ExperimentBuckets.TREATMENT_2]=te,r),i)),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(2),f=a(u),c=n(31),d=a(c),p=n(502),h=a(p),g=i.default.createClass({displayName:"DiscordTag",mixins:[l.default,f.default.StoreListenerMixin(d.default)],getDefaultProps:function(){return{className:"discord-tag",invertBotColor:!1,hideDiscriminator:!1}},getStateFromStores:function(){return{hideDiscriminator:this.props.hideDiscriminator||d.default.hidePersonalInformation}},render:function(){var e=this.props,t=e.user,n=e.className,a=e.invertBotColor;return o("div",{className:n},void 0,o("span",{className:"username"},void 0,t.toString()),this.state.hideDiscriminator?null:o("span",{className:"discriminator"},void 0,"#",t.discriminator),t.bot?o(h.default,{invertColor:a}):null)}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(23),l=a(s),u=n(67),f=a(u),c=n(13),d=a(c),p=n(72),h=a(p),g=2,m=9,v=30,E=100,y=i.default.createClass({displayName:"SubMenuItem",mixins:[h.default],getInitialState:function(){return{open:!1,position:{top:0,left:0},theme:d.default.theme}},uiMenuNode:null,_timer:null,componentDidMount:function(){this.uiMenuNode=l.default.findDOMNode(this)},render:function e(){var t=this.props,n=t.label,e=t.render,a=t.disabled,r=t.action,s=t.invertChildY,l="function"==typeof e?e():e.filter(function(e){return e});if(0===l.length)return null;var u=s?(Math.min(l.length,m)-1)*v:0,c=void 0,d={className:"context-menu",style:{top:this.state.position.top-u,left:this.state.position.left},onClick:function(e){e.stopPropagation()}};return this.state.open&&(c=l.length<=m?i.default.createElement("div",d,l):i.default.createElement("div",d,o(f.default,{isContextMenu:!0,theme:this.state.theme},void 0,l))),o("div",{className:"item item-subMenu",onClick:a?function(){}:r,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},void 0,n,c)},handleMouseEnter:function(){if(this.clearTimeout(this._timer),this.uiMenuNode&&!this.props.disabled){var e=this.uiMenuNode.getBoundingClientRect(),t=e.top,n=e.left;this.setState({open:!0,position:{top:t-g,left:n}})}},handleMouseLeave:function(){var e=this;this.clearTimeout(this._timer),this._timer=this.setTimeout(function(){e.setState({open:!1})},E)}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(2),d=a(c),p=n(272),h=n(21),g=a(h),m=n(86),v=a(m),E=n(13),y=a(E),_=n(22),b=a(_),S=i.default.createClass({displayName:"DeveloperModeGroup",mixins:[d.default.StoreListenerMixin(y.default),l.default],getStateFromStores:function(){return{developerMode:y.default.developerMode}},render:function(){return this.state.developerMode&&p.SUPPORTS_COPY?o(v.default,{},void 0,o(g.default,{label:f.default.Messages.COPY_ID,action:this.handleCopyID})):null},handleCopyID:function(){b.default.close(),(0,p.copy)(this.props.id)}});t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;null!=t&&b.default.register(e,t);var a=e.getExperimentId();return s.default.createClass({mixins:[u.default.LazyStoreListenerMixin(e,p.default,g.default,v.default,y.default,N.default)],getDefaultProps:function(){return{renderFunctions:t}},getInitialState:function(){return this.getStateFromStores()},shouldComponentUpdate:function(e,t){return!(0,c.default)(this.props,e)||t.guildId!==this.state.guildId||t.channelId!==this.state.channelId||t.isConnected!==this.state.isConnected||!I.default.experimentDescriptorEquals(t.experimentDescriptor,this.state.experimentDescriptor)},getStateFromStores:function(){var t=this.props.guildId||g.default.getGuildId(),n=this.props.channelId||p.default.getChannelId(t),o=v.default.isConnected(),r=null;return r=N.default.getOverrideExperimentDescriptor(a)||e.getExperimentDescriptor(t,n),{guildId:t,channelId:n,isConnected:o,experimentDescriptor:r}},getRenderFunction:function(){var e=this.state.experimentDescriptor,t=this.props.renderFunctions;if(null==e)return t[A.ExperimentTypes.NONE]||M;var n=e.type,a=e.bucket,o=t[n];return null==o?t[A.ExperimentTypes.NONE]||M:null!=o[a]?o[a]:t[A.ExperimentTypes.NONE]||M},handleExperimentTriggered:function(){var e=this.state.experimentDescriptor;if(null!=e&&!e.override){if(null!=n&&n(e,this.props)===!1)return;b.default.trigger(e)}},componentDidMount:function(){this.handleExperimentTriggered()},componentDidUpdate:function(e,t){var n=this.state.experimentDescriptor;I.default.experimentDescriptorEquals(n,t.experimentDescriptor)||this.handleExperimentTriggered()},render:function(){var e=this.getRenderFunction(),t=this.state.experimentDescriptor,n=this.props;n.renderFunctions;return e(o(n,["renderFunctions"]),t)}})}t.__esModule=!0,t.default=r;var i=n(0),s=a(i),l=n(2),u=a(l),f=n(274),c=a(f),d=n(19),p=a(d),h=n(35),g=a(h),m=n(187),v=a(m),E=n(17),y=a(E),_=n(298),b=a(_),S=n(317),I=a(S),T=n(120),N=a(T),A=n(1),M=function(){return null};e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){d.default.hasModalOpen()||(f.default.closeAll(),l.default.channelListScrollTo(e,t),i.default.selectChannel(e,t))}t.__esModule=!0,t.default=o;var r=n(211),i=a(r),s=n(158),l=a(s),u=n(85),f=a(u),c=n(222),d=a(c);e.exports=t.default},function(e,t,n){"use strict";(function(n,a){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){var o=null;return 0==e?function(){n(o),o=a(t)}:function(){null==o&&(clearTimeout(o),o=setTimeout(function(){try{t()}finally{o=null}},e))}}t.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=[],l=new Set,u=!1,f=null,c=function(){function e(t,n){var a=this;o(this,e),this._changeCallbacks=new Set,this._dependencies=[],this._actionHandlers={},"function"==typeof n?this._actionHandler=n:"object"===(void 0===n?"undefined":i(n))&&(this._actionHandlers=n),this._dispatchToken=t.register(function(e){var n=a._actionHandler||a._actionHandlers[e.type];n&&(a._dependencies.length>0&&t.waitFor(a._dependencies),n(e)!==!1&&a.hasChangeCallbacks()&&(l.add(a),u&&a._mustEmitChanges&&a.constructor.resumeEmittingChanges(!1)))}),s.push(this)}return e.initialize=function(){s.forEach(function(e){return e.initialize()})},e.pauseEmittingChanges=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;u=!0,null!==f&&clearTimeout(f),null!==t&&(f=setTimeout(function(){f=null,e.resumeEmittingChanges()},t))},e.isPaused=function(){return u},e.resumeEmittingChanges=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];null!==f&&(clearTimeout(f),f=null),u&&(u=!1,t&&l.size&&a(e.emitChanges))},e.emitChanges=function(){l.size&&!u&&(l.forEach(function(e){return e.emitChange()}),l.clear())},e.prototype.initialize=function(){},e.prototype.syncWith=function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=r(a,function(){t()!==!1&&n.emitChange()});e.forEach(function(e){return e.addChangeListener(o)})},e.prototype.waitFor=function(){for(var e=this,t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];n.forEach(function(t){return e._dependencies.push(t.getDispatchToken())})},e.prototype.hasChangeCallbacks=function(){return this._changeCallbacks.size>0},e.prototype.emitChange=function(){this._changeCallbacks.forEach(function(e){return e()})},e.prototype.addChangeListener=function(e){this._changeCallbacks.add(e)},e.prototype.addConditionalChangeListener=function(e){var t=this;if(arguments.length>1&&void 0!==arguments[1]&&!arguments[1]||e()!==!1){var n=function n(){e()===!1&&t.removeChangeListener(n)};this.addChangeListener(n)}},e.prototype.removeChangeListener=function(e){this._changeCallbacks.delete(e)},e.prototype.getDispatchToken=function(){return this._dispatchToken},e.prototype.mustEmitChanges=function(){this._mustEmitChanges=!0},e}();t.default=c,e.exports=t.default}).call(t,n(78).clearImmediate,n(78).setImmediate)},function(e,t,n){"use strict";t.__esModule=!0;t.DeviceTypes={AUDIO_INPUT:"audioinput",AUDIO_OUTPUT:"audiooutput",VIDEO_INPUT:"videoinput"},t.InputModes={PUSH_TO_TALK:"PUSH_TO_TALK",VOICE_ACTIVITY:"VOICE_ACTIVITY"},t.ConnectionStates={DISCONNECTED:"DISCONNECTED",CONNECTING:"CONNECTING",CONNECTED:"CONNECTED",NO_ROUTE:"NO_ROUTE",ICE_CHECKING:"ICE_CHECKING"},t.DEFAULT_VOLUME=100,t.DEFAULT_BITRATE=48e3,t.DEFAULT_DEVICE_ID="default",t.DISABLED_DEVICE_ID="disabled",t.DEFAULT_PAN=50,t.Features={AUTO_ENABLE:"AUTO_ENABLE",ATTENUATION:"ATTENUATION",AUDIO_INPUT_DEVICE:"AUDIO_INPUT_DEVICE",AUDIO_OUTPUT_DEVICE:"AUDIO_OUTPUT_DEVICE",VOICE_PROCESSING:"VOICE_PROCESSING",QOS:"QOS",NATIVE_PING:"NATIVE_PING",LEGACY_SUBSYSTEM:"LEGACY_SUBSYSTEM",AUTOMATIC_VAD:"AUTOMATIC_VAD",VOICE_PANNING:"VOICE_PANNING",DIAGNOSTICS:"DIAGNOSTICS",ICE:"ICE",DESKTOP_CAPTURE:"DESKTOP_CAPTURE"},t.MediaEngineImplementations={NATIVE:"NATIVE",WEBRTC:"WEBRTC",WEBRTC_P2P:"WEBRTC_P2P",DUMMY:"DUMMY"},t.DesktopSources={WINDOW:"window",SCREEN:"screen"}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return null!=K&&K.id===e&&(K==Q?Q=K=D.default.getChannel(e):(K=D.default.getChannel(e),Q=Q.set("permissionOverwrites",K.permissionOverwrites)),!0)}function l(e){$=!0,u(e)}function u(e){W=C.FormStates.OPEN,Q=K=D.default.getChannel(e.channelId),J=Q.guild_id,Z={},f({section:Y||C.ChannelSettingsSections.OVERVIEW})}function f(e){Y=e.section,Y===C.ChannelSettingsSections.INSTANT_INVITES&&(q=!0,F.default.get(C.Endpoints.INSTANT_INVITES(Q.id)).then(function(e){q=!1,M.default.dispatch({type:C.ActionTypes.CHANNEL_SETTINGS_LOADED_INVITES,invites:e.body})},function(){return q=!1}))}function c(){$=!1,Y=null,W=C.FormStates.CLOSED,Q=K=null,X={}}function d(){W=C.FormStates.SUBMITTING}function p(e){u(e)}function h(e){W=C.FormStates.OPEN,Z=e.errors||{}}function g(e){var t=e.name,n=e.topic,a=e.bitrate,o=e.userLimit;null!=t&&(Q=Q.set("name",t)),null!=n&&(Q=Q.set("topic",n)),null!=a&&(Q=Q.set("bitrate",a)),null!=o&&(Q=Q.set("userLimit",o)),te()}function m(e){return new G.default({code:e.code,temporary:e.temporary,revoked:e.revoked,inviter:null!=e.inviter?new R.default(e.inviter):null,channel:new k.default(e.channel),guild:new w.default(e.guild),uses:e.uses,maxUses:e.max_uses,maxAge:e.max_age,createdAt:(0,V.default)(e.created_at)})}function v(e){X={},e.invites.forEach(function(e){X[e.code]=m(e)})}function E(e){X=I({},X),delete X[e.code]}function y(e){var t;X=I({},X,(t={},t[e.invite.code]=m(e.invite),t))}function _(e){if(!s(e.channel.id))return!1;null==Q.permissionOverwrites[J]&&(J=Q.guild_id)}function b(e){var t=e.channel.id;return null!=Q&&(Q.id===t&&void(W=C.FormStates.CLOSED))}function S(e){J=e.overwriteId}t.__esModule=!0;var I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},T=n(2),N=a(T),A=n(4),M=a(A),C=n(1),O=n(11),D=a(O),L=n(75),R=a(L),x=n(103),w=a(x),P=n(52),k=a(P),U=n(373),G=a(U),j=n(16),F=a(j),B=n(8),V=a(B),H=n(7),z=a(H),W=C.FormStates.CLOSED,Y=void 0,K=void 0,Q=void 0,Z={},X={},J=void 0,q=!1,$=!1,ee=["name","topic","bitrate","userLimit"],te=z.default.debounce(function(){var e=!0;z.default.forEach(ee,function(t){if(Q[t]!==K[t])return e=!1}),e&&Q!==K&&(Q=K,ae.emitChange())},500),ne=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(D.default)},t.prototype.hasChanges=function(){return Q!==K},t.prototype.isOpen=function(){return $},t.prototype.getSection=function(){return Y},t.prototype.getInvites=function(){return{invites:X,loading:q}},t.prototype.showNotice=function(){return this.hasChanges()},t.prototype.getChannel=function(){return Q},t.prototype.getFormState=function(){return W},t.prototype.getProps=function(){return{submitting:W===C.FormStates.SUBMITTING,errors:Z,channel:Q,section:Y,invites:X,selectedOverwriteId:J,hasChanges:this.hasChanges()}},t}(N.default.Store),ae=new ne(M.default,{CHANNEL_SETTINGS_INIT:u,CHANNEL_SETTINGS_OPEN:l,CHANNEL_SETTINGS_SUBMIT:d,CHANNEL_SETTINGS_SUBMIT_SUCCESS:p,CHANNEL_SETTINGS_SUBMIT_FAILURE:h,CHANNEL_SETTINGS_CLOSE:c,CHANNEL_SETTINGS_OVERWRITE_SELECT:S,CHANNEL_SETTINGS_UPDATE:g,CHANNEL_SETTINGS_SET_SECTION:f,CHANNEL_SETTINGS_LOADED_INVITES:v,CHANNEL_UPDATE:_,CHANNEL_DELETE:b,INSTANT_INVITE_REVOKE_SUCCESS:E,INSTANT_INVITE_CREATE_SUCCESS:y});t.default=ae,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return{guildId:e,scrollTop:0,scrollTo:null}}function l(e){var t=e.channelId,n=e.scrollTop,a=e.scrollHeight,o=e.offsetHeight;if(null==n){if(null==v[t])return!1;delete v[t]}else v[t]={scrollTop:n,scrollHeight:a,offsetHeight:o}}function u(e){var t=e.scrollTop;y.scrollTop=t}function f(e){var t=e.channelId;c(t)&&delete v[t]}function c(e){if(v[e]){var t=v[e];return t.scrollTop===t.scrollHeight-t.offsetHeight}return!0}function d(e){var t=e.guildId,n=e.scrollTop,a=e.scrollTo;E[t]||(E[t]=s(t)),void 0!==n&&(E[t].scrollTop=n),void 0!==a&&(E[t].scrollTo=a)}t.__esModule=!0;var p=n(2),h=a(p),g=n(4),m=a(g),v=(n(1),{}),E={},y={scrollTop:0},_=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.percentageScrolled=function(e){if(v[e]){var t=v[e];return t.scrollTop/t.scrollHeight}return 1},t.prototype.getChannelDimensions=function(e){return v[e]},t.prototype.getGuildDimensions=function(e){return E[e]||s(e)},t.prototype.getGuildListDimensions=function(){return y},t.prototype.isAtBottom=function(e){return c(e)},t}(h.default.Store);t.default=new _(m.default,{UPDATE_CHANNEL_DIMENSIONS:l,UPDATE_CHANNEL_LIST_DIMENSIONS:d,UPDATE_GUILD_LIST_DIMENSIONS:u,CALL_CREATE:f}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){y=new Set(e.unavailableGuilds)}function l(e){y.add(e.guildId)}function u(e){y.delete(e.guild.id)}t.__esModule=!0;var f=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),c=n(2),d=a(c),p=n(4),h=a(p),g=(n(1),n(12)),m=a(g),v=n(7),E=a(v),y=new Set,_=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(m.default)},t.prototype.isUnavailable=function(e){return y.has(e)},f(t,[{key:"totalGuilds",get:function(){return E.default.size(m.default.getGuilds())+y.size}},{key:"totalUnavailableGuilds",get:function(){return y.size}}]),t}(d.default.Store);t.default=new _(h.default,{CONNECTION_OPEN:s,GUILD_UNAVAILABLE:l,GUILD_CREATE:u,GUILD_UPDATE:u,GUILD_DELETE:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){var n=w[e];if(null==n)return!1;t(n),w[e]=I({},n)}function l(e,t){var n=e.id,a=e.channel_id,o=e.content,r=void 0;if(t){var i=L.default.getMessage(a,n);if(null==i)return!1;r=i.invites}else r=(0,x.findInvites)(o);if(0===r.length)return!1;r.forEach(function(e){null==w[e]&&(u({code:e}),O.default.resolveInvite(e))})}function u(e){w[e.code]={code:e.code,state:R.InviteStates.RESOLVING}}function f(e){return s(e.code,function(t){t.state=R.InviteStates.RESOLVED,t.guild=e.invite.guild,t.channel=e.invite.channel,t.inviter=e.invite.inviter,t.approximate_member_count=null!=e.invite.approximate_member_count?e.invite.approximate_member_count:null,t.approximate_presence_count=null!=e.invite.approximate_presence_count?e.invite.approximate_presence_count:null})}function c(e){return s(e.code,function(e){e.state=R.InviteStates.EXPIRED})}function d(e){return s(e.code,function(e){e.state=R.InviteStates.ACCEPTED})}function p(e){return s(e.code,function(t){t.state=R.InviteStates.ACCEPTED,t.guild=e.invite.guild,t.channel=e.invite.channel})}function h(e){return s(e.code,function(e){e.state=R.InviteStates.EXPIRED})}function g(e){return s(e.code,function(e){e.state=R.InviteStates.APP_OPENING})}function m(e){return s(e.code,function(e){e.state=R.InviteStates.APP_OPENED})}function v(e){return s(e.code,function(e){e.nativeAppState=R.InviteNativeAppStates.OPENING})}function E(e){return s(e.code,function(e){e.nativeAppState=R.InviteNativeAppStates.OPEN})}function y(e){return s(e.code,function(e){e.nativeAppState=R.InviteNativeAppStates.OPEN_FAIL})}function _(e){return s(e.code,function(e){e.state=R.InviteStates.APP_NOT_OPENED})}function b(e){return l(e.message,!0)}function S(e){var t=e.type;e.messages.forEach(function(e){return l(e,t===R.ActionTypes.LOAD_MESSAGES_SUCCESS)})}t.__esModule=!0;var I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},T=n(2),N=a(T),A=n(4),M=a(A),C=n(84),O=a(C),D=n(88),L=a(D),R=n(1),x=n(145),w={},P=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(L.default)},t.prototype.getInvite=function(e){return w[e]},t}(N.default.Store);t.default=new P(M.default,{INVITE_RESOLVE:u,INVITE_RESOLVE_SUCCESS:f,INVITE_RESOLVE_FAILURE:c,INVITE_ACCEPT:d,INVITE_ACCEPT_SUCCESS:p,INVITE_ACCEPT_FAILURE:h,INVITE_APP_OPENING:g,INVITE_APP_OPENED:m,INVITE_NATIVE_APP_MODAL_OPENING:v,INVITE_NATIVE_APP_MODAL_OPENED:E,INVITE_NATIVE_APP_MODAL_OPEN_FAILED:y,INVITE_APP_NOT_OPENED:_,MESSAGE_CREATE:b,MESSAGE_UPDATE:b,LOAD_MESSAGES_SUCCESS:S,LOAD_RECENT_MENTIONS_SUCCESS:S,LOAD_PINNED_MESSAGES_SUCCESS:S}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.component;return(g.length>0?g[g.length-1]:null)!==h.Layers.VERIFICATION&&(!(g.indexOf(t)>=0)&&void(g=[].concat(g,[t])))}function l(){if(!g.length)return!1;g=g.slice(0,-1)}function u(){g=[]}t.__esModule=!0;var f=n(2),c=a(f),d=n(4),p=a(d),h=n(1),g=[],m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.hasLayers=function(){return g.length>0},t.prototype.getLayers=function(){return g},t}(c.default.Store);t.default=new m(p.default,{LAYER_PUSH:s,LAYER_POP:l,LAYER_POP_ALL:u,LOGOUT:u,NOTIFICATION_CLICK:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=y.default.getStream(),t=v.default.getGameName();T=null,I=g.default.getIdleSince()||0,N=g.default.iAFK(),S=b.default.status,S===p.StatusTypes.ONLINE&&I>0&&(S=p.StatusTypes.IDLE),S!==p.StatusTypes.OFFLINE&&(null!=e?T=l({type:p.ActivityTypes.STREAMING},e):null!=t&&b.default.showCurrentGame&&(T={type:p.ActivityTypes.PLAYING,name:t}))}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(2),f=a(u),c=n(4),d=a(c),p=n(1),h=n(522),g=a(h),m=n(270),v=a(m),E=n(683),y=a(E),_=n(13),b=a(_),S=p.StatusTypes.ONLINE,I=0,T=null,N=!1,A=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(g.default,v.default,b.default,y.default)},t.prototype.getPresence=function(){return{status:S,since:I,activity:T,afk:N}},t.prototype.getStatus=function(){return S},t.prototype.getActivity=function(){return T},t}(f.default.Store);t.default=new A(d.default,{START_SESSION:s,CONNECTION_OPEN:s,CONNECTION_CLOSED:s,IDLE:s,AFK:s,RUNNING_GAMES_CHANGE:s,STREAMING_UPDATE:s,USER_SETTINGS_UPDATE:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return e?e.exePath+":"+e.cmdLine:""}function l(e){return void 0!==e.id&&0===(e.id&z)}function u(e,t){var n=J.enableOverlay[e];if(void 0!==n)return n;var a=$[t];return void 0!==a?a:W}function f(){k.default.set(V,J)}function c(e){var t=s(e),n=I({},e,{played:e.lastFocused?(0,F.default)(new Date(1e3*e.lastFocused)).fromNow():" ",overlay:u(t,e.id),verified:l(e)});return $[e.id]===!1&&(n.overlayWarn=!0),n}function d(e){return G.default.pick(e,["gameName","exePath","cmdLine","lastFocused"])}function p(){if(!__OVERLAY__&&R.default.embedded){var e=G.default.values(J.gameOverrides);R.default.setGameCandidateOverrides(e)}}function h(e){e&&0!==e.length&&(e.forEach(function(e){J.gamesSeen.some(function(t){return t.gameName==e.gameName&&(e.lastFocused&&(t.lastFocused=e.lastFocused),!0)})||(J.gamesSeen.length>=H&&J.gamesSeen.pop(),J.gamesSeen.unshift(I({},e)))}),J.gamesSeen.sort(function(e,t){return t.lastFocused-e.lastFocused}),f())}function g(e){X=e.games,h(X),B.info("games",X),M.default.dirtyDispatch({type:C.ActionTypes.OVERLAY_GAMES_CHANGE})}function m(e){Z=e.games}function v(){Q=!1}function E(e){var t=e.pid,n=Z.find(function(e){return e.pid===t});if(n){var a=I({},n);a.gameName=a.name,a.lastFocused||(a.lastFocused=Math.floor(Date.now()/1e3)),X.push(I({},a)),a.add=!0;var o=s(a);J.gameOverrides[o]=a,p(),f()}}function y(e){var t=s(e.game),n=u(t,e.game.id);J.enableOverlay[t]=!n,f(),M.default.dirtyDispatch({type:C.ActionTypes.OVERLAY_GAMES_CHANGE})}function _(e){var t=s(e.game),n=J.gameOverrides[t];n||(n=d(e.game),n.add=!0),n.gameName=e.newName,J.gameOverrides[t]=n;var a=!1;X.forEach(function(n){s(n)==t&&(n.gameName=e.newName,a=!0)}),p(),f(),a&&M.default.dirtyDispatch({type:C.ActionTypes.RUNNING_GAMES_CHANGE,games:X})}function b(e){var t=s(e.game);delete J.gameOverrides[t],delete J.enableOverlay[t],J.gamesSeen=J.gamesSeen.filter(function(e){return s(e)!=t}),p(),f()}t.__esModule=!0;var S=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},T=n(2),N=a(T),A=n(4),M=a(A),C=n(1),O=n(161),D=a(O),L=n(18),R=a(L),x=n(1217),w=a(x),P=n(25),k=a(P),U=n(7),G=a(U),j=n(8),F=a(j),B=D.default.create("RunningGameStore"),V="RunningGameStore",H=32,z=2147483648,W=!1,Y=1e6,K=[{executables:{win32:["\\OBS\\OBS.exe","obs32.exe","obs64.exe"],darwin:["OBS.app"],linux:["obs"]},id:Y,name:"OBS"},{executables:{win32:["XSplit.Gamecaster.exe","XSplit.Core.exe"]},id:Y,name:"XSplit"}],Q=!0,Z=[],X=[],J={gamesSeen:[],gameOverrides:{},enableOverlay:{}},q=function(e){},$={},ee=0;if(!__OVERLAY__&&R.default.isDesktop()){var te=1,ne=[].concat(w.default,K).map(function(e){var t=e;return t.id=t.id||te++,t.executables=t.executables[R.default.platform],void 0!==t.overlay&&($[t.id]=t.overlay),t});R.default.setObservedGamesCallback(ne,function(e){var t=0;e=e.filter(function(e){return e.id!=Y||(t++,!1)}),ee!=t&&(ee=t,M.default.dirtyDispatch({type:C.ActionTypes.RUNNING_STREAMER_TOOLS_CHANGE,count:ee})),M.default.dirtyDispatch({type:C.ActionTypes.RUNNING_GAMES_CHANGE,games:e})}),q=function(e){e?R.default.setCandidateGamesCallback(function(e){M.default.dirtyDispatch({type:C.ActionTypes.CANDIDATE_GAMES_CHANGE,games:e.map(function(e){return I({},e)})})}):R.default.clearCandidateGamesCallback()}}var ae=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){var e=k.default.get(V)||{};J.gameOverrides=e.gameOverrides||{},J.enableOverlay=e.enableOverlay||{},p(),h(e.gamesSeen)},t.prototype.getGameName=function(){return X.length>0?X[0].gameName:null},t.prototype.getGameRequiresElevation=function(){return X.length>0&&X[0].elevated},t.prototype.getGameNameForPid=function(e){var t=X.find(function(t){return t.pid==e});return t?t.gameName:null},t.prototype.watchCandidateGames=function(e){q(e)},t.prototype.getRunningGame=function(){return X.length<1?null:c(X[0])},t.prototype.getCandidateGames=function(){return Z.filter(function(e){return void 0===e.gameName}).filter(function(e){return void 0===J.gameOverrides[s(e)]})},t.prototype.getGamesSeen=function(e){var t=G.default.values(J.gameOverrides),n=J.gamesSeen.filter(function(e){return void 0===J.gameOverrides[s(e)]}),a=n.concat(t).map(c);if(e){var o=s(this.getRunningGame());a=a.filter(function(e){return s(e)!=o})}return a.sort(function(e,t){return t.lastFocused-e.lastFocused}),a},S(t,[{key:"pids",get:function(){return X.filter(function(e){return u(s(e),e.id)}).filter(function(e){return!e.elevated}).map(function(e){return e.pid})}},{key:"canShowAdminWarning",get:function(){return Q}}]),t}(N.default.Store);t.default=new ae(M.default,{RUNNING_GAMES_CHANGE:g,CANDIDATE_GAMES_CHANGE:m,PERMISSION_CLEAR_PTT_ADMIN_WARNING:v,RUNNING_GAME_ADD_OVERRIDE:E,RUNNING_GAME_TOGGLE_OVERLAY:y,RUNNING_GAME_EDIT_NAME:_,RUNNING_GAME_DELETE_ENTRY:b}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e){var t=G[e];return null==t&&(t=new F(e),G[e]=t),t}function l(e,t){return R.default.getNick(e,t.id)||t.toString()}function u(e){return{nick:e,comparator:e.toLowerCase()}}function f(e,t){return u(l(e,t))}function c(e,t,n){var a=C.default.getUser(n),o=null==a;null==a&&(a=new k.default({id:n,username:"...",discriminator:n.slice(-5,-1)}));var r=_({voiceState:e,user:a},f(t,a));return o&&(r._isPlaceholder=!0),r}function d(){G={},j=[]}function p(e){var t=e.guildId,n=e.userId;return null!=t&&j.push({guildId:t,userId:n}),!1}function h(e){var t=e.guildId;if(null!=t){var n=w.default.getId();null!=n&&j.push({guildId:t,userId:n})}return!1}function g(){return T.default.reduce(G,function(e,t){return t.updateUsers()||e},!1)}function m(e){var t=e.guildId,n=e.user;return s(t).updateNick(n.id)}function v(e){return s(e.guild.id).updateNicks()}function E(){j.forEach(function(e){var t=e.guildId,n=e.userId;null!=t&&s(t).updateVoiceState(n)}),j=[]}function y(e){delete G[e.guild.id]}t.__esModule=!0;var _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},b=n(2),S=a(b),I=n(7),T=a(I),N=n(4),A=a(N),M=n(10),C=a(M),O=n(76),D=a(O),L=n(34),R=a(L),x=n(17),w=a(x),P=(n(1),n(75)),k=a(P),U=Object.freeze([]),G={},j=[],F=function(){function e(t){i(this,e),this.guildId=t,this._voiceStates={},this._sortedVoiceStates=null}return e.prototype.isInvalid=function(){return null==this._sortedVoiceStates},e.prototype.invalidate=function(){this._sortedVoiceStates=null},e.prototype.updateVoiceState=function(e){var t=D.default.getVoiceState(this.guildId,e),n=this._voiceStates[e];null!=t?null==n?(this._voiceStates[e]=c(t,this.guildId,e),this.invalidate()):n.voiceState!==t&&(this._voiceStates[e]=_({},n,{voiceState:t}),this.invalidate()):null!=n&&(delete this._voiceStates[e],this.invalidate())},e.prototype.updateNick=function(e){var t=this._voiceStates[e];if(null!=t){var n=l(this.guildId,t.user);if(n!==t.nick)return this._voiceStates[e]=_({},t,u(n)),this.invalidate(),!0}return!1},e.prototype.forEach=function(e){var t=this.isInvalid();T.default.forEach(this._voiceStates,e);var n=this.isInvalid();return n&&n!==t},e.prototype.updateUsers=function(){var e=this;return this.forEach(function(t,n){var a=C.default.getUser(n);null!=a&&t.user!==a&&(e._voiceStates[n]=c(t.voiceState,e.guildId,n),e.invalidate())})},e.prototype.updateNicks=function(){var e=this;return this.forEach(function(t,n){if(!t._isPlaceholder){var a=l(e.guildId,t.user);t.nick!==a&&(e._voiceStates[n]=_({},t,u(a)),e.invalidate())}})},e.prototype.getVoiceStates=function(){return null==this._sortedVoiceStates&&(this._sortedVoiceStates=(0,T.default)(this._voiceStates).sortBy(function(e){return e.comparator}).groupBy(function(e){return e.voiceState.channelId}).value()),this._sortedVoiceStates},e}(),B=function(e){function t(){return i(this,t),o(this,e.apply(this,arguments))}return r(t,e),t.prototype.initialize=function(){this.waitFor(w.default,C.default,R.default),this.syncWith([C.default],g),this.syncWith([D.default],E)},t.prototype.getVoiceStates=function(e){return s(e).getVoiceStates()},t.prototype.getVoiceStatesForChannel=function(e,t){return this.getVoiceStates(e)[t]||U},t}(S.default.Store);t.default=new B(A.default,{CONNECTION_OPEN:d,VOICE_CHANNEL_SELECT:h,VOICE_STATE_UPDATE:p,GUILD_MEMBER_UPDATE:m,GUILD_SYNC:v,GUILD_DELETE:y}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){if(!s)return!1;if(i.default.embedded)return i.default.copy(e),!0;var t=document.createElement("textarea");t.value=e,t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px";var n=document.body;if(null==n)throw new Error("[Utils]ClipboardUtils.copy(): assert failed: document.body != null");n.appendChild(t),t.focus(),t.select();var a=document.execCommand("copy");return n.removeChild(t),a}t.__esModule=!0,t.SUPPORTS_COPY=void 0,t.copy=o;var r=n(18),i=a(r),s=t.SUPPORTS_COPY=function(){if(i.default.embedded)return!!i.default.copy;try{return document.queryCommandEnabled("copy")||document.queryCommandSupported("copy")}catch(e){return!1}}()},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return h[e]||"unknown"}function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(l.default.embedded&&(e="object"!==(void 0===e?"undefined":i(e))?"":e.map(function(e){var t=e[0],n=e[1];return t===f||t===c?h[n]||"UNK"+n:t===u?"mouse"+n:t===d?"gamepad"+n:"dev"+t+","+n}).filter(function(e){return null!=e}).join("+")),t)if(navigator.appVersion.indexOf("Mac OS X")!==-1){var n=e.toUpperCase().split("+");[["META","⌘"],["RIGHT META","RIGHT ⌘"],["SHIFT","⇧"],["RIGHT SHIFT","RIGHT ⇧"],["ALT","⌥"],["RIGHT ALT","RIGHT ⌥"],["CTRL","⌃"],["RIGHT CTRL","RIGHT ⌃"],["ENTER","↵"],["BACKSPACE","⌫"],["DEL","⌦"],["ESC","⎋"],["PAGEUP","⇞"],["PAGEDOWN","⇟"],["UP","↑"],["DOWN","↓"],["LEFT","←"],["RIGHT","→"],["HOME","↖"],["END","↘"],["TAB","⇥"],["SPACE","␣"]].forEach(function(e){var t=e[0],a=e[1];n=n.map(function(e){return t===e?a:e})}),e=n.join(" + ")}else e=e.replace(/\+/g," + ").toUpperCase();return e}t.__esModule=!0,t.TYPE_GAMEPAD_BUTTON=t.TYPE_KEYBOARD_MODIFIER_KEY=t.TYPE_KEYBOARD_KEY=t.TYPE_MOUSE_BUTTON=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.codeToKey=o,t.toString=r;var s=n(18),l=a(s),u=t.TYPE_MOUSE_BUTTON=1,f=t.TYPE_KEYBOARD_KEY=0,c=t.TYPE_KEYBOARD_MODIFIER_KEY=2,d=t.TYPE_GAMEPAD_BUTTON=3,p=void 0;l.default.isLinux()?p={escape:9,f1:67,f2:68,f3:69,f4:70,f5:71,f6:72,f7:73,f8:74,f9:75,f10:76,f11:95,f12:96,f14:107,f15:78,f16:127,"`":49,1:10,2:11,3:12,4:13,5:14,6:15,7:16,8:17,9:18,0:19,"-":20,"=":21,backspace:22,tab:23,q:24,w:25,e:26,r:27,t:28,y:29,u:30,i:31,o:32,p:33,"[":34,"]":35,"\\":51,capslock:66,a:38,s:39,d:40,f:41,g:42,h:43,j:44,k:45,l:46,";":47,"'":48,enter:36,"left shift":50,z:52,x:53,c:54,v:55,b:56,n:57,m:58,",":59,".":60,"/":61,"right shift":62,"left ctrl":37,"left alt":64,"left meta":133,space:65,"right meta":134,"right alt":108,"right ctrl":105,menu:135,numlock:77,"numpad =":125,"numpad /":106,"numpad *":63,"numpad 7":79,"numpad 8":80,"numpad 9":81,"numpad -":82,"numpad 4":83,"numpad 5":84,"numpad 6":85,"numpad +":86,"numpad 1":87,"numpad 2":88,"numpad 3":89,"numpad enter":104,"numpad 0":90,"numpad .":91,home:110,pageup:112,end:115,pagedown:117,insert:118,delete:119,left:113,right:114,down:116,up:111,sleep:150,back:166,forward:167,"home key":180,favorites:164,email:163,play:172,stop:174,"vol down":122,"vol up":123,"track back":173,"track skip":171}:l.default.isOSX()?p={a:4,s:22,d:7,f:9,h:11,g:10,z:29,x:27,c:6,v:25,b:5,q:20,w:26,e:8,r:21,y:28,t:23,1:30,2:31,3:32,4:33,6:35,5:34,"=":46,9:38,7:36,"-":45,8:37,0:39,"]":48,o:18,u:24,"[":47,i:12,p:19,l:15,j:13,"'":52,k:14,";":51,"\\":49,",":54,"/":56,n:17,m:16,".":55,"`":53,"numpad .":99,"numpad *":85,"numpad +":87,"numpad clear":83,"numpad /":84,"numpad enter":88,"numpad -":86,"numpad =":103,"numpad 0":98,"numpad 1":89,"numpad 2":90,"numpad 3":91,"numpad 4":92,"numpad 5":93,"numpad 6":94,"numpad 7":95,"numpad 8":96,"numpad 9":97,enter:40,tab:43,space:44,backspace:42,esc:41,meta:227,shift:225,capslock:57,alt:226,ctrl:224,"right shift":229,"right alt":230,"right ctrl":228,"right meta":231,f17:108,f18:109,f19:110,f20:111,f5:62,f6:63,f7:64,f3:60,f8:65,f9:66,f11:68,f13:104,f16:107,f14:105,f10:67,f12:69,f15:106,home:74,pageup:75,del:76,f4:61,end:77,f2:59,pagedown:78,f1:58,left:80,right:79,down:81,up:82}:l.default.isWindows()&&(p={a:65,s:83,d:68,f:70,h:72,g:71,z:90,x:88,c:67,v:86,b:66,q:81,w:87,e:69,r:82,y:89,t:84,1:49,2:50,3:51,4:52,6:54,5:53,"=":187,9:57,7:55,"-":189,8:56,0:48,"]":221,o:79,u:85,"[":219,i:73,p:80,l:76,j:74,k:75,";":186,",":188,"/":191,n:78,m:77,".":190,"numpad .":110,"numpad *":106,"numpad +":107,"numpad clear":144,"numpad /":111,"numpad -":109,"numpad =":226,"numpad 0":96,"numpad 1":97,"numpad 2":98,"numpad 3":99,"numpad 4":100,"numpad 5":101,"numpad 6":102,"numpad 7":103,"numpad 8":104,"numpad 9":105,enter:13,tab:9,space:32,backspace:8,esc:27,meta:91,shift:160,capslock:20,alt:164,ctrl:162,"right shift":161,"right alt":165,"right ctrl":163,"right meta":93,f17:128,f18:129,f19:130,f5:116,f6:117,f7:118,f3:114,f8:119,f9:120,f11:122,f13:124,f16:127,f14:125,f10:121,f12:123,f15:126,home:36,pageup:33,del:46,f4:115,end:35,f2:113,pagedown:34,f1:112,left:37,right:39,down:40,up:38,insert:45,break:19,"scroll lock":145,"print screen":44,rewind:177,play:179,"fast forward":176,"`":192,"\\":220,"'":222});var h={};for(var g in p)p.hasOwnProperty(g)&&(h[p[g]]=g);l.default.isOSX()||(h[223]="`")},function(e,t,n){"use strict";function a(e,t,n){if(e===t)return!0;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var r=0;r<a.length;r++){var i=a[r];if(e[i]!==t[i]&&(null==n||n.indexOf(i)===-1))return!1}return!0}t.__esModule=!0,t.default=a,e.exports=t.default},,,,,,,,function(e,t){},,,,,,,,,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){return Promise.all([p.default.get({url:g.Endpoints.BILLING}).then(function(e){c.default.dispatch({type:g.ActionTypes.BILLING_SYNC_PROFILE_SUCCESS,profile:e.body})}),p.default.get({url:g.Endpoints.BILLING_HISTORY}).then(function(e){c.default.dispatch({type:g.ActionTypes.BILLING_SYNC_HISTORY_SUCCESS,history:e.body})})]).then(function(){return c.default.dispatch({type:g.ActionTypes.BILLING_SYNC_SUCCESS})},function(e){c.default.dispatch({type:g.ActionTypes.BILLING_SYNC_ERROR,errors:e.body})})}function r(){return p.default.delete({url:g.Endpoints.BILLING_PREMIUM_SUBSCRIPTION}).then(function(){return c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE_COMPLETE})},function(e){return c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE_COMPLETE}),Promise.reject(e.body)})}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.PremiumPlans.MONTHLY,a={url:g.Endpoints.BILLING_PREMIUM_SUBSCRIPTION,body:{}},o=void 0;e===g.PaymentModelModes.NEW?(o="put",a.body={token:t,payment_gateway:g.PaymentSettings.STRIPE.PAYMENT_GATEWAY,plan:n}):(o="patch",a.body={status:g.PremiumStatusTypes.ACTIVE,token:t});var r=e===g.PaymentModelModes.NEW?"premium_purchase_completed":"premium_resubscribed";return p.default[o](a).then(function(){c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE_COMPLETE}),c.default.dispatch({type:g.ActionTypes.PAYMENT_UPDATE_SUCCESS}),c.default.dispatch({type:g.ActionTypes.SUBSCRIBE_SUCCESS}),b.default.track(r,{success:!0,plan:n})},function(e){return c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE_COMPLETE}),c.default.dispatch({type:g.ActionTypes.PAYMENT_UPDATE_FAILURE,error:e.body}),b.default.track(r,{success:!1,error_code:e.body.message,plan:n}),Promise.reject(e.body)})}function s(e){return p.default.put({url:g.Endpoints.BILLING_PAYMENT_SOURCE,body:{payment_gateway:g.PaymentSettings.STRIPE.PAYMENT_GATEWAY,token:e}}).then(function(){return c.default.dispatch({type:g.ActionTypes.PAYMENT_UPDATE_SUCCESS})},function(e){return c.default.dispatch({type:g.ActionTypes.PAYMENT_UPDATE_FAILURE,error:e.body}),Promise.reject(e.body)})}function l(e){return p.default.patch({url:g.Endpoints.BILLING_PREMIUM_SUBSCRIPTION,body:{payment_gateway:g.PaymentSettings.STRIPE.PAYMENT_GATEWAY,plan:e}}).then(function(){c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE_COMPLETE}),b.default.track("premium_upgrade_completed",{success:!0,plan:e})},function(t){return c.default.dispatch({type:g.ActionTypes.PAYMENT_UPDATE_FAILURE,error:t.body}),b.default.track("premium_upgrade_completed",{success:!1,plan:e,error_code:t.body.message}),Promise.reject(t.body)})}function u(e){var t=e.number,n=e.exp,a=e.cvc,o=e.addressZip;return new Promise(function(e,r){(0,h.ensureStripeIsLoaded)().then(function(i){c.default.dispatch({type:g.ActionTypes.PAYMENT_PROCESSING}),i.card.createToken({number:t,cvc:a,exp:n,address_zip:o},function(t,n){200===t&&n&&n.id?e(n):(c.default.dispatch({type:g.ActionTypes.STRIPE_TOKEN_FAILURE,error:n?n.error:null}),r(n))})})})}t.__esModule=!0,t.getBillingInfo=void 0;var f=n(4),c=a(f),d=n(16),p=a(d),h=n(544),g=n(1),m=n(107),v=a(m),E=n(3),y=a(E),_=n(29),b=a(_);t.getBillingInfo=o,t.default={subscribe:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.PaymentModelModes.NEW,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.PremiumPlans.MONTHLY;return new Promise(function(a,o){u(e).then(function(e){return i(t,e.id,n).then(a,o)},function(e){b.default.track("premium_purchase_completed",{success:!1,error_code:e.error.type+":"+e.error.code,plan:n}),c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE_COMPLETE}),o(e)})})},resubscribe:function(){return c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE}),i(g.PaymentModelModes.RESUBSCRIBE)},unsubscribe:function(e){return new Promise(function(t,n){v.default.show({body:e||y.default.Messages.PREMIUM_CANCEL_CONFIRM_BODY,confirmText:y.default.Messages.PREMIUM_CANCEL_CONFIRM,cancelText:y.default.Messages.PREMIUM_CANCEL_CANCEL,onConfirm:function(){return c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE}),r().then(t).catch(function(e){v.default.show({body:y.default.Messages.PREMIUM_CANCEL_FAILED_BODY}),n(e)})},onCancel:function(){return n()},className:"premium-unsubscribe"})})},upgrade:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.PremiumPlans.YEARLY,t=arguments[1];return new Promise(function(n,a){v.default.show({body:t||y.default.Messages.PREMIUM_UPGRADE_CONFIRM_BODY,confirmText:y.default.Messages.PREMIUM_UPGRADE_CONFIRM,cancelText:y.default.Messages.PREMIUM_UPGRADE_CANCEL,onConfirm:function(){return l(e).then(n).catch(function(e){v.default.show({body:y.default.Messages.PREMIUM_UPGRADE_FAILED_BODY}),a(e)})},onCancel:function(){return a()},className:"premium-upgrade"})})},changeCard:function(e){return new Promise(function(t,n){u(e).then(function(e){return s(e.id).then(t,n)},n)})},removeCard:function(){return c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE}),p.default.delete({url:g.Endpoints.BILLING_PAYMENT_SOURCE}).then(function(){return c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE_COMPLETE}),b.default.track("premium_cc_removed")},function(){return c.default.dispatch({type:g.ActionTypes.BILLING_INFO_UPDATE_COMPLETE})})},getBillingInfo:function(){return c.default.dirtyDispatch({type:g.ActionTypes.BILLING_SYNC}),o()}}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){p.default.dispatch({type:v.ActionTypes.CHANNEL_SETTINGS_INIT,channelId:e})}function r(e){o(e),(0,m.pushLayer)(v.Layers.CHANNEL_SETTINGS)}function i(){p.default.dispatch({type:v.ActionTypes.CHANNEL_SETTINGS_CLOSE})}function s(e){p.default.dispatch({type:v.ActionTypes.CHANNEL_SETTINGS_SET_SECTION,section:e})}function l(e){p.default.dispatch({type:v.ActionTypes.CHANNEL_SETTINGS_OVERWRITE_SELECT,overwriteId:e})}function u(e){var t=e.name,n=e.topic,a=e.bitrate,o=e.userLimit;p.default.dispatch({type:v.ActionTypes.CHANNEL_SETTINGS_UPDATE,name:t,topic:n,bitrate:a,userLimit:o})}function f(e,t){var n=t.name,a=t.position,o=t.topic,r=t.bitrate,i=t.userLimit;return p.default.dispatch({type:v.ActionTypes.CHANNEL_SETTINGS_SUBMIT}),g.default.patch({url:v.Endpoints.CHANNELS+"/"+e,body:{name:n,position:a,topic:o,bitrate:r,user_limit:i}}).then(function(t){return p.default.dispatch({type:v.ActionTypes.CHANNEL_SETTINGS_SUBMIT_SUCCESS,channelId:e}),t},function(e){return p.default.dispatch({type:v.ActionTypes.CHANNEL_SETTINGS_SUBMIT_FAILURE,errors:e.body}),e})}function c(e){g.default.delete(v.Endpoints.CHANNELS+"/"+e).then(function(){return i()})}t.__esModule=!0,t.init=o,t.open=r,t.close=i,t.setSection=s,t.selectPermissionOverwrite=l,t.updateChannel=u,t.saveChannel=f,t.deleteChannel=c;var d=n(4),p=a(d),h=n(16),g=a(h),m=n(102),v=n(1);t.default={init:o,open:r,close:i,setSection:s,selectPermissionOverwrite:l,updateChannel:u,saveChannel:f,deleteChannel:c}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={open:function(e,t,n,a){r.default.dispatch({type:i.ActionTypes.CREATE_CHANNEL_MODAL_OPEN,channelId:e,channelType:t,guildId:n,cloneChannelId:a})},close:function(){r.default.dispatch({type:i.ActionTypes.CREATE_CHANNEL_MODAL_CLOSE})},createChannel:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=this,s=arguments[4],u=arguments[5];r.default.dispatch({type:i.ActionTypes.CREATE_CHANNEL_MODAL_SUBMIT});var f={type:t,name:n,permission_overwrites:a};null!=s&&s!==i.BITRATE_DEFAULT&&(f.bitrate=s),null!=u&&u>0&&(f.user_limit=u),l.default.post({url:i.Endpoints.GUILD_CHANNELS(e),body:f}).then(function(){return o.close()},function(e){return r.default.dispatch({type:i.ActionTypes.CREATE_CHANNEL_MODAL_SUBMIT_FAILURE,errors:e.body})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s),u=n(29),f=a(u);t.default={open:function(e,t){r.default.dispatch({type:i.ActionTypes.CREATE_GUILD_MODAL_OPEN,screen:e}),f.default.track("Open Modal",{Type:"Create Guild",Source:t})},setScreen:function(e){r.default.dispatch({type:i.ActionTypes.CREATE_GUILD_MODAL_SET_SCREEN,screen:e})},close:function(){r.default.dispatch({type:i.ActionTypes.CREATE_GUILD_MODAL_CLOSE})},join:function(e){r.default.dispatch({type:i.ActionTypes.JOIN_GUILD_MODAL,text:e})},updateTemporaryGuild:function(e){r.default.dispatch({type:i.ActionTypes.CREATE_GUILD_MODAL_UPDATE,guild:e})},createGuild:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;r.default.dispatch({type:i.ActionTypes.CREATE_GUILD_MODAL_SUBMIT}),l.default.post({url:i.Endpoints.GUILDS,body:{name:e,region:t,icon:a}}).then(function(){return n.close()},function(e){return r.default.dispatch({type:i.ActionTypes.CREATE_GUILD_MODAL_SUBMIT_FAILURE,errors:e.body})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s),u=n(17),f=a(u);t.default={trigger:function(e){r.default.dirtyDispatch({type:i.ActionTypes.EXPERIMENT_TRIGGER,experimentDescriptor:e})},register:function(e,t){r.default.dispatch({type:i.ActionTypes.EXPERIMENT_REGISTER,store:e,renderFunctions:t})},overrideType:function(e,t){r.default.dispatch({type:i.ActionTypes.EXPERIMENT_OVERRIDE_TYPE,experimentId:e,experimentType:t})},overrideBucket:function(e,t){r.default.dispatch({type:i.ActionTypes.EXPERIMENT_OVERRIDE_BUCKET,experimentId:e,experimentBucket:t})},fetchExperiments:function(){var e={},t=f.default.getFingerprint();return t&&(e["X-Fingerprint"]=t),l.default.get({url:i.Endpoints.EXPERIMENTS,headers:e}).then(function(e){var t=e.body,n=t.fingerprint,a=t.assignments;n&&r.default.dispatch({type:i.ActionTypes.FINGERPRINT,token:n}),r.default.dispatch({type:i.ActionTypes.EXPERIMENTS_FETCH_SUCCESS,experiments:a})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(23),u=a(l),f=n(5),c=a(f),d=n(6),p=a(d),h=n(496),g=a(h),m=n(272),v=n(319),E=n(41),y=a(E),_=n(61),b=a(_),S=n(502),I=a(S),T=n(1260),N=a(T),A=n(725),M=a(A),C=n(1289),O=a(C),D=n(33),L=a(D),R=n(1333),x=a(R),w=n(1298),P=a(w),k=n(798),U=a(k),G=n(355),j=a(G),F=n(54),B=a(F),V=n(349),H=a(V),z=n(213),W=n(372),Y=a(W),K=n(146),Q=a(K),Z=n(387),X=a(Z),J=n(10),q=a(J),$=n(3),ee=a($),te=n(18),ne=a(te),ae=n(64),oe=a(ae),re=n(95),ie=a(re),se=n(1390),le=a(se),ue=n(358),fe=a(ue),ce=n(47),de=a(ce),pe=n(2),he=a(pe),ge=n(274),me=a(ge),ve=n(1378),Ee=a(ve),ye=n(14),_e=a(ye),be=n(498),Se=a(be),Ie=n(499),Te=a(Ie),Ne=n(48),Ae=n(726),Me=n(1),Ce=n(216),Oe=a(Ce);n(2183);var De="EDIT_MESSAGE_REF",Le=s.default.createClass({displayName:"OptionPopout",mixins:[p.default,de.default],handleCopyId:function(){(0,m.copy)(this.props.message.id),this.props.onClose()},handleEdit:function(){B.default.startEditMessage(this.props.channel.id,this.props.message.id,this.props.message.content)},handleRetry:function(){var e=this.props,t=e.channel,n=e.message;B.default.retrySendMessage(t,n.id,n.content,n.tts)},handleDelete:function(){this.props.message.state===Me.MessageStates.SEND_FAILED?B.default.deleteMessage(this.props.channel.id,this.props.message.id,!0):fe.default.confirmDelete(this.props.channel,this.props.message)},handleReactions:function(){_e.default.push(Se.default,{message:this.props.message})},handlePin:function(){fe.default.confirmPin(this.props.channel,this.props.message),this.props.onClose()},handleReport:function(){_e.default.push(Te.default,{message:this.props.message}),this.props.onClose()},handleUnpin:function(e){e.shiftKey?H.default.unpinMessage(this.props.channel,this.props.message.id):fe.default.confirmUnpin(this.props.channel,this.props.message),this.props.onClose()},render:function(){var e=this.props.message,t=void 0,n=void 0,a=void 0,o=void 0,i=void 0,s=void 0,l=void 0;if(e.state===Me.MessageStates.SEND_FAILED)t=r("div",{className:"btn-item",onClick:this.handleRetry},void 0,ee.default.Messages.RETRY);else{var u=q.default.getCurrentUser();this.props.canEdit&&e.author.id===u.id&&(n=r("div",{className:"btn-item",onClick:this.handleEdit},void 0,ee.default.Messages.EDIT)),this.props.canPin&&(a=e.pinned===!1?r("div",{className:"btn-item",onClick:this.handlePin},void 0,ee.default.Messages.PIN):r("div",{className:"btn-item",onClick:this.handleUnpin},void 0,ee.default.Messages.UNPIN))}return m.SUPPORTS_COPY&&this.props.developerMode&&(o=r("div",{className:"btn-item",onClick:this.handleCopyId},void 0,ee.default.Messages.COPY_ID)),this.props.canDelete&&(i=r("div",{className:"btn-item",onClick:this.handleDelete},void 0,ee.default.Messages.DELETE)),e.reactions.length&&(s=r("div",{className:"btn-item",onClick:this.handleReactions},void 0,ee.default.Messages.REACTIONS)),this.props.canReport&&(l=r("div",{className:"btn-item",onClick:this.handleReport},void 0,ee.default.Messages.REPORT)),r("div",{className:"option-popout small-popout-box"},void 0,a,n,t,o,i,s,l)}}),Re=r(I.default,{}),xe=r("i",{className:"highlight-separator right-pad"},void 0,": "),we=r(I.default,{}),Pe=r("div",{className:"btn-option"}),ke=r("div",{className:"btn-reaction"}),Ue=r("i",{className:"highlight-separator left-pad"},void 0,"["),Ge=r("i",{className:"highlight-separator right-pad"},void 0,"] "),je=r("span",{className:"highlight-separator"},void 0," - "),Fe=s.default.createClass({displayName:"Message",mixins:[he.default.StoreListenerMixin(U.default),p.default,Y.default],getStateFromStores:function(){return{isEditing:this.props.canEdit&&U.default.isEditing(this.props.channel.id,this.props.message.id)}},componentWillMount:function(){this._mounted=!1},componentDidMount:function(){this._mounted=!0},componentDidUpdate:function(e,t){var n=this.props.message;n.embeds===e.message.embeds&&n.reactions===e.message.reactions||this.props.onUpdate&&this.props.onUpdate(u.default.findDOMNode(this)),this.state.isEditing!==t.isEditing&&(this.props.onToggleEditing&&this.props.onToggleEditing(this.state.isEditing),this.state.isEditing&&this.props.onEdit&&this.props.onEdit(u.default.findDOMNode(this)))},handleCancelEditing:function(){B.default.endEditMessage()},handleSaveClick:function(){this.handleSaveEditing(u.default.findDOMNode(this.refs[De].refs.textarea).value)},handleSaveEditing:function(e){if(0==e.length)fe.default.confirmDelete(this.props.channel,this.props.message);else{if(this.applyChatRestrictions(e))return;if(e!==U.default.getEditingContent()){var t=Q.default.parse(this.props.channel,e,!0);B.default.editMessage(this.props.channel.id,this.props.message.id,t)}}this.handleCancelEditing()},handleKeyDown:function(e){27!==e.which||e.shiftKey||(e.preventDefault(),this.handleCancelEditing())},handleTextareaResize:function(){this.props.onEdit&&this.props.onEdit(u.default.findDOMNode(this))},handleManualAck:function(e){e.altKey&&(e.preventDefault(),j.default.manualAck(this.props.channel.id,this.props.message.id))},renderOptionPopout:function(e){return s.default.createElement(Le,o({},e,{channel:this.props.channel,message:this.props.message,developerMode:this.props.developerMode,canEdit:this.props.canEdit,canPin:this.props.canPin,canDelete:this.props.canDelete,canReport:this.props.canReport}))},renderUserPopout:function(e){var t=this.props,n=t.channel,a=t.message;return s.default.createElement(Oe.default,o({},e,{user:a.author,guildId:n.getGuildId(),channelId:n.id}))},renderUsername:function(e){var t=e.colorString?{color:e.colorString}:null;return this.props.compact?r(y.default,{closeOnScroll:!1,render:this.renderUserPopout,position:this.props.popoutPosition},void 0,r("span",{className:"username-wrapper",onContextMenu:this.props.onContextMenu},void 0,e.author.bot?Re:null,r("strong",{className:"user-name",style:t},void 0,e.nick||e.author.toString()),xe)):r(y.default,{closeOnScroll:!1,render:this.renderUserPopout,position:this.props.popoutPosition},void 0,r("span",{className:"username-wrapper",onContextMenu:this.props.onContextMenu},void 0,r("strong",{className:"user-name",style:t},void 0,e.nick||e.author.toString()),e.author.bot?we:null))},renderAttachments:function(e){var t=this;return e.attachments.length?e.attachments.map(function(e){return r(N.default,{attachment:e,inlineMedia:t.props.inlineAttachmentMedia,onContextMenu:function(n){return t.handleMessageContextMenu(n,{attachment:e})}},e.id)}):null},renderEmbeds:function e(t){var n=this.props,e=n.renderEmbeds,a=n.inlineEmbedMedia,r=n.channel;return t.embeds.length&&e?t.embeds.map(function(e,n){return s.default.createElement(M.default,o({key:n},e,{message:t,inlineMedia:a,channelId:r.id}))}):null},renderOptionButton:function(e,t,n){if(this.props.option===!1)return null;if(!e.author.isLocalBot()){var a=q.default.getCurrentUser();return!t&&!n&&(e.author.id===a.id||this.props.canDelete||this.props.canPin||this.props.canReport||m.SUPPORTS_COPY&&this.props.developerMode)?r(y.default,{closeOnScroll:!1,render:this.renderOptionPopout,position:y.default.BOTTOM,offsetY:-6},void 0,Pe):null}},renderReactionPopout:function(e){var t=this.props.channel;return s.default.createElement(Ae.EmojiPicker,o({},e,{channel:t,onSelectEmoji:this.handleAddReaction}))},handleAddReaction:function(e){if(null!=e){var t=this.props,n=t.channel,a=t.message;(0,z.addReaction)(n.id,a.id,(0,v.toReactionEmoji)(e))}},renderReactionButton:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.props.option!==!1&&!this.state.isEditing&&e.state!==Me.MessageStates.SENDING&&this.props.canAddNewReactions&&this.props.renderReactions&&!e.author.isLocalBot())return r(y.default,{closeOnScroll:!1,render:this.renderReactionPopout,position:t?y.default.LEFT:y.default.RIGHT,offsetX:t?-10:0,tooltip:ee.default.Messages.ADD_REACTION,subscribeTo:t?Me.ComponentActions.TOGGLE_REACTION_POPOUT(e.id):null},void 0,ke)},renderInvites:function(e){return e.invites.length?e.invites.map(function(e){return r(O.default,{code:e},e)}):null},renderReactions:function(e){return this.props.renderReactions&&e.reactions.length?r(P.default,{message:e,transitionAppear:this._mounted,readOnly:!this.props.canAddReactions},void 0,this.renderReactionButton(e,!1)):null},renderContent:function(e){var t=void 0;return e.isEdited()&&(t=r(L.default,{text:e.editedTimestamp.calendar()},void 0,r("span",{className:"edited"},void 0,"(",ee.default.Messages.MESSAGE_EDITED,")"))),this.props.compact?r("div",{className:"markup"},void 0,this.renderTimestamp(e),this.renderUsername(e),r("span",{className:"message-content"},void 0,e.contentParsed,t)):r("div",{className:"markup"},void 0,e.contentParsed,t)},renderTimestamp:function(e){return this.props.compact?r("span",{className:"timestamp"},void 0,Ue,e.timestamp.format("LT"),Ge):r("span",{className:"timestamp"},void 0,e.timestamp.calendar())},renderAccessories:function(e){return r("div",{className:"accessory"},void 0,this.renderInvites(e),this.renderAttachments(e),this.renderEmbeds(e),this.renderReactions(e))},renderHeader:function(e,t){return this.props.compact||!this.props.first&&!t?null:r("h2",{},void 0,this.renderUsername(e),je,this.renderTimestamp(e))},handleSystemMessageContextMenu:function(e){var t=this;if(ne.default.embedded){var n=e.target;oe.default.openContextMenu(e,function(e){return s.default.createElement(le.default,o({},e,{type:Me.ContextMenuTypes.MESSAGE_SYSTEM,message:t.props.message,channel:t.props.channel,target:n}))})}},handleMessageContextMenu:function(e,t){var n=this;if(ne.default.embedded){var a=e.target;oe.default.openContextMenu(e,function(e){return s.default.createElement(le.default,o({},e,t,{type:Me.ContextMenuTypes.MESSAGE_MAIN,message:n.props.message,channel:n.props.channel,target:a}))})}},render:function(){var e=this.props.message,t=this.state.isEditing,n=e.state===Me.MessageStates.SENDING,a=this.renderHeader(e,t),o=this.renderOptionButton(e,t,n),i=this.renderReactionButton(e);if(e.type>Me.MessageTypes.DEFAULT)return r("div",{className:(0,c.default)("message",l),onContextMenu:Me.MessageTypesDeletable[e.type]&&this.handleSystemMessageContextMenu},void 0,r(x.default,{message:e,option:o}));var l=void 0;if(t){var u=U.default.getEditingContent(),f=s.default.createElement(g.default,{ref:De,key:e.id,channel:this.props.channel,type:Me.TextareaTypes.EDIT,onSubmit:this.handleSaveEditing,onKeyDown:this.handleKeyDown,onResize:this.handleTextareaResize,defaultValue:u}),d=r("div",{className:"edit-operation"},void 0,ee.default.Messages.EDIT_TEXTAREA_HELP.format({onCancel:this.handleCancelEditing,onSave:this.handleSaveClick}));return l={"edit-message":!0,"edit-first-message":this.props.first},this.props.compact?r("div",{},void 0,r("div",{className:(0,c.default)(l)},void 0,r("div",{className:"edit-container-outer"},void 0,this.renderTimestamp(e),r("div",{className:"edit-container-inner"},void 0,f,d))),this.renderAccessories(e)):r("div",{},void 0,r("div",{className:(0,c.default)(l)},void 0,r("div",{className:"edit-container-outer"},void 0,r(b.default,{user:e.author,size:this.props.avatarSize,animate:!0}),r("div",{className:"edit-container-inner"},void 0,a,f,d))),this.renderAccessories(e))}var p=this.renderContent(e);l={"message-sending":n,"message-send-failed":e.state===Me.MessageStates.SEND_FAILED,mentioned:this.props.renderMentioned&&e.mentioned,first:this.props.first};var h=null;return h=this.props.compact?r("div",{className:(0,c.default)("message",l),onClick:this.handleManualAck},void 0,r("div",{className:"message-text",onContextMenu:this.handleMessageContextMenu},void 0,o,i,p),this.renderAccessories(e)):r("div",{className:(0,c.default)("message",l),onClick:this.handleManualAck},void 0,r("div",{className:"body"},void 0,a,r("div",{className:"message-text",onContextMenu:this.handleMessageContextMenu},void 0,o,i,p)),this.renderAccessories(e)),this.props.jumpSequenceId&&this.props.canFlash?r(Ee.default,{sequenceId:this.props.jumpSequenceId},void 0,h):h}}),Be=s.default.createClass({displayName:"MessageGroup",getDefaultProps:function(){return{canManageMessages:!1,hasDivider:!1,popoutPosition:y.default.RIGHT,avatarSize:"large",compact:!1,messageOption:!0,canEdit:!0,jumpTargetIndex:-1,enableInteraction:!0,developerMode:!1,canFlash:!0,renderMentioned:!0,inlineAttachmentMedia:!1,inlineEmbedMedia:!1,renderEmbeds:!1,renderReactions:!0,canAddReactions:!1,canChat:!1,canReport:!1}},getInitialState:function(){var e=this.props.messages,t=e[0];return{animatedAvatar:(0,Ne.hasAnimatedAvatar)(t.author),animate:!1,isEditing:!1}},componentWillReceiveProps:function(e){var t=e.messages,n=t[0],a=(0,Ne.hasAnimatedAvatar)(n.author);a!==this.state.animatedAvatar&&this.setState({animatedAvatar:a})},shouldComponentUpdate:function(e,t){if(!(0,me.default)(this.props,e,["messages"])||!(0,me.default)(this.state,t))return!0;var n=this.props.messages;if(n.length!==e.messages.length)return!0;for(var a=0;a<n.length;a++)if(n[a]!==e.messages[a])return!0;return!1},getMessage:function(e){return this.refs[e]},onToggleEditing:function(e){this.setState({isEditing:e})},renderUserPopout:function(e){var t=this.props,n=t.channel,a=t.messages,r=a[0];return s.default.createElement(Oe.default,o({},e,{user:r.author,guildId:n.getGuildId(),channelId:n.id}))},render:function(){var e=this,t=this.props,n=t.channel,a=t.compact,o=this.state,i=o.animatedAvatar,l=o.animate,u=this.props.messages[0].author,f=u.isLocalBot(),d=(0,c.default)({"message-group":!0,"has-divider":this.props.hasDivider,"hide-overflow":!this.state.isEditing,"is-local-bot-message":f,compact:a}),p=this.props.messages[0].type>Me.MessageTypes.DEFAULT,h=this.props.canManageMessages||u.id===q.default.getCurrentUser().id,g=!p&&(this.props.canManageMessages||n.isPrivate()),m=!p&&this.props.canEdit,v=!p&&(this.props.canAddNewReactions||n.isPrivate()),E=!p&&(this.props.canChat||n.isPrivate()),_=this.props.canReport&&X.default.canReportUser(u),S=this.props.messages.map(function(t,o){return s.default.createElement(Fe,{key:t.id,ref:o,first:0===o,renderMentioned:e.props.renderMentioned,jumpSequenceId:e.props.jumpTargetIndex===o?e.props.jumpSequenceId:null,canFlash:e.props.canFlash,compact:a,channel:n,message:t,inlineAttachmentMedia:e.props.inlineAttachmentMedia,inlineEmbedMedia:e.props.inlineEmbedMedia,renderEmbeds:e.props.renderEmbeds,renderReactions:e.props.renderReactions,canPin:g,canDelete:h,onEdit:e.props.onEdit,onToggleEditing:e.onToggleEditing,onUpdate:e.props.onUpdate,avatarSize:e.props.avatarSize,popoutPosition:e.props.popoutPosition,onContextMenu:e.handleContextMenu,option:e.props.messageOption,developerMode:e.props.developerMode,canAddReactions:E,canAddNewReactions:v,canEdit:m,canReport:_})}),I=void 0;a||(I=r(y.default,{closeOnScroll:!1,render:this.renderUserPopout,position:y.default.RIGHT},void 0,r(b.default,{user:u,onContextMenu:this.handleContextMenu,size:this.props.avatarSize,animate:l})));var T=void 0;if(!this.props.onClickAnywhere&&this.props.enableInteraction||(T=r("div",{className:(0,c.default)("sink-interactions",{clickable:this.props.onClickAnywhere}),onClick:this.props.onClickAnywhere})),p)return r("div",{className:d},void 0,r("div",{className:"comment"},void 0,S),T);var N=void 0;return f&&(N=r("div",{className:"local-bot-message"},void 0,ee.default.Messages.ONLY_YOU_CAN_SEE_AND_DELETE_THESE.format({count:S.length,handleDelete:this.handleDeleteMessageGroup}))),r("div",{className:d,onMouseEnter:i&&this.onMouseEnter,onMouseLeave:i&&this.onMouseLeave},void 0,I,r("div",{className:"comment"},void 0,S,N),T,this.props.groupOption&&this.props.groupOption(this.props.messages))},onMouseEnter:function(){this.setState({animate:!0})},onMouseLeave:function(){this.setState({animate:!1})},handleContextMenu:function(e){var t=this.props,n=t.channel,a=t.messages,r=a[0],i=r.author;n.isGroupDM()?oe.default.openContextMenu(e,function(e){return s.default.createElement(ie.default,o({},e,{type:Me.ContextMenuTypes.USER_GROUP_DM,user:i,nearestMessage:r,channelId:n.id}))}):n.isDM()?oe.default.openContextMenu(e,function(e){return s.default.createElement(ie.default,o({},e,{type:Me.ContextMenuTypes.USER_PRIVATE_CHANNELS_MESSAGE,user:i,channelId:n.id,nearestMessage:r,selected:!0}))}):oe.default.openContextMenu(e,function(e){return s.default.createElement(ie.default,o({},e,{type:Me.ContextMenuTypes.USER_CHANNEL_MESSAGE,user:i,channelId:n.id,nearestMessage:r,guildId:n.guild_id}))})},handleDeleteMessageGroup:function(){var e=this.props,t=e.messages,n=e.channel;t.forEach(function(e){return B.default.deleteMessage(n.id,e.id,!0)})}});t.default=Be,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(301),c=a(f),d=n(3),p=a(d),h=n(1);n(2158);var g=s("div",{className:"avatar-uploader-indicator flex-center"}),m=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleRemove=a.handleRemove.bind(a),a}return i(t,e),t.prototype.handleExternalFileChange=function(e){this.refs.imageInput&&this.refs.imageInput.handleFileChange(e)},t.prototype.handleRemove=function(){this.props.onChange(null)},t.prototype.render=function(){var e=this.props,t=e.avatar,n=e.size,a=e.hint,o=e.name,r=e.makeURL,i=e.disabled,l=e.onChange,f=e.showIcon,d=void 0;d=null!=t&&/^data:/.test(t)?t:r(t);var m=void 0,v=void 0;if(d?m='url("'+d+'")':v=s("div",{className:"avatar-uploader-acronym"},void 0,o.replace(/\w+/g,function(e){return e[0]}).replace(/\s/g,"")),i)return s("div",{className:"avatar-uploader disabled"},void 0,s("div",{className:"avatar-uploader-inner",style:{backgroundImage:m}},void 0,v));var E=void 0;return E=null!=t?s("a",{className:"remove-button",onClick:this.handleRemove},void 0,p.default.Messages.REMOVE):s("small",{className:"size-info"},void 0,p.default.Messages.MINIMUM_SIZE.format({size:h.AVATAR_SIZE})),f?s("div",{className:"avatar-uploader"},void 0,s("div",{className:"avatar-uploader-inner",style:{backgroundImage:m}},void 0,v,s("div",{className:"avatar-uploader-hint"},void 0,a),u.default.createElement(c.default,{ref:"imageInput",onChange:l,size:n}),g),E):s("div",{className:"avatar-uploader"},void 0,s("div",{className:"avatar-uploader-inner",style:{backgroundImage:m}},void 0,v,s("div",{className:"avatar-uploader-hint"},void 0,a),u.default.createElement(c.default,{ref:"imageInput",onChange:l,size:n})),E)},t}(u.default.PureComponent);m.defaultProps={name:"",size:64,makeURL:function(e){return e},hint:p.default.Messages.CHANGE_AVATAR,disabled:!1,showIcon:!1},t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null!=e){var n=new FileReader;n.onload=function(n){return t(n.target.result,e.name)},n.readAsDataURL(e)}}function r(e,t,n){if("image/gif"===e.type)return void o(e,function(e,t){return n(e,t)});o(e,function(e,a){var o=new Image;o.src=e,o.onload=function(){var e=document.createElement("canvas");e.width=o.width,e.height=o.height;var r=e.getContext("2d");r&&r.drawImage(o,0,0,e.width,e.height);var i=Math.min(Math.min(o.width,o.height),t),s=o.width<o.height?o.width/i:o.height/i,l=document.createElement("canvas");l.width=o.width/s,l.height=o.height/s,m.default.resizeCanvas(e,l,{alpha:!0},function(){var e=document.createElement("canvas");e.width=i,e.height=i;var t=(l.width-e.width)/-2,o=(l.height-e.height)/-2,r=e.getContext("2d");r&&r.drawImage(l,t,o,l.width,l.height),n(e.toDataURL("image/png"),a)})}})}t.__esModule=!0;var i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}();t.processImage=r;var s=n(0),l=a(s),u=n(6),f=a(u),c=n(3),d=a(c),p=n(505),h=a(p),g=n(1546),m=a(g),v=[{name:d.default.Messages.IMAGES,extensions:["jpg","jpeg","png","gif"]}],E=l.default.createClass({displayName:"ImageInput",mixins:[f.default],getDefaultProps:function(){return{multiple:!1}},handleFileChange:function(e){var t=this.props.size;e.stopPropagation(),e.preventDefault();for(var n=0;n<e.target.files.length;n++){var a=e.target.files[n];null!=t?r(a,t,this.handleFileRead):o(a,this.handleFileRead)}},handleFileRead:function(e,t){var n=this.props.onChange;this.isMounted()&&n(e,t)},render:function(){var e=this.props,t=e.multiple,n=e.disabled;return i(h.default,{onChange:this.handleFileChange,filters:v,multiple:t,disabled:n})}});t.default=E},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(5),f=a(u);n(2174);var c=i("span",{}),d=l.default.createClass({displayName:"Radio",render:function(){var e=this.props,t=e.children,n=o(e,["children"]);return i("div",{className:(0,f.default)("radio",{disabled:n.disabled}),onClick:this.handleClick},void 0,i("div",{className:(0,f.default)("radio-inner",{default:n.default})},void 0,l.default.createElement("input",r({},n,{type:"radio",ref:"radio"})),c),t)},handleClick:function(){this.refs.radio.click()}});t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.RegionSelect=t.RegionSelectModal=t.RegionName=t.RegionFlag=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(5),c=a(f),d=n(2),p=a(d),h=n(46),g=a(h),m=n(3),v=a(m),E=n(491),y=a(E),_=n(14),b=a(_),S=n(310),I=a(S);n(2176);var T=t.RegionFlag=function(e){var t=e.region,a=void 0;if("unknown"===t.id)a=n(341);else{var o=t.id.replace(/^vip-/,"");try{a=n(705)("./"+o+".png")}catch(e){a=n(341)}}return r("div",{className:(0,c.default)("region-select-flag",{vip:t.vip}),style:{backgroundImage:'url("'+a+'")'}})},N=t.RegionName=function(e){return r("div",{className:"region-select-name"},void 0,e.region.name.replace(/ \(VIP\)$/,""))},A=function(e){var t=e.region,n=e.onClick;return r("div",{className:"region-select-modal-option",onClick:function(){return n(t)}},void 0,r(T,{region:t}),r(N,{region:t}))},M=t.RegionSelectModal=s.default.createClass({displayName:"RegionSelectModal",handleSelect:function(e){this.props.onChange&&this.props.onChange(e),this.props.onClose()},render:function(){var e=this;return r("div",{className:"region-select-modal"},void 0,r("div",{className:"region-select-modal-header"},void 0,v.default.Messages.REGION_SELECT_HEADER),r("div",{className:"region-select-modal-options"},void 0,this.props.regions.map(function(t,n){return r(A,{region:t,onClick:e.handleSelect},n)})),r("div",{className:"region-select-modal-footer"},void 0,v.default.Messages.REGION_SELECT_FOOTER))}}),C=r("div",{className:"region-select region-select-loading"},void 0,r(g.default,{type:"chasing-dots"})),O=t.RegionSelect=s.default.createClass({displayName:"RegionSelect",mixins:[p.default.StoreListenerMixin(I.default),u.default],getDefaultProps:function(){return{disabled:!1,changeRegionButtonText:v.default.Messages.CHANGE}},getStateFromStores:function(){return{regions:I.default.getRegions(this.props.guildId)}},componentDidMount:function(){null==this.state.regions&&y.default.fetchRegions(this.props.guildId)},componentWillReceiveProps:function(e){if(this.props.guildId!==e.guildId){var t=I.default.getRegions(e.guildId);null==t&&y.default.fetchRegions(e.guildId),this.setState({regions:t})}},handleChange:function(e){this.props.onChange&&this.props.onChange(e.id)},openChangeModal:function(){var e=this,t=this.state.regions.filter(function(e){return!e.deprecated});b.default.push(function(n){return s.default.createElement(M,o({regions:t,onChange:e.handleChange},n))})},render:function(){var e=this;if(null==this.state.regions)return C;var t=this.state.regions.find(function(t){return t.id===e.props.value})||{id:"unknown",name:v.default.Messages.UNKNOWN_REGION,vip:!1};return r("div",{className:(0,c.default)("region-select",{disabled:this.props.disabled}),onClick:this.openChangeModal},void 0,r("div",{className:"region-select-inner"},void 0,r(T,{region:t}),r(N,{region:t})),r("button",{type:"button"},void 0,this.props.changeRegionButtonText))}});t.default=O},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(3),c=a(f),d=n(24),p=a(d),h=n(36),g=n(15),m=a(g),v=n(28),E=a(v),y=n(123),_=n(1);n(2133),n(604);var b=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={color:new p.default.Value(0)},a.handleOnSave=a.handleOnSave.bind(a),a.handleOnReset=a.handleOnReset.bind(a),a.emphasize=a.emphasize.bind(a),a}return i(t,e),t.prototype.componentDidMount=function(){h.ComponentDispatch.subscribe(_.ComponentActions.EMPHASIZE_NOTICE,this.emphasize)},t.prototype.componentWillUnmount=function(){h.ComponentDispatch.unsubscribe(_.ComponentActions.EMPHASIZE_NOTICE,this.emphasize)},t.prototype.handleOnSave=function(e){(0,this.props.onSave)(e)},t.prototype.handleOnReset=function(e){(0,this.props.onReset)(e)},t.prototype.emphasize=function(){var e=this.state.color;p.default.sequence([p.default.timing(e,{toValue:1,duration:170,easing:p.default.Easing.quad}),p.default.timing(e,{delay:500,toValue:0,duration:170,easing:p.default.Easing.quad})]).start()},t.prototype.render=function(){var e=this.props.submitting;return s(p.default.div,{className:"ui-settings-notice elevation-high",style:this.getContainerStyle()},void 0,s(m.default,{align:m.default.Align.CENTER},void 0,s(m.default.Child,{},void 0,s(p.default.div,{className:"ui-settings-notice-message",style:this.getTextStyle()},void 0,c.default.Messages.SETTINGS_NOTICE_MESSAGE)),s(m.default,{className:"ui-settings-notice-buttons",grow:0,justify:m.default.Justify.END},void 0,s(E.default,{className:"settings-notice-button settings-notice-reset-button",size:E.default.Sizes.SMALL,color:E.default.Colors.PRIMARY,look:E.default.Looks.LINK,onClick:this.handleOnReset},void 0,s(p.default.span,{style:this.getTextStyle()},void 0,c.default.Messages.RESET)),s(E.default,{className:"settings-notice-button",size:E.default.Sizes.SMALL,color:E.default.Colors.GREEN,submitting:e,onClick:this.handleOnSave},void 0,c.default.Messages.SAVE_CHANGES))))},t.prototype.getTextStyle=function(){var e=this.state.color,t=_.Colors.WHITE;return this.props.theme===_.ThemeTypes.LIGHT&&(t=_.Colors.PRIMARY_500),{color:e.interpolate({inputRange:[0,1],outputRange:[t,_.Colors.WHITE]})}},t.prototype.getContainerStyle=function(){var e=this.state.color,t=(0,y.hex2rgb)(_.Colors.PRIMARY_700,.9);return this.props.theme===_.ThemeTypes.LIGHT&&(t=(0,y.hex2rgb)(_.Colors.STATUS_GREY_100,.9)),{backgroundColor:e.interpolate({inputRange:[0,1],outputRange:[t,(0,y.hex2rgb)(_.Colors.STATUS_RED_500,.9)]})}},t}(u.default.PureComponent);t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var i=function(e){function t(n,r){a(this,t);var i=o(this,e.call(this,r));return i.code=n,i.message=r,i.name="RPCError",i}return r(t,e),t}(Error);t.default=i,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;t.Timeout=function(){function e(){a(this,e)}return e.prototype.start=function(e,t){this.stop(),this._ref=setTimeout(t,e)},e.prototype.stop=function(){clearTimeout(this._ref)},e}(),t.Interval=function(){function e(){a(this,e)}return e.prototype.start=function(e,t){this.stop(),this._ref=setInterval(t,e)},e.prototype.stop=function(){clearInterval(this._ref)},e}()},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(25),f=a(u),c=n(36),d=n(1),p=!!f.default.get("showScore");t.default={propTypes:{result:i.default.PropTypes.object.isRequired,selected:i.default.PropTypes.bool},contextTypes:{selectResult:i.default.PropTypes.func,focusResult:i.default.PropTypes.func},componentDidMount:function(){this.props.selected&&c.ComponentDispatch.dispatch(d.ComponentActions.QUICKSWITCHER_RESULT_FOCUS,{node:this._resultNode})},componentDidUpdate:function(){this.props.selected&&c.ComponentDispatch.dispatch(d.ComponentActions.QUICKSWITCHER_RESULT_FOCUS,{node:this._resultNode})},handleClick:function(){this.context.selectResult(this.props.result)},handleMouseEnter:function(){this.context.focusResult(this.props.result)},getNode:function(){return this._resultNode},setRef:function(e){this._resultNode=e},renderScore:function(){return p?o("div",{className:"result-score"},void 0,this.props.score):null},render:function(){var e=this.props.selected;return i.default.createElement("div",{ref:this.setRef,className:(0,l.default)("result",{selected:e}),onClick:this.handleClick,onMouseEnter:this.handleMouseEnter},this.renderScore(),this.renderResult())}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){S=e.connectedAccounts.map(function(e){return new y.default(e)})}function l(e){e.local?S=e.accounts.map(function(e){return new y.default(f({},e,{integrations:e.integrations.map(function(e){return f({},e,{guild:new b.default(e.guild)})})}))}):v.default.fetch()}function u(e){I[e.integrationId]=e.joining}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=n(2),d=a(c),p=n(4),h=a(p),g=n(1),m=n(210),v=a(m),E=n(788),y=a(E),_=n(103),b=a(_),S=[],I={},T=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isJoining=function(e){return I[e]||!1},t.prototype.isFetching=function(){return null==S},t.prototype.getAccounts=function(){return S},t.prototype.getUnsafeAccounts=function(){return S.filter(function(e){return g.UNSAFE_PLATFORM_TYPES.has(e.type)})},t.prototype.getAccount=function(e,t){return S.find(function(n){return n.id===e&&n.type===t})},t}(d.default.Store);t.default=new T(h.default,{CONNECTION_OPEN:s,USER_CONNECTIONS_UPDATE:l,USER_CONNECTIONS_INTEGRATION_JOINING:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){if(L.default.enabled)Y=[];else{var e=M.default.getAccounts().filter(function(e){return V.UNSAFE_PLATFORM_TYPES.has(e.type)}).map(function(e){return e.type});Y=y.default.without.apply(y.default,[W].concat(e))}}function l(){return j.default.embedded&&(J.start(6e4),J.run(),s()),!1}function u(){return J.stop(),!1}function f(){j.default.embedded&&(J.run(),s())}function c(e){K=e.displayType}function d(e){var t=e.platformTypes,n=e.location;t.forEach(function(e){return Q[e]=!0}),null!=n&&(Z=[])}function p(e){var t=e.platformTypes,n=e.accounts,a=e.location;t.forEach(function(e){return Q[e]=!1});var o=M.default.getAccounts();z=[].concat(z.filter(function(e){return t.indexOf(e.type)===-1}),n.filter(function(e){return!o.some(function(t){return e.type===t.type&&e.id===t.id})}));var r=null!=a;z.length>0?(r?K=V.DetectedPlatformAccountsDisplayTypes.MODAL:K===V.DetectedPlatformAccountsDisplayTypes.NONE&&(K=I.default.isFocused()?V.DetectedPlatformAccountsDisplayTypes.NOTICE:V.DetectedPlatformAccountsDisplayTypes.MODAL),n.forEach(function(e){B.default.track("detect_platform_account",{platform_type:e.type,display_type:K,location:a})})):K=V.DetectedPlatformAccountsDisplayTypes.NONE,r&&(Z=t.filter(function(e){return!z.some(function(t){return t.type===e})})),X=a}function h(e){var t=e.platformTypes;null==t&&(t=(0,y.default)(z).map(function(e){return e.type}).uniq().value()),t.forEach(function(e){B.default.track("ignore_platform_account",{platform_type:e,display_type:K})}),W=y.default.uniq([].concat(W,z.map(function(e){return e.type}))),x.default.set(H,W),s(),z=[],K=V.DetectedPlatformAccountsDisplayTypes.NONE}function g(e){var t=e.focused;K!==V.DetectedPlatformAccountsDisplayTypes.NOTICE||t||(K=V.DetectedPlatformAccountsDisplayTypes.MODAL)}t.__esModule=!0;var m=n(2),v=a(m),E=n(7),y=a(E),_=n(4),b=a(_),S=n(90),I=a(S),T=n(353),N=a(T),A=n(308),M=a(A),C=n(13),O=a(C),D=n(31),L=a(D),R=n(25),x=a(R),w=n(775),P=a(w),k=n(128),U=a(k),G=n(18),j=a(G),F=n(29),B=a(F),V=n(1),H="DetectedPlatformAccountsStore",z=[],W=[],Y=[],K=V.DetectedPlatformAccountsDisplayTypes.NONE,Q={},Z=[],X=void 0,J=new P.default(function(e,t){var n=M.default.getAccounts(),a=U.default.filter(function(e){return!e.serverSync&&e.enabled}).map(function(e){return e.type}).filter(function(e){return W.indexOf(e)===-1}).filter(function(e){return!n.some(function(t){return t.type===e})}).filter(function(e){return!z.some(function(t){return t.type===e})});a.length>0&&(t||O.default.detectPlatformAccounts)&&N.default.detectAccounts(a),e()}),q=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(M.default,I.default,L.default,O.default),W=x.default.get(H)||W},t.prototype.getDetectedAccounts=function(){return z},t.prototype.getDisplayType=function(){return L.default.enabled?V.DetectedPlatformAccountsDisplayTypes.NONE:K},t.prototype.getAvailablePlatformTypes=function(){return Y},t.prototype.getNotDetectedPlatformTypes=function(){return Z},t.prototype.isDetecting=function(e){return Q[e]||!1},t.prototype.isOpen=function(){return this.getDisplayType()==V.DetectedPlatformAccountsDisplayTypes.MODAL},t.prototype.getProps=function(){return{detectedAccounts:z,displayType:K,analyticsLocation:X}},t}(v.default.Store);t.default=new q(b.default,{CONNECTION_OPEN:l,CONNECTION_CLOSED:u,USER_CONNECTIONS_UPDATE:f,PLATFORM_ACCOUNTS_DETECTING:d,PLATFORM_ACCOUNTS_DETECTED:p,PLATFORM_ACCOUNTS_IGNORE:h,DETECTED_PLATFORM_ACCOUNTS_DISPLAY_TYPE_CHANGE:c,WINDOW_FOCUS:g,STREAMER_MODE_UPDATE:function(e){return s()},RUNNING_STREAMER_TOOLS_CHANGE:function(e){return s()}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=d.default.sortBy(e.regions,function(e){return e.name});e.guildId?E[e.guildId]=t:v=t}function l(e){delete E[e.guild.id]}t.__esModule=!0;var u=n(2),f=a(u),c=n(7),d=a(c),p=n(4),h=a(p),g=(n(1),n(12)),m=a(g),v=null,E={},y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(m.default)},t.prototype.getOptimalRegion=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.getRegions(e);return d.default.find(t,"optimal")||d.default.sample(t)},t.prototype.getOptimalRegionId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.getOptimalRegion(e);return null!=t?t.id:null},t.prototype.getRandomRegion=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return d.default.sample(this.getRegions(e))},t.prototype.getRandomRegionId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.getRandomRegion(e);return null!=t?t.id:null},t.prototype.getRegions=function(e){return null!=e?E[e]:v},t.prototype.getDefaultRegions=function(){return v},t}(f.default.Store);t.default=new y(h.default,{LOAD_REGIONS:s,GUILD_DELETE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return y[e]||_}function l(e,t){return setTimeout(function(){v.default.dispatch({type:E.ActionTypes.TYPING_STOP,channelId:e,userId:t})},E.TYPING_TIMEOUT)}function u(e){var t=e.channelId,n=e.userId,a=p({},s(t));clearTimeout(a[n]),a[n]=l(t,n),y[t]=a}function f(e){var t=e.channelId,n=e.userId,a=y[t];if(null==a||null==a[n])return!1;var o=p({},a);clearTimeout(o[n]),delete o[n],y[t]=o}function c(e){return f({channelId:e.channelId,userId:e.message.author.id})}function d(){y={}}t.__esModule=!0;var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},h=n(2),g=a(h),m=n(4),v=a(m),E=n(1),y={},_=Object.freeze({}),b=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getTypingUsers=function(e){return s(e)},t.prototype.isTyping=function(e,t){return null!=s(e)[t]},t.prototype.getCount=function(e){var t=s(e);return t==_?0:Object.keys(t).length},t}(g.default.Store);t.default=new b(v.default,{TYPING_START:u,TYPING_STOP:f,CONNECTION_OPEN:d,MESSAGE_CREATE:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.CheckboxTypes=void 0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(5)),s=a(i),l=n(540),u=a(l),f=n(1);n(2276);var c=t.CheckboxTypes={BOX:"box",ROUND:"round"},d=function(e){var t=e.disabled,n=void 0!==t&&t,a=e.readOnly,r=void 0!==a&&a,i=e.inverted,l=void 0!==i&&i,d=e.value,p=void 0!==d&&d,h=e.onChange,g=void 0===h?f.NOOP:h,m=e.color,v=void 0===m?f.Colors.BRAND:m,E=e.type,y=void 0===E?c.BOX:E,_=e.children;return o("label",{className:(0,s.default)("ui-checkbox-wrapper",{disabled:n,"read-only":r})},void 0,o("input",{className:"input",type:"checkbox",onChange:n||r?f.NOOP:g,checked:p}),o("div",{className:(0,s.default)("ui-checkbox",y,{checked:p,inverted:l}),style:p&&l?{backgroundColor:v,borderColor:v}:{}},void 0,o(u.default,{width:18,height:18,color:p?l?f.Colors.WHITE:v:"none"})),_?o("div",{className:"label"},void 0,_):null)};t.default=d},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(5),d=a(c),p=n(195),h=n(2099),g=a(h),m={XSMALL:g.default.xsmall,SMALL:g.default.small,MEDIUM:g.default.medium,LARGE:g.default.large},v={DEFAULT:"default",STATIC:"static"},E=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.state={hovered:!1},a.handleMouseEnter=a.handleMouseEnter.bind(a),a.handleMouseLeave=a.handleMouseLeave.bind(a),a.getMode=a.getMode.bind(a),a}return s(t,e),t.prototype.getMode=function(){return null!=this.props.srcHover?v.STATIC:v.DEFAULT},t.prototype.render=function(){var e=this.props,t=e.size,n=e.src,a=e.srcHover,r=e.className,i=o(e,["size","src","srcHover","className"]),s=this.state.hovered,u=s&&a?a:n,c={backgroundImage:"url('"+u+"')"},h=this.getMode();return f.default.createElement("button",l({className:(0,d.default)((0,p.getClass)(g.default,"iconButton",h),r,t),style:c,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},i))},t.prototype.handleMouseEnter=function(){this.state.hovered||this.setState({hovered:!0})},t.prototype.handleMouseLeave=function(){this.state.hovered&&this.setState({hovered:!1})},t}(f.default.PureComponent);E.defaultProps={size:m.MEDIUM,disabled:!1},E.Sizes=m,t.default=E,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(1),p=n(2101),h=a(p),g=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children;return s("div",{className:(0,c.default)(h.default.content,t)},void 0,n)},t}(u.default.PureComponent),m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children;return s("div",{className:(0,c.default)(h.default.footer,t)},void 0,n)},t}(u.default.PureComponent),v=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,a=e.theme;return s("div",{className:(0,c.default)({"theme-light":a===d.ThemeTypes.LIGHT,"theme-dark":a===d.ThemeTypes.DARK})},void 0,s("div",{className:(0,c.default)(h.default.modal,t)},void 0,n))},t}(u.default.PureComponent);v.Footer=m,v.Content=g,t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,a){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return t.test(e)?j:n.test(e)?F:o&&(0,k.default)(a,e)?B:0}function r(e,t,n,a){var o=h.default.getUsers(),r=_.default.getGuildId();e=e.toLocaleLowerCase();for(var i=e.length,s=[],l=[],u=t.length,c=0,d=0;c<u;){var p=t[c],g=void 0,m=void 0;if(p.userId?(g=p.nick,m=o[p.userId]):(m=p,g=f.default.getNick(r,m.id)),!a||a(m)){var v=m.usernameLowerCase,E=null!=g?g.toLocaleLowerCase():null;v.substr(0,i)===e||g&&E.substr(0,i)===e?s.push({comparator:E||v,score:j,nick:g,user:m}):d<V&&((0,k.default)(e,v)||g&&(0,k.default)(e,E))&&(l.push({comparator:E||v,score:B,nick:g,user:m}),d+=1)}c+=1}return s.sort(U.sortByMatchScore),s.length<n&&(l.sort(U.sortByMatchScore),s=s.concat(l.slice(0,Math.max(0,n-s.length)))),s.length>n&&(s.length=n),s}function i(e,t){var n=d.default.getChannel(e);return(0,l.default)(m.default.getMessages(e).toArray()).reverse().map(function(e){return e.author}).reject(function(e){return e.isNonUserBot()}).uniqBy(function(e){return e.id}).map(function(e){var t=f.default.getMember(n.getGuildId(),e.id)||{};return{nick:t.nick||null,score:0,comparator:t.nick||e.username,user:e}}).take(t).value()}t.__esModule=!0;var s=n(7),l=a(s),u=n(34),f=a(u),c=n(11),d=a(c),p=n(10),h=a(p),g=n(88),m=a(g),v=n(19),E=a(v),y=n(35),_=a(y),b=n(12),S=a(b),I=n(98),T=a(I),N=n(381),A=a(N),M=n(43),C=a(M),O=n(55),D=a(O),L=n(384),R=a(L),x=n(167),w=a(x),P=n(252),k=a(P),U=n(776),G=n(1),j=10,F=5,B=1,V=50,H=function(){return!0};t.default={queryFriends:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=(!(arguments.length>2&&void 0!==arguments[2])||arguments[2],arguments[3]);return r(e,C.default.getFriendIDs().map(function(e){return h.default.getUser(e)}),t,n)},queryDMUsers:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=(!(arguments.length>2&&void 0!==arguments[2])||arguments[2],arguments[3]);return r(e,d.default.getDMUserIds().map(function(e){return h.default.getUser(e)}),t,n)},queryChannelUsers:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=d.default.getChannel(e);if(null==o)return[];var s=void 0;if(o.isPrivate()){s=o.recipients.map(function(e){return{userId:e,nick:o.nicks[e]}});var l=h.default.getCurrentUser();s.push({userId:l.id,nick:o.nicks[l.id]})}else{if(0===t.length)return i(o.id,n);s=f.default.getMembers(o.guild_id),a&&R.default.requestMembers(o.guild_id,t,n)}return r(t,s,n,function(e){return o.isPrivate()||D.default.can(G.Permissions.READ_MESSAGES,e,o)})},queryGuildUsers:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments[4];if(null==S.default.getGuild(e))return[];if(0===t.length)return i(E.default.getChannelId(e),n);var s=f.default.getMembers(e);return a&&t.length>0&&R.default.requestMembers(e,t,n),r(t,s,n,o)},queryUsers:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=(!(arguments.length>2&&void 0!==arguments[2])||arguments[2],!(arguments.length>3&&void 0!==arguments[3])||arguments[3]),a=arguments[4];return n&&e.length>0&&R.default.requestMembers(null,e,t),r(e,(0,l.default)(h.default.getUsers()).values().value(),t,a)},queryChannels:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:H,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:G.ChannelTypes.GUILD_TEXT;e=e.toLocaleLowerCase();var s=new RegExp("^"+w.default.escape(e),"i"),u=new RegExp(w.default.escape(e),"i"),f=h.default.getCurrentUser(),c=void 0;return c=t?(0,l.default)(T.default.getChannels(t)[i]).map(function(e){return e.channel}):(0,l.default)(d.default.getChannels()).values().filter(function(e){return e.type===i}),i===G.ChannelTypes.GUILD_TEXT?c=c.filter(function(e){return D.default.can(G.Permissions.READ_MESSAGES,f,e)}):i===G.ChannelTypes.GUILD_VOICE&&(c=c.filter(function(e){return D.default.can(G.Permissions.CONNECT,f,e)})),c.filter(r).map(function(n){var r=S.default.getGuild(n.guild_id),i=void 0;i=t?n.toString():n.toString()+" "+r.toString(),i=i.toLocaleLowerCase();var l=o(i,s,u,e,a);return l>0?{channel:n,score:l,comparator:n.toString()}:null}).filter(function(e){return!!e}).sortBy(function(e){return e.channel.name}).sort(U.sortByMatchScore).take(n).value()},queryGuilds:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:H;e=e.toLocaleLowerCase();var r=new RegExp("^"+w.default.escape(e),"i"),i=new RegExp(w.default.escape(e),"i");return(0,l.default)(S.default.getGuilds()).values().filter(a).map(function(t){var a=o(t.name.toLocaleLowerCase(),r,i,e,n);return a>0?{guild:t,score:a,comparator:t.toString()}:null}).filter(function(e){return!!e}).sortBy(function(e){return e.name}).sort(U.sortByMatchScore).take(t).value()},queryGroupDMs:function(e){var t=(arguments.length>1&&void 0!==arguments[1]&&arguments[1],!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:H;e=e.toLocaleLowerCase();var a=new RegExp("^"+w.default.escape(e),"i"),r=new RegExp(w.default.escape(e),"i"),i=A.default.getPrivateChannelIds(),s=d.default.getChannels();return(0,l.default)(i).map(function(e){return s[e]}).map(function(n){if(n.type!==G.ChannelTypes.GROUP_DM)return null;var i=n.toString().toLocaleLowerCase(),s=o(i,a,r,e,t);return s>0?{channel:n,score:s,comparator:n.toString()}:null}).filter(function(e){return!!e}).filter(n).sort(U.sortByMatchScore).value()},getRecentlyTalked:i},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var a=[];if(n.length>0){var o=t==i.ChannelTypes.GUILD_TEXT?i.Permissions.READ_MESSAGES:i.Permissions.CONNECT;a=n.map(function(e){return{id:e,type:"role",allow:o,deny:l.default.NONE}}),a.unshift({id:e,type:"role",allow:l.default.NONE,deny:o})}return a}function r(e,t){return e.userLimit>0&&t>=e.userLimit}t.__esModule=!0,t.permissionOverwritesForRoles=o,t.isChannelFull=r;var i=n(1),s=n(55),l=a(s)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=e,n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var r=o,i=h.default.getEligibleExperiment(r);if(null!=i)return i}return null}function r(e){var t=o(e);if(t)return d.default.trigger(t),t}function i(e,t){return h.default.getExperimentBucket(e)===t}function s(e,t){if(null==e&&null==t)return!0;if(e===t)return!0;if(null==e&&null!=t)return!1;if(null!=e&&null==t)return!1;if(null!=e&&null!=t){if(e.type!==t.type)return!1;if(e.bucket!==t.bucket)return!1;if(e.revision!==t.revision)return!1;if(e.name!==t.name)return!1;if(e.type===f.ExperimentTypes.USER&&t.type===f.ExperimentTypes.USER)return u.default.isEqual(e.context,t.context)}return!0}t.__esModule=!0;var l=n(7),u=a(l),f=n(1),c=n(298),d=a(c),p=n(120),h=a(p);t.default={getFirstEligibleUserExperiment:o,isInExperimentBucket:i,experimentDescriptorEquals:s,triggerFirstEligibleUserExperiment:r},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e.overrideName)return e.overrideName;if(e.name)return e.name;if(e.filename)return e.filename;var t="unknown";switch(e.type){case"image/png":return t+".png"}return t}function r(e){return i(e.name,e.type)}function i(e,t){e=e?e.toLowerCase():"";var n=d.default.find(E,function(n){return n.reType&&t?n.reType.test(t):!(!n.reName||!e)&&n.reName.test(e)});return n?n.klass:"unknown"}function s(e){return h.default.filesize(e)}function l(){var e=v.default.getCurrentUser();return e&&e.premium?g.MAX_PREMIUM_ATTACHMENT_SIZE:g.MAX_ATTACHMENT_SIZE}function u(e,t){return null==t&&(t=l()),e.size>t}function f(e){var t=l();return d.default.some(e,function(e){return u(e,t)})}t.__esModule=!0,t.getFilename=o,t.classifyFile=r,t.classifyFileName=i,t.sizeString=s,t.maxFileSize=l,t.fileTooLarge=u,t.anyFileTooLarge=f;var c=n(7),d=a(c),p=n(475),h=a(p),g=n(1),m=n(10),v=a(m),E=[{reType:/^image\/vnd.adobe.photoshop/,klass:"photoshop"},{reType:/^image\//,klass:"image"},{reType:/^video\//,klass:"video"},{reName:/\.pdf$/,klass:"acrobat"},{reName:/\.ae/,klass:"ae"},{reName:/\.sketch$/,klass:"sketch"},{reName:/\.ai$/,klass:"ai"},{reName:/\.(?:rar|zip|7z|tar|tar\.gz)$/,klass:"archive"},{reName:/\.(?:c\+\+|cpp|cc|c|h|hpp|mm|m|json|js|rb|rake|py|asm|fs|pyc|dtd|cgi|bat|rss|java|graphml|idb|lua|o|gml|prl|sls|conf|cmake|make|sln|vbe|cxx|wbf|vbs|r|wml|php|bash|applescript|fcgi|yaml|ex|exs|sh|ml|actionscript)$/,klass:"code"},{reName:/\.(?:txt|rtf|doc|docx|md|pages|ppt|pptx|pptm|key|log)$/,klass:"document"},{reName:/\.(?:xls|xlsx|numbers|csv)$/,klass:"spreadsheet"},{reName:/\.(?:html|xhtml|htm|js|xml|xls|xsd|css|styl)$/,klass:"webcode"}]},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=d.default.getReactions(e.getChannelId(),e.id,t),a=m.default.getChannel(e.getChannelId()),o=null==a||a.isPrivate()?null:a.getGuildId();if(n=(0,l.default)(n).reject(function(e){return h.default.isBlocked(e.id)}).take(3).map(function(e){return null!=o&&E.default.getNick(o,e.id)||e.username}).value(),!n.length)return"";var r=e.getReaction(t),i=Math.max(0,(r&&r.count||0)-n.length),s=void 0;return s=null==t.id?b.default.convertSurrogateToName(t.name):":"+t.name+":",1===n.length?i>0?f.default.Messages.REACTION_TOOLTIP_1_N.format({a:n[0],n:i,emojiName:s}):f.default.Messages.REACTION_TOOLTIP_1.format({a:n[0],emojiName:s}):2===n.length?i>0?f.default.Messages.REACTION_TOOLTIP_2_N.format({a:n[0],b:n[1],n:i,emojiName:s}):f.default.Messages.REACTION_TOOLTIP_2.format({a:n[0],b:n[1],emojiName:s}):3===n.length?i>0?f.default.Messages.REACTION_TOOLTIP_3_N.format({a:n[0],b:n[1],c:n[2],n:i,emojiName:s}):f.default.Messages.REACTION_TOOLTIP_3.format({a:n[0],b:n[1],c:n[2],emojiName:s}):f.default.Messages.REACTION_TOOLTIP_N.format({n:i,emojiName:s})}function r(e){return{id:e.id||null,name:e.id?e.name:e.surrogatePair}}function i(e,t){return null!=t.id?t.id==e.id:null==e.id&&t.name==e.name}t.__esModule=!0,t.getReactionTooltip=o,t.toReactionEmoji=r,t.emojiEquals=i;var s=n(7),l=a(s),u=n(3),f=a(u),c=n(524),d=a(c),p=n(43),h=a(p),g=n(11),m=a(g),v=n(34),E=a(v),y=n(129),_=(a(y),n(163)),b=a(_)},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){a(this,e)}return e.prototype.start=function(e,t,n,a){},e.prototype.stop=function(){},e.prototype.__debouncedOnEnd=function(e){var t=this.__onEnd;this.__onEnd=null,t&&t(e)},e}();e.exports=o},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n,a,o,r,i,s){var l=e;if(l<t){if("identity"===i)return l;"clamp"===i&&(l=t)}if(l>n){if("identity"===s)return l;"clamp"===s&&(l=n)}return a===o?a:t===n?e<=t?a:o:(t===-(1/0)?l=-l:n===1/0?l-=t:l=(l-t)/(n-t),l=r(l),a===-(1/0)?l=-l:o===1/0?l+=a:l=l*(o-a)+a,l)}function r(e){var t=d(e);return null===t?e:(t=t||0,"rgba("+((4278190080&t)>>>24)+", "+((16711680&t)>>>16)+", "+((65280&t)>>>8)+", "+(255&t)/255+")")}function i(e){var t=e.outputRange;p(t.length>=2,"Bad output range"),t=t.map(r),s(t);var n=t[0].match(m).map(function(){return[]});t.forEach(function(e){e.match(m).forEach(function(e,t){n[t].push(+e)})});var a=t[0].match(m).map(function(t,a){return g.create(c({},e,{outputRange:n[a]}))}),o=/^rgb/.test(t[0]);return function(e){var n=0;return t[0].replace(m,function(){var t=a[n++](e);return String(o&&n<4?Math.round(t):t)})}}function s(e){for(var t=e[0].replace(m,""),n=1;n<e.length;++n)p(t===e[n].replace(m,""),"invalid pattern "+e[0]+" and "+e[n])}function l(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}function u(e){p(e.length>=2,"inputRange must have at least 2 elements");for(var t=1;t<e.length;++t)p(e[t]>=e[t-1],"inputRange must be monotonically increasing "+e)}function f(e,t){p(t.length>=2,e+" must have at least 2 elements"),p(2!==t.length||t[0]!==-(1/0)||t[1]!==1/0,e+"cannot be ]-infinity;+infinity[ "+t)}var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d=n(2621),p=n(38),h=function(e){return e},g=function(){function e(){a(this,e)}return e.create=function(e){if(e.outputRange&&"string"==typeof e.outputRange[0])return i(e);var t=e.outputRange;f("outputRange",t);var n=e.inputRange;f("inputRange",n),u(n),p(n.length===t.length,"inputRange ("+n.length+") and outputRange ("+t.length+") must have the same length");var a=e.easing||h,r="extend";void 0!==e.extrapolateLeft?r=e.extrapolateLeft:void 0!==e.extrapolate&&(r=e.extrapolate);var s="extend";return void 0!==e.extrapolateRight?s=e.extrapolateRight:void 0!==e.extrapolate&&(s=e.extrapolate),function(e){p("number"==typeof e,"Cannot interpolation an input which is not a number");var i=l(e,n);return o(e,n[i],n[i+1],t[i],t[i+1],a,r,s)}},e}(),m=/[0-9\.-]+/g;e.exports=g},,,,,,,,,function(e,t){},,,,,,,,,,,function(e,t,n){e.exports=n.p+"81b90eae4fc67502d59808a7c219ee65.png"},,,,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){l.default.dirtyDispatch({type:u.ActionTypes.CHANNEL_NOTICE_SHOW,noticeType:e,guild:t})}function r(e){l.default.dirtyDispatch({type:u.ActionTypes.CHANNEL_NOTICE_HIDE,noticeType:e})}function i(e){l.default.dispatch({type:u.ActionTypes.CHANNEL_NOTICE_INVITE_FORCE_CREATE,guildId:e})}t.__esModule=!0,t.showNotice=o,t.hideNotice=r,t.handleForceCreateInvite=i;var s=n(4),l=a(s),u=n(1),f=n(103);a(f)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(793),s=a(i),l=n(16),u=a(l),f=n(3),c=a(f),d=n(52),p=(a(d),n(107)),h=a(p),g=n(1);t.default={pinMessage:function(e,t){var n=e.id,a=e.name;u.default.put({url:g.Endpoints.PIN(n,t)}).catch(function(){var t=void 0;t=e.isPrivate()?c.default.Messages.PIN_MESSAGE_TOO_MANY_BODY_PRIVATE_CHANNEL.format({maxPins:g.MAX_PINS_PER_CHANNEL}):c.default.Messages.PIN_MESSAGE_TOO_MANY_BODY.format({maxPins:g.MAX_PINS_PER_CHANNEL,channelName:a}),h.default.show({title:c.default.Messages.PIN_MESSAGE_TOO_MANY_TITLE,body:t,confirmText:c.default.Messages.OKAY})})},unpinMessage:function(e,t){var n=this;u.default.delete({url:g.Endpoints.PIN(e.id,t)}).catch(function(){return h.default.show({title:c.default.Messages.UNPIN_MESSAGE_FAILED_TITLE,body:c.default.Messages.UNPIN_MESSAGE_FAILED_BODY,confirmText:c.default.Messages.TRY_AGAIN,cancelText:c.default.Messages.CANCEL,onConfirm:n.unpinMessage.bind(n,e,t)})})},ackPins:function(e){r.default.dirtyDispatch({type:g.ActionTypes.CHANNEL_PINS_ACK,channelId:e})},fetchPins:function(e){var t=s.default.getPinnedMessages(e);t&&(t.loaded||t.loading)||(r.default.dirtyDispatch({type:g.ActionTypes.LOAD_PINNED_MESSAGES,channelId:e}),u.default.get({url:g.Endpoints.PINS(e),retries:2}).then(function(t){r.default.dispatch({type:g.ActionTypes.LOAD_PINNED_MESSAGES_SUCCESS,messages:t.body,channelId:e})},function(){r.default.dispatch({type:g.ActionTypes.LOAD_PINNED_MESSAGES_FAILURE,channelId:e})}))}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={setSection:function(e){r.default.dispatch({type:i.ActionTypes.FRIENDS_SET_SECTION,section:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={show:function(){this.deactivateRagingDemon(),r.default.dispatch({type:i.ActionTypes.SHOW_KEYBOARD_SHORTCUTS})},hide:function(){r.default.dispatch({type:i.ActionTypes.HIDE_KEYBOARD_SHORTCUTS})},activateRagingDemon:function(){r.default.dispatch({type:i.ActionTypes.ACTIVATE_RAGING_DEMON})},deactivateRagingDemon:function(){r.default.dispatch({type:i.ActionTypes.DEACTIVATE_RAGING_DEMON})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(4),i=a(r),s=n(1),l=n(841),u=a(l);t.default={setDesktopType:function(e){i.default.dispatch({type:s.ActionTypes.NOTIFICATIONS_SET_DESKTOP_TYPE,desktopType:e})},setTTSType:function(e){i.default.dispatch({type:s.ActionTypes.NOTIFICATIONS_SET_TTS_TYPE,ttsType:e})},setDisabledSounds:function(e){i.default.dispatch({type:s.ActionTypes.NOTIFICATIONS_SET_DISABLED_SOUNDS,sounds:e})},setDisableUnreadBadge:function(e){i.default.dispatch({type:s.ActionTypes.NOTIFICATIONS_SET_DISABLE_UNREAD_BADGE,disableUnreadBadge:e})},requestPermission:function(e){u.default.requestPermission(function(t){i.default.dispatch({type:s.ActionTypes.NOTIFICATIONS_SET_PERMISSION_STATE,enabled:t?s.NotificationPermissionTypes.ENABLED:s.NotificationPermissionTypes.BLOCKED,source:e})})},showNotification:function(e,t,n,a){i.default.dirtyDispatch({type:s.ActionTypes.NOTIFICATION_CREATE,icon:e,title:t,body:n,options:o({},a,{onClick:function(){a.onClick&&a.onClick(),this.clickedNotification()}})})},clickedNotification:function(){i.default.dirtyDispatch({type:s.ActionTypes.NOTIFICATION_CLICK})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(771);t.default={detectAccounts:function(e,t){return r.default.dispatch({type:i.ActionTypes.PLATFORM_ACCOUNTS_DETECTING,platformTypes:e,location:t}),(0,s.fetchAccounts)(e).then(function(n){return r.default.dispatch({type:i.ActionTypes.PLATFORM_ACCOUNTS_DETECTED,platformTypes:e,accounts:n,location:t}),n})},ignore:function(e){r.default.dispatch({type:i.ActionTypes.PLATFORM_ACCOUNTS_IGNORE,platformTypes:e})},changeDisplayType:function(e){r.default.dispatch({type:i.ActionTypes.DETECTED_PLATFORM_ACCOUNTS_DISPLAY_TYPE_CHANGE,displayType:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){if(!D.default.isOpen()){var t=R.default.getGuildId(),n=A.default.getChannelId(t),a=void 0;if(null!=n){var o=m.default.getChannel(n);a=null!=o?o.type:null}w.default.track(k.AnalyticEvents.QUICKSWITCHER_OPENED,{source:e,current_guild_id:t,current_channel_id:n,current_channel_type:a})}}function r(e,t){var n=D.default.getState(),a=n.results,o=n.queryMode,r=n.query,i=R.default.getGuildId(),s=A.default.getChannelId(i),l=a[(0,P.findNextSelected)("down",-1,a)],u={current_channel_id:s,current_guild_id:i,query_mode:o?o:"GENERAL",query_length:r.length,top_result_type:l?l.type:null,top_result_score:l?l.score:null,num_results_total:D.default.getResultTotals(),num_results_users:D.default.getResultTotals(k.QuickSwitcherResultTypes.USER),num_results_text_channels:D.default.getResultTotals(k.QuickSwitcherResultTypes.TEXT_CHANNEL),num_results_voice_channels:D.default.getResultTotals(k.QuickSwitcherResultTypes.VOICE_CHANNEL),num_results_guilds:D.default.getResultTotals(k.QuickSwitcherResultTypes.GUILD),num_results_group_dms:D.default.getResultTotals(k.QuickSwitcherResultTypes.GROUP_DM)};if(null!=s){var f=m.default.getChannel(s);u.current_channel_type=null!=f?f.type:null}if(null!=t){var c=t.type,d=t.score,p=t.record;switch(u.selected_type=c,u.selected_score=d,u.selected_index=a.indexOf(t),c){case k.QuickSwitcherResultTypes.GUILD:u.selected_guild_id=p.id;break;case k.QuickSwitcherResultTypes.TEXT_CHANNEL:case k.QuickSwitcherResultTypes.VOICE_CHANNEL:u.selected_guild_id=p.guild_id,u.selected_channel_id=p.id;break;case k.QuickSwitcherResultTypes.GROUP_DM:u.selected_channel_id=p.id;break;case k.QuickSwitcherResultTypes.USER:u.selected_user_id=p.id}}w.default.track(e,u)}function i(){h.default.dispatch({type:k.ActionTypes.QUICKSWITCHER_HIDE})}function s(){o(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"KEYBIND"),h.default.dispatch({type:k.ActionTypes.QUICKSWITCHER_SHOW})}function l(){r(k.AnalyticEvents.QUICKSWITCHER_CLOSED),i()}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"KEYBIND";D.default.isOpen()?l():s(e)}function f(e){h.default.dispatch({type:k.ActionTypes.QUICKSWITCHER_SEARCH,query:e})}function c(e){h.default.dispatch({type:k.ActionTypes.QUICKSWITCHER_SELECT,selectedIndex:e})}function d(e){r(k.AnalyticEvents.QUICKSWITCHER_RESULT_SELECTED,e);var t=e.type,n=e.record,a=void 0;switch(t){case k.QuickSwitcherResultTypes.GUILD:a=A.default.getChannelId(n.id),a?E.default.selectChannel(n.id,a):E.default.selectGuild(n.id),E.default.flushSelection(!0);break;case k.QuickSwitcherResultTypes.TEXT_CHANNEL:a=m.default.getChannel(n.id),null!=a&&(E.default.selectChannel(a.guild_id,n.id),E.default.flushSelection(!0));break;case k.QuickSwitcherResultTypes.VOICE_CHANNEL:a=m.default.getChannel(n.id),null!=a&&_.default.selectVoiceChannel(a.guild_id,n.id);break;case k.QuickSwitcherResultTypes.USER:T.default.openPrivateChannel(C.default.getId(),[n.id]),S.default.channelListScrollTo(k.ME,n.id);break;case k.QuickSwitcherResultTypes.GROUP_DM:E.default.selectChannel(k.ME,n.id),E.default.flushSelection(!0),S.default.channelListScrollTo(k.ME,n.id)}h.default.dispatch({type:k.ActionTypes.QUICKSWITCHER_SWITCH_TO,result:e}),i()}t.__esModule=!0,t.show=s,t.hide=l,t.toggle=u,t.search=f,t.selectResult=c,t.switchToResult=d;var p=n(4),h=a(p),g=n(11),m=a(g),v=n(211),E=a(v),y=n(59),_=a(y),b=n(158),S=a(b),I=n(79),T=a(I),N=n(19),A=a(N),M=n(17),C=a(M),O=n(527),D=a(O),L=n(35),R=a(L),x=n(29),w=a(x),P=n(842),k=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(16),s=a(i),l=n(1);t.default={ack:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r.default.dispatch({type:l.ActionTypes.CHANNEL_ACK,channelId:e,immediate:t,force:n})},localAck:function(e){r.default.dispatch({type:l.ActionTypes.CHANNEL_LOCAL_ACK,channelId:e})},manualAck:function(e,t){s.default.post({url:l.Endpoints.MESSAGES(e)+"/"+t+"/ack",body:{manual:!0}})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),r=n(4),i=a(r);t.default={setEnabled:function(e){this.update({enabled:e})},update:function(e){for(var t=Object.keys(e),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var r;if(n){if(a>=t.length)break;r=t[a++]}else{if(a=t.next(),a.done)break;r=a.value}var s=r;i.default.dispatch({type:o.ActionTypes.STREAMER_MODE_UPDATE,key:s,value:e[s]})}}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={fetchForGuild:function(e){r.default.dirtyDispatch({type:i.ActionTypes.WEBHOOKS_FETCHING,guildId:e}),l.default.get(i.Endpoints.GUILD_WEBHOOKS(e)).then(function(t){var n=t.body;return r.default.dispatch({type:i.ActionTypes.WEBHOOKS_UPDATE,guildId:e,webhooks:n})}).catch(function(t){var n=t.body;r.default.dispatch({type:i.ActionTypes.WEBHOOKS_UPDATE,guildId:e,error:n.message})})},fetchForChannel:function(e,t){r.default.dirtyDispatch({type:i.ActionTypes.WEBHOOKS_FETCHING,guildId:e,channelId:t}),l.default.get(i.Endpoints.CHANNEL_WEBHOOKS(t)).then(function(n){var a=n.body;return r.default.dispatch({type:i.ActionTypes.WEBHOOKS_UPDATE,guildId:e,channelId:t,webhooks:a})})},create:function(e,t,n){return l.default.post({url:i.Endpoints.CHANNEL_WEBHOOKS(t),body:n}).then(function(t){var n=t.body;return r.default.dispatch({type:i.ActionTypes.WEBHOOK_CREATE,guildId:e,webhook:n}),n})},delete:function(e,t){return l.default.delete(i.Endpoints.WEBHOOK(t)).then(function(){r.default.dispatch({type:i.ActionTypes.WEBHOOK_DELETE,guildId:e,webhookId:t})})},update:function(e,t,n){return l.default.patch({url:i.Endpoints.WEBHOOK(t),body:n}).then(function(t){var n=t.body;return r.default.dispatch({type:i.ActionTypes.WEBHOOK_UPDATE,guildId:e,webhook:n}),n})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){h.default.push(function(n){var a=void 0;return a=e.isPrivate()?m.default.Messages.PIN_MESSAGE_BODY_PRIVATE_CHANNEL:m.default.Messages.PIN_MESSAGE_BODY.format({channelName:e.toString()}),f.default.createElement(d.default,s({className:"confirm-message-modal",red:!1,header:m.default.Messages.PIN_MESSAGE_TITLE,confirmText:m.default.Messages.PIN_CONFIRM,cancelText:m.default.Messages.CANCEL,onConfirm:function(){return S.default.pinMessage(e,t.id)}},n),l("p",{},void 0,a),l(E.default,{channel:e,messages:[t],enableInteraction:!1}))})}function r(e,t){h.default.push(function(n){return f.default.createElement(d.default,s({className:"confirm-message-modal",header:m.default.Messages.UNPIN_MESSAGE_TITLE,confirmText:m.default.Messages.UNPIN_CONFIRM,cancelText:m.default.Messages.CANCEL,onConfirm:function(){return S.default.unpinMessage(e,t.id)}},n),l("p",{},void 0,m.default.Messages.UNPIN_MESSAGE_BODY),l(E.default,{channel:e,messages:[t],enableInteraction:!1}),l(T.default,{tip:m.default.Messages.UNPIN_MESSAGE_CONTEXT_MENU_HINT.format()}))})}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=null;n&&(a=l(T.default,{tip:m.default.Messages.DELETE_MESSAGE_CONTEXT_MENU_HINT.format()})),h.default.push(function(n){return f.default.createElement(d.default,s({className:"confirm-message-modal",header:m.default.Messages.DELETE_MESSAGE_TITLE,confirmText:m.default.Messages.DELETE,cancelText:m.default.Messages.CANCEL,onConfirm:function(){return _.default.deleteMessage(e.id,t.id)}},n),l("p",{},void 0,m.default.Messages.DELETE_MESSAGE_BODY),l(E.default,{channel:e,messages:[t],enableInteraction:!1}),a)})}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(60),d=a(c),p=n(14),h=a(p),g=n(3),m=a(g),v=n(299),E=a(v),y=n(54),_=a(y),b=n(349),S=a(b),I=n(508),T=a(I);t.default={confirmPin:o,confirmUnpin:r,confirmDelete:i},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(6),u=a(l),f=n(24),c=a(f),d=n(1),p="light",h="dark",g="subtle",m="solid",v={light:.95,dark:.85,subtle:.25,solid:1},E={light:"rgba(255, 255, 255, 1)",dark:"rgba(0, 0, 0, 1)",subtle:"rgba(0, 0, 0, 1)",solid:d.Colors.ACCOUNT_GREY},y=c.default.Easing.inOut(c.default.Easing.cubic),_=s.default.createClass({displayName:"Backdrop",mixins:[u.default],statics:{LIGHT:p,DARK:h,SUBTLE:g,SOLID:m},getDefaultProps:function(){return{backdropInstant:!1}},getInitialState:function(){return r({duration:this.props.backdropInstant?0:300},this.getAnimationState(this.props,!0))},getBackgroundColor:function(){return E[(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props).backdropStyle]},getOpacity:function(){return v[(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props).backdropStyle]},getAnimationState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null!=e&&e!==this.props?{animate:new c.default.Value(0),opacity:[this.getOpacity(),this.getOpacity(e)],backgroundColor:[this.getBackgroundColor(),this.getBackgroundColor(e)]}:{animate:new c.default.Value(e!==this.props||t?1:0),opacity:[0,this.getOpacity()],backgroundColor:[this.getBackgroundColor(),this.getBackgroundColor()]}},componentWillEnter:function(e){this.state.animate.setValue(0),c.default.timing(this.state.animate,{toValue:1,duration:this.state.duration,easing:y}).start(e)},componentWillLeave:function(e){c.default.timing(this.state.animate,{toValue:0,duration:this.state.duration,easing:y}).start(e)},componentWillUpdate:function(e,t){var n=this;e.backdropStyle!==this.props.backdropStyle&&this.setState(this.getAnimationState(e),function(){c.default.timing(n.state.animate,{toValue:1,duration:t.duration,easing:y}).start(function(){return n.setState(n.getAnimationState())})})},render:function(){var e=c.default.accelerate({opacity:this.state.animate.interpolate({inputRange:[0,1],outputRange:this.state.opacity,easing:c.default.Easing.linear}),backgroundColor:this.state.animate.interpolate({inputRange:[0,1],outputRange:this.state.backgroundColor})});return o(c.default.div,{className:"callout-backdrop",style:e,onClick:this.props.onClose})}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.PRETTY_KEYS=void 0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(186)),s=a(i),l=n(5),u=a(l);n(2207);var f=o("g",{fill:"#4F545C"},void 0,o("polygon",{transform:"translate(5.025000, 5.000000) scale(1, -1) translate(-5.025000, -5.000000) ",points:"4.16666667 10 4.16666672 3.33333333 1.25 6.25 0.05 5 5.00000005 0 9.99999967 5 8.75 6.25 5.83333338 3.33333333 5.83333333 10"})),c=function(e){var t=e.direction;return o("svg",{width:"10",height:"10",xmlns:"http://www.w3.org/2000/svg",className:"bind-arrow "+(void 0===t?"up":t)},void 0,f)},d=o(c,{direction:"up"}),p=o(c,{direction:"down"}),h=o(c,{direction:"left"}),g=o(c,{direction:"right"}),m=t.PRETTY_KEYS={mod:function(){return s.default.modKey},alt:function(){return s.default.altKey},up:function(){return d},down:function(){return p},left:function(){return h},right:function(){return g},pageup:function(){return"page up"},pagedown:function(){return"page down"},"any-character":function(){return"any key"},return:function(){return s.default.returnKey}},v=function(e){var t=e.shortcut,n=e.className;return o("div",{className:(0,u.default)("keybind-shortcut",n)},void 0,t.split("+").map(function(e){return m[e]?m[e]():e}).map(function(e,t){return o("span",{},t,e)}))};t.default=v},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.SearchBarIcon=void 0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(3),f=a(u);n(945);var c=n(87),d=a(c),p=t.SearchBarIcon=function(e){var t=e.hasContent;return o("div",{className:"search-bar-icon",onClick:e.handleClear},void 0,o("i",{className:(0,l.default)("icon icon-search-bar-eye-glass",{visible:!t})}),o("i",{className:(0,l.default)("icon icon-search-bar-clear",{visible:t})}))},h=o("div",{className:"close"}),g=i.default.createClass({displayName:"SearchBar",mixins:[d.default],getDefaultProps:function(){return{query:"",sections:[],selectedSection:0,selectedRow:-1,selectedColumn:-1,tags:null,gridResults:!1,placeholder:f.default.Messages.DM_SEARCH_PLACEHOLDER,light:!1,disabled:!1,autoFocus:!1}},getSubscriptions:function(){var e=this;if(this.props.subscribeToFocusEvent){var t;return t={},t[this.props.subscribeToFocusEvent]=function(){return e.focus()},t}return null},handleKeyDownGrid:function(e){var t=this.props,n=t.selectedRow,a=t.selectedColumn,o=t.sections,r=t.query,i=t.tags;if(0!==o.length){switch(e.keyCode){case 8:(null==r||0==r.length)&&null!=i&&i.length>0&&(e.preventDefault(),e.stopPropagation(),this.props.onRemoveTag&&this.props.onRemoveTag(i.length-1));break;case 9:case 40:e.preventDefault(),e.stopPropagation(),n===-1?(n=0,a=0):(n+=1,n>=o.length&&(n=o.length-1),a>=o[n]&&(a=o[n]-1));break;case 38:e.preventDefault(),e.stopPropagation(),n-=1,n<0?(n=0,a=0):a>=o[n]&&(a=o[n]-1);break;case 37:e.preventDefault(),e.stopPropagation(),n===-1&&(n=0),a-=1,a<0&&(n-=1,n>=0?a=o[n]-1:n<0&&(n=0,a=0));break;case 39:e.preventDefault(),e.stopPropagation(),n===-1&&(n=0),a+=1,a>=o[n]&&(n+=1,a=0,n>=o.length&&(n=o.length-1,a=o[n]-1));break;case 13:if(e.preventDefault(),e.stopPropagation(),n===-1&&(n=0),a===-1&&(a=0),n>=o.length||a>=o[n].items)return;return void this.props.onSelect(n,a,e);case 27:return e.preventDefault(),e.stopPropagation(),void this.props.onSelect(null,null);default:return}this.props.onSelectionChange(n,a)}},handleKeyDownList:function(e){var t=this.props,n=t.sections,a=t.selectedSection,o=t.selectedRow,r=t.onSelect,i=t.onSelectionChange,s=t.query,l=t.tags;switch(e.keyCode){case 8:(null==s||0==s.length)&&null!=l&&l.length>0&&(e.preventDefault(),e.stopPropagation(),this.props.onRemoveTag&&this.props.onRemoveTag(l.length-1));break;case 9:case 40:e.preventDefault(),e.stopPropagation(),n.length>a&&++o>=n[a]&&(++a>=n.length&&(a=0),o=0),i&&i(a,o);break;case 38:e.preventDefault(),e.stopPropagation(),--o<0&&(--a<0&&(a=n.length-1),o=n[a]-1),i&&i(a,o);break;case 13:e.preventDefault(),e.stopPropagation(),n.length>a&&n[a]>o&&r&&r(a,o);break;case 27:e.preventDefault(),e.stopPropagation(),r&&r(null,null),this.refs.search&&this.refs.search.blur()}},handleKeyDown:function(e){if(27===e.keyCode&&this.refs.search.value&&this.refs.search.value.length>0)return this.refs.search.value="",void this.props.onQueryChange("");this.props.gridResults?this.handleKeyDownGrid(e):this.handleKeyDownList(e)},handleChange:function(e){var t=e.currentTarget.value;this.props.onQueryChange(t)},handleClear:function(){this.props.onClear()},handleRemoveTag:function(e){this.props.onRemoveTag&&this.props.onRemoveTag(e)},focus:function(){this.refs.search.focus()},render:function(){var e=this,t=this.props,n=t.autoFocus,a=t.query,r=t.placeholder,s=t.light,u=t.disabled,f=t.onClear,c=t.tags,d=null!=a&&a.length>0,g=[];return null!=c&&c.forEach(function(t,n){return g.push(o("a",{className:"search-bar-tag",onClick:e.handleRemoveTag.bind(e,n)},n,t,h))}),o("div",{className:(0,l.default)("search-bar",{"search-bar-light":s,disabled:u})},void 0,o("div",{className:"search-bar-inner"},void 0,g,i.default.createElement("input",{type:"text",ref:"search",placeholder:r,value:a,onChange:this.handleChange,onKeyDown:this.handleKeyDown,disabled:u,autoFocus:n}),f?o(p,{hasContent:d,handleClear:this.handleClear}):null))}});t.default=g},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.TabBarSeparator=t.TabBarItem=t.TabBarHeader=t.TabBarTypes=void 0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(253),f=a(u);n(2182);var c=t.TabBarTypes=(0,f.default)({SIDE:null,TOP:null,UNIQUE:null}),d=t.TabBarHeader=function(e){var t=e.className,n=e.onClick,a=e.children;return o("div",{className:(0,l.default)("tab-bar-header",t),onClick:n},void 0,a)},p=t.TabBarItem=function(e){var t=e.className,n=e.onClick,a=e.children;return o("div",{className:(0,l.default)("tab-bar-item",t),onClick:n},void 0,a)},h=o("div",{className:"tab-bar-separator"}),g=(t.TabBarSeparator=function(){return h},i.default.createClass({displayName:"TabBar",getDefaultProps:function(){return{type:c.SIDE}},render:function(){var e=this.props,t=e.selectedItem,n=e.onItemSelect,a=e.className,r=e.type,s=i.default.Children.map(this.props.children,function(e){if(null==e)return e;var a=void 0;if(e.type===d||e.type.displayName===d.name)a={key:"HEADER"};else if(e.type===p||e.type.displayName===p.name){var o=e.props,r=o.onClick,s=o.className;a={className:(0,l.default)(s,{selected:e.key===t}),onClick:function(){n&&n(e.key),r&&r.apply(void 0,arguments)}}}return i.default.cloneElement(e,a)});return o("div",{className:(0,l.default)("tab-bar",a,r)},void 0,s)}}));t.default=g},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(86),f=a(u),c=n(1399),d=a(c),p=n(757),h=a(p),g=n(1402),m=a(g),v=n(1395),E=a(v),y=n(1401),_=a(y),b=n(259),S=a(b),I=n(1398),T=a(I),N=n(1400),A=a(N),M=n(1403),C=a(M),O=n(1),D=i.default.createClass({displayName:"ChannelContextMenu",mixins:[l.default],getDefaultProps:function(){return{hasUnread:!1}},render:function(){var e=this.props,t=e.style,n=e.type,a=e.guild,r=e.channel,i=e.hasUnread,s=e.target,l=e.className;switch(n){case O.ContextMenuTypes.CHANNEL_LIST_TEXT:return o("div",{className:l,style:t},void 0,o(f.default,{},void 0,o(d.default,{channel:r}),o(h.default,{channel:r}),o(m.default,{channelId:r.id,hasUnread:i})),o(A.default,{channel:r,target:s,guild:a,type:n}),o(T.default,{channel:r}),o(S.default,{id:r.id}));case O.ContextMenuTypes.CHANNEL_LIST_VOICE:return o("div",{className:l,style:t},void 0,o(f.default,{},void 0,o(d.default,{channel:r}),o(C.default,{channelId:r.id})),o(A.default,{channel:r,target:s,guild:a,type:n}),o(T.default,{channel:r}),o(S.default,{id:r.id}));case O.ContextMenuTypes.CHANNEL_TITLE:return o("div",{className:l,style:t},void 0,o(f.default,{},void 0,o(d.default,{channel:r}),o(h.default,{channel:r})),o(A.default,{channel:r,target:s,guild:a,type:n}),o(T.default,{channel:r}),o(S.default,{id:r.id}));case O.ContextMenuTypes.CHANNEL_TOPIC:return o("div",{className:l,style:t},void 0,o(f.default,{},void 0,o(d.default,{channel:r}),o(h.default,{channel:r}),o(E.default,{channel:r})),o(A.default,{channel:r,target:s,guild:a,type:n}),o(T.default,{channel:r}),o(S.default,{id:r.id}));case O.ContextMenuTypes.CHANNEL_AUDIT_LOG:return o("div",{className:l,style:t},void 0,o(f.default,{},void 0,o(d.default,{channel:r}),o(_.default,{channel:r,guild:a}),o(S.default,{id:r.id})));default:console.warn("Error - no such ctx menu type")}return null}});t.default=D,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(57),l=a(s),u=n(14),f=a(u),c=n(3),d=a(c);n(607);var p=n(1),h=function(){return o("div",{className:"premium-promo"},void 0,o("div",{onClick:function(){f.default.pop(),l.default.open(p.UserSettingsSections.PREMIUM)},className:"premium-promo-content"},void 0,d.default.Messages.PREMIUM_UPLOAD_PROMO.format({maxUploadPremium:d.default.Messages.FILE_UPLOAD_LIMIT_PREMIUM}),o("img",{className:"premium-promo-nav-arrow",src:n(3091)})))},g=o("div",{className:"icons"},void 0,o("div",{className:"wrap-one"},void 0,o("div",{className:"icon one"})),o("div",{className:"wrap-three"},void 0,o("div",{className:"icon three"})),o("div",{className:"wrap-two"},void 0,o("div",{className:"icon two"}))),m=o(h,{}),v=i.default.createClass({displayName:"UploadError",statics:{modalConfig:{backdropStyle:"dark",backdropInstant:!0}},render:function(){var e=this.props.promo;return o("div",{className:"upload-modal-in"},void 0,o("div",{className:"upload-drop-modal error"},void 0,o("div",{className:"inner"},void 0,g,o("div",{className:"title"},void 0,this.props.title),o("div",{className:"instructions"},void 0,this.props.help),e?m:null)))}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];a(this,e),this.min=t,this.max=null!=n?n:10*t,this.jitter=o,this._current=t,this._timeoutId=null,this._fails=0}return e.prototype.succeed=function(){this.cancel(),this._fails=0,this._current=this.min},e.prototype.fail=function(e){var t=this;this._fails+=1;var n=2*this._current;if(this.jitter&&(n*=Math.random()),this._current=Math.min(this._current+n,this.max),null!=e){if(null!=this._timeoutId)throw new Error("callback already pending");this._timeoutId=setTimeout(function(){try{null!=e&&e()}finally{t._timeoutId=null}},this._current)}return this._current},e.prototype.cancel=function(){null!=this._timeoutId&&(clearTimeout(this._timeoutId),this._timeoutId=null)},o(e,[{key:"fails",get:function(){return this._fails}},{key:"current",get:function(){return this._current}},{key:"pending",get:function(){return null!=this._timeoutId}}]),e}();t.default=r,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n){if(!t)return null;for(var a=0;a<t.length;a++){var o=t[a],i=r(e.match(o.regex),n),s=void 0;if(i){var l=o.cache;if(l&&(s=l.get(i[0]),s&&(s=new f(s),s.start=i.index)),!s){if(s=new f(i,o.type),o.validator&&!o.validator(s))continue;l&&!l.has(i[0])&&l.set(i[0],s)}return s}}return null}function r(e,t){if(!e)return null;var n=[].concat(e);return n.index=t,n}t.__esModule=!0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),s=/.+/g,l=t.NON_TOKEN_TYPE="NON_TOKEN",u=t.QueryTokenizer=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments[1];a(this,e),this._rules=[],this._followers={},this._nonTokenType=o||l,n.forEach(function(e){return t.addRule(e)})}return e.prototype.addRule=function(e){var t=this,n=e.type,a=e.follows,o=e.validator,r=e.regex;"^"!==r.source.charAt(0)&&(r=new RegExp("^"+r.source,r.flags));var i=void 0;if(o&&(i=new Map),!a)return void this._rules.push({regex:r,type:n,validator:o,cache:i});a.forEach(function(e){t._followers[e]||(t._followers[e]=[]),t._followers[e].push({regex:r,type:n,validator:o,cache:i})})},e.prototype.tokenize=function(e){for(var t=e,n="",a=0,o=void 0,i=[];t.length;){var l=this._getMatch(t,o,a+n.length);l?(n&&i.push(new f(r(n.match(s),a),this._nonTokenType)),o=l,i.push(l),a+=o.length+n.length,t=t.substring(o.length),n=""):(n+=t[0],t=t.substring(1))}return n&&i.push(new f(r(n.match(s),a),this._nonTokenType)),i},e.prototype.clearCache=function(){this._rules.forEach(function(e){return e.cache&&e.cache.clear()});for(var e in this._followers){this._followers[e].forEach(function(e){return e.cache&&e.cache.clear()})}},e.prototype._getMatch=function(e,t,n){var a=t?t.type:null,r=void 0;return t&&t.end===n&&(r=o(e,this._followers[a],n)),r||(r=o(e,this._rules,n)),r},e}(),f=t.Token=function(){function e(t,n){a(this,e),t instanceof e?(this.match=[].concat(t.match),this.start=t.start,this.type=t.type,t._data&&(this._data=t._data)):(this.match=[].concat(t),this.start=t.index||0,this.type=n)}return e.prototype.valueOf=function(){return this.match[0]},e.prototype.getFullMatch=function(){return this.match[0]},e.prototype.getMatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.match[e]},e.prototype.setData=function(e,t){this._data||(this._data=new Map),this._data.set(e,t)},e.prototype.getData=function(e){if(this._data)return this._data.get(e)},i(e,[{key:"end",get:function(){return this.start+this.length}},{key:"length",get:function(){return this.match[0].length}}]),e}();u.NON_TOKEN_TYPE=l,u.Token=f,t.default=u},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){return new Set(L.default.months().map(function(e){return e.toLowerCase()}))}function r(){return new Set(L.default.weekdays().map(function(e){return e.toLowerCase()}))}function i(){var e=(new Date).getFullYear();return new Set(O.default.range(2015,e+1).map(function(e){return e.toString()}))}function s(e,t){return[e,e.clone().add(1,t)]}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return s((0,L.default)().startOf(e).add(t,e),e)}function u(e,t,n){return s((0,L.default)(e,t).local(),n)}function f(){var e;return e={},e[x.default.Messages.SEARCH_SHORTCUT_TODAY]=function(){return l("day")},e[x.default.Messages.SEARCH_SHORTCUT_YESTERDAY]=function(){return l("day",-1)},e[x.default.Messages.SEARCH_SHORTCUT_WEEK]=function(){return l("week")},e[x.default.Messages.SEARCH_SHORTCUT_MONTH]=function(){return l("month")},e[x.default.Messages.SEARCH_SHORTCUT_YEAR]=function(){return l("year")},e}function c(e){return e+":"}function d(e){return new RegExp(c(e),"i")}function p(e){var t=e.getMatch(1),n=void 0;return n=t===te.ME?k.default.getCurrentUser():k.default.findByTag(e.getMatch(2),e.getMatch(3)),!!n&&(e.setData("user",n),!0)}function h(e,t){var n=e.getFullMatch().trim().toLowerCase(),a=f()[n],s=void 0,l=void 0;if(null!=a){var c=a();s=c[0],l=c[1]}else if(o().has(n)){var d=u(n,"MMMM","month");s=d[0],l=d[1]}else if(r().has(n)){var p=u(n,"dddd","day");s=p[0],l=p[1]}else if(i().has(n)){var h=u(n,"YYYY","year");s=h[0],l=h[1]}else{var g=u(n,te.SEARCH_DATE_FORMAT,"day");s=g[0],l=g[1]}return!(!s.isValid()||!l.isValid())&&("before"===t?(l=s,s=null):"after"===t&&(s=l,l=null),e.setData("start",s),e.setData("end",l),!0)}function g(e){var t=e.getMatch(1),n=F.default.getGuildId(),a=z.default.getChannels(),o=k.default.getCurrentUser(),r=O.default.chain(a).filter(function(e){return e.getGuildId()==n}).filter(function(e){return e.type==te.ChannelTypes.GUILD_TEXT}).filter(function(e){return ee.default.can(te.Permissions.READ_MESSAGES,o,e)}).find(function(e){return e.name==t}).value();return!!r&&(e.setData("channel",r),!0)}function m(){return[].concat(Array.from(o()),Array.from(r()),Array.from(i()),Object.keys(f()))}function v(){return O.default.sample(m())}function E(e,t,n){return y(e,t,m()).map(function(e){return N({},e,{group:n,key:n+"-"+e.text})})}function y(e,t,n){return(0,O.default)(n).filter(function(t){return(0,M.default)(e.toLocaleLowerCase(),t.toLowerCase())}).take(t).map(function(e){return{text:e}}).value()}function _(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=G.default.getSearchType(t);e=e.split("#")[0];var r=void 0;switch(o){case te.SearchTypes.GUILD:r=X.default.queryGuildUsers;break;case te.SearchTypes.CHANNEL:r=X.default.queryChannelUsers;break;default:return[]}return r(t,e,n,a).filter(function(e){var t=e.user;return!Q.default.isBlocked(t.id)}).map(function(e){var t=e.user;return{text:t.tag,user:t}})}function b(){return G.default.getSearchType()===te.SearchTypes.GUILD}function S(){return!Y.default.hidePersonalInformation}function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.keys(ue).length;return(0,O.default)(Object.keys(ue)).filter(function(e){return te.IS_SEARCH_FILTER_TOKEN.test(e)}).filter(function(e){return ue[e].key}).map(function(e){return ue[e].key}).filter(function(t){return(0,M.default)(e.toLowerCase(),t)}).take(t).value()}t.__esModule=!0;var T,N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.getRandomDateShortcut=v,t.getFilterAutocompletions=I;var A=n(252),M=a(A),C=n(7),O=a(C),D=n(8),L=a(D),R=n(3),x=a(R),w=n(1372),P=n(10),k=a(P),U=n(224),G=a(U),j=n(35),F=a(j),B=n(19),V=a(B),H=n(11),z=a(H),W=n(31),Y=a(W),K=n(43),Q=a(K),Z=n(315),X=a(Z),J=n(167),q=a(J),$=n(55),ee=a($),te=n(1),ne=[x.default.Messages.SEARCH_ANSWER_HAS_LINK,x.default.Messages.SEARCH_ANSWER_HAS_EMBED,x.default.Messages.SEARCH_ANSWER_HAS_ATTACHMENT,x.default.Messages.SEARCH_ANSWER_HAS_VIDEO,x.default.Messages.SEARCH_ANSWER_HAS_IMAGE,x.default.Messages.SEARCH_ANSWER_HAS_SOUND],ae="([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})",oe="\\d{4}",re="([0-9]{4})-([0-9]{1,2})",ie="([a-z]+)",se=new RegExp("(?:\\s*("+ae+"|"+re+"|"+oe+"|"+ie+"))","i"),le=/^(?:\s*(@me|([^@#:]+)#([0-9]{4})))/i,ue=(T={},T[te.SearchTokenTypes.FILTER_FROM]={regex:d(x.default.Messages.SEARCH_FILTER_FROM),component:w.Filter,key:c(x.default.Messages.SEARCH_FILTER_FROM),validator:S,getAutocompletions:_},T[te.SearchTokenTypes.ANSWER_USERNAME_FROM]={follows:[te.SearchTokenTypes.FILTER_FROM],regex:le,validator:p,mutable:!0,component:w.Answer,queryKey:"author_id"},T[te.SearchTokenTypes.FILTER_MENTIONS]={regex:d(x.default.Messages.SEARCH_FILTER_MENTIONS),component:w.Filter,key:c(x.default.Messages.SEARCH_FILTER_MENTIONS),validator:S,getAutocompletions:_},T[te.SearchTokenTypes.ANSWER_USERNAME_MENTIONS]={follows:[te.SearchTokenTypes.FILTER_MENTIONS],regex:le,validator:p,mutable:!0,component:w.Answer,queryKey:"mentions"},T[te.SearchTokenTypes.FILTER_HAS]={regex:d(x.default.Messages.SEARCH_FILTER_HAS),component:w.Filter,key:c(x.default.Messages.SEARCH_FILTER_HAS),getAutocompletions:function(e,t,n){return y(e,n,ne)}},T[te.SearchTokenTypes.ANSWER_HAS]={regex:new RegExp("(?:\\s*-?("+ne.map(function(e){return q.default.escape(e)}).join("|")+"))","i"),follows:[te.SearchTokenTypes.FILTER_HAS],component:w.Answer,queryKey:"has"},T[te.SearchTokenTypes.FILTER_FILE_TYPE]={regex:d(x.default.Messages.SEARCH_FILTER_FILE_TYPE),key:c(x.default.Messages.SEARCH_FILTER_FILE_TYPE),component:w.Filter},T[te.SearchTokenTypes.ANSWER_FILE_TYPE]={regex:/(?:\s*([^\s]+))/,follows:[te.SearchTokenTypes.FILTER_FILE_TYPE],mutable:!0,component:w.Answer,queryKey:"attachment_extensions"},T[te.SearchTokenTypes.FILTER_FILE_NAME]={regex:d(x.default.Messages.SEARCH_FILTER_FILE_NAME),key:c(x.default.Messages.SEARCH_FILTER_FILE_NAME),component:w.Filter},T[te.SearchTokenTypes.ANSWER_FILE_NAME]={regex:/(?:\s*([^\s]+)(?=\s))/,follows:[te.SearchTokenTypes.FILTER_FILE_NAME],mutable:!0,component:w.Answer,queryKey:"attachment_filename"},T[te.SearchTokenTypes.FILTER_BEFORE]={regex:d(x.default.Messages.SEARCH_FILTER_BEFORE),component:w.Filter,key:c(x.default.Messages.SEARCH_FILTER_BEFORE),getAutocompletions:function(e,t,n){return E(e,n,te.SearchTokenTypes.FILTER_BEFORE)}},T[te.SearchTokenTypes.FILTER_ON]={regex:d("("+x.default.Messages.SEARCH_FILTER_ON+"|"+x.default.Messages.SEARCH_FILTER_DURING+")"),component:w.Filter,key:c(x.default.Messages.SEARCH_FILTER_DURING),getAutocompletions:function(e,t,n){return E(e,n,te.SearchTokenTypes.FILTER_ON)}},T[te.SearchTokenTypes.FILTER_AFTER]={regex:d(x.default.Messages.SEARCH_FILTER_AFTER),component:w.Filter,key:c(x.default.Messages.SEARCH_FILTER_AFTER),getAutocompletions:function(e,t,n){return E(e,n,te.SearchTokenTypes.FILTER_AFTER)}},T[te.SearchTokenTypes.ANSWER_BEFORE]={regex:se,follows:[te.SearchTokenTypes.FILTER_BEFORE],component:w.Answer,mutable:!0,validator:function(e){return h(e,"before")}},T[te.SearchTokenTypes.ANSWER_ON]={regex:se,follows:[te.SearchTokenTypes.FILTER_ON],component:w.Answer,mutable:!0,validator:function(e){return h(e,"on")}},T[te.SearchTokenTypes.ANSWER_AFTER]={regex:se,follows:[te.SearchTokenTypes.FILTER_AFTER],component:w.Answer,mutable:!0,validator:function(e){return h(e,"after")}},T[te.SearchTokenTypes.FILTER_IN]={regex:d(x.default.Messages.SEARCH_FILTER_IN),component:w.Filter,key:c(x.default.Messages.SEARCH_FILTER_IN),validator:b,getAutocompletions:function(e,t,n){"#"===e[0]&&(e=e.substring(1));var a=X.default.queryChannels(e,t,1/0).map(function(e){return e.channel});if(!e.trim()){var o=V.default.getChannelId(t),r=a.find(function(e){return e.id===o});r&&(a.splice(a.indexOf(r),1),a.unshift(r))}return(0,O.default)(a).take(n).map(function(e){return{text:e.toString(!0)}}).value()}},T[te.SearchTokenTypes.ANSWER_IN]={regex:/(?:\s*#?([^ ]+))/i,mutable:!0,follows:[te.SearchTokenTypes.FILTER_IN],component:w.Answer,validator:g,queryKey:"channel_id"},T);t.default=ue},function(e,t,n){"use strict";t.__esModule=!0;var a=n(1);t.default={supported:null!=window.speechSynthesis,speak:function(e,t){if(this.supported){var n=e.replace(/(https?:\/\/[^\s]+)/g,function(e){var t=e.match(/^https?\:\/\/(?:www\.)?([^\/?#]+)(?:[\/?#]|$)/i);return t&&t[1]});n.length>a.MAX_TTS_LENGTH&&(n=n.substr(0,a.MAX_TTS_LENGTH),n=n.substr(0,Math.min(n.length,n.lastIndexOf(" "))));var o=new SpeechSynthesisUtterance(n);o.voice=t,speechSynthesis.speak(o)}},cancelAll:function(){this.supported&&speechSynthesis.cancel()}},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.NativeFeatures=t.NATIVE_MODE_VALUES=t.VADAggressiveness=t.NoiseSuppression=t.AutomaticGainControl=t.AECMobile=t.EchoCancellation=t.Features=t.DISABLED_DEVICE_ID=t.DEFAULT_DEVICE_ID=t.DEFAULT_BITRATE=t.DEFAULT_VOLUME=t.ConnectionStates=t.InputModes=t.DeviceTypes=void 0;var a,o=n(263);Object.defineProperty(t,"DeviceTypes",{enumerable:!0,get:function(){return o.DeviceTypes}}),Object.defineProperty(t,"InputModes",{enumerable:!0,get:function(){return o.InputModes}}),Object.defineProperty(t,"ConnectionStates",{enumerable:!0,get:function(){return o.ConnectionStates}}),Object.defineProperty(t,"DEFAULT_VOLUME",{enumerable:!0,get:function(){return o.DEFAULT_VOLUME}}),Object.defineProperty(t,"DEFAULT_BITRATE",{enumerable:!0,get:function(){return o.DEFAULT_BITRATE}}),Object.defineProperty(t,"DEFAULT_DEVICE_ID",{enumerable:!0,get:function(){return o.DEFAULT_DEVICE_ID}}),Object.defineProperty(t,"DISABLED_DEVICE_ID",{enumerable:!0,get:function(){return o.DISABLED_DEVICE_ID}}),Object.defineProperty(t,"Features",{enumerable:!0,get:function(){return o.Features}});t.EchoCancellation={DISABLED:-1,UNCHANGED:0,DEFAULT:1,CONFERANCE:2,AEC:3,AECM:4},t.AECMobile={QUIET_EARPIECE_OR_HEADSET:0,EARPIECE:1,LOUD_EARPIECE:2,SPEAKERPHONE:3,LOUD_SPEAKERPHONE:4},t.AutomaticGainControl={DISABLED:-1,UNCHANGED:0,DEFAULT:1,ADAPTIVE_ANALOG:2,ADAPTIVE_DIGITAL:3,FIXED_DIGITAL:4},t.NoiseSuppression={DISABLED:-1,UNCHANGED:0,DEFAULT:1,CONFERENCE:2,LOW_SUPPRESSION:3,MODERATE_SUPPRESSION:4,HIGH_SUPPRESSION:5,VERY_HIGH_SUPPRESSION:6},t.VADAggressiveness={DISABLED:-1,NORMAL:0,LOW_BIRTATE:1,AGGRESSIVE:2,VERY_AGGRESSIVE:3},t.NATIVE_MODE_VALUES=(a={},a[o.InputModes.VOICE_ACTIVITY]=1,a[o.InputModes.PUSH_TO_TALK]=2,a),t.NativeFeatures={VOICE_SOUND_STOP_LOOP:"voice_sound_stop_loop",VOICE_RELATIVE_SOUNDS:"voice_relative_sounds",VOICE_LEGACY_SUBSYSTEM:"voice_legacy_subsystem",VOICE_PANNING:"voice_panning",UTILS_IN_RENDERER:"utils_in_renderer",MEDIA_DEVICES:"media_devices",MEDIA_VIDEO:"media_video"}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){return s||(s=i.default.getVoiceEngine())}t.__esModule=!0,t.getVoiceEngine=o;var r=n(18),i=a(r),s=null},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=l.default.uniqueId("VideoStream");return u[t]=e,t}function r(e){delete u[e]}function i(e){return u[e]}t.__esModule=!0,t.registerVideoStream=o,t.unregisterVideoStream=r,t.getVideoStream=i;var s=n(7),l=a(s),u={}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(0),i=a(r),s=n(774),l=a(s),u=n(14),f=a(u),c=n(127),d=a(c),p=n(1),h=n(3),g=a(h),m={applyChatRestrictions:function(e){return e.length>p.MAX_MESSAGE_LENGTH?(f.default.push(function(e){return i.default.createElement(d.default,o({title:g.default.Messages.MESSAGE_TOO_LONG_HEADER,body:g.default.Messages.MESSAGE_TOO_LONG_BODY.format({maxLength:p.MAX_MESSAGE_LENGTH}),confirmText:g.default.Messages.OKAY},e))}),!0):!!l.default.isFull()&&(f.default.push(function(e){return i.default.createElement(d.default,o({title:g.default.Messages.MESSAGE_RATE_LIMITED_HEADER,body:g.default.Messages.MESSAGE_RATE_LIMITED_BODY,confirmText:g.default.Messages.MESSAGE_RATE_LIMITED_BUTTON},e))}),!0)}};t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(119),l=a(s),u=n(8),f=a(u),c=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(e){this.code=e.code||"",this.temporary=e.temporary||!1,this.revoked=e.revoked||!1,this.uses=e.uses||0,this.maxUses=e.maxUses||0,this.maxAge=e.maxAge||0,this.createdAt=e.createdAt||new Date,this.channel=e.channel,this.guild=e.guild,this.inviter=e.inviter||null},t.prototype.isExpired=function(){var e=this.maxAge;if(e>0){if((0,f.default)(this.createdAt).add(e,"seconds").isBefore(Date.now()))return!0}return!1},t.prototype.getExpiresAt=function(){if(this.maxAge>0){return(0,f.default)(this.createdAt).add(this.maxAge,"seconds").toDate()}return 1/0},t.prototype.toString=function(){return this.code},t}(l.default);t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n=e.channelId;y=f({},y,(t={},t[n]=!l(n),t)),h.default.set(v,y)}function l(e){return y[e]||!1}function u(){_=!_,h.default.set(E,_)}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=n(2),d=a(c),p=n(25),h=a(p),g=n(4),m=a(g),v=(n(1),"collapsedChannels"),E="collapseMutedChannels",y={},_=!1,b=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){y=h.default.get(v)||y,_=h.default.get(E)||!1},t.prototype.getCollapsed=function(){return y},t.prototype.isCollapsed=function(e){return l(e)},t.prototype.isMutedCollapsed=function(){return _},t}(d.default.Store);t.default=new b(m.default,{CHANNEL_COLLAPSE:s,CHANNEL_COLLAPSE_MUTED:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return{key:e.suggested_user.id,reasons:y.default.sortBy(e.reasons,function(e){return e.name.toLowerCase()}),user:new k.default(e.suggested_user)}}function l(e){return e.user.username.toLowerCase()}function u(){B||H||!V||(B=!0,V=!1,N.default.fetch())}function f(e){j=[],F=e.friendSuggestionCount,V=!0}function c(e){var t=s(e.suggestion);if(j.some(function(e){return e.key===t.key}))return!1;if(F++,j=y.default.sortBy([].concat(j,[t]),l),H){var n=t.reasons,a=n[0],o=a.name,r=a.platform_type,i=x.default.get(r);M.default.showNotification(t.user.getAvatarURL(),G.default.Messages.FRIEND_SUGGESTION,G.default.Messages.FRIEND_SUGGESTION_NOTIFICATION.format({name:o,platformName:i.name}),{onClick:function(){L.default.transitionTo(w.Routes.FRIENDS),O.default.setSection(w.FriendsSections.ADD_FRIEND)}})}}function d(e){F=Math.max(0,--F),j=j.filter(function(t){return t.user.id!==e.suggestedUserId})}function p(e){H=e.section!==w.FriendsSections.ADD_FRIEND,u()}function h(e){B=!1,F=e.suggestions.length,j=(0,y.default)(e.suggestions).map(s).sortBy(l).value()}function g(){B=!1,j=[]}t.__esModule=!0;var m=n(2),v=a(m),E=n(7),y=a(E),_=n(4),b=a(_),S=n(10),I=a(S),T=n(713),N=a(T),A=n(352),M=a(A),C=n(350),O=a(C),D=n(42),L=a(D),R=n(128),x=a(R),w=n(1),P=n(75),k=a(P),U=n(3),G=a(U),j=[],F=0,B=!1,V=!1,H=!0,z=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(I.default)},t.prototype.getSuggestionCount=function(){return F},t.prototype.getSuggestions=function(){return j},t}(v.default.Store);t.default=new z(b.default,{CONNECTION_OPEN:f,FRIEND_SUGGESTION_CREATE:c,FRIEND_SUGGESTION_DELETE:d,FRIENDS_SET_SECTION:p,LOAD_FRIEND_SUGGESTIONS_SUCCESS:h,LOAD_FRIEND_SUGGESTIONS_FAILURE:g}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.guilds;m={},t.forEach(function(e){m[e.id]=e.member_count})}function l(e){var t=e.guild;m[t.id]=t.member_count}function u(e){var t=e.guild;if(null==m[t.id])return!1;delete m[t.id]}function f(e){var t=e.guildId;if(null==m[t])return!1;m[t]+=1}function c(e){var t=e.guildId;if(null==m[t])return!1;m[t]-=1}t.__esModule=!0;var d=n(2),p=a(d),h=n(4),g=a(h),m=(n(1),{}),v=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getMemberCount=function(e){return null!=e?m[e]:null},t}(p.default.Store);t.default=new v(g.default,{CONNECTION_OPEN:s,GUILD_CREATE:l,GUILD_DELETE:u,GUILD_MEMBER_ADD:f,GUILD_MEMBER_REMOVE:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){g[e.guildId]=!0,p.default.set(h,g)}t.__esModule=!0;var l=n(2),u=a(l),f=n(4),c=a(f),d=n(25),p=a(d),h=(n(1),"GuildNSFWAgreeStore"),g={},m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){g=p.default.get(h)||g},t.prototype.didAgree=function(e){return g[e]||!1},t}(u.default.Store);t.default=new m(c.default,{GUILD_NSFW_AGREE:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=_.default.get(D);if(e)k=+e.x,U=+e.y;else{var t=S.default.windowSize();k=t.width/2-L.width/2,U=t.height/2-L.height/2}}function l(e){return null!=e&&(null!=w[e]&&(delete w[e],w=h({},w),void P.delete(e)))}function u(e){var t=e.channelId,n=e.ringing,a=n.includes(A.default.getId());if(!P.has(t)&&a){var o,r=T.default.getChannel(t);if(null==r)return!1;var i=R*P.size;w=h({},w,(o={},o[t]={channel:r,x:k+i,y:U+i},o)),P.add(t)}else{if(!P.has(t)||a)return!1;l(t)}}function f(e){return l(e.channelId)}function c(e){return l(e.channelId)}function d(e){var t=e.x,n=e.y;return k=t,U=n,_.default.set(D,{x:k,y:U}),!1}function p(){G=C.default.getStatus()===O.StatusTypes.DND}t.__esModule=!0;var h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},g=n(2),m=a(g),v=n(4),E=a(v),y=n(25),_=a(y),b=n(90),S=a(b),I=n(11),T=a(I),N=n(17),A=a(N),M=n(269),C=a(M),O=n(1),D="IncomingCallStore",L={width:240,height:340},R=10,x=Object.freeze({}),w={},P=new Set,k=0,U=0,G=!1;s();var j=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(T.default,C.default),this.syncWith([C.default],p)},t.prototype.getIncomingCalls=function(){return G?x:w},t.prototype.getIncomingCallChannelIds=function(){return G?[]:Array.from(P)},t.prototype.getFirstIncomingCallId=function(){return G?null:P.values().next().value},t.prototype.hasIncomingCalls=function(){return!G&&P.size>0},t}(m.default.Store);t.default=new j(E.default,{CALL_CREATE:u,CALL_UPDATE:u,CALL_DELETE:f,VOICE_CHANNEL_SELECT:c,INCOMING_CALL_MOVE:d}),e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){var n=q[e];null!=n&&te[n.action].onTrigger(t)}function u(e,t,n,a){if(O.default.embedded)O.default.inputEventRegister(parseInt(e),t,n,a);else{f(e);var o=(0,Y.default)(new z.default(document));a.keyup&&o.bindGlobal(t,function(){return n(!1)},"keyup"),a.keydown&&o.bindGlobal(t,function(){return n(!0)},"keydown"),X[e]=o}}function f(e){if(O.default.embedded)O.default.inputEventUnregister(e);else{if(X[e]){var t=q[e],n=te[t.action];n&&n.isPressed===!0&&a.nextTick(function(){return n.onTrigger(!1)}),X[e].reset(),X[e]=null}}}function c(e){if(ee){var t=e.shortcut,n=e.action;if(""!==t&&null!=t&&n!==D.KeybindCustomActions.UNASSIGNED){if(void 0==te[n])return void console.error("KeybindStore: Looking for callback action "+n+" but it doesn't exist in this version. Skipping");var a=e.id,o=te[n].keyEvents;u(a,t,function(e){return l(a,e)},y({focused:!0,blurred:!0},o)),Q.default.validateKeybind((0,Z.toString)(e.shortcut))}}}function d(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t=y({id:$.toString(),action:D.KeybindCustomActions.UNASSIGNED,shortcut:"",managed:!1},t),q=y({},q,(e={},e[t.id]=t,e)),N.default.set(J,q),$+=1,t}function p(){d()}function h(e){var t=e.id;q=y({},q),delete q[t],N.default.set(J,q),f(t)}function g(e){var t,n=e.keybind;q=y({},q,(t={},t[n.id]=n,t)),N.default.set(J,q),c(n)}function m(e){var t=e.enable;ee=t,t?(Q.default.enable(),I.default.forEach(q,c)):(Q.default.disable(),I.default.forEach(q,function(e){return f(e.id)}))}function v(e){if(!e.enabled)return!1;var t=I.default.find(q,function(e){return e.action===D.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK&&e.managed===!0});if(null!=t)return!1;t=d({action:D.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK,shortcut:ne,managed:!0}),c(t)}function E(){var e=R.default.getModeOptions(),t=e.shortcut,n=I.default.find(q,function(e){return e.action===D.KeybindCustomActions.PUSH_TO_TALK&&e.managed===!0});return null==n?c(d({action:D.KeybindCustomActions.PUSH_TO_TALK,shortcut:t,managed:!0})):g({keybind:y({},n,{shortcut:t})}),!1}t.__esModule=!0;var y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_=n(2),b=o(_),S=n(7),I=o(S),T=n(25),N=o(T),A=n(4),M=o(A),C=n(18),O=o(C),D=n(1),L=n(27),R=o(L),x=n(31),w=o(x),P=n(109),k=o(P),U=n(82),G=o(U),j=n(179),F=o(j),B=n(356),V=o(B),H=n(343),z=o(H),W=n(862),Y=o(W),K=n(186),Q=o(K),Z=n(273),X={},J="keybinds",q={},$=0,ee=!0,te={},ne=O.default.embedded?[[0,160],[0,192]]:"shift+`";te[D.KeybindCustomActions.UNASSIGNED]={onTrigger:function(){},keyEvents:{}},te[D.KeybindCustomActions.PUSH_TO_TALK]={onTrigger:function(e){R.default.getMode()===D.InputModes.PUSH_TO_TALK&&(te[D.KeybindCustomActions.PUSH_TO_TALK].isPressed=e,R.default.getMediaEngine().eachConnection(function(t){return t.setForceAudioInput(e)}))},keyEvents:{keyup:!0,keydown:!0},isPressed:!1},te[D.KeybindCustomActions.PUSH_TO_MUTE]={onTrigger:function(e){R.default.getMode()===D.InputModes.VOICE_ACTIVITY&&(R.default.isSelfDeaf()||(te[D.KeybindCustomActions.PUSH_TO_MUTE].isPressed=e,G.default.setTemporarySelfMute(e)))},keyEvents:{keyup:!0,keydown:!0},isPressed:!1},te[D.KeybindCustomActions.TOGGLE_MUTE]={onTrigger:function(){G.default.toggleSelfMute()},keyEvents:{keyup:!0,keydown:!1}},te[D.KeybindCustomActions.TOGGLE_DEAFEN]={onTrigger:function(){G.default.toggleSelfDeaf()},keyEvents:{keyup:!0,keydown:!1}},te[D.KeybindCustomActions.TOGGLE_OVERLAY]={onTrigger:function(){var e=k.default.enabled;F.default.setEnabled(!e)},keyEvents:{keyup:!0,keydown:!1}},te[D.KeybindCustomActions.TOGGLE_VOICE_MODE]={onTrigger:function(){var e=R.default.getMode()==D.InputModes.PUSH_TO_TALK?D.InputModes.VOICE_ACTIVITY:D.InputModes.PUSH_TO_TALK;G.default.setMode(e)},keyEvents:{keyup:!0,keydown:!1}},te[D.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK]={onTrigger:function(){F.default.setLocked(!k.default.locked)},keyEvents:{keyup:!0,keydown:!1}},te[D.KeybindCustomActions.TOGGLE_STREAMER_MODE]={onTrigger:function(){V.default.setEnabled(!w.default.enabled)},keyEvents:{keyup:!0,keydown:!1}};var ae=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.initialize=function(){if(!__OVERLAY__){this.waitFor(R.default),q=N.default.get(J)||{};var e=!1;I.default.forEach(q,function(t,n){var a=parseInt(t.id,10);if(isNaN(a)||t.id!==n)return delete q[n],void(e=!0);$=Math.max(a,$),c(t)}),$+=1,e&&N.default.set(J,q)}},t.prototype.getKeybinds=function(){return q},t.prototype.getKeybindList=function(){var e=[];for(var t in q)q.hasOwnProperty(t)&&e.push((0,Z.toString)(q[t].shortcut));return e},t.prototype.getOverlayKeybind=function(){return I.default.find(q,function(e){return e.action===D.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK&&e.managed===!0})},t}(b.default.Store);t.default=new ae(M.default,{CONNECTION_OPEN:function(e){return E()},AUDIO_SET_MODE:function(e){return E()},KEYBINDS_ADD_KEYBIND:p,KEYBINDS_DELETE_KEYBIND:h,KEYBINDS_SET_KEYBIND:g,KEYBINDS_ENABLE_ALL_KEYBINDS:m,OVERLAY_SET_ENABLED:v}),e.exports=t.default}).call(t,n(45))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){b=!0}function l(e){b=!1,S=e.errors}function u(){b=!1;var e=y.default.getCurrentUser();I.avatar=e.avatar,I.email=e.email,I.isClaimed=e.isClaimed(),S=null}function f(e){T=p({},e.settings)}function c(){var e=y.default.getCurrentUser();I=p({},I,e),I.isClaimed=e.isClaimed(),_=!0}function d(){_=!1}t.__esModule=!0;var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},h=n(2),g=a(h),m=n(4),v=a(m),E=(n(1),n(10)),y=a(E),_=!1,b=!1,S=null,I={id:null,username:null,avatar:null,discriminator:null,isClaimed:!1},T={email:"",password:""},N=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(y.default)},t.prototype.getUser=function(){return p({},I,T)},t.prototype.getErrors=function(){return S},t.prototype.isClaimed=function(){return I.isClaimed},t.prototype.getClaimUser=function(){var e=this.getUser();return p({username:e.username,avatar:e.avatar,bot:e.bot,discriminator:e.discriminator,id:e.id},T)},t.prototype.getState=function(){return p({accountSubmitting:b},this.getUser())},t}(g.default.Store);t.default=new N(v.default,{NEW_USER_FLOW_ACCOUNT_SUBMITTED:s,NEW_USER_FLOW_ACCOUNT_FAILURE:l,NEW_USER_FLOW_ACCOUNT_SUCCESS:u,NEW_USER_FLOW_ACCOUNT_UPDATE:f,CONNECTION_OPEN:c,CONNECTION_CLOSED:d}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=(0,E.default)(C).toPairs().sortBy(function(e){e[0];return-e[1]}).map(function(e){return e[0]}).value(),t=!E.default.isEqual(O,e);return O=e,t}function l(e){return e.type===b.ChannelTypes.DM||e.type===b.ChannelTypes.GROUP_DM}function u(e){return e=null!=e?I.default.getChannel(e.id):null,null!=e&&e.isManaged()}function f(e){var t=e.channels;C={},t.forEach(function(e){l(e)&&!u(e)&&(C[e.id]=M.default.extractTimestamp(e.last_message_id||e.id))}),s()}function c(e){var t=e.channel;return!(!l(t)||u(t))&&(C[t.id]=M.default.extractTimestamp(t.last_message_id||t.id),s())}function d(e){var t=e.channel;return null!=C[t.id]&&(delete C[t.id],s())}function p(e){var t=e.channelId,n=e.message;return null!=C[t]&&(C[t]=M.default.extractTimestamp(n.id),s())}function h(e){var t=e.guild.id;return null!=C[t]&&(delete C[t],s())}t.__esModule=!0;var g=n(2),m=a(g),v=n(7),E=a(v),y=n(4),_=a(y),b=n(1),S=n(11),I=a(S),T=n(10),N=a(T),A=n(147),M=a(A),C={},O=[],D=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(I.default,N.default)},t.prototype.getPrivateChannelIds=function(){return O},t}(m.default.Store);t.default=new D(_.default,{CONNECTION_OPEN:f,CHANNEL_CREATE:c,CHANNEL_DELETE:d,MESSAGE_CREATE:p,GUILD_CREATE:h}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(5)),s=a(i);n(2301);var l=function(e){var t=e.onChange,n=e.value,a=e.clear,r=void 0!==a&&a,i=e.fill,l=e.disabled,u=e.style,f=e.className;return o("label",{className:(0,s.default)("ui-switch-wrapper",f,{disabled:l,clear:r}),style:u},void 0,o("input",{className:"ui-switch-checkbox",type:"checkbox",disabled:l,onChange:t,checked:n}),o("div",{className:"ui-switch",style:null!=i&&n?{backgroundColor:i}:null}))};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){if(null==e)return null;var n={};return t===y.ACTIVE?(n.backgroundColor=e,n.color=v.Colors.WHITE,n):(t===y.HOVER&&(n.backgroundColor=(0,m.hex2rgb)(e,.1)),n.color=e,n)}t.__esModule=!0,t.TabBarSeparator=t.TabBarItem=t.TabBarHeader=t.TabBarTypes=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(5),p=a(d),h=n(253),g=a(h),m=n(123),v=n(1);n(2303);var E=t.TabBarTypes=(0,g.default)({SIDE:null,TOP:null,UNIQUE:null}),y=(t.TabBarHeader=function(e){var t=e.className,n=e.onClick,a=e.children;return u("div",{className:(0,p.default)("ui-tab-bar-header",t),onClick:n},void 0,a)},{ACTIVE:"ACTIVE",HOVER:"HOVER"});(t.TabBarItem=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a.handleMouseOver=a.handleMouseOver.bind(a),a.handleMouseOut=a.handleMouseOut.bind(a),a.handleMouseDown=a.handleMouseDown.bind(a),a.handleMouseUp=a.handleMouseUp.bind(a),a.state={hover:!1,active:!1},a}return i(t,e),t.prototype.handleClick=function(e){var t=this.props,n=t.onClick,a=t.id,o=this.context.onItemSelect;null!=n?n(e):o(a)},t.prototype.handleMouseDown=function(e){this.handleClick(e),this.setState({active:!0})},t.prototype.handleMouseUp=function(){this.setState({active:!1})},t.prototype.handleMouseOver=function(){this.setState({hover:!0})},t.prototype.handleMouseOut=function(){this.setState({hover:!1})},t.prototype.getMouseEvents=function(e){return e?{onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp}:{onMouseDown:this.handleClick}},t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,a=e.selected,o=e.color,r={};return null!=a&&a!==!1||(r=this.getMouseEvents(!!o)),c.default.createElement("div",l({className:(0,p.default)("ui-tab-bar-item",n,{selected:a}),style:this.getStyle()},r),t)},t.prototype.getStyle=function(){var e=this.props,t=e.color,n=e.selected,a=this.state,o=a.hover,r=a.active;return n||r?s(t,y.ACTIVE):t&&o?s(t,y.HOVER):s(t)},t}(c.default.Component)).contextTypes={onItemSelect:c.default.PropTypes.func};var _=u("div",{className:"ui-tab-bar-separator margin-top-8 margin-bottom-8"}),b=(t.TabBarSeparator=function(){return _},function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getChildContext=function(){return{onItemSelect:this.props.onItemSelect}},t.prototype.renderChildren=function(e){var t=this.props.selectedItem;return e.props.id===t?c.default.cloneElement(e,{selected:t}):e},t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,a=e.type,o=void 0===a?E.SIDE:a;return u("div",{className:(0,p.default)("ui-tab-bar",t,o)},void 0,c.default.Children.map(n,this.renderChildren,this))},t}(c.default.Component));b.childContextTypes={onItemSelect:c.default.PropTypes.func},t.default=b},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){clearTimeout(h),t=t.toLocaleLowerCase(),h=setTimeout(function(){if(null==e){var a=(0,d.default)(l.default.getGuilds()).filter(function(e){return e.large||!f.default.isSynced(e.id)}).map(function(e){return e.id}).value();a.length>0&&i.default.requestMembers(a,t,n)}else{var o=l.default.getGuild(e);null==o||!o.large&&f.default.isSynced(o.id)||i.default.requestMembers(o.id,t,n)}},200)}t.__esModule=!0;var r=n(63),i=a(r),s=n(12),l=a(s),u=n(520),f=a(u),c=n(7),d=a(c),p={},h=null;t.default={requestMembers:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,a=p[e]=p[e]||new Set;a.has(t)===!1&&(a.add(t),o(e,t,n))},getAcronym:function(e){return null!=e?e.replace(/\w+/g,function(e){return e[0]}).replace(/\s/g,""):""}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(){return g.default.getCurrentUser().mfaEnabled}function i(e){return e.body&&e.body.code===y}function s(e){function t(){c&&c()}function n(e){v.default.popWithKey(d),s(e)}function a(e){v.default.popWithKey(d),u(e)}function o(e){v.default.update(d,{isLoading:!0}),l({promiseFn:i,resolve:n,reject:a,code:e,mfaCodeHandler:r})}function r(e){var t=e.res;v.default.update(d,{error:t.body.message,isLoading:!1})}var i=e.promiseFn,s=e.resolve,u=e.reject,f=e.confirmModalProps,c=e.hooks.onEarlyClose;if(null==E)return void c();var d=E(o,t,f)}function l(e){var t=e.promiseFn,n=e.resolve,a=e.reject,r=e.code,l=e.mfaCodeHandler,f=void 0===l?s:l,c=o(e,["promiseFn","resolve","reject","code","mfaCodeHandler"]);t(r?{code:r}:{}).then(n,function(e){i(e)?f(u({promiseFn:t,resolve:n,reject:a,res:e},c)):a(e)})}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f=n(7),c=a(f),d=n(1679),p=a(d),h=n(10),g=a(h),m=n(14),v=a(m),E=void 0;E=n(1690).showModal;var y=60008,_=function(e,t){var n=e.hooks,a=void 0===n?{}:n,r=o(e,["hooks"]);return(0,p.default)(function(e){return new Promise(function(n,o){((0,d.resolveThunk)(t)?s:l)(u({promiseFn:e,resolve:n,reject:o,hooks:a},r))})},!0)};t.default=c.default.curry(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.checkEnabled,i=void 0===a?r:a;return _(u({confirmModalProps:e},o(n,["checkEnabled"])),i)(t)},2),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return/^\/[^\/\\]/.test(e)}function r(e,t){var n=e.params,a=n.section,o=n.subsection;a=a&&a.toUpperCase(),o=o&&o.toUpperCase(),!f.UserSettingsSections.hasOwnProperty(a)||o&&!f.UserSettingsSections.hasOwnProperty(o)||s.default.call(function(){return u.default.open(a,o)}),t({pathname:f.Routes.ME})}t.__esModule=!0,t.isSafeRedirect=o,t.userSettingsRedirector=r;var i=n(1246),s=a(i),l=n(57),u=a(l),f=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return null!=e&&p.default.canReport()}function r(e){if(!p.default.canReport())return!1;if(null==e)return!1;var t=e.id;return c.default.getId()!=t}function i(e){return null!=e&&r(e.author)}t.__esModule=!0;var s,l,u=n(1),f=n(17),c=a(f),d=n(1616),p=a(d);a(n(298)).default.register(p.default,(l={},l[u.ExperimentTypes.USER]=(s={},s[u.ExperimentBuckets.CONTROL]=function(){return null},s[u.ExperimentBuckets.TREATMENT_1]=function(){return null},s),l)),t.default={canReportUser:r,canReportInChannel:o,canReportMessage:i},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=T.default[e],n=t?t.queryKey:null;return n||(n="content"),n}function r(e){var t={};return e.forEach(function(e){var n=e.type;if(!M.IS_SEARCH_FILTER_TOKEN.test(n)){switch(n){case M.SearchTokenTypes.ANSWER_BEFORE:case M.SearchTokenTypes.ANSWER_ON:case M.SearchTokenTypes.ANSWER_AFTER:var a=e.getData("start"),r=e.getData("end");return a&&(t.min_id=A.default.getFromTimestamp(a)),void(r&&(t.max_id=A.default.getFromTimestamp(r)))}var i=o(n);Array.isArray(t[i])||(t[i]=[]);var s=t[i];switch(n){case M.SearchTokenTypes.ANSWER_USERNAME_FROM:case M.SearchTokenTypes.ANSWER_USERNAME_MENTIONS:s.push(e.getData("user").id);break;case M.SearchTokenTypes.ANSWER_FILE_TYPE:s.push(e.getMatch(1));break;case M.SearchTokenTypes.ANSWER_FILE_NAME:s.push(e.getMatch(1));break;case M.SearchTokenTypes.ANSWER_IN:s.push(e.getData("channel").id);break;default:s.push(e.getFullMatch().trim())}}}),t.content&&(t.content=t.content.join(" ").trim(),t.content||delete t.content),t}function i(e){return e.map(function(e){return e.type===S.default.NON_TOKEN_TYPE?e.getFullMatch():""}).join(" ").trim()}function s(e,t,n){var a=void 0,o=void 0,r=e.find(function(r,i){return t>=r.start&&t<=r.end&&n>=r.start&&n<=r.end?(e[i+1]&&(o=e[i+1]),!0):(a=r,!1)});return r?{previousToken:a,currentToken:r,nextToken:o,focusOffset:t,anchorOffset:n}:null}function l(e,t){e=e||{};var n=e,a=n.currentToken,o=n.nextToken,r=n.previousToken;if(0===t.length)return{type:M.SearchPopoutModes.EMPTY,filter:null,token:null};if(!a)return{type:M.SearchPopoutModes.FILTER_ALL,filter:null,token:null};if(M.IS_SEARCH_FILTER_TOKEN.test(a.type)){if(!o||o.type===S.default.NON_TOKEN_TYPE)return{type:M.SearchPopoutModes.FILTER,filter:a.type,token:o};if(o&&!M.IS_SEARCH_ANSWER_TOKEN.test(o.type))return{type:M.SearchPopoutModes.FILTER,filter:a.type,token:null}}if(a.type===S.default.NON_TOKEN_TYPE&&r&&M.IS_SEARCH_FILTER_TOKEN.test(r.type))return{type:M.SearchPopoutModes.FILTER,filter:r.type,token:a};var i=void 0;return a.type===S.default.NON_TOKEN_TYPE&&(i=a),{type:M.SearchPopoutModes.FILTER_ALL,filter:null,token:i}}function u(e,t){var n=[];return(0,_.default)(e).forEach(function(e){if(e&&e.results.length){var a=e.group;n=n.concat(e.results.map(function(e){var n=e.text;if(t===M.SearchPopoutModes.FILTER_ALL){a=e.group||a;var o=T.default[a];o&&o.key&&(n=o.key+" "+n)}return n}))}}),n.filter(function(e){return e})}function f(e){return e.reduce(function(e,t){return t?t.results.length+e:e},0)}function c(e){return e?e.map(function(e){return e.getFullMatch()}).join(""):""}function d(e){return L.tokenize(e)}function p(){return L.clearCache()}function h(e){return D[e]}function g(e,t){var n=M.IS_SEARCH_FILTER_TOKEN.test(e.type);return!(!t&&n||t&&n&&!M.IS_SEARCH_ANSWER_TOKEN.test(t.type))}t.__esModule=!0,t.ShowDatePicker=t.SearchOptionAnswers=void 0;var m,v,E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.getSearchQueryFromTokens=r,t.getNonTokenQuery=i,t.getSelectionScope=s,t.getAutocompleteMode=l,t.getFlattenedStringArray=u,t.getTotalResults=f,t.getQueryFromTokens=c,t.tokenizeQuery=d,t.clearTokenCache=p,t.showDatePicker=h,t.filterHasAnswer=g;var y=n(7),_=a(y),b=n(366),S=a(b),I=n(367),T=a(I),N=n(147),A=a(N),M=n(1),C=n(3),O=a(C),D=(t.SearchOptionAnswers=(m={},m[T.default[M.SearchTokenTypes.FILTER_FROM].key]=O.default.Messages.SEARCH_ANSWER_FROM,m[T.default[M.SearchTokenTypes.FILTER_MENTIONS].key]=O.default.Messages.SEARCH_ANSWER_MENTIONS,m[T.default[M.SearchTokenTypes.FILTER_HAS].key]=O.default.Messages.SEARCH_ANSWER_HAS,m[T.default[M.SearchTokenTypes.FILTER_BEFORE].key]=O.default.Messages.SEARCH_ANSWER_DATE,m[T.default[M.SearchTokenTypes.FILTER_ON].key]=O.default.Messages.SEARCH_ANSWER_DATE,m[T.default[M.SearchTokenTypes.FILTER_AFTER].key]=O.default.Messages.SEARCH_ANSWER_DATE,m[T.default[M.SearchTokenTypes.FILTER_IN].key]=O.default.Messages.SEARCH_ANSWER_IN,m[T.default[M.SearchTokenTypes.FILTER_FILE_TYPE].key]=O.default.Messages.SEARCH_ANSWER_FILE_TYPE,m[T.default[M.SearchTokenTypes.FILTER_FILE_NAME].key]=O.default.Messages.SEARCH_ANSWER_FILE_NAME,m),t.ShowDatePicker=(v={},v[M.SearchTokenTypes.FILTER_BEFORE]=!0,v[M.SearchTokenTypes.FILTER_AFTER]=!0,v[M.SearchTokenTypes.FILTER_ON]=!0,v)),L=new S.default;(0,_.default)(T.default).forOwn(function(e,t){return L.addRule(E({type:t},e))})},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.OAuth2Scopes=t.RECAPTCHA_SITE_KEY=t.Fonts=t.Colors=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(1700),i=a(r),s=t.Colors=o({BRAND_PURPLE:"#7289DA",BRAND_PURPLE_TRANSPARENT:"#7289DA00",HINT_PURPLE:"#c9d2f0",DARK_PURPLE:"#697ec4",STATUS_RED:"#f04747",STATUS_GREEN:"#43b581",STATUS_YELLOW:"#faa61a",STATUS_GREY:"#747f8d",WHITE:"#ffffff",WHITE1:"#f9f9f9",WHITE2:"#f3f3f3",WHITE3:"#f0f0f0",WHITE4:"#eceeef",WHITE5:"#ebebeb",WHITE6:"#e9e7e7",WHITE7:"#dbdde1",WHITE8:"#cdcdcd",WHITE9:"#737F8D",PLACEHOLDER:"#dadddf",PLACEHOLDER2:"#74787d",MODAL_GREY:"#EFEFF4",BLACK:"#000000",ORANGE:"#f57731",GUILDS_GREY:"#1e2124",CHANNELS_GREY:"#2e3136",ACCOUNT_GREY:"#282b30",CHAT_GREY:"#36393e",UNREAD_GREY:"#8a8e94",HIGHLIGHT_GREY:"#25282c",AVATAR_GREY:"#747F8C",DARK_GREY:"#677179",GREY1:"#99aab5",GREY2:"#87909c",GREY3:"#737f8d",GREY4:"#949494",GREY5:"#535559",GREY6:"#4f545c",GREY7:"#1c242b",GREY8:"#575d66",GREY9:"#202226",DARK1:"#030303",LINK:"#00b0f4"},(0,i.default)()),l=t.Fonts={PRIMARY_LIGHT:"Whitney-Light",PRIMARY_BOLD:"Whitney-Bold",PRIMARY_SEMIBOLD:"Whitney-Semibold",PRIMARY_REGULAR:"Whitney-Book",PRIMARY:"Whitney-Medium"},u=t.RECAPTCHA_SITE_KEY="6Lef5iQTAAAAAKeIvIY-DeexoO3gj7ryl9rLMEnn",f=t.OAuth2Scopes={IDENTIFY:"identify",EMAIL:"email",CONNECTIONS:"connections",GUILDS:"guilds",GUILDS_JOIN:"guilds.join",GDM_JOIN:"gdm.join",RPC:"rpc",RPC_API:"rpc.api",RPC_NOTIFICATIONS_READ:"rpc.notifications.read",BOT:"bot",WEBHOOK_INCOMING:"webhook.incoming",MESSAGES_READ:"messages.read"};t.default={Colors:s,Fonts:l,RECAPTCHA_SITE_KEY:u,OAuth2Scopes:f}},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=(n(111),n(168)),s=n(38),l=n(321),u=n(545),f=function(e){function t(n,r){a(this,t);var i=o(this,e.call(this));return i._parent=n,i._interpolation=r,i._listeners={},i}return r(t,e),t.prototype.__getValue=function(){var e=this._parent.__getValue();return s("number"==typeof e,"Cannot interpolate an input which is not a number."),this._interpolation(e)},t.prototype.addListener=function(e){var t=this;this._parentListener||(this._parentListener=this._parent.addListener(function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})}));var n=u();return this._listeners[n]=e,n},t.prototype.removeListener=function(e){delete this._listeners[e]},t.prototype.interpolate=function(e){return new t(this,l.create(e))},t.prototype.__attach=function(){this._parent.__addChild(this)},t.prototype.__detach=function(){this._parent.__removeChild(this),this._parentListener=this._parent.removeListener(this._parentListener)},t}(i);e.exports=f},function(e,t,n){"use strict";(function(t){var n={current:function(e){return t.cancelAnimationFrame(e)},inject:function(e){n.current=e}};e.exports=n}).call(t,n(30))},function(e,t,n){"use strict";(function(t){var n={current:function(e){return t.requestAnimationFrame(e)},inject:function(e){n.current=e}};e.exports=n}).call(t,n(30))},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){},,,,,,,,,,,,,,,function(e,t,n){"use strict";t.decode=t.parse=n(2686),t.encode=t.stringify=n(2687)},,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n.p+"e6ac860888002826fcedcb05bd8d4529.svg"},function(e,t,n){"use strict";function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(e,t,n){if(e&&u.isObject(e)&&e instanceof a)return e;var o=new a;return o.parse(e,t,n),o}function r(e){return u.isString(e)&&(e=o(e)),e instanceof a?e.format():a.prototype.format.call(e)}function i(e,t){return o(e,!1,!0).resolve(t)}function s(e,t){return e?o(e,!1,!0).resolveObject(t):t}var l=n(1110),u=n(5561);t.parse=o,t.resolve=i,t.resolveObject=s,t.format=r,t.Url=a;var f=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,d=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,p=["<",">",'"',"`"," ","\r","\n","\t"],h=["{","}","|","\\","^","`"].concat(p),g=["'"].concat(h),m=["%","/","?",";","#"].concat(g),v=["/","?","#"],E=/^[+a-z0-9A-Z_-]{0,63}$/,y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},b={javascript:!0,"javascript:":!0},S={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},I=n(433);a.prototype.parse=function(e,t,n){if(!u.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),o=a!==-1&&a<e.indexOf("#")?"?":"#",r=e.split(o),i=/\\/g;r[0]=r[0].replace(i,"/"),e=r.join(o);var s=e;if(s=s.trim(),!n&&1===e.split("#").length){var c=d.exec(s);if(c)return this.path=s,this.href=s,this.pathname=c[1],c[2]?(this.search=c[2],this.query=t?I.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var p=f.exec(s);if(p){p=p[0];var h=p.toLowerCase();this.protocol=h,s=s.substr(p.length)}if(n||p||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var T="//"===s.substr(0,2);!T||p&&b[p]||(s=s.substr(2),this.slashes=!0)}if(!b[p]&&(T||p&&!S[p])){for(var N=-1,A=0;A<v.length;A++){var M=s.indexOf(v[A]);M!==-1&&(N===-1||M<N)&&(N=M)}var C,O;O=N===-1?s.lastIndexOf("@"):s.lastIndexOf("@",N),O!==-1&&(C=s.slice(0,O),s=s.slice(O+1),this.auth=decodeURIComponent(C)),N=-1;for(var A=0;A<m.length;A++){var M=s.indexOf(m[A]);M!==-1&&(N===-1||M<N)&&(N=M)}N===-1&&(N=s.length),this.host=s.slice(0,N),s=s.slice(N),this.parseHost(),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D)for(var L=this.hostname.split(/\./),A=0,R=L.length;A<R;A++){var x=L[A];if(x&&!x.match(E)){for(var w="",P=0,k=x.length;P<k;P++)w+=x.charCodeAt(P)>127?"x":x[P];if(!w.match(E)){var U=L.slice(0,A),G=L.slice(A+1),j=x.match(y);j&&(U.push(j[1]),G.unshift(j[2])),G.length&&(s="/"+G.join(".")+s),this.hostname=U.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=l.toASCII(this.hostname));var F=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+F,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!_[h])for(var A=0,R=g.length;A<R;A++){var V=g[A];if(s.indexOf(V)!==-1){var H=encodeURIComponent(V);H===V&&(H=escape(V)),s=s.split(V).join(H)}}var z=s.indexOf("#");z!==-1&&(this.hash=s.substr(z),s=s.slice(0,z));var W=s.indexOf("?");if(W!==-1?(this.search=s.substr(W),this.query=s.substr(W+1),t&&(this.query=I.parse(this.query)),s=s.slice(0,W)):t&&(this.search="",this.query={}),s&&(this.pathname=s),S[h]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var F=this.pathname||"",Y=this.search||"";this.path=F+Y}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",a=this.hash||"",o=!1,r="";this.host?o=e+this.host:this.hostname&&(o=e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&u.isObject(this.query)&&Object.keys(this.query).length&&(r=I.stringify(this.query));var i=this.search||r&&"?"+r||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||S[t])&&o!==!1?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),a&&"#"!==a.charAt(0)&&(a="#"+a),i&&"?"!==i.charAt(0)&&(i="?"+i),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),i=i.replace("#","%23"),t+o+n+i+a},a.prototype.resolve=function(e){return this.resolveObject(o(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(u.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var n=new a,o=Object.keys(this),r=0;r<o.length;r++){var i=o[r];n[i]=this[i]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var f=s[l];"protocol"!==f&&(n[f]=e[f])}return S[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!S[e.protocol]){for(var c=Object.keys(e),d=0;d<c.length;d++){var p=c[d];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||b[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var g=n.pathname||"",m=n.search||"";n.path=g+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var v=n.pathname&&"/"===n.pathname.charAt(0),E=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=E||v||n.host&&e.pathname,_=y,I=n.pathname&&n.pathname.split("/")||[],h=e.pathname&&e.pathname.split("/")||[],T=n.protocol&&!S[n.protocol];if(T&&(n.hostname="",n.port=null,n.host&&(""===I[0]?I[0]=n.host:I.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),y=y&&(""===h[0]||""===I[0])),E)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,I=h;else if(h.length)I||(I=[]),I.pop(),I=I.concat(h),n.search=e.search,n.query=e.query;else if(!u.isNullOrUndefined(e.search)){if(T){n.hostname=n.host=I.shift();var N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");N&&(n.auth=N.shift(),n.host=n.hostname=N.shift())}return n.search=e.search,n.query=e.query,u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!I.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var A=I.slice(-1)[0],M=(n.host||e.host||I.length>1)&&("."===A||".."===A)||""===A,C=0,O=I.length;O>=0;O--)A=I[O],"."===A?I.splice(O,1):".."===A?(I.splice(O,1),C++):C&&(I.splice(O,1),C--);if(!y&&!_)for(;C--;C)I.unshift("..");!y||""===I[0]||I[0]&&"/"===I[0].charAt(0)||I.unshift(""),M&&"/"!==I.join("/").substr(-1)&&I.push("");var D=""===I[0]||I[0]&&"/"===I[0].charAt(0);if(T){n.hostname=n.host=D?"":I.length?I.shift():"";var N=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");N&&(n.auth=N.shift(),n.host=n.hostname=N.shift())}return y=y||n.host&&I.length,y&&!D&&I.unshift(""),I.length?n.pathname=I.join("/"):(n.pathname=null,n.path=null),u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},a.prototype.parseHost=function(){var e=this.host,t=c.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(18),r=a(o),i=n(1570),s=a(i),l={stable:{win32:"0.0.293",darwin:"0.0.243",linux:"0.0.1"},ptb:{win32:"0.0.24",darwin:"0.0.22",linux:"0.0.1"},canary:{win32:"0.0.132",darwin:"0.0.121",linux:"0.0.9"}};r.default.embedded&&r.default.isVersionEqualOrNewer(l)&&r.default.ensureModule("discord_rpc").then(function(){s.default.loadServer()}),t.default=s.default,e.exports=t.default},,,,,,,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s),u=n(17),f=a(u);t.default={open:function(e,t){r.default.dispatch({type:i.ActionTypes.CHANGE_NICKNAME_MODAL_OPEN,guildId:e,userId:t})},close:function(){r.default.dispatch({type:i.ActionTypes.CHANGE_NICKNAME_MODAL_CLOSE})},changeNickname:function(e,t,n){var a=this;r.default.dispatch({type:i.ActionTypes.CHANGE_NICKNAME_MODAL_SUBMIT});var o=void 0;o=f.default.getId()===t?i.Endpoints.GUILD_MEMBERS(e)+"/"+i.ME+"/nick":i.Endpoints.GUILD_MEMBERS(e)+"/"+t,l.default.patch({url:o,body:{nick:n}}).then(function(){return a.close()},function(e){r.default.dispatch({type:i.ActionTypes.CHANGE_NICKNAME_MODAL_SUBMIT_FAILURE,errors:e.body||{}})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={update:function(e){r.default.dispatch({type:i.ActionTypes.CHANNEL_COLLAPSE,channelId:e})},updateMuted:function(){r.default.dispatch({type:i.ActionTypes.CHANNEL_COLLAPSE_MUTED})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={saveCurrentText:function(e,t){r.default.dirtyDispatch({type:i.ActionTypes.IN_PROGRESS_TEXT_SAVE,channelId:e,textSoFar:t})},changeCurrentText:function(e,t){r.default.dirtyDispatch({type:i.ActionTypes.IN_PROGRESS_TEXT_CHANGE,channelId:e,textSoFar:t})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(3),s=a(i),l=n(16),u=a(l),f=n(1),c=n(385),d=a(c);t.default={enable:function(e){var t=e.code,n=e.secret;return u.default.post({url:f.Endpoints.MFA_TOTP_ENABLE,body:{code:t,secret:n}}).then(function(e){return r.default.dispatch({type:f.ActionTypes.MFA_ENABLE_SUCCESS,token:e.body.token,codes:e.body.backup_codes})})},disable:function(){(0,d.default)({title:s.default.Messages.TWO_FA_DISABLE,actionText:s.default.Messages.TWO_FA_REMOVE},function(e){return u.default.post({url:f.Endpoints.MFA_TOTP_DISABLE,body:e})},!0).then(function(e){return r.default.dispatch({type:f.ActionTypes.MFA_DISABLE_SUCCESS,token:e.body.token})})},viewBackupCodes:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return u.default.post({url:f.Endpoints.MFA_CODES,body:{password:e,regenerate:t}}).then(function(e){return r.default.dispatch({type:f.ActionTypes.MFA_VIEW_BACKUP_CODES,codes:e.body.backup_codes})})},clearBackupCodes:function(){r.default.dirtyDispatch({type:f.ActionTypes.MFA_CLEAR_BACKUP_CODES})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={show:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.PaymentModelModes.NEW,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;r.default.dispatch({type:i.ActionTypes.PAYMENT_MODAL_OPEN,mode:e,plan:t})},submit:function(e){r.default.dispatch({type:i.ActionTypes.PAYMENT_MODAL_SUBMIT,cardInfo:e})},close:function(){r.default.dispatch({type:i.ActionTypes.PAYMENT_MODAL_CLOSE})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={clearVADWarning:function(){r.default.dispatch({type:i.ActionTypes.PERMISSION_CLEAR_VAD_WARNING})},clearSuppressWarning:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];r.default.dispatch({type:i.ActionTypes.PERMISSION_CLEAR_SUPPRESS_WARNING,forever:e})},clearPTTAdminWarning:function(){r.default.dispatch({type:i.ActionTypes.PERMISSION_CLEAR_PTT_ADMIN_WARNING})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments[4];l.default.dirtyDispatch({type:u.ActionTypes.PICTURE_IN_PICTURE_OPEN,id:e,component:t,position:n,props:a,offsets:o})}function r(e){l.default.dirtyDispatch({type:u.ActionTypes.PICTURE_IN_PICTURE_CLOSE,id:e})}function i(e,t){l.default.dispatch({type:u.ActionTypes.PICTURE_IN_PICTURE_MOVE,id:e,position:t})}t.__esModule=!0,t.open=o,t.close=r,t.moveTo=i;var s=n(4),l=a(s),u=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),r=n(4),i=a(r);t.default={open:function(e){i.default.dispatch({type:o.ActionTypes.PRIVACY_SETTINGS_MODAL_OPEN,guildId:e})},close:function(){i.default.dispatch({type:o.ActionTypes.PRIVACY_SETTINGS_MODAL_CLOSE})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={fetchDefaultRegions:function(){return this.fetchRegions(null)},fetchRegions:function(e){l.default.get({url:i.Endpoints.REGIONS(e),retries:1}).then(function(t){return r.default.dispatch({type:i.ActionTypes.LOAD_REGIONS,regions:t.body,guildId:e})},function(){return r.default.dispatch({type:i.ActionTypes.LOAD_REGIONS,regions:[],guildId:e})})},changeCallRegion:function(e,t){l.default.patch({url:i.Endpoints.CALL(e),body:{region:t}})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){I.default.didAgree(e)&&(t.include_nsfw=!0);var a=Object.keys(t);b.default.trackWithMetadata("search_started",{prev_search_id:y.default.getAnalyticsId(e),num_modifiers:a.length,modifiers:a.reduce(function(e,n){var a=t[n];return e[n]=Array.isArray(a)?a.length:1,e},{})}),v.default.dispatch({type:T.ActionTypes.SEARCH_START,query:t,searchId:e,queryString:n})}function r(e,t){return o(e,g({},y.default.getQuery(e),{offset:0,sort_by:t}))}function i(e){return l(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.SEARCH_PAGE_SIZE)}function s(e){return l(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.SEARCH_PAGE_SIZE))}function l(e,t){var n=y.default.getOffset(e),a=y.default.getQuery(e),r=n+t,i=y.default.getTotalResults(e);if(!(r<0||r>i))return o(e,g({},a,{offset:r}))}function u(e){v.default.dispatch({type:T.ActionTypes.SEARCH_CLEAR_HISTORY,searchId:e})}function f(e){v.default.dispatch({type:T.ActionTypes.SEARCH_ENSURE_SEARCH_STATE,searchId:e})}function c(e,t){v.default.dirtyDispatch({type:T.ActionTypes.SEARCH_EDITOR_STATE_CHANGE,searchId:e,editorState:t})}function d(e){b.default.trackWithMetadata("search_closed",{search_id:y.default.getAnalyticsId(e)}),v.default.dispatch({type:T.ActionTypes.SEARCH_EDITOR_STATE_CLEAR,searchId:e})}function p(e,t,n){v.default.dirtyDispatch({type:T.ActionTypes.SEARCH_AUTOCOMPLETE_QUERY_UPDATE,searchId:e,tokens:t,cursorScope:n})}function h(e,t){v.default.dispatch({type:T.ActionTypes.SEARCH_SET_SHOW_BLOCKED_RESULTS,searchId:e,showBlocked:t})}t.__esModule=!0;var g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.search=o,t.searchByMode=r,t.searchNextPage=i,t.searchPreviousPage=s,t.clearHistory=u,t.ensureSearchState=f,t.setSearchState=c,t.clearSearchState=d,t.updateAutocompleteQuery=p,t.setShowBlockedResults=h;var m=n(4),v=a(m),E=n(224),y=a(E),_=n(122),b=a(_),S=n(377),I=a(S),T=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s),u="https://status.discordapp.com/api/v2/scheduled-maintenances";t.default={checkIncidents:function(){Promise.all([l.default.get(u+"/active.json"),l.default.get("https://status.discordapp.com/api/v2/incidents/unresolved.json")]).then(function(e){var t=e[0],n=e[1],a=t.body.scheduled_maintenances,o=a[0],s=n.body.incidents,l=s[0];r.default.dispatch({type:i.ActionTypes.STATUS_PAGE_INCIDENT,incident:l||o})})},checkScheduledMaintenances:function(){l.default.get(u+"/upcoming.json").then(function(e){var t=e.body.scheduled_maintenances,n=t[0];r.default.dispatch({type:i.ActionTypes.STATUS_PAGE_SCHEDULED_MAINTENANCE,maintenance:n})})},ackScheduledMaintenance:function(){r.default.dispatch({type:i.ActionTypes.STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){d.default.dispatch({type:g.ActionTypes.USER_SETTINGS_ACCOUNT_INIT})}function r(){d.default.dirtyDispatch({type:g.ActionTypes.USER_SETTINGS_ACCOUNT_CLOSE})}function i(e){d.default.dispatch({type:g.ActionTypes.USER_SETTINGS_ACCOUNT_TOGGLE_EDITING_PROFILE,isEditingProfile:e})}function s(e){d.default.dispatch({type:g.ActionTypes.USER_SETTINGS_ACCOUNT_TOGGLE_EDITING_PASSWORD,isEditingPassword:e})}function l(e){d.default.dispatch({type:g.ActionTypes.USER_SETTINGS_ACCOUNT_UPDATE_INFO,update:e})}function u(e,t,n,a,o){d.default.dispatch({type:g.ActionTypes.USER_SETTINGS_ACCOUNT_SUBMIT}),(0,y.default)({title:h.default.Messages.TWO_FA_CHANGE_ACCOUNT},function(r){var i=f({username:e,email:t,password:n,avatar:a,new_password:o},r),s=b.default.get(g.DEVICE_TOKEN);return null!=g.DEVICE_PUSH_PROVIDER&&null!=s&&(i.push_provider=g.DEVICE_PUSH_PROVIDER,i.push_token=s),v.default.patch({url:g.Endpoints.ME,body:i})},{checkEnabled:!1,hooks:{onEarlyClose:function(){return d.default.dispatch({type:g.ActionTypes.USER_SETTINGS_ACCOUNT_SUBMIT_FAILURE,errors:{}})}}}).then(function(e){var t=e.body,n=t.token;T.default.track("user_avatar_updated",{animated:(0,S.hasAnimatedAvatar)(t)}),delete t.token,d.default.dispatch({type:g.ActionTypes.UPDATE_TOKEN,token:n}),d.default.dispatch({type:g.ActionTypes.USER_UPDATE,user:t}),d.default.dispatch({type:g.ActionTypes.USER_SETTINGS_ACCOUNT_SUBMIT_SUCCESS})},function(e){d.default.dispatch({type:g.ActionTypes.USER_SETTINGS_ACCOUNT_SUBMIT_FAILURE,errors:e.body})})}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.accountDetailsInit=o,t.accountDetailsClose=r,t.toggleEditingProfile=i,t.toggleEditingPassword=s,t.updateAccountInfo=l,t.saveAccountChanges=u;var c=n(4),d=a(c),p=n(3),h=a(p),g=n(1),m=n(16),v=a(m),E=n(385),y=a(E),_=n(25),b=a(_),S=n(48),I=n(29),T=a(I)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(52);a(s);t.default={open:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.default.dispatch({type:i.ActionTypes.SCREENSHARE_MODAL_OPEN,channel:e,startCall:t})},close:function(){r.default.dispatch({type:i.ActionTypes.SCREENSHARE_MODAL_CLOSE})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(23),u=a(l),f=n(6),c=a(f),d=n(2),p=a(d),h=n(7),g=a(h),m=n(5),v=a(m),E=n(189),y=a(E),_=n(755),b=a(_),S=n(46),I=a(S),T=n(97),N=a(T),A=n(11),M=a(A),C=n(12),O=a(C),D=n(31),L=a(D),R=n(10),x=a(R),w=n(61),P=a(w),k=n(505),U=a(k),G=n(257),j=a(G),F=n(47),B=a(F),V=n(1240),H=a(V),z=n(1592),W=a(z),Y=n(57),K=a(Y),Q=n(315),Z=a(Q),X=n(3),J=a(X),q=n(485),$=a(q),ee=n(13),te=a(ee),ne=n(167),ae=a(ne),oe=n(786),re=a(oe),ie=n(726),se=a(ie),le=n(87),ue=a(le),fe=n(1);n(2122);var ce="results",de=function(){return!0},pe=[{command:"gamerescape",title:"Gamer Escape",description:J.default.Messages.COMMAND_GAMER_ESCAPE_DESCRIPTION,integration:!0,enabled:de,images:!1},{command:"xivdb",title:"XIVDB",description:J.default.Messages.COMMAND_XIVDB_DESCRIPTION,integration:!0,enabled:de,images:!1},{command:"giphy",title:"Giphy",description:J.default.Messages.COMMAND_GIPHY_DESCRIPTION,integration:!0,enabled:de,images:!0},{command:"tenor",title:"Tenor",description:J.default.Messages.COMMAND_GIPHY_DESCRIPTION,integration:!0,enabled:de,images:!0},{command:"tts",description:J.default.Messages.COMMAND_TTS_DESCRIPTION,integration:!1,enabled:function(e,t){return te.default.enableTTSCommand&&e(fe.Permissions.SEND_TSS_MESSAGES,t)},images:!1},{command:"me",description:J.default.Messages.COMMAND_ME_DESCRIPTION,integration:!1,enabled:de,images:!1},{command:"tableflip",description:J.default.Messages.COMMAND_TABLEFLIP_DESCRIPTION,integration:!1,enabled:de,images:!1},{command:"unflip",description:J.default.Messages.COMMAND_TABLEUNFLIP_DESCRIPTION,integration:!1,enabled:de,images:!1},{command:"shrug",description:J.default.Messages.COMMAND_SHRUG_DESCRIPTION,integration:!1,enabled:de,images:!1},{command:"nick",description:J.default.Messages.COMMAND_NICK_DESCRIPTION,integration:!1,enabled:function(e,t){return e(fe.Permissions.CHANGE_NICKNAME,t)||e(fe.Permissions.MANAGE_NICKNAMES,t)},images:!1}],he={content:"everyone",description:J.default.Messages.MENTION_EVERYONE_AUTOCOMPLETE_DESCRIPTION},ge={content:"here",description:J.default.Messages.MENTION_HERE_AUTOCOMPLETE_DESCRIPTION},me="@",ve="#",Ee=":",ye="/",_e=new RegExp(me+"|"+ve+"|"+Ee+"|^"+ye),be=new RegExp("^/("+pe.filter(function(e){return e.integration}).map(function(e){return e.command}).join("|")+")\\s(.+)","i"),Se=/(\t|\s)/,Ie=0,Te=1,Ne=2,Ae=3,Me=4,Ce=5,Oe=s.default.createClass({displayName:"UploadButton",mixins:[re.default,ue.default,c.default],getSubscriptions:function(){var e;return e={},e[fe.ComponentActions.UPLOAD_FILE]=this.uploadFile,e},uploadFile:function(){this._input&&this._input.activateUploadDialogue()},handleFileChange:function(e){e.stopPropagation(),e.preventDefault(),this.promptToUpload(e.target.files,this.props.channel.id)},setRef:function(e){this._input=e},render:function(){return r("div",{className:"channel-textarea-upload"},void 0,s.default.createElement(U.default,{ref:this.setRef,onChange:this.handleFileChange,multiple:!0}))}}),De=r(I.default,{}),Le={getInitialState:function(){return{selectedIndex:0}},getDefaultProps:function(){return{prefix:"",query:""}},handleKeyDown:function(e){var t=this.state.results||this.props.results;if(null!=t&&0!==t.length&&!this.state.loading){var n=this.state.selectedIndex;switch(e.which){case 40:e.preventDefault(),++n>=t.length&&(n=0),this.setState({selectedIndex:n});break;case 38:e.preventDefault(),--n<0&&(n=t.length-1),this.setState({selectedIndex:n});break;case 9:case 13:e.preventDefault(),this.handleSelect()}}},setSelectedIndex:function(e){this.setState({selectedIndex:e})},handleSelect:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.state.results||this.props.results;if(null!=t&&0!==t.length&&!this.state.loading){var n=t[this.state.selectedIndex];switch(this.props.type){case Te:if(n.content)n=me+n.content;else{var a=n.user;n=L.default.hidePersonalInformation?me+a.username:me+(a.username+"#")+a.discriminator}break;case Ne:n=Ee+n.name+Ee;break;case Ae:n=ye+n.command;break;case Me:n=n.url;break;case Ce:n=ve+n.name}e&&e.preventDefault(),this.props.onSelect(n)}},render:function(){var e=this,t=void 0;if(this.state.loading)t=De;else{var n=function(t,n){return e.renderRow(t,{key:n,className:(0,v.default)({active:e.state.selectedIndex===n}),onMouseDown:e.handleSelect,onMouseEnter:function(){return e.setSelectedIndex(n)}})};t=r("ul",{className:(0,v.default)({images:this.props.command&&this.props.command.images})},void 0,(this.props.results||this.state.results).map(n))}return r("div",{className:"channel-textarea-autocomplete"},void 0,r("div",{className:"channel-textarea-autocomplete-inner"},void 0,r("header",{},void 0,this.renderHeader()),t))}},Re=s.default.createClass({displayName:"IntegrationResults",mixins:[Le,p.default.StoreListenerMixin(W.default)],getStateFromStores:function(){return this.getResults(this.props)},componentWillReceiveProps:function(e){this.setState(this.getResults(e))},getResults:function(e){var t=W.default.getResults(e.integration,e.query);if(this.props.command.images&&this.isMounted()){var n=u.default.findDOMNode(this).offsetWidth;t=o({},t,{results:t.results.filter(function(e){return!(n<0)&&(n-=e.width+15,!0)})})}return t},renderHeader:function(){var e=this.props.command.title,t=this.props.query;return r("div",{},void 0,J.default.Messages.CONTENT_MATCHING.format({command:e,query:t}))},renderRow:function(e,t){if(this.props.command.images)return s.default.createElement("li",t,r("img",{width:e.width,height:e.height,src:e.src}));var n=void 0;e.icon_url&&(n=r("img",{className:"command-icon",src:e.icon_url}));var a=void 0;return e.type&&(a=r("span",{className:"command-description"},void 0,e.type)),s.default.createElement("li",t,n,r("span",{className:"command"},void 0,e.title),a)}}),xe=s.default.createClass({displayName:"EmojiResults",mixins:[Le],renderHeader:function(){var e=[];return this.props.prefix.length>1?e.push(r("div",{},"emoji-autocomplete-query",J.default.Messages.EMOJI_MATCHING.format({prefix:this.props.prefix}))):e.push(r("div",{},"emoji-autocomplete-title",J.default.Messages.EMOJI)),x.default.getCurrentUser().premium||e.push(r("div",{className:"premium-promo-autocomplete"},"emoji-autocomplete-promo",J.default.Messages.PREMIUM_PROMO_AUTOCOMPLETE," — ",r("span",{onMouseDown:function(e){return e.preventDefault()},onClick:function(e){e.preventDefault(),K.default.open(fe.UserSettingsSections.PREMIUM)}},void 0,J.default.Messages.PREMIUM_PROMO_AUTOCOMPLETE_CTA))),e},renderRow:function(e,t){var n=Ee+e.name+Ee,a=void 0;return a=e.url?r("img",{className:"emoji",src:e.url}):r("span",{className:"raw-emoji"},void 0,e.surrogates),s.default.createElement("li",t,a,n)}}),we=s.default.createClass({displayName:"MentionResults",mixins:[Le],renderHeader:function(){return this.props.prefix.length>1?r("div",{},void 0,J.default.Messages.MEMBERS_MATCHING.format({prefix:this.props.prefix})):J.default.Messages.MEMBERS},renderRow:function(e,t){if(null!=e.user){var n=e.user,a=N.default.getStatus(n.id),i=r(P.default,{user:n,status:a===fe.StatusTypes.OFFLINE?null:a}),l=r(j.default,{user:n});return null!=e.nick?s.default.createElement("li",t,r("span",{className:"user"},void 0,i,r("span",{className:"username"},void 0,e.nick)),r("span",{className:"user-description"},void 0,l)):s.default.createElement("li",t,i,l)}return s.default.createElement("li",o({},t,{style:{color:e.colorString}}),r("span",{className:"command"},void 0,me+e.content),r("span",{className:"command-description"},void 0,e.description))}}),Pe=s.default.createClass({displayName:"CommandResults",mixins:[Le],renderHeader:function(){return this.props.prefix.length>1?r("div",{},void 0,J.default.Messages.COMMANDS_MATCHING.format({prefix:this.props.prefix})):J.default.Messages.COMMANDS},renderRow:function(e,t){var n=e.command,a=e.description;return s.default.createElement("li",t,r("span",{className:"command"},void 0,ye+n),r("span",{className:"command-description"},void 0,a))}}),ke=s.default.createClass({displayName:"ChannelResults",mixins:[Le],renderHeader:function(){return this.props.prefix.length>1?r("div",{},void 0,J.default.Messages.TEXT_CHANNELS_MATCHING.format({prefix:this.props.prefix})):J.default.Messages.TEXT_CHANNELS},renderRow:function(e,t){return s.default.createElement("li",t,r("span",{className:"channel-name"},void 0,e.toString()))}}),Ue=s.default.createClass({displayName:"ChannelTextArea",mixins:[B.default,re.default,ue.default],getDefaultProps:function(){return{type:fe.TextareaTypes.NORMAL,defaultValue:"",blurEvent:fe.ComponentActions.TEXTAREA_BLUR}},getInitialState:function(){return{type:Ie,focused:!1,prefix:null}},getSubscriptions:function(){var e,t=(e={},e[fe.ComponentActions.INSERT_TEXT]=this.handleInsertText,e);return this.props.blurEvent&&(t[this.props.blurEvent]=this.forceBlur),t},forceBlur:function(){this.refs.textarea&&this.refs.textarea.blur()},handleInsertText:function(e){var t=e.content;this.insertText(t),this.focus()},shouldComponentUpdate:function(e,t){return this.props.channel.id!==e.channel.id||this.props.placeholder!==e.placeholder||this.state.type!==t.type||this.state.focused!==t.focused||this.state.prefix!==t.prefix||this.state.integration!==t.integration||this.state.query!==t.query||this.didPermissionsUpdate(t,e.channel)||this.props.type!==e.type},componentWillUnmount:function(){this.props.type===fe.TextareaTypes.NORMAL&&$.default.saveCurrentText(this.props.channel.id,this.getValue())},componentDidMount:function(){var e=u.default.findDOMNode(this.refs.textarea);e.selectionStart=e.selectionEnd=e.value.length},clearValue:function(){$.default.saveCurrentText(this.props.channel.id,""),this.refs.textarea.clear()},getValue:function(){return u.default.findDOMNode(this.refs.textarea).value.trim()},setValue:function(e){var t=u.default.findDOMNode(this.refs.textarea);t&&(t.value=e,this.refs.textarea.recalculateSize())},hasOpenCodeBlock:function(){var e=u.default.findDOMNode(this.refs.textarea),t=e.value.slice(0,e.selectionStart).match(/```/g);return null!=t&&t.length>0&&t.length%2!==0},focus:function(){u.default.findDOMNode(this.refs.textarea).focus()},handleFocus:function(e){this.props.onFocus&&this.props.onFocus(e),this.setState({focused:!0})},handleBlur:function(e){this.props.onBlur&&this.props.onBlur(e),this.setState({focused:!1})},handleKeyPress:function(e){if(13===e.which&&!e.shiftKey&&!e.ctrlKey&&!this.hasOpenCodeBlock()){e.preventDefault();var t=this.getValue();this.props.onSubmit(t)&&this.props.type===fe.TextareaTypes.NORMAL&&this.clearValue()}this.props.onKeyUp&&this.props.onKeyUp(e)},handleKeyDown:function(e){var t=this.refs[ce];if(null!=t&&t.handleKeyDown(e),9===e.which)return void e.preventDefault();var n=this.getValue();this.props.onKeyDown&&this.props.onKeyDown(e,n)},handleKeyUp:function(){this.maybeShowAutocomplete()},handlePasta:function(e){var t=this;if(this.props.type===fe.TextareaTypes.NORMAL&&e.clipboardData&&e.clipboardData.items&&(this.props.channel.isPrivate()||this.can(fe.Permissions.ATTACH_FILES,this.props.channel)))for(var n=0;n<e.clipboardData.items.length;n++){var a=e.clipboardData.items[n];!function(){switch(a.type){case"image/png":e.preventDefault();var n=a.getAsFile();if(null==n)break;2===e.clipboardData.items.length?e.clipboardData.items[0].getAsString(function(e){n.overrideName=t.extractFileName(e),t.promptToUpload([n],t.props.channel.id)}):t.promptToUpload([n],t.props.channel.id)}}()}},extractFileName:function(e){var t=document.createElement("div");t.innerHTML=e;var n=t.querySelector("img");if(n){var a=document.createElement("a");a.href=n.src;var o=a.pathname.split("/").pop();if(o&&(o=o.replace(/\..+$/,"")))return o+".png"}},maybeShowAutocomplete:function(e){var t=this;"function"!=typeof e&&(e=null);var n=u.default.findDOMNode(this.refs.textarea),a=n.selectionStart,o=n.selectionEnd,r=Ie,i=n.value,s=void 0,l=void 0,f=i.match(be);if(f){var c=f[1].toLowerCase(),d=f[2];return this.state.integration===c&&this.state.query===d?void(e&&e()):(H.default.search(c,d),void this.setState({type:Me,integration:c,command:pe.filter(function(e){return e.command===c})[0],query:d,prefix:null,results:null,start:0,end:i.length},e))}var p=M.default.getChannel(this.props.channel.id),h=p?p.getGuildId():null,m=h?O.default.getGuild(h):null;do{if(_e.test(i[a])){(0===a||Se.test(i[a-1]))&&(s=i.slice(a,o),this.state.prefix!==s?function(){var e=new RegExp("^"+ae.default.escape(s.slice(1)),"i"),n=function(t){return e.test(t)};switch(s[0]){case me:r=Te,l=Z.default.queryChannelUsers(t.props.channel.id,s.slice(1)),l.length<fe.MAX_USER_AUTOCOMPLETE_RESULTS&&(t.can(fe.Permissions.MENTION_EVERYONE,t.props.channel)||t.props.channel.type===fe.ChannelTypes.GROUP_DM)&&(n(he.content)&&l.push(he),l.length<fe.MAX_USER_AUTOCOMPLETE_RESULTS&&n(ge.content)&&l.push(ge)),m&&l.length<fe.MAX_USER_AUTOCOMPLETE_RESULTS&&(0,g.default)(m.roles).filter(function(e){var t=e.mentionable,a=e.name;return t&&n(a)}).map(function(e){return{content:e.name,colorString:e.colorString,description:J.default.Messages.MENTION_USERS_WITH_ROLE}}).take(fe.MAX_USER_AUTOCOMPLETE_RESULTS-l.length).forEach(function(e){return l.push(e)});break;case Ee:r=Ne,l=s.length>2?y.default.search(p,s.slice(1),10):[];break;case ye:0===a&&t.props.type!==fe.TextareaTypes.FORM&&(r=Ae,l=pe.filter(function(e){var a=e.command;return(0,e.enabled)(t.can,t.props.channel)&&n(a)}).slice(0,10));break;case ve:r=Ce;var o=M.default.getChannel(t.props.channel.id);l=(0,g.default)(M.default.getChannels()).filter(function(e){return e.guild_id===o.guild_id}).filter(function(e){return e.type===fe.ChannelTypes.GUILD_TEXT}).filter(function(e){return e!==o&&n(e.name.toLowerCase())}).filter(function(e){return t.can(fe.Permissions.READ_MESSAGES,e)}).sortBy(function(e){return e.name}).take(10).value()}}():(r=this.state.type,l=this.state.results));break}if(Se.test(i[a-1]))break}while(--a>=0);this.setState({type:r,prefix:s,results:l,start:a,end:o,command:null,integration:null},e)},insertText:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=u.default.findDOMNode(this.refs.textarea),a=n.value.slice(0,t?n.selectionStart:this.state.start),o=n.value.slice(t?n.selectionEnd:this.state.end);return e+=" ",n.value=a+e+o,n.selectionStart=n.selectionEnd=a.length+e.length,this.setState({start:n.selectionStart,end:n.selectionEnd}),this.props.type===fe.TextareaTypes.NORMAL&&$.default.saveCurrentText(this.props.channel.id,n.value),n},performAutocomplete:function(e){var t=this;this.maybeShowAutocomplete(function(){t.insertText(e,!1),t.maybeShowAutocomplete()})},insertEmoji:function(e){null!==e&&this.insertText(":"+e.name+":"),u.default.findDOMNode(this.refs.textarea).focus()},render:function(){var e,t=!this.props.channel.isPrivate()&&!this.can(fe.Permissions.SEND_MESSAGES,this.props.channel),n=this.props.placeholder;t&&(n=J.default.Messages.NO_SEND_MESSAGES_PERMISSION_PLACEHOLDER);var a=void 0;this.props.type===fe.TextareaTypes.NORMAL&&(this.props.channel.isPrivate()||this.can(fe.Permissions.ATTACH_FILES,this.props.channel)&&!t)&&(a=r(Oe,{channel:this.props.channel}));var o=this.state.focused&&(e={},e[Te]=we,e[Ne]=xe,e[Ae]=Pe,e[Me]=Re,e[Ce]=ke,e)[this.state.type],i=void 0;o&&(i=s.default.createElement(o,{key:this.state.query||this.state.prefix,ref:ce,type:this.state.type,integration:this.state.integration,command:this.state.command,query:this.state.query,prefix:this.state.prefix,results:this.state.results,onSelect:this.performAutocomplete}));var l={"channel-textarea":!0,"channel-textarea-disabled":t,"has-results":this.state.focused&&(null!=this.state.integration||null!=this.state.results&&this.state.results.length>0)},u=M.default.getChannel(this.props.channel.id),f=void 0;return t||(f=r(se.default,{onSelectEmoji:this.insertEmoji,name:this.props.type,channel:u})),r("div",{className:(0,v.default)(l),onClick:this.focus},void 0,r("div",{className:"channel-textarea-inner"},void 0,a,s.default.createElement(b.default,{ref:"textarea",rows:1,fontWidthEstimate:6,autoFocus:!0,placeholder:n,disabled:t,onChange:this.props.onChange,onResize:this.props.onResize,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onFocus:this.handleFocus,onBlur:this.handleBlur,onPaste:this.handlePasta,onClick:this.maybeShowAutocomplete,defaultValue:this.props.defaultValue}),f),i)}});t.default=Ue,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(29),l=a(s),u=n(145),f=n(35),c=a(f),d=n(19),p=a(d),h=n(1359),g=a(h),m=n(503),v=a(m),E=n(3),y=a(E),_=i.default.createClass({displayName:"InstantInvite",handleCopy:function(){l.default.track("Copy Instant Invite",{Server:c.default.getGuildId(),Channel:p.default.getChannelId(),location:this.props.location})},render:function(){var e=this.props,t=e.hidden,n=e.code,a=e.copyText;return e.isVertical?o(v.default,{className:"instant-invite",isVertical:!0,text:y.default.Messages.COPY_LINK,value:(0,u.getInviteURL)(n),hideMessage:t?y.default.Messages.INSTANT_INVITE_HIDDEN:"",onCopy:this.handleCopy}):o(g.default,{className:"instant-invite",visibleValue:t?y.default.Messages.INSTANT_INVITE_HIDDEN:"",copyValue:(0,u.getInviteURL)(n),onCopy:this.handleCopy,copyText:a})}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=r(l),f=n(2),c=r(f),d=n(524),p=r(d),h=n(217),g=r(h),m=n(67),v=r(m),E=n(46),y=r(E),_=n(33),b=r(_),S=n(193),I=r(S),T=n(61),N=r(T),A=n(48),M=r(A),C=n(5),O=r(C),D=n(163),L=r(D),R=n(11),x=r(R),w=n(34),P=r(w),k=n(64),U=r(k),G=n(95),j=r(G),F=n(88),B=r(F),V=n(55),H=r(V),z=n(10),W=r(z),Y=n(129),K=(r(Y),n(52)),Q=(r(K),n(75)),Z=(r(Q),n(14)),X=r(Z),J=n(213),q=o(J),$=n(1),ee=n(7),te=r(ee);n(2213);var ne="SCROLLER_REF",ae=44,oe=u.default.createClass({displayName:"Reaction",render:function(){var e=this.props,t=e.emoji,n=e.count,a=e.selected,o=e.setSelected,r=null==t.id?I.default.getURL(t.name):M.default.getEmojiURL({id:t.id}),i=void 0;i=null==t.id?L.default.convertSurrogateToName(t.name):":"+t.name+":";var l=r?s("img",{className:"emoji",src:r,alt:t.name}):s("span",{className:"emoji emoji-text"},void 0,t.name);return s(b.default,{position:"left",text:i},void 0,s("div",{className:(0,O.default)("reaction",{selected:a}),onClick:o},void 0,l,s("div",{className:"count"},void 0,n)))}}),re=u.default.createClass({displayName:"Reactor",renderUserContextMenu:function(e){var t=this;U.default.openContextMenu(e,function(e){return u.default.createElement(j.default,i({},e,{type:$.ContextMenuTypes.USER_CHANNEL_MEMBERS,user:t.props.user,guildId:t.props.guildId,channelId:t.props.channel.id}))})},removeReaction:function(){var e=this.props,t=e.emoji,n=e.user,a=e.message,o=e.channel;q.removeReaction(o.id,a.id,t,n.id)},render:function(){var e=this.props,t=e.user,a=e.guildId,o=e.channel,r=H.default.can($.Permissions.MANAGE_MESSAGES,W.default.getCurrentUser(),o)?s("img",{src:n(3023),className:"remove",onClick:this.removeReaction}):null,i=null!=a&&P.default.getNick(a,t.id);return s("div",{className:"reactor",onContextMenu:this.renderUserContextMenu},void 0,s("div",{className:"avatar"},void 0,s(N.default,{user:t,size:"xsmall"})),s("div",{className:"name"},void 0,i&&s("span",{},void 0,i),s("span",{className:i?"faded":null},void 0,t.tag)),r)}}),ie=s(y.default,{},"loadingMore"),se=s(y.default,{className:"spinner small"},"hasMore"),le=u.default.createClass({displayName:"Reactors",mixins:[c.default.StoreListenerMixin(p.default)],componentWillReceiveProps:function(e){var t=this;te.default.isEqual(this.props.reaction,e.reaction)||this.setState(i({},this.getInitialState(),this.getStateFromStores(e)),function(){return t.loadMore()})},getInitialState:function(){return{lastId:null,loadingMore:!1}},getStateFromStores:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=e.message,n=e.reaction,a=p.default.getReactions(t.getChannelId(),t.id,n.emoji);return{hasMore:n.count>Object.keys(a).length,reactors:Object.values(a)}},componentWillMount:function(){this.loadMore()},handleScroll:function(){var e=this.refs[ne].getScrollerNode();e.scrollTop+e.offsetHeight>=e.scrollHeight-ae&&this.state.hasMore&&!this.state.loadingMore&&this.loadMore()},loadMore:function(){var e=this,t=this.props,n=t.message,a=t.reaction,o=this.state.lastId;this.setState({loadingMore:!0}),q.getReactions(n.getChannelId(),n.id,a.emoji,o).then(function(t){return e.setState({loadingMore:!1,lastId:t[t.length-1].id})})},render:function(){var e=this.props,t=e.message,n=e.guildId,a=e.channel,o=e.reaction,r=this.state,i=r.hasMore,l=r.reactors,f=l.map(function(e){return s(re,{message:t,emoji:o.emoji,guildId:n,channel:a,user:e},e.id)});return!f.length&&this.state.loadingMore?f.push(ie):i&&f.push(se),s("div",{className:"message-reactions-reactors"},void 0,u.default.createElement(g.default,{fade:!0,theme:h.Themes.LIGHT,ref:ne,onScroll:i?this.handleScroll:void 0,elementHeight:ae,batchEndMultiplier:2},f))}}),ue=s(y.default,{}),fe=u.default.createClass({displayName:"MessageReactionsModal",mixins:[c.default.StoreListenerMixin(p.default)],getStateFromStores:function(){var e=this.props.message,t=this.state||{},n=t.selectedReaction,o=B.default.getMessage(e.getChannelId(),e.id).reactions;return!n&&o.length&&(n=o.length&&o[0]),o&&o.length&&n||a(function(){return X.default.pop()}),{selectedReaction:n,reactions:o}},setSelectedReaction:function(e){this.setState({selectedReaction:e})},render:function(){var e=this,t=this.props.message,n=this.state,a=n.selectedReaction,o=n.reactions;if(!a)return ue;var r=x.default.getChannel(t.getChannelId()),l=null==r||r.isPrivate()?null:r.getGuildId(),f=o.map(function(e,t){return i({},e,{pos:t})}).sort(function(e,t){return e.count!=t.count?t.count-e.count:e.pos-t.pos}).map(function(t){return u.default.createElement(oe,i({key:t.emoji.id+":"+t.emoji.name,selected:te.default.isEqual(a.emoji,t.emoji),setSelected:function(){return e.setSelectedReaction(t)}},t))});return s("div",{className:"message-reactions-modal"},void 0,s("div",{className:"message-reactions-list"},void 0,s(v.default,{theme:"light",fade:!0},void 0,s("div",{className:"message-reactions-list-inner"},void 0,f))),s(le,{message:t,reaction:a,guildId:l,channel:r},a.emoji.id+":"+a.emoji.name))}});t.default=fe,e.exports=t.default}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(302),c=a(f),d=n(139),p=a(d),h=n(1248),g=a(h),m=n(46),v=a(m),E=n(3),y=a(E),_=n(1);n(2242);var b=n(103),S=(a(b),n(52)),I=(a(S),n(75)),T=(a(I),n(129)),N=(a(T),s(v.default,{})),A=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._isMounted=!1,a.state={loading:!0,submitting:!1,reasons:[],selectedReason:null},a}return i(t,e),t.prototype.componentDidMount=function(){var e=this;this._isMounted=!0,g.default.getReasons(this.getReportData()).then(function(t){e._isMounted&&e.setState({reasons:t,loading:!1})})},t.prototype.componentWillUnmount=function(){this._isMounted=!1},t.prototype.close=function(){(0,this.props.onClose)()},t.prototype.getHeader=function(){var e=this.props,t=e.guild,n=e.message,a=e.user;return t?y.default.Messages.REPORT_SERVER.format({name:t.toString()}):n?y.default.Messages.REPORT_MESSAGE.format({name:n.getAuthorName()}):a?y.default.Messages.REPORT_USER.format({name:a.tag}):void 0},t.prototype.getReportData=function(){var e=this.props,t=e.guild,n=e.message,a=e.user,o=this.state.selectedReason,r={};return null!=n?(r.channel_id=n.getChannelId(),r.message_id=n.id):null!=a?r.user_id=a.id:null!=t&&(r.guild_id=t.id),null!=o&&(r.reason=o),r},t.prototype.render=function(){var e=this,t=this.state,n=t.loading,a=t.selectedReason,o=t.reasons,r=t.submitting,i=o.map(function(t){var n=t.reason,a=t.label,o=t.description;return s("li",{},n,s(c.default,{checked:e.state.selectedReason===n,value:n,onChange:function(){return e.handleReasonChange(n)}},void 0,s("div",{},void 0,a,o&&s("div",{className:"description"},void 0,o))))}),l=n||r||null==a,u=r?s(p.default,{className:"btn btn-primary",disabled:!0},void 0,y.default.Messages.REPORT):s("button",{type:"submit",className:"btn btn-primary",disabled:l},void 0,y.default.Messages.REPORT);return s("form",{className:"form",onSubmit:function(t){return e.handleReport(t)}},void 0,s("div",{className:"form-header"},void 0,s("header",{},void 0,this.getHeader())),s("div",{className:"form-inner"},void 0,s("div",{className:"report-modal control-group"},void 0,s("label",{},void 0,y.default.Messages.FORM_LABEL_REPORT_REASON),s("ul",{className:"radio-group"},void 0,n?N:i),s("div",{className:"help-text"},void 0,y.default.Messages.FORM_REPORT_HELP_TEXT.format({guidelinesURL:_.MARKETING_URLS.GUIDELINES})))),s("div",{className:"form-actions"},void 0,s("button",{type:"button",className:"btn btn-default",onClick:function(){return e.close()}},void 0,y.default.Messages.CANCEL),u))},t.prototype.handleReasonChange=function(e){this.setState({selectedReason:e})},t.prototype.handleReport=function(e){var t=this;e.preventDefault(),this.setState({submitting:!0}),g.default.report(this.getReportData()).then(function(){return t.close()},function(){return t.setState({submitting:!1})})},t}(u.default.Component);t.default=A,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(2),p=a(d),h=n(13),g=a(h),m=n(14),v=a(m),E=n(1649),y=a(E),_=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.handleDismiss=a.handleDismiss.bind(a),a.handleConfirm=a.handleConfirm.bind(a),a}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.theme,n=o(e,["theme"]);return u("div",{className:"theme-"+t},void 0,c.default.createElement(y.default,l({},n,{onConfirm:this.handleConfirm,onDismiss:this.handleDismiss})))},t.prototype.close=function(){v.default.pop()},t.prototype.handleConfirm=function(){var e=this.props.onConfirm;this.close(),e&&e()},t.prototype.handleDismiss=function(){var e=this.props.onDismiss;this.close(),e&&e()},t}(c.default.PureComponent);t.default=p.default.connectStores([g.default],function(){return{theme:g.default.theme}})(_),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0);a(r);n(603);var i=function(e){var t=e.value,n=void 0===t?0:t;return n>0?o("div",{className:"badge"},void 0,n):null};t.default=i,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(5)),s=a(i);n(2159);var l=function(e){var t=e.invertColor,n=void 0!==t&&t;return o("span",{className:(0,s.default)("bot-tag",{"bot-tag-invert":n})},void 0,"BOT")};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(5),d=a(c),p=n(272),h=n(1627),g=a(h),m=n(28),v=a(m),E=n(144),y=a(E),_=n(306),b=300,S=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={mode:g.default.Modes.DEFAULT},a._timeout=new _.Timeout,a.handleCopy=a.handleCopy.bind(a),a}return i(t,e),t.prototype.componentWillUnmount=function(){this._timeout.stop()},t.prototype.render=function(){var e=this.props,t=e.isVertical,n=e.value,a=e.text,o=e.className,r=this.state.mode;return t?l("div",{className:(0,d.default)("copy-input-vertical",o,r)},void 0,l(y.default,{value:n}),l(v.default,{className:"copy-link-button margin-top-8",onClick:this.handleCopy,size:v.default.Sizes.MIN,color:this.getVerticalButtonColor(r),look:v.default.Looks.FILLED},void 0,a)):f.default.createElement(g.default,s({},this.props,{onCopy:this.handleCopy,mode:r}))},t.prototype.handleCopy=function(){var e=this,t=this.props,n=t.onCopy,a=t.value,o=(0,p.copy)(a);this.setState({mode:o?g.default.Modes.SUCCESS:g.default.Modes.ERROR}),this._timeout.start(b,function(){return e.setState({mode:g.default.Modes.DEFAULT})}),n&&n()},t.prototype.getVerticalButtonColor=function(e){switch(e){case g.default.Modes.SUCCESS:return v.default.Colors.GREEN;case g.default.Modes.ERROR:return v.default.Colors.RED;default:return v.default.Colors.BRAND}},t}(f.default.PureComponent);S.defaultProps={isVertical:!1},t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(7),c=a(f),d=n(5),p=a(d),h=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.componentDidMount=function(){var e=this;this._interval=setInterval(function(){return e.forceUpdate()},1e3)},t.prototype.componentWillUnmount=function(){null!=this._interval&&clearInterval(this._interval)},t.prototype.render=function(){var e=void 0;if(this.props.deadline===1/0)e="∞";else{var t=Math.max(0,this.props.deadline-Date.now())/1e3,n=[Math.floor(t/86400),Math.floor((t%=86400)/3600),Math.floor((t%=3600)/60),Math.floor(t%60)];0===n[0]&&n.shift(),e=(0,c.default)(n).map(function(e){return e<10?"0"+e:e}).map(function(e,t){return[t>0?":":null,s("span",{className:"countdown-number"},t,e)]}).flatten().value()}return s("span",{className:(0,p.default)("countdown",{"countdown-never":this.props.deadline===1/0})},void 0,e)},t}(u.default.Component);t.default=h,e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){if(null!=t){var n=h.default.require("original-fs"),a=h.default.require("path");Promise.all(t.map(function(e){return new Promise(function(t,o){n.stat(e,function(r,i){if(r)return void o(r);var s=S.maxFileSize();if(i.size>s)return E.default.push(T.default,{title:_.default.Messages.UPLOAD_AREA_TOO_LARGE_TITLE,help:_.default.Messages.UPLOAD_AREA_TOO_LARGE_HELP.format({maxSize:S.sizeString(s)})}),void o();n.readFile(e,function(n,r){if(n)return void o(n);t(new File([r.buffer],a.basename(e),{type:m.default.lookup(e)}))})})})})).then(function(t){e({stopPropagation:function(){return null},preventDefault:function(){return null},target:{files:t}})})}}function u(e){var t=["openFile"];e.multiple&&t.push("multiSelections");var n=e.filters;h.default.requireElectron("dialog",!0).showOpenDialog({properties:t,filters:n},l.bind(null,e.onChange))}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=n(0),d=o(c),p=n(18),h=o(p),g=n(694),m=o(g),v=n(14),E=o(v),y=n(3),_=o(y),b=n(318),S=a(b),I=n(364),T=o(I),N=n(1697),A=o(N),M=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.setRef=a.setRef.bind(a),a}return s(t,e),t.prototype.activateUploadDialogue=function(){if(this._ref)return this._ref.activateUploadDialogue()},t.prototype.setRef=function(e){this._ref=e},t.prototype.render=function(){return d.default.createElement(A.default,f({ref:this.setRef,handleNativeClick:u,embedded:h.default.isDesktop()},this.props))},t}(d.default.Component);t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(300)),s=a(i),l=n(3),u=a(l),f=n(1),c=function(e){return o(s.default,{name:e.name,avatar:e.icon,size:f.AVATAR_MAX_SIZE,makeURL:e.makeURL,onChange:e.onChange,disabled:e.disabled,hint:u.default.Messages.CHANGE_ICON,showIcon:e.showIcon})};t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(18),c=a(f),d=n(773),p=a(d),h=n(1634),g=a(h),m=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._mounted=!1,a.recordStart=function(){c.default.embedded&&(a.gs=new p.default,a.gs.on("change",a.handleGSChange)),a.setState({mode:h.RecordModes.RECORDING})},a.recordEnd=function(){a.cleanUp(),a.setState({mode:h.RecordModes.DEFAULT})},a.toggleRecordMode=function(){a.state.mode===h.RecordModes.DEFAULT?a.recordStart():a.recordEnd()},a.handleComboKeys=function(e,t,n){if(n.preventDefault(),"keydown"===n.type){var o=[].concat(t);o.indexOf(e)===-1&&o.push(e),a.handleComboChange(o.join("+"))}},a.handleGSChange=function(e){if(a._mounted!==!1){var t=[].concat(e.combo);a.handleComboChange(t)}},a.state={combo:a.props.defaultValue,mode:h.RecordModes.DEFAULT},a}return i(t,e),t.prototype.componentDidMount=function(){this._mounted=!0},t.prototype.componentWillUnmount=function(){this._mounted=!1,this.cleanUp()},t.prototype.cleanUp=function(){c.default.embedded&&null!=this.gs&&(this.gs.destroy(),this.gs=null)},t.prototype.handleComboChange=function(e){var t=this.props.onChange;null!=t&&t(e),this.setState({combo:e})},t.prototype.render=function(){var e=this.state,t=e.combo,n=e.mode,a=this.props.disabled,o=void 0;return c.default.embedded||(o=this.handleComboKeys),s(g.default,{disabled:a,value:t,mode:n,onClick:this.toggleRecordMode,onChange:o})},t}(u.default.PureComponent);t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(3)),s=a(i);n(2172);var l=function(e){var t=e.type,n=void 0===t?"":t,a=e.tip;return o("div",{className:"protip "+n},void 0,o("label",{className:"label"},void 0,s.default.Messages.FORM_LABEL_ROLES_PRO_TIP+":"),o("div",{className:"tip"},void 0,a))};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(0),i=a(r),s=n(1),l=n(699),u=a(l),f=n(478),c=a(f),d="onRecaptchaLibLoadCallback",p="https://www.google.com/recaptcha/api.js?onload="+d+"&render=explicit",h="grecaptcha",g=(0,c.default)(u.default,p,{callbackName:d,globalName:h});t.default=function(e){return i.default.createElement(g,o({sitekey:s.RECAPTCHA_SITE_KEY},e))},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(218),c=a(f),d=n(383),p=a(d),h=n(36),g=n(1),m=1.4,v=15,E=2,y=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._unmounted=!1,a._intensity=m,a.handleSetSection=a.handleSetSection.bind(a),a.handleNoticeStoreUpdate=a.handleNoticeStoreUpdate.bind(a),a.handleClose=a.handleClose.bind(a),a}return i(t,e),t.prototype.componentWillMount=function(){var e=this;this.getPredicateSections().forEach(function(t){var n=t.notice;if(null!=n){var a=n.store;a&&a.addChangeListener(e.handleNoticeStoreUpdate)}})},t.prototype.componentDidUpdate=function(e){e.section!==this.props.section&&(this._intensity=m)},t.prototype.componentWillUnmount=function(){var e=this;this._unmounted=!0,this.getPredicateSections().forEach(function(t){var n=t.notice;if(null!=n){var a=n.store;a&&a.removeChangeListener(e.handleNoticeStoreUpdate)}})},t.prototype.handleNoticeStoreUpdate=function(){this._unmounted||(this._intensity=m,this.forceUpdate())},t.prototype.getPredicateSections=function(){return this.props.sections.filter(function(e){return null==e.predicate||e.predicate()})},t.prototype.validNavigation=function(){var e=this.props.section,t=this.getPredicateSections(),n=t.find(function(t){return e===t.section})||{},a=n.notice;return a&&a.store.showNotice()?(h.ComponentDispatch.dispatch(g.ComponentActions.SHAKE_APP,{duration:300,intensity:this._intensity}),this._intensity=Math.min(this._intensity+E,v),h.ComponentDispatch.dispatch(g.ComponentActions.EMPHASIZE_NOTICE),!1):(this._intensity=m,!0)},t.prototype.handleSetSection=function(e){var t=this.props.onSetSection;this.validNavigation()&&t(e)},t.prototype.handleClose=function(){if(this.validNavigation()){var e=this.props.onClose;e&&e()}},t.prototype.renderSidebar=function(e){var t=this.props.section||e[0].section;return s(p.default,{selectedItem:t,onItemSelect:this.handleSetSection},void 0,e.map(function(e,t){var n=e.section,a=e.element,o=e.label,r=e.onClick,i=e.className;e.notice;switch(n){case f.SectionTypes.HEADER:return s(d.TabBarHeader,{},t,o);case f.SectionTypes.DIVIDER:return s(d.TabBarSeparator,{},t);case f.SectionTypes.CUSTOM:return s(a||g.NOOP_NULL,{},t);default:return s(d.TabBarItem,{id:n,onClick:r,className:i},n,o)}}))},t.prototype.renderContent=function(e){return s(e&&e.element?e.element:g.NOOP_NULL,{})},t.prototype.renderNotice=function(e){var t=this.props.theme;if(null==e||null==e.notice)return null;var n=e.notice,a=n.store,o=n.element;return null==a||a.showNotice()?s(o,{theme:t}):null},t.prototype.render=function(){var e=this.props,t=e.theme,n=e.section,a=this.getPredicateSections(),o=a.find(function(e){return e.section===n});return null==o?null:s(c.default,{theme:t,section:n,sidebar:this.renderSidebar(a),content:this.renderContent(o),contentType:o.type,notice:this.renderNotice(o),closeAction:this.handleClose})},t}(u.default.PureComponent);t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(17),f=a(u),c=n(86),d=a(c),p=n(1410),h=a(p),g=n(1409),m=a(g),v=n(1407),E=a(v),y=n(1396),_=a(y),b=n(1397),S=a(b),I=n(761),T=a(I),N=n(259),A=a(N),M=n(1405),C=a(M),O=n(1408),D=a(O),L=n(1404),R=a(L),x=n(1406),w=a(x),P=n(1),k=o(R.default,{}),U=i.default.createClass({displayName:"GuildContextMenu",mixins:[l.default],render:function(){var e=this.props,t=e.style,n=e.type,a=e.guild,r=e.className;switch(n){case P.ContextMenuTypes.GUILD_ICON_BAR:case P.ContextMenuTypes.GUILD_PROFILE_MUTUAL:case P.ContextMenuTypes.GUILD_HEADER:if(!a)break;return o("div",{className:r,style:t},void 0,o(d.default,{},void 0,o(w.default,{guildId:a.id}),o(E.default,{guildId:a.id}),o(h.default,{guild:a}),o(D.default,{guildId:a.id}),o(m.default,{guildId:a.id}),o(T.default,{guildId:a.id,userId:f.default.getId()})),o(d.default,{},void 0,o(_.default,{guild:a}),o(S.default,{guild:a})),o(C.default,{guild:a}),o(A.default,{id:a.id}));case P.ContextMenuTypes.GUILD_ICON_NEW:return o("div",{className:r,style:t},void 0,k);default:console.warn("Error - no such ctx menu type")}return null}});t.default=U,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(3),l=n(1),u=n(6),f=a(u),c=n(300),d=a(c),p=n(505),h=a(p);n(2160);var g=i.default.createClass({displayName:"ButtonCircleUploader",mixins:[f.default],getDefaultProps:function(){return{avatarSize:l.AVATAR_MAX_SIZE,hint:s.Messages.CHANGE_AVATAR,disabled:!1}},render:function(){var e=this.props,t=e.titleText,n=e.blurbText,a=e.buttonText,r=e.avatar;return o("div",{className:"button-circle-uploader flex-horizontal"},void 0,o("div",{className:"button-circle-uploader-content"},void 0,o("div",{className:"title-h5"},void 0,t),o("p",{className:"base-copy"},void 0,n),o("div",{className:"button button-upload"},void 0,a,o(h.default,{onChange:this.handleFileInputChange,filters:[{name:s.Messages.IMAGES,extensions:["jpg","jpeg","png"]}],disabled:this.props.disabled}))),i.default.createElement(d.default,{ref:"avatarUploader",avatar:r,size:this.props.avatarSize,onChange:this.props.onChange,makeURL:this.props.makeURL,hint:this.props.hint,disabled:this.props.disabled}))},handleFileInputChange:function(e){this.refs.avatarUploader.handleExternalFileChange(e)},handleChange:function(e){this.props.onChange(e)}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(72),f=a(u),c=n(3),d=n(5),p=a(d),h=n(46),g=a(h);n(2230);var m=o(g.default,{type:"pulsing-ellipsis"}),v=i.default.createClass({displayName:"StepNavigator",mixins:[l.default,f.default],getDefaultProps:function(){return{submitting:!1,nextStepMessage:c.Messages.ONBOARDING_NEXT,onAdvance:function(){},onSkip:function(){}}},render:function(){var e=void 0,t=this.props.submitting,n=t?m:null;return this.props.disableSkip||(e=o("button",{onClick:this.props.onSkip,className:"button button-type-text button-skip"},void 0,c.Messages.ONBOARDING_SKIP_SETUP)),o("div",{className:"onboarding-navigation"},void 0,o("div",{className:"onboarding-navigation-controls"},void 0,e,o("button",{className:(0,p.default)("button","button-type-text","button-advance",{submitting:t}),disabled:this.props.disableAdvance,onClick:this.props.onNext},void 0,this.props.nextStepMessage,n)))}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return(0,s.DropTarget)("draggable-channel-"+e,{drop:function(t,n){var a=t.channel,o=t.position,r=E.default.getPositionUpdates(c.default.getChannels(a.getGuildId())[e],n.getItem().position,o,function(e){return e.channel.id},function(e){return e.channel.position});r.length>0&&h.default.batchChannelUpdate(a.getGuildId(),r)}},function(e,t){return{connectChannelDropTarget:e.dropTarget(),sorting:t.isOver()&&t.canDrop(),sortingPosition:t.isOver()&&t.getItem().position}})((0,s.DragSource)("draggable-channel-"+e,{canDrag:function(e){var t=e.channel;return(!e.collapsed||t.type!==y.ChannelTypes.GUILD_TEXT)&&m.default.can(y.Permissions.MANAGE_CHANNELS,u.default.getCurrentUser(),t)},beginDrag:function(e){return{id:e.channel.id,position:e.position}}},function(e){return{connectChannelDragSource:e.dragSource(),connectDragPreview:e.dragPreview()}})(t))}function r(e){return(0,s.DropTarget)(_,{canDrop:function(e,t){var n=e.channel;return m.default.can(y.Permissions.CONNECT,t.getItem().user,n)||m.default.can(y.Permissions.MOVE_MEMBERS,u.default.getCurrentUser(),n)},drop:function(e,t){var n=e.channel;h.default.setChannel(n.getGuildId(),t.getItem().user.id,n.id)}},function(e,t){return{connectUserDropTarget:e.dropTarget(),isUserOver:t.isOver()&&t.canDrop()}})(e)}function i(e){return(0,s.DragSource)(_,{canDrag:function(e){return e.canDrag},beginDrag:function(e){return{user:e.user}}},function(e){return{connectUserDragSource:e.dragSource()}})(e)}t.__esModule=!0,t.makeChannelSortable=o,t.makeVoiceUserDroppable=r,t.makeVoiceUserDraggable=i;var s=n(254),l=n(10),u=a(l),f=n(98),c=a(f),d=n(12),p=(a(d),n(63)),h=a(p),g=n(55),m=a(g),v=n(542),E=a(v),y=n(1),_="DRAG_USER"},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){if(null==e||null==t)throw new Error("cmd and name required");return e+":"+t}t.__esModule=!0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),u=n(74),f=a(u),c=n(433),d=a(c),p=n(1),h=n(305),g=a(h),m=n(347),v=a(m),E=p.RPC_STARTING_PORT+p.RPC_PORT_RANGE-1,y=parseInt(d.default.parse(location.search.slice(1)).rpc||p.RPC_STARTING_PORT,10),_=void 0,b=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.connect=function(){var e=this;if(null==_){if(y>E)return y=p.RPC_STARTING_PORT,void this.emit("disconnected");_=new WebSocket("wss://discordapp.io:"+this.port+"/?v="+p.RPC_VERSION),_.onmessage=function(t){var n=void 0;try{if("string"!=typeof t.data)throw new Error("payload data not a string");n=JSON.parse(t.data)}catch(t){return e.emit("error",t),void e.disconnect()}var a=n,o=a.cmd,r=a.evt,i=a.nonce,l=a.data;if(o===p.RPCCommands.DISPATCH)return r===p.RPCEvents.READY?void e.emit("connected"):r===p.RPCEvents.ERROR?(e.emit("error",new g.default(l.code,l.message)),void e.disconnect()):void e.emit(s(o,r),l);var u=null;r===p.RPCEvents.ERROR&&(u=new g.default(l.code,l.message),l=null),e.emit(s(o,i),u,l)},_.onclose=function(t){return e.disconnect(t)}}},t.prototype.disconnect=function(e){if(null!=e&&[p.RPCCloseCodes.CLOSE_ABNORMAL,p.RPCCloseCodes.INVALID_CLIENTID].includes(e.code))return y++,_=null,void this.connect();null!=_&&(this.emit("disconnected"),_.close(),_=null)},t.prototype.subscribe=function(e,t,n){return this.on(s(p.RPCCommands.DISPATCH,e),n),this.request(p.RPCCommands.SUBSCRIBE,t,e)},t.prototype.unsubscribe=function(e,t,n){return this.removeListener(s(p.RPCCommands.DISPATCH,e),n),this.request(p.RPCCommands.UNSUBSCRIBE,t,e)},t.prototype.request=function(e,t,n){var a=this;return new Promise(function(o,r){if(!a.connected)return a.once("connected",function(){a.removeAllListeners("disconnected"),o(a.request(e,t,n))}),a.once("disconnected",function(){a.removeAllListeners("connected"),r(new Error("disconnected during request"))}),void a.connect();var i=v.default.v4(),l=JSON.stringify({cmd:e,args:t,evt:n,nonce:i});a.once(s(e,i),function(e,t){return null!=e?r(e):o(t)}),_&&_.send(l)})},l(t,[{key:"port",get:function(){return y}},{key:"connected",get:function(){return null!=_&&_.readyState===WebSocket.OPEN}}]),t}(f.default);t.default=new b,e.exports=t.default},function(e,t,n){"use strict";(function(e){function a(e){return{id:"default",type:e,index:0,name:"Default"}}function o(){return[a(c.DeviceTypes.AUDIO_INPUT),a(c.DeviceTypes.AUDIO_OUTPUT),a(c.DeviceTypes.VIDEO_INPUT)]}function r(e,t){return e.filter(function(e){return e.type===t})}function i(){return d?navigator.mediaDevices.enumerateDevices().then(function(e){var t=0,n=0,a=0;return e.filter(function(e){switch(e.kind){case c.DeviceTypes.AUDIO_INPUT:case c.DeviceTypes.AUDIO_OUTPUT:case c.DeviceTypes.VIDEO_INPUT:return!0;default:return!1}}).map(function(e){var o=void 0;switch(e.kind){case c.DeviceTypes.AUDIO_INPUT:o=t++;break;case c.DeviceTypes.AUDIO_OUTPUT:o=n++;break;case c.DeviceTypes.VIDEO_INPUT:default:o=a++}return{id:e.deviceId,type:e.kind,index:o,name:e.label||(0===o?"Default":"Device "+o)}})}).catch(o):new Promise(function(t){e(function(){return t(o())})})}function s(){return i().then(function(e){return r(e,c.DeviceTypes.AUDIO_INPUT)})}function l(){return i().then(function(e){return r(e,c.DeviceTypes.AUDIO_OUTPUT)})}function u(){return i().then(function(e){return r(e,c.DeviceTypes.VIDEO_INPUT)})}function f(){return i().then(function(e){return[r(e,c.DeviceTypes.AUDIO_INPUT),r(e,c.DeviceTypes.AUDIO_OUTPUT),r(e,c.DeviceTypes.VIDEO_INPUT)]})}t.__esModule=!0,t.CAN_SET_DEVICES=void 0,t.getAudioInputDevices=s,t.getAudioOutputDevices=l,t.getVideoInputDevices=u,t.getDevices=f;var c=n(220),d=t.CAN_SET_DEVICES=null!=navigator.mediaDevices&&null!=navigator.mediaDevices.enumerateDevices&&"setSinkId"in HTMLAudioElement.prototype}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return/^http/.test(e)?e:location.protocol+"//"+location.host+("/"===e.charAt(0)?"":"/")+e}function r(e){return"customEmoji"===e.type&&(e.type="emoji"),"emoji"===e.type&&e.src&&(e.src=o(e.src)),Array.isArray(e.content)&&(e.content=e.content.map(r)),e}function i(e){return Q.indexOf(e)>-1||(Q.unshift(e),Q.splice(50),!1)}function s(e,t){return _.default.isEqual(e,_.default.pick(t,Object.keys(e)))}function l(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).indexOf(e)>-1}function u(e){return new Promise(function(t){D.default.whenReady(e,function(){return t()}),T.default.syncGuild(e),A.default.prefetchMessages(e,e)})}function f(e,t){var n=[],a=e.getGuildId();return a&&n.push(u(a)),a!==e.id&&n.push(new Promise(function(t){D.default.whenReady(e.id,function(){return t()}),A.default.fetchMessages(e.id,null,null,W.MAX_MESSAGES_PER_CHANNEL)})),Promise.all(n).then(function(){var n=t?D.default.getMessages(e.id).toArray().map(d):[],o=U.default.getVoiceStatesForChannel(a,e.id).map(function(t){return p(a,e.id,t)});return{id:e.id,name:e.name,type:e.type,topic:e.topic,bitrate:e.bitrate,user_limit:e.userLimit,guild_id:a,position:e.position,messages:n,voice_states:o}})}function c(e){return{id:e.id,username:e.username,discriminator:e.discriminator,avatar:e.avatar,bot:e.bot}}function d(e){var t=S.default.parseReturnTree(e.content,!0,{channelId:e.channel_id}).map(r),n=e.author?C.default.lookupMember(e):null,a=void 0,o=void 0;return null!=n&&(a=n.colorString,o=n.nick),{id:e.id,blocked:e.blocked,bot:e.bot,content:e.content,content_parsed:t.length?t:void 0,nick:o,author_color:a,edited_timestamp:e.edited_timestamp,timestamp:e.timestamp,tts:e.tts,mentions:e.mentions,mention_everyone:e.mention_everyone,mention_roles:e.mention_roles,embeds:e.embeds,attachments:e.attachments,author:e.author?c(e.author):void 0,pinned:e.pinned,type:e.type}}function p(e,t,n){var a=n.mute,o=n.deaf,r=n.selfMute,i=n.selfDeaf,s=n.suppress,l=n.userId,u=j.default.getUser(l);if(!u)throw new Error("Invalid user id: "+l);return{nick:z.default.getName(e,t,u),mute:w.default.isLocalMute(u.id),volume:w.default.getLocalVolume(u.id),pan:w.default.getLocalPan(u.id),voice_state:{mute:a,deaf:o,self_mute:r,self_deaf:i,suppress:s},user:c(u)}}function h(e){if(null==e)return!1;var t=window.location.origin;return e===t||!e.match("staging")&&!(!K.test(e)||!K.test(t))}function g(e){return e.map(function(e){return{type:e[0],code:e[1],name:(0,V.codeToKey)(e[1])}})}function m(){var e=w.default.getSettings(),t=function(e){return Object.values(e).sort(function(e,t){return e.index-t.index}).map(function(e){return{id:e.id,name:e.name}})},n=[];return e.modeOptions.shortcut&&Array.isArray(e.modeOptions.shortcut)&&(n=g(e.modeOptions.shortcut)),{input:{available_devices:t(w.default.getInputDevices()),device_id:e.inputDeviceId,volume:e.inputVolume},output:{available_devices:t(w.default.getOutputDevices()),device_id:e.outputDeviceId,volume:e.outputVolume},mode:{type:e.mode,auto_threshold:e.modeOptions.autoThreshold,threshold:e.modeOptions.threshold,shortcut:n,delay:e.modeOptions.delay},automatic_gain_control:e.automaticGainControl,echo_cancellation:e.echoCancellation,noise_suppression:e.noiseSuppression,qos:e.qos,silence_warning:e.silenceWarning,deaf:e.deaf,mute:e.mute}}function v(e,t,n){var a=B.default.getGuild(e.getGuildId());return(a?a.getApplicationId():e.getApplicationId())===t||n.indexOf(W.OAuth2Scopes.MESSAGES_READ)>-1}function E(e){switch(e){case W.RTCConnectionStates.RTC_CONNECTED:case W.RTCConnectionStates.RTC_CONNECTING:case W.RTCConnectionStates.RTC_DISCONNECTED:return e.replace(/^RTC_/,"VOICE_");default:return e}}t.__esModule=!0,t.getRemoteIconURL=o,t.deduplicate=i,t.containsSameValues=s,t.validateOrigin=l,t.syncGuild=u,t.transformChannel=f,t.transformUser=c,t.transformInternalTextMessage=d,t.transformVoiceState=p,t.isMatchingOrigin=h,t.transformShortcut=g,t.getVoiceSettings=m,t.hasMessageReadPermission=v,t.getVoiceConnectionState=E;var y=n(7),_=a(y),b=n(229),S=a(b),I=n(63),T=a(I),N=n(54),A=a(N),M=n(129),C=a(M),O=n(88),D=a(O),L=n(167),R=a(L),x=n(27),w=a(x),P=n(789),k=(a(P),n(76)),U=a(k),G=n(10),j=a(G),F=n(12),B=a(F),V=n(273),H=n(194),z=a(H),W=n(1),Y=W.API_HOST.split(".").slice(-2).join("."),K=new RegExp("(?:^|.)"+R.default.escape(Y)+"$"),Q=[]},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){if(e.fontScale>g.Accessibility.FONT_SCALE_MAX||e.fontScale<g.Accessibility.FONT_SCALE_MIN||b===e.fontScale)return!1;b=e.fontScale,y.default.set(_.FONT_SCALE,b)}function l(e){if(e.zoom<g.Accessibility.ZOOM_MIN||e.zoom>g.Accessibility.ZOOM_MAX||S===e.zoom)return!1;S=e.zoom,y.default.set(_.ZOOM,S),v.default.setZoomFactor(S)}function u(){b!==g.Accessibility.FONT_SCALE_DEFAULT&&(b=g.Accessibility.FONT_SCALE_DEFAULT,y.default.set(_.FONT_SCALE,b)),S!==g.Accessibility.ZOOM_DEFAULT&&(S=g.Accessibility.ZOOM_DEFAULT,y.default.set(_.ZOOM,S),v.default.setZoomFactor(S))}t.__esModule=!0;var f=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),c=n(2),d=a(c),p=n(4),h=a(p),g=n(1),m=n(18),v=a(m),E=n(25),y=a(E),_={FONT_SCALE:"a11yFontScale",ZOOM:"a11yZoom"},b=void 0,S=void 0,I=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){b=y.default.get(_.FONT_SCALE)||g.Accessibility.FONT_SCALE_DEFAULT,S=y.default.get(_.ZOOM)||g.Accessibility.ZOOM_DEFAULT},f(t,[{key:"fontScale",get:function(){return b}},{key:"isFontScaledUp",get:function(){return b>g.Accessibility.FONT_SCALE_DEFAULT}},{key:"isFrontScaledDown",get:function(){return b<g.Accessibility.FONT_SCALE_DEFAULT}},{key:"fontScaleClass",get:function(){return this.isFontScaledUp?"a11y-font-scaled-up":this.isFrontScaledDown?"a11y-font-scaled-down":""}},{key:"zoom",get:function(){return S}}]),t}(d.default.Store);t.default=new I(h.default,{ACCESSIBILITY_FONT_SCALE_TO:s,ACCESSIBILITY_ZOOM_TO:l,ACCESSIBILITY_RESET_TO_DEFAULT:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.section;y===t?null==_&&(y=null):y=t,_=null,d.default.set(E,y)}function l(){var e=void 0;if(v.default.isActive()&&(e=g.ChannelSections.SEARCH),_===e)return!1;_=e}t.__esModule=!0;var u=n(2),f=a(u),c=n(25),d=a(c),p=n(4),h=a(p),g=n(1),m=n(224),v=a(m),E="ChannelSectionStore",y=null,_=null,b=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){y=d.default.get(E)||g.ChannelSections.MEMBERS},t.prototype.getSection=function(){return _||y},t}(f.default.Store);t.default=new b(h.default,{CHANNEL_TOGGLE_SECTION:s,SEARCH_START:function(e){return l()},SEARCH_INDEXING:function(e){return l()},SEARCH_FINISH:function(e){return l()},SEARCH_EDITOR_STATE_CLEAR:function(e){return l()},SEARCH_EDITOR_STATE_CHANGE:function(e){return l()},CHANNEL_SELECT:function(e){return l()},GUILD_SELECT:function(e){return l()}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){N.clear();var e=S.default.getGuildId();null!=e&&N.add(e);var t=T.default.getGuildId();null!=t&&N.add(t)}function l(){var e=void 0;(e=S.default.getGuildId())&&A.delete(e)}function u(){s()}function f(e){var t=e.guildId;if(null==t||N.has(t))return!1;N.add(t);var n=_.default.getMemberCount(t);null!=n&&n>E.LARGE_THRESHOLD&&A.add(t)}function c(e){if(!e.idle)return!1;s()}function d(){N.clear()}function p(e){var t=e.guild.id;if(!A.has(t))return!1;A.delete(t)}t.__esModule=!0;var h=n(2),g=a(h),m=n(4),v=a(m),E=n(1),y=n(376),_=a(y),b=n(35),S=a(b),I=n(62),T=a(I),N=new Set,A=new Set,M=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(S.default,T.default,_.default),this.syncWith([T.default],function(){var e=T.default.getGuildId();null!=e&&N.add(e)})},t.prototype.isSyncing=function(e){return A.has(e)},t.prototype.isSynced=function(e){return N.has(e)},t.prototype.getSyncedGuilds=function(){return Array.from(N)},t}(g.default.Store);t.default=new M(v.default,{CONNECTION_OPEN:l,CONNECTION_CLOSED:u,GUILD_SELECT:f,GUILD_SYNC_ADD:f,GUILD_SYNC:p,GUILD_UPDATE:p,LOGOUT:d,IDLE:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){l(e);var t=b.default.getGuild(e),n=I.default.getCurrentUser();if(null!=t&&t.verificationLevel!==y.VerificationLevels.NONE&&!t.isOwner(n)){var a=N.default.getMember(t.id,n.id);if(!(null!=a&&a.roles.length>0)){var o=+n.createdAt+6e4*y.VerificationCriteria.ACCOUNT_AGE-Date.now(),r=+t.joinedAt+6e4*y.VerificationCriteria.MEMBER_AGE-Date.now(),i=t.verificationLevel>=y.VerificationLevels.LOW&&!n.isClaimed(),s=!1,u=!1,f=!1,c=!1;n.isPhoneVerified()||(s=t.verificationLevel>=y.VerificationLevels.LOW&&!n.verified,u=t.verificationLevel>=y.VerificationLevels.VERY_HIGH,f=t.verificationLevel>=y.VerificationLevels.MEDIUM&&o>0,c=t.verificationLevel>=y.VerificationLevels.HIGH&&r>0);var d=[];c&&d.push(r),f&&d.push(o);var p=void 0;d.length&&(p=setTimeout(function(){return E.default.dispatch({type:y.ActionTypes.GUILD_VERIFICATION_CHECK,guildId:e})},Math.max.apply(Math,d))),M[e]={notClaimed:i,notEmailVerified:s,notPhoneVerified:u,newAccount:f,newMember:c,canChat:!(i||s||u||f||c),accountDeadline:new Date(Date.now()+o),memberDeadline:new Date(Date.now()+r),timeoutRef:p}}}}function l(e){var t=M[e];null!=t&&clearTimeout(t.timeoutRef),delete M[e]}function u(e){Object.keys(M).forEach(l),e.guilds.forEach(function(e){return s(e.id)})}function f(e){s(e.guild.id)}function c(e){l(e.guild.id)}function d(e){var t=e.guildId;if(e.user.id!==I.default.getCurrentUser().id)return!1;s(t)}function p(){Object.keys(M).forEach(s)}function h(e){s(e.guildId)}t.__esModule=!0;var g=n(2),m=a(g),v=n(4),E=a(v),y=n(1),_=n(12),b=a(_),S=n(10),I=a(S),T=n(34),N=a(T),A={notClaimed:!1,notEmailVerified:!1,notPhoneVerified:!1,newAccount:!1,newMember:!1,canChat:!0},M={},C=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(b.default,I.default)},t.prototype.getCheck=function(e){return M[e]||A},t.prototype.canChatInGuild=function(e){return(M[e]||A).canChat},t}(m.default.Store);t.default=new C(E.default,{CONNECTION_OPEN:u,USER_UPDATE:p,GUILD_CREATE:f,GUILD_UPDATE:f,GUILD_DELETE:c,GUILD_MEMBER_UPDATE:d,GUILD_VERIFICATION_CHECK:h}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){Date.now()-N>Math.min(1e3*I.default.afkTimeout,T.IDLE_DURATION)?M||v.default.dirtyDispatch({type:T.ActionTypes.AFK,afk:!0}):M&&v.default.dirtyDispatch({type:T.ActionTypes.AFK,afk:!1})}function l(){Date.now()-N>T.IDLE_DURATION?A||v.default.dirtyDispatch({type:T.ActionTypes.IDLE,idle:!0,idleSince:N}):A&&v.default.dirtyDispatch({type:T.ActionTypes.IDLE,idle:!1})}function u(){l(),s()}function f(e){A=e.idle}function c(e){M=e.afk}function d(e){var t=e.userId;return e.speaking&&t===b.default.getId()&&(N=Date.now(),u()),!1}function p(){return N=Date.now(),u(),!1}t.__esModule=!0;var h=n(2),g=a(h),m=n(4),v=a(m),E=n(18),y=a(E),_=n(17),b=a(_),S=n(13),I=a(S),T=n(1),N=Date.now(),A=!1,M=!1;if(y.default.embedded){(function e(){y.default.getIdleMilliseconds(function(t){N=Date.now()-t,u(),setTimeout(e,1e4)})})()}else setInterval(u,.25*T.IDLE_DURATION);var C=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isIdle=function(){return A},t.prototype.iAFK=function(){return M},t.prototype.getIdleSince=function(){return A?N:null},t}(g.default.Store);t.default=new C(v.default,{IDLE:f,AFK:c,SPEAKING:d,GUILD_SELECT:p,CHANNEL_SELECT:p,VOICE_CHANNEL_SELECT:p,WINDOW_FOCUS:p}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){y={}}function l(e){delete y[e.channel.id]}function u(){}function f(e){var t=e.channelId,n=e.invite;y[t]=new m.default({code:n.code,temporary:n.temporary,revoked:n.revoked,maxUses:n.max_uses,maxAge:n.max_age,createdAt:(0,E.default)(n.created_at),channel:n.channel})}t.__esModule=!0;var c=n(2),d=a(c),p=n(4),h=a(p),g=(n(1),n(373)),m=a(g),v=n(8),E=a(v),y={},_=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getInvite=function(e){return y[e]},t}(d.default.Store);t.default=new _(h.default,{CONNECTION_OPEN:s,CHANNEL_DELETE:l,INSTANT_INVITE_CREATE:u,INSTANT_INVITE_CREATE_SUCCESS:f}),e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(){S={}}function u(e){var t=e.type,n=e.messageId,a=e.userId,o=e.emoji,r=I.ensure(n,o);if(t===g.ActionTypes.MESSAGE_REACTION_ADD){var i=b.default.getUser(a);i&&(r.users[a]=i)}else delete r.users[a]}function f(e){var t=e.messageId,n=e.users,a=e.emoji,o=I.ensure(t,a);n.forEach(function(e){return o.users[e.id]=new y.default(e)})}t.__esModule=!0;var c=n(2),d=o(c),p=n(4),h=o(p),g=n(1),m=n(213),v=a(m),E=n(75),y=o(E),_=n(10),b=o(_),S={},I=function(){function e(){s(this,e),this.fetched=!1,this.users={}}return e.ensure=function(t,n){var a=t+":"+n.name+":"+(n.id||"");return S[a]=S[a]||new e},e}(),T=function(e){function t(){return s(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getReactions=function(e,t,n){var a=I.ensure(t,n);return a.fetched||(v.getReactions(e,t,n),a.fetched=!0),a.users},t}(d.default.Store);t.default=new T(h.default,{CONNECTION_OPEN:l,MESSAGE_REACTION_ADD:u,MESSAGE_REACTION_REMOVE:u,MESSAGE_REACTION_ADD_USERS:f}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.step;R=t,_.default.set(L,t)}function l(e){k=m({},k,e.guild)}function u(){P=N.ActionTypes.NEW_USER_FLOW_GUILD_CREATED,s({step:D})}function f(e){P=N.ActionTypes.NEW_USER_FLOW_GUILD_FAILURE,w=e.errors}function c(){P=N.ActionTypes.NEW_USER_FLOW_GUILD_SUBMITTED}function d(){x=!0}function p(){x=!1}function h(e){null==e.guildId&&(k=m({},k,{region:k.region||M.default.getOptimalRegionId()}))}function g(){_.default.remove(L)}t.__esModule=!0;var m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v=n(2),E=a(v),y=n(25),_=a(y),b=n(4),S=a(b),I=n(266),T=a(I),N=n(1),A=n(310),M=a(A),C=n(18),O=a(C),D=2,L="newUserModalStep",R=0,x=!1,w={},P=void 0,k={name:"",icon:null,region:null},U=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){R=_.default.get(L)||R,this.waitFor(T.default,M.default)},t.prototype.getNewUserModalStep=function(){return R},t.prototype.isOpen=function(){if(0!==R||!(O.default.embedded||T.default.totalGuilds>0))return x&&R>=0&&R<D},t.prototype.getProps=function(){return{step:R,errors:w,guildSubmitting:P===N.ActionTypes.NEW_USER_FLOW_GUILD_SUBMITTED,guild:k}},t}(E.default.Store);t.default=new U(S.default,{NEW_USER_FLOW_SET_STEP:s,NEW_USER_FLOW_GUILD_UPDATE:l,NEW_USER_FLOW_GUILD_CREATED:u,NEW_USER_FLOW_GUILD_FAILURE:f,NEW_USER_FLOW_GUILD_SUBMITTED:c,CONNECTION_OPEN:d,CONNECTION_CLOSED:p,LOAD_REGIONS:h,LOGOUT:g}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=ce[e];t&&b.default.set(t,!0);var n=de[e];n&&(pe[n]=!0)}function l(e){var t=ce[e];return t?b.default.get(t):!!de[e]&&pe[e]}function u(){if(!ee.default.isConnected())return!1;var e=D.default.getCurrentUser();he={id:null,type:null,message:null,buttonText:null,callback:null,metadata:{}};var t=Y.default.getConnectedApps(),n=void 0;R.default.isDisabled()?he.type=T.NoticeTypes.VOICE_DISABLED:k.default.getInputDetected()===!1?he.type=T.NoticeTypes.NO_INPUT_DETECTED:null!=e&&null==e.email?he.type=T.NoticeTypes.UNCLAIMED_ACCOUNT:A.default.embedded&&!fe.default.supported()?he.type=T.NoticeTypes.CORRUPT_INSTALLATION:X.default.getDisplayType()===T.DetectedPlatformAccountsDisplayTypes.NOTICE?(he.type=T.NoticeTypes.DETECTED_PLATFORM_ACCOUNTS,he.metadata=X.default.getDetectedAccounts()):t.length>0?(he.type=T.NoticeTypes.RPC_CONNECTIONS,he.metadata={count:t.length,name:t[0].name}):z.default.enabled?he.type=T.NoticeTypes.STREAMER_MODE:A.default.embedded||l(T.NoticeTypes.DOWNLOAD_NAG)?(n=G.default.getScheduledMaintenance())?(he.type=T.NoticeTypes.SCHEDULED_MAINTENANCE,he.metadata={id:n.id,start:new Date(n.scheduled_for),end:new Date(n.scheduled_until)}):ne.default.shouldShowNotice()?he.type=T.NoticeTypes.DOWNLOAD_MOBILE_APPS:C.default.isInExperimentBucket(T.Experiments.SURVEY_VIDEO_CHAT,T.ExperimentBuckets.TREATMENT_1)&&(he.type=T.NoticeTypes.SURVEY):he.type=T.NoticeTypes.DOWNLOAD_NAG,l(he.type)&&(he.type=null)}function f(e){return e.userId===w.default.getId()&&u()}function c(e){he=e.notice}function d(e){return null!=he&&((null==e.id||e.id===he.id)&&(s(he.type),u()))}function p(){return z.default.enabled||delete pe[T.NoticeTypes.STREAMER_MODE],u()}t.__esModule=!0;var h,g,m=n(253),v=a(m),E=n(2),y=a(E),_=n(25),b=a(_),S=n(4),I=a(S),T=n(1),N=n(18),A=a(N),M=n(317),C=a(M),O=n(10),D=a(O),L=n(62),R=a(L),x=n(17),w=a(x),P=n(27),k=a(P),U=n(808),G=a(U),j=n(12),F=a(j),B=n(34),V=a(B),H=n(31),z=a(H),W=n(790),Y=a(W),K=n(223),Q=a(K),Z=n(309),X=a(Z),J=n(120),q=a(J),$=n(187),ee=a($),te=n(1587),ne=a(te),ae=n(35),oe=a(ae),re=n(529),ie=a(re),se=n(533),le=a(se),ue=n(778),fe=a(ue),ce=(h={},h[T.NoticeTypes.DOWNLOAD_NAG]="hideNag",h[T.NoticeTypes.CREATE_SERVER_NAG]="hideCreateServerNag",h[T.NoticeTypes.DOWNLOAD_MOBILE_APPS]="hideDownloadMobileApps",h[T.NoticeTypes.SURVEY]="hideVideoSurvey",h),de=(0,v.default)((g={},g[T.NoticeTypes.NO_INPUT_DETECTED]=null,g[T.NoticeTypes.STREAMER_MODE]=null,g[T.NoticeTypes.RPC_CONNECTIONS]=null,g)),pe={},he=null,ge=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(D.default,G.default,F.default,V.default,R.default,k.default,z.default,Y.default,Q.default,q.default,ne.default,oe.default,le.default,ie.default)},t.prototype.hasNotice=function(){return null!=he&&null!=he.type},t.prototype.getNotice=function(){return null==ie.default.getAction()?he:null},t}(y.default.Store);t.default=new ge(I.default,{CONNECTION_OPEN:u,USER_UPDATE:u,AUDIO_ENABLE:u,VOICE_CHANNEL_CLEAR:u,STATUS_PAGE_SCHEDULED_MAINTENANCE:u,STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK:u,GUILD_CREATE:u,GUILD_DELETE:u,AUDIO_INPUT_DETECTED:u,AUDIO_SET_DISPLAY_SILENCE_WARNING:u,RPC_APP_CONNECTED:u,RPC_APP_DISCONNECTED:u,NOTIFICATIONS_SET_PERMISSION_STATE:u,PLATFORM_ACCOUNTS_DETECTED:u,PLATFORM_ACCOUNTS_IGNORE:u,DETECTED_PLATFORM_ACCOUNTS_DISPLAY_TYPE_CHANGE:u,WINDOW_FOCUS:u,INSTANT_INVITE_CREATE:u,INSTANT_INVITE_REVOKE_SUCCESS:u,VOICE_STATE_UPDATE:f,STREAMER_MODE_UPDATE:p,RUNNING_STREAMER_TOOLS_CHANGE:p,NOTICE_SHOW:c,NOTICE_DISMISS:d}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){Se=[],Ie=[],Te=[],Ne=[],Ae=[],Me=[]}function l(){be=!0,Ce="",_e=te.default.getSearchContext(I,ve),b()}function u(){_e&&(_e.destroy(),_e=null),s(),be=!1}function f(e,t,n,a){return{type:e,queryMode:De,record:t,score:n,comparator:a}}function c(e,t){return ye*e*(t||1)}function d(e){var t=ae.default.getFrequently(),n=t.reduce(function(e,t){var n=t.id,a=ae.default.getScore(n);return a>e?a:e},0),a=[];switch(e){case ge.QuickSwitcherResultTypes.GUILD:a=t.filter(function(e){return e instanceof le.default});break;case ge.QuickSwitcherResultTypes.USER:a=t.filter(function(e){return e instanceof fe.default&&e.type===ge.ChannelTypes.DM});break;case ge.QuickSwitcherResultTypes.GROUP_DM:a=t.filter(function(e){return e instanceof fe.default&&e.type===ge.ChannelTypes.GROUP_DM});break;case ge.QuickSwitcherResultTypes.TEXT_CHANNEL:a=t.filter(function(e){return e instanceof fe.default&&e.type===ge.ChannelTypes.GUILD_TEXT});break;case ge.QuickSwitcherResultTypes.VOICE_CHANNEL:a=t.filter(function(e){return e instanceof fe.default&&e.type===ge.ChannelTypes.GUILD_VOICE});break;case ge.QuickSwitcherResultTypes.VOICE_CHANNEL:a=t.filter(function(e){return e instanceof fe.default&&e.type===ge.ChannelTypes.GUILD_VOICE})}var o={};return a.forEach(function(t){var a=t.id,r=ae.default.getScore(a);if(e===ge.QuickSwitcherResultTypes.USER){a=t.getRecipientId();var i=re.default.isFriend(a)?.2:0,s=B.default.getDMFromUserId(a)?.1:0;o[a]=1+r/n+i+s}else o[a]=1+r/n}),o}function p(e){switch(e.charAt(0)){case"@":return ge.QuickSwitcherResultTypes.USER;case"#":return ge.QuickSwitcherResultTypes.TEXT_CHANNEL;case"!":return ge.QuickSwitcherResultTypes.VOICE_CHANNEL;case"*":return ge.QuickSwitcherResultTypes.GUILD;default:return null}}function h(e,t){var n=U.default.getChannelId(),a=d(ge.QuickSwitcherResultTypes.TEXT_CHANNEL);return(0,de.default)(J.default.queryChannels(e,null,1/0,!0,function(e){return e.id!==n})).map(function(e){var t=e.channel,n=e.score,o=e.comparator;return f(ge.QuickSwitcherResultTypes.TEXT_CHANNEL,t,c(n,a[t.id]),o)}).sort(ie.sortByMatchScore).take(t).value()}function g(e,t,n){var a=null;if(n&&(a=P.default.getGuildId()),n&&null==a)return[];var o=d(ge.QuickSwitcherResultTypes.VOICE_CHANNEL);return(0,de.default)(J.default.queryChannels(e,a,1/0,!0,function(){return!0},ge.ChannelTypes.GUILD_VOICE)).map(function(e){var t=e.channel,n=e.score,a=e.comparator;return f(ge.QuickSwitcherResultTypes.VOICE_CHANNEL,t,c(n,o[t.id]),a)}).sort(ie.sortByMatchScore).take(t).value()}function m(e,t){var n=P.default.getGuildId(),a=d(ge.QuickSwitcherResultTypes.GUILD);return(0,de.default)(J.default.queryGuilds(e,1/0,!0,function(e){return e.id!==n})).map(function(e){var t=e.guild,n=e.score,o=e.comparator;return f(ge.QuickSwitcherResultTypes.GUILD,t,c(n,a[t.id]),o)}).sort(ie.sortByMatchScore).take(t).value()}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(_e){var a=[H.default.getCurrentUser().id],o=P.default.getGuildId(),r={friends:!0};o&&r&&(r.guild=o),n&&(r=null,De?$.default.requestMembers(null,e,20):$.default.requestMembers(o,e,20));var i=B.default.getDMUserIds();_e.setQuery(e,r,a,i,d(ge.QuickSwitcherResultTypes.USER))}}function E(e,t){var n=U.default.getChannelId(),a=d(ge.QuickSwitcherResultTypes.GROUP_DM);return J.default.queryGroupDMs(e,t,!0,function(e){return e.id!==n}).map(function(e){var t=e.channel,n=e.score,o=e.comparator;return f(ge.QuickSwitcherResultTypes.GROUP_DM,t,c(n,a[t.id]),o)})}function y(e){return f(ge.QuickSwitcherResultTypes.HEADER,{id:e,text:e},0)}function _(e){var t=B.default.getChannel(e);if(null==t)return null;var n=void 0;switch(t.type){case ge.ChannelTypes.DM:if(n=ge.QuickSwitcherResultTypes.USER,t=H.default.getUser(t.getRecipientId()),null==t)return null;break;case ge.ChannelTypes.GROUP_DM:n=ge.QuickSwitcherResultTypes.GROUP_DM;break;default:n=ge.QuickSwitcherResultTypes.TEXT_CHANNEL}return f(n,t,0,t.toString())}function b(){var e=[];null!=_e&&_e.clearQuery();var t=U.default.getLastSelectedChannelId();if(t){var n=_(t);n&&e.push(y(x.default.Messages.QUICKSWITCHER_LAST_CHANNEL),n)}var a=P.default.getGuildId(),o=U.default.getChannelId(a)||a,r=(0,de.default)(B.default.getChannels()).values().filter(function(e){var n=e.id;return n!==o&&n!==t&&W.default.getMentionCount(n)>0}).map(function(e){return _(e.id)}).filter(function(e){return!!e}).value();if(r.length&&(e.push(y(x.default.Messages.QUICKSWITCHER_MENTIONS)),e=e.concat(r)),a){var i=K.default.getTextChannelIds(a).filter(function(e){var n=B.default.getChannel(e);return null!=n&&e!==o&&e!==t&&!Z.default.isChannelMuted(n.guild_id,e)&&W.default.hasUnread(e)}).map(function(e){return _(e)}).filter(function(e){return e});i.length&&(e.push(y(x.default.Messages.QUICKSWITCHER_UNREAD_CHANNELS)),e=e.concat(i))}s(),Se=(0,de.default)(e).uniqBy(function(e){return e.record.id}).value(),Oe=Se.length>0?1:0}function S(e){var t=e.user,n=e.id,a=e.score,o=e.comparator;null==t&&(t=H.default.getUser(n));var r=d(ge.QuickSwitcherResultTypes.USER);return f(ge.QuickSwitcherResultTypes.USER,t,c(a,r[t.id]),o)}function I(e){var t=e.query,n=e.results;if(!De||De===ge.QuickSwitcherResultTypes.USER){if(0===t.trim().length){var a=U.default.getChannelId(P.default.getGuildId()),o=H.default.getCurrentUser();Ie=J.default.getRecentlyTalked(a,De?ve:Ee).filter(function(e){return e.user!==o}).map(S)}else Ie=n.map(S);null==De&&Ie.length>Ee&&(Ie.length=Ee),N(),xe.emitChange()}}function T(e){var t=e.query;if(0===t.trim().length)return Ce=t,void b();De=p(t);var n=De?t.substr(1):t,a=De?ve:Ee;switch(De){case ge.QuickSwitcherResultTypes.USER:v(n,a,!0);break;case ge.QuickSwitcherResultTypes.TEXT_CHANNEL:Ne=h(n,a);break;case ge.QuickSwitcherResultTypes.VOICE_CHANNEL:Ae=g(n,a);break;case ge.QuickSwitcherResultTypes.GUILD:Me=m(n,a);break;default:v(n,a),Te=E(n,a),Ne=h(n,a),Ae=g(n,a,!0),Me=m(n,a)}return Ce!==t&&(Oe=null!=De?1:0),Ce=t,De&&De!==ge.QuickSwitcherResultTypes.USER&&N(),!0}function N(){var e=void 0;switch(De){case ge.QuickSwitcherResultTypes.USER:e=y(x.default.Messages.QUICKSWITCHER_QUERYMODE_USERS),Se=[].concat(Ie);break;case ge.QuickSwitcherResultTypes.TEXT_CHANNEL:e=y(x.default.Messages.QUICKSWITCHER_QUERYMODE_TEXT_CHANNELS),Se=[].concat(Ne);break;case ge.QuickSwitcherResultTypes.VOICE_CHANNEL:e=y(x.default.Messages.QUICKSWITCHER_QUERYMODE_VOICE_CHANNELS),Se=[].concat(Ae);break;case ge.QuickSwitcherResultTypes.GUILD:e=y(x.default.Messages.QUICKSWITCHER_QUERYMODE_GUILDS),Se=[].concat(Me);break;default:Se=[].concat(Ie,Te,Ne,Ae,Me)}Se=(0,de.default)(Se).uniqBy(function(e){return e.type+"-"+e.record.id}).sort(ie.sortByMatchScore).value(),Se.length>0&&null!=e&&Se.unshift(e)}function A(e){Oe=e.selectedIndex}function M(){if(Le)return!1;Le=!0,he.default.set(me,!0)}t.__esModule=!0;var C=n(2),O=a(C),D=n(4),L=a(D),R=n(3),x=a(R),w=n(35),P=a(w),k=n(19),U=a(k),G=n(34),j=a(G),F=n(11),B=a(F),V=n(10),H=a(V),z=n(89),W=a(z),Y=n(98),K=a(Y),Q=n(104),Z=a(Q),X=n(315),J=a(X),q=n(384),$=a(q),ee=n(810),te=a(ee),ne=n(1589),ae=a(ne),oe=n(43),re=a(oe),ie=n(776),se=n(103),le=a(se),ue=n(52),fe=a(ue),ce=n(7),de=a(ce),pe=n(25),he=a(pe),ge=n(1),me="seenQSTutorial",ve=100,Ee=5,ye=1e3,_e=void 0,be=!1,Se=[],Ie=[],Te=[],Ne=[],Ae=[],Me=[],Ce="",Oe=0,De=null,Le=!1,Re=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(j.default),Le=he.default.get(me)||!1},t.prototype.isOpen=function(){return be},t.prototype.getResultTotals=function(e){return null==e?Se.reduce(function(e,t){return t.type!==ge.QuickSwitcherResultTypes.HEADER?e+1:e},0):Se.reduce(function(t,n){return n.type===e?t+1:t},0)},t.prototype.channelNoticePredicate=function(e,t,n){var a=Date.now()-n>=ge.CHANNEL_NOTICE_SHOW_DELAY;return e&&a},t.prototype.getState=function(){return{query:Ce,queryMode:De,results:Se,selectedIndex:Oe,seenTutorial:Le}},t}(O.default.Store),xe=new Re(L.default,{QUICKSWITCHER_SHOW:l,QUICKSWITCHER_HIDE:u,QUICKSWITCHER_SEARCH:T,QUICKSWITCHER_SELECT:A,QUICKSWITCHER_SWITCH_TO:M});t.default=xe,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){C={},M||E.default.map(S.default,function(e,t){var n=N[t]!==!1;if(n&&null!=e.prerequisites)for(var a=e.prerequisites,o=Array.isArray(a),r=0,a=o?a:a[Symbol.iterator]();;){var i;if(o){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var s=i,l=N[s]===!1;if(!l)return void(C[t]=!1)}C[t]=n})}function l(e){var t;N=h({},N,(t={},t[e.tutorialId]=!1,t)),f(e),s()}function u(e){var t;A=h({},A,(t={},t[e.tutorialId]=e.renderData,t))}function f(e){A=h({},A),delete A[e.tutorialId]}function c(){M=!0}function d(e){var t=e.tutorial;O=!0,M=!0,N={},null!=t&&(M=t.indicators_suppressed,t.indicators_confirmed.forEach(function(e){return N[e]=!1})),s()}function p(){O=!1}t.__esModule=!0;var h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},g=n(2),m=a(g),v=n(7),E=a(v),y=n(4),_=a(y),b=(n(1),n(704)),S=a(b),I=n(187),T=a(I),N={},A={},M=!0,C={},O=!1,D=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){s(),this.mustEmitChanges(),this.waitFor(T.default)},t.prototype.shouldShow=function(e){return!(!O||M)&&(C[e]||!1)},t.prototype.shouldShowAnyIndicators=function(){return!M},t.prototype.getIndicators=function(){return A},t}(m.default.Store);t.default=new D(_.default,{CONNECTION_OPEN:d,CONNECTION_CLOSED:p,TUTORIAL_INDICATOR_DISMISS:l,TUTORIAL_INDICATOR_SHOW:u,TUTORIAL_INDICATOR_HIDE:f,TUTORIAL_INDICATOR_SUPPRESS_ALL:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){m=e.requiredAction,m===d.UserRequiredActions.REQUIRE_CAPTCHA||m===d.UserRequiredActions.REQUIRE_VERIFIED_EMAIL||m===d.UserRequiredActions.REQUIRE_VERIFIED_PHONE?(0,g.pushLayer)(d.Layers.VERIFICATION):h.default.hasLayers()&&null==m&&(0,g.popLayer)()}t.__esModule=!0;var l=n(2),u=a(l),f=n(4),c=a(f),d=n(1),p=n(268),h=a(p),g=n(102),m=null,v=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getAction=function(){return m},t}(u.default.Store);t.default=new v(c.default,{CONNECTION_OPEN:s,USER_REQUIRED_ACTION_UPDATE:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){O=!0,l(e)}function l(e){var t,n=_.default.getCurrentUser();I=e.section||I,e.subsection&&null!=I&&(T[I]=e.subsection),C=!1,S=b.FormStates.OPEN,N={},t={},t[b.UserSettingsSections.ACCOUNT]={userId:n.id,username:n.username,discriminator:n.discriminator,email:n.email,avatar:n.avatar,password:"",newPassword:null,claimed:null!=n.email},A=t,M=h({},A)}function u(){S=b.FormStates.CLOSED,O=!1,A=null,M=null,I=null,T={}}function f(e){I=e.section,e.subsection&&(T[I]=e.subsection)}function c(e){var t=e.settings;null==M&&(M={});var n=M[b.UserSettingsSections.ACCOUNT];M[b.UserSettingsSections.ACCOUNT]=h({},n,t)}function d(){S=b.FormStates.SUBMITTING}function p(e){if(S!==b.FormStates.SUBMITTING)return!1;S=b.FormStates.OPEN,I=b.UserSettingsSections.ACCOUNT,N=e.errors||{}}t.__esModule=!0;var h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},g=n(2),m=a(g),v=n(4),E=a(v),y=n(10),_=a(y),b=n(1),S=b.FormStates.CLOSED,I=void 0,T={},N={},A=void 0,M=void 0,C=!1,O=!1,D=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.hasChanges=function(){if(null==M||null==A)return!1;if(this.isOpen())for(var e=Object.keys(A),t=Array.isArray(e),n=0,e=t?e:e[Symbol.iterator]();;){var a;if(t){if(n>=e.length)break;a=e[n++]}else{if(n=e.next(),n.done)break;a=n.value}for(var o=a,r=Object.keys(A[o]),i=Array.isArray(r),s=0,r=i?r:r[Symbol.iterator]();;){var l;if(i){if(s>=r.length)break;l=r[s++]}else{if(s=r.next(),s.done)break;l=s.value}var u=l;if(M[o][u]!=A[o][u])return!0}}return!1},t.prototype.isOpen=function(){return O},t.prototype.getSection=function(){return I},t.prototype.getProps=function(){return{submitting:S===b.FormStates.SUBMITTING,section:I,subsection:null!=T&&null!=I?T[I]:null,settings:M,errors:N,hasChanges:this.hasChanges(),landingShown:C}},t}(m.default.Store);t.default=new D(E.default,{USER_SETTINGS_MODAL_OPEN:s,USER_SETTINGS_MODAL_INIT:l,USER_SETTINGS_MODAL_CLOSE:u,LOGOUT:u,USER_SETTINGS_MODAL_SUBMIT:d,USER_SETTINGS_MODAL_SUBMIT_FAILURE:p,USER_SETTINGS_MODAL_SET_SECTION:f,USER_SETTINGS_MODAL_UPDATE_ACCOUNT:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){g=f({},g),delete g[e]}function l(e){var t=e.userId,n=e.streamId;if(n){var a;g=f({},g,(a={},a[t]=n,a))}else s(t)}function u(e){var t=e.userId;if(null!=e.channelId||null==g[t])return!1;s(t)}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=n(2),d=a(c),p=n(4),h=a(p),g=(n(1),{}),m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getStreamId=function(e){return g[e]},t}(d.default.Store);t.default=new m(h.default,{RTC_CONNECTION_VIDEO:l,VOICE_STATE_UPDATE:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){O=y.default.theme}function l(){D=N.default.getChannelId(M.default.getGuildId())}function u(){if(null!=D){var e;C=d({},C,(e={},e[D]=b.default.getCallLayout(D),e))}}function f(){L=I.default.getCallMode(D)===v.CallModes.VIDEO}t.__esModule=!0;var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p=n(2),h=a(p),g=n(4),m=a(g),v=n(1),E=n(13),y=a(E),_=n(164),b=a(_),S=n(130),I=a(S),T=n(19),N=a(T),A=n(35),M=a(A),C={},O=v.ThemeTypes.DARK,D=null,L=null,R=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(y.default,I.default,b.default,M.default,N.default),this.syncWith([y.default],s),this.syncWith([M.default,N.default],l),this.syncWith([b.default],u),this.syncWith([I.default],f)},c(t,[{key:"theme",get:function(){return(null!=D&&L?C[D]:null)===v.CallLayouts.NORMAL?v.ThemeTypes.DARK:O}}]),t}(h.default.Store);t.default=new R(m.default,function(){return!1}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){if(!e)return null;var t=M.default.getGuild(e);return null==t||t.ownerId!==O.default.getId()?null:p({},b.default.getEligibleExperiment(W.getExperimentId()),{context:{type:U.ExperimentContextTypes.GUILD,guildId:e}})}function l(e){var t=s(e);return t?t.bucket:U.ExperimentBuckets.NOT_ELIGIBLE}function u(e){var t=e.noticeType,n=e.guild;if(t!==U.ChannelNoticeTypes.INVITE)return!1;if(null!=n&&null!=n.id){if(H=B[n.id],null==H&&!V[n.id]){var a=l(n.id);[U.ExperimentBuckets.TREATMENT_1,U.ExperimentBuckets.TREATMENT_3].includes(a)&&k.default.createInvite(n.id,{max_age:0},G)}}else H=null;return!0}function f(e){var t=e.invite,n=new x.default(p({maxAge:t.max_age,maxUses:t.max_uses,createdAt:t.created_at},t));if(0!==n.maxAge||0!==n.maxUses)return!1;B[n.channel.id]=n,L.default.getGuildId()===n.channel.id&&(H=n)}function c(e){var t=e.code;null!=H&&H.code===t&&(H=null);for(var n in B)if(B[n].code===t){delete B[n],V[n]=!0,v.default.set(j,V);break}}function d(e){var t=e.guildId;delete V[t],k.default.createInvite(t,{max_age:0},G)}t.__esModule=!0;var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},h=n(2),g=a(h),m=n(25),v=a(m),E=n(4),y=a(E),_=n(120),b=a(_),S=n(376),I=a(S),T=n(523),N=a(T),A=n(12),M=a(A),C=n(17),O=a(C),D=n(35),L=a(D),R=n(373),x=a(R),w=n(103),P=(a(w),n(84)),k=a(P),U=n(1),G="Invite Notice",j="InviteNoticeExperimentStore",F="2017-04_invite-notice",B={},V={},H=null,z=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(L.default),this.syncWith([M.default,I.default,N.default],U.NOOP),V=v.default.get(j)||{}},t.prototype.getExperimentId=function(){return F},t.prototype.getMetaData=function(){return{title:"Invite Notice",description:["New Invite notice experiment to see impact of new design","Treatment 1: Show a new invite notice that stands out more (purple) than control","Treatment 2: Always show control invite notice but on any guild that is empty","Treatment 3: Similar to (2) but with the new design (1)","Treatment 4: Control for (2) & (3)"]}},t.prototype.getExperimentDescriptor=function(e){return s(e)},t.prototype.getBucket=function(e){return l(e)},t.prototype.isForceShowEligible=function(e){var t=[U.ExperimentBuckets.TREATMENT_2,U.ExperimentBuckets.TREATMENT_3].includes(l(e)),n=I.default.getMemberCount(e);return t&&null!=n&&n<=U.INVITE_BANNER_MEMBER_THRESHOLD},t.prototype.isForceShowControlEligible=function(e){if(l(e)!==U.ExperimentBuckets.TREATMENT_4)return!1;var t=I.default.getMemberCount(e);return null!=t&&t<=U.INVITE_BANNER_MEMBER_THRESHOLD},t.prototype.getInvite=function(){return H},t}(g.default.Store),W=new z(y.default,{INSTANT_INVITE_CREATE_SUCCESS:f,INSTANT_INVITE_REVOKE_SUCCESS:c,CHANNEL_NOTICE_SHOW:u,CHANNEL_NOTICE_INVITE_FORCE_CREATE:d});t.default=W,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(2),i=a(r),s=n(109),l=a(s),u=n(62),f=a(u),c=n(378),d=a(c),p=n(11),h=a(p),g=n(10),m=a(g),v=n(164),E=a(v),y=n(4),_=a(y);t.default=new i.default.CompoundStore(_.default,[l.default,f.default,d.default,h.default,E.default],function(){var e=f.default.isDisabled()?null:f.default.getChannelId(),t=l.default.getSelectedCallId(),n=d.default.getIncomingCallChannelIds();e&&E.default.isCallActive(e)&&n.unshift(e);var a=n.map(function(n){var a=h.default.getChannel(n);return o({},a,{iconURL:a.iconURL||a.getIconURL(),name:a.name||m.default.getUser(a.recipients[0]).username,audio:e===a.id,selected:t===a.id})});return{selectedGuildId:l.default.getSelectedGuildId(),ringing:d.default.hasIncomingCalls(),selectedVoiceChannelId:e,calls:a}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.QuickSelectPopout=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(15),p=a(d),h=n(143),g=a(h);n(2289);var m=s("div",{className:"ui-quick-select-arrow"}),v=function(e){function t(n){return o(this,t),r(this,e.call(this,n))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.value,a=e.renderValue,o=e.className;return s(p.default,{className:(0,c.default)("ui-quick-select",o),align:p.default.Align.CENTER},void 0,s("div",{className:"ui-quick-select-label"},void 0,t),s(p.default,{align:p.default.Align.CENTER,className:"ui-quick-select-click"},void 0,s("div",{className:"ui-quick-select-value"},void 0,a?a(n):n.label),m))},t}(u.default.PureComponent),E=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.selected,n=e.renderOption,a=e.option;return s(p.default,{className:(0,c.default)("ui-quick-select-popout-option",{selected:t}),onClick:this.handleClick},void 0,n(a,t))},t.prototype.handleClick=function(){var e=this.props,t=e.option,n=e.onChange;n&&n(t)},t}(u.default.PureComponent);t.QuickSelectPopout=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.renderContent=function(){var e=this.props,t=e.options,n=e.renderOption,a=e.value,o=e.scroller,r=e.onChange,i=t.map(function(e){var t=null!=a&&e.value===a.value;return s(E,{className:"ui-quick-select-popout-option",renderOption:n,option:e,onChange:t?null:r,selected:t},e.key||e.value)});return o?s(g.default,{},void 0,i):i},t.prototype.render=function(){var e=this.props,t=e.className,n=e.scroller,a=(0,c.default)("ui-quick-select-popout",t,{"ui-quick-select-popout-scroll":n});return s(p.default,{className:a,direction:p.default.Direction.VERTICAL},void 0,this.renderContent())},t}(u.default.PureComponent);t.default=v},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.SearchIcon=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(3),p=a(d),h=n(15),g=a(h);n(2296);var m=t.SearchIcon=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.onClear,n=e.hasContent;return s("div",{className:"ui-search-bar-icon",onClick:t},void 0,s("i",{className:(0,c.default)("icon eye-glass",{visible:!n})}),s("i",{className:(0,c.default)("icon clear",{visible:n})}))},t}(u.default.PureComponent),v=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleOnChange=a.handleOnChange.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.query,n=e.autoFocus,a=e.onClear,o=e.className,r=e.placeholder;return s(g.default,{className:(0,c.default)("ui-search-bar",o)},void 0,s(g.default.Child,{},void 0,s("input",{className:"input",value:t,onChange:this.handleOnChange,placeholder:r,autoFocus:n})),s(g.default.Child,{},void 0,s(m,{hasContent:t.length>0,onClear:a})))},t.prototype.handleOnChange=function(e){var t=this.props.onChange;t&&t(e.target.value)},t}(u.default.PureComponent);v.defaultProps={placeholder:p.default.Messages.SEARCH},t.default=v},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(23),d=a(c),p=n(5),h=a(p),g=n(7),m=a(g);n(2300);var v=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state=l({value:n.defaultValue},a.getMarkerState(n),{newClosestIndex:null}),m.default.bindAll(a,["getMarkerState","handleMouseDown","handleMouseMove","handleMouseUp"]),a}return i(t,e),t.prototype.getMarkerState=function(e){var t=e.markers,n=e.defaultValue,a=e.minValue,o=e.maxValue,r=[],i=[];if(!t)return{min:a,max:o,range:o-a,sortedMarkers:r,markerPositions:i};r=t.sort(function(e,t){return e-t});var s=this.findClosestMarkerByIndex(n,r),l=r[0],u=r[r.length-1],f=u-l;if(this.props.equidistant){var c=100/(r.length-1);i=r.map(function(e,t){return t*c})}else{var d=function(e){return 100*(e-l)/f};i=r.map(function(e){return d(e)})}return{min:l,max:u,range:f,sortedMarkers:r,markerPositions:i,closestMarkerIndex:s}},t.prototype.componentWillReceiveProps=function(e){this.props.defaultValue!=e.defaultValue&&this.setState(l({value:e.defaultValue},this.getMarkerState(e)))},t.prototype.componentWillUnmount=function(){this.reset()},t.prototype.renderBubble=function(e){var t=this.state.value,n=this.props,a=n.stickToMarkers,o=n.onValueRender;if(!a)return s("span",{className:"bubble elevation-high"},void 0,o?o(t):e.toFixed(0)+"%")},t.prototype.renderMark=function(e){var t=this.props.onMarkerRender;return null!=t?t(e):e},t.prototype.render=function(){var e=this,t=this.state,n=t.value,a=t.sortedMarkers,o=t.markerPositions,r=t.closestMarkerIndex,i=t.newClosestIndex,l=this.props,u=l.disabled,f=l.stickToMarkers,c=l.className,d=l.children,p=0;f?null!=o&&(null!=i?p=o[i]:null!=r&&(p=o[r])):p=this.scaleValue(n);var g=p+"%",m=o&&a?o.map(function(t,n){var o=e.renderMark(a[n]);return s("div",{className:"slider-mark",style:{left:t+"%"}},n,s("div",{className:"slider-mark-value"},void 0,o),s("div",{className:(0,h.default)("slider-mark-dash",{simple:null==o})}))}):null;return s("div",{className:(0,h.default)("ui-slider",c,{disabled:u,marked:m})},void 0,s("input",{type:"number",className:"slider-input",value:p.toFixed(0),readOnly:!0}),s("div",{className:"slider-handle-track"},void 0,m),s("div",{className:"slider-bar"},void 0,s("div",{className:"slider-bar-fill",style:{width:g}})),d,s("div",{className:"slider-handle-track"},void 0,s("div",{className:"slider-grabber",style:{left:g},onMouseDown:this.handleMouseDown},void 0,this.renderBubble(p))))},t.prototype.reset=function(){document.removeEventListener("mousemove",this.handleMouseMove,!0),document.removeEventListener("mouseup",this.handleMouseUp,!0)},t.prototype.findClosestMarkerByIndex=function(e,t){null==t&&(t=this.state.sortedMarkers);for(var n=0,a=0;a<t.length;a++){var o=t[a];if(e===o)return a;if(e<o)return 0===n?a:o-e<n?a:a-1;n=e-o}},t.prototype.scaleValue=function(e){return 100*(e-this.state.min)/this.state.range},t.prototype.unscaleValue=function(e){return e*this.state.range/100+this.state.min},t.prototype.handleMouseDown=function(e){if(!this.props.disabled){document.addEventListener("mousemove",this.handleMouseMove,!0),document.addEventListener("mouseup",this.handleMouseUp,!0);var t=d.default.findDOMNode(this);if(null==t||t instanceof Text)throw new Error("[UIKit]Slider.handleMouseDown(): assert failed: domNode instanceof Element");this.setState({x:e.clientX,boundingRect:t.getBoundingClientRect(),newClosestIndex:this.state.closestMarkerIndex})}},t.prototype.handleMouseUp=function(){this.reset();var e=this.props,t=e.onValueChange,n=e.stickToMarkers,a=this.state.newClosestIndex;n&&null!=a?(t&&t(this.state.sortedMarkers[a]),this.setState({newClosestIndex:null,closestMarkerIndex:a})):t&&t(this.state.value)},t.prototype.handleMouseMove=function(e){e.preventDefault(),this.props.stickToMarkers?this.moveStaggered(e):this.moveSmoothly(e)},t.prototype.moveStaggered=function(e){var t=this.state,n=t.boundingRect,a=t.x,o=t.closestMarkerIndex,r=t.markerPositions,i=n.left,s=n.right;if(!(e.clientX<=i||e.clientX>=s)){var l=s-i,u=e.clientX-a,f=u/l,c=r[o]+100*f,d=void 0;if(this.props.equidistant)d=this.findClosestMarkerByIndex(c,r);else{var p=this.unscaleValue(c);d=this.findClosestMarkerByIndex(p)}this.setState({newClosestIndex:d})}},t.prototype.moveSmoothly=function(e){var t=this.props,n=t.minValue,a=t.maxValue,o=t.handleSize,r=t.asValueChanges,i=this.state.boundingRect,s=i.left,l=i.right,u=this.state.x-e.clientX,f=(this.state.value-n)/(a-n);if(!(e.clientX<=s&&u<0||e.clientX>=l&&u>0)){var c=l-s-o,d=c*f;f=Math.min(Math.max(d-u,0),c)/c}var p=n+f*(a-n);r&&r(p),this.setState({value:p,x:e.clientX})},t}(f.default.PureComponent);v.defaultProps={defaultValue:10,minValue:0,maxValue:100,handleSize:10,disabled:!1,stickToMarkers:!1},t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f);n(2304);var d=10,p=7.23,h=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.onChange=a.onChange.bind(a),a.onFocus=a.onFocus.bind(a),a.onBlur=a.onBlur.bind(a),a}return i(t,e),t.prototype.getPaddingRight=function(){var e=this.props.maxLength;return null==e?d:p*(""+e).length+d},t.prototype.renderMaxLength=function(){var e=this.props,t=e.maxLength,n=e.value;return null==t?null:s("div",{className:"ui-text-area-max-length"},void 0,t-(null!=n?n.length:0))},t.prototype.renderErrorMessage=function(){var e=this.props.error;return null==e?null:s("div",{className:"error-message"},void 0,e)},t.prototype.render=function(){var e=this.props,t=e.disabled,n=e.value,a=e.placeholder,o=e.error,r=e.autoFocus,i=e.maxLength,l=e.resizeable,u=e.className,f=e.id;return s("div",{className:"ui-text-input ui-text-area flex-vertical"},void 0,s("div",{className:"ui-text-area-input-max-length"},void 0,s("textarea",{type:"text",className:(0,c.default)("input",u,{error:o,disabled:t,resizeable:l}),style:{paddingRight:this.getPaddingRight()},id:f,disabled:t,placeholder:a,value:n,autoFocus:r,maxLength:i,onChange:this.onChange,onBlur:this.onBlur,onFocus:this.onFocus}),this.renderMaxLength()),this.renderErrorMessage())},t.prototype.onChange=function e(t){var n=this.props,e=n.onChange,a=n.name;e&&e(t.target.value,a)},t.prototype.onFocus=function e(t){var n=this.props,e=n.onFocus,a=n.name;e&&e(t,a)},t.prototype.onBlur=function e(t){var n=this.props,e=n.onBlur,a=n.name;e&&e(t,a)},t}(u.default.PureComponent);h.defaultProps={name:"",disabled:!1,placeholder:"",autoFocus:!1,resizeable:!1},t.default=h,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.ImagePositions=t.Types=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(5),p=a(d),h=n(66),g=a(h),m=n(50),v=a(m),E=n(15),y=a(E),_=n(141),b=a(_),S=n(2109),I=a(S),T=(t.Types=b.default.Types,t.ImagePositions={LEFT:"left",RIGHT:"right"}),N=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e,t,n=this.props,a=n.type,r=n.imageData,i=n.button,s=n.className,f=n.iconClassName,d=n.title,m=n.body,E=void 0,_=y.default.Direction.HORIZONTAL;if(null!=r){var S=r.position,N=o(r,["position"]);E=u(y.default.Child,{grow:0,shrink:0},void 0,c.default.createElement("img",l({className:(0,p.default)(I.default.icon,f)},N))),S===T.RIGHT&&(_=y.default.Direction.HORIZONTAL_REVERSE)}else null!=i&&(E=i);var A=!0;return a===b.default.Types.PRIMARY&&(A=!1),u(b.default,{className:(0,p.default)(I.default.formNotice,s),type:a},void 0,u(y.default,{direction:_,align:y.default.Align.START},void 0,E,u(y.default.Child,{},void 0,d?u(g.default,{faded:!0,tag:h.Tags.H5,className:(0,p.default)(I.default.formNoticeTitle,(e={},e[I.default.whiteText]=A,e))},void 0,d):null,u(v.default,{className:(0,p.default)(I.default.formNoticeBody,(t={},t[I.default.whiteText]=A,t))},void 0,m))))},t}(c.default.PureComponent);N.Types=b.default.Types,N.defaultProps={type:b.default.Types.DANGER},t.default=N},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),function(e){return o("svg",{className:"ui-icon-check-mark",width:"18",height:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},void 0,o("g",{className:"ui-icon-fg",fill:"none",fillRule:"evenodd"},void 0,o("polyline",{className:"ui-icon-fg",style:{stroke:e.color},strokeWidth:"2",points:"3.5 9.5 7 13 15 5"})))});t.default=i,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(58),r=a(o),i=n(18),s=a(i);t.default={getIdleTime:function(e){s.default.getIdleMilliseconds(e)},dump:function(e){var t=void 0;performance.memory&&(t={jsHeapSizeLimit:performance.memory.jsHeapSizeLimit,totalJSHeapSize:performance.memory.totalJSHeapSize,usedJSHeapSize:performance.memory.usedJSHeapSize}),e({browser:{name:r.default.name,version:r.default.version},os:{name:r.default.os.family,version:r.default.os.version},memory:t})},getTimeSinceNavigationStart:function(){return Date.now()-window.performance.timing.navigationStart}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,a){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=t.length;if(e.length!==r)return console.warn("Arrays are not of the same length!",e,t),[];var i=e.map(n).sort().join(":"),s=t.map(n).sort().join(":");if(i!==s)return console.warn("Object IDs in the old ordering and the new ordering are not the same.",i,s),[];for(var l={},u=0;u<r;u++)l[n(e[u])]=a(e[u]);for(var f=[],c=0;c<r;c++){var d=n(t[c]),p=l[d],h=o?c:r-c;p===h&&a(t[c])===h||f.push({id:d,position:h})}return o||f.reverse(),f}function r(e,t,n){var a=e[t],o=[].concat(e);return o.splice(t,1),o.splice(n,0,a),o}function i(e,t,n,a,i){var s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return Array.isArray(e)||(e=l.default.values(e)),o(e,r(e,t,n),a,i,s)}t.__esModule=!0;var s=n(7),l=a(s);t.default={moveItemFromTo:r,calculatePositionDeltas:o,getPositionUpdates:i},e.exports=t.default},function(e,t,n){"use strict";function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Array.isArray(e)?e.forEach(function(e){return a(e,t)}):"string"==typeof e.content?t.push(e.content):null!=e.content&&a(e.content,t),t}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(Array.isArray(e)){for(var n=e.length,a=0;a<n;a++)e[a]=o(e[a],t);return e}return null!=e.content&&(e.content=o(e.content,e)),null!=t&&e.type===t.type?e.content:e}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:200};if("text"!==e.type&&(t.limit-=1,t.limit<=0))return s;if(Array.isArray(e))for(var n=e.length,a=0;a<n;a++){var o=r(e[a],t);if(o===s){e.length=a;break}e[a]=o}return e}function i(e){return a(e).join("")}t.__esModule=!0;var s=new Function;t.astToString=i,t.flattenAst=o,t.constrainAst=r},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){return i.default.ensure(l).then(function(e){return e.setPublishableKey(s.PaymentSettings.STRIPE.KEY),e})}t.__esModule=!0,t.ensureStripeIsLoaded=o;var r=n(843),i=a(r),s=n(1),l="https://js.stripe.com/v2/";i.default.register(l,"Stripe")},function(e,t,n){"use strict";var a=0;e.exports=function(){return String(a++)}},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;!function(e,t){__WEBPACK_AMD_DEFINE_FACTORY__=t,__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}(window,function(){function ProjectInterface(){return{}}function roundValues(e){bm_rnd=e?Math.round:function(e){return e}}function roundTo2Decimals(e){return Math.round(1e4*e)/1e4}function roundTo3Decimals(e){return Math.round(100*e)/100}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin=e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility=e.style.webkitBackfaceVisibility="visible",e.style.transformStyle=e.style.webkitTransformStyle=e.style.mozTransformStyle="preserve-3d"}function styleUnselectableDiv(e){e.style.userSelect="none",e.style.MozUserSelect="none",e.style.webkitUserSelect="none",e.style.oUserSelect="none"}function BMEnterFrameEvent(e,t,n,a){this.type=e,this.currentTime=t,this.totalTime=n,this.direction=a<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,n,a){this.type=e,this.currentLoop=t,this.totalLoops=n,this.direction=a<0?-1:1}function BMSegmentStartEvent(e,t,n){this.type=e,this.firstFrame=t,this.totalFrames=n}function BMDestroyEvent(e,t){this.type=e,this.target=t}function _addEventListener(e,t){this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t)}function _removeEventListener(e,t){if(t){if(this._cbs[e]){for(var n=0,a=this._cbs[e].length;n<a;)this._cbs[e][n]===t&&(this._cbs[e].splice(n,1),n-=1,a-=1),n+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}function _triggerEvent(e,t){if(this._cbs[e])for(var n=this._cbs[e].length,a=0;a<n;a++)this._cbs[e][a](t)}function randomString(e,t){void 0===t&&(t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890");var n,a="";for(n=e;n>0;--n)a+=t[Math.round(Math.random()*(t.length-1))];return a}function HSVtoRGB(e,t,n){var a,o,r,i,s,l,u,f;switch(1===arguments.length&&(t=e.s,n=e.v,e=e.h),i=Math.floor(6*e),s=6*e-i,l=n*(1-t),u=n*(1-s*t),f=n*(1-(1-s)*t),i%6){case 0:a=n,o=f,r=l;break;case 1:a=u,o=n,r=l;break;case 2:a=l,o=n,r=f;break;case 3:a=l,o=u,r=n;break;case 4:a=f,o=l,r=n;break;case 5:a=n,o=l,r=u}return[a,o,r]}function RGBtoHSV(e,t,n){1===arguments.length&&(t=e.g,n=e.b,e=e.r);var a,o=Math.max(e,t,n),r=Math.min(e,t,n),i=o-r,s=0===o?0:i/o,l=o/255;switch(o){case r:a=0;break;case e:a=t-n+i*(t<n?6:0),a/=6*i;break;case t:a=n-e+2*i,a/=6*i;break;case n:a=e-t+4*i,a/=6*i}return[a,s,l]}function addSaturationToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[1]+=t,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}function componentToHex(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function fillToRgba(e,t){if(!cachedColors[e]){var n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);cachedColors[e]=parseInt(n[1],16)+","+parseInt(n[2],16)+","+parseInt(n[3],16)}return"rgba("+cachedColors[e]+","+t+")"}function RenderedFrame(e,t){this.tr=e,this.o=t}function LetterProps(e,t,n,a,o,r){this.o=e,this.sw=t,this.sc=n,this.fc=a,this.m=o,this.props=r}function iterateDynamicProperties(e){var t,n=this.dynamicProperties;for(t=0;t<n;t+=1)this.dynamicProperties[t].getValue(e)}function reversePath(e){var t,n,a=[],o=[],r=[],i={},s=0;e.c&&(a[0]=e.o[0],o[0]=e.i[0],r[0]=e.v[0],s=1),n=e.i.length;var l=n-1;for(t=s;t<n;t+=1)a.push(e.o[l]),o.push(e.i[l]),r.push(e.v[l]),l-=1;return i.i=a,i.o=o,i.v=r,i}function Matrix(){}function matrixManagerFunction(){var e=new Matrix,t=function(t,n,a,o,r){return e.reset().translate(o,r).rotate(t).scale(n,a).toCSS()};return{getMatrix:function(e){return t(e.tr.r[2],e.tr.s[0],e.tr.s[1],e.tr.p[0],e.tr.p[1])}}}function createElement(e,t,n){if(!t){var a=Object.create(e.prototype,n),o={};return a&&"[object Function]"===o.toString.call(a.init)&&a.init(),a}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype._parent=e.prototype}function extendPrototype(e,t){for(var n in e.prototype)e.prototype.hasOwnProperty(n)&&(t.prototype[n]=e.prototype[n])}function bezFunction(){function e(e,t,n,a,o,r){var i=e*a+t*o+n*r-o*a-r*e-n*t;return i>-1e-4&&i<1e-4}function t(t,n,a,o,r,i,s,l,u){return e(t,n,o,r,s,l)&&e(t,a,o,i,s,u)}function n(e){this.segmentLength=0,this.points=new Array(e)}function a(e,t){this.partialLength=e,this.point=t}function o(e,t){var n=t.segments,a=n.length,o=bm_floor((a-1)*e),r=e*t.addedLength,i=0;if(r==n[o].l)return n[o].p;for(var s=n[o].l>r?-1:1,l=!0;l;)n[o].l<=r&&n[o+1].l>r?(i=(r-n[o].l)/(n[o+1].l-n[o].l),l=!1):o+=s,(o<0||o>=a-1)&&(l=!1);return n[o].p+(n[o+1].p-n[o].p)*i}function r(){this.pt1=new Array(2),this.pt2=new Array(2),this.pt3=new Array(2),this.pt4=new Array(2)}function i(e,t,n,a,i,s,l){var u=new r;i=i<0?0:i>1?1:i;var f=o(i,l);s=s>1?1:s;var c,d=o(s,l),p=e.length,h=1-f,g=1-d;for(c=0;c<p;c+=1)u.pt1[c]=Math.round(1e3*(h*h*h*e[c]+(f*h*h+h*f*h+h*h*f)*n[c]+(f*f*h+h*f*f+f*h*f)*a[c]+f*f*f*t[c]))/1e3,u.pt3[c]=Math.round(1e3*(h*h*g*e[c]+(f*h*g+h*f*g+h*h*d)*n[c]+(f*f*g+h*f*d+f*h*d)*a[c]+f*f*d*t[c]))/1e3,u.pt4[c]=Math.round(1e3*(h*g*g*e[c]+(f*g*g+h*d*g+h*g*d)*n[c]+(f*d*g+h*d*d+f*g*d)*a[c]+f*d*d*t[c]))/1e3,u.pt2[c]=Math.round(1e3*(g*g*g*e[c]+(d*g*g+g*d*g+g*g*d)*n[c]+(d*d*g+g*d*d+d*g*d)*a[c]+d*d*d*t[c]))/1e3;return u}Math;return{getBezierLength:function(){function e(e,t){this.l=e,this.p=t}return function(t,n,a,o){var r,i,s,l,u,f,c=defaultCurveSegments,d=0,p=[],h=[],g={addedLength:0,segments:[]};for(s=a.length,r=0;r<c;r+=1){for(u=r/(c-1),f=0,i=0;i<s;i+=1)l=bm_pow(1-u,3)*t[i]+3*bm_pow(1-u,2)*u*a[i]+3*(1-u)*bm_pow(u,2)*o[i]+bm_pow(u,3)*n[i],p[i]=l,null!==h[i]&&(f+=bm_pow(p[i]-h[i],2)),h[i]=p[i];f&&(f=bm_sqrt(f),d+=f),g.segments.push(new e(d,u))}return g.addedLength=d,g}}(),getNewSegment:i,buildBezierData:function(){var t={};return function(o){var r=o.s,i=o.e,s=o.to,l=o.ti,u=(r.join("_")+"_"+i.join("_")+"_"+s.join("_")+"_"+l.join("_")).replace(/\./g,"p");if(t[u])return void(o.bezierData=t[u]);var f,c,d,p,h,g,m,v=defaultCurveSegments,E=0,y=null;2===r.length&&(r[0]!=i[0]||r[1]!=i[1])&&e(r[0],r[1],i[0],i[1],r[0]+s[0],r[1]+s[1])&&e(r[0],r[1],i[0],i[1],i[0]+l[0],i[1]+l[1])&&(v=2);var _=new n(v);for(d=s.length,f=0;f<v;f+=1){for(m=new Array(d),h=f/(v-1),g=0,c=0;c<d;c+=1)p=bm_pow(1-h,3)*r[c]+3*bm_pow(1-h,2)*h*(r[c]+s[c])+3*(1-h)*bm_pow(h,2)*(i[c]+l[c])+bm_pow(h,3)*i[c],m[c]=p,null!==y&&(g+=bm_pow(m[c]-y[c],2));g=bm_sqrt(g),E+=g,_.points[f]=new a(g,m),y=m}_.segmentLength=E,o.bezierData=_,t[u]=_}}(),pointOnLine2D:e,pointOnLine3D:t}}function dataFunctionManager(){function e(o,r,s){var l,u,f,c,d,p,h=o.length;for(u=0;u<h;u+=1)if(l=o[u],"ks"in l&&!l.completed){if(l.completed=!0,l.tt&&(o[u-1].td=l.tt),[],-1,l.hasMask){var g=l.masksProperties;for(c=g.length,f=0;f<c;f+=1)if(g[f].pt.k.i)a(g[f].pt.k);else for(p=g[f].pt.k.length,d=0;d<p;d+=1)g[f].pt.k[d].s&&a(g[f].pt.k[d].s[0]),g[f].pt.k[d].e&&a(g[f].pt.k[d].e[0])}0===l.ty?(l.layers=t(l.refId,r),e(l.layers,r,s)):4===l.ty?n(l.shapes):5==l.ty&&i(l,s)}}function t(e,t){for(var n=0,a=t.length;n<a;){if(t[n].id===e)return t[n].layers;n+=1}}function n(e){var t,o,r,i=e.length;for(t=i-1;t>=0;t-=1)if("sh"==e[t].ty){if(e[t].ks.k.i)a(e[t].ks.k);else for(r=e[t].ks.k.length,o=0;o<r;o+=1)e[t].ks.k[o].s&&a(e[t].ks.k[o].s[0]),e[t].ks.k[o].e&&a(e[t].ks.k[o].e[0]);!0}else"gr"==e[t].ty&&n(e[t].it)}function a(e){var t,n=e.i.length;for(t=0;t<n;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function o(e,t){var n=t?t.split("."):[100,100,100];return e[0]>n[0]||!(n[0]>e[0])&&(e[1]>n[1]||!(n[1]>e[1])&&(e[2]>n[2]||!(n[2]>e[2])&&void 0))}function r(t,n){t.__complete||(l(t),s(t),u(t),e(t.layers,t.assets,n),t.__complete=!0)}function i(e,t){var n,a,o=e.t.d.k,r=o.length;for(a=0;a<r;a+=1){var i=e.t.d.k[a].s;n=[];var s,l,u,f,c,d,p,h=0,g=e.t.m.g,m=0,v=0,E=0,y=[],_=0,b=0,S=t.getFontByName(i.f),I=0,T=S.fStyle.split(" "),N="normal",A="normal";for(l=T.length,s=0;s<l;s+=1)"italic"===T[s].toLowerCase()?A="italic":"bold"===T[s].toLowerCase()?N="700":"black"===T[s].toLowerCase()?N="900":"medium"===T[s].toLowerCase()?N="500":"regular"===T[s].toLowerCase()||"normal"===T[s].toLowerCase()?N="400":"light"!==T[s].toLowerCase()&&"thin"!==T[s].toLowerCase()||(N="200");if(i.fWeight=N,i.fStyle=A,l=i.t.length,i.sz){var M=i.sz[0],C=-1;for(s=0;s<l;s+=1)u=!1," "===i.t.charAt(s)?C=s:13===i.t.charCodeAt(s)&&(_=0,u=!0),t.chars?(p=t.getCharData(i.t.charAt(s),S.fStyle,S.fFamily),I=u?0:p.w*i.s/100):I=t.measureText(i.t.charAt(s),i.f,i.s),_+I>M?(C===-1?(i.t=i.t.substr(0,s)+"\r"+i.t.substr(s),l+=1):(s=C,i.t=i.t.substr(0,s)+"\r"+i.t.substr(s+1)),C=-1,_=0):_+=I;l=i.t.length}for(_=0,I=0,s=0;s<l;s+=1)if(u=!1," "===i.t.charAt(s)?f=" ":13===i.t.charCodeAt(s)?(y.push(_),b=_>b?_:b,_=0,f="",u=!0,E+=1):f=i.t.charAt(s),t.chars?(p=t.getCharData(i.t.charAt(s),S.fStyle,t.getFontByName(i.f).fFamily),I=u?0:p.w*i.s/100):I=t.measureText(f,i.f,i.s),_+=I,n.push({l:I,an:I,add:m,n:u,anIndexes:[],val:f,line:E}),2==g){if(m+=I,""==f||" "==f||s==l-1){for(""!=f&&" "!=f||(m-=I);v<=s;)n[v].an=m,n[v].ind=h,n[v].extra=I,v+=1;h+=1,m=0}}else if(3==g){if(m+=I,""==f||s==l-1){for(""==f&&(m-=I);v<=s;)n[v].an=m,n[v].ind=h,n[v].extra=I,v+=1;m=0,h+=1}}else n[h].ind=h,n[h].extra=0,h+=1;if(i.l=n,b=_>b?_:b,y.push(_),i.sz)i.boxWidth=i.sz[0],i.justifyOffset=0;else switch(i.boxWidth=b,i.j){case 1:i.justifyOffset=-i.boxWidth;break;case 2:i.justifyOffset=-i.boxWidth/2;break;default:i.justifyOffset=0}i.lineWidths=y;var O=e.t.a;d=O.length;var D,L,R=[];for(c=0;c<d;c+=1){for(O[c].a.sc&&(i.strokeColorAnim=!0),O[c].a.sw&&(i.strokeWidthAnim=!0),(O[c].a.fc||O[c].a.fh||O[c].a.fs||O[c].a.fb)&&(i.fillColorAnim=!0),L=0,D=O[c].s.b,s=0;s<l;s+=1)n[s].anIndexes[c]=L,(1==D&&""!=n[s].val||2==D&&""!=n[s].val&&" "!=n[s].val||3==D&&(n[s].n||" "==n[s].val||s==l-1)||4==D&&(n[s].n||s==l-1))&&(1===O[c].s.rn&&R.push(L),L+=1);e.t.a[c].s.totalChars=L;var x,w=-1;if(1===O[c].s.rn)for(s=0;s<l;s+=1)w!=n[s].anIndexes[c]&&(w=n[s].anIndexes[c],x=R.splice(Math.floor(Math.random()*R.length),1)[0]),n[s].anIndexes[c]=x}0!==d||"m"in e.t.p||(e.singleShape=!0),i.yOffset=i.lh||1.2*i.s,i.ascent=S.ascent*i.s/100}}var s=function(){function e(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function t(t){var n,a=t.length;for(n=0;n<a;n+=1)5===t[n].ty&&e(t[n])}var n=[4,4,14];return function(e){if(o(n,e.v)&&(t(e.layers),e.assets)){var a,r=e.assets.length;for(a=0;a<r;a+=1)e.assets[a].layers&&t(e.assets[a].layers)}}}(),l=function(){function e(t){var n,a,o,r=t.length;for(n=0;n<r;n+=1)if("gr"===t[n].ty)e(t[n].it);else if("fl"===t[n].ty||"st"===t[n].ty)if(t[n].c.k&&t[n].c.k[0].i)for(o=t[n].c.k.length,a=0;a<o;a+=1)t[n].c.k[a].s&&(t[n].c.k[a].s[0]/=255,t[n].c.k[a].s[1]/=255,t[n].c.k[a].s[2]/=255,t[n].c.k[a].s[3]/=255),t[n].c.k[a].e&&(t[n].c.k[a].e[0]/=255,t[n].c.k[a].e[1]/=255,t[n].c.k[a].e[2]/=255,t[n].c.k[a].e[3]/=255);else t[n].c.k[0]/=255,t[n].c.k[1]/=255,t[n].c.k[2]/=255,t[n].c.k[3]/=255}function t(t){var n,a=t.length;for(n=0;n<a;n+=1)4===t[n].ty&&e(t[n].shapes)}var n=[4,1,9];return function(e){if(o(n,e.v)&&(t(e.layers),e.assets)){var a,r=e.assets.length;for(a=0;a<r;a+=1)e.assets[a].layers&&t(e.assets[a].layers)}}}(),u=function(){function e(t){var n,a,o,r=t.length;for(n=r-1;n>=0;n-=1)if("sh"==t[n].ty){if(t[n].ks.k.i)t[n].ks.k.c=t[n].closed;else for(o=t[n].ks.k.length,a=0;a<o;a+=1)t[n].ks.k[a].s&&(t[n].ks.k[a].s[0].c=t[n].closed),t[n].ks.k[a].e&&(t[n].ks.k[a].e[0].c=t[n].closed);!0}else"gr"==t[n].ty&&e(t[n].it)}function t(t){var n,a,o,r,i,s,l=t.length;for(a=0;a<l;a+=1){if(n=t[a],n.hasMask){var u=n.masksProperties;for(r=u.length,o=0;o<r;o+=1)if(u[o].pt.k.i)u[o].pt.k.c=u[o].cl;else for(s=u[o].pt.k.length,i=0;i<s;i+=1)u[o].pt.k[i].s&&(u[o].pt.k[i].s[0].c=u[o].cl),u[o].pt.k[i].e&&(u[o].pt.k[i].e[0].c=u[o].cl)}4===n.ty&&e(n.shapes)}}var n=[4,4,18];return function(e){if(o(n,e.v)&&(t(e.layers),e.assets)){var a,r=e.assets.length;for(a=0;a<r;a+=1)e.assets[a].layers&&t(e.assets[a].layers)}}}(),f={};return f.completeData=r,f}function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function BaseRenderer(){}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.globalData={frameNum:-1},this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",progressiveLoad:t&&t.progressiveLoad||!1},this.elements=[],this.pendingElements=[],this.destroyed=!1}function MaskElement(e,t,n){this.dynamicProperties=[],this.data=e,this.element=t,this.globalData=n,this.paths=[],this.storedData=[],this.masksProperties=this.data.masksProperties,this.viewData=new Array(this.masksProperties.length),this.maskElement=null,this.firstFrame=!0;var a,o,r,i,s,l,u,f,c=this.globalData.defs,d=this.masksProperties.length,p=this.masksProperties,h=0,g=[],m=randomString(10),v="clipPath",E="clip-path";for(a=0;a<d;a++)if(("a"!==p[a].mode&&"n"!==p[a].mode||p[a].inv||100!==p[a].o.k)&&(v="mask",E="mask"),"s"!=p[a].mode&&"i"!=p[a].mode||0!=h?s=null:(s=document.createElementNS(svgNS,"rect"),s.setAttribute("fill","#ffffff"),s.setAttribute("width",this.element.comp.data.w),s.setAttribute("height",this.element.comp.data.h),g.push(s)),o=document.createElementNS(svgNS,"path"),"n"!=p[a].mode){if(h+=1,"s"==p[a].mode?o.setAttribute("fill","#000000"):o.setAttribute("fill","#ffffff"),o.setAttribute("clip-rule","nonzero"),0!==p[a].x.k){v="mask",E="mask",f=PropertyFactory.getProp(this.element,p[a].x,0,null,this.dynamicProperties);var y="fi_"+randomString(10);l=document.createElementNS(svgNS,"filter"),l.setAttribute("id",y),u=document.createElementNS(svgNS,"feMorphology"),u.setAttribute("operator","dilate"),u.setAttribute("in","SourceGraphic"),u.setAttribute("radius","0"),l.appendChild(u),c.appendChild(l),"s"==p[a].mode?o.setAttribute("stroke","#000000"):o.setAttribute("stroke","#ffffff")}else u=null,f=null;if(this.storedData[a]={elem:o,x:f,expan:u,lastPath:"",lastOperator:"",filterId:y,lastRadius:0},"i"==p[a].mode){i=g.length;var _=document.createElementNS(svgNS,"g");for(r=0;r<i;r+=1)_.appendChild(g[r]);var b=document.createElementNS(svgNS,"mask");b.setAttribute("mask-type","alpha"),b.setAttribute("id",m+"_"+h),b.appendChild(o),c.appendChild(b),_.setAttribute("mask","url(#"+m+"_"+h+")"),g.length=0,g.push(_)}else g.push(o);p[a].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[a]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,p[a].o,0,.01,this.dynamicProperties),prop:ShapePropertyFactory.getShapeProp(this.element,p[a],3,this.dynamicProperties,null)},s&&(this.viewData[a].invRect=s),this.viewData[a].prop.k||this.drawPath(p[a],this.viewData[a].prop.v,this.viewData[a])}else this.viewData[a]={op:PropertyFactory.getProp(this.element,p[a].o,0,.01,this.dynamicProperties),prop:ShapePropertyFactory.getShapeProp(this.element,p[a],3,this.dynamicProperties,null),elem:o},c.appendChild(o);for(this.maskElement=document.createElementNS(svgNS,v),d=g.length,a=0;a<d;a+=1)this.maskElement.appendChild(g[a]);this.maskElement.setAttribute("id",m),h>0&&this.element.maskedElement.setAttribute(E,"url(#"+m+")"),c.appendChild(this.maskElement)}function BaseElement(){}function SVGBaseElement(e,t,n,a,o){this.globalData=n,this.comp=a,this.data=e,this.matteElement=null,this.transformedElement=null,this.parentContainer=t,this.layerId=o?o.layerId:"ly_"+randomString(10),this.placeholder=o,this.init()}function ITextElement(e,t,n,a){}function SVGTextElement(e,t,n,a,o){this.textSpans=[],this.renderType="svg",this._parent.constructor.call(this,e,t,n,a,o)}function SVGTintFilter(e,t){this.filterManager=t;var n=document.createElementNS(svgNS,"feColorMatrix");if(n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),n.setAttribute("result","f1"),e.appendChild(n),n=document.createElementNS(svgNS,"feColorMatrix"),n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result","f2"),e.appendChild(n),this.matrixFilter=n,100!==t.effectElements[2].p.v||t.effectElements[2].p.k){var a=document.createElementNS(svgNS,"feMerge");e.appendChild(a);var o;o=document.createElementNS(svgNS,"feMergeNode"),o.setAttribute("in","SourceGraphic"),a.appendChild(o),o=document.createElementNS(svgNS,"feMergeNode"),o.setAttribute("in","f2"),a.appendChild(o)}}function SVGFillFilter(e,t){this.filterManager=t;var n=document.createElementNS(svgNS,"feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.appendChild(n),this.matrixFilter=n}function SVGStrokeEffect(e,t){this.initialized=!1,this.filterManager=t,this.elem=e,this.paths=[]}function SVGTritoneFilter(e,t){this.filterManager=t;var n=document.createElementNS(svgNS,"feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),n.setAttribute("result","f1"),e.appendChild(n);var a=document.createElementNS(svgNS,"feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a),this.matrixFilter=a;var o=document.createElementNS(svgNS,"feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var r=document.createElementNS(svgNS,"feFuncG");r.setAttribute("type","table"),a.appendChild(r),this.feFuncG=r;var i=document.createElementNS(svgNS,"feFuncB");i.setAttribute("type","table"),a.appendChild(i),this.feFuncB=i}function SVGProLevelsFilter(e,t){this.filterManager=t;var n=this.filterManager.effectElements,a=document.createElementNS(svgNS,"feComponentTransfer");(n[9].p.k||0!==n[9].p.v||n[10].p.k||1!==n[10].p.v||n[11].p.k||1!==n[11].p.v||n[12].p.k||0!==n[12].p.v||n[13].p.k||1!==n[13].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(n[16].p.k||0!==n[16].p.v||n[17].p.k||1!==n[17].p.v||n[18].p.k||1!==n[18].p.v||n[19].p.k||0!==n[19].p.v||n[20].p.k||1!==n[20].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(n[23].p.k||0!==n[23].p.v||n[24].p.k||1!==n[24].p.v||n[25].p.k||1!==n[25].p.v||n[26].p.k||0!==n[26].p.v||n[27].p.k||1!==n[27].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(n[30].p.k||0!==n[30].p.v||n[31].p.k||1!==n[31].p.v||n[32].p.k||1!==n[32].p.v||n[33].p.k||0!==n[33].p.v||n[34].p.k||1!==n[34].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a),a=document.createElementNS(svgNS,"feComponentTransfer")),(n[2].p.k||0!==n[2].p.v||n[3].p.k||1!==n[3].p.v||n[4].p.k||1!==n[4].p.v||n[5].p.k||0!==n[5].p.v||n[6].p.k||1!==n[6].p.v)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}function SVGDropShadowEffect(e,t){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","400%"),e.setAttribute("height","400%"),this.filterManager=t;var n=document.createElementNS(svgNS,"feGaussianBlur");n.setAttribute("in","SourceAlpha"),n.setAttribute("result","drop_shadow_1"),n.setAttribute("stdDeviation","0"),this.feGaussianBlur=n,e.appendChild(n);var a=document.createElementNS(svgNS,"feOffset");a.setAttribute("dx","25"),a.setAttribute("dy","0"),a.setAttribute("in","drop_shadow_1"),a.setAttribute("result","drop_shadow_2"),this.feOffset=a,e.appendChild(a);var o=document.createElementNS(svgNS,"feFlood");o.setAttribute("flood-color","#00ff00"),o.setAttribute("flood-opacity","1"),o.setAttribute("result","drop_shadow_3"),this.feFlood=o,e.appendChild(o);var r=document.createElementNS(svgNS,"feComposite");r.setAttribute("in","drop_shadow_3"),r.setAttribute("in2","drop_shadow_2"),r.setAttribute("operator","in"),r.setAttribute("result","drop_shadow_4"),e.appendChild(r);var i=document.createElementNS(svgNS,"feMerge");e.appendChild(i);var s;s=document.createElementNS(svgNS,"feMergeNode"),i.appendChild(s),s=document.createElementNS(svgNS,"feMergeNode"),s.setAttribute("in","SourceGraphic"),this.feMergeNode=s,this.feMerge=i,this.originalNodeAdded=!1,i.appendChild(s)}function SVGEffects(e){var t,n=e.data.ef.length,a=randomString(10),o=filtersFactory.createFilter(a),r=0;this.filters=[];var i;for(t=0;t<n;t+=1)20===e.data.ef[t].ty?(r+=1,i=new SVGTintFilter(o,e.effects.effectElements[t]),this.filters.push(i)):21===e.data.ef[t].ty?(r+=1,i=new SVGFillFilter(o,e.effects.effectElements[t]),this.filters.push(i)):22===e.data.ef[t].ty?(i=new SVGStrokeEffect(e,e.effects.effectElements[t]),this.filters.push(i)):23===e.data.ef[t].ty?(r+=1,i=new SVGTritoneFilter(o,e.effects.effectElements[t]),this.filters.push(i)):24===e.data.ef[t].ty?(r+=1,i=new SVGProLevelsFilter(o,e.effects.effectElements[t]),this.filters.push(i)):25===e.data.ef[t].ty&&(r+=1,i=new SVGDropShadowEffect(o,e.effects.effectElements[t]),this.filters.push(i));r&&(e.globalData.defs.appendChild(o),e.layerElement.setAttribute("filter","url(#"+a+")"))}function ICompElement(e,t,n,a,o){this._parent.constructor.call(this,e,t,n,a,o),this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?Array.apply(null,{length:this.layers.length}):[],this.data.tm&&(this.tm=PropertyFactory.getProp(this,this.data.tm,0,n.frameRate,this.dynamicProperties)),this.data.xt?(this.layerElement=document.createElementNS(svgNS,"g"),this.buildAllItems()):n.progressiveLoad||this.buildAllItems()}function IImageElement(e,t,n,a,o){this.assetData=n.getAssetData(e.refId),this._parent.constructor.call(this,e,t,n,a,o)}function IShapeElement(e,t,n,a,o){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.viewData=[],this.shapeModifiers=[],this._parent.constructor.call(this,e,t,n,a,o)}function ISolidElement(e,t,n,a,o){this._parent.constructor.call(this,e,t,n,a,o)}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet"},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1},this.contextData={saved:Array.apply(null,{length:15}),savedOp:Array.apply(null,{length:15}),cArrPos:0,cTr:new Matrix,cO:1};var n;for(n=0;n<15;n+=1)this.contextData.saved[n]=Array.apply(null,{length:16});this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1}function HybridRenderer(e){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.globalData={frameNum:-1},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0}function CVBaseElement(e,t,n){this.globalData=n,this.data=e,this.comp=t,this.canvasContext=n.canvasContext,this.init()}function CVCompElement(e,t,n){this._parent.constructor.call(this,e,t,n);var a={};for(var o in n)n.hasOwnProperty(o)&&(a[o]=n[o]);a.renderer=this,a.compHeight=this.data.h,a.compWidth=this.data.w,this.renderConfig={clearCanvas:!0},this.contextData={saved:Array.apply(null,{length:15}),savedOp:Array.apply(null,{length:15}),cArrPos:0,cTr:new Matrix,cO:1},this.completeLayers=!1;var r;for(r=0;r<15;r+=1)this.contextData.saved[r]=Array.apply(null,{length:16});this.transformMat=new Matrix,this.parentGlobalData=this.globalData;var i=document.createElement("canvas");a.canvasContext=i.getContext("2d"),this.canvasContext=a.canvasContext,i.width=this.data.w,i.height=this.data.h,this.canvas=i,this.globalData=a,this.layers=e.layers,this.pendingElements=[],this.elements=Array.apply(null,{length:this.layers.length}),this.data.tm&&(this.tm=PropertyFactory.getProp(this,this.data.tm,0,n.frameRate,this.dynamicProperties)),!this.data.xt&&n.progressiveLoad||this.buildAllItems()}function CVImageElement(e,t,n){this.assetData=n.getAssetData(e.refId),this._parent.constructor.call(this,e,t,n),this.globalData.addPendingElement()}function CVMaskElement(e,t){this.data=e,this.element=t,this.dynamicProperties=[],this.masksProperties=this.data.masksProperties,this.viewData=new Array(this.masksProperties.length);var n,a=this.masksProperties.length;for(n=0;n<a;n++)this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3,this.dynamicProperties,null)}function CVShapeElement(e,t,n){this.shapes=[],this.stylesList=[],this.viewData=[],this.shapeModifiers=[],this.shapesData=e.shapes,this.firstFrame=!0,this._parent.constructor.call(this,e,t,n)}function CVSolidElement(e,t,n){this._parent.constructor.call(this,e,t,n)}function CVTextElement(e,t,n){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this._parent.constructor.call(this,e,t,n)}function HBaseElement(e,t,n,a,o){this.globalData=n,this.comp=a,this.data=e,this.matteElement=null,this.parentContainer=t,this.layerId=o?o.layerId:"ly_"+randomString(10),this.placeholder=o,this.init()}function HSolidElement(e,t,n,a,o){this._parent.constructor.call(this,e,t,n,a,o)}function HCompElement(e,t,n,a,o){this._parent.constructor.call(this,e,t,n,a,o),this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=Array.apply(null,{length:this.layers.length}),this.data.tm&&(this.tm=PropertyFactory.getProp(this,this.data.tm,0,n.frameRate,this.dynamicProperties)),this.data.hasMask&&(this.supports3d=!1),this.data.xt&&(this.layerElement=document.createElement("div")),this.buildAllItems()}function HShapeElement(e,t,n,a,o){this.shapes=[],this.shapeModifiers=[],this.shapesData=e.shapes,this.stylesList=[],this.viewData=[],this._parent.constructor.call(this,e,t,n,a,o),this.addedTransforms={mdf:!1,mats:[this.finalTransform.mat]},this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,n,a,o){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this._parent.constructor.call(this,e,t,n,a,o)}function HImageElement(e,t,n,a,o){this.assetData=n.getAssetData(e.refId),this._parent.constructor.call(this,e,t,n,a,o)}function HCameraElement(e,t,n,a,o){if(this._parent.constructor.call(this,e,t,n,a,o),this.pe=PropertyFactory.getProp(this,e.pe,0,0,this.dynamicProperties),e.ks.p.s?(this.px=PropertyFactory.getProp(this,e.ks.p.x,1,0,this.dynamicProperties),this.py=PropertyFactory.getProp(this,e.ks.p.y,1,0,this.dynamicProperties),this.pz=PropertyFactory.getProp(this,e.ks.p.z,1,0,this.dynamicProperties)):this.p=PropertyFactory.getProp(this,e.ks.p,1,0,this.dynamicProperties),e.ks.a&&(this.a=PropertyFactory.getProp(this,e.ks.a,1,0,this.dynamicProperties)),e.ks.or.k.length){var r,i=e.ks.or.k.length;for(r=0;r<i;r+=1)e.ks.or.k[r].to=null,e.ks.or.k[r].ti=null}this.or=PropertyFactory.getProp(this,e.ks.or,1,degToRads,this.dynamicProperties),this.or.sh=!0,this.rx=PropertyFactory.getProp(this,e.ks.rx,0,degToRads,this.dynamicProperties),this.ry=PropertyFactory.getProp(this,e.ks.ry,0,degToRads,this.dynamicProperties),this.rz=PropertyFactory.getProp(this,e.ks.rz,0,degToRads,this.dynamicProperties),this.mat=new Matrix}function SliderEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function AngleEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function ColorEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function PointEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function LayerIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function MaskIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function CheckboxEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(e,t,n){var a=e.ef;this.effectElements=[];var o,r,i=a.length;for(o=0;o<i;o++)r=new GroupEffect(a[o],t,n),this.effectElements.push(r)}function GroupEffect(e,t,n){this.dynamicProperties=[],this.init(e,t,this.dynamicProperties),this.dynamicProperties.length&&n.push(this)}function play(e){animationManager.play(e)}function pause(e){animationManager.pause(e)}function togglePause(e){animationManager.togglePause(e)}function setSpeed(e,t){animationManager.setSpeed(e,t)}function setDirection(e,t){animationManager.setDirection(e,t)}function stop(e){animationManager.stop(e)}function moveFrame(e){animationManager.moveFrame(e)}function searchAnimations(){standalone===!0?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function registerAnimation(e){return animationManager.registerAnimation(e)}function resize(){animationManager.resize()}function start(){animationManager.start()}function goToAndStop(e,t,n){animationManager.goToAndStop(e,t,n)}function setSubframeRendering(e){subframeEnabled=e}function loadAnimation(e){return standalone===!0&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function destroy(e){return animationManager.destroy(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":defaultCurveSegments=200;break;case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10}else!isNaN(e)&&e>1&&(defaultCurveSegments=e);roundValues(!(defaultCurveSegments>=50))}function installPlugin(e,t){"expressions"===e&&(expressionsPlugin=t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),n=0;n<t.length;n++){var a=t[n].split("=");if(decodeURIComponent(a[0])==e)return decodeURIComponent(a[1])}}var svgNS="http://www.w3.org/2000/svg",subframeEnabled=!0,expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bm_rounder=Math.round,bm_rnd,bm_pow=Math.pow,bm_sqrt=Math.sqrt,bm_abs=Math.abs,bm_floor=Math.floor,bm_max=Math.max,bm_min=Math.min,blitter=10,BMMath={};!function(){var e,t=Object.getOwnPropertyNames(Math),n=t.length;for(e=0;e<n;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"==typeof e&&e.length){var t,n=Array.apply(null,{length:e.length}),a=e.length;for(t=0;t<a;t+=1)n[t]=Math.abs(e[t]);return n}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;roundValues(!1);var rgbToHex=function(){var e,t,n=[];for(e=0;e<256;e+=1)t=e.toString(16),n[e]=1==t.length?"0"+t:t;return function(e,t,a){return e<0&&(e=0),t<0&&(t=0),a<0&&(a=0),"#"+n[e]+n[t]+n[a]}}(),fillColorToString=function(){var e=[];return function(t,n){return void 0!==n&&(t[3]=n),e[t[0]]||(e[t[0]]={}),e[t[0]][t[1]]||(e[t[0]][t[1]]={}),e[t[0]][t[1]][t[2]]||(e[t[0]][t[1]][t[2]]={}),e[t[0]][t[1]][t[2]][t[3]]||(e[t[0]][t[1]][t[2]][t[3]]="rgba("+t.join(",")+")"),e[t[0]][t[1]][t[2]][t[3]]}}(),Matrix=function(){function e(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function t(e){if(0===e)return this;var t=Math.cos(e),n=Math.sin(e);return this._t(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1)}function n(e){if(0===e)return this;var t=Math.cos(e),n=Math.sin(e);return this._t(1,0,0,0,0,t,-n,0,0,n,t,0,0,0,0,1)}function a(e){if(0===e)return this;var t=Math.cos(e),n=Math.sin(e);return this._t(t,0,n,0,0,1,0,0,-n,0,t,0,0,0,0,1)}function o(e){if(0===e)return this;var t=Math.cos(e),n=Math.sin(e);return this._t(t,-n,0,0,n,t,0,0,0,0,1,0,0,0,0,1)}function r(e,t){return this._t(1,t,e,1,0,0)}function i(e,t){return this.shear(Math.tan(e),Math.tan(t))}function s(e,t){var n=Math.cos(t),a=Math.sin(t);return this._t(n,a,0,0,-a,n,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1)._t(n,-a,0,0,a,n,0,0,0,0,1,0,0,0,0,1)}function l(e,t,n){return n=isNaN(n)?1:n,1==e&&1==t&&1==n?this:this._t(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1)}function u(e,t,n,a,o,r,i,s,l,u,f,c,d,p,h,g){return this.props[0]=e,this.props[1]=t,this.props[2]=n,this.props[3]=a,this.props[4]=o,this.props[5]=r,this.props[6]=i,this.props[7]=s,this.props[8]=l,this.props[9]=u,this.props[10]=f,this.props[11]=c,this.props[12]=d,this.props[13]=p,this.props[14]=h,this.props[15]=g,this}function f(e,t,n){return n=n||0,0!==e||0!==t||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1):this}function c(e,t,n,a,o,r,i,s,l,u,f,c,d,p,h,g){if(1===e&&0===t&&0===n&&0===a&&0===o&&1===r&&0===i&&0===s&&0===l&&0===u&&1===f&&0===c)return 0===d&&0===p&&0===h||(this.props[12]=this.props[12]*e+this.props[13]*o+this.props[14]*l+this.props[15]*d,this.props[13]=this.props[12]*t+this.props[13]*r+this.props[14]*u+this.props[15]*p,this.props[14]=this.props[12]*n+this.props[13]*i+this.props[14]*f+this.props[15]*h,this.props[15]=this.props[12]*a+this.props[13]*s+this.props[14]*c+this.props[15]*g),this;var m=this.props[0],v=this.props[1],E=this.props[2],y=this.props[3],_=this.props[4],b=this.props[5],S=this.props[6],I=this.props[7],T=this.props[8],N=this.props[9],A=this.props[10],M=this.props[11],C=this.props[12],O=this.props[13],D=this.props[14],L=this.props[15];return this.props[0]=m*e+v*o+E*l+y*d,this.props[1]=m*t+v*r+E*u+y*p,this.props[2]=m*n+v*i+E*f+y*h,this.props[3]=m*a+v*s+E*c+y*g,this.props[4]=_*e+b*o+S*l+I*d,this.props[5]=_*t+b*r+S*u+I*p,this.props[6]=_*n+b*i+S*f+I*h,this.props[7]=_*a+b*s+S*c+I*g,this.props[8]=T*e+N*o+A*l+M*d,this.props[9]=T*t+N*r+A*u+M*p,this.props[10]=T*n+N*i+A*f+M*h,this.props[11]=T*a+N*s+A*c+M*g,this.props[12]=C*e+O*o+D*l+L*d,this.props[13]=C*t+O*r+D*u+L*p,this.props[14]=C*n+O*i+D*f+L*h,this.props[15]=C*a+O*s+D*c+L*g,this}function d(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t]}function p(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function h(e,t,n){return{x:e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}}function g(e,t,n){return e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12]}function m(e,t,n){return e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13]}function v(e,t,n){return e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}function E(e){var t,n=this.props[0]*this.props[5]-this.props[1]*this.props[4],a=this.props[5]/n,o=-this.props[1]/n,r=-this.props[4]/n,i=this.props[0]/n,s=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/n,l=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/n,u=e.length,f=[];for(t=0;t<u;t+=1)f[t]=[e[t][0]*a+e[t][1]*r+s,e[t][0]*o+e[t][1]*i+l,0];return f}function y(e,t,n){return[e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]]}function _(e,t){return bm_rnd(e*this.props[0]+t*this.props[4]+this.props[12])+","+bm_rnd(e*this.props[1]+t*this.props[5]+this.props[13])}function b(){return[this.props[0],this.props[1],this.props[2],this.props[3],this.props[4],this.props[5],this.props[6],this.props[7],this.props[8],this.props[9],this.props[10],this.props[11],this.props[12],this.props[13],this.props[14],this.props[15]]}function S(){return isSafari?"matrix3d("+roundTo2Decimals(this.props[0])+","+roundTo2Decimals(this.props[1])+","+roundTo2Decimals(this.props[2])+","+roundTo2Decimals(this.props[3])+","+roundTo2Decimals(this.props[4])+","+roundTo2Decimals(this.props[5])+","+roundTo2Decimals(this.props[6])+","+roundTo2Decimals(this.props[7])+","+roundTo2Decimals(this.props[8])+","+roundTo2Decimals(this.props[9])+","+roundTo2Decimals(this.props[10])+","+roundTo2Decimals(this.props[11])+","+roundTo2Decimals(this.props[12])+","+roundTo2Decimals(this.props[13])+","+roundTo2Decimals(this.props[14])+","+roundTo2Decimals(this.props[15])+")":(this.cssParts[1]=this.props.join(","),this.cssParts.join(""))}function I(){return"matrix("+this.props[0]+","+this.props[1]+","+this.props[4]+","+this.props[5]+","+this.props[12]+","+this.props[13]+")"}function T(){return""+this.toArray()}return function(){this.reset=e,this.rotate=t,this.rotateX=n,this.rotateY=a,this.rotateZ=o,this.skew=i,this.skewFromAxis=s,this.shear=r,this.scale=l,this.setTransform=u,this.translate=f,this.transform=c,this.applyToPoint=h,this.applyToX=g,this.applyToY=m,this.applyToZ=v,this.applyToPointArray=y,this.applyToPointStringified=_,this.toArray=b,this.toCSS=S,this.to2dCSS=I,this.toString=T,this.clone=d,this.cloneFromProps=p,this.inversePoints=E,this._t=this.transform,this.props=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],this.cssParts=["matrix3d(","",")"]}}();!function(e,t){function n(n,u,f){var p=[];u=1==u?{entropy:!0}:u||{};var E=i(r(u.entropy?[n,l(e)]:null==n?s():n,3),p),y=new a(p),_=function(){for(var e=y.g(d),t=g,n=0;e<m;)e=(e+n)*c,t*=c,n=y.g(1);for(;e>=v;)e/=2,t/=2,n>>>=1;return(e+n)/t};return _.int32=function(){return 0|y.g(4)},_.quick=function(){return y.g(4)/4294967296},_.double=_,i(l(y.S),e),(u.pass||f||function(e,n,a,r){return r&&(r.S&&o(r,y),e.state=function(){return o(y,{})}),a?(t[h]=e,n):e})(_,E,"global"in u?u.global:this==t,u.state)}function a(e){var t,n=e.length,a=this,o=0,r=a.i=a.j=0,i=a.S=[];for(n||(e=[n++]);o<c;)i[o]=o++;for(o=0;o<c;o++)i[o]=i[r=E&r+e[o%n]+(t=i[o])],i[r]=t;(a.g=function(e){for(var t,n=0,o=a.i,r=a.j,i=a.S;e--;)t=i[o=E&o+1],n=n*c+i[E&(i[o]=i[r=E&r+t])+(i[r]=t)];return a.i=o,a.j=r,n})(c)}function o(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function r(e,t){var n,a=[],o=typeof e;if(t&&"object"==o)for(n in e)try{a.push(r(e[n],t-1))}catch(e){}return a.length?a:"string"==o?e:e+"\0"}function i(e,t){for(var n,a=e+"",o=0;o<a.length;)t[E&o]=E&(n^=19*t[E&o])+a.charCodeAt(o++);return l(t)}function s(){try{if(u)return l(u.randomBytes(c));var t=new Uint8Array(c);return(f.crypto||f.msCrypto).getRandomValues(t),l(t)}catch(t){var n=f.navigator,a=n&&n.plugins;return[+new Date,f,a,f.screen,l(e)]}}function l(e){return String.fromCharCode.apply(0,e)}var u,f=this,c=256,d=6,p=52,h="random",g=t.pow(c,d),m=t.pow(2,p),v=2*m,E=c-1;t["seed"+h]=n,i(t.random(),e)}([],BMMath);var BezierFactory=function(){function e(e,t,n,a,o){var r=o||("bez_"+e+"_"+t+"_"+n+"_"+a).replace(/\./g,"p");if(f[r])return f[r];var i=new l([e,t,n,a]);return f[r]=i,i}function t(e,t){return 1-3*t+3*e}function n(e,t){return 3*t-6*e}function a(e){return 3*e}function o(e,o,r){return((t(o,r)*e+n(o,r))*e+a(o))*e}function r(e,o,r){return 3*t(o,r)*e*e+2*n(o,r)*e+a(o)}function i(e,t,n,a,r){var i,s,l=0;do s=t+(n-t)/2,i=o(s,a,r)-e,i>0?n=s:t=s;while(Math.abs(i)>d&&++l<p);return s}function s(e,t,n,a){for(var i=0;i<c;++i){var s=r(t,n,a);if(0===s)return t;t-=(o(t,n,a)-e)/s}return t}function l(e){this._p=e,this._mSampleValues=m?new Float32Array(h):new Array(h),this._precomputed=!1,this.get=this.get.bind(this)}var u={};u.getBezierEasing=e;var f={},c=4,d=1e-7,p=10,h=11,g=1/(h-1),m="function"==typeof Float32Array;return l.prototype={get:function(e){var t=this._p[0],n=this._p[1],a=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),t===n&&a===r?e:0===e?0:1===e?1:o(this._getTForX(e),n,r)},_precompute:function(){var e=this._p[0],t=this._p[1],n=this._p[2],a=this._p[3];this._precomputed=!0,e===t&&n===a||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],n=0;n<h;++n)this._mSampleValues[n]=o(n*g,e,t)},_getTForX:function(e){for(var t=this._p[0],n=this._p[2],a=this._mSampleValues,o=0,l=1,u=h-1;l!==u&&a[l]<=e;++l)o+=g;--l;var f=(e-a[l])/(a[l+1]-a[l]),c=o+f*g,d=r(c,t,n);return d>=.001?s(e,c,t,n):0===d?c:i(e,o,o+g,t,n)}},u}(),MatrixManager=matrixManagerFunction;!function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[n]+"CancelAnimationFrame"]||window[t[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,n){var a=(new Date).getTime(),o=Math.max(0,16-(a-e)),r=window.setTimeout(function(){t(a+o)},o);return e=a+o,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}();var bez=bezFunction(),dataManager=dataFunctionManager(),FontManager=function(){function e(e,t){var n=document.createElement("span");n.style.fontFamily=t;var a=document.createElement("span");a.innerHTML="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(a),document.body.appendChild(n);var o=a.offsetWidth;return a.style.fontFamily=e+", "+t,{node:a,w:o,parent:n}}function t(){var e,n,a,o=this.fonts.length,r=o;for(e=0;e<o;e+=1)if(this.fonts[e].loaded)r-=1;else if("t"===this.fonts[e].fOrigin){if(window.Typekit&&window.Typekit.load&&0===this.typekitLoaded){this.typekitLoaded=1;try{window.Typekit.load({async:!0,active:function(){this.typekitLoaded=2}.bind(this)})}catch(e){}}2===this.typekitLoaded&&(this.fonts[e].loaded=!0)}else"n"===this.fonts[e].fOrigin?this.fonts[e].loaded=!0:(n=this.fonts[e].monoCase.node,a=this.fonts[e].monoCase.w,n.offsetWidth!==a?(r-=1,this.fonts[e].loaded=!0):(n=this.fonts[e].sansCase.node,a=this.fonts[e].sansCase.w,n.offsetWidth!==a&&(r-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==r&&Date.now()-this.initTime<l?setTimeout(t.bind(this),20):setTimeout(function(){this.loaded=!0}.bind(this),0)}function n(e,t){var n=document.createElementNS(svgNS,"text");n.style.fontSize="100px",n.style.fontFamily=t.fFamily,n.textContent="1",t.fClass?(n.style.fontFamily="inherit",n.className=t.fClass):n.style.fontFamily=t.fFamily,e.appendChild(n);var a=document.createElement("canvas").getContext("2d");return a.font="100px "+t.fFamily,a}function a(a,o){if(!a)return void(this.loaded=!0);if(this.chars)return this.loaded=!0,void(this.fonts=a.list);var r,i=a.list,s=i.length;for(r=0;r<s;r+=1){if(i[r].loaded=!1,i[r].monoCase=e(i[r].fFamily,"monospace"),i[r].sansCase=e(i[r].fFamily,"sans-serif"),i[r].fPath){if("p"===i[r].fOrigin){var l=document.createElement("style");l.type="text/css",l.innerHTML="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",o.appendChild(l)}else if("g"===i[r].fOrigin){var u=document.createElement("link");u.type="text/css",u.rel="stylesheet",u.href=i[r].fPath,o.appendChild(u)}else if("t"===i[r].fOrigin){var f=document.createElement("script");f.setAttribute("src",i[r].fPath),o.appendChild(f)}}else i[r].loaded=!0;i[r].helper=n(o,i[r]),this.fonts.push(i[r])}t.bind(this)()}function o(e){if(e){this.chars||(this.chars=[]);var t,n,a,o=e.length,r=this.chars.length;for(t=0;t<o;t+=1){for(n=0,a=!1;n<r;)this.chars[n].style===e[t].style&&this.chars[n].fFamily===e[t].fFamily&&this.chars[n].ch===e[t].ch&&(a=!0),n+=1;a||(this.chars.push(e[t]),r+=1)}}}function r(e,t,n){for(var a=0,o=this.chars.length;a<o;){if(this.chars[a].ch===e&&this.chars[a].style===t&&this.chars[a].fFamily===n)return this.chars[a];a+=1}}function i(e,t,n){return this.getFontByName(t).helper.measureText(e).width*n/100}function s(e){for(var t=0,n=this.fonts.length;t<n;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return"sans-serif"}var l=5e3,u=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.loaded=!1,this.initTime=Date.now()};return u.prototype.addChars=o,u.prototype.addFonts=a,u.prototype.getCharData=r,u.prototype.getFontByName=s,u.prototype.measureText=i,u}(),PropertyFactory=function(){function e(){if(this.elem.globalData.frameId!==this.frameId){this.mdf=!1;var e=this.comp.renderedFrame-this.offsetTime;if(e===this.lastFrame||this.lastFrame!==u&&(this.lastFrame>=this.keyframes[this.keyframes.length-1].t-this.offsetTime&&e>=this.keyframes[this.keyframes.length-1].t-this.offsetTime||this.lastFrame<this.keyframes[0].t-this.offsetTime&&e<this.keyframes[0].t-this.offsetTime));else{for(var t,n,a=0,o=this.keyframes.length-1,r=1,i=!0;i;){if(t=this.keyframes[a],n=this.keyframes[a+1],a==o-1&&e>=n.t-this.offsetTime){t.h&&(t=n);break}if(n.t-this.offsetTime>e)break;a<o-1?a+=r:i=!1}var s,l,f,c,d,p=0;if(t.to){t.bezierData||bez.buildBezierData(t);var h=t.bezierData;if(e>=n.t-this.offsetTime||e<t.t-this.offsetTime){var g=e>=n.t-this.offsetTime?h.points.length-1:0;for(l=h.points[g].point.length,s=0;s<l;s+=1)this.v[s]=this.mult?h.points[g].point[s]*this.mult:h.points[g].point[s],this.pv[s]=h.points[g].point[s],this.lastPValue[s]!==this.pv[s]&&(this.mdf=!0,this.lastPValue[s]=this.pv[s])}else{t.__fnct?d=t.__fnct:(d=BezierFactory.getBezierEasing(t.o.x,t.o.y,t.i.x,t.i.y,t.n).get,t.__fnct=d),f=d((e-(t.t-this.offsetTime))/(n.t-this.offsetTime-(t.t-this.offsetTime)));var m,v=h.segmentLength*f,E=0;for(r=1,i=!0,c=h.points.length;i;){if(E+=h.points[p].partialLength*r,0===v||0===f||p==h.points.length-1){for(l=h.points[p].point.length,s=0;s<l;s+=1)this.v[s]=this.mult?h.points[p].point[s]*this.mult:h.points[p].point[s],this.pv[s]=h.points[p].point[s],this.lastPValue[s]!==this.pv[s]&&(this.mdf=!0,this.lastPValue[s]=this.pv[s]);break}if(v>=E&&v<E+h.points[p+1].partialLength){for(m=(v-E)/h.points[p+1].partialLength,l=h.points[p].point.length,s=0;s<l;s+=1)this.v[s]=this.mult?(h.points[p].point[s]+(h.points[p+1].point[s]-h.points[p].point[s])*m)*this.mult:h.points[p].point[s]+(h.points[p+1].point[s]-h.points[p].point[s])*m,this.pv[s]=h.points[p].point[s]+(h.points[p+1].point[s]-h.points[p].point[s])*m,this.lastPValue[s]!==this.pv[s]&&(this.mdf=!0,this.lastPValue[s]=this.pv[s]);break}p<c-1&&1==r||p>0&&r==-1?p+=r:i=!1}}}else{var y,_,b,S,I,T=!1;for(o=t.s.length,a=0;a<o;a+=1){if(1!==t.h&&(t.o.x instanceof Array?(T=!0,t.__fnct||(t.__fnct=[]),t.__fnct[a]||(y=t.o.x[a]||t.o.x[0],_=t.o.y[a]||t.o.y[0],b=t.i.x[a]||t.i.x[0],S=t.i.y[a]||t.i.y[0])):(T=!1,t.__fnct||(y=t.o.x,_=t.o.y,b=t.i.x,S=t.i.y)),T?t.__fnct[a]?d=t.__fnct[a]:(d=BezierFactory.getBezierEasing(y,_,b,S).get,t.__fnct[a]=d):t.__fnct?d=t.__fnct:(d=BezierFactory.getBezierEasing(y,_,b,S).get,t.__fnct=d),f=e>=n.t-this.offsetTime?1:e<t.t-this.offsetTime?0:d((e-(t.t-this.offsetTime))/(n.t-this.offsetTime-(t.t-this.offsetTime)))),this.sh&&1!==t.h){var N=t.s[a],A=t.e[a];N-A<-180?N+=360:N-A>180&&(N-=360),I=N+(A-N)*f}else I=1===t.h?t.s[a]:t.s[a]+(t.e[a]-t.s[a])*f;1===o?(this.v=this.mult?I*this.mult:I,this.pv=I,this.lastPValue!=this.pv&&(this.mdf=!0,this.lastPValue=this.pv)):(this.v[a]=this.mult?I*this.mult:I,this.pv[a]=I,this.lastPValue[a]!==this.pv[a]&&(this.mdf=!0,this.lastPValue[a]=this.pv[a]))}}}this.lastFrame=e,this.frameId=this.elem.globalData.frameId}}function t(){}function n(e,n,a){this.mult=a,this.v=a?n.k*a:n.k,this.pv=n.k,this.mdf=!1,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.getValue=t}function a(e,n,a){this.mult=a,this.data=n,this.mdf=!1,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1,this.v=new Array(n.k.length),this.pv=new Array(n.k.length),this.lastValue=new Array(n.k.length);var o=Array.apply(null,{length:n.k.length});this.vel=o.map(function(){return 0});var r,i=n.k.length;for(r=0;r<i;r+=1)this.v[r]=a?n.k[r]*a:n.k[r],this.pv[r]=n.k[r];this.getValue=t}function o(t,n,a){this.keyframes=n.k,this.offsetTime=t.data.st,this.lastValue=-99999,this.lastPValue=-99999,this.frameId=-1,this.k=!0,this.kf=!0,this.data=n,this.mult=a,this.elem=t,this.comp=t.comp,this.lastFrame=u,this.v=a?n.k[0].s[0]*a:n.k[0].s[0],this.pv=n.k[0].s[0],this.getValue=e}function r(t,n,a){var o,r,i,s,l,f=n.k.length;for(o=0;o<f-1;o+=1)n.k[o].to&&n.k[o].s&&n.k[o].e&&(r=n.k[o].s,i=n.k[o].e,s=n.k[o].to,l=n.k[o].ti,(2===r.length&&(r[0]!==i[0]||r[1]!==i[1])&&bez.pointOnLine2D(r[0],r[1],i[0],i[1],r[0]+s[0],r[1]+s[1])&&bez.pointOnLine2D(r[0],r[1],i[0],i[1],i[0]+l[0],i[1]+l[1])||3===r.length&&(r[0]!==i[0]||r[1]!==i[1]||r[2]!==i[2])&&bez.pointOnLine3D(r[0],r[1],r[2],i[0],i[1],i[2],r[0]+s[0],r[1]+s[1],r[2]+s[2])&&bez.pointOnLine3D(r[0],r[1],r[2],i[0],i[1],i[2],i[0]+l[0],i[1]+l[1],i[2]+l[2]))&&(n.k[o].to=null,n.k[o].ti=null));this.keyframes=n.k,this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this.mult=a,this.elem=t,this.comp=t.comp,this.getValue=e,this.frameId=-1,this.v=new Array(n.k[0].s.length),this.pv=new Array(n.k[0].s.length),this.lastValue=new Array(n.k[0].s.length),this.lastPValue=new Array(n.k[0].s.length),this.lastFrame=u}function i(e,t,i,s,l){var u;if(2===i)u=new f(e,t,l);else if(0===t.a)u=0===i?new n(e,t,s):new a(e,t,s);else if(1===t.a)u=0===i?new o(e,t,s):new r(e,t,s);else if(t.k.length)if("number"==typeof t.k[0])u=new a(e,t,s);else switch(i){case 0:u=new o(e,t,s);break;case 1:u=new r(e,t,s)}else u=new n(e,t,s);return u.k&&l.push(u),u}function s(e,t,n,a){return new d(e,t,n,a)}function l(e,t,n){return new p(e,t,n)}var u=-999999,f=function(){function e(){return ExpressionValue(this.p)}function t(){return ExpressionValue(this.px)}function n(){return ExpressionValue(this.py)}function a(){return ExpressionValue(this.a)}function o(){return ExpressionValue(this.or)}function r(){return ExpressionValue(this.r,1/degToRads)}function i(){return ExpressionValue(this.s,100)}function s(){return ExpressionValue(this.o,100)}function l(){return ExpressionValue(this.sk)}function u(){return ExpressionValue(this.sa)}function f(e){var t,n=this.dynamicProperties.length;for(t=0;t<n;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t].mdf&&(this.mdf=!0);this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function c(){if(this.elem.globalData.frameId!==this.frameId){this.mdf=!1;var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e].mdf&&(this.mdf=!0);if(this.mdf){if(this.v.reset(),this.a&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r?this.v.rotate(-this.r.v):this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented&&this.p.keyframes&&this.p.getValueAtTime){var n,a;this.p.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/this.elem.globalData.frameRate,0),a=this.p.getValueAtTime(this.p.keyframes[0].t/this.elem.globalData.frameRate,0)):this.p.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/this.elem.globalData.frameRate,0),a=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.01)/this.elem.globalData.frameRate,0)):(n=this.p.pv,a=this.p.getValueAtTime((this.p.lastFrame+this.p.offsetTime-.01)/this.elem.globalData.frameRate,this.p.offsetTime)),this.v.rotate(-Math.atan2(n[1]-a[1],n[0]-a[0]))}this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function d(){this.inverted=!0,this.iv=new Matrix,this.k||(this.data.p.s?this.iv.translate(this.px.v,this.py.v,-this.pz.v):this.iv.translate(this.p.v[0],this.p.v[1],-this.p.v[2]),this.r?this.iv.rotate(-this.r.v):this.iv.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.s&&this.iv.scale(this.s.v[0],this.s.v[1],1),this.a&&this.iv.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]))}function p(){}return function(h,g,m){this.elem=h,this.frameId=-1,this.type="transform",this.dynamicProperties=[],this.mdf=!1,this.data=g,this.getValue=c,this.applyToMatrix=f,this.setInverted=d,this.autoOrient=p,this.v=new Matrix,g.p.s?(this.px=PropertyFactory.getProp(h,g.p.x,0,0,this.dynamicProperties),this.py=PropertyFactory.getProp(h,g.p.y,0,0,this.dynamicProperties),g.p.z&&(this.pz=PropertyFactory.getProp(h,g.p.z,0,0,this.dynamicProperties))):this.p=PropertyFactory.getProp(h,g.p,1,0,this.dynamicProperties),g.r?this.r=PropertyFactory.getProp(h,g.r,0,degToRads,this.dynamicProperties):g.rx&&(this.rx=PropertyFactory.getProp(h,g.rx,0,degToRads,this.dynamicProperties),this.ry=PropertyFactory.getProp(h,g.ry,0,degToRads,this.dynamicProperties),this.rz=PropertyFactory.getProp(h,g.rz,0,degToRads,this.dynamicProperties),this.or=PropertyFactory.getProp(h,g.or,1,degToRads,this.dynamicProperties)),g.sk&&(this.sk=PropertyFactory.getProp(h,g.sk,0,degToRads,this.dynamicProperties),this.sa=PropertyFactory.getProp(h,g.sa,0,degToRads,this.dynamicProperties)),g.a&&(this.a=PropertyFactory.getProp(h,g.a,1,0,this.dynamicProperties)),g.s&&(this.s=PropertyFactory.getProp(h,g.s,1,.01,this.dynamicProperties)),g.o?this.o=PropertyFactory.getProp(h,g.o,0,.01,m):this.o={mdf:!1,v:1},this.dynamicProperties.length?m.push(this):(this.a&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r?this.v.rotate(-this.r.v):this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?g.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])),Object.defineProperty(this,"position",{get:e}),Object.defineProperty(this,"xPosition",{get:t}),Object.defineProperty(this,"yPosition",{get:n}),Object.defineProperty(this,"orientation",{get:o}),Object.defineProperty(this,"anchorPoint",{get:a}),Object.defineProperty(this,"rotation",{get:r}),Object.defineProperty(this,"scale",{get:i}),Object.defineProperty(this,"opacity",{get:s}),Object.defineProperty(this,"skew",{get:l}),Object.defineProperty(this,"skewAxis",{get:u})}}(),c=function(){function e(e){if(this.prop.getValue(),this.cmdf=!1,this.omdf=!1,this.prop.mdf||e){var t,n,a,o=4*this.data.p;for(t=0;t<o;t+=1)n=t%4===0?100:255,a=Math.round(this.prop.v[t]*n),this.c[t]!==a&&(this.c[t]=a,this.cmdf=!0);if(this.o.length)for(o=this.prop.v.length,t=4*this.data.p;t<o;t+=1)n=t%2===0?100:1,a=t%2===0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==a&&(this.o[t-4*this.data.p]=a,this.omdf=!0)}}function t(t,n,a){this.prop=i(t,n.k,1,null,[]),this.data=n,this.k=this.prop.k,this.c=Array.apply(null,{length:4*n.p});var o=n.k.k[0].s?n.k.k[0].s.length-4*n.p:n.k.k.length-4*n.p;this.o=Array.apply(null,{length:o}),this.cmdf=!1,this.omdf=!1,this.getValue=e,this.prop.k&&a.push(this),this.getValue(!0)}return function(e,n,a){return new t(e,n,a)}}(),d=function(){function e(e){var t=0,n=this.dataProps.length;if(this.elem.globalData.frameId!==this.frameId||e){for(this.mdf=!1,this.frameId=this.elem.globalData.frameId;t<n;){if(this.dataProps[t].p.mdf){this.mdf=!0;break}t+=1}if(this.mdf||e)for("svg"===this.renderer&&(this.dasharray=""),t=0;t<n;t+=1)"o"!=this.dataProps[t].n?"svg"===this.renderer?this.dasharray+=" "+this.dataProps[t].p.v:this.dasharray[t]=this.dataProps[t].p.v:this.dashoffset=this.dataProps[t].p.v}}return function(t,n,a,o){this.elem=t,this.frameId=-1,this.dataProps=new Array(n.length),this.renderer=a,this.mdf=!1,this.k=!1,"svg"===this.renderer?this.dasharray="":this.dasharray=new Array(n.length-1),this.dashoffset=0;var r,i,s=n.length;for(r=0;r<s;r+=1)i=PropertyFactory.getProp(t,n[r].v,0,0,o),this.k=!!i.k||this.k,this.dataProps[r]={n:n[r].n,p:i};this.getValue=e,this.k?o.push(this):this.getValue(!0)}}(),p=function(){function e(){if(this.dynamicProperties.length){var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e].mdf&&(this.mdf=!0)}var n=this.data.totalChars,a=2===this.data.r?1:100/n,o=this.o.v/a,r=this.s.v/a+o,i=this.e.v/a+o;if(r>i){var s=r;r=i,i=s}this.finalS=r,this.finalE=i}function t(e){var t=BezierFactory.getBezierEasing(this.ne.v/100,0,1-this.xe.v/100,1).get,r=0,i=this.finalS,s=this.finalE,l=this.data.sh;if(2==l)r=s===i?e>=s?1:0:n(0,a(.5/(s-i)+(e-i)/(s-i),1)),r=t(r);else if(3==l)r=s===i?e>=s?0:1:1-n(0,a(.5/(s-i)+(e-i)/(s-i),1)),r=t(r);else if(4==l)s===i?r=0:(r=n(0,a(.5/(s-i)+(e-i)/(s-i),1)),r<.5?r*=2:r=1-2*(r-.5)),r=t(r);else if(5==l){if(s===i)r=0;else{var u=s-i;e=a(n(0,e+.5-i),s-i);var f=-u/2+e,c=u/2;r=Math.sqrt(1-f*f/(c*c))}r=t(r)}else 6==l?(s===i?r=0:(e=a(n(0,e+.5-i),s-i),r=(1+Math.cos(Math.PI+2*Math.PI*e/(s-i)))/2),r=t(r)):(e>=o(i)&&(r=e-i<0?1-(i-e):n(0,a(s-e,1))),r=t(r));return r*this.a.v}var n=Math.max,a=Math.min,o=Math.floor;return function(n,a,o){this.mdf=!1,this.k=!1,this.data=a,this.dynamicProperties=[],this.getValue=e,this.getMult=t,this.comp=n.comp,this.finalS=0,this.finalE=0,this.s=PropertyFactory.getProp(n,a.s||{k:0},0,0,this.dynamicProperties),this.e="e"in a?PropertyFactory.getProp(n,a.e,0,0,this.dynamicProperties):{v:2===a.r?a.totalChars:100},this.o=PropertyFactory.getProp(n,a.o||{k:0},0,0,this.dynamicProperties),this.xe=PropertyFactory.getProp(n,a.xe||{k:0},0,0,this.dynamicProperties),this.ne=PropertyFactory.getProp(n,a.ne||{k:0},0,0,this.dynamicProperties),this.a=PropertyFactory.getProp(n,a.a,0,.01,this.dynamicProperties),this.dynamicProperties.length?o.push(this):this.getValue()}}(),h={};return h.getProp=i,h.getDashProp=s,h.getTextSelectorProp=l,h.getGradientProp=c,h}(),shape_helper=function(){function e(e){var t,n=e.v.length,a={c:e.c,i:Array.call({length:n}),o:Array.call({length:n}),v:Array.call({length:n})};for(t=0;t<n;t+=1)a.v[t]=[e.v[t][0],e.v[t][1]],a.o[t]=[e.o[t][0],e.o[t][1]],a.i[t]=[e.i[t][0],e.i[t][1]];return a}return{clone:e}}(),ShapePropertyFactory=function(){function e(){if(this.elem.globalData.frameId!==this.frameId){this.mdf=!1;var e=this.comp.renderedFrame-this.offsetTime;if(this.lastFrame!==i&&(this.lastFrame<this.keyframes[0].t-this.offsetTime&&e<this.keyframes[0].t-this.offsetTime||this.lastFrame>this.keyframes[this.keyframes.length-1].t-this.offsetTime&&e>this.keyframes[this.keyframes.length-1].t-this.offsetTime));else{var t,n,a;if(e<this.keyframes[0].t-this.offsetTime)t=this.keyframes[0].s[0],a=!0;else if(e>=this.keyframes[this.keyframes.length-1].t-this.offsetTime)t=1===this.keyframes[this.keyframes.length-2].h?this.keyframes[this.keyframes.length-1].s[0]:this.keyframes[this.keyframes.length-2].e[0],a=!0;else{for(var o,r,s,l,u,f,c=0,d=this.keyframes.length-1,p=!0;p&&(o=this.keyframes[c],r=this.keyframes[c+1],!(r.t-this.offsetTime>e));)c<d-1?c+=1:p=!1;a=1===o.h,a&&c===d&&(o=r);var h;if(!a){var g;o.__fnct?g=o.__fnct:(g=BezierFactory.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y).get,o.__fnct=g),h=e>=r.t-this.offsetTime?1:e<o.t-this.offsetTime?0:g((e-(o.t-this.offsetTime))/(r.t-this.offsetTime-(o.t-this.offsetTime))),n=o.e[0]}t=o.s[0]}l=this.v.i.length,f=t.i[0].length;var m,v=!1;for(s=0;s<l;s+=1)for(u=0;u<f;u+=1)a?(m=t.i[s][u],this.v.i[s][u]!==m&&(this.v.i[s][u]=m,this.pv.i[s][u]=m,v=!0),m=t.o[s][u],this.v.o[s][u]!==m&&(this.v.o[s][u]=m,this.pv.o[s][u]=m,v=!0),m=t.v[s][u],this.v.v[s][u]!==m&&(this.v.v[s][u]=m,this.pv.v[s][u]=m,v=!0)):(m=t.i[s][u]+(n.i[s][u]-t.i[s][u])*h,this.v.i[s][u]!==m&&(this.v.i[s][u]=m,this.pv.i[s][u]=m,v=!0),m=t.o[s][u]+(n.o[s][u]-t.o[s][u])*h,this.v.o[s][u]!==m&&(this.v.o[s][u]=m,this.pv.o[s][u]=m,v=!0),m=t.v[s][u]+(n.v[s][u]-t.v[s][u])*h,this.v.v[s][u]!==m&&(this.v.v[s][u]=m,this.pv.v[s][u]=m,v=!0));this.mdf=v,this.paths.length=0,this.v.c=t.c,this.paths[0]=this.v}this.lastFrame=e,this.frameId=this.elem.globalData.frameId}}function t(){return this.v}function n(){this.resetPaths.length=1,this.resetPaths[0]=this.v,this.paths=this.resetPaths,this.k||(this.mdf=!1)}function a(e,a,o){this.resetPaths=[],this.comp=e.comp,this.k=!1,this.mdf=!1,this.numNodes=3===o?a.pt.k.v.length:a.ks.k.v.length,this.v=3===o?a.pt.k:a.ks.k,this.getValue=t,this.pv=this.v,this.paths=[this.v],this.reset=n}function o(t,a,o){this.resetPaths=[],this.comp=t.comp,this.elem=t,this.offsetTime=t.data.st,this.getValue=e,this.keyframes=3===o?a.pt.k:a.ks.k,this.k=!0;var r,s=this.keyframes[0].s[0].i.length,l=this.keyframes[0].s[0].i[0].length;for(this.numNodes=s,this.v={i:Array.apply(null,{length:s}),o:Array.apply(null,{length:s}),v:Array.apply(null,{length:s}),c:this.keyframes[0].s[0].c},this.pv={i:Array.apply(null,{length:s}),o:Array.apply(null,{length:s}),v:Array.apply(null,{length:s}),c:this.keyframes[0].s[0].c},r=0;r<s;r+=1)this.v.i[r]=Array.apply(null,{length:l}),this.v.o[r]=Array.apply(null,{length:l}),this.v.v[r]=Array.apply(null,{length:l}),this.pv.i[r]=Array.apply(null,{length:l}),this.pv.o[r]=Array.apply(null,{length:l}),this.pv.v[r]=Array.apply(null,{length:l});this.paths=[],this.lastFrame=i,this.reset=n}function r(e,t,n,r){var i;if(3===n||4===n){var f=3===n?t.pt:t.ks,c=f.k;i=1===f.a||c.length?new o(e,t,n):new a(e,t,n)}else 5===n?i=new u(e,t):6===n?i=new s(e,t):7===n&&(i=new l(e,t));return i.k&&r.push(i),i}var i=-999999,s=function(){function e(){var e=this.p.v[0],t=this.p.v[1],n=this.s.v[0]/2,o=this.s.v[1]/2;2!==this.d&&3!==this.d?(this.v.v[0]=[e,t-o],this.v.i[0]=[e-n*a,t-o],this.v.o[0]=[e+n*a,t-o],this.v.v[1]=[e+n,t],this.v.i[1]=[e+n,t-o*a],this.v.o[1]=[e+n,t+o*a],this.v.v[2]=[e,t+o],this.v.i[2]=[e+n*a,t+o],this.v.o[2]=[e-n*a,t+o],this.v.v[3]=[e-n,t],this.v.i[3]=[e-n,t+o*a],this.v.o[3]=[e-n,t-o*a]):(this.v.v[0]=[e,t-o],this.v.o[0]=[e-n*a,t-o],this.v.i[0]=[e+n*a,t-o],this.v.v[1]=[e-n,t],this.v.o[1]=[e-n,t+o*a],this.v.i[1]=[e-n,t-o*a],this.v.v[2]=[e,t+o],this.v.o[2]=[e+n*a,t+o],this.v.i[2]=[e-n*a,t+o],this.v.v[3]=[e+n,t],this.v.o[3]=[e+n,t-o*a],this.v.i[3]=[e+n,t+o*a]),this.paths.length=0,this.paths[0]=this.v}function t(e){var t,n=this.dynamicProperties.length;if(this.elem.globalData.frameId!==this.frameId){for(this.mdf=!1,this.frameId=this.elem.globalData.frameId,t=0;t<n;t+=1)this.dynamicProperties[t].getValue(e),this.dynamicProperties[t].mdf&&(this.mdf=!0);this.mdf&&(this.convertEllToPath(),this.paths.length=0,this.paths[0]=this.v)}}var a=roundCorner;return function(a,o){this.v={v:Array.apply(null,{length:4}),i:Array.apply(null,{length:4}),o:Array.apply(null,{length:4}),c:!0},this.numNodes=4,this.d=o.d,this.dynamicProperties=[],this.resetPaths=[],this.paths=[],this.elem=a,this.comp=a.comp,this.frameId=-1,this.mdf=!1,this.getValue=t,this.convertEllToPath=e,this.reset=n,this.p=PropertyFactory.getProp(a,o.p,1,0,this.dynamicProperties),this.s=PropertyFactory.getProp(a,o.s,1,0,this.dynamicProperties),this.dynamicProperties.length?this.k=!0:this.convertEllToPath()}}(),l=function(){function e(){var e=Math.floor(this.pt.v),t=2*Math.PI/e;this.v.v.length=e,this.v.i.length=e,this.v.o.length=e;var n,a=this.or.v,o=this.os.v,r=2*Math.PI*a/(4*e),i=-Math.PI/2,s=3===this.data.d?-1:1;for(i+=this.r.v,n=0;n<e;n+=1){var l=a*Math.cos(i),u=a*Math.sin(i),f=0===l&&0===u?0:u/Math.sqrt(l*l+u*u),c=0===l&&0===u?0:-l/Math.sqrt(l*l+u*u);l+=+this.p.v[0],u+=+this.p.v[1],this.v.v[n]=[l,u],this.v.i[n]=[l+f*r*o*s,u+c*r*o*s],this.v.o[n]=[l-f*r*o*s,u-c*r*o*s],i+=t*s}this.numNodes=e,this.paths.length=0,this.paths[0]=this.v}function t(){var e=2*Math.floor(this.pt.v),t=2*Math.PI/e;this.v.v.length=e,this.v.i.length=e,this.v.o.length=e;var n,a,o,r,i=!0,s=this.or.v,l=this.ir.v,u=this.os.v,f=this.is.v,c=2*Math.PI*s/(2*e),d=2*Math.PI*l/(2*e),p=-Math.PI/2;p+=this.r.v;var h=3===this.data.d?-1:1;for(n=0;n<e;n+=1){a=i?s:l,o=i?u:f,r=i?c:d;var g=a*Math.cos(p),m=a*Math.sin(p),v=0===g&&0===m?0:m/Math.sqrt(g*g+m*m),E=0===g&&0===m?0:-g/Math.sqrt(g*g+m*m);g+=+this.p.v[0],m+=+this.p.v[1],this.v.v[n]=[g,m],this.v.i[n]=[g+v*r*o*h,m+E*r*o*h],this.v.o[n]=[g-v*r*o*h,m-E*r*o*h],i=!i,p+=t*h}this.numNodes=e,this.paths.length=0,this.paths[0]=this.v}function a(){if(this.elem.globalData.frameId!==this.frameId){this.mdf=!1,this.frameId=this.elem.globalData.frameId;var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e].mdf&&(this.mdf=!0);this.mdf&&this.convertToPath()}}return function(o,r){this.v={v:[],i:[],o:[],c:!0},this.resetPaths=[],this.elem=o,this.comp=o.comp,this.data=r,this.frameId=-1,this.d=r.d,this.dynamicProperties=[],this.mdf=!1,this.getValue=a,this.reset=n,1===r.sy?(this.ir=PropertyFactory.getProp(o,r.ir,0,0,this.dynamicProperties),this.is=PropertyFactory.getProp(o,r.is,0,.01,this.dynamicProperties),this.convertToPath=t):this.convertToPath=e,this.pt=PropertyFactory.getProp(o,r.pt,0,0,this.dynamicProperties),this.p=PropertyFactory.getProp(o,r.p,1,0,this.dynamicProperties),this.r=PropertyFactory.getProp(o,r.r,0,degToRads,this.dynamicProperties),this.or=PropertyFactory.getProp(o,r.or,0,0,this.dynamicProperties),this.os=PropertyFactory.getProp(o,r.os,0,.01,this.dynamicProperties),this.paths=[],this.dynamicProperties.length?this.k=!0:this.convertToPath()}}(),u=function(){function e(e){if(this.elem.globalData.frameId!==this.frameId){this.mdf=!1,this.frameId=this.elem.globalData.frameId;var t,n=this.dynamicProperties.length;for(t=0;t<n;t+=1)this.dynamicProperties[t].getValue(e),this.dynamicProperties[t].mdf&&(this.mdf=!0);this.mdf&&this.convertRectToPath()}}function t(){var e=this.p.v[0],t=this.p.v[1],n=this.s.v[0]/2,a=this.s.v[1]/2,o=bm_min(n,a,this.r.v),r=o*(1-roundCorner);0===o?(this.v.v.length=4,this.v.i.length=4,this.v.o.length=4):(this.v.v.length=8,this.v.i.length=8,this.v.o.length=8),2===this.d||1===this.d?(this.v.v[0]=[e+n,t-a+o],this.v.o[0]=this.v.v[0],this.v.i[0]=[e+n,t-a+r],this.v.v[1]=[e+n,t+a-o],this.v.o[1]=[e+n,t+a-r],this.v.i[1]=this.v.v[1],0!==o?(this.v.v[2]=[e+n-o,t+a],this.v.o[2]=this.v.v[2],this.v.i[2]=[e+n-r,t+a],this.v.v[3]=[e-n+o,t+a],this.v.o[3]=[e-n+r,t+a],this.v.i[3]=this.v.v[3],this.v.v[4]=[e-n,t+a-o],this.v.o[4]=this.v.v[4],this.v.i[4]=[e-n,t+a-r],this.v.v[5]=[e-n,t-a+o],this.v.o[5]=[e-n,t-a+r],this.v.i[5]=this.v.v[5],this.v.v[6]=[e-n+o,t-a],this.v.o[6]=this.v.v[6],this.v.i[6]=[e-n+r,t-a],this.v.v[7]=[e+n-o,t-a],this.v.o[7]=[e+n-r,t-a],this.v.i[7]=this.v.v[7]):(this.v.v[2]=[e-n+o,t+a],this.v.o[2]=[e-n+r,t+a],this.v.i[2]=this.v.v[2],this.v.v[3]=[e-n,t-a+o],this.v.o[3]=[e-n,t-a+r],this.v.i[3]=this.v.v[3])):(this.v.v[0]=[e+n,t-a+o],this.v.o[0]=[e+n,t-a+r],this.v.i[0]=this.v.v[0],0!==o?(this.v.v[1]=[e+n-o,t-a],this.v.o[1]=this.v.v[1],this.v.i[1]=[e+n-r,t-a],this.v.v[2]=[e-n+o,t-a],this.v.o[2]=[e-n+r,t-a],this.v.i[2]=this.v.v[2],this.v.v[3]=[e-n,t-a+o],this.v.o[3]=this.v.v[3],this.v.i[3]=[e-n,t-a+r],this.v.v[4]=[e-n,t+a-o],this.v.o[4]=[e-n,t+a-r],this.v.i[4]=this.v.v[4],this.v.v[5]=[e-n+o,t+a],this.v.o[5]=this.v.v[5],this.v.i[5]=[e-n+r,t+a],this.v.v[6]=[e+n-o,t+a],this.v.o[6]=[e+n-r,t+a],this.v.i[6]=this.v.v[6],this.v.v[7]=[e+n,t+a-o],this.v.o[7]=this.v.v[7],this.v.i[7]=[e+n,t+a-r]):(this.v.v[1]=[e-n+o,t-a],this.v.o[1]=[e-n+r,t-a],this.v.i[1]=this.v.v[1],this.v.v[2]=[e-n,t+a-o],this.v.o[2]=[e-n,t+a-r],this.v.i[2]=this.v.v[2],this.v.v[3]=[e+n-o,t+a],this.v.o[3]=[e+n-r,t+a],this.v.i[3]=this.v.v[3])),this.paths.length=0,this.paths[0]=this.v}return function(a,o){this.v={v:Array.apply(null,{length:8}),i:Array.apply(null,{length:8}),o:Array.apply(null,{length:8}),c:!0},this.resetPaths=[],this.paths=[],this.numNodes=8,this.elem=a,this.comp=a.comp,this.frameId=-1,this.d=o.d,this.dynamicProperties=[],this.mdf=!1,this.getValue=e,this.convertRectToPath=t,this.reset=n,this.p=PropertyFactory.getProp(a,o.p,1,0,this.dynamicProperties),this.s=PropertyFactory.getProp(a,o.s,1,0,this.dynamicProperties),this.r=PropertyFactory.getProp(a,o.r,0,0,this.dynamicProperties),this.dynamicProperties.length?this.k=!0:this.convertRectToPath()}}(),f={};return f.getShapeProp=r,f}(),ShapeModifiers=function(){function e(e,t){a[e]||(a[e]=t)}function t(e,t,n,o){return new a[e](t,n,o)}var n={},a={};return n.registerModifier=e,n.getModifier=t,n}();ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){this.closed||(this.shapes.push({shape:e,last:[]}),this.addShapeToModifier(e))},ShapeModifier.prototype.init=function(e,t,n){this.elem=e,this.frameId=-1,this.shapes=[],this.dynamicProperties=[],this.mdf=!1,this.closed=!1,this.k=!1,this.isTrimming=!1,this.comp=e.comp,this.initModifierProperties(e,t),this.dynamicProperties.length?(this.k=!0,n.push(this)):this.getValue(!0)},extendPrototype(ShapeModifier,TrimModifier),TrimModifier.prototype.processKeys=function(e){if(this.elem.globalData.frameId!==this.frameId||e){this.mdf=!!e,this.frameId=this.elem.globalData.frameId;var t,n=this.dynamicProperties.length;for(t=0;t<n;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t].mdf&&(this.mdf=!0);if(this.mdf||e){var a=this.o.v%360/360;a<0&&(a+=1);var o=this.s.v+a,r=this.e.v+a;if(o>r){var i=o;o=r,r=i}this.sValue=o,this.eValue=r,this.oValue=a}}},TrimModifier.prototype.initModifierProperties=function(e,t){this.sValue=0,this.eValue=0,this.oValue=0,this.getValue=this.processKeys,this.s=PropertyFactory.getProp(e,t.s,0,.01,this.dynamicProperties),this.e=PropertyFactory.getProp(e,t.e,0,.01,this.dynamicProperties),this.o=PropertyFactory.getProp(e,t.o,0,0,this.dynamicProperties),this.m=t.m,this.dynamicProperties.length||this.getValue(!0)},TrimModifier.prototype.getSegmentsLength=function(e){var t,n=e.c,a=e.v,o=e.o,r=e.i,i=a.length,s=[],l=0;for(t=0;t<i-1;t+=1)s[t]=bez.getBezierLength(a[t],a[t+1],o[t],r[t+1]),l+=s[t].addedLength;return n&&(s[t]=bez.getBezierLength(a[t],a[0],o[t],r[0]),l+=s[t].addedLength),{lengths:s,totalLength:l}},TrimModifier.prototype.calculateShapeEdges=function(e,t,n,a,o){var r=[];t<=1?r.push({s:e,e:t}):e>=1?r.push({s:e-1,e:t-1}):(r.push({s:e,e:1}),r.push({s:0,e:t-1}));var i,s,l=[],u=r.length;for(i=0;i<u;i+=1)if(s=r[i],s.e*o<a||s.s*o>a+n);else{var f,c;f=s.s*o<=a?0:(s.s*o-a)/n,c=s.e*o>=a+n?1:(s.e*o-a)/n,l.push([f,c])}return l.length||l.push([0,0]),l},TrimModifier.prototype.processShapes=function(e){var t,n,a,o,r,i,s,l=this.shapes.length,u=this.sValue,f=this.eValue,c=0;if(f===u)for(n=0;n<l;n+=1)this.shapes[n].shape.paths=[],this.shapes[n].shape.mdf=!0;else if(1===f&&0===u||0===f&&1===u)for(n=0;n<l;n+=1)d=this.shapes[n],d.shape.paths!==d.last&&(d.shape.mdf=!0,d.last=d.shape.paths);else{var d,p,h=[];for(n=0;n<l;n+=1)if(d=this.shapes[n],d.shape.mdf||this.mdf||e||2===this.m){if(t=d.shape.paths,o=t.length,s=0,!d.shape.mdf&&d.pathsData)s=d.totalShapeLength;else{for(r=[],a=0;a<o;a+=1)i=this.getSegmentsLength(t[a]),r.push(i),s+=i.totalLength;d.totalShapeLength=s,d.pathsData=r}c+=s,d.shape.mdf=!0}else d.shape.paths=d.last;var a,o,g=u,m=f,v=0;for(n=l-1;n>=0;n-=1)if(p=[],d=this.shapes[n],d.shape.mdf){if(2===this.m&&l>1){var E=this.calculateShapeEdges(u,f,d.totalShapeLength,v,c);v+=d.totalShapeLength}else E=[[g,m]];for(o=E.length,a=0;a<o;a+=1){g=E[a][0],m=E[a][1],h.length=0,m<=1?h.push({s:d.totalShapeLength*g,e:d.totalShapeLength*m}):g>=1?h.push({s:d.totalShapeLength*(g-1),e:d.totalShapeLength*(m-1)}):(h.push({s:d.totalShapeLength*g,e:d.totalShapeLength}),h.push({s:0,e:d.totalShapeLength*(m-1)}));var y=this.addShapes(d,h[0]);if(h[0].s!==h[0].e){var _;p.push(y),h.length>1&&(d.shape.v.c?this.addShapes(d,h[1],y):(y.i[0]=[y.v[0][0],y.v[0][1]],_=y.v.length-1,y.o[_]=[y.v[_][0],y.v[_][1]],y=this.addShapes(d,h[1]),p.push(y))),y.i[0]=[y.v[0][0],y.v[0][1]],_=y.v.length-1,y.o[_]=[y.v[_][0],y.v[_][1]]}}d.last=p,d.shape.paths=p}}this.dynamicProperties.length||(this.mdf=!1)},TrimModifier.prototype.addSegment=function(e,t,n,a,o,r){o.o[r]=t,o.i[r+1]=n,o.v[r+1]=a,o.v[r]=e},TrimModifier.prototype.addShapes=function(e,t,n){var a,o,r,i,s,l,u,f=e.pathsData,c=e.shape.paths,d=c.length,p=0;for(n?s=n.v.length-1:(n={c:!1,v:[],i:[],o:[]},s=0),a=0;a<d;a+=1){for(l=f[a].lengths,r=c[a].c?l.length:l.length+1,o=1;o<r;o+=1)if(i=l[o-1],p+i.addedLength<t.s)p+=i.addedLength;else{if(p>t.e)break;t.s<=p&&t.e>=p+i.addedLength?this.addSegment(c[a].v[o-1],c[a].o[o-1],c[a].i[o],c[a].v[o],n,s):(u=bez.getNewSegment(c[a].v[o-1],c[a].v[o],c[a].o[o-1],c[a].i[o],(t.s-p)/i.addedLength,(t.e-p)/i.addedLength,l[o-1]),this.addSegment(u.pt1,u.pt3,u.pt4,u.pt2,n,s)),p+=i.addedLength,s+=1}if(c[a].c&&p<=t.e){var h=l[o-1].addedLength;t.s<=p&&t.e>=p+h?this.addSegment(c[a].v[o-1],c[a].o[o-1],c[a].i[0],c[a].v[0],n,s):(u=bez.getNewSegment(c[a].v[o-1],c[a].v[0],c[a].o[o-1],c[a].i[0],(t.s-p)/h,(t.e-p)/h,l[o-1]),this.addSegment(u.pt1,u.pt3,u.pt4,u.pt2,n,s))}}return n},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype(ShapeModifier,RoundCornersModifier),RoundCornersModifier.prototype.processKeys=function(e){if(this.elem.globalData.frameId!==this.frameId||e){this.mdf=!!e,this.frameId=this.elem.globalData.frameId;var t,n=this.dynamicProperties.length;for(t=0;t<n;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t].mdf&&(this.mdf=!0)}},RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this.dynamicProperties),this.dynamicProperties.length||this.getValue(!0)},RoundCornersModifier.prototype.processPath=function(e,t){var n,a,o,r,i,s,l,u,f,c,d=e.v.length,p=[],h=[],g=[];for(n=0;n<d;n+=1)a=e.v[n],r=e.o[n],o=e.i[n],a[0]===r[0]&&a[1]===r[1]&&a[0]===o[0]&&a[1]===o[1]?0!==n&&n!==d-1||e.c?(i=0===n?e.v[d-1]:e.v[n-1],f=Math.sqrt(Math.pow(a[0]-i[0],2)+Math.pow(a[1]-i[1],2)),c=f?Math.min(f/2,t)/f:0,s=[a[0]+(i[0]-a[0])*c,a[1]-(a[1]-i[1])*c],u=s,l=[s[0]-(s[0]-a[0])*roundCorner,s[1]-(s[1]-a[1])*roundCorner],p.push(s),h.push(l),g.push(u),i=n===d-1?e.v[0]:e.v[n+1],f=Math.sqrt(Math.pow(a[0]-i[0],2)+Math.pow(a[1]-i[1],2)),c=f?Math.min(f/2,t)/f:0,s=[a[0]+(i[0]-a[0])*c,a[1]+(i[1]-a[1])*c],u=[s[0]-(s[0]-a[0])*roundCorner,s[1]-(s[1]-a[1])*roundCorner],l=s,p.push(s),h.push(l),g.push(u)):(p.push(a),h.push(r),g.push(o)):(p.push(e.v[n]),h.push(e.o[n]),g.push(e.i[n]));return{v:p,o:h,i:g,c:e.c}},RoundCornersModifier.prototype.processShapes=function(){var e,t,n,a,o=this.shapes.length,r=this.rd.v;if(0!==r){var i,s;for(t=0;t<o;t+=1)if(s=[],i=this.shapes[t],i.shape.mdf||this.mdf){for(i.shape.mdf=!0,e=i.shape.paths,a=e.length,n=0;n<a;n+=1)s.push(this.processPath(e[n],r));i.shape.paths=s,i.last=s}else i.shape.paths=i.last}this.dynamicProperties.length||(this.mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier);var ImagePreloader=function(){function e(){this.loadedAssets+=1,this.loadedAssets,this.totalImages}function t(e){var t="";if(this.assetsPath){var n=e.p;n.indexOf("images/")!==-1&&(n=n.split("/")[1]),t=this.assetsPath+n}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t}function n(t){var n=document.createElement("img");n.addEventListener("load",e.bind(this),!1),n.addEventListener("error",e.bind(this),!1),n.src=t}function a(e){this.totalAssets=e.length;var a;for(a=0;a<this.totalAssets;a+=1)e[a].layers||(n.bind(this)(t.bind(this)(e[a])),this.totalImages+=1)}function o(e){this.path=e||""}function r(e){this.assetsPath=e||""}return function(){this.loadAssets=a,this.setAssetsPath=r,this.setPath=o,this.assetsPath="",this.path="",this.totalAssets=0,this.totalImages=0,this.loadedAssets=0}}(),featureSupport=function(){var e={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),e}(),filtersFactory=function(){function e(e){var t=document.createElementNS(svgNS,"filter");return t.setAttribute("id",e),t.setAttribute("filterUnits","objectBoundingBox"),t.setAttribute("x","0%"),t.setAttribute("y","0%"),t.setAttribute("width","100%"),t.setAttribute("height","100%"),t}function t(){var e=document.createElementNS(svgNS,"feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1"),e}var n={};return n.createFilter=e,n.createAlphaToLuminanceFilter=t,n}();BaseRenderer.prototype.checkLayers=function(e){var t,n,a=this.layers.length;for(this.completeLayers=!0,t=a-1;t>=0;t--)this.elements[t]||(n=this.layers[t],n.ip-n.st<=e-this.layers[t].st&&n.op-n.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 99:return null}return this.createBase(e)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,n,a=e.length,o=this.layers.length;for(t=0;t<a;t+=1)for(n=0;n<o;){if(this.layers[n].id==e[t].id){this.layers[n]=e[t];break}n+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,n){n=n||[];for(var a=this.elements,o=this.layers,r=0,i=o.length;r<i;)o[r].ind==t&&(a[r]&&a[r]!==!0?void 0!==o[r].parent?(n.push(a[r]),a[r]._isParent=!0,this.buildElementParenting(e,o[r].parent,n)):(n.push(a[r]),a[r]._isParent=!0,e.setHierarchy(n)):(this.buildItem(r),this.addPendingElement(e))),r+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},extendPrototype(BaseRenderer,SVGRenderer),SVGRenderer.prototype.createBase=function(e){return new SVGBaseElement(e,this.layerElement,this.globalData,this)},SVGRenderer.prototype.createShape=function(e){return new IShapeElement(e,this.layerElement,this.globalData,this)},SVGRenderer.prototype.createText=function(e){return new SVGTextElement(e,this.layerElement,this.globalData,this)},SVGRenderer.prototype.createImage=function(e){return new IImageElement(e,this.layerElement,this.globalData,this)},SVGRenderer.prototype.createComp=function(e){return new ICompElement(e,this.layerElement,this.globalData,this)},SVGRenderer.prototype.createSolid=function(e){return new ISolidElement(e,this.layerElement,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(e){this.layerElement=document.createElementNS(svgNS,"svg"),this.layerElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.layerElement.setAttribute("width",e.w),this.layerElement.setAttribute("height",e.h),this.layerElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.layerElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.layerElement.style.width="100%",this.layerElement.style.height="100%",this.animationItem.wrapper.appendChild(this.layerElement);var t=document.createElementNS(svgNS,"defs");this.globalData.defs=t,this.layerElement.appendChild(t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.frameId=0,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h},this.data=e,this.globalData.frameRate=e.fr;var n=document.createElementNS(svgNS,"clipPath"),a=document.createElementNS(svgNS,"rect");a.setAttribute("width",e.w),a.setAttribute("height",e.h),a.setAttribute("x",0),a.setAttribute("y",0);var o="animationMask_"+randomString(10);n.setAttribute("id",o),n.appendChild(a);var r=document.createElementNS(svgNS,"g");r.setAttribute("clip-path","url(#"+o+")"),this.layerElement.appendChild(r),t.appendChild(n),this.layerElement=r,this.layers=e.layers,this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.elements=Array.apply(null,{length:e.layers.length})},SVGRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e++)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!=this.layers[e].ty){t[e]=!0;var n=this.createItem(this.layers[e]);t[e]=n,expressionsPlugin&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,e),this.layers[e].tt&&(this.elements[e-1]&&this.elements[e-1]!==!0?n.setMatte(t[e-1].layerId):(this.buildItem(e-1),this.addPendingElement(n)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,n=this.elements.length;t<n;){if(this.elements[t]===e){e.setMatte(this.elements[t-1].layerId);break}t+=1}}},SVGRenderer.prototype.renderFrame=function(e){if(this.renderedFrame!=e&&!this.destroyed){null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e;var t,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=n-1;t>=0;t--)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);for(t=n-1;t>=0;t--)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){for(var a,o=0;o<t;)this.elements[o]&&this.elements[o]!==!0&&this.elements[o].getBaseElement()&&(a=this.elements[o].getBaseElement()),o+=1;a?this.layerElement.insertBefore(n,a):this.layerElement.appendChild(n)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},SVGRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length,a=document.createElementNS(svgNS,"g");for(t=0;t<n;t+=1)if(e[t].xt){var o=this.createComp(e[t],a,this.globalData.comp,null);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.prepareFrame=function(){var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue()},MaskElement.prototype.renderFrame=function(e){var t,n=this.masksProperties.length;for(t=0;t<n;t++)if((this.viewData[t].prop.mdf||this.firstFrame)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op.mdf||this.firstFrame)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp.mdf||this.firstFrame)&&(this.viewData[t].invRect.setAttribute("x",-e.props[12]),this.viewData[t].invRect.setAttribute("y",-e.props[13])),this.storedData[t].x&&(this.storedData[t].x.mdf||this.firstFrame))){var a=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url(#"+this.storedData[t].filterId+")")),a.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}this.firstFrame=!1},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,n){var a,o,r=" M"+t.v[0][0]+","+t.v[0][1];for(o=t.v.length,a=1;a<o;a+=1)r+=" C"+bm_rnd(t.o[a-1][0])+","+bm_rnd(t.o[a-1][1])+" "+bm_rnd(t.i[a][0])+","+bm_rnd(t.i[a][1])+" "+bm_rnd(t.v[a][0])+","+bm_rnd(t.v[a][1]);t.c&&o>1&&(r+=" C"+bm_rnd(t.o[a-1][0])+","+bm_rnd(t.o[a-1][1])+" "+bm_rnd(t.i[0][0])+","+bm_rnd(t.i[0][1])+" "+bm_rnd(t.v[0][0])+","+bm_rnd(t.v[0][1])),n.lastPath!==r&&(n.elem&&(t.c?e.inv?n.elem.setAttribute("d",this.solidPath+r):n.elem.setAttribute("d",r):n.elem.setAttribute("d","")),n.lastPath=r)},MaskElement.prototype.getMask=function(e){for(var t=0,n=this.masksProperties.length;t<n;){if(this.masksProperties[t].nm===e)return{maskPath:this.viewData[t].prop.pv};t+=1}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.paths=null,this.masksProperties=null},BaseElement.prototype.checkMasks=function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&this.data.masksProperties[e].cl!==!1)return!0;e+=1}return!1},BaseElement.prototype.checkParenting=function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent)},BaseElement.prototype.prepareFrame=function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?this.isVisible!==!0&&(this.elemMdf=!0,this.globalData.mdf=!0,this.isVisible=!0,this.firstFrame=!0,this.data.hasMask&&(this.maskManager.firstFrame=!0)):this.isVisible!==!1&&(this.elemMdf=!0,this.globalData.mdf=!0,this.isVisible=!1);var t,n=this.dynamicProperties.length;for(t=0;t<n;t+=1)(this.isVisible||this._isParent&&"transform"===this.dynamicProperties[t].type)&&(this.dynamicProperties[t].getValue(),this.dynamicProperties[t].mdf&&(this.elemMdf=!0,this.globalData.mdf=!0));return this.data.hasMask&&this.isVisible&&this.maskManager.prepareFrame(e*this.data.sr),this.currentFrameNum=e*this.data.sr,this.isVisible},BaseElement.prototype.globalToLocal=function(e){var t=[];t.push(this.finalTransform);for(var n=!0,a=this.comp;n;)a.finalTransform?(a.data.hasMask&&t.splice(0,0,a.finalTransform),a=a.comp):n=!1;var o,r,i=t.length;for(o=0;o<i;o+=1)r=t[o].mat.applyToPointArray(0,0,0),e=[e[0]-r[0],e[1]-r[1],0];return e},BaseElement.prototype.initExpressions=function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.layerInterface.registerMaskInterface(this.maskManager);var e=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(e),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?this.layerInterface.shapeInterface=ShapeExpressionInterface.createShapeInterface(this.shapesData,this.viewData,this.layerInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this))},BaseElement.prototype.setBlendMode=function(){var e="";switch(this.data.bm){case 1:e="multiply";break;case 2:e="screen";break;case 3:e="overlay";break;case 4:e="darken";break;case 5:e="lighten";break;case 6:e="color-dodge";break;case 7:e="color-burn";break;case 8:e="hard-light";break;case 9:e="soft-light";break;case 10:e="difference";break;case 11:e="exclusion";break;case 12:e="hue";break;case 13:e="saturation";break;case 14:e="color";break;case 15:e="luminosity"}(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},BaseElement.prototype.init=function(){this.data.sr||(this.data.sr=1),this.dynamicProperties=[],this.data.ef&&(this.effects=new EffectsManager(this.data,this,this.dynamicProperties)),this.hidden=!1,this.firstFrame=!0,this.isVisible=!1,this._isParent=!1,this.currentFrameNum=-99999,this.lastNum=-99999,this.data.ks&&(this.finalTransform={mProp:PropertyFactory.getProp(this,this.data.ks,2,null,this.dynamicProperties),matMdf:!1,opMdf:!1,mat:new Matrix,opacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.finalTransform.op=this.finalTransform.mProp.o,this.transform=this.finalTransform.mProp,11!==this.data.ty&&this.createElements(),this.data.hasMask&&this.addMasks(this.data)),this.elemMdf=!1},BaseElement.prototype.getType=function(){return this.type},BaseElement.prototype.resetHierarchy=function(){this.hierarchy?this.hierarchy.length=0:this.hierarchy=[]},BaseElement.prototype.getHierarchy=function(){return this.hierarchy||(this.hierarchy=[]),this.hierarchy},BaseElement.prototype.setHierarchy=function(e){this.hierarchy=e},BaseElement.prototype.getLayerSize=function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}},BaseElement.prototype.hide=function(){},BaseElement.prototype.mHelper=new Matrix,createElement(BaseElement,SVGBaseElement),SVGBaseElement.prototype.createElements=function(){this.layerElement=document.createElementNS(svgNS,"g"),this.transformedElement=this.layerElement,this.data.hasMask&&(this.maskedElement=this.layerElement);var e=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var t=document.createElementNS(svgNS,"mask");if(t.setAttribute("id",this.layerId),t.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t),!featureSupport.maskType&&1==this.data.td){t.setAttribute("mask-type","luminance");var n=randomString(10),a=filtersFactory.createFilter(n);this.globalData.defs.appendChild(a),a.appendChild(filtersFactory.createAlphaToLuminanceFilter());var o=document.createElementNS(svgNS,"g");o.appendChild(this.layerElement),e=o,t.appendChild(o),o.setAttribute("filter","url(#"+n+")")}}else if(2==this.data.td){var r=document.createElementNS(svgNS,"mask");r.setAttribute("id",this.layerId),r.setAttribute("mask-type","alpha");var i=document.createElementNS(svgNS,"g");r.appendChild(i);var n=randomString(10),a=filtersFactory.createFilter(n),s=document.createElementNS(svgNS,"feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 -1 1"),a.appendChild(s),this.globalData.defs.appendChild(a);var l=document.createElementNS(svgNS,"rect");if(l.setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),i.setAttribute("filter","url(#"+n+")"),i.appendChild(l),i.appendChild(this.layerElement),e=i,!featureSupport.maskType){r.setAttribute("mask-type","luminance"),a.appendChild(filtersFactory.createAlphaToLuminanceFilter());var o=document.createElementNS(svgNS,"g");i.appendChild(l),o.appendChild(this.layerElement),e=o,i.appendChild(o)}this.globalData.defs.appendChild(r)}}else(this.data.hasMask||this.data.tt)&&this.data.tt?(this.matteElement=document.createElementNS(svgNS,"g"),this.matteElement.appendChild(this.layerElement),e=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(!this.data.ln&&!this.data.cl||4!==this.data.ty&&0!==this.data.ty||(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl)),0===this.data.ty){var u=document.createElementNS(svgNS,"clipPath"),f=document.createElementNS(svgNS,"path");f.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c="cp_"+randomString(8);if(u.setAttribute("id",c),u.appendChild(f),this.globalData.defs.appendChild(u),this.checkMasks()){var d=document.createElementNS(svgNS,"g");d.setAttribute("clip-path","url(#"+c+")"),d.appendChild(this.layerElement),this.transformedElement=d,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url(#"+c+")")}0!==this.data.bm&&this.setBlendMode(),this.layerElement!==this.parentContainer&&(this.placeholder=null),this.data.ef&&(this.effectsManager=new SVGEffects(this)),this.checkParenting()},SVGBaseElement.prototype.setBlendMode=BaseElement.prototype.setBlendMode,SVGBaseElement.prototype.renderFrame=function(e){if(3===this.data.ty||this.data.hd||!this.isVisible)return!1;this.lastNum=this.currentFrameNum,this.finalTransform.opMdf=this.firstFrame||this.finalTransform.op.mdf,this.finalTransform.matMdf=this.firstFrame||this.finalTransform.mProp.mdf,this.finalTransform.opacity=this.finalTransform.op.v;var t,n=this.finalTransform.mat;if(this.hierarchy){var a=0,o=this.hierarchy.length;if(!this.finalTransform.matMdf)for(;a<o;){if(this.hierarchy[a].finalTransform.mProp.mdf){this.finalTransform.matMdf=!0;break}a+=1}if(this.finalTransform.matMdf)for(t=this.finalTransform.mProp.v.props,n.cloneFromProps(t),a=0;a<o;a+=1)t=this.hierarchy[a].finalTransform.mProp.v.props,n.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}else this.isVisible&&(n=this.finalTransform.mProp.v);return this.finalTransform.matMdf&&this.layerElement&&this.transformedElement.setAttribute("transform",n.to2dCSS()),this.finalTransform.opMdf&&this.layerElement&&this.transformedElement.setAttribute("opacity",this.finalTransform.op.v),this.data.hasMask&&this.maskManager.renderFrame(n),this.effectsManager&&this.effectsManager.renderFrame(this.firstFrame),this.isVisible},SVGBaseElement.prototype.destroy=function(){this.layerElement=null,this.parentContainer=null,this.matteElement&&(this.matteElement=null),this.maskManager&&this.maskManager.destroy()},SVGBaseElement.prototype.getBaseElement=function(){return this.baseElement},SVGBaseElement.prototype.addMasks=function(e){this.maskManager=new MaskElement(e,this,this.globalData)},SVGBaseElement.prototype.setMatte=function(e){this.matteElement&&this.matteElement.setAttribute("mask","url(#"+e+")")},SVGBaseElement.prototype.setMatte=function(e){this.matteElement&&this.matteElement.setAttribute("mask","url(#"+e+")")},SVGBaseElement.prototype.hide=function(){},ITextElement.prototype.init=function(){this._parent.init.call(this),this.lettersChangedFlag=!1,this.currentTextDocumentData={};var e=this.data;this.viewData={m:{a:PropertyFactory.getProp(this,e.t.m.a,1,0,this.dynamicProperties)}};var t=this.data.t;if(t.a.length){this.viewData.a=Array.apply(null,{length:t.a.length});var n,a,o,r=t.a.length;for(n=0;n<r;n+=1)o=t.a[n],a={a:{},s:{}},"r"in o.a&&(a.a.r=PropertyFactory.getProp(this,o.a.r,0,degToRads,this.dynamicProperties)),"rx"in o.a&&(a.a.rx=PropertyFactory.getProp(this,o.a.rx,0,degToRads,this.dynamicProperties)),"ry"in o.a&&(a.a.ry=PropertyFactory.getProp(this,o.a.ry,0,degToRads,this.dynamicProperties)),"sk"in o.a&&(a.a.sk=PropertyFactory.getProp(this,o.a.sk,0,degToRads,this.dynamicProperties)),"sa"in o.a&&(a.a.sa=PropertyFactory.getProp(this,o.a.sa,0,degToRads,this.dynamicProperties)),"s"in o.a&&(a.a.s=PropertyFactory.getProp(this,o.a.s,1,.01,this.dynamicProperties)),"a"in o.a&&(a.a.a=PropertyFactory.getProp(this,o.a.a,1,0,this.dynamicProperties)),"o"in o.a&&(a.a.o=PropertyFactory.getProp(this,o.a.o,0,.01,this.dynamicProperties)),"p"in o.a&&(a.a.p=PropertyFactory.getProp(this,o.a.p,1,0,this.dynamicProperties)),"sw"in o.a&&(a.a.sw=PropertyFactory.getProp(this,o.a.sw,0,0,this.dynamicProperties)),"sc"in o.a&&(a.a.sc=PropertyFactory.getProp(this,o.a.sc,1,0,this.dynamicProperties)),"fc"in o.a&&(a.a.fc=PropertyFactory.getProp(this,o.a.fc,1,0,this.dynamicProperties)),"fh"in o.a&&(a.a.fh=PropertyFactory.getProp(this,o.a.fh,0,0,this.dynamicProperties)),"fs"in o.a&&(a.a.fs=PropertyFactory.getProp(this,o.a.fs,0,.01,this.dynamicProperties)),"fb"in o.a&&(a.a.fb=PropertyFactory.getProp(this,o.a.fb,0,.01,this.dynamicProperties)),"t"in o.a&&(a.a.t=PropertyFactory.getProp(this,o.a.t,0,0,this.dynamicProperties)),a.s=PropertyFactory.getTextSelectorProp(this,o.s,this.dynamicProperties),a.s.t=o.s.t,this.viewData.a[n]=a}else this.viewData.a=[];t.p&&"m"in t.p?(this.viewData.p={f:PropertyFactory.getProp(this,t.p.f,0,0,this.dynamicProperties),l:PropertyFactory.getProp(this,t.p.l,0,0,this.dynamicProperties),r:t.p.r,m:this.maskManager.getMaskProperty(t.p.m)},this.maskPath=!0):this.maskPath=!1},ITextElement.prototype.prepareFrame=function(e){var t=0,n=this.data.t.d.k.length,a=this.data.t.d.k[t].s;for(t+=1;t<n&&!(this.data.t.d.k[t].t>e);)a=this.data.t.d.k[t].s,t+=1;this.lettersChangedFlag=!1,a!==this.currentTextDocumentData&&(this.currentTextDocumentData=a,this.lettersChangedFlag=!0,this.buildNewText()),this._parent.prepareFrame.call(this,e)},ITextElement.prototype.createPathShape=function(e,t){var n,a,o,r,i=t.length,s="";for(n=0;n<i;n+=1){for(o=t[n].ks.k.i.length,r=t[n].ks.k,a=1;a<o;a+=1)1==a&&(s+=" M"+e.applyToPointStringified(r.v[0][0],r.v[0][1])),s+=" C"+e.applyToPointStringified(r.o[a-1][0],r.o[a-1][1])+" "+e.applyToPointStringified(r.i[a][0],r.i[a][1])+" "+e.applyToPointStringified(r.v[a][0],r.v[a][1]);s+=" C"+e.applyToPointStringified(r.o[a-1][0],r.o[a-1][1])+" "+e.applyToPointStringified(r.i[0][0],r.i[0][1])+" "+e.applyToPointStringified(r.v[0][0],r.v[0][1]),s+="z"}return s},ITextElement.prototype.getMeasures=function(){var e,t,n,a,o=this.mHelper,r=this.renderType,i=this.data,s=this.currentTextDocumentData,l=s.l;if(this.maskPath){var u=this.viewData.p.m;if(!this.viewData.p.n||this.viewData.p.mdf){var f=u.v;this.viewData.p.r&&(f=reversePath(f));var c={tLength:0,segments:[]};a=f.v.length-1;var d,p=0;for(n=0;n<a;n+=1)d={s:f.v[n],e:f.v[n+1],to:[f.o[n][0]-f.v[n][0],f.o[n][1]-f.v[n][1]],ti:[f.i[n+1][0]-f.v[n+1][0],f.i[n+1][1]-f.v[n+1][1]]},bez.buildBezierData(d),c.tLength+=d.bezierData.segmentLength,c.segments.push(d),p+=d.bezierData.segmentLength;n=a,u.v.c&&(d={s:f.v[n],e:f.v[0],to:[f.o[n][0]-f.v[n][0],f.o[n][1]-f.v[n][1]],ti:[f.i[0][0]-f.v[0][0],f.i[0][1]-f.v[0][1]]},bez.buildBezierData(d),c.tLength+=d.bezierData.segmentLength,c.segments.push(d),p+=d.bezierData.segmentLength),this.viewData.p.pi=c}var h,g,m,c=this.viewData.p.pi,v=this.viewData.p.f.v,E=0,y=1,_=0,b=!0,S=c.segments;if(v<0&&u.v.c)for(c.tLength<Math.abs(v)&&(v=-Math.abs(v)%c.tLength),E=S.length-1,m=S[E].bezierData.points,y=m.length-1;v<0;)v+=m[y].partialLength,y-=1,y<0&&(E-=1,m=S[E].bezierData.points,y=m.length-1);m=S[E].bezierData.points,g=m[y-1],h=m[y];var I,T,N=h.partialLength}a=l.length,e=0,t=0;var A,M,C,O,D,L=1.2*s.s*.714,R=!0,x=this.viewData,w=Array.apply(null,{length:a});O=x.a.length;var P,k,U,G,j,F,B,V,H,z,W,Y,K,Q,Z,X,J=-1,q=v,$=E,ee=y,te=-1,ne=0;for(n=0;n<a;n+=1)if(o.reset(),F=1,l[n].n)e=0,t+=s.yOffset,t+=R?1:0,v=q,R=!1,ne=0,this.maskPath&&(E=$,y=ee,m=S[E].bezierData.points,g=m[y-1],h=m[y],N=h.partialLength,_=0),w[n]=this.emptyProp;else{if(this.maskPath){if(te!==l[n].line){switch(s.j){case 1:v+=p-s.lineWidths[l[n].line];break;case 2:v+=(p-s.lineWidths[l[n].line])/2}te=l[n].line}J!==l[n].ind&&(l[J]&&(v+=l[J].extra),v+=l[n].an/2,J=l[n].ind),v+=x.m.a.v[0]*l[n].an/200;var ae=0;for(C=0;C<O;C+=1)A=x.a[C].a,"p"in A&&(M=x.a[C].s,k=M.getMult(l[n].anIndexes[C],i.t.a[C].s.totalChars),ae+=k.length?A.p.v[0]*k[0]:A.p.v[0]*k);for(b=!0;b;)_+N>=v+ae||!m?(I=(v+ae-_)/h.partialLength,G=g.point[0]+(h.point[0]-g.point[0])*I,j=g.point[1]+(h.point[1]-g.point[1])*I,o.translate(0,-(x.m.a.v[1]*L/100)+t),b=!1):m&&(_+=h.partialLength,y+=1,y>=m.length&&(y=0,E+=1,S[E]?m=S[E].bezierData.points:u.v.c?(y=0,E=0,m=S[E].bezierData.points):(_-=h.partialLength,m=null)),m&&(g=h,h=m[y],N=h.partialLength));U=l[n].an/2-l[n].add,o.translate(-U,0,0)}else U=l[n].an/2-l[n].add,o.translate(-U,0,0),o.translate(-x.m.a.v[0]*l[n].an/200,-x.m.a.v[1]*L/100,0);for(ne+=l[n].l/2,C=0;C<O;C+=1)A=x.a[C].a,"t"in A&&(M=x.a[C].s,k=M.getMult(l[n].anIndexes[C],i.t.a[C].s.totalChars),this.maskPath?v+=k.length?A.t*k[0]:A.t*k:e+=k.length?A.t.v*k[0]:A.t.v*k);for(ne+=l[n].l/2,s.strokeWidthAnim&&(V=s.sw||0),s.strokeColorAnim&&(B=s.sc?[s.sc[0],s.sc[1],s.sc[2]]:[0,0,0]),s.fillColorAnim&&(H=[s.fc[0],s.fc[1],s.fc[2]]),C=0;C<O;C+=1)A=x.a[C].a,"a"in A&&(M=x.a[C].s,k=M.getMult(l[n].anIndexes[C],i.t.a[C].s.totalChars),k.length?o.translate(-A.a.v[0]*k[0],-A.a.v[1]*k[1],A.a.v[2]*k[2]):o.translate(-A.a.v[0]*k,-A.a.v[1]*k,A.a.v[2]*k));for(C=0;C<O;C+=1)A=x.a[C].a,"s"in A&&(M=x.a[C].s,k=M.getMult(l[n].anIndexes[C],i.t.a[C].s.totalChars),k.length?o.scale(1+(A.s.v[0]-1)*k[0],1+(A.s.v[1]-1)*k[1],1):o.scale(1+(A.s.v[0]-1)*k,1+(A.s.v[1]-1)*k,1));for(C=0;C<O;C+=1){if(A=x.a[C].a,M=x.a[C].s,k=M.getMult(l[n].anIndexes[C],i.t.a[C].s.totalChars),"sk"in A&&(k.length?o.skewFromAxis(-A.sk.v*k[0],A.sa.v*k[1]):o.skewFromAxis(-A.sk.v*k,A.sa.v*k)),"r"in A&&(k.length?o.rotateZ(-A.r.v*k[2]):o.rotateZ(-A.r.v*k)),"ry"in A&&(k.length?o.rotateY(A.ry.v*k[1]):o.rotateY(A.ry.v*k)),"rx"in A&&(k.length?o.rotateX(A.rx.v*k[0]):o.rotateX(A.rx.v*k)),"o"in A&&(F+=k.length?(A.o.v*k[0]-F)*k[0]:(A.o.v*k-F)*k),s.strokeWidthAnim&&"sw"in A&&(V+=k.length?A.sw.v*k[0]:A.sw.v*k),s.strokeColorAnim&&"sc"in A)for(z=0;z<3;z+=1)k.length?B[z]=Math.round(255*(B[z]+(A.sc.v[z]-B[z])*k[0])):B[z]=Math.round(255*(B[z]+(A.sc.v[z]-B[z])*k));if(s.fillColorAnim){if("fc"in A)for(z=0;z<3;z+=1)k.length?H[z]=H[z]+(A.fc.v[z]-H[z])*k[0]:H[z]=H[z]+(A.fc.v[z]-H[z])*k;"fh"in A&&(H=k.length?addHueToRGB(H,A.fh.v*k[0]):addHueToRGB(H,A.fh.v*k)),"fs"in A&&(H=k.length?addSaturationToRGB(H,A.fs.v*k[0]):addSaturationToRGB(H,A.fs.v*k)),"fb"in A&&(H=k.length?addBrightnessToRGB(H,A.fb.v*k[0]):addBrightnessToRGB(H,A.fb.v*k))}}for(C=0;C<O;C+=1)A=x.a[C].a,"p"in A&&(M=x.a[C].s,k=M.getMult(l[n].anIndexes[C],i.t.a[C].s.totalChars),this.maskPath?k.length?o.translate(0,A.p.v[1]*k[0],-A.p.v[2]*k[1]):o.translate(0,A.p.v[1]*k,-A.p.v[2]*k):k.length?o.translate(A.p.v[0]*k[0],A.p.v[1]*k[1],-A.p.v[2]*k[2]):o.translate(A.p.v[0]*k,A.p.v[1]*k,-A.p.v[2]*k));if(s.strokeWidthAnim&&(W=V<0?0:V),s.strokeColorAnim&&(Y="rgb("+Math.round(255*B[0])+","+Math.round(255*B[1])+","+Math.round(255*B[2])+")"),s.fillColorAnim&&(K="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),this.maskPath){if(i.t.p.p){T=(h.point[1]-g.point[1])/(h.point[0]-g.point[0]);var oe=180*Math.atan(T)/Math.PI;h.point[0]<g.point[0]&&(oe+=180),o.rotate(-oe*Math.PI/180)}o.translate(G,j,0),o.translate(x.m.a.v[0]*l[n].an/200,x.m.a.v[1]*L/100,0),v-=x.m.a.v[0]*l[n].an/200,l[n+1]&&J!==l[n+1].ind&&(v+=l[n].an/2,v+=s.tr/1e3*s.s)}else{switch(o.translate(e,t,0),s.ps&&o.translate(s.ps[0],s.ps[1]+s.ascent,0),s.j){case 1:o.translate(s.justifyOffset+(s.boxWidth-s.lineWidths[l[n].line]),0,0);break;case 2:o.translate(s.justifyOffset+(s.boxWidth-s.lineWidths[l[n].line])/2,0,0)}o.translate(U,0,0),o.translate(x.m.a.v[0]*l[n].an/200,x.m.a.v[1]*L/100,0),e+=l[n].l+s.tr/1e3*s.s}"html"===r?Q=o.toCSS():"svg"===r?Q=o.to2dCSS():Z=[o.props[0],o.props[1],o.props[2],o.props[3],o.props[4],o.props[5],o.props[6],o.props[7],o.props[8],o.props[9],o.props[10],o.props[11],o.props[12],o.props[13],o.props[14],o.props[15]],X=F,P=this.renderedLetters[n],!P||P.o===X&&P.sw===W&&P.sc===Y&&P.fc===K?"svg"!==r&&"html"!==r||P&&P.m===Q?"canvas"!==r||P&&P.props[0]===Z[0]&&P.props[1]===Z[1]&&P.props[4]===Z[4]&&P.props[5]===Z[5]&&P.props[12]===Z[12]&&P.props[13]===Z[13]?D=P:(this.lettersChangedFlag=!0,D=new LetterProps(X,W,Y,K,null,Z)):(this.lettersChangedFlag=!0,D=new LetterProps(X,W,Y,K,Q)):(this.lettersChangedFlag=!0,D=new LetterProps(X,W,Y,K,Q,Z)),this.renderedLetters[n]=D}},ITextElement.prototype.emptyProp=new LetterProps,createElement(SVGBaseElement,SVGTextElement),SVGTextElement.prototype.init=ITextElement.prototype.init,SVGTextElement.prototype.createPathShape=ITextElement.prototype.createPathShape,SVGTextElement.prototype.getMeasures=ITextElement.prototype.getMeasures,SVGTextElement.prototype.prepareFrame=ITextElement.prototype.prepareFrame,SVGTextElement.prototype.createElements=function(){this._parent.createElements.call(this),this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl)},SVGTextElement.prototype.buildNewText=function(){var e,t,n=this.currentTextDocumentData;this.renderedLetters=Array.apply(null,{length:this.currentTextDocumentData.l?this.currentTextDocumentData.l.length:0}),n.fc?this.layerElement.setAttribute("fill","rgb("+Math.round(255*n.fc[0])+","+Math.round(255*n.fc[1])+","+Math.round(255*n.fc[2])+")"):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke","rgb("+Math.round(255*n.sc[0])+","+Math.round(255*n.sc[1])+","+Math.round(255*n.sc[2])+")"),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.s);var a=this.globalData.fontManager.getFontByName(n.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var o=n.fWeight,r=n.fStyle;this.layerElement.setAttribute("font-style",r),this.layerElement.setAttribute("font-weight",o)}var i=n.l||[];if(t=i.length){var s,l,u=this.mHelper,f="",c=this.data.singleShape;if(c)var d=0,p=0,h=n.lineWidths,g=n.boxWidth,m=!0;var v=0;for(e=0;e<t;e+=1){if(this.globalData.fontManager.chars?c&&0!==e||(s=this.textSpans[v]?this.textSpans[v]:document.createElementNS(svgNS,"path")):s=this.textSpans[v]?this.textSpans[v]:document.createElementNS(svgNS,"text"),s.style.display="inherit",s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),c&&i[e].n&&(d=0,p+=n.yOffset,p+=m?1:0,m=!1),u.reset(),this.globalData.fontManager.chars&&u.scale(n.s/100,n.s/100),c){switch(n.ps&&u.translate(n.ps[0],n.ps[1]+n.ascent,0),n.j){case 1:u.translate(n.justifyOffset+(g-h[i[e].line]),0,0);break;case 2:u.translate(n.justifyOffset+(g-h[i[e].line])/2,0,0)}u.translate(d,p,0)}if(this.globalData.fontManager.chars){var E,y=this.globalData.fontManager.getCharData(n.t.charAt(e),a.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily);E=y?y.data:null,E&&E.shapes&&(l=E.shapes[0].it,c||(f=""),f+=this.createPathShape(u,l),c||s.setAttribute("d",f)),c||this.layerElement.appendChild(s)}else s.textContent=i[e].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.layerElement.appendChild(s),c&&s.setAttribute("transform",u.to2dCSS());c&&(d+=i[e].l,d+=n.tr/1e3*n.s),this.textSpans[v]=s,v+=1}if(!c)for(;v<this.textSpans.length;)this.textSpans[v].style.display="none",v+=1;c&&this.globalData.fontManager.chars&&(s.setAttribute("d",f),this.layerElement.appendChild(s))}},SVGTextElement.prototype.hide=function(){this.hidden||(this.layerElement.style.display="none",this.hidden=!0)},SVGTextElement.prototype.renderFrame=function(e){if(this._parent.renderFrame.call(this,e)===!1)return void this.hide();if(this.hidden&&(this.hidden=!1,this.layerElement.style.display="block"),!this.data.singleShape&&(this.getMeasures(),this.lettersChangedFlag)){var t,n,a=this.renderedLetters,o=this.currentTextDocumentData.l;n=o.length;var r;for(t=0;t<n;t+=1)o[t].n||(r=a[t],this.textSpans[t].setAttribute("transform",r.m),this.textSpans[t].setAttribute("opacity",r.o),r.sw&&this.textSpans[t].setAttribute("stroke-width",r.sw),r.sc&&this.textSpans[t].setAttribute("stroke",r.sc),r.fc&&this.textSpans[t].setAttribute("fill",r.fc));this.firstFrame&&(this.firstFrame=!1)}},SVGTextElement.prototype.destroy=function(){this._parent.destroy.call(this._parent)},SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager.mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,a=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",n[0]-t[0]+" 0 0 0 "+t[0]+" "+(n[1]-t[1])+" 0 0 0 "+t[1]+" "+(n[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 "+a+" 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager.mdf){var t=this.filterManager.effectElements[2].p.v,n=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+n+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,n,a,o=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(a=this.elem.maskManager.masksProperties.length,n=0):(n=this.filterManager.effectElements[0].p.v-1,a=n+1),t=document.createElementNS(svgNS,"g"),t.setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1),n;n<a;n+=1)e=document.createElementNS(svgNS,"path"),t.appendChild(e),this.paths.push({p:e,m:n});if(3===this.filterManager.effectElements[10].p.v){var r=document.createElementNS(svgNS,"mask"),i="stms_"+randomString(10);r.setAttribute("id",i),r.setAttribute("mask-type","alpha"),r.appendChild(t),this.elem.globalData.defs.appendChild(r);var s=document.createElementNS(svgNS,"g");s.setAttribute("mask","url(#"+i+")"),o[0]&&s.appendChild(o[0]),this.elem.layerElement.appendChild(s),this.masker=r,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(var o=this.elem.layerElement.children||this.elem.layerElement.childNodes;o.length;)this.elem.layerElement.removeChild(o[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,n,a,o=this.paths.length;for(t=0;t<o;t+=1)if(n=this.elem.maskManager.viewData[this.paths[t].m],a=this.paths[t].p,(e||this.filterManager.mdf||n.prop.mdf)&&a.setAttribute("d",n.lastPath),e||this.filterManager.effectElements[9].p.mdf||this.filterManager.effectElements[4].p.mdf||this.filterManager.effectElements[7].p.mdf||this.filterManager.effectElements[8].p.mdf||n.prop.mdf){var r;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var i=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,s=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,l=a.getTotalLength();r="0 0 0 "+l*i+" ";var u,f=l*(s-i),c=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100,d=Math.floor(f/c);for(u=0;u<d;u+=1)r+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100+" ";r+="0 "+10*l+" 0 0"}else r="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100;a.setAttribute("stroke-dasharray",r)}if((e||this.filterManager.effectElements[4].p.mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p.mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p.mdf)){var p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bm_floor(255*p[0])+","+bm_floor(255*p[1])+","+bm_floor(255*p[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager.mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,a=this.filterManager.effectElements[2].p.v,o=a[0]+" "+n[0]+" "+t[0],r=a[1]+" "+n[1]+" "+t[1],i=a[2]+" "+n[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",o),this.feFuncG.setAttribute("tableValues",r),this.feFuncB.setAttribute("tableValues",i)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var n=document.createElementNS(svgNS,e);return n.setAttribute("type","table"),t.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(e,t,n,a,o){for(var r,i,s=0,l=256,u=Math.min(e,t),f=Math.max(e,t),c=Array.call(null,{length:l}),d=0,p=o-a,h=t-e;s<=256;)r=s/256,i=r<=u?h<0?o:a:r>=f?h<0?a:o:a+p*Math.pow((r-e)/h,1/n),c[d++]=i,s+=256/(l-1);return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager.mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[2].p.mdf||n[3].p.mdf||n[4].p.mdf||n[5].p.mdf||n[6].p.mdf)&&(t=this.getTableValue(n[2].p.v,n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[9].p.mdf||n[10].p.mdf||n[11].p.mdf||n[12].p.mdf||n[13].p.mdf)&&(t=this.getTableValue(n[9].p.v,n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[16].p.mdf||n[17].p.mdf||n[18].p.mdf||n[19].p.mdf||n[20].p.mdf)&&(t=this.getTableValue(n[16].p.v,n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[23].p.mdf||n[24].p.mdf||n[25].p.mdf||n[26].p.mdf||n[27].p.mdf)&&(t=this.getTableValue(n[23].p.v,n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[30].p.mdf||n[31].p.mdf||n[32].p.mdf||n[33].p.mdf||n[34].p.mdf)&&(t=this.getTableValue(n[30].p.v,n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v),this.feFuncA.setAttribute("tableValues",t))}},SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager.mdf){if((e||this.filterManager.effectElements[4].p.mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p.mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p.mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p.mdf||this.filterManager.effectElements[3].p.mdf){var n=this.filterManager.effectElements[3].p.v,a=(this.filterManager.effectElements[2].p.v-90)*degToRads,o=n*Math.cos(a),r=n*Math.sin(a);this.feOffset.setAttribute("dx",o),this.feOffset.setAttribute("dy",r)}}},SVGEffects.prototype.renderFrame=function(e){var t,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},createElement(SVGBaseElement,ICompElement),ICompElement.prototype.hide=function(){if(!this.hidden){var e,t=this.elements.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].hide();this.hidden=!0}},ICompElement.prototype.prepareFrame=function(e){if(this._parent.prepareFrame.call(this,e),this.isVisible!==!1||this.data.xt){if(this.tm){var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}else this.renderedFrame=e/this.data.sr;var n,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=0;n<a;n+=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st)}},ICompElement.prototype.renderFrame=function(e){var t,n=this._parent.renderFrame.call(this,e),a=this.layers.length;if(n===!1)return void this.hide();for(this.hidden=!1,t=0;t<a;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame();this.firstFrame&&(this.firstFrame=!1)},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroy=function(){this._parent.destroy.call(this._parent);var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.checkLayers=SVGRenderer.prototype.checkLayers,ICompElement.prototype.buildItem=SVGRenderer.prototype.buildItem,ICompElement.prototype.buildAllItems=SVGRenderer.prototype.buildAllItems,ICompElement.prototype.buildElementParenting=SVGRenderer.prototype.buildElementParenting,ICompElement.prototype.createItem=SVGRenderer.prototype.createItem,ICompElement.prototype.createImage=SVGRenderer.prototype.createImage,ICompElement.prototype.createComp=SVGRenderer.prototype.createComp,ICompElement.prototype.createSolid=SVGRenderer.prototype.createSolid,ICompElement.prototype.createShape=SVGRenderer.prototype.createShape,ICompElement.prototype.createText=SVGRenderer.prototype.createText,ICompElement.prototype.createBase=SVGRenderer.prototype.createBase,ICompElement.prototype.appendElementInPos=SVGRenderer.prototype.appendElementInPos,ICompElement.prototype.checkPendingElements=SVGRenderer.prototype.checkPendingElements,ICompElement.prototype.addPendingElement=SVGRenderer.prototype.addPendingElement,createElement(SVGBaseElement,IImageElement),IImageElement.prototype.createElements=function(){var e=this.globalData.getAssetsPath(this.assetData);this._parent.createElements.call(this),this.innerElem=document.createElementNS(svgNS,"image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio","xMidYMid slice"),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.maskedElement=this.innerElem,this.layerElement.appendChild(this.innerElem),this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl)},IImageElement.prototype.hide=function(){this.hidden||(this.layerElement.style.display="none",this.hidden=!0)},IImageElement.prototype.renderFrame=function(e){if(this._parent.renderFrame.call(this,e)===!1)return void this.hide();this.hidden&&(this.hidden=!1,this.layerElement.style.display="block"),this.firstFrame&&(this.firstFrame=!1)},IImageElement.prototype.destroy=function(){this._parent.destroy.call(this._parent),this.innerElem=null},createElement(SVGBaseElement,IShapeElement),IShapeElement.prototype.lcEnum={1:"butt",2:"round",3:"butt"},IShapeElement.prototype.ljEnum={1:"miter",2:"round",3:"butt"},IShapeElement.prototype.buildExpressionInterface=function(){},IShapeElement.prototype.createElements=function(){this._parent.createElements.call(this),this.searchShapes(this.shapesData,this.viewData,this.layerElement,this.dynamicProperties,0),this.data.hd&&!this.data.td||styleUnselectableDiv(this.layerElement)},IShapeElement.prototype.setGradientData=function(e,t,n){var a,o="gr_"+randomString(10);a=1===t.t?document.createElementNS(svgNS,"linearGradient"):document.createElementNS(svgNS,"radialGradient"),a.setAttribute("id",o),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var r,i,s,l=[];for(s=4*t.g.p,i=0;i<s;i+=4)r=document.createElementNS(svgNS,"stop"),a.appendChild(r),l.push(r);e.setAttribute("gf"===t.ty?"fill":"stroke","url(#"+o+")"),this.globalData.defs.appendChild(a),n.gf=a,n.cst=l},IShapeElement.prototype.setGradientOpacity=function(e,t,n){if(e.g.k.k[0].s&&e.g.k.k[0].s.length>4*e.g.p||e.g.k.k.length>4*e.g.p){var a,o,r,i,s=document.createElementNS(svgNS,"mask"),l=document.createElementNS(svgNS,"path");s.appendChild(l);var u="op_"+randomString(10),f="mk_"+randomString(10);s.setAttribute("id",f),a=1===e.t?document.createElementNS(svgNS,"linearGradient"):document.createElementNS(svgNS,"radialGradient"),a.setAttribute("id",u),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var c=[];for(r=4*e.g.p;r<i;r+=2)o=document.createElementNS(svgNS,"stop"),o.setAttribute("stop-color","rgb(255,255,255)"),a.appendChild(o),c.push(o);return l.setAttribute("gf"===e.ty?"fill":"stroke","url(#"+u+")"),this.globalData.defs.appendChild(a),this.globalData.defs.appendChild(s),t.of=a,t.ost=c,n.msElem=l,f}},IShapeElement.prototype.searchShapes=function(e,t,n,a,o,r){r=r||[];var i,s,l,u,f,c=[].concat(r),d=e.length-1,p=[],h=[];for(i=d;i>=0;i-=1)if("fl"==e[i].ty||"st"==e[i].ty||"gf"==e[i].ty||"gs"==e[i].ty){t[i]={},u={type:e[i].ty,d:"",ld:"",lvl:o,mdf:!1};var g=document.createElementNS(svgNS,"path");if(t[i].o=PropertyFactory.getProp(this,e[i].o,0,.01,a),("st"==e[i].ty||"gs"==e[i].ty)&&(g.setAttribute("stroke-linecap",this.lcEnum[e[i].lc]||"round"),g.setAttribute("stroke-linejoin",this.ljEnum[e[i].lj]||"round"),g.setAttribute("fill-opacity","0"),1==e[i].lj&&g.setAttribute("stroke-miterlimit",e[i].ml),t[i].w=PropertyFactory.getProp(this,e[i].w,0,null,a),e[i].d)){var m=PropertyFactory.getDashProp(this,e[i].d,"svg",a);m.k||(g.setAttribute("stroke-dasharray",m.dasharray),g.setAttribute("stroke-dashoffset",m.dashoffset)),t[i].d=m}if("fl"==e[i].ty||"st"==e[i].ty)t[i].c=PropertyFactory.getProp(this,e[i].c,1,255,a),n.appendChild(g);else{t[i].g=PropertyFactory.getGradientProp(this,e[i].g,a),2==e[i].t&&(t[i].h=PropertyFactory.getProp(this,e[i].h,1,.01,a),t[i].a=PropertyFactory.getProp(this,e[i].a,1,degToRads,a)),t[i].s=PropertyFactory.getProp(this,e[i].s,1,null,a),t[i].e=PropertyFactory.getProp(this,e[i].e,1,null,a),this.setGradientData(g,e[i],t[i],u);var v=this.setGradientOpacity(e[i],t[i],u);v&&g.setAttribute("mask","url(#"+v+")"),t[i].elem=g,n.appendChild(g)}2===e[i].r&&g.setAttribute("fill-rule","evenodd"),e[i].ln&&g.setAttribute("id",e[i].ln),e[i].cl&&g.setAttribute("class",e[i].cl),u.pElem=g,this.stylesList.push(u),t[i].style=u,p.push(u)}else if("gr"==e[i].ty){t[i]={it:[]};var E=document.createElementNS(svgNS,"g");n.appendChild(E),t[i].gr=E,this.searchShapes(e[i].it,t[i].it,E,a,o+1,c)}else if("tr"==e[i].ty)t[i]={transform:{op:PropertyFactory.getProp(this,e[i].o,0,.01,a),mProps:PropertyFactory.getProp(this,e[i],2,null,a)},elements:[]},f=t[i].transform,c.push(f);else if("sh"==e[i].ty||"rc"==e[i].ty||"el"==e[i].ty||"sr"==e[i].ty){t[i]={elements:[],caches:[],styles:[],transformers:c,lStr:""};var y=4;for("rc"==e[i].ty?y=5:"el"==e[i].ty?y=6:"sr"==e[i].ty&&(y=7),t[i].sh=ShapePropertyFactory.getShapeProp(this,e[i],y,a),t[i].lvl=o,this.shapes.push(t[i].sh),this.addShapeToModifiers(t[i].sh),l=this.stylesList.length,s=0;s<l;s+=1)this.stylesList[s].closed||t[i].elements.push({ty:this.stylesList[s].type,st:this.stylesList[s]})}else if("tm"==e[i].ty||"rd"==e[i].ty||"ms"==e[i].ty){var _=ShapeModifiers.getModifier(e[i].ty);_.init(this,e[i],a),this.shapeModifiers.push(_),h.push(_),t[i]=_}for(d=p.length,i=0;i<d;i+=1)p[i].closed=!0;for(d=h.length,i=0;i<d;i+=1)h[i].closed=!0},IShapeElement.prototype.addShapeToModifiers=function(e){var t,n=this.shapeModifiers.length;for(t=0;t<n;t+=1)this.shapeModifiers[t].addShape(e)},IShapeElement.prototype.renderModifiers=function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].reset();for(t=this.shapeModifiers.length,e=t-1;e>=0;e-=1)this.shapeModifiers[e].processShapes(this.firstFrame)}},IShapeElement.prototype.renderFrame=function(e){if(this._parent.renderFrame.call(this,e)===!1)return void this.hide();this.globalToLocal([0,0,0]),this.hidden&&(this.layerElement.style.display="block",this.hidden=!1),this.renderModifiers(),this.renderShape(null,null,!0,null)},IShapeElement.prototype.hide=function(){if(!this.hidden){this.layerElement.style.display="none";var e,t=this.stylesList.length;for(e=t-1;e>=0;e-=1)"0"!==this.stylesList[e].ld&&(this.stylesList[e].ld="0",this.stylesList[e].pElem.style.display="none",this.stylesList[e].pElem.parentNode&&(this.stylesList[e].parent=this.stylesList[e].pElem.parentNode));this.hidden=!0}},IShapeElement.prototype.renderShape=function(e,t,n,a){var o,r;if(!e)for(e=this.shapesData,r=this.stylesList.length,o=0;o<r;o+=1)this.stylesList[o].d="",this.stylesList[o].mdf=!1;t||(t=this.viewData),r=e.length-1;var i;for(o=r;o>=0;o-=1)i=e[o].ty,"tr"==i?((this.firstFrame||t[o].transform.op.mdf&&a)&&a.setAttribute("opacity",t[o].transform.op.v),(this.firstFrame||t[o].transform.mProps.mdf&&a)&&a.setAttribute("transform",t[o].transform.mProps.v.to2dCSS())):"sh"==i||"el"==i||"rc"==i||"sr"==i?this.renderPath(e[o],t[o]):"fl"==i?this.renderFill(e[o],t[o]):"gf"==i?this.renderGradient(e[o],t[o]):"gs"==i?(this.renderGradient(e[o],t[o]),this.renderStroke(e[o],t[o])):"st"==i?this.renderStroke(e[o],t[o]):"gr"==i&&this.renderShape(e[o].it,t[o].it,!1,t[o].gr);if(n){for(r=this.stylesList.length,o=0;o<r;o+=1)"0"===this.stylesList[o].ld&&(this.stylesList[o].ld="1",this.stylesList[o].pElem.style.display="block"),(this.stylesList[o].mdf||this.firstFrame)&&(this.stylesList[o].pElem.setAttribute("d",this.stylesList[o].d),this.stylesList[o].msElem&&this.stylesList[o].msElem.setAttribute("d",this.stylesList[o].d));this.firstFrame&&(this.firstFrame=!1)}},IShapeElement.prototype.renderPath=function(e,t){var n,a,o,r,i,s,l,u,f=t.elements.length,c=t.lvl;for(u=0;u<f;u+=1){s=t.sh.mdf||this.firstFrame,i="M0 0";var d=t.sh.paths;if(r=d.length,t.elements[u].st.lvl<c){for(var p,h=this.mHelper.reset(),g=c-t.elements[u].st.lvl,m=t.transformers.length-1;g>0;)s=t.transformers[m].mProps.mdf||s,p=t.transformers[m].mProps.v.props,h.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),g--,m--;if(s){for(o=0;o<r;o+=1)if(l=d[o],l&&l.v){for(n=l.v.length,a=1;a<n;a+=1)1==a&&(i+=" M"+h.applyToPointStringified(l.v[0][0],l.v[0][1])),i+=" C"+h.applyToPointStringified(l.o[a-1][0],l.o[a-1][1])+" "+h.applyToPointStringified(l.i[a][0],l.i[a][1])+" "+h.applyToPointStringified(l.v[a][0],l.v[a][1]);1==n&&(i+=" M"+h.applyToPointStringified(l.v[0][0],l.v[0][1])),l.c&&(i+=" C"+h.applyToPointStringified(l.o[a-1][0],l.o[a-1][1])+" "+h.applyToPointStringified(l.i[0][0],l.i[0][1])+" "+h.applyToPointStringified(l.v[0][0],l.v[0][1]),i+="z")}t.caches[u]=i}else i=t.caches[u]}else if(s){for(o=0;o<r;o+=1)if(l=d[o],l&&l.v){for(n=l.v.length,a=1;a<n;a+=1)1==a&&(i+=" M"+l.v[0].join(",")),i+=" C"+l.o[a-1].join(",")+" "+l.i[a].join(",")+" "+l.v[a].join(",");1==n&&(i+=" M"+l.v[0].join(",")),l.c&&n&&(i+=" C"+l.o[a-1].join(",")+" "+l.i[0].join(",")+" "+l.v[0].join(","),i+="z")}t.caches[u]=i}else i=t.caches[u];t.elements[u].st.d+=i,t.elements[u].st.mdf=s||t.elements[u].st.mdf}},IShapeElement.prototype.renderFill=function(e,t){var n=t.style;(t.c.mdf||this.firstFrame)&&n.pElem.setAttribute("fill","rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o.mdf||this.firstFrame)&&n.pElem.setAttribute("fill-opacity",t.o.v)},IShapeElement.prototype.renderGradient=function(e,t){var n=t.gf,a=t.of,o=t.s.v,r=t.e.v;if(t.o.mdf||this.firstFrame){var i="gf"===e.ty?"fill-opacity":"stroke-opacity";t.elem.setAttribute(i,t.o.v)}if(t.s.mdf||this.firstFrame){var s=1===e.t?"x1":"cx",l="x1"===s?"y1":"cy";n.setAttribute(s,o[0]),n.setAttribute(l,o[1]),a&&(a.setAttribute(s,o[0]),a.setAttribute(l,o[1]))}var u,f,c,d;if(t.g.cmdf||this.firstFrame){u=t.cst;var p=t.g.c;for(c=u.length,f=0;f<c;f+=1)d=u[f],d.setAttribute("offset",p[4*f]+"%"),d.setAttribute("stop-color","rgb("+p[4*f+1]+","+p[4*f+2]+","+p[4*f+3]+")")}if(a&&(t.g.omdf||this.firstFrame)){u=t.ost;var h=t.g.o;for(c=u.length,f=0;f<c;f+=1)d=u[f],d.setAttribute("offset",h[2*f]+"%"),d.setAttribute("stop-opacity",h[2*f+1])}if(1===e.t)(t.e.mdf||this.firstFrame)&&(n.setAttribute("x2",r[0]),n.setAttribute("y2",r[1]),a&&(a.setAttribute("x2",r[0]),a.setAttribute("y2",r[1])));else{var g;if((t.s.mdf||t.e.mdf||this.firstFrame)&&(g=Math.sqrt(Math.pow(o[0]-r[0],2)+Math.pow(o[1]-r[1],2)),n.setAttribute("r",g),a&&a.setAttribute("r",g)),t.e.mdf||t.h.mdf||t.a.mdf||this.firstFrame){g||(g=Math.sqrt(Math.pow(o[0]-r[0],2)+Math.pow(o[1]-r[1],2)));var m=Math.atan2(r[1]-o[1],r[0]-o[0]),v=t.h.v>=1?.99:t.h.v<=-1?-.99:t.h.v,E=g*v,y=Math.cos(m+t.a.v)*E+o[0],_=Math.sin(m+t.a.v)*E+o[1];n.setAttribute("fx",y),n.setAttribute("fy",_),a&&(a.setAttribute("fx",y),a.setAttribute("fy",_))}}},IShapeElement.prototype.renderStroke=function(e,t){var n=t.style,a=t.d;a&&a.k&&(a.mdf||this.firstFrame)&&(n.pElem.setAttribute("stroke-dasharray",a.dasharray),n.pElem.setAttribute("stroke-dashoffset",a.dashoffset)),t.c&&(t.c.mdf||this.firstFrame)&&n.pElem.setAttribute("stroke","rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o.mdf||this.firstFrame)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w.mdf||this.firstFrame)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))},IShapeElement.prototype.destroy=function(){this._parent.destroy.call(this._parent),this.shapeData=null,this.viewData=null,this.parentContainer=null,this.placeholder=null},createElement(SVGBaseElement,ISolidElement),ISolidElement.prototype.createElements=function(){this._parent.createElements.call(this);var e=document.createElementNS(svgNS,"rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e),this.innerElem=e,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl)},ISolidElement.prototype.hide=IImageElement.prototype.hide,ISolidElement.prototype.renderFrame=IImageElement.prototype.renderFrame,ISolidElement.prototype.destroy=IImageElement.prototype.destroy;var animationManager=function(){function e(e){for(var t=0,n=e.target;t<T;)S[t].animation===n&&(S.splice(t,1),t-=1,T-=1,n.isPaused||a()),t+=1}function t(e,t){if(!e)return null;for(var n=0;n<T;){if(S[n].elem==e&&null!==S[n].elem)return S[n].animation;n+=1}var a=new AnimationItem;return o(a,e),a.setData(e,t),a}function n(){A+=1,_()}function a(){A-=1,0===A&&(N=!0)}function o(t,o){t.addEventListener("destroy",e),t.addEventListener("_active",n),t.addEventListener("_idle",a),S.push({elem:o,animation:t}),T+=1}function r(e){var t=new AnimationItem;return o(t,null),t.setParams(e),t}function i(e,t){var n;for(n=0;n<T;n+=1)S[n].animation.setSpeed(e,t)}function s(e,t){var n;for(n=0;n<T;n+=1)S[n].animation.setDirection(e,t)}function l(e){var t;for(t=0;t<T;t+=1)S[t].animation.play(e)}function u(e,t){I=Date.now();var n;for(n=0;n<T;n+=1)S[n].animation.moveFrame(e,t)}function f(e){var t,n=e-I;for(t=0;t<T;t+=1)S[t].animation.advanceTime(n);I=e,N||requestAnimationFrame(f)}function c(e){I=e,requestAnimationFrame(f)}function d(e){var t;for(t=0;t<T;t+=1)S[t].animation.pause(e)}function p(e,t,n){var a;for(a=0;a<T;a+=1)S[a].animation.goToAndStop(e,t,n)}function h(e){var t;for(t=0;t<T;t+=1)S[t].animation.stop(e)}function g(e){var t;for(t=0;t<T;t+=1)S[t].animation.togglePause(e)}function m(e){var t;for(t=T-1;t>=0;t-=1)S[t].animation.destroy(e)}function v(e,n,a){var o,r=document.getElementsByClassName("bodymovin"),i=r.length;for(o=0;o<i;o+=1)a&&r[o].setAttribute("data-bm-type",a),t(r[o],e);if(n&&0===i){a||(a="svg");var s=document.getElementsByTagName("body")[0];s.innerHTML="";var l=document.createElement("div");l.style.width="100%",l.style.height="100%",l.setAttribute("data-bm-type",a),s.appendChild(l),t(l,e)}}function E(){var e;for(e=0;e<T;e+=1)S[e].animation.resize()}function y(){requestAnimationFrame(c)}function _(){N&&(N=!1,requestAnimationFrame(c))}var b={},S=[],I=0,T=0,N=!0,A=0;return setTimeout(y,0),b.registerAnimation=t,b.loadAnimation=r,b.setSpeed=i,b.setDirection=s,b.play=l,b.moveFrame=u,b.pause=d,b.stop=h,b.togglePause=g,b.searchAnimations=v,b.resize=E,b.start=y,b.goToAndStop=p,b.destroy=m,b}(),AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.pendingElements=0,this.playCount=0,this.prerenderFramesFlag=!0,this.animationData={},this.layers=[],this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=randomString(10),this.scaleMode="fit",this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.subframeEnabled=subframeEnabled,this.segments=[],this.pendingSegment=!1,this._idle=!0,this.projectInterface=ProjectInterface()};AnimationItem.prototype.setParams=function(e){var t=this;e.context&&(this.context=e.context),(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var n=e.animType?e.animType:e.renderer?e.renderer:"svg";switch(n){case"canvas":this.renderer=new CanvasRenderer(this,e.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,e.rendererSettings);break;case"hybrid":case"html":default:this.renderer=new HybridRenderer(this,e.rendererSettings)}if(this.renderer.setProjectInterface(this.projectInterface),this.animType=n,""===e.loop||null===e.loop||(e.loop===!1?this.loop=!1:e.loop===!0?this.loop=!0:this.loop=parseInt(e.loop)),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.prerenderFramesFlag=!("prerender"in e)||e.prerender,this.autoloadSegments=!e.hasOwnProperty("autoloadSegments")||e.autoloadSegments,e.animationData)t.configAnimation(e.animationData);else if(e.path){"json"!=e.path.substr(-4)&&("/"!=e.path.substr(-1,1)&&(e.path+="/"),e.path+="data.json");var a=new XMLHttpRequest;e.path.lastIndexOf("\\")!=-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.assetsPath=e.assetsPath,this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),a.open("GET",e.path,!0),a.send(),a.onreadystatechange=function(){if(4==a.readyState)if(200==a.status)t.configAnimation(JSON.parse(a.responseText));else try{var e=JSON.parse(a.responseText);t.configAnimation(e)}catch(e){}}}},AnimationItem.prototype.setData=function(e,t){var n={wrapper:e,animationData:t?"object"==typeof t?t:JSON.parse(t):null},a=e.attributes;n.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",n.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:"canvas";var o=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";""===o||(n.loop="false"!==o&&("true"===o||parseInt(o)));var r=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:!a.getNamedItem("bm-autoplay")||a.getNamedItem("bm-autoplay").value;n.autoplay="false"!==r,n.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"","false"===(a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),this.setParams(n)},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip),this.animationData.tf=this.totalFrames);var t,n,a=this.animationData.layers,o=a.length,r=e.layers,i=r.length;for(n=0;n<i;n+=1)for(t=0;t<o;){if(a[t].id==r[n].id){a[t]=r[n];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(o=e.assets.length,t=0;t<o;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(e.layers),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.renderFrame(null),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.animationData.tf);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var n=new XMLHttpRequest,a=this,o=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,n.open("GET",o,!0),n.send(),n.onreadystatechange=function(){if(4==n.readyState)if(200==n.status)a.includeLayers(JSON.parse(n.responseText));else try{var e=JSON.parse(n.responseText);a.includeLayers(e)}catch(e){}}},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.animationData.tf),this.loadNextSegment()},AnimationItem.prototype.configAnimation=function(e){this.renderer&&this.renderer.destroyed||(this.animationData=e,this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.animationData.tf=this.totalFrames,this.renderer.configAnimation(e),e.assets||(e.assets=[]),e.comps&&(e.assets=e.assets.concat(e.comps),e.comps=null),this.renderer.searchExtraCompositions(e.assets),this.layers=this.animationData.layers,this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.firstFrame=Math.round(this.animationData.ip),this.frameMult=this.animationData.fr/1e3,this.trigger("config_ready"),this.imagePreloader=new ImagePreloader,this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(e.assets),this.loadSegments(),this.updaFrameModifier(),this.renderer.globalData.fontManager?this.waitForFontsLoaded():(dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.checkLoaded()))},AnimationItem.prototype.waitForFontsLoaded=function(){function e(){this.renderer.globalData.fontManager.loaded?(dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.checkLoaded()):setTimeout(e.bind(this),20)}return function(){e.bind(this)()}}(),AnimationItem.prototype.addPendingElement=function(){this.pendingElements+=1},AnimationItem.prototype.elementLoaded=function(){this.pendingElements--,this.checkLoaded()},AnimationItem.prototype.checkLoaded=function(){0===this.pendingElements&&(expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.isLoaded=!0,this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(e){this.subframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.subframeEnabled?this.currentFrame=this.currentRawFrame:this.currentFrame=Math.floor(this.currentRawFrame),this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){this.isLoaded!==!1&&this.renderer.renderFrame(this.currentFrame+this.firstFrame)},AnimationItem.prototype.play=function(e){e&&this.name!=e||this.isPaused===!0&&(this.isPaused=!1,this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!=e||this.isPaused===!1&&(this.isPaused=!0,this.pendingSegment||(this._idle=!0,this.trigger("_idle")))},AnimationItem.prototype.togglePause=function(e){e&&this.name!=e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!=e||(this.pause(),this.currentFrame=this.currentRawFrame=0,this.playCount=0,this.gotoFrame())},AnimationItem.prototype.goToAndStop=function(e,t,n){n&&this.name!=n||(t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(e,t,n){this.goToAndStop(e,t,n),this.play()},AnimationItem.prototype.advanceTime=function(e){if(this.pendingSegment)return this.pendingSegment=!1,this.adjustSegment(this.segments.shift()),void(this.isPaused&&this.play());this.isPaused!==!0&&this.isLoaded!==!1&&this.setCurrentRawFrameValue(this.currentRawFrame+e*this.frameModifier)},AnimationItem.prototype.updateAnimation=function(e){this.setCurrentRawFrameValue(this.totalFrames*e)},AnimationItem.prototype.moveFrame=function(e,t){t&&this.name!=t||this.setCurrentRawFrameValue(this.currentRawFrame+e)},AnimationItem.prototype.adjustSegment=function(e){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.01)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.firstFrame=e[0],this.setCurrentRawFrameValue(0)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?n=e:this.currentRawFrame+this.firstFrame>t&&(n=t-e-.01)),this.firstFrame=e,this.totalFrames=t-e,n!==-1&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if("object"==typeof e[0]){var n,a=e.length;for(n=0;n<a;n+=1)this.segments.push(e[n])}else this.segments.push(e);t&&this.adjustSegment(this.segments.shift()),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip*this.frameRate,Math.floor(this.animationData.op-this.animationData.ip+this.animationData.ip*this.frameRate)]),e&&this.adjustSegment(this.segments.shift())},AnimationItem.prototype.checkSegments=function(){this.segments.length&&(this.pendingSegment=!0)},AnimationItem.prototype.remove=function(e){e&&this.name!=e||this.renderer.destroy()},AnimationItem.prototype.destroy=function(e){e&&this.name!=e||this.renderer&&this.renderer.destroyed||(this.renderer.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=this.onLoopComplete=this.onComplete=this.onSegmentStart=this.onDestroy=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){if(this.currentRawFrame=e,this.currentRawFrame>=this.totalFrames){if(this.checkSegments(),this.loop===!1)return this.currentRawFrame=this.totalFrames-.01,this.gotoFrame(),this.pause(),void this.trigger("complete");if(this.trigger("loopComplete"),this.playCount+=1,this.loop!==!0&&this.playCount==this.loop||this.pendingSegment)return this.currentRawFrame=this.totalFrames-.01,this.gotoFrame(),this.pause(),void this.trigger("complete");this.currentRawFrame=this.currentRawFrame%this.totalFrames}else if(this.currentRawFrame<0)return this.checkSegments(),this.playCount-=1,this.playCount<0&&(this.playCount=0),this.loop===!1||this.pendingSegment?(this.currentRawFrame=0,this.gotoFrame(),this.pause(),void this.trigger("complete")):(this.trigger("loopComplete"),this.currentRawFrame=(this.totalFrames+this.currentRawFrame)%this.totalFrames,void this.gotoFrame());this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(this.assetsPath){var n=e.p;n.indexOf("images/")!==-1&&(n=n.split("/")[1]),t=this.assetsPath+n}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,n=this.assets.length;t<n;){if(e==this.assets[t].id)return this.assets[t];t+=1}},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getAssets=function(){return this.assets},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult));break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.addEventListener=_addEventListener,AnimationItem.prototype.removeEventListener=_removeEventListener,AnimationItem.prototype.triggerEvent=_triggerEvent,extendPrototype(BaseRenderer,CanvasRenderer),CanvasRenderer.prototype.createBase=function(e){return new CVBaseElement(e,this,this.globalData)},CanvasRenderer.prototype.createShape=function(e){return new CVShapeElement(e,this,this.globalData)},CanvasRenderer.prototype.createText=function(e){return new CVTextElement(e,this,this.globalData)},CanvasRenderer.prototype.createImage=function(e){return new CVImageElement(e,this,this.globalData)},CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this,this.globalData)},CanvasRenderer.prototype.createSolid=function(e){return new CVSolidElement(e,this,this.globalData)},CanvasRenderer.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13]){if(!this.renderConfig.clearCanvas)return void this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13]);this.transformMat.cloneFromProps(e),this.transformMat.transform(this.contextData.cTr.props[0],this.contextData.cTr.props[1],this.contextData.cTr.props[2],this.contextData.cTr.props[3],this.contextData.cTr.props[4],this.contextData.cTr.props[5],this.contextData.cTr.props[6],this.contextData.cTr.props[7],this.contextData.cTr.props[8],this.contextData.cTr.props[9],this.contextData.cTr.props[10],this.contextData.cTr.props[11],this.contextData.cTr.props[12],this.contextData.cTr.props[13],this.contextData.cTr.props[14],this.contextData.cTr.props[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var t=this.contextData.cTr.props;this.canvasContext.setTransform(t[0],t[1],t[4],t[5],t[12],t[13])}},CanvasRenderer.prototype.ctxOpacity=function(e){if(1!==e){if(!this.renderConfig.clearCanvas)return void(this.canvasContext.globalAlpha*=e<0?0:e);this.contextData.cO*=e<0?0:e,this.canvasContext.globalAlpha=this.contextData.cO}},CanvasRenderer.prototype.reset=function(){if(!this.renderConfig.clearCanvas)return void this.canvasContext.restore();this.contextData.cArrPos=0,this.contextData.cTr.reset(),this.contextData.cO=1},CanvasRenderer.prototype.save=function(e){if(!this.renderConfig.clearCanvas)return void this.canvasContext.save();e&&this.canvasContext.save();var t=this.contextData.cTr.props;null!==this.contextData.saved[this.contextData.cArrPos]&&void 0!==this.contextData.saved[this.contextData.cArrPos]||(this.contextData.saved[this.contextData.cArrPos]=new Array(16));var n,a=this.contextData.saved[this.contextData.cArrPos];for(n=0;n<16;n+=1)a[n]=t[n];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1},CanvasRenderer.prototype.restore=function(e){if(!this.renderConfig.clearCanvas)return void this.canvasContext.restore();e&&this.canvasContext.restore(),this.contextData.cArrPos-=1;var t,n=this.contextData.saved[this.contextData.cArrPos],a=this.contextData.cTr.props;for(t=0;t<16;t+=1)a[t]=n[t];this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),n=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=n,this.canvasContext.globalAlpha=n},CanvasRenderer.prototype.configAnimation=function(e){this.animationItem.wrapper?(this.animationItem.container=document.createElement("canvas"),this.animationItem.container.style.width="100%",this.animationItem.container.style.height="100%",this.animationItem.container.style.transformOrigin=this.animationItem.container.style.mozTransformOrigin=this.animationItem.container.style.webkitTransformOrigin=this.animationItem.container.style["-webkit-transform"]="0px 0px 0px",this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d")):this.canvasContext=this.renderConfig.context,this.data=e,this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.totalFrames=Math.floor(e.tf),this.globalData.compWidth=e.w,this.globalData.compHeight=e.h,this.globalData.frameRate=e.fr,this.globalData.frameId=0,this.globalData.compSize={w:e.w,h:e.h},this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.layers=e.layers,this.transformCanvas={},this.transformCanvas.w=e.w,this.transformCanvas.h=e.h,this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,document.body),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.elementLoaded=this.animationItem.elementLoaded.bind(this.animationItem),this.globalData.addPendingElement=this.animationItem.addPendingElement.bind(this.animationItem),this.globalData.transformCanvas=this.transformCanvas,this.elements=Array.apply(null,{length:e.layers.length}),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var e,t;this.animationItem.wrapper&&this.animationItem.container?(e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",e*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",t*this.renderConfig.dpr)):(e=this.canvasContext.canvas.width*this.renderConfig.dpr,t=this.canvasContext.canvas.height*this.renderConfig.dpr);var n,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var o=this.renderConfig.preserveAspectRatio.split(" "),r=o[1]||"meet",i=o[0]||"xMidYMid",s=i.substr(0,4),l=i.substr(4);n=e/t,a=this.transformCanvas.w/this.transformCanvas.h,a>n&&"meet"===r||a<n&&"slice"===r?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===s&&(a<n&&"meet"===r||a>n&&"slice"===r)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===s&&(a<n&&"meet"===r||a>n&&"slice"===r)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(a>n&&"meet"===r||a<n&&"slice"===r)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(a>n&&"meet"===r||a<n&&"slice"===r)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"==this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1];var u,f=this.elements.length;for(u=0;u<f;u+=1)this.elements[u]&&0===this.elements[u].data.ty&&this.elements[u].resize(this.globalData.transformCanvas)},CanvasRenderer.prototype.destroy=function(){this.renderConfig.clearCanvas&&(this.animationItem.wrapper.innerHTML="");var e,t=this.layers?this.layers.length:0;for(e=t-1;e>=0;e-=1)this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(e){if(!(this.renderedFrame==e&&this.renderConfig.clearCanvas===!0||this.destroyed||null===e)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem.firstFrame,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.renderConfig.clearCanvas===!0?(this.reset(),this.canvasContext.save(),this.canvasContext.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)):this.save(),this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip();var t,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=0;t<n;t++)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);for(t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame();this.renderConfig.clearCanvas!==!0?this.restore():this.canvasContext.restore()}},CanvasRenderer.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!=this.layers[e].ty){var n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.initExpressions(),0===this.layers[e].ty&&n.resize(this.globalData.transformCanvas)}},CanvasRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},CanvasRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length;document.createElementNS(svgNS,"g");for(t=0;t<n;t+=1)if(e[t].xt){var a=this.createComp(e[t],this.globalData.comp,this.globalData);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},extendPrototype(BaseRenderer,HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},HybridRenderer.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){var a=this.layers[t];if(a.ddd&&this.supports3d)this.addTo3dContainer(n,t);else{for(var o,r=0;r<t;)this.elements[r]&&this.elements[r]!==!0&&this.elements[r].getBaseElement&&(o=this.elements[r].getBaseElement()),r+=1;o?a.ddd&&this.supports3d||this.layerElement.insertBefore(n,o):a.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},HybridRenderer.prototype.createBase=function(e){return new SVGBaseElement(e,this.layerElement,this.globalData,this)},HybridRenderer.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.layerElement,this.globalData,this):new IShapeElement(e,this.layerElement,this.globalData,this)},HybridRenderer.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.layerElement,this.globalData,this):new SVGTextElement(e,this.layerElement,this.globalData,this)},HybridRenderer.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.layerElement,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.layerElement,this.globalData,this):new IImageElement(e,this.layerElement,this.globalData,this)},HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.layerElement,this.globalData,this):new ICompElement(e,this.layerElement,this.globalData,this)},HybridRenderer.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.layerElement,this.globalData,this):new ISolidElement(e,this.layerElement,this.globalData,this)},HybridRenderer.prototype.getThreeDContainer=function(e){var t=document.createElement("div");styleDiv(t),t.style.width=this.globalData.compSize.w+"px",t.style.height=this.globalData.compSize.h+"px",t.style.transformOrigin=t.style.mozTransformOrigin=t.style.webkitTransformOrigin="50% 50%";var n=document.createElement("div");styleDiv(n),n.style.transform=n.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)",t.appendChild(n),this.resizerElem.appendChild(t);var a={container:n,perspectiveElem:t,startPos:e,endPos:e};return this.threeDElements.push(a),a},HybridRenderer.prototype.build3dContainers=function(){var e,t,n=this.layers.length;for(e=0;e<n;e+=1)this.layers[e].ddd?(t||(t=this.getThreeDContainer(e)),t.endPos=Math.max(t.endPos,e)):t=null},HybridRenderer.prototype.addTo3dContainer=function(e,t){for(var n=0,a=this.threeDElements.length;n<a;){if(t<=this.threeDElements[n].endPos){for(var o,r=this.threeDElements[n].startPos;r<t;)this.elements[r]&&this.elements[r].getBaseElement&&(o=this.elements[r].getBaseElement()),r+=1;o?this.threeDElements[n].container.insertBefore(e,o):this.threeDElements[n].container.appendChild(e);break}n+=1}},HybridRenderer.prototype.configAnimation=function(e){var t=document.createElement("div"),n=this.animationItem.wrapper;t.style.width=e.w+"px",t.style.height=e.h+"px",this.resizerElem=t,styleDiv(t),t.style.transformStyle=t.style.webkitTransformStyle=t.style.mozTransformStyle="flat",n.appendChild(t),t.style.overflow="hidden";var a=document.createElementNS(svgNS,"svg");a.setAttribute("width","1"),a.setAttribute("height","1"),styleDiv(a),this.resizerElem.appendChild(a);var o=document.createElementNS(svgNS,"defs");a.appendChild(o),this.globalData.defs=o,this.data=e,this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.elementLoaded=this.animationItem.elementLoaded.bind(this.animationItem),this.globalData.frameId=0,this.globalData.compSize={w:e.w,h:e.h},this.globalData.frameRate=e.fr,this.layers=e.layers,this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,a),this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e++)this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var e,t,n,a,o=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight,i=o/r,s=this.globalData.compSize.w/this.globalData.compSize.h;s>i?(e=o/this.globalData.compSize.w,t=o/this.globalData.compSize.w,n=0,a=(r-this.globalData.compSize.h*(o/this.globalData.compSize.w))/2):(e=r/this.globalData.compSize.h,t=r/this.globalData.compSize.h,n=(o-this.globalData.compSize.w*(r/this.globalData.compSize.h))/2,a=0),this.resizerElem.style.transform=this.resizerElem.style.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+n+","+a+",0,1)"},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,n=this.globalData.compSize.h,a=this.threeDElements.length;for(e=0;e<a;e+=1)this.threeDElements[e].perspectiveElem.style.perspective=this.threeDElements[e].perspectiveElem.style.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(n,2))+"px"}},HybridRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length,a=document.createElement("div");for(t=0;t<n;t+=1)if(e[t].xt){var o=this.createComp(e[t],a,this.globalData.comp,null);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}},createElement(BaseElement,CVBaseElement),CVBaseElement.prototype.createElements=function(){this.checkParenting()},CVBaseElement.prototype.checkBlendMode=function(e){if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t="";switch(this.data.bm){case 0:t="normal";break;case 1:t="multiply";break;case 2:t="screen";break;case 3:t="overlay";break;case 4:t="darken";break;case 5:t="lighten";break;case 6:t="color-dodge";break;case 7:t="color-burn";break;case 8:t="hard-light";break;case 9:t="soft-light";break;case 10:t="difference";break;case 11:t="exclusion";break;case 12:t="hue";break;case 13:t="saturation";break;case 14:t="color";break;case 15:t="luminosity"}e.canvasContext.globalCompositeOperation=t}},CVBaseElement.prototype.renderFrame=function(e){if(3===this.data.ty)return!1;if(this.checkBlendMode(0===this.data.ty?this.parentGlobalData:this.globalData),!this.isVisible)return this.isVisible;this.finalTransform.opMdf=this.finalTransform.op.mdf,this.finalTransform.matMdf=this.finalTransform.mProp.mdf,this.finalTransform.opacity=this.finalTransform.op.v;var t,n=this.finalTransform.mat;if(this.hierarchy){var a,o=this.hierarchy.length;for(t=this.finalTransform.mProp.v.props,n.cloneFromProps(t),a=0;a<o;a+=1)this.finalTransform.matMdf=!!this.hierarchy[a].finalTransform.mProp.mdf||this.finalTransform.matMdf,t=this.hierarchy[a].finalTransform.mProp.v.props,n.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}else e?(t=this.finalTransform.mProp.v.props,n.cloneFromProps(t)):n.cloneFromProps(this.finalTransform.mProp.v.props);return e&&(t=e.mat.props,n.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]),this.finalTransform.opacity*=e.opacity,this.finalTransform.opMdf=!!e.opMdf||this.finalTransform.opMdf,this.finalTransform.matMdf=!!e.matMdf||this.finalTransform.matMdf),this.data.hasMask&&(this.globalData.renderer.save(!0),this.maskManager.renderFrame(0===this.data.ty?null:n)),this.data.hd&&(this.isVisible=!1),this.isVisible},CVBaseElement.prototype.addMasks=function(e){this.maskManager=new CVMaskElement(e,this,this.globalData)},CVBaseElement.prototype.destroy=function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager&&this.maskManager.destroy()},CVBaseElement.prototype.mHelper=new Matrix,createElement(CVBaseElement,CVCompElement),CVCompElement.prototype.ctxTransform=CanvasRenderer.prototype.ctxTransform,CVCompElement.prototype.ctxOpacity=CanvasRenderer.prototype.ctxOpacity,CVCompElement.prototype.save=CanvasRenderer.prototype.save,CVCompElement.prototype.restore=CanvasRenderer.prototype.restore,CVCompElement.prototype.reset=function(){this.contextData.cArrPos=0,this.contextData.cTr.reset(),this.contextData.cO=1},CVCompElement.prototype.resize=function(e){var t=Math.max(e.sx,e.sy);this.canvas.width=this.data.w*t,this.canvas.height=this.data.h*t,this.transformCanvas={sc:t,w:this.data.w*t,h:this.data.h*t,props:[t,0,0,0,0,t,0,0,0,0,1,0,0,0,0,1]};var n,a=this.elements.length;for(n=0;n<a;n+=1)this.elements[n]&&0===this.elements[n].data.ty&&this.elements[n].resize(e)},CVCompElement.prototype.prepareFrame=function(e){if(this.globalData.frameId=this.parentGlobalData.frameId,this.globalData.mdf=!1,this._parent.prepareFrame.call(this,e),this.isVisible!==!1||this.data.xt){var t=e;this.tm&&(t=this.tm.v,t===this.data.op&&(t=this.data.op-1)),this.renderedFrame=t/this.data.sr;var n,a=this.elements.length;for(this.completeLayers||this.checkLayers(e),n=0;n<a;n+=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(t/this.data.sr-this.layers[n].st),0===this.elements[n].data.ty&&this.elements[n].globalData.mdf&&(this.globalData.mdf=!0));this.globalData.mdf&&!this.data.xt&&(this.canvasContext.clearRect(0,0,this.data.w,this.data.h),this.ctxTransform(this.transformCanvas.props))}},CVCompElement.prototype.renderFrame=function(e){if(this._parent.renderFrame.call(this,e)!==!1){if(this.globalData.mdf){var t,n=this.layers.length;for(t=n-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}this.data.hasMask&&this.globalData.renderer.restore(!0),this.firstFrame&&(this.firstFrame=!1),this.parentGlobalData.renderer.save(),this.parentGlobalData.renderer.ctxTransform(this.finalTransform.mat.props),this.parentGlobalData.renderer.ctxOpacity(this.finalTransform.opacity),this.parentGlobalData.renderer.canvasContext.drawImage(this.canvas,0,0,this.data.w,this.data.h),this.parentGlobalData.renderer.restore(),this.globalData.mdf&&this.reset()}},CVCompElement.prototype.setElements=function(e){this.elements=e},CVCompElement.prototype.getElements=function(){return this.elements},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e].destroy();this.layers=null,this.elements=null,this._parent.destroy.call(this._parent)},CVCompElement.prototype.checkLayers=CanvasRenderer.prototype.checkLayers,CVCompElement.prototype.buildItem=CanvasRenderer.prototype.buildItem,CVCompElement.prototype.checkPendingElements=CanvasRenderer.prototype.checkPendingElements,CVCompElement.prototype.addPendingElement=CanvasRenderer.prototype.addPendingElement,CVCompElement.prototype.buildAllItems=CanvasRenderer.prototype.buildAllItems,CVCompElement.prototype.createItem=CanvasRenderer.prototype.createItem,CVCompElement.prototype.createImage=CanvasRenderer.prototype.createImage,CVCompElement.prototype.createComp=CanvasRenderer.prototype.createComp,CVCompElement.prototype.createSolid=CanvasRenderer.prototype.createSolid,CVCompElement.prototype.createShape=CanvasRenderer.prototype.createShape,CVCompElement.prototype.createText=CanvasRenderer.prototype.createText,CVCompElement.prototype.createBase=CanvasRenderer.prototype.createBase,CVCompElement.prototype.buildElementParenting=CanvasRenderer.prototype.buildElementParenting,createElement(CVBaseElement,CVImageElement),CVImageElement.prototype.createElements=function(){var e=function(){if(this.globalData.elementLoaded(),this.assetData.w!==this.img.width||this.assetData.h!==this.img.height){var e=document.createElement("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,n,a=e.getContext("2d"),o=this.img.width,r=this.img.height,i=o/r,s=this.assetData.w/this.assetData.h;i>s?(n=r,t=n*s):(t=o,n=t/s),a.drawImage(this.img,(o-t)/2,(r-n)/2,t,n,0,0,this.assetData.w,this.assetData.h),this.img=e}}.bind(this),t=function(){this.failed=!0,this.globalData.elementLoaded()}.bind(this);this.img=new Image,this.img.addEventListener("load",e,!1),this.img.addEventListener("error",t,!1);var n=this.globalData.getAssetsPath(this.assetData);this.img.src=n,this._parent.createElements.call(this)},CVImageElement.prototype.renderFrame=function(e){if(!this.failed&&this._parent.renderFrame.call(this,e)!==!1){var t=this.canvasContext;this.globalData.renderer.save();var n=this.finalTransform.mat.props;this.globalData.renderer.ctxTransform(n),this.globalData.renderer.ctxOpacity(this.finalTransform.opacity),t.drawImage(this.img,0,0),this.globalData.renderer.restore(this.data.hasMask),this.firstFrame&&(this.firstFrame=!1)}},CVImageElement.prototype.destroy=function(){this.img=null,this._parent.destroy.call(this._parent)},CVMaskElement.prototype.getMaskProperty=function(e){return this.viewData[e]},CVMaskElement.prototype.prepareFrame=function(e){var t,n=this.dynamicProperties.length;for(t=0;t<n;t+=1)this.dynamicProperties[t].getValue(e),this.dynamicProperties[t].mdf&&(this.element.globalData.mdf=!0)},CVMaskElement.prototype.renderFrame=function(e){var t,n,a,o,r,i=this.element.canvasContext,s=this.data.masksProperties.length,l=!1;for(t=0;t<s;t++)if("n"!==this.masksProperties[t].mode){l===!1&&(i.beginPath(),l=!0),this.masksProperties[t].inv&&(i.moveTo(0,0),i.lineTo(this.element.globalData.compWidth,0),i.lineTo(this.element.globalData.compWidth,this.element.globalData.compHeight),i.lineTo(0,this.element.globalData.compHeight),i.lineTo(0,0)),r=this.viewData[t].v,n=e?e.applyToPointArray(r.v[0][0],r.v[0][1],0):r.v[0],i.moveTo(n[0],n[1]);var u,f=r.v.length;for(u=1;u<f;u++)n=e?e.applyToPointArray(r.o[u-1][0],r.o[u-1][1],0):r.o[u-1],a=e?e.applyToPointArray(r.i[u][0],r.i[u][1],0):r.i[u],o=e?e.applyToPointArray(r.v[u][0],r.v[u][1],0):r.v[u],i.bezierCurveTo(n[0],n[1],a[0],a[1],o[0],o[1]);n=e?e.applyToPointArray(r.o[u-1][0],r.o[u-1][1],0):r.o[u-1],a=e?e.applyToPointArray(r.i[0][0],r.i[0][1],0):r.i[0],o=e?e.applyToPointArray(r.v[0][0],r.v[0][1],0):r.v[0],i.bezierCurveTo(n[0],n[1],a[0],a[1],o[0],o[1])}l&&i.clip()},CVMaskElement.prototype.getMask=function(e){for(var t=0,n=this.masksProperties.length;t<n;){if(this.masksProperties[t].nm===e)return{maskPath:this.viewData[t].pv};t+=1}},CVMaskElement.prototype.destroy=function(){this.element=null},createElement(CVBaseElement,CVShapeElement),CVShapeElement.prototype.lcEnum={1:"butt",2:"round",3:"butt"},CVShapeElement.prototype.ljEnum={1:"miter",2:"round",3:"butt"},CVShapeElement.prototype.transformHelper={opacity:1,mat:new Matrix,matMdf:!1,opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createElements=function(){this._parent.createElements.call(this),this.searchShapes(this.shapesData,this.viewData,this.dynamicProperties)},CVShapeElement.prototype.searchShapes=function(e,t,n){var a,o,r,i,s=e.length-1,l=[],u=[];for(a=s;a>=0;a-=1)if("fl"==e[a].ty||"st"==e[a].ty){if(i={type:e[a].ty,elements:[]},t[a]={},"fl"!=e[a].ty&&"st"!=e[a].ty||(t[a].c=PropertyFactory.getProp(this,e[a].c,1,255,n),t[a].c.k||(i.co="rgb("+bm_floor(t[a].c.v[0])+","+bm_floor(t[a].c.v[1])+","+bm_floor(t[a].c.v[2])+")")),t[a].o=PropertyFactory.getProp(this,e[a].o,0,.01,n),"st"==e[a].ty){if(i.lc=this.lcEnum[e[a].lc]||"round",i.lj=this.ljEnum[e[a].lj]||"round",1==e[a].lj&&(i.ml=e[a].ml),t[a].w=PropertyFactory.getProp(this,e[a].w,0,null,n),t[a].w.k||(i.wi=t[a].w.v),e[a].d){var f=PropertyFactory.getDashProp(this,e[a].d,"canvas",n);t[a].d=f,t[a].d.k||(i.da=t[a].d.dasharray,i.do=t[a].d.dashoffset)}}else i.r=2===e[a].r?"evenodd":"nonzero";this.stylesList.push(i),t[a].style=i,l.push(t[a].style)}else if("gr"==e[a].ty)t[a]={it:[]},this.searchShapes(e[a].it,t[a].it,n);else if("tr"==e[a].ty)t[a]={transform:{mat:new Matrix,opacity:1,matMdf:!1,opMdf:!1,op:PropertyFactory.getProp(this,e[a].o,0,.01,n),mProps:PropertyFactory.getProp(this,e[a],2,null,n)},elements:[]};else if("sh"==e[a].ty||"rc"==e[a].ty||"el"==e[a].ty||"sr"==e[a].ty){t[a]={nodes:[],trNodes:[],tr:[0,0,0,0,0,0]};var c=4;"rc"==e[a].ty?c=5:"el"==e[a].ty?c=6:"sr"==e[a].ty&&(c=7),t[a].sh=ShapePropertyFactory.getShapeProp(this,e[a],c,n),this.shapes.push(t[a].sh),this.addShapeToModifiers(t[a].sh),r=this.stylesList.length;var d=!1,p=!1;for(o=0;o<r;o+=1)this.stylesList[o].closed||(this.stylesList[o].elements.push(t[a]),"st"===this.stylesList[o].type?d=!0:p=!0);t[a].st=d,t[a].fl=p}else if("tm"==e[a].ty||"rd"==e[a].ty){var h=ShapeModifiers.getModifier(e[a].ty);h.init(this,e[a],n),this.shapeModifiers.push(h),u.push(h),t[a]=h}for(s=l.length,a=0;a<s;a+=1)l[a].closed=!0;for(s=u.length,a=0;a<s;a+=1)u[a].closed=!0},CVShapeElement.prototype.addShapeToModifiers=IShapeElement.prototype.addShapeToModifiers,CVShapeElement.prototype.renderModifiers=IShapeElement.prototype.renderModifiers,CVShapeElement.prototype.renderFrame=function(e){this._parent.renderFrame.call(this,e)!==!1&&(this.transformHelper.mat.reset(),this.transformHelper.opacity=this.finalTransform.opacity,this.transformHelper.matMdf=!1,this.transformHelper.opMdf=this.finalTransform.opMdf,this.renderModifiers(),this.renderShape(this.transformHelper,null,null,!0),this.data.hasMask&&this.globalData.renderer.restore(!0))},CVShapeElement.prototype.renderShape=function(e,t,n,a){var o,r;if(!t)for(t=this.shapesData,r=this.stylesList.length,o=0;o<r;o+=1)this.stylesList[o].d="",this.stylesList[o].mdf=!1;n||(n=this.viewData),r=t.length-1;var i,s;for(i=e,o=r;o>=0;o-=1)if("tr"==t[o].ty){i=n[o].transform;var l=n[o].transform.mProps.v.props;if(i.matMdf=i.mProps.mdf,i.opMdf=i.op.mdf,s=i.mat,s.cloneFromProps(l),e){var u=e.mat.props;i.opacity=e.opacity,i.opacity*=n[o].transform.op.v,i.matMdf=!!e.matMdf||i.matMdf,i.opMdf=!!e.opMdf||i.opMdf,s.transform(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15])}else i.opacity=i.op.o}else"sh"==t[o].ty||"el"==t[o].ty||"rc"==t[o].ty||"sr"==t[o].ty?this.renderPath(t[o],n[o],i):"fl"==t[o].ty?this.renderFill(t[o],n[o],i):"st"==t[o].ty?this.renderStroke(t[o],n[o],i):"gr"==t[o].ty?this.renderShape(i,t[o].it,n[o].it):t[o].ty;if(a){r=this.stylesList.length;var f,c,d,p,h,g,m,v=this.globalData.renderer,E=this.globalData.canvasContext;for(v.save(),v.ctxTransform(this.finalTransform.mat.props),o=0;o<r;o+=1)if(m=this.stylesList[o].type,"st"!==m||0!==this.stylesList[o].wi){for(v.save(),h=this.stylesList[o].elements,"st"===m?(E.strokeStyle=this.stylesList[o].co,E.lineWidth=this.stylesList[o].wi,E.lineCap=this.stylesList[o].lc,E.lineJoin=this.stylesList[o].lj,E.miterLimit=this.stylesList[o].ml||0):E.fillStyle=this.stylesList[o].co,v.ctxOpacity(this.stylesList[o].coOp),"st"!==m&&E.beginPath(),c=h.length,f=0;f<c;f+=1){for("st"===m&&(E.beginPath(),this.stylesList[o].da?(E.setLineDash(this.stylesList[o].da),E.lineDashOffset=this.stylesList[o].do,this.globalData.isDashed=!0):this.globalData.isDashed&&(E.setLineDash(this.dashResetter),this.globalData.isDashed=!1)),g=h[f].trNodes,p=g.length,d=0;d<p;d+=1)"m"==g[d].t?E.moveTo(g[d].p[0],g[d].p[1]):"c"==g[d].t?E.bezierCurveTo(g[d].p1[0],g[d].p1[1],g[d].p2[0],g[d].p2[1],g[d].p3[0],g[d].p3[1]):E.closePath();"st"===m&&E.stroke()}"st"!==m&&E.fill(this.stylesList[o].r),v.restore()}v.restore(),this.firstFrame&&(this.firstFrame=!1)}},CVShapeElement.prototype.renderPath=function(e,t,n){var a,o,r,i;if(n.matMdf||t.sh.mdf||this.firstFrame){var s=t.sh.paths;i=s.length;var l=t.trNodes;for(l.length=0,r=0;r<i;r+=1){var u=s[r];if(u&&u.v){for(a=u.v.length,o=1;o<a;o+=1)1==o&&l.push({t:"m",p:n.mat.applyToPointArray(u.v[0][0],u.v[0][1],0)}),l.push({t:"c",p1:n.mat.applyToPointArray(u.o[o-1][0],u.o[o-1][1],0),p2:n.mat.applyToPointArray(u.i[o][0],u.i[o][1],0),p3:n.mat.applyToPointArray(u.v[o][0],u.v[o][1],0)});1==a&&l.push({t:"m",p:n.mat.applyToPointArray(u.v[0][0],u.v[0][1],0)}),u.c&&a&&(l.push({t:"c",p1:n.mat.applyToPointArray(u.o[o-1][0],u.o[o-1][1],0),p2:n.mat.applyToPointArray(u.i[0][0],u.i[0][1],0),p3:n.mat.applyToPointArray(u.v[0][0],u.v[0][1],0)}),l.push({t:"z"})),t.lStr=l}}if(t.st)for(o=0;o<16;o+=1)t.tr[o]=n.mat.props[o];t.trNodes=l}},CVShapeElement.prototype.renderFill=function(e,t,n){var a=t.style;(t.c.mdf||this.firstFrame)&&(a.co="rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o.mdf||n.opMdf||this.firstFrame)&&(a.coOp=t.o.v*n.opacity)},CVShapeElement.prototype.renderStroke=function(e,t,n){var a=t.style,o=t.d;o&&(o.mdf||this.firstFrame)&&(a.da=o.dasharray,a.do=o.dashoffset),(t.c.mdf||this.firstFrame)&&(a.co="rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o.mdf||n.opMdf||this.firstFrame)&&(a.coOp=t.o.v*n.opacity),(t.w.mdf||this.firstFrame)&&(a.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.viewData.length=0,this._parent.destroy.call(this._parent)},createElement(CVBaseElement,CVSolidElement),CVSolidElement.prototype.renderFrame=function(e){if(this._parent.renderFrame.call(this,e)!==!1){var t=this.canvasContext;this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.opacity),t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh),this.globalData.renderer.restore(this.data.hasMask),this.firstFrame&&(this.firstFrame=!1)}},createElement(CVBaseElement,CVTextElement),CVTextElement.prototype.init=ITextElement.prototype.init,CVTextElement.prototype.getMeasures=ITextElement.prototype.getMeasures,CVTextElement.prototype.getMult=ITextElement.prototype.getMult,CVTextElement.prototype.prepareFrame=ITextElement.prototype.prepareFrame,CVTextElement.prototype.tHelper=document.createElement("canvas").getContext("2d"),CVTextElement.prototype.createElements=function(){this._parent.createElements.call(this)},CVTextElement.prototype.buildNewText=function(){var e=this.currentTextDocumentData;this.renderedLetters=Array.apply(null,{length:this.currentTextDocumentData.l?this.currentTextDocumentData.l.length:0});var t=!1;e.fc?(t=!0,this.values.fill="rgb("+Math.round(255*e.fc[0])+","+Math.round(255*e.fc[1])+","+Math.round(255*e.fc[2])+")"):this.values.fill="rgba(0,0,0,0)",this.fill=t;var n=!1;e.sc&&(n=!0,this.values.stroke="rgb("+Math.round(255*e.sc[0])+","+Math.round(255*e.sc[1])+","+Math.round(255*e.sc[2])+")",this.values.sWidth=e.sw);var a,o,r=this.globalData.fontManager.getFontByName(e.f),i=e.l,s=this.mHelper;this.stroke=n,this.values.fValue=e.s+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,o=e.t.length,this.tHelper.font=this.values.fValue;var l,u,f,c,d,p,h,g,m,v,E=this.data.singleShape;if(E)var y=0,_=0,b=e.lineWidths,S=e.boxWidth,I=!0;var T=0;for(a=0;a<o;a+=1){l=this.globalData.fontManager.getCharData(e.t.charAt(a),r.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);var u;if(u=l?l.data:null,s.reset(),E&&i[a].n&&(y=0,_+=e.yOffset,_+=I?1:0,I=!1),u&&u.shapes){if(d=u.shapes[0].it,h=d.length,s.scale(e.s/100,e.s/100),E){switch(e.ps&&s.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:s.translate(e.justifyOffset+(S-b[i[a].line]),0,0);break;case 2:s.translate(e.justifyOffset+(S-b[i[a].line])/2,0,0)}s.translate(y,_,0)}for(m=new Array(h),p=0;p<h;p+=1){for(c=d[p].ks.k.i.length,g=d[p].ks.k,v=[],f=1;f<c;f+=1)1==f&&v.push(s.applyToX(g.v[0][0],g.v[0][1],0),s.applyToY(g.v[0][0],g.v[0][1],0)),v.push(s.applyToX(g.o[f-1][0],g.o[f-1][1],0),s.applyToY(g.o[f-1][0],g.o[f-1][1],0),s.applyToX(g.i[f][0],g.i[f][1],0),s.applyToY(g.i[f][0],g.i[f][1],0),s.applyToX(g.v[f][0],g.v[f][1],0),s.applyToY(g.v[f][0],g.v[f][1],0));v.push(s.applyToX(g.o[f-1][0],g.o[f-1][1],0),s.applyToY(g.o[f-1][0],g.o[f-1][1],0),s.applyToX(g.i[0][0],g.i[0][1],0),s.applyToY(g.i[0][0],g.i[0][1],0),s.applyToX(g.v[0][0],g.v[0][1],0),s.applyToY(g.v[0][0],g.v[0][1],0)),m[p]=v}}else m=[];E&&(y+=i[a].l),this.textSpans[T]?this.textSpans[T].elem=m:this.textSpans[T]={elem:m},T+=1}},CVTextElement.prototype.renderFrame=function(e){if(this._parent.renderFrame.call(this,e)!==!1){var t=this.canvasContext,n=this.finalTransform.mat.props;this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(n),this.globalData.renderer.ctxOpacity(this.finalTransform.opacity),t.font=this.values.fValue,t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4,this.data.singleShape||this.getMeasures();var a,o,r,i,s,l,u=this.renderedLetters,f=this.currentTextDocumentData.l;o=f.length;var c,d,p,h=null,g=null,m=null;for(a=0;a<o;a+=1)if(!f[a].n){if(c=u[a],c&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(c.props),this.globalData.renderer.ctxOpacity(c.o)),this.fill){for(c&&c.fc?h!==c.fc&&(h=c.fc,t.fillStyle=c.fc):h!==this.values.fill&&(h=this.values.fill,t.fillStyle=this.values.fill),d=this.textSpans[a].elem,i=d.length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(p=d[r],l=p.length,this.globalData.canvasContext.moveTo(p[0],p[1]),s=2;s<l;s+=6)this.globalData.canvasContext.bezierCurveTo(p[s],p[s+1],p[s+2],p[s+3],p[s+4],p[s+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(c&&c.sw?m!==c.sw&&(m=c.sw,t.lineWidth=c.sw):m!==this.values.sWidth&&(m=this.values.sWidth,t.lineWidth=this.values.sWidth),c&&c.sc?g!==c.sc&&(g=c.sc,t.strokeStyle=c.sc):g!==this.values.stroke&&(g=this.values.stroke,t.strokeStyle=this.values.stroke),d=this.textSpans[a].elem,i=d.length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(p=d[r],l=p.length,this.globalData.canvasContext.moveTo(p[0],p[1]),s=2;s<l;s+=6)this.globalData.canvasContext.bezierCurveTo(p[s],p[s+1],p[s+2],p[s+3],p[s+4],p[s+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}c&&this.globalData.renderer.restore()}this.globalData.renderer.restore(this.data.hasMask),this.firstFrame&&(this.firstFrame=!1)}},createElement(BaseElement,HBaseElement),HBaseElement.prototype.checkBlendMode=function(){},HBaseElement.prototype.setBlendMode=BaseElement.prototype.setBlendMode,HBaseElement.prototype.getBaseElement=function(){return this.baseElement},HBaseElement.prototype.createElements=function(){this.data.hasMask?(this.layerElement=document.createElementNS(svgNS,"svg"),styleDiv(this.layerElement),this.baseElement=this.layerElement,this.maskedElement=this.layerElement):this.layerElement=this.parentContainer,this.transformedElement=this.layerElement,!this.data.ln||4!==this.data.ty&&0!==this.data.ty||(this.layerElement===this.parentContainer&&(this.layerElement=document.createElementNS(svgNS,"g"),this.baseElement=this.layerElement),this.layerElement.setAttribute("id",this.data.ln)),this.setBlendMode(),this.layerElement!==this.parentContainer&&(this.placeholder=null),this.checkParenting()},HBaseElement.prototype.renderFrame=function(e){if(3===this.data.ty)return!1;if(this.currentFrameNum===this.lastNum||!this.isVisible)return this.isVisible;this.lastNum=this.currentFrameNum,this.finalTransform.opMdf=this.finalTransform.op.mdf,this.finalTransform.matMdf=this.finalTransform.mProp.mdf,this.finalTransform.opacity=this.finalTransform.op.v,this.firstFrame&&(this.finalTransform.opMdf=!0,this.finalTransform.matMdf=!0);var t,n=this.finalTransform.mat;if(this.hierarchy){var a,o=this.hierarchy.length;for(t=this.finalTransform.mProp.v.props,n.cloneFromProps(t),a=0;a<o;a+=1)this.finalTransform.matMdf=!!this.hierarchy[a].finalTransform.mProp.mdf||this.finalTransform.matMdf,t=this.hierarchy[a].finalTransform.mProp.v.props,n.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}else this.isVisible&&this.finalTransform.matMdf&&(e?(t=this.finalTransform.mProp.v.props,n.cloneFromProps(t)):n.cloneFromProps(this.finalTransform.mProp.v.props));return this.data.hasMask&&this.maskManager.renderFrame(n),e&&(t=e.mat.props,n.cloneFromProps(t),this.finalTransform.opacity*=e.opacity,this.finalTransform.opMdf=!!e.opMdf||this.finalTransform.opMdf,this.finalTransform.matMdf=!!e.matMdf||this.finalTransform.matMdf),this.finalTransform.matMdf&&(this.transformedElement.style.transform=this.transformedElement.style.webkitTransform=n.toCSS(),this.finalMat=n),this.finalTransform.opMdf&&(this.transformedElement.style.opacity=this.finalTransform.opacity),this.isVisible},HBaseElement.prototype.destroy=function(){this.layerElement=null,this.transformedElement=null,this.parentContainer=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},HBaseElement.prototype.getDomElement=function(){return this.layerElement},HBaseElement.prototype.addMasks=function(e){this.maskManager=new MaskElement(e,this,this.globalData)},HBaseElement.prototype.hide=function(){},HBaseElement.prototype.setMatte=function(){},HBaseElement.prototype.buildElementParenting=HybridRenderer.prototype.buildElementParenting,createElement(HBaseElement,HSolidElement),HSolidElement.prototype.createElements=function(){var e=document.createElement("div");styleDiv(e);var t=document.createElementNS(svgNS,"svg");styleDiv(t),t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),e.appendChild(t),this.layerElement=e,this.transformedElement=e,this.baseElement=e,this.innerElem=e,this.data.ln&&this.innerElem.setAttribute("id",this.data.ln),0!==this.data.bm&&this.setBlendMode();var n=document.createElementNS(svgNS,"rect");n.setAttribute("width",this.data.sw),n.setAttribute("height",this.data.sh),n.setAttribute("fill",this.data.sc),t.appendChild(n),this.data.hasMask&&(this.maskedElement=n),this.checkParenting()},HSolidElement.prototype.hide=IImageElement.prototype.hide,HSolidElement.prototype.renderFrame=IImageElement.prototype.renderFrame,HSolidElement.prototype.destroy=IImageElement.prototype.destroy,createElement(HBaseElement,HCompElement),HCompElement.prototype.createElements=function(){var e=document.createElement("div");if(styleDiv(e),this.data.ln&&e.setAttribute("id",this.data.ln),e.style.clip="rect(0px, "+this.data.w+"px, "+this.data.h+"px, 0px)",this.data.hasMask){var t=document.createElementNS(svgNS,"svg");styleDiv(t),t.setAttribute("width",this.data.w),t.setAttribute("height",this.data.h);var n=document.createElementNS(svgNS,"g");t.appendChild(n),e.appendChild(t),this.maskedElement=n,this.baseElement=e,this.layerElement=n,this.transformedElement=e}else this.layerElement=e,this.baseElement=this.layerElement,this.transformedElement=e;this.checkParenting()},HCompElement.prototype.hide=ICompElement.prototype.hide,HCompElement.prototype.prepareFrame=ICompElement.prototype.prepareFrame,HCompElement.prototype.setElements=ICompElement.prototype.setElements,HCompElement.prototype.getElements=ICompElement.prototype.getElements,HCompElement.prototype.destroy=ICompElement.prototype.destroy,HCompElement.prototype.renderFrame=function(e){var t,n=this._parent.renderFrame.call(this,e),a=this.layers.length;if(n===!1)return void this.hide();for(this.hidden=!1,t=0;t<a;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame();this.firstFrame&&(this.firstFrame=!1)},HCompElement.prototype.checkLayers=BaseRenderer.prototype.checkLayers,HCompElement.prototype.buildItem=HybridRenderer.prototype.buildItem,HCompElement.prototype.checkPendingElements=HybridRenderer.prototype.checkPendingElements,HCompElement.prototype.addPendingElement=HybridRenderer.prototype.addPendingElement,HCompElement.prototype.buildAllItems=BaseRenderer.prototype.buildAllItems,HCompElement.prototype.createItem=HybridRenderer.prototype.createItem,HCompElement.prototype.buildElementParenting=HybridRenderer.prototype.buildElementParenting,HCompElement.prototype.createImage=HybridRenderer.prototype.createImage,HCompElement.prototype.createComp=HybridRenderer.prototype.createComp,HCompElement.prototype.createSolid=HybridRenderer.prototype.createSolid,HCompElement.prototype.createShape=HybridRenderer.prototype.createShape,HCompElement.prototype.createText=HybridRenderer.prototype.createText,HCompElement.prototype.createBase=HybridRenderer.prototype.createBase,HCompElement.prototype.appendElementInPos=HybridRenderer.prototype.appendElementInPos,createElement(HBaseElement,HShapeElement);var parent=HShapeElement.prototype._parent;extendPrototype(IShapeElement,HShapeElement),HShapeElement.prototype._parent=parent,HShapeElement.prototype.createElements=function(){var e=document.createElement("div");styleDiv(e);var t=document.createElementNS(svgNS,"svg");styleDiv(t);var n=this.comp.data?this.comp.data:this.globalData.compSize;if(t.setAttribute("width",n.w),t.setAttribute("height",n.h),this.data.hasMask){var a=document.createElementNS(svgNS,"g");e.appendChild(t),t.appendChild(a),this.maskedElement=a,this.layerElement=a,this.shapesContainer=a}else e.appendChild(t),this.layerElement=t,this.shapesContainer=document.createElementNS(svgNS,"g"),this.layerElement.appendChild(this.shapesContainer);this.data.hd||(this.baseElement=e),this.innerElem=e,this.data.ln&&this.innerElem.setAttribute("id",this.data.ln),this.searchShapes(this.shapesData,this.viewData,this.layerElement,this.dynamicProperties,0),this.buildExpressionInterface(),this.layerElement=e,this.transformedElement=e,this.shapeCont=t,0!==this.data.bm&&this.setBlendMode(),this.checkParenting()},HShapeElement.prototype.renderFrame=function(e){if(this._parent.renderFrame.call(this,e)===!1)return void this.hide();if(this.hidden&&(this.layerElement.style.display="block",this.hidden=!1),this.renderModifiers(),this.addedTransforms.mdf=this.finalTransform.matMdf,this.addedTransforms.mats.length=1,this.addedTransforms.mats[0]=this.finalTransform.mat,this.renderShape(null,null,!0,null),this.isVisible&&(this.elemMdf||this.firstFrame)){var t=this.shapeCont.getBBox(),n=!1;this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),n=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),n=!0),(n||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y)&&(this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.shapeCont.style.transform=this.shapeCont.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}},createElement(HBaseElement,HTextElement),HTextElement.prototype.init=ITextElement.prototype.init,HTextElement.prototype.getMeasures=ITextElement.prototype.getMeasures,HTextElement.prototype.createPathShape=ITextElement.prototype.createPathShape,HTextElement.prototype.prepareFrame=ITextElement.prototype.prepareFrame,HTextElement.prototype.createElements=function(){this.isMasked=this.checkMasks();var e=document.createElement("div");if(styleDiv(e),this.layerElement=e,this.transformedElement=e,this.isMasked){this.renderType="svg";var t=document.createElementNS(svgNS,"svg");styleDiv(t),this.cont=t,this.compW=this.comp.data.w,this.compH=this.comp.data.h,t.setAttribute("width",this.compW),t.setAttribute("height",this.compH);var n=document.createElementNS(svgNS,"g");t.appendChild(n),e.appendChild(t),this.maskedElement=n,this.innerElem=n}else this.renderType="html",this.innerElem=e;this.baseElement=e,this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.currentTextDocumentData;this.renderedLetters=Array.apply(null,{length:this.currentTextDocumentData.l?this.currentTextDocumentData.l.length:0}),e.fc?this.innerElem.style.color=this.innerElem.style.fill="rgb("+Math.round(255*e.fc[0])+","+Math.round(255*e.fc[1])+","+Math.round(255*e.fc[2])+")":this.innerElem.style.color=this.innerElem.style.fill="rgba(0,0,0,0)",e.sc&&(this.innerElem.style.stroke="rgb("+Math.round(255*e.sc[0])+","+Math.round(255*e.sc[1])+","+Math.round(255*e.sc[2])+")",this.innerElem.style.strokeWidth=e.sw+"px");var t=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(this.innerElem.style.fontSize=e.s+"px",this.innerElem.style.lineHeight=e.s+"px",t.fClass)this.innerElem.className=t.fClass;else{this.innerElem.style.fontFamily=t.fFamily;var n=e.fWeight,a=e.fStyle;this.innerElem.style.fontStyle=a,this.innerElem.style.fontWeight=n}var o,r,i=e.l;r=i.length;var s,l,u,f,c=this.mHelper,d="",p=0;for(o=0;o<r;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[p]?s=this.textPaths[p]:(s=document.createElementNS(svgNS,"path"),s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[p]?(l=this.textSpans[p],u=l.children[0]):(l=document.createElement("div"),u=document.createElementNS(svgNS,"svg"),u.appendChild(s),styleDiv(l)))):this.isMasked?s=this.textPaths[p]?this.textPaths[p]:document.createElementNS(svgNS,"text"):this.textSpans[p]?(l=this.textSpans[p],s=this.textPaths[p]):(l=document.createElement("span"),styleDiv(l),s=document.createElement("span"),styleDiv(s),l.appendChild(s)),this.globalData.fontManager.chars){var h,g=this.globalData.fontManager.getCharData(e.t.charAt(o),t.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(h=g?g.data:null,c.reset(),h&&h.shapes&&(f=h.shapes[0].it,c.scale(e.s/100,e.s/100),d=this.createPathShape(c,f),s.setAttribute("d",d)),this.isMasked)this.innerElem.appendChild(s);else if(this.innerElem.appendChild(l),h&&h.shapes){document.body.appendChild(u);var m=u.getBBox();u.setAttribute("width",m.width),u.setAttribute("height",m.height),u.setAttribute("viewBox",m.x+" "+m.y+" "+m.width+" "+m.height),u.style.transform=u.style.webkitTransform="translate("+m.x+"px,"+m.y+"px)",i[o].yOffset=m.y,l.appendChild(u)}else u.setAttribute("width",1),u.setAttribute("height",1)}else s.textContent=i[o].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(s):(this.innerElem.appendChild(l),s.style.transform=s.style.webkitTransform="translate3d(0,"+-e.s/1.2+"px,0)");this.isMasked?this.textSpans[p]=s:this.textSpans[p]=l,this.textSpans[p].style.display="block",this.textPaths[p]=s,p+=1}for(;p<this.textSpans.length;)this.textSpans[p].style.display="none",p+=1},HTextElement.prototype.hide=SVGTextElement.prototype.hide,HTextElement.prototype.renderFrame=function(e){if(this._parent.renderFrame.call(this,e)===!1)return void this.hide();if(this.hidden&&(this.hidden=!1,this.innerElem.style.display="block",this.layerElement.style.display="block"),this.data.singleShape){if(!this.firstFrame&&!this.lettersChangedFlag)return;this.isMasked&&this.finalTransform.matMdf&&(this.cont.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),this.cont.style.transform=this.cont.style.webkitTransform="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)")}if(this.getMeasures(),this.lettersChangedFlag){var t,n,a=this.renderedLetters,o=this.currentTextDocumentData.l;n=o.length;var r;for(t=0;t<n;t+=1)o[t].n||(r=a[t],this.isMasked?this.textSpans[t].setAttribute("transform",r.m):this.textSpans[t].style.transform=this.textSpans[t].style.webkitTransform=r.m,this.textSpans[t].style.opacity=r.o,r.sw&&this.textPaths[t].setAttribute("stroke-width",r.sw),r.sc&&this.textPaths[t].setAttribute("stroke",r.sc),r.fc&&(this.textPaths[t].setAttribute("fill",r.fc),this.textPaths[t].style.color=r.fc));if(this.isVisible&&(this.elemMdf||this.firstFrame)&&this.innerElem.getBBox){var i=this.innerElem.getBBox();this.currentBBox.w!==i.width&&(this.currentBBox.w=i.width,this.cont.setAttribute("width",i.width)),this.currentBBox.h!==i.height&&(this.currentBBox.h=i.height,this.cont.setAttribute("height",i.height)),this.currentBBox.w===i.width&&this.currentBBox.h===i.height&&this.currentBBox.x===i.x&&this.currentBBox.y===i.y||(this.currentBBox.w=i.width,this.currentBBox.h=i.height,this.currentBBox.x=i.x,this.currentBBox.y=i.y,this.cont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.cont.style.transform=this.cont.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}this.firstFrame&&(this.firstFrame=!1)}},HTextElement.prototype.destroy=SVGTextElement.prototype.destroy,createElement(HBaseElement,HImageElement),HImageElement.prototype.createElements=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;if(this.data.hasMask){var n=document.createElement("div");styleDiv(n);var a=document.createElementNS(svgNS,"svg");styleDiv(a),a.setAttribute("width",this.assetData.w),a.setAttribute("height",this.assetData.h),n.appendChild(a),this.imageElem=document.createElementNS(svgNS,"image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),a.appendChild(this.imageElem),this.layerElement=n,this.transformedElement=n,this.baseElement=n,this.innerElem=n,this.maskedElement=this.imageElem}else styleDiv(t),this.layerElement=t,this.baseElement=t,this.innerElem=t,this.transformedElement=t;t.src=e,this.data.ln&&this.innerElem.setAttribute("id",this.data.ln),this.checkParenting()},HImageElement.prototype.hide=HSolidElement.prototype.hide,HImageElement.prototype.renderFrame=HSolidElement.prototype.renderFrame,HImageElement.prototype.destroy=HSolidElement.prototype.destroy,createElement(HBaseElement,HCameraElement),HCameraElement.prototype.setup=function(){var e,t,n=this.comp.threeDElements.length;for(e=0;e<n;e+=1)t=this.comp.threeDElements[e],t.perspectiveElem.style.perspective=t.perspectiveElem.style.webkitPerspective=this.pe.v+"px",t.container.style.transformOrigin=t.container.style.mozTransformOrigin=t.container.style.webkitTransformOrigin="0px 0px 0px",t.perspectiveElem.style.transform=t.perspectiveElem.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,n=this.firstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)n=!!this.hierarchy[e].finalTransform.mProp.mdf||n;if(n||this.p&&this.p.mdf||this.px&&(this.px.mdf||this.py.mdf||this.pz.mdf)||this.rx.mdf||this.ry.mdf||this.rz.mdf||this.or.mdf||this.a&&this.a.mdf){if(this.mat.reset(),this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var a=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]],o=Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2)+Math.pow(a[2],2)),r=[a[0]/o,a[1]/o,a[2]/o],i=Math.sqrt(r[2]*r[2]+r[0]*r[0]),s=Math.atan2(r[1],i),l=Math.atan2(r[0],-r[2]);this.mat.rotateY(l).rotateX(-s)}if(this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v),this.hierarchy){var u;for(t=this.hierarchy.length,e=0;e<t;e+=1)u=this.hierarchy[e].finalTransform.mProp.iv.props,this.mat.transform(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],-u[12],-u[13],u[14],u[15])}t=this.comp.threeDElements.length;var f;for(e=0;e<t;e+=1)f=this.comp.threeDElements[e],f.container.style.transform=f.container.style.webkitTransform=this.mat.toCSS()}this.firstFrame=!1},HCameraElement.prototype.destroy=function(){};var Expressions=function(){function e(e){e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer)}var t={};return t.initExpressions=e,t}();expressionsPlugin=Expressions,function(){function e(){return this.pv}function t(e,t){e*=this.elem.globalData.frameRate;var n,a,o=0,r=this.keyframes.length-1,i=1,s=!0;t=void 0===t?this.offsetTime:0;for(var l="object"==typeof this.pv?[this.pv.length]:0;s;){if(n=this.keyframes[o],a=this.keyframes[o+1],o==r-1&&e>=a.t-t){n.h&&(n=a);break}if(a.t-t>e)break;o<r-1?o+=i:s=!1}var u,f,c,d,p,h=0;if(n.to){n.bezierData||bez.buildBezierData(n);var g=n.bezierData;if(e>=a.t-t||e<n.t-t){var m=e>=a.t-t?g.points.length-1:0;for(f=g.points[m].point.length,u=0;u<f;u+=1)l[u]=g.points[m].point[u]}else{n.__fnct?p=n.__fnct:(p=BezierFactory.getBezierEasing(n.o.x,n.o.y,n.i.x,n.i.y,n.n).get,n.__fnct=p),c=p((e-(n.t-t))/(a.t-t-(n.t-t)));var v,E=g.segmentLength*c,y=0;for(i=1,s=!0,d=g.points.length;s;){if(y+=g.points[h].partialLength*i,0===E||0===c||h==g.points.length-1){for(f=g.points[h].point.length,u=0;u<f;u+=1)l[u]=g.points[h].point[u];break}if(E>=y&&E<y+g.points[h+1].partialLength){for(v=(E-y)/g.points[h+1].partialLength,f=g.points[h].point.length,u=0;u<f;u+=1)l[u]=g.points[h].point[u]+(g.points[h+1].point[u]-g.points[h].point[u])*v;break}h<d-1&&1==i||h>0&&i==-1?h+=i:s=!1}}}else{var _,b,S,I,T,N=!1;for(r=n.s.length,o=0;o<r;o+=1){if(1!==n.h&&(n.o.x instanceof Array?(N=!0,n.__fnct||(n.__fnct=[]),n.__fnct[o]||(_=n.o.x[o]||n.o.x[0],b=n.o.y[o]||n.o.y[0],S=n.i.x[o]||n.i.x[0],I=n.i.y[o]||n.i.y[0])):(N=!1,n.__fnct||(_=n.o.x,b=n.o.y,S=n.i.x,I=n.i.y)),N?n.__fnct[o]?p=n.__fnct[o]:(p=BezierFactory.getBezierEasing(_,b,S,I).get,n.__fnct[o]=p):n.__fnct?p=n.__fnct:(p=BezierFactory.getBezierEasing(_,b,S,I).get,n.__fnct=p),c=e>=a.t-t?1:e<n.t-t?0:p((e-(n.t-t))/(a.t-t-(n.t-t)))),this.sh&&1!==n.h){var A=n.s[o],M=n.e[o];A-M<-180?A+=360:A-M>180&&(A-=360),T=A+(M-A)*c}else T=1===n.h?n.s[o]:n.s[o]+(n.e[o]-n.s[o])*c;1===r?l=T:l[o]=T}}return l}function n(e){if(void 0!==this.vel)return this.vel;var t,n=-.01,a=this.getValueAtTime(e,0),o=this.getValueAtTime(e+n,0);if(a.length){t=Array.apply(null,{length:a.length});var r;for(r=0;r<a.length;r+=1)t[r]=this.elem.globalData.frameRate*((o[r]-a[r])/n)}else t=(o-a)/n;return t}function a(e){this.propertyGroup=e}function o(e,t,n){t.x&&(n.k=!0,n.x=!0,n.getValue&&(n.getPreValue=n.getValue),n.getValue=ExpressionManager.initiateExpression.bind(n)(e,t,n))}var r=function(){function r(e,t){return this.textIndex=e+1,this.textTotal=t,this.getValue(),this.v}return function(i,s){this.pv=1,this.comp=i.comp,this.elem=i,this.mult=.01,this.type="textSelector",this.textTotal=s.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],o.bind(this)(i,s,this),this.getMult=r,this.getVelocityAtTime=n,this.kf?this.getValueAtTime=t.bind(this):this.getValueAtTime=e.bind(this),this.setGroupProperty=a}}(),i=PropertyFactory.getProp;PropertyFactory.getProp=function(r,s,l,u,f){var c=i(r,s,l,u,f);c.getVelocityAtTime=n,c.kf?c.getValueAtTime=t.bind(c):c.getValueAtTime=e.bind(c),c.setGroupProperty=a;var d=c.k;return void 0!==s.ix&&Object.defineProperty(c,"propertyIndex",{get:function(){return s.ix}}),o(r,s,c),!d&&c.x&&f.push(c),c};var s=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(n,r,i,l,u){var f=s(n,r,i,l,u);f.setGroupProperty=a,f.kf?f.getValueAtTime=t:f.getValueAtTime=e;var c=f.k;return void 0!==r.ix&&Object.defineProperty(f,"propertyIndex",{get:function(){return r.ix}}),3===i?o(n,r.pt,f):4===i&&o(n,r.ks,f),!c&&f.x&&l.push(f),f};var l=PropertyFactory.getTextSelectorProp;PropertyFactory.getTextSelectorProp=function(e,t,n){return 1===t.t?new r(e,t,n):l(e,t,n)}}();var ExpressionManager=function(){function duplicatePropertyValue(e,t){if(t=t||1,"number"==typeof e||e instanceof Number)return e*t;if(e.i)return JSON.parse(JSON.stringify(e));var n,a=Array.apply(null,{length:e.length}),o=e.length;for(n=0;n<o;n+=1)a[n]=e[n]*t;return a}function $bm_neg(e){var t=typeof e;if("number"===t||"boolean"===t||e instanceof Number)return-e;if(e.constructor===Array){var n,a=e.length,o=[];for(n=0;n<a;n+=1)o[n]=-e[n];return o}}function sum(e,t){var n=typeof e,a=typeof t;if("string"===n||"string"===a)return e+t;if(("number"===n||"boolean"===n||"string"===n||e instanceof Number)&&("number"===a||"boolean"===a||"string"===a||t instanceof Number))return e+t;if(e.constructor===Array&&("number"===a||"boolean"===a||"string"===a||t instanceof Number))return e[0]=e[0]+t,e;if(("number"===n||"boolean"===n||"string"===n||e instanceof Number)&&t.constructor===Array)return t[0]=e+t[0],t;if(e.constructor===Array&&t.constructor===Array){for(var o=0,r=e.length,i=t.length,s=[];o<r||o<i;)"number"==typeof e[o]&&"number"==typeof t[o]?s[o]=e[o]+t[o]:s[o]=void 0==t[o]?e[o]:e[o]||t[o],o+=1;return s}return 0}function sub(e,t){var n=typeof e,a=typeof t;if(("number"===n||"boolean"===n||"string"===n||e instanceof Number)&&("number"===a||"boolean"===a||"string"===a||t instanceof Number))return e-t;if(e.constructor===Array&&("number"===a||"boolean"===a||"string"===a||t instanceof Number))return e[0]=e[0]-t,e;if(("number"===n||"boolean"===n||"string"===n||e instanceof Number)&&t.constructor===Array)return t[0]=e-t[0],t;if(e.constructor===Array&&t.constructor===Array){for(var o=0,r=e.length,i=t.length,s=[];o<r||o<i;)"number"==typeof e[o]&&"number"==typeof t[o]?s[o]=e[o]-t[o]:s[o]=void 0==t[o]?e[o]:e[o]||t[o],o+=1;return s}return 0}function mul(e,t){var n,a=typeof e,o=typeof t;if(("number"===a||"boolean"===a||"string"===a||e instanceof Number)&&("number"===o||"boolean"===o||"string"===o||t instanceof Number))return e*t;var r,i;if(e.constructor===Array&&("number"===o||"boolean"===o||"string"===o||t instanceof Number)){for(i=e.length,n=Array.apply(null,{length:i}),r=0;r<i;r+=1)n[r]=e[r]*t;return n}if(("number"===a||"boolean"===a||"string"===a||e instanceof Number)&&t.constructor===Array){for(i=t.length,n=Array.apply(null,{length:i}),r=0;r<i;r+=1)n[r]=e*t[r];return n}return 0}function div(e,t){var n,a=typeof e,o=typeof t;if(("number"===a||"boolean"===a||"string"===a||e instanceof Number)&&("number"===o||"boolean"===o||"string"===o||t instanceof Number))return e/t;var r,i;if(e.constructor===Array&&("number"===o||"boolean"===o||"string"===o||t instanceof Number)){for(i=e.length,n=Array.apply(null,{length:i}),r=0;r<i;r+=1)n[r]=e[r]/t;return n}if(("number"===a||"boolean"===a||"string"===a||e instanceof Number)&&t.constructor===Array){for(i=t.length,n=Array.apply(null,{length:i}),r=0;r<i;r+=1)n[r]=e/t[r];return n}return 0}function clamp(e,t,n){if(t>n){var a=n;n=t,t=a}return Math.min(Math.max(e,t),n)}function radiansToDegrees(e){return e/degToRads}function degreesToRadians(e){return e*degToRads}function length(e,t){if("number"==typeof e)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var n,a=Math.min(e.length,t.length),o=0;for(n=0;n<a;n+=1)o+=Math.pow(t[n]-e[n],2);return Math.sqrt(o)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,n,a=e[0],o=e[1],r=e[2],i=Math.max(a,o,r),s=Math.min(a,o,r),l=(i+s)/2;if(i==s)t=n=0;else{var u=i-s;switch(n=l>.5?u/(2-i-s):u/(i+s),i){case a:t=(o-r)/u+(o<r?6:0);break;case o:t=(r-a)/u+2;break;case r:t=(a-o)/u+4}t/=6}return[t,n,l,e[3]]}function hslToRgb(e){function t(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n,a,o,r=e[0],i=e[1],s=e[2];if(0==i)n=a=o=s;else{var l=s<.5?s*(1+i):s+i-s*i,u=2*s-l;n=t(u,l,r+1/3),a=t(u,l,r),o=t(u,l,r-1/3)}return[n,a,o,e[3]]}function linear(e,t,n,a,o){if(void 0===a||void 0===o)return linear(e,0,1,t,n);if(e<=t)return a;if(e>=n)return o;var r=n===t?0:(e-t)/(n-t);if(!a.length)return a+(o-a)*r;var i,s=a.length,l=Array.apply(null,{length:s});for(i=0;i<s;i+=1)l[i]=a[i]+(o[i]-a[i])*r;return l}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var n,a=t.length;e||(e=Array.apply(null,{length:a}));var o=Array.apply(null,{length:a}),r=BMMath.random();for(n=0;n<a;n+=1)o[n]=e[n]+r*(t[n]-e[n]);return o}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function initiateExpression(elem,data,property){function lookAt(e,t){var n=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],a=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads;return[-Math.atan2(n[1],n[2])/degToRads,a,0]}function easeOut(e,t,n){return-(n-t)*e*(e-2)+t}function nearestKey(e){var t,n,a,o=data.k.length;if(data.k.length&&"number"!=typeof data.k[0]){for(n=-1,e*=elem.comp.globalData.frameRate,t=0;t<o-1;t+=1){if(e===data.k[t].t){n=t+1,a=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(n=t+2,a=data.k[t+1].t):(n=t+1,a=data.k[t].t);break}}n===-1&&(n=t+1,a=data.k[t].t)}else n=0,a=0;var r={};return r.index=n,r.time=a/elem.comp.globalData.frameRate,r}function key(e){if(!data.k.length||"number"==typeof data.k[0])return{time:0};e-=1;var t,n={time:data.k[e].t/elem.comp.globalData.frameRate};t=e!==data.k.length-1||data.k[e].h?data.k[e].s:data.k[e-1].e;var a,o=t.length;for(a=0;a<o;a+=1)n[a]=t[a];return n}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function toWorld(e){if(toworldMatrix.reset(),elem.finalTransform.mProp.applyToMatrix(toworldMatrix),elem.hierarchy&&elem.hierarchy.length){var t,n=elem.hierarchy.length;for(t=0;t<n;t+=1)elem.hierarchy[t].finalTransform.mProp.applyToMatrix(toworldMatrix);return toworldMatrix.applyToPointArray(e[0],e[1],e[2]||0)}return toworldMatrix.applyToPointArray(e[0],e[1],e[2]||0)}function fromWorld(e){fromworldMatrix.reset();var t=[];if(t.push(e),elem.finalTransform.mProp.applyToMatrix(fromworldMatrix),elem.hierarchy&&elem.hierarchy.length){var n,a=elem.hierarchy.length;for(n=0;n<a;n+=1)elem.hierarchy[n].finalTransform.mProp.applyToMatrix(fromworldMatrix);return fromworldMatrix.inversePoints(t)[0]}return fromworldMatrix.inversePoints(t)[0]}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function execute(){if(_needsRandom&&seedRandom(randSeed),this.frameExpressionId!==elem.globalData.frameId||"textSelector"===this.type){if(this.lock)return this.v=duplicatePropertyValue(this.pv,this.mult),!0;"textSelector"===this.type&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface),transform||(transform=elem.layerInterface("ADBE Transform Group")),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!(!elem.hierarchy||!elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[elem.hierarchy.length-1].layerInterface),this.lock=!0,this.getPreValue&&this.getPreValue(),value=this.pv,time=this.comp.renderedFrame/this.comp.globalData.frameRate,needsVelocity&&(velocity=velocityAtTime(time)),bindedFn(),this.v.length&&isNaN(this.v[0])&&console.log(val),this.frameExpressionId=elem.globalData.frameId;var e,t;if(this.mult)if("number"==typeof this.v||this.v instanceof Number||"string"==typeof this.v)this.v*=this.mult;else if(1===this.v.length)this.v=this.v[0]*this.mult;else for(t=this.v.length,value===this.v&&(this.v=2===t?[value[0],value[1]]:[value[0],value[1],value[2]]),e=0;e<t;e+=1)this.v[e]*=this.mult;if(1===this.v.length&&(this.v=this.v[0]),"number"==typeof this.v||this.v instanceof Number||"string"==typeof this.v)this.lastValue!==this.v&&(this.lastValue=this.v,this.mdf=!0);else if(this.v.i)this.mdf=!0,this.paths.length=0,this.paths[0]=this.v;else for(t=this.v.length,e=0;e<t;e+=1)this.v[e]!==this.lastValue[e]&&(this.lastValue[e]=this.v[e],this.mdf=!0);this.lock=!1}}var val=data.x,needsVelocity=val.indexOf("velocity")!==-1,_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,content,effect,thisComp=elem.comp,thisProperty=property;elem.comp.frameDuration=1/elem.comp.globalData.frameRate;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,thisLayer,thisComp,fn=new Function,fn=eval("[function(){"+val+";this.v = $bm_rt;}]")[0],bindedFn=fn.bind(this),numKeys=property.kf?data.k.length:0,wiggle=function(e,t){var n,a,o=this.pv.length?this.pv.length:1,r=Array.apply(null,{len:o});for(a=0;a<o;a+=1)r[a]=0;e=5;var i=Math.floor(time*e);for(n=0,a=0;n<i;){for(a=0;a<o;a+=1)r[a]+=-t+2*t*BMMath.random();n+=1}var s=time*e,l=s-Math.floor(s),u=Array.apply({length:o});for(a=0;a<o;a+=1)u[a]=this.pv[a]+r[a]+(-t+2*t*BMMath.random())*l;return u}.bind(this),loopIn=function(e,t,n){if(!this.k)return this.pv;var a=time*elem.comp.globalData.frameRate,o=this.keyframes,r=o[0].t;if(a>=r)return this.pv;var i,s;n?(i=t?Math.abs(elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-r),s=r+i):((!t||t>o.length-1)&&(t=o.length-1),s=o[t].t,i=s-r);var l,u,f;if("pingpong"===e){if(Math.floor((r-a)/i)%2===0)return this.getValueAtTime(((r-a)%i+r)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var c=this.getValueAtTime(r/this.comp.globalData.frameRate,0),d=this.getValueAtTime(s/this.comp.globalData.frameRate,0),p=this.getValueAtTime((i-(r-a)%i+r)/this.comp.globalData.frameRate,0),h=Math.floor((r-a)/i)+1;if(this.pv.length){for(f=new Array(c.length),u=f.length,l=0;l<u;l+=1)f[l]=p[l]-(d[l]-c[l])*h;return f}return p-(d-c)*h}if("continue"===e){var g=this.getValueAtTime(r/this.comp.globalData.frameRate,0),m=this.getValueAtTime((r+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(f=new Array(g.length),u=f.length,l=0;l<u;l+=1)f[l]=g[l]+(g[l]-m[l])*(r-a)/.001;return f}return g+(g-m)*(r-a)/.001}}return this.getValueAtTime((i-(r-a)%i+r)/this.comp.globalData.frameRate,0)}.bind(this),loopInDuration=function(e,t){return loopIn(e,t,!0)}.bind(this),loopOut=function(e,t,n){if(!this.k||!this.keyframes)return this.pv;var a=time*elem.comp.globalData.frameRate,o=this.keyframes,r=o[o.length-1].t;if(a<=r)return this.pv;var i,s;n?(i=t?Math.abs(r-elem.comp.globalData.frameRate*t):Math.max(0,r-this.elem.data.ip),s=r-i):((!t||t>o.length-1)&&(t=o.length-1),s=o[o.length-1-t].t,i=r-s);var l,u,f;if("pingpong"===e){if(Math.floor((a-s)/i)%2!==0)return this.getValueAtTime((i-(a-s)%i+s)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var c=this.getValueAtTime(s/this.comp.globalData.frameRate,0),d=this.getValueAtTime(r/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((a-s)%i+s)/this.comp.globalData.frameRate,0),h=Math.floor((a-s)/i);if(this.pv.length){for(f=new Array(c.length),u=f.length,l=0;l<u;l+=1)f[l]=(d[l]-c[l])*h+p[l];return f}return(d-c)*h+p}if("continue"===e){var g=this.getValueAtTime(r/this.comp.globalData.frameRate,0),m=this.getValueAtTime((r-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(f=new Array(g.length),u=f.length,l=0;l<u;l+=1)f[l]=g[l]+(g[l]-m[l])*((a-r)/this.comp.globalData.frameRate)/5e-4;return f}return g+(g-m)*((a-r)/.001)}}return this.getValueAtTime(((a-s)%i+s)/this.comp.globalData.frameRate,0)}.bind(this),loop_out=loopOut,loopOutDuration=function(e,t){return loopOut(e,t,!0)}.bind(this),valueAtTime=function(e){return this.getValueAtTime(e,0)}.bind(this),velocityAtTime=function(e){return this.getVelocityAtTime(e)}.bind(this),comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),toworldMatrix=new Matrix,fromworldMatrix=new Matrix,time,velocity,value,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random());return execute}var ob={},Math=BMMath,add=sum,radians_to_degrees=radiansToDegrees,degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];return ob.initiateExpression=initiateExpression,ob}(),ShapeExpressionInterface=function(){function e(e,t,n){return p(e,t,n)}function t(e,t,n){return g(e,t,n)}function n(e,t,n){return m(e,t,n)}function a(e,t,n){return v(e,t,n)}function o(e,t,n){return E(e,t,n)}function r(e,t,n){return y(e,t,n)}function i(e,t,n){return _(e,t,n)}function s(e,t,n){return b(e,t,n)}function l(e,t,n){return S(e,t,n)}function u(e,t,n){return I(e,t,n)}function f(e,t,n){return T(e,t,n)}function c(e,t,n){var a,o=[],r=e?e.length:0;for(a=0;a<r;a+=1)"gr"==e[a].ty?o.push(ShapeExpressionInterface.createGroupInterface(e[a],t[a],n)):"fl"==e[a].ty?o.push(ShapeExpressionInterface.createFillInterface(e[a],t[a],n)):"st"==e[a].ty?o.push(ShapeExpressionInterface.createStrokeInterface(e[a],t[a],n)):"tm"==e[a].ty?o.push(ShapeExpressionInterface.createTrimInterface(e[a],t[a],n)):"tr"==e[a].ty||("el"==e[a].ty?o.push(ShapeExpressionInterface.createEllipseInterface(e[a],t[a],n)):"sr"==e[a].ty?o.push(ShapeExpressionInterface.createStarInterface(e[a],t[a],n)):"sh"==e[a].ty?o.push(ShapeExpressionInterface.createPathInterface(e[a],t[a],n)):"rc"==e[a].ty?o.push(ShapeExpressionInterface.createRectInterface(e[a],t[a],n)):"rd"==e[a].ty&&o.push(ShapeExpressionInterface.createRoundedInterface(e[a],t[a],n)));return o}var d={createShapeInterface:e,createGroupInterface:t,createTrimInterface:o,createStrokeInterface:a,createTransformInterface:r,createEllipseInterface:i,createStarInterface:s,createRectInterface:l,createRoundedInterface:u,createPathInterface:f,createFillInterface:n},p=function(){return function(e,t,n){function a(e){if("number"==typeof e)return o[e-1];for(var t=0,n=o.length;t<n;){if(o[t]._name===e)return o[t];t+=1}}var o;return a.propertyGroup=n,o=c(e,t,a),a}}(),h=function(){return function(e,t,n){var a,o=function(e){if("number"==typeof e)return a[e-1];for(var t=0,n=a.length;t<n;){if(a[t]._name===e||a[t].mn===e)return a[t];t+=1}};return o.propertyGroup=function(e){return 1===e?o:n(e-1)},a=c(e.it,t.it,o.propertyGroup),o.numProperties=a.length,o}}(),g=function(){return function(e,t,n){var a=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return a.content;case"ADBE Vector Transform Group":case 3:default:return a.transform}};a.propertyGroup=function(e){return 1===e?a:n(e-1)};var o=h(e,t,a.propertyGroup),r=ShapeExpressionInterface.createTransformInterface(e.it[e.it.length-1],t.it[t.it.length-1],a.propertyGroup);return a.content=o,a.transform=r,Object.defineProperty(a,"_name",{get:function(){return e.nm}}),a.numProperties=1,a.nm=e.nm,a.mn=e.mn,a}}(),m=function(){return function(e,t,n){function a(e){return"Color"===e||"color"===e?a.color:"Opacity"===e||"opacity"===e?a.opacity:void 0}return Object.defineProperty(a,"color",{get:function(){return ExpressionValue(t.c,1/t.c.mult,"color")}}),Object.defineProperty(a,"opacity",{get:function(){return ExpressionValue(t.o,100)}}),Object.defineProperty(a,"_name",{value:e.nm}),Object.defineProperty(a,"mn",{value:e.mn}),t.c.setGroupProperty(n),t.o.setGroupProperty(n),a}}(),v=function(){return function(e,t,n){function a(e){return 1===e?d:n(e-1)}function o(e){return 1===e?u:a(e-1)}function r(n){Object.defineProperty(u,e.d[n].nm,{get:function(){return ExpressionValue(t.d.dataProps[n].p)}})}function i(e){return"Color"===e||"color"===e?i.color:"Opacity"===e||"opacity"===e?i.opacity:"Stroke Width"===e||"stroke width"===e?i.strokeWidth:void 0}t.c.setGroupProperty(a),t.o.setGroupProperty(a),t.w.setGroupProperty(a);var s,l=e.d?e.d.length:0,u={};for(s=0;s<l;s+=1)r(s),t.d.dataProps[s].p.setGroupProperty(o);return Object.defineProperty(i,"color",{get:function(){return ExpressionValue(t.c,1/t.c.mult,"color")}}),Object.defineProperty(i,"opacity",{get:function(){return ExpressionValue(t.o,100)}}),Object.defineProperty(i,"strokeWidth",{get:function(){return ExpressionValue(t.w)}}),Object.defineProperty(i,"dash",{get:function(){return u}}),Object.defineProperty(i,"_name",{value:e.nm}),Object.defineProperty(i,"mn",{value:e.mn}),t.c.setGroupProperty(n),t.o.setGroupProperty(n),i}}(),E=function(){return function(e,t,n){function a(e){return 1==e?o:n(--e)}function o(t){return t===e.e.ix?o.end:t===e.s.ix?o.start:t===e.o.ix?o.offset:void 0}return o.propertyIndex=e.ix,t.s.setGroupProperty(a),t.e.setGroupProperty(a),t.o.setGroupProperty(a),o.propertyIndex=e.ix,Object.defineProperty(o,"start",{get:function(){return ExpressionValue(t.s,1/t.s.mult)}}),Object.defineProperty(o,"end",{get:function(){return ExpressionValue(t.e,1/t.e.mult)}}),Object.defineProperty(o,"offset",{get:function(){return ExpressionValue(t.o)}}),Object.defineProperty(o,"_name",{get:function(){return e.nm}}),o.mn=e.mn,o}}(),y=function(){return function(e,t,n){function a(e){return 1==e?o:n(--e)}function o(t){return e.a.ix===t?o.anchorPoint:e.o.ix===t?o.opacity:e.p.ix===t?o.position:e.r.ix===t?o.rotation:e.s.ix===t?o.scale:e.sk&&e.sk.ix===t?o.skew:e.sa&&e.sa.ix===t?o.skewAxis:"Opacity"===t?o.opacity:"Position"===t?o.position:"Anchor Point"===t?o.anchorPoint:"Scale"===t?o.scale:"Rotation"===t?o.rotation:"Skew"===t?o.skew:"Skew Axis"===t?o.skewAxis:void 0}t.transform.mProps.o.setGroupProperty(a),t.transform.mProps.p.setGroupProperty(a),t.transform.mProps.a.setGroupProperty(a),t.transform.mProps.s.setGroupProperty(a),t.transform.mProps.r.setGroupProperty(a),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(a),t.transform.mProps.sa.setGroupProperty(a)),t.transform.op.setGroupProperty(a),Object.defineProperty(o,"opacity",{get:function(){return ExpressionValue(t.transform.mProps.o,1/t.transform.mProps.o.mult)}}),Object.defineProperty(o,"position",{get:function(){return ExpressionValue(t.transform.mProps.p)}}),Object.defineProperty(o,"anchorPoint",{get:function(){return ExpressionValue(t.transform.mProps.a)}});return Object.defineProperty(o,"scale",{get:function(){return ExpressionValue(t.transform.mProps.s,1/t.transform.mProps.s.mult)}}),Object.defineProperty(o,"rotation",{get:function(){return ExpressionValue(t.transform.mProps.r,1/t.transform.mProps.r.mult)}}),Object.defineProperty(o,"skew",{get:function(){return ExpressionValue(t.transform.mProps.sk)}}),Object.defineProperty(o,"skewAxis",{get:function(){return ExpressionValue(t.transform.mProps.sa)}}),Object.defineProperty(o,"_name",{get:function(){return e.nm}}),o.ty="tr",o.mn=e.mn,o}}(),_=function(){return function(e,t,n){function a(e){return 1==e?o:n(--e)}function o(t){return e.p.ix===t?o.position:e.s.ix===t?o.size:void 0}o.propertyIndex=e.ix;var r="tm"===t.sh.ty?t.sh.prop:t.sh;return r.s.setGroupProperty(a),r.p.setGroupProperty(a),Object.defineProperty(o,"size",{get:function(){return ExpressionValue(r.s)}}),Object.defineProperty(o,"position",{get:function(){return ExpressionValue(r.p)}}),Object.defineProperty(o,"_name",{get:function(){return e.nm}}),o.mn=e.mn,o}}(),b=function(){return function(e,t,n){function a(e){return 1==e?o:n(--e)}function o(t){return e.p.ix===t?o.position:e.r.ix===t?o.rotation:e.pt.ix===t?o.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?o.outerRadius:e.os.ix===t?o.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?o.innerRoundness:void 0:o.innerRadius}var r="tm"===t.sh.ty?t.sh.prop:t.sh;return o.propertyIndex=e.ix,r.or.setGroupProperty(a),r.os.setGroupProperty(a),r.pt.setGroupProperty(a),r.p.setGroupProperty(a),r.r.setGroupProperty(a),e.ir&&(r.ir.setGroupProperty(a),r.is.setGroupProperty(a)),Object.defineProperty(o,"position",{get:function(){return ExpressionValue(r.p)}}),Object.defineProperty(o,"rotation",{get:function(){return ExpressionValue(r.r,1/r.r.mult)}}),Object.defineProperty(o,"points",{get:function(){return ExpressionValue(r.pt)}}),Object.defineProperty(o,"outerRadius",{get:function(){return ExpressionValue(r.or)}}),Object.defineProperty(o,"outerRoundness",{get:function(){return ExpressionValue(r.os)}}),Object.defineProperty(o,"innerRadius",{get:function(){return r.ir?ExpressionValue(r.ir):0}}),Object.defineProperty(o,"innerRoundness",{get:function(){return r.is?ExpressionValue(r.is,1/r.is.mult):0}}),Object.defineProperty(o,"_name",{get:function(){return e.nm}}),o.mn=e.mn,o}}(),S=function(){return function(e,t,n){function a(e){return 1==e?o:n(--e)}function o(t){return e.p.ix===t?o.position:e.r.ix===t?o.rotation:e.pt.ix===t?o.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?o.outerRadius:e.os.ix===t?o.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?o.innerRoundness:void 0:o.innerRadius}var r="tm"===t.sh.ty?t.sh.prop:t.sh;return o.propertyIndex=e.ix,r.p.setGroupProperty(a),r.s.setGroupProperty(a),r.r.setGroupProperty(a),Object.defineProperty(o,"position",{get:function(){return ExpressionValue(r.p)}}),Object.defineProperty(o,"roundness",{get:function(){return ExpressionValue(r.r)}}),Object.defineProperty(o,"size",{get:function(){return ExpressionValue(r.s)}}),Object.defineProperty(o,"_name",{get:function(){return e.nm}}),o.mn=e.mn,o}}(),I=function(){return function(e,t,n){function a(e){return 1==e?o:n(--e)}function o(t){if(e.r.ix===t||"Round Corners 1"===t)return o.radius}var r=t;return o.propertyIndex=e.ix,r.rd.setGroupProperty(a),Object.defineProperty(o,"radius",{get:function(){return ExpressionValue(r.rd)}}),Object.defineProperty(o,"_name",{get:function(){return e.nm}}),o.mn=e.mn,o}}(),T=function(){return function(e,t,n){function a(e){if("Shape"===e||"shape"===e||"Path"===e||"path"===e)return a.path}var o="tm"===t.sh.ty?t.sh.prop:t.sh;return o.setGroupProperty(n),Object.defineProperty(a,"path",{get:function(){return o.k&&o.getValue(),shape_helper.clone(o.v)}}),Object.defineProperty(a,"shape",{get:function(){return o.k&&o.getValue(),shape_helper.clone(o.v)}}),Object.defineProperty(a,"_name",{value:e.nm}),Object.defineProperty(a,"mn",{value:e.mn}),a}}();return d}(),TextExpressionInterface=function(){return function(e){function t(){}return Object.defineProperty(t,"sourceText",{get:function(){return e.currentTextDocumentData.t?e.currentTextDocumentData.t:""}}),t}}(),LayerExpressionInterface=function(){function e(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var n,a=this._elem.hierarchy.length;for(n=0;n<a;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t);return t.applyToPointArray(e[0],e[1],e[2]||0)}return t.applyToPointArray(e[0],e[1],e[2]||0)}return function(t){function n(e){o.mask=e.getMask.bind(e)}function a(e){o.effect=e}function o(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return o.shapeInterface;case 1:case"Transform":case"transform":case"ADBE Transform Group":return r;case 4:case"ADBE Effect Parade":return o.effect}}var r=TransformExpressionInterface(t.transform);return o.toWorld=e,o.toComp=e,o._elem=t,Object.defineProperty(o,"hasParent",{get:function(){return!!t.hierarchy}}),Object.defineProperty(o,"parent",{get:function(){return t.hierarchy[0].layerInterface}}),Object.defineProperty(o,"rotation",{get:function(){return r.rotation}}),Object.defineProperty(o,"scale",{get:function(){return r.scale}}),Object.defineProperty(o,"position",{get:function(){return r.position}}),Object.defineProperty(o,"anchorPoint",{get:function(){return r.anchorPoint}}),Object.defineProperty(o,"transform",{get:function(){return r}}),Object.defineProperty(o,"width",{get:function(){return 0===t.data.ty?t.data.w:100}}),Object.defineProperty(o,"height",{get:function(){return 0===t.data.ty?t.data.h:100}}),Object.defineProperty(o,"source",{get:function(){return t.data.refId}}),Object.defineProperty(o,"_name",{value:t.data.nm}),Object.defineProperty(o,"content",{get:function(){return o.shapeInterface}}),Object.defineProperty(o,"active",{get:function(){return t.isVisible}}),Object.defineProperty(o,"text",{get:function(){return o.textInterface}}),o.registerMaskInterface=n,o.registerEffectsInterface=a,o}}(),CompExpressionInterface=function(){return function(e){function t(t){for(var n=0,a=e.layers.length;n<a;){if(e.layers[n].nm===t||e.layers[n].ind===t)return e.elements[n].layerInterface;n+=1}return{active:!1}}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.globalData.compSize.h,t.width=e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t}}(),TransformExpressionInterface=function(){return function(e){function t(n){switch(n){case"scale":case"Scale":case"ADBE Scale":return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":return t.rotation;case"position":case"Position":case"ADBE Position":return e.position;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":return t.anchorPoint;case"opacity":case"Opacity":return t.opacity}}return Object.defineProperty(t,"rotation",{get:function(){return e.rotation}}),Object.defineProperty(t,"scale",{get:function(){return e.scale}}),Object.defineProperty(t,"position",{get:function(){return e.position}}),Object.defineProperty(t,"xPosition",{get:function(){return e.xPosition}}),Object.defineProperty(t,"yPosition",{get:function(){return e.yPosition}}),Object.defineProperty(t,"anchorPoint",{get:function(){return e.anchorPoint}}),Object.defineProperty(t,"opacity",{get:function(){return e.opacity}}),Object.defineProperty(t,"skew",{get:function(){return e.skew}}),Object.defineProperty(t,"skewAxis",{get:function(){return e.skewAxis}}),t}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,n=this.compositions.length;t<n;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),EffectsExpressionInterface=function(){function e(e,n){if(e.effects){var a,o=[],r=e.data.ef,i=e.effects.effectElements.length;for(a=0;a<i;a+=1)o.push(t(r[a],e.effects.effectElements[a],n,e));return function(t){for(var n=e.data.ef,a=0,r=n.length;a<r;){if(t===n[a].nm||t===n[a].mn||t===n[a].ix)return o[a];a+=1}}}}function t(e,a,o,r){var i,s=[],l=e.ef.length;for(i=0;i<l;i+=1)5===e.ef[i].ty?s.push(t(e.ef[i],a.effectElements[i],o,r)):s.push(n(a.effectElements[i],e.ef[i].ty,r));var u=function(t){for(var n=e.ef,a=0,o=n.length;a<o;){if(t===n[a].nm||t===n[a].mn||t===n[a].ix)return 5===n[a].ty?s[a]:s[a]();a+=1}return s[0]()};return u.active=0!==e.en,u}function n(e,t,n){return function(){return 10===t?n.comp.compInterface(e.p.v):ExpressionValue(e.p)}}return{createEffectsInterface:e}}(),ExpressionValue=function(){return function(e,t,n){var a;e.k&&e.getValue();var o,r,i;if(n){if("color"===n){for(r=4,a=Array.apply(null,{length:r}),i=Array.apply(null,{length:r}),o=0;o<r;o+=1)a[o]=i[o]=t&&o<3?e.v[o]*t:1;a.value=i}}else if("number"==typeof e.v||e.v instanceof Number)a=t?new Number(e.v*t):new Number(e.v),a.value=t?e.v*t:e.v;else{for(r=e.v.length,a=Array.apply(null,{length:r}),i=Array.apply(null,{length:r}),o=0;o<r;o+=1)a[o]=i[o]=t?e.v[o]*t:e.v[o];a.value=i}return a.numKeys=e.keyframes?e.keyframes.length:0,a.key=function(t){return a.numKeys?e.keyframes[t-1].t:0},a.valueAtTime=e.getValueAtTime,a.propertyGroup=e.propertyGroup,a}}();GroupEffect.prototype.getValue=function(){this.mdf=!1;var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.mdf=!!this.dynamicProperties[e].mdf||this.mdf},GroupEffect.prototype.init=function(e,t,n){this.data=e,this.mdf=!1,this.effectElements=[];var a,o,r=this.data.ef.length,i=this.data.ef;for(a=0;a<r;a+=1)switch(i[a].ty){case 0:o=new SliderEffect(i[a],t,n),this.effectElements.push(o);break;case 1:o=new AngleEffect(i[a],t,n),this.effectElements.push(o);break;case 2:o=new ColorEffect(i[a],t,n),this.effectElements.push(o);break;case 3:o=new PointEffect(i[a],t,n),this.effectElements.push(o);break;case 4:case 7:o=new CheckboxEffect(i[a],t,n),this.effectElements.push(o);break;case 10:o=new LayerIndexEffect(i[a],t,n),this.effectElements.push(o);break;case 11:o=new MaskIndexEffect(i[a],t,n),this.effectElements.push(o);break;case 5:o=new EffectsManager(i[a],t,n),this.effectElements.push(o);break;case 6:o=new NoValueEffect(i[a],t,n),this.effectElements.push(o)}};var bodymovinjs={};bodymovinjs.play=play,bodymovinjs.pause=pause,bodymovinjs.togglePause=togglePause,bodymovinjs.setSpeed=setSpeed,bodymovinjs.setDirection=setDirection,bodymovinjs.stop=stop,bodymovinjs.moveFrame=moveFrame,bodymovinjs.searchAnimations=searchAnimations,bodymovinjs.registerAnimation=registerAnimation,bodymovinjs.loadAnimation=loadAnimation,bodymovinjs.setSubframeRendering=setSubframeRendering,bodymovinjs.resize=resize,bodymovinjs.start=start,bodymovinjs.goToAndStop=goToAndStop,bodymovinjs.destroy=destroy,bodymovinjs.setQuality=setQuality,bodymovinjs.installPlugin=installPlugin,bodymovinjs.__getFactory=getFactory,bodymovinjs.version="4.6.1";var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index],queryString=myScript.src.replace(/^[^\?]+\??/,"");renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);return bodymovinjs})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports={containerDefault:"containerDefault-7RImuF",containerDragAfter:"containerDragAfter-3rB7mB",containerDragBefore:"containerDragBefore-12YyA9",containerUserOver:"containerUserOver-2YhVL6",iconSpacing:"iconSpacing-5GIHkT"}},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n.p+"8b47456a037cc496c55ae8f871274018.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNTAiIGZpbGw9IiNGRkYiLz4KICAgIDxwYXRoIGZpbGw9IiM5OUFBQjUiIGQ9Ik01MCAyNWwyNiA0OUgyNGwyNi00OXptMC02TDE4IDc3aDY0TDUwIDE5eiIvPgogICAgPHBhdGggZmlsbD0iI0ZBQTYxQSIgZD0iTTUwIDQzYy0xLjEgMC0yIC45NDU3Nzc4LTIgMi4xMTExMTExdjE0Ljc3Nzc3NzhDNDggNjEuMDU0MjIyMiA0OC45IDYyIDUwIDYyYzEuMTA0IDAgMi0uOTQ1Nzc3OCAyLTIuMTExMTExMVY0NS4xMTExMTExQzUyIDQzLjk0NTc3NzggNTEuMTA0IDQzIDUwIDQzem0tMiAyM2MwIDEuMTA0NTY5NS44ODc3Mjk2IDIgMiAyIDEuMTA0NTY5NSAwIDItLjg4NzcyOTYgMi0yIDAtMS4xMDQ1Njk1LS44ODc3Mjk2LTItMi0yLTEuMTA0NTY5NSAwLTIgLjg4NzcyOTYtMiAyeiIvPgogIDwvZz4KPC9zdmc+"},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0,t.AppTransition=t.App=t.AppOverlay=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(2),f=a(u),c=n(291),d=n(5),p=a(d),h=n(254),g=n(479),m=a(g),v=n(6),E=a(v),y=n(13),_=a(y),b=n(518),S=a(b),I=n(18),T=a(I),N=n(1275),A=a(N),M=n(1475),C=a(M),O=n(1309),D=a(O),L=n(1310),R=a(L),x=n(1334),w=a(x),P=n(1301),k=a(P),U=n(1336),G=a(U),j=n(1300),F=a(j),B=n(1286),V=a(B),H=n(64),z=a(H),W=n(73),Y=a(W),K=i("div",{id:"overlay-wrapper"},void 0,i(C.default,{}),i(w.default,{}),i(R.default,{})),Q=(t.AppOverlay=(0,h.DragDropContext)(m.default)(l.default.createClass({displayName:"AppOverlay",render:function(){return K}})),i("div",{className:"titlebar"},void 0,i("div",{className:"titlebar-edge"}),i(k.default,{}))),Z=i(D.default,{}),X=i(w.default,{}),J=i(G.default,{}),q=i(F.default,{}),$=i(z.default,{}),ee=i(V.default,{}),te=i(A.default,{}),ne=(t.App=(0,h.DragDropContext)(m.default)(l.default.createClass({displayName:"App",mixins:[f.default.StoreListenerMixin(S.default,_.default),E.default],getStateFromStores:function(){return{locale:_.default.locale,theme:_.default.theme,fontScale:S.default.fontScale,fontScaleClass:S.default.fontScaleClass}},componentWillMount:function(){T.default.setZoomFactor(S.default.zoom)},render:function(){var e=this.state,t=e.theme,n=e.locale,a=e.fontScale,o=e.fontScaleClass;return i("div",{className:(0,p.default)(o,{"platform-win":T.default.isWindows(),"platform-osx":T.default.isOSX(),"platform-linux":T.default.isLinux()})},n,i(c.Helmet,{},void 0,i("html",{lang:n,style:"font-size: "+a+"%"})),Q,l.default.cloneElement(this.props.children,{theme:t}),Z,X,J,i(R.default,{theme:t}),q,$,ee,te)}})),function(e){var t=e.children,n=o(e,["children"]),a=l.default.Children.only(t),s=a.type.displayName,u=l.default.cloneElement(a,r({},n,{key:s}));return i(Y.default,{component:"div"},void 0,u)});t.AppTransition=ne},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(){g.default.enabled?M.start():M.stop()}function l(e){if((0,I.default)(e.stream,N))return!1;N=e.stream}t.__esModule=!0;var u=n(2),f=a(u),c=n(4),d=a(c),p=n(1),h=n(31),g=a(h),m=n(210),v=a(m),E=n(308),y=a(E),_=n(16),b=a(_),S=n(118),I=a(S),T=6e4,N=void 0,A=function(){function e(){i(this,e),this._started=!1}return e.prototype.start=function(){this._started||(this._started=!0,y.default.isFetching()?v.default.fetch():this._check())},e.prototype.stop=function(){this._started=!1,clearTimeout(this._nextCheck),d.default.dirtyDispatch({type:p.ActionTypes.STREAMING_UPDATE,stream:null})},e.prototype._check=function(){var e=this;if(this._started){var t=y.default.getAccounts();if(null!=t){clearTimeout(this._nextCheck);var n=t.filter(function(e){return"twitch"===e.type}).map(function(e){return e.name}).map(function(e){return b.default.get({url:"https://api.twitch.tv/kraken/streams/"+e,headers:{Accept:"application/vnd.twitchtv.v3+json","Client-ID":p.TWITCH_CLIENT_ID}})});Promise.all(n).then(function(t){if(e._started){var n=null,a=t.find(function(e){return 200===e.status&&null!=e.body.stream&&null!=e.body.stream.channel});if(null!=a){var o=a.body.stream.channel;n={url:o.url,name:o.status}}d.default.dispatch({type:p.ActionTypes.STREAMING_UPDATE,stream:n})}e._scheduleCheck()},function(){return e._scheduleCheck()})}}},e.prototype._scheduleCheck=function(){var e=this;this._started&&(this._nextCheck=setTimeout(function(){return e._check()},T))},e}(),M=new A,C=function(e){function t(){return i(this,t),o(this,e.apply(this,arguments))}return r(t,e),t.prototype.initialize=function(){s(),this.waitFor(y.default),this.syncWith([g.default],s)},t.prototype.getStream=function(){return N},t}(f.default.Store);t.default=new C(d.default,{STREAMING_UPDATE:l,USER_CONNECTIONS_UPDATE:function(e){return M._check()}}),e.exports=t.default},,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports={"voice-conversations":{popoutPosition:"top",highPriority:!0},"writing-messages":{popoutPosition:"top",prerequisites:["voice-conversations"],highPriority:!0},"organize-by-topic":{popoutPosition:"right"},"whos-online":{popoutPosition:"left",prerequisites:["instant-invite"]},"instant-invite":{popoutPosition:"right",prerequisites:["organize-by-topic"],highPriority:!0},"server-settings":{popoutPosition:"bottom",prerequisites:["instant-invite"]},"direct-messages":{popoutPosition:"right"},"create-more-servers":{popoutPosition:"right",prerequisites:["server-settings"]},"create-first-server":{popoutPosition:"right",highPriority:!0},"friends-list":{popoutPosition:"right",prerequisites:["instant-invite"]}}},function(e,t,n){function a(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./amsterdam.png":3119,"./brazil.png":3120,"./eu-central.png":3121,"./eu-west.png":3122,"./frankfurt.png":3123,"./hongkong.png":3124,"./london.png":3125,"./russia.png":3126,"./singapore.png":3127,"./sydney.png":3128,"./tokyo.png":3129,"./unknown.png":341,"./us-central.png":3130,"./us-east.png":3131,"./us-south.png":3132,"./us-west.png":3133};a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=705},,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){l.default.dispatch({type:u.ActionTypes.ACCESSIBILITY_FONT_SCALE_TO,fontScale:e})}function r(e){l.default.dispatch({type:u.ActionTypes.ACCESSIBILITY_ZOOM_TO,zoom:e})}function i(){l.default.dispatch({type:u.ActionTypes.ACCESSIBILITY_RESET_TO_DEFAULT})}t.__esModule=!0,t.fontScaleTo=o,t.zoomTo=r,t.resetToDefault=i;var s=n(4),l=a(s),u=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={showChangeLog:function(){r.default.dispatch({type:i.ActionTypes.CHANGE_LOG_OPEN})},hideChangeLog:function(){r.default.dispatch({type:i.ActionTypes.CHANGE_LOG_CLOSE})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={toggleSection:function(e){r.default.dispatch({type:i.ActionTypes.CHANNEL_TOGGLE_SECTION,section:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={open:function(){r.default.dispatch({type:i.ActionTypes.EMAIL_VERIFICATION_MODAL_OPEN})},close:function(){r.default.dispatch({type:i.ActionTypes.EMAIL_VERIFICATION_MODAL_CLOSE})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(16),s=a(i),l=n(1);t.default={setDiversityColor:function(e){r.default.dispatch({type:l.ActionTypes.EMOJI_DIVERSITY_COLOR_CHANGE,color:e})},fetchEmoji:function(e){r.default.maybeDispatch({type:l.ActionTypes.EMOJI_FETCH,guildId:e}),s.default.get({url:l.Endpoints.GUILD_EMOJIS(e)}).then(function(t){return r.default.dispatch({type:l.ActionTypes.EMOJI_FETCH_SUCCESS,guildId:e,emojis:t.body})},function(){return r.default.dispatch({type:l.ActionTypes.EMOJI_FETCH_FAILURE,guildId:e})})},uploadEmoji:function(e,t,n){r.default.dispatch({type:l.ActionTypes.EMOJI_UPLOAD_START,guildId:e}),s.default.post({url:l.Endpoints.GUILD_EMOJIS(e),body:{image:t,name:n}}).then(function(){return r.default.dispatch({type:l.ActionTypes.EMOJI_UPLOAD_STOP,guildId:e})},function(){return r.default.dispatch({type:l.ActionTypes.EMOJI_UPLOAD_STOP,guildId:e})})},deleteEmoji:function(e,t){r.default.dispatch({type:l.ActionTypes.EMOJI_DELETE,guildId:e,emojiId:t}),s.default.delete({url:l.Endpoints.GUILD_EMOJI(e,t)})},updateEmoji:function(e,t,n){s.default.patch({url:l.Endpoints.GUILD_EMOJI(e,t),body:{name:n}})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={fetch:function(){l.default.get(i.Endpoints.FRIEND_SUGGESTIONS).then(function(e){return r.default.dispatch({type:i.ActionTypes.LOAD_FRIEND_SUGGESTIONS_SUCCESS,suggestions:e.body})},function(){return r.default.dispatch({type:i.ActionTypes.LOAD_FRIEND_SUGGESTIONS_FAILURE})})},ignore:function(e){l.default.delete(i.Endpoints.FRIEND_SUGGESTIONS+"/"+e)}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={addGame:function(e){r.default.dispatch({type:i.ActionTypes.RUNNING_GAME_ADD_OVERRIDE,pid:e})},toggleOverlay:function(e){r.default.dirtyDispatch({type:i.ActionTypes.RUNNING_GAME_TOGGLE_OVERLAY,game:e})},editName:function(e,t){r.default.dispatch({type:i.ActionTypes.RUNNING_GAME_EDIT_NAME,game:e,newName:t})},setRunningGame:function(e){l.default.post({url:i.Endpoints.USER_GAMES_START,body:{name:e},retries:3})},deleteEntry:function(e){r.default.dispatch({type:i.ActionTypes.RUNNING_GAME_DELETE_ENTRY,game:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={addKeybind:function(){r.default.dispatch({type:i.ActionTypes.KEYBINDS_ADD_KEYBIND})},setKeybind:function(e){r.default.dispatch({type:i.ActionTypes.KEYBINDS_SET_KEYBIND,keybind:e})},deleteKeybind:function(e){r.default.dispatch({type:i.ActionTypes.KEYBINDS_DELETE_KEYBIND,id:e})},enableAll:function(e){r.default.dirtyDispatch({type:i.ActionTypes.KEYBINDS_ENABLE_ALL_KEYBINDS,enable:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={show:function(e,t,n,a,o){r.default.dispatch({type:i.ActionTypes.NOTICE_SHOW,notice:{id:o,type:e,message:t,buttonText:n,callback:a}})},dismiss:function(e){r.default.dispatch({type:i.ActionTypes.NOTICE_DISMISS,id:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={selectParticipant:function(e){r.default.dispatch({type:i.ActionTypes.PRIVATE_CHANNEL_CALL_SELECT_PARTICIPANT,participantId:e})},updateLayout:function(e,t){r.default.dispatch({type:i.ActionTypes.PRIVATE_CHANNEL_CALL_UPDATE_LAYOUT,channelId:e,layout:t})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={open:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7;r.default.dispatch({type:i.ActionTypes.PRUNE_GUILD_MODAL_OPEN,guildId:e,days:t,estimate:0}),l.default.get({url:i.Endpoints.GUILD_PRUNE(e),query:{days:t}}).then(function(n){r.default.dispatch({type:i.ActionTypes.PRUNE_GUILD_MODAL_OPEN,guildId:e,days:t,estimate:n.body.pruned})},function(){r.default.dispatch({type:i.ActionTypes.PRUNE_GUILD_MODAL_OPEN,guildId:e,days:t,estimate:0})})},close:function(){r.default.dispatch({type:i.ActionTypes.PRUNE_GUILD_MODAL_CLOSE})},prune:function(e,t){l.default.post({url:i.Endpoints.GUILD_PRUNE(e),query:{days:t}}),this.close()}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={show:function(e,t){r.default.dirtyDispatch({type:i.ActionTypes.TUTORIAL_INDICATOR_SHOW,tutorialId:e,renderData:t})},hide:function(e){r.default.dirtyDispatch({type:i.ActionTypes.TUTORIAL_INDICATOR_HIDE,tutorialId:e})},dismiss:function(e){r.default.dispatch({type:i.ActionTypes.TUTORIAL_INDICATOR_DISMISS,tutorialId:e}),l.default.put(i.Endpoints.TUTORIAL_INDICATORS+"/"+e)},suppressAll:function(){r.default.dispatch({type:i.ActionTypes.TUTORIAL_INDICATOR_SUPPRESS_ALL}),l.default.post(i.Endpoints.TUTORIAL_INDICATORS+"/suppress")}},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var a={};a=n(1255),t.default=a,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={popFirstFile:function(){r.default.dispatch({type:i.ActionTypes.UPLOAD_MODAL_POP_FILE})},pushFiles:function(e){var t=e.files,n=e.channelId;r.default.dispatch({type:i.ActionTypes.UPLOAD_MODAL_PUSH_FILES,files:t,channelId:n})},clearAll:function(){r.default.dispatch({type:i.ActionTypes.UPLOAD_MODAL_CLEAR_ALL_FILES})}},e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=o(i),l=n(5),u=o(l),f=n(217),c=o(f),d=n(3),p=o(d),h=n(167),g=o(h);n(2149);var m="input",v=s.default.createClass({displayName:"AutocompletePopout",getDefaultProps:function(){return{sections:[null]}},getInitialState:function(){return this.createState()},componentWillReceiveProps:function(){this.setState(this.createState(this.state.prefix))},createState:function(){for(var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=new RegExp("^"+g.default.escape(t.trim()),"i"),a=function(e){return n.test(e)},o=this.props.sections.map(function(t,n){return e.props.onFilterResults(a,n)}),r=0;r<o.length&&!(o[r].length>0);r++);return{prefix:t,selectedSection:r,selectedRow:0,rows:o}},componentDidMount:function(){a.nextTick(this.focus)},handleChange:function(e){var t=e.target.value;this.props.onQueryChange&&this.props.onQueryChange(t),this.setState(this.createState(t))},handleMouseEnter:function(e,t){this.setState({selectedSection:e,selectedRow:t})},handleClick:function(e,t){this.props.onSelect(this.state.rows[e][t],e),this.props.onClose()},handleKeyDown:function(e){var t=this.state,n=t.selectedSection,a=t.selectedRow;switch(e.keyCode){case 9:case 40:e.preventDefault(),this.props.sections.length>n&&++a>=this.state.rows[n].length&&(++n>=this.props.sections.length&&(n=0),a=0),this.setState({selectedSection:n,selectedRow:a});break;case 38:e.preventDefault(),--a<0&&(--n<0&&(n=this.props.sections.length-1),a=this.state.rows[n].length-1),this.setState({selectedSection:n,selectedRow:a});break;case 13:e.preventDefault(),this.props.sections.length>n&&this.state.rows[n].length>a&&(this.props.onSelect(this.state.rows[n][a],n),this.props.onClose());break;case 27:e.preventDefault(),this.props.onSelect(null,null),this.props.onClose()}},render:function(){var e=this,t=[];if(0===this.state.rows.reduce(function(e,t){return e+t.length},0))t.push(r("div",{className:"empty"},"empty",r("h4",{},void 0,p.default.Messages.AUTOCOMPLETE_NO_RESULTS_HEADER),r("p",{},void 0,p.default.Messages.AUTOCOMPLETE_NO_RESULTS_BODY)));else{var n=this.state,a=n.selectedSection,o=n.selectedRow;this.props.sections.forEach(function(n,i){var s=e.state.rows[i];0!==s.length&&(t.push(r("div",{className:"section"},i,n)),s.forEach(function(n,s){t.push(r("div",{onClick:e.handleClick.bind(e,i,s),onMouseEnter:e.handleMouseEnter.bind(e,i,s),className:(0,u.default)("row",{selected:a===i&&o===s})},i+"-"+s,r("a",{},void 0,e.props.onRenderResult(n,i))))}))})}return r("div",{id:"autocomplete-popout",className:this.props.className},void 0,r("header",{},void 0,r("h3",{},void 0,this.props.label),s.default.createElement("input",{type:"text",placeholder:this.props.placeholder,ref:m,onChange:this.handleChange,onKeyDown:this.handleKeyDown})),r("section",{},void 0,r(c.default,{fade:!0,theme:f.Themes.LIGHT,elementHeight:44},void 0,t)))},focus:function(){this.isMounted()&&this.refs[m].focus()}});t.default=v,e.exports=t.default}).call(t,n(45))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(2),f=a(u),c=n(33),d=a(c),p=n(181),h=n(104),g=a(h),m=n(212),v=a(m),E=n(3),y=a(E);n(418);var _=i.default.createClass({displayName:"ChannelMuteButton",mixins:[f.default.StoreListenerMixin(g.default)],getDefaultProps:function(){return{legacy:!1}},getStateFromStores:function(){return{isMuted:g.default.isChannelMuted(this.props.channel.getGuildId(),this.props.channel.id)}},componentWillReceiveProps:function(e){this.setState({isMuted:g.default.isChannelMuted(e.channel.getGuildId(),e.channel.id)})},handleClick:function(){v.default.updateChannelOverrideSettings(this.props.channel.getGuildId(),this.props.channel.id,{muted:!this.state.isMuted})},render:function(){if(this.props.legacy)return o(d.default,{text:y.default.Messages.CHANNEL_MUTE_TOOLTIP,position:d.default.BOTTOM},void 0,o("span",{className:(0,l.default)("channel-mute-button",{muted:this.state.isMuted}),onClick:this.handleClick}));var e=void 0,t=void 0;return this.state.isMuted?(e=n(3e3),t=n(3033)):(e=n(2999),t=n(3032)),o(p.HeaderToolbarButton,{onClick:this.handleClick,tooltip:y.default.Messages.CHANNEL_MUTE_TOOLTIP,iconLight:e,iconDark:t})}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(504),f=a(u);n(2155);var c=i.default.createClass({displayName:"ChannelTextAreaGuard",mixins:[l.default],render:function(){var e=this.props,t=e.message,n=e.countdown,a=e.buttonText,r=e.onButtonClick;return null!=t?o("div",{className:"channel-textarea-guard"},void 0,o("div",{},void 0,t),null!=a?o("button",{type:"button",onClick:r},void 0,a):null,null!=n?o(f.default,{deadline:n}):null):i.default.Children.only(this.props.children)}});t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(741),f=a(u),c=n(451),d=a(c),p=n(229),h=a(p),g=n(8),m=a(g),v=n(5),E=a(v),y=n(123),_=n(743),b=a(_),S=n(147),I=a(S);n(2123);var T=/youtube|steam|imgur|vimeo|sketchfab|vine|soundcloud|streamable|twitch|vid\.me|twitter/i,N=1492472454139,A=i.default.createClass({displayName:"EmbedGIFV",mixins:[l.default],render:function(){var e=this.props,t=e.url,n=e.scale,a=e.thumbnail,r=e.video,i=e.trusted,s=a.width,l=a.height,u=n?512:s,f=n?384:l,c=1;s>u&&(c=u/s),s=Math.round(s*c),l=Math.round(l*c);var d=1;return l>f&&(d=f/l),s=Math.round(s*d),l=Math.round(l*d),o(b.default,{className:"embed-thumbnail embed-thumbnail-gifv",href:t,trusted:i},void 0,o("video",{width:s,height:l,poster:a.proxy_url,src:r.url,muted:!0,loop:!0,preload:"none",onMouseEnter:function(e){return e.currentTarget.play()},onMouseLeave:function(e){return e.currentTarget.pause()}}))}}),M=i.default.createClass({displayName:"EmbedVideo",mixins:[l.default],getInitialState:function(){return{play:!1}},getDefaultProps:function(){return{scale:!0,useVideoSizeWhenPlaying:!1,playable:!1}},handlePlay:function(){this.setState({play:!0})},componentWillMount:function(){this.messageListener=null},componentWillUnmount:function(){this.removeMessageListener()},removeMessageListener:function(){null!=this.messageListener&&(window.removeEventListener("message",this.messageListener),this.messageListener=null)},installMessageListener:function(e){var t=this;this.removeMessageListener();var n=this.messageListener=function(a){e(a)===!1&&n===t.messageListener&&t.removeMessageListener()};window.addEventListener("message",n)},handleRef:function(e,t){if("Vine"===this.props.provider){var n="ping::"+e;this.installMessageListener(function(e){if(t&&t.contentWindow===e.source&&"https://vine.co"===e.origin&&e.data===n)return e.source.postMessage("pong","*"),e.source.postMessage("fullyInView","*"),e.source.postMessage("play","*"),!1})}},render:function(){var e=this.props.thumbnail,t=e.width,n=e.height;this.state.play&&this.props.useVideoSizeWhenPlaying&&this.props.video.width&&this.props.video.height&&(t=this.props.video.width,n=this.props.video.height);var a=this.props.scale?400:t,r=this.props.scale?300:n,s=1;t>a&&(s=a/t),t=Math.round(t*s),n=Math.round(n*s);var l=1;if(n>r&&(l=r/n),t=Math.round(t*l),n=Math.round(n*l),this.state.play){var u=d.default.parse(this.props.video.url,!0);u.query.autoplay=1,u.query.auto_play=1,delete u.search;var c=d.default.format(u);return o("div",{className:"embed-thumbnail embed-thumbnail-video",style:{width:t,height:n}},void 0,i.default.createElement("iframe",{className:"image",ref:this.handleRef.bind(null,c),src:c,width:t,height:n,frameBorder:0,allowFullScreen:!0}))}var p=void 0;return this.props.playable&&(p=o("button",{className:"embed-video-play",type:"button",onClick:this.handlePlay})),o("div",{className:"embed-thumbnail embed-thumbnail-video",style:{width:t,height:n}},"embed-thumbnail",o(f.default,{src:this.props.thumbnail.proxy_url,href:this.props.thumbnail.url,width:this.props.thumbnail.width,height:this.props.thumbnail.height,maxWidth:a,maxHeight:r,resize:!0,lightbox:!1}),o("div",{className:"embed-video-actions"},void 0,o("div",{className:"embed-video-actions-inner"},void 0,p,o("a",{className:"embed-video-popout",href:this.props.url,target:"_blank",rel:"noreferrer"}))))}}),C=i.default.createClass({displayName:"EmbedWrapper",mixins:[l.default],render:function(){return o("div",{className:"embed-wrapper",style:{maxWidth:this.props.maxWidth}},void 0,o("div",{className:"embed-color-pill",style:this.props.color?{backgroundColor:(0,y.int2hex)(this.props.color)}:null}),o("div",{className:(0,E.default)("embed",this.props.className)},void 0,this.props.children))}}),O=i.default.createClass({displayName:"Embed",mixins:[l.default],getDefaultProps:function(){return{inlineMedia:!0,scale:!0}},isMaskedLinkTrusted:function(){return"rich"!==this.props.type},renderProvider:function(){var e=this.props,t=e.provider,n=e.url;if(t)return n=t.url||n,t=n?o(b.default,{className:"embed-provider",href:n,trusted:this.isMaskedLinkTrusted()},void 0,t.name):o("span",{className:"embed-provider"},void 0,t.name),o("div",{},void 0,t)},renderAuthor:function(){var e=this.props,t=e.author,n=e.url;if(t){var a=null;return t.proxy_icon_url&&(a=o(f.default,{className:"embed-author-icon",src:t.proxy_icon_url,width:20,height:20})),n=t.url||n,t=n?o(b.default,{className:"embed-author-name",href:n,trusted:this.isMaskedLinkTrusted()},void 0,t.name):o("span",{className:"embed-author-name"},void 0,t.name),o("div",{className:"embed-author"},void 0,a,t)}},renderFooter:function(){var e=null;if(this.props.timestamp&&(e=(0,m.default)(this.props.timestamp).format("ddd MMM Do, YYYY [at] h:mm A")),this.props.footer){var t=null;return this.props.footer.proxy_icon_url&&(t=o(f.default,{className:"embed-footer-icon",src:this.props.footer.proxy_icon_url,width:20,height:20})),o("div",{},void 0,t,o("span",{className:"embed-footer"},void 0,this.props.footer.text,e?" | ":null,e))}if(e)return o("span",{className:"embed-footer"},void 0,e)},renderTitle:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.props,n=t.title,a=t.url,r=t.channelId;if(null!=n)return n=e?h.default.parseEmbedTitle(n,!0,{channelId:r}):n,a?o("div",{},void 0,o(b.default,{className:"embed-title",href:a,trusted:this.isMaskedLinkTrusted()},void 0,n)):o("div",{className:"embed-title"},void 0,n)},renderDescription:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.props,n=t.description,a=t.channelId;if(n)return o("div",{className:(0,E.default)({"embed-description":!0,markup:e})},void 0,e?h.default.parseAllowLinks(n,!0,{channelId:a}):n)},renderFields:function(){var e=this.props,t=e.fields,n=e.channelId;if(t)return o("div",{className:"embed-fields"},void 0,t.map(function(e,t){var a=e.name,r=e.value,i=e.inline;return o("div",{className:(0,E.default)({"embed-field":!0,"embed-field-inline":i})},t,o("div",{className:"embed-field-name"},void 0,h.default.parseEmbedTitle(a,!0,{channelId:n})),o("div",{className:"embed-field-value markup"},void 0,h.default.parseAllowLinks(r,!0,{channelId:n})))}))},renderImage:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:400,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:250,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.thumbnail;if(a&&this.props.inlineMedia){var r=a.width,i=a.height;if(r>0&&i>0){var s=o(f.default,{src:a.proxy_url,href:a.url,width:r,height:i,maxWidth:t,maxHeight:n,resize:!0,lightbox:e});return e?o("a",{className:"embed-thumbnail embed-thumbnail-"+this.props.type,href:this.props.url},void 0,s):o(b.default,{className:"embed-thumbnail embed-thumbnail-"+this.props.type,href:this.props.url,trusted:this.isMaskedLinkTrusted()},void 0,s)}}},renderVideo:function(){var e=this.props,t=e.provider,n=e.message,a=e.thumbnail,r=e.video,i=e.inlineMedia,s=e.scale,l=e.url;if(a&&i){var u=a.width,f=a.height;if(u>0&&f>0){var c=r&&/^https:/i.test(r.url);null!=n&&I.default.extractTimestamp(n.id)<N&&(c=c&&t&&T.test(t.name));return o(M,{url:l,useVideoSizeWhenPlaying:t&&/soundcloud|twitch/i.test(t.name),provider:t&&t.name,thumbnail:a,video:r,playable:c,scale:s})}}},renderGIFV:function(){var e=this.props,t=e.thumbnail,n=e.video,a=e.inlineMedia,r=e.scale,i=e.url;if(t&&a&&n){var s=t.width,l=t.height;if(s>0&&l>0)return o(A,{url:i,thumbnail:t,video:n,scale:r,trusted:this.isMaskedLinkTrusted()})}},hasProvider:function(){return this.provider&&this.provider.name},hasAuthor:function(){return this.author&&this.author.name},isInline:function(){var e=this.props,t=e.provider,n=e.title;return null!=t&&/giphy|tenor|gfycat/i.test(t.name)||!this.hasAuthor()&&!n},getMaxWidth:function(){var e=this.props,t=e.image,n=e.thumbnail,a=e.video,o=e.type,r=n,i=null!=a?512:400;switch(o){case"changelog":return;case"rich":if(null!=n)return;r=t}return r&&r.width>=i?i+20:void 0},render:function(){var e=this.props,t=e.thumbnail,n=e.type,a=e.color,r=e.image,i=e.video,s=e.description;switch(n){case"rich":return o(C,{color:a,className:"embed-rich",maxWidth:this.getMaxWidth()},void 0,o("div",{className:"embed-content"},void 0,o("div",{className:"embed-content-inner"},void 0,this.renderProvider(),this.renderAuthor(),this.renderTitle(!0),this.renderDescription(!0),this.renderFields()),!i&&t&&t.width?o(f.default,{className:"embed-rich-thumb",src:t.proxy_url,width:t.width,height:t.height,maxWidth:80,maxHeight:80}):null),i?this.renderVideo():null,r?this.renderImage(!0,void 0,void 0,r):null,this.renderFooter());case"article":return o(C,{maxWidth:this.getMaxWidth()},void 0,this.renderProvider(),this.renderAuthor(),this.renderTitle(),this.renderDescription(),this.renderImage(!0));case"image":return this.isInline()?o("div",{className:"embed embed-inline"},void 0,this.renderImage(!0)):o(C,{maxWidth:this.getMaxWidth()},void 0,this.renderProvider(),this.renderAuthor(),this.renderTitle(),this.renderImage(!0));case"gifv":return this.isInline()?o("div",{className:"embed embed-inline"},void 0,this.renderGIFV()):o(C,{maxWidth:this.getMaxWidth()},void 0,this.renderProvider(),this.renderAuthor(),this.renderTitle(),this.renderGIFV());case"changelog":case"video":return o(C,{maxWidth:this.getMaxWidth()},void 0,this.renderProvider(),this.renderAuthor(),this.renderTitle(),this.renderVideo());case"tweet":return o(C,{className:"embed-tweet",maxWidth:this.getMaxWidth()},void 0,o("div",{className:"embed-inner"},void 0,this.renderTitle(),this.renderAuthor()),this.renderDescription(),null!=i?this.renderVideo():this.renderImage(!0));case"link":default:return s||t?o(C,{className:"embed-link"},void 0,o("div",{className:"embed-inner"},void 0,this.renderProvider(),this.renderAuthor(),this.renderTitle(),this.renderDescription()),this.renderImage(!1,75,75)):null}}});t.default=O,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.EmojiPicker=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(217),c=a(f),d=n(85),p=a(d),h=n(57),g=a(h),m=n(41),v=a(m),E=n(7),y=a(E),_=n(5),b=a(_),S=n(3),I=a(S),T=n(361),N=a(T),A=n(1366),M=a(A),C=n(140),O=a(C),D=n(2),L=a(D),R=n(481),x=a(R),w=n(189),P=a(w),k=n(12),U=a(k),G=n(35),j=a(G),F=n(165),B=a(F),V=n(19),H=a(V),z=n(11),W=a(z),Y=n(712),K=a(Y),Q=n(24),Z=a(Q),X=n(163),J=a(X),q=n(23),$=a(q),ee=n(29),te=a(ee),ne=n(193),ae=a(ne),oe=n(1);n(2190);var re=32,ie=x.default.convert.fromCodePoint("1f44c"),se=22,le=150,ue=20,fe=125,ce=s.default.createClass({displayName:"DiversityIcon",getDefaultProps:function(){return{delay:0,fade:!1}},getInitialState:function(){return{opacity:new Z.default.Value(this.props.fade?0:1)}},componentDidMount:function(){this.props.fade&&Z.default.timing(this.state.opacity,{delay:this.props.delay,toValue:1,duration:le}).start()},render:function(){var e=this,t=ae.default.getURL(ie+this.props.surrogate),n={opacity:this.state.opacity,backgroundImage:'url("'+t+'")'};return r(Z.default.div,{onClick:function(){return e.props.onClick(e.props.surrogate)},className:"item",style:n})}}),de=28,pe=s.default.createClass({displayName:"DiversitySelector",mixins:[u.default,L.default.StoreListenerMixin(P.default)],getInitialState:function(){return{isOpen:!1,height:new Z.default.Value(de)}},getStateFromStores:function(){return{diversitySurrogate:P.default.diversitySurrogate}},handleDiversityColorChange:function(e){K.default.setDiversityColor(e),this.close(null)},handleOpen:function(){Z.default.timing(this.state.height,{fromValue:de,toValue:180,duration:fe}).start(),this.setState({isOpen:!0}),document.addEventListener("click",this.close,!0),this.props.onOpen&&this.props.onOpen(!0)},componentWillUnmount:function(){document.removeEventListener("click",this.close,!0)},close:function(e){if(null!=e)for(var t=e.target,n=$.default.findDOMNode(this);null!=t;){if(t===n)return;t=t.parentNode}this.setState({isOpen:!1}),this.state.height.setValue(de),this.props.onOpen&&this.props.onOpen(!1)},render:function(){var e=this,t=this.state.diversitySurrogate;if(this.state.isOpen){var n=[""].concat(oe.DIVERSITY_SURROGATES);y.default.remove(n,function(e){return e===t}),n.unshift(t);var a=n.map(function(t,n){return r(ce,{fade:n>0,delay:n*ue,surrogate:t,onClick:e.handleDiversityColorChange},n)});return r("div",{className:"diversity-selector"},void 0,r(Z.default.div,{className:"popout",style:{height:this.state.height}},void 0,a))}var o=ae.default.getURL(ie+t);return r("div",{className:"diversity-selector"},void 0,r("div",{onClick:this.handleOpen,className:"item",style:{backgroundImage:'url("'+o+'")'}}))}}),he=t.EmojiPicker=s.default.createClass({displayName:"EmojiPicker",mixins:[u.default,L.default.StoreListenerMixin(P.default,j.default,H.default)],getStateFromStores:function(){return{diversitySurrogate:P.default.diversitySurrogate,selectedChannel:W.default.getChannel(H.default.getChannelId()),selectedGuildId:j.default.getGuildId()}},getInitialState:function(){return{premiumPromoOpen:!1,diversityPickerOpen:!1,metaData:this.computeMetaData(null),searchResults:null,currentSection:P.default.categories[0],selectedRow:-1,selectedColumn:-1,query:"",placeholder:I.default.Messages.SEARCH_FOR_EMOJI}},selectEmoji:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(null!=e&&ae.default.isEmojiDisabled(e,this.state.selectedChannel))return void this.setState({premiumPromoOpen:!0});this.props.onSelectEmoji&&this.props.onSelectEmoji(e),t?p.default.close(this.props.popoutKey):this.focusSearch()},clearNow:function(e){var t={query:"",placeholder:I.default.Messages.SEARCH_FOR_EMOJI,searchResults:null,metaData:this.computeMetaData(null),selectedRow:-1,selectedColumn:-1};""!==this.state.query&&(t.currentSection=P.default.categories[0]),this.focusSearch(),this.setState(t,e)},handleClear:function(){this.clearNow()},handleSelect:function(e,t,n){if(null===e&&null===t)return void this.selectEmoji(null);this.selectEmoji(this.state.metaData[e].items[t].emoji,!n.shiftKey)},handleSelectionChange:function(e,t){if(!(e<0||t<0)){var n=this.state.metaData[e].items[t],a=n.emoji,o=n.offsetTop;this.setState({selectedRow:e,selectedColumn:t,placeholder:a.allNamesString}),this.refs.scroller.scrollIntoViewRect(o,o+re,!1)}},handleQueryChange:function(e){if(""===e)return void this.clearNow();var t=e;":"===t[0]&&(t=t.slice(1));var n=P.default.search(this.props.channel,t);this.setState({query:e,searchResults:n,metaData:this.computeMetaData(n),selectedRow:-1,selectedColumn:-1,currentSection:null})},focusSearch:function(){this.refs.search.focus()},componentWillMount:function(){this.spriteSheetSize=[se*oe.EmojiSprites.NonDiversityPerRow+"px",se*Math.ceil(J.default.numNonDiversitySprites/oe.EmojiSprites.NonDiversityPerRow)+"px"].join(" "),this.diversitySpriteSheetSize=[se*oe.EmojiSprites.DiversityPerRow+"px",se*Math.ceil(J.default.numDiversitySprites/oe.EmojiSprites.DiversityPerRow)+"px"].join(" ")},componentDidMount:function(){te.default.track("Open Popout",{Type:"Emoji Picker"}),this.focusSearch()},onHoverEmoji:function(e,t,n){this.setState({selectedRow:t,selectedColumn:n,placeholder:e.allNamesString})},scrollNow:function(e){var t=this;this.clearNow(function(){t.refs.scroller.scrollTo(t.categoryOffsets[e],!0)})},getCurrentSection:function(){if(""!==this.state.query)return null;var e=.25,t=this.refs.scroller.getScrollerNode(),n=t.scrollTop+t.offsetHeight*e;if(0===t.scrollTop)return P.default.categories[0];var a=-1,o=null;return y.default.forEach(this.categoryOffsets,function(e,t){e<=n&&e>=a&&(a=e,o=t)}),o},handleScroll:function(){var e=this.getCurrentSection();e!=this.state.currentSection&&this.setState({currentSection:e})},computeMetaData:function(e){var t=this,n=P.default.categories.length,a=this.state&&this.state.selectedChannel,o=this.state&&this.state.selectedGuildId;null==a&&(a=W.default.getChannel(H.default.getChannelId())),null==o&&(o=j.default.getGuildId());var r=[],i=0,s=0,l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=[];y.default.forEach(e,function(e){ae.default.isEmojiFiltered(e,a)||(o.push({emoji:e,offsetTop:i*re,row:s,column:o.length}),o.length===n&&(r.push({category:t,items:o}),o=[],s+=1,i+=1))}),o.length>0&&(r.push({category:t,items:o}),s+=1,i+=1)};if(e)l(e);else{if(this.cachedMetaDataNoSearch)return this.cachedMetaDataNoSearch;this.categoryOffsets={},this.categories=[];var u=function(e,n,a){t.categoryOffsets[e]=i*re,t.categories.push({category:e,offsetTop:i*re,title:n}),i+=1,l(a,e)},f=P.default.getDisambiguatedEmojiContext(o);y.default.forEach(P.default.categories,function(e){if(e===oe.EMOJI_CATEGORY_CUSTOM){var t=0,n=f.getCustomEmoji(),a=y.default.groupBy(n,"guildId"),r=function(n){var o=a[n.id];null!=o&&0!==o.length&&u(0===t++?e:""+e+t,n.toString(),o)},i=U.default.getGuild(o);i&&r(i),y.default.each(B.default.getSortedGuilds(),function(e){var t=e.guild;t.id!==o&&r(t)})}else{var s=e===oe.EMOJI_CATEGORY_RECENT?f.getFrequentlyUsedEmojis():J.default.getByCategory(e);u(e,I.default.Messages["EMOJI_CATEGORY_"+e.toUpperCase()],s)}}),this.cachedMetaDataNoSearch=r}return r},handleDiversityPickerToggled:function(e){this.setState({diversityPickerOpen:e})},renderStickyHeader:function(){if(""!==this.state.query)return null;if(!this.refs.scroller)return r("div",{className:"sticky-header"},void 0,r("div",{className:"category"},void 0,this.categoryOffsets[P.default.categories[0]]));var e=this.refs.scroller.getScrollerNode(),t=e.scrollTop,n=t+re,a=-1,o=null;y.default.forEach(this.categories,function(e,n){var r=e.offsetTop;r<=t&&a<r&&(a=r,o=n)});var i=o+1;if(i<this.categories.length&&this.categories[i].offsetTop<n){return r("div",{className:"sticky-header",style:{marginTop:this.categories[i].offsetTop-n}},void 0,r("div",{className:"category"},void 0,this.categories[o].title),r("div",{className:"category"},void 0,this.categories[i].title))}return r("div",{className:"sticky-header"},void 0,r("div",{className:"category"},void 0,this.categories[o].title))},render:function(){var e=this,t=[],a=null,i=null;if(0===this.state.metaData.length)i=r(M.default,{message:I.default.Messages.NO_EMOJI_SEARCH_RESULTS});else{var l=""!==this.state.diversitySurrogate?x.default.convert.toCodePoint(this.state.diversitySurrogate):"";y.default.forEach(this.state.metaData,function(i){var u=i.category,f=i.items;if(u&&u!==a){a=u;var c=y.default.find(e.categories,function(e){return e.category===u}),d=c.title;t.push(r("div",{name:u,className:"category"},u,d))}var p=y.default.map(f,function(t){var a=t.emoji,i=t.row,u=t.column,f=null,c=i===e.state.selectedRow&&u===e.state.selectedColumn,d={key:a.name+"-"+i+"-"+u,className:(0,b.default)("emoji-item",{selected:c,disabled:ae.default.isEmojiDisabled(a,e.state.selectedChannel)}),onClick:function(t){return e.selectEmoji(a,!t.shiftKey)},onMouseOver:function(){return e.onHoverEmoji(a,i,u)}};if(!a.useSpriteSheet)return s.default.createElement("div",o({},d,{style:{backgroundImage:"url('"+a.url+"')"}}));if(a.hasDiversity){var p=-a.index%oe.EmojiSprites.DiversityPerRow*se,h=-Math.floor(a.index/oe.EmojiSprites.DiversityPerRow)*se;f={backgroundImage:"url('"+n(1222)("./spritesheet-"+l+".png")+"')",backgroundPosition:p+"px "+h+"px",backgroundSize:e.diversitySpriteSheetSize}}else{var g=-a.index%oe.EmojiSprites.NonDiversityPerRow*se,m=-Math.floor(a.index/oe.EmojiSprites.NonDiversityPerRow)*se;f={backgroundImage:"url('"+n(1175)+"')",backgroundPosition:g+"px "+m+"px",backgroundSize:e.spriteSheetSize}}return s.default.createElement("div",d,r("div",{className:"sprite-item",style:f}))});t.push(r("div",{className:"row"},t.length,p))}),i=s.default.createElement(c.default,{ref:"scroller",onScroll:this.handleScroll,elementHeight:re,fade:!0,theme:f.Themes.LIGHT,renderStickyHeader:function(){return e.renderStickyHeader()}},t)}var u=y.default.map(P.default.categories,function(t){var n,a=(n={},n[t]=!0,n.selected=null!=e.state.currentSection&&0===e.state.currentSection.indexOf(t),n);return r("div",{className:(0,b.default)("item",a),onClick:function(){return e.scrollNow(t)}},t)}),d=void 0;return this.state.premiumPromoOpen&&(d=r(ge,{onLearnMore:function(){return p.default.close(e.props.popoutKey)},onClose:function(){return e.setState({premiumPromoOpen:!1})}})),r("div",{className:"emoji-picker"},void 0,r("div",{className:(0,b.default)("dimmer",{visible:this.state.diversityPickerOpen})}),r("div",{className:"header"},void 0,s.default.createElement(N.default,{query:this.state.query,ref:"search",light:!0,placeholder:this.state.placeholder,gridResults:!0,selectedRow:this.state.selectedRow,selectedColumn:this.state.selectedColumn,sections:this.state.metaData.map(function(e){return e.items.length}),onClear:this.handleClear,onSelect:this.handleSelect,onSelectionChange:this.handleSelectionChange,onQueryChange:this.handleQueryChange}),r(pe,{onOpen:this.handleDiversityPickerToggled})),i,r("div",{className:"categories"},void 0,u),d)}}),ge=function(e){var t=e.onLearnMore;return r("div",{className:"premium-promo"},void 0,r("div",{className:"premium-promo-close",onClick:e.onClose},void 0,I.default.Messages.CLOSE),r("img",{className:"premium-promo-image",src:n(1184),width:124,height:96}),r("div",{className:"premium-promo-title"},void 0,I.default.Messages.PREMIUM_PROMO_TITLE),r("div",{className:"premium-promo-description"},void 0,I.default.Messages.PREMIUM_PROMO_DESCRIPTION),r("button",{className:"btn btn-primary",onClick:function(){g.default.open(oe.UserSettingsSections.PREMIUM),t()},type:"button"},void 0,I.default.Messages.LEARN_MORE))},me=s.default.createClass({displayName:"EmojiButton",mixins:[u.default],getInitialState:function(){return{hovered:!1,uniqueId:"emoji-picker-"+this.props.name}},componentWillMount:function(){this.spriteSheetSize=[se*oe.EmojiSprites.PickerPerRow+"px",se*Math.ceil(oe.EmojiSprites.PickerCount/oe.EmojiSprites.PickerPerRow)+"px"].join(" ")},renderEmojiPickerPopout:function(e){return s.default.createElement(he,o({},e,{onSelectEmoji:this.props.onSelectEmoji,channel:this.props.channel}))},onMouseOver:function(){this.onMouseEnter()},onMouseEnter:function(){if(!this.state.hovered&&!O.default.isOpen(this.state.uniqueId)){var e=Math.floor(Math.random()*oe.EmojiSprites.PickerCount);this.setState({hovered:!0,emojiIndex:e})}},onMouseLeave:function(){this.setState({hovered:!1})},render:function(){var e=this.state.emojiIndex,t=-e%oe.EmojiSprites.PickerPerRow*se,a=-Math.floor(e/oe.EmojiSprites.PickerPerRow)*se,o={backgroundImage:"url('"+n(1176)+"')",backgroundPosition:t+"px "+a+"px",backgroundSize:this.spriteSheetSize};return r(v.default,{closeOnScroll:!1,render:this.renderEmojiPickerPopout,position:v.default.TOP_RIGHT,zIndexBoost:1e3,shadow:!1,animationType:"none",uniqueId:this.state.uniqueId,subscribeTo:oe.ComponentActions.TOGGLE_EMOJI_POPOUT},void 0,r("div",{className:(0,b.default)("channel-textarea-emoji",{hovered:this.state.hovered}),onMouseEnter:this.onMouseEnter,onMouseOver:this.onMouseOver,onMouseLeave:this.onMouseLeave},void 0,r("div",{className:"sprite-item",style:o})))}});t.default=me},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0);a(r);n(2191);var i=function(e){return o("div",{className:"empty-message"},void 0,e.children)};t.default=i,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(3),l=a(s),u=n(103),f=a(u),c=n(182),d=a(c);n(2203);var p=.7,h=250,g=function(e){var t=e.invite,n=new f.default(t.guild);return o("div",{className:"invite-header guild"},void 0,o("h1",{className:"title"},void 0,l.default.Messages.INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_JOIN),o("h2",{},void 0,o(d.default,{guild:n,className:"invite-guild-icon"}),o("div",{},void 0,n.name)))},m=function(e){var t=e.invite,n=new f.default(t.guild),a=o(d.default,{guild:n,size:"xsmall",className:"invite-guild-icon",textScale:p});return o("div",{className:"invite-header full"},void 0,o("h1",{className:"title"},void 0,l.default.Messages.INSTANT_INVITE_YOU_HAVE_BEEN_INVITED_TO_JOIN),o("p",{},void 0,l.default.Messages.INSTANT_INVITE_GUILD_BY_USER.format({username:t.inviter.username,guild:t.guild.name,guildNameHook:function(e,t){return o("span",{className:"guild-wrap"},t,e,a)}})))},v=function(e){var t=e.invite;return null==t.inviter||t.approximate_member_count>h?i.default.createElement(g,e):i.default.createElement(m,e)};t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(94),c=n(5),d=a(c),p=n(2),h=a(p),g=n(215),m=a(g),v=n(60),E=a(v),y=n(139),_=a(y),b=n(101),S=a(b),I=n(14),T=a(I),N=n(17),A=a(N),M=n(433),C=a(M),O=n(3),D=a(O),L=n(42),R=a(L),x=n(1),w=n(386),P=n(16),k=a(P),U=n(4),G=a(U),j="code",F=s.default.createClass({displayName:"Login",mixins:[u.default,h.default.StoreListenerMixin(A.default)],getStateFromStores:function(){return{loginStatus:A.default.getLoginStatus(),mfaTicket:A.default.getMFATicket(),errors:A.default.getErrors(),authenticated:A.default.isAuthenticated()}},componentDidMount:function(){S.default.fingerprint("Login"),this.loginOrSSO()},componentDidUpdate:function(){this.loginOrSSO()},loginOrSSO:function(){var e=this;this.state.authenticated&&k.default.get({url:x.Endpoints.ME}).then(function(){var t=e.props.location.query;if(t.redirect_to&&(0,w.isSafeRedirect)(t.redirect_to))window.location=t.redirect_to;else if(null==t.service)R.default.transitionTo(x.Routes.ME);else{var n=location.protocol+"//canary.discordapp.com/api"+x.Endpoints.SSO;window.location=n+"?token="+A.default.getToken()+"&"+C.default.stringify(t)}},function(){G.default.dispatch({type:x.ActionTypes.LOGOUT})})},handleSubmit:function(e){e.preventDefault(),S.default.login(this.refs.email.value,this.refs.password.value)},handleTokenSubmit:function(e){e.preventDefault(),this.setState({loggingInViaMFA:!0}),S.default.loginMFA(this.refs[j].value,this.state.mfaTicket)},handleForgotPassword:function(){var e=this.refs.email.value;S.default.forgotPassword(e,function(){T.default.push(function(t){return s.default.createElement(E.default,o({header:D.default.Messages.EMAIL_VERIFICATION_INSTRUCTIONS_HEADER,confirmText:D.default.Messages.OKAY,red:!1},t),r("p",{},void 0,D.default.Messages.EMAIL_VERIFICATION_INSTRUCTIONS_BODY.format({email:e})))})})},render:function(){var e=this.state,t=e.errors,n=e.loginStatus,a=function(e){return null!=t[e]},o=function(e){return a(e)?r("span",{className:"error"},void 0,"(",t[e],")"):null},i=void 0,l=void 0,u=this.props.invite;if(null!=u){var c=u.channel.type===x.ChannelTypes.GUILD_TEXT?"#"+u.channel.name:u.channel.name,p=u.guild.name;i=r("h1",{},void 0,D.default.Messages.LOGIN_TITLE,r("p",{},void 0,D.default.Messages.INSTANT_INVITE_RESOLVED_BODY.format({channelName:c,serverName:p}))),l={pathname:x.Routes.INVITE(u.code),query:{mode:"register"}}}else i=r("h1",{},void 0,D.default.Messages.LOGIN_TITLE),l={pathname:x.Routes.REGISTER,query:this.props.location.query};return this.state.mfaTicket||this.state.loggingInViaMFA?r(m.default,{onSubmit:this.handleTokenSubmit,invite:u},void 0,i,r("div",{className:(0,d.default)({"control-group":!0,error:a(j)})},void 0,r("label",{htmlFor:"mfa-code"},void 0,D.default.Messages.TWO_FA_ENTER_TOKEN_LABEL," ",o(j)),s.default.createElement("input",{id:"mfa-code",key:j,ref:j,type:"text",autoComplete:"off",spellCheck:"false",maxLength:10,autoFocus:!0,defaultValue:""}),r("p",{className:"token-tip"},void 0,D.default.Messages.TWO_FA_ENTER_TOKEN_BODY)),r(_.default,{className:"btn btn-primary",disabled:n===x.LoginStates.LOGGING_IN_MFA},void 0,D.default.Messages.LOGIN)):r(m.default,{onSubmit:this.handleSubmit,invite:u},void 0,i,r("div",{className:(0,d.default)({"control-group":!0,error:a("email")})},void 0,r("label",{htmlFor:"register-email"},void 0,D.default.Messages.FORM_LABEL_EMAIL," ",o("email")),s.default.createElement("input",{id:"register-email",ref:"email",type:"email",autoComplete:"off",spellCheck:"false",autoFocus:!0})),r("div",{className:(0,d.default)({"control-group":!0,error:a("password")})},void 0,r("label",{htmlFor:"register-password"},void 0,D.default.Messages.FORM_LABEL_PASSWORD," ",o("password")),s.default.createElement("input",{id:"register-password",ref:"password",type:"password",autoComplete:"off",spellCheck:"false"}),r("button",{className:"btn-forgot-password",type:"button",onClick:this.handleForgotPassword},void 0,D.default.Messages.FORGOT_PASSWORD)),r(_.default,{className:"btn btn-primary",disabled:n===x.LoginStates.LOGGING_IN},void 0,D.default.Messages.LOGIN),r("footer",{},void 0,D.default.Messages.NEED_ACCOUNT," ",r(f.Link,{to:l},void 0,D.default.Messages.REGISTER)))}});t.default=F,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(67),f=a(u);n(2210);var c=i.default.createClass({displayName:"MarkdownModal",getDefaultProps:function(){return{selectable:!1}},getScrollerNode:function(){return this.refs.scroller.getScrollerNode()},render:function(){var e=this.props,t=e.renderFooter,n=e.selectable,a=e.renderHeader,r=e.className,s=e.onClose,u=e.children,c=void 0;return t&&(c=o("div",{className:"markdown-modal-footer"},void 0,t())),o("div",{className:(0,l.default)("markdown-modal",{selectable:n},r)},void 0,o("div",{className:"markdown-modal-header"},void 0,a(),o("button",{className:"markdown-modal-close",onClick:s})),i.default.createElement(f.default,{ref:"scroller",fade:!0,onScroll:this.props.onScroll},u),c)}});t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.RolesPopout=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(7),c=a(f),d=n(5),p=a(d),h=n(83),g=a(h),m=n(722),v=a(m),E=n(34),y=a(E),_=n(10),b=a(_),S=n(55),I=a(S),T=n(47),N=a(T),A=n(748),M=a(A),C=n(123),O=n(3),D=a(O),L=n(41),R=a(L),x=n(1);n(2212);var w=t.RolesPopout=s.default.createClass({displayName:"RolesPopout",handlerFilterResults:function(e){var t=this.props,n=t.guild,a=t.userId,o=b.default.getCurrentUser(),r=I.default.getHighestRole(n,o.id),i=(0,c.default)(n.roles).filter(function(e){return e.id!==n.id}).filter(function(e){return!e.managed}).filter(function(e){return I.default.isRoleHigher(n,o.id,r,e)}).filter(function(t){return e(t.name.toLowerCase())}),s=y.default.getMember(n.id,a);return s&&(i=i.filter(function(e){return s.roles.indexOf(e.id)===-1})),i.value()},renderRole:function(e){var t=void 0;return e.colorString&&(t={color:e.colorString}),r("span",{style:t},void 0,e.name)},render:function(){return r(v.default,{label:D.default.Messages.ADD_ROLE_LABEL,placeholder:D.default.Messages.ADD_ROLE_PLACEHOLDER,onRenderResult:this.renderRole,onFilterResults:this.handlerFilterResults,onSelect:this.props.onSelect,onClose:this.props.onClose})}}),P=r("li",{className:"member-role member-role-add"},void 0,r("button",{type:"button"})),k=s.default.createClass({displayName:"MemberRolesList",mixins:[u.default,N.default],handleRemoveRole:function(e){var t=this.props.userRoles.filter(function(t){return t!==e.id});g.default.updateMemberRoles(this.props.guild.id,this.props.user.id,t)},renderRolesPopout:function(e){return s.default.createElement(w,o({},e,{guild:this.props.guild,userId:this.props.user.id,onSelect:this.handleAddRole}))},handleAddRole:function(e){if(null!=e){var t=this.props.userRoles;t.indexOf(e.id)===-1&&(t=t.concat([e.id])),g.default.updateMemberRoles(this.props.guild.id,this.props.user.id,t)}},render:function(){var e=this,t=b.default.getCurrentUser(),n=this.props,a=n.guild,o=n.userRoles,i=n.popoutKey,s=this.can(x.Permissions.MANAGE_ROLES,a),l=void 0;s&&(l=r(R.default,{render:this.renderRolesPopout,zIndexBoost:5,position:R.default.BOTTOM,dependsOn:i},void 0,P));var u=I.default.getHighestRole(a,t.id);return r("ul",{className:"member-roles"},void 0,(0,c.default)(a.roles).filter(function(e){return o.indexOf(e.id)!==-1}).map(function(n){var o=void 0;return s&&I.default.isRoleHigher(a,t.id,u,n)&&(o=r("button",{type:"button",className:"member-role-remove",onClick:e.handleRemoveRole.bind(e,n)})),r(M.default,{component:"li",color:(0,C.hex2int)(n.colorString),hasBorder:!0,hasHover:!1,className:(0,p.default)("member-role",{manipulate:null!=o})},n.id,r("span",{className:"name"},n.id,n.name),o)}).value(),l)}});t.default=k},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0,t.OAuth2Error=t.OAuth2Authorized=t.OAuth2WhitelistAccept=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(6),f=a(u),c=n(118),d=a(c),p=n(291),h=a(p),g=n(5),m=a(g),v=n(128),E=a(v),y=n(16),_=a(y),b=n(48),S=a(b),I=n(3),T=a(I),N=n(67),A=a(N),M=n(46),C=a(M),O=n(160),D=a(O),L=n(17),R=a(L),x=n(1);n(2220);var w=n(4),P=a(w),k="UNKNOWN_ERROR",U=[["Bake a cake","Red velvet best velvet."],["Buy you a nice seafood dinner","and never call you again."],["Have an existential crisis","WHO AM I!?"],["Microbrew some local kombucha","It's organic!"],["Solve a mystery with Scooby and the gang","What's that smell?"],["Record a new mixtape.","Check it out its fire."],["Paint a happy little tree","What a happy accident!"],["Read you a bedtime story","You're a beautiful princess."]],G=i("div",{className:"scope-check"},void 0,i("div",{className:"scope-check-inner"})),j=function(e){var t=e.name,n=e.error,a=e.description,o=e.children,r=e.allow,s=void 0===r||r;return i("div",{className:(0,m.default)("scope",{allow:s})},void 0,G,i("div",{className:"scope-inner"},void 0,i("div",{className:"scope-name"},void 0,t),i("div",{className:(0,m.default)("scope-description",{"scope-error":null!=n})},void 0,n||("string"==typeof a?a:a.format())),o))},F=i("option",{disabled:!0},void 0,"---------------"),B=l.default.createClass({displayName:"Select",getInitialState:function(){return{focused:!1,hasValue:!1}},handleFocus:function(){this.setState({focused:!0})},handleBlur:function(){this.setState({focused:!1})},handleChange:function(e){var t=e.currentTarget.value;this.setState({hasValue:t.length>0});var n=this.props.onChange;n&&n(t)},render:function(){var e=this.props,t=e.className,n=e.placeholder,a=o(e,["className","placeholder"]);return delete a.onChange,i("div",{className:(0,m.default)("select",t,{focus:this.state.focused,"has-value":this.state.hasValue})},void 0,l.default.createElement("select",r({onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange},a),null!=n?i("option",{value:""},void 0,n):null,null!=n?F:null,this.props.children))}}),V=function(e){var t=e.permissions,n=e.deniedPermissions,a=e.onPermissionsChange,o=e.roleName,r=[{title:T.default.Messages.ADMINISTRATOR,flag:x.Permissions.ADMINISTRATOR},{title:T.default.Messages.MANAGE_SERVER,flag:x.Permissions.MANAGE_GUILD},{title:T.default.Messages.MANAGE_ROLES,flag:x.Permissions.MANAGE_ROLES},{title:T.default.Messages.MANAGE_CHANNELS,flag:x.Permissions.MANAGE_CHANNELS},{title:T.default.Messages.KICK_MEMBERS,flag:x.Permissions.KICK_MEMBERS},{title:T.default.Messages.BAN_MEMBERS,flag:x.Permissions.BAN_MEMBERS},{title:T.default.Messages.CREATE_INSTANT_INVITE,flag:x.Permissions.CREATE_INSTANT_INVITE},{title:T.default.Messages.MANAGE_NICKNAMES,flag:x.Permissions.MANAGE_NICKNAMES},{title:T.default.Messages.CHANGE_NICKNAME,flag:x.Permissions.CHANGE_NICKNAME},{title:T.default.Messages.MANAGE_EMOJIS,flag:x.Permissions.MANAGE_EMOJIS},{title:T.default.Messages.MANAGE_WEBHOOKS,flag:x.Permissions.MANAGE_WEBHOOKS},{title:T.default.Messages.READ_MESSAGES,flag:x.Permissions.READ_MESSAGES},{title:T.default.Messages.SEND_MESSAGES,flag:x.Permissions.SEND_MESSAGES},{title:T.default.Messages.SEND_TTS_MESSAGES,flag:x.Permissions.SEND_TSS_MESSAGES},{title:T.default.Messages.MANAGE_MESSAGES,flag:x.Permissions.MANAGE_MESSAGES},{title:T.default.Messages.EMBED_LINKS,flag:x.Permissions.EMBED_LINKS},{title:T.default.Messages.ATTACH_FILES,flag:x.Permissions.ATTACH_FILES},{title:T.default.Messages.READ_MESSAGE_HISTORY,flag:x.Permissions.READ_MESSAGE_HISTORY},{title:T.default.Messages.MENTION_EVERYONE,flag:x.Permissions.MENTION_EVERYONE},{title:T.default.Messages.ADD_REACTIONS,flag:x.Permissions.ADD_REACTIONS},{title:T.default.Messages.CONNECT,flag:x.Permissions.CONNECT},{title:T.default.Messages.SPEAK,flag:x.Permissions.SPEAK},{title:T.default.Messages.MUTE_MEMBERS,flag:x.Permissions.MUTE_MEMBERS},{title:T.default.Messages.DEAFEN_MEMBERS,flag:x.Permissions.DEAFEN_MEMBERS},{title:T.default.Messages.MOVE_MEMBERS,flag:x.Permissions.MOVE_MEMBERS},{title:T.default.Messages.USE_VAD,flag:x.Permissions.USE_VAD},{title:T.default.Messages.USE_EXTERNAL_EMOJIS,flag:x.Permissions.USE_EXTERNAL_EMOJIS}].filter(function(e){var n=e.flag;return(t&n)===n}).map(function(e){var t=0===(n&e.flag);return i("li",{className:(0,m.default)({disallowed:!t})},e.flag,i(D.default,{checked:t,onChange:function(t){return a(t.currentTarget.checked,e.flag)}},void 0,e.title))});return 0===r.length?null:i("div",{className:"bot-permissions"},void 0,i("div",{className:"scope-name"},void 0,T.default.Messages.SCOPE_BOT_PERMISSIONS),i("div",{className:"scope-description"},void 0,T.default.Messages.SCOPE_BOT_PERMISSIONS_DESCRIPTION.format({name:o})),i("ul",{},void 0,r))},H=l.default.createClass({displayName:"BotScope",getDefaultProps:function(){return{selectedGuildId:""}},handleSelect:function(e){var t=this.props.onGuildChange;t&&t(e)},handlePermissionChange:function(e,t){var n=this.props,a=n.onDeniedPermissionsChange,o=n.deniedPermissions;a&&a(e?o&~t:o|t)},render:function(){var e=this,t=this.props,n=t.error,a=t.guilds,o=t.selectedGuildId,r=t.permissions,s=t.deniedPermissions,l=t.roleName,u=a.filter(function(e){return 0!==(e.permissions&x.Permissions.MANAGE_GUILD)}).map(function(e){return i("option",{value:e.id},e.id,e.name)}),f=this.props.guilds.filter(function(t){return t.id===e.props.selectedGuildId}),c=f[0];return null!=c&&(r&=c.permissions),i(j,{error:n,name:T.default.Messages.SCOPE_BOT,description:T.default.Messages.SCOPE_BOT_DESCRIPTION},void 0,i(B,{onChange:this.handleSelect,placeholder:T.default.Messages.SCOPE_BOT_SERVER_PLACEHOLDER,value:o},void 0,u),i(V,{roleName:l,permissions:r,deniedPermissions:s,onPermissionsChange:this.handlePermissionChange}))}}),z=l.default.createClass({displayName:"WebhookScope",getDefaultProps:function(){return{selectedWebhookId:"",selectedChannelId:""}},getInitialState:function(){return{channels:null}},fetchChannels:function(e){var t=this;this.setState({channels:null}),_.default.get({url:x.Endpoints.OAUTH2_AUTHORIZE_WEBHOOK_CHANNELS,query:{guild_id:e}}).then(function(e){var n=e.body;return t.setState({channels:n})})},handleSelectGuild:function(e){this.props.onGuildChange(e),this.fetchChannels(e)},handleSelectChannel:function(e){this.props.onChannelChange(e)},render:function(){var e=this.props,t=e.error,n=e.guilds,a=e.selectedGuildId,o=e.selectedChannelId,r=this.state.channels,s=n.map(function(e){return i("option",{value:e.id},e.id,e.name)}),l=null;if(a){var u=(r||[]).map(function(e){return i("option",{value:e.id},e.id,e.name)});l=i(B,{onChange:this.handleSelectChannel,placeholder:T.default.Messages.SCOPE_WEBHOOK_INCOMING_CHANNEL_PLACEHOLDER,value:o,isLoading:null==r},void 0,u)}return i(j,{error:t,name:T.default.Messages.SCOPE_WEBHOOK_INCOMING,description:T.default.Messages.SCOPE_WEBHOOK_INCOMING_DESCRIPTION},void 0,i(B,{onChange:this.handleSelectGuild,placeholder:T.default.Messages.SCOPE_BOT_SERVER_PLACEHOLDER,value:a},void 0,s),l)}}),W=i("div",{className:"security-notice-icon"}),Y=function(e){return i("div",{className:"security-notice"},void 0,e?W:null,i("div",{},void 0,(e?T.default.Messages.OAUTH2_SECURITY_NOTICE:T.default.Messages.OAUTH2_INSECURE_NOTICE).format()))},K=function(e){var t=e.children,n=e.onClick;return i("button",{type:"button",className:e.primary?"primary":null,onClick:n},void 0,t)},Q=function(e){var t=e.children;return i("div",{className:"application-name"},void 0,i("div",{},void 0,T.default.Messages.OAUTH2_CONNECT_TO_DISCORD),i("div",{},void 0,t))},Z=function(e){var t={},n={id:e.id,icon:e.icon},a=S.default.getAppIconURL(n);return null!=a&&(t.backgroundImage="url('"+a+"')"),i("div",{className:"application-icon"},void 0,i("div",{className:"application-icon-inner",style:t}))},X=i("div",{className:"oauth2-message-icon"},void 0,i(C.default,{})),J=function(e){var t=e.icon,n=e.children;return i("div",{id:"oauth2-message"},void 0,i(h.default,{title:T.default.Messages.OAUTH2_TITLE}),"spinner"===t?X:i("div",{className:"oauth2-message-icon oauth2-message-icon-"+t}),i("div",{className:"oauth2-message-text"},void 0,n),"spinner"!==t?i("div",{className:"oauth2-message-subtext"},void 0,T.default.Messages.OAUTH2_MESSAGE_CTA):null)},q=(t.OAuth2WhitelistAccept=l.default.createClass({displayName:"OAuth2WhitelistAccept",mixins:[f.default],componentDidMount:function(){this.acceptWhitelist()},getInitialState:function(){return{whitelisted:!1,error:!1}},acceptWhitelist:function(){var e=this;_.default.post({url:x.Endpoints.OAUTH2_WHITELIST_ACCEPT,query:this.props.location.query}).then(function(){return e.setState({whitelisted:!0})},function(){return e.setState({error:!0})})},render:function(){return this.state.whitelisted?i(J,{icon:"check"},void 0,T.default.Messages.WHITELISTED):this.state.error?i(J,{icon:"x"},void 0,T.default.Messages.WHITELIST_FAILED):i(J,{icon:"spinner"},void 0,T.default.Messages.WHITELISTING)}}),t.OAuth2Authorized=function(){return i(J,{icon:"check"},void 0,T.default.Messages.AUTHORIZED)},t.OAuth2Error=function(e){var t=e.location;return i(J,{icon:"x"},void 0,null!=t?t.query.error_description||t.query.error:k)}),$=i(q,{}),ee=i(C.default,{}),te=l.default.createClass({displayName:"OAuth2Authorize",mixins:[f.default],statics:{Authenticate:function(e,t){R.default.isAuthenticated()||t({pathname:x.Routes.LOGIN,query:{redirect_to:location.pathname+location.search}})}},getInitialState:function(){var e=U[Math.floor(Math.random()*U.length)];return{fakeScope:{name:e[0],description:e[1]},loading:!0,application:null,user:null,guilds:[],connections:[],selectedBotGuildId:this.props.location.query.guild_id,permissions:parseInt(this.props.location.query.permissions)||0,deniedPermissions:0,errors:{},scopes:[]}},componentDidMount:function(){this.load()},authorize:function(e){var t=this,n=this.state,a=n.selectedBotGuildId,o=n.selectedWebhookGuildId,r=n.selectedWebhookChannelId,i=n.permissions,s=n.deniedPermissions;_.default.post({url:x.Endpoints.OAUTH2_AUTHORIZE,query:this.props.location.query,body:{bot_guild_id:a,webhook_guild_id:o,webhook_channel_id:r,permissions:i&~s,authorize:e}}).then(function(e){if(t.props.callback)return t.props.callback(e.body),void t.props.onClose();window.location=e.body.location},function(e){return t.setState({errors:e.body})})},load:function(){var e=this,t=this.props.location.query,n=function(){return(0,d.default)(t,e.props.location.query)};_.default.get({url:x.Endpoints.OAUTH2_AUTHORIZE,query:t,retries:3}).then(function(t){n()&&e.setState(r({loading:!1},t.body))},function(t){401===t.status?P.default.dispatch({type:x.ActionTypes.LOGOUT}):n()&&e.setState({loading:!1,errors:k})})},handleCancel:function(){this.authorize(!1)},handleAuthorize:function(){this.authorize(!0)},handleBotGuildChange:function(e){this.setState({selectedBotGuildId:e})},handleWebhookGuildChange:function(e){this.setState({selectedWebhookGuildId:e})},handleWebhookChannelChange:function(e){this.setState({selectedWebhookChannelId:e})},handleDeniedPermissionsChange:function(e){this.setState({deniedPermissions:e})},render:function(){var e=this,t=this.state,n=t.loading,a=t.application,o=t.user,s=t.connections,u=t.guilds,f=t.errors;if(f===k)return $;var c=this.props.callback?"no-background":"";if(n||null==a||null==o)return i("div",{id:"oauth2-authorize",className:c},void 0,i(h.default,{title:T.default.Messages.LOADING}),ee);var d=void 0;this.state.scopes=(this.props.location.query.scope||"").split(" ");var p=this.state.scopes.map(function(t){var n=f[t]||[],r=n[0];switch(t){case x.OAuth2Scopes.IDENTIFY:return i(j,{error:r,name:T.default.Messages.SCOPE_IDENTIFY,description:o.username+"#"+o.discriminator},t);case x.OAuth2Scopes.EMAIL:return i(j,{error:r,name:T.default.Messages.SCOPE_EMAIL,description:o.email||T.default.Messages.SCOPE_EMAIL_EMPTY},t);case x.OAuth2Scopes.CONNECTIONS:return d=s.map(function(e){var t=E.default.get(e.type);return null!=t?e.name+" ("+t.name+")":e.name}).join(", ")||T.default.Messages.SCOPE_CONNECTIONS_EMPTY,i(j,{error:r,name:T.default.Messages.SCOPE_CONNECTIONS,description:d},t);case x.OAuth2Scopes.GUILDS:return d=[].concat(u).sort(function(e,t){return e.name.toLowerCase().localeCompare(t.name.toLowerCase())}).map(function(e){return e.name.trim()}).join(", ")||T.default.Messages.SCOPE_GUILDS_EMPTY,i(j,{error:r,name:T.default.Messages.SCOPE_GUILDS,description:d},t);case x.OAuth2Scopes.GUILDS_JOIN:return i(j,{error:r,name:T.default.Messages.SCOPE_GUILDS_JOIN,description:T.default.Messages.SCOPE_GUILDS_JOIN_DESCRIPTION},t);case x.OAuth2Scopes.GDM_JOIN:return i(j,{error:r,name:T.default.Messages.SCOPE_GDM_JOIN,description:T.default.Messages.SCOPE_GDM_JOIN_DESCRIPTION},t);case x.OAuth2Scopes.RPC:return i(j,{error:r,name:T.default.Messages.SCOPE_RPC,description:T.default.Messages.SCOPE_RPC_DESCRIPTION},t);case x.OAuth2Scopes.RPC_API:return i(j,{error:r,name:T.default.Messages.SCOPE_RPC_API,description:T.default.Messages.SCOPE_RPC_API_DESCRIPTION},t);case x.OAuth2Scopes.RPC_NOTIFICATIONS_READ:return i(j,{error:r,name:T.default.Messages.SCOPE_RPC_NOTIFICATIONS_READ,description:T.default.Messages.SCOPE_RPC_NOTIFICATIONS_READ_DESCRIPTION},t);case x.OAuth2Scopes.MESSAGES_READ:return i(j,{error:r,name:T.default.Messages.SCOPE_MESSAGES_READ,description:T.default.Messages.SCOPE_MESSAGES_READ_DESCRIPTION},t);case x.OAuth2Scopes.WEBHOOK_INCOMING:return i(z,{error:r,selectedChannelId:e.state.selectedWebhookChannelId,selectedGuildId:e.state.selectedWebhookGuildId,onGuildChange:e.handleWebhookGuildChange,onChannelChange:e.handleWebhookChannelChange,guilds:[].concat(u).sort(function(e,t){return e.name.toLowerCase().localeCompare(t.name.toLowerCase())})},t);case x.OAuth2Scopes.BOT:return i(H,{error:r,selectedGuildId:e.state.selectedBotGuildId,onGuildChange:e.handleBotGuildChange,onDeniedPermissionsChange:e.handleDeniedPermissionsChange,roleName:a.name,permissions:e.state.permissions,deniedPermissions:e.state.deniedPermissions,guilds:[].concat(u).sort(function(e,t){return e.name.toLowerCase().localeCompare(t.name.toLowerCase())})},t)}});return i("div",{id:"oauth2-authorize",className:c},void 0,i(h.default,{title:T.default.Messages.OAUTH2_TITLE}),i("div",{className:"authorize-inner"},void 0,i("header",{},void 0,i(Q,{},void 0,a.name),l.default.createElement(Z,a)),i(A.default,{className:"scopes",theme:"dark"},void 0,i("label",{},void 0,T.default.Messages.OAUTH2_LABEL.format({application:a.name})),p,l.default.createElement(j,r({},this.state.fakeScope,{allow:!1}))),Y(this.state.scopes.indexOf(x.OAuth2Scopes.RPC_API)===-1),i("footer",{},void 0,i(K,{onClick:this.handleCancel},void 0,T.default.Messages.CANCEL),i(K,{primary:!0,onClick:this.handleAuthorize},void 0,T.default.Messages.AUTHORIZE))))}});t.default=te},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=o(f),d=n(6),p=o(d),h=n(23),g=o(h),m=n(7),v=o(m),E=n(2),y=o(E),_=n(5),b=o(_),S=n(41),I=o(S),T=n(361),N=o(T),A=n(61),M=o(A),C=n(217),O=o(C),D=n(257),L=o(D),R=n(160),x=o(R),w=n(1602),P=o(w),k=n(13),U=o(k),G=n(97),j=o(G),F=n(43),B=o(F),V=n(10),H=o(V),z=n(164),W=o(z),Y=n(140),K=o(Y),Q=n(1247),Z=o(Q),X=n(79),J=o(X),q=n(180),$=o(q),ee=n(209),te=o(ee),ne=n(181),ae=n(1),oe=n(3),re=o(oe),ie=n(29),se=o(ie);n(2235);var le="PrivateChannelRecipientsInvitePopout",ue=38,fe="BUTTON_REF",ce="SEARCH_REF",de=u("div",{className:"icon"}),pe=u("div",{className:"icon"}),he=u("div",{className:"icon"}),ge=u("div",{className:"icon"}),me=c.default.createClass({displayName:"PrivateChannelRecipientsInvitePopout",mixins:[y.default.LazyStoreListenerMixin(P.default),p.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return P.default.getState()},componentDidMount:function(){var e=this.props.channel;null!=e&&e.isDM()&&!B.default.isFriend(e.getRecipientId())&&se.default.track("open_popout",{type:"Not Friend",source:this.props.caller===ae.PopoutCallers.GROUP_DM?"Group DM":"Call"})},render:function(){var e=this,t=this.state,n=t.hasFriends,a=t.results,o=t.selectedRow,r=t.selectedUsers,i=this.props.channel,s=U.default.theme,l=!1,f=!1;if(null!=i){var d=i.recipients;l=i.isDM()&&!B.default.isFriend(d[0]),f=d.length+1>=ae.MAX_GROUP_DM_PARTICIPANTS}var p=!n||l,h=[],g=void 0,m=re.default.Messages.GROUP_DM_HEADER,v=void 0;if(l){var E=H.default.getUser(i.recipients[0]),y=void 0;this.props.caller===ae.PopoutCallers.CALL?(m=re.default.Messages.START_CALL,y=re.default.Messages.CALL_INVITE_NOT_FRIENDS):(m=re.default.Messages.GROUP_DM_ADD_FRIENDS,y=re.default.Messages.GROUP_DM_INVITE_NOT_FRIENDS),h=u("div",{className:"error-state not-friends"},void 0,de,u("div",{className:"text"},void 0,y.format({username:E.username})),u("div",{className:"btn",onClick:function(){return e.handleAddFriend(E)}},void 0,re.default.Messages.ADD_FRIEND_BUTTON))}else if(n){if(null==a)throw new Error("[App]PrivateChannelRecipientsInvitePopout.render(): assert failed: results != null");if(a.length>0&&(h=a.map(this.renderRow)),f)h=u("div",{className:"error-state party-full"},void 0,he,u("div",{className:"text"},void 0,re.default.Messages.GROUP_DM_INVITE_FULL_MAIN),u("div",{className:"text"},void 0,re.default.Messages.GROUP_DM_INVITE_FULL_SUB));else{h=0===h.length?u("div",{className:"error-state search-results"},void 0,ge,u("div",{className:"text"},void 0,re.default.Messages.GROUP_DM_INVITE_EMPTY)):c.default.createElement(O.default,{ref:"scroller",elementHeight:ue,theme:s===ae.ThemeTypes.LIGHT?C.Themes.LIGHT:C.Themes.DARK,backgroundColor:s===ae.ThemeTypes.LIGHT?void 0:ae.Colors.CHANNELS_GREY,keyboardScroll:!0},h);var _=(null==i?0:i.recipients.length)+1,S=ae.MAX_GROUP_DM_PARTICIPANTS-r.length-_,I=0==r.length||r.length+_>ae.MAX_GROUP_DM_PARTICIPANTS,T=re.default.Messages.GROUP_DM_ADD_MEMBERS.format({number:r.length});null!=i&&i.type!==ae.ChannelTypes.DM||(T=re.default.Messages.CREATE_GROUP_DM),v=S<=0?u("div",{className:(0,b.default)("subtitle",{" subtitle-warning":S<0})},void 0,re.default.Messages.GROUP_DM_INVITE_FULL_SUB):u("div",{className:"subtitle"},void 0,re.default.Messages.GROUP_DM_INVITE_REMAINING.format({number:S})),g=u("div",{className:"footer"},void 0,u("button",{type:"button",disabled:I,onClick:this.handleInviteUsers},void 0,T))}}else h=u("div",{className:"error-state no-friends"},void 0,pe,u("div",{className:"text"},void 0,re.default.Messages.GROUP_DM_INVITE_NO_FRIENDS));return u("div",{className:"private-channel-recipients-invite themed-popout"},void 0,u("div",{className:"header"},void 0,u("div",{className:"title"},void 0,m),v,p?null:c.default.createElement(N.default,{ref:ce,query:this.state.query,selectedSection:0,selectedRow:o,sections:[a?a.length:0],tags:r.map(function(e){return e.username}),onSelect:this.handleSelect,onSelectionChange:this.handleSelectionChange,onQueryChange:this.handleQueryChange,onRemoveTag:this.handleRemoveUser,light:s===ae.ThemeTypes.LIGHT,placeholder:0===r.length?re.default.Messages.GROUP_DM_SEARCH_PLACEHOLDER:null,disabled:f,autoFocus:!0})),u("div",{className:"body"},void 0,h),g)},handleAddFriend:function(e){this.props.onClose(),$.default.sendRequest(e.tag,{location:this.props.caller===ae.PopoutCallers.GROUP_DM?"Group DM":"Call"})},handleSelect:function(e,t,n){if(null==e)Z.default.clear();else{var a=this.state.results;if(null==a)throw new Error("[App]PrivateChannelRecipientsInvitePopout.handleSelect(): assert failed: results != null");var o=a[t],r=this.state.selectedUsers.indexOf(o)>-1;this.handleClick(n,!r,o)}},handleSelectionChange:function(e,t){Z.default.select(t);var n=this.refs.scroller;n&&n.scrollIntoViewRect(t*ue,t*ue+ue)},handleQueryChange:function(e){Z.default.search(e)},handleRemoveUser:function(e){Z.default.removeUser(this.state.selectedUsers[e])},handleClick:function(e,t,n){t?(Z.default.addUser(n),this.state.query.length>0&&Z.default.clear()):Z.default.removeUser(n)},handleInviteUsers:function(){var e=this.props.channel,t=this.state.selectedUsers;if(null!=e){var n=W.default.isCallActive(e.id),a=t.map(function(e){return e.id});J.default.addRecipients(e.id,a).then(function(e){n&&te.default.ring(e,a)})}else if(1==t.length)J.default.openPrivateChannel(H.default.getCurrentUser().id,t[0].id);else{var o=t.map(function(e){return e.id});J.default.openPrivateChannel(H.default.getCurrentUser().id,o)}this.props.onClose()},renderRow:function(e,t){var n=this,a=this.state.selectedUsers.indexOf(e)>-1;return u("div",{onClick:function(t){return n.handleClick(t,!a,e)},className:(0,b.default)("friend",{selected:t===this.state.selectedRow})},e.id,u(M.default,{user:e,status:j.default.getStatus(e.id)}),u(L.default,{user:e}),u(x.default,{className:"checkbox",checked:a,readOnly:!0}))}}),ve=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.popoutCaller=ae.PopoutCallers.GROUP_DM,v.default.bindAll(a,["renderPopout"]),a}return s(t,e),t.prototype.componentDidMount=function(){this.maybeForceOpen()},t.prototype.componentDidUpdate=function(e){e.channel!==this.props.channel&&this.maybeForceOpen()},t.prototype.render=function(){var e=this.props.channel,t=n(null!=e?3002:2996),a=n(null!=e?3028:3009),o=u(ne.HeaderToolbarButton,{tooltip:this.props.tooltip,iconLight:t,iconDark:a});return c.default.createElement(I.default,{ref:fe,closeOnScroll:!1,render:this.renderPopout,position:I.default.TOP_RIGHT,shadow:!1,offsetX:5,uniqueId:le,animationType:"none",subscribeTo:ae.ComponentActions.TOGGLE_DM_CREATE},o)},t.prototype.renderPopout=function(e){return c.default.createElement(me,l({},e,{channel:this.props.channel,caller:this.popoutCaller}))},t.prototype.maybeForceOpen=function(){if(null!=this.props.channel&&this.props.channel.type===ae.ChannelTypes.GROUP_DM&&0===this.props.channel.recipients.length&&!K.default.isOpen(le)){var e=g.default.findDOMNode(this.refs[fe]);if(!(e instanceof HTMLElement))throw new Error("elem is not instanceof HTMLElement");e.click()}},t.prototype.openFromDisabledCall=function(){var e=this;this.popoutCaller=ae.PopoutCallers.CALL;var t=g.default.findDOMNode(this.refs[fe]);if(!(t instanceof HTMLElement))throw new Error("elem is not instanceof HTMLElement");t.click(),a(function(){return e.popoutCaller=ae.PopoutCallers.GROUP_DM})},t}(c.default.Component);t.default=ve,e.exports=t.default}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.TOOLTIP_TYPES=void 0;var o,r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(33),c=a(f),d=n(1682),p=a(d),h=n(1),g=t.TOOLTIP_TYPES=(o={},o[h.RTCConnectionQuality.UNKNOWN]=c.default.NORMAL,o[h.RTCConnectionQuality.BAD]=c.default.ERROR,o[h.RTCConnectionQuality.AVERAGE]=c.default.WARNING,o[h.RTCConnectionQuality.FINE]=c.default.SUCCESS,o),m=r("span",{className:"ping"}),v=s.default.createClass({displayName:"RTCConnectionStatus",mixins:[u.default],render:function(){var e=this.props,t=e.quality,n=e.lastPing,a=e.state,o=e.hasVideo,i=void 0;a===h.RTCConnectionStates.RTC_CONNECTED&&(i=m,t!==h.RTCConnectionQuality.UNKNOWN&&void 0!==n&&(i=r(c.default,{text:n.toFixed(0)+"ms",type:g[t]},void 0,i)));var s=p.default.getStatus(a,o);return r("div",{className:"rtc-connection-status\n rtc-connection-status-"+s.connectionStatus+"\n rtc-connection-quality-"+t},void 0,i,s.connectionStatusText)}});t.default=v},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(94),c=n(42),d=a(c),p=n(5),h=a(p),g=n(2),m=a(g),v=n(215),E=a(v),y=n(139),_=a(y),b=n(509),S=a(b),I=n(101),T=a(I),N=n(17),A=a(N),M=n(1),C=n(3),O=a(C),D=n(728),L=a(D),R=n(386),x={mixins:[u.default,m.default.StoreListenerMixin(A.default)],getStateFromStores:function(){return{registering:A.default.getRegisterStatus(),errors:A.default.getErrors(),authenticated:A.default.isAuthenticated()}},componentDidMount:function(){T.default.fingerprint("Register"),this.maybeAuthenticated()},componentDidUpdate:function(){this.maybeAuthenticated()},maybeAuthenticated:function(){if(this.state.authenticated){var e=this.props.location.query;e.redirect_to&&(0,R.isSafeRedirect)(e.redirect_to)?window.location=e.redirect_to:d.default.transitionTo(M.Routes.ME)}},hasError:function(e){return null!=this.state.errors[e]},renderError:function(e){return this.hasError(e)?r("span",{className:"error"},void 0,"(",this.state.errors[e],")"):null},renderField:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return r("div",{className:(0,h.default)({"control-group":!0,error:this.hasError(t)})},void 0,r("label",{htmlFor:"register-"+t},void 0,n," ",this.renderError(t)),s.default.createElement("input",o({id:"register-"+t,ref:t,autoComplete:"off",spellCheck:"false",type:e},a)))},handleCaptchaChange:function(e){var t=this;this.setState({captchaKey:e},function(){t.handleRegister()})},render:function(){return this.hasError("captcha_key")?s.default.createElement(w,o({},this.props,this.state,{onChange:this.handleCaptchaChange,getFormHeading:this.getFormHeading})):this.renderForm()}},w=s.default.createClass({displayName:"RegisterCaptcha",render:function(){return r(E.default,{invite:this.props.invite,authFormClassNames:"auth-captcha"},void 0,r("h1",{},void 0,this.props.getFormHeading(),r("p",{},void 0,O.default.Messages.BEEP_BOOP)),r("div",{className:"captcha-box"},void 0,r(S.default,{onChange:this.props.onChange,theme:"dark"})))}}),P=r("div",{className:"divider"}),k=s.default.createClass({displayName:"RegisterFull",mixins:[x],handleSubmit:function(e){var t=this;e.preventDefault();var n=this.refs.email.value,a=this.refs.username.value,o=this.refs.password.value;this.setState({email:n,username:a,password:o},function(){t.handleRegister()})},handleRegister:function(){var e=this.state,t=e.email,n=e.username,a=e.password,o=e.captchaKey;T.default.registerFull(t,n,a,null,o)},getFormHeading:function(){return O.default.Messages.REGISTER_TITLE},renderForm:function(){return r(E.default,{onSubmit:this.handleSubmit,invite:this.props.invite},void 0,r("h1",{},void 0,this.getFormHeading()),this.renderField("email","email",O.default.Messages.FORM_LABEL_EMAIL,{autoFocus:!0}),this.renderField("text","username",O.default.Messages.FORM_LABEL_USERNAME),this.renderField("password","password",O.default.Messages.FORM_LABEL_PASSWORD),r(_.default,{className:"btn btn-primary",disabled:this.state.registering},void 0,O.default.Messages.CONTINUE),r("footer",{className:"margin-top-20"},void 0,O.default.Messages.TERMS_PRIVACY.format({termsURL:M.MARKETING_URLS.TERMS,privacyURL:M.MARKETING_URLS.PRIVACY})),P,r("footer",{},void 0,O.default.Messages.ALREADY_HAVE_ACCOUNT," ",r(f.Link,{to:M.Routes.LOGIN},void 0,O.default.Messages.LOGIN)))}}),U=r("div",{className:"divider"}),G=s.default.createClass({displayName:"RegisterInvite",mixins:[x],contextTypes:{location:s.default.PropTypes.object},handleSubmit:function(e){var t=this;e&&e.preventDefault();var n=this.refs.username.value;this.setState({username:n},function(){t.handleRegister()})},handleRegister:function(){var e=this.state,t=e.username,n=e.captchaKey;T.default.register(t,null!=this.props.invite?this.props.invite.code:void 0,n)},getFormHeading:function(){return O.default.Messages.INSTANT_INVITE_RESOLVED_TITLE},renderForm:function(){var e=this.props.invite,t=this.context.location&&this.context.location.query.username,n={pathname:M.Routes.INVITE(e.code),query:{mode:"login"}};return r(E.default,{onSubmit:this.handleSubmit,invite:e,authFormClassNames:this.props.authFormClassNames},void 0,r(L.default,{invite:e}),this.renderField("text","username",O.default.Messages.FORM_PLACEHOLDER_USERNAME,{defaultValue:t,autoFocus:!0}),r(_.default,{className:"btn btn-primary",disabled:this.state.registering},void 0,O.default.Messages.CONTINUE),r("footer",{className:"margin-top-20"},void 0,O.default.Messages.TERMS_PRIVACY.format({termsURL:M.MARKETING_URLS.TERMS,privacyURL:M.MARKETING_URLS.PRIVACY})),U,r("footer",{},void 0,O.default.Messages.ALREADY_HAVE_ACCOUNT," ",r(f.Link,{to:n,onClick:this.props.onLoginStart},void 0,O.default.Messages.LOGIN)))}}),j=function(e){return null!=e.invite?s.default.createElement(G,e):s.default.createElement(k,e)};t.default=j,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(7),d=a(c),p=n(5),h=a(p),g=n(2075),m=a(g),v=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={aStreamId:null,aReady:!1,bStreamId:n.streamId,bReady:!0},d.default.bindAll(a,["handleReady"]),a}return i(t,e),t.prototype.handleReady=function(){this.state.aReady?this.setState({bReady:!0,aStreamId:null,aReady:!1}):this.setState({aReady:!0,bStreamId:null,bReady:!1})},t.prototype.componentWillReceiveProps=function(e){this.state.aReady?e.streamId!==this.state.aStreamId&&(null==e.streamId?this.setState({bStreamId:e.streamId,bReady:!0,aStreamId:null,aReady:!1}):this.setState({bStreamId:e.streamId,bReady:!1})):e.streamId!==this.state.bStreamId&&(null==e.streamId?this.setState({aStreamId:e.streamId,aReady:!0,bStreamId:null,bReady:!1}):this.setState({aStreamId:e.streamId,aReady:!1}))},t.prototype.renderVideo=function(e,t){var n=this.props,a=n.children,o=n.mirror,r=n.component;if(null==e){if(null==a)return null;var i=f.default.Children.only(a);return f.default.cloneElement(i,l({style:{display:t&&!o?void 0:"none"}},i.props))}return s(r,{className:this.props.mediaClass,streamId:e,onReady:t?null:this.handleReady})},t.prototype.render=function(){var e,t=this.props,n=t.mirror,a=t.className;return s("div",{className:(0,h.default)("private-channel-call-video",a,(e={},e[m.default.mirror]=n,e))},void 0,this.renderVideo(this.state.aStreamId,this.state.aReady),this.renderVideo(this.state.bStreamId,this.state.bReady))},t}(f.default.PureComponent);t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.STOP_SCREENSHARE=t.CHANGE_WINDOWS=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(3),c=a(f),d=n(535),p=n(227),h=a(p),g=n(2077),m=a(g),v=t.CHANGE_WINDOWS="change-windows",E=t.STOP_SCREENSHARE="stop-screenshare",y=function(){return[{label:c.default.Messages.SCREENSHARE_CHANGE_WINDOWS,value:v},{label:c.default.Messages.SCREENSHARE_STOP,value:E}]},_=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.renderOption=a.renderOption.bind(a),a}return i(t,e),t.prototype.renderOption=function(e){var t=e.label,n=e.value;return s(h.default,{className:n===E?m.default.labelDestructive:m.default.labelDefault,size:h.default.Sizes.MEDIUM},void 0,t)},t.prototype.render=function(){return s(d.QuickSelectPopout,{scroller:!1,className:"screenshare-popout",options:y(),renderOption:this.renderOption,onChange:this.props.onChange})},t}(u.default.PureComponent);t.default=_},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=700,n=640,a=Math.round(screen.width/2-t/2),o=screen.height>n?Math.round(screen.height/2-n/2):0,r=void 0;I.default.isDesktop()||(r=window.open(location.protocol+"//"+location.host+T.Routes.CONNECTIONS(e)+"?loading=true","authorize","scrollbars=yes,resizable=yes,toolbar=no,location=yes,top="+o+",left="+a+",width="+t+",height="+n)),y.default.authorize(e).then(function(e){var t=e.body,n=t.url;null!=n&&(null!=r?r.location.href=n:window.open(n))})}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}();t.authorize=o;var i=n(0),s=a(i),l=n(2),u=a(l),f=n(6),c=a(f),d=n(128),p=a(d),h=n(309),g=a(h),m=n(353),v=a(m),E=n(210),y=a(E),_=n(46),b=a(_),S=n(18),I=a(S),T=n(1);n(2163);var N=r(b.default,{type:"pulsing-ellipsis",className:"ellipsis"}),A=s.default.createClass({displayName:"ConnectAccountButton",mixins:[c.default,u.default.LazyStoreListenerMixin(g.default)],getDefaultProps:function(){return{disabled:!1}},getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{isDetecting:g.default.isDetecting(this.props.type)}},handleConnect:function(e){var t=p.default.get(e);t.serverSync?o(t.type):v.default.detectAccounts([t.type],this.props.location)},render:function(){var e=this,t=this.state.isDetecting,n=p.default.get(this.props.type),a=void 0;return t&&(a=N),r("div",{className:"connect-account-btn"},void 0,r("button",{className:"connect-account-btn-inner",type:"button",disabled:this.props.disabled||t,style:{backgroundImage:"url('"+n.icon.color+"')"},onClick:function(){return e.handleConnect(e.props.type)}}),a)}});t.default=A},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(0),r=a(o),i=n(1),s=function(e,t){var n=e.x,a=e.y,o=t.x,r=t.y;return Math.pow(n-o,2)+Math.pow(a-r,2)},l=3,u=Math.pow(l,2),f=r.default.createClass({displayName:"Draggable",getInitialState:function(){return{flipped:this.props.initialX>this.props.maxX/2,x:this.props.initialX,y:this.props.initialY,dragging:!1}},shouldComponentUpdate:function(e){return this.state.flipped!==e.flipped},getDefaultProps:function(){return{initialX:0,initialY:0,maxX:0,maxY:0,disableFlip:!1,dragAnywhere:!1}},handleMouseDown:function(e){var t=this.props,n=t.dragAnywhere,a=t.selector;if(e.button===i.MouseButtons.PRIMARY&&(n||e.target.matches(a))){var o=this.refs.draggable;this._height=o.clientHeight,this._width=o.clientWidth,this._dragStart={x:e.clientX,y:e.clientY},this._offsetX=e.clientX-this.state.x,this._offsetY=e.clientY-this.state.y,window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("mouseup",this.handleMouseUp)}},handleMouseMove:function(e){var t=this;e.preventDefault();var n=this.state,a=n.dragging,o=n.dragging;if(!a&&s(this._dragStart,{x:e.clientX,y:e.clientY})>u&&(a=!0),a){var r=this.state.flipped,i=this.props,l=i.maxX,f=i.disableFlip,c=r;f||(e.clientX>l/2&&!r?c=!0:e.clientX<l/2&&r&&(c=!1),c!==r&&(this._offsetX=this._width-this._offsetX));var d=this.translate(e),p=d.x,h=d.y;this.setState({flipped:c,x:p,y:h,dragging:a},function(){o||t.props.onDragStart&&t.props.onDragStart(e.clientX,e.clientY),t.props.onDrag&&t.props.onDrag(p,h),r!==c&&t.props.onFlip&&t.props.onFlip(c)})}},handleMouseUp:function(){var e=this;window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp),this.state.dragging&&this.setState({dragging:!1},function(){var t=e.state,n=t.x,a=t.y;e.props.onDragEnd&&e.props.onDragEnd(n,a)})},translate:function(e){var t=this.props,n=t.maxX,a=t.maxY,o=e.clientX-this._offsetX,r=e.clientY-this._offsetY;return o<0?o=0:o>n-this._width&&(o=n-this._width),r<0?r=0:r>a-this._height&&(r=a-this._height),{x:o,y:r}},render:function(){var e=this,t=this.state,n=t.x,a=t.y,o=t.flipped,i=t.dragging,s={pointerEvents:i?"none":"auto",transform:"translate3d("+n+"px, "+a+"px, 0)"};return r.default.createElement("div",{ref:"draggable",className:this.props.className,onMouseDown:this.handleMouseDown,style:s},r.default.Children.map(this.props.children,function(t){return r.default.cloneElement(t,{flipped:o,checkBounds:e.checkBounds})}))},componentDidMount:function(){this.checkBounds()},componentDidUpdate:function(e,t){e.maxX===this.props.maxX&&e.maxY===this.props.maxY&&t.flipped===this.state.flipped||this.checkBounds()},checkBounds:function(){var e=this,t=this.refs.draggable,n=t.clientHeight,a=t.clientWidth,o=this.props,r=o.maxX,i=o.maxY,s=this.state,l=s.x,u=s.y,f=!1;l+a>r&&(l=Math.max(r-a,0),f=!0),u+n>i&&(u=Math.max(i-n,0),f=!0),f&&this.setState({x:l,y:u},function(){e.props.onRelocated&&e.props.onRelocated(l,u)})}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(33),c=a(f),d=n(15),p=a(d),h=n(313),g=a(h),m=n(383),v=n(1);n(2129);var E=s("div",{className:"guild-icon-dragged"}),y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.renderLock=function(){var e=this.props,t=e.locked,a=e.lockTooltip,o=e.theme;if(!t)return null;var r=n(o===v.ThemeTypes.DARK?3011:3010);return s(p.default,{shrink:0,grow:0,className:"margin-reset",align:p.default.Align.CENTER},void 0,s(c.default,{text:a,type:c.default.ERROR},void 0,s(g.default,{className:"lock",src:r})))},t.prototype.render=function(){var e=this.props,t=e.color,n=e.id,a=e.children,o=e.selected;return e.isDragging?E:s(m.TabBarItem,{className:"guild-role",id:n,selected:!!o,color:t||void 0},void 0,s(p.default,{align:p.default.Align.CENTER},void 0,this.renderLock(),s(p.default.Child,{className:"overflow-ellipsis"},void 0,a)))},t}(u.default.PureComponent);t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){var n=Math.min(Math.round(.65*window.innerHeight),D),a=Math.min(Math.round(.75*window.innerWidth),D),o=e,r=t;return o>a&&(o=a,r*=o/e),r>n&&(o*=n/r,r=n),o=Math.round(o),r=Math.round(r),{width:o,height:r}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(23),c=a(f),d=n(7),p=a(d),h=n(6),g=a(h),m=n(2),v=a(m),E=n(46),y=a(E),_=n(14),b=a(_),S=n(838),I=n(90),T=a(I),N=n(1),A=n(3),M=a(A);n(2167);var C=/\.gif($|\?|#)/i,O=/\?.*$/,D=2e3,L=s(y.default,{}),R=function(e){var t=e.width,n=e.height,a=e.onClick;return s("span",{className:"image image-loading",style:{width:t,height:n,backgroundImage:e.backgroundImage},onClick:a},void 0,L)},x=function(e){var t=e.smallSrc,n=(e.onClose,e.href),a=o(e,["smallSrc","onClose","href"]),l=e.width,f=e.height,c=r(l,f),d=c.width,p=c.height;return s("div",{className:"modal-image"},void 0,u.default.createElement(P,i({placeholder:t,lightbox:!1,resize:!1,maxWidth:d,maxHeight:p},a)),s("a",{href:n||a.src,target:"_blank",rel:"noreferrer",className:"download-button"},void 0,M.default.Messages.OPEN_ORIGINAL_IMAGE))},w=s("span",{className:"image-gif"}),P=u.default.createClass({displayName:"Image",mixins:[g.default,v.default.StoreListenerMixin(T.default)],getDefaultProps:function(){return{resize:!1,lightbox:!0,maxWidth:400,maxHeight:300}},getInitialState:function(){return{loaded:!1,error:!1,imageState:null,animate:!1}},getStateFromStores:function(){return{windowFocused:T.default.isFocused()}},getSrc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(e*=window.devicePixelRatio||1,e<1){var t=this.props,n=t.width,a=t.height;return this.getSrcWithWidthAndHeight({width:Math.ceil(n*e),height:Math.ceil(a*e)})}return this.props.src},getSrcWithWidthAndHeight:function(e){var t=e.width,n=e.height,a=this.props,o=a.width,r=a.height,i=a.src;return t===o&&n===r?this.props.src:i.replace(O,"")+"?width="+(0|t)+"&height="+(0|n)},getWidth:function(){return Math.round(this.props.width*this.getRatio())},getHeight:function(){return Math.round(this.props.height*this.getRatio())},getRatio:function(){var e=this.props,t=e.maxWidth,n=e.maxHeight,a=this.props,o=a.width,r=a.height,i=1;o>t&&(i=t/o),o=Math.round(o*i),r=Math.round(r*i);var s=1;return r>n&&(s=n/r),Math.min(i*s,1)},updateCanvas:function(){var e=this;if(this.state.loaded){var t=void 0;if(this.refs.canvas){var n=function(){var n=e.refs.canvas;e.isMounted()&&null!=n&&n.getContext("2d").drawImage(t,0,0,e.getWidth(),e.getHeight())};t=new window.Image,t.src=this.props.src,t.complete?n():t.onload=n}else this.isGIF()&&(t=c.default.findDOMNode(this),t.offsetHeight,t.src=this.props.src)}},handleImageLoad:function(e,t){var n=!e;if(!e){var a=t.width,o=t.height;(a>N.MAX_IMAGE_WIDTH||o>N.MAX_IMAGE_HEIGHT)&&(e=!0)}this.setState({loaded:n,error:e,imageState:t})},componentDidMount:function(){var e=this;this.updateCanvas();var t=this.getSrc(this.getRatio());this.loadImage(t,function(t,n){return e.handleImageLoad(t,n)})},componentDidUpdate:function(){this.updateCanvas()},loadImage:function(e,t){var n=this,a=(0,S.loadImage)(e,function(e,o){n._cancellers&&n._cancellers.delete(a),t&&t(e,o)});a&&(this._cancellers||(this._cancellers=new Set),this._cancellers.add(a))},componentWillUnmount:function(){this._cancellers&&(this._cancellers.forEach(function(e){return e()}),this._cancellers.clear())},preloadModalImage:function(){var e=this.props,t=e.width,n=e.height;this.loadImage(this.getSrcWithWidthAndHeight(r(t,n)))},render:function(){var e=this.getWidth(),t=this.getHeight();if(null==e||null==t)return null;var n=p.default.omit(this.props,["onLoad","maxWidth","maxHeight","resize","lightbox"]);n.src=this.getSrc(this.getRatio()),n.width=e,n.height=t,this.props.lightbox&&(n.onClick=this.handleClick,n.onMouseEnter=this.preloadModalImage);var a=null;return this.state.loaded?this.state.loaded&&this.state.error?s("div",{className:"embed"},void 0,s("span",{className:"embed-error"},void 0,M.default.Messages.IMAGE_TOO_LARGE)):(this.isGIF()?(n.onMouseEnter=this.handleMouseEnter,n.onMouseLeave=this.handleMouseLeave,a=this.state.animate&&this.state.windowFocused?u.default.createElement("img",i({className:"image"},n)):s("span",{className:"image"},void 0,u.default.createElement("canvas",i({ref:"canvas"},n)),w)):a=u.default.createElement("img",i({className:"image"},n)),a):this.state.error?null:(this.props.placeholder&&(n.backgroundImage="url("+this.props.placeholder+")"),u.default.createElement(R,n))},isGIF:function(){return C.test(this.props.href)},handleMouseEnter:function(){this.setState({animate:!0})},handleMouseLeave:function(){this.setState({animate:!1})},handleClick:function(e){var t=this;if(this.props.resize){e.preventDefault();var n=this.getSrc();b.default.push(function(e){return u.default.createElement(x,i({href:t.props.href||n,smallSrc:t.getSrc(t.getRatio()),src:n,width:t.props.width,height:t.props.height},e))})}}});t.default=P,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(5),d=a(c),p=n(143),h=a(p),g=n(118),m=a(g),v=function(e){return l("div",{style:{width:"100%",height:e.height,visibility:"hidden"}})},E=function(){function e(t,n,a,o){i(this,e),this.sectionHeight=t,this.rowHeight=n,this.numberOfSections=a.length,this.numberOfRows=a.reduce(function(e,t){return e+t},0),this.sections=a,this.uniform=o}return e.prototype.getHeight=function(){for(var e=0,t=0;t<this.numberOfSections;t++)if(e+=this.getHeightForSection(t),this.uniform)e+=this.sections[t]*this.getHeightForRow(t);else for(var n=0;n<this.sections[t];n++)e+=this.getHeightForRow(t,n);return e},e.prototype.getHeightForSection=function(e){var t=this.sectionHeight;return"number"==typeof t?t:t(e)},e.prototype.getHeightForRow=function(e,t){var n=this.rowHeight;return"number"==typeof n?n:n(e,t)},e.prototype.compute=function(e,t){function n(n){var a=o;return o+=n,o<e?(r+=n,!1):!(a>t)||(i+=n,!1)}for(var a=this.sections,o=0,r=0,i=0,s=[],l=0;l<a.length;l++){var u=a[l];if(0!==u)if(n(this.getHeightForSection(l))&&s.push({section:l}),this.uniform)for(var f=this.getHeightForRow(l),c=0;c<u;c++)n(f)&&s.push({section:l,row:c});else for(var d=0;d<u;d++)n(this.getHeightForRow(l,d))&&s.push({section:l,row:d})}return{spacerTop:r,spacerBottom:i,items:s}},e.prototype.computeScrollPosition=function(e){for(var t=this.sections,n=0,a=0,o=0,r=0;r<t.length&&a<=e&&(o=this.getHeightForSection(r),a<=e);r++){n+=o;var i=t[r];if(this.uniform){o=this.getHeightForRow(r);for(var s=0;s<i&&(a+=1,a<=e);s++)n+=o}else for(var l=0;l<i&&a<=e&&(a+=1,o=this.getHeightForRow(r,l),a<=e);l++)n+=o}return{scrollTop:n,rowHeight:o}},e}(),y=function(e){function t(n){i(this,t);var a=o(this,e.call(this,n));return a.state={spacerTop:0,spacerBottom:0,items:[],scrolling:!1},a.handleResize=a.handleResize.bind(a),a.handleScroll=a.handleScroll.bind(a),a.setScrollerRef=a.setScrollerRef.bind(a),a}return r(t,e),t.prototype.componentDidMount=function(){this.setState(this.getStateFromScroller())},t.prototype.componentWillReceiveProps=function(e){e.uniform&&(0,m.default)(e,this.props)||this.setState(this.getStateFromScroller(e))},t.prototype.componentDidUpdate=function(e,t){t.containerHeight!==this.getContainerHeight()&&this.setState(this.getStateFromScroller())},t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollingTimeout)},t.prototype.setScrollerRef=function(e){this._scroller=e},t.prototype.getStateFromScroller=function(e){var t=e||this.props,n=t.sectionHeight,a=t.rowHeight,o=t.sections,r=t.uniform,i=new E(n,a,o,r),l=this.getScrollTop(),u=this.getContainerHeight(),f=Math.ceil(u/2),c=Math.ceil(l/f),d=f*c,p=d+f;return s({containerHeight:u},i.compute(Math.max(0,d-f),Math.min(i.getHeight(),p+f)))},t.prototype.handleResize=function(e){this.setState(this.getStateFromScroller());var t=this.props.onResize;null!=t&&t(e)},t.prototype.handleScroll=function(e){var t=this;clearTimeout(this._scrollingTimeout),this._scrollingTimeout=setTimeout(function(){return t.setState({scrolling:!1})},100),this.setState(s({},this.getStateFromScroller(),{scrolling:!0}));var n=this.props.onScroll;null!=n&&n(e)},t.prototype.render=function(){var e=this.props,t=e.renderSection,n=e.renderRow,a=e.children,o=e.track,r=e.theme,i=this.state,u=i.spacerTop,c=i.spacerBottom,p=i.items,g=i.scrolling;return f.default.createElement(h.default,s({},this.props,{ref:this.setScrollerRef,className:(0,d.default)(this.props.className,{scrolling:g}),onResize:this.handleResize,onScroll:this.handleScroll,track:o,theme:r}),a,l(v,{height:u}),p.map(function(e){var a=e.section,o=e.row;return null==o?t(a):n(a,o)}),l(v,{height:c}))},t.prototype.getScrollerNode=function(){return this._scroller.getScrollerNode()},t.prototype.getScrollTop=function(){return this._scroller.getScrollData().scrollTop},t.prototype.getContainerHeight=function(){return this._scroller.getScrollData().offsetHeight},t.prototype.scrollIntoView=function(e,t,n){this._scroller.scrollIntoViewRect(e,t,n)},t.prototype.scrollTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._scroller.scrollTo(e,t)},t.prototype.scrollToRow=function(e,t){var n=this.props,a=n.sectionHeight,o=n.rowHeight,r=n.sections,i=n.uniform,s=new E(a,o,r,i),l=s.computeScrollPosition(e),u=this.getScrollTop(),f=this.getContainerHeight();return l.scrollTop<u?void this.scrollTo(l.scrollTop,t):l.scrollTop+l.rowHeight>u+f?void this.scrollTo(l.scrollTop-f+l.rowHeight,t):void 0},t}(f.default.PureComponent);y.Themes=h.default.Themes,y.defaultProps={track:!1,renderSection:function(){return null},sectionHeight:0,uniform:!0,theme:h.default.Themes.GHOST},t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(6),d=a(c),p=n(3),h=a(p),g=n(107),m=a(g),v=n(1595),E=a(v),y=n(1242),_=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.shouldComponentUpdate=d.default.shouldComponentUpdate.bind(a),a}return s(t,e),t.prototype.onClick=function(e){e.preventDefault();var t=this.props,n=t.onConfirm,a=t.href,o=t.trusted;if(n||(n=function(){return window.open(a,"_blank")}),E.default.isTrusted(a)||o)return void n();var r=function(){(0,y.trustDomain)(a),n()};m.default.show({title:h.default.Messages.HOLD_UP,body:h.default.Messages.MASKED_LINK_BODY.format({url:a}),cancelText:h.default.Messages.MASKED_LINK_CANCEL,confirmText:h.default.Messages.MASKED_LINK_CONFIRM,onConfirm:n,minorText:h.default.Messages.MASKED_LINK_TRUST_THIS_DOMAIN,onConfirmSecondary:r})},t.prototype.render=function(){var e=this.props,t=(e.onConfirm,e.href),n=e.children,a=e.title,r=(e.trusted,o(e,["onConfirm","href","children","title","trusted"]));return f.default.createElement("a",l({title:a,href:t,target:"_blank",rel:"noreferrer",onClick:this.onClick.bind(this)},r),n||a)},t}(f.default.Component);t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(7),f=a(u),c=n(6),d=a(c),p=n(67),h=a(p),g=n(2),m=a(g),v=n(47),E=a(v),y=n(88),_=a(y),b=n(54),S=a(b),I=n(42),T=a(I),N=n(107),A=a(N),M=n(46),C=a(M),O=n(299),D=a(O),L=n(41),R=a(L),x=n(508),w=a(x),P=n(3),k=a(P),U=n(90),G=a(U),j=n(13),F=a(j),B=n(1),V=n(526),H=a(V),z=n(29),W=a(z),Y=n(52),K=(a(Y),n(129)),Q=(a(K),n(19)),Z=a(Q),X=n(377),J=a(X),q=n(84),$=a(q),ee=n(11),te=a(ee),ne=n(12),ae=a(ne),oe=n(87),re=a(oe);n(941);var ie="SCROLLER_REF",se=43,le=25,ue=40,fe=function(e){var t=e.title,n=e.children;return o("div",{className:"header"},void 0,o("div",{className:"title"},void 0,t),n)},ce=function(e){var t=e.msg;return o("div",{className:"empty-placeholder"},void 0,o("div",{className:"image",style:{backgroundImage:"url("+e.image+")"}}),o("div",{className:"body"},void 0,t))},de=function(e){var t=e.msg,n=e.image;return o("div",{className:"empty-placeholder bottom"},void 0,o("div",{className:"body"},void 0,t),o("div",{className:"image",style:{backgroundImage:"url("+n+")"}}))},pe=o("div",{className:"empty-placeholder loading-placeholder"},void 0,o(C.default,{})),he=o("div",{className:"loading-more"},"loading-more-after",o(C.default,{})),ge=i.default.createClass({displayName:"MessagesPopout",mixins:[m.default.StoreListenerMixin(F.default,G.default,H.default,_.default),E.default,d.default,re.default],statics:{EmptyStateCenter:ce,EmptyStateBottom:de,Header:fe},getDefaultProps:function(){return{showChannels:!1,showGuildNames:!1,renderMentioned:!0,canCloseAllMessages:!1}},getSubscriptions:function(){var e;return e={},e[B.ComponentActions.SCROLL_PAGE_DOWN]=this.scrollPageDown,e[B.ComponentActions.SCROLL_PAGE_UP]=this.scrollPageUp,e},scrollPageUp:function(){var e=this.refs[ie];e&&e.scrollPageUp(!0)},scrollPageDown:function(){var e=this.refs[ie];e&&e.scrollPageDown(!0)},componentWillMount:function(){W.default.track("Open Popout",{Type:this.props.analyticsName}),this.props.onFetch(this.props.channel)},getStateFromStores:function(){var e=H.default.hasNotice(),t=F.default.inlineAttachmentMedia,n=F.default.inlineEmbedMedia,a=F.default.renderEmbeds,o=F.default.developerMode,r=F.default.messageDisplayCompact,i=this.props.channel?_.default.getMessages(this.props.channel.id):null,s=!!i&&(i.loadingMore&&!i.get(i.jumpTargetId));return{inlineAttachmentMedia:t,inlineEmbedMedia:n,renderEmbeds:a,developerMode:o,messageDisplayCompact:r,isNoticeOpen:e,size:G.default.windowSize(),jumping:s}},renderControlButtons:function(e,t,n){var a=n[0],r=null;return this.props.onCloseMessage&&(this.props.canCloseAllMessages||e.isPrivate()||this.can(B.Permissions.MANAGE_MESSAGES,e))&&(r=o("div",{className:"close-button",onClick:this.props.onCloseMessage.bind(null,a)})),o("div",{className:"action-buttons"},void 0,o("div",{className:"jump-button",onClick:this.jumpTo.bind(this,a)},void 0,o("div",{className:(0,l.default)("text",{hidden:t})},void 0,k.default.Messages.JUMP),o(C.default,{type:"pulsing-ellipsis",className:(0,l.default)("loading",{visible:t})})),r)},jumpTo:function(e,t){var n=e.id,a=e.blocked,o=e.author,r=e.channel_id;if(a)A.default.show({title:k.default.Messages.UNBLOCK_TO_JUMP_TITLE,body:k.default.Messages.UNBLOCK_TO_JUMP_BODY.format({name:o.username}),confirmText:k.default.Messages.OKAY});else if(!this.state.jumping){var i=te.default.getChannel(r);i&&(S.default.trackJump(r,n,this.props.analyticsName),T.default.transitionTo(B.Routes.MESSAGE(i.getGuildId(),r,n))),this.props.onJump&&this.props.onJump(t)}},handleScroll:function(){var e=this.refs[ie].getScrollData();e.scrollHeight===e.scrollTop+e.offsetHeight&&this.props.hasMore&&!this.props.loading&&this.props.loadMore()},selectChannel:function(e,t){e!==Z.default.getChannelId()&&$.default.transitionToInviteChannelSync(e),this.props.onJump&&this.props.onJump(t)},render:function(){var e=this,t=null,n=!0,a=this.props,r=a.messages,s=a.loading,l=a.channel,u=this.state.jumping;if(r)if(0===r.length)t=this.props.renderEmptyState(F.default.theme);else{n=!1,t=[];var c=this.props.showChannels?null:l,d=this.state,p=d.renderEmbeds,g=d.inlineEmbedMedia,m=d.inlineAttachmentMedia;f.default.each(r,function(n){if(e.props.showChannels&&(null==c||c.id!==n.channel_id)){c=te.default.getChannel(n.channel_id);var a=ae.default.getGuild(c.getGuildId());t.push(o("div",{className:"channel-separator"},""+n.id+c.id,o("span",{className:"channel-name",onClick:e.selectChannel.bind(null,c.id)},void 0,c?c.toString(!0):"???"),e.props.showGuildNames&&o("span",{className:"guild-name"},void 0,a?a.toString():"")))}var r=c.isNSFW()?J.default.didAgree(c.getGuildId()):null,i=o(D.default,{messages:[n],channel:c,inlineAttachmentMedia:m&&null!=r?r:m,inlineEmbedMedia:g&&null!=r?r:g,renderEmbeds:p&&null!=r?r:p,compact:e.state.messageDisplayCompact,developerMode:e.state.developerMode,hasDivider:!1,popoutPosition:R.default.LEFT,avatarSize:"large",groupOption:e.renderControlButtons.bind(e,l,u),onClickAnywhere:e.jumpTo.bind(e,n),messageOption:!1,canEdit:!1,renderMentioned:e.props.renderMentioned},n.id);t.push(i)})}else t=pe;var v=null;t.length>0&&this.props.loadMore&&(v=s?he:this.props.hasMore?o("div",{className:"has-more"},"has-more-after",o("button",{type:"button",onClick:this.props.loadMore},void 0,k.default.Messages.LOAD_MORE_MESSAGES)):o("div",{className:"scrolling-footer-wrap"},void 0,this.props.renderEmptyState(F.default.theme)));var E=this.props.getProTip&&this.props.getProTip(),y=n&&E?o("div",{className:"footer"},void 0,o(w.default,{type:"popout-footer",tip:E})):null,_={maxHeight:this.state.size.height-se-le};this.state.isNoticeOpen&&(_.maxHeight-=ue);var b="light"===F.default.theme?null:F.default.theme,S=this.props.loadMore&&this.props.hasMore;return o("div",{className:"messages-popout-wrap themed-popout "+this.props.className,style:_},void 0,this.props.renderHeader(),i.default.createElement(h.default,{className:"messages-popout",theme:b,ref:ie,onScroll:S?this.handleScroll:void 0},t,v),y)}});t.default=ge,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.NewMessageIndicatorTypes=void 0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(6),u=a(l),f=n(5),c=a(f),d=n(7),p=a(d),h=n(2),g=a(h),m=n(3),v=a(m),E=n(274),y=a(E),_=n(89),b=a(_),S=n(221),I=a(S),T=n(165),N=a(T),A=n(98),M=a(A),C=n(11),O=a(C),D=n(1);n(2168);var L=t.NewMessageIndicatorTypes={CHANNEL:"channel",GUILD:"guild"},R=o("span",{className:"icon icon-unread-arrow"}),x=s.default.createClass({displayName:"NewMessagesIndicator",mixins:[u.default,g.default.LazyStoreListenerMixin(b.default,I.default,N.default,M.default,O.default)],getDefaultProps:function(){return{mentionText:v.default.Messages.NEW_MENTIONS,initialHeight:0,bottom:!1}},getInitialState:function(){return r({isMounted:!1,scrollToId:null},this.getStateFromStores())},getStateFromStores:function(){var e=this.getMentionInfo(this.props.guildId);return r({},e,{scrollToId:this.getScrollToId(e)})},getMentionInfo:function(e){var t=void 0,n=void 0;if(this.props.type==L.CHANNEL)n=M.default.getChannels(e)[D.ChannelTypes.GUILD_TEXT],t=n.map(function(e){var t=e.channel;return b.default.getMentionCount(t.id)});else if(this.props.type==L.GUILD){var a=N.default.getSortedGuilds(),o=(0,p.default)(O.default.getChannels()).filter(function(e){return e.isPrivate()&&b.default.getMentionCount(e.id)>0}).value();n=[].concat(o,a);var r=I.default.getMentionCounts(),i=a.map(function(e){return r[e.guild.id]}),s=o.map(function(){return!0});t=[].concat(s,i)}else t=[],n=[];return{mentions:t,list:n}},componentDidMount:function(){this.setState({isMounted:!0})},getScrollToId:function(e){var t,n=this.props,a=n.initialHeight,o=n.getRowHeight,r=n.getContainerHeight,i=n.scrollTop,s=n.bottom,l=e.mentions,u=e.list;if(!this.state||!this.state.isMounted)return null;var f=(t={},t[-1]=a,t),c=function e(t){if(void 0!==f[t])return f[t];e(t-1);var n=f[t-1],a=o(t),r=n+a;return f[t]=r,r},d=void 0;if(d=s?(0,p.default)(u).findLast(function(e,t){var n=i+r();return l[t]&&n<c(t)-o(t)}):u.find(function(e,t){return l[t]&&i>c(t)})){return(d.guild||d.channel||d).id}return null},componentDidUpdate:function(e,t){if(t.isMounted!=this.state.isMounted||!(0,y.default)(this.props,e)){var n=void 0;if(e.guildId!==this.props.guildId){var a=this.getMentionInfo(this.props.guildId);n=r({},a,{scrollToId:this.getScrollToId(a)})}else n={scrollToId:this.getScrollToId(this.state)};this.setState(n)}},handleClick:function(){this.props.onClick(this.state.scrollToId,!0)},render:function(){var e=this.props,t=e.bottom,n=e.mentionText,a=e.type;return this.state.scrollToId?o("div",{className:(0,c.default)("new-messages-indicator","new-messages-indicator-"+a,"new-messages-indicator-mention",{bottom:t}),onClick:this.handleClick},void 0,n,R):null}});t.default=x},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(23),l=a(s),u=n(6),f=a(u),c=n(3),d=a(c),p=n(2),h=a(p),g=n(755),m=a(g),v=n(805),E=a(v),y=n(31),_=a(y),b=n(1244),S=a(b);n(2169);var I="NOTE_REF",T=256,N=5,A=i.default.createClass({displayName:"Note",mixins:[h.default.StoreListenerMixin(E.default,_.default),f.default],getStateFromStores:function(){return{note:E.default.getNote(this.props.userId),hideNote:_.default.hidePersonalInformation}},handleBlur:function(e){var t=e.currentTarget.value;this.state.note!==t&&S.default.updateNote(this.props.userId,t)},handleKeyPress:function(e){13===e.which&&(e.shiftKey?(e.currentTarget.value.match(/\n/g)||[]).length>=N&&e.preventDefault():(e.preventDefault(),e.currentTarget.blur()))},componentDidMount:function(){if(this.props.autoFocus&&!this.state.hideNote){var e=l.default.findDOMNode(this.refs[I]);null!=e&&null!=e.selectionStart&&(e.focus(),e.selectionStart=e.selectionEnd=e.value.length)}},render:function(){var e=this.state,t=e.note;return e.hideNote?null:o("div",{className:"note"},void 0,i.default.createElement(m.default,{ref:I,placeholder:d.default.Messages.NOTE_PLACEHOLDER,spellCheck:!1,onBlur:this.handleBlur,onKeyPress:this.handleKeyPress,defaultValue:t,maxLength:T}))}});t.default=A,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(99),p=a(d),h=n(66),g=a(h),m=n(110),v=a(m),E=n(1637),y=a(E),_=n(33),b=a(_),S=n(55),I=a(S),T=n(833),N=a(T),A=n(1);n(2130);var M=s("span",{},void 0,s(N.default,{className:"permission-form-disabled-icon",width:18,height:18})),C=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getOverwriteValue=function(e){var t=this.props,n=t.allow,a=t.deny;if(null==n||null==a)throw new Error("PermissionsForm.getOverwriteValue: Invalid allow or deny props");return n&e?I.default.ALLOW:a&e?I.default.DENY:I.default.PASSTHROUGH},t.prototype.getPermissionValue=function(e,t){return!!(t&e)},t.prototype.getChangeHandler=function(e,t){var n=this;return null!=t?function(t){var a=t.target.checked;return n.handleChange(e,a)}:function(t){return n.handleChange(e,t)}},t.prototype.handleChange=function(e,t){(0,this.props.onChange)(e,t)},t.prototype.renderDisabledIndicator=function(e){return s(b.default,{text:e,position:b.default.TOP,type:b.default.ERROR},void 0,M)},t.prototype.renderComponent=function(e){var t=e.title,n=e.description,a=e.flag,o=this.props,r=o.permissions,i=o.locked,l=o.permissionRender,u=this.getChangeHandler(a,r),f=l&&l(a),d=!(!i&&!f),p="string"==typeof f?this.renderDisabledIndicator(f):null,h=(0,c.default)({"permission-form-disabled-title":null!=p});return null==r?s(y.default,{disabled:d,value:this.getOverwriteValue(a),onChange:u,note:n},a,p,s("span",{className:h},void 0,t)):s(v.default,{fill:A.Colors.STATUS_GREEN,disabled:d,value:this.getPermissionValue(a,r),onChange:u,note:n},a,p,s("span",{className:h},void 0,t))},t.prototype.render=function(){var e=this.props,t=e.spec,n=e.className;return s(p.default,{className:n},void 0,s(g.default,{tag:h.Tags.H5,className:"margin-bottom-20"},void 0,t.title),t.permissions.map(this.renderComponent,this))},t}(u.default.PureComponent);t.default=C,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(123),u=s.default.createClass({displayName:"Pill",getDefaultProps:function(){return{component:"span",hasBorder:!1,hasHover:!0}},getInitialState:function(){return this.props.color?{textColor:(0,l.int2hex)(this.props.color),backgroundColor:(0,l.int2rgba)(this.props.color,.1),backgroundColorHovered:(0,l.int2rgba)(this.props.color,.3),borderColor:this.props.hasBorder?(0,l.int2rgba)(this.props.color,.5):"transparent",isHovered:!1}:{}},handleMouseEnter:function(e){this.setState({isHovered:!0}),this.props.onMouseEnter&&this.props.onMouseEnter(e)},handleMouseLeave:function(e){this.setState({isHovered:!1}),this.props.handleMouseLeave&&this.props.handleMouseLeave(e)},render:function(){var e=void 0;e=this.state.textColor?{color:this.state.textColor,backgroundColor:this.state.isHovered&&this.props.hasHover?this.state.backgroundColorHovered:this.state.backgroundColor,border:this.props.hasBorder?"1px solid "+this.state.borderColor:"none"}:{};var t=this.props,n=t.children,a=(t.component,t.hasBorder,t.hasHover,t.color,o(t,["children","component","hasBorder","hasHover","color"]));return s.default.createElement("component",r({},a,{style:e,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave}),n)}});t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0,t.PopoutMenuSeparator=t.PopoutMenuItemLabel=t.PopoutMenuItem=t.PopoutMenuIcon=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(6),f=a(u),c=n(5),d=a(c),p=n(24),h=a(p);n(2170);var g=(t.PopoutMenuIcon=function(e){return i("div",{className:"popout-menu-icon",style:{backgroundImage:'url("'+e.icon+'")'}})},function(e){var t=e.children,n=e.type,a=o(e,["children","type"]);return l.default.createElement("div",r({className:"popout-menu-item "+(n||"")},a),t)});t.PopoutMenuItem=g;var m=(t.PopoutMenuItemLabel=function(e){return i("div",{className:"popout-menu-item-label"},void 0,e.children)},i("div",{className:"popout-menu-separator"})),v=(t.PopoutMenuSeparator=function(){return m},l.default.createClass({displayName:"PopoutMenu",mixins:[f.default],render:function(){var e=(0,d.default)(this.props.className,"popout-menu");return i(h.default.div,{className:e},void 0,this.props.children)}}));t.default=v},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(3),d=a(c),p=n(535),h=a(p),g=n(826),m=a(g),v=n(143),E=a(v),y=n(41),_=a(y),b=n(85),S=a(b),I=l(m.default.Divider,{}),T=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.renderPopout=a.renderPopout.bind(a),a.renderItems=a.renderItems.bind(a),a.handleChange=a.handleChange.bind(a),a}return i(t,e),t.prototype.renderItems=function(){var e=this,t=this.props,n=t.items,a=t.renderItem;return 0===n.length?l(m.default.Empty,{},void 0,d.default.Messages.NONE):l(E.default,{track:!0,className:"ui-popout-list-options"},void 0,n.map(function(t,n){return null!=a?a(t,n):f.default.createElement(m.default.Item,s({key:n},t,{onClick:e.handleChange}))}))},t.prototype.renderPopout=function(e){var t=this.props,n=t.searchProps,a=t.popoutClassName;return f.default.createElement(m.default,s({},e,{className:a}),f.default.createElement(m.default.SearchBar,n),I,this.renderItems())},t.prototype.render=function(){var e=this.props,t=e.label,n=e.value,a=e.renderValue,o=e.className,r=e.popoutId,i=e.popoutProps;return f.default.createElement(_.default,s({},i,{uniqueId:r,render:this.renderPopout}),l("div",{className:o},void 0,l(h.default,{label:t,value:n,renderValue:a})))},t.prototype.handleChange=function(e){var t=this.props,n=t.popoutId,a=t.onChange;S.default.close(n),a&&a(e)},t}(f.default.PureComponent);t.default=T,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(7),c=a(f),d=n(3),p=a(d),h=n(61),g=a(h),m=n(504),v=a(m),E=n(84),y=a(E),_=n(14),b=a(_),S=n(218),I=n(15),T=a(I),N=n(121),A=a(N),M=n(256),C=a(M),O=n(142),D=a(O),L=n(77),R=n(227),x=a(R);n(282),n(330),n(2132);var w={INVITER:"3",INVITE_CODE:"3",USES:"1",EXPIRES:"2"},P=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleRevokeInvite=a.handleRevokeInvite.bind(a),a}return i(t,e),t.prototype.renderChannel=function(){var e=this.props,t=e.showChannel,n=e.invite;return t?s(x.default,{size:x.default.Sizes.SMALL,className:"channel-name",style:{opacity:.3}},void 0,n.channel.toString(!0)):null},t.prototype.renderUser=function(){var e=this.props.invite.inviter;return null==e?null:s(T.default,{},void 0,s(g.default,{user:e,size:"xsmall"}),s(x.default,{className:"username"},void 0,e.toString()))},t.prototype.render=function(){var e=this.props,t=e.invite,n=e.hide,a=t.uses;return t.maxUses>0&&(a=t.uses+"/"+t.maxUses),s(T.default,{className:"invite-settings-invite-row ui-hover-card"},void 0,s(T.default,{grow:w.INVITER,basis:0,align:T.default.Align.CENTER,className:"td z-index-boost"},void 0,s(T.default.Child,{},void 0,this.renderUser(),this.renderChannel())),s(T.default,{grow:w.INVITE_CODE,shrink:1,basis:0,align:T.default.Align.CENTER,className:"td z-index-boost"},void 0,s(x.default,{family:x.default.Family.CODE,className:"overflow-ellipsis user-select-text",style:{opacity:.3}},void 0,n?"...":t.code)),s(T.default,{grow:w.USES,basis:0,justify:T.default.Justify.END,align:T.default.Align.CENTER,className:"td z-index-boost"},void 0,s(x.default,{family:x.default.Family.CODE,className:"text-align-right"},void 0,a)),s(T.default,{grow:w.EXPIRES,basis:0,align:T.default.Align.CENTER,justify:T.default.Justify.END,className:"td countdown-column z-index-boost"},void 0,s(x.default,{family:x.default.Family.CODE,className:"text-align-right"},void 0,s(v.default,{deadline:t.getExpiresAt()}))),s("div",{className:"revoke-invite round-remove-button",onClick:this.handleRevokeInvite}))},t.prototype.handleRevokeInvite=function(){y.default.revokeInvite(this.props.invite.code)},t}(u.default.PureComponent),k=s(L.FormDivider,{className:"margin-bottom-20"}),U=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleShowInviteModal=a.handleShowInviteModal.bind(a),a}return i(t,e),t.prototype.handleShowInviteModal=function(){var e=this.props.guild;b.default.push(C.default,{guild:e,source:"Settings Invite"})},t.prototype.renderInvites=function(){var e=this.props,t=e.invites,n=e.hide,a=e.showChannel,o=e.loading;return null==t||o?[s(A.default,{className:"margin-top-20",type:A.default.Type.SPINNING_CIRCLE},"spinner")]:(0,c.default)(t).sortBy(function(e){return(e.inviter&&e.inviter.username||"").toLowerCase()}).map(function(e){return s(P,{hide:n,invite:e,showChannel:a},e.code)}).value()},t.prototype.renderHeader=function(){var e=this.props,t=e.invites,a=e.loading,o=e.theme,r=void 0;return null==t||a||(r=c.default.isEmpty(t)?s(D.default,{theme:o,className:"margin-top-20"},void 0,s(O.EmptyStateImage,{darkSrc:n(2948),lightSrc:n(2949),width:256,height:130}),s(O.EmptyStateText,{note:p.default.Messages.NO_INVITES_BODY},void 0,p.default.Messages.NO_INVITES_LABEL)):s(T.default,{},void 0,s(T.default.Child,{grow:w.INVITER,basis:0,className:"margin-reset"},void 0,s(L.FormTitle,{},void 0,p.default.Messages.INSTANT_INVITE_INVITER)),s(T.default.Child,{basis:0,grow:w.INVITE_CODE,className:"margin-reset"},void 0,s(L.FormTitle,{},void 0,p.default.Messages.INSTANT_INVITE_INVITE_CODE)),s(T.default.Child,{grow:w.USES,basis:0,className:"text-align-right"},void 0,s(L.FormTitle,{},void 0,p.default.Messages.INSTANT_INVITE_USES)),s(T.default.Child,{grow:w.EXPIRES,basis:0,className:"text-align-right"},void 0,s(L.FormTitle,{},void 0,p.default.Messages.INSTANT_INVITE_EXPIRES)))),s(L.FormSection,{className:"margin-bottom-4"},void 0,s(L.FormTitle,{tag:L.FormTitleTags.H2},void 0,p.default.Messages.INVITES),s(L.FormText,{className:"margin-bottom-20",type:L.FormTextTypes.DESCRIPTION},void 0,p.default.Messages.SETTINGS_INVITE_TIP.format({onCreateInvite:this.handleShowInviteModal})),k,r)},t.prototype.render=function(){return s(S.LazyContentScroller,{className:"instant-invite-settings",theme:this.props.theme,header:this.renderHeader(),elementHeight:62},void 0,this.renderInvites())},t}(u.default.PureComponent);t.default=U,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(2),d=a(c),p=n(3),h=a(p),g=n(7),m=a(g),v=n(1375),E=a(v),y=n(756),_=a(y),b=n(1376),S=a(b),I=n(159),T=a(I),N=n(99),A=a(N),M=n(91),C=a(M),O=n(50),D=a(O),L=n(66),R=n(121),x=a(R),w=n(142),P=a(w),k=n(31),U=a(k),G=n(1612),j=a(G),F=n(13),B=a(F),V=n(357),H=a(V),z=n(107),W=a(z),Y=n(14),K=a(Y),Q=n(1),Z=["Spidey Bot","Captain Hook"],X=l(T.default,{}),J=l(C.default,{className:"margin-top-20 margin-bottom-20"}),q=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return m.default.bindAll(a,["handleCreateWebhook","renderWebhooks"]),a}return i(t,e),t.prototype.componentWillMount=function(){var e=this.props,t=e.channel,n=e.guild;t?H.default.fetchForChannel(n.id,t.id):H.default.fetchForGuild(n.id)},t.prototype.renderWebhooks=function(){var e=this.props,t=e.webhooks,a=e.error,o=e.theme;return e.isFetching?l(x.default,{className:"margin-top-20",type:x.default.Type.SPINNING_CIRCLE}):null!=a?l(D.default,{},void 0,a):0===t.length?l(P.default,{theme:o,className:"margin-top-20"},void 0,l(w.EmptyStateImage,{darkSrc:n(2950),lightSrc:n(2951),width:292,height:182}),l(w.EmptyStateText,{note:h.default.Messages.SETTINGS_WEBHOOKS_EMPTY_BODY},void 0,h.default.Messages.SETTINGS_WEBHOOKS_EMPTY_TITLE)):t.map(function(e,t){return l(E.default,{webhook:e,theme:o,className:"margin-bottom-8"},t)})},t.prototype.render=function(){var e=this.props,t=e.streamerMode,n=e.error;return t?X:l(A.default,{tag:L.Tags.H2,title:h.default.Messages.WEBHOOKS},void 0,l(S.default,{disabled:null!=n,onCreate:this.handleCreateWebhook}),J,this.renderWebhooks())},t.prototype.handleCreateWebhook=function(){var e=this.props,t=e.guild,n=e.channel,a=Z[m.default.random(0,Z.length-1)];H.default.create(t.id,null!=n?n.id:t.id,{name:a}).then(function(e){return K.default.push(function(t){return f.default.createElement(_.default,s({webhook:e},t))})}).catch(function(e){var t=e.body;if(t&&t.code===Q.AbortCodes.TOO_MANY_WEBHOOKS)return void W.default.show({title:h.default.Messages.WEBHOOK_ERROR_CREATING_WEBHOOK,body:h.default.Messages.WEBHOOK_ERROR_MAX_WEBHOOKS_REACHED});W.default.show({title:h.default.Messages.WEBHOOK_ERROR_CREATING_WEBHOOK,body:h.default.Messages.WEBHOOK_ERROR_INTERNAL_SERVER_ERROR})})},t}(f.default.PureComponent);q.defaultProps={showChannel:!0},t.default=d.default.connectStores([U.default,j.default,B.default],function(e){var t=e.channel,n=e.guild,a=void 0;return a=null!=t?j.default.getWebhooksForChannel(n.id,t.id):j.default.getWebhooksForGuild(n.id),{guild:n,webhooks:a,streamerMode:U.default.enabled,theme:B.default.theme,isFetching:0==a.length&&j.default.isFetching(n.id),error:j.default.error}})(q),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(0),u=a(l),f=n(7),c=a(f),d="SHAKEABLE_ELEMENT",p=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._animate=a._animate.bind(a),a._animationCleanup=a._animationCleanup.bind(a),a.state={shaking:!1},a}return i(t,e),t.prototype.getDefaultAnimProps=function(e,t){var n=Date.now();return{duration:e||300,progress:0,last:n,intensity:t||5,lastDirection:-1,frameCount:0}},t.prototype.componentWillUnmount=function(){this._animationCleanup()},t.prototype.shake=function(e,t){this.animProps=this.getDefaultAnimProps(e,t),this.state.shaking||this.setState({shaking:!0},this._animate)},t.prototype.stop=function(){this.state.shaking&&this.setState({shaking:!1})},t.prototype._animate=function(){var e=this.animProps;if(!this.state.shaking||e.progress>e.duration||!this.refs[d])return void this._animationComplete();var t=Date.now();if(e.progress+=t-e.last,e.last=t,e.frameCount%2){var n=e.lastDirection*e.intensity,a=c.default.random(-e.intensity,e.intensity,!0),o=Math.max(0,Math.cbrt(e.duration-e.progress/1e3));e.intensity*=Math.min(1,o),e.lastDirection*=-1,this.refs[d].style.transform="translate3d("+n+"px,"+a+"px,0px)"}e.frameCount+=1,this._animationFrame=requestAnimationFrame(this._animate)},t.prototype._animationComplete=function(){this.setState({shaking:!1},this._animationCleanup)},t.prototype._animationCleanup=function(){this.refs[d]&&(this.refs[d].style.transform=""),cancelAnimationFrame(this._animationFrame)},t.prototype.render=function(){return u.default.createElement("div",s({},this.props,{ref:d}))},t}(u.default.Component);t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(23),l=a(s),u=n(6),f=a(u);n(2179);var c=i.default.createClass({displayName:"Slider",mixins:[f.default],getDefaultProps:function(){return{defaultValue:0,minValue:0,maxValue:100,handleSize:28}},getInitialState:function(){return{value:this.props.defaultValue}},componentWillReceiveProps:function(e){this.props.defaultValue!=e.defaultValue&&this.setState({value:e.defaultValue})},componentWillUnmount:function(){this.reset()},render:function(){var e=this.state.value,t=100*(e-this.props.minValue)/(this.props.maxValue-this.props.minValue),n=t.toFixed(0)+"%";return o("div",{className:"slider"},void 0,o("input",{type:"number",value:t.toFixed(0),readOnly:!0}),o("div",{className:"slider-bar"},void 0,o("div",{className:"slider-bar-fill",style:{width:n}})),this.props.children,o("div",{className:"slider-handle-track"},void 0,o("div",{className:"slider-handle",style:{left:n},onMouseDown:this.handleMouseDown},void 0,o("span",{},void 0,this.props.onValueRender?this.props.onValueRender(this.state.value):n))))},reset:function(){document.removeEventListener("mousemove",this.handleMouseMove,!0),document.removeEventListener("mouseup",this.handleMouseUp,!0)},handleMouseDown:function(e){document.addEventListener("mousemove",this.handleMouseMove,!0),document.addEventListener("mouseup",this.handleMouseUp,!0),this.setState({x:e.clientX,boundingRect:l.default.findDOMNode(this).getBoundingClientRect()})},handleMouseUp:function(){this.reset(),null!=this.props.onValueChange&&this.props.onValueChange(this.state.value)},handleMouseMove:function(e){e.preventDefault();var t=this.state.boundingRect,n=t.left,a=t.right,o=this.state.x-e.clientX,r=(this.state.value-this.props.minValue)/(this.props.maxValue-this.props.minValue);if(!(e.clientX<=n&&o<0||e.clientX>=a&&o>0)){var i=a-n-this.props.handleSize,s=i*r;r=Math.min(Math.max(s-o,0),i)/i}var l=this.props.minValue+r*(this.props.maxValue-this.props.minValue);this.props.asValueChanges&&this.props.asValueChanges(l),this.setState({value:l,x:e.clientX})}});t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(0),i=a(r),s=n(23),l=a(s),u="\n height:0;\n visibility:hidden;\n overflow:hidden;\n position:absolute;\n z-index:-1000;\n top:0;\n right:0;\n",f=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-transform","width","padding-left","padding-right","border-width","box-sizing"],c=void 0,d=i.default.createClass({displayName:"TextareaAutosize",getInitialState:function(){return{height:"auto"}},blur:function(){this.refs.textarea&&this.refs.textarea.blur()},render:function(){var e=o({},this.props);return delete e.fontWidthEstimate,delete e.onResize,i.default.createElement("textarea",o({ref:"textarea"},e,{style:this.state,onChange:this.onChange}))},componentDidMount:function(){this.recalculateSize()},componentDidUpdate:function(e,t){this.state.height!==t.height&&this.props.onResize&&this.props.onResize(this.state.height)},onChange:function(e){void 0===this.props.value&&this.recalculateSize(),this.props.onChange&&this.props.onChange(e)},clear:function(){l.default.findDOMNode(this).value="",this.recalculateSize()},recalculateSize:function(){var e=l.default.findDOMNode(this),t=e.value;if(null!=this.props.fontWidthEstimate&&t.indexOf("\n")==-1&&t.length*this.props.fontWidthEstimate<.8*e.offsetWidth)return void this.setState({height:"auto",overflow:"hidden"});c||(c=document.createElement("textarea"),document.body.appendChild(c));var n=this.calculateNodeStyling(e),a=n.paddingSize,o=n.borderSize,r=n.boxSizing,i=n.sizingStyle;c.setAttribute("style",i+";"+u),c.value=t;var s=c.scrollHeight;"border-box"===r?s+=o:"content-box"===r&&(s-=a),this.setState({height:s,overflow:"hidden"})},calculateNodeStyling:function(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing")||t.getPropertyValue("-moz-box-sizing")||t.getPropertyValue("-webkit-box-sizing"),a=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),o=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{sizingStyle:f.map(function(e){return e+":"+t.getPropertyValue(e)}).join(";"),paddingSize:a,borderSize:o,boxSizing:n}}});t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(15),c=a(f),d=n(3),p=a(d),h=n(98),g=a(h),m=n(65),v=a(m),E=n(14),y=a(E),_=n(357),b=a(_),S=n(16),I=a(S),T=n(66),N=a(T),A=n(228),M=a(A),C=n(50),O=a(C),D=n(144),L=a(D),R=n(166),x=a(R),w=n(91),P=a(w),k=n(300),U=a(k),G=n(67),j=a(G),F=n(301),B=a(F),V=n(28),H=a(V),z=n(503),W=a(z),Y=n(71),K=a(Y),Q=n(48),Z=n(1);n(2136);var X=228383668,J=s(P.default,{className:"margin-top-40 margin-bottom-40"}),q=s(P.default,{className:"margin-top-40 margin-bottom-40"}),$=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));a.handleChannelChange=a.handleChannelChange.bind(a),a.handleAvatarChange=a.handleAvatarChange.bind(a),a.handleNameChange=a.handleNameChange.bind(a),a.handleSaveWebhook=a.handleSaveWebhook.bind(a);var i=n.webhook,s=i.name,l=i.channel_id,u=i.avatar;return a.state={name:s,channelId:l,avatar:u,submitting:!1,errors:{}},a}return i(t,e),t.prototype.handleNameChange=function(e){this.setState({name:e})},t.prototype.handleAvatarChange=function(e){this.setState({avatar:e})},t.prototype.handleChannelChange=function(e){var t=e.value;this.setState({channelId:t})},t.prototype.handleSaveWebhook=function(){var e=this,t=this.state,n=t.avatar,a=t.name,o=t.channelId,r=this.props.webhook,i={name:a,channel_id:o};n!==r.avatar&&(i.avatar=n),this.setState({submitting:!0},function(){b.default.update(r.guild_id,r.id,i).then(function(){y.default.pop()}).catch(function(t){var n=t.body;e.setState({errors:n,submitting:!1})})})},t.prototype.getWebhookURL=function(){var e=this.props.webhook,t=e.id,n=e.token;return""+I.default.getAPIBaseURL(!1)+Z.Endpoints.WEBHOOK_INTEGRATION(t,n)},t.prototype.renderTitle=function(){return s(c.default.Child,{grow:0,shrink:0,className:"webkhook-modal-header"},void 0,s(N.default,{className:"header-title"},void 0,p.default.Messages.WEBHOOK_MODAL_TITLE))},t.prototype.renderNameChannel=function(){var e=this.props.webhook,t=this.state,n=t.name,a=t.channelId,o=t.errors,r=g.default.getChannels(e.guild_id)[Z.ChannelTypes.GUILD_TEXT].filter(function(e){var t=e.channel;return v.default.can(Z.Permissions.MANAGE_WEBHOOKS,{channelId:t.id})}).map(function(e){var t=e.channel;return{value:t.id,label:t.toString(!0)}});return s(c.default,{},void 0,s(c.default.Child,{basis:"50%"},void 0,s(M.default,{title:p.default.Messages.WEBHOOK_FORM_NAME},void 0,s(L.default,{value:n,onChange:this.handleNameChange,error:o.name}))),s(c.default.Child,{basis:"50%"},void 0,s(M.default,{title:p.default.Messages.CHANNEL},void 0,s(x.default,{value:a,clearable:!1,searchable:!1,options:r,onChange:this.handleChannelChange}))))},t.prototype.renderAvatar=function(){var e=this.props.webhook.id,t=this.state,n=t.avatar,a=t.errors,o=function(){return(0,Q.getUserAvatarURL)({id:e,avatar:n,discriminator:Z.NON_USER_BOT_DISCRIMINATOR})};return s(M.default,{title:p.default.Messages.WEBHOOK_MODAL_ICON_TITLE},void 0,s(c.default,{},void 0,s(c.default.Child,{},void 0,s(O.default,{type:C.Types.DESCRIPTION},void 0,p.default.Messages.WEBHOOK_MODAL_ICON_DESCRIPTION),s(H.default,{look:H.default.Looks.OUTLINED,color:H.default.Colors.PRIMARY,className:"margin-top-8"},void 0,p.default.Messages.UPLOAD_IMAGE,s(B.default,{onChange:this.handleAvatarChange}))),s(c.default.Child,{wrap:!0,grow:0},void 0,s(U.default,{avatar:n,size:Z.AVATAR_MAX_SIZE,onChange:this.handleAvatarChange,makeURL:o}),a.avatar?s("div",{},void 0,a.avatar):null)))},t.prototype.renderURL=function(){return s(c.default.Child,{},void 0,s(M.default,{title:p.default.Messages.WEBHOOK_FORM_URL},void 0,s(W.default,{value:this.getWebhookURL(),className:"margin-bottom-8"}),s(O.default,{type:C.Types.DESCRIPTION},void 0,s("a",{href:K.default.getArticleURL(X),target:"_blank"},void 0,p.default.Messages.WEBHOOK_FORM_WEBHOOK_URL_HELP))))},t.prototype.renderFooter=function(){return s(c.default,{grow:0,shrink:0,justify:c.default.Justify.END,className:"webhook-modal-footer"},void 0,s(c.default.Child,{wrap:!0,grow:0},void 0,s(H.default,{size:H.default.Sizes.SMALL,color:H.default.Colors.GREY,look:H.default.Looks.LINK,onClick:this.props.onClose},void 0,p.default.Messages.CANCEL)),s(c.default.Child,{wrap:!0,grow:0},void 0,s(H.default,{submitting:this.state.submitting,onClick:this.handleSaveWebhook,size:H.default.Sizes.SMALL},void 0,p.default.Messages.SAVE)))},t.prototype.render=function(){return s(c.default,{direction:c.default.Direction.VERTICAL,className:"webhook-modal theme-light"},void 0,this.renderTitle(),s(c.default,{},void 0,s(j.default,{fade:!0,className:"webhook-modal-body"},void 0,this.renderNameChannel(),J,this.renderAvatar(),q,this.renderURL())),this.renderFooter())},t}(u.default.PureComponent);t.default=$,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(2),d=a(c),p=n(183),h=a(p),g=n(104),m=a(g),v=n(212),E=a(v),y=i.default.createClass({displayName:"ChannelMuteItem",mixins:[d.default.LazyStoreListenerMixin(m.default),l.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{isMuted:m.default.isChannelMuted(this.props.channel.getGuildId(),this.props.channel.id)}},render:function(){return o(h.default,{label:f.default.Messages.MUTE_CHANNEL.format({name:this.props.channel.toString(!0)}),action:this.handleChannelMute,active:this.state.isMuted})},handleChannelMute:function(){E.default.updateChannelOverrideSettings(this.props.channel.getGuildId(),this.props.channel.id,{muted:!this.state.isMuted})}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(18),d=a(c),p=n(21),h=a(p),g=n(22),m=a(g),v=i.default.createClass({displayName:"NativeCopyItem",mixins:[l.default],getDefaultProps:function(){return{value:"",useSelection:!1}},render:function(){var e=this.props,t=e.useSelection,n=e.value;return!d.default.embedded||t&&(null==n||0===n.length)?null:o(h.default,{label:f.default.Messages.COPY,hint:d.default.isOSX()?"⌘C":"Ctrl+C",action:this.handleCopyItem})},handleCopyItem:function(){m.default.close(),d.default.copy(this.props.value),this.props.target&&this.props.target.focus()}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(18),d=a(c),p=n(86),h=a(p),g=n(21),m=a(g),v=n(22),E=a(v),y=i.default.createClass({displayName:"NativeLinkGroup",mixins:[l.default],render:function(){return d.default.embedded&&(this.props.href||this.props.src)?o(h.default,{},void 0,o(m.default,{label:f.default.Messages.COPY_LINK,action:this.handleCopyLink}),o(m.default,{label:f.default.Messages.OPEN_LINK,action:this.handleOpenLink})):null},handleCopyLink:function(){E.default.close(),d.default.copy(this.props.href||this.props.src)},handleOpenLink:function(){E.default.close(),d.default.openExternal(this.props.href||this.props.src)}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(22),h=a(p),g=i.default.createClass({displayName:"SearchWithGoogle",mixins:[l.default],getDefaultProps:function(){return{value:""}},render:function(){var e=this.props.value;return null==e||0===e.length?null:o(d.default,{label:f.default.Messages.SEARCH_WITH_GOOGLE,action:this.handleSearchWithGoogle})},handleSearchWithGoogle:function(){h.default.close(),window.open("https://www.google.com/#q="+encodeURIComponent(this.props.value||""),"_blank")}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(47),d=a(c),p=n(21),h=a(p),g=n(17),m=a(g),v=n(12),E=a(v),y=n(22),_=a(y),b=n(483),S=a(b),I=n(1),T=i.default.createClass({displayName:"UserChangeNicknameItem",mixins:[d.default,l.default],getInitialState:function(){return{guild:E.default.getGuild(this.props.guildId),currentUserId:m.default.getId()}},render:function(){var e=this.props.userId,t=this.state.guild;return this.canChangeNickname()||this.canManageUser(I.Permissions.MANAGE_NICKNAMES,e,t)?o(h.default,{label:f.default.Messages.CHANGE_NICKNAME,action:this.handleOpenChangeNickname}):null},canChangeNickname:function(){var e=this.props.userId,t=this.state,n=t.currentUserId,a=t.guild;return n==e&&(this.can(I.Permissions.CHANGE_NICKNAME,a)||this.can(I.Permissions.MANAGE_NICKNAMES,a))},handleOpenChangeNickname:function(){_.default.close(),S.default.open(this.props.guildId,this.props.userId)}});t.default=T,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.guild,n=e.canManageGuild,a=e.canViewAuditLog,o=e.canManageRoles,r=e.canManageEmoji,i=e.canManageWebhooks,s=e.canManageBans,l=e.isOwnerWithRequiredMfaLevel;return[{section:L.SectionTypes.HEADER,label:t.toString()||E.default.Messages.SERVER_SETTINGS},{section:me.GuildSettingsSections.OVERVIEW,label:E.default.Messages.OVERVIEW,element:j.default,notice:{store:_.default,element:G.GuildSettingsOverviewNotice}},{section:me.GuildSettingsSections.MODERATION,label:E.default.Messages.MODERATION,element:B.default,notice:{store:_.default,element:G.GuildSettingsOverviewNotice},predicate:function(){return n}},{section:me.GuildSettingsSections.AUDIT_LOG,label:E.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG,element:H.default,type:L.ContentTypes.CUSTOM,predicate:function(){return a}},{section:me.GuildSettingsSections.ROLES,label:E.default.Messages.ROLES,element:se.default,type:L.ContentTypes.MINIMAL,notice:{store:T.default,element:ie.GuildSettingsRolesNotice},predicate:function(){return o}},{section:me.GuildSettingsSections.INTEGRATIONS,label:E.default.Messages.INTEGRATIONS,element:K.default,predicate:function(){return n}},{section:me.GuildSettingsSections.EMOJI,label:E.default.Messages.EMOJI,element:Z.default,predicate:function(){return r}},{section:me.GuildSettingsSections.WEBHOOKS,label:E.default.Messages.WEBHOOKS,element:ae.default,predicate:function(){return i}},{section:me.GuildSettingsSections.EMBED,label:E.default.Messages.WIDGET,element:$.default,predicate:function(){return n}},{section:me.GuildSettingsSections.VANITY_URL,label:E.default.Messages.VANITY_URL,element:W.default,notice:{store:S.default,element:z.GuildSettingsVanityURLNotice},predicate:function(){return n&&t.hasFeature(me.GuildFeatures.VANITY_URL)}},{section:L.SectionTypes.DIVIDER},{section:L.SectionTypes.HEADER,label:E.default.Messages.USER_MANAGEMENT},{section:me.GuildSettingsSections.MEMBERS,label:E.default.Messages.MEMBERS,element:re.default,type:L.ContentTypes.CUSTOM},{section:me.GuildSettingsSections.INSTANT_INVITES,label:E.default.Messages.INVITES,element:te.default,type:L.ContentTypes.CUSTOM,predicate:function(){return n}},{section:me.GuildSettingsSections.BANS,label:E.default.Messages.BANS,element:J.default,type:L.ContentTypes.CUSTOM,predicate:function(){return s}},{section:L.SectionTypes.DIVIDER,predicate:function(){return l}},{section:me.GuildSettingsSections.DELETE,onClick:function(){var e=A.default.getCurrentUser(),n=t.toString(),a={className:"delete-server-modal",header:E.default.Messages.DELETE_SERVER_TITLE.format({name:n}),confirmText:E.default.Messages.DELETE_SERVER,cancelText:E.default.Messages.CANCEL,onConfirm:function(){ge.ComponentDispatch.subscribeOnce(me.ComponentActions.LAYER_POP_COMPLETE,function(){ce.default.deleteGuild(t.id,n)}),(0,de.popLayer)()}};e.mfaEnabled?ue.default.push(function(e){return h.default.createElement(P.default,d({},e,a),E.default.Messages.DELETE_SERVER_BODY.format({name:n}))}):ue.default.push(function(e){return h.default.createElement(x.default,d({},e,a,{validationText:n,instructionText:E.default.Messages.DELETE_SERVER_ENTER_NAME,errorText:E.default.Messages.DELETE_SERVER_INCORRECT_NAME}),E.default.Messages.DELETE_SERVER_BODY.format({name:n}))})},label:E.default.Messages.DELETE_SERVER,className:"danger",predicate:function(){return l}}]}function l(e,t){return{canManageGuild:D.default.can(me.Permissions.MANAGE_GUILD,e),canManageRoles:D.default.can(me.Permissions.MANAGE_ROLES,e),canManageBans:D.default.can(me.Permissions.BAN_MEMBERS,e),canManageNicknames:D.default.can(me.Permissions.MANAGE_NICKNAMES,e),canManageEmoji:D.default.can(me.Permissions.MANAGE_EMOJIS,e),canViewAuditLog:D.default.can(me.Permissions.VIEW_AUDIT_LOG,e),canManageWebhooks:D.default.can(me.Permissions.MANAGE_WEBHOOKS,e),isOwnerWithRequiredMfaLevel:e.isOwnerWithRequiredMfaLevel(t),guild:e}}function u(e){return s(l(e,A.default.getCurrentUser())).filter(function(e){var t=e.section;return t!==L.SectionTypes.HEADER&&t!==L.SectionTypes.DIVIDER}).filter(function(e){return null==e.predicate||e.predicate()})}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;he.default.trackWithMetadata(me.AnalyticEvents.SETTINGS_PANE_VIEWED,{settings_type:"guild",origin_pane:t,destination_pane:e})}t.__esModule=!0;var c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.getGuildSettingsSections=u;var p=n(0),h=a(p),g=n(2),m=a(g),v=n(3),E=a(v),y=n(96),_=a(y),b=n(801),S=a(b),I=n(800),T=a(I),N=n(10),A=a(N),M=n(13),C=a(M),O=n(65),D=a(O),L=n(218),R=n(1374),x=a(R),w=n(60),P=a(w),k=n(510),U=a(k),G=n(1448),j=a(G),F=n(1447),B=a(F),V=n(1441),H=a(V),z=n(1450),W=a(z),Y=n(1444),K=a(Y),Q=n(1443),Z=a(Q),X=n(1442),J=a(X),q=n(1452),$=a(q),ee=n(1445),te=a(ee),ne=n(1451),ae=a(ne),oe=n(1446),re=a(oe),ie=n(1449),se=a(ie),le=n(14),ue=a(le),fe=n(83),ce=a(fe),de=n(102),pe=n(122),he=a(pe),ge=n(36),me=n(1);n(2137);var ve=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.componentDidMount=function(){f(this.props.section)},t.prototype.componentDidUpdate=function(e){var t=e.section,n=this.props,a=n.section,o=n.canManageGuild,r=n.canManageRoles,i=n.canManageBans,s=n.canManageNicknames,l=n.canManageEmoji,u=n.canViewAuditLog,c=n.canManageWebhooks;a!==t&&f(a,t),(o||r||i||s||l||u||c)&&(u||a!==me.GuildSettingsSections.AUDIT_LOG)&&(r||a!==me.GuildSettingsSections.ROLES)&&(l||a!==me.GuildSettingsSections.EMOJI)&&(c||a!==me.GuildSettingsSections.WEBHOOKS)&&(i||a!==me.GuildSettingsSections.BANS)||(0,de.popLayer)()},t.prototype.render=function(){var e=this.props,t=e.theme,n=e.section;return c(U.default,{theme:t,section:n,onSetSection:ce.default.setSection,onClose:de.popLayer,sections:s(this.props)})},t}(h.default.PureComponent),Ee=m.default.connectStores([_.default,A.default,C.default,D.default],function(){var e=_.default.getProps(),t=e.guild;return d({section:e.section,theme:C.default.theme},l(t,A.default.getCurrentUser()))})(ve);Ee.onPop=ce.default.close,t.default=Ee},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(3),c=a(f),d=n(33),p=a(d),h=n(834),g=a(h),m=n(1661),v=a(m),E=n(256),y=a(E),_=n(219),b=a(_),S=n(65),I=a(S),T=n(12),N=a(T),A=n(528),M=a(A),C=n(295),O=a(C),D=n(14),L=a(D),R=n(1),x=n(602),w=a(x),P="instant-invite",k=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleEditClick=a.handleEditClick.bind(a),a.handleInviteClick=a.handleInviteClick.bind(a),a.handleMouseEnter=a.handleMouseEnter.bind(a),a.handleMouseLeave=a.handleMouseLeave.bind(a),a.state={hovered:!1},a}return i(t,e),t.prototype.handleInviteClick=function(){var e=this.props.channel,t=N.default.getGuild(e.getGuildId());L.default.push(y.default,{guild:t,channel:e,source:"Guild Channels"})},t.prototype.handleEditClick=function(){O.default.open(this.props.channel.id)},t.prototype.handleMouseEnter=function(){this.setState({hovered:!0})},t.prototype.handleMouseLeave=function(){this.setState({hovered:!1})},t.prototype.renderEditButton=function(){var e=this.props,t=e.channel,n=e.selected,a=this.state.hovered;if(I.default.can(R.Permissions.MANAGE_CHANNELS,t)&&(n||a))return s(p.default,{text:c.default.Messages.EDIT_CHANNEL},void 0,s("div",{className:w.default.iconSpacing},void 0,s(g.default,{onClick:this.handleEditClick})))},t.prototype.renderInviteButton=function(){var e=this.props,t=e.channel,n=e.selected,a=e.locked,o=this.state.hovered;if(!a&&I.default.can(R.Permissions.CREATE_INSTANT_INVITE,t)&&(o||n)){var r=s(v.default,{onClick:this.handleInviteClick});return t.isDefaultChannel()&&M.default.shouldShow(P)&&(r=s(b.default,{tutorialId:P,position:b.default.LEFT,offsetX:-40,offsetY:-18},void 0,s("div",{},void 0,r))),s(p.default,{text:c.default.Messages.CREATE_INSTANT_INVITE},void 0,s("div",{className:w.default.iconSpacing},void 0,r))}},t}(u.default.PureComponent);t.default=k,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return[{section:Me.SectionTypes.HEADER,label:v.default.Messages.USER_SETTINGS},{section:Ce.UserSettingsSections.ACCOUNT,label:v.default.Messages.USER_SETTINGS_MY_ACCOUNT,element:I.default},{section:Ce.UserSettingsSections.PRIVACY_AND_SAFETY,label:v.default.Messages.PRIVACY_AND_SAFETY,element:Z.default},{section:Ce.UserSettingsSections.AUTHORIZED_APPS,label:v.default.Messages.AUTHORIZED_APPS,element:U.default},{section:Ce.UserSettingsSections.CONNECTIONS,label:v.default.Messages.CONNECTIONS,element:O.default},{section:Me.SectionTypes.DIVIDER},{section:Ce.UserSettingsSections.PREMIUM,label:v.default.Messages.PREMIUM_TITLE,element:J.default,className:"brand"},{section:Me.SectionTypes.DIVIDER},{section:Me.SectionTypes.HEADER,label:v.default.Messages.APP_SETTINGS},{section:Ce.UserSettingsSections.VOICE,label:e?v.default.Messages.VOICE_AND_VIDEO:v.default.Messages.VOICE,element:W.default,predicate:function(){return _e.default.isSupported()}},{section:Ce.UserSettingsSections.OVERLAY,label:v.default.Messages.OVERLAY,element:K.default,predicate:function(){return Se.default.isSupported()}},{section:Ce.UserSettingsSections.NOTIFICATIONS,label:v.default.Messages.NOTIFICATIONS,element:H.default},{section:Ce.UserSettingsSections.KEYBINDS,label:v.default.Messages.KEYBINDS,element:x.default,predicate:function(){return Ae.default.embedded||0}},{section:Ce.UserSettingsSections.GAMES,label:v.default.Messages.GAMES,element:B.default,predicate:function(){return Ae.default.embedded}},{section:Ce.UserSettingsSections.TEXT,label:v.default.Messages.TEXT_AND_IMAGES,element:M.default},{section:Ce.UserSettingsSections.APPEARANCE,label:v.default.Messages.APPEARANCE,element:L.default},{section:Ce.UserSettingsSections.STREAMER_MODE,label:v.default.Messages.STREAMER_MODE,element:P.default},{section:Ce.UserSettingsSections.LOCALE,label:v.default.Messages.LANGUAGE,element:j.default},{section:Me.SectionTypes.DIVIDER},{section:"changelog",onClick:function(){return se.default.showChangeLog()},label:v.default.Messages.CHANGE_LOG},{section:Ce.UserSettingsSections.EXPERIMENTS,label:"Experiments",element:N.default,predicate:function(){return he.default.isDeveloper()}},{section:Me.SectionTypes.DIVIDER},{section:"logout",onClick:function(){te.default.push(function(e){return p.default.createElement(b.default,c({header:v.default.Messages.LOGOUT,confirmText:v.default.Messages.LOGOUT,cancelText:v.default.Messages.CANCEL,onConfirm:function(){return ae.default.logout()}},e),v.default.Messages.USER_SETTINGS_CONFIRM_LOGOUT)})},label:v.default.Messages.LOGOUT,className:"danger"},{section:Me.SectionTypes.DIVIDER},{section:Me.SectionTypes.CUSTOM,element:$.default}]}function l(e){return s(e).filter(function(e){var t=e.section;return t!==Me.SectionTypes.HEADER&&t!==Me.SectionTypes.CUSTOM&&t!==Me.SectionTypes.DIVIDER}).filter(function(e){return null==e.predicate||e.predicate()})}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Te.default.trackWithMetadata(Ce.AnalyticEvents.SETTINGS_PANE_VIEWED,{settings_type:"user",origin_pane:t,destination_pane:e})}t.__esModule=!0;var f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.getUserSettingsSections=l;var d=n(0),p=a(d),h=n(2),g=a(h),m=n(3),v=a(m),E=n(510),y=a(E),_=n(60),b=a(_),S=n(1486),I=a(S),T=n(1490),N=a(T),A=n(1499),M=a(A),C=n(1489),O=a(C),D=n(1487),L=a(D),R=n(1492),x=a(R),w=n(1498),P=a(w),k=n(1488),U=a(k),G=n(1493),j=a(G),F=n(1491),B=a(F),V=n(1494),H=a(V),z=n(1500),W=a(z),Y=n(1495),K=a(Y),Q=n(1497),Z=a(Q),X=n(1496),J=a(X),q=n(1484),$=a(q),ee=n(14),te=a(ee),ne=n(101),ae=a(ne),oe=n(57),re=a(oe),ie=n(709),se=a(ie),le=n(102),ue=n(13),fe=a(ue),ce=n(530),de=a(ce),pe=n(797),he=a(pe),ge=n(225),me=a(ge),ve=n(120),Ee=a(ve),ye=n(27),_e=a(ye),be=n(109),Se=a(be),Ie=n(122),Te=a(Ie),Ne=n(18),Ae=a(Ne),Me=n(218),Ce=n(1);t.default=g.default.connectStores([de.default,fe.default,me.default],function(){var e=!1,t=Ee.default.getOverrideExperimentDescriptor(me.default.getExperimentId());return(null!=t&&t.type===Ce.ExperimentTypes.DEVELOPER||me.default.hasVideoCall())&&(e=!0),{theme:fe.default.theme,section:de.default.getSection(),videoSettings:e}})(function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.generateSections=a.generateSections.bind(a),a}return i(t,e),t.prototype.componentDidMount=function(){u(this.props.section)},t.prototype.componentDidUpdate=function(e){var t=e.section,n=this.props.section;n!==t&&u(n,t)},t.prototype.generateSections=function(){return s(this.props.videoSettings)},t.prototype.render=function(){var e=this.props,t=e.theme,n=e.section;return f(y.default,{theme:t,section:n,onSetSection:re.default.setSection,onClose:le.popLayer,sections:this.generateSections()})},t}(p.default.PureComponent))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(2),p=a(d),h=n(13),g=a(h),m=n(1639),v=a(m),E=n(1245),y=a(E),_=n(1600),b=a(_),S=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.handleAddPhone=a.handleAddPhone.bind(a),a.handleVerifyPhone=a.handleVerifyPhone.bind(a),a}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.theme,n=e.error,a=e.working,r=e.valid,i=o(e,["theme","error","working","valid"]);return u("div",{className:"theme-"+t},void 0,c.default.createElement(v.default,l({},i,{error:n,working:a,validPhone:r,onAddPhone:this.handleAddPhone,onVerifyPhone:this.handleVerifyPhone})))},t.prototype.handleAddPhone=function(e){y.default.addPhone(e)},t.prototype.handleVerifyPhone=function(e){y.default.verifyPhone(e)},t}(c.default.PureComponent);t.default=p.default.connectStores([g.default,b.default],function(){return l({theme:g.default.theme},b.default.getProps())})(S),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){if(!e||"none"===e)return null;var t=e.match(v);return t?t[1]:e}function u(e){return e&&"none"!==e?"url("+e+")":"none"}function f(e){var t=function(t){function n(e){r(this,n);var a=i(this,t.call(this,e)),o=e.style,s=o?l(o.backgroundImage):null;return a.cached=[s],a.state={cached:s,loaded:!0},a}return s(n,t),n.prototype.componentWillReceiveProps=function(e){var t=this,n=this.state.cached,a=e.style,o=a?l(a.backgroundImage):null;o||o===n?this.cached.indexOf(o)>=0?this.setState({loaded:!0,cached:o}):o&&o!==n&&this.setState({loaded:!1},function(){return t.preloadURL(o)}):this.setState({loaded:!0,cached:o})},n.prototype.preloadURL=function(e){var t=this;this.canceller&&this.canceller(),this.canceller=(0,m.loadImage)(e,function(n){t.canceller&&(t.canceller=null),n||(t.cached.push(e),t.setState({cached:e,loaded:!0}));var a=t.props.onBackgroundImageLoad;a&&a(n,e)})},n.prototype.componentWillUnmount=function(){this.canceller&&this.canceller(),this.cached.length=0},n.prototype.render=function(){var t=this.props,n=t.style,a=(t.onBackgroundImageLoad,o(t,["style","onBackgroundImageLoad"])),r=this.state,i=r.loaded,s=r.cached;return!i&&n&&(n=c({},n,{backgroundImage:u(s)})),p.default.createElement(e,c({style:n},a))},n}(p.default.Component);return(0,g.default)(t,e),t}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.backgroundImagePreloader=f;var d=n(0),p=a(d),h=n(474),g=a(h),m=n(838),v=/url\(['"](.*)['"]\)/},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.JUMP_TO_GUILD=void 0;var o=n(1),r=n(165),i=a(r),s=n(19),l=a(s),u=n(35),f=a(u),c=n(42),d=a(c),p=t.JUMP_TO_GUILD={binds:function(){for(var e=10,t=[],n=1;n<e;n++)t.push("mod+"+n);return t}(),global:!0,action:function(e,t){var n=parseInt(t.split("+")[1],10);if(0===n&&(n=10),n){var a=void 0;if(a=1===n?o.ME:i.default.guildPositions[n-2]){var r=l.default.getChannelId(a);return a==o.ME&&null==f.default.getGuildId()&&(r=null),d.default.transitionTo(r?o.Routes.CHANNEL(a,r):o.Routes.GUILD(a)),!1}}}};t.default={JUMP_TO_GUILD:p}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.QUICKSWITCHER_SHOW=void 0;var o=n(354),r=n(268),i=a(r);t.QUICKSWITCHER_SHOW={binds:["mod+k","mod+t"],global:!0,action:function(){return i.default.hasLayers()||(0,o.show)(),!1}}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return l.Accessibility.ZOOM_SCALES[Math.max(0,Math.min(l.Accessibility.ZOOM_SCALES.indexOf(i.default.zoom)+e,l.Accessibility.ZOOM_SCALES.length-1))]}t.__esModule=!0,t.ZOOM_RESET=t.ZOOM_OUT=t.ZOOM_IN=void 0;var r=n(518),i=a(r),s=n(708),l=n(1),u=t.ZOOM_IN={binds:["mod+plus"],global:!0,action:function(){return(0,s.zoomTo)(o(1)),!1}},f=t.ZOOM_OUT={binds:["mod+minus"],global:!0,action:function(){return(0,s.zoomTo)(o(-1)),!1}},c=t.ZOOM_RESET={binds:["mod+0"],global:!0,action:function(){return(0,s.zoomTo)(l.Accessibility.ZOOM_DEFAULT),!1}};t.default={ZOOM_IN:u,ZOOM_OUT:f,ZOOM_RESET:c}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){return Array.from(arguments).map(function(e){return w[e].binds[0]})}t.__esModule=!0,t.DEFAULT_LAYOUT_CONTENT=t.DEFAULT_LAYOUT=void 0;var r,i=n(3),s=a(i),l=n(1),u=n(1522),f=n(1512),c=n(1531),d=n(1523),p=n(1524),h=n(1516),g=n(767),m=n(1517),v=n(1526),E=n(1529),y=n(1520),_=n(1513),b=n(1530),S=n(1521),I=n(1528),T=n(1518),N=n(1527),A=n(1514),M=n(1532),C=n(1525),O=n(1519),D=n(1511),L=n(1515),R=n(768),x=n(769),w=t.DEFAULT_LAYOUT=(r={},r[l.KeybindActions.SERVER_NEXT]=u.SERVER_NEXT,r[l.KeybindActions.SERVER_PREV]=u.SERVER_PREV,r[l.KeybindActions.CHANNEL_NEXT]=f.CHANNEL_NEXT,r[l.KeybindActions.CHANNEL_PREV]=f.CHANNEL_PREV,r[l.KeybindActions.UNREAD_NEXT]=c.UNREAD_NEXT,r[l.KeybindActions.UNREAD_PREV]=c.UNREAD_PREV,r[l.KeybindActions.MENTION_CHANNEL_NEXT]=c.MENTION_NEXT,r[l.KeybindActions.MENTION_CHANNEL_PREV]=c.MENTION_PREV,r[l.KeybindActions.TOGGLE_PREVIOUS_GUILD]=f.TOGGLE_PREVIOUS_GUILD,r[l.KeybindActions.JUMP_TO_GUILD]=g.JUMP_TO_GUILD,r[l.KeybindActions.SUBMIT]=d.SUBMIT,r[l.KeybindActions.TEXTAREA_FOCUS]=p.TEXTAREA_FOCUS,r[l.KeybindActions.MARK_CHANNEL_READ]=h.MARK_CHANNEL_READ,r[l.KeybindActions.MARK_SERVER_READ]=m.MARK_SERVER_READ,r[l.KeybindActions.TOGGLE_CHANNEL_PINS]=v.TOGGLE_CHANNEL_PINS,r[l.KeybindActions.TOGGLE_MENTIONS]=E.TOGGLE_MENTIONS,r[l.KeybindActions.TOGGLE_USERS]=b.TOGGLE_USERS,r[l.KeybindActions.TOGGLE_HELP]=N.TOGGLE_HELP,r[l.KeybindActions.TOGGLE_MUTE]=C.TOGGLE_MUTE,r[l.KeybindActions.TOGGLE_DEAFEN]=C.TOGGLE_DEAFEN,r[l.KeybindActions.SCROLL_UP]=y.SCROLL_UP,r[l.KeybindActions.SCROLL_DOWN]=y.SCROLL_DOWN,r[l.KeybindActions.QUICKSWITCHER_SHOW]=R.QUICKSWITCHER_SHOW,r[l.KeybindActions.CREATE_DM_GROUP]=_.CREATE_DM_GROUP,r[l.KeybindActions.SEARCH_EMOJIS]=S.SEARCH_EMOJIS,r[l.KeybindActions.TOGGLE_HOTKEYS]=I.TOGGLE_HOTKEYS,r[l.KeybindActions.JUMP_TO_FIRST_UNREAD]=T.JUMP_TO_FIRST_UNREAD,r[l.KeybindActions.CREATE_GUILD]=A.CREATE_GUILD,r[l.KeybindActions.UPLOAD_FILE]=M.UPLOAD_FILE,r[l.KeybindActions.RETURN_TO_AUDIO_CHANNEL]=O.RETURN_TO_AUDIO_CHANNEL,r[l.KeybindActions.CALL_ACCEPT]=D.CALL_ACCEPT,r[l.KeybindActions.CALL_START]=D.CALL_START,r[l.KeybindActions.FOCUS_SEARCH]=L.FOCUS_SEARCH,r[l.KeybindActions.ZOOM_IN]=x.ZOOM_IN,r[l.KeybindActions.ZOOM_OUT]=x.ZOOM_OUT,r[l.KeybindActions.ZOOM_RESET]=x.ZOOM_RESET,r);t.DEFAULT_LAYOUT_CONTENT=[{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_NAVIGATE_SERVERS,binds:o(l.KeybindActions.SERVER_PREV,l.KeybindActions.SERVER_NEXT)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_NAVIGATE_CHANNELS,binds:o(l.KeybindActions.CHANNEL_PREV,l.KeybindActions.CHANNEL_NEXT)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_UNREAD_CHANNELS,binds:o(l.KeybindActions.UNREAD_PREV,l.KeybindActions.UNREAD_NEXT)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_UNREAD_MENTION_CHANNELS,binds:o(l.KeybindActions.MENTION_CHANNEL_PREV,l.KeybindActions.MENTION_CHANNEL_NEXT),groupEnd:!0},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_PREVIOUS_GUILD,binds:o(l.KeybindActions.TOGGLE_PREVIOUS_GUILD)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_MARK_SERVER_READ,binds:o(l.KeybindActions.MARK_SERVER_READ)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_MARK_CHANNEL_READ,binds:o(l.KeybindActions.MARK_CHANNEL_READ)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_CREATE_GUILD,binds:o(l.KeybindActions.CREATE_GUILD)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_QUICKSWITCHER,binds:o(l.KeybindActions.QUICKSWITCHER_SHOW)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_CREATE_DM_GROUP,binds:o(l.KeybindActions.CREATE_DM_GROUP),groupEnd:!0},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_PINS,binds:o(l.KeybindActions.TOGGLE_CHANNEL_PINS)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_MENTIONS,binds:o(l.KeybindActions.TOGGLE_MENTIONS)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_USERS,binds:o(l.KeybindActions.TOGGLE_USERS)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_SEARCH_EMOJIS,binds:o(l.KeybindActions.SEARCH_EMOJIS),groupEnd:!0},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_MUTE,binds:o(l.KeybindActions.TOGGLE_MUTE)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_DEAFEN,binds:o(l.KeybindActions.TOGGLE_DEAFEN)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_CALL_ACCEPT,binds:o(l.KeybindActions.CALL_ACCEPT)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_CALL_DECLINE,binds:o(l.KeybindActions.MARK_CHANNEL_READ)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_CALL_START,binds:o(l.KeybindActions.CALL_START),groupEnd:!0},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_SCROLL_CHAT,binds:o(l.KeybindActions.SCROLL_UP,l.KeybindActions.SCROLL_DOWN)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_JUMP_TO_FIRST_UNREAD,binds:o(l.KeybindActions.JUMP_TO_FIRST_UNREAD)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_FOCUS_TEXT_AREA,binds:o(l.KeybindActions.TEXTAREA_FOCUS)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_UPLOAD_FILE,binds:o(l.KeybindActions.UPLOAD_FILE)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_TOGGLE_HELP,binds:o(l.KeybindActions.TOGGLE_HELP)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_SEARCH,binds:o(l.KeybindActions.FOCUS_SEARCH)},{description:s.default.Messages.KEYBIND_DESCRIPTION_MODAL_EASTER_EGG,binds:["h+h+right+n+k"]}];t.default=w},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){if(!I){var e=y.default.get(_);I=!0,e&&e.version===b&&(S=e.potentiallyFailedFetches)}}function r(e,t){t?S[e]=!0:delete S[e],0===Object.keys(S).length?y.default.remove(_):y.default.set(_,{version:b,potentiallyFailedFetches:S})}function i(e){return S[e]===!0}function s(e){var t=e.platform,n=e.username,a=e.name;switch(t){case v.PlatformTypes.BATTLENET:case v.PlatformTypes.SKYPE:return n;default:return a}}function l(e){var t=e.username,n=e.name,a=e.friend_id_hashes;return n&&t&&a.length>0}function u(){return h.default.ensureModule("discord_contact_import").then(function(){return h.default.require("discord_contact_import")})}function f(e){return o(),new Promise(function(t){u().then(function(n){if(!n.isAvailable(e)||i(e))return void t([]);r(e,!0),n.fetch(e,{debug:!1},function(n,a){r(e,!1),a||(a=[]),t(a.filter(l).map(function(e){return{id:e.username,idHash:e.id_hash,type:e.platform,name:s(e),friendIdHashes:e.friend_id_hashes,resultHash:e.result_hash}}))})},function(){return t([])})})}function c(e){var t=null!=T[e];return null==T[e]&&(T[e]=[]),new Promise(function(n,a){if(T[e].push({resolve:n,reject:a}),!t){var o=function(t,n){var a=T[e];delete T[e],a&&a.forEach(function(e){return e[t](n)})};f(e).then(function(e){return o("resolve",e)},function(e){return o("reject",e)})}})}function d(e){return Promise.all(e.map(c)).then(m.default.flatten)}t.__esModule=!0,t.fetchAccounts=d;var p=n(18),h=a(p),g=n(7),m=a(g),v=n(1),E=n(25),y=a(E),_="InProgressContactImports",b=1,S={},I=!1,T={}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),s=n(8),l=a(s),u=n(7),f=a(u),c=10,d=32,p=function(){function e(t,n,a,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:d,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:c;o(this,e),this.computeBonus=t,this.computeWeight=n,this.afterCompute=r,this.lookupKey=a,this.usageHistory={},this.frequently=[],this.maxSamples=s,this.numFrequentlyItems=i,this.dirty=!1}return e.prototype.overwriteHistory=function(e){this.usageHistory=f.default.mapValues(e||{},function(e){return r({},e,{frecency:-1})}),this.markDirty()},e.prototype.markDirty=function(){this.dirty=!0},e.prototype.isDirty=function(){return this.dirty},e.prototype.track=function(e){var t=Object.prototype.hasOwnProperty.call(this.usageHistory,e)?this.usageHistory[e]:void 0;if(t)for(t.frecency=-1,t.totalUses+=1,t.recentUses.push(Date.now());t.recentUses.length>this.maxSamples;)t.recentUses.shift();else t={totalUses:1,recentUses:[Date.now()],frecency:-1};this.usageHistory[e]=t,this.markDirty()},e.prototype.getEntry=function(e){return this.dirty&&this.compute(),Object.prototype.hasOwnProperty.call(this.usageHistory,e)?this.usageHistory[e]:void 0},e.prototype.getScore=function(e){var t=this.getEntry(e);return null!=t?t.score:null},e.prototype.getFrecency=function(e){var t=this.getEntry(e);return null!=t?t.frecency:null},e.prototype.compute=function(){var e=this,t=(0,l.default)();f.default.forEach(this.usageHistory,function(n,a){var o=n.totalUses,r=n.recentUses;if(n.frecency===-1){var i=e.computeBonus(a)/100;n.score=0,f.default.forEach(r,function(a,o){if(o>=e.maxSamples)return!1;var r=e.computeWeight(t.diff((0,l.default)(a),"days"));n.score+=i*r}),n.score>0?(n.recentUses.length>0&&(n.frecency=Math.ceil(o*(n.score/r.length))),e.usageHistory[a]=n):delete e.usageHistory[a]}}),this.frequently=f.default.chain(this.usageHistory).map(function(t,n){var a=e.lookupKey(n);return a?[a,t.frecency]:null}).filter(function(e){return null!==e}).sortBy(function(e){e[0];return-e[1]}).map(function(e){return e[0]}).take(this.numFrequentlyItems||this.usageHistory.length).value(),this.dirty=!1,this.afterCompute(this.usageHistory,this.frequently)},i(e,[{key:"frequently",get:function(){return this.dirty&&this.compute(),this._frequently},set:function(e){this._frequently=e}}]),e}();t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(74),l=a(s),u=n(18),f=a(u),c=n(273),d=[];if(f.default.embedded&&!__OVERLAY__){var p=function(e,t,n){var a=f.default.isWindows()?0:1;e==c.TYPE_MOUSE_BUTTON&&n==a||d.forEach(function(a){return a._handleEvent(e,t,n)})};f.default.getVoiceEngine().setOnInputEventCallback(p)}var h=function(e){function t(){o(this,t);var n=r(this,e.call(this));if(d.push(n),1===d.length){var a=f.default.getVoiceEngine();a.setEmitScanCodes?a.setEmitScanCodes(!0):a.setEmitPTTScanCodes(!0)}return n.combo=[],n}return i(t,e),t.prototype.destroy=function(){var e=this;if(this.removeAllListeners(),d=d.filter(function(t){return t!==e}),0===d.length){var t=f.default.getVoiceEngine();t.setEmitScanCodes?t.setEmitScanCodes(!1):t.setEmitPTTScanCodes(!1)}},t.prototype.toString=function(){return(0,c.toString)(this.combo)},t.prototype._handleEvent=function(e,t,n){0===t?this.combo=this.combo.filter(function(t){var a=t[0],o=t[1];return!(a===e&&o===n)}):(this.combo.push([e,n]),this.emit("change",this))},t}(l.default);t.default=h,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=n(1681),u=a(l),f=n(161),c=a(f),d=n(16),p=a(d),h=n(1),g=n(293),m=a(g),v=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;r(this,t);var a=i(this,e.call(this,{logger:c.default.create("MessageQueue")}));return a.maxSize=n,a}return s(t,e),t.prototype.isFull=function(){return this.queue.length>=this.maxSize},t.prototype.drain=function(e,t,n,a){var o=e.type,r=e.message;switch(o){case"send":this.handleSend(r,t,n,a);break;case"edit":this.handleEdit(r,t);break;default:t()}},t.prototype.handleResponse=function(e){return function(t){429==t.status?e({retryAfter:t.body.retry_after}):e(null,t)}},t.prototype.handleSend=function(e,t,n,a){var r=e.channelId,i=e.file,s=e.filename,l=o(e,["channelId","file","filename"]);if(i&&s){for(var u=m.default.post(h.Endpoints.MESSAGES(r)),f=Object.entries(l),c=Array.isArray(f),d=0,f=c?f:f[Symbol.iterator]();;){var g;if(c){if(d>=f.length)break;g=f[d++]}else{if(d=f.next(),d.done)break;g=d.value}var v=g,E=v[0],y=v[1];null!=y&&u.field(E,y)}if(u.attach("file",i,s),u.end(this.handleResponse(t)),a){var _=u.xhr;_.upload?_.upload.onprogress=a:_.addEventListener("progress",a,!1)}n&&n()}else p.default.post({url:h.Endpoints.MESSAGES(r),body:l},this.handleResponse(t))},t.prototype.handleEdit=function(e,t){var n=e.channelId,a=e.messageId,o=e.content,r=e.mentions;p.default.patch({url:h.Endpoints.MESSAGES(n)+"/"+a,body:{content:o,mentions:r},retries:1},this.handleResponse(t))},t}(u.default);t.default=new v,e.exports=t.default},function(e,t,n){"use strict";(function(n){function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=function(){function e(t){a(this,e),this._running=!1,this._callback=t}return e.prototype.start=function(e){var t=this;this.stop(),this._ref=setInterval(function(){return t._run(!1)},e)},e.prototype.stop=function(){null!=this._ref&&(clearInterval(this._ref),this._ref=null,this._running=!1)},e.prototype.run=function(){var e=this;n(function(){return e._run(!0)})},e.prototype._run=function(e){var t=this;this._running||(this._running=!0,this._callback(function(){t._running=!1},e))},o(e,[{key:"running",get:function(){return this._running}}]),e}();t.default=r,e.exports=t.default}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e,t){if(e.score===t.score){var n=e.comparator.toLocaleLowerCase(),a=t.comparator.toLocaleLowerCase();if(n<a)return-1;if(n>a)return 1}return t.score-e.score}t.__esModule=!0,t.sortByMatchScore=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=1/60,r=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:160,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:22,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.03;a(this,e),this.callback=function(){},this._from=0,this._to=0,this._vel=0,this._animating=!1,this._last=null,this.__tick=null,this._callbacks=[],this.callback=t,this._update=this._update.bind(this),this._from=0,this.stiffness=n,this.friction=o,this.threshold=r}return e.prototype.to=function(e,t,n){return this._to=e,(t||0===t)&&(this._from=t),n&&this._callbacks.push(n),this._animating?this:(this._start(),this)},e.prototype._start=function(){this._animating=!0,this._vel=0,this._last=null,this.__tick=window.requestAnimationFrame(this._update)},e.prototype._update=function(e){if(!this._last)return this._last=e,void(this.__tick=window.requestAnimationFrame(this._update));for(var t=e,n=(t-this._last)/1e3,a=0;n>0;){var r=void 0;if(r=n>o?o:n,a=this.stiffness*(this._to-this._from)-this.friction*this._vel,this._vel+=a*r,this._from+=this._vel*r,n-=o,Math.abs(a)<this.threshold)return this.callback(this._to,this),void this._stop()}this.callback(this._from,this),this._animating&&(this._last=t,this.__tick=window.requestAnimationFrame(this._update))},e.prototype._stop=function(){window.cancelAnimationFrame(this.__tick),this._animating=!1,this._callbacks.length&&(this._callbacks.forEach(function(e){return e()}),this._callbacks.length=0)},e.prototype.cancel=function(){return this._stop(),this},e.prototype.isAnimating=function(){return this._animating},e}();t.default=r,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return(null!=e?e:p.DEFAULT_VOLUME)/p.DEFAULT_VOLUME}function l(e){return _.default.supportsFeature(e)}t.__esModule=!0;var u=n(58),f=a(u),c=n(74),d=a(c),p=n(369),h=n(370),g=n(1559),m=n(1558),v=n(1557),E=a(v),y=n(18),_=a(y),b=n(779),S=a(b),I=n(1560),T=a(I),N=function(e){function t(){o(this,t);var n=r(this,e.call(this));n.Video=S.default,n.Camera=T.default,n.inputVolume=p.DEFAULT_VOLUME,n.outputVolume=p.DEFAULT_VOLUME,n.audioInputDeviceIndex=0,n.audioOutputDeviceIndex=0,n.videoInputDeviceIndex=-1,n.connections=new Set,n._lastVoiceActivity=-1;var a=(0,h.getVoiceEngine)();return a.setDeviceChangeCallback(n._handleDeviceChange.bind(n)),a.setVolumeChangeCallback(n._handleVolumeChange.bind(n)),a.setEmitVADLevel(!1),a.setOnVoiceCallback(n._handleVoiceActivity.bind(n)),a.setNoInputThreshold(-100),a.setNoInputCallback(n._handleNoInput.bind(n)),a.setTransportOptions({ducking:!1}),n.on("removeListener",n._handleRemoveListener.bind(n)),n.on("newListener",n._handleNewListener.bind(n)),n}return i(t,e),t.prototype.destroy=function(){this.eachConnection(function(e){return e.destroy()}),this.emit("destroy"),this.removeAllListeners()},t.supported=function(){return null!=window.__require&&null!=(0,h.getVoiceEngine)().VoiceConnection},t.prototype.supported=function(){return!0},t.prototype.supports=function(e){switch(e){case p.Features.LEGACY_SUBSYSTEM:return l(p.NativeFeatures.VOICE_LEGACY_SUBSYSTEM);case p.Features.VOICE_PANNING:return l(p.NativeFeatures.VOICE_PANNING);case p.Features.ATTENUATION:return null!=f.default.os.family&&/^win/i.test(f.default.os.family);case p.Features.NATIVE_PING:case p.Features.AUTOMATIC_VAD:case p.Features.AUDIO_INPUT_DEVICE:case p.Features.AUDIO_OUTPUT_DEVICE:case p.Features.QOS:case p.Features.VOICE_PROCESSING:case p.Features.DIAGNOSTICS:case p.Features.AUTO_ENABLE:case p.Features.DESKTOP_CAPTURE:return!0;case p.Features.ICE:default:return!1}},t.prototype.connect=function(e,t){var n=this,a=t.ssrc,o=t.address,r=t.port,i=new E.default(e,a,o,r,l(p.NativeFeatures.MEDIA_VIDEO));return i.on("destroy",function(e){n.connections.delete(e),0===n.connections.size&&(0,g.setProcessPriority)(g.ProcessPriority.NORMAL)}),i.setVideoBroadcast(this.videoInputDeviceIndex!=-1),this.connections.add(i),(0,g.setProcessPriority)(g.ProcessPriority.HIGH),this.emit("connection",i),i},t.prototype.eachConnection=function(e){this.connections.forEach(e)},t.prototype.enable=function(){return Promise.resolve()},t.prototype.setInputVolume=function(e){this.inputVolume=e,(0,h.getVoiceEngine)().setInputVolume(s(e))},t.prototype.setOutputVolume=function(e){this.outputVolume=e,(0,h.getVoiceEngine)().setOutputVolume(s(e))},t.prototype.getAudioInputDevices=function(){return(0,m.getAudioInputDevices)()},t.prototype.setAudioInputDevice=function(e){var t=this;(0,m.getAudioInputDevices)().then(function(n){var a=n.find(function(t){return t.id===e})||n[0];a&&(t.audioInputDeviceIndex=a.index,(0,h.getVoiceEngine)().setInputDevice(a.index))})},t.prototype.getAudioOutputDevices=function(){return(0,m.getAudioOutputDevices)()},t.prototype.setAudioOutputDevice=function(e){var t=this;(0,m.getAudioOutputDevices)().then(function(n){var a=n.find(function(t){return t.id===e})||n[0];a&&(t.audioOutputDeviceIndex=a.index,(0,h.getVoiceEngine)().setOutputDevice(a.index))})},t.prototype.getVideoInputDevices=function(){return l(p.NativeFeatures.MEDIA_DEVICES)?(0,m.getVideoInputDevices)():Promise.resolve([])},t.prototype.setVideoInputDevice=function(e){var t=this;this.getVideoInputDevices().then(function(n){var a=n.find(function(t){return t.id===e})||{index:-1};a&&l(p.NativeFeatures.MEDIA_DEVICES)&&(t.videoInputDeviceIndex=a.index,(0,h.getVoiceEngine)().setVideoInputDevice(a.index),t.connections.forEach(function(t){return t.setVideoBroadcast(e!==p.DISABLED_DEVICE_ID)}))})},t.prototype.setDesktopSource=function(e){},t.prototype.setUseLegacyAudioDevice=function(e){this.supports(p.Features.LEGACY_SUBSYSTEM)&&(0,h.getVoiceEngine)().setUseLegacyAudioDevice(e)},t.prototype.getUseLegacyAudioDevice=function(){return!!this.supports(p.Features.LEGACY_SUBSYSTEM)&&(0,h.getVoiceEngine)().getUseLegacyAudioDevice()},t.prototype.collectDiagnostics=function(){return new Promise((0,h.getVoiceEngine)().collectDiagnostics)},t.prototype._handleDeviceChange=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.emit("devicechange",(0,m.sanitizeDevices)(p.DeviceTypes.AUDIO_INPUT,e),(0,m.sanitizeDevices)(p.DeviceTypes.AUDIO_OUTPUT,t),(0,m.sanitizeDevices)(p.DeviceTypes.VIDEO_INPUT,n))},t.prototype._handleVolumeChange=function(e,t){this.emit("volumechange",e*p.DEFAULT_VOLUME,t*p.DEFAULT_VOLUME)},t.prototype._handleVoiceActivity=function(e){var t=Date.now();(this._lastVoiceActivity===-1||Date.now()-this._lastVoiceActivity>20)&&(this._lastVoiceActivity=t,this.emit("voiceactivity",e))},t.prototype._handleNoInput=function(e){this.emit("silence",!e)},t.prototype._handleNewListener=function(e){var t=this;"voiceactivity"===e?(0,h.getVoiceEngine)().setEmitVADLevel(!0):"devicechange"===e&&Promise.all([this.getAudioInputDevices(),this.getAudioOutputDevices(),this.getVideoInputDevices()]).then(function(e){var n=e[0],a=e[1],o=e[2];t.emit("devicechange",n,a,o)})},t.prototype._handleRemoveListener=function(e){"voiceactivity"===e&&(0,h.getVoiceEngine)().setEmitVADLevel(this.listenerCount("voiceactivity")>0)},t}(d.default);t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(5),d=a(c),p=n(7),h=a(p),g=n(1561),m=a(g),v=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.state={width:1280,height:720},h.default.bindAll(a,["_setRef"]),a}return s(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this.props.streamId;t!==e.streamId&&(this._clearVideoSink(t),this._setVideoSink(e))},t.prototype._setRef=function(e){this._canvas=e,this._setVideoSink(this.props)},t.prototype._clearVideoSink=function(e){m.default.removeSink(e,this)},t.prototype._setVideoSink=function(e){var t=this,n=e.streamId,a=e.onReady;if(null==this._canvas)return void this._clearVideoSink(n);var o=this._canvas.getContext("2d");if(null==o)return void this._clearVideoSink(n);var r=!1;m.default.addSink(n,this,function(e){r||(a&&a(),r=!0),o.putImageData(e,0,0),e.width==t.state.width&&e.height==t.state.height||t.setState({width:e.width,height:e.height})})},t.prototype.render=function(){var e=this.props,t=(e.streamId,e.onReady,e.className),n=o(e,["streamId","onReady","className"]),a=this.state,r=a.width,i=a.height;return f.default.createElement("canvas",l({className:(0,d.default)("media-engine-video",t),ref:this._setRef,width:r,height:i},n))},t}(f.default.PureComponent);t.default=v,e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=n(74),u=o(l),f=n(1565),c=o(f),d=n(220),p=function(e){function t(n,a,o){r(this,t);var s=i(this,e.call(this));return s.selfDeaf=!1,s.localMutes={},s.localVolumes={},s.outputs={},s.speakers={},s.outputVolume=d.DEFAULT_VOLUME,s.sinkId=d.DEFAULT_DEVICE_ID,s.bitrate=d.DEFAULT_BITRATE,s.connectionState=d.ConnectionStates.CONNECTING,s.userId=n,s.iceServers=o||[],s._handleSpeaking=s._handleSpeaking.bind(s),s._handleStream=s._handleStream.bind(s),s._handleVideo=s._handleVideo.bind(s),s.input=a,s.input.on("speaking",s._handleSpeaking),s.input.on("video",s._handleVideo),s.input.on("stream",s._handleStream),s.on("newListener",s._handleNewListener.bind(s)),s}return s(t,e),t.prototype.destroy=function(){for(var e=Object.keys(this.outputs),t=Array.isArray(e),n=0,e=t?e:e[Symbol.iterator]();;){var a;if(t){if(n>=e.length)break;a=e[n++]}else{if(n=e.next(),n.done)break;a=n.value}var o=a;this._destroyOutput(o)}this.input.removeListener("speaking",this._handleSpeaking),this.input.removeListener("stream",this._handleStream),this.input.removeListener("video",this._handleVideo),this._setConnectionState(d.ConnectionStates.DISCONNECTED),this.emit("destroy",this),this.removeAllListeners()},t.prototype.setStream=function(e){},t.prototype.createUser=function(e,t,n){},t.prototype.destroyUser=function(e){},t.prototype.setForceAudioInput=function(e){this.input.setPTTActive(e)},t.prototype.setInputMode=function(e,t){this.input.setMode(e,{delay:t.pttReleaseDelay,threshold:t.vadThreshold})},t.prototype.setSelfMute=function(e){this.input.mute=e},t.prototype.setSelfDeaf=function(e){this.selfDeaf=e;for(var t=Object.keys(this.outputs),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var r=o;this.outputs[r].mute=e||this.localMutes[r]}},t.prototype.getLocalMute=function(e){return this.localMutes[e]||!1},t.prototype.setLocalMute=function(e,t){this.localMutes[e]=t,null!=this.outputs[e]&&(this.outputs[e].mute=this.selfDeaf||t)},t.prototype.getLocalVolume=function(e){var t=this.localVolumes[e];return null!=t?t:d.DEFAULT_VOLUME},t.prototype.setLocalVolume=function(e,t){this.localVolumes[e]=t,null!=this.outputs[e]&&(this.outputs[e].volume=this._computeLocalVolume(e))},t.prototype.setLocalPan=function(e,t,n){},t.prototype.setBitRate=function(e){this.bitrate=e},t.prototype.setEchoCancellation=function(e){this.input.echoCancellation=e},t.prototype.setNoiseSuppression=function(e){this.input.noiseSuppression=e},t.prototype.setAutomaticGainControl=function(e){this.input.automaticGainControl=e},t.prototype.setQoS=function(){},t.prototype.isAttenuating=function(){return!1},t.prototype.setAttenuation=function(e,t,n){},t.prototype.setSilenceThreshold=function(){},t.prototype.setSpeaking=function(e,t){t?this.speakers[e]=t:delete this.speakers[e],null!=this.outputs[e]&&(this.outputs[e].speaking=t)},t.prototype.clearAllSpeaking=function(){for(var e in this.speakers)delete this.speakers[e],null!=this.outputs[e]&&(this.outputs[e].speaking=!1)},t.prototype.setOutputVolume=function(e){this.outputVolume=e;for(var t=Object.keys(this.outputs),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var r=o;this.outputs[r].volume=this._computeLocalVolume(r)}},t.prototype.setSinkId=function(e){this.sinkId=e;for(var t=Object.keys(this.outputs),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var r=o;this.outputs[r].setSinkId(e)}},t.prototype.setQualityThresholds=function(e,t,n,a){},t.prototype.setEncryption=function(e,t){},t.prototype.setSDP=function(e){},t.prototype.setRemoteDescription=function(e,t){},t.prototype.addIceCandidate=function(e,t){},t.prototype.createPeers=function(e){},t.prototype._handleStream=function(e){this.setStream(e)},t.prototype._handleVideo=function(e){this.emit("video",this.userId,e)},t.prototype._handleSpeaking=function(e){this.emit("speaking",this.userId,e)},t.prototype._setConnectionState=function(e){this.connectionState=e,this.emit("connectionstatechange",this.connectionState)},t.prototype._computeLocalVolume=function(e){return this.outputVolume*this.getLocalVolume(e)/d.DEFAULT_VOLUME},t.prototype._createOutput=function(e,t){var n=this,a=this.outputs[e];null==a&&(a=new c.default(e),a.mute=this.selfDeaf||this.localMutes[e],a.volume=this._computeLocalVolume(e),a.on("speaking",function(t){return n.emit("speaking",e,t)}),a.on("video",function(t){return n.emit("video",e,t)}),a.speaking=this.speakers[e]||!1,a.setSinkId(this.sinkId),this.outputs[e]=a),a.addTrack(t)},t.prototype._destroyOutput=function(e,t){var n=this.outputs[e];null==n||null!=t&&0!==n.removeTrack(t)||(n.destroy(),delete this.outputs[e])},t.prototype._handleNewListener=function(e){var t=this;switch(e){case"video":a(function(){return t._handleVideo(t.input.getVideoStreamId())});break;case"connectionstatechange":this.emit(e,this.connectionState)}},t}(u.default);t.default=p,e.exports=t.default}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=n(74),u=a(l),f=n(1566),c=a(f),d=n(220),p=n(516),h=n(371),g=function(e){function t(){var n,a,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=a=r(this,e.call.apply(e,[this].concat(l))),a._mute=!1,a._echoCancellation=!0,a._noiseSuppression=!0,a._automaticGainControl=!0,a._videoSourceId=d.DISABLED_DEVICE_ID,a.speaking=!1,a.mode=d.InputModes.VOICE_ACTIVITY,a.modeOptions={},i=n,r(a,i)}return i(t,e),t.prototype.destroy=function(){this.cleanup&&this.cleanup(),this.reset(),this.stream&&this.stream.getTracks().forEach(function(e){return e.stop()}),this._videoStreamId&&(0,h.unregisterVideoStream)(this._videoStreamId)},t.prototype.getVideoStreamId=function(){return this._videoStreamId},t.prototype.reset=function(){this._setSpeaking(!1)},t.prototype.enable=function(){var e=this;return this.cleanup&&(this.cleanup(),this.cleanup=null),(0,p.getDevices)().then(function(t){var n=t[0],a=(t[1],t[2]),o={optional:[{echoCancellation:e.echoCancellation},{googEchoCancellation:e.echoCancellation},{googEchoCancellation2:e.echoCancellation},{googNoiseSuppression:e.noiseSuppression},{googNoiseSuppression2:e.noiseSuppression},{googAutoGainControl:e.automaticGainControl},{googAutoGainControl2:e.automaticGainControl},{googHighpassFilter:!0},{googTypingNoiseDetection:!0},{googAudioMirroring:!1}]};o.optional&&n.some(function(t){return t.id===e._audioSourceId})&&o.optional.push({sourceId:e._audioSourceId});var r=!1;return null==e._desktopSourceId&&e._videoSourceId!==d.DISABLED_DEVICE_ID&&(r={optional:[{minWidth:1280},{maxWidth:1280},{minHeight:720},{maxHeight:720},{minFrameRate:30},{maxFrameRate:30},{googNoiseReduction:!0}]},a.some(function(t){return t.id===e._videoSourceId})&&r.optional.push({sourceId:e._videoSourceId})),e._enableDesktop().then(function(t){return navigator.mediaDevices.getUserMedia({audio:o,video:r}).then(function(n){return e._mergeStreams([t,n])},function(e){if("string"!=typeof e)switch(e.name){case"PermissionDeniedError":e="PERMISSION_DENIED";break;case"PermissionDismissedError":e="PERMISSION_DISMISSED";break;case"DevicesNotFoundError":e="NO_DEVICES_FOUND";break;default:e="UNKNOWN"}throw e})})})},t.prototype._enableDesktop=function(){if(null==this._desktopSourceId)return Promise.resolve(new MediaStream);var e={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:this._desktopSourceId,maxWidth:screen.width,maxHeight:screen.height,minFrameRate:30}};return navigator.mediaDevices.getUserMedia({audio:!1,video:e})},t.prototype._mergeStreams=function(e){var t=new MediaStream;return e.forEach(function(e){return e.getTracks().forEach(function(e){return t.addTrack(e)})}),null!=this.stream&&this.stream.getTracks().forEach(function(e){return e.stop()}),this.stream=t,this._updateMode(),this._updateAudioTracks(),null!=this._videoStreamId&&((0,h.unregisterVideoStream)(this._videoStreamId),this._videoStreamId=null),null!=t&&t.getVideoTracks().length>0&&(this._videoStreamId=(0,h.registerVideoStream)(t)),this.emit("stream",t),this.emit("video",this.getVideoStreamId()),t},t.prototype._setSource=function(e){return e()?null!=this.stream?this.enable():Promise.reject("NO_STREAM"):null!=this.stream?Promise.resolve(this.stream):Promise.reject("NO_STREAM")},t.prototype.setAudioSource=function(e){var t=this;return this._setSource(function(){return t._audioSourceId!==e&&(t._audioSourceId=e,!0)})},t.prototype.setVideoSource=function(e){var t=this;return this._setSource(function(){return t._videoSourceId!==e&&(t._videoSourceId=e,!0)})},t.prototype.setDesktopSource=function(e){var t=this;return this._setSource(function(){return t._desktopSourceId!==e&&(t._desktopSourceId=e,!0)})},t.prototype.setMode=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.mode=e,this.modeOptions=t,this._updateMode()},t.prototype._updateMode=function(){this.cleanup&&(this.cleanup(),this.cleanup=null),null!=this.stream&&this.mode===d.InputModes.VOICE_ACTIVITY&&(this.cleanup=this._setupVoiceActivity(this.modeOptions))},t.prototype.setPTTActive=function(e){var t=this;this.mute||this.speaking!==e&&(this._pttReleaseDelayTimeout&&(window.clearTimeout(this._pttReleaseDelayTimeout),this._pttReleaseDelayTimeout=null),e?this._setSpeaking(e):this._pttReleaseDelayTimeout=window.setTimeout(function(){t._setSpeaking(!1),t._pttReleaseDelayTimeout=null},this.modeOptions.delay))},t.prototype._setupVoiceActivity=function(e){var t=this,n=e.threshold;if(null==this.stream)throw new Error("stream cannot be null");null==n&&(n=-40);var a=new c.default(this.stream,n);return a.onProcess=function(e,n){t.mute||t._setSpeaking(e),t.emit("voiceactivity",n)},function(){null!=a&&(a.stop(),a=null,t._setSpeaking(!1))}},t.prototype._setSpeaking=function(e){this.speaking!==e&&(this.speaking=e,this.emit("speaking",e))},t.prototype._updateAudioTracks=function(){if(null!=this.stream)for(var e=this.stream.getAudioTracks(),t=0,n=e.length;t<n;t++)e[t].enabled=!this._mute},s(t,[{key:"mute",get:function(){return this._mute},set:function(e){this._mute=e,this._updateAudioTracks(),this._setSpeaking(!1)}},{key:"echoCancellation",get:function(){return this._echoCancellation},set:function(e){this._echoCancellation!==e&&(this._echoCancellation=e,this.stream&&this.enable())}},{key:"noiseSuppression",get:function(){return this._noiseSuppression},set:function(e){this._noiseSuppression!==e&&(this._noiseSuppression=e,this.stream&&this.enable())}},{key:"automaticGainControl",get:function(){return this._automaticGainControl},set:function(e){this._automaticGainControl!==e&&(this._automaticGainControl=e,this.stream&&this.enable())}}]),t}(u.default);t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=n(58),u=a(l),f=n(74),c=a(f),d=function(e){function t(n,a){o(this,t);var i=r(this,e.call(this));i._senders=[],i._negotiating=!1,i._negotiationNeeded=!1,i.bitrate=a;var s=i._pc=new RTCPeerConnection({iceServers:n},{optional:[{enableDscp:!0},{googCpuOveruseDetection:!0},{googCpuOveruseEncodeUsage:!0},{googCpuUnderuseThreshold:55},{googCpuOveruseThreshold:85},{googScreencastMinBitrate:400},{googHighStartBitrate:0}]});return s.onicecandidate=i._handleIceCandidate.bind(i),s.oniceconnectionstatechange=i._handleIceConnectionStateChange.bind(i),s.onsignalingstatechange=i._handleSignalingStateChange.bind(i),s.onicegatheringstatechange=i._handleIceGatheringStateChange.bind(i),"Firefox"===u.default.name?s.ontrack=i._handleTrack.bind(i):s.onaddstream=i._handleAddStream.bind(i),i}return i(t,e),t.prototype.setBitRate=function(e){this.bitrate!==e&&(this.bitrate=e,this.negotiationNeeded())},t.prototype.close=function(){"closed"!==this.signalingState&&this._pc.close(),this.removeAllListeners()},t.prototype.setStream=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this._pc,a="closed"===this.iceConnectionState,o=!1;if(null==this._stream||a||(n.removeTrack?this._senders.forEach(function(e){return n.removeTrack(e)}):n.removeStream(this._stream),o=!0),this._stream=e,this._senders=[],null!=e&&!a){var r=e;n.addTrack?this._senders=[].concat(r.getAudioTracks().map(function(e){return n.addTrack(e,r)}),r.getVideoTracks().map(function(e){return n.addTrack(e,r)})):n.addStream(r),o=!0}o&&!t&&this.negotiationNeeded()},t.prototype.addIceCandidate=function(e){return this._pc.addIceCandidate(e)},t.prototype.createOffer=function(){var e=this,t=this._pc;return t.createOffer(this._makeOfferAnswerOptions()).then(function(n){return t.setLocalDescription(e._mungeLocalDescription(n))}).then(function(){var n=t.localDescription;if(null==n)throw new Error("localDescription is null");return e.emit("offer",n),n}).catch(function(n){if("have-remote-offer"===t.signalingState)return console.error(n),e.createOffer();throw n})},t.prototype.createAnswer=function(){var e=this,t=this._pc;return t.createAnswer(this._makeOfferAnswerOptions()).then(function(n){return t.setLocalDescription(e._mungeLocalDescription(n))}).then(function(){var n=t.localDescription;if(null==n)throw new Error("localDescription is null");return e.emit("answer",n),n})},t.prototype.negotiationNeeded=function(){if(this._negotiating)return void(this._negotiationNeeded=!0);this._negotiating=!0,this._negotiationNeeded=!1,this.createOffer()},t.prototype.setRemoteDescription=function(e){return this._pc.setRemoteDescription(e)},t.prototype._makeOfferAnswerOptions=function(){return{voiceActivityDetection:!0,offerToReceiveAudio:!0,offerToReceiveVideo:!0,iceRestart:!1}},t.prototype._mungeLocalDescription=function(e){for(var t=e.sdp.split("\n"),n=0;n<t.length;n++){var a=t[n];if(/^a=mid:/.test(a)){null!=this.bitrate&&t.splice(n+1,0,"b=AS:"+this.bitrate/1e3);break}}return e.sdp=t.join("\n"),e},t.prototype._emitTrack=function(e){var t=this;/^default/.test(e.id)||(e.onended=function(){t.emit("removetrack",e)},this.emit("addtrack",e))},t.prototype._handleIceConnectionStateChange=function(){var e=this.iceConnectionState;console.info("iceConnectionState =>",e),"completed"===e&&(e="connected"),this.emit(e)},t.prototype._handleSignalingStateChange=function(){console.info("signalingState =>",this.signalingState),"stable"===this.signalingState&&(this._negotiating=!1,this._negotiationNeeded&&this.negotiationNeeded())},t.prototype._handleIceGatheringStateChange=function(){console.info("iceGatheringState =>",this.iceGatheringState)},t.prototype._handleAddStream=function(e){var t=this;e.stream.getTracks().forEach(function(e){return t._emitTrack(e)})},t.prototype._handleTrack=function(e){this._emitTrack(e.track)},t.prototype._handleIceCandidate=function(e){this.emit("candidate",e.candidate),null==e.candidate&&this.emit("iceready",this._pc.localDescription)},s(t,[{key:"iceGatheringState",get:function(){return this._pc.iceGatheringState}},{key:"iceConnectionState",get:function(){return this._pc.iceConnectionState}},{key:"signalingState",get:function(){return this._pc.signalingState}},{key:"connected",get:function(){return null!=this._pc&&/connected|completed/.test(this._pc.iceConnectionState)}}]),t}(c.default);t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var a=e+"-"+t,o=""+n+a;return[{attribute:"cname",id:t,value:a},{attribute:"msid",id:t,value:a+" "+o},{attribute:"mslabel",id:t,value:a},{attribute:"label",id:t,value:o}]}function r(e){return p.default.write({version:0,timing:{start:0,stop:0},origin:{address:"127.0.0.1",ipVer:4,netType:"IN",sessionId:"1420070400000",sessionVersion:0,username:"-"},name:"-",msidSemantic:{semantic:"WMS",token:"*"},groups:[{type:"BUNDLE",mids:e.filter(function(e){return null!=e.mid}).map(function(e){return e.mid}).join(" ")}],media:e})}function i(e,t,n,a,o,r,i,s){if("inactive"===a)return{connection:{ip:"0.0.0.0",version:4},direction:E.INACTIVE,fmtp:[],payloads:r,port:0,protocol:y,rtp:[{codec:"NULL",payload:r,rate:0}],mid:null,type:t};var l=p.default.parse(o),u=l.media,f=u[0];if(f.type=t,f.protocol=y,f.payloads=r,f.setup=n,f.mid=e,f.rtcpMux="rtcp-mux",f.direction=a,"Firefox"===c.default.name){var d=s.find(function(e){return"msid"===e.attribute});if(null==d)throw new Error("msid missing");f.msid=d.value,f.ssrcs=s.filter(function(e){return"cname"===e.attribute})}else f.ssrcs=s;switch(t){case"audio":f.ext=[{value:1,uri:"urn:ietf:params:rtp-hdrext:ssrc-audio-level"}],"Firefox"!==c.default.name&&f.ext.push({value:3,uri:"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"}),f.rtp.push({codec:v.OPUS,encoding:2,payload:r,rate:48e3}),f.fmtp.push({config:"minptime=10; useinbandfec=1; usedtx=1;",payload:r}),f.maxptime=60,null!=i&&(f.bandwidth=[{type:"AS",limit:i}]);break;case"video":"Firefox"!==c.default.name&&(f.ext=[{value:2,uri:"urn:ietf:params:rtp-hdrext:toffset"},{value:3,uri:"http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time"},{value:4,uri:"urn:3gpp:video-orientation"},{value:6,uri:"http://www.webrtc.org/experiments/rtp-hdrext/playout-delay"}]),f.rtp.push({codec:v.VP8,payload:r,rate:9e4}),f.rtcpFb=[{type:"ccm",subtype:"fir",payload:r},{type:"nack",payload:r},{type:"nack",subtype:"pli",payload:r},{type:"goog-remb",payload:r}]}return f}function s(e,t,n,a,s,l,u,f){var d=[];if("Firefox"===c.default.name){var p="answer"===e?"passive":"active";[[0,"default","audio",!0],[0,"default","video",!1]].concat(f).forEach(function(e,r){var f=e[0],c=e[1],h=e[2],g=e[3],v="sdparta_"+r,y="audio"===h?a:l,_="audio"===h?s:u;d.push(i(v,h,p,g?n:E.INACTIVE,t,y,_,o(c,f,"audio"===h?m.AUDIO:m.VIDEO)))})}else{var h="answer"===e?"passive":"actpass",v=(0,g.default)(f).filter(function(e){var t=(e[0],e[1],e[2]);return e[3]&&"audio"===t}).map(function(e){var t=e[0];return o(e[1],t,m.AUDIO)}).value();d.push(i("audio","audio",h,n,t,a,s,g.default.flatten(v)));var y=(0,g.default)(f).filter(function(e){var t=(e[0],e[1],e[2]);return e[3]&&"video"===t}).map(function(e){var t=e[0];return o(e[1],t,m.VIDEO)}).value();d.push(i("video","video",h,n,t,l,u,g.default.flatten(y)))}var _=r(d);return new RTCSessionDescription({type:e,sdp:_})}function l(e){return p.default.parse(e).media.reduce(function(e,t){var n=t.type,a=t.bandwidth,o=t.rtp,r=t.ssrcs,i=t.direction,s=void 0,l=void 0,u=void 0;switch(n){case"audio":s=g.default.find(o,{codec:v.OPUS}),null!=s&&(e.audioPayloadType=s.payload),i===E.SENDRECV&&(l=g.default.find(r,{attribute:"cname"}),null!=l&&(e.audioSSRC=l.id)),u=g.default.find(a,{type:"AS"}),null!=u&&(e.audioBitrate=u.limit);break;case"video":s=g.default.find(o,{codec:v.VP8}),null!=s&&(e.videoPayloadType=s.payload),i===E.SENDRECV&&(l=g.default.find(r,{attribute:"cname"}),null!=l&&(e.videoSSRC=l.id))}return e},{audioSSRC:0,audioPayloadType:0,videoSSRC:0,videoPayloadType:0})}function u(e){return(0,g.default)(e).split(/\r\n/).filter(function(e){return/^a=ice|opus|VP8/i.test(e)}).uniq().join("\n")}t.__esModule=!0,t.Directions=t.Codecs=t.Sentinels=void 0,t.generateSessionDescription=s,t.extractSDP=l,t.truncateSDP=u;var f=n(58),c=a(f),d=n(701),p=a(d),h=n(7),g=a(h),m=t.Sentinels={AUDIO:"a",VIDEO:"v"},v=t.Codecs={OPUS:"opus",VP8:"VP8"},E=t.Directions={SENDRECV:"sendrecv",SENDONLY:"sendonly",INACTIVE:"inactive"},y="UDP/TLS/RTP/SAVPF"},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(5),d=a(c),p=n(7),h=a(p),g=n(371),m=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return h.default.bindAll(a,["_setRef"]),a}return s(t,e),t.prototype.componentWillReceiveProps=function(e){this.props.streamId!==e.streamId&&this._updateVideo(e.streamId)},t.prototype._setRef=function(e){var t=this.props.streamId;this._video=e,this._updateVideo(t)},t.prototype._updateVideo=function(e){var t=this._video;null!=t&&(t.srcObject=(0,g.getVideoStream)(e))},t.prototype.render=function(){var e=this.props,t=(e.streamId,e.onReady),n=e.className,a=o(e,["streamId","onReady","className"]);return f.default.createElement("video",l({className:(0,d.default)("media-engine-video",n),ref:this._setRef,autoPlay:!0,muted:!0,onCanPlayThrough:t},a))},t}(f.default.PureComponent);t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(17),r=a(o),i=n(1),s={statics:{Authenticate:function(e,t){r.default.isAuthenticated()||t({pathname:i.Routes.LOGIN})}}};t.default=s,e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(10),i=o(r),s=n(721),l=o(s),u=n(720),f=o(u),c=n(364),d=o(c),p=n(1341),h=o(p),g=n(14),m=o(g),v=n(222),E=o(v),y=n(3),_=o(y),b=n(318),S=a(b);n(2257);var I={promptToUpload:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(S.anyFileTooLarge(e)){var o=i.default.getCurrentUser();m.default.push(d.default,{title:_.default.Messages.UPLOAD_AREA_TOO_LARGE_TITLE,help:_.default.Messages.UPLOAD_AREA_TOO_LARGE_HELP.format({maxSize:S.sizeString(S.maxFileSize())}),promo:!o.premium})}else a?(l.default.pushFiles({files:e,channelId:t}),E.default.isModalOpen(h.default)||m.default.push(h.default,{backdropInstant:n})):f.default.instantBatchUpload(t,e)}};t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e){if(e===g.AuditLogActions.ALL)return g.AuditLogTargetTypes.ALL;if(e<=g.AuditLogActions.GUILD_UPDATE)return g.AuditLogTargetTypes.GUILD;if(e<=g.AuditLogActions.CHANNEL_OVERWRITE_DELETE)return g.AuditLogTargetTypes.CHANNEL;if(e<=g.AuditLogActions.MEMBER_ROLE_UPDATE||e===g.AuditLogActions.MESSAGE_DELETE)return g.AuditLogTargetTypes.USER;if(e<=g.AuditLogActions.ROLE_DELETE)return g.AuditLogTargetTypes.ROLE;if(e<=g.AuditLogActions.INVITE_DELETE)return g.AuditLogTargetTypes.INVITE;if(e<=g.AuditLogActions.WEBHOOK_DELETE)return g.AuditLogTargetTypes.WEBHOOK;if(e<=g.AuditLogActions.EMOJI_DELETE)return g.AuditLogTargetTypes.EMOJI;throw new Error("[AuditLogRecord] Unknown target type for: "+e)}function l(e){switch(e){case g.AuditLogActions.CHANNEL_CREATE:case g.AuditLogActions.CHANNEL_OVERWRITE_CREATE:case g.AuditLogActions.MEMBER_BAN_REMOVE:case g.AuditLogActions.ROLE_CREATE:case g.AuditLogActions.INVITE_CREATE:case g.AuditLogActions.WEBHOOK_CREATE:case g.AuditLogActions.EMOJI_CREATE:return g.AuditLogActionTypes.CREATE;case g.AuditLogActions.CHANNEL_DELETE:case g.AuditLogActions.CHANNEL_OVERWRITE_DELETE:case g.AuditLogActions.MEMBER_KICK:case g.AuditLogActions.MEMBER_PRUNE:case g.AuditLogActions.MEMBER_BAN_ADD:case g.AuditLogActions.ROLE_DELETE:case g.AuditLogActions.INVITE_DELETE:case g.AuditLogActions.WEBHOOK_DELETE:case g.AuditLogActions.EMOJI_DELETE:case g.AuditLogActions.MESSAGE_DELETE:return g.AuditLogActionTypes.DELETE;case g.AuditLogActions.GUILD_UPDATE:case g.AuditLogActions.CHANNEL_UPDATE:case g.AuditLogActions.CHANNEL_OVERWRITE_UPDATE:case g.AuditLogActions.MEMBER_UPDATE:case g.AuditLogActions.MEMBER_ROLE_UPDATE:case g.AuditLogActions.ROLE_UPDATE:case g.AuditLogActions.INVITE_UPDATE:case g.AuditLogActions.WEBHOOK_UPDATE:case g.AuditLogActions.EMOJI_UPDATE:return g.AuditLogActionTypes.UPDATE}return g.AuditLogActionTypes.ALL}t.__esModule=!0,t.AuditLogChange=void 0,t.getTargetType=s,t.getActionType=l;var u=n(8),f=a(u),c=n(119),d=a(c),p=n(147),h=a(p),g=n(1),m=(t.AuditLogChange=function e(t,n,a){i(this,e),this.key=t,this.oldValue=n,this.newValue=a},function(e){function t(){return i(this,t),o(this,e.apply(this,arguments))}return r(t,e),t.prototype.initialize=function(e){this.id=e.id,this.action=e.action,this.actionType=l(this.action),this.targetId=e.targetId,this.timestampStart=e.timestampStart||(0,f.default)(h.default.extractTimestamp(this.id)),this.timestampEnd=e.timestampEnd||this.timestampStart,this.userId=e.userId,this.changes=e.changes||[],this.targetType=s(this.action),this.options=e.options||{},this.target=e.target||e.id,this.user=e.user||null},t}(d.default));t.default=m},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(119),l=a(s),u=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(e){this.id=e.id,this.type=e.type,this.name=e.name,this.revoked=e.revoked||!1,this.integrations=e.integrations||[],this.visibility=e.visibility||0,this.friendSync=e.friend_sync||!1,this.verified=e.verified||!1},t.prototype.toString=function(){return this.name},t}(l.default);t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(119),l=a(s),u=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(e){this.userId=e.userId||"",this.channelId=e.channelId||null,this.sessionId=e.sessionId||null,this.mute=e.mute||!1,this.deaf=e.deaf||!1,this.selfMute=e.selfMute||!1,this.selfDeaf=e.selfDeaf||!1,this.selfVideo=e.selfVideo||!1,this.suppress=e.suppress||!1},t}(l.default);t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=Date.now()-M;(0,S.default)(E.default.getManagedChannels()).filter(function(t){return A.default.extractTimestamp(t.id)<e}).forEach(function(e){return _.default.closePrivateChannel(e.id)})}function l(){return s(),!1}function u(e){C=e.apps}function f(e){var t=e.application;if(null==t.id)return!1;var n=t.id;O[n]||(O[n]=d({count:0},t)),O[n].count++}function c(e){var t=e.application;null!=t.id&&O[t.id]&&(O[t.id].count--,O[t.id].count||delete O[t.id])}t.__esModule=!0;var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p=n(2),h=a(p),g=n(4),m=a(g),v=(n(1),n(11)),E=a(v),y=n(79),_=a(y),b=n(7),S=a(b),I=n(88),T=a(I),N=n(147),A=a(N),M=864e5,C=null,O={};setInterval(function(){return s()},36e5);var D=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(E.default,T.default)},t.prototype.getApps=function(){return C},t.prototype.isConnected=function(e){return null!=O[e]},t.prototype.getConnectedApps=function(){return S.default.values(O)},t}(h.default.Store);t.default=new D(m.default,{CONNECTION_OPEN:l,RPC_APP_CONNECTED:f,RPC_APP_DISCONNECTED:c,USER_AUTHORIZED_APPS_UPDATE:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){p=e.type}t.__esModule=!0;var l=n(2),u=a(l),f=n(4),c=a(f),d=n(1),p=d.ActionTypes.UPDATE_NOT_AVAILABLE,h=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getState=function(){return p},t}(u.default.Store);t.default=new h(c.default,{CHECKING_FOR_UPDATES:s,UPDATE_NOT_AVAILABLE:s,UPDATE_AVAILABLE:s,UPDATE_MANUALLY:s,UPDATE_ERROR:s,UPDATE_DOWNLOADED:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){I=!0,T=void 0,N=void 0,A=[]}function l(e){var t=e.profile;T=t.payment_source,N=t.premium_subscription}function u(e){A=e.history}function f(e){M=e,I=!1}function c(){I=!1}function d(){_.default.isOpen()&&(0,b.getBillingInfo)()}function p(){S=!0}function h(){S=!1}t.__esModule=!0;var g=n(2),m=a(g),v=n(4),E=a(v),y=(n(1),n(530)),_=a(y),b=n(294),S=!1,I=!1,T=void 0,N=void 0,A=[],M=void 0,C=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getState=function(){return{busy:S,syncing:I,paymentSource:T,premiumSubscription:N,billingHistory:A,errors:M}},t}(m.default.Store);t.default=new C(E.default,{BILLING_SYNC:function(e){return s()},BILLING_SYNC_PROFILE_SUCCESS:l,BILLING_SYNC_HISTORY_SUCCESS:u,BILLING_SYNC_ERROR:f,BILLING_SYNC_SUCCESS:c,USER_PAYMENTS_UPDATE:d,USER_BILLING_PROFILE_UPDATE:d,BILLING_INFO_UPDATE:p,BILLING_INFO_UPDATE_COMPLETE:h}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=M.default.getChannel(e),r=null!=o?o.getGuildId():null;return{id:e,messages:t.map(function(e){return U.default.create(e)}),guildId:r,loaded:n,loading:a}}function l(){V={}}function u(e){var t=e.channelId;V[t]=s(t,[],!1,!0)}function f(e){var t=e.channelId,n=e.messages;V[t]=s(t,n,!0)}function c(e){delete V[e.channelId]}function d(e){delete V[e.channel.id]}function p(e){var t=e.guild;V=(0,I.default)(V).filter(function(e){return e.guildId!==t.id}).keyBy("id").value()}function h(e){var t=e.id,n=e.channelId,a=V[n];if(a){0!==I.default.remove(a.messages,function(e){return e.id===t}).length&&(a.messages=a.messages.slice(),V[n]=a)}}function g(e){var t=e.message.id,n=e.message.channel_id,a=V[n];if(null!=e.message.author)if(e.message.pinned){if(!a)return a=s(n,[e.message],!1),void(V[n]=a);a.messages=a.messages.slice();var o=I.default.findIndex(a.messages,function(e){return e.id===t});o===-1?a.messages.unshift(U.default.create(e.message)):a.messages[o]=a.messages[o].updateMessage(e.message),V[n]=a}else{if(!a)return;var r=I.default.findIndex(a.messages,function(e){return e.id===t});if(r==-1)return;a.messages=a.messages.slice(),a.messages.splice(r,1),V[n]=a}else if(a){var i=I.default.findIndex(a.messages,function(e){return e.id===t});if(i>=0){var l=a.messages[i],u=l.updateMessage(e.message);if(u!==l){var f=a.messages.slice();f[i]=u,V[n].messages=f}}}}function m(){I.default.forEach(V,function(e){I.default.forEach(e.messages,function(e){e.timestamp.locale(x.default.locale)})})}function v(){I.default.forEach(V,function(e){e.messages=e.messages.map(function(e){return e.set("blocked",B.default.isBlocked(e.author.id))})})}function E(e){var t=e.ids,n=e.channelId,a=V[n];a&&(a.messages=a.messages.filter(function(e){return t.indexOf(e.id)===-1}))}function y(e){var t=e.guild;I.default.forEach(V,function(e,n){var a=M.default.getChannel(n);null!=a&&a.getGuildId()===t.id&&(e.messages=I.default.map(e.messages,function(e){var t=U.default.lookupMember(e);return null!=t?e.merge(t):e}))})}t.__esModule=!0;var _=n(2),b=a(_),S=n(7),I=a(S),T=n(4),N=a(T),A=(n(1),n(11)),M=a(A),C=n(10),O=a(C),D=n(12),L=a(D),R=n(13),x=a(R),w=n(34),P=a(w),k=n(129),U=a(k),G=n(88),j=a(G),F=n(43),B=a(F),V={},H=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(M.default,L.default,P.default,j.default,O.default,x.default)},t.prototype.getPinnedMessages=function(e){return V[e]&&V[e]||null},t.prototype.loaded=function(e){return V[e]&&V[e].loaded},t}(b.default.Store);t.default=new H(N.default,{CONNECTION_OPEN:l,GUILD_SYNC:y,GUILD_DELETE:p,MESSAGE_UPDATE:g,MESSAGE_DELETE:h,MESSAGE_DELETE_BULK:E,LOAD_PINNED_MESSAGES:u,LOAD_PINNED_MESSAGES_SUCCESS:f,LOAD_PINNED_MESSAGES_FAILURE:c,USER_SETTINGS_UPDATE:m,CHANNEL_DELETE:d,RELATIONSHIP_ADD:v,RELATIONSHIP_REMOVE:v}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){k=N.default.getProps().channel;var e=k.getGuildId();P=w=v({},k.permissionOverwrites),null==w[e]&&(w[e]=O.default.makeEveryoneOverwrite(e)),null==w[U]&&(U=e),G=null,x=!1,R=D.FormStates.CLOSED,L.clear()}function l(){R=D.FormStates.CLOSED,w=null,P=null,k=null,x=!1,L.clear(),U=null,G=null}function u(e){var t=e.section;if(null!=k||t!==D.ChannelSettingsSections.PERMISSIONS)return!1;s()}function f(e){var t,n=e.id,a=e.allow,o=e.deny,r=w[n];if(null==r)return!1;r=v({},r,{allow:a,deny:o}),w=v({},w,(t={},t[n]=r,t)),L.add(n),R=D.FormStates.OPEN,x=!b.default.isEqual(w,P)}function c(e){return d(e.channel.id)}function d(e){if(null==k||k.id!==e)return!1;k=M.default.getChannel(e);var t=k.getGuildId(),n={};L.forEach(function(e){return n[e]=w[e]}),null==n[t]&&null==k.permissionOverwrites[t]&&(n[t]=O.default.makeEveryoneOverwrite(t)),w=v({},k.permissionOverwrites,n),null==w[U]?U=t:G&&w[G]&&(U=G,G=null)}function p(e){var t=e.id;if(null!=w[t])U=t;else{if(null==k)return!1;G=t}}function h(){R=D.FormStates.SUBMITTING}function g(){R=D.FormStates.CLOSED,s()}t.__esModule=!0;var m=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},E=n(2),y=a(E),_=n(7),b=a(_),S=n(4),I=a(S),T=n(264),N=a(T),A=n(11),M=a(A),C=n(55),O=a(C),D=n(1),L=new Set,R=D.FormStates.CLOSED,x=!1,w=null,P=null,k=null,U=null,G=null,j=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(N.default,M.default)},t.prototype.hasChanges=function(){return x},t.prototype.showNotice=function(){return this.hasChanges()},t.prototype.getPermissionOverwrite=function(e){return w[e]},m(t,[{key:"editedPermissionIds",get:function(){return Array.from(L)}},{key:"permissionOverwrites",get:function(){return w}},{key:"selectedOverwriteId",get:function(){return U}},{key:"formState",get:function(){return R}}]),t}(y.default.Store);t.default=new j(I.default,{CHANNEL_SETTINGS_SET_SECTION:u,CHANNEL_SETTINGS_PERMISSIONS_INIT:s,CHANNEL_SETTINGS_PERMISSIONS_UPDATE_PERMISSION:f,CHANNEL_SETTINGS_PERMISSIONS_SELECT_PERMISSION:p,CHANNEL_SETTINGS_CLOSE:l,CHANNEL_UPDATE:c,CHANNEL_SETTINGS_PERMISSIONS_SUBMITTING:h,CHANNEL_SETTINGS_PERMISSIONS_SAVE_SUCCESS:g}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){p=e.contextMenu}function l(){p=null}t.__esModule=!0;var u=n(2),f=a(u),c=n(4),d=a(c),p=(n(1),null),h=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isOpen=function(){return!!p},t.prototype.getContextMenu=function(){return p},t}(f.default.Store);t.default=new h(d.default,{CONTEXT_MENU_OPEN:s,CONTEXT_MENU_CLOSE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){R=_.FormStates.OPEN,k=e.screen||_.CreateGuildModalScreens.Choose,P=L(),x={}}function l(e){k=e.screen}function u(e){null!=w&&(w=null),P=g({},P,e.guild)}function f(){P=L(),w=null,R=_.FormStates.CLOSED,k=_.CreateGuildModalScreens.Choose}function c(){R=_.FormStates.SUBMITTING}function d(e){R=_.FormStates.OPEN,x=e.errors}function p(e){w=e.text,s({screen:null})}function h(e){if(null==P||null!=e.guildId)return!1;P=g({},P,{region:P.region||D.default.getOptimalRegionId()})}t.__esModule=!0;var g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},m=n(2),v=a(m),E=n(4),y=a(E),_=n(1),b=n(266),S=a(b),I=n(267),T=a(I),N=n(10),A=a(N),M=n(187),C=a(M),O=n(310),D=a(O),L=function(){return{name:"",icon:null,region:D.default.getOptimalRegionId()}},R=_.FormStates.CLOSED,x={},w=void 0,P=L(),k=_.CreateGuildModalScreens.Choose,U=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(T.default,A.default,S.default,C.default,D.default)},t.prototype.isOpen=function(){return R!==_.FormStates.CLOSED},t.prototype.getProps=function(){return{submitting:R===_.FormStates.SUBMITTING,errors:x,code:w,guild:P,screen:k}},t}(v.default.Store);t.default=new U(y.default,{CREATE_GUILD_MODAL_OPEN:s,CREATE_GUILD_MODAL_SET_SCREEN:l,CREATE_GUILD_MODAL_UPDATE:u,CREATE_GUILD_MODAL_SUBMIT:c,CREATE_GUILD_MODAL_SUBMIT_FAILURE:d,CREATE_GUILD_MODAL_CLOSE:f,JOIN_GUILD_MODAL:p,LOAD_REGIONS:h}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){if(!b){var e=v.default.getId();p.default.getUser(e)&&Object.keys(g.default.getGuilds()).forEach(function(e){y.default.v3(e)===S&&(b=!0)})}}t.__esModule=!0;var l=n(2),u=a(l),f=n(4),c=a(f),d=n(10),p=a(d),h=n(12),g=a(h),m=n(17),v=a(m),E=n(346),y=a(E),_=n(1),b=0,S=447929636,I=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(p.default,g.default)},t.prototype.isDeveloper=function(){return b},t.prototype.getExperimentDescriptor=function(){return b?{type:"developer",name:"discord_dev_testing",revision:1,bucket:_.ExperimentBuckets.TREATMENT_1}:null},t}(u.default.Store);t.default=new I(c.default,{CONNECTION_OPEN:s,USER_UPDATE:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.channelId,n=e.messageId,a=e.content;v=t,E=n,y=m.default.unparse(a,t)}function l(){v=null,E=null,y=null}t.__esModule=!0;var u=n(2),f=a(u),c=n(4),d=a(c),p=n(88),h=a(p),g=n(146),m=a(g),v=(n(1),null),E=null,y=null,_=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isEditing=function(e,t){return e===v&&t===E},t.prototype.getEditingContent=function(){return y},t.prototype.getEditingMessageId=function(){return E},t.prototype.getEditingMessage=function(){return v&&E?h.default.getMessage(v,E):null},t}(f.default.Store);t.default=new _(d.default,{MESSAGE_START_EDIT:s,MESSAGE_END_EDIT:l,CHANNEL_SELECT:l,GUILD_SELECT:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:30,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:50;return null!=e&&e.action===t.action&&e.targetId===t.targetId&&e.userId===t.userId&&t.timestampStart.diff(e.timestampStart,"minutes")<a&&n<o&&t.targetType!==x.AuditLogTargetTypes.INVITE&&t.action!==x.AuditLogActions.MESSAGE_DELETE}function l(e){var t=[],n=0;return e.reverse().forEach(function(e){var a=[],o=null,r=null;if(null!=e.reason&&a.push(new L.AuditLogChange(x.AuditLogChangeKeys.REASON,null,e.reason)),e.changes&&e.changes.forEach(function(e){var t=new L.AuditLogChange(e.key,e.old_value,e.new_value);a.push(t),t.key===x.AuditLogChangeKeys.NAME?o=t:t.key===x.AuditLogChangeKeys.TYPE&&(r=t)}),e.action_type===x.AuditLogActions.MEMBER_PRUNE){var i=null!=e&&null!=e.options&&null!=e.options.delete_member_days?e.options.delete_member_days:1,l=new L.AuditLogChange(x.AuditLogChangeKeys.PRUNE_DELETE_DAYS,null,i);a.push(l)}var u=new R.default({id:e.id,action:e.action_type,targetId:e.target_id,userId:e.user_id,changes:a,options:e.options,guildId:P}),f=t[0];if(s(f,u,n))return t[0]=f.merge({changes:[].concat(f.changes,u.changes),timestampEnd:u.timestampStart}),void n++;if(u.actionType===x.AuditLogActionTypes.DELETE&&null!=o){var c=o.oldValue;if(u.targetType===x.AuditLogTargetTypes.CHANNEL&&null!==r&&r.oldValue===x.ChannelTypes.GUILD_TEXT&&(c="#"+c),null==Y[u.targetType]){var d;Y[u.targetType]=(d={},d[u.targetId]=c,d)}else Y[u.targetType][u.targetId]=c}n=0,t.unshift(u)}),t}function u(){F=!0}function f(e){var t=e.logs,n=e.webhooks;K=0,j=!1,F=!1,V=!0,H=!1,k=l(t),G=n,t.length<x.AUDIT_LOG_PAGE_LIMIT&&(V=!1)}function c(){F=!1,H=!0,k=[]}function d(e){var t=e.isGroupedFetch;B=!0,t&&K++}function p(e){var t=e.logs,n=e.webhooks;if(B=!1,G=n,(0===t.length||t.length<x.AUDIT_LOG_PAGE_LIMIT)&&(V=!1),t.length>0){var a=l(t);k=[].concat(k,a)}}function h(){B=!1}function g(e){W=e.action}function m(e){z=e.userId}function v(e){var t=e.guildId,n=e.section;return P=t,E({section:n})}function E(e){if(e.section!==x.GuildSettingsSections.AUDIT_LOG)return!1;var t=C.default.getMembers(P),n=D.default.getGuild(P);U=(0,S.default)(t).filter(function(e){return e.roles.some(function(t){if(null!=n){if(e.userId===n.ownerId)return!0;var a=n.roles[t];return null!=a&&w.some(function(e){return e&a.permissions})}})}).map(function(e){return e.userId}).value()}function y(){k=[],U=[],W=x.AuditLogActions.ALL,z=null,Y={},K=0,j=!0,G=[]}t.__esModule=!0;var _=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),b=n(7),S=a(b),I=n(2),T=a(I),N=n(4),A=a(N),M=n(34),C=a(M),O=n(12),D=a(O),L=n(787),R=a(L),x=n(1),w=[x.Permissions.KICK_MEMBERS,x.Permissions.BAN_MEMBERS,x.Permissions.ADMINISTRATOR,x.Permissions.MANAGE_CHANNELS,x.Permissions.MANAGE_GUILD,x.Permissions.MANAGE_NICKNAMES,x.Permissions.MANAGE_ROLES,x.Permissions.MANAGE_WEBHOOKS,x.Permissions.MANAGE_EMOJIS,x.Permissions.MUTE_MEMBERS,x.Permissions.DEAFEN_MEMBERS],P=null,k=[],U=[],G=[],j=!0,F=!1,B=!1,V=!0,H=!1,z=null,W=x.AuditLogActions.ALL,Y={},K=0,Q=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),_(t,[{key:"logs",get:function(){return k}},{key:"webhooks",get:function(){return G}},{key:"isInitialLoading",get:function(){return j}},{key:"isLoading",get:function(){return F}},{key:"isLoadingNextPage",get:function(){return B}},{key:"hasOlderLogs",get:function(){return V}},{key:"hasError",get:function(){return H}},{key:"userIds",get:function(){return U}},{key:"userIdFilter",get:function(){return z}},{key:"actionFilter",get:function(){return W}},{key:"deletedTargets",get:function(){return Y}},{key:"groupedFetchCount",get:function(){return K}}]),t}(T.default.Store);t.default=new Q(A.default,{AUDIT_LOG_FETCH_START:u,AUDIT_LOG_FETCH_SUCCESS:f,AUDIT_LOG_FETCH_FAIL:c,AUDIT_LOG_FETCH_NEXT_PAGE_START:d,AUDIT_LOG_FETCH_NEXT_PAGE_SUCCESS:p,AUDIT_LOG_FETCH_NEXT_PAGE_FAIL:h,AUDIT_LOG_FILTER_BY_ACTION:g,AUDIT_LOG_FILTER_BY_USER:m,GUILD_SETTINGS_SET_SECTION:E,GUILD_SETTINGS_INIT:v,GUILD_SETTINGS_CLOSE:function(e){return y()}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.section;if(null!=j||t!==w.GuildSettingsSections.ROLES)return!1;l()}function l(){U=!1,G=!1,P.clear(),k=w.FormStates.OPEN,j=L.default.getProps().guild,F=(0,C.default)(j.roles).values().value(),B=[].concat(F)}function u(){j=null,B=F=null,P.clear(),U=!1,G=!1,k=w.FormStates.CLOSED}function f(e){var t=e.roles;if(t.length!==F.length)return!1;F=t.map(function(e){return m(e)}),G=!0,V()}function c(e){var t=e.id,n=e.flag,a=e.allow,o=m(t);if(null==o)return!1;var r=o.permissions;return a?r|=n:r^=r&n,g(o,{permissions:r})}function d(e){var t=e.id,n=e.name;return g(m(t),{name:n})}function p(e){var t=e.id,n=e.color,a=0===n?null:(0,O.int2hex)(n);return g(m(t),{color:n,colorString:a})}function h(e){var t=e.id,n=e.hoist,a=e.mentionable;return g(m(t),{hoist:n,mentionable:a})}function g(e,t){var n=F.indexOf(e);if(n<0)return!1;e=S({},e,t),F[n]=e,F=[].concat(F),U=!0,P.add(e.id),V(e)}function m(e){return F.find(function(t){return t.id===e})}function v(e){return B.find(function(t){return t.id===e})}function E(e){var t=e.guildId;if(null==j||t!==j.id||k===w.FormStates.SUBMITTING)return!1;j=L.default.getProps().guild;var n=(0,C.default)(j.roles).values().value();P.forEach(function(e){var t=m(e),a=-1;null==n.find(function(t,n){if(t.id===e)return a=n,!0})?P.delete(e):n[a]=t}),0===P.size&&(U=!1),G=!1,F=[].concat(n)}function y(){l()}function _(){k=w.FormStates.SUBMITTING}t.__esModule=!0;var b=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},I=n(2),T=a(I),N=n(4),A=a(N),M=n(7),C=a(M),O=n(123),D=n(96),L=a(D),R=n(542),x=a(R),w=n(1),P=new Set,k=w.FormStates.CLOSED,U=!1,G=!1,j=void 0,F=void 0,B=void 0,V=C.default.debounce(function(){var e=!1;G&&(G=F.some(function(e,t){return e.id!==B[t].id}),G||(e=!0)),P.forEach(function(t){C.default.isEqual(m(t),v(t))&&(P.delete(t),e=!0)}),0===P.size&&(U=!1),e&&z.emitChange()},500),H=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(L.default)},t.prototype.hasChanges=function(){return U||G},t.prototype.getSortDeltas=function(){return null==j||null==F?[]:x.default.calculatePositionDeltas(C.default.values(j.roles),F,function(e){return e.id},function(e){return e.originalPosition},!1)},t.prototype.showNotice=function(){return this.hasChanges()},t.prototype.getRole=function(e){return m(e)},b(t,[{key:"hasSortChanges",get:function(){return G}},{key:"guild",get:function(){return j}},{key:"editedRoleIds",get:function(){return Array.from(P)}},{key:"roles",get:function(){return F}},{key:"formState",get:function(){return k}}]),t}(T.default.Store),z=new H(A.default,{GUILD_SETTINGS_ROLES_INIT:l,GUILD_SETTINGS_INIT:s,GUILD_SETTINGS_SET_SECTION:s,GUILD_SETTINGS_ROLES_SORT_UPDATE:f,GUILD_SETTINGS_ROLES_UPDATE_PERMISSIONS:c,GUILD_SETTINGS_ROLES_UPDATE_NAME:d,GUILD_SETTINGS_ROLES_UPDATE_COLOR:p,GUILD_SETTINGS_ROLES_UPDATE_SETTINGS:h,GUILD_SETTINGS_CLOSE:u,GUILD_ROLE_CREATE:E,GUILD_ROLE_UPDATE:E,GUILD_ROLE_DELETE:E,GUILD_SETTINGS_ROLES_SUBMITTING:_,GUILD_SETTINGS_ROLES_SAVE_SUCCESS:y});t.default=z,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){E=v=e.code||"",y=!1}function l(){E=v=null,y=!1}function u(e){v=e.code}function f(){v=E}function c(){y=!0}t.__esModule=!0;var d=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),p=n(2),h=a(p),g=n(4),m=a(g),v=(n(1),null),E=null,y=!1,_=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.showNotice=function(){return v!==E},t.prototype.hasError=function(){return y},d(t,[{key:"vanityURLCode",get:function(){return v}},{key:"originalVanityURLCode",get:function(){return E}}]),t}(h.default.Store);t.default=new _(m.default,{GUILD_SETTINGS_SET_VANITY_URL:s,GUILD_SETTINGS_VANITY_URL_CLOSE:l,GUILD_SETTINGS_VANITY_URL_RESET:f,GUILD_SETTINGS_VANITY_URL_SET:u,GUILD_SETTINGS_VANITY_URL_ERROR:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.channelId,n=e.textSoFar;return n?m[t]=n:delete m[t],!1}function l(e){s(e),d.default.set(g,m)}t.__esModule=!0;var u=n(2),f=a(u),c=n(25),d=a(c),p=n(4),h=a(p),g=(n(1),"InProgressText"),m={},v=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){m=d.default.get(g)||{}},t.prototype.getSavedText=function(e){return m[e]||""},t}(f.default.Store);t.default=new v(h.default,{IN_PROGRESS_TEXT_SAVE:l,IN_PROGRESS_TEXT_CHANGE:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){g=!0}function l(){g=!1}function u(){m=!0}function f(){m=!1}t.__esModule=!0;var c=n(2),d=a(c),p=n(4),h=a(p),g=(n(1),!1),m=!1,v=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isOpen=function(){return g},t.prototype.getState=function(){return{ragingDemon:m}},t}(d.default.Store);t.default=new v(h.default,{SHOW_KEYBOARD_SHORTCUTS:s,HIDE_KEYBOARD_SHORTCUTS:l,ACTIVATE_RAGING_DEMON:u,DEACTIVATE_RAGING_DEMON:f}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){(0,_.getInputDevices)().then(function(e){A=e.map(function(e){return{value:e.id,label:e.name}}),!N&&A.length&&(N=A[0].value,T.setSource(N))})}function l(){T||(T=new y.default),b===v.NEW_USER_ONBOARDING_MIC_MODES.WAITING&&(T.on("voiceactivity",this.handleVoiceActivity.bind(this)),T.on("speaking",this.handleSpeaking.bind(this)),T.enable(),b=v.NEW_USER_ONBOARDING_MIC_MODES.LOADING),clearTimeout(M),M=setTimeout(this.handleError.bind(this),5e3),s()}function u(e){N=e.id,T.setSource(N)}function f(){T&&T.cleanup&&(T.cleanup(),T=null),clearTimeout(M)}t.__esModule=!0;var c=n(2),d=a(c),p=n(4),h=a(p),g=n(27),m=a(g),v=n(1),E=n(781),y=a(E),_=n(516),b=v.NEW_USER_ONBOARDING_MIC_MODES.WAITING,S=-(1/0),I=0,T=void 0,N=null,A=[],M=void 0,C=!1,O=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(m.default)},t.prototype.handleError=function(){clearTimeout(M),b=v.NEW_USER_ONBOARDING_MIC_MODES.ERROR,C=!0},t.prototype.handleTestSuccess=function(){T&&T.cleanup&&(T.cleanup(),T=null),clearTimeout(M),b=v.NEW_USER_ONBOARDING_MIC_MODES.SUCCESS},t.prototype.handleSpeaking=function(){I+=1,b=v.NEW_USER_ONBOARDING_MIC_MODES.LISTENING,clearTimeout(M),M=setTimeout(this.handleTestSuccess.bind(this),2e3)},t.prototype.handleVoiceActivity=function(e){S=e},t.prototype.getState=function(){return{mode:b,volumeTracker:I,volume:S,inputDevices:A,selectedDevice:N,hadError:C}},t}(d.default.Store);t.default=new O(h.default,{NEW_USER_FLOW_MIC_TEST_START:l,NEW_USER_FLOW_MIC_TEST_STOP:f,NEW_USER_FLOW_SELECT_MIC_INPUT:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){p=e.notes||{}}function l(e){p[e.id]=e.note}t.__esModule=!0;var u=n(2),f=a(u),c=n(4),d=a(c),p=(n(1),{}),h=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getNote=function(e){return p[e]||""},t}(f.default.Store);t.default=new h(d.default,{CONNECTION_OPEN:s,USER_NOTE_UPDATE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=E.default.getChannelId(),t=void 0;if(null!=e&&m.default.isEnabled()){var n=_.default.getChannel(e);t=m.default.getMode()!==h.InputModes.VOICE_ACTIVITY||null==n||n.isPrivate()||S.default.can(h.Permissions.USE_VAD,{channelId:e})}else t=!0;if(I===t)return!1;T=t,I=t}function l(){T=!0}function u(){T=I}t.__esModule=!0;var f=n(2),c=a(f),d=n(4),p=a(d),h=n(1),g=n(27),m=a(g),v=n(62),E=a(v),y=n(11),_=a(y),b=n(65),S=a(b),I=!0,T=!0,N=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(S.default,m.default,E.default)},t.prototype.shouldShowWarning=function(){return!T},t.prototype.canUseVoiceActivity=function(){return I},t}(c.default.Store);t.default=new N(p.default,{RTC_CONNECTION_STATE:s,VOICE_STATE_UPDATE:s,AUDIO_ENABLE:s,AUDIO_SET_MODE:s,CHANNEL_UPDATE:s,GUILD_ROLE_UPDATE:s,GUILD_MEMBER_UPDATE:s,AUDIO_TOGGLE_SELF_MUTE:u,PERMISSION_CLEAR_VAD_WARNING:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n=e.id,a=e.component,o=e.position,r=e.props,i=e.offsets;null==o&&(o=v.PictureInPicturePositions.BOTTOM_LEFT),E=d({},E,(t={},t[n]={component:a,position:o,props:r,offsets:i},t))}function l(e){var t=e.id;if(null==E[t])return!1;delete E[t],E=d({},E)}function u(e){var t,n=e.id,a=e.position;E=d({},E,(t={},t[n]=d({},E[n],{position:a}),t))}function f(){E={}}t.__esModule=!0;var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p=n(2),h=a(p),g=n(4),m=a(g),v=n(1),E={},y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.has=function(e){return null!=e&&null!=E[e]},c(t,[{key:"windows",get:function(){return E}}]),t}(h.default.Store);t.default=new y(m.default,{PICTURE_IN_PICTURE_OPEN:s,PICTURE_IN_PICTURE_CLOSE:l,PICTURE_IN_PICTURE_MOVE:u,LOGOUT:function(e){return f()}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){_=null,E.default.checkScheduledMaintenances()}function l(e){_=e.incident}function u(e){b=e.maintenance}function f(){S=b.id,m.default.set(y,S)}t.__esModule=!0;var c=n(2),d=a(c),p=n(4),h=a(p),g=(n(1),n(25)),m=a(g),v=n(493),E=a(v),y="MaintenanceStore",_=null,b=null,S=null,I=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){S=m.default.get(y)},t.prototype.getIncident=function(){return _},t.prototype.getScheduledMaintenance=function(){return null!=b&&b.id!=S?b:null},t}(d.default.Store);t.default=new I(h.default,{CONNECTION_OPEN:s,STATUS_PAGE_INCIDENT:l,STATUS_PAGE_SCHEDULED_MAINTENANCE:u,STATUS_PAGE_SCHEDULED_MAINTENANCE_ACK:f}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t;h=u({},h,(t={},t[e.id]=e.tooltip,t))}function l(e){h=u({},h),delete h[e.id]}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f=n(2),c=a(f),d=n(4),p=a(d),h=(n(1),{}),g=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getTooltips=function(){return h},t.prototype.isOpen=function(e){return null!=h[e]},t}(c.default.Store);t.default=new g(p.default,{TOOLTIP_SHOW:s,TOOLTIP_HIDE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e){e=e.filter(function(e){return null!=e}),M.postMessage({type:T.UserSearchWorkerMessageTypes.UPDATE_USERS,payload:e})}function l(e){if(I.default.isBlocked(e.id))return null;var t={id:e.id,username:e.username+"#"+e.discriminator};return e.bot&&(t.isBot=!0),I.default.isFriend(e.id)&&(t.isFriend=!0),t}function u(e,t,n){e[t]=n||null}function f(e,t){var n=[];return e.forEach(function(e){var a=l(e.user);a&&(u(a,t,e.nick),n.push(a))}),n}function c(){null!=M&&(M.terminate(),M=null)}function d(e){var t=e.user,a=e.guilds,o=e.channels,r=e.relationships;M&&M.terminate(),M=new(n(5567));var i=[l(t)];return a.forEach(function(e){i=i.concat(f(e.members,e.id))}),o.forEach(function(e){var t=e.recipients;(void 0===t?[]:t).forEach(function(e){i.push(l(e))})}),r.forEach(function(e){var t=e.user;i.push(l(t))}),s(i),!1}function p(e){var t=e.user;return t=l(t),t&&s([t]),!1}function h(e){var t=e.guild;return s(f(t.members,t.id)),!1}function g(e){return s(f(e.members,e.guildId)),!1}function m(e){var t=e.guildId,n=e.user,a=e.nick;return n=l(n),n&&(u(n,t,a),s([n])),!1}function v(e){s([l(e.relationship.user)])}t.__esModule=!0;var E=n(2),y=a(E),_=n(4),b=a(_),S=n(43),I=a(S),T=n(1),N=n(347),A=a(N),M=void 0,C=10,O=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C;i(this,e),this._uuid=A.default.v4(),this._callback=t,this._limit=n,this._currentQuery=null,this._nextQuery=null,this.handleMessages=this.handleMessages.bind(this),M.addEventListener("message",this.handleMessages,!1)}return e.prototype.handleMessages=function(e){var t=e.data;t&&t.type===T.UserSearchWorkerMessageTypes.USER_RESULTS&&t.uuid===this._uuid&&(this._currentQuery!==!1&&this._callback(t.payload),null!=this._currentQuery&&(this._currentQuery=null),this._setNextQuery())},e.prototype.destroy=function(){M.removeEventListener("message",this.handleMessages,!1),this.clearQuery()},e.prototype.clearQuery=function(){this._currentQuery=!1,this._nextQuery=null,M.postMessage({uuid:this._uuid,type:T.UserSearchWorkerMessageTypes.QUERY_CLEAR})},e.prototype.setQuery=function(e,t,n,a,o){null!=e&&(this._nextQuery={query:e,filters:t,blacklist:n,whitelist:a,boosters:o||{},limit:this._limit},this._setNextQuery())},e.prototype._setNextQuery=function(){!this._currentQuery&&this._nextQuery&&(this._currentQuery=this._nextQuery,this._nextQuery=null,M.postMessage({uuid:this._uuid,type:T.UserSearchWorkerMessageTypes.QUERY_SET,payload:this._currentQuery}))},e}(),D=function(e){function t(){return i(this,t),o(this,e.apply(this,arguments))}return r(t,e),t.prototype.initialize=function(){this.waitFor(I.default)},t.prototype.getSearchContext=function(e){return new O(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:C)},t}(y.default.Store);t.default=new D(b.default,{LOGOUT:c,CONNECTION_OPEN:d,USER_UPDATE:p,GUILD_CREATE:h,GUILD_SYNC:h,GUILD_MEMBERS_CHUNK:g,GUILD_MEMBER_ADD:m,GUILD_MEMBER_UPDATE:m,RELATIONSHIP_ADD:v}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){T=b.FormStates.OPEN,N={},A=I.default.getCurrentUser(),M={},C=null!=A.email,O=A.verified,L=!1,C?D=!1:u({isEditingProfile:!0})}function l(){T=b.FormStates.CLOSED,N=null,A=null,M=null,C=null,O=null,D=null,L=null}function u(e){D=e.isEditingProfile,D?M={avatar:A.avatar,username:A.username,email:A.email,password:"",newPassword:null}:(T=b.FormStates.OPEN,M={},N={},L=!1)}function f(e){L=e.isEditingPassword;var t=null;L&&(t=""),M=m({},M,{newPassword:t})}function c(e){M=m({},M,e.update)}function d(e){var t=e.user;C=null!=t.email;var n=!O;O=t.verified,n&&O&&u({isEditingProfile:!1})}function p(){T=b.FormStates.SUBMITTING,N={}}function h(e){if(T!==b.FormStates.SUBMITTING)return!1;T=b.FormStates.OPEN,N=e.errors||{}}function g(e){return e.section===b.UserSettingsSections.ACCOUNT&&s()}t.__esModule=!0;var m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v=n(2),E=a(v),y=n(4),_=a(y),b=n(1),S=n(10),I=a(S),T=b.FormStates.CLOSED,N=null,A=null,M=null,C=null,O=null,D=null,L=null,R=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getState=function(){return{formState:T,errors:N,user:A,accountInfo:M,claimed:C,verified:O,isEditingProfile:D,isEditingPassword:L}},t}(E.default.Store);t.default=new R(_.default,{USER_SETTINGS_ACCOUNT_INIT:s,USER_SETTINGS_MODAL_INIT:s,USER_SETTINGS_ACCOUNT_SUBMIT_SUCCESS:s,USER_SETTINGS_MODAL_SET_SECTION:g,USER_SETTINGS_ACCOUNT_CLOSE:l,USER_SETTINGS_ACCOUNT_TOGGLE_EDITING_PROFILE:u,USER_SETTINGS_ACCOUNT_TOGGLE_EDITING_PASSWORD:f,USER_SETTINGS_ACCOUNT_UPDATE_INFO:c,USER_SETTINGS_ACCOUNT_SUBMIT:p,USER_SETTINGS_ACCOUNT_SUBMIT_FAILURE:h,USER_UPDATE:d}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=p.default.getSpeakers(),t=0,n=T;if(null!=T&&p.default.isSpeaking(T)!==!1||(T=null,(0,I.default)(e).forEach(function(e,n){e>t&&n!==y.default.getId()&&(t=e,T=n)})),T===n)return!1}t.__esModule=!0;var l=n(2),u=a(l),f=n(4),c=a(f),d=n(190),p=a(d),h=n(130),g=a(h),m=n(10),v=a(m),E=n(17),y=a(E),_=n(19),b=a(_),S=n(7),I=a(S),T=void 0,N=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(p.default,v.default),this.syncWith([p.default],s)},t.prototype.getSpeaker=function(e){e=e||b.default.getChannelId();var t=g.default.selectedParticipantIds;return null!=e&&null!=t[e]?v.default.getUser(t[e]):null!=T?v.default.getUser(T):v.default.getCurrentUser()},t}(u.default.Store);t.default=new N(c.default,function(){return!1}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),r=a(o),i=n(62),s=a(i),l=n(27),u=a(l),f=n(76),c=a(f),d=n(19),p=a(d),h=n(11),g=a(h),m=n(12),v=a(m),E=n(4),y=a(E);t.default=new r.default.CompoundStore(y.default,[s.default,p.default,u.default,c.default],function(){var e=s.default.isDisabled()?null:s.default.getGuildId(),t=s.default.isDisabled()?null:p.default.getVoiceChannelId(),n=void 0,a=void 0;return null!=e&&(n=v.default.getGuild(e),a=g.default.getChannel(t)),{mute:!u.default.isEnabled()||u.default.isSelfMute()||u.default.isSelfMutedTemporarily(),deaf:u.default.isSelfDeaf(),rtcConnection:{state:s.default.getState(),quality:s.default.getQuality(),lastPing:s.default.getLastPing(),hasVideo:null!=t&&c.default.hasVideo(e,t)},guild:null!=n?{id:n.id,name:n.name}:null,channel:null!=a?{id:a.id,name:a.name}:null}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),r=a(o),i=n(109),s=a(i),l=n(378),u=a(l),f=n(11),c=a(f),d=n(4),p=a(d);t.default=new r.default.CompoundStore(p.default,[s.default,u.default],function(){var e=u.default.getFirstIncomingCallId(),t=void 0;if(e){var n=c.default.getChannel(e);t=n.iconURL||n.getIconURL()}return{nameRenderingMode:s.default.getDisplayNameMode(),ringing:u.default.hasIncomingCalls(),avatarUrl:t}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),r=a(o),i=n(62),s=a(i),l=n(165),u=a(l),f=n(109),c=a(f),d=n(4),p=a(d);t.default=new r.default.CompoundStore(p.default,[c.default,s.default,u.default],function(){return{selectedGuildId:c.default.getSelectedGuildId(),selectedVoiceGuildId:s.default.isDisabled()?null:s.default.getGuildId(),guilds:u.default.getSortedGuilds().map(function(e){var t=e.guild;return{id:t.id,name:t.name,acronym:t.acronym,icon:t.icon,iconURL:null!=t.icon?t.getIconURL():null}})}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),r=a(o),i=n(109),s=a(i),l=n(4),u=a(l);t.default=new r.default.CompoundStore(u.default,[s.default],function(){return{avatarSizeMode:s.default.getAvatarSizeMode(),displayNameMode:s.default.getDisplayNameMode(),displayUserMode:s.default.getDisplayUserMode()}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(2),i=o(r),s=n(109),l=o(s),u=n(379),f=o(u),c=n(4),d=o(c),p=n(273),h=a(p);t.default=new i.default.CompoundStore(d.default,[l.default,f.default],function(){var e=f.default.getOverlayKeybind();return{position:l.default.getPosition(),disabled:null==l.default.getSelectedGuildId()&&null==l.default.getSelectedCallId(),locked:l.default.locked,keybind:null!=e?h.toString(e.shortcut,!0):"???"}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),r=a(o),i=n(7),s=a(i),l=n(62),u=a(l),f=n(271),c=a(f),d=n(109),p=a(d),h=n(190),g=a(h),m=n(11),v=a(m),E=n(10),y=a(E),_=n(76),b=a(_),S=n(4),I=a(S),T=n(1);t.default=new r.default.CompoundStore(I.default,[u.default,b.default,c.default,p.default,y.default,g.default,v.default],function(){var e=u.default.isDisabled()?null:u.default.getChannelId(),t=p.default.getDisplayUserMode(),n=v.default.getChannel(e),a=void 0;return null!=n?(a=null==n.getGuildId()?(0,s.default)(n.recipients).map(y.default.getUser).filter(function(e){return null!=e}).unshift(y.default.getCurrentUser()).map(function(t){var n=b.default.getVoiceState(null,t.id),a=T.CallMemberStates.NONE;return null!=n&&n.channelId===e&&(a=T.CallMemberStates.IN_CALL),{user:{id:t.id,username:t.toString(),avatarURL:t.getAvatarURL()},calling:a,speaking:g.default.isSpeaking(t.id)}}).filter(function(e){return e.calling===T.CallMemberStates.IN_CALL}).value():c.default.getVoiceStatesForChannel(n.getGuildId(),n.id).map(function(e){var t=e.user,n=e.nick;return{user:{id:t.id,username:n,avatarURL:t.getAvatarURL()},speaking:g.default.isSpeaking(t.id)}}),a=a.filter(function(e){var n=e.speaking;return t!==T.OverlayDisplayUsers.ONLY_WHILE_SPEAKING||n})):a=[],{channelId:e,voiceStates:a,displayNameMode:p.default.getDisplayNameMode(),avatarSizeMode:p.default.getAvatarSizeMode()}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),r=a(o),i=n(109),s=a(i),l=n(27),u=a(l),f=n(76),c=a(f),d=n(97),p=a(d),h=n(10),g=a(h),m=n(65),v=a(m),E=n(4),y=a(E),_=n(1);t.default=new r.default.CompoundStore(y.default,[s.default,u.default,c.default,p.default,v.default,g.default],function(){var e=s.default.getOpenedUserPopout(),t=e.userId,n=e.guildId,a=e.channelId;if(null==t)return{};var o=!1,r=!1,i=!1,l=!1,f=!1,d=!1,h=!1,m=!1,E=!1,y=g.default.getCurrentUser(),b=y.id===t;b?(o=!u.default.isEnabled()||u.default.isSelfMute(),r=u.default.isSelfDeaf()):o=u.default.isLocalMute(t);var S=c.default.getVoiceState(n,t);return null!=S&&(i=S.mute,l=S.deaf,f=S.selfMute,d=S.selfDeaf,h=S.suppress,m=v.default.can(_.Permissions.MUTE_MEMBERS,{channelId:a}),E=v.default.can(_.Permissions.DEAFEN_MEMBERS,{channelId:a})),{me:b,mute:i,deaf:l,selfMute:f,selfDeaf:d,localMute:o,localDeaf:r,suppress:h,status:p.default.getStatus(t),canServerMute:m,canServerDeafen:E,volume:u.default.getLocalVolume(t)}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),r=a(o),i=n(62),s=a(i),l=n(12),u=a(l),f=n(11),c=a(f),d=n(19),p=a(d),h=n(109),g=a(h),m=n(10),v=a(m),E=n(164),y=a(E),_=n(76),b=a(_),S=n(190),I=a(S),T=n(271),N=a(T),A=n(98),M=a(A),C=n(374),O=a(C),D=n(65),L=a(D),R=n(55),x=a(R),w=n(4),P=a(w),k=n(1);t.default=new r.default.CompoundStore(P.default,[g.default,p.default,s.default,u.default,M.default,O.default,N.default,L.default,I.default,b.default,y.default],function(){var e=g.default.getSelectedGuildId(),t=g.default.getSelectedCallId(),n=u.default.getGuild(e),a=N.default.getVoiceStates(e),o=s.default.isDisabled()?null:p.default.getVoiceChannelId(),r=void 0;if(null!=e){var i=M.default.getChannels(e)[k.ChannelTypes.GUILD_VOICE];r=i.map(function(e){var t,n=e.channel,r={channelId:n.id},s=c.default.getChannel(n.id),l=a[n.id]||[];return{id:n.id,name:n.name,userLimit:n.userLimit,audio:o===n.id,permissions:(t={},t[k.Permissions.CONNECT]=L.default.can(k.Permissions.CONNECT,r),t[k.Permissions.CREATE_INSTANT_INVITE]=L.default.can(k.Permissions.CREATE_INSTANT_INVITE,r),t[k.Permissions.MOVE_MEMBERS]=L.default.can(k.Permissions.MOVE_MEMBERS,r),t),collapsed:O.default.isCollapsed(n.id),voiceStates:l.map(function(e){var t=e.user,n=e.nick,a=e.voiceState,o={};return i.forEach(function(e){var n;o[e.id]=(n={},n[k.Permissions.CONNECT]=x.default.can(k.Permissions.CONNECT,t,s),n)}),{user:{id:t.id,username:n,avatarURL:t.getAvatarURL()},mute:a.mute,deaf:a.deaf,selfMute:a.selfMute,selfDeaf:a.selfDeaf,suppress:a.suppress,speaking:I.default.isSpeaking(t.id),permissions:o}})}})}else if(null!=t){var l,f=c.default.getChannel(t),d=[].concat(f.recipients,[v.default.getCurrentUser().id]);r=[{id:f.id,name:f.name||v.default.getUser(f.recipients[0]).username,userLimit:k.MAX_GROUP_DM_PARTICIPANTS,audio:o===f.id,permissions:(l={},l[k.Permissions.CONNECT]=!0,l[k.Permissions.CREATE_INSTANT_INVITE]=!1,l[k.Permissions.MOVE_MEMBERS]=!1,l),collapsed:!1,voiceStates:d.map(function(e){var n,a=b.default.getVoiceState(null,e),o=v.default.getUser(e),r=(n={},n[f.id]=!0,n);return{user:{id:e,username:o.username,avatarURL:o.getAvatarURL()},mute:a&&a.mute,deaf:a&&a.deaf,selfMute:a&&a.selfMute,selfDeaf:a&&a.selfDeaf,speaking:I.default.isSpeaking(e),calling:a&&a.channelId===t?k.CallMemberStates.IN_CALL:k.CallMemberStates.NONE,permissions:r}}).filter(function(e){return e.calling===k.CallMemberStates.IN_CALL})}]}return{guild:null!=n?{id:n.id,name:n.name}:null,channels:r,selectedVoiceChannelId:o}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){var n=e.comparator,a=t.comparator;return n>a?1:n<a?-1:0}function l(e,t){return t.toLowerCase()+"\0"+e}function u(){X.clearAll()}function f(e){var t=e.guildId;return X.update(t,function(e){return e.markDirty({members:!0})})}function c(e){var t=e.guildId,n=e.user;return X.updateIfMemberCached(t,n.id,function(e){return e.markDirty({members:!0})})}function d(e){var t=e.guild;return X.clear(t.id)}function p(e){var t=e.channel.id,n=x.default.getChannel(t);if(null==n)return!1;var a=n.getGuildId();return null!=a&&X.update(a,function(e){return e.channelId===t&&(e.markDirty({members:!0}),!0)})}function h(e){var t=e.guildId,n=e.user;return null!=t&&X.update(t,function(e){return e.updatePresence(n.id)})}function g(){X.forEach(function(e){return e.updatePresence(B.default.getId())})}function m(){X.forEach(function(e){return e.markDirty({users:!0})})}function v(e){var t=x.default.getChannel(e);if(null==t)return null;var n=t.getGuildId();if(null==n)return null;var a=X.get(n);return null==a?null:a}t.__esModule=!0;var E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y=n(2),_=a(y),b=n(684),S=a(b),I=n(7),T=a(I),N=n(4),A=a(N),M=n(1),C=n(12),O=a(C),D=n(34),L=a(D),R=n(11),x=a(R),w=n(19),P=a(w),k=n(10),U=a(k),G=n(97),j=a(G),F=n(17),B=a(F),V=n(269),H=a(V),z=n(55),W=a(z),Y=n(3),K=a(Y),Q=12e4,Z=0,X=function(){function e(t){var n=this;i(this,e),this._expireFromCache=function(){e._lastGet!==n.id?e.clear(n.id):(n.expirationTimeout=null,n.scheduleExpiration())},this.id=t.id,this.large=t.large,this.channelId=null,this.canEveryone=!1,this.cachedMembers={},this.userToGroup={},this.groups={},this.orderedGroups=[],this.dirty={users:!0,members:!0,groups:!0,groupOrder:!0},this.expirationTimeout=null,this.onlineCount=0,this.scheduleExpiration(),this.incrementVersion(),e._caches[this.id]=this}return e.forEach=function(t){for(var n=Object.keys(e._caches),a=Array.isArray(n),o=0,n=a?n:n[Symbol.iterator]();;){var r;if(a){if(o>=n.length)break;r=n[o++]}else{if(o=n.next(),o.done)break;r=o.value}var i=r;t(e._caches[i])}},e.get=function(t){var n=O.default.getGuild(t);return null!=n?e._caches[n.id]||new e(n):null},e.update=function(t,n){var a=e._caches[t];return null!=a&&n(a)},e.updateIfMemberCached=function(t,n,a){var o=e._caches[t];return null!=o&&null!=o.cachedMembers[n]&&a(o)},e.clear=function(t){return null!=e._caches[t]&&(delete e._caches[t],!0)},e.clearAll=function(){e._caches={}},e.prototype.scheduleExpiration=function(){this.expirationTimeout&&clearTimeout(this.expirationTimeout),this.expirationTimeout=setTimeout(this._expireFromCache,Q)},e.prototype.markDirty=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.dirty;this.dirty=E({},t,e)},e.prototype.rebuildMembers=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[],n=!0;if(null!=this.channelId){var a=x.default.getChannel(this.channelId);n=W.default.canEveryone(M.Permissions.READ_MESSAGES,a),this.canEveryone&&n&&!e&&this.markDirty({members:!1}),t=L.default.getMemberIds(this.id),n||(t=t.filter(function(e){return W.default.can(M.Permissions.READ_MESSAGES,e,a)}))}this.canEveryone=n,this.memberIds=t,this.markDirty({groups:!0,members:!1})},e.prototype.rebuildGroups=function(){var e,t=(e={},e[M.StatusTypes.ONLINE]={get title(){return K.default.Messages.STATUS_ONLINE},users:[],darken:!1,key:M.StatusTypes.ONLINE,sorted:!1},e[M.StatusTypes.OFFLINE]={get title(){return K.default.Messages.STATUS_OFFLINE},users:[],darken:!0,key:M.StatusTypes.OFFLINE,sorted:!1},e),n=0,a={},o={},r=this.cachedMembers,i=t[M.StatusTypes.ONLINE].users,s=t[M.StatusTypes.OFFLINE].users,u=this.large,f=this.id,c=O.default.getGuild(f);if(null!=c){for(var d=U.default.getUsers(),p=L.default.getKeyedMembers(f),h=j.default.getStatuses(),g=j.default.getActivities(),m=c.roles,v=this.memberIds,E=Array.isArray(v),y=0,v=E?v:v[Symbol.iterator]();;){var _;if(E){if(y>=v.length)break;_=v[y++]}else{if(y=v.next(),y.done)break;_=y.value}var b=_,S=h[b],I=null==S||S===M.StatusTypes.OFFLINE||S===M.StatusTypes.INVISIBLE;if(!u||!I){var T=d[b];if(null!=T){var N=p[b];if(null!=N){var A=N.nick||T.username,C=N.hoistRoleId,D=r[b]||{};D.nick!==A&&(D.comparator=l(b,A),D.nick=A),D.user=T,D.colorString=N.colorString;var R=void 0;if(I)R=s,D.status=M.StatusTypes.OFFLINE,D.activity=null;else if(null!=C){if(null==t[C]){var x=m[C];t[C]={title:x?x.name:"???",users:[],darken:!1,key:"group-"+C,sorted:!1}}R=t[C].users,D.status=S,D.activity=g[b]}else R=i,D.status=S,D.activity=g[b];null!=R&&(R.push(D),o[b]=R),a[b]=D,I||n++}}}}this.onlineCount=n,this.groups=t,this.cachedMembers=a,this.userToGroup=o,this.markDirty({users:!1,groups:!1,groupOrder:!0})}},e.prototype.updateUserInGroup=function(e){var t=!1,n=e.userId,a=this.id,o=O.default.getGuild(a);if(null!=o){var r=U.default.getUser(n);if(null!=r){var i=this.groups,s=n===B.default.getId(),u=s?H.default.getStatus():j.default.getStatus(n,a),f=s?H.default.getActivity():j.default.getActivity(n,a),c=e.nick||r.toString(),d=e.hoistRoleId,p=this.cachedMembers[r.id]=this.cachedMembers[r.id]||{};p.nick!==c&&(p.comparator=l(r.id,c),p.nick=c),p.user=r,p.activity=f,p.status=u,p.colorString=e.colorString;var h=void 0;if(u===M.StatusTypes.OFFLINE||u===M.StatusTypes.INVISIBLE)this.large||(h=i[M.StatusTypes.OFFLINE]);else if(null!=d){if(null==i[d]){var g=o.getRole(d);i[d]={title:g?g.name:"???",users:[],darken:!1,key:d,sorted:!1},t=!0}h=i[d]}else h=i[M.StatusTypes.ONLINE];return t&&this.markDirty({groupOrder:!0}),h?h.users:null}}},e.prototype.rebuildOrderedGroups=function(){var e=this.groups,t=O.default.getGuild(this.id);if(null!=t){var n=[];T.default.forEach(t.roles,function(t){var a=e[t.id];null!=a&&n.push(a)}),n.push(e[M.StatusTypes.ONLINE]),this.large||n.push(e[M.StatusTypes.OFFLINE]),this.orderedGroups=n}this.markDirty({groupOrder:!1})},e.prototype.rebuildUsers=function(){var e=!1,t=U.default.getUsers();return this.orderedGroups.forEach(function(n){var a=!1;n.users.forEach(function(n){var o=t[n.user.id];a=a||o.username!==n.user.username,n.nick===n.user.username&&(n.nick=o.username,e=!0),n.user!==o&&(n.user=o,e=!0)}),a&&(n.sorted=!1,e=!0)}),this.markDirty({users:!1}),e},e.prototype.updatePresence=function(e){var t=this.channelId;if(null==t)return!1;var n=L.default.getMember(this.id,e);if(null==n)return!1;if(!this.canEveryone){var a=x.default.getChannel(t);if(null==a||!W.default.can(M.Permissions.READ_MESSAGES,e,a))return!1}var o=this.cachedMembers[e],r=null!=o?o.status:null,i=null!=o?o.activity:null,l=e===B.default.getId(),u=l?H.default.getStatus():j.default.getStatus(e,this.id),f=l?H.default.getActivity():j.default.getActivity(e,this.id);if(u===r&&i===f)return!1;var c=r===M.StatusTypes.OFFLINE||r===M.StatusTypes.INVISIBLE||null==r,d=u===M.StatusTypes.OFFLINE||u===M.StatusTypes.INVISIBLE||null==u;c&&!d?this.onlineCount++:d&&!c&&this.onlineCount--;var p=null!=o?o.comparator:null,h=this.userToGroup[e],g=-1;h&&o&&(g=(0,S.default)(h,o,s));var m=this.updateUserInGroup(n);null!=m?this.userToGroup[e]=m:delete this.userToGroup[e];var v=m?this.cachedMembers[e]:null,E=v?v.comparator:null;if((m!==h||p!==E)&&(null!=h&&((g<0||h[g].user.id!==e)&&(g=T.default.findIndex(h,function(t){return t.user.id===e})),g>=0&&h.splice(g,1)),null!=m&&null!=v)){var y=(0,S.default)(m,v,s);y<0&&(y=~y),m.splice(y,0,v)}return this.incrementVersion(),!0},e.prototype.ensureSorted=function(){this.orderedGroups.forEach(function(e){e.sorted||(e.users.sort(s),e.sorted=!0)})},e.prototype.incrementVersion=function(){this.version=++Z},e.prototype.getGroups=function(){var t=P.default.getChannelId(this.id),n=!1;return(this.dirty.members||this.channelId!==t)&&(this.channelId=t,this.rebuildMembers(this.dirty.members)),this.dirty.groups&&(this.rebuildGroups(),n=!0),this.dirty.groupOrder&&(this.rebuildOrderedGroups(),n=!0),this.dirty.users&&this.rebuildUsers()&&(n=!0),this.ensureSorted(),e._lastGet=this.id,this.scheduleExpiration(),n&&this.incrementVersion(),{memberGroups:this.orderedGroups,version:this.version}},e}();X._caches={},X._lastGet=null;var J=Object.freeze({memberGroups:[],version:0}),q=function(e){function t(){return i(this,t),o(this,e.apply(this,arguments))}return r(t,e),t.prototype.initialize=function(){this.waitFor(O.default,x.default,L.default,P.default,j.default,H.default),this.syncWith([U.default],m),this.syncWith([H.default],g)},t.prototype.getMemberGroups=function(e){var t=v(e);return null==t?J:t.getGroups()},t.prototype.getOnlineMemberCount=function(e){var t=v(e);return null==t?0:t.onlineCount},t}(_.default.Store);t.default=new q(A.default,{CONNECTION_OPEN:u,CHANNEL_UPDATE:p,GUILD_DELETE:d,GUILD_SYNC:d,GUILD_MEMBER_ADD:f,GUILD_MEMBER_UPDATE:f,GUILD_MEMBERS_CHUNK:f,GUILD_ROLE_UPDATE:f,GUILD_MEMBER_REMOVE:c,PRESENCE_UPDATE:h}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.CALL_AVATAR_VIDEO_RATIO=t.CallAvatarPixelSizes=t.CallAvatarSizes=void 0;var s,l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u);n(2275);var c=n(5),d=a(c),p=n(1),h=n(15),g=a(h),m=n(121),v=a(m),E=t.CallAvatarSizes={XXLARGE:"xxlarge",XLARGE:"xlarge",LARGE:"large",SMALL:"small"},y=(t.CallAvatarPixelSizes=(s={},s[E.XXLARGE]=100,s[E.XLARGE]=60,s[E.LARGE]=40,s[E.SMALL]=30,s),t.CALL_AVATAR_VIDEO_RATIO=1.78,l("div",{className:"ripple ripple-0"},"ripple-0")),_=l("div",{className:"ripple ripple-1"},"ripple-1"),b=l("div",{className:"ripple ripple-2"},"ripple-2"),S=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.renderContent=function(){var e=this.props,t=e.mode,a=e.selected,o=e.size,r=e.name,i=e.streamId,s=e.loading,u=e.mirror,f=e.videoComponent;return e.disabled?null:t===p.CallModes.VIDEO&&a?l(g.default,{className:"ui-call-avatar-overlay",align:g.default.Align.CENTER,justify:g.default.Justify.CENTER,direction:g.default.Direction.VERTICAL},void 0,l("img",{className:"icon",src:n(3025)}),l("div",{className:(0,d.default)("name","margin-top-4",o)},void 0,r)):t===p.CallModes.VIDEO&&null!=i&&null!=f?l("div",{className:(0,d.default)("ui-call-avatar-video",{mirror:u})},void 0,l(f,{streamId:i})):t===p.CallModes.VIDEO&&s?l(g.default,{className:"ui-call-avatar-overlay",align:g.default.Align.CENTER,justify:g.default.Justify.CENTER},void 0,l(v.default,{type:v.default.Type.SPINNING_CIRCLE})):null},t.prototype.renderRipples=function(){return this.props.ringing?[y,_,b]:null},t.prototype.renderTopLayer=function(){var e=this.props,t=e.mode,n=e.selected,a=e.speaking,o=e.muted,r=e.deafen,i=e.disabled,s=n&&!i,u=a&&!i,f=o&&!i,c=r&&!i,h=l("div",{className:(0,d.default)("ui-call-avatar-border",t,{selected:s,speaking:u})},"border"),g=l("div",{className:(0,d.default)("ui-call-avatar-status",{muted:f,deafen:c,selected:s})},"status");return t===p.CallModes.VOICE?[h,g]:[g,h]},t.prototype.render=function(){var e=this.props,t=e.src,n=e.mode,a=e.size,o=e.id,r=e.onClick,i=e.onContextMenu,s=e.className,u=e.disabled,f={backgroundImage:"url('"+t+"')"};return l("div",{className:(0,d.default)("ui-call-avatar-wrapper",n,a,s)},void 0,this.renderRipples(),l("div",{className:(0,d.default)("ui-call-avatar",n,{disabled:u}),style:f,onClick:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return r&&r(o,e)}),onContextMenu:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return i&&i(e,o)})},void 0,this.renderContent(),this.renderTopLayer()))},t}(f.default.PureComponent);S.defaultProps={mode:p.CallModes.VOICE,size:E.XXLARGE,selected:!1,speaking:!1,ringing:!1,muted:!1,deafen:!1,loading:!1,mirror:!1,disabled:!1},t.default=S},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(15),c=a(f),d=n(2096),p=a(d),h={WRAP:"wrap",STACK:"stack"},g=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.renderChildren=function(){var e=this.props,t=e.children,n=e.layout,a=e.columns,o=void 0;switch(n){case h.STACK:o="100%";break;case h.WRAP:o=1/a*100+"%"}return t.map(function(e,t){return s(c.default.Child,{className:p.default.tile,basis:o,grow:0},t,e)})},t.prototype.render=function(){return s(c.default,{className:p.default.grid,wrap:c.default.Wrap.WRAP},void 0,this.renderChildren())},t}(u.default.PureComponent);g.defaultProps={children:[],layout:h.WRAP,itemPerRow:4},g.Layout=h,t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.Content=t.Sidebar=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(143),p=a(d),h=n(15),g=a(h),m=n(1),v=n(2100),E=a(v),y=t.Sidebar=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.scrollable,n=e.theme,a=o(e,["scrollable","theme"]),r=n===m.ThemeTypes.LIGHT?m.Colors.WHITE:m.Colors.PRIMARY_600;return t?u("aside",{className:E.default.sidebarScrollable},void 0,u(p.default,{fade:!0,theme:p.default.Themes.GHOST,backgroundColor:r,className:E.default.scroller},void 0,c.default.createElement(g.default.Child,l({},a,{wrap:!0})))):c.default.createElement(g.default.Child,l({},a,{wrap:!0}))},t}(c.default.PureComponent);y.defaultProps={basis:232,grow:0,shrink:0,className:E.default.sidebar};var _=t.Content=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){return c.default.createElement(g.default.Child,l({wrap:!0},this.props))},t}(c.default.PureComponent);_.defaultProps={className:E.default.content};var b=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){return c.default.createElement(g.default,this.props)},t}(c.default.PureComponent);b.defaultProps={className:E.default.layout,direction:g.default.Direction.HORIZONTAL,justify:g.default.Justify.START,align:g.default.Align.START,wrap:g.default.Wrap.NO_WRAP},b.Direction=g.default.Direction,b.Justify=g.default.Justify,b.Align=g.default.Align,b.Wrap=g.default.Wrap,b.Sidebar=y,b.Content=_,t.default=b},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.PopoutPositions=t.PopoutSizes=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l);n(2286);var f=n(5),c=a(f),d=n(7),p=a(d),h=n(1),g=t.PopoutSizes={LARGE:"large",MEDIUM:"medium"},m=(t.PopoutPositions={TOP:"top",TOP_RIGHT:"top-right",LEFT:"left",RIGHT:"right",BOTTOM:"bottom",BOTTOM_RIGHT:"bottom-right"},function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return p.default.bindAll(a,["handleClick"]),a}return i(t,e),t.prototype.handleClick=function(e){return this.props.onClick(this.props.option,e)},t.prototype.render=function(){var e=this.props.size,t=this.props.option,n=t.image,a=t.name,o=t.color;return s("div",{className:(0,c.default)("item",e),onClick:this.handleClick},void 0,s("div",{className:(0,c.default)("name",e),style:{color:o}},void 0,a),s("img",{className:(0,c.default)({image:n}),src:n}))},t}(u.default.PureComponent)),v=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return p.default.bindAll(a,["renderItem"]),a}return i(t,e),t.prototype.renderItem=function(e){return s(m,{size:this.props.size,option:e,onClick:this.props.onChange},e.value)},t.prototype.render=function(){var e=this.props,t=e.title,n=e.size;return s("div",{className:(0,c.default)("ui-popout",n)},void 0,s("div",{className:(0,c.default)(n,{title:t})},void 0,t),this.props.options.map(this.renderItem))},t}(u.default.PureComponent);v.defaultProps={options:[],size:g.LARGE,onChange:h.NOOP},t.default=v},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(5),p=a(d),h=n(91),g=a(h),m=n(536),v=a(m),E=n(827),y=a(E);n(2287);var _=u(g.default,{className:"margin-top-8 margin-bottom-8"}),b=function(){return _},S=function(e){return u("div",{className:"ui-popout-list-empty"},void 0,e.children)},I=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=o(e,["className"]);return c.default.createElement(v.default,l({},n,{className:(0,p.default)("ui-popout-list-input",t)}))},t}(c.default.PureComponent);I.defaultProps={autoFocus:!0};var T=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children;return u("div",{className:(0,p.default)("ui-popout-list",t)},void 0,n)},t}(c.default.PureComponent);T.SearchBar=I,T.Item=y.default,T.Divider=b,T.Empty=S,t.default=T,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(5),p=a(d),h=n(15),g=a(h),m=n(540),v=a(m),E=n(123),y=n(1);n(2299);var _=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a._getColor=a._getColor.bind(a),a.state={color:a._getColor(n.color)},a}return s(t,e),t.prototype._getColor=function(e){var t=!1;if(null!=e&&(0,E.isValidHex)(e)){var n=(0,E.hex2int)(e);null!=n&&(t=(0,E.getDarkness)(n)<.2)}return t?y.Colors.BLACK:y.Colors.WHITE},t.prototype.componentWillReceiveProps=function(e){this.props.color!==e.color&&this.setState({color:this._getColor(e.color)})},t.prototype.render=function(){var e=this.state.color,t=this.props,n=t.selected,a=t.color,o=t.className,r=t.children,i=void 0;return n?i={color:e,background:a||y.Colors.BRAND}:null!=a&&(i={color:a}),u(g.default,{className:(0,p.default)("ui-selectable-item",o,{selected:n}),onClick:this.handleClick,align:g.default.Align.CENTER,style:l({},i,this.props.style)},void 0,u(g.default,{align:g.default.Align.CENTER,className:"ui-selectable-item-label",shrink:1},void 0,r),n&&u(g.default,{wrap:!0,className:"margin-reset",grow:0,shrink:0},void 0,u(v.default,{color:e})))},t.prototype.handleClick=function(){var e=this.props;(0,e.onClick)(o(e,["onClick"]))},t}(c.default.PureComponent);t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(7),d=a(c),p=n(313),h=a(p),g=n(1),m=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return d.default.bindAll(a,["handleClick"]),a}return s(t,e),t.prototype.handleClick=function(e){var t=this.props;(0,t.onChange)(!t.value,e)},t.prototype.render=function(){var e=this.props,t=e.value,n=e.activeSrc,a=e.inactiveSrc,r=e.activeSrcHover,i=e.inactiveSrcHover,s=o(e,["value","activeSrc","inactiveSrc","activeSrcHover","inactiveSrcHover"]),u=t?n:a,c=t?r:i;return f.default.createElement(h.default,l({},s,{onClick:this.handleClick,src:u,srcHover:c}))},t}(f.default.PureComponent);m.defaultProps={value:!1,size:h.default.Sizes.MEDIUM,onChange:g.NOOP},t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.BackgroundTransition=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(7),p=a(d),h=n(24),g=a(h),m=n(73),v=a(m),E=n(306),y=n(15),_=a(y),b=n(1);n(2307);var S=3e3,I=t.BackgroundTransition=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={animation:new g.default.Value(0)},a}return i(t,e),t.prototype.componentDidAppear=function(){this.state.animation.setValue(1)},t.prototype.componentWillEnter=function(e){var t=this.state.animation;t.setValue(0),g.default.spring(t,{toValue:1,overshootClamping:!0}).start(e)},t.prototype.componentWillLeave=function(e){g.default.spring(this.state.animation,{toValue:0,overshootClamping:!0}).start(e)},t.prototype.render=function(){return s(g.default.div,{className:"ui-video-background-transition",style:{opacity:this.state.animation}},void 0,this.props.children)},t}(u.default.PureComponent),T=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._timeout=new E.Timeout,a.state={idle:!1,backgroundAnimation:new g.default.Value(0)},p.default.bindAll(a,["handleMouseEvent"]),a}return i(t,e),t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleMouseEvent,!0),document.addEventListener("mousemove",this.handleMouseEvent,!0)},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleMouseEvent,!0),document.removeEventListener("mousemove",this.handleMouseEvent,!0),this._timeout.stop()},t.prototype.componentWillReceiveProps=function(e){this.props.layout!==e.layout&&(this._timeout.stop(),this.state.idle&&this.setState({idle:!1}))},t.prototype.handleMouseEvent=function(){var e=this,t=this.props.layout;t!==b.CallLayouts.FULL_SCREEN&&t!==b.CallLayouts.NO_CHAT||(this._timeout.start(S,function(){return e.setState({idle:!0})}),this.state.idle&&this.setState({idle:!1}))},t.prototype.renderBackground=function(){var e=this.props,t=e.background,n=e.backgroundKey,a=e.layout,o=a+"-"+(n||"");return s(v.default,{className:"ui-video-background",component:"div"},void 0,s(I,{},o,t))},t.prototype.renderContents=function(){var e=this.props,t=e.top,n=e.center,a=e.bottom,o=e.layout,r=e.onContextMenu,i=e.focused,l=this.state.idle;return o===b.CallLayouts.NO_CHAT?s(_.default,{className:(0,c.default)("ui-video",o,{idle:l}),direction:_.default.Direction.VERTICAL,justify:_.default.Justify.CENTER,onContextMenu:r},void 0,s(_.default,{className:"ui-video-top",grow:0},void 0,t),s(_.default,{className:"ui-video-wrapper margin-bottom-20 margin-top-60",direction:_.default.Direction.VERTICAL},void 0,this.renderBackground(),s(_.default,{className:(0,c.default)("ui-video-inner",{focused:i}),direction:_.default.Direction.VERTICAL,justify:_.default.Justify.END},void 0,s(_.default,{className:"ui-video-bottom",grow:0},void 0,a))),s(_.default,{className:"ui-video-center",grow:0},void 0,n)):s(_.default,{className:(0,c.default)("ui-video",o,{idle:l}),direction:_.default.Direction.VERTICAL,justify:_.default.Justify.CENTER},void 0,s(_.default,{direction:_.default.Direction.VERTICAL},void 0,this.renderBackground(),s(_.default,{className:(0,c.default)("ui-video-inner",{focused:i}),direction:_.default.Direction.VERTICAL,justify:_.default.Justify.BETWEEN},void 0,s(_.default,{className:"ui-video-top",grow:0},void 0,t),s(_.default,{className:"ui-video-center"},void 0,n),s(_.default,{className:"ui-video-bottom",grow:0},void 0,a))))},t.prototype.render=function(){var e=this.props,t=e.layout,n=e.className,a=e.animated;return s("div",{className:(0,c.default)("ui-video-height",t,n,{animated:a})},void 0,this.renderContents())},t}(u.default.PureComponent);T.defaultProps={layout:b.CallLayouts.MINIMUM,animated:!0},t.default=T},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(15),c=a(f),d=n(191),p=a(d),h=n(2106),g=a(h),m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.avatarSize,n=e.user,a=e.style,o=n.getAvatarURL();return null==o?null:s(c.default,{style:a,className:g.default.background,justify:c.default.Justify.CENTER,align:c.default.Align.CENTER},void 0,s("div",{className:g.default.backgroundBlur,style:{backgroundImage:"url('"+o+"')"}}),s("div",{className:g.default.backgroundBlurOverlay}),s(p.default,{className:"elevation-high",size:t,src:o}))},t}(u.default.PureComponent);m.AvatarSizes=p.default.Sizes,t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){e.stopPropagation()}t.__esModule=!0;var l,u,f,c=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),d=n(0),p=a(d),h=n(15),g=a(h),m=n(1654),v=n(195),E=n(1),y=n(2113),_=a(y),b=(l={},l[E.ChannelTypes.GUILD_TEXT]=m.ChannelIconTextLimited,l[E.ChannelTypes.GUILD_VOICE]=m.ChannelIconVoiceLimited,l),S=(u={},u[E.ChannelTypes.GUILD_TEXT]=m.ChannelIconText,u[E.ChannelTypes.GUILD_VOICE]=m.ChannelIconVoice,u),I=(f={},f[E.ChannelTypes.GUILD_TEXT]="Text",f[E.ChannelTypes.GUILD_VOICE]="Voice",f),T={SELECTED:"Selected",HOVERED:"Hovered",UNREAD:"Unread",MUTED:"Muted",LOCKED:"Locked",DEFAULT:"Default"},N=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a.handleMouseDown=a.handleMouseDown.bind(a),a.handleMouseUp=a.handleMouseUp.bind(a),a.handleContextMenu=a.handleContextMenu.bind(a),a.handleMouseEnter=a.handleMouseEnter.bind(a),a.handleMouseLeave=a.handleMouseLeave.bind(a),a.state={hovered:!1},a}return i(t,e),t.prototype.getMode=function(){var e=this.props,t=e.muted,n=e.selected,a=e.unread,o=e.locked,r=this.state.hovered;return n?T.SELECTED:o?T.LOCKED:r?T.HOVERED:t?T.MUTED:a?T.UNREAD:T.DEFAULT},t.prototype.handleClick=function(e){var t=this.props,n=t.onClick,a=t.channel;n&&n(e,a)},t.prototype.handleMouseEnter=function(e){var t=this.props,n=t.onMouseEnter,a=t.channel;this.setState({hovered:!0}),n&&n(e,a)},t.prototype.handleMouseLeave=function(e){var t=this.props,n=t.onMouseLeave,a=t.channel;this.setState({hovered:!1}),n&&n(e,a)},t.prototype.handleMouseDown=function(e){var t=this.props,n=t.onMouseDown,a=t.channel;n&&n(e,a)},t.prototype.handleMouseUp=function(e){var t=this.props,n=t.onMouseUp,a=t.channel;n&&n(e,a)},t.prototype.handleContextMenu=function(e){var t=this.props,n=t.onContextMenu,a=t.channel;n&&n(e,a)},t.prototype.renderUnread=function(){var e=this.props,t=e.unread,n=e.muted,a=e.selected;return n||!t||a?null:c("div",{className:_.default.unread})},t.prototype.renderTypeIcon=function(){var e=this.props,t=e.channel,n=e.locked,a=void 0;a=n?m.ChannelIconLocked:t.isRoleRequired()?b[t.type]:S[t.type];var o=this.getMode();return c(g.default.Child,{wrap:!0,grow:0,shrink:0,className:"margin-reset"},void 0,c(a,{className:_.default.icon,colorClassName:(0,v.getClass)(_.default,"color",o,I[t.type])}))},t.prototype.renderName=function(){var e=this.props,t=e.channel,n=t.name,a=t.type,o=e.unread,r=this.getMode();return r===T.HOVERED&&o&&(r=T.UNREAD),c(g.default.Child,{className:(0,v.getClass)(_.default,"name",r,I[a])},void 0,n)},t.prototype.renderIcons=function(){var e=this.props.children;return 0===p.default.Children.count(e)?null:c(g.default,{grow:0,onClick:s,align:g.default.Align.CENTER,className:"margin-reset"},void 0,e)},t.prototype.render=function(){var e=this.props,t=e.onClick,n=e.onMouseDown,a=e.onMouseUp,o=e.onContextMenu,r=e.connectDragPreview,i=e.channel.type,s=this.getMode(),l=c("div",{className:(0,v.getClass)(_.default,"content",s,I[i])},void 0,this.renderTypeIcon(),this.renderName(),this.renderIcons());return c("div",{className:(0,v.getClass)(_.default,"wrapper",s,I[i]),onClick:t&&this.handleClick,onMouseUp:a&&this.handleMouseUp,onMouseDown:n&&this.handleMouseDown,onContextMenu:o&&this.handleContextMenu,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},void 0,this.renderUnread(),r?r(l):l)},t}(p.default.PureComponent);t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f);n(2309);var d=s("path",{className:"ui-icon-expand-animate ui-icon-fg",fill:"none",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",d:"M7 10L12 15 17 10"}),p=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.expanded,n=e.width,a=e.height;return s("svg",{className:(0,c.default)("ui-icon","ui-icon-expand",{"ui-icon-expand-expanded":t}),width:n,height:a,viewBox:"0 0 24 24"},void 0,d)},t}(u.default.PureComponent);p.defaultProps={width:24,height:24},t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),o("path",{d:"M0 0h24v24H0z",fill:"none"})),s=o("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"}),l=function(e){var t=e.color,n=e.className,a=e.width,r=void 0===a?24:a,l=e.height;return o("svg",{className:n,fill:t,height:void 0===l?24:l,viewBox:"0 0 24 24",width:r,xmlns:"http://www.w3.org/2000/svg"},void 0,i,s)};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2118),c=a(f),d=s("path",{d:"M7.15546853,6.47630098e-17 L5.84453147,6.47630098e-17 C5.36185778,-6.47630098e-17 4.97057344,0.391750844 4.97057344,0.875 L4.97057344,1.9775 C4.20662236,2.21136254 3.50613953,2.61688993 2.92259845,3.163125 L1.96707099,2.61041667 C1.76621819,2.49425295 1.52747992,2.46279536 1.30344655,2.52297353 C1.07941319,2.58315171 0.88846383,2.73002878 0.77266168,2.93125 L0.117193154,4.06875 C0.00116776262,4.26984227 -0.0302523619,4.50886517 0.0298541504,4.73316564 C0.0899606628,4.9574661 0.236662834,5.14864312 0.437644433,5.26458333 L1.39171529,5.81583333 C1.21064614,6.59536289 1.21064614,7.40609544 1.39171529,8.185625 L0.437644433,8.736875 C0.236662834,8.85281521 0.0899606628,9.04399223 0.0298541504,9.2682927 C-0.0302523619,9.49259316 0.00116776262,9.73161606 0.117193154,9.93270833 L0.77266168,11.06875 C0.88846383,11.2699712 1.07941319,11.4168483 1.30344655,11.4770265 C1.52747992,11.5372046 1.76621819,11.5057471 1.96707099,11.3895833 L2.92259845,10.836875 C3.50613953,11.3831101 4.20662236,11.7886375 4.97057344,12.0225 L4.97057344,13.125 C4.97057344,13.6082492 5.36185778,14 5.84453147,14 L7.15546853,14 C7.63814222,14 8.02942656,13.6082492 8.02942656,13.125 L8.02942656,12.0225 C8.79337764,11.7886375 9.49386047,11.3831101 10.0774016,10.836875 L11.032929,11.3895833 C11.2337818,11.5057471 11.4725201,11.5372046 11.6965534,11.4770265 C11.9205868,11.4168483 12.1115362,11.2699712 12.2273383,11.06875 L12.8828068,9.93270833 C12.9988322,9.73161606 13.0302524,9.49259316 12.9701458,9.2682927 C12.9100393,9.04399223 12.7633372,8.85281521 12.5623556,8.736875 L11.6082847,8.185625 C11.7893539,7.40609544 11.7893539,6.59536289 11.6082847,5.81583333 L12.5623556,5.26458333 C12.7633372,5.14864312 12.9100393,4.9574661 12.9701458,4.73316564 C13.0302524,4.50886517 12.9988322,4.26984227 12.8828068,4.06875 L12.2273383,2.93270833 C12.1115362,2.73148712 11.9205868,2.58461004 11.6965534,2.52443187 C11.4725201,2.46425369 11.2337818,2.49571128 11.032929,2.611875 L10.0774016,3.16458333 C9.49400565,2.61782234 8.79351153,2.2117896 8.02942656,1.9775 L8.02942656,0.875 C8.02942656,0.391750844 7.63814222,6.47630098e-17 7.15546853,6.47630098e-17 Z M8.5,7 C8.5,8.1045695 7.6045695,9 6.5,9 C5.3954305,9 4.5,8.1045695 4.5,7 C4.5,5.8954305 5.3954305,5 6.5,5 C7.03043298,5 7.53914081,5.21071368 7.91421356,5.58578644 C8.28928632,5.96085919 8.5,6.46956702 8.5,7 Z",transform:"translate(2.5 2)"}),p=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props.onClick;return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",className:null!=e?c.default.iconButton:c.default.icon,onClick:e},void 0,d)},t}(u.default.PureComponent);t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,a){var o,r=e?(o=A.Entity.create).call.apply(o,[A.Entity].concat(e)):null,i=a.getCurrentContent(),s=i.getFirstBlock(),l=new A.SelectionState({anchorKey:s.getKey(),anchorOffset:t,focusKey:s.getKey(),focusOffset:n});return i=A.Modifier.applyEntity(i,l,r),A.EditorState.set(a,{currentContent:i})}function r(e,t,n){var a=t.getCurrentContent(),o=a.getFirstBlock();n=n||t.getSelection(),n=n.set("focusKey",o.getKey()),n=n.set("anchorKey",o.getKey());var r=Math.min(n.getStartOffset(),n.getEndOffset())+e.length;return n=n.set("anchorOffset",r),n=n.set("focusOffset",r)}function i(e,t,n,a){var o=void 0,r=t.getCurrentContent(),i=r.getFirstBlock(),s=i.getText();"number"==typeof n?(n>s.length&&(n=s.length),a>s.length&&(a=s.length),o=new A.SelectionState({anchorKey:i.getKey(),anchorOffset:n,focusKey:i.getKey(),focusOffset:a||n})):o=t.getSelection();var l=t.getCurrentInlineStyle(),u=(0,z.default)(r,o),f=void 0;return o.isCollapsed()?(r=A.Modifier.insertText(r,o,e,l,u),f="insert-characters"):(r=A.Modifier.replaceText(r,o,e,l,u),f="replace-characters"),A.EditorState.push(t,r,f)}function s(e,t){switch(e){case"delete":return(0,k.default)(t);case"delete-word":return(0,R.default)(t);case"backspace":return(0,w.default)(t);case"backspace-word":return(0,D.default)(t);case"backspace-to-start-of-line":return(0,C.default)(t);default:return t}}function l(e,t){switch(e){case"transpose-characters":return(0,G.default)(t);case"move-selection-to-start-of-block":return(0,F.default)(t);case"move-selection-to-end-of-block":return(0,V.default)(t);default:return t}}function u(e,t){e=e.set("focusKey",t.getKey()),e=e.set("anchorKey",t.getKey());var n=e.getEndOffset();return e=e.set("anchorOffset",n),e=e.set("focusOffset",n)}function f(e){return e.getCurrentContent().getFirstBlock().getText()}function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=t.getCurrentContent(),r=a.getFirstBlock(),i=r.getText(),s=[];return r.findEntityRanges(function(e){return null!==e.getEntity()},function(e,t){var n=A.Entity.get(r.getEntityAt(e)).getType(),a=i.substring(e,t);s.push({processed:!1,type:n,start:e,end:t,text:a})}),e.forEach(function(e){var a=!1;if(s.forEach(function(n){var r=e.type,i=e.start,s=e.end,l=e.getFullMatch();n.processed||(n.type===r&&n.start===i&&n.text===l?(n.processed=!0,a=!0):(i>=n.start&&i<n.end||s>n.start&&s<=n.end)&&(n.processed=!0,t=o(null,n.start,n.end,t)))}),!a){var r=n[e.type];t=o([e.type,r&&r.mutable?"MUTABLE":"IMMUTABLE",{token:e}],e.start,e.end,t)}}),s.forEach(function(e){e.processed||(t=o(null,e.start,e.end,t))}),t}function d(e,t){var n=t.getSelection(),a=n.focusOffset,o=n.anchorOffset,r=void 0,i=void 0,s=e.find(function(t,n){return a>=t.start&&a<=t.end&&o>=t.start&&o<=t.end?(e[n+1]&&(i=e[n+1]),!0):(r=t,!1)});return s?{previousToken:r,currentToken:s,nextToken:i}:null}function p(e){return A.EditorState.createEmpty(new A.CompositeDecorator(e))}function h(e){return A.EditorState.push(e,A.ContentState.createFromText(""))}function g(e,t){return i(e,t,0,f(t).length)}function m(e){return i(" ",e,f(e).length)}function v(e,t){var n=t.getSelection();return n=n.set("focusOffset",e),n=n.set("anchorOffset",e),A.EditorState.forceSelection(t,n)}function E(e){return v(e.getCurrentContent().getFirstBlock().getText().length,e)}function y(e){return v(0,e)}function _(e){var t=e.getSelection();return t=t.set("focusOffset",0),t=t.set("isBackward",!0),A.EditorState.forceSelection(e,t)}function b(e){var t=f(e),n=e.getSelection();return n=n.set("focusOffset",t.length),n=n.set("isBackward",!1),A.EditorState.forceSelection(e,n)}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:512,n=f(e);if(n.length>t){var a=e.getSelection();e=i("",e,t,n.length),a.getAnchorOffset()>t&&(a=a.set("anchorOffset",t)),a.getFocusOffset()>t&&(a=a.set("focusOffset",t)),e=A.EditorState.forceSelection(e,a)}return e}function I(e){var t=window.getSelection();if(t&&"Caret"===t.type&&e){var n=t.getRangeAt(0);if(T(n.commonAncestorContainer,e)){var a=n.getClientRects()[0],o=e.getClientRects()[0];if(a&&o){var r=a.left-o.left,i=r+e.scrollLeft;i<e.scrollLeft?e.scrollLeft=i-10:i>e.scrollLeft+e.offsetWidth&&(e.scrollLeft=i-e.offsetWidth+3)}}}}function T(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function N(e){return 0===f(e).length}t.__esModule=!0,t.getDefaultKeyBinding=void 0,t.createEntity=o,t.getCollapsedSelection=r,t.updateContent=i,t.deleteContent=s,t.miscCommand=l,t.adaptSelection=u,t.getFirstTextBlock=f,t.applyTokensAsEntities=c,t.getSelectionScope=d,t.createEmptyEditorState=p,t.clearContent=h,t.replaceAllContent=g,t.appendSpace=m,t.setCollapsedSelection=v,t.setCollapsedEndSelection=E,t.setCollapsedStartSelection=y,t.setToStartSelection=_,t.setToEndSelection=b,t.truncateContent=S,t.scrollCursorIntoView=I,t.isEmpty=N;var A=n(344),M=n(925),C=a(M),O=n(926),D=a(O),L=n(927),R=a(L),x=n(930),w=a(x),P=n(931),k=a(P),U=n(932),G=a(U),j=n(929),F=a(j),B=n(928),V=a(B),H=n(416),z=a(H),W=n(599),Y=a(W);t.getDefaultKeyBinding=Y.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(477),r=a(o),i=n(1689),s=i.DSN,l=i.updateNativeReporter,u=i.crash;r.default.config(s,{environment:"canary",release:"1316",ignoreErrors:["EADDRINUSE","BetterDiscord","jQuery","localStorage","has already been declared","Cannot call hover while not dragging.","getHostNode","setupCSS","on missing remote object"]}).install(),t.default={setUser:function(e,t,n){var a={id:e,username:t,email:n};r.default.setUserContext(a),l(a)},clearUser:function(){r.default.setUserContext(),l()},setTags:function(e){r.default.setTagsContext(e)},setExtra:function(e){r.default.setExtraContext(e)},captureException:function(e){r.default.captureException(e)},captureMessage:function(e){r.default.captureMessage(e)},crash:function(){u()}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return/^(.+?@.+?\..+?|.+?#\d{4})$/.test(e)?null:/^DiscordTag/i.test(e)?l.default.Messages.ADD_FRIEND_ERROR_DISCORD_TAG_USERNAME:/^\d+$/.test(e)?l.default.Messages.ADD_FRIEND_ERROR_NUMBERS_ONLY:e.length>0&&e.indexOf("#")===-1?l.default.Messages.ADD_FRIEND_ERROR_USERNAME_ONLY.format({username:e}):l.default.Messages.ADD_FRIEND_ERROR_OTHER}function r(e,t){switch(e){case u.AbortCodes.RELATIONSHIP_INCOMING_DISABLED:return l.default.Messages.ADD_FRIEND_ERROR_INVALID_DISCORD_TAG.format({discordTag:t});case u.AbortCodes.RELATIONSHIP_INCOMING_BLOCKED:case u.AbortCodes.RELATIONSHIP_INVALID_SELF:case u.AbortCodes.RELATIONSHIP_INVALUD_USER_BOT:case u.AbortCodes.RELATIONSHIP_INVALID_DISCORD_TAG:default:return l.default.Messages.ADD_FRIEND_ERROR_OTHER}}function i(e){switch(e){case u.StatusTypes.ONLINE:return l.default.Messages.STATUS_ONLINE;case u.StatusTypes.OFFLINE:case u.StatusTypes.INVISIBLE:return l.default.Messages.STATUS_OFFLINE;case u.StatusTypes.IDLE:return l.default.Messages.STATUS_IDLE;case u.StatusTypes.DND:return l.default.Messages.STATUS_DND;case u.StatusTypes.UNKNOWN:default:return l.default.Messages.STATUS_UNKNOWN}}t.__esModule=!0,t.validateDiscordTag=o,t.humanizeAbortCode=r,t.getStatusText=i;var s=n(3),l=a(s),u=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=new Image;t.onerror=function(){return r(!0,e,t)},t.onload=function(){return r(!1,e,t)},t.src=e.url}function r(e,t,n){var a=t,o=a.callbacks,r=a.url;if(e)u.del(r);else{t={url:r,loaded:!0,width:n.width,height:n.height},u.set(r,t)}o&&o.forEach(function(n){return(0,n.callback)(e,t)})}function i(e,t){var n=u.get(e);if(n&&n.loaded)return t(!1,n),null;n||(n={url:e,loaded:!1},u.set(e,n),o(n)),n.callbacks||(n.callbacks=new Set);var a={callback:t};return n.callbacks.add(a),function(){n.callbacks&&n.callbacks.delete(a)}}t.__esModule=!0,t.loadImage=i;var s=n(693),l=a(s),u=new l.default({max:1e3})},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return c.getRandomValues(new Uint8Array(e))}function r(e){return f.default.encode(e).toString("utf8").replace(/=/g,"").toLowerCase().replace(/(\w{4})/g,"$1 ").trim()}function i(){return r(o())}function s(e){return e.replace(/[\s\.\_\-]+/g,"").toUpperCase()}function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Discord";return"otpauth://totp/"+encodeURI(n)+":"+encodeURI(e)+"?secret="+s(t)+"&issuer="+encodeURIComponent(n)}t.__esModule=!0,t.hasCrypto=void 0,t.generateTotpSecret=i,t.encodeTotpSecret=s,t.encodeTotpSecretAsUrl=l;var u=n(703),f=a(u),c=window&&window.crypto||window.msCrypto;t.hasCrypto=c&&"getRandomValues"in c&&"Uint8Array"in window},function(e,t,n){"use strict";t.__esModule=!0;var a=void 0;a=n(1693),t.default=a,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var a=void 0;a=n(1694),t.default=a,e.exports=t.default},function(e,t,n){"use strict";function a(e,t,n,r){var i=n.length;if(0===i)return 0;if(null==r)r=t;else if(r===t)return t;return t+="up"===e?-1:1,t<0||t>=i?a(e,t<0?i:-1,n,r):n[t].type===o.QuickSwitcherResultTypes.HEADER?a(e,t,n,r):t}t.__esModule=!0,t.findNextSelected=a;var o=n(1)},function(e,t,n){"use strict";function a(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function o(e){return new Promise(function(t,n){var o=!1,r=l.get(e),i=function(){o||(o=!0,a(c),clearTimeout(d),s.delete(e),n())},f=function(){return a(c),clearTimeout(d),r&&window[r]?t(window[r]):r&&!window[r]?n():void t()},c=document.createElement("script");c.async=1,c.type="text/javascript",c.onload=f,c.onerror=i,c.src=e,document.body.appendChild(c);var d=setTimeout(i,u)})}function r(e){var t=s.get(e);return t?t:(t=o(e),s.set(e,t),t)}function i(e,t){l.set(e,t)}t.__esModule=!0;var s=new Map,l=new Map,u=3e3;t.default={ensure:r,register:i},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){}function r(e){var t=I(),n=S.default.extractTimestamp(e)%t.length;return v.default.locale.startsWith("en")?t[n]:l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN}function i(e){var t=e.mentions[0]&&g.default.getUser(e.mentions[0]),n=e.channel_id,a=_.default.getName(null,n,e.author);switch(e.type){case u.MessageTypes.RECIPIENT_ADD:if(!t)return;return(0,E.astToString)(l.default.Messages.SYSTEM_MESSAGE_RECIPIENT_ADD.format({username:a,usernameOnClick:o,otherUsername:_.default.getName(null,n,t),otherUsernameOnClick:o},!1));case u.MessageTypes.RECIPIENT_REMOVE:if(!t)return;return e.author.id===t.id?(0,E.astToString)(l.default.Messages.SYSTEM_MESSAGE_RECIPIENT_REMOVE_SELF.format({username:a,usernameOnClick:o},!1)):(0,E.astToString)(l.default.Messages.SYSTEM_MESSAGE_RECIPIENT_REMOVE.format({username:a,usernameOnClick:o,otherUsername:_.default.getName(null,n,t),otherUsernameOnClick:o},!1));case u.MessageTypes.CALL:var i=e.call;return i&&i.participants.indexOf(c.default.getId())===-1?(0,E.astToString)(l.default.Messages.SYSTEM_MESSAGE_CALL_STARTED.format({username:a,usernameOnClick:o},!1)):void 0;case u.MessageTypes.CHANNEL_NAME_CHANGE:return(0,E.astToString)(l.default.Messages.SYSTEM_MESSAGE_CHANNEL_NAME_CHANGE.format({username:a,usernameOnClick:o,channelName:e.content},!1));case u.MessageTypes.CHANNEL_ICON_CHANGE:return(0,E.astToString)(l.default.Messages.SYSTEM_MESSAGE_CHANNEL_ICON_CHANGE.format({username:a,usernameOnClick:o},!1));case u.MessageTypes.CHANNEL_PINNED_MESSAGE:return(0,E.astToString)(l.default.Messages.SYSTEM_MESSAGE_PINNED_MESSAGE_NO_CTA.format({username:a,usernameOnClick:o},!1));case u.MessageTypes.GUILD_MEMBER_JOIN:var s=p.default.getGuild(e.channel_id);if(s){var f=r(e.id);return(0,E.astToString)(f.format({username:a,usernameOnClick:o,guildName:s.name,guildNameOnClick:o},!1))}default:return e.content}}t.__esModule=!0;var s=n(3),l=a(s),u=n(1),f=n(17),c=a(f),d=n(12),p=a(d),h=n(10),g=a(h),m=n(13),v=a(m),E=n(543),y=n(194),_=a(y),b=n(147),S=a(b),I=function(){return[l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_01,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_02,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_03,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_04,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_05,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_06,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_07,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_08,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_09,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_10,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_11,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_12,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_13,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_14,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_15,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_16,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_17,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_18,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_19,l.default.Messages.SYSTEM_MESSAGE_GUILD_MEMBER_JOIN_20]};t.default={stringify:i,getSystemMessageGuildMemberJoined:r},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var a=void 0;a={setInterval:function(e,t){return window.setInterval(e,t)},clearInterval:function(e){window.clearInterval(e)}},t.default=a,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1251),r=a(o),i=n(311),s=a(i),l=n(1),u=null,f=null;t.default={typing:function(e){if(!(u===e&&null!=f&&f>Date.now())){u=e;if(s.default.getCount(e)>l.MAX_TYPING_USERS)return void(f=Date.now()+l.TYPING_TIMEOUT);r.default.sendTyping(e),f=Date.now()+.8*l.TYPING_TIMEOUT}},clear:function(e){u===e&&(f=null)}},e.exports=t.default},function(e,t,n){"use strict";function a(e){e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen?e.msRequestFullscreen():console.warn("Fullscreen API is not supported.")}function o(){document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():console.warn("Fullscreen API is not supported.")}function r(){return document.fullscreen||document.webkitIsFullScreen}t.__esModule=!0,t.requestFullScreen=a,t.exitFullScreen=o,t.isFullScreen=r;t.fullScreenChangeEvents=["fullscreenchange","webkitfullscreenchange"]},function(e,t,n){"use strict";(function(a){t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r="electron_configure_hardware_acceleration",i="voice_in_renderer",s="utils_in_renderer",l="#ffffff",u="#f04747",f=window.__require,c=f?f("process"):null,d=f?f("electron"):null,p=d?d.remote.getGlobal("features"):null,h=null;if(d){h=d.remote.app.getVersion().split(".").map(function(e){return parseInt(e)});var g=d.remote.getGlobal("mainAppDirname");window.module.paths=f("module")._nodeModulePaths(g);d.remote.require("module").globalPaths.forEach(function(e){e.indexOf("electron.asar")===-1&&window.module.paths.push(e)})}var m={};null!=d&&(d.ipcRenderer.on("MODULE_INSTALLED",function(e,t,n){var a=m[t];null!=a&&null!=a.callback&&a.callback(n)}),d.ipcRenderer.on("TRACK_ANALYTICS_EVENT",function(e){e.sender.send("TRACK_ANALYTICS_EVENT_COMMIT")}));var v=null,E=!1;t.default={embedded:null!=f,getGlobal:function(e){return d.remote.getGlobal(e)},require:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return null!=f?t?d.remote.require(e):f(e):null},requireElectron:function(e,t){return t?d.remote[e]:d[e]},requireModule:function(e,t){var n=null;try{n=this.require(e,t)}catch(e){}return n},installModule:function(e){this.send("MODULE_INSTALL",e)},ensureModule:function(e){var t=this,n=m[e];return null==n&&(n=m[e]={},n.promise=new Promise(function(a,o){n.callback=function(e){n.callback=null,e?a():o()},t.installModule(e)})),n.promise},beforeUnload:function(){this.getVoiceEngine().onInvokingContextDestroyed(),this.getDiscordUtils().beforeUnload();var e=this.requireModule("discord_overlay",!0);e&&e.reset&&e.reset(),this.requireElectron("powerMonitor",!0).removeAllListeners()},inputEventRegister:function(e,t,n,a){Array.isArray(t)||(t=t.toJS()),this.getDiscordUtils().inputEventRegister(parseInt(e),t,n,a)},inputEventUnregister:function(e){this.getDiscordUtils().inputEventUnregister(parseInt(e))},getIdleMilliseconds:function(e){this.getDiscordUtils().getIdleMilliseconds(e)},setObservedGamesCallback:function(e,t){this.getDiscordUtils().setObservedGamesCallback(e,t)},setCandidateGamesCallback:function(e){this.getDiscordUtils().setCandidateGamesCallback(e)},clearCandidateGamesCallback:function(){this.getDiscordUtils().clearCandidateGamesCallback()},setGameCandidateOverrides:function(e){this.getDiscordUtils().setGameCandidateOverrides(e)},shouldDisplayNotifications:function(){return this._shouldDisplayNotifications=this._shouldDisplayNotifications||this.getDiscordUtils().shouldDisplayNotifications,null==this._shouldDisplayNotifications||this._shouldDisplayNotifications()},getVoiceEngine:function(){return E=!0,this.require("discord_voice",!this.supportsFeature(i))},getDiscordUtils:function(){return E||this.getVoiceEngine(),this.require("discord_utils",!this.supportsFeature(s))},setBadge:function(e){var t=this,a=""+e;if("darwin"===this.platform)d.remote.app.dock.setBadge(a);else if("win32"===this.platform||"linux"==this.platform){clearTimeout(v);var o=function e(){var o="Whitney",r=40,i=64,s=100,f=120;if(a.length>2?(a="99+",i=42,s=100,f=120):a.length>1&&(i=54,s=100,f=120),document.fonts.check("bold "+i+"px "+o)){var c=new Image;c.onload=function(){var e=document.createElement("canvas"),n=e.getContext("2d");e.width=140,e.height=140,n.drawImage(c,0,0,e.height,e.width),a.length>0?(n.beginPath(),n.fillStyle=u,n.ellipse(e.width-r,e.height-r,r,r,0,0,2*Math.PI),n.fill(),n.textAlign="center",n.fillStyle=l,n.font="bold "+i+'px "'+o+'"',n.fillText(a,s,f),t.send("BADGE_IS_ENABLED")):t.send("BADGE_IS_DISABLED");var d=e.toDataURL();t.send("SET_ICON",{icon:d})},c.src=n(1221)("./discord-"+t.releaseChannel+".png")}else clearTimeout(v),v=setTimeout(e,1e3)};o()}},bounceDock:function(e){if(this.embedded){var t=d.remote.app;if(null!=t.dock){var n=t.dock.bounce(e);return function(){t.dock.cancelBounce(n)}}}},get platform(){return this.embedded?c.platform:""},get releaseChannel(){if(!this.embedded)return"";var e=d.remote.getGlobal("releaseChannel");return e?e:(e=this.require("./singleInstance",!0).releaseChannel,e?e:"")},get version(){return h},copy:function(e){this.embedded&&(e?d.remote.clipboard.writeText(e):this._getCurrentWindow().webContents.copy())},cut:function(){this.embedded&&this._getCurrentWindow().webContents.cut()},paste:function(){this.embedded&&this._getCurrentWindow().webContents.paste()},openExternal:function(e){this.embedded&&d.remote.shell.openExternal(e)},on:function(e,t){d.ipcRenderer.on(e,t)},send:function(e){for(var t,n=arguments.length,a=Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];(t=d.ipcRenderer).send.apply(t,[e].concat(a))},flashFrame:function(e){var t=this._getCurrentWindow();null!=t&&t.flashFrame&&t.flashFrame(!t.isFocused()&&e)},minimize:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?this._getMainWindow():this._getCurrentWindow();null!=t&&t.minimize()},restore:function(){(arguments.length>0&&void 0!==arguments[0]&&arguments[0]?this._getMainWindow():this._getCurrentWindow()).restore()},maximize:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e?this._getMainWindow():this._getCurrentWindow();t.isMaximized()?t.unmaximize():t.maximize()},focus:function(){(arguments.length>0&&void 0!==arguments[0]&&arguments[0]?this._getMainWindow():this._getCurrentWindow()).focus()},fullscreen:function(){var e=this._getCurrentWindow();e.setFullScreen(!e.isFullScreen())},_getCurrentWindow:function(){return d.remote.getCurrentWindow()},_getMainWindow:function(){var e=d.remote.getGlobal("mainWindowId");return d.remote.BrowserWindow.fromId(e)},close:function(){if(this.isOSX()){d.remote.Menu.sendActionToFirstResponder("hide:")}else this._getCurrentWindow().close()},purgeMemory:function(){if(this.embedded){var e=this.requireElectron("webFrame");e.clearCache?e.clearCache():c.purgeMemory?c.purgeMemory():a.process.binding("discord_utils").purgeMemory()}},updateCrashReporter:function(e){var t=o({},d.remote.getGlobal("crashReporterMetadata"),e);this.send("UPDATE_CRASH_REPORT",e),d.crashReporter.start({productName:"Discord",companyName:"Discord Inc.",submitURL:"http://crash.discordapp.com:1127/post",autoSubmit:!0,ignoreSystemCrashHandler:!1,extra:t})},flushDNSCache:function(){if(this.embedded){var e=this.requireElectron("session",!0);if(e){var t=e.defaultSession;t&&t.clearHostResolverCache&&t.clearHostResolverCache()}}},supportsFeature:function(e){return p&&p.supports(e)},getEnableHardwareAcceleration:function(){return!this.supportsFeature(r)||this.require("./GPUSettings",!0).getEnableHardwareAcceleration()},setEnableHardwareAcceleration:function(e){this.supportsFeature(r)&&this.require("./GPUSettings",!0).setEnableHardwareAcceleration(e)},setZoomFactor:function(e){if(!this.embedded)return!1;var t=this.requireElectron("webFrame");t.setZoomFactor&&t.setZoomFactor(e/100)},setFocused:function(e){this.getDiscordUtils().setFocused(e)}},e.exports=t.default}).call(t,n(30))},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var n=document.createElement("iframe");document.body.appendChild(n);try{n.contentWindow.location.href=e,a.nextTick(function(){return t(!0)})}catch(e){"NS_ERROR_UNKNOWN_PROTOCOL"===e.name&&a.nextTick(function(){return t(!1)})}document.body.removeChild(n)}function i(e,t){function n(){a=!0}var a=!1;window.addEventListener("blur",n),location.href=e,setTimeout(function(){window.removeEventListener("blur",n),t(a)},1e3)}function s(e,t){t(!1)}function l(){return"Gecko"===f.default.layout?r:f.default.ua.indexOf("Valve Steam GameOverlay")!=-1?s:i}t.__esModule=!0;var u=n(58),f=o(u);t.default={launch:l()},e.exports=t.default}).call(t,n(45))},function(e,t,n){"use strict";function a(e){return"string"==typeof e&&e.indexOf("%")!==-1&&(e=parseInt(e,10)/100),e}function o(e,t,n){if("number"!=typeof e||e<-1||e>1||"string"!=typeof t||"r"!=t[0]&&"#"!=t[0]||"string"!=typeof n&&void 0!==n)return null;var a=(parseInt,Math.round),o=t.length>9,r="string"==typeof n?n.length>9||"c"==n&&!o:o,s=e<0;e=s?e*-1:e,n=n&&"c"!=n?n:s?"#000000":"#FFFFFF";var l=i(t),u=i(n);return l&&u?r?"rgb("+a((u[0]-l[0])*e+l[0])+","+a((u[1]-l[1])*e+l[1])+","+a((u[2]-l[2])*e+l[2])+(l[3]<0&&u[3]<0?")":","+(l[3]>-1&&u[3]>-1?a(1e4*((u[3]-l[3])*e+l[3]))/1e4:u[3]<0?l[3]:u[3])+")"):"#"+(4294967296+16777216*(l[3]>-1&&u[3]>-1?a(255*((u[3]-l[3])*e+l[3])):u[3]>-1?a(255*u[3]):l[3]>-1?a(255*l[3]):255)+65536*a((u[0]-l[0])*e+l[0])+256*a((u[1]-l[1])*e+l[1])+a((u[2]-l[2])*e+l[2])).toString(16).slice(l[3]>-1||u[3]>-1?1:3):null}var i=function(e){var t=e.length,n=new Object,a=parseInt;if(t>9){if(e=e.split(","),e.length<3||e.length>4)return null;n[0]=a(e[0].slice(4)),n[1]=a(e[1]),n[2]=a(e[2]),n[3]=e[3]?parseFloat(e[3]):-1}else{if(8==t||6==t||t<4)return null;t<6&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+(t>4?e[4]+""+e[4]:"")),e=a(e.slice(1),16),n[0]=e>>16&255,n[1]=e>>8&255,n[2]=255&e,n[3]=9==t||5==t?r((e>>24&255)/255*1e4)/1e4:-1}return n};e.exports={darken:function(e,t){return o(-a(t),e)},lighten:function(e,t){return o(a(t),e)},lightness:o}},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=n(111),l=n(1711),u=function(e){function t(n,r){a(this,t);var s=o(this,e.call(this));return n.style&&(n=i({},n,{style:new l(n.style)})),s._props=n,s._callback=r,s.__attach(),s}return r(t,e),t.prototype.__getValue=function(){var e={};for(var t in this._props){var n=this._props[t];e[t]=n instanceof s?n.__getValue():n}return e},t.prototype.__getAnimatedValue=function(){var e={};for(var t in this._props){var n=this._props[t];n instanceof s&&(e[t]=n.__getAnimatedValue())}return e},t.prototype.__attach=function(){for(var e in this._props){var t=this._props[e];t instanceof s&&t.__addChild(this)}},t.prototype.__detach=function(){for(var e in this._props){var t=this._props[e];t instanceof s&&t.__removeChild(this)}},t.prototype.update=function(){this._callback()},t}(s);e.exports=u},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(1721),r=function(){function e(){a(this,e)}return e.step0=function(e){return e>0?1:0},e.step1=function(e){return e>=1?1:0},e.linear=function(e){return e},e.ease=function(e){return i(e)},e.quad=function(e){return e*e},e.cubic=function(e){return e*e*e},e.poly=function(e){return function(t){return Math.pow(t,e)}},e.sin=function(e){return 1-Math.cos(e*Math.PI/2)},e.circle=function(e){return 1-Math.sqrt(1-e*e)},e.exp=function(e){return Math.pow(2,10*(e-1))},e.elastic=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=e*Math.PI;return function(e){return 1-Math.pow(Math.cos(e*Math.PI/2),3)*Math.cos(e*t)}},e.back=function(e){return void 0===e&&(e=1.70158),function(t){return t*t*((e+1)*t-e)}},e.bounce=function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?(e-=1.5/2.75,7.5625*e*e+.75):e<2.5/2.75?(e-=2.25/2.75,7.5625*e*e+.9375):(e-=2.625/2.75,7.5625*e*e+.984375)},e.bezier=function(e,t,n,a){return o(e,t,n,a)},e.in=function(e){return e},e.out=function(e){return function(t){return 1-e(1-t)}},e.inOut=function(e){return function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2}},e}(),i=r.bezier(.42,0,1,1);e.exports=r},function(e,t,n){"use strict";var a={current:function(e,t){if(!e.setNativeProps)return!1;e.setNativeProps(t)},inject:function(e){a.current=e}};e.exports=a},function(e,t,n){"use strict";var a={current:function(e){return e},inject:function(e){a.current=e}};e.exports=a},function(e,t,n){"use strict";var a={current:{createInteractionHandle:function(){},clearInteractionHandle:function(){}},inject:function(e){a.current=e}};e.exports=a},,,,,,,function(e,t,n){"use strict";e.exports=function(e){var t={},n=e.stopCallback;return e.stopCallback=function(e,a,o,r){return!t[o]&&!t[r]&&n(e,a,o)},e.bindGlobal=function(e,n,a){if(this.bind(e,n,a),e instanceof Array)for(var o=0;o<e.length;o++)t[e[o]]=!0;else t[e]=!0},e}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){(function(e,a){var o;!function(r){function i(e){throw new RangeError(R[e])}function s(e,t){for(var n=e.length,a=[];n--;)a[n]=t(e[n]);return a}function l(e,t){var n=e.split("@"),a="";return n.length>1&&(a=n[0]+"@",e=n[1]),e=e.replace(L,"."),a+s(e.split("."),t).join(".")}function u(e){for(var t,n,a=[],o=0,r=e.length;o<r;)t=e.charCodeAt(o++),t>=55296&&t<=56319&&o<r?(n=e.charCodeAt(o++),56320==(64512&n)?a.push(((1023&t)<<10)+(1023&n)+65536):(a.push(t),o--)):a.push(t);return a}function f(e){return s(e,function(e){var t="";return e>65535&&(e-=65536,t+=P(e>>>10&1023|55296),e=56320|1023&e),t+=P(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:b}function d(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function p(e,t,n){var a=0;for(e=n?w(e/N):e>>1,e+=w(e/t);e>x*I>>1;a+=b)e=w(e/x);return w(a+(x+1)*e/(e+T))}function h(e){var t,n,a,o,r,s,l,u,d,h,g=[],m=e.length,v=0,E=M,y=A;for(n=e.lastIndexOf(C),n<0&&(n=0),a=0;a<n;++a)e.charCodeAt(a)>=128&&i("not-basic"),g.push(e.charCodeAt(a));for(o=n>0?n+1:0;o<m;){for(r=v,s=1,l=b;o>=m&&i("invalid-input"),u=c(e.charCodeAt(o++)),(u>=b||u>w((_-v)/s))&&i("overflow"),v+=u*s,d=l<=y?S:l>=y+I?I:l-y,!(u<d);l+=b)h=b-d,s>w(_/h)&&i("overflow"),s*=h;t=g.length+1,y=p(v-r,t,0==r),w(v/t)>_-E&&i("overflow"),E+=w(v/t),v%=t,g.splice(v++,0,E)}return f(g)}function g(e){var t,n,a,o,r,s,l,f,c,h,g,m,v,E,y,T=[];for(e=u(e),m=e.length,t=M,n=0,r=A,s=0;s<m;++s)g=e[s],g<128&&T.push(P(g));for(a=o=T.length,o&&T.push(C);a<m;){for(l=_,s=0;s<m;++s)g=e[s],g>=t&&g<l&&(l=g);for(v=a+1,l-t>w((_-n)/v)&&i("overflow"),n+=(l-t)*v,t=l,s=0;s<m;++s)if(g=e[s],g<t&&++n>_&&i("overflow"),g==t){for(f=n,c=b;h=c<=r?S:c>=r+I?I:c-r,!(f<h);c+=b)y=f-h,E=b-h,T.push(P(d(h+y%E,0))),f=w(y/E);T.push(P(d(f,0))),r=p(n,v,a==o),n=0,++a}++n,++t}return T.join("")}function m(e){return l(e,function(e){return O.test(e)?h(e.slice(4).toLowerCase()):e})}function v(e){return l(e,function(e){return D.test(e)?"xn--"+g(e):e})}var E=("object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType,"object"==typeof a&&a);E.global!==E&&E.window!==E&&E.self;var y,_=2147483647,b=36,S=1,I=26,T=38,N=700,A=72,M=128,C="-",O=/^xn--/,D=/[^\x20-\x7E]/,L=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=b-S,w=Math.floor,P=String.fromCharCode;y={version:"1.4.1",ucs2:{decode:u,encode:f},decode:h,encode:g,toASCII:v,toUnicode:m},o=function(){return y}.call(t,n,t,e),void 0!==o&&(e.exports=o)}(this)}).call(t,n(251)(e),n(30))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0ibWF0cml4KC0xIDAgMCAxIDI0IDApIj4KICAgIDxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPgogICAgPGcgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMjEgMykiPgogICAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTYsOSBDMTYsMTAuMTkgMTUuNjYsMTEuMyAxNS4xLDEyLjI4IEwxMy44NywxMS4wNSBDMTQuMTQsMTAuNDMgMTQuMyw5Ljc0IDE0LjMsOSBMMTYsOSBMMTYsOSBaIE0xMiw5LjE2IEw2LDMuMTggTDYsMyBDNiwxLjM0MzE0NTc1IDcuMzQzMTQ1NzUsNC40NDA4OTIxZS0xNiA5LDAgQzEwLjY1Njg1NDIsMCAxMiwxLjM0MzE0NTc1IDEyLDMgTDEyLDkgTDEyLDkuMTYgTDEyLDkuMTYgWiBNMTIuNTQsMTQuODEgQzExLjc3LDE1LjI3IDEwLjkxLDE1LjU4IDEwLDE1LjcyIEwxMCwxOSBMOCwxOSBMOCwxNS43MiBDNC43MiwxNS4yMyAyLDEyLjQxIDIsOSBMMy43LDkgQzMuNywxMiA2LjI0LDE0LjEgOSwxNC4xIEM5LjgxLDE0LjEgMTAuNiwxMy45MSAxMS4zMSwxMy41OCBMOS42NSwxMS45MiBMOSwxMiBDNy4zNDMxNDU3NSwxMiA2LDEwLjY1Njg1NDIgNiw5IEw2LDguMjggTDEyLjU0LDE0LjgxIFoiLz4KICAgICAgPHBvbHlnb24gZmlsbD0iI0YwNDc0NyIgcG9pbnRzPSIxLjI3IDEgMTggMTcuNzMgMTYuNzMgMTkgMCAyLjI3Ii8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNyw0LjQ0MDg5MjFlLTE2IEM4LjY1Njg1NDI1LDAgMTAsMS4zNDMxNDU3NSAxMCwzIEwxMCw5IEMxMCwxMC42NTY4NTQyIDguNjU2ODU0MjUsMTIgNywxMiBDNS4zNDMxNDU3NSwxMiA0LDEwLjY1Njg1NDIgNCw5IEw0LDMgQzQsMS4zNDMxNDU3NSA1LjM0MzE0NTc1LDQuNDQwODkyMWUtMTYgNywwIEw3LDQuNDQwODkyMWUtMTYgWiBNMTQsOSBDMTQsMTIuNTMgMTEuMzksMTUuNDQgOCwxNS45MyBMOCwxOSBMNiwxOSBMNiwxNS45MyBDMi42MSwxNS40NCAwLDEyLjUzIDAsOSBMMiw5IEMyLDExLjc2MTQyMzcgNC4yMzg1NzYyNSwxNCA3LDE0IEM5Ljc2MTQyMzc1LDE0IDEyLDExLjc2MTQyMzcgMTIsOSBMMTQsOSBMMTQsOSBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1IDMpIi8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBvbHlnb24gcG9pbnRzPSIwIDAgMjQgMCAyNCAyNCAwIDI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0xNywxMC41IEwxNyw3IEMxNyw2LjQ1IDE2LjU1LDYgMTYsNiBMNCw2IEMzLjQ1LDYgMyw2LjQ1IDMsNyBMMywxNyBDMywxNy41NSAzLjQ1LDE4IDQsMTggTDE2LDE4IEMxNi41NSwxOCAxNywxNy41NSAxNywxNyBMMTcsMTMuNSBMMjEsMTcuNSBMMjEsNi41IEwxNywxMC41IFoiLz4KICAgIDxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t,n){e.exports=n.p+"0682cf612d4fed39efb57e0a1bcc8544.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBvbHlnb24gcG9pbnRzPSIwIDAgMjQgMCAyNCAyNCAwIDI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0xNywxMC41IEwxNyw3IEMxNyw2LjQ1IDE2LjU1LDYgMTYsNiBMNCw2IEMzLjQ1LDYgMyw2LjQ1IDMsNyBMMywxNyBDMywxNy41NSAzLjQ1LDE4IDQsMTggTDE2LDE4IEMxNi41NSwxOCAxNywxNy41NSAxNywxNyBMMTcsMTMuNSBMMjEsMTcuNSBMMjEsNi41IEwxNywxMC41IFoiLz4KICAgIDxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t,n){e.exports=n.p+"f78426a064bc9dd24847519259bc42af.png"},function(e,t,n){e.exports=n.p+"f24711dae4f6d6b28335e866a93e9d9b.png"},function(e,t,n){e.exports=n.p+"4e51af83c4879cf313ad553bdc20dcf7.png"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGZpbGw9IiM5OUFBQjUiIGQ9Ik0wIDE0LjI1VjE4aDMuNzVMMTQuODEgNi45NGwtMy43NS0zLjc1TDAgMTQuMjV6TTE3LjcxIDQuMDRjLjM5LS4zOS4zOS0xLjAyIDAtMS40MUwxNS4zNy4yOWMtLjM5LS4zOS0xLjAyLS4zOS0xLjQxIDBsLTEuODMgMS44MyAzLjc1IDMuNzUgMS44My0xLjgzeiIvPgogICAgPHBhdGggZD0iTTAgMGgxOHYxOEgwIi8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0xOCAwSDB2MThoMTh6Ii8+CiAgICA8cGF0aCBmaWxsPSIjNDNCNTgxIiBkPSJNMCA4aDE0LjJsLTMuNi0zLjZMMTIgM2w2IDYtNiA2LTEuNC0xLjQgMy42LTMuNkgwIi8+CiAgPC9nPgo8L3N2Zz4="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAzKSI+CiAgICAgIDxwb2x5Z29uIHBvaW50cz0iMCAwIDI0IDAgMjQgMTggMCAxOCIvPgogICAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0xNSwyLjYyNDEwMzkgQzE3LjIxNDQ4ODEsMy41OTIzNjMxIDE4Ljg2OTMzNDksNS42MDEzMzEzIDE5LjM1LDguMDQgQzIxLjk1LDguMjIgMjQsMTAuMzYgMjQsMTMgQzI0LDE1Ljc2IDIxLjc2LDE4IDE5LDE4IEw2LDE4IEMyLjY5LDE4IDAsMTUuMzEgMCwxMiBDMCw4LjkxIDIuMzQsNi4zNiA1LjM1LDYuMDQgQzYuMTM4NzE1MjMsNC41MjU2NjY3NSA3LjQyOTA2OTEsMy4zMTM5MDkyIDksMi42MjU3ODg5IEw5LDQuODkwNjEzOTMgQzcuOTAzNzU5OTMsNS42MDc0NDU0NSA3LjA3OTU2NDEsNi43MDY1MjU2IDYuNzEsOCBMNiw4IEMzLjc5LDggMiw5Ljc5IDIsMTIgQzIsMTQuMjEgMy43OSwxNiA2LDE2IEwxOSwxNiBDMjAuNjYsMTYgMjIsMTQuNjYgMjIsMTMgQzIyLDExLjM0IDIwLjY2LDEwIDE5LDEwIEwxNy41LDEwIEwxNy41LDkuNSBDMTcuNSw3LjU2NzIxNTc4IDE2LjUwNTYxNDcsNS44Njg4ODAxIDE1LDQuODg4MTQ4ODMgTDE1LDIuNjI0MTAzOSBaIi8+CiAgICAgIDxwb2x5Z29uIGZpbGw9IiM0RjU0NUMiIGZpbGwtcnVsZT0ibm9uemVybyIgcG9pbnRzPSIxMyAxMCAxMyAwIDExIDAgMTEgMTAgOCAxMCAxMiAxNCAxNiAxMCIvPgogICAgPC9nPgogICAgPHBvbHlnb24gcG9pbnRzPSIyNCAwIDAgMCAwIDI0IDI0IDI0Ii8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTZ2MTZIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiNiOWJiYmUiIGQ9Ik04IDEzLjVjLTMuMDMyIDAtNS41LTIuNDY4LTUuNS01LjVTNC45NjggMi41IDggMi41czUuNSAyLjQ2OCA1LjUgNS41LTIuNDY4IDUuNS01LjUgNS41ek0xIDhjMCAxLjg1Ny43MzcgMy42MzcgMi4wNSA0Ljk1QzQuMzYzIDE0LjI2MyA2LjE0MyAxNSA4IDE1YzEuODU3IDAgMy42MzctLjczNyA0Ljk1LTIuMDVDMTQuMjYzIDExLjYzNyAxNSA5Ljg1NyAxNSA4YzAtMS44NTctLjczNy0zLjYzNy0yLjA1LTQuOTVDMTEuNjM3IDEuNzM3IDkuODU3IDEgOCAxIDQuMTM0IDEgMSA0LjEzNCAxIDh6bTgtM0g3djJINXYyaDJ2MmgyVjloMlY3SDlWNXoiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTZ2MTZIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiM3Mjc2N2QiIGQ9Ik04IDEzLjVjLTMuMDMyIDAtNS41LTIuNDY4LTUuNS01LjVTNC45NjggMi41IDggMi41czUuNSAyLjQ2OCA1LjUgNS41LTIuNDY4IDUuNS01LjUgNS41ek0xIDhjMCAxLjg1Ny43MzcgMy42MzcgMi4wNSA0Ljk1QzQuMzYzIDE0LjI2MyA2LjE0MyAxNSA4IDE1YzEuODU3IDAgMy42MzctLjczNyA0Ljk1LTIuMDVDMTQuMjYzIDExLjYzNyAxNSA5Ljg1NyAxNSA4YzAtMS44NTctLjczNy0zLjYzNy0yLjA1LTQuOTVDMTEuNjM3IDEuNzM3IDkuODU3IDEgOCAxIDQuMTM0IDEgMSA0LjEzNCAxIDh6bTgtM0g3djJINXYyaDJ2MmgyVjloMlY3SDlWNXoiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0xIDRoMjR2MThIMVY0eiIvPgogICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTE2IDYuNjI0MTAzOWMyLjIxNDQ4ODEuOTY4MjU5MiAzLjg2OTMzNDkgMi45NzcyMjc0IDQuMzUgNS40MTU4OTYxIDIuNi4xOCA0LjY1IDIuMzIgNC42NSA0Ljk2IDAgMi43Ni0yLjI0IDUtNSA1SDdjLTMuMzEgMC02LTIuNjktNi02IDAtMy4wOSAyLjM0LTUuNjQgNS4zNS01Ljk2Ljc4ODcxNTIzLTEuNTE0MzMzMjUgMi4wNzkwNjkxLTIuNzI2MDkwOCAzLjY1LTMuNDE0MjExMXYyLjI2NDgyNTAzQzguOTAzNzU5OTMgOS42MDc0NDU0NSA4LjA3OTU2NDEgMTAuNzA2NTI1NiA3LjcxIDEySDdjLTIuMjEgMC00IDEuNzktNCA0czEuNzkgNCA0IDRoMTNjMS42NiAwIDMtMS4zNCAzLTNzLTEuMzQtMy0zLTNoLTEuNXYtLjVjMC0xLjkzMjc4NDIyLS45OTQzODUzLTMuNjMxMTE5OS0yLjUtNC42MTE4NTExN1Y2LjYyNDEwMzl6Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNMTQgMTRWNGgtMnYxMEg5bDQgNCA0LTRoLTN6Ii8+CiAgPC9nPgo8L3N2Zz4="},function(e,t,n){e.exports=n.p+"0694f38cb0b10cc3b5b89366a0893768.svg"},function(e,t,n){e.exports=n.p+"d9afc621eae5fcdc6414b0e40f6fb599.svg"},,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={focus:function(e){r.default.dirtyDispatch({type:i.ActionTypes.WINDOW_FOCUS,focused:e})},resized:function(){r.default.dirtyDispatch({type:i.ActionTypes.WINDOW_RESIZED})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var o=n(18),r=a(o),i=n(3),s=a(i),l=n(1706),u=a(l),f=n(1707);if(r.default.isDesktop()){var c=r.default._getCurrentWindow().webContents;c.removeAllListeners("devtools-opened"),c.on("devtools-opened",function(){return(0,f.consoleWarning)(s.default.Messages)})}else{(new u.default).on("changed",function(e){e.open&&(0,f.consoleWarning)(s.default.Messages)})}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var o=n(293),r=a(o),i=n(29),s=a(i),l=n(17),u=a(l),f=n(13),c=a(f),d=n(16),p=r.default.Request.prototype.end;r.default.Request.prototype.end=function(){if("/"===this.url[0]&&(this.url=(0,d.getAPIBaseURL)()+this.url,"Authorization"in this.header||"authorization"in this.header||this.set("Authorization",u.default.getToken())),"GET"!==this.method){var e=s.default.getSuperPropertiesBase64();null!=e&&this.set("X-Super-Properties",e)}var t=u.default.getFingerprint();return t&&this.set("X-Fingerprint",t),this.set("Accept-Language",c.default.locale),p.apply(this,arguments)}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(94)),s=n(58),l=a(s),u=n(682),f=n(729),c=a(f),d=n(735),p=a(d),h=n(1288),g=a(h),m=n(1291),v=a(m),E=n(1344),y=a(E),_=n(1345),b=a(_),S=n(1280),I=a(S),T=n(1261),N=a(T),A=n(1325),M=a(A),C=n(732),O=a(C),D=n(1339),L=a(D),R=n(138),x=a(R),w=n(1274),P=a(w),k=n(42),U=a(k),G=n(386),j=n(1675),F=n(1304),B=a(F),V=o(i.Redirect,{from:"/",to:"/channels/@me"}),H=o(i.IndexRedirect,{to:"@me"}),z=o(i.Route,{path:"/login",component:c.default}),W=o(i.Route,{path:"/register",component:p.default}),Y=o(i.Route,{path:"/verify",component:b.default}),K=o(i.Route,{path:"/disable-email-notifications",component:I.default}),Q=o(i.Route,{path:"/authorize-ip",component:N.default}),Z=o(i.Route,{path:"/reset",component:M.default}),X=o(i.Route,{path:"/apps",component:x.default}),J=o(i.Route,{path:"/connections/:type",component:y.default}),q=o(i.Route,{path:"/oauth2/authorized",component:C.OAuth2Authorized}),$=o(i.Route,{path:"/oauth2/error",component:C.OAuth2Error}),ee=o(i.Route,{path:"/oauth2/whitelist/accept",component:C.OAuth2WhitelistAccept}),te=o(i.Route,{path:"/settings"},void 0,o(i.Route,{path:":section",onEnter:G.userSettingsRedirector}),o(i.Route,{path:":section/:subsection",onEnter:G.userSettingsRedirector})),ne=function(){var e="Android"===l.default.os.family||"iOS"===l.default.os.family;return o(i.Router,{onUpdate:j.routerOnUpdate,history:U.default.getHistory()},void 0,V,o(i.Route,{path:"/",component:u.App},void 0,o(i.Route,{path:"/channels",component:u.AppTransition,componentType:"channels"},void 0,H,o(i.Route,{path:"welcome/:guildId/:channelId/:type",component:B.default,onEnter:B.default.Authenticate,componentType:"channels"}),o(i.Route,{path:"@me",component:P.default,onEnter:P.default.Authenticate,componentType:"channels"}),o(i.Route,{path:":guildId",component:P.default,onEnter:P.default.Authenticate,componentType:"channels"}),o(i.Route,{path:":guildId/:channelId",component:P.default,onEnter:P.default.Authenticate,componentType:"channels"})),z,W,o(i.Route,{path:"/invite/:code",component:e?v.default:g.default}),o(i.Route,{path:"/invite-proxy/:channelId",component:g.default.Proxy,onEnter:g.default.Proxy.onEnter}),Y,K,Q,Z,X,J,o(i.Route,{path:"/oauth2/authorize",component:O.default,onEnter:O.default.Authenticate}),q,$,ee,te))},ae=o(i.Route,{path:"/",component:u.App},void 0,o(i.IndexRoute,{component:L.default}),o(i.Route,{path:"/apps",component:x.default}),o(i.Route,{path:"*",component:L.default})),oe=function(){return o(i.Router,{history:U.default.getHistory()},void 0,ae)},re=u.AppOverlay;t.default={MainApp:ne,UnsupportedApp:oe,OverlayApp:re},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=g.default.getVoiceChannelId();if(null==e)return!1;var t=p.default.getChannel(e);return null!=t&&(E!==t.bitrate&&(E=t.bitrate,void v.default.getMediaEngine().eachConnection(function(e){return e.setBitRate(E)})))}t.__esModule=!0;var l=n(2),u=a(l),f=n(4),c=a(f),d=(n(1),n(11)),p=a(d),h=n(19),g=a(h),m=n(27),v=a(m),E=void 0,y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(p.default,g.default,v.default)},t}(u.default.Store);t.default=new y(c.default,{CONNECTION_OPEN:s,CHANNEL_UPDATE:s,VOICE_CHANNEL_SELECT:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=C.default.get(k);if(e)return e.userId!==N.default.getId()?void C.default.remove(k):void(P=e.resultHashes)}function l(){C.default.set(k,{userId:N.default.getId(),resultHashes:P})}function u(e){return e.type+":"+e.id}function f(e){var t=e.indexOf(":");return{type:e.substr(0,t),id:e.substr(t+1)}}function c(){return w.default.embedded&&(s(),U.start(36e5)),!1}function d(){return U.stop(),!1}function p(){for(var e=!1,t=Object.keys(P),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var r=o,i=f(r),s=i.type,u=i.id,c=I.default.getAccount(u,s);null!=c&&c.friendSync||(delete P[r],e=!0)}return e&&l(),w.default.embedded&&U.run(),!1}function h(){C.default.remove(k)}t.__esModule=!0;var g=n(7),m=a(g),v=n(2),E=a(v),y=n(4),_=a(y),b=n(1),S=n(308),I=a(S),T=n(17),N=a(T),A=n(771),M=n(25),C=a(M),O=n(775),D=a(O),L=n(16),R=a(L),x=n(18),w=a(x),P={},k="FriendSyncResultHashes",U=new D.default(function(e){var t=I.default.getAccounts(),n=(0,m.default)(t).filter(function(e){return e.friendSync&&b.UNSAFE_PLATFORM_TYPES.has(e.type)}).map(function(e){return e.type}).uniq().value();(0,A.fetchAccounts)(n).then(function(t){var n=t.filter(function(e){if(P[u(e)]===e.resultHash)return!1;var t=I.default.getAccount(e.id,e.type);return null!=t&&t.friendSync});n.length>0&&R.default.post({url:b.Endpoints.FRIEND_SUGGESTIONS+"/sync",body:n.map(function(e){return{id:e.id,name:e.name,id_hash:e.idHash,platform_type:e.type,friend_id_hashes:e.friendIdHashes}})}).then(function(){n.forEach(function(e){P[u(e)]=e.resultHash}),l()}),e()})}),G=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(I.default,N.default)},t}(E.default.Store);t.default=new G(_.default,{CONNECTION_OPEN:c,CONNECTION_CLOSED:d,USER_CONNECTIONS_UPDATE:p,LOGOUT:h}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.idleSince;if(p.default.embedded&&(clearTimeout(I),clearTimeout(T),null!=t&&!y.default.isDisabled())){var n=y.default.getChannelId();if(null!=n){T=setTimeout(function(){b.default.selectVoiceChannel(null,null)},S);var a=v.default.getGuild(y.default.getGuildId());null!=a&&null!=a.afkChannelId&&a.afkChannelId!==n&&null!=a.afkTimeout&&(I=setTimeout(function(){a=v.default.getGuild(y.default.getGuildId()),null!=a&&null!=a.afkChannelId&&b.default.selectVoiceChannel(a.id,a.afkChannelId)},t+1e3*a.afkTimeout-Date.now()))}}}t.__esModule=!0;var l=n(2),u=a(l),f=n(4),c=a(f),d=(n(1),n(18)),p=a(d),h=n(522),g=a(h),m=n(12),v=a(m),E=n(62),y=a(E),_=n(59),b=a(_),S=18e6,I=void 0,T=void 0,N=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(g.default)},t}(u.default.Store);t.default=new N(c.default,{IDLE:s}),e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){a(function(){return e()})}function u(e){var t=e.callback;if(m)return void l(t);v.push(t)}function f(){m=!0,v.forEach(function(e){return l(e)}),v=[]}function c(){m=!1}t.__esModule=!0;var d=n(2),p=o(d),h=n(4),g=o(h),m=(n(1),!1),v=[],E=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t}(p.default.Store);t.default=new E(g.default,{POST_CONNECTION_PENDING_CALLBACK:u,CONNECTION_OPEN:f,CONNECTION_CLOSED:c}),e.exports=t.default}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){var e="";return window.getSelection?e=window.getSelection().toString():document.selection&&"Control"!==document.selection.type&&(e=document.selection.createRange().text),e}function r(e){e.preventDefault();var t=void 0,n=void 0,a=void 0,r=o();if("TEXTAREA"===e.target.tagName||"INPUT"===e.target.tagName)t=h.ContextMenuTypes.NATIVE_INPUT;else{if("none"==window.getComputedStyle(e.target).getPropertyValue("-webkit-user-select"))return;var i=e.target;do null!=i.src&&(a=i.src),null!=i.href&&(n=i.href),i=i.parentNode;while(null!=i);null!=a?t=h.ContextMenuTypes.NATIVE_IMAGE:null!=n?t=h.ContextMenuTypes.NATIVE_LINK:r&&(t=h.ContextMenuTypes.NATIVE_TEXT)}t&&c.default.openContextMenu(e,function(e){return u.default.createElement(p.default,s({},e,{type:h.ContextMenuTypes[t],href:n,src:a,value:r}))})}function i(e){var t=!1,n=void 0,a=void 0;if("INPUT"===e.target.tagName||"TEXTAREA"===e.target.tagName)t=!0;else if(o())t=!0;else{var r=e.target;do null!=r.src&&(n=r.src),null!=r.href&&(a=r.href),r=r.parentNode;while(null!=r);null==a&&null==n||(t=!0)}t||e.preventDefault()}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.contextMenuCallbackNative=r,t.contextMenuCallbackWeb=i;var l=n(0),u=a(l),f=n(64),c=a(f),d=n(1391),p=a(d),h=n(1)},,function(e,t){},function(e,t){},function(e,t,n){e.exports=n.p+"07dca80a102d4149e9736d4b162cff6f.ico"},,,,,,,function(e,t,n){e.exports=n(2767)},,,,function(e,t,n){e.exports=n.p+"ee7c382d9257652a88c8f7b7f22a994d.png"},,function(e,t){e.exports=[{code:"+7 840",name:"Abkhazia"},{code:"+93",name:"Afghanistan"},{code:"+355",name:"Albania"},{code:"+213",name:"Algeria"},{code:"+1 684",name:"American Samoa"},{code:"+376",name:"Andorra"},{code:"+244",name:"Angola"},{code:"+1 264",name:"Anguilla"},{code:"+1 268",name:"Antigua and Barbuda"},{code:"+54",name:"Argentina"},{code:"+374",name:"Armenia"},{code:"+297",name:"Aruba"},{code:"+247",name:"Ascension"},{code:"+61",name:"Australia"},{code:"+672",name:"Australian External Territories"},{code:"+43",name:"Austria"},{code:"+994",name:"Azerbaijan"},{code:"+1 242",name:"Bahamas"},{code:"+973",name:"Bahrain"},{code:"+880",name:"Bangladesh"},{code:"+1 246",name:"Barbados"},{code:"+1 268",name:"Barbuda"},{code:"+375",name:"Belarus"},{code:"+32",name:"Belgium"},{code:"+501",name:"Belize"},{code:"+229",name:"Benin"},{code:"+1 441",name:"Bermuda"},{code:"+975",name:"Bhutan"},{code:"+591",name:"Bolivia"},{code:"+387",name:"Bosnia and Herzegovina"},{code:"+267",name:"Botswana"},{code:"+55",name:"Brazil"},{code:"+246",name:"British Indian Ocean Territory"},{code:"+1 284",name:"British Virgin Islands"},{code:"+673",name:"Brunei"},{code:"+359",name:"Bulgaria"},{code:"+226",name:"Burkina Faso"},{code:"+257",name:"Burundi"},{code:"+855",name:"Cambodia"},{code:"+237",name:"Cameroon"},{code:"+1",name:"Canada"},{code:"+238",name:"Cape Verde"},{code:"+1 345",name:"Cayman Islands"},{code:"+236",name:"Central African Republic"},{code:"+235",name:"Chad"},{code:"+56",name:"Chile"},{code:"+86",name:"China"},{code:"+61",name:"Christmas Island"},{code:"+61",name:"Cocos-Keeling Islands"},{code:"+57",name:"Colombia"},{code:"+269",name:"Comoros"},{code:"+242",name:"Congo"},{code:"+243",name:"Congo, Dem. Rep. of (Zaire)"},{code:"+682",name:"Cook Islands"},{code:"+506",name:"Costa Rica"},{code:"+385",name:"Croatia"},{code:"+53",name:"Cuba"},{code:"+599",name:"Curacao"},{code:"+537",name:"Cyprus"},{code:"+420",name:"Czech Republic"},{code:"+45",name:"Denmark"},{code:"+246",name:"Diego Garcia"},{code:"+253",name:"Djibouti"},{code:"+1 767",name:"Dominica"},{code:"+1 809",name:"Dominican Republic"},{code:"+670",name:"East Timor"},{code:"+56",name:"Easter Island"},{code:"+593",name:"Ecuador"},{code:"+20",name:"Egypt"},{code:"+503",name:"El Salvador"},{code:"+240",name:"Equatorial Guinea"},{code:"+291",name:"Eritrea"},{code:"+372",name:"Estonia"},{code:"+251",name:"Ethiopia"},{code:"+500",name:"Falkland Islands"},{code:"+298",name:"Faroe Islands"},{code:"+679",name:"Fiji"},{code:"+358",name:"Finland"},{code:"+33",name:"France"},{code:"+596",name:"French Antilles"},{code:"+594",name:"French Guiana"},{code:"+689",name:"French Polynesia"},{code:"+241",name:"Gabon"},{code:"+220",name:"Gambia"},{code:"+995",name:"Georgia"},{code:"+49",name:"Germany"},{code:"+233",name:"Ghana"},{code:"+350",name:"Gibraltar"},{code:"+30",name:"Greece"},{code:"+299",name:"Greenland"},{code:"+1 473",name:"Grenada"},{code:"+590",name:"Guadeloupe"},{code:"+1 671",name:"Guam"},{code:"+502",name:"Guatemala"},{code:"+224",name:"Guinea"},{code:"+245",name:"Guinea-Bissau"},{code:"+595",name:"Guyana"},{code:"+509",name:"Haiti"},{code:"+504",name:"Honduras"},{code:"+852",name:"Hong Kong SAR China"},{code:"+36",name:"Hungary"},{code:"+354",name:"Iceland"},{code:"+91",name:"India"},{code:"+62",name:"Indonesia"},{code:"+98",name:"Iran"},{code:"+964",name:"Iraq"},{code:"+353",name:"Ireland"},{code:"+972",name:"Israel"},{code:"+39",name:"Italy"},{code:"+225",name:"Ivory Coast"},{code:"+1 876",name:"Jamaica"},{code:"+81",name:"Japan"},{code:"+962",name:"Jordan"},{code:"+7",name:"Kazakhstan"},{code:"+254",name:"Kenya"},{code:"+686",name:"Kiribati"},{code:"+965",name:"Kuwait"},{code:"+996",name:"Kyrgyzstan"},{code:"+856",name:"Laos"},{code:"+371",name:"Latvia"},{code:"+961",name:"Lebanon"},{code:"+266",name:"Lesotho"},{code:"+231",name:"Liberia"},{code:"+218",name:"Libya"},{code:"+423",name:"Liechtenstein"},{code:"+370",name:"Lithuania"},{code:"+352",name:"Luxembourg"},{code:"+853",name:"Macau SAR China"},{code:"+389",name:"Macedonia"},{code:"+261",name:"Madagascar"},{code:"+265",name:"Malawi"},{code:"+60",name:"Malaysia"},{code:"+960",name:"Maldives"},{code:"+223",name:"Mali"},{code:"+356",name:"Malta"},{code:"+692",name:"Marshall Islands"},{code:"+596",name:"Martinique"},{code:"+222",name:"Mauritania"},{code:"+230",name:"Mauritius"},{code:"+262",name:"Mayotte"},{code:"+52",name:"Mexico"},{code:"+691",name:"Micronesia"},{code:"+1 808",name:"Midway Island"},{code:"+373",name:"Moldova"},{code:"+377",name:"Monaco"},{code:"+976",name:"Mongolia"},{code:"+382",name:"Montenegro"},{code:"+1664",name:"Montserrat"},{code:"+212",name:"Morocco"},{code:"+95",name:"Myanmar"},{code:"+264",name:"Namibia"},{code:"+674",name:"Nauru"},{code:"+977",name:"Nepal"},{code:"+31",name:"Netherlands"},{code:"+599",name:"Netherlands Antilles"},{code:"+1 869",name:"Nevis"},{code:"+687",name:"New Caledonia"},{code:"+64",name:"New Zealand"},{code:"+505",name:"Nicaragua"},{code:"+227",name:"Niger"},{code:"+234",name:"Nigeria"},{code:"+683",name:"Niue"},{code:"+672",name:"Norfolk Island"},{code:"+850",name:"North Korea"},{code:"+1 670",name:"Northern Mariana Islands"},{code:"+47",name:"Norway"},{code:"+968",name:"Oman"},{code:"+92",name:"Pakistan"},{code:"+680",name:"Palau"},{code:"+970",name:"Palestinian Territory"},{code:"+507",name:"Panama"},{code:"+675",name:"Papua New Guinea"},{code:"+595",name:"Paraguay"},{code:"+51",name:"Peru"},{code:"+63",name:"Philippines"},{code:"+48",name:"Poland"},{code:"+351",name:"Portugal"},{code:"+1 787",name:"Puerto Rico"},{code:"+974",name:"Qatar"},{code:"+262",name:"Reunion"},{code:"+40",name:"Romania"},{code:"+7",name:"Russia"},{code:"+250",name:"Rwanda"},{code:"+685",name:"Samoa"},{code:"+378",name:"San Marino"},{code:"+966",name:"Saudi Arabia"},{code:"+221",name:"Senegal"},{code:"+381",name:"Serbia"},{code:"+248",name:"Seychelles"},{code:"+232",name:"Sierra Leone"},{code:"+65",name:"Singapore"},{code:"+421",name:"Slovakia"},{code:"+386",name:"Slovenia"},{code:"+677",name:"Solomon Islands"},{code:"+27",name:"South Africa"},{code:"+500",name:"South Georgia and the South Sandwich Islands"},{code:"+82",name:"South Korea"},{code:"+34",name:"Spain"},{code:"+94",name:"Sri Lanka"},{code:"+249",name:"Sudan"},{code:"+597",name:"Suriname"},{code:"+268",name:"Swaziland"},{code:"+46",name:"Sweden"},{code:"+41",name:"Switzerland"},{code:"+963",name:"Syria"},{code:"+886",name:"Taiwan"},{code:"+992",name:"Tajikistan"},{code:"+255",name:"Tanzania"},{code:"+66",name:"Thailand"},{code:"+670",name:"Timor Leste"},{code:"+228",name:"Togo"},{code:"+690",name:"Tokelau"},{code:"+676",name:"Tonga"},{code:"+1 868",name:"Trinidad and Tobago"},{code:"+216",name:"Tunisia"},{code:"+90",name:"Turkey"},{code:"+993",name:"Turkmenistan"},{code:"+1 649",name:"Turks and Caicos Islands"},{code:"+688",name:"Tuvalu"},{code:"+1 340",name:"U.S. Virgin Islands"},{code:"+256",name:"Uganda"},{code:"+380",name:"Ukraine"},{code:"+971",name:"United Arab Emirates"},{code:"+44",name:"United Kingdom"},{code:"+1",name:"United States"},{code:"+598",name:"Uruguay"},{code:"+998",name:"Uzbekistan"},{code:"+678",name:"Vanuatu"},{code:"+58",name:"Venezuela"},{code:"+84",name:"Vietnam"},{code:"+1 808",name:"Wake Island"},{code:"+681",name:"Wallis and Futuna"},{code:"+967",name:"Yemen"},{code:"+260",name:"Zambia"},{code:"+255",name:"Zanzibar"},{code:"+263",name:"Zimbabwe"}]},function(e,t){e.exports=[{emoji:"angry",shortcuts:[">:(",">:-(",">=(",">=-("]},{emoji:"blush",shortcuts:[':")',':-")','=")','=-")']},{emoji:"broken_heart",shortcuts:["</3","<\\3"]},{emoji:"confused",shortcuts:[":-\\",":-/","=-\\","=-/"]},{emoji:"cry",shortcuts:[":'(",":'-(",":,(",":,-(","='(","='-(","=,(","=,-("]},{emoji:"frowning",shortcuts:[":(",":-(","=(","=-("]},{emoji:"heart",shortcuts:["<3","♡"]},{emoji:"imp",shortcuts:["]:(","]:-(","]=(","]=-("]},{emoji:"innocent",shortcuts:["o:)","O:)","o:-)","O:-)","0:)","0:-)","o=)","O=)","o=-)","O=-)","0=)","0=-)"]},{emoji:"joy",shortcuts:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D","=')","='-)","=,)","=,-)","='D","='-D","=,D","=,-D"]},{emoji:"kissing",shortcuts:[":*",":-*","=*","=-*"]},{emoji:"laughing",shortcuts:["x-)","X-)"]},{emoji:"neutral_face",shortcuts:[":|",":-|","=|","=-|"]},{emoji:"open_mouth",shortcuts:[":o",":-o",":O",":-O","=o","=-o","=O","=-O"]},{emoji:"rage",shortcuts:[":@",":-@","=@","=-@"]},{emoji:"smile",shortcuts:[":D",":-D","=D","=-D"]},{emoji:"smiley",shortcuts:[":)",":-)","=)","=-)"]},{emoji:"smiling_imp",shortcuts:["]:)","]:-)","]=)","]=-)"]},{emoji:"sob",shortcuts:[":,'(",":,'-(",";(",";-(","=,'(","=,'-("]},{emoji:"stuck_out_tongue",shortcuts:[":P",":-P","=P","=-P"]},{emoji:"sunglasses",shortcuts:["8-)","B-)"]},{emoji:"sweat",shortcuts:[",:(",",:-(",",=(",",=-("]},{emoji:"sweat_smile",shortcuts:[",:)",",:-)",",=)",",=-)"]},{emoji:"unamused",shortcuts:[":s",":-S",":z",":-Z",":$",":-$","=s","=-S","=z","=-Z","=$","=-$"]},{emoji:"wink",shortcuts:[";)",";-)"]}]},function(e,t){e.exports={people:[{names:["grinning"],surrogates:"😀"},{names:["grimacing"],surrogates:"😬"},{names:["grin"],surrogates:"😁"},{names:["joy"],surrogates:"😂"},{names:["smiley"],surrogates:"😃"},{names:["smile"],surrogates:"😄"},{names:["sweat_smile"],surrogates:"😅"},{names:["laughing","satisfied"],surrogates:"😆"},{names:["innocent"],surrogates:"😇"},{names:["wink"],surrogates:"😉"},{names:["blush"],surrogates:"😊"},{names:["slight_smile","slightly_smiling_face"],surrogates:"🙂"},{names:["upside_down","upside_down_face"],surrogates:"🙃"},{names:["relaxed"],surrogates:"☺"},{names:["yum"],surrogates:"😋"},{names:["relieved"],surrogates:"😌"},{names:["heart_eyes"],surrogates:"😍"},{names:["kissing_heart"],surrogates:"😘"},{names:["kissing"],surrogates:"😗"},{names:["kissing_smiling_eyes"],surrogates:"😙"},{names:["kissing_closed_eyes"],surrogates:"😚"},{names:["stuck_out_tongue_winking_eye"],surrogates:"😜"},{names:["stuck_out_tongue_closed_eyes"],surrogates:"😝"},{names:["stuck_out_tongue"],surrogates:"😛"},{names:["money_mouth","money_mouth_face"],surrogates:"🤑"},{names:["nerd","nerd_face"],surrogates:"🤓"},{names:["sunglasses"],surrogates:"😎"},{names:["hugging","hugging_face"],surrogates:"🤗"},{names:["smirk"],surrogates:"😏"},{names:["no_mouth"],surrogates:"😶"},{names:["neutral_face"],surrogates:"😐"},{names:["expressionless"],surrogates:"😑"},{names:["unamused"],surrogates:"😒"},{names:["rolling_eyes","face_with_rolling_eyes"],surrogates:"🙄"},{names:["thinking","thinking_face"],surrogates:"🤔"},{names:["flushed"],surrogates:"😳"},{names:["disappointed"],surrogates:"😞"},{names:["worried"],surrogates:"😟"},{names:["angry"],surrogates:"😠"},{names:["rage"],surrogates:"😡"},{names:["pensive"],surrogates:"😔"},{names:["confused"],surrogates:"😕"},{names:["slight_frown","slightly_frowning_face"],surrogates:"🙁"},{names:["frowning2","white_frowning_face"],surrogates:"☹"},{names:["persevere"],surrogates:"😣"},{names:["confounded"],surrogates:"😖"},{names:["tired_face"],surrogates:"😫"},{names:["weary"],surrogates:"😩"},{names:["triumph"],surrogates:"😤"},{names:["open_mouth"],surrogates:"😮"},{names:["scream"],surrogates:"😱"},{names:["fearful"],surrogates:"😨"},{names:["cold_sweat"],surrogates:"😰"},{names:["hushed"],surrogates:"😯"},{names:["frowning"],surrogates:"😦"},{names:["anguished"],surrogates:"😧"},{names:["cry"],surrogates:"😢"},{names:["disappointed_relieved"],surrogates:"😥"},{names:["sleepy"],surrogates:"😪"},{names:["sweat"],surrogates:"😓"},{names:["sob"],surrogates:"😭"},{names:["dizzy_face"],surrogates:"😵"},{names:["astonished"],surrogates:"😲"},{names:["zipper_mouth","zipper_mouth_face"],surrogates:"🤐"},{names:["mask"],surrogates:"😷"},{names:["thermometer_face","face_with_thermometer"],surrogates:"🤒"},{names:["head_bandage","face_with_head_bandage"],surrogates:"🤕"},{names:["sleeping"],surrogates:"😴"},{names:["zzz"],surrogates:"💤"},{names:["poop","shit","hankey","poo"],surrogates:"💩"},{names:["smiling_imp"],surrogates:"😈"},{names:["imp"],surrogates:"👿"},{names:["japanese_ogre"],surrogates:"👹"},{names:["japanese_goblin"],surrogates:"👺"},{names:["skull","skeleton"],surrogates:"💀"},{names:["ghost"],surrogates:"👻"},{names:["alien"],surrogates:"👽"},{names:["robot","robot_face"],surrogates:"🤖"},{names:["smiley_cat"],surrogates:"😺"},{names:["smile_cat"],surrogates:"😸"},{names:["joy_cat"],surrogates:"😹"},{names:["heart_eyes_cat"],surrogates:"😻"},{names:["smirk_cat"],surrogates:"😼"},{names:["kissing_cat"],surrogates:"😽"},{names:["scream_cat"],surrogates:"🙀"},{names:["crying_cat_face"],surrogates:"😿"},{names:["pouting_cat"],surrogates:"😾"},{names:["raised_hands"],surrogates:"🙌",hasDiversity:!0},{names:["clap"],surrogates:"👏",hasDiversity:!0},{names:["wave"],surrogates:"👋",hasDiversity:!0},{names:["thumbsup","+1","thumbup"],surrogates:"👍",hasDiversity:!0},{names:["thumbsdown","-1","thumbdown"],surrogates:"👎",hasDiversity:!0},{names:["punch"],surrogates:"👊",hasDiversity:!0},{names:["fist"],surrogates:"✊",hasDiversity:!0},{names:["v"],surrogates:"✌",hasDiversity:!0},{names:["ok_hand"],surrogates:"👌",hasDiversity:!0},{names:["raised_hand"],surrogates:"✋",hasDiversity:!0},{names:["open_hands"],surrogates:"👐",hasDiversity:!0},{names:["muscle"],surrogates:"💪",hasDiversity:!0},{names:["pray"],surrogates:"🙏",hasDiversity:!0},{names:["point_up"],surrogates:"☝",hasDiversity:!0},{names:["point_up_2"],surrogates:"👆",hasDiversity:!0},{names:["point_down"],surrogates:"👇",hasDiversity:!0},{names:["point_left"],surrogates:"👈",hasDiversity:!0},{names:["point_right"],surrogates:"👉",hasDiversity:!0},{names:["middle_finger","reversed_hand_with_middle_finger_extended"],surrogates:"🖕",hasDiversity:!0},{names:["hand_splayed","raised_hand_with_fingers_splayed"],surrogates:"🖐",hasDiversity:!0},{names:["metal","sign_of_the_horns"],surrogates:"🤘",hasDiversity:!0},{names:["vulcan","raised_hand_with_part_between_middle_and_ring_fingers"],surrogates:"🖖",hasDiversity:!0},{names:["writing_hand"],surrogates:"✍",hasDiversity:!0},{names:["nail_care"],surrogates:"💅",hasDiversity:!0},{names:["lips"],surrogates:"👄"},{names:["tongue"],surrogates:"👅"},{names:["ear"],surrogates:"👂",hasDiversity:!0},{names:["nose"],surrogates:"👃",hasDiversity:!0},{names:["eye"],surrogates:"👁"},{names:["eyes"],surrogates:"👀"},{names:["bust_in_silhouette"],surrogates:"👤"},{names:["busts_in_silhouette"],surrogates:"👥"},{names:["speaking_head","speaking_head_in_silhouette"],surrogates:"🗣"},{names:["baby"],surrogates:"👶",hasDiversity:!0},{names:["boy"],surrogates:"👦",hasDiversity:!0},{names:["girl"],surrogates:"👧",hasDiversity:!0},{names:["man"],surrogates:"👨",hasDiversity:!0},{names:["woman"],surrogates:"👩",hasDiversity:!0},{names:["person_with_blond_hair"],surrogates:"👱",hasDiversity:!0},{names:["older_man"],surrogates:"👴",hasDiversity:!0},{names:["older_woman","grandma"],surrogates:"👵",hasDiversity:!0},{names:["man_with_gua_pi_mao"],surrogates:"👲",hasDiversity:!0},{names:["man_with_turban"],surrogates:"👳",hasDiversity:!0},{names:["cop"],surrogates:"👮",hasDiversity:!0},{names:["construction_worker"],surrogates:"👷",hasDiversity:!0},{names:["guardsman"],surrogates:"💂",hasDiversity:!0},{names:["spy","sleuth_or_spy"],surrogates:"🕵",hasDiversity:!0},{names:["santa"],surrogates:"🎅",hasDiversity:!0},{names:["angel"],surrogates:"👼",hasDiversity:!0},{names:["princess"],surrogates:"👸",hasDiversity:!0},{names:["bride_with_veil"],surrogates:"👰",hasDiversity:!0},{names:["walking"],surrogates:"🚶",hasDiversity:!0},{names:["runner"],surrogates:"🏃",hasDiversity:!0},{names:["dancer"],surrogates:"💃",hasDiversity:!0},{names:["dancers"],surrogates:"👯"},{names:["couple"],surrogates:"👫"},{names:["two_men_holding_hands"],surrogates:"👬"},{names:["two_women_holding_hands"],surrogates:"👭"},{names:["bow"],surrogates:"🙇",hasDiversity:!0},{names:["information_desk_person"],surrogates:"💁",hasDiversity:!0},{names:["no_good"],surrogates:"🙅",hasDiversity:!0},{names:["ok_woman"],surrogates:"🙆",hasDiversity:!0},{names:["raising_hand"],surrogates:"🙋",hasDiversity:!0},{names:["person_with_pouting_face"],surrogates:"🙎",hasDiversity:!0},{names:["person_frowning"],surrogates:"🙍",hasDiversity:!0},{names:["haircut"],surrogates:"💇",hasDiversity:!0},{names:["massage"],surrogates:"💆",hasDiversity:!0},{names:["couple_with_heart"],surrogates:"💑"},{names:["couple_ww","couple_with_heart_ww"],surrogates:"👩‍❤️‍👩"},{names:["couple_mm","couple_with_heart_mm"],surrogates:"👨‍❤️‍👨"},{names:["couplekiss"],surrogates:"💏"},{names:["kiss_ww","couplekiss_ww"],surrogates:"👩‍❤️‍💋‍👩"},{names:["kiss_mm","couplekiss_mm"],surrogates:"👨‍❤️‍💋‍👨"},{names:["family"],surrogates:"👪"},{names:["family_mwg"],surrogates:"👨‍👩‍👧"},{names:["family_mwgb"],surrogates:"👨‍👩‍👧‍👦"},{names:["family_mwbb"],surrogates:"👨‍👩‍👦‍👦"},{names:["family_mwgg"],surrogates:"👨‍👩‍👧‍👧"},{names:["family_wwb"],surrogates:"👩‍👩‍👦"},{names:["family_wwg"],surrogates:"👩‍👩‍👧"},{names:["family_wwgb"],surrogates:"👩‍👩‍👧‍👦"},{names:["family_wwbb"],surrogates:"👩‍👩‍👦‍👦"},{names:["family_wwgg"],surrogates:"👩‍👩‍👧‍👧"},{names:["family_mmb"],surrogates:"👨‍👨‍👦"},{names:["family_mmg"],surrogates:"👨‍👨‍👧"},{names:["family_mmgb"],surrogates:"👨‍👨‍👧‍👦"},{names:["family_mmbb"],surrogates:"👨‍👨‍👦‍👦"},{names:["family_mmgg"],surrogates:"👨‍👨‍👧‍👧"},{names:["womans_clothes"],surrogates:"👚"},{names:["shirt"],surrogates:"👕"},{names:["jeans"],surrogates:"👖"},{names:["necktie"],surrogates:"👔"},{names:["dress"],surrogates:"👗"},{names:["bikini"],surrogates:"👙"},{names:["kimono"],surrogates:"👘"},{names:["lipstick"],surrogates:"💄"},{names:["kiss"],surrogates:"💋"},{names:["footprints"],surrogates:"👣"},{names:["high_heel"],surrogates:"👠"},{names:["sandal"],surrogates:"👡"},{names:["boot"],surrogates:"👢"},{names:["mans_shoe"],surrogates:"👞"},{names:["athletic_shoe"],surrogates:"👟"},{names:["womans_hat"],surrogates:"👒"},{names:["tophat"],surrogates:"🎩"},{names:["helmet_with_cross","helmet_with_white_cross"],surrogates:"⛑"},{names:["mortar_board"],surrogates:"🎓"},{names:["crown"],surrogates:"👑"},{names:["school_satchel"],surrogates:"🎒"},{names:["pouch"],surrogates:"👝"},{names:["purse"],surrogates:"👛"},{names:["handbag"],surrogates:"👜"},{names:["briefcase"],surrogates:"💼"},{names:["eyeglasses"],surrogates:"👓"},{names:["dark_sunglasses"],surrogates:"🕶"},{names:["ring"],surrogates:"💍"},{names:["closed_umbrella"],surrogates:"🌂"},{names:["cowboy","face_with_cowboy_hat"],surrogates:"🤠"},{names:["clown","clown_face"],surrogates:"🤡"},{names:["nauseated_face","sick"],surrogates:"🤢"},{names:["rofl","rolling_on_the_floor_laughing"],surrogates:"🤣"},{names:["drooling_face","drool"],surrogates:"🤤"},{names:["lying_face","liar"],surrogates:"🤥"},{names:["sneezing_face","sneeze"],surrogates:"🤧"},{names:["prince"],surrogates:"🤴",hasDiversity:!0},{names:["man_in_tuxedo"],surrogates:"🤵",hasDiversity:!0},{names:["mrs_claus","mother_christmas"],surrogates:"🤶",hasDiversity:!0},{names:["face_palm","facepalm"],surrogates:"🤦",hasDiversity:!0},{names:["shrug"],surrogates:"🤷",hasDiversity:!0},{names:["pregnant_woman","expecting_woman"],surrogates:"🤰",hasDiversity:!0},{names:["selfie"],surrogates:"🤳",hasDiversity:!0},{names:["man_dancing","male_dancer"],surrogates:"🕺",hasDiversity:!0},{names:["call_me","call_me_hand"],surrogates:"🤙",hasDiversity:!0},{names:["raised_back_of_hand","back_of_hand"],surrogates:"🤚",hasDiversity:!0},{names:["left_facing_fist","left_fist"],surrogates:"🤛",hasDiversity:!0},{names:["right_facing_fist","right_fist"],surrogates:"🤜",hasDiversity:!0},{names:["handshake","shaking_hands"],surrogates:"🤝"},{names:["fingers_crossed","hand_with_index_and_middle_finger_crossed"],surrogates:"🤞",hasDiversity:!0}],nature:[{names:["dog"],surrogates:"🐶"},{names:["cat"],surrogates:"🐱"},{names:["mouse"],surrogates:"🐭"},{names:["hamster"],surrogates:"🐹"},{names:["rabbit"],surrogates:"🐰"},{names:["bear"],surrogates:"🐻"},{names:["panda_face"],surrogates:"🐼"},{names:["koala"],surrogates:"🐨"},{names:["tiger"],surrogates:"🐯"},{names:["lion_face","lion"],surrogates:"🦁"},{names:["cow"],surrogates:"🐮"},{names:["pig"],surrogates:"🐷"},{names:["pig_nose"],surrogates:"🐽"},{names:["frog"],surrogates:"🐸"},{names:["octopus"],surrogates:"🐙"},{names:["monkey_face"],surrogates:"🐵"},{names:["see_no_evil"],surrogates:"🙈"},{names:["hear_no_evil"],surrogates:"🙉"},{names:["speak_no_evil"],surrogates:"🙊"},{names:["monkey"],surrogates:"🐒"},{names:["chicken"],surrogates:"🐔"},{names:["penguin"],surrogates:"🐧"},{names:["bird"],surrogates:"🐦"},{names:["baby_chick"],surrogates:"🐤"},{names:["hatching_chick"],surrogates:"🐣"},{names:["hatched_chick"],surrogates:"🐥"},{names:["wolf"],surrogates:"🐺"},{names:["boar"],surrogates:"🐗"},{names:["horse"],surrogates:"🐴"},{names:["unicorn","unicorn_face"],surrogates:"🦄"},{names:["bee"],surrogates:"🐝"},{names:["bug"],surrogates:"🐛"},{names:["snail"],surrogates:"🐌"},{names:["beetle"],surrogates:"🐞"},{names:["ant"],surrogates:"🐜"},{names:["spider"],surrogates:"🕷"},{names:["scorpion"],surrogates:"🦂"},{names:["crab"],surrogates:"🦀"},{names:["snake"],surrogates:"🐍"},{names:["turtle"],surrogates:"🐢"},{names:["tropical_fish"],surrogates:"🐠"},{names:["fish"],surrogates:"🐟"},{names:["blowfish"],surrogates:"🐡"},{names:["dolphin"],surrogates:"🐬"},{names:["whale"],surrogates:"🐳"},{names:["whale2"],surrogates:"🐋"},{names:["crocodile"],surrogates:"🐊"},{names:["leopard"],surrogates:"🐆"},{names:["tiger2"],surrogates:"🐅"},{names:["water_buffalo"],surrogates:"🐃"},{names:["ox"],surrogates:"🐂"},{names:["cow2"],surrogates:"🐄"},{names:["dromedary_camel"],surrogates:"🐪"},{names:["camel"],surrogates:"🐫"},{names:["elephant"],surrogates:"🐘"},{names:["goat"],surrogates:"🐐"},{names:["ram"],surrogates:"🐏"},{names:["sheep"],surrogates:"🐑"},{names:["racehorse"],surrogates:"🐎"},{names:["pig2"],surrogates:"🐖"},{names:["rat"],surrogates:"🐀"},{names:["mouse2"],surrogates:"🐁"},{names:["rooster"],surrogates:"🐓"},{names:["turkey"],surrogates:"🦃"},{names:["dove","dove_of_peace"],surrogates:"🕊"},{names:["dog2"],surrogates:"🐕"},{names:["poodle"],surrogates:"🐩"},{names:["cat2"],surrogates:"🐈"},{names:["rabbit2"],surrogates:"🐇"},{names:["chipmunk"],surrogates:"🐿"},{names:["feet","paw_prints"],surrogates:"🐾"},{names:["dragon"],surrogates:"🐉"},{names:["dragon_face"],surrogates:"🐲"},{names:["cactus"],surrogates:"🌵"},{names:["christmas_tree"],surrogates:"🎄"},{names:["evergreen_tree"],surrogates:"🌲"},{names:["deciduous_tree"],surrogates:"🌳"},{names:["palm_tree"],surrogates:"🌴"},{names:["seedling"],surrogates:"🌱"},{names:["herb"],surrogates:"🌿"},{names:["shamrock"],surrogates:"☘"},{names:["four_leaf_clover"],surrogates:"🍀"},{names:["bamboo"],surrogates:"🎍"},{names:["tanabata_tree"],surrogates:"🎋"},{names:["leaves"],surrogates:"🍃"},{names:["fallen_leaf"],surrogates:"🍂"},{names:["maple_leaf"],surrogates:"🍁"},{names:["ear_of_rice"],surrogates:"🌾"},{names:["hibiscus"],surrogates:"🌺"},{names:["sunflower"],surrogates:"🌻"},{names:["rose"],surrogates:"🌹"},{names:["tulip"],surrogates:"🌷"},{names:["blossom"],surrogates:"🌼"},{names:["cherry_blossom"],surrogates:"🌸"},{names:["bouquet"],surrogates:"💐"},{names:["mushroom"],surrogates:"🍄"},{names:["chestnut"],surrogates:"🌰"},{names:["jack_o_lantern"],surrogates:"🎃"},{names:["shell"],surrogates:"🐚"},{names:["spider_web"],surrogates:"🕸"},{names:["earth_americas"],surrogates:"🌎"},{names:["earth_africa"],surrogates:"🌍"},{names:["earth_asia"],surrogates:"🌏"},{names:["full_moon"],surrogates:"🌕"},{names:["waning_gibbous_moon"],surrogates:"🌖"},{names:["last_quarter_moon"],surrogates:"🌗"},{names:["waning_crescent_moon"],surrogates:"🌘"},{names:["new_moon"],surrogates:"🌑"},{names:["waxing_crescent_moon"],surrogates:"🌒"},{names:["first_quarter_moon"],surrogates:"🌓"},{names:["waxing_gibbous_moon"],surrogates:"🌔"},{names:["new_moon_with_face"],surrogates:"🌚"},{names:["full_moon_with_face"],surrogates:"🌝"},{names:["first_quarter_moon_with_face"],surrogates:"🌛"},{names:["last_quarter_moon_with_face"],surrogates:"🌜"},{names:["sun_with_face"],surrogates:"🌞"},{names:["crescent_moon"],surrogates:"🌙"},{names:["star"],surrogates:"⭐"},{names:["star2"],surrogates:"🌟"},{names:["dizzy"],surrogates:"💫"},{names:["sparkles"],surrogates:"✨"},{names:["comet"],surrogates:"☄"},{names:["sunny"],surrogates:"☀"},{names:["white_sun_small_cloud","white_sun_with_small_cloud"],surrogates:"🌤"},{names:["partly_sunny"],surrogates:"⛅"},{names:["white_sun_cloud","white_sun_behind_cloud"],surrogates:"🌥"},{names:["white_sun_rain_cloud","white_sun_behind_cloud_with_rain"],surrogates:"🌦"},{names:["cloud"],surrogates:"☁"},{names:["cloud_rain","cloud_with_rain"],surrogates:"🌧"},{names:["thunder_cloud_rain","thunder_cloud_and_rain"],surrogates:"⛈"},{names:["cloud_lightning","cloud_with_lightning"],surrogates:"🌩"},{names:["zap"],surrogates:"⚡"},{names:["fire","flame"],surrogates:"🔥"},{names:["boom"],surrogates:"💥"},{names:["snowflake"],surrogates:"❄"},{names:["cloud_snow","cloud_with_snow"],surrogates:"🌨"},{names:["snowman2"],surrogates:"☃"},{names:["snowman"],surrogates:"⛄"},{names:["wind_blowing_face"],surrogates:"🌬"},{names:["dash"],surrogates:"💨"},{names:["cloud_tornado","cloud_with_tornado"],surrogates:"🌪"},{names:["fog"],surrogates:"🌫"},{names:["umbrella2"],surrogates:"☂"},{names:["umbrella"],surrogates:"☔"},{names:["droplet"],surrogates:"💧"},{names:["sweat_drops"],surrogates:"💦"},{names:["ocean"],surrogates:"🌊"},{names:["eagle"],surrogates:"🦅"},{names:["duck"],surrogates:"🦆"},{names:["bat"],surrogates:"🦇"},{names:["shark"],surrogates:"🦈"},{names:["owl"],surrogates:"🦉"},{names:["fox","fox_face"],surrogates:"🦊"},{names:["butterfly"],surrogates:"🦋"},{names:["deer"],surrogates:"🦌"},{names:["gorilla"],surrogates:"🦍"},{names:["lizard"],surrogates:"🦎"},{names:["rhino","rhinoceros"],surrogates:"🦏"},{names:["wilted_rose","wilted_flower"],surrogates:"🥀"},{names:["shrimp"],surrogates:"🦐"},{names:["squid"],surrogates:"🦑"}],food:[{names:["green_apple"],surrogates:"🍏"},{names:["apple"],surrogates:"🍎"},{names:["pear"],surrogates:"🍐"},{names:["tangerine"],surrogates:"🍊"},{names:["lemon"],surrogates:"🍋"},{names:["banana"],surrogates:"🍌"},{names:["watermelon"],surrogates:"🍉"},{names:["grapes"],surrogates:"🍇"},{names:["strawberry"],surrogates:"🍓"},{names:["melon"],surrogates:"🍈"},{names:["cherries"],surrogates:"🍒"},{names:["peach"],surrogates:"🍑"},{names:["pineapple"],surrogates:"🍍"},{names:["tomato"],surrogates:"🍅"},{names:["eggplant"],surrogates:"🍆"},{names:["hot_pepper"],surrogates:"🌶"},{names:["corn"],surrogates:"🌽"},{names:["sweet_potato"],surrogates:"🍠"},{names:["honey_pot"],surrogates:"🍯"},{names:["bread"],surrogates:"🍞"},{names:["cheese","cheese_wedge"],surrogates:"🧀"},{names:["poultry_leg"],surrogates:"🍗"},{names:["meat_on_bone"],surrogates:"🍖"},{names:["fried_shrimp"],surrogates:"🍤"},{names:["cooking"],surrogates:"🍳"},{names:["hamburger"],surrogates:"🍔"},{names:["fries"],surrogates:"🍟"},{names:["hotdog","hot_dog"],surrogates:"🌭"},{names:["pizza"],surrogates:"🍕"},{names:["spaghetti"],surrogates:"🍝"},{names:["taco"],surrogates:"🌮"},{names:["burrito"],surrogates:"🌯"},{names:["ramen"],surrogates:"🍜"},{names:["stew"],surrogates:"🍲"},{names:["fish_cake"],surrogates:"🍥"},{names:["sushi"],surrogates:"🍣"},{names:["bento"],surrogates:"🍱"},{names:["curry"],surrogates:"🍛"},{names:["rice_ball"],surrogates:"🍙"},{names:["rice"],surrogates:"🍚"},{names:["rice_cracker"],surrogates:"🍘"},{names:["oden"],surrogates:"🍢"},{names:["dango"],surrogates:"🍡"},{names:["shaved_ice"],surrogates:"🍧"},{names:["ice_cream"],surrogates:"🍨"},{names:["icecream"],surrogates:"🍦"},{names:["cake"],surrogates:"🍰"},{names:["birthday"],surrogates:"🎂"},{names:["custard","pudding","flan"],surrogates:"🍮"},{names:["candy"],surrogates:"🍬"},{names:["lollipop"],surrogates:"🍭"},{names:["chocolate_bar"],surrogates:"🍫"},{names:["popcorn"],surrogates:"🍿"},{names:["doughnut"],surrogates:"🍩"},{names:["cookie"],surrogates:"🍪"},{names:["beer"],surrogates:"🍺"},{names:["beers"],surrogates:"🍻"},{names:["wine_glass"],surrogates:"🍷"},{names:["cocktail"],surrogates:"🍸"},{names:["tropical_drink"],surrogates:"🍹"},{names:["champagne","bottle_with_popping_cork"],surrogates:"🍾"},{names:["sake"],surrogates:"🍶"},{names:["tea"],surrogates:"🍵"},{names:["coffee"],surrogates:"☕"},{names:["baby_bottle"],surrogates:"🍼"},{names:["fork_and_knife"],surrogates:"🍴"},{names:["fork_knife_plate","fork_and_knife_with_plate"],surrogates:"🍽"},{names:["croissant"],surrogates:"🥐"},{names:["avocado"],surrogates:"🥑"},{names:["cucumber"],surrogates:"🥒"},{names:["bacon"],surrogates:"🥓"},{names:["potato"],surrogates:"🥔"},{names:["carrot"],surrogates:"🥕"},{names:["french_bread","baguette_bread"],surrogates:"🥖"},{names:["salad","green_salad"],surrogates:"🥗"},{names:["shallow_pan_of_food","paella"],surrogates:"🥘"},{names:["stuffed_flatbread","stuffed_pita"],surrogates:"🥙"},{names:["champagne_glass","clinking_glass"],surrogates:"🥂"},{names:["tumbler_glass","whisky"],surrogates:"🥃"},{names:["spoon"],surrogates:"🥄"},{names:["egg"],surrogates:"🥚"},{names:["milk","glass_of_milk"],surrogates:"🥛"},{names:["peanuts","shelled_peanut"],surrogates:"🥜"},{names:["kiwi","kiwifruit"],surrogates:"🥝"},{names:["pancakes"],surrogates:"🥞"}],activity:[{names:["soccer"],surrogates:"⚽"},{names:["basketball"],surrogates:"🏀"},{names:["football"],surrogates:"🏈"},{names:["baseball"],surrogates:"⚾"},{names:["tennis"],surrogates:"🎾"},{names:["volleyball"],surrogates:"🏐"},{names:["rugby_football"],surrogates:"🏉"},{names:["8ball"],surrogates:"🎱"},{names:["golf"],surrogates:"⛳"},{names:["golfer"],surrogates:"🏌",hasDiversity:!0},{names:["ping_pong","table_tennis"],surrogates:"🏓"},{names:["badminton"],surrogates:"🏸"},{names:["hockey"],surrogates:"🏒"},{names:["field_hockey"],surrogates:"🏑"},{names:["cricket","cricket_bat_ball"],surrogates:"🏏"},{names:["ski"],surrogates:"🎿"},{names:["skier"],surrogates:"⛷",hasDiversity:!0},{names:["snowboarder"],surrogates:"🏂",hasDiversity:!0},{names:["ice_skate"],surrogates:"⛸"},{names:["bow_and_arrow","archery"],surrogates:"🏹"},{names:["fishing_pole_and_fish"],surrogates:"🎣"},{names:["rowboat"],surrogates:"🚣",hasDiversity:!0},{names:["swimmer"],surrogates:"🏊",hasDiversity:!0},{names:["surfer"],surrogates:"🏄",hasDiversity:!0},{names:["bath"],surrogates:"🛀",hasDiversity:!0},{names:["basketball_player","person_with_ball"],surrogates:"⛹",hasDiversity:!0},{names:["lifter","weight_lifter"],surrogates:"🏋",hasDiversity:!0},{names:["bicyclist"],surrogates:"🚴",hasDiversity:!0},{names:["mountain_bicyclist"],surrogates:"🚵",hasDiversity:!0},{names:["horse_racing"],surrogates:"🏇",hasDiversity:!0},{names:["levitate","man_in_business_suit_levitating"],surrogates:"🕴",hasDiversity:!0},{names:["trophy"],surrogates:"🏆"},{names:["running_shirt_with_sash"],surrogates:"🎽"},{names:["medal","sports_medal"],surrogates:"🏅"},{names:["military_medal"],surrogates:"🎖"},{names:["reminder_ribbon"],surrogates:"🎗"},{names:["rosette"],surrogates:"🏵"},{names:["ticket"],surrogates:"🎫"},{names:["tickets","admission_tickets"],surrogates:"🎟"},{names:["performing_arts"],surrogates:"🎭"},{names:["art"],surrogates:"🎨"},{names:["circus_tent"],surrogates:"🎪"},{names:["microphone"],surrogates:"🎤"},{names:["headphones"],surrogates:"🎧"},{names:["musical_score"],surrogates:"🎼"},{names:["musical_keyboard"],surrogates:"🎹"},{names:["saxophone"],surrogates:"🎷"},{names:["trumpet"],surrogates:"🎺"},{names:["guitar"],surrogates:"🎸"},{names:["violin"],surrogates:"🎻"},{names:["clapper"],surrogates:"🎬"},{names:["video_game"],surrogates:"🎮"},{names:["space_invader"],surrogates:"👾"},{names:["dart"],surrogates:"🎯"},{names:["game_die"],surrogates:"🎲"},{names:["slot_machine"],surrogates:"🎰"},{names:["bowling"],surrogates:"🎳"},{names:["cartwheel","person_doing_cartwheel"],surrogates:"🤸",hasDiversity:!0},{names:["juggling","juggler"],surrogates:"🤹",hasDiversity:!0},{names:["wrestlers","wrestling"],surrogates:"🤼"},{names:["boxing_glove","boxing_gloves"],surrogates:"🥊"},{names:["martial_arts_uniform","karate_uniform"],surrogates:"🥋"},{names:["water_polo"],surrogates:"🤽",hasDiversity:!0},{names:["handball"],surrogates:"🤾",hasDiversity:!0},{names:["goal","goal_net"],surrogates:"🥅"},{names:["fencer","fencing"],surrogates:"🤺"},{names:["first_place","first_place_medal"],surrogates:"🥇"},{names:["second_place","second_place_medal"],surrogates:"🥈"},{names:["third_place","third_place_medal"],surrogates:"🥉"},{names:["drum","drum_with_drumsticks"],surrogates:"🥁"}],travel:[{names:["red_car"],surrogates:"🚗"},{names:["taxi"],surrogates:"🚕"},{names:["blue_car"],surrogates:"🚙"},{names:["bus"],surrogates:"🚌"},{names:["trolleybus"],surrogates:"🚎"},{names:["race_car","racing_car"],surrogates:"🏎"},{names:["police_car"],surrogates:"🚓"},{names:["ambulance"],surrogates:"🚑"},{names:["fire_engine"],surrogates:"🚒"},{names:["minibus"],surrogates:"🚐"},{names:["truck"],surrogates:"🚚"},{names:["articulated_lorry"],surrogates:"🚛"},{names:["tractor"],surrogates:"🚜"},{names:["motorcycle","racing_motorcycle"],surrogates:"🏍"},{names:["bike"],surrogates:"🚲"},{names:["rotating_light"],surrogates:"🚨"},{names:["oncoming_police_car"],surrogates:"🚔"},{names:["oncoming_bus"],surrogates:"🚍"},{names:["oncoming_automobile"],surrogates:"🚘"},{names:["oncoming_taxi"],surrogates:"🚖"},{names:["aerial_tramway"],surrogates:"🚡"},{names:["mountain_cableway"],surrogates:"🚠"},{names:["suspension_railway"],surrogates:"🚟"},{names:["railway_car"],surrogates:"🚃"},{names:["train"],surrogates:"🚋"},{names:["monorail"],surrogates:"🚝"},{names:["bullettrain_side"],surrogates:"🚄"},{names:["bullettrain_front"],surrogates:"🚅"},{names:["light_rail"],surrogates:"🚈"},{names:["mountain_railway"],surrogates:"🚞"},{names:["steam_locomotive"],surrogates:"🚂"},{names:["train2"],surrogates:"🚆"},{names:["metro"],surrogates:"🚇"},{names:["tram"],surrogates:"🚊"},{names:["station"],surrogates:"🚉"},{names:["helicopter"],surrogates:"🚁"},{names:["airplane_small","small_airplane"],surrogates:"🛩"},{names:["airplane"],surrogates:"✈"},{names:["airplane_departure"],surrogates:"🛫"},{names:["airplane_arriving"],surrogates:"🛬"},{names:["sailboat"],surrogates:"⛵"},{names:["motorboat"],surrogates:"🛥"},{names:["speedboat"],surrogates:"🚤"},{names:["ferry"],surrogates:"⛴"},{names:["cruise_ship","passenger_ship"],surrogates:"🛳"},{names:["rocket"],surrogates:"🚀"},{names:["satellite_orbital"],surrogates:"🛰"},{names:["seat"],surrogates:"💺"},{names:["anchor"],surrogates:"⚓"},{names:["construction"],surrogates:"🚧"},{names:["fuelpump"],surrogates:"⛽"},{names:["busstop"],surrogates:"🚏"},{names:["vertical_traffic_light"],surrogates:"🚦"},{names:["traffic_light"],surrogates:"🚥"},{names:["checkered_flag"],surrogates:"🏁"},{names:["ship"],surrogates:"🚢"},{names:["ferris_wheel"],surrogates:"🎡"},{names:["roller_coaster"],surrogates:"🎢"},{names:["carousel_horse"],surrogates:"🎠"},{names:["construction_site","building_construction"],surrogates:"🏗"},{names:["foggy"],surrogates:"🌁"},{names:["tokyo_tower"],surrogates:"🗼"},{names:["factory"],surrogates:"🏭"},{names:["fountain"],surrogates:"⛲"},{names:["rice_scene"],surrogates:"🎑"},{names:["mountain"],surrogates:"⛰"},{names:["mountain_snow","snow_capped_mountain"],surrogates:"🏔"},{names:["mount_fuji"],surrogates:"🗻"},{names:["volcano"],surrogates:"🌋"},{names:["japan"],surrogates:"🗾"},{names:["camping"],surrogates:"🏕"},{names:["tent"],surrogates:"⛺"},{names:["park","national_park"],surrogates:"🏞"},{names:["motorway"],surrogates:"🛣"},{names:["railway_track","railroad_track"],surrogates:"🛤"},{names:["sunrise"],surrogates:"🌅"},{names:["sunrise_over_mountains"],surrogates:"🌄"},{names:["desert"],surrogates:"🏜"},{names:["beach","beach_with_umbrella"],surrogates:"🏖"},{names:["island","desert_island"],surrogates:"🏝"},{names:["city_sunset","city_sunrise"],surrogates:"🌇"},{names:["city_dusk"],surrogates:"🌆"},{names:["cityscape"],surrogates:"🏙"},{names:["night_with_stars"],surrogates:"🌃"},{names:["bridge_at_night"],surrogates:"🌉"},{names:["milky_way"],surrogates:"🌌"},{names:["stars"],surrogates:"🌠"},{names:["sparkler"],surrogates:"🎇"},{names:["fireworks"],surrogates:"🎆"},{names:["rainbow"],surrogates:"🌈"},{names:["homes","house_buildings"],surrogates:"🏘"},{names:["european_castle"],surrogates:"🏰"},{names:["japanese_castle"],surrogates:"🏯"},{names:["stadium"],surrogates:"🏟"},{names:["statue_of_liberty"],surrogates:"🗽"},{names:["house"],surrogates:"🏠"},{names:["house_with_garden"],surrogates:"🏡"},{names:["house_abandoned","derelict_house_building"],surrogates:"🏚"},{names:["office"],surrogates:"🏢"},{names:["department_store"],surrogates:"🏬"},{names:["post_office"],surrogates:"🏣"},{names:["european_post_office"],surrogates:"🏤"},{names:["hospital"],surrogates:"🏥"},{names:["bank"],surrogates:"🏦"},{names:["hotel"],surrogates:"🏨"},{names:["convenience_store"],surrogates:"🏪"},{names:["school"],surrogates:"🏫"},{names:["love_hotel"],surrogates:"🏩"},{names:["wedding"],surrogates:"💒"},{names:["classical_building"],surrogates:"🏛"},{names:["church"],surrogates:"⛪"},{names:["mosque"],surrogates:"🕌"},{names:["synagogue"],surrogates:"🕍"},{names:["kaaba"],surrogates:"🕋"},{names:["shinto_shrine"],surrogates:"⛩"},{names:["scooter"],surrogates:"🛴"},{names:["motor_scooter","motorbike"],surrogates:"🛵"},{names:["canoe","kayak"],surrogates:"🛶"}],objects:[{names:["watch"],surrogates:"⌚"},{names:["iphone"],surrogates:"📱"},{names:["calling"],surrogates:"📲"},{names:["computer"],surrogates:"💻"},{names:["keyboard"],surrogates:"⌨"},{names:["desktop","desktop_computer"],surrogates:"🖥"},{names:["printer"],surrogates:"🖨"},{names:["mouse_three_button","three_button_mouse"],surrogates:"🖱"},{names:["trackball"],surrogates:"🖲"},{names:["joystick"],surrogates:"🕹"},{names:["compression"],surrogates:"🗜"},{names:["minidisc"],surrogates:"💽"},{names:["floppy_disk"],surrogates:"💾"},{names:["cd"],surrogates:"💿"},{names:["dvd"],surrogates:"📀"},{names:["vhs"],surrogates:"📼"},{names:["camera"],surrogates:"📷"},{names:["camera_with_flash"],surrogates:"📸"},{names:["video_camera"],surrogates:"📹"},{names:["movie_camera"],surrogates:"🎥"},{names:["projector","film_projector"],surrogates:"📽"},{names:["film_frames"],surrogates:"🎞"},{names:["telephone_receiver"],surrogates:"📞"},{names:["telephone"],surrogates:"☎"},{names:["pager"],surrogates:"📟"},{names:["fax"],surrogates:"📠"},{names:["tv"],surrogates:"📺"},{names:["radio"],surrogates:"📻"},{names:["microphone2","studio_microphone"],surrogates:"🎙"},{names:["level_slider"],surrogates:"🎚"},{names:["control_knobs"],surrogates:"🎛"},{names:["stopwatch"],surrogates:"⏱"},{names:["timer","timer_clock"],surrogates:"⏲"},{names:["alarm_clock"],surrogates:"⏰"},{names:["clock","mantlepiece_clock"],surrogates:"🕰"},{names:["hourglass_flowing_sand"],surrogates:"⏳"},{names:["hourglass"],surrogates:"⌛"},{names:["satellite"],surrogates:"📡"},{names:["battery"],surrogates:"🔋"},{names:["electric_plug"],surrogates:"🔌"},{names:["bulb"],surrogates:"💡"},{names:["flashlight"],surrogates:"🔦"},{names:["candle"],surrogates:"🕯"},{names:["wastebasket"],surrogates:"🗑"},{names:["oil","oil_drum"],surrogates:"🛢"},{names:["money_with_wings"],surrogates:"💸"},{names:["dollar"],surrogates:"💵"},{names:["yen"],surrogates:"💴"},{names:["euro"],surrogates:"💶"},{names:["pound"],surrogates:"💷"},{names:["moneybag"],surrogates:"💰"},{names:["credit_card"],surrogates:"💳"},{names:["gem"],surrogates:"💎"},{names:["scales"],surrogates:"⚖"},{names:["wrench"],surrogates:"🔧"},{names:["hammer"],surrogates:"🔨"},{names:["hammer_pick","hammer_and_pick"],surrogates:"⚒"},{names:["tools","hammer_and_wrench"],surrogates:"🛠"},{names:["pick"],surrogates:"⛏"},{names:["nut_and_bolt"],surrogates:"🔩"},{names:["gear"],surrogates:"⚙"},{names:["chains"],surrogates:"⛓"},{names:["gun"],surrogates:"🔫"},{names:["bomb"],surrogates:"💣"},{names:["knife"],surrogates:"🔪"},{names:["dagger","dagger_knife"],surrogates:"🗡"},{names:["crossed_swords"],surrogates:"⚔"},{names:["shield"],surrogates:"🛡"},{names:["smoking"],surrogates:"🚬"},{names:["skull_crossbones","skull_and_crossbones"],surrogates:"☠"},{names:["coffin"],surrogates:"⚰"},{names:["urn","funeral_urn"],surrogates:"⚱"},{names:["amphora"],surrogates:"🏺"},{names:["crystal_ball"],surrogates:"🔮"},{names:["prayer_beads"],surrogates:"📿"},{names:["barber"],surrogates:"💈"},{names:["alembic"],surrogates:"⚗"},{names:["telescope"],surrogates:"🔭"},{names:["microscope"],surrogates:"🔬"},{names:["hole"],surrogates:"🕳"},{names:["pill"],surrogates:"💊"},{names:["syringe"],surrogates:"💉"},{names:["thermometer"],surrogates:"🌡"},{names:["label"],surrogates:"🏷"},{names:["bookmark"],surrogates:"🔖"},{names:["toilet"],surrogates:"🚽"},{names:["shower"],surrogates:"🚿"},{names:["bathtub"],surrogates:"🛁"},{names:["key"],surrogates:"🔑"},{names:["key2","old_key"],surrogates:"🗝"},{names:["couch","couch_and_lamp"],surrogates:"🛋"},{names:["sleeping_accommodation"],surrogates:"🛌",hasDiversity:!0},{names:["bed"],surrogates:"🛏"},{names:["door"],surrogates:"🚪"},{names:["bellhop","bellhop_bell"],surrogates:"🛎"},{names:["frame_photo","frame_with_picture"],surrogates:"🖼"},{names:["map","world_map"],surrogates:"🗺"},{names:["beach_umbrella","umbrella_on_ground"],surrogates:"⛱"},{names:["moyai"],surrogates:"🗿"},{names:["shopping_bags"],surrogates:"🛍"},{names:["balloon"],surrogates:"🎈"},{names:["flags"],surrogates:"🎏"},{names:["ribbon"],surrogates:"🎀"},{names:["gift"],surrogates:"🎁"},{names:["confetti_ball"],surrogates:"🎊"},{names:["tada"],surrogates:"🎉"},{names:["dolls"],surrogates:"🎎"},{names:["wind_chime"],surrogates:"🎐"},{names:["crossed_flags"],surrogates:"🎌"},{names:["izakaya_lantern"],surrogates:"🏮"},{names:["envelope"],surrogates:"✉"},{names:["envelope_with_arrow"],surrogates:"📩"},{names:["incoming_envelope"],surrogates:"📨"},{names:["e_mail","email"],surrogates:"📧"},{names:["love_letter"],surrogates:"💌"},{names:["postbox"],surrogates:"📮"},{names:["mailbox_closed"],surrogates:"📪"},{names:["mailbox"],surrogates:"📫"},{names:["mailbox_with_mail"],surrogates:"📬"},{names:["mailbox_with_no_mail"],surrogates:"📭"},{names:["package"],surrogates:"📦"},{names:["postal_horn"],surrogates:"📯"},{names:["inbox_tray"],surrogates:"📥"},{names:["outbox_tray"],surrogates:"📤"},{names:["scroll"],surrogates:"📜"},{names:["page_with_curl"],surrogates:"📃"},{names:["bookmark_tabs"],surrogates:"📑"},{names:["bar_chart"],surrogates:"📊"},{names:["chart_with_upwards_trend"],surrogates:"📈"},{names:["chart_with_downwards_trend"],surrogates:"📉"},{names:["page_facing_up"],surrogates:"📄"},{names:["date"],surrogates:"📅"},{names:["calendar"],surrogates:"📆"},{names:["calendar_spiral","spiral_calendar_pad"],surrogates:"🗓"},{names:["card_index"],surrogates:"📇"},{names:["card_box","card_file_box"],surrogates:"🗃"},{names:["ballot_box","ballot_box_with_ballot"],surrogates:"🗳"},{names:["file_cabinet"],surrogates:"🗄"},{names:["clipboard"],surrogates:"📋"},{names:["notepad_spiral","spiral_note_pad"],surrogates:"🗒"},{names:["file_folder"],surrogates:"📁"},{names:["open_file_folder"],surrogates:"📂"},{names:["dividers","card_index_dividers"],surrogates:"🗂"},{names:["newspaper2","rolled_up_newspaper"],surrogates:"🗞"},{names:["newspaper"],surrogates:"📰"},{names:["notebook"],surrogates:"📓"},{names:["closed_book"],surrogates:"📕"},{names:["green_book"],surrogates:"📗"},{names:["blue_book"],surrogates:"📘"},{names:["orange_book"],surrogates:"📙"},{names:["notebook_with_decorative_cover"],surrogates:"📔"},{names:["ledger"],surrogates:"📒"},{names:["books"],surrogates:"📚"},{names:["book"],surrogates:"📖"},{names:["link"],surrogates:"🔗"},{names:["paperclip"],surrogates:"📎"},{names:["paperclips","linked_paperclips"],surrogates:"🖇"},{names:["scissors"],surrogates:"✂"},{names:["triangular_ruler"],surrogates:"📐"},{names:["straight_ruler"],surrogates:"📏"},{names:["pushpin"],surrogates:"📌"},{names:["round_pushpin"],surrogates:"📍"},{names:["triangular_flag_on_post"],surrogates:"🚩"},{names:["flag_white"],surrogates:"🏳"},{names:["flag_black"],surrogates:"🏴"},{names:["closed_lock_with_key"],surrogates:"🔐"},{names:["lock"],surrogates:"🔒"},{names:["unlock"],surrogates:"🔓"},{names:["lock_with_ink_pen"],surrogates:"🔏"},{names:["pen_ballpoint","lower_left_ballpoint_pen"],surrogates:"🖊"},{names:["pen_fountain","lower_left_fountain_pen"],surrogates:"🖋"},{names:["black_nib"],surrogates:"✒"},{names:["pencil"],surrogates:"📝"},{names:["pencil2"],surrogates:"✏"},{names:["crayon","lower_left_crayon"],surrogates:"🖍"},{names:["paintbrush","lower_left_paintbrush"],surrogates:"🖌"},{names:["mag"],surrogates:"🔍"},{names:["mag_right"],surrogates:"🔎"},{names:["shopping_cart","shopping_trolley"],surrogates:"🛒"}],symbols:[{names:["100"],surrogates:"💯"},{names:["1234"],surrogates:"🔢"},{names:["heart"],surrogates:"❤"},{names:["yellow_heart"],surrogates:"💛"},{names:["green_heart"],surrogates:"💚"},{names:["blue_heart"],surrogates:"💙"},{names:["purple_heart"],surrogates:"💜"},{names:["broken_heart"],surrogates:"💔"},{names:["heart_exclamation","heavy_heart_exclamation_mark_ornament"],surrogates:"❣"},{names:["two_hearts"],surrogates:"💕"},{names:["revolving_hearts"],surrogates:"💞"},{names:["heartbeat"],surrogates:"💓"},{names:["heartpulse"],surrogates:"💗"},{names:["sparkling_heart"],surrogates:"💖"},{names:["cupid"],surrogates:"💘"},{names:["gift_heart"],surrogates:"💝"},{names:["heart_decoration"],surrogates:"💟"},{names:["peace","peace_symbol"],surrogates:"☮"},{names:["cross","latin_cross"],surrogates:"✝"},{names:["star_and_crescent"],surrogates:"☪"},{names:["om_symbol"],surrogates:"🕉"},{names:["wheel_of_dharma"],surrogates:"☸"},{names:["star_of_david"],surrogates:"✡"},{names:["six_pointed_star"],surrogates:"🔯"},{names:["menorah"],surrogates:"🕎"},{names:["yin_yang"],surrogates:"☯"},{names:["orthodox_cross"],surrogates:"☦"},{names:["place_of_worship","worship_symbol"],surrogates:"🛐"},{names:["ophiuchus"],surrogates:"⛎"},{names:["aries"],surrogates:"♈"},{names:["taurus"],surrogates:"♉"},{names:["gemini"],surrogates:"♊"},{names:["cancer"],surrogates:"♋"},{names:["leo"],surrogates:"♌"},{names:["virgo"],surrogates:"♍"},{names:["libra"],surrogates:"♎"},{names:["scorpius"],surrogates:"♏"},{names:["sagittarius"],surrogates:"♐"},{names:["capricorn"],surrogates:"♑"},{names:["aquarius"],surrogates:"♒"},{names:["pisces"],surrogates:"♓"},{names:["id"],surrogates:"🆔"},{names:["atom","atom_symbol"],surrogates:"⚛"},{names:["u7a7a"],surrogates:"🈳"},{names:["u5272"],surrogates:"🈹"},{names:["radioactive","radioactive_sign"],surrogates:"☢"},{names:["biohazard","biohazard_sign"],surrogates:"☣"},{names:["mobile_phone_off"],surrogates:"📴"},{names:["vibration_mode"],surrogates:"📳"},{names:["u6709"],surrogates:"🈶"},{names:["u7121"],surrogates:"🈚"},{names:["u7533"],surrogates:"🈸"},{names:["u55b6"],surrogates:"🈺"},{names:["u6708"],surrogates:"🈷"},{names:["eight_pointed_black_star"],surrogates:"✴"},{names:["vs"],surrogates:"🆚"},{names:["accept"],surrogates:"🉑"},{names:["white_flower"],surrogates:"💮"},{names:["ideograph_advantage"],surrogates:"🉐"},{names:["secret"],surrogates:"㊙"},{names:["congratulations"],surrogates:"㊗"},{names:["u5408"],surrogates:"🈴"},{names:["u6e80"],surrogates:"🈵"},{names:["u7981"],surrogates:"🈲"},{names:["a"],surrogates:"🅰"},{names:["b"],surrogates:"🅱"},{names:["ab"],surrogates:"🆎"},{names:["cl"],surrogates:"🆑"},{names:["o2"],surrogates:"🅾"},{names:["sos"],surrogates:"🆘"},{names:["no_entry"],surrogates:"⛔"},{names:["name_badge"],surrogates:"📛"},{names:["no_entry_sign"],surrogates:"🚫"},{names:["x"],surrogates:"❌"},{names:["o"],surrogates:"⭕"},{names:["anger"],surrogates:"💢"},{names:["hotsprings"],surrogates:"♨"},{names:["no_pedestrians"],surrogates:"🚷"},{names:["do_not_litter"],surrogates:"🚯"},{names:["no_bicycles"],surrogates:"🚳"},{names:["non_potable_water"],surrogates:"🚱"},{names:["underage"],surrogates:"🔞"},{names:["no_mobile_phones"],surrogates:"📵"},{names:["exclamation"],surrogates:"❗"},{names:["grey_exclamation"],surrogates:"❕"},{names:["question"],surrogates:"❓"},{names:["grey_question"],surrogates:"❔"},{names:["bangbang"],surrogates:"‼"},{names:["interrobang"],surrogates:"⁉"},{names:["low_brightness"],surrogates:"🔅"},{names:["high_brightness"],surrogates:"🔆"},{names:["trident"],surrogates:"🔱"},{names:["fleur_de_lis"],surrogates:"⚜"},{names:["part_alternation_mark"],surrogates:"〽"},{names:["warning"],surrogates:"⚠"},{names:["children_crossing"],surrogates:"🚸"},{names:["beginner"],surrogates:"🔰"},{names:["recycle"],surrogates:"♻"},{names:["u6307"],surrogates:"🈯"},{names:["chart"],surrogates:"💹"},{names:["sparkle"],surrogates:"❇"},{names:["eight_spoked_asterisk"],surrogates:"✳"},{names:["negative_squared_cross_mark"],surrogates:"❎"},{names:["white_check_mark"],surrogates:"✅"},{names:["diamond_shape_with_a_dot_inside"],surrogates:"💠"},{names:["cyclone"],surrogates:"🌀"},{names:["loop"],surrogates:"➿"},{names:["globe_with_meridians"],surrogates:"🌐"},{names:["m"],surrogates:"Ⓜ"},{names:["atm"],surrogates:"🏧"},{names:["sa"],surrogates:"🈂"},{names:["passport_control"],surrogates:"🛂"},{names:["customs"],surrogates:"🛃"},{names:["baggage_claim"],surrogates:"🛄"},{names:["left_luggage"],surrogates:"🛅"},{names:["wheelchair"],surrogates:"♿"},{names:["no_smoking"],surrogates:"🚭"},{names:["wc"],surrogates:"🚾"},{names:["parking"],surrogates:"🅿"},{names:["potable_water"],surrogates:"🚰"},{names:["mens"],surrogates:"🚹"},{names:["womens"],surrogates:"🚺"},{names:["baby_symbol"],surrogates:"🚼"},{names:["restroom"],surrogates:"🚻"},{names:["put_litter_in_its_place"],surrogates:"🚮"},{names:["cinema"],surrogates:"🎦"},{names:["signal_strength"],surrogates:"📶"},{names:["koko"],surrogates:"🈁"},{names:["ng"],surrogates:"🆖"},{names:["ok"],surrogates:"🆗"},{names:["up"],surrogates:"🆙"},{names:["cool"],surrogates:"🆒"},{names:["new"],surrogates:"🆕"},{names:["free"],surrogates:"🆓"},{names:["zero"],surrogates:"0⃣"},{names:["one"],surrogates:"1⃣"},{names:["two"],surrogates:"2⃣"},{names:["three"],surrogates:"3⃣"},{names:["four"],surrogates:"4⃣"},{names:["five"],surrogates:"5⃣"},{names:["six"],surrogates:"6⃣"},{names:["seven"],surrogates:"7⃣"},{names:["eight"],surrogates:"8⃣"},{names:["nine"],surrogates:"9⃣"},{names:["keycap_ten"],surrogates:"🔟"},{names:["arrow_forward"],surrogates:"▶"},{names:["pause_button","double_vertical_bar"],surrogates:"⏸"},{names:["play_pause"],surrogates:"⏯"},{names:["stop_button"],surrogates:"⏹"},{names:["record_button"],surrogates:"⏺"},{names:["track_next","next_track"],surrogates:"⏭"},{names:["track_previous","previous_track"],surrogates:"⏮"},{names:["fast_forward"],surrogates:"⏩"},{names:["rewind"],surrogates:"⏪"},{names:["twisted_rightwards_arrows"],surrogates:"🔀"},{names:["repeat"],surrogates:"🔁"},{names:["repeat_one"],surrogates:"🔂"},{names:["arrow_backward"],surrogates:"◀"},{names:["arrow_up_small"],surrogates:"🔼"},{names:["arrow_down_small"],surrogates:"🔽"},{names:["arrow_double_up"],surrogates:"⏫"},{names:["arrow_double_down"],surrogates:"⏬"},{names:["arrow_right"],surrogates:"➡"},{names:["arrow_left"],surrogates:"⬅"},{names:["arrow_up"],surrogates:"⬆"},{names:["arrow_down"],surrogates:"⬇"},{names:["arrow_upper_right"],surrogates:"↗"},{names:["arrow_lower_right"],surrogates:"↘"},{names:["arrow_lower_left"],surrogates:"↙"},{names:["arrow_upper_left"],surrogates:"↖"},{names:["arrow_up_down"],surrogates:"↕"},{names:["left_right_arrow"],surrogates:"↔"},{names:["arrows_counterclockwise"],surrogates:"🔄"},{names:["arrow_right_hook"],surrogates:"↪"},{names:["leftwards_arrow_with_hook"],surrogates:"↩"},{names:["arrow_heading_up"],surrogates:"⤴"},{names:["arrow_heading_down"],surrogates:"⤵"},{names:["hash"],surrogates:"#⃣"},{names:["asterisk","keycap_asterisk"],surrogates:"*⃣"},{names:["information_source"],surrogates:""},{names:["abc"],surrogates:"🔤"},{names:["abcd"],surrogates:"🔡"},{names:["capital_abcd"],surrogates:"🔠"},{names:["symbols"],surrogates:"🔣"},{names:["musical_note"],surrogates:"🎵"},{names:["notes"],surrogates:"🎶"},{names:["wavy_dash"],surrogates:"〰"},{names:["curly_loop"],surrogates:"➰"},{names:["heavy_check_mark"],surrogates:"✔"},{names:["arrows_clockwise"],surrogates:"🔃"},{names:["heavy_plus_sign"],surrogates:""},{names:["heavy_minus_sign"],surrogates:""},{names:["heavy_division_sign"],surrogates:"➗"},{names:["heavy_multiplication_x"],surrogates:"✖"},{names:["heavy_dollar_sign"],surrogates:"💲"},{names:["currency_exchange"],surrogates:"💱"},{names:["copyright"],surrogates:"©"},{names:["registered"],surrogates:"®"},{names:["tm"],surrogates:"™"},{names:["end"],surrogates:"🔚"},{names:["back"],surrogates:"🔙"},{names:["on"],surrogates:"🔛"},{names:["top"],surrogates:"🔝"},{names:["soon"],surrogates:"🔜"},{names:["ballot_box_with_check"],surrogates:"☑"},{names:["radio_button"],surrogates:"🔘"},{names:["white_circle"],surrogates:"⚪"},{names:["black_circle"],surrogates:"⚫"},{names:["red_circle"],surrogates:"🔴"},{names:["large_blue_circle"],surrogates:"🔵"},{names:["small_orange_diamond"],surrogates:"🔸"},{names:["small_blue_diamond"],surrogates:"🔹"},{names:["large_orange_diamond"],surrogates:"🔶"},{names:["large_blue_diamond"],surrogates:"🔷"},{names:["small_red_triangle"],surrogates:"🔺"},{names:["black_small_square"],surrogates:"▪"},{names:["white_small_square"],surrogates:"▫"},{names:["black_large_square"],surrogates:"⬛"},{names:["white_large_square"],surrogates:"⬜"},{names:["small_red_triangle_down"],surrogates:"🔻"},{names:["black_medium_square"],surrogates:"◼"},{names:["white_medium_square"],surrogates:"◻"},{names:["black_medium_small_square"],surrogates:"◾"},{names:["white_medium_small_square"],surrogates:"◽"},{names:["black_square_button"],surrogates:"🔲"},{names:["white_square_button"],surrogates:"🔳"},{names:["speaker"],surrogates:"🔈"},{names:["sound"],surrogates:"🔉"},{names:["loud_sound"],surrogates:"🔊"},{names:["mute"],surrogates:"🔇"},{names:["mega"],surrogates:"📣"},{names:["loudspeaker"],surrogates:"📢"},{names:["bell"],surrogates:"🔔"},{names:["no_bell"],surrogates:"🔕"},{names:["black_joker"],surrogates:"🃏"},{names:["mahjong"],surrogates:"🀄"},{names:["spades"],surrogates:"♠"},{names:["clubs"],surrogates:"♣"},{names:["hearts"],surrogates:"♥"},{names:["diamonds"],surrogates:"♦"},{names:["flower_playing_cards"],surrogates:"🎴"},{names:["thought_balloon"],surrogates:"💭"},{names:["anger_right","right_anger_bubble"],surrogates:"🗯"},{names:["speech_balloon"],surrogates:"💬"},{names:["clock1"],surrogates:"🕐"},{names:["clock2"],surrogates:"🕑"},{names:["clock3"],surrogates:"🕒"},{names:["clock4"],surrogates:"🕓"},{names:["clock5"],surrogates:"🕔"},{names:["clock6"],surrogates:"🕕"},{names:["clock7"],surrogates:"🕖"},{names:["clock8"],surrogates:"🕗"},{names:["clock9"],surrogates:"🕘"},{names:["clock10"],surrogates:"🕙"},{names:["clock11"],surrogates:"🕚"},{names:["clock12"],surrogates:"🕛"},{names:["clock130"],surrogates:"🕜"},{names:["clock230"],surrogates:"🕝"},{names:["clock330"],surrogates:"🕞"},{names:["clock430"],surrogates:"🕟"},{names:["clock530"],surrogates:"🕠"},{names:["clock630"],surrogates:"🕡"},{names:["clock730"],surrogates:"🕢"},{names:["clock830"],surrogates:"🕣"},{names:["clock930"],surrogates:"🕤"},{names:["clock1030"],surrogates:"🕥"},{names:["clock1130"],surrogates:"🕦"},{names:["clock1230"],surrogates:"🕧"},{names:["eye_in_speech_bubble"],surrogates:"👁‍🗨"},{names:["speech_left","left_speech_bubble"],surrogates:"🗨"},{names:["eject","eject_symbol"],surrogates:"⏏"},{names:["black_heart"],surrogates:"🖤"},{names:["octagonal_sign","stop_sign"],surrogates:"🛑"},{names:["regional_indicator_z"],surrogates:"🇿"},{names:["regional_indicator_y"],surrogates:"🇾"},{names:["regional_indicator_x"],surrogates:"🇽"},{names:["regional_indicator_w"],surrogates:"🇼"},{names:["regional_indicator_v"],surrogates:"🇻"},{names:["regional_indicator_u"],surrogates:"🇺"},{names:["regional_indicator_t"],surrogates:"🇹"},{names:["regional_indicator_s"],surrogates:"🇸"},{names:["regional_indicator_r"],surrogates:"🇷"},{names:["regional_indicator_q"],surrogates:"🇶"},{names:["regional_indicator_p"],surrogates:"🇵"},{names:["regional_indicator_o"],surrogates:"🇴"},{names:["regional_indicator_n"],surrogates:"🇳"},{names:["regional_indicator_m"],surrogates:"🇲"},{names:["regional_indicator_l"],surrogates:"🇱"},{names:["regional_indicator_k"],surrogates:"🇰"},{names:["regional_indicator_j"],surrogates:"🇯"},{names:["regional_indicator_i"],surrogates:"🇮"},{names:["regional_indicator_h"],surrogates:"🇭"},{names:["regional_indicator_g"],surrogates:"🇬"},{names:["regional_indicator_f"],surrogates:"🇫"},{names:["regional_indicator_e"],surrogates:"🇪"},{names:["regional_indicator_d"],surrogates:"🇩"},{names:["regional_indicator_c"],surrogates:"🇨"},{names:["regional_indicator_b"],surrogates:"🇧"},{names:["regional_indicator_a"],surrogates:"🇦"}],flags:[{names:["flag_ac"],surrogates:"🇦🇨"},{names:["flag_af"],surrogates:"🇦🇫"},{names:["flag_al"],surrogates:"🇦🇱"},{names:["flag_dz"],surrogates:"🇩🇿"},{names:["flag_ad"],surrogates:"🇦🇩"},{names:["flag_ao"],surrogates:"🇦🇴"},{names:["flag_ai"],surrogates:"🇦🇮"},{names:["flag_ag"],surrogates:"🇦🇬"},{names:["flag_ar"],surrogates:"🇦🇷"},{names:["flag_am"],surrogates:"🇦🇲"},{names:["flag_aw"],surrogates:"🇦🇼"},{names:["flag_au"],surrogates:"🇦🇺"},{names:["flag_at"],surrogates:"🇦🇹"},{names:["flag_az"],surrogates:"🇦🇿"},{names:["flag_bs"],surrogates:"🇧🇸"},{names:["flag_bh"],surrogates:"🇧🇭"},{names:["flag_bd"],surrogates:"🇧🇩"},{names:["flag_bb"],surrogates:"🇧🇧"},{names:["flag_by"],surrogates:"🇧🇾"},{names:["flag_be"],surrogates:"🇧🇪"},{names:["flag_bz"],surrogates:"🇧🇿"},{names:["flag_bj"],surrogates:"🇧🇯"},{names:["flag_bm"],surrogates:"🇧🇲"},{names:["flag_bt"],surrogates:"🇧🇹"},{names:["flag_bo"],surrogates:"🇧🇴"},{names:["flag_ba"],surrogates:"🇧🇦"},{names:["flag_bw"],surrogates:"🇧🇼"},{names:["flag_br"],surrogates:"🇧🇷"},{names:["flag_bn"],surrogates:"🇧🇳"},{names:["flag_bg"],surrogates:"🇧🇬"},{names:["flag_bf"],surrogates:"🇧🇫"},{names:["flag_bi"],surrogates:"🇧🇮"},{names:["flag_cv"],surrogates:"🇨🇻"},{names:["flag_kh"],surrogates:"🇰🇭"},{names:["flag_cm"],surrogates:"🇨🇲"},{names:["flag_ca"],surrogates:"🇨🇦"},{names:["flag_ky"],surrogates:"🇰🇾"},{names:["flag_cf"],surrogates:"🇨🇫"},{names:["flag_td"],surrogates:"🇹🇩"},{names:["flag_cl"],surrogates:"🇨🇱"},{names:["flag_cn"],surrogates:"🇨🇳"},{names:["flag_co"],surrogates:"🇨🇴"},{names:["flag_km"],surrogates:"🇰🇲"},{names:["flag_cg"],surrogates:"🇨🇬"},{names:["flag_cd"],surrogates:"🇨🇩"},{names:["flag_cr"],surrogates:"🇨🇷"},{names:["flag_hr"],surrogates:"🇭🇷"},{names:["flag_cu"],surrogates:"🇨🇺"},{names:["flag_cy"],surrogates:"🇨🇾"},{names:["flag_cz"],surrogates:"🇨🇿"},{names:["flag_dk"],surrogates:"🇩🇰"},{names:["flag_dj"],surrogates:"🇩🇯"},{names:["flag_dm"],surrogates:"🇩🇲"},{names:["flag_do"],surrogates:"🇩🇴"},{names:["flag_ec"],surrogates:"🇪🇨"},{names:["flag_eg"],surrogates:"🇪🇬"},{names:["flag_sv"],surrogates:"🇸🇻"},{names:["flag_gq"],surrogates:"🇬🇶"},{names:["flag_er"],surrogates:"🇪🇷"},{names:["flag_ee"],surrogates:"🇪🇪"},{names:["flag_et"],surrogates:"🇪🇹"},{names:["flag_fk"],surrogates:"🇫🇰"},{names:["flag_fo"],surrogates:"🇫🇴"},{names:["flag_fj"],surrogates:"🇫🇯"},{names:["flag_fi"],surrogates:"🇫🇮"},{names:["flag_fr"],surrogates:"🇫🇷"},{names:["flag_pf"],surrogates:"🇵🇫"},{names:["flag_ga"],surrogates:"🇬🇦"},{names:["flag_gm"],surrogates:"🇬🇲"},{names:["flag_ge"],surrogates:"🇬🇪"},{names:["flag_de"],surrogates:"🇩🇪"},{names:["flag_gh"],surrogates:"🇬🇭"},{names:["flag_gi"],surrogates:"🇬🇮"},{names:["flag_gr"],surrogates:"🇬🇷"},{names:["flag_gl"],surrogates:"🇬🇱"},{names:["flag_gd"],surrogates:"🇬🇩"},{names:["flag_gu"],surrogates:"🇬🇺"},{names:["flag_gt"],surrogates:"🇬🇹"},{names:["flag_gn"],surrogates:"🇬🇳"},{names:["flag_gw"],surrogates:"🇬🇼"},{names:["flag_gy"],surrogates:"🇬🇾"},{names:["flag_ht"],surrogates:"🇭🇹"},{names:["flag_hn"],surrogates:"🇭🇳"},{names:["flag_hk"],surrogates:"🇭🇰"},{names:["flag_hu"],surrogates:"🇭🇺"},{names:["flag_is"],surrogates:"🇮🇸"},{names:["flag_in"],surrogates:"🇮🇳"},{names:["flag_id"],surrogates:"🇮🇩"},{names:["flag_ir"],surrogates:"🇮🇷"},{names:["flag_iq"],surrogates:"🇮🇶"},{names:["flag_ie"],surrogates:"🇮🇪"},{names:["flag_il"],surrogates:"🇮🇱"},{names:["flag_it"],surrogates:"🇮🇹"},{names:["flag_ci"],surrogates:"🇨🇮"},{names:["flag_jm"],surrogates:"🇯🇲"},{names:["flag_jp"],surrogates:"🇯🇵"},{names:["flag_je"],surrogates:"🇯🇪"},{names:["flag_jo"],surrogates:"🇯🇴"},{names:["flag_kz"],surrogates:"🇰🇿"},{names:["flag_ke"],surrogates:"🇰🇪"},{names:["flag_ki"],surrogates:"🇰🇮"},{names:["flag_xk"],surrogates:"🇽🇰"},{names:["flag_kw"],surrogates:"🇰🇼"},{names:["flag_kg"],surrogates:"🇰🇬"},{names:["flag_la"],surrogates:"🇱🇦"},{names:["flag_lv"],surrogates:"🇱🇻"},{names:["flag_lb"],surrogates:"🇱🇧"},{names:["flag_ls"],surrogates:"🇱🇸"},{names:["flag_lr"],surrogates:"🇱🇷"},{names:["flag_ly"],surrogates:"🇱🇾"},{names:["flag_li"],surrogates:"🇱🇮"},{names:["flag_lt"],surrogates:"🇱🇹"},{names:["flag_lu"],surrogates:"🇱🇺"},{names:["flag_mo"],surrogates:"🇲🇴"},{names:["flag_mk"],surrogates:"🇲🇰"},{names:["flag_mg"],surrogates:"🇲🇬"},{names:["flag_mw"],surrogates:"🇲🇼"},{names:["flag_my"],surrogates:"🇲🇾"},{names:["flag_mv"],surrogates:"🇲🇻"},{names:["flag_ml"],surrogates:"🇲🇱"},{names:["flag_mt"],surrogates:"🇲🇹"},{names:["flag_mh"],surrogates:"🇲🇭"},{names:["flag_mr"],surrogates:"🇲🇷"},{names:["flag_mu"],surrogates:"🇲🇺"},{names:["flag_mx"],surrogates:"🇲🇽"},{names:["flag_fm"],surrogates:"🇫🇲"},{names:["flag_md"],surrogates:"🇲🇩"},{names:["flag_mc"],surrogates:"🇲🇨"},{names:["flag_mn"],surrogates:"🇲🇳"},{names:["flag_me"],surrogates:"🇲🇪"},{names:["flag_ms"],surrogates:"🇲🇸"},{names:["flag_ma"],surrogates:"🇲🇦"},{names:["flag_mz"],surrogates:"🇲🇿"},{names:["flag_mm"],surrogates:"🇲🇲"},{names:["flag_na"],surrogates:"🇳🇦"},{names:["flag_nr"],surrogates:"🇳🇷"},{names:["flag_np"],surrogates:"🇳🇵"},{names:["flag_nl"],surrogates:"🇳🇱"},{names:["flag_nc"],surrogates:"🇳🇨"},{names:["flag_nz"],surrogates:"🇳🇿"},{names:["flag_ni"],surrogates:"🇳🇮"},{names:["flag_ne"],surrogates:"🇳🇪"},{names:["flag_ng"],surrogates:"🇳🇬"},{names:["flag_nu"],surrogates:"🇳🇺"},{names:["flag_kp"],surrogates:"🇰🇵"},{names:["flag_no"],surrogates:"🇳🇴"},{names:["flag_om"],surrogates:"🇴🇲"},{names:["flag_pk"],surrogates:"🇵🇰"},{names:["flag_pw"],surrogates:"🇵🇼"},{names:["flag_ps"],surrogates:"🇵🇸"},{names:["flag_pa"],surrogates:"🇵🇦"},{names:["flag_pg"],surrogates:"🇵🇬"},{names:["flag_py"],surrogates:"🇵🇾"},{names:["flag_pe"],surrogates:"🇵🇪"},{names:["flag_ph"],surrogates:"🇵🇭"},{names:["flag_pl"],surrogates:"🇵🇱"},{names:["flag_pt"],surrogates:"🇵🇹"},{names:["flag_pr"],surrogates:"🇵🇷"},{names:["flag_qa"],surrogates:"🇶🇦"},{names:["flag_ro"],surrogates:"🇷🇴"},{names:["flag_ru"],surrogates:"🇷🇺"},{names:["flag_rw"],surrogates:"🇷🇼"},{names:["flag_sh"],surrogates:"🇸🇭"},{names:["flag_kn"],surrogates:"🇰🇳"},{names:["flag_lc"],surrogates:"🇱🇨"},{names:["flag_vc"],surrogates:"🇻🇨"},{names:["flag_ws"],surrogates:"🇼🇸"},{names:["flag_sm"],surrogates:"🇸🇲"},{names:["flag_st"],surrogates:"🇸🇹"},{names:["flag_sa"],surrogates:"🇸🇦"},{names:["flag_sn"],surrogates:"🇸🇳"},{names:["flag_rs"],surrogates:"🇷🇸"},{names:["flag_sc"],surrogates:"🇸🇨"},{names:["flag_sl"],surrogates:"🇸🇱"},{names:["flag_sg"],surrogates:"🇸🇬"},{names:["flag_sk"],surrogates:"🇸🇰"},{names:["flag_si"],surrogates:"🇸🇮"},{names:["flag_sb"],surrogates:"🇸🇧"},{names:["flag_so"],surrogates:"🇸🇴"},{names:["flag_za"],surrogates:"🇿🇦"},{names:["flag_kr"],surrogates:"🇰🇷"},{names:["flag_es"],surrogates:"🇪🇸"},{names:["flag_lk"],surrogates:"🇱🇰"},{names:["flag_sd"],surrogates:"🇸🇩"},{names:["flag_sr"],surrogates:"🇸🇷"},{names:["flag_sz"],surrogates:"🇸🇿"},{names:["flag_se"],surrogates:"🇸🇪"},{names:["flag_ch"],surrogates:"🇨🇭"},{names:["flag_sy"],surrogates:"🇸🇾"},{names:["flag_tw"],surrogates:"🇹🇼"},{names:["flag_tj"],surrogates:"🇹🇯"},{names:["flag_tz"],surrogates:"🇹🇿"},{names:["flag_th"],surrogates:"🇹🇭"},{names:["flag_tl"],surrogates:"🇹🇱"},{names:["flag_tg"],surrogates:"🇹🇬"},{names:["flag_to"],surrogates:"🇹🇴"},{names:["flag_tt"],surrogates:"🇹🇹"},{names:["flag_tn"],surrogates:"🇹🇳"},{names:["flag_tr"],surrogates:"🇹🇷"},{names:["flag_tm"],surrogates:"🇹🇲"},{names:["flag_tv"],surrogates:"🇹🇻"},{names:["flag_ug"],surrogates:"🇺🇬"},{names:["flag_ua"],surrogates:"🇺🇦"},{names:["flag_ae"],surrogates:"🇦🇪"},{names:["flag_gb"],surrogates:"🇬🇧"},{names:["flag_us"],surrogates:"🇺🇸"},{names:["flag_vi"],surrogates:"🇻🇮"},{names:["flag_uy"],surrogates:"🇺🇾"},{names:["flag_uz"],surrogates:"🇺🇿"},{names:["flag_vu"],surrogates:"🇻🇺"},{names:["flag_va"],surrogates:"🇻🇦"},{names:["flag_ve"],surrogates:"🇻🇪"},{names:["flag_vn"],surrogates:"🇻🇳"},{names:["flag_wf"],surrogates:"🇼🇫"},{names:["flag_eh"],surrogates:"🇪🇭"},{names:["flag_ye"],surrogates:"🇾🇪"},{names:["flag_zm"],surrogates:"🇿🇲"},{names:["flag_zw"],surrogates:"🇿🇼"},{names:["flag_re"],surrogates:"🇷🇪"},{names:["flag_ax"],surrogates:"🇦🇽"},{names:["flag_ta"],surrogates:"🇹🇦"},{names:["flag_io"],surrogates:"🇮🇴"},{names:["flag_bq"],surrogates:"🇧🇶"},{names:["flag_cx"],surrogates:"🇨🇽"},{names:["flag_cc"],surrogates:"🇨🇨"},{names:["flag_gg"],surrogates:"🇬🇬"},{names:["flag_im"],surrogates:"🇮🇲"},{names:["flag_yt"],surrogates:"🇾🇹"},{names:["flag_nf"],surrogates:"🇳🇫"},{names:["flag_pn"],surrogates:"🇵🇳"},{names:["flag_bl"],surrogates:"🇧🇱"},{names:["flag_pm"],surrogates:"🇵🇲"},{names:["flag_gs"],surrogates:"🇬🇸"},{names:["flag_tk"],surrogates:"🇹🇰"},{names:["flag_bv"],surrogates:"🇧🇻"},{names:["flag_hm"],surrogates:"🇭🇲"},{names:["flag_sj"],surrogates:"🇸🇯"},{names:["flag_um"],surrogates:"🇺🇲"},{names:["flag_ic"],surrogates:"🇮🇨"},{names:["flag_ea"],surrogates:"🇪🇦"},{names:["flag_cp"],surrogates:"🇨🇵"},{names:["flag_dg"],surrogates:"🇩🇬"},{names:["flag_as"],surrogates:"🇦🇸"},{names:["flag_aq"],surrogates:"🇦🇶"},{names:["flag_vg"],surrogates:"🇻🇬"},{names:["flag_ck"],surrogates:"🇨🇰"},{names:["flag_cw"],surrogates:"🇨🇼"},{names:["flag_eu"],surrogates:"🇪🇺"},{names:["flag_gf"],surrogates:"🇬🇫"},{names:["flag_tf"],surrogates:"🇹🇫"},{names:["flag_gp"],surrogates:"🇬🇵"},{names:["flag_mq"],surrogates:"🇲🇶"},{names:["flag_mp"],surrogates:"🇲🇵"},{names:["flag_sx"],surrogates:"🇸🇽"},{names:["flag_ss"],surrogates:"🇸🇸"},{names:["flag_tc"],surrogates:"🇹🇨"},{names:["flag_mf"],surrogates:"🇲🇫"},{names:["gay_pride_flag","rainbow_flag"],surrogates:"🏳️‍🌈"}]}},function(e,t){e.exports=[{executables:{win32:["100orange.exe"]},name:"100% Orange Juice"},{executables:{win32:["20xx.exe"]},name:"20XX"},{executables:{win32:["pinball.exe"]},name:"3D Pinball: Space Cadet"},{executables:{win32:["7daystodie.exe"]},name:"7 Days to Die"},{executables:{win32:["hatintimegame.exe"]},name:"A Hat in Time"},{executables:{win32:["rememberinghowwemet.exe"]},name:"A Kiss For The Petals - Remembering How We Met"},{executables:{win32:["actionhenk.exe"]},name:"Action Henk"},{executables:{win32:["adventure-capitalist.exe"]},name:"AdVenture Capitalist"},{executables:{win32:["aeon rivals.exe"]},name:"Aeon Rivals"},{executables:{win32:["ageofconan.exe"]},name:"Age of Conan"},{executables:{win32:["aok hd.exe","empires2.exe"]},name:"Age of Empires II"},{executables:{win32:["age2_x1.exe"]},name:"Age of Empires II: The Conquerors"},{executables:{win32:["age3y.exe"]},name:"Age of Empires III"},{executables:{win32:["aiwar.exe"]},name:"AI War: Fleet Command"},{executables:{win32:["aion.bin"]},name:"Aion"},{executables:{win32:["alanwake.exe"]},name:"Alan Wake"},{executables:{win32:["alan_wakes_american_nightmare.exe"]},name:"Alan Wake's American Nightmare"},{executables:{win32:["albion-online.exe"]},name:"Albion Online"},{executables:{win32:["alienbreed2assault.exe"]},name:"Alien Breed 2: Assault"},{executables:{win32:["avp3.exe","avp_launcher.exe"]},name:"Alien Vs Predator"},{executables:{win32:["ai.exe"]},name:"Alien: Isolation"},{executables:{win32:["allegiance.exe"]},name:"Allegiance"},{executables:{win32:["ava.exe"]},name:"Alliance of Valiant Arms"},{executables:{win32:["altitude.exe"]},name:"Altitude"},{executables:{win32:["anarchy.exe"]},name:"Anarchy Online"},{executables:{win32:["anno4.exe"]},name:"Anno 1404"},{executables:{win32:["anno5.exe"]},name:"Anno 2070"},{executables:{win32:["anno2205.exe"]},name:"Anno 2205"},{executables:{win32:["/antichamber/binaries/win32/udk.exe"]},name:"Antichamber"},{executables:{win32:["蒼の彼方のフォーリズム.exe"]},name:"Ao no Kanata no Four Rhythm"},{executables:{win32:["apb.exe"]},name:"APB Reloaded"},{executables:{win32:["archeage.exe"]},name:"ArcheAge"},{executables:{win32:["argentum.exe"]},name:"Argentum"},{executables:{win32:["arma3.exe"]},name:"Arma III"},{executables:{win32:["armello.exe"]},name:"Armello"},{executables:{win32:["armoredwarfare.exe"]},name:"Armored Warfare"},{executables:{win32:["arpiel.exe"]},name:"Arpiel"},{executables:{win32:["thespacegame.exe"]},name:"Ascent - The Space Game"},{executables:{win32:["aclauncher.exe","acclient.exe"]},name:"Asheron's Call"},{executables:{win32:["ac3sp.exe","ac3mp.exe"]},name:"Assassin's Creed III"},{executables:{win32:["ac4bfsp.exe","ac4bfmp.exe"]},name:"Assassin's Creed IV: Black Flag"},{executables:{win32:["acu.exe"]},name:"Assassin's Creed Unity"},{executables:{win32:["acbsp.exe","acbmp.exe"]},name:"Assassin's Creed: Brotherhood"},{executables:{win32:["acrsp.exe"]},name:"Assassin's Creed: Revelations"},{executables:{win32:["acc.exe"]},name:"Assassin's Creed Rogue"},{executables:{win32:["cactus.exe"]},name:"Assault Android Cactus"},{executables:{win32:["assettocorsa.exe"]},name:"Assetto Corsa"},{executables:{win32:["astebreed.exe"]},name:"Astebreed"},{executables:{win32:["/astroneer early access/astro.exe"]},name:"Astroneer"},{executables:{win32:["audiosurf.exe","questviewer.exe"]},name:"Audiosurf"},{executables:{win32:["audiosurf2.exe"]},name:"Audiosurf 2"},{executables:{darwin:["avalonlords.app"],win32:["avalonlords.exe"]},name:"Avalon Lords"},{executables:{win32:["awesomenauts.exe"]},name:"Awesomenauts"},{executables:{win32:["axiomverge.exe"]},name:"Axiom Verge"},{executables:{win32:["/azure striker gunvolt/exe/gv_win.exe"]},name:"Azure Striker"},{executables:{win32:["rats.exe"]},name:"Bad Rats"},{executables:{win32:["baremetal.exe"]},name:"Bare Metal"},{executables:{win32:["bastion.exe"]},name:"Bastion"},{executables:{win32:["batmanak.exe"]},name:"Batman Arkham Knight"},{executables:{win32:["batmanac.exe"]},name:"Batman: Arkham City"},{executables:{win32:["wesnoth.exe"]},name:"Battle for Wesnoth"},{executables:{win32:["battleblocktheater.exe"]},name:"BattleBlock Theater"},{executables:{win32:["bf1.exe"]},name:"Battlefield 1",overlay:!0},{executables:{win32:["bf2.exe"]},name:"Battlefield 2"},{executables:{win32:["bf2142.exe"]},name:"Battlefield 2142"},{executables:{win32:["bf3.exe"]},name:"Battlefield 3"},{executables:{win32:["vu.exe"]},name:"Battlefield 3: Venice Unleashed"},{executables:{win32:["bf4.exe"]},name:"Battlefield 4"},{executables:{win32:["bfh.exe"]},name:"Battlefield Hardline"},{executables:{win32:["bfbc2game.exe"]},name:"Battlefield: Bad Company 2"},{executables:{win32:["bf4cte.exe"]},name:"Battlefiled 4 CTE"},{executables:{win32:["bugs.exe"]},name:"BBLiT"},{executables:{win32:["beathazard.exe"]},name:"Beat Hazard"},{executables:{win32:["bejeweled3.exe"]},name:"Bejeweled 3"},{executables:{win32:["bejblitz.exe"]},name:"Bejeweled Blitz"},{executables:{win32:["besiege.exe"]},name:"Besiege"},{executables:{win32:["bioshock.exe"]},name:"Bioshock"},{executables:{win32:["bioshock2.exe"]},name:"BioShock II"},{executables:{win32:["bioshockinfinite.exe"]},name:"BioShock Infinite"},{executables:{win32:["bitwig studio.exe"]},name:"Bitwig Studio"},{executables:{win32:["blackdesert32.exe","blackdesert64.exe"]},name:"Black Desert Online"},{executables:{win32:["blackshot.exe"]},name:"Blackshot SEA"},{executables:{win32:["/bns/bin64/client.exe","playbns.exe"]},name:"Blade & Soul",overlay:!1},{executables:{win32:["berimbau.exe"]},name:"Blade Symphony"},{executables:{win32:["bbcse.exe"]},name:"BlazBlue Continuum Shift Extend"},{executables:{win32:["blobby.exe"]},name:"Blobby Volley 2"},{executables:{win32:["blocknload.exe"]},name:"Block n Load"},{executables:{win32:["blockland.exe"]},name:"Blockland"},{executables:{win32:["bloodlinechampions.exe"]},name:"Bloodline Champions"},{executables:{win32:["boid.exe"]},name:"Boid"},{executables:{win32:["/borderlands/borderlands.exe"]},name:"Borderlands"},{executables:{win32:["borderlands2.exe"]},name:"Borderlands 2"},{executables:{win32:["borderlandspresequel.exe"]},name:"Borderlands: the Pre-Sequel"},{executables:{win32:["braid.exe"]},name:"Braid"},{executables:{darwin:["brawlhalla.app"],win32:["brawlhalla.exe"]},name:"Brawlhalla"},{executables:{win32:["shippingpc-stormgame.exe"]},name:"Bulletstorm"},{executables:{win32:["c9.exe"]},name:"C9"},{executables:{win32:["cabal2main.exe"]},name:"Cabal 2"},{executables:{win32:["cabalmain.exe"]},name:"Cabal Online"},{executables:{win32:["cod2mp_s.exe","cod2sp_s.exe"]},name:"Call of Duty 2:"},{executables:{win32:["iw3mp.exe","iw3sp.exe"]},name:"Call of Duty 4: Modern Warfare"},{executables:{win32:["t6sp.exe"]},name:"Call of Duty: Black Ops"},{executables:{win32:["blackops3.exe"]},name:"Call of Duty: Black Ops III"},{executables:{win32:["iw4mp.exe","iw4sp.exe"]},name:"Call of Duty: Modern Warfare 2"},{executables:{win32:["iw5mp.exe"]},name:"Call of Duty: Modern Warfare 3"},{executables:{win32:["codwawmp.exe","codwaw.exe"]},name:"Call of Duty: World at War"},{executables:{win32:["coj.exe"]},name:"Call of Juarez"},{executables:{win32:["cojgunslinger.exe"]},name:"Call of Juarez: Gunslinger"},{executables:{darwin:["cardhunter.app"],win32:["cardhunter.exe"]},name:"Card Hunter"},{executables:{darwin:["cargocommander.app"],win32:["cargocommander.exe"]},name:"Cargo Commander"},{executables:{win32:["carrier.exe"]},name:"Carrier Command Gaea Mission"},{executables:{win32:["castle.exe"]},name:"Castle Crashers"},{executables:{win32:["cataclysm-tiles.exe"]},name:"Cataclysm: Dark Days Ahead"},{executables:{win32:["cavestory+.exe"]},name:"Cave Story+"},{executables:{win32:["center city.exe"]},name:"Center City"},{executables:{win32:["/chaoscode_nsoc/chaoscode.exe"]},name:"Chaos Code: New Sign of Catastrophe"},{executables:{win32:["barkleyv120.exe"]},name:"Charles Barkley: Shut Up and Jam Gaiden"},{executables:{win32:["childoflight.exe"]},name:"Child of Light"},{executables:{win32:["cmw.exe"]},name:"Chivalry: Medieval"},{executables:{win32:["chronicle.exe"]},name:"Chronicle - Runescape Legends"},{executables:{win32:["chronicon.exe"]},name:"Chronicon"},{executables:{win32:["cities.exe"]},name:"Cities: Skylines"},{executables:{win32:["civilizationbe_dx11.exe","civilizationbe_mantle.exe"]},name:"Civilization Beyond Earth"},{executables:{win32:["civilizationv_dx11.exe"]},name:"Civilization V"},{executables:{win32:["ckan.exe"]},name:"CKAN"},{executables:{win32:["/clannad/realliveen.exe"]},name:"CLANNAD"},{executables:{win32:["/clannad side stories/realliveen.exe"]},name:"CLANNAD Side Stories"},{executables:{win32:["clicker heroes.exe"]},name:"Clicker Heroes"},{executables:{win32:["undying.exe"]},name:"Clive Barker's Undying"},{executables:{win32:["clonk.exe"]},name:"Clonk Rage"},{executables:{win32:["cw.exe"]},name:"Closers Dimension Conflict"},{executables:{win32:["cloudbuilt.exe"]},name:"Cloudbuilt"},{executables:{win32:["cm black sea.exe"]},name:"Combat Mission: Black Sea"},{executables:{win32:["cm shock force.exe"]},name:"Combat Mission: Shock Force"},{executables:{win32:["generals.exe"]},name:"Command & Conquer Generals: Zero Hour"},{executables:{win32:["gamemd.exe"]},name:"Command & Conquer: Red Alert 2"},{executables:{win32:["ra3ep1.exe"]},name:"Command and Conquer Red Alert 3"},{executables:{win32:["command.exe"]},name:"Command: Modern Air/Naval Operations"},{executables:{win32:["reliccoh.exe"]},name:"Company of Heroes"},{executables:{win32:["reliccoh2.exe"]},name:"Company of Heroes 2"},{executables:{win32:["consim2015.exe"]},name:"Construction Simulator 2015"},{executables:{win32:["csdsteambuild.exe"]},name:"Cook, Serve, Delicious!"},{executables:{win32:["cosmic.exe"]},name:"Cosmic Break"},{executables:{win32:["cosmicbreak2.exe"]},name:"Cosmic Break 2"},{executables:{win32:["cosmicleague.exe"]},name:"Cosmic League"},{executables:{darwin:["counter-strike global offensive.app"],linux:["csgo_linux64"],win32:["csgo.exe"]},name:"Counter-Strike: Global Offensive",overlay:!0},{executables:{win32:["crawl.exe"]},name:"Crawl"},{executables:{win32:["creationkit.exe","creationkit32.exe"]},name:"Creation Kit"},{executables:{win32:["creativerse.exe"]},name:"Creativerse"},{executables:{win32:["creeper world 2.exe"]},name:"Creeper World 2: Redemption"},{executables:{win32:["cw3.exe"]},name:"Creeper World 3: Arc Eternal"},{executables:{win32:["crimsonland.exe"]},name:"Crimsonland"},{executables:{win32:["crowfallclient.exe"]},name:"Crowfall"},{executables:{win32:["ck2game.exe"]},name:"Crusader Kings II"},{executables:{win32:["necrodancer.exe"]},name:"Crypt of the NecroDancer"},{executables:{win32:["cryptark.exe"]},name:"CRYPTARK"},{executables:{win32:["crysis64.exe","/crysis/bin32/crysis.exe"]},name:"Crysis"},{executables:{win32:["crysis2.exe"]},name:"Crysis 2"},{executables:{win32:["crysis3.exe"]},name:"Crysis 3"},{executables:{win32:["ctnorth.exe"]},name:"CTNorth"},{executables:{win32:["cyphers.exe"]},name:"Cyphers"},{executables:{win32:["dave.exe"]},name:"Dangerous Dave"},{executables:{win32:["/dark messiah might and magic single player/mm.exe"]},name:"Dark Messiah Might and Magic Single Player"},{executables:{win32:["/dark souls prepare to die edition/data/darksouls.exe "]},name:"Dark Souls: Prepare to Die Edition"},{executables:{win32:["data.exe","darksouls.exe"]},name:"Dark Souls"},{executables:{win32:["darksoulsii.exe"]},name:"Dark Souls II"},{executables:{win32:["darkest.exe"]},name:"Darkest Dungeon"},{executables:{win32:["/darkfall roa/data/darkfall.exe","/darkfall roa/darkfall_roa.exe"]},name:"Darkfall: Rise of Agon"},{executables:{win32:["dfuw.exe"]},name:"Darkfall: Unholy Wars"},{executables:{win32:["darksiderspc.exe"]},name:"Darksiders"},{executables:{win32:["darksiders2.exe"]},name:"Darksiders 2"},{executables:{win32:["darkstarone.exe"]},name:"DarkStar One"},{executables:{win32:["dom.exe"]},name:"Dawn of Midgard"},{executables:{win32:["dayz.exe"]},name:"DayZ"},{executables:{win32:["dcgame.exe"]},name:"DC Universe Online"},{executables:{win32:["dcs.exe"]},name:"DCS World"},{executables:{win32:["deadislandgame.exe"]},name:"Dead Island"},{executables:{win32:["deadislandgame_x86_rwdi.exe"]},name:"Dead Island Riptide"},{executables:{win32:["dead space.exe"]},name:"Dead Space"},{executables:{win32:["deadspace2.exe"]},name:"Dead Space 2"},{executables:{win32:["deadcore.exe"]},name:"DeadCore"},{executables:{win32:["lotdgame.exe"]},name:"Deadlight"},{executables:{win32:["defensegrid2_release.exe"]},name:"Defense Grid 2"},{executables:{win32:["defiance.exe"]},name:"Defiance"},{executables:{win32:["df.exe"]},name:"Delta Force 1"},{executables:{win32:["demul.exe"]},name:"Demul"},{executables:{win32:["depressionquest.exe"]},name:"Depression Quest"},{executables:{win32:["depthgame.exe"]},name:"Depth"},{executables:{win32:["desertsofkharak32.exe","desertsofkharak64.exe"]},name:"Desert of Kharak"},{executables:{win32:["desmume_0.9.11_x86.exe","desmume_0.9.11_x64.exe"]},name:"DeSmuME"},{executables:{win32:["deusex.exe"]},name:"Deus Ex"},{executables:{win32:["dxhr.exe","dxhrdc.exe"]},name:"Deus Ex: Human Revolution"},{executables:{win32:["/devildaggers/dd.exe"]},name:"Devil Daggers"},{executables:{win32:["devimaycry4.exe","devilmaycry4_dx9.exe","devilmaycry4_dx10.exe","devilmaycry4specialedition.exe"]},name:"Devil May Cry 4"},{executables:{win32:["devilian.exe"]},name:"Devilian"},{executables:{win32:["diablo.exe"]},name:"Diablo"},{executables:{win32:["diablo ii.exe","/diablo ii/game.exe"]},name:"Diablo 2"},{executables:{darwin:["diablo iii.app"],win32:["diablo iii.exe","diablo iii64.exe"]},name:"Diablo 3",overlay:!0},{executables:{win32:["diadraempty.exe","diadraempty154lw.exe","diadraempty154plus.exe"]},name:"Diadra Empty"},{executables:{win32:["dirt2_game.exe"]},name:"DiRT 2"},{executables:{win32:["dirt3_game.exe"]},name:"DiRT 3"},{executables:{win32:["drt.exe"]},name:"Dirt Rally"},{executables:{win32:["shootergame-win32-shipping.exe"]},name:"Dirty Bomb"},{executables:{win32:["/disgaea pc/dis1_st.exe"]},name:"Disgaea "},{executables:{win32:["dishonored.exe"]},name:"Dishonored"},{executables:{win32:["disneyinfinity2.exe","disneyinfinity3.exe"]},name:"Disney Infinity"},{executables:{win32:["distance.exe"]},name:"Distance"},{executables:{win32:["/divinity original sin/bin/eocapp.exe"]},name:"Divinity - Original Sin"},{executables:{win32:["/divinity original sin 2/bin/eocapp.exe"]},name:"Divinity - Original Sin 2"},{executables:{win32:["dmc-devilmaycry.exe"]},name:"DmC Devil May Cry"},{executables:{win32:["dofus.exe"]},name:"Dofus"},{executables:{win32:["dolphin.exe"]},name:"Dolphin"},{executables:{win32:["dominions4.exe"]},name:"Dominions 4"},{executables:{win32:["dontstarve_steam.exe"]},name:"Don't Starve"},{executables:{win32:["doom.exe"]},name:"Doom 3"},{executables:{win32:["dota.exe"]},name:"DOTA"},{executables:{darwin:["dota_osx.app"],win32:["dota2.exe"]},name:"DOTA 2",overlay:!0},{executables:{win32:["doubledragon.exe"]},name:"Double Dragon Neon"},{executables:{win32:["downwell.exe"]},name:"Downwell"},{executables:{win32:["dragonage2.exe"]},name:"Dragon Age II"},{executables:{win32:["dragonageinquisition.exe"]},name:"Dragon Age: Inquisition"},{executables:{win32:["daorigins.exe"]},name:"Dragon Age: Origins"},{executables:{win32:["dbxv.exe"]},name:"Dragon Ball XenoVerse"},{executables:{win32:["dragonfinsoup.exe"]},name:"Dragon Fin Soup"},{executables:{win32:["dnlauncher.exe","dragonnest.exe"]},name:"Dragon Nest"},{executables:{win32:["dqxgame.exe"]},name:"Dragon Quest X: Mezameshi Itsutsu no Shuzoku Online"},{executables:{win32:["ddo.exe"]},name:"Dragon's Dogma Online"},{executables:{win32:["ddda.exe"]},name:"Dragon's Dogma: Dark Arisen"},{executables:{win32:["/dropzone/bin/juggernautclient_x32_rel.exe"]},name:"Dropzone"},{executables:{win32:["duckgame.exe"]},name:"Duck Game"},{executables:{win32:["duelyst.exe"]},name:"Duelyst"},{executables:{win32:["dukeforever.exe"]},name:"Duke Nukem Forever"},{executables:{win32:["dnf.exe"]},name:"Dungeon & Fighter"},{executables:{win32:["/dungeon defenders/binaries/win32/dundefgame.exe"]},name:"Dungeon Defenders"},{executables:{win32:["dundeflauncher.exe"]},name:"Dungeon Defenders II"},{executables:{win32:["dfo.exe"]},name:"Dungeon Fighter Online"},{executables:{win32:["dungeonoftheendless.exe"]},name:"Dungeon of the Endless"},{executables:{win32:["dungeonland.exe"]},name:"Dungeonland"},{executables:{win32:["/dungeons and dragons online/turbinelauncher.exe","dndclient.exe"]},name:"Dungeons & Dragons Online"},{executables:{win32:["dustaet.exe"]},name:"Dust: An Elysian Tail"},{executables:{darwin:["dustforce.app"],win32:["dustforce.exe"]},name:"Dustforce"},{executables:{win32:["dwarf fortress.exe"]},name:"Dwarf Fortress"},{executables:{win32:["dyinglightgame.exe"]},name:"Dying Light"},{executables:{win32:["eye.exe"]},name:"E.Y.E.: Divine Cybermancy"},{executables:{win32:["eee.exe"]},name:"Ed, Edd n Eddy: The Mis-Edventures"},{executables:{win32:["the elder scrolls legends.exe"]},name:"Elder Scrolls Legends"},{executables:{win32:["/webzen/eloa/client2.0.exe"]},name:"Elite Lord of Alliance"},{executables:{win32:["elitedangerous32.exe","elitedangerous64.exe","edlaunch.exe","elitedangerous.exe"]},name:"Elite: Dangerous"},{executables:{win32:["essteam.exe","elsword.exe"]},name:"Elsword"},{executables:{win32:["empire.exe"]},name:"Empire: Total War"},{executables:{win32:["endlesslegend.exe"]},name:"Endless Legend"},{executables:{win32:["entropia.exe"]},name:"Entropia Universe"},{executables:{win32:["eurotrucks2.exe"]},name:"Euro Truck Simulator 2"},{executables:{darwin:["eu4.app"],win32:["eu4.exe"]},name:"Europa Universalis 4"},{executables:{win32:["exefile.exe"]},name:"EVE Online"},{executables:{darwin:["everlasting summer.app"]},name:"Everlasting Summer"},{executables:{win32:["eqgame.exe","eqclient.exe"]},name:"EverQuest"},{executables:{win32:["everquest2.exe"]},name:"EverQuest II"},{executables:{win32:["evoland2.exe"]},name:"Evoland 2"},{executables:{win32:["evolve.exe"]},name:"Evolve"},{executables:{win32:["ezquake-gl.exe"]},name:"EZ Quake"},{executables:{win32:["fear2.exe"]},name:"F.E.A.R. 2: Project Origin"},{executables:{win32:["fable.exe"]},name:"Fable: The Lost Chapters"},{executables:{win32:["factorio.exe"]},name:"Factorio"},{executables:{win32:["fairyfencer.exe"]},name:"Fairy Fencer F"},{executables:{win32:["falloutw.exe"]},name:"Fallout"},{executables:{win32:["fallout2.exe","fallout2hr.exe"]},name:"Fallout 2"},{executables:{win32:["fallout3.exe"]},name:"Fallout 3"},{executables:{win32:["fallout4.exe","fallout4launcher.exe"]},name:"Fallout 4"},{executables:{win32:["falloutnv.exe"]},name:"Fallout: New Vegas"},{executables:{win32:["thmhj.exe"]},name:"Fantastic Danmaku Festival"},{executables:{win32:["farcry2.exe"]},name:"Far Cry 2"},{executables:{win32:["farcry3.exe"]},name:"Far Cry 3"},{executables:{win32:["farcry4.exe"]},name:"Far Cry 4"},{executables:{win32:["farmingsimulator2015game.exe"]},name:"Farming Simulator 15"},{executables:{win32:["fifa15.exe"]},name:"FIFA 15"},{executables:{win32:["fifa16.exe"]},name:"FIFA 16"},{executables:{win32:["fifa17.exe"]},name:"FIFA 17"},{executables:{win32:["fightcade.exe"]},name:"FightCade"},{executables:{win32:["ff3_launcher.exe"]},name:"Final Fantasy III"},{executables:{win32:["ffv_game.exe"]},name:"Final Fantasy V"},{executables:{win32:["ff6.exe"]},name:"FINAL FANTASY VI"},{executables:{win32:["ff7_en.exe"]},name:"Final Fantasy VII"},{executables:{win32:["ff8_en.exe"]},name:"Final Fantasy VIII"},{executables:{win32:["pol.exe"]},name:"FINAL FANTASY XI"},{executables:{win32:["ffxiiiimg.exe"]},name:"Final Fantasy XIII"},{executables:{win32:["ffxiii2.exe"]},name:"Final Fantasy XIII-2"},{executables:{darwin:["final fantasy xiv.app"],win32:["ffxiv.exe","ffxiv_dx11.exe"]},name:"FINAL FANTASY XIV",overlay:!0},{executables:{win32:["firefallclient.exe"]},name:"Firefall"},{executables:{win32:["fishingplanet.exe"]},name:"Fishing Planet"},{executables:{win32:["fivem.exe","fivereborn.exe"]},name:"FiveM"},{executables:{win32:["flamebreak.exe"]},name:"Flamebreak"},{executables:{win32:["ffr.exe"]},name:"Flash Flash Revolution"},{executables:{win32:["/football manager 2014/fm.exe"]},name:"Football Manager 2014"},{executables:{win32:["/football manager 2016/fm.exe"]},name:"Football Manager 2016"},{executables:{win32:["/faforever/bin/forgedalliance.exe"]},name:"Forged Alliance Forever"},{executables:{win32:["forhonor.exe"]},name:"For Honor"},{executables:{win32:["forza_x64_release_final.exe"]},name:"Forza Horizon 3"},{executables:{win32:["spacegame-win64-shipping.exe"]},name:"Fractured Space"},{executables:{win32:["fran bow.exe"]},name:"Fran Bow"},{executables:{win32:["ftp.exe"]},name:"Free To Play"},{executables:{win32:["fp.exe"]},name:"Freedom Planet"},{executables:{win32:["freestyle2.exe"]},name:"Freestyle Basketball 2"},{executables:{win32:["from_the_depths.exe"]},name:"From The Depths"},{executables:{win32:["/frontier/client.jar"]},name:"Frontier"},{executables:{win32:["ftlgame.exe"]},name:"FTL: Faster Than Light"},{executables:{win32:["gahkthun.exe"]},name:"Gahkthun of the Golden Lightning"},{executables:{win32:["galciv3.exe"]},name:"Galactic Civilization 3"},{executables:{win32:["thrones.exe"]},name:"Game of Thrones"},{cmdline:"-game garrysmod",executables:{darwin:[">hl2_osx"],win32:[">hl2.exe"]},name:"Garry's Mod",overlay:!0},{executables:{win32:["skydrift.exe"]},name:"Gensou SkyDrift"},{executables:{win32:["rxgame-win64-shipping.exe"]},name:"Gigantic"},{executables:{win32:["goatgame-win32-shipping.exe"]},name:"Goat Simulator"},{executables:{win32:["ge.exe"]},name:"Granado Espada"},{executables:{win32:["gtaiv.exe"]},name:"Grand Theft Auto 4"},{executables:{win32:["gta5.exe"]},name:"Grand Theft Auto V",overlay:!1},{executables:{win32:["gta_sa.exe","gta-sa.exe"]},name:"Grand Theft Auto: San Andreas"},{executables:{win32:["gta--vc.exe"]},name:"Grand Theft Auto: Vice City"},{executables:{win32:["grandia2.exe"]},name:"Grandia 2"},{executables:{win32:["caggameserver.exe"]},name:"Grav"},{executables:{win32:["goog.exe"]},name:"Grey Goo"},{executables:{win32:["grid2.exe"]},name:"Grid 2"},{executables:{win32:["gridautosport_avx.exe"]},name:"GRID: Autosport"},{executables:{win32:["grim dawn.exe"]},name:"Grim Dawn"},{executables:{win32:["grisaia.exe"]},name:"Grisaia no Kajitsu"},{executables:{win32:["growhome.exe"]},name:"Grow Home"},{executables:{win32:["gw.exe"]},name:"Guild Wars"},{executables:{darwin:["gw2.app"],win32:["gw2.exe","gw2-64.exe"]},name:"Guild Wars 2",overlay:!0},{executables:{win32:["/guilty gear xrd -revelator-/binaries/win32/bootggxrd.exe","guiltygearxrd.exe"]},name:"Guilty Gear Xrd -REVELATOR-"},{executables:{win32:["/guilty gear xrd -sign-/binaries/win32/bootggxrd.exe"]},name:"Guilty Gear Xrd -SIGN-"},{executables:{win32:["ggxxacpr_win.exe"]},name:"Guilty Gear XX Accent Core Plus R"},{executables:{win32:["gh3.exe"]},name:"Guitar Hero III: Legends of Rock"},{executables:{win32:["ghwt.exe"]},name:"Guitar Hero World Tour"},{executables:{darwin:["gunsoficarusonline.app"],win32:["gunsoficarusonline.exe"]},name:"Guns of Icarus - Online"},{executables:{win32:["/h1z1/h1z1.exe"]},name:"H1Z1: Just Survive",overlay:!1},{executables:{win32:["/h1z1 king of the kill/h1z1.exe"]},name:"H1Z1: King of the Kill"},{executables:{win32:["hacknet.exe"]},name:"Hacknet"},{executables:{win32:["hl.exe"]},name:"Half Life"},{cmdline:"-game hl2",executables:{darwin:[">hl2_osx"],win32:["hl2hl2.exe",">hl2.exe"]},name:"Half Life 2"},{executables:{win32:["halo5forge.exe"]},name:"Halo 5: Forge"},{executables:{win32:["halo_online.exe"]},name:"Halo Online"},{executables:{win32:["/common/team fortress 2/bin/hammer.exe"]},name:"Hammer Editor"},{executables:{win32:["hand of fate.exe"]},name:"Hand of Fate"},{executables:{darwin:["hate plus.app"]},name:"Hate Plus"},{executables:{win32:["hatoful.exe"]},name:"Hatoful Boyfriend"},{executables:{win32:["hawkengame-win32-shipping.exe"]},name:"Hawken"},{executables:{darwin:["hearthstone.app"],win32:["hearthstone.exe"]},name:"Hearthstone",overlay:!0},{executables:{win32:["heavyweapon.exe"]},name:"Heavy Weapon"},{executables:{win32:["helldivers.exe"]},name:"HELLDIVERS"},{executables:{win32:["hero_siege.exe"]},name:"Hero Siege"},{executables:{win32:["hng.exe"]},name:"Heroes and Generals"},{executables:{win32:["hon.exe"]},name:"Heroes of Newerth"},{executables:{darwin:["heroes.app"],win32:["heroes of the storm.exe","heroesofthestorm_x64.exe","heroesofthestorm.exe"]},name:"Heroes of the Storm",overlay:!0},{executables:{win32:["/koggames/herowarz/mclauncher.exe"]},name:"HeroWarz"},{executables:{win32:["hexpatch.exe","hex.exe"]},name:"Hex: Shards of Fate"},{executables:{win32:["hillclimbracing.windows .exe"]},name:"Hill Climb Racing"},{executables:{win32:["hma.exe"]},name:"Hitman: Absolution"},{executables:{win32:["hitmanbloodmoney.exe"]},name:"Hitman: Blood Money"},{executables:{win32:["homefront.exe"]},name:"Homefront"},{executables:{darwin:["huniepop.app"],win32:["huniepop.exe"]},name:"HuniePop"},{executables:{win32:["hurtworldclient.exe"]},name:"Hurtworld"},{executables:{win32:["neptuniarebirth1.exe"]},name:"Hyperdimension Neptunia Re;Birth1"},{executables:{win32:["neptuniarebirth2.exe"]},name:"Hyperdimension Neptunia Re;Birth2"},{executables:{win32:["neptuniarebirth3.exe"]},name:"Hyperdimension Neptunia Re;Birth3"},{executables:{win32:["i wanna be the calamity fortune.exe"]},name:"I Wanna Be the Calamity Fortune"},{executables:{win32:["iwbtgbeta(slomo).exe","iwbtgbeta(fs).exe"]},name:"I Wanna Be The Guy"},{executables:{win32:["ibbobb.exe"]},name:"ibb & obb"},{executables:{win32:["advhd.exe"]},name:"If My Heart Had Wings"},{executables:{win32:["openitg-pc.exe"]},name:"In The Groove 2"},{executables:{win32:["infantry.exe"]},name:"Infantry"},{executables:{win32:["insurgency.exe"]},name:"Insurgency"},{executables:{win32:["intruder.exe"]},name:"Intruder"},{executables:{win32:["ivac.exe"]},name:"IvAc - IVAO vATC"},{executables:{win32:["invisibleinc.exe"]},name:"Invisible Inc."},{executables:{win32:["iracinglauncher.exe","iracingsim.exe","iracingsim64.exe"]},name:"iRacing"},{executables:{win32:["tjpp.exe"]},name:"Jackbox Party Pack"},{executables:{win32:["jadeempire.exe"]},name:"Jade Empire"},{executables:{win32:["jurassicpark100.exe"]},name:"Jurassic Park The Game"},{executables:{win32:["justcause.exe"]},name:"Just Cause"},{executables:{win32:["justcause2.exe"]},name:"Just Cause 2"},{executables:{win32:["justcause3.exe"]},name:"Just Cause 3"},{executables:{win32:["kshootmania.exe"]},name:"K-Shoot Mania"},{executables:{win32:["age.exe"]},name:"Kamidori Alchemy Meister"},{executables:{win32:["kancolleviewer.exe","electronicobserver.exe"]},name:"Kantai Collection"},{executables:{win32:["kara no shojo 2.exe"]},name:"Kara no Shoujo 2"},{executables:{win32:["nexonplay.exe"]},name:"Kart Rider"},{executables:{darwin:["katawashoujo.app"]},name:"Katawa Shoujo"},{executables:{win32:["ktane.exe"]},name:"Keep Talking and Nobody Explodes"},{executables:{win32:["fusion.exe"]},name:"Kega Fusion"},{executables:{win32:["ksp.exe","ksp_x64.exe"]},name:"Kerbal Space Program"},{executables:{win32:["killingfloor.exe"]},name:"Killing Floor"},{executables:{win32:["kfgame.exe"]},name:"Killing Floor 2"},{executables:{win32:["kindredspirits.exe"]},name:"Kindred Spirits on the Roof"},{executables:{win32:["kag.exe"]},name:"King Arthur's Gold"},{executables:{win32:["kofxiii.exe"]},name:"King Of Fighters XIII"},{executables:{win32:["king's quest 1 sci.exe"]},name:"King's Quest I"},{executables:{win32:["king's quest 2.exe"]},name:"King's Quest II"},{executables:{win32:["king's quest 3.exe"]},name:"King's Quest III"},{executables:{win32:["king's quest 4.exe"]},name:"King's Quest IV"},{executables:{win32:["king's quest 5.exe"]},name:"King's Quest V"},{executables:{win32:["king's quest 6 win.exe"]},name:"King's Quest VI"},{executables:{win32:["king's quest 7.exe"]},name:"King's Quest VII"},{executables:{win32:["reckoning.exe"]},name:"Kingdoms of Amalur: Reckoning"},{executables:{win32:["kopp2.exe"]},name:"Knights of Pen & Paper II"},{executables:{win32:["krosmaster arena.exe"]},name:"Krosmaster Arena"},{executables:{win32:["lanoire.exe"]},name:"L.A. Noire"},{executables:{win32:["lackeyccg.exe"]},name:"LackeyCCG"},{executables:{win32:["landmark64.exe"]},name:"Landmark"},{executables:{win32:["lcgol.exe"]},name:"Lara Croft and the Guardian of Light"},{executables:{darwin:["lollauncher.app"],win32:["league of legends.exe"]},name:"League of Legends",overlay:!0},{executables:{win32:["/garenaloltw/gamedata/apps/loltw/lol.exe","/garenalolth/gamedata/apps/lolth/lolex.exe"]},name:"League of Legends (TW)"},{executables:{win32:["left4dead.exe"]},name:"Left 4 Dead"},{cmdline:"-game left4dead2",executables:{darwin:[">hl2_osx"],win32:["left4dead2.exe"]},name:"Left 4 Dead 2"},{executables:{win32:["legendofdungeon.exe"]},name:"Legend of Dungeon"},{executables:{darwin:["lethalleague.app"],win32:["lethalleague.exe"]},name:"Lethal League"},{executables:{win32:["yo_cm_client.exe"]},name:"Life is Feudal"},{executables:{win32:["lifeisstrange.exe"]},name:"Life Is Strange"},{executables:{win32:["lrff13.exe"]},name:"LIGHTNING RETURNS: FINAL FANTASY XIII"},{executables:{win32:["limbo.exe"]},name:"Limbo"},{executables:{win32:["lro.exe"]},name:"Limit Ragnarok Online"},{executables:{win32:["lineage.exe"]},name:"Lineage"},{executables:{win32:["l2.bin","l2.exe","lineageii.exe"]},name:"Lineage II"},{executables:{win32:["lama2d-win64-shipping.exe"]},name:"Llama in the Void"},{executables:{win32:["/atari/locomotion/loco.exe"]},name:"Locomotion"},{executables:{win32:["longlivethequeen.exe"]},name:"Long Live The Queen"},{executables:{win32:["lotroclient.exe","/the lord of the rings online/turbinelauncher.exe"]},name:"Lord of the Rings Online"},{executables:{win32:["lordsofthefallen.exe"]},name:"Lords of the Fallen"},{executables:{win32:["lostsaga.exe","loginlaunchern.exe"]},name:"Lost Saga"},{executables:{win32:["lost world zero.exe"]},name:"Lost World Zero"},{executables:{win32:["llo_beta2.exe"]},name:"Love Live Online"},{executables:{win32:["lovelyplanet.exe"]},name:"Lovely Planet"},{executables:{win32:["loversinadangerousspacetime.exe"]},name:"Lovers in a Dangerous Spacetime"},{executables:{win32:["lumini_win64.exe"]},name:"Lumini"},{executables:{win32:["lr2.exe","lr2body.exe"]},name:"Lunatic Rave 2"},{executables:{win32:["lyne.exe"]},name:"LYNE"},{executables:{win32:["mugen.exe"]},name:"M.U.G.E.N"},{executables:{win32:["mabinogi.exe"]},name:"Mabinogi"},{executables:{win32:["heroes.exe"]},name:"Mabinogi Heroes (Vindictus)"},{executables:{win32:["madmax.exe"]},name:"Mad Max"},{executables:{win32:["magicduels.exe"]},name:"Magic Duels"},{executables:{win32:["mba.exe"]},name:"Magical Battle Arena"},{executables:{win32:["mban_m.exe","mban_f.exe"]},name:"Magical Battle Arena NEXT"},{executables:{win32:["magicite.exe"]},name:"Magicite"},{executables:{win32:["magicka.exe"]},name:"Magicka"},{executables:{win32:["maniaplanet.exe"]},name:"ManiaPlanet"},{executables:{win32:["mapleroyals.exe"]},name:"MapleRoyals"},{executables:{win32:["maplestory.exe"]},name:"MapleStory"},{executables:{win32:["maplestory2.exe"]},name:"MapleStory 2"},{executables:{win32:["/mark_of_the_ninja/bin/game.exe"]},name:"Mark of the Ninja"},{executables:{win32:["marvelheroes2015.exe"]},name:"Marvel Heroes 2015"},{executables:{win32:["marvelheroes2016.exe"]},name:"Marvel Heroes 2016"},{executables:{win32:["masseffect.exe"]},name:"Mass Effect"},{executables:{win32:["masseffect2.exe"]},name:"Mass Effect 2"},{executables:{win32:["masseffectandromeda.exe"]},name:"Mass Effect: Andromeda"},{executables:{win32:["masseffect3demo.exe","masseffect3.exe"]},name:"Mass Effect 3"},{executables:{win32:["masterreboot.exe"]},name:"Master Reboot"},{executables:{win32:["/client.win32/mxmclient.bin"]},name:"Master x Master"},{executables:{win32:["maxpayne3.exe"]},name:"Max Payne 3"},{executables:{win32:["mechwarrioronline.exe","mwoclient.exe"]},name:"MechWarrior Online"},{executables:{win32:["medarc.exe"]},name:"MedArc"},{executables:{win32:["mbaa.exe"]},name:"Melty Blood Actress Again: Current Code"},{executables:{win32:["mow_assualt_squad.exe"]},name:"Men Of War: Assault Squad"},{executables:{win32:["mowas2.exe"]},name:"Men Of War: Assault Squad 2"},{executables:{win32:["mgsvmgo.exe"]},name:"Metal Gear Online 3"},{executables:{win32:["metal gear rising revengeance.exe"]},name:"Metal Gear Rising: Revengeance"},{executables:{win32:["mgsi.exe"]},name:"Metal Gear Solid"},{executables:{win32:["mgs2_sse.exe"]},name:"Metal Gear Solid 2: Substance"},{executables:{win32:["mgsgroundzeroes.exe"]},name:"Metal Gear Solid V: Ground Zeroes"},{executables:{win32:["mgsvtpp.exe"]},name:"Metal Gear Solid V: The Phantom Pain"},{executables:{win32:["metro2033.exe"]},name:"Metro 2033"},{executables:{win32:["metroll.exe"]},name:"Metro Last Light"},{executables:{win32:["fsx.exe"]},name:"Microsoft Flight Simulator X"},{executables:{win32:["shadowofmordor.exe"]},name:"Middle-earth: Shadow of Mordor"},{executables:{win32:["might & magic heroes vi.exe"]},name:"Might & Magic Heroes VI"},{executables:{win32:["mn9game.exe"]},name:"Mighty Number 9"},{cmdline:"net.minecraft.client.main.Main",executables:{darwin:[">java"],win32:[">javaw.exe","/minecraft/runtime/jre-x64/1.8.0_25/bin/javaw.exe"]},name:"Minecraft",overlay:!0},{executables:{win32:["mirrorsedge.exe"]},name:"Mirror's Edge"},{executables:{win32:["/mirrors edge catalyst/mirrorsedgecatalyst.exe"]},name:"Mirror's Edge: Catalyst"},{executables:{win32:["monaco.exe"]},name:"Monaco: What's Yours Is Mine"},{executables:{win32:["mhf.exe"]},name:"Monster Hunter Frontier"},{executables:{win32:["/tencentgame/monster hunter online/tcls/client.exe","mhoclient.exe"]},name:"Monster Hunter Online"},{executables:{win32:["morrowind.exe"]},name:"Morrowind"},{executables:{win32:["morrowind launcher.exe"]},name:"Morrowind Launcher",overlay:!1},{executables:{win32:["mk10.exe"]},name:"Mortal Kombat X"},{executables:{win32:["mountain.exe"]},name:"Mountain"},{executables:{win32:["mudlet.exe"]},name:"Mudlet"},{executables:{win32:["mugensouls.exe"]},name:"Mugen Souls"},{executables:{win32:["multi theft auto.exe"]},name:"Multi Theft Auto San Andreas"},{executables:{win32:["napoleon.exe"]},name:"Napoleon: Total War"},{executables:{win32:["ns3fb.exe"]},name:"Naruto Shippuden Ultimate Ninja Storm 3 Full Burst"},{executables:{win32:["nsunsr.exe"]},name:"Naruto Shippuden Ultimate Ninja Storm Revolution"},{executables:{win32:["ns2.exe"]},name:"Natural Selection 2"},{executables:{win32:["nfs16.exe"]},name:"Need For Speed 2016"},{executables:{win32:["nfsc.exe"]},name:"Need for Speed: Carbon"},{executables:{win32:["/ea games/nfs underground/speed.exe"]},name:"Need For Speed: Underground"},{executables:{win32:["nekopara_vol0.exe"]},name:"Nekopara Vol. 0"},{executables:{win32:["nekopara_vol1.exe"]},name:"Nekopara Vol. 1"},{executables:{win32:["neoaquarium.exe"]},name:"NEO AQUARIUM - The King of Crustaceans"},{executables:{win32:["neoscavenger.exe"]},name:"Neo Scavenger"},{executables:{win32:["neocron.exe"]},name:"Neocron Classic"},{executables:{win32:["neocronclient.exe"]},name:"Neocron Evolution"},{executables:{win32:["/cryptic studios/neverwinter/live/gameclient.exe","/neverwinter_en/neverwinter.exe"]},name:"Neverwinter Online"},{executables:{win32:["6kinoko.exe"]},name:"New Super Marisa Land"},{executables:{win32:["wreckfest.exe","wreckfest_x64.exe"]},name:"Next Car Game: Wreckfest"},{executables:{win32:["nicole.exe"]},name:"Nicole (Otome Version)"},{executables:{win32:["nidhogg.exe"]},name:"Nidhogg"},{executables:{win32:["night in the woods.exe"]},name:"Night in the Woods"},{executables:{win32:["fceux.exe"]},name:"Nintendo Emulator"},{executables:{win32:["nitronicrush.exe"]},name:"Nitronic Rush"},{executables:{win32:["/binaries/nms.exe"]},name:"No Man's Sky"},{executables:{win32:["nosgoth.exe"]},name:"Nosgoth"},{executables:{win32:["novaro.exe"]},name:"Nova Ragnarok Online"},{executables:{win32:["nuclearthrone.exe"]},name:"Nuclear Throne"},{executables:{win32:["nulldc_win32_release-notrace.exe"]},name:"nullDC"},{executables:{win32:["offspring fling.exe"]},name:"Offspring Fling"},{executables:{win32:["olliolli2.exe"]},name:"OlliOlli2"},{executables:{win32:["oppw3.exe"]},name:"One Piece Pirate Warriors 3"},{executables:{win32:["oni.exe"]},name:"Oni"},{executables:{win32:["openttd.exe"]},name:"OpenTTD"},{executables:{win32:["orcsmustdie2.exe"]},name:"Orcs Must Die! 2"},{executables:{win32:["order of battle - pacific.exe"]},name:"Order of Battle"},{executables:{win32:["organtrail.exe"]},name:"Organ Trail"},{executables:{win32:["ori.exe"]},name:"Ori and the Blind Forest"},{executables:{win32:["osu!.exe"]},name:"osu!",overlay:!0},{executables:{darwin:["outlast.app"],win32:["olgame.exe"]},name:"Outlast"},{executables:{win32:["overwatch.exe","gameclientapp.exe","overwatch launcher.exe"]},name:"Overwatch",overlay:!0},{executables:{win32:["paladins.exe"]},name:"Paladins"},{executables:{win32:["projectg.exe"]},name:"PangYa!"},{executables:{win32:["papersplease.exe"]},name:"Papers, Please"},{executables:{win32:["orionclient-win64-shipping.exe"]},name:"Paragon"},{executables:{win32:["pathofexilesteam.exe","pathofexile.exe"]},name:"Path of Exile"},{executables:{win32:["/payday/payday_win32_release.exe"]},name:"PAYDAY"},{executables:{win32:["payday2_win32_release.exe"]},name:"PAYDAY 2"},{executables:{win32:["/payday the heist/payday_win32_release.exe"]},name:"PAYDAY: The Heist"},{executables:{win32:["pcsx2-r5875.exe","pcsx2.exe"]},name:"PCSX2"},{executables:{win32:["/peggle/popcapgame1.exe"]},name:"Peggle Deluxe"},{executables:{win32:["/peggleextreme/popcapgame1.exe"]},name:"Peggle Extreme"},{executables:{win32:["perpetuum.exe"]},name:"Perpetuum Online"},{executables:{win32:["pso.exe"]},name:"Phantasy Star Online"},{executables:{win32:["pso2.exe"]},name:"Phantasy Star Online 2"},{executables:{win32:["psobb.exe"]},name:"Phantasy Star Online: Blue Burst"},{executables:{win32:["pbbg_win32.exe"]},name:"Phantom Break: Battle Grounds"},{executables:{win32:["phase_shift.exe"]},name:"Phase Shift"},{executables:{win32:["pillarsofeternity.exe"]},name:"Pillars of Eternity"},{executables:{win32:["pinaball arcade.exe"]},name:"Pinball Arcade"},{executables:{win32:["pirate.exe","pirate101.exe"]},name:"Pirate101"},{executables:{win32:["pixel_dungeons.exe"]},name:"Pixel Dungeon"},{executables:{win32:["pto_c.exe"]},name:"Pixel Tactics Online"},{executables:{win32:["shooterultimate.exe"]},name:"PixelJunk Shooter Ultimate"},{executables:{win32:["plagueincevolved.exe"]},name:"Plague Inc."},{executables:{win32:["torment.exe"]},name:"Planescape: Torment"},{executables:{win32:["pa.exe"]},name:"Planetary Annihilation"},{executables:{win32:["planetside2_x86.exe","planetside2_x64.exe"]},name:"Planetside 2"},{executables:{win32:["/plants vs zombies garden warfare 2/gw2.main_win64_retail.exe"]},name:"Plants vs Zombies Garden Warfare 2"},{executables:{win32:["plantsvszombies.exe"]},name:"Plants vs. Zombies"},{executables:{win32:["poi.exe"]},name:"Poi"},{executables:{win32:["pokemmo.exe"]},name:"PokeMMO"},{executables:{win32:["pokemoninsurgence.exe"]},name:"Pokemon Insurgence"},{executables:{win32:["pro64_93_3.exe"]},name:"Pokemon Revolution Online"},{executables:{win32:["pokemonshowdown.exe"]},name:"Pokemon Showdown"},{executables:{win32:["pokemon trading card game online.exe"]},name:"Pokemon Trading Card Game Online"},{executables:{win32:["pokernight2.exe"]},name:"Poker Night 2"},{executables:{win32:["celebritypoker.exe"]},name:"Poker Night at the Inventory"},{executables:{win32:["pokerstars.exe"]},name:"PokerStars"},{executables:{win32:["hl2p.exe"]},name:"Portal"},{executables:{win32:["portal2.exe"]},name:"Portal 2"},{executables:{win32:["ppssppwindows.exe","ppssppwindows64.exe"]},name:"PPSSPP"},{executables:{win32:["prepar3d.exe"]},name:"Prepar3D"},{executables:{win32:["primalcarnagegame.exe"]},name:"Primal Carnage"},{executables:{win32:["prison architect.exe"]},name:"Prison Architect"},{executables:{win32:["pcars.exe"]},name:"Project Cars"},{executables:{win32:["projectzomboid64.exe","projectzomboid32.exe"]},name:"Project Zomboid"},{executables:{win32:["project64.exe"]},name:"Project64"},{executables:{win32:["rik.exe"]},name:"ProjectRIK"},{executables:{win32:["/proteus/proteus.exe"]},name:"Proteus"},{executables:{win32:["puyovs.exe"]},name:"Puyo Puyo VS 2"},{executables:{win32:["pyrite heart.exe"]},name:"Pyrite Heart"},{executables:{win32:["quakechampions.exe"]},name:"Quake Champions"},{executables:{win32:["quake1.exe"]},name:"Quake I"},{executables:{win32:["quake2.exe"]},name:"Quake II"},{executables:{win32:["quake3.exe"]},name:"Quake III"},{executables:{win32:["quakelive.exe","quakelive_steam.exe"]},name:"Quake Live"},{executables:{win32:["qubegame.exe"]},name:"QUBE"},{executables:{win32:["quiplash.exe"]},name:"Quiplash"},{executables:{win32:["racethesun.exe"]},name:"Race The Sun"},{executables:{win32:["rage.exe"]},name:"RAGE"},{executables:{win32:["ragexe.exe"]},name:"Ragnarok Online"},{executables:{win32:["clragexe.exe"]},name:"Ragnarok Online Classic"},{executables:{win32:["rainbowsix.exe","rainbowsixgame.exe"]},name:"Rainbow Six Siege",overlay:!0},{executables:{win32:["rayman2.exe"]},name:"Rayman 2: The Great Escape"},{executables:{win32:["rayman legends.exe"]},name:"Rayman Legends"},{executables:{win32:["reassemblyrelease.exe"]},name:"Reassembly"},{executables:{win32:["rebelgalaxygog.exe","rebelgalaxysteam.exe"]},name:"Rebel Galaxy"},{executables:{win32:["recore.exe"]},name:"ReCore"},{executables:{win32:["reflex.exe"]},name:"Reflex"},{executables:{win32:["/regen0972sse2/regen.exe"]},name:"Regen"},{executables:{win32:["bio4.exe"]},name:"Resident Evil 4 HD"},{executables:{win32:["bhd.exe"]},name:"Resident Evil HD"},{executables:{win32:["re5dx9.exe"]},name:"Resident Evil 5"},{executables:{win32:["bh6.exe"]},name:"Resident Evil 6"},{executables:{win32:["rerev.exe"]},name:"Resident Evil Revelations"},{executables:{win32:["rerev2.exe"]},name:"Resident Evil Revelations 2"},{executables:{win32:["retrocityrampage.exe"]},name:"Retro City Rampage"},{executables:{win32:["retroarch.exe"]},name:"RetroArch"},{executables:{win32:["wolfsp.exe","wolfmp.exe"]},name:"Return to Castle Wolfenstein"},{executables:{darwin:["reus.app"],win32:["reus.exe"]},name:"Reus"},{executables:{win32:["/revelation online/game/tianyu.exe"]},name:"Revelation Online"},{executables:{win32:["rfactor.exe"]},name:"rFactor"},{executables:{win32:["rfactor2.exe"]},name:"rFactor 2"},{executables:{win32:["rift.exe","rift_x64.exe"]},name:"Rift"},{executables:{win32:["rimworld914win.exe"]},name:"RimWorld"},{executables:{win32:["patriots.exe"]},name:"Rise of Nations Extended"},{executables:{win32:["rottr.exe"]},name:"Rise of the Tomb Raider"},{executables:{darwin:["rising angels - reborn.app"]},name:"Rising Angels - Reborn"},{executables:{win32:["rogame.exe"]},name:"Rising Storm/Red Orchestra 2"},{executables:{win32:["risk of rain.exe"]},name:"Risk of Rain"},{executables:{win32:["rivalsofaether.exe"]},name:"Rivals of Aether"},{executables:{win32:["robloxplayerlauncher.exe","roblox.exe","robloxplayerbeta.exe"]},name:"ROBLOX"},{executables:{win32:["robocraft.exe","robocraftclient.exe"]},name:"Robocraft"},{executables:{win32:["disco dodgeball.exe"]},name:"Robot Roller-Derby Disco Dodgeball"},{executables:{win32:["rocketleague.exe"]},name:"Rocket League",overlay:!0},{executables:{win32:["rocksmith2014.exe"]},name:"Rocksmith 2014"},{executables:{win32:["roguelegacy.exe"]},name:"Rogue Legacy"},{executables:{win32:["roguesystemsim.exe"]},name:"Rogue System"},{executables:{win32:["rct2.exe","openrct2.exe"]},name:"RollerCoaster Tycoon 2"},{executables:{win32:["rks.exe","rks_e.exe"]},name:"Rosenkreuzstilette Grollschwert"},{executables:{win32:["rotaku.exe"]},name:"Rotaku Society"},{executables:{win32:["rpgvxace.exe"]},name:"RPG Maker VX Ace"},{executables:{darwin:["runescape.app"],win32:["swiftkit-rs.exe","runescape.exe"]},name:"RuneScape 3"},{executables:{win32:["osbuddy.exe","osbuddy64.exe","jagexlauncher.exe"]},name:"Old School RuneScape"},{executables:{win32:["rwr_game.exe"]},name:"Running with Rifles"},{executables:{win32:["rustclient.exe"]},name:"Rust",overlay:!1},{executables:{win32:["/stalker call of pripyat/stalker-cop.exe ","/stalker call of pripyat/bin/xrengine.exe"]},name:"S.T.A.L.K.E.R.: Call of Pripyat"},{executables:{win32:["/stalker clear sky/xrengine.exe"]},name:"S.T.A.L.K.E.R Clear Sky"},{executables:{win32:["/talker shadow of chernobyl/bin/xr_3da.exe"]},name:"S.T.A.L.K.E.R.: Shadow of Chernobyl"},{executables:{win32:["s4client.exe"]},name:"S4 League"},{executables:{win32:["sr2_pc.exe"]},name:"Saints Row II"},{executables:{win32:["saintsrowiv.exe"]},name:"Saints Row IV"},{executables:{win32:["saintsrowthethird_dx11.exe","saintsrowthethird.exe"]},name:"Saints Row: The Third"},{executables:{win32:["sakura angels.exe"]},name:"Sakura Angels"},{executables:{win32:["sakura clicker.exe"]},name:"Sakura Clicker"},{executables:{win32:["sakura spirit.exe"]},name:"Sakura Spirit"},{executables:{win32:["sc2vn.exe"]},name:"SC2VN: The e-sport Visual Novel"},{executables:{win32:["screencheat.exe"]},name:"Screencheat"},{executables:{win32:["scrivener.exe"]},name:"Scrivener"},{executables:{win32:["secondlifeviewer.exe"]},name:"Second Life"},{executables:{win32:["secretponchosd3d11.exe"]},name:"Secret Ponchos"},{executables:{win32:["secrets of grindea.exe"]},name:"Secrets of Grindea"},{executables:{win32:["system40.exe"]},name:"Sengoku Rance"},{executables:{win32:["shadowcomplex-win32-egl.exe"]},name:"Shadow Complex"},{executables:{win32:["shadowgrounds.exe"]},name:"Shadowgrounds"},{executables:{win32:["survivor.exe"]},name:"Shadowgrounds: Survivor"},{executables:{win32:["shadowrun.exe"]},name:"Shadowrun"},{executables:{win32:["srhk.exe"]},name:"Shadowrun: Hong Kong"},{executables:{win32:["shantaecurse.exe"]},name:"Shantae and the Pirate's Curse"},{executables:{win32:["shatteredskies.exe"]},name:"Shattered Skies"},{executables:{darwin:["shovelknight.app"],win32:["shovelknight.exe"]},name:"Shovel Knight"},{executables:{win32:["railroads.exe"]},name:"Sid Meier's Railroads!"},{executables:{win32:["simcity.exe"]},name:"SimCity"},{executables:{darwin:["sinarun.app"],win32:["sinarun.exe"]},name:"SinaRun"},{executables:{win32:["ski32.exe"]},name:"SkiFree"},{executables:{win32:["skullgirls.exe"]},name:"Skullgirls"},{executables:{win32:["skyforge.exe"]},name:"Skyforge"},{executables:{win32:["smite.exe"]},name:"Smite",overlay:!0},{executables:{win32:["snes9x.exe"]},name:"Snes9x"},{executables:{win32:["soma.exe"]},name:"SOMA"},{executables:{win32:["asn_app_pcdx9_final.exe"]},name:"Sonic & All Stars Racing Transformed"},{executables:{win32:["sonic2app.exe"]},name:"Sonic Adventure 2"},{executables:{win32:["sonic adventure dx.exe"]},name:"Sonic Adventure DX"},{executables:{win32:["sonicgenerations.exe"]},name:"Sonic Generations"},{executables:{win32:["slw.exe"]},name:"Sonic Lost World"},{executables:{win32:["epsxe.exe"]},name:"Sony Playstation Emulator"},{executables:{win32:["soulaxiom.exe"]},name:"Soul Axiom"},{executables:{win32:["soulworker100.exe"]},name:"Soul Worker Online"},{executables:{win32:["south park - the stick of truth.exe"]},name:"South Park: The Stick of Truth"},{executables:{win32:["spaceengineers.exe"]},name:"Space Engineers"},{executables:{win32:["spazgame.exe"]},name:"Space Pirates and Zombies"},{executables:{win32:["spacechem.exe"]},name:"SpaceChem"},{executables:{win32:["specopstheline.exe"]},name:"Spec Ops: The Line"},{executables:{win32:["speedrunners.exe"]},name:"SpeedRunners"},{executables:{win32:["spelunky.exe"]},name:"Spelunky"},{executables:{win32:["spintires.exe"]},name:"Spintires"},{executables:{win32:["sporeapp.exe"]},name:"Spore"},{executables:{win32:["spyparty.exe"]},name:"Spy Party"},{executables:{win32:["squad.exe"]},name:"Squad"},{executables:{win32:["starcitizen.exe"]},name:"Star Citizen"},{executables:{win32:["/star trek online/live/gameclient.exe"]},name:"Star Trek Online"},{executables:{win32:["battlefront.exe","starwarsbattlefront.exe"]},name:"Star Wars Battlefront"},{executables:{win32:["battlefrontii.exe"]},name:"Star Wars Battlefront II"},{executables:{win32:["jamp.exe","openjk.x86.exe","jasp.exe"]},name:"Star Wars Jedi Knight"},{executables:{win32:["jk2mp.exe","jk2mvmp_x86.exe","jk2mvmp_x64.exe"]},name:"Star Wars Jedi Knight II"},{executables:{win32:["swkotor.exe"]},name:"Star Wars Knights Of The Old Republic"},{executables:{win32:["swkotor2.exe"]},name:"Star Wars Knights Of The Old Republic II: The Sith Lords"},{executables:{win32:["sweaw.exe"]},name:"Star Wars: Empire at War"},{executables:{win32:["swtor.exe"]},name:"Star Wars: The Old Republic"},{executables:{darwin:["starbound.app"],win32:["starbound.exe","starbound_opengl.exe"]},name:"Starbound"},{executables:{win32:["starcraft.exe"]},name:"Starcraft"},{executables:{darwin:["sc2.app"],win32:["starcraft ii.exe","sc2_x64.exe","sc2.exe"]},name:"Starcraft II"},{executables:{win32:["seagame.exe"]},name:"Steel Ocean"},{executables:{win32:["steinsgate.exe"]},name:"STEINS;GATE"},{executables:{win32:["stepmania.exe","stepmania-sse2.exe"]},name:"StepMania"},{executables:{win32:["steredenn.exe"]},name:"Steredenn"},{executables:{win32:["streetfightervbeta-win64-shipping.exe"]},name:"Street Fighter V"},{executables:{win32:["strafe.exe"]},name:"STRAFE"},{executables:{win32:["strife.exe"]},name:"Strife"},{executables:{win32:["strife-ve.exe"]},name:"Strife: Veteran Edition"},{executables:{win32:["styxgame.exe"]},name:"Styx: Master of Shadows"},{executables:{win32:["/subarashiki hibi/bgi.exe"]},name:"Subarashiki Hibi ~Furenzoku Sonzai~"},{executables:{win32:["subnautica.exe"]},name:"Subnautica"},{executables:{win32:["suguri.exe"]},name:"Suguri"},{executables:{win32:["superhexagon.exe"]},name:"Super Hexagon"},{executables:{win32:["supermeatboy.exe"]},name:"Super Meat Boy"},{executables:{win32:["supermncgameclient.exe"]},name:"Super Monday Night Combat"},{executables:{win32:["ssfexe.exe"]},name:"Super Smash Flash 1"},{executables:{win32:["ssf2.exe"]},name:"Super Smash Flash 2"},{executables:{win32:["swordandsworcery_pc.exe"]},name:"Superbrothers: Sword & Sworcery EP"},{executables:{win32:["supernova.exe"]},name:"Supernova"},{executables:{win32:["swat4.exe"]},name:"Swat 4"},{executables:{win32:["swat4x.exe"]},name:"Swat 4: The Stetchkov Syndicate"},{executables:{win32:["swordcoast.exe"]},name:"Sword Coast Legends"},{executables:{win32:["sword of asumi.exe"]},name:"Sword of Asumi"},{executables:{win32:["synthesia.exe"]},name:"Synthesia"},{executables:{win32:["sshock.exe"]},name:"System Shock"},{executables:{win32:["system shock2.exe","shock2.exe"]},name:"System Shock 2"},{executables:{win32:["system shock.exe"]},name:"System Shock: Enhanced Edition"},{executables:{win32:["tabletop simulator.exe"]},name:"Tabletop Simulator"},{executables:{win32:["tkom.exe"]},name:"Take On Mars"},{executables:{win32:["/tales from the borderlands/borderlands.exe"]},name:"Tales from the Borderlands"},{executables:{win32:["t-engine.exe"]},name:"Tales of Maj'Eyal"},{executables:{win32:["monkeyisland101.exe","monkeyisland102.exe","monkeyisland103.exe","monkeyisland104.exe","monkeyisland105.exe"]},name:"Tales of Monkey Island"},{executables:{win32:["tales of zestiria.exe"]},name:"Tales of Zestiria"},{executables:{win32:["trgame.exe"]},name:"Tales Runner"},{executables:{win32:["talisman.exe"]},name:"Talisman: Digital Edition"},{cmdline:"-game tf",executables:{win32:["hl2tf.exe",">hl2.exe"]},name:"Team Fortress 2"},{executables:{darwin:["teeworlds.app"],win32:["teeworlds.exe"]},name:"Teeworlds"},{executables:{win32:["tera.exe"]},name:"TERA"},{executables:{darwin:["terraria.app"],linux:["terraria.bin.x86"],win32:["terraria.exe"]},name:"Terraria"},{executables:{win32:["terratechwin32.exe"]},name:"TerraTech"},{executables:{win32:["tetris.exe"]},name:"Tetris"},{executables:{win32:["beginnersguide.exe"]},name:"The Beginner's Guide"},{executables:{darwin:["isaac.app"],win32:["binding_of_isaac.exe","isaac.exe"]},name:"The Binding of Isaac"},{executables:{darwin:["the binding of isaac rebirth.app"],win32:["isaac-ng.exe"]},name:"The Binding of Isaac: Rebirth"},{executables:{win32:["thecrew.exe"]},name:"The Crew"},{executables:{win32:["thedivision.exe"]},name:"The Division"},{executables:{win32:["oblivion.exe"]},name:"The Elder Scrolls IV: Oblivion"},{executables:{win32:["/game/client/eso.exe","/game/client/eso64.exe"]},name:"The Elder Scrolls Online"},{executables:{win32:["tesv.exe","tesv_original.exe"]},name:"The Elder Scrolls V: Skyrim"},{executables:{win32:["theforest.exe"]},name:"The Forest"},{executables:{win32:["forgettabledungeon.exe"]},name:"The Forgettable Dungeon"},{executables:{win32:["/tgg/data/rpg_rt.exe"]},name:"The Gray Garden"},{executables:{win32:["kingoffighters2002um.exe"]},name:"The King Of Fighters 2002 Unlimited Match"},{executables:{win32:["tlr.exe"]},name:"The Last Remnant"},{executables:{win32:["tld.exe"]},name:"The Long Dark"},{executables:{win32:["misstake.exe"]},name:"The Marvellous Miss Take"},{executables:{win32:["thepark.exe"]},name:"The Park"},{executables:{win32:["powder.exe"]},name:"The Powder Toy"},{executables:{win32:["the sacred tears true.exe"]},name:"The Sacred Tears TRUE"},{executables:{win32:["thesecretworld.exe","thesecretworlddx11.exe"]},name:"The Secret World"},{executables:{win32:["settlers7r.exe"]},name:"The Settlers 7: Paths to a Kingdom"},{executables:{win32:["settlers6.exe"]},name:"The Settlers: Rise of an Empire"},{executables:{win32:["simpsons.exe"]},name:"The Simpsons: Hit & Run"},{executables:{win32:["sims2ep9.exe"]},name:"The Sims 2 Ultimate Collection"},{executables:{win32:["ts3.exe","ts3w.exe"]},name:"The Sims 3"},{executables:{win32:["ts4.exe","ts4_x64.exe"]},name:"The Sims 4"},{executables:{win32:["stanley.exe"]},name:"The Stanley Parable"},{executables:{win32:["talos.exe"]},name:"The Talos Principle"},{executables:{win32:["astronautsgame-win64-shipping.exe"]},name:"The Vanishing of Ethan Carter"},{executables:{win32:["ethancarter-win64-shipping.exe"]},name:"The Vanishing of Ethan Carter Redux"},{executables:{win32:["walkingdead101.exe"]},name:"The Walking Dead"},{executables:{win32:["thewalkingdead2.exe"]},name:"The Walking Dead Season Two"},{executables:{win32:["witcher3.exe"]},name:"The Witcher 3: Wild Hunt"},{executables:{win32:["gwent.exe"]},name:"GWENT: The Witcher Card Game "},{executables:{win32:["thewolfamongus.exe"]},name:"The Wolf Among Us"},{executables:{win32:["therewasacaveman.exe"]},name:"There Was A Caveman"},{executables:{win32:["shipping-thiefgame.exe"]},name:"Thief"},{executables:{win32:["this war of mine.exe"]},name:"This War of Mine"},{executables:{win32:["thomaswasalone.exe"]},name:"Thomas was Alone"},{executables:{win32:["thugpro.exe"]},name:"THUG Pro"},{executables:{win32:["tibia.exe"]},name:"Tibia"},{executables:{win32:["timeclickers.exe"]},name:"Time Clickers"},{executables:{win32:["tis100.exe"]},name:"TIS-100"},{executables:{win32:["titan.exe"]},name:"Titan Souls"},{executables:{win32:["titanfall.exe"]},name:"Titanfall"},{executables:{win32:["titanfall2.exe"]},name:"Titanfall 2"},{executables:{win32:["future soldier.exe"]},name:"Tom Clancy's Ghost Recon: Future Solider"},{executables:{win32:["/tom clancy's ghost recon wildlands/grw.exe"]},name:"Tom Clancy's Ghost Recon: Wildlands"},{executables:{win32:["blacklist_launcher.exe","blacklist_dx11_game.exe"]},name:"Tom Clancy's Splinter Cell: Blacklist"},{executables:{win32:["tombraider.exe"]},name:"Tomb Raider (2013)"},{executables:{win32:["tomb2.exe"]},name:"Tomb Raider II"},{executables:{win32:["tomb3.exe"]},name:"Tomb Raider III: Adventures of Lara Croft"},{executables:{win32:["traod_p4.exe"]},name:"Tomb Raider: Angel of Darkness"},{executables:{win32:["tra.exe"]},name:"Tomb Raider: Anniversary"},{executables:{win32:["pctomb5.exe"]},name:"Tomb Raider: Chronicles"},{executables:{win32:["/tomb raider legend/trl.exe"]},name:"Tomb Raider: Legend"},{executables:{win32:["tomb4.exe"]},name:"Tomb Raider: The Last Revelation"},{executables:{win32:["tru.exe"]},name:"Tomb Raider: Underworld"},{executables:{win32:["/tomoyo after ~it's a wonderful life~ english edition/realliveen.exe"]},name:"Tomoyo After ~It's a Wonderful Life~"},{executables:{win32:["thug.exe"]},name:"Tony Hawk's Underground"},{executables:{win32:["themod 1.3.exe","thug2.exe"]},name:"Tony Hawk's Underground 2"},{executables:{win32:["ttrengine.exe"]},name:"Toontown"},{executables:{win32:["/toontown infinite classic edition/infinite.exe"]},name:"Toontown Infinite"},{executables:{win32:["/toontown's funny farm/funnyfarm.exe"]},name:"Toontown's Funny Farm"},{executables:{win32:["toothandtail.exe"]},name:"Tooth & Tail"},{executables:{win32:["torchlight.exe"]},name:"Torchlight"},{executables:{win32:["torchlight2.exe"]},name:"Torchlight 2"},{executables:{win32:["arena.exe"]},name:"Total War: Arena"},{executables:{win32:["attila.exe"]},name:"Total War: Attila"},{executables:{win32:["rome2.exe"]},name:"Total War: ROME 2"},{executables:{win32:["shogun2.exe"]},name:"Total War: Shogun 2"},{executables:{win32:["th10.exe","th10e.exe"]},name:"Touhou 10: Mountain of Faith"},{executables:{win32:["th105.exe","th105e.exe"]},name:"Touhou 10.5: Scarlet Weather Rhapsody"},{executables:{win32:["th11.exe","th11e.exe"]},name:"Touhou 11: Subterranean Animism"},{executables:{win32:["th12.exe","th12e.exe"]},name:"Touhou 12: Undefined Fantastic Object"},{executables:{win32:["th123.exe","th123e.exe"]},name:"Touhou 12.3: Hisoutensoku"},{executables:{win32:["th125.exe","th125e.exe"]},name:"Touhou 12.5: Double Spoiler"},{executables:{win32:["th128.exe","th128e.exe"]},name:"Touhou 12.8: Great Fairy Wars"},{executables:{win32:["th13.exe","th13e.exe"]},name:"Touhou 13: Ten Desires"},{executables:{win32:["th135.exe","th135e.exe"]},name:"Touhou 13.5 Hopeless Mascarade"},{executables:{win32:["th14.exe","th14e.exe"]},name:"Touhou 14: Double Dealing Character"},{executables:{win32:["th143.exe","th143e.exe"]},name:"Touhou 14.3: Impossible Spell Card"},{executables:{win32:["th145.exe","th145e.exe"]},name:"Touhou 14.5: Urban Legend in Limbo"},{executables:{win32:["th15.exe","th15e.exe"]},name:"Touhou 15: Legacy of Lunatic Kingdom"},{executables:{win32:["th06.exe","th06e.exe"]},name:"Touhou 6: Embodiment of Scarlet Devil"},{executables:{win32:["th07.exe","th07e.exe"]},name:"Touhou 7: Perfect Cherry Blossom"},{executables:{win32:["th075.exe","th075e.exe"]},name:"Touhou 7.5: Immaterial and Missing Power"},{executables:{win32:["th08.exe","th08e.exe"]},name:"Touhou 8: Imperishable Night"},{executables:{win32:["th09.exe","th09e.exe"]},name:"Touhou 9: Phantasmagoria Of Flower View"},{executables:{win32:["th095.exe","th095e.exe"]},name:"Touhou 9.5: Shoot the Bullet"},{executables:{win32:["gn_enbu.exe"]},name:"Touhou Puppet Dance Performance"},{executables:{win32:["tsa.exe"]},name:"Touhou Sky Arena"},{executables:{win32:["townofsalem.exe"]},name:"Town of Salem"},{executables:{win32:["trackday manager.exe"]},name:"Trackday Manager"},{executables:{win32:["tmforever.exe"]},name:"Trackmania Nations Forever"},{executables:{win32:["ed6_win.exe"]},name:"Trails in the Sky FC"},{executables:{win32:["ed6_win2.exe"]},name:"Trails in the Sky SC"},{executables:{win32:["transformersdevatstation.exe"]},name:"Transformers: Devastation"},{executables:{win32:["transistor.exe"]},name:"Transistor"},{executables:{win32:["client_tos.exe"]},name:"Tree of Savior"},{executables:{win32:["tr.exe"]},name:"Trench Run"},{executables:{win32:["triadwars.exe"]},name:"Triad Wars"},{executables:{win32:["tribesascend.exe"]},name:"Tribes Ascend"},{executables:{darwin:["trine.app"],win32:["trine.exe"]},name:"Trine"},{executables:{darwin:["trine2.app"],win32:["trine2_32bit.exe"]},name:"Trine 2"},{executables:{win32:["tripletown.exe"]},name:"Triple Town"},{executables:{win32:["trove.exe"]},name:"Trove"},{executables:{win32:["tsunmajo.exe"]},name:"Tsundertaker's Mahou Removal"},{executables:{win32:["uokr.exe"]},name:"Ultima Online"},{executables:{win32:["ssfiv.exe"]},name:"Ultra Street Fighter IV"},{executables:{darwin:["undertale.app"],win32:["undertale.exe"]},name:"Undertale"},{executables:{win32:["unity.exe"]},name:"Unity"},{executables:{win32:["universe sandbox x64.exe"]},name:"Universe Sandbox 2"},{executables:{win32:["unravel.exe"]},name:"Unravel"},{executables:{win32:["unreal.exe"]},name:"Unreal"},{executables:{win32:["unrealtournament.exe"]},name:"Unreal Tournament"},{executables:{win32:["ut3.exe"]},name:"Unreal Tournament 3"},{executables:{win32:["/unrealtournamentdev/engine/binaries/win64/ue4-win64-shipping.exe"]},name:"Unreal Tournament 4"},{executables:{win32:["unturned.exe"]},name:"Unturned"},{executables:{win32:["uplink.exe"]},name:"Uplink"},{executables:{linux:['/va-11 hall-a/runner"']},name:"VA-11 Hall-A"},{executables:{win32:["valkyria.exe"]},name:"Valkyria Chronicles"},{executables:{win32:["vampire.exe"]},name:"Vampire: The Masquerade - Bloodlines"},{executables:{win32:["verdun.exe"]},name:"Verdun"},{executables:{win32:["vindictus.exe"]},name:"Vindictus"},{executables:{win32:["visualboyadvance.exe"]},name:"VisualBoyAdvance"},{executables:{win32:["/wadanohara104/startwindowed.exe"]},name:"Wadanohara and the Great Blue Sea"},{executables:{darwin:["wakfu.app"],win32:["wakfu.exe"]},name:"Wakfu"},{executables:{win32:["wftogame.exe"]},name:"War For the Overworld"},{executables:{win32:["aces.exe"]},name:"War Thunder"},{executables:{win32:["warcraft ii bne.exe"]},name:"Warcraft II"},{executables:{darwin:["warcraft iii.app"],win32:["warcraft iii.exe","wc3.exe","war3.exe"]},name:"Warcraft III"},{executables:{darwin:["frozen throne.app"],win32:["frozen throne.exe"]},name:"Warcraft III: The Frozen Throne"},{executables:{win32:["warframe.x64.exe","warframe.exe"]},name:"Warframe",overlay:!0},{executables:{win32:["soulstorm.exe"]},name:"Warhammer 40K: Dawn of War SoulSorm"},{executables:{win32:["vermintide.exe"]},name:"Warhammer: End Times - Vermintide"},{executables:{win32:["warsow_x64.exe","warsow_x86.exe"]},name:"Warsow"},{executables:{darwin:["wz2100.app"],win32:["wz2100.exe"]},name:"Warzone 2100"},{executables:{win32:["wl2.exe"]},name:"Wasteland 2"},{executables:{win32:["watch_dogs.exe"]},name:"Watch Dogs"},{executables:{win32:["waveland.exe"]},name:"Wave Land"},{executables:{win32:["wildstar64.exe","wildstar.exe"]},name:"WildStar"},{executables:{win32:["wings of vi.exe"]},name:"Wings of Vi"},{executables:{win32:["wizard101.exe","wizardgraphicalclient.exe"]},name:"Wizard101"},{executables:{win32:["wolfoldblood_x64.exe"]},name:"Wolfenstein: The Old Blood"},{executables:{win32:["worldoftanks.exe"]},name:"World of Tanks"},{executables:{darwin:["world of warcraft.app"],win32:["wow.exe","wow-64.exe"]},name:"World of Warcraft",overlay:!0},{executables:{win32:["wowt-64.exe"]},name:"World of Warcraft PTR",overlay:!0},{executables:{win32:["worldofwarships.exe","wowslauncher.exe"]},name:"World of Warships"},{executables:{win32:["wa.exe"]},name:"Worms Armageddon"},{executables:{win32:["wormsrevolution.exe"]},name:"Worms Revolution"},{executables:{win32:["xcom2.exe"]},name:"XCOM 2"},{executables:{win32:["xcomgame.exe","xcomew.exe"]},name:"XCOM: Enemy Unknown"},{executables:{win32:["xenonauts.exe"]},name:"Xenonauts"},{executables:{win32:["xonotic.exe"]},name:"Xonotic"},{executables:{darwin:["ygopro.app"],win32:["ygopro_vs.exe"]},name:"Yu-gi-oh Pro"},{executables:{win32:["zandronum.exe"]},name:"Zandronum"},{executables:{win32:["zombi.exe"]},name:"Zombi"},{executables:{win32:["/zmr/unrealengine3/binaries/win32/marsgame.exe"]},name:"Zombies Monsters Robots"},{executables:{win32:["zsnesw.exe"]},name:"ZSNES"},{executables:{win32:["mj.exe"]},name:"セガNET麻雀MJ"}]},function(e,t){e.exports=[["Bringing back Szechuan sauce","beenjamemes","instagram"],["Your tomogachi is hungry","RedMuffin_","twitter"],["Putting pineapple on pizza","FluttershyFIM ","twitter"],["All systems operational. Discord, ready for combat!","B_taylor2016","twitter"],["Pushing the payload (ノಠ益ಠ)ノ彡|┻━┻|","trapshawterino ","twitter"],["Be the loading line you wish to see","CptSwollhouse","twitter"],["weewooweewoo","kurokun_01","twitter"],["Get ready for the next battle!","Flying_Wonkey ","twitter"],["Loading last checkpoint...","João Baltazar","facebook"],["Do people even read these?","Benjamin Høyland","facebook"],["Error 404: Sarcasm module not found","Matt Averrest","facebook"],["Loading Lines in 2017 Lul","gragon731","twitter"],["Sending energy ༼つ◕_◕ ༽つ","IamDatte","twitter"],["Sav'aaq!",null,null],["YAHAHA YOU FOUND ME",null,null],["Loading lines? Where we're going we don't need loading lines",null,null],["Everything in the world either is a potato or isn't a potato",null,null],["Finding friends for Wumpus",null,null],["Hunting robot dinosaurs",null,null],["Trying to skip a cutscene",null,null],["Turning Items On",null,null],["Loading so fast no one will notice I'm....",null,null],["Taking a walk to ease my troubled mind",null,null],["ALL HAIL THE HYPNOTOAD",null,null],["im using tilt controls",null,null]]},function(e,t){e.exports=[{name:"English, US",englishName:"English, US",code:"en-US",enabled:!0},{name:"English, UK",englishName:"English, UK",code:"en-GB",enabled:!0},{name:"中文",englishName:"Chinese Simplified",code:"zh-CN",enabled:!1},{name:"繁體中文",englishName:"Traditional Chinese",code:"zh-TW",enabled:!0},{name:"Čeština",englishName:"Czech",code:"cs",enabled:!0},{name:"Dansk",englishName:"Danish",code:"da",enabled:!0},{name:"Nederlands",englishName:"Dutch",code:"nl",enabled:!0},{name:"Français",englishName:"French",code:"fr",enabled:!0},{name:"Deutsch",englishName:"German",code:"de",enabled:!0},{name:"Ελληνικά",englishName:"Greek",code:"el",enabled:!1},{name:"Magyar",englishName:"Hungarian",code:"hu",enabled:!1},{name:"Italiano",englishName:"Italian",code:"it",enabled:!0},{name:"日本語",englishName:"Japanese",code:"ja",enabled:!0},{name:"한국어",englishName:"Korean",code:"ko",enabled:!0},{name:"Norwegian",englishName:"Norwegian",code:"no",enabled:!1},{name:"Polski",englishName:"Polish",code:"pl",enabled:!0},{name:"Português",englishName:"Portuguese",code:"pt-PT",enabled:!1},{name:"Português do Brasil",englishName:"Portuguese, Brazilian",code:"pt-BR",enabled:!0},{name:"Русский",englishName:"Russian",code:"ru",enabled:!0},{name:"Slovenčina",englishName:"Slovak",code:"sk",enabled:!1},{name:"Español",englishName:"Spanish",code:"es-ES",enabled:!0},{name:"Svenska",englishName:"Swedish",code:"sv-SE",enabled:!0},{name:"Türkçe",englishName:"Turkish",code:"tr",enabled:!0},{name:"български",englishName:"Bulgarian",code:"bg",enabled:!0},{name:"Український",englishName:"Ukrainian",code:"uk",enabled:!0},{name:"Suomi",englishName:"Finnish",code:"fi",enabled:!0},{name:"Norsk",englishName:"Norwegian",code:"no",enabled:!0}]},function(e,t,n){function a(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./bg":453,"./bg.json":453,"./cs":454,"./cs.json":454,"./da":455,"./da.json":455,"./de":456,"./de.json":456,"./en-US":472,"./en-US.js":472,"./es-ES":457,"./es-ES.json":457,"./fi":458,"./fi.json":458,"./fr":459,"./fr.json":459,"./it":460,"./it.json":460,"./ja":461,"./ja.json":461,"./ko":462,"./ko.json":462,"./nl":463,"./nl.json":463,"./no":464,"./no.json":464,"./pl":465,"./pl.json":465,"./pt-BR":466,"./pt-BR.json":466,"./ru":467,"./ru.json":467,"./sv-SE":468,"./sv-SE.json":468,"./tr":469,"./tr.json":469,"./uk":470,"./uk.json":470,"./zh-TW":471,"./zh-TW.json":471};a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1220},function(e,t,n){function a(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./discord-canary.png":2930,"./discord-development.png":2931,"./discord-ptb.png":2932,"./discord-stable.png":2933};a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1221},function(e,t,n){function a(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./spritesheet-.png":2934,"./spritesheet-1f3fb.png":2935,"./spritesheet-1f3fc.png":2936,"./spritesheet-1f3fd.png":2937,"./spritesheet-1f3fe.png":2938,"./spritesheet-1f3ff.png":2939,"./spritesheet-emoji.png":1175,"./spritesheet-picker.png":1176};a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1222},function(e,t,n){function a(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./bg.png":2964,"./cs.png":2965,"./da.png":2966,"./de.png":2967,"./en-GB.png":2968,"./en-US.png":2969,"./es-ES.png":2970,"./fi.png":2971,"./fr.png":2972,"./it.png":2973,"./ja.png":2974,"./ko.png":2975,"./nl.png":2976,"./no.png":2977,"./pl.png":2978,"./pt-BR.png":2979,"./ru.png":2980,"./sv-SE.png":2981,"./tr.png":2982,"./uk.png":2983,"./zh-TW.png":2984};a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1223},function(e,t,n){function a(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./diablo.jpg":2985,"./dota2.jpg":2986,"./ffxiv.jpg":2987,"./league.jpg":2988,"./minecraft.jpg":2989,"./wow.jpg":2990};a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1224},function(e,t,n){function a(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./avatar-01.svg":3046,"./avatar-02.svg":3047,"./avatar-03.svg":3048,"./avatar-04.svg":3049,"./avatar-05.svg":3050,"./avatar-06.svg":3051,"./avatar-07.svg":3052};a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1225},function(e,t,n){function a(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./img_account_sync_stars1.svg":3075,"./img_account_sync_stars2.svg":3076,"./img_account_sync_stars3.svg":3077,"./img_account_sync_stars4.svg":3078};a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1226},function(e,t,n){function a(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./call_calling.mp3":2331,"./call_ringing.mp3":2332,"./call_ringing_beat.mp3":2333,"./ddr-down.mp3":2334,"./ddr-left.mp3":2335,"./ddr-right.mp3":2336,"./ddr-up.mp3":2337,"./deafen.mp3":2338,"./disconnect.mp3":2339,"./human_man.mp3":2340,"./mention1.mp3":2341,"./mention2.mp3":2342,"./mention3.mp3":2343,"./message1.mp3":2344,"./message2.mp3":2345,"./message3.mp3":2346,"./mute.mp3":2347,"./overlayunlock.mp3":2348,"./ptt_start.mp3":2349,"./ptt_stop.mp3":2350,"./reconnect.mp3":2351,"./robot_man.mp3":2352,"./undeafen.mp3":2353,"./unmute.mp3":2354,"./user_join.mp3":2355,"./user_leave.mp3":2356};a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=1227},,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.before,n=e.userId,a=e.action;n=n||m.default.userIdFilter,a=a||m.default.actionFilter;var o={};return o.limit=v.AUDIT_LOG_PAGE_LIMIT,null!=t&&(o.before=t),null!=n&&(o.user_id=n),null!=a&&(o.action_type=a),o}function r(){return m.default.isLoading||m.default.isLoadingNextPage}function i(e,t){var n=o(t);return h.default.get({url:v.Endpoints.GUILD_AUDIT_LOG(e),query:n})}function s(e,t,n){if(!r())return d.default.dispatch({type:v.ActionTypes.AUDIT_LOG_FETCH_START}),i(e,{userId:t,action:n}).then(function(e){var t=e.body,n=t.audit_log_entries,a=t.users,o=t.webhooks;d.default.dispatch({type:v.ActionTypes.AUDIT_LOG_FETCH_SUCCESS,logs:n,users:a,webhooks:o})},function(){return d.default.dispatch({type:v.ActionTypes.AUDIT_LOG_FETCH_FAIL})})}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(m.default.hasOlderLogs&&!r()){var n=m.default.logs,a=n[n.length-1],o=null;return null!=a&&(o=a.id),d.default.dirtyDispatch({type:v.ActionTypes.AUDIT_LOG_FETCH_NEXT_PAGE_START,before:o,isGroupedFetch:t}),i(e,{before:o}).then(function(e){var t=e.body,n=t.audit_log_entries,a=t.users,o=t.webhooks;d.default.dispatch({type:v.ActionTypes.AUDIT_LOG_FETCH_NEXT_PAGE_SUCCESS,logs:n,users:a,webhooks:o})},function(){return d.default.dispatch({type:v.ActionTypes.AUDIT_LOG_FETCH_NEXT_PAGE_FAIL})})}}function u(e,t){if(!r())return d.default.dispatch({type:v.ActionTypes.AUDIT_LOG_FILTER_BY_ACTION,action:e}),s(t,null,e)}function f(e,t){if(!r())return d.default.dispatch({type:v.ActionTypes.AUDIT_LOG_FILTER_BY_USER,userId:e}),s(t,e)}t.__esModule=!0,t.fetchLogs=s,t.fetchNextLogPage=l,t.filterByAction=u,t.filterByUserId=f;var c=n(4),d=a(c),p=n(16),h=a(p),g=n(799),m=a(g),v=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={fetch:function(){l.default.get(i.Endpoints.OAUTH2_TOKENS).then(function(e){return r.default.dispatch({type:i.ActionTypes.USER_AUTHORIZED_APPS_UPDATE,apps:e.body})},function(){return r.default.dispatch({type:i.ActionTypes.USER_AUTHORIZED_APPS_UPDATE,apps:[]})})},delete:function(e){var t=this;l.default.delete(i.Endpoints.OAUTH2_TOKEN(e)).then(function(){t.fetch()})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),r=n(16),i=a(r),s=n(3),l=a(s),u=n(54),f=a(u);t.default={changeNickname:function(e,t,n,a){return i.default.patch({url:o.Endpoints.GUILD_MEMBERS(e)+"/"+n+"/nick",body:{nick:a}}).then(function(e){a=e.body.nick,f.default.sendBotMessage(t,a?l.default.Messages.COMMAND_NICK_SUCCESS.plainFormat({nick:a}):l.default.Messages.COMMAND_NICK_RESET)},function(e){403===e.status?f.default.sendBotMessage(t,l.default.Messages.COMMAND_NICK_FAILURE_PERMISSION.plainFormat()):f.default.sendBotMessage(t,l.default.Messages.COMMAND_NICK_FAILURE)})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={openModal:function(e,t){r.default.dispatch({type:i.ActionTypes.CHANGE_VANITY_URL_MODAL_OPEN,guildId:e,code:t})},closeModal:function(){r.default.dispatch({type:i.ActionTypes.CHANGE_VANITY_URL_MODAL_CLOSE})},removeVanityURL:function(e){return l.default.patch({url:i.Endpoints.GUILD_VANITY_URL(e),body:{code:null}}).then(function(){r.default.dispatch({type:i.ActionTypes.GUILD_SETTINGS_SET_VANITY_URL,code:null})})},changeVanityURL:function(e,t){var n=this;r.default.dispatch({type:i.ActionTypes.CHANGE_VANITY_URL_MODAL_SUBMIT}),l.default.patch({url:i.Endpoints.GUILD_VANITY_URL(e),body:{code:t}}).then(function(e){r.default.dispatch({type:i.ActionTypes.GUILD_SETTINGS_SET_VANITY_URL,code:e.body.code}),n.closeModal()},function(){r.default.dispatch({type:i.ActionTypes.CHANGE_VANITY_URL_MODAL_SUBMIT_FAILURE,hasError:!0})})},setVanityURL:function(e,t){return l.default.patch({url:i.Endpoints.GUILD_VANITY_URL(e),body:{code:t}}).then(function(e){r.default.dispatch({type:i.ActionTypes.GUILD_SETTINGS_SET_VANITY_URL,code:e.body.code})},function(){r.default.dispatch({type:i.ActionTypes.CHANGE_VANITY_URL_MODAL_SUBMIT_FAILURE,hasError:!0})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){u.default.dispatch({type:d.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_UPDATE_PERMISSION,id:e,allow:t,deny:n})}function r(e){u.default.dispatch({type:d.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_SELECT_PERMISSION,id:e})}function i(){u.default.dispatch({type:d.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_INIT})}function s(e,t){return u.default.dispatch({type:d.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_SUBMITTING}),new Promise(function(n){!function a(){if(0===t.length)return n();var o=t.pop();if(null==o)return a();c.default.updatePermissionOverwrite(e,o,!0).then(a,a)}()}).then(function(){return u.default.dispatch({type:d.ActionTypes.CHANNEL_SETTINGS_PERMISSIONS_SAVE_SUCCESS})})}t.__esModule=!0,t.updatePermission=o,t.selectPermission=r,t.init=i,t.savePermissionUpdates=s;var l=n(4),u=a(l),f=n(79),c=a(f),d=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){d.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_ROLES_SORT_UPDATE,roles:e})}function r(){d.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_ROLES_INIT})}function i(e,t,n){d.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_ROLES_UPDATE_PERMISSIONS,id:e,flag:t,allow:n})}function s(e,t){d.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_ROLES_UPDATE_NAME,id:e,name:t})}function l(e,t){d.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_ROLES_UPDATE_COLOR,id:e,color:t})}function u(e,t,n){d.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_ROLES_UPDATE_SETTINGS,id:e,hoist:t,mentionable:n})}function f(e,t,n){return d.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_ROLES_SUBMITTING}),new Promise(function(a){var o=function n(){if(null==t||0===t.length)return a();var o=t.pop();if(null==o||""===o.name)return n();h.default.updateRole(e,o.id,o.name,o.permissions,o.color,o.hoist,o.mentionable,!0).then(n,n)};null!=n&&n.length>0?h.default.batchRoleUpdate(e,n).then(o,o):o()}).then(function(){return d.default.dispatch({type:g.ActionTypes.GUILD_SETTINGS_ROLES_SAVE_SUCCESS})})}t.__esModule=!0,t.updateRoleSort=o,t.init=r,t.updateRolePermissions=i,t.updateRoleName=s,t.updateRoleColor=l,t.toggleRoleSettings=u,t.saveRoleSettings=f;var c=n(4),d=a(c),p=n(63),h=a(p),g=n(1)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={close:function(){r.default.dispatch({type:i.ActionTypes.GUILD_SETTINGS_VANITY_URL_CLOSE})},resetCode:function(){r.default.dispatch({type:i.ActionTypes.GUILD_SETTINGS_VANITY_URL_RESET})},setCode:function(e){r.default.dispatch({type:i.ActionTypes.GUILD_SETTINGS_VANITY_URL_SET,code:e})},saveCode:function(e,t){return l.default.patch({url:i.Endpoints.GUILD_VANITY_URL(e),body:{code:t}}).then(function(e){var t=e.body;r.default.dispatch({type:i.ActionTypes.GUILD_SETTINGS_SET_VANITY_URL,code:t.code})},function(){r.default.dispatch({type:i.ActionTypes.GUILD_SETTINGS_VANITY_URL_ERROR})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(71),l=a(s),u=n(16),f=a(u);t.default={loadFeaturedArticles:function(){f.default.get(l.default.getFeaturedArticlesJsonURL()).then(function(e){var t=e.body.articles||[];r.default.dispatch({type:i.ActionTypes.FEATURED_HELP_ARTICLES,articles:t})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={move:function(e,t){r.default.dispatch({type:i.ActionTypes.INCOMING_CALL_MOVE,x:e,y:t})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={search:function(e,t){r.default.dispatch({type:i.ActionTypes.INTEGRATION_QUERY,integration:e,query:t}),l.default.get({url:i.Endpoints.INTEGRATIONS+"/"+e+"/search",query:{q:t}}).then(function(n){r.default.dispatch({type:i.ActionTypes.INTEGRATION_QUERY_SUCCESS,integration:e,query:t,results:n.body})},function(){return r.default.dispatch({type:i.ActionTypes.INTEGRATION_QUERY_FAILURE,integration:e,query:t})})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(3),l=a(s),u=n(16),f=a(u),c=n(84),d=a(c);t.default={acceptInvite:function(e,t){r.default.dirtyDispatch({type:i.ActionTypes.INVITE_ACCEPT,code:e}),f.default.post({url:i.Endpoints.INVITE+"/"+e,context:{Location:t}}).then(function(t){var n=t.body;r.default.dispatch({type:i.ActionTypes.INVITE_ACCEPT_SUCCESS,invite:n,code:e}),d.default.transitionToInviteChannel(n.guild.id,n.channel.id,n.channel.type),r.default.dispatch({type:i.ActionTypes.INVITE_MODAL_CLOSE})},function(t){r.default.dispatch({type:i.ActionTypes.INVITE_ACCEPT_FAILURE,code:e});var n=t&&t.body&&t.body.message||l.default.Messages.INVITE_MODAL_ERROR_DEFAULT;r.default.dispatch({type:i.ActionTypes.INVITE_MODAL_ERROR,message:n})})},close:function(){r.default.dispatch({type:i.ActionTypes.INVITE_MODAL_CLOSE})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){i.default.dispatch({type:s.ActionTypes.MASKED_LINK_ADD_TRUSTED_DOMAIN,url:e})}t.__esModule=!0,t.trustDomain=void 0;var r=n(4),i=a(r),s=n(1);t.trustDomain=o},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1),s=n(16),l=a(s);t.default={setGuildFilter:function(e){var t=e.guildFilter,n=e.roleFilter,a=e.everyoneFilter;r.default.dispatch({type:i.ActionTypes.SET_RECENT_MENTIONS_FILTER,guildFilter:t,roleFilter:n,everyoneFilter:a})},truncateMentions:function(e){r.default.dirtyDispatch({type:i.ActionTypes.TRUNCATE_MENTIONS,size:e})},fetchRecentMentions:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.MAX_MENTIONS_PER_FETCH,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];r.default.dirtyDispatch({type:i.ActionTypes.LOAD_RECENT_MENTIONS,guildId:n}),l.default.get({url:i.Endpoints.MENTIONS,query:{before:e,limit:t,guild_id:n,roles:a,everyone:o},retries:2}).then(function(t){var n=t.body;r.default.dispatch({type:i.ActionTypes.LOAD_RECENT_MENTIONS_SUCCESS,messages:n,isAfter:null!=e,hasMoreAfter:n.length>=i.MAX_MENTIONS_PER_FETCH})},function(){r.default.dispatch({type:i.ActionTypes.LOAD_RECENT_MENTIONS_FAILURE})})},deleteRecentMention:function(e){l.default.delete({url:i.Endpoints.MENTIONS_MESSAGE_ID(e),retries:2}),r.default.dispatch({type:i.ActionTypes.RECENT_MENTION_DELETE,id:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),r=n(16),i=a(r);t.default={updateNote:function(e,t){i.default.put({url:o.Endpoints.NOTES+"/"+e,body:{note:t}})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(4),i=a(r),s=n(1),l=n(16),u=a(l),f={};t.default=o({},f,{addPhone:function(e){i.default.dispatch({type:s.ActionTypes.VERIFICATION_ADDING_PHONE}),u.default.post({url:s.Endpoints.PHONE,body:{phone:e}}).then(function(){return i.default.dispatch({type:s.ActionTypes.VERIFICATION_ADD_PHONE_SUCCESS})},function(e){var t=e.body;return i.default.dispatch({type:s.ActionTypes.VERIFICATION_ADD_PHONE_FAILURE,error:t.message})})},verifyPhone:function(e){i.default.dispatch({type:s.ActionTypes.VERIFICATION_VERIFYING_PHONE}),u.default.post({url:s.Endpoints.VERIFY_PHONE,body:{code:e}}).then(function(){i.default.dispatch({type:s.ActionTypes.VERIFICATION_VERIFY_PHONE_SUCCESS}),i.default.dispatch({type:s.ActionTypes.MODAL_POP})},function(e){var t=e.body;return i.default.dispatch({type:s.ActionTypes.VERIFICATION_VERIFY_PHONE_FAILURE,error:t.message})})}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={call:function(e){r.default.dispatch({type:i.ActionTypes.POST_CONNECTION_PENDING_CALLBACK,callback:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(75),s=(a(i),n(1));t.default={search:function(e){r.default.dispatch({type:s.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_INVITE_QUERY,query:e})},clear:function(){r.default.dispatch({type:s.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_INVITE_QUERY,query:""})},select:function(e){r.default.dispatch({type:s.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_INVITE_SELECT,row:e})},addUser:function(e){r.default.dispatch({type:s.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_ADD_USER,user:e})},removeUser:function(e){r.default.dispatch({type:s.ActionTypes.PRIVATE_CHANNEL_RECIPIENTS_REMOVE_USER,user:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),r=n(16),i=a(r);t.default={report:function(e){return i.default.post({url:o.Endpoints.REPORT,body:e})},getReasons:function(e){return i.default.get({url:o.Endpoints.REPORT,query:e}).then(function(e){return e.body})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(7),r=a(o),i=n(4),s=a(i),l=n(1),u=n(16),f=a(u),c=r.default.debounce(function(){s.default.dispatch({type:l.ActionTypes.TEXT_MESSAGE_DOWNLOAD_LINK_RESET})},3e3);t.default={sendTextLink:function(e){s.default.dispatch({type:l.ActionTypes.TEXT_MESSAGE_DOWNLOAD_LINK_SUBMITTING}),f.default.post({url:l.Endpoints.MOBILE_TEXT_LINK,body:{phone_number:e}}).then(function(){s.default.dispatch({type:l.ActionTypes.TEXT_MESSAGE_DOWNLOAD_LINK_SUCCESS}),c.cancel(),c()},function(e){s.default.dispatch({type:l.ActionTypes.TEXT_MESSAGE_DOWNLOAD_LINK_FAILURE,errors:e?e.body.message:[["Something went wrong"]]}),c.cancel(),c()})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(4),r=a(o),i=n(1);t.default={show:function(e,t){r.default.dirtyDispatch({type:i.ActionTypes.TOOLTIP_SHOW,id:e,tooltip:t})},hide:function(e){r.default.dirtyDispatch({type:i.ActionTypes.TOOLTIP_HIDE,id:e})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(16),r=a(o),i=n(1);t.default={sendTyping:function(e){r.default.post(i.Endpoints.TYPING(e))}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return s.default.patch({url:r.Endpoints.USER_AGREEMENTS,body:{terms:e,privacy:t}}).then(function(){return!0},function(){return!1})}t.__esModule=!0,t.acceptAgreements=o;var r=n(1),i=n(16),s=a(i)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(0),i=a(r),s=n(14),l=a(s),u=n(127),f=a(u);t.default={show:function(e){var t=e.title,n=e.body,a=e.confirmText,r=e.cancelText,s=e.onConfirm,u=e.onCancel,c=e.iconUrl,d=e.minorText,p=e.onConfirmSecondary,h=e.className;l.default.push(function(e){return i.default.createElement(f.default,o({},e,{title:t,body:n,confirmText:a,cancelText:r,onConfirm:s,onCancel:u,iconUrl:c,minorText:d,onConfirmSecondary:p,className:h}))})}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){if(h.default.isSupported())return!1;var e=function(){E.default.push(S.default,{source:"Unsupported Browser"})};return E.default.push(function(t){return u.default.createElement(A.default,i({header:D.default.Messages.UNSUPPORTED_BROWSER,confirmText:D.default.Messages.DOWNLOAD_APP,cancelText:D.default.Messages.CANCEL,onConfirm:e,red:!1},t),s("p",{},void 0,D.default.Messages.UNSUPPORTED_BROWSER_DETAILS))}),!0}function r(e){o()||(m.default.dismiss(L),E.default.push(function(t){return u.default.createElement(_.default,i({},t,{video:e}))}),h.default.getMediaEngine().enable().then(function(){E.default.pop(),c.default.dispatch({type:d.ActionTypes.AUDIO_ENABLE})},function(e){switch(E.default.pop(),e){case"NO_DEVICES_FOUND":m.default.show(d.NoticeTypes.GENERIC,D.default.Messages.NO_INPUT_DEVICES_DETECTED,D.default.Messages.TRY_AGAIN,function(){return r()},L);break;case"PERMISSION_DENIED":E.default.push(T.default);break;case"PERMISSION_DISMISSED":m.default.show(d.NoticeTypes.GENERIC,D.default.Messages.MICROPHONE_PERMISSION_ERROR,D.default.Messages.TRY_AGAIN,function(){return r()},L);break;default:C.default.warn("unknown getUserMedia error: "+e)}}))}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}();t.isNotSupported=o,t.enable=r;var l=n(0),u=a(l),f=n(4),c=a(f),d=n(1),p=n(27),h=a(p),g=n(716),m=a(g),v=n(14),E=a(v),y=n(1505),_=a(y),b=n(138),S=a(b),I=n(1506),T=a(I),N=n(60),A=a(N),M=n(161),C=a(M),O=n(3),D=a(O),L="AUDIO_ERROR"},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t,n,a,o){var i=T++,s=function(e){l.default.dispatch({type:u.ActionTypes.UPLOAD_PROGRESS,file:{id:i,loaded:e.loaded}})},f="",d=!1;null!=o&&(f=o.content,d=o.tts);var h=function(s){var f=v.default.getModal();if(!f||f.modal!==y.default){if(l.default.dispatch({type:u.ActionTypes.UPLOAD_FAIL,file:{id:i}}),s===u.AbortCodes.EXPLICIT_CONTENT)return void g.default.sendClydeError(e,s);p.default.push(y.default,{title:b.default.Messages.UPLOAD_AREA_UPLOAD_FAILED_TITLE,help:b.default.Messages.UPLOAD_AREA_UPLOAD_FAILED_HELP.format({onClick:function(){p.default.pop(),r(e,t,n,a,o)}})})}},m=c.default.post(u.Endpoints.MESSAGES(e)).field("content",f).field("tts",d).attach("file",t,n).on("error",function(){return h()}).end(function(e){if(!e.ok)return void h(e.body&&e.body.code);l.default.dispatch({type:u.ActionTypes.UPLOAD_COMPLETE,file:{id:i}})}),E=m.xhr;E.upload?E.upload.onprogress=s:E.addEventListener("progress",s,!1),l.default.dispatch({type:u.ActionTypes.UPLOAD_START,channelId:e,file:{id:i,filename:n,fileSize:t.size,loaded:0,speed:0,classification:a}})}function i(e,t){Array.prototype.forEach.call(t,function(t){r(e,t,I.getFilename(t),I.classifyFile(t))})}t.__esModule=!0;var s=n(4),l=o(s),u=n(1),f=n(293),c=o(f),d=n(14),p=o(d),h=n(54),g=o(h),m=n(222),v=o(m),E=n(364),y=o(E),_=n(3),b=o(_),S=n(318),I=a(S),T=0;t.default={instantBatchUpload:i,upload:r},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(23),c=n(2),d=a(c),p=n(3),h=a(p),g=n(834),m=a(g),v=n(828),E=a(v),y=n(313),_=a(y),b=n(15),S=a(b),I=n(61),T=a(I),N=n(64),A=a(N),M=n(1392),C=a(M),O=n(33),D=a(O),L=n(41),R=a(L),x=n(257),w=a(x),P=n(219),k=a(P),U=n(1332),G=a(U),j=n(10),F=a(j),B=n(269),V=a(B),H=n(27),z=a(H),W=n(57),Y=a(W),K=n(82),Q=a(K),Z=n(1),X=n(2073),J=a(X),q=s(m.default,{}),$=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.getDOMNode=a.getDOMNode.bind(a),a.handleToggleSelfMute=a.handleToggleSelfMute.bind(a),a.handleToggleSelfDeaf=a.handleToggleSelfDeaf.bind(a),a.handleOpenSettings=a.handleOpenSettings.bind(a),a.handleOpenSettingsContextMenu=a.handleOpenSettingsContextMenu.bind(a),a}return i(t,e),t.prototype.getDOMNode=function(){return(0,f.findDOMNode)(this)},t.prototype.handleToggleSelfMute=function(){Q.default.toggleSelfMute()},t.prototype.handleToggleSelfDeaf=function(){Q.default.toggleSelfDeaf()},t.prototype.handleOpenSettings=function(){Y.default.open(Z.UserSettingsSections.ACCOUNT)},t.prototype.handleOpenSettingsContextMenu=function(e){A.default.openContextMenu(e,function(e){return u.default.createElement(C.default,e)})},t.prototype.render=function(){var e=this.props,t=e.currentUser,a=e.mute,o=e.deaf,r=e.streaming,i=e.status;return null==t?null:s("div",{className:J.default.container},void 0,s(R.default,{animationType:"spring",render:function(e){return u.default.createElement(G.default,e)},position:R.default.TOP,target:this.getDOMNode},void 0,s(T.default,{user:t,status:i,streaming:r})),s(w.default,{user:t,className:J.default.accountDetails}),s(S.default,{grow:0},void 0,s(D.default,{text:a?h.default.Messages.UNMUTE:h.default.Messages.MUTE},void 0,s("div",{},void 0,s(E.default,{className:J.default.button,size:_.default.Sizes.SMALL,value:a,inactiveSrc:n(1170),activeSrc:n(1169),onChange:this.handleToggleSelfMute}))),s(k.default,{tutorialId:"voice-conversations",position:k.default.TOP,offsetY:-38,offsetX:-18},void 0,s(D.default,{text:o?h.default.Messages.UNDEAFEN:h.default.Messages.DEAFEN},void 0,s("div",{},void 0,s(E.default,{className:J.default.button,size:_.default.Sizes.SMALL,value:o,inactiveSrc:n(2905),activeSrc:n(2904),onChange:this.handleToggleSelfDeaf})))),s(D.default,{text:h.default.Messages.USER_SETTINGS},void 0,s("div",{className:J.default.button,onClick:this.handleOpenSettings,onContextMenu:this.handleOpenSettingsContextMenu},void 0,q))))},t}(u.default.PureComponent);t.default=d.default.connectStores([F.default,z.default,V.default],function(){var e=V.default.getActivity();return{currentUser:F.default.getCurrentUser(),mute:!z.default.isEnabled()||z.default.isSelfMute()||z.default.isSelfMutedTemporarily(),deaf:z.default.isSelfDeaf(),status:V.default.getStatus(),streaming:null!=e&&e.type===Z.ActivityTypes.STREAMING}})($),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(180),f=a(u),c=n(837),d=n(3),p=a(d),h=n(1);n(2144);var g="INPUT_REF",m=i.default.createClass({displayName:"AddFriendInput",mixins:[l.default],getInitialState:function(){return{canSend:!1,hint:""}},handleSubmit:function(e){var t=this;e.preventDefault();var n=this.props.onSubmit,a=this.refs[g].value.trim(),o=(0,c.validateDiscordTag)(a);null!=o?n(o):(this.setState({canSend:!1}),f.default.sendRequest(a,{location:"Add Friend"}).then(function(){n(null,p.default.Messages.ADD_FRIEND_SUCCESS.format({discordTag:a})),t.refs[g].value="",t.setState(t.getInitialState(),t.focus)},function(e){n((0,c.humanizeAbortCode)(e.body.code,a)),t.setState({canSend:!0})}))},handleChange:function(e){var t=e.currentTarget.value;if(t.length>0){var n=t.split("#"),a=n[1];this.setState({hint:t+h.PLACEHOLDER_TAG.slice(null!=a?a.length+1:0),canSend:!0})}else this.setState({hint:"",canSend:!1});this.props.onError&&this.props.onError(null)},handleKeyPress:function(e){var t=e.currentTarget.value;if(13!==e.which){var n=t.indexOf("#");if(n>-1){var a=this.refs[g].selectionStart,o=8===e.which||37===e.which||39===e.which,r=e.which>=48&&e.which<=57;a>n&&/^(.+?#\d{4})$/.test(t)&&!o?e.preventDefault():a>n&&!r&&!o&&e.preventDefault()}}},focus:function(){this.refs[g].focus()},render:function(){var e=this.state,t=e.canSend,n=e.hint;return o("form",{className:"add-friend-input-wrapper",onSubmit:this.handleSubmit},void 0,i.default.createElement("input",{ref:g,className:"add-friend-input",placeholder:p.default.Messages.ADD_FRIEND_PLACEHOLDER,onKeyPress:this.handleKeyPress,onChange:this.handleChange,autoFocus:!0,maxLength:37}),o("div",{className:"add-friend-hint",onClick:this.focus},void 0,n),o("button",{disabled:!t,className:"btn btn-primary",type:"submit"},void 0,p.default.Messages.ADD_FRIEND_BUTTON))}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(0),r=a(o),i=n(58),s=a(i),l=n(6),u=a(l),f=n(2),c=a(f),d=n(18),p=a(d),h=n(221),g=a(h),m=n(378),v=a(m),E=n(43),y=a(E),_=n(375),b=a(_),S=n(223),I=a(S),T=n(688),N=a(T),A=new Set(["Blink","Gecko","WebKit"]),M=void 0;if(p.default.embedded)M=function(e){return p.default.setBadge(0===e?"":e.toString())};else if(A.has(s.default.layout)){var C=new N.default({animation:"none"});M=function(e){try{C.badge(e)}catch(e){}}}else M=function(e){};var O=r.default.createClass({displayName:"AppBadge",mixins:[c.default.StoreListenerMixin(g.default,v.default,y.default,b.default,I.default),u.default],getStateFromStores:function(){return{mentionCount:g.default.getTotalMentionCount(),hasUnread:g.default.hasAnyUnread(),pendingRelationshipCount:y.default.getPendingCount(),friendSuggestionCount:b.default.getSuggestionCount(),hasIncomingCalls:v.default.hasIncomingCalls(),disableUnreadIndicator:I.default.getDisableUnreadBadge()}},componentDidMount:function(){this.componentDidUpdate()},componentDidUpdate:function(){var e=this.state.mentionCount+this.state.pendingRelationshipCount+this.state.friendSuggestionCount;0===e&&this.state.hasUnread&&(e=this.state.disableUnreadIndicator?"":"•"),M(e),this.state.hasIncomingCalls&&!this.cancelBounce?this.cancelBounce=p.default.bounceDock("critical"):!this.state.hasIncomingCalls&&this.cancelBounce&&(this.cancelBounce(),this.cancelBounce=null)},componentWillUnmount:function(){M(0),this.cancelBounce&&(this.cancelBounce(),this.cancelBounce=null)},render:function(){return null}});t.default=O,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(6),f=a(u),c=n(1285),d=a(c),p=n(1256),h=a(p),g=n(1267),m=a(g),v=n(1282),E=a(v),y=n(1456),_=a(y),b=n(1313),S=a(b),I=n(1319),T=a(I),N=n(19),A=a(N),M=n(35),C=a(M),O=n(188),D=a(O);n(2156);var L=o(d.default,{}),R=o(S.default,{}),x=o(T.default,{}),w=o(h.default,{}),P=o(m.default,{}),k=o(E.default,{}),U=i.default.createClass({displayName:"AppView",mixins:[f.default,l.default.LazyStoreListenerMixin(D.default,A.default,C.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=A.default.getChannelId(C.default.getGuildId());return{selectedGuildId:D.default.getGuildId(),selectedChannelId:e}},render:function(){var e=this.state,t=e.selectedChannelId,n=e.selectedGuildId;return o("section",{className:"flex-horizontal flex-spacer"},void 0,L,o("div",{className:"flex-vertical channels-wrap"},void 0,n?o(_.default,{guildId:n}):R,x,w),t?P:k)}});t.default=U,e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=o(i),l=n(6),u=o(l),f=n(741),c=o(f),d=n(318),p=a(d),h=n(475),g=o(h),m=/\.(png|jpe?g|webp|gif)$/i,v=10485760,E=s.default.createClass({displayName:"Attachment",mixins:[u.default],getDefaultProps:function(){return{inlineMedia:!0}},isImage:function(){return m.test(this.props.attachment.filename)},render:function(){var e=this.props.attachment,t=p.classifyFileName(e.filename);return this.props.inlineMedia&&this.isImage()&&e.width>0&&e.height>0&&e.size<=v?r("div",{className:"attachment-image"},void 0,r("a",{href:e.url,onClick:this.props.onClick,target:"_blank",rel:"noreferrer"},void 0,r(c.default,{src:e.proxy_url,href:e.url,width:e.width,height:e.height,resize:!0,onContextMenu:this.props.onContextMenu}))):r("div",{className:"attachment"},void 0,r("div",{className:"icon icon-file "+t}),r("div",{className:"attachment-inner"},void 0,r("a",{href:e.url,target:"_blank",rel:"noreferrer"},void 0,e.filename),r("div",{className:"metadata"},void 0,g.default.filesize(e.size))))}});t.default=E,e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=o(i),l=n(6),u=o(l),f=n(2),c=o(f),d=n(94),p=n(215),h=o(p),g=n(46),m=o(g),v=n(101),E=o(v),y=n(17),_=o(y),b=n(1),S=n(3),I=o(S),T=n(58),N=o(T),A=r(m.default,{}),M=s.default.createClass({displayName:"AuthorizeIPAddress",mixins:[u.default,c.default.StoreListenerMixin(_.default)],componentDidMount:function(){var e=this;a.nextTick(function(){E.default.authorizeIPAddress(e.props.location.query.token)})},getStateFromStores:function(){return{verifyFailed:_.default.didVerifyFail(),verifySucceeded:_.default.didVerifySucceed()}},renderLoginButton:function(){return"Android"===N.default.os.family||"iOS"===N.default.os.family?null:r(d.Link,{to:b.Routes.LOGIN,className:"btn btn-primary"},void 0,I.default.Messages.LOGIN)},render:function(){var e=void 0;return e=this.state.verifyFailed?r("div",{},void 0,r("p",{className:"error"},void 0,I.default.Messages.AUTHORIZATION_EXPIRED),r("p",{className:"error"},void 0,I.default.Messages.AUTHORIZATION_EXPIRED_SUGGESTION),this.renderLoginButton()):this.state.verifySucceeded?r("div",{},void 0,r("h1",{},void 0,I.default.Messages.IP_AUTHORIZATION_SUCCEEDED),r("p",{},void 0,I.default.Messages.IP_AUTHORIZATION_SUCCEEDED_SUGGESTION),this.renderLoginButton()):r("div",{},void 0,r("h1",{},void 0,I.default.Messages.AUTHORIZING),A),r(h.default,{},void 0,r("div",{className:"auth-verify"},void 0,e))}});t.default=M,e.exports=t.default}).call(t,n(45))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(0),r=a(o),i=n(6),s=a(i),l=n(2),u=a(l),f=n(7),c=a(f),d=n(1),p=n(17),h=a(p),g=n(27),m=a(g),v=n(76),E=a(v),y=n(62),_=a(y),b=n(190),S=a(b),I=n(19),T=a(I),N=n(525),A=a(N),M=n(270),C=a(M),O=n(29),D=a(O),L=n(122),R=a(L),x=n(11),w=a(x),P=n(109),k=a(P),U=n(714),G=a(U),j=n(347),F=a(j),B=r.default.createClass({displayName:"AutoAnalytics",mixins:[u.default.StoreListenerMixin(m.default,S.default,T.default,A.default,C.default,k.default),s.default],getStateFromStores:function(){var e=T.default.getVoiceChannelId(),t=null,n=null;if(e){var a=w.default.getChannel(e);null!=a&&(t=a.getGuildId(),n=a.type)}return{selfMute:m.default.isSelfMute(),selfDeaf:m.default.isSelfDeaf(),currentUserSpeaking:S.default.isCurrentUserSpeaking(),anyoneSpeaking:S.default.isAnyoneSpeaking(),voiceChannelId:e,voiceChannelGuildId:t,voiceChannelType:n,newUserModalStep:A.default.getNewUserModalStep(),runningGame:C.default.getGameName(),overlayEnabled:k.default.enabled}},componentDidUpdate:function(e,t){t.currentUserSpeaking!==this.state.currentUserSpeaking&&this.state.currentUserSpeaking&&R.default.trackWithMetadata(d.AnalyticEvents.START_SPEAKING,{mode:m.default.getMode(),channel:this.state.voiceChannelId,server:this.state.voiceChannelGuildId,channel_id:this.state.voiceChannelId,guild_id:this.state.voiceChannelGuildId}),t.voiceChannelId!==this.state.voiceChannelId&&(null!=t.voiceChannelId&&null!=this._voiceChannelMetadata&&(D.default.track(d.AnalyticEvents.LEAVE_VOICE_CHANNEL,{channel_id:t.voiceChannelId,channel_type:t.voiceChannelType,guild_id:t.voiceChannelGuildId,nonce:this._voiceChannelMetadata.nonce,duration:Date.now()-this._voiceChannelMetadata.timestamp,voice_state_count:this.getVoiceStateCount(t.voiceChannelGuildId,t.voiceChannelId)}),this._voiceChannelMetadata=null),null!=this.state.voiceChannelId&&(this._voiceChannelMetadata={nonce:F.default.v4(),timestamp:Date.now()},D.default.track(d.AnalyticEvents.JOIN_VOICE_CHANNEL,{channel_id:this.state.voiceChannelId,channel_type:this.state.voiceChannelType,guild_id:this.state.voiceChannelGuildId,nonce:this._voiceChannelMetadata.nonce,voice_state_count:this.getVoiceStateCount(this.state.voiceChannelGuildId,this.state.voiceChannelId)}))),t.anyoneSpeaking!==this.state.anyoneSpeaking&&this.state.anyoneSpeaking&&this.trackStartListening(),null==t.voiceChannelId&&null!=this.state.voiceChannelId&&D.default.track(d.AnalyticEvents.VOICE_CONNECT),t.newUserModalStep!==this.state.newUserModalStep&&D.default.track("NUF Step Complete",{Step:this.state.newUserModalStep}),t.runningGame!==this.state.runningGame&&null!=this.state.runningGame&&G.default.setRunningGame(this.state.runningGame),t.overlayEnabled!==this.state.overlayEnabled&&D.default.track("Overlay Toggled",{enabled:this.state.overlayEnabled})},trackStartListening:function(){var e=this;if(null!=this.state.voiceChannelId&&!m.default.isDeaf()){var t=E.default.getVoiceStates(_.default.getGuildId());(0,c.default)(S.default.getSpeakers()).keys().filter(function(e){return e!==h.default.getId()}).map(function(e){return t[e]}).some(function(t){return t&&t.channelId===e.state.voiceChannelId})&&R.default.trackWithMetadata(d.AnalyticEvents.START_LISTENING,{mute:m.default.isMute(),channel:this.state.voiceChannelId,server:this.state.voiceChannelGuildId,channel_id:this.state.voiceChannelId,guild_id:this.state.voiceChannelGuildId})}},getVoiceStateCount:function(e,t){return(0,c.default)(E.default.getVoiceStates(e)).filter(function(e){return e.channelId===t}).filter(function(e){return e.userId!==h.default.getId()}).size()},render:function(){return null}});t.default=B,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(292),f=a(u),c=n(60),d=a(c),p=n(538),h=a(p),g=n(63),m=a(g),v=n(3),E=a(v),y=n(1),_=[{value:"0",label:E.default.Messages.DELETE_MESSAGE_HISTORY_OPTION_NONE},{value:"1",label:E.default.Messages.DELETE_MESSAGE_HISTORY_OPTION_24HR},{value:"7",label:E.default.Messages.DELETE_MESSAGE_HISTORY_OPTION_7D}],b=1,S=l.default.createClass({displayName:"BanConfirmModal",getInitialState:function(){return{duration:_[b].value,reason:""}},getDefaultProps:function(){return{userId:null,guildId:null}},handleSubmit:function(){var e=this.props,t=e.guildId,n=e.user,a=this.state,o=a.duration,r=a.reason;m.default.banUser(t,n.id,o,r)},handleChangeDeleteDuration:function(e){this.setState({duration:e})},handleChangeReason:function(e){this.setState({reason:e})},render:function(){var e=this.state,t=e.duration,a=e.reason,s=this.props,u=s.user,c=o(s,["user"]);return l.default.createElement(d.default,r({className:"theme-light",header:E.default.Messages.BAN_CONFIRM_TITLE.format({username:"@"+u.toString()}),confirmText:E.default.Messages.BAN,cancelText:E.default.Messages.CANCEL,onConfirm:this.handleSubmit,red:!0},c),i("video",{autoPlay:!0,loop:!0,className:"user-popout-banned-video"},void 0,i("source",{src:n(2358),type:"video/webm"}),i("source",{src:n(2357),type:"video/mp4"}),i("img",{src:n(3137)})),i("div",{className:"control-group margin-top-20"},void 0,i("label",{htmlFor:"ban-delete-messages"},void 0,E.default.Messages.FORM_LABEL_DELETE_MESSAGE_HISTORY),l.default.createElement(f.default,{id:"ban-delete-messages",value:t,ref:"ban-delete-messages",clearable:!1,searchable:!1,options:_,disabled:!1,onChange:this.handleChangeDeleteDuration})),i("div",{className:"control-group margin-top-20"},void 0,i("label",{htmlFor:"ban-reason"},void 0,E.default.Messages.FORM_LABEL_REASON_BAN)),i(h.default,{className:"user-popout-reason-text-area",maxLength:y.MAX_REASON_LENGTH,id:"ban-reason",onChange:this.handleChangeReason,type:"text",value:a}))}});t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(6),u=a(l),f=n(178),c=a(f),d=n(229),p=a(d),h=n(730),g=a(h),m=n(709),v=a(m),E=n(1582),y=a(E),_=n(317),b=a(_),S=n(57),I=a(S),T=n(3),N=a(T);n(2150);var A=n(725),M=a(A),C=n(29),O=a(C),D=n(8),L=a(D),R=n(1),x="https://blog.discordapp.com/tagged/changelog",w=p.default.getDefaultRules(),P=c.default.defaultRules.lheading,k=c.default.defaultRules.link,U=c.default.defaultRules.image,G=p.default.parserFor(r({},w,{image:r({},U),link:r({},k,{parse:function(e,t,n){var a=void 0;return e[2].startsWith("https://discordapp.com/nitro")&&(a=function(e){I.default.open(R.UserSettingsSections.PREMIUM),n.changeLog.track("change_log_cta_clicked"),v.default.hideChangeLog(),e.preventDefault()}),r({},k.parse(e,t,n),{callToAction:a})},react:function(e,t,n){return o("a",{href:c.default.sanitizeUrl(e.target),title:e.title,onClick:e.callToAction,target:"_blank",className:e.callToAction?"cta":null},n.key,t(e.content,n))}}),list:c.default.defaultRules.list,lheading:r({},P,{parse:function(e,t,n){return{className:/\{(.+?)}/.exec(e[1])[1],level:"="===e[2]?1:2,content:c.default.parseInline(t,e[1].replace(/\{.+?}/,""),n)}},react:function(e,t,n){return s.default.createElement("h"+e.level,{key:n.key,className:e.className},t(e.content,n))}})})),j=s.default.createClass({displayName:"ChangeLog",mixins:[u.default],statics:{modalConfig:{store:y.default,center:!0}},close:function(){return v.default.hideChangeLog()},track:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=y.default.getChangelog(),a=n.date,o=n.revision,i={change_log_id:a+":"+o};t||(i=r({seconds_open:Math.round((Date.now()-this.mountedAt)/1e3),max_scrolled_percentage:100*this.maxScrolledPercentage.toPrecision(4)},i)),O.default.track(e,i)},joinEligibleExperiment:function(){var e=y.default.getChangelog();e.experiment_names&&b.default.triggerFirstEligibleUserExperiment(e.experiment_names)},getScrollerRef:function(e){this._scrollerNode=e?e.getScrollerNode():null},componentDidMount:function(){this.mountedAt=Date.now(),this.maxScrolledPercentage=0,this.joinEligibleExperiment(),this.track("change_log_opened",!0)},componentWillUnmount:function(){this.track("change_log_closed")},handleScroll:function(){if(this._scrollerNode){var e=this._scrollerNode.scrollHeight.toPrecision(2)-this._scrollerNode.offsetHeight,t=this._scrollerNode.scrollTop/e;this.maxScrolledPercentage=Math.max(this.maxScrolledPercentage,t)}},renderHeader:function(e){return N.default.Messages.CHANGE_LOG_HEADER.format({date:e.date?(0,L.default)(e.date).toDate():new Date})},renderFooter:function(){return N.default.Messages.MISSED_AN_UPDATE.format({link:x})},renderVideo:function(e){var t=451,a=254,r=e.youtube_video_id;return r?o(M.default,{scale:!1,type:"changelog",inlineMedia:!0,provider:{name:"youtube"},url:"https://youtu.be/"+r,playable:!0,thumbnail:{proxy_url:"https://i.ytimg.com/vi/"+r+"/maxresdefault.jpg",width:t,height:a},video:{url:"https://www.youtube.com/embed/"+r+"?vq=large&rel=0&controls=0&showinfo=0",width:t,height:a}}):s.default.createElement("img",{ref:"gif",className:"lead-video",src:n(2924)})},render:function(){var e=this,t=y.default.getChangelog();return s.default.createElement(g.default,{className:"change-log",ref:this.getScrollerRef,onClose:this.close,renderHeader:function(){return e.renderHeader(t)},renderFooter:this.renderFooter,onScroll:this.handleScroll},this.renderVideo(t),G(t.body,!1,{changeLog:this}))}});t.default=j,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(17),f=a(u),c=n(1583),d=a(c),p=n(483),h=a(p),g=n(3),m=a(g);n(2151);var v="NICK_REF",E=i.default.createClass({displayName:"ChangeNicknameModal",statics:{modalConfig:{store:d.default}},close:function(){h.default.close()},componentDidMount:function(){this.refs[v].select()},render:function(){var e=this,t=function(t){return null!=e.props.errors[t]},n=function(n){return t(n)?o("span",{className:"error"},void 0,"(",e.props.errors[n],")"):null},a=this.props,r=a.user,s=a.nick,u=void 0;return r.id!==f.default.getId()&&(u=o("div",{className:"change-nickname-warning"},void 0,m.default.Messages.CHANGE_NICKNAME_WARNING)),o("form",{className:"form",onSubmit:this.handleSubmit},void 0,o("div",{className:"form-header"},void 0,o("header",{},void 0,m.default.Messages.CHANGE_NICKNAME)),o("div",{className:"form-inner"},void 0,u,o("div",{className:(0,l.default)({"control-group":!0,error:t("nick")})},void 0,o("label",{htmlFor:"nickname"},void 0,m.default.Messages.NICKNAME," ",n("nick")),i.default.createElement("input",{id:"nickname",type:"text",ref:v,defaultValue:s,placeholder:""+r.toString(),autoFocus:!0})),o("div",{className:"control-group"},void 0,o("label",{},void 0,o("a",{onClick:this.handleReset},void 0,m.default.Messages.RESET_NICKNAME)))),o("div",{className:"form-actions"},void 0,o("button",{type:"button",className:"btn btn-default",onClick:this.close},void 0,m.default.Messages.CANCEL),o("button",{type:"submit",className:"btn btn-primary",disabled:this.props.submitting},void 0,m.default.Messages.SAVE)))},handleReset:function(){var e=this.refs[v];e.value="",e.focus()},handleSubmit:function(e){e.preventDefault();var t=this.refs[v].value;h.default.changeNickname(this.props.guildId,this.props.user.id,t)}});t.default=E,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(145),f=n(1584),c=a(f),d=n(1234),p=a(d),h=n(3),g=a(h),m="CODE_REF",v=i.default.createClass({displayName:"ChangeVanityURLModal",statics:{modalConfig:{store:c.default}},close:function(){p.default.closeModal()},componentDidMount:function(){this.refs[m].select()},render:function(){var e=this.props,t=e.code,n=e.hasError;return o("form",{className:"form",onSubmit:this.handleSubmit},void 0,o("div",{className:"form-header"},void 0,o("header",{},void 0,g.default.Messages.CHANGE_VANITY_URL)),o("div",{className:"form-inner"},void 0,o("div",{className:(0,l.default)({"control-group":!0,error:n})},void 0,o("label",{htmlFor:"vanity-url-code"},void 0,n?o("span",{className:"error"},void 0,g.default.Messages.CHANGE_VANITY_URL_ERROR):(0,u.getInviteURL)()),i.default.createElement("input",{id:"vanity-url-code",type:"text",ref:m,defaultValue:t,autoFocus:!0}))),o("div",{className:"form-actions"},void 0,o("button",{type:"button",className:"btn btn-default",onClick:this.close},void 0,g.default.Messages.CANCEL),o("button",{type:"submit",className:"btn btn-primary",disabled:this.props.submitting},void 0,g.default.Messages.SAVE)))},handleSubmit:function(e){e.preventDefault();var t=this.refs[m].value;p.default.changeVanityURL(this.props.guildId,t)}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(5),c=a(f),d=n(291),p=a(d),h=n(1268),g=a(h),m=n(1299),v=a(m),E=n(1338),y=a(E),_=n(1331),b=a(_),S=n(363),I=a(S),T=n(95),N=a(T),A=n(64),M=a(A),C=n(1365),O=a(C),D=n(1278),L=a(D),R=n(181),x=a(R),w=n(1284),P=a(w),k=n(723),U=a(k),G=n(733),j=a(G),F=n(1312),B=a(F),V=n(1348),H=a(V),z=n(1349),W=a(z),Y=n(1329),K=a(Y),Q=n(1269),Z=a(Q),X=n(1273),J=a(X),q=n(496),$=a(q),ee=n(52),te=(a(ee),n(11)),ne=a(te),ae=n(19),oe=a(ae),re=n(35),ie=a(re),se=n(12),le=a(se),ue=n(798),fe=a(ue),ce=n(519),de=a(ce),pe=n(34),he=a(pe),ge=n(88),me=a(ge),ve=n(222),Ee=a(ve),ye=n(10),_e=a(ye),be=n(802),Se=a(be),Ie=n(224),Te=a(Ie),Ne=n(532),Ae=a(Ne),Me=n(130),Ce=a(Me),Oe=n(2),De=a(Oe),Le=n(229),Re=a(Le),xe=n(846),we=a(xe),Pe=n(3),ke=a(Pe),Ue=n(146),Ge=a(Ue),je=n(87),Fe=a(je),Be=n(79),Ve=a(Be),He=n(214),ze=a(He),We=n(14),Ye=a(We),Ke=n(54),Qe=a(Ke),Ze=n(47),Xe=a(Ze),Je=n(219),qe=a(Je),$e=n(730),et=a($e),tt=n(485),nt=a(tt),at=n(372),ot=a(at),rt=n(46),it=a(rt),st=n(1504),lt=a(st),ut=n(377),ft=a(ut),ct=n(1),dt=s.default.createClass({displayName:"ChannelName",handleBlur:function(e){this.props.channel.toString()!==e.currentTarget.value&&Ve.default.setName(this.props.channel.id,e.currentTarget.value)},render:function(){return r(O.default,{minLen:1,maxLen:100,className:"channel-name",value:this.props.channel.toString(),onBlur:this.handleBlur})}}),pt=s.default.createClass({displayName:"ChannelTopicModal",renderHeader:function(){return"#"+this.props.channel.toString()},render:function(){var e=this.props.channel;return r(et.default,{onClose:this.props.onClose,renderHeader:this.renderHeader,selectable:!0},void 0,Re.default.parseTopic(e.topic,!0,{channelId:e.id}))}}),ht=r("div",{className:"no-topic"}),gt=s.default.createClass({displayName:"ChannelTopic",handleOpenTopic:function(e){!(e.target.matches("a")||e.target.parentNode.matches("a")||"highlight"==e.target.className||"highlight"==e.target.parentNode.className)&&Ye.default.push(pt,this.props)},render:function(){var e=this,t=this.props.channel;return null==t.topic||0==t.topic.length?ht:t.type===ct.ChannelTypes.GROUP_DM?null:r("div",{className:"topic topic-expandable",onMouseDown:this.onMouseDown,onMouseMove:this.onMouseMove,onMouseUp:this.onMouseUp,onContextMenu:function(t){return e.props.onContextMenu(t,ct.ContextMenuTypes.CHANNEL_TOPIC)}},void 0,Re.default.parseTopic(t.topic,!0,{channelId:t.id}))},onMouseDown:function(){this._mouseDown=!0},onMouseMove:function(){this._mouseDown&&(this._mouseDown=!1)},onMouseUp:function(e){this._mouseDown&&e.button!==ct.MouseButtons.SECONDARY&&this.handleOpenTopic(e),this._mouseDown=!1}}),mt=s.default.createClass({displayName:"ChannelTextAreaForm",mixins:[ot.default,u.default],componentWillMount:function(){Se.default.addChangeListener(this.inProgressTextDidChange)},componentWillUnmount:function(){Se.default.removeChangeListener(this.inProgressTextDidChange)},getInitialState:function(){return{textValue:Se.default.getSavedText(this.props.channel.id)}},componentWillReceiveProps:function(e){e.channel.id!==this.props.channel.id&&this.inProgressTextDidChange(e)},inProgressTextDidChange:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=Se.default.getSavedText(t.channel.id);(this.state.textValue!==n||this.refs.input&&n!==this.refs.input.getValue())&&this.setState({textValue:n},function(){e.refs.input&&n!==e.refs.input.getValue()&&(e.refs.input.setValue(n),e.focus())})},render:function(){var e=this.props,t=e.channel,n=e.onResize,a=ke.default.Messages.TEXTAREA_PLACEHOLDER.format({channel:t.toString(!0)});return r("form",{},void 0,r(t.isPrivate()?L.default:P.default,{channel:t},t.id,r(qe.default,{tutorialId:"writing-messages",position:qe.default.LEFT,offsetY:-50,offsetX:90},void 0,s.default.createElement($.default,{ref:"input",channel:t,placeholder:a,onChange:this.handleTextareaChange,onSubmit:this.handleSendMessage,onResize:n,onKeyDown:this.handleKeyDown,defaultValue:this.state.textValue}))),r(y.default,{channel:t}))},handleTextareaChange:function(){nt.default.changeCurrentText(this.props.channel.id,this.refs.input.getValue()),we.default.typing(this.props.channel.id)},handleKeyDown:function(e,t){if(!(38!==e.which||e.shiftKey||e.altKey||e.ctrlKey||e.metaKey)&&0===t.length){e.preventDefault();var n=this.props.channel,a=me.default.getLastEditableMessage(n.id);a&&Qe.default.startEditMessage(n.id,a.id,a.content)}},handleSendMessage:function(e){if(0===e.length)return!1;if(!this.applyChatRestrictions(e)){var t=this.props.channel;return we.default.clear(t.id),this.props.handleJumpToChat&&this.props.handleJumpToChat(),Qe.default.sendMessage(t.id,Ge.default.parse(t,e)),!0}},focus:function(){var e=this.refs.input;null!=e&&e.focus()}}),vt=r("div",{className:"no-topic"}),Et=r("span",{className:"aka"},void 0,"AKA"),yt=s.default.createClass({displayName:"AKA",mixins:[De.default.StoreListenerMixin(he.default),u.default],getStateFromStores:function(){return{nicknames:he.default.getNicknames(this.props.channel.getRecipientId()).join(", ")}},render:function(){return 0===this.state.nicknames.length?vt:r("div",{className:"topic"},void 0,Et,this.state.nicknames)}}),_t=r(Z.default,{}),bt=r(Z.default,{}),St=r(J.default,{}),It=r("div",{className:"chat flex-vertical flex-spacer empty"},void 0,r(it.default,{})),Tt=s.default.createClass({displayName:"Channel",mixins:[De.default.StoreListenerMixin(ne.default,le.default,oe.default,ie.default,fe.default,Ee.default,de.default,Te.default,Ce.default,ft.default,Ae.default),Xe.default,u.default,Fe.default],getStateFromStores:function(){var e=oe.default.getChannelId(),t=fe.default.getEditingMessageId(),n=ie.default.getGuildId(),a=Ce.default.getVisibleCallParticipants();return{channel:ne.default.getChannel(e),isEditing:null!=t,hasModalOpen:Ee.default.hasModalOpen(),section:de.default.getSection(),guild:le.default.getGuild(n),searchId:Te.default.getCurrentSearchId(),hasCall:a&&a.length>0,nsfwAgree:ft.default.didAgree(n),theme:Ae.default.theme}},getSubscriptions:function(){var e;return e={},e[ct.ComponentActions.TEXTAREA_FOCUS]=this.handleInputFocus,e},componentDidUpdate:function(e,t){this.state.isEditing===t.isEditing&&this.state.hasModalOpen===t.hasModalOpen||0!=this.state.isEditing||0!=this.state.hasModalOpen||this.handleInputFocus(),this.state.channel&&t.channel&&this.state.channel.id!==t.channel.id&&this.state.topicExpanded&&this.setState({topicExpanded:!1}),this.state.section!==t.section&&this.handleResize()},handleInputFocus:function(){var e=this.refs.input;null!=e&&e.focus()},handleOpenProfile:function(){ze.default.open(this.state.channel.getRecipientId())},handleChannelContextMenu:function(e,t){var n=this.state,a=n.guild,r=n.channel;M.default.openContextMenu(e,function(e){return s.default.createElement(I.default,o({},e,{type:t,channel:r,guild:a}))})},handleUserContextMenu:function(e){var t=this.state.channel;M.default.openContextMenu(e,function(e){return s.default.createElement(N.default,o({},e,{type:ct.ContextMenuTypes.USER_CHANNEL_TITLE,user:_e.default.getUser(t.getRecipientId()),selected:!0,channelId:t.id}))})},renderTitle:function(){var e=this,t=this.state.channel;switch(t.type){case ct.ChannelTypes.DM:var n=t.getRecipientId();return r("div",{className:"title",onContextMenu:this.handleUserContextMenu},void 0,r("a",{className:"channel-name channel-private",onClick:this.handleOpenProfile},void 0,t.toString()),r(b.default,{userId:n}));case ct.ChannelTypes.GROUP_DM:return t.isManaged()?r("div",{className:"title channel-group-dm-managed"},void 0,r("a",{className:"channel-name channel-private"},void 0,t.toString())):r("div",{className:"title channel-group-dm"},void 0,r(dt,{channel:t},"channel-"+t.id));case ct.ChannelTypes.GUILD_TEXT:return r("div",{className:"title",onContextMenu:function(t){return e.handleChannelContextMenu(t,ct.ContextMenuTypes.CHANNEL_TITLE)}},void 0,r("span",{className:"channel-name"},void 0,t.toString()));default:return null}},renderTopic:function(){var e=this.state,t=e.channel,n=e.guild;switch(t.type){case ct.ChannelTypes.DM:return r(yt,{channel:t},t.id);case ct.ChannelTypes.GUILD_TEXT:return r(gt,{channel:t,guild:n,onContextMenu:this.handleChannelContextMenu},t.id);default:return null}},renderToolbar:function(){var e=this.state.channel,t=void 0,n=void 0,a=void 0,o=void 0;switch(e.type){case ct.ChannelTypes.DM:t=r(W.default,{channel:e,clickRecipientButton:this.clickRecipientButton}),o=s.default.createElement(j.default,{channel:e,ref:this.getRecipientButtonRef,tooltip:ke.default.Messages.GROUP_DM_ADD_FRIENDS}),t=r(W.default,{channel:e,clickRecipientButton:this.clickRecipientButton});break;case ct.ChannelTypes.GROUP_DM:a=_t,e.isManaged()||(o=r(j.default,{channel:e,tooltip:ke.default.Messages.GROUP_DM_ADD_FRIENDS})),t=r(W.default,{channel:e});break;case ct.ChannelTypes.GUILD_TEXT:a=bt,n=r(U.default,{channel:e})}return r(x.default,{},void 0,t,n,St,a,o)},renderCall:function(){var e=this.state.channel;switch(e.type){case ct.ChannelTypes.DM:return r(H.default,{channel:e,onResize:this.handleResize},e.id);case ct.ChannelTypes.GROUP_DM:return r(H.default,{channel:e,onResize:this.handleResize},e.id);default:return null}},renderChat:function(){var e=this.state,t=e.channel,n=e.nsfwAgree,a=e.guild;return!n&&t.isNSFW()?r(lt.default,{guild:a}):r("div",{className:"flex-spacer flex-vertical",style:{position:"relative"}},void 0,s.default.createElement(v.default,{key:t.id,ref:"messages",channel:t}),s.default.createElement(mt,{ref:"input",channel:t,onResize:this.handleResize,handleJumpToPresent:this.handleJumpToPresent}))},renderSidebar:function(){var e=this.state,t=e.searchId,n=e.channel,a=e.section;if(a===ct.ChannelSections.MEMBERS)switch(n.type){case ct.ChannelTypes.GROUP_DM:return r(B.default,{channel:n});case ct.ChannelTypes.GUILD_TEXT:return r(g.default,{channel:n})}else if(a===ct.ChannelSections.SEARCH)return r(K.default,{searchId:t});return null},renderEmptyChannel:function(){return It},render:function(){var e=this.state,t=e.channel,n=e.hasCall,a=e.theme;return t?r("div",{className:(0,c.default)("chat flex-vertical flex-spacer",{private:t.isPrivate()})},void 0,r("div",{className:(0,c.default)("title-wrap",{call:n,"title-wrap-dark":a===ct.ThemeTypes.DARK})},void 0,r(p.default,{title:t.toString(!0)}),this.renderTitle(),this.renderTopic(),this.renderToolbar()),this.renderCall(),r("div",{className:"content flex-spacer flex-horizontal"},void 0,this.renderChat(),this.renderSidebar())):this.renderEmptyChannel()},handleJumpToPresent:function(){me.default.getMessages(this.state.channel.id).hasMoreAfter&&this.refs.messages.jumpToPresent()},handleResize:function(){var e=this.refs.messages;null!=e&&e.handleResize()},getRecipientButtonRef:function(e){this._recipientButton=e||null},clickRecipientButton:function(){this._recipientButton&&this._recipientButton.openFromDisabledCall()}});t.default=Tt,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(5),c=a(f),d=n(72),p=a(d),h=n(742),g=a(h),m=n(24),v=a(m),E=n(274),y=a(E),_=n(95),b=a(_),S=n(502),I=a(S),T=n(61),N=a(T),A=n(41),M=a(A),C=n(216),O=a(C),D=n(64),L=a(D),R=n(821),x=a(R),w=n(311),P=a(w),k=n(520),U=a(k),G=n(90),j=a(G),F=n(13),B=a(F),V=n(2),H=a(V),z=n(219),W=a(z),Y=n(47),K=a(Y),Q=n(192),Z=n(1);n(2152);var X=40,J=r("div",{className:"background"}),q=r("div",{className:"heading"}),$=s.default.createClass({displayName:"ChannelMembersLoading",mixins:[p.default,u.default],getInitialState:function(){var e=this.props.isSyncing;return{shouldRender:e,opacity:new v.default.Value(e?1:0)}},componentWillReceiveProps:function(e){e.isSyncing&&!this.state.shouldRender&&(this.state.opacity.setValue(1),this.setState({shouldRender:!0}))},componentDidUpdate:function(e){var t=this;this.state.shouldRender&&!this.props.isSyncing&&e.isSyncing&&this.setImmediate(function(){v.default.timing(t.state.opacity,{toValue:0,duration:170,easing:v.default.Easing.easeOut}).start(function(){t.setState({shouldRender:!1})})})},render:function(){if(!this.state.shouldRender)return null;for(var e=[],t=0;t<this.props.memberCount;t++)e.push(r("div",{className:"member"},t));return r(v.default.div,{className:"channel-members-loading",style:{opacity:this.state.opacity}},void 0,J,q,e)}}),ee=r(I.default,{}),te=s.default.createClass({displayName:"ChannelMember",mixins:[H.default.StoreListenerMixin(P.default)],getStateFromStores:function(){return{typing:P.default.isTyping(this.props.channelId,this.props.user.id)}},shouldComponentUpdate:function(e,t){return!(0,y.default)(this.props,e,["channelId"])||!(0,y.default)(this.state,t)},renderUserContextMenu:function(e){var t=this;L.default.openContextMenu(e,function(e){return s.default.createElement(b.default,o({},e,{type:Z.ContextMenuTypes.USER_CHANNEL_MEMBERS,user:t.props.user,guildId:t.props.guildId,channelId:t.props.channelId}))})},renderUserPopout:function(e){return s.default.createElement(O.default,o({},e,{user:this.props.user,guildId:this.props.guildId,channelId:this.props.channelId}))},renderContent:function(){var e=this.props,t=e.user,n=e.colorString,a=e.darkenColor,o=e.activity,i=e.status,s=e.nick,l=void 0;o&&(l=r("div",{className:"member-activity"},void 0,(0,Q.renderActivity)(o)));var u=void 0;return n&&(u={color:n},a&&(u.WebkitFilter="grayscale(50%)")),r("div",{onContextMenu:this.renderUserContextMenu,className:(0,c.default)("member","member-status","member-status-"+i)},void 0,r(N.default,{user:t,status:i,streaming:(0,Q.isStreaming)(o),typing:this.state.typing}),r("div",{className:"member-inner"},void 0,r("div",{className:"member-username",style:u},void 0,r("span",{className:"member-username-inner"},void 0,s),t.bot?ee:null),l))},render:function(){return r(M.default,{closeOnScroll:!1,render:this.renderUserPopout,position:M.default.LEFT,offsetX:15},void 0,this.renderContent())}}),ne=s.default.createClass({displayName:"ChannelMembers",mixins:[H.default.StoreListenerMixin(x.default,U.default,j.default),K.default],getStateFromStores:function(){return o({},x.default.getMemberGroups(this.props.channel.id),{isSyncing:U.default.isSyncing(this.props.channel.guild_id),windowSize:j.default.windowSize(),theme:B.default.theme})},shouldComponentUpdate:function(e,t){return t.version!==this.state.version||this.didPermissionsUpdate(t,e.channel)||t.isSyncing!==this.state.isSyncing||!t.isSyncing&&t.windowSize.height!==this.state.windowSize.height},componentWillReceiveProps:function(e){this.setState(o({},x.default.getMemberGroups(e.channel.id),{isSyncing:U.default.isSyncing(e.channel.guild_id)}))},renderSection:function(e){var t=this.state.memberGroups[e];return r("h2",{},t.key,t.title,"—",t.users.length)},renderRow:function(e,t){var n=this.props.channel,a=this.state.memberGroups[e],r=a.darken,i=a.users,l=i[t];return s.default.createElement(te,o({key:l.user.id},l,{darkenColor:r,channelId:n.id,guildId:n.guild_id}))},render:function(){var e=this.state.theme,t=this.state.memberGroups.map(function(e){return e.users.length}),n=Math.ceil(this.state.windowSize.height/X),a=e===Z.ThemeTypes.LIGHT?"#f3f3f3":"#2e3136";return r(W.default,{tutorialId:"whos-online",position:W.default.LEFT,offsetYPercent:-50,offsetX:16,offsetY:16},void 0,r("div",{className:"channel-members-wrap"},void 0,r(g.default,{className:"channel-members",paddingTop:0,backgroundColor:a,theme:g.default.Themes.GHOST,sectionHeight:50,rowHeight:40,renderSection:this.renderSection,renderRow:this.renderRow,sections:t}),r($,{memberCount:n,isSyncing:this.state.isSyncing})))}});t.default=ne,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(3),f=a(u),c=n(1),d=n(181),p=n(519),h=a(p),g=n(710),m=a(g);n(418);var v=i.default.createClass({displayName:"ChannelMembersButton",mixins:[l.default.StoreListenerMixin(h.default)],getStateFromStores:function(){return{section:h.default.getSection()}},handleClick:function(){m.default.toggleSection(c.ChannelSections.MEMBERS)},render:function(){return o(d.HeaderToolbarButton,{tooltip:f.default.Messages.MEMBER_LIST,active:this.state.section===c.ChannelSections.MEMBERS,onClick:this.handleClick,iconLight:n(3001),iconDark:n(3030)})}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(2),u=a(l),f=n(6),c=a(f),d=n(1585),p=a(d),h=n(1351),g=a(h),m=n(348),v=n(1352),E=a(v),y=n(1353),_=a(y),b=n(1540),S=a(b),I=n(122),T=a(I),N=n(1);n(2153);var A=new S.default([g.default,E.default,_.default]),M=s.default.createClass({displayName:"ChannelNotices",mixins:[c.default,u.default.LazyStoreListenerMixin.apply(u.default,[p.default].concat(A.getStores()))],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=p.default.getState(),t=e.noticeStates,n=e.lastHidden,a=this.props.guild;return r({},e,{Notice:A.getNotice(t,a,n)})},componentDidMount:function(){var e=this.props.guild,t=this.state.Notice;null!=t&&(0,m.showNotice)(t.Type,e)},componentDidUpdate:function(){var e=this.props.guild,t=this.state.Notice;null!=t&&(0,m.showNotice)(t.Type,e)},render:function(){var e=this.props.guild,t=this.state.Notice;return null==t?null:(T.default.trackWithMetadata(N.AnalyticEvents.CHANNEL_NOTICE_VIEWED,{notice_type:t.Type}),o("div",{className:"channel-notices"},void 0,o(t,{guild:e})))}});t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(104),f=a(u),c=n(302),d=a(c),p=n(1),h=n(3),g=a(h),m=n(212),v=a(m),E=n(723),y=a(E);n(2154);var _=i.default.createClass({displayName:"ChannelNotificationSettings",mixins:[l.default.StoreListenerMixin(f.default)],getStateFromStores:function(){return{messageNotifications:f.default.getChannelMessageNotifications(this.props.channel.getGuildId(),this.props.channel.id),muted:f.default.isChannelMuted(this.props.channel.getGuildId(),this.props.channel.id),guildMessageNotifications:f.default.getMessageNotifications(this.props.channel.getGuildId())}},handleRadioChange:function(e,t){var n;v.default.updateChannelOverrideSettings(this.props.channel.getGuildId(),this.props.channel.id,(n={},n[e]=parseInt(t.currentTarget.value,10),n))},handleReset:function(){v.default.updateChannelOverrideSettings(this.props.channel.getGuildId(),this.props.channel.id,{message_notifications:p.UserNotificationSettings.NULL})},messageNotificationsRadioOption:function(e){var t=this.state,n=t.messageNotifications,a=t.muted,r=t.guildMessageNotifications,i=!1,s=!1;return n===p.UserNotificationSettings.NULL?s=r===e:i=n===e,o("div",{className:"radio-button"},void 0,o(d.default,{name:this.props.channel.id+":message_notifications",checked:i,default:s,value:e,disabled:a||this.props.guildMuted,onChange:this.handleRadioChange.bind(this,"message_notifications")}))},render:function(){var e=this.state.messageNotifications,t=this.state.muted||this.props.guildMuted,n=void 0,a=void 0;return t||(e!==p.UserNotificationSettings.NULL&&(n=o("div",{className:"flex-horizontal reset-container"},void 0,o("a",{onClick:this.handleReset},void 0,g.default.Messages.RESET),o("span",{className:"reset-button",onClick:this.handleReset}))),a=o("div",{className:"radio-container"},void 0,this.messageNotificationsRadioOption(p.UserNotificationSettings.ALL_MESSAGES),this.messageNotificationsRadioOption(p.UserNotificationSettings.ONLY_MENTIONS),this.messageNotificationsRadioOption(p.UserNotificationSettings.NO_MESSAGES))),o("div",{className:"channel-notification-settings"},void 0,o("div",{className:"flex-horizontal flex-spacer content"},void 0,o("div",{className:"flex-horizontal flex-spacer content-inner"},void 0,o("div",{className:"flex-horizontal flex-spacer content-inner"},void 0,o("label",{},void 0,this.props.channel.toString()),o("div",{},void 0,o(y.default,{channel:this.props.channel,legacy:!0}))),n),a))}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(2),f=a(u),c=n(793),d=a(c),p=n(349),h=a(p),g=n(3),m=a(g),v=n(358),E=a(v),y=n(89),_=a(y),b=n(744),S=a(b),I=n(10),T=a(I),N=n(1),A="Channel Pins",M=i.default.createClass({displayName:"ChannelPins",mixins:[f.default.StoreListenerMixin(d.default,_.default),l.default],fetchPins:function(e){h.default.ackPins(e.id),h.default.fetchPins(e.id)},componentWillUpdate:function(e,t){t.hasUnreadPins&&!this.state.hasUnreadPins&&h.default.ackPins(this.props.channel.id)},getStateFromStores:function(){var e=d.default.getPinnedMessages(this.props.channel.id),t=_.default.hasUnreadPins(this.props.channel.id);return{messages:e&&e.messages,loading:!e||!e.messages||e.loading,hasUnreadPins:t}},handleUnpin:function(e,t){t.shiftKey?h.default.unpinMessage(this.props.channel,e.id):E.default.confirmUnpin(this.props.channel,e)},getProTip:function(){var e=this.props.channel,t=m.default.Messages.PINNED_MESSAGES_PRO_TIP_BODY_CHANNEL;if(e.isPrivate())if(e.type===N.ChannelTypes.DM){var n=T.default.getUser(e.getRecipientId()).username;t=m.default.Messages.PINNED_MESSAGES_PRO_TIP_BODY_DM.format({other:n})}else t=m.default.Messages.PINNED_MESSAGES_PRO_TIP_BODY_GROUP_DM;return t},renderEmptyState:function(e){var t=m.default.Messages.NO_PINS_IN_CHANNEL;this.props.channel.isPrivate()&&(t=m.default.Messages.NO_PINS_IN_DM);var a=n(e===N.ThemeTypes.LIGHT?2962:2963);return o(S.default.EmptyStateCenter,{msg:t,image:a})},renderHeader:function(){return o(S.default.Header,{title:m.default.Messages.PINNED_MESSAGES})},render:function(){var e=this.state,t=e.messages,n=e.loading;return o(S.default,{onFetch:this.fetchPins,channel:this.props.channel,messages:t,loading:n,analyticsName:A,onCloseMessage:this.handleUnpin,onJump:this.props.onJump,getProTip:this.getProTip,renderHeader:this.renderHeader,renderEmptyState:this.renderEmptyState})}});t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(6),u=a(l),f=n(2),c=a(f),d=n(3),p=a(d),h=n(181),g=n(11),m=a(g),v=n(19),E=a(v),y=n(377),_=a(y),b=n(41),S=a(b),I=n(1272),T=a(I),N=n(140),A=a(N),M=n(85),C=a(M),O=n(89),D=a(O),L=n(1);n(418);var R="CHANNEL_PINS_POPOUT",x=s.default.createClass({displayName:"ChannelPinsButtons",mixins:[u.default,c.default.StoreListenerMixin(A.default,m.default,D.default,E.default,_.default)],getStateFromStores:function(){var e=E.default.getChannelId(),t=m.default.getChannel(e);return{disabled:null==t||t.isNSFW()&&!_.default.didAgree(t.getGuildId()),open:A.default.isOpen(R),hasUnread:D.default.hasUnreadPins(e),channelId:e}},componentWillUpdate:function(e,t){t.channelId!==this.state.channelId&&C.default.close(R)},onJump:function(e){e.shiftKey||C.default.close(R)},renderChannelPinsPopout:function(e){return s.default.createElement(T.default,r({},e,{onJump:this.onJump,channel:m.default.getChannel(this.state.channelId)}))},render:function(){var e=this.state.disabled,t=o(h.HeaderToolbarButton,{disabled:e,id:this.props.id,tooltip:p.default.Messages.PINNED_MESSAGES,iconLight:n(3003),iconDark:n(3034),showBadge:this.state.hasUnread});return e?t:o(S.default,{animationType:"none",uniqueId:R,position:S.default.BOTTOM_RIGHT,render:this.renderChannelPinsPopout,subscribeTo:L.ComponentActions.TOGGLE_CHANNEL_PINS,closeOnScroll:!1},void 0,t)}});t.default=x,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(1259),f=a(u),c=n(1340),d=a(c),p=n(1305),h=a(p),g=n(1258),m=a(g),v=n(1330),E=a(v),y=n(1262),_=a(y),b=n(101),S=a(b),I=n(17),T=a(I),N=n(785),A=a(N),M=n(186),C=a(M),O=n(770),D=a(O),L=n(87),R=a(L),x=n(1),w=n(753),P=a(w),k=n(1295),U=a(k);n(935);var G=o(h.default,{}),j=o(U.default,{className:"flex-vertical flex-spacer"},void 0,o(f.default,{})),F=o(d.default,{}),B=o(m.default,{}),V=o(E.default,{}),H=o(_.default,{}),z=i.default.createClass({displayName:"Chat",mixins:[A.default,l.default,R.default],getSubscriptions:function(){var e;return e={},e[x.ComponentActions.SHAKE_APP]=this.shake,e},shake:function(e){var t=e.duration,n=e.intensity;this.refs.shakeable&&this.refs.shakeable.shake(t,n)},componentDidMount:function(){T.default.isAuthenticated()&&S.default.startSession(T.default.getToken()),C.default.setLayout(D.default),C.default.enable()},componentWillUnmount:function(){C.default.disable()},render:function(){return i.default.createElement(P.default,{ref:"shakeable",className:"app flex-vertical theme-"+this.props.theme},G,j,F,B,V,H)}});t.default=z,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(2),f=a(u),c=n(5),d=a(c),p=n(493),h=a(p),g=n(187),m=a(g),v=n(808),E=a(v),y=n(72),_=a(y),b=n(3),S=a(b),I=n(24),T=a(I),N=n(1218),A=a(N);n(2184);var M="video",C=200,O=1e4,D=i.default.createClass({displayName:"ConnectingModal",mixins:[f.default.StoreListenerMixin(m.default,E.default),l.default,_.default],getInitialState:function(){var e=A.default[Math.floor(Math.random()*A.default.length)];return{ready:!1,quote:e[0],author:e[1],type:e[2],hide:!1,problems:!1,shouldRender:!0,opacity:new T.default.Value(1)}},getStateFromStores:function(){return{connected:m.default.isConnected(),incident:E.default.getIncident()}},componentDidMount:function(){this.getVideo().addEventListener("loadeddata",this.handleReady),this.setProblemsTimeout()},componentWillUpdate:function(e,t){var n=this,a=this.state,o=t.connected&&t.ready&&!t.hide&&!t.problems;if(a.connected!==t.connected||o){var r=this.getVideo();if(t.connected&&null!=r){var i=Math.max(Math.ceil(1e3*(r.duration-r.currentTime)),600);this.setTimeout(function(){n.setState(function(e){return{problems:!1,hide:e.connected}})},i)}else this.setState({problems:!1,hide:t.connected})}else a.hide!==t.hide?(t.hide?this.clearProblemsTimeout():this.setProblemsTimeout(),this.setState({shouldRender:!0}),T.default.timing(t.opacity,{toValue:t.hide?0:1,duration:C}).start(function(){return n.setState({shouldRender:!n.state.hide})})):a.problems!==this.state.problems&&this.state.problems&&h.default.checkIncidents()},handleReady:function(){this.setState({ready:!0})},setProblemsTimeout:function(){var e=this;null==this._problemsTimeout&&(this._problemsTimeout=this.setTimeout(function(){return e.setState({problems:!0})},O))},clearProblemsTimeout:function(){this.clearTimeout(this._problemsTimeout),this._problemsTimeout=null},getVideo:function(){return this.refs[M]},render:function(){if(this.state.shouldRender){var e=o("img",{src:n(3138)});this.state.hide||(e=i.default.createElement("video",{autoPlay:!0,loop:!this.state.connected,ref:M,className:this.state.ready&&"ready"||void 0},o("source",{src:n(2360),type:"video/webm"}),o("source",{src:n(2359),type:"video/mp4"}),e));var t=this.state.quote,a=this.state.connected?S.default.Messages.READY:S.default.Messages.CONNECTING;null!=this.state.incident&&(t=this.state.incident.name,a=this.state.incident.incident_updates[0].body);var r=void 0;switch(this.state.type){case"facebook":r=S.default.Messages.QUOTE_ATTRIBUTION_FACEBOOK.format({url:"https://www.facebook.com/discordapp/"});break;case"instagram":r=S.default.Messages.QUOTE_ATTRIBUTION_INSTAGRAM.format({url:"https://www.instagram.com/"+this.state.author+"/"});break;case"twitter":r=S.default.Messages.QUOTE_ATTRIBUTION.format({name:"@"+this.state.author,url:"https://twitter.com/"+this.state.author})}return r&&(r=o("div",{className:"attribution"},void 0,r)),o(T.default.div,{className:"connecting",style:{opacity:this.state.opacity}},void 0,o("div",{className:"connecting-inner"},void 0,e,o("div",{className:"quote"},void 0,t),r,o("div",{className:"connection-status"},void 0,a)),o("div",{className:(0,d.default)("connecting-problems",{in:this.state.problems})},void 0,o("div",{className:"connecting-problems-text"},void 0,S.default.Messages.CONNECTING_PROBLEMS_CTA),o("div",{className:"connecting-problems-buttons"},void 0,o("a",{className:"twitter",href:"//twitter.com/discordapp",target:"_blank"},void 0,S.default.Messages.TWEET_US),o("a",{className:"statuspage",href:"//status.discordapp.com",target:"_blank"},void 0,S.default.Messages.SERVER_STATUS))))}return null}}),L=o(D,{}),R=i.default.createClass({displayName:"Connecting",mixins:[f.default.StoreListenerMixin(m.default),l.default],getStateFromStores:function(){return{isTryingToConnect:m.default.isTryingToConnect()}},render:function(){return this.state.isTryingToConnect?L:null}});t.default=R,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(7),l=a(s),u=n(5),f=a(u),c=n(67),d=a(c),p=n(160),h=a(p),g=n(12),m=a(g),v=n(52),E=(a(v),n(35)),y=a(E),_=n(1586),b=a(_),S=n(296),I=a(S),T=n(316),N=n(3),A=a(N),M=n(1);n(2185);var C="NAME_REF",O=i.default.createClass({displayName:"CreateChannelModal",statics:{modalConfig:{store:b.default}},getGuildId:function(e){return e=e||this.props,e.guildId||y.default.getGuildId()},getRolesForGuild:function(e){var t=this.getGuildId(e),n=null!=t?m.default.getGuild(t):null;return null!=n?(0,l.default)(n.roles).sortBy(function(e){return e.position}).value():[]},close:function(){I.default.close()},getInitialState:function(){return{permissionOverwrites:new Set,roles:this.getRolesForGuild(this.props)}},componentWillReceiveProps:function(e){this.setState({permissionOverwrites:this.getGuildId()!==this.getGuildId(e)?new Set:this.state.permissionOverwrites,roles:this.getRolesForGuild(e)})},componentDidMount:function(){this.refs[C].select()},renderPermissionOverwrite:function(e){var t=this.state.permissionOverwrites,n=0===t.size&&e.id===this.getGuildId(),a=t.has(e.id)||n;return o("li",{},e.id,o(h.default,{checked:a,disabled:n,onChange:this.handleRoleChange.bind(this,e.id)},void 0,o("span",{style:{color:e.colorString}},void 0,e.name)))},render:function(){var e=this.props,t=e.errors,n=e.cloneChannel,a=e.channelType,r=e.submitting,s=function(e){return null!=t[e]},l=function(e){return s(e)?o("span",{className:"error"},void 0,"(",t[e],")"):null},u=void 0,c=void 0,p=void 0;null!=n?(u=A.default.Messages.CLONE_CHANNEL,c=o("div",{className:"help-text"},void 0,A.default.Messages.CLONE_CHANNEL_HELP.format({name:n.toString(!0)})),p=n.toString()):u=a===M.ChannelTypes.GUILD_TEXT?A.default.Messages.CREATE_TEXT_CHANNEL:A.default.Messages.CREATE_VOICE_CHANNEL;var h=void 0;return null==n&&this.state.roles.length>1&&(h=o("div",{className:"control-group"},void 0,o("label",{},void 0,A.default.Messages.FORM_LABEL_CHANNEL_PERMISSIONS),o("ul",{className:"checkbox-group"},void 0,this.state.roles.map(this.renderPermissionOverwrite)),o("div",{className:"help-text"},void 0,A.default.Messages.FORM_HELP_CHANNEL_PERMISSIONS))),o("form",{id:"create-channel-modal",className:"form",onSubmit:this.handleSubmit},void 0,o("div",{className:"form-header"},void 0,o("header",{},void 0,u)),o("div",{className:"form-inner"},void 0,o(d.default,{},void 0,o("div",{className:(0,f.default)({"control-group":!0,error:s("name")})},void 0,o("label",{htmlFor:"channel-name"},void 0,A.default.Messages.FORM_LABEL_CHANNEL_NAME," ",l("name")),i.default.createElement("input",{id:"channel-name",type:"text",defaultValue:p,ref:C,autoFocus:!0}),c),h)),o("div",{className:"form-actions"},void 0,o("button",{type:"button",className:"btn btn-default",onClick:this.close},void 0,A.default.Messages.CANCEL),o("button",{type:"submit",className:"btn btn-primary",disabled:r},void 0,A.default.Messages.CREATE)))},handleRoleChange:function(e,t){var n=this.state.permissionOverwrites;e===this.getGuildId()?n.clear():t.currentTarget.checked?n.add(e):n.delete(e),this.forceUpdate()},handleSubmit:function(e){e.preventDefault();var t=this.props,n=t.channelType,a=t.cloneChannel,o=this.getGuildId();if(null!=o){var r=void 0,i=void 0,s=void 0;null!=a?(r=l.default.values(a.permissionOverwrites),i=a.bitrate,s=a.userLimit):r=(0,T.permissionOverwritesForRoles)(o,n,Array.from(this.state.permissionOverwrites)),I.default.createChannel(o,n,this.refs[C].value,r,i,s)}}});t.default=O,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:D.default.Easing.inOut(D.default.Easing.cubic);return{getInitialState:function(){return{translateX:new D.default.Value(0)}},componentDidAppear:function(){this.state.translateX.setValue(1)},componentWillEnter:function(e){D.default.timing(this.state.translateX,{toValue:1,duration:t,easing:n}).start(e)},componentWillLeave:function(e){D.default.timing(this.state.translateX,{toValue:0,duration:t,easing:n}).start(e)},getAnimatedStyle:function(){return D.default.accelerate({transform:[{translateX:this.state.translateX.interpolate({inputRange:[0,1],outputRange:[e?"-100%":"100%","0%"]})}]})}}}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(5),f=a(u),c=n(2),d=a(c),p=n(73),h=a(p),g=n(303),m=a(g),v=n(506),E=a(v),y=n(796),_=a(y),b=n(297),S=a(b),I=n(3),T=a(I);n(2186);var N=n(84),A=a(N),M=n(267),C=a(M),O=n(24),D=a(O),L=n(1),R=i("p",{className:"sample-link"},void 0,"qJq5C"),x=l.default.createClass({displayName:"JoinGuildModal",mixins:[d.default.StoreListenerMixin(C.default),o()],getInitialState:function(){return{code:null,submitting:!1,hasError:!1}},getStateFromStores:function(){var e=this.state?this.state.code:null;return{invite:C.default.getInvite(e)||{}}},componentWillUpdate:function(e,t){null!=t.invite&&this.state.invite!==t.invite&&(t.invite.state===L.InviteStates.RESOLVED?A.default.acceptInvite(t.invite.code,"Join a Server Modal",function(){S.default.close(),A.default.transitionToInviteChannel(t.invite.guild.id,t.invite.channel.id,t.invite.channel.type)}):t.invite.state===L.InviteStates.EXPIRED&&this.setState({submitting:!1,hasError:!0}))},render:function(){var e=this.state.hasError,t=e?i("span",{className:"error"},void 0,"(",T.default.Messages.INSTANT_INVITE_EXPIRED,")"):null,n="discord.gg",a="/";null==n&&(n=location.host,a=L.Routes.INVITE(""));var o=location.protocol+"//"+n+a;return i(D.default.form,{className:"form join-server",onSubmit:this.handleSubmit,style:this.getAnimatedStyle()},void 0,i("div",{className:"form-inner"},void 0,i("h5",{},void 0,T.default.Messages.JOIN_SERVER_TITLE),i("div",{className:(0,f.default)({"control-group":!0})},void 0,i("div",{className:"instructions"},void 0,i("p",{},void 0,T.default.Messages.JOIN_SERVER_DESCRIPTION),i("p",{className:"sample-link"},void 0,o,"qJq5C"),i("p",{className:"sample-link"},void 0,o,"discord-developers"),R)),i("div",{className:"link-container control-group"},void 0,l.default.createElement("input",{className:(0,f.default)({error:e}),type:"text",ref:"invite",onChange:this.handleTyped,autoFocus:!0}),i("label",{htmlFor:"invite"},void 0,T.default.Messages.FORM_LABEL_INSTANT_INVITE," ",t))),i("div",{className:"form-actions"},void 0,i("button",{type:"button",className:"btn btn-default",onClick:this.props.onCancel},void 0,T.default.Messages.BACK),i("button",{type:"submit",className:"btn btn-primary",disabled:this.state.submitting},void 0,T.default.Messages.JOIN)))},handleTyped:function(){this.state.hasError&&this.setState({hasError:!1})},handleSubmit:function(e){e.preventDefault();var t=this.refs.invite.value.trim();if(""===t)return void this.setState({hasError:!0});var n=t.split("/"),a=n[n.length-1];A.default.resolveInvite(a,"Join Guild Modal"),this.setState({code:a,submitting:!0})}}),w=l.default.createClass({displayName:"CreateGuildModal",mixins:[o()],componentDidMount:function(){0===this.props.guild.name.length&&this.refs.name.focus()},render:function(){var e=this,t=function(t){return e.props.errors&&null!=e.props.errors[t]},n=function(n){return t(n)?i("span",{className:"error"},void 0,"(",e.props.errors[n],")"):null};return i(D.default.form,{className:"form create-guild",onSubmit:this.handleSubmit,style:this.getAnimatedStyle()},void 0,i("div",{className:"form-inner"},void 0,i("h5",{},void 0,T.default.Messages.CREATE_SERVER_TITLE),i("p",{},void 0,T.default.Messages.CREATE_SERVER_DESCRIPTION.format()),i("ul",{className:"guild-form"},void 0,i("li",{},void 0,i("div",{className:(0,f.default)({"control-group":!0,error:t("name")})},void 0,i("label",{htmlFor:"guild-name"},void 0,T.default.Messages.FORM_LABEL_SERVER_NAME," ",n("name")),l.default.createElement("input",{id:"guild-name",ref:"name",type:"text",onChange:this.handleNameChange,defaultValue:this.props.guild.name,placeholder:T.default.Messages.FORM_PLACEHOLDER_SERVER_NAME})),i("div",{className:"control-group"},void 0,i("label",{htmlFor:"guild-region"},void 0,T.default.Messages.FORM_LABEL_SERVER_REGION),l.default.createElement(m.default,{id:"guild-region",ref:"region",value:this.props.guild.region,onChange:this.handleRegionChange}))),i("li",{},void 0,i(E.default,{name:this.props.guild.name,icon:this.props.guild.icon,onChange:this.handleIconChange})))),i("div",{className:"form-actions"},void 0,i("button",{type:"button",className:"btn btn-default",onClick:this.props.onCancel},void 0,T.default.Messages.BACK),i("button",{type:"submit",className:"btn btn-primary",disabled:this.props.submitting},void 0,T.default.Messages.CREATE)))},handleNameChange:function(e){S.default.updateTemporaryGuild({name:e.currentTarget.value})},handleRegionChange:function(e){S.default.updateTemporaryGuild({region:e})},handleIconChange:function(e){S.default.updateTemporaryGuild({icon:e})},handleSubmit:function(e){e.preventDefault(),S.default.createGuild(this.props.guild.name,this.props.guild.region,this.props.guild.icon)}}),P=i("div",{className:"action-icon"}),k=l.default.createClass({displayName:"GuildActionButton",render:function(){var e=void 0,t=void 0,n=void 0;switch(this.props.type){case"create":e=T.default.Messages.CREATE,t=T.default.Messages.CREATE_SERVER_BUTTON_BODY,n=T.default.Messages.CREATE_SERVER_BUTTON_CTA;break;case"join":e=T.default.Messages.JOIN,t=T.default.Messages.JOIN_SERVER_BUTTON_BODY,n=T.default.Messages.JOIN_SERVER_BUTTON_CTA}return i("div",{className:"action "+this.props.type,onMouseEnter:this.props.onMouseEnter,onClick:this.props.onClick},void 0,i("div",{className:"action-header"},void 0,e),i("div",{className:"action-body"},void 0,t),P,i("button",{className:"btn btn-primary",type:"button",onClick:this.props.onClick},void 0,n))}}),U=i("div",{className:"or"},void 0,"or"),G=l.default.createClass({displayName:"CreateOrJoinGuildModal",mixins:[o(!0)],render:function(){return i(D.default.div,{className:"form create-or-join",style:this.getAnimatedStyle()},void 0,i("div",{className:"form-inner"},void 0,i("header",{},void 0,T.default.Messages.CREATE_OR_JOIN_MODAL_HEADER),i("div",{className:"actions"},void 0,i(k,{type:"create",onClick:this.handleClick.bind(this,L.CreateGuildModalScreens.CreateGuild)}),i(k,{type:"join",onClick:this.handleClick.bind(this,L.CreateGuildModalScreens.JoinGuild)}),U)))},handleClick:function(e){this.props.onClick(e)}}),j=l.default.createClass({displayName:"CreateOrJoinGuildContainer",statics:{modalConfig:{store:_.default}},close:function(){S.default.close()},handleNavigateScreen:function(e){S.default.setScreen(e)},render:function(){var e=this,t=void 0;return this.props.screen===L.CreateGuildModalScreens.Choose?t=i(G,{onClick:this.handleNavigateScreen},L.CreateGuildModalScreens.Choose):this.props.screen===L.CreateGuildModalScreens.CreateGuild?t=l.default.createElement(w,r({key:L.CreateGuildModalScreens.CreateGuild,onCancel:function(){return e.handleNavigateScreen(L.CreateGuildModalScreens.Choose)}},this.props)):this.props.screen===L.CreateGuildModalScreens.JoinGuild&&(t=l.default.createElement(x,r({key:L.CreateGuildModalScreens.JoinGuild,onCancel:function(){return e.handleNavigateScreen(L.CreateGuildModalScreens.Choose)}},this.props))),i(h.default,{className:"create-guild-container",component:"div"},void 0,t)}});t.default=j,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(0),r=a(o),i=n(3),s=a(i),l=n(2),u=a(l),f=n(1),c=n(724),d=a(c),p=n(180),h=a(p),g=n(43),m=a(g),v=r.default.createClass({displayName:"DMVerification",mixins:[u.default.StoreListenerMixin(m.default)],getStateFromStores:function(){return this.getState(this.props.channel)},componentWillReceiveProps:function(e){this.setState(this.getState(e.channel))},getState:function(e){return{isBlocked:e.type!==f.ChannelTypes.GROUP_DM&&m.default.isBlocked(e.getRecipientId())}},handleUnblock:function(){h.default.removeRelationship(this.props.channel.getRecipientId())},render:function(){var e={};return this.state.isBlocked&&(e.message=s.default.Messages.DM_VERIFICATION_TEXT_BLOCKED,e.buttonText=s.default.Messages.UNBLOCK,e.onButtonClick=this.handleUnblock),r.default.createElement(d.default,e,this.props.children)}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(7),l=a(s),u=n(128),f=a(u),c=n(309),d=a(c),p=n(6),h=a(p),g=n(1373),m=a(g),v=n(42),E=a(v),y=n(350),_=a(y),b=n(353),S=a(b),I=n(210),T=a(I),N=n(3),A=a(N),M=n(1),C=n(359),O=a(C),D=n(71),L=a(D);n(2187);var R=function(e){var t=e.account,n=e.platform,a=e.connect,r=e.onToggle;return o("div",{className:"detected-account"},void 0,o("img",{className:"detected-account-icon",src:n.icon.color}),o("div",{className:"detected-account-details"},void 0,o("h3",{},void 0,t.name),o("h4",{},void 0,A.default.Messages.NUM_FRIENDS.format({friendCount:t.friendIdHashes.length}))),o(m.default,{checked:a,onChange:function(e){return r(t.id,e.currentTarget.checked)}}))},x=o("div",{className:"divider"}),w=i.default.createClass({displayName:"DetectedPlatformAccountsModal",mixins:[h.default],statics:{modalConfig:{store:d.default,backdropStyle:O.default.SOLID,closable:!1}},getInitialState:function(){return{noConnect:new Set}},close:function(){S.default.ignore()},handleEnable:function(){var e=this.props,t=e.detectedAccounts,n=e.analyticsLocation,a=this.state.noConnect,o=new Set;t.forEach(function(e){a.has(e.id)?o.add(e.type):T.default.connect(e.type,e.id,e.name,n)}),E.default.transitionTo(M.Routes.FRIENDS),_.default.setSection(M.FriendsSections.ADD_FRIEND),S.default.ignore(Array.from(o))},handleToggle:function(e,t){var n=this.state.noConnect;t&&n.has(e)?(n.delete(e),this.forceUpdate()):t||n.has(e)||(n.add(e),this.forceUpdate())},render:function(){var e=this,t=this.props.detectedAccounts,a=this.state.noConnect,r=(0,l.default)(t).map(function(e){return f.default.get(e.type)}).uniq().map(function(e){return o("img",{className:"icon",src:e.icon.color},e.type)}).value(),i=n(1226)("./img_account_sync_stars"+r.length+".svg"),s=void 0,u=l.default.uniq(t.map(function(e){return f.default.get(e.type).name})),c=u[0],d=u[1],p=u[2];switch(u.length){case 1:s=A.default.Messages.ONE_PLATFORM_ACCOUNT_DETECTED.format({a:c});break;case 2:s=A.default.Messages.TWO_PLATFORM_ACCOUNTS_DETECTED.format({a:c,b:d});break;case 3:s=A.default.Messages.THREE_PLATFORM_ACCOUNTS_DETECTED.format({a:c,b:d,c:p});break;default:s=A.default.Messages.FOUR_OR_MORE_PLATFORM_ACCOUNTS_DETECTED}var h=t.map(function(t){return o(R,{account:t,platform:f.default.get(t.type),connect:!a.has(t.id),onToggle:e.handleToggle},t.id)});return o("div",{className:"detected-platform-accounts-modal"},void 0,o("div",{className:"icons",style:{backgroundImage:"url("+i+")"}},void 0,r),o("div",{className:"body"},void 0,s),o("div",{className:"detected-accounts"},void 0,h),x,o("div",{className:"btn-group"},void 0,o("button",{type:"button",className:"btn btn-default",onClick:this.close},void 0,A.default.Messages.NOT_NOW),o("button",{type:"button",className:"btn btn-primary",onClick:this.handleEnable,disabled:t.length-a.size===0},void 0,A.default.Messages.ENABLE)),o("div",{className:"privacy"},void 0,A.default.Messages.PLATFORM_ACCOUNT_PRIVACY.format({articleURL:L.default.getArticleURL(226430028)})))}});t.default=w,e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=o(i),l=n(6),u=o(l),f=n(215),c=o(f),d=n(16),p=o(d),h=n(46),g=o(h),m=n(1),v=n(3),E=o(v),y=r(g.default,{}),_=s.default.createClass({displayName:"VerifyEmail",mixins:[u.default],componentDidMount:function(){var e=this;a.nextTick(function(){return e.disableEmailNotifications()})},getInitialState:function(){return{working:!0}},disableEmailNotifications:function(){var e=this;this.setState({working:!0}),p.default.post({url:m.Endpoints.DISABLE_EMAIL_NOTIFICATIONS,body:{token:this.props.location.query.token,pixel_uuid:this.props.location.query.hash}}).then(function(){return e.setState({success:!0,working:!1})},function(){return e.setState({success:!1,working:!1})})},render:function(){var e=void 0;return e=this.state.working?r("div",{},void 0,r("h1",{},void 0,E.default.Messages.DISABLING_EMAIL_NOTIFICATIONS),y):this.state.success?r("div",{},void 0,r("h1",{},void 0,E.default.Messages.DISABLE_EMAIL_NOTIFICATIONS),r("p",{},void 0,E.default.Messages.DISABLE_EMAIL_NOTIFICATIONS_BODY)):r("div",{},void 0,r("p",{className:"error"},void 0,E.default.Messages.DISABLE_EMAIL_NOTIFICATIONS_FAILED),r("p",{className:"error"},void 0,E.default.Messages.DISABLE_EMAIL_NOTIFICATIONS_FAILED_SUGGESTION)),r(c.default,{},void 0,r("div",{className:"auth-verify disable-email-notifications"},void 0,e))}});t.default=_,e.exports=t.default}).call(t,n(45))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(3),f=a(u),c=n(1608),d=a(c),p=n(1249),h=a(p),g=n(139),m=a(g),v=n(1);n(2189);var E=o("div",{className:"mobile-image"}),y=o("div",{className:"spacer"}),_=i.default.createClass({displayName:"DownloadMobileAppsModal",mixins:[l.default.StoreListenerMixin(d.default)],getInitialState:function(){return{phone:""}},getStateFromStores:function(){return d.default.getState()},handleTextLinkSubmit:function(e){e.preventDefault(),h.default.sendTextLink(this.state.phone)},handlePhoneNumberChange:function(e){var t=e.target.value.replace(/[^0-9()\-+ ]/,"").replace(/ /," ");this.setState({phone:t})},render:function(){var e=this.state,t=e.phone,n=e.submitting,a=e.success,r=e.failure,i=void 0;return a?i=f.default.Messages.ONBOARDING_APP_DOWNLOADS_MOBILE_TEXT_LINK_SUCCESS:r?i=f.default.Messages.ONBOARDING_APP_DOWNLOADS_MOBILE_TEXT_LINK_FAILURE:n||(i=f.default.Messages.ONBOARDING_APP_DOWNLOADS_MOBILE_TEXT_LINK),o("div",{className:"download-apps-modal"},void 0,o("div",{className:"header"},void 0,f.default.Messages.DOWNLOAD_MOBILE_MODAL_APPS_HEADER),o("div",{className:"images-platforms"},void 0,E,o("div",{className:"platforms"},void 0,o("div",{className:"ios"},void 0,o("div",{className:"platform"},void 0,f.default.Messages.PLATFORM_IOS_VERSION),o("a",{href:v.DownloadLinks.IOS,className:"link",target:"_blank"},void 0,f.default.Messages.APP_STORE)),y,o("div",{className:"android"},void 0,o("div",{className:"platform"},void 0,f.default.Messages.PLATFORM_ANDROID_VERSION),o("a",{href:v.DownloadLinks.ANDROID,className:"link",target:"_blank"},void 0,f.default.Messages.GOOGLE_PLAY)))),o("form",{className:"phone-form"},void 0,o("input",{type:"text",className:"bordered",placeholder:"+1 (555) 867-5309",value:t,onChange:this.handlePhoneNumberChange,disabled:n}),o(m.default,{onClick:this.handleTextLinkSubmit,isSubmit:!0,className:"button filled",success:a,failure:r,disabled:n,spinnerType:"pulsing-ellipsis"},void 0,i)))}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e){var t=e.type,n=e.tooltip,a=e.onClick,o=null!=a?s("div",{className:"friends-action friends-action-"+t,onClick:a}):s("div",{className:"friends-action friends-action-"+t+" disabled"});return s(w.default,{text:n},void 0,o)}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(94),c=n(291),d=a(c),p=n(5),h=a(p),g=n(73),m=a(g),v=n(7),E=a(v),y=n(2),_=a(y),b=n(128),S=a(b),I=n(501),T=a(I),N=n(61),A=a(N),M=n(182),C=a(M),O=n(362),D=a(O),L=n(67),R=a(L),x=n(33),w=a(x),P=n(257),k=a(P),U=n(64),G=a(U),j=n(738),F=a(j),B=n(138),V=a(B),H=n(95),z=a(H),W=n(60),Y=a(W),K=n(181),Q=a(K),Z=n(733),X=a(Z),J=n(1257),q=a(J),$=n(1617),ee=a($),te=n(375),ne=a(te),ae=n(10),oe=a(ae),re=n(11),ie=a(re),se=n(13),le=a(se),ue=n(31),fe=a(ue),ce=n(308),de=a(ce),pe=n(309),he=a(pe),ge=n(225),me=a(ge),ve=n(42),Ee=a(ve),ye=n(18),_e=a(ye),be=n(6),Se=a(be),Ie=n(82),Te=a(Ie),Ne=n(350),Ae=a(Ne),Me=n(180),Ce=a(Me),Oe=n(79),De=a(Oe),Le=n(14),Re=a(Le),xe=n(214),we=a(xe),Pe=n(713),ke=a(Pe),Ue=n(57),Ge=a(Ue),je=n(120),Fe=a(je),Be=n(837),Ve=n(192),He=n(3),ze=a(He),We=n(24),Ye=a(We);n(2193);var Ke=n(1),Qe=s(d.default,{title:"Discord"}),Ze=s("div",{className:"empty-state-image"}),Xe=s(d.default,{title:"Discord"}),Je=s("div",{className:"empty-state-image"}),qe=s(d.default,{title:"Discord"}),$e=s("div",{className:"empty-state-image"}),et=s(d.default,{title:"Discord"}),tt=s("div",{className:"empty-state-image"}),nt=s(d.default,{title:"Discord"}),at=s("div",{className:"empty-state-image"}),ot=u.default.createClass({displayName:"FriendsEmptyState",mixins:[Se.default,_.default.StoreListenerMixin(de.default)],getInitialState:function(){return{opacity:new Ye.default.Value(1)}},getStateFromStores:function(){return{hasAccounts:de.default.getUnsafeAccounts().length>0}},componentWillEnter:function(e){this.state.opacity.setValue(0),Ye.default.timing(this.state.opacity,{toValue:1,duration:250}).start(e)},componentWillLeave:function(e){Ye.default.timing(this.state.opacity,{toValue:0,duration:250}).start(e)},handleDownloadApp:function(){Re.default.push(V.default,{source:"Suggestions"})},handleConnectAccounts:function(){Ge.default.open(Ke.UserSettingsSections.CONNECTIONS)},render:function(){var e=this.props,t=e.type,n=e.onClick,a=this.state.hasAccounts,o={opacity:this.state.opacity};switch(t){case Ke.FriendsSections.ADD_FRIEND:var r=void 0,i=void 0,l="section-add-friend-no-connection";return a||_e.default.embedded?!a&&_e.default.embedded?(r=ze.default.Messages.FRIENDS_EMPTY_STATE_ADD_FRIEND_NO_ACCOUNTS,i=s("button",{className:"btn",onClick:this.handleConnectAccounts},void 0,ze.default.Messages.CONNECT_ACCOUNTS)):(l="section-add-friend-no-suggestion",r=ze.default.Messages.FRIENDS_EMPTY_STATE_ADD_FRIEND_NO_SUGGESTION):(r=ze.default.Messages.FRIENDS_EMPTY_STATE_ADD_FRIEND_DOWNLOAD,i=s("button",{className:"btn",onClick:this.handleDownloadApp},void 0,ze.default.Messages.DOWNLOAD)),s(Ye.default.div,{className:"friends-empty "+l,style:o},void 0,Qe,Ze,s("p",{},void 0,r),i);case Ke.FriendsSections.ALL:return s(Ye.default.div,{className:"friends-empty section-all",style:o},void 0,Xe,Je,s("p",{},void 0,ze.default.Messages.FRIENDS_EMPTY_STATE_ALL),s("button",{className:"btn",onClick:n},void 0,ze.default.Messages.ADD_FRIEND));case Ke.FriendsSections.ONLINE:return s(Ye.default.div,{className:"friends-empty section-online",style:o},void 0,qe,$e,s("p",{},void 0,ze.default.Messages.FRIENDS_EMPTY_STATE_ONLINE));case Ke.FriendsSections.PENDING:return s(Ye.default.div,{className:"friends-empty section-pending",style:o},void 0,et,tt,s("p",{},void 0,ze.default.Messages.FRIENDS_EMPTY_STATE_PENDING));case Ke.FriendsSections.BLOCKED:return s(Ye.default.div,{className:"friends-empty section-blocked",style:o},void 0,nt,at,s("p",{},void 0,ze.default.Messages.FRIENDS_EMPTY_STATE_BLOCKED));default:return null}}}),rt=function(e){var t=e.guild;return s(w.default,{text:t.toString()},void 0,s(f.Link,{to:Ke.Routes.GUILD(t.id),onClick:function(e){return e.stopPropagation()}},void 0,s(C.default,{guild:t,textScale:.8})))},it=function(e){var t=e.num,n=o(e,["num"]);return u.default.createElement("div",i({className:"more-mutual-guilds-btn"},n),"+",t)},st=function(e){return s("div",{className:"friends-column friends-column-"+e.column},void 0,e.children)},lt=s("div",{className:"friends-column-separator"}),ut=function(){return lt},ft={getInitialState:function(){return{height:new Ye.default.Value(62),opacity:new Ye.default.Value(1)}},componentWillEnter:function(e){this.state.opacity.setValue(0),this.state.height.setValue(0),Ye.default.parallel([Ye.default.timing(this.state.opacity,{toValue:1,duration:200}),Ye.default.timing(this.state.height,{toValue:62,duration:200})]).start(e)},componentWillLeave:function(e){Ye.default.parallel([Ye.default.timing(this.state.opacity,{toValue:0,duration:200}),Ye.default.timing(this.state.height,{toValue:0,duration:200})]).start(e)}},ct=u.default.createClass({displayName:"FriendSuggestionRow",mixins:[ft,Se.default,_.default.StoreListenerMixin(le.default,fe.default)],getStateFromStores:function(){return{theme:le.default.theme,hide:fe.default.hidePersonalInformation}},handleOpenProfile:function(e){e.stopPropagation();var t=this.props.user;we.default.open(t.id)},handleAddRelationship:function(e){e.stopPropagation();var t=this.props.user;Ce.default.addRelationship(t.id,{location:"Friend Suggestion"})},handleIgnoreFriendSuggestion:function(e){e.stopPropagation();var t=this.props.user;ke.default.ignore(t.id)},render:function(){var e=this.props,t=e.user,n=e.reasons,a=this.state,o=a.hide,i=a.theme,l=void 0;return o||(l=n.map(function(e,t){var n=e.name,a=e.platform_type,o=S.default.get(a);return s("div",{className:"friends-suggestion-platform"},t,s("img",{className:"friends-suggestion-platform-icon",src:i===Ke.ThemeTypes.DARK?o.icon.white:o.icon.grey}),s("span",{className:"friends-suggestion-platform-name"},void 0,n))})),s(Ye.default.div,{className:"friends-row",onClick:this.handleOpenProfile,style:{height:this.state.height,opacity:this.state.opacity}},void 0,s("div",{className:"friends-suggestion-inner"},void 0,s(A.default,{user:t,size:"large"}),s("div",{className:"friends-suggestion-info"},void 0,s(k.default,{user:t}),s("div",{className:"friends-suggestion-platforms"},void 0,l))),s("div",{className:"friends-column friends-column-actions friends-column-actions-visible"},void 0,s(r,{type:"add",tooltip:ze.default.Messages.SEND_FRIEND_REQUEST,onClick:this.handleAddRelationship}),s(r,{type:"ignore",tooltip:ze.default.Messages.FRIEND_REQUEST_IGNORE,onClick:this.handleIgnoreFriendSuggestion})))}}),dt=u.default.createClass({displayName:"FriendRow",mixins:[ft,Se.default],getInitialState:function(){var e=!1,t=Fe.default.getOverrideExperimentDescriptor(me.default.getExperimentId());return null!=t&&t.type===Ke.ExperimentTypes.DEVELOPER&&(e=!0),{video:e}},handleOpenProfile:function(e){e.stopPropagation(),we.default.open(this.props.user.id)},handleOpenPrivateChannel:function(e){e.stopPropagation();var t=this.props.user,n=E.default.find(ie.default.getChannels(),function(e){return e.type==Ke.ChannelTypes.DM&&e.getRecipientId()===t.id});null!=n?Ee.default.transitionTo(Ke.Routes.CHANNEL(Ke.ME,n.id)):De.default.openPrivateChannel(oe.default.getCurrentUser().id,t.id)},handleRemoveFriend:function(e){var t=this;e.stopPropagation(),Re.default.push(function(e){return u.default.createElement(Y.default,i({header:ze.default.Messages.REMOVE_FRIEND_TITLE.format({name:t.props.user.toString()}),confirmText:ze.default.Messages.REMOVE_FRIEND,cancelText:ze.default.Messages.CANCEL,onConfirm:t.handleRemoveRelationship},e),s("p",{},void 0,ze.default.Messages.REMOVE_FRIEND_BODY.format({name:t.props.user.toString()})))})},handleAddRelationship:function(e){e.stopPropagation();var t=this.props.user;Ce.default.addRelationship(t.id,{location:"Friends"})},handleRemoveRelationship:function(e){e&&e.stopPropagation(),Ce.default.removeRelationship(this.props.user.id,{location:"Friends"})},handleContextMenu:function(e,t){G.default.openContextMenu(e,function(e){return u.default.createElement(z.default,i({},e,{type:Ke.ContextMenuTypes.USER_FRIEND_LIST,user:t}))})},handleVideoCall:function(e){Te.default.setVideoEnabled(!0),this.handleVoiceCall(e)},handleVoiceCall:function(e){e.stopPropagation(),De.default.openPrivateChannel(oe.default.getCurrentUser().id,this.props.user.id,!0)},render:function(){var e=this,t=this.props,n=t.user,a=t.type,o=t.mutualGuilds,i=t.mutualGuildsLength,l=[],u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;l.push(s(r,{type:e,tooltip:t,onClick:n},l.length))},f=this.props.status,c=(0,Ve.renderActivity)(this.props.activity)||(0,Be.getStatusText)(this.props.status),d=!0;switch(a){case Ke.RelationshipTypes.FRIEND:d=!1,this.state.video&&u("video-call",ze.default.Messages.START_VIDEO_CALL,this.handleVideoCall),u("voice-call",ze.default.Messages.START_VOICE_CALL,this.handleVoiceCall),u("remove",ze.default.Messages.REMOVE_FRIEND,this.handleRemoveFriend);break;case Ke.RelationshipTypes.BLOCKED:f=Ke.StatusTypes.UNKNOWN,c=ze.default.Messages.BLOCKED,u("remove",ze.default.Messages.UNBLOCK,this.handleRemoveRelationship);break;case Ke.RelationshipTypes.PENDING_INCOMING:f=f===Ke.StatusTypes.OFFLINE?Ke.StatusTypes.UNKNOWN:f,c=ze.default.Messages.INCOMING_FRIEND_REQUEST,u("accept",ze.default.Messages.FRIEND_REQUEST_ACCEPT,this.handleAddRelationship),u("ignore",ze.default.Messages.FRIEND_REQUEST_IGNORE,this.handleRemoveRelationship);break;case Ke.RelationshipTypes.PENDING_OUTGOING:d=!1,f=f===Ke.StatusTypes.OFFLINE?Ke.StatusTypes.UNKNOWN:f,c=ze.default.Messages.OUTGOING_FRIEND_REQUEST,u("cancel",ze.default.Messages.FRIEND_REQUEST_CANCEL,this.handleRemoveRelationship)}var p=void 0;return i>Ke.MAX_MUTUAL_GUILDS&&(p=s(it,{num:i-Ke.MAX_MUTUAL_GUILDS,onClick:this.handleOpenProfile})),s(Ye.default.div,{className:"friends-row",onClick:this.handleOpenPrivateChannel,onContextMenu:function(t){return e.handleContextMenu(t,n)},style:{height:this.state.height,opacity:this.state.opacity}},void 0,s("div",{className:"friends-column friends-column-name"},void 0,s(A.default,{user:n}),s(k.default,{user:n})),s("div",{className:"friends-column friends-column-status"},void 0,s("span",{className:"status status-"+((0,Ve.isStreaming)(this.props.activity)?"streaming":f)}),s("span",{className:"status-text"},void 0,c)),s("div",{className:"friends-column friends-column-guilds"},void 0,o.map(function(e){return s(rt,{guild:e},e.id)}),p),s("div",{className:(0,h.default)("friends-column friends-column-actions",{"friends-column-actions-visible":d})},void 0,l))}}),pt=s(ut,{}),ht=s(ut,{}),gt=s(ut,{}),mt=s(st,{column:"actions"}),vt=function(){return s("div",{className:"friends-table-header"},void 0,s(st,{column:"name"},void 0,ze.default.Messages.FRIENDS_COLUMN_NAME),pt,s(st,{column:"status"},void 0,ze.default.Messages.FRIENDS_COLUMN_STATUS),ht,s(st,{column:"guilds"},void 0,ze.default.Messages.MUTUAL_GUILDS),gt,mt)},Et=u.default.createClass({displayName:"AddFriendHeader",mixins:[Se.default,_.default.StoreListenerMixin(he.default)],getInitialState:function(){return{addFriendError:null,addFriendSuccess:null}},getStateFromStores:function(){return{availablePlatformTypes:he.default.getAvailablePlatformTypes()}},handleAddFriendSubmit:function(e,t){this.setState({addFriendError:e,addFriendSuccess:t})},render:function(){var e=this.state,t=e.availablePlatformTypes,n=e.addFriendSuccess,a=e.addFriendError,o=void 0;t.length>0&&(o=s("div",{className:"connect-accounts"},void 0,s("h2",{},void 0,ze.default.Messages.CONNECT_ACCOUNTS_TITLE),s("h3",{},void 0,ze.default.Messages.CONNECT_ACCOUNTS_DESCRIPTION),s("div",{className:"connect-account-btn-group"},void 0,t.slice(0,4).map(function(e){return s(F.default,{type:e,location:"Friends"},e)}))));var r=!1,i=!1,l=ze.default.Messages.ADD_FRIEND_DESCRIPTION;return null!=n?(r=!0,l=n):null!=a&&(i=!0,l=a),s("div",{className:"friend-table-add-wrapper"},void 0,s("div",{className:"friend-table-add-header"},void 0,s("div",{className:"friends-table-add"},void 0,s("h2",{},void 0,ze.default.Messages.ADD_FRIEND),s("div",{className:(0,h.default)("friend-table-add-description",{success:r,error:i})},void 0,l),s(q.default,{onSubmit:this.handleAddFriendSubmit})),o),s("div",{className:"friend-table-suggestions-header"},void 0,s("h2",{},void 0,ze.default.Messages.FRIEND_SUGGESTIONS)))}}),yt=s(Et,{}),_t=s(vt,{}),bt=s(O.TabBarSeparator,{}),St=s(O.TabBarSeparator,{}),It=u.default.createClass({displayName:"Friends",mixins:[Se.default,_.default.StoreListenerMixin(ee.default,ne.default)],getStateFromStores:function(){return i({suggestionCount:ne.default.getSuggestionCount(),suggestions:ne.default.getSuggestions()},ee.default.getState())},handleItemSelect:function(e){Ae.default.setSection(e)},handleAddFriend:function(){Ae.default.setSection(Ke.FriendsSections.ADD_FRIEND)},render:function(){var e=void 0,t=void 0;this.state.section===Ke.FriendsSections.ADD_FRIEND?(e=this.state.suggestions.map(function(e){return u.default.createElement(ct,e)}),t=yt):(e=this.state.rows.filter(this.state.section).map(function(e){return u.default.createElement(dt,e.toJS())}),t=_t);var n=void 0;return 0===e.length&&(n=s(ot,{type:this.state.section,onClick:this.handleAddFriend},this.state.section)),s("div",{id:"friends"},void 0,s("div",{className:"friends-header"},void 0,s(D.default,{selectedItem:this.state.section,type:O.TabBarTypes.UNIQUE,onItemSelect:this.handleItemSelect},void 0,s(O.TabBarItem,{className:"tab-bar-item-primary"},Ke.FriendsSections.ADD_FRIEND,ze.default.Messages.FRIENDS_SECTION_ADD_FRIEND," ",s(T.default,{value:this.state.suggestionCount})),bt,s(O.TabBarItem,{},Ke.FriendsSections.ALL,ze.default.Messages.FRIENDS_SECTION_ALL),s(O.TabBarItem,{},Ke.FriendsSections.ONLINE,ze.default.Messages.FRIENDS_SECTION_ONLINE),s(O.TabBarItem,{},Ke.FriendsSections.PENDING,ze.default.Messages.FRIENDS_SECTION_PENDING," ",s(T.default,{value:this.state.pendingCount})),St,s(O.TabBarItem,{},Ke.FriendsSections.BLOCKED,ze.default.Messages.BLOCKED)),s(Q.default,{},void 0,s(X.default,{tooltip:ze.default.Messages.NEW_GROUP_DM}))),s("div",{className:"friends-table"},void 0,t,s(R.default,{className:"friends-table-body"},void 0,s(m.default,{transitionAppear:!1},void 0,e,n))))}});t.default=It,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(6),f=a(u),c=n(3),d=a(c),p=n(47),h=a(p),g=n(10),m=a(g),v=n(83),E=a(v),y=n(212),_=a(y),b=n(490),S=a(b),I=n(483),T=a(I),N=n(14),A=a(N),M=n(60),C=a(M),O=n(256),D=a(O),L=n(17),R=a(L),x=n(1),w=n(749),P=a(w),k=i(w.PopoutMenuSeparator,{},"separator"),U=i(w.PopoutMenuSeparator,{},"separator"),G=i(w.PopoutMenuSeparator,{}),j=l.default.createClass({displayName:"GuildHeaderPopout",mixins:[h.default,f.default],close:function(){this.props.onClose()},handleOpenInviteModal:function(){A.default.push(D.default,{guild:this.props.guild,source:"Guild Header"}),this.close()},handleOpenGuildSettings:function(){var e=this.props.guild;E.default.open(e.id,x.GuildSettingsSections.OVERVIEW),this.close()},handleOpenNotificationSettings:function(){_.default.open(this.props.guild.id),this.close()},handleOpenPrivacySettings:function(){S.default.open(this.props.guild.id),this.close()},handleOpenChangeNickname:function(){T.default.open(this.props.guild.id,R.default.getId()),this.close()},handleLeaveGuild:function(){var e=this;A.default.push(function(t){return l.default.createElement(C.default,r({header:d.default.Messages.LEAVE_SERVER_TITLE.format({name:e.props.guild.toString()}),confirmText:d.default.Messages.LEAVE_SERVER,cancelText:d.default.Messages.CANCEL,onConfirm:e.handleConfirmLeaveGuild},t),i("p",{},void 0,d.default.Messages.LEAVE_SERVER_BODY.format({name:e.props.guild.toString()})))})},handleConfirmLeaveGuild:function(){E.default.leaveGuild(this.props.guild.id)},render:function(){var e=this.props,t=e.guild,a=o(e,["guild"]),r=void 0,s=void 0,u=void 0,f=void 0;return this.can(x.Permissions.CREATE_INSTANT_INVITE,t)&&(r=i(w.PopoutMenuItem,{onClick:this.handleOpenInviteModal,type:"invite"},void 0,i(w.PopoutMenuIcon,{icon:n(3021)}),i(w.PopoutMenuItemLabel,{},void 0,d.default.Messages.INVITE_PEOPLE))),(this.can(x.Permissions.MANAGE_GUILD,t)||this.can(x.Permissions.MANAGE_ROLES,t)||this.can(x.Permissions.BAN_MEMBERS,t)||this.can(x.Permissions.MANAGE_NICKNAMES,t)||this.can(x.Permissions.MANAGE_EMOJIS,t)||this.can(x.Permissions.VIEW_AUDIT_LOG,t))&&(s=i(w.PopoutMenuItem,{onClick:this.handleOpenGuildSettings},void 0,i(w.PopoutMenuIcon,{icon:n(3016)}),i(w.PopoutMenuItemLabel,{},void 0,d.default.Messages.SERVER_SETTINGS))),(this.can(x.Permissions.CHANGE_NICKNAME,t)||this.can(x.Permissions.MANAGE_NICKNAMES,t))&&(u=[k,i(w.PopoutMenuItem,{onClick:this.handleOpenChangeNickname},"popout-item",i(w.PopoutMenuIcon,{icon:n(3012)}),i(w.PopoutMenuItemLabel,{},void 0,d.default.Messages.CHANGE_NICKNAME))]),t.isOwner(m.default.getCurrentUser())||(f=[U,i(w.PopoutMenuItem,{onClick:this.handleLeaveGuild,type:"leave"},"popout-item",i(w.PopoutMenuIcon,{icon:n(3013)}),i(w.PopoutMenuItemLabel,{},void 0,d.default.Messages.LEAVE_SERVER))]),l.default.createElement(P.default,a,r,r?G:null,s,i(w.PopoutMenuItem,{onClick:this.handleOpenNotificationSettings},void 0,i(w.PopoutMenuIcon,{icon:n(3014)}),i(w.PopoutMenuItemLabel,{},void 0,d.default.Messages.NOTIFICATION_SETTINGS)),i(w.PopoutMenuItem,{onClick:this.handleOpenPrivacySettings},void 0,i(w.PopoutMenuIcon,{icon:n(3015)}),i(w.PopoutMenuItemLabel,{},void 0,d.default.Messages.PRIVACY_SETTINGS)),u,f)}});t.default=j,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(3),u=a(l),f=n(2),c=a(f),d=n(1),p=n(724),h=a(p),g=n(60),m=a(g),v=n(765),E=a(v),y=n(10),_=a(y),b=n(521),S=a(b),I=n(57),T=a(I),N=n(101),A=a(N),M=n(14),C=a(M),O=s.default.createClass({displayName:"GuildVerification",mixins:[c.default.StoreListenerMixin(S.default)],getStateFromStores:function(){return S.default.getCheck(this.props.channel.getGuildId())},componentWillReceiveProps:function(e){this.setState(S.default.getCheck(e.channel.getGuildId()))},handleClaimAccount:function(){T.default.open(d.UserSettingsSections.ACCOUNT)},handleVerifyPhone:function(){C.default.push(function(e){return s.default.createElement(E.default,e)})},handleResendVerification:function(){A.default.verifyResend(),C.default.push(function(e){return s.default.createElement(m.default,o({header:u.default.Messages.VERIFICATION_EMAIL_TITLE,confirmText:u.default.Messages.OKAY,red:!1},e),r("p",{},void 0,u.default.Messages.VERIFICATION_EMAIL_BODY.format({email:_.default.getCurrentUser().email})))})},render:function(){var e={};return this.state.notClaimed?(e.message=u.default.Messages.GUILD_VERIFICATION_TEXT_NOT_CLAIMED,e.buttonText=u.default.Messages.CLAIM_ACCOUNT,e.onButtonClick=this.handleClaimAccount):this.state.notPhoneVerified?(e.message=u.default.Messages.GUILD_VERIFICATION_TEXT_NOT_PHONE_VERIFIED,e.buttonText=u.default.Messages.VERIFY_PHONE,e.onButtonClick=this.handleVerifyPhone):this.state.notEmailVerified?(e.message=u.default.Messages.GUILD_VERIFICATION_TEXT_NOT_VERIFIED,e.buttonText=u.default.Messages.RESEND_VERIFICATION_EMAIL,e.onButtonClick=this.handleResendVerification):this.state.newAccount?(e.message=u.default.Messages.GUILD_VERIFICATION_TEXT_ACCOUNT_AGE.format({min:d.VerificationCriteria.ACCOUNT_AGE}),e.countdown=this.state.accountDeadline):this.state.newMember&&(e.message=u.default.Messages.GUILD_VERIFICATION_TEXT_MEMBER_AGE.format({min:d.VerificationCriteria.MEMBER_AGE}),e.countdown=this.state.memberDeadline),s.default.createElement(h.default,e,this.props.children)}});t.default=O,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t="GUILD";return(0,f.DropTarget)(t,{hover:function(e,t){var n=t.getItem().index,a=e.index;n!==a&&(z.default.move(n,a),t.getItem().index=a)}},function(e){return{connectDropTarget:e.dropTarget()}},{arePropsEqual:T.default})((0,f.DragSource)(t,{beginDrag:function(e){return{guild:e.guild,index:e.index}},endDrag:function(){Ie.default.updateRemoteSettings({guildPositions:ee.default.guildPositions})}},function(e,t){return{connectDragSource:e.dragSource(),dragging:t.isDragging()}},{arePropsEqual:T.default})(e))}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=n(0),l=a(s),u=n(94),f=n(254),c=n(6),d=a(c),p=n(73),h=a(p),g=n(7),m=a(g),v=n(5),E=a(v),y=n(24),_=a(y),b=n(2),S=a(b),I=n(274),T=a(I),N=n(3),A=a(N),M=n(61),C=a(M),O=n(182),D=a(O),L=n(33),R=a(L),x=n(501),w=a(x),P=n(64),k=a(P),U=n(745),G=a(U),j=n(511),F=a(j),B=n(54),V=a(B),H=n(63),z=a(H),W=n(297),Y=a(W),K=n(14),Q=a(K),Z=n(158),X=a(Z),J=n(138),q=a(J),$=n(165),ee=a($),te=n(10),ne=a(te),ae=n(265),oe=a(ae),re=n(103),ie=(a(re),n(188)),se=a(ie),le=n(62),ue=a(le),fe=n(11),ce=a(fe),de=n(19),pe=a(de),he=n(221),ge=a(he),me=n(89),ve=a(me),Ee=n(266),ye=a(Ee),_e=n(130),be=a(_e),Se=n(108),Ie=a(Se),Te=n(43),Ne=a(Te),Ae=n(375),Me=a(Ae),Ce=n(219),Oe=a(Ce),De=n(67),Le=a(De),Re=n(97),xe=a(Re),we=n(42),Pe=a(we),ke=n(18),Ue=a(ke),Ge=n(1);n(605);var je=50,Fe=8,Be=je+Fe,Ve=18,He=33,ze=12,We=je+Ve+He+ze,Ye="SCROLLER_REF",Ke=l.default.createClass({displayName:"GuildInner",getDefaultProps:function(){return{contextMenu:!1,animateBackgroundColor:!1}},getInitialState:function(){var e=this.props.active?0:1;return{backgroundColor:new _.default.Value(e),borderRadius:new _.default.Value(e)}},componentDidUpdate:function(e){e.active!==this.props.active&&this.animate(this.props.active)},handleMouseEnter:function(){this.animate(!0)},handleMouseLeave:function(){this.animate(this.props.active)},animate:function(e){var t=e?0:1;_.default.parallel([_.default.timing(this.state.backgroundColor,{toValue:t,duration:200}),_.default.spring(this.state.borderRadius,{toValue:t,friction:3})]).start()},getAnimatedStyle:function(){var e={borderRadius:this.state.borderRadius.interpolate({inputRange:[0,1],outputRange:[15,25]})};return this.props.animateBackgroundColor&&(e.backgroundColor=this.state.backgroundColor.interpolate({inputRange:[0,1],outputRange:[Ge.Colors.BRAND_PURPLE,Ge.Colors.CHANNELS_GREY]})),e},handleContextMenu:function(e){var t=this;this.props.contextMenu&&k.default.openContextMenu(e,function(e){return l.default.createElement(F.default,i({},e,{type:t.props.type,guild:t.props.guild,badge:t.props.badge,link:t.props.link,selected:t.props.selected}))})},render:function(){return r(_.default.div,{className:"guild-inner",draggable:!1,style:this.getAnimatedStyle(),onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onContextMenu:this.handleContextMenu},void 0,this.props.children)}}),Qe=l.default.createClass({displayName:"FriendsOnline",mixins:[S.default.StoreListenerMixin(xe.default)],getStateFromStores:function(){return{onlineFriendCount:xe.default.getOnlineFriendCount()}},render:function(){return r("div",{className:"friends-online"},void 0,A.default.Messages.FRIENDS_ONLINE.format({n:this.state.onlineFriendCount}))}}),Ze=r("div",{className:"friends-icon"}),Xe=l.default.createClass({displayName:"DirectMessagesButton",mixins:[S.default.StoreListenerMixin(ne.default,pe.default,Ne.default,Me.default),d.default],getDefaultProps:function(){return{selected:!1}},getStateFromStores:function(){return{user:ne.default.getCurrentUser(),selectedChannelId:pe.default.getChannelId(Ge.ME),badge:Ne.default.getPendingCount()+Me.default.getSuggestionCount()}},render:function(){if(null==this.state.user)return null;var e=null!=this.state.selectedChannelId?Ge.Routes.CHANNEL(Ge.ME,this.state.selectedChannelId):Ge.Routes.ME,t=this.state.badge>0&&!this.props.selected?r(w.default,{value:this.state.badge}):null;return r("div",{className:(0,E.default)("guild",{active:this.props.selected,unread:this.props.unread})},void 0,r(Ke,{active:this.props.selected,animateBackgroundColor:!0},void 0,r(R.default,{text:A.default.Messages.DIRECT_MESSAGES,position:R.default.RIGHT},void 0,r(u.Link,{to:e,draggable:!1},void 0,Ze))),t)}}),Je=l.default.createClass({displayName:"DirectMessage",mixins:[S.default.StoreListenerMixin(ne.default),d.default],getDefaultProps:function(){return{selected:!1,badge:0,audio:!1,video:!1}},getInitialState:function(){return{translateX:new _.default.Value(0)}},getStateFromStores:function(){var e=this.props.channel;return{user:e.type===Ge.ChannelTypes.GROUP_DM?null:ne.default.getUser(e.getRecipientId()),selectedChannelId:e.id}},componentWillEnter:function(e){_.default.spring(this.state.translateX,{toValue:1,friction:5}).start(e)},componentWillLeave:function(e){_.default.timing(this.state.translateX,{toValue:0,duration:200}).start(e)},render:function(){var e=this.props,t=e.channel,n=e.audio,a=e.video,o=e.selected,i=e.unread,s=e.active,l=this.state,u=l.user,f=l.selectedChannelId,c=this.props.badge>0&&!this.props.selected?r(w.default,{value:this.props.badge}):null,d=Ge.Routes.CHANNEL(Ge.ME,f),p=this.state.translateX.interpolate({inputRange:[0,1],outputRange:["-70px","0px"]}),h={guild:!0,active:s,unread:i,audio:n&&!a&&!o,video:a&&!o};return r(_.default.div,{className:(0,E.default)(h),style:{transform:[{translateX:p}]}},void 0,r(Ke,{active:this.props.selected},void 0,r(R.default,{text:t.toString(),position:R.default.RIGHT},void 0,r(C.default,{to:d,user:u,channel:t,draggable:!1}))),c)}}),qe=r("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",xmlnsXlink:"http://www.w3.org/1999/xlink"},void 0,r("defs",{},void 0,r("circle",{id:"a",cx:"25",cy:"25",r:"25"}),r("mask",{id:"b",width:"50",height:"50",x:"0",y:"0",fill:"#fff"},void 0,r("use",{xlinkHref:"#a"}))),r("g",{fill:"none",fillRule:"evenodd"},void 0,r("use",{className:"download-app-fill",fill:"#2E3136",stroke:"#FFF",strokeOpacity:".1",strokeWidth:"4",mask:"url(#b)",xlinkHref:"#a"}),r("path",{fill:"#FFF",d:"M17 35v2h16v-2",opacity:".30000001"}),r("path",{fill:"#43B581",d:"M31.59 23.59L26 29.17V13h-2v16.17l-5.58-5.59L17 25l8 8 8-8"}))),$e=function(){return qe},et=r("div",{className:"guild guild-placeholder"}),tt=o(l.default.createClass({displayName:"Guild",mixins:[S.default.StoreListenerMixin(pe.default),d.default],getDefaultProps:function(){return{selected:!1,unread:!1,audio:!1,badge:0}},getStateFromStores:function(){return{selectedChannelId:pe.default.getChannelId(this.props.guild.id)}},handleMouseDown:function(){z.default.syncGuild(this.props.guild.id),V.default.prefetchMessages(this.props.guild.id,this.props.guild.id)},render:function(){var e=this,t=this.props,n=t.guild,a=t.selected,o=t.unread,i=t.audio,s=t.dragging,u=t.connectDropTarget,f=t.connectDragSource;if(s)return et;var c=this.state.selectedChannelId,d=null!=c?Ge.Routes.CHANNEL(n.id,c):Ge.Routes.GUILD(n.id),p=this.props.badge>0&&!a?r(w.default,{value:this.props.badge}):null,h={selected:a,unread:o,audio:i&&!a};return l.default.createElement("div",{className:(0,E.default)("guild",h),ref:function(t){return e._node=t}},u(f(r("div",{onMouseDown:this.handleMouseDown},void 0,r(Ke,{active:a,animateBackgroundColor:null==n.icon,contextMenu:!0,type:Ge.ContextMenuTypes.GUILD_ICON_BAR,guild:n,badge:null!=p,selected:a},void 0,r(R.default,{text:n.toString(),position:R.default.RIGHT},void 0,r(D.default,{guild:n,to:d,draggable:!1})))))),p)}})),nt=r("a",{href:"//twitter.com/discordapp",target:"_blank",className:"guilds-error"},void 0,"!"),at=r($e,{}),ot=r(Qe,{}),rt=r("div",{className:"guild-separator"}),it=l.default.createClass({displayName:"Guilds",mixins:[S.default.StoreListenerMixin(ge.default,ee.default,ye.default,ce.default,ue.default,se.default,oe.default,be.default),d.default],getInitialState:function(){return{initialized:!1}},getStateFromStores:function(){var e=ue.default.isDisabled()?null:ue.default.getChannelId(),t=be.default.getCallMode(e);return{guilds:ee.default.getSortedGuilds(),channels:ce.default.getChannels(),selectedGuildId:se.default.getGuildId(),selectedVoiceGuildId:ue.default.isDisabled()?null:ue.default.getGuildId(),selectedVoiceChannelId:e,selectedPrivateChannelId:pe.default.getChannelId(Ge.ME),unreadGuilds:ge.default.getUnreadGuilds(),mentionCounts:ge.default.getMentionCounts(),totalUnavailableGuilds:ye.default.totalUnavailableGuilds,scrollTop:oe.default.getGuildListDimensions().scrollTop,mode:t}},transitionToGuild:function(e){var t=pe.default.getChannelId(e);null==t?e===Ge.ME?Pe.default.transitionTo(Ge.Routes.ME):Pe.default.transitionTo(Ge.Routes.GUILD(e)):Pe.default.transitionTo(Ge.Routes.CHANNEL(e,t))},componentDidUpdate:function(e,t){var n=this.state,a=n.initialized,o=n.guilds,r=n.selectedGuildId;!a&&o.length?(this.scrollToGuild(r,!1),this.setState({initialized:!0})):a&&r!==t.selectedGuildId&&this.scrollToGuild(r,!1)},scrollToGuild:function(e,t){var n=this.refs[e];if(n&&n.getDecoratedComponentInstance){var a=n.getDecoratedComponentInstance().getDecoratedComponentInstance();this.refs[Ye].scrollIntoView(a._node,t)}else this.refs[Ye].scrollTo(0,t)},handleScroll:function(){var e=this.refs[Ye].getScrollData(),t=e.scrollTop;X.default.updateGuildListScrollTo(t)},getHeightBeforeServers:function(e){return 0==e.length?We:We-ze},render:function(){var e=this,t=m.default.some(this.state.guilds,function(e){return e.guild.isOwner(ne.default.getCurrentUser())}),n=this.state,a=n.unreadGuilds,o=n.mentionCounts,i=n.selectedVoiceGuildId,s=n.selectedVoiceChannelId,u=n.selectedPrivateChannelId,f=n.scrollTop,c=n.mode,d=this.state.guilds.map(function(t){var n=t.guild,r=t.index;return l.default.createElement(tt,{key:n.id,ref:n.id,guild:n,selected:e.state.selectedGuildId===n.id,audio:e.state.selectedVoiceGuildId===n.id,badge:o[n.id]||0,unread:a[n.id]||!1,index:r})}),p=void 0;if(p=this.state.mentionCounts[null]?(0,m.default)(this.state.channels).filter(function(e){return e.isPrivate()&&e.id!==s}).map(function(e){return[e,ve.default.getMentionCount(e.id)]}).filter(function(e){e[0];return e[1]>0}).map(function(e){var t=e[0];return r(Je,{badge:e[1],channel:t},t.id)}).value():[],!i&&s){var g=this.state.channels[s];p.unshift(r(Je,{channel:g,selected:null===this.state.selectedGuildId&&u===s,badge:ve.default.getMentionCount(g.id),audio:c===Ge.CallModes.VOICE,video:c===Ge.CallModes.VIDEO},g.id))}var v=void 0;if(this.state.totalUnavailableGuilds>0){var E=A.default.Messages.PARTIAL_OUTAGE.format({count:this.state.totalUnavailableGuilds});v=r("div",{className:"guild"},void 0,r(R.default,{text:E,position:R.default.RIGHT,type:R.default.ERROR},void 0,nt))}var y=void 0;return Ue.default.embedded||(y=r("button",{onClick:function(){return Q.default.push(q.default,{source:"Guilds"})},className:"btn-download-apps"},void 0,at,A.default.Messages.DOWNLOAD_APPS)),r("div",{className:"guilds-wrapper"},void 0,r(G.default,{type:U.NewMessageIndicatorTypes.GUILD,onClick:this.scrollToGuild,scrollTop:f,getRowHeight:this.getRowHeight,initialHeight:this.getHeightBeforeServers(p),mentionText:A.default.Messages.NEW,getContainerHeight:this.getContainerHeight}),l.default.createElement(Le.default,{className:"guilds",ref:Ye,onScroll:this.handleScroll},r(Oe.default,{tutorialId:"friends-list",position:Oe.default.RIGHT,offsetX:-18,offsetY:-18},void 0,r(Xe,{selected:null==this.state.selectedGuildId})),ot,r(h.default,{className:"dms"},void 0,p),rt,d,v,r(Oe.default,{tutorialId:t?"create-more-servers":"create-first-server",position:Oe.default.RIGHT,offsetX:-18,offsetY:-18},d.length+p.length,r("button",{className:"guild guilds-add",onClick:function(){return Y.default.open(null,"Guild List")},onContextMenu:this.handleContextMenu},void 0,"+")),y),r(G.default,{bottom:!0,type:U.NewMessageIndicatorTypes.GUILD,onClick:this.scrollToGuild,scrollTop:f,getRowHeight:this.getRowHeight,initialHeight:this.getHeightBeforeServers(p),mentionText:A.default.Messages.NEW,getContainerHeight:this.getContainerHeight}))},getRowHeight:function(){return Be},getContainerHeight:function(){return this.refs[Ye].getScrollData().offsetHeight},handleContextMenu:function(e){k.default.openContextMenu(e,function(e){return l.default.createElement(F.default,i({},e,{type:Ge.ContextMenuTypes.GUILD_ICON_NEW}))})}});t.default=it,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o,r,i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(0),u=a(l),f=n(2),c=a(f),d=n(6),p=a(d),h=n(7),g=a(h),m=n(3),v=a(m),E=n(73),y=a(E),_=n(24),b=a(_),S=n(230),I=n(15),T=a(I),N=n(28),A=a(N),M=n(822),C=a(M),O=n(260),D=a(O),L=n(739),R=a(L),x=n(13),w=a(x),P=n(90),k=a(P),U=n(31),G=a(U),j=n(378),F=a(j),B=n(223),V=a(B),H=n(130),z=a(H),W=n(225),Y=a(W),K=n(82),Q=a(K),Z=n(1239),X=a(Z),J=n(209),q=a(J),$=n(59),ee=a($),te=n(52),ne=(a(te),n(87)),ae=a(ne),oe=n(1);n(2198);var re=u.default.createClass({displayName:"IncomingCallModal",mixins:[c.default.LazyStoreListenerMixin(z.default),p.default,ae.default],getInitialState:function(){return s({animate:new b.default.Value(0)},this.getStateFromStores())},getStateFromStores:function(){return{mode:z.default.getCallMode(this.props.channel.id)}},getSubscriptions:function(){var e;return e={},e[oe.ComponentActions.CALL_ACCEPT]=this.handleAcceptWithAudio,e[oe.ComponentActions.CALL_DECLINE]=this.handleDeclineCall,e},componentWillEnter:function(e){b.default.timing(this.state.animate,{toValue:1,duration:170,easing:b.default.Easing.inOut(b.default.Easing.back())}).start(e)},componentDidAppear:function(){this.state.animate.setValue(1)},componentWillLeave:function(e){b.default.timing(this.state.animate,{toValue:0,duration:170,easing:b.default.Easing.quad}).start(e)},getStyle:function(){var e=this.state.animate;return this.props.shouldAnimate?b.default.accelerate({transform:[{scale:e.interpolate({inputRange:[0,1],outputRange:["0.7","1"]})}],opacity:e}):null},renderAllActions:function(){return[i(A.default,{className:"action-button margin-top-4",onClick:this.handleAcceptWithVideo,color:A.default.Colors.GREEN},"video",i("div",{className:"flex-horizontal flex-align-center"},void 0,i("img",{className:"action-icon",src:n(1172)}),v.default.Messages.VIDEO)),i(A.default,{className:"action-button margin-top-4",onClick:this.handleAcceptWithAudio,color:A.default.Colors.GREEN},"audio",i("div",{className:"flex-horizontal flex-align-center"},void 0,i("img",{className:"action-icon",src:n(680)}),v.default.Messages.VOICE))]},renderAudioOnlyActions:function(){return i(A.default,{className:"action-button margin-top-8",onClick:this.handleAcceptWithAudio,color:A.default.Colors.GREEN},void 0,i("div",{className:"flex-horizontal flex-align-center"},void 0,i("img",{className:"action-icon",src:n(680)}),v.default.Messages.JOIN_CALL))},renderActions:function(){return i("div",{className:"action-buttons margin-top-20"},void 0,this.props.video&&this.state.mode===oe.CallModes.VIDEO?this.renderAllActions():this.renderAudioOnlyActions(),i(A.default,{className:"action-button action-button-decline margin-top-8",onClick:this.handleDeclineCall,color:A.default.Colors.TRANSPARENT},void 0,i("div",{className:"flex-horizontal flex-align-center"},void 0,v.default.Messages.DECLINE)))},render:function(){var e=this.props,t=e.x,n=e.y,a=e.channel,o=e.shouldAnimate,r=a.getIconURL();return i(R.default,{className:"incoming-call elevation-high",selector:".incoming-call-inner",initialX:t,initialY:n,maxX:window.innerWidth,maxY:window.innerHeight,onDragEnd:this.handleStop,disableFlip:!0,dragAnywhere:!0},void 0,i(b.default.div,{className:"incoming-call-inner",style:this.getStyle()},void 0,i(T.default,{direction:T.default.Direction.VERTICAL,align:T.default.Align.CENTER},void 0,i(C.default,{className:"margin-top-20",ringing:o,src:r||"",id:a.id}),i("div",{className:"members margin-top-20"},void 0,a.toString()),i("div",{className:"subtitle margin-top-8"},void 0,this.state.mode===oe.CallModes.VOICE?v.default.Messages.INCOMING_CALL_ELLIPSIS:v.default.Messages.INCOMING_VIDEO_CALL_ELLIPSIS),this.renderActions())))},handleStop:function(e,t){X.default.move(e,t)},handleDeclineCall:function(){q.default.stopRinging(this.props.channel.id)},handleAcceptWithAudio:function(){var e=this.props.channel;ee.default.selectChannel(null,e.id),ee.default.selectVoiceChannel(null,e.id)},handleAcceptWithVideo:function(){Q.default.setVideoEnabled(!0,this.props.channel.id),this.handleAcceptWithAudio()}}),ie=u.default.createClass({displayName:"IncomingCalls",mixins:[c.default.LazyStoreListenerMixin(F.default,G.default,k.default,w.default),p.default],getInitialState:function(){return s({ringingSound:(0,S.createSound)(500===g.default.random(1,1e3)?"call_ringing_beat":"call_ringing")},this.getStateFromStores())},getStateFromStores:function(){return{incomingCalls:F.default.getIncomingCalls(),ringing:F.default.hasIncomingCalls(),isFocused:k.default.isFocused(),disableSounds:G.default.disableSounds,theme:w.default.theme}},componentWillUpdate:function(e,t){var n=t.ringing;this.state.ringing!==n&&(n?this.startRinging():this.stopRinging())},render:function(){var e=this,t=this.state,n=t.incomingCalls,a=t.isFocused,o=t.theme;return i(y.default,{className:"theme-"+o},void 0,g.default.map(n,function(t){return u.default.createElement(re,s({key:t.channel.id,shouldAnimate:a,video:e.props.video},t))}))},startRinging:function(){this.state.disableSounds||V.default.isSoundDisabled("call_ringing")||this.state.ringingSound.loop()},stopRinging:function(){this.state.ringingSound.stop()}});t.default=(0,D.default)(Y.default,(r={},r[oe.ExperimentTypes.NONE]=function(e){return u.default.createElement(ie,e)},r[oe.ExperimentTypes.DEVELOPER]=(o={},o[oe.ExperimentBuckets.CONTROL]=function(e){return u.default.createElement(ie,s({video:!0},e))},o),r)),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(292),c=a(f),d=n(5),p=a(d),h=n(2),g=a(h),m=n(29),v=a(m),E=n(145),y=a(E),_=n(523),b=a(_),S=n(31),I=a(S),T=n(84),N=a(T),A=n(497),M=a(A),C=n(46),O=a(C),D=n(160),L=a(D),R=n(139),x=a(R),w=n(1364),P=a(w),k=n(504),U=a(k),G=n(3),j=a(G);n(2200),n(606);var F="Instant Invite Popout",B="max_age",V="max_uses",H="temporary",z=y.default.getMaxAgeOptions,W=y.default.getMaxUsesOptions,Y=r(O.default,{}),K=r("hr",{}),Q=r("hr",{}),Z=s.default.createClass({displayName:"InstantInvitePopout",mixins:[g.default.StoreListenerMixin(b.default,I.default),u.default],getDefaultProps:function(){return{source:null}},getInitialState:function(){var e;return e={advanced:!1},e[B]=z[1].value,e[V]=W[0].value,e[H]=!1,e},getStateFromStores:function(){return{invite:b.default.getInvite(this.props.channel.id),hide:I.default.hideInstantInvites}},componentDidMount:function(){var e=this.state.invite?this.state.invite.code:null;N.default.createInvite(this.props.channel.id,{validate:e},"InstantInvitePopout Mount");var t=this.props.source;null!=t&&(window.inviteButtonSource&&(t=window.inviteButtonSource,window.inviteButtonSource=void 0),v.default.track("open_popout",{Type:"Instant Invite",Source:t}))},handleRegenerate:function(){var e=this.state.invite?this.state.invite.code:null;N.default.createInvite(this.props.channel.id,{regenerate:e},"InstantInvitePopout Regenerate")},handleShowAdvanced:function(e){e.preventDefault(),e.stopPropagation(),this.setState({advanced:!0})},handleHideAdvanced:function(e){e.preventDefault(),e.stopPropagation(),this.setState({advanced:!1})},handleSubmit:function(e){var t;e.preventDefault(),N.default.createInvite(this.props.channel.id,(t={},t[B]=parseInt(this.state[B],10),t[V]=parseInt(this.state[V],10),t[H]=this.state[H],t),"InstantInvitePopout"),this.setState({advanced:!1})},handleMaxAgeChange:function(e){var t;this.setState((t={},t[B]=e,t))},handleMaxUsesChange:function(e){var t;this.setState((t={},t[V]=e,t))},handleTemporaryChange:function(e){var t;this.setState((t={},t[H]=e.currentTarget.checked,t))},renderBasic:function(){var e=this.state,t=e.invite,n=e.hide,a=void 0,o=void 0;return null==t?a=Y:(a=r(M.default,{hidden:n,code:t.code,location:F}),o=r(U.default,{deadline:t.getExpiresAt()})),r("section",{},void 0,r("p",{},void 0,j.default.Messages.INSTANT_INVITE_POPOUT),r("div",{className:"instant-invite"},void 0,a),r("div",{className:"actions"},void 0,o,r("a",{onClick:this.handleRegenerate},void 0,j.default.Messages.INSTANT_INVITE_REGENERATE)),K,r("a",{onClick:this.handleShowAdvanced},void 0,j.default.Messages.ADVANCED_SETTINGS))},renderAdvanced:function(){return r("section",{},void 0,r("form",{className:"form",onSubmit:this.handleSubmit},void 0,r("div",{className:"control-groups"},void 0,r("div",{className:(0,p.default)({"control-group":!0,error:!1})},void 0,r("label",{htmlFor:"settings-email"},void 0,j.default.Messages.FORM_LABEL_MAX_AGE),s.default.createElement(c.default,{value:this.state[B],ref:B,clearable:!1,searchable:!1,options:z,onChange:this.handleMaxAgeChange})),r("div",{className:(0,p.default)({"control-group":!0,error:!1})},void 0,r("label",{htmlFor:"settings-email"},void 0,j.default.Messages.FORM_LABEL_MAX_USES),s.default.createElement(c.default,{value:this.state[V],ref:V,clearable:!1,searchable:!1,onChange:this.handleMaxUsesChange,options:W}))),r("div",{className:(0,p.default)({"control-group":!0,error:!1})},void 0,r("ul",{className:"checkbox-group"},void 0,r("li",{},void 0,s.default.createElement(L.default,{defaultChecked:this.state[H],ref:H,onChange:this.handleTemporaryChange},j.default.Messages.FORM_LABEL_TEMPORARY,r(P.default,{text:j.default.Messages.FORM_HELP_TEMPORARY}))))),r(x.default,{className:"btn btn-primary"},void 0,j.default.Messages.INSTANT_INVITE_GENERATE)),Q,r("a",{onClick:this.handleHideAdvanced},void 0,j.default.Messages.CANCEL))},render:function(){return s.default.createElement("div",o({className:"instant-invite-popout"},this.props),r("header",{},void 0,j.default.Messages.INSTANT_INVITE),this.state.advanced?this.renderAdvanced():this.renderBasic())}});t.default=Z,e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=R.default.getChannel(e);if(null!=n){S.default.focus();var a=n.guild_id,o=n.id;return n.type===$.ChannelTypes.GUILD_VOICE&&(k.default.selectVoiceChannel(a,n.id),o=a),$.Routes.CHANNEL(a,o)}if(t){var i=function t(){R.default.removeChangeListener(t);var n=r(e,!1);null!=n&&m.default.transitionTo(n)};R.default.addChangeListener(i)}return null}t.__esModule=!0;var i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(0),u=o(l),f=n(2),c=o(f),d=n(94),p=n(5),h=o(p),g=n(42),m=o(g),v=n(29),E=o(v),y=n(541),_=o(y),b=n(18),S=o(b),I=n(1678),T=a(I),N=n(101),A=o(N),M=n(17),C=o(M),O=n(267),D=o(O),L=n(11),R=o(L),x=n(84),w=o(x),P=n(59),k=o(P),U=n(28),G=o(U),j=n(46),F=o(j),B=n(1290),V=o(B),H=n(728),z=o(H),W=n(729),Y=o(W),K=n(735),Q=o(K),Z=n(215),X=o(Z),J=n(3),q=o(J),$=n(1);n(2201);var ee="Accept Invite Page",te=u.default.createClass({displayName:"Proxy",statics:{onEnter:function(e,t){t({pathname:r(e.params.channelId)||$.Routes.ME})}},render:function(){return null}}),ne="register",ae="login",oe=i(F.default,{}),re=i(F.default,{}),ie=i(F.default,{}),se=u.default.createClass({displayName:"Invite",mixins:[c.default.StoreListenerMixin(D.default,C.default)],statics:{Proxy:te},childContextTypes:{location:u.default.PropTypes.object},getChildContext:function(){return{location:this.props.location}},getCode:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props).params.code},getMode:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props).location.query.mode||ne},getStateFromStores:function(){return{invite:D.default.getInvite(this.getCode())||{},authenticated:C.default.isAuthenticated()}},componentDidMount:function(){this._pageLoadTime=_.default.getTimeSinceNavigationStart(),A.default.fingerprint(ee).then(this.handleFingerprint)},componentWillUpdate:function(e,t){this.getMode(e)===ne&&this.state.authenticated!==t.authenticated&&t.authenticated&&m.default.transitionTo($.Routes.WELCOME(this.state.invite.guild.id,this.state.invite.channel.id,this.state.invite.channel.type))},componentDidUpdate:function(e,t){var n=this.state,a=n.invite,o=n.authenticated,r=this.getCode();if(r!==this.getCode(e))w.default.resolveInvite(r,ee,{with_counts:!0});else if(a.state===$.InviteStates.APP_NOT_OPENED)this.handleContinue();else if(this.getMode()===ae&&o!==t.authenticated&&o){var i=C.default.getFingerprint(),s=T.extractId(i);this.track($.AnalyticEvents.INVITE_LOGIN_SUCCESSFUL,!0,{prev_user_id:s}),w.default.acceptInvite(r,ee,this.handleContinue)}a.nativeAppState!==t.invite.nativeAppState&&a.nativeAppState===$.InviteNativeAppStates.OPEN&&this.track($.AnalyticEvents.INVITE_APP_INVOKED,!1)},track:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=this.state.invite,o=this.getCode(),r={invite_code:o};t&&(r.guild_id=a.guild?a.guild.id:null,r.channel_id=a.channel?a.channel.id:null,r.inviter_id=a.inviter?a.inviter.id:null),E.default.track(e,s({},r,n))},handleRegisterLoginStart:function(){this.track($.AnalyticEvents.INVITE_LOGIN,!0)},handleContinue:function(){w.default.transitionToInviteChannel(this.state.invite.guild.id,this.state.invite.channel.id,this.state.invite.channel.type)},handleAccept:function(){var e=this,t=this.getCode();w.default.acceptInvite(t,ee,function(){w.default.openApp(t,e.state.invite.channel.id)})},handleFingerprint:function(){var e=this.getCode();this.track($.AnalyticEvents.INVITE_OPENED,!1,{load_time:this._pageLoadTime}),w.default.resolveInvite(e,ee,{with_counts:!0}),w.default.openNativeAppModal(e)},render:function(){var e=this.state.invite,t=null,n="auth-form-invite";if(e.nativeAppState===$.InviteNativeAppStates.OPEN)t=i("div",{},void 0,i("h1",{},void 0,q.default.Messages.APP_OPENED_TITLE),i("p",{},void 0,q.default.Messages.APP_OPENED_BODY),i(G.default,{className:"auth-form-invite-button",size:U.ButtonSizes.XLARGE,onClick:this.handleContinue},void 0,q.default.Messages.CONTINUE_TO_WEBAPP));else switch(e.state){case $.InviteStates.APP_OPENED:t=i("div",{},void 0,i("h1",{},void 0,q.default.Messages.APP_OPENED_TITLE),i("p",{},void 0,q.default.Messages.APP_OPENED_BODY),i(G.default,{className:"auth-form-invite-button",size:U.ButtonSizes.XLARGE,onClick:this.handleContinue},void 0,q.default.Messages.CONTINUE_TO_WEBAPP));break;case $.InviteStates.APP_NOT_OPENED:t=i("div",{},void 0,i("p",{className:"error"},void 0,q.default.Messages.APP_NOT_OPENED),i(d.Link,{to:$.Routes.ME,className:"btn btn-primary"},void 0,q.default.Messages.CONTINUE_TO_WEBAPP));break;case $.InviteStates.APP_OPENING:t=i("div",{},void 0,i("h1",{},void 0,q.default.Messages.APP_OPENING),oe);break;case $.InviteStates.RESOLVING:t=i("div",{},void 0,i("h1",{},void 0,q.default.Messages.INSTANT_INVITE_RESOLVING),re);break;case $.InviteStates.RESOLVED:if(this.state.authenticated){t=i("div",{},void 0,i(z.default,{invite:e}),i(G.default,{className:"auth-form-invite-button button-accept",size:U.ButtonSizes.XLARGE,onClick:this.handleAccept},void 0,q.default.Messages.INSTANT_INVITE_ACCEPT));break}return this.getMode()===ae?i(Y.default,{invite:this.state.invite}):i(V.default,{track:this.track},void 0,i(Q.default,{authFormClassNames:(0,h.default)(n,"register"),invite:this.state.invite,onLoginStart:this.handleRegisterLoginStart,onLogin:this.handleRegisterLoginSuccessful}));case $.InviteStates.ACCEPTING:t=i("div",{},void 0,i("h1",{},void 0,q.default.Messages.INSTANT_INVITE_ACCEPTING),ie);break;case $.InviteStates.ACCEPTED:t=i("div",{},void 0,i("h1",{},void 0,q.default.Messages.INSTANT_INVITE_ACCEPTED),i("a",{className:"btn btn-primary"},void 0,q.default.Messages.CONTINUE_TO_WEBAPP));break;case $.InviteStates.EXPIRED:t=i("div",{},void 0,i("p",{className:"error"},void 0,q.default.Messages.INSTANT_INVITE_EXPIRED),i(d.Link,{to:$.Routes.ME,className:"btn btn-primary"},void 0,q.default.Messages.CONTINUE_TO_WEBAPP))}return i(X.default,{invite:e,authFormClassNames:n},void 0,i("div",{},void 0,t))}});t.default=se,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(5),f=a(u),c=n(2),d=a(c),p=n(46),h=a(p),g=n(84),m=a(g),v=n(267),E=a(v),y=n(12),_=a(y),b=n(1),S=n(3),I=a(S);n(2202);var T=o(h.default,{type:"chasing-dots"}),N=o(h.default,{type:"chasing-dots"}),A=i.default.createClass({displayName:"InviteButton",mixins:[l.default,d.default.StoreListenerMixin(E.default,_.default)],getStateFromStores:function(){var e=E.default.getInvite(this.props.code);return{invite:e,isMember:e&&e.guild&&_.default.getGuild(e.guild.id)}},handleAcceptInstantInvite:function(){var e=this;m.default.acceptInvite(this.props.code,"Invite Button Embed",function(){e.handleTransitionToInviteChannel()})},handleTransitionToInviteChannel:function(){m.default.transitionToInviteChannelSync(this.state.invite.channel.id)},render:function(){var e=this.state.invite||{state:b.InviteStates.RESOLVING},t=null!=e.channel?e.channel.type:null,n=null!=e.channel?e.channel.name:"",a=null!=e.guild?e.guild.name:"",r=void 0,i=void 0,s=void 0,l=void 0;switch(e.state){case b.InviteStates.RESOLVING:r="resolving",s=T,i=o("div",{className:"invite-button-inner"},void 0,o("div",{className:"invite-button-header"},void 0,I.default.Messages.INVITE_BUTTON_RESOLVING));break;case b.InviteStates.EXPIRED:r="expired",i=o("div",{className:"invite-button-inner"},void 0,o("div",{className:"invite-button-header"},void 0,I.default.Messages.INVITE_BUTTON_EXPIRED));break;case b.InviteStates.ACCEPTING:r="accepting",s=N,i=o("div",{className:"invite-button-inner"},void 0,o("div",{className:"invite-button-header"},void 0,I.default.Messages.INVITE_BUTTON_ACCEPTING.format({channelName:n})),o("div",{className:"invite-button-body"},void 0,a));break;default:this.state.isMember?(r="accepted",l=this.handleTransitionToInviteChannel,i=o("div",{className:"invite-button-inner"},void 0,o("div",{className:"invite-button-header"},void 0,I.default.Messages.INVITE_BUTTON_ACCEPTED.format({channelName:n})),o("div",{className:"invite-button-body"},void 0,a))):(r="join",l=this.handleAcceptInstantInvite,i=o("div",{className:"invite-button-inner"},void 0,o("div",{className:"invite-button-header"},void 0,I.default.Messages.INVITE_BUTTON_JOIN.format({channelName:n})),o("div",{className:"invite-button-body"},void 0,a)))}return o("div",{className:(0,f.default)("invite-button",r,t,{"can-click":!!l}),onClick:l},void 0,o("div",{className:(0,f.default)("invite-button-icon",r)},void 0,s),i)}});t.default=A,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(3),l=a(s),u=n(24),f=a(u),c=n(1);n(2204);var d=i.default.createClass({displayName:"InviteMarketing",getInitialState:function(){return{translateX:new f.default.Value(0)}},componentDidMount:function(){f.default.timing(this.state.translateX,{toValue:1,duration:500,easing:f.default.Easing.inOut(f.default.Easing.cubic)}).start()},handleLearnMore:function(){this.props.track(c.AnalyticEvents.INVITE_LEARN_MORE,!0)},render:function(){var e={transform:[{translateX:this.state.translateX.interpolate({inputRange:[0,1],outputRange:["-100%","0%"]})}]};return o("div",{className:"invite-marketing-wrapper"},void 0,o(f.default.div,{className:"invite-marketing",style:e},void 0,o("div",{},void 0,o("div",{className:"invite-marketing-header"},void 0,l.default.Messages.INVITE_MARKETING_TITLE),o("div",{className:"invite-marketing-body"},void 0,o("div",{},void 0,l.default.Messages.INVITE_MARKETING_VALUE_PROP1),o("div",{},void 0,l.default.Messages.INVITE_MARKETING_VALUE_PROP2),o("div",{},void 0,l.default.Messages.INVITE_MARKETING_VALUE_PROP3)),o("a",{className:"invite-marketing-button",target:"_blank",href:"//"+location.host,onClick:this.handleLearnMore},void 0,l.default.Messages.LEARN_MORE))),this.props.children)}});t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(58),u=a(l),f=n(2),c=a(f),d=n(29),p=a(d),h=n(541),g=a(h),m=n(84),v=a(m),E=n(267),y=a(E),_=n(3),b=a(_),S=n(1);n(2205);var I="Accept Invite Page",T=o("div",{className:"brand"}),N=s.default.createClass({displayName:"InviteMobile",mixins:[c.default.LazyStoreListenerMixin(y.default)],getInitialState:function(){return r({code:this.props.params.code},this.getStateFromStores())},getStateFromStores:function(){return{invite:y.default.getInvite(this.props.params.code)||{}}},track:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=this.state,o=a.invite,i=a.code,s={invite_code:i};t&&(s.guild_id=o.guild?o.guild.id:null,s.channel_id=o.channel?o.channel.id:null,s.inviter_id=o.inviter?o.inviter.id:null),p.default.track(e,r({},s,n))},handleOpenApp:function(e){e.preventDefault(),this.track(S.AnalyticEvents.INVITE_APP_OPENED,!0),v.default.openApp(this.state.code)},handleAppDownload:function(){this.track(S.AnalyticEvents.INVITE_APP_DOWNLOADED,!0)},componentDidMount:function(){var e=this.props.params.code;this.track(S.AnalyticEvents.INVITE_OPENED,!1,{load_time:g.default.getTimeSinceNavigationStart()}),v.default.resolveInvite(e,I)},componentWillReceiveProps:function(){this.setState(this.getInitialState())},render:function(){var e="iOS"===u.default.os.family?S.DownloadLinks.IOS:S.DownloadLinks.ANDROID;return o("div",{className:"invite-mobile"},void 0,o("div",{className:"top"},void 0,o("div",{className:"wrap"},void 0,T,o("div",{className:"code-label"},void 0,b.default.Messages.APP_OPENING_MOBILE_BODY),o("div",{className:"code"},void 0,this.state.code))),o("div",{className:"bottom"},void 0,o("div",{className:"wrap"},void 0,o("a",{className:"link purple",href:"#",onClick:this.handleOpenApp},void 0,b.default.Messages.OPEN_APP),o("a",{className:"link",href:e,onClick:this.handleAppDownload},void 0,b.default.Messages.APP_DOWNLOAD_NOW.format()))))}});t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(6),f=a(u),c=n(1593),d=a(c),p=n(67),h=a(p),g=n(46),m=a(g),v=n(3),E=n(182),y=a(E),_=n(1241),b=a(_),S=n(18),I=a(S),T=n(48),N=a(T),A=n(5),M=a(A);n(2206);var C=o(m.default,{type:"pulsing-ellipsis"}),O=i.default.createClass({displayName:"InviteModal",mixins:[f.default,l.default.StoreListenerMixin(d.default)],statics:{modalConfig:{closable:!0,store:d.default}},getStateFromStores:function(){return d.default.getState()},componentDidMount:function(){I.default.isWindows()?I.default.minimize(!0):I.default.restore(!0),I.default.focus(!0)},render:function(){var e=this.state,t=e.invite,n=e.error,a=e.submitting;if(!t)return null;var r=t.channel,i=t.guild,s=void 0;i.splash&&(s=o("div",{className:"invite-splash",style:{backgroundImage:"url("+N.default.getGuildSplashURL({id:i.id,splash:i.splash})+")"}}));var l=void 0,u=void 0;n?(l=n,u=v.Messages.INVITE_MODAL_ERROR_TITLE):(u=v.Messages.INVITE_MODAL_TITLE,l=v.Messages.INVITE_MODAL_CONTENT.format({channelName:r.name,guildName:i.name}));var f=a?C:null;return o("div",{className:"invite-modal"},void 0,s,o(h.default,{theme:"light"},void 0,o("div",{className:"invite-content"},void 0,o(y.default,{guild:i,size:"xxxlarge",textScale:2.5}),o("div",{className:(0,M.default)("invite-title",{error:n})},void 0,u),o("div",{className:(0,M.default)("invite-body",{error:n})},void 0,l),o("div",{className:"invite-actions"},void 0,o("button",{className:(0,M.default)("button",{submitting:a}),disabled:a,onClick:this.acceptInvite},void 0,v.Messages.INVITE_MODAL_BUTTON.format({guildName:i.name}),f),o("div",{onClick:this.close,className:"invite-cancel"},void 0,v.Messages.INIVTE_MODAL_NO_THANKS)))))},acceptInvite:function(){b.default.acceptInvite(this.state.invite.code,"Desktop Invite Modal")},close:function(){b.default.close()}});t.default=O,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o,r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(7),s=a(i),l=n(0),u=a(l),f=n(2),c=a(f),d=n(6),p=a(d),h=n(73),g=a(h),m=n(5),v=a(m),E=n(803),y=a(E),_=n(351),b=a(_),S=n(67),I=a(S),T=n(1322),N=a(T),A=n(3),M=a(A),C=n(1),O=n(87),D=a(O),L=n(770),R=n(1537),x=n(186),w=a(x),P=n(230),k=n(360),U=a(k),G=n(24),j=a(G),F=n(72),B=a(F);n(2208);var V=100,H=(o={},o[C.Arrows.UP]=s.default.throttle(function(){return(0,P.playSound)("ddr-up")},V),o[C.Arrows.DOWN]=s.default.throttle(function(){return(0,P.playSound)("ddr-down")},V),o[C.Arrows.LEFT]=s.default.throttle(function(){return(0,P.playSound)("ddr-left")},V),o[C.Arrows.RIGHT]=s.default.throttle(function(){return(0,P.playSound)("ddr-right")},V),o),z=1e3/60,W=r(U.default,{shortcut:"mod+/",className:"dim"}),Y=u.default.createClass({displayName:"HotkeyLayout",mixins:[D.default,B.default],getInitialState:function(){return{UP:!1,DOWN:!1,LEFT:!1,RIGHT:!1,opacity:new j.default.Value(1),scaleX:new j.default.Value(1),scaleY:new j.default.Value(0),animating:!1}},getSubscriptions:function(){var e,t=this;return e={},e[C.ComponentActions.SCROLL_PAGE_UP]=function(){return t.scrollPageUp(!0)},e[C.ComponentActions.SCROLL_PAGE_DOWN]=function(){return t.scrollPageDown(!0)},e[C.ComponentActions.DDR_ARROW_DOWN]=this.arrowDown,e[C.ComponentActions.DDR_ARROW_UP]=this.arrowUp,e},scrollPageUp:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.refs.scroller;t&&t.scrollPageUp(e,!0)},scrollPageDown:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.refs.scroller;t&&t.scrollPageDown(e,!0)},arrowUp:function(e){var t,n=e.direction;this.setState((t={},t[n]=!1,t))},arrowDown:function(e){var t,n=e.direction;H[n](),this.setState((t={},t[n]=!0,t))},componentWillLeave:function(e){this.setState({animating:!0}),this.state.opacity.setValue(1),this.state.scaleX.setValue(.5),this.state.scaleY.setValue(1),j.default.sequence([j.default.timing(this.state.opacity,{toValue:.7,duration:2*z}),j.default.timing(this.state.opacity,{toValue:1,duration:2*z}),j.default.timing(this.state.opacity,{toValue:.7,duration:2*z}),j.default.timing(this.state.opacity,{toValue:1,duration:2*z}),j.default.timing(this.state.opacity,{delay:300,toValue:.7,duration:2*z}),j.default.timing(this.state.opacity,{toValue:1,duration:2*z}),j.default.timing(this.state.opacity,{toValue:.7,duration:2*z}),j.default.timing(this.state.opacity,{toValue:1,duration:2*z}),j.default.timing(this.state.opacity,{toValue:.7,duration:2*z}),j.default.timing(this.state.opacity,{toValue:1,duration:2*z}),j.default.timing(this.state.opacity,{toValue:.7,duration:2*z}),j.default.timing(this.state.opacity,{toValue:1,duration:2*z}),j.default.timing(this.state.scaleY,{delay:100,toValue:.005,duration:8*z,easing:j.default.Easing.in(j.default.Easing.ease)}),j.default.parallel([j.default.timing(this.state.scaleX,{toValue:1,duration:10*z,easing:j.default.Easing.out(j.default.Easing.ease)}),j.default.timing(this.state.opacity,{toValue:0,duration:12*z})])]).start(e)},toggleOpacity:function(){1===this.state.opacity._value?this.state.opacity.setValue(0):this.state.opacity.setValue(1)},getStyles:function(){return{opacity:this.state.opacity.interpolate({inputRange:[0,1],outputRange:[0,1]}),transform:[{scaleX:this.state.scaleX.interpolate({inputRange:[0,1],outputRange:[0,2]})},{scaleY:this.state.scaleY.interpolate({inputRange:[0,1],outputRange:[0,1]})}]}},render:function(){var e=this.state,t=e.UP,n=e.DOWN,a=e.LEFT,o=e.RIGHT,i=this.generateContent();return r(j.default.div,{className:"keyboard-shortcuts-modal",style:this.getStyles()},void 0,r("h1",{className:"modal-title"},void 0,r("div",{className:"content"},void 0,M.default.Messages.KEYBIND_DESCRIPTION_MODAL_TITLE),W),r("div",{className:"modal-subtitle"},void 0,M.default.Messages.KEYBIND_DESCRIPTION_MODAL_SUBTITLE),r("div",{className:"ddr-arrows"},void 0,r("div",{className:(0,v.default)("arrow","left",{active:a})},void 0,"left"),r("div",{className:(0,v.default)("arrow","down",{active:n})},void 0,"down"),r("div",{className:(0,v.default)("arrow","up",{active:t})},void 0,"up"),r("div",{className:(0,v.default)("arrow","right",{active:o})},void 0,"right")),u.default.createElement(I.default,{ref:"scroller",fade:!0},r("div",{className:"keyboard-shortcut-list"},void 0,i)))},generateContent:function(){return this.props.content.map(function(e,t){return r("div",{className:(0,v.default)("keybind-group",{"group-end":e.groupEnd||!1})},t,r("div",{className:"keybind-description"},void 0,e.description),r("div",{className:"keybind-shortcuts"},void 0,e.binds.map(function(e,t){return r(U.default,{shortcut:e},t)})))})}}),K=r(N.default,{},"raging-demo"),Q=u.default.createClass({displayName:"KeyboardShortcuts",mixins:[p.default,c.default.StoreListenerMixin(y.default)],statics:{modalConfig:{store:y.default}},getInitialState:function(){return{content:L.DEFAULT_LAYOUT_CONTENT}},getStateFromStores:function(){return y.default.getState()},componentWillUpdate:function(e,t){!this.state.ragingDemon&&t.ragingDemon&&w.default.disable()},componentDidMount:function(){w.default.enableTemp(R.SHORTCUT_MODAL_LAYOUT)},componentWillUnmount:function(){w.default.disableTemp()},render:function(){var e=void 0;return e=this.state.ragingDemon?K:r(Y,{content:this.state.content},"modal"),r(g.default,{component:"div"},void 0,e)},close:function(){b.default.hide()}});t.default=Q,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(63),d=a(c),p=n(60),h=a(p),g=n(538),m=a(g),v=n(3),E=a(v),y=n(1),_=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={reason:""},a.handleReasonChange=a.handleReasonChange.bind(a),a.handleKick=a.handleKick.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.props.user;return f.default.createElement(h.default,s({className:"theme-light",header:E.default.Messages.KICK_USER_TITLE.format({user:e.username}),confirmText:E.default.Messages.KICK,cancelText:E.default.Messages.CANCEL,onConfirm:this.handleKick,red:!0},this.props),l("div",{className:"user-popout-kick-body"},void 0,E.default.Messages.KICK_USER_BODY.format({user:"@"+e.toString()})),l("div",{className:"control-group"},void 0,l("label",{htmlFor:"kick-reason"},void 0,E.default.Messages.FORM_LABEL_REASON_KICK)),l(m.default,{className:"user-popout-reason-text-area",maxLength:y.MAX_REASON_LENGTH,id:"kick-reason",onChange:this.handleReasonChange,type:"text",value:this.state.reason}))},t.prototype.handleReasonChange=function(e){this.setState({reason:e})},t.prototype.handleKick=function(){var e=this.props,t=e.guildId,n=e.user;d.default.kickUser(t,n.id,this.state.reason)},t}(f.default.PureComponent);t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s,l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f=n(0),c=a(f),d=n(7),p=a(d),h=n(5),g=a(h),m=n(2),v=a(m),E=n(262),y=a(E),_=n(24),b=a(_),S=n(186),I=a(S),T=n(6),N=a(T),A=n(73),M=a(A),C=n(36),O=n(764),D=a(O),L=n(1354),R=a(L),x=n(762),w=a(x),P=n(1502),k=a(P),U=n(268),G=a(U),j=n(1536),F=n(102),B=n(1);n(2209);var V=(s={},s[B.Layers.USER_SETTINGS]=D.default,s[B.Layers.CHANNEL_SETTINGS]=R.default,s[B.Layers.GUILD_SETTINGS]=w.default,s[B.Layers.VERIFICATION]=k.default,s),H="SHOWN",z="HIDDEN",W=.93,Y=1,K=1.1,Q=0,Z=1,X={friction:10,tension:100},J=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n)),i=Y,s=Z;return n.mode===z&&(i=W,s=Q),a.state={animating:!1,scale:new b.default.Value(i),opacity:new b.default.Value(s)},p.default.bindAll(a,["setRef"]),a}return i(t,e),t.prototype.setRef=function(e){this._ref=e},t.prototype.getRef=function(){return this._ref||{}},t.prototype.componentWillReceiveProps=function(e){var t=this.props.mode,n=e.mode;(n===H&&t===z||n===z&&t===H)&&this.setState({animating:!0})},t.prototype.componentDidUpdate=function(e){var t=this.props.mode,n=e.mode;if(t!==n)return t===H&&n===z?this.animateIn():t===z&&n===H?this.animateUnder():void 0},t.prototype.componentWillEnter=function(e){var t=this,n=this.state,a=n.opacity;n.scale.setValue(K),a.setValue(Q),this.setState({animating:!0},function(){return t.animateIn(e)})},t.prototype.componentWillLeave=function(e){var t=this;this.setState({animating:!0},function(){return t.animateOut(e)})},t.prototype.animateIn=function(e){var t=this;y.default.pauseEmittingChanges(500);var n=this.state,a=n.opacity,o=n.scale;b.default.parallel([b.default.spring(a,u({toValue:Z},X)),b.default.spring(o,u({toValue:Y},X))]).start(function(){return t.animateComplete(e)})},t.prototype.animateOut=function(e){y.default.pauseEmittingChanges(500);var t=this.state,n=t.opacity,a=t.scale,o=this.getRef().constructor.onPop;b.default.parallel([b.default.spring(n,u({toValue:Q},X)),b.default.spring(a,u({toValue:K},X))]).start(function(){e(),o&&o(),C.ComponentDispatch.dispatch(B.ComponentActions.LAYER_POP_COMPLETE)})},t.prototype.animateUnder=function(){var e=this;y.default.pauseEmittingChanges(500);var t=this.state,n=t.opacity,a=t.scale;b.default.parallel([b.default.spring(n,u({toValue:Q},X)),b.default.spring(a,u({toValue:W},X))]).start(function(){return e.animateComplete()})},t.prototype.animateComplete=function(e){this.setState({animating:!1},e)},t.prototype.render=function(){var e=this.state.animating,t=this.props.mode,n=e||t===z?this.getAnimatedStyle():null,a=c.default.cloneElement(c.default.Children.only(this.props.children),{ref:this.setRef});return l(b.default.div,{className:(0,g.default)("layer",{animating:e}),style:n},void 0,a)},t.prototype.getAnimatedStyle=function(){var e=this.state;return{opacity:e.opacity,transform:[{scale:e.scale},{translateZ:0}]}},t}(c.default.PureComponent),q=c.default.createClass({displayName:"Layers",mixins:[N.default,v.default.LazyStoreListenerMixin(G.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{layers:G.default.getLayers()}},componentDidMount:function(){C.ComponentDispatch.subscribe(B.ComponentActions.LAYER_POP_ESCAPE_KEY,F.popLayer)},componentWillUpdate:function(e,t){var n=this.state.layers.length>0,a=t.layers.length>0;!n&&a?(I.default.disable(),t.layers[t.layers.length-1]!==B.Layers.VERIFICATION&&I.default.enableTemp(j.SETTINGS_LAYERS_LAYOUT)):n&&!a&&I.default.disableTemp()},componentWillUnmount:function(){C.ComponentDispatch.unsubscribe(B.ComponentActions.LAYER_POP_ESCAPE_KEY,F.popLayer)},renderLayers:function(){var e=this,t=this.props.children,n=this.state.layers,a=n.length,o=[];return o.push(l(J,{mode:0===a?H:z},"layer-base",t)),n.forEach(function(t,n){return o.push(e.renderComponent(t,n,a))}),o},renderComponent:function(e,t,n){return"string"==typeof e&&(e=V[e]),l(J,{mode:t===n-1?H:z},"layer-"+t,l(e,{}))},render:function(){return l(M.default,{component:"div",className:(0,g.default)("layers",this.props.className)},void 0,this.renderLayers())}});t.default=q,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(5),d=a(c),p=n(139),h=a(p);n(942);var g="code",m=i.default.createClass({displayName:"MFAConfirmModal",mixins:[l.default],statics:{key:function(){return"mfa-confirm-modal"}},getDefaultProps:function(){return{btnClass:"",isLoading:!1,error:null}},render:function(){var e=this.props,t=e.title,n=e.actionText,a=e.children,r=e.error,s=e.isLoading,l=i.default.Children.count(a)?o("div",{className:"change-nickname-warning"},void 0,a):null;return o("form",{className:"modal-content form",tabIndex:"0",onSubmit:this.handleSubmit},void 0,o("div",{className:"form-header"},void 0,o("header",{},void 0,t)),o("div",{className:"form-inner"},void 0,l,o("div",{className:(0,d.default)("control-group",{error:r})},void 0,o("label",{htmlFor:"removal-code"},void 0,f.default.Messages.TWO_FA_ENTER_TOKEN_LABEL,r?o("span",{className:"error"},void 0," (",r,")"):null),i.default.createElement("input",{id:"removal-code",type:"text",ref:g,placeholder:f.default.Messages.TWO_FA_AUTH_CODE,maxLength:10,autoComplete:"off",autoFocus:!0}))),o("div",{className:"form-actions"},void 0,o("button",{type:"button",className:"btn btn-default",onClick:s?null:this.handleCancel},void 0,f.default.Messages.CANCEL),o(h.default,{className:"btn btn-primary "+this.props.btnClass,disabled:s},void 0,n||f.default.Messages.CONFIRM)))},handleSubmit:function(e){e.preventDefault(),this.props.handleSubmit(this.refs[g].value)},handleCancel:function(){var e=this.props,t=e.onClose,n=e.handleEarlyClose;t(),n&&n()}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(5),d=a(c),p=n(1315),h=a(p),g=n(10),m=a(g),v=n(486),E=a(v),y=n(839);n(942);var _="code",b=function(e){var t=e.image,n=e.label,a=e.error,r=e.text,i=e.extra;return o("div",{className:"flex-horizontal mfa-step"},void 0,o("div",{className:"flair"},void 0,t),o("div",{className:(0,d.default)("control-group",{error:a})},void 0,o("label",{},void 0,n," ",a?o("span",{className:"error"},void 0,"(",a,")"):null),o("p",{},void 0,r),i))},S=i.default.createClass({displayName:"MFAEnableModal",mixins:[l.default],statics:{key:function(){return"mfa-enable-modal"}},getInitialState:function(){return{totpSecret:(0,y.generateTotpSecret)(),error:null}},render:function(){var e=this.state.totpSecret,t=m.default.getCurrentUser().email,a=(0,y.encodeTotpSecretAsUrl)(t,e),r=o("div",{className:"flex-horizontal mfa-code-input"},void 0,i.default.createElement("input",{type:"text",defaultValue:"",ref:_,placeholder:"000 000",maxLength:7,className:"code-input",autoComplete:"off",autoFocus:!0}),o("button",{className:"btn btn-primary",onClick:this.handleActivate.bind(this,e)},void 0,f.default.Messages.TWO_FA_ACTIVATE));return o("form",{className:"form mfa-modal",onSubmit:function(e){return e.preventDefault()}},void 0,o("div",{className:"form-inner"},void 0,o(b,{image:o("img",{src:n(2991)}),label:f.default.Messages.TWO_FA_DOWNLOAD_APP_LABEL,text:f.default.Messages.TWO_FA_DOWNLOAD_APP_BODY.format({googleAuthURL:"https://support.google.com/accounts/answer/1066447?hl=en",authyURL:"https://www.authy.com/"})}),o(b,{image:o(h.default,{text:a}),label:f.default.Messages.TWO_FA_QR_LABEL,text:f.default.Messages.TWO_FA_QR_BODY,extra:o("div",{},void 0,o("label",{},void 0,f.default.Messages.TWO_FA_KEY),o("p",{className:"auth-key"},void 0,e))}),o(b,{image:o("img",{src:n(2897)}),label:f.default.Messages.TWO_FA_LOGIN_LABEL,error:this.state.error,text:f.default.Messages.TWO_FA_LOGIN_BODY,extra:r})))},handleActivate:function(e){var t=this;E.default.enable({code:this.refs[_].value,secret:(0,y.encodeTotpSecret)(e)}).then(function(){return t.props.onClose()},function(e){return t.setState({error:e.body.message})})}});t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(7),d=a(c),p=n(73),h=a(p),g=n(24),m=a(g),v=n(5),E=a(v),y=n(33),_=a(y),b=n(1377),S=a(b),I=n(213),T=n(48),N=a(T),A=n(193),M=a(A),C=n(524),O=a(C),D=n(90),L=a(D),R=n(319);n(2124);var x=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={tooltipText:""},a.scale=new m.default.Value(1),a.opacity=new m.default.Value(1),d.default.bindAll(a,["handleClick","handleMouseOver","handleMouseOut","handleStoreChange"]),a}return i(t,e),t.prototype.componentWillAppear=function(e){this.animateIn(e)},t.prototype.componentWillEnter=function(e){this.animateIn(e)},t.prototype.componentWillUnmount=function(){this.handleMouseOut()},t.prototype.animateIn=function(e){L.default.isFocused()?(this.scale.setValue(0),this.opacity.setValue(0),m.default.parallel([m.default.timing(this.scale,{toValue:1,duration:300,easing:m.default.Easing.inOut(m.default.Easing.back())}),m.default.timing(this.opacity,{toValue:1,duration:300})]).start(e)):(this.scale.setValue(1),this.opacity.setValue(1),e())},t.prototype.handleClick=function(){var e=this.props,t=e.message,n=e.emoji,a=e.me,o=e.readOnly,r=t.getChannelId();a?(0,I.removeReaction)(r,t.id,n):o||(0,I.addReaction)(r,t.id,n)},t.prototype.handleMouseOver=function(){var e=this;this.timeout=this.timeout||setTimeout(function(){e.timeout=null,e.handleStoreChange(),O.default.addChangeListener(e.handleStoreChange)},500)},t.prototype.handleMouseOut=function(){null!=this.timeout&&(clearTimeout(this.timeout),this.timeout=null,this.setState({tooltipText:""})),O.default.removeChangeListener(this.handleStoreChange)},t.prototype.handleStoreChange=function(){var e=this.props,t=e.message,n=e.emoji;this.setState({tooltipText:(0,R.getReactionTooltip)(t,n)})},t.prototype.render=function(){var e=this.props,t=e.count,n=e.emoji,a=e.me,o=e.readOnly,r=null==n.id?M.default.getURL(n.name):N.default.getEmojiURL({id:n.id}),i={transform:[{scale:this.scale}],opacity:this.opacity};return l(_.default,{text:this.state.tooltipText,hideOnClick:!1},void 0,l(m.default.div,{className:(0,E.default)("reaction",{"reaction-me":a,"reaction-read-only":o}),onClick:this.handleClick,onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut,style:i},void 0,r?l("img",{className:"emoji",src:r,alt:n.name}):l("span",{className:"emoji emoji-text"},void 0,n.name),l(S.default,{className:"reaction-count",value:t,digitWidth:9})))},t}(f.default.PureComponent),w=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.message,n=e.transitionAppear,a=e.readOnly;return l(h.default,{className:"reactions",transitionAppear:n,transitionLeave:!1},void 0,t.reactions.map(function(e){return f.default.createElement(x,s({key:e.emoji.id+":"+e.emoji.name,message:t,readOnly:a},e))}),this.props.children)},t}(f.default.PureComponent);t.default=w,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(23),d=a(c),p=n(7),h=a(p),g=n(5),m=a(g),v=n(61),E=a(v),y=n(1367),_=a(y),b=n(67),S=a(b),I=n(46),T=a(I),N=n(1346),A=a(N),M=n(727),C=a(M),O=n(10),D=a(O),L=n(88),R=a(L),x=n(1610),w=a(x),P=n(265),k=a(P),U=n(521),G=a(U),j=n(13),F=a(j),B=n(89),V=a(B),H=n(47),z=a(H),W=n(52),Y=(a(W),n(355)),K=a(Y),Q=n(54),Z=a(Q),X=n(158),J=a(X),q=n(299),$=a(q),ee=n(48),te=n(387),ne=a(te),ae=n(3),oe=a(ae),re=n(2),ie=a(re),se=n(8),le=a(se);n(1607);var ue=n(1),fe=n(87),ce=a(fe);n(2125);var de="SCROLLER_REF",pe="NEW_MESSAGES_REF",he="JUMP_TARGET_REF",ge=100,me=35,ve=f.default.createClass({displayName:"BlockedMessageGroups",getDefaultProps:function(){return{canManageMessages:!1,compact:!1}},handleClick:function(){this.props.onReveal(this.props.revealed?null:this.props.messageGroups[0].content[0].id)},render:function(){var e=this,t=this.props.revealed,n=[],a=0;return this.props.messageGroups.forEach(function(t){var o=t.content;a+=o.length,n.push(f.default.createElement($.default,l({key:o[0].id,messages:o,hasDivider:!1},e.props)))}),s("div",{className:(0,m.default)("message-group-blocked",{revealed:t})},void 0,s("div",{className:"message-group-blocked-btn",onClick:this.handleClick},void 0,oe.default.Messages.BLOCKED_MESSAGES.format({count:a})),t?n:null)}}),Ee=f.default.createClass({displayName:"PendingUpload",getInitialState:function(){return{animate:!1}},render:function(){var e,t=this.props,n=t.user,a=t.file,o=this.state.animate,r=(0,ee.hasAnimatedAvatar)(n);return s("div",{onMouseEnter:r&&this.onMouseEnter,onMouseLeave:r&&this.onMouseLeave,className:"message-group"},void 0,s(E.default,{user:n,size:"large",animate:o}),s("div",{className:"comment"},void 0,s("h2",{},void 0,s("strong",{},void 0,n.toString())),s("div",{className:"attachment"},void 0,s("div",{className:(0,m.default)("icon icon-file",(e={},e[this.props.file.classification]=!0,e))}),s("div",{className:"upload"},void 0,s("div",{className:"filename"},void 0,a.toString()),s("div",{className:"speed"},void 0,a.getSpeed()),s(_.default,{percent:a.getPercentComplete()})))))},onMouseEnter:function(){this.setState({animate:!0})},onMouseLeave:function(){this.setState({animate:!1})}}),ye=s("div",{}),_e=s("div",{}),be=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){return s("div",{className:(0,m.default)("divider",this.props.red&&"divider-red")},void 0,ye,s("span",{},void 0,this.props.children),_e)},t}(f.default.PureComponent),Se=s(T.default,{}),Ie=s(T.default,{}),Te=s("div",{className:"channel-icon"}),Ne=s(T.default,{type:"pulsing-ellipsis"}),Ae=f.default.createClass({displayName:"Messages",mixins:[ie.default.StoreListenerMixin(D.default,R.default,w.default,k.default,V.default,F.default,G.default),z.default,ce.default],getSubscriptions:function(){var e,t=this;return e={},e[ue.ComponentActions.SCROLLTO_PRESENT]=this.scrollToBottom,e[ue.ComponentActions.SCROLL_PAGE_UP]=function(){return t.scrollPageUp(!0)},e[ue.ComponentActions.SCROLL_PAGE_DOWN]=function(){return t.scrollPageDown(!0)},e},getInitialState:function(){return{scrollingToJump:!1}},getStateFromStores:function(){var e=this.props.channel,t=F.default.inlineAttachmentMedia,n=F.default.inlineEmbedMedia,a=F.default.renderEmbeds,o=F.default.renderReactions,r=F.default.developerMode,i=F.default.messageDisplayCompact;return{messages:R.default.getMessages(e.id),uploads:w.default.getFiles(e.id),dimensions:k.default.getChannelDimensions(e.id),unreadCount:V.default.getUnreadCount(e.id),oldestUnreadMessageId:V.default.getOldestUnreadMessageId(e.id),ackMessageId:V.default.ackMessageId(e.id),inlineAttachmentMedia:t,inlineEmbedMedia:n,renderEmbeds:a,renderReactions:o,messageDisplayCompact:i,developerMode:r,canChat:e.isPrivate()||G.default.canChatInGuild(e.getGuildId()),canReport:ne.default.canReportInChannel(e)}},componentDidMount:function(){this.restoreScroll(),document.addEventListener("webkitfullscreenchange",this.handleWebKitFullscreenChange)},componentWillUnmount:function(){document.removeEventListener("webkitfullscreenchange",this.handleWebKitFullscreenChange)},shouldComponentUpdate:function(e,t){return this.state.messages!==t.messages||this.state.uploads!==t.uploads||this.state.unreadCount!==t.unreadCount||this.state.oldestUnreadMessageId!==t.oldestUnreadMessageId||this.props.channel!=e.channel||this.state.inlineAttachmentMedia!=t.inlineAttachmentMedia||this.state.inlineEmbedMedia!=t.inlineEmbedMedia||this.state.renderEmbeds!=t.renderEmbeds||this.state.renderReactions!=t.renderReactions||this.state.developerMode!=t.developerMode||this.state.messageDisplayCompact!=t.messageDisplayCompact||this.state.canChat!=t.canChat||this.didPermissionsUpdate(t,e.channel)},scrollToJumpTarget:function(e,t){var n=this,a=this.refs[he];if(!a){return this.refs[pe]?void this.scrollToNewMessages(!0):void console.warn("Got a jump target request but the ref was not found in the channel")}var o=d.default.findDOMNode(a.getMessage(this.jumpTargetIndex)),r=this.getScroller(),i=this.getScrollerDOMNode(),s=o.offsetTop-.5*i.offsetHeight+.5*o.offsetHeight;t.last()!==e.last()&&t.first()!==e.first()&&(e.first()&&t.get(t.jumpTargetId).timestamp.isBefore(e.first().timestamp)?r.scrollTo(i.scrollHeight-i.offsetHeight-ge):r.scrollTo(ge));var l=t.jumpTargetId;this.setState({scrollingToJump:!0},function(){r.scrollTo(s,!0,function(){n.state.messages.jumpTargetId===l&&n.setState({scrollingToJump:!1})})})},componentDidUpdate:function(e,t){var n=t.messages,a=this.state.messages;if(null!==a.jumpTargetId&&n.jumpSequenceId!==a.jumpSequenceId)this.scrollToJumpTarget(n,a);else if(a.jumpedToPresent&&n.jumpSequenceId!==a.jumpSequenceId)this.getScroller().scrollTo(ge),this.scrollToBottom(!0);else if(this.state.inlineAttachmentMedia!=t.inlineAttachmentMedia||this.state.inlineEmbedMedia!=t.inlineEmbedMedia||this.state.renderEmbeds!=t.renderEmbeds)this.scrollToBottom();else if(this.state.uploads.length>t.uploads.length)this.scrollToBottom();else if(this.state.messageDisplayCompact!==t.messageDisplayCompact&&this.isAtBottom())this.scrollToBottom();else if(this.state.messages.last()!==t.messages.last()){if(t.messages.loadingMore)if(0===t.messages.length)this.restoreScroll();else{var o=this.getScrollerDOMNode();J.default.updateChannelDimensions(this.props.channel.id,o.scrollTop,o.scrollHeight,o.offsetHeight),Z.default.truncateMessages(this.props.channel.id,!1,!0)}else if(!this.state.messages.hasMoreAfter){var r=this.state.messages.last(),i=D.default.getCurrentUser();(r&&r.author.id===i.id||this.isAtBottom())&&this.scrollToBottom()}}else if(this.state.messages.first()!==t.messages.first())if(t.messages.loadingMore){this.handleLoadMore();var s=this.getScrollerDOMNode();J.default.updateChannelDimensions(this.props.channel.id,s.scrollTop,s.scrollHeight,s.offsetHeight),Z.default.truncateMessages(this.props.channel.id,!0,!1)}else t.dimensions&&this.scrollTo(t.dimensions.scrollTop-(t.dimensions.scrollHeight-this.getScrollerDOMNode().scrollHeight))},render:function(){var e=this,t=this.state,n=t.messages,a=t.canChat,o=t.canReport,r=D.default.getCurrentUser(),i=this.can(ue.Permissions.MANAGE_MESSAGES,this.props.channel),u=a&&this.can(ue.Permissions.ADD_REACTIONS,this.props.channel),c=this.createChannelStream(n),d=c.map(function(t,r){var d=t.type,p=t.content;if(d==ue.ChannelStreamTypes.DIVIDER_TIME_STAMP)return s(be,{},r,p);if(d==ue.ChannelStreamTypes.DIVIDER_NEW_MESSAGES)return f.default.createElement(be,{key:r,ref:pe,red:!0},p);var h={compact:e.state.messageDisplayCompact,channel:e.props.channel,canManageMessages:i,canAddNewReactions:u,canChat:a,canReport:o,inlineAttachmentMedia:e.state.inlineAttachmentMedia,inlineEmbedMedia:e.state.inlineEmbedMedia,renderEmbeds:e.state.renderEmbeds,renderReactions:e.state.renderReactions,developerMode:e.state.developerMode,onEdit:e.handleMessageEdit,onUpdate:e.handleMessageUpdate};if(d==ue.ChannelStreamTypes.MESSAGE_GROUP_BLOCKED)return f.default.createElement(ve,l({key:r,revealed:p[0].content[0].id===n.revealedMessageId,messageGroups:p,onReveal:e.handleReveal},h));var g=r!==c.length-1&&(c[r+1].type==ue.ChannelStreamTypes.DIVIDER_TIME_STAMP||c[r+1].type==ue.ChannelStreamTypes.DIVIDER_NEW_MESSAGES||c[r+1].type==ue.ChannelStreamTypes.MESSAGE_GROUP_BLOCKED);return d==ue.ChannelStreamTypes.JUMP_TARGET&&(h.ref=he,h.jumpTargetIndex=e.jumpTargetIndex,h.jumpSequenceId=n.jumpSequenceId,h.canFlash=n.jumpFlash),f.default.createElement($.default,l({key:p[0].id,messages:p,hasDivider:g},h))});if(this.state.uploads.forEach(function(e){d.push(s(Ee,{file:e,user:r},"upload-"+e.id))}),n.loadingMore?(n.hasMoreBefore&&d.unshift(f.default.createElement("div",{key:"loading-more",ref:"loading-more",className:"loading-more"},Se)),n.hasMoreAfter&&d.push(f.default.createElement("div",{key:"loading-more-after",ref:"loading-more",className:"loading-more"},Ie))):n.hasMoreBefore&&d.unshift(s("div",{className:"has-more"},"has-more",s("button",{type:"button",onClick:this.loadMore.bind(this,!1)},void 0,oe.default.Messages.LOAD_MORE_MESSAGES))),!n.hasMoreBefore){var p=this.props.channel;this.props.channel.type===ue.ChannelTypes.DM?d.unshift(s(C.default,{},"empty-message",s("h1",{},void 0,oe.default.Messages.BEGINNING_DM.format({username:p.toString()})))):this.props.channel.type===ue.ChannelTypes.GROUP_DM?this.props.channel.isManaged()?d.unshift(s(C.default,{},"empty-message",s("h1",{},void 0,oe.default.Messages.BEGINNING_GROUP_DM_MANAGED))):d.unshift(s(C.default,{},"empty-message",s("h1",{},void 0,oe.default.Messages.BEGINNING_GROUP_DM.format({name:p.toString()})))):this.can(ue.Permissions.READ_MESSAGE_HISTORY,p)?p.isDefaultChannel()?d.unshift(s(A.default,{channel:p},"welcome-message")):d.unshift(s(C.default,{},"empty-message",s("h1",{},void 0,oe.default.Messages.BEGINNING_CHANNEL.format({channelName:p.toString()})))):d.unshift(s("div",{className:"empty-message"},"empty-message",Te,s("h1",{},void 0,oe.default.Messages.BEGINNING_CHANNEL_NO_HISTORY.format({channelName:p.toString()}))))}!n.loadingMore&&n.hasMoreAfter&&d.push(s("div",{className:"has-more"},"has-more-after",s("button",{type:"button",onClick:this.loadMore.bind(this,!0)},void 0,oe.default.Messages.LOAD_MORE_MESSAGES)));var h=void 0;if(this.state.unreadCount>0){var g=V.default.getOldestUnreadTimestamp(this.props.channel.id),m=void 0,v=(0,le.default)().isSame(g,"day");m=V.default.isEstimated(this.props.channel.id)?v?oe.default.Messages.NEW_MESSAGES_ESTIMATED:oe.default.Messages.NEW_MESSAGES_ESTIMATED_WITH_DATE:v?oe.default.Messages.NEW_MESSAGES:oe.default.Messages.NEW_MESSAGES_WITH_DATE,h=s("div",{className:"new-messages-bar"},void 0,s("button",{type:"button",onClick:this.handleScrollToNewMessages},void 0,m.format({count:this.state.unreadCount,timestamp:g})),s("button",{type:"button",onClick:this.handleAck},void 0,oe.default.Messages.MARK_AS_READ))}var E=void 0;return this.state.messages.hasMoreAfter&&(E=this.state.messages.loadingMore&&this.state.messages.jumpedToPresent?s("div",{className:"jump-to-present-bar"},void 0,s("button",{type:"button"},void 0,oe.default.Messages.YOURE_VIEWING_OLDER_MESSAGES),Ne):s("div",{className:"jump-to-present-bar"},void 0,s("button",{type:"button",onClick:this.jumpToPresent},void 0,oe.default.Messages.YOURE_VIEWING_OLDER_MESSAGES),s("button",{type:"button",onClick:this.jumpToPresent},void 0,oe.default.Messages.JUMP_TO_PRESENT))),s("div",{className:"messages-wrapper"},void 0,h,f.default.createElement(S.default,{ref:de,className:"messages",onScroll:this.handleScroll,onResize:this.handleResize},d),E)},createChannelStream:function(e){var t=this,n=[];e.forEach(function(e){var a=n[n.length-1];null==a||e.id===t.state.oldestUnreadMessageId||e.type>ue.MessageTypes.DEFAULT||a[0].type!==e.type||a[0].author.id!==e.author.id||a[0].nick!==e.nick||e.webhook_id&&a[0].author.username!==e.author.username||a[0].timestamp.day()!==e.timestamp.day()||a[0].timestamp.hour()!==e.timestamp.hour()?n.push([e]):a.push(e)});var a=void 0,o=[];return n.forEach(function(n){n[0].id===t.state.oldestUnreadMessageId&&o.push({type:ue.ChannelStreamTypes.DIVIDER_NEW_MESSAGES,content:oe.default.Messages.NEW_MESSAGES_DIVIDER});var r=n[0].timestamp.format("LL");if(r!==a&&(null!=a&&o.push({type:ue.ChannelStreamTypes.DIVIDER_TIME_STAMP,content:r}),a=r),n[0].blocked){var i=o[o.length-1];null!=i&&i.type===ue.ChannelStreamTypes.MESSAGE_GROUP_BLOCKED||(i={type:ue.ChannelStreamTypes.MESSAGE_GROUP_BLOCKED,content:[]},o.push(i)),i.content.push({type:ue.ChannelStreamTypes.MESSAGE_GROUP,content:n})}else{var s=ue.ChannelStreamTypes.MESSAGE_GROUP;if(t.state.messages.jumpTargetId){var l=h.default.findIndex(n,function(t){return t.id==e.jumpTargetId});l>=0&&(s=ue.ChannelStreamTypes.JUMP_TARGET,t.jumpTargetIndex=l)}o.push({type:s,content:n})}}),o},loadMore:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.state.scrollingToJump)if(e)Z.default.fetchMessages(this.props.channel.id,null,this.state.messages.last().id,ue.MAX_MESSAGES_PER_CHANNEL);else{var t=null!=this.state.messages.first()?this.state.messages.first().id:null;Z.default.fetchMessages(this.props.channel.id,t,null,ue.MAX_MESSAGES_PER_CHANNEL)}},jumpToPresent:function(){this.state.loadingMore||Z.default.jumpToPresent(this.props.channel.id,ue.MAX_MESSAGES_PER_CHANNEL)},getScroller:function(){return this.refs[de]},getScrollerDOMNode:function(){return this.getScroller().getScrollerNode()},scrollTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getScrollerDOMNode();n.scrollHeight===n.offsetHeight?this.handleScroll():this.getScroller().scrollTo(e,t)},scrollBy:function(e){this.scrollTo(this.getScrollerDOMNode().scrollTop+e)},scrollToNewMessages:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._loadMoreScrollToNewMessages=!1;var n=d.default.findDOMNode(this.refs[pe]);if(null!=n)this.scrollTo(Math.max(0,n.offsetTop-me),e),t&&V.default.isEstimated(this.props.channel.id)&&(this._loadMoreScrollToNewMessages=!0,this.loadMore());else if(null!=this.state.oldestUnreadMessageId)return this.scrollTo(me,e),!0;return null!=n},scrollToBottom:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.state.messages.hasMoreAfter?this.jumpToPresent():this.scrollTo(this.getScrollerDOMNode().scrollHeight,e)},scrollPageUp:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.refs[de];t&&t.scrollPageUp(e)},scrollPageDown:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.refs[de];t&&t.scrollPageDown(e)},restoreScroll:function(){this.scrollToNewMessages()||(null!=this.state.dimensions?this.scrollTo(this.state.dimensions.scrollTop):this.scrollToBottom())},isAtBottom:function(){return null==this.state.dimensions},isWebKitFullscreen:function(){return null!=document.webkitFullscreenElement},handleWebKitFullscreenChange:function(){if(!this.isWebKitFullscreen()){var e=this.state.dimensions;null!=e?this.scrollTo(e.scrollTop):this.scrollToBottom()}},handleLoadMore:function(){this.isAtBottom()||(this.scrollTo(this.getScrollerDOMNode().scrollHeight-this.state.dimensions.scrollHeight),this._loadMoreScrollToNewMessages&&this.scrollToNewMessages(!0))},handleMessageUpdate:function(e){var t=this.getScrollerDOMNode();e.offsetTop<t.scrollTop+t.offsetHeight&&(this.isAtBottom()?this.scrollToBottom():this.scrollBy(t.scrollHeight-this.state.dimensions.scrollHeight))},handleMessageEdit:function(e){var t=this.getScrollerDOMNode();e.offsetTop<t.scrollTop&&this.scrollTo(e.offsetTop-50);var n=e.offsetTop+e.offsetHeight-t.scrollTop-t.offsetHeight;n>0&&this.scrollBy(n)},handleResize:function(){this.isAtBottom()&&this.scrollToBottom()},handleScroll:function(){var e=this.state.messages;if(0!==e.length&&!this.isWebKitFullscreen()){var t=this.getScrollerDOMNode();0===t.scrollTop&&t.scrollHeight>t.offsetHeight&&e.hasMoreBefore&&!e.loadingMore&&this.loadMore();var n=this.props.channel;t.scrollHeight<=t.scrollTop+t.offsetHeight+2?e.hasMoreAfter&&!e.loadingMore?this.loadMore(!0):e.hasMoreAfter||J.default.clearChannelDimensions(n.id):J.default.updateChannelDimensions(n.id,t.scrollTop,t.scrollHeight,t.offsetHeight)}},handleScrollToNewMessages:function(){Z.default.jumpToMessage(this.props.channel.id,this.state.ackMessageId,!1,"Mark As Read")},handleAck:function(){K.default.ack(this.props.channel.id)},handleReveal:function(e){Z.default.revealMessage(this.props.channel.id,e)}});t.default=Ae,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(73),u=a(l),f=n(2),c=a(f),d=n(1264),p=a(d),h=n(222),g=a(h),m=n(14),v=a(m),E=n(1542),y=a(E),_=n(359),b=a(_),S=n(24),I=a(S);n(943),n(2165);var T=n(1293),N=a(T),A=n(87),M=a(A),C=n(36),O=n(1),D=n(1507),L=a(D),R=n(1509),x=a(R),w=n(1508),P=a(w),k=n(1277),U=a(k),G=n(1276),j=a(G),F=n(1306),B=a(F),V=n(1311),H=a(V),z=n(1303),W=a(z),Y=n(1314),K=a(Y),Q=n(1343),Z=a(Q),X=n(1265),J=a(X),q=n(1266),$=a(q),ee=n(1308),te=a(ee),ne=n(1292),ae=a(ne),oe=n(1317),re=a(oe),ie=n(1326),se=a(ie),le=n(1501),ue=a(le),fe=n(1279),ce=a(fe),de=n(1342),pe=a(de),he=new y.default({EmailVerificationModal:ue.default,UserAgreements:pe.default,ScreenshareModal:se.default,QuickSwitcher:re.default,InviteModal:ae.default,ChangeLog:p.default,DetectedPlatformAccountsModal:ce.default,ChangeVanityURLModal:$.default,ChangeNicknameModal:J.default,UserProfileModal:Z.default,CreateChannelModal:j.default,CreateGuildModal:U.default,PruneGuildModal:K.default,PaymentModal:te.default,PrivacySettingsModal:H.default,NotificationSettingsModal:B.default,NewUserModal:W.default,PTTPermission:L.default,VADPermission:x.default,Suppressed:P.default,KeyboardShortcuts:N.default}),ge=s.default.createClass({displayName:"Modal",mixins:[M.default],getSubscriptions:function(){var e,t=this;return e={},e[O.ComponentActions.MODAL_CLOSE]=function(){return t.props.onClose()},e},getInitialState:function(){return{animate:new I.default.Value(1)}},componentDidMount:function(){C.ComponentDispatch.dispatch(O.ComponentActions.TEXTAREA_BLUR)},componentWillEnter:function(e){if(this.props.disableAnimation)return e();this.state.animate.setValue(0),I.default.timing(this.state.animate,{toValue:1,duration:300,easing:I.default.Easing.inOut(I.default.Easing.back())}).start(e)},componentWillLeave:function(e){this.props.disableAnimation&&e(),I.default.timing(this.state.animate,{toValue:0,duration:100,easing:I.default.Easing.quad}).start(e)},render:function(){var e=this.state.animate.interpolate({inputRange:[0,1],outputRange:["0.7","1"]}),t=I.default.accelerate({transform:[{scale:e}],opacity:this.state.animate});return r(I.default.div,{className:"modal",style:t},void 0,r("div",{className:"modal-inner"},void 0,this.props.renderModal()))}}),me=s.default.createClass({displayName:"Modals",mixins:[c.default.StoreListenerMixin.apply(c.default,[g.default].concat(he.getStores()))],getStateFromStores:function(){var e=this,t="modal",n=void 0,a=void 0,r=!0,i=b.default.DARK,l=!1,u=!1;if(g.default.getModal()){a=v.default.pop;var f=g.default.getModal(),c=f.modal,d=f.props;if(d=d||{},Object.keys(c.prototype).length>0){var p=c.modalConfig||{};i=p.backdropStyle||i,l=p.backdropInstant||d.backdropInstant||l,u=p.disableAnimation||d.disableAnimation||u,r=p.hasOwnProperty("closable")?p.closable:r,t=p.key||f.key||t,n=function(){return s.default.createElement(c,o({ref:e.setModalRef.bind(e,t),onClose:a},d))}}else t=f.key||t,n=function(){return c(o({},d,{ref:e.setModalRef.bind(e,t),onClose:a}))}}else{var h=he.getOpenModal();null!=h&&(t=h.key,r=h.closable,i=h.backdropStyle||i,l=h.backdropInstant,u=h.disableAnimation,n=function(){var n=h.props;return n.ref=e.setModalRef.bind(e,t),s.default.createElement(h.component,n)})}return{key:t,renderModal:n,closeCallback:a,closable:r,backdropStyle:i,backdropInstant:l,disableAnimation:u}},componentWillMount:function(){this.modalRefs={}},render:function(){var e=void 0,t=void 0;if(this.state.renderModal){var n=this.state,a=n.key,o=n.renderModal,i=n.disableAnimation,s=n.backdropStyle,l=n.backdropInstant;e=r(b.default,{onClose:this.close,backdropStyle:s,backdropInstant:l},"backdrop"),t=r(ge,{onClose:this.close,disableAnimation:i,renderModal:o},a)}return r(u.default,{component:"div",className:"modal-container"},void 0,e,t)},close:function(){if(this.state.closable)if(null!=this.state.closeCallback)this.state.closeCallback();else{var e=this.modalRefs[this.state.key];e&&e.close&&e.close()}},setModalRef:function(e,t){this.modalRefs[e]=t}});t.default=me,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(2),f=a(u),c=n(526),d=a(c),p=n(13),h=a(p),g=n(18),m=a(g),v=n(1);n(2214);var E=i.default.createClass({displayName:"NativeButtons",mixins:[f.default.StoreListenerMixin(d.default,h.default)],getStateFromStores:function(){return{light:h.default.theme===v.ThemeTypes.DARK,hasNotice:d.default.hasNotice()}},handleClose:function(){m.default.close()},handleMinimize:function(){m.default.minimize()},handleMaximize:function(e){m.default.isOSX()&&!e.altKey?m.default.fullscreen():m.default.maximize()},render:function(){return m.default.isOSX()?o("div",{className:(0,l.default)("osx-buttons",{"osx-buttons-notice":this.state.hasNotice})},void 0,o("button",{className:"osx-close",onClick:this.handleClose}),o("button",{className:"osx-minimize",onClick:this.handleMinimize}),o("button",{className:"osx-maximize",onClick:this.handleMaximize})):m.default.isWindows()?o("div",{className:(0,l.default)("win-buttons",{"win-buttons-light":this.state.light,"win-buttons-notice":this.state.hasNotice})},void 0,o("button",{className:"win-minimize",onClick:this.handleMinimize}),o("button",{className:"win-maximize",onClick:this.handleMaximize}),o("button",{className:"win-close",onClick:this.handleClose})):(m.default.isLinux(),null)}});t.default=E,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(5),f=a(u),c=n(1238),d=a(c),p=n(71),h=a(p),g=n(46),m=a(g),v=n(1591),E=a(v),y=n(72),_=a(y);n(2215);var b=n(3),S=a(b),I=o("div",{className:"poop"}),T=o(m.default,{}),N=i.default.createClass({displayName:"NeedHelpModal",mixins:[l.default.StoreListenerMixin(E.default),_.default],statics:{key:function(){return"need-help-modal"}},getInitialState:function(){return{failed:!1}},getStateFromStores:function(){var e=E.default.featuredArticles;return{loading:0===e.length,contentLoaded:e.length>0,content:e}},componentWillMount:function(){var e=this;this.setTimeout(function(){return e.setState({failed:e.state.loading})},5e3),d.default.loadFeaturedArticles()},componentWillUnmount:function(){this.props.handleClose&&this.props.handleClose()},componentDidUpdate:function(e,t){!t.contentLoaded&&this.state.contentLoaded&&this.refs.query.focus()},handleSubmit:function(e){e.preventDefault();var t=this.refs.query.value,n=h.default.getSearchURL(t);window.open(n,"_blank"),this.props.onClose()},render:function(){var e=null;if(this.state.contentLoaded){e=o("ul",{},void 0,this.state.content.map(function(e){return o("li",{},e.id,o("a",{href:e.htmlUrl,target:"_blank"},void 0,e.title))}))}else e=this.state.failed?o("div",{className:"failed"},void 0,I,S.default.Messages.NEED_HELP_FAILED_LOADING.format()):T;return o("form",{className:(0,f.default)("modal-content","form","need-help-modal",this.props.className),onSubmit:this.handleSubmit},void 0,o("div",{className:"header control-group"},void 0,o("h1",{},void 0,S.default.Messages.NEED_HELP_TITLE_QUESTION),i.default.createElement("input",{id:"help-query",ref:"query",type:"text",placeholder:S.default.Messages.NEED_HELP_SEARCH_PLACEHOLDER})),o("div",{className:(0,f.default)("form-inner",{loading:!this.state.loaded})},void 0,e),o("div",{className:"footer"},void 0,S.default.Messages.NEED_HELP_SUBMIT_REQUEST.format({submitRequestURL:h.default.getSubmitRequestURL()})))}});t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return{getInitialState:function(){return{translateX:new O.default.Value(0)}},componentDidAppear:function(){this.state.translateX.setValue(1)},componentWillEnter:function(e){O.default.spring(this.state.translateX,{toValue:1}).start(e)},componentWillLeave:function(e){O.default.spring(this.state.translateX,{toValue:0}).start(e)},getAnimatedStyle:function(){return O.default.accelerate({transform:[{translateX:this.state.translateX.interpolate({inputRange:[0,1],outputRange:[e?"-100%":"100%","0%"]})}]})}}}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(73),c=a(f),d=n(2),p=a(d),h=n(5),g=a(h),m=n(3),v=a(m),E=n(303),y=a(E),_=n(506),b=a(_),S=n(10),I=a(S),T=n(525),N=a(T),A=n(255),M=a(A),C=n(24),O=a(C);n(2216),n(943);var D=s.default.createClass({displayName:"Step1",mixins:[u.default,p.default.StoreListenerMixin(N.default,I.default),o(!0)],getStateFromStores:function(){return{user:I.default.getCurrentUser()}},render:function(){return r(O.default.li,{className:"step-1",style:this.getAnimatedStyle()},void 0,r("h5",{},void 0,v.default.Messages.NUF_TITLE.format({username:this.state.user.toString()})),r("p",{},void 0,v.default.Messages.NUF_BODY.format()))}}),L=s.default.createClass({displayName:"Step2",mixins:[u.default,o()],componentDidMount:function(){0===this.props.guild.name.length&&this.refs["guild-name"].focus()},handleNameChange:function(e){this.props.onGuildChange({name:e.currentTarget.value})},handleRegionChange:function(e){this.props.onGuildChange({region:e})},handleIconChange:function(e){this.props.onGuildChange({icon:e})},render:function(){var e=this,t=function(t){return null!=e.props.errors[t]},n=function(n){return t(n)?r("span",{className:"error"},void 0,"(",e.props.errors[n],")"):null};return r(O.default.li,{className:"step-2",style:this.getAnimatedStyle()},void 0,r("h5",{},void 0,v.default.Messages.CREATE_SERVER_TITLE),r("p",{},void 0,v.default.Messages.CREATE_SERVER_DESCRIPTION.format()),r("ul",{className:"guild-form"},void 0,r("li",{},void 0,r("div",{className:(0,g.default)({"control-group":!0,error:t("name")})},void 0,r("label",{htmlFor:"guild-name"},void 0,v.default.Messages.FORM_LABEL_SERVER_NAME," ",n("name")),s.default.createElement("input",{id:"guild-name",ref:"guild-name",type:"text",defaultValue:this.props.guild.name,onChange:this.handleNameChange,placeholder:v.default.Messages.FORM_PLACEHOLDER_SERVER_NAME})),r("div",{className:"control-group"},void 0,r("label",{htmlFor:"guild-region"},void 0,v.default.Messages.FORM_LABEL_SERVER_REGION),r(y.default,{id:"guild-region",value:this.props.guild.region,onChange:this.handleRegionChange}))),r("li",{},void 0,r(b.default,{name:this.props.guild.name,icon:this.props.guild.icon,onChange:this.handleIconChange}))))}}),R=r("li",{className:"divider"}),x=s.default.createClass({displayName:"NewUserModal",mixins:[u.default],statics:{modalConfig:{store:N.default,center:!0,closable:!1}},close:function(){M.default.setStep()},render:function(){var e=void 0,t=void 0;switch(this.props.step){case 0:t=r(D,{},this.props.step),e=v.default.Messages.GET_STARTED;break;case 1:default:t=r(L,{guild:this.props.guild,onGuildChange:this.handleGuildChange,errors:this.props.errors},this.props.step),e=v.default.Messages.DONE}return r("form",{className:"modal-content modal-new-user form",onSubmit:this.handleNextStep},void 0,r(c.default,{className:"steps",component:"ul"},void 0,t),r("div",{className:"form-actions"},void 0,r("div",{className:"steps-wrap"},void 0,r("ul",{className:"steps"},void 0,r("li",{className:(0,g.default)({active:0===this.props.step,on:this.props.step>=0})}),R,r("li",{className:(0,g.default)({active:1===this.props.step,on:this.props.step>=1})}))),r("button",{type:"button",className:(0,g.default)({btn:!0,"btn-default":!0,hide:!1}),onClick:this.close},void 0,v.default.Messages.SKIP),r("button",{type:"submit",className:(0,g.default)({btn:!0,"btn-primary":!0}),disabled:this.props.guildSubmitting},void 0,e)))},handleGuildChange:function(e){M.default.updateTemporaryGuild(e)},handleNextStep:function(e){e.preventDefault(),1===this.props.step?M.default.createGuild(this.props.guild.name,this.props.guild.region,this.props.guild.icon):M.default.setStep(this.props.step+1)}});t.default=x,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(3),f=n(73),c=a(f),d=n(785),p=a(d),h=n(101),g=a(h),m=n(17),v=a(m),E=n(1596),y=a(E),_=n(84),b=a(_),S=n(380),I=a(S),T=n(255),N=a(T),A=n(1),M=n(72),C=a(M),O=n(24),D=a(O),L=n(1471);n(2217),n(940);var R=i.default.createClass({displayName:"NewUserOnboarding",mixins:[l.default.StoreListenerMixin(y.default,I.default),p.default,C.default],getInitialState:function(){return{opacity:new D.default.Value(1)}},componentDidMount:function(){v.default.isAuthenticated()&&g.default.startSession(v.default.getToken())},componentWillUpdate:function(e,t){var n=this;this.state.step!==A.NEW_USER_ONBOARDING_STEPS.INITIAL&&t.step!==A.NEW_USER_ONBOARDING_STEPS.INITIAL&&(this.state.step===A.NEW_USER_ONBOARDING_STEPS.DISABLED||t.step===this.state.step||this._animating||(this._animating=!0),t.step!==A.NEW_USER_ONBOARDING_STEPS.DISABLED||this._animatingOut||(this._animatingOut=!0,this.setTimeout(function(){b.default.transitionToInviteChannel(n.props.params.guildId,n.props.params.channelId,parseInt(n.props.params.type))},500)))},render:function(){var e=this.state,t=e.ready,a=e.step,r=e.opacity;if(!t)return null;var i=L.SLIDE_BUTTON_MESSAGES[y.default.getNextStep()]||u.Messages.ONBOARDING_NEXT,s=null;if(L.SLIDES[a]){s=o(L.SLIDES[a],{onAnimationComplete:this.handleAnimationComplete,onNext:this.handleStepNext,onSkip:this.handleSkip,nextStepMessage:i,disableSkip:y.default.getNextStep()===A.NEW_USER_ONBOARDING_STEPS.DISABLED},a)}return o(D.default.div,{className:"app fake theme-dark flex-horizontal flex-spacer",style:{opacity:r}},void 0,o("div",{className:"guilds-wrapper"},void 0,o("img",{src:n(3059),width:52,height:322})),o("div",{className:"flex-vertical channels-wrap"},void 0,o("div",{className:"flex-vertical flex-spacer"},void 0,o("img",{src:n(3058)})),o("img",{src:n(3056)})),o("div",{className:"content flex-vertical flex-spacer"},void 0,o("div",{className:"title-wrap"},void 0,o("img",{className:"header-icons",src:n(3057),width:369,height:26})),o("div",{className:"content-users-wrap flex-horizontal"},void 0,o(c.default,{component:"div",className:"page nuf-page slide-transition-group"},void 0,s))))},handleAnimationComplete:function(){this._animating&&this.state.step!==A.NEW_USER_ONBOARDING_STEPS.DISABLED&&(this._animating=!1)},componentWillLeave:function(e){D.default.timing(this.state.opacity,{toValue:0,duration:300}).start(e)},handleStepNext:function(){this._animating||N.default.advanceStep()},handleSkip:function(){this._animating||N.default.skipOnboarding()},getStateFromStores:function(){return y.default.getState()}});t.default=R,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(6),u=a(l),f=n(2),c=a(f),d=n(7),p=a(d),h=n(526),g=a(h),m=n(11),v=a(m),E=n(10),y=a(E),_=n(19),b=a(_),S=n(1),I=n(14),T=a(I),N=n(716),A=a(N),M=n(493),C=a(M),O=n(57),D=a(O),L=n(59),R=a(L),x=n(297),w=a(x),P=n(356),k=a(P),U=n(353),G=a(U),j=n(71),F=a(j),B=n(138),V=a(B),H=n(1281),z=a(H),W=n(128),Y=a(W),K=n(3),Q=a(K);n(2218);var Z=n(1503),X=a(Z),J=o("i",{className:"icon icon-apple"}),q=o("i",{className:"icon icon-android"}),$=o("i",{className:"icon icon-windows"}),ee=o("i",{className:"icon icon-apple"}),te=o("i",{className:"icon icon-android"}),ne=s.default.createClass({displayName:"Notice",mixins:[c.default.StoreListenerMixin(g.default,y.default),u.default],getStateFromStores:function(){var e=g.default.getNotice();return r({currentUser:y.default.getCurrentUser()},e)},getInitialState:function(){return{requestingNotifications:!1}},handleDownload:function(){T.default.push(V.default,{source:"Top Bar Nag"})},handleClaimAccount:function(){D.default.open(S.UserSettingsSections.ACCOUNT)},handleDismiss:function(){A.default.dismiss()},handleIgnorePlatformAccounts:function(){this.handleDismiss(),G.default.ignore()},handleDismissSilenceWarning:function(){this.handleDismiss(),T.default.push(X.default)},handleDismissVoiceDisconnected:function(){null!=b.default.getVoiceChannelId()&&R.default.clearVoiceChannel(),this.handleDismiss()},handleVoiceReconnect:function(){var e=b.default.getVoiceChannelId();if(null!=e){var t=v.default.getChannel(e);null!=t&&R.default.selectVoiceChannel(t.guild_id,e)}},handleDismissScheduledMaintenance:function(){C.default.ackScheduledMaintenance()},handleDisableStreamerMode:function(){k.default.setEnabled(!1)},handleOpenAuthorizedApps:function(){D.default.open(S.UserSettingsSections.AUTHORIZED_APPS)},handleShowDetectedAccounts:function(){G.default.changeDisplayType(S.DetectedPlatformAccountsDisplayTypes.MODAL)},handleCreateServer:function(){w.default.open(S.CreateGuildModalScreens.CreateGuild,"Notice")},handleLaunchSurvey:function(){window.open("https://www.surveymonkey.com/r/6CCXTPS","_blank"),this.handleDismiss()},handleOpenDownloadMobileApps:function(){this.handleDismiss(),T.default.push(z.default)},render:function(){switch(this.state.type){case S.NoticeTypes.GENERIC:return o("div",{className:"notice"},void 0,o("div",{className:"notice-dismiss",onClick:this.handleDismiss}),this.state.message,o("button",{className:"btn",onClick:this.state.callback},void 0,this.state.buttonText));case S.NoticeTypes.VOICE_DISABLED:return o("div",{className:"notice"},void 0,o("div",{className:"notice-dismiss",onClick:this.handleDismissVoiceDisconnected}),Q.default.Messages.NOTICE_CONNECTION_CONFLICT,o("button",{className:"btn",onClick:this.handleVoiceReconnect},void 0,Q.default.Messages.RECONNECT));case S.NoticeTypes.UNCLAIMED_ACCOUNT:return o("div",{className:"notice"},void 0,Q.default.Messages.NOTICE_UNCLAIMED_ACCOUNT,o("button",{className:"btn",onClick:this.handleClaimAccount},void 0,Q.default.Messages.CLAIM_ACCOUNT));case S.NoticeTypes.DOWNLOAD_NAG:return o("div",{className:"notice"},void 0,o("div",{className:"notice-dismiss",onClick:this.handleDismiss}),Q.default.Messages.NOTICE_NATIVE_APPS,J,q,$,o("button",{className:"btn",onClick:this.handleDownload},void 0,Q.default.Messages.DOWNLOAD));case S.NoticeTypes.SCHEDULED_MAINTENANCE:return o("div",{className:"notice notice-info"},void 0,o("div",{className:"notice-dismiss",onClick:this.handleDismissScheduledMaintenance}),Q.default.Messages.NOTICE_SCHEDULED_MAINTENANCE.format(this.state.metadata),o("a",{className:"btn",href:"//status.discordapp.com/incidents/"+this.state.metadata.id,target:"_blank"},void 0,Q.default.Messages.LEARN_MORE));case S.NoticeTypes.NO_INPUT_DETECTED:return o("div",{className:"notice notice-danger"},void 0,o("div",{className:"notice-dismiss",onClick:this.handleDismissSilenceWarning}),Q.default.Messages.NOTICE_NO_INPUT_DETECTED,o("a",{className:"btn",href:F.default.getArticleURL(214925018),target:"_blank"},void 0,Q.default.Messages.NOTICE_NO_INPUT_DETECTED_HELP_LINK_TEXT));case S.NoticeTypes.STREAMER_MODE:return o("div",{className:"notice notice-streamer-mode"},void 0,o("div",{className:"notice-dismiss",onClick:this.handleDismiss}),Q.default.Messages.NOTICE_STREAMER_MODE_TEXT,o("button",{className:"btn",onClick:this.handleDisableStreamerMode},void 0,Q.default.Messages.DISABLE));case S.NoticeTypes.RPC_CONNECTIONS:return o("div",{className:"notice notice-info"},void 0,o("div",{className:"notice-dismiss",onClick:this.handleDismiss}),Q.default.Messages.NOTICE_RPC_CONNECTIONS_TEXT.format(this.state.metadata),o("button",{className:"btn",onClick:this.handleOpenAuthorizedApps},void 0,Q.default.Messages.AUTHORIZED_APPS));case S.NoticeTypes.DETECTED_PLATFORM_ACCOUNTS:var e=p.default.uniq(this.state.metadata.map(function(e){return Y.default.get(e.type)})),t=e.map(function(e){return e.name}),n=t[0],a=t[1],r=t[2],i=void 0;return i=1===t.length?Q.default.Messages.NOTICE_ONE_PLATFORM_ACCOUNT.format({a:n}):2===t.length?Q.default.Messages.NOTICE_TWO_PLATFORM_ACCOUNTS.format({a:n,b:a}):3===t.length?Q.default.Messages.NOTICE_THREE_PLATFORM_ACCOUNTS.format({a:n,b:a,c:r}):Q.default.Messages.NOTICE_FOUR_OR_MORE_PLATFORM_ACCOUNTS.format({a:n,b:a,c:r}),o("div",{className:"notice notice-brand"},void 0,o("div",{className:"notice-dismiss",onClick:this.handleIgnorePlatformAccounts}),e.map(function(e){return o("img",{className:"platform-icon",src:e.icon.color},e.type)}),i,o("button",{className:"btn",onClick:this.handleShowDetectedAccounts},void 0,Q.default.Messages.SETUP));case S.NoticeTypes.DOWNLOAD_MOBILE_APPS:return o("div",{className:"notice notice-success"},void 0,Q.default.Messages.NOTICE_DOWNLOAD_MOBILE_APPS,ee,te,o("button",{className:"btn",onClick:this.handleOpenDownloadMobileApps},void 0,Q.default.Messages.LEARN_MORE),o("div",{className:"notice-dismiss",onClick:this.handleDismiss}));case S.NoticeTypes.SURVEY:return o("div",{className:"notice notice-info"},void 0,o("div",{className:"notice-dismiss",onClick:this.handleDismiss}),Q.default.Messages.NOTICE_SURVEY_PROMPT,o("button",{className:"btn",onClick:this.handleLaunchSurvey},void 0,Q.default.Messages.NOTICE_SURVEY_BUTTON));case S.NoticeTypes.CORRUPT_INSTALLATION:return o("div",{className:"notice notice-danger"},void 0,Q.default.Messages.NOTICE_CORRUPT_INSTALLATION,o("a",{className:"btn",href:F.default.getArticleURL(115004307527),target:"_blank"},void 0,Q.default.Messages.NOTICE_CORRUPT_INSTALLATION_HELP_LINK_TEXT));default:return null}}});t.default=ne,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(2),f=a(u),c=n(1597),d=a(c),p=n(212),h=a(p),g=n(160),m=a(g),v=n(302),E=a(v),y=n(139),_=a(y),b=n(67),S=a(b),I=n(3),T=a(I),N=n(12),A=a(N),M=n(104),C=a(M),O=n(1),D=n(98),L=a(D),R=n(1271),x=a(R);n(938),n(2219);var w=i.default.createClass({displayName:"NotificationSettingsModal",mixins:[f.default.StoreListenerMixin(C.default,L.default,A.default),l.default],statics:{modalConfig:{store:d.default}},getStateFromStores:function(){return{guild:A.default.getGuild(this.props.guildId),suppressEveryone:C.default.isSuppressEveryoneEnabled(this.props.guildId),mobilePush:C.default.isMobilePushEnabled(this.props.guildId),muted:C.default.isMuted(this.props.guildId),messageNotifications:C.default.getMessageNotifications(this.props.guildId),channelOverrides:C.default.getChannelOverrides(this.props.guildId),channels:L.default.getChannels(this.props.guildId)}},close:function(){h.default.close()},handleCheckboxChange:function(e,t){var n;h.default.updateNotificationSettings(this.props.guildId,(n={},n[e]=t.currentTarget.checked,n))},handleRadioChange:function(e,t){var n;h.default.updateNotificationSettings(this.props.guildId,(n={},n[e]=parseInt(t.currentTarget.value,10),n))},render:function(){var e=this,t=this.state.channels[O.ChannelTypes.GUILD_TEXT].map(function(t){var n=t.channel;return o(x.default,{channel:n,guildMuted:e.state.muted},n.id)}),n=o(S.default,{className:"notification-settings-modal-channel-settings-list"},void 0,t);return o("form",{className:"form deprecated-settings-modal notification-settings-modal"},void 0,o("div",{className:"settings-right"},void 0,o("div",{className:"settings-inner"},void 0,o("div",{className:"flex-vertical flex-spacer"},void 0,o("div",{className:"settings-section control-groups"},void 0,o("div",{className:"control-group mute-server"},void 0,o(m.default,{checked:this.state.muted,onChange:this.handleCheckboxChange.bind(this,"muted")},void 0,o("div",{className:"label"},void 0,T.default.Messages.FORM_LABEL_MUTE_SERVER.format({name:this.state.guild.name}),o("div",{className:"help-text"},void 0,T.default.Messages.FORM_LABEL_MUTE_SERVER_DESCRIPTION))))),o("div",{className:"settings-section control-groups"},void 0,o("div",{className:"control-group"},void 0,o("label",{},void 0,T.default.Messages.FORM_LABEL_SERVER_NOTIFICATION_SETTINGS),o("ul",{className:"radio-group"},void 0,o("li",{},void 0,o(E.default,{name:"message_notifications",checked:this.state.messageNotifications==O.UserNotificationSettings.ALL_MESSAGES,value:O.UserNotificationSettings.ALL_MESSAGES,disabled:this.state.muted,onChange:this.handleRadioChange.bind(this,"message_notifications")},void 0,T.default.Messages.FORM_LABEL_ALL_MESSAGES)),o("li",{},void 0,o(E.default,{name:"message_notifications",checked:this.state.messageNotifications==O.UserNotificationSettings.ONLY_MENTIONS,value:O.UserNotificationSettings.ONLY_MENTIONS,disabled:this.state.muted,onChange:this.handleRadioChange.bind(this,"message_notifications")},void 0,o("span",{},void 0,T.default.Messages.FORM_LABEL_ONLY_MENTIONS.format()))),o("li",{},void 0,o(E.default,{name:"message_notifications",checked:this.state.messageNotifications==O.UserNotificationSettings.NO_MESSAGES,value:O.UserNotificationSettings.NO_MESSAGES,disabled:this.state.muted,onChange:this.handleRadioChange.bind(this,"message_notifications")},void 0,T.default.Messages.FORM_LABEL_NOTHING)))),o("div",{className:"control-group"},void 0,o("label",{className:"hidden"},void 0,T.default.Messages.FORM_LABEL_SERVER_NOTIFICATION_SETTINGS),o("ul",{className:"checkbox-group"},void 0,o("li",{},void 0,o(m.default,{checked:this.state.suppressEveryone,onChange:this.handleCheckboxChange.bind(this,"suppress_everyone")},void 0,o("span",{},void 0,T.default.Messages.FORM_LABEL_SUPPRESS_EVERYONE.format()))),o("li",{},void 0,o(m.default,{checked:this.state.mobilePush,disabled:this.state.muted,onChange:this.handleCheckboxChange.bind(this,"mobile_push")},void 0,T.default.Messages.FORM_LABEL_MOBILE_PUSH_NOTIFICATIONS))))),o("div",{className:"notification-settings-modal-channel-settings-header"},void 0,o("label",{className:"title"},void 0,T.default.Messages.FORM_LABEL_CHANNEL_NOTIFCATION_SETTINGS),o("label",{className:"subtitle"},void 0,T.default.Messages.FORM_LABEL_ALL),o("label",{className:"subtitle"},void 0,T.default.Messages.FORM_LABEL_MENTIONS),o("label",{className:"subtitle"},void 0,T.default.Messages.FORM_LABEL_NOTHING)),n)),o("div",{className:"settings-actions"},void 0,o(_.default,{onClick:this.close,isSubmit:!1,className:"btn btn-primary"},void 0,T.default.Messages.DONE))))}});t.default=w,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(5),d=a(c),p=n(139),h=a(p),g="password",m=i.default.createClass({displayName:"PasswordConfirmModal",mixins:[l.default],statics:{key:function(){return"password-confirm-modal"}},getDefaultProps:function(){return{btnClass:""}},getInitialState:function(){return{error:null,isLoading:!1}},render:function(){var e=this.props,t=e.title,n=e.actionText,a=e.children,r=this.state,s=r.error,l=r.isLoading,u=i.default.Children.count(a)?o("div",{className:"change-nickname-warning"},void 0,a):null;return o("form",{className:"modal-content form",tabIndex:"0",onSubmit:this.handleSubmit},void 0,o("div",{className:"form-header"},void 0,o("header",{},void 0,t)),o("div",{className:"form-inner"},void 0,u,o("div",{className:(0,d.default)("control-group",{error:s})},void 0,o("label",{htmlFor:"password-confirm"},void 0,f.default.Messages.FORM_LABEL_PASSWORD,s?o("span",{className:"error"},void 0," (",s,")"):null),i.default.createElement("input",{id:"password-confirm",type:"password",ref:g,autoComplete:"off",autoFocus:!0}))),o("div",{className:"form-actions"},void 0,o("button",{type:"button",className:"btn btn-default",onClick:l?null:this.handleCancel},void 0,f.default.Messages.CANCEL),o(h.default,{className:"btn btn-primary "+this.props.btnClass,disabled:l},void 0,n||f.default.Messages.CONFIRM)))},handleSubmit:function(e){var t=this;e.preventDefault(),this.setState({isLoading:!0}),this.props.handleSubmit(this.refs[g].value).then(function(){return t.props.onClose()},function(e){e.body&&e.body.message&&t.setState({error:e.body.message,isLoading:!1})})},handleCancel:function(){this.props.onClose()}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.length){var t={};return e.forEach(function(e){t[e]=Q[e]}),t}}t.__esModule=!0;var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(6),c=a(f),d=n(2),p=a(d),h=n(1598),g=a(h),m=n(294),v=a(m),E=n(487),y=a(E),_=n(1362),b=a(_),S=n(46),I=a(S),T=n(753),N=a(T),A=n(3),M=a(A),C=n(5),O=a(C),D=n(24),L=a(D),R=n(72),x=a(R);n(2232);var w=n(1),P=n(107),k=a(P),U=n(544),G=n(546),j=a(G),F=n(1674),B=a(F),V={NAME:"premium-payment-modal-animation-v1",URL:"https://cdn.discordapp.com/animations/premium/v1/data.js"},H="FANCY_INPUT_REF",z="BODYMOVIN_REF",W="SHAKE_REF",Y="ANIMATION_REF",K=1,Q=(r={},r[w.FancyInputRefs.CARD_NUMBER]=M.default.Messages.CREDIT_CARD_ERROR_NUMBER,r[w.FancyInputRefs.EXPIRATION]=M.default.Messages.CREDIT_CARD_ERROR_EXPIRATION,r[w.FancyInputRefs.SECURITY_CODE]=M.default.Messages.CREDIT_CARD_ERROR_SECURITY_CODE,r[w.FancyInputRefs.ZIP_CODE]=M.default.Messages.CREDIT_CARD_ERROR_ZIP_CODE,r),Z={Idle:{BEG:0,END:600},Speed:{BEG:601,END:668},SpeedLoop:{BEG:637,END:668},Activation:{BEG:669,END:790}},X=u.default.createClass({displayName:"SuccessAnimation",mixins:[c.default],_animating:!1,getInitialState:function(){return{borderColor:new L.default.Value(0),borderWidth:new L.default.Value(1),backgroundColor:new L.default.Value(0),containerPosition:new L.default.Value(0),activatedPosition:new L.default.Value(0),shinePosition:new L.default.Value(0)}},isAnimating:function(){return this._animating},start:function(){this._animating||(this._animating=!0,this.flyIn())},flyIn:function(){var e=this.state.activatedPosition;L.default.sequence([L.default.spring(e,{toValue:1,friction:10,tension:100})]).start(this.activate)},activate:function(){var e=this.state,t=e.backgroundColor,n=e.shinePosition,a=L.default.timing(n,{toValue:1,duration:450}),o=L.default.sequence([L.default.timing(t,{delay:300,toValue:1,duration:80}),L.default.timing(t,{toValue:0,duration:200})]);L.default.sequence([L.default.delay(1400),L.default.parallel([a,o])]).start()},render:function(){return s(L.default.div,{className:"success-animation",style:this.getContainerStyle()},void 0,s(L.default.img,{className:"premium-activated",src:n(3093),width:224,height:20,style:this.getActivatedStyle()}),s(L.default.img,{className:"shine",src:n(3099),width:73,height:55,style:this.getShineStyle()}))},getActivatedStyle:function(){return{transform:[{translateX:this.state.activatedPosition.interpolate({inputRange:[0,1],outputRange:["-200%","0%"]})}]}},getShineStyle:function(){return{transform:[{translateX:this.state.shinePosition.interpolate({inputRange:[0,1],outputRange:["0px","413px"]})}]}},getContainerStyle:function(){var e=this.state,t=e.borderWidth,n=e.backgroundColor,a=e.containerPosition;return{borderWidth:t.interpolate({inputRange:[0,1],outputRange:["0px","2px"]}),backgroundColor:n.interpolate({inputRange:[0,1],outputRange:["rgba(255,255,255,0.0)","rgba(255,255,255,1.0)"]}),transform:[{translateX:a.interpolate({inputRange:[0,1],outputRange:["0px","10px"]})}]}}}),J=s(I.default,{}),q=s(I.default,{type:"pulsing-ellipsis"}),$=u.default.createClass({displayName:"PaymentModal",mixins:[c.default,p.default.LazyStoreListenerMixin(g.default),x.default],statics:{modalConfig:{closable:!0,store:g.default}},getInitialState:function(){return i({containerPosition:new L.default.Value(0),animationLoaded:B.default.has(V.NAME),readyToSubmit:!1,animationError:!1,stripeLoaded:!1,stripError:!1},this.getStateFromStores())},getStateFromStores:function(){return g.default.getState()},componentDidMount:function(){var e=this;(0,U.ensureStripeIsLoaded)().then(function(){return e.setState({stripeLoaded:!0})},this.onScriptError);var t=B.default.get(V.NAME);t?this.setupAnimation(t):this.setTimeout(function(){B.default.load(V.NAME,V.URL).then(e.handleAnimationDataLoad,e.handleAnimationDataError)},400)},componentDidUpdate:function(e,t){!t.animationLoaded&&this.state.animationLoaded&&this.setupAnimation(B.default.get(V.NAME))},setupAnimation:function(e){if(e){var t=this._animItem=j.default.loadAnimation({container:this.refs[z],renderer:"svg",loop:!1,autoplay:!1,animationData:e});t&&(t.addEventListener("enterFrame",this.onEnterFrame),t.addEventListener("complete",this.close),t.play())}},getFancyInputRef:function(){return this.refs[H]},getSuccessAnimationRef:function(){return this.refs[Y]},handleFormChange:function(e){this.setState({readyToSubmit:e})},handleFormSubmit:function(e){e.preventDefault(),this.getFancyInputRef().isFilledOut()&&this.state.stripeLoaded&&this.state.formState===w.FormStates.OPEN&&this.submitForm()},handleAnimationDataLoad:function(e){if(e)return void this.setState({animationLoaded:!0});this.handleAnimationDataError()},handleAnimationDataError:function(){this.setState({animationError:!0})},componentWillUnmount:function(){this._animItem&&(this._animItem.destroy(),this._animItem=void 0)},onEnterFrame:function(e){var t=this._animItem;if(t){var n=this.state.formState,a=e.currentTime,o=this.getSuccessAnimationRef();if(n===w.FormStates.OPEN&&a>=Z.Idle.END)t.goToAndPlay(0,!0),this.refs[W].stop();else if(n===w.FormStates.SUBMITTING&&a<Z.Speed.BEG)this.refs[W].shake(3e3,K),t.goToAndPlay(Z.Speed.BEG,!0);else if(n===w.FormStates.SUBMITTING&&a>Z.SpeedLoop.END)this.refs[W].shake(3e3,K),t.goToAndPlay(Z.SpeedLoop.BEG,!0);else if(n===w.FormStates.CLOSED&&a>Z.SpeedLoop.END&&o&&!o.isAnimating())o.start(),this.containerBounce(),this.refs[W].shake(1600,K),t.goToAndPlay(Z.SpeedLoop.BEG,!0);else if(a>Z.Activation.END)return this.close()}},containerBounce:function(){var e=this.state.containerPosition;L.default.parallel([L.default.sequence([L.default.delay(160),L.default.spring(e,{toValue:1,friction:5,tension:80})]),L.default.sequence([L.default.delay(220),L.default.spring(e,{toValue:0,friction:5,tension:80})])]).start()},showAlert:function(e){e&&k.default.show({title:M.default.Messages.PREMIUM_ALERT_ERROR_TITLE,body:e})},onScriptError:function(){this.setState({stripeError:!0}),k.default.show({title:M.default.Messages.INVITE_MODAL_ERROR_TITLE,body:M.default.Messages.STRIPE_UNABLE_TO_LOAD,onConfirm:this.close})},submitForm:function(){var e=this,t=this.getFancyInputRef(),n=t.getInfo(),a=n.number,o=n.exp,r=n.cvc,i=n.addressZip,s=this.state,l=s.mode,u=s.plan,f={number:a,cvc:r,exp:o,addressZip:i};y.default.submit(f),l===w.PaymentModelModes.CHANGE?v.default.changeCard(f).catch(function(t){return e.showAlert(t&&t.message)}):v.default.subscribe(f,l,u).catch(function(t){return e.showAlert(t&&t.message)})},renderAnimation:function(){var e=this.state,t=e.animationLoaded,n=e.animationError,a=void 0;return n||t||(a=J),n&&(a=s("div",{className:"premium-title"},void 0,M.default.Messages.PREMIUM)),u.default.createElement("div",{className:(0,O.default)("premium-animation",{error:n}),ref:z},a)},renderSuccessAnimation:function(){return this.state.formState!==w.FormStates.CLOSED?null:u.default.createElement(X,{ref:Y})},render:function(){var e=this.state,t=e.readyToSubmit,n=e.formState,a=e.mode,r=e.cardErrors,i=e.cardInfo,l=e.plan,f=n===w.FormStates.SUBMITTING||n===w.FormStates.CLOSED,c=void 0;c=a===w.PaymentModelModes.CHANGE?M.default.Messages.PAYMENT_MODAL_TITLE_CHANGE:l===w.PremiumPlans.YEARLY?M.default.Messages.PAYMENT_MODAL_TITLE_NEW_YEARLY.format({currencySymbol:w.CurrencySymbols.USD,currencyCode:w.CurrencyCodes.USD,amount:w.PremiumPlanPrices.YEARLY}):M.default.Messages.PAYMENT_MODAL_TITLE_NEW_MONTHLY.format({currencySymbol:w.CurrencySymbols.USD,currencyCode:w.CurrencyCodes.USD,amount:w.PremiumPlanPrices.MONTHLY});var d=o(r),p=void 0;n!==w.FormStates.SUBMITTING&&n!==w.FormStates.CLOSED||(p=q);var h=void 0;h=a===w.PaymentModelModes.CHANGE?M.default.Messages.PAYMENT_MODAL_BUTTON_CHANGE:M.default.Messages.PAYMENT_MODAL_BUTTON_NEW;var g=n===w.FormStates.CLOSED?"success":null;return u.default.createElement(N.default,{className:(0,O.default)("premium-payment-modal",g),ref:W},this.renderAnimation(),s("form",{className:"premium-payment-form",onSubmit:this.handleFormSubmit},void 0,s("h1",{className:"premium-payment-title"},void 0,c),s("div",{className:"premium-payment-subtitle"},void 0,M.default.Messages.PAYMENT_MODAL_SUBTITLE),s(L.default.div,{className:"fancy-input-container",style:this.getContainerStyle()},void 0,u.default.createElement(b.default,{formState:n,disabled:f,ref:H,errors:d,renderSuccess:this.renderSuccessAnimation(),initialCardInfo:i,onChange:this.handleFormChange})),s("button",{type:"submit",className:(0,O.default)("premium-payment-button",{open:n===w.FormStates.OPEN,submitting:n===w.FormStates.SUBMITTING,success:n===w.FormStates.CLOSED}),disabled:f||!t},void 0,h,p)))},getContainerStyle:function(){return{transform:[{translateX:this.state.containerPosition.interpolate({inputRange:[0,1],outputRange:["0px","50px"]})}]}},close:function(){var e=this._animItem;e&&e.pause&&e.pause(),y.default.close()}});t.default=$,e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l,u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=o(f),d=n(2),p=o(d),h=n(489),g=a(h),m=n(1347),v=o(m),E=n(1640),y=o(E),_=n(807),b=o(_),S=n(1618),I=o(S),T=n(13),N=o(T),A=n(90),M=o(A),C=n(1),O=(l={},l[C.PictureInPictureComponents.VIDEO]={component:v.default,store:I.default},l),D=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.handleWindowMove=a.handleWindowMove.bind(a),a}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.windows,n=e.maxX,a=e.maxY,o=e.theme;return u(y.default,{pictureInPictureComponents:O,windows:t,maxX:n,maxY:a,theme:o,onWindowMove:this.handleWindowMove})},t.prototype.handleWindowMove=function(e,t){g.moveTo(e,t)},t}(c.default.PureComponent);t.default=p.default.connectStores([b.default,M.default,N.default],function(){var e=M.default.windowSize();return{windows:b.default.windows,maxX:e.width,maxY:e.height,theme:N.default.theme}})(D),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e){switch(e){case"left":return{x:-1,y:0};case"right":return{x:0,y:0};case"bottom":return{x:-.5,y:0};case"bottom-right":return{x:-1,y:0};case"top-right":return{x:-1,y:-1};case"top":default:return{x:-.5,y:-1}}}t.__esModule=!0;var i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(0),u=a(l),f=n(23),c=a(f),d=n(6),p=a(d),h=n(73),g=a(h),m=n(5),v=a(m),E=n(24),y=a(E),_=n(2),b=a(_),S=n(795),I=a(S),T=n(140),N=a(T),A=n(85),M=a(A),C=n(359),O=a(C);n(606);var D=10,L=14,R=function(){function e(){o(this,e),this.animated=new y.default.ValueXY({x:0,y:0})}return e.prototype.run=function(e,t,n){var a=t.position;this.animated.setValue(r(a)),n()},e.prototype.getStyle=function(){return y.default.accelerate({transform:[{translateX:this.animated.x.interpolate({inputRange:[-1.05,1.05],outputRange:["-105%","105%"]})},{translateY:this.animated.y.interpolate({inputRange:[-1.05,1.05],outputRange:["-105%","105%"]})}]})},e}(),x=function(){function e(){o(this,e),this.animated=new y.default.ValueXY({x:0,y:0})}return e.prototype.computeStyles=function(e){var t=void 0,n=void 0;switch(e){case"left":t={x:-1.05,y:0},n={x:-1,y:0};break;case"right":t={x:.05,y:0},n={x:0,y:0};break;case"bottom":t={x:-.5,y:.05},n={x:-.5,y:0};break;case"bottom-right":t={x:-1,y:.05},n={x:-1,y:0};break;case"top-right":t={x:-1,y:-1.05},n={x:-1,y:-1};break;case"top":default:t={x:-.5,y:-1.05},n={x:-.5,y:-1}}return{startStyle:t,endStyle:n}},e.prototype.run=function(e,t,n){var a=t.position,o=t.x,r=t.offsetX,i=this.computeStyles(a),s=i.startStyle,l=i.endStyle,u=o+r+e.offsetWidth*l.x,f=u+e.offsetWidth;if(u<0){var c=u/e.offsetWidth;l.x+=c,s.x+=c}else if(f>window.innerWidth){var d=(window.innerWidth-f)/e.offsetWidth;l.x+=d,s.x+=d}this.animated.setValue(s),y.default.timing(this.animated,{toValue:l,duration:150,easing:y.default.Easing.inOut(y.default.Easing.cubic)}).start(n)},e.prototype.getStyle=function(){return y.default.accelerate({transform:[{translateX:this.animated.x.interpolate({inputRange:[-1.05,1.05],outputRange:["-105%","105%"]})},{translateY:this.animated.y.interpolate({inputRange:[-1.05,1.05],outputRange:["-105%","105%"]})}]})},e}(),w=function(){function e(){o(this,e),this.animated=new y.default.Value(0)}return e.prototype.run=function(e,t,n){this.animated.setValue(0),y.default.spring(this.animated,{toValue:1,tension:80,friction:8,overshootClamping:!0}).start(n)},e.prototype.interpolate=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.animated.interpolate({inputRange:[0,1],outputRange:t})},e.prototype.getStyle=function(e){var t=e.position,n=e.height,a=e.width,o=e.x,i=e.offsetX,l=e.clickPos,u=r(t),f=void 0;return n>0&&(f={height:this.interpolate(0,n),width:this.interpolate(0,a),left:this.interpolate(o+l,o+i)}),y.default.accelerate(s({},f,{overflow:"hidden",transform:[{translateY:100*u.y+"%"},{translateX:100*u.x+"%"}]}))},e}(),P=u.default.createClass({displayName:"Popout",mixins:[p.default],getDefaultProps:function(){return{animationType:"default",closeOnScroll:!0,preventInvert:!1,shadow:!0,text:""}},getInitialState:function(){var e=void 0;switch(this.props.animationType){case"default":e=new x;break;case"spring":e=new w;break;case"none":default:e=new R}return{width:0,height:0,offsetX:null,offsetY:null,animation:e,position:"",invert:!1}},preventNextClose:!1,componentWillEnterCallback:function(){},componentDidMount:function(){document.addEventListener("click",this.close,!0),document.addEventListener("contextmenu",this.closeContext,!0),this.updateOffsets()},componentWillEnter:function(e){this.componentWillEnterCallback=e},_componentWillEnter:function(){if(this.componentWillEnterCallback){var e=this.componentWillEnterCallback;delete this.componentWillEnterCallback;var t=c.default.findDOMNode(this);if(!(t instanceof HTMLElement))throw new Error("node is not an instance of HTMLElement");this.state.animation.run(t,{position:this.state.position,x:this.props.x,y:this.props.y,width:this.state.width,height:this.state.height,targetWidth:this.props.targetWidth,targetHeight:this.props.targetHeight,offsetX:this.state.offsetX,offsetY:this.state.offsetY},e)}},componentWillLeave:function(e){e()},componentDidUpdate:function(e){var t=e.text,n=e.position,a=e.x,o=e.y,r=e.targetWidth,i=e.targetHeight,s=e.closeOnScroll;this.props.text===t&&this.props.position===n&&this.props.x===a&&this.props.y===o&&this.props.targetWidth===r&&this.props.targetHeight===i&&this.props.closeOnScroll===s||this.updateOffsets()},componentWillUpdate:function(e){e.needsRerender&&M.default.didRerender(this.props.popoutKey)},componentWillUnmount:function(){document.removeEventListener("click",this.close,!0),document.removeEventListener("contextmenu",this.closeContext,!0)},close:function(e){if(this.preventNextClose&&I.default.isOpen())return void(this.preventNextClose=!1);if(null!=e)for(var t=e.target,n=c.default.findDOMNode(this);t instanceof Element;){if(t===n)return;if(null!=t.classList&&t.classList.contains("popout-open"))return;t=t.parentNode}M.default.close(this.props.popoutKey)},closeContext:function(e){if(null!=e)for(var t=e.target;t instanceof HTMLElement;){if(t===c.default.findDOMNode(this))return void(this.preventNextClose=!0);t=t instanceof HTMLElement?t.parentNode:null}if(this.preventNextClose&&I.default.isOpen())return void(this.preventNextClose=!1);M.default.close(this.props.popoutKey)},updateOffsets:function(){var e=this.props.preventInvert,t=this.props.position,n=c.default.findDOMNode(this);if(!(n instanceof HTMLElement))throw new Error("domNode is not instance of HTMLElement");var a=n.offsetWidth,o=n.offsetHeight,r="top"===t||"top-right"===t,i=!1;e||(i=r?this.props.y<.5*window.innerHeight&&this.props.y-n.offsetHeight<0:this.props.y+this.props.targetHeight+L+o>=window.innerHeight,i&&("bottom"===t?t="top":"top-right"===t?t="bottom-right":"top"===t&&(t="bottom")));var s={invert:i,position:t,height:o,width:a,offsetX:0,offsetY:0};switch(t){case"left":s.offsetX=0,s.offsetY=this.props.targetHeight/2;break;case"right":s.offsetX=this.props.targetWidth,s.offsetY=this.props.targetHeight/2;break;case"bottom":s.offsetX=this.props.targetWidth/2,s.offsetY=this.props.targetHeight;break;case"bottom-right":s.offsetX=this.props.targetWidth,s.offsetY=this.props.targetHeight;break;case"top-right":s.offsetX=this.props.targetWidth,s.offsetY=0;break;case"top":default:s.offsetX=this.props.targetWidth/2,s.offsetY=0}!i||"right"!==this.props.position&&"left"!==this.props.position||(this.props.closeOnScroll?s.offsetY-=o-this.props.targetHeight:s.offsetY-=this.props.y+ +o-window.innerHeight+D),this.setState(s,this._componentWillEnter)},render:function e(){var t,n=this.state,a=n.offsetX,o=n.offsetY,r=n.invert,l=n.position,u=n.animation,f=this.props,c=f.zIndexBoost,d=f.closeOnScroll,p=f.x,h=f.y,g=f.popoutKey,m=f.animationType,E=f.clickPos,e=f.render,_=f.containerClass,b={left:null===a?null:p+a,top:null==o?null:h+o,zIndex:null!=c?1e3+c:null},S=s({},b,u.getStyle({position:l,width:this.state.width,height:this.state.height,x:p,y:h,offsetX:a,offsetY:o,clickPos:E}));S.visibility||(S.visibility=null==S.transform?"hidden":"visible");var I=(t={popout:!0,"popout-invert":r&&d},t["popout-"+l]=!0,t["no-arrow"]=!d,t["no-shadow"]=!this.props.shadow||"none"===m,t);return _&&(I[_]=!0),i(y.default.div,{className:(0,v.default)(I),style:S},void 0,e({popoutKey:g,onClose:this.close}))}}),k=u.default.createClass({displayName:"Popouts",mixins:[b.default.LazyStoreListenerMixin(N.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{popouts:N.default.getPopouts()}},render:function(){var e=this.state.popouts.some(function(e){return e.backdrop}),t=e?i(O.default,{backdropStyle:O.default.SUBTLE}):null;return i(g.default,{className:"theme-"+this.props.theme,component:"div"},void 0,t,this.state.popouts.map(function(e){return u.default.createElement(P,s({popoutKey:String(e.key)},e,{key:e.key+"-popout"}))}))}});t.default=k,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(160),f=a(u),c=n(1601),d=a(c),p=n(13),h=a(p),g=n(12),m=a(g),v=n(1685),E=n(490),y=a(E),_=n(108),b=a(_),S=n(3),I=a(S),T=i.default.createClass({displayName:"PrivacySettingsModal",mixins:[l.default.LazyStoreListenerMixin(m.default,h.default)],statics:{modalConfig:{store:d.default}},getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return this.getState(this.props.guildId)},componentWillReceiveProps:function(e){this.setState(this.getState(e.guildId))},getState:function(e){return{guild:m.default.getGuild(e),isGuildRestricted:h.default.isGuildRestricted(e)}},close:function(){y.default.close()},handleRestrictedGuildChange:function(e){var t=new Set((0,v.getSanitizedRestrictedGuilds)());e.currentTarget.checked?t.delete(this.props.guildId):t.add(this.props.guildId),t=Array.from(t),b.default.updateRemoteSettings({restrictedGuilds:t})},render:function(){var e=this.state,t=e.isGuildRestricted,n=e.guild;return o("div",{className:"form"},void 0,o("div",{className:"form-header"},void 0,o("header",{},void 0,I.default.Messages.PRIVACY_SETTINGS,"—",null!=n?n.toString():"??")),o("div",{className:"form-inner"},void 0,o("div",{className:"control-groups"},void 0,o("div",{className:"control-group"},void 0,o("label",{},void 0,I.default.Messages.DIRECT_MESSAGES),o("ul",{className:"checkbox-group"},void 0,o("li",{},void 0,o(f.default,{defaultChecked:!t,onChange:this.handleRestrictedGuildChange},void 0,I.default.Messages.ALLOW_SERVER_DMS)))))),o("div",{className:"form-actions"},void 0,o("button",{type:"button",className:"btn btn-primary",onClick:this.close},void 0,I.default.Messages.DONE)))}});t.default=T,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(6),u=a(l),f=n(3),c=a(f),d=n(2),p=a(d),h=n(61),g=a(h),m=n(64),v=a(m),E=n(67),y=a(E),_=n(216),b=a(_),S=n(41),I=a(S),T=n(95),N=a(T),A=n(10),M=a(A),C=n(97),O=a(C),D=n(43),L=a(D),R=n(311),x=a(R),w=n(52),P=(a(w),n(194)),k=a(P),U=n(1),G=n(192),j=n(1680),F=s.default.createClass({displayName:"PrivateChannelRecipient",mixins:[p.default.LazyStoreListenerMixin(O.default,L.default,x.default),u.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=this.props,t=e.user,n=e.channel,a=void 0,o=void 0;return(L.default.isFriend(t.id)||t===M.default.getCurrentUser())&&(a=O.default.getStatus(t.id),o=O.default.getActivity(t.id)),{typing:null!=x.default.getTypingUsers(n.id)[t.id],status:a,activity:o}},handleContextMenu:function(e){var t=this.props,n=t.user,a=t.channel;v.default.openContextMenu(e,function(e){return s.default.createElement(N.default,r({},e,{type:U.ContextMenuTypes.USER_GROUP_DM,user:n,channelId:a.id}))})},renderUserPopout:function(e){var t=this.props,n=t.user,a=t.channel;return s.default.createElement(b.default,r({},e,{user:n,channelId:a.id}))},render:function(){var e=this.props,t=e.user,n=e.channel,a=this.state,r=a.status,i=a.typing,s=void 0;this.state.activity&&(s=o("div",{className:"member-activity"},void 0,(0,G.renderActivity)(this.state.activity)));var l=k.default.getName(null,n.id,t);return o(I.default,{closeOnScroll:!1,render:this.renderUserPopout,position:I.default.LEFT,offsetX:15},void 0,o("div",{onContextMenu:this.handleContextMenu,className:"member"},void 0,o(g.default,{user:t,status:r,streaming:(0,G.isStreaming)(this.state.activity),typing:i}),o("div",{className:"member-inner"},void 0,o("div",{className:"member-username"},void 0,o("span",{className:"member-username-inner"},void 0,l)),s)))}}),B=s.default.createClass({displayName:"PrivateChannelRecipients",mixins:[p.default.LazyStoreListenerMixin(M.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{recipients:(0,j.getRecipients)(this.props.channel.recipients)}},componentWillReceiveProps:function(e){var t=e.channel;this.setState({recipients:(0,j.getRecipients)(t.recipients)})},render:function(){var e=this.props.channel,t=this.state.recipients;return o("div",{className:"channel-members-wrap"},void 0,o(y.default,{className:"channel-members",fade:!0,theme:"light"},void 0,o("h2",{},void 0,c.default.Messages.MEMBERS,"—",t.length),t.map(function(t){return s.default.createElement(F,r({},t,{channel:e}))})))}});t.default=B,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};return c.default.createClass({displayName:e,mixins:[g.default.StoreListenerMixin.apply(g.default,t),p.default],getInitialState:function(){return{animated:new y.default.Value(1)}},getStateFromStores:function(){return n(this.props.channel)},getDefaultProps:function(){return{selected:!1}},componentWillEnter:function(e){this.state.animated.setValue(0),y.default.timing(this.state.animated,{toValue:1,duration:200}).start(e)},componentWillLeave:function(e){y.default.timing(this.state.animated,{toValue:0,duration:200}).start(e)},handleClose:function(e){null!=e&&(e.preventDefault(),e.stopPropagation()),oe.default.closePrivateChannel(this.props.channel.id,this.props.selected)},handleContextMenu:function(e){var t=this.props,n=t.channel,a=t.selected,o=this.state.user;n.type===ye.ChannelTypes.GROUP_DM?X.default.openContextMenu(e,function(e){return c.default.createElement(Q.default,l({},e,{channelId:n.id,selected:a}))},{noBlurEvent:!0}):X.default.openContextMenu(e,function(e){return c.default.createElement(Y.default,l({},e,{type:ye.ContextMenuTypes.USER_PRIVATE_CHANNELS,user:o,channelId:n.id,selected:a}))})},handleLeaveGroup:function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=this.props.channel.toString(),a=b.default.Messages.LEAVE_GROUP_DM_TITLE.format({name:n}),o=b.default.Messages.LEAVE_GROUP_DM_BODY.format({name:n});this.props.channel.isManaged()&&(a=b.default.Messages.LEAVE_GROUP_DM_MANAGED_TITLE.format({name:n}),o=b.default.Messages.LEAVE_GROUP_DM_MANAGED_BODY.format({name:n}));var r=u("p",{},void 0,o);le.default.push(function(e){return c.default.createElement(k.default,l({header:a,confirmText:b.default.Messages.LEAVE_GROUP_DM,cancelText:b.default.Messages.CANCEL,onConfirm:t.handleClose},e),r)})},handleMouseDown:function(){ie.default.prefetchMessages(ye.ME,this.props.channel.id)},render:function(){var e=this.props.channel,t=this.state,n=t.user,a=t.status,o=t.activity,r=t.typing,i=u("span",{className:"channel-name"},void 0,e.toString());o&&(i=u("div",{className:"channel-name"},void 0,e.toString(),u("div",{className:"channel-activity"},void 0,(0,he.renderActivity)(o))));var s={channel:!0,selected:this.props.selected,private:!0},l={height:this.state.animated.interpolate({inputRange:[0,1],outputRange:[0,42]}),opacity:this.state.animated},f=void 0,d=void 0;return e.type===ye.ChannelTypes.GROUP_DM?(f=u(R.default,{channel:e,size:"small"}),i=u("div",{className:"channel-name"},void 0,e.toString(),u("div",{className:"channel-activity"},void 0,b.default.Messages.MEMBERS_HEADER.format({members:e.recipients.length+1}))),d=this.handleLeaveGroup):(f=u(R.default,{user:n,size:"small",status:a,streaming:(0,he.isStreaming)(o),typing:r}),d=this.handleClose),c.default.createElement(y.default.div,{className:(0,A.default)(s),style:l,key:e.id,ref:e.id,onContextMenu:this.handleContextMenu,onMouseDown:this.handleMouseDown},u(S.Link,{to:ye.Routes.CHANNEL(ye.ME,e.id)},void 0,f,i,u("button",{className:"close",onClick:d})))}})}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(6),p=a(d),h=n(2),g=a(h),m=n(73),v=a(m),E=n(24),y=a(E),_=n(3),b=a(_),S=n(94),I=n(7),T=a(I),N=n(5),A=a(N),M=n(143),C=a(M),O=n(217),D=a(O),L=n(61),R=a(L),x=n(501),w=a(x),P=n(60),k=a(P),U=n(10),G=a(U),j=n(97),F=a(j),B=n(43),V=a(B),H=n(375),z=a(H),W=n(95),Y=a(W),K=n(1389),Q=a(K),Z=n(64),X=a(Z),J=n(1578),q=a(J),$=n(188),ee=a($),te=n(265),ne=a(te),ae=n(79),oe=a(ae),re=n(54),ie=a(re),se=n(14),le=a(se),ue=n(158),fe=a(ue),ce=n(354),de=n(311),pe=a(de),he=n(192),ge=n(219),me=a(ge),ve=n(361),Ee=a(ve);n(2236);var ye=n(1),_e="SCROLLER_DMS",be=104,Se=30,Ie=42,Te=u("div",{className:"no-private-channels"}),Ne=function(){return Te},Ae=u("div",{className:"icon-friends"}),Me=c.default.createClass({displayName:"FriendsButton",mixins:[g.default.StoreListenerMixin(V.default,z.default)],getStateFromStores:function(){return{badge:V.default.getPendingCount()+z.default.getSuggestionCount()}},render:function(){return u("div",{className:(0,A.default)("channel btn-friends",{selected:this.props.selected})},void 0,u(S.Link,{to:ye.Routes.FRIENDS},void 0,Ae,u("div",{className:"channel-name"},void 0,b.default.Messages.FRIENDS),u(w.default,{value:this.state.badge})))}}),Ce=s("DirectMessage",[G.default,F.default,pe.default],function(e){var t=G.default.getUser(e.getRecipientId());return{user:t,status:F.default.getStatus(t.id),activity:F.default.getActivity(t.id),typing:pe.default.isTyping(e.id,e.getRecipientId())}}),Oe=s("GroupDirectMessage"),De=u(Ne,{},"no-private-channels"),Le=c.default.createClass({displayName:"DirectMessages",mixins:[g.default.StoreListenerMixin.apply(g.default,[ee.default,ne.default].concat(q.default.getPrivateChannelsStores())),q.default,p.default],getInitialState:function(){return{initialized:!1}},getStateFromStores:function(){var e=ne.default.getGuildDimensions(ye.ME),t=e.scrollTo,n=e.scrollTop;return l({selectedChannelId:ee.default.getChannelId(ye.ME),scrollTo:t,scrollTop:n},this.getPrivateChannelsState())},getSubscriptions:function(){var e,t=this;return e={},e[ye.ComponentActions.SCROLLTO_CHANNEL]=function(e){var n=e.channel,a=e.guild;a===ye.ME&&t.setState({scrollTo:{guild:a,channel:n}})},e},componentDidMount:function(){this.calculateScrollState({})},componentDidUpdate:function(e,t){this.calculateScrollState(t)},calculateScrollState:function(e){this.state.privateChannelIds.length&&!this.state.initialized?(this.state.scrollTo?(this.scrollToChannel(this.state.scrollTo),fe.default.clearChannelListScrollTo(ye.ME)):this.state.scrollTop||0===this.state.scrollTop?this.refs[_e].scrollTo(this.state.scrollTop):this.state.selectedChannelId&&this.scrollToChannel(this.state.selectedChannelId),this.setState({initialized:!0})):this.state.privateChannelIds.length&&(this.state.scrollTo?(this.scrollToChannel(this.state.scrollTo),fe.default.clearChannelListScrollTo(ye.ME)):this.state.selectedChannelId!==e.selectedChannelId&&this.scrollToChannel(this.state.selectedChannelId))},scrollToChannel:function(e,t){var n=this.state.privateChannelIds.indexOf(e),a=0;void 0!==e&&n===-1||(n!==-1&&(a+=be+Ie*n),this.refs[_e].scrollIntoViewRect(a,a+Ie,t))},render:function(){var e=this,t=this.state.selectedChannelId,n=[u(Me,{selected:null==t},"friends-button"),u("header",{},b.default.Messages.DIRECT_MESSAGES,b.default.Messages.DIRECT_MESSAGES)];this.state.privateChannelIds.forEach(function(a){var o=e.state.channels[a];o.type===ye.ChannelTypes.GROUP_DM?n.push(u(Oe,{selected:t===o.id,channel:o},o.id)):n.push(u(Ce,{selected:t===o.id,channel:o},o.id))});var a={theme:D.default.Themes.GHOST_HAIRLINE,fade:!0,ref:_e,onScroll:T.default.throttle(this.handleScroll,100)},o=C.default;return 2===n.length?(n.push(De),a.style={paddingTop:20}):n.length>Se?(o=D.default,a.elementHeight=Ie,a.batchEndMultiplier=1.3,a.track=!1,a.backgroundColor=ye.Colors.PRIMARY_630,a.paddingTop=20,a.paddingBottom=20):(a.style={paddingTop:20},n=u(v.default,{transitionAppear:!1},void 0,n)),c.default.createElement(o,a,n)},handleScroll:function(){fe.default.updateChannelListScroll(ye.ME,this.refs[_e].getScrollerNode().scrollTop)}}),Re=u(Le,{}),xe=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.handleQueryChange=function(e){(0,ce.show)("DM_SEARCH"),(0,ce.search)("@"+e)},t.prototype.render=function(){return u("div",{className:(0,A.default)("private-channels")},void 0,u(me.default,{tutorialId:"direct-messages",position:me.default.RIGHT,offsetY:-18,offsetX:-52},void 0,u(Ee.default,{onQueryChange:this.handleQueryChange})),Re)},t}(c.default.PureComponent);t.default=xe,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(302),l=a(s),u=n(718),f=a(u),c=n(1603),d=a(c),p=n(3),h=a(p),g=i.default.createClass({displayName:"PruneGuildModal",statics:{modalConfig:{store:d.default}},close:function(){f.default.close()},render:function(){return o("form",{className:"form",onSubmit:this.handlePrune},void 0,o("div",{className:"form-header"},void 0,o("header",{},void 0,h.default.Messages.PRUNE_MEMBERS,"—",this.props.guild.toString())),o("div",{className:"form-inner"},void 0,o("div",{className:"control-group"},void 0,o("label",{},void 0,h.default.Messages.FORM_LABEL_LAST_SEEN),o("ul",{className:"radio-group"},void 0,o("li",{},void 0,o(l.default,{name:"days",checked:1==this.props.days,value:1,onChange:this.handleDaysChange},void 0,h.default.Messages.LAST_SEEN.format({days:1}))),o("li",{},void 0,o(l.default,{name:"days",checked:7==this.props.days,value:7,onChange:this.handleDaysChange},void 0,h.default.Messages.LAST_SEEN.format({days:7}))),o("li",{},void 0,o(l.default,{name:"days",checked:30==this.props.days,value:30,onChange:this.handleDaysChange},void 0,h.default.Messages.LAST_SEEN.format({days:30})))),o("div",{className:"help-text"},void 0,h.default.Messages.FORM_HELP_LAST_SEEN.format({members:this.props.estimate,days:this.props.days})))),o("div",{className:"form-actions"},void 0,o("button",{type:"button",className:"btn btn-default",onClick:this.close},void 0,h.default.Messages.CANCEL),o("button",{type:"submit",className:"btn btn-primary red",disabled:0===this.props.estimate},void 0,h.default.Messages.PRUNE)))},handleDaysChange:function(e){e.currentTarget.checked&&f.default.open(this.props.guild.id,parseInt(e.currentTarget.value,10))},handlePrune:function(e){e.preventDefault(),f.default.prune(this.props.guild.id,this.props.days)}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(0),r=a(o),i=n(696),s=a(i),l="QR_REF",u=r.default.createClass({displayName:"QRCode",getDefaultProps:function(){return{width:128,height:128,colorLight:"#ffffff",colorDark:"#000000",correctLevel:i.CorrectLevel.M}},componentDidMount:function(){new s.default(this.refs[l],this.props)},componentDidUpdate:function(){new s.default(this.refs[l],this.props)},render:function(){return r.default.createElement("div",{ref:l})}});t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.QUICK_REGION_SELECT_KEY=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2),c=a(f),d=n(3),p=a(d),h=n(5),g=a(h),m=n(303),v=n(1369),E=a(v),y=n(310),_=a(y),b=n(491),S=a(b),I=n(15),T=a(I);n(2237);var N={position:"bottom-right"},A=t.QUICK_REGION_SELECT_KEY="quick-region-select",M=function(){return{id:"unknown",name:p.default.Messages.UNKNOWN_REGION,vip:!1}},C=s("i",{className:"check"}),O=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.region,n=e.selected;return s(T.default,{align:T.default.Align.CENTER,className:(0,g.default)({selected:n})},void 0,s(m.RegionFlag,{region:t}),s(m.RegionName,{region:t}),n?C:null)},t}(u.default.PureComponent),D=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleChangeVoiceRegion=a.handleChangeVoiceRegion.bind(a),a.renderOption=a.renderOption.bind(a),a}return i(t,e),t.prototype.componentDidMount=function(){null==this.props.regions&&S.default.fetchRegions(null)},t.prototype.renderOption=function(e,t){return s(O,{region:e.value,selected:t},e.value.id)},t.prototype.render=function(){var e=this.props,t=e.regions,n=e.call;if(null==t)return null;var a=t.find(function(e){return e.id===n.region})||M(),o={label:a.name,value:a},r=t.filter(function(e){return!e.deprecated}).map(function(e){return{label:e.name,value:e,key:e.id}});return s(E.default,{label:p.default.Messages.REGION,options:r,value:o,onChange:this.handleChangeVoiceRegion,renderOption:this.renderOption,popoutProps:N,className:"quick-region-select",popoutId:A,popoutClassName:"region-select-popout"})},t.prototype.handleChangeVoiceRegion=function(e){var t=e.value,n=this.props.call.channelId;S.default.changeCallRegion(n,t.id)},t}(u.default.PureComponent);t.default=c.default.connectStores([_.default],function(){return{regions:_.default.getRegions(null)}})(D)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o,r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(2),f=a(u),c=n(6),d=a(c),p=n(527),h=a(p),g=n(354),m=n(1383),v=a(m),E=n(1385),y=a(E),_=n(1387),b=a(_),S=n(1382),I=a(S),T=n(1386),N=a(T),A=n(1384),M=a(A),C=n(217),O=a(C),D=n(13),L=a(D),R=n(5),x=a(R),w=n(360),P=a(w),k=n(186),U=a(k),G=n(3),j=a(G),F=n(71),B=a(F),V=n(1318),H=a(V),z=n(842),W=n(1);n(2238);var Y=34,K={top:15,bottom:10},Q=(o={},o[W.QuickSwitcherResultTypes.GUILD]=v.default,o[W.QuickSwitcherResultTypes.TEXT_CHANNEL]=y.default,o[W.QuickSwitcherResultTypes.GROUP_DM]=I.default,o[W.QuickSwitcherResultTypes.VOICE_CHANNEL]=b.default,o[W.QuickSwitcherResultTypes.USER]=N.default,o[W.QuickSwitcherResultTypes.HEADER]=M.default,o),Z=function(){return i("div",{className:"quickswitcher-empty-state"},void 0,i("div",{className:"quickswitcher-empty-state-note"},void 0,j.default.Messages.QUICKSWITCHER_EMPTY_TEXT),i("div",{className:"quickswitcher-empty-state-cta"},void 0,i("a",{href:B.default.getArticleURL(115000070311),target:"_blank"},void 0,j.default.Messages.QUICKSWITCHER_EMPTY_CTA)))},X=i(Z,{}),J=l.default.createClass({displayName:"QuickSwitcher",statics:{modalConfig:{disableAnimation:!0,backdropInstant:!0,store:h.default}},mixins:[f.default.LazyStoreListenerMixin(L.default,h.default),d.default],childContextTypes:{selectResult:l.default.PropTypes.func,focusResult:l.default.PropTypes.func},getInitialState:function(){return r({mouseFocusDisabled:!0},this.getStateFromStores())},getStateFromStores:function(){return r({theme:L.default.theme},h.default.getState())},getChildContext:function(){return{selectResult:this.selectResult,focusResult:this.focusResult}},componentWillMount:function(){U.default.disable()},componentDidMount:function(){this.focus()},componentWillUnmount:function(){U.default.enable()},getScroller:function(){return this._scrollerRef},componentDidUpdate:function(){var e=this.state,t=e.selectedIndex,n=e.mouseFocusDisabled,a=this.getScroller();a&&n&&t>=0&&a.scrollIndexIntoView(t,!1,K)},getInput:function(){return this._inputRef},close:function(){(0,g.hide)()},focus:function(){var e=this.getInput();null!=e&&e.focus()},handleInputChange:function(){var e=this.getInput();(0,g.search)(e.value)},handleMouseMove:function(){this.state.mouseFocusDisabled!==!1&&this.setState({mouseFocusDisabled:!1})},focusResult:function(e){this.state.mouseFocusDisabled||(0,g.selectResult)(this.state.results.indexOf(e))},selectResult:function(e){null!=e&&e.type!==W.QuickSwitcherResultTypes.HEADER&&(0,g.switchToResult)(e)},handleKeyDown:function(e){var t=this.state,n=t.mouseFocusDisabled,a=t.results,o=t.query;n===!1&&this.setState({mouseFocusDisabled:!0});var r=e.key.toLowerCase(),i=this.state.selectedIndex;switch(r){case"escape":return e.preventDefault(),e.stopPropagation(),void(o.length>0?(0,g.search)(""):(0,g.hide)());case"k":return void(e.ctrlKey!==!0&&e.metaKey!==!0||(e.preventDefault(),e.stopPropagation(),(0,g.hide)()));case"enter":if(i===-1)return;return e.preventDefault(),void this.selectResult(a[i]);case"arrowup":i=(0,z.findNextSelected)("up",i,a);break;case"arrowdown":i=(0,z.findNextSelected)("down",i,a);break;case"tab":i=e.shiftKey?(0,z.findNextSelected)("up",i,a):(0,z.findNextSelected)("down",i,a);break;case"n":if(!e.ctrlKey)return;i=(0,z.findNextSelected)("down",i,a);break;case"p":if(!e.ctrlKey)return;i=(0,z.findNextSelected)("up",i,a);break;default:return}e.preventDefault(),(0,g.selectResult)(i)},setScrollerRef:function(e){this._scrollerRef=e},setInputRef:function(e){this._inputRef=e},forceFocus:function(){this._inputRef.focus()},renderInput:function(){return l.default.createElement("input",{className:"big-input",ref:this.setInputRef,type:"text",placeholder:j.default.Messages.QUICKSWITCHER_PLACEHOLDER,onChange:this.handleInputChange,onKeyDown:this.handleKeyDown,onBlur:this.forceFocus,value:this.state.query})},renderResults:function(){var e=this.state,t=e.results,n=e.theme,a=e.query;return 0===t.length&&a.length>0?X:0===t.length?null:l.default.createElement(O.default,{ref:this.setScrollerRef,elementHeight:Y,theme:C.Themes.GHOST,backgroundColor:n===W.ThemeTypes.LIGHT?W.Colors.PRIMARY_100:W.Colors.CHANNELS_GREY,paddingTop:K.top,paddingBottom:K.bottom,className:"results-scroller"},t.map(this.renderResult))},renderResult:function(e,t){var n=Q[e.type];if(null==n||null==e.record.id)return null;var a=this.state.selectedIndex;return l.default.createElement(n,{key:e.type+"-"+e.record.id,ref:null==t?null:"result-"+t,score:e.score,result:e,selected:a>=0&&t===a})},renderHelp:function(){var e=this.state,t=e.results,n=e.theme,a=n===W.ThemeTypes.DARK?"dark":"dim",o=function(e,t){return i(P.default,{shortcut:e[0],className:a},t)};return i("div",{className:(0,x.default)("tips",{results:t.length>0})},void 0,i("div",{className:"list-nav"},void 0,j.default.Messages.QUICKSWITCHER_TIP_NAV.format({shortcutHook:o})),i("div",{className:"misc-controls"},void 0,j.default.Messages.QUICKSWITCHER_TIP_SELECT.format({shortcutHook:o})))},renderTutorial:function(){var e=this.state,t=e.seenTutorial,n=e.query,a=e.results;return t?null:i(H.default,{hasQuery:n.length>0&&a.length>0})},render:function(){return i("div",{className:"quickswitcher-container"},void 0,i("div",{className:(0,x.default)("quickswitcher",this.state.theme),onMouseMove:this.handleMouseMove},void 0,this.renderInput(),this.renderResults(),this.renderHelp(),this.renderTutorial()))}});t.default=J,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(5),d=a(c),p=n(3),h=a(p),g=n(36),m=n(1),v=n(24),E=a(v);n(2239);var y=118,_=9,b=250,S={friction:15,tension:100},I=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleResultFocus=a.handleResultFocus.bind(a),a.setRef=a.setRef.bind(a),a.state={shown:!1,translateY:new E.default.Value(0)},a}return i(t,e),t.prototype.componentDidMount=function(){this.setState({shown:!0}),g.ComponentDispatch.subscribe(m.ComponentActions.QUICKSWITCHER_RESULT_FOCUS,this.handleResultFocus)},t.prototype.componentWillUnmount=function(){g.ComponentDispatch.unsubscribe(m.ComponentActions.QUICKSWITCHER_RESULT_FOCUS,this.handleResultFocus)},t.prototype.componentDidUpdate=function(){this.props.hasQuery||this.springTo(0)},t.prototype.setRef=function(e){this.container=e},t.prototype.handleResultFocus=function(e){var t=this,n=e.node;setTimeout(function(){if(t.props.hasQuery&&null!=n){var e=t.container.getBoundingClientRect(),a=e.top,o=n.getBoundingClientRect(),r=o.top,i=Math.abs(a-r);t.springTo(i-y+_)}else t.springTo(0)},1)},t.prototype.springTo=function(e){E.default.spring(this.state.translateY,l({toValue:Math.min(e,b)},S)).start()},t.prototype.renderArrowGroup=function(e){return s("div",{className:(0,d.default)("qs-tutorial-arrow-group",e)},void 0,s(E.default.div,{className:"qs-arrow-container horiz",style:this.getStyle()},void 0,s("img",{src:n(3103),className:"qs-arrow-icon"})),s("div",{className:"qs-arrow-container diag-1"},void 0,s("img",{src:n(3104),className:"qs-arrow-icon"})),s("div",{className:"qs-arrow-container diag-2"},void 0,s("img",{src:n(3105),className:"qs-arrow-icon"})))},t.prototype.renderContent=function(){return s("div",{className:"qs-tutorial-messages"},void 0,s("div",{className:"qs-search-message"},void 0,h.default.Messages.QUICKSWITCHER_TUTORIAL_MESSAGE_SEARCH),s("div",{className:"qs-select-message"},void 0,h.default.Messages.QUICKSWITCHER_TUTORIAL_MESSAGE_SELECT))},t.prototype.render=function(){var e=this.props.hasQuery,t=this.state.shown;return f.default.createElement("div",{ref:this.setRef,className:(0,d.default)("qs-tutorial",{shown:t,"has-query":e})},this.renderContent(),this.renderArrowGroup("left"),this.renderArrowGroup("right"))},t.prototype.getStyle=function(){return{transform:[{translateY:this.state.translateY.interpolate({inputRange:[0,b],outputRange:["0px",b+"px"]})},{translateZ:0}]}},t}(f.default.PureComponent);t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(94),c=n(2),d=a(c),p=n(3),h=a(p),g=n(15),m=a(g),v=n(33),E=a(v),y=n(41),_=a(y),b=n(1320),S=a(b),I=n(62),T=a(I),N=n(76),A=a(N),M=n(27),C=a(M),O=n(734),D=a(O),L=n(11),R=a(L),x=n(19),w=a(x),P=n(12),k=a(P),U=n(59),G=a(U),j=n(158),F=a(j),B=n(1),V=n(2074),H=a(V),z=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.renderPopout=a.renderPopout.bind(a),a.handleDisconnect=a.handleDisconnect.bind(a),a}return i(t,e),t.prototype.renderPopout=function(e){return u.default.createElement(S.default,e)},t.prototype.handleDisconnect=function(){G.default.selectVoiceChannel(null,null)},t.prototype.render=function(){var e=this.props,t=e.guild,n=e.channel,a=e.rtcConnectionQuality,o=e.rtcConnectionState,r=e.rtcConnectionLastPing,i=e.hasVideo,l=e.selectedChannelId;if(null==n)return null;var u=n.toString(!0),c=void 0;return null!=t?(c=B.Routes.CHANNEL(t.id,l),u=u+" / "+t.name):c=B.Routes.CHANNEL(B.ME,n.id),s("div",{className:H.default.container},void 0,s("div",{className:H.default.inner},void 0,s(D.default,{quality:a,state:o,lastPing:r,hasVideo:i}),s(f.Link,{to:c,className:H.default.channel,onClick:function(){return F.default.channelListScrollTo(t?t.id:B.ME,n.id)}},void 0,u)),s(m.default,{grow:0,shrink:0},void 0,s(_.default,{closeOnScroll:!1,tooltip:h.default.Messages.RTC_CONNECTION_INFO,render:this.renderPopout,position:_.default.TOP},void 0,s("div",{className:H.default.buttonInfo})),s(E.default,{text:h.default.Messages.DISCONNECT},void 0,s("div",{className:H.default.buttonDisconnect,onClick:this.handleDisconnect}))))},t}(u.default.PureComponent);t.default=d.default.connectStores([T.default,C.default,k.default,R.default,w.default,A.default],function(){var e=T.default.getGuildId(),t=T.default.getChannelId();return{rtcConnectionQuality:T.default.getQuality(),rtcConnectionState:T.default.getState(),rtcConnectionLastPing:T.default.getLastPing(),hasVideo:null!=t&&A.default.hasVideo(e,t),guild:k.default.getGuild(e),channel:R.default.getChannel(t),selectedChannelId:w.default.getChannelId(e)}})(z),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(2),u=a(l),f=n(3),c=a(f),d=n(480),p=n(62),h=a(p),g=n(27),m=a(g),v=n(71),E=a(v),y=n(14),_=a(y),b=n(1),S=n(1321),I=a(S),T=n(162);n(2244);var N=r(d.SparklinesLine,{}),A=r(d.SparklinesReferenceLine,{type:"mean"}),M=r("hr",{}),C=s.default.createClass({displayName:"RTCConnectionPopout",mixins:[u.default.StoreListenerMixin(h.default)],getStateFromStores:function(){return{connectionState:h.default.getState(),hostname:h.default.getHostname(),pings:[].concat(h.default.getPings()),averagePing:h.default.getAveragePing(),lastPing:h.default.getLastPing()}},openDebugPanel:function(){this.props.onClose(),_.default.push(I.default)},renderVoiceConnected:function(){return r("div",{},void 0,r("div",{className:"sparkline"},void 0,r(d.Sparklines,{data:this.state.pings,width:210,height:30},void 0,N,A)),c.default.Messages.RTC_CONNECTION_STATE_RTC_CONNECTED.format({hostname:this.state.hostname.split(".")[0],badPing:250,averagePing:this.state.averagePing.toFixed(0),lastPing:(this.state.lastPing||0).toFixed(0)}))},render:function(){var e,t=(e={},e[b.RTCConnectionStates.AWAITING_ENDPOINT]=c.default.Messages.RTC_CONNECTION_STATE_AWAITING_ENDPOINT.format({url:"https://status.discordapp.com"}),e[b.RTCConnectionStates.CONNECTING]=c.default.Messages.RTC_CONNECTION_STATE_CONNECTING,e[b.RTCConnectionStates.AUTHENTICATING]=c.default.Messages.RTC_CONNECTION_STATE_AUTHENTICATING,e[b.RTCConnectionStates.CONNECTED]=c.default.Messages.RTC_CONNECTION_STATE_RTC_CONNECTING,e[b.RTCConnectionStates.DISCONNECTED]=c.default.Messages.RTC_CONNECTION_STATE_DISCONNECTED,e[b.RTCConnectionStates.RTC_CONNECTING]=c.default.Messages.RTC_CONNECTION_STATE_RTC_CONNECTING,e[b.RTCConnectionStates.ICE_CHECKING]=c.default.Messages.RTC_CONNECTION_STATE_ICE_CHECKING.format({url:E.default.getArticleURL(208527808)}),e[b.RTCConnectionStates.RTC_CONNECTED]=this.renderVoiceConnected,e[b.RTCConnectionStates.NO_ROUTE]=c.default.Messages.RTC_CONNECTION_STATE_NO_ROUTE.format({url:E.default.getArticleURL(209221787)}),e[b.RTCConnectionStates.RTC_DISCONNECTED]=c.default.Messages.RTC_CONNECTION_STATE_DISCONNECTED,e)[this.state.connectionState];return s.default.createElement("div",o({id:"rtc-connection-popout"},this.props),r("header",{},void 0,c.default.Messages.RTC_CONNECTION),r("section",{},void 0,"function"==typeof t?t():r("p",{},void 0,t),M,r("div",{className:"popout-bottom"},void 0,r("span",{className:"secured"},void 0,c.default.Messages.IP_ADDRESS_SECURED),m.default.supports(T.MediaEngineFeatures.DIAGNOSTICS)&&r("a",{className:"debug-button",onClick:this.openDebugPanel},void 0,c.default.Messages.DEBUG))))}});t.default=C,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.map(function(e,t){return i("div",{className:"control-groups"},t,e.map(function(e,t){return i("div",{className:"control-group"},t,i("label",{},void 0,e.name),i("div",{style:{marginTop:"6px"}},void 0,$(e.value)))}))})}t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(5),f=a(u),c=n(72),d=a(c),p=n(480),h=n(3),g=a(h),m=n(1545),v=n(61),E=a(v),y=n(362),_=a(y),b=n(67),S=a(b),I=n(46),T=a(I),N=n(33),A=a(N),M=n(17),C=a(M),O=n(271),D=a(O),L=n(19),R=a(L),x=n(10),w=a(x),P=n(27),k=a(P),U=n(11),G=a(U),j=n(18),F=a(j),B=n(541),V=a(B);n(938),n(2245);var H=void 0,z=void 0,W=void 0;F.default.embedded&&(H=F.default.requireElectron("dialog",!0),z=F.default.require("fs"));var Y=i(p.SparklinesLine,{}),K=i(p.SparklinesReferenceLine,{type:"mean"}),Q=function(e){return i(p.Sparklines,{data:e.reverse(),width:450,height:75},void 0,Y,K)},Z=l.default.createClass({displayName:"CheckStatus",render:function(){var e=this.props,t=e.status,n=e.text,a=e.data,o=i("div",{className:"diagnostics-checkbox "+t});if(n){var r="unknown"==t?"normal":t;if(a&&void 0!==a.userId){var s=w.default.getUser(a.userId);a.user=s?s.username:"User id: "+a.userId}var l="function"==typeof n.format&&a?n.format(a):n;o=i(A.default,{text:l,type:r,position:"bottom"},void 0,o)}return o}}),X=i(Z,{status:"success"}),J=i(Z,{status:"error"}),q=i(Z,{status:"unknown"}),$=function(e){return e&&e.type&&e.type.displayName?e:e===!1?J:e===!0?X:null===e?q:Array.isArray(e)?Q(e):"string"==typeof e?e:"object"===(void 0===e?"undefined":r(e))?ae(e):e},ee=function(e){return e<1024?e+" bytes":e<1048576?(e/1024).toFixed(2)+" kilobyte(s)":(e/1024/1024).toFixed(2)+" megabyte(s)"},te=function(e){return e<1e3?e+" ms":e<6e4?(e/1e3).toFixed(2)+" second(s)":(e/6e4).toFixed(2)+" minute(s)"},ne=i("br",{}),ae=function(e){return Object.keys(e).map(function(t){return i("div",{className:"control-groups"},t,i("div",{className:"control-group"},void 0,i("label",{},void 0,t),t,i("div",{},void 0,$(e[t])),ne))})},oe=i("h3",{},void 0,"Select a user to the left"),re=i("hr",{}),ie=i("h1",{},void 0,"Jitter"),se=i("hr",{}),le=i("h1",{},void 0,"Packet Waiting Times"),ue=i("hr",{}),fe=i("h1",{},void 0,"Packet Frame Counts"),ce=l.default.createClass({displayName:"DebugUsers",getInitialState:function(){return{selectedUser:null}},selectUser:function(e){this.setState({selectedUser:e})},getSelectedUser:function(){var e=this.props.diagnostics.Native.users,t=this.state.selectedUser;if(!t)return null;for(var n=e,a=Array.isArray(n),o=0,n=a?n:n[Symbol.iterator]();;){var r;if(a){if(o>=n.length)break;r=n[o++]}else{if(o=n.next(),o.done)break;r=o.value}var i=r;if(i.id==t)return i}},shouldComponentUpdate:function(e,t){return this.props.diagnostics!==e.diagnostics||this.state.selectedUser!==t.selectedUser},renderSelectedUserInner:function(){var e=this.getSelectedUser(),t=function(e){return e==-1?q:te(e)};return e?i("div",{},void 0,o([[{name:"User ID",value:e.id},{name:"Source ID",value:e.ssrc}],[{name:"Data Received",value:ee(e.bytesRx)},{name:"Volume",value:(1e3*e.volume|0)/10+"%"}],[{name:"Is Muted",value:e.muted},{name:"Is Speaking",value:e.speaking}],[{name:"Data Received per Second",value:e.bytesPerSecondRx}],[{name:"Last Packet Received",value:te(e.lastPacketMs)+" ago"},{name:"Packet Loss Rate",value:e.packetLossRate+"/s"}]]),re,ie,o([[{name:"Jitter Buffer Size (ms)",value:e.jitter.bufferSizeMs}],[{name:"Buffer Target (ms)",value:e.jitter.bufferTargetMs}]]),se,le,o([[{name:"Max",value:t(e.packetWaitingTimes.max)},{name:"Min",value:t(e.packetWaitingTimes.min)},{name:"Mean",value:t(e.packetWaitingTimes.mean)},{name:"Median",value:t(e.packetWaitingTimes.median)}]]),ue,fe,o([[{name:"Normal",value:e.packets.normal},{name:"Comfort Noise",value:e.packets.cng}],[{name:"Packet Loss",value:e.packets.plc},{name:"Packet Loss Comfort Noise",value:e.packets.plccng}]])):oe},render:function(){var e=this,t=this.props.diagnostics.Native.users,n=this.state.selectedUser,a=void 0;return a=t.length>0?t.map(function(t){var a=w.default.getUser(t.id);return i("li",{className:(0,f.default)({selected:n==t.id}),onClick:e.selectUser.bind(e,t.id)},t.id,a?i(E.default,{user:a}):null," ",a?a.username:"id: "+t.id)}):i("li",{},void 0,g.default.Messages.RTC_DIAGNOSTICS_NO_USER_DATA_FOUND),i("div",{id:"users-section"},void 0,i("div",{className:"user-list"},void 0,i(S.default,{fade:!0},void 0,i("ul",{},void 0,a))),i("div",{className:"selected-user"},void 0,i(S.default,{},void 0,this.renderSelectedUserInner())))}}),de={MediaEngineStore:k.default,SortedVoiceStateStore:D.default,ChannelStore:G.default,SelectedChannelStore:R.default,AuthenticationStore:C.default},pe=i("br",{}),he=l.default.createClass({displayName:"Diagnostics",getInitialState:function(){return{checkerResults:this.runDiagnostics()}},rerunDiagnostics:function(){this.setState({checkerResults:this.runDiagnostics()})},runDiagnostics:function(){return W=(0,m.runDiagnostics)(this.props.diagnostics,de)},renderDiagnosticsResult:function(e,t){var n=(0,m.getDiagnosticInfo)(e),a=n.name,o=n.description;return 0==t.length&&(t=[{type:"unknown",message:g.default.Messages.DIAGNOSTIC_NO_DIAGNOSTICS_RAN}]),i("div",{className:"control-group"},e,i("label",{},void 0,a||e),o&&i("div",{className:"help-text"},void 0,o),i("div",{className:"diagnostic-results"},void 0,t.map(function(e,t){var n=e.message,a=e.type,o=e.data;return a=a||"unknown",i(Z,{status:a,text:n,data:o},t)})),pe)},render:function(){var e=this,t=this.state.checkerResults,n=t.diagnosticsRan,a=t.logs;return i(S.default,{className:"settings-panel diagnostics",fade:!0},void 0,n.map(function(t){return e.renderDiagnosticsResult(t,a[t])}))}}),ge=i("h1",{},void 0,"Input Device"),me=i("hr",{}),ve=i("h1",{},void 0,"Output Device"),Ee={overview:{title:g.default.Messages.RTC_DIAGNOSTICS_SECTION_DIAGNOSTICS,component:he},flags:{title:g.default.Messages.RTC_DIAGNOSTICS_SECTION_FLAGS,render:function(e){var t=e.Native,n=t.flags,a=t.bitRate;return i("div",{},void 0,o([[{name:"Automatic Gain Cancellation",value:m.AutomaticGainControlToHumanReadable[n.agc]}],[{name:"Echo Cancellation",value:m.EchoCancellationToHumanReadable[n.echoCancellation]}],[{name:"Attenuation Enabled",value:n.attenuation},{name:"Attenuation Factor",value:100*(1-n.attenuationFactor)+"%"}],[{name:"Noise Suppression",value:m.NoiseSuppressionToHumanReadable[n.echoCancellation]},{name:"Ducking Enabled",value:n.ducking}],[{name:"Not Deafened",value:!n.localUserDeaf},{name:"Not Muted",value:!n.localUserMute}],[{name:"Input Mode",value:m.InputModeToHumanReadable[n.inputMode]},{name:"Encryption Mode",value:n.encryptionMode}],[{name:"Microphone Volume",value:(1e3*n.micVolume|0)/10+"%"},{name:"Speaker Volume",value:(1e3*n.speakerVolume|0)/10+"%"}],[{name:"VAD Auto Threshold",value:n.vadAutoThreshold?m.VADAggressivenessToHumanReadable[n.vadAutoThreshold]:q},{name:"VAD Threshold",value:n.vadThreshold?n.vadThreshold+"db":q}],[{name:"VAD Leading",value:n.vadLeading?n.vadLeading+"ms":q},{name:"VAD Trailing",value:n.vadLeading?n.vadTrailing+"ms":q}],[{name:"QoS",value:n.qos},{name:"Bitrate",value:((a||64e3)/1e3|0)+"kbps"}]]))}},localUser:{title:g.default.Messages.RTC_DIAGNOSTICS_SECTION_LOCAL_USER,render:function(e){var t=e.Native.localUser;return i("div",{},void 0,o([[{name:"User ID",value:t.id},{name:"Source ID",value:t.ssrc}],[{name:"Is Muted",value:t.muted},{name:"Is Speaking",value:t.speaking}],[{name:"Bytes Transmitted",value:ee(t.bytesTx)},{name:"Is Playing Sound",value:t.playing}],[{name:"Bytes Transmitted Per Second",value:t.bytesPerSecondTx}],[{name:"Volume Decibels Per Second",value:t.volumeDbFS}],[{name:"Ping Graph",value:t.ping}]]))}},devices:{title:g.default.Messages.RTC_DIAGNOSTICS_SECTION_DEVICES,render:function(e){var t=e.Native,n=t.inputDevice,a=t.outputDevice;return i("div",{},void 0,ge,o([[{name:"Device Name",value:n.name}],[{name:"GUID",value:n.guid||"Not Provided"},{name:"Index",value:n.index},{name:"Audio Detected",value:n.audioDetected}]]),me,ve,o([[{name:"Device Name",value:a.name}],[{name:"GUID",value:a.guid||"Not Provided"},{name:"Index",value:a.index},{}]]))}},users:{title:g.default.Messages.RTC_DIAGNOSTICS_SECTION_USERS,component:ce}},ye=Object.keys(Ee),_e=500,be=i("div",{className:"settings-panel"},void 0,i(T.default,{})),Se=i("div",{className:"settings-panel"},void 0,i("h1",{},void 0,"Your client does not yet support diagnostics.")),Ie=l.default.createClass({displayName:"RTCDebugModal",mixins:[d.default],getInitialState:function(){return{sectionKey:"overview",diagnostics:void 0}},shouldComponentUpdate:function(e,t){return this.state.sectionKey!==t.sectionKey||this.props.diagnostics!==t.diagnostics},startCollectingDiagnostics:function(){var e=this;if(!this.collectingDiagnostics){this.collectingDiagnostics=!0;var t=function t(){e.collectTimeout=null,(0,m.collectDiagnostics)(function(n){e.collectingDiagnostics&&(e.collectTimeout=e.setTimeout(t,_e),e.setState({diagnostics:n}))})};this.collectTimeout=this.setTimeout(t,500)}},stopCollectingDiagnostics:function(){this.collectingDiagnostics=!1,this.collectTimeout&&(clearTimeout(this.collectTimeout),this.collectTimeout=null)},componentDidMount:function(){this.startCollectingDiagnostics()},componentWillUnmount:function(){W=null,this.stopCollectingDiagnostics()},handleSaveDiagnostics:function(){var e=this;H&&H.showSaveDialog({title:"discordDiagnostics.json"},function(t){if(t){var n={diagnostics:e.state.diagnostics,lastDiagnosticsResult:W,settings:k.default.getSettings(),inputDevices:k.default.getInputDevices(),outputDevices:k.default.getOutputDevices(),transportOptions:(0,m.getTransportOptions)(),userOptions:(0,m.getUserOptions)()};V.default.dump(function(e){n.debug=e,z.writeFile(t,JSON.stringify(n,null,2))})}})},handleClose:function(){this.stopCollectingDiagnostics(),this.props.onClose()},setSection:function(e){this.setState({sectionKey:e})},render:function(){var e=this.state,t=e.sectionKey,n=e.diagnostics,a=void 0;if(void 0===n)a=be;else if(null===n)a=Se;else{var o=Ee[t];a=o.render?i(S.default,{className:"settings-panel",fade:!0},void 0,o.render(n)):l.default.createElement(o.component,{diagnostics:n})}return i("div",{id:"rtc-debug-modal",className:"form deprecated-settings-modal flex-horizontal"},void 0,i("div",{className:"settings-header"},void 0,i(_.default,{selectedItem:t,onItemSelect:this.setSection},void 0,i(y.TabBarHeader,{},void 0,g.default.Messages.RTC_DEBUG),ye.map(function(e){return i(y.TabBarItem,{},e,Ee[e].title)}))),i("div",{className:"settings-right"},void 0,i("div",{className:"settings-inner"},void 0,a),i("div",{className:"settings-actions"},void 0,n?i("button",{type:"button",className:"btn btn-default",onClick:this.handleSaveDiagnostics},void 0,g.default.Messages.RTC_DIAGNOSTICS_SAVE_DIAGNOSTICS):null,i("button",{type:"button",className:"btn btn-primary",onClick:this.handleClose},void 0,g.default.Messages.CLOSE))))}});t.default=Ie,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(7),l=a(s),u=n(72),f=a(u),c=n(5),d=a(c),p=n(351),h=a(p),g=n(36),m=n(1);n(2240);var v={PRIMARY:function(){return!0},SECONDARY:function(){return!0}},E=o("div",{className:"symbol-background"}),y=function(){return o("div",{className:"symbol"},"symbol",E,o("img",{src:n(3118)}))},_=1e3,b=120,S=140,I=i.default.createClass({displayName:"Explosion",mixins:[f.default],getInitialState:function(){return{animating:!1,renderSecondary:!1,scale:l.default.random(.6,1,!0),offsetX:l.default.random(0,S,!1)-S/2,offsetY:l.default.random(0,S,!1)-S/2}},componentDidMount:function(){var e=this;this.setState({animating:!0}),this.setTimeout(function(){e.setState({renderSecondary:!0})},b),this.setTimeout(this.done,_),v.PRIMARY()},componentDidUpdate:function(e,t){this.state.renderSecondary&&!t.renderSecondary&&v.SECONDARY()},done:function(){this.props.onAnimationComplete(this.props.componentId)},renderPrimary:function(){return o("div",{className:"explosion primary"},"primary-explosion",o("img",{className:"circle-inner",src:n(3114),width:70,height:69}),o("img",{className:"circle-outer",src:n(3115),width:96,height:95}),o("img",{className:"lines-secondary",src:n(3117),width:183,height:104}),o("img",{className:"lines-main",src:n(3116),width:69,height:180}))},renderSecondary:function(e,t){return o("div",{className:"explosion secondary",style:{top:t,left:e}},"secondary-explosion",o("img",{className:"circle-inner",src:n(3111),width:61,height:58},"circle-inner"),o("img",{className:"circle-outer",src:n(3112),width:85,height:85},"circle-outer"),o("img",{className:"lines-secondary",src:n(3113),width:162,height:173},"lines-secondary"),o("img",{className:"lines-main",src:n(3110),width:156,height:306},"lines-main"))},render:function(){var e=this.state,t=e.renderSecondary,n=e.offsetX,a=e.offsetY,r=e.animating,i=e.scale,s=[this.renderPrimary()];return t&&s.push(this.renderSecondary(n,a)),o("div",{className:(0,d.default)("container",{animate:r}),style:{top:this.props.top,left:this.props.left,transform:"scale("+i+")"}},void 0,s)}}),T=8,N=2*b,A=o(y,{},"symbol"),M=i.default.createClass({displayName:"RagingDemon",mixins:[f.default],getInitialState:function(){return{explosions:0}},componentWillMount:function(){this.children=[]},componentDidMount:function(){this.setTimeout(function(){return g.ComponentDispatch.dispatch(m.ComponentActions.SHAKE_APP,{duration:2400})},1800),this.setTimeout(this.createExplosion,1800)},removeExplosion:function(e){var t=this.children,n=t.find(function(t){return t.props.componentId===e}),a=t.indexOf(n);a>=0&&t.splice(a,1),this.forceUpdate()},createExplosion:function(){var e=this.children,t=window.innerWidth/2>>0,n=window.innerHeight/2>>0;if(this.state.explosions<T){var a="expl-"+this.state.explosions;e.push(o(I,{componentId:a,top:l.default.random(n-100,n+100,!1),left:l.default.random(t-200,t+200,!1),onAnimationComplete:this.removeExplosion},a)),this.setTimeout(this.createExplosion,N),this.setState({explosions:this.state.explosions+1})}else this.setTimeout(this.addSymbol,750)},addSymbol:function(){this.children=[A],this.forceUpdate(),this.setTimeout(this.delayedClose,3e3)},delayedClose:function(){h.default.hide()},componentWillUnmount:function(){this.children.length=0},render:function(){return o("div",{className:"raging-demon"},void 0,this.children)}});t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.guildFilter,a=t.roleFilter,o=t.everyoneFilter,r=t.messageId,i=void 0===r?null:r;n=void 0===n?h.default.guildFilter:n,a=void 0===a?h.default.roleFilter:a,o=void 0===o?h.default.everyoneFilter:o;var s=null;e&&(s=n===b.RecentMentionsFilters.ALL_SERVERS?null:e.getGuildId()),m.default.fetchRecentMentions(i,b.MAX_MENTIONS_PER_FETCH,s,a,o)}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(6),f=a(u),c=n(2),d=a(c);n(941);var p=n(1604),h=a(p),g=n(1243),m=a(g),v=n(3),E=a(v),y=n(744),_=a(y),b=n(1),S=n(362),I=a(S),T=n(86),N=a(T),A=n(183),M=a(A),C=n(41),O=a(C),D=n(52),L=(a(D),n(13)),R=a(L);n(2241);var x="Recent Mentions",w="Everyone",P="Roles",k=l.default.createClass({displayName:"FilterPopout",mixins:[d.default.StoreListenerMixin(h.default),f.default],getStateFromStores:function(){return{everyoneFilter:h.default.everyoneFilter,roleFilter:h.default.roleFilter}},toggleRoleFilter:function(){var e=!this.state.roleFilter;m.default.setGuildFilter({roleFilter:e}),o(this.props.channel,{roleFilter:e})},toggleEveryoneFilter:function(){var e=!this.state.everyoneFilter;m.default.setGuildFilter({everyoneFilter:e}),o(this.props.channel,{everyoneFilter:e})},render:function(){return l.default.createElement("div",this.props,i("div",{className:"context-menu theme-"+R.default.theme+" recent-mentions-filter-popout"},void 0,i(N.default,{},void 0,i(M.default,{label:E.default.Messages.RECENT_MENTIONS_FILTER_EVERYONE,action:this.toggleEveryoneFilter,active:this.state.everyoneFilter},w),i(M.default,{label:E.default.Messages.RECENT_MENTIONS_FILTER_ROLES,action:this.toggleRoleFilter,active:this.state.roleFilter},P))))}}),U=l.default.createClass({displayName:"RecentMentions",mixins:[d.default.StoreListenerMixin(h.default),f.default],setGuildFilter:function(e){m.default.setGuildFilter({guildFilter:e}),o(this.props.channel,{guildFilter:e})},getStateFromStores:function(){return{messages:h.default.getMentions(),hasMore:h.default.hasMore,loading:h.default.loading,guildFilter:h.default.guildFilter,roleFilter:h.default.roleFilter,everyoneFilter:h.default.everyoneFilter}},loadMore:function(){var e=this.state.messages,t=e&&e.length>0?e[e.length-1].id:null;o(this.props.channel,{messageId:t})},renderEmptyState:function(e){var t=E.default.Messages.NO_RECENT_MENTIONS,a=n(e===b.ThemeTypes.LIGHT?2961:2960);return i(_.default.EmptyStateBottom,{msg:t,image:a})},getProTip:function(){return E.default.Messages.RECENT_MENTIONS_PRO_TIP},renderDisplayPopout:function(e){return l.default.createElement(k,r({},e,{channel:this.props.channel}))},fetchOnMount:function(e){h.default.hasLoadedEver||o(e)},componentWillUnmount:function(){this.state.messages&&this.state.messages.length>b.MAX_MENTIONS_PER_FETCH&&m.default.truncateMentions(b.MAX_MENTIONS_PER_FETCH)},onCloseMessage:function(e){m.default.deleteRecentMention(e.id)},render:function(){var e=this.state,t=e.messages,n=e.loading,a=e.hasMore;return i(_.default,{className:"recent-mentions-popout",onFetch:this.fetchOnMount,onJump:this.props.onJump,onCloseMessage:this.onCloseMessage,channel:this.props.channel,messages:t,loading:n,hasMore:a,analyticsName:x,loadMore:this.loadMore,showGuildNames:this.state.guildFilter===b.RecentMentionsFilters.ALL_SERVERS,showChannels:!0,getProTip:this.getProTip,canCloseAllMessages:!0,renderMentioned:!1,renderHeader:this.renderHeader,renderEmptyState:this.renderEmptyState})},renderHeader:function(){var e,t=E.default.Messages.RECENT_MENTIONS_FILTER_EXPLAIN_EVERYTHING;this.state.everyoneFilter||this.state.roleFilter?this.state.everyoneFilter?this.state.roleFilter||(t=E.default.Messages.RECENT_MENTIONS_EVERYONE_AND_DIRECT):t=E.default.Messages.RECENT_MENTIONS_ROLES_AND_DIRECT:t=E.default.Messages.RECENT_MENTIONS_DIRECT_ONLY;var n=null,a=this.state.guildFilter;return this.props.channel&&!this.props.channel.isPrivate()?n=i(S.TabBarItem,{},b.RecentMentionsFilters.THIS_SERVER,E.default.Messages.THIS_SERVER):a=b.RecentMentionsFilters.ALL_SERVERS,i(_.default.Header,{title:E.default.Messages.RECENT_MENTIONS},void 0,i("div",{className:"header-tab-bar-wrapper"},void 0,i(I.default,{selectedItem:a,onItemSelect:this.setGuildFilter,type:S.TabBarTypes.TOP},void 0,i(S.TabBarItem,{},b.RecentMentionsFilters.ALL_SERVERS,E.default.Messages.ALL_SERVERS),n),i(O.default,(e={render:this.renderDisplayPopout,position:O.default.BOTTOM_RIGHT,dependsOn:this.props.popoutName,zIndexBoost:100,shadow:!1,offsetY:9},e.offsetY=-25,e),void 0,i("div",{className:"mention-filter"},void 0,i("div",{className:"label"},void 0,E.default.Messages.RECENT_MENTIONS_FILTER_LABEL),i("div",{className:"value"},void 0,t)))))}});t.default=U,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(2),u=a(l),f=n(3),c=a(f),d=n(181),p=n(41),h=a(p),g=n(140),m=a(g),v=n(11),E=a(v),y=n(19),_=a(y),b=n(85),S=a(b),I=n(1323),T=a(I),N=n(1);n(418);var A="RECENT_MENTIONS_POPOUT",M=s.default.createClass({displayName:"RecentMentionsButton",mixins:[u.default.StoreListenerMixin(m.default,_.default)],getStateFromStores:function(){return{open:m.default.isOpen(A)}},componentWillUpdate:function(e,t){t.channelId!==this.state.channelId&&S.default.close(A)},onJump:function(e){e.shiftKey||S.default.close(A)},renderChannelPinsPopout:function(e){return s.default.createElement(T.default,r({},e,{onJump:this.onJump,channel:E.default.getChannel(_.default.getChannelId()),popoutName:A}))},render:function(){return o(h.default,{animationType:"none",uniqueId:A,position:h.default.BOTTOM_RIGHT,render:this.renderChannelPinsPopout,subscribeTo:N.ComponentActions.TOGGLE_MENTIONS,closeOnScroll:!1},void 0,o(d.HeaderToolbarButton,{tooltip:c.default.Messages.RECENT_MENTIONS,iconLight:n(2998),iconDark:n(3031)}))}});t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(5),f=a(u),c=n(2),d=a(c),p=n(215),h=a(p),g=n(139),m=a(g),v=n(101),E=a(v),y=n(17),_=a(y),b=n(3),S=a(b),I=n(1),T="code",N=i.default.createClass({displayName:"ResetPassword",mixins:[l.default,d.default.StoreListenerMixin(_.default)],getIniitialState:function(){return{password:""}},getStateFromStores:function(){return{loginStatus:_.default.getLoginStatus(),mfaTicket:_.default.getMFATicket(),errors:_.default.getErrors()}},handleSubmit:function(e){e.preventDefault();var t=this.refs.password.value;this.setState({password:t}),E.default.resetPassword(this.props.location.query.token,t)},handleTokenSubmit:function(e){e.preventDefault();var t=this.refs[T].value;E.default.resetPasswordMFA(t,this.state.mfaTicket,this.state.password,this.props.location.query.token)},render:function(){var e=this.state,t=e.errors,n=e.loginStatus,a=function(e){return null!=t[e]},r=function(e){return a(e)?o("span",{className:"error"},void 0,"(",t[e],")"):null};return this.state.mfaTicket?o(h.default,{onSubmit:this.handleTokenSubmit},void 0,o("div",{className:(0,f.default)({"control-group":!0,error:a(T)})},void 0,o("label",{htmlFor:"mfa-code"},void 0,S.default.Messages.TWO_FA_ENTER_TOKEN_LABEL," ",r(T)),i.default.createElement("input",{id:"mfa-code",key:T,ref:T,type:"text",autoComplete:"off",spellCheck:"false",maxLength:10,autoFocus:!0,defaultValue:""}),o("p",{className:"token-tip"},void 0,S.default.Messages.TWO_FA_ENTER_TOKEN_BODY)),o(m.default,{className:"btn btn-primary",disabled:n===I.LoginStates.LOGGING_IN_MFA},void 0,S.default.Messages.LOGIN)):o(h.default,{onSubmit:this.handleSubmit},void 0,o("h1",{},void 0,S.default.Messages.RESET_PASSWORD_TITLE),o("div",{className:(0,f.default)({"control-group":!0,error:a("password")})},void 0,o("label",{htmlFor:"forgot-password"},void 0,S.default.Messages.FORM_LABEL_NEW_PASSWORD," ",r("password")),i.default.createElement("input",{id:"forgot-password",ref:"password",type:"password",autoFocus:!0})),o(m.default,{className:"btn btn-primary",disabled:n===I.LoginStates.LOGGING_IN},void 0,S.default.Messages.CHANGE_PASSWORD))}});t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(3),l=a(s),u=n(2),f=a(u),c=n(6),d=a(c),p=n(1605),h=a(p),g=n(13),m=a(g),v=n(495),E=a(v),y=n(82),_=a(y),b=n(59),S=a(b),I=n(209),T=a(I),N=n(1646),A=a(N),M=n(823),C=a(M),O=n(162),D=i.default.createClass({displayName:"ScreenshareModal",statics:{modalConfig:{store:h.default}},mixins:[f.default.LazyStoreListenerMixin(m.default),d.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{theme:m.default.theme}},getItems:function(){return[{name:l.default.Messages.SCREENSHARE_SCREEN,value:O.MediaEngineDesktopSources.SCREEN,layout:C.default.Layout.STACK,options:this.props.screenSources},{name:l.default.Messages.SCREENSHARE_WINDOW,value:O.MediaEngineDesktopSources.WINDOW,layout:C.default.Layout.WRAP,options:this.props.windowSources}]},close:function(){E.default.close()},handleShare:function(e){this.close();var t=this.props,n=t.channel,a=t.startCall;_.default.setDesktopSource(e),a&&(S.default.selectVoiceChannel(null,n.id),n.isManaged()||T.default.ring(n.id))},render:function(){return o("div",{className:"theme-"+this.state.theme},void 0,o(A.default,{items:this.getItems(),value:O.MediaEngineDesktopSources.SCREEN,description:l.default.Messages.SCREENSHARE_DESCRIPTION.format({name:this.props.channel.toString()}),onCancel:this.close,onSelect:this.handleShare}))}});t.default=D,e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=o(u),c=n(5),d=o(c),p=n(2),h=o(p),g=n(3),m=o(g),v=n(519),E=o(v),y=n(19),_=o(y),b=n(224),S=o(b),I=n(140),T=o(I),N=n(11),A=o(N),M=n(532),C=o(M),O=n(41),D=o(O),L=n(361),R=n(1328),x=o(R),w=n(344),P=n(492),k=a(P),U=n(85),G=o(U),j=n(1),F=n(835),B=a(F),V=n(388),H=a(V),z=n(1677),W=a(z),Y=n(36),K=n(122),Q=o(K),Z=n(366),X=o(Z),J=n(367),q=o(J),$=n(7),ee=o($);n(2310),n(2246),n(2178);var te=-12,ne=512,ae=ee.default.throttle(k.search,500),oe=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.state={focused:!1},ee.default.bindAll(a,["search","handleSetSearchQuery","handleFocusSearch","handleClearSearch","focusEditor","blurEditor","setEditorRef","setPopoutRef","setSearchPopoutRef","renderPopout","onDownArrow","onUpArrow","onTab","onEscape","onBlur","onFocus","handleReturn","handleBeforeInput","handleKeyCommand","handlePastedText","handlePastedFiles","handleDroppedFiles","handleDrop","handleKeyBind","setEditorState"]),a}return s(t,e),t.prototype.componentWillMount=function(){H.clearTokenCache()},t.prototype.componentDidMount=function(){Y.ComponentDispatch.subscribe(j.ComponentActions.PERFORM_SEARCH,this.search),Y.ComponentDispatch.subscribe(j.ComponentActions.SET_SEARCH_QUERY,this.handleSetSearchQuery),Y.ComponentDispatch.subscribe(j.ComponentActions.FOCUS_SEARCH,this.handleFocusSearch)},t.prototype.componentWillUpdate=function(e){e.searchId!==this.props.searchId&&H.clearTokenCache()},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.editorState,a=t.searchId;if(this.state.focused&&this.ensurePopoutIsOpen(),n!==e.editorState){var o=H.tokenizeQuery(B.getFirstTextBlock(n)),r=W.getSelectionScope(o,n);k.updateAutocompleteQuery(a,o,r),this._editorRef&&B.scrollCursorIntoView(this._editorRef.refs.editor)}},t.prototype.componentWillUnmount=function(){Y.ComponentDispatch.unsubscribe(j.ComponentActions.PERFORM_SEARCH,this.search),Y.ComponentDispatch.unsubscribe(j.ComponentActions.SET_SEARCH_QUERY,this.handleSetSearchQuery),Y.ComponentDispatch.unsubscribe(j.ComponentActions.FOCUS_SEARCH,this.handleFocusSearch)},t.prototype.handleSetSearchQuery=function(e){var t=e.query,n=e.anchor,a=e.focus,o=e.performSearch,r=e.replace,i=this.props.editorState,s=B.getFirstTextBlock(i);" "!==t.charAt(t.length-1)&&(t+=" "),n&&" "!==s.charAt(n-1)&&" "!==t.charAt(0)&&(t=" "+t),r?(i=B.replaceAllContent(t,i),n=0):i=B.updateContent(t,i,n,a),i=B.truncateContent(i,ne),i=this.tokenize(i);var l=n+t.length;i=B.setCollapsedSelection(l,i),this.setEditorState(i),o&&this.search(B.getFirstTextBlock(i))},t.prototype.renderPopout=function(){return f.default.createElement(x.default,{ref:this.setSearchPopoutRef})},t.prototype.tokenize=function(e){var t=H.tokenizeQuery(B.getFirstTextBlock(e)).filter(function(e){return e.type!==X.default.NON_TOKEN_TYPE});return B.applyTokensAsEntities(t,e,q.default)},t.prototype.search=function(e){var t=this.props,n=t.searchId,a=t.isSearching;if(!e){var o=this.props.editorState;e=B.getFirstTextBlock(o)}if(n&&!a){for(var r=H.tokenizeQuery(e),i=H.getSearchQueryFromTokens(r),s=0;s<r.length;s++)H.filterHasAnswer(r[s],r[s+1])||(e=e.substring(0,r[s].start)+e.substring(r[s].end));if(!r.length||0==Object.keys(i).length)return!1;ae(n,i,e),this.onBlur()}return!0},t.prototype.clearSearch=function(){var e=this.props.searchId;e&&k.clearSearchState(e)},t.prototype.handleClearSearch=function(e){e.preventDefault(),e.stopPropagation(),this.clearSearch()},t.prototype.ensurePopoutIsOpen=function(){this._popoutRef&&!T.default.isOpen(j.SEARCH_POPOUT_ID)&&this._popoutRef.open()},t.prototype.handleFocusSearch=function(e){if(!e.prefillCurrentChannel||!B.isEmpty(this.props.editorState))return void this.focusEditor();var t=_.default.getChannelId(),n=A.default.getChannel(t);if(null==n||n.isPrivate())return void this.focusEditor();this.handleSetSearchQuery({query:q.default[j.SearchTokenTypes.FILTER_IN].key+n.toString(!0)+" ",replace:!0})},t.prototype.focusEditor=function(){this._editorRef&&this._editorRef.focus()},t.prototype.blurEditor=function(){this._editorRef&&this._editorRef.blur()},t.prototype.setEditorRef=function(e){this._editorRef=e},t.prototype.setPopoutRef=function(e){this._popoutRef=e},t.prototype.setSearchPopoutRef=function(e){this._searchPopoutRef=e},t.prototype.onFocus=function(){Q.default.trackWithMetadata("search_opened"),this.setState({focused:!0})},t.prototype.onBlur=function(){var e=this;this.setState({focused:!1},function(){G.default.close(j.SEARCH_POPOUT_ID),B.isEmpty(e.props.editorState)&&e.clearSearch()})},t.prototype.onDownArrow=function(e){return e.preventDefault(),this._searchPopoutRef&&this._searchPopoutRef.focusNextOption(),!0},t.prototype.onUpArrow=function(e){return e.preventDefault(),this._searchPopoutRef&&this._searchPopoutRef.focusPreviousOption(),!0},t.prototype.onTab=function(e){return e.preventDefault(),this._searchPopoutRef&&this._searchPopoutRef.selectOption(),!0},t.prototype.handleReturn=function(e){e.preventDefault();var t=!1;return this._searchPopoutRef&&(t=this._searchPopoutRef.selectOption()),t||this.search(),!0},t.prototype.onEscape=function(e){return e.preventDefault(),e.stopPropagation(),this.blurEditor(),!0},t.prototype.handleBeforeInput=function(e){var t=this.props.editorState,n=this.state.focused;return B.getFirstTextBlock(t).length>=ne||(t=B.updateContent(e,t),t=B.truncateContent(t,ne),t=this.tokenize(t),this.setEditorState(t),n||this.setState({focused:!0}),!0)},t.prototype.handleKeyCommand=function(e){var t=this.props.editorState,n=this.state.focused;switch(e){case"backspace":case"backspace-word":case"backspace-to-start-of-line":case"delete":case"delete-word":return t=B.deleteContent(e,t),t=this.tokenize(t),this.setEditorState(t),n||this.setState({focused:!0}),!0;case"transpose-characters":case"move-selection-to-start-of-block":case"move-selection-to-end-of-block":return t=B.miscCommand(e,t),t=this.tokenize(t),this.setEditorState(t),!0;case"split-block":case"underline":case"bold":case"italic":return!0}},t.prototype.handlePastedText=function(e){var t=this.props.editorState,n=this.state.focused;return e=e.replace(/\n/g,""),t=B.updateContent(e,t),t=B.truncateContent(t,ne),t=this.tokenize(t),n||this.setState({focused:!0}),this.setEditorState(t),!0},t.prototype.handlePastedFiles=function(){return!0},t.prototype.handleDroppedFiles=function(){return!0},t.prototype.handleDrop=function(){return!0},t.prototype.setEditorState=function(e){var t=this.props.searchId;k.setSearchState(t,e)},t.prototype.handleKeyBind=function(e){var t=e.key,n=e.metaKey,a=e.shiftKey,o=this.props.editorState;return e.stopPropagation(),"Home"===t||"ArrowLeft"===t&&n?(e.preventDefault(),o=a?B.setToStartSelection(o):B.setCollapsedStartSelection(o),this.setEditorState(o),!0):"End"===t||"ArrowRight"===t&&n?(e.preventDefault(),o=a?B.setToEndSelection(o):B.setCollapsedEndSelection(o),this.setEditorState(o),!0):B.getDefaultKeyBinding(e)},t.prototype.renderInput=function(){var e=this.props.editorState;return f.default.createElement(w.Editor,{ref:this.setEditorRef,onDownArrow:this.onDownArrow,onUpArrow:this.onUpArrow,onTab:this.onTab,onEscape:this.onEscape,onBlur:this.onBlur,onFocus:this.onFocus,handleReturn:this.handleReturn,handleBeforeInput:this.handleBeforeInput,handleKeyCommand:this.handleKeyCommand,handlePastedText:this.handlePastedText,handlePastedFiles:this.handlePastedFiles,handleDroppedFiles:this.handleDroppedFiles,handleDrop:this.handleDrop,keyBindingFn:this.handleKeyBind,placeholder:m.default.Messages.SEARCH,editorState:e,onChange:this.setEditorState})},t.prototype.render=function(){var e=this.props,t=e.searchId,n=e.editorState,a=e.hasResults,o=e.theme,r=this.state.focused,i=!!B.getFirstTextBlock(n).length;return t?f.default.createElement(D.default,{offsetX:te,ref:this.setPopoutRef,uniqueId:j.SEARCH_POPOUT_ID,render:this.renderPopout,position:"bottom",toggleClose:!1,animationType:"none",preventInvert:!0},l("div",{className:(0,d.default)({"theme-dark":o===j.ThemeTypes.DARK})},void 0,l("div",{className:(0,d.default)("search",{open:i,focused:r}),onClick:this.focusEditor},void 0,l("div",{className:(0,d.default)("search-bar",{"search-bar-light":o===j.ThemeTypes.LIGHT})},t,this.renderInput(),l(L.SearchBarIcon,{handleClear:this.handleClearSearch,hasContent:i||a}))))):null},t}(f.default.PureComponent);t.default=h.default.connectStores([S.default,E.default,C.default],function(){var e=S.default.getCurrentSearchId();return{searchId:e,isSearching:!!e&&S.default.isSearching(e),editorState:e&&S.default.getEditorState(e)||B.createEmptyEditorState(W.generateDecorators(q.default)),hasResults:S.default.hasResults(e),theme:C.default.theme}})(oe),e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e){e.preventDefault(),e.stopPropagation()}function i(e){var t=!0;return e=e.trim(),(0,B.default)(j.default).forOwn(function(n){n.key&&e===n.key&&(t=!1)}),t}t.__esModule=!0,t.GroupData=void 0;var s,l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=o(f),d=n(2),p=o(d),h=n(6),g=o(h),m=n(11),v=o(m),E=n(35),y=o(E),_=n(19),b=o(_),S=n(34),I=o(S),T=n(13),N=o(T),A=n(492),M=n(5),C=o(M),O=n(8),D=o(O),L=n(36),R=n(1606),x=o(R),w=n(1623),P=o(w),k=n(33),U=o(k),G=n(367),j=o(G),F=n(7),B=o(F),V=n(388),H=a(V),z=n(360),W=o(z),Y=n(71),K=o(Y),Q=n(3),Z=o(Q),X=n(366),J=n(1);n(2247);var q=/^\s*$/,$=(0,D.default)("2015-05-15").local(),ee=function(e,t,n){var a=n.user,o=n.text;if(!a)return u("strong",{},void 0,o);var r=I.default.getNick(e,a.id)||a.username;return[u("img",{className:"display-avatar",src:a.avatarURL||a.getAvatarURL(),width:18,height:18},"avatar-"+t+"-"+a.id),u("span",{className:"displayed-nick"},"display-nick-"+t+"-"+a.id,r),u("span",{className:"display-username"},"display-username-"+t+"-"+a.id,o)]},te=function(e){var t=e.searchId,n=e.result,a=e.group,o=e.selected,r=e.className,i=e.onSelect,s=e.onFocus,l=e.showFilter,f=e.renderResult,c=void 0;l&&(c=u("span",{className:"filter"},void 0,j.default[a].key||"addme:"));var d=void 0;return d=f?f(t,a,n):u("strong",{},void 0,n.text),u("div",{className:(0,C.default)("option",r,{selected:o}),onClick:i,onMouseOver:s},void 0,c,d)},ne=function(e){return c.default.createElement(te,l({},e,{className:"user",renderResult:ee}))},ae=t.GroupData=(s={},s[J.SearchTokenTypes.FILTER_FROM]={titleText:Z.default.Messages.SEARCH_GROUP_HEADER_FROM,component:ne},s[J.SearchTokenTypes.FILTER_MENTIONS]={titleText:Z.default.Messages.SEARCH_GROUP_HEADER_MENTIONS,component:ne},s[J.SearchTokenTypes.FILTER_HAS]={titleText:Z.default.Messages.SEARCH_GROUP_HEADER_HAS},s[J.SearchTokenTypes.FILTER_FILE_TYPE]={titleText:Z.default.Messages.SEARCH_GROUP_HEADER_FILE_TYPE},s[J.SearchTokenTypes.FILTER_IN]={titleText:Z.default.Messages.SEARCH_GROUP_HEADER_CHANNELS},s[J.SearchAutocompleteGroups.DATES]={titleText:Z.default.Messages.SEARCH_GROUP_HEADER_DATES},s[J.SearchAutocompleteGroups.HISTORY]={titleText:Z.default.Messages.SEARCH_GROUP_HEADER_HISTORY,groupTip:function(e){var t=e.searchId;return u(U.default,{text:Z.default.Messages.SEARCH_CLEAR_HISTORY,type:"normal",position:"left"},void 0,u("div",{onClick:function(){return(0,A.clearHistory)(t)},className:"search-clear-history"},void 0,Z.default.Messages.SEARCH_CLEAR_HISTORY))},component:c.default.createClass({displayName:"component",mixins:[p.default.LazyStoreListenerMixin(v.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{tokens:H.tokenizeQuery(this.props.result.text).map(function(e,t,n){return H.filterHasAnswer(e,n[t+1])?e:new X.Token(e.getFullMatch(),X.NON_TOKEN_TYPE)})}},render:function(){var e=this.props,t=e.selected,n=e.onSelect,a=e.onFocus,o=this.state.tokens,r=o.map(function(e,t){var n=e.getFullMatch();if(q.test(n))return null;var a=J.IS_SEARCH_FILTER_TOKEN.test(e.type),o=J.IS_SEARCH_ANSWER_TOKEN.test(e.type),r=!a&&!o;return u("span",{className:(0,C.default)({filter:a,answer:o,"non-text":r})},t,n)});return u("div",{className:(0,C.default)("option history",{selected:t}),onClick:n,onMouseOver:a},void 0,r)}})},s[J.SearchAutocompleteGroups.SEARCH_OPTIONS]={titleText:Z.default.Messages.SEARCH_GROUP_HEADER_SEARCH_OPTIONS,groupTip:function(){return u(U.default,{text:Z.default.Messages.LEARN_MORE,type:"normal",position:"left"},void 0,u("div",{className:"search-learn-more"},void 0,u("a",{href:K.default.getArticleURL(115000468588),target:"_blank"},void 0,Z.default.Messages.LEARN_MORE)))},component:function(e){var t=e.result,n=e.selected,a=e.onSelect,o=e.onFocus,r=H.SearchOptionAnswers[t.text];return u("div",{className:(0,C.default)("option search-option",{selected:n}),onClick:a,onMouseOver:o},void 0,u("span",{className:"filter"},void 0,t.text),u("span",{className:"answer"},void 0,r))}},s),oe=u(W.default,{shortcut:"return",className:"dim"}),re=c.default.createClass({displayName:"SearchPopout",mixins:[g.default,p.default.LazyStoreListenerMixin(y.default,b.default,x.default,N.default)],getInitialState:function(){return l({dateHint:(0,G.getRandomDateShortcut)()},this.getStateFromStores())},getStateFromStores:function(){var e=y.default.getGuildId(),t=b.default.getChannelId(),n=e||t;if(null==n)throw new Error("SearchPopout.getStateFromStores - invalid searchId");var a=x.default.getState(n),o=this.state?this.state.selectedIndex:0,r=H.getTotalResults(a.autocompletes);return l({locale:N.default.locale,searchId:n,selectedIndex:o,totalResults:r},a)},componentDidUpdate:function(e,t){var n=this.state,a=n.mode,o=n.totalResults;a.filter&&!t.mode.filter&&o?this.setState({selectedIndex:1}):a.type==J.SearchPopoutModes.FILTER_ALL&&t.mode.type!==a.type?this.setState({selectedIndex:0}):this.keepCurrentOptionSelected(t,this.state)},onDateChange:function(e){this.setSearchQuery(e.format(J.SEARCH_DATE_FORMAT)+" ",!0)},keepCurrentOptionSelected:function(e){var t=this.state,n=t.mode,a=t.selectedIndex,o=t.autocompletes,r=t.totalResults;if(this.state.mode.type!==this.state.mode.type)this.setState({selectedIndex:0});else if(e.selectedIndex>0&&(e.selectedIndex===a||e.autocompletes.length!==o.length)){var i=H.getFlattenedStringArray(e.autocompletes,e.mode.type),s=i[e.selectedIndex-1],l=H.getFlattenedStringArray(o,n.type),u=l.indexOf(s);u!==-1?this.setState({selectedIndex:u+1}):e.selectedIndex>r&&this.setState({selectedIndex:r})}},focusNextOption:function(){var e=this.state,t=e.selectedIndex,n=e.mode;H.showDatePicker(n&&n.filter)||(t+=1,this.focusOption(t))},focusPreviousOption:function(){var e=this.state,t=e.selectedIndex,n=e.mode;H.showDatePicker(n.filter)||(t-=1,this.focusOption(t))},focusOption:function(e){var t=this.shouldShowSearchQuery();e<0||!t&&e<1?e=H.getTotalResults(this.state.autocompletes):e>H.getTotalResults(this.state.autocompletes)&&(e=t?0:1),this.setState({selectedIndex:e})},selectOption:function(e){if(null==e&&(e=this.state.selectedIndex),!e)return!1;var t=this.state,n=t.autocompletes,a=t.mode;if(!H.showDatePicker(a.filter)){var o=H.getFlattenedStringArray(n,a.type);if(e-=1,e>o.length)return!1;var r=o[e],s=i(r);return this.setSearchQuery(r,s),!0}},setSearchQuery:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.state,a=n.mode,o=n.cursorScope,r=0;a.token?r=a.token.start:o&&o.currentToken&&(r=o.currentToken.end);var i=a.token?a.token.end:r;L.ComponentDispatch.dispatch(J.ComponentActions.SET_SEARCH_QUERY,{query:e,anchor:r,focus:i,performSearch:t}),this.setState({selectedIndex:0})},shouldShowSearchQuery:function(){var e=this.state.mode;return e.type!==J.SearchPopoutModes.FILTER&&e.type!==J.SearchPopoutModes.EMPTY&&!H.showDatePicker(e.filter)},renderDatePicker:function(){return u("div",{className:"date-picker"},void 0,u(P.default,{locale:this.state.locale,onChange:this.onDateChange,maxDate:(0,D.default)().local(),minDate:$}),u("div",{className:"date-picker-hint"},void 0,u("span",{className:"hint"},void 0,Z.default.Messages.SEARCH_DATE_PICKER_HINT," "),u("span",{className:"hint-value",onClick:this.handleHintClick},void 0,this.state.dateHint)))},handleHintClick:function(){this.setSearchQuery(this.state.dateHint,!0)},performSearch:function(){L.ComponentDispatch.dispatch(J.ComponentActions.PERFORM_SEARCH)},renderSearchQuery:function(){var e=this.state,t=e.selectedIndex,n=e.tokens,a=H.getNonTokenQuery(n).trim();if(this.shouldShowSearchQuery()){var o=a?Z.default.Messages.SEARCH_FOR_VALUE.format({value:a}):Z.default.Messages.SEARCH_FOR_EMPTY;return u("div",{className:(0,C.default)("option","search-query",{selected:0===t}),onMouseOver:this.focusOption.bind(null,0),onClick:this.performSearch},void 0,u("div",{className:"search-for"},void 0,o),oe)}},renderAutocompletes:function(){var e=this,t=this.state,n=t.autocompletes,a=t.selectedIndex,o=t.mode,r=t.searchId;if(H.showDatePicker(o.filter))return this.renderDatePicker();var i=0;return n.map(function(t){if(!t||!t.results.length)return null;var n=ae[t.group]||{},s=void 0;n.titleText&&(s=u("div",{className:"header"},void 0,n.titleText));var l=n.groupTip||null;l&&(l=u(l,{searchId:r}));var f=n.component||te,c=o.type===J.SearchPopoutModes.FILTER_ALL||!1;return u("div",{className:"results-group"},t.group,s,l,t.results.map(function(n){return n&&t?(i+=1,u(f,{searchId:r,group:n.group||t.group,result:n,showFilter:c,selected:a===i,onSelect:e.selectOption.bind(null,i),onFocus:e.focusOption.bind(null,i)},t.group+"-"+n.text+"-"+(n.key||""))):null}))})},render:function(){return u("div",{className:"theme-light search-popout",onMouseDown:r},void 0,this.renderSearchQuery(),this.renderAutocompletes())}});t.default=re},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=o(s),u=n(6),f=o(u),c=n(5),d=o(c),p=n(11),h=o(p),g=n(42),m=o(g),v=n(41),E=o(v),y=n(67),_=o(y),b=n(46),S=o(b),I=n(33),T=o(I),N=n(299),A=o(N),M=n(3),C=o(M),O=n(2),D=o(O),L=n(54),R=o(L),x=n(492),w=a(x),P=n(107),k=o(P),U=n(84),G=o(U),j=n(224),F=o(j),B=n(19),V=o(B),H=n(13),z=o(H),W=n(43),Y=o(W),K=n(122),Q=o(K),Z=n(71),X=o(Z),J=n(7),q=o(J),$=n(1379),ee=o($),te=n(1);n(2248);var ne="MESSAGE_REF",ae="SCROLLER_REF",oe="HIT_REF",re=function(e){var t=e.searchNext,n=e.searchPrevious,a=e.offset,o=e.totalResults,r=e.pageLength,s=Math.ceil(o/r),l=a/r+1,u=l.toLocaleString(),f=s.toLocaleString();if(1===s)return null;var c=l>1,p=l<s;return i("div",{className:"pagination"},void 0,i("div",{onClick:c&&n,className:(0,d.default)("pagination-previous",{disabled:!c})}),C.default.Messages.PAGINATION_PAGE_OF.format({page:u,totalPages:f}),i("div",{onClick:p&&t,className:(0,d.default)("pagination-next",{disabled:!p})}))},ie=i("div",{className:"spinner-wrapper"},void 0,i(S.default,{type:"spinning-circle"})),se=function(e){var t=e.searchMode,n=e.searchByMode,a=e.totalResults,o=e.isSearching,r=e.isIndexing,s=e.documentsIndexed,l=(0,q.default)(te.SearchModes).values().map(function(e){var a=void 0;switch(e){case te.SearchModes.RECENT:a=C.default.Messages.SEARCH_RECENT;break;case te.SearchModes.RELEVANT:a=C.default.Messages.SEARCH_RELEVANT}return i("div",{className:(0,d.default)("tab",{selected:t===e}),onClick:n.bind(null,e)},e,a)}).value(),u=void 0;if(o)u=C.default.Messages.SEARCHING;else if(r)u=i("a",{href:X.default.getArticleURL(115000414847),target:"_blank"},void 0,C.default.Messages.STILL_INDEXING);else{var f=a.toLocaleString();u=C.default.Messages.TOTAL_RESULTS.format({count:f})}var c=void 0;return(r||o)&&(c=ie),r&&!o&&(u=i(T.default,{text:C.default.Messages.SEARCH_STILL_INDEXING_HINT.format({count:s})},void 0,i("div",{className:"total-results-wrapper"},void 0,u,c)),c=null),i("div",{className:"search-header"},void 0,i("div",{className:"total-results"},void 0,u,c),l)},le=l.default.createClass({displayName:"SearchResultsViewedAutoAnalytics",componentDidMount:function(){this.autoAnalytics()},componentDidUpdate:function(e){this.props.searchAnalyticsId===e.searchAnalyticsId&&this.props.searchOffset===e.searchOffset||this.autoAnalytics(e.searchAnalyticsId)},autoAnalytics:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!=this.props.searchAnalyticsId){var t=0,n=0,a=0,o=0;this.props.searchResults&&(0,q.default)(this.props.searchResults).flatten().filter(function(e){return e.hit}).forEach(function(e){var r=e.message;r.content&&(t++,/https?:\/\/[^\s]+/.test(r.content)&&o++),r.embeds&&r.embeds.length&&a++,r.attachments&&r.attachments.length&&n++}),Q.default.trackWithMetadata("search_result_viewed",{search_id:this.props.searchAnalyticsId,prev_search_id:e!==this.props.searchAnalyticsId?e:null,is_error:this.props.searchHasError,limit:this.props.searchLimit,offset:this.props.searchOffset,page:Math.floor(this.props.searchOffset/this.props.searchLimit)+1,total_results:this.props.searchTotalResults,page_results:this.props.searchResults?this.props.searchResults.length:null,is_indexing:this.props.isIndexing,page_num_messages:t,page_num_links:o,page_num_embeds:a,page_num_attach:n})}},render:function(){return null}}),ue=function(e){return i("div",{className:"empty-results-wrap"},void 0,i("div",{className:"empty-results-content"},void 0,e.children))},fe=l.default.createClass({displayName:"SearchResult",mixins:[f.default],getInitialState:function(){return{expanded:!1}},componentWillUpdate:function(e,t){this.state.expanded!==t.expanded&&(this._height=this.getDOMRect(this.refs[oe]).top)},componentDidUpdate:function(e,t){this.state.expanded!==t.expanded&&this.fixScroll()},getDOMRect:function(e){return e.getClientRects()[0]},fixScroll:function(){var e=this.state.expanded,t=this._height;this._height=this.getDOMRect(this.refs[oe]).top;var n=this.props.scrollTo;n(t-this._height)},renderControlButtons:function(e){return i("div",{className:"action-buttons"},void 0,i("div",{className:"jump-button",onClick:this.props.onJump.bind(null,e)},void 0,C.default.Messages.JUMP))},expand:function(){var e=!this.state.expanded;this.setState({expanded:e}),e&&Q.default.trackWithMetadata("search_result_expanded",{message_id:this.props.result.filter(function(e){return e.hit})[0].message.id,search_id:F.default.getAnalyticsId(this.props.searchId),limit:te.SEARCH_PAGE_SIZE,offset:this.props.searchOffset,page:Math.floor(this.props.seachOffset/te.SEARCH_PAGE_SIZE)+1,page_results:this.props.pageResultsLength,result_index:this.props.index})},render:function(){var e=this,t=this.state.expanded,n=this.props,a=n.result,o=n.developerMode,r=n.renderEmbeds,s=!0,u=a.map(function(t,n){var u=t.message,f=t.hit,c=h.default.getChannel(u.channel_id);s=s&&!f;var p=!s&&!f,g=void 0;return!f&&s&&a[n+1].hit?g=!0:f||s||!a[n-1].hit||(g=!0),l.default.createElement("div",{ref:f?oe:null,className:(0,d.default)("search-result-message",{hit:f,sibling:g,before:s,after:p}),key:u.id},i(A.default,{messages:[u],channel:c,inlineAttachmentMedia:!0,inlineEmbedMedia:!0,renderEmbeds:r,developerMode:o,popoutPosition:E.default.LEFT,avatarSize:"large",groupOption:f?e.renderControlButtons.bind(null,u):null,onClickAnywhere:e.expand,canEdit:!1}))});return l.default.createElement("div",{ref:ne,className:(0,d.default)("search-result",{expanded:t})},u)}}),ce=i("div",{className:"results-blocked-image"}),de=i(ee.default,{}),pe=i("div",{className:"error-image"}),he=l.default.createClass({displayName:"SearchResults",mixins:[f.default,D.default.LazyStoreListenerMixin(F.default,z.default)],getInitialState:function(){return r({searchMode:te.SearchModes.RECENT},this.getStateFromStores())},getStateFromStores:function(){var e=this.props.searchId;return this.getStateForSearchId(e)},componentWillReceiveProps:function(e){var t=this.props.searchId;e.searchId!==t&&this.setState(this.getStateForSearchId(e.searchId))},componentDidUpdate:function(e,t){var n=t.showBlockedResults;if(this.state.showBlockedResults!==n){var a=this.refs[ae];if(!a)return;a.scrollToBottom()}},getStateForSearchId:function(e){return r({searchId:e,theme:z.default.theme,renderEmbeds:z.default.renderEmbeds,developerMode:z.default.developerMode,searchAnalyticsId:F.default.getAnalyticsId(e)},F.default.getResultsState(e))},jumpToMessage:function(e){if(e.blocked)k.default.show({title:C.default.Messages.UNBLOCK_TO_JUMP_TITLE,body:C.default.Messages.UNBLOCK_TO_JUMP_BODY.format({name:e.author.username}),confirmText:C.default.Messages.OKAY});else{var t=h.default.getChannel(e.channel_id),n=t?t.getGuildId():null;R.default.trackJump(e.channel_id,e.id,"Search Results",{search_id:F.default.getAnalyticsId(this.state.searchId)}),m.default.transitionTo(te.Routes.MESSAGE(n,e.channel_id,e.id))}},selectChannel:function(e){e!==V.default.getChannelId()&&G.default.transitionToInviteChannelSync(e)},searchPrevious:function(){var e=this.props.searchId;this.state.isSearching||w.searchPreviousPage(e)},searchNext:function(){var e=this.props.searchId;this.state.isSearching||w.searchNextPage(e)},searchByMode:function(e){var t=this.props.searchId,n=this.state,a=n.searchMode,o=n.isSearching;e==a||o||(Q.default.trackWithMetadata("search_result_sort_changed",{search_id:F.default.getAnalyticsId(this.props.searchId),new_sort_type:e}),w.searchByMode(t,e),this.setState({searchMode:e}))},toggleShowBlockedMessages:function(){var e=this.state,t=e.searchId,n=e.showBlockedResults;w.setShowBlockedResults(t,!n)},renderHeader:function(){var e=this.state,t=e.searchMode,n=e.totalResults,a=e.isSearching,o=e.isHistoricalIndexing,r=e.documentsIndexed;return i(se,{searchMode:t,searchByMode:this.searchByMode,totalResults:n,isSearching:a,isIndexing:o,documentsIndexed:r})},renderResults:function(){var e=this,t=this.state,n=t.results,a=t.offset,o=t.renderEmbeds,r=t.developerMode,s=t.totalResults,l=t.isSearching,u=t.showBlockedResults;if(!n)return null;var f=[],c=void 0,d=n.length;n.forEach(function(t,n){var a=t.find(function(e){return e.hit});if(u||!a||!Y.default.isBlocked(a.message.author.id)){var s=h.default.getChannel(t[0].message.channel_id),l=void 0;!s||c&&c.id==s.id||(l=i("div",{className:"channel-separator"},"channel-separator-"+n,i("span",{className:"channel-name",onClick:e.selectChannel.bind(null,s.id)},void 0,s?s.toString(!0):"???")));var p=i(fe,{scrollTo:e.scrollTo,searchId:e.props.searchId,renderEmbeds:o,developerMode:r,searchOffset:e.state.offset,pageResultsLength:d,result:t,index:n,onJump:e.jumpToMessage},"search-result-"+n);f.push(l,p),c=s}});var p=void 0;return l||(p=i(re,{searchPrevious:this.searchPrevious,searchNext:this.searchNext,offset:a,totalResults:s,pageLength:te.SEARCH_PAGE_SIZE})),i("div",{className:"results-wrapper"},void 0,i("div",{className:"search-results"},void 0,f,this.renderResultsBlocked()),p)},renderResultsBlocked:function(){var e=this.state,t=e.resultsBlocked,n=e.showBlockedResults;if(!t)return null;var a=n?C.default.Messages.SEARCH_HIDE_BLOCKED_MESSAGES.format({count:t}):C.default.Messages.SEARCH_NUM_RESULTS_BLOCKED_NOT_SHOWN.format({count:t});return i("button",{className:"results-blocked",onClick:this.toggleShowBlockedMessages},void 0,ce,i("div",{className:"results-blocked-text"},void 0,a))},renderIndexing:function(){return i(ue,{},void 0,de,i("div",{className:"empty-results-text still-indexing"},void 0,F.default.getSearchType(this.props.searchId)===te.SearchTypes.GUILD?C.default.Messages.SEARCH_GUILD_STILL_INDEXING:C.default.Messages.SEARCH_DM_STILL_INDEXING))},renderNoResults:function(){var e=this.state.showNoResultsAlt,t=e?C.default.Messages.SEARCH_NO_RESULTS_ALT:C.default.Messages.SEARCH_NO_RESULTS;return i(ue,{},void 0,i("div",{className:(0,d.default)("no-results-image",{alt:e})}),i("div",{className:(0,d.default)("empty-results-text no-results",{alt:e})},void 0,t))},renderError:function(){return i(ue,{},void 0,pe,i("div",{className:"empty-results-text error-message"},void 0,C.default.Messages.SEARCH_ERROR))},renderContent:function(){var e=this.state,t=e.totalResults,n=e.isSearching,a=e.isIndexing;return e.hasError?this.renderError():a?this.renderIndexing():n?null:t?this.renderResults():this.renderNoResults()},render:function(){return i("div",{className:"search-results-wrap"},void 0,this.renderHeader(),l.default.createElement(_.default,{ref:ae,theme:this.state.theme},this.renderContent()),i(le,{searchAnalyticsId:this.state.searchAnalyticsId,searchResults:this.state.results,searchOffset:this.state.offset,searchLimit:te.SEARCH_PAGE_SIZE,searchHasError:this.state.hasError,searchTotalResults:this.state.totalResults,searchIsIndexing:this.state.isHistoricalIndexing}))},scrollTo:function(e){var t=this.refs[ae];if(t){var n=t.getScrollData().scrollTop-e;t.scrollTo(n)}}});t.default=he,e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=n(0),i=o(r),s=n(6),l=o(s),u=n(2),f=o(u),c=n(7),d=o(c),p=n(230),h=a(p),g=n(1),m=n(27),v=o(m),E=n(62),y=o(E),_=n(190),b=o(_),S=n(76),I=o(S),T=n(10),N=o(T),A=n(12),M=o(A),C=n(11),O=o(C),D=n(19),L=o(D),R=n(223),x=o(R),w=i.default.createClass({displayName:"SoundPlayer",mixins:[f.default.StoreListenerMixin(v.default,y.default,b.default,I.default,L.default),l.default],getStateFromStores:function(){var e=L.default.getVoiceChannelId(),t=0;if(null!=e){var n=O.default.getChannel(e),a=N.default.getCurrentUser();null!=n&&null!=a&&d.default.forEach(I.default.getVoiceStates(n.getGuildId()),function(n,o){o!==a.id&&n.channelId===e&&t++})}return{selfMute:v.default.isSelfMute(),selfDeaf:v.default.isSelfDeaf(),voiceDisconnected:y.default.isDisconnected(),speaking:b.default.isCurrentUserSpeaking(),tempMuted:v.default.isSelfMutedTemporarily(),voiceChannelId:e,voiceChannelUserCount:t}},componentDidUpdate:function(e,t){if(t.selfDeaf!==this.state.selfDeaf?this.playSound(this.state.selfDeaf?"deafen":"undeafen"):t.selfMute!==this.state.selfMute&&this.playSound(this.state.selfMute?"mute":"unmute"),t.voiceDisconnected||t.voiceDisconnected===this.state.voiceDisconnected||this.playSound("disconnect"),t.speaking!==this.state.speaking&&(v.default.getMode()!==g.InputModes.PUSH_TO_TALK||this.state.selfMute||this.playSound(this.state.speaking?"ptt_start":"ptt_stop")),t.tempMuted!==this.state.tempMuted&&(v.default.getMode()!==g.InputModes.VOICE_ACTIVITY||this.state.selfMute||this.playSound(this.state.tempMuted?"ptt_stop":"ptt_start")),t.voiceChannelId===this.state.voiceChannelId){var n=t.voiceChannelUserCount||0,a=this.state.voiceChannelUserCount||0;n>a?!this.isAFK()&&this.playSound("user_leave"):n<a&&!this.isAFK()&&this.playSound("user_join")}},isAFK:function(){var e=O.default.getChannel(this.state.voiceChannelId);if(null==e)return!1;var t=e.getGuildId();if(null==t)return!1;var n=M.default.getGuild(t);return null!=n&&n.afkChannelId===e.id},playSound:function(e){x.default.isSoundDisabled(e)||h.playSound(e,.4)},render:function(){return null}});t.default=w,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(97),f=a(u),c=n(192),d=n(2),p=a(d);n(1);n(2251);var h=i.default.createClass({displayName:"Status",mixins:[p.default.StoreListenerMixin(f.default),l.default],getStateFromStores:function(){return{status:f.default.getStatus(this.props.userId,null,this.props.defaultStatus),streaming:(0,c.isStreaming)(f.default.getActivity(this.props.userId))}},componentWillReceiveProps:function(e){this.props.userId!==e.userId&&this.setState({status:f.default.getStatus(e.userId),streaming:(0,c.isStreaming)(f.default.getActivity(e.userId))})},render:function(){return o("span",{className:"status status-"+(this.state.streaming?"streaming":this.state.status)})}});t.default=h,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(6),f=a(u),c=n(3),d=a(c),p=n(1),h=n(108),g=a(h),m=n(749),v=a(m),E=function(e){var t=e.status,n=e.text,a=e.children,o=e.onSelect;return i(m.PopoutMenuItem,{onClick:function(){return o(t)}},void 0,i("div",{className:"status-icon-text"},void 0,i("span",{className:"status status-"+t,style:{marginRight:14}}),i("div",{className:"status-text"},void 0,n)),a)},y=i(m.PopoutMenuSeparator,{}),_=l.default.createClass({displayName:"StatusPickerPopout",mixins:[f.default],handleSelect:function(e){g.default.updateRemoteSettings({status:e}),this.props.onClose()},render:function(){var e=o(this.props,[]);return l.default.createElement(v.default,r({className:"status-picker"},e),i(E,{status:p.StatusTypes.ONLINE,onSelect:this.handleSelect,text:d.default.Messages.STATUS_ONLINE}),y,i(E,{status:p.StatusTypes.IDLE,onSelect:this.handleSelect,text:d.default.Messages.STATUS_IDLE}),i(E,{status:p.StatusTypes.DND,onSelect:this.handleSelect,text:d.default.Messages.STATUS_DND},void 0,i("div",{className:"helper"},void 0,d.default.Messages.STATUS_DND_HELP)),i(E,{status:p.StatusTypes.INVISIBLE,onSelect:this.handleSelect,text:d.default.Messages.STATUS_INVISIBLE},void 0,i("div",{className:"helper"},void 0,d.default.Messages.STATUS_INVISIBLE_HELPER)))}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{onClick:function(a){(0,c.openPopout)(a.currentTarget,{closeOnScroll:!1,position:d.default.RIGHT,render:function(a){return l.default.createElement(h.default,i({},a,{user:t,guildId:n,channelId:e}))}})},onContextMenu:function(a){D.default.openContextMenu(a,function(a){return l.default.createElement(R.default,i({},a,{type:x.ContextMenuTypes.USER_GROUP_DM,user:t,channelId:e,guildId:n}))})}}}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=n(0),l=a(s),u=n(2),f=a(u),c=n(41),d=a(c),p=n(216),h=a(p),g=n(17),m=a(g),v=n(164),E=a(v),y=n(11),_=a(y),b=n(10),S=a(b),I=n(76),T=a(I),N=n(844),A=a(N),M=n(59),C=a(M),O=n(64),D=a(O),L=n(95),R=a(L),x=n(1),w=n(194),P=a(w),k=n(3),U=a(k),G=n(36);n(2126);var j=function(e){var t=e.icon,n=e.message,a=e.className,o=e.children;return r("div",{className:"body"},void 0,e.option,r("div",{className:"system-message "+(a?a:"")},void 0,r("div",{className:"system-message-icon",style:{backgroundImage:"url('"+t+"')"}}),r("div",{className:"system-message-content"},void 0,o,r("span",{className:"system-message-timestamp"},void 0,n.timestamp.calendar()))))},F=function(e){return r("span",{className:"system-message-action"},void 0,"—",r("a",{onClick:e.onClick},void 0,e.children))},B=l.default.createClass({displayName:"ChannelPinnedMessage",getStateForMessage:function(e){return{channelId:e.getChannelId()}},getStateFromStores:function(){var e=this.props.message;return this.getStateForMessage(e)},componentWillReceiveProps:function(e){e.message!==this.props.message&&this.setState(this.getStateForMessage(e.message))},handleViewPins:function(){G.ComponentDispatch.dispatch(x.ComponentActions.TOGGLE_CHANNEL_PINS)},render:function(){var e=this.props.message,t=e.nick,a=e.author,r=e.channel_id,s=e.colorString,u=s?s:void 0,f=_.default.getChannel(r),c=t||a.username,d=f&&f.guild_id,p=o(r,a,d),h=U.default.Messages.SYSTEM_MESSAGE_PINNED_MESSAGE.format({usernameHook:function(e,t){var n=i({},p,{key:t});return u&&(n.style={color:u}),l.default.createElement("a",n,e)},username:c,pinsActionOnClick:this.handleViewPins});return l.default.createElement(j,i({icon:n(3037)},this.props),h)}}),V=function(e){var t=e.message,a=t.id,r=t.author,s=e.message.getChannelId(),u=A.default.getSystemMessageGuildMemberJoined(a),f=u.format({username:r.username,usernameOnClick:o(s,r)});return l.default.createElement(j,i({icon:n(1178)},e),f)},H=l.default.createClass({displayName:"AddRecipient",mixins:[f.default.StoreListenerMixin(S.default)],getStateForMessage:function(e){return{otherUser:S.default.getUser(e.mentions[0]),channelId:e.getChannelId()}},getStateFromStores:function(){var e=this.props.message;return this.getStateForMessage(e)},componentWillReceiveProps:function(e){e.message!==this.props.message&&this.setState(this.getStateForMessage(e.message))},render:function(){var e=this.props.message,t=this.state,a=t.otherUser,r=t.channelId,s=e.author,u=e.getAuthorName(),f=P.default.getName(null,r,a),c=U.default.Messages.SYSTEM_MESSAGE_RECIPIENT_ADD.format({username:u,usernameOnClick:o(r,s),otherUsername:f,otherUsernameOnClick:o(r,a)});return l.default.createElement(j,i({icon:n(1178)},this.props),c)}}),z=l.default.createClass({displayName:"RecipientRemove",mixins:[f.default.StoreListenerMixin(S.default)],getStateForMessage:function(e){return{otherUser:S.default.getUser(e.mentions[0]),channelId:e.getChannelId()}},getStateFromStores:function(){var e=this.props.message;return this.getStateForMessage(e)},componentWillReceiveProps:function(e){e.message!==this.props.message&&this.setState(this.getStateForMessage(e.message))},render:function(){var e=this.props.message,t=this.state,a=t.otherUser,r=t.channelId,s=e.author,u=e.getAuthorName(),f=void 0;if(s.id===a.id)f=U.default.Messages.SYSTEM_MESSAGE_RECIPIENT_REMOVE_SELF.format({username:u,usernameOnClick:o(r,s)});else{var c=P.default.getName(null,r,a);f=U.default.Messages.SYSTEM_MESSAGE_RECIPIENT_REMOVE.format({username:u,usernameOnClick:o(r,s),otherUsername:c,otherUsernameOnClick:o(r,a)})}return l.default.createElement(j,i({icon:n(2994)},this.props),f)}}),W=l.default.createClass({displayName:"Call",mixins:[f.default.StoreListenerMixin(E.default,T.default)],getStateForMessage:function(e){var t=m.default.getId(),n=e.getChannelId(),a=e.call,o=E.default.isCallActive(n,e.id),r=T.default.getVoiceState(x.ME,t);return{missed:!o&&null!=a&&a.participants.indexOf(t)===-1,joinable:o&&(null==r||r.channelId!==n),channelId:n}},getStateFromStores:function(){var e=this.props.message;return this.getStateForMessage(e)},componentWillReceiveProps:function(e){e.message!==this.props.message&&this.setState(this.getStateForMessage(e.message))},render:function(){var e=this.props.message,t=e.author,a=e.getChannelId(),s=e.getAuthorName(),u=n(2993),f=U.default.Messages.SYSTEM_MESSAGE_CALL_STARTED.format({username:s,usernameOnClick:o(a,t)}),c=void 0;return this.state.joinable?c=r(F,{onClick:this.handleJoinCall},void 0,U.default.Messages.SYSTEM_MESSAGE_JOIN_CALL):this.state.missed&&(u=n(2992),f=U.default.Messages.SYSTEM_MESSAGE_CALL_MISSED.format({username:s,usernameOnClick:o(a,t)})),l.default.createElement(j,i({icon:u},this.props),f,c)},handleJoinCall:function(){var e=this.props.message;C.default.selectVoiceChannel(null,e.getChannelId())}}),Y=function(e){var t=e.message,a=t.author,r=t.content,s=e.message.getChannelId();return l.default.createElement(j,i({className:"channel-name-change",icon:n(1177)},e),U.default.Messages.SYSTEM_MESSAGE_CHANNEL_NAME_CHANGE.format({username:e.message.getAuthorName(),usernameOnClick:o(s,a),channelName:r}))},K=function(e){var t=e.message.author,a=e.message.getChannelId();return l.default.createElement(j,i({icon:n(1177)},e),U.default.Messages.SYSTEM_MESSAGE_CHANNEL_ICON_CHANGE.format({username:e.message.getAuthorName(),usernameOnClick:o(a,t)}))};t.default=function(e){var t=e.message,n=e.option;switch(x.MessageTypesDeletable[t.type]||(n=null),t.type){case x.MessageTypes.RECIPIENT_ADD:return r(H,{message:t,option:n});case x.MessageTypes.RECIPIENT_REMOVE:return r(z,{message:t,option:n});case x.MessageTypes.CALL:return r(W,{message:t,option:n});case x.MessageTypes.CHANNEL_NAME_CHANGE:return r(Y,{message:t,option:n});case x.MessageTypes.CHANNEL_ICON_CHANGE:return r(K,{message:t,option:n});case x.MessageTypes.CHANNEL_PINNED_MESSAGE:return r(B,{message:t,option:n});case x.MessageTypes.GUILD_MEMBER_JOIN:return r(V,{message:t,option:n});default:return null}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(23),u=a(l),f=n(6),c=a(f),d=n(7),p=a(d),h=n(2),g=a(h),m=n(809),v=a(m);n(2254);var E=s.default.createClass({displayName:"Tooltip",mixins:[c.default],getInitialState:function(){return{offsetX:null,offsetY:null}},componentDidMount:function(){this.updateOffsets()},componentDidUpdate:function(e){var t=e.text,n=e.position,a=e.x,o=e.y,r=e.targetWidth,i=e.targetHeight;this.props.text===t&&this.props.position===n&&this.props.x===a&&this.props.y===o&&this.props.targetWidth===r&&this.props.targetHeight===i||this.updateOffsets()},updateOffsets:function(){var e=u.default.findDOMNode(this);if(null!=e){var t={offsetY:-(e.offsetHeight/2)};switch(this.props.position){case"left":t.offsetX=-u.default.findDOMNode(this).offsetWidth,t.offsetY+=this.props.targetHeight/2;break;case"right":t.offsetX=this.props.targetWidth,t.offsetY+=this.props.targetHeight/2;break;case"bottom":t.offsetX=(this.props.targetWidth-u.default.findDOMNode(this).offsetWidth)/2,t.offsetY=this.props.targetHeight;break;case"top":default:t.offsetX=(this.props.targetWidth-u.default.findDOMNode(this).offsetWidth)/2,t.offsetY=-u.default.findDOMNode(this).offsetHeight}this.setState(t)}},render:function(){var e="function"==typeof this.props.text?this.props.text():this.props.text;if(0===e.length)return null;var t={left:null===this.state.offsetX?null:this.props.x+this.state.offsetX,top:null===this.state.offsetY?null:this.props.y+this.state.offsetY};return r("div",{className:"tooltip tooltip-"+this.props.position+" tooltip-"+this.props.type,style:t},void 0,e)}}),y=s.default.createClass({displayName:"Tooltips",mixins:[g.default.StoreListenerMixin(v.default)],getStateFromStores:function(){return{tooltips:v.default.getTooltips()}},render:function(){return r("div",{className:"tooltips"},void 0,p.default.map(this.state.tooltips,function(e,t){return s.default.createElement(E,o({key:t},e))}))}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(160),l=a(s),u=n(3),f=a(u),c=n(61),d=a(c),p=n(103),h=(a(p),n(75)),g=(a(h),n(83)),m=a(g),v=n(14),E=a(v),y=n(102),_=o("div",{className:"from-to-arrow"}),b=i.default.createClass({displayName:"TransferOwnershipModal",statics:{key:function(){return"transfer-ownership-modal"}},getInitialState:function(){return{acknowledged:!1}},handleTransfer:function(e){e.preventDefault(),E.default.pop(),m.default.transferOwnership(this.props.guild.id,this.props.toUser.id).then(function(){return(0,y.popLayer)()}).catch(function(){})},handleAcknowledged:function(e){this.setState({acknowledged:e.currentTarget.checked})},render:function(){return o("form",{className:"form guild-settings-modal-transfer-ownership",onSubmit:this.handleTransfer},void 0,o("div",{className:"form-header"},void 0,o("header",{},void 0,f.default.Messages.TRANSFER_OWNERSHIP,"—",this.props.toUser.toString())),o("div",{className:"form-inner"},void 0,o("div",{className:"from-to"},void 0,o(d.default,{user:this.props.fromUser,size:"xxlarge"}),_,o(d.default,{user:this.props.toUser,size:"xxlarge"})),o(l.default,{defaultValue:this.state.acknowledged,onChange:this.handleAcknowledged},void 0,o("span",{},void 0,f.default.Messages.TRANSFER_OWNERSHIP_ACKNOWLEDGE.format({username:this.props.toUser.toString()})))),o("div",{className:"form-actions"},void 0,o("button",{type:"button",className:"btn btn-default",onClick:this.props.onClose},void 0,f.default.Messages.CANCEL),o("button",{type:"submit",className:"btn btn-primary red",disabled:!this.state.acknowledged},void 0,f.default.Messages.TRANSFER_OWNERSHIP)))}});t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(23),u=a(l),f=n(6),c=a(f),d=n(2),p=a(d),h=n(528),g=a(h),m=n(90),v=a(m),E=n(140),y=a(E);n(947);var _=n(7),b=a(_),S=n(719),I=a(S),T=n(704),N=a(T),A=n(41),M=a(A),C=n(1337),O=a(C),D=n(5),L=a(D),R=s.default.createClass({displayName:"TutorialIndicator",mixins:[c.default,p.default.StoreListenerMixin(y.default)],getInitialState:function(){return{offsetX:null,offsetY:null,definition:N.default[this.props.tutorialId]}},getStateFromStores:function(){return{isPopoutOpen:y.default.isOpen(this.props.tutorialId)}},componentDidMount:function(){this.updateCache()},componentDidUpdate:function(e){var t=e.tutorialId,n=e.x,a=e.y,o=e.targetWidth,r=e.targetHeight,i=e.position,s=e.offset,l=e.offsetPercent;this.props.tutorialId==t&&this.props.x===n&&this.props.y===a&&this.props.targetWidth===o&&this.props.targetHeight===r&&this.props.position===i&&this.props.offset.x===s.x&&this.props.offset.y===s.y&&this.props.offsetPercent.x===l.x&&this.props.offsetPercent.y===l.y||this.updateCache()},updateCache:function(){var e={offsetX:(this.props.targetWidth-u.default.findDOMNode(this).offsetWidth)/2,offsetY:(this.props.targetHeight-u.default.findDOMNode(this).offsetHeight)/2};switch(this.props.position){case"left":e.offsetX=0,e.offsetY=this.props.targetHeight/2;break;case"right":e.offsetX=this.props.targetWidth,e.offsetY=this.props.targetHeight/2;break;case"bottom":e.offsetX=this.props.targetWidth/2,e.offsetY=this.props.targetHeight;break;case"top":default:e.offsetX=this.props.targetWidth/2,e.offsetY=0}var t={x:this.props.offset.x?this.props.offset.x:0,y:this.props.offset.y?this.props.offset.y:0},n={x:this.props.offsetPercent.x?this.props.offsetPercent.x:0,y:this.props.offsetPercent.y?this.props.offsetPercent.y:0};e.offsetX+=t.x+n.x/100*this.props.targetWidth,e.offsetY+=t.y+n.y/100*this.props.targetHeight,this.setState(e)},handleSkipTips:function(){I.default.suppressAll()},handlePopoutClose:function(e){e&&I.default.dismiss(this.props.tutorialId)},renderTutorialPopout:function(e){return s.default.createElement(O.default,r({},e,{tutorialId:this.props.tutorialId,onSkipAll:this.handleSkipTips,onClose:this.handlePopoutClose}))},render:function(){var e={left:null===this.state.offsetX?null:this.props.x+this.state.offsetX,top:null===this.state.offsetY?null:this.props.y+this.state.offsetY},t=this.props.isFocused&&!this.state.isPopoutOpen,n=this.state.definition.highPriority!==!0?null:o("div",{},void 0,o("div",{className:(0,L.default)("top",{animating:t,"not-animating":!t})}),o("div",{className:(0,L.default)("bottom",{animating:t,"not-animating":!t})})),a={animating:t,"not-animating":!t,highPriority:this.state.definition.highPriority};return o(M.default,{render:this.renderTutorialPopout,position:this.state.definition.popoutPosition,backdrop:!0,uniqueId:this.props.tutorialId},void 0,o("div",{className:"indicator",style:e},void 0,o("div",{className:(0,L.default)("animation-container",a)},void 0,n,o("div",{className:(0,L.default)("inner-circle",a)}),o("div",{className:(0,L.default)("outer-circle",a)}))))}}),x=s.default.createClass({displayName:"TutorialIndicators",mixins:[p.default.StoreListenerMixin(g.default,v.default)],getStateFromStores:function(){return{indicators:g.default.getIndicators(),shouldShowAny:g.default.shouldShowAnyIndicators(),isFocused:v.default.isFocused()}},render:function(){var e=this,t=null;return this.state.shouldShowAny&&(t=b.default.map(this.state.indicators,function(t,n){return s.default.createElement(R,r({key:n,tutorialId:n,isFocused:e.state.isFocused},t))})),o("div",{className:"tutorial-indicators"},void 0,t)}});t.default=x,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u);n(606),n(947),n(935);var c=n(85),d=a(c),p=n(29),h=a(p),g=i.default.createClass({displayName:"TutorialPopout",mixins:[l.default],getDefaultProps:function(){return{tutorialId:null,onClose:null,onSkipAll:null}},getInitialState:function(){return{confirmed:!1}},skipTheTips:function(){h.default.track("Dismiss All Tutorials",{tutorial:this.props.tutorialId}),null!=this.props.onSkipAll&&this.props.onSkipAll(),d.default.close(this.props.popoutKey)},close:function(){var e=this;this.setState({confirmed:!0},function(){return d.default.close(e.props.popoutKey)})},componentDidMount:function(){h.default.track("Show Tutorial",{tutorial:this.props.tutorialId})},componentWillUnmount:function(){h.default.track("Close Tutorial",{tutorial:this.props.tutorialId,acknowledged:this.state.confirmed}),null!=this.props.onClose&&this.props.onClose(this.state.confirmed)},render:function(){var e=this.props.tutorialId.replace(/-/g,"_").toUpperCase();return o("div",{className:"tutorial-popout"},void 0,o("header",{className:"title-content"},void 0,o("div",{},void 0,f.default.Messages["TIP_"+e+"_TITLE"])),o("section",{},void 0,o("span",{className:"content"},void 0,f.default.Messages["TIP_"+e+"_BODY"].format()),o("div",{className:"button-area"},void 0,o("div",{className:"skip-tips"},void 0,f.default.Messages.TUTORIAL_SKIP.format({onSkipClick:this.skipTheTips})),o("div",{className:"button",onClick:this.close},void 0,f.default.Messages.TUTORIAL_CLOSE))))}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(7),f=a(u),c=n(5),d=a(c),p=n(2),h=a(p),g=n(90),m=a(g),v=n(35),E=a(v),y=n(194),_=a(y),b=n(52),S=(a(b),n(10)),I=a(S),T=n(311),N=a(T),A=n(43),M=a(A),C=n(3),O=a(C),D=n(46),L=a(D);n(2255);var R=o(L.default,{type:"pulsing-ellipsis",className:"ellipsis"}),x=i.default.createClass({displayName:"TypingUsers",mixins:[h.default.StoreListenerMixin(N.default,m.default,E.default),l.default],getStateFromStores:function(){return{typingUsers:N.default.getTypingUsers(this.props.channel.id),isFocused:m.default.isFocused(),guildId:E.default.getGuildId()}},componentWillReceiveProps:function(e){this.setState({typingUsers:N.default.getTypingUsers(e.channel.id)})},render:function(){var e=this,t=this.state.guildId,n=I.default.getCurrentUser(),a=(0,f.default)(this.state.typingUsers).keys().filter(function(e){return e!=n.id}).reject(M.default.isBlocked).map(function(e){return I.default.getUser(e)}).filter(function(e){return null!=e}).map(function(n){return _.default.getName(t,e.props.channel.id,n)}).value();if(0==a.length)return null;var r=a[0],i=a[1],s=a[2],l=void 0;return l=1===a.length?O.default.Messages.ONE_USER_TYPING.format({a:r}):2===a.length?O.default.Messages.TWO_USERS_TYPING.format({a:r,b:i}):3===a.length?O.default.Messages.THREE_USERS_TYPING.format({a:r,b:i,c:s}):O.default.Messages.SEVERAL_USERS_TYPING,o("div",{className:(0,d.default)("typing",{"stop-animation":!this.state.isFocused})},void 0,R,o("span",{className:"text"},void 0,l))}});t.default=x,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(94),l=n(849),u=a(l),f=n(3),c=a(f),d=n(1);n(2256);var p=[{id:"discord",name:c.default.Messages.BROWSER_APP},{id:"chrome",name:c.default.Messages.BROWSER_CHROME,url:"https://www.google.com/chrome/browser/desktop/"},{id:"firefox",name:c.default.Messages.BROWSER_FIREFOX,url:"https://www.mozilla.org/en-US/firefox/new/?scene=2"},{id:"opera",name:c.default.Messages.BROWSER_OPERA,url:"http://www.opera.com/download"}],h=i.default.createClass({displayName:"SupportedBrowser",render:function(){var e=this.props.browser,t=e.id,n=e.name,a=e.url,r=void 0;return r=null!=a?o("a",{className:"btn",href:a,target:"_blank"},void 0,c.default.Messages.DOWNLOAD):o(s.Link,{className:"btn",to:d.Routes.APPS},void 0,c.default.Messages.DOWNLOAD),o("li",{},void 0,o("div",{className:"browser browser-"+t}),o("div",{},void 0,n),r)}}),g=i.default.createClass({displayName:"UnsupportedBrowser",componentDidMount:function(){u.default.launch("discord://"+this.props.location.pathname,function(e){console.log("discord://",e)})},render:function(){var e=p.map(function(e){return o(h,{browser:e},e.id)});return o("div",{id:"unsupported-browser"},void 0,o("div",{className:"wrap"},void 0,o("h1",{},void 0,c.default.Messages.UNSUPPORTED_BROWSER_TITLE),o("p",{},void 0,c.default.Messages.UNSUPPORTED_BROWSER_BODY),o("ul",{},void 0,e)))}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(23),l=a(s),u=n(6),f=a(u),c=n(2),d=a(c),p=n(5),h=a(p),g=n(1),m=n(521),v=a(m),E=n(19),y=a(E),_=n(35),b=a(_),S=n(47),I=a(S),T=n(11),N=a(T),A=n(268),M=a(A),C=n(14),O=a(C),D=n(222),L=a(D),R=n(3),x=a(R),w=n(786),P=a(w),k=n(72),U=a(k),G=n(364),j=a(G);n(939),n(607);var F=1e3,B=o("div",{},void 0,o("div",{className:"sprite sparkle one"}),o("div",{className:"sprite sparkle two"}),o("div",{className:"sprite light one"}),o("div",{className:"sprite light two"}),o("div",{className:"sprite cross one"}),o("div",{className:"sprite cross two"}),o("div",{className:"sprite pop one"})),V=o("div",{className:"bgScale"}),H=o("div",{className:"icons"},void 0,o("div",{className:"wrap-one"},void 0,o("div",{className:"icon one"})),o("div",{className:"wrap-three"},void 0,o("div",{className:"icon three"})),o("div",{className:"wrap-two"},void 0,o("div",{className:"icon two"}))),z=i.default.createClass({displayName:"UploadArea",mixins:[d.default.StoreListenerMixin(N.default,M.default,y.default,b.default),I.default,f.default,P.default,U.default],getInitialState:function(){return{dragging:!1,requireConfirm:!0}},getStateFromStores:function(){return{hasLayers:M.default.hasLayers(),channel:y.default.getChannelId()&&N.default.getChannel(y.default.getChannelId())}},componentDidMount:function(){document.body.addEventListener("dragover",this.handleDragOver,!1),document.body.addEventListener("drop",this.handleDragLeave,!1),l.default.findDOMNode(this).addEventListener("dragleave",this.handleDragLeave,!1),l.default.findDOMNode(this).addEventListener("drop",this.handleDrop,!1)},componentWillUnmount:function(){document.body.removeEventListener("dragover",this.handleDragOver,!1),document.body.removeEventListener("drop",this.handleDragLeave,!1),l.default.findDOMNode(this).removeEventListener("dragleave",this.handleDragLeave,!1),l.default.findDOMNode(this).removeEventListener("drop",this.handleDrop,!1)},render:function(){var e=this.state.dragging&&this.canDropFile(),t=x.default.Messages.UPLOAD_AREA_TITLE;this.state.requireConfirm||(t=x.default.Messages.UPLOAD_AREA_TITLE_NO_CONFIRMATION);var n=null;return e&&(n=B),o("div",{className:(0,h.default)("upload-area",{"upload-modal-in":e})},void 0,o("div",{className:"upload-drop-modal"},void 0,n,V,o("div",{className:"inner"},void 0,H,o("div",{className:"title"},void 0,t),o("div",{className:"instructions"},void 0,o("pre",{},void 0,x.default.Messages.UPLOAD_AREA_HELP)))))},canDropFile:function(){var e=this.state,t=e.channel,n=e.hasLayers;return t&&!n&&(t.isPrivate()||this.can(g.Permissions.ATTACH_FILES,this.state.channel)&&v.default.canChatInGuild(b.default.getGuildId()))},isAllDropFiles:function(e){for(var t=0;t<e.length;t++)try{var n=e[t].webkitGetAsEntry()||e[t].getAsEntry();if(n&&!n.isFile)return!1}catch(e){continue}return!0},dragOverTimeout:null,preventUnwantedDrop:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.dataTransfer,a=n.types instanceof Array&&n.types.indexOf("text/uri-list")!=-1&&n.types.indexOf("application/json")==-1,o=null!=n.items&&!this.isAllDropFiles(n.items);return!a&&!o||(e.stopPropagation(),e.preventDefault(),n.effectAllowed="none",n.dropEffect="none",t&&(this.setState({dragging:!1}),O.default.push(j.default,{title:x.default.Messages.UPLOAD_AREA_INVALID_FILE_TYPE_TITLE,help:x.default.Messages.UPLOAD_AREA_INVALID_FILE_TYPE_HELP})),!1)},handleDragOver:function(e){var t=this;if(!this.preventUnwantedDrop(e))return!1;e.dataTransfer.dropEffect="move";var n=L.default.getModal();n&&n.modal===j.default&&O.default.pop(),e.stopPropagation(),e.preventDefault(),this.state.dragging?this.state.dragging&&e.shiftKey!==!this.state.requireConfirm&&this.setState({requireConfirm:!e.shiftKey}):(e.dataTransfer.types instanceof DOMStringList&&e.dataTransfer.types.contains("application/x-moz-file")||e.dataTransfer.types instanceof Array&&e.dataTransfer.types.indexOf("Files")!=-1)&&this.setState(function(t){return t.dragging?{}:{dragging:!0,requireConfirm:!e.shiftKey}}),this.clearTimeout(this.dragOverTimeout),this.dragOverTimeout=this.setTimeout(function(){t.setState({dragging:!1,requireConfirm:!0})},F)},handleDragLeave:function(e){this.state.dragging&&(e.stopPropagation(),e.preventDefault(),this.clearDragging())},clearDragging:function(){this.setState({dragging:!1,requireConfirm:!0})},handleDrop:function(e){if(!this.preventUnwantedDrop(e,!0))return!1;this.state.dragging&&(e.preventDefault(),e.stopPropagation(),this.canDropFile()&&this.promptToUpload(e.dataTransfer.files,this.state.channel.id,!0,this.state.requireConfirm),this.clearDragging())}});t.default=z,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(3),f=a(u),c=n(6),d=a(c),p=n(5),h=a(p),g=n(720),m=a(g);n(607);var v=n(1),E=n(496),y=a(E),_=n(802),b=a(_),S=n(146),I=a(S),T=n(485),N=a(T),A=n(72),M=a(A),C=n(1609),O=a(C),D=n(721),L=a(D),R=n(372),x=a(R),w=n(87),P=a(w),k=i.default.createClass({displayName:"ImageFilePreview",mixins:[d.default],getDefaultProps:function(){return{file:null}},getInitialState:function(){return{imageDataUri:this.state?this.state.imageDataUri:null,imageLoaded:!1}},tryAbort:function(){this.reader&&1==this.reader.readyState&&this.reader.abort()},loadImagePreview:function(e){var t=this;this.tryAbort(),this.reader=new FileReader,this.reader.onload=function(e){return t.setState({imageDataUri:e.target.result,imageLoaded:!0})},this.reader.readAsDataURL(e.file)},componentWillMount:function(){this.loadImagePreview(this.props)},componentWillUpdate:function(e){this.loadImagePreview(e)},componentWillUnmount:function(){this.tryAbort()},render:function(){if(this.state.imageLoaded){return o("div",{className:"icon image",style:{backgroundImage:"url('"+this.state.imageDataUri+"')"}})}return o("div",{className:(0,h.default)("icon",{image:!0})})}}),U=i.default.createClass({displayName:"UploadIcon",render:function(){if(this.props.upload.isImage)return o(k,{file:this.props.upload.file},this.props.upload.id);var e;return o("div",{className:(0,h.default)("icon",(e={},e[this.props.upload.classification]=!0,e))})}}),G=i.default.createClass({displayName:"UploadModal",mixins:[l.default.StoreListenerMixin(O.default),M.default,x.default,P.default],statics:{modalConfig:{closable:!1}},getStateFromStores:function(){var e=O.default.getFirstUpload();return{upload:e,file:e?e.file:null,hasAdditionalUploads:O.default.hasAdditionalUploads()}},getInitialState:function(){return{transitioning:!1}},getSubscriptions:function(){var e;return e={},e[v.ComponentActions.MODAL_SUBMIT]=this.confirm,e[v.ComponentActions.MODAL_CLOSE]=this.cancel,e},componentDidMount:function(){this.refs.input&&this.refs.input.focus()},shouldComponentUpdate:function(e,t){return t.upload},cancelAll:function(){L.default.clearAll(),this.props.onClose()},cancel:function(){this.showNextFile()},confirm:function(){if(!this.state.transitioning&&this.state.upload){var e=this.refs.input.getValue();if(!this.applyChatRestrictions(e)){N.default.saveCurrentText(this.state.upload.channel.id,""),this.refs.input.setValue(""),this.refs.input.focus();var t=m.default.upload.bind(null,this.state.upload.channel.id,this.state.upload.file,this.state.upload.filename,this.state.upload.classification,I.default.parse(this.state.upload.channel,e));window.setTimeout(t,125),this.showNextFile()}}},showNextFile:function(){var e=this;this.state.transitioning||(this.state.hasAdditionalUploads?(this.setState({transitioning:!0}),this.setTimeout(function(){return L.default.popFirstFile()},100),this.setTimeout(function(){return e.setState({transitioning:!1})},200)):(L.default.popFirstFile(),this.props.onClose()))},onSubmitText:function(){this.confirm()},render:function(){var e=null;this.state.hasAdditionalUploads&&(e=o("button",{type:"submit",className:(0,h.default)({button:!0}),onClick:this.cancelAll},void 0,o("span",{},void 0,f.default.Messages.UPLOAD_AREA_CANCEL_ALL)));var t=this.state.upload?this.state.upload.channel.id:null,n=b.default.getSavedText(t);return o("div",{className:(0,h.default)("upload-modal",{transitioning:this.state.transitioning})},void 0,o("div",{className:"inner"},void 0,o("div",{className:"file"},void 0,o(U,{upload:this.state.upload}),o("div",{className:"description"},void 0,o("div",{className:"filename"},void 0,this.state.upload.filename),o("div",{className:"filesize"},void 0,this.state.sizeString))),o("div",{className:"comment"},void 0,o("div",{className:"label"},void 0,o("span",{},void 0,f.default.Messages.UPLOAD_AREA_LEAVE_A_COMMENT),o("span",{className:"optional"},void 0,"(",f.default.Messages.UPLOAD_AREA_OPTIONAL,")")),i.default.createElement(y.default,{ref:"input",channel:this.state.upload.channel,onSubmit:this.onSubmitText,defaultValue:n,type:v.TextareaTypes.FORM,blurEvent:null}))),o("div",{className:"footer"},void 0,e,o("button",{type:"submit",className:(0,h.default)({button:!0}),onClick:this.cancel},void 0,o("span",{},void 0,f.default.Messages.CANCEL)),o("button",{type:"submit",className:(0,h.default)({button:!0,"button-primary":!0}),onClick:this.confirm},void 0,o("span",{},void 0,f.default.Messages.UPLOAD))))}});t.default=G,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(7),c=a(f),d=n(1635),p=a(d),h=n(529),g=a(h),m=n(1252),v=n(1),E=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={accepting:!1},c.default.bindAll(a,["handleAccept"]),a}return i(t,e),t.prototype.handleAccept=function(){var e=this;return this.setState({accepting:!0}),(0,m.acceptAgreements)().then(function(t){return e.setState({accepting:t})})},t.prototype.render=function(){return s(p.default,{className:"theme-light",onAccept:this.handleAccept,accepting:this.state.accepting})},t}(u.default.PureComponent);E.modalConfig={store:g.default,center:!0,isOpen:function(){return g.default.getAction()===v.UserRequiredActions.AGREEMENTS}},t.default=E,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(2),c=a(f),d=n(3),p=a(d),h=n(128),g=a(h),m=n(61),v=a(m),E=n(362),y=a(E),_=n(182),b=a(_),S=n(1611),I=a(S),T=n(10),N=a(T),A=n(31),M=a(A),C=n(102),O=n(214),D=a(O),L=n(180),R=a(L),x=n(79),w=a(x),P=n(57),k=a(P),U=n(64),G=a(U),j=n(95),F=a(j),B=n(511),V=a(B),H=n(67),z=a(H),W=n(46),Y=a(W),K=n(41),Q=a(K),Z=n(746),X=a(Z),J=n(33),q=a(J),$=n(257),ee=a($),te=n(42),ne=a(te),ae=n(192),oe=n(75);a(oe);n(2259),n(937);var re=n(1),ie=r("div",{className:"empty-icon-streamer-mode"}),se=r("div",{className:"connected-account-open-icon"}),le=r("i",{className:"connected-account-verified-icon"}),ue=s.default.createClass({displayName:"UserInfo",mixins:[u.default,c.default.StoreListenerMixin(M.default)],getStateFromStores:function(){return{hide:M.default.hidePersonalInformation}},render:function(){if(this.state.hide)return r("div",{className:"empty"},void 0,ie,r("div",{className:"empty-text"},void 0,p.default.Messages.STREAMER_MODE_ENABLED));var e=void 0;if(null!=this.props.connectedAccounts&&this.props.connectedAccounts.length>0){e=r("div",{className:"section"},void 0,r("div",{className:"connected-accounts"},void 0,this.props.connectedAccounts.map(function(e,t){var n=g.default.get(e.type),a=n.getPlatformUserUrl&&n.getPlatformUserUrl(e),o=void 0;a&&(o=r("a",{href:a,rel:"noreferrer",target:"_blank"},void 0,se));var i=void 0;return e.verified&&(i=r(q.default,{text:p.default.Messages.CONNECTION_VERIFIED},void 0,le)),r("div",{className:"connected-account"},t,r("img",{className:"connected-account-icon",src:n.icon.color}),r("div",{className:"connected-account-name-inner"},void 0,r("div",{className:"connected-account-name"},void 0,e.name),i),o)})))}return r(z.default,{className:"guilds",fade:!0},void 0,r("div",{className:"section"},void 0,r("div",{className:"section-header"},void 0,p.default.Messages.NOTE),r(X.default,{userId:this.props.user.id,autoFocus:!1})),e)}}),fe=function(e){var t=e.guild,n=e.nick,a=e.onSelect,o=e.onContextMenu;return r("div",{className:"guild",onClick:function(){return a(t.id)},onContextMenu:function(e){return o(e,t)}},void 0,r(b.default,{guild:t,size:"large"}),r("div",{className:"guild-inner"},void 0,r("div",{className:"guild-name"},void 0,t.toString()),r("div",{className:"guild-nick"},void 0,n)))},ce=r("div",{className:"empty-icon-guilds"}),de=s.default.createClass({displayName:"MutualGuilds",handleSelect:function(e){ne.default.transitionTo(re.Routes.GUILD(e)),D.default.close(),(0,C.popLayer)()},handleContextMenu:function(e,t){G.default.openContextMenu(e,function(e){return s.default.createElement(V.default,o({},e,{type:re.ContextMenuTypes.GUILD_PROFILE_MUTUAL,guild:t}))})},render:function(){var e=this;if(0===this.props.mutualGuilds.length)return r("div",{className:"empty"},void 0,ce,r("div",{className:"empty-text"},void 0,p.default.Messages.NO_MUTUAL_GUILDS));var t=this.props.mutualGuilds.map(function(t){var n=t.guild;return r(fe,{guild:n,nick:t.nick,onSelect:e.handleSelect,onContextMenu:e.handleContextMenu},n.id)});return r(z.default,{className:"guilds",fade:!0},void 0,t)}}),pe=function(e){var t=e.user,n=e.status,a=e.onSelect,o=e.onContextMenu;return r("div",{className:"guild",onClick:function(){return a(t.id)},onContextMenu:function(e){return o(e,t)}},void 0,r(v.default,{user:t,size:"large",status:n}),r("div",{className:"guild-inner"},void 0,r(ee.default,{user:t,className:"guild-name"})))},he=r("div",{className:"empty"},void 0,r(Y.default,{})),ge=r("div",{className:"empty-icon-friends"}),me=s.default.createClass({displayName:"MutualFriends",handleSelect:function(e){D.default.open(e)},handleContextMenu:function(e,t){G.default.openContextMenu(e,function(e){return s.default.createElement(F.default,o({},e,{type:re.ContextMenuTypes.USER_PROFILE_MUTUAL,user:t}))})},render:function(){var e=this,t=this.props.mutualFriends,n=[];return t?0===t.length?r("div",{className:"empty"},void 0,ge,r("div",{className:"empty-text"},void 0,p.default.Messages.NO_MUTUAL_FRIENDS)):(t.forEach(function(t){n.push(r(pe,{user:t.user,status:t.status,onSelect:e.handleSelect,onContextMenu:e.handleContextMenu},t.key))}),r(z.default,{className:"guilds",fade:!0},void 0,n)):he}}),ve=function(e){var t=e.user,n=e.relationshipType,a=e.friendReqSent,o=e.handleAddFriend,i=e.handleIgnoreFriend,s=null;return t.id===N.default.getCurrentUser().id||t.bot||n==re.RelationshipTypes.FRIEND||n==re.RelationshipTypes.BLOCKED||(s=a?r("div",{className:"actions"},void 0,r("button",{disabled:!0,className:"btn disabled"},void 0,p.default.Messages.ADD_FRIEND_BUTTON_AFTER)):n===re.RelationshipTypes.PENDING_INCOMING?r("div",{className:"actions"},void 0,r("div",{className:"pending"},void 0,r("div",{className:"pending-actions"},void 0,r("button",{className:"btn add-friend",onClick:o},void 0,p.default.Messages.FRIEND_REQUEST_ACCEPT),r("button",{className:"btn reject-friend ",onClick:i},void 0,p.default.Messages.FRIEND_REQUEST_IGNORE)))):r("div",{className:"actions"},void 0,r("button",{className:"btn add-friend",onClick:o},void 0,p.default.Messages.ADD_FRIEND_BUTTON))),s},Ee=s.default.createClass({displayName:"ProfileActionsPopout",performAction:function(e){e(),this.props.onClose()},render:function(){var e=this.props,t=e.relationshipType,n=e.onRemoveFriend,a=e.onBlock,o=e.onMessage,i=[];switch(t){case re.RelationshipTypes.BLOCKED:i.push(r("div",{className:"item",onClick:this.performAction.bind(this,n)},"user-unblock",p.default.Messages.UNBLOCK));break;case re.RelationshipTypes.FRIEND:i.push(r("div",{className:"item danger",onClick:this.performAction.bind(this,n)},"user-remove",p.default.Messages.REMOVE_FRIEND)),i.push(r("div",{className:"item danger",onClick:this.performAction.bind(this,a)},"user-block",p.default.Messages.BLOCK));break;case re.RelationshipTypes.NONE:case re.RelationshipTypes.PENDING_INCOMING:default:i.push(r("div",{className:"item danger",onClick:this.performAction.bind(this,a)},"user-block",p.default.Messages.BLOCK))}return t!==re.RelationshipTypes.BLOCKED&&i.push(r("div",{className:"item",onClick:this.performAction.bind(this,o)},"user-message",p.default.Messages.USER_POPOUT_MESSAGE)),r("div",{className:"context-menu"},void 0,i)}}),ye=r("div",{className:"additional-actions-icon"}),_e=s.default.createClass({displayName:"UserProfileModal",mixins:[u.default],statics:{modalConfig:{store:I.default}},getInitialState:function(){return{friendReqSent:!1}},hasFlag:function(e){return(this.props.user.flags&e)===e},render:function(){var e=this,t=this.props,n=t.user,a=t.status,i=t.activity,l=t.relationshipType,u=t.premiumSince,f=t.section,c=this.state.friendReqSent,d=void 0,h={};switch(f){case re.UserProfileSections.MUTUAL_GUILDS:d=de,h.mutualGuilds=this.props.mutualGuilds;break;case re.UserProfileSections.MUTUAL_FRIENDS:d=me,h.mutualFriends=this.props.mutualFriends;break;case re.UserProfileSections.USER_INFO:default:d=ue,h.user=this.props.user,h.connectedAccounts=this.props.connectedAccounts}var g=void 0;this.hasFlag(re.UserFlags.STAFF)?g={tooltip:p.default.Messages.STAFF_BADGE_TOOLTIP,onClick:function(){return window.open(re.MARKETING_URLS.COMPANY,"_blank")},class:"badge-staff"}:this.hasFlag(re.UserFlags.PARTNER)?g={tooltip:p.default.Messages.PARTNER_BADGE_TOOLTIP,onClick:function(){return window.open(re.MARKETING_URLS.PARTNERS,"_blank")},class:"badge-partner"}:this.hasFlag(re.UserFlags.HYPESQUAD)?g={tooltip:p.default.Messages.HYPESQUAD_BADGE_TOOLTIP,onClick:function(){return window.open(re.MARKETING_URLS.HYPESQUAD,"_blank")},class:"badge-hypesquad"}:null!=u&&(g={tooltip:p.default.Messages.PREMIUM_BADGE_TOOLTIP.format({date:u}),onClick:this.openPremiumSettings,class:"badge-premium"});var m=void 0;g&&(m=r(q.default,{position:"top",text:g.tooltip},void 0,r("div",{onClick:g.onClick,className:"profile-badge "+g.class})));var _=void 0;return n.id===N.default.getCurrentUser().id||n.isNonUserBot()||(_=r(Q.default,{uniqueId:"profile-actions",closeOnScroll:!1,position:Q.default.BOTTOM,zIndexBoost:1,animationType:"none",offsetX:-65,offsetY:-10,render:function(t){return s.default.createElement(Ee,o({},t,{relationshipType:l,onRemoveFriend:e.handleRemoveFriend,onBlock:e.handleBlock,onMessage:e.handleSendMessage}))}},void 0,ye)),r("div",{id:"user-profile-modal"},void 0,r("header",{className:"header"},void 0,r("div",{className:"header-info"},void 0,m,r("div",{className:"header-info-inner"},void 0,r(ee.default,{user:n}),i&&r("div",{className:"activity"},void 0,(0,ae.renderActivity)(i)))),r(ve,{user:n,relationshipType:l,friendReqSent:c,handleAddFriend:this.handleAddFriend,handleIgnoreFriend:this.handleRemoveFriend}),_),r("div",{className:"tab-bar-container"},void 0,r(y.default,{selectedItem:f,type:E.TabBarTypes.TOP,onItemSelect:this.handleSectionSelect},void 0,r(E.TabBarItem,{},re.UserProfileSections.USER_INFO,p.default.Messages.USER_INFO),r(E.TabBarItem,{},re.UserProfileSections.MUTUAL_GUILDS,p.default.Messages.MUTUAL_GUILDS),r(E.TabBarItem,{},re.UserProfileSections.MUTUAL_FRIENDS,p.default.Messages.MUTUAL_FRIENDS))),r("div",{className:"avatar-wrapper"},void 0,r(v.default,{user:n,size:"profile",status:a,animate:!0})),s.default.createElement(d,h))},close:function(){D.default.close()},handleSendMessage:function(){w.default.openPrivateChannel(N.default.getCurrentUser().id,this.props.user.id),this.close(),(0,C.popLayer)()},handleBlock:function(){var e=this.props.user;R.default.addRelationship(e.id,{location:"User Profile"},re.RelationshipTypes.BLOCKED)},handleAddFriend:function(){R.default.addRelationship(this.props.user.id,{location:"User Profile"}),this.setState({friendReqSent:!0})},handleRemoveFriend:function(){R.default.removeRelationship(this.props.user.id,{location:"User Profile"}),this.setState({friendReqSent:!1})},handleSectionSelect:function(e){D.default.setSection(e)},openPremiumSettings:function(){k.default.open(re.UserSettingsSections.PREMIUM),this.close()}});t.default=_e,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=n(0),l=a(s),u=n(46),f=a(u),c=n(128),d=a(c),p=n(3),h=a(p),g=n(210),m=a(g),v=n(515),E=a(v),y=n(1);n(2270);var _=r(f.default,{}),b=r("div",{className:"logo logo-discord"}),S=r("div",{className:"logos-divider"}),I=l.default.createClass({displayName:"VerifyConnectedAccount",getType:function(){return this.props.params.type},getInitialState:function(){return{verifying:!0,verified:!1}},componentDidMount:function(){var e=this,t=this.props.location.query,n=t.code,a=t.state,r=t.oauth_verifier,s=t.loading,l=o(t,["code","state","oauth_verifier","loading"]);if(null==s){null!=r&&(n=r);var u=void 0;Object.keys(l).forEach(function(e){e.startsWith("openid.")&&(null==u&&(u={}),u[e]=l[e])});var f=function(t){var n=t.status;e.setState({verifying:!1,verified:204===n},function(){return e.state.verified&&e.handleDone()})},c={code:n,openid_params:u,state:a},d=function(t){return m.default.callback(e.getType(),c,t).then(f,f)};if(this.isPopout())return void d(!1);E.default.request(y.RPCCommands.CONNECTIONS_CALLBACK,i({},c,{providerType:this.getType()})).then(f,function(e){return d("RPCError"!==e.name)}).then(function(){return E.default.disconnect()})}},isPopout:function(){return null!=window.opener},handleDone:function(){this.isPopout()&&window.close()},render:function(){var e=this.state,t=e.verifying,n=e.verified,a=d.default.get(this.getType()),o=void 0;o=t?r("div",{className:"message"},void 0,h.default.Messages.CONNECTED_ACCOUNT_VERIFYING.format({name:a.name})):n?r("div",{className:"message"},void 0,h.default.Messages.CONNECTED_ACCOUNT_VERIFY_SUCCESS.format({name:a.name})):r("div",{className:"message error"},void 0,h.default.Messages.CONNECTED_ACCOUNT_VERIFY_FAILURE.format({name:a.name}));var i=void 0;return(this.isPopout()||t)&&(i=r("button",{type:"button",className:"btn btn-primary",onClick:this.handleDone,disabled:t},void 0,t?_:h.default.Messages.DONE)),r("div",{className:"verify-connected-account"},void 0,r("div",{},void 0,r("div",{className:"logos"},void 0,b,S,r("div",{className:"logo",style:{backgroundImage:'url("'+a.icon.white+'")'}})),o,i))}});t.default=I,e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=o(i),l=n(6),u=o(l),f=n(2),c=o(f),d=n(94),p=n(215),h=o(p),g=n(46),m=o(g),v=n(509),E=o(v),y=n(101),_=o(y),b=n(17),S=o(b),I=n(1),T=n(3),N=o(T),A=r(m.default,{}),M=s.default.createClass({displayName:"VerifyEmail",mixins:[u.default,c.default.StoreListenerMixin(S.default)],componentDidMount:function(){var e=this;a.nextTick(function(){return e.verify()})},verify:function(e){_.default.verify(this.props.location.query.token,e)},getStateFromStores:function(){return{verifyFailed:S.default.didVerifyFail(),verifyErrors:S.default.getVerifyErrors()}},render:function(){var e=void 0;return e=this.state.verifyErrors&&this.state.verifyErrors.captcha_key?r("div",{className:"auth-captcha"},void 0,r("h1",{},void 0,N.default.Messages.VERIFYING),r("div",{className:"captcha-box"},void 0,r(E.default,{onChange:this.verify,theme:"dark"}))):this.state.verifyFailed?r("div",{},void 0,r("p",{className:"error"},void 0,N.default.Messages.VERFICATION_EXPIRED),r("p",{className:"error"},void 0,N.default.Messages.VERFICATION_EXPIRED_SUGGESTION),r(d.Link,{to:I.Routes.LOGIN,className:"btn btn-primary"},void 0,N.default.Messages.LOGIN)):r("div",{},void 0,r("h1",{},void 0,N.default.Messages.VERIFYING),A),r(h.default,{},void 0,r("div",{className:"auth-verify"},void 0,e))}});t.default=M,e.exports=t.default}).call(t,n(45))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(71),f=a(u),c=n(18),d=a(c),p=n(10),h=a(p),g=n(12),m=a(g),v=n(256),E=a(v),y=n(727),_=a(y),b=n(138),S=a(b),I=n(14),T=a(I),N=n(47),A=a(N),M=n(1),C=n(3),O=a(C);n(2271);var D=o("div",{className:"icon share"}),L=o("div",{className:"icon apps"}),R=o("div",{className:"icon exclamation"}),x=o("div",{className:"icon mobile"}),w=o("div",{className:"icon twitter"}),P=o(_.default,{}),k=i.default.createClass({displayName:"WelcomeMessage",mixins:[l.default.StoreListenerMixin(h.default,m.default),A.default],getDefaultProps:function(){return{channel:null}},getStateFromStores:function(){var e=m.default.getGuild(this.props.channel.getGuildId());return{currentUser:h.default.getCurrentUser(),guild:e}},handleDownloadApps:function(e){T.default.push(S.default,{source:e})},handleOpenInvitePopout:function(){var e=this.props.channel,t=this.state.guild;T.default.push(E.default,{guild:t,channel:e,source:"Welcome Message"})},render:function(){var e=this.state.guild&&this.state.guild.isOwner(this.state.currentUser)?o("h1",{},void 0,O.default.Messages.WELCOME_MESSAGE_OWNER_TITLE.format({username:this.state.currentUser.username})):o("h1",{},void 0,O.default.Messages.WELCOME_MESSAGE_TITLE.format({username:this.state.currentUser.username})),t=void 0;this.can(M.Permissions.CREATE_INSTANT_INVITE,this.props.channel)&&(t=o("div",{className:"item-container"},void 0,D,o("p",{},void 0,O.default.Messages.WELCOME_MESSAGE_INSTANT_INVITE.format({onShareClick:this.handleOpenInvitePopout}))));var n=void 0;return d.default.embedded||(n=o("div",{className:"item-container"},void 0,L,o("p",{},void 0,O.default.Messages.WELCOME_MESSAGE_DESKTOP_APPS.format({onDownloadClick:this.handleDownloadApps.bind(this,"Welcome Message Desktop Apps")})))),o("div",{className:"welcome-message"},void 0,e,o("div",{className:"item-container"},void 0,R,o("p",{},void 0,O.default.Messages.WELCOME_MESSAGE_TUTORIAL.format())),t,n,o("div",{className:"item-container"},void 0,x,o("p",{},void 0,O.default.Messages.WELCOME_MESSAGE_MOBILE_APPS.format({onDownloadClick:this.handleDownloadApps.bind(this,"Welcome Message Mobile Apps")}))),o("div",{className:"item-container"},void 0,w,o("p",{},void 0,O.default.Messages.WELCOME_MESSAGE_SUPPORT.format({supportURL:f.default.getCommunityURL(),twitterURL:f.default.getTwitterURL()}))),P)}});t.default=k,e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=o(f),d=n(23),p=n(7),h=o(p),g=n(2),m=o(g),v=n(162),E=n(11),y=o(E),_=n(27),b=o(_),S=n(531),I=o(S),T=n(812),N=o(T),A=n(17),M=o(A),C=n(82),O=o(C),D=n(14),L=o(D),R=n(59),x=o(R),w=n(63),P=o(w),k=n(158),U=o(k),G=n(489),j=a(G),F=n(85),B=o(F),V=n(495),H=o(V),z=n(138),W=o(z),Y=n(33),K=o(Y),Q=n(41),Z=n(736),X=o(Z),J=n(500),q=o(J),$=n(825),ee=n(1641),te=o(ee),ne=n(830),ae=o(ne),oe=n(847),re=n(3),ie=o(re),se=n(1),le=n(2076),ue=o(le),fe=n(737),ce=o(fe),de="SCREENSHARE_CHANGE_POPOUT_KEY",pe=50,he=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.state={isFullScreen:!1},a.renderScreensharePopout=a.renderScreensharePopout.bind(a),a.handleSetRef=a.handleSetRef.bind(a),a.handleClose=a.handleClose.bind(a),a.handleEnterFullScreen=a.handleEnterFullScreen.bind(a),a.handleFullScreenChange=a.handleFullScreenChange.bind(a),a.handleEnableVideoWhenUnavailable=a.handleEnableVideoWhenUnavailable.bind(a),a.handleStartScreenSharing=a.handleStartScreenSharing.bind(a),a.handleChangeScreenSharing=a.handleChangeScreenSharing.bind(a),a.handleScreenSharePopoutChange=a.handleScreenSharePopoutChange.bind(a),a.handleJumpToChannel=a.handleJumpToChannel.bind(a),a}return s(t,e),t.prototype.componentDidMount=function(){var e=this;oe.fullScreenChangeEvents.forEach(function(t){document.addEventListener(t,e.handleFullScreenChange)})},t.prototype.componentWillUnmount=function(){var e=this;oe.fullScreenChangeEvents.forEach(function(t){document.removeEventListener(t,e.handleFullScreenChange)})},t.prototype.renderScreensharePopout=function(){return u(ce.default,{onChange:this.handleScreenSharePopoutChange})},t.prototype.render=function(){var e=this.props,t=e.channel,n=e.streamId,a=e.userOnScreen,o=e.isVideoAvailable,r=e.isVideoEnabled,i=e.isScreenShareAvailable,s=e.isScreenShareEnabled,l=a.id===M.default.getId()&&r&&!s;return c.default.createElement(te.default,{ref:this.handleSetRef,channel:t,backgroundKey:a.id,isFullScreen:this.state.isFullScreen,isVideoAvailable:o,isVideoEnabled:r,isScreenShareAvailable:i,isScreenShareEnabled:s,onClose:this.handleClose,onEnterFullScreen:this.handleEnterFullScreen,onLeaveFullScreen:oe.exitFullScreen,onEnableVideo:this.handleEnableVideo,onEnableVideoWhenUnavailable:this.handleEnableVideoWhenUnavailable,onDisableVideo:this.handleDisableVideo,onStartScreenSharing:this.handleStartScreenSharing,onStartScreenSharingWhenUnavailable:this.handleStartScreenSharingWhenUnavailable,onChangeScreenSharing:this.handleChangeScreenSharing,onJumpToChannel:this.handleJumpToChannel,tooltipComponent:K.default},u(X.default,{className:ue.default.video,mediaClass:ue.default.media,streamId:n,component:b.default.getMediaEngine().Video,mirror:l},void 0,u(ae.default,{avatarSize:ae.default.AvatarSizes.XXLARGE,user:a})))},t.prototype.handleSetRef=function(e){this._ref=e},t.prototype.handleClose=function(){j.close(this.props.pipId)},t.prototype.handleEnterFullScreen=function(){var e=(0,d.findDOMNode)(this._ref);(0,oe.requestFullScreen)(e)},t.prototype.handleFullScreenChange=function(){this.setState({isFullScreen:(0,oe.isFullScreen)()})},t.prototype.handleEnableVideo=function(){O.default.setVideoEnabled(!0)},t.prototype.handleEnableVideoWhenUnavailable=function(){var e=this,t=this.props.isCameraGranted;L.default.push(function(n){return c.default.createElement(q.default,l({},n,{title:ie.default.Messages.CAMERA_UNAVAILABLE,description:t?ie.default.Messages.CAMERA_NO_DEVICE:ie.default.Messages.CAMERA_NO_ACCESS,confirmText:t?ie.default.Messages.OKAY:ie.default.Messages.CAMERA_ENABLE_ACCESS,onConfirm:t?L.default.pop:e.handleEnableVideo}))})},t.prototype.handleDisableVideo=function(){O.default.setVideoEnabled(!1)},t.prototype.handleStartScreenSharing=function(){H.default.open(this.props.channel)},t.prototype.handleStartScreenSharingWhenUnavailable=function(){function e(){L.default.push(W.default,{source:"PiP Screenshare Unavailable"})}L.default.push(function(t){return c.default.createElement(q.default,l({},t,{title:ie.default.Messages.SCREENSHARE_UNAVAILABLE,description:ie.default.Messages.SCREENSHARE_UNAVAILABLE_DOWNLOAD_APP,confirmText:ie.default.Messages.DOWNLOAD_APP,onConfirm:e}))})},t.prototype.handleChangeScreenSharing=function(e){var t=this.props.pipPosition,n=e.currentTarget;n instanceof Element&&(0,Q.openPopout)(n,{position:$.PopoutPositions.TOP,offsetX:t===se.PictureInPicturePositions.BOTTOM_LEFT||t===se.PictureInPicturePositions.TOP_LEFT?pe:0,render:this.renderScreensharePopout},de)},t.prototype.handleScreenSharePopoutChange=function(e){var t=e.value;B.default.close(de),t===fe.CHANGE_WINDOWS?this.handleStartScreenSharing():O.default.setDesktopSource(null)},t.prototype.handleJumpToChannel=function(){var e=this.props.channel;U.default.channelListScrollTo(se.ME,e.id),P.default.selectGuild(se.ME),x.default.selectChannel(se.ME,e.id)},t}(c.default.PureComponent);t.default=m.default.connectStores([N.default,I.default,y.default],function(e){var t=e.channel,n=N.default.getSpeaker(t.id),a=(0,h.default)(b.default.getVideoDevices()).values().first(),o=null==a||a.disabled,r=b.default.isEnabled();return{channel:y.default.getChannel(t.id),streamId:I.default.getStreamId(n.id),userOnScreen:n,isVideoAvailable:r||o===!1,isVideoEnabled:r&&!o&&b.default.isVideoEnabled(),isScreenShareEnabled:b.default.isScreenSharing(),isScreenShareAvailable:b.default.supports(v.MediaEngineFeatures.DESKTOP_CAPTURE),isCameraGranted:r}})(he),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s,l,u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),c=n(0),d=a(c),p=n(23),h=n(7),g=a(h),m=n(2),v=a(m),E=n(162),y=n(130),_=a(y),b=n(31),S=a(b),I=n(164),T=a(I),N=n(531),A=a(N),M=n(76),C=a(M),O=n(27),D=a(O),L=n(223),R=a(L),x=n(812),w=a(x),P=n(13),k=a(P),U=n(10),G=a(U),j=n(17),F=a(j),B=n(225),V=a(B),H=n(140),z=a(H),W=n(52),Y=(a(W),n(75)),K=(a(Y),n(82)),Q=a(K),Z=n(59),X=a(Z),J=n(57),q=a(J),$=n(717),ee=a($),te=n(85),ne=a(te),ae=n(495),oe=a(ae),re=n(14),ie=a(re),se=n(230),le=n(64),ue=a(le),fe=n(95),ce=a(fe),de=n(260),pe=a(de),he=n(1),ge=n(3),me=a(ge);n(2233);var ve=n(847),Ee=n(828),ye=a(Ee),_e=n(313),be=a(_e),Se=n(28),Ie=a(Se),Te=n(829),Ne=a(Te),Ae=n(830),Me=a(Ae),Ce=n(15),Oe=a(Ce),De=n(736),Le=a(De),Re=n(1350),xe=a(Re),we=n(825),Pe=n(1633),ke=a(Pe),Ue=n(1625),Ge=a(Ue),je=n(41),Fe=n(138),Be=a(Fe),Ve=n(500),He=a(Ve),ze=n(1316),We=a(ze),Ye=n(737),Ke=a(Ye),Qe=n(33),Ze=a(Qe),Xe="screenshare",Je={grey:{screenshare:n(2910),camera:n(1171),cameraOff:n(2920),cameraOffHover:n(2921),fullScreen:n(2902),fullScreenOff:n(2900),mute:n(2907),muteHover:n(2908),muteOff:n(2906),settings:n(2912),noChat:n(2918),halfChat:n(2914),largeChat:n(2916)},white:{screenshare:n(2911),camera:n(1173),cameraOff:n(2922),cameraOffHover:n(2923),fullScreen:n(2903),fullScreenOff:n(2901),mute:n(2909),muteHover:n(1169),muteOff:n(1170),settings:n(2913),noChat:n(2919),halfChat:n(2915),largeChat:n(2917)}},qe=function(e){var t=e.value,n=e.activeTooltip,a=e.inactiveTooltip,o=e.activeSrc,r=e.inactiveSrc,i=e.activeSrcHover,s=e.inactiveSrcHover,l=e.onChange;return f(Ze.default,{text:t?n:a},void 0,f(ye.default,{className:"toggle-button",value:t,activeSrc:o,inactiveSrc:r,activeSrcHover:i,inactiveSrcHover:s,onChange:l}))},$e=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.color,n=e.muted,a=e.onChange;return f(qe,{value:n,activeTooltip:me.default.Messages.UNMUTE,inactiveTooltip:me.default.Messages.MUTE,activeSrc:Je[t].mute,activeSrcHover:Je[t].muteHover,inactiveSrc:Je[t].muteOff,onChange:a})},t}(d.default.PureComponent),et=v.default.connectStores([D.default],function(){return{muted:D.default.isSelfMute()||D.default.isSelfMutedTemporarily()}})($e),tt=function(e){var t=e.color,n=e.onClick;return f(Ze.default,{text:me.default.Messages.USER_SETTINGS},void 0,f(be.default,{className:"action-button",src:Je[t].settings,onClick:n}))},nt=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._ringingSound=(0,se.createSound)("call_calling"),a._prevLayout=he.CallLayouts.MINIMUM,a._callRef=null,g.default.bindAll(a,["handleToggleCamera","handleStartVideo","handleStartScreenShare","handleToggleSelfMute","handleJoinCall","handleLeaveCall","handleOpenSettings","handleChangeLayout","handleFullScreen","handleScreenshare","handleOpenContextMenu","handleOpenUserContextMenu","handleCameraUnavailable","handleScreenshareUnavailable","renderScreensharePopout","setCallRef"]),a}return i(t,e),t.prototype.componentDidMount=function(){var e=this;ve.fullScreenChangeEvents.forEach(function(t){document.addEventListener(t,function(){(0,ve.isFullScreen)()||e.props.layout!==he.CallLayouts.FULL_SCREEN||e.handleFullScreen()})})},t.prototype.componentWillUnmount=function(){this.stopRinging(),ve.fullScreenChangeEvents.forEach(function(e){document.removeEventListener(e)})},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.onResize,a=t.call,o=t.participants,r=t.inCall;null!=n&&e.participants!==o&&n(),null==a?this.stopRinging():null!=e.call&&a.ringing.length===e.call.ringing.length||(a.ringing.length>0&&r&&o.some(function(e){return e.calling===he.CallMemberStates.IN_CALL})?this.startRinging():this.stopRinging())},t.prototype.handleFullScreen=function(){var e=(0,p.findDOMNode)(this._callRef);this.props.layout!==he.CallLayouts.FULL_SCREEN?(this._prevLayout=this.props.layout,this.handleChangeLayout(he.CallLayouts.FULL_SCREEN),(0,ve.requestFullScreen)(e)):(this.handleChangeLayout(this._prevLayout),(0,ve.exitFullScreen)())},t.prototype.handleStartVideo=function(){Q.default.setVideoEnabled(!0)},t.prototype.handleToggleCamera=function(e){e!==this.props.videoEnabled&&(Q.default.setVideoEnabled(e),this.handleStartScreenShare(!1),e||this.props.layout!==he.CallLayouts.FULL_SCREEN||this.handleFullScreen())},t.prototype.renderScreensharePopout=function(){return f(Ke.default,{onChange:this.handleScreenshare})},t.prototype.handleScreenshare=function(e){var t=e.value;ne.default.close(Xe),t===Ye.CHANGE_WINDOWS?oe.default.open(this.props.channel):Q.default.setDesktopSource(null)},t.prototype.handleScreensharePopout=function(e){(0,je.openPopout)(e.currentTarget,{position:we.PopoutPositions.TOP,render:this.renderScreensharePopout},Xe)},t.prototype.handleStartScreenShare=function(e,t){e!==this.props.screenSharingEnabled&&(e?oe.default.open(this.props.channel):t?this.handleScreensharePopout(t):Q.default.setDesktopSource(null),this.handleToggleCamera(!1))},t.prototype.handleChangeLayout=function(e){this.props.layout!==e&&ee.default.updateLayout(this.props.channel.id,e)},t.prototype.handleToggleSelfMute=function(){Q.default.toggleSelfMute()},t.prototype.handleLeaveCall=function(){this.props.layout===he.CallLayouts.FULL_SCREEN&&this.handleFullScreen(),X.default.selectVoiceChannel(null,null)},t.prototype.handleJoinCall=function(e){e===ke.default.Type.VIDEO&&Q.default.setVideoEnabled(!0),X.default.selectVoiceChannel(null,this.props.channel.id)},t.prototype.handleOpenSettings=function(){q.default.open(he.UserSettingsSections.VOICE)},t.prototype.handleOpenContextMenu=function(e){this.props.layout!==he.CallLayouts.MINIMUM&&this.handleOpenUserContextMenu(e,this.props.userOnScreen.id)},t.prototype.handleOpenUserContextMenu=function(e,t){var n=this;ue.default.openContextMenu(e,function(e){return d.default.createElement(ce.default,u({},e,{type:he.ContextMenuTypes.USER_GROUP_DM,user:G.default.getUser(t),channelId:n.props.channel.id}))})},t.prototype.handleCameraUnavailable=function(){var e=this,t=this.props.cameraGranted;ie.default.push(function(n){return d.default.createElement(He.default,u({},n,{title:me.default.Messages.CAMERA_UNAVAILABLE,description:t?me.default.Messages.CAMERA_NO_DEVICE:me.default.Messages.CAMERA_NO_ACCESS,confirmText:t?me.default.Messages.OKAY:me.default.Messages.CAMERA_ENABLE_ACCESS,onConfirm:t?ie.default.pop:e.handleStartVideo}))})},t.prototype.handleScreenshareUnavailable=function(){function e(){ie.default.push(Be.default,{source:"Screenshare Unavailable"})}ie.default.push(function(t){return d.default.createElement(He.default,u({},t,{title:me.default.Messages.SCREENSHARE_UNAVAILABLE,description:me.default.Messages.SCREENSHARE_UNAVAILABLE_DOWNLOAD_APP,confirmText:me.default.Messages.DOWNLOAD_APP,onConfirm:e}))})},t.prototype.renderRegionSelect=function(){var e=this.props,t=e.call,n=e.channel;if(e.layout===he.CallLayouts.FULL_SCREEN)return null;var a=void 0;return null==t||n.isManaged()||(a=f(We.default,{call:t})),f(Oe.default,{justify:Oe.default.Justify.END,className:"private-channel-call-info"},void 0,a)},t.prototype.renderParticipants=function(){var e=this.props,t=e.participants,n=e.mode,a=e.layout,o=e.channel,r=e.inCall,i=e.videoEnabled;return f(xe.default,{channelId:o.id,participants:t,mode:n,layout:a,inCall:r,videoEnabled:i,onContextMenu:this.handleOpenUserContextMenu})},t.prototype.renderLeftButtonGroups=function(e){var t=this.props,n=t.mode,a=t.layout;if(n===he.CallModes.VOICE||a===he.CallLayouts.FULL_SCREEN)return null;var o=[{value:he.CallLayouts.NORMAL,render:function(){return f(be.default,{className:"static-button",src:Je[e].halfChat})}},{value:he.CallLayouts.MINIMUM,render:function(){return f(be.default,{className:"static-button",src:Je[e].largeChat})}},{value:he.CallLayouts.NO_CHAT,render:function(){return f(be.default,{className:"static-button",src:Je[e].noChat})}}];return f(Oe.default,{className:"icons-wrapper side",align:Oe.default.Align.CENTER,grow:0},void 0,f(Ge.default,{value:this.props.layout,items:o,onChange:this.handleChangeLayout}))},t.prototype.renderRightButtonGroups=function(e){var t=this.props,n=t.mode,a=t.layout;return n===he.CallModes.VOICE?null:f(Oe.default,{className:"icons-wrapper side",align:Oe.default.Align.CENTER,grow:0},void 0,f(be.default,{className:"action-button",src:a===he.CallLayouts.FULL_SCREEN?Je[e].fullScreenOff:Je[e].fullScreen,onClick:this.handleFullScreen}))},t.prototype.renderVideoCallButton=function(e){var t=this.props,n=t.videoEnabled,a=t.cameraGranted,o=t.cameraDisabled;return a===!1||o===!0?f(Ze.default,{text:me.default.Messages.CAMERA_UNAVAILABLE},void 0,f(be.default,{className:"action-button unavailable",src:Je[e].camera,onClick:this.handleCameraUnavailable})):f(qe,{value:n,activeTooltip:me.default.Messages.CAMERA_OFF,inactiveTooltip:me.default.Messages.CAMERA_ON,activeSrc:Je[e].camera,inactiveSrc:Je[e].cameraOff,inactiveSrcHover:Je[e].cameraOffHover,onChange:this.handleToggleCamera})},t.prototype.renderScreenshareButton=function(e){var t=this.props,n=t.screenSharingEnabled,a=t.screenshareUnavailable;return t.layout===he.CallLayouts.FULL_SCREEN?null:a?f(Ze.default,{text:me.default.Messages.SCREENSHARE_UNAVAILABLE},void 0,f(be.default,{className:"action-button unavailable",src:Je[e].screenshare,onClick:this.handleScreenshareUnavailable})):f(qe,{value:n,activeTooltip:me.default.Messages.SCREEN_SHARE_OPTIONS,inactiveTooltip:me.default.Messages.SCREEN_SHARE_ON,activeSrc:Je[e].screenshare,inactiveSrc:Je[e].screenshare,onChange:this.handleStartScreenShare})},t.prototype.renderSettingsButton=function(e){return this.props.layout!==he.CallLayouts.FULL_SCREEN?f(tt,{color:e,onClick:this.handleOpenSettings}):null},t.prototype.renderActionButtonGroups=function(){var e=this.props,t=e.channel,n=e.mode,a=e.layout,o=e.inCall,r=e.theme,i=e.cameraGranted,s=e.cameraDisabled,l=e.video,u=t.isManaged();if(!o){var c=n===he.CallModes.VIDEO&&i&&!s?ke.default.Type.VIDEO:ke.default.Type.VOICE;return f(Oe.default,{className:"private-channel-call-actions",justify:Oe.default.Justify.CENTER},void 0,f(ke.default,{type:c,onClick:this.handleJoinCall}))}var d=r===he.ThemeTypes.LIGHT&&a===he.CallLayouts.MINIMUM?"grey":"white";return l?f(Oe.default,{className:"private-channel-call-actions",justify:Oe.default.Justify.BETWEEN},void 0,f(Oe.default,{basis:"50%"},void 0,this.renderLeftButtonGroups(d)),f(Oe.default,{className:"icons-wrapper center",align:Oe.default.Align.CENTER,justify:Oe.default.Justify.CENTER,grow:0},void 0,this.renderScreenshareButton(d),this.renderVideoCallButton(d),f(Ie.default,{className:"button-exit",color:Se.ButtonColors.RED,size:Se.ButtonSizes.SMALL,onClick:this.handleLeaveCall},void 0,u?me.default.Messages.DISCONNECT:me.default.Messages.LEAVE_CALL),f(et,{color:d,onChange:this.handleToggleSelfMute}),this.renderSettingsButton(d)),f(Oe.default,{justify:Oe.default.Justify.END,basis:"50%"},void 0,this.renderRightButtonGroups(d))):f(Oe.default,{className:"private-channel-call-actions",justify:Oe.default.Justify.CENTER},void 0,f(Oe.default,{className:"icons-wrapper center",align:Oe.default.Align.CENTER,justify:Oe.default.Justify.CENTER,grow:0},void 0,f(et,{color:d,onChange:this.handleToggleSelfMute}),f(Ie.default,{className:"button-exit voice",color:Se.ButtonColors.RED,size:Se.ButtonSizes.SMALL,onClick:this.handleLeaveCall},void 0,u?me.default.Messages.DISCONNECT:me.default.Messages.LEAVE_CALL),this.renderSettingsButton(d)))},t.prototype.renderBackground=function(){var e=this.props,t=e.layout,n=e.userOnScreen,a=e.videoEnabled,o=A.default.getStreamId(n.id);if(t!==he.CallLayouts.MINIMUM){var r=n.id===F.default.getId()&&a;return f(Le.default,{streamId:o,mirror:r,component:D.default.getMediaEngine().Video},void 0,f(Me.default,{user:n,avatarSize:Me.default.AvatarSizes.PROFILE}))}},t.prototype.render=function(){var e=this.props,t=e.participants,n=e.layout,a=e.userOnScreen,o=e.inCall,r=e.focused;return t&&t.length?d.default.createElement(Ne.default,{ref:this.setCallRef,className:"private-channel-call",animated:o,layout:n,focused:r,backgroundKey:a.id,background:this.renderBackground(),top:this.renderRegionSelect(),center:this.renderParticipants(),bottom:this.renderActionButtonGroups(),onContextMenu:this.handleOpenContextMenu}):null},t.prototype.setCallRef=function(e){this._callRef=e},t.prototype.startRinging=function(){this.props.disableSounds||R.default.isSoundDisabled("call_calling")||this._ringingSound.loop()},t.prototype.stopRinging=function(){this._ringingSound.stop()},t}(d.default.PureComponent),at=v.default.connectStores([_.default,S.default,T.default,D.default,C.default,w.default,k.default,z.default],function(e){var t=e.channel,n=e.video,a=_.default.getVisibleCallParticipants(),o=C.default.isInCall(t.id),r=n?_.default.getCallMode():he.CallModes.VOICE,i=(0,g.default)(D.default.getVideoDevices()).values().first(),s=null==i||i.disabled;return{channel:t,video:n,mode:r,participants:a,userOnScreen:w.default.getSpeaker(),call:T.default.getCall(t.id),inCall:o,layout:r===he.CallModes.VIDEO?T.default.getCallLayout(t.id):he.CallLayouts.MINIMUM,disableSounds:S.default.disableSounds,videoEnabled:D.default.isVideoEnabled(),screenSharingEnabled:D.default.isScreenSharing(),theme:k.default.theme,cameraGranted:D.default.isEnabled(),cameraDisabled:s||!D.default.isEnabled(),screenshareUnavailable:!D.default.supports(E.MediaEngineFeatures.DESKTOP_CAPTURE),focused:z.default.isOpen(Xe)||z.default.isOpen(ze.QUICK_REGION_SELECT_KEY)}})(nt);t.default=(0,pe.default)(V.default,(l={},l[he.ExperimentTypes.NONE]=function(e){return d.default.createElement(at,e)},l[he.ExperimentTypes.DEVELOPER]=(s={},s[he.ExperimentBuckets.CONTROL]=function(e){return d.default.createElement(at,u({video:!0},e))},s),l)),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s,l,u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),c=n(0),d=a(c),p=n(2),h=a(p),g=n(5),m=a(g),v=n(7),E=a(v),y=n(260),_=a(y),b=n(164),S=a(b),I=n(76),T=a(I),N=n(27),A=a(N),M=n(43),C=a(M),O=n(130),D=a(O),L=n(225),R=a(L),x=n(209),w=a(x),P=n(59),k=a(P),U=n(82),G=a(U),j=n(14),F=a(j),B=n(52),V=(a(B),n(1)),H=n(500),z=a(H),W=n(3),Y=a(W),K=n(181);n(2234);var Q=n(33),Z=a(Q),X=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return E.default.bindAll(a,["handleStartVoiceCall","handleJoinVoiceCall","handleStartVideoCall","handleJoinVideoCall","handleCameraUnavailable","handleEnableCamera"]),a}return i(t,e),t.prototype.renderVideoCallButton=function(){var e=this.props,t=e.inCall,a=e.callActive,o=e.callUnavailable,r=e.cameraGranted,i=e.cameraDisabled,s=e.notFriend,l=e.channel,u=e.mode;if(t||a&&u===V.CallModes.VOICE)return null;var c=l.isManaged(),d=void 0,p=void 0,h=s,g=void 0,v=n(1171),E=n(1173);return!r||i?(h=!0,g=this.handleCameraUnavailable,d=Y.default.Messages.CAMERA_UNAVAILABLE):o?(d=c?Y.default.Messages.VIDEO_UNAVAILABLE:Y.default.Messages.CALL_UNAVAILABLE,p=Z.default.ERROR):s?(d=c?Y.default.Messages.CONNECT:Y.default.Messages.START_VIDEO_CALL,g=this.props.clickRecipientButton):a&&u===V.CallModes.VIDEO?(g=this.handleJoinVideoCall,d=c?Y.default.Messages.CONNECT:Y.default.Messages.JOIN_VIDEO_CALL):(g=this.handleStartVideoCall,d=c?Y.default.Messages.CONNECT:Y.default.Messages.START_VIDEO_CALL),f(K.HeaderToolbarButton,{className:(0,m.default)("private-channel-call-btn",{disabled:h,unavailable:o}),onClick:g,tooltip:d,tooltipType:p,iconLight:v,iconDark:E,subscribeTo:V.ComponentActions.CALL_START})},t.prototype.renderVoiceCallButton=function(){var e=this.props,t=e.inCall,a=e.callActive,o=e.callUnavailable,r=e.notFriend,i=e.channel;if(t)return null;var s=i.isManaged(),l=void 0,u=void 0,c=void 0;return o?(l=s?Y.default.Messages.VOICE_UNAVAILABLE:Y.default.Messages.CALL_UNAVAILABLE,u=Z.default.ERROR):r?(l=s?Y.default.Messages.CONNECT:Y.default.Messages.START_VOICE_CALL,c=this.props.clickRecipientButton):a?(c=this.handleJoinVoiceCall,l=s?Y.default.Messages.CONNECT:Y.default.Messages.JOIN_VOICE_CALL):(c=this.handleStartVoiceCall,l=s?Y.default.Messages.CONNECT:Y.default.Messages.START_VOICE_CALL),f(K.HeaderToolbarButton,{className:(0,m.default)("private-channel-call-btn",{disabled:r,unavailable:o}),onClick:c,tooltip:l,tooltipType:u,iconLight:n(2898),iconDark:n(2899),subscribeTo:V.ComponentActions.CALL_START})},t.prototype.render=function(){return f("div",{className:"private-channel-call-btns-wrapper"},void 0,this.props.video?this.renderVideoCallButton():null,this.renderVoiceCallButton())},t.prototype.handleStartVoiceCall=function(e){var t=this.props.channel;k.default.selectVoiceChannel(null,t.id),t.isManaged()||!e||e.shiftKey||w.default.ring(t.id)},t.prototype.handleJoinVoiceCall=function(){k.default.selectVoiceChannel(null,this.props.channel.id)},t.prototype.handleStartVideoCall=function(e){this.handleEnableCamera(),this.handleStartVoiceCall(e)},t.prototype.handleJoinVideoCall=function(){this.handleEnableCamera(),this.handleJoinVoiceCall()},t.prototype.handleEnableCamera=function(){G.default.setVideoEnabled(!0)},t.prototype.handleCameraUnavailable=function(){var e=this,t=this.props.cameraGranted;F.default.push(function(n){return d.default.createElement(z.default,u({},n,{title:Y.default.Messages.CAMERA_UNAVAILABLE,description:t?Y.default.Messages.CAMERA_NO_DEVICE:Y.default.Messages.CAMERA_NO_ACCESS,confirmText:t?Y.default.Messages.OKAY:Y.default.Messages.CAMERA_ENABLE_ACCESS,onConfirm:t?F.default.pop:e.handleEnableCamera}))})},t}(d.default.PureComponent),J=h.default.connectStores([S.default,T.default,C.default,D.default,A.default],function(e){var t=e.channel,n=T.default.isInCall(t.id),a=(0,E.default)(A.default.getVideoDevices()).values().first(),o=null==a||a.disabled;return{channel:t,mode:D.default.getCallMode(),inCall:n,callActive:S.default.isCallActive(t.id),callUnavailable:S.default.isCallUnavailable(t.id),cameraGranted:A.default.isEnabled(),cameraDisabled:o||!A.default.isEnabled(),notFriend:t.type===V.ChannelTypes.DM&&!C.default.isFriend(t.getRecipientId())}})(X);t.default=(0,_.default)(R.default,(l={},l[V.ExperimentTypes.NONE]=function(e){return d.default.createElement(J,e)},l[V.ExperimentTypes.DEVELOPER]=(s={},s[V.ExperimentBuckets.CONTROL]=function(e){return d.default.createElement(J,u({video:!0},e))},s),l)),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(5),d=a(c),p=n(2),h=a(p),g=n(24),m=a(g),v=n(73),E=a(v),y=n(90),_=a(y),b=n(17),S=a(b),I=n(13),T=a(I),N=n(130),A=a(N),M=n(27),C=a(M),O=n(717),D=a(O),L=n(822),R=a(L),x=n(1);n(2127),n(939);var w={STEPS:23,FRAME_DURATION:17,FRAME_SIZE:26},P={SCALE_MIN:.7,SCALE_MAX:1,DURATION_IN:300,DURATION_OUT:170,EASING_IN:m.default.Easing.inOut(m.default.Easing.back()),EASING_OUT:m.default.Easing.quad},k={DURATION_IN:200,DURATION_OUT:125},U=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={scaleAnimation:new m.default.Value(0),spriteAnimation:new m.default.Value(0),spriteOpacity:new m.default.Value(0),widthAnimation:new m.default.Value(0)},a}return i(t,e),t.prototype.componentDidAppear=function(){var e=this.state,t=e.scaleAnimation,n=e.widthAnimation;t.setValue(1),n.setValue(1)},t.prototype.componentWillEnter=function(e){var t=this.state,n=t.scaleAnimation,a=t.widthAnimation;n.setValue(0),a.setValue(0),m.default.parallel([m.default.timing(n,{toValue:1,duration:P.DURATION_IN,easing:P.EASING_IN}),m.default.timing(a,{toValue:1,duration:k.DURATION_IN})]).start(e)},t.prototype.componentWillLeave=function(e){var t=this.state,n=t.scaleAnimation,a=t.spriteAnimation,o=t.spriteOpacity,r=t.widthAnimation;o.setValue(1),a.setValue(0);for(var i=[],s=0;s<w.STEPS;s++)i.push(m.default.timing(a,{toValue:-w.FRAME_SIZE*s,duration:w.FRAME_DURATION}));m.default.sequence([m.default.timing(n,{toValue:0,duration:P.DURATION_OUT,easing:P.EASING_OUT}),m.default.sequence(i),m.default.timing(r,{toValue:0,duration:k.DURATION_OUT})]).start(e)},t.prototype.getScaleStyle=function(){var e=this.state.scaleAnimation;return m.default.accelerate({transform:[{scale:e.interpolate({inputRange:[0,1],outputRange:[P.SCALE_MIN,P.SCALE_MAX]})}],opacity:e})},t.prototype.getSpriteStyle=function(){var e=this.state;return{backgroundPosition:e.spriteAnimation,opacity:e.spriteOpacity}},t.prototype.getWidthStyle=function(){var e=this.props.width+4+4;return{width:this.state.widthAnimation.interpolate({inputRange:[0,1],outputRange:["0px",e+"px"]})}},t.prototype.render=function(){var e=this.props,t=e.theme,n=e.children,a=t===x.ThemeTypes.DARK,o=(0,d.default)("sprite","cross",{white:a,grey:!a});return l(m.default.div,{className:"avatar-transition",style:this.getWidthStyle()},void 0,l("div",{className:"sprite-wrapper flex-horizontal flex-justify-center flex-align-center"},void 0,l(m.default.div,{className:o,style:this.getSpriteStyle()})),l(m.default.div,{style:this.getScaleStyle()},void 0,n))},t}(f.default.PureComponent),G=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleSelectParticipant=a.handleSelectParticipant.bind(a),a}return i(t,e),t.prototype.handleSelectParticipant=function(e){var t=this.props,n=t.mode,a=t.layout,o=t.selectedParticipantId,r=t.channelId;t.inCall&&n===x.CallModes.VIDEO&&(D.default.selectParticipant(o===e?null:e),a===x.CallLayouts.MINIMUM&&D.default.updateLayout(r,x.CallLayouts.NORMAL))},t.prototype.calculateAvatarSize=function(){for(var e=this.props,t=e.layout,n=e.windowWidth,a=e.participants,o=e.mode,r=t===x.CallLayouts.FULL_SCREEN||t===x.CallLayouts.NORMAL?L.CallAvatarSizes.XLARGE:L.CallAvatarSizes.XXLARGE,i=n-320,s=a?a.length:0,l=Object.keys(L.CallAvatarPixelSizes),u=0;u<l.length;u++){var f=L.CallAvatarPixelSizes[l[u]];if(!(f>L.CallAvatarPixelSizes[r])&&(o===x.CallModes.VIDEO&&(f*=L.CALL_AVATAR_VIDEO_RATIO),f+=16,i>s*f))return l[u]}return L.CallAvatarSizes.SMALL},t.prototype.render=function(){var e=this,t=this.props,n=t.participants,a=t.selectedParticipantId,o=t.theme,r=t.mode,i=t.inCall,s=t.videoEnabled,u=t.onContextMenu,f=this.calculateAvatarSize(),c=r===x.CallModes.VIDEO?L.CallAvatarPixelSizes[f]*L.CALL_AVATAR_VIDEO_RATIO:L.CallAvatarPixelSizes[f],d=n.find(function(e){return e.user.id===S.default.getId()}),p=null==d||d.calling!==x.CallMemberStates.IN_CALL,h=n.map(function(t){var n=t.speaking,d=t.user,h=t.streamId,g=t.voiceState,m=t.calling,v=d.id===S.default.getId()&&s,E=C.default.getMediaEngine(),y=E.Video;return l(U,{width:c,theme:o},d.id,l(R.default,{id:d.id,name:d.username,selected:a===d.id,speaking:n,mode:r,muted:g&&(g.mute||g.selfMute),deafen:g&&(g.deaf||g.selfDeaf),ringing:m===x.CallMemberStates.RINGING,src:d.getAvatarURL(),loading:g&&g.selfVideo,streamId:i&&h,mirror:v,size:f,onClick:e.handleSelectParticipant,onContextMenu:u,videoComponent:y,disabled:p}))});return l(E.default,{className:"private-channel-call-participants flex-horizontal flex-justify-center flex-align-end flex-spacer"},void 0,h)},t}(f.default.PureComponent);t.default=h.default.connectStores([_.default,A.default],function(e){return s({windowWidth:_.default.windowSize().width,selectedParticipantId:A.default.getSelectedParticipantId(),theme:T.default.theme},e)})(G),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(3),c=a(f),d=n(57),p=a(d),h=n(1613),g=a(h),m=n(348),v=n(1),E=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.handleEnableMFA=function(){p.default.open(v.UserSettingsSections.ACCOUNT)},t.prototype.componentWillUnmount=function(){(0,m.hideNotice)(v.ChannelNoticeTypes.MFA_WARNING)},t.prototype.render=function(){return s("div",{className:"channel-notice guild-mfa-warning"},void 0,s("div",{className:"message"},void 0,c.default.Messages.TWO_FA_GUILD_MFA_WARNING.format({onClick:this.handleEnableMFA})))},t}(u.default.PureComponent);E.Type=v.ChannelNoticeTypes.MFA_WARNING,E.Store=g.default,t.default=E,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o,r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(6),c=a(f),d=n(5),p=a(d),h=n(3),g=a(h),m=n(2),v=a(m),E=n(144),y=a(E),_=n(28),b=a(_),S=n(19),I=a(S),T=n(1614),N=a(T),A=n(54),M=a(A),C=n(14),O=a(C),D=n(256),L=a(D),R=n(497),x=a(R),w=n(348),P=n(1),k=n(533),U=a(k),G=n(260),j=a(G),F="Invite Notice",B=function(e){var t=e.onClick;return s("div",{className:"message"},void 0,s("div",{},void 0,g.default.Messages.INVITE_NOTICE_MESSAGE),s("div",{},void 0,g.default.Messages.INVITE_NOTICE_MESSAGE_PART_2),s("button",{className:"btn",onClick:t},void 0,g.default.Messages.INVITE_PEOPLE))},V=function(e){var t=e.invite,n=e.onClick,a=null==t?s("div",{className:"placeholder"},void 0,s(y.default,{value:g.default.Messages.INVITE_LINK_PLACEHOLDER,disabled:!0}),s(b.default,{className:"ui-input-button margin-top-8",onClick:n,size:b.default.Sizes.MIN,color:b.default.Colors.BRAND,look:b.default.Looks.FILLED},void 0,g.default.Messages.CREATE_LINK)):s(x.default,{code:t.code,copyText:g.default.Messages.COPY_LINK,location:F,isVertical:!0});return s("div",{className:"message"},void 0,s("div",{className:"description"},void 0,s("div",{className:"title"},void 0,g.default.Messages.INVITE_NOTICE_TITLE),s("div",{},void 0,g.default.Messages.INVITE_NOTICE_BODY)),a)},H=s("div",{className:"header-tint"}),z=u.default.createClass({displayName:"InviteNotice",mixins:[c.default,v.default.StoreListenerMixin(U.default)],getStateFromStores:function(){return{invite:U.default.getInvite(this.props.guild.id)}},handleInvite:function(){var e=this.props.guild;O.default.push(L.default,{guild:e,source:"Invite Notice"})},handleCreateInvite:function(){var e=this.props.guild;null!=e.id&&(0,w.handleForceCreateInvite)(e.id)},handleClose:function(){var e=I.default.getChannelId();(0,w.hideNotice)(P.ChannelNoticeTypes.INVITE),e&&M.default.sendBotMessage(e,g.default.Messages.HOW_TO_INVITE_OTHERS.format({invitePeople:g.default.Messages.INVITE_PEOPLE}))},render:function(){var e=this.props,t=e.experiment;t=void 0===t?{}:t;var n=t.bucket,a=void 0===n?P.ExperimentBuckets.NOT_ELIGIBLE:n,o=e.guild,r=this.state.invite,i=[P.ExperimentBuckets.TREATMENT_1,P.ExperimentBuckets.TREATMENT_3].includes(a);return s("div",{className:(0,p.default)("channel-notice","invite",{new:i})},void 0,!U.default.isForceShowEligible(o.id)&&s("div",{className:"close",onClick:this.handleClose}),i&&H,i?s(V,{invite:r,onClick:this.handleCreateInvite}):s(B,{onClick:this.handleInvite}))}});z.Type=P.ChannelNoticeTypes.INVITE,z.Store=N.default;var W=function(e,t){return u.default.createElement(z,i({},e,{experiment:t}))},Y=(0,j.default)(U.default,(r={},r[P.ExperimentTypes.NONE]=function(e){return u.default.createElement(z,e)},r[P.ExperimentTypes.USER]=(o={},o[P.ExperimentBuckets.CONTROL]=W,o[P.ExperimentBuckets.TREATMENT_1]=W,o[P.ExperimentBuckets.TREATMENT_2]=W,o[P.ExperimentBuckets.TREATMENT_3]=W,o[P.ExperimentBuckets.TREATMENT_4]=W,o),r));Y.Type=P.ChannelNoticeTypes.INVITE,Y.Store=N.default,t.default=Y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(3)),s=a(i),l=n(348),u=n(354),f=n(768),c=n(360),d=n(1),p=n(527),h=a(p),g=function(){var e=f.QUICKSWITCHER_SHOW.binds[0].split("+").map(function(e){return c.PRETTY_KEYS[e]?c.PRETTY_KEYS[e]():e}).join(" + ");return o("div",{className:"channel-notice quickswitcher-notice"},void 0,o("div",{className:"close",onClick:function(){return(0,l.hideNotice)(d.ChannelNoticeTypes.QUICKSWITCHER)}}),o("div",{className:"message"},void 0,o("div",{},void 0,s.default.Messages.QUICKSWITCHER_NOTICE),o("button",{className:"btn",onClick:function(){return(0,u.show)("CHANNEL_NOTICE")}},void 0,e)))};g.Type=d.ChannelNoticeTypes.QUICKSWITCHER,g.Store=h.default,t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.channel,n=e.canManageRoles,a=e.canManageChannels,o=e.canManageWebhooks;return[{section:z.SectionTypes.HEADER,label:null!=t&&t.toString(!0)||m.default.Messages.CHANNEL_SETTINGS},{section:W.ChannelSettingsSections.OVERVIEW,label:m.default.Messages.OVERVIEW,element:D.default,notice:{element:O.ChannelSettingsOverviewNotice,store:E.default}},{section:W.ChannelSettingsSections.PERMISSIONS,label:m.default.Messages.PERMISSIONS,element:k.default,type:z.ContentTypes.MINIMAL,notice:{element:P.ChannelSettingsPermissionsNotice,store:_.default},predicate:function(){return n}},{section:W.ChannelSettingsSections.INSTANT_INVITES,label:m.default.Messages.INVITES,element:R.default,type:z.ContentTypes.CUSTOM,predicate:function(){return a}},{section:W.ChannelSettingsSections.WEBHOOKS,label:m.default.Messages.WEBHOOKS,element:w.default,predicate:function(){return o}},{section:z.SectionTypes.DIVIDER,predicate:function(){return null!=t&&!t.isDefaultChannel()}},{section:W.ChannelSettingsSections.DELETE,onClick:function(){var e=t.toString();t.type!==W.ChannelTypes.GUILD_VOICE&&(e="#"+e),F.default.push(function(n){return d.default.createElement(A.default,f({},n,{header:m.default.Messages.DELETE_CHANNEL,cancelText:m.default.Messages.NO_TEXT,confirmText:m.default.Messages.YES_TEXT,onConfirm:function(){H.ComponentDispatch.subscribeOnce(W.ComponentActions.LAYER_POP_COMPLETE,function(){(0,G.deleteChannel)(t.id)}),(0,U.popLayer)()}}),m.default.Messages.DELETE_CHANNEL_BODY.format({channelName:e}))})},label:m.default.Messages.DELETE_CHANNEL,className:"danger",predicate:function(){return null!=t&&!t.isDefaultChannel()}}]}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;V.default.trackWithMetadata(W.AnalyticEvents.SETTINGS_PANE_VIEWED,{settings_type:"channel",origin_pane:t,destination_pane:e})}t.__esModule=!0;var u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=n(0),d=a(c),p=n(2),h=a(p),g=n(3),m=a(g),v=n(264),E=a(v),y=n(794),_=a(y),b=n(65),S=a(b),I=n(13),T=a(I),N=n(60),A=a(N),M=n(510),C=a(M),O=n(1356),D=a(O),L=n(1355),R=a(L),x=n(1358),w=a(x),P=n(1357),k=a(P),U=n(102),G=n(295),j=n(14),F=a(j),B=n(122),V=a(B),H=n(36),z=n(218),W=n(1),Y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.componentDidMount=function(){l(this.props.section)},t.prototype.componentDidUpdate=function(e){var t=e.formState,n=e.section,a=this.props,o=a.formState,r=a.section,i=a.canManageRoles,s=a.canManageChannels,u=a.canManageWebhooks;!s||o===W.FormStates.CLOSED&&o!==t||!i&&r===W.ChannelSettingsSections.PERMISSIONS||!u&&r===W.ChannelSettingsSections.WEBHOOKS?(0,U.popLayer)():r!==n&&l(r,n)},t.prototype.render=function(){var e=this.props,t=e.theme,n=e.section;return u(C.default,{theme:t,section:n,onSetSection:G.setSection,onClose:U.popLayer,sections:s(this.props)})},t}(d.default.PureComponent),K=h.default.connectStores([E.default,T.default,S.default],function(){var e=E.default.getProps(),t=e.channel;return{channel:t,canManageRoles:S.default.can(W.Permissions.MANAGE_ROLES,t),canManageChannels:S.default.can(W.Permissions.MANAGE_CHANNELS,t),canManageWebhooks:t.type===W.ChannelTypes.GUILD_TEXT&&S.default.can(W.Permissions.MANAGE_WEBHOOKS,t),formState:E.default.getFormState(),theme:T.default.theme,section:E.default.getSection()}})(Y);K.onPop=G.close,t.default=K,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(2),i=a(r),s=n(264),l=a(s),u=n(13),f=a(u),c=n(12),d=a(c),p=n(31),h=a(p),g=n(751),m=a(g),v=i.default.connectStores([l.default,h.default],function(){var e=l.default.getProps(),t=e.channel;return o({guild:d.default.getGuild(t.getGuildId()),theme:f.default.theme,hide:h.default.hideInstantInvites},l.default.getInvites())})(m.default);t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.ChannelSettingsOverviewNotice=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2),c=a(f),d=n(7),p=a(d),h=n(3),g=a(h),m=n(163),v=a(m),E=n(15),y=a(E),_=n(77),b=n(144),S=a(b),I=n(538),T=a(I),N=n(110),A=a(N),M=n(537),C=a(M),O=n(304),D=a(O),L=n(295),R=n(12),x=a(R),w=n(264),P=a(w),k=n(13),U=a(k),G=n(52),j=(a(G),n(1)),F=(t.ChannelSettingsOverviewNotice=c.default.connectStores([P.default],function(){var e=P.default.getProps(),t=e.channel;return{channel:t,submitting:e.submitting,onReset:function(){(0,L.init)(t.id)},onSave:function(){var e=t.name,n=t.topic,a=t.bitrate,o=t.userLimit;(0,L.saveChannel)(t.id,{name:e,topic:n,bitrate:a,userLimit:o})}}})(D.default),s(_.FormDivider,{className:"margin-top-40 margin-bottom-40"})),B=s(_.FormDivider,{className:"margin-top-40 margin-bottom-40"}),V=s(_.FormDivider,{className:"margin-top-40 margin-bottom-40"}),H=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return p.default.bindAll(a,["handleChangeName","handleChangeTopic","handleChangeBitrate","handleUserLimitChange","handleNSFWChange"]),a}return i(t,e),t.prototype.getError=function(e){var t=this.props.errors;return t&&t[e]?t[e]:""},t.prototype.renderChannelInfo=function(){var e=this.props.channel,t=void 0,n=void 0;return e.type===j.ChannelTypes.GUILD_TEXT&&(t=s(_.FormItem,{title:g.default.Messages.FORM_LABEL_CHANNEL_TOPIC,className:"margin-top-20"},void 0,s(T.default,{placeholder:g.default.Messages.CHANNEL_TOPIC_EMPTY,value:v.default.translateSurrogatesToInlineEmoji(e.topic),onChange:this.handleChangeTopic,error:this.getError("topic"),maxLength:1024})),n=s("div",{},void 0,F,s(A.default,{note:g.default.Messages.FORM_HELP_NSFW,onChange:this.handleNSFWChange,value:e.isNSFW(),hideBorder:!0},void 0,g.default.Messages.FORM_LABEL_NSFW_CHANNEL),B)),s("div",{},void 0,s(_.FormItem,{title:g.default.Messages.FORM_LABEL_CHANNEL_NAME},void 0,s(S.default,{value:e.toString(),onChange:this.handleChangeName,error:this.getError("name"),autoFocus:!0})),t,n)},t.prototype.renderBitrate=function(e){return Math.round(e/1e3)+"kbps"},t.prototype.renderVoiceBitrate=function(){var e=this.props,t=e.channel,n=e.guild;if(t.type===j.ChannelTypes.GUILD_TEXT)return null;var a=n&&n.hasFeature(j.GuildFeatures.VIP_REGIONS)?j.BITRATE_MAX_VIP:j.BITRATE_MAX;return s(y.default,{direction:y.default.Direction.VERTICAL,className:"margin-bottom-40"},void 0,s(_.FormTitle,{},void 0,g.default.Messages.FORM_LABEL_BITRATE),s(_.FormText,{type:_.FormTextTypes.DESCRIPTION,style:{color:j.Colors.STATUS_RED},className:"margin-bottom-8"},void 0,this.getError("bitrate")),s(C.default,{defaultValue:Math.min(t.bitrate,a),onValueChange:this.handleChangeBitrate,onValueRender:this.renderBitrate,onMarkerRender:this.renderBitrate,markers:[j.BITRATE_MIN,j.BITRATE_DEFAULT,a],minValue:j.BITRATE_MIN,maxValue:a}),s(_.FormText,{type:_.FormTextTypes.DESCRIPTION},void 0,g.default.Messages.FORM_HELP_BITRATE.format({bitrate:j.BITRATE_DEFAULT/1e3})))},t.prototype.onRenderUserLimit=function(e){return e=Math.round(e),0===e?g.default.Messages.NO_USER_LIMIT:g.default.Messages.NUM_USERS.format({num:e})},t.prototype.renderUserLimit=function(){var e=this.props.channel;return e.type===j.ChannelTypes.GUILD_TEXT?null:s(y.default,{direction:y.default.Direction.VERTICAL},void 0,s(_.FormTitle,{},void 0,g.default.Messages.FORM_LABEL_USER_LIMIT),s(_.FormText,{type:_.FormTextTypes.DESCRIPTION,style:{color:j.Colors.STATUS_RED},className:"margin-bottom-8"},void 0,this.getError("user_limit")),s(C.default,{defaultValue:Math.min(e.userLimit,j.MAX_VOICE_USER_LIMIT),onValueChange:this.handleUserLimitChange,onValueRender:this.onRenderUserLimit,onMarkerRender:function(e){return 0===Math.round(e)?"∞":e},markers:[0,j.MAX_VOICE_USER_LIMIT],minValue:0,maxValue:j.MAX_VOICE_USER_LIMIT}),s(_.FormText,{type:_.FormTextTypes.DESCRIPTION},void 0,g.default.Messages.FORM_HELP_USER_LIMIT.format()))},t.prototype.renderJuiceImage=function(){var e=this.props.theme,t=n(e===j.ThemeTypes.DARK?3039:3040);return s(y.default,{justify:y.default.Justify.CENTER,className:"margin-top-60"},void 0,s("img",{width:280,height:165,src:t}))},t.prototype.render=function(){var e=this.props,t=e.channel;if(null==e.guild)throw new Error("[ChannelSettingsOverview]: Guild prop is null, which it should never be");return s(_.FormSection,{className:"channel-settings-overview",tag:_.FormTitleTags.H2,title:g.default.Messages.OVERVIEW},void 0,this.renderChannelInfo(),t.type===j.ChannelTypes.GUILD_VOICE?V:null,this.renderVoiceBitrate(),this.renderUserLimit(),this.renderJuiceImage())},t.prototype.handleChangeName=function(e){(0,L.updateChannel)({name:e})},t.prototype.handleChangeTopic=function(e){(0,L.updateChannel)({topic:v.default.translateInlineEmojiToSurrogates(e)})},t.prototype.handleChangeBitrate=function(e){(0,L.updateChannel)({bitrate:1e3*Math.round(e/1e3)})},t.prototype.handleUserLimitChange=function(e){(0,L.updateChannel)({userLimit:Math.round(e)})},t.prototype.handleNSFWChange=function(e){var t=this.props.channel,n=t.name;e.currentTarget.checked?t.isNSFW()||(n=0===n.trim().length?"nsfw":"nsfw-"+n):t.isNSFW()&&(n=n.replace(G.NSFW_RE,"")),t.name!==n&&this.handleChangeName(n)},t}(u.default.PureComponent);t.default=c.default.connectStores([P.default,U.default],function(){var e=P.default.getProps(),t=e.errors,n=e.channel;return{errors:t,channel:n,submitting:e.submitting,theme:U.default.theme,guild:x.default.getGuild(n.getGuildId())}})(H)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.ChannelSettingsPermissionsNotice=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(2),d=a(c),p=n(3),h=a(p),g=n(7),m=a(g),v=n(722),E=a(v),y=n(41),_=a(y),b=n(740),S=a(b),I=n(747),T=a(I),N=n(383),A=a(N),M=n(824),C=a(M),O=n(15),D=a(O),L=n(304),R=a(L),x=n(191),w=a(x),P=n(28),k=a(P),U=n(50),G=a(U),j=n(79),F=a(j),B=n(1235),V=n(107),H=a(V),z=n(12),W=a(z),Y=n(264),K=a(Y),Q=n(10),Z=a(Q),X=n(13),J=a(X),q=n(34),$=a(q),ee=n(794),te=a(ee),ne=n(55),ae=a(ne),oe=n(71),re=a(oe),ie=n(1);n(2128);var se={paddingTop:60,paddingBottom:80,paddingLeft:20,paddingRight:20,color:"#fff"},le={ROLE:"role",MEMBER:"member"},ue=(t.ChannelSettingsPermissionsNotice=d.default.connectStores([te.default,K.default],function(){var e=K.default.getChannel();return{submitting:te.default.formState===ie.FormStates.SUBMITTING,onReset:function(){(0,B.init)()},onSave:function(){var t=te.default.editedPermissionIds.map(function(e){return te.default.getPermissionOverwrite(e)});(0,B.savePermissionUpdates)(e.id,t)}}})(R.default),function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.generalSpec=ae.default.generateChannelGeneralPermissionSpec(),a.textSpec=ae.default.generateChannelTextPermissionSpec(),a.voiceSpec=ae.default.generateChannelVoicePermissionSpec(),a.handlePermissionChange=a.handlePermissionChange.bind(a),a.handlePermissionRender=a.handlePermissionRender.bind(a),a.handleDeletePermission=a.handleDeletePermission.bind(a),a}return i(t,e),t.prototype.getOverwriteName=function(){var e=this.props,t=e.channel.guild_id,n=e.overwrite.id,a=W.default.getGuild(t);if(null==a)return"";var o=a.getRole(n),r=Z.default.getUser(n);return o?o.name:r.username},t.prototype.handlePermissionRender=function(e){return!!this.props.channel.isDefaultChannel()&&e&ie.Permissions.READ_MESSAGES},t.prototype.handlePermissionChange=function(e,t){var a,o=this.props,r=o.overwrite,i=o.channel,s=r.id,u=r.allow,f=r.deny;switch(f^=f&e,u^=u&e,t){case"ALLOW":u|=e;break;case"DENY":f|=e}if(ae.default.can(e,Z.default.getCurrentUser(),i,(a={},a[s]=l({},r,{allow:u,deny:f}),a)))(0,B.updatePermission)(s,u,f);else{var c=void 0;if("member"===r.type){var d=Z.default.getUser(r.id);null!=d&&(c=d.toString())}else if("role"===r.type){var p=W.default.getGuild(i.guild_id);if(null!=p){var g=p.getRole(r.id);null!=g&&(c=g.name)}}H.default.show({title:h.default.Messages.SELF_DENY_PERMISSION_TITLE,body:h.default.Messages.SELF_DENY_PERMISSION_BODY.format({name:c}),cancelText:h.default.Messages.HELP_DESK,onCancel:function(){window.open(re.default.getArticleURL(218449248))},iconUrl:n(681)})}},t.prototype.handleDeletePermission=function(){var e=this.props,t=e.channel.id,a=e.overwrite.id,o=this.getOverwriteName();H.default.show({title:h.default.Messages.SETTINGS_PERMISSIONS_DELETE_TITLE,body:h.default.Messages.SETTINGS_PERMISSIONS_DELETE_BODY.format({name:o}),cancelText:h.default.Messages.CANCEL,onConfirm:function(){return F.default.clearPermissionOverwrite(t,a)},iconUrl:n(681)})},t.prototype.renderTextPermissions=function(){if(this.props.type!==ie.ChannelTypes.GUILD_TEXT)return null;var e=this.props.overwrite;return s(T.default,{spec:this.textSpec,allow:e.allow,deny:e.deny,onChange:this.handlePermissionChange,permissionRender:this.handlePermissionRender})},t.prototype.renderVoicePermissions=function(){if(this.props.type!==ie.ChannelTypes.GUILD_VOICE)return null;var e=this.props.overwrite;return s(T.default,{spec:this.voiceSpec,allow:e.allow,deny:e.deny,onChange:this.handlePermissionChange,permissionRender:this.handlePermissionRender})},t.prototype.renderRemoveButton=function(){var e=this.props;return e.channel.guild_id===e.overwrite.id?null:s(k.default,{look:k.default.Looks.OUTLINED,color:k.default.Colors.RED,onClick:this.handleDeletePermission},void 0,h.default.Messages.REMOVE_ROLE_OR_USER.format({name:this.getOverwriteName()}))},t.prototype.render=function(){var e=this.props.overwrite;return s(C.default.Content,{style:se},void 0,s(T.default,{spec:this.generalSpec,allow:e.allow,deny:e.deny,onChange:this.handlePermissionChange,className:"margin-bottom-40",permissionRender:this.handlePermissionRender}),this.renderTextPermissions(),this.renderVoicePermissions(),this.renderRemoveButton())},t}(f.default.PureComponent)),fe=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return m.default.bindAll(a,["handlerFilterResults","handleCreateOverwrite"]),a}return i(t,e),t.prototype.renderResult=function(e,t){if(0===t){var n=void 0;return e.colorString&&(n={color:e.colorString}),s("span",{style:n},void 0,e.name)}var a=e.avatarURL||e.getAvatarURL("jpg");return s(D.default,{align:D.default.Align.CENTER},void 0,s(w.default,{size:w.default.Sizes.SMALL,src:a}),s("span",{className:"user-name"},void 0,e.toString()))},t.prototype.render=function(){return s(E.default,{className:"channel-settings-permissions-popout",label:h.default.Messages.OVERWRITE_AUTOCOMPLETE_LABEL,placeholder:h.default.Messages.OVERWRITE_AUTOCOMPLETE_PLACEHOLDER,sections:[h.default.Messages.ROLES,h.default.Messages.MEMBERS],onRenderResult:this.renderResult,onFilterResults:this.handlerFilterResults,onSelect:this.handleCreateOverwrite,onClose:this.props.onClose})},t.prototype.handlerFilterResults=function(e,t){var n=this.props.permissionOverwrites;return 0===t?(0,m.default)(this.props.guild.roles).filter(function(t){return null==n[t.id]&&e(t.name)}).sortBy(function(e){return-e.position}).value():(0,m.default)($.default.getMemberIds(this.props.guild.id)).map(Z.default.getUser).filter(function(e){return null!=e}).filter(function(t){return null==n[t.id]&&e(t.username.toLowerCase())}).sortBy(function(e){return e.username.toLowerCase()}).value()},t.prototype.handleCreateOverwrite=function(e,t){0===t?this.props.onSelect(e.id,le.ROLE):1===t&&this.props.onSelect(e.id,le.MEMBER)},t}(f.default.PureComponent),ce=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return m.default.bindAll(a,["renderRole","renderMember","renderCreateOverwritePopout","renderHeader","handleCreatePermissionOverwrite"]),a}return i(t,e),t.prototype.renderRole=function(e){var t=this.props,n=t.selectedOverwriteId,a=t.theme;return s(S.default,{theme:a,id:e.id,color:e.colorString},n+"-"+e.id,e.name)},t.prototype.renderMember=function(e){var t=this.props,n=t.selectedOverwriteId,a=t.theme,o=e.avatarURL||e.getAvatarURL("jpg");return s(S.default,{id:e.id,theme:a},n+"-"+e.id,s(D.default,{align:D.default.Align.CENTER},void 0,s(w.default,{size:w.default.Sizes.XSMALL,src:o}),s("span",{className:"user-name"},void 0,e.toString())))},t.prototype.renderCreateOverwritePopout=function(e){return f.default.createElement(fe,l({},this.props,{onSelect:this.handleCreatePermissionOverwrite},e))},t.prototype.renderHeader=function(){var e=n(this.props.theme===ie.ThemeTypes.DARK?1181:1180);return s(_.default,{render:this.renderCreateOverwritePopout,position:_.default.BOTTOM},void 0,s(N.TabBarHeader,{},void 0,s(D.default,{className:"sidebar-header",justify:D.default.Justify.BETWEEN,align:D.default.Align.CENTER},void 0,s("span",{},void 0,h.default.Messages.ROLES,"/",h.default.Messages.MEMBERS),s("img",{className:"add-role-icon",src:e}))))},t.prototype.renderHelpfulNote=function(){return s("div",{},void 0,s("div",{className:"ui-tab-bar-separator margin-top-20",style:{marginBottom:14}}),s(G.default,{type:U.Types.DESCRIPTION},void 0,s("a",{href:re.default.getArticleURL(206029707),target:"_blank"},void 0,h.default.Messages.PERMISSION_HELPDESK)))},t.prototype.render=function(){var e=this.props,t=e.guild,n=e.selectedOverwriteId,a=e.theme,o=e.permissionOverwrites;null==o[t.id]&&(o[t.id]=ae.default.makeEveryoneOverwrite(t.id));var r=(0,m.default)(o).filter(function(e){return e.type===le.ROLE}).map(function(e){return t.getRole(e.id)}).filter(function(e){return null!=e}).sortBy(function(e){return-e.position}).map(this.renderRole).value(),i=(0,m.default)(o).filter(function(e){return e.type===le.MEMBER}).map(function(e){return Z.default.getUser(e.id)}).filter(function(e){return null!=e}).sortBy(function(e){return e.username.toLowerCase()}).map(this.renderMember).value();return s(C.default.Sidebar,{style:l({},se,{overflow:"hidden"}),scrollable:!0,theme:a},void 0,s(A.default,{onItemSelect:B.selectPermission,selectedItem:n},void 0,this.renderHeader(),r,i,this.renderHelpfulNote()))},t.prototype.handleCreatePermissionOverwrite=function(e,t){var n=this.props.channel;F.default.updatePermissionOverwrite(n.id,{id:e,type:t,allow:ae.default.NONE,deny:ae.default.NONE},!0).then(function(){return(0,B.selectPermission)(e)})},t}(f.default.PureComponent),de=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.selectedOverwriteId,n=e.permissionOverwrites,a=e.channel,o=n[t];return s(C.default,{className:"channel-settings-permissions"},void 0,f.default.createElement(ce,this.props),s(ue,{type:a.type,channel:a,overwrite:o}))},t}(f.default.PureComponent);t.default=d.default.connectStores([K.default,W.default,te.default,J.default],function(){var e=K.default.getChannel();return{permissionOverwrites:te.default.permissionOverwrites,selectedOverwriteId:te.default.selectedOverwriteId,channel:e,guild:W.default.getGuild(e.getGuildId()),theme:J.default.theme}})(de)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),r=a(o),i=n(264),s=a(i),l=n(12),u=a(l),f=n(752),c=a(f);t.default=r.default.connectStores([s.default],function(){var e=s.default.getChannel();return{guild:u.default.getGuild(e.getGuildId()),channel:e}})(c.default),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(72),f=a(u),c=n(272);n(2162);var d="button",p=i.default.createClass({displayName:"ClipboardInput",mixins:[f.default],getInitialState:function(){return{copied:!1}},handleSelectAll:function(e){e.currentTarget.select()},handleCopy:function(){this.clearTimeout(),this.setTimeout(this.handleClearTimeout,500),this.setState({copied:!0}),(0,c.copy)(this.props.copyValue),this.props.onCopy&&this.props.onCopy()},handleClearTimeout:function(){this.isMounted()&&this.setState({copied:!1})},render:function(){var e=(0,l.default)(this.props.className,"clipboard-input",{"clipboard-input-copied":this.state.copied}),t=void 0;return c.SUPPORTS_COPY&&(t=i.default.createElement("button",{ref:d,type:"button",onClick:this.handleCopy,className:(0,l.default)("copy","flash",{icon:!this.props.copyText})},this.props.copyText)),o("div",{className:e,style:this.props.style},void 0,o("div",{className:"clipboard-input-inner"},void 0,o("input",{value:this.props.visibleValue||this.props.copyValue,onClick:this.handleSelectAll,readOnly:!0}),t))}});t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(41),d=a(c),p=n(33),h=a(p),g=n(1626),m=a(g),v=n(85),E=a(v),y=n(3),_=a(y),b="CUSTOM_COLOR_POPOUT_ID",S=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={customColor:null},a.renderDefaultButton=a.renderDefaultButton.bind(a),a.renderCustomButton=a.renderCustomButton.bind(a),a.renderCustomColorPopout=a.renderCustomColorPopout.bind(a),a.handleOnChange=a.handleOnChange.bind(a),a.handleCustomOnChange=a.handleCustomOnChange.bind(a),a._removeEventListener=a._removeEventListener.bind(a),a}return i(t,e),t.prototype.componentWillReceiveProps=function(e){var t=e.value,n=e.defaultColor,a=e.colors;0===t||t===n||a.some(function(e){return e===t})?this.setState({customColor:null}):this.setState({customColor:t})},t.prototype._closeCustomColorPicker=function(){E.default.close(b)},t.prototype._removeEventListener=function(){window.removeEventListener("wheel",this._closeCustomColorPicker)},t.prototype.renderCustomColorPopout=function(){return this._removeEventListener(),window.addEventListener("wheel",this._closeCustomColorPicker),l(g.CustomColorPicker,{onChange:this.handleCustomOnChange,value:this.state.customColor,onClose:this._removeEventListener})},t.prototype.renderCustomButton=function(e){var t=f.default.createElement(g.CustomColorButton,e);return e.disabled?t:l(d.default,{uniqueId:b,shadow:!1,render:this.renderCustomColorPopout,position:d.default.BOTTOM,zIndexBoost:1e3,tooltip:_.default.Messages.CUSTOM_COLOR,tooltipPosition:h.default.BOTTOM},void 0,l("div",{},void 0,t))},t.prototype.renderDefaultButton=function(e){var t=f.default.createElement(g.DefaultColorButton,e);return this.props.disabled?t:l(h.default,{text:_.default.Messages.DEFAULT,position:h.default.BOTTOM},void 0,l("div",{},void 0,t))},t.prototype.render=function(){return f.default.createElement(m.default,s({},this.props,{renderDefaultButton:this.renderDefaultButton,renderCustomButton:this.renderCustomButton,customColor:this.state.customColor,onChange:this.handleOnChange}))},t.prototype.handleOnChange=function(e){var t=this.props.onChange;t&&t(e),this.setState({customColor:null})},t.prototype.handleCustomOnChange=function(e){var t=this.props.onChange;t&&t(e),this.setState({customColor:e})},t}(f.default.PureComponent);t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(5)),s=a(i);n(2164);var l=o("g",{fill:"none",fillRule:"evenodd"},void 0,o("path",{d:"M0 0h18v18H0"}),o("path",{stroke:"#FFF",d:"M4.5 4.5l9 9",strokeLinecap:"round"}),o("path",{stroke:"#FFF",d:"M13.5 4.5l-9 9",strokeLinecap:"round"})),u=function(e){var t=e.open;return o("svg",{width:"18",height:"18",className:(0,s.default)("dropdown-button",{open:t})},void 0,l)};t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.default.DEFAULT_CARD_TYPE;if(!e.length)return N.default.Messages.CREDIT_CARD_NUMBER;for(var n=b.default.cleanCardNumber(e),a=n.length,o=t.lengths[t.lengths.length-1],r=t.gaps,i=[],s=0;s<o;)r.indexOf(s)>=0&&i.push(" "),s<a?i.push(" "):i.push("·"),s+=1;return i.join("")}function r(e){var t=e.split("/");return 2===t.length&&2===t[1].length}function i(e){var t=e.replace(D,"").split("/"),n=t[0],a=t[1],o=[];return parseInt(n,10)>12&&(n=n.substring(0,1)),o.push(n),(parseInt(n,10)>1||2===n.length||a)&&o.push("/"),a&&parseInt(a,10)>99&&(a=(a+"").substring(0,2)),o.push(a),o.join("")}function s(e){var t="";if(!e)return"MM/YY";var n=e.split("/");return n[0]=n[0].replace(L," "),1===n.length?(t+=(n[0]+"MM").substring(0,2),t+="/"):(t+=n[0],t+=" "),n[1]?(n[1]=n[1].replace(L," "),t+=(n[1]+"YY").substring(0,2)):t+="YY",t}function l(e,t,n){if(e===M.CC_NUMBER)return{number:0,info:0,infoWidth:null};var a=n.split(" "),o=a.pop(),r=0;return a.forEach(function(e){return r+=e.length}),{number:(r*C+a.length*C)/t,info:1,infoWidth:t-(o.length*C+C/2)}}function u(e,t,n){if(!n||!n[e])return!1;if(!A)return!0;switch(e){case I.FancyInputRefs.CARD_NUMBER:return!A.card.validateCardNumber(t);case I.FancyInputRefs.EXPIRATION:return!A.card.validateExpiry(t);case I.FancyInputRefs.SECURITY_CODE:return!A.card.validateCVC(t);case I.FancyInputRefs.ZIP_CODE:return!0}}t.__esModule=!0;var f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d=n(0),p=a(d),h=n(6),g=a(h),m=n(24),v=a(m),E=n(5),y=a(E),_=n(1676),b=a(_),S=n(544),I=n(1),T=n(3),N=a(T);n(2192);var A=void 0,M={CC_NUMBER:"CC_NUMBER",CC_INFO:"CC_INFO"},C=10,O=3,D=/[^0-9\/]/g,L=/[0-9]/g,R=52,x=/tab|arrow|backspace|enter|return/,w=/[^0-9]/g,P=/[\/]/,k=/[^0-9]/g,U=p.default.createClass({displayName:"FancyCreditCardInput",mixins:[g.default],getDefaultProps:function(){return{width:340-R,disabled:!1}},getInitialState:function(){var e=this.props.initialCardInfo||{},t=b.default.DEFAULT_CARD_TYPE;return e.number&&(t=b.default.getCreditCardType(e.number)),c({animating:!1,focused:I.FancyInputRefs.CARD_NUMBER,number:"",exp:"",cvc:"",addressZip:"",selectionStart:0,infoWidth:null,ccNumberAnimation:new v.default.Value(0),ccInfoAnimation:new v.default.Value(0),cardType:t},e)},componentDidMount:function(){this.setFocus(),this.state.ccNumberAnimation.setValue(0),this.state.ccInfoAnimation.setValue(0),A||(0,S.ensureStripeIsLoaded)().then(function(e){return A=e});var e=this.props.onChange;e&&e(this.isFilledOut())},springTo:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M.CC_NUMBER,t=arguments[1],n=this.props.width,a=this.state,o=a.number,r=a.ccInfoAnimation,i=a.ccNumberAnimation,s=l(e,n,o);this.setState({animating:!0,infoWidth:s.infoWidth}),v.default.parallel([v.default.spring(i,{toValue:s.number,friction:10,tension:100}),v.default.spring(r,{toValue:s.info,friction:10,tension:100})]).start(t)},componentWillReceiveProps:function(e){if(e.errors&&e.errors!==this.props.errors){var t=Object.keys(e.errors);t.length&&this.setState({focused:t[0],selectionStart:null})}},componentDidUpdate:function(e,t){var n=this.state.focused;if(!t.animating&&this.state.animating){var a=document,o=a.activeElement;o&&"INPUT"===o.tagName&&o.blur()}if(t.focused===I.FancyInputRefs.CARD_NUMBER&&t.focused!==n)return void this.springTo(M.CC_INFO,this.animationComplete);if(t.focused!==I.FancyInputRefs.CARD_NUMBER&&n===I.FancyInputRefs.CARD_NUMBER)return void this.springTo(M.CC_NUMBER,this.animationComplete);this.setFocus();var r=this.props.onChange;r&&r(this.isFilledOut())},animationComplete:function(){this.setState({animating:!1})},getInfo:function(){var e=this.state;return{number:e.number,exp:e.exp,cvc:e.cvc,addressZip:e.addressZip}},isFilledOut:function(){var e=this.state,t=e.number,n=e.exp,a=e.cvc,o=e.addressZip,r=!!t.length,i=!!n.length,s=!!a,l=!!o.length;return!!(r&&i&&s&&l)},setFocus:function(){var e=this.refs[this.state.focused];if(!this.state.animating&&e){var t=this.state.selectionStart,n=t;e.focus(),null===t&&(t=0,n=e.value.length),e.setSelectionRange(t,n)}},handleCardNumberChange:function(e){var t=e.target;if(t.value!==this.state.number){var n=b.default.getCreditCardType(t.value),a=t.selectionStart,o=b.default.prettifyCreditCardNumber(t.value);if(o===this.state.number)a-=1,o=b.default.prettifyCreditCardNumber(o.substring(0,a)+o.substring(a+1));else{var r=o.length-t.value.length;r>0&&(a+=r)}var i=I.FancyInputRefs.CARD_NUMBER;o.length===n.lengths[n.lengths.length-1]+n.gaps.length&&(i=I.FancyInputRefs.EXPIRATION,a=0),this.setState({focused:i,number:o,cardType:n,selectionStart:a})}},handleExpirationChange:function(e){var t=e.target;if(t.value!==this.state.exp){var n=i(t.value),a=t.selectionStart;n===this.state.exp&&n.length<=3&&P.test(this.state.exp)&&!P.test(t.value)?n=n.replace(w,""):n===this.state.exp&&P.test(t.value)&&!P.test(this.state.exp)&&(n+="/"),n.length>t.value.length&&(a+=n.length-t.value.length);var o=I.FancyInputRefs.EXPIRATION;r(n)&&a===n.length&&(o=I.FancyInputRefs.SECURITY_CODE,a=0),this.setState({focused:o,exp:n,selectionStart:a})}},handleSecurityCodeChange:function(e){var t=e.target,n=this.state.cardType.code.size,a=t.value.replace(k,""),o=t.selectionStart;a=a.substring(0,n);var r=I.FancyInputRefs.SECURITY_CODE;a.length===n&&(r=I.FancyInputRefs.ZIP_CODE),this.setState({focused:r,cvc:a,selectionStart:o})},handleZipChange:function(e){var t=e.target,n=t.value,a=t.selectionStart;this.setState({addressZip:n,selectionStart:a})},handleKeyboardNav:function(e){var t=e.key.toLowerCase();if(x.test(t)){var n=Object.keys(I.FancyInputRefs),a=this.state.focused,o=n.indexOf(a),r=this.refs[n[o]],i=null;switch(t){case"enter":if(this.isFilledOut())return;case"tab":o+=e.shiftKey?-1:1;break;case"backspace":case"arrowleft":if(0!==r.selectionStart)return;o-=1,n[o]&&(i=this.refs[n[o]].value.length);break;case"arrowright":if(r.selectionStart!==r.value.length)return;o+=1,i=0}n[o]&&a!==n[o]&&(e.preventDefault(),this.setState({focused:n[o],selectionStart:i}))}},handleCardNumberContinue:function(){this.setState({focused:I.FancyInputRefs.EXPIRATION})},renderCreditCardIcon:function(){var e=this.state.focused;return f("div",{className:"card-icon-wrapper"},void 0,f("div",{className:(0,y.default)("card-icon",this.state.cardType.type.toLowerCase(),{disabled:!this.state.cardType.type,flipped:e===I.FancyInputRefs.SECURITY_CODE})},void 0,this.state.cardType.type))},renderCardNumber:function(){var e=this,t=this.state,n=t.number,a=t.cardType,r=this.props,i=r.disabled,s=r.errors,l=o(n,a),c=u(I.FancyInputRefs.CARD_NUMBER,n,s),d=a.lengths.indexOf(b.default.cleanCardNumber(n).length)>=0;return f(v.default.div,{className:"cc-number-wrapper",style:this.getCCNumberAnimatedStyle()},"cc-number",p.default.createElement("input",{type:"text",className:(0,y.default)("cc-number",{error:c}),ref:I.FancyInputRefs.CARD_NUMBER,onFocus:function(){return e.setState({focused:I.FancyInputRefs.CARD_NUMBER})},onChange:this.handleCardNumberChange,onKeyDown:this.handleKeyboardNav,value:n,maxLength:a.lengths[a.lengths.length-1]+a.gaps.length,disabled:i}),f("span",{className:"cc-number-placeholder"},void 0,l),f("button",{type:"button",disabled:!d,onClick:this.handleCardNumberContinue,className:"cc-number-continue"},void 0,N.default.Messages.CONTINUE))},renderAdditionalInputs:function(){var e=this,t=this.state,n=t.cardType,a=t.exp,o=t.cvc,r=t.addressZip,i=n.code,l=this.props,c=l.disabled,d=l.errors,h=u(I.FancyInputRefs.EXPIRATION,a,d),g=u(I.FancyInputRefs.SECURITY_CODE,o,d),m=u(I.FancyInputRefs.ZIP_CODE,r,d),E=s(a),_=r.length>10?10:r.length;return f(v.default.div,{className:"cc-info-wrapper",style:this.getCCInfoAnimatedStyle()},"cc-info",f("div",{className:"expiration-wrapper"},void 0,p.default.createElement("input",{ref:I.FancyInputRefs.EXPIRATION,type:"text",value:a,style:{width:5*C+O},onKeyDown:this.handleKeyboardNav,onChange:this.handleExpirationChange,onFocus:function(){return e.setState({focused:I.FancyInputRefs.EXPIRATION})},className:(0,y.default)("expiration-date",{error:h}),disabled:c}),f("span",{className:"expiration-placeholder"},void 0,E)),p.default.createElement("input",{ref:I.FancyInputRefs.SECURITY_CODE,type:"text",value:o,placeholder:i.name,maxLength:i.size,onKeyDown:this.handleKeyboardNav,onChange:this.handleSecurityCodeChange,onFocus:function(){return e.setState({focused:I.FancyInputRefs.SECURITY_CODE})},style:{width:C*i.size+O},className:(0,y.default)("cvv-code",{error:g}),disabled:c}),p.default.createElement("input",{ref:I.FancyInputRefs.ZIP_CODE,type:"text",value:r,onKeyDown:this.handleKeyboardNav,onChange:this.handleZipChange,onFocus:function(){return e.setState({focused:I.FancyInputRefs.ZIP_CODE})},placeholder:N.default.Messages.ZIP_CODE.toLowerCase(),className:(0,y.default)("zip-code",{error:m}),disabled:c,style:{width:C*_+O}}))},renderSuccess:function e(){var e=this.props.renderSuccess;return this.props.formState===I.FormStates.CLOSED&&e?e:null},render:function(){var e=this.props.formState,t=this.state.focused===I.FancyInputRefs.CARD_NUMBER?"mode-number":"mode-info",n="form-state-"+e.toLowerCase();return f("div",{className:(0,y.default)("fancy-credit-input",t,n,{disabled:this.props.disabled,"has-errors":this.props.errors})},void 0,this.renderCreditCardIcon(),f("div",{className:"input-wrapper"},void 0,this.renderCardNumber(),this.renderAdditionalInputs()),this.renderSuccess())},getCCNumberAnimatedStyle:function(){return{transform:[{translateX:this.state.ccNumberAnimation.interpolate({inputRange:[0,1],outputRange:["0px",-this.props.width+"px"]})}]}},getCCInfoAnimatedStyle:function(){return{width:this.state.infoWidth||this.props.width,transform:[{translateX:this.state.ccInfoAnimation.interpolate({inputRange:[0,1],outputRange:["0%","-100%"]})}]}}});t.default=U,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(0),l=a(s),u=n(18),f=a(u),c=n(689),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getFileContents=function(){var e=this.props.fileContents;return"function"==typeof e&&(e=e()),e},t.prototype.handleFileDownload=function(e){e.preventDefault();var t=this.getFileContents(),n=this.props.fileName;f.default.embedded?this.downloadNative(t,n):this.downloadHtml5(t,n)},t.prototype.downloadNative=function(e,t){var n=f.default.requireElectron("dialog",!0),a=f.default.require("fs"),o=f.default.require("os"),r=f.default.require("path"),i=r.join(o.homedir(),t);n.showSaveDialog({defaultPath:i},function(t){t&&a.writeFile(t,e)})},t.prototype.downloadHtml5=function(e,t){var n=new Blob([e],{type:this.props.contentType});(0,c.saveAs)(n,t)},t.prototype.render=function(){var e=this.props.children,t=l.default.Children.only(e);return l.default.cloneElement(t,{onClick:this.handleFileDownload.bind(this)})},t}(l.default.Component);t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(33)),s=a(i);n(2166);var l=o("button",{type:"button",className:"btn-help"},void 0,"?"),u=function(e){var t=e.text;return o(s.default,{text:t},void 0,l)};t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(7),c=a(f),d=n(5),p=a(d),h="VALUE_REF",g="INPUT_REF",m=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={focused:!1,lastGoodValue:n.value,value:n.value},c.default.bindAll(a,["handleChange","handleFocus","handleBlur","handleKeyPress"]),a}return i(t,e),t.prototype.componentWillReceiveProps=function(e){e.value!==this.props.value&&this.verifyLength(e.value)&&this.setState({value:e.value})},t.prototype.componentDidUpdate=function(e,t){t.focused!==this.state.focused&&this.state.focused&&this.refs[g].focus()},t.prototype.handleChange=function(e){e.currentTarget instanceof HTMLInputElement&&this.setState({value:e.currentTarget.value});var t=this.props.onChange;t&&t(e)},t.prototype.handleFocus=function(e){e.currentTarget instanceof HTMLInputElement&&this.setState({focused:!0,lastGoodValue:e.currentTarget.value});var t=this.props.onFocus;t&&t(e)},t.prototype.handleBlur=function(e){if(this.verifyLength()){this.setState({focused:!1});var t=this.props.onBlur;t&&t(e)}else this.setState({focused:!1,value:this.state.lastGoodValue})},t.prototype.handleKeyPress=function(e){13===e.which&&this.refs[g].blur()},t.prototype.render=function(){var e=void 0,t={position:"absolute",left:0,width:"100%",opacity:1};return this.state.focused?e={visibility:"hidden",pointerEvents:"none"}:t.opacity=0,s("div",{className:(0,p.default)("input-autosize",{focus:this.state.focused},this.props.className)},void 0,s("div",{className:"input-autosize-inner",style:{position:"relative"}},void 0,u.default.createElement("input",{className:"input-autosize-input",ref:g,style:t,key:this.props.value,value:this.state.value,onKeyPress:this.handleKeyPress,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur}),u.default.createElement("div",{className:"input-autosize-input",style:e,ref:h},this.state.value)))},t.prototype.verifyLength=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e||this.state.value||"";return!(this.props.minLen&&t.length<this.props.minLen||this.props.maxLen&&t.length>this.props.maxLen)},t}(u.default.Component);t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(3)),s=a(i);n(945);var l=o("div",{className:"sad-discord"}),u=function(e){var t=e.message;return o("div",{className:"no-search-results"},void 0,l,o("div",{},void 0,void 0===t?s.default.Messages.DM_SEARCH_NO_RESULTS:t))};t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0);a(r);n(2171);var i=function(e){var t=e.percent;return o("div",{className:"progress"},void 0,o("div",{className:"progress-bar",style:{width:(void 0===t?0:t)+"%"}}))};t.default=i,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(0),r=a(o),i=n(6),s=a(i),l=n(5),u=a(l),f=n(3),c=a(f),d=n(372),p=a(d),h=n(43),g=a(h),m=n(11),v=a(m),E=n(10),y=a(E),_=n(146),b=a(_),S=n(79),I=a(S),T=n(54),N=a(T);n(2173);var A="DM_INPUT_REF",M=r.default.createClass({displayName:"QuickMessage",mixins:[s.default,p.default],handleKeyPress:function(e){if(13===e.which){e.preventDefault();var t=this.refs[A].value.trim();if(0===t.length||this.applyChatRestrictions(t))return!1;I.default.openPrivateChannel(y.default.getCurrentUser().id,this.props.user.id).then(function(e){var n=v.default.getChannel(e);N.default.sendMessage(n.id,b.default.parse(n,t))});var n=this.props.onClose;return n&&n(),!0}},render:function(){var e=this.props,t=e.user,n=e.autoFocus,a=g.default.isBlocked(t.id);return r.default.createElement("input",{className:(0,u.default)("quick-message",{isBlocked:a}),ref:A,autoFocus:n,placeholder:a?c.default.Messages.QUICK_DM_BLOCKED:c.default.Messages.QUICK_DM_USER.format({name:t.username}),onKeyPress:this.handleKeyPress,disabled:a})}});t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(535),d=a(c),p=n(41),h=a(p),g=n(85),m=a(g),v=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.renderPopout=a.renderPopout.bind(a),a.handleChange=a.handleChange.bind(a),a}return i(t,e),t.prototype.renderPopout=function(e){var t=this.props,n=t.options,a=t.value,o=t.renderOption,r=t.popoutClassName,i=t.scroller;return f.default.createElement(c.QuickSelectPopout,l({},e,{scroller:i,className:r,options:n,value:a,renderOption:o,onChange:this.handleChange}))},t.prototype.render=function(){var e=this.props,t=e.label,n=e.value,a=e.renderValue,o=e.className,r=e.popoutId,i=e.popoutProps;return f.default.createElement(h.default,l({},i,{uniqueId:r,render:this.renderPopout}),s("div",{className:o},void 0,s(d.default,{label:t,value:n,renderValue:a})))},t.prototype.handleChange=function(e){var t=this.props,n=t.popoutId,a=t.onChange;m.default.close(n),a&&a(e)},t}(f.default.PureComponent);t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i);n(2175);var l=o("span",{}),u=s.default.createClass({displayName:"RadioImage",render:function(){var e=r({},this.props,{children:null});return o("div",{className:"radio-image",onClick:this.handleClick},void 0,o("div",{className:"radio-inner"},void 0,s.default.createElement("input",r({},e,{type:"radio",ref:"radio"})),l,o("div",{className:"children"},void 0,this.props.children)))},handleClick:function(){this.refs.radio.click()}});t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(2),p=a(d),h=n(7),g=a(h),m=n(65),v=a(m),E=n(90),y=a(E),_=n(10),b=a(_),S=n(34),I=a(S),T=n(55),N=a(T),A=n(83),M=a(A),C=n(731),O=a(C),D=n(41),L=a(D),R=n(1645),x=a(R),w=n(15),P=a(w),k=n(3),U=a(k),G=n(1);n(2131);var j=u("div",{className:"icon-roles"}),F=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.memberRoles,n=o(e,["memberRoles"]);return u("div",{className:"roles-list-popout"},void 0,u(P.default,{className:"label",align:P.default.Align.CENTER},void 0,j,u("div",{},void 0,U.default.Messages.ROLES_LIST.format({numRoles:t.length}))),c.default.createElement(O.default,l({},n,{userRoles:t})))},t}(c.default.PureComponent),B=p.default.connectStores([I.default],function(e){var t=e.guild,n=e.user,a=I.default.getMembers(t.id).find(function(e){return e.userId===n.id});return{memberRoles:a?a.roles:[]}})(F),V=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.renderAddPopout=a.renderAddPopout.bind(a),a.renderAddRole=a.renderAddRole.bind(a),a.handleSetRef=a.handleSetRef.bind(a),a.handleAddRole=a.handleAddRole.bind(a),a.handleGetRemovable=a.handleGetRemovable.bind(a),a.handleRemoveRole=a.handleRemoveRole.bind(a),a}return s(t,e),t.prototype.renderAddPopout=function(e){var t=this.props,n=t.guild,a=t.user;return 0===this._roleList.getHiddenCount()?c.default.createElement(C.RolesPopout,l({},e,{guild:n,userId:a.id,onSelect:this.handleAddRole})):c.default.createElement(B,l({},e,{guild:n,user:a}))},t.prototype.renderAddRole=function(e){return u(L.default,{render:this.renderAddPopout},void 0,c.default.createElement(R.AddRoleButton,e))},t.prototype.render=function(){var e=this.props,t=e.guild,n=e.memberRoles,a=e.canManageRoles,o=(0,g.default)(t.roles).filter(function(e){return n.indexOf(e.id)!==-1}).value();return c.default.createElement(x.default,{ref:this.handleSetRef,defaultColor:G.DEFAULT_ROLE_COLOR,roles:o,canManage:a,renderAddRole:this.renderAddRole,getRemovable:this.handleGetRemovable,onRemove:this.handleRemoveRole})},t.prototype.handleSetRef=function(e){this._roleList=e},t.prototype.handleAddRole=function(e){var t=this.props,n=t.memberRoles,a=t.user,o=t.guild;if(n.indexOf(e.id)===-1){var r=[].concat(n,[e.id]);M.default.updateMemberRoles(o.id,a.id,r)}},t.prototype.handleGetRemovable=function(e){var t=this.props,n=t.canManageRoles,a=t.guild,o=b.default.getCurrentUser(),r=N.default.getHighestRole(a,o.id);return n&&N.default.isRoleHigher(a,o.id,r,e)},t.prototype.handleRemoveRole=function(e){var t=this.props,n=t.memberRoles,a=t.user,o=t.guild,r=n.filter(function(t){return t!==e.id});M.default.updateMemberRoles(o.id,a.id,r)},t}(c.default.PureComponent);t.default=p.default.connectStores([v.default,y.default],function(e){var t=e.guild;return{canManageRoles:v.default.can(G.Permissions.MANAGE_ROLES,t),width:y.default.windowSize().width}})(V),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return r("span",{className:t},void 0,e.children)}t.__esModule=!0,t.Answer=t.Filter=void 0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0);a(i),t.Filter=function(e){return o(e,"search-filter")},t.Answer=function(e){return o(e,"search-answer")}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i);n(2181);var l="SWITCH_REF",u=r("div",{className:"input-switch-slider"}),f=s.default.createClass({displayName:"Switch",render:function(){return r("div",{className:"input-switch",onClick:this.handleClick},void 0,s.default.createElement("input",o({ref:l},this.props,{type:"checkbox"})),u)},handleClick:function(){this.refs[l].click()}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(3),c=a(f),d=n(5),p=a(d),h=n(139),g=a(h),m=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={textVal:"",error:null},a.handleTextChange=a.handleTextChange.bind(a),a.handleSubmit=a.handleSubmit.bind(a),a.handleCancel=a.handleCancel.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.header,n=e.className,a=e.cancelText,o=e.confirmText,r=e.instructionText,i=e.children,l=this.state,f=l.error,d=l.textVal,h=u.default.Children.count(i)?s("div",{className:"change-nickname-warning"},void 0,i):null;return s("form",{className:(0,p.default)("modal-content","form",n),tabIndex:"0",onSubmit:this.handleSubmit},void 0,s("div",{className:"form-header"},void 0,s("header",{},void 0,t)),s("div",{className:"form-inner"},void 0,h,s("div",{className:(0,p.default)("control-group",{error:f})},void 0,s("label",{htmlFor:"text-entry-confirm"},void 0,r,f?s("span",{className:"error"},void 0," (",f,")"):null),s("input",{id:"text-entry-confirm",type:"text",value:d,autoComplete:"off",onChange:this.handleTextChange,autoFocus:!0}))),s("div",{className:"form-actions"},void 0,s("button",{type:"button",className:"btn btn-default",onClick:this.handleCancel},void 0,a||c.default.Messages.CANCEL),s(g.default,{className:"btn btn-primary"},void 0,o||c.default.Messages.CONFIRM)))},t.prototype.handleSubmit=function(e){e.preventDefault();var t=this.state.textVal,n=this.props,a=n.onConfirm,o=n.validationText,r=n.errorText;if(t.toLowerCase()!==o.toLowerCase())return void this.setState({error:r});a&&a(),this.handleCancel()},t.prototype.handleCancel=function(){var e=this.props.onClose;e&&e()},t.prototype.handleTextChange=function(e){this.setState({textVal:e.target.value})},t}(u.default.PureComponent);m.key=function(){return"text-entry-confirm-modal"},t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.avatar,n=e.id;return(0,F.getUserAvatarURL)({id:n,avatar:t,discriminator:B.NON_USER_BOT_DISCRIMINATOR})}t.__esModule=!0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f=n(0),c=a(f),d=n(15),p=a(d),h=n(5),g=a(h),m=n(3),v=a(m),E=n(191),y=a(E),_=n(50),b=a(_),S=n(66),I=a(S),T=n(28),N=a(T),A=n(147),M=a(A),C=n(141),O=a(C),D=n(756),L=a(D),R=n(60),x=a(R),w=n(14),P=a(w),k=n(357),U=a(k),G=n(107),j=a(G),F=n(48),B=n(1);n(2135);var V=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleShowModal=a.handleShowModal.bind(a),a.handleRemoveWebhook=a.handleRemoveWebhook.bind(a),a}return i(t,e),t.prototype.handleRemoveWebhook=function(){var e=this.props.webhook,t=e.name;P.default.push(function(n){return c.default.createElement(x.default,u({},n,{header:v.default.Messages.WEBHOOK_DELETE_TITLE.format({name:t}),confirmText:v.default.Messages.WEBHOOK_DELETE,cancelText:v.default.Messages.WEBHOOK_CANCEL,onConfirm:function(){U.default.delete(e.guild_id,e.id).catch(function(){j.default.show({title:v.default.Messages.WEBHOOK_ERROR_DELETING_WEBHOOK,body:v.default.Messages.WEBHOOK_ERROR_INTERNAL_SERVER_ERROR})})}}),v.default.Messages.WEBHOOK_DELETE_BODY.format({name:t}))})},t.prototype.handleShowModal=function(){var e=this.props.webhook;P.default.push(function(t){return c.default.createElement(L.default,u({webhook:e},t))})},t.prototype.renderAvatar=function(){var e=this.props.webhook;return l(p.default.Child,{wrap:!0,grow:0},void 0,l(y.default,{src:s(e),size:"large"}))},t.prototype.renderInfo=function(){var e=this.props.webhook,t=e.id,n=e.name,a=e.user;return l(p.default,{direction:p.default.Direction.VERTICAL,justify:p.default.Justify.CENTER},void 0,l(I.default,{tag:S.Tags.H3,className:"margin-reset"},void 0,n),l(b.default,{type:_.Types.DESCRIPTION},void 0,v.default.Messages.WEBHOOK_CREATED_ON.format({timestamp:M.default.extractTimestamp(t),username:a.username})))},t.prototype.renderEdit=function(){var e=this.props.theme;return l(p.default,{grow:0,align:p.default.Align.CENTER,justify:p.default.Justify.CENTER},void 0,l(N.default,{size:N.default.Sizes.SMALL,look:N.default.Looks.OUTLINED,color:e===B.ThemeTypes.DARK?N.default.Colors.WHITE:N.default.Colors.GREY,onClick:this.handleShowModal},void 0,v.default.Messages.EDIT))},t.prototype.render=function(){var e=this.props.className;return l(O.default,{editable:!0,className:(0,g.default)("ui-webhook-row","padded",e)},void 0,l(p.default,{},void 0,this.renderAvatar(),this.renderInfo(),this.renderEdit()),l("div",{className:"remove-webhook round-remove-button",onClick:this.handleRemoveWebhook}))},t}(c.default.PureComponent);t.default=V,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(3)),s=a(i),l=n(15),u=a(l),f=n(50),c=a(f),d=n(28),p=a(d),h=n(71),g=a(h),m=function(e){var t=e.onCreate,n=e.disabled;return o(u.default,{},void 0,o(u.default.Child,{},void 0,o(c.default,{type:f.Types.DESCRIPTION},void 0,s.default.Messages.SETTINGS_WEBHOOKS_INTRO.format({articleURL:g.default.getArticleURL(228383668)}))),o(u.default.Child,{wrap:!0,grow:0},void 0,o(p.default,{disabled:n,onClick:t},void 0,s.default.Messages.WEBHOOK_CREATE)))};t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return{toValue:e,duration:300,easing:g.default.Easing.inOut(g.default.Easing.back())}}t.__esModule=!0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f=n(0),c=a(f),d=n(7),p=a(d),h=n(24),g=a(h),m=n(90),v=a(m),E={ABOVE:0,VISIBLE:1,BELOW:2},y=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={prevValue:null,currValue:n.value,nextValue:null},a.prevAnimate=new g.default.Value(E.ABOVE),a.currAnimate=new g.default.Value(E.VISIBLE),p.default.bindAll(a,["animateNext"]),a}return i(t,e),t.prototype.componentWillReceiveProps=function(e){var t=this.state,n=t.prevValue,a=t.currValue,o=t.nextValue;null==n&&a!==e.value?this.setState({prevValue:v.default.isFocused()?a:null,currValue:e.value}):null!=o&&o!==e.value&&this.setState({nextValue:e.value})},t.prototype.componentDidUpdate=function(e,t){var n=this.state,a=n.prevValue,o=n.currValue;a!==t.prevValue&&null!=a&&this.animateBetween(a,o)},t.prototype.animateBetween=function(e,t){var n=void 0;this.prevAnimate.setValue(E.VISIBLE),e>t?(this.currAnimate.setValue(E.ABOVE),n=E.BELOW):(this.currAnimate.setValue(E.BELOW),n=E.ABOVE),g.default.parallel([g.default.timing(this.prevAnimate,s(n)),g.default.timing(this.currAnimate,s(E.VISIBLE))]).start(this.animateNext)},t.prototype.animateNext=function(){var e=this.state,t=e.currValue,n=e.nextValue;null!=n?this.setState({prevValue:v.default.isFocused()?t:null,currValue:n,nextValue:null}):this.setState({prevValue:null})},t.prototype.getAnimatedStyle=function(e){return{transform:[{translateY:e.interpolate({inputRange:[0,1,2],outputRange:["-100%","0%","100%"]})}],position:"absolute",top:0,left:0,right:0,bottom:0}},t.prototype.getMinWidth=function(e){return Math.ceil(Math.log10(e+1))*this.props.digitWidth},t.prototype.render=function(){var e=this.state,t=e.prevValue,n=e.currValue,a=p.default.omit(this.props,["value","digitWidth"]);if(null==t)return c.default.createElement("div",u({},a,{style:{minWidth:this.getMinWidth(n)}}),n);var o=Math.max(t,n);return c.default.createElement("div",u({},a,{style:{position:"relative",overflow:"hidden"}}),l("div",{style:{visibility:"hidden",minWidth:this.getMinWidth(o)}},void 0,o),l(g.default.div,{style:this.getAnimatedStyle(this.prevAnimate)},void 0,t),l(g.default.div,{style:this.getAnimatedStyle(this.currAnimate)},void 0,n))},t}(c.default.PureComponent);t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(389),l=n(24),u=a(l),f=i.default.createClass({displayName:"BackgroundFlash",getInitialState:function(){return{backgroundColor:new u.default.Value}},componentDidMount:function(){this.flashNow()},componentWillReceiveProps:function(e){e.sequenceId!==this.props.sequenceId&&this.flashNow()},flashNow:function(){this.state.backgroundColor.setValue(.2),u.default.timing(this.state.backgroundColor,{toValue:0,duration:1e3,delay:1e3}).start()},render:function(){var e={backgroundColor:this.state.backgroundColor.interpolate({inputRange:[0,1],outputRange:[s.Colors.BRAND_PURPLE_TRANSPARENT,s.Colors.BRAND_PURPLE]}),borderRadius:2};return o(u.default.div,{style:e},void 0,this.props.children)}});t.default=f,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=function(e){return e.interpolate({inputRange:[0,1],outputRange:["0px","1px"]})};return{transform:[{translateX:t(e.x)},{translateY:t(e.y)},{scale:e.scale.interpolate({inputRange:[0,1],outputRange:[0,1]})}]}}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(58),u=a(l),f=n(24),c=a(f),d=-74,p=95,h=-59,g=75,m=.9,v=1.1,E=5,y=1,_=r("div",{className:"search-index-background"}),b=r("defs",{},void 0,r("rect",{id:"search-index-foreground-mask-a",width:"80",height:"80",rx:"40"})),S=r("g",{mask:"url(#search-index-foreground-mask-b)"},void 0,r("path",{fill:"#FFF",d:"M-7.1156 170.8361c0 10.68-8.658 19.338-19.339 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.681 0 19.339 8.658 19.339 19.338"}),r("path",{fill:"#FFF",d:"M-7.1156 170.8361c0 10.68-8.658 19.338-19.339 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.681 0 19.339 8.658 19.339 19.338"}),r("path",{fill:"#FFD773",d:"M-7.1156 170.8361c0 10.68-8.658 19.338-19.339 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.681 0 19.339 8.658 19.339 19.338"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-7.1156 170.8361c0 10.68-8.658 19.338-19.339 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.681 0 19.339 8.658 19.339 19.338z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-15.0267 170.8361c0 6.311-5.116 11.427-11.428 11.427-6.31 0-11.426-5.116-11.426-11.427s5.116-11.427 11.426-11.427c6.312 0 11.428 5.116 11.428 11.427z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#FFF",d:"M6.9479 154.135c0 10.68-8.658 19.338-19.338 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),r("path",{fill:"#FFF",d:"M6.9479 154.135c0 10.68-8.658 19.338-19.338 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),r("path",{fill:"#FFD773",d:"M6.9479 154.135c0 10.68-8.658 19.338-19.338 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M6.9479 154.135c0 10.68-8.658 19.338-19.338 19.338-10.68 0-19.338-8.658-19.338-19.338 0-10.68 8.658-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-12.39 165.5622c-6.311 0-11.427-5.116-11.427-11.427s5.116-11.427 11.427-11.427 11.427 5.116 11.427 11.427c0 2.727-.955 5.231-2.55 7.196",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#FFF",d:"M-4.4789 140.9499c0 10.68-8.658 19.338-19.338 19.338-10.681 0-19.338-8.658-19.338-19.338 0-10.68 8.657-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),r("path",{fill:"#FFF",d:"M-4.4789 140.9499c0 10.68-8.658 19.338-19.338 19.338-10.681 0-19.338-8.658-19.338-19.338 0-10.68 8.657-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),r("path",{fill:"#FFD773",d:"M-4.4789 140.9499c0 10.68-8.658 19.338-19.338 19.338-10.681 0-19.338-8.658-19.338-19.338 0-10.68 8.657-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-4.4789 140.9499c0 10.68-8.658 19.338-19.338 19.338-10.681 0-19.338-8.658-19.338-19.338 0-10.68 8.657-19.338 19.338-19.338 10.68 0 19.338 8.658 19.338 19.338z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-23.8168 129.5232c6.311 0 11.427 5.116 11.427 11.427s-5.116 11.427-11.427 11.427c-6.312 0-11.427-5.116-11.427-11.427",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#FFF",d:"M100.5348-15.3089c-10.639.941-20.026-6.919-20.968-17.558-.941-10.638 6.92-20.026 17.559-20.967 10.638-.942 20.025 6.919 20.967 17.558.941 10.638-6.919 20.026-17.558 20.967"}),r("path",{fill:"#FFF",d:"M100.5348-15.3089c-10.639.941-20.026-6.919-20.968-17.558-.941-10.638 6.92-20.026 17.559-20.967 10.638-.942 20.025 6.919 20.967 17.558.941 10.638-6.919 20.026-17.558 20.967"}),r("path",{fill:"#FFD773",d:"M100.5348-15.3089c-10.639.941-20.026-6.919-20.968-17.558-.941-10.638 6.92-20.026 17.559-20.967 10.638-.942 20.025 6.919 20.967 17.558.941 10.638-6.919 20.026-17.558 20.967"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M100.5348-15.3089c-10.639.941-20.026-6.919-20.968-17.558-.941-10.638 6.92-20.026 17.559-20.967 10.638-.942 20.025 6.919 20.967 17.558.941 10.638-6.919 20.026-17.558 20.967z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M110.2125-35.5789c.556 6.286-4.089 11.833-10.375 12.39-6.287.556-11.834-4.089-12.391-10.375-.555-6.286 4.089-11.834 10.376-12.39",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#C2FFF9",d:"M-76.4877 122.3928l14.704 5.777-8.133 24.358-25.269-4.57 1.997-15.671"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-76.4877 122.3928l14.704 5.777-8.133 24.358-25.269-4.57 1.997-15.671zm-18.6982 25.5654l33.402-19.788",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-93.1889 132.2868l23.272 20.241-6.571-30.135",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#C2FFF9",d:"M151.5172-63.3406l4.276 12.99-20.723 8.042-10.921-19.362 11.546-7.33"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M151.5172-63.3406l4.276 12.99-20.723 8.042-10.921-19.362 11.546-7.33z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M135.6949-69.0003l-.625 26.692 16.447-21.032m-27.3679 1.6701l31.645 11.319",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#E4E9F8",d:"M59.7897 13.2502l-102.171 25.055c-2.453.602-4.93-.899-5.531-3.352l-17.794-72.557c-.602-2.454.9-4.93 3.353-5.532l102.171-25.055c2.454-.601 4.931.899 5.533 3.353l17.793 72.556c.601 2.454-.9 4.93-3.354 5.532"}),r("path",{fill:"#7687B2",d:"M45.3502-64.8382c-.602-2.453-3.078-3.954-5.532-3.353l-102.171 25.056c-2.454.601-3.954 3.078-3.353 5.531l3.489 14.228 111.056-27.234-3.489-14.228z"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M59.7897 13.2502l-102.171 25.055c-2.453.602-4.93-.899-5.531-3.352l-17.794-72.557c-.602-2.454.9-4.93 3.353-5.532l102.171-25.055c2.454-.601 4.931.899 5.533 3.353l17.793 72.556c.601 2.454-.9 4.93-3.354 5.532zM-62.2172-23.3763l111.057-27.234m-95.9164 3.7287l-8.367 21.844m30.0096-27.1517l-8.366 21.844m30.0096-27.1516l-8.366 21.844M17.8522-62.804L9.4862-40.96m30.0095-27.1516l-8.366 21.844",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#FF7B78",d:"M28.693-19.9388c3.986 16.254-5.959 32.661-22.213 36.647-16.254 3.986-32.661-5.959-36.646-22.213-3.987-16.253 5.959-32.661 22.213-36.646 16.252-3.986 32.661 5.959 36.646 22.212"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M28.693-19.9388c3.986 16.254-5.959 32.661-22.213 36.647-16.254 3.986-32.661-5.959-36.646-22.213-3.987-16.253 5.959-32.661 22.213-36.646 16.252-3.986 32.661 5.959 36.646 22.212z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#FFF",d:"M-16.3051-26.1936l7.999 32.618 26.541-23.798"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-16.3051-26.1936l7.999 32.618 26.541-23.798z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#FFF",d:"M101.5895 23.7946l33.137 35.518-29.647-1.029c-2.585-.09-4.608-2.258-4.518-4.843l1.028-29.646z"}),r("path",{fill:"#E4E9F8",d:"M134.7262 59.3127l-3.195 92.059c-.089 2.585-2.258 4.608-4.843 4.519l-93.619-3.249c-2.586-.09-4.609-2.258-4.519-4.844l4.223-121.705c.09-2.585 2.259-4.608 4.844-4.518l63.972 2.22"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M134.7262 59.3127l-3.195 92.059c-.089 2.585-2.258 4.608-4.843 4.519l-93.619-3.249c-2.586-.09-4.609-2.258-4.519-4.844l4.223-121.705c.09-2.585 2.259-4.608 4.844-4.518l63.972 2.22",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M101.5895 23.7946l33.137 35.518-29.647-1.029c-2.585-.09-4.608-2.258-4.518-4.843l1.028-29.646z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#FFF",d:"M104.15 6.4353l39.81 27.834-29.21 5.171c-2.547.451-4.978-1.248-5.429-3.796l-5.171-29.209z"}),r("path",{fill:"#E4E9F8",d:"M143.9596 34.2692l16.058 90.704c.45 2.547-1.249 4.978-3.796 5.429l-92.242 16.329c-2.546.452-4.977-1.248-5.428-3.795l-21.229-119.914c-.451-2.547 1.248-4.978 3.796-5.428l63.031-11.159"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M143.9596 34.2692l16.058 90.704c.45 2.547-1.249 4.978-3.796 5.429l-92.242 16.329c-2.546.452-4.977-1.248-5.428-3.795l-21.229-119.914c-.451-2.547 1.248-4.978 3.796-5.428l63.031-11.159",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M104.15 6.4353l39.81 27.834-29.21 5.171c-2.547.451-4.978-1.248-5.429-3.796l-5.171-29.209z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#5871B7",d:"M10.7613-26.0428h117.831c2.829 0 5.123 2.294 5.123 5.123v7.341c0 1.565.716 3.045 1.943 4.016l7 5.542c.659.522.646 1.525-.026 2.029l-6.867 5.151c-1.29.967-2.05 2.485-2.05 4.098v7.685c0 2.829-2.294 5.123-5.123 5.123H10.7613c-2.83 0-5.124-2.294-5.124-5.123v-35.862c0-2.829 2.294-5.123 5.124-5.123"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M10.7613-26.0428h117.831c2.829 0 5.123 2.294 5.123 5.123v7.341c0 1.565.716 3.045 1.943 4.016l7 5.542c.659.522.646 1.525-.026 2.029l-6.867 5.151c-1.29.967-2.05 2.485-2.05 4.098v7.685c0 2.829-2.294 5.123-5.123 5.123H10.7613c-2.83 0-5.124-2.294-5.124-5.123v-35.862c0-2.829 2.294-5.123 5.124-5.123zM64.1588 1.2805h-43.147m21.5738-8.1114h-21.574m91.3894 0H49.816m33.9815-8.1118h-62.786",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#FFF",d:"M166.0641 58.8137l-21.664 89.53c-.608 2.514-3.14 4.06-5.654 3.451l-91.048-22.031c-2.515-.608-4.06-3.14-3.451-5.654l28.64-118.362c.609-2.515 3.14-4.059 5.655-3.451l62.215 15.055"}),r("path",{fill:"#E4E9F8",d:"M140.7574 17.3513l25.307 41.462-28.832-6.976c-2.515-.609-4.06-3.14-3.452-5.654l6.977-28.832z"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M166.0641 58.8137l-21.664 89.53c-.608 2.514-3.14 4.06-5.654 3.451l-91.048-22.031c-2.515-.608-4.06-3.14-3.451-5.654l28.64-118.362c.609-2.515 3.14-4.059 5.655-3.451l62.215 15.055",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M140.7574 17.3513l25.307 41.462-28.832-6.976c-2.515-.609-4.06-3.14-3.452-5.654l6.977-28.832z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#7289DA",d:"M84.6422 57.6999h-117.832c-2.829 0-5.123-2.293-5.123-5.123v-7.34c0-1.566-.716-3.045-1.943-4.017l-7-5.542c-.659-.521-.646-1.525.027-2.029l6.867-5.151c1.29-.967 2.049-2.485 2.049-4.098v-7.685c0-2.829 2.294-5.123 5.123-5.123h117.832c2.829 0 5.123 2.294 5.123 5.123v35.862c0 2.83-2.294 5.123-5.123 5.123"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M84.6422 57.6999h-117.832c-2.829 0-5.123-2.293-5.123-5.123v-7.34c0-1.566-.716-3.045-1.943-4.017l-7-5.542c-.659-.521-.646-1.525.027-2.029l6.867-5.151c1.29-.967 2.049-2.485 2.049-4.098v-7.685c0-2.829 2.294-5.123 5.123-5.123h117.832c2.829 0 5.123 2.294 5.123 5.123v35.862c0 2.83-2.294 5.123-5.123 5.123zM-26.3637 22.2653h48.67M6.0826 30.3767h68.309m-100.7553 0h22.799m53.1942 8.1118h14.942m-24.3346 0h4.534m-71.1346 0h54.093m-54.093 8.1113h63.186",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#98AFED",d:"M63.191 113.1003h-130.64c-2.829 0-5.123-2.293-5.123-5.123v-7.34c0-1.566-.716-3.046-1.943-4.017l-7-5.542c-.658-.521-.646-1.525.026-2.029l6.868-5.151c1.291-.967 2.049-2.485 2.049-4.098v-7.685c0-2.829 2.294-5.123 5.123-5.123h130.64c2.829 0 5.123 2.294 5.123 5.123v35.862c0 2.83-2.294 5.123-5.123 5.123"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M63.191 113.1003h-130.64c-2.829 0-5.123-2.293-5.123-5.123v-7.34c0-1.566-.716-3.046-1.943-4.017l-7-5.542c-.658-.521-.646-1.525.026-2.029l6.868-5.151c1.291-.967 2.049-2.485 2.049-4.098v-7.685c0-2.829 2.294-5.123 5.123-5.123h130.64c2.829 0 5.123 2.294 5.123 5.123v35.862c0 2.83-2.294 5.123-5.123 5.123zM-60.6225 77.6657h99.433m-23.4398 8.1114h7.949m-19.6892 0h-64.253m0 8.1118h47.398m-47.398 8.1113h116.122",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#E4E9F8",d:"M37.8805 30.8191h-105.198c-2.527 0-4.574-2.048-4.574-4.574v-74.706c0-2.527 2.047-4.574 4.574-4.574h105.198c2.526 0 4.574 2.047 4.574 4.574v74.706c0 2.526-2.048 4.574-4.574 4.574"}),r("path",{fill:"#7687B2",d:"M42.4547-33.7181v-14.743c0-2.527-2.048-4.574-4.574-4.574h-105.198c-2.527 0-4.575 2.047-4.575 4.574v14.743h114.347z"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M37.8805 30.8191h-105.198c-2.527 0-4.574-2.048-4.574-4.574v-74.706c0-2.527 2.047-4.574 4.574-4.574h105.198c2.526 0 4.574 2.047 4.574 4.574v74.706c0 2.526-2.048 4.574-4.574 4.574zM-71.892-33.8123H42.455m-94.0442-19.2231l-13.328 19.223m35.6121-19.223l-13.328 19.223m35.6132-19.223l-13.328 19.223m35.6122-19.223l-13.328 19.223m35.6121-19.223l-13.328 19.223",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#FF7B78",d:"M15.5836-8.8211c0 16.735-13.566 30.302-30.302 30.302-16.735 0-30.302-13.567-30.302-30.302s13.567-30.302 30.302-30.302c16.736 0 30.302 13.567 30.302 30.302"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M15.5836-8.8211c0 16.735-13.566 30.302-30.302 30.302-16.735 0-30.302-13.567-30.302-30.302s13.567-30.302 30.302-30.302c16.736 0 30.302 13.567 30.302 30.302z",strokeLinecap:"round",strokeLinejoin:"round"}),r("path",{fill:"#FFF",d:"M-26.6293-25.6136v33.584l31.445-16.792"}),r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M-26.6293-25.6136v33.584l31.445-16.792zM184.3375 8.3772v6.43m3.2149-3.2152h-6.43m-292.9079 79.082v6.43m3.2148-3.2151h-6.43M195.901-43.6692l-1.516 1.515m-6.0611 6.0621l-1.516 1.516m9.0931-.0004l-1.516-1.516m-6.0611-6.0616l-1.516-1.515M-88.642 168.9265l-1.516 1.516m-6.0621 6.0616l-1.516 1.515m9.0941.0001l-1.516-1.515m-6.0621-6.0621l-1.516-1.516M174.3463-8.8211c0 1.775-1.439 3.215-3.215 3.215-1.776 0-3.215-1.44-3.215-3.215s1.439-3.215 3.215-3.215c1.776 0 3.215 1.44 3.215 3.215z",strokeLinecap:"round",strokeLinejoin:"round"})),I=r("path",{fill:"#C9D2F0",d:"M89.8311 190.9259c-2.441-2.441-2.441-6.4 0-8.841l36.771-36.771 8.841 8.841-36.771 36.771c-2.441 2.441-6.4 2.441-8.841 0"}),T=r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M89.8311 190.9259c-2.441-2.441-2.441-6.4 0-8.841l36.771-36.771 8.841 8.841-36.771 36.771c-2.441 2.441-6.4 2.441-8.841 0z",strokeLinecap:"round",strokeLinejoin:"round"}),N=r("path",{fill:"#9F7373",d:"M100.1458 189.4524l-8.841-8.841c-1.628-1.628-1.628-4.267 0-5.894l17.437-17.437c1.627-1.628 4.266-1.628 5.894 0l8.841 8.841c1.628 1.628 1.628 4.267 0 5.894l-17.437 17.437c-1.627 1.628-4.266 1.628-5.894 0"}),A=r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M100.1458 189.4524l-8.841-8.841c-1.628-1.628-1.628-4.267 0-5.894l17.437-17.437c1.627-1.628 4.266-1.628 5.894 0l8.841 8.841c1.628 1.628 1.628 4.267 0 5.894l-17.437 17.437c-1.627 1.628-4.266 1.628-5.894 0z",strokeLinecap:"round",strokeLinejoin:"round"}),M=r("path",{fill:"#F3F9FF",d:"M132.1122 148.6448c-15.621-15.621-15.621-40.948 0-56.569 15.621-15.621 40.948-15.621 56.569 0 15.621 15.621 15.621 40.948 0 56.569-15.621 15.621-40.948 15.621-56.569 0m63.895-63.895c-19.667-19.667-51.554-19.667-71.221 0s-19.667 51.554 0 71.221 51.554 19.667 71.221 0 19.667-51.554 0-71.221"}),C=r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M196.0069 155.9708c-19.667 19.667-51.554 19.667-71.221 0s-19.667-51.554 0-71.221 51.554-19.667 71.221 0 19.667 51.554 0 71.221z",strokeLinecap:"round",strokeLinejoin:"round"}),O=r("path",{stroke:"#1E2126",strokeWidth:"2",d:"M132.1122 148.6448c-15.621-15.621-15.621-40.948 0-56.569 15.621-15.621 40.948-15.621 56.569 0 15.621 15.621 15.621 40.948 0 56.569-15.621 15.621-40.948 15.621-56.569 0z",strokeLinecap:"round",strokeLinejoin:"round"}),D=r("path",{d:"M84 66h130v130H84z"}),L=s.default.createClass({displayName:"SearchIndexForeground",_isMounted:!1,getInitialState:function(){return{x:new c.default.Value(0),y:new c.default.Value(0),scale:new c.default.Value(1)}},componentWillMount:function(){this._isMounted=!0},componentDidMount:function(){var e=this.state,t=e.x,n=e.y,a=e.scale;"Firefox"!==u.default.name&&(c.default.animate(t,{loop:!0,toValueMin:d,toValueMax:p,overshootClamping:!0,friction:E,tension:y,shouldLoop:this.shouldLoop}),c.default.animate(n,{loop:!0,toValueMin:h,toValueMax:g,overshootClamping:!0,friction:E,tension:y,shouldLoop:this.shouldLoop}),c.default.animate(a,{loop:!0,toValueMin:m,toValueMax:v,overshootClamping:!0,friction:E,tension:y,shouldLoop:this.shouldLoop}))},componentWillUnmount:function(){this._isMounted=!1},shouldLoop:function(){return this._isMounted},render:function(){return r("div",{className:"search-index-animation"},void 0,_,r("svg",{className:"search-index-foreground",width:"320",height:"280"},void 0,b,r("g",{fill:"none",fillRule:"evenodd"},void 0,r("g",{transform:"translate(120 80)"},void 0,r("mask",{id:"search-index-foreground-mask-b",fill:"#fff"},void 0,r(c.default.use,{style:o(this.state),className:"mask",xlinkHref:"#search-index-foreground-mask-a"})),S),r(c.default.g,{className:"magnifying-glass",style:o(this.state)},void 0,I,T,N,A,M,C,O,D))))}});t.default=L,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(5)),s=a(i),l=function(e){var t=e.styles,n=e.image,a=e.label,r=e.action,i=e.active,l=void 0!==i&&i,u=e.disabled,f=void 0!==u&&u,c=e.danger,d=void 0!==c&&c,p=void 0;return f||(p=function(e){return r(e,a,l)}),o("div",{className:(0,s.default)("item item-image",{danger:d}),style:t,onClick:p},void 0,o("div",{className:"label"},void 0,a),o("img",{src:n}))};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(754)),s=a(i),l=function(e){var t=e.defaultValue,n=void 0===t?0:t,a=e.minValue,r=void 0===a?0:a,i=e.maxValue,l=void 0===i?100:i,u=e.onValueChange,f=e.onValueRender;return o("div",{className:"item item-slider"},void 0,o("div",{className:"label"},void 0,e.label),o(s.default,{handleSize:16,defaultValue:n,minValue:r,maxValue:l,onValueChange:u,onValueRender:f}))};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(307),f=a(u),c=n(6),d=a(c),p=n(61),h=a(p),g=n(89),m=a(g),v=n(5),E=a(v),y=i.default.createClass({displayName:"GroupDMResult",mixins:[d.default,f.default,l.default.LazyStoreListenerMixin(m.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=this.props.result.record;return{mentions:m.default.getMentionCount(e.id)}},renderResult:function(){var e=this.props.result.record,t=this.state.mentions,n=void 0;return t&&(n=o("span",{className:"badge"},void 0,t)),o("div",{className:(0,E.default)("result-guild",{unread:t>0})},void 0,o("div",{className:"result-type"},void 0,o(h.default,{channel:e,size:"xsmall"})),o("div",{className:"result-name"},void 0,o("span",{className:"result-match"},void 0,e.toString()),n))}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(307),f=a(u),c=n(6),d=a(c),p=n(182),h=a(p),g=n(221),m=a(g),v=n(5),E=a(v),y=i.default.createClass({displayName:"GuildResult",mixins:[d.default,f.default,l.default.LazyStoreListenerMixin(m.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=this.props.result.record;return{unread:m.default.hasUnread(e.id)}},renderResult:function(){var e=this.props.result.record,t=this.state.unread;return o("div",{className:(0,E.default)("result-guild",{unread:t})},void 0,o("div",{className:"result-type"},void 0,o(h.default,{guild:e,size:"xsmall",textScale:.5})),o("div",{className:"result-name"},void 0,o("span",{className:"result-match"},void 0,e.name)))}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=i.default.createClass({displayName:"HeaderResult",mixins:[l.default],setRef:function(e){this._resultNode=e},getNode:function(){return this._resultNode},render:function(){return i.default.createElement("div",{ref:this.setRef,className:"result"},o("div",{className:"section-title"},void 0,this.props.result.record.text))}});t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(12),f=a(u),c=n(89),d=a(c),p=n(307),h=a(p),g=n(6),m=a(g),v=n(5),E=a(v),y=n(13),_=a(y);n(603);var b=n(1),S=i.default.createClass({displayName:"TextChannelResult",mixins:[m.default,h.default,l.default.LazyStoreListenerMixin(d.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=this.props.result.record;return{unread:d.default.hasUnread(e.id),mentions:d.default.getMentionCount(e.id)}},renderResult:function(){var e=this.props.result.record,t=this.state,a=t.mentions,r=t.unread,i=f.default.getGuild(e.guild_id),s=void 0;a&&(s=o("span",{className:"badge"},void 0,a));var l=void 0;return l=n(_.default.theme===b.ThemeTypes.DARK?3106:3107),o("div",{className:(0,E.default)("result-text-channel",{unread:r})},void 0,o("div",{className:"result-type"},void 0,o("img",{className:"result-type-icon",src:l,width:16,height:16})),o("div",{className:"result-name"},void 0,o("span",{className:"result-match"},void 0,e.name),s,o("span",{className:"result-note"},void 0,i.name)))}});t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(6),f=a(u),c=n(307),d=a(c),p=n(61),h=a(p),g=n(34),m=a(g),v=n(35),E=a(v),y=n(89),_=a(y),b=n(11),S=a(b),I=n(31),T=a(I),N=n(5),A=a(N);n(603);var M=i.default.createClass({displayName:"UserResult",mixins:[f.default,d.default,l.default.LazyStoreListenerMixin(_.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=this.props.result.record;return{mentions:_.default.getMentionCount(S.default.getDMFromUserId(e.id))}},renderResult:function(){var e=this.props.result,t=e.record,n=e.comparator,a=this.state.mentions,r=a>0,i=void 0;r&&(i=o("span",{className:"badge"},void 0,a));var s=void 0;if(n===t.tag){var l=n.split("#");l.pop(),s=l.join("#")}else s=n||t.username;s===t.username&&(s=m.default.getNick(E.default.getGuildId(),t.id)||s);var u=void 0;return T.default.enabled||(u="#"+t.discriminator),o("div",{className:(0,A.default)("result-user",{unread:r})},void 0,o("div",{className:"result-type"},void 0,o(h.default,{user:t,size:"xsmall"})),o("div",{className:"result-display-name"},void 0,o("span",{className:"result-match"},void 0,s),i),o("div",{className:"result-username"},void 0,t.username,u))}});t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(6),f=a(u),c=n(12),d=a(c),p=n(307),h=a(p),g=n(61),m=a(g),v=n(271),E=a(v),y=n(13),_=a(y),b=n(5),S=a(b),I=n(1),T=i.default.createClass({displayName:"VoiceChannelResult",mixins:[f.default,h.default,l.default.LazyStoreListenerMixin(E.default,d.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=this.props.result.record.guild_id,t=E.default.getVoiceStates(e);return{guild:d.default.getGuild(e),voiceState:t[this.props.result.record.id]}},renderConnectedUsers:function(){var e=this.state.voiceState;return e?o("div",{className:"connected-voice-users"},void 0,e.map(function(e,t){return o(m.default,{user:e.user,size:"xsmall"},t)})):null},renderResult:function(){var e=this.props.result.record,t=this.state,a=t.guild,r=t.voiceState,i=void 0;i=n(_.default.theme===I.ThemeTypes.DARK?3108:3109);var s=null!=r;return o("div",{className:(0,S.default)("result-voice-channel",{unread:s})},void 0,o("div",{className:"result-type"},void 0,o("img",{className:"result-type-icon",src:i,width:16,height:16})),o("div",{className:"result-name"},void 0,o("span",{className:"result-match"},void 0,e.name),o("span",{className:"result-note"},void 0,a.name)),this.renderConnectedUsers())}});t.default=T,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(259),c=a(f),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.style,a=e.id;return s("div",{className:t,style:n},void 0,s(c.default,{id:a}))},t}(u.default.PureComponent);t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(2),u=a(l),f=n(6),c=a(f),d=n(21),p=a(d),h=n(86),g=a(h),m=n(757),v=a(m),E=n(60),y=a(E),_=n(259),b=a(_),S=n(79),I=a(S),T=n(22),N=a(T),A=n(14),M=a(A),C=n(11),O=a(C),D=n(301),L=a(D),R=n(1),x=n(3),w=a(x),P=s.default.createClass({displayName:"ChangeIcon",mixins:[c.default],handleChangeIcon:function(e){N.default.close(),I.default.setIcon(this.props.channel.id,e)},render:function(){return r(p.default,{label:w.default.Messages.CHANGE_ICON,styles:{position:"relative"}},void 0,r(L.default,{onChange:this.handleChangeIcon,size:R.AVATAR_MAX_SIZE}))}}),k=s.default.createClass({displayName:"RemoveIcon",mixins:[c.default],handleRemoveIcon:function(){N.default.close(),I.default.setIcon(this.props.channel.id,null)},render:function(){return null!=this.props.channel.icon?r(p.default,{label:w.default.Messages.REMOVE_ICON,action:this.handleRemoveIcon}):null}}),U=s.default.createClass({displayName:"LeaveGroup",mixins:[c.default],render:function(){return r(p.default,{label:w.default.Messages.LEAVE_GROUP_DM,action:this.handleConfirmLeave,danger:!0})},handleConfirmLeave:function(){var e=this;N.default.close();var t=this.props.channel.toString();M.default.push(function(n){return s.default.createElement(y.default,o({header:w.default.Messages.LEAVE_GROUP_DM_TITLE.format({name:t}),confirmText:w.default.Messages.LEAVE_GROUP_DM,cancelText:w.default.Messages.CANCEL,onConfirm:e.handleLeave},n),r("p",{},void 0,w.default.Messages.LEAVE_GROUP_DM_BODY.format({name:t})))})},handleLeave:function(){I.default.closePrivateChannel(this.props.channel.id,this.props.selected)}}),G=s.default.createClass({displayName:"GroupDMContextMenu",mixins:[u.default.LazyStoreListenerMixin(O.default),c.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{channel:O.default.getChannel(this.props.channelId)}},componentWillReceiveProps:function(e){this.setState({channel:O.default.getChannel(e.channelId)})},render:function(){var e=this.props,t=e.style,n=e.className,a=e.selected,o=this.state.channel;return null==o||o.isManaged()?null:r("div",{className:n,style:t},void 0,r(g.default,{},void 0,r(P,{channel:o}),r(k,{channel:o})),r(g.default,{},void 0,r(v.default,{channel:o}),r(U,{channel:o,selected:a})),r(b.default,{id:o.id}))}});t.default=G,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(86),f=a(u),c=n(259),d=a(c),p=n(1414),h=a(p),g=n(1413),m=a(g),v=n(1419),E=a(v),y=n(758),_=a(y),b=n(759),S=a(b),I=n(1415),T=a(I),N=n(1412),A=a(N),M=n(1416),C=a(M),O=n(1417),D=a(O),L=n(1418),R=a(L),x=n(760),w=a(x),P=n(1),k=o(_.default,{}),U=i.default.createClass({displayName:"MessageContextMenu",mixins:[l.default],render:function(){var e=this.props,t=e.style,n=e.type,a=e.className,r=e.channel,i=e.message,s=e.invertChildY,l=e.attachment,u=this.props.target,c=void 0,p=void 0;if(l)p=c=l.url;else for(;null!=u;)null!=u.src&&(p=u.src),null!=u.href&&(c=u.href),u=u.parentNode;var g=void 0,v=void 0,y=document.getSelection?document.getSelection():null;switch(y&&y.rangeCount>0&&(g=k,v=o(w.default,{value:y.toString()})),n){case P.ContextMenuTypes.MESSAGE_MAIN:return o("div",{className:a,style:t},void 0,o(f.default,{},void 0,g),o(f.default,{},void 0,v),o(f.default,{},void 0,o(A.default,{channel:r,message:i,invertChildY:s}),o(T.default,{channel:r,message:i}),o(E.default,{channel:r,message:i}),o(h.default,{channelId:r.id,message:i}),o(C.default,{channel:r,message:i}),o(D.default,{channel:r,message:i}),o(R.default,{message:i}),o(m.default,{channel:r,message:i})),o(S.default,{href:c,src:p}),o(d.default,{id:i.id}));case P.ContextMenuTypes.MESSAGE_SYSTEM:return o("div",{className:a,style:t},void 0,o(f.default,{},void 0,g),o(f.default,{},void 0,v),o(f.default,{},void 0,o(m.default,{channel:r,message:i})),o(S.default,{href:c,src:p}),o(d.default,{id:i.id}))}}});t.default=U,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(86),f=a(u),c=n(758),d=a(c),p=n(1420),h=a(p),g=n(1421),m=a(g),v=n(759),E=a(v),y=n(760),_=a(y),b=n(1),S=i.default.createClass({displayName:"NativeContextMenu",mixins:[l.default],render:function(){var e=this.props,t=e.style,n=e.type,a=e.target,r=e.className,i=e.href,s=e.src,l=e.value;switch(n){case b.ContextMenuTypes.NATIVE_INPUT:return o("div",{className:r,style:t},void 0,o(f.default,{},void 0,o(d.default,{value:l,target:a,useSelection:!0}),o(h.default,{value:l,target:a}),o(m.default,{target:a})));case b.ContextMenuTypes.NATIVE_LINK:return o("div",{className:r,style:t},void 0,o(d.default,{value:l}),o(E.default,{href:i,src:s}));case b.ContextMenuTypes.NATIVE_IMAGE:return o("div",{className:r,style:t},void 0,o(E.default,{href:i,src:s}));case b.ContextMenuTypes.NATIVE_TEXT:return o("div",{className:r,style:t},void 0,o(f.default,{},void 0,o(_.default,{value:l})),o(f.default,{},void 0,o(d.default,{value:l})));default:console.warn("Error - no such ctx menu type")}}});t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o,r,i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(0),u=a(l),f=n(6),c=a(f),d=n(21),p=a(d),h=n(258),g=a(h),m=n(22),v=a(m),E=n(57),y=a(E),_=n(764),b=n(1422),S=a(b),I=n(1394),T=a(I),N=n(1393),A=a(N),M=n(1),C=n(225),O=a(C),D=n(260),L=a(D),R=i(S.default,{},"streamer-mode"),x=i(T.default,{},"theme"),w=i(A.default,{},"messages"),P=u.default.createClass({displayName:"UserSettingsCogContextMenu",mixins:[c.default],renderMenuItem:function(e){var t=this,n=e.section,a=e.label,o=e.onClick,r=void 0;r=o?function(){v.default.close(),o()}:function(){return t.handleAction(n)};var i={key:n,label:a,action:r};switch(n){case M.UserSettingsSections.STREAMER_MODE:return u.default.createElement(g.default,s({},i,{render:function(){return[R]}}));case M.UserSettingsSections.APPEARANCE:return u.default.createElement(g.default,s({},i,{render:function(){return[x,w]}}));case"logout":return null;default:return u.default.createElement(p.default,i)}},render:function(){var e=this.props,t=e.style,n=e.videoSettings;return i("div",{className:e.className,style:t},void 0,(0,_.getUserSettingsSections)(n).map(this.renderMenuItem))},handleAction:function(e){v.default.close(),y.default.open(e)}});t.default=(0,L.default)(O.default,(r={},r[M.ExperimentTypes.NONE]=function(e){return u.default.createElement(P,e)},r[M.ExperimentTypes.DEVELOPER]=(o={},o[M.ExperimentBuckets.CONTROL]=function(e){return u.default.createElement(P,s({},e,{videoSettings:!0}))},o),r)),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(2),f=a(u),c=n(3),d=a(c),p=n(21),h=a(p),g=n(13),m=a(g),v=n(108),E=a(v),y=i.default.createClass({displayName:"AppearanceMessageDisplayMenuItem",mixins:[f.default.LazyStoreListenerMixin(m.default),l.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{isCompact:m.default.messageDisplayCompact}},render:function(){return o(h.default,{label:this.state.isCompact?d.default.Messages.SWITCH_TO_COZY_MODE:d.default.Messages.SWITCH_TO_COMPACT_MODE,action:this.handleAction})},handleAction:function(){E.default.updateRemoteSettings({messageDisplayCompact:!this.state.isCompact})}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(2),f=a(u),c=n(3),d=a(c),p=n(21),h=a(p),g=n(13),m=a(g),v=n(108),E=a(v),y=n(1),_=i.default.createClass({displayName:"AppearanceThemeMenuItem",mixins:[f.default.StoreListenerMixin(m.default),l.default],getStateFromStores:function(){return{theme:m.default.theme}},render:function(){return o(h.default,{label:this.state.theme==y.ThemeTypes.LIGHT?d.default.Messages.SWITCH_TO_DARK_THEME:d.default.Messages.SWITCH_TO_LIGHT_THEME,action:this.handleAction})},handleAction:function(){E.default.updateRemoteSettings({theme:this.state.theme==y.ThemeTypes.LIGHT?y.ThemeTypes.DARK:y.ThemeTypes.LIGHT})}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(272),h=n(22),g=a(h),m=i.default.createClass({displayName:"ChannelCopyTopicItem",mixins:[l.default],render:function(){return p.SUPPORTS_COPY?o(d.default,{label:f.default.Messages.COPY_CHANNEL_TOPIC,action:this.handleChannelTopicCopy}):null},handleChannelTopicCopy:function(){(0,p.copy)(this.props.channel.topic),g.default.close()}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(47),d=a(c),p=n(21),h=a(p),g=n(22),m=a(g),v=n(296),E=a(v),y=n(1),_=i.default.createClass({displayName:"ChannelCreateTextItem",mixins:[d.default,l.default],render:function(){return this.can(y.Permissions.MANAGE_CHANNELS,this.props.guild)?o(h.default,{label:f.default.Messages.CREATE_TEXT_CHANNEL,action:this.handleChannelCreate}):null},handleChannelCreate:function(){m.default.close(),E.default.open(null,y.ChannelTypes.GUILD_TEXT,this.props.guild.id)}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(47),d=a(c),p=n(21),h=a(p),g=n(22),m=a(g),v=n(296),E=a(v),y=n(1),_=i.default.createClass({displayName:"ChannelCreateVoiceItem",mixins:[d.default,l.default],render:function(){return this.can(y.Permissions.MANAGE_CHANNELS,this.props.guild)?o(h.default,{label:f.default.Messages.CREATE_VOICE_CHANNEL,action:this.handleChannelCreate}):null},handleChannelCreate:function(){m.default.close(),E.default.open(null,y.ChannelTypes.GUILD_VOICE,this.props.guild.id)}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(3),c=a(f),d=n(47),p=a(d),h=n(86),g=a(h),m=n(21),v=a(m),E=n(60),y=a(E),_=n(22),b=a(_),S=n(14),I=a(S),T=n(295),N=a(T),A=n(1),M=s.default.createClass({displayName:"ChannelDeleteGroup",mixins:[p.default,u.default],render:function(){var e=this.props.channel;return e.isDefaultChannel()||!this.can(A.Permissions.MANAGE_CHANNELS,e)?null:r(g.default,{},void 0,r(v.default,{label:c.default.Messages.DELETE_CHANNEL,action:this.handleChannelDelete,danger:!0}))},handleChannelDelete:function(){var e=this;b.default.close(),I.default.push(function(t){return s.default.createElement(y.default,o({header:c.default.Messages.DELETE_SERVER_TITLE.format({name:e.props.channel.toString()}),confirmText:c.default.Messages.DELETE_CHANNEL,cancelText:c.default.Messages.CANCEL,onConfirm:e.handleConfirmChannelDelete},t),r("p",{},void 0,c.default.Messages.DELETE_SERVER_BODY.format({name:e.props.channel.toString(!0)})))})},handleConfirmChannelDelete:function(){N.default.deleteChannel(this.props.channel.id)}});t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(47),d=a(c),p=n(21),h=a(p),g=n(22),m=a(g),v=n(295),E=a(v),y=n(1),_=i.default.createClass({displayName:"ChannelEditItem",mixins:[d.default,l.default],render:function(){return this.can(y.Permissions.MANAGE_CHANNELS,this.props.channel)?o(h.default,{label:f.default.Messages.EDIT_CHANNEL,action:this.handleChannelEdit}):null},handleChannelEdit:function(){m.default.close(),E.default.open(this.props.channel.id)}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(47),f=a(u),c=n(3),d=a(c),p=n(21),h=a(p),g=n(86),m=a(g),v=n(22),E=a(v),y=n(296),_=a(y),b=n(14),S=a(b),I=n(256),T=a(I),N=n(1),A=i.default.createClass({displayName:"ChannelInviteCreateGroup",mixins:[f.default,l.default],render:function(){var e=this.props,t=e.type,n=e.channel,a=void 0;this.can(N.Permissions.CONNECT,n)&&this.can(N.Permissions.CREATE_INSTANT_INVITE,n)&&(a=o(h.default,{label:d.default.Messages.INSTANT_INVITE,action:this.openInviteModal}));var r=void 0,i=void 0,s=void 0;return this.can(N.Permissions.MANAGE_CHANNELS,this.props.guild)&&(t!==N.ContextMenuTypes.CHANNEL_LIST_VOICE&&(r=o(h.default,{label:d.default.Messages.CREATE_TEXT_CHANNEL,action:this.handleTextChannelCreate})),t!==N.ContextMenuTypes.CHANNEL_LIST_TEXT&&(i=o(h.default,{label:d.default.Messages.CREATE_VOICE_CHANNEL,action:this.handleVoiceChannelCreate})),s=o(h.default,{label:d.default.Messages.CLONE_CHANNEL,action:this.handleCloneCreate})),o(m.default,{},void 0,a,s,r,i)},openInviteModal:function(){E.default.close(),S.default.push(T.default,{guild:this.props.guild,channel:this.props.channel,source:"Context Menu"})},handleCloneCreate:function(){E.default.close(),_.default.open(null,null,this.props.guild.id,this.props.channel.id)},handleVoiceChannelCreate:function(){E.default.close(),_.default.open(null,N.ChannelTypes.GUILD_VOICE,this.props.guild.id)},handleTextChannelCreate:function(){E.default.close(),_.default.open(null,N.ChannelTypes.GUILD_TEXT,this.props.guild.id)}});t.default=A,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(21),c=a(f),d=n(3),p=a(d),h=n(63),g=a(h),m=n(59),v=a(m),E=n(22),y=a(E),_=n(102),b=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleJumpToChannel=a.handleJumpToChannel.bind(a),a}return i(t,e),t.prototype.render=function(){return s(c.default,{label:p.default.Messages.JUMP_TO_CHANNEL,action:this.handleJumpToChannel})},t.prototype.handleJumpToChannel=function(){var e=this.props,t=e.channel,n=e.guild;g.default.selectGuild(n.id),v.default.selectChannel(n.id,t.id),y.default.close(),(0,_.popLayer)()},t}(u.default.PureComponent);t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(22),h=a(p),g=n(355),m=a(g),v=i.default.createClass({displayName:"ChannelMarkReadItem",mixins:[l.default],render:function(){return o(d.default,{label:f.default.Messages.MARK_AS_READ,action:this.handleMarkAsRead,disabled:!this.props.hasUnread})},handleMarkAsRead:function(){h.default.close(),m.default.ack(this.props.channelId,!0,!0)}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(2),d=a(c),p=n(183),h=a(p),g=n(374),m=a(g),v=n(484),E=a(v),y=i.default.createClass({displayName:"ChannelToggleVisibilityItem",mixins:[d.default.LazyStoreListenerMixin(m.default),l.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{isCollapsed:m.default.isCollapsed(this.props.channelId)}},render:function(){return o(h.default,{label:f.default.Messages.VOICE_CHANNEL_HIDE_NAMES,action:this.handleChannelToggle,active:this.state.isCollapsed})},handleChannelToggle:function(){E.default.update(this.props.channelId)}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(86),h=a(p),g=n(22),m=a(g),v=n(297),E=a(v),y=n(1),_=i.default.createClass({displayName:"GuildCreateJoinGroup",mixins:[l.default],render:function(){return o(h.default,{},void 0,o(d.default,{label:f.default.Messages.JOIN_SERVER_BUTTON_CTA,action:this.handleGuildJoin}),o(d.default,{label:f.default.Messages.CREATE_SERVER_BUTTON_CTA,action:this.handleGuildCreate}))},handleGuildCreate:function(){m.default.close(),E.default.open(y.CreateGuildModalScreens.CreateGuild,"Guild List - ContextMenu")},handleGuildJoin:function(){m.default.close(),E.default.open(y.CreateGuildModalScreens.JoinGuild,"Guild List - ContextMenu")}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(3),c=a(f),d=n(2),p=a(d),h=n(86),g=a(h),m=n(21),v=a(m),E=n(60),y=a(E),_=n(10),b=a(_),S=n(22),I=a(S),T=n(83),N=a(T),A=n(14),M=a(A),C=s.default.createClass({displayName:"GuildLeaveGroup",mixins:[p.default.StoreListenerMixin(b.default),u.default],getStateFromStores:function(){return{amOwner:this.props.guild.isOwner(b.default.getCurrentUser())}},render:function(){return this.state.amOwner?null:r(g.default,{},void 0,r(v.default,{label:c.default.Messages.LEAVE_SERVER,action:this.handleLeaveGuild,danger:!0}))},handleLeaveGuild:function(){var e=this;I.default.close(),M.default.push(function(t){return s.default.createElement(y.default,o({header:c.default.Messages.LEAVE_SERVER_TITLE.format({name:e.props.guild.name}),confirmText:c.default.Messages.LEAVE_SERVER,cancelText:c.default.Messages.CANCEL,onConfirm:e.handleConfirmLeaveGuild},t),r("p",{},void 0,c.default.Messages.LEAVE_SERVER_BODY.format({name:e.props.guild.name})))})},handleConfirmLeaveGuild:function(){N.default.leaveGuild(this.props.guild.id)}});t.default=C,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(2),d=a(c),p=n(21),h=a(p),g=n(221),m=a(g),v=n(22),E=a(v),y=n(63),_=a(y),b=i.default.createClass({displayName:"GuildMarkReadItem",mixins:[d.default.LazyStoreListenerMixin(m.default),l.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{hasUnread:m.default.getUnreadGuildsIgnoreMuted(this.props.guildId)}},render:function(){return o(h.default,{label:f.default.Messages.MARK_AS_READ,action:this.handleMarkAsRead,disabled:!this.state.hasUnread})},handleMarkAsRead:function(){E.default.close(),_.default.markGuildAsRead(this.props.guildId)}});t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(2),d=a(c),p=n(183),h=a(p),g=n(104),m=a(g),v=n(212),E=a(v),y=i.default.createClass({displayName:"GuildMuteItem",mixins:[d.default.LazyStoreListenerMixin(m.default),l.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{muted:m.default.isMuted(this.props.guildId)}},render:function(){return o(h.default,{label:f.default.Messages.SERVER_MUTE,action:this.handleServerMute,active:this.state.muted})},handleServerMute:function(){E.default.updateNotificationSettings(this.props.guildId,{muted:!this.state.muted})}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(22),h=a(p),g=n(212),m=a(g),v=i.default.createClass({displayName:"GuildNotificationsItem",mixins:[l.default],render:function(){return o(d.default,{label:f.default.Messages.NOTIFICATION_SETTINGS,action:this.handleShowNotificationSettings})},handleShowNotificationSettings:function(){h.default.close(),m.default.open(this.props.guildId)}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(22),h=a(p),g=n(490),m=a(g),v=i.default.createClass({displayName:"GuildPrivacySettingsItem",mixins:[l.default],render:function(){return o(d.default,{label:f.default.Messages.PRIVACY_SETTINGS,action:this.handleOpenPrivacySettings})},handleOpenPrivacySettings:function(){h.default.close(),m.default.open(this.props.guildId)}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(258),h=a(p),g=n(47),m=a(g),v=n(22),E=a(v),y=n(83),_=a(y),b=n(762),S=n(1),I=i.default.createClass({displayName:"GuildSettingsItem",mixins:[l.default,m.default],render:function(){var e=this,t=this.props.guild;return this.can(S.Permissions.MANAGE_GUILD,t)||this.can(S.Permissions.MANAGE_ROLES,t)||this.can(S.Permissions.BAN_MEMBERS,t)||this.can(S.Permissions.MANAGE_NICKNAMES,t)||this.can(S.Permissions.MANAGE_EMOJIS,t)||this.can(S.Permissions.VIEW_AUDIT_LOG,t)?o(h.default,{label:f.default.Messages.SERVER_SETTINGS,action:function(){return e.handleShowSettings()},render:this.renderSubMenuItems}):null},renderSubMenuItems:function(){var e=this,t=this.props.guild;return(0,b.getGuildSettingsSections)(t).map(function(t){var n=t.section,a=t.label;return o(d.default,{action:function(){return e.handleShowSettings(n)},label:a},n)})},handleShowSettings:function(e){E.default.close(),_.default.open(this.props.guild.id,e)}});t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(2),d=a(c),p=n(21),h=a(p),g=n(258),m=a(g),v=n(55),E=a(v),y=n(17),_=a(y),b=n(76),S=a(b),I=n(11),T=a(I),N=n(98),A=a(N),M=n(271),C=a(M),O=n(47),D=a(O),L=n(59),R=a(L),x=n(63),w=a(x),P=n(22),k=a(P),U=n(1),G=n(316),j=i.default.createClass({displayName:"GuildVoiceMoveToItem",mixins:[d.default.LazyStoreListenerMixin(A.default,S.default,T.default),l.default,D.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=this.props,t=e.guildId,n=e.user,a=S.default.getCurrentVoiceChannelId(t,n.id),o=a?T.default.getChannel(a):null;return{voiceChannels:A.default.getChannels(t)[U.ChannelTypes.GUILD_VOICE],currentVoiceChannel:o}},checkPermissionsForCurrentUser:function(e){if(!this.can(U.Permissions.CONNECT,e))return!1;if(this.can(U.Permissions.MOVE_MEMBERS,e))return!0;var t=e.getGuildId(),n=null!=t?C.default.getVoiceStatesForChannel(t,e.id):[];return!(0,G.isChannelFull)(e,n.length)},checkPermissionsForOtherUser:function(e){var t=this;return function(n){return t.can(U.Permissions.MOVE_MEMBERS,n)&&(t.can(U.Permissions.CONNECT,n)||E.default.can(U.Permissions.CONNECT,e,n))}},getTargetChannels:function(){var e=this.props.user,t=this.state,n=t.voiceChannels,a=t.currentVoiceChannel,o=e.id===_.default.getId();if(null==a)throw new Error("[App]GuildVoiceMoveToItem.getTargetChannels(): assert failed: currentVoiceChannel != null");if(!o&&!this.can(U.Permissions.MOVE_MEMBERS,a))return[];var r=o?this.checkPermissionsForCurrentUser:this.checkPermissionsForOtherUser(e);return n.filter(function(e){var t=e.channel;return t.id!==a.id&&r(t)})},render:function(){var e=this,t=this.props.invertChildY;if(!this.state.currentVoiceChannel)return null;var n=this.getTargetChannels();if(0===n.length)return null;var a=n.map(function(t){var n=t.channel;return o(h.default,{action:function(){return e.handleChannelMove(n)},label:n.toString()},n.id)});return o(m.default,{label:f.default.Messages.MOVE_TO,invertChildY:t,render:a})},handleChannelMove:function(e){k.default.close(),this.props.user.id==_.default.getId()?R.default.selectVoiceChannel(this.props.guildId,e.id):w.default.setChannel(this.props.guildId,this.props.user.id,e.id)}});t.default=j,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(47),d=a(c),p=n(258),h=a(p),g=n(1380),m=a(g),v=n(1),E=n(213),y=n(14),_=a(y),b=n(498),S=a(b),I=n(36),T=n(48),N=a(T),A=n(193),M=a(A),C=n(163),O=a(C),D=n(319),L=n(189),R=a(L),x=n(13),w=a(x),P=n(22),k=a(P),U=i.default.createClass({displayName:"MessageAddReactionItem",mixins:[d.default,l.default],renderFrequentlyUsedEmojis:function(){var e=this,t=this.props.channel.getGuildId(),a=R.default.getDisambiguatedEmojiContext(t).getFrequentlyUsedEmojis().filter(function(t){return!M.default.isEmojiDisabled(t,e.props.channel)}).map(function(t){var n=void 0;n=null==t.id?M.default.getURL(t.surrogatePair):N.default.getEmojiURL({id:t.id});var a=void 0;a=null==t.id?O.default.convertSurrogateToName(t.surrogatePair):":"+t.name+":";var r=t.id||t.surrogatePair;return o(m.default,{label:a,image:n,action:function(){return e.handleAddReaction(t)}},r)});return a.push(o(m.default,{label:f.default.Messages.OTHER_REACTIONS,image:n(3022),action:this.renderEmojiPicker},"otherReactions")),a},render:function(){return w.default.renderReactions&&(this.props.channel.isPrivate()||this.can(v.Permissions.ADD_REACTIONS,this.props.channel))?o(h.default,{label:f.default.Messages.ADD_REACTION,render:this.renderFrequentlyUsedEmojis,invertChildY:this.props.invertChildY}):null},renderEmojiPicker:function(){k.default.close(),I.ComponentDispatch.dispatch(v.ComponentActions.TOGGLE_REACTION_POPOUT(this.props.message.id))},handleAddReaction:function(e){var t=this.props,n=t.channel,a=t.message;(0,E.addReaction)(n.id,a.id,(0,D.toReactionEmoji)(e)),k.default.close()},handleReactions:function(){_.default.push(S.default,{message:this.props.message})}});t.default=U,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(47),d=a(c),p=n(21),h=a(p),g=n(10),m=a(g),v=n(22),E=a(v),y=n(54),_=a(y),b=n(1),S=n(358),I=a(S),T=i.default.createClass({displayName:"MessageDeleteItem",mixins:[d.default,l.default],render:function(){return!this.can(b.Permissions.MANAGE_MESSAGES,this.props.channel)&&this.props.message.author.id!==m.default.getCurrentUser().id||this.props.message.state===b.MessageStates.SENDING?null:o(h.default,{label:f.default.Messages.DELETE_MESSAGE,action:this.handleDeleteMessage,danger:!0})},handleDeleteMessage:function(e){var t=this.props,n=t.channel,a=t.message;E.default.close(),a.state===b.MessageStates.SEND_FAILED?_.default.deleteMessage(n.id,a.id,!0):e.shiftKey?_.default.deleteMessage(n.id,a.id):I.default.confirmDelete(n,a,!0)}});t.default=T,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(10),h=a(p),g=n(22),m=a(g),v=n(54),E=a(v),y=n(1),_=i.default.createClass({displayName:"MessageEditItem",mixins:[l.default],render:function(){var e=this.props.message,t=h.default.getCurrentUser();return e.state!==y.MessageStates.SEND_FAILED&&e.author.id===t.id?o(d.default,{label:f.default.Messages.EDIT_MESSAGE,action:this.handleEditMessage}):null},handleEditMessage:function(){m.default.close(),E.default.startEditMessage(this.props.channelId,this.props.message.id,this.props.message.content)}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(22),h=a(p),g=n(349),m=a(g),v=n(358),E=a(v),y=n(47),_=a(y),b=n(1),S=i.default.createClass({displayName:"MessagePinItem",mixins:[l.default,_.default],render:function(){var e=this.props,t=e.channel,n=e.message;return!this.can(b.Permissions.MANAGE_MESSAGES,t)&&!t.isPrivate()||n.state===b.MessageStates.SEND_FAILED?null:n.pinned===!1?o(d.default,{action:this.handlePin,label:f.default.Messages.PIN_MESSAGE}):o(d.default,{action:this.handleUnpin,label:f.default.Messages.UNPIN_MESSAGE})},handlePin:function(e){h.default.close(),e.shiftKey?m.default.pinMessage(this.props.channel,this.props.message.id):E.default.confirmPin(this.props.channel,this.props.message)},handleUnpin:function(e){h.default.close(),e.shiftKey?m.default.unpinMessage(this.props.channel,this.props.message.id):E.default.confirmUnpin(this.props.channel,this.props.message)}});t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(47),d=a(c),p=n(21),h=a(p),g=n(14),m=a(g),v=n(498),E=a(v),y=n(22),_=a(y),b=i.default.createClass({displayName:"MessageReactionsItem",mixins:[d.default,l.default],render:function(){return this.props.message.reactions&&this.props.message.reactions.length>0?o(h.default,{label:f.default.Messages.REACTIONS,action:this.handleReactions}):null},handleReactions:function(){_.default.close(),m.default.push(E.default,{message:this.props.message})}});t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(47),d=a(c),p=n(21),h=a(p),g=n(1),m=n(213),v=n(107),E=a(v),y=n(22),_=a(y),b=i.default.createClass({displayName:"MessageRemoveReactionsItem",mixins:[d.default,l.default],render:function(){return this.can(g.Permissions.MANAGE_MESSAGES,this.props.channel)&&this.props.message.reactions&&this.props.message.reactions.length>0?o(h.default,{label:f.default.Messages.REMOVE_ALL_REACTIONS,action:this.handleRemoveAllReactions,danger:!0}):null},handleRemoveAllReactions:function(e){var t=this;_.default.close(),e.shiftKey?(0,m.removeAllReactions)(this.props.channel.id,this.props.message.id):E.default.show({title:f.default.Messages.REMOVE_ALL_REACTIONS_CONFIRM_TITLE,body:f.default.Messages.REMOVE_ALL_REACTIONS_CONFIRM_BODY,confirmText:f.default.Messages.YES_TEXT,cancelText:f.default.Messages.NO_TEXT,onConfirm:function(){(0,m.removeAllReactions)(t.props.channel.id,t.props.message.id)}})}});t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(3),c=a(f),d=n(21),p=a(d),h=n(499),g=a(h),m=n(14),v=a(m),E=n(22),y=a(E),_=n(387),b=a(_),S=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this,t=this.props.message;return b.default.canReportMessage(t)?s(p.default,{label:c.default.Messages.REPORT,action:function(){return e.handleReport()}}):null},t.prototype.handleReport=function(){v.default.push(g.default,this.props),y.default.close()},t}(u.default.Component);t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(22),h=a(p),g=n(54),m=a(g),v=n(1),E=i.default.createClass({displayName:"MessageResendItem",mixins:[l.default],render:function(){return this.props.message.state===v.MessageStates.SEND_FAILED?o(d.default,{label:f.default.Messages.RESEND_MESSAGE,action:this.handleResendMessage}):null},handleResendMessage:function(){var e=this.props,t=e.channel,n=e.message;h.default.close(),m.default.retrySendMessage(t,n.id,n.content,n.tts)}});t.default=E,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(18),d=a(c),p=n(21),h=a(p),g=n(22),m=a(g),v=i.default.createClass({displayName:"NativeCutItem",mixins:[l.default],render:function(){return this.props.value?o(h.default,{label:f.default.Messages.CUT,hint:d.default.isOSX()?"⌘X":"Ctrl+X",action:this.handleCutItem}):null},handleCutItem:function(){m.default.close(),this.props.target.focus(),setTimeout(function(){return d.default.cut()},0)}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(18),d=a(c),p=n(21),h=a(p),g=n(22),m=a(g),v=i.default.createClass({displayName:"NativePasteItem",mixins:[l.default],render:function(){return o(h.default,{label:f.default.Messages.PASTE,hint:d.default.isOSX()?"⌘V":"Ctrl+V",action:this.handlePasteItem})},handlePasteItem:function(){m.default.close(),this.props.target.focus(),setTimeout(function(){return d.default.paste()},0)}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(2),f=a(u),c=n(3),d=a(c),p=n(183),h=a(p),g=n(31),m=a(g),v=n(356),E=a(v),y=i.default.createClass({displayName:"StreamerModeToggleItem",mixins:[f.default.LazyStoreListenerMixin(m.default),l.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{enabled:m.default.enabled}},render:function(){return o(h.default,{label:d.default.Messages.ENABLE_STREAMER_MODE_LABEL,action:this.handleToggle,active:this.state.enabled})},handleToggle:function(){E.default.setEnabled(!this.state.enabled)}});t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(3),c=a(f),d=n(2),p=a(d),h=n(21),g=a(h),m=n(60),v=a(m),E=n(10),y=a(E),_=n(43),b=a(_),S=n(14),I=a(S),T=n(180),N=a(T),A=n(22),M=a(A),C=s.default.createClass({displayName:"UserAddFriendItem",mixins:[p.default.StoreListenerMixin(b.default),u.default],getInitialState:function(){return{requestSent:!1}},getStateFromStores:function(){var e=this.props.user.id;return{me:y.default.getCurrentUser().id===e,isFriend:b.default.isFriend(e),isBlocked:b.default.isBlocked(e)}},render:function(){if(this.props.user.bot)return null;var e=null;if(!this.state.me){var t=c.default.Messages.ADD_FRIEND;this.state.isFriend?t=c.default.Messages.REMOVE_FRIEND:this.state.requestSent&&(t=c.default.Messages.ADD_FRIEND_BUTTON_AFTER),e=r(g.default,{label:t,action:this.handleToggleFriend,disabled:this.state.isBlocked||this.state.requestSent&&!this.state.isFriend})}return e},handleToggleFriend:function(){var e=this;this.state.requestSent||(this.state.isFriend?(M.default.close(),I.default.push(function(t){return s.default.createElement(v.default,o({header:c.default.Messages.REMOVE_FRIEND_TITLE.format({name:e.props.user.username}),confirmText:c.default.Messages.REMOVE_FRIEND,cancelText:c.default.Messages.CANCEL,onConfirm:e.performRemoval},t),r("p",{},void 0,c.default.Messages.REMOVE_FRIEND_BODY.format({name:e.props.user.username})))})):(N.default.addRelationship(this.props.user.id,{location:"ContextMenu"}),this.setState({requestSent:!0})))},performRemoval:function(){N.default.removeRelationship(this.props.user.id,{location:"ContextMenu"}),this.setState({requestSent:!1})}});t.default=C,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(2),c=a(f),d=n(3),p=a(d),h=n(47),g=a(h),m=n(86),v=a(m),E=n(21),y=a(E),_=n(183),b=a(_),S=n(12),I=a(S),T=n(10),N=a(T),A=n(76),M=a(A),C=n(14),O=a(C),D=n(63),L=a(D),R=n(22),x=a(R),w=n(1294),P=a(w),k=n(1263),U=a(k),G=n(1),j=s.default.createClass({displayName:"UserAdminItemGroup",mixins:[c.default.LazyStoreListenerMixin(N.default,M.default),u.default,g.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=this.props,t=e.user,n=e.guildId,a=N.default.getCurrentUser(),o=a===t,r=!1,i=!1,s=!1,l=!1,u=M.default.getVoiceState(n,t.id);return null!=u&&(r=u.mute,i=u.deaf,s=u.suppress,l=null!=u.channelId),{guild:I.default.getGuild(n),me:o,mute:r,deaf:i,suppress:s,isVoiceConnected:l}},render:function(){var e=this.props,t=e.channelId,n=e.user,a=null,o=null,i=null,s=null;return this.state.isVoiceConnected&&(this.can(G.Permissions.MUTE_MEMBERS,{channelId:t})&&(a=r(b.default,{danger:!0,label:p.default.Messages.SERVER_MUTE,action:this.handleToggleServerMute,active:this.state.mute||this.state.suppress})),this.can(G.Permissions.DEAFEN_MEMBERS,{channelId:t})&&(o=r(b.default,{danger:!0,label:p.default.Messages.SERVER_DEAFEN,action:this.handleToggleServerDeaf,active:this.state.deaf}))),this.state.me||(this.canManageUser(G.Permissions.KICK_MEMBERS,n,this.state.guild)&&(i=r(y.default,{danger:!0,label:p.default.Messages.KICK+" "+n.username,action:this.handleKick})),this.canManageUser(G.Permissions.BAN_MEMBERS,n,this.state.guild)&&(s=r(y.default,{danger:!0,label:p.default.Messages.BAN+" "+n.username,action:this.handleBan}))),r(v.default,{},void 0,a,o,i,s)},handleToggleServerMute:function(){L.default.setServerMute(this.props.guildId,this.props.user.id,!(this.state.mute||this.state.suppress))},handleToggleServerDeaf:function(){L.default.setServerDeaf(this.props.guildId,this.props.user.id,!this.state.deaf)},handleKick:function(){var e=this;O.default.push(function(t){return s.default.createElement(P.default,o({},t,{guildId:e.props.guildId,user:e.props.user}))}),x.default.close()},handleBan:function(){var e=this;O.default.push(function(t){return s.default.createElement(U.default,o({},t,{guildId:e.props.guildId,user:e.props.user}))}),x.default.close()}});t.default=j,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(2),c=a(f),d=n(3),p=a(d),h=n(21),g=a(h),m=n(60),v=a(m),E=n(10),y=a(E),_=n(43),b=a(_),S=n(22),I=a(S),T=n(14),N=a(T),A=n(180),M=a(A),C=n(1),O=s.default.createClass({displayName:"UserBlockItem",mixins:[c.default.StoreListenerMixin(b.default,y.default),u.default],getStateFromStores:function(){var e=this.props.user.id;return{me:y.default.getCurrentUser().id===e,isBlocked:b.default.isBlocked(e),isFriend:b.default.isFriend(e)}},render:function(){return this.state.me?null:r(g.default,{label:this.state.isBlocked?p.default.Messages.UNBLOCK:p.default.Messages.BLOCK,action:this.handleBlock})},handleBlock:function(){var e=this;I.default.close(),this.state.isBlocked?M.default.removeRelationship(this.props.user.id,{location:"ContextMenu"}):N.default.push(function(t){return s.default.createElement(v.default,o({header:p.default.Messages.CONFIRM_USER_BLOCK_TITLE.format({name:e.props.user.username}),confirmText:p.default.Messages.BLOCK,cancelText:p.default.Messages.CANCEL,onConfirm:e.performBlock},t),r("p",{},void 0,p.default.Messages.CONFIRM_USER_BLOCK_BODY.format({name:e.props.user.username})))})},performBlock:function(){M.default.addRelationship(this.props.user.id,{location:"ContextMenu"},C.RelationshipTypes.BLOCKED)}});t.default=O,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(6),f=a(u),c=n(3),d=a(c),p=n(21),h=a(p),g=n(17),m=a(g),v=n(43),E=a(v),y=n(22),_=a(y),b=n(79),S=a(b),I=i.default.createClass({displayName:"UserCallItem",mixins:[l.default.StoreListenerMixin(E.default),f.default],getStateFromStores:function(){return{me:m.default.getId()===this.props.userId,isFriend:E.default.isFriend(this.props.userId)}},render:function(){return this.state.me||!this.state.isFriend?null:o(h.default,{label:d.default.Messages.CALL,action:this.handleCall})},handleCall:function(){_.default.close(),S.default.openPrivateChannel(m.default.getId(),this.props.userId,!0)}});t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(11),h=a(p),g=n(22),m=a(g),v=n(79),E=a(v),y=n(1),_=i.default.createClass({displayName:"UserCloseChatItem",mixins:[l.default],render:function(){var e=h.default.getChannel(this.props.channelId);return null==e||e.type===y.ChannelTypes.GROUP_DM?null:o(d.default,{label:f.default.Messages.CLOSE_DM,action:this.handleClose})},handleClose:function(){E.default.closePrivateChannel(this.props.channelId,this.props.selected),m.default.close()}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(7),c=a(f),d=n(3),p=a(d),h=n(21),g=a(h),m=n(258),v=a(m),E=n(47),y=a(E),_=n(79),b=a(_),S=n(84),I=a(S),T=n(54),N=a(T),A=n(98),M=a(A),C=n(165),O=a(C),D=n(11),L=a(D),R=n(10),x=a(R),w=n(43),P=a(w),k=n(1),U=n(145),G=n(146),j=a(G),F="max_uses",B=s.default.createClass({displayName:"UserInviteItem",mixins:[u.default,y.default],getInitialState:function(){return{guilds:O.default.getSortedGuilds().map(function(e){return e.guild}),currentUser:x.default.getCurrentUser(),invitedGuilds:{}}},render:function(){var e=this.props,t=e.user,n=e.guildId,a=this.state,o=a.currentUser,i=a.guilds,s=1==i.length&&i[0].id==n;return o.id==t.id||t.bot||s||P.default.isBlocked(t.id)?null:r(v.default,{label:p.default.Messages.INVITE_TO_SERVER,render:this.renderSubMenuItems})},renderSubMenuItems:function(){var e=this,t=this.props,n=t.user,a=t.guildId,o=this.state,i=o.guilds,s=o.currentUser,l=o.invitedGuilds;return(0,c.default)(i).filter(function(t){return e.can(k.Permissions.CREATE_INSTANT_INVITE,t)&&t.id!=a}).map(function(t){return l[t.id]?r(g.default,{disabled:!0,label:p.default.Messages.INVITE_SENT},t.id):r(g.default,{label:t.name,action:function(){return e.handleInvite(t,s.id,n.id)}},t.id)}).value()},handleInvite:function(e,t,n){var a,r,i=this.state.invitedGuilds,s=M.default.getChannels(e.id)[k.ChannelTypes.GUILD_TEXT],l=s.find(function(t){return t.channel.id==e.id}).channel;this.setState({invitedGuilds:o({},i,(a={},a[e.id]=!0,a))}),I.default.createInvite(l.id,(r={},r[F]=1,r.unique=!0,r),"User Invite Context Menu").then(function(e){var a=e.body;b.default.ensurePrivateChannel(t,n).then(function(e){var t=L.default.getChannel(e);null!=t&&N.default.sendMessage(t.id,j.default.parse(t,(0,U.getInviteURL)(a.code)),!1)})})}});t.default=B,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(2),f=a(u),c=n(3),d=a(c),p=n(183),h=a(p),g=n(10),m=a(g),v=n(27),E=a(v),y=n(82),_=a(y),b=i.default.createClass({displayName:"UserLocalMuteDeafenItem",mixins:[f.default.LazyStoreListenerMixin(E.default,m.default),l.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=this.props.userId,t=m.default.getCurrentUser().id===e,n=!1,a=!1;return t?(n=!E.default.isEnabled()||E.default.isSelfMute(),a=E.default.isSelfDeaf()):n=E.default.isLocalMute(e),{me:t,localMute:n,selfDeafen:a}},render:function(){var e=void 0;return this.state.me&&(e=o(h.default,{label:d.default.Messages.DEAFEN,action:this.handleToggleDeaf,active:this.state.selfDeafen})),o("div",{},void 0,o(h.default,{label:d.default.Messages.SOUND_MUTE,action:this.handleToggleMute,active:this.state.localMute}),e)},handleToggleMute:function(){this.state.me?_.default.toggleSelfMute():_.default.toggleLocalMute(this.props.userId)},handleToggleDeaf:function(){this.state.me&&_.default.toggleSelfDeaf()}});t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(2),d=a(c),p=n(47),h=a(p),g=n(21),m=a(g),v=n(846),E=a(v),y=n(11),_=a(y),b=n(19),S=a(b),I=n(31),T=a(I),N=n(22),A=a(N),M=n(36),C=n(1),O=i.default.createClass({displayName:"UserMentionItem",mixins:[d.default.LazyStoreListenerMixin(S.default),h.default,l.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{channelId:S.default.getChannelId(this.props.guildId)}},render:function(){var e=_.default.getChannel(this.state.channelId);return null==e||!e.isGroupDM()&&!this.can(C.Permissions.SEND_MESSAGES,e)?null:o(m.default,{label:f.default.Messages.MENTION,action:this.handleMention})},handleMention:function(){var e=this.props.user,t=e.username,n=e.discriminator;A.default.close();var a="@"+t;T.default.hidePersonalInformation||(a+="#"+n),M.ComponentDispatch.dispatchToLastSubscribed(C.ComponentActions.INSERT_TEXT,{content:a}),null!=this.state.channelId&&E.default.typing(this.state.channelId)}});t.default=O,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(17),h=a(p),g=n(22),m=a(g),v=n(79),E=a(v),y=n(102),_=i.default.createClass({displayName:"UserMessageItem",mixins:[l.default],getInitialState:function(){return{currentUserId:h.default.getId()}},render:function(){var e=null;return this.state.currentUserId!=this.props.userId&&(e=o(d.default,{label:f.default.Messages.USER_POPOUT_MESSAGE,action:this.handleMessage})),e},handleMessage:function(){m.default.close(),E.default.openPrivateChannel(this.state.currentUserId,this.props.userId),(0,y.popLayer)()}});t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(2),u=a(l),f=n(6),c=a(f),d=n(3),p=a(d),h=n(21),g=a(h),m=n(41),v=a(m),E=n(216),y=a(E),_=n(17),b=a(_),S=n(31),I=a(S),T=n(805),N=a(T),A=n(22),M=a(A),C=s.default.createClass({displayName:"UserNoteItem",mixins:[u.default.StoreListenerMixin(N.default),c.default],statics:{LEFT:v.default.LEFT,RIGHT:v.default.RIGHT},getDefaultProps:function(){return{position:v.default.RIGHT}},getStateFromStores:function(){return{hasNote:N.default.getNote(this.props.user.id).length>0}},render:function(){return this.props.user.id===b.default.getId()||I.default.hidePersonalInformation?null:r(g.default,{label:this.state.hasNote?p.default.Messages.EDIT_NOTE:p.default.Messages.ADD_NOTE,action:this.handleOpenUserPopout})},renderUserPopout:function(e){var t=this.props,n=t.user,a=t.guildId,r=t.channelId;return s.default.createElement(y.default,o({},e,{user:n,guildId:a,channelId:r,setNote:!0}))},handleOpenUserPopout:function(){var e=this.props,t=e.target,n=e.position;(0,m.openPopout)(t||this,{closeOnScroll:!1,render:this.renderUserPopout,position:n,offsetX:15}),M.default.close()}});t.default=C,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(21),d=a(c),p=n(214),h=a(p),g=n(22),m=a(g),v=i.default.createClass({displayName:"UserProfileItem",mixins:[l.default],render:function(){return o(d.default,{label:f.default.Messages.PROFILE,action:this.handleViewProfile})},handleViewProfile:function(){h.default.open(this.props.userId),m.default.close()}});t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(6),f=a(u),c=n(3),d=a(c),p=n(21),h=a(p),g=n(22),m=a(g),v=n(79),E=a(v),y=n(11),_=a(y),b=n(10),S=a(b),I=i.default.createClass({displayName:"UserRemoveFromGroupItem",mixins:[l.default.LazyStoreListenerMixin(_.default),f.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{currentUser:S.default.getCurrentUser(),channel:_.default.getChannel(this.props.channelId)}},componentWillReceiveProps:function(e){this.setState({channel:_.default.getChannel(e.channelId)})},render:function(){var e=this.props.userId,t=this.state,n=t.currentUser,a=t.channel;return null==a||a.isOwner(e)||!a.isOwner(n.id)?null:o(h.default,{label:d.default.Messages.REMOVE_FROM_GROUP,action:this.handleRemoveFromGroup,danger:!0})},handleRemoveFromGroup:function(){E.default.removeRecipient(this.props.channelId,this.props.userId),m.default.close()}});t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(3),c=a(f),d=n(21),p=a(d),h=n(499),g=a(h),m=n(387),v=a(m),E=n(22),y=a(E),_=n(14),b=a(_),S=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.user,a=t.message;if(null!=a){if(!v.default.canReportMessage(a))return null}else{if(null==n)return null;if(!v.default.canReportUser(n))return null}return s(p.default,{label:c.default.Messages.REPORT,action:function(){return e.handleReport()}})},t.prototype.handleReport=function(){b.default.push(g.default,this.props),y.default.close()},t}(u.default.Component);t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(6),f=a(u),c=n(3),d=a(c),p=n(7),h=a(p),g=n(21),m=a(g),v=n(17),E=a(v),y=n(130),_=a(y),b=n(22),S=a(b),I=n(209),T=a(I),N=n(1),A=i.default.createClass({displayName:"UserCallItem",mixins:[l.default.LazyStoreListenerMixin(_.default),f.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{me:E.default.getId()===this.props.userId,participants:_.default.getVisibleCallParticipants()}},render:function(){var e=this,t=this.state.participants;if(this.state.me||!t||!t.length)return null;var n=h.default.find(t,function(t){return t.user.id===e.props.userId});return n?n.calling===N.CallMemberStates.RINGING?o(m.default,{label:d.default.Messages.STOP_RINGING,action:this.handleStopRinging}):null:o(m.default,{label:d.default.Messages.RING,action:this.handleRing})},handleRing:function(){S.default.close(),T.default.ring(this.props.channelId,[this.props.userId])},handleStopRinging:function(){S.default.close(),T.default.stopRinging(this.props.channelId,[this.props.userId])}});t.default=A,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(2),f=a(u),c=n(3),d=a(c),p=n(7),h=a(p),g=n(47),m=a(g),v=n(86),E=a(v),y=n(21),_=a(y),b=n(258),S=a(b),I=n(183),T=a(I),N=n(12),A=a(N),M=n(34),C=a(M),O=n(10),D=a(O),L=n(1),R=n(83),x=a(R),w=n(55),P=a(w),k=i.default.createClass({displayName:"UserRolesGroup",mixins:[f.default.LazyStoreListenerMixin(C.default),l.default,m.default],getInitialState:function(){return this.getStateFromStores()},getDefaultProps:function(){return{invertChildY:!1}},getStateFromStores:function(){var e=A.default.getGuild(this.props.guildId),t=C.default.getMember(this.props.guildId,this.props.userId);return{guild:e,userRoles:t?t.roles:null,isGuildMember:!!t}},render:function(){var e=this,t=this.state,n=t.guild,a=t.userRoles,r=this.props.invertChildY,i=a&&a.length,s=this.can(L.Permissions.MANAGE_ROLES,n),l=D.default.getCurrentUser(),u=null;if(this.state.isGuildMember&&(i>0||s)){var f=P.default.getHighestRole(n,l.id),c=(0,h.default)(n.roles).filter(function(e){return e.id!==n.id&&(s||a.indexOf(e.id)!==-1)}).map(function(t){if(s){var r=t.managed||!P.default.isRoleHigher(n,l.id,f,t),i=a.indexOf(t.id)!==-1;return r&&!i?null:o(T.default,{label:t.name,disabled:r,styles:{color:t.colorString},boxStyles:{background:t.colorString},action:function(){return e.handleRoleToggle(t)},active:i},t.id)}return o(_.default,{styles:{color:t.colorString},label:t.name},t.id)}).value();c.length&&(u=o(E.default,{},void 0,o(S.default,{label:d.default.Messages.ROLES_LIST.format({numRoles:3}),theme:this.props.theme,parentClassList:"",render:c,invertChildY:r})))}return u},handleRoleToggle:function(e){var t=this.state.userRoles;t=t.indexOf(e.id)===-1?t.concat([e.id]):t.filter(function(t){return t!==e.id}),x.default.updateMemberRoles(this.props.guildId,this.props.userId,t)}});t.default=k,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(2),f=a(u),c=n(3),d=a(c),p=n(21),h=a(p),g=n(97),m=a(g),v=n(192),E=i.default.createClass({displayName:"UserStreamItem",mixins:[f.default.LazyStoreListenerMixin(m.default),l.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{streamURL:(0,v.getStreamURL)(m.default.getActivity(this.props.userId))}},render:function(){return null==this.state.streamURL?null:o(h.default,{label:d.default.Messages.WATCH_STREAM,action:this.handleWatchStream})},handleWatchStream:function(){window.open(this.state.streamURL,"_blank")}});t.default=E,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(2),d=a(c),p=n(3),h=a(p),g=n(21),m=a(g),v=n(1335),E=a(v),y=n(12),_=a(y),b=n(10),S=a(b),I=n(14),T=a(I),N=n(22),A=a(N),M=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleTransferOwnership=a.handleTransferOwnership.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.guild,n=e.currentUser,a=e.user;return null==t||null==n||a.id===t.ownerId||a.bot||!t.isOwnerWithRequiredMfaLevel(n)?null:l(m.default,{danger:!0,label:h.default.Messages.TRANSFER_OWNERSHIP,action:this.handleTransferOwnership})},t.prototype.handleTransferOwnership=function(){var e=this.props,t=e.guild,n=e.currentUser,a=e.user;T.default.push(function(e){return f.default.createElement(E.default,s({},e,{guild:t,fromUser:n,toUser:a}))}),A.default.close()},t}(f.default.PureComponent),C=d.default.connectStores([_.default,S.default],function(e){var t=e.guildId;return{currentUser:S.default.getCurrentUser(),guild:_.default.getGuild(t)}})(M);t.default=C,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(3),f=a(u),c=n(86),d=a(c),p=n(1381),h=a(p),g=n(10),m=a(g),v=n(27),E=a(v),y=n(82),_=a(y),b=n(18),S=a(b),I=i.default.createClass({displayName:"UserVolumeGroup",mixins:[l.default],getInitialState:function(){return{me:m.default.getCurrentUser().id===this.props.userId,volume:E.default.getLocalVolume(this.props.userId)}},render:function(){var e=null;if(!this.state.me){var t=void 0,n=this.state.volume;S.default.embedded?(t=function(e){return(2*e).toFixed(0)+"%"},n/=2):t=function(e){return e.toFixed(0)+"%"},e=o(h.default,{label:f.default.Messages.USER_VOLUME,onValueChange:this.handleVolumeChange,onValueRender:t,defaultValue:n})}return o(d.default,{},void 0,e)},handleVolumeChange:function(e){this.state.me||_.default.setLocalVolume(this.props.userId,S.default.embedded?2*e:e)}});t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){var n="number"==typeof e?e:0,a="number"==typeof t?t:0,o=a&~n,r=n&~a,i=[],s=[];for(var l in De.Permissions){var u=+De.Permissions[l];(o&u)===u&&i.push(u),(r&u)===u&&s.push(u)}return{added:i,removed:s}}function u(e,t,n){var a=e.newValue,o=e.oldValue;return null!=e.newValue&&(a=t(e.newValue),null!=n&&null!=a&&(a=n(a))),null!=e.oldValue&&(o=t(e.oldValue),null!=n&&null!=o&&(o=n(o))),new x.AuditLogChange(e.key,o,a)}function f(e,t,n,a,o){var r=null;o=o||e.targetId;var i=n(o);if(null!=i&&(r=a(i)),null==r){var s=O.default.deletedTargets[e.targetType];null!=s&&s[o]&&(r=s[o])}if(null==r&&null!=e.changes){var l=e.changes.find(function(e){return e.key===t});null!=l&&(r=l.newValue||l.oldValue)}return r||e.targetId}function c(e,t,n){var a=e,o=t(e);return null!=o&&null!=n&&(a=n(o)),a}function d(e,t){switch(e.targetType){case De.AuditLogTargetTypes.GUILD:return t;case De.AuditLogTargetTypes.CHANNEL:return f(e,De.AuditLogChangeKeys.NAME,function(e){return he.default.getChannel(e)},function(e){return e.toString(!0)});case De.AuditLogTargetTypes.USER:return f(e,De.AuditLogChangeKeys.NICK,function(e){return Ee.default.getUser(e)},function(e){return e});case De.AuditLogTargetTypes.ROLE:return f(e,De.AuditLogChangeKeys.NAME,function(e){return t.getRole(e)},function(e){return e.name});case De.AuditLogTargetTypes.INVITE:return f(e,De.AuditLogChangeKeys.CODE,De.NOOP_NULL,function(e){return e.code});case De.AuditLogTargetTypes.WEBHOOK:return f(e,De.AuditLogChangeKeys.NAME,function(e){return O.default.webhooks.find(function(t){return t.id===e})},function(e){return e.name});case De.AuditLogTargetTypes.EMOJI:return f(e,De.AuditLogChangeKeys.NAME,function(e){return _e.default.getGuildEmoji(t.id).find(function(t){return t.id===e})},function(e){return e.name});default:return console.warn("[GuildSettingsAuditLog] Unknown targetType for log",e),null}}function p(e){switch(e.key){case De.AuditLogChangeKeys.OWNER_ID:return u(e,function(e){return Ee.default.getUser(e)});case De.AuditLogChangeKeys.AFK_CHANNEL_ID:return u(e,function(e){return he.default.getChannel(e)},function(e){return e.toString(!0)});case De.AuditLogChangeKeys.AFK_TIMEOUT:return u(e,function(e){return e/60});case De.AuditLogChangeKeys.BITRATE:return u(e,function(e){return e/1e3});case De.AuditLogChangeKeys.COLOR:return u(e,function(e){return(0,Me.int2hex)(e).toUpperCase()});case De.AuditLogChangeKeys.MAX_AGE:return u(e,function(e){var t=Ae.default.getMaxAgeOptions.find(function(t){return""+e===t.value});return t?t.label:e});case De.AuditLogChangeKeys.CHANNEL_ID:return u(e,function(e){return he.default.getChannel(e)},function(e){return e.toString(!0)});case De.AuditLogChangeKeys.PERMISSIONS:var t=[],n=l(e.oldValue,e.newValue),a=n.added,o=n.removed;if(a.length>0){var r=new x.AuditLogChange(De.AuditLogChangeKeys.PERMISSIONS_GRANTED,null,a);t.push(r)}if(o.length){var i=new x.AuditLogChange(De.AuditLogChangeKeys.PERMISSIONS_DENIED,null,o);t.push(i)}return t;case De.AuditLogChangeKeys.PERMISSIONS_GRANTED:case De.AuditLogChangeKeys.PERMISSIONS_DENIED:var s=[],f=l(e.oldValue,e.newValue),c=f.added;if(c.length>0){var d=new x.AuditLogChange(e.key,null,c);s.push(d)}return s}return e}function h(e){if(null!=e.options){var t=v({},e.options);switch(e.options.type){case De.AuditLogSubtargetTypes.USER:t.subtarget=c(e.options.id,function(e){return Ee.default.getUser(e)},function(e){return e.toString()});break;case De.AuditLogSubtargetTypes.ROLE:t.subtarget=c(e.options.role_name,De.NOOP_NULL)}return null!=e.options.channel_id&&(t.channel=f(e,"",function(e){return he.default.getChannel(e)},function(e){return e},e.options.channel_id)),e.options.members_removed&&(t.count=e.options.members_removed),t}return e.options}function g(e,t){var n=[];return e.forEach(function(e){var a=d(e,t),o=Ee.default.getUser(e.userId);if((null!=a||e.action===De.AuditLogActions.MEMBER_PRUNE)&&null!=o){if(e=e.set("user",o),e=e.set("target",a),e=e.set("options",h(e)),null!=e.changes){var r=[];e.changes.forEach(function(e){var t=p(e);Array.isArray(t)?t.forEach(function(e){return r.push(e)}):r.push(t)}),e=e.set("changes",r)}n.push(e)}}),n}t.__esModule=!0;var m=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},E=n(0),y=a(E),_=n(23),b=a(_),S=n(7),I=a(S),T=n(252),N=a(T),A=n(2),M=a(A),C=n(799),O=a(C),D=n(1231),L=n(85),R=a(L),x=n(787),w=(a(x),n(1619)),P=a(w),k=n(191),U=a(k),G=n(1662),j=a(G),F=n(142),B=a(F),V=n(121),H=a(V),z=n(15),W=a(z),Y=n(28),K=a(Y),Q=n(143),Z=a(Q),X=n(77),J=n(827),q=a(J),$=n(750),ee=a($),te=n(64),ne=a(te),ae=n(159),oe=a(ae),re=n(95),ie=a(re),se=n(363),le=a(se),ue=n(1388),fe=a(ue),ce=n(12),de=a(ce),pe=n(11),he=a(pe),ge=n(31),me=a(ge),ve=n(10),Ee=a(ve),ye=n(189),_e=a(ye),be=n(13),Se=a(be),Ie=n(96),Te=a(Ie),Ne=n(145),Ae=a(Ne),Me=n(123),Ce=n(75),Oe=a(Ce),De=n(1),Le=n(3),Re=a(Le);n(2138);var xe="guild-settings-audit-logs-user-filter",we="guild-settings-audit-logs-action-filter",Pe=function(){return[{value:De.AuditLogActions.ALL,label:Re.default.Messages.GUILD_SETTINGS_FILTER_ALL_ACTIONS,valueLabel:Re.default.Messages.GUILD_SETTINGS_FILTER_ALL},{value:De.AuditLogActions.GUILD_UPDATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_GUILD_UPDATE},{value:De.AuditLogActions.CHANNEL_CREATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_CREATE},{value:De.AuditLogActions.CHANNEL_UPDATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_UPDATE},{value:De.AuditLogActions.CHANNEL_DELETE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_DELETE},{value:De.AuditLogActions.CHANNEL_OVERWRITE_CREATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_OVERWRITE_CREATE},{value:De.AuditLogActions.CHANNEL_OVERWRITE_UPDATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_OVERWRITE_UPDATE},{value:De.AuditLogActions.CHANNEL_OVERWRITE_DELETE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_CHANNEL_OVERWRITE_DELETE},{value:De.AuditLogActions.MEMBER_KICK,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_KICK},{value:De.AuditLogActions.MEMBER_PRUNE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_PRUNE},{value:De.AuditLogActions.MEMBER_BAN_ADD,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_BAN_ADD},{value:De.AuditLogActions.MEMBER_BAN_REMOVE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_BAN_REMOVE},{value:De.AuditLogActions.MEMBER_UPDATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_UPDATE},{value:De.AuditLogActions.MEMBER_ROLE_UPDATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MEMBER_ROLE_UPDATE},{value:De.AuditLogActions.ROLE_CREATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_ROLE_CREATE},{value:De.AuditLogActions.ROLE_UPDATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_ROLE_UPDATE},{value:De.AuditLogActions.ROLE_DELETE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_ROLE_DELETE},{value:De.AuditLogActions.INVITE_CREATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_INVITE_CREATE},{value:De.AuditLogActions.INVITE_UPDATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_INVITE_UPDATE},{value:De.AuditLogActions.INVITE_DELETE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_INVITE_DELETE},{value:De.AuditLogActions.WEBHOOK_CREATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_WEBHOOK_CREATE},{value:De.AuditLogActions.WEBHOOK_UPDATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_WEBHOOK_UPDATE},{value:De.AuditLogActions.WEBHOOK_DELETE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_WEBHOOK_DELETE},{value:De.AuditLogActions.EMOJI_CREATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_EMOJI_CREATE},{value:De.AuditLogActions.EMOJI_UPDATE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_EMOJI_UPDATE},{value:De.AuditLogActions.EMOJI_DELETE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_EMOJI_DELETE},{value:De.AuditLogActions.MESSAGE_DELETE,label:Re.default.Messages.GUILD_SETTINGS_ACTION_FILTER_MESSAGE_DELETE}]},ke=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.handleHeaderClick=a.handleHeaderClick.bind(a),a.handleUserContextMenu=a.handleUserContextMenu.bind(a),a.handleChannelContextMenu=a.handleChannelContextMenu.bind(a),a.handleTargetContextMenu=a.handleTargetContextMenu.bind(a),a}return s(t,e),t.prototype.render=function(){var e=this.props,t=(e.onHeaderClick,e.guildId,o(e,["onHeaderClick","guildId"]));return y.default.createElement(P.default,v({},t,{onHeaderClick:this.handleHeaderClick,onUserContextMenu:this.handleUserContextMenu,onChannelContextMenu:this.handleChannelContextMenu,onTargetContextMenu:this.handleTargetContextMenu}))},t.prototype.handleHeaderClick=function(e){var t=this.props,n=t.onHeaderClick,a=t.log;n&&n(a,e)},t.prototype.handleUserContextMenu=function(e){var t=this.props,n=t.log,a=t.guildId;ne.default.openContextMenu(e,function(e){return y.default.createElement(ie.default,v({},e,{type:De.ContextMenuTypes.USER_AUDIT_LOG,guildId:a,user:n.user}))})},t.prototype.handleChannelContextMenu=function(e){var t=this.props,n=t.log,a=t.guildId,o=de.default.getGuild(a);null!=n.options.channel&&null!=o&&ne.default.openContextMenu(e,function(e){return y.default.createElement(le.default,v({},e,{type:De.ContextMenuTypes.CHANNEL_AUDIT_LOG,guild:o,channel:n.options.channel}))})},t.prototype.handleTargetContextMenu=function(e){var t=this.props,n=t.log,a=t.guildId;ne.default.openContextMenu(e,function(e){switch(n.targetType){case De.AuditLogTargetTypes.CHANNEL:var t=he.default.getChannel(n.targetId),o=de.default.getGuild(a);return null!=t&&null!=o?y.default.createElement(le.default,v({},e,{type:De.ContextMenuTypes.CHANNEL_AUDIT_LOG,guild:o,channel:t})):y.default.createElement(fe.default,v({},e,{id:n.targetId}));case De.AuditLogTargetTypes.USER:var r=Ee.default.getUser(n.targetId);if(null!=r)return y.default.createElement(ie.default,v({},e,{type:De.ContextMenuTypes.USER_AUDIT_LOG,guildId:a,user:r}))}return null})},t}(y.default.PureComponent),Ue=m(W.default.Child,{grow:0,shrink:0},"avatar",m(j.default,{})),Ge=m(X.FormDivider,{className:"margin-top-20 margin-bottom-20"}),je=m(oe.default,{}),Fe=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a._clickedInside=!1,a.state={expandedId:null,lastExpandedId:null,userFilterQuery:"",actionFilterQuery:""},I.default.bindAll(a,["renderActionQuickSelectItem","renderUserQuickSelectItem","renderHeaderDropdowns","handleFilterActionChange","handleFilterUserChange","handleHeaderClick","handleOutsideClick","handleContentClick","handleOnScroll","handleSetScrollerRef","handleUserFilterQueryChange","handleUserFilterQueryClear","handleActionFilterQueryChange","handleActionFilterQueryClear","handleSetExpandedRef","handleSetLastExpandedRef","handleFetchNextPage"]),a}return s(t,e),t.prototype.componentDidMount=function(){(0,D.fetchLogs)(this.props.guildId),document.addEventListener("click",this.handleOutsideClick)},t.prototype.componentWillUnmount=function(){document.removeEventListener("click",this.handleOutsideClick)},t.prototype.componentWillUpdate=function(e,t){this.state.expandedId!==t.expandedId&&(this._prevRects=this.getRects())},t.prototype.componentDidUpdate=function(e,t){this.state.expandedId!==t.expandedId&&this.fixScroll(),!this.props.showLoadMore&&this.props.logs.length!==e.logs.length&&this.isScrollerAtBottom(this._scrollerRef)&&(0,D.fetchNextLogPage)(this.props.guildId,!0)},t.prototype.isScrollerAtBottom=function(e){var t=e.getScrollData(),n=t.offsetHeight,a=t.scrollHeight;return t.scrollTop+n>=a},t.prototype.fixScroll=function(){var e=this.getRects(),t=this._prevRects;if(null!=e.expanded&&null!=e.lastExpanded&&null!=t.expanded&&!(e.expanded.top<e.lastExpanded.top)){var n=t.expanded.height-e.lastExpanded.height,a=this._scrollerRef.getScrollData(),o=a.scrollTop-n;this._scrollerRef.scrollTo(o)}},t.prototype.getRects=function(){var e=b.default.findDOMNode(this._lastExpandedRef),t=b.default.findDOMNode(this._expandedRef),n={lastExpanded:null,expanded:null};return null!=e&&e instanceof Element&&(n.lastExpanded=e.getBoundingClientRect()),null!=t&&t instanceof Element&&(n.expanded=t.getBoundingClientRect()),n},t.prototype.renderActionQuickSelectItem=function(e,t){var n=this,a=(0,x.getActionType)(e.value),o=(0,x.getTargetType)(e.value);return m(q.default,{className:"action-item",selected:e.selected,onClick:function(){return n.handleFilterActionChange(e)}},t,m(w.AuditLogIcon,{themeOverride:e.selected?De.ThemeTypes.DARK:null,actionType:a,targetType:o,action:e.value}),m(W.default.Child,{},void 0,e.label))},t.prototype.renderUserQuickSelectItem=function(e,t){var n=this,a=null;if(e.label instanceof Oe.default){var o=e.label;a=[m(W.default.Child,{},"avatar",m(U.default,{size:U.default.Sizes.SMALL,src:o.getAvatarURL()})),m(W.default.Child,{className:"user-text"},"user-text",m("span",{className:"username"},void 0,o.username),m("span",{className:"discriminator"},void 0,"#",o.discriminator))]}else a=[Ue,m(W.default.Child,{},"user-text",e.label)];return m(q.default,{selected:e.selected,onClick:function(){return n.handleFilterUserChange(e)},style:{height:"auto"}},t,a)},t.prototype.renderUserQuickSelectValue=function(e){return e instanceof Oe.default?e.username:e.valueLabel||e.label},t.prototype.renderActionQuickSelectValue=function(e){return e.valueLabel||e.label},t.prototype.renderHeaderDropdowns=function(){var e=this.props,t=e.actionFilter,n=e.hide,a=e.userIdFilter,o=e.moderators,r=this.state,i=r.userFilterQuery,s=r.actionFilterQuery;if(n)return null;var l=Pe().map(function(e){return v({},e,{selected:e.value===t})}),u=l.filter(function(e){return(0,N.default)(s.toLowerCase(),e.label.toLowerCase())}),f=l.find(function(e){return t===e.value}),c={query:s,onChange:this.handleActionFilterQueryChange,onClear:this.handleActionFilterQueryClear,placeholder:Re.default.Messages.SEARCH_ACTIONS},d={label:Re.default.Messages.GUILD_SETTINGS_FILTER_ALL_USERS,valueLabel:Re.default.Messages.GUILD_SETTINGS_FILTER_ALL,value:null,selected:null==a},p=[d].concat(o),h=p.filter(function(e){var t=i.toLowerCase();return e instanceof Oe.default?(0,N.default)(t,e.username.toLowerCase()):(0,N.default)(t,e.label)}).map(function(e){return e instanceof Oe.default?{label:e,value:e.id,selected:e.id===a}:e}),g=p.find(function(e){return e instanceof Oe.default?e.id===a:e.value===a})||d,E={query:i,onChange:this.handleUserFilterQueryChange,onClear:this.handleUserFilterQueryClear,placeholder:Re.default.Messages.SEARCH_MEMBERS};return[m(W.default.Child,{},"user-filter",m(ee.default,{popoutId:xe,popoutClassName:"guild-settings-audit-logs-user-filter-popout elevation-border-high",items:h,renderItem:this.renderUserQuickSelectItem,renderValue:this.renderUserQuickSelectValue,value:g,onChange:this.handleFilterUserChange,label:Re.default.Messages.GUILD_SETTINGS_FILTER_USER,searchProps:E,popoutProps:{preventInvert:!0,position:"bottom"}})),m(W.default.Child,{},"action-filter",m(ee.default,{popoutId:we,popoutClassName:"guild-settings-audit-logs-action-filter-popout elevation-border-low",items:u,renderItem:this.renderActionQuickSelectItem,renderValue:this.renderActionQuickSelectValue,value:f,onChange:this.handleFilterActionChange,label:Re.default.Messages.GUILD_SETTINGS_FILTER_ACTION,searchProps:c,popoutProps:{preventInvert:!0,position:"bottom"}}))]},t.prototype.renderHeader=function(){return m(W.default,{direction:W.default.Direction.VERTICAL,className:"custom-header"},void 0,m(W.default,{align:W.default.Align.CENTER},void 0,m(X.FormTitle,{tag:X.FormTitleTags.H2,className:"margin-reset"},void 0,Re.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG),this.renderHeaderDropdowns()),Ge)},t.prototype.renderSpinner=function(){return m(H.default,{type:H.default.Type.SPINNING_CIRCLE})},t.prototype.renderContent=function(){var e=this,t=this.state,a=t.expandedId,o=t.lastExpandedId,r=this.props,i=r.logs,s=r.theme,l=r.hide,u=r.isInitialLoading,f=r.isLoading,c=r.hasError,d=r.guildId;if(l)return je;if(f||u)return this.renderSpinner();if(0===i.length){var p=c?Re.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG_ERROR_BODY:Re.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG_EMPTY_BODY,h=c?Re.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG_ERROR_TITLE:Re.default.Messages.GUILD_SETTINGS_LABEL_AUDIT_LOG_EMPTY_TITLE;return m(B.default,{theme:s,className:"margin-top-40"},void 0,m(F.EmptyStateImage,{darkSrc:n(2940),lightSrc:n(2941),width:272,height:130}),m(F.EmptyStateText,{note:p,style:{maxWidth:300}},void 0,h))}return i.map(function(t){var n=a===t.id,r=o===t.id,i=n?e.handleSetExpandedRef:r?e.handleSetLastExpandedRef:null;return y.default.createElement(ke,{guildId:d,ref:i,className:"margin-bottom-8",onHeaderClick:e.handleHeaderClick,onContentClick:e.handleContentClick,log:t,key:t.id,expanded:n})})},t.prototype.renderLoadMore=function(){var e=this.props,t=e.showLoadMore,n=e.hasOlderLogs;if(t&&n)return m(K.default,{color:K.default.Colors.PRIMARY,className:"margin-top-20",onClick:this.handleFetchNextPage},void 0,Re.default.Messages.GUILD_SETTINGS_AUDIT_LOG_LOAD_MORE)},t.prototype.render=function(){var e=this.props,t=e.isLoadingNextPage,n=e.hide,a=e.isLoading,o=e.theme,r=o===De.ThemeTypes.DARK?De.Colors.PRIMARY_600:De.Colors.WHITE;return m("div",{className:"custom-column guild-settings-audit-logs"},void 0,m("div",{className:"custom-container"},void 0,y.default.createElement(Z.default,{backgroundColor:r,track:!0,theme:Z.default.Themes.GHOST,className:"custom-scroller",onScroll:this.handleOnScroll,ref:this.handleSetScrollerRef},m(W.default,{direction:W.default.Direction.VERTICAL,style:{paddingBottom:60}},void 0,this.renderHeader(),this.renderContent(),this.renderLoadMore(),!t||n||a?null:this.renderSpinner()))))},t.prototype.handleFilterActionChange=function(e){var t=e.value;R.default.close(we),(0,D.filterByAction)(t,this.props.guildId)},t.prototype.handleFilterUserChange=function(e){var t=e.value;R.default.close(xe),(0,D.filterByUserId)(t,this.props.guildId)},t.prototype.handleHeaderClick=function(e){var t=this.state.expandedId;t!==e.id?(this._clickedInside=!0,this.setState({expandedId:e.id,lastExpandedId:t})):this.setState({expandedId:null,lastExpandedId:null})},t.prototype.handleOutsideClick=function(){null==this.state.expandedId||this._clickedInside?null!=this.state.expandedId&&(this._clickedInside=!1):this.setState({expandedId:null,lastExpandedId:null})},t.prototype.handleContentClick=function(e){this._clickedInside=!0,e.stopPropagation()},t.prototype.handleSetScrollerRef=function(e){this._scrollerRef=e},t.prototype.handleOnScroll=function(e){this.isScrollerAtBottom(e)&&this.handleFetchNextPage()},t.prototype.handleFetchNextPage=function(){(0,D.fetchNextLogPage)(this.props.guildId)},t.prototype.handleUserFilterQueryChange=function(e){this.setState({userFilterQuery:e}),R.default.rerender(xe)},t.prototype.handleUserFilterQueryClear=function(){this.setState({userFilterQuery:""}),R.default.rerender(xe)},t.prototype.handleActionFilterQueryChange=function(e){this.setState({actionFilterQuery:e}),R.default.rerender(we)},t.prototype.handleActionFilterQueryClear=function(){this.setState({actionFilterQuery:""}),R.default.rerender(we)},t.prototype.handleSetExpandedRef=function(e){this._expandedRef=e},t.prototype.handleSetLastExpandedRef=function(e){this._lastExpandedRef=e},t}(y.default.PureComponent);t.default=M.default.connectStores([Te.default,O.default,de.default,he.default,Ee.default,_e.default,Se.default],function(){var e=Te.default.getGuildId(),t=de.default.getGuild(e),n=O.default.logs;return{guildId:e,moderators:O.default.userIds.map(function(e){return Ee.default.getUser(e)}),isInitialLoading:O.default.isInitialLoading,isLoading:O.default.isLoading,isLoadingNextPage:O.default.isLoadingNextPage,showLoadMore:O.default.groupedFetchCount>2,hasError:O.default.hasError,hasOlderLogs:O.default.hasOlderLogs,logs:null!=n&&null!=t?g(n,t):[],actionFilter:O.default.actionFilter,userIdFilter:O.default.userIdFilter,theme:Se.default.theme,hide:me.default.enabled}})(Fe),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(7),d=a(c),p=n(2),h=a(p),g=n(3),m=a(g),v=n(167),E=a(v),y=n(31),_=a(y),b=n(10),S=a(b),I=n(13),T=a(I),N=n(96),A=a(N),M=n(83),C=a(M),O=n(63),D=a(O),L=n(14),R=a(L),x=n(218),w=n(64),P=a(w),k=n(95),U=a(k),G=n(66),j=n(191),F=a(j),B=n(28),V=a(B),H=n(50),z=a(H),W=n(142),Y=a(W),K=n(15),Q=a(K),Z=n(99),X=a(Z),J=n(91),q=a(J),$=n(314),ee=a($),te=n(536),ne=a(te),ae=n(121),oe=a(ae),re=n(227),ie=a(re),se=n(1);n(2139),n(282);var le=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.user,n=e.ban,a=e.theme,o=e.onRevoke,r=e.onClose;return l(ee.default,{className:"guild-settings-banned-user-modal",theme:a},void 0,l(ee.default.Content,{className:"content user-select-text"},void 0,l("div",{},void 0,l(Q.default,{justify:Q.default.Justify.CENTER},void 0,l(ie.default,{color:ie.default.Colors.PRIMARY,className:"user-username"},void 0,t.toString()),l(ie.default,{className:"user-discrim"},void 0,"#",t.discriminator)),l(ie.default,{className:"reason-header margin-top-40",size:ie.default.Sizes.SMALL},void 0,m.default.Messages.BAN_REASON),l(ie.default,{className:"reason"},void 0,n.reason||m.default.Messages.NO_BAN_REASON))),l(ee.default.Footer,{className:"footer"},void 0,l(Q.default,{justify:Q.default.Justify.BETWEEN},void 0,l(V.default,{className:"revoke-btn",onClick:o,look:V.default.Looks.LINK,color:V.default.Colors.RED},void 0,m.default.Messages.REVOKE_BAN),l(V.default,{onClick:r},void 0,m.default.Messages.DONE))))},t}(f.default.PureComponent),ue=h.default.connectStores([T.default],function(){return{theme:T.default.theme}})(le),fe=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleRevokeBan=a.handleRevokeBan.bind(a),a.handleShowModal=a.handleShowModal.bind(a),a.handleCloseModal=a.handleCloseModal.bind(a),a.handleContextMenu=a.handleContextMenu.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.user,n=e.hideDiscriminator;return l(Q.default,{className:"guild-settings-banned-user ui-hover-card",align:Q.default.Align.CENTER,onClick:this.handleShowModal,onContextMenu:this.handleContextMenu},void 0,l(F.default,{className:"banned-user-avatar",src:t.getAvatarURL()}),l(Q.default.Child,{basis:100,className:"margin-reset"},void 0,l("div",{className:"username"},void 0,t.toString(),!n&&l("span",{className:"discrim"},void 0,"#",t.discriminator))))},t.prototype.handleShowModal=function(){var e=this,t=this.props,n=t.user,a=t.hideDiscriminator,o=t.ban;R.default.push(function(t){return f.default.createElement(ue,s({},t,{ban:o,user:n,hideDiscriminator:a,onRevoke:e.handleRevokeBan,onClose:e.handleCloseModal}))})},t.prototype.handleCloseModal=function(){R.default.pop()},t.prototype.handleRevokeBan=function(){var e=this.props,t=e.guildId,n=e.user;D.default.unbanUser(t,n.id).then(R.default.pop)},t.prototype.handleContextMenu=function(e){var t=this;P.default.openContextMenu(e,function(e){return f.default.createElement(U.default,s({},e,{type:se.ContextMenuTypes.USER_BANS,user:t.props.user}))})},t}(f.default.PureComponent),ce=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.makeFilter=function(){var e=this.props.searchQuery;if(null==e||0===e.length)return function(){return!0};var t=new RegExp("^"+E.default.escape(e),"i");return function(e){return null!=e&&t.test(e.username)}},t.prototype.renderHeader=function(){var e=this.props,t=e.bans,a=e.theme,o=e.searchQuery,r=void 0;null==t?r=null:d.default.isEmpty(t)&&(r=l(Y.default,{theme:a,className:"margin-top-40"},void 0,l(W.EmptyStateImage,{darkSrc:n(2942),lightSrc:n(2943),width:256,height:212}),l(W.EmptyStateText,{note:m.default.Messages.BANS_NO_USERS_BANNED,style:{maxWidth:300}},void 0,m.default.Messages.NO_BANS)));var i=(0,d.default)(t||{}).keys().value().length;return l(X.default,{tag:G.Tags.H2,title:m.default.Messages.BANS_HEADER.format({bans:i})},void 0,l(Q.default,{justify:Q.default.Justify.BETWEEN},void 0,l(z.default,{type:H.Types.DESCRIPTION,className:"margin-bottom-20"},void 0,m.default.Messages.BANS_HINT.format({onModerationClick:this.handleModerationClick})),null==r&&l(ne.default,{query:o,placeholder:m.default.Messages.BANS_SEARCH_PLACEHOLDER,onChange:this.handleQueryChange,onClear:this.handleQueryClear})),l(q.default,{style:{marginBottom:-1}}),r)},t.prototype.render=function(){var e=this.props,t=e.bans,n=e.guildId,a=e.streamerMode,o=e.theme,r=void 0;return r=null==t?[l(oe.default,{className:"margin-top-20",type:oe.default.Type.SPINNING_CIRCLE},"spinner")]:(0,d.default)(t).keys().map(S.default.getUser).filter(this.makeFilter()).sortBy(function(e){return e.username.toLowerCase()}).map(function(e){return l(fe,{user:e,ban:t[e.id],hideDiscriminator:a,guildId:n},e.id)}).value(),l(x.LazyContentScroller,{theme:o,header:this.renderHeader(),elementHeight:56},void 0,r)},t.prototype.handleModerationClick=function(){C.default.setSection(se.GuildSettingsSections.MODERATION)},t.prototype.handleQueryChange=function(e){C.default.setSearchQuery(e)},t.prototype.handleQueryClear=function(){C.default.setSearchQuery("")},t}(f.default.PureComponent),de=h.default.connectStores([A.default,T.default],function(){var e=A.default.getProps(),t=e.bans,n=e.guild;return{searchQuery:e.searchQuery||"",bans:t,guildId:n.id,theme:T.default.theme,streamerMode:_.default.enabled}})(ce);t.default=de,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){for(e=e.replace(J,"").slice(0,X);e.length<2;)e+="_";return e}t.__esModule=!0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(2),d=a(c),p=n(7),h=a(p),g=n(1590),m=a(g),v=n(96),E=a(v),y=n(13),_=a(y),b=n(66),S=a(b),I=n(99),T=a(I),N=n(50),A=a(N),M=n(142),C=a(M),O=n(144),D=a(O),L=n(15),R=a(L),x=n(28),w=a(x),P=n(121),k=a(P),U=n(301),G=a(U),j=n(3),F=a(j),B=n(712),V=a(B),H=n(48),z=a(H),W=n(191),Y=a(W),K=n(91),Q=a(K);n(2194),n(330),n(282);var Z=50,X=32,J=/[^a-zA-Z0-9_]/g,q=h.default.throttle(V.default.fetchEmoji,1e3),$=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleNameKeyPress=a.handleNameKeyPress.bind(a),a.handleNameChange=a.handleNameChange.bind(a),a.handleNameBlur=a.handleNameBlur.bind(a),a.handleDeleteEmoji=a.handleDeleteEmoji.bind(a),a.state={name:n.emoji.name},a}return i(t,e),t.prototype.handleDeleteEmoji=function(){var e=this.props,t=e.guildId,n=e.emoji;V.default.deleteEmoji(t,n.id)},t.prototype.handleNameKeyPress=function(e){var t=e.currentTarget;13===e.which&&t instanceof HTMLInputElement&&t.blur()},t.prototype.handleNameChange=function(e){this.setState({name:e})},t.prototype.handleNameBlur=function(){var e=this.props.emoji,t=this.state.name;if(t!==e.name){var n=this.props.guildId;V.default.updateEmoji(n,e.id,s(t))}},t.prototype.renderEmoji=function(){var e=this.props.emoji,t=z.default.getEmojiURL({id:e.id});return l(R.default.Child,{basis:"40px",grow:0},void 0,l("div",{className:"emoji-image",style:{backgroundImage:"url("+t+")"}}))},t.prototype.renderEmojiName=function(){var e=this.state.name;return l(R.default.Child,{basis:"50%"},void 0,l("div",{className:"position-relative"},void 0,l(D.default,{className:"emoji-alias-input",placeholder:F.default.Messages.GUILD_SETTINGS_EMOJI_ALIAS_PLACEHOLDER,onKeyPress:this.handleNameKeyPress,onChange:this.handleNameChange,onBlur:this.handleNameBlur,size:D.default.Sizes.MINI,value:e,maxLength:X,style:{maxWidth:200}}),l("div",{className:"emoji-alias-placeholder"},void 0,e.length>0?e:F.default.Messages.GUILD_SETTINGS_EMOJI_ALIAS_PLACEHOLDER)))},t.prototype.renderUser=function(){var e=this.props.emoji;return l(R.default.Child,{basis:"50%",className:"emoji-uploader"},void 0,l(Y.default,{src:e.user.getAvatarURL(),size:Y.default.Sizes.XSMALL}),l(A.default,{className:"emoji-row-text overflow-ellipsis"},void 0,e.user.username))},t.prototype.renderDeleteButton=function(){return l("div",{className:"round-remove-button emoji-remove",onClick:this.handleDeleteEmoji})},t.prototype.render=function(){return l(R.default,{className:"emoji-row ui-hover-card",align:R.default.Align.CENTER},void 0,this.renderEmoji(),this.renderEmojiName(),this.renderUser(),this.renderDeleteButton())},t}(f.default.PureComponent),ee=l(Q.default,{className:"margin-bottom-20"}),te=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleFileChange=a.handleFileChange.bind(a),a}return i(t,e),t.prototype.componentDidMount=function(){q(this.props.guildId)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.revision,a=t.guildId;e.revision<n&&q(a)},t.prototype.handleFileChange=function(e,t){var n=this.props.guildId,a=s(t.split(".")[0]);V.default.uploadEmoji(n,e,a)},t.prototype.renderUploader=function(){var e=this.props,t=e.emojis,n=e.isUploading,a=t?t.length:0,o=Z-a;return l(T.default,{},void 0,l(R.default,{align:R.default.Align.START,className:"margin-bottom-20"},void 0,l(R.default.Child,{},void 0,l(A.default,{type:N.Types.DESCRIPTION},void 0,F.default.Messages.GUILD_SETTINGS_EMOJI_UPLOAD_TO_SERVER_MESSAGE.format({count:Z}))),l(R.default.Child,{wrap:!0,grow:0},void 0,l(w.default,{disabled:n||0===o,spinner:n},void 0,F.default.Messages.UPLOAD_EMOJI,o>0?l(G.default,{onChange:this.handleFileChange,multiple:!0}):null))),ee)},t.prototype.renderTitle=function(){var e=this.props.emojis,t=e?e.length:0,n=Z-t;return l(S.default,{tag:b.Tags.H2},void 0,F.default.Messages.SERVER_EMOJI,l("span",{style:{opacity:.6,fontWeight:"600",textTransform:"capitalize"}},void 0," — ",F.default.Messages.EMOJI_SLOTS_AVAILABLE.format({count:n})))},t.prototype.renderEmojiRows=function(){var e=this.props,t=e.emojis,n=e.guildId;return t.map(function(e){return l($,{guildId:n,emoji:e},e.id)})},t.prototype.renderEmojiTable=function(){var e=this.props,t=e.emojis,a=e.theme;return null==t?l(k.default,{className:"margin-top-40",type:k.default.Type.SPINNING_CIRCLE}):0===t.length?l(C.default,{theme:a,className:"margin-top-20"},void 0,l(M.EmptyStateImage,{darkSrc:n(2944),lightSrc:n(2945),width:272,height:212}),l(M.EmptyStateText,{note:F.default.Messages.NO_EMOJI},void 0,F.default.Messages.NO_EMOJI_TITLE)):l(T.default,{},void 0,l(R.default,{className:"margin-bottom-4"},void 0,l(R.default.Child,{basis:"40px",grow:0,wrap:!0},void 0,l(S.default,{tag:b.Tags.H5,className:"margin-reset"},void 0,F.default.Messages.EMOJI)),l(R.default.Child,{basis:"50%",wrap:!0},void 0,l(S.default,{tag:b.Tags.H5,className:"emoji-alias-offset margin-reset"},void 0,F.default.Messages.GUILD_SETTINGS_EMOJI_ALIAS)),l(R.default.Child,{basis:"50%",wrap:!0},void 0,l(S.default,{tag:b.Tags.H5,className:"margin-reset"},void 0,F.default.Messages.UPLOADED_BY))),this.renderEmojiRows())},t.prototype.render=function(){return l(T.default,{},void 0,this.renderTitle(),this.renderUploader(),this.renderEmojiTable())},t}(f.default.PureComponent),ne=d.default.connectStores([_.default,m.default,E.default],function(){var e=E.default.getProps(),t=e.guild.id;return{guildId:t,emojis:m.default.getEmojis(t),revision:m.default.getEmojiRevision(t),isUploading:m.default.isUploadingEmoji(),theme:_.default.theme}})(te);t.default=ne,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(2),d=a(c),p=n(3),h=a(p),g=n(48),m=a(g),v=n(127),E=a(v),y=n(128),_=a(y),b=n(33),S=a(b),I=n(77),T=n(15),N=a(T),A=n(121),M=a(A),C=n(166),O=a(C),D=n(1632),L=a(D),R=n(142),x=a(R),w=n(382),P=a(w),k=n(8),U=a(k),G=n(13),j=a(G),F=n(189),B=a(F),V=n(96),H=a(V),z=n(14),W=a(z),Y=n(57),K=a(Y),Q=n(83),Z=a(Q),X=n(1);n(2195);var J=[{value:"0",label:h.default.Messages.REMOVE_SYNCED_ROLE},{value:"1",label:h.default.Messages.KICK_FROM_SERVER}],q=[1,3,7,14,30].map(function(e){return{value:""+e,label:h.default.Messages.N_DAYS.format({days:e})}}),$=l(I.FormDivider,{className:"margin-top-20 margin-bottom-20"}),ee=l(I.FormDivider,{className:"margin-top-20 margin-bottom-20"}),te=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleToggleEnabled=a.handleToggleEnabled.bind(a),a.handleExpireBehaviorChange=a.handleExpireBehaviorChange.bind(a),a.handleExpireGracePeriodChange=a.handleExpireGracePeriodChange.bind(a),a.handleSync=a.handleSync.bind(a),a.handleShowRole=a.handleShowRole.bind(a),a.handleToggleEmotes=a.handleToggleEmotes.bind(a),a}return i(t,e),t.prototype.renderTwitchEmoticons=function(e){var t=this.props,n=t.guild,a=t.integration,o=null,r=B.default.getGuildEmoji(n.id);if(a.enable_emoticons&&r){var i=Object.values(r).sort(function(e,t){return e.name.localeCompare(t.name)}).filter(function(e){return!e.roles.length||e.roles.indexOf(a.role_id)>=0}).map(function(e,t){return l(S.default,{text:e.name},t,l("img",{draggable:!1,className:"emoji jumboable",src:m.default.getEmojiURL({id:e.id})},e.name))});i.length>0&&(o=l("div",{className:"twitch-emojis margin-top-8"},void 0,i))}return l("div",{},void 0,$,l(N.default,{className:"emoji-sync margin-bottom-8"},void 0,l(N.default,{align:N.default.Align.CENTER},void 0,l(I.FormText,{},void 0,h.default.Messages.ENABLE_TWITCH_EMOJI_SYNC)),l(N.default.Child,{grow:0,shrink:0},void 0,l(P.default,{value:a.enable_emoticons,onChange:this.handleToggleEmotes,disabled:a.syncing,fill:e.color}))),o)},t.prototype.renderSyncDetails=function(e,t){var n=this.props,a=n.guild,o=n.integration,r=a.getRole(o.role_id),i=void 0;return i=null!=r?l("a",{className:"synced-role-link",onClick:this.handleShowRole},void 0,r.name):h.default.Messages.NONE,l(N.default,{},void 0,l(N.default.Child,{basis:"50%"},void 0,l(I.FormTitle,{className:"margin-bottom-8"},void 0,h.default.Messages.FORM_LABEL_SYNCED_ROLE),l(I.FormText,{},void 0,i)),l(N.default.Child,{basis:"50%"},void 0,l("div",{className:"sync-wrapper"},void 0,l(I.FormTitle,{className:"margin-bottom-8"},void 0,e),l(S.default,{text:h.default.Messages.FORCE_SYNC},void 0,l("button",{className:"force-sync",disabled:o.syncing,onClick:this.handleSync}))),l(I.FormText,{},void 0,t.format({subscribers:o.subscriber_count})),l(I.FormText,{type:I.FormTextTypes.DESCRIPTION},void 0,h.default.Messages.LAST_SYNC.format({datetime:(0,U.default)(o.synced_at).calendar()}))))},t.prototype.renderExpireToggles=function(e){var t=this.props.integration;return l(N.default,{},void 0,l(N.default.Child,{basis:"50%"},void 0,l(I.FormTitle,{className:"margin-bottom-8"},void 0,e),l(O.default,{transparent:!0,value:""+t.expire_behavior,clearable:!1,searchable:!1,options:J,disabled:t.syncing,onChange:this.handleExpireBehaviorChange})),l(N.default.Child,{basis:"50%"},void 0,l(I.FormTitle,{className:"margin-bottom-8"},void 0,h.default.Messages.FORM_LABEL_EXPIRE_GRACE_PERIOD),l(O.default,{transparent:!0,value:""+t.expire_grace_period,clearable:!1,searchable:!1,options:q,disabled:t.syncing,onChange:this.handleExpireGracePeriodChange})))},t.prototype.render=function(){var e=this.props,t=e.integration,n=e.theme,a=t.enabled,o=t.syncing,r=_.default.get(t.type),i=void 0,s=void 0,u=void 0,f=void 0,c=void 0,d=void 0;switch(t.type){case"youtube":i=t.account.name,s="gaming.youtube.com/channel/"+t.account.id,u=h.default.Messages.FORM_LABEL_SPONSOR_EXPIRE_BEHAVIOR,f=h.default.Messages.FORM_LABEL_SYNCED_SPONSORS,c=h.default.Messages.NUM_SPONSORS,d=null;break;case"twitch":default:i=s="twitch.tv/"+t.name,u=h.default.Messages.FORM_LABEL_SUB_EXPIRE_BEHAVIOR,f=h.default.Messages.FORM_LABEL_SYNCED_SUBS,c=h.default.Messages.NUM_SUBSCRIBERS,d=this.renderTwitchEmoticons(r)}var p=void 0;return a&&(p=l("div",{className:"integration-body"},void 0,this.renderSyncDetails(f,c),ee,this.renderExpireToggles(u),d)),l(L.default,{name:t.user.toString(),label:i,labelUrl:"//"+s,color:r.color,icon:r.icon.color,enabled:a,syncing:o,theme:n,handleSyncToggle:this.handleToggleEnabled},void 0,p)},t.prototype.handleToggleEnabled=function(){var e=this.props,t=e.guild,n=e.integration;n.syncing||(n.enabled?W.default.push(function(e){var a=0===n.expire_behavior?h.default.Messages.REMOVE_SYNCED_ROLE:h.default.Messages.KICK_FROM_SERVER;return f.default.createElement(E.default,s({title:h.default.Messages.DISABLE_INTEGRATION_TITLE,body:"youtube"===n.type?h.default.Messages.DISABLE_INTEGRATION_YOUTUBE_BODY:h.default.Messages.DISABLE_INTEGRATION_TWITCH_BODY,confirmText:a,cancelText:h.default.Messages.CANCEL,onConfirm:function(){return Z.default.disableIntegration(t.id,n.id)}},e))}):Z.default.enableIntegration(t.id,n.type,n.id))},t.prototype.handleExpireBehaviorChange=function(e){var t=this.props,n=t.guild,a=t.integration;Z.default.updateIntegration(n.id,a.id,parseInt(e.value),a.expire_grace_period,a.enable_emoticons)},t.prototype.handleExpireGracePeriodChange=function(e){var t=this.props,n=t.guild,a=t.integration;Z.default.updateIntegration(n.id,a.id,a.expire_behavior,parseInt(e.value),a.enable_emoticons)},t.prototype.handleSync=function(){var e=this.props,t=e.guild,n=e.integration;Z.default.syncIntegration(t.id,n.id)},t.prototype.handleShowRole=function(){var e=this.props.integration;Z.default.setSection(X.GuildSettingsSections.ROLES),Z.default.selectRole(e.role_id)},t.prototype.handleToggleEmotes=function(e){var t=this.props,n=t.guild,a=t.integration;Z.default.updateIntegration(n.id,a.id,a.expire_behavior,a.expire_grace_period,e.currentTarget.checked)},t}(f.default.PureComponent),ne=l(I.FormDivider,{className:"margin-top-20 margin-bottom-20"}),ae=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.guild,a=e.integrations,o=e.theme,r=void 0;return r=null==a?l(M.default,{className:"margin-top-40",type:M.default.Type.SPINNING_CIRCLE}):0===a.length?l(x.default,{theme:o,className:"margin-top-20"},void 0,l(R.EmptyStateImage,{darkSrc:n(2946),lightSrc:n(2947),width:294,height:192}),l(R.EmptyStateText,{note:h.default.Messages.NO_INTEGRATIONS.format({onConnect:this.handleConnect})},void 0,h.default.Messages.NO_INTEGRATIONS_LABEL)):a.map(function(e,n){return l(te,{integration:e,guild:t,theme:o},n)}),l(I.FormSection,{className:"guild-settings-integrations",tag:I.FormTitleTags.H2,title:h.default.Messages.INTEGRATIONS},void 0,l(I.FormText,{type:I.FormTextTypes.DESCRIPTION},void 0,h.default.Messages.INTEGRATIONS_PRO_TIP.format({streamkitURL:"https://discordapp.com/streamkit"})),ne,r)},t.prototype.handleConnect=function(){K.default.open(X.UserSettingsSections.CONNECTIONS)},t}(f.default.PureComponent);t.default=d.default.connectStores([H.default,j.default],function(){var e=H.default.getProps();return{guild:e.guild,integrations:e.integrations,theme:j.default.theme}})(ae),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),r=a(o),i=n(96),s=a(i),l=n(13),u=a(l),f=n(31),c=a(f),d=n(751),p=a(d),h=r.default.connectStores([s.default,u.default,c.default],function(){var e=s.default.getProps(),t=e.invites;return{guild:e.guild,invites:t,showChannel:!0,hide:c.default.hideInstantInvites,theme:u.default.theme}})(p.default);t.default=h,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(2),d=a(c),p=n(3),h=a(p),g=n(7),m=a(g),v=n(5),E=a(v),y=n(252),_=a(y),b=n(96),S=a(b),I=n(34),T=a(I),N=n(13),A=a(N),M=n(10),C=a(M),O=n(65),D=a(O),L=n(31),R=a(L),x=n(85),w=a(x),P=n(83),k=a(P),U=n(718),G=a(U),j=n(218),F=n(64),B=a(F),V=n(95),H=a(V),z=n(1371),W=a(z),Y=n(750),K=a(Y),Q=n(33),Z=a(Q),X=n(313),J=a(X),q=n(1663),$=a(q),ee=n(1621),te=a(ee),ne=n(191),ae=a(ne),oe=n(15),re=a(oe),ie=n(77),se=n(536),le=a(se),ue=n(1);n(2140),n(282);var fe="quick-roles--select",ce=s(te.default,{}),de=s($.default,{}),pe=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._isMounted=!1,a.state={overflowShown:!1},a.showOverflow=a.showOverflow.bind(a),a.handleOverflowClose=a.handleOverflowClose.bind(a),a}return i(t,e),t.prototype.componentDidMount=function(){this._isMounted=!0},t.prototype.componentWillUnmount=function(){this._isMounted=!1},t.prototype.showOverflow=function(e){var t=this.props,n=t.guild,a=t.user;this.setState({overflowShown:!0}),B.default.openContextMenu(e,function(e){return f.default.createElement(H.default,l({type:ue.ContextMenuTypes.USER_GUILD_MEMBERS,user:a,guildId:n.id,channelId:n.id},e))},{onClose:this.handleOverflowClose})},t.prototype.renderOwnerHelpIcon=function(){var e=this.props,t=e.user,a=e.theme,o=e.guild;if(t.id!==o.ownerId)return null;var r=n(a===ue.ThemeTypes.DARK?3007:3008);return s(Z.default,{text:h.default.Messages.MEMBER_LIST_SERVER_OWNER_HELP},void 0,s(J.default,{size:J.default.Sizes.SMALL,src:r,className:"owner-help-icon"}))},t.prototype.render=function(){var e=this.props,t=e.user,n=e.member,a=e.streamerMode,o=e.guild,r=this.state.overflowShown,i={color:n.colorString};return s(re.default,{className:(0,E.default)("guild-settings-members-member","ui-hover-card",{active:r}),align:re.default.Align.CENTER,onContextMenu:this.showOverflow},void 0,s(ae.default,{className:"member-avatar",src:t.getAvatarURL()}),s(re.default,{className:"name-and-tag",direction:re.default.Direction.VERTICAL,grow:0},void 0,s(re.default,{align:re.default.Align.CENTER},void 0,s(ie.FormText,{className:"name",style:i},void 0,n.nick||t.toString()),t.bot?ce:null,this.renderOwnerHelpIcon()),a?null:s(ie.FormText,{className:"tag"},void 0,"@",t.tag)),s(re.default.Child,{className:"role-wrapper"},void 0,s("div",{},void 0,s(W.default,{user:t,guild:o,memberRoles:n.roles}))),s(re.default,{className:"overflow-button",align:re.default.Align.CENTER,grow:0,onClick:this.showOverflow},void 0,de))},t.prototype.handleOverflowClose=function(){this._isMounted&&this.setState({overflowShown:!1})},t}(f.default.PureComponent),he=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={roleFilterQuery:""},a.renderHeader=a.renderHeader.bind(a),a.renderPruneAction=a.renderPruneAction.bind(a),a.handleQueryChange=a.handleQueryChange.bind(a),a.handleQueryClear=a.handleQueryClear.bind(a),a.handlePruneClick=a.handlePruneClick.bind(a),a.handleRoleFilterQueryChange=a.handleRoleFilterQueryChange.bind(a),a.handleRoleFilterQueryClear=a.handleRoleFilterQueryClear.bind(a),a}return i(t,e),t.prototype.componentDidUpdate=function(e,t){this.state.roleFilterQuery!==t.roleFilterQuery&&w.default.rerender(fe)},t.prototype.handlePruneClick=function(){G.default.open(this.props.guild.id)},t.prototype.renderPruneAction=function(){return this.props.canPrune?s("span",{},void 0," — ",s("a",{onClick:this.handlePruneClick,href:"#",className:"prune-red-link"},void 0,h.default.Messages.PRUNE)):null},t.prototype.renderHeader=function(e){var t=this.state.roleFilterQuery,n=this.props,a=n.guild,o=n.searchQuery,r=n.selectedRoleId,i={},l=(0,m.default)(a.roles).sortBy(function(e){return-e.position}).filter(function(e){return e.id===r&&(i.label=e.name),(0,_.default)(t.toLowerCase(),e.name.toLowerCase())}).map(function(e){return{value:e.id,color:e.colorString,children:e.name,selected:e.id===r}}).value(),u={query:t,onChange:this.handleRoleFilterQueryChange,onClear:this.handleRoleFilterQueryClear,placeholder:h.default.Messages.SEARCH_ROLES};return s(ie.FormSection,{},void 0,s(ie.FormTitle,{tag:ie.FormTitleTags.H2},void 0,h.default.Messages.GUILD_SETTINGS_MEMBERS_SERVER_MEMBERS),s(re.default,{className:"guild-settings-members-header",align:re.default.Align.CENTER,style:{height:20}},void 0,s(re.default.Child,{},void 0,s(ie.FormText,{type:ie.FormTextTypes.DESCRIPTION,className:"guild-settings-members-count"},void 0,h.default.Messages.MEMBERS_HEADER.format({members:e.length}),this.renderPruneAction())),s(re.default,{align:re.default.Align.CENTER,grow:0},void 0,s(K.default,{popoutClassName:"guild-settings-members-filter-popout elevation-border-low",popoutId:fe,className:"role-filter",items:l,label:h.default.Messages.GUILD_SETTINGS_MEMBERS_DISPLAY_ROLE,value:i,onChange:this.handleRoleChange,searchProps:u,popoutProps:{preventInvert:!0,position:"bottom"}}),s(le.default,{query:o,onChange:this.handleQueryChange,onClear:this.handleQueryClear}))),s(ie.FormDivider,{className:"margin-top-20",style:{marginBottom:-1}}))},t.prototype.makeSearchFilter=function(){var e=this.props.searchQuery;return null==e||0===e.length?function(){return!0}:function(t){var n=t.user,a=t.member;e=e.toLowerCase();var o=n.username.toLowerCase(),r=null!=a.nick?a.nick.toLowerCase():null;return(0,_.default)(e,o)||null!=r&&(0,_.default)(e,r)}},t.prototype.makeRoleFilter=function(){var e=this.props,t=e.guild,n=e.selectedRoleId;return function(e){var a=e.member;return n===t.id||a.roles.indexOf(n)!==-1}},t.prototype.renderMembers=function(e){var t=this.props,n=t.guild,a=t.currentUser,o=t.streamerMode,r=t.theme;return(0,m.default)(e).sortBy(function(e){return e.comparator}).map(function(e){var t=e.member;return s(pe,{currentUser:a,member:t,user:e.user,guild:n,theme:r,streamerMode:o},t.userId)}).value()},t.prototype.render=function(){var e=this.props.members,t=(0,m.default)(e).map(function(e){var t=C.default.getUser(e.userId);return{member:e,user:t,comparator:(null!=t?e.nick||t.username:"").toLowerCase()}}).filter(this.makeSearchFilter()).filter(this.makeRoleFilter()).value();return s(j.LazyContentScroller,{theme:this.props.theme,header:this.renderHeader(t),elementHeight:72},void 0,this.renderMembers(t))},t.prototype.handleQueryChange=function(e){k.default.setSearchQuery(e)},t.prototype.handleQueryClear=function(){k.default.setSearchQuery("")},t.prototype.handleRoleChange=function(e){var t=e.value;k.default.selectRole(t)},t.prototype.handleRoleFilterQueryChange=function(e){this.setState({roleFilterQuery:e})},t.prototype.handleRoleFilterQueryClear=function(){this.setState({roleFilterQuery:""})},t}(f.default.PureComponent),ge=d.default.connectStores([S.default,A.default,T.default,R.default],function(){var e=S.default.getProps(),t=e.guild,n=e.searchQuery;return{guild:t,selectedRoleId:e.selectedRoleId,searchQuery:n||"",members:T.default.getMembers(t.id),theme:A.default.theme,currentUser:C.default.getCurrentUser(),canPrune:D.default.can(ue.Permissions.KICK_MEMBERS,t),streamerMode:R.default.enabled}})(he);t.default=ge,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2),c=a(f),d=n(3),p=a(d),h=n(1453),g=a(h),m=n(159),v=a(m),E=n(99),y=a(E),_=n(66),b=n(50),S=a(b),I=n(91),T=a(I),N=n(226),A=a(N),M=n(17),C=a(M),O=n(31),D=a(O),L=n(96),R=a(L),x=n(12),w=a(x),P=n(65),k=a(P),U=n(83),G=a(U),j=n(1),F=n(389),B=s(v.default,{}),V=s(T.default,{className:"margin-top-40 margin-bottom-40"}),H=s(T.default,{className:"margin-top-40 margin-bottom-40"}),z=s(g.default,{}),W=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.verificationLevelOptions=[{name:p.default.Messages.VERIFICATION_LEVEL_NONE,desc:p.default.Messages.VERIFICATION_LEVEL_NONE_CRITERIA,value:j.VerificationLevels.NONE},{name:p.default.Messages.VERIFICATION_LEVEL_LOW,desc:p.default.Messages.VERIFICATION_LEVEL_LOW_CRITERIA,value:j.VerificationLevels.LOW,color:F.Colors.STATUS_GREEN},{name:p.default.Messages.VERIFICATION_LEVEL_MEDIUM,desc:p.default.Messages.VERIFICATION_LEVEL_MEDIUM_CRITERIA.format({min:j.VerificationCriteria.ACCOUNT_AGE}),value:j.VerificationLevels.MEDIUM,color:F.Colors.STATUS_YELLOW},{name:"(╯°□°)╯︵ ┻━┻",desc:p.default.Messages.VERIFICATION_LEVEL_HIGH_CRITERIA.format({min:j.VerificationCriteria.MEMBER_AGE}),value:j.VerificationLevels.HIGH,color:F.Colors.ORANGE},{name:"┻━┻ ミヽ(ಠ益ಠ)ノ彡┻━┻",desc:p.default.Messages.VERIFICATION_LEVEL_VERY_HIGH_CRITERIA,value:j.VerificationLevels.VERY_HIGH,color:F.Colors.STATUS_RED}],a.contentFilterOptions=[{name:p.default.Messages.EXPLICIT_CONTENT_FILTER_DISABLED,desc:p.default.Messages.EXPLICIT_CONTENT_FILTER_DISABLED_DESCRIPTION,value:j.GuildExplicitContentFilterTypes.DISABLED},{name:p.default.Messages.EXPLICIT_CONTENT_FILTER_MEDIUM,desc:p.default.Messages.EXPLICIT_CONTENT_FILTER_MEDIUM_DESCRIPTION,value:j.GuildExplicitContentFilterTypes.MEMBERS_WITHOUT_ROLES},{name:p.default.Messages.EXPLICIT_CONTENT_FILTER_HIGH,desc:p.default.Messages.EXPLICIT_CONTENT_FILTER_HIGH_DESCRIPTION,value:j.GuildExplicitContentFilterTypes.ALL_MEMBERS}],a.handleVerificationLevelChange=a.handleVerificationLevelChange.bind(a),a.handleExplicitContentFilterChange=a.handleExplicitContentFilterChange.bind(a),a}return i(t,e),t.prototype.renderVerificationLevelSection=function(){var e=this.props,t=e.canManageGuild,n=e.guild;return s(y.default,{title:p.default.Messages.FORM_LABEL_VERIFICATION_LEVEL},void 0,s(S.default,{type:b.Types.DESCRIPTION,className:"margin-bottom-20"},void 0,p.default.Messages.FORM_HELP_VERIFICATION_LEVEL.format()),s(A.default,{value:n.verificationLevel,options:this.verificationLevelOptions,disabled:!t,onChange:this.handleVerificationLevelChange}))},t.prototype.renderExplicitContentFilter=function(){var e=this.props,t=e.canManageGuild,n=e.guild;return s(y.default,{title:p.default.Messages.FORM_LABEL_EXPLICIT_CONTENT_FILTER},void 0,s(S.default,{type:b.Types.DESCRIPTION,className:"margin-bottom-20"},void 0,p.default.Messages.FORM_HELP_EXPLICIT_CONTENT_FILTER.format()),s(A.default,{value:n.explicitContentFilter,options:this.contentFilterOptions,disabled:!t,onChange:this.handleExplicitContentFilterChange}))},t.prototype.render=function(){var e=this.props,t=e.hide,n=e.guild,a=e.currentUserId;if(t)return B;var o=!1;return a===n.ownerId&&(o=!0),s(y.default,{title:p.default.Messages.MODERATION,tag:_.Tags.H2},void 0,this.renderVerificationLevelSection(),V,this.renderExplicitContentFilter(),o&&H,o&&z)},t.prototype.handleVerificationLevelChange=function(e){var t=e.value;G.default.updateGuild({verificationLevel:t})},t.prototype.handleExplicitContentFilterChange=function(e){var t=e.value;G.default.updateGuild({explicitContentFilter:t})},t}(u.default.PureComponent);t.default=c.default.connectStores([R.default,w.default,C.default,k.default,D.default],function(){var e=R.default.getProps(),t=e.guild,n=!1;return null!=t&&(n=k.default.can(j.Permissions.MANAGE_GUILD,t)),{currentUserId:C.default.getId(),canManageGuild:n,guild:t,hide:D.default.enabled}})(W),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.GuildSettingsOverviewNotice=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(2),d=a(c),p=n(3),h=a(p),g=n(7),m=a(g),v=n(506),E=a(v),y=n(300),_=a(y),b=n(303),S=n(301),I=a(S),T=n(11),N=a(T),A=n(96),M=a(A),C=n(65),O=a(C),D=n(310),L=a(D),R=n(83),x=a(R),w=n(491),P=a(w),k=n(14),U=a(k),G=n(144),j=a(G),F=n(228),B=a(F),V=n(99),H=a(V),z=n(66),W=a(z),Y=n(15),K=a(Y),Q=n(50),Z=a(Q),X=n(91),J=a(X),q=n(28),$=a(q),ee=n(304),te=a(ee),ne=n(166),ae=a(ne),oe=n(226),re=a(oe),ie=n(1644),se=a(ie),le=n(48),ue=a(le),fe=n(1);n(2196);var ce="NO_AFK_CHANNEL",de="60",pe="300",he="900",ge="1800",me="3600",ve=(t.GuildSettingsOverviewNotice=d.default.connectStores([M.default],function(){var e=M.default.getProps(),t=e.guild;return{guild:t,submitting:e.submitting,onReset:function(){x.default.init(t.id)},onSave:function(){x.default.saveGuild(t.id,{name:t.name,region:t.region,icon:t.icon,splash:t.splash,afkChannelId:t.afkChannelId,afkTimeout:t.afkTimeout,verificationLevel:t.verificationLevel,defaultMessageNotifications:t.defaultMessageNotifications,explicitContentFilter:t.explicitContentFilter})}}})(te.default),s(J.default,{className:"margin-bottom-40"})),Ee=s(J.default,{className:"margin-bottom-40"}),ye=s(J.default,{className:"margin-top-40 margin-bottom-20"}),_e=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return m.default.bindAll(a,["handleNameChange","handleIconChange","handleAFKChannelChange","handleAFKTimeoutChange","handleDefaultMessageNotificationsChange","handleSplashChange","handleRegionSelectorClick","handleRegionChange"]),a}return i(t,e),t.prototype.componentDidMount=function(){null==this.props.regions&&P.default.fetchRegions(this.props.guild.id)},t.prototype.componentWillReceiveProps=function(e){if(this.props.guild.id!==e.guild.id){null==L.default.getRegions(e.guild.id)&&P.default.fetchRegions(e.guild.id)}},t.prototype.handleNameChange=function(e){x.default.updateGuild({name:e})},t.prototype.handleIconChange=function(e){x.default.updateGuild({icon:e})},t.prototype.handleAFKChannelChange=function(e){var t=e.value;t===ce&&(t=null),x.default.updateGuild({afkChannelId:t})},t.prototype.handleAFKTimeoutChange=function(e){var t=e.value;x.default.updateGuild({afkTimeout:parseInt(t,10)})},t.prototype.handleDefaultMessageNotificationsChange=function(e){var t=e.value;x.default.updateGuild({defaultMessageNotifications:t})},t.prototype.handleSplashChange=function(e){x.default.updateGuild({splash:e})},t.prototype.handleRegionChange=function(e){var t=e.id;x.default.updateGuild({region:t})},t.prototype.handleRegionSelectorClick=function(){var e=this,t=this.props.regions;if(null!=t){var n=t.filter(function(e){return!e.deprecated});U.default.push(function(t){return f.default.createElement(b.RegionSelectModal,l({regions:n,onChange:e.handleRegionChange},t))})}},t.prototype.renderBaseSettings=function(){var e=this.props,t=e.guild,n=e.region,a=e.regions,o=e.errors,r=e.canManageGuild,i=null==a||0==a.length;return s(K.default,{className:"guild-settings-base-section margin-bottom-40"},void 0,s(K.default,{basis:"50%",justify:K.default.Justify.BETWEEN},void 0,s(K.default.Child,{wrap:!0},void 0,s(E.default,{showIcon:!0,name:t.name,icon:t.icon,onChange:this.handleIconChange,disabled:!r,makeURL:function(e){return e&&ue.default.getGuildIconURL({id:t.id,icon:e})}})),s(K.default,{direction:K.default.Direction.VERTICAL,align:K.default.Align.START,style:{maxWidth:180}},void 0,s(Z.default,{type:Q.Types.DESCRIPTION,className:"margin-bottom-8"},void 0,h.default.Messages.GUILD_SETTINGS_ICON_RECOMMEND),s($.default,{look:q.ButtonLooks.OUTLINED,color:q.ButtonColors.WHITE,disabled:!r,className:"margin-top-8"},void 0,h.default.Messages.UPLOAD_IMAGE,s(I.default,{onChange:this.handleIconChange,disabled:!r})))),s(K.default.Child,{basis:"50%"},void 0,s(B.default,{title:h.default.Messages.FORM_LABEL_SERVER_NAME,className:"margin-bottom-20"},void 0,s(j.default,{type:"text",disabled:!r,value:t.name,maxLength:100,onChange:this.handleNameChange,error:o.name})),s(B.default,{title:h.default.Messages.FORM_LABEL_SERVER_REGION},void 0,s(se.default,{disabled:!r||i,region:n,onClick:this.handleRegionSelectorClick,error:null!=o.region}))))},t.prototype.renderAFKSection=function(){var e=this.props,t=e.guild,n=e.canManageGuild,a=e.channels,o=null!=t.afkTimeout?""+t.afkTimeout:null,r=t.afkChannelId||ce,i=[{value:de,label:h.default.Messages.DURATION_MINUTES.format({minutes:1})},{value:pe,label:h.default.Messages.DURATION_MINUTES.format({minutes:5})},{value:he,label:h.default.Messages.DURATION_MINUTES.format({minutes:15})},{value:ge,label:h.default.Messages.DURATION_MINUTES.format({minutes:30})},{value:me,label:h.default.Messages.DURATION_HOURS.format({hours:1})}],l=(0,m.default)(a).filter(function(e){return e.guild_id===t.id}).filter(function(e){return e.type===fe.ChannelTypes.GUILD_VOICE}).map(function(e){return{value:e.id,label:e.toString()}}).value();return l.unshift({value:ce,label:h.default.Messages.NO_AFK_CHANNEL}),s(H.default,{className:"margin-bottom-40"},void 0,s(K.default,{},void 0,s(K.default.Child,{},void 0,s(B.default,{title:h.default.Messages.FORM_LABEL_AFK_CHANNEL},void 0,s(ae.default,{value:r,clearable:!1,searchable:!1,options:l,disabled:!n,onChange:this.handleAFKChannelChange}))),s(K.default.Child,{},void 0,s(B.default,{title:h.default.Messages.FORM_LABEL_AFK_TIMEOUT},void 0,s(ae.default,{value:o,clearable:!1,searchable:!1,options:i,disabled:r===ce||!n,onChange:this.handleAFKTimeoutChange})))),s(Z.default,{className:"margin-top-8",type:Q.Types.DESCRIPTION},void 0,h.default.Messages.FORM_HELP_AFK_CHANNEL))},t.prototype.renderNotificationSection=function(){var e=this.props,t=e.guild,n=e.canManageGuild,a=[{name:h.default.Messages.FORM_LABEL_ALL_MESSAGES,value:fe.UserNotificationSettings.ALL_MESSAGES},{name:h.default.Messages.FORM_LABEL_ONLY_MENTIONS.format(),value:fe.UserNotificationSettings.ONLY_MENTIONS}];return s(H.default,{className:"margin-bottom-40"},void 0,s(W.default,{},void 0,h.default.Messages.FORM_LABEL_DEFAULT_NOTIFICATION_SETTINGS),s(Z.default,{type:Q.Types.DESCRIPTION,className:"margin-bottom-20"},void 0,h.default.Messages.GUILD_SETTINGS_DEFAULT_NOTIFICATION_SETTINGS_INTRO),s(Z.default,{type:Q.Types.DESCRIPTION,className:"margin-bottom-20"},void 0,h.default.Messages.GUILD_SETTINGS_DEFAULT_NOTIFICATION_SETTINGS_PROTIP.format({videoURL:"https://www.youtube.com/watch?v=zGl796352RI"})),s(re.default,{options:a,value:t.defaultMessageNotifications,disabled:!n,onChange:this.handleDefaultMessageNotificationsChange}))},t.prototype.renderServerInviteBGSection=function(){var e=this.props,t=e.guild,n=e.canManageGuild;return s(H.default,{title:h.default.Messages.GUILD_SETTINGS_SERVER_INVITE_BACKGROUND,className:"guild-settings-splash-section"},void 0,s(K.default,{},void 0,s(K.default,{basis:"50%",direction:K.default.Direction.VERTICAL,align:K.default.Align.START},void 0,s(Z.default,{type:Q.Types.DESCRIPTION,className:"margin-bottom-8"},void 0,h.default.Messages.GUILD_SETTINGS_SPLASH_RECOMMEND),s($.default,{look:q.ButtonLooks.OUTLINED,color:q.ButtonColors.WHITE,className:"margin-top-8"},void 0,h.default.Messages.UPLOAD_BACKGROUND,s(I.default,{onChange:this.handleSplashChange}))),s(K.default.Child,{wrap:!0,basis:"50%"},void 0,s(_.default,{avatar:t.splash,size:fe.SPLASH_SIZE,makeURL:function(e){return e&&ue.default.getGuildSplashURL({id:t.id,splash:e})},disabled:!n,onChange:this.handleSplashChange,hint:h.default.Messages.CHANGE_SPLASH}))))},t.prototype.render=function(){var e=this.props.guild.hasFeature(fe.GuildFeatures.INVITE_SPLASH);return s(H.default,{title:h.default.Messages.SERVER_OVERVIEW,tag:z.Tags.H2},void 0,this.renderBaseSettings(),ve,this.renderAFKSection(),Ee,this.renderNotificationSection(),e&&ye,e&&this.renderServerInviteBGSection())},t}(f.default.PureComponent);t.default=d.default.connectStores([N.default,M.default,O.default,L.default],function(){var e=M.default.getProps(),t=e.guild,n=e.errors,a=e.submitting,o=L.default.getRegions(t.id),r={id:"unknown",name:h.default.Messages.UNKNOWN_REGION,vip:!1};null!=o&&(r=o.find(function(e){return e.id===t.region})||r);var i=O.default.getGuildPermissions(t.id)||0,s=(i&fe.Permissions.MANAGE_GUILD)===fe.Permissions.MANAGE_GUILD;return{channels:N.default.getChannels(),canManageGuild:s,regions:o,region:r,guild:t,errors:n,submitting:a}})(_e)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){return u(b.default,{type:b.default.ERROR,delay:500,position:b.default.TOP,text:t},void 0,u("div",{className:"not-allowed"},void 0,e))}t.__esModule=!0,t.GuildSettingsRolesNotice=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(2),p=a(d),h=n(7),g=a(h),m=n(3),v=a(m),E=n(5),y=a(E),_=n(33),b=a(_),S=n(740),I=a(S),T=n(55),N=a(T),A=n(71),M=a(A),C=n(96),O=a(C),D=n(10),L=a(D),R=n(13),x=a(R),w=n(800),P=a(w),k=n(83),U=a(k),G=n(63),j=a(G),F=n(107),B=a(F),V=n(1236),H=n(824),z=a(H),W=n(1702),Y=n(383),K=a(Y),Q=n(1360),Z=a(Q),X=n(99),J=a(X),q=n(228),$=a(q),ee=n(91),te=a(ee),ne=n(50),ae=a(ne),oe=n(66),re=a(oe),ie=n(144),se=a(ie),le=n(110),ue=a(le),fe=n(304),ce=a(fe),de=n(747),pe=a(de),he=n(15),ge=a(he),me=n(28),ve=a(me),Ee=n(141),ye=a(Ee),_e=n(833),be=a(_e),Se=n(1);n(2141);var Ie={paddingTop:60,paddingBottom:80,paddingLeft:20,paddingRight:20,color:"#fff"},Te=(t.GuildSettingsRolesNotice=p.default.connectStores([O.default,P.default],function(){var e=O.default.getProps(),t=e.guild;return{guild:t,submitting:P.default.formState===Se.FormStates.SUBMITTING,onReset:function(){(0,V.init)()},onSave:function(){var e=t.id,n=P.default.editedRoleIds.map(function(e){return P.default.getRole(e)}),a=P.default.getSortDeltas();(0,V.saveRoleSettings)(e,n,a)}}})(ce.default),(0,W.makeDragItem)("ITEM")(I.default)),Ne=(0,W.makeDragList)("ITEM")(K.default),Ae=u("span",{},void 0,u(be.default,{className:"not-allowed-icon",width:18,height:18})),Me=u(te.default,{className:"margin-bottom-40"}),Ce=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.generalSpec=N.default.generateGuildGeneralPermissionSpec(),a.textSpec=N.default.generateGuildTextPermissionSpec(),a.voiceSpec=N.default.generateGuildVoicePermissionSpec(),g.default.bindAll(a,["handleNameChange","handleColorChange","handleDeleteRole","handlePermissionChange","handlePermissionRender"]),a}return i(t,e),t.prototype.handleNameChange=function(e){var t=this.props.role.id;(0,V.updateRoleName)(t,e)},t.prototype.handleColorChange=function(e){var t=this.props.role,n=t.id;t.color===e||e===Se.DEFAULT_ROLE_COLOR&&0===t.color||(e===Se.DEFAULT_ROLE_COLOR&&(e=0),(0,V.updateRoleColor)(n,e))},t.prototype.handleSettingChange=function(e,t){var n=t.target.checked,a=this.props.role,o=a.hoist,r=a.mentionable,i=a.id;"hoist"===e?o=n:r=n,(0,V.toggleRoleSettings)(i,o,r)},t.prototype.handlePermissionChange=function(e,t){var n=this.props.role.id;(0,V.updateRolePermissions)(n,e,t)},t.prototype.handleDeleteRole=function(){var e=this.props,t=e.guild.id,a=e.role,o=a.id,r=a.name;B.default.show({title:v.default.Messages.SETTINGS_ROLES_DELETE_TITLE,body:v.default.Messages.SETTINGS_ROLES_DELETE_BODY.format({name:r}),cancelText:v.default.Messages.CANCEL,onConfirm:function(){return j.default.deleteRole(t,o)},iconUrl:n(681)})},t.prototype.renderName=function(){var e=this.props,t=e.role,n=e.locked,a=e.everyone;return u($.default,{title:v.default.Messages.FORM_LABEL_ROLE_NAME,className:"margin-bottom-20"},void 0,u(se.default,{disabled:n||a,style:{color:t.colorString},value:t.name,onChange:this.handleNameChange}))},t.prototype.renderColorPicker=function(){var e=this.props,t=e.role,n=e.locked,a=e.everyone,o=u(Z.default,{defaultColor:Se.DEFAULT_ROLE_COLOR,colors:Se.ROLE_COLORS,value:t.color,disabled:n||a,onChange:this.handleColorChange});return(n||a)&&(o=s(o,v.default.Messages.FORM_LABEL_DISABLED_FOR_EVERYONE)),u($.default,{title:v.default.Messages.FORM_LABEL_ROLE_COLOR,className:"margin-bottom-40"},void 0,o)},t.prototype.renderDisabledIndicator=function(e){return u(b.default,{text:e,position:b.default.TOP,type:b.default.ERROR},void 0,Ae)},t.prototype.renderRoleSettings=function(){var e=this.props,t=e.role,n=e.locked,a=this.handlePermissionRender(),o=!(!n&&!a),r="string"==typeof a?this.renderDisabledIndicator(a):null,i=(0,y.default)({"role-permission-title-disabled":null!=r});return u(J.default,{className:"margin-bottom-40"},void 0,u(re.default,{tag:oe.Tags.H5,className:"margin-bottom-20"},void 0,v.default.Messages.FORM_LABEL_ROLE_SETTINGS),u(ue.default,{className:(0,y.default)("permission-item","margin-bottom-20",{disabled:o}),disabled:o,onChange:this.handleSettingChange.bind(this,"hoist"),value:t.hoist},void 0,r,u("span",{className:i},void 0,v.default.Messages.FORM_LABEL_HOIST_DESCRIPTION)),u(ue.default,{disabled:o,onChange:this.handleSettingChange.bind(this,"mentionable"),value:t.mentionable},void 0,r,u("span",{className:i},void 0,v.default.Messages.FORM_LABEL_MENTIONABLE.format())))},t.prototype.renderDeleteButton=function(){var e=this.props,t=e.locked,n=e.role,a=e.everyone;return t||n.managed||a?null:u(ve.default,{look:ve.default.Looks.OUTLINED,color:ve.default.Colors.RED,onClick:this.handleDeleteRole},void 0,v.default.Messages.DELETE," ",n.name)},t.prototype.renderManagedNote=function(){if(this.props.role.managed)return u(ye.default,{type:Ee.Types.WARNING,className:"padded margin-bottom-20"},void 0,v.default.Messages.MANAGED_ROLE_EXPLAINATION)},t.prototype.handlePermissionRender=function(e){var t,n=this.props,a=n.locked,o=n.guild,r=n.currentUser,i=n.everyone,s=n.role,u=N.default.getHighestRole(o,r.id);return a&&s===u?v.default.Messages.HELP_ROLE_LOCKED_MINE:a?v.default.Messages.HELP_ROLE_LOCKED:null==e&&i?v.default.Messages.FORM_LABEL_DISABLED_FOR_EVERYONE:null==e||N.default.can(e,r,o)?null!=e&&!N.default.can(e,r,o,null,(t={},t[s.id]=l({},s,{permissions:s.permissions^s.permissions&e}),t))&&v.default.Messages.HELP_SINGULAR_PERMISSION:v.default.Messages.HELP_MISSING_PERMISSION},t.prototype.render=function(){var e=this.props,t=e.locked,n=e.role.permissions;return u(J.default,{},void 0,this.renderManagedNote(),this.renderName(),this.renderColorPicker(),Me,this.renderRoleSettings(),u(pe.default,{spec:this.generalSpec,permissions:n,locked:t,onChange:this.handlePermissionChange,className:"margin-bottom-40",permissionRender:this.handlePermissionRender}),u(pe.default,{spec:this.textSpec,permissions:n,locked:t,onChange:this.handlePermissionChange,className:"margin-bottom-40",permissionRender:this.handlePermissionRender}),u(pe.default,{spec:this.voiceSpec,permissions:n,locked:t,onChange:this.handlePermissionChange,permissionRender:this.handlePermissionRender}),this.renderDeleteButton())},t}(c.default.PureComponent),Oe=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return g.default.bindAll(a,["handleSelectRole","handleDragStart","handleDrop","handleHover","handleCancel","handleDragLeave","handleCreateRole"]),a.state={dragging:null,roles:null},a}return i(t,e),t.prototype.getSelectedRole=function(){return P.default.getRole(this.props.selectedRoleId)},t.prototype.handleCreateRole=function(){j.default.createRole(this.props.guild.id)},t.prototype.handleSelectRole=function(e){U.default.selectRole(e)},t.prototype.handleDragStart=function(e){var t=this.props.roles;this.setState({dragging:e,roles:[].concat(t)})},t.prototype.handleDragLeave=function(){var e=this.props.roles;this.setState({roles:[].concat(e)})},t.prototype.handleDrop=function(){null!=this.state.roles&&((0,V.updateRoleSort)(this.state.roles.map(function(e){return e.id})),this.setState({dragging:null,roles:null}))},t.prototype.handleHover=function(e,t){if(null!=this.state.roles){var n=[].concat(this.state.roles),a=n.find(function(e){return t===e.id}),o=n.find(function(t){return e===t.id});if(null!=a&&null!=o){var r=n.indexOf(a),i=n.indexOf(o),s=i-r>0?1:0;n.splice(r,1),i=n.indexOf(o),n.splice(i+s,0,a),this.setState({roles:n})}}},t.prototype.handleCancel=function(){this.setState({dragging:null,roles:null})},t.prototype.renderRoleList=function(){var e=this.props,t=e.currentUser,n=e.guild,a=e.selectedRoleId,o=e.theme,r=this.props.roles,i=N.default.getHighestRole(n,t.id);return this.state.roles&&(r=this.state.roles),r.map(function(e){var r=!N.default.isRoleHigher(n,t.id,i,e),s=r&&e===i,l=e.id,f=e.colorString,c=e.name,d=void 0;return s?d=v.default.Messages.HELP_ROLE_LOCKED_MINE:r&&(d=v.default.Messages.HELP_ROLE_LOCKED),r||s||l===n.id?u(I.default,{theme:o,id:l,locked:r,lockTooltip:d,color:f},a+"-"+l,c):u(Te,{theme:o,dragId:l,id:l,locked:r,lockTooltip:d,color:f},a+"-"+l,c)})},t.prototype.renderRoleInfo=function(){return u("div",{},void 0,u("div",{className:"ui-tab-bar-separator margin-top-20",style:{marginBottom:14}}),u(ae.default,{type:ne.Types.DESCRIPTION,className:"margin-bottom-20"},void 0,v.default.Messages.FORM_LABEL_ROLES_PRO_TIP_DESCRIPTION),u(ae.default,{type:ne.Types.DESCRIPTION},void 0,u("a",{href:M.default.getArticleURL(206029707),target:"_blank"},void 0,v.default.Messages.PERMISSION_HELPDESK)))},t.prototype.renderRoles=function(){var e=this.props,t=e.selectedRoleId,a=e.theme,o=this.state.dragging,r=n(this.props.theme===Se.ThemeTypes.DARK?1181:1180);return u(z.default.Sidebar,{style:l({},Ie,{overflow:"hidden"}),scrollable:!0,theme:a},void 0,u(Ne,{onItemSelect:this.handleSelectRole,selectedItem:o||t,onDragStart:this.handleDragStart,onHover:this.handleHover,onDrop:this.handleDrop,onCancel:this.handleCancel,onDragLeave:this.handleDragLeave},void 0,u(Y.TabBarHeader,{},void 0,u(ge.default,{className:"sidebar-header",onClick:this.handleCreateRole,justify:ge.default.Justify.BETWEEN},void 0,v.default.Messages.ROLES,u("img",{className:"add-role-icon",src:r}))),this.renderRoleList(),this.renderRoleInfo()))},t.prototype.renderRoleSettings=function(){var e=this.props,t=e.guild,n=e.currentUser,a=this.getSelectedRole(),o=N.default.getHighestRole(t,n.id),r=!N.default.isRoleHigher(t,n.id,o,a),i=null!=a&&a.id===t.id;return u(z.default.Content,{style:l({},Ie,{paddingRight:0}),grow:0},void 0,u(Ce,{guild:t,role:a,locked:r,everyone:i,currentUser:n}))},t.prototype.render=function(){return u(z.default,{className:"guild-settings-roles"},void 0,this.renderRoles(),this.renderRoleSettings())},t}(c.default.PureComponent);t.default=p.default.connectStores([O.default,L.default,x.default,P.default],function(){var e=O.default.getProps(),t=e.guild,n=e.selectedRoleId;return{currentUser:L.default.getCurrentUser(),guild:t,selectedRoleId:n,roles:P.default.roles,theme:x.default.theme}})(Oe)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.GuildSettingsVanityURLNotice=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2),c=a(f),d=n(7),p=a(d),h=n(159),g=a(h),m=n(141),v=a(m),E=n(1642),y=a(E),_=n(28),b=a(_),S=n(50),I=a(S),T=n(227),N=a(T),A=n(99),M=a(A),C=n(66),O=a(C),D=n(121),L=a(D),R=n(304),x=a(R),w=n(96),P=a(w),k=n(31),U=a(k),G=n(801),j=a(G),F=n(1237),B=n(145),V=n(3),H=a(V);n(2142);var z="https://discord.gg/",W=25,Y=(t.GuildSettingsVanityURLNotice=c.default.connectStores([P.default,j.default],function(){var e=j.default.vanityURLCode,t=P.default.getGuildId();return{vanityURLCode:e,guildId:t,onReset:function(){(0,F.resetCode)()},onSave:function(){(0,F.saveCode)(t,e)}}})(x.default),s(L.default,{})),K=s(g.default,{}),Q=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return p.default.bindAll(a,["renderInfo","renderEditCard","handleRemoveVanityURL","handleInviteCodeChange"]),a.state={isRemoving:!1},a}return i(t,e),t.prototype.componentWillUnmount=function(){(0,F.close)()},t.prototype.renderEditCard=function(){var e=this.state.isRemoving,t=this.props,n=t.hasError,a=t.originalVanityURLCode,o=t.vanityURLCode;return null==o?Y:s(v.default,{editable:!0,className:"edit-vanity-url-card"},void 0,s(O.default,{},void 0,H.default.Messages.INVITE_URL),s(y.default,{prefix:z,value:o,onChange:this.handleInviteCodeChange,maxLength:W,autoFocus:!0,error:n}),null!=a&&a.length>0?s(b.default,{className:"remove-vanity-url-button margin-top-20",onClick:this.handleRemoveVanityURL,submitting:e,look:b.default.Looks.LINK,size:b.default.Sizes.MIN,color:b.default.Colors.RED},void 0,H.default.Messages.REMOVE_VANITY_URL):null)},t.prototype.renderInfo=function(){var e=this.props,t=e.hasError,n=e.originalVanityURLCode;if(t)return s(N.default,{size:N.default.Sizes.MEDIUM,color:N.default.Colors.RED,className:"margin-top-20"},void 0,H.default.Messages.CHANGE_VANITY_URL_ERROR);if(null!=n&&n.length>0){var a=(0,B.getInviteURL)(n);return s(I.default,{className:"margin-top-20",type:S.Types.LABEL_DESCRIPTOR},void 0,H.default.Messages.VANITY_URL_HELP_EXTENDED_LINK.format({urlText:a,urlValue:a}))}},t.prototype.handleRemoveVanityURL=function(){(0,F.setCode)("")},t.prototype.handleInviteCodeChange=function(e){(0,F.setCode)(e.replace(/ /g,"-"))},t.prototype.render=function(){return this.props.hide?K:s(M.default,{className:"guild-settings-vanity-url",tag:C.Tags.H2,title:H.default.Messages.VANITY_URL},void 0,s(I.default,{type:S.Types.DESCRIPTION,className:"margin-bottom-20"},void 0,H.default.Messages.VANITY_URL_HELP),this.renderEditCard(),this.renderInfo())},t}(u.default.PureComponent);t.default=c.default.connectStores([P.default,j.default,U.default],function(){return{vanityURLCode:j.default.vanityURLCode,originalVanityURLCode:j.default.originalVanityURLCode,guildId:P.default.getGuildId(),hasError:j.default.hasError(),hide:U.default.hideInstantInvites}})(Q)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(2),r=a(o),i=n(96),s=a(i),l=n(752),u=a(l);t.default=r.default.connectStores([s.default],function(){return{guild:s.default.getProps().guild}})(u.default),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(7),c=a(f),d=n(2),p=a(d),h=n(15),g=a(h),m=n(99),v=a(m),E=n(50),y=a(E),_=n(91),b=a(_),S=n(228),I=a(S),T=n(110),N=a(T),A=n(166),M=a(A),C=n(66),O=a(C),D=n(503),L=a(D),R=n(159),x=a(R),w=n(96),P=a(w),k=n(11),U=a(k),G=n(31),j=a(G),F=n(83),B=a(F),V=n(3),H=a(V),z="NO_INSTANT_INVITE",W=s(x.default,{}),Y=s(b.default,{className:"margin-top-40 margin-bottom-40"}),K=s(b.default,{className:"margin-top-40 margin-bottom-40"}),Q=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={internalEnabled:n.widgetEnabled},a.renderToggle=a.renderToggle.bind(a),a.renderChannelSelect=a.renderChannelSelect.bind(a),a.renderAPIInfo=a.renderAPIInfo.bind(a),a.renderWidget=a.renderWidget.bind(a),a.handleToggleWidget=a.handleToggleWidget.bind(a),a.handleChannelSelect=a.handleChannelSelect.bind(a),a}return i(t,e),t.prototype.componentWillReceiveProps=function(e){e.widgetEnabled!==this.state.internalEnabled&&this.setState({internalEnabled:e.widgetEnabled})},t.prototype.renderToggle=function(){return s(N.default,{className:"margin-bottom-40",value:this.state.internalEnabled,onChange:this.handleToggleWidget},void 0,H.default.Messages.GUILD_SETTINGS_WIDGET_ENABLE_WIDGET)},t.prototype.renderChannelSelect=function(){var e=this.props,t=e.channels,n=e.widgetChannelId,a=e.guildId,o=(0,c.default)(t).filter(function(e){return e.guild_id===a}).map(function(e){return{value:e.id,label:e.toString(!0)}}).value(),r={value:z,label:H.default.Messages.NO_INSTANT_INVITE};o.unshift(r);var i=n||r;return s(I.default,{title:H.default.Messages.FORM_LABEL_INSTANT_INVITE_CHANNEL},void 0,s(M.default,{className:"margin-bottom-20",options:o,value:i,onChange:this.handleChannelSelect,searchable:!1,clearable:!1}),s(y.default,{type:E.Types.DESCRIPTION},void 0,H.default.Messages.FORM_HELP_INSTANT_INVITE_CHANNEL))},t.prototype.renderAPIInfo=function(){var e=this.props.guildId,t=location.protocol+"//canary.discordapp.com/api/guilds/"+e+"/widget.json";return s(g.default,{},void 0,s(g.default.Child,{},void 0,s(I.default,{title:H.default.Messages.FORM_LABEL_SERVER_ID},void 0,s(L.default,{value:e}))),s(g.default.Child,{},void 0,s(I.default,{title:H.default.Messages.FORM_LABEL_JSON_API},void 0,s(L.default,{value:t}))))},t.prototype.renderWidget=function(){var e=this.props.guildId,t=location.protocol+"//discordapp.com/widget?id="+e+"&theme=dark",a='<iframe src="'+t+'" width="350" height="500" allowtransparency="true" frameborder="0"></iframe>';return s(g.default,{direction:g.default.Direction.VERTICAL},void 0,s(O.default,{},void 0,H.default.Messages.FORM_LABEL_PREMADE_WIDGET),s(g.default,{},void 0,s(g.default.Child,{basis:"50%"},void 0,s(I.default,{},void 0,s(L.default,{value:a}),s(y.default,{type:E.Types.DESCRIPTION},void 0,H.default.Messages.GUILD_SETTINGS_WIDGET_EMBED_HELP.format()))),s(g.default.Child,{basis:"50%"},void 0,s("img",{src:n(2995)}))))},t.prototype.render=function(){return this.props.hide?W:s(v.default,{className:"guild-settings-widget",tag:C.Tags.H2,title:H.default.Messages.GUILD_SETTINGS_TITLE_SERVER_WIDGET},void 0,this.renderToggle(),this.renderChannelSelect(),Y,this.renderAPIInfo(),K,this.renderWidget())},t.prototype.handleToggleWidget=function(e){var t=this.props,n=t.guildId,a=t.widgetChannelId,o=e.currentTarget.checked;this.setState({internalEnabled:o}),B.default.updateEmbed(n,o,a)},t.prototype.handleChannelSelect=function(e){var t=e.value,n=this.props,a=n.guildId,o=n.widgetEnabled;t===z&&(t=null),B.default.updateEmbed(a,o,t)},t}(u.default.PureComponent);t.default=p.default.connectStores([P.default,j.default],function(){var e=P.default.getProps(),t=e.guild;return{widgetChannelId:e.embedChannelId,widgetEnabled:e.embedEnabled,channels:U.default.getChannels(),guildId:t.id,hide:j.default.enabled}})(Q),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2),c=a(f),d=n(99),p=a(d),h=n(50),g=a(h),m=n(28),v=a(m),E=n(96),y=a(E),_=n(10),b=a(_),S=n(57),I=a(S),T=n(83),N=a(T),A=n(3),M=a(A),C=n(1),O=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.setMFAEnabled=a.setMFAEnabled.bind(a),a.handleEnableMFA=a.handleEnableMFA.bind(a),a.handleDisableMFA=a.handleDisableMFA.bind(a),a}return i(t,e),t.prototype.renderEnableButton=function(){var e=this.props,t=e.currentUser,n=e.guild,a=t.mfaEnabled&&n.isOwnerWithRequiredMfaLevel(t);return s(v.default,{disabled:!a,look:m.ButtonLooks.OUTLINED,color:m.ButtonColors.PRIMARY,onClick:this.handleEnableMFA},void 0,M.default.Messages.GUILD_SECURITY_REQ_MFA_GUILD_ENABLE)},t.prototype.renderDisableButton=function(){var e=this.props,t=e.currentUser,n=e.guild,a=t.mfaEnabled&&n.isOwnerWithRequiredMfaLevel(t);return s(v.default,{disabled:!a,look:m.ButtonLooks.OUTLINED,color:m.ButtonColors.RED,onClick:this.handleDisableMFA},void 0,M.default.Messages.GUILD_SECURITY_REQ_MFA_GUILD_DISABLE)},t.prototype.render=function(){var e=this.props,t=e.currentUser,n=e.mfaLevel;return s(p.default,{className:"guild-settings-security",title:M.default.Messages.GUILD_SECURITY_REQ_MFA_LABEL},void 0,s(g.default,{type:h.Types.DESCRIPTION,className:"margin-bottom-20"},void 0,M.default.Messages.GUILD_SECURITY_REQ_MFA_BODY.format()," ",t.mfaEnabled?null:M.default.Messages.GUILD_SECURITY_REQ_MFA_ENABLE.format({onClick:this.openUserAccountModal})),n===C.MFALevels.ELEVATED?this.renderDisableButton():this.renderEnableButton())},t.prototype.setMFAEnabled=function(e){var t=this.props.guild;N.default.updateMFALevel({guildId:t.id,level:e?C.MFALevels.ELEVATED:C.MFALevels.NONE,isEnabled:!e})},t.prototype.handleEnableMFA=function(){this.setMFAEnabled(!0)},t.prototype.handleDisableMFA=function(){this.setMFAEnabled(!1)},t.prototype.openUserAccountModal=function(){I.default.open(C.UserSettingsSections.ACCOUNT)},t}(u.default.PureComponent);t.default=c.default.connectStores([b.default,y.default],function(){var e=y.default.getProps(),t=e.mfaLevel,n=e.guild;return{currentUser:b.default.getCurrentUser(),mfaLevel:t,guild:n}})(O),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(1650),c=a(f),d=n(1653),p=a(d),h=n(65),g=a(h),m=n(12),v=a(m),E=n(296),y=a(E),_=n(1),b=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleCreateChannel=a.handleCreateChannel.bind(a),a}return i(t,e),t.prototype.handleCreateChannel=function(){var e=this.props.channel;y.default.open(null,e.type,e.getGuildId())},t.prototype.canManageChannels=function(){var e=this.props.channel,t=v.default.getGuild(e.getGuildId());return t&&g.default.can(_.Permissions.MANAGE_CHANNELS,t)},t.prototype.renderCreateChannel=function(){if(this.canManageChannels())return s(p.default,{onClick:this.handleCreateChannel})},t.prototype.render=function(){var e=this.props.channel;return s(c.default,{channel:e,onClick:this.canManageChannels()?this.handleCreateChannel:null},void 0,this.renderCreateChannel())},t}(u.default.PureComponent);t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(41),d=a(c),p=n(219),h=a(p),g=n(1361),m=a(g),v=n(64),E=a(v),y=n(511),_=a(y),b=n(1283),S=a(b),I=n(2078),T=a(I),N=n(1),A=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.renderPopout=a.renderPopout.bind(a),a.handleContextMenu=a.handleContextMenu.bind(a),a.handleOpen=a.handleOpen.bind(a),a.handleClose=a.handleClose.bind(a),a.state={open:!1},a}return i(t,e),t.prototype.renderPopout=function(e){return f.default.createElement(S.default,l({},e,{guild:this.props.guild}))},t.prototype.handleOpen=function(){this.setState({open:!0})},t.prototype.handleClose=function(){this.setState({open:!1})},t.prototype.handleContextMenu=function(e){var t=this.props.guild;E.default.openContextMenu(e,function(e){return f.default.createElement(_.default,l({},e,{type:N.ContextMenuTypes.GUILD_HEADER,guild:t}))})},t.prototype.render=function(){var e=this.props.guild,t=this.state.open;return s(d.default,{uniqueId:"guild-header",animationType:"spring",render:this.renderPopout,position:d.default.BOTTOM,onOpen:this.handleOpen,onClose:this.handleClose},void 0,s("div",{className:T.default.container,onContextMenu:this.handleContextMenu},void 0,s("header",{className:T.default.header},void 0,s("span",{className:T.default.name},void 0,e.toString()),s(h.default,{tutorialId:"server-settings",position:h.default.BOTTOM,offsetY:-30,offsetX:-18},void 0,s(m.default,{open:t})))))},t}(f.default.PureComponent);t.default=A,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){var n=void 0;return n=e===ue.ChannelTypes.GUILD_VOICE?m.default.Messages.VOICE_CHANNELS:m.default.Messages.TEXT_CHANNELS,new le.default({name:n,type:e,guild_id:t})}t.__esModule=!0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(7),d=a(c),p=n(2),h=a(p),g=n(3),m=a(g),v=n(15),E=a(v),y=n(742),_=a(y),b=n(1455),S=a(b),I=n(1457),T=a(I),N=n(1459),A=a(N),M=n(1454),C=a(M),O=n(1458),D=a(O),L=n(745),R=a(L),x=n(1270),w=a(x),P=n(188),k=a(P),U=n(265),G=a(U),j=n(98),F=a(j),B=n(221),V=a(B),H=n(12),z=a(H),W=n(62),Y=a(W),K=n(19),Q=a(K),Z=n(271),X=a(Z),J=n(374),q=a(J),$=n(104),ee=a($),te=n(89),ne=a(te),ae=n(65),oe=a(ae),re=n(158),ie=a(re),se=n(52),le=a(se),ue=n(1),fe=n(2079),ce=a(fe),de={TEXT_CHANNELS:0,TOGGLE_MUTED_CHANNELS:1,VOICE_CHANNELS:2},pe=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.getTextRowHeight=a.getRowHeight.bind(a,de.TEXT_CHANNELS),a.getRowHeight=a.getRowHeight.bind(a),a.renderSection=a.renderSection.bind(a),a.renderRow=a.renderRow.bind(a),a.handleListScroll=d.default.throttle(a.handleListScroll.bind(a),100),a.setListRef=a.setListRef.bind(a),a.getContainerHeight=a.getContainerHeight.bind(a),a.scrollToChannel=a.scrollToChannel.bind(a),a}return i(t,e),t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.scrollToChannel,a=t.guildId,o=t.scrollTop,r=t.channels,i=t.selectedChannelId;n?(this.scrollToChannel(n),ie.default.clearChannelListScrollTo(a)):a!==e.guildId?(o||0===o)&&this.scrollTo(o):(0===e.channels[ue.ChannelTypes.GUILD_TEXT].length&&r[ue.ChannelTypes.GUILD_TEXT].length>0||i!==e.selectedChannelId)&&this.scrollToChannel(i)},t.prototype.isMutedCollapseEnabled=function(){return this.props.totalMuted>3},t.prototype.setListRef=function(e){this._list=e},t.prototype.scrollTo=function(e){this._list.scrollTo(e)},t.prototype.scrollToChannel=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.props.channels,a=(0,d.default)([n[ue.ChannelTypes.GUILD_TEXT],n[ue.ChannelTypes.GUILD_VOICE]]).flatten().findIndex(function(t){return t.channel.id===e});a>=0&&this._list.scrollToRow(a,t)},t.prototype.handleListScroll=function(){ie.default.updateChannelListScroll(this.props.guildId,this._list.getScrollTop())},t.prototype.getContainerHeight=function(){return this._list.getContainerHeight()},t.prototype.getSectionHeight=function(e){return e===de.TOGGLE_MUTED_CHANNELS?0:48},t.prototype.getRowHeight=function(e,t){var n=this.props,a=n.collapseMuted,o=n.mutedChannels,r=n.channels,i=n.collapsedChannels,s=n.selectedChannelId,l=n.voiceStates,u=34,f=void 0;switch(e){case de.TEXT_CHANNELS:f=r[ue.ChannelTypes.GUILD_TEXT][t].channel,a&&this.isMutedCollapseEnabled()&&o.has(f.id)&&s!==f.id&&0===ne.default.getMentionCount(f.id)&&(u=0);break;case de.VOICE_CHANNELS:var c=r[ue.ChannelTypes.GUILD_VOICE][t];if(c){f=c.channel;var d=l[f.id];if(null!=d&&d.length>0){var p=28*d.length;f&&i[f.id]&&(p=Math.ceil(p/6)),u+=p+8}}}return u},t.prototype.renderSection=function(e){var t=this.props.guild;switch(e){case de.TEXT_CHANNELS:return l(C.default,{channel:s(ue.ChannelTypes.GUILD_TEXT,t.id)},"text-channels");case de.VOICE_CHANNELS:return l(C.default,{channel:s(ue.ChannelTypes.GUILD_VOICE,t.id)},"voice-channels");default:return null}},t.prototype.renderRow=function(e,t){var n=this.props,a=n.selectedChannelId,o=n.selectedVoiceChannelId,r=n.mutedChannels,i=n.channels,s=n.collapseMuted,u=n.collapsedChannels,f=n.voiceStates,c=n.totalMuted,d=void 0;switch(e){case de.TEXT_CHANNELS:d=i[ue.ChannelTypes.GUILD_TEXT][t].channel;var p=r.has(d.id),h=s&&this.isMutedCollapseEnabled(),g=a===d.id;return h&&p&&!g&&0===ne.default.getMentionCount(d.id)?null:l(T.default,{channel:d,position:t,selected:g,muted:p,collapsed:h},d.id);case de.TOGGLE_MUTED_CHANNELS:return l(D.default,{collapsed:s,total:c},de.TOGGLE_MUTED_CHANNELS);case de.VOICE_CHANNELS:var m=i[ue.ChannelTypes.GUILD_VOICE][t];return m?(d=m.channel,l(A.default,{channel:d,position:t,selected:o===d.id,collapsed:u[d.id],voiceStates:f[d.id]},d.id)):null}},t.prototype.renderGuildHeader=function(){var e=this.props.guild;return l(E.default.Child,{wrap:!0,grow:0,shrink:0},"guild-header",l(S.default,{guild:e}))},t.prototype.renderNotice=function(){var e=this.props,t=e.scrollTop,n=e.guildId,a=e.guild;return l("div",{style:{position:"relative"}},void 0,l(w.default,{guild:a}),l(R.default,{type:L.NewMessageIndicatorTypes.CHANNEL,onClick:this.scrollToChannel,initialHeight:50,getRowHeight:this.getTextRowHeight,guildId:n,getContainerHeight:this.getContainerHeight,scrollTop:t}))},t.prototype.renderList=function(){var e=this.props,t=e.channels,n=e.guild,a=t[ue.ChannelTypes.GUILD_VOICE].length;return n&&0===a&&oe.default.can(ue.Permissions.MANAGE_CHANNELS,n)&&(a=1),f.default.createElement(_.default,{key:"guild-channels",ref:this.setListRef,theme:_.default.Themes.GHOST_HAIRLINE,backgroundColor:ue.Colors.PRIMARY_630,className:ce.default.scroller,fade:!0,sectionHeight:this.getSectionHeight,rowHeight:this.getRowHeight,renderSection:this.renderSection,renderRow:this.renderRow,onScroll:this.handleListScroll,sections:[t[ue.ChannelTypes.GUILD_TEXT].length,this.isMutedCollapseEnabled()?1:0,a],uniform:!1})},t.prototype.renderBottomUnread=function(){var e=this.props,t=e.scrollTop,n=e.guildId;return l(R.default,{bottom:!0,type:L.NewMessageIndicatorTypes.CHANNEL,onClick:this.scrollToChannel,initialHeight:50,getRowHeight:this.getTextRowHeight,guildId:n,getContainerHeight:this.getContainerHeight,scrollTop:t})},t.prototype.render=function(){var e=this.props.guild;return l(E.default,{className:ce.default.container,direction:E.default.Direction.VERTICAL,align:E.default.Align.STRETCH},void 0,null!=e&&this.renderGuildHeader(),null!=e&&this.renderNotice(),this.renderList(),null!=e&&this.renderBottomUnread())},t}(f.default.PureComponent);t.default=h.default.connectStores([oe.default,k.default,G.default,F.default,V.default,z.default,Y.default,Q.default,X.default,ee.default,q.default],function(e){var t=e.guildId,n=z.default.getGuild(t),a=F.default.getChannels(t),o=ee.default.getMutedChannels(t),r=a[ue.ChannelTypes.GUILD_TEXT].reduce(function(e,t){var n=t.channel;return o.has(n.id)?e+1:e},0),i=X.default.getVoiceStates(t),s=q.default.getCollapsed(),l=q.default.isMutedCollapsed(),u=V.default.getMentionCounts()[t],f=G.default.getGuildDimensions(t),c=f.scrollTo,d=f.scrollTop;return{guild:n,channels:a,mutedChannels:o,totalMuted:r,scrollToChannel:c,selectedChannelId:k.default.getChannelId(t),selectedVoiceChannelId:Y.default.isDisabled()?null:Q.default.getVoiceChannelId(t),voiceStates:i,collapsedChannels:s,collapseMuted:l,scrollTop:d,mentionCount:u,permissionVersion:oe.default.getGuildVersion(t)}})(pe),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){P.default.transitionTo(k.Routes.CHANNEL(t.getGuildId(),t.id))}function l(e,t){x.default.prefetchMessages(t.getGuildId(),t.id)}t.__esModule=!0;var u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=n(0),d=a(c),p=n(2),h=a(p),g=n(1620),m=a(g),v=n(763),E=a(v),y=n(831),_=a(y),b=n(64),S=a(b),I=n(363),T=a(I),N=n(514),A=n(12),M=a(A),C=n(89),O=a(C),D=n(65),L=a(D),R=n(54),x=a(R),w=n(42),P=a(w),k=n(1),U=n(602),G=a(U),j=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleContextMenu=a.handleContextMenu.bind(a),a}return i(t,e),t.prototype.handleContextMenu=function(e){var t=this.props,n=t.channel,a=t.selected,o=t.unread,r=t.mentionCount,i=M.default.getGuild(n.getGuildId());S.default.openContextMenu(e,function(e){return d.default.createElement(T.default,f({},e,{type:k.ContextMenuTypes.CHANNEL_LIST_TEXT,guild:i,channel:n,selected:a,hasUnread:o,mentionCount:r}))})},t.prototype.renderMentionBadge=function(){var e=this.props.mentionCount;if(null!=e&&e>0)return u("div",{className:G.default.iconSpacing},void 0,u(m.default,{value:e}))},t.prototype.render=function(){var e=this.props,t=e.channel,n=e.selected,a=e.muted,o=e.unread,r=e.connectChannelDropTarget,i=e.connectChannelDragSource,f=e.connectDragPreview,c=e.sorting,d=e.position,p=e.sortingPosition,h=void 0;h=c&&null!=d&&null!=p?d>p?G.default.containerDragAfter:G.default.containerDragBefore:G.default.containerDefault;var g=u("div",{className:h},void 0,u(_.default,{channel:t,selected:n,muted:a,unread:o,onClick:s,onMouseDown:l,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onContextMenu:this.handleContextMenu,connectDragPreview:f},void 0,this.renderInviteButton(),this.renderEditButton(),this.renderMentionBadge()));return null!=r&&null!=i?r(i(g)):g},t}(E.default);t.default=h.default.connectStores([L.default,O.default],function(e){var t=e.channel;return{permissions:L.default.getChannelPermissions(t.id),unread:O.default.hasUnread(t.id),mentionCount:O.default.getMentionCount(t.id)}})((0,N.makeChannelSortable)(k.ChannelTypes.GUILD_TEXT,j)),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(3),c=a(f),d=n(484),p=a(d),h=n(2080),g=a(h),m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.handleToggle=function(){p.default.updateMuted()},t.prototype.render=function(){var e=this.props,t=e.collapsed,n=e.total;return s("div",{className:g.default.container,onClick:this.handleToggle},void 0,s("span",{className:t?g.default.iconCollapsed:g.default.iconDefault}),(t?c.default.Messages.SHOW_MUTED:c.default.Messages.HIDE_MUTED).format({n:n}))},t}(u.default.PureComponent);t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(2),d=a(c),p=n(831),h=a(p),g=n(763),m=a(g),v=n(1651),E=a(v),y=n(1461),_=a(y),b=n(64),S=a(b),I=n(363),T=a(I),N=n(514),A=n(59),M=a(A),C=n(12),O=a(C),D=n(65),L=a(D),R=n(316),x=n(1),w=n(602),P=a(w),k=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleVoiceConnect=a.handleVoiceConnect.bind(a),a.handleContextMenu=a.handleContextMenu.bind(a),a}return i(t,e),t.prototype.handleVoiceConnect=function(){var e=this.props,t=e.locked,n=e.channel,a=O.default.getGuild(n.getGuildId());t||this.isFull()||!a||M.default.selectVoiceChannel(a.id,n.id)},t.prototype.handleContextMenu=function(e){var t=this.props.channel,n=O.default.getGuild(t.getGuildId());S.default.openContextMenu(e,function(e){return f.default.createElement(T.default,l({},e,{type:x.ContextMenuTypes.CHANNEL_LIST_VOICE,channel:t,guild:n}))})},t.prototype.getVoiceStatesCount=function(){var e=this.props.voiceStates;return null!=e?e.length:0},t.prototype.isFull=function(){var e=this.props,t=e.channel;return!e.bypassLimit&&(0,R.isChannelFull)(t,this.getVoiceStatesCount())},t.prototype.getModeClass=function(){var e=this.props,t=e.sorting,n=e.position,a=e.sortingPosition;return e.isUserOver?P.default.containerUserOver:t&&null!=a?n>a?P.default.containerDragAfter:P.default.containerDragBefore:P.default.containerDefault},t.prototype.renderUserLimit=function(){var e=this.props,t=e.channel,n=e.locked,a=this.state.hovered;return a&&L.default.can(x.Permissions.MANAGE_CHANNELS,t)||a&&!n&&L.default.can(x.Permissions.CREATE_INSTANT_INVITE,t)?null:t.userLimit>0&&!n?s("div",{style:{marginLeft:-2}},void 0,s(E.default,{users:this.getVoiceStatesCount(),total:t.userLimit})):void 0},t.prototype.renderVoiceUsers=function(){var e=this.props,t=e.channel,n=e.voiceStates,a=e.collapsed;return s(_.default,{channel:t,voiceStates:n,collapsed:a})},t.prototype.render=function(){var e=this.props,t=e.channel,n=e.selected,a=e.locked,o=e.connectChannelDropTarget,r=e.connectChannelDragSource,i=e.connectUserDropTarget,l=e.connectDragPreview,u=this.state.hovered;return o(r(i(s("div",{className:this.getModeClass()},void 0,s(h.default,{channel:t,selected:n,locked:a,onClick:this.handleVoiceConnect,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onContextMenu:this.handleContextMenu,connectDragPreview:l},void 0,u&&this.renderInviteButton(),u&&this.renderEditButton(),this.renderUserLimit()),this.renderVoiceUsers()))))},t}(m.default);t.default=d.default.connectStores([L.default],function(e){var t=e.channel;return{locked:!L.default.can(x.Permissions.CONNECT,t),bypassLimit:L.default.can(x.Permissions.MOVE_MEMBERS,t)}})((0,N.makeChannelSortable)(x.ChannelTypes.GUILD_VOICE,(0,N.makeVoiceUserDroppable)(k))),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.List=void 0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(514),d=n(1652),p=a(d),h=n(2081),g=a(h),m=(t.List=p.default.List,function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.connectUserDragSource,n=e.canDrag,a=o(e,["connectUserDragSource","canDrag"]);return n?t(l("div",{className:g.default.draggable},void 0,f.default.createElement(p.default,a))):l("div",{className:g.default.draggable},void 0,f.default.createElement(p.default,a))},t}(f.default.PureComponent));t.default=(0,c.makeVoiceUserDraggable)(m)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(2),d=a(c),p=n(1460),h=a(p),g=n(64),m=a(g),v=n(95),E=a(v),y=n(216),_=a(y),b=n(17),S=a(b),I=n(19),T=a(I),N=n(27),A=a(N),M=n(190),C=a(M),O=n(65),D=a(O),L=n(41),R=a(L),x=n(1),w=d.default.connectStores([C.default,T.default,A.default,S.default],function(e){var t=e.mute,n=e.deaf,a=e.user.id,o=e.channel,r=!1,i=!1;S.default.getId()===a?(r=!A.default.isEnabled()||A.default.isSelfMute(),i=A.default.isSelfDeaf()):r=A.default.isLocalMute(a),A.default.isSupported()||(r=!0);var s=!r&&o.id===T.default.getVoiceChannelId();return{mute:t||r,deaf:n||i,speaking:s&&C.default.isSpeaking(a)}})(h.default),P=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleUserClick=a.handleUserClick.bind(a),a.handleUserContextMenu=a.handleUserContextMenu.bind(a),a}return i(t,e),t.prototype.handleUserClick=function(e,t,n){var a=this.refs[t.id];null!=a&&(0,L.openPopout)(a,{closeOnScroll:!1,position:R.default.RIGHT,render:function(e){var a=e.props;return f.default.createElement(_.default,l({},a,{user:t,guildId:n.getGuildId(),channelId:n.id}))}})},t.prototype.handleUserContextMenu=function(e,t,n){m.default.openContextMenu(e,function(e){return f.default.createElement(E.default,l({},e,{type:x.ContextMenuTypes.USER_CHANNEL_VOICE,user:t,guildId:n.getGuildId(),channelId:n.id}))})},t.prototype.renderVoiceUsers=function(){var e=this,t=this.props,n=t.channel,a=t.voiceStates,o=t.collapsed;return null==a||0===a.length?null:a.map(function(t){var a=t.user,r=t.nick,i=t.voiceState;return f.default.createElement(w,{ref:a.id,key:a.id,user:a,nick:r,mute:i.mute||i.selfMute||i.suppress,deaf:i.deaf||i.selfDeaf,channel:n,collapsed:o,onClick:o?null:e.handleUserClick,onContextMenu:e.handleUserContextMenu,canDrag:D.default.can(x.Permissions.MOVE_MEMBERS,n)})})},t.prototype.render=function(){var e=this.renderVoiceUsers();if(null==e)return null;var t=this.props.collapsed;return s(p.List,{collapsed:t},void 0,e)},t}(f.default.PureComponent);t.default=P,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(3),l=n(24),u=a(l),f=n(58),c=a(f),d=n(5),p=a(d),h=n(185),g=a(h),m=n(184),v=n(29),E=a(v),y=n(67),_=a(y),b=n(513),S=a(b);n(2222);var I={get platform(){switch((c.default.os.family||"").replace(" ","").toLowerCase()){case"osx":return"osx";default:return"win"}},get PLATFORM(){switch(I.platform){case"osx":return"OSX";case"linux":return"LINUX";default:return"WINDOWS"}},get downloadURL(){return"https://discordapp.com/api/download?platform="+I.platform}},T=i.default.createClass({displayName:"AppDownloads",mixins:[m.SlideAnimationMixin],render:function(){var e=this.state.animating,t=s.Messages.ONBOARDING_APP_DOWNLOADS_DESKTOP_TITLE.format({platform:s.Messages["PLATFORM_"+I.PLATFORM]}),n=s.Messages["ONBOARDING_APP_DOWNLOADS_DESKTOP_VERSION_"+I.PLATFORM],a=s.Messages.ONBOARDING_APP_DOWNLOADS_DESKTOP_BUTTON,r="WINDOWS"!==I.PLATFORM?s.Messages.ONBOARDING_APP_DOWNLOADS_DESKTOP_FEATURE_2:s.Messages.ONBOARDING_APP_DOWNLOADS_DESKTOP_FEATURE_2_WINDOWS;return i.default.createElement(u.default.div,{ref:m.SLIDE_ANIMATION_CONTAINER_REF,className:(0,p.default)("onboarding-slide","app-downloads",{animating:e}),style:this.getContainerStyle()},i.default.createElement(_.default,{ref:"scroller",theme:"dark"},i.default.createElement("div",{ref:"computed",className:"measuring-container"},o(u.default.div,{style:this.getChildStyle()},void 0,o(g.default,{titleCopy:s.Messages.ONBOARDING_APP_DOWNLOADS_TITLE,titleBlurbCopy:s.Messages.ONBOARDING_APP_DOWNLOADS_BLURB})),o("div",{className:"content bordered"},void 0,o("div",{className:(0,p.default)("desktop-app-title","app-"+I.platform)},void 0,o("div",{className:"title-h2"},void 0,t),o("div",{className:"base-copy"},void 0,n)),o("ul",{className:"desktop-app-features"},void 0,o("li",{},void 0,s.Messages.ONBOARDING_APP_DOWNLOADS_DESKTOP_FEATURE_1),o("li",{},void 0,r),o("li",{},void 0,s.Messages.ONBOARDING_APP_DOWNLOADS_DESKTOP_FEATURE_3),o("li",{},void 0,s.Messages.ONBOARDING_APP_DOWNLOADS_DESKTOP_FEATURE_4)),o("div",{},void 0,o("a",{className:"button filled full-width",href:I.downloadURL,target:"_blank",onClick:this.downloadAnalytics},void 0,a))),o(S.default,{onNext:this.props.onNext,onSkip:this.props.onSkip,nextStepMessage:this.props.nextStepMessage,disableSkip:this.props.disableSkip},"step-navigator"))))},downloadAnalytics:function(){E.default.track("nuo_native_app_download",{platform:I.platform})}});t.default=T,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(3),f=n(10),c=a(f),d=n(380),p=a(d),h=n(255),g=a(h),m=n(512),v=a(m),E=n(48),y=a(E),_=n(24),b=a(_),S=n(185),I=a(S),T=n(184);n(2223);var N=i.default.createClass({displayName:"AvatarUpload",mixins:[l.default.StoreListenerMixin(p.default,c.default),T.SlideAnimationMixin],render:function(){var e=this.state,t=e.id,n=e.username,a=e.avatar,r=e.discriminator;return i.default.createElement(b.default.div,{ref:T.SLIDE_ANIMATION_CONTAINER_REF,className:"onboarding-slide avatar-upload",style:this.getContainerStyle()},i.default.createElement("div",{ref:"computed",className:"measuring-container"},o(b.default.div,{style:this.getChildStyle()},void 0,o(I.default,{titleCopy:u.Messages.ONBOARDING_AVATAR_UPLOAD_TITLE.format({username:n}),titleBlurbCopy:u.Messages.ONBOARDING_AVATAR_UPLOAD_BLURB})),o("div",{className:"content bordered"},void 0,o(v.default,{avatar:a,titleText:u.Messages.ONBOARDING_AVATAR_UPLOAD_SET_AVATAR,blurbText:u.Messages.ONBOARDING_AVATAR_UPLOAD_SET_AVATAR_BLURB,buttonText:u.Messages.ONBOARDING_AVATAR_UPLOAD_UPLOAD_A_PHOTO,makeURL:function(){return y.default.getUserAvatarURL({id:t,avatar:a,discriminator:r})},onChange:this.handleFileChange,disabled:this.state.accountSubmitting}))))},handleFileChange:function(e){g.default.updateAvatar(e)},getStateFromStores:function(){return p.default.getState()}});t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return r(e,t)?s("span",{className:"error"},void 0,t[e][0]):null}function r(e,t){return!!t&&!!t[e]}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2),c=a(f),d=n(3),p=n(24),h=a(p),g=n(5),m=a(g),v=n(67),E=a(v),y=n(380),_=a(y),b=n(255),S=a(b),I=n(513),T=a(I),N=n(512),A=a(N),M=n(48),C=a(M),O=n(185),D=a(O),L=n(184),R=n(72),x=a(R);n(2224);var w=u.default.createClass({displayName:"ClaimForm",render:function(){var e=this.props,t=e.password,n=e.email,a=_.default.getErrors();return s(h.default.form,{onSubmit:this.onSubmit,className:"content claim-form"},void 0,s("div",{},void 0,s("label",{className:(0,m.default)("title-h5",{"has-error":r("email",a)})},void 0,d.Messages.ONBOARDING_EMAIL_FIELD,o("email",a)),u.default.createElement("input",{ref:"email",type:"text",value:n||"",autoFocus:!0,onChange:this.handleFormChange})),s("div",{className:"label-password"},void 0,s("label",{className:(0,m.default)("title-h5",{"has-error":r("password",a)})},void 0,d.Messages.ONBOARDING_ENTER_PASSWORD,o("password",a)),u.default.createElement("input",{ref:"password",type:"password",value:t||"",onChange:this.handleFormChange})),s("input",{type:"submit",style:{position:"absolute",visibility:"hidden",top:0,left:0},onClick:this.onSubmit}))},onSubmit:function(e){e.preventDefault(),this.props.onSubmit()},handleFormChange:function(){this.props.onFormChange({email:this.refs.email.value,password:this.refs.password.value})}}),P=u.default.createClass({displayName:"ClaimAccount",mixins:[c.default.StoreListenerMixin(_.default),L.SlideAnimationMixin,x.default],render:function(){var e=this.state,t=e.id,n=e.username,a=e.avatar,o=e.discriminator,r=e.email,i=e.password,l=e.accountSubmitting,f=e.animating,c=e.isClaimed;return u.default.createElement(h.default.div,{ref:L.SLIDE_ANIMATION_CONTAINER_REF,className:(0,m.default)("onboarding-slide","claim-account",{animating:f}),style:this.getContainerStyle()},u.default.createElement(E.default,{ref:"scroller",theme:"dark"},u.default.createElement("div",{ref:"computed",className:"measuring-container"},s(h.default.div,{style:this.getChildStyle()},void 0,s(D.default,{titleCopy:d.Messages.ONBOARDING_CLAIM_ACCOUNT_TITLE.format({username:n}),titleBlurbCopy:d.Messages.ONBOARDING_CLAIM_ACCOUNT_BLURB})),s(h.default.div,{className:"content bordered",style:this.getChildStyle(2,3)},void 0,s(A.default,{avatar:a,titleText:d.Messages.ONBOARDING_AVATAR_UPLOAD_SET_AVATAR,blurbText:d.Messages.ONBOARDING_AVATAR_UPLOAD_SET_AVATAR_BLURB,buttonText:d.Messages.ONBOARDING_AVATAR_UPLOAD_UPLOAD_A_PHOTO,makeURL:function(){return C.default.getUserAvatarURL({id:t,avatar:a,discriminator:o})},onChange:this.handleFileChange,disabled:this.state.accountSubmitting})),s("div",{className:"bordered"},void 0,s(w,{onSubmit:this.claimAccount,onFormChange:this.handleAccountChange,email:r,password:i,submitting:l||c},"claim-form")),s(T.default,{onNext:this.claimAccount,onSkip:this.props.onSkip,nextStepMessage:d.Messages.ONBOARDING_CLAIM_ACCOUNT,disableAdvance:l||c,submitting:l||c},"step-navigator"))))},claimAccount:function(){var e=this;this.state.accountSubmitting||this.state.isClaimed||S.default.claimAccount(_.default.getClaimUser()).then(function(){return e.handleAutoAdvance()})},handleFileChange:function(e){S.default.updateAvatar(e)},handleAutoAdvance:function(){this.setImmediate(S.default.advanceStep)},handleAccountChange:function(e){S.default.updateAccount(e)},getStateFromStores:function(){return i({},_.default.getState())}});t.default=P,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(3),l=n(185),u=a(l),f=n(184),c=n(24),d=a(c);n(2225);var p=i.default.createClass({displayName:"GrantMicAccess",mixins:[f.SlideAnimationMixin],render:function(){return i.default.createElement(d.default.div,{ref:f.SLIDE_ANIMATION_CONTAINER_REF,className:"onboarding-slide grant-mic-access",style:this.getContainerStyle()},i.default.createElement("div",{ref:"computed",className:"measuring-container"},o(d.default.div,{style:this.getChildStyle()},void 0,o(u.default,{titleCopy:s.Messages.ONBOARDING_MIC_ACCESS_TITLE,titleBlurbCopy:s.Messages.ONBOARDING_MIC_ACCESS_BLURB})),o("div",{className:"content bordered"},void 0,o("div",{className:"title-h5"},void 0,s.Messages.ONBOARDING_MIC_ACCESS_SUBTITLE),o("img",{src:n(3054),width:400,height:228}))))}});t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(3),f=n(525),c=a(f),d=n(255),p=a(d),h=n(185),g=a(h),m=n(184),v=n(24),E=a(v),y=n(512),_=a(y),b=n(48),S=a(b),I=n(303),T=a(I);n(2226);var N=i.default.createClass({displayName:"GuildSettings",mixins:[l.default.StoreListenerMixin(c.default),m.SlideAnimationMixin],render:function(){var e=this;return i.default.createElement(E.default.div,{ref:m.SLIDE_ANIMATION_CONTAINER_REF,className:"onboarding-slide guild-settings",style:this.getContainerStyle()},i.default.createElement("div",{ref:"computed",className:"measuring-container"},o(E.default.div,{style:this.getChildStyle()},void 0,o(g.default,{titleCopy:u.Messages.ONBOARDING_GUILD_SETTINGS_TITLE,titleBlurbCopy:u.Messages.ONBOARDING_GUILD_SETTINGS_BLURB})),o(E.default.div,{className:"content bordered",style:this.getChildStyle(2,3)},void 0,o("div",{},void 0,o("label",{className:"title-h5"},void 0,u.Messages.ONBOARDING_GUILD_SETTINGS_SERVER_SUBTITLE),i.default.createElement("input",{type:"text",ref:"serverName",defaultValue:this.state.guild.name,onChange:this.handleNameChange,autoFocus:!0})),o("div",{},void 0,o("label",{className:"title-h5"},void 0,u.Messages.ONBOARDING_GUILD_SETTINGS_SERVER_REGION),o(T.default,{id:"guild-region-onboarding",value:this.state.guild.region,onChange:this.handleRegionChange,changeRegionButtonText:u.Messages.ONBOARDING_GUILD_SETTINGS_SERVER_CHANGE_REGION}))),o(E.default.div,{className:"content bordered"},void 0,o(_.default,{titleText:u.Messages.ONBOARDING_GUILD_SETTINGS_UPLOAD_SUBTITLE,blurbText:u.Messages.ONBOARDING_GUILD_SETTINGS_UPLOAD_BLURB,buttonText:u.Messages.ONBOARDING_GUILD_SETTINGS_UPLOAD_BUTTON,makeURL:function(t){return t&&S.default.getGuildIconURL({id:e.state.guild.id,icon:t})},avatar:this.state.guild.icon,onChange:this.handleUploaderChange,hint:u.Messages.CHANGE_ICON}))))},createGuild:function(){p.default.createGuild(this.state.guild.name,this.state.guild.region,this.state.guild.icon)},handleNameChange:function(e){p.default.updateTemporaryGuild({name:e.currentTarget.value})},handleRegionChange:function(e){p.default.updateTemporaryGuild(e)},handleUploaderChange:function(e){p.default.updateTemporaryGuild({icon:e})},getStateFromStores:function(){return c.default.getProps()}});t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(3),l=n(513),u=a(l),f=n(67),c=a(f),d=n(5),p=a(d),h=n(6),g=a(h),m=n(185),v=a(m),E=n(24),y=a(E),_=n(184);n(2227);var b=i.default.createClass({displayName:"Marketing",mixins:[_.SlideAnimationMixin,g.default],render:function(){for(var e=this.state.animating,t=[],a=1;a<=7;a++)t.push(o("img",{className:"avatar avatar-"+a,src:n(1225)("./avatar-0"+a+".svg")},"avatar-"+a));return i.default.createElement(y.default.div,{ref:_.SLIDE_ANIMATION_CONTAINER_REF,className:(0,p.default)("onboarding-slide","marketing",{animating:e}),style:this.getContainerStyle()},i.default.createElement(c.default,{ref:"scroller",theme:"dark"},i.default.createElement("div",{ref:"computed",className:"measuring-container"},o(y.default.div,{style:this.getChildStyle()},void 0,o(v.default,{titleCopy:s.Messages.ONBOARDING_GET_READY_TO_DITCH,titleBlurbCopy:s.Messages.ONBOARDING_START_BLURB})),o("div",{className:"images"},void 0,o("img",{className:"shapes",src:n(3055)}),t.slice(1),o("img",{className:"devices",src:n(3053)}),t[0]),o(u.default,{onNext:this.props.onNext,onSkip:this.props.onSkip,nextStepMessage:this.props.nextStepMessage,disableSkip:this.props.disableSkip},"step-navigator"))))}});t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o,r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(2),u=a(l),f=n(3),c=n(1),d=n(5),p=a(d),h=n(72),g=a(h),m=n(255),v=a(m),E=n(804),y=a(E),_=n(185),b=a(_),S=n(184),I=n(24),T=a(I),N=n(292),A=a(N),M=n(1469),C=a(M);n(2228);var O=(o={},o[c.NEW_USER_ONBOARDING_MIC_MODES.WAITING]=f.Messages.ONBOARDING_MIC_TEST_BUTTON_TEST_MIC,o[c.NEW_USER_ONBOARDING_MIC_MODES.LOADING]=f.Messages.ONBOARDING_MIC_TEST_BUTTON_LISTENING,o[c.NEW_USER_ONBOARDING_MIC_MODES.LISTENING]=f.Messages.ONBOARDING_MIC_TEST_BUTTON_LISTENING,o[c.NEW_USER_ONBOARDING_MIC_MODES.ERROR]=f.Messages.ONBOARDING_MIC_TEST_BUTTON_LISTENING_DELAY,o[c.NEW_USER_ONBOARDING_MIC_MODES.SUCCESS]=f.Messages.ONBOARDING_MIC_TEST_BUTTON_SUCCESS,o),D=s.default.createClass({displayName:"MicTest",mixins:[u.default.StoreListenerMixin(y.default),S.SlideAnimationMixin,g.default],componentWillUnmount:function(){v.default.micTestStop()},onClick:function(){this.state.mode===c.NEW_USER_ONBOARDING_MIC_MODES.WAITING&&v.default.micTestStart()},afterSuccess:function(){var e=this;this._timer=this.setTimeout(function(){e.state.animating||v.default.advanceStep()},2e3)},render:function(){var e=this.state.hadError;return s.default.createElement(T.default.div,{ref:S.SLIDE_ANIMATION_CONTAINER_REF,className:"onboarding-slide mic-test",style:this.getContainerStyle()},s.default.createElement("div",{ref:"computed",className:"measuring-container"},r(T.default.div,{style:this.getChildStyle()},void 0,r(b.default,{titleCopy:f.Messages.ONBOARDING_MIC_TEST_TITLE,titleBlurbCopy:f.Messages.ONBOARDING_MIC_TEST_BLURB})),r("div",{className:(0,p.default)("content","filled",this.state.mode.toLowerCase(),{hasError:e})},void 0,s.default.createElement(C.default,{onSuccess:this.onSuccess,afterSuccess:this.afterSuccess,mode:this.state.mode,ref:"animation"}),r("div",{className:"support-items"},void 0,r("button",{className:"button",onClick:this.onClick},"mic-test-button-message",O[this.state.mode]),r(A.default,{name:"mic-options",searchable:!1,clearable:!1,value:this.state.selectedDevice,options:this.state.inputDevices,onChange:this.onInputSelect,className:"mic-input-dropdown"},"mic-test-input-select")))))},onInputSelect:function(e){v.default.selectMicInput(e)},getStateFromStores:function(){return y.default.getState()}});t.default=D,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.interpolate({inputRange:[0,1],outputRange:["0px","1px"]})}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=n(0),l=a(s),u=n(2),f=a(u),c=n(24),d=a(c),p=n(1),h=n(804),g=a(h),m=n(72),v=a(m),E=96,y={SIZE:20,SPACE_BETWEEN:20,SCALE:.3,MIC_POSITIONS:[{X:30,Y:41},{X:78,Y:30},{X:60,Y:71},{X:54,Y:83}],SUCCESS_POSITIONS:[{X:40,Y:41},{X:62,Y:83},{X:83,Y:24},{X:62,Y:-7}],POSITION_LOADING_Y:60,POSITION_LISTENING_Y:38,POSITION_LOADING_JUMP:16,HEIGHT_LISTENING_MIN:20,HEIGHT_LISTENING_MAX:E},_=[111,260,13,13],b=[44,260,145,145],S={TO_DOTS:400,MOVE_DOT:250,LOADING_JUMP:500,LOADING_FALL:450,LISTENING_MAX:250,LISTENING_MIN:150,SUCCESS_RESIZE:200,SUCCESS_MOVE:400,SUCCESS_DRAW:400},I={MIN:-100,MAX:0,MAX_CALCULATED:Math.log(100)},T=d.default.createAnimatedComponent("path"),N=function(e){var t=e.pathStyles;return i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"66",height:"96",className:e.className},void 0,i("g",{fill:"none",fillRule:"evenodd",stroke:"#FFF",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round"},void 0,i(T,{style:t[0],d:"M3.1114167 51S.0000018 81 33.0000007 81s29.8885825-30 29.8885825-30"}),i(T,{style:t[1],d:"M51.0334303 39l.0668606 12c.0554013 9.9433113-7.957466 18-17.897213\n 18H33c-9.8966172 0-17.9650829-8.0588745-17.977506-18L15 33h.0671462l-.0668606-12c-.0554014-9.9433113\n 7.957466-18 17.897213-18h.2030779c9.8966171 0 17.9650829 8.0588745 17.977506 18l.022494 18h-.0671462z"}),i(T,{style:t[2],d:"M27 93h12"}),i(T,{style:t[3],d:"M33 81v12"})))},A=function(e){var t=e.pathStyles;return i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"96",height:"96",className:e.className},void 0,i("g",{fill:"none",fillRule:"evenodd"},void 0,i(T,{style:t[0],stroke:"#FFF",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round",d:"M25.9615794,50.9615794 L38.9946583,63.9946583"}),i(T,{style:t[1],stroke:"#FFF",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round",transform:"matrix(-1 0 0 1 109 0)",d:"M39.9805765,33.9805765 L69.9946583,63.9946583"}),i(T,{style:t[2],stroke:"#FFF",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round",d:"M48,3 C48,3 92,5.78542916e-08 93,48 C92,95.9999967 48,93 48,93"}),i(T,{style:t[3],stroke:"#FFF",strokeWidth:"6",strokeLinecap:"round",strokeLinejoin:"round",transform:"matrix(-1 0 0 1 51 0)",d:"M3,3.03703704 C3,3.03703704 47,0.037037093 48,48.037037 C47,96.0370338 3,93.037037 3,93.037037"})))},M=null,C=l.default.createClass({displayName:"MicTestAnimation",mixins:[f.default.StoreListenerMixin(g.default),v.default],getDefaultProps:function(){return{endDelay:1e3,onSuccess:function(){},afterSuccess:function(){}}},getInitialState:function(){for(var e=[],t=[],n=[],a=0;a<y.MIC_POSITIONS.length;a++)e.push({x:new d.default.Value(y.MIC_POSITIONS[a].X),y:new d.default.Value(y.MIC_POSITIONS[a].Y),scale:new d.default.Value(y.SCALE),height:new d.default.Value(y.SIZE)});for(var o=0;o<_.length;o++)t.push({strokeDashoffset:new d.default.Value(0),strokeDasharray:_[o]});for(var r=0;r<b.length;r++)n.push({strokeDashoffset:new d.default.Value(b[r]+1),strokeDasharray:b[r]});return{dots:e,micPaths:t,checkPaths:n}},componentDidMount:function(){this.resetAnimation()},micToDotsAnimation:function(){var e=this;this.resetAnimation();var t=function(t){return d.default.timing(e.state.micPaths[t].strokeDashoffset,{toValue:_[t]+1,duration:S.TO_DOTS})};d.default.parallel(this.state.micPaths.map(function(e,n){return t(n)})).start(function(){e.moveDotAnimation(y.POSITION_LOADING_Y,e.loadingAnimation)})},moveDotAnimation:function(e,t){var n=this,a=function(t){return d.default.parallel([d.default.timing(n.state.dots[t].x,{toValue:(y.SPACE_BETWEEN+y.SIZE)*t,duration:S.MOVE_DOT}),d.default.timing(n.state.dots[t].y,{toValue:e,duration:S.MOVE_DOT}),d.default.timing(n.state.dots[t].scale,{toValue:1,duration:S.MOVE_DOT})])};d.default.parallel(this.state.dots.map(function(e,t){return a(t)})).start(t)},loadingAnimation:function(){var e=this,t=function(t){return d.default.sequence([d.default.timing(e.state.dots[t].y,{toValue:y.POSITION_LOADING_JUMP,duration:S.LOADING_JUMP,delay:S.LOADING_JUMP/e.state.dots.length*t}),d.default.timing(e.state.dots[t].y,{toValue:y.POSITION_LOADING_Y,duration:S.LOADING_FALL})])};!function n(){d.default.parallel(e.state.dots.map(function(e,n){return t(n)})).start(function(){M?(M(),M=null):n()})}()},listeningAnimation:function(){var e=this,t=function(t){var n=(I.MIN-e.state.volume)*-1,a=Math.log(n);(a==1/0||a==-(1/0)||a<=0||isNaN(a))&&(a=.01);var o=a/I.MAX_CALCULATED,r=o*E;r<y.SIZE+10&&(r=y.SIZE);var i=Math.random()*(r-y.HEIGHT_LISTENING_MIN)+y.HEIGHT_LISTENING_MIN,s=y.POSITION_LISTENING_Y-(i-y.SIZE)/2,l=Math.random()*(S.LISTENING_MAX-S.LISTENING_MIN)+S.LISTENING_MIN;return d.default.parallel([d.default.timing(e.state.dots[t].height,{toValue:i,duration:l}),d.default.timing(e.state.dots[t].y,{toValue:s,duration:l})])};this.moveDotAnimation(y.POSITION_LISTENING_Y,function(){for(var n=0,a=function(a){!function o(){t(a).start(function(){M?(n++,n==e.state.dots.length&&(M(),M=null)):o()})}()},o=0;o<e.state.dots.length;o++)a(o)})},successAnimation:function(){var e=this,t=function(){for(var t=[],n=0;n<e.state.dots.length;n++)t.push(d.default.timing(e.state.dots[n].height,{toValue:y.SIZE,duration:200}),d.default.timing(e.state.dots[n].scale,{toValue:y.SCALE,duration:200}));return d.default.parallel(t)},n=function(){for(var t=[],n=0;n<y.SUCCESS_POSITIONS.length;n++)t.push(d.default.timing(e.state.dots[n].x,{toValue:y.SUCCESS_POSITIONS[n].X,duration:S.SUCCESS_MOVE}),d.default.timing(e.state.dots[n].y,{toValue:y.SUCCESS_POSITIONS[n].Y,duration:S.SUCCESS_MOVE}));return d.default.parallel(t)},a=function(){for(var t=[],n=0;n<b.length;n++)t.push(d.default.timing(e.state.checkPaths[n].strokeDashoffset,{toValue:0,duration:S.SUCCESS_DRAW}));return d.default.parallel(t)};d.default.sequence([t(),n()]).start(function(){e.props.onSuccess(),a().start(function(){e.setTimeout(e.props.afterSuccess,e.props.endDelay)})})},resetAnimation:function(){for(var e=0;e<this.state.dots.length;e++)this.state.dots[e].x.setValue(y.MIC_POSITIONS[e].X),this.state.dots[e].y.setValue(y.MIC_POSITIONS[e].Y),this.state.dots[e].scale.setValue(y.SCALE),this.state.dots[e].height.setValue(y.SIZE);for(var t=0;t<this.state.micPaths.length;t++)this.state.micPaths[t].strokeDashoffset.setValue(0);for(var n=0;n<this.state.checkPaths.length;n++){var a=2==n?-1:1;this.state.checkPaths[n].strokeDashoffset.setValue(b[n]*a+1)}},componentWillReceiveProps:function(e){if(e.mode!=this.props.mode)switch(e.mode){case p.NEW_USER_ONBOARDING_MIC_MODES.WAITING:this.resetAnimation();break;case p.NEW_USER_ONBOARDING_MIC_MODES.LOADING:this.micToDotsAnimation();break;case p.NEW_USER_ONBOARDING_MIC_MODES.LISTENING:M=this.listeningAnimation;break;case p.NEW_USER_ONBOARDING_MIC_MODES.SUCCESS:M=this.successAnimation}},nextAnimation:function(){if(clearTimeout(this._timer),null!=M)return void(this._timer=this.setTimeout(this.nextAnimation,100));switch(this.props.mode){case p.NEW_USER_ONBOARDING_MIC_MODES.WAITING:this.resetAnimation();break;case p.NEW_USER_ONBOARDING_MIC_MODES.LOADING:this.micToDotsAnimation();break;case p.NEW_USER_ONBOARDING_MIC_MODES.LISTENING:M=this.listeningAnimation;break;case p.NEW_USER_ONBOARDING_MIC_MODES.SUCCESS:M=this.successAnimation}},getDotStyle:function(e){return{transform:[{translateX:o(this.state.dots[e].x)},{translateY:o(this.state.dots[e].y)},{scale:this.state.dots[e].scale}],height:this.state.dots[e].height}},getMicPathStyle:function(){return this.state.micPaths.map(function(e){return{strokeDasharray:e.strokeDasharray,strokeDashoffset:e.strokeDashoffset}})},getCheckPathStyle:function(){return this.state.checkPaths.map(function(e){return{strokeDasharray:e.strokeDasharray,strokeDashoffset:e.strokeDashoffset}})},render:function(){var e=this.getMicPathStyle(),t=this.getCheckPathStyle();return l.default.createElement("div",r({className:"mic-test-animation"},this.props),i(d.default.div,{className:"dot",style:this.getDotStyle(0)}),i(d.default.div,{className:"dot",style:this.getDotStyle(1)}),i(d.default.div,{className:"dot",style:this.getDotStyle(2)}),i(d.default.div,{className:"dot",style:this.getDotStyle(3)}),i(N,{className:"svg mic",pathStyles:e}),i(A,{className:"svg check",pathStyles:t}))},getStateFromStores:function(){return{volume:g.default.getState().volume}}});t.default=C,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(3),l=n(24),u=a(l),f=n(185),c=a(f),d=n(184);n(2229);var p=o("div",{className:"content bordered"},void 0,"Chat animation goes here"),h=i.default.createClass({displayName:"TextChat",mixins:[d.SlideAnimationMixin],render:function(){return i.default.createElement(u.default.div,{ref:d.SLIDE_ANIMATION_CONTAINER_REF,className:"onboarding-slide text-chat",style:this.getContainerStyle()},i.default.createElement("div",{ref:"computed",className:"measuring-container"},o(u.default.div,{style:this.getChildStyle()},void 0,o(c.default,{titleCopy:s.Messages.ONBOARDING_TEXT_CHAT_TITLE,titleBlurbCopy:s.Messages.ONBOARDING_TEXT_CHAT_BLURB})),p))}});t.default=h,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.SLIDES=t.SLIDE_BUTTON_MESSAGES=void 0;var o,r,i=n(3),s=n(1467),l=a(s),u=n(1463),f=a(u),c=n(1466),d=a(c),p=n(1465),h=a(p),g=n(1468),m=a(g),v=n(1470),E=a(v),y=n(1462),_=a(y),b=n(1464),S=a(b),I=n(1),T=t.SLIDE_BUTTON_MESSAGES=(o={},o[I.NEW_USER_ONBOARDING_STEPS.AVATAR_UPLOAD]=i.Messages.ONBOARDING_AVATAR_UPLOAD_TO_MESSAGE,o[I.NEW_USER_ONBOARDING_STEPS.GUILD_SETTINGS]=i.Messages.ONBOARDING_GUILD_SETTINGS_TO_MESSAGE,o[I.NEW_USER_ONBOARDING_STEPS.GRANT_MIC_ACCESS]=i.Messages.ONBOARDING_MIC_ACCESS_TO_MESSAGE,o[I.NEW_USER_ONBOARDING_STEPS.MIC_TEST]=i.Messages.ONBOARDING_MIC_TEST_TO_MESSAGE,o[I.NEW_USER_ONBOARDING_STEPS.CHAT_EXAMPLE]=i.Messages.ONBOARDING_TEXT_CHAT_TO_MESSAGE,o[I.NEW_USER_ONBOARDING_STEPS.APP_DOWNLOADS]=i.Messages.ONBOARDING_APP_DOWNLOADS_TO_MESSAGE,o[I.NEW_USER_ONBOARDING_STEPS.CLAIM_ACCOUNT]=i.Messages.ONBOARDING_CLAIM_ACCOUNT_TO_MESSAGE,o[I.NEW_USER_ONBOARDING_STEPS.DISABLED]=i.Messages.ONBOARDING_ALL_DONE_TO_MESSAGE,o),N=t.SLIDES=(r={},r[I.NEW_USER_ONBOARDING_STEPS.MARKETING]=l.default,r[I.NEW_USER_ONBOARDING_STEPS.AVATAR_UPLOAD]=f.default,r[I.NEW_USER_ONBOARDING_STEPS.GUILD_SETTINGS]=d.default,r[I.NEW_USER_ONBOARDING_STEPS.GRANT_MIC_ACCESS]=h.default,r[I.NEW_USER_ONBOARDING_STEPS.MIC_TEST]=m.default,r[I.NEW_USER_ONBOARDING_STEPS.CHAT_EXAMPLE]=E.default,r[I.NEW_USER_ONBOARDING_STEPS.APP_DOWNLOADS]=_.default,r[I.NEW_USER_ONBOARDING_STEPS.CLAIM_ACCOUNT]=S.default,r);t.default={SLIDES:N,SLIDE_BUTTON_MESSAGES:T}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(5),f=a(u),c=n(137),d=a(c),p=n(534),h=a(p),g=n(33),m=a(g),v=n(61),E=a(v),y=n(179),_=a(y);n(605);var b=i.default.createClass({displayName:"Call",mixins:[l.default],getDefaultProps:function(){return{selected:!1,audio:!1}},render:function(){var e=this.props,t=e.call,n=e.audio,a=e.selected,r={active:a,audio:n&&!a};return o("div",{className:(0,f.default)("guild",r)},void 0,o("div",{className:"guild-inner"},void 0,o(m.default,{text:t.name,position:m.default.RIGHT},void 0,o(E.default,{channel:t,onClick:this.selectCall}))))},selectCall:function(){_.default.selectCall(this.props.call.id)}}),S=i.default.createClass(d.default.sync(h.default,{render:function(){var e=this,t=this.state.calls;return t.length?o("div",{className:"calls"},void 0,t.map(function(t){return o(b,{call:t,selected:t.selected,audio:e.state.selectedVoiceChannelId===t.id},t.id)})):null}}));t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(3),f=a(u),c=n(137),d=a(c),p=n(813),h=a(p),g=n(734),m=a(g),v=n(33),E=a(v),y=n(82),_=a(y),b=n(59),S=a(b),I=n(1);n(2243),n(2143);var T=i.default.createClass(d.default.sync(h.default,{render:function(){var e=this.state,t=e.guild,n=e.channel,a=e.rtcConnection;return o("div",{id:"rtc-connection",className:"account"},void 0,o("div",{className:"rtc-connection-inner"},void 0,i.default.createElement(m.default,a),null==n?null:o("div",{className:"rtc-connection-channel"},void 0,n.name," / ",t.name)),o("div",{className:"btn-group"},void 0,o(E.default,{text:this.state.mute?f.default.Messages.UNMUTE:f.default.Messages.MUTE},void 0,o("button",{className:(0,l.default)({btn:!0,"btn-mute":!0,disabled:this.state.mute}),onClick:this.handleToggleSelfMute})),o(E.default,{text:this.state.deaf?f.default.Messages.UNDEAFEN:f.default.Messages.DEAFEN},void 0,o("button",{className:(0,l.default)({btn:!0,"btn-deafen":!0,disabled:this.state.deaf}),onClick:this.handleToggleSelfDeaf})),a.state!==I.RTCConnectionStates.DISCONNECTED&&o(E.default,{text:"Disconnect"},void 0,o("button",{className:"btn btn-disconnect",onClick:this.handleDisconnect}))))},handleToggleSelfMute:function(){_.default.toggleSelfMute()},handleToggleSelfDeaf:function(){_.default.toggleSelfDeaf()},handleDisconnect:function(){S.default.selectVoiceChannel(null,null)}}));t.default=T,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(6),l=a(s),u=n(5),f=a(u),c=n(137),d=a(c),p=n(815),h=a(p),g=n(33),m=a(g),v=n(182),E=a(v),y=n(179),_=a(y);n(605);var b=i.default.createClass({displayName:"Guild",mixins:[l.default],getDefaultProps:function(){return{selected:!1,audio:!1}},selectGuild:function(){_.default.selectGuild(this.props.guild.id)},render:function(){var e=this.props.guild,t={active:this.props.selected,audio:this.props.audio&&!this.props.selected};return o("div",{className:(0,f.default)("guild",t)},void 0,o("div",{className:"guild-inner"},void 0,o(m.default,{text:e.name,position:m.default.RIGHT},void 0,o(E.default,{onClick:this.selectGuild,guild:e}))))}}),S=i.default.createClass(d.default.sync(h.default,{render:function(){var e=this;return o("div",{className:"guilds"},void 0,this.state.guilds.map(function(t){return o(b,{guild:t,selected:e.state.selectedGuildId===t.id,audio:e.state.selectedVoiceGuildId===t.id},t.id)}))}}));t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(23),u=a(l),f=n(5),c=a(f),d=n(3),p=a(d),h=n(41),g=a(h),m=n(739),v=a(m),E=n(1476),y=a(E),_=n(1479),b=a(_),S=n(1474),I=a(S),T=n(1472),N=a(T),A=n(1473),M=a(A),C=n(1477),O=a(C),D=n(209),L=a(D),R=n(59),x=a(R),w=n(179),P=a(w),k=n(85),U=a(k),G=n(137),j=a(G),F=n(814),B=a(F),V=n(534),H=a(V),z=n(817),W=a(z),Y=n(1);n(944);var K=o(y.default,{}),Q=o("div",{className:"guilds-wrapper"},void 0,o(N.default,{}),o(I.default,{})),Z=o(M.default,{}),X=s.default.createClass(j.default.sync(H.default,{renderSettingsPopout:function(){return K},handleDeclineCall:function(){L.default.stopRinging(this.state.calls[0].id)},handleAcceptCall:function(){var e=this.state.calls[0].id;x.default.selectChannel(null,e),x.default.selectVoiceChannel(null,e),P.default.selectCall(e)},render:function(){var e=this.props.flipped,t=this.state.ringing,n=s.default.createElement(q,r({},this.state,{keybind:this.props.keybind,flipped:e})),a=o("button",{className:"btn-call",onClick:this.handleAcceptCall},"accept",p.default.Messages.ANSWER),i=o("button",{className:"btn-call",onClick:this.handleDeclineCall},"reject",p.default.Messages.DECLINE),l=[];t?(l.pop(),e?(l.push(a),l.push(i)):(l.unshift(i),l.unshift(a))):l.push(o(g.default,{render:this.renderSettingsPopout,position:e?g.default.LEFT:g.default.RIGHT},"settings",o("button",{className:"btn-settings",onClick:this.handleOpenSettings})));var u=o("header",{className:"guild-panel-header"},void 0,e?null:n,o("div",{className:"buttons"},void 0,l),!e||n);return o("div",{id:"guild-panel",className:(0,c.default)("guild-panel",{flipped:this.props.flipped})},void 0,u,o("section",{className:"flex-vertical flex-spacer"},void 0,o("section",{className:"flex-horizontal flex-spacer"},void 0,Q,s.default.createElement(b.default,this.props)),Z))}})),J=o("div",{className:"wordmark"}),q=s.default.createClass({displayName:"DiscordWordmark",render:function(){var e=J;return this.props.ringing&&(e=o("div",{className:"notification"},void 0,p.default.Messages.OVERLAY_FRIEND_CALLING.format({name:this.props.calls[0].name}))),o("div",{className:(0,c.default)("discord-wordmark",{flipped:this.props.flipped})},void 0,e,o("div",{className:"keybind"},void 0,this.props.keybind))}}),$=s.default.createClass(j.default.sync(B.default,{handleClick:function(){P.default.setLocked(!0)},render:function(){var e=this.state,t=e.ringing,n=e.nameRenderingMode,a=e.avatarUrl,i=this.props.flipped,l=t&&a?"url("+a+")":null,u=void 0;return n!==Y.OverlayDisplayNames.ALWAYS||t||(u=o(q,{keybind:this.props.keybind,flipped:i})),s.default.createElement("div",r({className:(0,c.default)("discord-btn",{flipped:i}),onClick:this.handleClick},this.props),i?u:null,o("div",{className:"discord-btn-icon",style:{backgroundImage:l}}),i?null:u)}})),ee=s.default.createClass(j.default.sync(H.default,{render:function(){if(!this.state.ringing)return null;var e=this.props,t=e.flipped,n=e.keybind,a=this.state.calls[0].name;return o("div",{className:(0,c.default)("overlay-ringing-alert",{flipped:t})},void 0,o("div",{className:"notification"},void 0,p.default.Messages.OVERLAY_FRIEND_CALLING.format({name:a})),o("div",{className:"help"},void 0,p.default.Messages.OVERLAY_UNLOCK_TO_ANSWER.format({keybind:n})))}})),te=s.default.createClass({displayName:"OverlayDraggable",componentDidUpdate:function(){if(this.refs.draggable){var e=this.refs.draggable.clientHeight;if(this.props.locked)u.default.findDOMNode(this).style.height=e+"px";else{var t=document.getElementById("guild-panel").clientHeight;u.default.findDOMNode(this).style.height=Math.max(e,t)+"px"}}},render:function(){return o("div",{},void 0,s.default.createElement("div",{ref:"draggable",className:(0,c.default)("overlay-draggable",{flipped:this.props.flipped})},s.default.createElement($,this.props),this.props.locked?s.default.createElement(ee,this.props):s.default.createElement(X,this.props),s.default.createElement(O.default,this.props)))}}),ne="OVERLAY_REF",ae="DRAGGABLE_REF",oe=s.default.createClass(j.default.sync(W.default,{handleDragStart:function(){U.default.close()},handleMovedTo:function(e,t){U.default.close(),P.default.setPosition(e,t)},handleLock:function(e){e.target===this.refs[ne]&&P.default.setLocked(!0)},handleWindowResize:function(){this.forceUpdate()},componentDidMount:function(){window.addEventListener("resize",this.handleWindowResize)},componentWillUpdate:function(e,t){if(!this.state.locked&&t.locked){var n=this.refs[ae];null!=n&&n.handleMouseUp()}},componentWillUnmount:function(){window.removeEventListener("resize",this.handleWindowResize)},render:function(){var e=this.state,t=e.position,n=e.disabled,a=e.locked,o=e.keybind;return n||0===window.innerWidth||0===window.innerHeight?null:s.default.createElement("div",{className:"overlay",ref:ne,onMouseDown:this.handleLock},s.default.createElement(v.default,{ref:ae,selector:".discord-btn-icon, .guild-panel-header, .discord-wordmark",className:"inner-container",initialX:t.x,initialY:t.y,maxX:window.innerWidth,maxY:window.innerHeight,onDragStart:this.handleDragStart,onDragEnd:this.handleMovedTo,onRelocated:this.handleMovedTo},s.default.createElement(te,r({},this.props,{locked:a,keybind:o}))))}}));t.default=oe,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(3),l=a(s),u=n(302),f=a(u),c=n(1370),d=a(c),p=n(137),h=a(p),g=n(816),m=a(g),v=n(179),E=a(v),y=n(1);n(944);var _=o("div",{className:"option-large"}),b=o("div",{className:"option-small"}),S=i.default.createClass(h.default.sync(m.default,{handleChangeDisplayNameMode:function(e){e.currentTarget.checked&&E.default.setDisplayNameMode(e.currentTarget.value)},handleChangeAvatarSizeMode:function(e){e.currentTarget.checked&&E.default.setAvatarSizeMode(e.currentTarget.value)},handleChangeDisplayUserMode:function(e){e.currentTarget.checked&&E.default.setDisplayUserMode(e.currentTarget.value)},render:function(){return o("div",{className:"form overlay-settings-popout"},void 0,o("header",{},void 0,l.default.Messages.OVERLAY_SETTINGS),o("section",{},void 0,o("div",{},void 0,o("div",{className:"control-group"},void 0,o("label",{},void 0,l.default.Messages.FORM_LABEL_AVATAR_SIZE),o("div",{className:"avatar-sizes"},void 0,o("ul",{className:"radio-group"},void 0,o("li",{},void 0,o(d.default,{name:"large",checked:this.state.avatarSizeMode===y.OverlayAvatarSizes.LARGE,value:y.OverlayAvatarSizes.LARGE,onChange:this.handleChangeAvatarSizeMode},void 0,_,o("p",{},void 0,l.default.Messages.AVATAR_SIZE_OPTION_LARGE))),o("li",{},void 0,o(d.default,{name:"small",checked:this.state.avatarSizeMode===y.OverlayAvatarSizes.SMALL,value:y.OverlayAvatarSizes.SMALL,onChange:this.handleChangeAvatarSizeMode},void 0,b,o("p",{},void 0,l.default.Messages.AVATAR_SIZE_OPTION_SMALL)))))),o("div",{className:"control-group"},void 0,o("label",{},void 0,l.default.Messages.FORM_LABEL_DISPLAY_NAMES),o("ul",{className:"radio-group"},void 0,o("li",{},void 0,o(f.default,{name:"always",checked:this.state.displayNameMode===y.OverlayDisplayNames.ALWAYS,value:y.OverlayDisplayNames.ALWAYS,onChange:this.handleChangeDisplayNameMode},void 0,l.default.Messages.DISPLAY_OPTION_ALWAYS)),o("li",{},void 0,o(f.default,{name:"only-speaking",checked:this.state.displayNameMode===y.OverlayDisplayNames.ONLY_WHILE_SPEAKING,value:y.OverlayDisplayNames.ONLY_WHILE_SPEAKING,onChange:this.handleChangeDisplayNameMode},void 0,l.default.Messages.DISPLAY_OPTION_ONLY_WHILE_SPEAKING)),o("li",{},void 0,o(f.default,{name:"never",checked:this.state.displayNameMode===y.OverlayDisplayNames.NEVER,value:y.OverlayDisplayNames.NEVER,onChange:this.handleChangeDisplayNameMode},void 0,l.default.Messages.DISPLAY_OPTION_NEVER)))),o("div",{className:"control-group"},void 0,o("label",{},void 0,l.default.Messages.FORM_LABEL_DISPLAY_USERS),o("ul",{className:"radio-group"},void 0,o("li",{},void 0,o(f.default,{name:"icons-always",checked:this.state.displayUserMode===y.OverlayDisplayUsers.ALWAYS,value:y.OverlayDisplayUsers.ALWAYS,onChange:this.handleChangeDisplayUserMode},void 0,l.default.Messages.DISPLAY_OPTION_ALWAYS)),o("li",{},void 0,o(f.default,{name:"icons-only-speaking",checked:this.state.displayUserMode===y.OverlayDisplayUsers.ONLY_WHILE_SPEAKING,value:y.OverlayDisplayUsers.ONLY_WHILE_SPEAKING,onChange:this.handleChangeDisplayUserMode},void 0,l.default.Messages.DISPLAY_OPTION_ONLY_WHILE_SPEAKING)))))))}}));t.default=S,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=n(0),s=a(i),l=n(6),u=a(l),f=n(5),c=a(f),d=n(61),p=a(d),h=n(1),g=n(137),m=a(g),v=n(818),E=a(v),y=s.default.createClass({displayName:"Speaker",mixins:[u.default],render:function(){var e=this.props,t=e.flipped,n=e.user,a=e.size,o=e.displayNameMode,i=e.speaking,s=!0;o===h.OverlayDisplayNames.NEVER?s=!1:o===h.OverlayDisplayNames.ONLY_WHILE_SPEAKING&&(s=i);var l=s?r("div",{className:(0,c.default)("username",{flipped:t})},void 0,n.username):null;return t?r("div",{className:(0,c.default)("speaker","speaker-"+a,{active:i,flipped:t})},void 0,r("span",{className:"speaker-username"},void 0,l),r(p.default,{user:n,size:a})):r("div",{className:(0,c.default)("speaker","speaker-"+a,{active:i})},void 0,r(p.default,{user:n,size:a}),r("span",{className:"speaker-username"},void 0,l))}}),_=s.default.createClass(m.default.sync(E.default,{render:function(){var e=this,t=this.state.voiceStates.map(function(t){return s.default.createElement(y,o({key:t.user.id,user:t.user,speaking:t.speaking,size:e.state.avatarSizeMode,displayNameMode:e.state.displayNameMode},e.props))});return r("div",{className:"speakers speakers-"+this.state.avatarSizeMode},void 0,t)}}));t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(5),l=a(s),u=n(819),f=a(u),c=n(82),d=a(c),p=n(179),h=a(p),g=n(63),m=a(g),v=n(754),E=a(v),y=n(33),_=a(y),b=n(137),S=a(b),I=n(3),T=a(I);n(2231);var N=i.default.createClass(S.default.sync(f.default,{componentDidMount:function(){h.default.openUserPopout(this.props.user.id,this.props.guildId,this.props.channelId)},componentWillUnmount:function(){h.default.openUserPopout(null,null,null)},handleToggleMute:function(){this.state.me?d.default.toggleSelfMute():d.default.toggleLocalMute(this.props.user.id)},handleToggleDeaf:function(){this.state.me&&d.default.toggleSelfDeaf()},handleVolumeChange:function(e){this.state.me||d.default.setLocalVolume(this.props.user.id,2*e)},handleToggleServerMute:function(){m.default.setServerMute(this.props.guildId,this.props.user.id,!(this.state.mute||this.state.suppress))},handleToggleServerDeaf:function(){m.default.setServerDeaf(this.props.guildId,this.props.user.id,!this.state.deaf)},render:function(){var e=void 0,t=void 0,n=void 0;this.state.canServerMute&&(n=o("button",{className:"btn btn-server",onClick:this.handleToggleServerMute},void 0,this.state.mute||this.state.suppress?T.default.Messages.SERVER_UNMUTE:T.default.Messages.SERVER_MUTE));var a=void 0;if(this.state.canServerDeafen&&(a=o("button",{className:"btn btn-server",onClick:this.handleToggleServerDeaf},void 0,this.state.deaf?T.default.Messages.SERVER_UNDEAFEN:T.default.Messages.SERVER_DEAFEN)),this.state.me){var r=this.state.localDeaf?T.default.Messages.UNDEAFEN:T.default.Messages.DEAFEN,i=[];this.state.selfDeaf&&i.push(T.default.Messages.SELF_DEAFENED),this.state.deaf&&i.push(T.default.Messages.SERVER_DEAFENED),i.length>0&&(r=r+" ("+i.join(", ")+")"),t=o(_.default,{text:r},void 0,o("button",{className:(0,l.default)({btn:!0,"btn-deafen":!0,disabled:this.state.localDeaf}),onClick:this.handleToggleDeaf})),null==n&&null==a||(e=o("section",{className:"user-popout-options"},void 0,n,a))}else{var s=void 0;null!=this.state.volume&&(s=o(E.default,{onValueChange:this.handleVolumeChange,onValueRender:function(e){return(2*e).toFixed(0)+"%"},defaultValue:this.state.volume/2})),e=o("section",{className:"user-popout-options"},void 0,o("span",{className:"label"},void 0,T.default.Messages.USER_VOLUME),s,n,a)}var u=this.state.localMute?T.default.Messages.UNMUTE:T.default.Messages.MUTE,f=[];return this.state.selfMute&&!this.state.me&&f.push(T.default.Messages.SELF_MUTED),this.state.mute&&f.push(T.default.Messages.SERVER_MUTED),this.state.suppress&&!this.state.me&&f.push(T.default.Messages.SUPPRESSED),f.length>0&&(u=u+" ("+f.join(", ")+")"),o("div",{className:"overlay-user-popout"},void 0,o("header",{},void 0,o("div",{},void 0,o("div",{className:"discord-tag"},void 0,this.props.user.username),o("div",{className:"btn-group"},void 0,o(_.default,{text:u},void 0,o("button",{className:(0,l.default)("btn btn-mute",{disabled:this.state.localMute}),onClick:this.handleToggleMute})),t))),e)}}));t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(6),u=a(l),f=n(5),c=a(f),d=n(3),p=a(d),h=n(137),g=a(h),m=n(820),v=a(m),E=n(316),y=n(479),_=a(y),b=n(254),S=n(67),I=a(S),T=n(41),N=a(T),A=n(61),M=a(A),C=n(33),O=a(C),D=n(1478),L=a(D),R=n(1287),x=a(R),w=n(484),P=a(w),k=n(59),U=a(k),G=n(63),j=a(G),F=n(1);n(940);var B="DRAG_USER",V=o("i",{className:"icon icon-muted"}),H=o("i",{className:"icon icon-deafened"}),z=(0,b.DragSource)(B,{canDrag:function(e){return e.canDrag},beginDrag:function(e){return{user:e.user}}},function(e){return{connectUserDragSource:e.dragSource()}})(s.default.createClass({displayName:"VoiceConnectedUser",mixins:[u.default],renderUserPopout:function(e){return s.default.createElement(L.default,r({},e,{user:this.props.user,guildId:this.props.guild&&this.props.guild.id,channelId:this.props.channel.id}))},render:function(){var e=this.props.user;if(null==e)return null;var t=void 0,n=void 0;return(this.props.selfMute||this.props.mute||this.props.localMute||this.props.suppress)&&(t=V),(this.props.selfDeaf||this.props.deaf||this.props.localDeaf)&&(n=H),o(N.default,{render:this.renderUserPopout,position:this.props.flipped?N.default.LEFT:N.default.RIGHT},void 0,o("li",{className:(0,c.default)({speaking:this.props.speaking})},void 0,this.props.connectUserDragSource(o("div",{className:(0,c.default)({draggable:this.props.canDrag})},void 0,o(M.default,{user:e,size:"small"}),o("span",{},void 0,e.username),t,n))))}})),W=s.default.createClass({displayName:"VoiceConnected",render:function(){var e=this,t=this.props.channel,n=this.props.guild;if(null==n&&null==t)return null;var a=this.props.voiceStates.map(function(a){return s.default.createElement(z,r({key:a.user.id,user:a.user,mute:a.mute,deaf:a.deaf,selfMute:a.selfMute,selfDeaf:a.selfDeaf,localMute:a.localMute,localDeaf:a.localDeaf,channel:t,guild:n,suppress:a.suppress,speaking:a.speaking,canDrag:e.props.permissions[F.Permissions.MOVE_MEMBERS]},e.props))});return 0===a.length?null:o("ul",{className:"channel-voice-states"},void 0,a)}}),Y=o("div",{className:"icon icon-lock"}),K=o("button",{className:"icon icon-instant-invite"}),Q=(0,b.DropTarget)(B,{canDrop:function(e,t){return e.permissions[F.Permissions.MOVE_MEMBERS]||t.getItem().user.permissions[e.channel.id][F.Permissions.CONNECT]},drop:function(e,t){j.default.setChannel(e.guild.id,t.getItem().user.id,e.channel.id)}},function(e,t){return{connectUserDropTarget:e.dropTarget(),isUserOver:t.isOver()&&t.canDrop()}})(s.default.createClass({displayName:"VoiceChannel",getDefaultProps:function(){return{audio:!1}},handleVoiceConnect:function(e){if(e.target!==this.refs.arrow&&!this.props.locked){var t=this.props.guild&&this.props.guild.id;U.default.selectVoiceChannel(t,this.props.channel.id)}},handleToggleCollapse:function(e){e.stopPropagation(),e.preventDefault(),P.default.update(this.props.channel.id)},renderLock:function(){if(this.props.locked)return o(O.default,{text:p.default.Messages.CHANNEL_LOCKED,position:"right"},void 0,Y)},renderInstantInvitePopout:function(e){return s.default.createElement(x.default,r({},e,{channel:this.props.channel}))},renderInstantInviteButton:function(){if(!this.props.locked&&this.props.permissions[F.Permissions.CREATE_INSTANT_INVITE])return o(N.default,{render:this.renderInstantInvitePopout,position:N.default.BOTTOM,tooltip:p.default.Messages.INSTANT_INVITE},void 0,K)},renderUserLimit:function(){var e=this.props,t=e.channel,n=e.voiceStates,a=e.locked;return 0===t.userLimit||a?null:o("div",{className:"channel-user-limit"},void 0,n.length," / ",t.userLimit)},isFull:function(){var e=this.props,t=e.channel,n=e.audio,a=e.voiceStates;return!n&&!this.props.permissions[F.Permissions.MOVE_MEMBERS]&&(0,E.isChannelFull)(t,a.length)},render:function(){var e=this.props.guild,t=this.props.channel,n=(0,c.default)({channel:!0,"channel-voice":!0,locked:this.props.locked,"drop-target":!this.props.locked&&this.props.isUserOver,collapsed:this.props.collapsed,audio:this.props.audio});return this.props.connectUserDropTarget(o("div",{onClick:this.handleVoiceConnect,className:n},void 0,o("a",{},void 0,s.default.createElement("span",{ref:"arrow",className:"channel-arrow",onClick:this.handleToggleCollapse}),o("span",{className:"channel-name"},void 0,t.name),this.renderInstantInviteButton(),this.renderLock(),this.renderUserLimit()),s.default.createElement(W,r({guild:e,channel:t,permissions:this.props.permissions,voiceStates:this.props.voiceStates},this.props))))}})),Z=(0,b.DragDropContext)(_.default)(s.default.createClass(g.default.sync(v.default,{render:function(){var e=this,t=this.state.channels.map(function(t){return s.default.createElement(Q,r({},e.props,{key:t.id,audio:t.audio,collapsed:t.collapsed,locked:!t.permissions[F.Permissions.CONNECT],permissions:t.permissions,voiceStates:t.voiceStates,guild:e.state.guild,channel:t}))});return o(I.default,{className:"guild-channels",theme:"dark",fade:!0},void 0,t)}})));t.default=Z,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return e+="",""+b.CurrencySymbols.USD+e.substring(0,e.length-2)+"."+e.substring(e.length-2)}t.__esModule=!0;var l,u,f=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),c=n(0),d=a(c),p=n(3),h=a(p),g=n(66),m=a(g),v=n(50),E=a(v),y=n(91),_=a(y),b=n(1),S=(l={},l[b.PaymentStatusTypes.PENDING]=h.default.Messages.PENDING,l[b.PaymentStatusTypes.COMPLETED]=h.default.Messages.REFUND,l[b.PaymentStatusTypes.FAILED]=h.default.Messages.FAILED,l[b.PaymentStatusTypes.REVERSED]=h.default.Messages.REVERSED,l[b.PaymentStatusTypes.REFUNDED]=h.default.Messages.REFUND,l),I=(u={},u[b.PaymentStatusTypes.PENDING]="pending",u[b.PaymentStatusTypes.COMPLETED]="completed",u[b.PaymentStatusTypes.FAILED]="failed",u[b.PaymentStatusTypes.REVERSED]="reversed",u[b.PaymentStatusTypes.REFUNDED]="refunded",u),T=f(_.default,{className:"bill-row-divider",lineOnly:!0}),N=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.renderBillingItem=function(e,t){var n=this.props.locale,a=e.status;if(a===b.PaymentStatusTypes.PENDING)return null;var o=new Date(e.created_at),r=void 0;(a!==b.PaymentStatusTypes.COMPLETED||a===b.PaymentStatusTypes.COMPLETED&&e.amount_refunded)&&(r=f("span",{className:"billing-label"},void 0,S[a]));var i=void 0;return e.amount_refunded&&(i=f("span",{className:"refunded-amount"},void 0,"(+"+s(e.amount_refunded)+")")),f("li",{className:I[e.status]},"bill-"+t,T,f(E.default,{className:"date"},void 0,o.toLocaleDateString(n)),f(E.default,{className:"description"},void 0,e.description),f("div",{className:"payment-details"},void 0,r,i,f(E.default,{className:"amount"},void 0,s(e.amount))))},t.prototype.render=function(){var e=this.props.billingHistory.map(this.renderBillingItem,this);return e.unshift(f("li",{className:"header-row"},"bill-header",f(m.default,{className:"date"},void 0,h.default.Messages.DATE),f(m.default,{className:"description"},void 0,h.default.Messages.DESCRIPTION),f(m.default,{className:"payment-details"},void 0,h.default.Messages.AMOUNT))),f("div",{className:"billing-history"},void 0,f(m.default,{tag:g.Tags.H2},void 0,h.default.Messages.BILLING_HISTORY),f("ol",{className:"billing-history-list"},void 0,e))},t}(d.default.PureComponent);t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return[{icon:m[e],title:d.default.Messages.PREMIUM_FEATURE_TITLE_ANIMATED_AVATAR,description:d.default.Messages.PREMIUM_FEATURE_DESCRIPTION_ANIMATED_AVATAR},{icon:v[e],title:d.default.Messages.PREMIUM_FEATURE_TITLE_CUSTOM_EMOJI,description:d.default.Messages.PREMIUM_FEATURE_DESCRIPTION_CUSTOM_EMOJI},{icon:E[e],title:d.default.Messages.PREMIUM_FEATURE_TITLE_UPOAD_LIMIT,description:d.default.Messages.PREMIUM_FEATURE_DESCRIPTION_UPLOAD_LIMIT.format({maxUploadStandard:d.default.Messages.FILE_UPLOAD_LIMIT_STANDARD,maxUploadPremium:d.default.Messages.FILE_UPLOAD_LIMIT_PREMIUM})},{icon:y[e],title:d.default.Messages.PREMIUM_FEATURE_TITLE_BADGE,description:d.default.Messages.PREMIUM_FEATURE_DESCRIPTION_BADGE}]}t.__esModule=!0;var r,i,s,l,u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=(a(f),n(3)),d=a(c),p=n(50),h=a(p),g=n(1),m=(r={},r[g.ThemeTypes.DARK]=n(3094),r[g.ThemeTypes.LIGHT]=n(3095),r),v=(i={},i[g.ThemeTypes.DARK]=n(3098),i[g.ThemeTypes.LIGHT]=n(1184),i),E=(s={},s[g.ThemeTypes.DARK]=n(3100),s[g.ThemeTypes.LIGHT]=n(3101),s),y=(l={},l[g.ThemeTypes.DARK]=n(3096),l[g.ThemeTypes.LIGHT]=n(3097),l),_=function(e){return u("ul",{className:"premium-features"},void 0,o(e.theme).map(function(e,t){return u("li",{className:"premium-feature"},t,u("img",{className:"premium-feature-icon",src:e.icon}),u(h.default,{className:"premium-text-title"},void 0,e.title),u(h.default,{className:"premium-text-body",type:h.default.Types.DESCRIPTION},void 0,e.description))}))};t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(3),c=a(f),d=n(5),p=a(d),h=n(57),g=a(h),m=n(487),v=a(m),E=n(50),y=a(E),_=n(29),b=a(_),S=n(28),I=a(S),T=n(1),N=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.signUp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;v.default.show(T.PaymentModelModes.NEW,e),b.default.track("premium_purchase_started",{plan:e})},t.prototype.render=function(){var e=this,t=this.props,a=t.isVerified,o=t.isClaimed,r=void 0,i=void 0;if(a&&o)r=[s(I.default,{className:"premium-options-button",color:S.ButtonColors.GREEN,onClick:function(){return e.signUp(T.PremiumPlans.YEARLY)}},"year",c.default.Messages.PREMIUM_YEAR_SUBSCRIPTION.format({currencySymbol:T.CurrencySymbols.USD,currencyCode:T.CurrencyCodes.USD,amount:T.PremiumPlanPrices.YEARLY})),s(I.default,{className:"premium-options-button",look:S.ButtonLooks.OUTLINED,color:S.ButtonColors.PRIMARY,onClick:function(){return e.signUp(T.PremiumPlans.MONTHLY)}},"month",c.default.Messages.PREMIUM_MONTH_SUBSCRIPTION.format({currencySymbol:T.CurrencySymbols.USD,currencyCode:T.CurrencyCodes.USD,amount:T.PremiumPlanPrices.MONTHLY}))],i=s("div",{className:"premium-free-months cursor-default"},void 0,c.default.Messages.PREMIUM_YEAR_FREE_MONTHS);else{var l=function(){return g.default.setSection(T.UserSettingsSections.ACCOUNT)};r=[s(I.default,{className:"premium-options-button",color:S.ButtonColors.RED,onClick:l},"verify",o?c.default.Messages.PREMIUM_NOT_VERIFIED:c.default.Messages.PREMIUM_NOT_CLAIMED)]}return s("div",{className:(0,p.default)("premium-header","splash","margin-bottom-40")},void 0,s("h1",{className:"premium-logo margin-reset margin-bottom-20"},void 0,c.default.Messages.PREMIUM),s("div",{className:"premium-description"},void 0,s(y.default,{className:"margin-bottom-20"},void 0,c.default.Messages.PREMIUM_SUBTITLE),s("div",{className:"premium-options"},void 0,r),i),s("div",{className:"premium-splash-wumpus"},void 0,s("img",{className:"no-user-drag",src:n(3092)})))},t}(u.default.PureComponent);t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s,l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(3),d=a(c),p=n(5),h=a(p),g=n(8),m=a(g),v=n(294),E=a(v),y=n(487),_=a(y),b=n(29),S=a(b),I=n(50),T=a(I),N=n(91),A=a(N),M=n(28),C=a(M),O=n(1),D=(s={},s[O.PremiumStatusTypes.UNPAID]="active",s[O.PremiumStatusTypes.ACTIVE]="active",s[O.PremiumStatusTypes.PAST_DUE]="past-due",s[O.PremiumStatusTypes.CANCELED]="cancelled",s),L=l(A.default,{className:"margin-top-40 margin-bottom-40"}),R=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.unsubscribe=a.unsubscribe.bind(a),a.resubscribe=a.resubscribe.bind(a),a.upgradeYearly=a.upgradeYearly.bind(a),a}return i(t,e),t.prototype.addCard=function(){_.default.show(O.PaymentModelModes.CHANGE)},t.prototype.removeCard=function(){E.default.removeCard()},t.prototype.unsubscribe=function(){var e=this.props.premiumSubscription,t=new Date(e.current_period_end),n=(0,m.default)().diff((0,m.default)(e.created_at),"days");E.default.unsubscribe(d.default.Messages.PREMIUM_CANCEL_CONFIRM_BODY_DETAILED.format({date:t})).then(function(){S.default.track("premium_canceled",{cancellation_type:"User Cancellation",subscription_length:n,plan:e.plan})})},t.prototype.changeCard=function(){_.default.show(O.PaymentModelModes.CHANGE)},t.prototype.resubscribe=function(){this.props.paymentSource?E.default.resubscribe():_.default.show(O.PaymentModelModes.RESUBSCRIBE)},t.prototype.upgradeYearly=function(){var e=this.props.premiumSubscription,t=(0,m.default)(e.current_period_start),n=(0,m.default)(e.current_period_end),a=n.diff(t,"seconds"),o=n.diff((0,m.default)(),"seconds"),r=o/a*parseFloat(O.PremiumPlanPrices.MONTHLY),i=(parseFloat(O.PremiumPlanPrices.YEARLY)-r).toFixed(2);S.default.track("premium_upgrade_started",{plan:O.PremiumPlans.YEARLY,price_shown:+i.replace(".","")}),E.default.upgrade(O.PremiumPlans.YEARLY,d.default.Messages.PREMIUM_UPGRADE_CONFIRM_BODY_DETAILED.format({currencySymbol:O.CurrencySymbols.USD,currencyCode:O.CurrencyCodes.USD,amount:i}))},t.prototype.renderSubscriptionDetails=function(){var e=this.props,t=e.premiumSubscription,n=e.busy,a=new Date(t.current_period_end),o=t.status,r=t.plan,i=void 0;switch(o){case O.PremiumStatusTypes.PAST_DUE:i=d.default.Messages.PREMIUM_PAST_DUE;break;case O.PremiumStatusTypes.CANCELED:i=d.default.Messages.PREMIUM_CANCELED.format({date:a});break;default:i=d.default.Messages.PREMIUM_INFO.format({currencySymbol:O.CurrencySymbols.USD,currencyCode:O.CurrencyCodes.USD,amount:r===O.PremiumPlans.YEARLY?O.PremiumPlanPrices.YEARLY:O.PremiumPlanPrices.MONTHLY,date:a})}var s=void 0;return o!==O.PremiumStatusTypes.CANCELED?(s=[l(C.default,{className:"premium-tools-button",look:M.ButtonLooks.INVERTED,color:M.ButtonColors.BRAND,disabled:n,submitting:n,onClick:this.unsubscribe},"cancel",d.default.Messages.CANCEL)],r===O.PremiumPlans.MONTHLY&&s.unshift(l(C.default,{className:"premium-tools-button",look:M.ButtonLooks.INVERTED,color:M.ButtonColors.BRAND,disabled:n,submitting:n,onClick:this.upgradeYearly},"upgradeYearly",d.default.Messages.UPGRADE_YEARLY))):s=[l(C.default,{className:"premium-tools-button",look:M.ButtonLooks.INVERTED,color:M.ButtonColors.YELLOW,disabled:n,submitting:n,onClick:this.resubscribe},"resubscribe",d.default.Messages.RESUBSCRIBE)],l("div",{className:(0,h.default)("subscription",D[o])},void 0,l("div",{className:"premium-details"},void 0,l("div",{className:"payment-subhead premium-title"},void 0,d.default.Messages.PREMIUM_TITLE),l("div",{className:"premium-info"},void 0,i)),l("div",{className:"premium-tools"},void 0,s))},t.prototype.renderPaymentSource=function(){var e=this.props,t=e.paymentSource,n=e.locale,a=e.premiumSubscription,o=e.busy;if(!t&&a.status===O.PremiumStatusTypes.CANCELED)return null;var r=void 0,i=void 0,s=void 0,u=void 0,f=void 0;if(t){f=t.invalid;var c=new Date;c.setMonth(t.expires_month-1);var p=c.toLocaleString(n,{month:"short"});u=t.brand.toLowerCase(),r=a.status===O.PremiumStatusTypes.CANCELED?l(C.default,{disabled:o,submitting:o,look:M.ButtonLooks.OUTLINED,className:"card-tools-button btn-stroked",onClick:this.removeCard},void 0,d.default.Messages.PAYMENT_METHOD_REMOVE_CARD):l(C.default,{className:"card-tools-button",disabled:o,submitting:o,look:M.ButtonLooks.OUTLINED,onClick:this.changeCard},void 0,d.default.Messages.PAYMENT_METHOD_CHANGE_CARD),f?(i=d.default.Messages.PAYMENT_METHOD_INVALID.format(t),s=d.default.Messages.PAYMENT_METHOD_INVALID_DETAILS):(i=d.default.Messages.PAYMENT_METHOD_CARD_ENDING.format(t),s=d.default.Messages.PAYMENT_METHOD_CARD_EXPIRES.format({month:p,year:t.expires_year}))}else u="disabled",r=l(C.default,{className:"card-tools-button",disabled:o,look:M.ButtonLooks.OUTLINED,onClick:this.addCard},void 0,d.default.Messages.PREMIUM_ADD_CARD),i=d.default.Messages.PREMIUM_NO_CARD,s=d.default.Messages.PREMIUM_NO_CARD_DETAILS;return l("div",{className:(0,h.default)("payment-method","margin-top-40","margin-bottom-40",{invalid:f})},void 0,l("div",{className:"payment-info"},void 0,l("div",{className:(0,h.default)("card-icon",u)}),l("div",{className:"card-info"},void 0,l(T.default,{className:"card-description"},void 0,i),l(T.default,{type:I.Types.DESCRIPTION,className:"card-details"},void 0,s)),l("div",{className:"card-tools"},void 0,r)))},t.prototype.render=function(){return l("div",{className:"premium-header"},void 0,this.renderSubscriptionDetails(),this.renderPaymentSource(),L)},t}(f.default.PureComponent);t.default=R,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(1657)),s=a(i),l=n(1660),u=a(l),f=n(1669),c=a(f);n(2250);var d="https://twitter.com/discordapp",p="https://www.facebook.com/discordapp/",h="https://www.instagram.com/discordapp/",g=o("div",{className:"social-links"},void 0,o("a",{target:"_blank",rel:"author",title:"Twitter",href:d,className:"social-links-link"},void 0,o(c.default,{})),o("a",{target:"_blank",rel:"author",title:"Facebook",href:p,className:"social-links-link"},void 0,o(s.default,{})),o("a",{target:"_blank",rel:"author",title:"Instagram",href:h,className:"social-links-link"},void 0,o(u.default,{}))),m=function(){return g};t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(839),d=n(3),p=a(d),h=n(1297),g=a(h),m=n(14),v=a(m),E=n(1307),y=a(E),_=n(486),b=a(_),S=n(1363),I=a(S),T=n(77),N=n(15),A=a(N),M=n(312),C=a(M),O=n(28),D=a(O);n(2267);var L=s(T.FormDivider,{className:"margin-bottom-20 margin-top-8"}),R=function(e){function t(){var n,a,i;o(this,t);for(var s=arguments.length,u=Array(s),c=0;c<s;c++)u[c]=arguments[c];return n=a=r(this,e.call.apply(e,[this].concat(u))),a.handleEnableMFA=function(){v.default.push(function(e){return f.default.createElement(g.default,e)})},a.handleDisableMFA=function(){b.default.disable()},a.generateBackupCodes=function(){v.default.push(function(e){return f.default.createElement(y.default,l({},e,{handleSubmit:function(e){return b.default.viewBackupCodes(e,!0)},title:p.default.Messages.TWO_FA_GENERATE_CODES,actionText:p.default.Messages.TWO_FA_GENERATE_CODES}),p.default.Messages.TWO_FA_GENERATE_CODES_CONFIRM_TEXT)})},a.viewBackupCodes=function(){v.default.push(function(e){return f.default.createElement(y.default,l({},e,{handleSubmit:function(e){return b.default.viewBackupCodes(e)},title:p.default.Messages.TWO_FA_VIEW_BACKUP_CODES,actionText:p.default.Messages.TWO_FA_VIEW_CODES}))})},a.getDownloadFileContents=function(){var e=a.props.backupCodes.map(function(e){var t=e.consumed,n=e.code;return"* "+n.substr(0,4)+"-"+n.substr(4)+" "+(t?"(used)":"")}).join("\r\n");return p.default.Messages.TWO_FA_DISCORD_BACKUP_CODES.format({email:a.props.user.email})+"\r\n\r\n"+e},i=n,r(a,i)}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.user,a=e.backupCodes;if(!c.hasCrypto)return s(T.FormText,{type:T.FormText.Types.DESCRIPTION},void 0,p.default.Messages.TWO_FA_USE_DESKTOP_APP);if(!t.verified)return s(T.FormText,{type:T.FormText.Types.DESCRIPTION},void 0,p.default.Messages.TWO_FA_NOT_VERIFIED);if(t.mfaEnabled){var o=s(D.default,{onClick:this.viewBackupCodes,size:D.default.Sizes.SMALL},void 0,p.default.Messages.TWO_FA_VIEW_BACKUP_CODES),r=void 0;if(a.length){o=s(I.default,{fileContents:this.getDownloadFileContents,contentType:"text/plain",fileName:"discord_backup_codes.txt",className:"btn btn-primary"},void 0,s(D.default,{size:D.default.Sizes.SMALL},void 0,p.default.Messages.TWO_FA_DOWNLOAD_CODES));var i=function(e){return e.map(function(e){var t=e.consumed,n=e.code;return s("li",{className:"margin-bottom-20"},n,s(C.default,{value:t,readOnly:!0},void 0,s("span",{className:"code"},void 0,n.substr(0,4)+"-"+n.substr(4))))})};r=s(T.FormSection,{className:"backup-codes",title:p.default.Messages.TWO_FA_BACKUP_CODES_LABEL},void 0,s(T.FormText,{type:T.FormText.Types.DESCRIPTION,className:"margin-bottom-20"},void 0,p.default.Messages.TWO_FA_BACKUP_CODES_BODY.format()),s(A.default,{},void 0,s(A.default.Child,{},void 0,s("ul",{className:"checkbox-group"},void 0,i(a.slice(0,a.length/2)))),s(A.default.Child,{},void 0,s("ul",{className:"checkbox-group"},void 0,i(a.slice(a.length/2))))),L,s("div",{},void 0,s(D.default,{onClick:this.generateBackupCodes,look:O.ButtonLooks.LINK,size:O.ButtonSizes.MIN},void 0,p.default.Messages.TWO_FA_GENERATE_CODES)))}return s(T.FormSection,{},void 0,s(T.FormTitle,{className:"is-enabled margin-bottom-20"},void 0,s("img",{className:"lock-icon",src:n(3026)}),p.default.Messages.TWO_FA_ENABLED),s(A.default,{className:"margin-bottom-20",justify:A.default.Justify.START},void 0,s(A.default.Child,{wrap:!0,grow:0},void 0,o),s(A.default.Child,{wrap:!0,grow:0},void 0,s(D.default,{onClick:this.handleDisableMFA,size:D.default.Sizes.SMALL,color:O.ButtonColors.RED,look:O.ButtonLooks.OUTLINED},void 0,p.default.Messages.TWO_FA_REMOVE))),r)}return s(T.FormSection,{},void 0,s(T.FormText,{type:T.FormText.Types.DESCRIPTION,className:"margin-bottom-20"},void 0,p.default.Messages.TWO_FA_SALES_PITCH),s(T.FormItem,{},void 0,s(D.default,{onClick:this.handleEnableMFA,size:O.ButtonSizes.SMALL},void 0,p.default.Messages.TWO_FA_ENABLE)))},t}(f.default.PureComponent);t.default=R,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(6),u=a(l),f=n(2),c=a(f),d=n(3),p=a(d),h=n(61),g=a(h),m=n(300),v=a(m),E=n(60),y=a(E),_=n(159),b=a(_),S=n(141),I=a(S),T=n(5),N=a(T),A=n(144),M=a(A),C=n(28),O=a(C),D=n(1485),L=a(D),R=n(77),x=n(227),w=a(x),P=n(15),k=a(P),U=n(48),G=a(U),j=n(10),F=a(j),B=n(1594),V=a(B),H=n(486),z=a(H),W=n(14),Y=a(W),K=n(101),Q=a(K),Z=n(494),X=n(31),J=a(X),q=n(811),$=a(q),ee=n(13),te=a(ee),ne=n(1);n(2260);var ae=o(R.FormDivider,{className:"margin-top-20 margin-bottom-20"}),oe=o(b.default,{}),re=o(R.FormDivider,{className:"margin-top-20"}),ie=s.default.createClass({displayName:"UserSettingsAccount",mixins:[u.default,c.default.LazyStoreListenerMixin(F.default,J.default,$.default,te.default,V.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return r({},$.default.getState(),{currentUser:F.default.getCurrentUser(),backupCodes:V.default.getBackupCodes(),hide:J.default.hidePersonalInformation,theme:te.default.theme})},componentWillUnmount:function(){z.default.clearBackupCodes(),(0,Z.accountDetailsClose)()},getError:function(e){var t=this.state.errors;return t&&t[e]?t[e]:""},renderPasswordChanger:function(){if(this.state.isEditingPassword){var e=this.state.accountInfo;return o(R.FormItem,{className:"margin-top-20",title:p.default.Messages.FORM_LABEL_NEW_PASSWORD,required:!0},void 0,o(M.default,{name:"newPassword",type:"password",value:e.newPassword||"",onChange:this.handleChangeProfileField,error:this.getError("new_password")}))}return o(R.FormItem,{className:"margin-top-20"},void 0,o(O.default,{onClick:this.startEditingPassword,color:C.ButtonColors.PRIMARY,look:C.ButtonLooks.LINK,size:C.ButtonSizes.MIN},void 0,p.default.Messages.CHANGE_PASSWORD_LINK))},renderEditing:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.state,n=t.formState,a=t.accountInfo,r=t.claimed,i=t.verified,s=t.user,l=i&&e?this.renderPasswordChanger():null;return o(I.default,{className:(0,N.default)("user-info-editing",{danger:!r,warning:!i}),editable:!0},void 0,o(k.default,{},void 0,o(k.default.Child,{grow:0,className:"avatar-column"},void 0,o(v.default,{showIcon:!0,avatar:a.avatar,size:ne.AVATAR_MAX_SIZE,onChange:this.handleAvatarChange,makeURL:function(e){var t={id:s.id,avatar:e,discriminator:s.discriminator},n=G.default.hasAnimatedAvatar(t)?"gif":"png";return G.default.getUserAvatarURL(t,n)}}),o(w.default,{color:w.default.Colors.RED,className:"margin-top-8"},void 0,this.getError("avatar"))),o(k.default.Child,{},void 0,o(R.FormItem,{title:p.default.Messages.FORM_LABEL_USERNAME,className:"margin-bottom-20",required:!0},void 0,o(M.default,{name:"username",value:a.username||"",onChange:this.handleChangeProfileField,error:this.getError("username"),autoFocus:!0})),o(R.FormItem,{title:p.default.Messages.FORM_LABEL_EMAIL,className:"margin-bottom-20",required:!0},void 0,o(M.default,{name:"email",value:a.email||"",onChange:this.handleChangeProfileField,error:this.getError("email")})),o(R.FormItem,{title:p.default.Messages.FORM_LABEL_CURRENT_PASSWORD,required:!0},void 0,o(M.default,{name:"password",type:"password",value:a.password||"",onChange:this.handleChangeProfileField,error:this.getError("password")})),l)),ae,o(k.default,{justify:k.default.Justify.END,align:k.default.Align.CENTER},void 0,o(k.default.Child,{wrap:!0,grow:0},void 0,o("div",{},void 0,r?o(O.default,{look:C.ButtonLooks.LINK,color:C.ButtonColors.PRIMARY,size:C.ButtonSizes.MIN,onClick:this.handleCancelEditing},void 0,p.default.Messages.CANCEL):null)),o(k.default.Child,{wrap:!0,grow:0},void 0,o(O.default,{color:C.ButtonColors.GREEN,size:C.ButtonSizes.SMALL,onClick:this.handleSaveProfile,submitting:n===ne.FormStates.SUBMITTING},void 0,p.default.Messages.USER_SETTINGS_SAVE))))},renderViewing:function(){var e=this.state,t=e.user,n=e.verified;return o(I.default,{className:(0,N.default)("user-info-viewing",{warning:!n})},void 0,o(k.default,{},void 0,o(k.default.Child,{grow:0},void 0,o("div",{},void 0,o(g.default,{user:t,size:"xxlarge",animate:!0}))),o(k.default.Child,{},void 0,o(R.FormItem,{className:"margin-bottom-20"},void 0,o(R.FormTitle,{faded:!0,className:"margin-bottom-4"},void 0,p.default.Messages.FORM_LABEL_USERNAME),o(w.default,{className:"view-body",selectable:!0},void 0,t.toString(),o("span",{style:{opacity:.5}},void 0,"#",t.discriminator))),o(R.FormItem,{},void 0,o(R.FormTitle,{faded:!0,className:"margin-bottom-4"},void 0,p.default.Messages.FORM_LABEL_EMAIL),o(w.default,{className:"view-body",selectable:!0},void 0,t.email)))),o(O.default,{className:"user-info-viewing-button",size:C.ButtonSizes.SMALL,onClick:this.startEditingProfile},void 0,p.default.Messages.EDIT))},renderAccountSettings:function(){var e=this.state,t=e.verified,a=e.claimed,r=e.isEditingProfile,i=void 0,s=void 0;if(a){if(!t){var l=o("section",{},void 0,o("div",{className:"margin-bottom-8"},void 0,p.default.Messages.USER_SETTINGS_UNVERIFIED_ACCOUNT_BODY),o(O.default,{look:C.ButtonLooks.INVERTED,size:C.ButtonSizes.SMALL,color:O.default.Colors.YELLOW,onClick:this.handleResendVerification},void 0,p.default.Messages.RESEND_VERIFICATION_EMAIL));s=o(R.FormNotice,{type:R.FormNotice.Types.WARNING,className:"user-settings-account-unverified margin-bottom-8",imageData:{src:n(1183),width:60,height:60},title:p.default.Messages.UNVERIFIED_ACCOUNT_TITLE,body:l})}}else s=o(R.FormNotice,{className:"margin-bottom-8",imageData:{src:n(1183),width:60,height:60},title:p.default.Messages.UNCLAIMED_ACCOUNT_TITLE,body:p.default.Messages.UNCLAIMED_ACCOUNT_BODY.format()}),i=this.renderEditing(!1);return null==i&&(i=r?this.renderEditing():this.renderViewing()),o(R.FormSection,{tag:R.FormTitleTags.H2,title:p.default.Messages.USER_SETTINGS_MY_ACCOUNT,className:"user-settings-account"},void 0,s,i)},renderSecuritySettings:function(){var e=this.state,t=e.backupCodes,a=e.currentUser,r=e.theme,i=n(r===ne.ThemeTypes.DARK?3041:3042);return o(R.FormSection,{className:"user-settings-security margin-top-60",title:p.default.Messages.TWO_FA},void 0,o(k.default,{align:k.default.Align.STRETCH},void 0,o(k.default.Child,{wrap:!0},void 0,o(L.default,{user:a,backupCodes:t})),null==t||0===t.length?o(k.default,{align:k.default.Align.CENTER,basis:"323px",grow:0},void 0,o("img",{src:i,className:"user-settings-security-image"})):null))},render:function(){return this.state.hide?oe:o("div",{},void 0,this.renderAccountSettings(),this.renderSecuritySettings(),re)},startEditingProfile:function(){(0,Z.toggleEditingProfile)(!0)},startEditingPassword:function(){(0,Z.toggleEditingPassword)(!0)},handleChangeProfileField:function(e,t){var n;(0,Z.updateAccountInfo)((n={},n[t]=e,n))},handleAvatarChange:function(e){(0,Z.updateAccountInfo)({avatar:e})},handleResendVerification:function(){Q.default.verifyResend(),Y.default.push(function(e){return s.default.createElement(y.default,r({header:p.default.Messages.VERIFICATION_EMAIL_TITLE,confirmText:p.default.Messages.OKAY,red:!1},e),o("p",{},void 0,p.default.Messages.VERIFICATION_EMAIL_BODY.format({email:F.default.getCurrentUser().email})))})},handleCancelEditing:function(){(0,Z.toggleEditingProfile)(!1)},handleSaveProfile:function(){var e=this.state.accountInfo,t=e.username,n=e.email,a=e.password,o=e.newPassword,r=e.avatar;(0,Z.saveAccountChanges)(t,n,a,r,o)}});t.default=ie,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(0),s=a(i),l=n(6),u=a(l),f=n(2),c=a(f),d=n(5),p=a(d),h=n(3),g=a(h),m=n(18),v=a(m),E=n(60),y=a(E),_=n(272),b=n(77),S=n(141),I=a(S),T=n(226),N=a(T),A=n(110),M=a(A),C=n(537),O=a(C),D=n(15),L=a(D),R=n(146),x=a(R),w=n(186),P=n(299),k=a(P),U=n(129),G=a(U),j=n(108),F=a(j),B=n(708),V=n(14),H=a(V),z=n(13),W=a(z),Y=n(518),K=a(Y),Q=n(1);n(2261);var Z=o(L.default.Child,{className:"font-scale-sample-small"},void 0,"Aa"),X=o(L.default.Child,{className:"font-scale-sample-large"},void 0,"Aa"),J=s.default.createClass({displayName:"UserSettingsAppearance",mixins:[c.default.StoreListenerMixin(K.default,W.default),u.default],getInitialState:function(){return{hardwareAccelerationEnabled:v.default.getEnableHardwareAcceleration()}},getStateFromStores:function(){var e=W.default.theme;return{theme:e,previewMessage:e===Q.ThemeTypes.DARK?g.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_2_DARK:g.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_2_LIGHT,messageDisplayCompact:W.default.messageDisplayCompact,developerMode:W.default.developerMode,fontScale:K.default.fontScale,zoom:K.default.zoom}},componentWillMount:function(){this.channel={isPrivate:function(){return!1},id:"1337"};var e=0;this.messages=[G.default.create(r({},x.default.createMessage(this.channel.id,g.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_1),{state:Q.MessageStates.SENT,id:e++})),G.default.create(r({},x.default.createMessage(this.channel.id,this.state.previewMessage),{state:Q.MessageStates.SENT,id:e++})),G.default.create(r({},x.default.createMessage(this.channel.id,g.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_3),{state:Q.MessageStates.SENT,id:e++})),G.default.create(r({},x.default.createMessage(this.channel.id,g.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_4),{state:Q.MessageStates.SENT,id:e++})),G.default.create(r({},x.default.createMessage(this.channel.id,g.default.Messages.USER_SETTINGS_APPEARANCE_PREVIEW_MESSAGE_5),{state:Q.MessageStates.SENT,id:e}))]},componentWillUnmount:function(){this.channel=null,this.messages=null},componentWillUpdate:function(e,t){this.state.theme!==t.theme&&(this.messages[1]=G.default.create(r({},x.default.createMessage(this.channel.id,t.previewMessage),{state:"SENT"})))},renderZoomSlider:function(){return v.default.embedded?o(b.FormItem,{title:g.default.Messages.ACCESSIBILITY_ZOOM_LEVEL_LABEL,className:"margin-top-20"},void 0,o(O.default,{className:"margin-top-20 margin-bottom-4",defaultValue:this.state.zoom,markers:Q.Accessibility.ZOOM_SCALES,stickToMarkers:!0,onValueChange:this.handleZoomChange,onValueRender:this.handleSliderRender}),o(b.FormText,{type:b.FormText.Types.DESCRIPTION},void 0,g.default.Messages.USER_SETTINGS_APPEARANCE_ZOOM_TIP.format({modKey:w.modKey}))):null},renderFontScaleSlider:function(){return o(b.FormItem,{title:g.default.Messages.ACCESSIBILITY_FONT_SCALING_LABEL,className:"margin-top-40"},void 0,o(L.default,{align:L.default.Align.CENTER},void 0,Z,o(L.default.Child,{},void 0,o(O.default,{className:"margin-top-4",defaultValue:this.state.fontScale,markers:Q.Accessibility.FONT_SCALES,stickToMarkers:!0,equidistant:!0,onValueChange:this.handleFontScaleChange,onValueRender:this.handleSliderRender,onMarkerRender:this.handleRenderFontScale})),X))},renderPreview:function(){var e=this,t=this.state.messageDisplayCompact;return o(I.default,{className:"preview",outline:!0},void 0,o("div",{className:(0,p.default)("preview-inner",{"preview-compact":t})},void 0,this.messages.map(function(n){return o(k.default,{channel:e.channel,messages:[n],enableInteraction:!1,compact:t},n.id)})))},renderThemePicker:function(){return o(b.FormItem,{title:g.default.Messages.THEME,className:"margin-top-40"},void 0,o(N.default,{options:[{name:g.default.Messages.THEME_LIGHT,value:Q.ThemeTypes.LIGHT},{name:g.default.Messages.THEME_DARK,value:Q.ThemeTypes.DARK}],onChange:this.handleThemeChange,value:this.state.theme}))},renderDisplayMode:function(){return o(b.FormItem,{title:g.default.Messages.MESSAGE_DISPLAY_MODE_LABEL,className:"margin-top-40"},void 0,o(N.default,{options:[{name:g.default.Messages.COZY_MODE,value:!1},{name:g.default.Messages.COMPACT_MODE,value:!0}],onChange:this.handleMessageDisplayModeChange,value:this.state.messageDisplayCompact}))},renderDeveloperMode:function(){if(_.SUPPORTS_COPY)return o(M.default,{value:this.state.developerMode,onChange:this.handleDeveloperModeChecked,note:g.default.Messages.DEVELOPER_MODE_HELP_TEXT.format({apiDocsUrl:Q.MARKETING_URLS.API_DOCS})},void 0,g.default.Messages.DEVELOPER_MODE)},renderHardwareAcceleration:function(){if(v.default.supportsFeature(Q.NativeFeatures.ELECTRON_CONFIGURE_HARDWARE_ACCELERATION))return o(M.default,{className:"margin-top-4",value:this.state.hardwareAccelerationEnabled,onChange:this.handleHardwareAccelerationChecked,note:g.default.Messages.HARDWARE_ACCELERATION_HELP_TEXT},void 0,g.default.Messages.HARDWARE_ACCELERATION)},render:function(){return o(b.FormSection,{className:"user-settings-appearance",tag:b.FormTitleTags.H2,title:g.default.Messages.APPEARANCE},void 0,this.renderPreview(this.state.theme,this.state.messageDisplayCompact),this.renderThemePicker(),this.renderDisplayMode(),this.renderFontScaleSlider(),this.renderZoomSlider(),o(b.FormTitle,{tag:b.FormTitleTags.H2,className:"margin-top-60 margin-bottom-20"},void 0,g.default.Messages.SETTINGS_ADVANCED),this.renderDeveloperMode(),this.renderHardwareAcceleration())},handleThemeChange:function(e){F.default.updateRemoteSettings({theme:e.value})},handleMessageDisplayModeChange:function(e){F.default.updateRemoteSettings({messageDisplayCompact:e.value})},handleDeveloperModeChecked:function(e){F.default.updateRemoteSettings({developerMode:e.currentTarget.checked})},handleHardwareAccelerationChecked:function(e){var t=e.currentTarget.checked;H.default.push(function(e){return s.default.createElement(y.default,r({header:g.default.Messages.SWITCH_HARDWARE_ACCELERATION,confirmText:g.default.Messages.OKAY,cancelText:g.default.Messages.CANCEL,onConfirm:function(){return v.default.setEnableHardwareAcceleration(t)},red:!0},e),o("p",{},void 0,g.default.Messages.SWITCH_HARDWARE_ACCELERATION_BODY))})},handleRenderFontScale:function(e){return 82===e?e=80:92===e&&(e=90),""+e.toFixed(0)},handleSliderRender:function(e){return e.toFixed(0)+"%"},handleFontScaleChange:function(e){(0,B.fontScaleTo)(Math.round(e))},handleZoomChange:function(e){(0,B.zoomTo)(e)}});t.default=J,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(7),d=a(c),p=n(2),h=a(p),g=n(127),m=a(g),v=n(3),E=a(v),y=n(13),_=a(y),b=n(77),S=n(15),I=a(S),T=n(141),N=a(T),A=n(28),M=a(A),C=n(142),O=a(C),D=n(121),L=a(D),R=n(48),x=a(R),w=n(159),P=a(w),k=n(14),U=a(k),G=n(1232),j=a(G),F=n(790),B=a(F),V=n(31),H=a(V),z=n(1);n(2262);var W=h.default.connectStores([_.default],function(){return{theme:_.default.theme}})(O.default),Y=l("i",{className:"permission-checkmark"}),K=function(e){function t(){var n,a,i;o(this,t);for(var u=arguments.length,c=Array(u),d=0;d<u;d++)c[d]=arguments[d];return n=a=r(this,e.call.apply(e,[this].concat(c))),a.renderPermissions=function(){var e=a.props.scopes.map(function(e){var t=void 0;switch(e){case z.OAuth2Scopes.IDENTIFY:t=E.default.Messages.SCOPE_IDENTIFY;break;case z.OAuth2Scopes.EMAIL:t=E.default.Messages.SCOPE_EMAIL;break;case z.OAuth2Scopes.CONNECTIONS:t=E.default.Messages.SCOPE_CONNECTIONS;break;case z.OAuth2Scopes.GUILDS:t=E.default.Messages.SCOPE_GUILDS;break;case z.OAuth2Scopes.GUILDS_JOIN:t=E.default.Messages.SCOPE_GUILDS_JOIN;break;case z.OAuth2Scopes.GDM_JOIN:t=E.default.Messages.SCOPE_GDM_JOIN;break;case z.OAuth2Scopes.BOT:t=E.default.Messages.SCOPE_BOT;break;case z.OAuth2Scopes.RPC:t=E.default.Messages.SCOPE_RPC;break;case z.OAuth2Scopes.RPC_API:t=E.default.Messages.SCOPE_RPC_API;break;case z.OAuth2Scopes.RPC_NOTIFICATIONS_READ:t=E.default.Messages.SCOPE_RPC_NOTIFICATIONS_READ;break;case z.OAuth2Scopes.MESSAGES_READ:t=E.default.Messages.SCOPE_MESSAGES_READ;break;default:t=e}return l("li",{className:"permission margin-top-8"},e,Y,l(b.FormText,{},void 0,t))});if(e.length)return l(b.FormItem,{faded:!0,title:E.default.Messages.PERMISSIONS,className:"margin-top-20"},void 0,l("ul",{},void 0,e))},a.renderHeader=function(){var e=a.props,t=e.application,n=e.controlling,o=x.default.getAppIconURL(t),r=o?l(I.default.Child,{className:"app-avatar no-user-drag",grow:0},void 0,l("img",{src:o})):null;return l(I.default,{className:"header margin-bottom-20"},void 0,l(I.default,{className:"header-info"},void 0,r,l(I.default.Child,{},void 0,l(b.FormText,{type:b.FormTextTypes.LABEL_BOLD},void 0,l("span",{},void 0,t.name),n?l("span",{className:"controlling"},void 0,E.default.Messages.CURRENTLY_CONTROLLING):null))),l(I.default.Child,{wrap:!0,grow:0},void 0,l(M.default,{className:"delete-app",color:A.ButtonColors.RED,look:A.ButtonLooks.OUTLINED,size:A.ButtonSizes.SMALL,onClick:a.handleDeleteApp},void 0,E.default.Messages.DEAUTHORIZE)))},a.handleDeleteApp=function(){U.default.push(function(e){return f.default.createElement(m.default,s({title:E.default.Messages.DEAUTHORIZE_APP,body:E.default.Messages.DELETE_APP_CONFIRM_MSG,confirmText:E.default.Messages.DEAUTHORIZE,cancelText:E.default.Messages.CANCEL,onConfirm:a.props.onDelete},e))})},i=n,r(a,i)}return i(t,e),t.prototype.renderDescription=function(){var e=this.props.application;if(e.description)return l(b.FormItem,{faded:!0,title:E.default.Messages.ABOUT_THIS_APP},void 0,l(b.FormText,{},void 0,e.description))},t.prototype.render=function(){return l(N.default,{className:"authed-app margin-bottom-8",outline:!0},void 0,this.renderHeader(),this.renderDescription(),this.renderPermissions())},t}(f.default.PureComponent),Q=l(P.default,{}),Z=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return d.default.bindAll(a,["handleDelete"]),a}return i(t,e),t.prototype.isControlling=function(e){return!!this.props.connectedApps.find(function(t){return t.id===e.id})},t.prototype.componentDidMount=function(){j.default.fetch()},t.prototype.handleDelete=function(e){var t=e.id;j.default.delete(t)},t.prototype.renderEmpty=function(){return l(W,{className:"margin-top-20"},void 0,l(C.EmptyStateImage,{darkSrc:n(2952),lightSrc:n(2953),width:380,height:282}),l(C.EmptyStateText,{note:E.default.Messages.NO_AUTHORIZED_APPS_NOTE},void 0,E.default.Messages.NO_AUTHORIZED_APPS))},t.prototype.renderContent=function(){var e=this,t=this.props.applications;return t?0===t.length?this.renderEmpty():t.map(function(t){return s({controlling:e.isControlling(t.application)},t)}).filter(function(e){var t=e.scopes,n=e.controlling;return!(t.includes(z.OAuth2Scopes.RPC)&&!n)}).sort(function(e,t){return+t.controlling-+e.controlling}).map(function(t){return f.default.createElement(K,s({key:t.id,onDelete:e.handleDelete.bind(e,t)},t))}):l(L.default,{className:"margin-top-20",type:L.default.Type.SPINNING_CIRCLE})},t.prototype.render=function(){return this.props.hide?Q:l(b.FormSection,{className:"user-settings-authorized-apps",tag:b.FormTitleTags.H2,title:E.default.Messages.AUTHORIZED_APPS},void 0,l(b.FormNotice,{className:"margin-bottom-40",type:T.Types.PRIMARY,title:E.default.Messages.APPLICATIONS_AND_CONNECTIONS,body:E.default.Messages.APPLICATIONS_AND_CONNECTIONS_BODY}),this.renderContent())},t}(f.default.PureComponent);t.default=h.default.connectStores([B.default,H.default],function(){return{hide:H.default.hidePersonalInformation,applications:B.default.getApps(),connectedApps:B.default.getConnectedApps()}})(Z),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(6),d=a(c),p=n(2),h=a(p),g=n(128),m=a(g),v=n(127),E=a(v),y=n(182),_=a(y),b=n(77),S=n(141),I=a(S),T=n(121),N=a(T),A=n(28),M=a(A),C=n(110),O=a(C),D=n(142),L=a(D),R=n(738),x=a(R),w=n(159),P=a(w),k=n(788),U=(a(k),n(308)),G=a(U),j=n(12),F=a(j),B=n(31),V=a(B),H=n(13),z=a(H),W=n(309),Y=a(W),K=n(14),Q=a(K),Z=n(210),X=a(Z),J=n(108),q=a(J),$=n(3),ee=a($),te=n(1),ne=n(18),ae=a(ne),oe=n(5),re=a(oe);n(2263),n(604);var ie=h.default.connectStores([z.default],function(){return{theme:z.default.theme}})(L.default),se=f.default.createClass({displayName:"Integration",mixins:[d.default,h.default.StoreListenerMixin(F.default,G.default)],getStateFromStores:function(){var e=this.props.integration;return{isJoining:G.default.isJoining(e.id),isMember:F.default.getGuild(e.guild.id)}},render:function(){var e=this.state,t=e.isMember,n=e.isJoining,a=this.props.integration,o=void 0;t||(o=l(M.default,{size:A.ButtonSizes.SMALL,look:A.ButtonLooks.GHOST,color:A.ButtonColors.WHITE,onClick:this.handleJoinGuild,disabled:n},void 0,l("span",{},void 0,n?ee.default.Messages.JOINING_SERVER:ee.default.Messages.JOIN_SERVER)));var r=void 0,i=void 0;switch(a.type){case"youtube":r=a.account.name,i="gaming.youtube.com/channel/"+a.account.id;break;case"twitch":default:r=i="twitch.tv/"+a.account.name}return l("div",{className:"integration margin-top-8"},void 0,l("div",{},void 0,l(_.default,{size:"small",guild:a.guild}),l("div",{className:"integration-inner"},void 0,l(b.FormText,{},void 0,a.guild.toString()),l("a",{className:"channel-link",href:"//"+i,target:"_blank"},void 0,r))),o)},handleJoinGuild:function(){X.default.joinServer(this.props.integration.id)}}),le=l("div",{}),ue=l(b.FormDivider,{className:"connected-account-separator"}),fe=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));ce.call(a);var i=n.account,s=i.friendSync,l=i.visibility,u=i.verified;return a.state={friendSync:s,visibility:l,verified:u},a}return i(t,e),t.prototype.componentWillReceiveProps=function(e){var t=e.account,n=t.friendSync,a=t.visibility,o=t.verified;!this.state.verified&&o&&this.handleInProgressVisibilityChange(),this.setState({friendSync:n,visibility:a,verified:o})},t.prototype.renderHeader=function(e){var t=this.props.account;return l("div",{className:"connection-header margin-bottom-20"},void 0,l("img",{className:"connection-icon no-user-drag",src:e.icon.color}),l("div",{},void 0,l(b.FormText,{className:"connection-account-value"},void 0,t.name),l(b.FormText,{className:"connection-account-label",type:b.FormTextTypes.DESCRIPTION},void 0,ee.default.Messages.ACCOUNT_NAME)),l("div",{className:"connection-delete flex-center",onClick:this.handleDisconnect},void 0,l("span",{},void 0,ee.default.Messages.SERVICE_CONNECTIONS_DISCONNECT)))},t.prototype.renderConnectionOptions=function(){var e=this.state,t=e.visibility,n=e.friendSync,a=this.props.account,o=void 0;return te.UNSAFE_PLATFORM_TYPES.has(a.type)&&(o=l(O.default,{className:"connection-option-switch margin-bottom-20",clear:!0,hideBorder:!0,value:n,onChange:this.handleFriendSyncChange},void 0,ee.default.Messages.SYNC_FRIENDS)),l("div",{className:"connection-options-wrapper"},void 0,l("div",{className:"connection-options"},void 0,l(O.default,{className:"connection-option-switch margin-bottom-20",clear:!0,hideBorder:!0,value:1===t,onChange:this.handleVisibilityChange},void 0,ee.default.Messages.DISPLAY_ON_PROFILE),o),le)},t.prototype.renderIntegrations=function(e){var t=this.props.account,n=e.name.toUpperCase().replace(/\./g,"");return t.revoked?l(b.FormItem,{className:"integrations-wrapper"},void 0,l(b.FormTitle,{tag:b.FormTitleTags.H5},void 0,l("span",{style:{color:te.Colors[n+"_200"]}},void 0,ee.default.Messages.SUB_ENABLED_SERVERS)),l(b.FormText,{},void 0,ee.default.Messages.CONNECTED_ACCOUNT_REVOKED.format({onReconnect:this.handleReconnect}))):t.integrations.length>0?l(b.FormItem,{className:"integrations-wrapper"},void 0,l(b.FormTitle,{tag:b.FormTitleTags.H5,className:"integration-sub-enabled-title"},void 0,l("span",{style:{color:te.Colors[n+"_200"]}},void 0,ee.default.Messages.SUB_ENABLED_SERVERS)),l("div",{className:"connection-integrations-inner"},void 0,t.integrations.map(function(t){return l(se,{integration:t,color:e.color},t.id)}))):void 0},t.prototype.renderDivider=function(){var e=this.props.account,t=e.revoked,n=e.integrations;if(t||n.length>0)return ue},t.prototype.render=function(){var e=this.props.account,t=m.default.get(e.type);return l("div",{className:"connection elevation-low margin-bottom-8",style:{borderColor:t.color,backgroundColor:t.color}},void 0,this.renderHeader(t),this.renderConnectionOptions(),this.renderDivider(),this.renderIntegrations(t))},t}(f.default.PureComponent),ce=function(){var e=this;this.handleReconnect=function(){(0,R.authorize)(e.props.account.type)},this.handleDisconnect=function(){if(te.UNSAFE_PLATFORM_TYPES.has(e.props.account.type))e.props.onDisconnect();else{var t=m.default.get(e.props.account.type);Q.default.push(function(n){return f.default.createElement(E.default,s({title:ee.default.Messages.DISCONNECT_ACCOUNT_TITLE.format({name:t.name}),body:ee.default.Messages.DISCONNECT_ACCOUNT_BODY,confirmText:ee.default.Messages.DISCONNECT_ACCOUNT,cancelText:ee.default.Messages.CANCEL,onConfirm:e.props.onDisconnect},n))})}},this.handleVisibilityChange=function(t){var n=e.props.account,a=t.currentTarget.checked?1:0;if(te.VERIFIABLE_PLATFORM_TYPES.has(n.type)&&!e.state.verified)return e._inProgressVisibility=a,void(0,R.authorize)(n.type);e.setState({visibility:a}),X.default.setVisibility(n.type,n.id,a)},this.handleInProgressVisibilityChange=function(){if(null!=e._inProgressVisibility){var t=e.props.account;X.default.setVisibility(t.type,t.id,e._inProgressVisibility),e._inProgressVisibility=null}},this.handleFriendSyncChange=function(t){var n=e.props.account,a=t.currentTarget.checked;e.setState({friendSync:a}),X.default.setFriendSync(n.type,n.id,a)}},de=l(P.default,{}),pe=f.default.createClass({displayName:"UserSettingsConnections",mixins:[d.default,h.default.StoreListenerMixin(G.default,Y.default,z.default,V.default)],getInitialState:function(){return{descriptionWarning:!1}},getStateFromStores:function(){return{hide:V.default.hidePersonalInformation,fetching:G.default.isFetching(),accounts:G.default.getAccounts(),notDetectedPlatformTypes:Y.default.getNotDetectedPlatformTypes(),detectPlatformAccounts:z.default.detectPlatformAccounts}},componentDidUpdate:function(e,t){var n=this.state.notDetectedPlatformTypes;t.notDetectedPlatformTypes!==n&&this.setState({descriptionWarning:!0})},componentDidMount:function(){X.default.fetch()},handleDisconnect:function(e){var t=e.type,n=e.id,a=e.name;X.default.disconnect(t,n,a)},handleDetectPlatformAccounts:function(e){q.default.updateRemoteSettings({detectPlatformAccounts:e.currentTarget.checked})},renderConnectCard:function(){var e=this.state.descriptionWarning,t=ee.default.Messages.CONNECT_ACCOUNT_DESCRIPTION;return e&&(t=l("div",{className:"warning"},void 0,ee.default.Messages.CONNECT_ACCOUNT_NONE_DETECTED)),l(I.default,{className:(0,re.default)("connect-account-list",{"margin-bottom-20":!ae.default.embedded})},void 0,l(b.FormTitle,{faded:!0,className:"margin-bottom-4"},void 0,ee.default.Messages.CONNECT_ACCOUNT_TITLE),l(b.FormText,{className:"user-settings-connections-list-description margin-bottom-8"},void 0,t),l("div",{className:"settings-connected-accounts"},void 0,m.default.filter(function(e){return e.enabled}).map(function(e){return l(x.default,{type:e.type,location:"User Settings"},e.type)})))},renderDetectPlatformAccounts:function(){var e=this.state.detectPlatformAccounts;if(ae.default.embedded)return l(O.default,{value:e,onChange:this.handleDetectPlatformAccounts,className:"margin-top-20 margin-bottom-20"},void 0,ee.default.Messages.DETECT_PLATFORM_ACCOUNTS)},renderConnectionList:function(){var e=this,t=this.state,a=t.fetching,o=t.accounts,r=void 0;return r=a?l(N.default,{className:"margin-top-20",type:N.default.Type.SPINNING_CIRCLE}):0===o.length?l(ie,{className:"margin-top-40"},void 0,l(D.EmptyStateImage,{darkSrc:n(2954),lightSrc:n(2955),width:230,height:220}),l(D.EmptyStateText,{note:ee.default.Messages.CONNECTED_ACCOUNTS_NONE},void 0,ee.default.Messages.CONNECTED_ACCOUNTS_NONE_TITLE)):o.map(function(t,n){return l(fe,{account:t,onDisconnect:e.handleDisconnect.bind(e,t)},n)}),l(b.FormItem,{className:"connection-list"},void 0,r)},render:function(){return this.state.hide?de:l(b.FormSection,{className:"user-settings-connections",tag:b.FormTitleTags.H2,title:ee.default.Messages.CONNECTIONS},void 0,this.renderConnectCard(),this.renderDetectPlatformAccounts(),this.renderConnectionList())}});t.default=pe,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(6),f=a(u),c=n(77),d=n(15),p=a(d),h=n(166),g=a(h),m=n(298),v=a(m),E=n(120),y=a(E),_=n(1),b=o(c.FormDivider,{className:"margin-top-40 margin-bottom-20"}),S=o(c.FormSection,{},void 0,o(c.FormText,{},void 0,"No Experiments are currently running")),I=i.default.createClass({displayName:"UserSettingsModalExperiments",mixins:[f.default,l.default.LazyStoreListenerMixin(y.default)],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){return{experiments:y.default.getRegisteredExperiments(),overrides:y.default.getExperimentOverrides()}},renderExperimentGroup:function(e,t){var n=this.state.experiments[e],a=n.description;return Array.isArray(a)||(a=[a]),a=a.map(function(e,t){return o(c.FormText,{type:c.FormTextTypes.DESCRIPTION},t,e)}),o("div",{className:"margin-top-20"},t,o(c.FormSection,{},e,o(c.FormTitle,{tag:c.FormTitleTags.H3,className:"margin-bottom-8"},void 0,n.title),this.renderExperimentTypes(e,n.experiments),o("div",{className:"margin-top-4"},void 0,a)),b)},renderExperimentTypes:function(e,t){var n=Object.keys(t),a=this.state.overrides[e];return o(p.default,{},void 0,o(p.default.Child,{},void 0,o(c.FormItem,{title:"Type Override"},void 0,o(g.default,{value:a?a.type:"",clearable:!0,searchable:!1,options:this.getExperimentTypes(n),onChange:function(t){return v.default.overrideType(e,t&&t.value)}}))),o(p.default.Child,{},void 0,o(c.FormItem,{title:"Bucket Override"},void 0,o(g.default,{value:a?a.bucket:"",disabled:!a||!a.type,clearable:!0,searchable:!1,options:this.getExperimentBuckets(t[a?a.type:""]),onChange:function(t){return v.default.overrideBucket(e,t&&t.value)}}))))},getExperimentTypes:function(e){return e.map(function(e){return{label:e.charAt(0).toUpperCase()+e.slice(1),value:e}})},getExperimentBuckets:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(function(e){var t=void 0;return t=e===_.ExperimentBuckets.CONTROL?"Control":e===_.ExperimentBuckets.NOT_ELIGIBLE?"Not Eligible":"Treatment "+e,{label:t,value:e}})},renderEmpty:function(){return S},render:function(){var e=Object.keys(this.state.experiments),t=void 0;return t=e.length?e.map(this.renderExperimentGroup):this.renderEmpty(),o(c.FormSection,{tag:c.FormTitleTags.H2,title:"Experiments"},void 0,t)}});t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2),c=a(f),d=n(7),p=a(d),h=n(41),g=a(h),m=n(110),v=a(m),E=n(166),y=a(E),_=n(1664),b=a(_),S=n(1665),I=a(S),T=n(28),N=a(T),A=n(77),M=n(1631),C=a(M),O=n(142),D=a(O),L=n(5),R=a(L),x=n(18),w=a(x),P=n(108),k=a(P),U=n(13),G=a(U),j=n(270),F=a(j),B=n(714),V=a(B),H=n(33),z=a(H),W=n(3),Y=a(W);n(2264),n(330),n(282);var K=c.default.connectStores([G.default],function(){return{theme:G.default.theme}})(D.default),Q=w.default.isWindows(),Z=s(A.FormDivider,{className:"margin-top-8 margin-bottom-8"}),X=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={selectedValue:null},p.default.bindAll(a,["handleGameChange","handleAdd","handleClose"]),a}return i(t,e),t.prototype.render=function(){var e=this.props.candidates,t=this.state.selectedValue,n=e.map(function(e){return{value:e.pid,label:e.name}});return s("div",{className:"add-game-popout elevation-border-high"},void 0,s(y.default,{clearable:!1,options:n,onChange:this.handleGameChange,value:t}),Z,s("div",{className:"actions flex-horizontal"},void 0,s(N.default,{className:"cancel-button",look:T.ButtonLooks.LINK,color:T.ButtonColors.GREY,onClick:this.handleClose},void 0,Y.default.Messages.CANCEL),s(N.default,{disabled:null==t,onClick:this.handleAdd},void 0,Y.default.Messages.SETTINGS_GAMES_ADD_NEW_GAME)))},t.prototype.handleGameChange=function(e){this.setState({selectedValue:e})},t.prototype.handleAdd=function(){V.default.addGame(this.state.selectedValue.value),(0,this.props.onClose)()},t.prototype.handleClose=function(){(0,this.props.onClose)()},t}(u.default.PureComponent),J=c.default.connectStores([F.default],function(){return{candidates:F.default.getCandidateGames()}})(X),q=s("i",{className:"game-verified-icon"}),$=s(I.default,{className:"overlay-toggle-icon-on"}),ee=s(b.default,{className:"overlay-toggle-icon-off"}),te=s("i",{className:"overlay-warning-icon"}),ne=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return p.default.bindAll(a,["handleRemoveClick","handleNameEdit","handleNameChange","handleOverlayToggle","handleEnterKey"]),a.state={editingName:null!=n.game?n.game.gameName:""},a}return i(t,e),t.prototype.componentWillReceiveProps=function(e){this.props.nowPlaying&&e.game&&e.game.gameName!==this.state.editingName&&this.setState({editingName:e.game.gameName})},t.prototype.renderName=function(){var e=this.props.game;return null==e?s("div",{className:"game-name"},void 0,Y.default.Messages.SETTINGS_GAMES_NO_GAME_DETECTED):e.verified?s("div",{className:"flex-horizontal"},void 0,s("div",{className:"game-name game-name-verified"},void 0,e.gameName),s(z.default,{text:Y.default.Messages.SETTINGS_GAMES_VERIFIED_ICON},void 0,q)):s("input",{className:"game-name game-name-input",type:"text",maxLength:128,value:this.state.editingName,onBlur:this.handleNameEdit,onKeyDown:this.handleEnterKey,onChange:this.handleNameChange})},t.prototype.renderLastPlayed=function(){var e=this.props,t=e.game,n=e.nowPlaying;if(null==t)return s("div",{className:"last-played"},void 0,Y.default.Messages.SETTINGS_GAMES_NOT_PLAYING);var a=t.played,o=t.exePath,r=void 0;return n?r=Y.default.Messages.SETTINGS_GAMES_NOW_PLAYING_STATE:a&&(r=Y.default.Messages.SETTINGS_GAMES_LAST_PLAYED.format({when:a})),s("div",{className:"last-played"},void 0,s(C.default,{hoverText:o?o.toUpperCase():""},void 0,r))},t.prototype.renderOverlayToggle=function(){var e=this.props.game;if(!Q||null==e)return null;var t=e.overlay,n=e.overlayWarn,a=t?Y.default.Messages.SETTINGS_GAMES_OVERLAY_ON:Y.default.Messages.SETTINGS_GAMES_OVERLAY_OFF,o=t?$:ee;return s("div",{className:"flex-center flex-nowrap flex-justify-between"},void 0,n?s(z.default,{text:Y.default.Messages.SETTINGS_GAMES_OVERLAY_WARNING},void 0,te):null,s("div",{className:"overlay-status-text"},void 0,a),s(z.default,{text:Y.default.Messages.SETTINGS_GAMES_TOGGLE_OVERLAY},void 0,s("div",{className:"overlay-toggle-icon",onClick:this.handleOverlayToggle},void 0,o)))},t.prototype.renderRemove=function(){return s("div",{className:"round-remove-button remove-game",onClick:this.handleRemoveClick},void 0,Y.default.Messages.REMOVE_KEYBIND)},t.prototype.render=function(){var e=this.props,t=e.nowPlaying,n=e.game,a=null!=n;return s("div",{className:(0,R.default)("flex-center",{game:!t,"ui-hover-card":!t,"now-playing":a&&t,"not-detected":!a&&t})},void 0,s("div",{className:"game-name-last-played flex-vertical"},void 0,this.renderName(),this.renderLastPlayed()),this.renderOverlayToggle(),!t&&a?this.renderRemove():null)},t.prototype.handleRemoveClick=function(){V.default.deleteEntry(this.props.game)},t.prototype.handleNameEdit=function(){var e=this.props.game,t=this.state.editingName;e.gameName!==t&&V.default.editName(e,t)},t.prototype.handleNameChange=function(e){this.setState({editingName:e.target.value})},t.prototype.handleEnterKey=function(e){13==e.keyCode&&(e.target.blur(),e.preventDefault())},t.prototype.handleOverlayToggle=function(){V.default.toggleOverlay(this.props.game)},t}(u.default.PureComponent),ae=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.componentDidMount=function(){F.default.watchCandidateGames(!0)},t.prototype.componentWillUnmount=function(){F.default.watchCandidateGames(!1)},t.prototype.handleChangeCurrentGame=function(e){k.default.updateRemoteSettings({showCurrentGame:e.currentTarget.checked})},t.prototype.renderPopout=function(e){return u.default.createElement(J,e)},t.prototype.renderGameList=function(){var e=this.props.gameHistory;return e.length?s(A.FormSection,{className:"games-list"},void 0,s(A.FormTitle,{className:"margin-bottom-4"},void 0,Y.default.Messages.SETTINGS_GAMES_ADDED_GAMES_LABEL),e.map(function(e){return s(ne,{game:e},e.gameName)})):s(K,{className:"margin-top-40"},void 0,s(O.EmptyStateImage,{darkSrc:n(2956),lightSrc:n(2957),width:430,height:250}),s(O.EmptyStateText,{},void 0,Y.default.Messages.SETTINGS_GAMES_NO_GAMES_HEADER))},t.prototype.render=function(){var e=this.props,t=e.runningGame,n=e.showCurrentGame;return s(A.FormSection,{className:"user-settings-games",tag:A.FormTitleTags.H2,title:Y.default.Messages.GAME_ACTIVITY},void 0,s(ne,{game:t,nowPlaying:!0}),s("div",{className:"now-playing-add margin-reset margin-top-8 margin-bottom-20"},void 0,s("span",{},void 0,Y.default.Messages.SETTINGS_GAMES_NOT_SEEING_GAME),s(g.default,{closeOnScroll:!1,render:this.renderPopout,shadow:!1,position:g.default.BOTTOM},void 0,s(N.default,{look:T.ButtonLooks.LINK,size:T.ButtonSizes.MIN,color:T.ButtonColors.LINK},void 0,Y.default.Messages.SETTINGS_GAMES_ADD_GAME))),s(v.default,{className:"margin-bottom-40",value:n,onChange:this.handleChangeCurrentGame},void 0,Y.default.Messages.SHOW_CURRENT_GAME),this.renderGameList())},t}(u.default.PureComponent);t.default=c.default.connectStores([G.default,F.default],function(){return{showCurrentGame:G.default.showCurrentGame,gameHistory:F.default.getGamesSeen(),runningGame:F.default.getRunningGame()}})(ae),e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l,u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c=n(0),d=(o(c),n(7)),p=o(d),h=n(2),g=o(h),m=n(379),v=o(m),E=n(109),y=o(E),_=n(3),b=o(_),S=n(13),I=o(S),T=n(77),N=n(15),A=o(N),M=n(166),C=o(M),O=n(28),D=o(O),L=n(142),R=o(L),x=n(507),w=o(x),P=n(50),k=o(P),U=n(715),G=o(U),j=n(1),F=n(186),B=o(F),V=n(273),H=a(V);n(2265),n(330),n(282);var z=g.default.connectStores([I.default],function(){return{theme:I.default.theme}})(R.default),W=(l={},l[j.KeybindCustomActions.UNASSIGNED]=b.default.Messages.KEYBIND_DESCRIPTION_UNASSIGNED,l[j.KeybindCustomActions.PUSH_TO_MUTE]=b.default.Messages.KEYBIND_DESCRIPTION_PUSH_TO_MUTE,l[j.KeybindCustomActions.PUSH_TO_TALK]=b.default.Messages.KEYBIND_DESCRIPTION_PUSH_TO_TALK,l[j.KeybindCustomActions.TOGGLE_MUTE]=b.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_MUTE,l[j.KeybindCustomActions.TOGGLE_DEAFEN]=b.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_DEAFEN,l[j.KeybindCustomActions.TOGGLE_VOICE_MODE]=b.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_VOICE_MODE,l[j.KeybindCustomActions.TOGGLE_STREAMER_MODE]=b.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_STREAMER_MODE,l),Y=[{value:j.KeybindCustomActions.UNASSIGNED,label:b.default.Messages.KEYBIND_UNASSIGNED},{value:j.KeybindCustomActions.PUSH_TO_TALK,label:b.default.Messages.KEYBIND_PUSH_TO_TALK},{value:j.KeybindCustomActions.PUSH_TO_MUTE,label:b.default.Messages.KEYBIND_PUSH_TO_MUTE},{value:j.KeybindCustomActions.TOGGLE_MUTE,label:b.default.Messages.KEYBIND_TOGGLE_MUTE},{value:j.KeybindCustomActions.TOGGLE_DEAFEN,label:b.default.Messages.KEYBIND_TOGGLE_DEAFEN},{value:j.KeybindCustomActions.TOGGLE_VOICE_MODE,label:b.default.Messages.KEYBIND_TOGGLE_VOICE_MODE},{value:j.KeybindCustomActions.TOGGLE_STREAMER_MODE,label:b.default.Messages.KEYBIND_TOGGLE_STREAM_MODE}],K=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return p.default.bindAll(a,["handleActionChanged","handleShortcutChange","handleDeleteKeybind"]),a}return s(t,e),t.prototype.handleActionChanged=function(e){G.default.setKeybind(f({},this.props.keybind,{action:e.value}))},t.prototype.handleShortcutChange=function(e){G.default.setKeybind(f({},this.props.keybind,{shortcut:e}))},t.prototype.handleDeleteKeybind=function(){G.default.deleteKeybind(this.props.keybind.id)},t.prototype.renderMessage=function(){return B.default.hasBind(H.toString(this.props.keybind.shortcut))?u(k.default,{className:"keybind-message",type:P.Types.DESCRIPTION,style:{color:j.Colors.STATUS_RED}},void 0,b.default.Messages.KEYBIND_CONFLICT):u(k.default,{className:"keybind-message",type:P.Types.DESCRIPTION},void 0,this.props.keybindDescriptions[this.props.keybind.action])},t.prototype.render=function(){return u(A.default,{direction:A.default.Direction.VERTICAL,className:"keybind-group ui-hover-card"},void 0,u("div",{className:"round-remove-button remove-keybind",onClick:this.handleDeleteKeybind},void 0,b.default.Messages.REMOVE_KEYBIND),u(A.default,{className:"margin-bottom-8"},void 0,u(A.default.Child,{basis:"50%"},void 0,u(T.FormItem,{title:b.default.Messages.USER_SETTINGS_KEYBINDS_ACTION},void 0,u(C.default,{options:this.props.keybindActionTypes,onChange:this.handleActionChanged,value:this.props.keybind.action,clearable:!1,searchable:!1}))),u(A.default.Child,{basis:"50%"},void 0,u(T.FormItem,{title:b.default.Messages.USER_SETTINGS_KEYBINDS_KEYBIND},void 0,u(w.default,{defaultValue:this.props.keybind.shortcut,onChange:this.handleShortcutChange})))),u(A.default.Child,{},void 0,this.renderMessage()))},t}(c.PureComponent),Q=u(T.FormDivider,{}),Z=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n)),o=f({},W),s=[].concat(Y);return y.default.isSupported()&&(o[j.KeybindCustomActions.TOGGLE_OVERLAY]=b.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_OVERLAY,s.push({value:j.KeybindCustomActions.TOGGLE_OVERLAY,label:b.default.Messages.KEYBIND_TOGGLE_OVERLAY}),o[j.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK]=b.default.Messages.KEYBIND_DESCRIPTION_TOGGLE_OVERLAY_INPUT_LOCK,s.push({value:j.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK,label:b.default.Messages.KEYBIND_TOGGLE_OVERLAY_INPUT_LOCK})),a.state={keybindDescriptions:o,keybindActionTypes:s},p.default.bindAll(a,["handleAddKeybind"]),a}return s(t,e),t.prototype.handleAddKeybind=function(){G.default.addKeybind()},t.prototype.renderKeybinds=function(e){var t=this;return e.map(function(e){return u(K,{keybind:e,keybindDescriptions:t.state.keybindDescriptions,keybindActionTypes:t.state.keybindActionTypes},e.id)})},t.prototype.renderEmpty=function(e){if(0===e.length)return u(z,{className:"margin-top-60"},void 0,u(L.EmptyStateImage,{darkSrc:n(2958),lightSrc:n(2959),width:320,height:170}))},t.prototype.render=function(){var e=(0,p.default)(this.props.keybinds).filter(function(e){return!e.managed}).sortBy(function(e){return e.id}).value();return u(T.FormSection,{className:"user-settings-keybinds",tag:T.FormTitleTags.H2,title:b.default.Messages.KEYBINDS},void 0,u(A.default,{justify:A.default.Justify.BETWEEN,className:"margin-bottom-20"},void 0,u(A.default.Child,{grow:0},void 0,u("div",{className:"ghost-pill cursor-default"},void 0,b.default.Messages.ADD_KEYBIND_WARNING)),u(A.default.Child,{wrap:!0,grow:0},void 0,u(D.default,{size:O.ButtonSizes.SMALL,onClick:this.handleAddKeybind},void 0,b.default.Messages.ADD_KEYBIND))),Q,u(T.FormSection,{className:"keybind-list"},void 0,this.renderKeybinds(e),this.renderEmpty(e)))},t}(c.PureComponent);t.default=g.default.connectStores([v.default],function(){return{keybinds:v.default.getKeybinds()}})(Z),e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=n(0),l=o(s),u=n(6),f=o(u),c=n(2),d=o(c),p=n(77),h=n(1643),g=o(h),m=n(108),v=o(m),E=n(13),y=o(E),_=n(3),b=o(_),S=l.default.createClass({displayName:"UserSettingsLocale",mixins:[d.default.StoreListenerMixin(y.default),f.default],getInitialState:function(){return{locales:b.default.getAvailableLocales().map(function(e){return i({},e,{image:n(1223)("./"+e.value+".png")})})}},getStateFromStores:function(){return{currentLocale:y.default.locale}},render:function(){return r(p.FormSection,{className:"user-settings-locale",tag:p.FormTitleTags.H2,title:b.default.Messages.LANGUAGE},void 0,r(p.FormNotice,{className:"margin-bottom-40",type:p.FormNoticeTypes.PRIMARY,imageData:{src:n(3024),width:36,height:36},title:b.default.Messages.HELP_US_TRANSLATE_TITLE,body:b.default.Messages.HELP_US_TRANSLATE_BODY.format({translationSiteURL:b.default.translationSiteURL})}),r(p.FormSection,{},void 0,r(p.FormTitle,{className:"margin-reset"},void 0,b.default.Messages.LANGUAGE_SELECT),r(g.default,{options:this.state.locales,value:this.state.currentLocale,onChange:this.handleLocaleChange})))},handleLocaleChange:function(e){this.setState({currentLocale:e.value},function(){return a.nextTick(function(){return v.default.updateRemoteSettings({locale:e.value})})})}});t.default=S,e.exports=t.default}).call(t,n(45))},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=o(u),c=n(2),d=o(c),p=n(7),h=o(p),g=n(3),m=o(g),v=n(368),E=o(v),y=n(230),_=a(y),b=n(77),S=n(15),I=o(S),T=n(382),N=o(T),A=n(166),M=o(A),C=n(110),O=o(C),D=n(226),L=o(D),R=n(352),x=o(R),w=n(108),P=o(w),k=n(223),U=o(k),G=n(13),j=o(G),F=n(1);n(2266);var B=l(I.default.Child,{className:"notifications-sound-icon"},void 0,l("i",{})),V=l(b.FormDivider,{className:"margin-top-40 margin-bottom-40"},"tts-divider"),H=l(b.FormDivider,{className:"margin-top-40 margin-bottom-40"}),z=function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return h.default.bindAll(a,["handlePreviewSound","handleSoundChange","renderSounds","renderTTS","handleAFKTimeoutChange"]),a}return s(t,e),t.prototype.handlePreviewSound=function(e,t){t.stopPropagation(),null!=this._currentPlayingSound&&this._currentPlayingSound.stop(),null==t.target.type&&(this._currentPlayingSound=_.playSound(e))},t.prototype.handleSoundChange=function(e,t){var n=this.props.disabledSounds.filter(function(t){return t!==e});t.currentTarget.checked||n.push(e),x.default.setDisabledSounds(n)},t.prototype.handleDesktopChange=function(e){var t=e.currentTarget.checked?F.DesktopNotificationTypes.ALL:F.DesktopNotificationTypes.NEVER;t!==F.DesktopNotificationTypes.NEVER?x.default.requestPermission("UserSettingsModal"):x.default.setDesktopType(t)},t.prototype.handleTTSChange=function(e){var t=e.value;x.default.setTTSType(t)},t.prototype.handleAFKTimeoutChange=function(e){var t=e.value;P.default.updateRemoteSettings({afkTimeout:t})},t.prototype.renderSounds=function(){var e=this,t=this.props.disabledSounds;return[{label:m.default.Messages.SOUND_MESSAGE,sound:"message1"},{label:m.default.Messages.SOUND_DEAFEN,sound:"deafen"},{label:m.default.Messages.SOUND_UNDEAFEN,sound:"undeafen"},{label:m.default.Messages.MUTE,sound:"mute"},{label:m.default.Messages.UNMUTE,sound:"unmute"},{label:m.default.Messages.SOUND_VOICE_DISCONNECTED,sound:"disconnect"},{label:m.default.Messages.SOUND_PTT_ACTIVATE,sound:"ptt_start"},{label:m.default.Messages.SOUND_PTT_DEACTIVATE,sound:"ptt_stop"},{label:m.default.Messages.SOUND_USER_JOIN,sound:"user_join"},{label:m.default.Messages.SOUND_USER_LEAVE,sound:"user_leave"},{label:m.default.Messages.SOUND_OUTGOING_RING,sound:"call_calling"},{label:m.default.Messages.SOUND_INCOMING_RING,sound:"call_ringing"}].map(function(n){var a=n.label,o=n.sound;return l(I.default,{className:"notifications-sound",justify:I.default.Justify.BETWEEN,align:I.default.Align.CENTER,onClick:e.handlePreviewSound.bind(e,o)},o,l(I.default,{className:"notifications-sound-label",grow:0},void 0,B,l(I.default.Child,{},void 0,l(b.FormTitle,{className:"notifications-sound-text",tag:b.FormTitleTags.H3},void 0,a))),l(I.default.Child,{wrap:!0,grow:0},void 0,l(N.default,{value:t.indexOf(o)===-1,onChange:e.handleSoundChange.bind(e,o)})))})},t.prototype.renderTTS=function(){if(!E.default.supported)return null;var e=[{name:m.default.Messages.TTS_ALLS,value:F.TTSNotificationTypes.ALL_CHANNELS},{name:m.default.Messages.TTS_CURRENT,value:F.TTSNotificationTypes.SELECTED_CHANNEL},{name:m.default.Messages.TTS_NEVER,value:F.TTSNotificationTypes.NEVER}];return l(b.FormItem,{title:m.default.Messages.FORM_LABEL_TTS_NOTIFICATIONS},void 0,l(b.FormText,{type:b.FormTextTypes.DESCRIPTION,className:"margin-bottom-8"},void 0,m.default.Messages.FORM_DESCRIPTION_TTS),l(L.default,{options:e,onChange:this.handleTTSChange,value:this.props.ttsType}),V)},t.prototype.render=function(){var e=this.props,t=e.desktopType,n=e.afkTimeout,a=h.default.range(1,11).map(function(e){return{value:60*e,label:m.default.Messages.DURATION_MINUTES.format({minutes:e})}});return l(b.FormSection,{tag:b.FormTitleTags.H2,title:m.default.Messages.NOTIFICATIONS,className:"user-settings-notifications"},void 0,l(O.default,{className:"margin-bottom-40",value:t!==F.DesktopNotificationTypes.NEVER,onChange:this.handleDesktopChange,note:m.default.Messages.DESKTOP_NOTIFICATIONS_ENABLE_BODY},void 0,m.default.Messages.DESKTOP_NOTIFICATIONS_ENABLE),l(b.FormItem,{title:m.default.Messages.FORM_LABEL_PUSH_AFK_TIMEOUT},void 0,l(M.default,{value:n,clearable:!1,searchable:!1,onChange:this.handleAFKTimeoutChange,options:a}),l(b.FormText,{type:b.FormTextTypes.DESCRIPTION,className:"margin-top-8"},void 0,m.default.Messages.FORM_DESCRIPTION_PUSH_AFK_TIMEOUT),H),this.renderTTS(),l(b.FormItem,{className:"sound-list"},void 0,l(b.FormTitle,{className:"margin-reset"},void 0,m.default.Messages.SOUNDS),this.renderSounds()))},t}(f.default.PureComponent);t.default=d.default.connectStores([U.default,j.default],function(){return{disabledSounds:U.default.getDisabledSounds(),desktopType:U.default.getDesktopType(),ttsType:U.default.getTTSType(),afkTimeout:j.default.afkTimeout}})(z),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){return g.default.find(y.default.getKeybinds(),function(e){return e.managed===!0&&e.action===z.KeybindCustomActions.TOGGLE_OVERLAY_INPUT_LOCK})}t.__esModule=!0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f=n(0),c=a(f),d=n(2),p=a(d),h=n(7),g=a(h),m=n(109),v=a(m),E=n(379),y=a(E),_=n(179),b=a(_),S=n(715),I=a(S),T=n(71),N=a(T),A=n(539),M=a(A),C=n(99),O=a(C),D=n(66),L=a(D),R=n(15),x=a(R),w=n(228),P=a(w),k=n(110),U=a(k),G=n(507),j=a(G),F=n(226),B=a(F),V=n(3),H=a(V),z=n(1),W=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return g.default.bindAll(a,["handleChangeEnabled","handleChangeDisplayNameMode","handleChangeAvatarSizeMode","handleChangeDisplayUserMode","handleInputLockShortcutChange"]),a}return i(t,e),t.prototype.handleChangeEnabled=function(e){b.default.setEnabled(e.currentTarget.checked)},t.prototype.handleChangeDisplayNameMode=function(e){var t=e.value;b.default.setDisplayNameMode(t)},t.prototype.handleChangeAvatarSizeMode=function(e){var t=e.value;b.default.setAvatarSizeMode(t)},t.prototype.handleChangeDisplayUserMode=function(e){var t=e.value;b.default.setDisplayUserMode(t)},t.prototype.handleInputLockShortcutChange=function(e){I.default.setKeybind(u({},this.props.inputLockKeybind,{shortcut:e}))},t.prototype.renderExplanation=function(){return l(M.default,{type:M.default.Types.WARNING,className:"margin-bottom-20 padded",body:H.default.Messages.OVERLAY_EXPLANATION.format({supportURL:N.default.getArticleURL(217659737)})})},t.prototype.renderOverlayToggle=function(){var e=this.props,t=e.enabled,n=e.available,a=e.progress,o=e.inputLockKeybind,r=void 0;if(t&&!n&&a<1){var i=100*a|0;r=l("span",{className:"overlay-updating-note"},void 0,H.default.Messages.OVERLAY_DOWNLOAD_PROGRESS.format({percent:i}))}return l(x.default,{className:"margin-bottom-20"},void 0,l(x.default.Child,{basis:"50%"},void 0,l(P.default,{},void 0,l(L.default,{tag:D.Tags.H5},void 0,H.default.Messages.SETTINGS_GAMES_ENABLE_OVERLAY_LABEL,r),l(U.default,{className:"margin-bottom-20",style:{marginTop:16},value:t,hideBorder:!0,onChange:this.handleChangeEnabled},void 0,H.default.Messages.ENABLE_INGAME_OVERLAY))),l(x.default.Child,{basis:"50%"},void 0,l(P.default,{title:H.default.Messages.KEYBIND_TOGGLE_OVERLAY_INPUT_LOCK},void 0,l(j.default,{disabled:!t,defaultValue:null!=o?o.shortcut:"",onChange:this.handleInputLockShortcutChange}))))},t.prototype.renderAvatarSize=function(){return l(x.default,{className:"margin-bottom-20"},void 0,l(x.default.Child,{},void 0,l(P.default,{title:H.default.Messages.FORM_LABEL_AVATAR_SIZE},void 0,l(B.default,{options:[{name:H.default.Messages.AVATAR_SIZE_OPTION_LARGE,value:z.OverlayAvatarSizes.LARGE},{name:H.default.Messages.AVATAR_SIZE_OPTION_SMALL,value:z.OverlayAvatarSizes.SMALL}],onChange:this.handleChangeAvatarSizeMode,value:this.props.avatarSizeMode}))))},t.prototype.renderDisplayNames=function(){return l(x.default,{className:"margin-bottom-20"},void 0,l(x.default.Child,{},void 0,l(P.default,{title:H.default.Messages.FORM_LABEL_DISPLAY_NAMES},void 0,l(B.default,{options:[{name:H.default.Messages.DISPLAY_OPTION_ALWAYS,value:z.OverlayDisplayNames.ALWAYS},{name:H.default.Messages.DISPLAY_OPTION_ONLY_WHILE_SPEAKING,value:z.OverlayDisplayNames.ONLY_WHILE_SPEAKING},{name:H.default.Messages.DISPLAY_OPTION_NEVER,value:z.OverlayDisplayNames.NEVER}],onChange:this.handleChangeDisplayNameMode,value:this.props.displayNameMode}))))},t.prototype.renderDisplayUsers=function(){return l(x.default,{},void 0,l(x.default.Child,{},void 0,l(P.default,{title:H.default.Messages.FORM_LABEL_DISPLAY_USERS},void 0,l(B.default,{options:[{name:H.default.Messages.DISPLAY_OPTION_ALWAYS,value:z.OverlayDisplayUsers.ALWAYS},{name:H.default.Messages.DISPLAY_OPTION_ONLY_WHILE_SPEAKING,value:z.OverlayDisplayUsers.ONLY_WHILE_SPEAKING}],onChange:this.handleChangeDisplayUserMode,value:this.props.displayUserMode}))))},t.prototype.render=function(){return l(O.default,{tag:D.Tags.H2,title:H.default.Messages.OVERLAY},void 0,this.renderExplanation(),this.renderOverlayToggle(),this.renderAvatarSize(),this.renderDisplayNames(),this.renderDisplayUsers())},t}(c.default.PureComponent);t.default=p.default.connectStores([v.default,y.default],function(){return{enabled:v.default.enabled,available:v.default.isAvailable,progress:v.default.installProgress,avatarSizeMode:v.default.getAvatarSizeMode(),displayNameMode:v.default.getDisplayNameMode(),displayUserMode:v.default.getDisplayUserMode(),inputLockKeybind:s()}})(W),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(2),d=a(c),p=n(792),h=a(p),g=n(10),m=a(g),v=n(13),E=a(v),y=n(31),_=a(y),b=n(294),S=a(b),I=n(29),T=a(I),N=n(159),A=a(N),M=n(1482),C=a(M),O=n(1483),D=a(O),L=n(1481),R=a(L),x=n(1480),w=a(x),P=n(121),k=a(P);n(2253),n(2146);var U=l(A.default,{}),G=l("div",{className:"premium-settings v2 loading"},void 0,l(k.default,{})),j=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.renderHeader=function(){var e=this.props,t=e.premiumSubscription,n=e.busy,a=e.paymentSource,o=e.locale,r=e.isClaimed,i=e.isVerified;return t?l(D.default,{premiumSubscription:t,paymentSource:a,busy:n,locale:o}):l(C.default,{isClaimed:r,isVerified:i})},t.prototype.renderBody=function(){var e=this.props,t=e.billingHistory,n=e.locale,a=e.theme;return t&&t.length?l(w.default,{billingHistory:t,locale:n}):l(R.default,{theme:a})},t.prototype.componentDidMount=function(){S.default.getBillingInfo(),T.default.track("premium_page_opened")},t.prototype.render=function(){var e=this.props,t=e.syncing;return e.hide?U:t?G:l("div",{className:"premium-settings v2"},void 0,this.renderHeader(),this.renderBody())},t}(f.default.PureComponent);t.default=d.default.connectStores([E.default,h.default,m.default,_.default],function(){var e=h.default.getState(),t=m.default.getCurrentUser();return s({theme:E.default.theme,locale:E.default.locale,hide:_.default.enabled,isClaimed:t.email,isVerified:t.verified},e)})(j),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e,t=v.default.friendSourceFlags;if(t[G.ALL]){var n;return n={},n[G.ALL]=!0,n[G.FRIENDS]=!0,n[G.GUILDS]=!0,n}return e={},e[G.ALL]=!1,e[G.FRIENDS]=!!t[G.FRIENDS],e[G.GUILDS]=!!t[G.GUILDS],e}t.__esModule=!0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f=n(0),c=a(f),d=n(2),p=a(d),h=n(3),g=a(h),m=n(13),v=a(m),E=n(12),y=a(E),_=n(99),b=a(_),S=n(110),I=a(S),T=n(108),N=a(T),A=n(14),M=a(A),C=n(66),O=a(C),D=n(226),L=a(D),R=n(50),x=a(R),w=n(60),P=a(w),k=n(1),U=n(389),G={ALL:"all",FRIENDS:"mutual_friends",GUILDS:"mutual_guilds"},j=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));a.handleChangeDefaultGuildsRestricted=a.handleChangeDefaultGuildsRestricted.bind(a);var i=n.defaultGuildsRestricted;return a.state={defaultGuildsRestricted:i},a}return i(t,e),t.prototype.componentWillReceiveProps=function(e){var t=e.defaultGuildsRestricted;t!==this.props.defaultGuildsRestricted&&this.setState({defaultGuildsRestricted:t})},t.prototype.hasPermittedSourceFlag=function(e){var t=this.props.friendSourceFlags,n=function(e){return t[e]===!0};return!!n(G.ALL)||n(e)},t.prototype.onFieldChange=function(e,t){var n=this.props.friendSourceFlags,a=void 0;if(e===G.ALL)if(t){var o;o={},o[G.ALL]=!0,o[G.FRIENDS]=!0,o[G.GUILDS]=!0,a=o}else{var r;r={},r[G.ALL]=!1,r[G.FRIENDS]=!0,r[G.GUILDS]=!0,a=r}else if(t){var i,s=!1;switch(e){case G.FRIENDS:s=n[G.GUILDS]===!0;break;default:s=n[G.FRIENDS]===!0}a=u({},n,(i={},i[G.ALL]=s,i[e]=!0,i))}else{var l;a=u({},n,(l={},l[G.ALL]=!1,l[e]=!1,l))}this.updatePermittedFriendSourceFlags(a)},t.prototype.updatePermittedFriendSourceFlags=function(e){N.default.updateRemoteSettings({friendSourceFlags:e})},t.prototype.handleExplicitContentFilterChange=function(e){var t=e.value;N.default.updateRemoteSettings({explicitContentFilter:t})},t.prototype.handleChangeDefaultGuildsRestricted=function(e){var t=this,n=e.target.checked;n=!n,this.setState({defaultGuildsRestricted:n},function(){return t.showGuildRestrictionModal(n)})},t.prototype.showGuildRestrictionModal=function(e){M.default.push(function(t){return c.default.createElement(P.default,u({header:g.default.Messages.USER_DM_SETTINGS,confirmText:g.default.Messages.YES_TEXT,cancelText:g.default.Messages.NO_TEXT,onConfirm:function(){N.default.updateRemoteSettings({defaultGuildsRestricted:e,restrictedGuilds:e?Object.keys(y.default.getGuilds()):[]})},onCancel:function(){N.default.updateRemoteSettings({defaultGuildsRestricted:e})}},t),l("p",{},void 0,g.default.Messages.USER_DM_SETTINGS_QUESTION))})},t.prototype.renderFriendSettings=function(){var e=this,t=this.hasPermittedSourceFlag(G.ALL);return l(b.default,{title:g.default.Messages.FRIEND_PERMITTED_SOURCE},void 0,l(I.default,{className:"margin-top-8 margin-bottom-20",value:t,onChange:function(t){return e.onFieldChange(G.ALL,t.target.checked)}},void 0,g.default.Messages.FRIEND_PERMITTED_SOURCE_ALL),l(I.default,{value:this.hasPermittedSourceFlag(G.FRIENDS),onChange:function(t){return e.onFieldChange(G.FRIENDS,t.target.checked)}},void 0,g.default.Messages.FRIEND_PERMITTED_SOURCE_MUTUAL_FRIENDS),l(I.default,{className:"margin-reset",value:this.hasPermittedSourceFlag(G.GUILDS),onChange:function(t){return e.onFieldChange(G.GUILDS,t.target.checked)}},void 0,g.default.Messages.FRIEND_PERMITTED_SOURCE_MUTUAL_GUILDS))},t.prototype.renderDMSafety=function(){var e=[{name:g.default.Messages.USER_EXPLICIT_CONTENT_FILTER_FRIENDS_AND_NON_FRIENDS,desc:g.default.Messages.USER_EXPLICIT_CONTENT_FILTER_FRIENDS_AND_NON_FRIENDS_HELP,value:k.ExplicitContentFilterTypes.FRIENDS_AND_NON_FRIENDS,color:U.Colors.STATUS_GREEN},{name:g.default.Messages.USER_EXPLICIT_CONTENT_FILTER_NON_FRIENDS,desc:g.default.Messages.USER_EXPLICIT_CONTENT_FILTER_NON_FRIENDS_HELP,value:k.ExplicitContentFilterTypes.NON_FRIENDS,color:U.Colors.STATUS_YELLOW},{name:g.default.Messages.USER_EXPLICIT_CONTENT_FILTER_DISABLED,desc:g.default.Messages.USER_EXPLICIT_CONTENT_FILTER_DISABLED_HELP,value:k.ExplicitContentFilterTypes.DISABLED,color:U.Colors.STATUS_RED}];return l(b.default,{className:"margin-bottom-40"},void 0,l(O.default,{tag:C.Tags.H5,className:"margin-bottom-4"},void 0,g.default.Messages.USER_EXPLICIT_CONTENT_FILTER),l(x.default,{type:R.Types.DESCRIPTION,className:"margin-bottom-8"},void 0,g.default.Messages.USER_EXPLICIT_CONTENT_FILTER_HELP),l(L.default,{value:this.props.explicitContentFilter,options:e,onChange:this.handleExplicitContentFilterChange}))},t.prototype.renderServerPrivacy=function(){return l(b.default,{className:"margin-bottom-40"},void 0,l(O.default,{tag:C.Tags.H5,className:"margin-bottom-8"},void 0,g.default.Messages.USER_DM_SETTINGS),l(I.default,{className:"margin-reset",value:!this.state.defaultGuildsRestricted,note:g.default.Messages.USER_DM_SETTINGS_HELP,onChange:this.handleChangeDefaultGuildsRestricted},void 0,g.default.Messages.NEW_GUILDS_DM_ALLOWED))},t.prototype.render=function(){return l(b.default,{tag:C.Tags.H2,title:g.default.Messages.PRIVACY_AND_SAFETY},void 0,this.renderDMSafety(),this.renderServerPrivacy(),this.renderFriendSettings())},t}(c.default.PureComponent);t.default=p.default.connectStores([v.default],function(){return{friendSourceFlags:s(),explicitContentFilter:v.default.explicitContentFilter,defaultGuildsRestricted:v.default.defaultGuildsRestricted}})(j),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(2),d=a(c),p=n(3),h=a(p),g=n(18),m=a(g),v=n(77),E=n(110),y=a(E),_=n(13),b=a(_),S=n(31),I=a(S),T=n(356),N=a(T),A=n(57),M=a(A),C=n(1);n(2268);var O=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.renderNotice=function(){return l(v.FormNotice,{className:"margin-bottom-40",iconClassName:"notice-icon",type:v.FormNoticeTypes.PRIMARY,imageData:{src:n(3045),width:184,height:110,position:v.FormNoticeImagePositions.RIGHT},title:h.default.Messages.USER_SETTINGS_STREAMER_NOTICE_TITLE,body:h.default.Messages.USER_SETTINGS_STREAMER_NOTICE_BODY.format({streamkitURL:"https://discordapp.com/streamkit"})})},t.prototype.renderAutoToggle=function(){if(m.default.embedded)return l(y.default,{value:this.props.autoToggle,onChange:this.handleChange.bind(this,"autoToggle"),note:h.default.Messages.AUTO_TOGGLE_STREAMER_MODE_DESCRIPTION},void 0,h.default.Messages.AUTO_TOGGLE_STREAMER_MODE_LABEL)},t.prototype.render=function(){return l(v.FormSection,{className:"user-settings-streamer-mode",tag:v.FormTitleTags.H2,title:h.default.Messages.STREAMER_MODE},void 0,this.renderNotice(),l(y.default,{value:this.props.enabled,onChange:this.handleChange.bind(this,"enabled"),note:h.default.Messages.ENABLE_STREAMER_MODE_DESCRIPTION.format({onClick:this.handleGotoKeybinds})},void 0,h.default.Messages.ENABLE_STREAMER_MODE_LABEL),this.renderAutoToggle(),l(v.FormTitle,{className:"options-header margin-top-40 margin-bottom-8"},void 0,h.default.Messages.OPTIONS),l(y.default,{value:this.props.hidePersonalInformation,onChange:this.handleChange.bind(this,"hidePersonalInformation"),note:h.default.Messages.HIDE_PERSONAL_INFORMATION_DESCRIPTION},void 0,h.default.Messages.HIDE_PERSONAL_INFORMATION_LABEL),l(y.default,{value:this.props.hideInstantInvites,onChange:this.handleChange.bind(this,"hideInstantInvites"),note:h.default.Messages.HIDE_INSTANT_INVITES_DESCRIPTION},void 0,h.default.Messages.HIDE_INSTANT_INVITES_LABEL),l(y.default,{value:this.props.disableSounds,onChange:this.handleChange.bind(this,"disableSounds"),note:h.default.Messages.DISABLE_SOUNDS_DESCRIPTION},void 0,h.default.Messages.DISABLE_SOUNDS_LABEL),l(y.default,{value:this.props.disableNotifications,onChange:this.handleChange.bind(this,"disableNotifications"),note:h.default.Messages.DISABLE_NOTIFICATIONS_DESCRIPTION},void 0,h.default.Messages.DISABLE_NOTIFICATIONS_LABEL))},t.prototype.handleChange=function(e,t){var n;N.default.update((n={},n[e]=t.currentTarget.checked,n))},t.prototype.handleGotoKeybinds=function(){M.default.setSection(C.UserSettingsSections.KEYBINDS)},t}(f.default.PureComponent);t.default=d.default.connectStores([b.default,I.default],function(){return s({},I.default.getSettings(),{theme:b.default.theme})})(O),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2),c=a(f),d=n(13),p=a(d),h=n(108),g=a(h),m=n(368),v=a(m),E=n(3),y=a(E),_=n(229),b=a(_),S=n(99),I=a(S),T=n(66),N=a(T),A=n(110),M=a(A),C=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.onFieldChange=function(e,t){var n;g.default.updateRemoteSettings((n={},n[e]=t,n))},t.prototype.renderTTSControl=function(){var e=this;if(v.default.supported)return s(I.default,{},void 0,s(N.default,{className:"margin-bottom-8"},void 0,y.default.Messages.FORM_LABEL_TTS),s(M.default,{className:"margin-top-8",value:this.props.enableTTSCommand,onChange:function(t){return e.onFieldChange("enableTTSCommand",t.target.checked)}},void 0,y.default.Messages.ALLOW_TTS_COMMAND))},t.prototype.render=function(){var e=this,t=this.props,n=t.inlineEmbedMedia,a=t.inlineAttachmentMedia,o=t.renderEmbeds,r=t.renderReactions,i=t.convertEmoticons;return s(I.default,{tag:T.Tags.H2,title:y.default.Messages.TEXT_AND_IMAGES},void 0,s(N.default,{className:"margin-bottom-8"},void 0,y.default.Messages.INLINE_MEDIA_LABEL),s(M.default,{className:"margin-top-8 margin-bottom-20",value:n,onChange:function(t){return e.onFieldChange("inlineEmbedMedia",t.target.checked)}},void 0,y.default.Messages.INLINE_EMBED_MEDIA),s(M.default,{className:"margin-bottom-40",value:a,note:y.default.Messages.INLINE_ATTACHMENT_MEDIA_HELP.format({maxSize:10}),onChange:function(t){return e.onFieldChange("inlineAttachmentMedia",t.target.checked)}},void 0,y.default.Messages.INLINE_ATTACHMENT_MEDIA),s(N.default,{className:"margin-bottom-8"},void 0,y.default.Messages.RENDER_EMBEDS_LABEL),s(M.default,{className:"margin-top-8 margin-bottom-40",value:o,onChange:function(t){return e.onFieldChange("renderEmbeds",t.target.checked)}},void 0,y.default.Messages.RENDER_EMBEDS),s(N.default,{className:"margin-bottom-8"},void 0,y.default.Messages.EMOJI),s(M.default,{className:"margin-top-8 margin-bottom-20",value:r,onChange:function(t){return e.onFieldChange("renderReactions",t.target.checked)}},void 0,y.default.Messages.RENDER_REACTIONS),s(M.default,{className:"margin-bottom-40",value:i,note:b.default.parse(y.default.Messages.CONVERT_EMOTICONS_HELP),onChange:function(t){return e.onFieldChange("convertEmoticons",t.target.checked)}},void 0,y.default.Messages.CONVERT_EMOTICONS),this.renderTTSControl())},t}(u.default.PureComponent);t.default=c.default.connectStores([p.default],function(){return{inlineAttachmentMedia:p.default.inlineAttachmentMedia,inlineEmbedMedia:p.default.inlineEmbedMedia,renderEmbeds:p.default.renderEmbeds,renderReactions:p.default.renderReactions,enableTTSCommand:p.default.enableTTSCommand,convertEmoticons:p.default.convertEmoticons}})(C),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(2),d=a(c),p=n(306),h=n(5),g=a(h),m=n(162),v=n(27),E=a(v),y=n(190),_=a(y),b=n(13),S=a(b),I=n(225),T=a(I),N=n(120),A=a(N),M=n(82),C=a(M),O=n(14),D=a(O),L=n(57),R=a(L),x=n(138),w=a(x),P=n(18),k=a(P),U=n(3),G=a(U),j=n(7),F=a(j),B=n(99),V=a(B),H=n(539),z=a(H),W=n(15),Y=a(W),K=n(228),Q=a(K),Z=n(91),X=a(Z),J=n(50),q=a(J),$=n(382),ee=a($),te=n(166),ne=a(te),ae=n(537),oe=a(ae),re=n(226),ie=a(re),se=n(507),le=a(se),ue=n(110),fe=a(ue),ce=n(66),de=a(ce),pe=n(28),he=a(pe),ge=n(127),me=a(ge),ve=n(60),Ee=a(ve),ye=n(1);n(2269);var _e=l("div",{className:"grow"}),be=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._timeout=new p.Timeout,a.state={volume:-100},F.default.bindAll(a,["setupVoiceActivity","handleVoiceActivity","handleAutoThresholdChange","handleSensitivityChange","handleValueRender"]),a}return i(t,e),t.prototype.componentDidMount=function(){this._timeout.start(1e3,this.setupVoiceActivity)},t.prototype.componentWillUnmount=function(){E.default.getMediaEngine().removeListener("voiceactivity",this.handleVoiceActivity),this._timeout.stop()},t.prototype.setupVoiceActivity=function(){E.default.getMediaEngine().on("voiceactivity",this.handleVoiceActivity),this._timeout.stop()},t.prototype.handleVoiceActivity=function(e){this.setState({volume:e})},t.prototype.handleAutoThresholdChange=function(e){var t=this.props,n=t.onThresholdChange,a=t.threshold;n&&n(a,e.target.checked)},t.prototype.handleSensitivityChange=function(e){var t=this.props,n=t.onThresholdChange,a=t.auto;n&&n((100-e)*-1,a)},t.prototype.handleValueRender=function(e){return((100-e)*-1).toFixed(0)+"dB"},t.prototype.renderAutomaticVADToggle=function(){var e=this.props.auto;if(E.default.supports(m.MediaEngineFeatures.AUTOMATIC_VAD))return l("div",{className:"flex-horizontal margin-bottom-4"},void 0,l(de.default,{tag:ce.Tags.H3,className:"margin-reset"},void 0,G.default.Messages.FORM_LABEL_AUTOMATIC_VAD),l(ee.default,{value:e,onChange:this.handleAutoThresholdChange}))},t.prototype.renderSlider=function(){var e=this.props,t=e.auto,n=e.threshold,a=e.speaking;return t?l("section",{className:"input-sensitivity-toggle"},void 0,l("div",{className:"ui-slider"},void 0,l("div",{className:(0,g.default)("slider-bar",{speaking:a})})),l(q.default,{type:q.default.Types.DESCRIPTION,className:"input-sensitivity-note margin-bottom-8"},void 0,G.default.Messages.FORM_HELP_AUTOMATIC_VAD)):l("section",{className:"input-sensitivity-toggle manual"},void 0,l(oe.default,{defaultValue:n+100,onValueRender:this.handleValueRender,onValueChange:this.handleSensitivityChange},void 0,l("div",{className:"slider-bar microphone"},void 0,l("div",{className:"fill",style:{width:this.state.volume+100+"%"}}),_e)))},t.prototype.renderInputDisabledWarning=function(){if(!E.default.isEnabled())return l(q.default,{type:q.default.Types.DESCRIPTION,className:"input-disabled-warning margin-bottom-8"},void 0,G.default.Messages.FORM_WARNING_INPUT_SENSITIVTY.format({onEnableClick:C.default.enable}))},t.prototype.render=function(){return l(Q.default,{className:"sensitivity"},void 0,l(de.default,{tag:ce.Tags.H5,className:"margin-bottom-8"},void 0,G.default.Messages.FORM_LABEL_INPUT_SENSITIVTY),l("div",{},void 0,this.renderAutomaticVADToggle(),this.renderSlider()),this.renderInputDisabledWarning())},t}(f.default.PureComponent),Se=d.default.connectStores([_.default],function(){return{speaking:_.default.isCurrentUserSpeaking()}})(be),Ie=l(X.default,{lineOnly:!0,className:"margin-bottom-20"}),Te=l(X.default,{className:"margin-bottom-40 margin-top-40"}),Ne=l(X.default,{className:"margin-top-8 margin-bottom-40"}),Ae=l(X.default,{className:"margin-bottom-40"}),Me=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return F.default.bindAll(a,["handleInputDeviceChange","handleOutputDeviceChange","handleInputVolumeChange","handleOutputVolumeChange","handleOutputRender","handleInputModeChange","handleDelayChange","handleThresholdChange","handleInputModeChange","handleVideoDeviceChange","handleEchoCancellationChange","handleNoiseSuppressionChange","handleAutomaticGainControlChange","handleSilenceWarningChange","handleQoSChanged","handleMediaEngineChange","handleAttenuationChange","handleAttenuateSelfChanged","handleAttenuateOthersChanged","handleVoiceReset","handleSubsystemChanged","handleShortcutChange"]),a}return i(t,e),t.prototype.handleInputDeviceChange=function(e){var t=e.value;C.default.setInputDevice(t)},t.prototype.handleOutputDeviceChange=function(e){var t=e.value;C.default.setOutputDevice(t)},t.prototype.handleDownload=function(e){D.default.push(w.default,{source:e})},t.prototype.handleInputVolumeChange=function(e){C.default.setInputVolume(e)},t.prototype.handleOutputVolumeChange=function(e){var t=2*e;C.default.setOutputVolume(t)},t.prototype.handleOutputRender=function(e){return(2*e).toFixed(0)+"%"},t.prototype.handleInputModeChange=function(e){var t=this,a=e.value;a===ye.InputModes.PUSH_TO_TALK&&this.props.usePTTLimited&&D.default.push(function(e){return f.default.createElement(me.default,s({title:G.default.Messages.PTT_LIMITED_TITLE,confirmText:G.default.Messages.DOWNLOAD,cancelText:G.default.Messages.OKAY,onConfirm:t.handleDownload.bind(t,"PTT Limited Modal"),body:G.default.Messages.PTT_LIMITED_BODY,iconUrl:n(3102)},e))}),this.setMode(a)},t.prototype.handleDelayChange=function(e){this.setMode(this.props.inputMode,{delay:e})},t.prototype.handleThresholdChange=function(e,t){this.setMode(this.props.inputMode,{threshold:e,autoThreshold:t})},t.prototype.handleDelayValueRender=function(e){return e>=1e3?(e/=1e3,e.toFixed(2)+"s"):e.toFixed(0)+" ms"},t.prototype.handleVideoDeviceChange=function(e){var t=e.value;C.default.setVideoDevice(t)},t.prototype.handleEchoCancellationChange=function(e){C.default.setEchoCancellation(e.currentTarget.checked)},t.prototype.handleNoiseSuppressionChange=function(e){C.default.setNoiseSuppression(e.currentTarget.checked)},t.prototype.handleAutomaticGainControlChange=function(e){C.default.setAutomaticGainControl(e.currentTarget.checked)},t.prototype.handleSilenceWarningChange=function(e){C.default.setSilenceWarning(e.currentTarget.checked)},t.prototype.handleQoSChanged=function(e){C.default.setQoS(e.currentTarget.checked)},t.prototype.handleMediaEngineChange=function(e){var t=e.value;C.default.setMediaEngine(t)},t.prototype.handleAttenuationChange=function(e){C.default.setAttenuation(e,this.props.attenuateWhileSpeakingSelf,this.props.attenuateWhileSpeakingOthers)},t.prototype.handleAttenuateSelfChanged=function(e){C.default.setAttenuation(this.props.attenuation,e.currentTarget.checked,this.props.attenuateWhileSpeakingOthers)},t.prototype.handleAttenuateOthersChanged=function(e){C.default.setAttenuation(this.props.attenuation,this.props.attenuateWhileSpeakingSelf,e.currentTarget.checked)},t.prototype.handleVoiceReset=function(){D.default.push(function(e){return f.default.createElement(Ee.default,s({header:G.default.Messages.RESET_VOICE_SETTINGS,confirmText:G.default.Messages.OKAY,cancelText:G.default.Messages.CANCEL,onConfirm:C.default.reset,red:!0},e),l("p",{},void 0,G.default.Messages.RESET_VOICE_SETTINGS_BODY))})},t.prototype.handleSubsystemChanged=function(){D.default.push(function(e){return f.default.createElement(Ee.default,s({header:G.default.Messages.SWITCH_SUBSYSTEM,confirmText:G.default.Messages.OKAY,cancelText:G.default.Messages.CANCEL,onConfirm:C.default.switchSubsystem,red:!0},e),l("p",{},void 0,G.default.Messages.SWITCH_SUBSYSTEM_BODY))})},t.prototype.handleShortcutChange=function(e){this.setMode(this.props.inputMode,{shortcut:e})},t.prototype.setMode=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.props,a=n.vadThreshold,o=n.vadAutoThreshold,r=n.shortcut,i=n.delay;C.default.setMode(e,s({threshold:a,autoThreshold:o,shortcut:r,delay:i},t))},t.prototype.renderDevices=function(){var e=this.props,t=e.inputDevices,n=e.inputDeviceId,a=e.outputDeviceId,o=e.outputDevices,r=e.canSetInputDevice,i=e.canSetOutputDevice,s=void 0;r||(s=l(q.default,{type:q.default.Types.DESCRIPTION,className:"margin-top-8"},void 0,G.default.Messages.BROWSER_INPUT_DEVICE_WARNING.format({onDownloadClick:this.handleDownload.bind(this,"Help Text Input Devices")})));var u=void 0;i||(u=l(q.default,{type:q.default.Types.DESCRIPTION,className:"margin-top-8"},void 0,G.default.Messages.BROWSER_OUTPUT_DEVICE_WARNING.format({onDownloadClick:this.handleDownload.bind(this,"Help Text Output Devices")})));var f=(0,F.default)(t).values().first().disabled||null!=s,c=(0,F.default)(o).values().first().disabled||null!=u;return l(Y.default,{className:"margin-bottom-20"},void 0,l(Y.default.Child,{},void 0,l(de.default,{tag:ce.Tags.H5,className:"margin-bottom-8"},void 0,G.default.Messages.FORM_LABEL_INPUT_DEVICE),l(ne.default,{value:n,clearable:!1,searchable:!1,onChange:this.handleInputDeviceChange,options:F.default.map(t,function(e){return{value:e.id,label:e.name}}),disabled:f}),s),l(Y.default.Child,{},void 0,l(de.default,{tag:ce.Tags.H5,className:"margin-bottom-8"},void 0,G.default.Messages.FORM_LABEL_OUTPUT_DEVICE),l(ne.default,{value:a,clearable:!1,searchable:!1,onChange:this.handleOutputDeviceChange,options:F.default.map(o,function(e){return{value:e.id,label:e.name}}),disabled:c}),u))},t.prototype.renderVolumeControls=function(){var e=this.props,t=e.inputVolume,n=e.outputVolume;return l(Y.default,{className:"volume"},void 0,l(Y.default.Child,{},void 0,l(de.default,{tag:ce.Tags.H5,className:"margin-bottom-4"},void 0,G.default.Messages.FORM_LABEL_INPUT_VOLUME),l(oe.default,{defaultValue:t,asValueChanges:this.handleInputVolumeChange})),l(Y.default.Child,{},void 0,l(de.default,{tag:ce.Tags.H5,className:"margin-bottom-4"},void 0,G.default.Messages.FORM_LABEL_OUTPUT_VOLUME),l(oe.default,{defaultValue:n/2,onValueRender:this.handleOutputRender,asValueChanges:this.handleOutputVolumeChange})))},t.prototype.renderInputMode=function(){var e=this.props,t=e.usePTTLimited,n=e.inputMode,a=[{value:ye.InputModes.VOICE_ACTIVITY,name:G.default.Messages.INPUT_MODE_VAD},{value:ye.InputModes.PUSH_TO_TALK,name:t?G.default.Messages.INPUT_MODE_PTT_LIMITED:G.default.Messages.INPUT_MODE_PTT}];return l(Q.default,{title:G.default.Messages.FORM_LABEL_INPUT_MODE,className:"margin-bottom-20"},void 0,l(ie.default,{onChange:this.handleInputModeChange,options:a,value:n}))},t.prototype.renderPTTTools=function(){var e=this.props,t=e.inputMode,n=e.delay,a=e.shortcut;if(t!==ye.InputModes.PUSH_TO_TALK)return null;var o=void 0;return o=k.default.embedded||t!==ye.InputModes.PUSH_TO_TALK?l(q.default,{type:q.default.Types.DESCRIPTION,className:"ptt-tools-message margin-bottom-8"},void 0,G.default.Messages.USER_SETTINGS_VOICE_ADD_MULTIPLE.format({onClick:function(){return R.default.setSection(ye.UserSettingsSections.KEYBINDS)}})):l(q.default,{type:q.default.Types.DESCRIPTION,className:"ptt-tools-message ptt-tools-warning margin-bottom-8"},void 0,G.default.Messages.PTT_LIMITED_WARNING.format({onDownloadClick:this.handleDownload.bind(this,"Help Text PTT")})),l("div",{className:"ptt-tools"},void 0,l("div",{className:"flex-horizontal"},void 0,l(Q.default,{title:G.default.Messages.FORM_LABEL_SHORTCUT},void 0,l(le.default,{defaultValue:a,onChange:this.handleShortcutChange})),l(Q.default,{title:G.default.Messages.INPUT_MODE_PTT_RELEASE_DELAY},void 0,l(oe.default,{defaultValue:n,onValueChange:this.handleDelayChange,onValueRender:this.handleDelayValueRender,maxValue:ye.MAX_PTT_RELEASE_DELAY}))),o)},t.prototype.renderVoiceSensitivityTools=function(){var e=this.props,t=e.inputMode,n=e.vadThreshold,a=e.vadAutoThreshold;return t!==ye.InputModes.VOICE_ACTIVITY?null:l(Se,{inputMode:t,threshold:n,auto:a,onThresholdChange:this.handleThresholdChange})},t.prototype.renderVideoDevices=function(){var e=this.props,t=e.videoDevices,n=e.videoDeviceId,a=void 0;E.default.isEnabled()||(a=l(q.default,{type:q.default.Types.DESCRIPTION,className:"margin-top-8"},void 0,G.default.Messages.FORM_WARNING_VIDEO_PREVIEW.format({onEnableClick:C.default.enable})));var o=(0,F.default)(t).values().first().disabled||null!=a,r=E.default.getMediaEngine(),i=r.Camera;return l(Y.default,{},void 0,l(Y.default.Child,{basis:"50%"},void 0,l(de.default,{tag:ce.Tags.H5,className:"margin-bottom-8"},void 0,G.default.Messages.FORM_LABEL_VIDEO_DEVICE),l(ne.default,{value:n,clearable:!1,searchable:!1,disabled:o,onChange:this.handleVideoDeviceChange,options:F.default.map(t,function(e){return{value:e.id,label:e.name}})}),a),l(Y.default.Child,{basis:"50%"},void 0,l(de.default,{tag:ce.Tags.H5,className:"margin-bottom-8"},void 0,G.default.Messages.FORM_LABEL_VIDEO_PREVIEW),l(i,{deviceId:n,disabled:o})))},t.prototype.renderCodec=function(){var e=this.props.theme,t=void 0;return t=n(e===ye.ThemeTypes.LIGHT?3136:3135),l(z.default,{className:"margin-bottom-40",type:H.Types.PRIMARY,imageData:{src:t,width:70,height:40},title:G.default.Messages.USER_SETTINGS_VOICE_CODEC_TITLE,body:G.default.Messages.USER_SETTINGS_VOICE_CODEC_DESCRIPTION})},t.prototype.renderVoiceProcessing=function(){if(!E.default.supports(m.MediaEngineFeatures.VOICE_PROCESSING))return null;var e=this.props,t=e.noiseSuppression,n=e.echoCancellation,a=e.automaticGainControl;return l(V.default,{className:"margin-bottom-40",title:G.default.Messages.FORM_LABEL_VOICE_PROCESSING},void 0,l(fe.default,{className:"margin-top-8 margin-bottom-20",value:n,onChange:this.handleEchoCancellationChange},void 0,G.default.Messages.ECHO_CANCELLATION),l(fe.default,{value:t,onChange:this.handleNoiseSuppressionChange},void 0,G.default.Messages.NOISE_SUPPRESSION),l(fe.default,{className:"",value:a,onChange:this.handleAutomaticGainControlChange},void 0,G.default.Messages.AUTOMATIC_GAIN_CONTROL))},t.prototype.renderQoS=function(){if(!E.default.supports(m.MediaEngineFeatures.QOS))return null;var e=this.props.qosEnabled;return l(V.default,{className:"margin-bottom-40",title:G.default.Messages.FORM_LABEL_QOS},void 0,l(fe.default,{className:"",value:e,onChange:this.handleQoSChanged,note:G.default.Messages.FORM_HELP_QOS},void 0,G.default.Messages.FORM_CHECKBOX_QOS))},t.prototype.renderAttenutation=function(){if(!E.default.supports(m.MediaEngineFeatures.ATTENUATION))return null;var e=this.props,t=e.attenuation,n=e.attenuateWhileSpeakingSelf,a=e.attenuateWhileSpeakingOthers;return l(V.default,{className:"margin-bottom-40",title:G.default.Messages.FORM_LABEL_ATTENUATION},void 0,l(oe.default,{defaultValue:t,onValueRender:this.handleOutputRender,onValueChange:this.handleAttenuationChange}),l(q.default,{className:"margin-bottom-20",type:q.default.Types.DESCRIPTION},void 0,G.default.Messages.FORM_HELP_ATTENUATION),Ie,l(fe.default,{value:n,onChange:this.handleAttenuateSelfChanged},void 0,G.default.Messages.ATTENUATE_WHILE_SPEAKING_SELF),l(fe.default,{className:"",value:a,onChange:this.handleAttenuateOthersChanged},void 0,G.default.Messages.ATTENUATE_WHILE_SPEAKING_OTHERS))},t.prototype.renderSubsystemSettings=function(){if(!E.default.supports(m.MediaEngineFeatures.LEGACY_SUBSYSTEM))return null;var e=this.props.legacySubsystemEnabled;return l(V.default,{className:"margin-bottom-40",title:G.default.Messages.FORM_LABEL_SUBSYSTEM},void 0,l(fe.default,{className:"",value:e,onChange:this.handleSubsystemChanged,note:G.default.Messages.FORM_HELP_LEGACY_SUBSYSTEM},void 0,G.default.Messages.FORM_CHECKBOX_LEGACY_SUBSYSTEM))},t.prototype.renderDiagnostics=function(){if(!k.default.embedded)return null;var e=this.props.silenceWarning;return l(V.default,{className:"margin-bottom-40",title:G.default.Messages.FORM_LABEL_VOICE_DIAGNOSTICS},void 0,l(fe.default,{className:"",value:e,onChange:this.handleSilenceWarningChange},void 0,G.default.Messages.DISPLAY_SILENCE_WARNING))},t.prototype.renderResetVoiceSettings=function(){return l(Q.default,{},void 0,l(he.default,{className:"reset-button",look:pe.ButtonLooks.OUTLINED,color:pe.ButtonColors.RED,onClick:this.handleVoiceReset,size:pe.ButtonSizes.SMALL},void 0,G.default.Messages.RESET_VOICE_SETTINGS))},t.prototype.renderMediaEngineImplGroup=function(){},t.prototype.renderVideoSettings=function(){return this.props.videoSettings?l("div",{},void 0,l(de.default,{tag:ce.Tags.H2,className:"margin-bottom-20"},void 0,G.default.Messages.VIDEO_SETTINGS),this.renderVideoDevices(),Te):null},t.prototype.render=function(){return l(V.default,{className:"user-settings-voice",tag:ce.Tags.H2,title:G.default.Messages.VOICE_SETTINGS},void 0,this.renderDevices(),this.renderVolumeControls(),Ne,this.renderInputMode(),this.renderPTTTools(),this.renderVoiceSensitivityTools(),Ae,this.renderVideoSettings(),l(de.default,{tag:ce.Tags.H2,className:"margin-bottom-20"},void 0,G.default.Messages.SETTINGS_ADVANCED),this.renderCodec(),this.renderMediaEngineImplGroup(),this.renderVoiceProcessing(),this.renderQoS(),this.renderAttenutation(),this.renderSubsystemSettings(),this.renderDiagnostics(),this.renderResetVoiceSettings())},t}(f.default.PureComponent);t.default=d.default.connectStores([S.default,E.default,T.default],function(){var e=!1,t=A.default.getOverrideExperimentDescriptor(T.default.getExperimentId());return(null!=t&&t.type===ye.ExperimentTypes.DEVELOPER||T.default.hasVideoCall())&&(e=!0),{theme:S.default.theme,canSetInputDevice:E.default.supports(m.MediaEngineFeatures.AUDIO_INPUT_DEVICE),canSetOutputDevice:E.default.supports(m.MediaEngineFeatures.AUDIO_OUTPUT_DEVICE),inputVolume:E.default.getInputVolume(),outputVolume:E.default.getOutputVolume(),inputDeviceId:E.default.getInputDeviceId(),inputDevices:E.default.getInputDevices(),outputDevices:E.default.getOutputDevices(),outputDeviceId:E.default.getOutputDeviceId(),videoDevices:E.default.getVideoDevices(),videoDeviceId:E.default.getVideoDeviceId(),echoCancellation:E.default.getEchoCancellation(),noiseSuppression:E.default.getNoiseSuppression(),automaticGainControl:E.default.getAutomaticGainControl(),inputMode:E.default.getMode(),shortcut:E.default.getModeOptions().shortcut,vadThreshold:E.default.getModeOptions().threshold,vadAutoThreshold:E.default.getModeOptions().autoThreshold,delay:E.default.getModeOptions().delay,usePTTLimited:!k.default.embedded,attenuation:E.default.getAttenuation(),attenuateWhileSpeakingSelf:E.default.getAttenuateWhileSpeakingSelf(),attenuateWhileSpeakingOthers:E.default.getAttenuateWhileSpeakingOthers(),silenceWarning:E.default.getEnableSilenceWarning(),qosEnabled:E.default.getQoS(),legacySubsystemEnabled:E.default.isUsingLegacySubsystem(),mediaEngineImpl:E.default.getMediaEngineImpl(),videoSettings:e}})(Me),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(2),l=a(s),u=n(6),f=a(u),c=n(101),d=a(c),p=n(711),h=a(p),g=n(494),m=n(1629),v=a(m),E=n(13),y=a(E),_=n(811),b=a(_),S=n(1588),I=a(S),T=n(10),N=a(T),A=n(1),M=i.default.createClass({displayName:"EmailVerificationModal",statics:{modalConfig:{store:I.default}},mixins:[l.default.LazyStoreListenerMixin(y.default,b.default,N.default),f.default],getInitialState:function(){return this.getStateFromStores()},getStateFromStores:function(){var e=b.default.getState(),t=e.claimed,n=e.errors,a=e.formState;return{theme:y.default.theme,user:N.default.getCurrentUser(),claimed:t,errors:n,submitting:a===A.FormStates.SUBMITTING}},render:function(){var e=this.state,t=e.theme,n=e.claimed,a=e.submitting,r=e.user,i=this.getError("email"),s=this.getError("password");return o("div",{className:"theme-"+t},void 0,o(v.default,{email:r.email,emailError:i,passwordError:s,submitting:a,canResend:!a&&n&&0===i.length&&0===s.length,onVerify:this.handleVerify,onResend:this.handleResend,onClose:this.close}))},getError:function(e){var t=this.state.errors;return t&&t[e]?t[e]:""},handleVerify:function(e,t){var n=this.state.user,a=n.username,o=n.avatar;(0,g.saveAccountChanges)(a,e,t,o,null)},handleResend:function(){d.default.verifyResend()},close:function(){h.default.close()}});t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(2),d=a(c),p=n(16),h=a(p),g=n(1648),m=a(g),v=n(765),E=a(v),y=n(14),_=a(y),b=n(102),S=n(101),I=a(S),T=n(711),N=a(T),A=n(494),M=n(13),C=a(M),O=n(529),D=a(O),L=n(1),R=n(60),x=a(R),w=n(3),P=a(w),k=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={captchaKey:0},a.handleVerifyCaptcha=a.handleVerifyCaptcha.bind(a),a.handleClick=a.handleClick.bind(a),a.handleLogout=a.handleLogout.bind(a),a.close=a.close.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.theme;return l(m.default,{type:t,captchaKey:this.state.captchaKey,onCaptchaChange:this.handleVerifyCaptcha,theme:n,onClick:this.handleClick,onLogout:this.handleLogout})},t.prototype.handleVerifyCaptcha=function(e){var t=this;h.default.post({url:L.Endpoints.CAPTCHA,body:{captcha_key:e}}).then(function(){t.close()},function(){t.setState({captchaKey:t.state.captchaKey+1})})},t.prototype.handleClick=function(e){e===L.VerificationTypes.EMAIL_OR_PHONE?this.handleVerifyEmail():this.handleVerifyPhone()},t.prototype.handleVerifyEmail=function(){(0,A.accountDetailsInit)(),N.default.open()},t.prototype.handleVerifyPhone=function(){_.default.push(function(e){return f.default.createElement(E.default,e)})},t.prototype.close=function(){(0,b.popLayer)()},t.prototype.handleLogout=function(){_.default.push(function(e){return f.default.createElement(x.default,s({header:P.default.Messages.LOGOUT,confirmText:P.default.Messages.LOGOUT,cancelText:P.default.Messages.CANCEL,onConfirm:function(){return I.default.logout()}},e),P.default.Messages.USER_SETTINGS_CONFIRM_LOGOUT)})},t}(f.default.PureComponent);t.default=d.default.connectStores([C.default,D.default],function(){var e=D.default.getAction(),t=L.VerificationTypes.CAPTCHA;return e===L.UserRequiredActions.REQUIRE_VERIFIED_EMAIL?t=L.VerificationTypes.EMAIL_OR_PHONE:e===L.UserRequiredActions.REQUIRE_VERIFIED_PHONE&&(t=L.VerificationTypes.PHONE),{theme:C.default.theme,type:t}})(k),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(3),l=a(s),u=n(82),f=a(u),c=n(14),d=a(c),p=n(127),h=a(p),g=i.default.createClass({displayName:"DisableSilence",dontShowAgain:function(){f.default.setSilenceWarning(!1),this.okay()},okay:function(){d.default.pop()},render:function(){return o(h.default,{title:l.default.Messages.CONFIRM_DISABLE_SILENCE_TITLE,body:l.default.Messages.CONFIRM_DISABLE_SILENCE_BODY,minorText:l.default.Messages.CONFIRM_DISABLE_SILENCE_DONT_SHOW,onConfirmSecondary:this.dontShowAgain,onConfirm:this.okay,confirmText:l.default.Messages.OKAY,iconUrl:n(450)})}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(7),c=a(f),d=n(2),p=a(d),h=n(13),g=a(h),m=n(63),v=a(m),E=n(1630),y=a(E),_=n(15),b=a(_),S=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return c.default.bindAll(a,["handleDisagree","handleAgree"]),a}return i(t,e),t.prototype.handleDisagree=function(){var e=this.props.guild;v.default.nsfwDisagree(e.id)},t.prototype.handleAgree=function(){var e=this.props.guild;v.default.nsfwAgree(e.id)},t.prototype.render=function(){return s(b.default,{className:"theme-"+this.props.theme,justify:b.default.Justify.CENTER},void 0,s(y.default,{onAgree:this.handleAgree,onDisagree:this.handleDisagree}))},t}(u.default.PureComponent);t.default=p.default.connectStores([g.default],function(){return{theme:g.default.theme}})(S),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(5)),s=a(i);n(2211);var l=n(58),u=a(l),f=n(3),c=a(f),d=function(e){var t=e.video,n=u.default.name.toLowerCase();return o("div",{className:(0,s.default)("media-hint",n)},void 0,t?c.default.Messages.MEDIA_HINT_TITLE:c.default.Messages.AUDIO_HINT_TITLE,o("small",{},void 0,t?c.default.Messages.MEDIA_HINT_BODY:c.default.Messages.AUDIO_HINT_BODY))};t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(58),l=a(s),u=n(3),f=a(u),c=n(71),d=a(c),p=n(127),h=a(p),g=i.default.createClass({displayName:"NoMic",statics:{key:function(){return"no-mic"}},render:function(){var e="Firefox"===l.default.name?204392448:205093487;return o(h.default,{title:f.default.Messages.NO_MIC_TITLE,body:f.default.Messages.NO_MIC_BODY,onConfirm:function(){return window.open(d.default.getArticleURL(e),"_blank")},confirmText:f.default.Messages.HELP_DESK,iconUrl:n(450)})}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(27),l=a(s),u=n(62),f=a(u),c=n(270),d=a(c),p=n(488),h=a(p),g=n(3),m=a(g),v=n(71),E=a(v),y=n(1),_=n(127),b=a(_),S=205082178,I=i.default.createClass({displayName:"PTTPermission",statics:{modalConfig:{stores:[d.default,l.default],isOpen:function(){return d.default.getGameRequiresElevation()&&f.default.isConnected()&&l.default.getMode()===y.InputModes.PUSH_TO_TALK&&d.default.canShowAdminWarning},getProps:function(){return{gameName:d.default.getGameName()}}}},render:function(){return o(b.default,{title:m.default.Messages.PTT_PERMISSION_TITLE,body:m.default.Messages.PTT_PERMISSION_BODY.format({game:this.props.gameName}),minorText:m.default.Messages.DONT_SHOW_AGAIN,onConfirmSecondary:function(){return h.default.clearPTTAdminWarning()},onConfirm:function(){return window.open(E.default.getArticleURL(S),"_blank")},confirmText:m.default.Messages.HELP_DESK,iconUrl:n(450)})}});t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(1599),l=a(s),u=n(488),f=a(u),c=n(3),d=a(c),p=n(127),h=a(p),g=i.default.createClass({displayName:"Suppressed",statics:{modalConfig:{store:l.default,isOpen:function(){return l.default.shouldShowWarning()}}},close:function(){f.default.clearSuppressWarning()},handleCloseForever:function(){f.default.clearSuppressWarning(!0)},render:function(){var e=l.default.isAFKChannel(),t=void 0,a=void 0;return e?(t=d.default.Messages.SUPPRESSED_AFK_TITLE,a=d.default.Messages.SUPPRESSED_AFK_BODY):(t=d.default.Messages.SUPPRESSED,a=d.default.Messages.SUPPRESSED_PERMISSION_BODY),o(h.default,{title:t,body:a,onConfirm:this.close,confirmText:d.default.Messages.OKAY,minorText:d.default.Messages.DONT_SHOW_AGAIN,onConfirmSecondary:this.handleCloseForever,iconUrl:n(3038)})}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s=n(806),l=a(s),u=n(488),f=a(u),c=n(3),d=a(c),p=n(127),h=a(p),g=i.default.createClass({displayName:"VADPermission",statics:{modalConfig:{store:l.default,isOpen:function(){return l.default.shouldShowWarning()}}},close:function(){f.default.clearVADWarning()},render:function(){return o(h.default,{title:d.default.Messages.VAD_PERMISSION_TITLE,body:d.default.Messages.VAD_PERMISSION_BODY,onConfirm:this.close,confirmText:d.default.Messages.OKAY,iconUrl:n(450)})}});t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1703),r=a(o),i=n(836),s=a(i);r.default.init({getMessages:function(e){return n(1220)("./"+e)},getLanguages:function(){return n(1219)},didSetLocale:function(e){return s.default.setTags({locale:e})}}),t.default=r.default,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.CALL_START=t.CALL_ACCEPT=void 0;var a=n(36),o=n(1),r=t.CALL_ACCEPT={binds:["mod+return"],global:!0,action:function(){if(a.ComponentDispatch.hasSubscribers(o.ComponentActions.CALL_ACCEPT))return a.ComponentDispatch.dispatch(o.ComponentActions.CALL_ACCEPT),!1}},i=t.CALL_START={binds:["ctrl+'","ctrl+shift+'"],global:!0,action:function(e){if(a.ComponentDispatch.hasSubscribers(o.ComponentActions.CALL_START))return a.ComponentDispatch.dispatch(o.ComponentActions.CALL_START,e),!1}};t.default={CALL_ACCEPT:r,CALL_START:i}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.TOGGLE_PREVIOUS_GUILD=t.CHANNEL_PREV=t.CHANNEL_NEXT=void 0;var o=n(211),r=a(o),i=n(19),s=a(i),l=n(35),u=a(l),f=n(1533),c=a(f),d=n(261),p=a(d),h=n(42),g=a(h),m=n(1),v=t.CHANNEL_NEXT={binds:["alt+down"],global:!0,action:function(){return(0,c.default)(),!1},keyup:function(){return r.default.flushSelection(),!1}},E=t.CHANNEL_PREV={binds:["alt+up"],global:!0,action:function(){return(0,c.default)(-1),!1},keyup:function(){return r.default.flushSelection(),!1}},y=t.TOGGLE_PREVIOUS_GUILD={binds:["mod+alt+right"],global:!0,action:function(){var e=u.default.getGuildId(),t=void 0;if(e)t=m.ME;else{var n=u.default.getLastSelectedGuildId();n&&(t=n,(0,p.default)(n,s.default.getChannelId(n)))}if(null!=t){var a=s.default.getChannelId(t);g.default.transitionTo(a?m.Routes.CHANNEL(t,a):m.Routes.GUILD(t))}return!1}};t.default={CHANNEL_PREV:E,CHANNEL_NEXT:v,TOGGLE_PREVIOUS_GUILD:y}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.CREATE_DM_GROUP=void 0;var o=n(36),r=n(35),i=a(r),s=n(211),l=a(s),u=n(261),f=a(u),c=n(1),d=t.CREATE_DM_GROUP={binds:["mod+shift+t"],global:!0,action:function(){return i.default.getGuildId()&&((0,f.default)(c.ME),l.default.flushSelection(!0)),o.ComponentDispatch.safeDispatch(c.ComponentActions.TOGGLE_DM_CREATE),!1}};t.default={CREATE_DM_GROUP:d}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.CREATE_GUILD=void 0;var o=n(297),r=a(o),i=n(796),s=a(i),l=n(1),u=t.CREATE_GUILD={binds:["mod+shift+n"],global:!0,action:function(){s.default.isOpen()?r.default.setScreen(l.CreateGuildModalScreens.JoinGuild):r.default.open(null,"Keyboard Shortcut")}};t.default={CREATE_GUILD:u}},function(e,t,n){"use strict";t.__esModule=!0,t.FOCUS_SEARCH=void 0;var a=n(36),o=n(1);t.FOCUS_SEARCH={binds:["mod+f"],global:!0,action:function(e){e.preventDefault(),e.stopPropagation(),a.ComponentDispatch.dispatch(o.ComponentActions.FOCUS_SEARCH,{prefillCurrentChannel:!0})}}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.MARK_CHANNEL_READ=void 0;var o=n(1),r=n(36),i=n(35),s=a(i),l=n(19),u=a(l),f=n(88),c=a(f),d=n(355),p=a(d),h=n(54),g=a(h),m=n(89),v=a(m),E=t.MARK_CHANNEL_READ={binds:["esc","shift+pagedown"],global:!0,action:function(){if(r.ComponentDispatch.hasSubscribers(o.ComponentActions.CALL_DECLINE))return r.ComponentDispatch.dispatch(o.ComponentActions.CALL_DECLINE),!1;if(r.ComponentDispatch.hasSubscribers(o.ComponentActions.CONTEXT_MENU_CLOSE))return r.ComponentDispatch.dispatch(o.ComponentActions.CONTEXT_MENU_CLOSE),!1;if(r.ComponentDispatch.hasSubscribers(o.ComponentActions.POPOUT_CLOSE))return r.ComponentDispatch.dispatch(o.ComponentActions.POPOUT_CLOSE),!1;if(r.ComponentDispatch.hasSubscribers(o.ComponentActions.MODAL_CLOSE))return r.ComponentDispatch.dispatch(o.ComponentActions.MODAL_CLOSE),!1;var e=s.default.getGuildId(),t=u.default.getChannelId(e);if(t){c.default.getMessages(t).hasMoreAfter&&g.default.jumpToPresent(t,o.MAX_MESSAGES_PER_CHANNEL),v.default.hasUnread(t)&&p.default.ack(t),p.default.localAck(t)}return r.ComponentDispatch.dispatch(o.ComponentActions.SCROLLTO_PRESENT),!1}};t.default={MARK_CHANNEL_READ:E}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.MARK_SERVER_READ=void 0;var o=n(35),r=a(o),i=n(221),s=a(i),l=n(63),u=a(l),f=n(19),c=a(f),d=n(88),p=a(d),h=n(54),g=a(h),m=n(36),v=n(1),E={},y=t.MARK_SERVER_READ={binds:["shift+esc"],global:!0,action:function(){var e=r.default.getGuildId();if(e&&s.default.getUnreadGuildsIgnoreMuted(e)){if(!E[e]){var t=function(){return delete E[e]};u.default.markGuildAsRead(e).then(t,t)}var n=c.default.getChannelId(e);if(n){p.default.getMessages(n).hasMoreAfter?g.default.jumpToPresent(n,v.MAX_MESSAGES_PER_CHANNEL):m.ComponentDispatch.dispatch(v.ComponentActions.SCROLLTO_PRESENT)}}}};t.default={MARK_SERVER_READ:y}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.JUMP_TO_FIRST_UNREAD=void 0;var o=n(19),r=a(o),i=n(89),s=a(i),l=n(54),u=a(l),f=t.JUMP_TO_FIRST_UNREAD={binds:["shift+pageup"],global:!0,action:function(){var e=r.default.getChannelId();if(e){var t=s.default.ackMessageId(e);t&&s.default.getOldestUnreadTimestamp(e)>0&&u.default.jumpToMessage(e,t,!1,"Keyboard Shortcut")}return!1}};t.default={JUMP_TO_FIRST_UNREAD:f}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.RETURN_TO_AUDIO_CHANNEL=void 0;var o=n(62),r=a(o),i=n(19),s=a(i),l=n(211),u=a(l),f=n(158),c=a(f),d=n(261),p=a(d),h=n(1),g=t.RETURN_TO_AUDIO_CHANNEL={binds:["mod+alt+left"],global:!0,action:function(){if(!r.default.isConnected())return!1;var e=r.default.getGuildId()||h.ME,t=s.default.getChannelId(e);return(0,p.default)(e,t),u.default.flushSelection(!0),c.default.channelListScrollTo(e,r.default.getChannelId()),!1}};t.default={RETURN_TO_AUDIO_CHANNEL:g}},function(e,t,n){"use strict";t.__esModule=!0,t.SCROLL_DOWN=t.SCROLL_UP=void 0;var a=n(36),o=n(1),r=t.SCROLL_UP={binds:["pageup"],global:!0,action:function(){return a.ComponentDispatch.dispatchToLastSubscribed(o.ComponentActions.SCROLL_PAGE_UP),!1}},i=t.SCROLL_DOWN={binds:["pagedown"],global:!0,action:function(){return a.ComponentDispatch.dispatchToLastSubscribed(o.ComponentActions.SCROLL_PAGE_DOWN),!1}};t.default={SCROLL_UP:r,SCROLL_DOWN:i}},function(e,t,n){"use strict";t.__esModule=!0,t.SEARCH_EMOJIS=void 0;var a=n(36),o=n(1),r=t.SEARCH_EMOJIS={binds:["mod+e"],global:!0,action:function(){return a.ComponentDispatch.dispatch(o.ComponentActions.TOGGLE_EMOJI_POPOUT),!1}};t.default={SEARCH_EMOJIS:r}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.SERVER_PREV=t.SERVER_NEXT=void 0;var o=n(211),r=a(o),i=n(1534),s=a(i),l=t.SERVER_NEXT={binds:["mod+alt+down","mod+shift+]","ctrl+tab"],global:!0,action:function(e){return e.preventDefault(),e.stopPropagation(),(0,s.default)(),!1},keyup:function(){return r.default.flushSelection(),!1}},u=t.SERVER_PREV={binds:["mod+alt+up","mod+shift+[","ctrl+shift+tab"],global:!0,action:function(e){return e.preventDefault(),e.stopPropagation(),(0,s.default)(-1),!1},keyup:function(){return r.default.flushSelection(),!1}};t.default={SERVER_NEXT:l,SERVER_PREV:u}},function(e,t,n){"use strict";t.__esModule=!0,t.SUBMIT=void 0;var a=n(1),o=n(36),r=t.SUBMIT={binds:["return"],global:!1,action:function(){if(o.ComponentDispatch.hasSubscribers(a.ComponentActions.MODAL_SUBMIT))return o.ComponentDispatch.dispatch(a.ComponentActions.MODAL_SUBMIT),!1}};t.default={SUBMIT:r}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.TEXTAREA_FOCUS=void 0;var o=n(62),r=a(o),i=n(27),s=a(i),l=n(1),u=n(36),f=t.TEXTAREA_FOCUS={binds:["tab","any-character"],global:!1,action:function(e,t){if(u.ComponentDispatch.hasSubscribers(l.ComponentActions.MODAL_CLOSE))return!1;if("tab"===t)return e.preventDefault(),u.ComponentDispatch.dispatch(l.ComponentActions.TEXTAREA_FOCUS),!1;var n=["PageDown","PageUp","Home","End"];if(r.default.isConnected()&&s.default.getMode()===l.InputModes.PUSH_TO_TALK&&!s.default.isSelfMute())return e.preventDefault(),!1;e.metaKey||e.ctrlKey||n.indexOf(e.key)!==-1||u.ComponentDispatch.dispatchToLastSubscribed(l.ComponentActions.TEXTAREA_FOCUS)}};t.default={TEXTAREA_FOCUS:f}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.TOGGLE_DEAFEN=t.TOGGLE_MUTE=void 0;var o=n(82),r=a(o),i=t.TOGGLE_MUTE={binds:["mod+shift+m"],global:!0,action:function(){return r.default.toggleSelfMute(),!1}},s=t.TOGGLE_DEAFEN={binds:["mod+shift+d"],global:!0,action:function(){return r.default.toggleSelfDeaf(),!1}};t.default={TOGGLE_MUTE:i,TOGGLE_DEAFEN:s}},function(e,t,n){"use strict";t.__esModule=!0,t.TOGGLE_CHANNEL_PINS=void 0;var a=n(36),o=n(1),r=t.TOGGLE_CHANNEL_PINS={binds:["mod+p"],global:!0,action:function(){return a.ComponentDispatch.dispatch(o.ComponentActions.TOGGLE_CHANNEL_PINS),!1}};t.default={TOGGLE_CHANNEL_PINS:r}},function(e,t,n){"use strict";t.__esModule=!0,t.TOGGLE_HELP=void 0;var a=n(36),o=n(1),r=t.TOGGLE_HELP={binds:["mod+shift+h","f1"],global:!0,action:function(){return a.ComponentDispatch.dispatch(o.ComponentActions.TOGGLE_HELP_MODAL),!1}};t.default={TOGGLE_HELP:r}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.TOGGLE_HOTKEYS=void 0;var o=n(351),r=a(o),i=n(803),s=a(i),l=t.TOGGLE_HOTKEYS={binds:["mod+/","mod+shift+/"],global:!0,action:function(){return s.default.isOpen()?r.default.hide():r.default.show(),!1}};t.default={TOGGLE_HOTKEYS:l}},function(e,t,n){"use strict";t.__esModule=!0,t.TOGGLE_MENTIONS=void 0;var a=n(36),o=n(1),r=t.TOGGLE_MENTIONS={binds:["mod+i"],global:!0,action:function(){return a.ComponentDispatch.dispatch(o.ComponentActions.TOGGLE_MENTIONS),!1}};t.default={TOGGLE_MENTIONS:r}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.TOGGLE_USERS=void 0;var o=n(710),r=a(o),i=n(1),s=t.TOGGLE_USERS={binds:["mod+u"],global:!0,action:function(){return r.default.toggleSection(i.ChannelSections.MEMBERS),!1}};t.default={TOGGLE_USERS:s}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.MENTION_PREV=t.MENTION_NEXT=t.UNREAD_PREV=t.UNREAD_NEXT=void 0;var o=n(1535),r=a(o),i=n(211),s=a(i),l=n(89),u=a(l),f=n(104),c=a(f),d=n(188),p=a(d),h=n(1),g=function(e,t){return!c.default.isChannelMuted(e,t)&&u.default.hasUnread(t)},m=t.UNREAD_NEXT={binds:["alt+shift+down"],global:!0,action:function(){var e=p.default.getGuildId()||h.ME;return(0,r.default)(1,g,function(t){return t===e||!c.default.isMuted(t)}),!1},keyup:function(){return s.default.flushSelection(),!1}},v=t.UNREAD_PREV={binds:["alt+shift+up"],global:!0,action:function(){var e=p.default.getGuildId()||h.ME;return(0,r.default)(-1,g,function(t){return t===e||!c.default.isMuted(t)}),!1},keyup:function(){return s.default.flushSelection(),!1}},E=function(e,t){return u.default.getMentionCount(t)>0},y=t.MENTION_NEXT={binds:["mod+shift+alt+down"],global:!0,action:function(){return(0,r.default)(1,E),!1},keyup:function(){return s.default.flushSelection(),!1}},_=t.MENTION_PREV={binds:["mod+shift+alt+up"],global:!0,action:function(){return(0,r.default)(-1,E),!1},keyup:function(){return s.default.flushSelection(),!1}};t.default={UNREAD_NEXT:m,UNREAD_PREV:v,MENTION_NEXT:y,MENTION_PREV:_}},function(e,t,n){"use strict";t.__esModule=!0,t.UPLOAD_FILE=void 0;var a=n(36),o=n(1),r=t.UPLOAD_FILE={binds:["mod+shift+u"],global:!0,action:function(){return a.ComponentDispatch.dispatch(o.ComponentActions.UPLOAD_FILE),!1}};t.default={UPLOAD_FILE:r}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var a=m.default.isMutedCollapsed();if(e!==y.ME&&a){if(n.reduce(function(t,n){return E.default.isChannelMuted(e,n)?t+=1:t},0)>3)return n.filter(function(n){return!a||(n===t||!E.default.isChannelMuted(e,n))})}return n}t.__esModule=!0;var r=n(7),i=a(r),s=n(261),l=a(s),u=n(188),f=a(u),c=n(381),d=a(c),p=n(98),h=a(p),g=n(374),m=a(g),v=n(104),E=a(v),y=n(1);t.default=i.default.throttle(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=f.default.getGuildId(),n=void 0;t?n=h.default.getTextChannelIds(t):(t=y.ME,n=[void 0].concat(d.default.getPrivateChannelIds()));var a=f.default.getChannelId(t);n=o(t,a,n);var r=n.indexOf(a)+e;r<0&&(r=n.length-1),r>=n.length&&(r=0),(0,l.default)(t,n[r])},y.NAVIGATION_THROTTLE),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(7),r=a(o),i=n(165),s=a(i),l=n(188),u=a(l),f=n(19),c=a(f),d=n(261),p=a(d),h=n(1);t.default=r.default.throttle(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=s.default.guildPositions,n=u.default.getGuildId(),a=-1;n&&(a=t.indexOf(n)),a+=e,a===-2&&(a=t.length-1);var o=void 0;o=a>=t.length||a<0?h.ME:t[a];var r=c.default.getChannelId(o);(0,p.default)(o,r==o?null:r)},h.NAVIGATION_THROTTLE),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=[u.ME].concat(c.default.guildPositions),a=n.indexOf(e);return t>0?n.slice(a).concat(n.slice(0,a),e):(n.splice(a,0,e),n.slice(a+1).concat(n.slice(0,a+1)))}function r(e){return e===u.ME?p.default.getPrivateChannelIds():g.default.getTextChannelIds(e)}function i(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){return!0},a=v.default.getGuildId()||u.ME,i=o(a,e),s=e>0?0:i.length-1,l=r(a),f=l.indexOf(v.default.getChannelId(a))+e,c=void 0;a;){if(c=l[f],n(a))for(;c;){if(t(a,c))return(0,y.default)(a,c);f+=e,c=l[f]}if(s+=e,a=i[s],!a)break;l=r(a),f=e<0?l.length-1:0}_.ComponentDispatch.dispatch(u.ComponentActions.SHAKE_APP,{duration:200,intensity:2})}t.__esModule=!0;var s=n(7),l=a(s),u=n(1),f=n(165),c=a(f),d=n(381),p=a(d),h=n(98),g=a(h),m=n(188),v=a(m),E=n(261),y=a(E),_=n(36);t.default=l.default.throttle(i,u.NAVIGATION_THROTTLE),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.SETTINGS_LAYERS_LAYOUT=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(1),i=n(36),s=n(769),l=a(s);t.SETTINGS_LAYERS_LAYOUT=o({POP_LAYER:{binds:["esc"],global:!0,action:function(){return i.ComponentDispatch.hasSubscribers(r.ComponentActions.CALL_DECLINE)?(i.ComponentDispatch.dispatch(r.ComponentActions.CALL_DECLINE),!1):i.ComponentDispatch.hasSubscribers(r.ComponentActions.CONTEXT_MENU_CLOSE)?(i.ComponentDispatch.dispatch(r.ComponentActions.CONTEXT_MENU_CLOSE),!1):i.ComponentDispatch.hasSubscribers(r.ComponentActions.POPOUT_CLOSE)?(i.ComponentDispatch.dispatch(r.ComponentActions.POPOUT_CLOSE),!1):i.ComponentDispatch.hasSubscribers(r.ComponentActions.MODAL_CLOSE)?(i.ComponentDispatch.dispatch(r.ComponentActions.MODAL_CLOSE),!1):void i.ComponentDispatch.dispatch(r.ComponentActions.LAYER_POP_ESCAPE_KEY)}}},l.default)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return l.ComponentDispatch.dispatch(s.ComponentActions.DDR_ARROW_DOWN,{direction:e}),!1}function r(e){return l.ComponentDispatch.dispatch(s.ComponentActions.DDR_ARROW_UP,{direction:e}),!1}t.__esModule=!0,t.SHORTCUT_MODAL_LAYOUT=void 0;var i,s=n(1),l=n(36),u=n(351),f=a(u);t.SHORTCUT_MODAL_LAYOUT=(i={},i[s.Arrows.UP]={binds:["up"],keydown:o.bind(null,s.Arrows.UP),keyup:r.bind(null,s.Arrows.UP)},i[s.Arrows.DOWN]={binds:["down"],keydown:o.bind(null,s.Arrows.DOWN),keyup:r.bind(null,s.Arrows.DOWN)},i[s.Arrows.LEFT]={binds:["left"],keydown:o.bind(null,s.Arrows.LEFT),keyup:r.bind(null,s.Arrows.LEFT)},i[s.Arrows.RIGHT]={binds:["right"],keydown:o.bind(null,s.Arrows.RIGHT),keyup:r.bind(null,s.Arrows.RIGHT)},i.RAGING_DEMON={binds:["h h right n k"],action:function(){f.default.activateRagingDemon()}},i)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=n(18),i=a(r),s=n(16),l=a(s),u=n(1),f=n(4),c=a(f),d=36e5,p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d;o(this,e),this.updateAvailable=!1,i.default.embedded&&(i.default.on(u.ActionTypes.CHECKING_FOR_UPDATES,this._handleCheckingForUpdates.bind(this)),i.default.on(u.ActionTypes.UPDATE_NOT_AVAILABLE,this._handleNativeUpdateNotAvailable.bind(this)),i.default.on(u.ActionTypes.UPDATE_AVAILABLE,this._handleUpdateAvailable.bind(this,!0)),i.default.on(u.ActionTypes.UPDATE_ERROR,this._handleUpdateError.bind(this)),i.default.on(u.ActionTypes.UPDATE_DOWNLOADED,this._handleUpdateDownloaded.bind(this,!0)),i.default.on(u.ActionTypes.UPDATE_MANUALLY,this._handleUpdateManually.bind(this))),this._checkInterval=setInterval(this.checkForUpdates.bind(this),t)}return e.prototype.destroy=function(){clearInterval(this._checkInterval)},e.prototype.quitAndInstall=function(){this.hasNativeUpdate?i.default.send("QUIT_AND_INSTALL"):location.reload(!0)},e.prototype.checkForUpdates=function(){this.updateAvailable||(i.default.embedded?i.default.send("CHECK_FOR_UPDATES"):this._handleNativeUpdateNotAvailable())},e.prototype._handleCheckingForUpdates=function(){c.default.dispatch({type:u.ActionTypes.CHECKING_FOR_UPDATES})},e.prototype._handleNativeUpdateNotAvailable=function(){var e=this;this._handleCheckingForUpdates(),l.default.get({url:location.protocol+"//"+location.host+"/assets/version.canary.json",query:{_:Date.now()/1e3/60/5|0}}).then(function(t){"af21563cc489508472814427bf56deaf20594eea"!==t.body.hash&&t.body.required?e._handleUpdateDownloaded(!1):e._handleUpdateNotAvailable()},function(){return e._handleUpdateError()})},e.prototype._handleUpdateNotAvailable=function(){c.default.dispatch({type:u.ActionTypes.UPDATE_NOT_AVAILABLE})},e.prototype._handleUpdateAvailable=function(e){this.updateAvailable=!0,this.hasNativeUpdate=e,c.default.dispatch({type:u.ActionTypes.UPDATE_AVAILABLE})},e.prototype._handleUpdateManually=function(){this.updateAvailable=!0,this.hasNativeUpdate=!0,c.default.dispatch({type:u.ActionTypes.UPDATE_MANUALLY})},e.prototype._handleUpdateError=function(e){this.updateAvailable=!1,c.default.dispatch({type:u.ActionTypes.UPDATE_ERROR,message:e})},e.prototype._handleUpdateDownloaded=function(e,t,n,a,o){this._handleUpdateAvailable(e),c.default.dispatch({type:u.ActionTypes.UPDATE_DOWNLOADED,releaseNotes:t,releaseName:n,releaseDate:a,updateURL:o})},e}();t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){var n=null!=e.editedTimestamp?+e.editedTimestamp.toDate():0;return(null!=t.edited_timestamp?+new Date(t.edited_timestamp):0)>n||e.embeds.length<t.embeds.length||e.content!==t.content}function i(e,t){var n=e.get(t.id);return null==n||r(n,t)?c.default.create(t):n}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),u=n(1),f=n(129),c=a(f),d=n(7),p=a(d),h=!0;h||console.warn("ENABLE_INFINITE_SCROLLING:",h);var g=function(){function e(t){o(this,e),this._messages=[],this._map={},this._wasAtEdge=!1,this._isCacheBefore=t}return e.prototype.clone=function t(){var t=new e(this._isCacheBefore);return t._map=s({},this._map),t._messages=[].concat(this._messages),t._wasAtEdge=this._wasAtEdge,t},e.prototype.clear=function(){this._map={},this._messages=[],this._wasAtEdge=!1},e.prototype.remove=function(e){this._messages=p.default.filter(this._messages,function(t){return t.id!==e}),delete this._map[e]},e.prototype.removeMany=function(e){var t=this;p.default.each(e,function(e){delete t._map[e]}),this._messages=this._messages.filter(function(t){return e.indexOf(t.id)===-1})},e.prototype.replace=function(e,t){var n=this._map[e];n&&(delete this._map[e],this._map[t.id]=t,this._messages[this._messages.indexOf(n)]=t)},e.prototype.update=function(e,t){var n=this._map[e];if(n){var a=t(n);this._map[n.id]=a,this._messages[this._messages.indexOf(n)]=a}},e.prototype.has=function(e){return null!=this._map[e]},e.prototype.forEach=function(e,t){this._messages.forEach(e,t)},e.prototype.cache=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(0===this.length&&(this._wasAtEdge=n),this._messages.length+e.length>u.MAX_MESSAGE_CACHE_SIZE){if(this._wasAtEdge=!1,e.length>u.MAX_MESSAGE_CACHE_SIZE)return this._isCacheBefore?this._messages=e.slice(e.length-u.MAX_MESSAGE_CACHE_SIZE):this._messages=e.slice(0,u.MAX_MESSAGE_CACHE_SIZE),this._map={},void this._messages.forEach(function(e){return t._map[e.id]=e});var a=u.MAX_MESSAGE_CACHE_SIZE-e.length;this._isCacheBefore?this._messages=this._messages.slice(Math.max(this._messages.length-a,0)):this._messages=this._messages.slice(0,a)}this._messages=this._isCacheBefore?[].concat(this._messages,e):[].concat(e,this._messages),this._map={},this._messages.forEach(function(e){return t._map[e.id]=e})},e.prototype.extractAll=function(){var e=this._messages;return this._messages=[],this._map={},e},e.prototype.extract=function(e){var t=this,n=void 0;if(this._isCacheBefore){var a=Math.max(this.length-e,0),o=this.length;n=this._messages.slice(a,o),this._messages.splice(a)}else{var r=0,i=Math.min(e,this.length);n=this._messages.slice(r,i),this._messages.splice(r,e)}return n.forEach(function(e){return delete t._map[e.id]}),n},l(e,[{key:"wasAtEdge",get:function(){return this._wasAtEdge},set:function(e){this._wasAtEdge=e}},{key:"length",get:function(){return this._messages.length}}]),e}(),m=function(){function e(t){o(this,e),this.channelId=t,this.ready=!1,this.jumpTargetId=null,this.jumpSequenceId=1,this.jumped=!1,this.jumpedToPresent=!1,this.jumpFlash=!0,this.hasMoreBefore=!0,this.hasMoreAfter=!1,this.loadingMore=!1,this.revealedMessageId=null,this._clearMessages(),this._before=new g(!0),this._after=new g(!1)}return e.forEach=function(t){p.default.forEach(e._channelMessages,t)},e.get=function(t){return e._channelMessages[t]},e.hasPresent=function(t){var n=e.get(t);return n&&n.hasPresent()},e.getOrCreate=function(t){var n=e._channelMessages[t];return null==n&&(n=new e(t),e._channelMessages[t]=n),n},e.clear=function(t){delete e._channelMessages[t]},e.clearCache=function(t){var n=e._channelMessages[t];n&&(n._before.clear(),n._after.clear(),this.commit(n))},e.commit=function(t){e._channelMessages[t.channelId]=t},e.prototype.mutate=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=new e(this.channelId);return a._array=n?[].concat(this._array):this._array,a._map=n?s({},this._map):this._map,a._after=n?this._after.clone():this._after,a._before=n?this._before.clone():this._before,t instanceof Function?(a.ready=this.ready,a.jumpTargetId=this.jumpTargetId,a.jumpSequenceId=this.jumpSequenceId,a.jumped=this.jumped,a.jumpedToPresent=this.jumpedToPresent,a.jumpFlash=this.jumpFlash,a.hasMoreBefore=this.hasMoreBefore,a.hasMoreAfter=this.hasMoreAfter,a.loadingMore=this.loadingMore,a.revealedMessageId=this.revealedMessageId,t(a)):(a.ready=void 0!==t.ready?t.ready===!0:this.ready,a.jumpTargetId=void 0!==t.jumpTargetId?t.jumpTargetId:this.jumpTargetId,a.jumpSequenceId=void 0!==t.jumpSequenceId?t.jumpSequenceId:this.jumpSequenceId,a.jumped=void 0!==t.jumped?t.jumped===!0:this.jumped,a.jumpedToPresent=void 0!==t.jumpedToPresent?t.jumpedToPresent===!0:this.jumpedToPresent,a.jumpFlash=void 0!==t.jumpFlash?t.jumpFlash===!0:this.jumpFlash,a.hasMoreBefore=void 0!==t.hasMoreBefore?t.hasMoreBefore===!0:this.hasMoreBefore,a.hasMoreAfter=void 0!==t.hasMoreAfter?t.hasMoreAfter===!0:this.hasMoreAfter,a.loadingMore=void 0!==t.loadingMore?t.loadingMore:this.loadingMore,a.revealedMessageId=void 0!==t.revealedMessageId?t.revealedMessageId:this.revealedMessageId),a},e.prototype.toArray=function(){return[].concat(this._array)},e.prototype.forEach=function(e,t){this._array.forEach(e,t)},e.prototype.forAll=function(e,t){this._array.forEach(e,t),this._before.forEach(e,t),this._after.forEach(e,t)},e.prototype.map=function(e,t){return this._array.map(e,t)},e.prototype.first=function(){return this._array[0]},e.prototype.last=function(){return this._array[this._array.length-1]},e.prototype.get=function(e){return this._map[e]},e.prototype.getAfter=function(e){var t=this.get(e);if(null==t)return null;var n=this._array.indexOf(t);return n===-1||n===this.length-1?null:this._array[n+1]},e.prototype.has=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return null!=this._map[e]||t&&(this._before.has(e)||this._after.has(e))},e.prototype.hasPresent=function(){return this._after.length>0&&this._after.wasAtEdge||!this.hasMoreAfter},e.prototype.hasBeforeCached=function(e){if(this.length>0&&this._before.length>0){var t=this.first();return null!=t&&t.id==e}return!1},e.prototype.hasAfterCached=function(e){if(this.length>0&&this._after.length>0){var t=this.last();return null!=t&&t.id==e}return!1},e.prototype.update=function(e,t){var n=this._map[e];if(null==n)return this._before.has(e)?this.mutate(function(n){return n._before.update(e,t)},!0):this._after.has(e)?this.mutate(function(n){return n._after.update(e,t)},!0):this;var a=t(n);return this.mutate(function(e){e._map[n.id]=a,e._array[e._array.indexOf(n)]=a},!0)},e.prototype.replace=function(e,t){var n=this._map[e];return null==n?this._before.has(e)?this.mutate(function(n){return n._before.replace(e,t)},!0):this._after.has(e)?this.mutate(function(n){return n._after.replace(e,t)},!0):this:this.mutate(function(a){delete a._map[e],a._map[t.id]=t,a._array[a._array.indexOf(n)]=t},!0)},e.prototype.remove=function(e){return this.mutate(function(t){delete t._map[e],t._array=t._array.filter(function(t){return t.id!==e}),t._before.remove(e),t._after.remove(e)},!0)},e.prototype.removeMany=function(e){var t=this;return e.some(function(e){return t.has(e)})?this.mutate(function(t){p.default.each(e,function(e){delete t._map[e]}),t._array=t._array.filter(function(t){return e.indexOf(t.id)===-1}),t._before.removeMany(e),t._after.removeMany(e)},!0):this},e.prototype.merge=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.mutate(function(a){a._merge(e,t,n)},!0)},e.prototype._merge=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e=e.filter(function(e){var n=t._map[e.id];return t._map[e.id]=e,null==n||(t._array[t._array.indexOf(n)]=e,!1)}),a){(n?this._before:this._after).clear()}this._array=n?[].concat(e,this._array):[].concat(this._array,e)},e.prototype._clearMessages=function(){this._array=[],this._map={}},e.prototype.reset=function(e){return this.mutate(function(t){t._array=e,t._map={},e.forEach(function(e){return t._map[e.id]=e}),t._before.clear(),t._after.clear()})},e.prototype.truncateTop=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this._array.length-e;return n<=0?this:this.mutate(function(e){for(var t=0;t<n;t++)delete e._map[e._array[t].id];e._before.cache(e._array.slice(0,n),!e.hasMoreBefore),e._array=e._array.slice(n),e.hasMoreBefore=!0},t)},e.prototype.truncateBottom=function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!h||this._array.length<=e?this:this.mutate(function(n){for(var a=e;a<t._array.length;a++)delete n._map[n._array[a].id];n._after.cache(n._array.slice(e,t._array.length),!n.hasMoreAfter),n._array=n._array.slice(0,e),n.hasMoreAfter=!0},n)},e.prototype.jumpToPresent=function(e){return this.mutate(function(t){var n=t._after.extractAll();t.hasMoreAfter=!1;var a=Math.max(n.length-e,0),o=n.slice(a);n.splice(a),t._before.cache(t._array),t._before.cache(n),t._clearMessages(),t._merge(o),t.hasMoreBefore=t._before.length>0,t.jumped=!0,t.jumpTargetId=null,t.jumpedToPresent=!0,t.jumpFlash=!1,t.jumpSequenceId=t.jumpSequenceId+1,t.ready=!0,t.loadingMore=!1},!0)},e.prototype.jumpToMessage=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.mutate(function(n){n.jumped=!0,n.jumpedToPresent=!1,n.jumpTargetId=e,n.jumpSequenceId=n.jumpSequenceId+1,n.jumpFlash=t,n.ready=!0,n.loadingMore=!1},!1)},e.prototype.loadFromCache=function(e,t){return this.mutate(function(n){var a=e?n._before:n._after;n._merge(a.extract(t),e);var o=a.length>0||!a.wasAtEdge;e?n.hasMoreBefore=o:n.hasMoreAfter=o,n.ready=!0,n.loadingMore=!1},!0)},e.prototype.truncate=function(e,t){return this.length<=u.MAX_LOADED_MESSAGES?this:e?this.truncateBottom(u.TRUNCATED_MESSAGE_VIEW_SIZE):t?this.truncateTop(u.TRUNCATED_MESSAGE_VIEW_SIZE):this},e.prototype.receiveMessage=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(null!=e.nonce&&this.has(e.nonce,!0))return this.replace(e.nonce,c.default.create(e));if(!this.hasMoreAfter){var n=this.merge([i(this,e)]);return t?n.truncateTop(u.MAX_MESSAGES_PER_CHANNEL,!1):this.length>u.MAX_LOADED_MESSAGES?n.truncateBottom(u.MAX_LOADED_MESSAGES,!1):n}return this._after.wasAtEdge&&(this._after.wasAtEdge=!1),this},e.prototype.load=function(e){var t=this,n=e.newMessages,a=e.isBefore||!1,o=e.isAfter||!1,r=e.jump||null,s=e.hasMoreBefore||!1,l=e.hasMoreAfter||!1;n=(0,p.default)(n).reverse().map(function(e){return i(t,e)}).value();var u=null;return u=!a&&!o||r?this.reset(n):this.merge(n,a,!0),u=u.mutate({ready:!0,loadingMore:!1,jumpFlash:r&&r.flash||!1,jumped:null!=r,jumpedToPresent:r&&r.present||!1,jumpTargetId:r&&r.messageId||null,jumpSequenceId:r?u.jumpSequenceId+1:u.jumpSequenceId,hasMoreBefore:!r&&o?u.hasMoreBefore:s,hasMoreAfter:!r&&a?u.hasMoreAfter:l})},l(e,[{key:"length",get:function(){return this._array.length}}]),e}();m._channelMessages={},t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=function(){function e(t){a(this,e),this.notices=t}return e.prototype.getStores=function(){var e=[];return this.notices.forEach(function(t){return t.Store&&e.push(t.Store)}),e},e.prototype.getNotice=function(e,t,n){return this.notices.find(function(a){var o=a.Store,r=a.Type,i=e[r];return null!=o?o.channelNoticePredicate(i,t,n):i})},e}();t.default=o,e.exports=t.default},function(e,t,n){"use strict";(function(a,o){function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e){return null!=w?w.pack(e).buffer:JSON.stringify(e)}function f(e){if(null!=window.ArrayBuffer&&e instanceof ArrayBuffer){if(null!=w)return w.unpack(new a(new Uint8Array(e)));throw new Error("erlpack not loaded")}if("string"==typeof e)return JSON.parse(e);throw new Error("cannot unpack data")}function c(e){return null!=w?e:O.default.inflate(e,{to:"string"})}function d(e,t,n,a,o,r){var i=window._ws,s=void 0,l=!1,u=null;window._ws=null,null!=i&&(s=i.ws,i.state.gateway!==e?(console.log("[FAST CONNECT] gatewayURL mismatch: "+i.state.gateway+" !== "+e),s.close(1e3),s=null):(l=i.state.open,u=i.state.messages)),null==s&&(s=new WebSocket(e),s.binaryType="arraybuffer"),t(s),l&&n(),u&&u.forEach(a),s.onopen=n,s.onmessage=a,s.onclose=r,s.onerror=o}function p(){}t.__esModule=!0;var h=n(262),g=r(h),m=n(74),v=r(m),E=n(365),y=r(E),_=n(161),b=r(_),S=n(845),I=r(S),T=n(16),N=r(T),A=n(25),M=r(A),C=n(695),O=r(C),D=n(18),L=r(D),R=n(1),x="gatewayURL",w=function(){try{return L.default.require("erlpack")}catch(e){return null}}(),P=null!=w?"etf":"json",k=6,U=4,G=0,j=1,F=2,B=3,V=4,H=5,z=6,W=7,Y=8,K=9,Q=10,Z=11,X=12,J=13,q=0,$=1,ee=2,te=3,ne=4,ae=5,oe=4004,re=2e4,ie=18e4,se=function(){function e(t,n){l(this,e),this.gatewayBackoff=n,this.discoveryEndpoint=t,this.gatewayURL=this._loadGatewayFromCache(),this.logger=b.default.create("GatewayDiscovery")}return e.prototype._loadGatewayFromCache=function(){if(null==this.gatewayURL)return M.default.get(x)},e.prototype._cacheDiscoveredGateway=function(){M.default.set(x,this.gatewayURL)},e.prototype.discoverGateway=function(){var e=this;if(this.gatewayBackoff.fails<=U){var t=this.gatewayURL;if(null!=t)return this.logger.info("[STICKY] "+t),Promise.resolve(t)}return this.logger.info("[DISCOVERING]"),N.default.get(this.discoveryEndpoint).then(function(t){var n=t.body.url;return e.gatewayURL=n,e._cacheDiscoveredGateway(),e.logger.info("[DISCOVERED] "+n),n},function(){throw M.default.remove(x),L.default.flushDNSCache(),new Error("Could not discover gateway")})},e}(),le=function(e){function t(n,a){l(this,t);var o=i(this,e.call(this));return o.gatewayBackoff=new y.default(1e3,6e4),o.gatewayDiscovery=new se(n,o.gatewayBackoff),o.handleIdentify=a,o.connectionState=q,o.webSocket=null,o.seq=0,o.replayedEvents=0,o.sessionId=null,o.token=null,o.logger=b.default.create("GatewaySocket"),o.expeditedHeartbeatTimeout=null,o.lastHeartbeatAckTime=null,o.helloTimeout=null,o.heartbeatInterval=null,o.heartbeater=null,o.heartbeatAck=!0,o.connectionStartTime=0,o.nextReconnectIsImmediate=!1,o}return s(t,e),t.prototype._discoveryFailed=function(){var e=this,t=this.gatewayBackoff.fail(function(){return e._discover()});this.logger.warn("[DISCOVERY FAIL] retrying in "+(t/1e3).toFixed(2)+" seconds."),this.gatewayBackoff.fails>U&&this._reset(!1,0,"Gateway discovery failed")},t.prototype._discover=function(){var e=this;this.nextReconnectIsImmediate=!1,this.connectionState===$&&this.gatewayDiscovery.discoverGateway().then(function(t){e._connect(t)},function(){e._discoveryFailed()})},t.prototype._connect=function(e){var t=this;this.connectionState===$&&(this.connectionState=ee,this.logger.info("[CONNECT] "+e+", encoding: "+P+", version: "+k),null!==this.webSocket&&(this.logger.error("_connect called with already existing websocket"),this._cleanup(function(e){return e.close(4e3)})),this.connectionStartTime=Date.now(),this.helloTimeout=setTimeout(function(){var e=Date.now()-t.connectionStartTime;t._handleClose(!1,0,"The connection timed out after "+e+" ms - did not receive OP_HELLO in time.")},re),d(e+"/?encoding="+P+"&v="+k,function(e){return t.webSocket=e},function(){var n=Date.now()-t.connectionStartTime;t.logger.info("[CONNECTED] "+e+" in "+n+" ms"),t._doResumeOrIdentify()},function(e){var n=t._parseWebsocketMessage(e),a=n.op,o=n.s,r=n.t,i=n.d;switch(null!=o&&(t.seq=o),a){case Q:t._clearHelloTimeout(),t._handleHello(i);break;case W:t._handleReconnect();break;case K:t._handleInvalidSession(i);break;case j:t._sendHeartbeat();break;case Z:t._handleHeartbeatAck(i);break;case G:t.connectionState===ne&&(t.replayedEvents+=1,g.default.pauseEmittingChanges(150)),t._handleDispatch(i,r);break;default:t.logger.info("Unhandled op "+a)}},function(){L.default.flushDNSCache(),t._handleClose(!1,0,"An error with the websocket occurred")},function(e){var n=e.wasClean,a=e.code,o=e.reason;return t._handleClose(n,a,o)}))},t.prototype._handleHello=function(e){var t=this.heartbeatInterval=e.heartbeat_interval,n=Date.now()-this.connectionStartTime;this.logger.info("[HELLO] via "+this._getConnectionPath(e)+", heartbeat interval: "+t+", took "+n+" ms"),this._startHeartbeater()},t.prototype._handleReconnect=function(){this.logger.info("[RECONNECT] gateway requested I reconnect."),this._cleanup(function(e){return e.close(4e3)}),this.connectionState=$,this._discover()},t.prototype._handleInvalidSession=function(e){this.logger.info("[INVALID_SESSION]"+(e?" can resume)":"")),e?this._doResumeOrIdentify():this._doIdentify()},t.prototype._handleDispatch=function(e,t){if("READY"===t||"RESUMED"===t){g.default.resumeEmittingChanges();var n=Date.now()-this.connectionStartTime;switch(t){case"READY":var a=e.session_id;this.sessionId=a,this.logger.info("[READY] via "+this._getConnectionPath(e)+" as "+a+", took "+n+" ms");break;case"RESUMED":this.logger.info("[RESUMED] via "+this._getConnectionPath(e)+", took "+n+" ms, replayed "+this.replayedEvents+" events, new seq: "+this.seq),this.replayedEvents=0}this.connectionState=ae,this.gatewayBackoff.succeed()}this.emit("dispatch",t,e)},t.prototype._handleHeartbeatAck=function(){this.lastHeartbeatAckTime=Date.now(),this.heartbeatAck=!0,null!==this.expeditedHeartbeatTimeout&&(clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=null,this.logger.info("Expedited heartbeat succeeded"))},t.prototype._handleHeartbeatTimeout=function(){var e=this;this._cleanup(function(e){return e.close(4e3)}),this.connectionState=$;var t=this.gatewayBackoff.fail(function(){return e._discover()});this.logger.warn("[ACK TIMEOUT] reconnecting in "+(t/1e3).toFixed(2)+" seconds.")},t.prototype._handleClose=function(e,t,n){var a=this;if(e=e||!1,this._cleanup(),t===oe)return this.connectionState=q,this._reset(e,t,n);if(this.connectionState=$,this.nextReconnectIsImmediate)this.logger.warn("[WS CLOSED] ("+e.toString()+", "+t+", "+n+") retrying immediately."),this._discover();else{var o=this.gatewayBackoff.fail(function(){return a._discover()});this.logger.warn("[WS CLOSED] ("+e.toString()+", "+t+", "+n+") retrying in "+(o/1e3).toFixed(2)+" seconds."),this.gatewayBackoff.fails>U&&this._reset(e,t,n)}},t.prototype._reset=function(e,t,n){this.sessionId=null,this.seq=0,this.logger.warn("[RESET] ("+e.toString()+", "+t+", "+n+")"),this.emit("disconnect",{wasClean:e,code:t,reason:n})},t.prototype._startHeartbeater=function(){var e=this;null!==this.heartbeater&&I.default.clearInterval(this.heartbeater),this.heartbeatAck=!0,this.heartbeater=I.default.setInterval(function(){e.heartbeatAck?(e.heartbeatAck=!1,e._sendHeartbeat()):null===e.expeditedHeartbeatTimeout&&e._handleHeartbeatTimeout()},this.heartbeatInterval)},t.prototype._stopHeartbeater=function(){null!==this.heartbeater&&(I.default.clearInterval(this.heartbeater),this.heartbeater=null),null!==this.expeditedHeartbeatTimeout&&(clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=null)},t.prototype._clearHelloTimeout=function(){null!=this.helloTimeout&&(clearTimeout(this.helloTimeout),this.helloTimeout=null)},t.prototype._cleanup=function(e){g.default.resumeEmittingChanges(),this._stopHeartbeater(),this._clearHelloTimeout();var t=this.webSocket;this.webSocket=null,null!=t&&(t.onopen=p,t.onmessage=p,t.onerror=p,t.onclose=p,e&&e(t)),this.gatewayBackoff.cancel()},t.prototype._getConnectionPath=function(e){return e._trace?e._trace.join(" -> "):"???"},t.prototype._parseWebsocketMessage=function(e){var t=e.data;return t instanceof Uint8Array&&(t=t.buffer),t instanceof ArrayBuffer&&(t=c(t,{to:"string"})),f(t)},t.prototype._doResume=function(){this.connectionState=ne,this.replayedEvents=0,this.logger.info("[RESUME] resuming session "+(this.sessionId||"")+", seq: "+this.seq),this.send(z,{token:this.token,session_id:this.sessionId,seq:this.seq},!1)},t.prototype._doIdentify=function(){this.seq=0,this.sessionId=null;var e=this.handleIdentify();if(null===e)return void this._handleClose(!0,oe,"No connection info provided");this.connectionState=te;var t=e.token,n=e.syncedGuilds,a=void 0===n?[]:n,o=e.properties,r=void 0===o?{}:o,i=e.presence,s=i.status,l=i.since,u=i.afk,f=i.activity;this.token=t,this.logger.info("[IDENTIFY]"),this.send(F,{token:t,properties:r,large_threshold:R.LARGE_THRESHOLD,synced_guilds:a,presence:{status:s,since:l,afk:u,game:f},compress:!0},!1)},t.prototype._doResumeOrIdentify=function(){var e=Date.now();null!==this.sessionId&&(null==this.lastHeartbeatAckTime||e-this.lastHeartbeatAckTime<=ie)?this._doResume():this._doIdentify(),this.lastHeartbeatAckTime=e},t.prototype._sendHeartbeat=function(){this.send(j,this.seq,!1)},t.prototype.isDisconnected=function(){return this.connectionState===q},t.prototype.connect=function(){return this.connectionState!==q?(this.logger.error("Cannot start a new connection, connection state is not disconnected"),!1):(this.connectionState=$,this._discover(),!0)},t.prototype.close=function(){var e=this;this._cleanup(function(e){return e.close()}),this.connectionState=q,o(function(){e._reset(!0,1e3,"Disconnect requested by user")})},t.prototype.expeditedHeartbeat=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.webSocket?(this.logger.info("Performing an expedited heartbeat "+(n?"reason: "+n:"")),this.heartbeatAck=!1,this._sendHeartbeat(),null!==this.expeditedHeartbeatTimeout&&clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=setTimeout(function(){t.expeditedHeartbeatTimeout=null,0==t.heartbeatAck&&t._handleHeartbeatTimeout()},e)):a?this.resetBackoff(n):this.logger.info("Expedited heartbeat requested, but is disconnected and a reset was not requested "+(n?"reason: "+n:""))},t.prototype.resetBackoff=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.logger.info("Connection backoff reset "+(e?"for reason: "+e:"")),this.gatewayBackoff.succeed(),this.nextReconnectIsImmediate=!0,this.connectionState===$&&this._discover()},t.prototype.isSessionEstablished=function(){return this.connectionState==ae},t.prototype.send=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=u({op:e,d:t});if(!n||this.isSessionEstablished())try{null!=this.webSocket?this.webSocket.send(a):this.logger.warn("Attempted to send without a websocket that exists. Opcode: "+e)}catch(e){}else this.logger.warn("Attempted to send while not being in a connected state opcode: "+e)},t.prototype.presenceUpdate=function(e,t,n,a){this.send(B,{status:e,since:t,game:n||null,afk:a})},t.prototype.voiceStateUpdate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];this.send(V,{guild_id:e,channel_id:t,self_mute:n,self_deaf:a,self_video:o})},t.prototype.voiceServerPing=function(){this.send(H,null)},t.prototype.requestGuildMembers=function(e,t,n){this.send(Y,{guild_id:e,query:t,limit:n})},t.prototype.syncGuilds=function(e){this.send(X,e)},t.prototype.callConnect=function(e){this.send(J,{channel_id:e})},t}(v.default);t.default=le,e.exports=t.default}).call(t,n(196).Buffer,n(78).setImmediate)},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=function(){function e(t){a(this,e),this.modals=t}return e.prototype.getStores=function(){for(var e=[],t=Object.keys(this.modals),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var r=o,i=this.modals[r].modalConfig;i.store&&e.push(i.store),i.stores&&e.push.apply(e,i.stores)}return e},e.prototype.getOpenModal=function(){for(var e=Object.keys(this.modals),t=Array.isArray(e),n=0,e=t?e:e[Symbol.iterator]();;){var a;if(t){if(n>=e.length)break;a=e[n++]}else{if(n=e.next(),n.done)break;a=n.value}var o=a,r=this.modals[o],i=r.modalConfig,s=i.stores;null==s&&(s=[i.store]);var l=!1;if(i.isOpen)l=i.isOpen();else for(var u=0;u<s.length;u++){var f=s[u];f.isOpen&&(l=f.isOpen())}if(l){var c={};if(i.getProps)c=i.getProps();else for(var d=0;d<s.length;d++){var p=s[d];p.getProps&&(c=p.getProps())}return{key:o,component:r,props:c,closable:null==i.closable||i.closable,backdropInstant:i.backdropInstant||!1,backdropStyle:i.backdropStyle,disableAnimation:i.disableAnimation||!1}}}return null},e}();t.default=o,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){return A.default.get(S.Endpoints.ICE).then(function(e){return e.body})}t.__esModule=!0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),u=n(451),f=a(u),c=n(74),d=a(c),p=n(161),h=a(p),g=n(365),m=a(g),v=n(1544),E=a(v),y=n(162),_=n(27),b=a(_),S=n(1),I=n(29),T=a(I),N=n(16),A=a(N),M=/^https/.test(location.protocol)?"wss:":"ws:",C=20,O=500,D=250,L=function(e){function t(n,a,i,s){o(this,t);var l=r(this,e.call(this));return l.userId=n,l.sessionId=a,l.guildId=i,l.channelId=s,l._endpoint=null,l.hostname=null,l.port=null,l.token=null,l.state=S.RTCConnectionStates.AWAITING_ENDPOINT,l._socket=null,l._backoff=new m.default(1e3,1e4),l._destroyed=!1,l._pings=[],l.log=h.default.create("RTCConnection("+(i||s)+")"),l.hasFailedConnection=!1,l}return i(t,e),t.prototype.connect=function(e,t){var n=this;if(this._destroyed)throw new Error("RTCConnection.connect(...): Attempting to connect on destroyed instance.");this._backoff.cancel();var a=this.endpoint,o=this.token;if(this.endpoint=e,this.token=t,a===this.endpoint&&o===t||this._cleanupSocket(),null==this.endpoint)return void this.setState(S.RTCConnectionStates.AWAITING_ENDPOINT);var r=this._socket;null!=r&&this._cleanupSocket(),r=this._socket=new E.default(this.endpoint),r.on("connecting",this._handleConnecting.bind(this,r)),r.on("connect",this._handleConnect.bind(this,r)),r.on("disconnect",this._handleDisconnect.bind(this,r)),r.on("resuming",this._handleResuming.bind(this,r)),r.on("ready",this._handleReadyOrReset.bind(this,r)),r.on("reset",this._handleReadyOrReset.bind(this,r)),r.on("speaking",this._handleSpeaking.bind(this,r)),r.on("video",this._handleVideo.bind(this,r)),r.on("ping",this._handleControlPing.bind(this)),r.on("client-disconnect",this._handleClientDisconnect.bind(this)),b.default.supports(y.MediaEngineFeatures.ICE)?(0,y.getIceServers)(s).then(function(e){null!=r&&n._socket==r&&(n._iceServers=e,r.connect())}):r.connect()},t.prototype.reconnect=function(){var e=this._socket;null!=e&&(e.close(),e.connect())},t.prototype.destroy=function(){this._backoff.cancel(),this._cleanupSocket(),this._connection&&this._connection.destroy(),this.removeAllListeners(),this._destroyed=!0},t.prototype.sendSpeaking=function(e,t){var n=this._socket;if(null!=n){var a=b.default.getPacketDelay();n.speaking(e,a,t)}},t.prototype.sendVideo=function(e,t){var n=this._socket;null!=n&&n.video(e,t)},t.prototype.getPings=function(){return this._pings},t.prototype.getAveragePing=function(){var e=this._pings;return 0===e.length||null==this._socket?0:e.reduce(function(e,t){return e+t},0)/e.length},t.prototype.getLastPing=function(){return this._pings[this._pings.length-1]},t.prototype.setState=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.state=e,this.emit("state",e,t)},t.prototype.expeditedHeartbeat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=this._socket;null!=a&&a.expeditedHeartbeat(e,t,n)},t.prototype.resetBackoff=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this._socket;null!=t&&t.resetBackoff(e)},t.prototype.reset=function(){var e=this._connection;null!=e&&(e.destroy(),this._connection=null);var t=this._socket;null!=t&&(t.removeAllListeners("encryption"),t.removeAllListeners("sdp"),t.removeAllListeners("peers"),t.removeAllListeners("signal"),t.reset())},t.prototype._cleanupSocket=function(){var e=this._socket;null!=e&&(e.close(),e.removeAllListeners(),this._socket=null)},t.prototype._handleConnecting=function(){null!=this.endpoint&&this.log.info("Connecting to RTC server "+this.endpoint+"."),this.setState(S.RTCConnectionStates.CONNECTING)},t.prototype._handleConnect=function(e){var t=this.token;if(null==t)throw new Error("RTCConnection._handleConnect(...): Token is missing.");this.log.info("Connected to RTC server."),e.identify(this.guildId||this.channelId,this.userId,this.sessionId,t),this.setState(S.RTCConnectionStates.AUTHENTICATING)},t.prototype._handleDisconnect=function(e,t,n,a){var o=this;this.log.info("Disconnected from RTC server.",{wasClean:t,code:n,reason:a});var r="Force Close"!==a;if(r){var i=this._backoff.fail(function(){return o.reconnect()});this.log.warn("Disconnect was not clean! reason="+a+". Reconnecting in "+(i/1e3).toFixed(2)+" seconds.")}this._connection&&this._connection.destroy(),this.setState(S.RTCConnectionStates.DISCONNECTED,{willReconnect:r})},t.prototype._handleResuming=function(){this._connection&&this._connection.clearAllSpeaking()},t.prototype._handleReadyOrReset=function(e,t,n,a){var o=this;this.log.info("Discovered dedicated UDP server on port "+t),this.setState(S.RTCConnectionStates.RTC_CONNECTING);var r=this.hostname;if(null==r)throw new Error("Hostname must be set.");var i=b.default.getMediaEngine().connect(this.userId,{ssrc:a,address:r,port:t,iceServers:b.default.supports(y.MediaEngineFeatures.ICE)?this._iceServers:[]});i.on("speaking",function(e,t,n){o.userId===e&&o.sendSpeaking(t,n||0)}),i.on("video",function(e,t,n,a){o.userId===e&&o.sendVideo(n||0,a||0)}),i.on("connected",function(t,n){if(e===o._socket){switch(o.protocol=t,o.hasFailedConnection&&(T.default.track("voice_connection_success",{session_id:o.sessionId,hostname:o.hostname,port:o.port,protocol:t}),o.hasFailedConnection=!1),t){case"udp":o.log.info("Sending UDP info to RTC server.",n),e.once("encryption",function(e,t){return i.setEncryption(e,t)}),e.selectProtocol(t,n);break;case"webrtc":o.log.info("Sending local SDP to RTC server."),e.once("sdp",function(e){return i.setSDP(e)}),e.selectProtocol(t,n.sdp);break;case"webrtc-p2p":e.once("peers",function(e){return i.createPeers(e)}),e.on("signal",function(e,t){t.description?i.setRemoteDescription(t.user_id,t.description):t.candidate&&i.addIceCandidate(t.user_id,t.candidate)}),e.selectProtocol(t);break;default:return void o.log.error("Unable to determine protocol.")}o._backoff.succeed()}}),i.on("error",function(t){e===o._socket&&(o.log.error("Error occurred while connecting to RTC server: "+t),T.default.track("voice_connection_failure",{session_id:o.sessionId,hostname:o.hostname,port:o.port,protocol:o.protocol,error:t}),o.hasFailedConnection=!0)}),i.on("connectionstatechange",function(t){if(e===o._socket){var n=o.state;switch(t){case y.MediaEngineConnectionStates.DISCONNECTED:o.setState(S.RTCConnectionStates.RTC_DISCONNECTED);break;case y.MediaEngineConnectionStates.CONNECTING:o.setState(S.RTCConnectionStates.RTC_CONNECTING);break;case y.MediaEngineConnectionStates.CONNECTED:o.setState(S.RTCConnectionStates.RTC_CONNECTED);break;case y.MediaEngineConnectionStates.NO_ROUTE:o.setState(S.RTCConnectionStates.NO_ROUTE);break;case y.MediaEngineConnectionStates.ICE_CHECKING:o.setState(S.RTCConnectionStates.ICE_CHECKING)}n===S.RTCConnectionStates.RTC_CONNECTING&&o.state===S.RTCConnectionStates.RTC_DISCONNECTED?o.reconnect():o.state===S.RTCConnectionStates.NO_ROUTE&&o._backoff.fail(function(){return o.reconnect()})}}),i.on("signal",function(t,n){e.signal(t,n)}),i.on("ping",this._handlePing.bind(this)),i.on("video",this._handleVideoStreamId.bind(this)),this._connection=i},t.prototype._handleSpeaking=function(e,t,n,a){var o=this._connection;null!=o&&this.userId!==t&&(a&&o.createUser(t,n),o.setSpeaking(t,a))},t.prototype._handleVideoStreamId=function(e,t){this.emit("video",this.guildId,e,t)},t.prototype._handleVideo=function(e,t,n,a){var o=this._connection;null!=o&&this.userId!==t&&o.createUser(t,n,a)},t.prototype._handleControlPing=function(e){b.default.supports(y.MediaEngineFeatures.NATIVE_PING)||this._handlePing(e)},t.prototype._handlePing=function(e){for(this._pings.push(e);this._pings.length>=C;)this._pings.shift();this.emit("ping")},t.prototype._handleClientDisconnect=function(e){var t=this._connection;null!=t&&t.destroyUser(e)},l(t,[{key:"quality",get:function(){var e=this.getLastPing();return this.state!==S.RTCConnectionStates.RTC_CONNECTED||void 0===e?S.RTCConnectionQuality.UNKNOWN:e>O?S.RTCConnectionQuality.BAD:e>D?S.RTCConnectionQuality.AVERAGE:S.RTCConnectionQuality.FINE}},{key:"endpoint",get:function(){return this._endpoint},set:function(e){if(null==e)this._endpoint=null,this.hostname=null;else{e=M+"//"+e;var t=f.default.parse(e),n=t.hostname,a=t.port;a=parseInt(a),null==n||80!==a&&443!==a||(e=M+"//"+n),this._endpoint=e+"/",this.hostname=n}}}]),t}(d.default);t.default=L,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(74),f=a(u),c=n(845),d=a(c),p=n(161),h=a(p),g=n(365),m=a(g),v=n(18),E=a(v),y=3,_=0,b=1,S=2,I=3,T=4,N=5,A=6,M=7,C=8,O=9,D=10,L=11,R=12,x=13,w=1,P=2e4,k=3,U=6e4,G=.25,j=.1,F=4004,B=4006,V=4011,H=4015,z=4800,W=4801,Y=4802,K=0,Q=1,Z=2,X=3,J=4,q=5,$=function(e){function t(n){o(this,t);var a=r(this,e.call(this));return a.url=n,a.webSocket=null,a.backoff=new m.default(1e3,5e3),a.connectionState=K,a.helloTimeout=null,a.lastHeartbeatAckTime=null,a.heartbeatInterval=null,a.heartbeater=null,a.heartbeatAck=!0,a.expeditedHeartbeatTimeout=null,a.connectionStartTime=0,a.sessionId=null,a.serverId=null,a.token=null,a.resumable=!1,a.logger=h.default.create("RTCControlSocket"),a}return i(t,e),t.prototype._connect=function(){var e=this;this.logger.info("[CONNECT] "+this.url),null!==this.webSocket&&(this.logger.error("Connect called with already existing websocket"),this._cleanupWebSocket(function(e){return e.close(4e3)})),this.connectionStartTime=Date.now(),this.helloTimeout=setTimeout(function(){var t=Date.now()-e.connectionStartTime;e._handleClose(!1,0,"The connection timed out after "+t+" ms - did not receive OP_HELLO in time.")},P);var t=this.webSocket=new WebSocket(this.url+"?v="+y);t.onopen=function(){e.connectionState===Q?e.emit("connect"):e.connectionState===q&&e._doResumeOrClose(),e.connectionState=J;var t=Date.now()-e.connectionStartTime;e.logger.info("[CONNECTED] "+e.url+" in "+t+" ms"),e.emit("ping",Math.round(t/2))},t.onmessage=function(t){var n=e._parseWebSocketMessage(t),a=n.op,o=n.d;switch(a){case C:e._clearHelloTimeout(),e._handleHello(o);break;case S:e._handleReady(o);break;case O:e._handleResumed(o);break;case T:o.sdp?e.emit("sdp",o.sdp):o.mode?e.emit("encryption",o.mode,o.secret_key):o.peers&&e.emit("peers",o.peers),e.resumable=!0;break;case N:e.emit("speaking",o.user_id,o.ssrc,o.speaking);break;case I:e._sendHeartbeat();break;case A:e.emit("ping",Date.now()-o),e._handleHeartbeatAck(o);break;case D:e.emit("signal",o.user_id,o);break;case L:e.emit("reset",o.port,o.modes,o.ssrc,o.ip);break;case R:e.emit("video",o.user_id,o.audio_ssrc,o.video_ssrc);break;case x:e.emit("client-disconnect",o.user_id);break;default:e.logger.info("Unhandled op "+a)}},t.onerror=function(){return e._handleClose(!1,0,"An error with the websocket occurred")},t.onclose=function(t){var n=t.wasClean,a=t.code,o=t.reason;return e._handleClose(n,a,o)}},t.prototype.send=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.webSocket;if(null!=n&&n.readyState===w){var a=JSON.stringify({op:e,d:t});try{n.send(a)}catch(e){}}},t.prototype.ping=function(){this._sendHeartbeat()},t.prototype._doResumeOrClose=function(){var e=Date.now();null!==this.serverId&&null!==this.token&&null!==this.sessionId&&this.resumable&&(null==this.lastHeartbeatAckTime||e-this.lastHeartbeatAckTime<=U)?(this._doResume(),this.lastHeartbeatAckTime=e):this._disconnect(!1,W,"Cannot resume connection.")},t.prototype._doResume=function(){this.logger.info("[RESUME] resuming session. serverId="+(this.serverId||"")+" sessionId="+(this.sessionId||"")),this.emit("resuming"),this.connectionState=X,this.send(M,{token:this.token,session_id:this.sessionId,server_id:this.serverId},!1)},t.prototype._handleHello=function(e){var t=E.default.embedded?G:j,n=this.heartbeatInterval=e.heartbeat_interval*t,a=Date.now()-this.connectionStartTime;this.logger.info("[HELLO] heartbeat interval: "+n+", took "+a+" ms"),this._startHeartbeater()},t.prototype._handleReady=function(e){this.backoff.succeed();var t=Date.now()-this.connectionStartTime;this.logger.info("[READY] took "+t+" ms"),this.emit("ready",e.port,e.modes,e.ssrc,e.ip)},t.prototype._handleResumed=function(){this.backoff.succeed()},t.prototype._handleClose=function(e,t,n){var a=this;if(this.connectionState=K,e=e||!1,this._cleanupWebSocket(),t===F||t===H||t===V||t===B)return this._disconnect(e,t,n);if(this.backoff.fails>k)this.logger.warn("[WS CLOSED] Backoff exceed. Resetting."),this._disconnect(e,t,n);else{var o=this.backoff.fail(function(){return a._reconnect(e,t,n)});this.logger.warn("[WS CLOSED] ("+e.toString()+", "+t+", "+n+") retrying in "+(o/1e3).toFixed(2)+" seconds.")}},t.prototype._disconnect=function(e,t,n){this.logger.warn("[DISCONNECT] ("+e.toString()+", "+t+", "+n+")"),this._cleanupWebSocket(),this._cleanupState(),this.connectionState=K,this.emit("disconnect",e,t,n)},t.prototype._reconnect=function(e,t,n){this.logger.info("[RECONNECT] wasClean="+e.toString()+" code="+t+" reason="+n),this._cleanupWebSocket(function(e){return e.close(4e3)}),this.connectionState=q,this._connect()},t.prototype._cleanupWebSocket=function(e){this._stopHeartbeater(),this._clearHelloTimeout();var t=this.webSocket;this.webSocket=null,null!=t&&(t.onopen=s,t.onmessage=s,t.onerror=s,t.onclose=s,e&&e(t)),this.backoff.cancel()},t.prototype._cleanupState=function(){this.serverId=null,this.sessionId=null,this.token=null,this.resumable=!1},t.prototype._parseWebSocketMessage=function(e){return JSON.parse(e.data)},t.prototype._clearHelloTimeout=function(){null!=this.helloTimeout&&(clearTimeout(this.helloTimeout),this.helloTimeout=null)},t.prototype._handleHeartbeatAck=function(){this.lastHeartbeatAckTime=Date.now(),this.heartbeatAck=!0,null!==this.expeditedHeartbeatTimeout&&(clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=null,this.logger.info("Expedited heartbeat succeeded"))},t.prototype._handleHeartbeatTimeout=function(){var e=this;this._cleanupWebSocket(function(e){return e.close(4e3)});var t=this.backoff.fail(function(){return e._reconnect(!1,z,"Heartbeat timeout.")});this.logger.warn("[ACK TIMEOUT] reconnecting in "+(t/1e3).toFixed(2)+" seconds.")},t.prototype._startHeartbeater=function(){var e=this;null!==this.heartbeater&&d.default.clearInterval(this.heartbeater),this.heartbeatAck=!0,this.heartbeater=d.default.setInterval(function(){e.heartbeatAck?(e.heartbeatAck=!1,e._sendHeartbeat()):null===e.expeditedHeartbeatTimeout&&e._handleHeartbeatTimeout()},this.heartbeatInterval)},t.prototype._sendHeartbeat=function(){this.send(I,Date.now())},t.prototype._stopHeartbeater=function(){null!==this.heartbeater&&(d.default.clearInterval(this.heartbeater),this.heartbeater=null),null!==this.expeditedHeartbeatTimeout&&(clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=null)},t.prototype.connect=function(){return this.connectionState!==K?(this.logger.error("Cannot start a new connection, connection state is not disconnected"),!1):(this.connectionState=Q,this._connect(),this.emit("connecting"),!0)},t.prototype.identify=function(e,t,n,a){this.serverId=e,this.sessionId=n,this.token=a,this.connectionState=Z,this.send(_,{server_id:e,user_id:t,session_id:n,token:a})},t.prototype.expeditedHeartbeat=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.webSocket?(this.logger.info("Performing an expedited heartbeat "+(n?"reason: "+n:"")),this.heartbeatAck=!1,this._sendHeartbeat(),null!==this.expeditedHeartbeatTimeout&&clearTimeout(this.expeditedHeartbeatTimeout),this.expeditedHeartbeatTimeout=setTimeout(function(){t.expeditedHeartbeatTimeout=null,0==t.heartbeatAck&&t._handleHeartbeatTimeout()},e)):a?this.resetBackoff(n):this.logger.info("Expedited heartbeat requested, but is disconnected and a reset was not requested "+(n?"reason: "+n:""))},t.prototype.resetBackoff=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.logger.info("Connection backoff reset "+(e?"for reason: "+e:"")),this.backoff.fails>0&&null==this.webSocket&&(this.backoff.succeed(),this._reconnect(!1,Y,"Reset backoff."))},t.prototype.close=function(){this._cleanupWebSocket(function(e){return e.close(4e3)}),this._cleanupState(),this.connectionState=K,this.emit("disconnect",!0,1e3,"Force Close")},t.prototype.destroy=function(){this.close()},t.prototype.selectProtocol=function(e,t){this.send(b,{protocol:e,data:t||null})},t.prototype.speaking=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.send(N,{speaking:e,delay:t,ssrc:n})},t.prototype.video=function(e,t){this.send(R,{audio_ssrc:e,video_ssrc:t})},t.prototype.signal=function(e,t){this.send(D,l({user_id:e},t))},t.prototype.reset=function(){this.send(L)},t}(f.default);t.default=$,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){return Array.from(y.default.getMediaEngine().connections)[0]}function i(){var e=r();return v({ducking:!1,inputDevice:y.default.getMediaEngine().audioInputDeviceIndex,outputDevice:y.default.getMediaEngine().audioOutputDeviceIndex,inputVolume:y.default.getMediaEngine().inputVolume/_.DEFAULT_VOLUME,outputVolume:y.default.getMediaEngine().outputVolume/_.DEFAULT_VOLUME,builtInEchoCancellation:!0,echoCancellation:e.echoCancellation,noiseSuppression:e.noiseSuppression,automaticGainControl:e.automaticGainControl},e._getConnectionTransportOptions())}function s(){return r()._getUserOptions()}function l(e){y.default.getMediaEngine().collectDiagnostics().then(e)}function u(e){var t=e.SelectedChannelStore,n=e.AuthenticationStore,a=e.SortedVoiceStateStore,o=e.ChannelStore,r=o.getChannel(t.getVoiceChannelId());if(null==r)return!1;var i=a.getVoiceStatesForChannel(r.getGuildId(),r),s=n.getId();return new Set(i.map(function(e){return e.user.id}).filter(function(e){return e!=s}))}function f(e,t){for(var n=t.MediaEngineStore,a=t.ChannelStore,o=t.SortedVoiceStateStore,r=t.SelectedChannelStore,i=t.AuthenticationStore,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O,l=new T,u={MediaEngineStore:n,ChannelStore:a,SortedVoiceStateStore:o,SelectedChannelStore:r,AuthenticationStore:i},f=s,c=Array.isArray(f),d=0,f=c?f:f[Symbol.iterator]();;){var p;if(c){if(d>=f.length)break;p=f[d++]}else{if(d=f.next(),d.done)break;p=d.value}var h=p,g=C[h];l.pushDiagnostic(h);try{g.run(e,l,u),l.popDiagnostic()}catch(e){l.diagnosticFailed(e)}}return{diagnosticsRan:s,logs:l.logs}}function c(e){var t=C[e];return void 0===t?null:{name:t.name,description:t.description}}t.__esModule=!0,t.InputModeToHumanReadable=t.VADAggressivenessToHumanReadable=t.NoiseSuppressionToHumanReadable=t.AutomaticGainControlToHumanReadable=t.EchoCancellationToHumanReadable=t.LogType=void 0;var d,p,h,g,m,v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.getTransportOptions=i,t.getUserOptions=s,t.collectDiagnostics=l,t.runDiagnostics=f,t.getDiagnosticInfo=c;var E=n(27),y=a(E),_=n(369),b=n(3),S=a(b),I=t.LogType={SUCCESS:"success",WARNING:"warning",ERROR:"error"},T=(t.EchoCancellationToHumanReadable=(d={},d[_.EchoCancellation.DISABLED]="Disabled",d[_.EchoCancellation.UNCHANGED]="Unchanged",d[_.EchoCancellation.DEFAULT]="Platform Default",d[_.EchoCancellation.CONFERANCE]="Conferencing Default (Aggressive AEC)",d[_.EchoCancellation.AEC]="Automatic Echo Cancellation",d[_.EchoCancellation.AECM]="Automatic Echo Cancellation Mobile",d),t.AutomaticGainControlToHumanReadable=(p={},p[_.AutomaticGainControl.DISABLED]="Disabled",p[_.AutomaticGainControl.UNCHANGED]="Unchanged",p[_.AutomaticGainControl.DEFAULT]="Platform Default",p[_.AutomaticGainControl.ADAPTIVE_ANALOG]="Adaptive Analog",p[_.AutomaticGainControl.ADAPTIVE_DIGITAL]="Adaptive Digital",p[_.AutomaticGainControl.FIXED_DIGITAL]="Fixed Digital",p),t.NoiseSuppressionToHumanReadable=(h={},h[_.NoiseSuppression.DISABLED]="Disabled",h[_.NoiseSuppression.UNCHANGED]="Unchanged",h[_.NoiseSuppression.DEFAULT]="Platform Default",h[_.NoiseSuppression.CONFERENCE]="Conferencing Default",h[_.NoiseSuppression.LOW_SUPPRESSION]="Lowest Suppression",h[_.NoiseSuppression.MODERATE_SUPPRESSION]="Moderate Suppression",h[_.NoiseSuppression.HIGH_SUPPRESSION]="High Suppression",h[_.NoiseSuppression.VERY_HIGH_SUPPRESSION]="Very High Suppression",h),t.VADAggressivenessToHumanReadable=(g={},g[_.VADAggressiveness.DISABLED]="Disabled",g[_.VADAggressiveness.NORMAL]="Normal",g[_.VADAggressiveness.LOW_BIRTATE]="Low Bitrate",g[_.VADAggressiveness.AGGRESSIVE]="Aggressive",g[_.VADAggressiveness.VERY_AGGRESSIVE]="Very Aggressive",g),t.InputModeToHumanReadable=(m={},m[_.NATIVE_MODE_VALUES[_.InputModes.VOICE_ACTIVITY]]="Voice Activity",m[_.NATIVE_MODE_VALUES[_.InputModes.PUSH_TO_TALK]]="Push To Talk",m),function(){function e(){o(this,e),this.logs={},this.currentDiagnostic=null}return e.prototype.popDiagnostic=function(){this.currentDiagnostic=null},e.prototype.pushDiagnostic=function(e){this.currentDiagnostic=e,this.logs[e]=[]},e.prototype.diagnosticFailed=function(e){this.logs[this.currentDiagnostic].push({message:""+e,type:I.ERROR}),console.error(e),this.popDiagnostic()},e.prototype.addError=function(e,t){this.logs[this.currentDiagnostic].push({message:e,data:t,type:I.ERROR})},e.prototype.addWarning=function(e,t){this.logs[this.currentDiagnostic].push({message:e,data:t,type:I.WARNING})},e.prototype.addSuccess=function(e,t){this.logs[this.currentDiagnostic].push({message:e,data:t,type:I.SUCCESS})},e}()),N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t,n){return t[e||n]}},A=function(e,t){return Math.abs(e-t)<.01},M=function(e,t,n){if(e.index==t.index?n.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_DEVICE_SUCCESS_MATCHES,{key:"index",value:e.index}):n.addError(S.default.Messages.DIAGNOSTIC_CHECK_DEVICE_ERROR_MISMATCH,{key:"index",expectedValue:t.index,nativeValue:e.index}),e.index!==-1){var a=t.originalName||t.name;e.name==a?n.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_DEVICE_SUCCESS_MATCHES,{key:"name",value:e.name}):n.addError(S.default.Messages.DIAGNOSTIC_CHECK_DEVICE_ERROR_MISMATCH,{key:"name",expectedValue:a,nativeValue:e.name})}},C={ensureTransportOptionsMatchDiagnosticDataFlags:{name:S.default.Messages.DIAGNOSTIC_ENSURE_TRANSPORT_OPTIONS_MATCH_DIAGNOSTIC_DATA_FLAG_NAME,description:S.default.Messages.DIAGNOSTIC_ENSURE_TRANSPORT_OPTIONS_MATCH_DIAGNOSTIC_DATA_FLAG_DESCRIPTION,run:function(e,t){var n=i(),a=e.Native.flags,o={agc:N("automaticGainControl"),attenuation:N(),attenuationFactor:N(),ducking:N(),echoCancellation:N(),inputMode:N(),noiseSuppression:N(),speakerVolume:N("outputVolume"),micVolume:N("inputVolume")},r={speakerVolume:A,micVolume:A,attenuationFactor:A},s=function(e,t){return e===t};a.inputMode===_.InputModes.VOICE_ACTIVITY&&(o.vadAutoThreshold=function(e){return e.inputModeOptions.vadAutoThreshold},o.vadLeadin=function(e){return e.inputModeOptions.vadLeadin},o.vadThreshold=function(e){return e.inputModeOptions.vadThreshold},o.vadTrailin=function(e){return e.inputModeOptions.vadTrailin});for(var l=Object.keys(o),u=Array.isArray(l),f=0,l=u?l:l[Symbol.iterator]();;){var c;if(u){if(f>=l.length)break;c=l[f++]}else{if(f=l.next(),f.done)break;c=f.value}var d=c,p=a[d],h=o[d](n,d);(r.hasOwnProperty(d)?r[d]:s)(p,h)?t.addSuccess(S.default.Messages.DIAGNOSTIC_ENSURE_TRANSPORT_OPTIONS_MATCH_DIAGNOSTIC_DATA_FLAG_SUCCESS_MATCHED,{key:d,diagValue:p,optionsValue:h}):t.addError(S.default.Messages.DIAGNOSTIC_ENSURE_TRANSPORT_OPTIONS_MATCH_DIAGNOSTIC_DATA_FLAG_ERROR_MISMATCH,{key:d,diagValue:p,optionsValue:h})}}},checkInputVolumeLevels:{name:S.default.Messages.DIAGNOSTIC_ENSURE_CHECK_INPUT_VOLUME_LEVELS_NAME,description:S.default.Messages.DIAGNOSTIC_ENSURE_CHECK_INPUT_VOLUME_LEVELS_DESCRIPTION,run:function(e,t){var n=e.Native.localUser.volumeDbFS;if(n.length){var a=n.reduce(function(e,t){return e+t},0)/n.length;a<-99?t.addError(S.default.Messages.DIAGNOSTIC_ENSURE_CHECK_INPUT_VOLUME_LEVELS_ERROR_VOLUME_LOOKS_LOW,{averageVolume:a,recentVolumes:n}):t.addSuccess(S.default.Messages.DIAGNOSTIC_ENSURE_CHECK_INPUT_VOLUME_LEVELS_DETECTED_AUDIO_INPUT,{averageVolume:a,recentVolumes:n})}}},checkPing:{name:S.default.Messages.DIAGNOSTIC_CHECK_PING_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_PING_DESCRIPTION,run:function(e,t){var n=250,a=e.Native.localUser.ping;if(a.length){var o=a.reduce(function(e,t){return e+t},0)/a.length,r=Math.max.apply(Math,a);o>=n?t.addError(S.default.Messages.DIAGNOSTIC_CHECK_PING_ERROR_HIGH_PING,{averagePing:o,recentPings:a}):r>=n?t.addWarning(S.default.Messages.DIAGNOSTIC_CHECK_PING_WARNING_SPIKE,{averagePing:o,maxPing:r,recentPings:a}):t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_PING_NOMINAL,{averagePing:o,recentPings:a})}}},checkInputDeviceMatches:{name:S.default.Messages.DIAGNOSTIC_CHECK_INPUT_DEVICE_MATCHES_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_INPUT_DEVICE_MATCHES_DESCRIPTION,run:function(e,t,n){var a=n.MediaEngineStore,o=a.getInputDeviceId(),r=a.getInputDevices(),i=r[o];M(e.Native.inputDevice,i,t)}},checkOutputDeviceMatches:{name:S.default.Messages.DIAGNOSTIC_CHECK_OUTPUT_DEVICE_MATCHES_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_OUTPUT_DEVICE_MATCHES_DESCRIPTION,run:function(e,t,n){var a=n.MediaEngineStore,o=a.getOutputDeviceId(),r=a.getOutputDevices(),i=r[o];M(e.Native.outputDevice,i,t)}},checkUserPackets:{name:S.default.Messages.DIAGNOSTIC_CHECK_USER_PACKETS_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_USER_PACKETS_DESCRIPTION,run:function(e,t,n){var a=n.ChannelStore,o=n.SortedVoiceStateStore,r=n.SelectedChannelStore,i=n.AuthenticationStore,s=a.getChannel(r.getVoiceChannelId());if(null==s)return void t.addWarning(S.default.Messages.DIAGNOSTIC_WARNING_NO_CHANNEL);var l=o.getVoiceStatesForChannel(s.getGuildId(),s.id),u={},f=[],c=i.getId();l.forEach(function(e){var t=e.user;t.id!==c&&(u[t.id]=!1)}),e.Native.users.forEach(function(e){var t=e.id;u.hasOwnProperty(t)?u[t]=!0:f.push(t)}),Object.keys(u).forEach(function(e){u[e]?t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_USER_PACKETS_USER_WAS_SEEN,{userId:e}):t.addWarning(S.default.Messages.DIAGNOSTIC_CHECK_USER_PACKETS_WARNING_NO_PACKET_SEEN,{userId:e})})}},checkUserVolumesMatch:{name:S.default.Messages.DIAGNOSTIC_CHECK_USER_VOLUMES_MATCH_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_USER_VOLUMES_MATCH_DESCRIPTION,run:function(e,t,n){var a=u(n);if(a===!1)return void t.addWarning(S.default.Messages.DIAGNOSTIC_WARNING_NO_CHANNEL);var o=n.MediaEngineStore,r=e.Native.users,i=o.getSettings();r.forEach(function(e){if(a.has(e.id)){var n=e.volume;if(!i.localVolumes.hasOwnProperty(e.id)&&1==n)return void t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_USER_VOLUMES_MATCH_NOMINAL,{userVolume:n,userId:e.id});var o=i.localVolumes[e.id]/100;A(o,n)?t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_USER_VOLUMES_MATCH_NOMINAL,{userVolume:n,userId:e.id}):t.addError(S.default.Messages.DIAGNOSTIC_CHECK_USER_VOLUMES_MATCH_ERROR_VOLUME_MISMATCH,{userVolume:n,localVolume:o,userId:e.id})}})}},checkUserMutesMatch:{name:S.default.Messages.DIAGNOSTIC_CHECK_USER_MUTES_MATCH_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_USER_MUTES_MATCH_DESCRIPTION,run:function(e,t,n){var a=u(n);if(a===!1)return void t.addWarning(S.default.Messages.DIAGNOSTIC_WARNING_NO_CHANNEL);var o=n.MediaEngineStore,r=e.Native.users,i=o.getSettings();r.forEach(function(e){if(a.has(e.id)){var n=!!i.localMutes[e.id],o=e.muted;n!==o?t.addError(S.default.Messages.DIAGNOSTIC_CHECK_USER_MUTES_ERROR_MISMATCH,{localMuted:n,userMuted:o,userId:e.id}):t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_USER_MUTES_NOMINAL,{userMuted:o,userId:e.id})}})}},checkLocalUser:{name:S.default.Messages.DIAGNOSTIC_CHECK_LOCAL_USER_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_LOCAL_USER_DESCRIPTION,run:function(e,t,n){var a=n.AuthenticationStore,o=e.Native.localUser.id,r=a.getId();r!=o?t.addError(S.default.Messages.DIAGNOSTIC_CHECK_LOCAL_USER_NOMINAL,{diagnosticUserId:o,userId:r}):t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_LOCAL_USER_NOMINAL,{userId:r})}},checkUsersWhoHaveLowVolumes:{name:S.default.Messages.DIAGNOSTIC_CHECK_USERS_WHO_HAVE_LOW_VOLUMES_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_USERS_WHO_HAVE_LOW_VOLUMES_DESCRIPTION,run:function(e,t,n){var a=u(n);if(!a)return void t.addWarning(S.default.Messages.DIAGNOSTIC_WARNING_NO_CHANNEL);var o=n.MediaEngineStore.getSettings();a.forEach(function(e){var n=o.localVolumes[e];void 0===n?t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_USERS_WHO_HAVE_LOW_VOLUMES_NOMINAL_NO_OVERRIDES,{userId:e}):n>=50?t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_USERS_WHO_HAVE_LOW_VOLUMES_NOMINAL,{userId:e,localVolume:0|n}):n>=15?t.addWarning(S.default.Messages.DIAGNOSTIC_CHECK_USERS_WHO_HAVE_LOW_VOLUMES_WARN_HARD_TO_HEAR,{userId:e,localVolume:0|n}):n>=5?t.addError(S.default.Messages.DIAGNOSTIC_CHECK_USERS_WHO_HAVE_LOW_VOLUMES_ERROR_HARD_TO_HEAR,{userId:e,localVolume:0|n}):t.addError(S.default.Messages.DIAGNOSTIC_CHECK_USERS_WHO_HAVE_LOW_VOLUMES_ERROR_TURN_THEM_UP,{userId:e,localVolume:0|n})})}},checkUserMaybeMuted:{name:S.default.Messages.DIAGNOSTIC_CHECK_USER_MAYBE_MUTED_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_USER_MAYBE_MUTED_DESCRIPTION,run:function(e,t,n){var a=u(n);if(!a)return void t.addWarning(S.default.Messages.DIAGNOSTIC_WARNING_NO_CHANNEL);var o=n.MediaEngineStore.getSettings();a.forEach(function(e){o.localMutes[e]?t.addWarning(S.default.Messages.DIAGNOSTIC_CHECK_USER_MAYBE_MUTED_WARN_USER_MUTED,{userId:e}):t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_USER_MAYBE_MUTED_NOMINAL,{userId:e})})}},checkUnknownSsrc:{name:S.default.Messages.DIAGNOSTIC_CHECK_UNKNOWN_SSRC_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_UNKNOWN_SSRC_DESCRIPTION,run:function(e,t){var n=e.Native.unknownUsers,a=s(),o={};a.forEach(function(e){o[e.ssrc]=e}),n.length>0?n.forEach(function(e){var n=e.ssrc,a=e.bytesRx,r=o[n];void 0!==r?t.addWarning(S.default.Messages.DIAGNOSTIC_CHECK_UNKNOWN_SSRC_WARNING_FORMERLY_UNKNOWN,{userId:r.id,ssrc:n,bytesRx:a}):t.addError(S.default.Messages.DIAGNOSTIC_CHECK_UNKNOWN_SSRC_ERROR_UNKNOWN_SSRC_PACKETS_RECEIVED,{ssrc:n,bytesRx:a})}):t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_UNKNOWN_SSRC_NOMINAL)}},checkDecryptionFailures:{name:S.default.Messages.DIAGNOSTIC_CHECK_DECRYPTION_FAILURES_NAME,description:S.default.Messages.DIAGNOSTIC_CHECK_DECRYPTION_FAILURES_DESCRIPTION,run:function(e,t){var n=e.Native.decryptionFailures;n>0?t.addError(S.default.Messages.DIAGNOSTIC_CHECK_DECRYPTION_FAILURES_ERROR_DETECTED_FAILURES,{decryptionFailures:n}):t.addSuccess(S.default.Messages.DIAGNOSTIC_CHECK_DECRYPTION_FAILURES_NOMINAL)}}},O=Object.keys(C)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={src:e.src,dest:null,width:0|e.width,height:0|e.height,toWidth:0|e.toWidth,toHeight:0|e.toHeight,quality:e.quality,alpha:e.alpha,unsharpAmount:e.unsharpAmount,unsharpThreshold:e.unsharpThreshold};(0,s.default)(n,function(n,a){var o=e.dest;if(o)for(var r=0,i=a.length;r<i;r++)o[r]=a[r];t(n,a)})}function r(e,t,n,a){var r=e.width,i=e.height,s=t.width,l=t.height;"function"==typeof n&&(a=n,n={}),isNaN(n)||(n={quality:n,alpha:!1});var u=t.getContext("2d"),f=u.getImageData(0,0,s,l);o({src:e.getContext("2d").getImageData(0,0,r,i).data,dest:f.data,width:e.width,height:e.height,toWidth:t.width,toHeight:t.height,quality:n.quality,alpha:n.alpha,unsharpAmount:n.unsharpAmount,unsharpThreshold:n.unsharpThreshold},function(e){null!=e?a(e):(u.putImageData(f,0,0),a())})}t.__esModule=!0;var i=n(630),s=a(i);t.default={resizeBuffer:o,resizeCanvas:r},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=n(16),i=a(r),s=n(433),l=a(s),u=n(1),f=5e3,c=function(){function e(t,n,a){o(this,e),this.isCanceled=!1,this.searchId=t,this.searchType=n,this.query=a}return e.prototype.fetch=function(e,t,n){var a=this;if(this.isCanceled)return Promise.resolve();var o=this.searchType===u.SearchTypes.GUILD?u.Endpoints.SEARCH_GUILD:u.Endpoints.SEARCH_CHANNEL;return this.searchId?i.default.get({url:o(this.searchId),query:l.default.stringify(this.query)}).then(function(o){return a.isCanceled?Promise.resolve():200===o.status?(e(o),o):202===o.status?(a.query.attempts=(a.query.attempts||0)+1,a.retryDelay=o.body.retry_after||f,a.retryLater(e,t,n),t(o),o):Promise.reject(o)}).catch(function(e){console.error(e),n(e)}):Promise.reject()},e.prototype.cancel=function(){this.isCanceled=!0,clearTimeout(this.indexingPollId)},e.prototype.retryLater=function(e,t,n){clearTimeout(this.indexingPollId),this.indexingPollId=setTimeout(this.fetch.bind(this,e,t,n),this.retryDelay)},e}();t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(118),s=a(i),l=function(){function e(){o(this,e),this._dirty=!1,this._state=this.getInitialState()}return e.prototype.shouldCommit=function(){return!0},e.prototype.didCommit=function(e){},e.prototype.getInitialState=function(){return{}},e.prototype.getNextState=function(e){return{}},e.prototype.setState=function(e){this._state=r({},this._state,e)},e.prototype.getState=function(){return this._state},e.prototype.reset=function(){this._dirty=!1,this._state=this.getInitialState()},e.prototype.update=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=this.getNextState(r({},this._state,e)),t)this._dirty=!(0,s.default)(e,this.getInitialState());else for(var n=Object.keys(e),a=Array.isArray(n),o=0,n=a?n:n[Symbol.iterator]();;){var i;if(a){if(o>=n.length)break;i=n[o++]}else{if(o=n.next(),o.done)break;i=o.value}var l=i;this._dirty=this._dirty||!(0,s.default)(this._state[l],e[l])}return this._state=e,!(!this._dirty||!this.shouldCommit())&&(this._dirty=!1,this.didCommit(this._state),!0)},e.prototype.forceUpdate=function(){this._dirty=!1,this.didCommit(this._state)},e}();t.default=l,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(262),l=a(s),u=n(25),f=a(u),c=function(e){function t(n,a,i,s,l){o(this,t);var u=r(this,e.call(this,n));return u._actionHandler=function(e){var t=u.handleUpdate(e),n=null!=l?l(u,e):t;return t||n},u.cacheKey=a,u.updateActionType=i,u.defaults=s,u}return i(t,e),t.prototype.initialize=function(){this._data=f.default.get(this.cacheKey)||{}},t.prototype.handleUpdate=function(e){return e.type===this.updateActionType&&(this.set(e.key,e.value),!0)},t.prototype.get=function(e){var t=this._data[e];return null!=t?t:this.defaults[e]},t.prototype.set=function(e,t){this._data[e]=t,f.default.set(this.cacheKey,this._data)},t}(l.default);t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(262),l=a(s),u=n(118),f=a(u),c=function(e){function t(n,a,i){o(this,t);var s=r(this,e.call(this,n));return s._reducer=i,s._state=null,s._stores=a,s}return i(t,e),t.prototype.initialize=function(){var e=this;this.syncWith(this._stores,function(){if(e._changeCallbacks.size>0){var t=e._reducer();if(!(0,f.default)(e._state,t))return e._state=t,!0}return!1})},t.prototype.addChangeListener=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.prototype.addChangeListener.call(this,t),n&&(this._state=this._state||this._reducer(),t())},t.prototype.getState=function(){return this._state||{}},t}(l.default);t.default=c,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return{componentWillMount:function(){var e=this;t.forEach(function(t){return t.addChangeListener(e.storesDidChange)})},componentWillUnmount:function(){var e=this;t.forEach(function(t){return t.removeChangeListener(e.storesDidChange)})},storesDidChange:function(){this.setState(this.getStateFromStores()||{})}}},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return{componentWillMount:function(){var e=this;t.forEach(function(t){return t.addChangeListener(e.storesDidChange)})},componentWillUnmount:function(){var e=this;t.forEach(function(t){return t.removeChangeListener(e.storesDidChange)})},getInitialState:function(){return this.getStateFromStores()||{}},storesDidChange:function(){this.setState(this.getStateFromStores()||{})}}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(0),l=a(s),u=n(74),f=a(u),c=n(263),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){return null},t}(l.default.PureComponent),p=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){return null},t}(l.default.PureComponent),h=function(e){function t(){var n,a,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=a=r(this,e.call.apply(e,[this].concat(l))),a.Video=p,a.Camera=d,i=n,r(a,i)}return i(t,e),t.prototype.destroy=function(){this.emit("destroy"),this.removeAllListeners()},t.prototype.supported=function(){return __OVERLAY__},t.prototype.supports=function(e){switch(e){case c.Features.AUTO_ENABLE:return __OVERLAY__;default:return!1}},t.prototype.connect=function(){throw new Error("NOT_IMPLEMENTED")},t.prototype.eachConnection=function(){},t.prototype.enable=function(){return Promise.resolve()},t.prototype.setInputVolume=function(e){},t.prototype.setOutputVolume=function(e){},t.prototype.getAudioInputDevices=function(){return Promise.resolve([])},t.prototype.setAudioInputDevice=function(e){},t.prototype.getAudioOutputDevices=function(){return Promise.resolve([])},t.prototype.setAudioOutputDevice=function(e){},t.prototype.getVideoInputDevices=function(){return Promise.resolve([])},t.prototype.setVideoInputDevice=function(e){},t.prototype.getUseLegacyAudioDevice=function(){return!1},t.prototype.setDesktopSource=function(e){},t.prototype.setUseLegacyAudioDevice=function(e){},t}(f.default);t.default=h,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(null==window.__require)return Promise.resolve([]);var n=window.__require("electron"),a=n.desktopCapturer;return new Promise(function(n,r){a.getSources({types:e||[o.DesktopSources.WINDOW,o.DesktopSources.SCREEN],thumbnailSize:t||{width:150,height:150}},function(e,t){if(null!=e)return void r(e);n(t.map(function(e){return{id:e.id,name:e.name,url:e.thumbnail.toDataURL()}}))})})}t.__esModule=!0,t.default=a;var o=n(263);e.exports=t.default},function(e,t,n){"use strict";function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;return r>Date.now()?o:o=e().then(function(e){return r=Date.now()+1e3*e.ttl,e.servers.map(function(e){return{urls:[e.url],username:e.username,credential:e.credential}})}).catch(function(n){if(t<=0)throw n;return new Promise(function(n,o){setTimeout(function(){a(e,t-1).then(n,o)},1e3)})})}t.__esModule=!0,t.default=a;var o=Promise.resolve([]),r=Date.now();e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){return h[s.MediaEngineImplementations.NATIVE]&&s.MediaEngineImplementations.NATIVE||h[s.MediaEngineImplementations.WEBRTC]&&s.MediaEngineImplementations.WEBRTC||s.MediaEngineImplementations.DUMMY}function r(e){switch(e){case s.MediaEngineImplementations.NATIVE:return new p.default;case s.MediaEngineImplementations.WEBRTC:return new c.default(!1);case s.MediaEngineImplementations.WEBRTC_P2P:return new c.default(!0);case s.MediaEngineImplementations.DUMMY:default:return new u.default}}t.__esModule=!0,t.supportedMediaEngineImpl=void 0;var i;t.determineMediaEngine=o,t.initializeMediaEngine=r;var s=n(263),l=n(1553),u=a(l),f=n(1567),c=a(f),d=n(778),p=a(d),h=t.supportedMediaEngineImpl=Object.freeze((i={},i[s.MediaEngineImplementations.NATIVE]=p.default.supported(),i[s.MediaEngineImplementations.WEBRTC]=c.default.supported(),i[s.MediaEngineImplementations.WEBRTC_P2P]=c.default.supported(),i))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return(null!=e?e:d.DEFAULT_VOLUME)/d.DEFAULT_VOLUME}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(74),f=a(u),c=n(370),d=n(369),p=function(e){function t(n,a,i,s,l){o(this,t);var u=r(this,e.call(this));u.selfMute=!1,u.selfDeaf=!1,u.bitrate=d.DEFAULT_BITRATE,u.localMutes={},u.localVolumes={},u.localPans={},u.audioSSRCs={},u.videoSSRCs={},u.inputMode=d.InputModes.VOICE_ACTIVITY,u.vadThreshold=-40,u.vadAutoThreshold=!0,u.vadLeading=5,u.vadTrailing=25,u.pttReleaseDelay=0,u.echoCancellation=d.EchoCancellation.CONFERANCE,u.noiseSuppression=d.NoiseSuppression.HIGH_SUPPRESSION,u.automaticGainControl=d.AutomaticGainControl.ADAPTIVE_ANALOG,u.attenuationFactor=.5,u.attenuateWhileSpeakingSelf=!1,u.attenuateWhileSpeakingOthers=!0,u.qos=!0,u.connectionState=d.ConnectionStates.CONNECTING,u._destroyed=!1,u.userId=n,u.audioSSRCs[n]=a,u.videoSSRCs[n]=0,u.address=i,u.port=s,u.videoSupported=l;var f=(0,c.getVoiceEngine)(),p=u._conn=new f.VoiceConnection(a,n,u.address,s,function(e,t){if(!u._destroyed){if(null!=e&&""!==e)return u._setConnectionState(d.ConnectionStates.NO_ROUTE),void u.emit("error",e);if(null==t)throw new Error("Invalid transport info");u._setConnectionState(d.ConnectionStates.CONNECTED),u.emit("connected",t.protocol,{address:t.address,port:t.port,mode:"xsalsa20_poly1305"}),p.setTransportOptions(u._getConnectionTransportOptions()),p.mergeUsers(u._getUserOptions()),p.setSelfMute(u.selfMute),p.setSelfDeafen(u.selfDeaf),p.setEncodingBitRate(u.bitrate),p.setOnSpeakingCallback(u._handleSpeaking.bind(u)),p.setPingCallback(u._handlePing.bind(u)),f.setTransportOptions({builtInEchoCancellation:!0,echoCancellation:u.echoCancellation,noiseSuppression:u.noiseSuppression,automaticGainControl:u.automaticGainControl}),f.setQualityCallback(u._handleQuality.bind(u)),u.videoSupported&&p.setOnVideoCallback(u._handleVideo.bind(u))}});return u.on("newListener",u._handleNewListener.bind(u)),u}return i(t,e),t.prototype.destroy=function(){this._destroyed=!0,this._conn.destroy(),this.emit("destroy",this),this._setConnectionState(d.ConnectionStates.DISCONNECTED)},t.prototype.createUser=function(e,t,n){n=null!=n?n:this.videoSSRCs[e]||0;var a=this.audioSSRCs[e]!==t,o=this.videoSSRCs[e]!==n;if(this.userId!==e&&(a||o)){var r={id:e,ssrc:t,videoSsrc:n||0,mute:this.getLocalMute(e),volume:this.getLocalVolume(e)};this._conn.mergeUsers([r]);var i=this.localPans[e];i&&this.setLocalPan(e,i.left,i.right)}this.audioSSRCs[e]=t,this.videoSSRCs[e]=n},t.prototype.destroyUser=function(e){null!=this.audioSSRCs[e]&&(this._conn.destroyUser(e),delete this.audioSSRCs[e],delete this.videoSSRCs[e])},t.prototype.setSelfMute=function(e){this.selfMute=e,this._conn.setSelfMute(e)},t.prototype.setSelfDeaf=function(e){this.selfDeaf=e,this._conn.setSelfDeafen(e)},t.prototype.getLocalMute=function(e){return this.localMutes[e]||!1},t.prototype.setLocalMute=function(e,t){this.localMutes[e]=t,this._conn.setLocalMute(e,t)},t.prototype.getLocalVolume=function(e){return s(this.localVolumes[e])},t.prototype.setLocalVolume=function(e,t){this.localVolumes[e]=t,this._conn.setLocalVolume(e,this.getLocalVolume(e))},t.prototype.setLocalPan=function(e,t,n){this.localPans[e]={left:t,right:n},this._conn.setLocalPan(e,t,n)},t.prototype.isAttenuating=function(){return this.attenuationFactor<1},t.prototype.setAttenuation=function(e,t,n){this.attenuationFactor=(100-e)/100,this.attenuateWhileSpeakingSelf=t,this.attenuateWhileSpeakingOthers=n,this._conn.setTransportOptions(this._getAttenuationOptions())},t.prototype.setBitRate=function(e){this.bitrate=e,this._conn.setEncodingBitRate(e)},t.prototype.setEchoCancellation=function(e){this.echoCancellation=e?d.EchoCancellation.CONFERANCE:d.EchoCancellation.DISABLED,(0,c.getVoiceEngine)().setTransportOptions({echoCancellation:this.echoCancellation})},t.prototype.setNoiseSuppression=function(e){this.noiseSuppression=e?d.NoiseSuppression.HIGH_SUPPRESSION:d.NoiseSuppression.DISABLED,(0,c.getVoiceEngine)().setTransportOptions({noiseSuppression:this.noiseSuppression})},t.prototype.setAutomaticGainControl=function(e){this.automaticGainControl=e?d.AutomaticGainControl.ADAPTIVE_ANALOG:d.AutomaticGainControl.DISABLED,(0,c.getVoiceEngine)().setTransportOptions({automaticGainControl:this.automaticGainControl})},t.prototype.setQoS=function(e){this.qos=e,this._conn.setTransportOptions({qos:this.qos})},t.prototype.setInputMode=function(e,t){switch(this.inputMode=e,e){case d.InputModes.PUSH_TO_TALK:this.pttReleaseDelay=t.pttReleaseDelay;break;case d.InputModes.VOICE_ACTIVITY:this.vadThreshold=t.vadThreshold,this.vadAutoThreshold=t.vadAutoThreshold,this.vadLeading=t.vadLeading,this.vadTrailing=t.vadTrailing;break;default:throw new Error("Unknown Input Mode: "+e)}this._conn.setTransportOptions({inputMode:d.NATIVE_MODE_VALUES[this.inputMode],inputModeOptions:this._createInputModeOptions()})},t.prototype.setSilenceThreshold=function(e){(0,c.getVoiceEngine)().setNoInputThreshold(e)},t.prototype.setQualityThresholds=function(e,t,n,a){(0,c.getVoiceEngine)().setQualityThresholds(e,t,n,a)},t.prototype.setForceAudioInput=function(e){(0,c.getVoiceEngine)().setPTTActive(e)},t.prototype.setSpeaking=function(e,t){},t.prototype.clearAllSpeaking=function(){},t.prototype.setEncryption=function(e,t){this._conn.setTransportOptions({encryptionSettings:{mode:e,secretKey:t}})},t.prototype.setVideoBroadcast=function(e){this.videoSupported&&this._conn.setVideoBroadcast(e)},t.prototype.setSDP=function(e){},t.prototype.setRemoteDescription=function(e,t){},t.prototype.addIceCandidate=function(e,t){},t.prototype.createPeers=function(e){},t.prototype._getUserOptions=function(){var e=this;return Object.keys(this.audioSSRCs).filter(function(t){return t!==e.userId}).map(function(t){return{id:t,ssrc:e.audioSSRCs[t],videoSsrc:e.videoSSRCs[t],mute:e.getLocalMute(t),volume:e.getLocalVolume(t)}})},t.prototype._createInputModeOptions=function(){switch(this.inputMode){case d.InputModes.VOICE_ACTIVITY:return{vadThreshold:this.vadThreshold,vadAutoThreshold:this.vadAutoThreshold?d.VADAggressiveness.VERY_AGGRESSIVE:d.VADAggressiveness.DISABLED,vadLeading:this.vadLeading,vadTrailing:this.vadTrailing};case d.InputModes.PUSH_TO_TALK:return{pttReleaseDelay:this.pttReleaseDelay};default:throw new Error("Unknown Input Mode: "+this.inputMode)}},t.prototype._getAttenuationOptions=function(){return{attenuation:this.isAttenuating(),attenuationFactor:this.attenuationFactor,attenuateWhileSpeakingSelf:this.attenuateWhileSpeakingSelf,attenuateWhileSpeakingOthers:this.attenuateWhileSpeakingOthers}},t.prototype._getConnectionTransportOptions=function(){return l({selfMute:this.selfMute,inputMode:d.NATIVE_MODE_VALUES[this.inputMode],inputModeOptions:this._createInputModeOptions()},this._getAttenuationOptions(),{fec:!0,packetLossRate:.3,qos:this.qos})},t.prototype._setConnectionState=function(e){this.connectionState=e,this.emit("connectionstatechange",this.connectionState)},t.prototype._handleSpeaking=function(e,t){this.emit("speaking",e,t,this.audioSSRCs[e])},t.prototype._handlePing=function(e){this.emit("ping",e)},t.prototype._handleVideo=function(e,t,n){this.videoSSRCs[e]=t,this.emit("video",e,n||null,this.audioSSRCs[e],this.videoSSRCs[e])},t.prototype._handleQuality=function(e,t,n,a,o,r,i,s){this.emit("quality",e,{tier:t,prevTier:a,quality:n,duration:o,ping:{min:r,max:i,avg:s}})},t.prototype._handleNewListener=function(e){switch(e){case"connectionstatechange":this.emit(e,this.connectionState)}},t}(f.default);t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.map(function(t,n){var a=t.guid,o=t.name,r=t.name;return/^default/.test(o)?(a="default",o="Default"):a=a||o,{id:a,type:e,index:n,name:o,originalName:r}});return e!=c.DeviceTypes.VIDEO_INPUT&&null!=u.default.os.family&&/^win/i.test(u.default.os.family)&&n.unshift({id:"default",type:e,index:-1,name:"Default"}),n}function r(){return new Promise(function(e){(0,f.getVoiceEngine)().getInputDevices(function(t){return e(o(c.DeviceTypes.AUDIO_INPUT,t))})})}function i(){return new Promise(function(e){(0,f.getVoiceEngine)().getOutputDevices(function(t){return e(o(c.DeviceTypes.AUDIO_OUTPUT,t))})})}function s(){return new Promise(function(e){(0,f.getVoiceEngine)().getVideoInputDevices(function(t){return e(o(c.DeviceTypes.VIDEO_INPUT,t))})})}t.__esModule=!0,t.sanitizeDevices=o,t.getAudioInputDevices=r,t.getAudioOutputDevices=i,t.getVideoInputDevices=s;var l=n(58),u=a(l),f=n(370),c=n(369)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){i.default.getDiscordUtils().setProcessPriority(e)}t.__esModule=!0,t.ProcessPriority=void 0,t.setProcessPriority=o;var r=n(18),i=a(r);t.ProcessPriority={LOW:2,BELOW_NORMAL:1,NORMAL:0,ABOVE_NORMAL:-1,HIGH:-2}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(779),c=a(f),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.deviceId,n=e.width,a=e.height;return s(c.default,{streamId:t,style:{width:n,height:a}})},t}(u.default.PureComponent);d.defaultProps={disabled:!1,width:320,height:180},t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=n(370),r=function(){function e(){a(this,e),this._streams={}}return e.prototype.addSink=function(e,t,n){var a=this._streams,r=a[e];if(null==r&&(r=a[e]=new Map),0===r.size){var i=(0,o.getVoiceEngine)();i.setVideoOutputSink(e,this._handleImageData.bind(this,i.signalVideoOutputSinkReady.bind(i,e),r),!0)}r.set(t,n)},e.prototype.removeSink=function(e,t){var n=this._streams,a=n[e];if(null!=a&&(a.delete(t),0===a.size)){delete n[e];(0,o.getVoiceEngine)().setVideoOutputSink(e)}},e.prototype._handleImageData=function(e,t,n){for(var a=t.values(),o=Array.isArray(a),r=0,a=o?a:a[Symbol.iterator]();;){var i;if(o){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}i(n)}e()},e}();t.default=new r,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return e.id.split("-")[0].slice(1)}t.__esModule=!0;var l=n(780),u=a(l),f=n(782),c=a(f),d=n(1564),p=a(d),h=n(783),g=n(220),m=function(e){function t(n,a,i){o(this,t);var l=r(this,e.call(this,n,a,i)),u=new p.default;u.on("answer",function(e){return l._pc.setRemoteDescription(e)}),u.on("offer",function(e){l._pc.setRemoteDescription(e).then(function(){return l._pc.createAnswer()}).then(function(e){return l._fpc.setRemoteDescription(e)})}),u.direction=null!=l.input.stream?h.Directions.SENDRECV:h.Directions.SENDONLY,l._fpc=u;var f=new c.default(l.iceServers,l.bitrate);return f.on("addtrack",function(e){return l._createOutput(s(e),e)}),f.on("removetrack",function(e){return l._destroyOutput(s(e),e)}),f.once("connected",function(){l.input.reset(),l._setConnectionState(g.ConnectionStates.CONNECTED)}),f.on("checking",function(){return l._setConnectionState(g.ConnectionStates.ICE_CHECKING)}),f.on("failed",function(){return l._setConnectionState(g.ConnectionStates.NO_ROUTE)}),f.on("disconnected",function(){return l._setConnectionState(g.ConnectionStates.DISCONNECTED)}),f.on("closed",function(){return l._setConnectionState(g.ConnectionStates.DISCONNECTED)}),f.on("offer",function(e){var t=e.sdp,n=(0,h.extractSDP)(t);u.bitrate=null!=n.audioBitrate?1e3*n.audioBitrate:null,u.audioSSRC=n.audioSSRC,u.audioPayloadType=n.audioPayloadType,u.videoSSRC!==n.videoSSRC&&(u.videoSSRC=n.videoSSRC,l.emit("video",l.userId,l.input.getVideoStreamId(),u.audioSSRC,u.videoSSRC)),u.videoPayloadType=n.videoPayloadType}),f.once("iceready",function(e){var t=e.sdp;l.emit("connected","webrtc",{sdp:(0,h.truncateSDP)(t)})}),null!=l.input.stream?f.setStream(l.input.stream):f.negotiationNeeded(),l._pc=f,l}return i(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this),this._pc.close()},t.prototype.setStream=function(t){e.prototype.setStream.call(this,t),this._fpc.direction=null!=t?h.Directions.SENDRECV:h.Directions.SENDONLY,this._pc.setStream(t)},t.prototype.createUser=function(e,t,n){this._fpc.addStream(e,t,n)},t.prototype.destroyUser=function(e){this._fpc.removeStream(e)},t.prototype.setBitRate=function(t){e.prototype.setBitRate.call(this,t),this._pc.setBitRate(t)},t.prototype.setSDP=function(e){var t=this;this._pc.on("offer",function(){return t._fpc.createAnswer()}),this._fpc.sdp=e},t.prototype._handleVideo=function(e){this.emit("video",this.userId,e,this._fpc.audioSSRC,this._fpc.videoSSRC)},t.prototype._handleSpeaking=function(e){this.emit("speaking",this.userId,e,this._fpc.audioSSRC)},t}(u.default);t.default=m,e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=n(780),u=o(l),f=n(782),c=o(f),d=n(220),p=function(e){function t(n,o,s){r(this,t);var l=i(this,e.call(this,n,o,s));return l.peerConnections={},a(function(){l.input.reset(),l._setConnectionState(d.ConnectionStates.CONNECTED),l.emit("connected","webrtc-p2p",null)}),l}return s(t,e),t.prototype.destroy=function(){e.prototype.destroy.call(this),this._eachPeerConnection(function(e){return e.close()})},t.prototype.setStream=function(t){e.prototype.setStream.call(this,t),this._eachPeerConnection(function(e){return e.setStream(t)})},t.prototype._createPeer=function(e,t){var n=this,a=this.peerConnections[e];null!=a&&a.close(),a=new c.default(this.iceServers,this.bitrate),a.on("candidate",function(t){return n.emit("signal",e,{candidate:t})}),a.on("addtrack",function(t){return n._createOutput(e,t)}),a.on("removetrack",function(t){return n._destroyOutput(e,t)}),a.on("offer",function(t){return n.emit("signal",e,{description:t})}),a.on("answer",function(t){return n.emit("signal",e,{description:t})}),a.on("disconnected",function(){return n.destroyUser(e)}),null==t?null!=this.input.stream?a.setStream(this.input.stream):a.negotiationNeeded():a.setRemoteDescription(t).then(function(){return a.setStream(n.input.stream,!0)}).then(function(){return a.createAnswer()}),this.peerConnections[e]=a},t.prototype.setRemoteDescription=function(e,t){var n=this.peerConnections[e];t=new RTCSessionDescription(t),null!=n?n.setRemoteDescription(t).then(function(){"offer"===t.type&&n.createAnswer()}):this._createPeer(e,t)},t.prototype.addIceCandidate=function(e,t){this.peerConnections[e].addIceCandidate(new RTCIceCandidate(t))},t.prototype.createPeers=function(e){var t=this;e.forEach(function(e){return t._createPeer(e)})},t.prototype.destroyUser=function(e){var t=this.peerConnections[e];null!=t&&(delete this.peerConnections[e],t.close(),this._destroyOutput(e))},t.prototype.setBitRate=function(t){e.prototype.setBitRate.call(this,t),this._eachPeerConnection(function(e){return e.setBitRate(t)})},t.prototype._eachPeerConnection=function(e){for(var t=Object.keys(this.peerConnections),n=Array.isArray(t),a=0,t=n?t:t[Symbol.iterator]();;){var o;if(n){if(a>=t.length)break;o=t[a++]}else{if(a=t.next(),a.done)break;o=a.value}var r=o;e(this.peerConnections[r])}},t}(u.default);t.default=p,e.exports=t.default}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),u=n(74),f=a(u),c=n(783),d=function(e){function t(){var n,a,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=a=r(this,e.call.apply(e,[this].concat(l))),a.audioSSRC=0,a.videoSSRC=0,a._streams=[],a._activeAudioSSRCs={},a._activeVideoSSRCs={},a._connected=!1,a._negotiating=!1,a._negotiationNeeded=!1,i=n,r(a,i)}return i(t,e),t.prototype.setBitRate=function(e){this.bitrate!==e&&(this.bitrate=e,this.negotiationNeeded())},t.prototype.addStream=function(e,t,n){var a=!1;if(this._streams.some(function(e){return e.ssrc===t})||this._streams.push({ssrc:t,cname:e,type:"audio"}),this._activeAudioSSRCs[e]!==t){var o;this._activeAudioSSRCs=s({},this._activeAudioSSRCs,(o={},o[e]=t,o)),a=!0}if(null!=n)if(n>0){if(this._streams.some(function(e){return e.ssrc===n})||this._streams.push({ssrc:n,cname:e,type:"video"}),this._activeVideoSSRCs[e]!==n){var r;this._activeVideoSSRCs=s({},this._activeVideoSSRCs,(r={},r[e]=n,r)),a=!0}}else null!=this._activeVideoSSRCs[e]&&(a=!0,this._activeVideoSSRCs=s({},this._activeVideoSSRCs),delete this._activeVideoSSRCs[e]);a&&this.negotiationNeeded()},t.prototype.removeStream=function(e){var t=!1;null!=this._activeAudioSSRCs[e]&&(t=!0,this._activeAudioSSRCs=s({},this._activeAudioSSRCs),delete this._activeAudioSSRCs[e]),null!=this._activeVideoSSRCs[e]&&(t=!0,this._activeVideoSSRCs=s({},this._activeVideoSSRCs),delete this._activeVideoSSRCs[e]),t&&this.negotiationNeeded()},t.prototype.negotiationNeeded=function(){if(this._negotiating)return void(this._negotiationNeeded=!0);null!=this._sdp?(this._negotiating=!0,this._negotiationNeeded=!1,this._generateSessionDescription("offer")):this._negotiationNeeded=!0},t.prototype.setRemoteDescription=function(e){return this._negotiating=!1,this._negotiationNeeded&&this.negotiationNeeded(),Promise.resolve()},t.prototype.createAnswer=function(){return this._generateSessionDescription("answer")},t.prototype._getSSRCs=function(){var e=this;return this._streams.map(function(t){var n=t.cname,a=t.ssrc,o=t.type,r=e._activeAudioSSRCs[n],i=e._activeVideoSSRCs[n];return[a,n,o,r===a||i===a]})},t.prototype._generateSessionDescription=function(e){var t=this.audioPayloadType,n=this.videoPayloadType,a=this.sdp;if(null==t||null==n||null==a)throw new Error("payload cannot be null");var o=this._connected?this._getSSRCs():[],r=(0,c.generateSessionDescription)(e,a,this.direction,t,(this.bitrate||4e4)/1e3,n,2500,o);return this.emit(e,r),Promise.resolve(r)},l(t,[{key:"sdp",get:function(){if(null==this._sdp)throw new Error("sdp is not set");return this._sdp},set:function(e){this._sdp=e,this.createAnswer(),this._connected=!0,this._negotiationNeeded&&this.negotiationNeeded()}}]),t}(f.default);t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=n(74),u=a(l),f=n(220),c=n(371),d=function(e){function t(n){o(this,t);var a=r(this,e.call(this));return a._stream=new MediaStream,a.id=n,a._speaking=!1,a._mute=!1,a._volume=f.DEFAULT_VOLUME,a}return i(t,e),t.prototype.addTrack=function(e){if(this._stream.addTrack(e),null==this._audioElement){var t=document.createElement("audio");t.autoplay=!0,t.src=URL.createObjectURL(this._stream),this._audioElement=t,this._updateAudioElement()}return"video"===e.kind&&(null!=this._videoStreamId&&(0,c.unregisterVideoStream)(this._videoStreamId),this._videoStreamId=(0,c.registerVideoStream)(this._stream),this.emit("video",this._videoStreamId)),this._stream.getTracks().length},t.prototype.removeTrack=function(e){return this._stream.removeTrack(e),"video"===e.kind&&(null!=this._videoStreamId&&(0,c.unregisterVideoStream)(this._videoStreamId),this.emit("video",null)),this._stream.getTracks().length},t.prototype.destroy=function(){null!=this._audioElement&&(this._audioElement.pause(),URL.revokeObjectURL(this._audioElement.src)),null!=this._videoStreamId&&(0,c.unregisterVideoStream)(this._videoStreamId),this.speaking=!1,this.removeAllListeners()},t.prototype.setSinkId=function(e){this._sinkId=e,this._updateAudioElement()},t.prototype._updateAudioElement=function(e){if(e=e||this._audioElement,null!=e){e.muted=this._mute||!this._speaking,e.volume=this._volume/100;var t=this._sinkId;null!=t&&null!=e.setSinkId&&e.setSinkId(t)}},s(t,[{key:"mute",get:function(){return this._mute},set:function(e){this._mute=e||!1,this._updateAudioElement()}},{key:"volume",get:function(){return this._volume},set:function(e){this._volume=Math.max(0,Math.min(Math.round(e),f.DEFAULT_VOLUME)),this._updateAudioElement()}},{key:"speaking",get:function(){return this._speaking},set:function(e){this._speaking!==e&&(this._speaking=e,this.emit("speaking",e),this._updateAudioElement())}}]),t}(u.default);t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){var n=-(1/0);e.getFloatFrequencyData(t);for(var a=4;a<t.length;a++)t[a]>n&&t[a]<0&&(n=t[a]);return n}t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),i=function(){function e(t,n){var o=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;a(this,e),this.currentVolume=0,this.speakingHistoryIndex=0,this.speakingCounter=0;var s=this.context=new AudioContext,l=s.createAnalyser();l.fftSize=512,l.smoothingTimeConstant=r;var u=s.createMediaStreamSource(t);u.connect(l);for(var f=[],c=0;c<i;c++)f.push(!1);var d=s.createScriptProcessor(1024,0,1);d.onaudioprocess=function(){o.update(),o.onProcess&&o.onProcess(o.speaking,o.currentVolume)},d.connect(s.destination),this.threshold=n,this.analyser=l,this.processor=d,this.fftBins=new Float32Array(l.fftSize),this.source=u,this.speakingHistory=f,this.silenceThreshold=4*this.speakingHistory.length,this.silentFrames=this.silenceThreshold}return e.prototype.update=function(){this.currentVolume=o(this.analyser,this.fftBins),this.speakingHistory[this.speakingHistoryIndex]&&this.speakingCounter--;var e=this.currentVolume>this.threshold;this.speakingHistory[this.speakingHistoryIndex]=e,e&&this.speakingCounter++,++this.speakingHistoryIndex===this.speakingHistory.length&&(this.speakingHistoryIndex=0),this.speakingCounter>0?this.silentFrames=0:this.silentFrames++},e.prototype.stop=function(){this.source.disconnect(),this.processor.disconnect(),this.speakingCounter=0,this.context.close()},r(e,[{key:"speaking",get:function(){return this.speakingCounter>0||this.silentFrames<this.silenceThreshold}}]),e}();t.default=i,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,n(1568);var s=n(58),l=a(s),u=n(74),f=a(u),c=n(781),d=a(c),p=n(1562),h=a(p),g=n(1563),m=a(g),v=n(220),E=n(516),y=n(784),_=a(y),b=n(1569),S=a(b),I=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];o(this,t);var a=r(this,e.call(this));return a.Video=_.default,a.Camera=S.default,a.outputVolume=v.DEFAULT_VOLUME,a.sinkId="default",a.connections=new Set,a.p2p=n,a.input=new d.default,a.input.on("voiceactivity",a._handleVoiceActivity.bind(a)),a._deviceChangeInterval=setInterval(a._handleDeviceChange.bind(a),5e3),a.on("newListener",a._handleNewListener.bind(a)),a}return i(t,e),t.prototype.destroy=function(){clearInterval(this._deviceChangeInterval),this.eachConnection(function(e){return e.destroy()}),this.input.destroy(),this.emit("destroy"),this.removeAllListeners()},t.supported=function(){if(window.AudioContext&&window.RTCPeerConnection)for(var e=Object.keys(v.SUPPORTED_BROWSERS),t=Array.isArray(e),n=0,e=t?e:e[Symbol.iterator]();;){var a;if(t){if(n>=e.length)break;a=e[n++]}else{if(n=e.next(),n.done)break;a=n.value}var o=a,r=v.SUPPORTED_BROWSERS[o];if(l.default.name===o&&parseInt(l.default.version,10)>=r)return!0}return!1},t.prototype.supported=function(){return!0},t.prototype.supports=function(e){switch(e){case v.Features.AUDIO_INPUT_DEVICE:case v.Features.AUDIO_OUTPUT_DEVICE:return E.CAN_SET_DEVICES;case v.Features.VOICE_PROCESSING:return"Blink"===l.default.layout;case v.Features.ICE:return this.p2p;case v.Features.DESKTOP_CAPTURE:return this.p2p&&null!=window.__require;case v.Features.QOS:case v.Features.NATIVE_PING:case v.Features.ATTENUATION:case v.Features.AUTOMATIC_VAD:case v.Features.LEGACY_SUBSYSTEM:case v.Features.VOICE_PANNING:case v.Features.DIAGNOSTICS:case v.Features.AUTO_ENABLE:default:return!1}},t.prototype.connect=function(e,t){var n=this,a=t.iceServers,o=this.p2p?new m.default(e,this.input,a):new h.default(e,this.input,a);return o.outputVolume=this.outputVolume,o.sinkId=this.sinkId,o.once("destroy",function(e){return n.connections.delete(e)}),this.connections.add(o),this.emit("connection",o),o},t.prototype.eachConnection=function(e){this.connections.forEach(e)},t.prototype.enable=function(){var e=this;return this.input.enable().then(function(t){return e.connections.forEach(function(e){return e.setStream(t)})},function(){return e.connections.forEach(function(e){return e.setStream(null)})})},t.prototype.setInputVolume=function(e){},t.prototype.setOutputVolume=function(e){this.outputVolume=e,this.connections.forEach(function(t){return t.setOutputVolume(e)})},t.prototype.getAudioInputDevices=function(){return(0,E.getAudioInputDevices)()},t.prototype.setAudioInputDevice=function(e){var t=this;this.input.setAudioSource(e).then(function(e){return t.connections.forEach(function(t){return t.setStream(e)})},function(){})},t.prototype.getAudioOutputDevices=function(){return(0,E.getAudioOutputDevices)()},t.prototype.setAudioOutputDevice=function(e){this.sinkId=e,this.connections.forEach(function(t){return t.setSinkId(e)})},t.prototype.getVideoInputDevices=function(){return(0,E.getVideoInputDevices)()},t.prototype.setVideoInputDevice=function(e){var t=this;this.input.setVideoSource(e).then(function(e){return t.connections.forEach(function(t){return t.setStream(e)})},function(){})},t.prototype.setDesktopSource=function(e){var t=this;this.input.setDesktopSource(e).then(function(e){return t.connections.forEach(function(t){return t.setStream(e)})},function(){})},t.prototype.setUseLegacyAudioDevice=function(e){},t.prototype.getUseLegacyAudioDevice=function(){return!1},t.prototype._handleDeviceChange=function(){var e=this;(0,E.getDevices)().then(function(t){var n=t[0],a=t[1],o=t[2];return e.emit("devicechange",n,a,o)})},t.prototype._handleVoiceActivity=function(e){this.emit("voiceactivity",e)},t.prototype._handleNewListener=function(e){"devicechange"===e&&this._handleDeviceChange()},t}(f.default);t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=n(58),i=a(r),s=parseInt(i.default.version,10);if(window.AudioContext=window.AudioContext||window.webkitAudioContext,window.RTCPeerConnection=window.RTCPeerConnection||window.webkitRTCPeerConnection,window.RTCSessionDescription=window.RTCSessionDescription||window.webkitRTCSessionDescription,window.MediaStream=window.MediaStream||window.webkitMediaStream,null==navigator.mediaDevices||null==navigator.mediaDevices.getUserMedia){var l=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;null==navigator.mediaDevices&&(navigator.mediaDevices={}),navigator.mediaDevices.getUserMedia=function(e){return new Promise(function(t,n){return l.call(navigator,e,t,n)})}}null!=window.RTCPeerConnection&&"Chrome"===i.default.name&&(s<51&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=RTCPeerConnection.prototype[e];RTCPeerConnection.prototype[e]=function(){for(var e=arguments.length,n=Array(e),a=0;a<e;a++)n[a]=arguments[a];var o=this,r=new Promise(function(e,a){return t.apply(o,[n[0],e,a])});return n.length<2?r:r.then(function(){return n[1].apply(null,[])},function(e){n.length>=3&&n[2].apply(null,[e])})}}),s<52&&["createOffer","createAnswer"].forEach(function(e){var t=RTCPeerConnection.prototype[e];RTCPeerConnection.prototype[e]=function(){for(var e=this,n=arguments.length,a=Array(n),r=0;r<n;r++)a[r]=arguments[r];if(a.length<1||1===a.length&&"object"===o(a[0])){var i=1===a.length?a[0]:void 0;return null!=i&&(i={mandatory:{OfferToReceiveAudio:i.offerToReceiveAudio||!1,OfferToReceiveVideo:i.offerToReceiveVideo||!1},optional:[{VoiceActivityDetection:i.voiceActivityDetection||!1},{IceRestart:i.iceRestart||!1}]}),new Promise(function(n,a){return t.apply(e,[n,a,i])})}return t.apply(this,a)}}))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){null!=e&&e.getTracks().forEach(function(e){return e.stop()})}function l(e){var t=e.deviceId,n=e.width,a=e.height;return e.disabled?Promise.resolve(null):navigator.mediaDevices.getUserMedia({audio:!1,video:{optional:[{minWidth:n*window.devicePixelRatio},{maxWidth:n*window.devicePixelRatio},{minHeight:a*window.devicePixelRatio},{maxHeight:a*window.devicePixelRatio},{minFrameRate:30},{maxFrameRate:30},{sourceId:t}]}}).catch(function(){return null})}t.__esModule=!0;var u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(784),p=a(d),h=n(371),g=function(e){function t(){var n,a,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=a=r(this,e.call.apply(e,[this].concat(l))),a.state={stream:null,streamId:null},a.mounted=!1,i=n,r(a,i)}return i(t,e),t.prototype.componentDidMount=function(){this.mounted=!0,this.getCamera(this.props)},t.prototype.componentWillReceiveProps=function(e){this.props.deviceId===e.deviceId&&this.props.disabled===e.disabled||this.getCamera(e)},t.prototype.componentWillUnmount=function(){this.mounted=!1,this.releaseCamera()},t.prototype.releaseCamera=function(){var e=this.state,t=e.stream,n=e.streamId;s(t),null!=n&&(0,h.unregisterVideoStream)(n)},t.prototype.getCamera=function(e){var t=this;this.releaseCamera(),l(e).then(function(e){var n=void 0;t.mounted&&null!=e&&(n=(0,h.registerVideoStream)(e)),t.setState({streamId:n,stream:e})})},t.prototype.render=function(){var e=this.props,t=e.width,n=e.height,a=this.state.streamId,o={width:t,height:n};return null==a?u("div",{className:"media-engine-video",style:o}):u(p.default,{streamId:a,style:o})},t}(c.default.PureComponent);g.defaultProps={disabled:!1,width:320,height:180},t.default=g,e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(476),f=o(u),c=n(7),d=o(c),p=n(17),h=o(p),g=n(11),m=o(g),v=n(4),E=o(v),y=n(2),_=o(y),b=n(34),S=o(b),I=n(16),T=o(I),N=n(161),A=o(N),M=n(18),C=o(M),O=n(97),D=o(O),L=n(19),R=o(L),x=n(27),w=o(x),P=n(76),k=o(P),U=n(62),G=o(U),j=n(1),F=n(386),B=n(1571),V=o(B),H=n(1572),z=o(H),W=n(517),Y=n(305),K=o(Y),Q=function(){try{return C.default.require("erlpack")}catch(e){return null}}(),Z=A.default.create("RPCServer"),X=C.default.require("https"),J=C.default.require("querystring"),q="RPC_STORE_WAIT",$=void 0,ee=void 0,te=void 0,ne=void 0,ae=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.initialize=function(){this.commands=V.default,this.events=z.default,this.subscriptions=[],this.clients=[],this.syncWith([m.default,S.default,D.default,k.default,w.default,G.default],this.storesDidChange.bind(this))},t.prototype.loadServer=function(){$=C.default.requireModule("discord_rpc",!1),ee=$.Proxy.createProxyServer({wss:!1,secure:!0,target:T.default.getAPIBaseURL()}),te=$.getKeyData(),ne=$.getCertData(),this.createServer()},t.prototype.createServer=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=j.RPC_STARTING_PORT+t%j.RPC_PORT_RANGE;Z.info("WSS Starting on Port "+n);var a=X.createServer({key:te,cert:ne});a.on("error",function(n){Z.error("WSS Error: "+n.message),"EADDRINUSE"==n.code&&setTimeout(e.createServer.bind(e,t+1),1e3)}),a.listen(n,"127.0.0.1",function(){Z.info("WSS Started on Port "+n),E.default.dispatch({type:j.ActionTypes.RPC_SERVER_READY,port:n})}),this.createAPIProxy(a);var o=this.wss=new $.Server({server:a}),r=function(t){e.clients.push(t),e.dispatch(t,null,j.RPCCommands.DISPATCH,j.RPCEvents.READY,{v:t.version,config:{cdn_host:"cdn.discordapp.com",api_endpoint:"//canary.discordapp.com/api",environment:"production"}}),t.on("message",e.handleIncomingPayload.bind(e,t))};o.on("connection",function(t){var n=t.upgradeReq.socket,a=J.parse(t.upgradeReq.url.split("?")[1]);return t.clientHostPort=n.remoteAddress+":"+n.remotePort,t.origin=t.upgradeReq.headers.origin,t.authing=!1,t.version=+a.v,t.encoding=a.encoding||"json",t.oauth2Scopes=[],t.accessToken=null,t.accessTokenExpires=new Date(0),t.application={id:null,name:null},Z.info("WS Socket Opened: "+t.clientHostPort),["etf","json"].indexOf(t.encoding)===-1?void t.close(j.RPCCloseCodes.INVALID_ENCODING,"Invalid Encoding: "+t.encoding):"etf"===t.encoding&&null==Q?void t.close(j.RPCCloseCodes.INVALID_ENCODING,"Erlpack cannot be used on this client"):!a.v||a.v>j.RPC_VERSION||a.v<1?void t.close(j.RPCCloseCodes.INVALID_VERSION,"Invalid Version: "+a.v):(t.on("error",function(n){Z.error("RPCServer WS Error: "+n.message),e.cleanupSocket(t)}),t.on("close",function(n,a){Z.info("WS Socket Closed: "+t.clientHostPort+", code "+n+", message "+a),e.cleanupSocket(t),t.accessToken&&E.default.dispatch({type:j.ActionTypes.RPC_APP_DISCONNECTED,application:t.application})}),!a.client_id&&(0,W.isMatchingOrigin)(t.origin)?(t.oauth2Scopes=[j.RPC_PRIVATE_SCOPE],void r(t)):a.client_id?void T.default.get({url:j.Endpoints.APPLICATION_RPC(a.client_id),retries:2}).then(function(e){var n=e.body;if(!(0,W.validateOrigin)(t.origin,n.rpc_origins))return void t.close(j.RPCCloseCodes.INVALID_ORIGIN,"Invalid Origin");t.application={id:n.id,name:n.name},r(t)},function(){t.close(j.RPCCloseCodes.INVALID_CLIENTID,"Invalid Client ID")}):void t.close(j.RPCCloseCodes.INVALID_CLIENTID,"No Client ID Specified"))})},t.prototype.createAPIProxy=function(e){var t=this;e.on("request",function(e,n){var o=e.headers.authorization&&e.headers.authorization.split(" ")[1],r=o&&t.clients.find(function(e){return e.accessToken===o&&e.oauth2Scopes.indexOf(j.OAuth2Scopes.RPC_API)>-1&&e.accessTokenExpires>new Date}),i=e.headers.origin?{"Access-Control-Allow-Origin":e.headers.origin,"Access-Control-Allow-Credentials":"true","Access-Control-Allow-Methods":"POST, GET, PUT, PATCH, DELETE","Access-Control-Allow-Headers":["Content-Type","Authorization"].join(", ")}:{},s=function(e){var t=e.status,o=e.headers,r=e.body;r=JSON.stringify(r),n.setHeader("Content-Length",a.byteLength(r)),n.setHeader("Content-Type","application/json"),n.writeHead(t,l({},o,i)),n.end(r)},u=function(e,t){s({status:e,headers:{},body:{code:0,message:t}})};return"OPTIONS"===e.method?void s({status:200,headers:{},body:""}):o&&r?(0,F.isSafeRedirect)(e.url)?void ee.web(e,n,{headers:{"X-RPC-Proxy":r.version+"; application="+r.application.id+"; token="+r.accessToken,Authorization:h.default.getToken(),Host:j.API_HOST}}):void u(400,"Bad Request"):void u(401,"Authorization Required")})},t.prototype.handleIncomingPayload=function(e,t){var n=this,a={};new Promise(function(o){try{if(null!=Q&&"etf"===e.encoding)a=Q.unpack(t);else{if("string"!=typeof t)throw new Error;a=JSON.parse(t)}}catch(t){throw new K.default(j.RPCErrors.INVALID_PAYLOAD,"Payload not "+e.encoding)}if(!a.nonce)throw new K.default(j.RPCErrors.INVALID_PAYLOAD,"Payload requires a nonce");Z.info("WS Socket Message: "+e.clientHostPort,a);var r=n.commands[a.cmd];if(!r)throw new K.default(j.RPCErrors.INVALID_COMMAND,"Invalid command: "+a.cmd);if(r.scope&&e.oauth2Scopes.indexOf(r.scope)===-1||r.scopes&&d.default.difference(r.scopes,e.oauth2Scopes).length)throw new K.default(j.RPCErrors.INVALID_PERMISSIONS,"Not authenticated or invalid scope");o(r)}).then(function(e){return new Promise(function(t){e.validation?f.default.validate(a.args,e.validation(),{convert:!1},function(n){if(n)throw new K.default(j.RPCErrors.INVALID_PAYLOAD,n.message);t(e)}):t(e)})}).then(function(t){return t.handler({ws:e,server:n,cmd:a.cmd,evt:a.evt,nonce:a.nonce,args:a.args||{}})}).then(function(t){return n.dispatch(e,a.nonce,a.cmd,null,t)}).catch(function(t){var o=t.code,r=t.message;return n.error(e,a.nonce,a.cmd,o,r)})},t.prototype.dispatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:j.RPCCommands.DISPATCH,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;this.emit(e,{cmd:n,data:o,evt:a,nonce:t})},t.prototype.error=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:j.RPCCommands.DISPATCH,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:j.RPCErrors.UNKNOWN_ERROR,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Unknown Error";this.dispatch(e,t,n,j.RPCEvents.ERROR,{code:a,message:o})},t.prototype.emit=function(e,t){Z.info("WS Socket Emit: "+e.clientHostPort,t),null!=Q&&"etf"===e.encoding?e.send(Q.pack(t),{binary:!0}):e.send(JSON.stringify(t))},t.prototype.getSubscription=function(e,t,n){return this.subscriptions.find(function(a){return a.ws===e&&a.evt===t&&d.default.isEqual(a.args,n)})},t.prototype.addSubscription=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=this.dispatch.bind(this,e,null,j.RPCCommands.DISPATCH,t);this.getSubscription(e,t,n)||this.subscriptions.push({update:a,dispatch:o,prevState:a?a({prevState:null,dispatch:o}):null,ws:e,evt:t,args:n})},t.prototype.removeSubscription=function(e,t,n){d.default.remove(this.subscriptions,function(a){return a.ws===e&&a.evt===t&&d.default.isEqual(a.args,n)})},t.prototype.cleanupSocket=function(e){d.default.remove(this.clients,function(t){return t===e}),this.removeSubscriptions(e)},t.prototype.removeSubscriptions=function(e){d.default.remove(this.subscriptions,function(t){return t.ws===e})},t.prototype.dispatchToSubscriptions=function(e,t,n,a){var o=this;a&&(0,W.deduplicate)(a)||this.subscriptions.forEach(function(a){a.evt===e&&(0,W.containsSameValues)(t,a.args||{})&&o.dispatch(a.ws,null,j.RPCCommands.DISPATCH,a.evt,n)})},t.prototype.storesDidChange=function(){return this.subscriptions.forEach(function(e){e.update&&(e.prevState=e.update(e))}),!1},t.prototype.storeWait=function(e,t,n){var a=this,o=t();if(o||!n)return Promise.resolve(o);var r=d.default.uniqueId(),i=function(){return a.removeSubscription(e,q,{uniqueId:r})};return new Promise(function(o,s){var l=setTimeout(function(){i(),s()},1e3*n);a.addSubscription(e,q,{uniqueId:r},function(){var e=t();e&&(clearTimeout(l),o(e))})}).then(function(e){return i(),e})},t.prototype.onMessageEvent=function(e){var t=null;switch(e.type){case j.ActionTypes.MESSAGE_CREATE:if("SENDING"===e.message.state)return!1;t=j.RPCEvents.MESSAGE_CREATE;break;case j.ActionTypes.MESSAGE_UPDATE:t=j.RPCEvents.MESSAGE_UPDATE;break;case j.ActionTypes.MESSAGE_DELETE:t=j.RPCEvents.MESSAGE_DELETE;break;default:return!1}var n=e.channelId||e.message&&e.message.channel_id;if(!n)return!1;var a=t!==j.RPCEvents.MESSAGE_UPDATE?t+":"+(e.id||e.message.id):null;return this.dispatchToSubscriptions(t,{channel_id:n},{channel_id:n,message:(0,W.transformInternalTextMessage)(e.message||{id:e.id})},a),!1},t.prototype.onSpeakingEvent=function(e){var t=e.speaking?j.RPCEvents.SPEAKING_START:j.RPCEvents.SPEAKING_STOP,n=R.default.getVoiceChannelId();if(null==n)return!1;var a=m.default.getChannel(n);if(!a)return!1;var o=k.default.getVoiceState(a.getGuildId(),e.userId);return!!o&&(this.dispatchToSubscriptions(t,{channel_id:o.channelId},{channel_id:o.channelId,user_id:e.userId}),!1)},t.prototype.onVoiceChannelSelect=function(e){var t=e.guildId,n=e.channelId;return this.dispatchToSubscriptions(j.RPCEvents.VOICE_CHANNEL_SELECT,{},{channel_id:n,guild_id:t}),!1},t.prototype.onNotificationCreate=function(e){var t=e.channelId,n=e.message,a=e.icon,o=e.title,r=e.body;return this.dispatchToSubscriptions(j.RPCEvents.NOTIFICATION_CREATE,{},{channel_id:t,message:(0,W.transformInternalTextMessage)(n),icon_url:null!=a?(0,W.getRemoteIconURL)(a):null,title:o,body:r}),!1},t.prototype.onTokenRevoke=function(e){var t=e.accessToken;return this.clients.forEach(function(e){e.accessToken===t&&e.close(j.RPCCloseCodes.TOKEN_REVOKED,"Token revoked")}),!1},t.prototype.onGuildCreate=function(e){var t=e.guild,n=t.id,a=t.name;return this.dispatchToSubscriptions(j.RPCEvents.GUILD_CREATE,{},{id:n,name:a}),!1},t.prototype.onChannelCreate=function(e){var t=e.channel,n=t.id,a=t.name,o=t.type;return this.dispatchToSubscriptions(j.RPCEvents.CHANNEL_CREATE,{},{id:n,name:a,type:o}),!1},t.prototype.onLogout=function(){return this.clients.forEach(function(e){return e.close(j.RPCCloseCodes.CLOSE_NORMAL,"User logout")}),!1},t}(_.default.Store),oe=new ae(E.default,{MESSAGE_CREATE:function(e){return oe.onMessageEvent(e)},MESSAGE_UPDATE:function(e){return oe.onMessageEvent(e)},MESSAGE_DELETE:function(e){return oe.onMessageEvent(e)},SPEAKING:function(e){return oe.onSpeakingEvent(e)},OAUTH2_TOKEN_REVOKE:function(e){return oe.onTokenRevoke(e)},GUILD_CREATE:function(e){return oe.onGuildCreate(e)},CHANNEL_CREATE:function(e){return oe.onChannelCreate(e)},LOGOUT:function(e){return oe.onLogout(e)},VOICE_CHANNEL_SELECT:function(e){return oe.onVoiceChannelSelect(e)},RPC_NOTIFICATION_CREATE:function(e){return oe.onNotificationCreate(e)}});t.default=oe,e.exports=t.default}).call(t,n(196).Buffer)},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t,n,a){if(t&&t.indexOf(q.OAuth2Scopes.MESSAGES_READ)>-1&&oe.indexOf(e)===-1)throw new te.default(q.RPCErrors.OAUTH2_ERROR,"Scope '"+q.OAuth2Scopes.MESSAGES_READ+"' is invalid for this authorization method");var o=function(e){throw new te.default(q.RPCErrors.OAUTH2_ERROR,e.body.message)},r=function(n){return D.default.post({url:q.Endpoints.OAUTH2_AUTHORIZE,query:{client_id:e,response_type:"code",scope:t.join(" ")},body:{authorize:!0},headers:n?{authorization:n}:void 0})},i=z.default.getCurrentUser();if(!i)throw new te.default(q.RPCErrors.OAUTH2_ERROR,"Client is not logged in");return D.default.delete({url:q.Endpoints.OAUTH2_RPC_TOKEN,query:{client_id:e,rpc_token:n,user_id:i.id}}).then(function(){return r()}).then(function(e){return e.body}).catch(o)}function i(e){var t=Y.default.getCurrentAppId();if(null!=t&&t!==e.id)throw new te.default(q.RPCErrors.INVALID_PERMISSIONS,"An application is already controlling voice for this user.");m.default.setCurrentApp(e)}t.__esModule=!0;var s,l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(476),f=o(u),c=n(7),d=o(c),p=n(29),h=o(p),g=n(82),m=o(g),v=n(101),E=(o(v),n(59)),y=o(E),_=n(11),b=o(_),S=n(316),I=n(4),T=o(I),N=n(34),A=o(N),M=n(12),C=o(M),O=n(16),D=o(O),L=n(84),R=o(L),x=n(18),w=o(x),P=n(55),k=o(P),U=n(97),G=o(U),j=n(42),F=o(j),B=n(19),V=o(B),H=n(10),z=o(H),W=n(27),Y=o(W),K=n(773),Q=o(K),Z=n(25),X=(o(Z),n(210)),J=o(X),q=n(1),$=n(517),ee=n(305),te=o(ee),ne=w.default.require("querystring"),ae=void 0,oe=["207646673902501888"],re={START:"START",STOP:"STOP"},ie=void 0;ie=n(1573).authorizeWithPrompt,t.default=(s={},s[q.RPCCommands.GET_GUILD]={scope:q.OAuth2Scopes.RPC,validation:function(){return f.default.object().required().keys({guild_id:f.default.string(),timeout:f.default.number().min(0).max(60)})},handler:function(e){var t=e.ws,n=e.server,a=e.args,o=a.guild_id,r=a.timeout,i=void 0===r?0:r;return n.storeWait(t,function(){return C.default.getGuild(o)},i).catch(function(){throw new te.default(q.RPCErrors.GET_GUILD_TIMED_OUT,"Request to get guild timed out.")}).then(function(e){return(0,$.syncGuild)(o).then(function(){return e})}).then(function(e){if(!e)throw new te.default(q.RPCErrors.INVALID_GUILD,"Invalid guild id: "+o);var t=d.default.map(A.default.getMembers(e.id),function(t){return{user:(0,$.transformUser)(z.default.getUser(t.userId)),nick:t.nick,status:G.default.getStatus(t.userId),activity:G.default.getActivity(t.userId,e.id)||null}}).filter(function(e){var t=e.status;return t!==q.StatusTypes.OFFLINE&&t!==q.StatusTypes.UNKNOWN});return{id:e.id,name:e.name,icon_url:e.getIconURL()||null,members:t}})}},s[q.RPCCommands.GET_GUILDS]={scope:q.OAuth2Scopes.RPC,handler:function(){var e=C.default.getGuilds();return{guilds:d.default.map(e,function(e){return{id:e.id,name:e.name,icon_url:e.getIconURL()}})}}},s[q.RPCCommands.GET_CHANNEL]={scope:q.OAuth2Scopes.RPC,handler:function(e){var t=e.args.channel_id,n=e.ws,a=b.default.getChannel(t);if(!a)throw new te.default(q.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+t);return(0,$.transformChannel)(a,(0,$.hasMessageReadPermission)(a,n.application.id,n.oauth2Scopes))}},s[q.RPCCommands.GET_CHANNELS]={scope:q.OAuth2Scopes.RPC,handler:function(e){var t=e.args.guild_id,n=Object.values(l({},b.default.getChannels(),b.default.getManagedChannels()));if(t){var a=C.default.getGuild(t);if(!a)throw new te.default(q.RPCErrors.INVALID_GUILD,"Invalid guild id: "+t);n=n.filter(function(e){return e.guild_id===a.id})}return{channels:n.map(function(e){return{id:e.id,name:e.name,type:e.type}})}}},s[q.RPCCommands.SET_USER_VOICE_SETTINGS]={scope:q.OAuth2Scopes.RPC,validation:function(){return f.default.object().required().keys({user_id:f.default.string().required(),pan:f.default.object().keys({left:f.default.number().min(0).max(1).required(),right:f.default.number().min(0).max(1).required()}),volume:f.default.number().min(0).max(200),mute:f.default.boolean()})},handler:function(e){var t=e.ws,n=e.args,a=n.user_id,o=n.pan,r=n.volume,s=n.mute;i(t.application);var l=z.default.getCurrentUser();if(!z.default.getUser(a)||l.id===a)throw new te.default(q.RPCErrors.INVALID_USER,"Invalid user id: "+a);if(null!=o&&m.default.setLocalPan(a,o.left,o.right),null!=r&&m.default.setLocalVolume(a,r),null!=s){var u=Y.default.isLocalMute(a);(u&&!s||!u&&s)&&m.default.toggleLocalMute(a)}return{user_id:a,pan:Y.default.getLocalPan(a),volume:Y.default.getLocalVolume(a),mute:Y.default.isLocalMute(a)}}},s[q.RPCCommands.AUTHENTICATE]={handler:function(e){var t=e.ws,n=e.args.access_token;if(!n)throw new te.default(q.RPCErrors.INVALID_TOKEN,"No access token provided");if(t.accessToken)throw new te.default(q.RPCErrors.INVALID_COMMAND,"Already authenticated");if(t.authing)throw new te.default(q.RPCErrors.INVALID_COMMAND,"Already authing");return t.authing=!0,D.default.get({url:q.Endpoints.OAUTH2_CURRENT_AUTH,headers:{Authorization:"Bearer "+n}}).then(function(e){t.authing=!1;var a=e.body,o=a.application,r=a.user,i=a.scopes,s=a.expires;if(!(0,$.validateOrigin)(t.origin,o.rpc_origins))throw new te.default(q.RPCErrors.INVALID_ORIGIN,"Origin did not match that of application whitelist");var l=z.default.getCurrentUser();if(!l||!r||l.id!==r.id)throw new te.default(q.RPCErrors.INVALID_TOKEN,"Token does not match current user");return t.oauth2Scopes=i,t.accessToken=n,t.accessTokenExpires=new Date(s),T.default.dispatch({type:q.ActionTypes.RPC_APP_CONNECTED,application:t.application}),h.default.track("authorized_app_connected",{app_id:o.id}),e.body},function(){throw new te.default(q.RPCErrors.INVALID_TOKEN,"Invalid access token: "+n)}).catch(function(e){throw t.authing=!1,e})}},s[q.RPCCommands.AUTHORIZE]={scope:null,handler:function(e){var t=e.ws,n=e.args,a=n.client_id,o=n.scopes,i=n.rpc_token,s=n.username;if(!a)throw new te.default(q.RPCErrors.INVALID_CLIENTID,"No client id provided");if(t.accessToken)throw new te.default(q.RPCErrors.INVALID_COMMAND,"Already authenticated");if(t.authing)throw new te.default(q.RPCErrors.INVALID_COMMAND,"Already authing");return t.authing=!0,D.default.get(q.Endpoints.APPLICATION_RPC(a)).then(function(e){var n=e.body;if(!(0,$.validateOrigin)(t.origin,n.rpc_origins))throw new te.default(q.RPCErrors.INVALID_ORIGIN,"Origin did not match that of application whitelist");return(i?r:ie)(a,o,i,s)},function(){throw new te.default(q.RPCErrors.INVALID_CLIENTID,"Invalid client id: "+a)}).then(function(e){if(t.authing=!1,!e.location)throw new te.default(q.RPCErrors.UNKNOWN_ERROR,"Unknown error occurred");var n=ne.parse(e.location.split("?")[1].split("#")[0]);if(null!=n.error)throw new te.default(q.RPCErrors.OAUTH2_ERROR,"OAuth2 Error: "+n.error+": "+(n.error_description||"unknown error"));return{code:n.code}}).catch(function(e){throw t.authing=!1,e})}},s[q.RPCCommands.SUBSCRIBE]={handler:function(e){var t=e.server,n=e.ws,o=e.evt,r=e.args;return new Promise(function(e){if(!t.events[o])throw new te.default(q.RPCErrors.INVALID_EVENT,"Invalid event: "+o);var i=t.events[o];if(i.scope&&n.oauth2Scopes.indexOf(i.scope)===-1||i.scopes&&d.default.difference(i.scopes,n.oauth2Scopes).length)throw new te.default(q.RPCErrors.INVALID_PERMISSIONS,"Not authenticated or invalid scope");var s=i.handler({args:r,ws:n});a(function(){return t.addSubscription(n,o,r,s)}),e({evt:o})})}},s[q.RPCCommands.UNSUBSCRIBE]={handler:function(e){var t=e.server,n=e.ws,a=e.evt,o=e.args;if(!t.events[a])throw new te.default(q.RPCErrors.INVALID_EVENT,"Invalid event: "+a);return t.removeSubscription(n,a,o),{evt:a}}},s[q.RPCCommands.SELECT_VOICE_CHANNEL]={scope:q.OAuth2Scopes.RPC,validation:function(){return f.default.object().required().keys({channel_id:f.default.string().allow(null),timeout:f.default.number().min(0).max(60),force:f.default.boolean()})},handler:function(e){var t=e.server,n=e.ws,a=e.args,o=a.channel_id,r=a.timeout,i=void 0===r?0:r,s=a.force,l=void 0!==s&&s;if(!o)return y.default.selectVoiceChannel(null,null),null;var u=V.default.getVoiceChannelId();if(u&&u!==o&&l===!1)throw new te.default(q.RPCErrors.SELECT_VOICE_FORCE_REQUIRED,"User is already joined to a voice channel.");return t.storeWait(n,function(){return b.default.getChannel(o)},i).catch(function(){throw new te.default(q.RPCErrors.SELECT_CHANNEL_TIMED_OUT,"Request to select voice channel timed out.")}).then(function(e){if(!e)throw new te.default(q.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+o);if([q.ChannelTypes.DM,q.ChannelTypes.GROUP_DM,q.ChannelTypes.GUILD_VOICE].indexOf(e.type)===-1)throw new te.default(q.RPCErrors.INVALID_CHANNEL,"Channel is not a voice channel");return Promise.all([Promise.resolve(e),(0,$.transformChannel)(e,(0,$.hasMessageReadPermission)(e,n.application.id,n.oauth2Scopes))])}).then(function(e){var t=e[0],n=e[1];if(n.guild_id){var a=z.default.getCurrentUser();if((0,S.isChannelFull)(t,n.voice_states.length)&&!k.default.can(q.Permissions.MOVE_MEMBERS,a,t))throw new te.default(q.RPCErrors.INVALID_CHANNEL,"Channel is full");if(!k.default.can(q.Permissions.CONNECT,a,t))throw new te.default(q.RPCErrors.INVALID_PERMISSIONS,"Connect permission required to join channel")}return y.default.selectVoiceChannel(n.guild_id,t.id),n})}},s[q.RPCCommands.GET_SELECTED_VOICE_CHANNEL]={scope:q.OAuth2Scopes.RPC,handler:function(){var e=V.default.getVoiceChannelId();return null!=e?b.default.getChannel(e):null}},s[q.RPCCommands.SELECT_TEXT_CHANNEL]={scope:q.OAuth2Scopes.RPC,validation:function(){return f.default.object().required().keys({channel_id:f.default.string().allow(null),timeout:f.default.number().min(0).max(60)})},handler:function(e){var t=e.server,n=e.ws,a=e.args,o=a.channel_id,r=a.timeout,i=void 0===r?0:r;return o?t.storeWait(n,function(){return b.default.getChannel(o)},i).catch(function(){throw new te.default(q.RPCErrors.SELECT_CHANNEL_TIMED_OUT,"Request to select text channel timed out.")}).then(function(e){if(!e)throw new te.default(q.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+o);if([q.ChannelTypes.DM,q.ChannelTypes.GROUP_DM,q.ChannelTypes.GUILD_TEXT].indexOf(e.type)===-1)throw new te.default(q.RPCErrors.INVALID_CHANNEL,"Channel is not a text channel");return Promise.all([Promise.resolve(e),(0,$.transformChannel)(e,(0,$.hasMessageReadPermission)(e,n.application.id,n.oauth2Scopes))])}).then(function(e){var t=e[0],n=e[1];if(n.guild_id){var a=z.default.getCurrentUser();if(!k.default.can(q.Permissions.READ_MESSAGES,a,t))throw new te.default(q.RPCErrors.INVALID_CHANNEL,"No permission to see channel")}return n.guild_id?(y.default.selectChannel(n.guild_id,t.id),F.default.replaceWith(q.Routes.GUILD(n.guild_id))):y.default.selectPrivateChannel(t.id),n}):(y.default.selectChannel(null,null),null)}},s[q.RPCCommands.INVITE_BROWSER]={scope:q.RPC_PRIVATE_SCOPE,handler:function(e){var t=e.args.code;return R.default.resolveInvite(t,"Desktop Modal").then(function(e){var t=e.invite,n=e.code;if(null==t)throw new te.default(q.RPCErrors.INVALID_INVITE,"Invalid invite id: "+n);return T.default.dispatch({type:q.ActionTypes.INVITE_MODAL_OPEN,invite:t,code:n}),{invite:t,code:n}})}},s[q.RPCCommands.DEEP_LINK]={scope:q.RPC_PRIVATE_SCOPE,handler:function(e){var t=e.args,n=t.type,a=t.params;switch(w.default.focus(),n){case q.RPCDeepLinks.USER_SETTINGS:F.default.replaceWith(q.Routes.SETTINGS(a.section,a.subsection))}}},s[q.RPCCommands.CONNECTIONS_CALLBACK]={scope:q.RPC_PRIVATE_SCOPE,handler:function(e){var t=e.args,n=t.providerType,a=t.code,o=t.openid_params,r=t.state;return J.default.callback(n,{code:a,openid_params:o,state:r})}},s[q.RPCCommands.GET_VOICE_SETTINGS]={scope:q.OAuth2Scopes.RPC,handler:function(){return(0,$.getVoiceSettings)()}},s[q.RPCCommands.SET_VOICE_SETTINGS]={scope:q.OAuth2Scopes.RPC,validation:function(){return f.default.object().required().keys({input:f.default.object().keys({device_id:f.default.string().valid(Object.keys(Y.default.getInputDevices())),volume:f.default.number().min(0).max(100)}),output:f.default.object().keys({device_id:f.default.string().valid(Object.keys(Y.default.getOutputDevices())),volume:f.default.number().min(0).max(200)}),mode:f.default.object().keys({type:f.default.string().valid(Object.keys(q.InputModes)),auto_threshold:f.default.boolean(),threshold:f.default.number().min(-100).max(0),shortcut:f.default.array().items(f.default.object().keys({type:f.default.number().min(0).max(3).required(),code:f.default.number().required(),name:f.default.string()})),delay:f.default.number().min(0).max(2e3)}),automatic_gain_control:f.default.boolean(),echo_cancellation:f.default.boolean(),noise_suppression:f.default.boolean(),qos:f.default.boolean(),silence_warning:f.default.boolean(),deaf:f.default.boolean(),mute:f.default.boolean()})},handler:function(e){var t=e.ws,n=e.args,a=n.input,o=n.output,r=n.mode,s=n.automatic_gain_control,l=n.echo_cancellation,u=n.noise_suppression,f=n.qos,c=n.silence_warning,d=n.deaf,p=n.mute;if(i(t.application),a&&(null!=a.device_id&&m.default.setInputDevice(a.device_id),null!=a.volume&&m.default.setInputVolume(a.volume)),o&&(null!=o.device_id&&m.default.setOutputDevice(o.device_id),null!=o.volume&&m.default.setOutputVolume(o.volume)),r){var h=Y.default.getMode(),g=Y.default.getModeOptions();null!=r.type&&(h=r.type),null!=r.auto_threshold&&(g.autoThreshold=r.auto_threshold),null!=r.threshold&&(g.threshold=r.threshold),null!=r.shortcut&&(g.shortcut=r.shortcut.map(function(e){return[e.type,e.code]})),null!=r.delay&&(g.delay=r.delay),m.default.setMode(h,g)}if(null!=s&&m.default.setAutomaticGainControl(s),null!=l&&m.default.setEchoCancellation(l),null!=u&&m.default.setNoiseSuppression(u),null!=f&&m.default.setQoS(f),null!=c&&m.default.setSilenceWarning(c),null!=d){var v=Y.default.isSelfDeaf();(v&&!d||!v&&d)&&m.default.toggleSelfDeaf()}if(null!=p){var E=Y.default.isSelfMute();(E&&!p||!E&&p)&&m.default.toggleSelfMute()}return(0,$.getVoiceSettings)()}},s[q.RPCCommands.CAPTURE_SHORTCUT]={scope:q.OAuth2Scopes.RPC,validation:function(){return f.default.object().required().keys({action:f.default.string().valid(d.default.values(re)).required()})},handler:function(e){var t=e.ws,n=e.server,a=e.args.action;if(i(t.application),null!=ae||a!==re.START)switch(a){case re.STOP:return null!=ae&&ae.emit("stop"),null;default:throw new te.default(q.RPCErrors.CAPTURE_SHORTCUT_ALREADY_LISTENING,"Already listening for shortcut")}return new Promise(function(e){ae=new Q.default;var a=function(){null!=ae&&(ae.destroy(),ae=null)},o=[];ae.on("change",function(e){var a=e.combo;o=[].concat(a),n.dispatch(t,void 0,void 0,q.RPCEvents.CAPTURE_SHORTCUT_CHANGE,{shortcut:(0,$.transformShortcut)(o)})}),ae.once("stop",function(){e({shortcut:(0,$.transformShortcut)(o)}),a()})})}},s),e.exports=t.default}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.args.channel_id,n=e.ws,a=f.default.getChannel(t);if(!a||!(0,S.hasMessageReadPermission)(a,n.application.id,n.oauth2Scopes))throw new T.default(b.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+t)}function r(e){var t=e.args.channel_id;if(!f.default.getChannel(t))throw new T.default(b.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+t)}t.__esModule=!0;var i,s=n(7),l=a(s),u=n(11),f=a(u),c=n(34),d=a(c),p=n(12),h=a(p),g=n(97),m=a(g),v=n(76),E=a(v),y=n(62),_=a(y),b=n(1),S=n(517),I=n(305),T=a(I);t.default=(i={},i[b.RPCEvents.GUILD_STATUS]={scope:b.OAuth2Scopes.RPC,handler:function(e){var t=e.args.guild_id;if(!h.default.getGuild(t))throw new T.default(b.RPCErrors.INVALID_GUILD,"Invalid guild id: "+t);return(0,S.syncGuild)(t),function(e){var n=e.prevState,a=e.dispatch,o=h.default.getGuild(t);if(o){var r=d.default.getMemberIds(o.id).reduce(function(e,t){var n=m.default.getStatus(t);return e+(n!==b.StatusTypes.OFFLINE&&n!==b.StatusTypes.UNKNOWN?1:0)},0),i={guild:{id:o.id,name:o.name,icon_url:o.getIconURL()||null},online:r};return l.default.isEqual(n,i)||a(i),i}}}},i[b.RPCEvents.VOICE_STATE_CREATE]={scope:b.OAuth2Scopes.RPC,handler:function(e){var t=e.args.channel_id;if(!f.default.getChannel(t))throw new T.default(b.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+t);return function(e){var n=e.prevState,a=e.dispatch,o=f.default.getChannel(t);if(o){var r=o.getGuildId(),i=E.default.getVoiceStatesForChannel(r,o.id);if(n){l.default.differenceBy(i,n,function(e){return e.userId}).forEach(function(e){return a((0,S.transformVoiceState)(r,o.id,e))})}return i}}}},i[b.RPCEvents.VOICE_STATE_DELETE]={scope:b.OAuth2Scopes.RPC,handler:function(e){var t=e.args.channel_id;if(!f.default.getChannel(t))throw new T.default(b.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+t);return function(e){var n=e.prevState,a=e.dispatch,o=f.default.getChannel(t);if(o){var r=o.getGuildId(),i=E.default.getVoiceStatesForChannel(r,o.id);return l.default.differenceBy(n,i,function(e){return e.userId}).forEach(function(e){return a((0,S.transformVoiceState)(r,o.id,e))}),i}}}},i[b.RPCEvents.VOICE_STATE_UPDATE]={scope:b.OAuth2Scopes.RPC,handler:function(e){var t=e.args.channel_id;if(!f.default.getChannel(t))throw new T.default(b.RPCErrors.INVALID_CHANNEL,"Invalid channel id: "+t);return function(e){var n=e.prevState,a=e.dispatch,o=f.default.getChannel(t);if(o){var r=o.getGuildId(),i=E.default.getVoiceStatesForChannel(r,o.id).map(function(e){return(0,S.transformVoiceState)(r,o.id,e)});return l.default.differenceWith(i,n,l.default.isEqual).forEach(function(e){return a(e)}),i}}}},i[b.RPCEvents.VOICE_SETTINGS_UPDATE]={scope:b.OAuth2Scopes.RPC,handler:function(){return function(e){var t=e.prevState,n=e.dispatch,a=(0,S.getVoiceSettings)();return l.default.isEqual(a,t)||n(a),a}}},i[b.RPCEvents.VOICE_CONNECTION_STATUS]={scope:b.OAuth2Scopes.RPC,handler:function(){return function(e){var t=e.prevState,n=e.dispatch,a={state:(0,S.getVoiceConnectionState)(_.default.getState()),hostname:_.default.getHostname(),pings:_.default.getPings(),average_ping:_.default.getAveragePing(),last_ping:_.default.getLastPing()};return l.default.isEqual(a,t)||n(a),a}}},i[b.RPCEvents.MESSAGE_CREATE]={scope:b.OAuth2Scopes.RPC,handler:o},i[b.RPCEvents.MESSAGE_UPDATE]={scope:b.OAuth2Scopes.RPC,handler:o},i[b.RPCEvents.MESSAGE_DELETE]={scope:b.OAuth2Scopes.RPC,handler:o},i[b.RPCEvents.SPEAKING_START]={scope:b.OAuth2Scopes.RPC,handler:r},i[b.RPCEvents.SPEAKING_STOP]={scope:b.OAuth2Scopes.RPC,handler:r},i[b.RPCEvents.GUILD_CREATE]={scope:b.OAuth2Scopes.RPC,handler:function(){}},i[b.RPCEvents.CHANNEL_CREATE]={scope:b.OAuth2Scopes.RPC,handler:function(){}},i[b.RPCEvents.VOICE_CHANNEL_SELECT]={scope:b.OAuth2Scopes.RPC,handler:function(){}},i[b.RPCEvents.NOTIFICATION_CREATE]={scopes:[b.OAuth2Scopes.RPC,b.OAuth2Scopes.RPC_NOTIFICATIONS_READ],handler:function(){}},i),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return new Promise(function(n){var a={query:{client_id:e,response_type:"code",scope:t.join(" ")}};if(null==g.default.getCurrentUser())throw new v.default(E.RPCErrors.OAUTH2_ERROR,"Client is not logged in");c.default.isWindows()?c.default.minimize(!0):c.default.restore(!0),c.default.focus(!0),s.default.push(function(e){return p.default.createElement(u.default,r({},e,{location:a,callback:n}))})})}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.authorizeWithPrompt=o;var i=n(14),s=a(i),l=n(732),u=a(l),f=n(18),c=a(f),d=n(0),p=a(d),h=n(10),g=a(h),m=n(305),v=a(m),E=n(1)},function(e,t,n){"use strict";(function(e){function a(e){return e&&e.__esModule?e:{default:e}}function o(){l.default.connect()}function r(t){__OVERLAY__?l.default.subscribe(u.RPCEvents.OVERLAY,{},t):e(function(){var e=n(473);e.commands[u.RPCCommands.OVERLAY]={scopes:u.RPC_PRIVATE_SCOPE,handler:function(e){t(e.args)}},e.events[u.RPCEvents.OVERLAY]={scopes:u.RPC_PRIVATE_SCOPE,handler:function(){}}})}function i(e){if(__OVERLAY__)l.default.request(u.RPCCommands.OVERLAY,e);else{n(473).dispatchToSubscriptions(u.RPCEvents.OVERLAY,{},e)}}t.__esModule=!0,t.connect=o,t.setReceiveHandler=r,t.send=i;var s=n(515),l=a(s),u=n(1)}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.replace(/('|\u2019|\uFF07)(s|S)$/,"")}function r(e){return e.toLowerCase()}function i(e){return m.has(e)}function s(e){return 0===e.length}function l(e){return(0,g.default)(e.split(/\W+/)).map(o).reject(s).map(r).reject(i).map(p.default).value()}function u(e,t){return e=r(o(e)),!s(e)&&!i(e)&&t.has((0,p.default)(e))}function f(e,t){if(Array.isArray(e))e.forEach(function(e){return f(e,t)});else if("string"==typeof e.content&&"codeBlock"!==e.type){var n=[],a="";e.content.split(/(\W+)/g).forEach(function(e){u(e,t)?(a.length>0&&n.push({type:"text",content:a}),n.push({type:"highlight",content:e}),a=""):a+=e}),n.length>0&&(a.length>0&&n.push({type:"text",content:a}),"text"===e.type?e.content=n:e.content=[{type:"text",content:n}])}else null!=e.content&&f(e.content,t);return e}function c(e){var t=new Set(l(e));return function(e){return f(e,t)}}t.__esModule=!0,t.analyze=l,t.shouldHighlight=u,t.highlightAST=f,t.createASTHighlighter=c;var d=n(702),p=a(d),h=n(7),g=a(h),m=new Set(["a","an","and","are","as","at","be","but","by","for","if","in","into","is","it","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"])},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return null==e?{}:(0,s.default)(e)}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},a=function(n){return t.hasOwnProperty(n)?t[n]:e[n]},o=[];for(var r in e)t.hasOwnProperty(r)?o.length&&(n[r]=o,o=[]):o.push(r);var i=void 0,s={};for(var l in t){if(n.hasOwnProperty(l))for(i=0;i<n[l].length;i++){var u=n[l][i];s[u]=a(u)}s[l]=a(l)}for(i=0;i<o.length;i++)s[o[i]]=a(o[i]);return s}t.__esModule=!0,t.getChildMapping=o,t.mergeChildMappings=r;var i=n(671),s=a(i)},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e="test";try{return r.setItem(e,e),r.removeItem(e),!0}catch(e){return!1}}t.__esModule=!0;var r=window.localStorage;try{delete window.localStorage}catch(e){}var i=function(){function e(){a(this,e)}return e.prototype.get=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=r.getItem(e);if(null!=n)try{n=JSON.parse(n)}catch(e){n=t}else n=t;return n},e.prototype.set=function(e,t){r.setItem(e,JSON.stringify(t))},e.prototype.remove=function(e){r.removeItem(e)},e.prototype.clear=function(){r.clear()},e}(),s=function(){function e(){a(this,e),this.storage={}}return e.prototype.get=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.storage.hasOwnProperty(e)?this.storage[e]:t},e.prototype.set=function(e,t){this.storage[e]=t},e.prototype.remove=function(e){delete this.storage[e]},e.prototype.clear=function(){this.storage={}},e}();t.impl=o()?new i:new s},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(11),r=a(o),i=n(381),s=a(i);t.default={getPrivateChannelsStores:function(){return[r.default,s.default]},getPrivateChannelsState:function(){return{channels:r.default.getChannels(),privateChannelIds:s.default.getPrivateChannelIds()}}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(119),l=a(s),u=n(75),f=a(u),c=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(e){this.id=e.id,this.name=e.name,this.managed=e.managed,this.roles=e.roles,this.requiredColons=e.requiredColons,this.user=new f.default(e.user)},t}(l.default);t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=n(119),u=a(l),f=n(129),c=a(f),d=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.create=function(e,n){var a=e.hit,r=o(e,["hit"]);return new t({hit:a,message:c.default.create(r,function(e){return a?n(e):e})})},t.prototype.initialize=function(e){this.message=e.message,this.hit=e.hit||!1},t}(u.default);t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(119),l=a(s),u=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(e){this.id=e.id||0,this.filename=e.filename||"",this.fileSize=e.fileSize||0,this.loaded=e.loaded||0,this.speed=e.speed||0,this.classification=e.classification||"unknown"},t.prototype.toString=function(){return this.filename},t.prototype.getPercentComplete=function(){return Math.floor(this.loaded/this.fileSize*1e3)/10},t.prototype.getSpeed=function(){var e=this.speed;return e>1048576?(Math.round(100*e/1048576)/100).toString()+" MB/s":e>1024?(Math.round(100*e/1024)/100).toString()+" KB/s":e.toString()+" B/s"},t.prototype.getETA=function(){return(this.fileSize-this.loaded)/this.speed},t}(l.default);t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){if(!e)return null;var t=e.date,n=e.revision,a=e.experiment_names;return O.default.v3(JSON.stringify({date:t,revision:n,experiment_names:a}))}function l(e){for(var t=void 0,n=0;n<R.length;n++){var a=R[n],o=a.experiment_names,r=a.experiment_bucket;if(o){if(e)continue;var i=N.default.getFirstEligibleUserExperiment(o);if(!i)continue;if(!t&&r&&r!==i.bucket){t=o;continue}}else if(t)return p({},a,{experiment_names:t,experiment_bucket:0});return a}}function u(){P=!0,v.default.set(L,P)}function f(){P=!1,v.default.set(L,P)}function c(){k=l();var e=s(k);w!==e&&b.default.getCurrentUser().isClaimed()&&(w=e,P=!0,v.default.set(D,w),v.default.set(L,P)),x=!0}function d(){x=!1}t.__esModule=!0;var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},h=n(2),g=a(h),m=n(25),v=a(m),E=n(4),y=a(E),_=(n(1),n(10)),b=a(_),S=n(120),I=a(S),T=n(317),N=a(T),A=n(2692),M=a(A),C=n(346),O=a(C),D="lastChangeLog",L="shouldShowChangeLog",R=M.default.split("---changelog---\n").slice(1).map(function(e){var t=!1,n={};return p({},n,{body:e.split("\n").filter(function(e){if("---"===e)return t=!0,!1;if(!t){var a=e.split(": "),o=a.shift(),r=a.join(": ");n[o]=JSON.parse(r)}return t}).join("\n")})}),x=!1,w=void 0,P=!1,k=l(!0),U=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){w=v.default.get(D)||w,P=v.default.get(L)||P,this.waitFor(b.default,I.default)},t.prototype.isOpen=function(){return x&&P},t.prototype.getChangelog=function(){return k},t}(g.default.Store);t.default=new U(y.default,{CHANGE_LOG_OPEN:u,CHANGE_LOG_CLOSE:f,CONNECTION_OPEN:c,CONNECTION_CLOSED:d}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){_=y.FormStates.OPEN,b=e.guildId,T={};var t=m.default.getMember(b,e.userId);S=E.default.getUser(e.userId),null==t||null==S?l():I=t.nick}function l(){_=y.FormStates.CLOSED,b=null,I=null,S=null,T={}}function u(){_=y.FormStates.SUBMITTING}function f(e){_=y.FormStates.OPEN,T=e.errors||{}}t.__esModule=!0;var c=n(2),d=a(c),p=n(4),h=a(p),g=n(34),m=a(g),v=n(10),E=a(v),y=n(1),_=y.FormStates.CLOSED,b=void 0,S=void 0,I=void 0,T={},N=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(m.default)},t.prototype.isOpen=function(){return _!==y.FormStates.CLOSED},t.prototype.getProps=function(){return{submitting:_===y.FormStates.SUBMITTING,errors:T,guildId:b,nick:I,user:S}},t}(d.default.Store);t.default=new N(h.default,{CHANGE_NICKNAME_MODAL_OPEN:s,CHANGE_NICKNAME_MODAL_SUBMIT:u,CHANGE_NICKNAME_MODAL_SUBMIT_FAILURE:f,CHANGE_NICKNAME_MODAL_CLOSE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){v=g.FormStates.OPEN,E=e.guildId,y=e.code,_=!1}function l(){v=g.FormStates.CLOSED,E=null,y=null,_=!1}function u(){v=g.FormStates.SUBMITTING}function f(e){v=g.FormStates.OPEN,_=e.hasError}t.__esModule=!0;var c=n(2),d=a(c),p=n(4),h=a(p),g=n(1),m={},v=g.FormStates.CLOSED,E=void 0,y=void 0,_=!1,b=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isOpen=function(){return v!==g.FormStates.CLOSED},t.prototype.getProps=function(){return{submitting:v===g.FormStates.SUBMITTING,hasError:_,errors:m,guildId:E,code:y}},t}(d.default.Store);t.default=new b(h.default,{CHANGE_VANITY_URL_MODAL_OPEN:s,CHANGE_VANITY_URL_MODAL_SUBMIT:u,CHANGE_VANITY_URL_MODAL_SUBMIT_FAILURE:f,CHANGE_VANITY_URL_MODAL_CLOSE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){g.default.set(S,T),g.default.set(I,N)}function l(e){var t=e.noticeType;T[t]=!1,T=c({},T),t!==_.ChannelNoticeTypes.MFA_WARNING&&(N=Date.now()),s(),y.default.trackWithMetadata(_.AnalyticEvents.CHANNEL_NOTICE_CLOSED,{notice_type:t})}function u(){A=!0}function f(){A=!1}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d=n(2),p=a(d),h=n(25),g=a(h),m=n(4),v=a(m),E=n(122),y=a(E),_=n(1),b="showInviteNotice",S="channelNotices",I="lastHiddenChannelNotice",T={},N=0,A=!1,M=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){var e=g.default.get(b),t=g.default.get(S)||{};N=g.default.get(I)||0,Object.keys(_.ChannelNoticeTypes).forEach(function(e){return T[e]=!0}),Object.keys(t).forEach(function(e){T[e]&&"boolean"==typeof t[e]&&(T[e]=t[e])}),null!=typeof e&&(g.default.remove(b),"boolean"==typeof e&&(T.INVITE=e)),s()},t.prototype.getState=function(){return A?{noticeStates:T,lastHidden:N}:{noticeStates:{},lastHidden:0}},t.prototype.shouldShowInviteNotice=function(){return g.default.get(b)},t}(p.default.Store);t.default=new M(v.default,{CONNECTION_OPEN:u,CONNECTION_CLOSED:f,CHANNEL_NOTICE_HIDE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){E=v.FormStates.OPEN,_={},b=e.guildId,null!=e.cloneChannelId?(S=m.default.getChannel(e.cloneChannelId),null!=S?y=S.type:E=v.FormStates.CLOSED):(S=null,y=e.channelType)}function l(){E=v.FormStates.CLOSED}function u(){E=v.FormStates.SUBMITTING}function f(e){E=v.FormStates.OPEN,_=e.errors||{}}t.__esModule=!0;var c=n(2),d=a(c),p=n(4),h=a(p),g=n(11),m=a(g),v=n(1),E=v.FormStates.CLOSED,y=void 0,_={},b=void 0,S=void 0,I=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isOpen=function(){return E!==v.FormStates.CLOSED},t.prototype.getProps=function(){return{submitting:E===v.FormStates.SUBMITTING,errors:_,channelType:y,cloneChannel:S,guildId:b}},t}(d.default.Store);t.default=new I(h.default,{CREATE_CHANNEL_MODAL_OPEN:s,CREATE_CHANNEL_MODAL_SUBMIT:u,CREATE_CHANNEL_MODAL_SUBMIT_FAILURE:f,CREATE_CHANNEL_MODAL_CLOSE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){return E.default.triggerFirstEligibleUserExperiment([y.Experiments.RECOMMEND_MOBILE_NOTICE]),l()}function l(){var e=h.default.getExperimentBucket(y.Experiments.RECOMMEND_MOBILE_NOTICE),t=m.default.getCurrentUser(),n=e==y.ExperimentBuckets.TREATMENT_1||e===y.ExperimentBuckets.TREATMENT_2,a=!t.mobile&&n,o=a!==_;return _=a,o}t.__esModule=!0;var u=n(2),f=a(u),c=n(4),d=a(c),p=n(120),h=a(p),g=n(10),m=a(g),v=n(317),E=a(v),y=n(1),_=!1,b=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(h.default,m.default)},t.prototype.shouldShowNotice=function(){return _},t}(f.default.Store);t.default=new b(d.default,{CONNECTION_OPEN:s,USER_UPDATE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){h=!0}function l(){h=!1}function u(e){e.user.verified&&l()}t.__esModule=!0;var f=n(2),c=a(f),d=n(4),p=a(d),h=(n(1),!1),g=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isOpen=function(){return h},t}(c.default.Store);t.default=new g(p.default,{EMAIL_VERIFICATION_MODAL_OPEN:s,EMAIL_VERIFICATION_MODAL_CLOSE:l,USER_UPDATE:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.guildId,n=e.channelId,a=n||t;return a!==D&&(D=a,O.track(a)),!1}function l(){return O.markDirty(),!1}t.__esModule=!0;var u=n(2),f=a(u),c=n(4),d=a(c),p=n(772),h=a(p),g=n(25),m=a(g),v=n(19),E=a(v),y=n(35),_=a(y),b=n(11),S=a(b),I=n(12),T=a(I),N=(n(1),"selectedChannelGuildFrecency"),A=100,M=10,C=100,O=new h.default(function(){return C},function(e){var t=0;return 0===e?t=100:e>=1&&e<2?t=70:e>=2&&e<4?t=50:e>=4&&e<7?t=30:e>=7&&(t=10),t},function(e){return T.default.getGuild(e)||S.default.getChannel(e)||S.default.getChannel(S.default.getDMFromUserId(e))},function(e){return m.default.set(N,e)},A,M),D=null,L=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(_.default,E.default);var e=m.default.get(N);e&&O.overwriteHistory(e)},t.prototype.getFrequently=function(){return O.frequently},t.prototype.getScore=function(e){return O.getFrecency(e)||0},t.prototype.getScoreForDM=function(e){return this.getScore(S.default.getDMFromUserId(e))},t.prototype.getMaxScore=function(){return A*M},t.prototype.getBonusScore=function(){return C},t}(f.default.Store);t.default=new L(d.default,{CONNECTION_OPEN:l,VOICE_CHANNEL_SELECT:s,CHANNEL_SELECT:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.guildId,n=e.emojis;S[t]=n.map(function(e){return new _.default(e)})}function l(e){S[e.guildId]=[]}function u(){I++}function f(){I--}function c(e){var t=e.guildId;b[t]=(b[t]||0)+1}function d(e){var t=e.guildId,n=e.emojiId;S[t]=S[t].filter(function(e){return e.id!==n})}t.__esModule=!0;var p=n(2),h=a(p),g=n(4),m=a(g),v=n(35),E=a(v),y=n(1579),_=a(y),b=(n(1),{}),S={},I=0,T=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(E.default)},t.prototype.isUploadingEmoji=function(){return I>0},t.prototype.getEmojiRevision=function(e){return b[e]||0},t.prototype.getEmojis=function(e){return S[e]},t}(h.default.Store);t.default=new T(m.default,{EMOJI_DELETE:d,EMOJI_FETCH_SUCCESS:s,EMOJI_FETCH_FAILURE:l,EMOJI_UPLOAD_START:u,EMOJI_UPLOAD_STOP:f,GUILD_EMOJIS_UPDATE:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){g=e.articles.slice(0,m).map(function(e){return{id:e.id,title:e.title,htmlUrl:h.default.getArticleURL(e.id)}})}t.__esModule=!0;var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),u=n(2),f=a(u),c=n(4),d=a(c),p=(n(1),n(71)),h=a(p),g=[],m=6,v=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),l(t,[{key:"featuredArticles",get:function(){return g}}]),t}(f.default.Store);t.default=new v(d.default,{FEATURED_HELP_ARTICLES:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.integration,n=e.query;h[t]=h[t]||{},h[t][n]={loading:!0,results:[]}}function l(e){var t=e.integration,n=e.query,a=e.results;h[t][n].loading=!1,h[t][n].results=a}function u(e){var t=e.integration,n=e.query;delete h[t][n]}t.__esModule=!0;var f=n(2),c=a(f),d=n(4),p=a(d),h=(n(1),{}),g=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getResults=function(e,t){return h[e][t]},t}(c.default.Store);t.default=new g(p.default,{INTEGRATION_QUERY:s,INTEGRATION_QUERY_SUCCESS:l,INTEGRATION_QUERY_FAILURE:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){T=!0}function l(){T=!1}function u(e){var t=e.invite;if(!t||!t.code)return!1;var n=t.guild;return null!=n&&(!y.default.getGuild(n.id)&&!M.find(function(e){return e.code===t.code})&&(A=!1,void M.push({code:t.code,guild:new I.default(n),channel:p({},t.channel)})))}function f(){M.shift(),N=null,A=!1}function c(e){N=e.message,A=!1}function d(){A=!0}t.__esModule=!0;var p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},h=n(2),g=a(h),m=n(4),v=a(m),E=n(12),y=a(E),_=n(267),b=a(_),S=(n(1),n(103)),I=a(S),T=!1,N=void 0,A=!1,M=[],C=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(y.default,b.default)},t.prototype.isOpen=function(){return T&&M.length},t.prototype.getState=function(){return{invite:M[0]||null,error:N||null,submitting:A}},t}(g.default.Store);t.default=new C(v.default,{CONNECTION_OPEN:s,CONNECTION_CLOSED:l,INVITE_MODAL_OPEN:u,INVITE_MODAL_CLOSE:f,INVITE_ACCEPT:d,INVITE_MODAL_ERROR:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.token,n=e.codes;E.default.set(y.TOKEN_KEY,t),_=n}function l(e){var t=e.token;E.default.set(y.TOKEN_KEY,t)}function u(e){var t=e.codes;_=d.default.sortBy(t,"code")}function f(){_=[]}t.__esModule=!0;var c=n(7),d=a(c),p=n(2),h=a(p),g=n(4),m=a(g),v=n(25),E=a(v),y=n(1),_=[],b=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getBackupCodes=function(){return _},t}(h.default.Store);t.default=new b(m.default,{MFA_ENABLE_SUCCESS:s,MFA_DISABLE_SUCCESS:l,MFA_CLEAR_BACKUP_CODES:f,MFA_VIEW_BACKUP_CODES:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=document.createElement("a");return t.href=e,t.hostname}function l(e){return v.indexOf(s(e))>-1}function u(e){var t=e.url,n=s(t);if(l(n))return!1;v.push(n),p.default.set(m,v)}t.__esModule=!0;var f=n(2),c=a(f),d=n(25),p=a(d),h=n(4),g=a(h),m=(n(1),"MaskedLinkStore"),v=p.default.get(m)||[],E=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isTrusted=function(e){return l(e)},t}(c.default.Store);t.default=new E(g.default,{MASKED_LINK_ADD_TRUSTED_DOMAIN:u}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){Z=!1}function l(){Z=!0,X&&u()}function u(){Z&&(ee.invited_guild_id||f(),Q===L.NEW_USER_ONBOARDING_STEPS.INITIAL&&(d(),C.default.track(K,E({evaluated_step:Q},ee))))}function f(){var e=P.default.getGuilds(),t=Object.keys(e);if(t.length>0){var n=P.default.getGuild(t[0]),a=H.default.getChannel(B.default.getChannelId());ee.invited_guild_id=t[0],ee.guild_count=t.length,ee.member_count=U.default.getMemberCount(n.id),ee.has_splash=n.hasFeature(L.GuildFeatures.INVITE_SPLASH),ee.channel_type=a.type}}function c(e){if(!oe[e]||e===L.NEW_USER_ONBOARDING_STEPS.DISABLED)return L.NEW_USER_ONBOARDING_STEPS.DISABLED;var t=oe[e].find(function(e){return e.predicate()});return t?t.to:L.NEW_USER_ONBOARDING_STEPS.DISABLED}function d(){var e=c(Q),t=Date.now();return Q===L.NEW_USER_ONBOARDING_STEPS.INITIAL&&e===L.NEW_USER_ONBOARDING_STEPS.DISABLED||($||($=t),C.default.track(Y,{flow_type:te.type,from_step:Q,to_step:e,skip:!1,seconds_on_from_step:(t-$)/1e3}),$=t),e===L.NEW_USER_ONBOARDING_STEPS.DISABLED?void p():(Q=e,J.push(Q),T.default.set(z,Q),Q)}function p(){Q=L.NEW_USER_ONBOARDING_STEPS.DISABLED,T.default.remove(z)}function h(){var e=Date.now();C.default.track(Y,{flow_type:te.type,from_step:Q,to_step:L.NEW_USER_ONBOARDING_STEPS.DISABLED,skip:!0,seconds_on_from_step:(e-$)/1e3}),p()}function g(){T.default.remove(z)}t.__esModule=!0;var m,v,E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y=n(253),_=a(y),b=n(2),S=a(b),I=n(25),T=a(I),N=n(4),A=a(N),M=n(29),C=a(M),O=n(18),D=a(O),L=n(1),R=n(380),x=a(R),w=n(12),P=a(w),k=n(376),U=a(k),G=n(13),j=a(G),F=n(19),B=a(F),V=n(11),H=a(V),z="newUserOnboardingStep",W="nuo-test",Y="nuo_transition",K="nuo_guild_info",Q=L.NEW_USER_ONBOARDING_STEPS.INITIAL,Z=!1,X=!1,J=[],q=void 0,$=0,ee={invited_guild_id:null,guild_count:0,member_count:null,has_splash:null,channel_type:null},te={type:"no-flow"},ne=(0,_.default)({LARGE_SERVER:null,SMALL_MEDIUM_SERVER:null}),ae=!1,oe=(m={},m[L.NEW_USER_ONBOARDING_STEPS.INITIAL]=[{to:L.NEW_USER_ONBOARDING_STEPS.MARKETING,predicate:function(){return ae}},{to:L.NEW_USER_ONBOARDING_STEPS.MARKETING,predicate:function(){return q===ne.LARGE_SERVER?(te.type=ne.LARGE_SERVER,!0):!D.default.embedded&&!x.default.isClaimed()&&(!(1!==ee.guild_count||!(ee.member_count>=L.LARGE_SERVER_MEMBER_THRESHOLD||ee.has_splash))&&(te.type=ne.LARGE_SERVER,!0))}},{to:L.NEW_USER_ONBOARDING_STEPS.MARKETING,predicate:function(){return q===ne.SMALL_MEDIUM_SERVER?(te.type=ne.SMALL_MEDIUM_SERVER,!0):!D.default.embedded&&!x.default.isClaimed()&&(1===ee.guild_count&&ee.channel_type===L.ChannelTypes.GUILD_TEXT&&ee.member_count<L.LARGE_SERVER_MEMBER_THRESHOLD&&(te.type=ne.SMALL_MEDIUM_SERVER,!0))}}],m[L.NEW_USER_ONBOARDING_STEPS.MARKETING]=[{to:L.NEW_USER_ONBOARDING_STEPS.AVATAR_UPLOAD,predicate:function(){return ae}},{to:L.NEW_USER_ONBOARDING_STEPS.CLAIM_ACCOUNT,predicate:function(){return!x.default.isClaimed()}}],m[L.NEW_USER_ONBOARDING_STEPS.CLAIM_ACCOUNT]=[{to:L.NEW_USER_ONBOARDING_STEPS.DISABLED,predicate:function(){return ae}},{to:L.NEW_USER_ONBOARDING_STEPS.APP_DOWNLOADS,predicate:function(){return!0}}],m[L.NEW_USER_ONBOARDING_STEPS.AVATAR_UPLOAD]=[{to:L.NEW_USER_ONBOARDING_STEPS.GUILD_SETTINGS,predicate:function(){return ae}}],m[L.NEW_USER_ONBOARDING_STEPS.GUILD_SETTINGS]=[{to:L.NEW_USER_ONBOARDING_STEPS.GRANT_MIC_ACCESS,predicate:function(){return ae}}],m[L.NEW_USER_ONBOARDING_STEPS.GRANT_MIC_ACCESS]=[{to:L.NEW_USER_ONBOARDING_STEPS.MIC_TEST,predicate:function(){return ae}}],m[L.NEW_USER_ONBOARDING_STEPS.MIC_TEST]=[{to:L.NEW_USER_ONBOARDING_STEPS.CHAT_EXAMPLE,predicate:function(){return ae}}],m[L.NEW_USER_ONBOARDING_STEPS.CHAT_EXAMPLE]=[{to:L.NEW_USER_ONBOARDING_STEPS.APP_DOWNLOADS,predicate:function(){return ae}}],m[L.NEW_USER_ONBOARDING_STEPS.APP_DOWNLOADS]=[{to:L.NEW_USER_ONBOARDING_STEPS.CLAIM_ACCOUNT,predicate:function(){return ae}},{to:L.NEW_USER_ONBOARDING_STEPS.DISABLED,predicate:function(){return!0}}],m),re=(v={},v[L.NEW_USER_ONBOARDING_STEPS.CLAIM_ACCOUNT]=function(){return x.default.isClaimed()},v),ie=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){Q=T.default.get(z)||L.NEW_USER_ONBOARDING_STEPS.INITIAL,q=T.default.get(W)||void 0,this.waitFor(x.default,P.default,U.default,j.default,B.default,H.default)},t.prototype.getNextStep=function(){return c(Q)},t.prototype.isStepComplete=function(){return!re[Q]||re[Q]()},t.prototype.getProgress=function(){return this.getSteps(Q).indexOf(Q)},t.prototype.getSteps=function(e){var t=void 0,n=Object.keys(oe).length;if(e?t=[].concat(J):(e=L.NEW_USER_ONBOARDING_STEPS.INITIAL,t=[]),!Z)return t;for(;;){if(e=c(e),e===L.NEW_USER_ONBOARDING_STEPS.DISABLED)return t;if(t.push(e),t.length>n)return t}},t.prototype.getStep=function(){return Q},t.prototype.getState=function(){return X===!1&&(X=!0,u()),{step:Q,stepIndex:this.getProgress(),steps:this.getSteps(Q),ready:Z}},t}(S.default.Store);t.default=new ie(A.default,{LOGOUT:g,NEW_USER_FLOW_ADVANCE_STEP:d,NEW_USER_FLOW_SKIP:h,CONNECTION_OPEN:l,CONNECTION_CLOSED:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.guildId;h=p.FormStates.OPEN,g=t}function l(){h=p.FormStates.CLOSED,g=null}t.__esModule=!0;var u=n(2),f=a(u),c=n(4),d=a(c),p=n(1),h=p.FormStates.CLOSED,g=void 0,m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isOpen=function(){return h!==p.FormStates.CLOSED},t.prototype.getProps=function(){return{guildId:g}},t}(f.default.Store);t.default=new m(d.default,{NOTIFICATION_SETTINGS_MODAL_OPEN:s,NOTIFICATION_SETTINGS_MODAL_CLOSE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=e.mode,n=e.plan;b=!0,S=t,I=_.FormStates.OPEN,M=n}function l(){b=!1,T=null,N=null,A=null}function u(){I=_.FormStates.SUBMITTING,T=null,N=null}function f(){I=_.FormStates.CLOSED,T=null,N=null}function c(e){var t=e.error;I=_.FormStates.OPEN,T=t}function d(e){var t=e.error;I=_.FormStates.OPEN,N=[C[t.code]||_.FancyInputRefs.CARD_NUMBER]}function p(e){A=e.cardInfo}t.__esModule=!0;var h=n(2),g=a(h),m=n(4),v=a(m),E=n(792),y=a(E),_=n(1),b=!1,S=_.PaymentModelModes.NEW,I=_.FormStates.CLOSED,T=null,N=null,A=null,M=null,C={invalid_number:_.FancyInputRefs.CARD_NUMBER,incorrect_number:_.FancyInputRefs.CARD_NUMBER,invalid_expiry_year:_.FancyInputRefs.EXPIRATION,invalid_expiry_month:_.FancyInputRefs.EXPIRATION,invalid_cvc:_.FancyInputRefs.SECURITY_CODE},O=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(y.default)},t.prototype.isOpen=function(){return b},t.prototype.getState=function(){return{formState:I,cardInfo:A,paymentError:T,cardErrors:N,mode:S,plan:M}},t}(g.default.Store);t.default=new O(v.default,{PAYMENT_MODAL_OPEN:s,PAYMENT_MODAL_CLOSE:function(e){return l()},PAYMENT_PROCESSING:function(e){return u()},PAYMENT_UPDATE_SUCCESS:function(e){return f()},PAYMENT_UPDATE_FAILURE:c,STRIPE_TOKEN_FAILURE:d,PAYMENT_MODAL_SUBMIT:p}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){S=e.sessionId,T=!1}function l(){S=null,I=null,N=!0}function u(e){if(S!==e.sessionId)return!1;T!==e.suppress&&(T=e.suppress,N=!T),I!==e.channelId&&(I=e.channelId,N=!T),(A||null==e.channelId)&&(N=!0)}function f(e){var t=e.forever;N=!0,t&&(A=!0,_.default.set(b,A))}t.__esModule=!0;var c=n(2),d=a(c),p=n(4),h=a(p),g=(n(1),n(12)),m=a(g),v=n(11),E=a(v),y=n(25),_=a(y),b="hideSuppressWarning",S=void 0,I=void 0,T=!1,N=!0,A=!1,M=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){A=_.default.get(b)||A},t.prototype.isAFKChannel=function(){var e=E.default.getChannel(I);if(null==e)return!1;var t=m.default.getGuild(e.guild_id);return e.id===t.afkChannelId},t.prototype.shouldShowWarning=function(){return!N},t}(d.default.Store);t.default=new M(h.default,{CONNECTION_OPEN:s,CONNECTION_CLOSED:l,VOICE_STATE_UPDATE:u,PERMISSION_CLEAR_SUPPRESS_WARNING:f}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){E=!0}function l(){_=null,E=!1,y=!0}function u(e){_=e.error,E=!1,y=!1}function f(){_=null,E=!1}function c(e){_=e.error,E=!1}function d(e){var t=e.id;b!==t&&(b=t)}function p(){S=!0}t.__esModule=!0;var h=n(2),g=a(h),m=n(4),v=a(m),E=(n(1),!1),y=!1,_=null,b=224,S=!1,I=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getProps=function(){return{working:E,valid:y,error:_}},t.prototype.getCountryId=function(){return b},t.prototype.getCountrySelectorOpened=function(){return S},t}(g.default.Store);t.default=new I(v.default,{VERIFICATION_ADDING_PHONE:s,VERIFICATION_VERIFYING_PHONE:s,VERIFICATION_ADD_PHONE_SUCCESS:l,VERIFICATION_ADD_PHONE_FAILURE:u,VERIFICATION_VERIFY_PHONE_SUCCESS:f,VERIFICATION_VERIFY_PHONE_FAILURE:c,VERIFICATION_SELECT_COUNTRY:d,VERIFICATION_OPEN_COUNTRY_SELECTOR:p}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){h=p.FormStates.OPEN,g=e.guildId}function l(){h=p.FormStates.CLOSED}t.__esModule=!0;var u=n(2),f=a(u),c=n(4),d=a(c),p=n(1),h=p.FormStates.CLOSED,g=void 0,m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isOpen=function(){return h!==p.FormStates.CLOSED},t.prototype.getProps=function(){return{guildId:g}},t}(f.default.Store);t.default=new m(d.default,{PRIVACY_SETTINGS_MODAL_OPEN:s,PRIVACY_SETTINGS_MODAL_CLOSE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){w="",P=0,k=[],j=[]}function l(){var e=void 0;if(null==M.default.getGuildId()){e=L.default.queryFriends(w,x,!1).map(function(e){return e.user}),0!==e.length&&e.length!==U.length&&(U=e);var t=N.default.getChannelId();if(null!=t){var n=O.default.getChannel(t);null!=n&&(e=e.filter(function(e){return n.recipients.indexOf(e.id)===-1}))}}var a=!1;return(0,y.default)(k,e)||(k=e,a=!0),U.length!==G&&(G=U.length,a=!0),a}function u(){s()}function f(e){if(null!=e.guildId)return!1;s(),l()}function c(e){w=e.query,P=0,l()}function d(e){P=e.row}function p(e){if(e.key!==R)return!1;s(),l()}function h(e){var t=e.user;j.indexOf(t)==-1&&(j=[].concat(j,[t]))}function g(e){var t=e.user,n=j.indexOf(t);n>-1&&(j.splice(n,1),j=[].concat(j))}t.__esModule=!0;var m=n(2),v=a(m),E=n(118),y=a(E),_=n(4),b=a(_),S=(n(1),n(10)),I=a(S),T=n(19),N=a(T),A=n(35),M=a(A),C=n(11),O=a(C),D=n(315),L=a(D),R="PrivateChannelRecipientsInvitePopout",x=1e3,w=void 0,P=void 0,k=void 0,U=[],G=void 0,j=[];s();var F=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(I.default,O.default),this.syncWith([I.default,O.default],l)},t.prototype.getState=function(){return{query:w,selectedRow:P,selectedUsers:j,results:k,hasFriends:G>0}},t}(v.default.Store);t.default=new F(b.default,{CONNECTION_OPEN:u,CHANNEL_SELECT:f,POPOUT_CLOSE:p,PRIVATE_CHANNEL_RECIPIENTS_INVITE_QUERY:c,PRIVATE_CHANNEL_RECIPIENTS_INVITE_SELECT:d,PRIVATE_CHANNEL_RECIPIENTS_ADD_USER:h,PRIVATE_CHANNEL_RECIPIENTS_REMOVE_USER:g}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){m=g.FormStates.OPEN,v=h.default.getGuild(e.guildId),E=e.days,y=e.estimate}function l(){m=g.FormStates.CLOSED,v=null,E=null,y=null}t.__esModule=!0;var u=n(2),f=a(u),c=n(4),d=a(c),p=n(12),h=a(p),g=n(1),m=g.FormStates.CLOSED,v=void 0,E=void 0,y=void 0,_=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(h.default)},t.prototype.isOpen=function(){return m!==g.FormStates.CLOSED},t.prototype.getProps=function(){return{guild:v,days:E,estimate:y}},t}(f.default.Store);t.default=new _(d.default,{PRUNE_GUILD_MODAL_OPEN:s,PRUNE_GUILD_MODAL_CLOSE:l}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){if(null==e)throw new TypeError("Cannot destructure undefined")}function l(){ue=!0}function u(){ue=!1}function f(e){var t=e.guildId;re=!0,null==t&&se.guildFilter===U.RecentMentionsFilters.THIS_SERVER&&_({guildFilter:U.RecentMentionsFilters.ALL_SERVERS})}function c(e){if(e instanceof j.default)return e;var t=H.default.getMessage(e.channel_id,e.id);return null!=t?t:j.default.create(e)}function d(e){var t=e.hasMoreAfter,n=e.messages,a=e.isAfter,o=R.default.map(n,c);a?ae=ae.concat(o):(ae=o,oe={}),R.default.forEach(o,function(e){oe[e.id]=!0}),re=!1,ie=t,le=!0}function p(e){s(e),re=!1}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e.type!==U.MessageTypes.DEFAULT)return null;t||(t=e.channel_id);var n=B.default.getChannel(t);if(!n||n&&n.type===U.ChannelTypes.DM)return null;if(se.guildFilter===U.RecentMentionsFilters.THIS_SERVER&&n.getGuildId()!==Z.default.getGuildId())return null;var a=e.author.id;return $.default.isBlocked(a)||a===W.default.getId()?null:(e=c(e),(0,G.messageMentionsCurrentUser)(e,se.everyoneFilter,se.roleFilter)?e:null)}function g(e){var t=e.channelId,n=e.message,a=h(n,t);if(!a)return!1;ae=ae.slice(),ae.unshift(a),oe[a.id]=!0}function m(e){var t=e.message.id;if(null!=oe[t]){var n=R.default.findIndex(ae,function(e){return e.id===t});ae=ae.slice();var a=ae[n];ae[n]=a.updateMessage(e.message)}}function v(e){null!=oe[e]&&(delete oe[e],ae=R.default.filter(ae,function(t){return t.id!==e}))}function E(e){v(e.id)}function y(e){var t=e.ids;R.default.forEach(t,v)}function _(e){var t=D({},se);se=R.default.defaults(R.default.pick(e,["guildFilter","roleFilter","everyoneFilter"]),se),te.default.set(ne,se);var n=function(e,n){return t[e]!==se[e]&&se[e]===n},a=n("guildFilter",U.RecentMentionsFilters.THIS_SERVER)||n("everyoneFilter",!1)||n("roleFilter",!1);oe={};var o=[];a&&ae.forEach(function(e){var t=h(e);t&&(o.push(t),oe[t.id]=!0)}),ae=o,0===ae.length&&(le=!1)}function b(){se.guildFilter===U.RecentMentionsFilters.THIS_SERVER&&(le=!1)}function S(){ae=[],oe={},le=!1}function I(e){var t=e.guild;ae=R.default.filter(ae,function(e){var n=B.default.getChannel(e.channel_id);return!(!n||n.getGuildId()===t.id)||(delete oe[e.id],!1)})}function T(){R.default.forEach(ae,function(e){e.timestamp.locale(J.default.locale)})}function N(){ae=ae.filter(function(e){return!$.default.isBlocked(e.author.id)})}function A(e){var t=e.guild;ae=R.default.map(ae,function(e){var n=B.default.getChannel(e.channel_id);if(null==n||n.getGuildId()!==t.id)return e;var a=j.default.lookupMember(e);return null!=a?e.merge(a):e})}function M(e){var t=e.channel;ae=R.default.filter(ae,function(e){return e.channel_id!==t.id||(delete oe[e.id],!1)})}function C(e){for(var t=e.size,n=t;n<ae.length;++n)delete oe[ae[n].id];ae=ae.slice(0,t),ie=!0}t.__esModule=!0;var O=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},L=n(7),R=a(L),x=n(2),w=a(x),P=n(4),k=a(P),U=n(1),G=n(129),j=a(G),F=n(11),B=a(F),V=n(88),H=a(V),z=n(17),W=a(z),Y=n(10),K=a(Y),Q=n(35),Z=a(Q),X=n(13),J=a(X),q=n(43),$=a(q),ee=n(25),te=a(ee),ne="recentMentionFilterSettings",ae=[],oe={},re=!1,ie=!0,se=te.default.get(ne,{guildFilter:U.RecentMentionsFilters.ALL_SERVERS,everyoneFilter:!0,roleFilter:!0}),le=!1,ue=!1,fe=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(K.default,B.default,H.default)},t.prototype.isOpen=function(){return ue},t.prototype.getMentions=function(){return le||ae.length?ae:null},O(t,[{key:"hasLoadedEver",get:function(){return le}},{key:"loading",get:function(){return re}},{key:"hasMore",get:function(){return ie}},{key:"guildFilter",get:function(){return se.guildFilter}},{key:"everyoneFilter",get:function(){return se.everyoneFilter}},{key:"roleFilter",get:function(){return se.roleFilter}}]),t}(w.default.Store);t.default=new fe(k.default,{LOAD_RECENT_MENTIONS:f,LOAD_RECENT_MENTIONS_SUCCESS:d,LOAD_RECENT_MENTIONS_FAILURE:p,SET_RECENT_MENTIONS_FILTER:_,TRUNCATE_MENTIONS:C,GUILD_SELECT:b,CONNECTION_OPEN:S,GUILD_DELETE:I,MESSAGE_CREATE:g,MESSAGE_UPDATE:m,MESSAGE_DELETE:E,RECENT_MENTION_DELETE:E,MESSAGE_DELETE_BULK:y,USER_SETTINGS_UPDATE:T,CHANNEL_DELETE:M,RELATIONSHIP_ADD:N,RELATIONSHIP_REMOVE:N,GUILD_SYNC:A,MENTION_MODAL_OPEN:function(e){return l()},MENTION_MODAL_CLOSE:function(e){return u()}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){(0,g.getDesktopSources)([g.MediaEngineDesktopSources.WINDOW]).then(function(e){null!=y&&(0,v.default)(y,e)||(y=[].concat(e),N.emitChange())}),(0,g.getDesktopSources)([g.MediaEngineDesktopSources.SCREEN],{width:307,height:240}).then(function(e){null!=_&&(0,v.default)(_,e)||(_=[].concat(e),N.emitChange())})}function l(e){E=!0,b=e.channel,S=e.startCall,s(),I.start(1e3,s)}function u(){E=!1,b=null,S=!1,I.stop(),y=null,_=null}t.__esModule=!0;var f=n(2),c=a(f),d=n(306),p=n(4),h=a(p),g=(n(1),n(162)),m=n(118),v=a(m),E=!1,y=void 0,_=void 0,b=void 0,S=!1,I=new d.Interval,T=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isOpen=function(){return E},t.prototype.getProps=function(){return{windowSources:y,screenSources:_,channel:b,startCall:S}},t}(c.default.Store),N=new T(h.default,{SCREENSHARE_MODAL_OPEN:l,SCREENSHARE_MODAL_CLOSE:u});t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e;return e={},e[L.default[Q.SearchTokenTypes.FILTER_FROM].key]=!U.default.hidePersonalInformation,e[L.default[Q.SearchTokenTypes.FILTER_MENTIONS].key]=!U.default.hidePersonalInformation,e[L.default[Q.SearchTokenTypes.FILTER_HAS].key]=!0,e[L.default[Q.SearchTokenTypes.FILTER_BEFORE].key]=!0,e[L.default[Q.SearchTokenTypes.FILTER_AFTER].key]=!0,e[L.default[Q.SearchTokenTypes.FILTER_ON].key]=!0,e[L.default[Q.SearchTokenTypes.FILTER_IN].key]=P.default.getSearchType()===Q.SearchTypes.GUILD,e}function l(e){var t=P.default.getSearchType(e),n=[Q.SearchTokenTypes.FILTER_HAS];return U.default.hidePersonalInformation||(n.push(Q.SearchTokenTypes.FILTER_FROM),n.push(Q.SearchTokenTypes.FILTER_MENTIONS)),t===Q.SearchTypes.GUILD&&n.push(Q.SearchTokenTypes.FILTER_IN),n}function u(e,t,n,a,o,r){var i=X[e];return null==i&&(i={results:[],context:K.default.getSearchContext(c.bind(null,e))},X[e]=i),{query:t||"",mode:n||{type:Q.SearchPopoutModes.EMPTY,filter:null,token:null},tokens:a||[],cursorScope:o||null,autocompletes:r||[]}}function f(e){var t=e.searchId,n=X[t];null!=n&&(n.context.clearQuery(),n.results=[]),Z[t]=u(t)}function c(e,t){var n=t.results,a=X[e],o=Z[e];if(null!=a&&null!=o){var r=o.mode,i=r.type,s=r.filter;if(i!==Q.SearchPopoutModes.EMPTY&&(i!==Q.SearchPopoutModes.FILTER||s===Q.SearchTokenTypes.FILTER_FROM||s===Q.SearchTokenTypes.FILTER_MENTIONS)){var l=q;o.mode.type===Q.SearchPopoutModes.FILTER&&(l=J),a.results=d(n,l);var f=o.query,c=o.mode,p=o.tokens,h=o.cursorScope,g=o.autocompletes;g=y(e,c),Z[e]=u(e,f,c,p,h,g),ee.emitChange()}}}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J;return e=e.map(function(e){var t=B.default.getUser(e.id);return null==t?null:{text:t.tag,user:t}}).filter(function(e){return null!=e}),e.length>t&&(e.length=t),e}function p(e){var t=e.searchId,n=e.tokens,a=e.cursorScope;if(!j.default.isOpen(Q.SEARCH_POPOUT_ID))return!1;var o=(0,O.getQueryFromTokens)(n),r=(0,O.getAutocompleteMode)(a,n),i=Z[t]||{},s=X[t],l=!0,f=void 0;if(o!==i.query||i.mode&&i.mode.filter!==r.filter){if(r.type===Q.SearchPopoutModes.EMPTY||r.type===Q.SearchPopoutModes.FILTER&&r.filter!==Q.SearchTokenTypes.FILTER_FROM&&r.filter!==Q.SearchTokenTypes.FILTER_MENTIONS)null!=s&&(s.context.clearQuery(),s.results=[]),f=y(t,r);else if(null!=s){var c=r.token;null!=c&&c.getFullMatch().trim().length>0?(W.default.requestMembers(t,c.getFullMatch(),J),s.context.setQuery(c.getFullMatch().trim(),{guild:t}),f=i.autocompletes,l=!1):(s.context.clearQuery(),f=y(t,r))}}else f=i.autocompletes,l=!1;return Z[t]=u(t,o,r,n,a,f),l}function h(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:J;if(!e)return null;var o=void 0;if(e===Q.SearchTokenTypes.FILTER_FROM||e===Q.SearchTokenTypes.FILTER_MENTIONS){var r=X[n];null==r?o=null:(null!=t&&0!==t.getFullMatch().trim().length||(r.results=H.default.getRecentlyTalked(n,J).map(function(e){var t=e.user;return{user:t,text:t.tag}})),o=r.results)}else{var i=L.default[e]&&L.default[e].getAutocompletions,s=(null!=t?t.getFullMatch():"").trim();o=i?i(s,n,a):[]}return o&&o.length?{group:e,results:o}:null}function g(e){var t=(e?e.getFullMatch():"").trim(),n=s(),a=(0,D.getFilterAutocompletions)(t).filter(function(e){return n[e]}).map(function(e){return{text:e}});return{group:Q.SearchAutocompleteGroups.SEARCH_OPTIONS,results:a}}function m(e,t){var n=(e?e.getFullMatch():"").trim(),a=[];return n&&(l(t).forEach(function(n){if(n){var o=h(n,e,t,q);o&&a.push(o)}}),a.push(v(e,t))),(0,O.getTotalResults)(a)<5&&a.push(g(e)),a}function v(e,t){var n=(e?e.getFullMatch():"").trim();if(n){var a=L.default[Q.SearchTokenTypes.FILTER_BEFORE].getAutocompletions(n,t,1),o=a[0],r=L.default[Q.SearchTokenTypes.FILTER_ON].getAutocompletions(n,t,1),i=r[0],s=L.default[Q.SearchTokenTypes.FILTER_AFTER].getAutocompletions(n,t,1),l=s[0];if(!o)return null;var u=[o,i,l];return{group:Q.SearchAutocompleteGroups.DATES,results:u}}}function E(e){if(U.default.hidePersonalInformation)return null;var t=P.default.getHistory(e);return t?{group:Q.SearchAutocompleteGroups.HISTORY,results:t.map(function(e){return{text:e}})}:null}function y(e,t){var n=[];return t.type===Q.SearchPopoutModes.FILTER?n.push(h(t.filter,t.token,e,J)):t.type===Q.SearchPopoutModes.FILTER_ALL?n=m(t.token,e):t.type===Q.SearchPopoutModes.EMPTY&&(n.push(g(t.token)),n.push(E(e))),n}function _(){(0,O.clearTokenCache)()}function b(e){var t=Z[e];if(t){var n=t.query,a=t.mode,o=t.tokens,r=t.cursorScope,i=t.autocompletes;Z[e]=u(e,n,a,o,r,i.map(function(e){return e&&e.group===Q.SearchAutocompleteGroups.HISTORY?null:e}))}}function S(e){var t=e.searchId;null!=t?b(t):Object.keys(Z).forEach(b)}function I(){Object.keys(Z).forEach(b)}function T(){if(j.default.isOpen(Q.SEARCH_POPOUT_ID)){var e=P.default.getCurrentSearchId();if(e&&Z[e]){var t=Z[e],n=t.query,a=t.mode,o=t.tokens,r=t.cursorScope;Z[e]=u(e,n,a,o,r,y(e,a))}}}t.__esModule=!0;var N=n(2),A=a(N),M=n(4),C=a(M),O=n(388),D=n(367),L=a(D),R=n(34),x=a(R),w=n(224),P=a(w),k=n(31),U=a(k),G=n(140),j=a(G),F=n(10),B=a(F),V=n(315),H=a(V),z=n(384),W=a(z),Y=n(810),K=a(Y),Q=n(1),Z={},X={},J=10,q=3,$=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(x.default,U.default,j.default)},t.prototype.getState=function(e){return Z[e]||u(e)},t}(A.default.Store),ee=new $(C.default,{SEARCH_AUTOCOMPLETE_QUERY_UPDATE:p,SEARCH_EDITOR_STATE_CLEAR:f,CHANNEL_CREATE:_,CHANNEL_DELETE:_,STREAMER_MODE_UPDATE:T,POPOUT_OPEN:T,SEARCH_MODAL_OPEN:T,SEARCH_CLEAR_HISTORY:S,LOGOUT:function(e){return I()}});t.default=ee,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){if(!p.default.supported)return!1;var e=k.default.locale;F||(F=window.speechSynthesis&&window.speechSynthesis.getVoices()),j=F.filter(function(t){return t.lang===e||t.lang.slice(0,e.length)===e}),j=j.length>0?j[0]:null}function l(e){var t=e.channelId,n=e.message;if(e.optimistic||C.default.isSelfDeaf())return!1;var a=t===S.default.getChannelId(),o=k.default.enableTTSCommand&&n.tts&&a,r=T.default.getTTSType(),i=n.author.id!==_.default.getId()&&(r===E.TTSNotificationTypes.ALL_CHANNELS||r===E.TTSNotificationTypes.SELECTED_CHANNEL&&a);if((o||i)&&!A.default.isBlocked(n.author.id)){if(G.indexOf(n.id)>=0)return!1;G.unshift(n.id)>U&&G.pop();var l=n.content.replace(/<@!?(\d+)>/g,function(e,n){var a=D.default.getUser(n);if(null==a)return e;var o=w.default.getChannel(t);return o&&R.default.getNick(o.getGuildId(),a.id)||a.username}).replace(/<#([a-zA-Z0-9-_]+)>/g,function(e,t){var n=w.default.getChannel(t);return null==n?e:n.toString()});j||s({locale:k.default.locale}),p.default.speak(g.default.Messages.MESSAGE_TTS.format({username:n.nick||n.author.username,body:l}),j)}return!1}function u(){C.default.isSelfDeaf()&&p.default.cancelAll()}t.__esModule=!0;var f=n(2),c=a(f),d=n(368),p=a(d),h=n(3),g=a(h),m=n(4),v=a(m),E=n(1),y=n(17),_=a(y),b=n(19),S=a(b),I=n(223),T=a(I),N=n(43),A=a(N),M=n(27),C=a(M),O=n(10),D=a(O),L=n(34),R=a(L),x=n(11),w=a(x),P=n(13),k=a(P),U=10,G=[],j=null,F=null,B=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(_.default,S.default,T.default,C.default,D.default,k.default)},t}(c.default.Store);t.default=new B(v.default,{MESSAGE_CREATE:l,AUDIO_TOGGLE_SELF_DEAF:u,USER_SETTINGS_UPDATE:s}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){m=g.FormStates.SUBMITTING}function l(e){m=g.FormStates.OPEN,v=e.errors||[]}function u(){m=g.FormStates.CLOSED,v=[]}function f(){m=g.FormStates.OPEN,v=[]}t.__esModule=!0;var c=n(2),d=a(c),p=n(4),h=a(p),g=n(1),m=g.FormStates.OPEN,v=[],E=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getState=function(){return{submitting:m===g.FormStates.SUBMITTING,success:m===g.FormStates.CLOSED,failure:v.length,formState:m,errors:v}},t}(d.default.Store);t.default=new E(h.default,{TEXT_MESSAGE_DOWNLOAD_LINK_SUBMITTING:s,TEXT_MESSAGE_DOWNLOAD_LINK_SUCCESS:u,TEXT_MESSAGE_DOWNLOAD_LINK_FAILURE:l,TEXT_MESSAGE_DOWNLOAD_LINK_RESET:f}),e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(){S.shift(),S=[].concat(S)}function u(e){var t=e.files,n=e.channelId;S=[].concat(S),m.default.forEach(t,function(e){return S.push(new b(e,n))})}function f(){S=[]}t.__esModule=!0;var c=n(2),d=o(c),p=n(4),h=o(p),g=(n(1),n(7)),m=o(g),v=n(318),E=a(v),y=n(11),_=o(y),b=function e(t,n){s(this,e),this.file=t,this.channel=_.default.getChannel(n),this.classification=E.classifyFile(t),this.isImage="image"===this.classification,this.sizeString=E.sizeString(t.size),this.filename=E.getFilename(t)},S=[],I=function(e){function t(){return s(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getFirstUpload=function(){return S.length>0?S[0]:null},t.prototype.hasAdditionalUploads=function(){return S.length>1},t}(d.default.Store);t.default=new I(h.default,{UPLOAD_MODAL_POP_FILE:l,UPLOAD_MODAL_PUSH_FILES:u,UPLOAD_MODAL_CLEAR_ALL_FILES:f}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=y[e];if(null==t)return!1;delete y[e],_[t]=_[t].filter(function(t){return t.id!==e})}function l(e){var t=e.channelId,n=e.file;y[n.id]=t;var a=_[t]||E;_[t]=a.concat([new v.default(n)])}function u(e){var t=y[e.file.id];if(null==t)return!1;_[t]=_[t].map(function(t){return t.id===e.file.id&&(t=t.merge({speed:e.file.loaded-t.loaded,loaded:e.file.loaded})),t})}function f(e){return s(e.file.id)}function c(e){return s(e.file.id)}t.__esModule=!0;var d=n(2),p=a(d),h=n(4),g=a(h),m=(n(1),n(1581)),v=a(m),E=Object.freeze([]),y={},_={},b=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getFiles=function(e){return _[e]||E},t}(p.default.Store);t.default=new b(g.default,{UPLOAD_START:l,UPLOAD_PROGRESS:u,UPLOAD_COMPLETE:f,UPLOAD_FAIL:c}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return{section:x.UserProfileSections.USER_INFO,user:D.default.getUser(e),status:A.default.getStatus(e),activity:A.default.getActivity(e),relationshipType:C.default.getRelationshipType(e),mutualGuilds:[],mutualFriends:null,connectedAccounts:[],premiumSince:null}}function l(e){k=[s(e.userId)]}function u(){k=[]}function f(e){k=[].concat(k,[s(e.userId)])}function c(){k.pop()}function d(e){var t=_.default.last(k);null!=t&&(e.section===x.UserProfileSections.MUTUAL_FRIENDS&&null==t.mutualFriends&&S.default.fetchMutualFriends(t.user.id),t.section=e.section,k=[].concat(k))}function p(e){var t=_.default.findLast(k,function(t){return t.user.id===e.userId});null!=t&&(t.mutualFriends=(0,_.default)(e.mutualFriends).map(function(e){return{key:e.id,user:new P.default(e),status:A.default.getStatus(e.id),activity:A.default.getActivity(e.id),mutualGuildsLength:t.mutualGuilds.length||0,mutualGuilds:t.mutualGuilds.slice(0,x.MAX_MUTUAL_GUILDS)}}).sortBy(function(e){return e.user.username.toLowerCase()}).value())}function h(){if(0===k.length)return!1;k=k.map(function(e){return m({},e,{status:A.default.getStatus(e.user.id),activity:A.default.getActivity(e.user.id),relationshipType:C.default.getRelationshipType(e.user.id)})})}function g(e){k=k.map(function(t){if(t.user.id===e.user.id){var n=[];e.mutual_guilds.forEach(function(e){var t=e.id,a=e.nick,o=T.default.getGuild(t);null!=o&&n.push({guild:o,nick:a})});var a=e.premium_since||null;n=_.default.sortBy(n,function(e){return e.guild.name.toLowerCase()});return m({},t,{user:t.user.set("flags",e.user.flags),mutualGuilds:n,connectedAccounts:e.connected_accounts,premiumSince:null!=a?new Date(a):null})}return t})}t.__esModule=!0;var m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v=n(2),E=a(v),y=n(7),_=a(y),b=n(214),S=a(b),I=n(12),T=a(I),N=n(97),A=a(N),M=n(43),C=a(M),O=n(10),D=a(O),L=n(4),R=a(L),x=n(1),w=n(75),P=a(w),k=[],U=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.syncWith([C.default,D.default,A.default,T.default],h)},t.prototype.isOpen=function(){return k.length>0},t.prototype.getProps=function(){return _.default.last(k)},t}(E.default.Store);t.default=new U(R.default,{USER_PROFILE_MODAL_OPEN:l,USER_PROFILE_MODAL_CLOSE:u,USER_PROFILE_MODAL_PUSH:f,USER_PROFILE_MODAL_POP:c,USER_PROFILE_MODAL_SET_SECTION:d,USER_PROFILE_MODAL_FETCH_SUCCESS:g,LOAD_MUTUAL_FRIENDS:p}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){return null==t&&(t="guild"),e+":"+t}function l(e){return null!=S[e]?S[e]:(S[e]={},S[e])}function u(e){var t=e.guildId,n=e.channelId,a=e.webhooks,o=e.error;if(!a)return void(null!=o?(T=o,delete I[s(t,n)]):null!=n&&null!=S[t]&&(T=null,y.default.fetchForChannel(t,n)));T=null;var r=[];n&&(r=(0,b.default)(l(t)).values().filter(function(e){return e.channel_id!==n}).value());var i=S[t]={};r.concat(a).forEach(function(e){return i[e.id]=e}),delete I[s(t,n)]}function f(e){I[s(e.guildId,e.channelId)]=!0}function c(e){var t=e.guildId,n=e.webhook;l(t)[n.id]=n}function d(e){var t=e.guildId,n=e.webhookId;delete l(t)[n]}t.__esModule=!0;var p=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),h=n(2),g=a(h),m=n(4),v=a(m),E=(n(1),n(357)),y=a(E),_=n(7),b=a(_),S={},I={},T=void 0,N=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.isFetching=function(e,t){return null!=I[s(e,t)]},t.prototype.getWebhooksForGuild=function(e){return b.default.values(l(e))},t.prototype.getWebhooksForChannel=function(e,t){return(0,b.default)(l(e)).values().filter(function(e){return e.channel_id===t}).value()},p(t,[{key:"error",get:function(){return T}}]),t}(g.default.Store);t.default=new N(v.default,{WEBHOOKS_UPDATE:u,WEBHOOKS_FETCHING:f,WEBHOOK_CREATE:c,WEBHOOK_UPDATE:c,WEBHOOK_DELETE:d}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e=d.default.getCurrentUser();if(e.mfaEnabled===E)return!1;E=e.mfaEnabled}function l(){return!0}t.__esModule=!0;var u=n(2),f=a(u),c=n(10),d=a(c),p=n(98),h=a(p),g=n(4),m=a(g),v=n(1),E=!1,y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(d.default,h.default),this.syncWith([d.default,h.default],s)},t.prototype.channelNoticePredicate=function(e,t){var n=d.default.getCurrentUser();return t.mfaLevel===v.MFALevels.ELEVATED&&!n.mfaEnabled&&h.default.hasElevatedPermissions(t.id)},t}(f.default.Store);t.default=new y(m.default,function(e){switch(e){case v.ActionTypes.CONNECTION_OPEN:return s(e);case v.ActionTypes.GUILD_UPDATE:return l(e)}}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){return!0}t.__esModule=!0;var l=n(2),u=a(l),f=n(4),c=a(f),d=n(10),p=a(d),h=n(65),g=a(h),m=n(55),v=a(m),E=n(533),y=a(E),_=n(298),b=a(_),S=n(1),I=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(g.default),this.syncWith([g.default],s)},t.prototype.channelNoticePredicate=function(e,t,n){var a=Date.now()-n,o=v.default.can(S.Permissions.ADMINISTRATOR,p.default.getCurrentUser(),t),r=a>=S.CHANNEL_NOTICE_SHOW_DELAY;if(e&&r&&o)return!0;if(y.default.isForceShowEligible(t.id))return o;if(o&&y.default.isForceShowControlEligible(t.id)){var i=y.default.getExperimentDescriptor(t.id);null==i||i.override||b.default.trigger(i)}return!1},t}(u.default.Store);t.default=new I(c.default),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(2),l=a(s),u=n(4),f=a(u),c=n(120),d=a(c),p=n(1),h=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getExperimentId=function(){return p.Experiments.INVITE_PERIOD},t.prototype.getMetaData=function(){return{title:"Invite Period",description:["Changes the default timeout period of an invite.","Control: 30 mins","Treatment 1: 1 day"]}},t.prototype.getExperimentDescriptor=function(){return d.default.getEligibleExperiment(this.getExperimentId())},t}(l.default.Store);t.default=new h(f.default),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(2),l=a(s),u=n(4),f=a(u),c=n(120),d=a(c),p=n(1),h="report-experiment",g=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.getExperimentId=function(){return h},t.prototype.getMetaData=function(){return{title:"Report Experiment",description:["Gradual roll-out of report feature:","Treatment 1: Lets you report"]}},t.prototype.canReport=function(){var e=d.default.getEligibleExperiment(this.getExperimentId());return null!=e&&e.bucket==p.ExperimentBuckets.TREATMENT_1},t}(l.default.Store);t.default=new g(f.default),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t=C.default.getUser(e);return{user:t,usernameLower:null!=t?t.username.toLowerCase():null}}function l(e){return{status:w.default.getStatus(e),activity:w.default.getActivity(e)}}function u(e){var t=[];return(0,T.default)(R.default.memberOf(e)).map(D.default.getGuild).sortBy(function(e){return null!=e?e.name.toLowerCase():null}).forEach(function(e){null!=e&&t.push(e)}),{mutualGuildsLength:t.length,mutualGuilds:t.slice(0,j.MAX_MUTUAL_GUILDS)}}function f(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];z&&(e||Y!==j.FriendsSections.ONLINE&&Y!==j.FriendsSections.ADD_FRIEND)&&!W&&(z=!1,W=!0,G.default.fetchRelationships())}function c(){z=!0,Q?W=!1:f(),K=K.reset();var e=K.getRelationshipCounts();0===e[j.RelationshipTypes.FRIEND]&&(Y=0!==e[j.RelationshipTypes.PENDING_INCOMING]?j.FriendsSections.PENDING:j.FriendsSections.ADD_FRIEND)}function d(){K=Q?new H:K.reset()}function p(e){return Q=null!=e.channelId,d()}function h(e){Y=e.section,f()}function g(){return f(!0),!1}function m(){W=!1}function v(){z=!0,W=!0}function E(e){return function(){return!Q&&(!!K.update(e)&&(K=K.clone(),!0))}}t.__esModule=!0;var y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),b=n(2),S=a(b),I=n(7),T=a(I),N=n(4),A=a(N),M=n(10),C=a(M),O=n(12),D=a(O),L=n(34),R=a(L),x=n(97),w=a(x),P=n(43),k=a(P),U=n(180),G=a(U),j=n(1),F=n(119),B=a(F),V=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(e){this.key=e.key,this.type=e.type,this.status=e.status,this.activity=e.activity,this.user=e.user,this.usernameLower=e.usernameLower,this.mutualGuildsLength=e.mutualGuildsLength,this.mutualGuilds=e.mutualGuilds},_(t,[{key:"comparator",get:function(){return[this.type,this.usernameLower]}}]),t}(B.default),H=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o(this,e),this._rows=t}return e.prototype.reset=function(){return new e(T.default.map(k.default.getRelationships(),function(e,t){return new V(y({key:t,type:e},s(t),l(t),u(t)))}))},e.prototype.clone=function(){return new e(this._rows)},e.prototype.update=function(e){for(var t=!1,n=0;n<this._rows.length;n++){var a=this._rows[n],o=a.merge(e(a.key));t=t||o!==a,this._rows[n]=o}return t},e.prototype.filter=function(e){return(0,T.default)(this._rows).filter(function(e){return null!=e.user}).filter(function(t){switch(e){case j.FriendsSections.ONLINE:return t.type==j.RelationshipTypes.FRIEND&&t.status!==j.StatusTypes.OFFLINE;case j.FriendsSections.PENDING:return t.type===j.RelationshipTypes.PENDING_INCOMING||t.type===j.RelationshipTypes.PENDING_OUTGOING;case j.FriendsSections.BLOCKED:return t.type===j.RelationshipTypes.BLOCKED;case j.FriendsSections.ALL:default:return t.type==j.RelationshipTypes.FRIEND}}).sortBy(function(e){return e.comparator}).value()},e.prototype.getRelationshipCounts=function(){var e,t=(e={},e[j.RelationshipTypes.FRIEND]=0,e[j.RelationshipTypes.PENDING_INCOMING]=0,e[j.RelationshipTypes.PENDING_OUTGOING]=0,e[j.RelationshipTypes.BLOCKED]=0,e);return this._rows.forEach(function(e){null!=e.user&&null!=t[e.type]&&t[e.type]++}),t},e}(),z=!0,W=!1,Y=j.FriendsSections.ONLINE,K=new H,Q=!0,Z=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.initialize=function(){this.waitFor(k.default,w.default,C.default,D.default,R.default),this.syncWith([k.default],d),this.syncWith([C.default],E(s)),this.syncWith([w.default],E(l))},t.prototype.getState=function(){return{fetching:W,section:Y,pendingCount:k.default.getPendingCount(),rows:K}},t}(S.default.Store);t.default=new Z(A.default,{CONNECTION_OPEN:c,FRIENDS_SET_SECTION:h,CHANNEL_SELECT:p,LOAD_RELATIONSHIPS_SUCCESS:m,LOAD_RELATIONSHIPS_FAILURE:v,USER_SEARCH_QUERY:g}),e.exports=t.default},function(e,t,n){"use strict";function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e){V=e.id,U.open(e.id,G.PictureInPictureComponents.VIDEO,H,{channel:e},F)}function u(e){U.close(e.id),V=null}function f(e){if(null!=e){var t=I.default.isInCall(x.default.getId(),e.id),n=P.default.hasVideo(null,e.id);return t&&n}return!1}function c(){var e=M.default.getChannelId();if(e===B)return!1;var t=N.default.getChannel(B),n=N.default.getChannel(e);return null!=t&&null!=n?f(t)&&!L.default.has(t.id)?l(t):L.default.has(n.id)&&u(n):null==B&&null!=n?L.default.has(n.id)&&u(n):null==e&&null!=t&&f(t)&&!L.default.has(t.id)&&l(t),B=e,!1}function d(){var e=N.default.getChannel(V);if(null!=e){var t=f(e),n=L.default.has(e.id);n&&!t?u(e):!n&&t&&l(e)}else{var a=g.default.find(P.default.getVoiceStates(null),function(e){return e.selfVideo});if(null!=a&&null!=a.channelId&&B!==a.channelId){var o=N.default.getChannel(a.channelId);null!=o&&f(o)&&l(o)}}return!1}function p(e){var t=e.id,n=e.position;t===V&&(H=n,y.default.set(j,n))}t.__esModule=!0;var h=n(7),g=o(h),m=n(2),v=o(m),E=n(25),y=o(E),_=n(4),b=o(_),S=n(130),I=o(S),T=n(11),N=o(T),A=n(19),M=o(A),C=n(35),O=o(C),D=n(807),L=o(D),R=n(17),x=o(R),w=n(76),P=o(w),k=n(489),U=a(k),G=n(1),j="PictureInPictureVideoLocation",F={top:80,bottom:132,left:80,right:32},B=null,V=null,H=null,z=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.initialize=function(){this.waitFor(M.default,O.default,P.default),this.syncWith([M.default,O.default],c),this.syncWith([P.default],d),H=y.default.get(j,G.PictureInPicturePositions.BOTTOM_RIGHT)},t}(v.default.Store);t.default=new z(b.default,{PICTURE_IN_PICTURE_MOVE:p}),e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){return function(n){return null==n.oldValue?e:t}}function l(e,t){return function(n){return null==n.newValue?e:t}}function u(e,t,n,a){return function(o){return null!=o.newValue&&null!=o.oldValue?e:null!=o.newValue?t:null!=o.oldValue?n:a}}function f(e,t){var n=H[e.targetType];return null!=n&&n[t.key]===!0}function c(e){switch(e.action){case w.AuditLogActions.GUILD_UPDATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_UPDATE;case w.AuditLogActions.CHANNEL_CREATE:var t=e.changes?e.changes.find(function(e){return e.key===w.AuditLogChangeKeys.TYPE}):null;if(null==t)throw new Error("[AuditLog] Could not find type change for channel create");switch(t.newValue){case w.ChannelTypes.GUILD_VOICE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_VOICE_CREATE;default:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TEXT_CREATE}case w.AuditLogActions.CHANNEL_UPDATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_UPDATE;case w.AuditLogActions.CHANNEL_DELETE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_DELETE;case w.AuditLogActions.CHANNEL_OVERWRITE_CREATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_OVERWRITE_CREATE;case w.AuditLogActions.CHANNEL_OVERWRITE_UPDATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_OVERWRITE_UPDATE;case w.AuditLogActions.CHANNEL_OVERWRITE_DELETE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_OVERWRITE_DELETE;case w.AuditLogActions.MEMBER_KICK:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_KICK;case w.AuditLogActions.MEMBER_PRUNE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_PRUNE;case w.AuditLogActions.MEMBER_BAN_ADD:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_BAN_ADD;case w.AuditLogActions.MEMBER_BAN_REMOVE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_BAN_REMOVE;case w.AuditLogActions.MEMBER_UPDATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_UPDATE;case w.AuditLogActions.MEMBER_ROLE_UPDATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_ROLE_UPDATE;case w.AuditLogActions.ROLE_CREATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_CREATE;case w.AuditLogActions.ROLE_UPDATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_UPDATE;case w.AuditLogActions.ROLE_DELETE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_DELETE;case w.AuditLogActions.INVITE_CREATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_CREATE;case w.AuditLogActions.INVITE_UPDATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_UPDATE;case w.AuditLogActions.INVITE_DELETE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_DELETE;case w.AuditLogActions.WEBHOOK_CREATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_CREATE;case w.AuditLogActions.WEBHOOK_UPDATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_UPDATE;case w.AuditLogActions.WEBHOOK_DELETE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_DELETE;case w.AuditLogActions.EMOJI_CREATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_EMOJI_CREATE;case w.AuditLogActions.EMOJI_UPDATE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_EMOJI_UPDATE;case w.AuditLogActions.EMOJI_DELETE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_EMOJI_DELETE;case w.AuditLogActions.MESSAGE_DELETE:return x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MESSAGE_DELETE;default:return null}}function d(e,t){switch(e){case w.Permissions.CREATE_INSTANT_INVITE:return x.default.Messages.CREATE_INSTANT_INVITE;case w.Permissions.KICK_MEMBERS:return x.default.Messages.KICK_MEMBERS;case w.Permissions.BAN_MEMBERS:return x.default.Messages.BAN_MEMBERS;case w.Permissions.ADMINISTRATOR:return x.default.Messages.ADMINISTRATOR;case w.Permissions.MANAGE_CHANNELS:return t.targetType===w.AuditLogTargetTypes.CHANNEL?x.default.Messages.MANAGE_CHANNEL:x.default.Messages.MANAGE_CHANNELS;case w.Permissions.MANAGE_GUILD:return x.default.Messages.MANAGE_SERVER;case w.Permissions.CHANGE_NICKNAME:return x.default.Messages.CHANGE_NICKNAME;case w.Permissions.MANAGE_NICKNAMES:return x.default.Messages.MANAGE_NICKNAMES;case w.Permissions.MANAGE_ROLES:return x.default.Messages.MANAGE_ROLES;case w.Permissions.MANAGE_WEBHOOKS:return x.default.Messages.MANAGE_WEBHOOKS;case w.Permissions.MANAGE_EMOJIS:return x.default.Messages.MANAGE_EMOJIS;case w.Permissions.VIEW_AUDIT_LOG:return x.default.Messages.VIEW_AUDIT_LOG;case w.Permissions.READ_MESSAGES:return x.default.Messages.READ_MESSAGES;case w.Permissions.SEND_MESSAGES:return x.default.Messages.SEND_MESSAGES;case w.Permissions.SEND_TSS_MESSAGES:return x.default.Messages.SEND_TTS_MESSAGES;case w.Permissions.MANAGE_MESSAGES:return x.default.Messages.MANAGE_MESSAGES;case w.Permissions.EMBED_LINKS:return x.default.Messages.EMBED_LINKS;case w.Permissions.ATTACH_FILES:return x.default.Messages.ATTACH_FILES;case w.Permissions.READ_MESSAGE_HISTORY:return x.default.Messages.READ_MESSAGE_HISTORY;case w.Permissions.MENTION_EVERYONE:return x.default.Messages.MENTION_EVERYONE;case w.Permissions.USE_EXTERNAL_EMOJIS:return x.default.Messages.USE_EXTERNAL_EMOJIS;case w.Permissions.ADD_REACTIONS:return x.default.Messages.ADD_REACTIONS;case w.Permissions.CONNECT:return x.default.Messages.CONNECT;case w.Permissions.SPEAK:return x.default.Messages.SPEAK;case w.Permissions.MUTE_MEMBERS:return x.default.Messages.MUTE_MEMBERS;case w.Permissions.DEAFEN_MEMBERS:return x.default.Messages.DEAFEN_MEMBERS;case w.Permissions.MOVE_MEMBERS:return x.default.Messages.MOVE_MEMBERS;case w.Permissions.USE_VAD:return x.default.Messages.USE_VAD}return null}function p(e,t){var n;return t===w.AuditLogActions.MESSAGE_DELETE?"target-message":(n={},n[w.AuditLogTargetTypes.ALL]="target-all",n[w.AuditLogTargetTypes.GUILD]="target-guild",n[w.AuditLogTargetTypes.CHANNEL]="target-channel",n[w.AuditLogTargetTypes.USER]="target-member",n[w.AuditLogTargetTypes.ROLE]="target-role",n[w.AuditLogTargetTypes.INVITE]="target-invite",n[w.AuditLogTargetTypes.WEBHOOK]="target-webhook",n[w.AuditLogTargetTypes.EMOJI]="target-emoji",n)[e]}t.__esModule=!0,t.AuditLogIcon=void 0;var h,g,m,v,E,y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),b=n(0),S=a(b),I=n(8),T=(a(I),n(5)),N=a(T),A=n(191),M=a(A),C=n(832),O=a(C),D=n(15),L=a(D),R=n(3),x=a(R),w=n(1);n(2272),n(330);var P=-1,k=function(){var e,t,n,a,o;return o={},o[w.AuditLogChangeKeys.NAME]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_NAME_CHANGE,o[w.AuditLogChangeKeys.ICON_HASH]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_ICON_HASH_CHANGE,o[w.AuditLogChangeKeys.SPLASH_HASH]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_SPLASH_HASH_CHANGE,o[w.AuditLogChangeKeys.OWNER_ID]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_OWNER_ID_CHANGE,o[w.AuditLogChangeKeys.REGION]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_REGION_CHANGE,o[w.AuditLogChangeKeys.AFK_CHANNEL_ID]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_AFK_CHANNEL_ID_CHANGE,o[w.AuditLogChangeKeys.AFK_TIMEOUT]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_AFK_TIMEOUT_CHANGE,o[w.AuditLogChangeKeys.MFA_LEVEL]=(e={},e[w.MFALevels.NONE]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_MFA_LEVEL_DISABLED,e[w.MFALevels.ELEVATED]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_MFA_LEVEL_ENABLED,e),o[w.AuditLogChangeKeys.WIDGET_ENABLED]={true:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_ENABLED,false:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_DISABLED},o[w.AuditLogChangeKeys.WIDGET_CHANNEL_ID]=l(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_CHANNEL_ID_DELETE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_WIDGET_CHANNEL_ID_CHANGE),o[w.AuditLogChangeKeys.VERIFICATION_LEVEL]=(t={},t[w.VerificationLevels.NONE]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_NONE,t[w.VerificationLevels.LOW]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_LOW,t[w.VerificationLevels.MEDIUM]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_MEDIUM,t[w.VerificationLevels.HIGH]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VERIFICATION_LEVEL_CHANGE_HIGH,t),o[w.AuditLogChangeKeys.DEFAULT_MESSAGE_NOTIFICATIONS]=(n={},n[w.UserNotificationSettings.ALL_MESSAGES]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_DEFAULT_MESSAGE_NOTIFICATIONS_CHANGE_ALL_MESSAGES,n[w.UserNotificationSettings.ONLY_MENTIONS]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_DEFAULT_MESSAGE_NOTIFICATIONS_CHANGE_ONLY_MENTIONS,n),o[w.AuditLogChangeKeys.VANITY_URL_CODE]=l(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VANITY_URL_CODE_DELETE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_VANITY_URL_CODE_CHANGE),o[w.AuditLogChangeKeys.EXPLICIT_CONTENT_FILTER]=(a={},a[w.GuildExplicitContentFilterTypes.DISABLED]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_EXPLICIT_CONTENT_FILTER_DISABLE,a[w.GuildExplicitContentFilterTypes.MEMBERS_WITHOUT_ROLES]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_EXPLICIT_CONTENT_FILTER_MEMBERS_WITHOUT_ROLES,a[w.GuildExplicitContentFilterTypes.ALL_MEMBERS]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_GUILD_EXPLICIT_CONTENT_FILTER_ALL_MEMBERS,a),o},U=function(){var e;return e={},e[w.AuditLogChangeKeys.NAME]=s(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_NAME_CREATE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_NAME_CHANGE),e[w.AuditLogChangeKeys.POSITION]=s(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_POSITION_CREATE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_POSITION_CHANGE),e[w.AuditLogChangeKeys.TOPIC]=s(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TOPIC_CREATE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_TOPIC_CHANGE),e[w.AuditLogChangeKeys.BITRATE]=s(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_BITRATE_CREATE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_BITRATE_CHANGE),e[w.AuditLogChangeKeys.PERMISSIONS_GRANTED]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_PERMISSION_OVERRIDES_GRANTED,e[w.AuditLogChangeKeys.PERMISSIONS_DENIED]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_CHANNEL_PERMISSION_OVERRIDES_DENIED,e},G=function(){var e;return e={},e[w.AuditLogChangeKeys.NICK]=u(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_NICK_CHANGE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_NICK_CREATE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_NICK_DELETE),e[w.AuditLogChangeKeys.DEAF]={true:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_DEAF_ON,false:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_DEAF_OFF},e[w.AuditLogChangeKeys.MUTE]={true:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_MUTE_ON,false:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_MUTE_OFF},e[w.AuditLogChangeKeys.ROLES_REMOVE]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_ROLES_REMOVE,e[w.AuditLogChangeKeys.ROLES_ADD]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_ROLES_ADD,e[w.AuditLogChangeKeys.REASON]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_REASON,e[w.AuditLogChangeKeys.PRUNE_DELETE_DAYS]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_MEMBER_PRUNE_DELETE_DAYS,e},j=function(){var e,t;return t={},t[w.AuditLogChangeKeys.NAME]=s(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_NAME_CREATE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_NAME_CHANGE),t[w.AuditLogChangeKeys.PERMISSIONS_GRANTED]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_PERMISSIONS_GRANTED,t[w.AuditLogChangeKeys.PERMISSIONS_DENIED]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_PERMISSIONS_DENIED,t[w.AuditLogChangeKeys.COLOR]=(e={"#000000":x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_COLOR_NONE},e[P]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_COLOR,e),t[w.AuditLogChangeKeys.HOIST]={true:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_HOIST_ON,false:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_HOIST_OFF},t[w.AuditLogChangeKeys.MENTIONABLE]={true:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_MENTIONABLE_ON,false:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_ROLE_MENTIONABLE_OFF},t},F=function(){var e,t,n;return n={},n[w.AuditLogChangeKeys.CODE]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_CODE_CREATE,n[w.AuditLogChangeKeys.CHANNEL_ID]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_CHANNEL_CREATE,n[w.AuditLogChangeKeys.MAX_USES]=(e={},e[0]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_USES_CREATE_INFINITE,e[P]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_USES_CREATE,e),n[w.AuditLogChangeKeys.MAX_AGE]=(t={},t[0]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_AGE_CREATE_INFINITE,t[P]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_MAX_AGE_CREATE,t),n[w.AuditLogChangeKeys.TEMPORARY]={true:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_TEMPORARY_ON,false:x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_INVITE_TEMPORARY_OFF},n},B=function(){var e;return e={},e[w.AuditLogChangeKeys.CHANNEL_ID]=s(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_CHANNEL_CREATE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_CHANNEL_CHANGE),e[w.AuditLogChangeKeys.NAME]=s(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_NAME_CREATE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_NAME_CHANGE),e[w.AuditLogChangeKeys.AVATAR_HASH]=x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_WEBHOOK_AVATAR,e},V=function(){var e;return e={},e[w.AuditLogChangeKeys.NAME]=s(x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_EMOJI_NAME_CREATE,x.default.Messages.GUILD_SETTINGS_AUDIT_LOG_EMOJI_NAME_CHANGE),e},H=(v={},v[w.AuditLogTargetTypes.CHANNEL]=(h={},h[w.AuditLogChangeKeys.TYPE]=!0,h[w.AuditLogChangeKeys.ID]=!0,h),v[w.AuditLogTargetTypes.INVITE]=(g={},g[w.AuditLogChangeKeys.INVITER_ID]=!0,g[w.AuditLogChangeKeys.USES]=!0,g),v[w.AuditLogTargetTypes.WEBHOOK]=(m={},m[w.AuditLogChangeKeys.TYPE]=!0,m[w.AuditLogChangeKeys.APPLICATION_ID]=!0,m),v),z=(E={},E[w.AuditLogActionTypes.CREATE]="type-create",E[w.AuditLogActionTypes.UPDATE]="type-update",E[w.AuditLogActionTypes.DELETE]="type-delete",E),W=t.AuditLogIcon=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.actionType,n=e.targetType,a=e.action,o=e.themeOverride,r=null!=o?"theme-override-"+o:null;return _("div",{className:(0,N.default)("ui-audit-log-icon",z[t],p(n,a),r)})},t}(S.default.PureComponent),Y=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.user;return _("span",{onContextMenu:e.onContextMenu,className:"user-hook"},void 0,_("span",{className:"username"},void 0,t.username),_("span",{className:"discrim"},void 0,"#",t.discriminator))},t}(S.default.PureComponent),K=_("div",{className:"dash"},void 0,"—"),Q=_("div",{className:"divider"}),Z=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.hasChangesToRender=function(){var e=this.props.log,t=e.changes;return(e.actionType!==w.AuditLogActionTypes.DELETE||e.action===w.AuditLogActions.MEMBER_BAN_ADD||e.action===w.AuditLogActions.MEMBER_KICK||e.action===w.AuditLogActions.MEMBER_PRUNE)&&(null!=t&&t.some(function(t){return!f(e,t)}))},t.prototype.renderTitle=function(){var e=this.props,t=e.log,n=e.onUserContextMenu,a=e.onTargetContextMenu,o=e.onChannelContextMenu,r=t.user,i=t.target,s=t.options,l=c(t);return null!=l?_("div",{className:"overflow-ellipsis"},void 0,l.format({user:r,target:i,userHook:function(e,a){return _(Y,{user:t.user,onContextMenu:n},a)},targetHook:function(e,n){return t.targetType===w.AuditLogTargetTypes.USER?_(Y,{user:t.target,onContextMenu:a},n):_("span",{onContextMenu:a,className:"target-hook"},n,e)},count:s.count,channel:s.channel?s.channel.toString(!0):null,channelHook:function(e,t){return _("span",{onContextMenu:o,className:"channel-hook"},t,e)}})):null},t.prototype.renderRoleUpdate=function(e){var t=e.newValue;return Array.isArray(t)?t.map(function(e){return _("div",{className:"sub-list-item"},e.id,e.name)}):null},t.prototype.renderPermissionUpdate=function(e){var t=this,n=e.newValue;return Array.isArray(n)?n.map(function(e){return _("div",{className:"sub-list-item"},e,d(e,t.props.log))}):null},t.prototype.renderChangeDetails=function(e){var t=this,n=this.props,a=n.log,o=n.onContentClick;if(null==a.changes)return null;var r=0,i=a.changes.map(function(n,o){var i=n.oldValue,s=n.newValue,l=null;a.action===w.AuditLogActions.MEMBER_ROLE_UPDATE?l=t.renderRoleUpdate(n):a.targetType!==w.AuditLogTargetTypes.ROLE&&a.action!==w.AuditLogActions.CHANNEL_OVERWRITE_CREATE&&a.action!==w.AuditLogActions.CHANNEL_OVERWRITE_UPDATE||(l=t.renderPermissionUpdate(n));var u=e[n.key];if(f(a,n))return null;if("function"==typeof u&&(u=u(n)),null!=u&&"object"===(void 0===u?"undefined":y(u))){if(null==u.format){var c=u[n.newValue];null==c&&null!=u[P]?u=u[P]:null!=c&&(u=c)}null!=u&&null!=u.format&&(u=u.format({user:a.user,target:a.target,oldValue:i,newValue:s,count:Array.isArray(s)?s.length:null,subtarget:a.options.subtarget?a.options.subtarget:null,newColorHook:function(e,t){return _("div",{className:"color-hook",style:{backgroundColor:n.newValue}},t)},oldColorHook:function(e,t){return _("div",{className:"color-hook",style:{backgroundColor:n.oldValue}},t)}}))}if(!u)return console.warn("No change string for",n),null;var d=(0,N.default)("prefix",z[a.actionType]);return r++,_(L.default,{className:"detail",style:{position:"relative",top:1}},o,_(L.default,{className:d,grow:0},void 0,_("div",{className:"number"},void 0,r<10?"0":null,r),K),_(L.default,{className:"change",direction:L.default.Direction.VERTICAL},void 0,_("div",{className:"change-str"},void 0,u),null!=l?_("div",{},void 0,l):null))});return _(L.default,{onClick:o,className:"ui-audit-log-change-details",direction:L.default.Direction.VERTICAL},void 0,i)},t.prototype.renderChangeSummary=function(){var e=this.props,t=e.expanded,n=e.log;if(t)switch(n.targetType){case w.AuditLogTargetTypes.GUILD:return this.renderChangeDetails(k());case w.AuditLogTargetTypes.CHANNEL:return this.renderChangeDetails(U());case w.AuditLogTargetTypes.USER:return this.renderChangeDetails(G());case w.AuditLogTargetTypes.ROLE:return this.renderChangeDetails(j());case w.AuditLogTargetTypes.INVITE:return this.renderChangeDetails(F());case w.AuditLogTargetTypes.WEBHOOK:return this.renderChangeDetails(B());case w.AuditLogTargetTypes.EMOJI:return this.renderChangeDetails(V())}return null},t.prototype.render=function(){var e=this.props,t=e.log,n=e.className,a=e.expanded,o=e.onHeaderClick,r=this.hasChangesToRender(),i=(0,N.default)("ui-audit-log",n,{"ui-audit-log-clickable":r,"ui-audit-log-expanded":a}),s=t.timestampStart.calendar(),l=t.timestampEnd.calendar(),u=void 0;return u=s===l?_("div",{className:"timestamp"},void 0,s):_("div",{className:"timestamp"},void 0,s,"—",l),_(L.default,{direction:L.default.Direction.VERTICAL,className:i},void 0,_(L.default,{className:"header",direction:L.default.Direction.HORIZONTAL,align:L.default.Align.CENTER,onClick:r&&o},void 0,_(W,{action:t.action,actionType:t.actionType,targetType:t.targetType}),_(M.default,{className:"audit-log-avatar",src:t.user.getAvatarURL()}),_(L.default,{className:"title-time-wrap",direction:L.default.Direction.VERTICAL},void 0,_(L.default.Child,{grow:1},void 0,this.renderTitle()),u),r?_(O.default,{expanded:a}):null),a?Q:null,this.renderChangeSummary())},t}(S.default.PureComponent);t.default=Z},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2087),c=a(f),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props.value;return null!=e&&e>0?s("div",{className:c.default.wrapper},void 0,e):null},t}(u.default.PureComponent);d.defaultProps={value:0},t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(2088)),s=a(i),l=function(e){var t=e.invertColor;return o("span",{className:void 0!==t&&t?s.default.botTagInvert:s.default.botTagRegular},void 0,"BOT")};t.default=l,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f);n(2273);var d=function(e){var t=e.data,n=e.disabled,a=t.content,o=t.className,r=t.onClick,i=t.disabled;return s("button",{className:(0,c.default)("ui-button-group-item",o),onClick:r,disabled:n||i},void 0,a)},p=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.disabled,n=e.className,a=this.props.buttons.map(function(e,n){return s(d,{data:e,disabled:t},n)});return s("div",{className:(0,c.default)("ui-button-group",n,{disabled:t})},void 0,a)},t}(u.default.PureComponent);t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(698),c=a(f),d=n(8),p=a(d);n(2274);var h=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.minDate,n=e.maxDate,a=e.onChange,o=e.locale,r=e.value;return s("div",{className:"ui-calendar-picker"},void 0,s(c.default,{fixedHeight:!0,inline:!0,selected:r,locale:o,onChange:a,maxDate:n,minDate:t}))},t}(u.default.PureComponent);h.defaultProps={value:(0,p.default)().local()},t.default=h,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(15),c=a(f),d=n(2091),p=a(d),h=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._codeBlockRef=null,a.handleKeyDown=a.handleKeyDown.bind(a),a.handleChange=a.handleChange.bind(a),a.setCodeBlockRef=a.setCodeBlockRef.bind(a),a}return i(t,e),t.prototype.render=function(){return u.default.createElement("input",{ref:this.setCodeBlockRef,className:p.default.input,maxLength:1,value:this.props.code,autoFocus:this.props.autoFocus,onKeyDown:this.handleKeyDown,onChange:this.handleChange})},t.prototype.setCodeBlockRef=function(e){this._codeBlockRef=e},t.prototype.focus=function(){this._codeBlockRef&&this._codeBlockRef.focus()},t.prototype.blur=function(){this._codeBlockRef&&this._codeBlockRef.blur()},t.prototype.handleKeyDown=function(e){var t=8===e.which||37===e.which||39===e.which,n=e.which>=48&&e.which<=57;t||n||e.preventDefault();var a=this.props.onKeyDown;a&&a(e)},t.prototype.handleChange=function(e){var t=this.props.onChange;t&&t(e.target.value)},t}(u.default.PureComponent);h.defaultProps={autoFocus:!1};var g=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._codeBlockRefs=new Array(a.props.count),a.state={codes:new Array(n.count)},a}return i(t,e),t.prototype.render=function(){for(var e=this,t=this.state.codes,n=[],a=function(a){a===t.length/2&&n.push(s("div",{className:p.default.spacer},"spacer")),n.push(u.default.createElement(h,{ref:function(t){return e.setCodeBlockRef(a,t)},key:a,code:t[a],autoFocus:0===a,onChange:function(t){return e.handleChange(a,t)},onKeyDown:function(t){return e.handleKeyDown(a,t)}}))},o=0;o<t.length;o++)a(o);return s(c.default,{align:c.default.Align.CENTER,justify:c.default.Justify.CENTER},void 0,n)},t.prototype.setCodeBlockRef=function(e,t){this._codeBlockRefs[e]=t},t.prototype.handleChange=function(e,t){this.state.codes[e]=t;var n=this.getCodeOrFirstEmptyIndex();"string"==typeof n?this.submit(n):this._codeBlockRefs[n].focus()},t.prototype.handleKeyDown=function(e,t){var n=this.state.codes;if(8===t.which&&e>0&&(null==n[e]||0==n[e].length)){var a=e-1;n[a]="",this._codeBlockRefs[a].focus()}},t.prototype.getCodeOrFirstEmptyIndex=function(){for(var e=this.state.codes,t="",n=0;n<e.length;n++){if(isNaN(parseInt(e[n])))return n;t+=e[n]}return t},t.prototype.submit=function(e){var t=this.props.onSubmit;t&&t(e)},t}(u.default.PureComponent);g.defaultProps={count:6},t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(24),p=a(d),h=n(15),g=a(h),m=n(2092),v=a(m),E=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={open:!1,itemAnimations:n.items.map(function(){return new p.default.Value(0)}),itemHeight:0,itemWidth:0},a.setItemRef=a.setItemRef.bind(a),a.handleMouseEnter=a.handleMouseEnter.bind(a),a.handleMouseLeave=a.handleMouseLeave.bind(a),a}return i(t,e),t.prototype.componentDidMount=function(){if(null!=this._itemRef){var e=this._itemRef.clientWidth,t=this._itemRef.clientHeight;this.setState({itemWidth:e,itemHeight:t})}},t.prototype.componentWillReceiveProps=function(e){this.props.value!==e.value&&this.handleMouseLeave()},t.prototype.getContainerStyle=function(){var e=this.state,t=e.itemHeight,n=e.itemWidth;return{height:t,width:e.open?n*this.props.items.length:n}},t.prototype.getItemStyle=function(e){var t=this.state.itemWidth;return{transform:[{translateX:this.state.itemAnimations[e].interpolate({inputRange:[0,1],outputRange:["0px",t*e+"px"]})}]}},t.prototype.setItemRef=function(e){this._itemRef=e},t.prototype.render=function(){var e=this,t=this.state.open,n=this.props,a=n.onChange,o=n.value,r=this.props.items.map(function(n,r){var i,l=0===r?e.setItemRef:null,f=o===n.value;return s(p.default.div,{style:e.getItemStyle(r),className:(0,c.default)((i={},i[v.default.itemClosed]=!t&&!f,i[v.default.itemOpen]=t&&!f,i[v.default.itemActive]=f,i)),onClick:function(){return a(n.value)}},r,u.default.createElement("div",{ref:l},n.render()))});return s("div",{style:this.getContainerStyle(),className:v.default.wrapper,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},void 0,s(g.default,{},void 0,r))},t.prototype.handleMouseEnter=function(){var e=this.state,t=e.open,n=e.itemAnimations;if(!t){this.setState({open:!0});var a=n.map(function(e){return p.default.spring(e,{toValue:1})});p.default.parallel(a).start()}},t.prototype.handleMouseLeave=function(){var e=this.state,t=e.open,n=e.itemAnimations;if(t){this.setState({open:!1});var a=n.map(function(e){return p.default.spring(e,{toValue:0})});p.default.parallel(a).start()}},t}(u.default.PureComponent);t.default=E,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.CustomColorPicker=t.CustomColorButton=t.DefaultColorButton=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(697),c=a(f),d=n(5),p=a(d),h=n(15),g=a(h),m=n(144),v=a(m),E=n(540),y=a(E),_=n(1656),b=a(_),S=n(123),I=n(1);n(2277);var T=7,N=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a}return i(t,e),t.prototype.renderCustomIcon=function(e){if(this.props.isCustom)return s(b.default,{color:e?I.Colors.WHITE:I.Colors.BLACK})},t.prototype.renderSelected=function(e){if(this.props.isSelected)return s(y.default,{color:e?I.Colors.WHITE:I.Colors.BLACK})},t.prototype.render=function(){var e,t=this.props,n=t.color,a=t.isDefault,o=t.isCustom,r=t.isSelected,i=t.disabled,l=t.style;null!=n&&(l.backgroundColor=(0,S.int2hex)(n));var u=!1;return o&&!r?u=!0:(o||r)&&(u=(0,S.getDarkness)(n)>.1),s("button",(e={className:(0,p.default)("ui-color-picker-swatch",{disabled:i,default:a,custom:o,"no-color":null==n}),style:l,disabled:i,onClick:this.handleClick},e.style=l,e),void 0,this.renderCustomIcon(u),this.renderSelected(u))},t.prototype.handleClick=function(){var e=this.props,t=e.color,n=e.onClick;n&&n(t)},t}(u.default.PureComponent);N.defaultProps={isDefault:!1,isCustom:!1,isSelected:!1,disabled:!1,style:{}};var A=(t.DefaultColorButton=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.color,n=e.onChange,a=e.value,o=e.disabled;return s(N,{isDefault:!0,color:t,isSelected:t===a||0===a,onClick:n,disabled:o,style:{marginLeft:0}})},t}(u.default.PureComponent),t.CustomColorButton=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.customColor;return s(N,{isCustom:!0,color:t,isSelected:e.value===t,disabled:e.disabled,style:{marginLeft:10}})},t}(u.default.PureComponent),t.CustomColorPicker=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n)),i=n.value,s=(0,S.int2hex)(null!=i?i:0);return a.state={color:s,validColor:s},a.handleHexChange=a.handleHexChange.bind(a),a.handleOnChange=a.handleOnChange.bind(a),a.handleDrag=a.handleDrag.bind(a),a}return i(t,e),t.prototype.componentWillUnmount=function(){var e=this.props.onClose;e&&e()},t.prototype.render=function(){var e=this.state,t=e.color,n=e.validColor;return s(g.default,{direction:g.default.Direction.VERTICAL,className:"ui-color-picker-custom"},void 0,s(c.default,{saturationWidth:200,saturationHeight:150,hueWidth:10,onChange:this.handleOnChange,onDrag:this.handleDrag,value:n},0),s(v.default,{className:"custom-color-picker-input margin-top-8",value:t,onChange:this.handleHexChange,maxLength:T}))},t.prototype.callOnChange=function(e){(0,this.props.onChange)((0,S.hex2int)(e))},t.prototype.handleHexChange=function(e){var t="#"===e[0]?e:"#"+e,n=(0,S.isValidHex)(t);this.setState({color:t,validColor:n?t:this.state.validColor}),n&&this.callOnChange(t)},t.prototype.handleDrag=function(e){this.setState({color:e,validColor:e})},t.prototype.handleOnChange=function(e){this.callOnChange(e)},t}(u.default.PureComponent),function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.renderColor=a.renderColor.bind(a),a}return i(t,e),t.prototype.renderColor=function(e){var t=this.props;return s(N,{color:e,isSelected:e===t.value,onClick:t.onChange,disabled:t.disabled},e)},t.prototype.renderRow=function(e){var t=this;return s(g.default,{className:"ui-color-picker-row",wrap:g.default.Wrap.WRAP},void 0,e.map(function(e){return t.renderColor(e)}))},t.prototype.render=function(){var e=this.props,t=e.defaultColor,n=e.customColor,a=e.colors,o=e.value,r=e.disabled,i=e.onChange,l=e.renderDefaultButton,u=e.renderCustomButton,f=a.slice(0,a.length/2),c=a.slice(a.length/2,a.length);return s(g.default,{},void 0,s(g.default.Child,{shrink:0,grow:0,className:"margin-reset",wrap:!0},void 0,l({value:o,color:t,onChange:i,disabled:r})),s(g.default.Child,{shrink:0,grow:0,className:"margin-reset",wrap:!0},void 0,u({value:o,customColor:n,disabled:r})),s(g.default,{direction:g.default.Direction.VERTICAL,className:"margin-reset",grow:1},void 0,this.renderRow(f),this.renderRow(c)))},t}(u.default.PureComponent));t.default=A},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(15),p=a(d),h=n(28),g=a(h),m=n(195),v=n(2093),E=a(v),y={DEFAULT:"default",SUCCESS:"success",ERROR:"error"},_=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleButtonClick=a.handleButtonClick.bind(a),a.handleInputClick=a.handleInputClick.bind(a),a.setRef=a.setRef.bind(a),a}return i(t,e),t.prototype.setRef=function(e){this.input=e},t.prototype.select=function(){var e=this.input;e&&e.select()},t.prototype.render=function(){var e,t=this.props,n=t.value,a=t.text,o=t.mode,r=t.hideMessage,i=t.className,l=null!=r,f=void 0;switch(o){case y.SUCCESS:f=h.ButtonColors.GREEN;break;case y.ERROR:f=h.ButtonColors.RED;break;default:f=h.ButtonColors.GREY}return s("div",{className:(0,c.default)((0,m.getClass)(E.default,"copyInput",o),i)},void 0,s(p.default,{className:E.default.layout},void 0,s(p.default,{className:E.default.inputWrapper},void 0,u.default.createElement("input",{className:(0,c.default)((0,m.getClass)(E.default,"input",o),(e={},e[E.default.inputHidden]=l,e)),ref:this.setRef,placeholder:"input here",type:"text",value:n,onClick:this.handleInputClick,readOnly:!0}),l?s("div",{className:E.default.hiddenMessage},void 0,r):null),s(p.default,{shrink:1,grow:0,style:{margin:0}},void 0,s(g.default,{className:E.default.button,onClick:this.handleButtonClick,size:h.ButtonSizes.MIN,color:f,look:h.ButtonLooks.GHOST},void 0,a))))},t.prototype.handleButtonClick=function(){this.select();var e=this.props;(0,e.onCopy)(e.value)},t.prototype.handleInputClick=function(){this.select()},t}(u.default.PureComponent);_.defaultProps={text:"Copy"},_.Modes=y,t.default=_,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(0),u=a(l),f=n(23),c=n(24),d=a(c),p=n(1),h=function(e,t){var n=e.x,a=e.y,o=t.x,r=t.y;return Math.pow(n-o,2)+Math.pow(a-r,2)},g=3,m=Math.pow(g,2),v=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));a._height=0,a._width=0,a._dragStart={x:0,y:0},a._offsetX=0,a._offsetY=0;var i=new d.default.Value(n.initialX),s=new d.default.Value(n.initialY);return a.state={dragging:!1,position:new d.default.ValueXY({x:i,y:s})},a.handleSetRef=a.handleSetRef.bind(a),a.handleMouseDown=a.handleMouseDown.bind(a),a.handleMouseMove=a.handleMouseMove.bind(a),a.handleMouseUp=a.handleMouseUp.bind(a),a}return i(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.initialX,n=e.initialY;this.setPosition(t,n)},t.prototype.componentWillUnmount=function(){window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp)},t.prototype.animateToPosition=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments[3];(!(arguments.length>4&&void 0!==arguments[4])||arguments[4])&&this.grabDimensions();var o=this.translate(e,t);d.default.spring(this.state.position,s({toValue:{x:o.x,y:o.y}},n)).start(a)},t.prototype.setPosition=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=this.translate(e,t);n&&this.grabDimensions(),this.state.position.setValue({x:a.x,y:a.y})},t.prototype.grabDimensions=function(){var e=(0,f.findDOMNode)(this._ref);null!=e&&e instanceof Element&&(this._height=e.clientHeight,this._width=e.clientWidth)},t.prototype.translate=function(e,t){var n=this.props,a=n.maxX,o=n.maxY;return e<0?e=0:e>a-this._width&&(e=a-this._width),t<0?t=0:t>o-this._height&&(t=o-this._height),{x:e,y:t}},t.prototype.render=function(){var e=this.state,t=e.dragging,n=e.position,a=this.props,o=a.className,r=a.children,i=[0,1],l=["0px","1px"],f=d.default.accelerate(s({pointerEvents:t?"none":"auto",transform:[{translateX:n.x.interpolate({inputRange:i,outputRange:l})},{translateY:n.y.interpolate({inputRange:i,outputRange:l})}]},this.props.style));return u.default.createElement(d.default.div,{ref:this.handleSetRef,className:o,onMouseDown:this.handleMouseDown,style:f},r)},t.prototype.handleSetRef=function(e){this._ref=e},t.prototype.handleMouseDown=function(e){var t=this.props,n=t.dragAnywhere,a=t.selector,o=this.state.position;e.button===p.MouseButtons.PRIMARY&&(n||e.target.matches(a))&&(this.grabDimensions(),this._dragStart={x:e.clientX,y:e.clientY},this._offsetX=e.clientX-o.x._value,this._offsetY=e.clientY-o.y._value,window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("mouseup",this.handleMouseUp))},t.prototype.handleMouseMove=function(e){e.preventDefault();var t=this.props,n=t.onDragStart,a=t.onDrag,o=this.state,r=o.dragging,i=o.dragging;!r&&h(this._dragStart,{x:e.clientX,y:e.clientY})>m&&(r=!0),r&&(this.animateToPosition(e.clientX-this._offsetX,e.clientY-this._offsetY,{tension:80,friction:8},null,!1),this.setState({dragging:r},function(){i||n&&n(e.clientX,e.clientY),a&&a(e.clientX,e.clientY)}))},t.prototype.handleMouseUp=function(e){var t=this;window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp),this.state.dragging&&this.setState({dragging:!1},function(){var n=t.props.onDragEnd;n&&n(e.clientX,e.clientY)})},t}(u.default.PureComponent);v.defaultProps={maxX:0,maxY:0,initialX:0,initialY:0,dragAnywhere:!1},t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(546),c=a(f),d=n(7),p=a(d),h=n(314),g=a(h),m=n(28),v=a(m),E=n(77),y=n(144),_=a(y);n(2278);var b=n(3),S=a(b),I=n(1),T=n(306),N=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._animItem=null,a._timeout=new T.Timeout,a.state={canResend:n.canResend,resent:!1,shouldClose:!1,email:"",password:""},p.default.bindAll(a,["setBodyMovinRef","handleVerify","handleResendEmail","handleChangeEmailClick","handleEmailChange","handlePasswordChange","handleKeyPress"]),a}return i(t,e),t.prototype.componentDidMount=function(){var e=this;n.e(1).then(function(t){var a=n(5576);e._animItem=c.default.loadAnimation({container:e._bodyMovinRef,renderer:"svg",loop:!0,autoplay:!0,animationData:a})}.bind(null,n)).catch(n.oe)},t.prototype.componentWillUnmount=function(){this._timeout.stop(),null!=this._animItem&&this._animItem.destroy()},t.prototype.componentWillReceiveProps=function(e){e.canResend!==this.state.canResend&&this.setState({canResend:e.canResend})},t.prototype.renderInputs=function(){var e=this.props,t=e.emailError,n=e.passwordError,a=e.submitting,o=this.state,r=o.email,i=o.password;return s("div",{className:"container"},void 0,s(E.FormItem,{title:S.default.Messages.FORM_LABEL_EMAIL,className:"margin-bottom-20"},void 0,s(_.default,{value:r,error:t,onChange:this.handleEmailChange,onKeyPress:this.handleKeyPress,autoFocus:!0})),s(E.FormItem,{title:S.default.Messages.FORM_LABEL_PASSWORD,className:"margin-bottom-40"},void 0,s(_.default,{type:"password",value:i,error:n,onChange:this.handlePasswordChange,onKeyPress:this.handleKeyPress})),s(v.default,{className:"full-width-button",size:m.ButtonSizes.LARGE,onClick:this.handleVerify,submitting:a,disabled:0===r.length||0===i.length},void 0,S.default.Messages.VERIFY_ACCOUNT))},t.prototype.renderActions=function(){return s("div",{className:"container"},void 0,s(v.default,{className:"full-width-button margin-top-20",size:m.ButtonSizes.LARGE,look:m.ButtonLooks.INVERTED,color:m.ButtonColors.PRIMARY,onClick:this.handleResendEmail},void 0,S.default.Messages.RESEND_EMAIL),s(v.default,{className:"full-width-button margin-top-20",look:m.ButtonLooks.LINK,color:m.ButtonColors.PRIMARY,onClick:this.handleChangeEmailClick},void 0,S.default.Messages.CHANGE_EMAIL))},t.prototype.render=function(){var e=this.state,t=e.canResend,n=e.resent,a=this.props.email,o=void 0;return o=n&&null!=a?S.default.Messages.VERIFY_EMAIL_BODY_RESENT.format({email:a}):t?S.default.Messages.VERIFY_EMAIL_BODY:S.default.Messages.ENTER_EMAIL_BODY,s(g.default,{className:"ui-email-verification-modal flex-vertical flex-align-center flex-justify-center margin-top-60"},void 0,u.default.createElement("div",{className:"animation-container",ref:this.setBodyMovinRef}),s("div",{className:"title margin-bottom-8"},void 0,S.default.Messages.VERIFY_BY_EMAIL),s("div",{className:"body margin-bottom-20"},void 0,o),t?this.renderActions():this.renderInputs())},t.prototype.setBodyMovinRef=function(e){this._bodyMovinRef=e},t.prototype.handleVerify=function(){(0,this.props.onVerify)(this.state.email,this.state.password)},t.prototype.handleResendEmail=function(){var e=this,t=this.props,n=t.onResend,a=t.onClose;n(),this.state.resent||(this.setState({resent:!0,shouldClose:!0}),this._timeout.start(3e3,function(){e.state.shouldClose&&a()}))},t.prototype.handleChangeEmailClick=function(){this.setState({canResend:!1,resent:!1,shouldClose:!1})},t.prototype.handleEmailChange=function(e){this.setState({email:e})},t.prototype.handlePasswordChange=function(e){this.setState({password:e})},t.prototype.handleKeyPress=function(e){var t=this.state,n=t.email,a=t.password;13===e.which&&n.length>0&&a.length>0&&(e.preventDefault(),this.handleVerify())},t}(u.default.PureComponent);N.defaultProps={canResend:!1,onVerify:function(e,t){},onResend:I.NOOP,onClose:I.NOOP},t.default=N,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(3),c=a(f),d=n(5),p=a(d),h=n(15),g=a(h),m=n(28),v=a(m),E=n(1),y=n(2097),_=a(y),b=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){return s(g.default,{className:_.default.nsfw,justify:g.default.Justify.CENTER,align:g.default.Align.CENTER,direction:g.default.Direction.VERTICAL},void 0,s("div",{className:(0,p.default)(_.default.image,"margin-bottom-20")}),s("div",{className:(0,p.default)(_.default.title,"margin-bottom-8")},void 0,c.default.Messages.NSFW_TITLE),s("div",{className:(0,p.default)(_.default.description,"margin-bottom-20")},void 0,c.default.Messages.NSFW_DESCRIPTION),s("div",{className:(0,p.default)(_.default.separator,"margin-bottom-40")}),s(g.default,{justify:g.default.Justify.CENTER,align:g.default.Align.CENTER,grow:0},void 0,s(v.default,{className:_.default.action,size:m.ButtonSizes.LARGE,look:m.ButtonLooks.OUTLINED,color:m.ButtonColors.PRIMARY,onClick:this.props.onDisagree},void 0,c.default.Messages.NSFW_DECLINE),s(v.default,{className:_.default.actionRed,size:m.ButtonSizes.LARGE,onClick:this.props.onAgree},void 0,c.default.Messages.NSFW_ACCEPT)))},t}(u.default.PureComponent);b.defaultProps={onAgree:E.NOOP,onDisagree:E.NOOP},t.default=b,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(2098),p=a(d),h=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.render=function(){var e=this.props,t=e.tag,n=e.children,a=e.hoverText,r=o(e,["tag","children","hoverText"]);return c.default.createElement("div",l({},r,{className:p.default.hoverRoll}),u(t,{className:p.default.default},void 0,n),u(t,{className:p.default.hovered},void 0,a))},t}(c.default.PureComponent);h.defaultProps={tag:"div"},t.default=h,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(3),p=a(d),h=n(50),g=a(h),m=n(141),v=a(m),E=n(312),y=a(E),_=n(15),b=a(_),S=n(1);n(2279),n(604);var I=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.renderHeader=function(){var e=this.props,t=e.color,n=e.name,a=e.label,o=e.labelUrl,r=e.icon,i=e.enabled,l=e.syncing,u=e.handleSyncToggle,f=e.children,d=o&&a?s("a",{href:"//"+o,className:"url",target:"_blank"},void 0,s(g.default,{className:"ui-integration-header-text",type:g.default.Types.DESCRIPTION},void 0,a)):null;return s(b.default,{className:(0,c.default)("ui-integration-header",{simple:null==f}),justify:b.default.Justify.BETWEEN,style:{backgroundColor:t}},void 0,s(b.default,{},void 0,s("img",{className:"ui-integration-icon no-user-drag",src:r}),s("div",{},void 0,s(g.default,{className:"ui-integration-header-text",type:g.default.Types.DEFAULT},void 0,n),d)),s(b.default,{align:b.default.Align.CENTER,grow:0},void 0,s(y.default,{color:t,value:i,disabled:l,onChange:u},void 0,s("span",{className:"ui-integration-header-sync"},void 0,p.default.Messages.SYNC))))},t.prototype.render=function(){var e=this.props,t=e.children,n=e.theme;return s(v.default,{className:"ui-integration elevation-low margin-bottom-8",type:m.Types.CUSTOM,style:{borderWidth:0,backgroundColor:n===S.ThemeTypes.DARK?S.Colors.PRIMARY_700:S.Colors.PRIMARY_100}},void 0,this.renderHeader(),s("div",{className:"ui-integration-body"},void 0,t))},t}(u.default.PureComponent);I.defaultProps={name:"Twitch",color:S.Colors.TWITCH,icon:null},t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(7),d=a(c),p=n(23),h=n(3),g=a(h),m=n(15),v=a(m),E=n(24),y=a(E),_=n(28),b=a(_);n(2280);var S={VOICE:"voice",VIDEO:"video"},I={friction:16,tension:400},T=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a}return i(t,e),t.prototype.render=function(){return l(v.default,{className:"call-button margin-reset",align:v.default.Align.CENTER,justify:v.default.Justify.CENTER,onClick:this.handleClick},void 0,this.props.children)},t.prototype.handleClick=function(){var e=this.props,t=e.type,n=e.onClick;n&&n(t)},t}(f.default.PureComponent),N=l("div",{className:"call-divider"}),A=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._width=0,a._left=0,a.state={hovered:!1,offsetX:new y.default.Value(0)},d.default.bindAll(a,["handleMouseMove","handleMouseLeave"]),a}return i(t,e),t.prototype.renderVoiceButton=function(){return l(b.default,{className:"ui-join-voice-call-button",size:_.ButtonSizes.SMALL,color:_.ButtonColors.GREEN,onClick:this.props.onClick},void 0,g.default.Messages.JOIN_CALL)},t.prototype.renderUnderlay=function(){var e=this.state,t=e.hovered,n=e.offsetX,a={transform:[{translateX:n.interpolate({inputRange:[0,1],outputRange:["0px","1px"]})}],opacity:t?1:0};return l(y.default.div,{className:"underlay",style:a})},t.prototype.renderVideoButton=function(){return l("div",{className:"ui-join-video-call-button",onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave},void 0,this.renderUnderlay(),l(v.default,{className:"inner",align:v.default.Align.CENTER,justify:v.default.Justify.CENTER},void 0,l(T,{type:S.VIDEO,onClick:this.props.onClick},void 0,l("img",{className:"icon",src:n(1172)}),l("div",{className:"button-text"},void 0,g.default.Messages.VIDEO)),N,l(T,{type:S.VOICE,onClick:this.props.onClick},void 0,l("div",{className:"button-text"},void 0,g.default.Messages.VOICE),l("img",{className:"icon",src:n(680)}))))},t.prototype.render=function(){return this.props.type===S.VOICE?this.renderVoiceButton():this.renderVideoButton()},t.prototype.handleMouseMove=function(e){var t=e.clientX;if(0==this._width){var n=(0,p.findDOMNode)(this);if(null==n||n instanceof Text)throw new Error("[UIKit]JoinCallButton.handleMouseOver(): assert failed: domNode instanceof Element");this._left=n.getBoundingClientRect().left,this._width=n.getBoundingClientRect().width}var a=Math.min(this._width/2-4,Math.max(0,t-this._left-this._width/4));y.default.spring(this.state.offsetX,s({toValue:a},I)).start(),this.state.hovered||this.setState({hovered:!0})},t.prototype.handleMouseLeave=function(){this.setState({hovered:!1})},t}(f.default.PureComponent);A.defaultProps={type:S.VOICE},A.Type=S,t.default=A,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){e.preventDefault()}t.__esModule=!0,t.RecordModes=void 0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(5),d=a(c),p=n(343),h=a(p),g=n(28),m=a(g),v=n(15),E=a(v),y=n(273),_=n(3),b=a(_);n(2281),n(946);var S=t.RecordModes={DEFAULT:"DEFAULT",RECORDING:"RECORDING"},I=l("span",{className:"key-recorder-edit-icon"}),T=function(e){function t(){var n,a,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=a=r(this,e.call.apply(e,[this].concat(l))),a.setInputRef=function(e){a._input=e},a.handleBlur=function(){if(a.props.mode===S.RECORDING){(0,a.props.onClick)()}},a.handleFocus=function(){if(a.props.mode===S.DEFAULT){(0,a.props.onClick)()}},a.handleClick=function(e){e.preventDefault(),(0,a.props.onClick)()},i=n,r(a,i)}return i(t,e),t.prototype.componentDidMount=function(){var e=this.props.onChange;if(e){new h.default(this._input).handleKey=e}},t.prototype.componentDidUpdate=function(e){var t=this.props.mode;if(e.mode!==t){var n=this._input,a=document,o=a.activeElement;t===S.DEFAULT&&n===o&&n.blur(),t===S.RECORDING&&n!==o&&n.focus()}},t.prototype.render=function(){var e=this.props,t=e.mode,n=e.value,a=e.disabled,o=(0,y.toString)(n,!0),r=void 0;return r=t===S.RECORDING?b.default.Messages.SHORTCUT_RECORDER_BUTTON_RECORDING:0===n.length?b.default.Messages.SHORTCUT_RECORDER_BUTTON:b.default.Messages.SHORTCUT_RECORDER_BUTTON_EDIT,l("div",{className:(0,d.default)("ui-key-recorder","ui-input-button",t.toLowerCase(),{"has-value":t===S.DEFAULT&&n.length>0,disabled:a})},void 0,l(E.default,{className:"layout"},void 0,l(E.default.Child,{className:"input"},void 0,f.default.createElement("input",{placeholder:b.default.Messages.SHORTCUT_RECORDER_NO_BIND,type:"text",ref:this.setInputRef,readOnly:!0,value:o,onKeyDown:s,onFocus:this.handleFocus,onBlur:this.handleBlur,disabled:a})),l(E.default,{shrink:1,grow:0,style:{margin:0}},void 0,l(m.default,{className:"ui-input-button-ui-button key-recorder-button",disabled:a,onMouseDown:s,onMouseUp:this.handleClick,size:g.ButtonSizes.MIN,color:g.ButtonColors.GREY,look:g.ButtonLooks.GHOST},void 0,l("span",{className:"key-recorder-button-text"},void 0,r),I))))},t}(f.default.PureComponent);t.default=T},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(15),p=a(d),h=n(28),g=a(h),m=n(312),v=a(m),E=n(50),y=a(E),_=n(91),b=a(_),S=n(3),I=a(S);n(2282);var T=n(1),N=s(b.default,{}),A=s(b.default,{}),M=s(b.default,{}),C=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={checked:!1},a.handleCheck=a.handleCheck.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,a=e.accepting,o=e.onAccept,r=this.state.checked;return s("div",{className:(0,c.default)("ui-new-terms-modal","light-elevation-border-high","flex-vertical",t)},void 0,s("div",{className:"title margin-horizontal-40"},void 0,I.default.Messages.NEW_TERMS_TITLE),N,s(y.default,{className:"margin-horizontal-40 margin-top-20"},void 0,I.default.Messages.NEW_TERMS_DESCRIPTION),s(p.default,{className:"margin-horizontal-40 margin-top-20 margin-bottom-20",align:p.default.Align.CENTER,justify:p.default.Justify.CENTER},void 0,s(p.default,{direction:p.default.Direction.VERTICAL},void 0,s("div",{className:"margin-top-8 margin-bottom-8"},void 0,I.default.Messages.TERMS_OF_SERVICE.format({url:T.MARKETING_URLS.TERMS})),s("div",{className:"margin-top-8 margin-bottom-8"},void 0,I.default.Messages.PRIVACY_POLICY.format({url:T.MARKETING_URLS.PRIVACY}))),s("img",{src:n(3043)})),A,s("div",{className:"margin-horizontal-40 margin-top-20 margin-bottom-20"},void 0,s(v.default,{onChange:this.handleCheck,value:r},void 0,s("div",{className:"ack"},void 0,I.default.Messages.NEW_TERMS_ACK))),M,s(p.default,{className:"button-container",justify:p.default.Justify.END},void 0,s(g.default,{className:"margin-top-20 margin-bottom-20",disabled:!r,submitting:a,onClick:o},void 0,I.default.Messages.NEW_TERMS_CONTINUE)))},t.prototype.handleCheck=function(){this.setState({checked:!this.state.checked})},t}(u.default.PureComponent);C.defaultProps={onAccept:T.NOOP,accepting:!1},t.default=C,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.PermissionOverrideTypes=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(1622),c=a(f),d=n(5),p=a(d);n(2283);var h=t.PermissionOverrideTypes={DENY:"DENY",PASSTHROUGH:"PASSTHROUGH",ALLOW:"ALLOW"},g=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.keys=Object.keys(h),a.handleToggle=a.handleToggle.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this,t=this.props,a=t.value,o=t.disabled,r=this.keys.map(function(t){var o=a===t,r=void 0,i=void 0;switch(t){case h.DENY:r=n(o?3020:3019),i=h.DENY;break;case h.ALLOW:r=n(o?3006:3005),i=h.ALLOW;break;case h.PASSTHROUGH:default:r=n(o?3018:3017),i=h.PASSTHROUGH}return{content:s("img",{src:r,className:"override-item no-user-drag"}),className:(0,p.default)("ui-permission-override-box",i.toLowerCase(),{selected:o}),onClick:e.handleToggle.bind(e,t)}});return s(c.default,{buttons:r,disabled:o})},t.prototype.handleToggle=function(e){var t=this.props,n=t.value,a=t.onChange;n!==e&&a(e)},t}(u.default.PureComponent);g.defaultProps={value:h.PASSTHROUGH,disabled:!1},g.Types=h,t.default=g},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.PermissionOverrideTypes=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(1636),p=a(d),h=n(66),g=a(h),m=n(50),v=a(m),E=n(91),y=a(E),_=n(15),b=a(_),S=(t.PermissionOverrideTypes=p.default.Types,s(b.default.Child,{className:"margin-top-20"},void 0,s(y.default,{}))),I=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.value,n=e.onChange,a=e.disabled,o=e.hideBorder,r=e.children,i=e.className,l=e.note,u=e.style;return s(b.default,{style:u,className:(0,c.default)("ui-permission-override-item",i),direction:b.default.Direction.VERTICAL},void 0,s(b.default,{},void 0,s(b.default.Child,{},void 0,s(g.default,{className:"margin-reset",tag:h.Tags.H3,disabled:a},void 0,r)),s(b.default.Child,{grow:0,shrink:0},void 0,s(p.default,{value:t,onChange:n,disabled:a}))),l&&s(b.default.Child,{className:"margin-top-4"},void 0,s(v.default,{type:m.Types.DESCRIPTION},void 0,l)),!o&&S)},t}(u.default.PureComponent);I.defaultProps={disabled:!1,hideBorder:!1,className:"margin-bottom-20"},I.Types=p.default.Types,t.default=I},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(5),d=a(c),p=n(7),h=a(p),g=n(252),m=a(g),v=n(1214),E=a(v),y=n(28),_=a(y),b=n(832),S=a(b),I=n(143),T=a(I),N=n(826),A=a(N),M=n(15),C=a(M),O=n(3),D=a(O);n(2284);var L=l(A.default.Divider,{}),R=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={query:""},a.onChangeQuery=a.onChangeQuery.bind(a),a.onClearQuery=a.onClearQuery.bind(a),a.onClick=a.onClick.bind(a),a}return i(t,e),t.prototype.renderItems=function(){var e=this,t=this.state.query,n=E.default.map(function(e,t){var n=e.code,a=e.name,o=n.split(" "),r=o[0];return{id:t,value:a,children:l(C.default,{className:"country-item",justify:C.default.Justify.CENTER,align:C.default.Align.CENTER},void 0,l(C.default.Child,{className:"country-name"},void 0,a),l(C.default.Child,{className:"country-code",grow:0,shrink:0},void 0,r))}}),a=(0,h.default)(n).filter(function(e){return 0===t.length||(0,m.default)(t.toLowerCase(),e.value.toLowerCase())}).map(function(t){return f.default.createElement(A.default.Item,s({key:t.id},t,{onClick:e.onClick}))}).value();return 0===a.length?l(A.default.Empty,{},void 0,D.default.Messages.NONE):l(T.default,{},void 0,a)},t.prototype.render=function(){return l(A.default,{className:"ui-phone-field-popout elevation-border-low"},void 0,l(A.default.SearchBar,{query:this.state.query,placeholder:D.default.Messages.SEARCH_COUNTRY,onChange:this.onChangeQuery,onClear:this.onClearQuery}),L,this.renderItems())},t.prototype.onChangeQuery=function(e){this.setState({query:e})},t.prototype.onClearQuery=function(){this.setState({query:""})},t.prototype.onClick=function(e){var t=e.id;(0,this.props.onClick)(t)},t}(f.default.PureComponent),x=l("div",{className:"plus-sign"},void 0,"+"),w=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n)),i=E.default[224],s=i.code.split(" "),l=s[0],u=s[1];return a.state={countryCode:l,phone:u||"",open:!1},a.handleSubmit=a.handleSubmit.bind(a),a.handleTogglePopout=a.handleTogglePopout.bind(a),a.handleChange=a.handleChange.bind(a),a.handleKeyPress=a.handleKeyPress.bind(a),a.handleClick=a.handleClick.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.state,t=e.countryCode,n=e.phone,a=e.open,o=this.props,r=o.className,i=o.submitting,s=t.split("+"),u=s[1];return l(C.default,{className:(0,d.default)("ui-phone-field","elevation-low",r),align:C.default.Align.CENTER,grow:0},void 0,l(C.default,{className:"country-button",grow:0,align:C.default.Align.CENTER,onClick:this.handleTogglePopout},void 0,l(C.default,{className:"country-code-container margin-reset",justify:C.default.Justify.CENTER},void 0,x,l("div",{className:"country-code"},void 0,u)),l(S.default,{expanded:a,width:16,height:16})),l("input",{className:"input-field",value:n,onChange:this.handleChange,onKeyPress:this.handleKeyPress,autoFocus:!0}),l(_.default,{className:"send-button",size:y.ButtonSizes.SMALL,submitting:i,onClick:this.handleSubmit},void 0,D.default.Messages.SEND),a?l(R,{onClick:this.handleClick}):null)},t.prototype.handleChange=function(e){this.closePopout(),this.setState({phone:e.target.value})},t.prototype.handleKeyPress=function(e){this.closePopout(),13===e.which&&(e.preventDefault(),this.handleSubmit())},t.prototype.handleSubmit=function(){var e=this.props,t=e.onSubmit,n=e.submitting,a=this.state,o=a.countryCode,r=a.phone;n||t&&t(""+o+r)},t.prototype.handleTogglePopout=function(){this.setState({open:!this.state.open})},t.prototype.handleClick=function(e){var t=E.default[e],n=t.code.split(" "),a=n[0],o=n[1];this.setState({open:!1,countryCode:a,phone:o||""})},t.prototype.closePopout=function(){this.state.open&&this.setState({open:!1})},t}(f.default.PureComponent);t.default=w,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(546),c=a(f),d=n(314),p=a(d),h=n(15),g=a(h),m=n(1638),v=a(m),E=n(1624),y=a(E),_=n(28),b=a(_);n(2285);var S=n(3),I=a(S),T=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a._animItem=null,a.state={animated:!1},a.setBodyMovinRef=a.setBodyMovinRef.bind(a),a.handleAddPhone=a.handleAddPhone.bind(a),a.handleVerifyPhone=a.handleVerifyPhone.bind(a),a.handleResendCode=a.handleResendCode.bind(a),a}return i(t,e),t.prototype.componentDidMount=function(){var e=this;n.e(0).then(function(t){var a=n(5577);e._animItem=c.default.loadAnimation({container:e._bodyMovinRef,renderer:"svg",loop:!0,autoplay:!1,animationData:a})}.bind(null,n)).catch(n.oe)},t.prototype.componentWillUnmount=function(){null!=this._animItem&&this._animItem.destroy()},t.prototype.render=function(){var e=this.props,t=e.error,n=e.working,a=e.validPhone,o=void 0;o=t?s("div",{className:"description error margin-bottom-20"},void 0,t):a?s("div",{className:"description margin-bottom-20"},void 0,I.default.Messages.VERIFICATION_PHONE_DESCRIPTION):s("div",{className:"description margin-bottom-20"},void 0,I.default.Messages.ENTER_PHONE_DESCRIPTION);var r=void 0;return r=a?s(g.default,{className:"field",direction:g.default.Direction.VERTICAL,align:g.default.Align.CENTER},void 0,s(y.default,{onSubmit:this.handleVerifyPhone}),s(b.default,{className:"margin-top-8",size:_.ButtonSizes.SMALL,look:_.ButtonLooks.LINK,color:_.ButtonColors.PRIMARY,onClick:this.handleResendCode},void 0,I.default.Messages.RESEND_CODE)):s(v.default,{className:"field",onSubmit:this.handleAddPhone,submitting:n}),s(p.default,{className:"ui-phone-verification-modal flex-vertical flex-align-center flex-justify-center margin-top-60"},void 0,u.default.createElement("div",{className:"animation-container",ref:this.setBodyMovinRef}),s("div",{className:"title margin-bottom-8"},void 0,a?I.default.Messages.VERIFICATION_PHONE_TITLE:I.default.Messages.ENTER_PHONE_TITLE),o,r)},t.prototype.setBodyMovinRef=function(e){this._bodyMovinRef=e},t.prototype.handleAddPhone=function(e){this.state.animated||null==this._animItem||(this._animItem.play(),this.setState({animated:!0})),this._phone=e;var t=this.props.onAddPhone;t&&t(e)},t.prototype.handleVerifyPhone=function(e){var t=this.props.onVerifyPhone;t&&t(e)},t.prototype.handleResendCode=function(){var e=this.props.onAddPhone;e&&e(this._phone)},t}(u.default.PureComponent);t.default=T,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(23),d=n(5),p=a(d),h=n(24),g=a(h),m=n(1628),v=a(m),E=n(73),y=a(E),_=n(1),b=n(2102),S=a(b),I={friction:16,tension:400},T=200,N=30,A=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={appearAnimation:new g.default.Value(0),positionAnimation:new g.default.Value(0)},a.ensureIsInPosition=a.ensureIsInPosition.bind(a),a.handleSetInnerDivRef=a.handleSetInnerDivRef.bind(a),a.handleSetDraggableRef=a.handleSetDraggableRef.bind(a),a.handleDragStart=a.handleDragStart.bind(a),a.handleDrag=a.handleDrag.bind(a),a.handleDragEnd=a.handleDragEnd.bind(a),a}return i(t,e),t.prototype.componentDidMount=function(){this.setPosition(this.props.position)},t.prototype.componentDidAppear=function(){this.state.appearAnimation.setValue(1),this.state.positionAnimation.setValue(1)},t.prototype.componentWillEnter=function(e){var t=this.state,n=t.appearAnimation,a=t.positionAnimation;g.default.stagger(N,[g.default.spring(n,l({toValue:1},I)),g.default.spring(a,l({toValue:1},I))]).start(e)},t.prototype.componentWillLeave=function(e){var t=this.state,n=t.appearAnimation,a=t.positionAnimation;g.default.stagger(N,[g.default.spring(a,l({toValue:0},I)),g.default.spring(n,l({toValue:0},I))]).start(e)},t.prototype.componentDidUpdate=function(e){e.edgeOffsetTop===this.props.edgeOffsetTop&&e.edgeOffsetLeft===this.props.edgeOffsetLeft&&e.edgeOffsetBottom===this.props.edgeOffsetBottom&&e.edgeOffsetRight===this.props.edgeOffsetRight&&e.maxX===this.props.maxX&&e.maxY===this.props.maxY||this.ensureIsInPosition()},t.prototype.getPosition=function(e){var t=(0,c.findDOMNode)(this._innerDiv);if(null!=t&&t instanceof Element){var n=t.getBoundingClientRect();this._width=n.width,this._height=n.height}var a=this.props,o=a.edgeOffsetTop,r=a.edgeOffsetLeft,i=a.edgeOffsetBottom,s=a.edgeOffsetRight,l=o,u=window.innerHeight-i-this._height,f=r,d=window.innerWidth-s-this._width;switch(e){case _.PictureInPicturePositions.TOP_LEFT:return{y:l,x:f};case _.PictureInPicturePositions.BOTTOM_LEFT:return{y:u,x:f};case _.PictureInPicturePositions.TOP_RIGHT:return{y:l,x:d};default:return{y:u,x:d}}},t.prototype.setPosition=function(e){var t=this.getPosition(e),n=t.x,a=t.y;null!=this._draggable&&this._draggable.setPosition(n,a)},t.prototype.animateToPosition=function(e,t){var n=this.getPosition(e),a=n.x,o=n.y;null!=this._draggable&&this._draggable.animateToPosition(a,o,{},t)},t.prototype.ensureIsInPosition=function(){this.setPosition(this.props.position)},t.prototype.calculateDecayingPosition=function(e,t,n,a){return{x:e+n*T,y:t+a*T}},t.prototype.getXOffset=function(){var e=this.props,t=e.position,n=e.edgeOffsetLeft,a=e.edgeOffsetRight;switch(t){case _.PictureInPicturePositions.TOP_LEFT:case _.PictureInPicturePositions.BOTTOM_LEFT:return-n;default:return a}},t.prototype.getYOffset=function(){var e=this.props,t=e.position,n=e.edgeOffsetTop,a=e.edgeOffsetBottom;switch(t){case _.PictureInPicturePositions.TOP_LEFT:case _.PictureInPicturePositions.TOP_RIGHT:return-n;default:return a}},t.prototype.render=function(){var e=this.state,t=e.appearAnimation,n=e.positionAnimation,a=this.getXOffset(),o=this.getYOffset(),r=[0,1],i=g.default.accelerate({opacity:t,transform:[{scale:t},{translateX:n.interpolate({inputRange:r,outputRange:[a+"px","0px"]})},{translateY:n.interpolate({inputRange:r,outputRange:[o+"px","0px"]})}]});return f.default.createElement(v.default,{dragAnywhere:!0,ref:this.handleSetDraggableRef,className:S.default.pictureInPictureWindow,maxX:window.innerWidth,maxY:window.innerHeight,onDragStart:this.handleDragStart,onDrag:this.handleDrag,onDragEnd:this.handleDragEnd},f.default.createElement(g.default.div,{ref:this.handleSetInnerDivRef,className:"elevation-high",style:i},this.props.children))},t.prototype.handleSetInnerDivRef=function(e){this._innerDiv=e},t.prototype.handleSetDraggableRef=function(e){this._draggable=e},t.prototype.handleDragStart=function(e,t){this._velocityX=0,this._velocityY=0,this._lastMoveX=e,this._lastMoveY=t,this._lastMoveTime=new Date},t.prototype.handleDrag=function(e,t){var n=new Date,a=n-this._lastMoveTime;this._velocityX=(e-this._lastMoveX)/a,this._velocityY=(t-this._lastMoveY)/a,this._lastMoveX=e,this._lastMoveY=t,this._lastMoveTime=n},t.prototype.handleDragEnd=function(e,t){var n=this.calculateDecayingPosition(e,t,this._velocityX,this._velocityY),a=!0,o=!0;n.x>window.innerWidth/2&&(o=!1),n.y>window.innerHeight/2&&(a=!1);var r=void 0;if(r=a&&o?_.PictureInPicturePositions.TOP_LEFT:a&&!o?_.PictureInPicturePositions.TOP_RIGHT:!a&&o?_.PictureInPicturePositions.BOTTOM_LEFT:_.PictureInPicturePositions.BOTTOM_RIGHT,this.animateToPosition(r,this.ensureIsInPosition),r!==this.props.position){var i=this.props,s=i.id,l=i.onMove;l&&l(s,r)}},t}(f.default.PureComponent),M=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.renderWindows=function(){var e=this.props,t=e.windows,n=e.maxX,a=e.maxY,o=e.onWindowMove,r=e.pictureInPictureComponents,i=[];for(var u in t){var c=t[u],d=c.component;"string"==typeof d&&r[d]&&(d=r[d].component);var p=c.offsets.top,h=c.offsets.bottom,g=c.offsets.left,m=c.offsets.right;i.push(s(A,{position:c.position,id:u,onMove:o,maxX:n,maxY:a,edgeOffsetTop:p,edgeOffsetBottom:h,edgeOffsetLeft:g,edgeOffsetRight:m},u,f.default.createElement(d,l({pipId:u,pipPosition:c.position},c.props))))}return i},t.prototype.render=function(){return s(y.default,{component:"div",className:(0,p.default)(S.default.pictureInPicture,"theme-"+this.props.theme)},void 0,this.renderWindows())},t}(f.default.PureComponent);t.default=M,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(73),c=a(f),d=n(15),p=a(d),h=n(829),g=n(1667),m=a(g),v=n(1668),E=a(v),y=n(1673),_=a(y),b=n(1672),S=a(b),I=n(1659),T=a(I),N=n(1658),A=a(N),M=n(2103),C=a(M),O=n(195),D=n(3),L=a(D),R={FULL_SCREEN:"FullScreen"},x=s(p.default,{grow:1}),w=s(p.default,{grow:1}),P=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={hovered:!1},a.handleMouseOver=a.handleMouseOver.bind(a),a.handleMouseOut=a.handleMouseOut.bind(a),a}return i(t,e),t.prototype.getMode=function(){return this.props.isFullScreen?R.FULL_SCREEN:""},t.prototype.renderTopLeft=function(){var e=this.props,t=e.channel,n=e.onJumpToChannel;return s("div",{className:C.default.channel,onClick:n},void 0,t.toString())},t.prototype.renderTopRight=function(){return s(m.default,{onClick:this.props.onClose,className:C.default.iconButton,foreground:C.default.iconButtonForeground})},t.prototype.renderScreenShareIcon=function(){var e=this.props,t=e.onStartScreenSharingWhenUnavailable,n=e.onStartScreenSharing,a=e.onChangeScreenSharing,o=e.isScreenShareAvailable,r=e.isScreenShareEnabled,i=e.tooltipComponent,l=void 0,u=void 0,f=void 0;return o?r?(l=a,u=C.default.iconButton,f=L.default.Messages.SCREEN_SHARE_OPTIONS):(l=n,u=C.default.iconButton,f=L.default.Messages.SCREEN_SHARE_ON):(l=t,u=C.default.iconButtonDisabled,f=L.default.Messages.SCREENSHARE_UNAVAILABLE),s(i,{text:f},void 0,s("div",{},void 0,s(E.default,{className:u,foreground:C.default.iconButtonForeground,onClick:l})))},t.prototype.renderVideoIcon=function(){var e=this.props,t=e.onEnableVideoWhenUnavailable,n=e.onEnableVideo,a=e.onDisableVideo,o=e.isVideoAvailable,r=e.isVideoEnabled,i=e.tooltipComponent,l=void 0,u=void 0,f=void 0,c=void 0;return o?r?(l=_.default,u=a,f=C.default.iconButton,c=L.default.Messages.CAMERA_OFF):(l=S.default,u=n,f=C.default.iconButton,c=L.default.Messages.CAMERA_ON):(l=_.default,u=t,f=C.default.iconButtonDisabled,c=L.default.Messages.CAMERA_UNAVAILABLE),s(i,{text:c},void 0,s("div",{className:C.default.iconButtonMargin},void 0,s(l,{className:f,foreground:C.default.iconButtonForeground,onClick:u})))},t.prototype.renderBottomLeft=function(){return s(p.default,{align:p.default.Align.CENTER},void 0,this.renderScreenShareIcon(),this.renderVideoIcon())},t.prototype.renderBottomRight=function(){var e=this.props,t=e.isFullScreen,n=e.onEnterFullScreen,a=e.onLeaveFullScreen;return t?s(A.default,{className:C.default.iconButton,foreground:C.default.iconButtonForeground,onClick:a}):s(T.default,{className:C.default.iconButton,foreground:C.default.iconButtonForeground,onClick:n})},t.prototype.renderOverlaySide=function(e,t,n){return s(p.default,{grow:0,className:n},void 0,s(p.default,{align:p.default.Align.CENTER,grow:0,className:C.default.overlayLeft},void 0,e),x,s(p.default,{align:p.default.Align.CENTER,grow:0,className:C.default.overlayRight},void 0,t))},t.prototype.render=function(){var e=this.props,t=e.children,n=e.backgroundKey,a=this.getMode();return s("div",{className:(0,O.getClass)(C.default,"pictureInPictureVideo",a),onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut},void 0,s(c.default,{},void 0,s(h.BackgroundTransition,{},n,t)),s(p.default,{direction:p.default.Direction.VERTICAL,className:C.default.overlay},void 0,this.renderOverlaySide(this.renderTopLeft(),this.renderTopRight(),C.default.overlayTop),w,this.renderOverlaySide(this.renderBottomLeft(),this.renderBottomRight(),C.default.overlayBottom)))},t.prototype.handleMouseOver=function(){this.setState({hovered:!0})},t.prototype.handleMouseOut=function(){this.setState({hovered:!1})},t}(u.default.PureComponent);t.default=P,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(15),p=a(d);n(2288);var h=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));a.setInputRef=a.setInputRef.bind(a),a.handleChange=a.handleChange.bind(a),a.handleFocus=a.handleFocus.bind(a),a.handleBlur=a.handleBlur.bind(a),a.handleFocusInput=a.handleFocusInput.bind(a);var i=a.props.autoFocus;return a.state={focused:null!=i&&i},a}return i(t,e),t.prototype.setInputRef=function(e){this._inputRef=e},t.prototype.handleChange=function(e){(0,this.props.onChange)(e.target.value)},t.prototype.handleFocus=function(){this.setState({focused:!0})},t.prototype.handleBlur=function(){this.setState({focused:!1})},t.prototype.handleFocusInput=function(){this._inputRef.focus()},t.prototype.render=function(){var e=this.state.focused,t=this.props,n=t.value,a=t.placeholder,o=t.error,r=t.className,i=t.maxLength,l=t.autoFocus,f=t.prefix;return s(p.default,{align:p.default.Align.CENTER,justify:p.default.Justify.START,className:(0,c.default)("ui-prefix-input",r,{focused:e,error:o}),onClick:this.handleFocusInput},void 0,s(p.default.Child,{grow:0,className:"ui-prefix-input-prefix"},void 0,f),s(p.default.Child,{className:"margin-reset"},void 0,u.default.createElement("input",{ref:this.setInputRef,className:"ui-prefix-input-input",value:n,placeholder:a,maxLength:i,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur,autoFocus:l})))},t}(u.default.PureComponent);t.default=h,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(77),p=n(15),h=a(p),g=n(312),m=a(g),v=n(1);n(2291);var E=function(e){function t(){var n,a,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=a=r(this,e.call.apply(e,[this].concat(l))),a.handleClick=function(){return a.props.onClick(a.props.option)},i=n,r(a,i)}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.isChecked,n=e.option;return s(h.default,{className:(0,c.default)("ui-radio-list-item",{selected:t}),justify:h.default.Justify.BETWEEN,align:h.default.Align.CENTER,onClick:this.handleClick},void 0,s(h.default,{grow:0,className:"ui-radio-list-label",justify:h.default.Justify.START},void 0,s(h.default.Child,{},void 0,s(m.default,{readOnly:!0,value:t,type:g.CheckboxTypes.ROUND,color:t?v.Colors.STATUS_GREEN:"none",inverted:t})),s(h.default.Child,{},void 0,s(d.FormTitle,{className:"ui-radio-list-label-text",tag:d.FormTitleTags.H3},void 0,n.name))),s(h.default,{grow:0,className:"ui-radio-list-item-desc"},void 0,s(h.default.Child,{className:"margin-reset"},void 0,s(d.FormText,{type:d.FormText.Types.DESCRIPTION},void 0,n.localizedName)),n.image?s(h.default.Child,{},void 0,s("img",{src:n.image,className:"ui-radio-list-image no-user-drag"})):null))},t}(u.default.PureComponent),y=function(e){function t(){var n,a,i;o(this,t);for(var l=arguments.length,u=Array(l),f=0;f<l;f++)u[f]=arguments[f];return n=a=r(this,e.call.apply(e,[this].concat(u))),a.renderRadio=function(e,t){return s(E,{isChecked:a.props.value===e.value,option:e,onClick:a.props.onChange},t)},i=n,r(a,i)}return i(t,e),t.prototype.render=function(){return s("div",{className:"ui-radio-list"},void 0,this.props.options.map(this.renderRadio))},t}(u.default.PureComponent);y.defaultProps={options:[],onChange:v.NOOP,value:null},t.default=y,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=n(0),f=a(u),c=n(15),d=a(c),p=n(5),h=a(p),g=n(28),m=a(g),v=n(3),E=a(v);n(2292),n(946);var y=function(e){var t=e.region,a=e.className,o=e.style,r=void 0;if("unknown"===t.id)r=n(341);else{var i=t.id.replace(/^vip-/,"");try{r=n(705)("./"+i+".png")}catch(e){r=n(341)}}return o=l({},o,{backgroundImage:'url("'+r+'")'}),s("div",{className:(0,h.default)("ui-region-flag",a,{vip:t.vip}),style:o})},_=function(e){var t=e.region,n=e.className,a=e.style,o=t.name.replace(/ \(VIP\)$/,"");return s("div",{className:(0,h.default)("ui-region-name","overflow-ellipsis",n),style:a},void 0,o)},b=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={hover:!1},a.handleClick=a.handleClick.bind(a),a.handleMouseLeave=a.handleMouseLeave.bind(a),a.handleMouseEnter=a.handleMouseEnter.bind(a),a}return i(t,e),t.prototype.handleClick=function(){(0,this.props.onClick)()},t.prototype.handleMouseLeave=function(){this.setState({hover:!1})},t.prototype.handleMouseEnter=function(){this.setState({hover:!0})},t.prototype.render=function(){var e=this.props,t=e.region,n=e.error,a=e.disabled,o=this.state.hover,r=g.ButtonColors.GREY;return a||(o?r=g.ButtonColors.BRAND:n===!0&&(r=g.ButtonColors.RED)),s("div",{className:(0,h.default)("ui-region-selector","ui-input-button",{hover:o,disabled:a,error:n}),onClick:!a&&this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},void 0,s(d.default,{className:"layout"},void 0,s(d.default,{className:"input",align:d.default.Align.CENTER},void 0,s(d.default.Child,{grow:0,shrink:0},void 0,s(y,{region:t})),s(d.default.Child,{},void 0,s(_,{region:t}))),s(d.default,{shrink:1,grow:0,style:{margin:0}},void 0,s(m.default,{className:"ui-input-button-ui-button",onClick:function(){},size:g.ButtonSizes.MIN,color:r,disabled:a,look:g.ButtonLooks.GHOST},void 0,E.default.Messages.CHANGE))))},t}(f.default.PureComponent);b.defaultProps={disabled:!1},t.default=b,e.exports=t.default},function(e,t,n){"use strict";(function(e){function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.AddRoleButton=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),f=n(0),c=a(f),d=n(23),p=n(7),h=a(p),g=n(5),m=a(g),v=n(15),E=a(v),y=n(1666),_=a(y),b=n(123);n(2293);var S=36,I=10,T=u(_.default,{}),N=u(_.default,{}),A=(t.AddRoleButton=function(e){function t(){return r(this,t),i(this,e.apply(this,arguments))}return s(t,e),t.prototype.renderText=function(e){return e>0?u(E.default,{align:E.default.Align.CENTER},void 0,T,u("span",{className:"extra-roles-count"},void 0,e)):N},t.prototype.render=function(){var e=this.props,t=e.hiddenCount,n=e.canManage,a=o(e,["hiddenCount","canManage"]);return n||0!==t?c.default.createElement(E.default.Child,l({},a,{wrap:!0,className:"ui-role-list-add",grow:0}),this.renderText(t)):null},t}(c.default.PureComponent),function(e){function t(n){r(this,t);var a=i(this,e.call(this,n));return a.handleRemove=a.handleRemove.bind(a),a}return s(t,e),t.prototype.renderRemoveButton=function(){var e=this.props,t=e.getRemovable,n=e.role;if(t&&t(n))return u("div",{className:"ui-role-list-remove",onClick:this.handleRemove})},t.prototype.render=function(){var e=this.props,t=e.defaultColor,n=e.role,a=n.color;0===a&&(a=t);var o={backgroundColor:(0,b.int2rgba)(a,.1),borderColor:(0,b.int2rgba)(a,.5)};return u(E.default,{className:"ui-role-list-role",align:E.default.Align.CENTER,grow:0,style:o},void 0,u("div",{},void 0,n.name),this.renderRemoveButton())},t.prototype.handleRemove=function(){var e=this.props,t=e.onRemove,n=e.role;t&&t(n)},t}(c.default.PureComponent)),M=function(t){function n(e){r(this,n);var a=i(this,t.call(this,e));return a._roleRefs={},a._isMounted=!1,a.state={offscreen:!0,visibleRoles:e.roles},a.setRef=a.setRef.bind(a),a.setRoleRef=a.setRoleRef.bind(a),a}return s(n,t),n.prototype.getHiddenCount=function(){return this.props.roles.length-this.state.visibleRoles.length},n.prototype.componentDidMount=function(){var t=this;this._isMounted=!0,e.nextTick(function(){return t.calculateBounds()})},n.prototype.componentWillUnmount=function(){this._isMounted=!1},n.prototype.componentDidUpdate=function(e){var t=this,n=this.props,a=n.roles,o=n.width,r=a!==e.roles;(r||o!=e.width)&&this.setState({offscreen:!0,visibleRoles:a},function(){return t.calculateBounds(r)})},n.prototype.calculateBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._isMounted){if(e)for(var t in this._roleRefs)null==this._roleRefs[t]&&delete this._roleRefs[t];var n=this.props,a=n.canManage,o=n.roles,r=0,i=(0,d.findDOMNode)(this._ref);i instanceof HTMLElement&&(r=i.getBoundingClientRect().width);for(var s=a?S:0,l=(0,h.default)(this._roleRefs).values().takeWhile(function(e,t){var n=(0,d.findDOMNode)(e);if(n instanceof HTMLElement){var a=0===t?I:2*I;return s+=n.getBoundingClientRect().width+a,s<r}return!1}).value(),u=[],f=0;f<l.length;f++)u.push(o[f]);this._isMounted&&this.setState({offscreen:!1,visibleRoles:u})}},n.prototype.setRef=function(e){this._ref=e},n.prototype.setRoleRef=function(e,t){this._roleRefs[t.id]=e},n.prototype.render=function(){var e=this,t=this.props,n=t.renderAddRole,a=t.defaultColor,o=t.className,r=t.canManage,i=t.getRemovable,s=t.onRemove,l=this.state,u=l.visibleRoles,f=l.offscreen,d=(0,m.default)("ui-role-list",o,{"ui-role-list-offscreen":f}),p=this.getHiddenCount(),h=u.map(function(t){return c.default.createElement(A,{ref:function(n){return e.setRoleRef(n,t)},key:t.id,defaultColor:a,role:t,getRemovable:i,onRemove:s})});return c.default.createElement(E.default,{ref:this.setRef,className:d,align:E.default.Align.CENTER},h,n({hiddenCount:p,canManage:r}))},n}(c.default.PureComponent);t.default=M}).call(t,n(45))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(7),c=a(f),d=n(5),p=a(d),h=n(1647),g=a(h),m=n(823),v=a(m),E=n(28),y=a(E),_=n(1),b=n(3),S=a(b),I=n(143),T=a(I),N=n(121),A=a(N),M=n(15),C=a(M),O=n(314),D=a(O);n(2294);var L=s("div",{className:"flex-center margin-top-20"},void 0,s(A.default,{})),R=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.state={selectedSegment:n.value,selectedTile:null},c.default.bindAll(a,["handleSelectSegment","handleShare"]),a}return i(t,e),t.prototype.componentWillReceiveProps=function(e){this.props.value!==e.value&&this.setState({selectedSegment:e.value})},t.prototype.renderGrids=function(){var e=this,t=this.props.items,n=this.state,a=n.selectedSegment,o=n.selectedTile,r=(0,c.default)(t).filter(function(e){return e.value===a}).first();if(null==r||null==r.options)return L;var i=r.layout,l=r.options,u=l.map(function(t){var n=t.id,a=t.name,r=t.url,l=o===n;return s("div",{className:"ui-screenshare-modal-tile",onClick:function(){return e.handleSelectTile(n)}},n,s(C.default,{direction:C.default.Direction.VERTICAL,justify:C.default.Justify.CENTER,align:C.default.Align.CENTER},void 0,s("div",{className:(0,p.default)("image-container flex-center",i)},void 0,s("img",{className:(0,p.default)({selected:l}),src:r})),s("div",{className:(0,p.default)("title margin-top-4",i,{selected:l})},void 0,a)))});return s(T.default,{},void 0,s(v.default,{layout:i,columns:3},void 0,u))},t.prototype.render=function(){var e=this.props,t=e.items,n=e.description,a=e.onCancel,o=this.state,r=o.selectedSegment,i=o.selectedTile,l=[];return(0,c.default)(t).forEach(function(e){var t=e.name,n=e.value;l.push({name:t,value:n})}),s(D.default,{className:"ui-screenshare-modal flex-vertical"},void 0,s(C.default,{className:"content",direction:C.default.Direction.VERTICAL},void 0,s(g.default,{options:l,value:r,onChange:this.handleSelectSegment}),s(C.default,{className:"tiles margin-top-20 margin-bottom-20",direction:C.default.Direction.VERTICAL},void 0,this.renderGrids()),s("div",{},void 0,n)),s(C.default,{className:"actions",justify:C.default.Justify.END,grow:0},void 0,s(y.default,{look:E.ButtonLooks.LINK,color:E.ButtonColors.PRIMARY,onClick:a},void 0,S.default.Messages.CANCEL),s(y.default,{disabled:null==i,onClick:this.handleShare},void 0,S.default.Messages.SHARE)))},t.prototype.handleSelectSegment=function(e){var t=e.value;t!==this.state.selectedSegment&&this.setState({selectedSegment:t})},t.prototype.handleSelectTile=function(e){e!==this.state.selectedTile&&this.setState({selectedTile:e})},t.prototype.handleShare=function(){(0,this.props.onSelect)(this.state.selectedTile)},t}(u.default.PureComponent);R.defaultProps={items:[],value:null,onCancel:_.NOOP,onSelect:_.NOOP},t.default=R,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(7),c=a(f),d=n(5),p=a(d);n(2297);var h=n(1),g=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return c.default.bindAll(a,["handleClick"]),a}return i(t,e),t.prototype.handleClick=function(e){var t=this.props.onClick;return t&&t(this.props.option,e)},t.prototype.render=function(){var e=this.props.selected,t=this.props.option.name;return s("div",{className:(0,p.default)("item",{selected:e}),onClick:this.handleClick},void 0,t)},t}(u.default.PureComponent),m=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return c.default.bindAll(a,["renderItem"]),a}return i(t,e),t.prototype.renderItem=function(e){return s(g,{selected:this.props.value===e.value,option:e,onClick:this.props.onChange},e.value)},t.prototype.render=function(){return s("div",{className:"ui-segment-control flex-horizontal"},void 0,this.props.options.map(this.renderItem))},t}(u.default.PureComponent);m.defaultProps={options:[],onChange:h.NOOP,value:null},t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(3),p=a(d),h=n(71),g=a(h),m=n(15),v=a(m),E=n(1),y=n(509),_=a(y);n(2306);var b=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a}return i(t,e),t.prototype.render=function(){var e=this.props.type,t=e===E.VerificationTypes.EMAIL_OR_PHONE?p.default.Messages.VERIFY_BY_EMAIL_FORMATTED.format():p.default.Messages.VERIFY_BY_PHONE_FORMATTED.format();return s(v.default,{className:"ui-verification-block",align:v.default.Align.CENTER,justify:v.default.Justify.CENTER,onClick:this.handleClick},void 0,s("div",{className:(0,c.default)("image",e)}),s("div",{className:"body"},void 0,t))},t.prototype.handleClick=function(){var e=this.props;(0,e.onClick)(e.type)},t}(u.default.PureComponent),S=s("div",{className:"image"}),I=s("div",{className:"footer footer-bullet"},void 0,"•"),T=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a}return i(t,e),t.prototype.renderFields=function(){var e=this.props,t=e.type,n=e.captchaKey,a=e.theme,o=e.onCaptchaChange,r=[];switch(t){case E.VerificationTypes.CAPTCHA:return s(_.default,{onChange:o,theme:a},n);case E.VerificationTypes.EMAIL_OR_PHONE:r.push(s(b,{type:E.VerificationTypes.EMAIL_OR_PHONE,onClick:this.handleClick},E.VerificationTypes.EMAIL_OR_PHONE));case E.VerificationTypes.PHONE:r.push(s(b,{type:E.VerificationTypes.PHONE,onClick:this.handleClick},E.VerificationTypes.PHONE))}return r},t.prototype.render=function(){return s(v.default,{className:"ui-verification",align:v.default.Align.CENTER,direction:v.default.Direction.VERTICAL},void 0,s(v.default,{className:"container",direction:v.default.Direction.VERTICAL,align:v.default.Align.CENTER,justify:v.default.Justify.CENTER},void 0,S,s("div",{className:"title margin-top-20"},void 0,p.default.Messages.VERIFICATION_TITLE),s("div",{className:"body margin-top-4 margin-bottom-20"},void 0,p.default.Messages.VERIFICATION_BODY.format()),s(v.default,{grow:0,justify:v.default.Justify.CENTER},void 0,this.renderFields())),s("div",{className:"footer"},void 0,p.default.Messages.VERIFICATION_FOOTER),s(v.default,{className:"margin-top-4 margin-bottom-20",grow:0},void 0,s("div",{className:"footer footer-action"},void 0,p.default.Messages.VERIFICATION_FOOTER_SUPPORT.format({supportURL:g.default.getSubmitRequestURL()})),I,s("div",{className:"footer footer-action"},void 0,p.default.Messages.VERIFICATION_FOOTER_LOGOUT.format({logoutOnClick:this.props.onLogout}))))},t.prototype.handleClick=function(e){var t=this.props.onClick;t&&t(e)},t}(u.default.PureComponent);T.defaultProps={type:E.VerificationTypes.CAPTCHA,onCaptchaChange:E.NOOP,onLogout:E.NOOP},t.default=T,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(314),c=a(f),d=n(28),p=a(d),h=n(2107),g=a(h),m=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.title,a=e.description,o=e.confirmText,r=e.onConfirm;return s(c.default,{className:g.default.modal},void 0,s("img",{className:g.default.image,src:n(3044)}),s("div",{className:g.default.title},void 0,t),s("div",{className:g.default.description},void 0,a),s(p.default,{size:d.ButtonSizes.LARGE,onClick:r},void 0,o))},t}(u.default.PureComponent);t.default=m,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){e.stopPropagation()}t.__esModule=!0;var l=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),u=n(0),f=a(u),c=n(15),d=a(c),p=n(195),h=n(2112),g=a(h),m={HOVERED:"Hovered",UNREAD:"Unread",MUTED:"Muted",DEFAULT:"Default"},v=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a.handleMouseEnter=a.handleMouseEnter.bind(a),a.handleMouseLeave=a.handleMouseLeave.bind(a),a.state={hovered:!1},a}return i(t,e),t.prototype.getMode=function(){var e=this.props,t=e.muted,n=e.collapsed,a=e.unread;return this.state.hovered?m.HOVERED:!t&&n&&a?m.UNREAD:t?m.MUTED:m.DEFAULT},t.prototype.handleClick=function(e){var t=this.props,n=t.onClick,a=t.channel;n&&n(a,e)},t.prototype.handleMouseEnter=function(e){var t=this.props,n=t.onMouseEnter,a=t.channel;this.setState({hovered:!0}),n&&n(e,a)},t.prototype.handleMouseLeave=function(e){var t=this.props,n=t.onMouseLeave,a=t.channel;this.setState({hovered:!1}),n&&n(e,a)},t.prototype.renderName=function(){var e=this.props.channel.name,t=this.getMode();return l(d.default.Child,{className:(0,p.getClass)(g.default,"name",t)},void 0,e)},t.prototype.renderIcons=function(){var e=this.props.children;return 0===f.default.Children.count(e)?null:l(d.default,{grow:0,onClick:s,align:d.default.Align.CENTER,className:"margin-reset"},void 0,e)},t.prototype.render=function(){var e=this.props.onClick,t=this.getMode();return l(d.default,{className:(0,p.getClass)(g.default,"wrapper",t),align:d.default.Align.START,onClick:e&&this.handleClick,onMouseEnter:e&&this.handleMouseEnter,onMouseLeave:e&&this.handleMouseLeave},void 0,this.renderName(),this.renderIcons())},t}(f.default.PureComponent);t.default=v,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2114),c=a(f),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.total,n=e.users;return s("div",{className:c.default.wrapper},void 0,n.toString().padStart(2,"0"),"/",t.toString().padStart(2,"0"))},t}(u.default.PureComponent);t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(5),c=a(f),d=n(15),p=a(d),h=n(1671),g=a(h),m=n(1670),v=a(m),E=n(2115),y=a(E),_=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.collapsed;return s(p.default,{className:n?y.default.listCollapse:y.default.listDefault,direction:n?p.default.Direction.HORIZONTAL:p.default.Direction.VERTICAL,justify:p.default.Justify.START,wrap:n?p.default.Wrap.WRAP:p.default.Wrap.NO_WRAP,align:n?p.default.Align.START:p.default.Align.STRETCH},void 0,t)},t}(u.default.PureComponent),b=s(g.default,{}),S=s(v.default,{}),I=function(e){function t(n){o(this,t);var a=r(this,e.call(this,n));return a.handleClick=a.handleClick.bind(a),a.handleMouseEnter=a.handleMouseEnter.bind(a),a.handleMouseLeave=a.handleMouseLeave.bind(a),a.handleContextMenu=a.handleContextMenu.bind(a),a.state={hovered:!1},a}return i(t,e),t.prototype.handleClick=function(e){var t=this.props,n=t.onClick,a=t.user,o=t.channel;n&&n(e,a,o)},t.prototype.handleMouseEnter=function(e){this.setState({hovered:!0});var t=this.props,n=t.onMouseEnter,a=t.user,o=t.channel;n&&n(e,a,o)},t.prototype.handleMouseLeave=function(e){this.setState({hovered:!1});var t=this.props,n=t.onMouseLeave,a=t.user,o=t.channel;n&&n(e,a,o)},t.prototype.handleContextMenu=function(e){var t=this.props,n=t.onContextMenu,a=t.user,o=t.channel;n&&n(e,a,o)},t.prototype.renderAvatar=function(){var e=this.props,t=e.speaking,n=e.user,a=void 0;return a=t?y.default.avatarSpeaking:y.default.avatarDefault,s(p.default.Child,{wrap:!0,className:(0,c.default)(y.default.avatarContainer,"margin-reset"),grow:0,shrink:0},void 0,s("div",{className:a,style:{backgroundImage:"url("+(n.getAvatarURL("jpg")||"")+")"}}))},t.prototype.renderName=function(){var e=this.props,t=e.nick,n=e.user,a=e.collapsed,o=e.speaking,r=this.state.hovered;if(a)return null;var i=void 0;return i=o?y.default.nameSpeaking:r?y.default.nameHovered:y.default.nameDefault,s(p.default.Child,{className:(0,c.default)(i,"margin-reset")},void 0,t||n.username)},t.prototype.renderIcons=function(){var e=this.props,t=e.mute,n=e.deaf;if(e.collapsed)return null;var a=void 0,o=void 0;return t&&(a=s("div",{className:y.default.iconSpacing},void 0,b)),n&&(o=s("div",{className:y.default.iconSpacing},void 0,S)),null==a&&null==o?null:s(p.default,{wrap:!0,className:"margin-reset",grow:0,shrink:0,align:p.default.Align.CENTER},void 0,a,o)},t.prototype.render=function(){var e=this.props,t=e.onClick,n=e.onContextMenu;return s("div",{className:this.state.hovered?y.default.userHovered:y.default.userDefault,onClick:t&&this.handleClick,onMouseEnter:t&&this.handleMouseEnter,onMouseLeave:t&&this.handleMouseLeave,onContextMenu:n&&this.handleContextMenu},void 0,this.renderAvatar(),this.renderName(),this.renderIcons())},t}(u.default.PureComponent);I.List=_,t.default=I,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2116),c=a(f),d=s("polygon",{fillRule:"nonzero",points:"15 10 10 10 10 15 8 15 8 10 3 10 3 8 8 8 8 3 10 3 10 8 15 8"}),p=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",className:c.default.icon,onClick:this.props.onClick},void 0,d)},t}(u.default.PureComponent);t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.ChannelIconLocked=t.ChannelIconTextLimited=t.ChannelIconVoiceLimited=t.ChannelIconText=t.ChannelIconVoice=void 0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l);t.ChannelIconVoice=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props;return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",className:e.className},void 0,s("path",{style:{opacity:.6},className:e.colorClassName,d:"M9.33333333,2 L9.33333333,3.37333333 C11.26,3.94666667 12.6666667,5.73333333 12.6666667,7.84666667 C12.6666667,9.96 11.26,11.74 9.33333333,12.3133333 L9.33333333,13.6933333 C12,13.0866667 14,10.7 14,7.84666667 C14,4.99333333 12,2.60666667 9.33333333,2 L9.33333333,2 Z M11,7.84666667 C11,6.66666667 10.3333333,5.65333333 9.33333333,5.16 L9.33333333,10.5133333 C10.3333333,10.04 11,9.02 11,7.84666667 L11,7.84666667 Z M2,5.84666667 L2,9.84666667 L4.66666667,9.84666667 L8,13.18 L8,2.51333333 L4.66666667,5.84666667 L2,5.84666667 L2,5.84666667 Z"}))},t}(u.default.PureComponent),t.ChannelIconText=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props;return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",className:e.className},void 0,s("path",{className:e.colorClassName,style:{opacity:.6},d:"M2.27333333,12 L2.74666667,9.33333333 L0.08,9.33333333 L0.313333333,8 L2.98,8 L3.68666667,4 L1.02,4 L1.25333333,2.66666667 L3.92,2.66666667 L4.39333333,0 L5.72666667,0 L5.25333333,2.66666667 L9.25333333,2.66666667 L9.72666667,0 L11.06,0 L10.5866667,2.66666667 L13.2533333,2.66666667 L13.02,4 L10.3533333,4 L9.64666667,8 L12.3133333,8 L12.08,9.33333333 L9.41333333,9.33333333 L8.94,12 L7.60666667,12 L8.08,9.33333333 L4.08,9.33333333 L3.60666667,12 L2.27333333,12 L2.27333333,12 Z M5.02,4 L4.31333333,8 L8.31333333,8 L9.02,4 L5.02,4 L5.02,4 Z",transform:"translate(1.333 2)"}))},t}(u.default.PureComponent),t.ChannelIconVoiceLimited=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.colorClassName;return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",className:t},void 0,s("path",{className:n,style:{opacity:.6},d:"M13.6005009,10 C12.8887426,11.8438372 11.2906136,13.2480521 9.33333333,13.6933333 L9.33333333,12.3133333 C10.5512947,11.950895 11.5614504,11.1062412 12.1398042,10 L13.6005009,10 Z M10.7736513,8.99497564 C10.4978663,9.6613459 9.98676114,10.2040442 9.33333333,10.5133333 L9.33333333,8.99497564 L10.7736513,8.99497564 Z M2,5.84666667 L4.66666667,5.84666667 L8,2.51333333 L8,13.18 L4.66666667,9.84666667 L2,9.84666667 L2,5.84666667 Z"}),s("path",{className:n,fillRule:"nonzero",d:"M15.1,3.2 L15.1,2 C15.1,0.88 14.05,0 13,0 C11.95,0 10.9,0.88 10.9,2 L10.9,3.2 C10.45,3.2 10,3.68 10,4.16 L10,6.96 C10,7.52 10.45,8 10.9,8 L15.025,8 C15.55,8 16,7.52 16,7.04 L16,4.24 C16,3.68 15.55,3.2 15.1,3.2 Z M14,3 L12,3 L12,1.92857143 C12,1.35714286 12.4666667,1 13,1 C13.5333333,1 14,1.35714286 14,1.92857143 L14,3 Z"}))},t}(u.default.PureComponent),t.ChannelIconTextLimited=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.colorClassName;return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",className:t},void 0,s("path",{className:n,style:{opacity:.6},d:"M7.92,4.66666667 L6.50666667,4.66666667 L6.98,2 L5.64666667,2 L5.17333333,4.66666667 L2.50666667,4.66666667 L2.27333333,6 L4.94,6 L4.23333333,10 L1.56666667,10 L1.33333333,11.3333333 L4,11.3333333 L3.52666667,14 L4.86,14 L5.33333333,11.3333333 L9.33333333,11.3333333 L8.86,14 L10.1933333,14 L10.6666667,11.3333333 L13.3333333,11.3333333 L13.5666667,10 L12.2333333,10 L8.74333333,10 L5.56666667,10 L6.27333333,6 L7.92,6 L7.92,4.66666667 Z"}),s("path",{className:n,fillRule:"nonzero",d:"M15.1,3.2 L15.1,2 C15.1,0.88 14.05,0 13,0 C11.95,0 10.9,0.88 10.9,2 L10.9,3.2 C10.45,3.2 10,3.68 10,4.16 L10,6.96 C10,7.52 10.45,8 10.9,8 L15.025,8 C15.55,8 16,7.52 16,7.04 L16,4.24 C16,3.68 15.55,3.2 15.1,3.2 Z M14,3 L12,3 L12,1.92857143 C12,1.35714286 12.4666667,1 13,1 C13.5333333,1 14,1.35714286 14,1.92857143 L14,3 Z"}))},t}(u.default.PureComponent),t.ChannelIconLocked=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props;return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",className:e.className},void 0,s("path",{className:e.colorClassName,style:{opacity:.6},d:"M10.8,7 L10.8,5.5 C10.8,4.1 9.4,3 8,3 C6.6,3 5.2,4.1 5.2,5.5 L5.2,7 C4.6,7 4,7.6 4,8.2 L4,11.7 C4,12.4 4.6,13 5.2,13 L10.7,13 C11.4,13 12,12.4 12,11.8 L12,8.3 C12,7.6 11.4,7 10.8,7 Z M9.5,7 L6.5,7 L6.5,5.5 C6.5,4.7 7.2,4.2 8,4.2 C8.8,4.2 9.5,4.7 9.5,5.5 L9.5,7 Z"}))},t}(u.default.PureComponent)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),n(5)),s=a(i),l=o("path",{d:"M0 0h12v12H0"}),u=function(e){var t=e.className,n=e.foreground,a=e.bg,r=void 0===a?"none":a,i=e.fill,u=void 0===i?"#000000":i,f=e.width,c=void 0===f?12:f,d=e.height;return o("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:c,height:void 0===d?12:d,viewBox:"0 0 12 12"},void 0,o("g",{className:"background",fill:r,fillRule:"evenodd"},void 0,l,o("path",{className:(0,s.default)("fill",n),fill:u,d:"M9.5 3.205L8.795 2.5 6 5.295 3.205 2.5l-.705.705L5.295 6 2.5 8.795l.705.705L6 6.705 8.795 9.5l.705-.705L6.705 6"})))};t.default=u,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0);a(r);n(2308);var i=o("path",{d:"M-4-4h24v24H-4z"}),s=function(e){var t=e.color;return o("svg",{className:"ui-icon ui-icon-dropper",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},void 0,o("g",{className:"ui-icon-bg"},void 0,i,o("path",{style:{fill:void 0===t?"#000000":t},className:"ui-icon-fg",d:"M14.994 1.006C13.858-.257 11.904-.3 10.72.89L8.637 2.975l-.696-.697-1.387 1.388 5.557 5.557 1.387-1.388-.697-.697 1.964-1.964c1.13-1.13 1.3-2.985.23-4.168zm-13.25 10.25c-.225.224-.408.48-.55.764L.02 14.37l1.39 1.39 2.35-1.174c.283-.14.54-.33.765-.55l4.808-4.808-2.776-2.776-4.813 4.803z"})))};t.default=s,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(1),c=s("rect",{width:"16",height:"16"}),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.bg,n=e.fill;return s("svg",{className:"ui-icon ui-icon-facebook",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,viewBox:"0 0 16 16"},void 0,s("g",{className:"ui-icon-bg",fill:t,fillRule:"evenodd"},void 0,s("path",{className:"ui-icon-fg",fill:n,d:"M0,1.99406028 C0,0.892771196 0.894513756,0 1.99406028,0 L14.0059397,0 C15.1072288,0 16,0.894513756 16,1.99406028 L16,14.0059397 C16,15.1072288 15.1054862,16 14.0059397,16 L1.99406028,16 C0.892771196,16 0,15.1054862 0,14.0059397 L0,1.99406028 Z M8.23182341,16 L10.3991764,16 L10.3991764,9.93141161 L12.5663127,9.93141161 L13,7.76405862 L10.3991764,7.76405862 L10.3246195,6.3468265 C10.3246195,5.66107601 10.5049432,5.17342158 11.4698488,5.17342158 L12.974642,5.17385505 L12.974642,3.12202197 C12.7618079,3.09319618 12.3142495,3 11.4644304,3 C9.69001851,3 8.18500859,4.20353112 8.18500859,6.23043964 L8.23182341,7.76405862 L6.06425368,7.76405862 L6.06425368,9.93141161 L8.23182341,9.93141161 L8.23182341,16 Z"}),c))},t}(u.default.PureComponent);d.defaultProps={bg:"none",fill:f.Colors.PRIMARY,width:16,height:16},t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=s("rect",{width:"24",height:"24"}),c=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.foreground;return s("svg",{className:t,width:e.width,height:e.height,onClick:e.onClick,xmlns:"http://www.w3.org/2000/svg"},void 0,s("g",{fill:"none",fillRule:"evenodd"},void 0,f,s("path",{className:n,fill:"#000",d:"M16.5,0.09 L12,4.59 L12,1 L10,1 L10,8 L17,8 L17,6 L13.41,6 L17.91,1.5 L16.5,0.09 L16.5,0.09 Z M1,10 L1,12 L4.59,12 L0.09,16.5 L1.5,17.91 L6,13.41 L6,17 L8,17 L8,10 L1,10 Z",transform:"translate(3 3)"})))},t}(u.default.PureComponent);c.defaultProps={width:24,height:24},t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=s("path",{d:"M0 0H24V24H0z"}),c=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.foreground;return s("svg",{className:t,width:e.width,height:e.height,onClick:e.onClick,xmlns:"http://www.w3.org/2000/svg"},void 0,s("g",{fill:"none",fillRule:"evenodd"},void 0,f,s("path",{className:n,fill:"#000",d:"M7,18 L7,16 L3.41,16 L7.91,11.5 L6.5,10.09 L2,14.59 L2,11 L0,11 L0,18 L7,18 L7,18 Z M11.5,7.91 L16,3.41 L16,7 L18,7 L18,0 L11,0 L11,2 L14.59,2 L10.09,6.5 L11.5,7.91 Z",transform:"translate(3 3)"})))},t}(u.default.PureComponent);c.defaultProps={width:24,height:24},t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(1),c=s("defs",{},void 0,s("polygon",{id:"a",points:"0 15.998 15.995 15.998 15.995 .005 0 .005"})),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.bg,n=e.fill,a=e.width,o=e.height;return s("svg",{className:"ui-icon ui-icon-instagram",xmlns:"http://www.w3.org/2000/svg",width:a,height:o,viewBox:"0 0 16 16"},void 0,c,s("g",{className:"ui-icon-bg",fill:t,fillRule:"evenodd"},void 0,s("path",{className:"ui-icon-fg",fill:n,d:"M4.70012698,0.0531746 C3.84888888,0.092 3.2675238,0.22720635 2.7588254,0.42492063 C2.23292063,0.62926983 1.78692063,0.90273016 1.3422857,1.34733333 C0.89768254,1.79196825 0.62422222,2.23796825 0.41987302,2.76387303 C0.22215872,3.27257143 0.08695238,3.85393651 0.04812698,4.7051746 C0.00920635,5.55819048 0,5.83053968 0,8.00253968 C0,10.1745079 0.00920635,10.4468571 0.04812698,11.299873 C0.08695238,12.1511111 0.22215873,12.7324762 0.41987302,13.2411746 C0.62422222,13.7670794 0.89768254,14.2130794 1.34228572,14.6577143 C1.78692062,15.1023175 2.23292062,15.3757778 2.7588254,15.5801587 C3.2675238,15.7778413 3.8488889,15.9130476 4.70012698,15.951873 C5.55314286,15.9907937 5.82549206,16 7.99749206,16 C10.1694603,16 10.4418095,15.9907937 11.2948254,15.951873 C12.1460635,15.9130476 12.7274286,15.7778413 13.236127,15.5801587 C13.7620317,15.3757778 14.2080317,15.1023175 14.6526667,14.6577143 C15.0972698,14.2130794 15.3707302,13.7670794 15.5751111,13.2411746 C15.7727937,12.7324762 15.908,12.1511111 15.9468254,11.299873 C15.985746,10.4468571 15.9949524,10.1745079 15.9949524,8.00253968 C15.9949524,5.83053968 15.985746,5.55819048 15.9468254,4.7051746 C15.908,3.8539365 15.7727937,3.27257143 15.5751111,2.76387302 C15.3707302,2.23796825 15.0972698,1.79196825 14.6526667,1.34733332 C14.2080317,0.90273016 13.7620317,0.62926984 13.236127,0.42492064 C12.7274286,0.22720634 12.1460635,0.092 11.2948254,0.0531746 C10.4418095,0.01425397 10.1694603,0.00504762 7.99749206,0.00504762 C5.82549206,0.00504762 5.55314286,0.01425397 4.70012698,0.0531746 L4.70012698,0.0531746 Z M8.00001453,2.00504762 C9.95416635,2.00504762 10.185649,2.01251386 10.9573741,2.04772432 C11.6709381,2.08026206 12.0584565,2.19948958 12.3163471,2.29971739 C12.6579641,2.43248289 12.9017646,2.59107525 13.157854,2.84719363 C13.4139723,3.10328295 13.5725647,3.34708347 13.7053302,3.68870053 C13.805558,3.94659105 13.9247856,4.33410953 13.9573233,5.04767346 C13.9925338,5.8193986 14,6.05088127 14,8.00506213 C14,9.95921396 13.9925338,10.1906966 13.9573233,10.9624217 C13.9247856,11.6759857 13.805558,12.0635042 13.7053302,12.3213947 C13.5725647,12.6630117 13.4139723,12.9068123 13.157854,13.1629016 C12.9017646,13.41902 12.6579641,13.5776123 12.3163471,13.7103779 C12.0584565,13.8106057 11.6709381,13.9298332 10.9573741,13.9623709 C10.1857652,13.9975814 9.9543116,14.0050476 8.00001453,14.0050476 C6.04568839,14.0050476 5.81426383,13.9975814 5.04262587,13.9623709 C4.32906195,13.9298332 3.94154347,13.8106057 3.68365294,13.7103779 C3.34203588,13.5776123 3.09823536,13.41902 2.84214604,13.1629016 C2.58605671,12.9068123 2.42743531,12.6630117 2.29466977,12.3213947 C2.19444197,12.0635042 2.07521444,11.6759857 2.04267671,10.9624217 C2.00746628,10.1906966 2,9.95921395 2,8.00506212 C2,6.05088125 2.00746625,5.81939858 2.0426767,5.04767347 C2.07521444,4.33410953 2.19444196,3.94659104 2.29466977,3.68870052 C2.42743531,3.34708346 2.58602767,3.10328294 2.84214604,2.84719362 C3.09823536,2.59107524 3.34203588,2.43248288 3.68365294,2.29971735 C3.94154346,2.19948953 4.32906194,2.08026201 5.04262587,2.04772428 C5.81435097,2.01251381 6.04583365,2.00504758 8.00001453,2.00504758 L8.00001453,2.00504762 Z",mask:"url(#b)"}),s("path",{className:"ui-icon-fg",fill:n,d:"M8.0000119,10 C6.89542535,10 6,9.10457466 6,8.0000119 C6,6.89542535 6.89542534,6 8.0000119,6 C9.10457467,6 10,6.89542534 10,8.0000119 C10,9.10457467 9.10457466,10 8.0000119,10 L8.0000119,10 Z M8.00001546,4 C5.7908468,4 4,5.7908468 4,8.00001546 C4,10.2091532 5.7908468,12 8.00001546,12 C10.2091532,12 12,10.2091532 12,8.00001546 C12,5.7908468 10.2091532,4 8.00001546,4 L8.00001546,4 Z M13,4.00001654 C13,4.55230644 12.5522734,5 11.9999835,5 C11.4477266,5 11,4.55230645 11,4.00001654 C11,3.44772664 11.4477266,3 11.9999835,3 C12.5522734,3 13,3.44772663 13,4.00001654 L13,4.00001654 Z"}),s("rect",{width:a,height:o})))},t}(u.default.PureComponent);d.defaultProps={bg:"none",fill:f.Colors.PRIMARY,width:16,height:16},t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2117),c=a(f),d=s("path",{transform:"translate(18 0) scale(-1 1)",fill:"#FFFFFF",fillRule:"nonzero",d:"M11.5,9 C13.1575,9 14.5,7.6575 14.5,6 C14.5,4.3425 13.1575,3 11.5,3 C9.8425,3 8.5,4.3425 8.5,6 C8.5,7.6575 9.8425,9 11.5,9 Z M4,7 L4,5 L3,5 L3,7 L1,7 L1,8 L3,8 L3,10 L4,10 L4,8 L6,8 L6,7 L4,7 Z M11.5,10 C9.4975,10 6,11.005 6,13 L6,15 L17,15 L17,13 C17,11.005 13.5025,10 11.5,10 Z"}),p=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",onClick:this.props.onClick,className:c.default.icon},void 0,d)},t}(u.default.PureComponent);t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),o("polygon",{points:"0 0 24 0 24 24 0 24"})),s=function(e){return o("svg",{className:"ui-icon-members",width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},void 0,o("g",{fill:"none",fillRule:"evenodd"},void 0,i,o("path",{className:"ui-icon-fg",fill:e.color,fillRule:"nonzero",d:"M16.5,12 C17.88,12 18.99,10.88 18.99,9.5 C18.99,8.12 17.88,7 16.5,7 C15.12,7 14,8.12 14,9.5 C14,10.88 15.12,12 16.5,12 Z M9,11 C10.66,11 11.99,9.66 11.99,8 C11.99,6.34 10.66,5 9,5 C7.34,5 6,6.34 6,8 C6,9.66 7.34,11 9,11 Z M16.5,14 C14.67,14 11,14.92 11,16.75 L11,19 L22,19 L22,16.75 C22,14.92 18.33,14 16.5,14 Z M9,13 C6.67,13 2,14.17 2,16.5 L2,19 L9,19 L9,16.75 C9,15.9 9.33,14.41 11.37,13.28 C10.5,13.1 9.66,13 9,13 Z"})))};t.default=s,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),o("svg",{className:"ui-icon ui-icon-overflow-menu",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},void 0,o("g",{className:"ui-icon-bg",fill:"none",fillRule:"evenodd"},void 0,o("path",{d:"M24 0v24H0V0z"}),o("path",{className:"ui-icon-fg",fill:"#000000",d:"M12 16c1.1045695 0 2 .8954305 2 2s-.8954305 2-2 2-2-.8954305-2-2 .8954305-2 2-2zm0-6c1.1045695 0 2 .8954305 2 2s-.8954305 2-2 2-2-.8954305-2-2 .8954305-2 2-2zm0-6c1.1045695 0 2 .8954305 2 2s-.8954305 2-2 2-2-.8954305-2-2 .8954305-2 2-2z"})))),s=function(){return i};t.default=s,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),o("path",{d:"M0 0h24v24H0"})),s=function(e){var t=e.className,n=e.bg,a=void 0===n?"none":n,r=e.fill,s=void 0===r?"white":r,l=e.width,u=void 0===l?24:l,f=e.height;return o("svg",{className:t,width:u,height:void 0===f?24:f},void 0,o("g",{className:"background",fill:a,fillRule:"evenodd"},void 0,i,o("path",{className:"fill",fill:s,d:"M18.27 18l3.43 3.43-1.27 1.27-4.7-4.7H14v2h2v2H8v-2h2v-2H4c-1.1 0-2-.9-2-2V6c0-.48163917.17254435-.92493514.45887255-1.27112745L1 3.27 2.27 2l2 2h.46l2 2h-.46l10 10h.46l2 2h-.46zM4 6.27V16h9.73L4 6.27zm17.5411274 11.0011274L20 15.73V6h-9.73l-2-2H20c1.1 0 2 .9 2 2v10c0 .4816392-.1725443.9249351-.4588726 1.2711274z"})))};t.default=s,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),o("path",{d:"M0 0h24v24H0"})),s=function(e){var t=e.className,n=e.bg,a=void 0===n?"none":n,r=e.fill,s=void 0===r?"white":r,l=e.width,u=void 0===l?24:l,f=e.height;return o("svg",{className:t,width:u,height:void 0===f?24:f},void 0,o("g",{className:"background",fill:a,fillRule:"evenodd"},void 0,i,o("path",{className:"fill",fill:s,d:"M20 4c1.1 0 2 .9 2 2v10c0 1.1-.9 2-2 2h-6v2h2v2H8v-2h2v-2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h16zm0 12V6H4v10h16z"})))};t.default=s,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=(a(r),o("svg",{className:"ui-icon ui-icon-plus",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 7 7"},void 0,o("g",{className:"ui-icon-fg"},void 0,o("path",{d:"M3 5h1v7H3z"}),o("path",{d:"M0 8h7v1H0z"})))),s=function(){return i};t.default=s,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=s("path",{d:"M0 0L24 0 24 24 0 24"}),c=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.foreground;return s("svg",{className:t,width:e.width,height:e.height,onClick:e.onClick,xmlns:"http://www.w3.org/2000/svg"},void 0,s("g",{fill:"none",fillRule:"evenodd"},void 0,s("path",{className:n,fill:"#000",d:"M19 13L13 13 13 19 11 19 11 13 5 13 5 11 11 11 11 5 13 5 13 11 19 11",transform:"rotate(45 12 12)"}),f))},t}(u.default.PureComponent);c.defaultProps={width:24,height:24},t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=s("path",{d:"M0 0L24 0 24 24 0 24"}),c=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.foreground;return s("svg",{className:t,width:e.width,height:e.height,onClick:e.onClick,xmlns:"http://www.w3.org/2000/svg"},void 0,s("g",{fill:"none",fillRule:"evenodd"},void 0,f,s("path",{className:n,fill:"#000",d:"M20,17 C21.1,17 21.99,16.1 21.99,15 L22,5 C22,3.89 21.1,3 20,3 L4,3 C2.89,3 2,3.89 2,5 L2,15 C2,16.1 2.89,17 4,17 L11,17 L11,19 L9,19 L9,21 L15,21 L15,19 L13,19 L13,17 L20,17 Z M13,13.47 L13,11.28 C10.22,11.28 8.39,12.13 7,14 C7.56,11.33 9.11,8.67 13,8.13 L13,6 L17,9.73 L13,13.47 Z"})))},t}(u.default.PureComponent);c.defaultProps={width:24,height:24},t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(1),c=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.bg,n=e.fill,a=e.width,o=e.height;return s("svg",{className:"ui-icon ui-icon-twitter",xmlns:"http://www.w3.org/2000/svg",width:a,height:o,viewBox:"0 0 20 16"},void 0,s("g",{className:"ui-icon-bg",fill:t,fillRule:"evenodd"},void 0,s("path",{className:"ui-icon-fg",fill:n,d:"M1,14.1538462 L1.95,14.1538462 C3.73125,14.1538462 5.5125,13.5384615 6.81875,12.4307692 C5.15625,12.4307692 3.73125,11.2 3.1375,9.6 C3.375,9.6 3.6125,9.72307692 3.85,9.72307692 C4.20625,9.72307692 4.5625,9.72307692 4.91875,9.6 C3.1375,9.23076923 1.7125,7.63076923 1.7125,5.66153846 C2.1875,5.90769231 2.78125,6.15384615 3.49375,6.15384615 C2.425,5.41538462 1.83125,4.18461538 1.83125,2.70769231 C1.83125,1.96923077 2.06875,1.23076923 2.30625,0.615384615 C4.20625,3.07692308 7.05625,4.67692308 10.38125,4.8 C10.2625,4.67692308 10.2625,4.30769231 10.2625,4.06153846 C10.2625,1.84615385 12.04375,0 14.18125,0 C15.25,0 16.31875,0.492307692 17.03125,1.23076923 C17.8625,1.10769231 18.8125,0.738461538 19.525,0.246153846 C19.2875,1.23076923 18.575,1.96923077 17.8625,2.46153846 C18.575,2.46153846 19.2875,2.21538462 20,1.84615385 C19.525,2.70769231 18.8125,3.32307692 18.1,3.93846154 L18.1,4.43076923 C18.1,9.84615385 14.18125,16 6.9375,16 C4.68125,16 2.6625,15.3846154 1,14.1538462 Z"}),s("rect",{width:a,height:o})))},t}(u.default.PureComponent);c.defaultProps={bg:"none",fill:f.Colors.PRIMARY,width:20,height:16},t.default=c,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2119),c=a(f),d=s("path",{d:"M13.62,5.22666667 C13.8666667,5.88 14,6.59333333 14,7.33333333 L14,12.6666667 C14,13.7712362 12.6666667,14 12.6666667,14 L10,14 L10,8.84666667 L6,12.8466667 L6,14 L4.84666667,14 L3.18,15.6666667 L2.33333333,14.8133333 L14.1466667,3 L15,3.84666667 L13.62,5.22666667 Z M8,1.33333333 C9.68666667,1.33333333 11.2133333,2.02666667 12.3,3.14666667 L11.36,4.09333333 C10.5133333,3.21333333 9.33333333,2.66666667 8,2.66666667 C5.42267117,2.66666667 3.33333333,4.7560045 3.33333333,7.33333333 L3.33333333,8.66666667 L6,8.66666667 L6,9.45333333 L2.33333333,13.1133333 C2.12666667,12.7933333 2,12.4133333 2,12 L2,7.33333333 C2,4.01962483 4.6862915,1.33333333 8,1.33333333 L8,1.33333333 Z M12.6666667,8.66666667 L12.6666667,7.33333333 C12.6666667,6.97333333 12.6266667,6.62666667 12.5533333,6.29333333 L10.18,8.66666667 L12.6666667,8.66666667 Z",transform:"translate(16 0) scale(-1 1)"}),p=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",className:c.default.icon},void 0,d)},t}(u.default.PureComponent);t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=n(2120),c=a(f),d=s("path",{fill:"#FFFFFF",d:"M10.6666667,6 C10.6666667,6.79333333 10.44,7.53333333 10.0666667,8.18666667 L9.24666667,7.36666667 C9.42666667,6.95333333 9.53333333,6.49333333 9.53333333,6 L10.6666667,6 L10.6666667,6 Z M8,6.10666667 L4,2.12 L4,2 C4,0.8954305 4.8954305,2.96059473e-16 6,0 C7.1045695,0 8,0.8954305 8,2 L8,6 L8,6.10666667 L8,6.10666667 Z M0.846666667,0.666666667 L12,11.82 L11.1533333,12.6666667 L8.36,9.87333333 C7.84666667,10.18 7.27333333,10.3866667 6.66666667,10.48 L6.66666667,12.6666667 L5.33333333,12.6666667 L5.33333333,10.48 C3.14666667,10.1533333 1.33333333,8.27333333 1.33333333,6 L2.46666667,6 C2.46666667,8 4.16,9.4 6,9.4 C6.54,9.4 7.06666667,9.27333333 7.54,9.05333333 L6.43333333,7.94666667 L6,8 C4.8954305,8 4,7.1045695 4,6 L4,5.52 L0,1.51333333 L0.846666667,0.666666667 Z",transform:"translate(2 1.5)"}),p=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){return s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",className:c.default.icon},void 0,d)},t}(u.default.PureComponent);t.default=p,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=s("path",{d:"M0,0 L24,0 L24,24 L0,24 L0,0 Z M0,0 L24,0 L24,24 L0,24 L0,0 Z"}),c=s("rect",{width:"24",height:"24"}),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.foreground,a=e.line;return s("svg",{className:t,width:e.width,height:e.height,onClick:e.onClick,xmlns:"http://www.w3.org/2000/svg"},void 0,s("g",{fill:"none",fillRule:"evenodd"},void 0,f,c,s("path",{className:n,fill:"#000",fillRule:"nonzero",d:"M21,6.5 L17,10.5 L17,7 C17,6.45 16.55,6 16,6 L9.82,6 L21,17.18 L21,6.5 Z M4.73,6 L4,6 C3.45,6 3,6.45 3,7 L3,17 C3,17.55 3.45,18 4,18 L16,18 C16.21,18 16.39,17.92 16.54,17.82 L4.73,6 Z"}),s("polygon",{className:a,fill:"#F04747",fillRule:"nonzero",points:"3.27 2 2 3.27 19.73 21 21 19.73"})))},t}(u.default.PureComponent);d.defaultProps={width:24,height:24},t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),l=n(0),u=a(l),f=s("path",{d:"M0 0L24 0 24 24 0 24"}),c=s("path",{d:"M0 0H24V24H0z"}),d=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.foreground;return s("svg",{className:t,width:e.width,height:e.height,onClick:e.onClick,xmlns:"http://www.w3.org/2000/svg"},void 0,s("g",{fill:"none",fillRule:"evenodd"},void 0,f,s("path",{className:n,fill:"#000",fillRule:"nonzero",d:"M17,10.5 L17,7 C17,6.45 16.55,6 16,6 L4,6 C3.45,6 3,6.45 3,7 L3,17 C3,17.55 3.45,18 4,18 L16,18 C16.55,18 17,17.55 17,17 L17,13.5 L21,17.5 L21,6.5 L17,10.5 Z"}),c))},t}(u.default.PureComponent);d.defaultProps={width:24,height:24},t.default=d,e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){e&&t&&f.set(e,t)}function r(e,t){return i(e)?new Promise(function(t){return t(s(e))}):new Promise(function(n,a){u.default.ensure(t).then(function(){if(i(e))return n(s(e));a()},a)})}function i(e){return f.has(e)}function s(e){return f.get(e)}t.__esModule=!0;var l=n(843),u=a(l),f=new Map;window.discordRegisterAnimation=o,t.default={get:s,load:r,has:i,register:o},e.exports=t.default},function(e,t,n){"use strict";(function(e){function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e){return e===E.ME||/^\d+$/.test(e)}function i(t){u.default.isDispatching()?e.nextTick(t):t()}function s(){var e=this.state,t=e.routes,n=e.params,a=this.state.location.query;if(a.uuid){var s=n.channelId,l=n.guildId,u=a.uuid,f=a.utm_campaign,d=a.utm_content,h=a.utm_medium,m=a.utm_source,y=a.utm_term,_=o(a,["uuid","utm_campaign","utm_content","utm_medium","utm_source","utm_term"]),b={tracking_id:u,channel_id:s,guild_id:r(l)&&l!==E.ME?l:null,utm_campaign:f,utm_content:d,utm_medium:h,utm_source:m,utm_term:y,path:(t[1]||{}).path};g.default.track(E.AnalyticEvents.EMAIL_CLICKED,b);var S=Object.assign({},this.state.location,{query:_});i(function(){return v.default.replaceWith(S)})}else t.some(function(e){return"channels"===e.componentType})&&i(function(){var e=n.guildId||E.ME;r(e)?(p.default.selectGuild(e),c.default.selectChannel(e,n.channelId,a.jump)):v.default.replaceWith(E.Routes.ME)})}t.__esModule=!0,t.routerOnUpdate=s;var l=n(4),u=a(l),f=n(59),c=a(f),d=n(63),p=a(d),h=n(29),g=a(h),m=n(42),v=a(m),E=n(1)}).call(t,n(45))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=r(e).split(""),n=s(e),a=0;a<n.gaps.length;){var o=n.gaps[a]+a;if(!(o<t.length))break;t.splice(o,0," "),a+=1}return t.join("")}function r(e){return e.replace(c,"")}function i(e){var t=r(e);return o(t,s(t))}function s(e){var t=r(e);return t?(0,u.default)(t)[0]||f:f}t.__esModule=!0;var l=n(685),u=a(l),f={type:"",gaps:[4,8,12],lengths:[16],code:{name:"CVV",size:3}},c=/[^0-9]/g;t.default={DEFAULT_CARD_TYPE:f,prettifyCreditCardNumber:o,formatCreditCardNumber:i,getCreditCardType:s,cleanCardNumber:r},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){e.findEntityRanges(function(e){var t=e.getEntity();return null!==t&&l.Entity.get(t).getType()===n},t)}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[];return Object.keys(e).forEach(function(n){var a=e[n];t.push({strategy:function(e,t){return o(e,t,n)},component:a.component})}),t}function i(e,t){var n=!1,a=[];return e.forEach(function(t,o){var r=e[o];a.push(t.getFullMatch()),p.IS_SEARCH_ANSWER_TOKEN.test(t.type)&&(r&&r.type!==d.default.NON_TOKEN_TYPE||!r)&&(n=!0,a.push(" "))}),n?(0,u.replaceAllContent)(a.join(""),t):t}function s(e,t){var n=t.getSelection(),a=n.focusOffset,o=n.anchorOffset;return(0,f.getSelectionScope)(e,a,o)}t.__esModule=!0,t.matchColonGroup=o,t.generateDecorators=r,t.cleanQueryTokens=i,t.getSelectionScope=s;var l=n(344),u=n(835),f=n(388),c=n(366),d=a(c),p=n(1)},function(e,t,n){"use strict";function a(e){return e.split(".")[0]}t.__esModule=!0,t.extractId=a},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.resolveThunk=void 0;var o=n(7),r=a(o),i=t.resolveThunk=function(e){return"function"==typeof e?e():e};t.default=r.default.curry(function(e,t,n){return i(t)?e(n):n({})})},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,i.default)(e).map(l.default.getUser).filter(function(e){return null!=e}).unshift(l.default.getCurrentUser()).sortBy(function(e){return e.username.toLowerCase()}).map(function(e){return{key:e.id,user:e}}).value()}t.__esModule=!0,t.getRecipients=o;var r=n(7),i=a(r),s=n(10),l=a(s)},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(687),u=o(l),f=n(161),c=o(f),d=c.default.create("Queue"),p=function(){function e(t){var n=t.defaultRetryAfter,a=void 0===n?100:n,o=t.logger,r=void 0===o?d:o;i(this,e),this.queue=new u.default,this.timeout=null,this.draining=!1,this.defaultRetryAfter=a,this.logger=r}return e.prototype.enqueue=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.queue.push({message:e,completed:t,started:n,progress:a}),this._drainIfNecessary()},e.prototype._drainIfNecessary=function(){var e=this;if(null===this.timeout&&0!==this.queue.length&&this.draining!==!0){this.draining=!0;var t=this.queue.shift(),n=t.message,o=r(t,["message"]),i=function(t,r){if(e.draining=!1,t){var i=t.retryAfter||e.defaultRetryAfter;e.logger.info("Rate limited. Delaying draining of queue for "+i+" ms."),e.timeout=setTimeout(function(){e.queue.unshift(s({message:n},o)),e.timeout=null,e._drainIfNecessary()},i)}else{a(function(){return e._drainIfNecessary()});try{o.completed(r)}catch(e){console.error(e)}}};this.drain(n,i,o.started,o.progress)}},e.prototype.drain=function(e,t,n,a){throw"Not Implemented"},e}();t.default=p,e.exports=t.default}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=void 0,a=void 0;switch(e){case r.RTCConnectionStates.CONNECTED:n="connected",a=s.default.Messages.CONNECTION_STATUS_CONNECTED;break;case r.RTCConnectionStates.CONNECTING:n="connecting",a=s.default.Messages.CONNECTION_STATUS_CONNECTING;break;case r.RTCConnectionStates.AUTHENTICATING:n="connecting",a=s.default.Messages.CONNECTION_STATUS_AUTHENTICATING;break;case r.RTCConnectionStates.AWAITING_ENDPOINT:n="connecting",a=s.default.Messages.CONNECTION_STATUS_AWAITING_ENDPOINT;break;case r.RTCConnectionStates.RTC_CONNECTED:n="connected",a=t?s.default.Messages.CONNECTION_STATUS_VIDEO_CONNECTED:s.default.Messages.CONNECTION_STATUS_VOICE_CONNECTED;break;case r.RTCConnectionStates.RTC_CONNECTING:n="connecting",a=s.default.Messages.CONNECTION_STATUS_RTC_CONNECTING;break;case r.RTCConnectionStates.ICE_CHECKING:n="connecting",a=s.default.Messages.CONNECTION_STATUS_ICE_CHECKING;break;case r.RTCConnectionStates.NO_ROUTE:n="error",a=s.default.Messages.CONNECTION_STATUS_NO_ROUTE;break;case r.RTCConnectionStates.RTC_DISCONNECTED:n="error",a=s.default.Messages.CONNECTION_STATUS_RTC_DISCONNECTED;break;case r.RTCConnectionStates.DISCONNECTED:default:n="error",a=s.default.Messages.CONNECTION_STATUS_DISCONNECTED}return{connectionStatus:n,connectionStatusText:a}}t.__esModule=!0;var r=n(1),i=n(3),s=a(i);t.default={getStatus:o},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){m.default.showNotification(f.default.getUserAvatarURL(e),e.username,t,{tag:e.id,onClick:n})}function r(e){o(e,_.default.Messages.NOTIFICATION_PENDING_FRIEND_REQUEST,function(){l.default.transitionTo(b.Routes.FRIENDS),d.default.setSection(b.FriendsSections.PENDING)})}function i(e){o(e,_.default.Messages.NOTIFICATION_ACCEPTED_FRIEND_REQUEST,function(){h.default.openPrivateChannel(E.default.getCurrentUser().id,e.id)})}t.__esModule=!0,t.showPendingNotification=r,t.showAcceptedNotification=i;var s=n(42),l=a(s),u=n(48),f=a(u),c=n(350),d=a(c),p=n(79),h=a(p),g=n(352),m=a(g),v=n(10),E=a(v),y=n(3),_=a(y),b=n(1)},function(e,t,n){"use strict";function a(e){return null==e||"string"!=typeof e?"":""+e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}t.__esModule=!0,t.upperCaseFirstChar=a},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(){var e=l.default.restrictedGuilds;return 0===i.default.totalUnavailableGuilds&&(e=e.filter(function(e){return null!=f.default.getGuild(e)})),e}t.__esModule=!0,t.getSanitizedRestrictedGuilds=o;var r=n(266),i=a(r),s=n(13),l=a(s),u=n(12),f=a(u)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),r=n(791),i=a(r),s=n(1538),l=a(s),u=new l.default;window.autoUpdate=u,t.default={checkForUpdates:function(){i.default.getState()===o.ActionTypes.UPDATE_NOT_AVAILABLE&&u.checkForUpdates()},quitAndInstall:function(){i.default.getState()===o.ActionTypes.UPDATE_DOWNLOADED&&u.quitAndInstall()}},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var a=[n(2925),n(2926),n(2927),n(2928),n(2929)],o=n(3027),r={clyde:n(1174)};t.default={DEFAULT_AVATARS:a,BOT_AVATARS:r,DEFAULT_CHANNEL_ICON:o},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){if(["™","©","®"].indexOf(e)>-1)return"";try{return n(2895)("./"+i.default.convert.toCodePoint(e)+".svg")}catch(t){return console.warn(t,"no emoji for",e),""}}t.__esModule=!0;var r=n(481),i=a(r);t.default={getURL:o},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.maxBudgetMinute,n=e.maxBudgetHour,a={minute:{slot:0,budgetUsed:0},hour:{slot:0,budgetUsed:0}};return function(){var e=Date.now(),o=Math.round(e/1e3/60),r=Math.round(e/1e3/60/60);return a.minute.slot!==o&&(a.minute.slot=o,a.minute.budgetUsed=0),a.hour.slot!==r&&(a.hour.slot=r,a.hour.budgetUsed=0),a.minute.budgetUsed<t&&(a.minute.budgetUsed++,a.hour.budgetUsed<n)&&(a.hour.budgetUsed++,!0)}}function r(e){return null!=window.jQuery||null!=window.$||null!=window.BetterDiscord||7!==document.querySelectorAll("script,link").length||e.exception.values.every(function(e){return 1===e.stacktrace.frames.length})}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c.default.embedded&&c.default.updateCrashReporter({user_id:e.id||"",username:e.username||"",email:e.email||""})}function s(){throw new Error("crash")}t.__esModule=!0,t.DSN=void 0,t.hasSuspiciousCode=r,t.updateNativeReporter=i,t.crash=s;var l=n(477),u=a(l),f=n(848),c=a(f),d=(t.DSN="https://fa97a90475514c03a42f80cd36d147c4@sentry.io/140984",o({maxBudgetMinute:1,maxBudgetHour:3}));u.default.setShouldSendCallback(function(e){return!r(e)&&d()})},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return u.default.push(function(a){return s.default.createElement(c.default,r({handleSubmit:e,handleEarlyClose:t},n,a))})}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.showModal=o;var i=n(0),s=a(i),l=n(14),u=a(l),f=n(1296),c=a(f)},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return r({},e,{s:{order:e.u.order,match:s.default.inlineRegex(/^~~([\s\S]+?)~~(?!_)/),parse:e.u.parse},url:r({},e.url,{match:s.default.inlineRegex(/^((https?|steam):\/\/[^\s<]+[^<.,:;"')\]\s])/)}),emoji:{order:s.default.defaultRules.text.order,match:function(e){return c.default.EMOJI_NAME_AND_DIVERSITY_RE.exec(e)},parse:function(e){var t=e[0],n=e[1],a=c.default.convertNameToSurrogate(n);return a?{name:":"+n+":",surrogate:a,src:g.default.getURL(a)}:{type:"text",content:t}}},customEmoji:{order:s.default.defaultRules.text.order,match:function(e){return/^<:(\w+):(\d+)>/.exec(e)},parse:function(e,t,n){var a=(e[0],e[1]),o=e[2],r=n.guildId,i=u.default.getDisambiguatedEmojiContext(r).getById(o),s=!i||i.require_colons;return i&&(a=i.name),{emojiId:o,name:s?":"+a+":":a,src:p.default.getEmojiURL({id:o})}}},text:r({},e.text,{parse:function(e,t,n){return n.nested?{content:e[0]}:t(c.default.translateSurrogatesToInlineEmoji(e[0]),r({},n,{nested:!0}))}})})}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=n(178),s=a(i),l=n(189),u=a(l),f=n(163),c=a(f),d=n(48),p=a(d),h=n(193),g=a(h),m=n(543),v=o,E=n(1692).createRules;o=function(e){return E(v(e))},t.default={createRules:o,parserFor:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=s.default.parserFor(e),a=s.default.reactFor(s.default.ruleOutput(e,"react"));return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;o||(e+="\n\n");var l=n(e,r({inline:o},i));return l=(0,m.flattenAst)(l),l=(0,m.constrainAst)(l),s&&(l=s(l,o)),t?l:a(l)}}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return"string"==typeof e.content?e.content:t(e.content,n)}function r(e){return s({},e,{s:s({},e.s,{react:function(e,t,n){return i("s",{},n.key,t(e.content,n))}}),highlight:{order:e.text.order,match:function(){return null},react:function(e,t,n){return i("span",{className:"highlight"},n.key,e.content)}},paragraph:s({},e.paragraph,{react:function(e,t,n){return i("p",{},n.key,t(e.content,n))}}),link:s({},e.link,{react:function(e,t,n){var a=(0,L.findInvite)(e.target),o=void 0,r=t(e.content,n),s=e.title||(0,R.astToString)(e.content),l=!1,f=T.default.getChannel(C.default.getChannelId());return null!=f&&f.type===m.ChannelTypes.DM&&(l=!A.default.isFriend(f.getRecipientId())),null!=a&&(o=function(e){e&&e.preventDefault(),D.default.acceptInviteAndTransitionToInviteChannel(a,"Markdown Link")}),s!=e.target||l?i(Y.default,{title:s,href:u.default.sanitizeUrl(e.target),onConfirm:s!=e.target?function(){return window.open(e.target,"_blank")}:null},n.key,r):i("a",{title:s,href:u.default.sanitizeUrl(e.target),target:"_blank",rel:"noreferrer",onClick:o},n.key,r)}}),emoji:s({},e.emoji,{react:function(e,t,n){return e.src?i(V.default,{text:e.name,delay:750,position:V.default.TOP},n.key,i("img",{draggable:!1,className:(0,g.default)("emoji",{jumboable:e.jumboable}),alt:e.name,src:e.src})):i("span",{},n.key,e.surrogate)}}),customEmoji:s({},e.customEmoji,{react:function(e,t,n){var a=n.key,o=n.guildId;return i(V.default,{text:function(){var t=_.default.getDisambiguatedEmojiContext(o).getById(e.emojiId);if(t){return!t||t.require_colons?":"+t.name+":":t.name}return e.name},delay:750,position:V.default.TOP},a,i("img",{draggable:!1,className:(0,g.default)("emoji",{jumboable:e.jumboable}),alt:e.name,src:e.src}))}}),mention:s({},e.mention,{handleUserContextMenu:function(e,t,n,a){k.default.openContextMenu(a,function(a){return c.default.createElement(z.default,s({},a,{type:m.ContextMenuTypes.USER_CHANNEL_MENTION,user:e,channelId:t,guildId:n}))})},react:function(e,t,n){var a={className:"mention"},o="span";if(e.color&&(o=F.default,a.color=e.color),!e.userId)return c.default.createElement(o,s({key:n.key},a),t(e.content,n));var r=S.default.getUser(e.userId),l=T.default.getChannel(e.channelId),u=l?l.getGuildId():null;return u&&(a.onContextMenu=this.handleUserContextMenu.bind(this,r,e.channelId,u)),i(G.default,{closeOnScroll:!1,render:function(t){return c.default.createElement(w.default,s({},t,{user:r,guildId:u,channelId:e.channelId}))},position:G.default.RIGHT},n.key,c.default.createElement(o,a,t(e.content,n)))}}),channel:s({},e.channel,{handleClick:function(e,t){null!=e&&null!=t&&E.default.transitionTo(m.Routes.CHANNEL(e,t))},react:function(e,t,n){return i("span",{onClick:this.handleClick.bind(this,e.guildId,e.channelId),className:"mention"},n.key,t(e.content,n))}}),inlineCode:s({},e.inlineCode,{react:function(e,t,n){return i("code",{className:"inline"},n.key,o(e,t,n))}}),codeBlock:s({},e.codeBlock,{react:function(e,t,n){if(e.lang&&null!=p.default.getLanguage(e.lang)){var a=p.default.highlight(e.lang,e.content,!0);return i("pre",{},n.key,i("code",{className:"hljs "+a.language,dangerouslySetInnerHTML:{__html:a.value}}))}return i("pre",{},n.key,i("code",{className:"hljs"},void 0,o(e,t,n)))}}),text:s({},e.text,{react:function(e,t,n){return"string"==typeof e.content?e.content:i("span",{},n.key,t(e.content,n))}})})}t.__esModule=!0;var i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(178),u=a(l),f=n(0),c=a(f),d=n(691),p=a(d),h=n(5),g=a(h),m=n(1),v=n(42),E=a(v),y=n(189),_=a(y),b=n(10),S=a(b),I=n(11),T=a(I),N=n(43),A=a(N),M=n(19),C=a(M),O=n(84),D=a(O),L=n(145),R=n(543),x=n(216),w=a(x),P=n(64),k=a(P),U=n(41),G=a(U),j=n(748),F=a(j),B=n(33),V=a(B),H=n(95),z=a(H),W=n(743),Y=a(W);n(2157),t.default={createRules:r},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default={addOnlineCallback:function(e){window.addEventListener("online",e)},removeOnlineCallback:function(e){window.removeEventListener("online",e)},addOfflineCallback:function(e){window.addEventListener("offline",e)},removeOfflineCallback:function(e){window.removeEventListener("offline",e)},isOnline:function(){var e=navigator.onLine;return void 0===e||e}},e.exports=t.default},function(e,t,n){"use strict";(function(a){function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){null!=T&&T.requestPermission(function(){null!=e&&e(s())})}function s(){return null!=T&&"granted"===T.permission}function l(e,t,n,a){if(a.sound&&(0,p.playSound)(a.sound,a.volume||1),!d.default.disableNotifications&&s()&&(!f.default.embedded||f.default.shouldDisplayNotifications())){var o=a&&a.tag||null,r={icon:e,body:n,tag:o,silent:!0};f.default.embedded&&f.default.isWindows()&&f.default.flashFrame(!0);var i=new T(t,r);return i.onclick=function(){f.default.embedded?f.default.focus():window.focus(),a.onClick&&a.onClick()},S&&setTimeout(function(){return i.close()},5e3),E?i:{close:function(){i.onclose&&i.onclose()}}}}t.__esModule=!0;var u=n(18),f=o(u),c=n(31),d=o(c),p=n(230),h=n(58),g=o(h),m=f.default.embedded&&f.default.isWindows(),v=m&&parseFloat(f.default.require("os").release())<10,E=!0;if(m&&!v){var y=f.default.require("os").release().split("."),_=y[0],b=y[2];E=parseInt(_)>10||parseInt(b)>=15063}var S=v||"Chrome"===g.default.name&&parseFloat(g.default.version,10)<47||"Firefox"===g.default.name&&parseFloat(g.default.version,10)<52;if(f.default.embedded&&f.default.isWindows()){var I=function(){f.default.flashFrame(!1)};window.addEventListener("focus",I),f.default.on("MAIN_WINDOW_FOCUS",I)}var T=window.Notification;if(v){var N,A,M={};f.default.on("NOTIFICATION_CLICK",function(e,t){var n=M[t];null!=n&&(n.onclick(),n.close())}),f.default.send("NOTIFICATIONS_CLEAR"),A=N=function(){function e(t,n){var o=this,i=n.body,s=n.icon;r(this,e),this.id=T._id++,this.onshow=function(){},this.onclick=function(){},this.onclose=function(){},this.title=t,this.body=i,this.icon=s,a(function(){return o.onshow()}),M[this.id]=this,f.default.send("NOTIFICATION_SHOW",{id:this.id,title:this.title,body:this.body,icon:this.icon})}return e.requestPermission=function(e){e()},e.prototype.close=function(){null!=M[this.id]&&(delete M[this.id],f.default.send("NOTIFICATION_CLOSE",this.id),this.onclose())},e}(),N.permission="granted",N._id=0,T=A}t.default={hasPermission:s,requestPermission:i,showNotification:l},e.exports=t.default}).call(t,n(78).setImmediate)},function(e,t,n){"use strict";t.__esModule=!0;var a=n(94);t.default={transitionTo:function(e){a.browserHistory.push(e)},replaceWith:function(e){a.browserHistory.replace(e)},getHistory:function(){return a.browserHistory}},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){window.navigator.mediaDevices.enumerateDevices().then(function(e){var t=l.default.getOutputDevices(),n=(0,d.default)(t).sortBy(function(e){return e.index}).findIndex(function(e){return e.id===l.default.getOutputDeviceId()}),a=t[l.default.getOutputDeviceId()],o=e.filter(function(e){return"audiooutput"===e.kind&&"communications"!==e.deviceId}),r=o[n];null==a||null!=r&&r.label==a.name||(r=o.find(function(e){return e.label==a.name})),h=null!=r?r.deviceId:p}).catch(function(){h=p})}t.__esModule=!0,t.WebAudioSound=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),s=n(27),l=a(s),u=n(18),f=a(u),c=n(7),d=a(c),p="default",h=p;f.default.embedded&&(l.default.addChangeListener(r),r());t.WebAudioSound=function(){function e(t,n){o(this,e),this.name=t,this._volume=n}return e.prototype.loop=function(){this._ensureAudio().then(function(e){e.loop=!0,e.play()})},e.prototype.play=function(){this._ensureAudio().then(function(e){e.loop=!1,e.play()})},e.prototype.stop=function(){this._destroyAudio()},e.prototype._destroyAudio=function(){this._audio&&(this._audio.then(function(e){e.pause(),e.src=""}),this._audio=null)},e.prototype._ensureAudio=function(){var e=this;return this._audio=this._audio||new Promise(function(t,a){var o=new Audio;o.src=n(1227)("./"+e.name+".mp3"),o.onloadeddata=function(){o.volume=Math.min(l.default.getOutputVolume()/100*e._volume,1),f.default.embedded&&o.setSinkId(h),t(o)},o.onerror=function(){return a()},o.onended=function(){return e._destroyAudio()},o.load()}),this._audio},i(e,[{key:"volume",get:function(){return this._volume},set:function(e){this._volume=e,this._ensureAudio().then(function(t){return t.volume=e})}}]),e}()},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}(),r=n(0),i=a(r),s="file-input",l=function(e){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",opacity:0,cursor:e?"not-allowed":"pointer"}},u=i.default.createClass({displayName:"FileInput",getDefaultProps:function(){return{multiple:!1,disabled:!1}},activateUploadDialogue:function(){this.props.embedded?this.handleNativeClick():this._input&&this._input.click()},handleNativeClick:function(){this.props.handleNativeClick(this.props)},handleBrowserInputMouseDown:function(e){e.target.value=null},render:function(){var e=this,t=this.props.disabled;if(this.props.embedded)return o("div",{style:l(t),className:s,onClick:!t&&this.handleNativeClick});var n=void 0;return this.props.filters&&(n=this.props.filters.map(function(e){return e.extensions.map(function(e){return"."+e}).join(",")}).join(",")),i.default.createElement("input",{style:l(t),className:s,disabled:t,type:"file",onMouseDown:this.handleBrowserInputMouseDown,onChange:this.props.onChange,multiple:this.props.multiple,accept:n,ref:function(t){return e._input=t}})}});t.default=u,e.exports=t.default},function(e,t,n){"use strict";e.exports={PRIMARY:"#4f545c",BRAND:"#7289DA",STATUS_RED:"#f04747",STATUS_YELLOW:"#faa61a",STATUS_GREEN:"#43b581",STATUS_GREY:"#747f8d",LINK:"#00b0f4",WHITE:"#ffffff",BLACK:"#000000",SKYPE:"#009DD7",BATTLENET:"#009AE5",STEAM:"#182332",LOL:"#021F25",TWITCH:"#593695",YOUTUBE:"#CB2120",TWITTER:"#1DA1F2",REDDIT:"#5F99CF"}},function(e,t,n){"use strict";e.exports={100:.95,200:.8,300:.6,400:.2,500:0,600:-.32,630:-.411,700:-.6,800:-.7,900:-.95}},function(e,t,n){"use strict";var a=n(1698),o=n(1699),r=n(850),i=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={};for(var n in a)for(var i in o){var s=r.lightness(o[i],a[n]),l=void 0;e?(l=n.replace(/_/g,"-").toLowerCase(),t[l+"-"+i]=s):(l=n,t[l+"_"+i]=s),"500"===i&&(t[l]=s)}return t};e.exports=i},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return e.displayName||e.name||"Component"}function l(e,t){return function(n){var a,l;return l=a=function(a){function s(e){o(this,s);var n=r(this,a.call(this,e));return n.state=t(e),n._handleStoreChange=n._handleStoreChange.bind(n),n}return i(s,a),s.prototype._handleStoreChange=function(){this.setState(t(this.props))},s.prototype.componentWillMount=function(){var t=this;e.forEach(function(e){return e.addChangeListener(t._handleStoreChange)})},s.prototype.componentWillReceiveProps=function(e){(0,p.default)(this.props,e)||this.setState(t(e))},s.prototype.componentWillUnmount=function(){var t=this;e.forEach(function(e){return e.removeChangeListener(t._handleStoreChange)})},s.prototype.render=function(){return c.default.createElement(n,u({},this.props,this.state))},s}(c.default.Component),a.displayName="FluxContainer("+s(n)+")",l}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e};t.default=l;var f=n(0),c=a(f),d=n(274),p=a(d);e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){return{connectDragPreview:e.dragPreview(),connectDragSource:e.dragSource(),isDragging:t.isDragging()}}function u(e,t){return{connectDropTarget:e.dropTarget()}}function f(e){return function(t){var n,a;return(0,E.DropTarget)(e,S,u)((0,E.DragSource)(e,b,l)((a=n=function(e){function n(){return r(this,n),i(this,e.apply(this,arguments))}return s(n,e),n.prototype.componentDidMount=function(){},n.prototype.render=function(){var e,n=this.props,a=n.connectDropTarget,r=n.connectDragPreview,i=n.connectDragSource,s=n.isDragging,l=n.dragClass,u=o(n,["connectDropTarget","connectDragPreview","connectDragSource","isDragging","dragClass"]);return a(i(p("div",{className:(0,v.default)(_.default.draggable,(e={},e[l]=s,e))},void 0,g.default.createElement(t,d({isDragging:s,connectDragPreview:r},u)))))},n}(g.default.Component),n.draggable=!0,n.defaultProps={dragClass:""},n.contextTypes={onHover:g.default.PropTypes.func,onDragStart:g.default.PropTypes.func,onDrop:g.default.PropTypes.func},a)))}}function c(e){return function(t){var n,a;return(0,E.DropTarget)(e,{},function(e,t){return{connectDropTarget:e.dropTarget(),isOver:t.isOver(),didDrop:t.didDrop()}})((a=n=function(e){function n(t){r(this,n);var a=i(this,e.call(this,t));return a.handleHover=a.handleHover.bind(a),a.handleDragStart=a.handleDragStart.bind(a),a.handleDrop=a.handleDrop.bind(a),a}return s(n,e),n.prototype.getChildContext=function(){return{onHover:this.handleHover,onDragStart:this.handleDragStart,onDrop:this.handleDrop}},n.prototype.componentDidUpdate=function(e){var t=this.props,n=t.onDragLeave,a=t.isOver,o=t.didDrop;e.isOver!==a&&a===!1&&o===!1&&n&&n()},n.prototype.handleHover=function(e){if(e!==this._dragging){var t=this.props.onHover;t&&t(e,this._dragging)}},n.prototype.handleDragStart=function(e){if(e!==this._dragging){this._dragging=e;var t=this.props.onDragStart;t&&t(e)}},n.prototype.handleDrop=function(e){this._dragging=null;var t=this.props,n=t.onCancel,a=t.onDrop;e?a&&a(e):n&&n()},n.prototype.render=function(){var e=this.props,n=e.connectDropTarget,a=o(e,["connectDropTarget"]);return n(p("div",{},void 0,g.default.createElement(t,a)))},n}(g.default.PureComponent),n.childContextTypes={onHover:g.default.PropTypes.func,onDragStart:g.default.PropTypes.func,onDrop:g.default.PropTypes.func},a))}}t.__esModule=!0;var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}();t.makeDragItem=f,t.makeDragList=c;var h=n(0),g=a(h),m=n(5),v=a(m),E=n(254),y=n(2121),_=a(y),b={beginDrag:function(e,t,n){var a=e.dragId,o=n.context,r=o.onDragStart,i=o.onHover,s=o.onDrop;return r(a),{dragId:a,onDragStart:r,onHover:i,onDrop:s}},endDrag:function(e,t){(0,t.getItem().onDrop)(t.getDropResult())}},S={drop:function(e){return{dragId:e.dragId}},hover:function(e,t){var n=e.dragId;(0,t.getItem().onHover)(n)}}},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){try{return I(e)}catch(t){return console.warn("unsupported locale",e),o(e.indexOf("-")===-1?y:e.split("-")[0])}}function r(e,t,n){var a=t||o(e);for(var s in a){var l=a[s];if("object"!=(void 0===l?"undefined":p(l))){if(0!==l.length)try{i(n,s,(0,E.getMessage)(l,e))}catch(t){console.warn("Failed parsing intl key '"+s+"' in locale '"+e+"' defaulting to English")}}else r(e,l,s)}}function i(e,t,n){if(e)if(S[e])S[e][t]=n;else{var a;S[e]=(a={},a[t]=n,a)}else S[t]=n}function s(e){if(_!==e){var t=_;_=e;for(var n=Object.keys(S),a=Array.isArray(n),o=0,n=a?n:n[Symbol.iterator]();;){var i;if(a){if(o>=n.length)break;i=n[o++]}else{if(o=n.next(),o.done)break;i=o.value}delete S[i]}r(y),e!==y&&r(e),v.default.locale([_,y]),T&&T(_,t)}}function l(){return(navigator.languages?navigator.languages[0]:null)||navigator.language||navigator.browserLanguage||navigator.userLanguage}function u(){var e=l();e=e||y;var t=b.filter(function(e){return e.enabled}).map(function(e){return e.code});if(t.indexOf(e)!==-1)return e;var n=e.split("-"),a=n[0];return t.indexOf(a)!==-1?a:(e=g.default.find(t,function(t){return t.indexOf("-")&&t.split("-")[0]==e}),e?e:y)}function f(){var e=b.filter(function(e){return e.enabled}).map(function(e){var t=e.code,n=e.name;return{value:t,name:n,localizedName:S[t]||n}});return e.sort(function(e,t){var n=e.name,a=t.name;return n=n.toLowerCase(),a=a.toLowerCase(),n<a?-1:n>a?1:0}),e}function c(){return g.default.find(b,function(e){return e.code==_})}function d(e){var t=e.initalLocale,a=e.getMessages,o=e.getLanguages,r=e.didSetLocale;Intl.__addLocaleData&&Intl.__addLocaleData(n(2559)),I=a,b=o(),T=r,s(t||u())}t.__esModule=!0;var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=n(7),g=a(h),m=n(8),v=a(m),E=n(1704),y="en-US",_=void 0,b=[],S={},I=void 0,T=void 0;t.default={init:d,Messages:S,getAvailableLocales:f,getLocale:function(){return _},getLocaleInfo:c,getDefaultLocale:u,setLocale:s,getSystemLocale:l,getLanguages:function(){return b},translationSiteURL:"https://i18n.discordapp.com"},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=c.default.parserFor(m(e)),n=c.default.reactFor(c.default.ruleOutput(e,"react"));return function(e,a,o){var r=e.indexOf("\n\n")===-1;return r||(e+="\n\n"),n(t(e,{inline:r,context:a,unsafeContext:o}))}}function r(e){var t=c.default.parserFor(e);return function(e,n,a){return t(e+"\n\n",{inline:!1,context:n,unsafeContext:a})}}function i(e,t){if(null==e)return e;e=e.replace(/^\n+|\n+$/g,"");var n=p.test(e);if(d.test(e)||n){n||(e=e.replace(g,""));var a=new u.default(e,t);if(n){var o=a.format,r=h.test(e);a.format=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n={};if(r)for(var a=0,i=Object.keys(e),s=Array.isArray(i),l=0,i=s?i:i[Symbol.iterator]();;){var u;if(s){if(l>=i.length)break;u=i[l++]}else{if(l=i.next(),l.done)break;u=l.value}var f=u,c=e[f];"string"==typeof c&&(n[++a]=c,e[f]=a)}return t?y(o(e),e,n):_(o(e),e,n)},a.plainFormat=o}return a}return e}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(692),u=a(l),f=n(178),c=a(f),d=/\{.+?}/,p=/[~*_]{2}.+?[~*_]{2}|\[.+?]\(.+?\)|\n\n/,h=/!!/,g=/!!/g,m=function(e){return e};m=n(1705);var v=c.default.defaultRules.link,E={newline:c.default.defaultRules.newline,paragraph:c.default.defaultRules.paragraph,url:c.default.defaultRules.url,link:s({},v,{parse:function(e,t,n){var a=v.parse(e,t,n);return a.context=n.context,a}}),strong:c.default.defaultRules.strong,u:c.default.defaultRules.u,br:c.default.defaultRules.br,em:c.default.defaultRules.em,hook:{order:c.default.defaultRules.text.order,match:c.default.inlineRegex(/^\$\[(.*?)\]\((\w+)\)/),parse:function(e,t,n){return{render:n.context[e[2]],content:t(e[1],n)}},react:function(e,t,n){return e.render(t(e.content,n),n.key)}},noparse:{order:c.default.defaultRules.text.order,match:c.default.inlineRegex(/^!!(\d+?)!!/),parse:function(e,t,n){return{type:"text",content:n.unsafeContext[e[1]]}},react:function(e){return e.content}},text:c.default.defaultRules.text},y=o(E),_=r(E);t.default={getMessage:i},e.exports=t.default},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.paragraph.react=function(e,t,n){return i("p",{},n.key,t(e.content,n))},e.link.react=function(e,t,n){var a={};if(null!=e.context){var o=e.context[e.target];o&&o.onClick?(a.onClick=o.onClick,a.onContextMenu=o.onContextMenu):a.onClick=o}return null==a.onClick&&(a.href=f.default.sanitizeUrl(e.target),a.target="_blank"),l.default.createElement("a",r({key:n.key,title:e.title},a),t(e.content,n))},e}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}();t.default=o;var s=n(0),l=a(s),u=n(178),f=a(u);e.exports=t.default},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(){try{return window.Firebug.chrome.isInitialized}catch(e){return!1}}function s(){try{return window.outerWidth-window.innerWidth}catch(e){return 0}}function l(){try{return window.outerHeight-window.innerHeight}catch(e){return 0}}t.__esModule=!0;var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),f=n(74),c=160,d=500,p={VERTICAL:"vertical",HORIZONTAL:"horizontal"},h={open:!1,orientation:null},g=function(e){function t(){a(this,t);var n=o(this,e.call(this));return setInterval(function(){return n.check()},d),n}return r(t,e),t.prototype.check=function(){var e=s()>c,t=l()>c,n=e?p.VERTICAL:p.HORIZONTAL;if(t&&e||!(i()||e||t))h.open&&(h.open=!1,this.emit("changed",h));else{var a=h.open;h={open:!0,orientation:n},a&&h.orientation===n||this.emit("changed",h)}},u(t,[{key:"orientations",get:function(){return Object.values(p)}},{key:"state",get:function(){return h}}]),t}(f.EventEmitter);t.default=g,e.exports=t.default},function(e,t,n){"use strict";function a(e){console.log("%c"+e.SELF_XSS_HEADER,"color: #7289DA; -webkit-text-stroke: 2px black; font-size: 72px; font-weight: bold;"),console.log("%c"+e.SELF_XSS_LINE_1,"font-size: 16px;"),console.log("%c"+e.SELF_XSS_LINE_2,"font-size: 18px; font-weight: bold; color: red;"),console.log("%c"+e.SELF_XSS_LINE_3,"font-size: 16px;")}t.__esModule=!0,t.consoleWarning=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(168),s=(n(111),n(231)),l=n(321),u=n(390),f=function(e){function t(n,r){a(this,t);var i=o(this,e.call(this));return i._a="number"==typeof n?new s(n):n,i._b="number"==typeof r?new s(r):r,i._listeners={},i}return r(t,e),t.prototype.__getValue=function(){return this._a.__getValue()+this._b.__getValue()},t.prototype.addListener=function(e){var t=this;!this._aListener&&this._a.addListener&&(this._aListener=this._a.addListener(function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})})),!this._bListener&&this._b.addListener&&(this._bListener=this._b.addListener(function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})}));var n=guid();return this._listeners[n]=e,n},t.prototype.removeListener=function(e){delete this._listeners[e]},t.prototype.interpolate=function(e){return new u(this,l.create(e))},t.prototype.__attach=function(){this._a.__addChild(this),this._b.__addChild(this)},t.prototype.__detach=function(){this._a.__removeChild(this),this._b.__removeChild(this)},t}(i);e.exports=f},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=(n(111),n(168)),s=n(390),l=n(321),u=function(e){function t(n,r){a(this,t);var i=o(this,e.call(this));return i._a=n,i._modulus=r,i._listeners={},i}return r(t,e),t.prototype.__getValue=function(){return(this._a.__getValue()%this._modulus+this._modulus)%this._modulus},t.prototype.addListener=function(e){var t=this;this._aListener||(this._aListener=this._a.addListener(function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})}));var n=guid();return this._listeners[n]=e,n},t.prototype.removeListener=function(e){delete this._listeners[e]},t.prototype.interpolate=function(e){return new s(this,l.create(e))},t.prototype.__attach=function(){this._a.__addChild(this)},t.prototype.__detach=function(){this._a.__removeChild(this)},t}(i);e.exports=u},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(168),s=(n(111),n(231)),l=n(390),u=n(321),f=function(e){function t(n,r){a(this,t);var i=o(this,e.call(this));return i._a="number"==typeof n?new s(n):n,i._b="number"==typeof r?new s(r):r,i._listeners={},i}return r(t,e),t.prototype.__getValue=function(){return this._a.__getValue()*this._b.__getValue()},t.prototype.addListener=function(e){var t=this;!this._aListener&&this._a.addListener&&(this._aListener=this._a.addListener(function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})})),!this._bListener&&this._b.addListener&&(this._bListener=this._b.addListener(function(){for(var e in t._listeners)t._listeners[e]({value:t.__getValue()})}));var n=guid();return this._listeners[n]=e,n},t.prototype.removeListener=function(e){delete this._listeners[e]},t.prototype.interpolate=function(e){return new l(this,u.create(e))},t.prototype.__attach=function(){this._a.__addChild(this),this._b.__addChild(this)},t.prototype.__detach=function(){this._a.__removeChild(this),this._b.__removeChild(this)},t}(i);e.exports=f},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=n(111),l=n(168),u=n(1714),f=n(854),c=function(e){function t(n){a(this,t);var r=o(this,e.call(this));return n=f.current(n)||{},!n.transform||n.transform instanceof s||(n=i({},n,{transform:new u(n.transform)})),r._style=n,r}return r(t,e),t.prototype.__getValue=function(){var e={};for(var t in this._style){var n=this._style[t];e[t]=n instanceof s?n.__getValue():n}return e},t.prototype.__getAnimatedValue=function(){var e={};for(var t in this._style){var n=this._style[t];n instanceof s&&(e[t]=n.__getAnimatedValue())}return e},t.prototype.__attach=function(){for(var e in this._style){var t=this._style[e];t instanceof s&&t.__addChild(this)}},t.prototype.__detach=function(){for(var e in this._style){var t=this._style[e];t instanceof s&&t.__removeChild(this)}},t}(l);e.exports=c},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(111),s=n(168),l=function(e){function t(n,r){a(this,t);var i=o(this,e.call(this));return i._strings=n,i._values=r,i}return r(t,e),t.prototype.__transformValue=function(e){return e instanceof i?e.__getValue():e},t.prototype.__getValue=function(){for(var e=this._strings[0],t=0;t<this._values.length;++t)e+=this.__transformValue(this._values[t])+this._strings[1+t];return e},t.prototype.__attach=function(){for(var e=0;e<this._values.length;++e)this._values[e]instanceof i&&this._values[e].__addChild(this)},t.prototype.__detach=function(){for(var e=0;e<this._values.length;++e)this._values[e]instanceof i&&this._values[e].__removeChild(this)},t}(s);e.exports=l},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=n(111),l=(n(231),function(e){function t(n,r,i,s,l){a(this,t);var u=o(this,e.call(this));return u._value=n,u._parent=r,u._animationClass=i,u._animationConfig=s,u._callback=l,u.__attach(),u}return r(t,e),t.prototype.__getValue=function(){return this._parent.__getValue()},t.prototype.__attach=function(){this._parent.__addChild(this)},t.prototype.__detach=function(){this._parent.__removeChild(this)},t.prototype.update=function(){this._value.animate(new this._animationClass(i({},this._animationConfig,{toValue:this._animationConfig.toValue.__getValue()})),this._callback)},t}(s));e.exports=l},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(111),s=n(168),l=function(e){function t(n){a(this,t);var r=o(this,e.call(this));return r._transforms=n,r}return r(t,e),t.prototype.__getValue=function(){return this._transforms.map(function(e){var t={};for(var n in e){var a=e[n];t[n]=a instanceof i?a.__getValue():a}return t})},t.prototype.__getAnimatedValue=function(){return this._transforms.map(function(e){var t={};for(var n in e){var a=e[n];t[n]=a instanceof i?a.__getAnimatedValue():a}return t})},t.prototype.__attach=function(){var e=this;this._transforms.forEach(function(t){for(var n in t){var a=t[n];a instanceof i&&a.__addChild(e)}})},t.prototype.__detach=function(){var e=this;this._transforms.forEach(function(t){for(var n in t){var a=t[n];a instanceof i&&a.__removeChild(e)}})},t}(s);e.exports=l},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=(n(111),n(231)),s=n(168),l=n(38),u=n(545),f=function(e){function t(n){a(this,t);var r=o(this,e.call(this)),s=n||{x:0,y:0};return"number"==typeof s.x&&"number"==typeof s.y?(r.x=new i(s.x),r.y=new i(s.y)):(l(s.x instanceof i&&s.y instanceof i,"AnimatedValueXY must be initalized with an object of numbers or AnimatedValues."),r.x=s.x,r.y=s.y),r._listeners={},r}return r(t,e),t.prototype.setValue=function(e){this.x.setValue(e.x),this.y.setValue(e.y)},t.prototype.setOffset=function(e){this.x.setOffset(e.x),this.y.setOffset(e.y)},t.prototype.flattenOffset=function(){this.x.flattenOffset(),this.y.flattenOffset()},t.prototype.__getValue=function(){return{x:this.x.__getValue(),y:this.y.__getValue()}},t.prototype.stopAnimation=function(e){this.x.stopAnimation(),this.y.stopAnimation(),e&&e(this.__getValue())},t.prototype.addListener=function(e){var t=this,n=u(),a=function(n){n.value;e(t.__getValue())};return this._listeners[n]={x:this.x.addListener(a),y:this.y.addListener(a)},n},t.prototype.removeListener=function(e){this.x.removeListener(this._listeners[e].x),this.y.removeListener(this._listeners[e].y),delete this._listeners[e]},t.prototype.getLayout=function(){return{left:this.x,top:this.y}},t.prototype.getTranslateTransform=function(){return[{translateX:this.x},{translateY:this.y}]},t}(s);e.exports=f},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(320),s=n(392),l=n(391),u=function(e){function t(n){a(this,t);var r=o(this,e.call(this));return r._deceleration=void 0!==n.deceleration?n.deceleration:.998,r._velocity=n.velocity,r.__isInteraction=void 0===n.isInteraction||n.isInteraction,r}return r(t,e),t.prototype.start=function(e,t,n){this.__active=!0,this._lastValue=e,this._fromValue=e,this._onUpdate=t,this.__onEnd=n,this._startTime=Date.now(),this._animationFrame=s.current(this.onUpdate.bind(this))},t.prototype.onUpdate=function(){var e=Date.now(),t=this._fromValue+this._velocity/(1-this._deceleration)*(1-Math.exp(-(1-this._deceleration)*(e-this._startTime)));if(this._onUpdate(t),Math.abs(this._lastValue-t)<.1)return void this.__debouncedOnEnd({finished:!0});this._lastValue=t,this.__active&&(this._animationFrame=s.current(this.onUpdate.bind(this)))},t.prototype.stop=function(){this.__active=!1,l.current(this._animationFrame),this.__debouncedOnEnd({finished:!1})},t}(i);e.exports=u},function(e,t,n){"use strict";function a(){this._cache=[]}a.prototype.add=function(e){this._cache.indexOf(e)===-1&&this._cache.push(e)},a.prototype.forEach=function(e){this._cache.forEach(e)},e.exports=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){return void 0===e||null===e?t:e}var s=n(320),l=(n(231),n(392)),u=n(391),f=n(38),c=n(1719),d=function(e){function t(n){a(this,t);var r=o(this,e.call(this));r._overshootClamping=i(n.overshootClamping,!1),r._restDisplacementThreshold=i(n.restDisplacementThreshold,.001),r._restSpeedThreshold=i(n.restSpeedThreshold,.001),r._initialVelocity=n.velocity,r._lastVelocity=i(n.velocity,0),r._toValue=n.toValue,r.__isInteraction=void 0===n.isInteraction||n.isInteraction;var s;return void 0!==n.bounciness||void 0!==n.speed?(f(void 0===n.tension&&void 0===n.friction,"You can only define bounciness/speed or tension/friction but not both"),s=c.fromBouncinessAndSpeed(i(n.bounciness,8),i(n.speed,12))):s=c.fromOrigamiTensionAndFriction(i(n.tension,40),i(n.friction,7)),r._tension=s.tension,r._friction=s.friction,r}return r(t,e),t.prototype.start=function(e,n,a,o){if(this.__active=!0,this._startPosition=e,this._lastPosition=this._startPosition,this._onUpdate=n,this.__onEnd=a,this._lastTime=Date.now(),o instanceof t){var r=o.getInternalState();this._lastPosition=r.lastPosition,this._lastVelocity=r.lastVelocity,this._lastTime=r.lastTime}void 0!==this._initialVelocity&&null!==this._initialVelocity&&(this._lastVelocity=this._initialVelocity),this.onUpdate()},t.prototype.getInternalState=function(){return{lastPosition:this._lastPosition,lastVelocity:this._lastVelocity,lastTime:this._lastTime}},t.prototype.onUpdate=function(){var e=this._lastPosition,t=this._lastVelocity,n=this._lastPosition,a=this._lastVelocity,o=64,r=Date.now();r>this._lastTime+o&&(r=this._lastTime+o);for(var i=1,s=Math.floor((r-this._lastTime)/i),u=0;u<s;++u){var f=i/1e3,c=t,d=this._tension*(this._toValue-n)-this._friction*a,n=e+c*f/2,a=t+d*f/2,p=a,h=this._tension*(this._toValue-n)-this._friction*a;n=e+p*f/2,a=t+h*f/2;var g=a,m=this._tension*(this._toValue-n)-this._friction*a;n=e+g*f/2,a=t+m*f/2;var v=a,E=this._tension*(this._toValue-n)-this._friction*a;n=e+g*f/2,a=t+m*f/2;var y=(c+2*(p+g)+v)/6,_=(d+2*(h+m)+E)/6;e+=y*f,t+=_*f}if(this._lastTime=r,this._lastPosition=e,this._lastVelocity=t,this._onUpdate(e),this.__active){var b=!1;this._overshootClamping&&0!==this._tension&&(b=this._startPosition<this._toValue?e>this._toValue:e<this._toValue);var S=Math.abs(t)<=this._restSpeedThreshold,I=!0;if(0!==this._tension&&(I=Math.abs(this._toValue-e)<=this._restDisplacementThreshold),b||S&&I)return 0!==this._tension&&this._onUpdate(this._toValue),void this.__debouncedOnEnd({finished:!0});this._animationFrame=l.current(this.onUpdate.bind(this))}},t.prototype.stop=function(){this.__active=!1,u.current(this._animationFrame),this.__debouncedOnEnd({finished:!1})},t}(s);e.exports=d},function(e,t,n){"use strict";function a(e){return 3.62*(e-30)+194}function o(e){return 3*(e-8)+25}function r(e,t){return{tension:a(e),friction:o(t)}}function i(e,t){function n(e,t,n){return(e-t)/(n-t)}function r(e,t,n){return t+e*(n-t)}function i(e,t,n){return e*n+(1-e)*t}function s(e,t,n){return i(2*e-e*e,t,n)}function l(e){return 7e-4*Math.pow(e,3)-.031*Math.pow(e,2)+.64*e+1.28}function u(e){return 44e-6*Math.pow(e,3)-.006*Math.pow(e,2)+.36*e+2}function f(e){return 4.5e-7*Math.pow(e,3)-332e-6*Math.pow(e,2)+.1078*e+5.84}function c(e){return e<=18?l(e):e>18&&e<=44?u(e):f(e)}var d=n(e/1.7,0,20);d=r(d,0,.8);var p=n(t/1.7,0,20),h=r(p,.5,200),g=s(d,c(h),.01);return{tension:a(h),friction:o(g)}}e.exports={fromOrigamiTensionAndFriction:r,fromBouncinessAndSpeed:i}},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(320),s=(n(231),n(852)),l=n(392),u=n(391),f=s.inOut(s.ease),c=function(e){function t(n){a(this,t);var r=o(this,e.call(this));return r._toValue=n.toValue,r._easing=void 0!==n.easing?n.easing:f,r._duration=void 0!==n.duration?n.duration:500,r._delay=void 0!==n.delay?n.delay:0,r.__isInteraction=void 0===n.isInteraction||n.isInteraction,r}return r(t,e),t.prototype.start=function e(t,n,a){var o=this;this.__active=!0,this._fromValue=t,this._onUpdate=n,this.__onEnd=a;var e=function(){0===o._duration?(o._onUpdate(o._toValue),o.__debouncedOnEnd({finished:!0})):(o._startTime=Date.now(),o._animationFrame=l.current(o.onUpdate.bind(o)))};this._delay?this._timeout=setTimeout(e,this._delay):e()},t.prototype.onUpdate=function(){var e=Date.now();if(e>=this._startTime+this._duration)return 0===this._duration?this._onUpdate(this._toValue):this._onUpdate(this._fromValue+this._easing(1)*(this._toValue-this._fromValue)),void this.__debouncedOnEnd({finished:!0});this._onUpdate(this._fromValue+this._easing((e-this._startTime)/this._duration)*(this._toValue-this._fromValue)),this.__active&&(this._animationFrame=l.current(this.onUpdate.bind(this)))},t.prototype.stop=function(){this.__active=!1,clearTimeout(this._timeout),u.current(this._animationFrame),this.__debouncedOnEnd({finished:!1})},t}(i);e.exports=c},function(e,t,n){"use strict";function a(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function r(e){return 3*e}function i(e,t,n){return((a(t,n)*e+o(t,n))*e+r(t))*e}function s(e,t,n){return 3*a(t,n)*e*e+2*o(t,n)*e+r(t)}function l(e,t,n,a,o){var r,s,l=0;do s=t+(n-t)/2,r=i(s,a,o)-e,r>0?n=s:t=s;while(Math.abs(r)>c&&++l<d);return s}function u(e,t,n,a){for(var o=0;o<f;++o){var r=s(t,n,a);if(0===r)return t;t-=(i(t,n,a)-e)/r}return t}var f=4,c=1e-7,d=10,p=11,h=1/(p-1),g="function"==typeof Float32Array;e.exports=function(e,t,n,a){function o(t){for(var a=0,o=1,i=p-1;o!==i&&r[o]<=t;++o)a+=h;--o;var f=(t-r[o])/(r[o+1]-r[o]),c=a+f*h,d=s(c,e,n);return d>=.001?u(t,c,e,n):0===d?c:l(t,a,a+h,e,n)}if(!(0<=e&&e<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");var r=g?new Float32Array(p):new Array(p);if(e!==t||n!==a)for(var f=0;f<p;++f)r[f]=i(f*h,e,n);return function(r){return e===t&&n===a?r:0===r?0:1===r?1:i(o(r),t,a)}}},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){var t="node";return function(n){function i(){return a(this,i),o(this,n.apply(this,arguments))}return r(i,n),i.prototype.componentWillUnmount=function(){this._propsAnimated&&this._propsAnimated.__detach()},i.prototype.setNativeProps=function(e){f.current(this.refs[t],e,this)===!1&&this.forceUpdate()},i.prototype.componentWillMount=function(){this.attachProps(this.props)},i.prototype.attachProps=function(e){var n=this,a=this._propsAnimated,o=function(){f.current(n.refs[t],n._propsAnimated.__getAnimatedValue(),n)===!1&&n.forceUpdate()};this._propsAnimated=new u(e,o),a&&a.__detach()},i.prototype.componentWillReceiveProps=function(e){this.attachProps(e)},i.prototype.render=function(){return l.createElement(e,s({},this._propsAnimated.__getValue(),{ref:t}))},i}(l.Component)}var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l=n(0),u=n(851),f=n(853);e.exports=i},function(e,t,n){"use strict";var a="function"==typeof Symbol&&"symbol"==typeof("function"==typeof Symbol?Symbol.iterator:"@@iterator")?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==("function"==typeof Symbol?Symbol.prototype:"@@prototype")?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},r=n(38),i=n(111),s=n(231),l=n(1715),u=n(1708),f=n(1710),c=n(1709),d=n(1712),p=n(1713),h=n(1724),g=(n(320),n(1720)),m=n(1716),v=n(1718),E=function(e,t,n){if(e instanceof l){var a=o({},t),r=o({},t);for(var i in t){var s=t[i],u=s.x,f=s.y;void 0!==u&&void 0!==f&&(a[i]=u,r[i]=f)}return I([n(e.x,a),n(e.y,r)],{stopTogether:!1})}return null},y=function e(t,n){return E(t,n,e)||{start:function(e){var a=t,o=n;a.stopTracking(),n.toValue instanceof i?a.track(new p(a,n.toValue,v,o,e)):a.animate(new v(o),e)},stop:function(){t.stopAnimation()}}},_=function e(t,n){return E(t,n,e)||{start:function(e){var a=t,o=n;a.stopTracking(),n.toValue instanceof i?a.track(new p(a,n.toValue,g,o,e)):a.animate(new g(o),e)},stop:function(){t.stopAnimation()}}},b=function e(t,n){return E(t,n,e)||{start:function(e){var a=t,o=n;a.stopTracking(),a.animate(new m(o),e)},stop:function(){t.stopAnimation()}}},S=function(e){var t=0;return{start:function(n){var a=function a(o){return o.finished?(t++,t===e.length?void(n&&n(o)):void e[t].start(a)):void(n&&n(o))};0===e.length?n&&n({finished:!0}):e[t].start(a)},stop:function(){t<e.length&&e[t].stop()}}},I=function(e,t){var n=0,a={},o=!(t&&t.stopTogether===!1),r={start:function(t){if(n===e.length)return void(t&&t({finished:!0}));e.forEach(function(i,s){var l=function(i){if(a[s]=!0,n++,n===e.length)return n=0,void(t&&t(i));!i.finished&&o&&r.stop()};i?i.start(l):l({finished:!0})})},stop:function(){e.forEach(function(e,t){!a[t]&&e.stop(),a[t]=!0})}};return r},T=function(e){return _(new s(0),{toValue:0,delay:e,duration:0})},N=function(e,t){return I(t.map(function(t,n){return S([T(e*n),t])}))},A=function(e,t){return function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];var l=function e(t,n,o){if("number"==typeof n)return r(t instanceof s,"Bad mapping of type "+(void 0===t?"undefined":a(t))+" for key "+o+", event value must map to AnimatedValue"),void t.setValue(n);r("object"===(void 0===t?"undefined":a(t)),"Bad mapping of type "+(void 0===t?"undefined":a(t))+" for key "+o),r("object"===(void 0===n?"undefined":a(n)),"Bad event of type "+(void 0===n?"undefined":a(n))+" for key "+o);for(var o in t)e(t[o],n[o],o)};e.forEach(function(e,t){l(e,o[t],"arg"+t)}),t&&t.listener&&t.listener.apply(null,o)}};e.exports={Value:s,ValueXY:l,decay:b,timing:_,spring:y,add:function(e,t){return new u(e,t)},multiply:function(e,t){return new f(e,t)},modulo:function(e,t){return new c(e,t)},template:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return new d(e,n)},delay:T,sequence:S,parallel:I,stagger:N,event:A,isAnimated:h,createAnimatedComponent:n(1722),inject:{ApplyAnimatedValues:n(853).inject,InteractionManager:n(855).inject,FlattenStyle:n(854).inject,RequestAnimationFrame:n(392).inject,CancelAnimationFrame:n(391).inject},__PropsOnlyForTests:n(851)}},function(e,t,n){"use strict";function a(e){return e instanceof o}var o=n(111);e.exports=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports={container:"container-iksrDt",accountDetails:"accountDetails-15i-_e",button:"button-1aU9q1"}},function(e,t){e.exports={container:"container-3lnMWU",inner:"inner-ptMwR-",channel:"channel-3YGMy1",button:"button-3WJ5FX",buttonInfo:"buttonInfo-3r6H7z button-3WJ5FX",buttonDisconnect:"buttonDisconnect-3xZpYL button-3WJ5FX"}},function(e,t){e.exports={mirror:"mirror-375_tW"}},function(e,t){e.exports={video:"video-a4NVP9",media:"media-29lK7A"}},function(e,t){e.exports={icon:"icon-30ZEXc",label:"label-3Cr00u",labelDefault:"labelDefault-JXXZAk label-3Cr00u",labelDestructive:"labelDestructive-rHTKeq label-3Cr00u"}},function(e,t){e.exports={container:"container-3NvGrL",header:"header-1tSljs",name:"name-3gtcmp"}},function(e,t){e.exports={container:"container-RYiLUQ",scroller:"scroller-NXV0-d"}},function(e,t){e.exports={container:"container-37-TX2",iconCollapsed:"iconCollapsed-3J-Wg3",iconDefault:"iconDefault-1uAsql"}},function(e,t){e.exports={draggable:"draggable-3SphXU"}},function(e,t){e.exports={flex:"flex-3B1Tl4",alignStart:"alignStart-pnSyE6",alignEnd:"alignEnd-3PVyen",alignCenter:"alignCenter-3VxkQP",alignStretch:"alignStretch-1hwxMa",justifyStart:"justifyStart-2yIZo0",justifyEnd:"justifyEnd-1ceqOU",justifyCenter:"justifyCenter-29N31w",justifyAround:"justifyAround-1CVbTI",justifyBetween:"justifyBetween-1d1Hto",noWrap:"noWrap-v6g9vO",wrap:"wrap-1da0e3",wrapReverse:"wrapReverse-1aj0nh",directionRow:"directionRow-yNbSvJ",directionRowReverse:"directionRowReverse-2eZTxP",directionColumn:"directionColumn-2h-LPR",vertical:"vertical-3X17r5 flex-3B1Tl4 directionColumn-2h-LPR",spacer:"spacer-2Aeq3k",horizontal:"horizontal-2VE-Fw flex-3B1Tl4 directionRow-yNbSvJ",horizontalReverse:"horizontalReverse-k5PqxT flex-3B1Tl4 directionRowReverse-2eZTxP",center:"center-1MLNrE flex-3B1Tl4 justifyCenter-29N31w alignCenter-3VxkQP"}},function(e,t){e.exports={white:"white-2ysxpg",white100:"white100-2kAjpk",white200:"white200-BiCcLz",white300:"white300-s454Cq",white400:"white400-2111oI",white500:"white500-3epNBM",white600:"white600-2WFmpW",white700:"white700-1BKTv5",white800:"white800-3M54cF",white900:"white900-ICJq6t",black:"black-2EoJiN",black100:"black100-W8GZK6",black200:"black200-3eazS_",black300:"black300-3pT37G",black400:"black400-2-VvAh",black500:"black500-3wwMoP",black600:"black600-1n_5rW",black700:"black700-wd6Fsn",black800:"black800-3cKryd",black900:"black900-1l5WbV",primary:"primary-yOxVYk",primary100:"primary100-1HGFk3",primary200:"primary200-3y_1bH",primary300:"primary300-TaNmyx",primary400:"primary400-198wW3",primary500:"primary500-3w3IeJ",primary600:"primary600-1ZepKI",primary700:"primary700-FM-s5h",primary800:"primary800-1GOJWA",primary900:"primary900-3jm1z4",brand:"brand-3lDPr9",brand100:"brand100-6CCYqz",brand200:"brand200-1odbUQ",brand300:"brand300-3GqtzC",brand400:"brand400-31r6-j",brand500:"brand500-kzK6Z0",brand600:"brand600-3i5Efg",brand700:"brand700-1Cbkr5",brand800:"brand800-mUA5cV",brand900:"brand900-1ES5qW",statusRed:"statusRed-2wPP2E",statusRed100:"statusRed100-1duYKU",statusRed200:"statusRed200-32vHEe",statusRed300:"statusRed300-2Xsbo0",statusRed400:"statusRed400-1oeEv9",statusRed500:"statusRed500-2IvHKd",statusRed600:"statusRed600-2WmVa_",statusRed700:"statusRed700-BcUnhx",statusRed800:"statusRed800-1L4g8C",statusRed900:"statusRed900--bKbko",statusYellow:"statusYellow-cQgsnP",statusYellow100:"statusYellow100-3hZBeR",statusYellow200:"statusYellow200-1hJQnO",statusYellow300:"statusYellow300-2TK2Ba",statusYellow400:"statusYellow400-HTrTsI",statusYellow500:"statusYellow500-2vIZrU",statusYellow600:"statusYellow600-38jLpg",statusYellow700:"statusYellow700-1FZHCs",statusYellow800:"statusYellow800-39Ulac",statusYellow900:"statusYellow900-3oP4Mx",statusGreen:"statusGreen-3dwtE1",statusGreen100:"statusGreen100-2z9w4t",statusGreen200:"statusGreen200-12nkR3",statusGreen300:"statusGreen300-3NziX-",statusGreen400:"statusGreen400-qRAj7R",statusGreen500:"statusGreen500-249PtB",statusGreen600:"statusGreen600-2NYPfN",statusGreen700:"statusGreen700-1qfCg1",statusGreen800:"statusGreen800-3YC92Y",statusGreen900:"statusGreen900-1QiDjw",statusGrey:"statusGrey-3qqsQb",statusGrey100:"statusGrey100-2mM0xW",statusGrey200:"statusGrey200-1pTRPH",statusGrey300:"statusGrey300-3RXZ-6",statusGrey400:"statusGrey400-376kMc",statusGrey500:"statusGrey500-1FTFfJ",statusGrey600:"statusGrey600-V5OOyZ",statusGrey700:"statusGrey700-iAlFOa",statusGrey800:"statusGrey800-29ehDw",statusGrey900:"statusGrey900-1y4Ke1",link:"link-3tCCvc",link100:"link100-ZOv9jQ",link200:"link200-1tPFw0",link300:"link300-21mKhh",link400:"link400-3EU8uC",link500:"link500-2XuzMr",link600:"link600-2ZLRZU",link700:"link700-3aWz6y",link800:"link800-38Cu_U",link900:"link900-1SJerJ"}},function(e,t){e.exports={whitney:"whitney-3HnN0E",code:"code-2b_rdy"}},function(e,t){e.exports={weightLight:"weightLight-PcSiKN",weightNormal:"weightNormal-1bk2Db",weightMedium:"weightMedium-3W3WrK",weightSemiBold:"weightSemiBold-W4vlRo",weightBold:"weightBold-1E1CgX"}},function(e,t){e.exports={avatar:"avatar-1BXaQj",profile:"profile-3z9uol",xxlarge:"xxlarge-1arjqQ",xlarge:"xlarge-2lb-HO",large:"large-3yh-62",small:"small-TEeAkX",xsmall:"xsmall-2rXiD4"}},function(e,t){e.exports={wrapper:"wrapper-2xO9RX"}},function(e,t){e.exports={botTag:"botTag-1OwMgs",botTagRegular:"botTagRegular-288-ZL botTag-1OwMgs",botTagInvert:"botTagInvert-gorWR_ botTag-1OwMgs"}},function(e,t){e.exports={button:"button-2t3of8",buttonDefault:"buttonDefault-2OLW-v button-2t3of8",buttonDisabled:"buttonDisabled-6hAf7x button-2t3of8",buttonSubmitting:"buttonSubmitting-2ZQKE5 button-2t3of8",buttonFilled:"buttonFilled-29g7b5",buttonInverted:"buttonInverted-7rpaNT",buttonFilledDefault:"buttonFilledDefault-AELjWf buttonDefault-2OLW-v button-2t3of8 buttonFilled-29g7b5",buttonInvertedDefault:"buttonInvertedDefault-1UdvTn buttonDefault-2OLW-v button-2t3of8 buttonInverted-7rpaNT",buttonFilledDisabled:"buttonFilledDisabled-2RMFZL buttonDisabled-6hAf7x button-2t3of8 buttonFilled-29g7b5",buttonInvertedDisabled:"buttonInvertedDisabled-3KBOgQ buttonDisabled-6hAf7x button-2t3of8 buttonInverted-7rpaNT",buttonFilledSubmitting:"buttonFilledSubmitting-2QWeg_ buttonSubmitting-2ZQKE5 button-2t3of8 buttonFilled-29g7b5",buttonInvertedSubmitting:"buttonInvertedSubmitting-340Yoy buttonSubmitting-2ZQKE5 button-2t3of8 buttonInverted-7rpaNT",buttonOutlined:"buttonOutlined-38aLSW",buttonOutlinedDefault:"buttonOutlinedDefault-3FNQnZ buttonDefault-2OLW-v button-2t3of8 buttonOutlined-38aLSW",buttonOutlinedDisabled:"buttonOutlinedDisabled-1_5I8p buttonDisabled-6hAf7x button-2t3of8 buttonOutlined-38aLSW",buttonOutlinedSubmitting:"buttonOutlinedSubmitting-sxkZ_c buttonSubmitting-2ZQKE5 button-2t3of8 buttonOutlined-38aLSW",buttonGhost:"buttonGhost-2Y7zWJ",buttonGhostDefault:"buttonGhostDefault-2NFSwJ buttonDefault-2OLW-v button-2t3of8 buttonGhost-2Y7zWJ",buttonGhostDisabled:"buttonGhostDisabled-3dk66R buttonDisabled-6hAf7x button-2t3of8 buttonGhost-2Y7zWJ",buttonGhostSubmitting:"buttonGhostSubmitting-dC3Ul5 buttonSubmitting-2ZQKE5 button-2t3of8 buttonGhost-2Y7zWJ",buttonLinkDefault:"buttonLinkDefault-3J8pja buttonDefault-2OLW-v button-2t3of8",buttonLinkDisabled:"buttonLinkDisabled-3Muj91 buttonDisabled-6hAf7x button-2t3of8",buttonLinkSubmitting:"buttonLinkSubmitting-1rbwZL buttonSubmitting-2ZQKE5 button-2t3of8",contents:"contents-4L4hQM",contentsDefault:"contentsDefault-nt2Ym5 contents-4L4hQM",contentsDisabled:"contentsDisabled-rlQTlV contents-4L4hQM",contentsSubmitting:"contentsSubmitting-37_wd9 contents-4L4hQM",contentsFilled:"contentsFilled-3M8HCx contents-4L4hQM",contentsInverted:"contentsInverted-1g2WiO contents-4L4hQM",contentsLink:"contentsLink-2ScJ_P contents-4L4hQM",contentsOutlined:"contentsOutlined-mJF6nQ contents-4L4hQM",contentsGhost:"contentsGhost-2Yp1r8",spinner:"spinner-297QJJ",spinnerInner:"spinnerInner-1wihDb",spinnerItem:"spinnerItem-2VtahD","spinner-pulsing-ellipsis":"spinner-pulsing-ellipsis-3pMVwL",spinnerItemBrandGhost:"spinnerItemBrandGhost-3VpFrO spinnerItem-2VtahD",spinnerItemBrandInverted:"spinnerItemBrandInverted-19oDXJ spinnerItem-2VtahD",spinnerItemBrandLink:"spinnerItemBrandLink-1vNT0k spinnerItem-2VtahD",spinnerItemBrandOutlined:"spinnerItemBrandOutlined-2Nn2YJ spinnerItem-2VtahD",spinnerItemRedGhost:"spinnerItemRedGhost-2cy2bP spinnerItem-2VtahD",spinnerItemRedInverted:"spinnerItemRedInverted-2tLoCt spinnerItem-2VtahD",spinnerItemRedLink:"spinnerItemRedLink-2-It43 spinnerItem-2VtahD",spinnerItemRedOutlined:"spinnerItemRedOutlined-2Psk8A spinnerItem-2VtahD",spinnerItemYellowGhost:"spinnerItemYellowGhost-2303vd spinnerItem-2VtahD",spinnerItemYellowInverted:"spinnerItemYellowInverted-2BA48B spinnerItem-2VtahD",spinnerItemYellowLink:"spinnerItemYellowLink-3eAQG7 spinnerItem-2VtahD",spinnerItemYellowOutlined:"spinnerItemYellowOutlined-Y4KaA0 spinnerItem-2VtahD",spinnerItemGreyGhost:"spinnerItemGreyGhost-j_PdzK spinnerItem-2VtahD",spinnerItemGreyInverted:"spinnerItemGreyInverted-3jSsEW spinnerItem-2VtahD",spinnerItemGreyLink:"spinnerItemGreyLink-3AAnkT spinnerItem-2VtahD",spinnerItemGreyOutlined:"spinnerItemGreyOutlined-36xPYC spinnerItem-2VtahD",spinnerItemGreenGhost:"spinnerItemGreenGhost-3DAsnn spinnerItem-2VtahD",spinnerItemGreenInverted:"spinnerItemGreenInverted-UfGo6x spinnerItem-2VtahD",spinnerItemGreenLink:"spinnerItemGreenLink-2qlUv9 spinnerItem-2VtahD",spinnerItemGreenOutlined:"spinnerItemGreenOutlined-1HrPlU spinnerItem-2VtahD",spinnerItemLinkGhost:"spinnerItemLinkGhost-1Hv-7W spinnerItem-2VtahD",spinnerItemLinkInverted:"spinnerItemLinkInverted-e1QL_B spinnerItem-2VtahD",spinnerItemLinkLink:"spinnerItemLinkLink-kKJ4VV spinnerItem-2VtahD",spinnerItemLinkOutlined:"spinnerItemLinkOutlined-2OPXhg spinnerItem-2VtahD",spinnerItemBrandFilled:"spinnerItemBrandFilled-2hG2hi spinnerItem-2VtahD",spinnerItemGreenFilled:"spinnerItemGreenFilled-1HUg6C spinnerItem-2VtahD",spinnerItemGreyFilled:"spinnerItemGreyFilled-1FI_ua spinnerItem-2VtahD",spinnerItemLinkFilled:"spinnerItemLinkFilled-13bfdU spinnerItem-2VtahD",spinnerItemRedFilled:"spinnerItemRedFilled-333gB0 spinnerItem-2VtahD",spinnerItemWhiteGhost:"spinnerItemWhiteGhost-12siJ8 spinnerItem-2VtahD",spinnerItemWhiteInverted:"spinnerItemWhiteInverted-segyK0 spinnerItem-2VtahD",spinnerItemWhiteLink:"spinnerItemWhiteLink-2Cyqzu spinnerItem-2VtahD",spinnerItemWhiteOutlined:"spinnerItemWhiteOutlined-2P35Nr spinnerItem-2VtahD",spinnerItemYellowFilled:"spinnerItemYellowFilled-2IlxDH spinnerItem-2VtahD",spinnerItemWhiteFilled:"spinnerItemWhiteFilled-izC6So spinnerItem-2VtahD",spinnerItemPrimaryFilled:"spinnerItemPrimaryFilled-15QNJc spinnerItem-2VtahD",spinnerItemPrimaryGhost:"spinnerItemPrimaryGhost-RXzhxI spinnerItem-2VtahD",spinnerItemPrimaryInverted:"spinnerItemPrimaryInverted-3GwwXd spinnerItem-2VtahD",spinnerItemPrimaryLink:"spinnerItemPrimaryLink-2j9hL3 spinnerItem-2VtahD",spinnerItemPrimaryOutlined:"spinnerItemPrimaryOutlined-3hYfFs spinnerItem-2VtahD",spinnerItemTransparentFilled:"spinnerItemTransparentFilled-12pGzr spinnerItem-2VtahD",spinnerItemTransparentGhost:"spinnerItemTransparentGhost-1qvt3f spinnerItem-2VtahD",spinnerItemTransparentInverted:"spinnerItemTransparentInverted-MRKdHI spinnerItem-2VtahD",spinnerItemTransparentLink:"spinnerItemTransparentLink-3enM_k spinnerItem-2VtahD",spinnerItemTransparentOutlined:"spinnerItemTransparentOutlined-3arSgH spinnerItem-2VtahD",buttonBrandFilled:"buttonBrandFilled-3Mv0Ra",buttonBrandFilledDefault:"buttonBrandFilledDefault-2Rs6u5 buttonFilledDefault-AELjWf buttonDefault-2OLW-v button-2t3of8 buttonFilled-29g7b5 buttonBrandFilled-3Mv0Ra",buttonBrandFilledDisabled:"buttonBrandFilledDisabled-3fqsF3 buttonFilledDisabled-2RMFZL buttonDisabled-6hAf7x button-2t3of8 buttonFilled-29g7b5 buttonBrandFilled-3Mv0Ra",buttonBrandFilledSubmitting:"buttonBrandFilledSubmitting-IkviWC buttonFilledSubmitting-2QWeg_ buttonSubmitting-2ZQKE5 button-2t3of8 buttonFilled-29g7b5 buttonBrandFilled-3Mv0Ra",buttonBrandInverted:"buttonBrandInverted-VFL7Yc",buttonBrandInvertedDefault:"buttonBrandInvertedDefault-uUmgsD buttonInvertedDefault-1UdvTn buttonDefault-2OLW-v button-2t3of8 buttonInverted-7rpaNT buttonBrandInverted-VFL7Yc",buttonBrandInvertedDisabled:"buttonBrandInvertedDisabled-3AvUgL buttonInvertedDisabled-3KBOgQ buttonDisabled-6hAf7x button-2t3of8 buttonInverted-7rpaNT buttonBrandInverted-VFL7Yc",buttonBrandInvertedSubmitting:"buttonBrandInvertedSubmitting-1yBj4O buttonInvertedSubmitting-340Yoy buttonSubmitting-2ZQKE5 button-2t3of8 buttonInverted-7rpaNT buttonBrandInverted-VFL7Yc",buttonBrandOutlined:"buttonBrandOutlined-2ljRix",buttonBrandOutlinedDefault:"buttonBrandOutlinedDefault-3SJOg5 buttonOutlinedDefault-3FNQnZ buttonDefault-2OLW-v button-2t3of8 buttonOutlined-38aLSW buttonBrandOutlined-2ljRix",buttonBrandOutlinedDisabled:"buttonBrandOutlinedDisabled-1N4J-K buttonOutlinedDisabled-1_5I8p buttonDisabled-6hAf7x button-2t3of8 buttonOutlined-38aLSW buttonBrandOutlined-2ljRix",buttonBrandOutlinedSubmitting:"buttonBrandOutlinedSubmitting-3c7sY- buttonOutlinedSubmitting-sxkZ_c buttonSubmitting-2ZQKE5 button-2t3of8 buttonOutlined-38aLSW buttonBrandOutlined-2ljRix",buttonBrandLink:"buttonBrandLink-3csEAP",buttonBrandLinkDefault:"buttonBrandLinkDefault-1bjP4F buttonLinkDefault-3J8pja buttonDefault-2OLW-v button-2t3of8 buttonBrandLink-3csEAP",buttonBrandLinkDisabled:"buttonBrandLinkDisabled-hrs87b buttonLinkDisabled-3Muj91 buttonDisabled-6hAf7x button-2t3of8 buttonBrandLink-3csEAP",buttonBrandLinkSubmitting:"buttonBrandLinkSubmitting-1iQ9IB buttonLinkSubmitting-1rbwZL buttonSubmitting-2ZQKE5 button-2t3of8 buttonBrandLink-3csEAP",buttonBrandGhost:"buttonBrandGhost-1-Lmhc",buttonBrandGhostDefault:"buttonBrandGhostDefault-2JCnWW buttonGhostDefault-2NFSwJ buttonDefault-2OLW-v button-2t3of8 buttonGhost-2Y7zWJ buttonBrandGhost-1-Lmhc",buttonBrandGhostDisabled:"buttonBrandGhostDisabled-2hEISa buttonGhostDisabled-3dk66R buttonDisabled-6hAf7x button-2t3of8 buttonGhost-2Y7zWJ buttonBrandGhost-1-Lmhc",buttonBrandGhostSubmitting:"buttonBrandGhostSubmitting-3XVEXS buttonGhostSubmitting-dC3Ul5 buttonSubmitting-2ZQKE5 button-2t3of8 buttonGhost-2Y7zWJ buttonBrandGhost-1-Lmhc",buttonRedFilled:"buttonRedFilled-1NjJNj",buttonRedFilledDefault:"buttonRedFilledDefault-1TrZ9q buttonFilledDefault-AELjWf buttonDefault-2OLW-v button-2t3of8 buttonFilled-29g7b5 buttonRedFilled-1NjJNj",buttonRedFilledDisabled:"buttonRedFilledDisabled-1dHjXY buttonFilledDisabled-2RMFZL buttonDisabled-6hAf7x button-2t3of8 buttonFilled-29g7b5 buttonRedFilled-1NjJNj",buttonRedFilledSubmitting:"buttonRedFilledSubmitting-k0RadM buttonFilledSubmitting-2QWeg_ buttonSubmitting-2ZQKE5 button-2t3of8 buttonFilled-29g7b5 buttonRedFilled-1NjJNj",buttonRedInverted:"buttonRedInverted-206R3O",buttonRedInvertedDefault:"buttonRedInvertedDefault-m2kY4G buttonInvertedDefault-1UdvTn buttonDefault-2OLW-v button-2t3of8 buttonInverted-7rpaNT buttonRedInverted-206R3O",buttonRedInvertedDisabled:"buttonRedInvertedDisabled-17MNau buttonInvertedDisabled-3KBOgQ buttonDisabled-6hAf7x button-2t3of8 buttonInverted-7rpaNT buttonRedInverted-206R3O",buttonRedInvertedSubmitting:"buttonRedInvertedSubmitting-H24uG8 buttonInvertedSubmitting-340Yoy buttonSubmitting-2ZQKE5 button-2t3of8 buttonInverted-7rpaNT buttonRedInverted-206R3O",buttonRedOutlined:"buttonRedOutlined-2t9fm_",buttonRedOutlinedDefault:"buttonRedOutlinedDefault-1VCgwL buttonOutlinedDefault-3FNQnZ buttonDefault-2OLW-v button-2t3of8 buttonOutlined-38aLSW buttonRedOutlined-2t9fm_",buttonRedOutlinedDisabled:"buttonRedOutlinedDisabled--CrzDR buttonOutlinedDisabled-1_5I8p buttonDisabled-6hAf7x button-2t3of8 buttonOutlined-38aLSW buttonRedOutlined-2t9fm_",buttonRedOutlinedSubmitting:"buttonRedOutlinedSubmitting-3u6oM3 buttonOutlinedSubmitting-sxkZ_c buttonSubmitting-2ZQKE5 button-2t3of8 buttonOutlined-38aLSW buttonRedOutlined-2t9fm_",buttonRedLink:"buttonRedLink-3HNCDW",buttonRedLinkDefault:"buttonRedLinkDefault-J_rA7_ buttonLinkDefault-3J8pja buttonDefault-2OLW-v button-2t3of8 buttonRedLink-3HNCDW",buttonRedLinkDisabled:"buttonRedLinkDisabled-e_Vhdz buttonLinkDisabled-3Muj91 buttonDisabled-6hAf7x button-2t3of8 buttonRedLink-3HNCDW",buttonRedLinkSubmitting:"buttonRedLinkSubmitting-3P3hQL buttonLinkSubmitting-1rbwZL buttonSubmitting-2ZQKE5 button-2t3of8 buttonRedLink-3HNCDW",buttonRedGhost:"buttonRedGhost-3osbIv",buttonRedGhostDefault:"buttonRedGhostDefault-qPeriW buttonGhostDefault-2NFSwJ buttonDefault-2OLW-v button-2t3of8 buttonGhost-2Y7zWJ buttonRedGhost-3osbIv",buttonRedGhostDisabled:"buttonRedGhostDisabled-6yd8Rs buttonGhostDisabled-3dk66R buttonDisabled-6hAf7x button-2t3of8 buttonGhost-2Y7zWJ buttonRedGhost-3osbIv",buttonRedGhostSubmitting:"buttonRedGhostSubmitting-NxPU58 buttonGhostSubmitting-dC3Ul5 buttonSubmitting-2ZQKE5 button-2t3of8 buttonGhost-2Y7zWJ buttonRedGhost-3osbIv",buttonGreenFilled:"buttonGreenFilled-6QHNrw",buttonGreenFilledDefault:"buttonGreenFilledDefault-_lLQaz buttonFilledDefault-AELjWf buttonDefault-2OLW-v button-2t3of8 buttonFilled-29g7b5 buttonGreenFilled-6QHNrw",buttonGreenFilledDisabled:"buttonGreenFilledDisabled-26UOqJ buttonFilledDisabled-2RMFZL buttonDisabled-6hAf7x button-2t3of8 buttonFilled-29g7b5 buttonGreenFilled-6QHNrw",buttonGreenFilledSubmitting:"buttonGreenFilledSubmitting-1ibtGx buttonFilledSubmitting-2QWeg_ buttonSubmitting-2ZQKE5 button-2t3of8 buttonFilled-29g7b5 buttonGreenFilled-6QHNrw",buttonGreenInverted:"buttonGreenInverted-3wLrIA",buttonGreenInvertedDefault:"buttonGreenInvertedDefault-3m-pe- buttonInvertedDefault-1UdvTn buttonDefault-2OLW-v button-2t3of8 buttonInverted-7rpaNT buttonGreenInverted-3wLrIA",buttonGreenInvertedDisabled:"buttonGreenInvertedDisabled-3oFEuU buttonInvertedDisabled-3KBOgQ buttonDisabled-6hAf7x button-2t3of8 buttonInverted-7rpaNT buttonGreenInverted-3wLrIA",buttonGreenInvertedSubmitting:"buttonGreenInvertedSubmitting-32Bnxb buttonInvertedSubmitting-340Yoy buttonSubmitting-2ZQKE5 button-2t3of8 buttonInverted-7rpaNT buttonGreenInverted-3wLrIA",buttonGreenOutlined:"buttonGreenOutlined-1q_bS_",buttonGreenOutlinedDefault:"buttonGreenOutlinedDefault-1Ao08L buttonOutlinedDefault-3FNQnZ buttonDefault-2OLW-v button-2t3of8 buttonOutlined-38aLSW buttonGreenOutlined-1q_bS_",buttonGreenOutlinedDisabled:"buttonGreenOutlinedDisabled-1eBRkA buttonOutlinedDisabled-1_5I8p buttonDisabled-6hAf7x button-2t3of8 buttonOutlined-38aLSW buttonGreenOutlined-1q_bS_",buttonGreenOutlinedSubmitting:"buttonGreenOutlinedSubmitting-rwDLno buttonOutlinedSubmitting-sxkZ_c buttonSubmitting-2ZQKE5 button-2t3of8 buttonOutlined-38aLSW buttonGreenOutlined-1q_bS_",buttonGreenLink:"buttonGreenLink-211wfK",buttonGreenLinkDefault:"buttonGreenLinkDefault-3Ogvem buttonLinkDefault-3J8pja buttonDefault-2OLW-v button-2t3of8 buttonGreenLink-211wfK",buttonGreenLinkDisabled:"buttonGreenLinkDisabled-2DqFY6 buttonLinkDisabled-3Muj91 buttonDisabled-6hAf7x button-2t3of8 buttonGreenLink-211wfK",buttonGreenLinkSubmitting:"buttonGreenLinkSubmitting-1VqLf5 buttonLinkSubmitting-1rbwZL buttonSubmitting-2ZQKE5 button-2t3of8 buttonGreenLink-211wfK",buttonGreenGhost:"buttonGreenGhost-3wAGwk",buttonGreenGhostDefault:"buttonGreenGhostDefault-AA-eAj buttonGhostDefault-2NFSwJ buttonDefault-2OLW-v button-2t3of8 buttonGhost-2Y7zWJ buttonGreenGhost-3wAGwk",buttonGreenGhostDisabled:"buttonGreenGhostDisabled-390_BG buttonGhostDisabled-3dk66R buttonDisabled-6hAf7x button-2t3of8 buttonGhost-2Y7zWJ buttonGreenGhost-3wAGwk",buttonGreenGhostSubmitting:"buttonGreenGhostSubmitting-g41vrD buttonGhostSubmitting-dC3Ul5 buttonSubmitting-2ZQKE5 button-2t3of8 buttonGhost-2Y7zWJ buttonGreenGhost-3wAGwk",buttonGreyFilled:"buttonGreyFilled-3qPP_J",buttonGreyFilledDefault:"buttonGreyFilledDefault-3uZpOq buttonFilledDefault-AELjWf buttonDefault-2OLW-v button-2t3of8 buttonFilled-29g7b5 buttonGreyFilled-3qPP_J",buttonGreyFilledDisabled:"buttonGreyFilledDisabled-Fjw1_v buttonFilledDisabled-2RMFZL buttonDisabled-6hAf7x button-2t3of8 buttonFilled-29g7b5 buttonGreyFilled-3qPP_J",buttonGreyFilledSubmitting:"buttonGreyFilledSubmitting-i6EIRe buttonFilledSubmitting-2QWeg_ buttonSubmitting-2ZQKE5 button-2t3of8 buttonFilled-29g7b5 buttonGreyFilled-3qPP_J",buttonGreyInverted:"buttonGreyInverted-7y44ZH",buttonGreyInvertedDefault:"buttonGreyInvertedDefault-2YN4RI buttonInvertedDefault-1UdvTn buttonDefault-2OLW-v button-2t3of8 buttonInverted-7rpaNT buttonGreyInverted-7y44ZH",buttonGreyInvertedDisabled:"buttonGreyInvertedDisabled-3jQ-Rp buttonInvertedDisabled-3KBOgQ buttonDisabled-6hAf7x button-2t3of8 buttonInverted-7rpaNT buttonGreyInverted-7y44ZH",buttonGreyInvertedSubmitting:"buttonGreyInvertedSubmitting-2UgJgt buttonInvertedSubmitting-340Yoy buttonSubmitting-2ZQKE5 button-2t3of8 buttonInverted-7rpaNT buttonGreyInverted-7y44ZH",buttonGreyOutlined:"buttonGreyOutlined-2z6_c9",buttonGreyOutlinedDefault:"buttonGreyOutlinedDefault-3jczUv buttonOutlinedDefault-3FNQnZ buttonDefault-2OLW-v button-2t3of8 buttonOutlined-38aLSW buttonGreyOutlined-2z6_c9",buttonGreyOutlinedDisabled:"buttonGreyOutlinedDisabled-1wGP3l buttonOutlinedDisabled-1_5I8p buttonDisabled-6hAf7x button-2t3of8 buttonOutlined-38aLSW buttonGreyOutlined-2z6_c9",buttonGreyOutlinedSubmitting:"buttonGreyOutlinedSubmitting-kRNOgu buttonOutlinedSubmitting-sxkZ_c buttonSubmitting-2ZQKE5 button-2t3of8 buttonOutlined-38aLSW buttonGreyOutlined-2z6_c9",buttonGreyLink:"buttonGreyLink-1yOnrN",buttonGreyLinkDefault:"buttonGreyLinkDefault-3eCAFJ buttonLinkDefault-3J8pja buttonDefault-2OLW-v button-2t3of8 buttonGreyLink-1yOnrN",buttonGreyLinkDisabled:"buttonGreyLinkDisabled-3yu96D buttonLinkDisabled-3Muj91 buttonDisabled-6hAf7x button-2t3of8 buttonGreyLink-1yOnrN",buttonGreyLinkSubmitting:"buttonGreyLinkSubmitting-1ecO7Q buttonLinkSubmitting-1rbwZL buttonSubmitting-2ZQKE5 button-2t3of8 buttonGreyLink-1yOnrN",buttonGreyGhost:"buttonGreyGhost-SfY7zU",buttonGreyGhostDefault:"buttonGreyGhostDefault-2h5dqi buttonGhostDefault-2NFSwJ buttonDefault-2OLW-v button-2t3of8 buttonGhost-2Y7zWJ buttonGreyGhost-SfY7zU",buttonGreyGhostDisabled:"buttonGreyGhostDisabled-2vYFTe buttonGhostDisabled-3dk66R buttonDisabled-6hAf7x button-2t3of8 buttonGhost-2Y7zWJ buttonGreyGhost-SfY7zU",buttonGreyGhostSubmitting:"buttonGreyGhostSubmitting-NT6Xlb buttonGhostSubmitting-dC3Ul5 buttonSubmitting-2ZQKE5 button-2t3of8 buttonGhost-2Y7zWJ buttonGreyGhost-SfY7zU",buttonYellowFilled:"buttonYellowFilled-N4bNvI",buttonYellowFilledDefault:"buttonYellowFilledDefault-1HNVCo buttonFilledDefault-AELjWf buttonDefault-2OLW-v button-2t3of8 buttonFilled-29g7b5 buttonYellowFilled-N4bNvI",buttonYellowFilledDisabled:"buttonYellowFilledDisabled-2qWEY1 buttonFilledDisabled-2RMFZL buttonDisabled-6hAf7x button-2t3of8 buttonFilled-29g7b5 buttonYellowFilled-N4bNvI",buttonYellowFilledSubmitting:"buttonYellowFilledSubmitting-1Qtaj6 buttonFilledSubmitting-2QWeg_ buttonSubmitting-2ZQKE5 button-2t3of8 buttonFilled-29g7b5 buttonYellowFilled-N4bNvI",buttonYellowInverted:"buttonYellowInverted-136ESK",buttonYellowInvertedDefault:"buttonYellowInvertedDefault-1ZtO-Z buttonInvertedDefault-1UdvTn buttonDefault-2OLW-v button-2t3of8 buttonInverted-7rpaNT buttonYellowInverted-136ESK",buttonYellowInvertedDisabled:"buttonYellowInvertedDisabled-2XbiRO buttonInvertedDisabled-3KBOgQ buttonDisabled-6hAf7x button-2t3of8 buttonInverted-7rpaNT buttonYellowInverted-136ESK",buttonYellowInvertedSubmitting:"buttonYellowInvertedSubmitting-168usd buttonInvertedSubmitting-340Yoy buttonSubmitting-2ZQKE5 button-2t3of8 buttonInverted-7rpaNT buttonYellowInverted-136ESK",buttonYellowOutlined:"buttonYellowOutlined-3X4Ar6",buttonYellowOutlinedDefault:"buttonYellowOutlinedDefault-19Sv9H buttonOutlinedDefault-3FNQnZ buttonDefault-2OLW-v button-2t3of8 buttonOutlined-38aLSW buttonYellowOutlined-3X4Ar6",buttonYellowOutlinedDisabled:"buttonYellowOutlinedDisabled-2MQ8gF buttonOutlinedDisabled-1_5I8p buttonDisabled-6hAf7x button-2t3of8 buttonOutlined-38aLSW buttonYellowOutlined-3X4Ar6",buttonYellowOutlinedSubmitting:"buttonYellowOutlinedSubmitting-3CaylD buttonOutlinedSubmitting-sxkZ_c buttonSubmitting-2ZQKE5 button-2t3of8 buttonOutlined-38aLSW buttonYellowOutlined-3X4Ar6",buttonYellowLink:"buttonYellowLink-2LyYmi",buttonYellowLinkDefault:"buttonYellowLinkDefault-nnD5zo buttonLinkDefault-3J8pja buttonDefault-2OLW-v button-2t3of8 buttonYellowLink-2LyYmi",buttonYellowLinkDisabled:"buttonYellowLinkDisabled-246IA2 buttonLinkDisabled-3Muj91 buttonDisabled-6hAf7x button-2t3of8 buttonYellowLink-2LyYmi",buttonYellowLinkSubmitting:"buttonYellowLinkSubmitting-2kb8sd buttonLinkSubmitting-1rbwZL buttonSubmitting-2ZQKE5 button-2t3of8 buttonYellowLink-2LyYmi",buttonYellowGhost:"buttonYellowGhost-2_ogO4",buttonYellowGhostDefault:"buttonYellowGhostDefault--Ymwg6 buttonGhostDefault-2NFSwJ buttonDefault-2OLW-v button-2t3of8 buttonGhost-2Y7zWJ buttonYellowGhost-2_ogO4",buttonYellowGhostDisabled:"buttonYellowGhostDisabled-21cYbw buttonGhostDisabled-3dk66R buttonDisabled-6hAf7x button-2t3of8 buttonGhost-2Y7zWJ buttonYellowGhost-2_ogO4",buttonYellowGhostSubmitting:"buttonYellowGhostSubmitting-2XfYYF buttonGhostSubmitting-dC3Ul5 buttonSubmitting-2ZQKE5 button-2t3of8 buttonGhost-2Y7zWJ buttonYellowGhost-2_ogO4",buttonLinkFilled:"buttonLinkFilled-2chwDP",buttonLinkFilledDefault:"buttonLinkFilledDefault-1hwYaI buttonFilledDefault-AELjWf buttonDefault-2OLW-v button-2t3of8 buttonFilled-29g7b5 buttonLinkFilled-2chwDP",buttonLinkFilledDisabled:"buttonLinkFilledDisabled-MlFv4Q buttonFilledDisabled-2RMFZL buttonDisabled-6hAf7x button-2t3of8 buttonFilled-29g7b5 buttonLinkFilled-2chwDP",buttonLinkFilledSubmitting:"buttonLinkFilledSubmitting-2tIXZ- buttonFilledSubmitting-2QWeg_ buttonSubmitting-2ZQKE5 button-2t3of8 buttonFilled-29g7b5 buttonLinkFilled-2chwDP",buttonLinkInverted:"buttonLinkInverted-3lVzYS",buttonLinkInvertedDefault:"buttonLinkInvertedDefault-2RylkZ buttonInvertedDefault-1UdvTn buttonDefault-2OLW-v button-2t3of8 buttonInverted-7rpaNT buttonLinkInverted-3lVzYS",buttonLinkInvertedDisabled:"buttonLinkInvertedDisabled-3uyrrO buttonInvertedDisabled-3KBOgQ buttonDisabled-6hAf7x button-2t3of8 buttonInverted-7rpaNT buttonLinkInverted-3lVzYS",buttonLinkInvertedSubmitting:"buttonLinkInvertedSubmitting-1YidM6 buttonInvertedSubmitting-340Yoy buttonSubmitting-2ZQKE5 button-2t3of8 buttonInverted-7rpaNT buttonLinkInverted-3lVzYS",buttonLinkOutlined:"buttonLinkOutlined-1vs36T",buttonLinkOutlinedDefault:"buttonLinkOutlinedDefault-30u0r5 buttonOutlinedDefault-3FNQnZ buttonDefault-2OLW-v button-2t3of8 buttonOutlined-38aLSW buttonLinkOutlined-1vs36T",buttonLinkOutlinedDisabled:"buttonLinkOutlinedDisabled-2hn7_o buttonOutlinedDisabled-1_5I8p buttonDisabled-6hAf7x button-2t3of8 buttonOutlined-38aLSW buttonLinkOutlined-1vs36T",buttonLinkOutlinedSubmitting:"buttonLinkOutlinedSubmitting-1OtHvD buttonOutlinedSubmitting-sxkZ_c buttonSubmitting-2ZQKE5 button-2t3of8 buttonOutlined-38aLSW buttonLinkOutlined-1vs36T",buttonLinkLink:"buttonLinkLink-PqcWoA",buttonLinkLinkDefault:"buttonLinkLinkDefault-3EZi6x buttonLinkDefault-3J8pja buttonDefault-2OLW-v button-2t3of8 buttonLinkLink-PqcWoA",buttonLinkLinkDisabled:"buttonLinkLinkDisabled-2hsNzg buttonLinkDisabled-3Muj91 buttonDisabled-6hAf7x button-2t3of8 buttonLinkLink-PqcWoA",buttonLinkLinkSubmitting:"buttonLinkLinkSubmitting-2fEU9Z buttonLinkSubmitting-1rbwZL buttonSubmitting-2ZQKE5 button-2t3of8 buttonLinkLink-PqcWoA",buttonLinkGhost:"buttonLinkGhost-Ac5nbt",buttonLinkGhostDefault:"buttonLinkGhostDefault-t8TWgO buttonGhostDefault-2NFSwJ buttonDefault-2OLW-v button-2t3of8 buttonGhost-2Y7zWJ buttonLinkGhost-Ac5nbt",buttonLinkGhostDisabled:"buttonLinkGhostDisabled-1DSLIg buttonGhostDisabled-3dk66R buttonDisabled-6hAf7x button-2t3of8 buttonGhost-2Y7zWJ buttonLinkGhost-Ac5nbt",buttonLinkGhostSubmitting:"buttonLinkGhostSubmitting-3PujVI buttonGhostSubmitting-dC3Ul5 buttonSubmitting-2ZQKE5 button-2t3of8 buttonGhost-2Y7zWJ buttonLinkGhost-Ac5nbt",buttonWhiteFilled:"buttonWhiteFilled-5UNMvj",buttonWhiteFilledDefault:"buttonWhiteFilledDefault-3GKCl0 buttonFilledDefault-AELjWf buttonDefault-2OLW-v button-2t3of8 buttonFilled-29g7b5 buttonWhiteFilled-5UNMvj",buttonWhiteFilledDisabled:"buttonWhiteFilledDisabled-3H2BrZ buttonFilledDisabled-2RMFZL buttonDisabled-6hAf7x button-2t3of8 buttonFilled-29g7b5 buttonWhiteFilled-5UNMvj",buttonWhiteFilledSubmitting:"buttonWhiteFilledSubmitting-1DUEZP buttonFilledSubmitting-2QWeg_ buttonSubmitting-2ZQKE5 button-2t3of8 buttonFilled-29g7b5 buttonWhiteFilled-5UNMvj",buttonWhiteInverted:"buttonWhiteInverted-R6Osoh",buttonWhiteInvertedDefault:"buttonWhiteInvertedDefault-1y__8I buttonInvertedDefault-1UdvTn buttonDefault-2OLW-v button-2t3of8 buttonInverted-7rpaNT buttonWhiteInverted-R6Osoh",buttonWhiteInvertedDisabled:"buttonWhiteInvertedDisabled-19M5D9 buttonInvertedDisabled-3KBOgQ buttonDisabled-6hAf7x button-2t3of8 buttonInverted-7rpaNT buttonWhiteInverted-R6Osoh",buttonWhiteInvertedSubmitting:"buttonWhiteInvertedSubmitting-3SfErw buttonInvertedSubmitting-340Yoy buttonSubmitting-2ZQKE5 button-2t3of8 buttonInverted-7rpaNT buttonWhiteInverted-R6Osoh",buttonWhiteOutlined:"buttonWhiteOutlined-2KwPTg",buttonWhiteOutlinedDefault:"buttonWhiteOutlinedDefault-3gEfoF buttonOutlinedDefault-3FNQnZ buttonDefault-2OLW-v button-2t3of8 buttonOutlined-38aLSW buttonWhiteOutlined-2KwPTg",buttonWhiteOutlinedDisabled:"buttonWhiteOutlinedDisabled-2rVoyj buttonOutlinedDisabled-1_5I8p buttonDisabled-6hAf7x button-2t3of8 buttonOutlined-38aLSW buttonWhiteOutlined-2KwPTg",buttonWhiteOutlinedSubmitting:"buttonWhiteOutlinedSubmitting-QWcUU_ buttonOutlinedSubmitting-sxkZ_c buttonSubmitting-2ZQKE5 button-2t3of8 buttonOutlined-38aLSW buttonWhiteOutlined-2KwPTg",buttonWhiteLink:"buttonWhiteLink-1YZtM3",buttonWhiteLinkDefault:"buttonWhiteLinkDefault-3vk5WX buttonLinkDefault-3J8pja buttonDefault-2OLW-v button-2t3of8 buttonWhiteLink-1YZtM3",buttonWhiteLinkDisabled:"buttonWhiteLinkDisabled-2w4rpw buttonLinkDisabled-3Muj91 buttonDisabled-6hAf7x button-2t3of8 buttonWhiteLink-1YZtM3",buttonWhiteLinkSubmitting:"buttonWhiteLinkSubmitting-11bRkZ buttonLinkSubmitting-1rbwZL buttonSubmitting-2ZQKE5 button-2t3of8 buttonWhiteLink-1YZtM3",buttonWhiteGhost:"buttonWhiteGhost-3sHdvT",buttonWhiteGhostDefault:"buttonWhiteGhostDefault-Bu4FZZ buttonGhostDefault-2NFSwJ buttonDefault-2OLW-v button-2t3of8 buttonGhost-2Y7zWJ buttonWhiteGhost-3sHdvT",buttonWhiteGhostDisabled:"buttonWhiteGhostDisabled-9nGd2j buttonGhostDisabled-3dk66R buttonDisabled-6hAf7x button-2t3of8 buttonGhost-2Y7zWJ buttonWhiteGhost-3sHdvT",buttonWhiteGhostSubmitting:"buttonWhiteGhostSubmitting-17Tz5i buttonGhostSubmitting-dC3Ul5 buttonSubmitting-2ZQKE5 button-2t3of8 buttonGhost-2Y7zWJ buttonWhiteGhost-3sHdvT",small:"small-WIuKRm",smallGrow:"smallGrow-2_7ZaC",medium:"medium-17S_hZ",mediumGrow:"mediumGrow-uovsMu",large:"large-M6FByK",largeGrow:"largeGrow-2_1w2U",xlargeBase:"xlargeBase-1GBIdH",xlarge:"xlarge-3SLYe- xlargeBase-1GBIdH",xlargeGrow:"xlargeGrow-3SgBOC xlargeBase-1GBIdH",min:"min-K7DTfI",minGrow:"minGrow-1W9N45 min-K7DTfI",max:"max-Lq50rC",maxGrow:"maxGrow-1tNbp1 max-Lq50rC",icon:"icon-2ADgst",iconGrow:"iconGrow-1s1mlS icon-2ADgst",buttonPrimaryFilledDefault:"buttonPrimaryFilledDefault-ekmMaT buttonFilledDefault-AELjWf buttonDefault-2OLW-v button-2t3of8 buttonFilled-29g7b5",buttonTransparentFilledDefault:"buttonTransparentFilledDefault-2_CDwS buttonFilledDefault-AELjWf buttonDefault-2OLW-v button-2t3of8 buttonFilled-29g7b5",buttonPrimaryFilledDisabled:"buttonPrimaryFilledDisabled-YU7uC3 buttonFilledDisabled-2RMFZL buttonDisabled-6hAf7x button-2t3of8 buttonFilled-29g7b5",buttonTransparentFilledDisabled:"buttonTransparentFilledDisabled-2zzRd3 buttonFilledDisabled-2RMFZL buttonDisabled-6hAf7x button-2t3of8 buttonFilled-29g7b5",buttonPrimaryFilledSubmitting:"buttonPrimaryFilledSubmitting-1zavhH buttonFilledSubmitting-2QWeg_ buttonSubmitting-2ZQKE5 button-2t3of8 buttonFilled-29g7b5",buttonTransparentFilledSubmitting:"buttonTransparentFilledSubmitting-1Hnk7I buttonFilledSubmitting-2QWeg_ buttonSubmitting-2ZQKE5 button-2t3of8 buttonFilled-29g7b5",buttonPrimaryInvertedDefault:"buttonPrimaryInvertedDefault-1XlpVq buttonInvertedDefault-1UdvTn buttonDefault-2OLW-v button-2t3of8 buttonInverted-7rpaNT",buttonTransparentInvertedDefault:"buttonTransparentInvertedDefault-VGmW_Y buttonInvertedDefault-1UdvTn buttonDefault-2OLW-v button-2t3of8 buttonInverted-7rpaNT",buttonPrimaryInvertedDisabled:"buttonPrimaryInvertedDisabled-pTWgC9 buttonInvertedDisabled-3KBOgQ buttonDisabled-6hAf7x button-2t3of8 buttonInverted-7rpaNT",buttonTransparentInvertedDisabled:"buttonTransparentInvertedDisabled-9bEiTb buttonInvertedDisabled-3KBOgQ buttonDisabled-6hAf7x button-2t3of8 buttonInverted-7rpaNT",buttonPrimaryInvertedSubmitting:"buttonPrimaryInvertedSubmitting-3j1QEG buttonInvertedSubmitting-340Yoy buttonSubmitting-2ZQKE5 button-2t3of8 buttonInverted-7rpaNT",buttonTransparentInvertedSubmitting:"buttonTransparentInvertedSubmitting-3wZguf buttonInvertedSubmitting-340Yoy buttonSubmitting-2ZQKE5 button-2t3of8 buttonInverted-7rpaNT",buttonPrimaryOutlinedDefault:"buttonPrimaryOutlinedDefault--H0hhk buttonOutlinedDefault-3FNQnZ buttonDefault-2OLW-v button-2t3of8 buttonOutlined-38aLSW",buttonTransparentOutlinedDefault:"buttonTransparentOutlinedDefault-aeMVQp buttonOutlinedDefault-3FNQnZ buttonDefault-2OLW-v button-2t3of8 buttonOutlined-38aLSW",buttonPrimaryOutlinedDisabled:"buttonPrimaryOutlinedDisabled-2dShgt buttonOutlinedDisabled-1_5I8p buttonDisabled-6hAf7x button-2t3of8 buttonOutlined-38aLSW",buttonTransparentOutlinedDisabled:"buttonTransparentOutlinedDisabled-1bxGet buttonOutlinedDisabled-1_5I8p buttonDisabled-6hAf7x button-2t3of8 buttonOutlined-38aLSW",buttonPrimaryOutlinedSubmitting:"buttonPrimaryOutlinedSubmitting-3m3eFx buttonOutlinedSubmitting-sxkZ_c buttonSubmitting-2ZQKE5 button-2t3of8 buttonOutlined-38aLSW",buttonTransparentOutlinedSubmitting:"buttonTransparentOutlinedSubmitting-3zead7 buttonOutlinedSubmitting-sxkZ_c buttonSubmitting-2ZQKE5 button-2t3of8 buttonOutlined-38aLSW",buttonPrimaryLinkDefault:"buttonPrimaryLinkDefault-1PQflF buttonLinkDefault-3J8pja buttonDefault-2OLW-v button-2t3of8",buttonTransparentLinkDefault:"buttonTransparentLinkDefault-3hKeOz buttonLinkDefault-3J8pja buttonDefault-2OLW-v button-2t3of8",buttonPrimaryLinkDisabled:"buttonPrimaryLinkDisabled-3Ey7-S buttonLinkDisabled-3Muj91 buttonDisabled-6hAf7x button-2t3of8",buttonTransparentLinkDisabled:"buttonTransparentLinkDisabled-36R1Te buttonLinkDisabled-3Muj91 buttonDisabled-6hAf7x button-2t3of8",buttonPrimaryLinkSubmitting:"buttonPrimaryLinkSubmitting-RbBzR4 buttonLinkSubmitting-1rbwZL buttonSubmitting-2ZQKE5 button-2t3of8",buttonTransparentLinkSubmitting:"buttonTransparentLinkSubmitting-2lQOHn buttonLinkSubmitting-1rbwZL buttonSubmitting-2ZQKE5 button-2t3of8",buttonPrimaryGhostDefault:"buttonPrimaryGhostDefault-1oEYPz buttonGhostDefault-2NFSwJ buttonDefault-2OLW-v button-2t3of8 buttonGhost-2Y7zWJ",buttonTransparentGhostDefault:"buttonTransparentGhostDefault-3b5FMQ buttonGhostDefault-2NFSwJ buttonDefault-2OLW-v button-2t3of8 buttonGhost-2Y7zWJ",buttonPrimaryGhostDisabled:"buttonPrimaryGhostDisabled-3mOfm_ buttonGhostDisabled-3dk66R buttonDisabled-6hAf7x button-2t3of8 buttonGhost-2Y7zWJ",buttonTransparentGhostDisabled:"buttonTransparentGhostDisabled-2NZvMs buttonGhostDisabled-3dk66R buttonDisabled-6hAf7x button-2t3of8 buttonGhost-2Y7zWJ",buttonPrimaryGhostSubmitting:"buttonPrimaryGhostSubmitting-1u2Jwg buttonGhostSubmitting-dC3Ul5 buttonSubmitting-2ZQKE5 button-2t3of8 buttonGhost-2Y7zWJ",buttonTransparentGhostSubmitting:"buttonTransparentGhostSubmitting-2Q_8se buttonGhostSubmitting-dC3Ul5 buttonSubmitting-2ZQKE5 button-2t3of8 buttonGhost-2Y7zWJ","spinner-wandering-cubes":"spinner-wandering-cubes-TGVTVO","spinner-chasing-dots-rotate":"spinner-chasing-dots-rotate-O1oaCO","spinner-chasing-dots-bounce":"spinner-chasing-dots-bounce-D4CoP2","spinner-spinning-circle-rotate":"spinner-spinning-circle-rotate-3Oj_aE","spinner-spinning-circle-dash":"spinner-spinning-circle-dash-29krG_"}},function(e,t){e.exports={card:"card-3DrRmC",cardDanger:"cardDanger-2CkE7R card-3DrRmC",cardDangerOutline:"cardDangerOutline-25eKzG card-3DrRmC",cardWarning:"cardWarning-31DHBH card-3DrRmC",cardWarningOutline:"cardWarningOutline-2Rp1Zn card-3DrRmC",cardSuccess:"cardSuccess-1UBFjp card-3DrRmC",cardSuccessOutline:"cardSuccessOutline-G0P3Ys card-3DrRmC",cardBrand:"cardBrand-1LvZTh card-3DrRmC",cardBrandOutline:"cardBrandOutline-2uIT1U card-3DrRmC",cardPrimary:"cardPrimary-ZVL9Jr card-3DrRmC",cardPrimaryEditable:"cardPrimaryEditable-2IQ7-V card-3DrRmC",cardPrimaryOutline:"cardPrimaryOutline-2YyAz2 card-3DrRmC",cardPrimaryOutlineEditable:"cardPrimaryOutlineEditable-1s-Uqd card-3DrRmC"}},function(e,t){e.exports={spacer:"spacer-1Ko1y_",input:"input-3_iTLI"}},function(e,t){e.exports={wrapper:"wrapper-17ZYn1",item:"item-Qf_Fts",itemClosed:"itemClosed-1xGx-f item-Qf_Fts",itemOpen:"itemOpen-1CvG4N item-Qf_Fts",itemActive:"itemActive-1wbvnV item-Qf_Fts"}},function(e,t){e.exports={copyInput:"copyInput-1AA48i",copyInputDefault:"copyInputDefault-36NOFa copyInput-1AA48i",copyInputError:"copyInputError-1I9VjE copyInput-1AA48i",copyInputSuccess:"copyInputSuccess-2VxITA copyInput-1AA48i",layout:"layout-3qFkdA",inputWrapper:"inputWrapper-btcCdn",button:"button-2wYlsU",hiddenMessage:"hiddenMessage-1szyv2",input:"input-Z9iiFC",inputDefault:"inputDefault-3MyqtX input-Z9iiFC",inputError:"inputError-2SXd4k input-Z9iiFC",inputSuccess:"inputSuccess-1HmyX5 input-Z9iiFC",inputHidden:"inputHidden-1L16Mg"}},function(e,t){e.exports={wrapper:"wrapper-1-BJK5",image:"image-3Y4mXQ",title:"title-38OOBL",text:"text-1rLRsh"}},function(e,t){e.exports={_flex:"flex-3B1Tl4",_horizontal:"horizontal-2VE-Fw flex-3B1Tl4 directionRow-yNbSvJ",_horizontalReverse:"horizontalReverse-k5PqxT flex-3B1Tl4 directionRowReverse-2eZTxP",flex:"flex-lFgbSz flex-3B1Tl4",horizontal:"horizontal-2BEEBe horizontal-2VE-Fw flex-3B1Tl4 directionRow-yNbSvJ",horizontalReverse:"horizontalReverse-2LanvO horizontalReverse-k5PqxT flex-3B1Tl4 directionRowReverse-2eZTxP",flexChild:"flexChild-1KGW5q"}},function(e,t){e.exports={grid:"grid-3Iq89E",tile:"tile-3G1_cN"}},function(e,t){e.exports={nsfw:"nsfw-1APjPl",image:"image-2XJctU",title:"title-2mmhgH",description:"description-15n-1L",separator:"separator-3Ozi37",action:"action-2mLTX4",actionRed:"actionRed-sT3Bw5 action-2mLTX4"}},function(e,t){e.exports={hoverRoll:"hoverRoll-O9_zYp",default:"default-2ICJ3w",hovered:"hovered-1gq2YI"}},function(e,t){e.exports={iconButton:"iconButton-3mKjyp",iconButtonDefault:"iconButtonDefault-3QZh-A iconButton-3mKjyp",iconButtonStatic:"iconButtonStatic-BQvIo6 iconButton-3mKjyp",large:"large-2EphbG",medium:"medium-C4dspv",small:"small-1ChI_f",xsmall:"xsmall-3Nz9ph"}},function(e,t){e.exports={sidebarScrollable:"sidebarScrollable-3YmeW_",content:"content-1orzGj",scroller:"scroller-2C0yyO"}},function(e,t){e.exports={modal:"modal-3HOjGZ",content:"content-1Cut5s",footer:"footer-1PYmcw"}},function(e,t){e.exports={pictureInPicture:"pictureInPicture-Ryvh67",pictureInPictureWindow:"pictureInPictureWindow-3BoWYS"}},function(e,t){e.exports={pictureInPictureVideo:"pictureInPictureVideo-2w62Uz",pictureInPictureVideoFullscreen:"pictureInPictureVideoFullscreen-387xiZ",overlay:"overlay-3hR73C",overlayTop:"overlayTop-2QNtcu",overlayLeft:"overlayLeft-3R4E2L",overlayRight:"overlayRight-uHXbje",overlayBottom:"overlayBottom-IS74c2",channel:"channel-1wgtPC",icon:"icon-1d4Bon",iconButton:"iconButton-23ZMpe icon-1d4Bon",iconButtonDisabled:"iconButtonDisabled-33srvh icon-1d4Bon",iconButtonMargin:"iconButtonMargin-3k5x3x",iconButtonForeground:"iconButtonForeground-1wy8a5"}},function(e,t){e.exports={spinner:"spinner-2szMS3",inner:"inner-3X2_kk",wanderingCubesItem:"wanderingCubesItem-35kyMu","spinner-wandering-cubes":"spinner-wandering-cubes-1AK53J",chasingDots:"chasingDots-2qWgu6","spinner-chasing-dots-rotate":"spinner-chasing-dots-rotate-3Fvw4X",chasingDotsItem:"chasingDotsItem-1fMB4T","spinner-chasing-dots-bounce":"spinner-chasing-dots-bounce-GCoXlp",pulsingEllipsis:"pulsingEllipsis-36SsC3",pulsingEllipsisItem:"pulsingEllipsisItem-1oPdBE","spinner-pulsing-ellipsis":"spinner-pulsing-ellipsis-2q8oVr",spinningCircle:"spinningCircle-2mRBGy",spinningCircleInner:"spinningCircleInner-2putKt inner-3X2_kk",circular:"circular-2U7_1N","spinner-spinning-circle-rotate":"spinner-spinning-circle-rotate-31ddRE",path:"path-2DIvxA","spinner-spinning-circle-dash":"spinner-spinning-circle-dash-2Trd0K",path2:"path2-3n_CYd",path3:"path3-1Ti7dU"}},function(e,t){e.exports={size12:"size12-3Dmxyp",size16:"size16-taxBJG",size24:"size24-2Y3hoM",height16:"height16-2O70g6",height20:"height20-3Y9N_z",height28:"height28-3nDabV",small:"small-3-03j1 size12-3Dmxyp height16-2O70g6",medium:"medium-2KnC-N size16-taxBJG height20-3Y9N_z",large:"large-yIak37 size24-2Y3hoM height28-3nDabV",selectable:"selectable-prgIYK",primary:"primary-2giqSn"}},function(e,t){e.exports={background:"background-2lD0PO",backgroundBlur:"backgroundBlur-2hMM9N",backgroundBlurOverlay:"backgroundBlurOverlay-278FQ6"}},function(e,t){e.exports={vertical:"vertical-3X17r5 flex-3B1Tl4 directionColumn-2h-LPR",center:"center-1MLNrE flex-3B1Tl4 justifyCenter-29N31w alignCenter-3VxkQP",marginTop8:"marginTop8-2VMDNt",marginBottom8:"marginBottom8-t-wxCE",marginBottom40:"marginBottom40-1_QcFO",modal:"modal-1CXkYE vertical-3X17r5 flex-3B1Tl4 directionColumn-2h-LPR center-1MLNrE flex-3B1Tl4 justifyCenter-29N31w alignCenter-3VxkQP",image:"image-23RBgi marginTop8-2VMDNt marginBottom40-1_QcFO",title:"title-2lS8Wf marginBottom8-t-wxCE",description:"description-3M6Yzv marginBottom40-1_QcFO"}},function(e,t){e.exports={divider:"divider-1G01Z9"}},function(e,t){e.exports={marginBottom4:"marginBottom4-JjxJY3",noUserDrag:"noUserDrag-aLJFCB",formNotice:"formNotice-2tZsrh",formNoticeTitle:"formNoticeTitle-1m5mND marginBottom4-JjxJY3",formNoticeBody:"formNoticeBody-1C0wup",icon:"icon-3j0iot noUserDrag-aLJFCB",whiteText:"whiteText-32USMe"}},function(e,t){e.exports={formText:"formText-1L-zZB",default:"default-3bB32Y formText-1L-zZB",labelDescriptor:"labelDescriptor-1BebCl formText-1L-zZB",labelSelected:"labelSelected-2H3qNC formText-1L-zZB",placeholder:"placeholder-2ZdNOt formText-1L-zZB",labelBold:"labelBold-1QoWDr formText-1L-zZB",description:"description-3MVziF formText-1L-zZB",modeDefault:"modeDefault-389VjU",modeSelectable:"modeSelectable-ZWJ_KZ",modeDisabled:"modeDisabled-1GfQwv"}},function(e,t){e.exports={size12:"size12-3Dmxyp",size14:"size14-2Q0sRz",size16:"size16-taxBJG",size20:"size20-1BrEEq",height16:"height16-2O70g6",height20:"height20-3Y9N_z",height24:"height24-2MTN63",height28:"height28-3nDabV",weightMedium:"weightMedium-3W3WrK",weightSemiBold:"weightSemiBold-W4vlRo",statusRed:"statusRed-2wPP2E",marginReset:"marginReset-32p2uQ",marginBottom20:"marginBottom20-3RkOLe",marginBottom8:"marginBottom8-t-wxCE",title:"title-1pmpPr marginReset-32p2uQ",h1:"h1-f0Txxg title-1pmpPr marginReset-32p2uQ size20-1BrEEq height28-3nDabV weightSemiBold-W4vlRo",h2:"h2-2ar_1B title-1pmpPr marginReset-32p2uQ size16-taxBJG height20-3Y9N_z weightSemiBold-W4vlRo",h3:"h3-gDcP8B title-1pmpPr marginReset-32p2uQ size16-taxBJG height24-2MTN63 weightMedium-3W3WrK",h4:"h4-2IXpeI title-1pmpPr marginReset-32p2uQ size14-2Q0sRz height20-3Y9N_z weightMedium-3W3WrK",h5:"h5-3KssQU title-1pmpPr marginReset-32p2uQ size12-3Dmxyp height16-2O70g6 weightSemiBold-W4vlRo",defaultMarginh1:"defaultMarginh1-36Scnc marginBottom20-3RkOLe",defaultMarginh2:"defaultMarginh2-37e5HZ marginBottom20-3RkOLe",defaultMarginh3:"defaultMarginh3-1a2POY marginBottom8-t-wxCE",defaultMarginh4:"defaultMarginh4-jAopYe marginBottom8-t-wxCE",defaultMarginh5:"defaultMarginh5-2UwwFY marginBottom8-t-wxCE",disabled:"disabled-1Jp4lJ",required:"required-15-TOo statusRed-2wPP2E",defaultColor:"defaultColor-v22dK1",faded:"faded-1KRDbu"}},function(e,t){e.exports={colorTransition:"colorTransition-2iZaYd",bgTransition:"bgTransition-2QYWCS",overflowEllipsis:"overflowEllipsis-2ynGQq",wrapperDefault:"wrapperDefault-1Dl4SS",wrapperHovered:"wrapperHovered-1KDCyZ",wrapperMuted:"wrapperMuted-PmsxPn",wrapperUnread:"wrapperUnread-450E16",nameDefault:"nameDefault-Lnjrwm colorTransition-2iZaYd overflowEllipsis-2ynGQq",nameHovered:"nameHovered-1YFSWq colorTransition-2iZaYd overflowEllipsis-2ynGQq",nameMuted:"nameMuted-1n0LSj colorTransition-2iZaYd overflowEllipsis-2ynGQq",nameUnread:"nameUnread-WKlSv- colorTransition-2iZaYd overflowEllipsis-2ynGQq"}},function(e,t){e.exports={overflowEllipsis:"overflowEllipsis-3Rxxjf",wrapper:"wrapper-fDmxzK",wrapperDefaultText:"wrapperDefaultText-3M3F1R wrapper-fDmxzK",wrapperDefaultVoice:"wrapperDefaultVoice-2ud9mj wrapper-fDmxzK",wrapperHoveredText:"wrapperHoveredText-1PA_Uk wrapper-fDmxzK",wrapperHoveredVoice:"wrapperHoveredVoice-3tbfNN wrapper-fDmxzK",wrapperLockedText:"wrapperLockedText-Dsondf wrapper-fDmxzK",wrapperLockedVoice:"wrapperLockedVoice-1XZJmE wrapper-fDmxzK",wrapperMutedText:"wrapperMutedText-34VhKk wrapper-fDmxzK",wrapperMutedVoice:"wrapperMutedVoice-2BiLWu wrapper-fDmxzK",wrapperSelectedText:"wrapperSelectedText-31jJa8 wrapper-fDmxzK",wrapperSelectedVoice:"wrapperSelectedVoice-1Q1ocJ wrapper-fDmxzK",wrapperUnreadText:"wrapperUnreadText-1MykVG wrapper-fDmxzK",wrapperUnreadVoice:"wrapperUnreadVoice-13F9Gg wrapper-fDmxzK",icon:"icon-3tVJnl",colorDefaultText:"colorDefaultText-2v6rRX",colorDefaultVoice:"colorDefaultVoice-1x4dEl",colorHoveredText:"colorHoveredText-1CsxK1",colorHoveredVoice:"colorHoveredVoice-1P3kui",colorLockedText:"colorLockedText-2onHWv",colorLockedVoice:"colorLockedVoice-2VCSgk",colorSelectedText:"colorSelectedText-3YhFC6",colorSelectedVoice:"colorSelectedVoice-ieXC3Z",colorUnreadText:"colorUnreadText-1KwCnP",colorUnreadVoice:"colorUnreadVoice-1Ztv9I",colorMutedText:"colorMutedText-2DBGZ2",colorMutedVoice:"colorMutedVoice-2FZw4C",content:"content-2mSKOj",contentDefaultText:"contentDefaultText-2elG3R content-2mSKOj",contentDefaultVoice:"contentDefaultVoice-311dxZ content-2mSKOj",contentHoveredText:"contentHoveredText-2HYGIY content-2mSKOj",contentHoveredVoice:"contentHoveredVoice-3qGNKh content-2mSKOj",contentLockedText:"contentLockedText-1NPV7g content-2mSKOj",contentLockedVoice:"contentLockedVoice-2lGH0M content-2mSKOj",contentMutedText:"contentMutedText-Lcl-Wj content-2mSKOj",contentMutedVoice:"contentMutedVoice-1AvYom content-2mSKOj",contentSelectedText:"contentSelectedText-3j5CXt content-2mSKOj",contentSelectedVoice:"contentSelectedVoice-gTtYM9 content-2mSKOj",contentUnreadText:"contentUnreadText-3oxASB content-2mSKOj",contentUnreadVoice:"contentUnreadVoice-1vHNNW content-2mSKOj",name:"name-2SL4ev",nameDefaultText:"nameDefaultText-QoumjC name-2SL4ev overflowEllipsis-3Rxxjf",nameDefaultVoice:"nameDefaultVoice-1swZoh name-2SL4ev overflowEllipsis-3Rxxjf",nameHoveredText:"nameHoveredText-2FFqiz name-2SL4ev overflowEllipsis-3Rxxjf",nameHoveredVoice:"nameHoveredVoice-TIoHRJ name-2SL4ev overflowEllipsis-3Rxxjf",nameLockedText:"nameLockedText-2fGz07 name-2SL4ev overflowEllipsis-3Rxxjf",nameLockedVoice:"nameLockedVoice-wNOMNa name-2SL4ev overflowEllipsis-3Rxxjf",nameMutedText:"nameMutedText-1YDcP- name-2SL4ev overflowEllipsis-3Rxxjf",nameMutedVoice:"nameMutedVoice-26k4cP name-2SL4ev overflowEllipsis-3Rxxjf",nameSelectedText:"nameSelectedText-32NDX5 name-2SL4ev overflowEllipsis-3Rxxjf",nameSelectedVoice:"nameSelectedVoice-XpjYTw name-2SL4ev overflowEllipsis-3Rxxjf",nameUnreadText:"nameUnreadText-1pxldj name-2SL4ev overflowEllipsis-3Rxxjf",nameUnreadVoice:"nameUnreadVoice-QK4gxH name-2SL4ev overflowEllipsis-3Rxxjf",unread:"unread-23Kvxk"}},function(e,t){e.exports={wrapper:"wrapper-2ldvyE"}},function(e,t){e.exports={userDefault:"userDefault-2_cnT0",userHovered:"userHovered-3tfm93",listCollapse:"listCollapse-z8PceY",listDefault:"listDefault-3i7eWQ",avatarContainer:"avatarContainer-303pFz",avatarDefault:"avatarDefault-3jtQoc",avatarSpeaking:"avatarSpeaking-3teDH6",nameDefault:"nameDefault-1I0lx8",nameHovered:"nameHovered-28u_Fz",nameSpeaking:"nameSpeaking-3ROx9q",iconSpacing:"iconSpacing-1WJZFe"}},function(e,t){e.exports={icon:"icon-2WU8ha"}},function(e,t){e.exports={icon:"icon-3dhTrw"}},function(e,t){e.exports={icon:"icon-3rMtHF",iconButton:"iconButton-1gj-X0 icon-3rMtHF",iconDefault:"iconDefault-17iS5K icon-3rMtHF"}},function(e,t){e.exports={icon:"icon-33Frxe"}},function(e,t){e.exports={icon:"icon-1NXYub"}},function(e,t){e.exports={draggable:"draggable-2aWBFf"}},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n.p+"c6e92752668dde4eee5923d70441579f.mp3"},function(e,t,n){e.exports=n.p+"84a1b4e11d634dbfa1e5dd97a96de3ad.mp3"},function(e,t,n){e.exports=n.p+"b9411af07f154a6fef543e7e442e4da9.mp3"},function(e,t,n){e.exports=n.p+"71f048f8aa7d4b24bf4268a87cbbb192.mp3"},function(e,t,n){e.exports=n.p+"1de04408e62b5d52ae3ebbb91e9e1978.mp3"},function(e,t,n){e.exports=n.p+"2c0433f93db8449e4a82b76dc520cb29.mp3"},function(e,t,n){e.exports=n.p+"68472713f7a62c7c37e0a6a5d5a1faeb.mp3"},function(e,t,n){e.exports=n.p+"e4d539271704b87764dc465b1a061abd.mp3"},function(e,t,n){e.exports=n.p+"7e125dc075ec6e5ae796e4c3ab83abb3.mp3"},function(e,t,n){e.exports=n.p+"a37dcd6272ae41cf49295d58c9806fe3.mp3"},function(e,t,n){e.exports=n.p+"fa4d62c3cbc80733bf1f01b9c6f181de.mp3"},function(e,t,n){e.exports=n.p+"a5f42064e8120e381528b14fd3188b72.mp3"},function(e,t,n){e.exports=n.p+"84c9fa3d07da865278bd77c97d952db4.mp3"},function(e,t,n){e.exports=n.p+"dd920c06a01e5bb8b09678581e29d56f.mp3"},function(e,t,n){e.exports=n.p+"15fe810f6cfab609c7fcda61652b9b34.mp3"},function(e,t,n){e.exports=n.p+"53ce6a92d3c233e8b4ac529d34d374e4.mp3"},function(e,t,n){e.exports=n.p+"429d09ee3b86e81a75b5e06d3fb482be.mp3"},function(e,t,n){e.exports=n.p+"ad322ffe0a88436296158a80d5d11baa.mp3"},function(e,t,n){e.exports=n.p+"8b63833c8d252fedba6b9c4f2517c705.mp3"},function(e,t,n){e.exports=n.p+"74ab980d6890a0fa6aa0336182f9f620.mp3"},function(e,t,n){e.exports=n.p+"471cfd0005b112ff857705e894bf41a6.mp3"},function(e,t,n){e.exports=n.p+"66598bea6e59eb8acdf32cf2d9d75ba9.mp3"},function(e,t,n){e.exports=n.p+"5a000a0d4dff083d12a1d4fc2c7cbf66.mp3"},function(e,t,n){e.exports=n.p+"43805b9dd757ac4f6b9b58c1a8ee5f0d.mp3"},function(e,t,n){e.exports=n.p+"5dd43c946894005258d85770f0d10cff.mp3"},function(e,t,n){e.exports=n.p+"4fcfeb2cba26459c4750e60f626cebdc.mp3"},function(e,t,n){e.exports=n.p+"6b3cc6ff5c09de83cc37561a43304dee.mp4"},function(e,t,n){e.exports=n.p+"62ac6016dc438a1fe4926ed43d3fe280.webm"},function(e,t,n){e.exports=n.p+"0195c4553845152218998ecca4bea041.mp4"},function(e,t,n){e.exports=n.p+"87821c580ced4688ebae530b56bd7824.webm"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports={locale:"en",date:{ca:["gregory","buddhist","chinese","coptic","dangi","ethioaa","ethiopic","generic","hebrew","indian","islamic","islamicc","japanese","persian","roc"],hourNo0:!0,hour12:!0,formats:{medium:"{1}, {0}",availableFormats:{E:"ccc",EHm:"E HH:mm",EHms:"E HH:mm:ss",Ed:"d E",Ehm:"E h:mm a",Ehms:"E h:mm:ss a",Gy:"y G",GyMMM:"MMM y G",GyMMMEd:"E, MMM d, y G",GyMMMd:"MMM d, y G",H:"HH",Hm:"HH:mm",Hms:"HH:mm:ss",Hmsv:"HH:mm:ss v",Hmv:"HH:mm v",M:"L",MEd:"E, M/d",MMM:"LLL",MMMEd:"E, MMM d",MMMd:"MMM d",Md:"M/d",d:"d",h:"h a",hm:"h:mm a",hms:"h:mm:ss a",hmsv:"h:mm:ss a v",hmv:"h:mm a v",ms:"mm:ss",y:"y",yM:"M/y",yMEd:"E, M/d/y",yMMM:"MMM y",yMMMEd:"E, MMM d, y",yMMMd:"MMM d, y",yMd:"M/d/y",yQQQ:"QQQ y",yQQQQ:"QQQQ y"},dateFormats:{full:"EEEE, MMMM d, y",long:"MMMM d, y",medium:"MMM d, y",short:"M/d/yy"},timeFormats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"}},calendars:{buddhist:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["BE"],short:["BE"],long:["BE"]},dayPeriods:{am:"AM",pm:"PM"}},chinese:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Mo1","Mo2","Mo3","Mo4","Mo5","Mo6","Mo7","Mo8","Mo9","Mo10","Mo11","Mo12"],long:["Month1","Month2","Month3","Month4","Month5","Month6","Month7","Month8","Month9","Month10","Month11","Month12"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriods:{am:"AM",pm:"PM"}},coptic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],short:["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"],long:["Tout","Baba","Hator","Kiahk","Toba","Amshir","Baramhat","Baramouda","Bashans","Paona","Epep","Mesra","Nasie"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],short:["ERA0","ERA1"],long:["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},dangi:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Mo1","Mo2","Mo3","Mo4","Mo5","Mo6","Mo7","Mo8","Mo9","Mo10","Mo11","Mo12"],long:["Month1","Month2","Month3","Month4","Month5","Month6","Month7","Month8","Month9","Month10","Month11","Month12"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},dayPeriods:{am:"AM",pm:"PM"}},ethiopic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],short:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],long:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],short:["ERA0","ERA1"],long:["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},ethioaa:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13"],short:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"],long:["Meskerem","Tekemt","Hedar","Tahsas","Ter","Yekatit","Megabit","Miazia","Genbot","Sene","Hamle","Nehasse","Pagumen"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0"],short:["ERA0"],long:["ERA0"]},dayPeriods:{am:"AM",pm:"PM"}},generic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"],long:["M01","M02","M03","M04","M05","M06","M07","M08","M09","M10","M11","M12"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["ERA0","ERA1"],short:["ERA0","ERA1"],long:["ERA0","ERA1"]},dayPeriods:{am:"AM",pm:"PM"}},gregory:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["B","A","BCE","CE"],short:["BC","AD","BCE","CE"],long:["Before Christ","Anno Domini","Before Common Era","Common Era"]},dayPeriods:{am:"AM",pm:"PM"}},hebrew:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12","13","7"],short:["Tishri","Heshvan","Kislev","Tevet","Shevat","Adar I","Adar","Nisan","Iyar","Sivan","Tamuz","Av","Elul","Adar II"],long:["Tishri","Heshvan","Kislev","Tevet","Shevat","Adar I","Adar","Nisan","Iyar","Sivan","Tamuz","Av","Elul","Adar II"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AM"],short:["AM"],long:["AM"]},dayPeriods:{am:"AM",pm:"PM"}},indian:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"],long:["Chaitra","Vaisakha","Jyaistha","Asadha","Sravana","Bhadra","Asvina","Kartika","Agrahayana","Pausa","Magha","Phalguna"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Saka"],short:["Saka"],long:["Saka"]},dayPeriods:{am:"AM",pm:"PM"}},islamic:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],long:["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AH"],short:["AH"],long:["AH"]},dayPeriods:{am:"AM",pm:"PM"}},islamicc:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Muh.","Saf.","Rab. I","Rab. II","Jum. I","Jum. II","Raj.","Sha.","Ram.","Shaw.","Dhuʻl-Q.","Dhuʻl-H."],long:["Muharram","Safar","Rabiʻ I","Rabiʻ II","Jumada I","Jumada II","Rajab","Shaʻban","Ramadan","Shawwal","Dhuʻl-Qiʻdah","Dhuʻl-Hijjah"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AH"],short:["AH"],long:["AH"]},dayPeriods:{am:"AM",pm:"PM"}},japanese:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Taika (645-650)","Hakuchi (650-671)","Hakuhō (672-686)","Shuchō (686-701)","Taihō (701-704)","Keiun (704-708)","Wadō (708-715)","Reiki (715-717)","Yōrō (717-724)","Jinki (724-729)","Tempyō (729-749)","Tempyō-kampō (749-749)","Tempyō-shōhō (749-757)","Tempyō-hōji (757-765)","Temphō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770-780)","Ten-ō (781-782)","Enryaku (782-806)","Daidō (806-810)","Kōnin (810-824)","Tenchō (824-834)","Jōwa (834-848)","Kajō (848-851)","Ninju (851-854)","Saiko (854-857)","Tennan (857-859)","Jōgan (859-877)","Genkei (877-885)","Ninna (885-889)","Kampyō (889-898)","Shōtai (898-901)","Engi (901-923)","Enchō (923-931)","Shōhei (931-938)","Tengyō (938-947)","Tenryaku (947-957)","Tentoku (957-961)","Ōwa (961-964)","Kōhō (964-968)","Anna (968-970)","Tenroku (970-973)","Ten-en (973-976)","Jōgen (976-978)","Tengen (978-983)","Eikan (983-985)","Kanna (985-987)","Ei-en (987-989)","Eiso (989-990)","Shōryaku (990-995)","Chōtoku (995-999)","Chōhō (999-1004)","Kankō (1004-1012)","Chōwa (1012-1017)","Kannin (1017-1021)","Jian (1021-1024)","Manju (1024-1028)","Chōgen (1028-1037)","Chōryaku (1037-1040)","Chōkyū (1040-1044)","Kantoku (1044-1046)","Eishō (1046-1053)","Tengi (1053-1058)","Kōhei (1058-1065)","Jiryaku (1065-1069)","Enkyū (1069-1074)","Shōho (1074-1077)","Shōryaku (1077-1081)","Eiho (1081-1084)","Ōtoku (1084-1087)","Kanji (1087-1094)","Kaho (1094-1096)","Eichō (1096-1097)","Shōtoku (1097-1099)","Kōwa (1099-1104)","Chōji (1104-1106)","Kashō (1106-1108)","Tennin (1108-1110)","Ten-ei (1110-1113)","Eikyū (1113-1118)","Gen-ei (1118-1120)","Hoan (1120-1124)","Tenji (1124-1126)","Daiji (1126-1131)","Tenshō (1131-1132)","Chōshō (1132-1135)","Hoen (1135-1141)","Eiji (1141-1142)","Kōji (1142-1144)","Tenyō (1144-1145)","Kyūan (1145-1151)","Ninpei (1151-1154)","Kyūju (1154-1156)","Hogen (1156-1159)","Heiji (1159-1160)","Eiryaku (1160-1161)","Ōho (1161-1163)","Chōkan (1163-1165)","Eiman (1165-1166)","Nin-an (1166-1169)","Kaō (1169-1171)","Shōan (1171-1175)","Angen (1175-1177)","Jishō (1177-1181)","Yōwa (1181-1182)","Juei (1182-1184)","Genryuku (1184-1185)","Bunji (1185-1190)","Kenkyū (1190-1199)","Shōji (1199-1201)","Kennin (1201-1204)","Genkyū (1204-1206)","Ken-ei (1206-1207)","Shōgen (1207-1211)","Kenryaku (1211-1213)","Kenpō (1213-1219)","Shōkyū (1219-1222)","Jōō (1222-1224)","Gennin (1224-1225)","Karoku (1225-1227)","Antei (1227-1229)","Kanki (1229-1232)","Jōei (1232-1233)","Tempuku (1233-1234)","Bunryaku (1234-1235)","Katei (1235-1238)","Ryakunin (1238-1239)","En-ō (1239-1240)","Ninji (1240-1243)","Kangen (1243-1247)","Hōji (1247-1249)","Kenchō (1249-1256)","Kōgen (1256-1257)","Shōka (1257-1259)","Shōgen (1259-1260)","Bun-ō (1260-1261)","Kōchō (1261-1264)","Bun-ei (1264-1275)","Kenji (1275-1278)","Kōan (1278-1288)","Shōō (1288-1293)","Einin (1293-1299)","Shōan (1299-1302)","Kengen (1302-1303)","Kagen (1303-1306)","Tokuji (1306-1308)","Enkei (1308-1311)","Ōchō (1311-1312)","Shōwa (1312-1317)","Bunpō (1317-1319)","Genō (1319-1321)","Genkyō (1321-1324)","Shōchū (1324-1326)","Kareki (1326-1329)","Gentoku (1329-1331)","Genkō (1331-1334)","Kemmu (1334-1336)","Engen (1336-1340)","Kōkoku (1340-1346)","Shōhei (1346-1370)","Kentoku (1370-1372)","Bunchũ (1372-1375)","Tenju (1375-1379)","Kōryaku (1379-1381)","Kōwa (1381-1384)","Genchũ (1384-1392)","Meitoku (1384-1387)","Kakei (1387-1389)","Kōō (1389-1390)","Meitoku (1390-1394)","Ōei (1394-1428)","Shōchō (1428-1429)","Eikyō (1429-1441)","Kakitsu (1441-1444)","Bun-an (1444-1449)","Hōtoku (1449-1452)","Kyōtoku (1452-1455)","Kōshō (1455-1457)","Chōroku (1457-1460)","Kanshō (1460-1466)","Bunshō (1466-1467)","Ōnin (1467-1469)","Bunmei (1469-1487)","Chōkyō (1487-1489)","Entoku (1489-1492)","Meiō (1492-1501)","Bunki (1501-1504)","Eishō (1504-1521)","Taiei (1521-1528)","Kyōroku (1528-1532)","Tenmon (1532-1555)","Kōji (1555-1558)","Eiroku (1558-1570)","Genki (1570-1573)","Tenshō (1573-1592)","Bunroku (1592-1596)","Keichō (1596-1615)","Genwa (1615-1624)","Kan-ei (1624-1644)","Shōho (1644-1648)","Keian (1648-1652)","Shōō (1652-1655)","Meiryaku (1655-1658)","Manji (1658-1661)","Kanbun (1661-1673)","Enpō (1673-1681)","Tenwa (1681-1684)","Jōkyō (1684-1688)","Genroku (1688-1704)","Hōei (1704-1711)","Shōtoku (1711-1716)","Kyōhō (1716-1736)","Genbun (1736-1741)","Kanpō (1741-1744)","Enkyō (1744-1748)","Kan-en (1748-1751)","Hōryaku (1751-1764)","Meiwa (1764-1772)","An-ei (1772-1781)","Tenmei (1781-1789)","Kansei (1789-1801)","Kyōwa (1801-1804)","Bunka (1804-1818)","Bunsei (1818-1830)","Tenpō (1830-1844)","Kōka (1844-1848)","Kaei (1848-1854)","Ansei (1854-1860)","Man-en (1860-1861)","Bunkyū (1861-1864)","Genji (1864-1865)","Keiō (1865-1868)","M","T","S","H"],short:["Taika (645-650)","Hakuchi (650-671)","Hakuhō (672-686)","Shuchō (686-701)","Taihō (701-704)","Keiun (704-708)","Wadō (708-715)","Reiki (715-717)","Yōrō (717-724)","Jinki (724-729)","Tempyō (729-749)","Tempyō-kampō (749-749)","Tempyō-shōhō (749-757)","Tempyō-hōji (757-765)","Temphō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770-780)","Ten-ō (781-782)","Enryaku (782-806)","Daidō (806-810)","Kōnin (810-824)","Tenchō (824-834)","Jōwa (834-848)","Kajō (848-851)","Ninju (851-854)","Saiko (854-857)","Tennan (857-859)","Jōgan (859-877)","Genkei (877-885)","Ninna (885-889)","Kampyō (889-898)","Shōtai (898-901)","Engi (901-923)","Enchō (923-931)","Shōhei (931-938)","Tengyō (938-947)","Tenryaku (947-957)","Tentoku (957-961)","Ōwa (961-964)","Kōhō (964-968)","Anna (968-970)","Tenroku (970-973)","Ten-en (973-976)","Jōgen (976-978)","Tengen (978-983)","Eikan (983-985)","Kanna (985-987)","Ei-en (987-989)","Eiso (989-990)","Shōryaku (990-995)","Chōtoku (995-999)","Chōhō (999-1004)","Kankō (1004-1012)","Chōwa (1012-1017)","Kannin (1017-1021)","Jian (1021-1024)","Manju (1024-1028)","Chōgen (1028-1037)","Chōryaku (1037-1040)","Chōkyū (1040-1044)","Kantoku (1044-1046)","Eishō (1046-1053)","Tengi (1053-1058)","Kōhei (1058-1065)","Jiryaku (1065-1069)","Enkyū (1069-1074)","Shōho (1074-1077)","Shōryaku (1077-1081)","Eiho (1081-1084)","Ōtoku (1084-1087)","Kanji (1087-1094)","Kaho (1094-1096)","Eichō (1096-1097)","Shōtoku (1097-1099)","Kōwa (1099-1104)","Chōji (1104-1106)","Kashō (1106-1108)","Tennin (1108-1110)","Ten-ei (1110-1113)","Eikyū (1113-1118)","Gen-ei (1118-1120)","Hoan (1120-1124)","Tenji (1124-1126)","Daiji (1126-1131)","Tenshō (1131-1132)","Chōshō (1132-1135)","Hoen (1135-1141)","Eiji (1141-1142)","Kōji (1142-1144)","Tenyō (1144-1145)","Kyūan (1145-1151)","Ninpei (1151-1154)","Kyūju (1154-1156)","Hogen (1156-1159)","Heiji (1159-1160)","Eiryaku (1160-1161)","Ōho (1161-1163)","Chōkan (1163-1165)","Eiman (1165-1166)","Nin-an (1166-1169)","Kaō (1169-1171)","Shōan (1171-1175)","Angen (1175-1177)","Jishō (1177-1181)","Yōwa (1181-1182)","Juei (1182-1184)","Genryuku (1184-1185)","Bunji (1185-1190)","Kenkyū (1190-1199)","Shōji (1199-1201)","Kennin (1201-1204)","Genkyū (1204-1206)","Ken-ei (1206-1207)","Shōgen (1207-1211)","Kenryaku (1211-1213)","Kenpō (1213-1219)","Shōkyū (1219-1222)","Jōō (1222-1224)","Gennin (1224-1225)","Karoku (1225-1227)","Antei (1227-1229)","Kanki (1229-1232)","Jōei (1232-1233)","Tempuku (1233-1234)","Bunryaku (1234-1235)","Katei (1235-1238)","Ryakunin (1238-1239)","En-ō (1239-1240)","Ninji (1240-1243)","Kangen (1243-1247)","Hōji (1247-1249)","Kenchō (1249-1256)","Kōgen (1256-1257)","Shōka (1257-1259)","Shōgen (1259-1260)","Bun-ō (1260-1261)","Kōchō (1261-1264)","Bun-ei (1264-1275)","Kenji (1275-1278)","Kōan (1278-1288)","Shōō (1288-1293)","Einin (1293-1299)","Shōan (1299-1302)","Kengen (1302-1303)","Kagen (1303-1306)","Tokuji (1306-1308)","Enkei (1308-1311)","Ōchō (1311-1312)","Shōwa (1312-1317)","Bunpō (1317-1319)","Genō (1319-1321)","Genkyō (1321-1324)","Shōchū (1324-1326)","Kareki (1326-1329)","Gentoku (1329-1331)","Genkō (1331-1334)","Kemmu (1334-1336)","Engen (1336-1340)","Kōkoku (1340-1346)","Shōhei (1346-1370)","Kentoku (1370-1372)","Bunchū (1372-1375)","Tenju (1375-1379)","Kōryaku (1379-1381)","Kōwa (1381-1384)","Genchū (1384-1392)","Meitoku (1384-1387)","Kakei (1387-1389)","Kōō (1389-1390)","Meitoku (1390-1394)","Ōei (1394-1428)","Shōchō (1428-1429)","Eikyō (1429-1441)","Kakitsu (1441-1444)","Bun-an (1444-1449)","Hōtoku (1449-1452)","Kyōtoku (1452-1455)","Kōshō (1455-1457)","Chōroku (1457-1460)","Kanshō (1460-1466)","Bunshō (1466-1467)","Ōnin (1467-1469)","Bunmei (1469-1487)","Chōkyō (1487-1489)","Entoku (1489-1492)","Meiō (1492-1501)","Bunki (1501-1504)","Eishō (1504-1521)","Taiei (1521-1528)","Kyōroku (1528-1532)","Tenmon (1532-1555)","Kōji (1555-1558)","Eiroku (1558-1570)","Genki (1570-1573)","Tenshō (1573-1592)","Bunroku (1592-1596)","Keichō (1596-1615)","Genwa (1615-1624)","Kan-ei (1624-1644)","Shōho (1644-1648)","Keian (1648-1652)","Shōō (1652-1655)","Meiryaku (1655-1658)","Manji (1658-1661)","Kanbun (1661-1673)","Enpō (1673-1681)","Tenwa (1681-1684)","Jōkyō (1684-1688)","Genroku (1688-1704)","Hōei (1704-1711)","Shōtoku (1711-1716)","Kyōhō (1716-1736)","Genbun (1736-1741)","Kanpō (1741-1744)","Enkyō (1744-1748)","Kan-en (1748-1751)","Hōryaku (1751-1764)","Meiwa (1764-1772)","An-ei (1772-1781)","Tenmei (1781-1789)","Kansei (1789-1801)","Kyōwa (1801-1804)","Bunka (1804-1818)","Bunsei (1818-1830)","Tenpō (1830-1844)","Kōka (1844-1848)","Kaei (1848-1854)","Ansei (1854-1860)","Man-en (1860-1861)","Bunkyū (1861-1864)","Genji (1864-1865)","Keiō (1865-1868)","Meiji","Taishō","Shōwa","Heisei"],long:["Taika (645-650)","Hakuchi (650-671)","Hakuhō (672-686)","Shuchō (686-701)","Taihō (701-704)","Keiun (704-708)","Wadō (708-715)","Reiki (715-717)","Yōrō (717-724)","Jinki (724-729)","Tempyō (729-749)","Tempyō-kampō (749-749)","Tempyō-shōhō (749-757)","Tempyō-hōji (757-765)","Temphō-jingo (765-767)","Jingo-keiun (767-770)","Hōki (770-780)","Ten-ō (781-782)","Enryaku (782-806)","Daidō (806-810)","Kōnin (810-824)","Tenchō (824-834)","Jōwa (834-848)","Kajō (848-851)","Ninju (851-854)","Saiko (854-857)","Tennan (857-859)","Jōgan (859-877)","Genkei (877-885)","Ninna (885-889)","Kampyō (889-898)","Shōtai (898-901)","Engi (901-923)","Enchō (923-931)","Shōhei (931-938)","Tengyō (938-947)","Tenryaku (947-957)","Tentoku (957-961)","Ōwa (961-964)","Kōhō (964-968)","Anna (968-970)","Tenroku (970-973)","Ten-en (973-976)","Jōgen (976-978)","Tengen (978-983)","Eikan (983-985)","Kanna (985-987)","Ei-en (987-989)","Eiso (989-990)","Shōryaku (990-995)","Chōtoku (995-999)","Chōhō (999-1004)","Kankō (1004-1012)","Chōwa (1012-1017)","Kannin (1017-1021)","Jian (1021-1024)","Manju (1024-1028)","Chōgen (1028-1037)","Chōryaku (1037-1040)","Chōkyū (1040-1044)","Kantoku (1044-1046)","Eishō (1046-1053)","Tengi (1053-1058)","Kōhei (1058-1065)","Jiryaku (1065-1069)","Enkyū (1069-1074)","Shōho (1074-1077)","Shōryaku (1077-1081)","Eiho (1081-1084)","Ōtoku (1084-1087)","Kanji (1087-1094)","Kaho (1094-1096)","Eichō (1096-1097)","Shōtoku (1097-1099)","Kōwa (1099-1104)","Chōji (1104-1106)","Kashō (1106-1108)","Tennin (1108-1110)","Ten-ei (1110-1113)","Eikyū (1113-1118)","Gen-ei (1118-1120)","Hoan (1120-1124)","Tenji (1124-1126)","Daiji (1126-1131)","Tenshō (1131-1132)","Chōshō (1132-1135)","Hoen (1135-1141)","Eiji (1141-1142)","Kōji (1142-1144)","Tenyō (1144-1145)","Kyūan (1145-1151)","Ninpei (1151-1154)","Kyūju (1154-1156)","Hogen (1156-1159)","Heiji (1159-1160)","Eiryaku (1160-1161)","Ōho (1161-1163)","Chōkan (1163-1165)","Eiman (1165-1166)","Nin-an (1166-1169)","Kaō (1169-1171)","Shōan (1171-1175)","Angen (1175-1177)","Jishō (1177-1181)","Yōwa (1181-1182)","Juei (1182-1184)","Genryuku (1184-1185)","Bunji (1185-1190)","Kenkyū (1190-1199)","Shōji (1199-1201)","Kennin (1201-1204)","Genkyū (1204-1206)","Ken-ei (1206-1207)","Shōgen (1207-1211)","Kenryaku (1211-1213)","Kenpō (1213-1219)","Shōkyū (1219-1222)","Jōō (1222-1224)","Gennin (1224-1225)","Karoku (1225-1227)","Antei (1227-1229)","Kanki (1229-1232)","Jōei (1232-1233)","Tempuku (1233-1234)","Bunryaku (1234-1235)","Katei (1235-1238)","Ryakunin (1238-1239)","En-ō (1239-1240)","Ninji (1240-1243)","Kangen (1243-1247)","Hōji (1247-1249)","Kenchō (1249-1256)","Kōgen (1256-1257)","Shōka (1257-1259)","Shōgen (1259-1260)","Bun-ō (1260-1261)","Kōchō (1261-1264)","Bun-ei (1264-1275)","Kenji (1275-1278)","Kōan (1278-1288)","Shōō (1288-1293)","Einin (1293-1299)","Shōan (1299-1302)","Kengen (1302-1303)","Kagen (1303-1306)","Tokuji (1306-1308)","Enkei (1308-1311)","Ōchō (1311-1312)","Shōwa (1312-1317)","Bunpō (1317-1319)","Genō (1319-1321)","Genkyō (1321-1324)","Shōchū (1324-1326)","Kareki (1326-1329)","Gentoku (1329-1331)","Genkō (1331-1334)","Kemmu (1334-1336)","Engen (1336-1340)","Kōkoku (1340-1346)","Shōhei (1346-1370)","Kentoku (1370-1372)","Bunchū (1372-1375)","Tenju (1375-1379)","Kōryaku (1379-1381)","Kōwa (1381-1384)","Genchū (1384-1392)","Meitoku (1384-1387)","Kakei (1387-1389)","Kōō (1389-1390)","Meitoku (1390-1394)","Ōei (1394-1428)","Shōchō (1428-1429)","Eikyō (1429-1441)","Kakitsu (1441-1444)","Bun-an (1444-1449)","Hōtoku (1449-1452)","Kyōtoku (1452-1455)","Kōshō (1455-1457)","Chōroku (1457-1460)","Kanshō (1460-1466)","Bunshō (1466-1467)","Ōnin (1467-1469)","Bunmei (1469-1487)","Chōkyō (1487-1489)","Entoku (1489-1492)","Meiō (1492-1501)","Bunki (1501-1504)","Eishō (1504-1521)","Taiei (1521-1528)","Kyōroku (1528-1532)","Tenmon (1532-1555)","Kōji (1555-1558)","Eiroku (1558-1570)","Genki (1570-1573)","Tenshō (1573-1592)","Bunroku (1592-1596)","Keichō (1596-1615)","Genwa (1615-1624)","Kan-ei (1624-1644)","Shōho (1644-1648)","Keian (1648-1652)","Shōō (1652-1655)","Meiryaku (1655-1658)","Manji (1658-1661)","Kanbun (1661-1673)","Enpō (1673-1681)","Tenwa (1681-1684)","Jōkyō (1684-1688)","Genroku (1688-1704)","Hōei (1704-1711)","Shōtoku (1711-1716)","Kyōhō (1716-1736)","Genbun (1736-1741)","Kanpō (1741-1744)","Enkyō (1744-1748)","Kan-en (1748-1751)","Hōryaku (1751-1764)","Meiwa (1764-1772)","An-ei (1772-1781)","Tenmei (1781-1789)","Kansei (1789-1801)","Kyōwa (1801-1804)","Bunka (1804-1818)","Bunsei (1818-1830)","Tenpō (1830-1844)","Kōka (1844-1848)","Kaei (1848-1854)","Ansei (1854-1860)","Man-en (1860-1861)","Bunkyū (1861-1864)","Genji (1864-1865)","Keiō (1865-1868)","Meiji","Taishō","Shōwa","Heisei"]},dayPeriods:{am:"AM",pm:"PM"}},persian:{months:{narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],short:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"],long:["Farvardin","Ordibehesht","Khordad","Tir","Mordad","Shahrivar","Mehr","Aban","Azar","Dey","Bahman","Esfand"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["AP"],short:["AP"],long:["AP"]},dayPeriods:{am:"AM",pm:"PM"}},roc:{months:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},days:{narrow:["S","M","T","W","T","F","S"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},eras:{narrow:["Before R.O.C.","Minguo"],short:["Before R.O.C.","Minguo"],long:["Before R.O.C.","Minguo"]},dayPeriods:{am:"AM",pm:"PM"}}}},number:{nu:["latn"],patterns:{decimal:{positivePattern:"{number}",negativePattern:"-{number}"},currency:{positivePattern:"{currency}{number}",negativePattern:"-{currency}{number}"},percent:{positivePattern:"{number}%",negativePattern:"-{number}%"}},symbols:{latn:{decimal:".",group:",",nan:"NaN",percent:"%",infinity:"∞"}},currencies:{AUD:"A$",BRL:"R$",CAD:"CA$",CNY:"CN¥",EUR:"€",GBP:"£",HKD:"HK$",ILS:"₪",INR:"₹",JPY:"¥",KRW:"₩",MXN:"MX$",NZD:"NZ$",TWD:"NT$",USD:"$",VND:"₫",XAF:"FCFA",XCD:"EC$",XOF:"CFA",XPF:"CFPF"}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){function n(e){var t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=h.hex6.exec(e))?parseInt(t[1]+"ff",16)>>>0:g.hasOwnProperty(e)?g[e]:(t=h.rgb.exec(e))?(s(t[1])<<24|s(t[2])<<16|s(t[3])<<8|255)>>>0:(t=h.rgba.exec(e))?(s(t[1])<<24|s(t[2])<<16|s(t[3])<<8|u(t[4]))>>>0:(t=h.hex3.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=h.hex8.exec(e))?parseInt(t[1],16)>>>0:(t=h.hex4.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=h.hsl.exec(e))?(255|o(l(t[1]),f(t[2]),f(t[3])))>>>0:(t=h.hsla.exec(e))?(o(l(t[1]),f(t[2]),f(t[3]))|u(t[4]))>>>0:null}function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function o(e,t,n){var o=n<.5?n*(1+t):n+t-n*t,r=2*n-o,i=a(r,o,e+1/3),s=a(r,o,e),l=a(r,o,e-1/3);return Math.round(255*i)<<24|Math.round(255*s)<<16|Math.round(255*l)<<8}function r(e){return Array.prototype.slice.call(e,0)}function i(){return"\\(\\s*("+r(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}function s(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function l(e){return(parseFloat(e)%360+360)%360/360}function u(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function f(e){var t=parseFloat(e,10);return t<0?0:t>100?1:t/100}function c(e){return{r:Math.round((4278190080&e)>>>24),g:Math.round((16711680&e)>>>16),b:Math.round((65280&e)>>>8),a:((255&e)>>>0)/255}}var d="[-+]?\\d*\\.?\\d+",p=d+"%",h={rgb:new RegExp("rgb"+i(d,d,d)),rgba:new RegExp("rgba"+i(d,d,d,d)),hsl:new RegExp("hsl"+i(d,p,p)),hsla:new RegExp("hsla"+i(d,p,p,d)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/},g={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199};n.rgba=c,e.exports=n},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,n,r){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var s=/\+/g;e=e.split(t);var l=1e3;r&&"number"==typeof r.maxKeys&&(l=r.maxKeys);var u=e.length;l>0&&u>l&&(u=l);for(var f=0;f<u;++f){var c,d,p,h,g=e[f].replace(s,"%20"),m=g.indexOf(n);m>=0?(c=g.substr(0,m),d=g.substr(m+1)):(c=g,d=""),p=decodeURIComponent(c),h=decodeURIComponent(d),a(i,p)?o(i[p])?i[p].push(h):i[p]=[i[p],h]:i[p]=h}return i};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,n){"use strict";function a(e,t){if(e.map)return e.map(t);for(var n=[],a=0;a<e.length;a++)n.push(t(e[a],a));return n}var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?a(i(e),function(i){var s=encodeURIComponent(o(i))+n;return r(e[i])?a(e[i],function(e){return s+encodeURIComponent(o(e))}).join(t):s+encodeURIComponent(o(e[i]))}).join(t):s?encodeURIComponent(o(s))+n+encodeURIComponent(o(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},,,,,function(e,t){e.exports='---changelog---\ndate: "2017-05-17"\nrevision: 1\nexperiment_names: ["2017-05-17_changelog_localized_swedish"]\nexperiment_bucket: 1\n---\nGrattis på födelsedagen! {changelog-added-secondary changelog-margin-top}\n=======================================================\n\n* **Discord fyller två år!** Tack så mycket för att du är en del av vår resa. Take en titt på videon ovan för att se hur Discord växt under det senaste året.\n* Vill du stödja Discord\'s utveckling? Skaffa [Discord Nitro](https://discordapp.com/nitro) och lås upp bonusfunktioner för ditt konto.\n* Vill du bokstavligen bygga Discord? [Vi söker folk!](https://discordapp.com/company)\n\n---changelog---\ndate: "2017-05-17"\nrevision: 1\nexperiment_names: ["2017-05-17_changelog_localized_russian"]\nexperiment_bucket: 1\n---\nС Днем Рождения! {changelog-added-secondary changelog-margin-top}\n=======================================================\n\n* **Discord исполнилось два годика!** Спасибо Вам за то, что Вы стали частью нашего приключения. Взгляните на видео выше и посмотрите как вырос Discord за последний год.\n* Хотите поддержать разработку Discord? Получите [Discord Nitro](https://discordapp.com/nitro) и разблокируйте дополнительные возможности для Вашей учетной записи.\n* Хотите в прямом смысле слова строить Discord? [Мы ищем таланты!](https://discordapp.com/company)\n\n---changelog---\ndate: "2017-05-17"\nrevision: 1\nexperiment_names: ["2017-05-17_changelog_localized_dutch"]\nexperiment_bucket: 1\n---\nFijne Verjaardag! {changelog-added-secondary changelog-margin-top}\n=======================================================\n\n* **Discord wordt twee jaar oud!** Ontzettend bedankt dat jullie deel uit maken van ons avontuur! Bekijk de video hierboven om te zien hoe Discord gegroeid is het afgelopen jaar.\n* Wil je de ontwikkeling van Discord ondersteunen? Download [Discord Nitro](https://discordapp.com/nitro) en krijg bonusfuncties voor jouw account.\n* Wil je meehelpen Discord te ontwikkelen? [Er zijn vacatures!!](https://discordapp.com/company)\n\n---changelog---\ndate: "2017-05-17"\nrevision: 1\nexperiment_names: ["2017-05-17_changelog_localized_italian"]\nexperiment_bucket: 1\n---\nBuon Compleanno! {changelog-added-secondary changelog-margin-top}\n=======================================================\n\n* **Discord compie due anni!** Un sentito ringraziamento di tutto cuore per aver preso parte insieme a noi a questo viaggio. Dai un\'occhiata al video qui sopra per vedere com\'è cresciuto Discord nell\'ultimo anno.\n* Vuoi supportare lo sviluppo di Discord? Acquista [Discord Nitro](https://discordapp.com/nitro) e sblocca tutte le funzionalità extra nel tuo account.\n* Vuoi letteralmente sviluppare Discord? [Stiamo cercando te!](https://discordapp.com/company)\n\n---changelog---\ndate: "2017-05-17"\nrevision: 1\nexperiment_names: ["2017-05-17_changelog_localized_portuguese"]\nexperiment_bucket: 1\n---\nFeliz Aniversário! {changelog-added-secondary changelog-margin-top}\n=======================================================\n\n* **Discord completa dois aninhos!** Muito obrigado por ser parte da nossa jornada. Dê uma olhada no vídeo acima pra ver o quanto o Discord cresceu nesse último ano.\n* Quer apoiar o desenvolvimento do Discord? Assine o [Discord Nitro](https://discordapp.com/nitro) e desbloqueie recursos exclusivos para sua conta.\n* Quer literalmente ajudar a fazer o Discord? [Estamos contratando!](https://discordapp.com/company)\n\n---changelog---\ndate: "2017-05-17"\nrevision: 1\nexperiment_names: ["2017-05-17_changelog_localized_french"]\nexperiment_bucket: 1\n---\nJoyeux anniversaire! {changelog-added-secondary changelog-margin-top}\n=======================================================\n\n* **Discord a deux ans !** Merci beaucoup à tous de faire partie de cette aventure. Jetez un œil à la vidéo pour voir comment Discord a grandi depuis l\'année dernière.\n* Vous voulez soutenir le développement de Discord ? Passez à [Discord Nitro](https://discordapp.com/nitro) et débloquez des fonctionnalités bonus pour votre compte.\n* Vous souhaitez développer Discord ? [On embauche !](https://discordapp.com/company)\n\n---changelog---\ndate: "2017-05-17"\nrevision: 1\nexperiment_names: ["2017-05-17_changelog_localized_spanish"]\nexperiment_bucket: 1\n---\n¡Feliz cumpleaños! {changelog-added-secondary changelog-margin-top}\n=======================================================\n\n* **¡Discord tiene ya dos añitos!** Muchas gracias por ser parte de esto. Echad un vistazo a este vídeo para ver como ha crecido Discord en este año.\n* ¿Quieres apoyar el desarrollo de Discord? Obtén [Discord Nitro](https://discordapp.com/nitro) y desbloquea funcionalidades adicionales en tu cuenta.\n* ¿Quieres contruir Discord? [¡Estamos contratando!](https://discordapp.com/company)\n\n---changelog---\ndate: "2017-05-17"\nrevision: 1\nexperiment_names: ["2017-05-17_changelog_localized_japanese"]\nexperiment_bucket: 1\n---\nハッピーバースデー {changelog-added-secondary changelog-margin-top}\n=======================================================\n\n* **Discordが2歳になるよ** この遥かなる旅路にきみが加わってくれて本当に嬉しいよ。上の動画はDiscordのこの一年の成長の記録だよ。\n* Discordの開発をサポートしたいってならば[Discord Nitro](https://discordapp.com/nitro)へゴー。アカウントへのボーナス機能をアンロックしよう。\n* いやぶっちゃけDiscordの開発者になりたいって[募集中です!](https://discordapp.com/company)\n\n---changelog---\ndate: "2017-05-17"\nrevision: 1\nexperiment_names: ["2017-05-17_changelog_localized_korean"]\nexperiment_bucket: 1\n---\n생일 축하합니다! {changelog-added-secondary changelog-margin-top}\n=======================================================\n\n* **Discord가 두 살이 되었습니다!** 우리의 여정에 함께 해주셔서 대단히 감사합니다. 작년에 Discord가 어떻게 강화되었는지는 이 영상을 참조하세요.\n* Discord의 발전에 기여하고 싶나요? [Discord Nitro](https://discordapp.com/nitro)를 얻으시고 따라오는 추가 혜택을 누리십시오.\n* Discord를 직접 만들고 싶나요? [직원 모집 중!](https://discordapp.com/company)\n\n---changelog---\ndate: "2017-05-17"\nrevision: 1\nyoutube_video_id: "ye1wyKGleFU"\n---\nHappy Birthday! {changelog-added-secondary changelog-margin-top}\n=======================================================\n\n* **Discord turns two years old!** Thank you so much for being a part of our journey. Take a look at the video above to see how Discord has grown in the last year.\n* Want to support Discord\'s development? Get [Discord Nitro](https://discordapp.com/nitro) and unlock bonus features for your account.\n* Want to literally build Discord? [We\'re hiring!](https://discordapp.com/company)\n'},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";e.exports=n(2766)},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),s=n(0),l=s.Component,u=function(e){function t(){return a(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),i(t,[{key:"render",value:function(){return this.props.component?s.createElement(this.props.component,this.props.props):s.Children.only(this.props.children)}}]),t}(l);e.exports=u},function(e,t,n){"use strict";var a=n(2765);e.exports=function(e){throw this&&this.callback?new Error('React Hot Loader: The Webpack loader is now exported separately. If you use Babel, we recommend that you remove "react-hot-loader" from the "loaders" section of your Webpack configuration altogether, and instead add "react-hot-loader/babel" to the "plugins" section of your .babelrc file. If you prefer not to use Babel, replace "react-hot-loader" or "react-hot" with "react-hot-loader/webpack" in the "loaders" section of your Webpack configuration.'):e&&e.types&&e.types.IfStatement?new Error('React Hot Loader: The Babel plugin is exported separately. Replace "react-hot-loader" with "react-hot-loader/babel" in the "plugins" section of your .babelrc file. While we recommend the above, if you prefer not to use Babel, you may remove "react-hot-loader" from the "plugins" section of your .babelrc file altogether, and instead add "react-hot-loader/webpack" to the "loaders" section of your Webpack configuration.'):new Error('React Hot Loader does not have a default export. If you use the import statement, make sure to include the curly braces: import { AppContainer } from "react-hot-loader". If you use CommonJS, make sure to read the named export: require("react-hot-loader").AppContainer.')},e.exports.AppContainer=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){function a(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./1f004.svg":3139,"./1f0cf.svg":3140,"./1f170.svg":3141,"./1f171.svg":3142,"./1f17e.svg":3143,"./1f17f.svg":3144,"./1f18e.svg":3145,"./1f191.svg":3146,"./1f192.svg":3147,"./1f193.svg":3148,"./1f194.svg":3149,"./1f195.svg":3150,"./1f196.svg":3151,"./1f197.svg":3152,"./1f198.svg":3153,"./1f199.svg":3154,"./1f19a.svg":3155,"./1f1e6-1f1e8.svg":3156,"./1f1e6-1f1e9.svg":3157,"./1f1e6-1f1ea.svg":3158,"./1f1e6-1f1eb.svg":3159,"./1f1e6-1f1ec.svg":3160,"./1f1e6-1f1ee.svg":3161,"./1f1e6-1f1f1.svg":3162,"./1f1e6-1f1f2.svg":3163,"./1f1e6-1f1f4.svg":3164,"./1f1e6-1f1f6.svg":3165,"./1f1e6-1f1f7.svg":3166,"./1f1e6-1f1f8.svg":3167,"./1f1e6-1f1f9.svg":3168,"./1f1e6-1f1fa.svg":3169,"./1f1e6-1f1fc.svg":3170,"./1f1e6-1f1fd.svg":3171,"./1f1e6-1f1ff.svg":3172,"./1f1e6.svg":3173,"./1f1e7-1f1e6.svg":3174,"./1f1e7-1f1e7.svg":3175,"./1f1e7-1f1e9.svg":3176,"./1f1e7-1f1ea.svg":3177,"./1f1e7-1f1eb.svg":3178,"./1f1e7-1f1ec.svg":3179,"./1f1e7-1f1ed.svg":3180,"./1f1e7-1f1ee.svg":3181,"./1f1e7-1f1ef.svg":3182,"./1f1e7-1f1f1.svg":3183,"./1f1e7-1f1f2.svg":3184,"./1f1e7-1f1f3.svg":3185,"./1f1e7-1f1f4.svg":3186,"./1f1e7-1f1f6.svg":3187,"./1f1e7-1f1f7.svg":3188,"./1f1e7-1f1f8.svg":3189,"./1f1e7-1f1f9.svg":3190,"./1f1e7-1f1fb.svg":3191,"./1f1e7-1f1fc.svg":3192,"./1f1e7-1f1fe.svg":3193,"./1f1e7-1f1ff.svg":3194,"./1f1e7.svg":3195,"./1f1e8-1f1e6.svg":3196,"./1f1e8-1f1e8.svg":3197,"./1f1e8-1f1e9.svg":3198,"./1f1e8-1f1eb.svg":3199,"./1f1e8-1f1ec.svg":3200,"./1f1e8-1f1ed.svg":3201,"./1f1e8-1f1ee.svg":3202,"./1f1e8-1f1f0.svg":3203,"./1f1e8-1f1f1.svg":3204,"./1f1e8-1f1f2.svg":3205,"./1f1e8-1f1f3.svg":3206,"./1f1e8-1f1f4.svg":3207,"./1f1e8-1f1f5.svg":3208,"./1f1e8-1f1f7.svg":3209,"./1f1e8-1f1fa.svg":3210,"./1f1e8-1f1fb.svg":3211,"./1f1e8-1f1fc.svg":3212,"./1f1e8-1f1fd.svg":3213,"./1f1e8-1f1fe.svg":3214,"./1f1e8-1f1ff.svg":3215,"./1f1e8.svg":3216,"./1f1e9-1f1ea.svg":3217,"./1f1e9-1f1ec.svg":3218,"./1f1e9-1f1ef.svg":3219,"./1f1e9-1f1f0.svg":3220,"./1f1e9-1f1f2.svg":3221,"./1f1e9-1f1f4.svg":3222,"./1f1e9-1f1ff.svg":3223,"./1f1e9.svg":3224,"./1f1ea-1f1e6.svg":3225,"./1f1ea-1f1e8.svg":3226,"./1f1ea-1f1ea.svg":3227,"./1f1ea-1f1ec.svg":3228,"./1f1ea-1f1ed.svg":3229,"./1f1ea-1f1f7.svg":3230,"./1f1ea-1f1f8.svg":3231,"./1f1ea-1f1f9.svg":3232,"./1f1ea-1f1fa.svg":3233,"./1f1ea.svg":3234,"./1f1eb-1f1ee.svg":3235,"./1f1eb-1f1ef.svg":3236,"./1f1eb-1f1f0.svg":3237,"./1f1eb-1f1f2.svg":3238,"./1f1eb-1f1f4.svg":3239,"./1f1eb-1f1f7.svg":3240,"./1f1eb.svg":3241,"./1f1ec-1f1e6.svg":3242,"./1f1ec-1f1e7.svg":3243,"./1f1ec-1f1e9.svg":3244,"./1f1ec-1f1ea.svg":3245,"./1f1ec-1f1eb.svg":3246,"./1f1ec-1f1ec.svg":3247,"./1f1ec-1f1ed.svg":3248,"./1f1ec-1f1ee.svg":3249,"./1f1ec-1f1f1.svg":3250,"./1f1ec-1f1f2.svg":3251,"./1f1ec-1f1f3.svg":3252,"./1f1ec-1f1f5.svg":3253,"./1f1ec-1f1f6.svg":3254,"./1f1ec-1f1f7.svg":3255,"./1f1ec-1f1f8.svg":3256,"./1f1ec-1f1f9.svg":3257,"./1f1ec-1f1fa.svg":3258,"./1f1ec-1f1fc.svg":3259,"./1f1ec-1f1fe.svg":3260,"./1f1ec.svg":3261,"./1f1ed-1f1f0.svg":3262,"./1f1ed-1f1f2.svg":3263,"./1f1ed-1f1f3.svg":3264,"./1f1ed-1f1f7.svg":3265,"./1f1ed-1f1f9.svg":3266,"./1f1ed-1f1fa.svg":3267,"./1f1ed.svg":3268,"./1f1ee-1f1e8.svg":3269,"./1f1ee-1f1e9.svg":3270,"./1f1ee-1f1ea.svg":3271,"./1f1ee-1f1f1.svg":3272,"./1f1ee-1f1f2.svg":3273,"./1f1ee-1f1f3.svg":3274,"./1f1ee-1f1f4.svg":3275,"./1f1ee-1f1f6.svg":3276,"./1f1ee-1f1f7.svg":3277,"./1f1ee-1f1f8.svg":3278,"./1f1ee-1f1f9.svg":3279,"./1f1ee.svg":3280,"./1f1ef-1f1ea.svg":3281,"./1f1ef-1f1f2.svg":3282,"./1f1ef-1f1f4.svg":3283,"./1f1ef-1f1f5.svg":3284,"./1f1ef.svg":3285,"./1f1f0-1f1ea.svg":3286,"./1f1f0-1f1ec.svg":3287,"./1f1f0-1f1ed.svg":3288,"./1f1f0-1f1ee.svg":3289,"./1f1f0-1f1f2.svg":3290,"./1f1f0-1f1f3.svg":3291,"./1f1f0-1f1f5.svg":3292,"./1f1f0-1f1f7.svg":3293,"./1f1f0-1f1fc.svg":3294,"./1f1f0-1f1fe.svg":3295,"./1f1f0-1f1ff.svg":3296,"./1f1f0.svg":3297,"./1f1f1-1f1e6.svg":3298,"./1f1f1-1f1e7.svg":3299,"./1f1f1-1f1e8.svg":3300,"./1f1f1-1f1ee.svg":3301,"./1f1f1-1f1f0.svg":3302,"./1f1f1-1f1f7.svg":3303,"./1f1f1-1f1f8.svg":3304,"./1f1f1-1f1f9.svg":3305,"./1f1f1-1f1fa.svg":3306,"./1f1f1-1f1fb.svg":3307,"./1f1f1-1f1fe.svg":3308,"./1f1f1.svg":3309,"./1f1f2-1f1e6.svg":3310,"./1f1f2-1f1e8.svg":3311,"./1f1f2-1f1e9.svg":3312,"./1f1f2-1f1ea.svg":3313,"./1f1f2-1f1eb.svg":3314,"./1f1f2-1f1ec.svg":3315,"./1f1f2-1f1ed.svg":3316,"./1f1f2-1f1f0.svg":3317,"./1f1f2-1f1f1.svg":3318,"./1f1f2-1f1f2.svg":3319,"./1f1f2-1f1f3.svg":3320,"./1f1f2-1f1f4.svg":3321,"./1f1f2-1f1f5.svg":3322,"./1f1f2-1f1f6.svg":3323,"./1f1f2-1f1f7.svg":3324,"./1f1f2-1f1f8.svg":3325,"./1f1f2-1f1f9.svg":3326,"./1f1f2-1f1fa.svg":3327,"./1f1f2-1f1fb.svg":3328,"./1f1f2-1f1fc.svg":3329,"./1f1f2-1f1fd.svg":3330,"./1f1f2-1f1fe.svg":3331,"./1f1f2-1f1ff.svg":3332,"./1f1f2.svg":3333,"./1f1f3-1f1e6.svg":3334,"./1f1f3-1f1e8.svg":3335,"./1f1f3-1f1ea.svg":3336,"./1f1f3-1f1eb.svg":3337,"./1f1f3-1f1ec.svg":3338,"./1f1f3-1f1ee.svg":3339,"./1f1f3-1f1f1.svg":3340,"./1f1f3-1f1f4.svg":3341,"./1f1f3-1f1f5.svg":3342,"./1f1f3-1f1f7.svg":3343,"./1f1f3-1f1fa.svg":3344,"./1f1f3-1f1ff.svg":3345,"./1f1f3.svg":3346,"./1f1f4-1f1f2.svg":3347,"./1f1f4.svg":3348,"./1f1f5-1f1e6.svg":3349,"./1f1f5-1f1ea.svg":3350,"./1f1f5-1f1eb.svg":3351,"./1f1f5-1f1ec.svg":3352,"./1f1f5-1f1ed.svg":3353,"./1f1f5-1f1f0.svg":3354,"./1f1f5-1f1f1.svg":3355,"./1f1f5-1f1f2.svg":3356,"./1f1f5-1f1f3.svg":3357,"./1f1f5-1f1f7.svg":3358,"./1f1f5-1f1f8.svg":3359,"./1f1f5-1f1f9.svg":3360,"./1f1f5-1f1fc.svg":3361,"./1f1f5-1f1fe.svg":3362,"./1f1f5.svg":3363,"./1f1f6-1f1e6.svg":3364,"./1f1f6.svg":3365,"./1f1f7-1f1ea.svg":3366,"./1f1f7-1f1f4.svg":3367,"./1f1f7-1f1f8.svg":3368,"./1f1f7-1f1fa.svg":3369,"./1f1f7-1f1fc.svg":3370,"./1f1f7.svg":3371,"./1f1f8-1f1e6.svg":3372,"./1f1f8-1f1e7.svg":3373,"./1f1f8-1f1e8.svg":3374,"./1f1f8-1f1e9.svg":3375,"./1f1f8-1f1ea.svg":3376,"./1f1f8-1f1ec.svg":3377,"./1f1f8-1f1ed.svg":3378,"./1f1f8-1f1ee.svg":3379,"./1f1f8-1f1ef.svg":3380,"./1f1f8-1f1f0.svg":3381,"./1f1f8-1f1f1.svg":3382,"./1f1f8-1f1f2.svg":3383,"./1f1f8-1f1f3.svg":3384,"./1f1f8-1f1f4.svg":3385,"./1f1f8-1f1f7.svg":3386,"./1f1f8-1f1f8.svg":3387,"./1f1f8-1f1f9.svg":3388,"./1f1f8-1f1fb.svg":3389,"./1f1f8-1f1fd.svg":3390,"./1f1f8-1f1fe.svg":3391,"./1f1f8-1f1ff.svg":3392,"./1f1f8.svg":3393,"./1f1f9-1f1e6.svg":3394,"./1f1f9-1f1e8.svg":3395,"./1f1f9-1f1e9.svg":3396,"./1f1f9-1f1eb.svg":3397,"./1f1f9-1f1ec.svg":3398,"./1f1f9-1f1ed.svg":3399,"./1f1f9-1f1ef.svg":3400,"./1f1f9-1f1f0.svg":3401,"./1f1f9-1f1f1.svg":3402,"./1f1f9-1f1f2.svg":3403,"./1f1f9-1f1f3.svg":3404,"./1f1f9-1f1f4.svg":3405,"./1f1f9-1f1f7.svg":3406,"./1f1f9-1f1f9.svg":3407,"./1f1f9-1f1fb.svg":3408,"./1f1f9-1f1fc.svg":3409,"./1f1f9-1f1ff.svg":3410,"./1f1f9.svg":3411,"./1f1fa-1f1e6.svg":3412,"./1f1fa-1f1ec.svg":3413,"./1f1fa-1f1f2.svg":3414,"./1f1fa-1f1f3.svg":3415,"./1f1fa-1f1f8.svg":3416,"./1f1fa-1f1fe.svg":3417,"./1f1fa-1f1ff.svg":3418,"./1f1fa.svg":3419,"./1f1fb-1f1e6.svg":3420,"./1f1fb-1f1e8.svg":3421,"./1f1fb-1f1ea.svg":3422,"./1f1fb-1f1ec.svg":3423,"./1f1fb-1f1ee.svg":3424,"./1f1fb-1f1f3.svg":3425,"./1f1fb-1f1fa.svg":3426,"./1f1fb.svg":3427,"./1f1fc-1f1eb.svg":3428,"./1f1fc-1f1f8.svg":3429,"./1f1fc.svg":3430,"./1f1fd-1f1f0.svg":3431,"./1f1fd.svg":3432,"./1f1fe-1f1ea.svg":3433,"./1f1fe-1f1f9.svg":3434,"./1f1fe.svg":3435,"./1f1ff-1f1e6.svg":3436,"./1f1ff-1f1f2.svg":3437,"./1f1ff-1f1fc.svg":3438,"./1f1ff.svg":3439,"./1f201.svg":3440,"./1f202.svg":3441,"./1f21a.svg":3442,"./1f22f.svg":3443,"./1f232.svg":3444,"./1f233.svg":3445,"./1f234.svg":3446,"./1f235.svg":3447,"./1f236.svg":3448,"./1f237.svg":3449,"./1f238.svg":3450,"./1f239.svg":3451,"./1f23a.svg":3452,"./1f250.svg":3453,"./1f251.svg":3454,"./1f300.svg":3455,"./1f301.svg":3456,"./1f302.svg":3457,"./1f303.svg":3458,"./1f304.svg":3459,"./1f305.svg":3460,"./1f306.svg":3461,"./1f307.svg":3462,"./1f308.svg":3463,"./1f309.svg":3464,"./1f30a.svg":3465,"./1f30b.svg":3466,"./1f30c.svg":3467,"./1f30d.svg":3468,"./1f30e.svg":3469,"./1f30f.svg":3470,"./1f310.svg":3471,"./1f311.svg":3472,"./1f312.svg":3473,"./1f313.svg":3474,"./1f314.svg":3475,"./1f315.svg":3476,"./1f316.svg":3477,"./1f317.svg":3478,"./1f318.svg":3479,"./1f319.svg":3480,"./1f31a.svg":3481,"./1f31b.svg":3482,"./1f31c.svg":3483,"./1f31d.svg":3484,"./1f31e.svg":3485,"./1f31f.svg":3486,"./1f320.svg":3487,"./1f321.svg":3488,"./1f324.svg":3489,"./1f325.svg":3490,"./1f326.svg":3491,"./1f327.svg":3492,"./1f328.svg":3493,"./1f329.svg":3494,"./1f32a.svg":3495,"./1f32b.svg":3496,"./1f32c.svg":3497,"./1f32d.svg":3498,"./1f32e.svg":3499,"./1f32f.svg":3500,"./1f330.svg":3501,"./1f331.svg":3502,"./1f332.svg":3503,"./1f333.svg":3504,"./1f334.svg":3505,"./1f335.svg":3506,"./1f336.svg":3507,"./1f337.svg":3508,"./1f338.svg":3509,"./1f339.svg":3510,"./1f33a.svg":3511,"./1f33b.svg":3512,"./1f33c.svg":3513,"./1f33d.svg":3514,"./1f33e.svg":3515,"./1f33f.svg":3516,"./1f340.svg":3517,"./1f341.svg":3518,"./1f342.svg":3519,"./1f343.svg":3520,"./1f344.svg":3521,"./1f345.svg":3522,"./1f346.svg":3523,"./1f347.svg":3524,"./1f348.svg":3525,"./1f349.svg":3526,"./1f34a.svg":3527,"./1f34b.svg":3528,"./1f34c.svg":3529,"./1f34d.svg":3530,"./1f34e.svg":3531,"./1f34f.svg":3532,"./1f350.svg":3533,"./1f351.svg":3534,"./1f352.svg":3535,"./1f353.svg":3536,"./1f354.svg":3537,"./1f355.svg":3538,"./1f356.svg":3539,"./1f357.svg":3540,"./1f358.svg":3541,"./1f359.svg":3542,"./1f35a.svg":3543,"./1f35b.svg":3544,"./1f35c.svg":3545,"./1f35d.svg":3546,"./1f35e.svg":3547,"./1f35f.svg":3548,"./1f360.svg":3549,"./1f361.svg":3550,"./1f362.svg":3551,"./1f363.svg":3552,"./1f364.svg":3553,"./1f365.svg":3554,"./1f366.svg":3555,"./1f367.svg":3556,"./1f368.svg":3557,"./1f369.svg":3558,"./1f36a.svg":3559,"./1f36b.svg":3560,"./1f36c.svg":3561,"./1f36d.svg":3562,"./1f36e.svg":3563,"./1f36f.svg":3564,"./1f370.svg":3565,"./1f371.svg":3566,"./1f372.svg":3567,"./1f373.svg":3568,"./1f374.svg":3569,"./1f375.svg":3570,"./1f376.svg":3571,"./1f377.svg":3572,"./1f378.svg":3573,"./1f379.svg":3574,"./1f37a.svg":3575,"./1f37b.svg":3576,"./1f37c.svg":3577,"./1f37d.svg":3578,"./1f37e.svg":3579,"./1f37f.svg":3580,"./1f380.svg":3581,"./1f381.svg":3582,"./1f382.svg":3583,"./1f383.svg":3584,"./1f384.svg":3585,"./1f385-1f3fb.svg":3586,"./1f385-1f3fc.svg":3587,"./1f385-1f3fd.svg":3588,"./1f385-1f3fe.svg":3589,"./1f385-1f3ff.svg":3590,"./1f385.svg":3591,"./1f386.svg":3592,"./1f387.svg":3593,"./1f388.svg":3594,"./1f389.svg":3595,"./1f38a.svg":3596,"./1f38b.svg":3597,"./1f38c.svg":3598,"./1f38d.svg":3599,"./1f38e.svg":3600,"./1f38f.svg":3601,"./1f390.svg":3602,"./1f391.svg":3603,"./1f392.svg":3604,"./1f393.svg":3605,"./1f396.svg":3606,"./1f397.svg":3607,"./1f399.svg":3608,"./1f39a.svg":3609,"./1f39b.svg":3610,"./1f39e.svg":3611,"./1f39f.svg":3612,"./1f3a0.svg":3613,"./1f3a1.svg":3614,"./1f3a2.svg":3615,"./1f3a3.svg":3616,"./1f3a4.svg":3617,"./1f3a5.svg":3618,"./1f3a6.svg":3619,"./1f3a7.svg":3620,"./1f3a8.svg":3621,"./1f3a9.svg":3622,"./1f3aa.svg":3623,"./1f3ab.svg":3624,"./1f3ac.svg":3625,"./1f3ad.svg":3626,"./1f3ae.svg":3627,"./1f3af.svg":3628,"./1f3b0.svg":3629,"./1f3b1.svg":3630,"./1f3b2.svg":3631,"./1f3b3.svg":3632,"./1f3b4.svg":3633,"./1f3b5.svg":3634,"./1f3b6.svg":3635,"./1f3b7.svg":3636,"./1f3b8.svg":3637,"./1f3b9.svg":3638,"./1f3ba.svg":3639,"./1f3bb.svg":3640,"./1f3bc.svg":3641,"./1f3bd.svg":3642,"./1f3be.svg":3643,"./1f3bf.svg":3644,"./1f3c0.svg":3645,"./1f3c1.svg":3646,"./1f3c2-1f3fb.svg":3647,"./1f3c2-1f3fc.svg":3648,"./1f3c2-1f3fd.svg":3649,"./1f3c2-1f3fe.svg":3650,"./1f3c2-1f3ff.svg":3651,"./1f3c2.svg":3652,"./1f3c3-1f3fb-200d-2640-fe0f.svg":3653,"./1f3c3-1f3fb-200d-2642-fe0f.svg":3654,"./1f3c3-1f3fb.svg":3655,"./1f3c3-1f3fc-200d-2640-fe0f.svg":3656,"./1f3c3-1f3fc-200d-2642-fe0f.svg":3657,"./1f3c3-1f3fc.svg":3658,"./1f3c3-1f3fd-200d-2640-fe0f.svg":3659,"./1f3c3-1f3fd-200d-2642-fe0f.svg":3660,"./1f3c3-1f3fd.svg":3661,"./1f3c3-1f3fe-200d-2640-fe0f.svg":3662,"./1f3c3-1f3fe-200d-2642-fe0f.svg":3663,"./1f3c3-1f3fe.svg":3664,"./1f3c3-1f3ff-200d-2640-fe0f.svg":3665,"./1f3c3-1f3ff-200d-2642-fe0f.svg":3666,"./1f3c3-1f3ff.svg":3667,"./1f3c3-200d-2640-fe0f.svg":3668,"./1f3c3-200d-2642-fe0f.svg":3669,"./1f3c3.svg":3670,"./1f3c4-1f3fb-200d-2640-fe0f.svg":3671,"./1f3c4-1f3fb-200d-2642-fe0f.svg":3672,"./1f3c4-1f3fb.svg":3673,"./1f3c4-1f3fc-200d-2640-fe0f.svg":3674,"./1f3c4-1f3fc-200d-2642-fe0f.svg":3675,"./1f3c4-1f3fc.svg":3676,"./1f3c4-1f3fd-200d-2640-fe0f.svg":3677,"./1f3c4-1f3fd-200d-2642-fe0f.svg":3678,"./1f3c4-1f3fd.svg":3679,"./1f3c4-1f3fe-200d-2640-fe0f.svg":3680,"./1f3c4-1f3fe-200d-2642-fe0f.svg":3681,"./1f3c4-1f3fe.svg":3682,"./1f3c4-1f3ff-200d-2640-fe0f.svg":3683,"./1f3c4-1f3ff-200d-2642-fe0f.svg":3684,"./1f3c4-1f3ff.svg":3685,"./1f3c4-200d-2640-fe0f.svg":3686,"./1f3c4-200d-2642-fe0f.svg":3687,"./1f3c4.svg":3688,"./1f3c5.svg":3689,"./1f3c6.svg":3690,"./1f3c7-1f3fb.svg":3691,"./1f3c7-1f3fc.svg":3692,"./1f3c7-1f3fd.svg":3693,"./1f3c7-1f3fe.svg":3694,"./1f3c7-1f3ff.svg":3695,"./1f3c7.svg":3696,"./1f3c8.svg":3697,"./1f3c9.svg":3698,"./1f3ca-1f3fb-200d-2640-fe0f.svg":3699,"./1f3ca-1f3fb-200d-2642-fe0f.svg":3700,"./1f3ca-1f3fb.svg":3701,"./1f3ca-1f3fc-200d-2640-fe0f.svg":3702,"./1f3ca-1f3fc-200d-2642-fe0f.svg":3703,"./1f3ca-1f3fc.svg":3704,"./1f3ca-1f3fd-200d-2640-fe0f.svg":3705,"./1f3ca-1f3fd-200d-2642-fe0f.svg":3706,"./1f3ca-1f3fd.svg":3707,"./1f3ca-1f3fe-200d-2640-fe0f.svg":3708,"./1f3ca-1f3fe-200d-2642-fe0f.svg":3709,"./1f3ca-1f3fe.svg":3710,"./1f3ca-1f3ff-200d-2640-fe0f.svg":3711,"./1f3ca-1f3ff-200d-2642-fe0f.svg":3712,"./1f3ca-1f3ff.svg":3713,"./1f3ca-200d-2640-fe0f.svg":3714,"./1f3ca-200d-2642-fe0f.svg":3715,"./1f3ca.svg":3716,"./1f3cb-1f3fb-200d-2640-fe0f.svg":3717,"./1f3cb-1f3fb-200d-2642-fe0f.svg":3718,"./1f3cb-1f3fb.svg":3719,"./1f3cb-1f3fc-200d-2640-fe0f.svg":3720,"./1f3cb-1f3fc-200d-2642-fe0f.svg":3721,"./1f3cb-1f3fc.svg":3722,"./1f3cb-1f3fd-200d-2640-fe0f.svg":3723,"./1f3cb-1f3fd-200d-2642-fe0f.svg":3724,"./1f3cb-1f3fd.svg":3725,"./1f3cb-1f3fe-200d-2640-fe0f.svg":3726,"./1f3cb-1f3fe-200d-2642-fe0f.svg":3727,"./1f3cb-1f3fe.svg":3728,"./1f3cb-1f3ff-200d-2640-fe0f.svg":3729,"./1f3cb-1f3ff-200d-2642-fe0f.svg":3730,"./1f3cb-1f3ff.svg":3731,"./1f3cb-fe0f-200d-2640-fe0f.svg":3732,"./1f3cb-fe0f-200d-2642-fe0f.svg":3733,"./1f3cb.svg":3734,"./1f3cc-1f3fb-200d-2640-fe0f.svg":3735,"./1f3cc-1f3fb-200d-2642-fe0f.svg":3736,"./1f3cc-1f3fb.svg":3737,"./1f3cc-1f3fc-200d-2640-fe0f.svg":3738,"./1f3cc-1f3fc-200d-2642-fe0f.svg":3739,"./1f3cc-1f3fc.svg":3740,"./1f3cc-1f3fd-200d-2640-fe0f.svg":3741,"./1f3cc-1f3fd-200d-2642-fe0f.svg":3742,"./1f3cc-1f3fd.svg":3743,"./1f3cc-1f3fe-200d-2640-fe0f.svg":3744,"./1f3cc-1f3fe-200d-2642-fe0f.svg":3745,"./1f3cc-1f3fe.svg":3746,"./1f3cc-1f3ff-200d-2640-fe0f.svg":3747,"./1f3cc-1f3ff-200d-2642-fe0f.svg":3748,"./1f3cc-1f3ff.svg":3749,"./1f3cc-fe0f-200d-2640-fe0f.svg":3750,"./1f3cc-fe0f-200d-2642-fe0f.svg":3751,"./1f3cc.svg":3752,"./1f3cd.svg":3753,"./1f3ce.svg":3754,"./1f3cf.svg":3755,"./1f3d0.svg":3756,"./1f3d1.svg":3757,"./1f3d2.svg":3758,"./1f3d3.svg":3759,"./1f3d4.svg":3760,"./1f3d5.svg":3761,"./1f3d6.svg":3762,"./1f3d7.svg":3763,"./1f3d8.svg":3764,"./1f3d9.svg":3765,"./1f3da.svg":3766,"./1f3db.svg":3767,"./1f3dc.svg":3768,"./1f3dd.svg":3769,"./1f3de.svg":3770,"./1f3df.svg":3771,"./1f3e0.svg":3772,"./1f3e1.svg":3773,"./1f3e2.svg":3774,"./1f3e3.svg":3775,"./1f3e4.svg":3776,"./1f3e5.svg":3777,"./1f3e6.svg":3778,"./1f3e7.svg":3779,"./1f3e8.svg":3780,"./1f3e9.svg":3781,"./1f3ea.svg":3782,"./1f3eb.svg":3783,"./1f3ec.svg":3784,"./1f3ed.svg":3785,"./1f3ee.svg":3786,"./1f3ef.svg":3787,"./1f3f0.svg":3788,"./1f3f3-fe0f-200d-1f308.svg":3789,"./1f3f3.svg":3790,"./1f3f4-200d-2620-fe0f.svg":3791,"./1f3f4.svg":3792,"./1f3f5.svg":3793,"./1f3f7.svg":3794,"./1f3f8.svg":3795,"./1f3f9.svg":3796,"./1f3fa.svg":3797,"./1f3fb.svg":3798,"./1f3fc.svg":3799,"./1f3fd.svg":3800,"./1f3fe.svg":3801,"./1f3ff.svg":3802,"./1f400.svg":3803,"./1f401.svg":3804,"./1f402.svg":3805,"./1f403.svg":3806,"./1f404.svg":3807,"./1f405.svg":3808,"./1f406.svg":3809,"./1f407.svg":3810,"./1f408.svg":3811,"./1f409.svg":3812,"./1f40a.svg":3813,"./1f40b.svg":3814,"./1f40c.svg":3815,"./1f40d.svg":3816,"./1f40e.svg":3817,"./1f40f.svg":3818,"./1f410.svg":3819,"./1f411.svg":3820,"./1f412.svg":3821,"./1f413.svg":3822,"./1f414.svg":3823,"./1f415.svg":3824,"./1f416.svg":3825,"./1f417.svg":3826,"./1f418.svg":3827,"./1f419.svg":3828,"./1f41a.svg":3829,"./1f41b.svg":3830,"./1f41c.svg":3831,"./1f41d.svg":3832,"./1f41e.svg":3833,"./1f41f.svg":3834,"./1f420.svg":3835,"./1f421.svg":3836,"./1f422.svg":3837,"./1f423.svg":3838,"./1f424.svg":3839,"./1f425.svg":3840,"./1f426.svg":3841,"./1f427.svg":3842,"./1f428.svg":3843,"./1f429.svg":3844,"./1f42a.svg":3845,"./1f42b.svg":3846,"./1f42c.svg":3847,"./1f42d.svg":3848,"./1f42e.svg":3849,"./1f42f.svg":3850,"./1f430.svg":3851,"./1f431.svg":3852,"./1f432.svg":3853,"./1f433.svg":3854,"./1f434.svg":3855,"./1f435.svg":3856,"./1f436.svg":3857,"./1f437.svg":3858,"./1f438.svg":3859,"./1f439.svg":3860,"./1f43a.svg":3861,"./1f43b.svg":3862,"./1f43c.svg":3863,"./1f43d.svg":3864,"./1f43e.svg":3865,"./1f43f.svg":3866,"./1f440.svg":3867,"./1f441-200d-1f5e8.svg":3868,"./1f441.svg":3869,"./1f442-1f3fb.svg":3870,"./1f442-1f3fc.svg":3871,"./1f442-1f3fd.svg":3872,"./1f442-1f3fe.svg":3873,"./1f442-1f3ff.svg":3874,"./1f442.svg":3875,"./1f443-1f3fb.svg":3876,"./1f443-1f3fc.svg":3877,"./1f443-1f3fd.svg":3878,"./1f443-1f3fe.svg":3879,"./1f443-1f3ff.svg":3880,"./1f443.svg":3881,"./1f444.svg":3882,"./1f445.svg":3883,"./1f446-1f3fb.svg":3884,"./1f446-1f3fc.svg":3885,"./1f446-1f3fd.svg":3886,"./1f446-1f3fe.svg":3887,"./1f446-1f3ff.svg":3888,"./1f446.svg":3889,"./1f447-1f3fb.svg":3890,"./1f447-1f3fc.svg":3891,"./1f447-1f3fd.svg":3892,"./1f447-1f3fe.svg":3893,"./1f447-1f3ff.svg":3894,"./1f447.svg":3895,"./1f448-1f3fb.svg":3896,"./1f448-1f3fc.svg":3897,"./1f448-1f3fd.svg":3898,"./1f448-1f3fe.svg":3899,"./1f448-1f3ff.svg":3900,"./1f448.svg":3901,"./1f449-1f3fb.svg":3902,"./1f449-1f3fc.svg":3903,"./1f449-1f3fd.svg":3904,"./1f449-1f3fe.svg":3905,"./1f449-1f3ff.svg":3906,"./1f449.svg":3907,"./1f44a-1f3fb.svg":3908,"./1f44a-1f3fc.svg":3909,"./1f44a-1f3fd.svg":3910,"./1f44a-1f3fe.svg":3911,"./1f44a-1f3ff.svg":3912,"./1f44a.svg":3913,"./1f44b-1f3fb.svg":3914,"./1f44b-1f3fc.svg":3915,"./1f44b-1f3fd.svg":3916,"./1f44b-1f3fe.svg":3917,"./1f44b-1f3ff.svg":3918,"./1f44b.svg":3919,"./1f44c-1f3fb.svg":3920,"./1f44c-1f3fc.svg":3921,"./1f44c-1f3fd.svg":3922,"./1f44c-1f3fe.svg":3923,"./1f44c-1f3ff.svg":3924,"./1f44c.svg":3925,"./1f44d-1f3fb.svg":3926,"./1f44d-1f3fc.svg":3927,"./1f44d-1f3fd.svg":3928,"./1f44d-1f3fe.svg":3929,"./1f44d-1f3ff.svg":3930,"./1f44d.svg":3931,"./1f44e-1f3fb.svg":3932,"./1f44e-1f3fc.svg":3933,"./1f44e-1f3fd.svg":3934,"./1f44e-1f3fe.svg":3935,"./1f44e-1f3ff.svg":3936,"./1f44e.svg":3937,"./1f44f-1f3fb.svg":3938,"./1f44f-1f3fc.svg":3939,"./1f44f-1f3fd.svg":3940,"./1f44f-1f3fe.svg":3941,"./1f44f-1f3ff.svg":3942,"./1f44f.svg":3943,"./1f450-1f3fb.svg":3944,"./1f450-1f3fc.svg":3945,"./1f450-1f3fd.svg":3946,"./1f450-1f3fe.svg":3947,"./1f450-1f3ff.svg":3948,"./1f450.svg":3949,"./1f451.svg":3950,"./1f452.svg":3951,"./1f453.svg":3952,"./1f454.svg":3953,"./1f455.svg":3954,"./1f456.svg":3955,"./1f457.svg":3956,"./1f458.svg":3957,"./1f459.svg":3958,"./1f45a.svg":3959,"./1f45b.svg":3960,"./1f45c.svg":3961,"./1f45d.svg":3962,"./1f45e.svg":3963,"./1f45f.svg":3964,"./1f460.svg":3965,"./1f461.svg":3966,"./1f462.svg":3967,"./1f463.svg":3968,"./1f464.svg":3969,"./1f465.svg":3970,"./1f466-1f3fb.svg":3971,"./1f466-1f3fc.svg":3972,"./1f466-1f3fd.svg":3973,"./1f466-1f3fe.svg":3974,"./1f466-1f3ff.svg":3975,"./1f466.svg":3976,"./1f467-1f3fb.svg":3977,"./1f467-1f3fc.svg":3978,"./1f467-1f3fd.svg":3979,"./1f467-1f3fe.svg":3980,"./1f467-1f3ff.svg":3981,"./1f467.svg":3982,"./1f468-1f3fb-200d-1f33e.svg":3983,"./1f468-1f3fb-200d-1f373.svg":3984,"./1f468-1f3fb-200d-1f393.svg":3985,"./1f468-1f3fb-200d-1f3a4.svg":3986,"./1f468-1f3fb-200d-1f3a8.svg":3987,"./1f468-1f3fb-200d-1f3eb.svg":3988,"./1f468-1f3fb-200d-1f3ed.svg":3989,"./1f468-1f3fb-200d-1f4bb.svg":3990,"./1f468-1f3fb-200d-1f4bc.svg":3991,"./1f468-1f3fb-200d-1f527.svg":3992,"./1f468-1f3fb-200d-1f52c.svg":3993,"./1f468-1f3fb-200d-1f680.svg":3994,"./1f468-1f3fb-200d-1f692.svg":3995,"./1f468-1f3fb-200d-2695-fe0f.svg":3996,"./1f468-1f3fb-200d-2696-fe0f.svg":3997,"./1f468-1f3fb-200d-2708-fe0f.svg":3998,"./1f468-1f3fb.svg":3999,"./1f468-1f3fc-200d-1f33e.svg":4e3,"./1f468-1f3fc-200d-1f373.svg":4001,"./1f468-1f3fc-200d-1f393.svg":4002,"./1f468-1f3fc-200d-1f3a4.svg":4003,"./1f468-1f3fc-200d-1f3a8.svg":4004,"./1f468-1f3fc-200d-1f3eb.svg":4005,"./1f468-1f3fc-200d-1f3ed.svg":4006,"./1f468-1f3fc-200d-1f4bb.svg":4007,"./1f468-1f3fc-200d-1f4bc.svg":4008,"./1f468-1f3fc-200d-1f527.svg":4009,"./1f468-1f3fc-200d-1f52c.svg":4010,"./1f468-1f3fc-200d-1f680.svg":4011,"./1f468-1f3fc-200d-1f692.svg":4012,"./1f468-1f3fc-200d-2695-fe0f.svg":4013,"./1f468-1f3fc-200d-2696-fe0f.svg":4014,"./1f468-1f3fc-200d-2708-fe0f.svg":4015,"./1f468-1f3fc.svg":4016,"./1f468-1f3fd-200d-1f33e.svg":4017,"./1f468-1f3fd-200d-1f373.svg":4018,"./1f468-1f3fd-200d-1f393.svg":4019,"./1f468-1f3fd-200d-1f3a4.svg":4020,"./1f468-1f3fd-200d-1f3a8.svg":4021,"./1f468-1f3fd-200d-1f3eb.svg":4022,"./1f468-1f3fd-200d-1f3ed.svg":4023,"./1f468-1f3fd-200d-1f4bb.svg":4024,"./1f468-1f3fd-200d-1f4bc.svg":4025,"./1f468-1f3fd-200d-1f527.svg":4026,"./1f468-1f3fd-200d-1f52c.svg":4027,"./1f468-1f3fd-200d-1f680.svg":4028,"./1f468-1f3fd-200d-1f692.svg":4029,"./1f468-1f3fd-200d-2695-fe0f.svg":4030,"./1f468-1f3fd-200d-2696-fe0f.svg":4031,"./1f468-1f3fd-200d-2708-fe0f.svg":4032,"./1f468-1f3fd.svg":4033,"./1f468-1f3fe-200d-1f33e.svg":4034,"./1f468-1f3fe-200d-1f373.svg":4035,"./1f468-1f3fe-200d-1f393.svg":4036,"./1f468-1f3fe-200d-1f3a4.svg":4037,"./1f468-1f3fe-200d-1f3a8.svg":4038,"./1f468-1f3fe-200d-1f3eb.svg":4039,"./1f468-1f3fe-200d-1f3ed.svg":4040,"./1f468-1f3fe-200d-1f4bb.svg":4041,"./1f468-1f3fe-200d-1f4bc.svg":4042,"./1f468-1f3fe-200d-1f527.svg":4043,"./1f468-1f3fe-200d-1f52c.svg":4044,"./1f468-1f3fe-200d-1f680.svg":4045,"./1f468-1f3fe-200d-1f692.svg":4046,"./1f468-1f3fe-200d-2695-fe0f.svg":4047,"./1f468-1f3fe-200d-2696-fe0f.svg":4048,"./1f468-1f3fe-200d-2708-fe0f.svg":4049,"./1f468-1f3fe.svg":4050,"./1f468-1f3ff-200d-1f33e.svg":4051,"./1f468-1f3ff-200d-1f373.svg":4052,"./1f468-1f3ff-200d-1f393.svg":4053,"./1f468-1f3ff-200d-1f3a4.svg":4054,"./1f468-1f3ff-200d-1f3a8.svg":4055,"./1f468-1f3ff-200d-1f3eb.svg":4056,"./1f468-1f3ff-200d-1f3ed.svg":4057,"./1f468-1f3ff-200d-1f4bb.svg":4058,"./1f468-1f3ff-200d-1f4bc.svg":4059,"./1f468-1f3ff-200d-1f527.svg":4060,"./1f468-1f3ff-200d-1f52c.svg":4061,"./1f468-1f3ff-200d-1f680.svg":4062,"./1f468-1f3ff-200d-1f692.svg":4063,"./1f468-1f3ff-200d-2695-fe0f.svg":4064,"./1f468-1f3ff-200d-2696-fe0f.svg":4065,"./1f468-1f3ff-200d-2708-fe0f.svg":4066,"./1f468-1f3ff.svg":4067,"./1f468-200d-1f33e.svg":4068,"./1f468-200d-1f373.svg":4069,"./1f468-200d-1f393.svg":4070,"./1f468-200d-1f3a4.svg":4071,"./1f468-200d-1f3a8.svg":4072,"./1f468-200d-1f3eb.svg":4073,"./1f468-200d-1f3ed.svg":4074,"./1f468-200d-1f466-200d-1f466.svg":4075,"./1f468-200d-1f466.svg":4076,"./1f468-200d-1f467-200d-1f466.svg":4077,"./1f468-200d-1f467-200d-1f467.svg":4078,"./1f468-200d-1f467.svg":4079,"./1f468-200d-1f468-200d-1f466-200d-1f466.svg":4080,"./1f468-200d-1f468-200d-1f466.svg":4081,"./1f468-200d-1f468-200d-1f467-200d-1f466.svg":4082,"./1f468-200d-1f468-200d-1f467-200d-1f467.svg":4083,"./1f468-200d-1f468-200d-1f467.svg":4084,"./1f468-200d-1f469-200d-1f466-200d-1f466.svg":4085,"./1f468-200d-1f469-200d-1f466.svg":4086,"./1f468-200d-1f469-200d-1f467-200d-1f466.svg":4087,"./1f468-200d-1f469-200d-1f467-200d-1f467.svg":4088,"./1f468-200d-1f469-200d-1f467.svg":4089,"./1f468-200d-1f4bb.svg":4090,"./1f468-200d-1f4bc.svg":4091,"./1f468-200d-1f527.svg":4092,"./1f468-200d-1f52c.svg":4093,"./1f468-200d-1f680.svg":4094,"./1f468-200d-1f692.svg":4095,"./1f468-200d-2695-fe0f.svg":4096,"./1f468-200d-2696-fe0f.svg":4097,"./1f468-200d-2708-fe0f.svg":4098,"./1f468-200d-2764-fe0f-200d-1f468.svg":4099,"./1f468-200d-2764-fe0f-200d-1f48b-200d-1f468.svg":4100,"./1f468.svg":4101,"./1f469-1f3fb-200d-1f33e.svg":4102,"./1f469-1f3fb-200d-1f373.svg":4103,"./1f469-1f3fb-200d-1f393.svg":4104,"./1f469-1f3fb-200d-1f3a4.svg":4105,"./1f469-1f3fb-200d-1f3a8.svg":4106,"./1f469-1f3fb-200d-1f3eb.svg":4107,"./1f469-1f3fb-200d-1f3ed.svg":4108,"./1f469-1f3fb-200d-1f4bb.svg":4109,"./1f469-1f3fb-200d-1f4bc.svg":4110,"./1f469-1f3fb-200d-1f527.svg":4111,"./1f469-1f3fb-200d-1f52c.svg":4112,"./1f469-1f3fb-200d-1f680.svg":4113,"./1f469-1f3fb-200d-1f692.svg":4114,"./1f469-1f3fb-200d-2695-fe0f.svg":4115,"./1f469-1f3fb-200d-2696-fe0f.svg":4116,"./1f469-1f3fb-200d-2708-fe0f.svg":4117,"./1f469-1f3fb.svg":4118,"./1f469-1f3fc-200d-1f33e.svg":4119,"./1f469-1f3fc-200d-1f373.svg":4120,"./1f469-1f3fc-200d-1f393.svg":4121,"./1f469-1f3fc-200d-1f3a4.svg":4122,"./1f469-1f3fc-200d-1f3a8.svg":4123,"./1f469-1f3fc-200d-1f3eb.svg":4124,"./1f469-1f3fc-200d-1f3ed.svg":4125,"./1f469-1f3fc-200d-1f4bb.svg":4126,"./1f469-1f3fc-200d-1f4bc.svg":4127,"./1f469-1f3fc-200d-1f527.svg":4128,"./1f469-1f3fc-200d-1f52c.svg":4129,"./1f469-1f3fc-200d-1f680.svg":4130,"./1f469-1f3fc-200d-1f692.svg":4131,"./1f469-1f3fc-200d-2695-fe0f.svg":4132,"./1f469-1f3fc-200d-2696-fe0f.svg":4133,"./1f469-1f3fc-200d-2708-fe0f.svg":4134,"./1f469-1f3fc.svg":4135,"./1f469-1f3fd-200d-1f33e.svg":4136,"./1f469-1f3fd-200d-1f373.svg":4137,"./1f469-1f3fd-200d-1f393.svg":4138,"./1f469-1f3fd-200d-1f3a4.svg":4139,"./1f469-1f3fd-200d-1f3a8.svg":4140,"./1f469-1f3fd-200d-1f3eb.svg":4141,"./1f469-1f3fd-200d-1f3ed.svg":4142,"./1f469-1f3fd-200d-1f4bb.svg":4143,"./1f469-1f3fd-200d-1f4bc.svg":4144,"./1f469-1f3fd-200d-1f527.svg":4145,"./1f469-1f3fd-200d-1f52c.svg":4146,"./1f469-1f3fd-200d-1f680.svg":4147,"./1f469-1f3fd-200d-1f692.svg":4148,"./1f469-1f3fd-200d-2695-fe0f.svg":4149,"./1f469-1f3fd-200d-2696-fe0f.svg":4150,"./1f469-1f3fd-200d-2708-fe0f.svg":4151,"./1f469-1f3fd.svg":4152,"./1f469-1f3fe-200d-1f33e.svg":4153,"./1f469-1f3fe-200d-1f373.svg":4154,"./1f469-1f3fe-200d-1f393.svg":4155,"./1f469-1f3fe-200d-1f3a4.svg":4156,"./1f469-1f3fe-200d-1f3a8.svg":4157,"./1f469-1f3fe-200d-1f3eb.svg":4158,"./1f469-1f3fe-200d-1f3ed.svg":4159,"./1f469-1f3fe-200d-1f4bb.svg":4160,"./1f469-1f3fe-200d-1f4bc.svg":4161,"./1f469-1f3fe-200d-1f527.svg":4162,"./1f469-1f3fe-200d-1f52c.svg":4163,"./1f469-1f3fe-200d-1f680.svg":4164,"./1f469-1f3fe-200d-1f692.svg":4165,"./1f469-1f3fe-200d-2695-fe0f.svg":4166,"./1f469-1f3fe-200d-2696-fe0f.svg":4167,"./1f469-1f3fe-200d-2708-fe0f.svg":4168,"./1f469-1f3fe.svg":4169,"./1f469-1f3ff-200d-1f33e.svg":4170,"./1f469-1f3ff-200d-1f373.svg":4171,"./1f469-1f3ff-200d-1f393.svg":4172,"./1f469-1f3ff-200d-1f3a4.svg":4173,"./1f469-1f3ff-200d-1f3a8.svg":4174,"./1f469-1f3ff-200d-1f3eb.svg":4175,"./1f469-1f3ff-200d-1f3ed.svg":4176,"./1f469-1f3ff-200d-1f4bb.svg":4177,"./1f469-1f3ff-200d-1f4bc.svg":4178,"./1f469-1f3ff-200d-1f527.svg":4179,"./1f469-1f3ff-200d-1f52c.svg":4180,"./1f469-1f3ff-200d-1f680.svg":4181,"./1f469-1f3ff-200d-1f692.svg":4182,"./1f469-1f3ff-200d-2695-fe0f.svg":4183,"./1f469-1f3ff-200d-2696-fe0f.svg":4184,"./1f469-1f3ff-200d-2708-fe0f.svg":4185,"./1f469-1f3ff.svg":4186,"./1f469-200d-1f33e.svg":4187,"./1f469-200d-1f373.svg":4188,"./1f469-200d-1f393.svg":4189,"./1f469-200d-1f3a4.svg":4190,"./1f469-200d-1f3a8.svg":4191,"./1f469-200d-1f3eb.svg":4192,"./1f469-200d-1f3ed.svg":4193,"./1f469-200d-1f466-200d-1f466.svg":4194,"./1f469-200d-1f466.svg":4195,"./1f469-200d-1f467-200d-1f466.svg":4196,"./1f469-200d-1f467-200d-1f467.svg":4197,"./1f469-200d-1f467.svg":4198,"./1f469-200d-1f469-200d-1f466-200d-1f466.svg":4199,"./1f469-200d-1f469-200d-1f466.svg":4200,"./1f469-200d-1f469-200d-1f467-200d-1f466.svg":4201,"./1f469-200d-1f469-200d-1f467-200d-1f467.svg":4202,"./1f469-200d-1f469-200d-1f467.svg":4203,"./1f469-200d-1f4bb.svg":4204,"./1f469-200d-1f4bc.svg":4205,"./1f469-200d-1f527.svg":4206,"./1f469-200d-1f52c.svg":4207,"./1f469-200d-1f680.svg":4208,"./1f469-200d-1f692.svg":4209,"./1f469-200d-2695-fe0f.svg":4210,"./1f469-200d-2696-fe0f.svg":4211,"./1f469-200d-2708-fe0f.svg":4212,"./1f469-200d-2764-fe0f-200d-1f468.svg":4213,"./1f469-200d-2764-fe0f-200d-1f469.svg":4214,"./1f469-200d-2764-fe0f-200d-1f48b-200d-1f468.svg":4215,"./1f469-200d-2764-fe0f-200d-1f48b-200d-1f469.svg":4216,"./1f469.svg":4217,"./1f46a.svg":4218,"./1f46b.svg":4219,"./1f46c.svg":4220,"./1f46d.svg":4221,"./1f46e-1f3fb-200d-2640-fe0f.svg":4222,"./1f46e-1f3fb-200d-2642-fe0f.svg":4223,"./1f46e-1f3fb.svg":4224,"./1f46e-1f3fc-200d-2640-fe0f.svg":4225,"./1f46e-1f3fc-200d-2642-fe0f.svg":4226,"./1f46e-1f3fc.svg":4227,"./1f46e-1f3fd-200d-2640-fe0f.svg":4228,"./1f46e-1f3fd-200d-2642-fe0f.svg":4229,"./1f46e-1f3fd.svg":4230,"./1f46e-1f3fe-200d-2640-fe0f.svg":4231,"./1f46e-1f3fe-200d-2642-fe0f.svg":4232,"./1f46e-1f3fe.svg":4233,"./1f46e-1f3ff-200d-2640-fe0f.svg":4234,"./1f46e-1f3ff-200d-2642-fe0f.svg":4235,"./1f46e-1f3ff.svg":4236,"./1f46e-200d-2640-fe0f.svg":4237,"./1f46e-200d-2642-fe0f.svg":4238,"./1f46e.svg":4239,"./1f46f-200d-2640-fe0f.svg":4240,"./1f46f-200d-2642-fe0f.svg":4241,"./1f46f.svg":4242,"./1f470-1f3fb.svg":4243,"./1f470-1f3fc.svg":4244,"./1f470-1f3fd.svg":4245,"./1f470-1f3fe.svg":4246,"./1f470-1f3ff.svg":4247,"./1f470.svg":4248,"./1f471-1f3fb-200d-2640-fe0f.svg":4249,"./1f471-1f3fb-200d-2642-fe0f.svg":4250,"./1f471-1f3fb.svg":4251,"./1f471-1f3fc-200d-2640-fe0f.svg":4252,"./1f471-1f3fc-200d-2642-fe0f.svg":4253,"./1f471-1f3fc.svg":4254,"./1f471-1f3fd-200d-2640-fe0f.svg":4255,"./1f471-1f3fd-200d-2642-fe0f.svg":4256,"./1f471-1f3fd.svg":4257,"./1f471-1f3fe-200d-2640-fe0f.svg":4258,"./1f471-1f3fe-200d-2642-fe0f.svg":4259,"./1f471-1f3fe.svg":4260,"./1f471-1f3ff-200d-2640-fe0f.svg":4261,"./1f471-1f3ff-200d-2642-fe0f.svg":4262,"./1f471-1f3ff.svg":4263,"./1f471-200d-2640-fe0f.svg":4264,"./1f471-200d-2642-fe0f.svg":4265,"./1f471.svg":4266,"./1f472-1f3fb.svg":4267,"./1f472-1f3fc.svg":4268,"./1f472-1f3fd.svg":4269,"./1f472-1f3fe.svg":4270,"./1f472-1f3ff.svg":4271,"./1f472.svg":4272,"./1f473-1f3fb-200d-2640-fe0f.svg":4273,"./1f473-1f3fb-200d-2642-fe0f.svg":4274,"./1f473-1f3fb.svg":4275,"./1f473-1f3fc-200d-2640-fe0f.svg":4276,"./1f473-1f3fc-200d-2642-fe0f.svg":4277,"./1f473-1f3fc.svg":4278,"./1f473-1f3fd-200d-2640-fe0f.svg":4279,"./1f473-1f3fd-200d-2642-fe0f.svg":4280,"./1f473-1f3fd.svg":4281,"./1f473-1f3fe-200d-2640-fe0f.svg":4282,"./1f473-1f3fe-200d-2642-fe0f.svg":4283,"./1f473-1f3fe.svg":4284,"./1f473-1f3ff-200d-2640-fe0f.svg":4285,"./1f473-1f3ff-200d-2642-fe0f.svg":4286,"./1f473-1f3ff.svg":4287,"./1f473-200d-2640-fe0f.svg":4288,"./1f473-200d-2642-fe0f.svg":4289,"./1f473.svg":4290,"./1f474-1f3fb.svg":4291,"./1f474-1f3fc.svg":4292,"./1f474-1f3fd.svg":4293,"./1f474-1f3fe.svg":4294,"./1f474-1f3ff.svg":4295,"./1f474.svg":4296,"./1f475-1f3fb.svg":4297,"./1f475-1f3fc.svg":4298,"./1f475-1f3fd.svg":4299,"./1f475-1f3fe.svg":4300,"./1f475-1f3ff.svg":4301,"./1f475.svg":4302,"./1f476-1f3fb.svg":4303,"./1f476-1f3fc.svg":4304,"./1f476-1f3fd.svg":4305,"./1f476-1f3fe.svg":4306,"./1f476-1f3ff.svg":4307,"./1f476.svg":4308,"./1f477-1f3fb-200d-2640-fe0f.svg":4309,"./1f477-1f3fb-200d-2642-fe0f.svg":4310,"./1f477-1f3fb.svg":4311,"./1f477-1f3fc-200d-2640-fe0f.svg":4312,"./1f477-1f3fc-200d-2642-fe0f.svg":4313,"./1f477-1f3fc.svg":4314,"./1f477-1f3fd-200d-2640-fe0f.svg":4315,"./1f477-1f3fd-200d-2642-fe0f.svg":4316,"./1f477-1f3fd.svg":4317,"./1f477-1f3fe-200d-2640-fe0f.svg":4318,"./1f477-1f3fe-200d-2642-fe0f.svg":4319,"./1f477-1f3fe.svg":4320,"./1f477-1f3ff-200d-2640-fe0f.svg":4321,"./1f477-1f3ff-200d-2642-fe0f.svg":4322,"./1f477-1f3ff.svg":4323,"./1f477-200d-2640-fe0f.svg":4324,"./1f477-200d-2642-fe0f.svg":4325,"./1f477.svg":4326,"./1f478-1f3fb.svg":4327,"./1f478-1f3fc.svg":4328,"./1f478-1f3fd.svg":4329,"./1f478-1f3fe.svg":4330,"./1f478-1f3ff.svg":4331,"./1f478.svg":4332,"./1f479.svg":4333,"./1f47a.svg":4334,"./1f47b.svg":4335,"./1f47c-1f3fb.svg":4336,"./1f47c-1f3fc.svg":4337,"./1f47c-1f3fd.svg":4338,"./1f47c-1f3fe.svg":4339,"./1f47c-1f3ff.svg":4340,"./1f47c.svg":4341,"./1f47d.svg":4342,"./1f47e.svg":4343,"./1f47f.svg":4344,"./1f480.svg":4345,"./1f481-1f3fb-200d-2640-fe0f.svg":4346,"./1f481-1f3fb-200d-2642-fe0f.svg":4347,"./1f481-1f3fb.svg":4348,"./1f481-1f3fc-200d-2640-fe0f.svg":4349,"./1f481-1f3fc-200d-2642-fe0f.svg":4350,"./1f481-1f3fc.svg":4351,"./1f481-1f3fd-200d-2640-fe0f.svg":4352,"./1f481-1f3fd-200d-2642-fe0f.svg":4353,"./1f481-1f3fd.svg":4354,"./1f481-1f3fe-200d-2640-fe0f.svg":4355,"./1f481-1f3fe-200d-2642-fe0f.svg":4356,"./1f481-1f3fe.svg":4357,"./1f481-1f3ff-200d-2640-fe0f.svg":4358,"./1f481-1f3ff-200d-2642-fe0f.svg":4359,"./1f481-1f3ff.svg":4360,"./1f481-200d-2640-fe0f.svg":4361,"./1f481-200d-2642-fe0f.svg":4362,"./1f481.svg":4363,"./1f482-1f3fb-200d-2640-fe0f.svg":4364,"./1f482-1f3fb-200d-2642-fe0f.svg":4365,"./1f482-1f3fb.svg":4366,"./1f482-1f3fc-200d-2640-fe0f.svg":4367,"./1f482-1f3fc-200d-2642-fe0f.svg":4368,"./1f482-1f3fc.svg":4369,"./1f482-1f3fd-200d-2640-fe0f.svg":4370,"./1f482-1f3fd-200d-2642-fe0f.svg":4371,"./1f482-1f3fd.svg":4372,"./1f482-1f3fe-200d-2640-fe0f.svg":4373,"./1f482-1f3fe-200d-2642-fe0f.svg":4374,"./1f482-1f3fe.svg":4375,"./1f482-1f3ff-200d-2640-fe0f.svg":4376,"./1f482-1f3ff-200d-2642-fe0f.svg":4377,"./1f482-1f3ff.svg":4378,"./1f482-200d-2640-fe0f.svg":4379,"./1f482-200d-2642-fe0f.svg":4380,"./1f482.svg":4381,"./1f483-1f3fb.svg":4382,"./1f483-1f3fc.svg":4383,"./1f483-1f3fd.svg":4384,"./1f483-1f3fe.svg":4385,"./1f483-1f3ff.svg":4386,"./1f483.svg":4387,"./1f484.svg":4388,"./1f485-1f3fb.svg":4389,"./1f485-1f3fc.svg":4390,"./1f485-1f3fd.svg":4391,"./1f485-1f3fe.svg":4392,"./1f485-1f3ff.svg":4393,"./1f485.svg":4394,"./1f486-1f3fb-200d-2640-fe0f.svg":4395,"./1f486-1f3fb-200d-2642-fe0f.svg":4396,"./1f486-1f3fb.svg":4397,"./1f486-1f3fc-200d-2640-fe0f.svg":4398,"./1f486-1f3fc-200d-2642-fe0f.svg":4399,"./1f486-1f3fc.svg":4400,"./1f486-1f3fd-200d-2640-fe0f.svg":4401,"./1f486-1f3fd-200d-2642-fe0f.svg":4402,"./1f486-1f3fd.svg":4403,"./1f486-1f3fe-200d-2640-fe0f.svg":4404,"./1f486-1f3fe-200d-2642-fe0f.svg":4405,"./1f486-1f3fe.svg":4406,"./1f486-1f3ff-200d-2640-fe0f.svg":4407,"./1f486-1f3ff-200d-2642-fe0f.svg":4408,"./1f486-1f3ff.svg":4409,"./1f486-200d-2640-fe0f.svg":4410,"./1f486-200d-2642-fe0f.svg":4411,"./1f486.svg":4412,"./1f487-1f3fb-200d-2640-fe0f.svg":4413,"./1f487-1f3fb-200d-2642-fe0f.svg":4414,"./1f487-1f3fb.svg":4415,"./1f487-1f3fc-200d-2640-fe0f.svg":4416,"./1f487-1f3fc-200d-2642-fe0f.svg":4417,"./1f487-1f3fc.svg":4418,"./1f487-1f3fd-200d-2640-fe0f.svg":4419,"./1f487-1f3fd-200d-2642-fe0f.svg":4420,"./1f487-1f3fd.svg":4421,"./1f487-1f3fe-200d-2640-fe0f.svg":4422,"./1f487-1f3fe-200d-2642-fe0f.svg":4423,"./1f487-1f3fe.svg":4424,"./1f487-1f3ff-200d-2640-fe0f.svg":4425,"./1f487-1f3ff-200d-2642-fe0f.svg":4426,"./1f487-1f3ff.svg":4427,"./1f487-200d-2640-fe0f.svg":4428,"./1f487-200d-2642-fe0f.svg":4429,"./1f487.svg":4430,"./1f488.svg":4431,"./1f489.svg":4432,"./1f48a.svg":4433,"./1f48b.svg":4434,"./1f48c.svg":4435,"./1f48d.svg":4436,"./1f48e.svg":4437,"./1f48f.svg":4438,"./1f490.svg":4439,"./1f491.svg":4440,"./1f492.svg":4441,"./1f493.svg":4442,"./1f494.svg":4443,"./1f495.svg":4444,"./1f496.svg":4445,"./1f497.svg":4446,"./1f498.svg":4447,"./1f499.svg":4448,"./1f49a.svg":4449,"./1f49b.svg":4450,"./1f49c.svg":4451,"./1f49d.svg":4452,"./1f49e.svg":4453,"./1f49f.svg":4454,"./1f4a0.svg":4455,"./1f4a1.svg":4456,"./1f4a2.svg":4457,"./1f4a3.svg":4458,"./1f4a4.svg":4459,"./1f4a5.svg":4460,"./1f4a6.svg":4461,"./1f4a7.svg":4462,"./1f4a8.svg":4463,"./1f4a9.svg":4464,"./1f4aa-1f3fb.svg":4465,"./1f4aa-1f3fc.svg":4466,"./1f4aa-1f3fd.svg":4467,"./1f4aa-1f3fe.svg":4468,"./1f4aa-1f3ff.svg":4469,"./1f4aa.svg":4470,"./1f4ab.svg":4471,"./1f4ac.svg":4472,"./1f4ad.svg":4473,"./1f4ae.svg":4474,"./1f4af.svg":4475,"./1f4b0.svg":4476,"./1f4b1.svg":4477,"./1f4b2.svg":4478,"./1f4b3.svg":4479,"./1f4b4.svg":4480,"./1f4b5.svg":4481,"./1f4b6.svg":4482,"./1f4b7.svg":4483,"./1f4b8.svg":4484,"./1f4b9.svg":4485,"./1f4ba.svg":4486,"./1f4bb.svg":4487,"./1f4bc.svg":4488,"./1f4bd.svg":4489,"./1f4be.svg":4490,"./1f4bf.svg":4491,"./1f4c0.svg":4492,"./1f4c1.svg":4493,"./1f4c2.svg":4494,"./1f4c3.svg":4495,"./1f4c4.svg":4496,"./1f4c5.svg":4497,"./1f4c6.svg":4498,"./1f4c7.svg":4499,"./1f4c8.svg":4500,"./1f4c9.svg":4501,"./1f4ca.svg":4502,"./1f4cb.svg":4503,"./1f4cc.svg":4504,"./1f4cd.svg":4505,"./1f4ce.svg":4506,"./1f4cf.svg":4507,"./1f4d0.svg":4508,"./1f4d1.svg":4509,"./1f4d2.svg":4510,"./1f4d3.svg":4511,"./1f4d4.svg":4512,"./1f4d5.svg":4513,"./1f4d6.svg":4514,"./1f4d7.svg":4515,"./1f4d8.svg":4516,"./1f4d9.svg":4517,"./1f4da.svg":4518,"./1f4db.svg":4519,"./1f4dc.svg":4520,"./1f4dd.svg":4521,"./1f4de.svg":4522,"./1f4df.svg":4523,"./1f4e0.svg":4524,"./1f4e1.svg":4525,"./1f4e2.svg":4526,"./1f4e3.svg":4527,"./1f4e4.svg":4528,"./1f4e5.svg":4529,"./1f4e6.svg":4530,"./1f4e7.svg":4531,"./1f4e8.svg":4532,"./1f4e9.svg":4533,"./1f4ea.svg":4534,"./1f4eb.svg":4535,"./1f4ec.svg":4536,"./1f4ed.svg":4537,"./1f4ee.svg":4538,"./1f4ef.svg":4539,"./1f4f0.svg":4540,"./1f4f1.svg":4541,"./1f4f2.svg":4542,"./1f4f3.svg":4543,"./1f4f4.svg":4544,"./1f4f5.svg":4545,"./1f4f6.svg":4546,"./1f4f7.svg":4547,"./1f4f8.svg":4548,"./1f4f9.svg":4549,"./1f4fa.svg":4550,"./1f4fb.svg":4551,"./1f4fc.svg":4552,"./1f4fd.svg":4553,"./1f4ff.svg":4554,"./1f500.svg":4555,"./1f501.svg":4556,"./1f502.svg":4557,"./1f503.svg":4558,"./1f504.svg":4559,"./1f505.svg":4560,"./1f506.svg":4561,"./1f507.svg":4562,"./1f508.svg":4563,"./1f509.svg":4564,"./1f50a.svg":4565,"./1f50b.svg":4566,"./1f50c.svg":4567,"./1f50d.svg":4568,"./1f50e.svg":4569,"./1f50f.svg":4570,"./1f510.svg":4571,"./1f511.svg":4572,"./1f512.svg":4573,"./1f513.svg":4574,"./1f514.svg":4575,"./1f515.svg":4576,"./1f516.svg":4577,"./1f517.svg":4578,"./1f518.svg":4579,"./1f519.svg":4580,"./1f51a.svg":4581,"./1f51b.svg":4582,"./1f51c.svg":4583,"./1f51d.svg":4584,"./1f51e.svg":4585,"./1f51f.svg":4586,"./1f520.svg":4587,"./1f521.svg":4588,"./1f522.svg":4589,"./1f523.svg":4590,"./1f524.svg":4591,"./1f525.svg":4592,"./1f526.svg":4593,"./1f527.svg":4594,"./1f528.svg":4595,"./1f529.svg":4596,"./1f52a.svg":4597,"./1f52b.svg":4598,"./1f52c.svg":4599,"./1f52d.svg":4600,"./1f52e.svg":4601,"./1f52f.svg":4602,"./1f530.svg":4603,"./1f531.svg":4604,"./1f532.svg":4605,"./1f533.svg":4606,"./1f534.svg":4607,"./1f535.svg":4608,"./1f536.svg":4609,"./1f537.svg":4610,"./1f538.svg":4611,"./1f539.svg":4612,"./1f53a.svg":4613,"./1f53b.svg":4614,"./1f53c.svg":4615,"./1f53d.svg":4616,"./1f549.svg":4617,"./1f54a.svg":4618,"./1f54b.svg":4619,"./1f54c.svg":4620,"./1f54d.svg":4621,"./1f54e.svg":4622,"./1f550.svg":4623,"./1f551.svg":4624,"./1f552.svg":4625,"./1f553.svg":4626,"./1f554.svg":4627,"./1f555.svg":4628,"./1f556.svg":4629,"./1f557.svg":4630,"./1f558.svg":4631,"./1f559.svg":4632,"./1f55a.svg":4633,"./1f55b.svg":4634,"./1f55c.svg":4635,"./1f55d.svg":4636,"./1f55e.svg":4637,"./1f55f.svg":4638,"./1f560.svg":4639,"./1f561.svg":4640,"./1f562.svg":4641,"./1f563.svg":4642,"./1f564.svg":4643,"./1f565.svg":4644,"./1f566.svg":4645,"./1f567.svg":4646,"./1f56f.svg":4647,"./1f570.svg":4648,"./1f573.svg":4649,"./1f574-1f3fb.svg":4650,"./1f574-1f3fc.svg":4651,"./1f574-1f3fd.svg":4652,"./1f574-1f3fe.svg":4653,"./1f574-1f3ff.svg":4654,"./1f574.svg":4655,"./1f575-1f3fb-200d-2640-fe0f.svg":4656,"./1f575-1f3fb-200d-2642-fe0f.svg":4657,"./1f575-1f3fb.svg":4658,"./1f575-1f3fc-200d-2640-fe0f.svg":4659,"./1f575-1f3fc-200d-2642-fe0f.svg":4660,"./1f575-1f3fc.svg":4661,"./1f575-1f3fd-200d-2640-fe0f.svg":4662,"./1f575-1f3fd-200d-2642-fe0f.svg":4663,"./1f575-1f3fd.svg":4664,"./1f575-1f3fe-200d-2640-fe0f.svg":4665,"./1f575-1f3fe-200d-2642-fe0f.svg":4666,"./1f575-1f3fe.svg":4667,"./1f575-1f3ff-200d-2640-fe0f.svg":4668,"./1f575-1f3ff-200d-2642-fe0f.svg":4669,"./1f575-1f3ff.svg":4670,"./1f575-fe0f-200d-2640-fe0f.svg":4671,"./1f575-fe0f-200d-2642-fe0f.svg":4672,"./1f575.svg":4673,"./1f576.svg":4674,"./1f577.svg":4675,"./1f578.svg":4676,"./1f579.svg":4677,"./1f57a-1f3fb.svg":4678,"./1f57a-1f3fc.svg":4679,"./1f57a-1f3fd.svg":4680,"./1f57a-1f3fe.svg":4681,"./1f57a-1f3ff.svg":4682,"./1f57a.svg":4683,"./1f587.svg":4684,"./1f58a.svg":4685,"./1f58b.svg":4686,"./1f58c.svg":4687,"./1f58d.svg":4688,"./1f590-1f3fb.svg":4689,"./1f590-1f3fc.svg":4690,"./1f590-1f3fd.svg":4691,"./1f590-1f3fe.svg":4692,"./1f590-1f3ff.svg":4693,"./1f590.svg":4694,"./1f595-1f3fb.svg":4695,"./1f595-1f3fc.svg":4696,"./1f595-1f3fd.svg":4697,"./1f595-1f3fe.svg":4698,"./1f595-1f3ff.svg":4699,"./1f595.svg":4700,"./1f596-1f3fb.svg":4701,"./1f596-1f3fc.svg":4702,"./1f596-1f3fd.svg":4703,"./1f596-1f3fe.svg":4704,"./1f596-1f3ff.svg":4705,"./1f596.svg":4706,"./1f5a4.svg":4707,"./1f5a5.svg":4708,"./1f5a8.svg":4709,"./1f5b1.svg":4710,"./1f5b2.svg":4711,"./1f5bc.svg":4712,"./1f5c2.svg":4713,"./1f5c3.svg":4714,"./1f5c4.svg":4715,"./1f5d1.svg":4716,"./1f5d2.svg":4717,"./1f5d3.svg":4718,"./1f5dc.svg":4719,"./1f5dd.svg":4720,"./1f5de.svg":4721,"./1f5e1.svg":4722,"./1f5e3.svg":4723,"./1f5e8.svg":4724,"./1f5ef.svg":4725,"./1f5f3.svg":4726,"./1f5fa.svg":4727,"./1f5fb.svg":4728,"./1f5fc.svg":4729,"./1f5fd.svg":4730,"./1f5fe.svg":4731,"./1f5ff.svg":4732,"./1f600.svg":4733,"./1f601.svg":4734,"./1f602.svg":4735,"./1f603.svg":4736,"./1f604.svg":4737,"./1f605.svg":4738,"./1f606.svg":4739,"./1f607.svg":4740,"./1f608.svg":4741,"./1f609.svg":4742,"./1f60a.svg":4743,"./1f60b.svg":4744,"./1f60c.svg":4745,"./1f60d.svg":4746,"./1f60e.svg":4747,"./1f60f.svg":4748,"./1f610.svg":4749,"./1f611.svg":4750,"./1f612.svg":4751,"./1f613.svg":4752,"./1f614.svg":4753,"./1f615.svg":4754,"./1f616.svg":4755,"./1f617.svg":4756,"./1f618.svg":4757,"./1f619.svg":4758,"./1f61a.svg":4759,"./1f61b.svg":4760,"./1f61c.svg":4761,"./1f61d.svg":4762,"./1f61e.svg":4763,"./1f61f.svg":4764,"./1f620.svg":4765,"./1f621.svg":4766,"./1f622.svg":4767,"./1f623.svg":4768,"./1f624.svg":4769,"./1f625.svg":4770,"./1f626.svg":4771,"./1f627.svg":4772,"./1f628.svg":4773,"./1f629.svg":4774,"./1f62a.svg":4775,"./1f62b.svg":4776,"./1f62c.svg":4777,"./1f62d.svg":4778,"./1f62e.svg":4779,"./1f62f.svg":4780,"./1f630.svg":4781,"./1f631.svg":4782,"./1f632.svg":4783,"./1f633.svg":4784,"./1f634.svg":4785,"./1f635.svg":4786,"./1f636.svg":4787,"./1f637.svg":4788,"./1f638.svg":4789,"./1f639.svg":4790,"./1f63a.svg":4791,"./1f63b.svg":4792,"./1f63c.svg":4793,"./1f63d.svg":4794,"./1f63e.svg":4795,"./1f63f.svg":4796,"./1f640.svg":4797,"./1f641.svg":4798,"./1f642.svg":4799,"./1f643.svg":4800,"./1f644.svg":4801,"./1f645-1f3fb-200d-2640-fe0f.svg":4802,"./1f645-1f3fb-200d-2642-fe0f.svg":4803,"./1f645-1f3fb.svg":4804,"./1f645-1f3fc-200d-2640-fe0f.svg":4805,"./1f645-1f3fc-200d-2642-fe0f.svg":4806,"./1f645-1f3fc.svg":4807,"./1f645-1f3fd-200d-2640-fe0f.svg":4808,"./1f645-1f3fd-200d-2642-fe0f.svg":4809,"./1f645-1f3fd.svg":4810,"./1f645-1f3fe-200d-2640-fe0f.svg":4811,"./1f645-1f3fe-200d-2642-fe0f.svg":4812,"./1f645-1f3fe.svg":4813,"./1f645-1f3ff-200d-2640-fe0f.svg":4814,"./1f645-1f3ff-200d-2642-fe0f.svg":4815,"./1f645-1f3ff.svg":4816,"./1f645-200d-2640-fe0f.svg":4817,"./1f645-200d-2642-fe0f.svg":4818,"./1f645.svg":4819,"./1f646-1f3fb-200d-2640-fe0f.svg":4820,"./1f646-1f3fb-200d-2642-fe0f.svg":4821,"./1f646-1f3fb.svg":4822,"./1f646-1f3fc-200d-2640-fe0f.svg":4823,"./1f646-1f3fc-200d-2642-fe0f.svg":4824,"./1f646-1f3fc.svg":4825,"./1f646-1f3fd-200d-2640-fe0f.svg":4826,"./1f646-1f3fd-200d-2642-fe0f.svg":4827,"./1f646-1f3fd.svg":4828,"./1f646-1f3fe-200d-2640-fe0f.svg":4829,"./1f646-1f3fe-200d-2642-fe0f.svg":4830,"./1f646-1f3fe.svg":4831,"./1f646-1f3ff-200d-2640-fe0f.svg":4832,"./1f646-1f3ff-200d-2642-fe0f.svg":4833,"./1f646-1f3ff.svg":4834,"./1f646-200d-2640-fe0f.svg":4835,"./1f646-200d-2642-fe0f.svg":4836,"./1f646.svg":4837,"./1f647-1f3fb-200d-2640-fe0f.svg":4838,"./1f647-1f3fb-200d-2642-fe0f.svg":4839,"./1f647-1f3fb.svg":4840,"./1f647-1f3fc-200d-2640-fe0f.svg":4841,"./1f647-1f3fc-200d-2642-fe0f.svg":4842,"./1f647-1f3fc.svg":4843,"./1f647-1f3fd-200d-2640-fe0f.svg":4844,"./1f647-1f3fd-200d-2642-fe0f.svg":4845,"./1f647-1f3fd.svg":4846,"./1f647-1f3fe-200d-2640-fe0f.svg":4847,"./1f647-1f3fe-200d-2642-fe0f.svg":4848,"./1f647-1f3fe.svg":4849,"./1f647-1f3ff-200d-2640-fe0f.svg":4850,"./1f647-1f3ff-200d-2642-fe0f.svg":4851,"./1f647-1f3ff.svg":4852,"./1f647-200d-2640-fe0f.svg":4853,"./1f647-200d-2642-fe0f.svg":4854,"./1f647.svg":4855,"./1f648.svg":4856,"./1f649.svg":4857,"./1f64a.svg":4858,"./1f64b-1f3fb-200d-2640-fe0f.svg":4859,"./1f64b-1f3fb-200d-2642-fe0f.svg":4860,"./1f64b-1f3fb.svg":4861,"./1f64b-1f3fc-200d-2640-fe0f.svg":4862,"./1f64b-1f3fc-200d-2642-fe0f.svg":4863,"./1f64b-1f3fc.svg":4864,"./1f64b-1f3fd-200d-2640-fe0f.svg":4865,"./1f64b-1f3fd-200d-2642-fe0f.svg":4866,"./1f64b-1f3fd.svg":4867,"./1f64b-1f3fe-200d-2640-fe0f.svg":4868,"./1f64b-1f3fe-200d-2642-fe0f.svg":4869,"./1f64b-1f3fe.svg":4870,"./1f64b-1f3ff-200d-2640-fe0f.svg":4871,"./1f64b-1f3ff-200d-2642-fe0f.svg":4872,"./1f64b-1f3ff.svg":4873,"./1f64b-200d-2640-fe0f.svg":4874,"./1f64b-200d-2642-fe0f.svg":4875,"./1f64b.svg":4876,"./1f64c-1f3fb.svg":4877,"./1f64c-1f3fc.svg":4878,"./1f64c-1f3fd.svg":4879,"./1f64c-1f3fe.svg":4880,"./1f64c-1f3ff.svg":4881,"./1f64c.svg":4882,"./1f64d-1f3fb-200d-2640-fe0f.svg":4883,"./1f64d-1f3fb-200d-2642-fe0f.svg":4884,"./1f64d-1f3fb.svg":4885,"./1f64d-1f3fc-200d-2640-fe0f.svg":4886,"./1f64d-1f3fc-200d-2642-fe0f.svg":4887,"./1f64d-1f3fc.svg":4888,"./1f64d-1f3fd-200d-2640-fe0f.svg":4889,"./1f64d-1f3fd-200d-2642-fe0f.svg":4890,"./1f64d-1f3fd.svg":4891,"./1f64d-1f3fe-200d-2640-fe0f.svg":4892,"./1f64d-1f3fe-200d-2642-fe0f.svg":4893,"./1f64d-1f3fe.svg":4894,"./1f64d-1f3ff-200d-2640-fe0f.svg":4895,"./1f64d-1f3ff-200d-2642-fe0f.svg":4896,"./1f64d-1f3ff.svg":4897,"./1f64d-200d-2640-fe0f.svg":4898,"./1f64d-200d-2642-fe0f.svg":4899,"./1f64d.svg":4900,"./1f64e-1f3fb-200d-2640-fe0f.svg":4901,"./1f64e-1f3fb-200d-2642-fe0f.svg":4902,"./1f64e-1f3fb.svg":4903,"./1f64e-1f3fc-200d-2640-fe0f.svg":4904,"./1f64e-1f3fc-200d-2642-fe0f.svg":4905,"./1f64e-1f3fc.svg":4906,"./1f64e-1f3fd-200d-2640-fe0f.svg":4907,"./1f64e-1f3fd-200d-2642-fe0f.svg":4908,"./1f64e-1f3fd.svg":4909,"./1f64e-1f3fe-200d-2640-fe0f.svg":4910,"./1f64e-1f3fe-200d-2642-fe0f.svg":4911,"./1f64e-1f3fe.svg":4912,"./1f64e-1f3ff-200d-2640-fe0f.svg":4913,"./1f64e-1f3ff-200d-2642-fe0f.svg":4914,"./1f64e-1f3ff.svg":4915,"./1f64e-200d-2640-fe0f.svg":4916,"./1f64e-200d-2642-fe0f.svg":4917,"./1f64e.svg":4918,"./1f64f-1f3fb.svg":4919,"./1f64f-1f3fc.svg":4920,"./1f64f-1f3fd.svg":4921,"./1f64f-1f3fe.svg":4922,"./1f64f-1f3ff.svg":4923,"./1f64f.svg":4924,"./1f680.svg":4925,"./1f681.svg":4926,"./1f682.svg":4927,"./1f683.svg":4928,"./1f684.svg":4929,"./1f685.svg":4930,"./1f686.svg":4931,"./1f687.svg":4932,"./1f688.svg":4933,"./1f689.svg":4934,"./1f68a.svg":4935,"./1f68b.svg":4936,"./1f68c.svg":4937,"./1f68d.svg":4938,"./1f68e.svg":4939,"./1f68f.svg":4940,"./1f690.svg":4941,"./1f691.svg":4942,"./1f692.svg":4943,"./1f693.svg":4944,"./1f694.svg":4945,"./1f695.svg":4946,"./1f696.svg":4947,"./1f697.svg":4948,"./1f698.svg":4949,"./1f699.svg":4950,"./1f69a.svg":4951,"./1f69b.svg":4952,"./1f69c.svg":4953,"./1f69d.svg":4954,"./1f69e.svg":4955,"./1f69f.svg":4956,"./1f6a0.svg":4957,"./1f6a1.svg":4958,"./1f6a2.svg":4959,"./1f6a3-1f3fb-200d-2640-fe0f.svg":4960,"./1f6a3-1f3fb-200d-2642-fe0f.svg":4961,"./1f6a3-1f3fb.svg":4962,"./1f6a3-1f3fc-200d-2640-fe0f.svg":4963,"./1f6a3-1f3fc-200d-2642-fe0f.svg":4964,"./1f6a3-1f3fc.svg":4965,"./1f6a3-1f3fd-200d-2640-fe0f.svg":4966,"./1f6a3-1f3fd-200d-2642-fe0f.svg":4967,"./1f6a3-1f3fd.svg":4968,"./1f6a3-1f3fe-200d-2640-fe0f.svg":4969,"./1f6a3-1f3fe-200d-2642-fe0f.svg":4970,"./1f6a3-1f3fe.svg":4971,"./1f6a3-1f3ff-200d-2640-fe0f.svg":4972,"./1f6a3-1f3ff-200d-2642-fe0f.svg":4973,"./1f6a3-1f3ff.svg":4974,"./1f6a3-200d-2640-fe0f.svg":4975,"./1f6a3-200d-2642-fe0f.svg":4976,"./1f6a3.svg":4977,"./1f6a4.svg":4978,"./1f6a5.svg":4979,"./1f6a6.svg":4980,"./1f6a7.svg":4981,"./1f6a8.svg":4982,"./1f6a9.svg":4983,"./1f6aa.svg":4984,"./1f6ab.svg":4985,"./1f6ac.svg":4986,"./1f6ad.svg":4987,"./1f6ae.svg":4988,"./1f6af.svg":4989,"./1f6b0.svg":4990,"./1f6b1.svg":4991,"./1f6b2.svg":4992,"./1f6b3.svg":4993,"./1f6b4-1f3fb-200d-2640-fe0f.svg":4994,"./1f6b4-1f3fb-200d-2642-fe0f.svg":4995,"./1f6b4-1f3fb.svg":4996,"./1f6b4-1f3fc-200d-2640-fe0f.svg":4997,"./1f6b4-1f3fc-200d-2642-fe0f.svg":4998,"./1f6b4-1f3fc.svg":4999,"./1f6b4-1f3fd-200d-2640-fe0f.svg":5e3,"./1f6b4-1f3fd-200d-2642-fe0f.svg":5001,"./1f6b4-1f3fd.svg":5002,"./1f6b4-1f3fe-200d-2640-fe0f.svg":5003,"./1f6b4-1f3fe-200d-2642-fe0f.svg":5004,"./1f6b4-1f3fe.svg":5005,"./1f6b4-1f3ff-200d-2640-fe0f.svg":5006,"./1f6b4-1f3ff-200d-2642-fe0f.svg":5007,"./1f6b4-1f3ff.svg":5008,"./1f6b4-200d-2640-fe0f.svg":5009,"./1f6b4-200d-2642-fe0f.svg":5010,"./1f6b4.svg":5011,"./1f6b5-1f3fb-200d-2640-fe0f.svg":5012,"./1f6b5-1f3fb-200d-2642-fe0f.svg":5013,"./1f6b5-1f3fb.svg":5014,"./1f6b5-1f3fc-200d-2640-fe0f.svg":5015,"./1f6b5-1f3fc-200d-2642-fe0f.svg":5016,"./1f6b5-1f3fc.svg":5017,"./1f6b5-1f3fd-200d-2640-fe0f.svg":5018,"./1f6b5-1f3fd-200d-2642-fe0f.svg":5019,"./1f6b5-1f3fd.svg":5020,"./1f6b5-1f3fe-200d-2640-fe0f.svg":5021,"./1f6b5-1f3fe-200d-2642-fe0f.svg":5022,"./1f6b5-1f3fe.svg":5023,"./1f6b5-1f3ff-200d-2640-fe0f.svg":5024,"./1f6b5-1f3ff-200d-2642-fe0f.svg":5025,"./1f6b5-1f3ff.svg":5026,"./1f6b5-200d-2640-fe0f.svg":5027,"./1f6b5-200d-2642-fe0f.svg":5028,"./1f6b5.svg":5029,"./1f6b6-1f3fb-200d-2640-fe0f.svg":5030,"./1f6b6-1f3fb-200d-2642-fe0f.svg":5031,"./1f6b6-1f3fb.svg":5032,"./1f6b6-1f3fc-200d-2640-fe0f.svg":5033,"./1f6b6-1f3fc-200d-2642-fe0f.svg":5034,"./1f6b6-1f3fc.svg":5035,"./1f6b6-1f3fd-200d-2640-fe0f.svg":5036,"./1f6b6-1f3fd-200d-2642-fe0f.svg":5037,"./1f6b6-1f3fd.svg":5038,"./1f6b6-1f3fe-200d-2640-fe0f.svg":5039,"./1f6b6-1f3fe-200d-2642-fe0f.svg":5040,"./1f6b6-1f3fe.svg":5041,"./1f6b6-1f3ff-200d-2640-fe0f.svg":5042,"./1f6b6-1f3ff-200d-2642-fe0f.svg":5043,"./1f6b6-1f3ff.svg":5044,"./1f6b6-200d-2640-fe0f.svg":5045,"./1f6b6-200d-2642-fe0f.svg":5046,"./1f6b6.svg":5047,"./1f6b7.svg":5048,"./1f6b8.svg":5049,"./1f6b9.svg":5050,"./1f6ba.svg":5051,"./1f6bb.svg":5052,"./1f6bc.svg":5053,"./1f6bd.svg":5054,"./1f6be.svg":5055,"./1f6bf.svg":5056,"./1f6c0-1f3fb.svg":5057,"./1f6c0-1f3fc.svg":5058,"./1f6c0-1f3fd.svg":5059,"./1f6c0-1f3fe.svg":5060,"./1f6c0-1f3ff.svg":5061,"./1f6c0.svg":5062,"./1f6c1.svg":5063,"./1f6c2.svg":5064,"./1f6c3.svg":5065,"./1f6c4.svg":5066,"./1f6c5.svg":5067,"./1f6cb.svg":5068,"./1f6cc-1f3fb.svg":5069,"./1f6cc-1f3fc.svg":5070,"./1f6cc-1f3fd.svg":5071,"./1f6cc-1f3fe.svg":5072,"./1f6cc-1f3ff.svg":5073,"./1f6cc.svg":5074,"./1f6cd.svg":5075,"./1f6ce.svg":5076,"./1f6cf.svg":5077,"./1f6d0.svg":5078,"./1f6d1.svg":5079,"./1f6d2.svg":5080,"./1f6e0.svg":5081,"./1f6e1.svg":5082,"./1f6e2.svg":5083,"./1f6e3.svg":5084,"./1f6e4.svg":5085,"./1f6e5.svg":5086,"./1f6e9.svg":5087,"./1f6eb.svg":5088,"./1f6ec.svg":5089,"./1f6f0.svg":5090,"./1f6f3.svg":5091,"./1f6f4.svg":5092,"./1f6f5.svg":5093,"./1f6f6.svg":5094,"./1f910.svg":5095,"./1f911.svg":5096,"./1f912.svg":5097,"./1f913.svg":5098,"./1f914.svg":5099,"./1f915.svg":5100,"./1f916.svg":5101,"./1f917.svg":5102,"./1f918-1f3fb.svg":5103,"./1f918-1f3fc.svg":5104,"./1f918-1f3fd.svg":5105,"./1f918-1f3fe.svg":5106,"./1f918-1f3ff.svg":5107,"./1f918.svg":5108,"./1f919-1f3fb.svg":5109,"./1f919-1f3fc.svg":5110,"./1f919-1f3fd.svg":5111,"./1f919-1f3fe.svg":5112,"./1f919-1f3ff.svg":5113,"./1f919.svg":5114,"./1f91a-1f3fb.svg":5115,"./1f91a-1f3fc.svg":5116,"./1f91a-1f3fd.svg":5117,"./1f91a-1f3fe.svg":5118,"./1f91a-1f3ff.svg":5119,"./1f91a.svg":5120,"./1f91b-1f3fb.svg":5121,"./1f91b-1f3fc.svg":5122,"./1f91b-1f3fd.svg":5123,"./1f91b-1f3fe.svg":5124,"./1f91b-1f3ff.svg":5125,"./1f91b.svg":5126,"./1f91c-1f3fb.svg":5127,"./1f91c-1f3fc.svg":5128,"./1f91c-1f3fd.svg":5129,"./1f91c-1f3fe.svg":5130,"./1f91c-1f3ff.svg":5131,"./1f91c.svg":5132,"./1f91d.svg":5133,"./1f91e-1f3fb.svg":5134,"./1f91e-1f3fc.svg":5135,"./1f91e-1f3fd.svg":5136,"./1f91e-1f3fe.svg":5137,"./1f91e-1f3ff.svg":5138,"./1f91e.svg":5139,"./1f920.svg":5140,"./1f921.svg":5141,"./1f922.svg":5142,"./1f923.svg":5143,"./1f924.svg":5144,"./1f925.svg":5145,"./1f926-1f3fb-200d-2640-fe0f.svg":5146,"./1f926-1f3fb-200d-2642-fe0f.svg":5147,"./1f926-1f3fb.svg":5148,"./1f926-1f3fc-200d-2640-fe0f.svg":5149,"./1f926-1f3fc-200d-2642-fe0f.svg":5150,"./1f926-1f3fc.svg":5151,"./1f926-1f3fd-200d-2640-fe0f.svg":5152,"./1f926-1f3fd-200d-2642-fe0f.svg":5153,"./1f926-1f3fd.svg":5154,"./1f926-1f3fe-200d-2640-fe0f.svg":5155,"./1f926-1f3fe-200d-2642-fe0f.svg":5156,"./1f926-1f3fe.svg":5157,"./1f926-1f3ff-200d-2640-fe0f.svg":5158,"./1f926-1f3ff-200d-2642-fe0f.svg":5159,"./1f926-1f3ff.svg":5160,"./1f926-200d-2640-fe0f.svg":5161,"./1f926-200d-2642-fe0f.svg":5162,"./1f926.svg":5163,"./1f927.svg":5164,"./1f930-1f3fb.svg":5165,"./1f930-1f3fc.svg":5166,"./1f930-1f3fd.svg":5167,"./1f930-1f3fe.svg":5168,"./1f930-1f3ff.svg":5169,"./1f930.svg":5170,"./1f933-1f3fb.svg":5171,"./1f933-1f3fc.svg":5172,"./1f933-1f3fd.svg":5173,"./1f933-1f3fe.svg":5174,"./1f933-1f3ff.svg":5175,"./1f933.svg":5176,"./1f934-1f3fb.svg":5177,"./1f934-1f3fc.svg":5178,"./1f934-1f3fd.svg":5179,"./1f934-1f3fe.svg":5180,"./1f934-1f3ff.svg":5181,"./1f934.svg":5182,"./1f935-1f3fb.svg":5183,"./1f935-1f3fc.svg":5184,"./1f935-1f3fd.svg":5185,"./1f935-1f3fe.svg":5186,"./1f935-1f3ff.svg":5187,"./1f935.svg":5188,"./1f936-1f3fb.svg":5189,"./1f936-1f3fc.svg":5190,"./1f936-1f3fd.svg":5191,"./1f936-1f3fe.svg":5192,"./1f936-1f3ff.svg":5193,"./1f936.svg":5194,"./1f937-1f3fb-200d-2640-fe0f.svg":5195,"./1f937-1f3fb-200d-2642-fe0f.svg":5196,"./1f937-1f3fb.svg":5197,"./1f937-1f3fc-200d-2640-fe0f.svg":5198,"./1f937-1f3fc-200d-2642-fe0f.svg":5199,"./1f937-1f3fc.svg":5200,"./1f937-1f3fd-200d-2640-fe0f.svg":5201,"./1f937-1f3fd-200d-2642-fe0f.svg":5202,"./1f937-1f3fd.svg":5203,"./1f937-1f3fe-200d-2640-fe0f.svg":5204,"./1f937-1f3fe-200d-2642-fe0f.svg":5205,"./1f937-1f3fe.svg":5206,"./1f937-1f3ff-200d-2640-fe0f.svg":5207,"./1f937-1f3ff-200d-2642-fe0f.svg":5208,"./1f937-1f3ff.svg":5209,"./1f937-200d-2640-fe0f.svg":5210,"./1f937-200d-2642-fe0f.svg":5211,"./1f937.svg":5212,"./1f938-1f3fb-200d-2640-fe0f.svg":5213,"./1f938-1f3fb-200d-2642-fe0f.svg":5214,"./1f938-1f3fb.svg":5215,"./1f938-1f3fc-200d-2640-fe0f.svg":5216,"./1f938-1f3fc-200d-2642-fe0f.svg":5217,"./1f938-1f3fc.svg":5218,"./1f938-1f3fd-200d-2640-fe0f.svg":5219,"./1f938-1f3fd-200d-2642-fe0f.svg":5220,"./1f938-1f3fd.svg":5221,"./1f938-1f3fe-200d-2640-fe0f.svg":5222,"./1f938-1f3fe-200d-2642-fe0f.svg":5223,"./1f938-1f3fe.svg":5224,"./1f938-1f3ff-200d-2640-fe0f.svg":5225,"./1f938-1f3ff-200d-2642-fe0f.svg":5226,"./1f938-1f3ff.svg":5227,"./1f938-200d-2640-fe0f.svg":5228,"./1f938-200d-2642-fe0f.svg":5229,"./1f938.svg":5230,"./1f939-1f3fb-200d-2640-fe0f.svg":5231,"./1f939-1f3fb-200d-2642-fe0f.svg":5232,"./1f939-1f3fb.svg":5233,"./1f939-1f3fc-200d-2640-fe0f.svg":5234,"./1f939-1f3fc-200d-2642-fe0f.svg":5235,"./1f939-1f3fc.svg":5236,"./1f939-1f3fd-200d-2640-fe0f.svg":5237,"./1f939-1f3fd-200d-2642-fe0f.svg":5238,"./1f939-1f3fd.svg":5239,"./1f939-1f3fe-200d-2640-fe0f.svg":5240,"./1f939-1f3fe-200d-2642-fe0f.svg":5241,"./1f939-1f3fe.svg":5242,"./1f939-1f3ff-200d-2640-fe0f.svg":5243,"./1f939-1f3ff-200d-2642-fe0f.svg":5244,"./1f939-1f3ff.svg":5245,"./1f939-200d-2640-fe0f.svg":5246,"./1f939-200d-2642-fe0f.svg":5247,"./1f939.svg":5248,"./1f93a.svg":5249,"./1f93c-200d-2640-fe0f.svg":5250,"./1f93c-200d-2642-fe0f.svg":5251,"./1f93c.svg":5252,"./1f93d-1f3fb-200d-2640-fe0f.svg":5253,"./1f93d-1f3fb-200d-2642-fe0f.svg":5254,"./1f93d-1f3fb.svg":5255,"./1f93d-1f3fc-200d-2640-fe0f.svg":5256,"./1f93d-1f3fc-200d-2642-fe0f.svg":5257,"./1f93d-1f3fc.svg":5258,"./1f93d-1f3fd-200d-2640-fe0f.svg":5259,"./1f93d-1f3fd-200d-2642-fe0f.svg":5260,"./1f93d-1f3fd.svg":5261,"./1f93d-1f3fe-200d-2640-fe0f.svg":5262,"./1f93d-1f3fe-200d-2642-fe0f.svg":5263,"./1f93d-1f3fe.svg":5264,"./1f93d-1f3ff-200d-2640-fe0f.svg":5265,"./1f93d-1f3ff-200d-2642-fe0f.svg":5266,"./1f93d-1f3ff.svg":5267,"./1f93d-200d-2640-fe0f.svg":5268,"./1f93d-200d-2642-fe0f.svg":5269,"./1f93d.svg":5270,"./1f93e-1f3fb-200d-2640-fe0f.svg":5271,"./1f93e-1f3fb-200d-2642-fe0f.svg":5272,"./1f93e-1f3fb.svg":5273,"./1f93e-1f3fc-200d-2640-fe0f.svg":5274,"./1f93e-1f3fc-200d-2642-fe0f.svg":5275,"./1f93e-1f3fc.svg":5276,"./1f93e-1f3fd-200d-2640-fe0f.svg":5277,"./1f93e-1f3fd-200d-2642-fe0f.svg":5278,"./1f93e-1f3fd.svg":5279,"./1f93e-1f3fe-200d-2640-fe0f.svg":5280,"./1f93e-1f3fe-200d-2642-fe0f.svg":5281,"./1f93e-1f3fe.svg":5282,"./1f93e-1f3ff-200d-2640-fe0f.svg":5283,"./1f93e-1f3ff-200d-2642-fe0f.svg":5284,"./1f93e-1f3ff.svg":5285,"./1f93e-200d-2640-fe0f.svg":5286,"./1f93e-200d-2642-fe0f.svg":5287,"./1f93e.svg":5288,"./1f940.svg":5289,"./1f941.svg":5290,"./1f942.svg":5291,"./1f943.svg":5292,"./1f944.svg":5293,"./1f945.svg":5294,"./1f947.svg":5295,"./1f948.svg":5296,"./1f949.svg":5297,"./1f94a.svg":5298,"./1f94b.svg":5299,"./1f950.svg":5300,"./1f951.svg":5301,"./1f952.svg":5302,"./1f953.svg":5303,"./1f954.svg":5304,"./1f955.svg":5305,"./1f956.svg":5306,"./1f957.svg":5307,"./1f958.svg":5308,"./1f959.svg":5309,"./1f95a.svg":5310,"./1f95b.svg":5311,"./1f95c.svg":5312,"./1f95d.svg":5313,"./1f95e.svg":5314,"./1f980.svg":5315,"./1f981.svg":5316,"./1f982.svg":5317,"./1f983.svg":5318,"./1f984.svg":5319,"./1f985.svg":5320,"./1f986.svg":5321,"./1f987.svg":5322,"./1f988.svg":5323,"./1f989.svg":5324,"./1f98a.svg":5325,"./1f98b.svg":5326,"./1f98c.svg":5327,"./1f98d.svg":5328,"./1f98e.svg":5329,"./1f98f.svg":5330,"./1f990.svg":5331,"./1f991.svg":5332,"./1f9c0.svg":5333,"./203c.svg":5334,"./2049.svg":5335,"./2122.svg":5336,"./2139.svg":5337,"./2194.svg":5338,"./2195.svg":5339,"./2196.svg":5340,"./2197.svg":5341,"./2198.svg":5342,"./2199.svg":5343,"./21a9.svg":5344,"./21aa.svg":5345,"./23-20e3.svg":5346,"./231a.svg":5347,"./231b.svg":5348,"./2328.svg":5349,"./23cf.svg":5350,"./23e9.svg":5351,"./23ea.svg":5352,"./23eb.svg":5353,"./23ec.svg":5354,"./23ed.svg":5355,"./23ee.svg":5356,"./23ef.svg":5357,"./23f0.svg":5358,"./23f1.svg":5359,"./23f2.svg":5360,"./23f3.svg":5361,"./23f8.svg":5362,"./23f9.svg":5363,"./23fa.svg":5364,"./24c2.svg":5365,"./25aa.svg":5366,"./25ab.svg":5367,"./25b6.svg":5368,"./25c0.svg":5369,"./25fb.svg":5370,"./25fc.svg":5371,"./25fd.svg":5372,"./25fe.svg":5373,"./2600.svg":5374,"./2601.svg":5375,"./2602.svg":5376,"./2603.svg":5377,"./2604.svg":5378,"./260e.svg":5379,"./2611.svg":5380,"./2614.svg":5381,"./2615.svg":5382,"./2618.svg":5383,"./261d-1f3fb.svg":5384,"./261d-1f3fc.svg":5385,"./261d-1f3fd.svg":5386,"./261d-1f3fe.svg":5387,"./261d-1f3ff.svg":5388,"./261d.svg":5389,"./2620.svg":5390,"./2622.svg":5391,"./2623.svg":5392,"./2626.svg":5393,"./262a.svg":5394,"./262e.svg":5395,"./262f.svg":5396,"./2638.svg":5397,"./2639.svg":5398,"./263a.svg":5399,"./2640.svg":5400,"./2642.svg":5401,"./2648.svg":5402,"./2649.svg":5403,"./264a.svg":5404,"./264b.svg":5405,"./264c.svg":5406,"./264d.svg":5407,"./264e.svg":5408,"./264f.svg":5409,"./2650.svg":5410,"./2651.svg":5411,"./2652.svg":5412,"./2653.svg":5413,"./2660.svg":5414,"./2663.svg":5415,"./2665.svg":5416,"./2666.svg":5417,"./2668.svg":5418,"./267b.svg":5419,"./267f.svg":5420,"./2692.svg":5421,"./2693.svg":5422,"./2694.svg":5423,"./2695.svg":5424,"./2696.svg":5425,"./2697.svg":5426,"./2699.svg":5427,"./269b.svg":5428,"./269c.svg":5429,"./26a0.svg":5430,"./26a1.svg":5431,"./26aa.svg":5432,"./26ab.svg":5433,"./26b0.svg":5434,"./26b1.svg":5435,"./26bd.svg":5436,"./26be.svg":5437,"./26c4.svg":5438,"./26c5.svg":5439,"./26c8.svg":5440,"./26ce.svg":5441,"./26cf.svg":5442,"./26d1.svg":5443,"./26d3.svg":5444,"./26d4.svg":5445,"./26e9.svg":5446,"./26ea.svg":5447,"./26f0.svg":5448,"./26f1.svg":5449,"./26f2.svg":5450,"./26f3.svg":5451,"./26f4.svg":5452,"./26f5.svg":5453,"./26f7-1f3fb.svg":5454,"./26f7-1f3fc.svg":5455,"./26f7-1f3fd.svg":5456,"./26f7-1f3fe.svg":5457,"./26f7-1f3ff.svg":5458,"./26f7.svg":5459,"./26f8.svg":5460,"./26f9-1f3fb-200d-2640-fe0f.svg":5461,"./26f9-1f3fb-200d-2642-fe0f.svg":5462,"./26f9-1f3fb.svg":5463,"./26f9-1f3fc-200d-2640-fe0f.svg":5464,"./26f9-1f3fc-200d-2642-fe0f.svg":5465,"./26f9-1f3fc.svg":5466,"./26f9-1f3fd-200d-2640-fe0f.svg":5467,"./26f9-1f3fd-200d-2642-fe0f.svg":5468,"./26f9-1f3fd.svg":5469,"./26f9-1f3fe-200d-2640-fe0f.svg":5470,"./26f9-1f3fe-200d-2642-fe0f.svg":5471,"./26f9-1f3fe.svg":5472,"./26f9-1f3ff-200d-2640-fe0f.svg":5473,"./26f9-1f3ff-200d-2642-fe0f.svg":5474,"./26f9-1f3ff.svg":5475,"./26f9-fe0f-200d-2640-fe0f.svg":5476,"./26f9-fe0f-200d-2642-fe0f.svg":5477,"./26f9.svg":5478,"./26fa.svg":5479,"./26fd.svg":5480,"./2702.svg":5481,"./2705.svg":5482,"./2708.svg":5483,"./2709.svg":5484,"./270a-1f3fb.svg":5485,"./270a-1f3fc.svg":5486,"./270a-1f3fd.svg":5487,"./270a-1f3fe.svg":5488,"./270a-1f3ff.svg":5489,"./270a.svg":5490,"./270b-1f3fb.svg":5491,"./270b-1f3fc.svg":5492,"./270b-1f3fd.svg":5493,"./270b-1f3fe.svg":5494,"./270b-1f3ff.svg":5495,"./270b.svg":5496,"./270c-1f3fb.svg":5497,"./270c-1f3fc.svg":5498,"./270c-1f3fd.svg":5499,"./270c-1f3fe.svg":5500,"./270c-1f3ff.svg":5501,"./270c.svg":5502,"./270d-1f3fb.svg":5503,"./270d-1f3fc.svg":5504,"./270d-1f3fd.svg":5505,"./270d-1f3fe.svg":5506,"./270d-1f3ff.svg":5507,"./270d.svg":5508,"./270f.svg":5509,"./2712.svg":5510,"./2714.svg":5511,"./2716.svg":5512,"./271d.svg":5513,"./2721.svg":5514,"./2728.svg":5515,"./2733.svg":5516,"./2734.svg":5517,"./2744.svg":5518,"./2747.svg":5519,"./274c.svg":5520,"./274e.svg":5521,"./2753.svg":5522,"./2754.svg":5523,"./2755.svg":5524,"./2757.svg":5525,"./2763.svg":5526,"./2764.svg":5527,"./2795.svg":5528,"./2796.svg":5529,"./2797.svg":5530,"./27a1.svg":5531,"./27b0.svg":5532,"./27bf.svg":5533,"./2934.svg":5534,"./2935.svg":5535,"./2a-20e3.svg":5536,"./2b05.svg":5537,"./2b06.svg":5538,"./2b07.svg":5539,"./2b1b.svg":5540,"./2b1c.svg":5541,"./2b50.svg":5542,"./2b55.svg":5543,"./30-20e3.svg":5544,"./3030.svg":5545,"./303d.svg":5546,"./31-20e3.svg":5547,"./32-20e3.svg":5548,"./3297.svg":5549,"./3299.svg":5550,"./33-20e3.svg":5551,"./34-20e3.svg":5552,"./35-20e3.svg":5553,"./36-20e3.svg":5554,"./37-20e3.svg":5555,"./38-20e3.svg":5556,"./39-20e3.svg":5557,"./a9.svg":5558,"./ae.svg":5559,"./e50a.svg":5560};a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=2895},,function(e,t,n){e.exports=n.p+"cdec1a78913423b428eb0013e9678244.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBvbHlnb24gcG9pbnRzPSIwIDAgMjQgMCAyNCAyNCAwIDI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNNy41LDEwLjUwMTQ1NiBDOC45NCwxMy4zMzE0NTYgMTAuNjY3Mjc0MSwxNS4wNSAxMy40OTcyNzQxLDE2LjUgTDE1LjQxLDE1LjE4IEMxNS42OCwxNC45MSAxNi4wOCwxNC44MiAxNi40MywxNC45NCBDMTcuNTUsMTUuMzEgMTguNzYsMTUuNTEgMjAsMTUuNTEgQzIwLjU1LDE1LjUxIDIxLDE1Ljk2IDIxLDE2LjUxIEwyMSwyMCBDMjEsMjAuNTUgMjAuNTUsMjEgMjAsMjEgQzEwLjYxLDIxIDIuNzg5OTk5OTYsMTMuNjQwMDAwMyAzLDQgQzMuMDExOTc4NDksMy40NTAxMzA0NiAzLjQ1LDMgNCwzIEw3LjUsMyBDOC4wNSwzIDguNSwzLjQ1IDguNSw0IEM4LjUsNS4yNSA4LjcsNi40NSA5LjA3LDcuNTcgQzkuMTgsNy45MiA5LjEsOC4zMSA4LjgyLDguNTkgTDcuNSwxMC41MDE0NTYgWiIvPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBvbHlnb24gcG9pbnRzPSIwIDAgMjQgMCAyNCAyNCAwIDI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNy41LDEwLjUgQzguOTQsMTMuMzMgMTAuNjY5MTI4MSwxNS4wNSAxMy40OTkxMjgxLDE2LjUgTDE1LjQxLDE1LjE4IEMxNS42OCwxNC45MSAxNi4wOCwxNC44MiAxNi40MywxNC45NCBDMTcuNTUsMTUuMzEgMTguNzYsMTUuNTEgMjAsMTUuNTEgQzIwLjU1LDE1LjUxIDIxLDE1Ljk2IDIxLDE2LjUxIEwyMSwyMCBDMjEsMjAuNTUgMjAuNTUsMjEgMjAsMjEgQzEwLjYxLDIxIDIuNzkzOTk5MDcsMTMuNjQwNDQ0OSAzLDQgQzMuMDExNzQ5OTQsMy40NTAxMjU3MyAzLjQ1LDMgNCwzIEw3LjUsMyBDOC4wNSwzIDguNSwzLjQ1IDguNSw0IEM4LjUsNS4yNSA4LjcsNi40NSA5LjA3LDcuNTcgQzkuMTgsNy45MiA5LjEsOC4zMSA4LjgyLDguNTkgTDcuNSwxMC41IFoiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNMTYuNSwwLjA5IEwxMiw0LjU5IEwxMiwxIEwxMCwxIEwxMCw4IEwxNyw4IEwxNyw2IEwxMy40MSw2IEwxNy45MSwxLjUgTDE2LjUsMC4wOSBMMTYuNSwwLjA5IFogTTEsMTAgTDEsMTIgTDQuNTksMTIgTDAuMDksMTYuNSBMMS41LDE3LjkxIEw2LDEzLjQxIEw2LDE3IEw4LDE3IEw4LDEwIEwxLDEwIFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMgMykiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTYuNSwwLjA5IEwxMiw0LjU5IEwxMiwxIEwxMCwxIEwxMCw4IEwxNyw4IEwxNyw2IEwxMy40MSw2IEwxNy45MSwxLjUgTDE2LjUsMC4wOSBMMTYuNSwwLjA5IFogTTEsMTAgTDEsMTIgTDQuNTksMTIgTDAuMDksMTYuNSBMMS41LDE3LjkxIEw2LDEzLjQxIEw2LDE3IEw4LDE3IEw4LDEwIEwxLDEwIFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMgMykiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNNywxOCBMNywxNiBMMy40MSwxNiBMNy45MSwxMS41IEw2LjUsMTAuMDkgTDIsMTQuNTkgTDIsMTEgTDAsMTEgTDAsMTggTDcsMTggTDcsMTggWiBNMTEuNSw3LjkxIEwxNiwzLjQxIEwxNiw3IEwxOCw3IEwxOCwwIEwxMSwwIEwxMSwyIEwxNC41OSwyIEwxMC4wOSw2LjUgTDExLjUsNy45MSBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzIDMpIi8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNywxOCBMNywxNiBMMy40MSwxNiBMNy45MSwxMS41IEw2LjUsMTAuMDkgTDIsMTQuNTkgTDIsMTEgTDAsMTEgTDAsMTggTDcsMTggTDcsMTggWiBNMTEuNSw3LjkxIEwxNiwzLjQxIEwxNiw3IEwxOCw3IEwxOCwwIEwxMSwwIEwxMSwyIEwxNC41OSwyIEwxMC4wOSw2LjUgTDExLjUsNy45MSBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzIDMpIi8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTE3LjQzLDUuODQgQzE3LjgsNi44MiAxOCw3Ljg5IDE4LDkgTDE4LDE3IEMxOCwxOC42NTY4NTQyIDE2LDE5IDE2LDE5IEwxMiwxOSBMMTIsMTEuMjcgTDYsMTcuMjcgTDYsMTkgTDQuMjcsMTkgTDEuNzcsMjEuNSBMMTcuNDMsNS44NCBaIE05LDAgQzExLjUzLDAgMTMuODIsMS4wNCAxNS40NSwyLjcyIEwxNC4wNCw0LjE0IEMxMi43NywyLjgyIDExLDIgOSwyIEM1LjEzNDAwNjc1LDIgMiw1LjEzNDAwNjc1IDIsOSBMMiwxMSBMNiwxMSBMNiwxMi4xOCBMMC41LDE3LjY3IEMwLjE5LDE3LjE5IDAsMTYuNjIgMCwxNiBMMCw5IEMtMS4zMzIyNjc2M2UtMTUsNC4wMjk0MzcyNSA0LjAyOTQzNzI1LDEuMzMyMjY3NjNlLTE1IDksNC40NDA4OTIxZS0xNiBMOSwwIFogTTE2LDExIEwxNiw5IEMxNiw4LjQ2IDE1Ljk0LDcuOTQgMTUuODMsNy40NCBMMTIuMjcsMTEgTDE2LDExIFoiIHRyYW5zZm9ybT0ibWF0cml4KC0xIDAgMCAxIDIxIDIpIi8+CiAgICA8cG9seWdvbiBmaWxsPSIjRjA0NzQ3IiBwb2ludHM9IjEuMjcgMTkuNSAwIDE4LjIyIDE3LjcyIC41IDE5IDEuNzciIHRyYW5zZm9ybT0ibWF0cml4KC0xIDAgMCAxIDIwIDQpIi8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMywxMSBDMyw2IDcsMiAxMiwyIEwxMiw0IEM4LjEzNDAwNjc1LDQgNSw3LjEzNDAwNjc1IDUsMTEgTDUsMTMgTDksMTMgTDksMjEgTDYsMjEgQzQuMzQzMTQ1NzUsMjEgMywxOS42NTY4NTQyIDMsMTggTDMsMTEgWiBNMjEsMTEgTDIxLDE4IEMyMSwxOS42NTY4NTQyIDE5LjY1Njg1NDIsMjEgMTgsMjEgTDE1LDIxIEwxNSwxMyBMMTksMTMgTDE5LDExIEMxOSw3LjEzNDAwNjc1IDE1Ljg2NTk5MzIsNCAxMiw0IEwxMiwyIEMxNywyIDIxLDYgMjEsMTEgWiIvPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNNyw0LjQ0MDg5MjFlLTE2IEM4LjY1Njg1NDI1LDAgMTAsMS4zNDMxNDU3NSAxMCwzIEwxMCw5IEMxMCwxMC42NTY4NTQyIDguNjU2ODU0MjUsMTIgNywxMiBDNS4zNDMxNDU3NSwxMiA0LDEwLjY1Njg1NDIgNCw5IEw0LDMgQzQsMS4zNDMxNDU3NSA1LjM0MzE0NTc1LDQuNDQwODkyMWUtMTYgNywwIEw3LDQuNDQwODkyMWUtMTYgWiBNMTQsOSBDMTQsMTIuNTMgMTEuMzksMTUuNDQgOCwxNS45MyBMOCwxOSBMNiwxOSBMNiwxNS45MyBDMi42MSwxNS40NCAwLDEyLjUzIDAsOSBMMiw5IEMyLDExLjc2MTQyMzcgNC4yMzg1NzYyNSwxNCA3LDE0IEM5Ljc2MTQyMzc1LDE0IDEyLDExLjc2MTQyMzcgMTIsOSBMMTQsOSBMMTQsOSBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1IDMpIi8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0ibWF0cml4KC0xIDAgMCAxIDI0IDApIj4KICAgIDxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPgogICAgPGcgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMjEgMykiPgogICAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBmaWxsLW9wYWNpdHk9Ii42IiBkPSJNMTcsOSBDMTcsMTAuMTkgMTYuNjYsMTEuMyAxNi4xLDEyLjI4IEwxNC44NywxMS4wNSBDMTUuMTQsMTAuNDMgMTUuMyw5Ljc0IDE1LjMsOSBMMTcsOSBMMTcsOSBaIE0xMyw5LjE2IEw3LDMuMTggTDcsMyBDNywxLjM0MzE0NTc1IDguMzQzMTQ1NzUsNC40NDA4OTIxZS0xNiAxMCwwIEMxMS42NTY4NTQyLDAgMTMsMS4zNDMxNDU3NSAxMywzIEwxMyw5IEwxMyw5LjE2IEwxMyw5LjE2IFogTTEzLjU0LDE0LjgxIEMxMi43NywxNS4yNyAxMS45MSwxNS41OCAxMSwxNS43MiBMMTEsMTkgTDksMTkgTDksMTUuNzIgQzUuNzIsMTUuMjMgMywxMi40MSAzLDkgTDQuNyw5IEM0LjcsMTIgNy4yNCwxNC4xIDEwLDE0LjEgQzEwLjgxLDE0LjEgMTEuNiwxMy45MSAxMi4zMSwxMy41OCBMMTAuNjUsMTEuOTIgTDEwLDEyIEM4LjM0MzE0NTc1LDEyIDcsMTAuNjU2ODU0MiA3LDkgTDcsOC4yOCBMMTMuNTQsMTQuODEgWiIvPgogICAgICA8cG9seWdvbiBmaWxsPSIjRjA0NzQ3IiBwb2ludHM9IjEuMjcgMSAxOCAxNy43MyAxNi43MyAxOSAwIDIuMjciLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0ibWF0cml4KC0xIDAgMCAxIDI0IDApIj4KICAgIDxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPgogICAgPGcgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMjEgMykiPgogICAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNMTcsOSBDMTcsMTAuMTkgMTYuNjYsMTEuMyAxNi4xLDEyLjI4IEwxNC44NywxMS4wNSBDMTUuMTQsMTAuNDMgMTUuMyw5Ljc0IDE1LjMsOSBMMTcsOSBMMTcsOSBaIE0xMyw5LjE2IEw3LDMuMTggTDcsMyBDNywxLjM0MzE0NTc1IDguMzQzMTQ1NzUsNC40NDA4OTIxZS0xNiAxMCwwIEMxMS42NTY4NTQyLDAgMTMsMS4zNDMxNDU3NSAxMywzIEwxMyw5IEwxMyw5LjE2IEwxMyw5LjE2IFogTTEzLjU0LDE0LjgxIEMxMi43NywxNS4yNyAxMS45MSwxNS41OCAxMSwxNS43MiBMMTEsMTkgTDksMTkgTDksMTUuNzIgQzUuNzIsMTUuMjMgMywxMi40MSAzLDkgTDQuNyw5IEM0LjcsMTIgNy4yNCwxNC4xIDEwLDE0LjEgQzEwLjgxLDE0LjEgMTEuNiwxMy45MSAxMi4zMSwxMy41OCBMMTAuNjUsMTEuOTIgTDEwLDEyIEM4LjM0MzE0NTc1LDEyIDcsMTAuNjU2ODU0MiA3LDkgTDcsOC4yOCBMMTMuNTQsMTQuODEgWiIvPgogICAgICA8cG9seWdvbiBmaWxsPSIjRjA0NzQ3IiBwb2ludHM9IjEuMjcgMSAxOCAxNy43MyAxNi43MyAxOSAwIDIuMjciLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0ibWF0cml4KC0xIDAgMCAxIDI0IDApIj4KICAgIDxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPgogICAgPGcgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMjEgMykiPgogICAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTYsOSBDMTYsMTAuMTkgMTUuNjYsMTEuMyAxNS4xLDEyLjI4IEwxMy44NywxMS4wNSBDMTQuMTQsMTAuNDMgMTQuMyw5Ljc0IDE0LjMsOSBMMTYsOSBMMTYsOSBaIE0xMiw5LjE2IEw2LDMuMTggTDYsMyBDNiwxLjM0MzE0NTc1IDcuMzQzMTQ1NzUsNC40NDA4OTIxZS0xNiA5LDAgQzEwLjY1Njg1NDIsMCAxMiwxLjM0MzE0NTc1IDEyLDMgTDEyLDkgTDEyLDkuMTYgTDEyLDkuMTYgWiBNMTIuNTQsMTQuODEgQzExLjc3LDE1LjI3IDEwLjkxLDE1LjU4IDEwLDE1LjcyIEwxMCwxOSBMOCwxOSBMOCwxNS43MiBDNC43MiwxNS4yMyAyLDEyLjQxIDIsOSBMMy43LDkgQzMuNywxMiA2LjI0LDE0LjEgOSwxNC4xIEM5LjgxLDE0LjEgMTAuNiwxMy45MSAxMS4zMSwxMy41OCBMOS42NSwxMS45MiBMOSwxMiBDNy4zNDMxNDU3NSwxMiA2LDEwLjY1Njg1NDIgNiw5IEw2LDguMjggTDEyLjU0LDE0LjgxIFoiIG9wYWNpdHk9Ii42Ii8+CiAgICAgIDxwb2x5Z29uIGZpbGw9IiNGMDQ3NDciIHBvaW50cz0iMS4yNyAxIDE4IDE3LjczIDE2LjczIDE5IDAgMi4yNyIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBvbHlnb24gcG9pbnRzPSIwIDAgMjQgMCAyNCAyNCAwIDI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNMjAsMTcgQzIxLjEsMTcgMjEuOTksMTYuMSAyMS45OSwxNSBMMjIsNSBDMjIsMy44OSAyMS4xLDMgMjAsMyBMNCwzIEMyLjg5LDMgMiwzLjg5IDIsNSBMMiwxNSBDMiwxNi4xIDIuODksMTcgNCwxNyBMMTEsMTcgTDExLDE5IEw5LDE5IEw5LDIxIEwxNSwyMSBMMTUsMTkgTDEzLDE5IEwxMywxNyBMMjAsMTcgWiBNMTMsMTMuNDcgTDEzLDExLjI4IEMxMC4yMiwxMS4yOCA4LjM5LDEyLjEzIDcsMTQgQzcuNTYsMTEuMzMgOS4xMSw4LjY3IDEzLDguMTMgTDEzLDYgTDE3LDkuNzMgTDEzLDEzLjQ3IFoiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBvbHlnb24gcG9pbnRzPSIwIDAgMjQgMCAyNCAyNCAwIDI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjAsMTcgQzIxLjEsMTcgMjEuOTksMTYuMSAyMS45OSwxNSBMMjIsNSBDMjIsMy44OSAyMS4xLDMgMjAsMyBMNCwzIEMyLjg5LDMgMiwzLjg5IDIsNSBMMiwxNSBDMiwxNi4xIDIuODksMTcgNCwxNyBMMTEsMTcgTDExLDE5IEw5LDE5IEw5LDIxIEwxNSwyMSBMMTUsMTkgTDEzLDE5IEwxMywxNyBMMjAsMTcgWiBNMTMsMTMuNDcgTDEzLDExLjI4IEMxMC4yMiwxMS4yOCA4LjM5LDEyLjEzIDcsMTQgQzcuNTYsMTEuMzMgOS4xMSw4LjY3IDEzLDguMTMgTDEzLDYgTDE3LDkuNzMgTDEzLDEzLjQ3IFoiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t,n){e.exports=n.p+"e58c46a89a6d0e207363ed2c26fef144.svg"},function(e,t,n){e.exports=n.p+"d47d2c5ce2dd7d5bdaee2ebd8fde61f2.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNMiwxMyBMMjIsMTMgTDIyLDIwIEwyLDIwIEwyLDEzIFogTTIsNCBMMjIsNCBMMjIsMTEgTDIsMTEgTDIsNCBaIi8+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMiwxMyBMMjIsMTMgTDIyLDIwIEwyLDIwIEwyLDEzIFogTTIsNCBMMjIsNCBMMjIsMTEgTDIsMTEgTDIsNCBaIi8+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNMiwxMCBMMjIsMTAgTDIyLDIwIEwyLDIwIEwyLDEwIFogTTIsNCBMMjIsNCBMMjIsOCBMMiw4IEwyLDQgWiIvPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMiwxMCBMMjIsMTAgTDIyLDIwIEwyLDIwIEwyLDEwIFogTTIsNCBMMjIsNCBMMjIsOCBMMiw4IEwyLDQgWiIvPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNMiw0IEwyMiw0IEwyMiwxNCBMMiwxNCBMMiw0IFogTTksMTYgTDE1LDE2IEwxNSwyMCBMOSwyMCBMOSwxNiBaIE0xNiwxNiBMMjIsMTYgTDIyLDIwIEwxNiwyMCBMMTYsMTYgWiBNMiwxNiBMOCwxNiBMOCwyMCBMMiwyMCBMMiwxNiBaIi8+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMiw0IEwyMiw0IEwyMiwxNCBMMiwxNCBMMiw0IFogTTksMTYgTDE1LDE2IEwxNSwyMCBMOSwyMCBMOSwxNiBaIE0xNiwxNiBMMjIsMTYgTDIyLDIwIEwxNiwyMCBMMTYsMTYgWiBNMiwxNiBMOCwxNiBMOCwyMCBMMiwyMCBMMiwxNiBaIi8+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZD0iTTAsMCBMMjQsMCBMMjQsMjQgTDAsMjQgTDAsMCBaIE0wLDAgTDI0LDAgTDI0LDI0IEwwLDI0IEwwLDAgWiIvPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBmaWxsLW9wYWNpdHk9Ii42IiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0yMSw2LjUgTDE3LDEwLjUgTDE3LDcgQzE3LDYuNDUgMTYuNTUsNiAxNiw2IEw5LjgyLDYgTDIxLDE3LjE4IEwyMSw2LjUgWiBNNC43Myw2IEw0LDYgQzMuNDUsNiAzLDYuNDUgMyw3IEwzLDE3IEMzLDE3LjU1IDMuNDUsMTggNCwxOCBMMTYsMTggQzE2LjIxLDE4IDE2LjM5LDE3LjkyIDE2LjU0LDE3LjgyIEw0LjczLDYgWiIvPgogICAgPHBvbHlnb24gZmlsbD0iI0YwNDc0NyIgZmlsbC1ydWxlPSJub256ZXJvIiBwb2ludHM9IjMuMjcgMiAyIDMuMjcgMTkuNzMgMjEgMjEgMTkuNzMiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZD0iTTAsMCBMMjQsMCBMMjQsMjQgTDAsMjQgTDAsMCBaIE0wLDAgTDI0LDAgTDI0LDI0IEwwLDI0IEwwLDAgWiIvPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0yMSw2LjUgTDE3LDEwLjUgTDE3LDcgQzE3LDYuNDUgMTYuNTUsNiAxNiw2IEw5LjgyLDYgTDIxLDE3LjE4IEwyMSw2LjUgWiBNNC43Myw2IEw0LDYgQzMuNDUsNiAzLDYuNDUgMyw3IEwzLDE3IEMzLDE3LjU1IDMuNDUsMTggNCwxOCBMMTYsMTggQzE2LjIxLDE4IDE2LjM5LDE3LjkyIDE2LjU0LDE3LjgyIEw0LjczLDYgWiIvPgogICAgPHBvbHlnb24gZmlsbD0iI0YwNDc0NyIgZmlsbC1ydWxlPSJub256ZXJvIiBwb2ludHM9IjMuMjcgMiAyIDMuMjcgMTkuNzMgMjEgMjEgMTkuNzMiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZD0iTTAsMCBMMjQsMCBMMjQsMjQgTDAsMjQgTDAsMCBaIE0wLDAgTDI0LDAgTDI0LDI0IEwwLDI0IEwwLDAgWiIvPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBmaWxsLW9wYWNpdHk9Ii42IiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0yMSw2LjUgTDE3LDEwLjUgTDE3LDcgQzE3LDYuNDUgMTYuNTUsNiAxNiw2IEw5LjgyLDYgTDIxLDE3LjE4IEwyMSw2LjUgWiBNNC43Myw2IEw0LDYgQzMuNDUsNiAzLDYuNDUgMyw3IEwzLDE3IEMzLDE3LjU1IDMuNDUsMTggNCwxOCBMMTYsMTggQzE2LjIxLDE4IDE2LjM5LDE3LjkyIDE2LjU0LDE3LjgyIEw0LjczLDYgWiIvPgogICAgPHBvbHlnb24gZmlsbD0iI0YwNDc0NyIgZmlsbC1ydWxlPSJub256ZXJvIiBwb2ludHM9IjMuMjcgMiAyIDMuMjcgMTkuNzMgMjEgMjEgMTkuNzMiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZD0iTTAsMCBMMjQsMCBMMjQsMjQgTDAsMjQgTDAsMCBaIE0wLDAgTDI0LDAgTDI0LDI0IEwwLDI0IEwwLDAgWiIvPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0yMSw2LjUgTDE3LDEwLjUgTDE3LDcgQzE3LDYuNDUgMTYuNTUsNiAxNiw2IEw5LjgyLDYgTDIxLDE3LjE4IEwyMSw2LjUgWiBNNC43Myw2IEw0LDYgQzMuNDUsNiAzLDYuNDUgMyw3IEwzLDE3IEMzLDE3LjU1IDMuNDUsMTggNCwxOCBMMTYsMTggQzE2LjIxLDE4IDE2LjM5LDE3LjkyIDE2LjU0LDE3LjgyIEw0LjczLDYgWiIvPgogICAgPHBvbHlnb24gZmlsbD0iI0YwNDc0NyIgZmlsbC1ydWxlPSJub256ZXJvIiBwb2ludHM9IjMuMjcgMiAyIDMuMjcgMTkuNzMgMjEgMjEgMTkuNzMiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t,n){e.exports=n.p+"00abd327abf766dd9aa11e417857bbf8.gif"},function(e,t,n){e.exports=n.p+"6debd47ed13483642cf09e832ed0bc1b.png"},function(e,t,n){e.exports=n.p+"322c936a8c8be1b803cd94861bdfa868.png"},function(e,t,n){e.exports=n.p+"dd4dbc0016779df1378e7812eabaa04d.png"},function(e,t,n){e.exports=n.p+"0e291f67c9274a1abdddeb3fd919cbaa.png"},function(e,t,n){e.exports=n.p+"1cbd08c76f8af6dddce02c5138971129.png"},function(e,t,n){e.exports=n.p+"9f79e21dafc7b2776be7cb3f3afb4a5c.png"},function(e,t,n){e.exports=n.p+"20a3e5bdb31a21b1762addb377399273.png"},function(e,t,n){e.exports=n.p+"d4b2fe2db84fbbc82f60dcf30609ed45.png"},function(e,t,n){e.exports=n.p+"d4b2fe2db84fbbc82f60dcf30609ed45.png"},function(e,t,n){e.exports=n.p+"6a4c3d24e0e1bb9bd102815d01cb3d87.png"},function(e,t,n){e.exports=n.p+"b8fa63048881311b205927b3d4111bf6.png"},function(e,t,n){e.exports=n.p+"757c4d5d07c5691452fde54dca7fcde8.png"},function(e,t,n){e.exports=n.p+"5c0d73f3d0c4e89f92bcedbe1752ae94.png"},function(e,t,n){e.exports=n.p+"df82ca7d3be7d1271f5fb93719ea65fe.png"},function(e,t,n){e.exports=n.p+"7c1fdd7a2f89b4bc6f7968c3fb3b6a14.png"},function(e,t,n){e.exports=n.p+"99253cefda98913b1e9f7d155ad81ed3.svg"},function(e,t,n){e.exports=n.p+"0049cd2d5d8dad87fac3811fa651988e.svg"},function(e,t,n){e.exports=n.p+"789de85a973b1d974a21aa03c1e14323.svg"},function(e,t,n){e.exports=n.p+"e3fb8fe698a871db1d0e34ededf8a954.svg"},function(e,t,n){e.exports=n.p+"a7371de3223292c6f31f8aeed62f17c1.svg"},function(e,t,n){e.exports=n.p+"3236694e0c095adfbbd5334fc8dc7aa0.svg"},function(e,t,n){e.exports=n.p+"59c726954bd8424f376ca3a7eedc4c54.svg"},function(e,t,n){e.exports=n.p+"fe5ef0f14b8d025d73465e2d76913e20.svg"},function(e,t,n){e.exports=n.p+"712a0fd4d14a1caadd31cb0745e91238.svg"},function(e,t,n){e.exports=n.p+"857c505aafbe092e4f6efecebcad0bc8.svg"},function(e,t,n){e.exports=n.p+"97b178f31f0ec28b41387b78891d5b7a.svg"},function(e,t,n){e.exports=n.p+"6fad2f9f24cb4f38202a81064da6f859.svg"},function(e,t,n){e.exports=n.p+"b47564b3086d0d8d941aae95a4b7b78c.svg"},function(e,t,n){e.exports=n.p+"68b37187aee175514a1402d4088cf90b.svg"},function(e,t,n){e.exports=n.p+"e9aaf1824f17126a7992e5ad98752389.svg"},function(e,t,n){e.exports=n.p+"fffa18d6d66a76c08c500c56afe68a62.svg"},function(e,t,n){e.exports=n.p+"d01c53acda73318e5b39676ef8242eb7.svg"},function(e,t,n){e.exports=n.p+"bb8e02d970950bdadb649d765f3b8488.svg"},function(e,t,n){e.exports=n.p+"f3bb89a27e9d102f748da035cd7e5df7.svg"},function(e,t,n){e.exports=n.p+"21b610d45d1f2175431413ad53258aa6.svg"},function(e,t,n){e.exports=n.p+"308e587f3a68412f137f7317206e92c2.svg"},function(e,t,n){e.exports=n.p+"9b0d90147f7fab54f00dd193fe7f85cd.svg"},function(e,t,n){e.exports=n.p+"03c7541028afafafd1a9f6a81cb7f149.svg"},function(e,t,n){e.exports=n.p+"6793e022dc1b065b21f12d6df02f91bd.svg"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA0klEQVR4Ae3QhY2CQRgG4Y3fX9i5WwFnjZ3i0ALN4ERxfxfd5IMo5zPJNPC4sGa7d6CzuqhHevzHH+mizuqDJUQAsqNjevzPj+kohHkBZfnLAmUPDPOeh0kDYc54mCoQ5qIDYe3DDTAMDDDAAAMMMMAA81t3V/n7MZs/CwYYYIBhYIABBhhggAEGGGCAAYZd/fZpzOZfDQMMMMAAAwwwwABTBcJc8zAZIMwZD7MHhHnfKY/zAsbyF2+ygIl0HJSnhI6WMAHQqc7p0j/CKOmcPgstJp30U3tU0TpfAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAACPUlEQVR4Ae3aA5NjQRTF8ZR3PtjaaKxt27Zt27Zt28bY5tl+y1up3uK6T1f9B0n6dr1fITNJYnLlF5ZUc+10JboqXPjPq3AlfrnmarH4NW/F9Up5BSWb5KZAiwwSvsFUtZvXTl90BXkFxcgnztqvKFVciJo49yJy84njqhLBbHfha2NmnEN2blHoMDsimFQXZMMmnUZW2DiJEQx8DRh7EhnZhaHClHthvtZ7xDGkZhQEieOHEXUfcgTJafmE8dVp4GEkpuQSxlfbPgfwLjGHML5a9diHV++yCOOrWde9ePY6kzC+bKfdePw8nTC+dIdduPc4lTC+GrbdgVv3kwnjq37r7bh6O5Ewvuq02IYL194RxletZltx+tIbwviq6XCOnnlJGF/Vm2zBgePPCOOrWuMt2HnwMWH8OJuxafcDwvyoNVvvEia+aq5VehzSVft/rV8HU91uwnY9Uh5GmFp2Iw7rIfIgwtSz63FWD5CHEEbZtbim+8oDCNPUrsY91VMOJ0xbswJPVTc5mDBdzRK8Vl3kUML0NwvwQXWSAwkzysxBsuoohxFmupmGNNVBDiLMEjNRDiBMNbsJG/UYuZkwNe1G7NHD5UbC1LEbcFwPkpsI09CuwyXdT24gjLVrcEv3DgtE5P0MXku7Eo9Uj2BRXGkRzA6J0tEswwvVNUgQ0Q75OV/0NovwTnUOFkRU9dsnw4eYeUiK/sQnytrY1zXBzExIVR02pxNliyshFr/cjbVdu1xJAWEkfbnmOtLiI0P0nUne6s/zAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA00lEQVR4Ae3bhQ3CUBRG4cbpYLhEGYHFcIepcDao/Q+HV4lj5yYngveLFLk4j3NstkpqodYqUGFWWaPbfHKBWquFKhmDV5CcGlp3/HkYq6FyH2E6KgTmVOeKUlAhME8VDMwMGKu5gdkDY7V2Yq8AxgcmIWCAAQYYYIABBhhggAEGmJiACZnYAQYYYIABBhhgPn54gxcfMMAAAwwwwAADDDDAABMfMMCwgxfTwcDMgbGas+cbX5HNcLvO48q8q0ZHYMbKjfuzRV0t1eaPYDZqqRqPFhF9j1QBDajUNAAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA1ElEQVR4Ae3Qt3GCQRRF4Q31l4X3RFACjeE95PSDJyX63VsQ0s48KcNz7swp4H7GXapYy0szaSWFUvTmhdLq+3PeofgB+ZL6UvThWQPPhWmB8lPrgpIFQ5W1MBMgVFMLswNCtTIg/FnwDwwBAwwwwLwqDDDAAEPmUG9EpAMGGGCAAQYYYIABBhhggCFggAHmRpnjIhmRDhhggAEGGGCAAeaVYXZAqPYWZgqEamphskCockZmcVpg/NSyJhcYTxqAkhxK3g+MA1SR5tL6gzDW35+rrkUMRyWg5OnZhnsAAAAASUVORK5CYII="},function(e,t,n){e.exports=n.p+"6bf3cf5d375d7561cb3b9bf74212ed45.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA50lEQVR4Ae3bNXIDMRhHcZXZg4Vjdz7CHsbXMLN9INdmd+bgX8HFKrTwvpnXa36NpAXjnZvy+EoN1VQ9qeffal1yk9CTmqqhurIGQZAz1foFgGTDhGspxwtTVc/AvFb9QLlQz8D4urAwfWBCDSzMEphQUxO5cGAegYkpJTDAALPdnxIdMMAAAwwwwAADDDCcfIEBBhhggAEGGGCASXIm+khMwAADDDDAAANM4jORBxz6ORhggAFmCUSolYUZABFqYGEugAh1aTQWpwpG4MvwdxhHtUFxO95/CbxABTVSsxxhzNRIFb0WL1+hXIFYSMwMAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAABdUlEQVR4Ae3btVYDQQBG4ZTkwXBp4u7p6aDEXXvcnQZtoYXHiLv7MLNYHNf5c86N65f1TUTFB7/M1kI7ojlpBRr55xVozofP3MIMykEaaNs0wnnMQFwMswaUp9YeUZqAUVETgzkAREWHDMYLiIqcIiBULV8DBgHmjTCAIbdSgioDDGAAAxjA/DaY1JKGkJvS63JnChLuNpHsqaL4euF+qUUNHzBsfh60WUh8VE/i0zoS6TUSv9zGrhdOIz1G4Xp2e8huYdfzA/PWAAMYwAAGMID5IhjFG2HknMAELZY3wQTNFj5gYoP6N8HE+g18wOQuFcQvf/1oxFYXuIBhJea1r4JJzOr4W7uOT+nqosTH9fxudkitqklAZy0BCWitJLWsxvaYwrVMGDqCJotwmr+SY0PV5wUYwAAGMAj7rrFTHzCA+crwG7zq+RjMISAqOsTvfKvXjF+GV7ZW/JN5MW0HKLZdZlHtzxadtGOaiyMM18Nn7iq2uAPocPzCLSg5zgAAAABJRU5ErkJggg=="},function(e,t,n){e.exports=n.p+"02e75e392ab5d5a8ed5ab4f8fcae9c77.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA0klEQVR42u3bPQrCQBRFYUuzsSSNdoIbyMrSJEJ+dpWAWoogmPGOEBh5Y6U25gycBbyvvrMKX7avc9WpQU3KfdLlevtZ513xjSY1qE7ls0MIslaVOe7fYWyVSkKYUjlgnpUzSqocMC+lHqYBxtR6mCMwpsHDOGBMd2DeBAwwwAADDDDAAAMMMMAAAwwwwAADDDDAAAMMMMAAAwwwwAADDDDAAAMMMMAsEIYNXryTh2mBMbXsfONlLMNtZTiZT1QNTHFQSeyzxUb1alwQzKh6tQ0tHq2SfJj8Q3YaAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA0klEQVR42u3bMQrCQBRFUUuzsZhGO3EBkpVNEwWT7GoCaimCYMY3QmDkxyrYmDtwF/BP/WaRvl21L1SjvOpVmNLt/vhp1205tV551ahicEhBlqoyx/07jK1SWQrjVADmnRtQchWA+SiPMCdgTHWEOQNj8hEmAGN6AvMlYIABBhhggAEGGGCAAQYYYIABBhhggAEGGGCAAQYYYIABBhhggAEGGGCAAWaGMGzwxrtEmBoYU83Od7wVy3CbSyfzmToAUx5VNvbZYq1a1c0IplOt2qQWLxMGI/5AcGqMAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAABiUlEQVR4Ae2btVZDQRRFU5IPw6VCK9wq3Glw+AWkwd2/CIvL4D7MwSHuybyTtXbs3inufpFR0+/bzd1jnmJPYVG8KqTmoEbLZ815cPBfSJZiHckGBw7Mv8UsfQfJ0peUHJ8gyYGYHZ8A2YUYh0+AWEx+A+QlgBhCMYBiKIZiKIZiKEZen1ql2DqWnuEZ6W7qlq6qVjziNd5H3GBixI0UC2vSVdkiXWWNAUFczK+q/Gv9xVzb3dLTPeorITDIRzuNxVzdSk//BIqNGLRDex3F4GuBIqMG7bUTc31mVb8ZzTGJQfvrU4teYsTqHoqLGbGyp5cYz+BUXMR4Bib1EuNu7I6LGHdNu15i0HmLgxiggRh+YvgbEzViJdn/SuzHsOfr1arny7ESR9exI66ld24l5G8O4shDvsFm8CwfM3hD0+jnYGIKj3iN9xHnnG+EUAzFUAzFUAzFUAzhHjz/OCFm1ydAdrnP1z+53BkeaGf4pxizYuOGUjbhwt9hi2LFvsJqIBnWz5pLfrt4A74eUlmbWrVhAAAAAElFTkSuQmCC"},function(e,t,n){e.exports=n.p+"ab02db863b7edeaa46bf4cd49b6646a9.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA00lEQVR4Ae3QsbFBYRRF4Ru+WxgAmRIUo40HABR0Y4AMAJwD/DOHSAJrz6wC9ue5m2SyUakt9aS9dPjy9lLv8jnqUNxA/qSKdPjx1MB3YfKg3MpfUcJgmMIK0wTC1FKYERCmngfCw3ZPYOhjYYABBhhggAEGGGBmi/XBRsAAAwwwwAADDDDAAAMMMAQMMC/DxHPBwUbAAAMMMMAAAwwwwHwhzAgI01hhWkCYWgoTBsIU8WSKkwfjVl5NrjC+VAUlqKnFDcYBSkkdqf9DGP3L57RrcQQYywY2jValWAAAAABJRU5ErkJggg=="},function(e,t,n){e.exports=n.p+"fcdf14841cd468de3f43704be16fa303.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAAyklEQVR4Ae3Qha0CYRBF4Y2/LQyXKCVsY7hDVThR3Gd4yJ8MxPFzk1PA/Tx30/kqKrWkrrST9l/eTuqePkcdigvIn1SW9j+eGvguTA6US7kzShgMU1hhGkCYmgozBMLU9UC42RaYOwEDDDBPhgGGgAEGGGCAAQYYYIABBhhgxplgTzZggAEGGGCAAQYYYIABBpjnBwwwwAADzBAI00hhmkCYmgoTBsIU8WSKkwPjUk5NzjC+VAElqKrFBcYBSkltqfdDGL3T57RrcQBBZ+g4iGFEsAAAAABJRU5ErkJggg=="},function(e,t,n){e.exports=n.p+"7beab7b17eaa9ff7ceed3e5b1af274c2.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA00lEQVR4Ae3QsbFBYRRF4Ru+WxgAmRJuMdp4AEBBYoAMAJwD/DOHSAJrz6wC9ue5my3WUakl9aS9dPjy9lLv8jnqUNxA/qSydPjx1MB3YXKg3MpdUcJgmMIK0wDC1FSYERCmngfCw3ZPYOhjYYABBhhggAEGGGDi2c7BRsAAAwwwwAADDDDAAAMMMAQMMC/DTDLBwUbAAAMMMMAAAwwwwHwhzAgI01hhmkCYmgoTBsIU8WSKkwPjVk5NrjC+VAElqKrFDcYBSkltqf9DGP3L57RrcQSf308aqBih5wAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA1klEQVR4Ae3btRHCYABH8ZRkMFwqlmIN3GESJkiNjxD7B/24WIm93L0mnl8Tt8yh1nEqaqV2yldBXsGmnZnm+eR8tVMrVbk7mCAFNY4v+OMw8cbKNmF6KgDmUu+OUlIBMC+VIpgFMLGWEcwJmFg7K3ECMB4wKQGTEDDAAAMMMMAAAwwwwAADTPIBETDAAAMMMMB8PAxxgZccMCkBAwwwwAADDDDAAAMMMMCcgIl1jmCWwMRa8p1vcmW+DI/XMz+Zt9UEGGeq7KSfLZpqrfZ/BLNXa9UyLUJw3LFkKALfRQAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAADVUlEQVR4Ae2bg3MlWRTGU975w9Yora2xrTgZ27Zt27Ztz7Stb/t0nNz7th4W/bq/qi98OfXur/qecy5S0lzvvmr/UegNoV+EDkKjyB3Uj3UDjZ0YtAbyXuiVoZFwE4N2zcEsSaE0ekkDlA9SGG38AYFZl4Jo4/UE5k0Koo1flKQQmPY5YFKnYP5XYL7uAKlfFdQx06HNXhJ6KdSxM+hn9LtkgaEBK8MnwT5xFoFugKdA02EfPwOlenzxg5EH1MC9fQ/Zyr15F1L/6uIEYyxfD/g+uAqCEMAdmBt3RNNKHT+TPoff74R7K4TputAXrCwiMN90hHXoBHiiAZtb90DsMihjHLHbEBjrtkH4qVtxgDE37wZP3qOnkPpUJK8qqRPngCfn6k0IP3dPXrkWfuuFQFbAkvf4KYRfeiSyj+FPIc+HNKAmr9iUkIUfu8UPDL3pwDDBkrXrYF6xafoFtkONYOzA0JvmlmSpd3lB8pZ9+ET8wJg793OrUL5ds3P5BkjUNQu/9owXGPfOfbBEwLKJQ6VcX7ouMjWIzoWraC73/iNoMxdHzaBSO4F6nf83GF8QwZK+aHVWccTOA+G/fgumGNNUX7zm/w0GjguWtCnzso4ldugP7+lzZFKUjCfO/v9PpUBR2WBmL8kpHi0XeLDhupCHjohHjvGevQBLxpotOcekfMKSc+lafJKvfew0exBnL+a8EA1UDSy5127FB4w+fwVYCiwLwo9ds45HU6UhwVp7D0c7fc75KyAFjoN333eOBRiqJjSIguUZY9WmaHrKpSNb/FybOp92+uKTY8g0bVjyRZna+qxBC9934S5W6SmMDRh5UC33qbH2H032KYG5fR94MlZuTC4Yevzd2/fBE4F7922nZJ4rCX/0gff4GXjyHj6BMnLK354jCb/3pvOm2ILhJkjn4jVkkvfiFcxte6GOmxlVHzpqUSrHRqXZPnkOviBBGTE5/mBYWwbU31B5zVb26QsQ/+xb3CeRVKr1JWujvZlMov0W6+BxyEOGJ+/sWuw0IDq31heugrFiA21LUNNGuYSWAcWTfNPbDimY1OkdPLbfEpj1KYg2Xp/e82X7w/RmOO9meD2YdqFXvUuhrCYWrH+2+Dz0xtAvEwTjZf2Yv2jO4i/4YEXw3iWt/wAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAAyklEQVR4Ae3QsREBARCF4QtdYQDUcO1oAwBQjUgMiEVgF9iZJQP438xfwPsCu0xxlJL60kTaSrsfbytNTp9ThuICEpMa0u7PU4PQwpRBuVQ+oyTAcCUUpguEq6cwCyBckwCEm23uwBAwwAADDDDAAAMMMMAAAwwBAwwwz4JZDaOdj4ABBhhggAEGGGCAAQYYYAgYYIABBpiPgVkA4VoqTA8IV09hEkC4koFMccpgXCqryRkmlJqgRC21uMAYoLw0kKZ/hDE9fS5Yiz0geFygmPY+VAAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAABkUlEQVR4Ae3bg25EYRCG4Y27F1YjquKUYW0zvZDati+ijFPb1nRmbfv/TvKu+SyONZZDYu5IEjfFnXN/HAWz26yicPfHnXNTXJIY2ILEccPBhog8GLuGOa0lTB9HgNHVZ0RJ4AgwViUIzARg7JoUmGvA2HUuMORtxTXLVNe9TROLh3R1+0ojM3u688XVS7EC8+s1TFXHJr28fdHru30vb59U0boeCzDkFUxV+wYdnz8JgtPk+sq2DXVgiqqW7L4pzpLb5VcsqgFT07nlEYqx2q4tNWDG5w+8ghmd3VcCRsY+XsGcXz2rATMyu+8VzNDUrir/MZvewMhoXQ2YwspFj8dKz6+fMlZSajpG/jtcopycP1Fp85oi0zF2U76fTr8pSk75GiusWqKGnm0ZJcs3SI7lvFwu1ysAE5wAAxjAAAYwkfJCAAMYwAAGMAgwgAEMYAADGMAABjCAAQxgrgFh143ATALCrkmBSQCEXYkaHgSnDxg2W4YbYLTcCFCKRi33JbAESuemuQuFMC4M7znD0uIf/5R6VVBA30MAAAAASUVORK5CYII="},function(e,t,n){e.exports=n.p+"d9716f4149b4153111af56ddcd1ba4fc.jpg"},function(e,t,n){e.exports=n.p+"36511f92dae3fc67ab0d6c2a8e5e677f.jpg"},function(e,t,n){e.exports=n.p+"57d8f3f7d76dae7c5ecdb19fb76fd7f1.jpg"},function(e,t,n){e.exports=n.p+"fa7ba7a4c3d8665d3343fee590382bb9.jpg"},function(e,t,n){e.exports=n.p+"85e031dc63742b86264cc0dbc2a6fdb8.jpg"},function(e,t,n){e.exports=n.p+"03844e5fd2176980795f0f3fd4a4fd82.jpg"},function(e,t,n){e.exports=n.p+"0b8465d21b4c248c18f7e0a44fda86cc.png"},function(e,t,n){e.exports=n.p+"d80d1fdc43a3c42134a31a39581160ac.svg"},function(e,t,n){e.exports=n.p+"c30220457097b064286a8759a9b6c4af.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmVyc2lvbj0iMS4xIj4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIj4KICAgIDxwYXRoIGQ9Ik0xOCAwSDB2MThoMTh6Ii8+CiAgICA8cGF0aCBmaWxsPSIjRjA0NzQ3IiBkPSJNMy44IDhsMy42LTMuNkw2IDMgMCA5bDYgNiAxLjQtMS40TDMuOCAxMEgxOFY4Ii8+CiAgPC9nPgo8L3N2Zz4="},function(e,t,n){e.exports=n.p+"5fb477ca84edd15d9a2888ac28365acd.svg"},function(e,t,n){e.exports=n.p+"ded77dc08b84bd9d98e0095d167b88f0.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSIjNEY1NDVDIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDcgNCkiPgogICAgPHBhdGggZD0iTTAgNC4zMjU4NDI3QzAgNS4wNjc0MTU3My42MTY0MzgzNTYgNS42ODUzOTMyNiAxLjM1NjE2NDM4IDUuNjg1MzkzMjYgMi4wOTU4OTA0MSA1LjY4NTM5MzI2IDIuNzEyMzI4NzcgNS4wNjc0MTU3MyAyLjcxMjMyODc3IDQuMzI1ODQyNyAyLjcxMjMyODc3IDIuODQyNjk2NjMgNC4zMTUwNjg0OSAyLjc4MDg5ODg4IDQuNSAyLjc4MDg5ODg4IDQuNjg0OTMxNTEgMi43ODA4OTg4OCA2LjI4NzY3MTIzIDIuODQyNjk2NjMgNi4yODc2NzEyMyA0LjMyNTg0MjdMNi4yODc2NzEyMyA0LjYzNDgzMTQ2QzYuMjg3NjcxMjMgNS4yNTI4MDg5OSA1Ljk3OTQ1MjA1IDUuNzQ3MTkxMDEgNS40MjQ2NTc1MyA2LjA1NjE3OTc4TDQuMTkxNzgwODIgNi43MzU5NTUwNkMzLjUxMzY5ODYzIDcuMTA2NzQxNTcgMy4xNDM4MzU2MiA3Ljc4NjUxNjg1IDMuMTQzODM1NjIgOC41MjgwODk4OUwzLjE0MzgzNTYyIDkuNjQwNDQ5NDRDMy4xNDM4MzU2MiAxMC4zODIwMjI1IDMuNzYwMjczOTcgMTEgNC41IDExIDUuMjM5NzI2MDMgMTEgNS44NTYxNjQzOCAxMC4zODIwMjI1IDUuODU2MTY0MzggOS42NDA0NDk0NEw1Ljg1NjE2NDM4IDguOTYwNjc0MTYgNi43MTkxNzgwOCA4LjUyODA4OTg5QzguMTM2OTg2MyA3Ljc4NjUxNjg1IDkgNi4zMDMzNzA3OSA5IDQuNjk2NjI5MjFMOSA0LjMyNTg0MjdDOSAxLjQ4MzE0NjA3IDYuNzE5MTc4MDggMCA0LjUgMCAyLjIxOTE3ODA4IDAgMCAxLjQ4MzE0NjA3IDAgNC4zMjU4NDI3ek00LjUgMTJDMi41IDEyIDIuNSAxNSA0LjUgMTUgNi41IDE1IDYuNSAxMiA0LjUgMTJMNC41IDEyeiIvPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t,n){e.exports=n.p+"cadc39eb0d3d401e692e4d313f07263a.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZmlsbD0iIzRGNTQ1QyIgZD0iTTEyLjAwNjI4NjYsMjEgQzEzLjAwNjI4NjYsMjEgMTMuNzIwNTcyMywyMC41OTgwNDY5IDE0LjAwNjI4NjYsMTkuOTk1MTE3MiBMMTAuMDA2Mjg2NiwxOS45OTUxMTcyIEMxMC4yOTIwMDA5LDIwLjU5ODA0NjkgMTEuMDA2Mjg2NiwyMSAxMi4wMDYyODY2LDIxIEwxMi4wMDYyODY2LDIxIFogTTE4Ljk4NjgxNjQsMTcuMDM2NTYwMSBMMTguOTg2ODE2NCw5IEMxOC45ODY4MTY0LDYuMzYgMTYuNjgzOTQ5Niw0LjAyNDk2MzM4IDEzLjk3NjI1NzMsNC4wMjQ5NjMzOCBDMTMuOTc2MjU3MywzLjMwNDk2MzM4IDEzLjYzMjIwMjEsMi45OTUxMTcxOSAxMi4wMDMxNDMzLDIuOTk1MTE3MTkgQzEwLjM3NDA4NDUsMi45OTUxMTcxOSAxMC4wMzcyOTI1LDMuMzA0OTYzMzggMTAuMDM3MjkyNSw0LjAyNDk2MzM4IEM3LjMyOTYwMDE3LDQuMDI0OTYzMzggNC45OTU0ODM0LDYuMzYgNC45OTU0ODM0LDkgTDQuOTk1NDgzNCwxNy4wMzY1NjAxIEw0LjAwNjI4NjYyLDE3LjAzNjU2MDEgTDQuMDA2Mjg2NjIsMTguOTg3OTc2MSBMMjAsMTguOTg3OTc2MSBMMjAsMTcuMDM2NTYwMSBMMTguOTg2ODE2NCwxNy4wMzY1NjAxIFogTTE3LDE3IEw3LDE3IEw3LDkuMyBDNyw3LjQzIDguNDQ0NDQ0NDQsNiAxMC4zMzMzMzMzLDYgTDEzLjY2NjY2NjcsNiBDMTUuNTU1NTU1Niw2IDE3LDcuNDMgMTcsOS4zIEwxNywxNyBMMTcsMTcgWiIvPgogICAgPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t,n){e.exports=n.p+"6b02c66c07f86a12913644c2913896d9.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBvbHlnb24gcG9pbnRzPSIwIDAgMjQgMCAyNCAyNCAwIDI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNMTkgMTlMMjMgMTkgMjMgMTYuNUMyMyAxNC4xNyAxOC4zMyAxMyAxNiAxMyAxNS43MSAxMyAxNS4zOCAxMy4wMiAxNS4wMyAxMy4wNSAxNS4yOTc5MTgxIDEzLjI0NDAwOTcgMTUuNTQ3MTY1NyAxMy40NTM0ODkyIDE1Ljc3MjA3NTQgMTMuNjc5MTc3OCAxNy41OTIyOTQ0IDE0LjY3Njk4NTcgMTkgMTYuMTE4MzA4NiAxOSAxOEwxOSAxOXpNMTQuMzMzNTU3NyAxMC40OTY3MTI4QzE0LjgwOTg1MjkgMTAuODE0NzYyNyAxNS4zODI4MDg2IDExIDE2IDExIDE3LjY2IDExIDE4Ljk5IDkuNjYgMTguOTkgOCAxOC45OSA2LjM0IDE3LjY2IDUgMTYgNSAxNS4zODI3ODQ1IDUgMTQuODA5ODA4MiA1LjE4NTI1MTczIDE0LjMzMzUwMTkgNS41MDMzMjQ0IDE0Ljc1NzQ2MTkgNi4yMzc5MTgxNCAxNSA3LjA5MDUzNzk3IDE1IDguMDAwMDY2OTMgMTUgOC45MDk1NTYwMSAxNC43NTc0ODMyIDkuNzYyMTQwOTUgMTQuMzMzNTU3NyAxMC40OTY3MTI4ek05IDEyQzYuNzkgMTIgNSAxMC4yMSA1IDggNSA1Ljc5IDYuNzkgNCA5IDQgMTEuMjEgNCAxMyA1Ljc5IDEzIDggMTMgMTAuMjEgMTEuMjEgMTIgOSAxMnpNOSAxNEMxMS42NyAxNCAxNyAxNS4zNCAxNyAxOEwxNyAyMCAxIDIwIDEgMThDMSAxNS4zNCA2LjMzIDE0IDkgMTR6Ii8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t,n){e.exports=n.p+"1c86a3a3f34ba6e2d938189330a3c435.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBvbHlnb24gcG9pbnRzPSIwIDAgMjQgMCAyNCAyNCAwIDI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNOCwxMSBMOCwyIEw0LDIgTDQsMTEgTDMuNDkxMDA1MTgsMTEgQzMuMjI3ODgwNDgsMTEgMywxMS4yMjM4NTc2IDMsMTEuNSBDMywxMS43NjgwNjY0IDMuMjE5ODMwNTEsMTIgMy40OTEwMDUxOCwxMiBMOC41MDg5OTQ4MiwxMiBDOC43NzIxMTk1MiwxMiA5LDExLjc3NjE0MjQgOSwxMS41IEM5LDExLjIzMTkzMzYgOC43ODAxNjk0OSwxMSA4LjUwODk5NDgyLDExIEw4LDExIFogTTEwLDIgTDEwLDEwIEwxMiwxMiBMMTIsMTQgTDYuOCwxNCBMNi44LDE4IEw1LjIsMTggTDUuMiwxNCBMMCwxNCBMMCwxMiBMMiwxMCBMMiwyIEwxLDIgTDEsMCBMMTEsMCBMMTEsMiBMMTAsMiBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2IDMpIi8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZmlsbD0iIzRGNTQ1QyIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNNSw4IEw5LDEyIEw2LDEyIEM2LDE1LjMxIDguNjksMTggMTIsMTggQzEzLjAxLDE4IDEzLjk3LDE3Ljc1IDE0LjgsMTcuMyBMMTYuMjYsMTguNzYgQzE1LjAzLDE5LjU0IDEzLjU3LDIwIDEyLDIwIEM3LjU4LDIwIDQsMTYuNDIgNCwxMiBMMSwxMiBMNSw4IFogTTE4LDEyIEMxOCw4LjY5IDE1LjMxLDYgMTIsNiBDMTAuOTksNiAxMC4wMyw2LjI1IDkuMiw2LjcgTDcuNzQsNS4yNCBDOC45Nyw0LjQ2IDEwLjQzLDQgMTIsNCBDMTYuNDIsNCAyMCw3LjU4IDIwLDEyIEwyMywxMiBMMTksMTYgTDE1LDEyIEwxOCwxMiBaIi8+CiAgICA8cG9seWdvbiBwb2ludHM9IjI0IDAgMCAwIDAgMjQgMjQgMjQiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTh2MThIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiM0M0I1ODEiIGQ9Ik0xNS43NSA1LjI1bC05IDktNC4xMjUtNC4xMjUgMS4wNTc1LTEuMDU3NSAzLjA2NzUgMy4wNiA3Ljk0MjUtNy45MzUiLz4KICA8L2c+Cjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTh2MThIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xNS43NSA1LjI1bC05IDktNC4xMjUtNC4xMjUgMS4wNTc1LTEuMDU3NSAzLjA2NzUgMy4wNiA3Ljk0MjUtNy45MzUiLz4KICA8L2c+Cjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZmlsbD0iI2ZmZmZmZiIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMiwxMSBMMCwwIEw1LjUsNyBMOSwwIEwxMi41LDcgTDE4LDAgTDE2LDExIEwyLDExIEwyLDExIFogTTE2LDE0IEMxNiwxNC41NTIyODQ3IDE1LjU1MjI4NDcsMTUgMTUsMTUgTDMsMTUgQzIuNDQ3NzE1MjUsMTUgMiwxNC41NTIyODQ3IDIsMTQgTDIsMTMgTDE2LDEzIEwxNiwxNCBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzIDQpIi8+CiAgICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZmlsbD0iIzRmNTQ1YyIgZmlsbC1ydWxlPSJub256ZXJvIiBkPSJNMiwxMSBMMCwwIEw1LjUsNyBMOSwwIEwxMi41LDcgTDE4LDAgTDE2LDExIEwyLDExIEwyLDExIFogTTE2LDE0IEMxNiwxNC41NTIyODQ3IDE1LjU1MjI4NDcsMTUgMTUsMTUgTDMsMTUgQzIuNDQ3NzE1MjUsMTUgMiwxNC41NTIyODQ3IDIsMTQgTDIsMTMgTDE2LDEzIEwxNiwxNCBaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzIDQpIi8+CiAgICA8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogIDxkZWZzPgogICAgPHBhdGggaWQ9ImEiIGQ9Ik04IDJWMEgxLjc3Nzc3Nzc4Qy43OTU5MzgyMiAwIDAgLjc5NTkzODIyIDAgMS43Nzc3Nzc3OFYxNC4yMjIyMjIyQzAgMTUuMjA0MDYxOC43OTU5MzgyMiAxNiAxLjc3Nzc3Nzc4IDE2SDE0LjIyMjIyMjJDMTUuMiAxNiAxNiAxNS4yMDg4ODg5IDE2IDE0LjIyMjIyMjJWOGgtMnY2SDJWMmg2eiIvPgogICAgPG1hc2sgaWQ9ImIiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgeD0iMCIgeT0iMCIgZmlsbD0iI2ZmZiI+CiAgICAgIDx1c2UgeGxpbms6aHJlZj0iI2EiLz4KICAgIDwvbWFzaz4KICA8L2RlZnM+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiLz4KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQgNCkiPgogICAgICA8dXNlIHN0cm9rZT0iI0ZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBtYXNrPSJ1cmwoI2IpIiB4bGluazpocmVmPSIjYSIvPgogICAgICA8cGF0aCBmaWxsPSIjRkZGIiBkPSJNNiA4LjE1NDk0ODVsNS40Mjc2NzU4LTUuNDI3Njc1NzcgMS44NDUwNTE1IDEuODQ1MDUxNUw3Ljg0NTA1MTUgMTBINlY4LjE1NDk0ODV6bTkuODYwMDMxMS02LjI3NTk3MjFsLS44NDgyOTYzLjg0ODI5NjMzLTEuNzM5MDA3NS0xLjczOTAwNzUuODQ4Mjk2My0uODQ4Mjk2MzNjLjE3ODE0MjItLjE4NjYyNTIuNDc1MDQ2LS4xODY2MjUyLjY1MzE4ODIgMGwxLjA4NTgxOTMgMS4wODU4MTkzYy4xODY2MjUyLjE3ODE0MjI0LjE4NjYyNTIuNDc1MDQ1OTYgMCAuNjUzMTg4MnoiLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZmlsbD0iIzRGNTQ1QyIgZD0iTTgsNiBMMiw2IEwyLDUgQzIsMy4zNDYgMy4zNDYsMiA1LDIgQzYuNjU0LDIgOCwzLjM0NiA4LDUgTDgsNiBaIE00LDEyIEw2LDEyIEw2LDggTDQsOCBMNCwxMiBaIE01LDAgQzIuMjM4LDAgMCwyLjIzOCAwLDUgTDAsMTIgQzAsMTMuMTA0IDAuODk2LDE0IDIsMTQgTDgsMTQgQzkuMTA0LDE0IDEwLDEzLjEwNCAxMCwxMiBMMTAsNSBDMTAsMi4yMzggNy43NjIsMCA1LDAgWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNCAyKSIvPgogICAgPHJlY3Qgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4Ii8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTgsNiBMMiw2IEwyLDUgQzIsMy4zNDYgMy4zNDYsMiA1LDIgQzYuNjU0LDIgOCwzLjM0NiA4LDUgTDgsNiBaIE00LDEyIEw2LDEyIEw2LDggTDQsOCBMNCwxMiBaIE01LDAgQzIuMjM4LDAgMCwyLjIzOCAwLDUgTDAsMTIgQzAsMTMuMTA0IDAuODk2LDE0IDIsMTQgTDgsMTQgQzkuMTA0LDE0IDEwLDEzLjEwNCAxMCwxMiBMMTAsNSBDMTAsMi4yMzggNy43NjIsMCA1LDAgWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNCAyKSIvPgogICAgPHJlY3Qgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4Ii8+CiAgPC9nPgo8L3N2Zz4K"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPHBhdGggZmlsbD0iIzczN0Y4RCIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMyAxNHYtMi41bDcuODgtNy44NWMuMTktLjIuNTEtLjIuNzEgMGwxLjc2IDEuNzZjLjIuMi4yLjUxIDAgLjcxTDUuNDcgMTRIM3ptMTIgMEg3LjVsMi0ySDE1djJ6Ii8+Cjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTh2MThIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiM3MzdGOEQiIGQ9Ik0xNC4yNSAyLjI1SDMuNzVjLS44MzI1IDAtMS41LjY2NzUtMS41IDEuNXYzaDEuNXYtM2gxMC41djEwLjVIMy43NXYtM2gtMS41djNjMCAuODI4NDI3MS42NzE1NzI4NyAxLjUgMS41IDEuNWgxMC41Yy44Mjg0MjcxIDAgMS41LS42NzE1NzI5IDEuNS0xLjVWMy43NWMwLS44MzI1LS42NzUtMS41LTEuNS0xLjV6bS02LjY5IDkuNDM1bDEuMDY1IDEuMDY1TDEyLjM3NSA5bC0zLjc1LTMuNzVMNy41NiA2LjMwNzUgOS41MDI1IDguMjVIMi4yNXYxLjVoNy4yNTI1TDcuNTYgMTEuNjg1eiIvPgogIDwvZz4KPC9zdmc+"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTh2MThIMHoiLz4KICAgIDxnIGZpbGw9IiM3MzdGOEQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIuMjUgMS41KSI+CiAgICAgIDxwYXRoIGQ9Ik02Ljc2NzcyMTAzLjc1SDEuNDk2MzE2OTdDLjY2OTQ2NzEuNzUgMCAxLjQxOTkyMzkzIDAgMi4yNDYzMTY5N1YxMi43NTM2ODNDMCAxMy41ODA1MzI5LjY2OTkyMzkzIDE0LjI1IDEuNDk2MzE2OTcgMTQuMjVIMTIuMDAzNjgzYy44MjY4NDk5IDAgMS40OTYzMTctLjY2OTkyMzkgMS40OTYzMTctMS40OTYzMTdWNy40ODIwODM2MmMtLjQ1NDM1NTYuMjkxMjMwODgtLjk1OTk3NTguNTA5MTQ4OS0xLjUuNjM3MDU3NDRWMTIuNzVIMS41VjIuMjVoNC42MzA3Mzk5MmMuMTI3ODkxMzYtLjU0MDI4ODcuMzQ1ODI2Ny0xLjA0NTg0MjQuNjM2OTgxMS0xLjV6Ii8+CiAgICAgIDxyZWN0IHdpZHRoPSI2IiBoZWlnaHQ9IjYiIHg9IjguMjUiIHJ4PSIzIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTh2MThIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiM3MzdGOEQiIGQ9Ik05IDloNS4yNWMtLjM5NzUgMy4wODI1LTIuNDYgNS44MzUtNS4yNSA2LjY5VjlIMy43NVY0LjcyNUw5IDIuMzkyNVY5em0wIDBIMy43NWMuMzk3NSAzLjA4MjUgMi40NiA1LjgzNSA1LjI1IDYuNjlWOWg1LjI1VjQuNzI1TDkgMi4zOTI1Vjl6TTkgLjc1bC02Ljc1IDN2NC41YzAgNC4xNjI1IDIuODggOC4wNDc1IDYuNzUgOSAzLjg3LS45NTI1IDYuNzUtNC44Mzc1IDYuNzUtOXYtNC41TDkgLjc1eiIvPgogIDwvZz4KPC9zdmc+"},function(e,t,n){e.exports=n.p+"9a93097ab591379729c68f15a17b26af.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTh2MThIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiM3NDdGOEQiIGQ9Ik0zLjI4NSAxNS42NzVjLS40NS0uMTQyNS0uODEtLjUwMjUtLjk2LS45NTI1TDE0LjcyMjUgMi4zMjVjLjQ1LjE1LjgxLjUxLjk1MjUuOTZsLTEyLjM5IDEyLjM5eiIvPgogIDwvZz4KPC9zdmc+"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTh2MThIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0zLjI4NSAxNS42NzVjLS40NS0uMTQyNS0uODEtLjUwMjUtLjk2LS45NTI1TDE0LjcyMjUgMi4zMjVjLjQ1LjE1LjgxLjUxLjk1MjUuOTZsLTEyLjM5IDEyLjM5eiIvPgogIDwvZz4KPC9zdmc+"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTh2MThIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiNGMDQ3NDciIGQ9Ik0xNC4yNSA0LjgwNzVMMTMuMTkyNSAzLjc1IDkgNy45NDI1IDQuODA3NSAzLjc1IDMuNzUgNC44MDc1IDcuOTQyNSA5IDMuNzUgMTMuMTkyNSA0LjgwNzUgMTQuMjUgOSAxMC4wNTc1bDQuMTkyNSA0LjE5MjUgMS4wNTc1LTEuMDU3NUwxMC4wNTc1IDkiLz4KICA8L2c+Cjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMTh2MThIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xNC4yNSA0LjgwNzVMMTMuMTkyNSAzLjc1IDkgNy45NDI1IDQuODA3NSAzLjc1IDMuNzUgNC44MDc1IDcuOTQyNSA5IDMuNzUgMTMuMTkyNSA0LjgwNzUgMTQuMjUgOSAxMC4wNTc1bDQuMTkyNSA0LjE5MjUgMS4wNTc1LTEuMDU3NUwxMC4wNTc1IDkiLz4KICA8L2c+Cjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8cGF0aCBmaWxsPSIjNzI4OURBIiBkPSJNMTAuNSw3IEMxMi4xODM4MDk1LDcgMTQsNS4yODY2NjY2NyAxNCwzLjU0NTQ1NDU1IEMxNCwxLjgwNDI0MjQyIDEyLjE4MzgwOTUsMCAxMC41LDAgQzguODE2MTkwNDgsMCA3LDEuODA0MjQyNDIgNywzLjU0NTQ1NDU1IEM3LDUuMjg2NjY2NjcgOC44MTYxOTA0OCw3IDEwLjUsNyBaIE0zLDYgTDMsNCBMMiw0IEwyLDYgTDAsNiBMMCw3IEwyLDcgTDIsOSBMMyw5IEwzLDcgTDUsNyBMNSw2IEwzLDYgWiBNMTAuNSw4IEM4LjQ2NTcxNDI5LDggNSw5LjMyODQ4NDg1IDUsMTEuNDI0MjQyNCBMNSwxMyBMMTYsMTMgTDE2LDExLjQyNDI0MjQgQzE2LDkuMzI4NDg0ODUgMTIuNTM0Mjg1Nyw4IDEwLjUsOCBaIiB0cmFuc2Zvcm09Im1hdHJpeCgtMSAwIDAgMSAxNiAyKSIvPgo8L3N2Zz4K"},function(e,t,n){e.exports=n.p+"24e5837679a970699e904d047c741540.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiM5OUFBQjUiIGQ9Ik0xNC41OSA4TDEyIDEwLjU5IDkuNDEgOCA4IDkuNDEgMTAuNTkgMTIgOCAxNC41OSA5LjQxIDE2IDEyIDEzLjQxIDE0LjU5IDE2IDE2IDE0LjU5IDEzLjQxIDEyIDE2IDkuNDEiLz4KICA8L2c+Cjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0wIDBoMzZ2MzZIMHoiLz4KICAgIDxwYXRoIGZpbGw9IiM0M0I1ODEiIGQ9Ik0xOS4zMDUgMjIuNjA1bC0zLjgxLTMuNzY1LjA0NS0uMDQ1YzIuNjEtMi45MSA0LjQ3LTYuMjU1IDUuNTY1LTkuNzk1SDI1LjVWNkgxNVYzaC0zdjNIMS41djNoMTYuNzU1Yy0xLjAwNSAyLjg4LTIuNTk1IDUuNjI1LTQuNzU1IDguMDI1LTEuMzk1LTEuNTQ1LTIuNTUtMy4yNC0zLjQ2NS01LjAyNWgtM2MxLjA5NSAyLjQ0NSAyLjU5NSA0Ljc1NSA0LjQ3IDYuODRMMy44NyAyNi4zNyA2IDI4LjVsNy41LTcuNSA0LjY2NSA0LjY2NSAxLjE0LTMuMDZ6TTI3Ljc1IDE1aC0zTDE4IDMzaDNsMS42OC00LjVoNy4xMjVMMzEuNSAzM2gzbC02Ljc1LTE4em0tMy45MyAxMC41bDIuNDMtNi40OTUgMi40MyA2LjQ5NWgtNC44NnoiLz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBvbHlnb24gcG9pbnRzPSIwIDAgMjQgMCAyNCAyNCAwIDI0Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIGQ9Ik0xNywxMC41IEwxNyw3IEMxNyw2LjQ1IDE2LjU1LDYgMTYsNiBMNCw2IEMzLjQ1LDYgMyw2LjQ1IDMsNyBMMywxNyBDMywxNy41NSAzLjQ1LDE4IDQsMTggTDE2LDE4IEMxNi41NSwxOCAxNywxNy41NSAxNywxNyBMMTcsMTMuNSBMMjEsMTcuNSBMMjEsNi41IEwxNywxMC41IFoiLz4KICAgIDxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t,n){e.exports=n.p+"b73a63cb14a22dd24f0f8da07b186335.svg"},function(e,t,n){e.exports=n.p+"6cd008c0ba16db365710e0d9c95dbeed.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xMSAxM2MyLjIxIDAgNC0xLjc5IDQtNHMtMS43OS00LTQtNC00IDEuNzktNCA0IDEuNzkgNCA0IDR6bTAgMmMtMi42NyAwLTggMS4zNC04IDR2MmgxNnYtMmMwLTIuNjYtNS4zMy00LTgtNHptOS4wNjgxMTA2LTQuMDczNzMzODhWOC41NjEwODkzNmMwLS4xNzYyMDU0NSAwLS41NjEwODkzNi0uNTY2Nzc0Ny0uNTYxMDg5MzYtLjU2Njc3NDggMC0uNTcyMzk4MS4zODQ4ODM5LS41NzIzOTgxLjU2MTA4OTM2djIuMzY1MTc2NzZoLTIuMzE0ODE0NGMtLjE3NDkzMzIgMC0uNjA3NzE0NyAwLS42MDc3MTQ3LjU3MjM5Nzk4IDAgLjU3MjM5ODEuNDMyNzgxNS41NzM1MDE0LjYwNzcxNDcuNTczNTAxNGgyLjMxNDgxNDR2Mi4yOTkyNjcxYzAgLjE3NDkzMzIuMDA1NjIzMy42MjU4OTU3LjU3MjM5ODEuNjI1ODk1Ny41NjY3NzQ3IDAgLjU2Njc3NDctLjM5Mzc5OS41NjY3NzQ3LS41Njg3MzIydi0yLjM1NjQzMDZoMi4zMzkxMzM4Yy4xNzU1NjkzIDAgLjU5Mjc1NTYtLjAwMTEwMzMuNTkyNzU1Ni0uNTczNTAxNCAwLS41NzIzOTc5OC0uNDE3MTg2My0uNTcyMzk3OTgtLjU5Mjc1NTYtLjU3MjM5Nzk4aC0yLjMzOTEzMzh6Ii8+CiAgICA8cGF0aCBkPSJNMSAxaDI0djI0SDFWMXoiLz4KICA8L2c+Cjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOCA5LjMyNTg0MjdjMCAuNzQxNTczMDMuNjE2NDM4MzYgMS4zNTk1NTA1NiAxLjM1NjE2NDM4IDEuMzU5NTUwNTYuNzM5NzI2MDMgMCAxLjM1NjE2NDQtLjYxNzk3NzUzIDEuMzU2MTY0NC0xLjM1OTU1MDU2IDAtMS40ODMxNDYwNyAxLjYwMjczOTctMS41NDQ5NDM4MiAxLjc4NzY3MTIyLTEuNTQ0OTQzODIuMTg0OTMxNSAwIDEuNzg3NjcxMjMuMDYxNzk3NzUgMS43ODc2NzEyMyAxLjU0NDk0Mzgydi4zMDg5ODg3NmMwIC42MTc5Nzc1My0uMzA4MjE5MTggMS4xMTIzNTk1NS0uODYzMDEzNyAxLjQyMTM0ODMybC0xLjIzMjg3NjcuNjc5Nzc1MjhjLS42NzgwODIyLjM3MDc4NjUtMS4wNDc5NDUyIDEuMDUwNTYxOC0xLjA0Nzk0NTIgMS43OTIxMzQ4M3YxLjExMjM1OTUyQzExLjE0MzgzNTYzIDE1LjM4MjAyMjUgMTEuNzYwMjczOTYgMTYgMTIuNSAxNmMuNzM5NzI2MDMgMCAxLjM1NjE2NDM4LS42MTc5Nzc1IDEuMzU2MTY0MzgtMS4zNTk1NTA1NnYtLjY3OTc3NTI4bC44NjMwMTM3LS40MzI1ODQyN0MxNi4xMzY5ODYzIDEyLjc4NjUxNjgyIDE3IDExLjMwMzM3MDggMTcgOS42OTY2Mjkydi0uMzcwNzg2NUMxNyA2LjQ4MzE0NjA3IDE0LjcxOTE3ODA4IDUgMTIuNSA1IDEwLjIxOTE3ODA4IDUgOCA2LjQ4MzE0NjA3IDggOS4zMjU4NDI3ek0xMi41IDE3Yy0yIDAtMiAzIDAgM3MyLTMgMC0zeiIvPgo8L3N2Zz4="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0xIDFoMjR2MjRIMVYxeiIvPgogICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTE2Ljc3MjA3NTQgMTQuNjc5MTc3OGMtLjIyNDkwOTctLjIyNTY4ODYtLjQ3NDE1NzMtLjQzNTE2ODEtLjc0MjA3NTQtLjYyOTE3NzguMzUtLjAzLjY4LS4wNS45Ny0uMDUgMi4zMyAwIDcgMS4xNyA3IDMuNVYyMGgtNHYtMWMwLTEuODgxNjkxNC0xLjQwNzcwNTYtMy4zMjMwMTQzLTMuMjI3OTI0Ni00LjMyMDgyMjJ6bS0xLjQzODU3MzUtOC4xNzU4NTM0QzE1LjgwOTgwODIgNi4xODUyNTE3MyAxNi4zODI3ODQ1IDYgMTcgNmMxLjY2IDAgMi45OSAxLjM0IDIuOTkgM3MtMS4zMyAzLTIuOTkgM2MtLjYxNzE5MTQgMC0xLjE5MDE0NzEtLjE4NTIzNzMtMS42NjY0NDIzLS41MDMyODcyQzE1Ljc1NzQ4MzIgMTAuNzYyMTQwOTUgMTYgOS45MDk1NTYgMTYgOS4wMDAwNjY5M2MwLS45MDk1Mjg5Ni0uMjQyNTM4MS0xLjc2MjE0ODgtLjY2NjQ5ODEtMi40OTY3NDI1M3pNMTAgMTNjMi4yMSAwIDQtMS43OSA0LTRzLTEuNzktNC00LTQtNCAxLjc5LTQgNCAxLjc5IDQgNCA0em0wIDJjLTIuNjcgMC04IDEuMzQtOCA0djJoMTZ2LTJjMC0yLjY2LTUuMzMtNC04LTR6Ii8+CiAgPC9nPgo8L3N2Zz4="},function(e,t,n){e.exports=n.p+"567632a2702aed0296e15d68d6cae738.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTMuMDA2Mjg2NjIgMjJjMSAwIDEuNzE0Mjg1NzItLjQwMTk1MzEgMS45OTk5OTk5OC0xLjAwNDg4MjhoLTMuOTk5OTk5OThjLjI4NTcxNDMuNjAyOTI5NyAxIDEuMDA0ODgyOCAyIDEuMDA0ODgyOHptNi45ODA1Mjk3OC0zLjk2MzQzOTlWMTBjMC0yLjY0LTIuMzAyODY2OC00Ljk3NTAzNjYyLTUuMDEwNTU5MDgtNC45NzUwMzY2MiAwLS43Mi0uMzQ0MDU1MTctMS4wMjk4NDYyLTEuOTczMTE0LTEuMDI5ODQ2Mi0xLjYyOTA1ODg1IDAtMS45NjU4NTA4NC4zMDk4NDYyLTEuOTY1ODUwODQgMS4wMjk4NDYyQzguMzI5NjAwMTggNS4wMjQ5NjMzOCA1Ljk5NTQ4MzQgNy4zNiA1Ljk5NTQ4MzQgMTB2OC4wMzY1NjAxaC0uOTg5MTk2Nzh2MS45NTE0MTZIMjF2LTEuOTUxNDE2aC0xLjAxMzE4MzZ6TTE4IDE4SDh2LTcuN0M4IDguNDMgOS40NDQ0NDQ0NCA3IDExLjMzMzMzMzMzIDdoMy4zMzMzMzMzNEMxNi41NTU1NTU2IDcgMTggOC40MyAxOCAxMC4zVjE4eiIvPgo8L3N2Zz4="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xMy4wMDYyODY2MiAyMmMuOTk5OTk5OTggMCAxLjcxNDI4NTY4LS40MDE5NTMxIDEuOTk5OTk5OTgtMS4wMDQ4ODI4aC0zLjk5OTk5OTk4Yy4yODU3MTQzLjYwMjkyOTcgMSAxLjAwNDg4MjggMiAxLjAwNDg4Mjh6bTYuOTgwNTI5NzgtMy45NjM0Mzk5VjEwYzAtMi42NC0yLjMwMjg2NjgtNC45NzUwMzY2Mi01LjAxMDU1OTEtNC45NzUwMzY2MiAwLS43Mi0uMzQ0MDU1Mi0xLjAyOTg0NjItMS45NzMxMTQtMS4wMjk4NDYyLTEuNjI5MDU4ODMgMC0xLjk2NTg1MDgyLjMwOTg0NjItMS45NjU4NTA4MiAxLjAyOTg0NjJDOC4zMjk2MDAxOCA1LjAyNDk2MzM4IDUuOTk1NDgzNCA3LjM2IDUuOTk1NDgzNCAxMHY4LjAzNjU2MDFoLS45ODkxOTY3OHYxLjk1MTQxNkgyMXYtMS45NTE0MTZoLTEuMDEzMTgzNnpNMTMuMDgzODk2MTYgMThsLTIuMDc4OTMwODIgMi4wMjcyMDQ1SDQuOTQxNjIwMzhWMThINnYtM2wyLTIuMDgyOTQyOTJWMTAuM0M4IDguNDMgOS40NDQ0NDQ0NCA3IDExLjMzMzMzMzMzIDdoMy4zMzMzMzMzN2MuMjA1ODcyMSAwIDEuMzU3OTgyNS0xLjkwOTA0NTggMS4zNTc5ODI1LTEuOTA5MDQ1OHMxLjMxODM5MDguMjc5MTU2OTIgMi41NTU1MzQzIDEuNTk4ODMzNjdjMS4yMzcxNDM2IDEuMzE5Njc2NzYgMS4zMjUzODg5IDMuMjUxOTI3NzQgMS4zMjUzODg5IDMuMjUxOTI3NzRMMTggMTIuOTQ1NDcyNTZWMThoLTQuOTE2MTAzODR6Ii8+CiAgICA8cGF0aCBzdHJva2U9IiNGMDQ3NDciIHN0cm9rZS13aWR0aD0iMiIgZD0iTTIxIDVMNSAyMSIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIvPgogIDwvZz4KPC9zdmc+"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0xIDFoMjR2MjRIMSIvPgogICAgPHBhdGggZmlsbD0iI0ZGRiIgZD0iTTE1IDE1VjZoLTR2OWgtLjUwODk5NDgyQzEwLjIyNzg4MDQ4IDE1IDEwIDE1LjIyMzg1NzYgMTAgMTUuNWMwIC4yNjgwNjY0LjIxOTgzMDUuNS40OTEwMDUxOC41aDUuMDE3OTg5NjRDMTUuNzcyMTE5NTIgMTYgMTYgMTUuNzc2MTQyNCAxNiAxNS41YzAtLjI2ODA2NjQtLjIxOTgzMDUtLjUtLjQ5MTAwNTE4LS41SDE1em0yLTloMVY0SDh2MmgxdjhsLTIgMnYyaDUuMnY0aDEuNnYtNEgxOXYtMmwtMi0yVjZ6Ii8+CiAgPC9nPgo8L3N2Zz4="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik0xIDFoMjR2MjRIMVYxeiIvPgogICAgPHBhdGggZmlsbD0iIzQzQjU4MSIgZD0iTTE3IDE0aC0zVjRoLTJ2MTBIOWw0IDQgNC00ek01IDIwdjJoMTZ2LTJINXoiLz4KICA8L2c+Cjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNiIgaGVpZ2h0PSIyNiI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik02IDlsNCA0SDdjMCAzLjMxIDIuNjkgNiA2IDYgMS4wMSAwIDEuOTctLjI1IDIuOC0uN2wxLjQ2IDEuNDZDMTYuMDMgMjAuNTQgMTQuNTcgMjEgMTMgMjFjLTQuNDIgMC04LTMuNTgtOC04SDJsNC00em0xMyA0YzAtMy4zMS0yLjY5LTYtNi02LTEuMDEgMC0xLjk3LjI1LTIuOC43TDguNzQgNi4yNEM5Ljk3IDUuNDYgMTEuNDMgNSAxMyA1YzQuNDIgMCA4IDMuNTggOCA4aDNsLTQgNC00LTRoM3oiLz4KICAgIDxwYXRoIGQ9Ik0yNSAxSDF2MjRoMjRWMXoiLz4KICA8L2c+Cjwvc3ZnPg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGQ9Ik03Ljk3MDU2My02Ljk5OTk5OTc1TDI0Ljk0MTEyNTc1IDkuOTcwNTYzIDcuOTcwNTYzIDI2Ljk0MTEyNTc1LTguOTk5OTk5NzUgOS45NzA1NjMiLz4KICAgIDxwYXRoIGZpbGw9IiM5OUFBQjUiIGQ9Ik03Ljk3MDU2MyAxMi43OTg5OTAxMmw2LjM2Mzk2MTAzLTYuMzYzOTYxMDMtMi44Mjg0MjcxMi0yLjgyODQyNzE2TDUuMTQyMTM1OSA5Ljk3MDU2M2wtLjM1OTkxMzctLjM1OTkxMzdjLS4xODYwNTcyNS0uMTg2MDU3MjUtLjUwNTQ4NDMtLjE4ODkwMTg1LS43MDA3NDY0OC4wMDYzNjAzLS4xODk1NTE1Ny4xODk1NTE1OC0uMTk4MTA5NzQuNTA4OTk3MDQtLjAwNjM2MDMuNzAwNzQ2NWwzLjU0ODI1NDUgMy41NDgyNTQ1Yy4xODYwNTcyNy4xODYwNTcyNS41MDU0ODQzMy4xODg5MDE4Ni43MDA3NDY1LS4wMDYzNjAzLjE4OTU1MTU2LS4xODk1NTE1Ny4xOTgxMDk3NC0uNTA4OTk3MDQuMDA2MzYwMy0uNzAwNzQ2NWwtLjM1OTkxMzctLjM1OTkxMzY4em03Ljc3ODE3NDYtNC45NDk3NDc0NmwuNzA3MTA2NzcuNzA3MTA2NzggMS40MTQyMTM1Ny0xLjQxNDIxMzU2TDEwLjc5ODk5MDEyLjA3MTA2ODA2IDkuMzg0Nzc2NTYgMS40ODUyODE2M2wuNzA3MTA2NzguNzA3MTA2NzhMNC40MzUwMjkxIDcuODQ5MjQyN0gxLjYwNjYwMTk2TC4xOTIzODg0IDkuMjYzNDU2MjJsMy42NzY5NTUyNyAzLjY3Njk1NTI2LTIuODI4NDI3MTMgMi44Mjg0MjcxMyAxLjEzMTM3MDg2IDEuMTMxMzcwOSAyLjgyODQyNzEtMi44Mjg0MjcxMyAzLjY3Njk1NTI2IDMuNjc2OTU1MjYgMS40MTQyMTM1Ni0xLjQxNDIxMzU2VjEzLjUwNjA5NjlsNS42NTY4NTQyNS01LjY1Njg1NDI0eiIvPgogIDwvZz4KPC9zdmc+"},function(e,t,n){e.exports=n.p+"cc502480f93307f651a7f920a5e0a4bd.svg"},function(e,t,n){e.exports=n.p+"bfffd518c76d3f6bc5e96eb52e4ae2cf.svg"},function(e,t,n){e.exports=n.p+"9ad4d437577c5569dc231a787a5377f6.svg"},function(e,t,n){e.exports=n.p+"cdea41ede63f61153e4a3c0531fa3873.svg"},function(e,t,n){e.exports=n.p+"f8696a3854655998a24c219403420867.svg"},function(e,t,n){e.exports=n.p+"a13cfdd7220132fff399a76c3ed64519.svg"},function(e,t,n){e.exports=n.p+"261873897d8899d4e2e724efdfa21ee3.svg"},function(e,t,n){e.exports=n.p+"616e078b351d0df460971441949c53a3.svg"},function(e,t,n){e.exports=n.p+"719dea390f043257e74b39b7944b57a4.svg"},function(e,t,n){e.exports=n.p+"be9e74e5e0bc5666b51a51e86e779200.svg"},function(e,t,n){e.exports=n.p+"fdeb5350350792b71847ae88e274a699.svg"},function(e,t,n){e.exports=n.p+"1e920e6e6f7a01fb986ee6ac3fbf9180.svg"},function(e,t,n){e.exports=n.p+"96e9e8143616e84fcc07f986e885257f.svg"},function(e,t,n){e.exports=n.p+"b41ea05af8343e31c8096f4174c770a8.svg"},function(e,t,n){e.exports=n.p+"a44d9a84b3ebfb4253578065982a2cd0.svg"},function(e,t,n){e.exports=n.p+"9b14f397b08a17cec388d9d851b007ff.svg"},function(e,t,n){e.exports=n.p+"61d182d42a996fdb2660ffb3974d63c9.png"},function(e,t,n){e.exports=n.p+"0f7c73443f8b13ca411654cb3d6d7c0d.svg"},function(e,t,n){e.exports=n.p+"436cb6846030d9b4308bbcc4ff4f7d68.svg"},function(e,t,n){e.exports=n.p+"8322b6461dfe726759d4e23410985c43.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNDAiIGhlaWdodD0iNTciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICA8ZGVmcz4KICAgIDxwYXRoIGlkPSJhIiBkPSJNMCAwaDI0MHY1N0gweiIvPgogICAgPGZpbHRlciBpZD0iYiIgd2lkdGg9IjIwMCUiIGhlaWdodD0iMjAwJSIgeD0iLTUwJSIgeT0iLTUwJSIgZmlsdGVyVW5pdHM9Im9iamVjdEJvdW5kaW5nQm94Ij4KICAgICAgPGZlT2Zmc2V0IGR5PSItMSIgaW49IlNvdXJjZUFscGhhIiByZXN1bHQ9InNoYWRvd09mZnNldElubmVyMSIvPgogICAgICA8ZmVDb21wb3NpdGUgaW49InNoYWRvd09mZnNldElubmVyMSIgaW4yPSJTb3VyY2VBbHBoYSIgb3BlcmF0b3I9ImFyaXRobWV0aWMiIGsyPSItMSIgazM9IjEiIHJlc3VsdD0ic2hhZG93SW5uZXJJbm5lcjEiLz4KICAgICAgPGZlQ29sb3JNYXRyaXggdmFsdWVzPSIwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwLjIgMCIgaW49InNoYWRvd0lubmVySW5uZXIxIi8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDx1c2UgZmlsbD0iIzJFMzEzNiIgeGxpbms6aHJlZj0iI2EiLz4KICAgIDx1c2UgZmlsbD0iIzAwMCIgZmlsdGVyPSJ1cmwoI2IpIiB4bGluazpocmVmPSIjYSIvPgogICAgPHJlY3Qgd2lkdGg9IjEzMCIgaGVpZ2h0PSI4IiB4PSIyMSIgeT0iMjQiIGZpbGw9IiNGRkYiIG9wYWNpdHk9Ii4yMDAwMDAwMiIgcng9IjMiLz4KICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNCIgeD0iMTk2IiB5PSIyMSIgZmlsbD0iI0ZGRiIgZmlsbC1vcGFjaXR5PSIuMiIgcng9IjMiLz4KICA8L2c+Cjwvc3ZnPg=="},function(e,t,n){e.exports=n.p+"7c7ac3a3c0402864daa72038275b5ee2.svg"},function(e,t,n){e.exports=n.p+"76927ab03ebcbac8b84f40ff423a7907.png"},function(e,t,n){e.exports=n.p+"2b6e420cafbf2a70a1b66ae889b2c097.png"},function(e,t,n){e.exports=n.p+"f6ea563fd6350bb7d355047e4d597919.png"},function(e,t,n){e.exports=n.p+"6cf38f69553c71a805f5319c0902e669.png"},function(e,t,n){e.exports=n.p+"69084d9982b0a6511ff253df6ccf5109.png"},function(e,t,n){e.exports=n.p+"ba8dcfbbe29f65e9b976bf34ae2f9868.png"},function(e,t,n){e.exports=n.p+"6d584208bb994e12d9596554a49e74fc.png"},function(e,t,n){e.exports=n.p+"8344679900c90c93fd89cca300f775fa.png"},function(e,t,n){e.exports=n.p+"4ec473801b5d6f8ce1e2aaff47392f74.png"},function(e,t,n){e.exports=n.p+"4a3496c5b0924198ae0234331c912d1b.png"},function(e,t,n){e.exports=n.p+"440f0d3aa3682b3d6c7754a1783a6071.png"},function(e,t,n){e.exports=n.p+"c47f2b8b6eb13a4372044da68d7b072e.png"},function(e,t,n){e.exports=n.p+"4fd1841c200d08f011c59d4f029d8258.png"},function(e,t,n){e.exports=n.p+"9863663b06459a2e64befb60b9a75c8c.png"},function(e,t,n){e.exports=n.p+"78aaf2b6a070470149848775e1306e9f.png"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOTAiIGhlaWdodD0iODIiPgogIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICA8cGF0aCBzdHJva2U9IiMxQzFGMjMiIHN0cm9rZS13aWR0aD0iMyIgZD0iTTI5LjcwNjEgMTguMjE5M2wtMS40MTQgMS40MTRtLTUuNjU3IDUuNjU3bC0xLjQxNCAxLjQxNG04LjQ4NS4wMDAybC0xLjQxNC0xLjQxNG0tNS42NTctNS42NTdsLTEuNDE0LTEuNDE0bTEyMC42NDIyIDUxLjUyMjJsLTEuNDE0IDEuNDE0bS01LjY1NzEgNS42NTcxbC0xLjQxNCAxLjQxNG04LjQ4NTEuMDAwMmwtMS40MTQtMS40MTRtLTUuNjU3MS01LjY1NzFsLTEuNDE0LTEuNDE0TTE2NC41IDYuNWMwIDEuNjU3LTEuMzQzIDMtMyAzcy0zLTEuMzQzLTMtMyAxLjM0My0zIDMtMyAzIDEuMzQzIDMgM3pNOC41IDQ1LjE1NTljMCAxLjY1Ny0xLjM0MyAzLTMgM3MtMy0xLjM0My0zLTMgMS4zNDMtMyAzLTMgMyAxLjM0MyAzIDN6bTE3NSA2LjQ2NjF2Nm0zLTNoLTZtLTM5Ljg3OTMtMzAuOTE5NHY2bTMtM2gtNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CiAgICA8cGF0aCBkPSJNMCAwaDE5MHY4MkgweiIvPgogIDwvZz4KPC9zdmc+"},function(e,t){e.exports="data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjk0IiBoZWlnaHQ9IjkwIj4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggc3Ryb2tlPSIjMUMxRjIzIiBzdHJva2Utd2lkdGg9IjMiIGQ9Ik0yOTAuOTMxMiAyNy45NDEybC0xLjQxNCAxLjQxNG0tNS42NTcxIDUuNjU3bC0xLjQxNCAxLjQxNG04LjQ4NTEuMDAwM2wtMS40MTQtMS40MTRtLTUuNjU3MS01LjY1NzFsLTEuNDE0LTEuNDE0TTEwLjk4NTMgNTAuNTIxNWwtMS40MTQgMS40MTRtLTUuNjU3MSA1LjY1NzFsLTEuNDE0IDEuNDE0bTguNDg1MS4wMDAybC0xLjQxNC0xLjQxNG0tNS42NTcxLTUuNjU3MWwtMS40MTQtMS40MTRtMTQ2LjEwMTQtMzQuMjY0NGwtMS40MTQgMS40MTRtLTUuNjU3MSA1LjY1NzFsLTEuNDE0IDEuNDE0bTguNDg1MS4wMDAybC0xLjQxNC0xLjQxNG0tNS42NTcxLTUuNjU3MWwtMS40MTQtMS40MTRNMjc0LjY4MzMgNjcuMWMwIDEuNjU3LTEuMzQzIDMtMyAzcy0zLTEuMzQzLTMtMyAxLjM0My0zIDMtMyAzIDEuMzQzIDMgM3pNMTIyLjc4ODQgNy40OTk5YzAgMS42NTctMS4zNDMgMy0zIDNzLTMtMS4zNDMtMy0zIDEuMzQzLTMgMy0zIDMgMS4zNDMgMyAzek0zMy43NTk2IDgwLjQyNTd2Nm0zLTNoLTZtLTYuMjg5LTQ0LjQ1NTJ2Nm0zLTNoLTZtMjQxLjIxMjctMTIuNzg2N3Y2bTMtM2gtNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CiAgICA8cGF0aCBkPSJNMCAwaDI5NHY5MEgweiIvPgogIDwvZz4KPC9zdmc+"},function(e,t,n){e.exports=n.p+"ba7676b3791fb371b0c67266945821f7.svg"},function(e,t,n){e.exports=n.p+"045ea1ae8202098575f9b31a9faccb2c.svg"},function(e,t,n){e.exports=n.p+"760b812456804ad977f968ca0b6a8b0b.png"},function(e,t,n){e.exports=n.p+"e6f972fc11196f4eb41b51bafc727a62.png"},function(e,t,n){e.exports=n.p+"7840d7ee9e20460cfc0c3da0fb087675.png"},function(e,t,n){e.exports=n.p+"d62770cb3449a04c7292fc2ad7a9ffd9.png"},function(e,t,n){e.exports=n.p+"9a5bcf24248b74b22be287d7251a71d7.png"},function(e,t,n){e.exports=n.p+"0cbbd799cfd22b09ed9f8fd78d37b53d.png"},function(e,t,n){e.exports=n.p+"c795f9ef8be0d19a0555ee96213abd00.png"},function(e,t,n){e.exports=n.p+"4494c6de50a904f9fb517f368dd66e78.png"},function(e,t,n){e.exports=n.p+"05b0fcf222e33f6630d7901f362e7159.png"},function(e,t,n){e.exports=n.p+"3f902475b3576b6d008f27d1731e4c86.png"},function(e,t,n){e.exports=n.p+"e9c66160842ee723733766bb4e68419d.png"},function(e,t,n){e.exports=n.p+"1d11aed80a090c57db24b40343852f41.png"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgIDxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0yLjAwNTE5ODcgMTAuMjQwNDgwMDh2LTEuNTY2NzQ2NmgxMS43NjcyNjdsLTMuNjYxMjk3OS0zLjY2MTI5NzkgMS4xMTExNjc4LTEuMTExMTY3OCA1LjU1NTgzOSA1LjU1NTgzOS01LjU1NTgzOSA1LjU1NTgzOS0xLjExMTE2NzgyLTEuMTExMTY3ODMgMy42NjEyOTc5LTMuNjYxMjk3OSIvPgogICAgPHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPgogIDwvZz4KPC9zdmc+"},function(e,t,n){e.exports=n.p+"be14b7a8e0090fbb48135450ff17a62f.svg"},function(e,t,n){e.exports=n.p+"5d733a17b7a8802666c285adac8d5a63.svg"},function(e,t,n){e.exports=n.p+"995853980b786dfe67b895ac5e441d9a.svg"},function(e,t,n){e.exports=n.p+"f1f226cfdf55779ff5cdf1338cb6bfab.svg"},function(e,t,n){e.exports=n.p+"d003c9ad26b3ef868c38fec9982c1a24.svg"},function(e,t,n){e.exports=n.p+"dec7846433e86ac7fabf26ee1233c723.svg"},function(e,t,n){e.exports=n.p+"8e5d3fcdae6d3d38a60764d72a44d83c.svg"},function(e,t,n){e.exports=n.p+"59ae0484a95700fa5c8c24fbe2d35e1e.svg"},function(e,t,n){e.exports=n.p+"7ad190086b372bae45da09b0c3a6a59a.svg"},function(e,t,n){e.exports=n.p+"4d2a6ed9251ad85968c7362a6a573ccb.svg"},function(e,t,n){e.exports=n.p+"d630d71d5d2a19c1a81607b7b77f8717.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNDNweCIgaGVpZ2h0PSIxOHB4IiB2aWV3Qm94PSIwIDAgNDMgMTgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICA8ZyBpZD0iaWNfdHV0X2Fycm93XzAxIj4KICAgICAgPHBhdGggZD0iTTQxLjg5NTUsNi40ODQ0IEMzOC41Nzk1LDQuMTY1NCAzNS4xNTE1LDEuMzM4NCAzMS4yNjQ1LDAuMDc3NCBDMjkuNTg4NSwtMC40NjY2IDI4LjAyODUsMS45ODM0IDI5LjQ3NDUsMy4xNTI0IEMzMC43MzY1LDQuMTczNCAzMi4wNDM1LDUuMTgxNCAzMy4zNjc1LDYuMTc0NCBDMjkuODA3NSw2LjA2MTQgMjYuMTQ0NSw2LjQyNjQgMjIuNzQwNSw2LjM5MTQgQzE1LjUzMjUsNi4zMTU0IDguMzEyNSw2LjAxMzQgMS4xMDg1LDYuMzcwNCBDLTAuMzcwNSw2LjQ0MzQgLTAuMzY5NSw4LjU4NzQgMS4xMDg1LDguNjY3NCBDMTIuNDU0NSw5LjI4MjQgMjMuODI5NSw5LjA2NDQgMzUuMTYzNSw5LjU3MDQgQzMzLjk0NjUsMTAuMjYxNCAzMi42OTM1LDEwLjg5ODQgMzEuNDcyNSwxMS41OTc0IEMyOS4zOTM1LDEyLjc4NzQgMjcuNTE2NSwxMy45Nzg0IDI3LjI0NzUsMTYuNTE4NCBDMjcuMTc5NSwxNy4xNTE0IDI3Ljg0ODUsMTcuNzI5NCAyOC40NDI1LDE3LjcxMzQgQzMwLjk4MjUsMTcuNjQ5NCAzMy4xMTk1LDE1LjgyNzQgMzUuMzAzNSwxNC43MDA0IEMzNy44MzA1LDEzLjM5NzQgNDAuMjQxNSwxMi4wOTE0IDQyLjM3MzUsMTAuMTg2NCBDNDMuNTg2NSw5LjEwMTQgNDMuMDY0NSw3LjMwMTQgNDEuODk1NSw2LjQ4NDQiIGlkPSJGaWxsLTEiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo="},function(e,t,n){e.exports=n.p+"86deade60ada88b092a0de67a3800ce8.svg"},function(e,t,n){e.exports=n.p+"7c5e2c588b7325c8433db1ac2a03a6b6.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTIuMjczMzMzMzMsMTIgTDIuNzQ2NjY2NjcsOS4zMzMzMzMzMyBMMC4wOCw5LjMzMzMzMzMzIEwwLjMxMzMzMzMzMyw4IEwyLjk4LDggTDMuNjg2NjY2NjcsNCBMMS4wMiw0IEwxLjI1MzMzMzMzLDIuNjY2NjY2NjcgTDMuOTIsMi42NjY2NjY2NyBMNC4zOTMzMzMzMywwIEw1LjcyNjY2NjY3LDAgTDUuMjUzMzMzMzMsMi42NjY2NjY2NyBMOS4yNTMzMzMzMywyLjY2NjY2NjY3IEw5LjcyNjY2NjY3LDAgTDExLjA2LDAgTDEwLjU4NjY2NjcsMi42NjY2NjY2NyBMMTMuMjUzMzMzMywyLjY2NjY2NjY3IEwxMy4wMiw0IEwxMC4zNTMzMzMzLDQgTDkuNjQ2NjY2NjcsOCBMMTIuMzEzMzMzMyw4IEwxMi4wOCw5LjMzMzMzMzMzIEw5LjQxMzMzMzMzLDkuMzMzMzMzMzMgTDguOTQsMTIgTDcuNjA2NjY2NjcsMTIgTDguMDgsOS4zMzMzMzMzMyBMNC4wOCw5LjMzMzMzMzMzIEwzLjYwNjY2NjY3LDEyIEwyLjI3MzMzMzMzLDEyIEwyLjI3MzMzMzMzLDEyIFogTTUuMDIsNCBMNC4zMTMzMzMzMyw4IEw4LjMxMzMzMzMzLDggTDkuMDIsNCBMNS4wMiw0IEw1LjAyLDQgWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4zMzMgMikiLz4KICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHBhdGggZmlsbD0iIzRGNTQ1QyIgZD0iTTIuMjczMzMzMzMsMTIgTDIuNzQ2NjY2NjcsOS4zMzMzMzMzMyBMMC4wOCw5LjMzMzMzMzMzIEwwLjMxMzMzMzMzMyw4IEwyLjk4LDggTDMuNjg2NjY2NjcsNCBMMS4wMiw0IEwxLjI1MzMzMzMzLDIuNjY2NjY2NjcgTDMuOTIsMi42NjY2NjY2NyBMNC4zOTMzMzMzMywwIEw1LjcyNjY2NjY3LDAgTDUuMjUzMzMzMzMsMi42NjY2NjY2NyBMOS4yNTMzMzMzMywyLjY2NjY2NjY3IEw5LjcyNjY2NjY3LDAgTDExLjA2LDAgTDEwLjU4NjY2NjcsMi42NjY2NjY2NyBMMTMuMjUzMzMzMywyLjY2NjY2NjY3IEwxMy4wMiw0IEwxMC4zNTMzMzMzLDQgTDkuNjQ2NjY2NjcsOCBMMTIuMzEzMzMzMyw4IEwxMi4wOCw5LjMzMzMzMzMzIEw5LjQxMzMzMzMzLDkuMzMzMzMzMzMgTDguOTQsMTIgTDcuNjA2NjY2NjcsMTIgTDguMDgsOS4zMzMzMzMzMyBMNC4wOCw5LjMzMzMzMzMzIEwzLjYwNjY2NjY3LDEyIEwyLjI3MzMzMzMzLDEyIEwyLjI3MzMzMzMzLDEyIFogTTUuMDIsNCBMNC4zMTMzMzMzMyw4IEw4LjMxMzMzMzMzLDggTDkuMDIsNCBMNS4wMiw0IEw1LjAyLDQgWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS4zMzMgMikiLz4KICAgIDxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIvPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNOS4zMzMzMzMzMywyIEw5LjMzMzMzMzMzLDMuMzczMzMzMzMgQzExLjI2LDMuOTQ2NjY2NjcgMTIuNjY2NjY2Nyw1LjczMzMzMzMzIDEyLjY2NjY2NjcsNy44NDY2NjY2NyBDMTIuNjY2NjY2Nyw5Ljk2IDExLjI2LDExLjc0IDkuMzMzMzMzMzMsMTIuMzEzMzMzMyBMOS4zMzMzMzMzMywxMy42OTMzMzMzIEMxMiwxMy4wODY2NjY3IDE0LDEwLjcgMTQsNy44NDY2NjY2NyBDMTQsNC45OTMzMzMzMyAxMiwyLjYwNjY2NjY3IDkuMzMzMzMzMzMsMiBMOS4zMzMzMzMzMywyIFogTTExLDcuODQ2NjY2NjcgQzExLDYuNjY2NjY2NjcgMTAuMzMzMzMzMyw1LjY1MzMzMzMzIDkuMzMzMzMzMzMsNS4xNiBMOS4zMzMzMzMzMywxMC41MTMzMzMzIEMxMC4zMzMzMzMzLDEwLjA0IDExLDkuMDIgMTEsNy44NDY2NjY2NyBMMTEsNy44NDY2NjY2NyBaIE0yLDUuODQ2NjY2NjcgTDIsOS44NDY2NjY2NyBMNC42NjY2NjY2Nyw5Ljg0NjY2NjY3IEw4LDEzLjE4IEw4LDIuNTEzMzMzMzMgTDQuNjY2NjY2NjcsNS44NDY2NjY2NyBMMiw1Ljg0NjY2NjY3IEwyLDUuODQ2NjY2NjcgWiIvPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+CiAgICA8cGF0aCBmaWxsPSIjNEY1NDVDIiBkPSJNOS4zMzMzMzMzMywyIEw5LjMzMzMzMzMzLDMuMzczMzMzMzMgQzExLjI2LDMuOTQ2NjY2NjcgMTIuNjY2NjY2Nyw1LjczMzMzMzMzIDEyLjY2NjY2NjcsNy44NDY2NjY2NyBDMTIuNjY2NjY2Nyw5Ljk2IDExLjI2LDExLjc0IDkuMzMzMzMzMzMsMTIuMzEzMzMzMyBMOS4zMzMzMzMzMywxMy42OTMzMzMzIEMxMiwxMy4wODY2NjY3IDE0LDEwLjcgMTQsNy44NDY2NjY2NyBDMTQsNC45OTMzMzMzMyAxMiwyLjYwNjY2NjY3IDkuMzMzMzMzMzMsMiBMOS4zMzMzMzMzMywyIFogTTExLDcuODQ2NjY2NjcgQzExLDYuNjY2NjY2NjcgMTAuMzMzMzMzMyw1LjY1MzMzMzMzIDkuMzMzMzMzMzMsNS4xNiBMOS4zMzMzMzMzMywxMC41MTMzMzMzIEMxMC4zMzMzMzMzLDEwLjA0IDExLDkuMDIgMTEsNy44NDY2NjY2NyBMMTEsNy44NDY2NjY2NyBaIE0yLDUuODQ2NjY2NjcgTDIsOS44NDY2NjY2NyBMNC42NjY2NjY2Nyw5Ljg0NjY2NjY3IEw4LDEzLjE4IEw4LDIuNTEzMzMzMzMgTDQuNjY2NjY2NjcsNS44NDY2NjY2NyBMMiw1Ljg0NjY2NjY3IEwyLDUuODQ2NjY2NjcgWiIvPgogIDwvZz4KPC9zdmc+Cg=="},function(e,t,n){e.exports=n.p+"b2609efe7eaf6066ccf83c63b831b9f5.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHoAAAB0CAMAAAB9jdamAAAABlBMVEUAsPEAru+LS66XAAAAAnRSTlMO8rujc4YAAAErSURBVHja7dpBDsJADARB9/8/zdEHI0AZmIkW9xVvKqsoURDUYQGQgjM4XZAGt5zCydn8pw2ztc+1K2vvDZ5/qNbaTycTNvzcfjGVsenKa4PBztK8OzXntgVZtLkNbbAFWbCFK63SCLRqC3KO1m2TnKcrS09FkEUaD11JejoGOU1PiL+ny0bjpWvpLM096Fp66aX3abb00sJbyvmvhbW0Syb+TbOOp3lHE6RNsmCfRuOQuzDdGWTftvmUxrBpl80F2iCPz4M0Pnna9l+RO588h4z/GJi2T562TZ6TPnnO8lUZYVqWPTajC0tcciHY6kEQcPX0EXFlOQqOIgs4LxZqNgiLZBsQ5iW7G3MKPHG9ulZA7nQ4Y5daQO4CcBeAu4TbRdwu4nYyqyeQ6R5nmwyTZv1geAAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAACqCAMAAAAKqCSwAAAABlBMVEUAsuUAre8F3W78AAAAAnRSTlMK9DasE7cAAAHzSURBVHja7d3BagMxEAPQ0f//dI85DHQIskdykK5Zyw+nG9qFTOtk0FJ+wf/xVvY4M3usnT0qqD8WbIyhPQKoLRZHI5D6YXEjKiixaE/KrF2E8g0r0tWaOcMGRtjD5Ret54svWd9pHSoFWFaq7ybKluuHpjvY7Z7lPWS/BIml/EZ8gd5KQhet8j/Z1qS8lZAKrPQyvZWXKqx9icZKSP2sRg8Y16Q8FR5SfnuzZ+HElUZWsbQTbKXdAKF0DkHVWqXSOc9SZ6kyI5WXHssgdaTWTC15/O4p/sMs1ByqbXKoualyqKHmUEOtUPOjmvc/1FBzV4UaaqjWVN7nT/3w/KkfmzsV+CTUUEMNNdRQQ+WCN6lNbk2tUEM1peJNard7UytUOvgZKsyf+4RKBhMVoXJU7weXmKkI9YC0vxAqc1M5W/F7VDhLq16lwktqfKyYqD7WUWJDxXdU+FAZq17q/y023qqnwlA6X+f/nVu5lL9U//brrSCocJLO1kyIuDB3QyUl1+il8zSbTN4RzDMSSEVW4ewtXupplc2Jk2yDHrnUf/qi3vrO/E3ZVFN9M6hKvpYvxV4n34sFqBYLomxzcDaYIn4PLHQQ2Bazf36DMcSyBSufuhNjaY8GqsfW9QigOmyD+mprOaTTX1vCEExTbllFgHTNHzbIFa3FTKgNAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUQAAAFaAQMAAABc+LZuAAAABlBMVEX////H0e4es2iaAAAAAnRSTlMC+hnNtLgAAAHHSURBVHgB7ZvHlaUwAAT13xgdCUGhEBqEplAIQccxevS6DqB2Z3njus59qhLwbeHc7XS5HHTZBl2uT/9/uU28PPFSdLnypaj6pk4b8aVoziqa80400o0vhXPqgpx8yXKuOKd2mPOmDnPeqcOcVR3mXHTAZdMBc27qMKfU2XV8k3aW806COatOeHUumvDqbHqCV+emAa9O6UBXpyV5CSQ5J5DknECScwJJzgkkOSeQ5JxAkpdAEshpSc6JJJU7DSAJ5LQkkNOSQE5LAjktCeS0JJDTkkCkpie0tCSQ05JATksCOS2J5LQk8JS1JKMJJHlJJP1im0TSL9ZJJP2iPSFJv5aDSPpFPaCkctuZJHa5GSiJXW4GSgKXG8CSANdI6sWYtlNJa6eStoNK0qCSNKgkDSpJA0jykp6k7aAnaetAkhvRk/T4jicpl9tnlVQ18fIJLwdedrzcC7VU6PIslKcSQgghhBBCCCGEEEIIIYQQwmXcHXRZB10uT3TZJl6eeKkrljtfvusPh+ny7l1/Ylwu+Ynx+b6/GE/49w//Dn8qaO/6p4J6yZ8Kxrv+qWAmfMLnoZCHAlj+j/AXLNukywUvK/Z5N8q/8AO1Z8BLmeP9bQAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIwAAACKCAMAAABPR1IRAAAABlBMVEXySUnwR0eshlJzAAAAAnRSTlMB+jLg53sAAAFZSURBVHja7dzBrsIwDERRz///9NsgsRi9AHGUa9DMrqK1jxw2rdpUO3qk0Oi/wA4PDPGgFA+AoTzaCIABONrMBQzMWbQBOG9Uv67ZXM2iwmo88zk1ilNkXIMmmkWiWSSaaH5MU9FE87mmoslCfaMmo8loeqOJZvBosk4ZTdYp63QhwWSdgsk/OOs0CiONwTwPeMzziMdoJEbBBBNMMMEEMwQDarz5DEwF85UYDbiHm4CpYN7HaMBtP4/hH0xoPqZoDP8ASbMx/gNs4TGcxhuOwtCadTtd1LzuRmFeYsnB+BmMhcdgGu9Dvj/nbUCNNwE0Wy3uYjru84PBNF6efOfca1Mar0x+VeKFQY2XhTReVOTHUV6R0fTrqc1ZF6M0Xup0Db6MyG86JU//+pMadS8+zFHrur7Gw2wyolU2Tj2o4bc/QCkelOJBKR6W4kElHpji2YBwoOwkcDp/L0UMxrib9i8AAAAASUVORK5CYII="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAAC+CAMAAABUKvCEAAAABlBMVEXySUnwR0eshlJzAAAAAnRSTlMB+jLg53sAAAIGSURBVHja7Z1BbsMwDATF/3+6Rx5YNG2keD3u7DGIqZnQdoBYCNfnUp2FSv0UIvoMGL4Dhu9w6Ttc/A6WvoPF73DxO3fEX/Wnt9+G/u1D8/y7BaL4J8rk8A/VCvGfq5fAP1r0ev6zdWH4nf16+Svu+s9/HY74/4l/sfmX/PK/z7/kl/99/iW//PKTIr/8Qf585PcE8gKQXwH5P8nvHh8bYANswEt+BeS3AQpcHRtgA2yAZ5ANUMAGKPBrYOwZ1LhcgclaHdgNZ76kgAJvCBRVoKBfwwoooABdoIPi7yiggAIKKKCAAgoooIACCiiggAIK3EygaPzlL3MKKMAWwD8j8zGrAscFCro1iCmwFLijQEF3xxEF1kMFCrq/kifA3DlazxVYNAHm7uN6kgDLYCLiBVgGExAvwDKYeHgBmsGEe75AEf8yIm+wT/YpgZMCu6L5BrAMJhVeAGYwmQAGe0QVNtgHurPA/hF5ftJJNGFgBhOFZTBBMAb7GJU3mBQwg8nAMpgENIPT47Zo/LNGlj9qkFu5Uga8iW2d06vmxxYeLhfgzzY0v9qsGeAPz/PKL1QjtLltNXIRP0ehRlBzHSvT4qoLKiNms0Zuc514xf0FK1DstEIF6uwazJwpEVV4jcAY9F61cUxGYT/r6mDxO1z8TpL+ULj4HTB9BwzfIcN3sOyvNZb5Ll8T5RMqoJ3HhgAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAAFoAQMAAACysvEaAAAABlBMVEVMaXHwR0d4GN88AAAAAnRSTlMA+iv71joAAACmSURBVHhe7dSxDcQgDEZhohSUjMAoLHYSjOZRMsKVFCjcAI/COomk+V/5FZGwFQdHH9KEHKRzNgfFBfFbaUG3iwapgyLp/AZk4fViAyUD5QtU+J7qorkgfP5YkXH9tnP9mVQGqYNq3zAIvHrTf5Bv0vh7EA+t3z8I//r9g3h//aYz6ExnUGdQZ1BnUGdQKaWUUkqpRMoNVAxUr+dIJBKJinmOVQqOfu/wEQfDhj4JAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW4AAADQAQMAAAAd2xl9AAAABlBMVEX7qBz5pho/gMYvAAAAAnRSTlMC+PfD1ZQAAAEoSURBVHhe7ZqxjcUgEAX5+gHJSS6BUmjrMiiNUlwCIQHyu8QFMMHqkocmHFveJxaCdYIrM70MpNfJ9MX0zfSH6YrUC9MvpmdW6ocFmX6RzR+AX69O9K8G0yfTN9MfViqrVbqJ3litldV6SSwadRbNQLWyaIomq3VGbLL8lniol1drZ6XWiQ75tt6P6kA/AOttEP3SnVKb57vwBveYpHl+SxYJdFwW0T9CepEETosqCTRckwS6/3050Vci+pOQ3gPPUHb1luRljDHGGGOMMcYYY0w4P0yvTG+dTYVG4AAsM70wvTIdz4QCh3GXFgtmxsyn4oPJ2oHBVBgM3jFsCwQGU2gwd1Aw8b1Bg5kBwfjQ+N9gNmulhXQ6jx9M74G/2+SN9O9KaKFK/wAWEtyEtFTQLAAAAABJRU5ErkJggg=="},function(e,t,n){e.exports=n.p+"bb7f752540c7f4c7039c6dd6b5dd052e.svg"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA00lEQVR4Ae3QsbFBYRRF4Ru+WxgAmRIUo40HABR0Y4AMAJwD/DOHSAJrz6wC9ue5m2SyUakt9aS9dPjy9lLv8jnqUNxA/qSKdPjx1MB3YfKg3MpfUcJgmMIK0wTC1FKYERCmngfCw3ZPYOhjYYABBhhggAEGGGBmi/XBRsAAAwwwwAADDDDAAAMMMAQMMC/DxHPBwUbAAAMMMMAAAwwwwHwhzAgI01hhWkCYWgoTBsIU8WSKkwfjVl5NrjC+VAUlqKnFDcYBSkkdqf9DGP3L57RrcQQYywY2jValWAAAAABJRU5ErkJggg=="},function(e,t,n){e.exports=n.p+"7beab7b17eaa9ff7ceed3e5b1af274c2.png"},function(e,t,n){e.exports=n.p+"554a8e1a41c2e30cdb946396d3d336f2.png"},function(e,t,n){e.exports=n.p+"554a8e1a41c2e30cdb946396d3d336f2.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA1ElEQVR4Ae3Qt3GCQRRF4Q31l4X3RFACjeE95PSDJyX63VsQ0s48KcNz7swp4H7GXapYy0szaSWFUvTmhdLq+3PeofgB+ZL6UvThWQPPhWmB8lPrgpIFQ5W1MBMgVFMLswNCtTIg/FnwDwwBAwwwwLwqDDDAAEPmUG9EpAMGGGCAAQYYYIABBhhggCFggAHmRpnjIhmRDhhggAEGGGCAAeaVYXZAqPYWZgqEamphskCockZmcVpg/NSyJhcYTxqAkhxK3g+MA1SR5tL6gzDW35+rrkUMRyWg5OnZhnsAAAAASUVORK5CYII="},function(e,t,n){e.exports=n.p+"a92f116201fa7ff2b4acbb39f144ec60.png"},function(e,t,n){e.exports=n.p+"3a79cdd1d4af225247f2ba574b97ae78.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA00lEQVR4Ae3QsbFBYRRF4Ru+WxgAmRJuMdp4AEBBYoAMAJwD/DOHSAJrz6wC9ue5my3WUakl9aS9dPjy9lLv8jnqUNxA/qSydPjx1MB3YXKg3MpdUcJgmMIK0wDC1FSYERCmngfCw3ZPYOhjYYABBhhggAEGGGDi2c7BRsAAAwwwwAADDDDAAAMMMAQMMC/DTDLBwUbAAAMMMMAAAwwwwHwhzAgI01hhmkCYmgoTBsIU8WSKkwPjVk5NrjC+VAElqKrFDcYBSkltqf9DGP3L57RrcQSf308aqBih5wAAAABJRU5ErkJggg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAACZElEQVR4Ae3XA5MdQRQF4C1nf1iMUmzbtm3btm3bto3GIE5O+nZ2e/EUo/dO1XljfY3Xk5V/elWpUSmTNSZPTD6bwPN8NnmS886lHEQ+kGImS01QxEMG2flhFjCKy4JclBKMkZASBLMq3UGiQ18EW/YievAEcfQWsYoQnr8KNW0hXtVo7ivMaoJ5kXRn5cbQy9Yjfv0O8Zv3iHWMYPNuqKETIXsMhRo5FXrWUjquIGSzLj7APMlKtVOv2GhBKNGt+xAtuyNtzWrQHmr6IoSnL0H2HfW/w3xKCiO7DnI1JXqlIZp0ynyxqk2pidE5Bmbk/w6DpDDB3iOutuhFa9LXlDqtocbOsMtqzHTIfqMhWnSzTUxNme8XTPT4hYORHfunRjHNK7px13bI1Bm77XXbIjx3BXH0BnrVZm9gXDOiiKbpO9PgwHGEV25CtOpRcPvabbZpyYFjPa0x3Yekv0itVnYu2vQqWJva9/m6XK2ZR33MrkMOJk1TcJ2uGj2NmpSZT7cdNfUt4cXrkAPG+tXHyC4DC4xfRLs+aS+il21wHTV1uuGpC7TuHUzCOIaaFg3qUh0r+4w0mINcs1PDJ9tl0bqnXzBu5LtkLX0GEI6tQeGxM1AzF0ONmAJt5nrN1kxjHO9gXETb3gg27UJ05yHiIEb0UtrRrZo8z30r+Q/DYRiGYZhfDEP/OJzEMAzDMAzDMAzDMAzDMAzDMAzDcBiGYRiGYRiGYRjmP4V5wRAJeUkwqxkiIasJpgRDJKRkFk1mYQFjuCwgk1yYbJNlMaMsJwsHkw+ovMlak6dFCONpzjtXyG/xBXmD8WJmwaHRAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAADL0lEQVR4Ae3aA5PlQBQF4JRr/s3+ibVt27YLa9v22LZt27aR3M1NbV5l+u2rm0Vn1KfqLAY7218lt/tB0jNSVTOtsbk3NjymYmjW6h8wc9X3UcW0Lt+uFcN+HrvrRCDo6b77Qv96/Nx4raK2Xq272lkSm5rlu9c1rdkjqziAiUmsBsShYWiU7jvPxzMM229qnWxXCqJoC1mzGxgcAoZGsUcc9/0oYZpaemMQA1Ec4DiGoVEmIgx2hhQeWzkEaggcFsY0yu6TgRMRxk3CRePiKRwWZhKjYOsl/IMZHBZmLFBcfAqsgpE1GLM4LIyVKJsP+YIsK7Bmj5clODoMiSN3dOoIlqJcf5QAD1+nQnZ+E2AKS1vhzdcsePIuzSIYAqfj8AUbxEBAuGVXytUH8TA0JIMx/QPDcP56FF8YIIJXig1F74odWvsDwoDOv2/X775ngzGP3qRyn0kSLpR3/xXm5acMwLS09gEG/857Jk0IGN+QErh8K0b789FLYfDBOZv7TJKADs4UvHWMi8XbC28zPrfSOJhJkulHyQhjQCEeW3Eo/5nEwlAoWBy0+p/xSnF4Qp69hgMO95lEwOw+6fiYzx7wEIM/Dv+ZRMIQKCyMPc5qAofn0Z9DJRYFIVgUFkZfPA8cepu1CMYECsKxMDhoTePwP/pzgDGB4uiJKtM4/LdZTjAUigMY0zj8t1kOMAQKAWMOh/82ywGGRqFhCBxe2yz/XWmSlIUUMBsP+MDFm9EwPCzD5dsxsOdUkIDB/vDKB2Nefs4QMHr1gV1d2yVuJb2LNrtCbFINHLscBoHhZTBvvbOAGe+7koDB80pAeJmAYXvwXAgoigJrdnsJGGPd/YoA4+xVIGC8AoshKr4KsvKaQFHAlsrqTu3pgaCI8qkJc+RiKHR1D8Lv0tDUA9uP+k/dW2n/mWBgMzg4Auv2eosZ09c/DMbUNXSL4bvlkK8Nw9m7QJsvmPX7pvgVg8/J+oWWwsKNrtrf5651hlefM/EYPpVgRBGmWUDYtQVh3ASEXd0QZoaAsOtMCYPvhhYYo98ZrsM4qf0uUL7/QAuJCQLNV+uhtmEKYTT8WvMCo8VPIOyYI352OfYAAAAASUVORK5CYII="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAABiUlEQVR4Ae2btVZDQRRFU5IPw6VCK9wq3Glw+AWkwd2/CIvL4D7MwSHuybyTtXbs3inufpFR0+/bzd1jnmJPYVG8KqTmoEbLZ815cPBfSJZiHckGBw7Mv8UsfQfJ0peUHJ8gyYGYHZ8A2YUYh0+AWEx+A+QlgBhCMYBiKIZiKIZiKEZen1ql2DqWnuEZ6W7qlq6qVjziNd5H3GBixI0UC2vSVdkiXWWNAUFczK+q/Gv9xVzb3dLTPeorITDIRzuNxVzdSk//BIqNGLRDex3F4GuBIqMG7bUTc31mVb8ZzTGJQfvrU4teYsTqHoqLGbGyp5cYz+BUXMR4Bib1EuNu7I6LGHdNu15i0HmLgxiggRh+YvgbEzViJdn/SuzHsOfr1arny7ESR9exI66ld24l5G8O4shDvsFm8CwfM3hD0+jnYGIKj3iN9xHnnG+EUAzFUAzFUAzFUAzhHjz/OCFm1ydAdrnP1z+53BkeaGf4pxizYuOGUjbhwt9hi2LFvsJqIBnWz5pLfrt4A74eUlmbWrVhAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA50lEQVR4Ae3bNXIDMRhHcZXZg4Vjdz7CHsbXMLN9INdmd+bgX8HFKrTwvpnXa36NpAXjnZvy+EoN1VQ9qeffal1yk9CTmqqhurIGQZAz1foFgGTDhGspxwtTVc/AvFb9QLlQz8D4urAwfWBCDSzMEphQUxO5cGAegYkpJTDAALPdnxIdMMAAAwwwwAADDDCcfIEBBhhggAEGGGCASXIm+khMwAADDDDAAANM4jORBxz6ORhggAFmCUSolYUZABFqYGEugAh1aTQWpwpG4MvwdxhHtUFxO95/CbxABTVSsxxhzNRIFb0WL1+hXIFYSMwMAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA50lEQVR4Ae3bNXIDMRhHcZXZg4Vjdz7CHsbXMLN9INdmd+bgX8HFKrTwvpnXa36NpAXjnZvy+EoN1VQ9qeffal1yk9CTmqqhurIGQZAz1foFgGTDhGspxwtTVc/AvFb9QLlQz8D4urAwfWBCDSzMEphQUxO5cGAegYkpJTDAALPdnxIdMMAAAwwwwAADDDCcfIEBBhhggAEGGGCASXIm+khMwAADDDDAAANM4jORBxz6ORhggAFmCUSolYUZABFqYGEugAh1aTQWpwpG4MvwdxhHtUFxO95/CbxABTVSsxxhzNRIFb0WL1+hXIFYSMwMAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA50lEQVR4Ae3bNXIDMRhHcZXZg4Vjdz7CHsbXMLN9INdmd+bgX8HFKrTwvpnXa36NpAXjnZvy+EoN1VQ9qeffal1yk9CTmqqhurIGQZAz1foFgGTDhGspxwtTVc/AvFb9QLlQz8D4urAwfWBCDSzMEphQUxO5cGAegYkpJTDAALPdnxIdMMAAAwwwwAADDDCcfIEBBhhggAEGGGCASXIm+khMwAADDDDAAANM4jORBxz6ORhggAFmCUSolYUZABFqYGEugAh1aTQWpwpG4MvwdxhHtUFxO95/CbxABTVSsxxhzNRIFb0WL1+hXIFYSMwMAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAAvCAYAAABe1bwWAAAA50lEQVR4Ae3bNXIDMRhHcZXZg4Vjdz7CHsbXMLN9INdmd+bgX8HFKrTwvpnXa36NpAXjnZvy+EoN1VQ9qeffal1yk9CTmqqhurIGQZAz1foFgGTDhGspxwtTVc/AvFb9QLlQz8D4urAwfWBCDSzMEphQUxO5cGAegYkpJTDAALPdnxIdMMAAAwwwwAADDDCcfIEBBhhggAEGGGCASXIm+khMwAADDDDAAANM4jORBxz6ORhggAFmCUSolYUZABFqYGEugAh1aTQWpwpG4MvwdxhHtUFxO95/CbxABTVSsxxhzNRIFb0WL1+hXIFYSMwMAAAAAElFTkSuQmCC"},function(e,t,n){e.exports=n.p+"80bebd88344f603ad8e402de7c52ef6b.png"},function(e,t,n){e.exports=n.p+"e8b66317ab0dc9ba3bf8d41a4f3ec914.png"},function(e,t,n){e.exports=n.p+"8c49c7d4a59675bb6ceaee1bb80b5803.png"},function(e,t,n){e.exports=n.p+"1923b5f96b83785235595042bd7f5a0d.png"},function(e,t,n){e.exports=n.p+"975519fbbc36fb160a24151c26cf2063.png"},function(e,t,n){e.exports=n.p+"4a7e8a1c38d2b205bf0ed66287dc3878.svg"},function(e,t,n){e.exports=n.p+"094868bfb782f145d4fe5cd8dbc49cc7.svg"},function(e,t,n){e.exports=n.p+"9d089e5b57d6e0963e78689371f9fa02.svg"},function(e,t,n){e.exports=n.p+"cd5c9ccdf3c8d46d48107bfefcd4f44e.svg"},function(e,t,n){e.exports=n.p+"1379871eb798de836776ceb73641f44e.svg"},function(e,t,n){e.exports=n.p+"e78fc07369f1bb9b2f4f13aa6d230b64.svg"},function(e,t,n){e.exports=n.p+"f6025fcaa090a679651c6fe9d1bef154.svg"},function(e,t,n){e.exports=n.p+"e695fe6c90341251bc0fe15073c2d85b.svg"},function(e,t,n){e.exports=n.p+"e49a859a67fa70d84f1f61590b93fc44.svg"},function(e,t,n){e.exports=n.p+"a802da49292419853c585395032ab284.svg"},function(e,t,n){e.exports=n.p+"4bbe2360c233d56fd84a488e1c724d0d.svg"},function(e,t,n){e.exports=n.p+"02c27b408520f8a5cdcd82082c43f53e.svg"},function(e,t,n){e.exports=n.p+"8e1bc7bf4c317925b1e82e4be8b39baf.svg"},function(e,t,n){e.exports=n.p+"a61b14400491c0c070e80c99a05cda82.svg"},function(e,t,n){e.exports=n.p+"c01d9aac648747651e03ecd7425a3cae.svg"},function(e,t,n){e.exports=n.p+"f18cb914a14fb9e89f92c8be55bfc5e3.svg"},function(e,t,n){e.exports=n.p+"88eaec49c2caccea9de21e771de5d2c7.svg"},function(e,t,n){e.exports=n.p+"15eb2b4336a23cbbfb2c7f65983674ca.svg"},function(e,t,n){e.exports=n.p+"3f23733001b581f991045d7291133509.svg"},function(e,t,n){e.exports=n.p+"dd6306705766171944ab989133b6dabe.svg"},function(e,t,n){e.exports=n.p+"3c4b934ef4f5946945565c90236fd0fd.svg"},function(e,t,n){e.exports=n.p+"4ccc37c261c2e2d826b64fa9ce3dadf8.svg"},function(e,t,n){e.exports=n.p+"04fd4e2ef09ca386b46d09ea17ca6db9.svg"},function(e,t,n){e.exports=n.p+"2f0edb2adbf57b52c544b19d6a91d65d.svg"},function(e,t,n){e.exports=n.p+"afbffb7c24c3fbd62eed6347ec82e31c.svg"},function(e,t,n){e.exports=n.p+"29fd528b0715dff4581d750d450253f2.svg"},function(e,t,n){e.exports=n.p+"a0eeddbd92564fe91c151be1ed2df67a.svg"},function(e,t,n){e.exports=n.p+"07a1c54d94b121d2766944c4ef3b5e69.svg"},function(e,t,n){e.exports=n.p+"9a539501d669e53641503e73f4946b32.svg"},function(e,t,n){e.exports=n.p+"6627a630cfc1a9673158ed0d459ed0b7.svg"},function(e,t,n){e.exports=n.p+"0b8323ad8d6947ab2b5b874d8c12866d.svg"},function(e,t,n){e.exports=n.p+"b48f39cb189ba3712796dc24dc626e4d.svg"},function(e,t,n){e.exports=n.p+"4e76e551269f2f765ec756092d0a0735.svg"},function(e,t,n){e.exports=n.p+"8db08f31f1918f1bc6295ebe255f5520.svg"},function(e,t,n){e.exports=n.p+"9d3334bc4be7f586fc00eb2772eb331f.svg"},function(e,t,n){e.exports=n.p+"5f8852008dba7fe14a901637f559183a.svg"},function(e,t,n){e.exports=n.p+"2ea248c3dce94632b8b1d31d81aa768d.svg"},function(e,t,n){e.exports=n.p+"0c1b838cd2f467f5292126544358506e.svg"},function(e,t,n){e.exports=n.p+"703ed1cd4728c61677efc3239745dfa0.svg"},function(e,t,n){e.exports=n.p+"ade4b25a1fd9a5965358a7e11a39af96.svg"},function(e,t,n){e.exports=n.p+"1943b537414d2f03962fef04ef156678.svg"},function(e,t,n){e.exports=n.p+"6797c37fc1cd62176211eb4aad06e8b6.svg"},function(e,t,n){e.exports=n.p+"e054e26599b7b9fa70e4c713f3611c5c.svg"},function(e,t,n){e.exports=n.p+"184022bedf637f627695ac4eb6764725.svg"},function(e,t,n){e.exports=n.p+"2c90c551745e2e9a7ed1ba5013a7754f.svg"},function(e,t,n){e.exports=n.p+"19696347beb6c16e5a9d751085d948c5.svg"},function(e,t,n){e.exports=n.p+"1e677b5cb2c717643a41f4b7155f09c9.svg"},function(e,t,n){e.exports=n.p+"9216e2d5d9f0cf3ddb610e0dd9f098a7.svg"},function(e,t,n){e.exports=n.p+"efb55b06db8c656043b6dcda51eeb399.svg"},function(e,t,n){e.exports=n.p+"5e0529582f11d6d30e74ed3a28ac486e.svg"},function(e,t,n){e.exports=n.p+"1b30231e4bde33e074de5871d51497f7.svg"},function(e,t,n){e.exports=n.p+"8b328c672b6f834102fe49fbfa6591d9.svg"},function(e,t,n){e.exports=n.p+"aa5db0a8d2a08cd84d03c462dd322050.svg"},function(e,t,n){e.exports=n.p+"d2c729f672dd737a22e7f3e403d41e71.svg"},function(e,t,n){e.exports=n.p+"7ec13c049fe433a08fdc9545baec200e.svg"},function(e,t,n){e.exports=n.p+"3cad4f8ee9dcbc15976920a33dc44ddc.svg"},function(e,t,n){e.exports=n.p+"1f19240e4cb75bc359bf221d151a193e.svg"},function(e,t,n){e.exports=n.p+"082992efec251eeb481db94bca05af5a.svg"},function(e,t,n){e.exports=n.p+"1ee9758cfcc5784d60ec9bc9d4b71097.svg"},function(e,t,n){e.exports=n.p+"d01f3e5eb2a09a4b067ed09788c07407.svg"},function(e,t,n){e.exports=n.p+"9d6bb2763a7da84ecc739d8d54a93e05.svg"},function(e,t,n){e.exports=n.p+"6ff46fd914c993351e70852ec9f635b7.svg"},function(e,t,n){e.exports=n.p+"22c561b00abd4fa2b746445f9ba03bb5.svg"},function(e,t,n){e.exports=n.p+"17c76e8ad081575408af5a96b16bb0e9.svg"},function(e,t,n){e.exports=n.p+"f778ffa8d7fa91dc34b2ab543e50e0ba.svg"},function(e,t,n){e.exports=n.p+"0e1b3489b752297c26233895d554541e.svg"},function(e,t,n){e.exports=n.p+"0909810f3b137bee558f9af11bc9f07a.svg"},function(e,t,n){e.exports=n.p+"cf284aea8c5a88741efd4e128180366b.svg"},function(e,t,n){e.exports=n.p+"983b6e88a2c114526b7325bdfb7b8d43.svg"},function(e,t,n){e.exports=n.p+"427c845111c8328fb785dbfe7052337e.svg"},function(e,t,n){e.exports=n.p+"2fd4f1f724e48824f71bd5671adc410c.svg"},function(e,t,n){e.exports=n.p+"8d883ec84bc443ae733ac0eb1f72ed91.svg"},function(e,t,n){e.exports=n.p+"aa519db9517a6af12e3d81a3b37853ec.svg"},function(e,t,n){e.exports=n.p+"134dc85eff4ea63850df6e339216ca5f.svg"},function(e,t,n){e.exports=n.p+"e27cce1ad884f6ab221ccbae74a28db1.svg"},function(e,t,n){e.exports=n.p+"6d0147261ee596db0af9c04ccd93c8fc.svg"},function(e,t,n){e.exports=n.p+"42c8e75954826dd9cb589a6e17322f7a.svg"},function(e,t,n){e.exports=n.p+"f5a3b10342ad117da7530ae96caa1f5e.svg"},function(e,t,n){e.exports=n.p+"a9c94412aab983dee63f57bc2c096fae.svg"},function(e,t,n){e.exports=n.p+"b18d63f0622b60a8208245ef4ed7abc7.svg"},function(e,t,n){e.exports=n.p+"0dac5446771f2eca48da3bcaa813b85a.svg"},function(e,t,n){e.exports=n.p+"a002ff23dc7c7cb5be192a5e016e8574.svg"},function(e,t,n){e.exports=n.p+"be062c0379e4339e5bd787b328a273a4.svg"},function(e,t,n){e.exports=n.p+"313de0dadcef0e8da072cdfa249a3da1.svg"},function(e,t,n){e.exports=n.p+"f2099b7cb97462412803953c0b01332f.svg"},function(e,t,n){e.exports=n.p+"50118b4eac911e2134c145f4481e1eaf.svg"},function(e,t,n){e.exports=n.p+"d7911bd31655d985542bb6830922ac24.svg"},function(e,t,n){e.exports=n.p+"1e84dcfc334c0c9840816673d699acde.svg"},function(e,t,n){e.exports=n.p+"852828f0b5d3346065a03c47e040bb74.svg"},function(e,t,n){e.exports=n.p+"076c484e08095be7dbfef889a81ba45e.svg"},function(e,t,n){e.exports=n.p+"2ce8cb0f50dee269c33e89d1cb1963cd.svg"},function(e,t,n){e.exports=n.p+"cb76ccc83f396058efd1c53f213ea9d0.svg"},function(e,t,n){e.exports=n.p+"d7911bd31655d985542bb6830922ac24.svg"},function(e,t,n){e.exports=n.p+"f1a0e3e8dcb19efa8d501b2b1880e72f.svg"},function(e,t,n){e.exports=n.p+"10d58c34aa30f36de77e6d9c5341d4e7.svg"},function(e,t,n){e.exports=n.p+"ede3268aa377f9b55c96707b4332a518.svg"},function(e,t,n){e.exports=n.p+"3e544ea1ece2faef8549a45024d7737e.svg"},function(e,t,n){e.exports=n.p+"d34cbf26429b4216976994d571785e4d.svg"},function(e,t,n){e.exports=n.p+"0051f09eb008cf1dd3eae339aa7e062c.svg"},function(e,t,n){e.exports=n.p+"b7eba6a12f6ce777ada1f5bae010d065.svg"},function(e,t,n){e.exports=n.p+"26bce1410ca4a7e9992c342cfb0e7164.svg"},function(e,t,n){e.exports=n.p+"427c845111c8328fb785dbfe7052337e.svg"},function(e,t,n){e.exports=n.p+"e99e3416d4825a09c106d7dfe51939cf.svg"},function(e,t,n){e.exports=n.p+"6a8b400df911e6346e8b3d7274df2ed3.svg"},function(e,t,n){e.exports=n.p+"6c2b2176dab23f4abaceb3bf23338483.svg"},function(e,t,n){e.exports=n.p+"6ba3d4fe60567dfc22c4d86788ae8ffd.svg"},function(e,t,n){e.exports=n.p+"423ee255525f029e9b6d840ba3925a16.svg"},function(e,t,n){e.exports=n.p+"e6ce1fcb11b74bdfbdd1ac52b6d1a781.svg"},function(e,t,n){e.exports=n.p+"5a297a240bb6ff5492e018af0101c0c2.svg"},function(e,t,n){e.exports=n.p+"2dc43fb96038e11f83127735165c6362.svg"},function(e,t,n){e.exports=n.p+"c714a85da23812cca444b61f64307bd5.svg"},function(e,t,n){e.exports=n.p+"00c635d5b0b2f192e511df1250f86c56.svg"},function(e,t,n){e.exports=n.p+"7c43bf8fff165b3b4af2780babec28b3.svg"},function(e,t,n){e.exports=n.p+"69e3edf67cd93d578edf6e652808fd4d.svg"},function(e,t,n){e.exports=n.p+"b7eddb4c3e982c30e14ac7a54cccdcc9.svg"},function(e,t,n){e.exports=n.p+"87fed7a84a8a487a554ab645afee1ef0.svg"},function(e,t,n){e.exports=n.p+"97972f629a93e2a763b8c66053fe9f19.svg"},function(e,t,n){e.exports=n.p+"737e1ce1ff0963d10290fb70a8bdd020.svg"},function(e,t,n){e.exports=n.p+"da1a14794dd6bdf5a3f031f6d99cb9e8.svg"},function(e,t,n){e.exports=n.p+"bb93c0e2fee7242d4c7eb88a6212e1af.svg"},function(e,t,n){e.exports=n.p+"aa0c0b8e55c3e71302219218674aebe2.svg"},function(e,t,n){e.exports=n.p+"6d5c3c7789c95386efa74a4208f8d0a7.svg"},function(e,t,n){e.exports=n.p+"af664302dea9eab71858d360d3698061.svg"},function(e,t,n){e.exports=n.p+"e8d65f351c02a7b42562e55b15a1e6d9.svg"},function(e,t,n){e.exports=n.p+"0b8323ad8d6947ab2b5b874d8c12866d.svg"},function(e,t,n){e.exports=n.p+"4272fd4245d4bcc7ccf2acea6898283e.svg"},function(e,t,n){e.exports=n.p+"7b6e8d1d68b9c8fd00689680300a2ed7.svg"},function(e,t,n){e.exports=n.p+"1ea6864800c30887d4c810aabcdfefb5.svg"},function(e,t,n){e.exports=n.p+"f2a1ad637508714c905a69cd341894b4.svg"},function(e,t,n){e.exports=n.p+"1d40afe15ffa7e64157b3554a7f0e3aa.svg"},function(e,t,n){e.exports=n.p+"d8887fe73f8549f2e538be6120a94758.svg"},function(e,t,n){e.exports=n.p+"af05083c3601e8866a67d7bbe93d771b.svg"},function(e,t,n){e.exports=n.p+"57a60c047629ee6bd10d9f50952ecd03.svg"},function(e,t,n){e.exports=n.p+"6231ac51dbd0c0e5ebf4a558bc5daddd.svg"},function(e,t,n){e.exports=n.p+"095210ee036243cc58f4dfdeacc2658b.svg"},function(e,t,n){e.exports=n.p+"6eed577e184d922e97374184af656554.svg"},function(e,t,n){e.exports=n.p+"b18d63f0622b60a8208245ef4ed7abc7.svg"},function(e,t,n){e.exports=n.p+"24c4e5553b26421b478c3230feb5bec5.svg"},function(e,t,n){e.exports=n.p+"d7ec8b8de889d90fe95deb2344bc69fa.svg"},function(e,t,n){e.exports=n.p+"381c5f7e98dee6eacb990fa47c4e805f.svg"},function(e,t,n){e.exports=n.p+"f740368e08d0e77f34546769b88d7ca6.svg"},function(e,t,n){e.exports=n.p+"9a9325d2bfd83add09376a7f2d2e928a.svg"},function(e,t,n){e.exports=n.p+"8eb9e502ae4e7ecddab14030bab0b981.svg"},function(e,t,n){e.exports=n.p+"bb175ca1caf96d4d5a1901983b94149e.svg"},function(e,t,n){e.exports=n.p+"4f35695731fa0160f3d318160ff3cfba.svg"},function(e,t,n){e.exports=n.p+"bf5b3a6c0c677f13249b3b1c4142671d.svg"},function(e,t,n){e.exports=n.p+"98eab6564de066b2c863248b4ad2a1ef.svg"},function(e,t,n){e.exports=n.p+"6c9cc28a0b24c4316e9283d154414fbc.svg"},function(e,t,n){e.exports=n.p+"6827c56af5b9e6e20dfb42b637a1a215.svg"},function(e,t,n){e.exports=n.p+"dd42ccb05e4a3128ea58365f25986489.svg"},function(e,t,n){e.exports=n.p+"82403f8701f9e2f597886e18f92db5dc.svg"},function(e,t,n){e.exports=n.p+"8dbf53dd594cfb7290b96f79cf237e53.svg"},function(e,t,n){e.exports=n.p+"26c9e691d040fc6113591499faaa0490.svg"},function(e,t,n){e.exports=n.p+"aa9bff47c752d7b3800f3b0bc51d2fad.svg"},function(e,t,n){e.exports=n.p+"97ebb519eb1431ab4157115e160cd132.svg"},function(e,t,n){e.exports=n.p+"4235e81e6ad8369f983970cd0730d7ee.svg"},function(e,t,n){e.exports=n.p+"368d5e397d1de213216faaba8ccf8fa5.svg"},function(e,t,n){e.exports=n.p+"b52a60f33ef69fba800fa50bd2ea4135.svg"},function(e,t,n){e.exports=n.p+"01367cc80714099ae6202fec97a3e6c1.svg"},function(e,t,n){e.exports=n.p+"8f882c672ad1c882f584ba39fedf81d2.svg"},function(e,t,n){e.exports=n.p+"dbf699e6819fc3660a95c5d134dfc1af.svg"},function(e,t,n){e.exports=n.p+"fbe4a5541b160091b6ab36f65d1ddb27.svg"},function(e,t,n){e.exports=n.p+"37c6ea868dd65b99a2be9df3ec8592e9.svg"},function(e,t,n){e.exports=n.p+"ad7fbce63d2e541e1a52ce8dfad3fe18.svg"},function(e,t,n){e.exports=n.p+"c1faeebc309c132b689da7cec2176125.svg"},function(e,t,n){e.exports=n.p+"eb27c925b55d71644578c9642f030105.svg"},function(e,t,n){e.exports=n.p+"e497cd1e8efb86ec32b707a634ac2f91.svg"},function(e,t,n){e.exports=n.p+"c3ddc5fa27db7837c4215f6dc6b6420a.svg"},function(e,t,n){e.exports=n.p+"b773a54cbc605399ad76a97d05cda797.svg"},function(e,t,n){e.exports=n.p+"c5e4b6df957d7f68bfafac0fb0c7e144.svg"},function(e,t,n){e.exports=n.p+"5dec0be7440407fd74683561854d4371.svg"},function(e,t,n){e.exports=n.p+"b59d1d632480563885d66ad97661565c.svg"},function(e,t,n){e.exports=n.p+"286ee3c806ce51dccca5384a8cdcfbf7.svg"},function(e,t,n){e.exports=n.p+"ce1869d9d4ccdb6364078e97e574f745.svg"},function(e,t,n){e.exports=n.p+"32fd4bb3a268c1375f36acb8c806df88.svg"},function(e,t,n){e.exports=n.p+"427c845111c8328fb785dbfe7052337e.svg"},function(e,t,n){e.exports=n.p+"9b1284ec5c97e591b0ea1e1fd47de960.svg"},function(e,t,n){e.exports=n.p+"dd34e332d1245be7e26ad5b4c3861a02.svg"},function(e,t,n){e.exports=n.p+"17a822f5f2a6bb5493b2743c87367669.svg"},function(e,t,n){e.exports=n.p+"55d66a68007c7399a9118850bc0ce7c0.svg"},function(e,t,n){e.exports=n.p+"97e9ea435fd57b0ed035e5d9b0cb9d07.svg"},function(e,t,n){e.exports=n.p+"e508708061195f32eea31b847123b344.svg"},function(e,t,n){e.exports=n.p+"fe2b68690ba096a8b37f5bf7d9ae5a53.svg"},function(e,t,n){e.exports=n.p+"c66d747f8fdb558f9f8360f9e915700d.svg"},function(e,t,n){e.exports=n.p+"c30878a234398acdceb3948a84734072.svg"},function(e,t,n){e.exports=n.p+"9e51d6074748fb40ea58462e41c6ffe0.svg"},function(e,t,n){e.exports=n.p+"3ba0a0ac6bdf735615c3d1f235d10cfd.svg"},function(e,t,n){e.exports=n.p+"c9bf1f1439b8e08c40bba40b7352d0c2.svg"},function(e,t,n){e.exports=n.p+"177a86c5469056deb54cceb655495287.svg"},function(e,t,n){e.exports=n.p+"84127a388ce77985d21857900ca5536e.svg"},function(e,t,n){e.exports=n.p+"4099aad6de78c852dcd8f0a2823c9f6a.svg"},function(e,t,n){e.exports=n.p+"f27fbcd0c7a06889d0dc98c596c6ed82.svg"},function(e,t,n){e.exports=n.p+"60690ff78b97adb7841a88885e577a3e.svg"},function(e,t,n){e.exports=n.p+"0613f1d59c3833a7e1f4689b867e212a.svg"},function(e,t,n){e.exports=n.p+"05e934fc7cde7b2f9039522992cb0194.svg"},function(e,t,n){e.exports=n.p+"3949f122f1973ccac3ca121ae3d7098e.svg"},function(e,t,n){e.exports=n.p+"066a271a5952745f3c3e4bf6d84e0260.svg"},function(e,t,n){e.exports=n.p+"6c985f1e8a89a7e47d4f41390fcdfd75.svg"},function(e,t,n){e.exports=n.p+"77f9f6ac20daf7635be80498ca25004a.svg"},function(e,t,n){e.exports=n.p+"cca14fa61b9a4ebdf9d276d34b149e91.svg"},function(e,t,n){e.exports=n.p+"db4d1ff35cc97ce8052c8f35bc0b228c.svg"},function(e,t,n){e.exports=n.p+"976ad58b72428363dc066c0f99727424.svg"},function(e,t,n){e.exports=n.p+"b1896f31b8c84cd596cbb19750cc5528.svg"},function(e,t,n){e.exports=n.p+"5447756f69d33d7603ab6fa1f928b6c7.svg"},function(e,t,n){e.exports=n.p+"90c53ca8777cd78d2e6c11d9a3ab3345.svg"},function(e,t,n){e.exports=n.p+"dfff2966018a129437d004b752311a3f.svg"},function(e,t,n){e.exports=n.p+"16101289fed47d242d5b5472a636668b.svg"},function(e,t,n){e.exports=n.p+"56f2c6f0a1e2323ff28a7876fe527b4c.svg"},function(e,t,n){e.exports=n.p+"863e7b4191c77088c5d6a3938f96ac7c.svg"},function(e,t,n){e.exports=n.p+"48c744b55b0f90fd423950df2b0e43e4.svg"},function(e,t,n){e.exports=n.p+"f5a7b32001d29da8332c15ab467d0f1b.svg"},function(e,t,n){e.exports=n.p+"c101af3a8675b246d935fb6378925611.svg"},function(e,t,n){e.exports=n.p+"d3926aeb79620af749bace296a835181.svg"},function(e,t,n){e.exports=n.p+"e8d68be48436ec8436222104a442c8c5.svg"},function(e,t,n){e.exports=n.p+"c15bbdce086750e7d4b6fa48c7137e8d.svg"},function(e,t,n){e.exports=n.p+"9beef2aca06cba17a5bc9be877604322.svg"},function(e,t,n){e.exports=n.p+"483d626952c2735093120b512f27198f.svg"},function(e,t,n){e.exports=n.p+"27274e75c4108675db55c3384aeda464.svg"},function(e,t,n){e.exports=n.p+"3f99a2b8b5865a122996f29798d092a4.svg"},function(e,t,n){e.exports=n.p+"de0986654f40a7c1424eac5e02b254a4.svg"},function(e,t,n){e.exports=n.p+"30c6e4f2ed535c8446629189330465f5.svg"},function(e,t,n){e.exports=n.p+"b253e692bb65b5c0ede87177e78e8405.svg"},function(e,t,n){e.exports=n.p+"dbf758819d6aa9a95618aa098c9069d2.svg"},function(e,t,n){e.exports=n.p+"513cd6a1bfad788ffb55de6a7d8101e5.svg"},function(e,t,n){e.exports=n.p+"200197699874981bef63cac3bbf1cf0e.svg"},function(e,t,n){e.exports=n.p+"99e0684e21e47e6382e89f8400902279.svg"},function(e,t,n){e.exports=n.p+"370495016e00f9459438a21e790f2fb6.svg"},function(e,t,n){e.exports=n.p+"b24db4531d5f89cea9f586f99ae55643.svg"},function(e,t,n){e.exports=n.p+"e64837d5443118ed58e06cbd890e642f.svg"},function(e,t,n){e.exports=n.p+"9d3e1bf658df02b676a3dc430737b129.svg"},function(e,t,n){e.exports=n.p+"e4b276d04927069a7cc48cc3d10d3468.svg"},function(e,t,n){e.exports=n.p+"2e89a644f6c6a6583e46bb40a19197df.svg"},function(e,t,n){e.exports=n.p+"1833b371cf58d178074340b3d494f308.svg"},function(e,t,n){e.exports=n.p+"22a3a00b93d8079286a3b0835e259261.svg"},function(e,t,n){e.exports=n.p+"25b76b2c91327f6f874ced3071e03766.svg"},function(e,t,n){e.exports=n.p+"648865dd836c4fb9c200d5f1a8c63305.svg"},function(e,t,n){e.exports=n.p+"d1c2860cc16388d85512290fd3b0082a.svg"},function(e,t,n){e.exports=n.p+"bf7d9389ab36e9417de5e1ebbff03831.svg"},function(e,t,n){e.exports=n.p+"8ce943c5cdf07404d3e97d66c2b60361.svg"},function(e,t,n){e.exports=n.p+"eb304f95e4afb8d02931842c5029aaa6.svg"},function(e,t,n){e.exports=n.p+"704293d03df9db917bb774a4758c4a3a.svg"},function(e,t,n){e.exports=n.p+"b1896f31b8c84cd596cbb19750cc5528.svg"},function(e,t,n){e.exports=n.p+"17b9872ad7619bc557b058456b6ee229.svg"},function(e,t,n){e.exports=n.p+"8947528c5910d37ce3e228dce6d1d6a3.svg"},function(e,t,n){e.exports=n.p+"127285c6a83722e107c730385174e21f.svg"},function(e,t,n){e.exports=n.p+"a2b97800881142db2cef6cd37d8d7b89.svg"},function(e,t,n){e.exports=n.p+"35afcd7626fe8ec949f2139d9dd44eb7.svg"},function(e,t,n){e.exports=n.p+"ab5322a05e4547967764fac775a63a3d.svg"},function(e,t,n){e.exports=n.p+"537f59b6074b7a73ee3463cb0a85b7de.svg"},function(e,t,n){e.exports=n.p+"ed7a4b2613234be3cb37466e24408c13.svg"},function(e,t,n){e.exports=n.p+"0f75f1d6120f5d92faf8d14e88067344.svg"},function(e,t,n){e.exports=n.p+"3ca43b015b91646c99431a983227263e.svg"},function(e,t,n){e.exports=n.p+"72c693ac2b44318a1a6994baea9bc9ff.svg"},function(e,t,n){e.exports=n.p+"ef9bf283033b2394ba95665a6771cf4f.svg"},function(e,t,n){e.exports=n.p+"9e7e4d888e7491e22e49e1ef48b7c29e.svg"},function(e,t,n){e.exports=n.p+"cd93de6264fc8283d55f0c08a210dfe7.svg"},function(e,t,n){e.exports=n.p+"dfd0138445a13dfedc224b3958236752.svg"},function(e,t,n){e.exports=n.p+"1e3803f3e8dd845c0cf9c8d3fa6f3375.svg"},function(e,t,n){e.exports=n.p+"d56402ff4e4566d6736b6248c948c730.svg"},function(e,t,n){e.exports=n.p+"fb0ddc149ee17c52c40c15cbdb281f0d.svg"},function(e,t,n){e.exports=n.p+"36ca76755f547eb1d572d054806bca9c.svg"},function(e,t,n){e.exports=n.p+"5785ad352ab570a0eba548c203d55830.svg"},function(e,t,n){e.exports=n.p+"7dba70f57be34dd9481f41524e1621b7.svg"},function(e,t,n){e.exports=n.p+"dd59e1728cc004ee169b158bb2473763.svg"},function(e,t,n){e.exports=n.p+"061242599f4988d2f6f5b1c6ac64dcf0.svg"},function(e,t,n){e.exports=n.p+"c2e23b9109f674036e9343ed53eb2614.svg"},function(e,t,n){e.exports=n.p+"e131699d16bdfd1209dc7c77b65cd9c9.svg"},function(e,t,n){e.exports=n.p+"dc5d1f228892cc1a56cd510af5259948.svg"},function(e,t,n){e.exports=n.p+"075118aadf6c2a19850d54c0e58a120a.svg"},function(e,t,n){e.exports=n.p+"c60c05159c3f65db370d8d6108b9e38e.svg"},function(e,t,n){e.exports=n.p+"45e49f3ababf78d9e3f2ac494f988ddc.svg"},function(e,t,n){e.exports=n.p+"f7bec8b233e2a2b0b86bffb4e028ba7c.svg"},function(e,t,n){e.exports=n.p+"1a8f1c43f58e917b5269bfad503244a6.svg"},function(e,t,n){e.exports=n.p+"9ab404f5c81545a17d8d1cac30fb04b0.svg"},function(e,t,n){e.exports=n.p+"cf30c2c82e2c7162f15521e79c65fa29.svg"},function(e,t,n){e.exports=n.p+"7bfa2e5b9008c10c09723e470491fd98.svg"},function(e,t,n){e.exports=n.p+"9fc22a2774d7bb218a0dc9fe032e9d2c.svg"},function(e,t,n){e.exports=n.p+"7bfa2e5b9008c10c09723e470491fd98.svg"},function(e,t,n){e.exports=n.p+"c3b6bb03fba050cd3f89d0cd7b470b54.svg"},function(e,t,n){e.exports=n.p+"cbd6979ac4932bf6a7880f3502f71953.svg"},function(e,t,n){e.exports=n.p+"d054dc34be8c323352033df0ef614d2b.svg"},function(e,t,n){e.exports=n.p+"83faca83a55bc39ff24a0015a4153e26.svg"},function(e,t,n){e.exports=n.p+"b2d7999b171b0d6baeaeda65619fb621.svg"},function(e,t,n){e.exports=n.p+"0c8ea9ce196347055ff70d22395ad486.svg"},function(e,t,n){e.exports=n.p+"063d09a7899dfbe76d115481a581091e.svg"},function(e,t,n){e.exports=n.p+"25c795926ea4511540654c08150f2440.svg"},function(e,t,n){e.exports=n.p+"57c4dc5e07d9b43166ef75f7b2a3564b.svg"},function(e,t,n){e.exports=n.p+"2f782a315986620095695d6dd47d970e.svg"},function(e,t,n){e.exports=n.p+"84cc28d4d232ad0c4fa42c01b4d7a1d4.svg"},function(e,t,n){e.exports=n.p+"c647d6d54417d9fd257303552c8e7ab3.svg"},function(e,t,n){e.exports=n.p+"bd89c673a2855d4ce1c3614a49a2978b.svg"},function(e,t,n){e.exports=n.p+"58866d5e3b7bee4b45c92ae09451f86b.svg"},function(e,t,n){e.exports=n.p+"4f46750d80775185df691d51db7e9b13.svg"},function(e,t,n){e.exports=n.p+"ce48e2893d90c111c6a223b7293bb2a9.svg"},function(e,t,n){e.exports=n.p+"2a574bba6f49cb8c1facd34254e299be.svg"},function(e,t,n){e.exports=n.p+"f8cdd1a3cbae3e04023255f5ee1a6e29.svg"},function(e,t,n){e.exports=n.p+"6d975157bf496526db48222321db7dfb.svg"},function(e,t,n){e.exports=n.p+"82c125f1f3cede1f4096fa84f76b52cf.svg"},function(e,t,n){e.exports=n.p+"bc74fdcdbce8307c24f1f018e45eaca2.svg"},function(e,t,n){e.exports=n.p+"0efaeca3cb4b5fa83219b5637e8e4122.svg"},function(e,t,n){e.exports=n.p+"59b9aed7bbd7badd889af6bc4a586139.svg"},function(e,t,n){e.exports=n.p+"dfc29b9acfcee8e172a892340d9a351b.svg"},function(e,t,n){e.exports=n.p+"13137c4757a80d3a557ccbe1dcb2326c.svg"},function(e,t,n){e.exports=n.p+"2556ca47e43c136454f952dd8b8fc038.svg"},function(e,t,n){e.exports=n.p+"93a1ba2f70625ff7e50a5331b67afce9.svg"},function(e,t,n){e.exports=n.p+"812c9eb9cc16b5bc5010c771792356df.svg"},function(e,t,n){e.exports=n.p+"5f662a8a16551b942929b586f6ba6025.svg"},function(e,t,n){e.exports=n.p+"003b9bfcd87dadcf6d801b8a00798292.svg"},function(e,t,n){e.exports=n.p+"583fad5f3e1f3cf97d403bd593015268.svg"},function(e,t,n){e.exports=n.p+"33a2054fc8ddb133f9b77bb80890d4cc.svg"},function(e,t,n){e.exports=n.p+"1e41f8d3a45ff4987d95290aa072aebe.svg"},function(e,t,n){e.exports=n.p+"1deadd9669e097c128597412ac8da6d3.svg"},function(e,t,n){e.exports=n.p+"e3e43289d9ea623b43f389b6a4739d7f.svg"},function(e,t,n){e.exports=n.p+"5988fb83bc918e0c67298ddae5649b17.svg"},function(e,t,n){e.exports=n.p+"7ec607baa7e16e72348f5c2325460397.svg"},function(e,t,n){e.exports=n.p+"e7db03d352d6957f9f2cf83fbba2e400.svg"},function(e,t,n){e.exports=n.p+"09e6dcd34b6d48e8e85ecdc2f471df52.svg"},function(e,t,n){e.exports=n.p+"2c29a58a910e3a8b259b970a7062c421.svg"},function(e,t,n){e.exports=n.p+"d182716edc150e63958601807ae10a7a.svg"},function(e,t,n){e.exports=n.p+"2bc72481fc19657f00f8b5434088adf2.svg"},function(e,t,n){e.exports=n.p+"75fe725460e3dc0ee55505c8b2fdc7f5.svg"},function(e,t,n){e.exports=n.p+"09508d6d0cd7f3a2951e7ea99947dd86.svg"},function(e,t,n){e.exports=n.p+"e11c9b8bf583f75155f53c274778aace.svg"},function(e,t,n){e.exports=n.p+"9977cba86d13064d6cf530c3640d1e1d.svg"},function(e,t,n){e.exports=n.p+"4691e32e64eb0d4c43f29252415cfd61.svg"},function(e,t,n){e.exports=n.p+"44f1bf70f1494c759b9bf0afc95304fd.svg"},function(e,t,n){e.exports=n.p+"d1fff73b5411e88bba46ac2bc69398de.svg"},function(e,t,n){e.exports=n.p+"d176b3056d8d190eb654a0fd10e6e290.svg"},function(e,t,n){e.exports=n.p+"62067ffe12d7e210c8c806d11ad16452.svg"},function(e,t,n){e.exports=n.p+"e40b15e51f4fa295d6576ef6aff1128f.svg"},function(e,t,n){e.exports=n.p+"487af9f8669d2659ceb859f6dc7d2983.svg"},function(e,t,n){e.exports=n.p+"92ac01847b2211edd71e887284fec8ff.svg"},function(e,t,n){e.exports=n.p+"9c94147b257a3a5a0dbd0f7fcd4791df.svg"},function(e,t,n){e.exports=n.p+"adff2251b7e3ebe10afd9a8a60247c66.svg"},function(e,t,n){e.exports=n.p+"47cf96971026fd3f1ec205928ca0a38a.svg"},function(e,t,n){e.exports=n.p+"ba707587014c62095171df32dea6e3ef.svg"},function(e,t,n){e.exports=n.p+"7426a0580d4a95133cd33630a2a784f7.svg"},function(e,t,n){e.exports=n.p+"37d1f79e28eb2f7c32e82b7dd3fa6f9c.svg"},function(e,t,n){e.exports=n.p+"c99a3d6a322cc9afbe91df4cfe308cbb.svg"},function(e,t,n){e.exports=n.p+"72366676f1a35daf460d3d93f80d88d5.svg"},function(e,t,n){e.exports=n.p+"94f92220e0771fe0a71fee2f64aa78ae.svg"},function(e,t,n){e.exports=n.p+"beb0c376af200f686ff857f476214da5.svg"},function(e,t,n){e.exports=n.p+"c1a0005ba1012d40010af3dcace883d4.svg"},function(e,t,n){e.exports=n.p+"a72f4b91069731e019bb2ecd765cec45.svg"},function(e,t,n){e.exports=n.p+"8b0b7c1990c5ee39a2bafb3f9fb5b459.svg"},function(e,t,n){e.exports=n.p+"c00cc4a933e2b4920d4254bae11935fe.svg"},function(e,t,n){e.exports=n.p+"4fd22f2a340c7a2eaad9218c2521aebb.svg"},function(e,t,n){e.exports=n.p+"ca307d2c1ce9be6de43db70f55839499.svg"},function(e,t,n){e.exports=n.p+"fbc0ca8cac9f43e794b676cb7fd6cc9b.svg"},function(e,t,n){e.exports=n.p+"c5378fec22ac945da535a25e89322173.svg"},function(e,t,n){e.exports=n.p+"663c523aa6d80e3bb481c824ec589223.svg"},function(e,t,n){e.exports=n.p+"155bfbdb20961c08e586dffbf6f3ef2b.svg"},function(e,t,n){e.exports=n.p+"e2b9bf0158515ef6a6c4edcf9c2325e5.svg"},function(e,t,n){e.exports=n.p+"150db78e52c699a04a9feb46592ebf89.svg"},function(e,t,n){e.exports=n.p+"0af45b991f70fda65eb9992a21c82490.svg"},function(e,t,n){e.exports=n.p+"7fb143ba2eb69721e8335264f574f967.svg"},function(e,t,n){e.exports=n.p+"98d9aff8b86b1fabcd71074550d09cd6.svg"},function(e,t,n){e.exports=n.p+"de119213692744ef5a87a331435b065e.svg"},function(e,t,n){e.exports=n.p+"d16111b8a6dbc0ac0259026e13102437.svg"},function(e,t,n){e.exports=n.p+"97c156c2095cc1b900faf86dcce7b214.svg"},function(e,t,n){e.exports=n.p+"e724ebe35afdf2e7056b8730b3b4247d.svg"},function(e,t,n){e.exports=n.p+"6bf81ce7ef81aab8799951931e3fb230.svg"},function(e,t,n){e.exports=n.p+"8c5309c7dd9864ff56d106f1d9536499.svg"},function(e,t,n){e.exports=n.p+"a56e4d6cf086999a8870bb9c53f9c92c.svg"},function(e,t,n){e.exports=n.p+"62a0e503ad0041f3adb93b5d20b29359.svg"},function(e,t,n){e.exports=n.p+"35472711332a495fb96cdde559792ed6.svg"},function(e,t,n){e.exports=n.p+"e267c9682f3ebc0c94683311f5ba86c1.svg"},function(e,t,n){e.exports=n.p+"030e6d2efc368f721295748885f468c4.svg"},function(e,t,n){e.exports=n.p+"b0dd0b816f72d053dd9d307940831d3f.svg"},function(e,t,n){e.exports=n.p+"9afb57a619ce0678333ee027e5ee1b14.svg"},function(e,t,n){e.exports=n.p+"c0c3d14224896d2c097631cfb1f0a1d1.svg"},function(e,t,n){e.exports=n.p+"36dd886a3c4b4cbd95ce9b5c9b09b319.svg"},function(e,t,n){e.exports=n.p+"62dc78f6f9a73954e6454da485ea8147.svg"},function(e,t,n){e.exports=n.p+"b6fafe51f63db5e8c7ccc33b5bd84c0a.svg"},function(e,t,n){e.exports=n.p+"b26b930300cee75c3e86d5ac06cabd82.svg"},function(e,t,n){e.exports=n.p+"b16209365b7693d5f705a1ea450f7d45.svg"},function(e,t,n){e.exports=n.p+"5035c8a1d7423c77872979daff739850.svg"},function(e,t,n){e.exports=n.p+"807f95efa69990d7af33ed12a0f62817.svg"},function(e,t,n){e.exports=n.p+"dff3788a2facf7f845d5a556bca4b84e.svg"},function(e,t,n){e.exports=n.p+"746f57f37002009d0db8ae456329beb2.svg"},function(e,t,n){e.exports=n.p+"cb9350390bee90876d76088c32d6614d.svg"},function(e,t,n){e.exports=n.p+"9ca671f22bef7132cc6a245adfbb6f33.svg"},function(e,t,n){e.exports=n.p+"a14be676d662cda4d70be4b15fc0bbd8.svg"},function(e,t,n){e.exports=n.p+"1477eb87fb70989009ea4b337f6353ad.svg"},function(e,t,n){e.exports=n.p+"8234ccb1bad95b951ba3e44bf95214a6.svg"},function(e,t,n){e.exports=n.p+"ac68e5f170ef78d8bb8b7fae73d68a53.svg"},function(e,t,n){e.exports=n.p+"a2c2224e27cb6739fa8c8074b0ed2733.svg"},function(e,t,n){e.exports=n.p+"a4f65d197d2d32f3c91c96db998d487e.svg"},function(e,t,n){e.exports=n.p+"ffb5f4b99e0585db5b967bd44bb77a5b.svg"},function(e,t,n){e.exports=n.p+"bea76643724cd4de0da49b16f54eb1e9.svg"},function(e,t,n){e.exports=n.p+"52dc4e794e66fa9a88cefe291066e961.svg"},function(e,t,n){e.exports=n.p+"dc54ec2f7d2779b33e708fdb305baeea.svg"},function(e,t,n){e.exports=n.p+"e763ebe2d978ea25333708ba18d37db6.svg"},function(e,t,n){e.exports=n.p+"da468af45a3cd2a5cb40c62610ee0637.svg"},function(e,t,n){e.exports=n.p+"e004a3a2bfa42a5d749c86a3afb325a7.svg"},function(e,t,n){e.exports=n.p+"6e935b405970381b18c9b3fec0d8c686.svg"},function(e,t,n){e.exports=n.p+"804a42ae4de245f85cbc5eee348ab012.svg"},function(e,t,n){e.exports=n.p+"17fd7b929f912001259e8b7222b5ff2a.svg"},function(e,t,n){e.exports=n.p+"02e4fbcbf2ece779c9e0adbb842ccdcc.svg"},function(e,t,n){e.exports=n.p+"59d34a4f4f1c4cd43b83304ebf1f9407.svg"},function(e,t,n){e.exports=n.p+"be462f59d47da4a9314c1dc11842136e.svg"},function(e,t,n){e.exports=n.p+"e82ce0d17ebe97a2884a7e485bbbd73f.svg"},function(e,t,n){e.exports=n.p+"68f2d19eee1a02a16b6a77cf04bd0b53.svg"},function(e,t,n){e.exports=n.p+"b44a5e03d61a498b3d9b64d2bd4cab7a.svg"},function(e,t,n){e.exports=n.p+"4ca454e166b2afa9ef74ad954c93bd09.svg"},function(e,t,n){e.exports=n.p+"126f682c2b675d7bafc606d773169e7f.svg"},function(e,t,n){e.exports=n.p+"e9faa0cf8b68196acced35d681755756.svg"},function(e,t,n){e.exports=n.p+"b4db758a6551772dbd3fb0816b64c252.svg"},function(e,t,n){e.exports=n.p+"a74bd6e914728e9ba7f10e8f70b75df0.svg"},function(e,t,n){e.exports=n.p+"cae1451b839f414214f667f49ecd70f2.svg"},function(e,t,n){e.exports=n.p+"5c73429380867c917ff1d494e747676d.svg"},function(e,t,n){e.exports=n.p+"0b857a06c3e3748666d53f9e1c28d274.svg"},function(e,t,n){e.exports=n.p+"a5363ca427118a229f8449f1abe5690f.svg"},function(e,t,n){e.exports=n.p+"d7edfc4ab51e91e644b09f0b2d61a8b5.svg"},function(e,t,n){e.exports=n.p+"b606692f28666f0e692b19d920d3c6b1.svg"},function(e,t,n){e.exports=n.p+"cf4ef732eb8dc647928341cddab48b36.svg"},function(e,t,n){e.exports=n.p+"260e9e41b71d9e954d824e0df47786b0.svg"},function(e,t,n){e.exports=n.p+"44c4ef814686222cd0e7fbdbb4165916.svg"},function(e,t,n){e.exports=n.p+"9cb4585c4abac1921448ca433e65c21c.svg"},function(e,t,n){e.exports=n.p+"a1ea0f810fd17bf05c32df9bdc86754e.svg"},function(e,t,n){e.exports=n.p+"08c483393c3109ec7e69f7e3c47336a0.svg"},function(e,t,n){e.exports=n.p+"28754d9a4fc611d974e377eee8969be1.svg"},function(e,t,n){e.exports=n.p+"49b17ff287afeb1d5feffe0e7af3c2ec.svg"},function(e,t,n){e.exports=n.p+"004173a26af5bc31aa3ec9db2ad31eb5.svg"},function(e,t,n){e.exports=n.p+"3c97bd4978e173478233b8af4cbabe79.svg"},function(e,t,n){e.exports=n.p+"d02d2db4304bb6eb46c8da6e46f063c4.svg"},function(e,t,n){e.exports=n.p+"5e8ba2c916f0ec894ee141a31b16d347.svg"},function(e,t,n){e.exports=n.p+"797651f7e4a129779a076adcfb69b14b.svg"},function(e,t,n){e.exports=n.p+"af92e60c16b7019f34a467383b31490a.svg"},function(e,t,n){e.exports=n.p+"dc316fcde03ae5c5189eb19b682f5c37.svg"},function(e,t,n){e.exports=n.p+"afc2fb8fe35e0bcebf88c7a58a83dec9.svg"},function(e,t,n){e.exports=n.p+"4f7e968a9f51918bcd56429b57ffb619.svg"},function(e,t,n){e.exports=n.p+"771f1b2ac96411a6c12b14ed3d0279ba.svg"},function(e,t,n){e.exports=n.p+"8ae2c944431052f570dfbb743529504f.svg"},function(e,t,n){e.exports=n.p+"bd28dcbb121375a8c2eaa9e8bb65d883.svg"},function(e,t,n){e.exports=n.p+"bd479c1ecbab55df50ad81b6e7f5b71c.svg"},function(e,t,n){e.exports=n.p+"2bc8560ebf14cc0b478727ecc16733f1.svg"},function(e,t,n){e.exports=n.p+"2c6b6f0f9347f3a5d0c708eaf7aa9dbd.svg"},function(e,t,n){e.exports=n.p+"2113c50fce3233fa9f9095bae3d314b4.svg"},function(e,t,n){e.exports=n.p+"8867614f678828b9e0182baff4b3d1d6.svg"},function(e,t,n){e.exports=n.p+"bbfb5ecf0af3339a84e7f652234a0d84.svg"},function(e,t,n){e.exports=n.p+"0a093c2c2cbd9afd89ed5dc579db2a36.svg"},function(e,t,n){e.exports=n.p+"c9044dba240b715f6d8039d627fa9e4e.svg"},function(e,t,n){e.exports=n.p+"739c1934cfb00cde067e3d45d49c5a45.svg"},function(e,t,n){e.exports=n.p+"088958b946cca5e593f4ca8b4bfe2550.svg"},function(e,t,n){e.exports=n.p+"2dcce6668e085caf506bff23c5fdec59.svg"},function(e,t,n){e.exports=n.p+"a4fc3cdc6c4669dabe941e62b06f2d52.svg"},function(e,t,n){e.exports=n.p+"8567d5c31070ff2d904aa34c0498d728.svg"},function(e,t,n){e.exports=n.p+"3bdd464d3e777017e192ae69aeff4e7b.svg"},function(e,t,n){e.exports=n.p+"aff86787a4ad7497ce8edd504caef1ea.svg"},function(e,t,n){e.exports=n.p+"27c25991f438b821562612b07d2be0e9.svg"},function(e,t,n){e.exports=n.p+"06693c52dfaee40ef2cd448a7f36ed4b.svg"},function(e,t,n){e.exports=n.p+"37017a416c2a6ab030f0de3db9f6e73e.svg"},function(e,t,n){e.exports=n.p+"197b958b01f6012cd753e543c3efb214.svg"},function(e,t,n){e.exports=n.p+"16b88c2a4eaaf06abb389d8b7c06bb39.svg"},function(e,t,n){e.exports=n.p+"1b728acb33beb9640f696250c3de170d.svg"},function(e,t,n){e.exports=n.p+"612f3fc9dedfd368820b55c4cf259c07.svg"},function(e,t,n){e.exports=n.p+"63fd532a87e1a7957e0534db68dbec9d.svg"},function(e,t,n){e.exports=n.p+"1253194d77d7fedd3f0ceddcd69a1e9a.svg"},function(e,t,n){e.exports=n.p+"b5c7ee42504027bef1d01c238f8229f6.svg"},function(e,t,n){e.exports=n.p+"43be11ae9639bcf60c0e3a8d65de3b6c.svg"},function(e,t,n){e.exports=n.p+"a1dde7ef44b8960c407c4c1e0a68f72e.svg"},function(e,t,n){e.exports=n.p+"711fda2ac0c54e27bff54fd9a0d13565.svg"},function(e,t,n){e.exports=n.p+"21d68051c7a4301c231d206f9dd40d1a.svg"},function(e,t,n){e.exports=n.p+"ae5602ae96ca86cd8758f83cc83578bf.svg"},function(e,t,n){e.exports=n.p+"bbae6b9bd3d06c039ec917424473ee1a.svg"},function(e,t,n){e.exports=n.p+"30031f3c30951eed996e7bacdbbfb61f.svg"},function(e,t,n){e.exports=n.p+"9ce76cd10d14d89247c296388ef14b1c.svg"},function(e,t,n){e.exports=n.p+"df64ebe6692abcfafda9b13dfb27a1f3.svg"},function(e,t,n){e.exports=n.p+"269f6e131a6014360770f946afb002e9.svg"},function(e,t,n){e.exports=n.p+"ea95086d85218b1edebcd3d1246878ea.svg"},function(e,t,n){e.exports=n.p+"a0bf1bc997cdbd8115f3dbc8fd38f69d.svg"},function(e,t,n){e.exports=n.p+"a9c4bdab2900a9549cc718509c3ce323.svg"},function(e,t,n){e.exports=n.p+"8fcc8d0ef94613a8b00f6caa0c615037.svg"},function(e,t,n){e.exports=n.p+"e16c4e0b02500c326f7630b670b568c4.svg"},function(e,t,n){e.exports=n.p+"15f791f008a6df0056defdd8f728065d.svg"},function(e,t,n){e.exports=n.p+"cda117c8a77c5586180130e7dd84c9c9.svg"},function(e,t,n){e.exports=n.p+"5d1c4702f5cfaccd74882f2598c4ba0e.svg"},function(e,t,n){e.exports=n.p+"47535de9ad642a6045b1fd017b21aed5.svg"},function(e,t,n){e.exports=n.p+"8f58e04ab1a6dd3c9798877912c2cb93.svg"},function(e,t,n){e.exports=n.p+"e1df9f0dbfaa31ca2649515c8acd78ba.svg"},function(e,t,n){e.exports=n.p+"5229116797b54a6ce886b9517291aa0f.svg"},function(e,t,n){e.exports=n.p+"05b253435217af86a93a9b9716e7cd56.svg"},function(e,t,n){e.exports=n.p+"e52382056f97f305e32d8f14aa557526.svg"},function(e,t,n){e.exports=n.p+"0bc0dcbe06af597346a6cb69ce95ad46.svg"},function(e,t,n){e.exports=n.p+"0ceb447da6ca9eea6db4dae8058be578.svg"},function(e,t,n){e.exports=n.p+"f8f1c8f06f243c0ef11c6cd1fff83bc1.svg"},function(e,t,n){e.exports=n.p+"66d3d8bfdfa13f415f7d9da2bd5dc022.svg"},function(e,t,n){e.exports=n.p+"7d600babcd1bddfd7a7d35acc1ed4cd3.svg"},function(e,t,n){e.exports=n.p+"43df7da20ea936e1016d1ea5d79a2c6c.svg"},function(e,t,n){e.exports=n.p+"e6ec28237dfa28af53d648bdec0a3d0d.svg"},function(e,t,n){e.exports=n.p+"f73a8294c3ac519665af224d98bf411e.svg"},function(e,t,n){e.exports=n.p+"1adc9faf91526bb7a2c1d0b7b3516cae.svg"},function(e,t,n){e.exports=n.p+"242bfc0589b06e155df9b58b6dcd73e9.svg"},function(e,t,n){e.exports=n.p+"6bdac9f84dc45eb29c890530ca253741.svg"},function(e,t,n){e.exports=n.p+"bc55faff7081e38b9300f2cb4afa13f3.svg"},function(e,t,n){e.exports=n.p+"9385f5b0c3bd2064e47d8ce5964aad5a.svg"},function(e,t,n){e.exports=n.p+"1a27b6ad5cf99afee8fd1e5131ad7aec.svg"},function(e,t,n){e.exports=n.p+"b04f6915e15c402e7ea983b22b13b8e8.svg"},function(e,t,n){e.exports=n.p+"7cd0ac1b40b476783bdd24079a289434.svg"},function(e,t,n){e.exports=n.p+"7f0a428e2ec84074019763ca8f4d3ef1.svg"},function(e,t,n){e.exports=n.p+"6d8fcd27339ca609c6ae96db447b884e.svg"},function(e,t,n){e.exports=n.p+"c78b52229dc2aad445fd091453f4c75d.svg"},function(e,t,n){e.exports=n.p+"0001a47876ba109e8e5c58d1fae40622.svg"},function(e,t,n){e.exports=n.p+"2e6dbd914bcb249de840736a7e08187c.svg"},function(e,t,n){e.exports=n.p+"223419a47a35ce812668e837d97f13d0.svg"},function(e,t,n){e.exports=n.p+"255312d1086d2531262c3c7a035f0fb8.svg"},function(e,t,n){e.exports=n.p+"e4f25e5fa71c595bedb946c8e9d7e705.svg"},function(e,t,n){e.exports=n.p+"134deb1e8c02871d5d6a44fb51dc4f61.svg"},function(e,t,n){e.exports=n.p+"9e52666287b29fe1278c90321cad59e2.svg"},function(e,t,n){e.exports=n.p+"d977b95e9351c7c963f08887ecbf9b5e.svg"},function(e,t,n){e.exports=n.p+"4231b23e354bb421b7255ff27ce83ed2.svg"},function(e,t,n){e.exports=n.p+"71da9a646adaf928921268fb18610276.svg"},function(e,t,n){e.exports=n.p+"dc17a2d947066ca7446f9d3987e26e5a.svg"},function(e,t,n){e.exports=n.p+"c59c0f296073b1d950b930e6790762ca.svg"},function(e,t,n){e.exports=n.p+"b99cf66cfc7b9c857e4f68c342da939a.svg"},function(e,t,n){e.exports=n.p+"b99cf66cfc7b9c857e4f68c342da939a.svg"},function(e,t,n){e.exports=n.p+"94cfa771d29a750e7a26107223e7174f.svg"},function(e,t,n){e.exports=n.p+"4e99d686ae146ccd955abfc58c901fba.svg"},function(e,t,n){e.exports=n.p+"4e99d686ae146ccd955abfc58c901fba.svg"},function(e,t,n){e.exports=n.p+"e6dc81abf4049f62fd7db00d49c2582f.svg"},function(e,t,n){e.exports=n.p+"b13594a6e898d6428fd01ebbb5da1d4f.svg"},function(e,t,n){e.exports=n.p+"b13594a6e898d6428fd01ebbb5da1d4f.svg"},function(e,t,n){e.exports=n.p+"af33ea6234b86fb55000ebaa9657b338.svg"},function(e,t,n){e.exports=n.p+"33c839360447988d8836a0b8bc6b1082.svg"},function(e,t,n){e.exports=n.p+"33c839360447988d8836a0b8bc6b1082.svg"},function(e,t,n){e.exports=n.p+"ffadc3b38a4006118e49f36908b6098f.svg"},function(e,t,n){e.exports=n.p+"0b76e985ecf94d0b8b682ccb98e63785.svg"},function(e,t,n){e.exports=n.p+"0b76e985ecf94d0b8b682ccb98e63785.svg"},function(e,t,n){e.exports=n.p+"7840afcf0e8040ee8a74f2dc84a80fe3.svg"},function(e,t,n){e.exports=n.p+"684da156eee6f555554432a375b67205.svg"},function(e,t,n){e.exports=n.p+"684da156eee6f555554432a375b67205.svg"},function(e,t,n){e.exports=n.p+"34ef0a29124c6cca4eb9d6589d94e05c.svg"},function(e,t,n){e.exports=n.p+"6f7f79e501ad9afd5fa9208114e2b04a.svg"},function(e,t,n){e.exports=n.p+"6f7f79e501ad9afd5fa9208114e2b04a.svg"},function(e,t,n){e.exports=n.p+"e72ad15f4ffd6f1bf96227096a74bea3.svg"},function(e,t,n){e.exports=n.p+"d9bbfc310f193daa33c300b7210c1413.svg"},function(e,t,n){e.exports=n.p+"d9bbfc310f193daa33c300b7210c1413.svg"},function(e,t,n){e.exports=n.p+"3424bee031102847feecee89c14a598c.svg"},function(e,t,n){e.exports=n.p+"b7496307bd3b2f293fcdc8a1c57aec98.svg"},function(e,t,n){e.exports=n.p+"b7496307bd3b2f293fcdc8a1c57aec98.svg"},function(e,t,n){e.exports=n.p+"2ac911756c0861216cd388ffde2c33d6.svg"},function(e,t,n){e.exports=n.p+"f6cefac28b3997eb0dc793d4fc3bbaf4.svg"},function(e,t,n){e.exports=n.p+"f6cefac28b3997eb0dc793d4fc3bbaf4.svg"},function(e,t,n){e.exports=n.p+"be3b3c9e3b4cb6d0326829501feb898d.svg"},function(e,t,n){e.exports=n.p+"c201f335edb0c09d2a34b60c324f768e.svg"},function(e,t,n){e.exports=n.p+"c201f335edb0c09d2a34b60c324f768e.svg"},function(e,t,n){e.exports=n.p+"fdc039e76072fcf88b4963729328fdff.svg"},function(e,t,n){e.exports=n.p+"3e219e6ac2b1389b39ccbfb74b39414e.svg"},function(e,t,n){e.exports=n.p+"3e219e6ac2b1389b39ccbfb74b39414e.svg"},function(e,t,n){e.exports=n.p+"520ae4acfffdaebc3b15af5dabd5173c.svg"},function(e,t,n){e.exports=n.p+"81852462a750c8929dde05a924ed0343.svg"},function(e,t,n){e.exports=n.p+"d67664264e0bf429cffee191ce452849.svg"},function(e,t,n){e.exports=n.p+"e4fd49297934fcb555ba0dff952ba15d.svg"},function(e,t,n){e.exports=n.p+"1596fc7db16ac7f49c3617bfcbdc898f.svg"},function(e,t,n){e.exports=n.p+"8d59c7e89b11d63a03f180ec4be327e5.svg"},function(e,t,n){e.exports=n.p+"926941620448a2bb756262529fe2bbd9.svg"},function(e,t,n){e.exports=n.p+"bb38ab3106d26461f3703de34e699e09.svg"},function(e,t,n){e.exports=n.p+"b276cb78ae896507216721b470959e7a.svg"},function(e,t,n){e.exports=n.p+"baed78dd915c2058209edc028eead37a.svg"},function(e,t,n){e.exports=n.p+"dfa1ab02ab99e0d735dbb0a7e27e2f8f.svg"},function(e,t,n){e.exports=n.p+"ce312d28af8639b36942f2b08929ff53.svg"},function(e,t,n){e.exports=n.p+"ce312d28af8639b36942f2b08929ff53.svg"},function(e,t,n){e.exports=n.p+"76e04ccfbdcc4c7e8b3e0c17338ce77a.svg"},function(e,t,n){e.exports=n.p+"a35f8337a541380853072942c0b2e81a.svg"},function(e,t,n){e.exports=n.p+"a35f8337a541380853072942c0b2e81a.svg"},function(e,t,n){e.exports=n.p+"6c9fd1703b5fc9804ce9a3e5a9b0c72d.svg"},function(e,t,n){e.exports=n.p+"467d4aad8bd4e92ba89a0e6a72a878be.svg"},function(e,t,n){e.exports=n.p+"467d4aad8bd4e92ba89a0e6a72a878be.svg"},function(e,t,n){e.exports=n.p+"481bd5976eef279fbed5ea498e9ac693.svg"},function(e,t,n){e.exports=n.p+"8cd5ef306046bd20f5ada8a4d2880630.svg"},function(e,t,n){e.exports=n.p+"8cd5ef306046bd20f5ada8a4d2880630.svg"},function(e,t,n){e.exports=n.p+"8453b589bbe3bed467736228d10182bd.svg"},function(e,t,n){e.exports=n.p+"7825807fec728c83ad9c479c388a185a.svg"},function(e,t,n){e.exports=n.p+"7825807fec728c83ad9c479c388a185a.svg"},function(e,t,n){e.exports=n.p+"a91535bd563954738fcbaa7a9ed9489c.svg"},function(e,t,n){e.exports=n.p+"51195c57a9ec87c842f7614302532ae1.svg"},function(e,t,n){e.exports=n.p+"51195c57a9ec87c842f7614302532ae1.svg"},function(e,t,n){e.exports=n.p+"dc2a155dbee0adbbbcc5f1b9b3f57d0e.svg"},function(e,t,n){e.exports=n.p+"694fadf40a8e464a6353d7f9207f0640.svg"},function(e,t,n){e.exports=n.p+"694fadf40a8e464a6353d7f9207f0640.svg"},function(e,t,n){e.exports=n.p+"2fbddce6f60c556bf4950518f072045b.svg"},function(e,t,n){e.exports=n.p+"9fce2660f51334ca725eccbc4377330a.svg"},function(e,t,n){e.exports=n.p+"9fce2660f51334ca725eccbc4377330a.svg"},function(e,t,n){e.exports=n.p+"5e4e72ca388693610641d55beaa2dd8f.svg"},function(e,t,n){e.exports=n.p+"a319d79cc0f03037a9fd0e9ad3621b27.svg"},function(e,t,n){e.exports=n.p+"a319d79cc0f03037a9fd0e9ad3621b27.svg"},function(e,t,n){e.exports=n.p+"44e6be7dbad099fe6f0e464167dabd49.svg"},function(e,t,n){e.exports=n.p+"f1c5141c2c92214f5fc04ea29e55ac47.svg"},function(e,t,n){e.exports=n.p+"f1c5141c2c92214f5fc04ea29e55ac47.svg"},function(e,t,n){e.exports=n.p+"fdea1912b0552405a609399c25aa9bd0.svg"},function(e,t,n){e.exports=n.p+"45cab0045269874f4541ceee5c71ddda.svg"},function(e,t,n){e.exports=n.p+"45cab0045269874f4541ceee5c71ddda.svg"},function(e,t,n){e.exports=n.p+"7b208acf6651900375b4aae6d6657d61.svg"},function(e,t,n){e.exports=n.p+"06bc1ae80d100774c51ebcbd3824c982.svg"},function(e,t,n){e.exports=n.p+"06bc1ae80d100774c51ebcbd3824c982.svg"},function(e,t,n){e.exports=n.p+"8477e671ef37e23adf27ce8807dc9e6e.svg"},function(e,t,n){e.exports=n.p+"24b910446e9fcaa90bafefb6a0cd1701.svg"},function(e,t,n){e.exports=n.p+"24b910446e9fcaa90bafefb6a0cd1701.svg"},function(e,t,n){e.exports=n.p+"a33b92d5d6eb76b847f494de3f6e74af.svg"},function(e,t,n){e.exports=n.p+"bcf90f4afc96a2ddde884715e267005b.svg"},function(e,t,n){e.exports=n.p+"bcf90f4afc96a2ddde884715e267005b.svg"},function(e,t,n){e.exports=n.p+"064f3aa42838379c4d8bdf7b1062d0c7.svg"},function(e,t,n){e.exports=n.p+"e16d9a9fec520bcd767bef2f2bee8cd7.svg"},function(e,t,n){e.exports=n.p+"e16d9a9fec520bcd767bef2f2bee8cd7.svg"},function(e,t,n){e.exports=n.p+"0d3b6c210265ac9f57c5d0ddc293a734.svg"},function(e,t,n){e.exports=n.p+"880c28e78f4665ea4f2285b1d49c7922.svg"},function(e,t,n){e.exports=n.p+"880c28e78f4665ea4f2285b1d49c7922.svg"},function(e,t,n){e.exports=n.p+"efb85abde86c5f30a7b0e83eeab8025a.svg"},function(e,t,n){e.exports=n.p+"40ff23428022ef9a801339287b1c83db.svg"},function(e,t,n){e.exports=n.p+"40ff23428022ef9a801339287b1c83db.svg"},function(e,t,n){e.exports=n.p+"1282e8e777a2af973335771fc3496282.svg"},function(e,t,n){e.exports=n.p+"c019e4eac0f6fddbd204a341d57d0440.svg"},function(e,t,n){e.exports=n.p+"c019e4eac0f6fddbd204a341d57d0440.svg"},function(e,t,n){e.exports=n.p+"a7049ab21a937d9f6176d9b782b6980d.svg"},function(e,t,n){e.exports=n.p+"fc1956011b96828c246c19704512b50c.svg"},function(e,t,n){e.exports=n.p+"acbd737806c28613d7bb04ad80097540.svg"},function(e,t,n){e.exports=n.p+"525d1096f42da4d5f3f0f240c6e94651.svg"},function(e,t,n){e.exports=n.p+"a167f9c82ddbe9fbdcdfe36822463d02.svg"},function(e,t,n){e.exports=n.p+"2b74c0c2b1a7083a3d8215bcaf023799.svg"},function(e,t,n){e.exports=n.p+"371886a66446c46e66e9435158468720.svg"},function(e,t,n){e.exports=n.p+"1f243d997a3ed0db6ba05f3e1fec8014.svg"},function(e,t,n){e.exports=n.p+"31de7533e976bc9195ba03e62fc061de.svg"},function(e,t,n){e.exports=n.p+"275ae7c450b8262543d6a60e97642016.svg"},function(e,t,n){e.exports=n.p+"3cb171198ee370995f31d71a351e4479.svg"},function(e,t,n){e.exports=n.p+"01e114bffc312c399a9b8200143467a6.svg"},function(e,t,n){e.exports=n.p+"363bbba4eb98c97d0bb4e3943e6f8fa1.svg"},function(e,t,n){e.exports=n.p+"17dabf6188ff210e65f51f2ab425f8e0.svg"},function(e,t,n){e.exports=n.p+"6c36cca35a8dfcd43876f0ddd29cbe12.svg"},function(e,t,n){e.exports=n.p+"99d70e4c68f53a18c2ce3f6f1ec91e9b.svg"},function(e,t,n){e.exports=n.p+"b4006e1739443dbda80c2d0f0c046c8c.svg"},function(e,t,n){e.exports=n.p+"91820e51630aa00423526631bbebb769.svg"},function(e,t,n){e.exports=n.p+"94d120956308f3a8d120f10fca3c321e.svg"},function(e,t,n){e.exports=n.p+"904b7c9326d7282cce83957ae55fe61a.svg"},function(e,t,n){e.exports=n.p+"33c10c78983469d46ac697db0870650f.svg"},function(e,t,n){e.exports=n.p+"fe20714075186ac42f7bcb87eb1d5852.svg"},function(e,t,n){e.exports=n.p+"b685facca0cc20ad482b031b29f290bb.svg"},function(e,t,n){e.exports=n.p+"829b194fe7f4c20a60b9e9de764b33d7.svg"},function(e,t,n){e.exports=n.p+"b54a27edba0a9ebc8bfc0fee86c10025.svg"},function(e,t,n){e.exports=n.p+"987e6e5ad6b73717f167e124c9776eb3.svg"},function(e,t,n){e.exports=n.p+"46dad66c11e8cb5ce1fd3191af0292ed.svg"},function(e,t,n){e.exports=n.p+"6a5f0525a51eec6c7bcf1a00c799e935.svg"},function(e,t,n){e.exports=n.p+"7637cf80b97fd2e92befa6b0e6548b9a.svg"},function(e,t,n){e.exports=n.p+"970584d4400be7b36337b182e5919032.svg"},function(e,t,n){e.exports=n.p+"6cc6f3b71b909ad12a822a07a60378cc.svg"},function(e,t,n){e.exports=n.p+"e0d24860dc35915deed371660ce20e43.svg"},function(e,t,n){e.exports=n.p+"e2d7d5a149db87a3d32a906fbe391841.svg"},function(e,t,n){e.exports=n.p+"ea7399fa27ed7d125c181b67b5b0468c.svg"},function(e,t,n){e.exports=n.p+"c603d975d1311a7caa2d0d0e8790b270.svg"},function(e,t,n){e.exports=n.p+"94c64ab43aa561c6c14d5168dfc816e9.svg"},function(e,t,n){e.exports=n.p+"9c252d28ca4980d65054a0258052983b.svg"},function(e,t,n){e.exports=n.p+"1cc9f49b88b3373dd11112833af08826.svg"},function(e,t,n){e.exports=n.p+"594702565536835e8b5cb62a91df4254.svg"},function(e,t,n){e.exports=n.p+"183718e983ac8ed0bc00c0c485ee8d7e.svg"},function(e,t,n){e.exports=n.p+"885075cbaf384830f280fdc88e14723f.svg"},function(e,t,n){e.exports=n.p+"71419b0db7e6c2ae6cb2e27845bffc98.svg"},function(e,t,n){e.exports=n.p+"a34fc833d8692402e06c3775bdaf1603.svg"},function(e,t,n){e.exports=n.p+"df798b4bcce8a9fa963193cc54ccd5c5.svg"},function(e,t,n){e.exports=n.p+"de1a2435b75d7424d1b2b907114ae688.svg"},function(e,t,n){e.exports=n.p+"47e8fad310cc0285b5aa0e6a9242b08c.svg"},function(e,t,n){e.exports=n.p+"fb07213c634d7e56e971b9495e3e76cc.svg"},function(e,t,n){e.exports=n.p+"fbd53a45aadd5f24a8d01888e930f27c.svg"},function(e,t,n){e.exports=n.p+"46e45be07729e266fe1e21bfa9023005.svg"},function(e,t,n){e.exports=n.p+"1cb8b22ff3dcd7d9b9aa7f5b77bc677e.svg"},function(e,t,n){e.exports=n.p+"2fe998aa3ba8e1024f36f4cafa6401a4.svg"},function(e,t,n){e.exports=n.p+"02dbf4bc2b1a58ec099b14e73cd3fea0.svg"},function(e,t,n){e.exports=n.p+"3e5f9fbba5cd45c116b0a868509008b2.svg"},function(e,t,n){e.exports=n.p+"7f113473a29d9c7b7a954e669db5b167.svg"},function(e,t,n){e.exports=n.p+"383fefaa251f7732759be07707a6aa70.svg"},function(e,t,n){e.exports=n.p+"7f5f4bf5c926e4998426a60d7c5ba29c.svg"},function(e,t,n){e.exports=n.p+"e30e044accd084e550854c58a010bfea.svg"},function(e,t,n){e.exports=n.p+"7b4593dfab26a088a6483a2b6eacb0f7.svg"},function(e,t,n){e.exports=n.p+"55d33f73a3c0a7737a11f6bcdc341f09.svg"},function(e,t,n){e.exports=n.p+"fa748c8c84723bcc66bb3009a0229442.svg"},function(e,t,n){e.exports=n.p+"255ee7696b55ca3868d00eb4e52c922b.svg"},function(e,t,n){e.exports=n.p+"1675e9676a9416f3689590c220a38c13.svg"},function(e,t,n){e.exports=n.p+"3c5dba13de93507262fea339d4e32550.svg"},function(e,t,n){e.exports=n.p+"b2b6a3c4ecc6af020a67a160ea8a8bb8.svg"},function(e,t,n){e.exports=n.p+"b39eea19fdc9f773948cf64ccccebe8b.svg"},function(e,t,n){e.exports=n.p+"a38c4f69457767c7e362f32a20cfcd0e.svg"},function(e,t,n){e.exports=n.p+"b57b81cdf5618cbe809e3a425523a944.svg"},function(e,t,n){e.exports=n.p+"52df5e2c6d61b372cbaf75a278e17261.svg"},function(e,t,n){e.exports=n.p+"d4949506db2f4be8f969489d4e392965.svg"},function(e,t,n){e.exports=n.p+"9b50f422b930f0815b1c349815fd5b52.svg"},function(e,t,n){e.exports=n.p+"1b0f762c9c14b7dc308a80e9c456010a.svg"},function(e,t,n){e.exports=n.p+"42e685d97abaf277971bf5673732fe2f.svg"},function(e,t,n){e.exports=n.p+"3dad82af3995eb17a59a2e6d7b7df7b0.svg"},function(e,t,n){e.exports=n.p+"f1a79f1fefd94725135248214e72b9a4.svg"},function(e,t,n){e.exports=n.p+"d92014fedb8b81baab6ed750ba590a7b.svg"},function(e,t,n){e.exports=n.p+"d59493c473541bf5d036c56e996b152b.svg"},function(e,t,n){e.exports=n.p+"d5490de23fbacae20a790c830ba5cf0b.svg"},function(e,t,n){e.exports=n.p+"d9142d48843740db6d3f3f5d2900a1da.svg"},function(e,t,n){e.exports=n.p+"0460f909ad7af026badfc426a7e32f11.svg"},function(e,t,n){e.exports=n.p+"e144c6c0a7a2434f662208bf5b89b798.svg"},function(e,t,n){e.exports=n.p+"83c94a65a51a850f3d43aed9eb60e042.svg"},function(e,t,n){e.exports=n.p+"d18dfb118ca075e3ab7eed6ebc9f881c.svg"},function(e,t,n){e.exports=n.p+"6d51c298784d9f83dd9931ab7bedda9b.svg"},function(e,t,n){e.exports=n.p+"16c75fad5f214242fcc7a76074bdc80d.svg"},function(e,t,n){e.exports=n.p+"36cb5886ae3accf96c962ef823176596.svg"},function(e,t,n){e.exports=n.p+"24f401e5ee893e4a76f6628cb9991858.svg"},function(e,t,n){e.exports=n.p+"d49ca9caa1630189340a05e11c31b836.svg"},function(e,t,n){e.exports=n.p+"7a0c11d4a46373e2d313ba7b4f8b1141.svg"},function(e,t,n){e.exports=n.p+"03f65a2b1b7367dc7647ffc6e995b82a.svg"},function(e,t,n){e.exports=n.p+"4c896778d815af37a1a3f82e271b77b2.svg"},function(e,t,n){e.exports=n.p+"1b78123a5286af3af12ae91b105233b7.svg"},function(e,t,n){e.exports=n.p+"15c006d1e1f0418cbc60358da6512e62.svg"},function(e,t,n){e.exports=n.p+"a2fb1d552818beaefb7d4653da207cf0.svg"},function(e,t,n){e.exports=n.p+"50ea1e97a64ed97c5588f0126e315e45.svg"},function(e,t,n){e.exports=n.p+"e7479bab4adffd1e04a83d8068929cdb.svg"},function(e,t,n){e.exports=n.p+"3a4038e1fe59ffac18a805c38e24d3ea.svg"},function(e,t,n){e.exports=n.p+"ee1d926e9c46e677e2242925f8911597.svg"},function(e,t,n){e.exports=n.p+"04d668ecca6d551b0f08a73029ca43c9.svg"},function(e,t,n){e.exports=n.p+"84564edb3a34a7da402ae96da13baf58.svg"},function(e,t,n){e.exports=n.p+"a860a4e9c04e5cc2c8c48ebf51f7ed46.svg"},function(e,t,n){e.exports=n.p+"57ee57d9c14b7d8ea5cc28b7be7bbbf8.svg"},function(e,t,n){e.exports=n.p+"6a850d8ed7c8f8b3e63329a2c136ff41.svg"},function(e,t,n){e.exports=n.p+"fa4f3767ca6e775a52e2074c7cf593d7.svg"},function(e,t,n){e.exports=n.p+"93e586bb99dac8dfaf6e6555f8694181.svg"},function(e,t,n){e.exports=n.p+"d8225d4b952c1b5cc325e6e827da212a.svg"},function(e,t,n){e.exports=n.p+"1036416ac37e433260e450a69f98827c.svg"},function(e,t,n){e.exports=n.p+"2dc62d269672004b581d3e056151c938.svg"},function(e,t,n){e.exports=n.p+"ffda2444921b69228291fa50745022c9.svg"},function(e,t,n){e.exports=n.p+"04ff67f3321f9158ad57242a5412782b.svg"},function(e,t,n){e.exports=n.p+"6ab348e4b840f727d585c68cbc8dc074.svg"},function(e,t,n){e.exports=n.p+"495e6dc58a86913df2477399e3e78838.svg"},function(e,t,n){e.exports=n.p+"b55bcafd9f7f3267d0b94e71e6eb69ca.svg"},function(e,t,n){e.exports=n.p+"35e06b64acba7714e47cb907f1a51443.svg"},function(e,t,n){e.exports=n.p+"84b1d1707ea9de159b520a46e3f8a7c8.svg"},function(e,t,n){e.exports=n.p+"ccf4c733929efd9762ab02cd65175377.svg"},function(e,t,n){e.exports=n.p+"4a03a6605e65f9adb0684458cccd0963.svg"},function(e,t,n){e.exports=n.p+"14a28558668a65318bd7812da7d443bf.svg"},function(e,t,n){e.exports=n.p+"a6bc58ee59c6b95db9d0b0e90a3309ef.svg"},function(e,t,n){e.exports=n.p+"7b013022c076696b92666e0cdf5e308d.svg"},function(e,t,n){e.exports=n.p+"32d44be08c8084c039fdadb3631bc6b6.svg"},function(e,t,n){e.exports=n.p+"f3e6a4d75a98b40026f222293af0f425.svg"},function(e,t,n){e.exports=n.p+"1f51407ef0270c505af79ad0736f6a36.svg"},function(e,t,n){e.exports=n.p+"13c22b05b67e203010c9bdf7bef139ef.svg"},function(e,t,n){e.exports=n.p+"95504d9ee568b1fb4e405cf6d547a76b.svg"},function(e,t,n){e.exports=n.p+"ab86c7db6eaa9450989f1c1c6fc233a2.svg"},function(e,t,n){e.exports=n.p+"9455ecf858b24aa42d1f0fd842df7cb7.svg"},function(e,t,n){e.exports=n.p+"2e48b8609d115da852221f0e9ba373d3.svg"},function(e,t,n){e.exports=n.p+"742834817a7efb6bc8647e4b326b8dc0.svg"},function(e,t,n){e.exports=n.p+"dbdf73851d673c57783bb673cd92c2ac.svg"},function(e,t,n){e.exports=n.p+"1dc2d1d261117e88346765640e38eb47.svg"},function(e,t,n){e.exports=n.p+"03ba06f6abbf1e4e44ee591037c18c6b.svg"},function(e,t,n){e.exports=n.p+"d9d916014bf5e7a29b3f0a525b274d9a.svg"},function(e,t,n){e.exports=n.p+"2f3b4c7470135939fb64e70047cff69a.svg"},function(e,t,n){e.exports=n.p+"0c773ee0e2eba3c653b376bdaddd833f.svg"},function(e,t,n){e.exports=n.p+"d7862f15a6f0a0e067621e17c5dd9844.svg"},function(e,t,n){e.exports=n.p+"1d6a81def7effcd452f427fd83c2a53d.svg"},function(e,t,n){e.exports=n.p+"c3b50e0a2399559c80c84bc1766ca177.svg"},function(e,t,n){e.exports=n.p+"f9bafdf843585abcf8bec6aa1d831903.svg"},function(e,t,n){e.exports=n.p+"8d0adb29f66fa7124440e4a3350f02d9.svg"},function(e,t,n){e.exports=n.p+"432418d378a71e3c91cafacd7addbdb5.svg"},function(e,t,n){e.exports=n.p+"45d0611f6c143f30c3e4ecbdd4fa18de.svg"},function(e,t,n){e.exports=n.p+"96091367fb4ecabf745bb360d54af3ae.svg"},function(e,t,n){e.exports=n.p+"e60e16b4d0e0473e84e9253b6c31c9fe.svg"},function(e,t,n){e.exports=n.p+"a39988f482465dbfc556e51fdd453423.svg"},function(e,t,n){e.exports=n.p+"6f7698c03f9e9ae9c39a6bd56993c70f.svg"},function(e,t,n){e.exports=n.p+"5c2cc273a92041b91790559d1c8b43e0.svg"},function(e,t,n){e.exports=n.p+"fbb29bdd5dab3ae39abe229cb3e763f0.svg"},function(e,t,n){e.exports=n.p+"7abcbfdc7fccf059d790d5800d4547be.svg"},function(e,t,n){e.exports=n.p+"079d5f5bb53850bc4f42a142467c3e49.svg"},function(e,t,n){e.exports=n.p+"701f29d542d971338781ff3636e14c1d.svg"},function(e,t,n){e.exports=n.p+"924af7dbf7b21591877845884a0b4145.svg"},function(e,t,n){e.exports=n.p+"698f64baf79e432e2e58c3516314fc28.svg"},function(e,t,n){e.exports=n.p+"592b40127f1f7aae194df42ee7a31707.svg"},function(e,t,n){e.exports=n.p+"ac0237dbf2e4b33bfbe26f24d5ea0c10.svg"},function(e,t,n){e.exports=n.p+"6fc965fbef1b4aeb6167f652cd0544fc.svg"},function(e,t,n){e.exports=n.p+"5b47cfea434c291683dc4401a0e44a96.svg"},function(e,t,n){e.exports=n.p+"495ad2f944153c5b35803bdad20d3ce9.svg"},function(e,t,n){e.exports=n.p+"fb57c8c7cdcff1cd9aa283352318b1de.svg"},function(e,t,n){e.exports=n.p+"712ea87af1839b606e4bda2424b2b920.svg"},function(e,t,n){e.exports=n.p+"48e1b40a14ddf5574a4735547fbb7928.svg"},function(e,t,n){e.exports=n.p+"fadb5208b3cfe613768e0ea7a8d1156c.svg"},function(e,t,n){e.exports=n.p+"061ffa2a36a208deecfc76f7124c863a.svg"},function(e,t,n){e.exports=n.p+"056169e50ec7619a6dfc86407f0a29f6.svg"},function(e,t,n){e.exports=n.p+"b54cb6b1b1dabff69eceb5038d184877.svg"},function(e,t,n){e.exports=n.p+"9103c3a712c22ba68d539f694af1b58e.svg"},function(e,t,n){e.exports=n.p+"07214e70ff256be789f4bb9faf91a8fb.svg"},function(e,t,n){e.exports=n.p+"593c4a3437fbb5b89fbb148f7b96424d.svg"},function(e,t,n){e.exports=n.p+"43ef93dbc79067a88977eae6c9b20df5.svg"},function(e,t,n){e.exports=n.p+"4738f493074ab28831244b26665fec4b.svg"},function(e,t,n){e.exports=n.p+"cd1b618e8dbddf6db059cb3ff5f7c7a3.svg"},function(e,t,n){e.exports=n.p+"798f951628a840b0fc6cc37c1c956f60.svg"},function(e,t,n){e.exports=n.p+"e8e78b30eba6a84d1f22347e54cefc8b.svg"},function(e,t,n){e.exports=n.p+"b6f700d4bc253abdb5ad576917b756d8.svg"},function(e,t,n){e.exports=n.p+"19ba2cedf63495a8953eb65feb61abe2.svg"},function(e,t,n){e.exports=n.p+"5b64012fe41f7c9f53d8954766e87287.svg"},function(e,t,n){e.exports=n.p+"8cd817e8f214fef95cb48eb471cc50d3.svg"},function(e,t,n){e.exports=n.p+"885410d9d10be663f9c6c559b3abd1dd.svg"},function(e,t,n){e.exports=n.p+"647e193f787824f48d5c7e3fa9f99d50.svg"},function(e,t,n){e.exports=n.p+"2af915882260fdb89538d1610e1d9baa.svg"},function(e,t,n){e.exports=n.p+"fb405970b18df2babfbff8c0381c0a70.svg"},function(e,t,n){e.exports=n.p+"84952cb992ed567d514ec6c4c056c1d9.svg"},function(e,t,n){e.exports=n.p+"d2b5656704f3d247731e5d5231bb1901.svg"},function(e,t,n){e.exports=n.p+"1a65a7418d417e75309dc14777068b8e.svg"},function(e,t,n){e.exports=n.p+"a1e924fd1bbaa4aa54edc162e73018ed.svg"},function(e,t,n){e.exports=n.p+"9e1c3ddc9da7effefe8a370b7c33ed7b.svg"},function(e,t,n){e.exports=n.p+"d20b335ebf1d0128962f9027761bae64.svg"},function(e,t,n){e.exports=n.p+"2379e733c4c99aa8a263c15666d002ca.svg"},function(e,t,n){e.exports=n.p+"a8f3507993c75ca5f170e91a11bd3d5a.svg"},function(e,t,n){e.exports=n.p+"9fb39c363aeac987c3e2f88832941ce5.svg"},function(e,t,n){e.exports=n.p+"bdc4988f91bb09c3c0fb828d61f21ad8.svg"},function(e,t,n){e.exports=n.p+"79b9eb736bd31cd7d9ed23046929fda0.svg"},function(e,t,n){e.exports=n.p+"bbf0d1a7dad246cfe352d29b52d20f85.svg"},function(e,t,n){e.exports=n.p+"4b6595f25769e4b6002c88d44010f989.svg"},function(e,t,n){e.exports=n.p+"c6778940da985f2494d5978b594dd6bb.svg"},function(e,t,n){e.exports=n.p+"424558b2effb0ff0e83387bf9c32ee1c.svg"},function(e,t,n){e.exports=n.p+"293f098c910d602da21e8d8be5e7e835.svg"},function(e,t,n){e.exports=n.p+"0b8a25b6bf050e0cdc61f322e2c518d7.svg"},function(e,t,n){e.exports=n.p+"779fb0d7cf9afd16249ff8f82f0450e4.svg"},function(e,t,n){e.exports=n.p+"92808c626aa527f9f0a643744dccf49a.svg"},function(e,t,n){e.exports=n.p+"34e88504674828ff4c88b5e5279a794c.svg"},function(e,t,n){e.exports=n.p+"d49863f87f4f6b66c5cb52305d09cec7.svg"},function(e,t,n){e.exports=n.p+"d871549666e6353d20b8a60778a077e0.svg"},function(e,t,n){e.exports=n.p+"d1e9173d0ec63f19c136a027b037c735.svg"},function(e,t,n){e.exports=n.p+"33b9fde26b21aabfe60f2eee4eef6725.svg"},function(e,t,n){e.exports=n.p+"d0e1b6e9b80de517cc572abb68e15591.svg"},function(e,t,n){e.exports=n.p+"b4351e95f4ee4ba1ad225b996976a42b.svg"},function(e,t,n){e.exports=n.p+"107ffb947b49100f34ab72d32093da4a.svg"},function(e,t,n){e.exports=n.p+"2384e7ab2ccb8ba9f4434ca35a414bea.svg"},function(e,t,n){e.exports=n.p+"cf609ce2c1dd8d2ac6ec799d6bcc19ab.svg"},function(e,t,n){e.exports=n.p+"436c4e245d6573100d79a0f3d57fa0a3.svg"},function(e,t,n){e.exports=n.p+"fa53f108d432bc4086b5849c99a1cee0.svg"},function(e,t,n){e.exports=n.p+"f9b9ba8a54133d3e4fed11e512f43f83.svg"},function(e,t,n){e.exports=n.p+"6891601ed7363a53a8d81d8d661b564e.svg"},function(e,t,n){e.exports=n.p+"bcd5640706c77fef963998baa5d1d168.svg"},function(e,t,n){e.exports=n.p+"1ac6fb17c60570343eec4e81fe1e4073.svg"},function(e,t,n){e.exports=n.p+"56950b28b0de71b80cdb2fdb74affb03.svg"},function(e,t,n){e.exports=n.p+"1223c2e358973af4766acf976e941520.svg"},function(e,t,n){e.exports=n.p+"cb3eea8759d62489b21ccd3ee913c1c8.svg"},function(e,t,n){e.exports=n.p+"6c4d0054cae2d5847e3424fb5d2b134a.svg"},function(e,t,n){e.exports=n.p+"fb4a8e6926e9e0b38e9fd99485bfc9a1.svg"},function(e,t,n){e.exports=n.p+"2f022869c9118718bfb2a34bf09263e4.svg"},function(e,t,n){e.exports=n.p+"6f71142a04f30cb34de73e0146906486.svg"},function(e,t,n){e.exports=n.p+"edb8b37fbf45e240a6937aa532efa216.svg"},function(e,t,n){e.exports=n.p+"88e1c7830dd53d39ad610d683d72bd7a.svg"},function(e,t,n){e.exports=n.p+"8344ccdecbea75a8fa576abd992ba9ef.svg"},function(e,t,n){e.exports=n.p+"de17fa915aa42b815af40be4a23021be.svg"},function(e,t,n){e.exports=n.p+"6bc389e19ace588f464dfb12b5db29ed.svg"},function(e,t,n){e.exports=n.p+"91a5a8d03ea23395625a599d2bf31551.svg"},function(e,t,n){e.exports=n.p+"deec9e3217df2e54929fc60e7c1c51f9.svg"},function(e,t,n){e.exports=n.p+"60c15854817364e8cc890c854b597dbc.svg"},function(e,t,n){e.exports=n.p+"f995670421dee17b315914ff6d1765d2.svg"},function(e,t,n){e.exports=n.p+"d7514a3c879056a05a658dce2a5c2917.svg"},function(e,t,n){e.exports=n.p+"d1f78bf6c56d8de1d04a1b417fb27b9c.svg"},function(e,t,n){e.exports=n.p+"d1d785609683151b08257cef8b9c8cc2.svg"},function(e,t,n){e.exports=n.p+"44589c7ac8313a84193e0a77c60fa922.svg"},function(e,t,n){e.exports=n.p+"0d947e6851ee96db92ed380a8d3566ad.svg"},function(e,t,n){e.exports=n.p+"05573db5ee01f834ae3e2b780bd77bfe.svg"},function(e,t,n){e.exports=n.p+"a12efaa1d239c8c4eb48cf6ad5682858.svg"},function(e,t,n){e.exports=n.p+"569bbb6955b9e34661dd4b34230705f0.svg"},function(e,t,n){e.exports=n.p+"71fee70e83f90858477ba892f28a1f36.svg"},function(e,t,n){e.exports=n.p+"07aca82107936d6d54660e803340c652.svg"},function(e,t,n){e.exports=n.p+"c0d69fb48869c26d1636c382ca339b69.svg"},function(e,t,n){e.exports=n.p+"26da99ef1f71756d356e248c0b4ec98a.svg"},function(e,t,n){e.exports=n.p+"34b9fdf99e382bcc651a89ee14b0efe7.svg"},function(e,t,n){e.exports=n.p+"e038316e0bbe94aae1289d34bc5cffe1.svg"},function(e,t,n){e.exports=n.p+"c00cb9af716717d3cdc03d9147cd3124.svg"},function(e,t,n){e.exports=n.p+"115b933b37ff9d96c03b108c71a42b58.svg"},function(e,t,n){e.exports=n.p+"fed679a145c60df37a4f9bc268a5df6b.svg"},function(e,t,n){e.exports=n.p+"cc16c5333d9ddbbcc6f8035cb724f34d.svg"},function(e,t,n){e.exports=n.p+"c559e20da0355c974cca3ec189151f91.svg"},function(e,t,n){e.exports=n.p+"88843713494e52232d1ec62f3b19b7e7.svg"},function(e,t,n){e.exports=n.p+"de09cecc7e115236f0445c7b4295852a.svg"},function(e,t,n){e.exports=n.p+"71daebcdd7ea05467c0f905b7450dd24.svg"},function(e,t,n){e.exports=n.p+"21ba4295beaa4ec58ad94aae2c2566dc.svg"},function(e,t,n){e.exports=n.p+"add4ea4d7dc01edc140f11d8ad6f0d61.svg"},function(e,t,n){e.exports=n.p+"15b1bc417da4d2f7cacd0e4a1cc2a61f.svg"},function(e,t,n){e.exports=n.p+"281a340fad5dfcd8c1ba3203fce5e098.svg"},function(e,t,n){e.exports=n.p+"f5f0a0ffeacad8093f8d1b8028541070.svg"},function(e,t,n){e.exports=n.p+"6ae36f14098e17498fac5835be03cc97.svg"},function(e,t,n){e.exports=n.p+"d8eca0f1e87ae1716d1b81eed4078400.svg"},function(e,t,n){e.exports=n.p+"16dfa0d3ee465a97fca633e2895df354.svg"},function(e,t,n){e.exports=n.p+"2f27821d8d562558de43f8bd3f244b39.svg"},function(e,t,n){e.exports=n.p+"63589cfd3c6073a1bd2acaeedd3a30d7.svg"},function(e,t,n){e.exports=n.p+"074a4d75322bb57b952a2860c4adc736.svg"},function(e,t,n){e.exports=n.p+"27724138563571cd9e11babe9d1a1a3f.svg"},function(e,t,n){e.exports=n.p+"c6bcfde0d756efa595d2b75c600d9eaf.svg"},function(e,t,n){e.exports=n.p+"21b9e76bf0fce86c9df0e3c59ac69860.svg"},function(e,t,n){e.exports=n.p+"5658940e650117e7f2b79b65ae1594bd.svg"},function(e,t,n){e.exports=n.p+"c6ebb2cf172065c1e562fcbfd9dfe988.svg"},function(e,t,n){e.exports=n.p+"3e9180534e4139bd02b0e5349577111a.svg"},function(e,t,n){e.exports=n.p+"f6912ce47cec1b413bf7f3f59b82d352.svg"},function(e,t,n){e.exports=n.p+"7dabc597b1ea78206ed21282b6be7623.svg"},function(e,t,n){e.exports=n.p+"3efe5be3431976289abcd4772f3c5697.svg"},function(e,t,n){e.exports=n.p+"1368619437d27fc613552f1e18f357b3.svg"},function(e,t,n){e.exports=n.p+"31e2e2d2ed61a4f5f4ff1e9e764730e3.svg"},function(e,t,n){e.exports=n.p+"6be8c1a965b81c4abf4a4af3e860bd1d.svg"},function(e,t,n){e.exports=n.p+"2a8c3eac7d123bc505cab06bb4e5aff5.svg"},function(e,t,n){e.exports=n.p+"d07dd0b0534618591449e7985f72b48d.svg"},function(e,t,n){e.exports=n.p+"2c4fe809a38037fe8a3d0ca496f63030.svg"},function(e,t,n){e.exports=n.p+"91e5797eccd520d5d7eb823a66024a7a.svg"},function(e,t,n){e.exports=n.p+"a88fb71b14bafb6d1d66329ea0bb0088.svg"},function(e,t,n){e.exports=n.p+"f615bca189ca9cdc78f0318b4f537a31.svg"},function(e,t,n){e.exports=n.p+"539682b7248c96f194c3a2e55dbe8d9a.svg"},function(e,t,n){e.exports=n.p+"759b8edafa7e0655ceb3eea551fc62d8.svg"},function(e,t,n){e.exports=n.p+"780172b36a68e4239ede3b5902e22f64.svg"},function(e,t,n){e.exports=n.p+"bb551c71bd265c79f445397ec54c64d2.svg"},function(e,t,n){e.exports=n.p+"ca3ccb21c5ada1bdcf7b46745383dae3.svg"},function(e,t,n){e.exports=n.p+"71045aee631ba45b37d3c5033695b2c5.svg"},function(e,t,n){e.exports=n.p+"91b23aa3e1e83afc9b035f76d9b0b9ec.svg"},function(e,t,n){e.exports=n.p+"af632eae56443372955f230055f5a21f.svg"},function(e,t,n){e.exports=n.p+"c6abb41cb385a96f32e599925773c3f1.svg"},function(e,t,n){e.exports=n.p+"9722760cbc79f0c6f684f999713b42af.svg"},function(e,t,n){e.exports=n.p+"50b855f74e3274e9928d5e81b348e8c8.svg"},function(e,t,n){e.exports=n.p+"aee9f7ed50d14b27fc8420ddfbf62bb3.svg"},function(e,t,n){e.exports=n.p+"cabcb2b8088b26d44dcba7058096d935.svg"},function(e,t,n){e.exports=n.p+"97f3366214016dbbc07edccba3c5e04d.svg"},function(e,t,n){e.exports=n.p+"1c22061b73f93a37fd88cda8736911a2.svg"},function(e,t,n){e.exports=n.p+"b77f03b86b600f905cb12fca49cecf28.svg"},function(e,t,n){e.exports=n.p+"d9638b505b4e210f5393f0a659262160.svg"},function(e,t,n){e.exports=n.p+"0d7829a9e120dd3470f16950f11ee8b1.svg"},function(e,t,n){e.exports=n.p+"7b8765fc983598709ea4f94490674332.svg"},function(e,t,n){e.exports=n.p+"7a1413de5384c4e49b7431a42e65c542.svg"},function(e,t,n){e.exports=n.p+"7a450ee0926a1bea9c3e66399f518fa6.svg"},function(e,t,n){e.exports=n.p+"f8070cead720bd67c983bc2491961931.svg"},function(e,t,n){e.exports=n.p+"4fef1567104b9dfe6118410056afdaa8.svg"},function(e,t,n){e.exports=n.p+"4313ceda6c334a93302812c88777f60d.svg"},function(e,t,n){e.exports=n.p+"3f53a9c17f8d29e04bc0d868169abb93.svg"},function(e,t,n){e.exports=n.p+"66f9c64642dacabbc7047cb6fa315486.svg"},function(e,t,n){e.exports=n.p+"961976da305a5659b114afa2b084966b.svg"},function(e,t,n){e.exports=n.p+"0d23589714c14450b7777249442ab1b0.svg"},function(e,t,n){e.exports=n.p+"ef2582ee87b0deed05b76f11a2da7609.svg"},function(e,t,n){e.exports=n.p+"f38d0004c6863dca619f9e499d9d50d4.svg"},function(e,t,n){e.exports=n.p+"755b7b1a634ab31cfe472eece5756adc.svg"},function(e,t,n){e.exports=n.p+"90bd4b2fa0c0f354d9968f19b0424c6d.svg"},function(e,t,n){e.exports=n.p+"7b4c21d6b2137f572ccf1fc80af35e57.svg"},function(e,t,n){e.exports=n.p+"f19671972672661797e2aedbc78419e9.svg"},function(e,t,n){e.exports=n.p+"a50362b034c6bd0b222f50f76683ea2c.svg"},function(e,t,n){e.exports=n.p+"3da7bf8ffa4c78d96219c442cd623700.svg"},function(e,t,n){e.exports=n.p+"f17574309a0307a755597f689025db6c.svg"},function(e,t,n){e.exports=n.p+"64cfa52bad4bb65b203f6baa01e270e7.svg"},function(e,t,n){e.exports=n.p+"add7cba32706afd5b69fb263af4a49e1.svg"},function(e,t,n){e.exports=n.p+"e6571708105a444023ff55889ec314f7.svg"},function(e,t,n){e.exports=n.p+"bf495e8fbef54c4705ad44711afc41b2.svg"},function(e,t,n){e.exports=n.p+"3af316d68a58a39778d62a1323f44329.svg"},function(e,t,n){e.exports=n.p+"87ac9d09586c892a62368aed327d50a6.svg"},function(e,t,n){e.exports=n.p+"4189cb43e77a2cd3b64548b65dde257c.svg"},function(e,t,n){e.exports=n.p+"7c09f3d0979aa85c1f6869d21e9c5fed.svg"},function(e,t,n){e.exports=n.p+"1a55a94b439c00190aa3b353e4c455e1.svg"},function(e,t,n){e.exports=n.p+"d31f3237d6f64283c2fe3f90305bfd16.svg"},function(e,t,n){e.exports=n.p+"26d33aa82f5ff4a73a2ee14f04938650.svg"},function(e,t,n){e.exports=n.p+"906900c3a75d9a95d580f73f352e45be.svg"},function(e,t,n){e.exports=n.p+"1b75264578bd214440789e652a2f877e.svg"},function(e,t,n){e.exports=n.p+"f03b548a78f7a19596e01447becb6821.svg"},function(e,t,n){e.exports=n.p+"4540a32980ac2978a09bc68b690c4f69.svg"},function(e,t,n){e.exports=n.p+"23db9aa314959493a5d568de2454dce1.svg"},function(e,t,n){e.exports=n.p+"468cd167e873cdaa1d27c862e1a7046b.svg"},function(e,t,n){e.exports=n.p+"cde634e84c397fcf91664d348fba462f.svg"},function(e,t,n){e.exports=n.p+"6967f3fc353d2edc215563202b57e8ea.svg"},function(e,t,n){e.exports=n.p+"974e7b1f26e27a0c250b63abee91103c.svg"},function(e,t,n){e.exports=n.p+"7b3754860dec3b22b0cec7198f1cac42.svg"},function(e,t,n){e.exports=n.p+"32264ed26591fc1ac3ae940edefd0908.svg"},function(e,t,n){e.exports=n.p+"facb6a38327627528f1b6cf68b8471dc.svg"},function(e,t,n){e.exports=n.p+"cce39bbe4273baf82251940747b94e99.svg"},function(e,t,n){e.exports=n.p+"729f68a604bdb473480022b53091cab5.svg"},function(e,t,n){e.exports=n.p+"aa07440e157937898bfdbc3fa05fc60c.svg"},function(e,t,n){e.exports=n.p+"24119f733a2d9b523e8ede762e146560.svg"},function(e,t,n){e.exports=n.p+"e865d927daed301ac4ce03102a064560.svg"},function(e,t,n){e.exports=n.p+"77d250b4aa50598b06e2d4a756914677.svg"},function(e,t,n){e.exports=n.p+"6fcc9018fde2319ef05e73926213cb22.svg"},function(e,t,n){e.exports=n.p+"c91e9d017e9e3f07410d50dd991c3168.svg"},function(e,t,n){e.exports=n.p+"c73eac5246427a9720e8f1dbd4b1dec6.svg"},function(e,t,n){e.exports=n.p+"d0b9752c664f4f087935d8550a358e00.svg"},function(e,t,n){e.exports=n.p+"b61369c3271e88886c16a0fb03510ed5.svg"},function(e,t,n){e.exports=n.p+"61cde9de034a1491359cbb100fa8cfe0.svg"},function(e,t,n){e.exports=n.p+"6b1ae3fcae517d35ff1ab067ec156195.svg"},function(e,t,n){e.exports=n.p+"b22bdb02766689131dc531aa318c8f05.svg"},function(e,t,n){e.exports=n.p+"d2dd627319a2275659604860497f1b1f.svg"},function(e,t,n){e.exports=n.p+"b22519c989f90bd00f3fd651a8b54f42.svg"},function(e,t,n){e.exports=n.p+"d99e16917d6b35ea22bddeec975448bd.svg"},function(e,t,n){e.exports=n.p+"0e255b5bef0fb509910f94a41568e7ec.svg"},function(e,t,n){e.exports=n.p+"9f328ed44db0328c0aa8132742ad8efe.svg"},function(e,t,n){e.exports=n.p+"b03004f3e1a2df424422ec84889584d0.svg"},function(e,t,n){e.exports=n.p+"6cf214ca07666c9e996647fc5ad1ac68.svg"},function(e,t,n){e.exports=n.p+"bd0c39ee6f1209825bbc5ffdbdbd46d3.svg"},function(e,t,n){e.exports=n.p+"3f24b7e9b54e74454fe4d74438c3266f.svg"},function(e,t,n){e.exports=n.p+"aa92f2bda490f4051d6516882110b6cc.svg"},function(e,t,n){e.exports=n.p+"3f77c2b7341effe915a95d1754e6caa2.svg"},function(e,t,n){e.exports=n.p+"e37e6d26b7f7c6c54283c4cf29cca073.svg"},function(e,t,n){e.exports=n.p+"10b1b5027065131ac750ab5616e3afda.svg"},function(e,t,n){e.exports=n.p+"8a9d42c342ea05481f3f2ccc25ca6fc9.svg"},function(e,t,n){e.exports=n.p+"eb6b6077c2705c3dd757c656cb159a4a.svg"},function(e,t,n){e.exports=n.p+"2c8fe2ac684598af20df132345a2940c.svg"},function(e,t,n){e.exports=n.p+"7a3324997046d1a52c032fead74f266f.svg"},function(e,t,n){e.exports=n.p+"2f574aa4e18896dee31bc00a48b5f8ac.svg"},function(e,t,n){e.exports=n.p+"7dbd9c5c596f25d57ef9357a2ecf3f60.svg"},function(e,t,n){e.exports=n.p+"553e412260ee6284722283b0cbbcff5f.svg"},function(e,t,n){e.exports=n.p+"2b834061a977f1986fc8aa98c257e095.svg"},function(e,t,n){e.exports=n.p+"4be26c4858793180c78224c03b417daa.svg"},function(e,t,n){e.exports=n.p+"a488624ba9a775abef5a843dbaf71576.svg"},function(e,t,n){e.exports=n.p+"f31714ce221efea2cf3fe456a82f1ea0.svg"},function(e,t,n){e.exports=n.p+"d1368be296d1c24c1107bdb93944ac9a.svg"},function(e,t,n){e.exports=n.p+"e395b8888d96d3469bbd169113289493.svg"},function(e,t,n){e.exports=n.p+"7e46fbe6c6637975503382f78bafab80.svg"},function(e,t,n){e.exports=n.p+"2ba8734d6575137134bef374da5ddd7c.svg"},function(e,t,n){e.exports=n.p+"7bd048e20eb78d926f7354f1a45b50b2.svg"},function(e,t,n){e.exports=n.p+"e0415953eaecfb989d10a0c29b4bcc3a.svg"},function(e,t,n){e.exports=n.p+"a84b94d0bda82e3a9f48c5411894976b.svg"},function(e,t,n){e.exports=n.p+"b2a103b8be2bb0b7d6359bed8107f40c.svg"},function(e,t,n){e.exports=n.p+"f825a27019f07d6574718e7e37a9f436.svg"},function(e,t,n){e.exports=n.p+"de3534bfff17d72211162d97fe0293e9.svg"},function(e,t,n){e.exports=n.p+"29e551e0b08174e41c8caf90142315fd.svg"},function(e,t,n){e.exports=n.p+"e47ce3f10e5fbbeedf711e6cfc3c5b7b.svg"},function(e,t,n){e.exports=n.p+"66f302f8461db1329f81a6aa9405f793.svg"},function(e,t,n){e.exports=n.p+"6e1052f14bee3e9f1d35478c6bdfdb7f.svg"},function(e,t,n){e.exports=n.p+"42802f46b0aa384e7107c896560653b9.svg"},function(e,t,n){e.exports=n.p+"244debce1fe17bb778ef782545cc1e8d.svg"},function(e,t,n){e.exports=n.p+"2c83bab32ab4b6cce6943afbd9838c2d.svg"},function(e,t,n){e.exports=n.p+"95a82c575b84e3388c23dd7044f78157.svg"},function(e,t,n){e.exports=n.p+"7349db4ff7e76cb6f4326094ec9afea1.svg"},function(e,t,n){e.exports=n.p+"61b53f31d498de4856a98dd6abf6e440.svg"},function(e,t,n){e.exports=n.p+"e754eb17df4ecf6c190518855402f9a0.svg"},function(e,t,n){e.exports=n.p+"6a823e59e7e5ffcd70de4080c0582b67.svg"},function(e,t,n){e.exports=n.p+"4b21d2e52b90b6a06533fd3c6532e16c.svg"},function(e,t,n){e.exports=n.p+"c7e88d2073d9c0eb2ffe9baa1cf17d63.svg"},function(e,t,n){e.exports=n.p+"9a8a692ed115091877987af27552270f.svg"},function(e,t,n){e.exports=n.p+"65638e621eb2ba9f0b4c69be465074f8.svg"},function(e,t,n){e.exports=n.p+"d179b5423718a6a960e11dcd3c6ea36a.svg"},function(e,t,n){e.exports=n.p+"a72b78c62d629c0007a247259892c0a9.svg"},function(e,t,n){e.exports=n.p+"a6766926f559edd6b1bf1055a4535ccf.svg"},function(e,t,n){e.exports=n.p+"67053642fa4ba30d4ec42e2caf45f23b.svg"},function(e,t,n){e.exports=n.p+"55599daea60abb02b4e329fb613804b8.svg"},function(e,t,n){e.exports=n.p+"72f6fbbcb118c69759026d64f1215107.svg"},function(e,t,n){e.exports=n.p+"ebe6295cea7239943e0e5b17f6d12c6b.svg"},function(e,t,n){e.exports=n.p+"f3a9b0085790253a86ed092657832600.svg"},function(e,t,n){e.exports=n.p+"cdf459c6a4ea2c5b9ad7f4621ca4907b.svg"},function(e,t,n){e.exports=n.p+"e4d59aa8c6895149ac2827e05e9a2c6c.svg"},function(e,t,n){e.exports=n.p+"e6625196ca50fc8eef9a17bf3dd5351d.svg"},function(e,t,n){e.exports=n.p+"b282365caebda0563b934dc1b216203e.svg"},function(e,t,n){e.exports=n.p+"65369911407dc01a88f7f0285336f610.svg"},function(e,t,n){e.exports=n.p+"d2119813477a4ffcfd4b2a2adf4df31c.svg"},function(e,t,n){e.exports=n.p+"cfda3627af1e1ca1173bd1afd1be9800.svg"},function(e,t,n){e.exports=n.p+"a1f7c0c7a033443eefc884f2cb318858.svg"},function(e,t,n){e.exports=n.p+"c3e83211824856e4b975bfe25cade457.svg"},function(e,t,n){e.exports=n.p+"aca3f15433a2447e4dbead90748d6354.svg"},function(e,t,n){e.exports=n.p+"3e5d691f493ef8a7dc045c82ccf3aa99.svg"},function(e,t,n){e.exports=n.p+"6aa7bc861a83c06712346a14747135ad.svg"},function(e,t,n){e.exports=n.p+"55b5f668d88a3218f39a65b8f90a50eb.svg"},function(e,t,n){e.exports=n.p+"05c6aa228dea1e4eefbe75ad9d2462bc.svg"},function(e,t,n){e.exports=n.p+"096fd3aa26f4bb45357937396a43593a.svg"},function(e,t,n){e.exports=n.p+"8e0f07678b46e884daf03c3aa7f88999.svg"},function(e,t,n){e.exports=n.p+"08698a8b0b2863f6094b77591e0400dd.svg"},function(e,t,n){e.exports=n.p+"7daead1dc2e01c2e5f495a41dc5ce1b5.svg"},function(e,t,n){e.exports=n.p+"9e99930ea05d6cb5253d0c54ac04e6b8.svg"},function(e,t,n){e.exports=n.p+"dc86131f2a0d2aa9f34acfdd5e86d60a.svg"},function(e,t,n){e.exports=n.p+"50fb02d95d7608bc1d8af748b1f022b6.svg"},function(e,t,n){e.exports=n.p+"cfabc5213b2c64ad7af00c51004f8ed4.svg"},function(e,t,n){e.exports=n.p+"cca1ca06b215a4f5595eff142e5ed71d.svg"},function(e,t,n){e.exports=n.p+"3dbf228b32db69a1a9792d0764b7b6fc.svg"},function(e,t,n){e.exports=n.p+"59ee93ba916212f895bc9d9faeb72feb.svg"},function(e,t,n){e.exports=n.p+"6055b466870e1c3b58e425e8dc91f5b3.svg"},function(e,t,n){e.exports=n.p+"71ec28a0f1da79b4103929af1693a6a5.svg"},function(e,t,n){e.exports=n.p+"714168a84bb176a5e442fb56346d56b2.svg"},function(e,t,n){e.exports=n.p+"7ab8b06f270b50980de42650a7fffcc9.svg"},function(e,t,n){e.exports=n.p+"05991af9b189f7e17f230021a696829e.svg"},function(e,t,n){e.exports=n.p+"e7274611aac6626bc22be38d8166ab70.svg"},function(e,t,n){e.exports=n.p+"742de74d914c2ea221a28ad62015189a.svg"},function(e,t,n){e.exports=n.p+"f4aebd7ac1c1c145b826f79e0d7366e9.svg"},function(e,t,n){e.exports=n.p+"0b242cf7dc9d2a4133943f8718f019e2.svg"},function(e,t,n){e.exports=n.p+"ad8ccd0093ef970ad3d05904369e7331.svg"},function(e,t,n){e.exports=n.p+"b9d9a2715cce7f809e0f281a5fbcde44.svg"},function(e,t,n){e.exports=n.p+"d8b0987deb221bc13bcaf5435601e61d.svg"},function(e,t,n){e.exports=n.p+"893be68d04214d48ef53f17ab301481e.svg"},function(e,t,n){e.exports=n.p+"66e6509af4613205f3bd656471b8a5ec.svg"},function(e,t,n){e.exports=n.p+"c2dbbb306ea2e3168752edfb73fb5cd8.svg"},function(e,t,n){e.exports=n.p+"0c3b6658966650f40e57f97614f0016a.svg"},function(e,t,n){e.exports=n.p+"e2e97b40238452066cd09df19da483eb.svg"},function(e,t,n){e.exports=n.p+"cf6f46992630f2ae421bac12516bd38e.svg"},function(e,t,n){e.exports=n.p+"2da6329f84ca822d6493c19a1b389952.svg"},function(e,t,n){e.exports=n.p+"71f023c321433cc619984e7248d9422f.svg"},function(e,t,n){e.exports=n.p+"a279dac55ce808f1f0490a3c4084b626.svg"},function(e,t,n){e.exports=n.p+"13ffee2bf9e5542fd592a38c80e93a39.svg"},function(e,t,n){e.exports=n.p+"4f916b4d4139b90b19ffb3eeb8e376f6.svg"},function(e,t,n){e.exports=n.p+"175753f47c4d8f06b4977920479a27d3.svg"},function(e,t,n){e.exports=n.p+"815fb767303df6eda484a4f6632bb767.svg"},function(e,t,n){e.exports=n.p+"4e2293fd5dd39f9dffa4a081d49eee85.svg"},function(e,t,n){e.exports=n.p+"b0e3b6349576dab29bb73df4b4ce274e.svg"},function(e,t,n){e.exports=n.p+"16f6089f47c4fb7b7bdf8ae57bfd4351.svg"},function(e,t,n){e.exports=n.p+"570a9fecc052874ae0842f1a95f57cda.svg"},function(e,t,n){e.exports=n.p+"51e6ffb5e64dbb6572dae6beeb4ed310.svg"},function(e,t,n){e.exports=n.p+"2f7bdad354da46b0538a489950e14691.svg"},function(e,t,n){e.exports=n.p+"325fab67325191391072cae2d0afa82a.svg"},function(e,t,n){e.exports=n.p+"325fab67325191391072cae2d0afa82a.svg"},function(e,t,n){e.exports=n.p+"11d0c64c4028fe40198b4f9ffb0f2da7.svg"},function(e,t,n){e.exports=n.p+"d986361cc1e831834a39632a5edc7890.svg"},function(e,t,n){e.exports=n.p+"d986361cc1e831834a39632a5edc7890.svg"},function(e,t,n){e.exports=n.p+"7b78505137d139c7e5c2883ad508aa98.svg"},function(e,t,n){e.exports=n.p+"013ce7c7b8232cca46cc3b40a8d8622a.svg"},function(e,t,n){e.exports=n.p+"013ce7c7b8232cca46cc3b40a8d8622a.svg"},function(e,t,n){e.exports=n.p+"d1f4e3a52cd3b9639ff43ea0deb13393.svg"},function(e,t,n){e.exports=n.p+"0d1bca5946c6910e27d957929827ff37.svg"},function(e,t,n){e.exports=n.p+"0d1bca5946c6910e27d957929827ff37.svg"},function(e,t,n){e.exports=n.p+"788862d7d2a168a9d95d3a8c7d26028b.svg"},function(e,t,n){e.exports=n.p+"71b739606c8968070acbbc8b60b07d42.svg"},function(e,t,n){e.exports=n.p+"71b739606c8968070acbbc8b60b07d42.svg"},function(e,t,n){e.exports=n.p+"fafd7bd5d04f28450c246f0ce71bfedc.svg"},function(e,t,n){e.exports=n.p+"27ea5cf73c2aabb6e8bf523e117ff5dc.svg"},function(e,t,n){e.exports=n.p+"27ea5cf73c2aabb6e8bf523e117ff5dc.svg"},function(e,t,n){e.exports=n.p+"5b42fc2496caa87aad4ac3478bcd332d.svg"},function(e,t,n){e.exports=n.p+"e2545f9617a228ec66f99f3697fdd340.svg"},function(e,t,n){e.exports=n.p+"5b42fc2496caa87aad4ac3478bcd332d.svg"},function(e,t,n){e.exports=n.p+"95049dd5a5fc7d5ce0e255e557db870a.svg"},function(e,t,n){e.exports=n.p+"459b9e4d1b759cb81d2e3bea6c9d85bb.svg"},function(e,t,n){e.exports=n.p+"fd8164769b3b4ff777b430479ba78f45.svg"},function(e,t,n){e.exports=n.p+"28bd65540257cc4eb5c574f3e3a3fb71.svg"},function(e,t,n){e.exports=n.p+"1d152219dab1d0aafa864447a3eb46cd.svg"},function(e,t,n){e.exports=n.p+"d17b793b9284750b82a660da66de341e.svg"},function(e,t,n){e.exports=n.p+"351a5d9a2facedc0450b6dd573ee835d.svg"},function(e,t,n){e.exports=n.p+"c90307f07b761f5cb95ef6e2bc7b7bc2.svg"},function(e,t,n){e.exports=n.p+"c90307f07b761f5cb95ef6e2bc7b7bc2.svg"},function(e,t,n){e.exports=n.p+"7e46fbe6c6637975503382f78bafab80.svg"},function(e,t,n){e.exports=n.p+"05a0dab96845747a9dad9950e1516049.svg"},function(e,t,n){e.exports=n.p+"05a0dab96845747a9dad9950e1516049.svg"},function(e,t,n){e.exports=n.p+"7eae2621482a2c998d6b95f191ce0a2b.svg"},function(e,t,n){e.exports=n.p+"0eb1a1f84016e92d11b5746e1281cef0.svg"},function(e,t,n){e.exports=n.p+"0eb1a1f84016e92d11b5746e1281cef0.svg"},function(e,t,n){e.exports=n.p+"f683bdc8784a1c5e54fe5bb9d7afcce3.svg"},function(e,t,n){e.exports=n.p+"02e78b361bc5d3c94792d80798bee9b4.svg"},function(e,t,n){e.exports=n.p+"02e78b361bc5d3c94792d80798bee9b4.svg"},function(e,t,n){e.exports=n.p+"e86c8df014c5dfe7f674f51eb6537d6b.svg"},function(e,t,n){e.exports=n.p+"7d9b683701298739d8333b78c6e221b3.svg"},function(e,t,n){e.exports=n.p+"7d9b683701298739d8333b78c6e221b3.svg"},function(e,t,n){e.exports=n.p+"849c1c56b2ec1aea2c05bae1f0ad2e83.svg"},function(e,t,n){e.exports=n.p+"9c3350157759e726b74dec0e9ca66236.svg"},function(e,t,n){e.exports=n.p+"9c3350157759e726b74dec0e9ca66236.svg"},function(e,t,n){e.exports=n.p+"5c06a1979530292af5f208e1f277b1b1.svg"},function(e,t,n){e.exports=n.p+"0751da77ee1c3fa0a55f195455898d14.svg"},function(e,t,n){e.exports=n.p+"0a8439f09398c37f41552a6db5c0106e.svg"},function(e,t,n){e.exports=n.p+"ea75a0a6c60312dff88bcb118adfceda.svg"},function(e,t,n){e.exports=n.p+"01fb51adc7e7e6609cbb74de1fc423e8.svg"},function(e,t,n){e.exports=n.p+"1684885d6fcc9004c4a2af3a84678e88.svg"},function(e,t,n){e.exports=n.p+"a3e74edc4bd175d221211bfe7efb332f.svg"},function(e,t,n){e.exports=n.p+"9322622fa8fb2f18043d628b51ba41b7.svg"},function(e,t,n){e.exports=n.p+"9322622fa8fb2f18043d628b51ba41b7.svg"},function(e,t,n){e.exports=n.p+"11eaec46fed4bcaa494cdf1e964d1999.svg"},function(e,t,n){e.exports=n.p+"3a65bcf3a0df3285f8ed539764987a2c.svg"},function(e,t,n){e.exports=n.p+"3a65bcf3a0df3285f8ed539764987a2c.svg"},function(e,t,n){e.exports=n.p+"66feabd2d6c42ba8f3ed0f22c23b6a9c.svg"},function(e,t,n){e.exports=n.p+"802d0db1a3787b75db2bcc540f0205c3.svg"},function(e,t,n){e.exports=n.p+"802d0db1a3787b75db2bcc540f0205c3.svg"},function(e,t,n){e.exports=n.p+"27b311488f452d3b19c0f5c245dc0b22.svg"},function(e,t,n){e.exports=n.p+"b87bfee085c04983d00a9e83b6d26248.svg"},function(e,t,n){e.exports=n.p+"b87bfee085c04983d00a9e83b6d26248.svg"},function(e,t,n){e.exports=n.p+"64c1fa8bb7ad517d5d1e1dca0a24b761.svg"},function(e,t,n){e.exports=n.p+"804c7d0ad0bd10c5edccb5fe2ec98680.svg"},function(e,t,n){e.exports=n.p+"804c7d0ad0bd10c5edccb5fe2ec98680.svg"},function(e,t,n){e.exports=n.p+"66d8855749ba98a598bc26588009f851.svg"},function(e,t,n){e.exports=n.p+"5f296f11809f5d2f79be9304f634ae30.svg"},function(e,t,n){e.exports=n.p+"5f296f11809f5d2f79be9304f634ae30.svg"},function(e,t,n){e.exports=n.p+"bdbdbd69184f74469910613b420f6766.svg"},function(e,t,n){e.exports=n.p+"88c78d65da0448f26557eeb6c9c0b939.svg"},function(e,t,n){e.exports=n.p+"cdedf4a62db79b73def2403ceed6248b.svg"},function(e,t,n){e.exports=n.p+"b2a5766ab73dfbe6f39c9130b2f86615.svg"},function(e,t,n){e.exports=n.p+"482d469d7ce32f46661b38c127c9aae8.svg"},function(e,t,n){e.exports=n.p+"49c3a3fcb6fce77858b1d839207d4485.svg"},function(e,t,n){e.exports=n.p+"e49a7999dc6921fa3efebf97ec57d05f.svg"},function(e,t,n){e.exports=n.p+"03b9ffb75a1ca9631401f79b480d3b5d.svg"},function(e,t,n){e.exports=n.p+"a2a08068626af0af29b34d551373f0a7.svg"},function(e,t,n){e.exports=n.p+"76abf8347657dae994ba85495e22d127.svg"},function(e,t,n){e.exports=n.p+"ddc2d235e1a89704dd2888136ce02438.svg"},function(e,t,n){e.exports=n.p+"e74caa2bcdbe35371940210cbba77a43.svg"},function(e,t,n){e.exports=n.p+"80ad0dcb041e7d46ba13d1131a3625a1.svg"},function(e,t,n){e.exports=n.p+"2f8a123049b11687204c9fa9c3d8e584.svg"},function(e,t,n){e.exports=n.p+"3cdfa6dd828b6677e134b737435de62e.svg"},function(e,t,n){e.exports=n.p+"dc3026fb9e7233398f26f716012ca31d.svg"},function(e,t,n){e.exports=n.p+"b3765914fe0e962301851fa331e2cfa0.svg"},function(e,t,n){e.exports=n.p+"ffe9f8f9932a39a98b6cd7b65a6166f3.svg"},function(e,t,n){e.exports=n.p+"77d52b2810c1828c4076230e3dc99c1b.svg"},function(e,t,n){e.exports=n.p+"3b840271e64bea7e7ae7c2d8d6af1b37.svg"},function(e,t,n){e.exports=n.p+"3b840271e64bea7e7ae7c2d8d6af1b37.svg"},function(e,t,n){e.exports=n.p+"360f91d2ceae4783b1393ea74af7b2bd.svg"},function(e,t,n){e.exports=n.p+"081f87b00b3d9688498756240f8962aa.svg"},function(e,t,n){e.exports=n.p+"081f87b00b3d9688498756240f8962aa.svg"},function(e,t,n){e.exports=n.p+"734f626a675d2f25f619bc1bd8999ebf.svg"},function(e,t,n){e.exports=n.p+"1868b566b4f5a1d4e3eb484af7ec2f4d.svg"},function(e,t,n){e.exports=n.p+"1868b566b4f5a1d4e3eb484af7ec2f4d.svg"},function(e,t,n){e.exports=n.p+"c7034a4130586e2df7ce8d2abff60441.svg"},function(e,t,n){e.exports=n.p+"9422830c8bc7a056da4d21441d659779.svg"},function(e,t,n){e.exports=n.p+"9422830c8bc7a056da4d21441d659779.svg"},function(e,t,n){e.exports=n.p+"10a8312b9ef12e3dddd16f44fb56c882.svg"},function(e,t,n){e.exports=n.p+"5c9b8f71d5bf61582e1cf6403c0a5db0.svg"},function(e,t,n){e.exports=n.p+"5c9b8f71d5bf61582e1cf6403c0a5db0.svg"},function(e,t,n){e.exports=n.p+"9217a80895e4a3316a50785043dbee73.svg"},function(e,t,n){e.exports=n.p+"1bccaf07bdead06ebdc1a487ee546897.svg"},function(e,t,n){e.exports=n.p+"1bccaf07bdead06ebdc1a487ee546897.svg"},function(e,t,n){e.exports=n.p+"b7bab19670566c278bb5324560223c20.svg"},function(e,t,n){e.exports=n.p+"928c56a3d77bf8c97cea48c3ffb96a19.svg"},function(e,t,n){e.exports=n.p+"bf3d8334c87c0ab58fef142e93ab68b4.svg"},function(e,t,n){e.exports=n.p+"ae3c40fe8e1e9f3b9a7a4b24f5bad2fc.svg"},function(e,t,n){e.exports=n.p+"80f54fb115eb84f4f233f2c6e7b8207b.svg"},function(e,t,n){e.exports=n.p+"bd64b69bc23bf78a5cc04ea738691317.svg"},function(e,t,n){e.exports=n.p+"1a97e9e64e832ccb6eab7ec1661dd09f.svg"},function(e,t,n){e.exports=n.p+"02b72abda0d394b1b194b9d788cbe070.svg"},function(e,t,n){e.exports=n.p+"52a1855c6542b674e2f145306c76bebe.svg"},function(e,t,n){e.exports=n.p+"c8a36e8195373b4f3a8ee1c7c0dabe18.svg"},function(e,t,n){e.exports=n.p+"d98ce55bc2af833c8cf5c349077bf5c4.svg"},function(e,t,n){e.exports=n.p+"e4b768f9b94eb7271fa6059df8c64ebb.svg"},function(e,t,n){e.exports=n.p+"4f1ddbcf91958158e9a009f7b178ac4a.svg"},function(e,t,n){e.exports=n.p+"10b07615750b5f0a5b1b6b3d699ef483.svg"},function(e,t,n){e.exports=n.p+"4e119a2ac01300de41aee4e941c8f714.svg"},function(e,t,n){e.exports=n.p+"d14aa021cbb0a5819ec78a29291dee83.svg"},function(e,t,n){e.exports=n.p+"42696bf24081bd55a03e15d4e4cc084a.svg"},function(e,t,n){e.exports=n.p+"09cf1b8ac070f68b451de754e56f464a.svg"},function(e,t,n){e.exports=n.p+"ca5ca83f3d1c7d60dcdba18b97d68f7e.svg"},function(e,t,n){e.exports=n.p+"e490adbdbb5b9df8469ac6e6ce8aab1f.svg"},function(e,t,n){e.exports=n.p+"849c3d8de18fa3ac98c0ef20a4db0e07.svg"},function(e,t,n){e.exports=n.p+"e490adbdbb5b9df8469ac6e6ce8aab1f.svg"},function(e,t,n){e.exports=n.p+"6ac04613aa47469ff95623e73c0abdec.svg"},function(e,t,n){e.exports=n.p+"2ead38121346db50fe2d084bf87e3137.svg"},function(e,t,n){e.exports=n.p+"6ac04613aa47469ff95623e73c0abdec.svg"},function(e,t,n){e.exports=n.p+"7586b05f88544bc05c93ea3b74d11b46.svg"},function(e,t,n){e.exports=n.p+"5149c0bd7c02751ee71c4ce78fc9d5c4.svg"},function(e,t,n){e.exports=n.p+"7586b05f88544bc05c93ea3b74d11b46.svg"},function(e,t,n){e.exports=n.p+"82a9f07f106e5d379e8141f298be49cd.svg"},function(e,t,n){e.exports=n.p+"4105d0fd21972ccfce044ce26aa74746.svg"},function(e,t,n){e.exports=n.p+"82a9f07f106e5d379e8141f298be49cd.svg"},function(e,t,n){e.exports=n.p+"ac8e55f852535d2e4392e831108eac71.svg"},function(e,t,n){e.exports=n.p+"b4c152122e0b0391dfa52259dac11f38.svg"},function(e,t,n){e.exports=n.p+"ac8e55f852535d2e4392e831108eac71.svg"},function(e,t,n){e.exports=n.p+"ba00bf0e3b2d93d7be86cc5b1b580442.svg"},function(e,t,n){e.exports=n.p+"eb60f4f6fbbea62a56ee426b21f00960.svg"},function(e,t,n){e.exports=n.p+"ba00bf0e3b2d93d7be86cc5b1b580442.svg"},function(e,t,n){e.exports=n.p+"0dbf6912d38bfdb480fb3f2419c30116.svg"},function(e,t,n){e.exports=n.p+"22e1d19751a8ee5161436a8a7482ed8e.svg"},function(e,t,n){e.exports=n.p+"22e1d19751a8ee5161436a8a7482ed8e.svg"},function(e,t,n){e.exports=n.p+"19b8166892e716c5ad80d4bedf2f4d44.svg"},function(e,t,n){e.exports=n.p+"dbf20ca2eddd152e1cac3057c58ced4a.svg"},function(e,t,n){e.exports=n.p+"dbf20ca2eddd152e1cac3057c58ced4a.svg"},function(e,t,n){e.exports=n.p+"f21878af93560d11625edf4573f56c00.svg"},function(e,t,n){e.exports=n.p+"8540c0466819ae210a389f4ebf8d6464.svg"},function(e,t,n){e.exports=n.p+"8540c0466819ae210a389f4ebf8d6464.svg"},function(e,t,n){e.exports=n.p+"f5f50052735b7c14d925f6dd6f962943.svg"},function(e,t,n){e.exports=n.p+"48a52baf2af410802e5bbfb734d69a33.svg"},function(e,t,n){e.exports=n.p+"48a52baf2af410802e5bbfb734d69a33.svg"},function(e,t,n){e.exports=n.p+"c21f86b24a05d84c1192590e6ffed2ec.svg"},function(e,t,n){e.exports=n.p+"63bee505d5752d31091343e1ab18185e.svg"},function(e,t,n){e.exports=n.p+"63bee505d5752d31091343e1ab18185e.svg"},function(e,t,n){e.exports=n.p+"5ab920c460c592281501dc595aea9cc3.svg"},function(e,t,n){e.exports=n.p+"a3fdff4442a1292282f41fbfefab4c45.svg"},function(e,t,n){e.exports=n.p+"a3fdff4442a1292282f41fbfefab4c45.svg"},function(e,t,n){e.exports=n.p+"5e58fc3e2b14fe1812a72bbcd859842d.svg"},function(e,t,n){e.exports=n.p+"35c27fe93174428bd6d37731254fc0ed.svg"},function(e,t,n){e.exports=n.p+"f8b01824b763e3515b28d6416d225642.svg"},function(e,t,n){e.exports=n.p+"af7353165f1d9cfa2aed9aa0e73aedd7.svg"},function(e,t,n){e.exports=n.p+"8b8ada31a3d2464826a9e40557c444d5.svg"},function(e,t,n){e.exports=n.p+"0912d3eafa64a0d5f4f1db5fd3598a93.svg"},function(e,t,n){e.exports=n.p+"8f05049e215401ab36b109f7540164be.svg"},function(e,t,n){e.exports=n.p+"f648d0cf5e299cd63e286a2d27d9ed1f.svg"},function(e,t,n){e.exports=n.p+"bfe32961cbd4b305881c5560c271c9f4.svg"},function(e,t,n){e.exports=n.p+"78236afc19a5bfbf4f8f8b508f26bc4d.svg"},function(e,t,n){e.exports=n.p+"8c2220d044332653d0398a79e25bcd60.svg"},function(e,t,n){e.exports=n.p+"3840f4d36dd741d581dfd1e0785dd1c5.svg"},function(e,t,n){e.exports=n.p+"d7433e51761b8c70de728e792c3e5182.svg"},function(e,t,n){e.exports=n.p+"3333892e8f468edbd97ea7ae2e668839.svg"},function(e,t,n){e.exports=n.p+"180a418be8d66fb50a5f6b0879506305.svg"},function(e,t,n){e.exports=n.p+"3333892e8f468edbd97ea7ae2e668839.svg"},function(e,t,n){e.exports=n.p+"e968d4f0837d50d650918cdb7ce6fd2f.svg"},function(e,t,n){e.exports=n.p+"d6ae3fd6977ad24763ab7353cb8a044a.svg"},function(e,t,n){e.exports=n.p+"e968d4f0837d50d650918cdb7ce6fd2f.svg"},function(e,t,n){e.exports=n.p+"834ebe0b29750157871c2a8e01dfe26f.svg"},function(e,t,n){e.exports=n.p+"ce1abefc5c41467b0c3952f7d8a38da8.svg"},function(e,t,n){e.exports=n.p+"834ebe0b29750157871c2a8e01dfe26f.svg"},function(e,t,n){e.exports=n.p+"f05354475c7e471169ad4b5267910aa5.svg"},function(e,t,n){e.exports=n.p+"a0528a335fc47eda5598e2dbba6c4f56.svg"},function(e,t,n){e.exports=n.p+"f05354475c7e471169ad4b5267910aa5.svg"},function(e,t,n){e.exports=n.p+"44a6bdb90b0f2534734b12e6e153fed9.svg"},function(e,t,n){e.exports=n.p+"d2a06cf6395d1ce73ea2049f46de5888.svg"},function(e,t,n){e.exports=n.p+"44a6bdb90b0f2534734b12e6e153fed9.svg"},function(e,t,n){e.exports=n.p+"192e9e7cfbd38fe1cd24f12c4475d1c6.svg"},function(e,t,n){e.exports=n.p+"759e988363f0baad579ca3efe5fbb814.svg"},function(e,t,n){e.exports=n.p+"192e9e7cfbd38fe1cd24f12c4475d1c6.svg"},function(e,t,n){e.exports=n.p+"22e9697cc48924a630acea37d7885b13.svg"},function(e,t,n){e.exports=n.p+"4ebf96eece0c086b8ed53be3e2a8acd4.svg"},function(e,t,n){e.exports=n.p+"22e9697cc48924a630acea37d7885b13.svg"},function(e,t,n){e.exports=n.p+"ed7d3d24e0ae80b6d9c28c61ebe62d78.svg"},function(e,t,n){e.exports=n.p+"8f5fa185064f31e7d0c23a0d7ddcc3a0.svg"},function(e,t,n){e.exports=n.p+"ed7d3d24e0ae80b6d9c28c61ebe62d78.svg"},function(e,t,n){e.exports=n.p+"d1f6f7afff338ac40d6a613a1e80cb5f.svg"},function(e,t,n){e.exports=n.p+"08b820cf6f2d854b6cc34c579b292670.svg"},function(e,t,n){e.exports=n.p+"d1f6f7afff338ac40d6a613a1e80cb5f.svg"},function(e,t,n){e.exports=n.p+"56748ef2a922ef41060acd32bf1afcf6.svg"},function(e,t,n){e.exports=n.p+"9bb853e8d93ca70c244a6dd810549575.svg"},function(e,t,n){e.exports=n.p+"56748ef2a922ef41060acd32bf1afcf6.svg"},function(e,t,n){e.exports=n.p+"1fa0c76eccca5667970e36e6eed275f3.svg"},function(e,t,n){e.exports=n.p+"4ddf25bdf164ab7b57061814aae8578a.svg"},function(e,t,n){e.exports=n.p+"1fa0c76eccca5667970e36e6eed275f3.svg"},function(e,t,n){e.exports=n.p+"a1e516be5d5bfc7f5a5e303942d608d7.svg"},function(e,t,n){e.exports=n.p+"53ca82c32c2e3c2cd7dbdca897970614.svg"},function(e,t,n){e.exports=n.p+"a1e516be5d5bfc7f5a5e303942d608d7.svg"},function(e,t,n){e.exports=n.p+"9eab2519f1935bd91c427887710bd111.svg"},function(e,t,n){e.exports=n.p+"ff63c8cfce7f17a8f00324ab0f891acb.svg"},function(e,t,n){e.exports=n.p+"4829c20f23f41db51bc88122046d9759.svg"},function(e,t,n){e.exports=n.p+"0f7bf0aae65b06ec5a342ae10c4b1856.svg"},function(e,t,n){e.exports=n.p+"2ae5d700ad126cd09e9ebe000f795c3d.svg"},function(e,t,n){e.exports=n.p+"1af980baa9905025f174dace30ac031b.svg"},function(e,t,n){e.exports=n.p+"de1b252908d56824c94ecc7152f226b8.svg"},function(e,t,n){e.exports=n.p+"175753f47c4d8f06b4977920479a27d3.svg"},function(e,t,n){e.exports=n.p+"7df0c6179679d3e68ca94ae77f9d0af2.svg"},function(e,t,n){e.exports=n.p+"c51dd8cca368c0cd8eeb017e96d2c168.svg"},function(e,t,n){e.exports=n.p+"ef10576152f5e5b78576f248134e79fd.svg"},function(e,t,n){e.exports=n.p+"3a19915ca846aa5ac3299a8b8f6a1bbe.svg"},function(e,t,n){e.exports=n.p+"8fee3f6705505729fea8c7379934d794.svg"},function(e,t,n){e.exports=n.p+"9243759187717f603a0b7e9c53cb939d.svg"},function(e,t,n){e.exports=n.p+"a42df564f00ed8bbca652dc9345d3834.svg"},function(e,t,n){e.exports=n.p+"70f567f2381c57bef68c7207047a11cf.svg"},function(e,t,n){e.exports=n.p+"2edac3c81f106292d99e93a725390e15.svg"},function(e,t,n){e.exports=n.p+"599c362e721a4f13c753ebdc385725bf.svg"},function(e,t,n){e.exports=n.p+"80be7d03c69d814bd18ff86e7d5de8f3.svg"},function(e,t,n){e.exports=n.p+"381baae5679b73dc27b754329324491d.svg"},function(e,t,n){e.exports=n.p+"cc005253d0d5dfff7f7d317e164102d7.svg"},function(e,t,n){e.exports=n.p+"98b39a3802f75cda51a0b1b539aa7609.svg"},function(e,t,n){e.exports=n.p+"3c9de8245e086437984f22da3f736eb6.svg"},function(e,t,n){e.exports=n.p+"02103c74ec6aee219711f3e119615582.svg"},function(e,t,n){e.exports=n.p+"4d2c2f2f933329e7409236aaeeaa7c57.svg"},function(e,t,n){e.exports=n.p+"d05c13355ab94b98d3c8ba0367c9b8f8.svg"},function(e,t,n){e.exports=n.p+"5e5f4134450fe6dccdcef61ccb2f0ced.svg"},function(e,t,n){e.exports=n.p+"cec604bb59b00a2ef838c1c0bf34bc1d.svg"},function(e,t,n){e.exports=n.p+"ebd55fc1b90bc34d1bfb36b466b19d54.svg"},function(e,t,n){e.exports=n.p+"ef756c6ecfdc1cf509cb0175dd33c76d.svg"},function(e,t,n){e.exports=n.p+"5698d13f526f64539772f38b9992196c.svg"},function(e,t,n){e.exports=n.p+"de9fc0908fc4383c8e0dcf7eecda1c29.svg"},function(e,t,n){e.exports=n.p+"13dde1c4a61bc1c8323b13c473ea4983.svg"},function(e,t,n){e.exports=n.p+"ced0c08553c2ade6cbeee29a40f4ac8c.svg"},function(e,t,n){e.exports=n.p+"b4ae22fc10b358f19971dde7dffbe15f.svg"},function(e,t,n){e.exports=n.p+"0cc12dc667ba5d0662df8bae14cbfcba.svg"},function(e,t,n){e.exports=n.p+"571748cff677266afa77f89a1a0def0a.svg"},function(e,t,n){e.exports=n.p+"67fdc367874997900a48cf3a0387e8e3.svg"},function(e,t,n){e.exports=n.p+"f85de1590f96185063ff8497864811b4.svg"},function(e,t,n){e.exports=n.p+"0e2bb36113661c72bb9b3b4e5c834f97.svg"},function(e,t,n){e.exports=n.p+"8df4c34679d6d9b893feb682d7568dbd.svg"},function(e,t,n){e.exports=n.p+"0b6fc9f58ca3827977d546a6ee0ca3e7.svg"},function(e,t,n){e.exports=n.p+"2a73aad553d69de29634941e4bb68fb8.svg"},function(e,t,n){e.exports=n.p+"27e1b9af2353738b51c8575b1bc30134.svg"},function(e,t,n){e.exports=n.p+"6f1049fe11f5b6bc18d9227fb29d237b.svg"},function(e,t,n){e.exports=n.p+"ccebe0b729ff7530c5e37dbbd9f9938c.svg"},function(e,t,n){e.exports=n.p+"a65d35e1714c54139d79c90a2126acdd.svg"},function(e,t,n){e.exports=n.p+"0c37ee07aabe19072b03afdf299ab7a6.svg"},function(e,t,n){e.exports=n.p+"452c49725a978a79195f81f7c2cf878c.svg"},function(e,t,n){e.exports=n.p+"33b5131336d90154281bc3fe328612e3.svg"},function(e,t,n){e.exports=n.p+"8ed2cc6920647efb9ed69ccc429fcee4.svg"},function(e,t,n){e.exports=n.p+"e52ac65bc325dab0002455da28e4290f.svg"},function(e,t,n){e.exports=n.p+"5f3999f6377384648ff727986091fb55.svg"},function(e,t,n){e.exports=n.p+"630828f0eaa647bf465b3b903b0dbc5f.svg"},function(e,t,n){e.exports=n.p+"fe2e240d2a8b88c425391a0c740a2845.svg"},function(e,t,n){e.exports=n.p+"65732748e8d4e9d883f7d1438b581e7d.svg"},function(e,t,n){e.exports=n.p+"298d413d629b3b90d57400241dc1c041.svg"},function(e,t,n){e.exports=n.p+"0d9ad62c34798452bbc96cd531f91258.svg"},function(e,t,n){e.exports=n.p+"f4954ce09da70997331a55ea959ac3d8.svg"},function(e,t,n){e.exports=n.p+"d049def26c077694f4f184be88cea9bb.svg"},function(e,t,n){e.exports=n.p+"a2527ed63fbfe469cd8973970c6278a1.svg"},function(e,t,n){e.exports=n.p+"6e829dbdc26783477c653d4a6fd6587c.svg"},function(e,t,n){e.exports=n.p+"d68327d74508465432fe6e9dee35b9ff.svg"},function(e,t,n){e.exports=n.p+"d05ed3c514abe6ef766928911748c431.svg"},function(e,t,n){e.exports=n.p+"65deef156089c71e6dd16d9261d85dad.svg"},function(e,t,n){e.exports=n.p+"0aeefa18b249262cd4b8acf15149e3a0.svg"},function(e,t,n){e.exports=n.p+"6aa386cf3b974f63cc39ce0b21822fbe.svg"},function(e,t,n){e.exports=n.p+"3511cfe60e427f37d59c07548c8a3c8e.svg"},function(e,t,n){e.exports=n.p+"9130dfff888fdec6ece8dc31bb1060ff.svg"},function(e,t,n){e.exports=n.p+"dee149ab9c268e7b00744f0c40f1c7c3.svg"},function(e,t,n){e.exports=n.p+"ddffbe71df7eb0cae001d9a4667084e1.svg"},function(e,t,n){e.exports=n.p+"79a590ea84f8e3a347aa62b32b78e0d5.svg"},function(e,t,n){e.exports=n.p+"7ecc37fc06a692387dc1c886e5eecc94.svg"},function(e,t,n){e.exports=n.p+"e770e7da3fb872af10856268118a6e34.svg"},function(e,t,n){e.exports=n.p+"df0fba917be2ad5fc7939019465de627.svg"},function(e,t,n){e.exports=n.p+"71e2667a9e9ed67d461fa8e9d3567d4a.svg"},function(e,t,n){e.exports=n.p+"2fd5575c94854d956294a5dd6531628e.svg"},function(e,t,n){e.exports=n.p+"b43c5c7f3fd21d04273303bc0db9cc02.svg"},function(e,t,n){e.exports=n.p+"ffcdb50ce310bfbe221f01a8e72034a8.svg"},function(e,t,n){e.exports=n.p+"5a94ca0d1453e052afc2609cfa75c7c6.svg"},function(e,t,n){e.exports=n.p+"32d8174b427d411c1c25119104ef1588.svg"},function(e,t,n){e.exports=n.p+"22c88b5a9f093e77043438feed1574aa.svg"},function(e,t,n){e.exports=n.p+"e7fe52cb5188f123ea76492c4d1c156c.svg"},function(e,t,n){e.exports=n.p+"09cfc9ecdfef219134f927c54129e96d.svg"},function(e,t,n){e.exports=n.p+"613a24d7aea511a069db17607093a3d4.svg"},function(e,t,n){e.exports=n.p+"f4510c6e5fec94458dd126b6b6eba558.svg"},function(e,t,n){e.exports=n.p+"a7749e82b91fa892ce2d52bed286790b.svg"},function(e,t,n){e.exports=n.p+"24eb87f78b76a8fdfad248afa701cc49.svg"},function(e,t,n){e.exports=n.p+"833543b4e0f5175e6ff2fe80f2b1df57.svg"},function(e,t,n){e.exports=n.p+"b7f66cb5c74fb6d0446459b0d9fe0899.svg"},function(e,t,n){e.exports=n.p+"a77e0fdf1c1dddb8de08f3b67a971bff.svg"},function(e,t,n){e.exports=n.p+"2d6a964ec20df9bf319d7858ed43bf75.svg"},function(e,t,n){e.exports=n.p+"146a26610c15c434d6809c72a5db6052.svg"},function(e,t,n){e.exports=n.p+"da46757cdddad0507ddb04c48b7a9277.svg"},function(e,t,n){e.exports=n.p+"d40cf1be5adc53731d8eea69fd2d6680.svg"},function(e,t,n){e.exports=n.p+"dac20f2ccbd28f469f3154cfe6ea1709.svg"},function(e,t,n){e.exports=n.p+"eb4ba561a219d88f1f2eb06114d6a9a5.svg"},function(e,t,n){e.exports=n.p+"52576a2727e396c00ef7e3c664711173.svg"},function(e,t,n){e.exports=n.p+"bbe497307fd7ede70e9561775c8ee112.svg"},function(e,t,n){e.exports=n.p+"c8a51a3e9444e4642c9426b45cb8b553.svg"},function(e,t,n){e.exports=n.p+"86ac473ccadf924d6b8a1cfec2417d63.svg"},function(e,t,n){e.exports=n.p+"9dc925a76f140aa24edec4d532a251bd.svg"},function(e,t,n){e.exports=n.p+"73cc87b44ecc2c2520700ef5498ce779.svg"},function(e,t,n){e.exports=n.p+"66a96d7cf3085ae40ace635f02267404.svg"},function(e,t,n){e.exports=n.p+"099e7b57a3a594470fe78a59f58a253e.svg"},function(e,t,n){e.exports=n.p+"d16c2e0135e0919fef9613e5b699601d.svg"},function(e,t,n){e.exports=n.p+"78fa1297ab34414c5483712201f03c8c.svg"},function(e,t,n){e.exports=n.p+"078b79244f2af1b793bc30b8fb21f4e6.svg"},function(e,t,n){e.exports=n.p+"a6a32075f4ca20bdfcbc812d6aed0009.svg"},function(e,t,n){e.exports=n.p+"d36b33903dafb0107bb067b55bdd9cbc.svg"},function(e,t,n){e.exports=n.p+"7d2027c235ae77bf376436b259acd6cd.svg"},function(e,t,n){e.exports=n.p+"f88772439640d4ead866a77999d84464.svg"},function(e,t,n){e.exports=n.p+"a3abd44adda55c39636801ca8e52450b.svg"},function(e,t,n){e.exports=n.p+"436f9bb1b2d2cccfae207dea96fa4fe2.svg"},function(e,t,n){e.exports=n.p+"24795e3f7a5ebffae763df499bfd9ea5.svg"},function(e,t,n){e.exports=n.p+"7e3eb3c8296980ab00ba40fa033cbaab.svg"},function(e,t,n){e.exports=n.p+"57aea9031650f92408cb1d43f355fc74.svg"},function(e,t,n){e.exports=n.p+"db199b8adb93c96fa1a8f03f69ca55e9.svg"},function(e,t,n){e.exports=n.p+"169565d0b5f43d2c5da4dd26bb54b160.svg"},function(e,t,n){e.exports=n.p+"5c2bef02d6ffc10c89f544c32c04ed46.svg"},function(e,t,n){e.exports=n.p+"4b101099c8f43f00b16ec8712592dd07.svg"},function(e,t,n){e.exports=n.p+"cb5fc2bda212a864f47e6724549c9be6.svg"},function(e,t,n){e.exports=n.p+"dd21835e0b93364676fce48d9e81c609.svg"},function(e,t,n){e.exports=n.p+"dd833e9a6b27f767eb7002e613047d03.svg"},function(e,t,n){e.exports=n.p+"1565c72398b5982dd5770991cb5b9344.svg"},function(e,t,n){e.exports=n.p+"e92dd44553a788b0be795bcf18ace251.svg"},function(e,t,n){e.exports=n.p+"0546b9006d9fcb5b91a366b40d0cf0b2.svg"},function(e,t,n){e.exports=n.p+"3dc39675077548f1f868ba0cc641d061.svg"},function(e,t,n){e.exports=n.p+"510b2959b8bd773f8d269ba54cf790ff.svg"},function(e,t,n){e.exports=n.p+"3c8a7e504001fcb17466ca55870cb357.svg"},function(e,t,n){e.exports=n.p+"d62729cf97a16fc38af3a4eb8ddc46c9.svg"},function(e,t,n){e.exports=n.p+"ae6953e18a8e761c0ca17c5b7ba9fa9c.svg"},function(e,t,n){e.exports=n.p+"f0fa3c1e815fa570f97b21eec4c666dd.svg"},function(e,t,n){e.exports=n.p+"5bed81992d7fc4dca4539e6386d0769e.svg"},function(e,t,n){e.exports=n.p+"fd2173327b6bf2cd86fdcc1dd6d4dee8.svg"},function(e,t,n){e.exports=n.p+"7d9c752d553d6da23acf9c37323bcfe0.svg"},function(e,t,n){e.exports=n.p+"7723ee55f259edfcc5bd5cb5d162bf3e.svg"},function(e,t,n){e.exports=n.p+"3896096ba07324c04ed0fe7e1acc3643.svg"},function(e,t,n){e.exports=n.p+"5e9d1e5a1536cf6e2fcaf05f3eaf64dc.svg"},function(e,t,n){e.exports=n.p+"d72f52ce6c418c5c8fd5faac0e8c36ff.svg"},function(e,t,n){e.exports=n.p+"c85eb95ca88432c061e251b40b7e1983.svg"},function(e,t,n){e.exports=n.p+"2bd74ab02e74e380eeae88a077051671.svg"},function(e,t,n){e.exports=n.p+"86c36b8437a0bc80cf310733f54257c2.svg"},function(e,t,n){e.exports=n.p+"4f1e1fa42efdf4de983e3f609d56eb4c.svg"},function(e,t,n){e.exports=n.p+"c2cde9981ca78feeaeaaa4ae23c4d955.svg"},function(e,t,n){e.exports=n.p+"66ff128fa27f05b0199e6e036b786704.svg"},function(e,t,n){e.exports=n.p+"aab936f252f4221f5d0b92b20fa67f7a.svg"},function(e,t,n){e.exports=n.p+"c4dfcf1f6ab66820a967f7c428454b83.svg"},function(e,t,n){e.exports=n.p+"a134dff4cbdf34e92247938283b39867.svg"},function(e,t,n){e.exports=n.p+"1d1fc4f2a7b7b936011a281da94b3652.svg"},function(e,t,n){e.exports=n.p+"4162176664cb7ec52ed19754b6818672.svg"},function(e,t,n){e.exports=n.p+"68eaf52110e1feeaf4eeabbb903b652d.svg"},function(e,t,n){e.exports=n.p+"4ca85cc4e104c1522ab1fb7b0eb90c3c.svg"},function(e,t,n){e.exports=n.p+"43f3d80150abccba31df3e32ea4b3cec.svg"},function(e,t,n){e.exports=n.p+"03edf23717f92a677a0502874c163048.svg"},function(e,t,n){e.exports=n.p+"0245df6c6638f07c6d21abf67504d002.svg"},function(e,t,n){e.exports=n.p+"d73d26b4fdabb38cc24128200409c9ed.svg"},function(e,t,n){e.exports=n.p+"44c90a77a31ecd300654161820ce8d81.svg"},function(e,t,n){e.exports=n.p+"c64559ce7db12f6dea3404fc44e42b96.svg"},function(e,t,n){e.exports=n.p+"8ddcaf0f730cbec748e6f3731e9c9532.svg"},function(e,t,n){e.exports=n.p+"713d0a6d305ef8146058d416ea43d0ad.svg"},function(e,t,n){e.exports=n.p+"f91ea6469f14105cd066e706c9862fa0.svg"},function(e,t,n){e.exports=n.p+"71a39123ea46d6cccac08a3754b4f7f5.svg"},function(e,t,n){e.exports=n.p+"7247ff3d7a609104aa79cf391ea269b6.svg"},function(e,t,n){e.exports=n.p+"596bd0f8541debff8d44326e840ea085.svg"},function(e,t,n){e.exports=n.p+"88ac2ca95abdde80b6e85f08c603d379.svg"},function(e,t,n){e.exports=n.p+"d8a6c0d6612fa1727117b00dd53665fc.svg"},function(e,t,n){e.exports=n.p+"3071dbc60204c84ca0cf423b8b08a204.svg"},function(e,t,n){e.exports=n.p+"f6a262ddcccdd48c4b4bca70fc67342e.svg"},function(e,t,n){e.exports=n.p+"d09a3ee01beceb01255e739e15c4c5f9.svg"},function(e,t,n){e.exports=n.p+"1c0daf2a40e63a1f59c1ae036c19adf7.svg"},function(e,t,n){e.exports=n.p+"a76358025b30ce6b86d23dba8a4d1ce1.svg"},function(e,t,n){e.exports=n.p+"a3fc335f559f462df3e5d6cdbb9178e8.svg"},function(e,t,n){e.exports=n.p+"f9f863f85c2c4ffc8087cdac44293f38.svg"},function(e,t,n){e.exports=n.p+"5d15d81bc39f310bfa589fc4276c6d49.svg"},function(e,t,n){e.exports=n.p+"45d0e7d324f2aec6d85df219cb5b62ed.svg"},function(e,t,n){e.exports=n.p+"26a727a30b2342317fb0df394e399df1.svg"},function(e,t,n){e.exports=n.p+"5b68b417ff72b3a2f4c24426d1064b66.svg"},function(e,t,n){e.exports=n.p+"dbd5f8f00f7dd51d9b608809f964857d.svg"},function(e,t,n){e.exports=n.p+"4bf415c80c002eaad2d23809951bbb07.svg"},function(e,t,n){e.exports=n.p+"b231248aa321ecac50d2d5d2a0476f8a.svg"},function(e,t,n){e.exports=n.p+"8dd3fb05cf83cad5d68191580b638c50.svg"},function(e,t,n){e.exports=n.p+"07715305b8a9a8550df60f5cbdcaa821.svg"},function(e,t,n){e.exports=n.p+"afb82ce2cbadea31acc6f3374b7d338a.svg"},function(e,t,n){e.exports=n.p+"07df4b65baa175bdfac54ddff185e051.svg"},function(e,t,n){e.exports=n.p+"0187ff05d39e6b9ad65b39501a8302cc.svg"},function(e,t,n){e.exports=n.p+"f9f9458405746ad2210b6ef936526567.svg"},function(e,t,n){e.exports=n.p+"18b7b5207b621acd50ca9322a8f60dab.svg"},function(e,t,n){e.exports=n.p+"6879e68e7e2dc60c3e1ce4004b0e9d15.svg"},function(e,t,n){e.exports=n.p+"904217d8ac9f9bd10ece3a2e523aee67.svg"},function(e,t,n){e.exports=n.p+"d05e44e847a6f011a9f87cf90b750973.svg"},function(e,t,n){e.exports=n.p+"8aaf90a53d76f5881f3e257be99e2b6c.svg"},function(e,t,n){e.exports=n.p+"be21e06571be73619ebba2e9731abb11.svg"},function(e,t,n){e.exports=n.p+"4d3950c8201d9bac57ebbc3a1df92bac.svg"},function(e,t,n){e.exports=n.p+"841d44baf59b5bb6dde668a3d44e8e65.svg"},function(e,t,n){e.exports=n.p+"ccb48a1e7bb48aba28d9cd37123b3293.svg"},function(e,t,n){e.exports=n.p+"3a020d02dbef57ba2a126fe3c9e044fa.svg"},function(e,t,n){e.exports=n.p+"343f74429898d15e9dccf6146b47cd83.svg"},function(e,t,n){e.exports=n.p+"cc07144f5d31ec82c17ca00589b94a00.svg"},function(e,t,n){e.exports=n.p+"9f5bdceca467fde92f5fdc925bb5a1bd.svg"},function(e,t,n){e.exports=n.p+"d55c3296692cfe4ae472b97714270547.svg"},function(e,t,n){e.exports=n.p+"dba396ebe99cfc15da738d76650a3a3d.svg"},function(e,t,n){e.exports=n.p+"115bc3964b9e499145a8c3d7767e13ef.svg"},function(e,t,n){e.exports=n.p+"bc18e1d4939b4695b40f8c0e3cd4d13a.svg"},function(e,t,n){e.exports=n.p+"60d12a68039b63ef2d74c4bf7b4b8b4f.svg"},function(e,t,n){e.exports=n.p+"3e3464ecdbc8bb16396efc63aa6cc8bb.svg"},function(e,t,n){e.exports=n.p+"b65b718774874a918590d3561a979aaf.svg"},function(e,t,n){e.exports=n.p+"82055740ed4af85bd13a883caab68d74.svg"},function(e,t,n){e.exports=n.p+"d8e1f009b605f6bb62099e624de5ebb7.svg"},function(e,t,n){e.exports=n.p+"16655a981a6079e9d2401d9ed7899447.svg"},function(e,t,n){e.exports=n.p+"e69989b18d4261667966472d68071fe4.svg"},function(e,t,n){e.exports=n.p+"179ed90c54cbd0d141a64483a7b60fda.svg"},function(e,t,n){e.exports=n.p+"43a03f5fc9db11933516173f79432fc3.svg"},function(e,t,n){e.exports=n.p+"249f56483b4268e09660560cc7a9cd41.svg"},function(e,t,n){e.exports=n.p+"5dd6aaef3152fc6c1e422a9a741f9e87.svg"},function(e,t,n){e.exports=n.p+"6738d5cf36a4d7bc6e789d22cef831ef.svg"},function(e,t,n){e.exports=n.p+"7a88ba7973ebbd228d236ab960ff280a.svg"},function(e,t,n){e.exports=n.p+"ab5b4d44e26e2cc47eb0da7289a93b75.svg"},function(e,t,n){e.exports=n.p+"b8c564524314f606251429fdd96d6d4c.svg"},function(e,t,n){e.exports=n.p+"3318b04b19c6cf6627b31bd2f4da3f24.svg"},function(e,t,n){e.exports=n.p+"940322c2f083a84b44f8d0daf7389819.svg"},function(e,t,n){e.exports=n.p+"f8498a1d7e499804e5af42d2e36ab64b.svg"},function(e,t,n){e.exports=n.p+"ab1eece954a20fc8b5b4b71b497f5162.svg"},function(e,t,n){e.exports=n.p+"214b41e839e0e8fa6a33c103562b1ee3.svg"},function(e,t,n){e.exports=n.p+"1cbba79bb198dd09c5b9b6cc0a6c7ddf.svg"},function(e,t,n){e.exports=n.p+"2cddb1b9aa3a2da2016e9b9610dc6adc.svg"},function(e,t,n){e.exports=n.p+"bb285b17a5e8671df071687b4b3ce624.svg"},function(e,t,n){e.exports=n.p+"bb285b17a5e8671df071687b4b3ce624.svg"},function(e,t,n){e.exports=n.p+"83e8e51bbd92b5f7bd6513b5a16e6a4d.svg"},function(e,t,n){e.exports=n.p+"7e244f7cdf045f70d2fa992b65037c7d.svg"},function(e,t,n){e.exports=n.p+"7e244f7cdf045f70d2fa992b65037c7d.svg"},function(e,t,n){e.exports=n.p+"e11e056276e412cc36ce8cd630d270b1.svg"},function(e,t,n){e.exports=n.p+"1e081e5d6769e2698fb14ddad638cb7f.svg"},function(e,t,n){e.exports=n.p+"1e081e5d6769e2698fb14ddad638cb7f.svg"},function(e,t,n){e.exports=n.p+"822cff46c8da59c3ca9e02d7ff49619d.svg"},function(e,t,n){e.exports=n.p+"01abbf2615ac27e519aea9b2fcfaa636.svg"},function(e,t,n){e.exports=n.p+"01abbf2615ac27e519aea9b2fcfaa636.svg"},function(e,t,n){e.exports=n.p+"4d7d9318250212b6253d42476b7d6a8e.svg"},function(e,t,n){e.exports=n.p+"a0f38f6f4da7127f2ec59a416a5bac3a.svg"},function(e,t,n){e.exports=n.p+"a0f38f6f4da7127f2ec59a416a5bac3a.svg"},function(e,t,n){e.exports=n.p+"43f8ded2f9166ce0fadb0ffd46bcca35.svg"},function(e,t,n){e.exports=n.p+"a39460d0f6baa307386a4bb2984de363.svg"},function(e,t,n){e.exports=n.p+"a39460d0f6baa307386a4bb2984de363.svg"},function(e,t,n){e.exports=n.p+"257c0cd89a832bbec1dd24f4ce2551fb.svg"},function(e,t,n){e.exports=n.p+"58e11980fae4c72a9625a2f531bbc4e4.svg"},function(e,t,n){e.exports=n.p+"432935945ad8b549c10692b2679e5768.svg"},function(e,t,n){e.exports=n.p+"536c2c45ade326ef4197eb48c75cff6a.svg"},function(e,t,n){e.exports=n.p+"d975a1ee2bbfb828074c0dd310072899.svg"},function(e,t,n){e.exports=n.p+"324244f2ad6052bbbd2f611e111f9a8a.svg"},function(e,t,n){e.exports=n.p+"c778a8ddb74c0b01a20159d18efeaf30.svg"},function(e,t,n){e.exports=n.p+"4a45da6a753f236773e80a3632ca0b92.svg"},function(e,t,n){e.exports=n.p+"99e0666a6aaaf3eb5279a9d702acc412.svg"},function(e,t,n){e.exports=n.p+"6d5a34e74d7df5e18489d1ddc37da321.svg"},function(e,t,n){e.exports=n.p+"30420d7a51fbaa836b521486226cf3d9.svg"},function(e,t,n){e.exports=n.p+"00e8fe627e9bd3cedc9c07f5640b654c.svg"},function(e,t,n){e.exports=n.p+"a307f008c0df67604bf9d07f4c11f6c2.svg"},function(e,t,n){e.exports=n.p+"35665b6147e6ea2d0a8c6cb759d4a281.svg"},function(e,t,n){e.exports=n.p+"f3b7783bfabe86069aa1f506f602496a.svg"},function(e,t,n){e.exports=n.p+"d119791b00db523bb2d2334aa01f4a92.svg"},function(e,t,n){e.exports=n.p+"06689e1e352cf5da2ec9bac4eb214629.svg"},function(e,t,n){e.exports=n.p+"74bf2dd8e3475e071726b5ae03af706c.svg"},function(e,t,n){e.exports=n.p+"caad10e810a5adf9d22341624d984535.svg"},function(e,t,n){e.exports=n.p+"4d50f3c5e6175279fdbc3b8a9d4e921b.svg"},function(e,t,n){e.exports=n.p+"a7ca6d4faf1d497b4d75b44a6bb58f91.svg"},function(e,t,n){e.exports=n.p+"33db1aeefb2bf5b2d4994e97a714c270.svg"},function(e,t,n){e.exports=n.p+"197be9e1e044a6f085b2a370c2038b17.svg"},function(e,t,n){e.exports=n.p+"351f5ddc74814a38f8d6dc60c2bd955b.svg"},function(e,t,n){e.exports=n.p+"79794433628289324374fa0b5317f577.svg"},function(e,t,n){e.exports=n.p+"1721c6a286b19ff264040edee011b1e6.svg"},function(e,t,n){e.exports=n.p+"209381ec0f39a61c1904269ed41c62eb.svg"},function(e,t,n){e.exports=n.p+"58cc362724b317f91994079a1887e956.svg"},function(e,t,n){e.exports=n.p+"c229dd04e596f7aa51e8e7c02ad048c4.svg"},function(e,t,n){e.exports=n.p+"e5b26f209a6f89f8cb3e045b45f9a4f7.svg"},function(e,t,n){e.exports=n.p+"e3c24f7153adedc726396647dbe5fdb4.svg"},function(e,t,n){e.exports=n.p+"d52f627e931d2dbcf8e1683480f617f7.svg"},function(e,t,n){e.exports=n.p+"cf154cec5ac15640f8e980ce6026178b.svg"},function(e,t,n){e.exports=n.p+"9e62a2acc00cd50132c7e09acf4671ff.svg"},function(e,t,n){e.exports=n.p+"e2154b14424ed3161ed7a51b0f06d07e.svg"},function(e,t,n){e.exports=n.p+"d8ad3595252449442e0c1578e467cb5a.svg"},function(e,t,n){e.exports=n.p+"56f9ef06f28f6a472dfc3403ae1cf93c.svg"},function(e,t,n){e.exports=n.p+"cfeca2e987d576e623e29717d1b58ca3.svg"},function(e,t,n){e.exports=n.p+"8237092de4f32d8777ab016b5fc8c093.svg"},function(e,t,n){e.exports=n.p+"312bf4b5ed50687d0fa58dd59a3a54c8.svg"},function(e,t,n){e.exports=n.p+"3f19971e1ed28b05a799827e337fd9fe.svg"},function(e,t,n){e.exports=n.p+"0566e35a8bd81019c089f10058834a51.svg"},function(e,t,n){e.exports=n.p+"0d6fbd1bceb7a00e24106fcf331cd9f4.svg"},function(e,t,n){e.exports=n.p+"908f9e562fb536d4f05c0e1d651ca6fe.svg"},function(e,t,n){e.exports=n.p+"644ab12f2f874b0c5fb5b5b5f88a0bef.svg"},function(e,t,n){e.exports=n.p+"a184a1cc32bccf9bddf49d66d06118af.svg"},function(e,t,n){e.exports=n.p+"e11f01ddc5cb675d9a36c52f5850cb92.svg"},function(e,t,n){e.exports=n.p+"9da4147e4dc3afde7c67147afc0cb6c3.svg"},function(e,t,n){e.exports=n.p+"6a0cd251193e14e8fef4b258072f7400.svg"},function(e,t,n){e.exports=n.p+"6fd0da46c7a400150ac09ba4a456a1f3.svg"},function(e,t,n){e.exports=n.p+"cf7f3e86b93c14f8e53feac55a1b637f.svg"},function(e,t,n){e.exports=n.p+"152ce02aa605fc4cda416f7c538eb2b0.svg"},function(e,t,n){e.exports=n.p+"8d2d76ac3edd946edd24776ac421b921.svg"},function(e,t,n){e.exports=n.p+"7661ca808d3be4d7292d9fd97e3c9b06.svg"},function(e,t,n){e.exports=n.p+"2688a5bcbad5b071a8c0dc7a63b094b9.svg"},function(e,t,n){e.exports=n.p+"4cc687393878e00af08aeb97c3856ff0.svg"},function(e,t,n){e.exports=n.p+"7b09d6f8dbf82ad8e8374273804923a8.svg"},function(e,t,n){e.exports=n.p+"440fbdedb8e9643fb54bbec13d1d7525.svg"},function(e,t,n){e.exports=n.p+"d0e0c9b76514a1c6cb8b9b988b05d2e9.svg"},function(e,t,n){e.exports=n.p+"5c04ac2b97de83c767c22cb0028544ee.svg"},function(e,t,n){e.exports=n.p+"b51b374967740c81d8681d7a6cb4218d.svg"},function(e,t,n){e.exports=n.p+"cae9e3b02af6e987442df2953de026fc.svg"},function(e,t,n){e.exports=n.p+"b731b88b6459090c02b8d1e31a552c5a.svg"},function(e,t,n){e.exports=n.p+"f0835a46b501ae0a182874b003fdbb65.svg"},function(e,t,n){e.exports=n.p+"d56fc4f12b790c6cef7b08a515e4cce9.svg"},function(e,t,n){e.exports=n.p+"add1f87676ce1d709db3efd005873142.svg"},function(e,t,n){e.exports=n.p+"4a2841a4746acdf4d391b4fd497e540b.svg"},function(e,t,n){e.exports=n.p+"69cc1b4583611ccc6a5652d1ddaee8fc.svg"},function(e,t,n){e.exports=n.p+"b277c5ffb43011a356200198cf76b22d.svg"},function(e,t,n){e.exports=n.p+"c7631d09241c31bb0e357ba4c877d726.svg"},function(e,t,n){e.exports=n.p+"d51bbfccef4b12d5441ca23da921c604.svg"},function(e,t,n){e.exports=n.p+"e9b114282c887f219e297d6cc7249363.svg"},function(e,t,n){e.exports=n.p+"7e4f6dcf32845bfa865cf17491faf867.svg"},function(e,t,n){e.exports=n.p+"d0df7bf4acd843defa4e417cf767a574.svg"},function(e,t,n){e.exports=n.p+"1b6c783f128fe9fa93aee4d32a7013d6.svg"},function(e,t,n){e.exports=n.p+"2c6041bfc91ee1174f11740dc26573fe.svg"},function(e,t,n){e.exports=n.p+"07ede26f668b74a5fbeefff6eb35e15e.svg"},function(e,t,n){e.exports=n.p+"76292b41a5fa5408d92f674ebf4b7326.svg"},function(e,t,n){e.exports=n.p+"0702847ec6fe5542f0829e09e0c5bb22.svg"},function(e,t,n){e.exports=n.p+"f1f76882104c8724124954b6edfed6d4.svg"},function(e,t,n){e.exports=n.p+"b78035b8e2a6a4885d4448198963a14e.svg"},function(e,t,n){e.exports=n.p+"05e137fbeb8e924737f4cb21e974aaa2.svg"},function(e,t,n){e.exports=n.p+"4462ff23c2ca17710c52e92d1ea000a3.svg"},function(e,t,n){e.exports=n.p+"752d516f9363ed1a2ea60eace20ff801.svg"},function(e,t,n){e.exports=n.p+"d54e2cf917ed7cf7e736a3f47dfe1345.svg"},function(e,t,n){e.exports=n.p+"d1fa903a61500ee1c3d43d3751ceff8a.svg"},function(e,t,n){e.exports=n.p+"597c2af9a2b16473aa5d80dc46f2e112.svg"},function(e,t,n){e.exports=n.p+"eb3301ec88dae3fbc96c83bfe34dbdde.svg"},function(e,t,n){e.exports=n.p+"c50ae461ee0618f7f64c481248468a22.svg"},function(e,t,n){e.exports=n.p+"b180ba4b2cacbdaeb91885ef22c6bf21.svg"},function(e,t,n){e.exports=n.p+"468d61fd9fd55d3f5d905005d2180daa.svg"},function(e,t,n){e.exports=n.p+"65bd38c1796f4959df4028fdf06aaf8f.svg"},function(e,t,n){e.exports=n.p+"10d135bf11670b6db1db682a512da004.svg"},function(e,t,n){e.exports=n.p+"2a6e66e7de157c4051fb7abf7d8b0063.svg"},function(e,t,n){e.exports=n.p+"2fe6cd31e65e7a614dce24755303878b.svg"},function(e,t,n){e.exports=n.p+"17ce9728ad8efb8ffe2fa41f60c169be.svg"},function(e,t,n){e.exports=n.p+"744e294f94042d53a35348ddc46747b5.svg"},function(e,t,n){e.exports=n.p+"f71a48ebe4ebb6c0fb771721248d7523.svg"},function(e,t,n){e.exports=n.p+"f90a4ddd5d612bd89c0abe44c39fa4df.svg"},function(e,t,n){e.exports=n.p+"5f730d3f468c0b45ad924ebf061b0ad2.svg"},function(e,t,n){e.exports=n.p+"2e1d6b723adec95eaa2a500141cf136d.svg"},function(e,t,n){e.exports=n.p+"e301ba4fec009e9442b7016329d605e7.svg"},function(e,t,n){e.exports=n.p+"cf4c66d6a78fdb1a6a77dc434c7d5eb2.svg"},function(e,t,n){e.exports=n.p+"be0923fd964bff1a6ea77c14fe227a63.svg"},function(e,t,n){e.exports=n.p+"4dc13fd52f691020a1308c5b6cbc6f49.svg"},function(e,t,n){e.exports=n.p+"0dc84c65dd1003af7a7f9c29e5be0da0.svg"},function(e,t,n){e.exports=n.p+"cad1882ca3eeb04e786bc5d63e44477d.svg"},function(e,t,n){e.exports=n.p+"296af87a9a3b362dd6cce3b4afaaa1de.svg"},function(e,t,n){e.exports=n.p+"9bd8b85559466379744360f8c9841f39.svg"},function(e,t,n){e.exports=n.p+"948071d5928127731164ba265b4c4734.svg"},function(e,t,n){e.exports=n.p+"737302f9d68a5a14f95ea1beb1b198d6.svg"},function(e,t,n){e.exports=n.p+"9ff23cdb0da49d75de71469a6bd4725c.svg"},function(e,t,n){e.exports=n.p+"fc9afde78a605834bf01cedfcdad0b32.svg"},function(e,t,n){e.exports=n.p+"0c447d7b6e88284741bb9a70f213a17b.svg"},function(e,t,n){e.exports=n.p+"e4f2f57f08a4e4a48546f5c4e21c9a77.svg"},function(e,t,n){e.exports=n.p+"6eb0094a48d84f710cf75669a651fda6.svg"},function(e,t,n){e.exports=n.p+"9d0105dee7788a1fd4afbafe46dbd49b.svg"},function(e,t,n){e.exports=n.p+"a0c76fd4507e514834d4b91521b154a2.svg"},function(e,t,n){e.exports=n.p+"cc8afc69b651db9c2e9be9922eb84d52.svg"},function(e,t,n){e.exports=n.p+"359da261fc3928d6be58c30d646b2183.svg"},function(e,t,n){e.exports=n.p+"6330fe0d9849ac31f42a4421c38507e5.svg"},function(e,t,n){e.exports=n.p+"b9466f87d129b12061fe2de01ce8067e.svg"},function(e,t,n){e.exports=n.p+"dad7a30149566338fbe1ea8de6e5e6bd.svg"},function(e,t,n){e.exports=n.p+"fc1ca9bdd3eb10c518fa9cc6adbb0dc0.svg"},function(e,t,n){e.exports=n.p+"3b32193b9673582d2704e53ec1056b6e.svg"},function(e,t,n){e.exports=n.p+"4f22736614151ae463b63a5a78aac9d9.svg"},function(e,t,n){e.exports=n.p+"96b458e549758981dba74c32137c0784.svg"},function(e,t,n){e.exports=n.p+"df108c82f499b630411d1fc6594f3717.svg"},function(e,t,n){e.exports=n.p+"27858faebf7cdd9ff5ea61a592821626.svg"},function(e,t,n){e.exports=n.p+"49597d0af79718e540a4fbffe67ea93e.svg"},function(e,t,n){e.exports=n.p+"27858faebf7cdd9ff5ea61a592821626.svg"},function(e,t,n){e.exports=n.p+"06d5aa8ec24feb494a6ca3c005aa4347.svg"},function(e,t,n){e.exports=n.p+"070c599fe18ff7bc052bc6dbe12ecdda.svg"},function(e,t,n){e.exports=n.p+"06d5aa8ec24feb494a6ca3c005aa4347.svg"},function(e,t,n){e.exports=n.p+"bd8794492d8ebea97ed7240be317b9ef.svg"},function(e,t,n){e.exports=n.p+"2865199b420703e89fc14e8b5aa908f2.svg"},function(e,t,n){e.exports=n.p+"bd8794492d8ebea97ed7240be317b9ef.svg"},function(e,t,n){e.exports=n.p+"c85788e71b44f0315fed72f78e98bda0.svg"},function(e,t,n){e.exports=n.p+"bdc441d57fbc79a01a358a14454e1c05.svg"},function(e,t,n){e.exports=n.p+"c85788e71b44f0315fed72f78e98bda0.svg"},function(e,t,n){e.exports=n.p+"ae5a09140fe0450a519f11d1fe5e1961.svg"},function(e,t,n){e.exports=n.p+"bd3fb1f7ea1666d26d6b36e16755526c.svg"},function(e,t,n){e.exports=n.p+"ae5a09140fe0450a519f11d1fe5e1961.svg"},function(e,t,n){e.exports=n.p+"c8716626092cfde94ce42517ef389eac.svg"},function(e,t,n){e.exports=n.p+"5b83e9b7cef390cc351c6c2fefa14613.svg"},function(e,t,n){e.exports=n.p+"c8716626092cfde94ce42517ef389eac.svg"},function(e,t,n){e.exports=n.p+"4d4cd504c9f1f4e7f67ca27673b9ba8c.svg"},function(e,t,n){e.exports=n.p+"8c2d8995869fb78d7270b8dee69f601a.svg"},function(e,t,n){e.exports=n.p+"4d4cd504c9f1f4e7f67ca27673b9ba8c.svg"},function(e,t,n){e.exports=n.p+"51fd389d0759e83dc79999573bef69ef.svg"},function(e,t,n){e.exports=n.p+"0f2add7bc89f8c5c979447215206f33e.svg"},function(e,t,n){e.exports=n.p+"51fd389d0759e83dc79999573bef69ef.svg"},function(e,t,n){e.exports=n.p+"3358df5f68ca912b26cd6ef7f41c187d.svg"},function(e,t,n){e.exports=n.p+"2fbb998908b8da69c93bd9001fe90230.svg"},function(e,t,n){e.exports=n.p+"3358df5f68ca912b26cd6ef7f41c187d.svg"},function(e,t,n){e.exports=n.p+"d7c25dc8ccdb0a1f6f8c5789dd950536.svg"},function(e,t,n){e.exports=n.p+"27c6c9650f21d7abdffd934da65433e1.svg"},function(e,t,n){e.exports=n.p+"d7c25dc8ccdb0a1f6f8c5789dd950536.svg"},function(e,t,n){e.exports=n.p+"df56157adca6e141e7bd6d85603c9966.svg"},function(e,t,n){e.exports=n.p+"e51bd1da4377c15776a12c464fc4e8e9.svg"},function(e,t,n){e.exports=n.p+"df56157adca6e141e7bd6d85603c9966.svg"},function(e,t,n){e.exports=n.p+"237b70ca297af61150849c365804c779.svg"},function(e,t,n){e.exports=n.p+"bb7ddc9339dfedf06dfb18707be64408.svg"},function(e,t,n){e.exports=n.p+"237b70ca297af61150849c365804c779.svg"},function(e,t,n){e.exports=n.p+"586ed52d4dfebf00531187b2c9a94564.svg"},function(e,t,n){e.exports=n.p+"9dc796e9a06d7fdec5efff3c0963e364.svg"},function(e,t,n){e.exports=n.p+"9dc796e9a06d7fdec5efff3c0963e364.svg"},function(e,t,n){e.exports=n.p+"800109ba42eea7dbbc46797ba6756bc0.svg"},function(e,t,n){e.exports=n.p+"7d5d464cd50d16dd70d397a913f33298.svg"},function(e,t,n){e.exports=n.p+"7d5d464cd50d16dd70d397a913f33298.svg"},function(e,t,n){e.exports=n.p+"34835b0d17906473521fdac136128a1c.svg"},function(e,t,n){e.exports=n.p+"dcad54c08118a4bca3d70cdfb56f2500.svg"},function(e,t,n){e.exports=n.p+"dcad54c08118a4bca3d70cdfb56f2500.svg"},function(e,t,n){e.exports=n.p+"16091d525ff73de9803a911ff518706c.svg"},function(e,t,n){e.exports=n.p+"76c97f084fed162ad35aa50c66897ee9.svg"},function(e,t,n){e.exports=n.p+"76c97f084fed162ad35aa50c66897ee9.svg"},function(e,t,n){e.exports=n.p+"255dff385c72e21d1aab20f9b4baa283.svg"},function(e,t,n){e.exports=n.p+"d05cc969d79d6fa34895c36a173ea913.svg"},function(e,t,n){e.exports=n.p+"d05cc969d79d6fa34895c36a173ea913.svg"},function(e,t,n){e.exports=n.p+"0227a9d6cbc9cefe6b8e9a5b21b4e020.svg"},function(e,t,n){e.exports=n.p+"6ad7533814016970e37691af940737b1.svg"},function(e,t,n){e.exports=n.p+"6ad7533814016970e37691af940737b1.svg"},function(e,t,n){e.exports=n.p+"3b98d69b84b6d197204336b613538bc1.svg"},function(e,t,n){e.exports=n.p+"db43dae0609a391b37e34b42a27e2e93.svg"},function(e,t,n){e.exports=n.p+"9e24093e9842eb0d73db991debf1d254.svg"},function(e,t,n){e.exports=n.p+"47334adcee703b33a9dc6660809ba33d.svg"},function(e,t,n){e.exports=n.p+"289b373419086678cc999cb92243578c.svg"},function(e,t,n){e.exports=n.p+"47334adcee703b33a9dc6660809ba33d.svg"},function(e,t,n){e.exports=n.p+"2ef3ffaba265982139d520d7492177c7.svg"},function(e,t,n){e.exports=n.p+"b51f9b2a71bac667233d0a2257b3244a.svg"},function(e,t,n){e.exports=n.p+"2ef3ffaba265982139d520d7492177c7.svg"},function(e,t,n){e.exports=n.p+"e446bb93704840bca7e1148b5f46aae0.svg"},function(e,t,n){e.exports=n.p+"91130bb01bd3c46310a7c9856125c792.svg"},function(e,t,n){e.exports=n.p+"e446bb93704840bca7e1148b5f46aae0.svg"},function(e,t,n){e.exports=n.p+"875b941b371946c8fae95d21afcfd615.svg"},function(e,t,n){e.exports=n.p+"a6b540db0dc0f0e919b0d57e38e60eff.svg"},function(e,t,n){e.exports=n.p+"875b941b371946c8fae95d21afcfd615.svg"},function(e,t,n){e.exports=n.p+"1171ebc545fcd43691cedb9e75269107.svg"},function(e,t,n){e.exports=n.p+"f630862b2393181d612f1f07e2c9ab62.svg"},function(e,t,n){e.exports=n.p+"1171ebc545fcd43691cedb9e75269107.svg"},function(e,t,n){e.exports=n.p+"d9b465085bb2bdd5063063d25c63081b.svg"},function(e,t,n){e.exports=n.p+"d240216ffce241933a4173ac237a5b46.svg"},function(e,t,n){e.exports=n.p+"d9b465085bb2bdd5063063d25c63081b.svg"},function(e,t,n){e.exports=n.p+"be1d43b9455fd7ab71cc5469d7cc9b0f.svg"},function(e,t,n){e.exports=n.p+"3bc78c9fa93a432b8962d922d7704b07.svg"},function(e,t,n){e.exports=n.p+"821bde9f02965115c87d7228821e5b3d.svg"},function(e,t,n){e.exports=n.p+"21e167e0d113a2945940f7baf9c535f7.svg"},function(e,t,n){e.exports=n.p+"286401dd97b522b8976817de15001f29.svg"},function(e,t,n){e.exports=n.p+"b0e797f8bd2559fe2da945a8010c63fe.svg"},function(e,t,n){e.exports=n.p+"9b0d9f8334fdd41f6d3e0d00ca875126.svg"},function(e,t,n){e.exports=n.p+"e2bd49c3037e50b70c80357c846d61fd.svg"},function(e,t,n){e.exports=n.p+"9b0d9f8334fdd41f6d3e0d00ca875126.svg"},function(e,t,n){e.exports=n.p+"afd3c5afd4943807ce9d74d916f0f039.svg"},function(e,t,n){e.exports=n.p+"b41695623842a06aa3d8fe8a9fddb2fe.svg"},function(e,t,n){e.exports=n.p+"afd3c5afd4943807ce9d74d916f0f039.svg"},function(e,t,n){e.exports=n.p+"9daf2f4c47d57eb9a2ff8a501a59b6bc.svg"},function(e,t,n){e.exports=n.p+"43a237d1000206e0a9106692d365aef8.svg"},function(e,t,n){e.exports=n.p+"9daf2f4c47d57eb9a2ff8a501a59b6bc.svg"},function(e,t,n){e.exports=n.p+"1facd2b513632e621c0f44508ef813cb.svg"},function(e,t,n){e.exports=n.p+"3038c41a048ed47a6eb177b804b63314.svg"},function(e,t,n){e.exports=n.p+"1facd2b513632e621c0f44508ef813cb.svg"},function(e,t,n){e.exports=n.p+"f0c55d5b975d44901445ce41b902adbc.svg"},function(e,t,n){e.exports=n.p+"1ec5783f66010bc41d34048332c75ae7.svg"},function(e,t,n){e.exports=n.p+"f0c55d5b975d44901445ce41b902adbc.svg"},function(e,t,n){e.exports=n.p+"b3644635b7fa4c14b8c687279132d6d3.svg"},function(e,t,n){e.exports=n.p+"80bcfca3b719bbe46066c1319a379424.svg"},function(e,t,n){e.exports=n.p+"b3644635b7fa4c14b8c687279132d6d3.svg"},function(e,t,n){e.exports=n.p+"727c7353ce593812cdef9d13f390a4bc.svg"},function(e,t,n){e.exports=n.p+"8c1b5c461890ad6235971738100ee181.svg"},function(e,t,n){e.exports=n.p+"727c7353ce593812cdef9d13f390a4bc.svg"},function(e,t,n){e.exports=n.p+"62dae85f2df69691e56f3e0e35dc1f20.svg"},function(e,t,n){e.exports=n.p+"6835d381936b7a11c36bf8d33e2cb610.svg"},function(e,t,n){e.exports=n.p+"62dae85f2df69691e56f3e0e35dc1f20.svg"},function(e,t,n){e.exports=n.p+"b8eade04b9fca7b6bdb54ebd35ceda23.svg"},function(e,t,n){e.exports=n.p+"fe18030886d5777ab8e4372598a6abad.svg"},function(e,t,n){e.exports=n.p+"b8eade04b9fca7b6bdb54ebd35ceda23.svg"},function(e,t,n){e.exports=n.p+"268313978529f610f8d107cb7b9ca3ff.svg"},function(e,t,n){e.exports=n.p+"ffb8ad5b0c16818c226b2111602d5c94.svg"},function(e,t,n){e.exports=n.p+"268313978529f610f8d107cb7b9ca3ff.svg"},function(e,t,n){e.exports=n.p+"250a5574b811f77b4f0398f3ac99c09a.svg"},function(e,t,n){e.exports=n.p+"c200d20c7b16e3cb2f314e8f127a990b.svg"},function(e,t,n){e.exports=n.p+"250a5574b811f77b4f0398f3ac99c09a.svg"},function(e,t,n){e.exports=n.p+"e85ff09eff5deffb7c5518b5f709f32f.svg"},function(e,t,n){e.exports=n.p+"99eaa006d4b78a4d2383e6377b738e82.svg"},function(e,t,n){e.exports=n.p+"e85ff09eff5deffb7c5518b5f709f32f.svg"},function(e,t,n){e.exports=n.p+"059775e45a6109bcfe8c1bc3cf38b669.svg"},function(e,t,n){e.exports=n.p+"ab990be4d2b2256720c3a7649de658db.svg"},function(e,t,n){e.exports=n.p+"caa00654980534f4a44ee299b381906e.svg"},function(e,t,n){e.exports=n.p+"a31480bf491cc4fa49fc5f3bd9ec187a.svg"},function(e,t,n){e.exports=n.p+"8b41380a04ee16790e7bd93580783f99.svg"},function(e,t,n){e.exports=n.p+"5b4053c17d4c674d7d379a97460df444.svg"},function(e,t,n){e.exports=n.p+"bc84b70369161737d127f8ed288dd43f.svg"},function(e,t,n){e.exports=n.p+"77f150891732342bfe04a212f9cc7c3b.svg"},function(e,t,n){e.exports=n.p+"c2359deddfc0aeeb0dadfd0e2e053e7f.svg"},function(e,t,n){e.exports=n.p+"ebaa233b5d57ee7c8be025e7b5a705b0.svg"},function(e,t,n){e.exports=n.p+"649b6ae054a45fc6e999ba9a67b91b11.svg"},function(e,t,n){e.exports=n.p+"7794fd0349081f37e74c0c9c4a68a76f.svg"},function(e,t,n){e.exports=n.p+"acf8872f0f7b0f28966106dd96cde2f5.svg"},function(e,t,n){e.exports=n.p+"cd5e6a7c580c7a628d566a24377e988d.svg"},function(e,t,n){e.exports=n.p+"68c8e7fade0798479dd54009e7c9d229.svg"},function(e,t,n){e.exports=n.p+"3087acef97d5f2b28f0317cf114c6811.svg"},function(e,t,n){e.exports=n.p+"b419ee03f12c909d7bb8a41f05a48628.svg"},function(e,t,n){e.exports=n.p+"aee074549ff73c22cf56f61bc7acadc1.svg"},function(e,t,n){e.exports=n.p+"12c85e4c56ddfd3707584a851a6b8ce4.svg"},function(e,t,n){e.exports=n.p+"3843508d0a1fda2c0766304a1d253846.svg"},function(e,t,n){e.exports=n.p+"85eb4cfbe4893aaa2198d9b6656ae418.svg"},function(e,t,n){e.exports=n.p+"b0babd67d17035a8cec87b7b19ac3291.svg"},function(e,t,n){e.exports=n.p+"86f22f3882e2cbd61d51058bbd82af07.svg"},function(e,t,n){e.exports=n.p+"5bfb1f479fd5b7c5bd662534abcd77db.svg"},function(e,t,n){e.exports=n.p+"9b478539dc650e8c6b690ab5e5b9f902.svg"},function(e,t,n){e.exports=n.p+"ff819634ae1a1b4b573b0110d683f7b1.svg"},function(e,t,n){e.exports=n.p+"6c3c4f357534c6f279e4743dc120baa6.svg"},function(e,t,n){e.exports=n.p+"bee7a41823a58db69b17748a6319b62f.svg"},function(e,t,n){e.exports=n.p+"14f7153e13f4121d16af244aedd1e2c4.svg"},function(e,t,n){e.exports=n.p+"e95285636dd8086f3b383f4291d32761.svg"},function(e,t,n){e.exports=n.p+"ad3c940cb714a888d0dcc80e1ea5e245.svg"},function(e,t,n){e.exports=n.p+"1069ee1509716f8152b09f8c5b79ca11.svg"},function(e,t,n){e.exports=n.p+"4f49bdf61321f42eb0cce4da7bedc541.svg"},function(e,t,n){e.exports=n.p+"350f1a3285b97e9901ff99d7f949aacc.svg"},function(e,t,n){e.exports=n.p+"7ef22cb858ff3d144e47595c8effde2a.svg"},function(e,t,n){e.exports=n.p+"9bb02c6ab42bf3463ea06678050a1308.svg"},function(e,t,n){e.exports=n.p+"e8b9f89711b04c2cb394d931f34813b7.svg"},function(e,t,n){e.exports=n.p+"f4c46fbcae544e01fdb9cb9e47579f25.svg"},function(e,t,n){e.exports=n.p+"ea8e0bcce115a3cf107a19c101f22977.svg"},function(e,t,n){e.exports=n.p+"ad601783c4334522845c122ea818cb5a.svg"},function(e,t,n){e.exports=n.p+"67a60f00862e4c53828e3cbbffcb44ad.svg"},function(e,t,n){e.exports=n.p+"2f0712e63e431c40a84ae7bf5017e251.svg"},function(e,t,n){e.exports=n.p+"d05e5752fa914a3a3a495d873324d117.svg"},function(e,t,n){e.exports=n.p+"d05e5752fa914a3a3a495d873324d117.svg"},function(e,t,n){e.exports=n.p+"a12d238912f20e272102082dbc7ca62d.svg"},function(e,t,n){e.exports=n.p+"bef525933d0d23c33e2063928d981fcf.svg"},function(e,t,n){e.exports=n.p+"bef525933d0d23c33e2063928d981fcf.svg"},function(e,t,n){e.exports=n.p+"5020632a9374013bb72828d09e18e2bd.svg"},function(e,t,n){e.exports=n.p+"7bf86188b813a78461c3f4a5e8679cf3.svg"},function(e,t,n){e.exports=n.p+"7bf86188b813a78461c3f4a5e8679cf3.svg"},function(e,t,n){e.exports=n.p+"004da6340b78f558e6824b441cb3d407.svg"},function(e,t,n){e.exports=n.p+"fa03d2f6018e1edfb25166605335c8fe.svg"},function(e,t,n){e.exports=n.p+"fa03d2f6018e1edfb25166605335c8fe.svg"},function(e,t,n){e.exports=n.p+"f49c9ef33e2ef78c1dee133aec385626.svg"},function(e,t,n){e.exports=n.p+"60c5450dd7d201c3602174747e3c20b3.svg"},function(e,t,n){e.exports=n.p+"60c5450dd7d201c3602174747e3c20b3.svg"},function(e,t,n){e.exports=n.p+"ffea3b22358b035b04d4c15db5794eca.svg"},function(e,t,n){e.exports=n.p+"e6953fd6629a4e56c7fa087586f2e30a.svg"},function(e,t,n){e.exports=n.p+"e6953fd6629a4e56c7fa087586f2e30a.svg"},function(e,t,n){e.exports=n.p+"6a134d6b7933d5d66f8accfe0931beca.svg"},function(e,t,n){e.exports=n.p+"a933220a202b461a84eb8eec5294d484.svg"},function(e,t,n){e.exports=n.p+"1528601373aa5d9bdadb29f805d9726e.svg"},function(e,t,n){e.exports=n.p+"184ecbf5e4f44c79dc1c83b5363b9a9a.svg"},function(e,t,n){e.exports=n.p+"6bf5a182b60b806be39de28837ecbaa1.svg"},function(e,t,n){e.exports=n.p+"a1f0c106b0a0f68f6b11c2dc0cc8d249.svg"},function(e,t,n){e.exports=n.p+"4c231cb7c6f5bb352261a2e0bfa63fb1.svg"},function(e,t,n){e.exports=n.p+"dc0a6320d907631d34e6655dff176295.svg"},function(e,t,n){e.exports=n.p+"939451d132d1419d57158f8e38aad0b7.svg"},function(e,t,n){e.exports=n.p+"c707a49a6979a1b2093c13849e0a9990.svg"},function(e,t,n){e.exports=n.p+"59ba1e8d8ce894a7b7d857c87434303d.svg"},function(e,t,n){e.exports=n.p+"3d984f2cbd6e6bc528d183afe0ddebe3.svg"},function(e,t,n){e.exports=n.p+"02d982088dfe349faf4f907443af1485.svg"},function(e,t,n){e.exports=n.p+"7568362c0e19ae556312471645d4174f.svg"},function(e,t,n){e.exports=n.p+"632c03a087369e4cc9f0e429acb17440.svg"},function(e,t,n){e.exports=n.p+"c3a3491092a37bc7112d393a0275f800.svg"},function(e,t,n){e.exports=n.p+"382662eeff5a0a5d81463e36aff733dd.svg"},function(e,t,n){e.exports=n.p+"6c56b9e241cd847c869d487fe5efb2d7.svg"},function(e,t,n){e.exports=n.p+"6c56b9e241cd847c869d487fe5efb2d7.svg"},function(e,t,n){e.exports=n.p+"4bcf3735779ea63f6585d20d38698253.svg"},function(e,t,n){e.exports=n.p+"1b7b68e5c4f716160162497f5d56ccb6.svg"},function(e,t,n){e.exports=n.p+"1b7b68e5c4f716160162497f5d56ccb6.svg"},function(e,t,n){e.exports=n.p+"23509a8062aa2284e7f7b7c0da0c5d03.svg"},function(e,t,n){e.exports=n.p+"b2a39e4a986d3560d804085f2134e99b.svg"},function(e,t,n){e.exports=n.p+"b2a39e4a986d3560d804085f2134e99b.svg"},function(e,t,n){e.exports=n.p+"69508336dfc1c0d177fe440b7c6cb557.svg"},function(e,t,n){e.exports=n.p+"8ba2ea9c7c9231bdbf2cdcad49a0a840.svg"},function(e,t,n){e.exports=n.p+"8ba2ea9c7c9231bdbf2cdcad49a0a840.svg"},function(e,t,n){e.exports=n.p+"da174e935db705aa657ac9cecb25c140.svg"},function(e,t,n){e.exports=n.p+"1a391fd703099b9747db9e9644940f88.svg"},function(e,t,n){e.exports=n.p+"1a391fd703099b9747db9e9644940f88.svg"},function(e,t,n){e.exports=n.p+"9061cba77b9a90f4b66138b827233fb0.svg"},function(e,t,n){e.exports=n.p+"4bd00770aeb2423f516537a387637c4a.svg"},function(e,t,n){e.exports=n.p+"4bd00770aeb2423f516537a387637c4a.svg"},function(e,t,n){e.exports=n.p+"8be5059779993d272667a77c04dbf229.svg"},function(e,t,n){e.exports=n.p+"9cd1159d7e15c2456e2395cb45814d49.svg"},function(e,t,n){e.exports=n.p+"9cd1159d7e15c2456e2395cb45814d49.svg"},function(e,t,n){e.exports=n.p+"6af97f442ce4788fdbcfbaf84b64d9bf.svg"},function(e,t,n){e.exports=n.p+"c71daf891ae4c64fe80e00fdb1ce65b6.svg"},function(e,t,n){e.exports=n.p+"c71daf891ae4c64fe80e00fdb1ce65b6.svg"},function(e,t,n){e.exports=n.p+"738f1344257a39708b4a1c092ed4d983.svg"},function(e,t,n){e.exports=n.p+"be79969e731fd19cfded02b0b0dd056a.svg"},function(e,t,n){e.exports=n.p+"be79969e731fd19cfded02b0b0dd056a.svg"},function(e,t,n){e.exports=n.p+"ce479337cd67408910d498d47eafce8c.svg"},function(e,t,n){e.exports=n.p+"58bad0399cb3b61b16d34a5a268caaa5.svg"},function(e,t,n){e.exports=n.p+"58bad0399cb3b61b16d34a5a268caaa5.svg"},function(e,t,n){e.exports=n.p+"94feb56c0fda369f8df2191632c9de5a.svg"},function(e,t,n){e.exports=n.p+"a8cf88b8a77e2912a09006a98412509b.svg"},function(e,t,n){e.exports=n.p+"a8cf88b8a77e2912a09006a98412509b.svg"},function(e,t,n){e.exports=n.p+"5ece2fe9d98ab07f05ab91b5dcfcfbee.svg"},function(e,t,n){e.exports=n.p+"62d57225c20a09b58b79d9ddf7477b34.svg"},function(e,t,n){e.exports=n.p+"62d57225c20a09b58b79d9ddf7477b34.svg"},function(e,t,n){e.exports=n.p+"8d6ba89cb7ff2d9671d3bbede848d734.svg"},function(e,t,n){e.exports=n.p+"258d18d5481be6f8bc56cfecad5c347b.svg"},function(e,t,n){e.exports=n.p+"258d18d5481be6f8bc56cfecad5c347b.svg"},function(e,t,n){e.exports=n.p+"8dc6fa14059052343c9a95546646bc53.svg"},function(e,t,n){e.exports=n.p+"cbc925e4b3ebb168ce1ed70cec87207e.svg"},function(e,t,n){e.exports=n.p+"cbc925e4b3ebb168ce1ed70cec87207e.svg"},function(e,t,n){e.exports=n.p+"ea4d541c363c3cc33ca90a0ecf5a8030.svg"},function(e,t,n){e.exports=n.p+"0ff1c4cb37f8603c0bf30eabc3170bd8.svg"},function(e,t,n){e.exports=n.p+"0ff1c4cb37f8603c0bf30eabc3170bd8.svg"},function(e,t,n){e.exports=n.p+"e5bfb1f5cb446aa792fbd01b69d7a1a7.svg"},function(e,t,n){e.exports=n.p+"736fa45147af1079de6013a6d26e2229.svg"},function(e,t,n){e.exports=n.p+"736fa45147af1079de6013a6d26e2229.svg"},function(e,t,n){e.exports=n.p+"5638f0cb22081576b0080c6cd7715fd5.svg"},function(e,t,n){e.exports=n.p+"1faeb771c103949b2d24ee9bcfb5c6be.svg"},function(e,t,n){e.exports=n.p+"1faeb771c103949b2d24ee9bcfb5c6be.svg"},function(e,t,n){e.exports=n.p+"0e89af941856a9e207cc48e8e92beb92.svg"},function(e,t,n){e.exports=n.p+"a3ca232394a8e24c2110860e52fba60f.svg"},function(e,t,n){e.exports=n.p+"a3ca232394a8e24c2110860e52fba60f.svg"},function(e,t,n){e.exports=n.p+"12ea85689f52f144e1529d5144864cf2.svg"},function(e,t,n){e.exports=n.p+"583122438a98a4efd61c5509ad84f946.svg"},function(e,t,n){e.exports=n.p+"27a8d5bbb2fe88679e0e985b68902826.svg"},function(e,t,n){e.exports=n.p+"5de7cbddbb9871569ed57d44356e5168.svg"},function(e,t,n){e.exports=n.p+"5a1b5dcd927cc2f1905c61dd3d9ddedd.svg"},function(e,t,n){e.exports=n.p+"b96f90c005db117b0a7d077753224efa.svg"},function(e,t,n){e.exports=n.p+"f69e1da6035d893a6a62782c5befd743.svg"},function(e,t,n){e.exports=n.p+"9b7293199330ec7aec11e5594f73bf98.svg"},function(e,t,n){e.exports=n.p+"9114eb3dd1724a82d71dbae885db13f0.svg"},function(e,t,n){e.exports=n.p+"13a8b28a5bd53b3304c00e23b3ea5a03.svg"},function(e,t,n){e.exports=n.p+"26e0a21150f15cc5eaa38977e7ab803b.svg"},function(e,t,n){e.exports=n.p+"1144296e37146b143f50ac30c4ca29a2.svg"},function(e,t,n){e.exports=n.p+"b072ba136a323c3ea5c9e4c37278ace0.svg"},function(e,t,n){e.exports=n.p+"65922c22b9df641986d772b21c540476.svg"},function(e,t,n){e.exports=n.p+"1a6361ed9da761902998f0cec8fc7a34.svg"},function(e,t,n){e.exports=n.p+"d1ee4664d81f783dfb02a096cc634d26.svg"},function(e,t,n){e.exports=n.p+"cdda47b108df90a11e4c9fd96ef1534b.svg"},function(e,t,n){e.exports=n.p+"3e50c9d0300203598831bd391ab66af3.svg"},function(e,t,n){e.exports=n.p+"6a3e1553634786227dab76f45c72cc6c.svg"},function(e,t,n){e.exports=n.p+"53f7f23be1ad3dc9f20241c806a4130a.svg"},function(e,t,n){e.exports=n.p+"68116c4b2fc5e16858a6062336a09920.svg"},function(e,t,n){e.exports=n.p+"d52b31ef227072fba85ecfcc06ad9966.svg"},function(e,t,n){e.exports=n.p+"07985bb2d1325890d09a12d09e76f8aa.svg"},function(e,t,n){e.exports=n.p+"06b401b5fb5674ea737d664bcaeab59d.svg"},function(e,t,n){e.exports=n.p+"59f4c330088c021e484274ed07f60c3c.svg"},function(e,t,n){e.exports=n.p+"4561e01f2bd96dea0b713e0536361017.svg"},function(e,t,n){e.exports=n.p+"9dde06f4675996347c363c6eee93c142.svg"},function(e,t,n){e.exports=n.p+"6090d49b641e0667f6bec4038019163b.svg"},function(e,t,n){e.exports=n.p+"eb26be30e5b0e617e84f2665ffb79404.svg"},function(e,t,n){e.exports=n.p+"cb869f7cf0aadf77f1baabc33b97d96b.svg"},function(e,t,n){e.exports=n.p+"484469cd879958684c40b5376b61fab8.svg"},function(e,t,n){e.exports=n.p+"7d8e9e2805bdb7b32248f72fc9c94080.svg"},function(e,t,n){e.exports=n.p+"ad7bb0b7409afab511bb9c4d5959b8c7.svg"},function(e,t,n){e.exports=n.p+"78200fb6296bd2ab02a834120606ae82.svg"},function(e,t,n){e.exports=n.p+"55c17959c1bb6b0891a94ccde3ba996b.svg"},function(e,t,n){e.exports=n.p+"7757b499acbd14820e76d4bf228ffc86.svg"},function(e,t,n){e.exports=n.p+"0e5882173de9ebc7df00fd1d7b06f90a.svg"},function(e,t,n){e.exports=n.p+"06f47dd9f4c2d8bc7814832bfe0cb46f.svg"},function(e,t,n){e.exports=n.p+"a5f633ebd99acbbe8817295fe576432f.svg"},function(e,t,n){e.exports=n.p+"2111c60fe0d985eec6fb7fa6e8e7d24e.svg"},function(e,t,n){e.exports=n.p+"5482bfb5e445e124c39ada6827f63dee.svg"},function(e,t,n){e.exports=n.p+"8dbf58d4961760e135928f4199e5b419.svg"},function(e,t,n){e.exports=n.p+"8950ef013fdf4af550448d7f21df763a.svg"},function(e,t,n){e.exports=n.p+"47b71c0152f0830d021ac7416065a4f1.svg"},function(e,t,n){e.exports=n.p+"899bd1c48c78aec311fbea9eaf891f46.svg"},function(e,t,n){e.exports=n.p+"8e2ae381e00ef88f0299ae19556e0172.svg"},function(e,t,n){e.exports=n.p+"1c184dd1f8ca4272905cec9360f9c5c7.svg"},function(e,t,n){e.exports=n.p+"da16c90202a239aff1212e3a8f57bc3e.svg"},function(e,t,n){e.exports=n.p+"5cdb67d23b259628f475e663ef9907e7.svg"},function(e,t,n){e.exports=n.p+"ef589b423dfa7ae5054992649c873db7.svg"},function(e,t,n){e.exports=n.p+"e694b29603bee9f93dea4cad64502a38.svg"},function(e,t,n){e.exports=n.p+"53ef346458017da2062aca5c7955946b.svg"},function(e,t,n){e.exports=n.p+"720a392d0bcd8e644b0d3f8698889238.svg"},function(e,t,n){e.exports=n.p+"37721a3154785c9557e97172b60c6ce7.svg"},function(e,t,n){e.exports=n.p+"a3fb4592346733e0ef665ea7385c2721.svg"},function(e,t,n){e.exports=n.p+"d502579d3922957a5d204483b217fdce.svg"},function(e,t,n){e.exports=n.p+"7a3ec84744e6e0394617fca3f5039594.svg"},function(e,t,n){e.exports=n.p+"4dfeacca59de022162f050543a86bd8e.svg"},function(e,t,n){e.exports=n.p+"0a5fbdc7c80d32521fa96c622a4482dd.svg"},function(e,t,n){e.exports=n.p+"08be75152d772807077b0000a5a21bee.svg"},function(e,t,n){e.exports=n.p+"26363123de60a4946bf4e8987523dcb2.svg"},function(e,t,n){e.exports=n.p+"b21ca6b1954fa3e9e3b2883e04cb699c.svg"},function(e,t,n){e.exports=n.p+"329e01a35d31b07ed5ea7dba14f1cfa6.svg"},function(e,t,n){e.exports=n.p+"3ed350934261c5df0bbdf42222716bb2.svg"},function(e,t,n){e.exports=n.p+"03ab3578e0378c54e83ee4004e543797.svg"},function(e,t,n){e.exports=n.p+"8881b37fb383da16138e86b494154341.svg"},function(e,t,n){e.exports=n.p+"c90a58a821ce15bb04f0394c1abe5f38.svg"},function(e,t,n){e.exports=n.p+"6c04987d8bd5a37fc6d3e063a2f1a7de.svg"},function(e,t,n){e.exports=n.p+"6e34dfe869fe67b6e497869f4e07ed6d.svg"},function(e,t,n){e.exports=n.p+"9b74820cb6df6d9142d73b6b894f3eb6.svg"},function(e,t,n){e.exports=n.p+"17d3d1157f8cc7156df8e8980579e107.svg"},function(e,t,n){e.exports=n.p+"469530cd639b6074a3c728357d2dbf47.svg"},function(e,t,n){e.exports=n.p+"0c0a3500a658fb9df2fe8359cec22571.svg"},function(e,t,n){e.exports=n.p+"1cddbada78c69bf77f9012418c56fe56.svg"},function(e,t,n){e.exports=n.p+"a6126458bbab741268586171361d0e8e.svg"},function(e,t,n){e.exports=n.p+"357b9d9cae813706cc0cf91f0edc4fb2.svg"},function(e,t,n){e.exports=n.p+"0640495a5e66d9be6fec1298e82f9ccc.svg"},function(e,t,n){e.exports=n.p+"4b4081752b59f2bd2e4949a996fcf591.svg"},function(e,t,n){e.exports=n.p+"86e370b15b66e9e93eddee319c654a43.svg"},function(e,t,n){e.exports=n.p+"c241725e71a9be3fa21b738deae1a4fd.svg"},function(e,t,n){e.exports=n.p+"979ff3475ca4af06ac8195059c58310b.svg"},function(e,t,n){e.exports=n.p+"ec0fb42a32022b141dc59d0f56052c94.svg"},function(e,t,n){e.exports=n.p+"f6bf85ea717664e621e5c096554ea8e5.svg"},function(e,t,n){e.exports=n.p+"a0203c51a8c65e6faec55b694b50d388.svg"},function(e,t,n){e.exports=n.p+"2125697f90e69344140e556a0f60b57b.svg"},function(e,t,n){e.exports=n.p+"1c9af0d25ff26e228bf3d4828b6e10d1.svg"},function(e,t,n){e.exports=n.p+"1582c88dc78aef3504ae1a4d4838f5da.svg"},function(e,t,n){e.exports=n.p+"b13fc5541affd359d9f0ecc3e468a1f8.svg"},function(e,t,n){e.exports=n.p+"cd4f00e09dbb4f91dca4f8c1de0fa6da.svg"},function(e,t,n){e.exports=n.p+"4e5c4ea8c9c17be04aba202f65d1ce6c.svg"},function(e,t,n){e.exports=n.p+"c0752f6cfeb0a0b7cf2d0d85e54e930e.svg"},function(e,t,n){e.exports=n.p+"5a73c395732e49ad5768a857ab749677.svg"},function(e,t,n){e.exports=n.p+"984390b3eefc024ea770ccbfcfbdc4e2.svg"},function(e,t,n){e.exports=n.p+"1beee7912bb5016975747a3086794957.svg"},function(e,t,n){e.exports=n.p+"a9257530099447e1e7846cf269d16948.svg"},function(e,t,n){e.exports=n.p+"a8fc44fdb07e26cf994055376a719540.svg"},function(e,t,n){e.exports=n.p+"e915a145787a561dfb06fce7e0d55c2c.svg"},function(e,t,n){e.exports=n.p+"724802e432ab8683ca07516667271177.svg"},function(e,t,n){e.exports=n.p+"128100fb0b658d993dffffca20273ed6.svg"},function(e,t,n){e.exports=n.p+"95f1fa8ad925725e8ef6892a6e1877fa.svg"},function(e,t,n){e.exports=n.p+"128100fb0b658d993dffffca20273ed6.svg"},function(e,t,n){e.exports=n.p+"ddff5f327acde90153c092a2ec160d63.svg"},function(e,t,n){e.exports=n.p+"ab079c960ef195d3fe1d4fa0f01c82cf.svg"},function(e,t,n){e.exports=n.p+"ddff5f327acde90153c092a2ec160d63.svg"},function(e,t,n){e.exports=n.p+"b67d63a69fe0637f075e483186c228df.svg"},function(e,t,n){e.exports=n.p+"737712c9d16afbf63dcf3f544066f099.svg"},function(e,t,n){e.exports=n.p+"b67d63a69fe0637f075e483186c228df.svg"},function(e,t,n){e.exports=n.p+"bc7e3f27acd3fcb786f8100e2442807b.svg"},function(e,t,n){e.exports=n.p+"5488846f9b8c7370c94d9a9883d58ea8.svg"},function(e,t,n){e.exports=n.p+"bc7e3f27acd3fcb786f8100e2442807b.svg"},function(e,t,n){e.exports=n.p+"a1df8411399f691e18e9cc0549f9b357.svg"},function(e,t,n){e.exports=n.p+"af2e8cc5c25bc476e0cb74cd49694cd6.svg"},function(e,t,n){e.exports=n.p+"a1df8411399f691e18e9cc0549f9b357.svg"},function(e,t,n){e.exports=n.p+"a2d0c0f7e2a7219cb5f9b951bba19437.svg"},function(e,t,n){e.exports=n.p+"3b477d8449589b94aaf65328348d13a5.svg"},function(e,t,n){e.exports=n.p+"a2d0c0f7e2a7219cb5f9b951bba19437.svg"},function(e,t,n){e.exports=n.p+"f2ff2b63da9f3c90788af6db317ee268.svg"},function(e,t,n){e.exports=n.p+"25907f32e80752be15b776d89e7734d4.svg"},function(e,t,n){e.exports=n.p+"08a8564c51a1ade59dc4a92e6a93f9a7.svg"},function(e,t,n){e.exports=n.p+"09cb3c8f46f0419661de1a7405a261b0.svg"},function(e,t,n){e.exports=n.p+"022d19d0126bda73ae4f71ef7968229b.svg"},function(e,t,n){e.exports=n.p+"758f63405f4c7c3ed03490cbbaf1ad05.svg"},function(e,t,n){e.exports=n.p+"c69556bbed1f340dbdc84299267738a6.svg"},function(e,t,n){e.exports=n.p+"263fab247932d4d0670a7c8b9dee37b3.svg"},function(e,t,n){e.exports=n.p+"8920dd978ed73101f9ac9f3c966c929d.svg"},function(e,t,n){e.exports=n.p+"64df4d6a7496621f24bfc5fdc1f3774c.svg"},function(e,t,n){e.exports=n.p+"4657b16c2f48de35d1940bf9ed5e303c.svg"},function(e,t,n){e.exports=n.p+"52016cd2bfc232c49ebe43066a8733bb.svg"},function(e,t,n){e.exports=n.p+"b97d4816573933b53e290136980e4136.svg"},function(e,t,n){e.exports=n.p+"8c24e60ab57e69fde61f65e763f12ef1.svg"},function(e,t,n){e.exports=n.p+"c3fa7929f40cb7beb6505c2d62d7ec79.svg"},function(e,t,n){e.exports=n.p+"a40d99db731147e3ffbfcf6021d045ef.svg"},function(e,t,n){e.exports=n.p+"353e18a6bff03b7e2afa72a20294f6f8.svg"},function(e,t,n){e.exports=n.p+"702b751f9b82cd325bd739276a23611f.svg"},function(e,t,n){e.exports=n.p+"1492eba594b9880b0b8038a5646f7bff.svg"},function(e,t,n){e.exports=n.p+"ce0b16a38ed6922df90755bea711986f.svg"},function(e,t,n){e.exports=n.p+"a2cc373145610818cdd354df40204dd1.svg"},function(e,t,n){e.exports=n.p+"256a199702d811fa2187e5074117d290.svg"},function(e,t,n){e.exports=n.p+"939dbe2849387b23913cd742db341bf1.svg"},function(e,t,n){e.exports=n.p+"42fe92d3fd2468e96f9a91dcac9e0554.svg"},function(e,t,n){e.exports=n.p+"7952d980903dc48db721d3d63a00769d.svg"},function(e,t,n){e.exports=n.p+"534fc6fd131ba6ed1c446307f960ebf9.svg"},function(e,t,n){e.exports=n.p+"07bf285793f70908782f633e674fb532.svg"},function(e,t,n){e.exports=n.p+"a38a6f1c42f9d623a2bb077846f9b223.svg"},function(e,t,n){e.exports=n.p+"26e9ce35d631f3a608e84470b5f437fc.svg"},function(e,t,n){e.exports=n.p+"6cfe207d02c461c76499e5d885588009.svg"},function(e,t,n){e.exports=n.p+"91f43b7b78d9077aca6fec698800d3bd.svg"},function(e,t,n){e.exports=n.p+"09009eeb2524bb2a3d8444ed3bc8c1a9.svg"},function(e,t,n){e.exports=n.p+"ab5159cbf450af0e9510af570ccce859.svg"},function(e,t,n){e.exports=n.p+"09009eeb2524bb2a3d8444ed3bc8c1a9.svg"},function(e,t,n){e.exports=n.p+"c75491b0ecd545d6f4ec743bc4ec62bf.svg"},function(e,t,n){e.exports=n.p+"e8452cac850735540092c993ff9f1365.svg"},function(e,t,n){e.exports=n.p+"c75491b0ecd545d6f4ec743bc4ec62bf.svg"},function(e,t,n){e.exports=n.p+"6ff3493a45a1dbfab1f1db6221568ae2.svg"},function(e,t,n){e.exports=n.p+"2d1c5387c5ce8c38966b0fc33aa361b1.svg"},function(e,t,n){e.exports=n.p+"6ff3493a45a1dbfab1f1db6221568ae2.svg"},function(e,t,n){e.exports=n.p+"587f13ceaea211452ff933a9376cfd5e.svg"},function(e,t,n){e.exports=n.p+"8440b66590260e303099217e3d47feb1.svg"},function(e,t,n){e.exports=n.p+"587f13ceaea211452ff933a9376cfd5e.svg"},function(e,t,n){e.exports=n.p+"e5b68a942c044cae875ce367a8cc7866.svg"},function(e,t,n){e.exports=n.p+"8c30b8393fd9273950f6cea5a819e2d3.svg"},function(e,t,n){e.exports=n.p+"e5b68a942c044cae875ce367a8cc7866.svg"},function(e,t,n){e.exports=n.p+"656a6c9ad248051ce95bfb0bcec98ffa.svg"},function(e,t,n){e.exports=n.p+"17ffddfc07d5ecf1c902b5c2b6618cc2.svg"},function(e,t,n){e.exports=n.p+"656a6c9ad248051ce95bfb0bcec98ffa.svg"},function(e,t,n){e.exports=n.p+"0312be9c1066441bc4c03f5c7663172d.svg"},function(e,t,n){e.exports=n.p+"c30f209dfc845f05fd235a43acd8a007.svg"},function(e,t,n){e.exports=n.p+"0312be9c1066441bc4c03f5c7663172d.svg"},function(e,t,n){e.exports=n.p+"47236aedb0e3c5f06cf2c9c6753b1922.svg"},function(e,t,n){e.exports=n.p+"8c9c5e8370cb6ce8f1be06d8b89265bc.svg"},function(e,t,n){e.exports=n.p+"47236aedb0e3c5f06cf2c9c6753b1922.svg"},function(e,t,n){e.exports=n.p+"eb87936b35bba2344a55a02200f2ee5d.svg"},function(e,t,n){e.exports=n.p+"cd9926585738c1885dbd8f992b681161.svg"},function(e,t,n){e.exports=n.p+"eb87936b35bba2344a55a02200f2ee5d.svg"},function(e,t,n){e.exports=n.p+"7b4766b6be1f542a086a3a8790258e23.svg"},function(e,t,n){e.exports=n.p+"21658c6418461b6ec2ef4ce744ee98d0.svg"},function(e,t,n){e.exports=n.p+"7b4766b6be1f542a086a3a8790258e23.svg"},function(e,t,n){e.exports=n.p+"55bdc62a2ab1ca6f1bae78551cbf0009.svg"},function(e,t,n){e.exports=n.p+"a7b6402d4b37b45000124e3a7354572f.svg"},function(e,t,n){e.exports=n.p+"55bdc62a2ab1ca6f1bae78551cbf0009.svg"},function(e,t,n){e.exports=n.p+"e1994fb3ab91a3c99cde68c979a558ee.svg"},function(e,t,n){e.exports=n.p+"652f96a9f3b1438d6d8f4b0a746aa072.svg"},function(e,t,n){e.exports=n.p+"e1994fb3ab91a3c99cde68c979a558ee.svg"},function(e,t,n){e.exports=n.p+"38866f8ea21d7a70e19048a965bbd235.svg"},function(e,t,n){e.exports=n.p+"9ae94dc4aa6640a9381f8dd085e7a543.svg"},function(e,t,n){e.exports=n.p+"9ae94dc4aa6640a9381f8dd085e7a543.svg"},function(e,t,n){e.exports=n.p+"dc196edd3da73acbdccb3f3b420cfc10.svg"},function(e,t,n){e.exports=n.p+"c1dc3cc9a503c6d9d5295faaa109cc64.svg"},function(e,t,n){e.exports=n.p+"c1dc3cc9a503c6d9d5295faaa109cc64.svg"},function(e,t,n){e.exports=n.p+"c303be4b169a33e621a647d210b4b2d9.svg"},function(e,t,n){e.exports=n.p+"af0103cb8368ada7323965fc95b437ee.svg"},function(e,t,n){e.exports=n.p+"af0103cb8368ada7323965fc95b437ee.svg"},function(e,t,n){e.exports=n.p+"7c121f8496b3c2b7a73b056926b25bbd.svg"},function(e,t,n){e.exports=n.p+"8012164d35e6bde9cbd0891fc5f8ab09.svg"},function(e,t,n){e.exports=n.p+"8012164d35e6bde9cbd0891fc5f8ab09.svg"},function(e,t,n){e.exports=n.p+"22972a884d5acc9fefc944de7738541c.svg"},function(e,t,n){e.exports=n.p+"17c122a9f536512ca24f86fcaab7022a.svg"},function(e,t,n){e.exports=n.p+"17c122a9f536512ca24f86fcaab7022a.svg"},function(e,t,n){e.exports=n.p+"fe3a65a707a2b3b20e6408e97af457e1.svg"},function(e,t,n){e.exports=n.p+"997bedb7542f94f18dff6504ce2c3f13.svg"},function(e,t,n){e.exports=n.p+"997bedb7542f94f18dff6504ce2c3f13.svg"},function(e,t,n){e.exports=n.p+"ce8d2aed027c8cbc30bd1f40d7b3ca48.svg"},function(e,t,n){e.exports=n.p+"9f99923206ca2020da27e340eb0c835d.svg"},function(e,t,n){e.exports=n.p+"0842cda4de0f01d4020013bcab7afa28.svg"},function(e,t,n){e.exports=n.p+"0842cda4de0f01d4020013bcab7afa28.svg"},function(e,t,n){e.exports=n.p+"d878273afb589fda91647f79b80a54ba.svg"},function(e,t,n){e.exports=n.p+"699db1bd59f701de93402eb0994689d8.svg"},function(e,t,n){e.exports=n.p+"699db1bd59f701de93402eb0994689d8.svg"},function(e,t,n){e.exports=n.p+"7707512d96b7e60cfc589ae370710e94.svg"},function(e,t,n){e.exports=n.p+"2366787aa61b2be0218ed79e17b61d67.svg"},function(e,t,n){e.exports=n.p+"2366787aa61b2be0218ed79e17b61d67.svg"},function(e,t,n){e.exports=n.p+"effe1e1814a0c5bbeda4df9ed0efc3b5.svg"},function(e,t,n){e.exports=n.p+"29a3531ce88782dbb6f5c7962424a42b.svg"},function(e,t,n){e.exports=n.p+"29a3531ce88782dbb6f5c7962424a42b.svg"},function(e,t,n){e.exports=n.p+"5c8b15966214bd6036fbc50d0c0ebe9a.svg"},function(e,t,n){e.exports=n.p+"9dc8a3f10ba2087484c0f9d855e953ed.svg"},function(e,t,n){e.exports=n.p+"9dc8a3f10ba2087484c0f9d855e953ed.svg"},function(e,t,n){e.exports=n.p+"545e275906b9622424948a86e2cf4701.svg"},function(e,t,n){e.exports=n.p+"d3b87c3d5922b3d38edfae322556065b.svg"},function(e,t,n){e.exports=n.p+"d3b87c3d5922b3d38edfae322556065b.svg"},function(e,t,n){e.exports=n.p+"b60820fc78618f299e240f3efbf2e4ce.svg"},function(e,t,n){e.exports=n.p+"9970d4d56dfd832c6ea99e927b13bb09.svg"},function(e,t,n){e.exports=n.p+"9970d4d56dfd832c6ea99e927b13bb09.svg"},function(e,t,n){e.exports=n.p+"fd3932a760cbb72859028ab7ff2d0a0c.svg"},function(e,t,n){e.exports=n.p+"98268d1e0dee30fd1e23af64e2e9c3ec.svg"},function(e,t,n){e.exports=n.p+"fd3932a760cbb72859028ab7ff2d0a0c.svg"},function(e,t,n){e.exports=n.p+"196b8bab4d4f05458910362fabdbac47.svg"},function(e,t,n){e.exports=n.p+"842dad048ac9b3effc4ffd9b74eab1f8.svg"},function(e,t,n){e.exports=n.p+"196b8bab4d4f05458910362fabdbac47.svg"},function(e,t,n){e.exports=n.p+"96c342cf806d858f16ab9a4ec79490cf.svg"},function(e,t,n){e.exports=n.p+"c61342d080e69349019a6c473f75762c.svg"},function(e,t,n){e.exports=n.p+"96c342cf806d858f16ab9a4ec79490cf.svg"},function(e,t,n){e.exports=n.p+"22501029338194e1004cf52a3b7ce1a8.svg"},function(e,t,n){e.exports=n.p+"2b48e09525a18cb0e206d933ee3eb9fd.svg"},function(e,t,n){e.exports=n.p+"22501029338194e1004cf52a3b7ce1a8.svg"},function(e,t,n){e.exports=n.p+"5ab72c45aa5b42829c5b03151988dd8f.svg"},function(e,t,n){e.exports=n.p+"e70843819742a2c844ea3a72271c656c.svg"},function(e,t,n){e.exports=n.p+"5ab72c45aa5b42829c5b03151988dd8f.svg"},function(e,t,n){e.exports=n.p+"6f6980df1f7bfbdf31b4651508e488da.svg"},function(e,t,n){e.exports=n.p+"23e4cf2e12aa1c6cc133e7f84c8a2724.svg"},function(e,t,n){e.exports=n.p+"6f6980df1f7bfbdf31b4651508e488da.svg"},function(e,t,n){e.exports=n.p+"c18bfb3e911ccfaac559be369fc4b55f.svg"},function(e,t,n){e.exports=n.p+"072de68f7012cd855f6281a9e1438c82.svg"},function(e,t,n){e.exports=n.p+"a25c2bd97387b0675e9cd6ef232554cb.svg"},function(e,t,n){e.exports=n.p+"eacb28c08eee5cb0f337ce756f1e133f.svg"},function(e,t,n){e.exports=n.p+"4fec2689c8a6e17143289d586977ea71.svg"},function(e,t,n){e.exports=n.p+"5c01064e4ba7974949f1296a90204cb6.svg"},function(e,t,n){e.exports=n.p+"11f93b01fd905a56375d325d415ea670.svg"},function(e,t,n){e.exports=n.p+"e002839eeb2e5d558e4600159df6c24b.svg"},function(e,t,n){e.exports=n.p+"ce2c6afb5fcc844e5643ccc843d8da00.svg"},function(e,t,n){e.exports=n.p+"0d0101d85a470c34a0b020e8ab875f2c.svg"},function(e,t,n){e.exports=n.p+"8a098c50f641d3d5046a7c56952f237b.svg"},function(e,t,n){e.exports=n.p+"05c9b343892e5a3f9b0a903747df2ac7.svg"},function(e,t,n){e.exports=n.p+"56223cd60f7ec48e13e8a0db94dcc785.svg"},function(e,t,n){e.exports=n.p+"462ae06d5ffb1b8112d15720e6d8e64f.svg"},function(e,t,n){e.exports=n.p+"efdf49f9c7b2573cf9f1426d70a8fca3.svg"},function(e,t,n){e.exports=n.p+"5d931ac04b278a00dab9475bc9e6b7e9.svg"},function(e,t,n){e.exports=n.p+"663247501c40db47e427d91555ef8879.svg"},function(e,t,n){e.exports=n.p+"ac9a731e529a503e6802d1c88a7ec138.svg"},function(e,t,n){e.exports=n.p+"0e09f0ca5ca5bb86d61ea0c2014b5db1.svg"},function(e,t,n){e.exports=n.p+"e4965ff28544c020de27512bc0953117.svg"},function(e,t,n){e.exports=n.p+"28cbe4972becb7eb6fcff4ba2a53b547.svg"},function(e,t,n){e.exports=n.p+"0d62be2acb3b25392155b171b1cb348b.svg"},function(e,t,n){e.exports=n.p+"c8cab949ce51b231d2b9b516f022b23e.svg"},function(e,t,n){e.exports=n.p+"02cc3a7f831134d0d75eb8d700ec8b64.svg"},function(e,t,n){e.exports=n.p+"4e251ef255f5f06c84d22f425c99d77a.svg"},function(e,t,n){e.exports=n.p+"6427eab8ed2ba33a8d4d6fb6fc1217a8.svg"},function(e,t,n){e.exports=n.p+"aa41a897bc1bc175c41689b00b99e1ea.svg"},function(e,t,n){e.exports=n.p+"4ed4f181c60639b9a97e17610393530d.svg"},function(e,t,n){e.exports=n.p+"6933bcd91ff81ff0d8b253dae5b592cb.svg"},function(e,t,n){e.exports=n.p+"21a56d74d4499530df9b3f54d4834e79.svg"},function(e,t,n){e.exports=n.p+"bffd9a1668dbc714adda404b93489286.svg"},function(e,t,n){e.exports=n.p+"d29b206e5bc6855105b713ef409ff2d9.svg"},function(e,t,n){e.exports=n.p+"b055e46cbd47c1fd6185ec9adf020f56.svg"},function(e,t,n){e.exports=n.p+"46567dfa87a53033268d9f5cd4830200.svg"},function(e,t,n){e.exports=n.p+"eb8c35e8d77385fd4cfed7c1d529c4ce.svg"},function(e,t,n){e.exports=n.p+"4064436ec0e77108e7ea6cb76ac39ad6.svg"},function(e,t,n){e.exports=n.p+"984ae0e09b54c95e13c22e34b925888f.svg"},function(e,t,n){e.exports=n.p+"b789cf6fdb78ff5d936f31c4b32d4785.svg"},function(e,t,n){e.exports=n.p+"b5bf289a185eb901d2eda938e2320ffc.svg"},function(e,t,n){e.exports=n.p+"de65a7626f89403e26eed5c12e05fddf.svg"},function(e,t,n){e.exports=n.p+"a87dad0daf3dfa2f18c5c5c572216542.svg"},function(e,t,n){e.exports=n.p+"2d30feeb8bc13cec5920caab376b4078.svg"},function(e,t,n){e.exports=n.p+"4870ba8a52c50997f3594e544198cf6b.svg"},function(e,t,n){e.exports=n.p+"c327d9beddd428512da1750773773fce.svg"},function(e,t,n){e.exports=n.p+"6697e53b3d3854090dd31a0b536855a7.svg"},function(e,t,n){e.exports=n.p+"94a29a1805306022db268195f85831fb.svg"},function(e,t,n){e.exports=n.p+"0756351ac9eb496a210cd591acecf1d0.svg"},function(e,t,n){e.exports=n.p+"0180ef4fed3effb4bc534c847b546ff6.svg"},function(e,t,n){e.exports=n.p+"4757a3d415435a57d4db6fca022872e3.svg"},function(e,t,n){e.exports=n.p+"15e43e3d7ee0a8a11e2f2f58d34ecfd9.svg"},function(e,t,n){e.exports=n.p+"04186bb59dbdc262948a8e40982d21db.svg"},function(e,t,n){e.exports=n.p+"0a661cc72d3d7a2b966e1ae241b49f7d.svg"},function(e,t,n){e.exports=n.p+"67b2b79b33ab14d3ae15ab458096e5f6.svg"},function(e,t,n){e.exports=n.p+"ce9c7826ffbd00f8fd628eeb7205fb06.svg"},function(e,t,n){e.exports=n.p+"4ebbef21a47a346709b7f341d82a6cdd.svg"},function(e,t,n){e.exports=n.p+"0a1b64d0eb2783edb6ef2bcca2b158e8.svg"},function(e,t,n){e.exports=n.p+"6e916eef58bac62dbf01ad6e9938ffae.svg"},function(e,t,n){e.exports=n.p+"b0970076f1aaac08d24cc534a8afbf18.svg"},function(e,t,n){e.exports=n.p+"d4a3d47fbba119a003b11ee3c00e1936.svg"},function(e,t,n){e.exports=n.p+"04f7d73e7ce036a854ff6aa9b24473d7.svg"},function(e,t,n){e.exports=n.p+"f21f7f8b3a3f188d267438d936be035f.svg"},function(e,t,n){e.exports=n.p+"e6ece1659e7c0e6f4ebd17bae7a8fc2f.svg"},function(e,t,n){e.exports=n.p+"53596500301b5ee4d5e2deaed3acd17c.svg"},function(e,t,n){e.exports=n.p+"c3fca1ffab05a4501f900a6bb1a302fe.svg"},function(e,t,n){e.exports=n.p+"c4458c71feaaa849b80714bc0492a809.svg"},function(e,t,n){e.exports=n.p+"417512f0360124c8fcebbda16018b3a6.svg"},function(e,t,n){e.exports=n.p+"4e5dd162acac96c5af80b8f9e67c4bf1.svg"},function(e,t,n){e.exports=n.p+"7546070621ede73be9fd4293db3818bb.svg"},function(e,t,n){e.exports=n.p+"de8fa839a61b39d17febf16f22fd8159.svg"},function(e,t,n){e.exports=n.p+"02b72128433bb14721cfa96689722dac.svg"},function(e,t,n){e.exports=n.p+"e0bbe23c466e33530baf918b9634c4d3.svg"},function(e,t,n){e.exports=n.p+"b6f4905d7bad38e1a18782bf33616999.svg"},function(e,t,n){e.exports=n.p+"3c49d00d065c85a89b996254e7423c33.svg"},function(e,t,n){e.exports=n.p+"d37c45970ed3d9bc0be0acd36c7c6c77.svg"},function(e,t,n){e.exports=n.p+"76bb3e920ff642a218226a6c8a4cbc07.svg"},function(e,t,n){e.exports=n.p+"e7e9c004c48e49c4ff4e0d970da0761c.svg"},function(e,t,n){e.exports=n.p+"0a216e1d772a1a9638b8d6c2acba0cab.svg"},function(e,t,n){e.exports=n.p+"8dcca2877f51849a159035186bf93dff.svg"},function(e,t,n){e.exports=n.p+"e27821b687cbdc78563977c8b822aa0f.svg"},function(e,t,n){e.exports=n.p+"ae3264b1fee0d603faeb60f5b6f74e19.svg"},function(e,t,n){e.exports=n.p+"7c96e6b8f0dfc1c67f8c96a1fab75240.svg"},function(e,t,n){e.exports=n.p+"f31cb88726a692d38a73e65417b48b2a.svg"},function(e,t,n){e.exports=n.p+"cf093ef298428cb03a9627721dd8ecbc.svg"},function(e,t,n){e.exports=n.p+"f0dc06370a08ebe2aa1165eea6cabbfb.svg"},function(e,t,n){e.exports=n.p+"634cc490e36cdb8b29c200f23f7b2f05.svg"},function(e,t,n){e.exports=n.p+"c98c3b661e0c450ea71e1f459a8a6f62.svg"},function(e,t,n){e.exports=n.p+"98e7433a3653b861949219fbac95b6af.svg"},function(e,t,n){e.exports=n.p+"bc4e973212a062a6eea1bb3b0705b52f.svg"},function(e,t,n){e.exports=n.p+"850f3cbe3214da2d45417a999949b091.svg"},function(e,t,n){e.exports=n.p+"cfd4367196d227d2d84f94e62b9b9a8a.svg"},function(e,t,n){e.exports=n.p+"8ce180bda86f59e517eb6a1d0ed84eef.svg"},function(e,t,n){e.exports=n.p+"c322098eb7d4cabe1c8a4fb68e5dfce4.svg"},function(e,t,n){e.exports=n.p+"7c73785b7addf766330c034e62e66f55.svg"},function(e,t,n){e.exports=n.p+"25c09e6fde32411da2b0da00f5cb9c84.svg"},function(e,t,n){e.exports=n.p+"5c6fa76f8837f9eb64596a5644e48f3e.svg"},function(e,t,n){e.exports=n.p+"77951800ff6ebcd3dd026cbf4ab6855b.svg"},function(e,t,n){e.exports=n.p+"30edf2c30a5033aac762593307be959f.svg"},function(e,t,n){e.exports=n.p+"fdb16a7427a15e15a138bc4af700d47e.svg"},function(e,t,n){e.exports=n.p+"54423dc01031b892c921072a38995e1f.svg"},function(e,t,n){e.exports=n.p+"172469b6c295496106cf16d5ae762ad3.svg"},function(e,t,n){e.exports=n.p+"b5cb3b03c8c473539a5d17fdd01b5d03.svg"},function(e,t,n){e.exports=n.p+"eb2086bb1a6861d1c3eb6e8b2dd29ee8.svg"},function(e,t,n){e.exports=n.p+"8198c351ed59dcb838bc8e0c8885a726.svg"},function(e,t,n){e.exports=n.p+"a0ef880c7ab15889672c1495566042ef.svg"},function(e,t,n){e.exports=n.p+"949d2400a57304585c691dc7fb29b726.svg"},function(e,t,n){e.exports=n.p+"8ecfe6ea3c44693dfb128a5270c0bbc8.svg"},function(e,t,n){e.exports=n.p+"0d17df313552db01cac5f819a027eeeb.svg"},function(e,t,n){e.exports=n.p+"40dd1c55e485ef2d001167bb07a2658b.svg"},function(e,t,n){e.exports=n.p+"96eb57da81fa54ab8c4626fba8416996.svg"},function(e,t,n){e.exports=n.p+"b61c4e14e90e796e36f0d10792fcc505.svg"},function(e,t,n){e.exports=n.p+"81be662a9bb9f2cfa8b7c8ac2f9dfcd6.svg"},function(e,t,n){e.exports=n.p+"ec028c0b3b211a66ba260d3f50b9bec7.svg"},function(e,t,n){e.exports=n.p+"8b1a228f3b2d7d3cc7703927e1f2cf5a.svg"},function(e,t,n){e.exports=n.p+"afcd9a726e8f4bc18cd6a0dc8186c1b5.svg"},function(e,t,n){e.exports=n.p+"f90cc175929006858e436465bd7eb075.svg"},function(e,t,n){e.exports=n.p+"2185a4cf906e7490ac6157d618bdd952.svg"},function(e,t,n){e.exports=n.p+"38af37ef3576ec5f0f2f215e133c9e2a.svg"},function(e,t,n){e.exports=n.p+"c5c8810b1469264a624e1141992433a5.svg"},function(e,t,n){e.exports=n.p+"cd6f4d1cb8ed053abb221fd28767f1f3.svg"},function(e,t,n){e.exports=n.p+"30e204d9374008ccecde7cc98643686f.svg"},function(e,t,n){e.exports=n.p+"d8e1fbb0777c26064bf815397ba1d188.svg"},function(e,t,n){e.exports=n.p+"44bf674252a9c89f206b22b9408b38c0.svg"},function(e,t,n){e.exports=n.p+"4929f3f8276f650380741579e177dd77.svg"},function(e,t,n){e.exports=n.p+"101cc8be0d6eca082212b73fc15d32a8.svg"},function(e,t,n){e.exports=n.p+"d941df2b3f8c847501c7eb0f919c45d2.svg"},function(e,t,n){e.exports=n.p+"7b6619d2887c4129dee97040e2db0db6.svg"},function(e,t,n){e.exports=n.p+"0fa5cea503e2cecc5dfe0d5eff8d2126.svg"},function(e,t,n){e.exports=n.p+"bfdf252c56d399cc55179d7060b4eb2d.svg"},function(e,t,n){e.exports=n.p+"a36fbb4c7ce0e0f2d1b9e036c4ddfa2b.svg"},function(e,t,n){e.exports=n.p+"b6ade0a54c6c9cffde14763f7f7a3d1e.svg"},function(e,t,n){e.exports=n.p+"ba21bae0723b6477627f456c587de6c4.svg"},function(e,t,n){e.exports=n.p+"4b26edda14a93364eb9fd330eef48b8a.svg"},function(e,t,n){e.exports=n.p+"ef015a42cac1a2009f9eecf8915d9e35.svg"},function(e,t,n){e.exports=n.p+"654ebf14946cdb6e00310d792b2c97ea.svg"},function(e,t,n){e.exports=n.p+"54e1b293350b4fdc172e2b5fb7e28bd8.svg"},function(e,t,n){e.exports=n.p+"cb593e7ecb6024439c58f342b97917da.svg"},function(e,t,n){e.exports=n.p+"e38daa2f258f6ef1987f8b49aecf1487.svg"},function(e,t,n){e.exports=n.p+"2bab4c60959e6a163bcac46e012a613c.svg"},function(e,t,n){e.exports=n.p+"c61c8e1ffdcbf98496bc098c35f0f694.svg"},function(e,t,n){e.exports=n.p+"c7870519b21ef2bb85b69040e327752d.svg"},function(e,t,n){e.exports=n.p+"d21da75a5b9c2deaf4db75c80e28433e.svg"},function(e,t,n){e.exports=n.p+"b04ecfe13d61a869b4c47a276b51b634.svg"},function(e,t,n){e.exports=n.p+"daa92de51b3a3c9825ea71a700823463.svg"},function(e,t,n){e.exports=n.p+"24c558fa9fed1d862de8f982fe55c97c.svg"},function(e,t,n){e.exports=n.p+"2ffa76c4b99ee4ed1cce07e2ea6eab7b.svg"},function(e,t,n){e.exports=n.p+"ad3d49ad8c1fa9b5955ecdf67814727e.svg"},function(e,t,n){e.exports=n.p+"3fb75b9b7769319c978740cb5ac68ebd.svg"},function(e,t,n){e.exports=n.p+"c60aaf4dfcb496fd6ffd825b2587b2d5.svg"},function(e,t,n){e.exports=n.p+"27209854bc98486318964e188f82f753.svg"},function(e,t,n){e.exports=n.p+"ca5cea8deb40a7f4d120acdc99323337.svg"},function(e,t,n){e.exports=n.p+"46c332bc675d27cb8bb088e2c1124483.svg"},function(e,t,n){e.exports=n.p+"67e37991670625f2ef4945de08106953.svg"},function(e,t,n){e.exports=n.p+"5bee9989bfe5df15382dd60b68126f94.svg"},function(e,t,n){e.exports=n.p+"4d61ad14c090b4d6a2d1c989d78bc273.svg"},function(e,t,n){e.exports=n.p+"ebc2b7d9c497f0e4663d46c13e35fe23.svg"},function(e,t,n){e.exports=n.p+"64e220f66696627a95ea507ea09e9c9b.svg"},function(e,t,n){e.exports=n.p+"15ccaf984f2fafcf3ed5d896763ed510.svg"},function(e,t,n){e.exports=n.p+"962240d953609546c8792671a429fdd4.svg"},function(e,t,n){e.exports=n.p+"2df63924603fd92b6031d4fb39fefa81.svg"},function(e,t,n){e.exports=n.p+"220cfd7325452391530ef9eb5d531661.svg"},function(e,t,n){e.exports=n.p+"64d2d7d8d4d762ef5401d5bab84aadcc.svg"},function(e,t,n){e.exports=n.p+"463f88232b3b00cfc52e812b41db4260.svg"},function(e,t,n){e.exports=n.p+"bdc79e5336d9995f9a4db9119866e63a.svg"},function(e,t,n){e.exports=n.p+"49139cc68b1d980a69fc29418d7df036.svg"},function(e,t,n){e.exports=n.p+"718c581ad949f6cf29d46c53f6a3f49b.svg"},function(e,t,n){e.exports=n.p+"c99d40ce29f91d3e31387689658ad19a.svg"},function(e,t,n){e.exports=n.p+"a5de4360f34cc6e32e1e09432c14c262.svg"},function(e,t,n){e.exports=n.p+"763bb204f2afa2ff9981ee3c9e83cb22.svg"},function(e,t,n){e.exports=n.p+"1f7fff991b3edf0412cc606f9ab1d694.svg"},function(e,t,n){e.exports=n.p+"172749ea8a44a71789c3146bf0937f8e.svg"},function(e,t,n){e.exports=n.p+"6625a50e5dc295557240bf5fc2f805b4.svg"},function(e,t,n){e.exports=n.p+"25d57342c1c757b77a7073e8e32178aa.svg"},function(e,t,n){e.exports=n.p+"db50cead6121161517c191844f422372.svg"},function(e,t,n){e.exports=n.p+"41acd5bc1ba53239f61ad1bb97198b6a.svg"},function(e,t,n){e.exports=n.p+"41acd5bc1ba53239f61ad1bb97198b6a.svg"},function(e,t,n){e.exports=n.p+"b4919cc66d44882b31496926dab3a140.svg"},function(e,t,n){e.exports=n.p+"6ca391c35ae56c25fc16185c38af5a5b.svg"},function(e,t,n){e.exports=n.p+"6ca391c35ae56c25fc16185c38af5a5b.svg"},function(e,t,n){e.exports=n.p+"e4fb15b0ccdc65b4042c712fe5d30a8a.svg"},function(e,t,n){e.exports=n.p+"34e883895743d98cd6e1587a918fd171.svg"},function(e,t,n){e.exports=n.p+"34e883895743d98cd6e1587a918fd171.svg"},function(e,t,n){e.exports=n.p+"78fb61e6b84b7e01ccedca7855d7e2ca.svg"},function(e,t,n){e.exports=n.p+"8342bb4caa155063a3799e82cfa9d908.svg"},function(e,t,n){e.exports=n.p+"8342bb4caa155063a3799e82cfa9d908.svg"},function(e,t,n){e.exports=n.p+"baa963e178aea9e35d860bd6146b3e0f.svg"},function(e,t,n){e.exports=n.p+"2c8d6b64c7ee9b3eb9ab710b0d810dbe.svg"},function(e,t,n){e.exports=n.p+"2c8d6b64c7ee9b3eb9ab710b0d810dbe.svg"},function(e,t,n){e.exports=n.p+"8bfdddb45e67bb0db6f137603567fd06.svg"},function(e,t,n){e.exports=n.p+"449febad96c5b2a4c636324e03848876.svg"},function(e,t,n){e.exports=n.p+"449febad96c5b2a4c636324e03848876.svg"},function(e,t,n){e.exports=n.p+"d24b29f7a189b5725cc654315fcb0463.svg"},function(e,t,n){e.exports=n.p+"cbb2bfeee5a9aad3d9c47b700e7b0da6.svg"},function(e,t,n){e.exports=n.p+"c6022f827b7d2c59ab3ce4bf216b8d85.svg"},function(e,t,n){e.exports=n.p+"c6b26ba81f44b0c43697852e1e1d1420.svg"},function(e,t,n){e.exports=n.p+"bf8dcded6085559b2eaa41b5af25023e.svg"},function(e,t,n){e.exports=n.p+"ccacda3342ed64236227eeabfa0f7dfa.svg"},function(e,t,n){e.exports=n.p+"d3382d1f7c8c5259dc61ec998e29776c.svg"},function(e,t,n){e.exports=n.p+"95476895edfec975949fbdbfd980fdd6.svg"},function(e,t,n){e.exports=n.p+"a30ed137d31101221800193c9f0711a6.svg"},function(e,t,n){e.exports=n.p+"18114bd5cd6f0d457a01855044401fa8.svg"},function(e,t,n){e.exports=n.p+"e4409d5b59c277efe49aeaa6a6842fa4.svg"},function(e,t,n){e.exports=n.p+"af184eec103ade6eab147ebab9ad651e.svg"},function(e,t,n){e.exports=n.p+"2c1e58ff3167260d8358db11bafc12f4.svg"},function(e,t,n){e.exports=n.p+"f34a6d53142e27a0e4f55462c1d03e0b.svg"},function(e,t,n){e.exports=n.p+"2b1140ac656840832012240154dfecd7.svg"},function(e,t,n){e.exports=n.p+"56eb5526f35e1fc72d3172b354a3b24b.svg"},function(e,t,n){e.exports=n.p+"c7cab760932ff75da214067c8cb1c683.svg"},function(e,t,n){e.exports=n.p+"fc89a10f50e8b0046eb7d640f5992aa5.svg"},function(e,t,n){e.exports=n.p+"3af544e777c48391f0e381b3e478f35c.svg"},function(e,t,n){e.exports=n.p+"a23a62e021b7ab292657281cfbbd83c0.svg"},function(e,t,n){e.exports=n.p+"e371b992ce8df0adb095de856c940cb3.svg"},function(e,t,n){e.exports=n.p+"faf9d3371787923d6685ae943b8ce528.svg"},function(e,t,n){e.exports=n.p+"725e23b70c95fc4ece9d95d5927a1708.svg"},function(e,t,n){e.exports=n.p+"140579c129c16668c3b91718fe747a75.svg"},function(e,t,n){e.exports=n.p+"b7fa5e789a491ce5f6b3e108b6da2209.svg"},function(e,t,n){e.exports=n.p+"22daeec1bc75d9d7038a37f0ed415b1b.svg"},function(e,t,n){e.exports=n.p+"6eb722dc7e84c87c1954fd5f9cf67bd6.svg"},function(e,t,n){e.exports=n.p+"dfbb66ea2e930cf2361d46ed5cd527f6.svg"},function(e,t,n){e.exports=n.p+"9ad537f4c34485f64cd1b6b210050016.svg"},function(e,t,n){e.exports=n.p+"8367785ae4d4334f1f3371e239059ca1.svg"},function(e,t,n){e.exports=n.p+"bb12f326a3b4f486797c47af2480d66f.svg"},function(e,t,n){e.exports=n.p+"d88d46379fae148966f07b4a079528df.svg"},function(e,t,n){e.exports=n.p+"13262ca66be5da2c98c6daa8bed7353a.svg"},function(e,t,n){e.exports=n.p+"ad7398486e336cf17b49bfe4fad446b6.svg"},function(e,t,n){e.exports=n.p+"b35b475501506952577db042be736edd.svg"},function(e,t,n){e.exports=n.p+"b2581a7ae3d50d6ee9320746765d7198.svg"},function(e,t,n){e.exports=n.p+"c90098069e61110397d4552647ade33d.svg"},function(e,t,n){e.exports=n.p+"2f7fdcf194b46c1bafc18f1720bc6a6d.svg"},function(e,t,n){e.exports=n.p+"0732c78b1ca3eead19f00352190bd5f6.svg"},function(e,t,n){e.exports=n.p+"490f3ebaf8012cc0a2c3109ab3faff63.svg"},function(e,t,n){e.exports=n.p+"895d98f334edf8fd3609d5eb34eb8871.svg"},function(e,t,n){e.exports=n.p+"b1868d829b37f0a81533ededb9ffe5f4.svg"},function(e,t,n){e.exports=n.p+"d2f81f50b6bddfb840376afb4de21951.svg"},function(e,t,n){e.exports=n.p+"6e054ab8981d3f1ce8debfd1235d3ea3.svg"},function(e,t,n){e.exports=n.p+"cef2d5ab02888e885953f945f9c39304.svg"},function(e,t,n){e.exports=n.p+"ab1cf84eeca0da11a04680c2980edc62.svg"},function(e,t,n){e.exports=n.p+"0c4468aed0c4f665cc1ed5e5b07b52de.svg"},function(e,t,n){e.exports=n.p+"535fdf7c79c96bf2ebc63bf8c28c4a82.svg"},function(e,t,n){e.exports=n.p+"dcbf6274f0ce0f393d064a72db2c8913.svg"},function(e,t,n){e.exports=n.p+"8502696d0b3ebe3eceb24c13888ea623.svg"},function(e,t,n){e.exports=n.p+"c4c6f3a5f024d772b5164605db9d431b.svg"},function(e,t,n){e.exports=n.p+"3d0695990d2375dbae86b87bf5205502.svg"},function(e,t,n){e.exports=n.p+"5e282c0cf9ce12ca380a0385c8e64667.svg"},function(e,t,n){e.exports=n.p+"be73eca7ff2e6dd30b69a43974a19164.svg"},function(e,t,n){e.exports=n.p+"36342d54527e339d078dc5d9eabf3636.svg"},function(e,t,n){e.exports=n.p+"be2f6e79a170d14bd8181c1642b6146b.svg"},function(e,t,n){e.exports=n.p+"e2440c59c9200ec19b87c5c5db78c113.svg"},function(e,t,n){e.exports=n.p+"fbbfde37a1d4065d9073098a7814e83a.svg"},function(e,t,n){e.exports=n.p+"eed2347ee50b0549d498ddf399a48228.svg"},function(e,t,n){e.exports=n.p+"06da0010320338c248b0686ec1c00f4a.svg"},function(e,t,n){e.exports=n.p+"55815c73346babb78e035300e7cc9b09.svg"},function(e,t,n){e.exports=n.p+"90afb3e43c37af013870d5b1f530fb8b.svg"},function(e,t,n){e.exports=n.p+"ea3b7f0aee3f51c3bbfe5a6d7f93e436.svg"},function(e,t,n){e.exports=n.p+"e4d52f4d69d7bba67e5fd70ffe26b70d.svg"},function(e,t,n){e.exports=n.p+"1edfe735f87e201398d505124c421812.svg"},function(e,t,n){e.exports=n.p+"e2b775b138c186a30a49776bf8ebc324.svg"},function(e,t,n){e.exports=n.p+"deb1db01d54ee99ef50ceccc9aa79bfd.svg"},function(e,t,n){e.exports=n.p+"0859696b662433ab0f453840dc0af981.svg"},function(e,t,n){e.exports=n.p+"68643336fe7c2884c92028d2cf482238.svg"},function(e,t,n){e.exports=n.p+"55b118d4673c8dd0d21bcc6a30f379f4.svg"},function(e,t,n){e.exports=n.p+"f059eac45dfa3143068a6b97fdd00ef9.svg"},function(e,t,n){e.exports=n.p+"535a5bdaf87e40b15cf81d8bfee80f79.svg"},function(e,t,n){e.exports=n.p+"12a9f39a3bfc18e0e4557f60302712a1.svg"},function(e,t,n){e.exports=n.p+"2b8cceb02771f78e8cbbd3f427cf8643.svg"},function(e,t,n){e.exports=n.p+"354a7b2558484b0a74ddd389e5a37ff7.svg"},function(e,t,n){e.exports=n.p+"b7411fe643d8ed6f3354da028411c953.svg"},function(e,t,n){e.exports=n.p+"28e8cb51f1b03b70a86cad0516cda58a.svg"},function(e,t,n){e.exports=n.p+"70c4e22f26e7bdf28ef2eef454f65ad7.svg"},function(e,t,n){e.exports=n.p+"75093178d6de1384bf2372c67321f1f4.svg"},function(e,t,n){e.exports=n.p+"a09114556fdc738453e061d0c266fb21.svg"},function(e,t,n){e.exports=n.p+"824b3b528029c37641837699dc3f7572.svg"},function(e,t,n){e.exports=n.p+"05086444b815b1bec32f23bf4675708e.svg"},function(e,t,n){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},,,,,,function(e,t,n){e.exports=function(){return new Worker(n.p+"8af912e6a77b8193e752.worker.js")}},,,,,,function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var o=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,a,o){var r=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&r)for(var s in r)void 0===n[s]&&(n[s]=r[s]);else n||(n=r||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===a?null:""+a,ref:null,props:n,_owner:null}}}();n(482),n(1191);var r=n(137),i=a(r),s=n(0),l=(a(s),n(23)),u=a(l),f=n(2),c=a(f),d=(n(682),n(18)),p=a(d),h=n(42),g=a(h),m=n(1197),v=n(71),E=a(v),y=n(1189),_=a(y),b=n(57),S=a(b);n(473),n(62),n(1195),n(1193),n(683),n(1194),n(1196),n(1199),n(1200),n(1201),n(1212);var I=n(1);n(1190);var T=n(1208),N=n(1192),A=a(N);c.default.initialize();var M=document.getElementById("app-mount"),C=function(e){return u.default.render(o(T.AppContainer,{},void 0,o(e,{})),M)};__OVERLAY__?(i.default.interceptDispatcher(),C(A.default.OverlayApp)):(document.addEventListener("scroll",function(e){return e.preventDefault()}),window.addEventListener("resize",function(){return _.default.resized()}),window.addEventListener("focus",function(){return _.default.focus(!0)}),window.addEventListener("blur",function(){return _.default.focus(!1)}),p.default.embedded?(window.onbeforeunload=function(){return p.default.beforeUnload()},p.default.on("PATH",function(e){return g.default.replaceWith(e)}),p.default.on("USER_SETTINGS_OPEN",function(){return S.default.open(I.UserSettingsSections.ACCOUNT)}),p.default.on("HELP_OPEN",function(){return window.open(E.default.getCommunityURL())}),p.default.on("PURGE_MEMORY",function(){return p.default.purgeMemory()}),p.default.on("MAIN_WINDOW_BLUR",function(){p.default.setFocused(!1),_.default.focus(!1)}),p.default.on("MAIN_WINDOW_FOCUS",function(){p.default.setFocused(!0),_.default.focus(!0)}),window.addEventListener("contextmenu",m.contextMenuCallbackNative,!1)):window.addEventListener("contextmenu",m.contextMenuCallbackWeb,!1),C(null==window.WebSocket?A.default.UnsupportedApp:A.default.MainApp))}],[5573]);
//# sourceMappingURL=509bba001a76711dd089.js.map