"use strict";(self["webpackChunksuperhero_wallet"]=self["webpackChunksuperhero_wallet"]||[]).push([[3341],[(e,n,l)=>{l.r(n),l.d(n,{default:()=>k});var t=l(20641),o={ref:"innerScrollElem",class:"account-details-tokens"};function s(e,n,l,s,a,r){var i=(0,t.g2)("AssetList"),u=(0,t.g2)("MessageOffline"),c=(0,t.g2)("BackToTop"),v=(0,t.g2)("IonContent"),f=(0,t.g2)("IonPage");return(0,t.uX)(),(0,t.Wv)(f,null,{default:(0,t.k6)(function(){return[(0,t.bF)(v,{class:"ion-padding ion-content-bg--lighter"},{default:(0,t.k6)(function(){return[(0,t.Lk)("div",o,[e.isOnline?((0,t.uX)(),(0,t.Wv)(i,{key:0,"search-term":e.searchPhrase,class:"tokens-list","owned-only":""},null,8,["search-term"])):((0,t.uX)(),(0,t.Wv)(u,{key:1,class:"offline-message",text:e.$t("modals.accountDetails.assetsNotAvailable")},null,8,["text"]))],512),e.isOnline?((0,t.uX)(),(0,t.Wv)(c,{key:0})):(0,t.Q3)("",!0)]}),_:1})]}),_:1})}var a=l(27360),r=l(50953),i=l(74022),u=l(37772),c=l(27800),v=l(92385),f=l(3099),d=l(62675);const p=(0,t.pM)({components:{AssetList:v.A,MessageOffline:f.A,IonPage:a.AO,IonContent:a.W9,BackToTop:d.A},props:{showFilters:Boolean,pageWillEnter:Boolean},setup:function(e){var n=(0,c.w5)(),l=n.isOnline,o=(0,c.QR)(),s=o.searchPhrase,a=(0,c.J$)(),v=a.setScrollConf,f=(0,r.KR)(),d=(0,r.KR)(0),p=(0,t.EW)(function(){var e;return null===(e=f.value)||void 0===e?void 0:e.parentElement});function g(){return(0,i.A)(function(){var e,n;d.value=null!==(n=null===(e=null===p||void 0===p?void 0:p.value)||void 0===e?void 0:e.scrollTop)&&void 0!==n?n:0},200)}return(0,t.wB)(d,function(e){v(e>=u.OO)}),(0,t.wB)(function(){return e.pageWillEnter},function(e){e&&v(!1)}),(0,t.sV)(function(){f.value&&p.value&&p.value.addEventListener("scroll",g())}),(0,t.xo)(function(){var e;null===(e=p.value)||void 0===e||e.removeEventListener("scroll",g())}),{isOnline:l,searchPhrase:s,innerScrollElem:f}}});var g=l(66262);const h=(0,g.A)(p,[["render",s],["__scopeId","data-v-3f40f9ee"]]),k=h}]]);