// Module ID: 7690 // Function ID: 7691 // Name: set // Dependencies: [4548, 1369, 7691, 7692, 2] // Exports: getApplicationCodedLinkData, isApplicationCodedLink, isApplicationCodedLinkMobileSupported // Module 7690 (set) import isDiscordFrontendDevelopment from "isDiscordFrontendDevelopment" /* 1369 */; import CodedLinkType from "CodedLinkType" /* 4548 */; import set from "set" /* 2 */; const items = [CodedLinkType.CodedLinkType.APP_DIRECTORY_PROFILE, CodedLinkType.CodedLinkType.ACTIVITY_BOOKMARK, CodedLinkType.CodedLinkType.APP_DIRECTORY_STOREFRONT, CodedLinkType.CodedLinkType.APP_DIRECTORY_STOREFRONT_SKU, CodedLinkType.CodedLinkType.APP_OAUTH2_LINK]; let set = new Set(items); const items1 = [CodedLinkType.CodedLinkType.APP_DIRECTORY_PROFILE, CodedLinkType.CodedLinkType.ACTIVITY_BOOKMARK, CodedLinkType.CodedLinkType.APP_OAUTH2_LINK]; const set1 = new Set(items1); let result = set.fileFinishedImporting("modules/coded_links/ApplicationCodedLink.tsx"); export const APP_LINK_CODED_TYPES = set; export const isApplicationCodedLink = function isApplicationCodedLink(type) { return isDiscordFrontendDevelopment.isInSet(type, set); }; export const APP_LINK_CODED_TYPES_MOBILE_SUPPORT = set1; export const isApplicationCodedLinkMobileSupported = function isApplicationCodedLinkMobileSupported(type) { return isDiscordFrontendDevelopment.isInSet(type, set1); }; export const getApplicationCodedLinkData = function getApplicationCodedLinkData(type, code, url) { if (CodedLinkType.CodedLinkType.APP_DIRECTORY_PROFILE !== type) { if (tmp(4548).CodedLinkType.APP_OAUTH2_LINK !== type) { if (tmp(4548).CodedLinkType.APP_DIRECTORY_STOREFRONT !== type) { if (tmp(4548).CodedLinkType.APP_DIRECTORY_STOREFRONT_SKU === type) { let tmpResult = tmp(7691); const result = tmpResult.parseStorefrontSkuCodedLink(code); let tmp5 = null; if (null != result) { let obj = { type: null, applicationId: null, skuId: null }; obj[0] = type; ({ applicationId: obj4[1], skuId: obj4[2] } = result); tmp5 = obj; } return tmp5; } else if (tmp(4548).CodedLinkType.ACTIVITY_BOOKMARK === type) { obj = { type: null, applicationId: null, params: null }; obj[0] = type; obj[1] = code; tmpResult = tmp(7692); obj[2] = tmpResult.extractActivityBookmarkParams(url); return obj; } } } } obj = { type, applicationId: code }; return obj; };