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