PageSourceSearch

https://cdn.bulbapp.io/apps/frontend/_next/static/chunks/pages/marketplace-666a967026af6b80.js

js bulbapp.io collected 2026-10-02 06:44:44 UTC 16,730 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2465],{31709:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/marketplace",function(){return t(34569)}])},70785:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var i=t(85893),r=t(42382),s=t(55152),l=t(75785);function o(e){var n=e.size,t=void 0===n?l.ITEM_XS:n,o=e.color,a=void 0===o?"var(--bs-gray-200)":o,c=e.backgroundColor,d=void 0===c?"var(--bs-dark)":c,u=e.onClick,m=void 0===u?void 0:u;return(0,r.Fg)().isDarkMode&&(d="var(--bs-light)",a="var(--bs-gray-800)"),(0,i.jsx)(s.Z,{size:t,color:a,className:"rounded-circle",style:{backgroundColor:d,cursor:m?"pointer":"default"},onClick:m})}},75078:function(e,n,t){"use strict";t.d(n,{Z:function(){return h}});var i=t(85893),r=t(1852),s=t(46173),l=t(38521),o=t(19910),a=t(86535),c=t(75785),d=t(35561),u=t(17052),m=t(25449);function h(e){var n,t=e.item,h=function(){return g?(0,i.jsx)(u.w,{}):null},f={bulbmoji:null===t||void 0===t?void 0:t.Bulbmoji,price:null===t||void 0===t?void 0:t.Price,boosted:null===t||void 0===t?void 0:t.Boosted},v=f.bulbmoji,x=f.price,g=f.boosted,p={slug:(0,l.wf)(null===v||void 0===v?void 0:v.Address),title:null===v||void 0===v?void 0:v.Name,src:null===v||void 0===v?void 0:v.LocalImage,level:null===v||void 0===v||null===(n=v.Attributes)||void 0===n?void 0:n.Level},j=p.slug,w=p.title,y=p.src,b=p.level,N=(0,r.useMediaQuery)({query:"(min-width: ".concat(c.SCREEN_XL_ONE,")")});return(0,m.dB)({adCampaignId:t.BoostId}),(0,i.jsx)(m.NN,{adCampaignId:t.BoostId,isInternalLink:!0,children:(0,i.jsx)(c.NftCard,{title:w,src:y,icon:N?(0,i.jsxs)(c.Space,{children:[(0,i.jsx)(c.LevelBadge,{value:b,width:c.ITEM_LG,height:c.ITEM_LG}),h()]}):h(),primaryAction:(0,i.jsx)(c.Button,{appearance:"transparent",iconBefore:(0,i.jsx)(a.Z,{size:"sm"}),spacing:"none",children:(0,l.JV)(x,4)}),secondaryAction:(0,i.jsx)(c.Tooltip,{desktopOnly:!0,className:"w-fit",content:"Buy ".concat(w," for ").concat((0,l.JV)(x,9,!1)," SOL."),children:(0,i.jsx)(c.Button,{appearance:"dark",darkAppearance:"light",iconBefore:(0,i.jsx)(a.Z,{size:"sm"}),onClick:function(){(0,s.SM)(o.Kpl)},children:(0,l.JV)(x,4)})}),showSecondaryAction:!0,infoIcon:(0,i.jsx)(d.Z,{item:v}),href:j})})}},13482:function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var i=t(85893),r=t(25675),s=t.n(r),l=t(9193),o=t(86535),a=t(89891),c=t(90428),d=t(63760),u=t(73753),m=t(6333),h=t.n(m);function f(e){var n,t,r=e.item,m=e.styles;return(0,i.jsx)(c.Z,{style:m,className:h().NftCollectionCard,children:(0,i.jsxs)("a",{className:"text-decoration-none",href:r.Url,children:[(0,i.jsx)(c.Z,{children:(0,i.jsx)("div",{className:"position-relative",style:{height:120,maxWidth:"100%"},children:(0,i.jsx)(s(),{src:(null===r||void 0===r?void 0:r.BackgroundImage)||l.UFK,alt:null===r||void 0===r?void 0:r.Name,width:600,height:200,layout:"fill",objectFit:"cover"})})}),(0,i.jsxs)(c.Z,{className:"px-4",children:[(0,i.jsx)(c.Z,{className:"position-relative mb-2",style:{maxHeight:16,top:-48},children:(0,i.jsx)("div",{className:"w-fit",children:(0,i.jsx)(u.Z,{src:null===r||void 0===r?void 0:r.Image,name:null===r||void 0===r?void 0:r.Name,size:"lg",showName:!1})})}),(0,i.jsxs)(c.Z,{className:"pb-3",children:[(0,i.jsxs)(c.Z,{children:[(0,i.jsx)(a.Z,{children:(0,i.jsx)(d.Z,{heading:200,className:"d-inline-block text-truncate text-nowrap",style:{maxWidth:140},children:null===r||void 0===r?void 0:r.Name})}),(0,i.jsx)(a.Z,{children:(0,i.jsx)(d.Z,{heading:200,children:"Total volume"})})]}),(0,i.jsxs)(c.Z,{children:[(0,i.jsx)(a.Z,{className:"d-flex flex-row align-items-center",children:(0,i.jsxs)(d.Z,{children:[null===r||void 0===r||null===(n=r.Statistics)||void 0===n?void 0:n.Size," items"]})}),(0,i.jsx)(a.Z,{className:"d-flex flex-row align-items-center",children:(0,i.jsxs)(d.Z,{className:"d-flex flex-row align-items-center",style:{height:26},children:[(0,i.jsx)("span",{className:"me-2",children:(0,i.jsx)(o.Z,{size:"xs"})}),(0,i.jsx)(d.Z,{children:null===r||void 0===r||null===(t=r.Statistics)||void 0===t?void 0:t.Volume})]})})]})]})]})]})})}},90729:function(e,n,t){"use strict";t.d(n,{Z:function(){return h}});var i=t(85893),r=t(94184),s=t.n(r),l=t(67294),o=t(54678),a=t(72634),c=t(51740),d=t(9029),u=function(e){var n,t,i,r,u=e.className,m=e.children,h=e.width,f=e.testId,v=(0,l.useRef)(null),x=(0,l.useState)(!1),g=x[0],p=x[1],j=(0,l.useState)(!1),w=j[0],y=j[1],b=(0,l.useState)(320),N=b[0],Z=b[1],C=(0,l.useState)(320),L=C[0],B=C[1],k=(0,l.useState)(!1),S=k[0],_=k[1],E=(0,l.useState)(0),T=E[0],R=E[1],M=(0,l.useState)(0),U=M[0],z=M[1],I=(0,l.useState)(0),V=I[0],A=I[1],F=U==V+T,W=!0,D="bulb-carousel",G=s()("position-relative",u);return(0,l.useEffect)((function(){v&&(_(v.current.scrollWidth>v.current.clientWidth),z(v.current.scrollWidth),A(v.current.clientWidth))}),[null===(i=null==v?void 0:v.current)||void 0===i?void 0:i.scrollWidth,null===(r=null==v?void 0:v.current)||void 0===r?void 0:r.clientWidth,W]),(0,l.useEffect)((function(){h<=576?(B(320),Z(320)
1):h>=576&&h<=1300?(B(350),Z(700)):h>=1300&&(B(350),Z(1050))}),[h,W]),(0,l.useEffect)((function(){p(h>=576&&T>0&&S)}),[T,h,S,W]),(0,l.useEffect)((function(){h<=576?y(!1):(h>=576&&h<=1300||h>=1300)&&y(S&&!F)}),[h,S,F,W]),l.createElement("div",{className:G,"data-testid":f},l.createElement("ul",{className:"bulb-carousel d-flex flex-row hide-scroll",ref:v,onScroll:function(){var e=v.current.scrollLeft;R(e)}},l.Children.map(m,(function(e,n){return l.createElement("li",{className:"bulb-carousel-item",key:n,id:"".concat(n),style:{width:L}},e)}))),l.createElement(o.Z,{className:s()("position-absolute","".concat(D,"-arrow"),"".concat(D,"-arrow-left"),"bg-dark","translate-y-middle",(n={},n["".concat(D,"-arrow-fade-out")]=!g,n["".concat(D,"-arrow-fade-in")]=g,n)),appearance:"transparent",onClick:function(){v.current.scrollLeft-=N},spacing:"none"},l.createElement(a.Z,{size:d.C9G,color:"var(--bs-light)"})),l.createElement(o.Z,{className:s()("position-absolute","".concat(D,"-arrow"),"".concat(D,"-arrow-right"),"bg-dark","translate-y-middle",(t={},t["".concat(D,"-arrow-fade-out")]=!w,t["".concat(D,"-arrow-fade-in")]=w,t)),appearance:"transparent",onClick:function(){v.current.scrollLeft+=N},spacing:"none"},l.createElement(c.Z,{size:d.C9G,color:"var(--bs-light)"})))};u.defaultProps={deviceType:"desktop",responsive:{desktop:{breakpoint:{max:1e4,min:1024},items:4,slidesToSlide:2,partialVisibilityGutter:20},tablet:{breakpoint:{max:1024,min:464},items:2,slidesToSlide:2,partialVisibilityGutter:40},mobile:{breakpoint:{max:464,min:0},items:1,slidesToSlide:1,partialVisibilityGutter:40}},offset:0};var m=t(90428);function h(e){var n=e.className,t=e.children,r=e.width,o=(0,l.useRef)(null),a=(0,l.useMemo)((function(){var e=r;return(null===o||void 0===o?void 0:o.current)&&(e=Math.min(null===o||void 0===o?void 0:o.current.clientWidth,e)),e}),[r]);return(0,i.jsx)("div",{ref:o,children:(0,i.jsx)(m.Z,{className:"d-flex flex-row justify-content-center",children:(0,i.jsx)(u,{width:a,className:s()("w-fit",n),children:t})})})}},34569:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return k}});var i=t(85893),r=t(67294),s=t(39045),l=t(17340),o=t(65353),a=t(38521),c=t(9193),d=t(22591),u=t(81343);var m=t(70611),h=t(90026),f=t(96202),v=t(75785),x=t(46487),g=t(58211),p=t(75078),j=t(13482),w=t(86535),y=t(89891),b=t(90428),N=t(63760),Z=t(73753);function C(e){var n,t,r=e.item,s=e.index,l=e.styles;return(0,i.jsx)("a",{className:"text-decoration-none",href:r.Url,children:(0,i.jsxs)(b.Z,{style:l,children:[(0,i.jsx)(y.Z,{xs:1,className:"d-flex flex-row align-items-center",children:(0,i.jsx)(N.Z,{bold:!0,children:s})}),(0,i.jsx)(y.Z,{xs:2,children:(0,i.jsx)("div",{className:"w-fit",children:(0,i.jsx)(Z.Z,{src:null===r||void 0===r?void 0:r.Image,name:null===r||void 0===r?void 0:r.Name,size:"md",showName:!1})})}),(0,i.jsxs)(y.Z,{children:[(0,i.jsx)(b.Z,{className:"mb-1",children:(0,i.jsx)(N.Z,{bold:!0,children:null===r||void 0===r?void 0:r.Name})}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(y.Z,{className:"d-flex flex-row align-items-center",children:(0,i.jsxs)(N.Z,{className:"d-flex flex-row align-items-center",children:[(0,i.jsx)(N.Z,{className:"me-2",children:"Floor"}),(0,i.jsx)(N.Z,{className:"d-flex flex-row align-items-center me-2",children:(0,i.jsx)(w.Z,{size:"xs"})}),(0,i.jsx)(N.Z,{children:null===r||void 0===r||null===(n=r.Statistics)||void 0===n?void 0:n.PriceFloor})]})}),(0,i.jsx)(y.Z,{className:"d-flex flex-row justify-content-end align-items-center",children:(0,i.jsxs)(N.Z,{className:"d-flex flex-row align-items-center",children:[(0,i.jsx)(N.Z,{className:"me-2",children:"Vol."}),(0,i.jsx)(N.Z,{className:"d-flex flex-row align-items-center me-2",children:(0,i.jsx)(w.Z,{size:"xs"})}),(0,i.jsx)(N.Z,{children:null===r||void 0===r||null===(t=r.Statistics)||void 0===t?void 0:t.Volume})]})})]})]})]})})}var L=t(90729),B=t(38584);function k(){var e=function(){var e=(0,r.useState)(),n=e[0],t=e[1],i=(0,r.useState)([]),s=i[0],m=i[1],h=(0,r.useState)(!0),f=h[0],v=h[1],x=(0,r.useState)([]),g=x[0],p=x[1],j=(0,r.useState)(!0),w=j[0],y=j[1];function b(){return(b=(0,l.Z)((function(){var e,n;return(0,o.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,(0,u.Vz)(d.C$3,{mode:c.gYH})];case 1:return e=i.sent(),(0,a.bv)(e.status)&&(n=e.data,t(n.Collections[0])),[3,3];case 2:return i.sent(),[3,3];case 3:return[2]}}
1))}))).apply(this,arguments)}function N(){return(N=(0,l.Z)((function(){var e,n;return(0,o.__generator)(this,(function(t){switch(t.label){case 0:v(!0),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,(0,u.Vz)(d.C$3,{mode:c.dVY})];case 2:return e=t.sent(),(0,a.bv)(e.status)&&(n=e.data,m(n.Collections)),[3,4];case 3:return t.sent(),[3,4];case 4:return v(!1),[2]}}))}))).apply(this,arguments)}function Z(){return(Z=(0,l.Z)((function(){var e,n;return(0,o.__generator)(this,(function(t){switch(t.label){case 0:y(!0),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,(0,u.Vz)(d.C$3,{mode:c.RIA})];case 2:return e=t.sent(),(0,a.bv)(e.status)&&(n=e.data,p(n.Collections)),[3,4];case 3:return t.sent(),[3,4];case 4:return y(!1),[2]}}))}))).apply(this,arguments)}return{spotlightCollection:n,getSpotlightCollection:function(){return b.apply(this,arguments)},featuredCollections:s,loadingFeaturedCollections:f,getFeaturedCollections:function(){return N.apply(this,arguments)},trendingCollections:g,loadingTrendingCollections:w,getTrendingCollections:function(){return Z.apply(this,arguments)}}}(),n=e.featuredCollections,t=e.loadingFeaturedCollections,w=e.getFeaturedCollections,y=e.trendingCollections,b=e.loadingTrendingCollections,N=e.getTrendingCollections,Z=(0,s.Z)(),k=Z.articleListings,S=Z.loadingArticleListings,_=Z.getArticleListings,E=(0,m.Z)(),T=E.listings,R=E.loadingListings,M=E.getListings,U=(0,h.Z)().width;return(0,r.useEffect)((function(){w(),N(),M(f.tcN,f.q$Z,[],!0,f.dVY),_(void 0,void 0,void 0,!1,f.dVY)}),[]),(0,i.jsxs)(B.Z,{metadata:{title:"Marketplace | BULB"},children:[(0,i.jsx)(v.Row,{className:"mb-5",children:(0,i.jsx)(x.Z,{title:"Trade NFTs on BULB",primaryButton:(0,i.jsx)(v.Button,{appearance:"light",href:f.Lau,children:"Explore collections"}),secondaryButton:(0,i.jsx)(v.Button,{appearance:"outline-light",href:f.ekv,children:"Sell my NFTs"})})}),(0,i.jsxs)(v.Row,{className:"mx-2",children:[(0,i.jsxs)(v.Row,{className:"mb-5",children:[(0,i.jsx)(v.Row,{className:"mb-3",children:(0,i.jsx)(v.Text,{heading:400,children:"Featured Collection"})}
1),(0,i.jsx)(v.Row,{children:(0,i.jsx)(v.Loading,{loading:t,children:(0,i.jsx)(L.Z,{width:U,children:n.map((function(e,n){return(0,i.jsx)(v.Row,{className:"px-3",style:{marginLeft:-16},children:(0,i.jsx)(j.Z,{item:e,styles:{width:350}})},n)}))})})})]}),(0,i.jsxs)(v.Row,{className:"mb-5",children:[(0,i.jsx)(v.Row,{className:"mb-3",children:(0,i.jsx)(v.Text,{heading:400,children:"Trending Collection"})}),(0,i.jsx)(v.Loading,{loading:b,children:(0,i.jsx)(v.Row,{className:"d-flex flex-row justify-content-between",children:y.map((function(e,n){return(0,i.jsx)(v.Col,{className:"ps-4 pb-4",style:{marginLeft:-24},md:4,children:(0,i.jsx)(C,{item:e,index:n+1})},n)}))})})]}),(0,i.jsxs)(v.Row,{className:"mb-5",children:[(0,i.jsx)(v.Row,{className:"mb-3",children:(0,i.jsx)(v.Text,{heading:400,children:"BULBmojis"})}),(0,i.jsx)(v.Row,{children:(0,i.jsx)(v.Loading,{loading:R,children:(0,i.jsx)(L.Z,{width:U,children:T.map((function(e,n){return(0,i.jsx)(v.Row,{className:"px-3",style:{marginLeft:-16,width:320},children:(0,i.jsx)(p.Z,{item:e})},n)}))})})})]}),(0,i.jsxs)(v.Row,{className:"mb-5",children:[(0,i.jsx)(v.Row,{className:"mb-3",children:(0,i.jsx)(v.Text,{heading:400,children:"Article NFTs"})}
1),(0,i.jsx)(v.Row,{children:(0,i.jsx)(v.Loading,{loading:S,children:(0,i.jsx)(L.Z,{width:U,children:k.map((function(e,n){return(0,i.jsx)(v.Row,{className:"pe-3",style:{width:320},children:(0,i.jsx)(g.Z,{item:e})},n)}))})})})]})]})]})}},46173:function(e,n,t){"use strict";t.d(n,{Hx:function(){return d},RH:function(){return c},S9:function(){return m},SM:function(){return l},xi:function(){return u}});var i=t(1785),r=t.n(i),s=t(19910);function l(e){try{return o(),r().dataLayer({dataLayer:{event:e}}),o(),!0}catch(n){return!1}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{var n={event:null};return Object.keys(e).forEach((function(e){return n[e]=null})),r().dataLayer({dataLayer:n}),!0}catch(t){return!1}}function a(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{o(n);var t={event:e};return Object.keys(n).forEach((function(e){return t[e]=n[e]})),r().dataLayer({dataLayer:t}),o(n),!0}catch(i){return!1}}function c(e){return a(s.Jb5,{method:e})}function d(e){return a(s.bkL,{method:e})}function u(e){var n=e.itemId,t=void 0===n?null:n,i=e.itemName,r=void 0===i?null:i,s=e.itemBrand,l=void 0===s?null:s,o=e.itemCategory,a=void 0===o?null:o,c=e.itemCategory2,d=void 0===c?null:c,u=e.price,m=void 0===u?null:u,h=e.quantity;return{item_id:t,item_name:r,item_brand:l,item_category:a,item_category2:d,price:m,quantity:void 0===h?null:h}}function m(e){var n=e.currency,t=void 0===n?null:n,i=e.transactionId,r=void 0===i?null:i,l=e.affiliation,o=void 0===l?null:l,c=e.value,d=void 0===c?null:c,u=e.items,m=void 0===u?[]:u;return a(s.s3$,{ecommerce:{transaction_id:r,affiliation:o,value:d,currency:t,items:m}})}},36433:function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var i=t(67294),r=t(38521),s=t(9193);function l(e){var n,t,l,o,a={pointsThreshold:null===e||void 0===e||null===(n=e.Attributes)||void 0===n?void 0:n.PointsThreshold,type:null===e||void 0===e||null===(t=e.Attributes)||void 0===t?void 0:t.Body,canUpgrade:null===e||void 0===e?void 0:e.CanUpgrade,pointsMultiplier:null===e||void 0===e||null===(l=e.Attributes)||void 0===l?void 0:l.PointsMultiplier,energyDiscount:null===e||void 0===e||null===(o=e.Attributes)||void 0===o?void 0:o.EnergyDiscount},c=a.type,d=a.pointsThreshold,u=a.canUpgrade,m=a.pointsMultiplier,h=a.energyDiscount,f=(0,i.useCallback)((function(e){return c===s.XdL?"".concat(e," writing blogs"):c===s.JYH?"".concat(e," reading blogs"):c===s.zyX?"".concat(e," commenting on blogs"):c===s.dnW?"".concat(e," wow reacting blogs"):c===s.XsY?"".concat(e," meh reacting blogs"):c===s.xDV?"".concat(e," referring your friends to BULB. This can be used in the Refer page"):c===s.AWC?"".concat(e," reporting blogs and comments and moderating reported content"):void 0}),[]),v=(0,i.useMemo)((function(){return f("Use this BULBmoji by")}),[c]);return{bulbmojiUpgradeTooltip:(0,i.useMemo)((function(){return u?"Upgrade your BULBmoji to increase its points multiplier and energy discount.":"Your BULBmoji needs to reach ".concat((0,r.Ly)(d,0,!1,!0)," points to upgrade.")}),[]),usageDescription:v,upgradeDescription:(0,i.useMemo)((function(){return"Use this BULBmoji and earn at least ".concat((0,r.Ly)(d,0,!1,!0)," points to upgrade to the next level")}),[d]),pointsMultiplierDescription:(0,i.useMemo)((function(){var e="Earn ".concat(m,"x more points when using this BULBmoji");return"".concat(e)}),[m]),energyDiscountDescription:(0,i.useMemo)((function(){var e="Save ".concat((0,r.Ly)(100*h,2,!0),"% energy when using this BULBmoji");return"".concat(e)}),[h])}}},90026:function(e,n,t){"use strict";var i=t(67294);n.Z=function(){var e=(0,i.useState)({width:void 0,height:void 0}),n=e[0],t=e[1];return(0,i.useEffect)((function(){var e=function(){t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),n}},6333:function(e){e.exports={NftCollectionCard:"styles_NftCollectionCard__VMFA5"}}},function(e){e.O(0,[5785,4316,8286,5675,5220,7016,8490,8485,2013,9774,2888,179],(function(){return n=31709,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.