Build 620073canary
Module 773669
815 characters · in web.692b1813fcabadaf.jsDependencies
Required by (99)
37387667221183775658703674807153299462109210161673164942191711203779219317227205230797232835236285258360264322284675319820320089321191328968331329350172355998356645370997385430397313399145424170426190434404448429460760463398488358497685498480509614521790531913540737543213545152561573577593578434580630590180612400626148631576636254638421639245657538673809693879710969720882736339742077743987747340753031754744778572780907808261832163834135839534845012862772866157867730869362872233883600900582927815939538939981942262946228962644962766963402965660966833975571981360993046993748996254
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>A});var i=n(17928),r=n(228366),a=n(724066),s=n(77729),l=n(617617),o=n(375708);async function d(){if(s.A?.app?.getPreferredSystemLanguages!=null){let e=await s.A.app.getPreferredSystemLanguages().then(e=>e[0]);if(null!=e&&""!==e)return e}return o.systemLocale}let c=o.intl.currentLocale,u=o.systemLocale;function _(){let e=l.A.settings.localization?.locale?.value;return null!=e&&""!==e&&e!==c&&(c=e,(0,a.Av)(c),!0)}d().then(e=>{u=e});class E extends i.Ay.Store{static displayName="LocaleStore";initialize(){this.waitFor(l.A),_(),(0,a.Av)(c)}get locale(){return c}get systemLocale(){return u}}let A=new E(r.h,{OVERLAY_INITIALIZE:_,CACHE_LOADED:_,CONNECTION_OPEN:_,USER_SETTINGS_PROTO_UPDATE:_,USER_SETTINGS_LOCALE_OVERRIDE:function(e){c=e.locale,(0,a.Av)(c)}})}