(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[1938],{361938(__unused_webpack___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__,{DL:()=>o});var t=__webpack_require__(644174);let e="https://token.api.cx.metamask.io";let n;let r=0;let a;async function i(){let t=Date.now();return n!==undefined&&t-r<null?n:(0,a!==undefined)?a:(0,a=(async()=>{try{let t=await fetch(null);if(t.ok){let e=await t.json();n=e&&typeof e=="object"&&!Array.isArray(e)?e:{}}else n={}}catch{n={}}finally{r=Date.now(),a=undefined}return n??{}})())}async function s(t){return(await i())[String(convertHexToDecimal(t))]??3}function l(t){let{assetIds:n,...r}=t;let a=n.map(t=>encodeURIComponent(t)).join(",");let i=new URLSearchParams;return Object.entries(r).forEach(([t,e])=>{e!==undefined&&i.append(t,String(e))}),`${e}/assets?assetIds=${a}${i.toString()?`&${i.toString()}`:""}`}async function o(e,{includeAggregators:n,includeCoingeckoId:r,includeLabels:a,includeMarketData:i,includeOccurrences:s,includeTokenSecurityData:c,includeRwaData:u}={}){if(e.length===0)return[];let f=l({assetIds:e,includeAggregators:n,includeCoingeckoId:r,includeLabels:a,includeMarketData:i,includeOccurrences:s,includeTokenSecurityData:c,includeRwaData:u});try{let e=await (0,t.Pf)(f);if(Array.isArray(e))return e;return[]}catch{return[]}}}}).call(__webpack_require__._LM_("@metamask/assets-controllers",{__webpack_require__,__webpack_exports__}))()}}]);