(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[3461],{153461(__unused_webpack_module,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{"default":()=>g});var e=__webpack_require__(515863);__webpack_require__.n(e);var t=__webpack_require__(67659);var a=__webpack_require__(833081);var l=__webpack_require__(147928);var r=__webpack_require__(503223);var o=__webpack_require__(301619);var n=__webpack_require__(330791);var c=__webpack_require__(954817);var i=__webpack_require__(117977);var s=__webpack_require__(33745);var u=__webpack_require__(440869);var d=__webpack_require__(992996);var m=__webpack_require__(308571);var v=__webpack_require__(894521);var h=__webpack_require__(528930);var p=__webpack_require__(570144);let g=()=>{let g=(0,e.c)(25);let b=(0,m.P)();let E=(0,a.wA)();let y=(0,l.Zp)();let k=(0,a.d4)(f);let w;if(g[0]===Symbol.for("react.memo_cache_sentinel")){let e=[];let t=[];for(let a of v)(0,h.fi)(a.code)?e.push(a):t.push(a);w={supportedLocales:e,communityLocales:t},g[0]=w}else w=g[0];let{supportedLocales:T,communityLocales:C}=w;let L;g[1]!==E||g[2]!==y?(L=e=>{E((0,u.DAg)(e)),y(d.uA)},g[1]=E,g[2]=y,g[3]=L):L=g[3];let M=L;let S;g[4]!==k||g[5]!==M?(S=e=>e.map(e=>{let{code:a,name:l}=e;let u=a===k;return t.createElement(c.a,{key:a,"data-testid":`locale-option-${a}`,flexDirection:r.uV.Row,justifyContent:r.TE.Between,alignItems:r.RE.Center,className:`w-full cursor-pointer border-0 p-4 ${u?"bg-muted hover:bg-muted-hover":"bg-background-default hover:bg-background-default-hover"}`,onClick:()=>M(a)},t.createElement(s.E,{variant:o.J3.BodyMd,fontWeight:o.IT.Medium},l),u&&t.createElement(i.I,{name:n.$M.Check,size:n.lK.Md,color:n.Li.IconDefault}))}),g[4]=k,g[5]=M,g[6]=S):S=g[6];let _=S;let x;g[7]!==b?(x=b("supportedLanguagesSectionTitle"),g[7]=b,g[8]=x):x=g[8];let A;g[9]!==x?(A=t.createElement(s.E,{variant:o.J3.BodyMd,color:o.r7.TextAlternative,className:"px-4 pt-3 pb-2","data-testid":"supported-languages-section-heading"},x),g[9]=x,g[10]=A):A=g[10];let $;g[11]!==_?($=_(T),g[11]=_,g[12]=$):$=g[12];let B;g[13]===Symbol.for("react.memo_cache_sentinel")?(B=t.createElement(p.cG,null),g[13]=B):B=g[13];let I;g[14]!==b?(I=b("communityContributedLanguagesSectionTitle"),g[14]=b,g[15]=I):I=g[15];let N;g[16]!==I?(N=t.createElement(s.E,{variant:o.J3.BodyMd,color:o.r7.TextAlternative,className:"px-4 pt-3 pb-2","data-testid":"community-languages-section-heading"},I),g[16]=I,g[17]=N):N=g[17];let D;g[18]!==_?(D=_(C),g[18]=_,g[19]=D):D=g[19];let J;return g[20]!==A||g[21]!==$||g[22]!==N||g[23]!==D?(J=t.createElement(c.a,{"data-testid":"locale-select-list",className:"overflow-y-auto"},A,$,B,N,D),g[20]=A,g[21]=$,g[22]=N,g[23]=D,g[24]=J):J=g[24],J};function f(e){return e.metamask.currentLocale}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);