PageSourceSearch

https://static.bnbchain.org/home-ui/static/_next/static/chunks/pag…/bnb-smart-chain-4742377cf7f31686.js

js bnbchain.org collected 2026-09-24 08:37:12 UTC 43,269 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[194,8583],{21835:(e,s,i)=>{"use strict";i.d(s,{K:()=>p});var t=i(8194),r=i(74757),o=i(89569),a=i(84474),n=i(46618),c=i(5044);let l={[c.m.BUTTON__ICON]:{"2xl":{mr:n.w.sizes["3"]},xl:{mr:n.w.sizes["2"]},lg:{mr:n.w.sizes["2"]},md:{mr:n.w.sizes["2"]},sm:{mr:n.w.sizes["2"]},xs:{mr:n.w.sizes["1"]}},[c.m.ICON]:{"2xl":{fontSize:n.w.fontSizes["6"]},xl:{fontSize:n.w.fontSizes["6"]},lg:{fontSize:n.w.fontSizes["6"]},md:{fontSize:n.w.fontSizes["4"]},sm:{fontSize:n.w.fontSizes["4"]},xs:{fontSize:n.w.fontSizes["3"]}}},d=n.w.components.Button,b=d.defaultProps,w=d.sizes,h=l[c.m.ICON],p=(0,r.R)((e,s)=>{var i;let{size:r=b.size,...n}=e,l=null!=(i=(0,o.A)(r))?i:r,d=w[l];return(0,t.jsx)(a.K,{ref:s,w:d.h,h:d.h,minW:d.h,borderRadius:d.borderRadius,...n,sx:{[".".concat(c.m.ICON)]:{...h[l]},...n.sx}})})},35178:(e,s,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/bnb-smart-chain",function(){return i(74952)}])},42932:(e,s,i)=>{"use strict";i.d(s,{$:()=>o});var t=i(8194),r=i(55646);let o=e=>{let{size:s}=e;return(0,t.jsx)(r.s,{..."fill"===s?{flex:"1"}:{flexBasis:s,flexShrink:0}})}},50429:(e,s,i)=>{"use strict";i.d(s,{Wf:()=>a,ej:()=>r,sz:()=>n,zM:()=>o});var t=i(75358);let r=function(e){let s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,r=Math.abs(e),o=e<0;return r<1e3?s?(o?"-":"")+new t.A(r).round(i,1).toFixed(i):(o?"-":"")+new t.A(r).round(2,1).toFixed(0):r>=1e3&&r<1e6?(o?"-":"")+new t.A(r).div(1e3).round(i,1).toFixed(i)+"K":r>=1e6&&r<1e9?(o?"-":"")+new t.A(r).div(1e6).round(i,1).toFixed(i)+"M":(o?"-":"")+new t.A(r).div(1e9).round(i,1).toFixed(i)+"B"},o=e=>{let s=Number(e);if(1>Math.abs(s)){let e=parseInt(s.toString().split("e-")[1]);e&&(s*=Math.pow(10,e-1),s="0."+Array(e).join("0")+s.toString().substring(2))}else{let e=parseInt(s.toString().split("+")[1]);e>20&&(e-=20,s/=Math.pow(10,e),s+=Array(e+1).join("0"))}return s},a=function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,i=Math.pow(10,s);return Math.round(e*i)/i},n=e=>{if(e)if(e>=1e9)return(e/1e9).toFixed(2)+"B";else if(e>=1e6)return(e/1e6).toFixed(2)+"M";else if(e>=1e3)return(e/1e3).toFixed(2)+"K";else return e.toString()}},60194:(e,s,i)=>{"use strict";i.r(s),i.d(s,{en:()=>t});let t=JSON.parse('{"bsc.hero.label-mainnet":"Mainnet <span>is live</span>","bsc.seo.title":"BNB Smart Chain (BSC): Bring Smart Contracts to BNB Chain","bsc.seo.description":"BNB Smart Chain (BSC) is an EVM-compatible and smart contract supporting blockchain for DeFi, NFT, GameFi, Metaverse, and other Web3 projects.","bsc.hero.title":"BNB Smart Chain","bsc.hero.time":"Nov 2023 - Mar 2024","bsc.hero.description":"Harnessing Decentralization to Make the Impossible Possible","bsc.hero.cta.start":"Start Building","bsc.hero.cta.contact":"Contact Us","bsc.what.title":"The <span>Largest</span> Blockchain by Daily Active Users","bsc.what.description":"An EVM-compatible blockchain powering DeFi, NFTs, GameFi, Metaverse, and more Web3 projects since 2020.","bsc.what.key.1.tile":"Daily Active Users","bsc.what.key.1.content":"1M","bsc.what.key.2.tile":"Active dApps","bsc.what.key.2.content":"2000","bsc.what.key.3.tile":"Weekly Active Gamers","bsc.what.key.3.content":"287K","bsc.join.title":"<span>Join</span> BNB Smart Chain Today!","bsc.join.description":"Join BNB Smart Chain as a Validator or Partner. Or build your own dApp!","bsc.join.cta.contact":"Contact Us","bsc.feature.title":"What Makes BNB Smart Chain so <span>Powerful</span>?","bsc.feature.1.title":"Developer Friendly","bsc.feature.1.description":"EVM-compatible Layer 1 with compatible tooling for up to 35x capacity.","bsc.feature.2.title":"High Performance","bsc.feature.2.description":"Supports popular programming languages: Solidity, GO, Java, Swift; with a short block time and high block gas limit.","bsc.feature.3.title":"Community-led","bsc.feature.3.description":"More validator sets with BEP-13, enabling a more stable and decentralized validator network.","bsc.feature.4.title":"Reliable","bsc.feature.4.description":"Temporary validators with BEP-127, allowing high capacity and less congestion.","bsc.developer.title":"Developer Programs","bsc.developer.description":"Developer Programs offer you the support and resources needed to take your project to the next level. Our programs include grants, incentives, non-financial support, and more.","bsc.developer.cta":"Accelerate My dApps","bsc.dapp.title":"Thousands of dApps Already Deployed on BNB Chain","bsc.dapp.description":"The BNB Chain ecosystem is growing, with millions of daily active users","bsc.dapp.cta":"Explore dApps","bsc.dapp.table.cta":"dApp link","bsc.dapp.7d.tooltip":"7-day users","bsc.migrate.title":"Migrate to BNB Smart Chain","bsc.migrate.description":"BNB Smart Chain aims to provide help and support to projects looking to expand beyond their existing blockchain and build on BNB Smart Chain.","bsc.migrate.cta":"See Instructions","bsc.developer-resource.title":"Developer <span>Resources</span>","bsc.developer-resource.description":"Start building on BNB Smart Chain today.","bsc.developer-resource.card.1.title":"Documentation","bsc.developer-resource.card.1.description":"Your guide to BNB Smart Chain","bsc.developer-resource.card.2.title":"GitHub","bsc.developer-resource.card.2.description":"Explore the BSC tech repository","bsc.developer-resource.card.3.title":"Dev Tools","bsc.developer-resource.card.3.description":"Find the right developer tools for you project","bsc.developer-resource.card.4.title":"Faucet","bsc.developer-resource.card.4.description":"Pilot tokens on BNB Smart Chain","bsc.developer-resource.card.5.title":"BscScan","bsc.developer-resource.card.5.description":"A block explorer and analytics platform","bsc.developer-resource.card.6.title":"BSCTrace","bsc.developer-resource.card.6.description":"A mobile-friendly BSC explorer","bsc.faq.title":"FAQ","bsc.faq.1.q":"What are the main features of BSC?","bsc.faq.1.list.1":"A self
1-sovereign blockchain: Provides security and safety with elected <a>validators</a>.","bsc.faq.1.list.2":"EVM-compatible: Supports all the existing Ethereum tooling along with faster finality and cheaper transaction fees.","bsc.faq.1.list.3":"Fast Finality: Finalizes the chain within two blocks in most cases.","bsc.faq.1.list.4":"Interoperable: Comes with efficient native dual chain communication; Optimized for scaling high-performance dApps that require a fast and smooth user experience.","bsc.faq.1.list.5":"Distributed with on-chain governance: Proof of Staked Authority (PoSA) brings in decentralization and community participants. As the native token, BNB will serve as both the gas of smart contract execution and tokens for staking.","bsc.faq.2.q":"How many validators does BSC have?","bsc.faq.2.a":"BNB Smart Chain relies on a system of 55 validators with Proof of Staked Authority (PoSA) consensus that can support short block time and lower fees. The most bonded validator candidates of staking will become validators and produce blocks. The double-sign detection, malicious vote detection and other slashing logic guarantee security, stability, and chain finality. Other than the 32 active validators, BSC will introduce more validators, e.g. another 23 inactive validators, into the validator set as backups, which will be called \\"Candidates\\".","bsc.faq.3.q":"What is the consensus mechanism for BSC?","bsc.faq.3.a.1":"BSC combines DPoS (Delegated Proof of Stake) and PoA  (Proof-of-Authority) for consensus, so that:","bsc.faq.3.list.1":"Blocks are produced by a limited set of validators","bsc.faq.3.list.2":"Validators take turns to produce blocks in a PoA manner, similar to <a>Ethereum\'s Clique</a> consensus design","bsc.faq.3.list.3":"Validator set are elected in and out based on a staking based governance","bsc.faq.3.a.2":"The consensus protocol of BSC fulfills the following goals:","bsc.faq.3.list.4":"Short Blocking time, 3 seconds on mainnet.","bsc.faq.3.list.5":"It requires quite short time to confirm the finality of transactions, around 6s for mainnet after the coming Plato upgrade.","bsc.faq.3.list.6":"There is no inflation of native token: BNB, the block reward is collected from transaction fees, and it will be paid in BNB.","bsc.faq.3.list.7":"It is 100% compatible with Ethereum system.","bsc.faq.3.list.8":"It allows modern proof-of-stake blockchain network governance.","bsc.faq.4.q":"How does governance work on BSC?","bsc.faq.4.a":"Proof of Staked Authority brings in decentralization and community involvement. Its core logic can be summarized as the below. You may see similar ideas from other networks, especially Cosmos and EOS.","bsc.faq.4.list.1":"Token holders, including the validators, can put their tokens \\"bonded\\" into the stake. Token holders can delegate their tokens onto any validator or validator candidate, to expect it can become an actual validator, and later they can choose a different validator or candidate to re-delegate their tokens.","bsc.faq.4.list.2":"All validator candidates will be ranked by the number of bonded tokens on them, and the top ones will become the real validators.","bsc.faq.4.list.3":"Validators can share (part of) their blocking reward with their delegators.","bsc.faq.4.list.4":"Validators can suffer from \\"Slashing\\", a punishment for their bad behaviors, such as double sign and/or instability.","bsc.faq.4.list.5":"There is an \\"unbonding period\\" for validators and delegators so that the system makes sure the tokens remain bonded when bad behaviors are caught, the responsible will get slashed during this period.","bsc.join-eco.title":"Build on BNB Smart Chain","bsc.join-eco.description":"Looking for grants, partnership, or technical support? Don’t hesitate to contact us!","bsc.join-eco.cta.contact":"Contact Us","bsc.join-eco.cta.explore":"Explore All Chains"}')},61538:(e,s,i)=>{"use strict";i.d(s,{Q:()=>r});var t=i(89569);let r=()=>{let e=((0,t.A)({base:"MOBILE",md:"TABLET",lg:"PC"})||"PC").toLowerCase();return{isPC:"pc"===e,isTablet:"tablet"===e,isMobile:"mobile"===e}}},74952:(e,s,i)=>{"use strict";i.r(s),i.d(s,{default:()=>el});var t=i(8194),r=i(95562),o=i(93722),a=i(11963),n=i(92883),c=i(77879),l=i(69019),d=i(93283),b=i(89569),w=i(46618),h=i(55646),p=i(66264),m=i(3577),g=i(42932),x=i(26601),z=i(95367),u=i(17928),f=i(99535);let j={CTA_BUILD:"https://docs.bnbchain.org/",CTA_DAPP:"https://dappbay.bnbchain.org?utm_source=Org&utm_medium=Channel&utm_campaign=homepage_240124&utm_content=homepage",DAPP_DETAIL:"https://dappbay.bnbchain.org/detail",CTA_CONTACT:"https://forms.monday.com/forms/588722c74513494a35c850024a5e45c1?r=euc1"},y=()=>{var e;let{colorMode:s}=(0,l.G6)(),{formatMessage:i}=(0,d.oo)(),r=null!=(e=(0,b.A)({base:"sm",md:"md",lg:"lg"}))?e:"sm";return(0,t.jsx)(c.wn,{bg:{base:"bottom right / 100% auto  no-repeat url(".concat(f.Iz,"/images/bnb-smart-chain/hero-bg-").concat(r,".webp),").concat(w.w.c
1olors[s].background[3]),md:"bottom right / auto 60%  no-repeat url(".concat(f.Iz,"/images/bnb-smart-chain/hero-bg-").concat(r,".webp),").concat(w.w.colors[s].background[3]),lg:"bottom right / contain  no-repeat url(".concat(f.Iz,"/images/bnb-smart-chain/hero-bg-").concat(r,".webp),").concat(w.w.colors[s].background[3])},children:(0,t.jsx)(c.UC,{flexDirection:{base:"column",lg:"row"},alignItems:{base:"start",lg:"center"},justifyContent:{base:"center",lg:"space-between"},pt:{base:w.w.sizes["12"],md:w.w.sizes["16"],lg:"180px"},pb:{base:w.w.sizes["50"],md:"280px",lg:"180px"},sx:{span:{color:w.w.colors[s].text.brand}},children:(0,t.jsxs)(h.s,{flexDirection:"column",alignItems:{base:"start"},width:"100%",px:{base:w.w.sizes["5"],md:w.w.sizes["10"],lg:0},children:[(0,t.jsxs)(p.o,{fontSize:{base:w.w.sizes["3.5"],md:w.w.sizes["3.5"]},fontWeight:"700",lineHeight:{base:w.w.sizes["6"],md:w.w.sizes["6"]},bgColor:w.w.colors[s].layer[4].default,textTransform:"uppercase",borderRadius:w.w.sizes["10"],px:w.w.sizes["3"],py:w.w.sizes["2"],color:w.w.colors[s].text.primary,sx:{span:{color:w.w.colors[s].text.secondary}},children:[(0,t.jsx)(m.az,{w:w.w.sizes["2"],h:w.w.sizes["2"],mr:w.w.sizes["2"],bg:w.w.colors[s].support.success[2],borderRadius:"50%"}),(0,t.jsx)(m.az,{children:i({id:"bsc.hero.label-mainnet"})})]}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["6"],md:w.w.sizes["8"]}}),(0,t.jsx)(x.o,{as:"h1",variant:"display",size:{base:"2xs",md:"xs"},color:w.w.colors[s].text.brand,textTransform:"uppercase",lineHeight:1,children:i({id:"bsc.hero.title"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["4"],md:w.w.sizes["6"]}}),(0,t.jsx)(x.o,{variant:"heading",size:{base:"sm",md:"lg"},color:w.w.colors[s].text.primary,fontWeight:"500",maxW:750,children:i({id:"bsc.hero.description"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["6"],md:w.w.sizes["10"]}}),(0,t.jsxs)(h.s,{direction:{base:"column",md:"row"},w:"100%",children:[(0,t.jsx)(z.$n,{as:"a",size:"xl",href:j.CTA_BUILD,target:"_blank","data-analytics-id":u.I.bsc.click_bsc_hero_doc,w:{base:"100%",md:"fit-content"},children:i({id:"bsc.hero.cta.start"})}),(0,t.jsx)(g.$,{size:w.w.sizes["6"]}),(0,t.jsx)(z.$n,{as:"a",variant:"outline",size:"xl",href:j.CTA_CONTACT,target:"_blank","data-analytics-id":u.I.bsc.click_bsc_hero_form,w:{base:"100%",md:"fit-content"},children:i({id:"bsc.hero.cta.contact"})})]})]})})})};var v=i(21993),k=i(38688);let C=()=>{let{colorMode:e}=(0,l.G6)(),{formatMessage:s}=(0,d.oo)(),i=[{icon:k.zmw,link:"https://bscscan.com/chart/address"},{icon:k.$2O,link:"https://dappbay.bnbchain.org/ranking"},{icon:k._xR,link:"https://dappbay.bnbchain.org/ranking"}];return(0,t.jsx)(c.wn,{bg:w.w.colors[e].background[3],pt:{base:w.w.sizes["20"],md:w.w.sizes["30"],lg:w.w.sizes["40"]},px:{base:w.w.sizes["5"],md:w.w.sizes["10"],lg:0},children:(0,t.jsxs)(c.UC,{sx:{span:{color:w.w.colors[e].text.brand}},children:[(0,t.jsxs)(h.s,{direction:{base:"column",lg:"row"},justifyContent:{base:"flex-start",lg:"space-between"},w:"100%",children:[(0,t.jsx)(x.o,{variant:"heading",as:"h2",size:{base:"md",md:"lg"},color:w.w.colors[e].text.primary,fontWeight:"500",maxW:{base:"100%",lg:590},children:s({id:"bsc.what.title"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["4"],lg:0}}),(0,t.jsx)(x.o,{variant:"heading",size:"xs",color:w.w.colors[e].text.secondary,maxW:{base:"100%",lg:380},children:s({id:"bsc.what.description"})})]}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["10"],md:w.w.sizes["16"],lg:w.w.sizes["20"]}}),(0,t.jsx)(v.c,{borderColor:w.w.colors[e].border[3]}),(0,t.jsx)(h.s,{direction:{base:"column",lg:"row"},w:"100%",py:{lg:w.w.sizes["12"]},children:i.map((i,r)=>(0,t.jsxs)(h.s,{direction:{base:"row-reverse",lg:"column"},justifyContent:{base:"flex-end",lg:"flex-start"},alignItems:{base:"center",lg:"flex-start"}
1,flex:1,borderLeft:{lg:0===r?"none":"1px solid ".concat(w.w.colors[e].border[3])},borderTop:{base:0===r?"none":"1px solid ".concat(w.w.colors[e].border[3]),lg:"none"},px:{lg:"36px"},py:{base:w.w.sizes["8"],md:w.w.sizes["12"],lg:0},children:[(0,t.jsxs)(m.az,{color:w.w.colors[e].text.primary,mb:{lg:w.w.sizes["14"]},children:[(0,t.jsxs)(x.o,{variant:"display",size:{base:"xs",md:"md"},mb:w.w.sizes["2"],children:[s({id:"bsc.what.key.".concat(r+1,".content")}),(0,t.jsx)("span",{children:"+"})]}),(0,t.jsx)(x.o,{variant:"heading",size:"xs",color:w.w.colors[e].text.secondary,children:s({id:"bsc.what.key.".concat(r+1,".tile")})})]}),(0,t.jsx)(p.o,{bg:w.w.colors[e].layer[3].default,as:"a",href:i.link,target:"_blank",rel:"noreferrer noopener",display:"flex",alignItems:"center",justifyContent:"center",color:w.w.colors[e].text.tertiary,p:w.w.sizes["4"],borderRadius:w.w.sizes["20"],w:w.w.sizes["16"],h:w.w.sizes["16"],mr:{base:w.w.sizes["8"],md:w.w.sizes["8"],lg:0},sx:{svg:{width:w.w.sizes["8"],height:w.w.sizes["8"]}},children:(0,t.jsx)(i.icon,{})})]},r))}),(0,t.jsx)(v.c,{borderColor:w.w.colors[e].border[3]})]})})},_=()=>{let{colorMode:e}=(0,l.G6)(),{formatMessage:s}=(0,d.oo)();return(0,t.jsx)(c.wn,{bg:w.w.colors[e].background[3],pt:{base:w.w.sizes["24"],md:w.w.sizes["30"],lg:w.w.sizes["40"]},px:{base:w.w.sizes["5"],md:w.w.sizes["10"],lg:0},children:(0,t.jsxs)(c.UC,{alignItems:{base:"start",lg:"center"},justifyContent:"center",py:{base:w.w.sizes["8"],md:w.w.sizes["14"]},px:{base:w.w.sizes["6"],md:w.w.sizes["12"]}
1,border:"1px solid ".concat(w.w.colors[e].text.brand),borderRadius:w.w.sizes["8"],sx:{span:{color:w.w.colors[e].text.brand}},children:[(0,t.jsx)(x.o,{as:"h2",variant:"heading",size:{base:"md",md:"lg"},color:w.w.colors[e].text.primary,fontWeight:"500",textTransform:"capitalize",children:s({id:"bsc.join.title"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["4"],md:w.w.sizes["6"]}}),(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},color:w.w.colors[e].text.secondary,children:s({id:"bsc.join.description"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["8"],lg:w.w.sizes["10"]}}),(0,t.jsx)(z.$n,{as:"a",size:"xl",href:j.CTA_CONTACT,target:"_blank","data-analytics-id":u.I.bsc.click_bsc_contactUs_form,w:{base:"100%",md:"fit-content"},children:s({id:"bsc.join.cta.contact"})})]})})};var S=i(90944),B=i(81344),A=i(61538);let I=()=>{let{colorMode:e}=(0,l.G6)(),{formatMessage:s}=(0,d.oo)(),{isPC:i}=(0,A.Q)();return(0,t.jsx)(c.wn,{bg:w.w.colors[e].background[3],pt:{base:w.w.sizes["24"],md:w.w.sizes["30"],lg:w.w.sizes["40"]},px:{base:w.w.sizes["5"],md:w.w.sizes["10"],lg:0},children:(0,t.jsxs)(c.UC,{alignItems:"flex-start",sx:{span:{color:w.w.colors[e].text.brand}},children:[(0,t.jsx)(x.o,{as:"h2",variant:"heading",size:{base:"md",md:"lg"},color:w.w.colors[e].text.primary,fontWeight:"500",textTransform:"capitalize",maxW:{base:"100%",md:600},children:s({id:"bsc.feature.title"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["10"],md:w.w.sizes["16"]}}),(0,t.jsx)(S.r,{columns:{base:1,lg:2},w:"100%",spacing:{lg:w.w.sizes["10"]},children:[(0,t.jsx)(k.YYg,{},"FrameSourceIcon"),(0,t.jsx)(k.lQL,{},"InstantMixIcon"),(0,t.jsx)(k.o2H,{},"GroupAddIcon"),(0,t.jsx)(k.iQ6,{},"FactCheckIcon")].map((r,o)=>(0,t.jsxs)(h.s,{w:"100%",children:[i&&(0,t.jsx)(B._,{alt:"icon-".concat(o),src:"".concat(f.Iz,"/images/bnb-smart-chain/border-left.svg"),width:w.w.sizes["6"]}),(0,t.jsxs)(h.s,{direction:"column",borderTop:{base:"1px solid ".concat(w.w.c
1olors[e].border[3]),lg:"none"},px:{lg:w.w.sizes["6"]},py:{base:w.w.sizes["8"],lg:w.w.sizes["5"]},w:"100%",children:[(0,t.jsx)(p.o,{bg:w.w.colors[e].layer[3].default,color:w.w.colors[e].support.success["3"],p:w.w.sizes["4"],borderRadius:w.w.sizes["20"],w:"fit-content",sx:{svg:{width:w.w.sizes["8"],height:w.w.sizes["8"]}},children:r}),(0,t.jsx)(g.$,{size:w.w.sizes["6"]}),(0,t.jsx)(x.o,{variant:"heading",size:{base:"sm",md:"md"},color:w.w.colors[e].text.primary,fontWeight:"500",children:s({id:"bsc.feature.".concat(o+1,".title")})}),(0,t.jsx)(g.$,{size:w.w.sizes["4"]}),(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},color:w.w.colors[e].text.secondary,children:s({id:"bsc.feature.".concat(o+1,".description")})})]})]},o))}),!i&&(0,t.jsx)(v.c,{borderColor:w.w.colors[e].border[3]})]})})};var T=i(25364);let q=()=>{let{colorMode:e}=(0,l.G6)(),{formatMessage:s}=(0,d.oo)(),{locale:i}=(0,T.A)();return(0,t.jsx)(c.wn,{bg:w.w.colors[e].background[3],pt:{base:w.w.sizes["20"],md:w.w.sizes["30"],lg:w.w.sizes["50"]},px:{base:w.w.sizes["5"],md:w.w.sizes["10"],lg:0},children:(0,t.jsx)(c.UC,{boxShadow:"0px 24px 64px 0px rgba(0, 0, 0, 0.48), 0px 4px 0px 0px #FFE900;",bg:w.w.colors[e].layer[2].default,borderRadius:w.w.sizes["8"],border:"2px solid ".concat(w.w.c
1olors[e].border[3]),children:(0,t.jsxs)(h.s,{direction:{base:"column-reverse",lg:"row"},children:[(0,t.jsxs)(h.s,{direction:"column",px:{base:w.w.sizes["5"],md:w.w.sizes["14"],lg:w.w.sizes["20"]},py:{base:w.w.sizes["8"],md:w.w.sizes["14"],lg:0},h:{base:"auto",lg:"480px"},justifyContent:{base:"start",lg:"center"},flex:"1",children:[(0,t.jsx)(x.o,{as:"h2",variant:"heading",size:{base:"md",md:"lg"},color:w.w.colors[e].text.primary,fontWeight:"500",children:s({id:"bsc.developer.title"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["4"],md:w.w.sizes["6"]}}),(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},color:w.w.colors[e].text.secondary,children:s({id:"bsc.developer.description"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["8"],md:w.w.sizes["10"]}}),(0,t.jsx)(z.$n,{as:"a",size:"xl",href:"https://www.bnbchain.org/".concat(i,"/developers/developer-programs"),"data-analytics-id":u.I.bsc.click_bsc_devProg,w:{base:"100%",md:"fit-content"},children:s({id:"bsc.developer.cta"})})]}),(0,t.jsx)(p.o,{borderRadius:{base:"".concat(w.w.sizes["8"]," ").concat(w.w.sizes["8"]," 0 0"),lg:"0 ".concat(w.w.sizes["8"]," ").concat(w.w.sizes["8"]," 0")},w:{base:"100%",lg:"465px"},px:{base:w.w.sizes["10"],md:w.w.sizes["5"]},bg:"radial-gradient(\n      circle at \n         1px\n         1px,            \n         ".concat(w.w.c
1olors.dark.border[3]," 1px, \n      ").concat(w.w.colors.dark.layer[2].default," 1px\n    ) \n    0 0/ 20px 20px "),children:(0,t.jsx)(B._,{alt:"developer",src:"".concat(f.Iz,"/images/bnb-smart-chain/developer.png"),w:{base:"100%",md:"450px",lg:"100%"}})})]})})})};var N=i(31564),P=i(65754),F=i(62456),$=i(16229),D=i(30106),W=i(21835),E=i(50429),M=i(7876),R=i(59850);let L=async()=>{try{let e=await R.h.get("".concat("https://dapp-server.bnbchain.world/api/v1/ranking","/dapp-list-v2?page=1&pageSize=5&sortRankingKey=users&sortGranularity=weekly&sortType=desc&category=&chainInfoId=0"));if(200===e.status)return e.data.list.reduce((e,s)=>{let{dapp:i,staticInfo:t}=s;try{let s={name:i.name,uniq_name:i.uniq_name,tags:i.tags,logo_url:i.logo_url,rank:i.rank,weekly_new_users:t.weekly.users.value,weekly_growth:t.weekly.users.changePercent};e.push(s)}catch(e){}return e},[])}catch(e){M.A.warn("[dAppBay] Failed to request dAppBay data.",e)}return[]},O=()=>{let{colorMode:e}=(0,l.G6)(),{formatMessage:s}=(0,d.oo)(),[i,o]=(0,r.useState)([]),{isMobile:a,isPC:n}=(0,A.Q)();return(0,r.useEffect)(()=>{(async()=>{o(await L())})()},[]),(0,t.jsx)(c.wn,{bg:w.w.colors[e].background[3],pt:{base:w.w.sizes["20"],md:w.w.sizes["30"],lg:w.w.sizes["50"]},px:{base:w.w.sizes["5"],md:w.w.sizes["10"],lg:0},children:(0,t.jsxs)(c.UC,{children:[(0,t.jsx)(x.o,{as:"h2",variant:"heading",size:{base:"md",md:"lg"},color:w.w.colors[e].text.primary,fontWeight:"500",textAlign:{base:"left",lg:"center"},maxW:{base:"100%",lg:"900"},children:s({id:"bsc.dapp.title"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["4"],md:w.w.sizes["6"]}}),(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},color:w.w.colors[e].text.secondary,textAlign:{base:"left",lg:"center"},w:"100%",children:s({id:"bsc.dapp.description"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["8"],md:w.w.sizes["12"],lg:w.w.sizes["16"]}}),i&&i.length>0&&(0,t.jsx)(N.X,{w:"100%",variant:"unstyled",sx:{borderCollapse:"separate",borderSpacing:0,tr:{boxShadow:w.w.colors[e].shadow[1]}
1,"tr td":{borderTop:"1px solid ".concat(w.w.colors[e].border[2]),borderBottom:"1px solid ".concat(w.w.colors[e].border[2]),py:{base:w.w.sizes["6"],lg:w.w.sizes["8"]}},"tr td:first-child":{borderTopLeftRadius:w.w.sizes["6"],borderBottomLeftRadius:w.w.sizes["6"],borderTopStyle:"solid",border:"1px solid ".concat(w.w.colors[e].border[2]),borderRight:"none",pl:{base:w.w.sizes["4"],md:w.w.sizes["8"]}},"tr td:last-child":{borderTopRightRadius:w.w.sizes["6"],borderBottomRightRadius:w.w.sizes["6"],borderLeftStyle:"solid",border:"1px solid ".concat(w.w.colors[e].border[2]),borderLeft:"none",pr:{base:w.w.sizes["4"],md:w.w.sizes["8"]}}},children:(0,t.jsx)(P.N,{w:"100%",children:i.map((i,r)=>{var o,c;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(F.Tr,{bg:w.w.colors[e].layer[2].default,borderRadius:w.w.sizes["6"],_hover:{cursor:"pointer"},onClick:e=>{"a"!==e.target.tagName.toLowerCase()&&window.open("".concat(j.DAPP_DETAIL,"/").concat(i.uniq_name),"_blank")},children:[!a&&(0,t.jsx)($.Td,{children:(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},color:w.w.colors[e].text.tertiary,children:r+1})}),(0,t.jsx)($.Td,{px:{base:w.w.sizes["3"],md:w.w.sizes["4"]},children:(0,t.jsxs)(h.s,{alignItems:"center",children:[(0,t.jsx)(p.o,{h:{base:w.w.sizes["8"],md:w.w.sizes["12"]},w:{base:w.w.sizes["8"],md:w.w.sizes["12"]},borderRadius:w.w.sizes["12"],bg:"#090909",children:(0,t.jsx)(B._,{alt:i.name,src:i.logo_url,h:{base:w.w.sizes["4"],md:w.w.sizes["6"]},w:{base:w.w.sizes["4"],md:w.w.sizes["6"]}})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["3"],md:w.w.sizes["4"]}}),(0,t.jsxs)(h.s,{direction:"column",children:[(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},color:w.w.colors[e].text.primary,fontWeight:"500",children:i.name}),!n&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.$,{size:{base:w.w.sizes["1"],md:w.w.sizes["2"]}}),(0,t.jsx)(x.o,{variant:"body",size:{base:"sm",md:"md"},color:w.w.colors[e].text.secondary,children:i.tags.join(", ")})]})]})]})}),n&&(0,t.jsx)($.Td,{maxW:"15%",children:(0,t.jsx)(h.s,{flexWrap:"wrap",gap:w.w.sizes["2"],children:i.tags.map((s,i)=>(0,t.jsx)(m.az,{px:w.w.sizes["3"],py:w.w.sizes["2"],bg:w.w.colors[e].support.primary[4],borderRadius:w.w.sizes["10"],color:w.w.colors[e].text.secondary,w:"fit-content",fontWeight:500,children:s},"".concat(s,"_").concat(i)))})}),(0,t.jsx)($.Td,{children:(0,t.jsxs)(h.s,{direction:"column",alignItems:"flex-end",children:[(0,t.jsx)(D.m,{label:s({id:"bsc.dapp.7d.tooltip"}),children:(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},color:w.w.colors[e].text.primary,children:(0,E.ej)(i.weekly_new_users)})}),!n&&(0,t.jsxs)(h.s,{color:i.weekly_growth>0?w.w.colors[e].support.success[3]:w.w.colors[e].support.danger[3],mt:{base:w.w.sizes["2"],md:w.w.sizes["2"]},alignItems:"center",children:[i.weekly_growth&&(0,t.jsx)(k.ZLN,{transform:i.weekly_growth>0?"rotate(180deg)":"",fontSize:{base:w.w.sizes["4"],md:w.w.sizes["6"]}}),(0,t.jsx)(x.o,{variant:"body",size:{base:"sm",md:"md",lg:"lg"},children:i.weekly_growth?"".concat(null==(o=i.weekly_growth)?void 0:o.toFixed(2),"%"):"--"})]})]})}),n&&(0,t.jsx)($.Td,{children:(0,t.jsxs)(h.s,{color:i.weekly_growth>0?w.w.colors[e].support.success[3]:w.w.colors[e].support.danger[3],alignItems:"center",ml:w.w.sizes["10"],children:[i.weekly_growth&&(0,t.jsx)(k.ZLN,{transform:i.weekly_growth>0?"rotate(180deg)":"",fontSize:{base:w.w.sizes["4"],md:w.w.sizes["6"]}}),(0,t.jsx)(x.o,{variant:"body",size:{base:"sm",md:"md",lg:"lg"},children:i.weekly_growth?"".concat(null==(c=i.weekly_growth)?void 0:c.toFixed(2),"%"):"--"})]})}),!a&&(0,t.jsx)($.Td,{children:(0,t.jsx)(h.s,{justify:"flex-end",ml:w.w.sizes["4"],children:n?(0,t.jsx)(z.$n,{variant:"outline",as:"a",target:"_blank",size:"lg",href:"".concat(j.DAPP_DETAIL,"/").concat(i.uniq_name),leftIcon:(0,t.jsx)(k.Ihj,{}),px:w.w.sizes["4"],w:"min-content",children:s({id:"bsc.dapp.table.cta"})}):(0,t.jsx)(W.K,{size:"lg",variant:"text","aria-label":"dappbay",target:"_blank",as:"a",href:"".concat(j.DAPP_DETAIL,"/").concat(i.uniq_name),children:(0,t.jsx)(k.Ihj,{w:w.w.sizes["6"],h:w.w.sizes["6"]})})})})]}),(0,t.jsx)(F.Tr,{h:w.w.sizes["4"]})]})})})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["8"],md:w.w.sizes["12"],lg:w.w.sizes["16"]}}),(0,t.jsx)(z.$n,{as:"a",size:"xl",href:j.CTA_DAPP,"data-analytics-id":u.I.bsc.click_bsc_DappBay,w:{base:"100%",md:"fit-content"},target:"_blank",children:s({id:"bsc.dapp.cta"})})]})})},G=()=>{let{colorMode:e}=(0,l.G6)(),{formatMessage:s}=(0,d.oo)(),{locale:i}=(0,T.A)();
1return(0,t.jsx)(c.wn,{bg:w.w.colors[e].background[3],pt:{base:w.w.sizes["20"],md:w.w.sizes["30"],lg:w.w.sizes["50"]},px:{base:w.w.sizes["5"],md:w.w.sizes["10"],lg:0},children:(0,t.jsx)(c.UC,{boxShadow:"0px 24px 64px 0px rgba(0, 0, 0, 0.48), 0px 4px 0px 0px #FFE900;",bg:w.w.colors[e].layer[2].default,borderRadius:w.w.sizes["8"],border:"2px solid ".concat(w.w.colors[e].border[3]),children:(0,t.jsxs)(h.s,{direction:{base:"column",lg:"row"},children:[(0,t.jsx)(p.o,{borderRadius:{base:"".concat(w.w.sizes["8"],"  ").concat(w.w.sizes["8"]," 0 0"),lg:"".concat(w.w.sizes["8"]," 0  0 ").concat(w.w.sizes["8"]," ")},w:{base:"100%",lg:"480px"},px:{base:w.w.sizes["10"],md:"75px"},py:{base:w.w.sizes["4"],md:w.w.sizes["6"],lg:w.w.sizes["14"]},bg:"radial-gradient(\n      circle at \n         1px\n         1px,            \n         ".concat(w.w.colors.dark.border[3]," 1px, \n      ").concat(w.w.colors.dark.layer[2].default," 1px\n    ) \n    0 0/ 20px 20px "),children:(0,t.jsx)(B._,{alt:"migration",src:"".concat(f.Iz,"/images/bnb-smart-chain/migrate.png"),w:{base:"100%",md:"370px",lg:"330px"}})}),(0,t.jsxs)(h.s,{direction:"column",px:{base:w.w.sizes["5"],md:w.w.sizes["14"],lg:w.w.sizes["20"]},py:{base:w.w.sizes["8"],md:w.w.sizes["14"],lg:0},h:{base:"auto",lg:"480px"},justifyContent:{base:"start",lg:"center"},flex:"1",children:[(0,t.jsx)(x.o,{as:"h2",variant:"heading",size:{base:"md",md:"lg"},color:w.w.colors[e].text.primary,fontWeight:"500",children:s({id:"bsc.migrate.title"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["4"],md:w.w.sizes["6"]}}),(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},color:w.w.colors[e].text.secondary,children:s({id:"bsc.migrate.description"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["8"],md:w.w.sizes["10"]}}),(0,t.jsx)(z.$n,{as:"a",size:"xl",href:"https://www.bnbchain.org/".concat(i,"/migration"),"data-analytics-id":u.I.bsc.click_bsc_migrate,w:{base:"100%",md:"fit-content"},children:s({id:"bsc.migrate.cta"})})]})]})})})},H=e=>{let{data:s}=e,{icon:i,title:r,description:o,href:a,reportId:n,target:c}=s,{formatMessage:b}=(0,d.oo)(),{colorMode:z}=(0,l.G6)();return(0,t.jsx)(m.az,{px:{base:w.w.sizes["4"],md:w.w.sizes["8"],lg:w.w.sizes["8"]},py:{base:w.w.sizes["8"],md:w.w.sizes["8"],lg:w.w.sizes["8"]},borderRadius:w.w.sizes["6"],background:w.w.colors[z].layer["2"].default,as:"a",href:a,target:c,"data-analytics-id":n,border:"1px solid ".concat(w.w.c
1olors[z].border["2"]),boxShadow:w.w.colors[z].shadow["1"],_hover:{background:w.w.colors[z].background["2"]},children:(0,t.jsxs)(h.s,{flexDir:"column",alignItems:{base:"center",md:"flex-start",lg:"flex-start"},textAlign:{base:"center",md:"left",lg:"left"},children:[(0,t.jsx)(p.o,{fontSize:w.w.sizes["8"],color:w.w.colors[z].text.primary,children:i}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["4"],md:w.w.sizes["6"]}}),(0,t.jsx)(x.o,{fontWeight:{base:"500",lg:700},variant:"heading",size:{base:"xs",md:"sm"},fontSize:{base:w.w.sizes["4"],md:w.w.sizes["6"]},lineHeight:{base:w.w.sizes["6"],md:w.w.sizes["8"]},as:"h3",color:w.w.colors[z].text.primary,children:b({id:r})}),(0,t.jsx)(g.$,{size:{base:0,md:w.w.sizes["2"]}}),(0,t.jsx)(x.o,{variant:"body",size:{base:"sm",md:"sm"},color:w.w.colors[z].text.secondary,display:{base:"none",md:"block"},children:b({id:o})})]})})},U=()=>{let{formatMessage:e}=(0,d.oo)(),{locale:s}=(0,T.A)(),{colorMode:i}=(0,l.G6)(),o=(0,r.useMemo)(()=>[{icon:(0,t.jsx)(k.pyG,{}),href:"https://docs.bnbchain.org/",reportId:u.I.bsc.click_bsc_resources_docs,title:"bsc.developer-resource.card.1.title",description:"bsc.developer-resource.card.1.description",target:"_blank"},{icon:(0,t.jsx)(k.Yb3,{}),href:"https://github.com/bnb-chain/bsc",reportId:u.I.bsc.click_bsc_resources_GitHub,title:"bsc.developer-resource.card.2.title",description:"bsc.developer-resource.card.2.description",target:"_blank"},{icon:(0,t.jsx)(k.siV,{}),href:"https://www.bnbchain.org/".concat(s,"/dev-tools"),reportId:u.I.bsc.click_bsc_resources_devTools,title:"bsc.developer-resource.card.3.title",description:"bsc.developer-resource.card.3.description",target:"_self"},{icon:(0,t.jsx)(k.Yrs,{}),href:"https://www.bnbchain.org/".concat(s,"/testnet-faucet"),reportId:u.I.bsc.click_bsc_resources_faucet,title:"bsc.developer-resource.card.4.title",description:"bsc.developer-resource.card.4.description",target:"_self"},{icon:(0,t.jsx)(k.VvL,{}),href:"https://bscscan.com",reportId:u.I.bsc.click_bsc_resources_BscScan,title:"bsc.developer-resource.card.5.title",description:"bsc.developer-resource.card.5.description",target:"_blank"},{icon:(0,t.jsx)(k.NUn,{}),href:"https://bsctrace.com",reportId:u.I.bsc.click_bsc_resources_BSCTrace,title:"bsc.developer-resource.card.6.title",description:"bsc.developer-resource.card.6.description",target:"_blank"}],[s]);return(0,t.jsx)(c.wn,{px:{base:w.w.sizes["5"],md:w.w.sizes["10"],lg:0},bg:w.w.colors[i].background["3"],paddingTop:{base:w.w.sizes["20"],md:w.w.sizes["30"],lg:w.w.sizes["50"]},children:(0,t.jsxs)(c.UC,{children:[(0,t.jsx)(x.o,{as:"h2",variant:"heading",size:{base:"md",md:"lg"},fontWeight:500,color:w.w.colors[i].text.primary,sx:{span:{color:w.w.colors[i].text.brand}},children:e({id:"bsc.developer-resource.title"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["3"],md:w.w.sizes["4"]}}),(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},fontSize:{base:w.w.sizes["4"],md:w.w.sizes["6"]},lineHeight:{base:w.w.sizes["6"],md:w.w.sizes["8"]},color:w.w.colors[i].text.secondary,textAlign:"center",children:e({id:"bsc.developer-resource.description"})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["10"],md:w.w.sizes["14"]}}),(0,t.jsx)(S.r,{width:"100%",columns:{base:2,lg:3},spacing:{base:w.w.sizes["2"],md:w.w.sizes["6"]},children:o.map((e,s)=>(0,t.jsx)(H,{data:e},s))})]})})};var V=i(13598),Q=i(80573),K=i(88267),Y=i(35761),J=i(19036);let Z=e=>(0,t.jsx)(v.c,{opacity:1,...e}),X=()=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:(0,t.jsx)("g",{mask:"url(#mask0_14024_1033)",children:(0,t.jsx)("path",{d:"M10.4173 21.2499C10.0631 21.2499 9.76621 21.1301 9.52663 20.8904C9.28704 20.6507 9.16725 20.3537 9.16725 19.9994C9.16725 19.6451 9.28704 19.3483 9.52663 19.109C9.76621 18.8697 10.0631 18.75 10.4173 18.75H29.5838C29.938 18.75 30.2349 18.8698 30.4745 19.1095C30.714 19.3492 30.8338 19.6462 30.8338 20.0005C30.8338 20.3548 30.714 20.6517 30.4745 20.891C30.2349 21.1303 29.938 21.2499 29.5838 21.2499H10.4173Z",fill:"#F7F7F8"})})}),ee=()=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:(0,t.jsx)("g",{mask:"url(#mask0_14024_1044)",children:(0,t.jsx)("path",{d:"M18.7506 21.2498H10.4173C10.0631 21.2498 9.76621 21.1299 9.52663 20.8903C9.28704 20.6506 9.16725 20.3536 9.16725 19.9993C9.16725 19.6449 9.28704 19.3481 9.52663 19.1088C9.76621 18.8695 10.0631 18.7498 10.4173 18.7498H18.7
1506V10.4165C18.7506 10.0623 18.8704 9.76546 19.1101 9.52588C19.3498 9.2863 19.6468 9.1665 20.0011 9.1665C20.3554 9.1665 20.6522 9.2863 20.8915 9.52588C21.1308 9.76546 21.2505 10.0623 21.2505 10.4165V18.7498H29.5838C29.938 18.7498 30.2349 18.8697 30.4745 19.1093C30.714 19.349 30.8338 19.646 30.8338 20.0003C30.8338 20.3547 30.714 20.6515 30.4745 20.8908C30.2349 21.1301 29.938 21.2498 29.5838 21.2498H21.2505V29.5831C21.2505 29.9373 21.1307 30.2341 20.891 30.4737C20.6513 30.7133 20.3543 30.8331 20 30.8331C19.6457 30.8331 19.3488 30.7133 19.1095 30.4737C18.8702 30.2341 18.7506 29.9373 18.7506 29.5831V21.2498Z",fill:"#F7F7F8"})})}),es=e=>{let{id:s,showBorderTop:i=!0,sx:o,list:a,hasIndex:n=!0}=e,{colorMode:c}=(0,l.G6)(),{formatMessage:b}=(0,d.oo)(),p=(0,r.useMemo)(()=>a.map((e,r)=>{let{children:o}=e;return(0,t.jsx)(Q.A,{border:"none",width:"100%",children:e=>{let{isExpanded:a}=e;return(0,t.jsxs)(t.Fragment,{children:[0===r&&i&&(0,t.jsx)(Z,{w:"auto",borderColor:w.w.colors[c].border["3"],mx:{base:-5,md:0}}),(0,t.jsxs)(K.J,{justifyContent:"space-between",className:"accordion-button",h:"auto",outline:"none",outlineOffset:"0",transitionProperty:"none",px:0,py:w.w.sizes["6"],...a&&{pb:{base:w.w.sizes["1"],md:w.w.sizes["4"]}},width:{lg:"1200px",md:"100%",sm:"100%"},borderY:"none",_hover:{...!a&&{bg:{lg:w.w.colors[c].layer[2].hover},borderRadius:{lg:w.w.sizes["2"]}
1,outline:{lg:"".concat(w.w.sizes["1"]," solid ").concat(w.w.colors[c].layer[2].hover)},outlineOffset:{lg:w.w.sizes["0"]}}},sx:{svg:{flexShrink:0,alignSelf:"flex-start"}},children:[(0,t.jsxs)(h.s,{w:"100%",align:"center",children:[(0,t.jsx)(x.o,{display:n?"block":"none",fontWeight:"500",color:w.w.colors[c].text.tertiary,textAlign:"left",flexShrink:0,size:{base:"md",md:"lg"},variant:"heading",w:{base:"56px",md:w.w.sizes["16"]},children:"".concat(r+1).padStart(2,"0")}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["2"],md:w.w.sizes["8"]}}),(0,t.jsx)(x.o,{variant:"heading",size:{base:"xs",md:"md"},fontWeight:"500",color:w.w.colors[c].button.primary.default,textAlign:"left",wordBreak:"break-word",children:b({id:"".concat(s,".").concat(r+1,".q")})}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["2"],md:w.w.sizes["8"]}})]}),(0,t.jsx)(h.s,{children:a?(0,t.jsx)(X,{}):(0,t.jsx)(ee,{})})]}),(0,t.jsx)(Y.v,{py:0,pl:{base:w.w.sizes["16"],md:w.w.sizes["24"],lg:w.w.sizes["24"]},pr:{base:w.w.sizes["2"],lg:w.w.sizes["18"]},className:"number-accordion-panel",children:o}),(0,t.jsx)(Z,{w:"auto",mx:{base:-5,md:0},borderColor:w.w.colors[c].border["3"]})]})}},"".concat(s,"-").concat(r))}),[n,c,b,s,i,a]);return(0,t.jsx)(J.n,{allowToggle:!0,sx:o,width:"100%",children:p})};var ei=i(39855);let et=e=>{let{step:s,listType:i}=e,{colorMode:r}=(0,l.G6)(),{formatMessage:o}=(0,d.oo)(),a=[{name:"Ethereum's Clique",link:"https://eips.ethereum.org/EIPS/eip-225"},{name:"validators",link:"https://docs.bnbchain.org/bnb-smart-chain/staking/overview/#basic-concepts"}];return(0,t.jsx)(ei.E,{as:"ol",pl:{base:w.w.sizes["4"],md:w.w.sizes["6"],lg:w.w.sizes["6"]},pr:{base:w.w.sizes["12"],md:w.w.sizes["16"]},listStyleType:1===s.length?"none":i||"disc",children:s.map((e,s)=>(0,t.jsx)(x.o,{as:"li",textAlign:"left",fontWeight:"400",color:w.w.colors[r].text.secondary,variant:"body",size:{base:"md",md:"lg"},sx:{b:{fontWeight:"700"}},children:o({id:e},{a:e=>(0,t.jsx)(V.N,{href:a.filter(s=>e&&s.name===e.toString())[0].link,target:"_blank",color:w.w.colors[r].text.secondary,_hover:{color:w.w.colors[r].button.primary.hover},children:e})})},s))})},er=()=>{let{colorMode:e}=(0,l.G6)(),{formatMessage:s}=(0,d.oo)(),i=[{name:"Ethereum's Clique",link:"https://eips.ethereum.org/EIPS/eip-225"},{name:"validators",link:"https://docs.bnbchain.org/bnb-smart-chain/staking/overview/#basic-concepts"}],r=[{children:(0,t.jsx)(h.s,{flexDir:"column",alignItems:"left",pb:{base:w.w.sizes["4"],md:w.w.sizes["6"],lg:w.w.sizes["8"]},children:(0,t.jsx)(et,{listType:"disc",step:["bsc.faq.1.list.1","bsc.faq.1.list.2","bsc.faq.1.list.3","bsc.faq.1.list.4","bsc.faq.1.list.5"]})})},{children:(0,t.jsx)(r=>{let{id:o}=r;return(0,t.jsx)(x.o,{variant:"body",size:{base:"sm",md:"md"},textAlign:"left",color:w.w.colors[e].text.secondary,pb:{base:w.w.sizes["4"],md:w.w.sizes["6"],lg:w.w.sizes["8"]},children:s({id:o},{a:s=>(0,t.jsx)(V.N,{href:i.filter(e=>s&&e.name===s.toString())[0].link,target:"_blank",color:w.w.colors[e].text.secondary,_hover:{color:w.w.colors[e].button.primary.hover},children:s}),br:(0,t.jsx)("br",{})})})},{id:"bsc.faq.2.a"})},{children:(0,t.jsxs)(h.s,{flexDir:"column",alignItems:"left",pb:{base:w.w.sizes["4"],md:w.w.sizes["6"],lg:w.w.sizes["8"]},children:[(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},textAlign:"left",color:w.w.colors[e].text.secondary,children:s({id:"bsc.faq.3.a.1"})}),(0,t.jsx)(et,{listType:"decimal",step:["bsc.faq.3.list.1","bsc.faq.3.list.2","bsc.faq.3.list.3"]}),(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},textAlign:"left",color:w.w.colors[e].text.secondary,children:s({id:"bsc.faq.3.a.2"})}),(0,t.jsx)(et,{listType:"decimal",step:["bsc.faq.3.list.4","bsc.faq.3.list.5","bsc.faq.3.list.6","bsc.faq.3.list.7","bsc.faq.3.list.8"]})]})},{children:(0,t.jsxs)(h.s,{flexDir:"column",alignItems:"left",pb:{base:w.w.sizes["4"],md:w.w.sizes["6"],lg:w.w.sizes["8"]},children:[(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},textAlign:"left",color:w.w.colors[e].text.secondary,children:s({id:"bsc.faq.4.a"})}),(0,t.jsx)(et,{listType:"disc",step:["bsc.faq.4.list.1","bsc.faq.4.list.2","bsc.faq.4.list.3","bsc.faq.4.list.4","bsc.faq.4.list.5"]})]})}];return(0,t.jsx)(h.s,{px:{base:w.w.sizes["5"],md:w.w.sizes["10"],lg:0},pt:{base:w.w.sizes["20"],md:w.w.sizes["30"],lg:w.w.sizes["50"]}
1,textAlign:"center",flexDir:"column",bg:w.w.colors[e].background["3"],width:"100%",children:(0,t.jsx)(n.UC,{margin:"0 auto",children:(0,t.jsxs)(h.s,{mx:"auto",width:"100%",align:{base:"center"},textAlign:{base:"center"},flexDir:"column",w:"100%",children:[(0,t.jsx)(x.o,{variant:"heading",size:{base:"md",md:"lg",lg:"lg"},as:"h2",color:w.w.colors[e].button.primary.default,mb:{base:w.w.sizes["6"],md:w.w.sizes["12"],lg:w.w.sizes["14"]},fontWeight:"500",children:s({id:"bsc.faq.title"})}),(0,t.jsx)(es,{id:"bsc.faq",showBorderTop:!0,list:r})]})})})},eo=()=>{let{colorMode:e}=(0,l.G6)(),{formatMessage:s}=(0,d.oo)(),{locale:i}=(0,T.A)();return(0,t.jsx)(a.K2,{children:(0,t.jsx)(c.wn,{bg:w.w.colors[e].background[3],py:{base:w.w.sizes["20"],md:w.w.sizes["30"],lg:w.w.sizes["40"]},px:{base:w.w.sizes["5"],md:w.w.sizes["10"],lg:0},children:(0,t.jsx)(c.UC,{bg:"#FFF15C",borderRadius:w.w.sizes["8"],px:{base:w.w.sizes["6"],md:w.w.sizes["12"],lg:w.w.sizes["20"]},py:{base:w.w.sizes["10"],md:w.w.sizes["12"],lg:w.w.sizes["16"]},children:(0,t.jsxs)(h.s,{direction:{base:"column",lg:"row"},children:[(0,t.jsxs)(h.s,{direction:"column",children:[(0,t.jsx)(x.o,{as:"h2",variant:"heading",size:{base:"md",md:"lg"},color:w.w.colors.light.text.primary,fontWeight:"500",children:s({id:"bsc.join-eco.title"})}),(0,t.jsx)(g.$,{size:w.w.sizes["4"]}),(0,t.jsx)(x.o,{variant:"body",size:{base:"md",md:"lg"},color:w.w.colors.light.text.primary,children:s({id:"bsc.join-eco.description"})})]}),(0,t.jsx)(g.$,{size:{base:w.w.sizes["8"],lg:w.w.sizes["10"]}}),(0,t.jsxs)(h.s,{direction:{base:"column",md:"row",lg:"column"},gap:w.w.sizes["4"],alignSelf:{base:"center",lg:"flex-start"},w:{base:"100%",md:"100%",lg:"fit-content"},children:[(0,t.jsx)(z.$n,{as:"a",size:"lg",href:j.CTA_CONTACT,target:"_blank","data-analytics-id":u.I.bsc.click_bsc_joinBNBChain_contactUs,flex:{base:1,lg:"auto"},minH:{base:w.w.sizes["14"],lg:w.w.sizes["12"]},children:s({id:"bsc.join-eco.cta.contact"})}),(0,t.jsx)(z.$n,{leftIcon:(0,t.jsx)(k.Ihj,{}),variant:"outline",as:"a",size:"lg",href:"https://portal.bnbchain.org",target:"_blank","data-analytics-id":u.I.bsc.click_bsc_joinBNBChain_devPortal,px:w.w.sizes["4"],flex:{base:1,lg:"auto"},minH:{base:w.w.sizes["14"],lg:w.w.sizes["12"]},children:s({id:"bsc.join-eco.cta.explore"})})]})]})})})})},ea=()=>{let{formatMessage:e}=(0,o.tz)();return(0,t.jsx)(n.PE,{seoHeader:(0,t.jsx)(n.g7,{title:e({id:"bsc.seo.title"}),description:e({id:"bsc.seo.description"}),jsonLd:{breadcrumbs:[{name:"Home",url:"https://www.bnbchain.org/en"},{name:"BNB Smart Chain",url:"https://www.bnbchain.org/en/bnb-smart-chain"}]}}),header:(0,t.jsx)(a.QQ,{children:(0,t.jsx)(c.Y9,{isNotification:!0})}),children:(0,t.jsxs)(a.QQ,{children:[(0,t.jsx)(y,{}),(0,t.jsx)(C,{}),(0,t.jsx)(_,{}),(0,t.jsx)(I,{}),(0,t.jsx)(q,{}),(0,t.jsx)(O,{}),(0,t.jsx)(G,{}),(0,t.jsx)(U,{}),(0,t.jsx)(er,{}),(0,t.jsx)(eo,{})]})})};var en=i(60194);let ec=e=>{let{messages:s}=e;return(0,t.jsx)(o.Dk,{messages:s,children:(0,t.jsx)(ea,{})})};ec.getInitialProps=async e=>{let{query:s}=e,i=s.lang;return{messages:await (0,o.i1)({locale:i,ns:"bnb-smart-chain",defaultMessages:en.en})}};let el=ec},93283:(e,s,i)=>{"use strict";i.d(s,{oo:()=>a});var t=i(8194),r=i(95562),o=i(25364);let a=()=>{let{formatMessage:e}=(0,o.A)();return{formatMessage:(0,r.useCallback)((s,i)=>e({...s},{b:e=>(0,t.jsx)("b",{children:e}),br:(0,t.jsx)("br",{}),li:e=>(0,t.jsx)("li",{children:e}),p:e=>(0,t.jsx)("p",{children:e}),span:e=>(0,t.jsx)("span",{children:e}),...i}),[e])}}}},e=>{e.O(0,[8914,3410,5358,1324,7879,6698,636,6593,8792],()=>e(e.s=35178)),_N_E=e.O()}]);

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.