(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[63185],{45779:function(e,t,n){Promise.resolve().then(n.bind(n,61506)),Promise.resolve().then(n.bind(n,37198)),Promise.resolve().then(n.bind(n,27324)),Promise.resolve().then(n.t.bind(n,14228,23)),Promise.resolve().then(n.t.bind(n,59732,23))},61506:function(e,t,n){"use strict";n.d(t,{AppContextProvider:function(){return f},useAppContext:function(){return v}});var o=n(27573),r=n(7653),a=n(25338);let i={};a.QW.forEach(e=>{e.variants.forEach(t=>{var n;i[t]||(i[t]=[]),null===(n=i[t])||void 0===n||n.push(e)})});let u={};a.TV.sort((e,t)=>(e.marketCapRank||1/0)-(t.marketCapRank||1/0)),a.TV.forEach(e=>{e.variants.forEach(t=>{var n;u[t]||(u[t]=[]),null===(n=u[t])||void 0===n||n.push(e)})});let d={};a.fh.forEach(e=>{e.variants.forEach(t=>{var n;d[t]||(d[t]=[]),null===(n=d[t])||void 0===n||n.push(e)})});let s=e=>{var t,n,o;let{variant:r,searchTerm:a,type:s,nextBatchIndex:c,perPage:l}=e,f=null===(t=i[r])||void 0===t?void 0:t.filter(e=>{var t;return e.name.toLowerCase().includes(a.toLowerCase())||(null===(t=e.id)||void 0===t?void 0:t.toLowerCase().includes(a.toLowerCase()))}),v=null===(n=u[r])||void 0===n?void 0:n.filter(e=>e.symbol.toLowerCase().includes(a.toLowerCase())||e.name.toLowerCase().includes(a.toLowerCase())||e.id.toLowerCase().includes(a.toLowerCase())),w=null===(o=d[r])||void 0===o?void 0:o.filter(e=>e.id.toLowerCase().includes(a.toLowerCase())||e.name.toLowerCase().includes(a.toLowerCase()));return"token"===s&&v?v.slice(0,c+l):"network"===s&&f?f.slice(0,c+l):"wallet"===s&&w?w.slice(0,c+l):void 0};var c=n(67754);let l=(0,r.createContext)(void 0),f=e=>{let{children:t}=e,n=(0,c.useSearchParams)(),[a,i]=(0,r.useState)("token"),[u,d]=(0,r.useState)("mono"),[f,v]=(0,r.useState)(64),[w,h]=(0,r.useState)("#FFFFFF"),[m,p]=(0,r.useState)(""),[b,C]=(0,r.useState)(0),[E,_]=(0,r.useState)([]),[k,O]=(0,r.useState)([]),S=()=>{var e;_(null!==(e=s({variant:u,searchTerm:m,type:a,nextBatchIndex:b,perPage:96}))&&void 0!==e?e:[]),C(e=>e+96)};return(0,r.useEffect)(()=>{S()},[]),(0,r.useEffect)(()=>{var e;_(null!==(e=s({variant:u,searchTerm:m,type:a,nextBatchIndex:b,perPage:96}))&&void 0!==e?e:[])},[m,u,a]),(0,r.useEffect)(()=>{let e=n.get("type");e&&e!==a&&i(e)},[n]),(0,r.useEffect)(()=>{let e=n.get("variant");e&&e!==u&&d(e)},[n]),(0,o.jsx)(l.Provider,{value:{type:a,icons:E,searchTerm:m,setSearchTerm:p,variant:u,size:f,setSize:v,selectedIcons:k,setSelectedIcons:O,loadMoreIcons:S,color:w,setColor:h},children:t})},v=()=>{let e=(0,r.useContext)(l);if(!e)throw Error("useAppContext must be used within a AppContextProvider");return e}},37198:function(e,t,n){"use strict";n.d(t,{useSvgContent:function(){return r}});var o=n(7653);let r=e=>{let{metadata:t,variant:n,type:r}=e,[a,i]=(0,o.useState)(""),[u,d]=(0,o.useState)(null),[s,c]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{(async()=>{try{let e;if("token"===r?"mono"===n?e=await Object(function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()):"branded"===n&&(e=await Object(function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}())):"network"===r?"mono"===n?e=await Object(function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()):"branded"===n&&(e=await Object(function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}())):"wallet"===r&&("mono"===n?e=await Object(function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()):"branded"===n&&(e=await Object(function(){var e=Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()))),!e)throw Error("SVG module not found");let t=await fetch(e.default.src),o=await t.text();i(o)}catch(e){d(e)}finally{c(!1)}})()},[t,n,r]),{svgContent:a,error:u,loading:s}}},67754:function(e,t,n){"use strict";var o=n(534);n.o(o,"useRouter")&&n.d(t,{useRouter:function(){return o.useRouter}}),n.o(o,"useSearchParams")&&n.d(t,{useSearchParams:function(){return o.useSearchParams}})},59732:function(){},14228:function(e){e.exports={style:{fontFamily:"'__Inter_d65c78', '__Inter_Fallback_d65c78'",fontStyle:"normal"},className:"__className_d65c78"}},27324:function(e,t,n){"use strict";n.d(t,{Analytics:function(){return d}});var o=n(7653),r=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.vaq=window.vaq||[]).push(t)})};function a(){return"undefined"!=typeof window}function i(){return"production"}function u(){return"development"===((a()?window.vam:i())||"production")}function d(e){return(0,o.useEffect)(()=>{!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!a())return;(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=i();return}window.vam=e})(t.mode),r(),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let n=t.scriptSrc||(u()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js");if(document.head.querySelector('script[src*="'.concat(n,'"]')))return;let o=document.createElement("script");o.src=n,o.defer=!0,o.dataset.sdkn="@vercel/analytics"+(t.framework?"/".concat(t.framework):""),o.dataset.sdkv="1.3.1",t.disableAutoTrack&&(o.dataset.disableAutoTrack="1"),t.endpoint&&(o.dataset.endpoint=t.endpoint),t.dsn&&(o.dataset.dsn=t.dsn),o.onerror=()=>{let e=u()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(n,". ").concat(e))},u()&&!1===t.debug&&(o.dataset.debug="false"),document.head.appendChild(o)}({framework:e.framework||"react",...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,o.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:n,path:o}=e;null==(t=window.va)||t.call(window,"pageview",{route:n,path:o})}({route:e.route,path:e.path})},[e.route,e.path]),null}}},function(e){e.O(0,[10927,30958,81293,60286,1744],function(){return e(e.s=45779)}),_N_E=e.O()}]);