(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[2747],{532747(__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":()=>E});var e=__webpack_require__(303280);__webpack_require__.n(e);var t=__webpack_require__(860012);var a=__webpack_require__(48084);var l=__webpack_require__(107495);var n=__webpack_require__(644174);var r=__webpack_require__(146194);var i=__webpack_require__(667855);var c=__webpack_require__(779865);var s=__webpack_require__(652499);var o=__webpack_require__(697141);var m=__webpack_require__(83432);var v=__webpack_require__(683683);var u=__webpack_require__(353183);var d=__webpack_require__(917214);var f=__webpack_require__(634120);var h=__webpack_require__(700823);var k=__webpack_require__(683061);var p=__webpack_require__(657218);var b=__webpack_require__(768466);var g=__webpack_require__(423533);function E(){let E=(0,e.c)(31);let S=(0,d.P)();let{asset:w,id:A}=(0,l.g)();let $=Object.values((0,a.d4)(m.D4)).flat();let _;E[0]!==w||E[1]!==A?(_=e=>{let{address:t,tokenId:a}=e;return(0,v.y)(t,w)&&A===a.toString()},E[0]=w,E[1]=A,E[2]=_):_=E[2];let{image:y,imageOriginal:C,tokenURI:L,name:j,tokenId:z,chainId:N,description:T}=$.find(_);let{image:x}=(0,h.A)(L);let F=(0,r.YS)(y);let I=(0,a.d4)(i.l68);let M=(0,a.d4)(p.hX);let O=(0,n.nj)(N?.toString()??"");let U=M[O];let Y=(0,b.lo)(O);let H=(0,f.A)(C??F,I);let P=(0,r.x8)({name:j,tokenId:z,description:T});let R=C??F;let W;E[3]!==R?(W=R?.startsWith("ipfs:"),E[3]=R,E[4]=W):W=E[4];let q=W;let B=F&&(0,k.O9)(F)||x&&(0,k.O9)(x);let D=(0,l.wQ)();let G=(0,l.Zp)();let[J,Q]=(0,t.useState)(!1);let X;let Z;E[5]===Symbol.for("react.memo_cache_sentinel")?(X=()=>{let e=requestAnimationFrame(()=>{Q(!0)});return()=>cancelAnimationFrame(e)},Z=[],E[5]=X,E[6]=Z):(X=E[5],Z=E[6]),(0,t.useEffect)(X,Z);let K;E[7]!==w||E[8]!==O||E[9]!==A||E[10]!==G||E[11]!==D?(K=()=>{D==="PUSH"?G(g.ax):G(`${g.Jy}/${O}/${w}/${A}`,{replace:!0})},E[7]=w,E[8]=O,E[9]=A,E[10]=G,E[11]=D,E[12]=K):K=E[12];let V=K;let ee;E[13]!==S?(ee=S("back"),E[13]=S,E[14]=ee):ee=E[14];let et;E[15]!==V||E[16]!==ee?(et=t.createElement(o.Y9,{endAccessory:t.createElement(c.a2,{color:u.Li.iconAlternative,size:c.f3.Md,ariaLabel:ee,iconName:c.$M.Close,onClick:V,"data-testid":"nft-details__close",paddingLeft:0})}),E[15]=V,E[16]=ee,E[17]=et):et=E[17];let ea=`fade-in ${J?"visible":""}`;let el=B?F||x:H;let en=j??"";let er=U?.name??"";let ei;E[18]!==q||E[19]!==Y||E[20]!==P||E[21]!==er||E[22]!==el||E[23]!==en?(ei=t.createElement(c.az,{display:u.nl.Flex,justifyContent:u.A9.center,paddingBottom:12},t.createElement(c.az,null,t.createElement(s.o,{src:el,alt:P,name:en,networkName:er,networkSrc:Y,isIpfsURL:q}))),E[18]=q,E[19]=Y,E[20]=P,E[21]=er,E[22]=el,E[23]=en,E[24]=ei):ei=E[24];let ec;E[25]!==ei||E[26]!==ea?(ec=t.createElement(o.UC,{className:ea,justifyContent:u.A9.center},ei),E[25]=ei,E[26]=ea,E[27]=ec):ec=E[27];let es;return E[28]!==ec||E[29]!==et?(es=t.createElement(c.az,{className:"main-container asset__container"},t.createElement(o.YW,null,et,ec)),E[28]=ec,E[29]=et,E[30]=es):es=E[30],es}}}).call(__webpack_require__._LM_("$root$",{__webpack_require__,__webpack_exports__}))()}}]);