(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[6206],{361832(__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__.d(__webpack_exports__,{A:()=>c});var e=__webpack_require__(515863);__webpack_require__.n(e);var t=__webpack_require__(67659);var i=__webpack_require__(380301);var s=__webpack_require__.n(i);var a=__webpack_require__(625181);var n=__webpack_require__(572252);var l=__webpack_require__(65032);var r=__webpack_require__(597126);function c(i){let s=(0,e.c)(27);let{account:c,className:d,displayAddress:u,handleClick:o,icon:m}=i;let h=u===undefined?!1:u;let p=m===undefined?null:m;let{metadata:v,address:g,balance:_}=c;let{name:f}=v;let R=`account-list-item ${d}`;let q;s[0]!==g||s[1]!==_||s[2]!==o||s[3]!==f?(q=()=>o?.({name:f,address:g,balance:_}),s[0]=g,s[1]=_,s[2]=o,s[3]=f,s[4]=q):q=s[4];let w;s[5]!==g?(w=t.createElement(n.F,{address:g,size:a.S.Sm}),s[5]=g,s[6]=w):w=s[6];let b=f||g;let k;s[7]!==b?(k=t.createElement("div",{className:"account-list-item__account-name"},b),s[7]=b,s[8]=k):k=s[8];let E;s[9]!==p?(E=p?t.createElement("div",{className:"account-list-item__icon","data-testid":"account-list-item-icon"},p):null,s[9]=p,s[10]=E):E=s[10];let N;s[11]!==g?(N=!0&&t.createElement(l.A,{address:g}),s[11]=g,s[12]=N):N=s[12];let T;s[13]!==N||s[14]!==w||s[15]!==k||s[16]!==E?(T=t.createElement("div",{className:"account-list-item__top-row items-center gap-2"},w,k,E,N),s[13]=N,s[14]=w,s[15]=k,s[16]=E,s[17]=T):T=s[17];let A;s[18]!==g||s[19]!==h||s[20]!==f?(A=h&&f&&t.createElement("div",{className:"account-list-item__account-address"},(0,r.Nf)(g)),s[18]=g,s[19]=h,s[20]=f,s[21]=A):A=s[21];let S;return s[22]!==T||s[23]!==A||s[24]!==R||s[25]!==q?(S=t.createElement("div",{className:R,"data-testid":"account-list-item",onClick:q},T,A),s[22]=T,s[23]=A,s[24]=R,s[25]=q,s[26]=S):S=s[26],S}c.propTypes={account:s().shape({id:s().string.isRequired,address:s().string.isRequired,balance:s().string.isRequired,metadata:s().shape({name:s().string.isRequired,snap:s().shape({id:s().string.isRequired,name:s().string,enabled:s().bool}),keyring:s().shape({type:s().string.isRequired}).isRequired}).isRequired}).isRequired,className:s().string,displayAddress:s().bool,handleClick:s().func,icon:s().node}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()},386206(__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__.d(__webpack_exports__,{A:()=>e.A});var e=__webpack_require__(361832)}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);