(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[339],{860339(__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__,{TokenTransferPage:()=>h});var e=__webpack_require__(303280);__webpack_require__.n(e);var t=__webpack_require__(860012);var n=__webpack_require__(107495);var a=__webpack_require__(48084);var r=__webpack_require__(305142);var i=__webpack_require__(706794);var l=__webpack_require__(556734);var o=__webpack_require__(805600);var s=__webpack_require__(126528);var c=__webpack_require__(697141);var d=__webpack_require__(353183);var u=__webpack_require__(917214);var m=__webpack_require__(423533);var g=__webpack_require__(22335);var k=__webpack_require__(409629);var f=__webpack_require__(624404);let h=()=>{let h=(0,e.c)(33);let v=(0,u.P)();let p=(0,n.Zp)();let C=(0,n.g)();let T;h[0]!==C.origin?(T=C.origin?(0,f.Tw)(C.origin):undefined,h[0]=C.origin,h[1]=T):T=h[1];let $=T;let b;h[2]!==$?(b=e=>$?(0,k.zh)(e,{permissionGroupName:"token-transfer",siteOrigin:$}):(0,k.uD)(e,"token-transfer"),h[2]=$,h[3]=b):b=h[3];let E=(0,a.d4)(b);let w;h[4]!==p||h[5]!==$?(w=e=>{let t=`${m.d1}/${e}/${"token-transfer"}`;p($?`${t}/${encodeURIComponent($)}`:t)},h[4]=p,h[5]=$,h[6]=w):w=h[6];let P=w;let y;h[7]!==P||h[8]!==E||h[9]!==v?(y=()=>E.map(e=>{let{chainId:n,count:a}=e;let r=a===1?v("tokenPermissionCount",[a]):v("tokenPermissionsCount",[a]);return t.createElement(g.gm,{"data-testid":"permission-group-list-item",key:n,chainId:n,text:r,onClick:()=>P(n)})}),h[7]=P,h[8]=E,h[9]=v,h[10]=y):y=h[10];let x=y;let D;h[11]!==v?(D=v("back"),h[11]=v,h[12]=D):D=h[12];let I;h[13]!==p?(I=()=>p(m.ax),h[13]=p,h[14]=I):I=h[14];let L;h[15]!==D||h[16]!==I?(L=t.createElement(o.a,{ariaLabel:D,iconName:r.$M.ArrowLeft,color:r.Li.IconDefault,onClick:I,size:i.f.Md}),h[15]=D,h[16]=I,h[17]=L):L=h[17];let M;h[18]===Symbol.for("react.memo_cache_sentinel")?(M={variant:d.J3.headingMd,"data-testid":"token-transfer-page-title"},h[18]=M):M=h[18];let N;h[19]!==$||h[20]!==v?(N=$?`${(0,f.PF)($,!1)}: ${v("tokenTransfer")}`:v("tokenTransfer"),h[19]=$,h[20]=v,h[21]=N):N=h[21];let _;h[22]!==L||h[23]!==N?(_=t.createElement(c.Y9,{backgroundColor:d.i0.backgroundDefault,startAccessory:L,textProps:M},N),h[22]=L,h[23]=N,h[24]=_):_=h[24];let R;h[25]!==E.length||h[26]!==x?(R=E.length>0?x():t.createElement(s.a,{"data-testid":"no-connections",flexDirection:l.uV.Column,justifyContent:l.TE.Center,className:"h-full",padding:4},t.createElement(g.Rg,null)),h[25]=E.length,h[26]=x,h[27]=R):R=h[27];let S;h[28]!==R?(S=t.createElement(c.UC,{padding:0},R),h[28]=R,h[29]=S):S=h[29];let z;return h[30]!==S||h[31]!==_?(z=t.createElement(c.YW,{className:"main-container","data-testid":"token-transfer-page",key:"token-transfer-page"},_,S),h[30]=S,h[31]=_,h[32]=z):z=h[32],z}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);