Build 589089stable
Module 975571
1,050 characters · in no known chunkDependencies
Required by (150)
37384274958810822132453739740449502927092688001930679324694160953379903699462103531104731111185121002131047131882137728143547144835148494151080161319162097166247178315181094184264200700212737216599229683232122256106262797272244284778293758297102316254320490323073323148328857333369348559352043353904355150361597372189373627380035382573382935387640412314425663427294435954445002448701453314465558473145475467477156480900488026491145492385494886494921514547516607534148545075549384549404549406552691558393559260566566577593578434587372595746596034612479624937627261637141637706643460645905654041660110669801672787672957709779719366729398734195743461745299746669760941768088768463771566772167774340776971781121782274784578813344813837814124814278815846832910846966854378860603869362870975877833879100882362886180887476887909893605901930906199908742953932970018978171980390980406984516
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.d(t,{A:()=>u,C:()=>l});var i=n(472501),r=n(773669),a=n(723702),s=n(652215);let l=`https://${s.XlF}`,o=`https://${s.hCb}`;function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;return t+e}function c(){return r.default.locale.toLowerCase()}let u={getArticleURL:e=>d(`/hc/${c()}/articles/${e}`),getDevArticleURL:e=>d(`/hc/${c()}/articles/${e}`,o),getCreatorSupportArticleURL:e=>d(`/hc/${c()}/articles/${e}`,"https://creator-support.discord.com"),getTwitterURL:()=>(0,i.A)(s.Pq7.TWITTER),getCommunityURL:()=>d(`/hc/${c()}`),getSubmitRequestURL(e){let t=d(`/hc/${c()}/requests/new?platform=${encodeURIComponent((0,a.getPlatformName)())}`);return null!=e&&(t+=`&device_info=${encodeURIComponent(e)}`),t},getSearchURL(e){let t=encodeURIComponent(e);return d(`/hc/${c()}/search?utf8=%E2%9C%93&query=${t}&commit=Search`)},getFeaturedArticlesJsonURL:()=>d("/api/v2/help_center/en-us/articles.json?label_names=featured"),getAppsSupportURL:e=>d(`/hc/${c()}/articles/${e}`,"https://support-apps.discord.com")}}