import"react";import{Flex as v,Image as A,Text as C}from"@chakra-ui/react";var n="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/ed299f96-6a0f-4f97-cfcb-f8b0ae2ad500/medium",r="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/9c899659-3749-4407-9669-7af913f10500/medium",i="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/c34d29f2-060f-41ae-5eab-30bc2fa66800/medium",a="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/b2d2f956-6eb6-4926-9fc4-e03465a03c00/medium",s="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/571fbcf2-e0d5-4c72-847a-1bb87b327600/medium",c="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/be0850de-021c-4d55-fbcd-8b859fea6300/medium",l="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/308a8ad9-3ec3-42ff-2810-e2de9f0c2600/medium",d="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/067c6d18-66ae-43df-bf2c-6e758c6a9300/medium",f="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/4c38c9bd-a5c2-4b3c-2c14-f0d33b822000/medium",p="https://imagedelivery.net/6iczWBYEbx_1dYNU7ek_bA/5a5f445e-fb7c-45a8-787d-d15a9b7ff400/medium";import{useContext as y}from"react";import{createContext as x,useCallback as ee,useEffect as te,useState as oe}from"react";import $ from"axios";import{createContext as g,useMemo as M}from"react";import{jsx as z}from"react/jsx-runtime";var Y=g(void 0);import{jsx as V,jsxs as Z}from"react/jsx-runtime";import{jsx as ae}from"react/jsx-runtime";var m=x(void 0);var u=()=>y(m);var b=(e,{height:t,quality:o})=>{if(e)return e.includes("imagedelivery.net")?e.includes("quality")?`${e},height=${t}`:`${e}/height=${t},quality=${o}`:e};import{jsx as h,jsxs as _}from"react/jsx-runtime";var w={SEA_DROP:l,FAIR:r,MAGIC_EDEN:a,MANIFOLD:i,ZORA:d,FOUNDATION:n,FOUNDATION_DROP:n,HEY_MINT:f,RARIBLE:s,LAUNCH_MY_NFT:c,GASLESS:p},E={SEA_DROP:"Open Sea",FAIR:"Fair",MAGIC_EDEN:"Magic Eden",MANIFOLD:"Manifold",ZORA:"Zora",FOUNDATION:"Foundation",FOUNDATION_DROP:"Foundation",HEY_MINT:"Hey Mint",RARIBLE:"Rarible",LAUNCH_MY_NFT:"Launch My Nft",FEATURED:"Featured",GASLESS:"Gasless"},N=({launchpad:e})=>{let{profile:t}=u(),{profileImage:o}=t||{};return _(v,{align:"center",ml:2,border:"1px solid",borderColor:"input",borderRadius:4,p:"2px",children:[h(A,{w:3,h:3,mr:1,borderRadius:5,src:e==="FEATURED"?`${b(o,{height:40})}`:w[e],objectFit:"contain"}),h(C,{noOfLines:1,fontSize:"2xs",color:"mutedForeground",children:E[e]})]})},ye=N;export{ye as default};
