1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8225],{3791:(e,a,s)=>{"use strict";s.d(a,{Q:()=>p});var t=s(37876),i=s(49995),r=s(54587),n=s.n(r),o=s(66221),l=s(95195),c=s(51270),d=s.n(c);let p=e=>{let{className:a,date:s,description:r,image:c,link:p,source:m,title:_,variant:h="home"}=e,{formatAppointmentDate:g}=(0,o.N)();return(0,t.jsx)(l.V,{href:p,children:(0,t.jsxs)("div",{className:(0,i.A)(d().root,{[d().rootDapp]:"dapp"===h},a),children:[!!c&&(0,t.jsx)(n(),{alt:null!=_?_:"News image",className:d().image,height:108,src:c,width:286}),(0,t.jsx)("h4",{className:d().title,children:_}),(0,t.jsx)("p",{className:d().description,children:r}),(0,t.jsxs)("p",{className:d().footer,children:[g(s),(0,t.jsx)("span",{className:d().marker,children:"â¢"}),(0,t.jsx)("span",{className:d().indicator,children:m})]})]})})}},8409:(e,a,s)=>{"use strict";s.d(a,{M:()=>r});var t=s(10768);let i=e=>(e||[]).map(e=>({comments:0,date:String(e.published_at||e.updated_at||e.created_at),description:String(e.excerpt),image:String(e.feature_image),likes:0,link:String(e.url),title:String(e.title),source:"DYOR Blog"})),r=e=>{let a=(0,t.I)({filter:e&&["tag:hash-".concat(e.toLowerCase()),"tag:".concat(e.toLowerCase())]},{enabled:!!e});return{...a,data:i(a.data)}}},9184:e=>{e.exports={root:"DappsNewsCarousel_root__MZFtm",wrapper:"DappsNewsCarousel_wrapper__n7oRx",heading:"DappsNewsCarousel_heading__uxhtB",emblaViewport:"DappsNewsCarousel_emblaViewport__O2m3u",emblaContainer:"DappsNewsCarousel_emblaContainer__IUeQa",emblaItem:"DappsNewsCarousel_emblaItem__N_hrn",smoke:"DappsNewsCarousel_smoke__sdSGo"}},17738:e=>{e.exports={root:"DappsHomeContent_root__IYSJI",heading:"DappsHomeContent_heading__Fincw",headingContent:"DappsHomeContent_headingContent__zMyIm",title:"DappsHomeContent_title__xztBu",description:"DappsHomeContent_description__1frj9",itemsContainer:"DappsHomeContent_itemsContainer___Dk30"}},35750:e=>{e.exports={root:"DappsNewsCardLoading_root__rLwsK",rootDapp:"DappsNewsCardLoading_rootDapp__MVWN9",image:"DappsNewsCardLoading_image__YlYSz",title:"DappsNewsCardLoading_title__l4Mjs",description:"DappsNewsCardLoading_description__e_ZJX",footer:"DappsNewsCardLoading_footer__gxEdb",marker:"DappsNewsCardLoading_marker__Z_1KO",indicator:"DappsNewsCardLoading_indicator__WhyXB"}},38030:(e,a,s)=>{"use strict";s.d(a,{H:()=>i});var t=s(14232);let i=e=>{let[a,s]=(0,t.useState)(!0),[i,r]=(0,t.useState)(!0),n=(0,t.useCallback)(()=>{e&&e.scrollPrev()},[e]),o=(0,t.useCallback)(()=>{e&&e.scrollNext()},[e]),l=(0,t.useCallback)(e=>{s(!e.canScrollPrev()),r(!e.canScrollNext())},[]);return(0,t.useEffect)(()=>{e&&(l(e),e.on("reInit",l).on("select",l))},[e,l]),{prevBtnDisabled:a,nextBtnDisabled:i,onPrevButtonClick:n,onNextButtonClick:o}}},51153:(e,a,s)=>{"use strict";s.d(a,{h:()=>n});var t,i=s(14232);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[t]=s[t])}return e}).apply(this,arguments)}let n=e=>i.createElement("svg",r({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=i.createElement("path",{d:"M9.16699 9.1665V4.1665H10.8337V9.1665H15.8337V10.8332H10.8337V15.8332H9.16699V10.8332H4.16699V9.1665H9.16699Z",fill:"currentColor"})))},51270:e=>{e.exports={root:"DappsNewsCard_root__VPXAe",rootDapp:"DappsNewsCard_rootDapp__Ukr2a",image:"DappsNewsCard_image__HhG0v",title:"DappsNewsCard_title___5Im9",description:"DappsNewsCard_description__AA52W",footer:"DappsNewsCard_footer__nxOUS",marker:"DappsNewsCard_marker__UdToV",indicator:"DappsNewsCard_indicator__6_Zzq"}},74857:(e,a,s)=>{"use strict";s.d(a,{NI:()=>F,JT:()=>z});var t=s(37876),i=s(49995),r=s(14232),n=s(11690),o=s(95195),l=s(33816),c=s(56217),d=s(29108),p=s(34820),m=s(89099),_=s(5399),h=s(95711),g=s(38030),u=s(3791),N=s(15753),C=s(35750),w=s.n(C);let x=e=>{let{className:a,variant:s="home"}=e;return(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:(0,i.A)(w().root,{[w().rootDapp]:"dapp"===s},a),children:[(0,t.jsx)(N.E,{className:w().image,height:108,width:286}),(0,t.jsx)(N.E,{className:w().title,height:16,width:"95%"}),(0,t.jsx)(N.E,{className:w().description,height:37.94,width:"85%"}),(0,t.jsxs)("div",{className:w().footer,children:[(0,t.jsx)(N.E,{height:13,width:80}),(0,t.jsx)("span",{className:w().marker,children:"â¢"}),(0,t.jsx)(N.E,{className:w().indicator,height:13,width:67})]})]})})};var v=s(9184),j=s.n(v);let D=e=>{let{className:a,isLoading:s,news:r}=e,l=(0,n.c)("Dapps.DappsNewsCarousel"),{locale:c}=(0,m.useRouter)(),[d,N]=(0,p.A)({loop:!1,align:"start"}),{nextBtnDisabled:C,onNextButtonClick:w,onPrevButtonClick:v,prevBtnDisabled:D}=(0,g.H)(N);return r&&0!==r.length||s?(0,t.jsxs)("section",{className:(0,i.A)(j().root,a),children:[(0,t.jsx)(o.V,{href:(0,_.cF)(c,"tag/dapp"),target:"_blank",children:(0,t.jsx)("h2",{className:j().heading,children:l("title")})}),(0,t.jsxs)("div",{className:j().wrapper,children:[(0,t.jsx)(h.i,{className:j().smoke,hasLargeButton:!0,isHidden:D,isReduced:!0,onClick:v,variant:"background"}),(0,t.jsx)("div",{className:j().emblaViewport,ref:d,children:(0,t.jsx)("div",{className:j().emblaContainer,children:s?Array(9).fill(null).map((e,a)=>(0,t.jsx)(x,{className:j().emblaItem},a)):null==r?void 0:r.map((e,a)=>(0,t.jsx)(u.Q,{className:j().emblaItem,...e},a))})}),(0,t.jsx)(h.i,{className:j().smoke,direction:"rtl",hasLargeButton:!0,isHidden:C,isReduced:!0,onClick:w,variant:"background"})]})]}):null};var f=s(8409),k=s(67326),y=s(51602),b=s(38246),H=s(78129);let V=e=>{let{limit:a,offset:s}=e;return(0,H.dt)(["fckApi.v4.dappsBlocks",a,s])},I=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,y.I)({queryKey:V(e),queryFn:a=>b.p.v4.dappsBlocks(e,a.signal),...a})};var L=s(11050),E=s(33258),O=s(83608),S=s(82853),A=s(95103),R=s(9594),B=s(93891),Q=s.n(B);let T=e=>{var a;let{category:s,className:l,count:c,isAdVisible:p,isLoading:m,isShowMore:_=!0,isShowPosition:h=!0,items:g,itemsContainerClassName:u}=e,N=(0,n.c)("Dapps.DappsHomeContent"),C=(0,r.useMemo)(()=>p&&(null==s?void 0:s.slug)===L.WQ.TRENDING&&(null==g?void 0:g.reduce((e,a)=>e+ +(a.slug===z.whale||a.slug===z.wheelOfWhalesBot),0))||0,[s,p,g]);return(0,t.jsxs)("section",{className:(0,i.A)(Q().root,l),children:[(0,t.jsxs)("div",{className:Q().top,children:[(null==s?void 0:s.slug)===L.WQ.EDITOR_CHOICE?(0,t.jsxs)(o.V,{className:Q().nominationHeading,href:(0,d.Qe)(null==s?void 0:s.slug),children:[(0,t.jsx)(A.h,{className:Q().wreath}),(0,t.jsx)("h2",{className:Q().heading,children:N("categories.editors-choice.title")}),(0,t.jsx)(R.h,{className:Q().wreath})]}):(0,t.jsx)(o.V,{className:Q().link,href:(0,d.Qe)(null==s?void 0:s.slug),children:(0,t.jsx)("h2",{className:Q().heading,children:c?(0,t.jsxs)(r.Fragment,{children:[N("categories.".concat(null==s?void 0:s.slug,".title"))," ",(0,t.jsx)("span",{className:Q().count,children:c})]}):N("categories.".concat(null==s?void 0:s.slug,".title"))})}),g&&(null==g?void 0:g.length)>=9&&_&&(0,t.jsxs)(o.V,{className:Q().categoryLink,href:(0,d.Qe)(null==s?void 0:s.slug),children:[(0,t.jsx)("span",{className:Q().categoryLinkText,children:N("seeAll")}),(0,t.jsx)(E.h,{className:Q().arrowRightIcon})]})]}),(0,t.jsx)("p",{className:Q().description,children:N("categories.".concat(null==s?void 0:s.slug,".description"))}),(0,t.jsx)("div",{className:(0,i.A)(Q().itemsContainer,u),children:m?Array(9).fill(null).map((e,a)=>(0,t.jsx)(O.V,{},a)):null==g||null==(a=g.slice(0,9))?void 0:a.map((e,a)=>(0,t.jsx)(S.A,{index:p&&(null==s?void 0:s.slug)===L.WQ.TRENDING?[z.whale,z.wheelOfWhalesBot].includes(e.slug)&&"Ad"||a-C:a,isShowPosition:h,...e},a))})]})};var W=s(17738),M=s.n(W);let z={whale:"whale",wheelOfWhalesBot:"wheelofwhalesbot"},F=e=>{let{className:a}=e,s=(0,n.c)("Dapps.DappsHomeContent"),{ads:p}=(0,c.r)(),{data:m}=(0,k.z)(z.whale),{data:_,isLoading:h}=I({limit:12,offset:0}),{data:g,isLoading:u}=(0,f.M)("tma"),N=(0,r.useMemo)(()=>{var e,a,s,t;if(h)return[...L.pG].reduce((e,a)=>[...e||[],{category:a.name,count:0,items:[]}],[]);if(!p.isVisible)return null==_?void 0:_.blocks;let i=[...(null==(e=(null==_||null==(a=_.blocks)?void 0:a.find(e=>e.category===L.WQ.TRENDING))||{})?void 0:e.items)||[]].filter(e=>![z.whale].includes(e.slug));return i.splice(0,0,...m?[{...m,descriptionShort:null==(s=m.descriptions)?void 0:s.find(e=>e.type===L.yy.SHORT),domain:m.domain,logoUrl:m.logoUrl,moderationReason:m.moderationReason,name:m.name,slug:m.slug,verifStatus:m.verifStatus}]:[]),null==_||null==(t=_.blocks)?void 0:t.map(e=>e.category===L.WQ.TRENDING?{...e,items:i}:e)},[p.isVisible,null==_?void 0:_.blocks,h,m]);return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("div",{className:M().heading,children:(0,t.jsxs)("div",{className:M().headingContent,children:[(0,t.jsx)("h1",{className:M().title,children:s("title")}),(0,t.jsx)("p",{className:M().description,children:s("description")}),(0,t.jsx)(o.V,{href:(0,d.df)("create"),children:(0,t.jsx)(l.$,{variant:"primary",children:s("submit")})})]})}),(0,t.jsx)("div",{className:(0,i.A)(M().root,a),children:null==N?void 0:N.map((e,a)=>(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)(T,{category:{slug:e.category},count:e.count,isAdVisible:p.isVisible,isLoading:h,items:e.items,itemsContainerClassName:M().itemsContainer}),!a&&(0,t.jsx)(D,{isLoading:u,news:g})]},a))})]})}},75929:(e,a,s)=>{"use strict";s.d(a,{h:()=>n});var t,i=s(14232);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[t]=s[t])}return e}).apply(this,arguments)}let n=e=>i.createElement("svg",r({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t||(t=i.createElement("path",{d:"M4.16699 9.1665H15.8337V10.8332H4.16699V9.1665Z",fill:"currentColor"})))},93891:e=>{e.exports={root:"DappsHomeCategoryContainer_root__rOn45",top:"DappsHomeCategoryContainer_top__n96z_",nominationHeading:"DappsHomeCategoryContainer_nominationHeading__Y_onz",link:"DappsHomeCategoryContainer_link__x8mvE",count:"DappsHomeCategoryContainer_
1count__k0_dn",heading:"DappsHomeCategoryContainer_heading___w4p8",description:"DappsHomeCategoryContainer_description__Hk1X7",wreath:"DappsHomeCategoryContainer_wreath__vgXyE",categoryLink:"DappsHomeCategoryContainer_categoryLink__bVNkc",categoryLinkText:"DappsHomeCategoryContainer_categoryLinkText__13BSf",arrowRightIcon:"DappsHomeCategoryContainer_arrowRightIcon__eXxle",itemsContainer:"DappsHomeCategoryContainer_itemsContainer__ajVt3"}}}]);
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.