// Module ID: 677 // Function ID: 678 // Name: INVITE // Dependencies: [678, 683, 684, 507, 2] // Module 677 (INVITE) import set from "set" /* 2 */; import items2 from "items" /* 678 */; import CONFERENCE_MODE_ENABLED from "CONFERENCE_MODE_ENABLED" /* 683 */; import GLOBAL_DISCOVERY_APPS_FEATURED_CATEGORY_ID from "GLOBAL_DISCOVERY_APPS_FEATURED_CATEGORY_ID" /* 684 */; import getAuthenticationPath from "getAuthenticationPath" /* 507 */; const CollectibleShopTab = items2.CollectibleShopTab; ({ ApplicationDirectoryProfileSections: closure_1, GlobalDiscoveryAppsSections: obj1 } = GLOBAL_DISCOVERY_APPS_FEATURED_CATEGORY_ID); let c3 = "@me"; const items = ["@me", "@favorites", "@guilds-empty-nux", "@inbox", "@guild-upsell-list"]; const obj = { INDEX: "/", APP: "/app", APP_WITH_INVITE_AND_GUILD_ONBOARDING(code) { return "/app/invite-with-guild-onboarding/" + code; }, APP_WITH_GIFT_CODE(arg0) { return "/app/gifts/" + arg0; }, ACTIVITY: "/activity", ACTIVITIES: "/activities", ACTIVITIES_HAPPENING_NOW: "/activities/happening-now", ACTIVITY_DETAILS(applicationId) { return "/activities/" + applicationId; }, APPLICATION_LIBRARY: "/library", APPLICATION_LIBRARY_INVENTORY: "/library/inventory", APPLICATION_LIBRARY_ACTION(arg0, arg1) { return "/library/" + arg0 + "/" + arg1; }, APPLICATION_LIBRARY_SETTINGS: "/library/settings", APPLICATION_STORE: "/store", APPLICATION_STORE_LISTING_SKU(arg0, arg1) { let str = ""; if (null != arg1) { const _HermesInternal = HermesInternal; str = "/" + arg1; } return "/store/skus/" + arg0 + str; }, APPLICATION_STORE_LISTING_APPLICATION(arg0, arg1) { let str = ""; if (null != arg1) { const _HermesInternal = HermesInternal; str = "/" + arg1; } return "/store/applications/" + arg0 + str; }, BILLING_PREFIX: "/billing", BILLING_LOGIN_HANDOFF: "/billing/login/handoff", BILLING_PREMIUM_SUBSCRIBE: "/billing/premium/subscribe", BILLING_PAYMENT_SOURCES_CREATE: "/billing/payment-sources/create", BILLING_PREMIUM_SWITCH_PLAN: "/billing/premium/switch-plan", BILLING_GUILD_SUBSCRIPTIONS_PURCHASE: "/billing/guild-subscriptions/purchase", BILLING_PAYMENTS: "/billing/payments", BILLING_PROMOTION_REDEMPTION(arg0) { return "/billing/promotions/" + arg0; }, BILLING_PROMOTION_REDEMPTION_GENERIC: "/billing/promotions", BILLING_PROMOTION_DIRECT_FULFILLMENT_REDEMPTION(arg0, arg1) { return "/billing/partner-promotions/" + arg0 + "/" + arg1; }, GIFT_CARD_REDEEM: "/redeem", FRIENDS: "/channels/@me", ME: "/channels/@me", MESSAGE_REQUESTS: "/message-requests", CHANNEL(arg0, arg1, arg2) { let tmp = arg0; if (null == arg1) { if (!tmp) { tmp = c3; } const _HermesInternal2 = HermesInternal; let combined = "/channels/" + tmp; } else { let tmp2 = tmp; if (!tmp) { tmp2 = c3; } const _HermesInternal = HermesInternal; combined = "/channels/" + tmp2 + "/" + arg1; } let combined1 = combined; if (null != arg2) { const _HermesInternal3 = HermesInternal; combined1 = "" + combined + "/" + arg2; } return combined1; }, CHANNEL_THREAD_VIEW(guildId, id, id2, result) { const combined = "/channels/" + guildId + "/" + id + "/threads/" + id2; let combined1 = combined; if (null != result) { const _HermesInternal = HermesInternal; combined1 = "" + combined + "/" + result; } return combined1; }, VOICE_CHAT_CHANNEL_PARTIAL(guildIdResult1, RouteParam4, messageId) { const combined = "/voice/" + guildIdResult1 + "/" + RouteParam4; let combined1 = combined; if (null != messageId) { const _HermesInternal = HermesInternal; combined1 = "" + combined + "/" + messageId; } return combined1; }, LOGIN: "/login", LOGIN_HANDOFF: "/login/handoff", LOGIN_ONE_TIME: "/login/one-time", REGISTER: "/register", DEFAULT_LOGGED_OUT: null, INVITE: null, INVITE_LOGIN: null, INVITE_REGISTER: null, INVITE_PROXY: null, GUILD_TEMPLATE: null, GUILD_TEMPLATE_LOGIN: null, GIFT_CODE: null, GIFT_CODE_LOGIN: null, WELCOME: null, VERIFY: "/verify", VERIFY_REQUEST: "/verify-request", RESET: "/reset", APPS: "/apps", ACTIVATE: "/activate", ACTIVATE_HANDOFF: "/activate/handoff", CONNECTION_LINK: null, CONNECTION_LINK_AUTHORIZE: null, CONNECTIONS_SUCCESS: null, CONNECTIONS_ERROR: null, CONNECTIONS: null, CONNECTIONS_AUTHORIZE_CONTINUE: null, CONNECT_AUTHORIZE: "/connect/authorize", OAUTH2_AUTHORIZE: "/oauth2/authorize", OAUTH2_AUTHORIZED: "/oauth2/authorized", OAUTH2_ERROR: "/oauth2/error", SETTINGS: null, DEVELOPER_ACTIVATE_APPLICATION_TEST_MODE: "/settings/advanced/activate-application-test-mode", SNOWSGIVING: "/snowsgiving", PLAYGROUND: null, CHANGELOGS: null, USERS: null, GUILD_CREATE: "/guilds/create", DISABLE_EMAIL_NOTIFICATIONS: "/disable-email-notifications", DISABLE_SERVER_HIGHLIGHT_NOTIFICATIONS: "/disable-server-highlight-notifications", USER_GUILD_NOTIFICATION_SETTINGS: null, AUTHORIZE_IP: "/authorize-ip", REJECT_IP: "/reject-ip", REJECT_MFA: "/reject-mfa", AUTHORIZE_PAYMENT: "/authorize-payment", HANDOFF: "/handoff", DOMAIN_MIGRATION: "/domain-migration", XBOX_EDU: "/connections/xbox/intro", XBOX_PIN: "/connections/xbox/pin", DOWNLOAD_QR_CODE_REDIRECT: "/download-qr-code", BILLING_POPUP_BRIDGE_CALLBACK: "/billing/popup-bridge/callback", OAUTH2_WHITELIST_ACCEPT: "/oauth2/allowlist/accept", GUILD_DISCOVERY: "/guild-discovery", GLOBAL_DISCOVERY: "/discovery", QUEST_HOME_DEPRECATED: "/discovery/quests", QUEST_HOME: "/quest-home", GLOBAL_DISCOVERY_SERVERS: "/discovery/servers", GLOBAL_DISCOVERY_APPS: "/discovery/applications", GLOBAL_DISCOVERY_APPS_CATEGORY: null, GLOBAL_DISCOVERY_APPS_PROFILE: null, GLOBAL_DISCOVERY_APPS_PROFILE_SECTION: null, GLOBAL_DISCOVERY_APPS_PROFILE_STORE_SKU: null, GLOBAL_DISCOVERY_APPS_SEARCH: "/discovery/applications/search", GUILD_MEMBER_VERIFICATION: null, GUILD_MEMBER_VERIFICATION_FOR_HUB: null, POPOUT_WINDOW: "/popout", UPCOMING_STAGES: null, VERIFY_HUB_EMAIL: "/verify-hub-email", OPEN_APP_FROM_EMAIL: "/open-app-from-email", BILLING_MANAGE_SUBSCRIPTION: "/billing/premium/manage", BILLING_PAST_DUE_SUBSCRIPTION: "/billing/premium/past-due", BILLING_MANAGE_SUBSCRIPTION_WITH_DEEP_LINK: null, BILLING_MANAGE_SUBSCRIPTION_WITH_FLOW_TYPE: null, BILLING_STANDALONE_CHECKOUT_PAGE: null, BILLING_STANDALONE_GUILD_BOOST_CHECKOUT_PAGE: null, GUILD_BOOSTING_MARKETING: null, GUILD_SETTINGS: null, PICK_GUILD_SETTINGS: null, GUILD_EVENT_DETAILS: null, FEATURE: null, GUILD_FEATURE: null, GUILD_JOIN_REQUEST: null, MOBILE_WEB_HANDOFF: "/mweb-handoff", APPLICATION_DIRECTORY: "/application-directory", APPLICATION_DIRECTORY_PROFILE: null, APPLICATION_DIRECTORY_PROFILE_SECTION: null, APPLICATION_DIRECTORY_PROFILE_STORE_SKU: null, APPLICATION_DIRECTORY_SEARCH: "/application-directory/search", FAMILY_CENTER: "/family-center", FAMILY_CENTER_MY_FAMILY: null, SERVER_SHOP: null, CHANNELS_GAME_SHOP: null, GAME_SHOP: null, GUILD_PRODUCT: null, REPORT: "/report", REPORT_SECOND_LOOK: "/report-review", COLLECTIBLES_SHOP: "/shop", COLLECTIBLES_SHOP_GAME_SHOP: null, COLLECTIBLES_SHOP_WITH_TAB: null, COLLECTIBLES_SHOP_COLLECTION_DETAIL: null, COLLECTIBLES_SHOP_PRODUCT_DETAIL: null, COLLECTIBLES_SHOP_LAYOUT: null, NITRO_HOME: "/store", ACCOUNT_STANDING: "/account-standing", CHANNEL_SUMMARIES: null, CHANNEL_SUMMARY: null, USER_SUMMARIES: "/users/@me/summaries", QUESTS: null, GAME_PROFILE: null, ACCOUNT_REVERT: null, POWERUP_STORE: null, CONFERENCE_MODE: "/conference-mode", CONFERENCE_MODE_VOICE: null, QUEST_PREVIEW: null, QUEST_PREVIEW_TOOL_2: null, ICYMI: "/icymi" }; let str = "/login"; if (CONFERENCE_MODE_ENABLED.CONFERENCE_MODE_ENABLED) { str = "/register"; } obj[36] = str; obj[37] = function INVITE(arg0) { return "/invite/" + arg0; }; obj[38] = function INVITE_LOGIN(arg0) { return "/invite/" + arg0 + "/login"; }; obj[39] = function INVITE_REGISTER(arg0) { return "/invite/" + arg0 + "/register"; }; obj[40] = function INVITE_PROXY(arg0, targetMessageId) { if (null != targetMessageId) { const _HermesInternal2 = HermesInternal; let combined = "/invite-proxy/" + arg0 + "?messageId=" + targetMessageId; } else { const _HermesInternal = HermesInternal; combined = "/invite-proxy/" + arg0; } return combined; }; obj[41] = function GUILD_TEMPLATE(arg0) { return "/template/" + arg0; }; obj[42] = function GUILD_TEMPLATE_LOGIN(arg0) { return "/template/" + arg0 + "/login"; }; obj[43] = function GIFT_CODE(arg0) { return "/gifts/" + arg0; }; obj[44] = function GIFT_CODE_LOGIN(arg0) { return "/gifts/" + arg0 + "/login"; }; obj[45] = function WELCOME(arg0, arg1) { let tmp = arg0; if (null != arg1) { if (tmp == null) { tmp = c3; } const _HermesInternal2 = HermesInternal; let combined = "/welcome/" + tmp + "/" + arg1; } else { let tmp2 = tmp; if (tmp == null) { tmp2 = c3; } const _HermesInternal = HermesInternal; combined = "/welcome/" + tmp2; } return combined; }; obj[52] = function CONNECTION_LINK(arg0) { return "/connections/" + arg0 + "/link"; }; obj[53] = function CONNECTION_LINK_AUTHORIZE(arg0) { return "/connections/" + arg0 + "/link-authorize"; }; obj[54] = function CONNECTIONS_SUCCESS(arg0) { return "/connections/" + arg0 + "/success"; }; obj[55] = function CONNECTIONS_ERROR(arg0) { return "/connections/" + arg0 + "/error"; }; obj[56] = function CONNECTIONS(arg0) { return "/connections/" + arg0; }; obj[57] = function CONNECTIONS_AUTHORIZE_CONTINUE(arg0) { return "/connections/" + arg0 + "/authorize-continue"; }; obj[62] = function SETTINGS(arg0, arg1) { let str = ""; if (null != arg1) { const _HermesInternal = HermesInternal; str = "/" + arg1; } return "/settings/" + arg0 + str; }; obj[65] = function PLAYGROUND(arg0, arg1) { let str = "/playground"; if (null != arg0) { const _HermesInternal = HermesInternal; const text = `/playground${"/" + arg0}`; let text1 = text; if (null != arg1) { const _HermesInternal2 = HermesInternal; text1 = `/playground${"/" + arg0}${"/" + arg1}`; } str = text1; } return str; }; obj[66] = function CHANGELOGS(arg0) { let str = ""; if (null != arg0) { const _HermesInternal = HermesInternal; str = "/" + arg0; } return "/settings/changelogs" + str; }; obj[67] = function USERS(arg0) { return "/users/" + arg0; }; obj[71] = function USER_GUILD_NOTIFICATION_SETTINGS(arg0) { return "/guilds/" + arg0 + "/notification-settings"; }; obj[89] = function GLOBAL_DISCOVERY_APPS_CATEGORY(arg0) { return "/discovery/applications/categories/" + arg0; }; obj[90] = function GLOBAL_DISCOVERY_APPS_PROFILE(arg0) { return "/discovery/applications/" + arg0; }; obj[91] = function GLOBAL_DISCOVERY_APPS_PROFILE_SECTION(arg0, arg1) { return "/discovery/applications/" + arg0 + "/" + arg1; }; obj[92] = function GLOBAL_DISCOVERY_APPS_PROFILE_STORE_SKU(arg0, arg1) { return "/discovery/applications/" + arg0 + "/" + constants2.STORE + "/" + arg1; }; obj[94] = function GUILD_MEMBER_VERIFICATION(arg0) { return "/member-verification/" + arg0; }; obj[95] = function GUILD_MEMBER_VERIFICATION_FOR_HUB(arg0, arg1) { let str = ""; if (null != arg1) { const _HermesInternal = HermesInternal; str = "/" + arg1; } return "/member-verification-for-hub/" + arg0 + str; }; obj[97] = function UPCOMING_STAGES(arg0, arg1) { let str = ""; if (null != arg1) { const _HermesInternal = HermesInternal; str = "/" + arg1; } return "/guild-stages/" + arg0 + str; }; obj[102] = function BILLING_MANAGE_SUBSCRIPTION_WITH_DEEP_LINK(MOBILE_WEB_REDIRECT_CHECKOUT, loadId) { let str = ""; if (null != loadId) { const _HermesInternal = HermesInternal; str = "&load_id=" + loadId; } return "/billing/premium/manage?deep_link_type=" + MOBILE_WEB_REDIRECT_CHECKOUT + str; }; obj[103] = function BILLING_MANAGE_SUBSCRIPTION_WITH_FLOW_TYPE(META_QUEST_WEB_REDIRECT_CHECKOUT, loadId) { let str = ""; if (null != loadId) { const _HermesInternal = HermesInternal; str = "&load_id=" + loadId; } return "/billing/premium/manage?flow_type=" + META_QUEST_WEB_REDIRECT_CHECKOUT + str; }; obj[104] = function BILLING_STANDALONE_CHECKOUT_PAGE(planId, isGift, loadId, paymentMethodType, deepLinkType, usePresetOffer, flowType) { let str = ""; let str2 = ""; if (null != paymentMethodType) { const _HermesInternal = HermesInternal; str2 = "&payment_method_type=" + paymentMethodType; } let combined = str; if (null != deepLinkType) { const _HermesInternal2 = HermesInternal; combined = "&deep_link_type=" + deepLinkType; } let combined1 = str; if (null != usePresetOffer) { const _HermesInternal3 = HermesInternal; combined1 = "&use_preset_offer=" + usePresetOffer; } if (null != flowType) { const _HermesInternal4 = HermesInternal; str = "&flow_type=" + flowType; } return "/billing/premium/subscribe?plan_id=" + planId + "&gift=" + isGift + "&load_id=" + loadId + str2 + combined + combined1 + str; }; obj[105] = function BILLING_STANDALONE_GUILD_BOOST_CHECKOUT_PAGE(closure_1, prop, newAnalyticsLoadId, prop1) { let str = ""; let str2 = ""; if (null != prop) { const _HermesInternal = HermesInternal; str2 = "&deep_link_type=" + prop; } let combined = str; if (null != newAnalyticsLoadId) { const _HermesInternal2 = HermesInternal; combined = "&load_id=" + newAnalyticsLoadId; } if (null != prop1) { const _HermesInternal3 = HermesInternal; str = "&flow_type=" + prop1; } return "/billing/guild-subscriptions/purchase?guild_id=" + closure_1 + str2 + combined + str; }; obj[106] = function GUILD_BOOSTING_MARKETING(RouteParam3) { return "/guilds/" + RouteParam3 + "/premium-guild-subscriptions"; }; obj[107] = function GUILD_SETTINGS(arg0, arg1, arg2) { let str = ""; if (null != arg1) { const _HermesInternal = HermesInternal; str = "/" + arg1; } const combined = "/guilds/" + arg0 + "/settings" + str; let combined1 = combined; if (null != arg2) { const _HermesInternal2 = HermesInternal; combined1 = "" + combined + "/" + arg2; } return combined1; }; obj[108] = function PICK_GUILD_SETTINGS(arg0, arg1, arg2) { let str = ""; if (null != arg0) { const _HermesInternal = HermesInternal; str = "/" + arg0; } const text = `/guilds/settings${str}`; let combined = text; if (null != arg1) { const _HermesInternal2 = HermesInternal; combined = "" + `/guilds/settings${str}` + "/" + arg1; } let str4 = ""; if (null != arg2) { const _HermesInternal3 = HermesInternal; str4 = "?feature=" + arg2; } return "" + combined + str4; }; obj[109] = function GUILD_EVENT_DETAILS(guild_id, id, closure_1) { let str = ""; const combined = "/events/" + guild_id + "/" + id; if (null != closure_1) { const _HermesInternal = HermesInternal; str = "/" + closure_1; } return combined + str; }; obj[110] = function FEATURE(DAVE_PROTOCOL_VERIFICATION) { return "/feature/" + DAVE_PROTOCOL_VERIFICATION; }; obj[111] = function GUILD_FEATURE(arg0, arg1) { return "/feature/" + arg0 + "/" + arg1; }; obj[112] = function GUILD_JOIN_REQUEST(arg0, arg1) { return "/guilds/" + arg0 + "/requests/" + arg1; }; obj[115] = function APPLICATION_DIRECTORY_PROFILE(arg0) { return "/application-directory/" + arg0; }; obj[116] = function APPLICATION_DIRECTORY_PROFILE_SECTION(arg0, arg1) { return "/application-directory/" + arg0 + "/" + arg1; }; obj[117] = function APPLICATION_DIRECTORY_PROFILE_STORE_SKU(arg0, arg1) { return "/application-directory/" + arg0 + "/" + constants.STORE + "/" + arg1; }; obj[120] = function FAMILY_CENTER_MY_FAMILY(arg0, arg1) { return "/feature/family-center/my-family/" + arg0 + "/" + arg1; }; obj[121] = function SERVER_SHOP(arg0) { return "/channels/" + arg0 + "/shop"; }; obj[122] = function CHANNELS_GAME_SHOP(guildId, c2, c3, c4) { let num = c2; const combined = "/channels/" + guildId + "/game-shop"; if (c2 == null) { num = 0; } const sum = combined + "/" + num; let tmp3 = sum; if (null != c3) { const _HermesInternal = HermesInternal; const sum1 = sum + "/" + c3; let sum2 = sum1; if (null != c4) { const _HermesInternal2 = HermesInternal; sum2 = sum1 + "/" + c4; } tmp3 = sum2; } return tmp3; }; obj[123] = function GAME_SHOP(arg0, id, slug) { const combined = "/game-shop/" + arg0; let tmp2 = combined; if (null != id) { const _HermesInternal = HermesInternal; const sum = combined + "/" + id; let sum1 = sum; if (null != slug) { const _HermesInternal2 = HermesInternal; sum1 = sum + "/" + slug; } tmp2 = sum1; } return tmp2; }; obj[124] = function GUILD_PRODUCT(arg0, arg1) { return "/channels/" + arg0 + "/shop/" + arg1; }; obj[128] = function COLLECTIBLES_SHOP_GAME_SHOP(applicationId, pageIndex, c1, slug) { const combined = "/shop?tab=" + CollectibleShopTab.GAME_SHOPS + "&applicationId=" + applicationId; let sum = combined; if (null != pageIndex) { const _HermesInternal = HermesInternal; sum = combined + "&pageIndex=" + pageIndex; } let sum1 = sum; if (null != c1) { const _HermesInternal2 = HermesInternal; sum1 = sum + "&skuId=" + c1; } let sum2 = sum1; if (null != slug) { const _HermesInternal3 = HermesInternal; sum2 = sum1 + "&slug=" + slug; } return sum2; }; obj[129] = function COLLECTIBLES_SHOP_WITH_TAB(arg0) { return "/shop?tab=" + arg0; }; obj[130] = function COLLECTIBLES_SHOP_COLLECTION_DETAIL(arg0) { return "/shop/collection/" + arg0; }; obj[131] = function COLLECTIBLES_SHOP_PRODUCT_DETAIL(arg0) { return "/shop/product/" + arg0; }; obj[132] = function COLLECTIBLES_SHOP_LAYOUT(arg0) { return "/shop/layout/" + arg0; }; obj[135] = function CHANNEL_SUMMARIES(arg0) { return "/channels/" + arg0 + "/summaries"; }; obj[136] = function CHANNEL_SUMMARY(channelId, id) { return "/channels/" + channelId + "/summaries/" + id; }; obj[138] = function QUESTS(arg0) { return "/quests/" + arg0; }; obj[139] = function GAME_PROFILE(arg0) { return "/games/" + arg0; }; obj[140] = function ACCOUNT_REVERT(arg0) { return "/wasntme/" + arg0; }; obj[141] = function POWERUP_STORE(arg0) { return "/channels/" + arg0 + "/boosts"; }; obj[143] = function CONFERENCE_MODE_VOICE(arg0, arg1) { return "/conference-mode/voice/" + arg0 + "/" + arg1; }; obj[144] = function QUEST_PREVIEW(arg0) { return "/quest-preview/" + arg0; }; obj[145] = function QUEST_PREVIEW_TOOL_2(arg0) { return "/quest-home?tab=preview_tool&quest_id=" + arg0; }; const frozen = Object.freeze(obj); const wrapPathsResult = getAuthenticationPath.wrapPaths(frozen, [":", "?", "@"]); const result = set.fileFinishedImporting("modules/routing/RouteConstants.tsx"); export const ME = "@me"; export const FAVORITES = "@favorites"; export const NOTIFICATIONS_INBOX = "@inbox"; export const EMPTY_NUX_SERVER = "@guilds-empty-nux"; export const MOBILE_GUILD_UPSELL_LIST = "@guild-upsell-list"; export const PSEUDO_GUILD_IDS = items; export const Routes = wrapPathsResult;