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