PageSourceSearch

https://static.bnbchain.org/home-ui/static/_next/static/chunks/pag…ero2hero-builder-series-4eaab03eb1617c60.js

js bnbchain.org collected 2026-10-01 09:08:12 UTC 43,799 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2039],{23770:(e,s,i)=>{"use strict";i.d(s,{o:()=>a});var t=i(8194),r=i(95562),n=i(93722);let a=()=>{let{formatMessage:e}=(0,n.tz)();return{formatMessage:(0,r.useCallback)((s,i)=>e({...s},{b:e=>(0,t.jsx)("b",{children:e}),br:(0,t.jsx)("br",{}),p:e=>(0,t.jsx)("p",{children:e}),span:e=>(0,t.jsx)("span",{children:e}),...i}),[e])}}},39354:(e,s,i)=>{"use strict";var t=i(30648);function r(e){return"object"!=typeof e||"toString"in e?e:Object.prototype.toString.call(e).slice(8,-1)}Object.defineProperty(s,"__esModule",{value:!0});var n="object"==typeof t;function a(e,s){if(!e){if(n)throw Error("Invariant failed");throw Error(s())}}s.invariant=a;var o=Object.prototype.hasOwnProperty,l=Array.prototype.splice,c=Object.prototype.toString;function d(e){return c.call(e).slice(8,-1)}var w=Object.assign||function(e,s){return h(s).forEach(function(i){o.call(s,i)&&(e[i]=s[i])}),e},h="function"==typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)};function p(e){return Array.isArray(e)?w(e.constructor(e.length),e):"Map"===d(e)?new Map(e):"Set"===d(e)?new Set(e):e&&"object"==typeof e?w(Object.create(Object.getPrototypeOf(e)),e):e}var z=function(){function e(){this.commands=w({},g),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(e,s){return e===s},this.update.newContext=function(){return new e().update}}return Object.defineProperty(e.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(e){this.update.isEquals=e},enumerable:!0,configurable:!0}),e.prototype.extend=function(e,s){this.commands[e]=s},e.prototype.update=function(e,s){var i=this,t="function"==typeof s?{$apply:s}:s;Array.isArray(e)&&Array.isArray(t)||a(!Array.isArray(t),function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."}),a("object"==typeof t&&null!==t,function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(i.commands).join(", ")+"."});var r=e;return h(t).forEach(function(s){if(o.call(i.commands,s)){var n=e===r;r=i.commands[s](t[s],r,t,e),n&&i.isEquals(r,e)&&(r=e)}else{var a="Map"===d(e)?i.update(e.get(s),t[s]):i.update(e[s],t[s]),l="Map"===d(r)?r.get(s):r[s];i.isEquals(a,l)&&(void 0!==a||o.call(e,s))||(r===e&&(r=p(e)),"Map"===d(r)?r.set(s,a):r[s]=a)}}),r},e}();s.Context=z;var g={$push:function(e,s,i){return u(s,i,"$push"),e.length?s.concat(e):s},$unshift:function(e,s,i){return u(s,i,"$unshift"),e.length?e.concat(s):s},$splice:function(e,s,i,t){var n,o;return n=s,o=i,a(Array.isArray(n),function(){return"Expected $splice target to be an array; got "+r(n)}),m(o.$splice),e.forEach(function(e){m(e),s===t&&e.length&&(s=p(t)),l.apply(s,e)}),s},$set:function(e,s,i){return a(1===Object.keys(i).length,function(){return"Cannot have more than one key in an object with $set"}),e},$toggle:function(e,s){V(e,"$toggle");var i=e.length?p(s):s;return e.forEach(function(e){i[e]=!s[e]}),i},$unset:function(e,s,i,t){return V(e,"$unset"),e.forEach(function(e){Object.hasOwnProperty.call(s,e)&&(s===t&&(s=p(t)),delete s[e])}),s},$add:function(e,s,i,t){return x(s,"$add"),V(e,"$add"),"Map"===d(s)?e.forEach(function(e){var i=e[0],r=e[1];s===t&&s.get(i)!==r&&(s=p(t)),s.set(i,r)}):e.forEach(function(e){s!==t||s.has(e)||(s=p(t)),s.add(e)}),s},$remove:function(e,s,i,t){return x(s,"$remove"),V(e,"$remove"),e.forEach(function(e){s===t&&s.has(e)&&(s=p(t)),s.delete(e)}),s},$merge:function(e,s,i,t){var n,o;return n=s,a((o=e)&&"object"==typeof o,function(){return"update(): $merge expects a spec of type 'object'; got "+r(o)}),a(n&&"object"==typeof n,function(){return"update(): $merge expects a target of type 'object'; got "+r(n)}),h(e).forEach(function(i){e[i]!==s[i]&&(s===t&&(s=p(t)),s[i]=e[i])}),s},$apply:function(e,s){var i;return a("function"==typeof(i=e),function(){return"update(): expected spec of $apply to be a function; got "+r(i)+"."}),e(s)}},b=new z;function u(e,s,i){a(Array.isArray(e),function(){return"update(): expected target of "+r(i)+" to be an array; got "+r(e)+"."}),V(s[i],i)}function V(e,s){a(Array.isArray(e),function(){return"update(): expected spec of "+r(s)+" to be an array; got "+r(e)+". Did you forget to wrap your parameter in an array?"})}function m(e){a(Array.isArray(e),function(){return"update(): expected spec of $splice to be an array of arrays; got "+r(e)+". Did you forget to wrap your parameters in an array?"})}function x(e,s){var i=d(e);a("Map"===i||"Set"===i,function(){return"update(): "+r(s)+" expects a target of type Set or Map; got "+r(i)})}s.isEquals=b.update.isEquals,s.extend=b.extend,s.default=b.update,s.default.default=e.exports=w(s.default,s)},39581:(e,s,i)=>{"use strict";i.d(s,{x:()=>n});var t=i(8194),r=i(85545);let n=()=>{let e=(0,r.ADb)({base:"",lg:(0,t.jsx)("br",{})})||"",s=(0,r.ADb)({base:" ",lg:(0,t.jsx)("br",{})})||" ",i=(0,r.ADb)({base:"",md:(0,t.jsx)("br",{}),lg:""})||"",n=(0,r.ADb)({base:" ",md:(0,t.jsx)("br",{}),lg:" "})||" ",a=(0,r.ADb)({base:(0,t.jsx)("br",{}),md:""})||"",o=(0,r.ADb)({base:(0,t.jsx)("br",{}),md:" "})||" ",l=(0,r.ADb)({base:"",lg:" "})||"";return{brOnLg:e,brOnLgOrSpace:s,brOnMd:i,brOnMdOrSpace:n,brOnSm:a,brOnSmOrSpace
1:o,spaceOnLg:l,spaceOnMd:(0,r.ADb)({base:"",md:" ",lg:""})||"",spaceOnSm:(0,r.ADb)({base:" ",md:""})||""}}},42364:e=>{"use strict";e.exports=function(e,s){s.prototype.isSameOrBefore=function(e,s){return this.isSame(e,s)||this.isBefore(e,s)}}},43142:(e,s,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lang]/zero2hero-builder-series",function(){return i(61896)}])},49607:e=>{"use strict";e.exports=function(e,s){s.prototype.isSameOrAfter=function(e,s){return this.isSame(e,s)||this.isAfter(e,s)}}},61896:(e,s,i)=>{"use strict";i.r(s),i.d(s,{__N_SSP:()=>er,default:()=>en});var t=i(8194),r=i(95562),n=i(93722),a=i(85545),o=i(11963),l=i(92883),c=i(64704),d=i(85262),w=i(99535);i(7876),i(59850),i(30648);var h=i(2727),p=i.n(h),z=i(42364),g=i.n(z),b=i(49607),u=i.n(b),V=i(84812),m=i.n(V),x=i(17928);let f={BANNER_TITLE:"Zen Dots",COMMON:"Space Grotesk"},j={TRACKS_PRIZES_TRACK_TITLE:500,PROGRAM_EVENT_NO:500,PROGRAM_EVENT_DATE:500,FAQ_NO:500},y={BRAND:"#FFE900",BLACK:"black",WHITE:"white",BULLET:"#2BAE7C",DISABLED_FG:"#37383C",DISABLED_BG:"#AEAFB0",PRIZE_BG:"rgba(255, 255, 255, 0.1)"},E={TRIGGER:"#lang-wise-link",LANGS:[{text:"English",link:"https://encodeclub.typeform.com/bnbchainboot"},{text:"简体中文",link:"https://forms.monday.com/forms/749db03dcc43c2bc19d28e871c850db6?r=use1"},{text:"Русский",link:"https://forms.monday.com/forms/291d4794c017fcdfaffe94999b7f6658?r=use1"}]},v={BANNER:{"CTA-1":{STATES:{1:{isShown:!0,isEnabled:!1,haveTooltip:!0,openTarget:"_blank",period:{endDate:"2023-02-12"}},2:{isShown:!0,isEnabled:!0,haveTooltip:!1,openTarget:"_self",url:E.TRIGGER,period:{startDate:"2023-02-13",endDate:"2023-03-03"},"data-analytics-id":x.I.zero2hero.click_Zero2Hero_hero_applyBootcampNow},3:{isShown:!0,isEnabled:!1,haveTooltip:!0,openTarget:"_blank",period:{startDate:"2023-03-04",endDate:"2023-03-05"}},4:{isShown:!0,isEnabled:!0,haveTooltip:!1,openTarget:"_blank",url:"https://encodeclub.typeform.com/bnbchainhack",period:{startDate:"2023-03-06",endDate:"2023-05-14"},"data-analytics-id":x.I.zero2hero.click_Zero2Hero_hero_hackathon},5:{isShown:!0,isEnabled:!0,haveTooltip:!1,openTarget:"_blank",url:"https://forms.gle/p1rWgEMcdJXu25GGA",period:{startDate:"2023-05-15",endDate:"2023-05-28"},"data-analytics-id":x.I.zero2hero.click_Zero2Hero_hero_incubator},6:{isShown:!0,isEnabled:!1,haveTooltip:!1,openTarget:"_blank",period:{startDate:"2023-05-29"}}}},"CTA-2":{STATES:{1:{isShown:!1,isEnabled:!1,haveTooltip:!1,openTarget:"_blank",period:{endDate:"2023-04-16"}},2:{isShown:!0,isEnabled:!0,haveTooltip:!1,openTarget:"_blank",url:"https://forms.gle/p1rWgEMcdJXu25GGA",period:{startDate:"2023-04-17",endDate:"2023-05-14"},"data-analytics-id":x.I.zero2hero.click_Zero2Hero_hero_incubator},3:{isShown:!1,isEnabled:!1,haveTooltip:!1,openTarget:"_blank",period:{startDate:"2023-05-15"}}}}},TRACKS_PRIZES:{1:{getUrl:e=>"https://greenfield.bnbchain.org/".concat(e)},"know-more":{url:"https://encodeclub.notion.site/BNB-Chain-Zero2Hero-Hackathon-powered-by-Encode-Club-Hacker-Pack-945126fc911f4b65b1b13ae154c96e33"}},PROGRAM_EVENTS:{1:{STATES:{1:{isShown:!0,isEnabled:!1,haveTooltip:!0,openTarget:"_blank",period:{endDate:"2023-02-12"}},2:{isShown:!0,isEnabled:!0,haveTooltip:!1,openTarget:"_self",period:{startDate:"2023-02-13",endDate:"2023-03-03"},url:E.TRIGGER,"data-analytics-id":x.I.zero2hero.click_Zero2Hero_progDetails_applyBootcamp},3:{isShown:!0,isEnabled:!1,haveTooltip:!1,openTarget:"_blank",period:{startDate:"2023-03-04"}}}},2:{STATES:{1:{isShown:!0,isEnabled:!1,haveTooltip:!0,openTarget:"_blank",period:{endDate:"2023-03-05"}},2:{isShown:!0,isEnabled:!0,haveTooltip:!1,openTarget:"_blank",period:{startDate:"2023-03-06",endDate:"2023-05-14"},url:"https://encodeclub.typeform.com/bnbchainhack","data-analytics-id":x.I.zero2hero.click_Zero2Hero_progDetails_hackathon},3:{isShown:!0,isEnabled:!1,haveTooltip:!1,openTarget:"_blank",period:{startDate:"2023-05-15"}}}},3:{STATES:{1:{isShown:!0,isEnabled:!1,haveTooltip:!0,openTarget:"_blank",period:{endDate:"2023-04-16"}},2:{isShown:!0,isEnabled:!0,haveTooltip:!1,openTarget:"_blank",period:{startDate:"2023-04-17",endDate:"2023-05-28"},url:"https://forms.gle/p1rWgEMcdJXu25GGA","data-analytics-id":x.I.zero2hero.click_Zero2Hero_progDetails_incubator},3:{isShown:!0,isEnabled:!1,haveTooltip:!1,openTarget:"_blank",period:{startDate:"2023-05-29"}}}}},JOIN_AS_PARTNER:{URL:"https://forms.monday.com/forms/bfef9e68118ca40b513d8582b1e54773?r=use1"}},A="www.bnbchain.org";p().extend(g()),p().extend(u()),p().extend(m());let T=e=>{let{states:s,domain:i,query:t}=e;
1for(let e in s){let r=s[e].period,n=r.startDate,a=r.endDate,o=i!==A&&t.date?p()(t.date):p()();if(n&&a)if(p()(o).isBetween(n,a,null,"[]"))return{stateNo:e,state:s[e]};else continue;if(n)if(p()(o).isSameOrAfter(n))return{stateNo:e,state:s[e]};else continue;if(a)if(p()(o).isSameOrBefore(a))return{stateNo:e,state:s[e]};else continue}return{stateNo:"1",state:s["1"]}},S=e=>{let{states:s,domain:i,query:t}=e;return(0,r.useMemo)(()=>T({states:s,domain:i,query:t}),[s,i,t])},_=(0,r.createContext)({data:[[]]}),O=(0,r.createContext)({domain:A}),M=()=>{let{colorMode:e}=(0,a.G67)(),{domain:s}=(0,r.useContext)(O),{query:i}=(0,c.useRouter)(),o=(0,a.ADb)({base:"sm",md:"md",lg:"lg"}),{stateNo:l,state:h}=S({states:v.BANNER["CTA-1"].STATES,domain:s,query:i}),{stateNo:p,state:z}=S({states:v.BANNER["CTA-2"].STATES,domain:s,query:i});return(0,t.jsxs)(a.azJ,{pos:"relative",children:[(0,t.jsx)(a._V3,{w:"full",src:"".concat(w.J$,"/images/zero2hero/").concat(o,"/banner.png"),alt:"Go From zero2hero in Web3"}),(0,t.jsx)(a.azJ,{pos:"absolute",top:"50%",left:0,transform:{base:"translateY(-80%)",md:"translateY(-105%)",lg:"translateY(-50%)"},maxW:{lg:"50%"},ml:{lg:a.w4V.sizes["30"]},px:{sm:a.w4V.sizes["5"],md:a.w4V.sizes["20"],lg:0},bg:"transparent",children:(0,t.jsxs)(a.Tku,{spacing:{base:a.w4V.sizes["3"],lg:a.w4V.sizes["4"]},align:"flex-start",textAlign:"start",children:[(0,t.jsx)(a.EYj,{as:"h1",fontFamily:f.BANNER_TITLE,fontSize:{base:a.w4V.sizes["9"],md:a.w4V.sizes["16"]},lineHeight:{base:a.w4V.sizes["9"],md:a.w4V.sizes["16"]},color:a.w4V.colors[e].general.primary,textTransform:"uppercase",children:(0,d.v)({id:"zero2hero.banner.title",colorMode:e,style:{color:y.BRAND}})}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["5"],md:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["8"],md:a.w4V.sizes["10"]},color:a.w4V.colors[e].general.secondary,children:(0,t.jsx)(n.sA,{id:"zero2hero.banner.desc"})}),(0,t.jsx)(a.azJ,{pt:{base:a.w4V.sizes["4"],md:a.w4V.sizes["8"]},w:{base:"full",md:"auto"},children:(0,t.jsxs)(a.BJc,{direction:{base:"column",md:"row"},spacing:{base:a.w4V.sizes["3"],md:a.w4V.sizes["5"]},children:[(0,t.jsx)(a.m_M,{trigger:h.isEnabled||!h.haveTooltip?"manual":"mouseenter focus",contentTooltip:(0,t.jsx)(a.m_M.Content,{children:(0,t.jsx)(a.EYj,{fontWeight:500,fontSize:a.w4V.sizes["3"],lineHeight:a.w4V.sizes["5"],textAlign:"center",children:h.haveTooltip&&(0,t.jsx)(n.sA,{id:"zero2hero.banner.ctas.1.states.".concat(l,".tooltip")})})}),children:(0,t.jsx)(a.azJ,{w:"full",children:(0,t.jsx)(a.$nd,{w:"full",as:"a",href:h.isEnabled?h.url:void 0,target:h.openTarget,fontFamily:f.COMMON,disabled:!h.isEnabled,_disabled:{bg:y.DISABLED_BG,color:y.DISABLED_FG,pointerEvents:"none"},"data-analytics-id":h["data-analytics-id"],children:(0,t.jsx)(n.sA,{id:"zero2hero.banner.ctas.1.states.".concat(l,".text")})})})}),z.isShown&&(0,t.jsx)(a.m_M,{trigger:z.isEnabled||!z.haveTooltip?"manual":"mouseenter focus",contentTooltip:(0,t.jsx)(a.m_M.Content,{children:(0,t.jsx)(a.EYj,{fontWeight:500,fontSize:a.w4V.sizes["3"],lineHeight:a.w4V.sizes["5"],textAlign:"center",children:z.haveTooltip&&(0,t.jsx)(n.sA,{id:"zero2hero.banner.ctas.2.states.".concat(p,".tooltip")})})}),children:(0,t.jsx)(a.azJ,{w:"full",children:(0,t.jsx)(a.$nd,{w:"full",variant:"outline",as:"a",href:z.isEnabled?z.url:void 0,target:z.openTarget,fontFamily:f.COMMON,disabled:!z.isEnabled,_disabled:{bg:y.DISABLED_BG,color:y.DISABLED_FG,pointerEvents:"none"},"data-analytics-id":z["data-analytics-id"],children:(0,t.jsx)(n.sA,{id:"zero2hero.banner.ctas.2.states.".concat(p,".text")})})})})]})})]})})]})};var k=i(38688);let N=e=>{let{icon:s,iconSize:i,title:r,desc:n}=e,{colorMode:o}=(0,a.G67)();return(0,t.jsxs)(a.BJc,{direction:{base:"row",md:"column"},p:{base:a.w4V.sizes["5"],md:a.w4V.sizes["8"]},bg:a.w4V.colors[o].bg.secondary,rounded:a.w4V.sizes["4"],align:"center",spacing:a.w4V.sizes["5"],children:[(0,t.jsx)(a.azJ,{children:(0,t.jsx)(a.ovh,{w:i,h:i,bg:a.w4V.colors[o].bg.primary,rounded:a.w4V.sizes["5"],children:(0,t.jsx)(s,{w:"60%",h:"60%",color:a.w4V.colors[o].general.primary})})}),(0,t.jsxs)(a.Tku,{align:{base:"flex-start",md:"center"},textAlign:{base:"start",md:"center"},children:[(0,t.jsx)(a.EYj,{as:"b",fontSize:{base:a.w4V.sizes["4"],lg:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["6"],lg:a.w4V.sizes["10"]},color:a.w4V.colors[o].general.primary,children:r}),(0,t.jsx)(a.EYj,{fontSize:{base:a.w4V.sizes["3.5"],lg:a.w4V.sizes["4"]},lineHeight:{base:a.w4V.sizes["6"],lg:a.w4V.sizes["7"]},color:a.w4V.colors[o].general.secondary,children:n})]})]})},C=()=>{let{colorMode:e}=(0,a.G67)(),s=(0,a.ADb)({base:!1,lg:!0}),{formatMessage:i}=(0,n.tz)(),o=(0,r.useMemo)(()=>{let e=[k.n_v,k.ldV,k.jNf,k.F$I,k.b27];return Array.apply(null,{length:5}).map(Number.call,Number).map(t=>({icon:e[t],iconSize:s?a.w4V.sizes["25"]:a.w4V.sizes["16"],title:i({id:"zero2hero.incubator.items.".concat(t+1,".title")}),desc:i({id:"zero2hero.incubator.items.".concat(t+1,".desc")})}))},[s,i]);return(0,t.jsx)(a.azJ,{px:{base:a.w4V.sizes["5"],md:a.w4V.sizes["10"],lg:a.w4V.sizes["30"]},pt:{base:a.w4V.sizes["15"],md:a.w4V.sizes["24"],lg:a.w4V.sizes["24"]},bg:a.w4V.colors[e].bg.primary,children:(0,t.jsx)(a.mcf,{px:0,maxW:{lg:"1200px"},centerContent:!0,children:(0,t.jsxs)(a.Tku,{spacing:a.w4V.sizes["12"],
1children:[(0,t.jsx)(a.EYj,{as:"h2",fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["9"],md:a.w4V.sizes["12"]},lineHeight:{base:a.w4V.sizes["12"],md:a.w4V.sizes["17"]},color:a.w4V.colors[e].general.primary,textAlign:"center",children:(0,t.jsx)(n.sA,{id:"zero2hero.incubator.title"})}),(0,t.jsxs)(a.Tku,{spacing:a.w4V.sizes["5"],children:[(0,t.jsx)(a.rS3,{columns:{md:3},spacing:a.w4V.sizes["5"],children:o.slice(0,3).map(e=>(0,t.jsx)(N,{...e},e.title))}),(0,t.jsx)(a.rS3,{columns:{md:2},spacing:a.w4V.sizes["5"],children:o.slice(3).map(e=>(0,t.jsx)(N,{...e},e.title))})]})]})})})};var D=i(43976),B=i(72100),R=i(23770);let G=e=>{let{no:s,title:i,prizes:r}=e,{colorMode:n}=(0,a.G67)();return(0,t.jsxs)(a.Tku,{w:"full",spacing:0,children:[(0,t.jsxs)(a.ztN,{px:a.w4V.sizes["8"],py:a.w4V.sizes["6"],w:"full",bg:y.BRAND,roundedTop:a.w4V.sizes["5"],spacing:a.w4V.sizes["5"],children:[(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["14"],md:a.w4V.sizes["16"]},lineHeight:{base:a.w4V.sizes["14"],md:a.w4V.sizes["14"]},color:y.BLACK,children:s}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontWeight:j.TRACKS_PRIZES_TRACK_TITLE,fontSize:{base:a.w4V.sizes["5"],md:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["6"],md:a.w4V.sizes["7"]},color:y.BLACK,children:i})]}),(0,t.jsx)(a.Tku,{p:a.w4V.sizes["8"],w:"full",bg:y.BLACK,roundedBottom:a.w4V.sizes["5"],spacing:a.w4V.sizes["4"],children:r.map((e,s)=>{let{position:i,reward:r}=e,o=0===s;return(0,t.jsxs)(a.ztN,{px:a.w4V.sizes["5"],py:a.w4V.sizes["4"],w:"full",bg:y.PRIZE_BG,rounded:a.w4V.sizes["3"],border:"".concat(o?"1px":0," solid ").concat(y.BRAND),justify:"space-between",children:[(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["4"],md:a.w4V.sizes["4"]},lineHeight:{base:a.w4V.sizes["7"],md:a.w4V.sizes["7"]},color:o?y.WHITE:a.w4V.colors[n].general.secondary,children:i}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["4"],md:a.w4V.sizes["4"]},lineHeight:{base:a.w4V.sizes["7"],md:a.w4V.sizes["7"]},color:y.WHITE,children:r})]},s)})})]})},H=()=>{let{colorMode:e}=(0,a.G67)(),{formatMessage:s}=(0,R.o)();return(0,t.jsxs)(a.Tku,{p:a.w4V.sizes["8"],w:"full",bg:y.BLACK,rounded:a.w4V.sizes["5"],spacing:a.w4V.sizes["6"],justify:"center",children:[(0,t.jsx)(a.ovh,{w:a.w4V.sizes["20"],h:a.w4V.sizes["20"],bg:a.w4V.colors[e].bg.primary,rounded:a.w4V.sizes["6"],children:(0,t.jsx)(k.GAi,{w:"40%",h:"40%",color:a.w4V.colors[e].general.primary})}),(0,t.jsxs)(a.Tku,{textAlign:"center",spacing:a.w4V.sizes["2"],children:[(0,t.jsx)(a.EYj,{color:y.WHITE,fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["6"],md:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["10"],md:a.w4V.sizes["10"]},children:s({id:"zero2hero.tracks-prizes.know-more.title"},{accent:e=>(0,t.jsx)(a.EYj,{as:"span",color:y.BRAND,children:e})})}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["4"],md:a.w4V.sizes["4"]},lineHeight:{base:a.w4V.sizes["7"],md:a.w4V.sizes["7"]},color:a.w4V.colors[e].general.secondary,children:s({id:"zero2hero.tracks-prizes.know-more.desc"},{a:e=>(0,t.jsx)(a.EYj,{as:"a",href:v.TRACKS_PRIZES["know-more"].url,target:"_blank",rel:"noreferrer",textDecoration:"underline",children:e})})})]})]})},Y=e=>(0,t.jsx)(a.$nd,{variant:"secondary",borderRadius:"50%",minW:"auto",w:a.w4V.sizes["12"],h:a.w4V.sizes["12"],p:"0",flexShrink:0,sx:{svg:{fontSize:a.w4V.sizes["6"]}},_notLast:{mr:{base:a.w4V.sizes["4"],md:a.w4V.sizes["6"]}},...e}),F=e=>(0,t.jsx)(a.son,{bottom:{base:a.w4V.sizes["20"],lg:a.w4V.sizes["10"]},px:{base:a.w4V.sizes["5"],md:a.w4V.sizes["10"],lg:0},zIndex:a.w4V.zIndices.docked,...e}),I=()=>{let{colorMode:e}=(0,a.G67)(),{query:{lang:s="en"}}=(0,c.useRouter)(),{formatMessage:i}=(0,R.o)(),n=(0,r.useRef)(),[o,l]=(0,r.useState)(0),d=(0,r.useMemo)(()=>Array(7).fill([1,2,3]).map((e,r)=>({no:i({id:"zero2hero.tracks-prizes.tracks.".concat(r+1,".no")}),title:i({id:"zero2hero.tracks-prizes.tracks.".concat(r+1,".title")},{a:e=>{var i,n;return(0,t.jsx)(a.EYj,{as:"a",href:null==(n=v.TRACKS_PRIZES[r+1])||null==(i=n.getUrl)?void 0:i.call(n,s),target:"_blank",rel:"noreferrer",textDecoration:"underline",children:e})}}),prizes:e.map(e=>({position:i({id:"zero2hero.tracks-prizes.tracks.".concat(r+1,".prizes.").
1concat(e,".position")}),reward:i({id:"zero2hero.tracks-prizes.tracks.".concat(r+1,".prizes.").concat(e,".reward")})}))})),[i,s]);return(0,t.jsx)(a.azJ,{px:{base:a.w4V.sizes["5"],md:a.w4V.sizes["10"],lg:a.w4V.sizes["30"]},py:{base:a.w4V.sizes["15"],md:a.w4V.sizes["24"],lg:a.w4V.sizes["24"]},bg:a.w4V.colors[e].bg.primary,sx:{".swiper":{w:"100%",h:"100%"},".swiper-slide":{w:"100%",h:"100%"},".swiper-pagination":{display:"flex",span:{display:"none"}},".swiper-pagination-bullet":{borderTopWidth:"1px",borderColor:a.w4V.colors[e].general.tertiary,color:a.w4V.colors[e].general.tertiary,display:"flex",justifyContent:"center",flex:1},".swiper-pagination-bullet-active":{borderTopWidth:"2px",borderColor:a.w4V.colors[e].general.accent,color:a.w4V.colors[e].general.accent,fontWeight:"700",_hover:{cursor:"default",color:a.w4V.colors[e].general.accent}}},children:(0,t.jsx)(a.mcf,{px:0,maxW:{lg:"1200px"},centerContent:!0,children:(0,t.jsxs)(a.Tku,{w:"full",spacing:{base:a.w4V.sizes["10"],md:a.w4V.sizes["16"]},children:[(0,t.jsx)(a.EYj,{as:"h2",fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["8"],md:a.w4V.sizes["12"]},lineHeight:{base:a.w4V.sizes["12"],md:a.w4V.sizes["17"]},color:a.w4V.colors[e].general.primary,textAlign:"center",children:i({id:"zero2hero.tracks-prizes.title"},{accent:e=>(0,t.jsx)(a.EYj,{as:"span",color:y.BRAND,children:e})})}),(0,t.jsx)(a.wvn,{above:"md",children:(0,t.jsxs)(a.rS3,{w:"full",columns:{md:2,lg:3},spacing:a.w4V.sizes["6"],children:[d.map((e,s)=>(0,t.jsx)(G,{...e},s)),(0,t.jsx)(H,{})]})}),(0,t.jsxs)(a.LdN,{above:"md",children:[(0,t.jsx)(B.RC,{modules:[D.Vx,D.dK],slidesPerView:"auto",spaceBetween:40,onBeforeInit:e=>{n.current=e},onSlideChange:e=>l(e.activeIndex),children:d.map((e,s)=>(0,t.jsx)(B.qr,{children:(0,t.jsx)(G,{...e})},"track-".concat(s)))}),(0,t.jsxs)(a.son,{w:"100%",alignItems:"center",mt:a.w4V.sizes["12"],children:[(0,t.jsxs)(F,{pr:a.w4V.sizes["4"],fontSize:a.w4V.sizes["3.5"],color:a.w4V.colors[e].general.accent,children:[(0,t.jsx)(a.EYj,{as:"span",fontWeight:"700",children:"".concat(o+1).padStart(2,"0")}),"\xa0/\xa0",(0,t.jsx)(a.EYj,{as:"span",color:a.w4V.colors[e].general.secondary,children:"".concat(d.length).padStart(2,"0")})]}),(0,t.jsx)(a.son,{w:"100%",className:"swiper-pagination",sx:{"> *":{w:"100%"}},children:d.map((e,s)=>(0,t.jsx)(a.azJ,{className:"swiper-pagination-bullet".concat(s===o?" swiper-pagination-bullet-active":""),onClick:()=>{var e;return null==(e=n.current)?void 0:e.slideTo(s)},children:(0,t.jsx)(a.EYj,{as:"span",children:"".concat(s+1).padStart(2,"0")})},"pagination-".concat(s)))}),(0,t.jsxs)(F,{pl:a.w4V.sizes["4"],children:[(0,t.jsx)(Y,{onClick:()=>{var e;return null==(e=n.current)?void 0:e.slidePrev()},disabled:0===o,children:(0,t.jsx)(k.A60,{})}),(0,t.jsx)(Y,{onClick:()=>{var e;return null==(e=n.current)?void 0:e.slideNext()},disabled:o===d.length-1,children:(0,t.jsx)(k.flY,{})})]})]}),(0,t.jsx)(H,{})]})]})})})};var W=i(39581);let $=()=>{let{colorMode:e}=(0,a.G67)(),{domain:s}=(0,r.useContext)(O),{query:i}=(0,c.useRouter)(),o=(0,W.x)(),l=(e=>{let{statesArr:s,domain:i,query:t}=e;return(0,r.useMemo)(()=>s.map(e=>T({states:e,domain:i,query:t})),[s,i,t])})({statesArr:["1","2","3"].map(e=>v.PROGRAM_EVENTS[e].STATES),domain:s,query:i}),w=(0,r.useMemo)(()=>[[1,2,3],[1,2,3],[1,2]].map((s,i)=>({no:(0,d.v)({id:"zero2hero.program.events.".concat(i+1,".no"),colorMode:e}),title:(0,d.v)({id:"zero2hero.program.events.".concat(i+1,".title"),colorMode:e}),desc:(0,d.v)({id:"zero2hero.program.events.".concat(i+1,".desc"),colorMode:e}),date:(0,d.v)({id:"zero2hero.program.events.".concat(i+1,".date"),colorMode:e}),details:s.map(s=>(0,d.v)({id:"zero2hero.program.events.".concat(i+1,".details.").concat(s),colorMode:e,values:o})),cta:{...l[i].state,text:(0,d.v)({id:"zero2hero.program.events.".concat(i+1,".cta.states.").concat(l[i].stateNo,".text"),colorMode:e}),tooltip:(0,d.v)({id:"zero2hero.program.events.".concat(i+1,".cta.states.").concat(l[i].stateNo,".tooltip"),colorMode:e})}})),[e,o,l]),h=s=>{let{no:i,title:r,desc:n,date:o,details:l,cta:c}=s;return(0,t.jsxs)(a.BJc,{w:"full",direction:{base:"column",lg:"row"},align:"flex-start",justify:"space-between",spacing:{base:a.w4V.sizes["6"],md:a.w4V.sizes["5"]},children:[(0,t.jsxs)(a.BJc,{direction:{base:"column",lg:"row"},w:{base:"full",lg:"45%"},align:"flex-start",spacing:{base:a.w4V.sizes["2"],md:a.w4V.sizes["4"],lg:a.w4V.sizes["8"]},children:[(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontWeight:j.PROGRAM_EVENT_NO,fontSize:{base:a.w4V.sizes["8"],md:a.w4V.sizes["12"]},lineHeight:{base:a.w4V.sizes["12"],md:a.w4V.sizes["17"]},color:a.w4V.colors[e].general.secondary,children:i}),(0,t.jsxs)(a.Tku,{align:"flex-start",spacing:{base:a.w4V.sizes["1"],md:a.w4V.sizes["3"]},children:[(0,t.jsxs)(a.Tku,{align:"flex-start",spacing:0,children:[(0,t.jsx)(a.EYj,{as:"h3",fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["6"],md:a.w4V.sizes["8"]},lineHeight:{base:a.w4V.sizes["10"],md:a.w4V.sizes["12"]},color:a.w4V.colors[e].general.primary,children:r}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontWeight:j.PROGRAM_EVENT_DATE,fontSize:{base:a.w4V.sizes["4"],md:a.w4V.sizes["5"]},lineHeight:{base:a.w4V.sizes["7"],md:a.w4V.sizes["8"]},color:y.BRAND,children:o})]}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["4"],md:a.w4V.sizes["5"]},lineHeight:{base:a.w4V.sizes["7"],md:a.w4V.sizes["7"]},color:a.w4V.colors[e].general.primary,children:n})]})]}),(0,t.jsxs)(a.BJc,{direction:{base:"column",lg:"row"},w:{base:"full",lg:"55%"},align:"flex-start",spacing:{base:a.w4V.sizes["8"],md:a.w4V.sizes["12"],lg:a.w4V.sizes["17"]},children:[(0,t.jsx)(a.Tku,{align:"flex-start",spacing:{base:a.w4V.sizes["4"],md:a.w4V.sizes["6"]},children:l.map((s,i)=>(0,t.jsxs)(a.ztN,{align:"flex-start",children:[(0,t.jsx)(a.EYj,{fontSize:{base:a.w4V.sizes["5"],md:a.w4V.sizes["5"]},children:(0,t.jsx)(k.zr8,{color:y.BULLET})}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["4"],md:a.w4V.sizes["5"]},lineHeight:{base:a.w4V.sizes["8"],md:a.w4V.sizes["8"]},color:a.w4V.colors[e].general.secondary,children:s})]},i))}),(0,t.jsx)(a.azJ,{w:{base:"full",md:"auto"},children:(0,t.jsx)(a.m_M,{trigger:c.isEnabled||!c.haveTooltip?"manual":"mouseenter focus",contentTooltip:(0,t.jsx)(a.m_M.Content,{children:(0,t.jsx)(a.EYj,{fontWeight:500,fontSize:a.w4V.sizes["3"],lineHeight:a.w4V.sizes["5"],textAlign:"center",children:c.haveTooltip&&c.tooltip})}),children:(0,t.jsx)(a.azJ,{w:"full",children:(0,t.jsx)(a.$nd,{w:"full",as:"a",href:c.isEnabled?c.url:void 0,target:c.openTarget,fontFamily:f.COMMON,disabled:!c.isEnabled,_disabled:{bg:y.DISABLED_BG,color:y.DISABLED_FG,pointerEvents:"none"},"data-analytics-id":c["data-analytics-id"],children:c.text})})})})]})]})};return(0,t.jsx)(a.azJ,{px:{base:a.w4V.sizes["5"],md:a.w4V.sizes["10"],lg:a.w4V.sizes["30"]},py:{base:a.w4V.sizes["15"],md:a.w4V.sizes["24"],lg:a.w4V.sizes["24"]},bg:a.w4V.colors[e].bg.secondary,children:(0,t.jsx)(a.mcf,{px:0,maxW:{lg:"1200px"},centerContent:!0,children:(0,t.jsxs)(a.Tku,{spacing:{base:a.w4V.sizes["10"],md:a.w4V.sizes["16"]},children:[(0,t.jsx)(a.EYj,{as:"h2",fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["8"],md:a.w4V.sizes["12"]},lineHeight:{base:a.w4V.sizes["12"],md:a.w4V.sizes["17"]},color:a.w4V.colors[e].general.primary,children:(0,t.jsx)(n.sA,{id:"zero2hero.program.title"})}),(0,t.jsx)(a.Tku,{spacing:{base:a.w4V.sizes["10"],md:a.w4V.sizes["12"]},children:w.map((e,s)=>(0,t.jsxs)(a.Tku,{w:"full",spacing:{base:a.w4V.sizes["10"],md:a.w4V.sizes["10"]},children:[(0,t.jsx)(a.cGx,{}),(0,t.jsx)(h,{...e})]},s))}),(0,t.jsx)(a.wvn,{above:"lg",children:(0,t.jsx)(a.cGx,{})})]})})})},J=()=>{let{colorMode:e}=(0,a.G67)(),s=[1,2,3].map(s=>({application:{title:(0,d.v)({id:"zero2hero.flow.events.".concat(s,".application.title"),colorMode:e}),date:(0,d.v)({id:"zero2hero.flow.events.".concat(s,".application.date"),colorMode:e})},happening:{title:(0,d.v)({id:"zero2hero.flow.events.".concat(s,".happening.title"),colorMode:e}),date:(0,d.v)({id:"zero2hero.flow.events.".concat(s,".happening.date"),colorMode:e})}})),i=s=>{let{idx:i,title:r,date:n,alt:o}=s;return(0,t.jsx)(a.azJ,{w:{base:i%2==0?"160px":"100px",md:"275px"},px:{base:0,md:a.w4V.sizes["4"]},py:{base:0,md:a.w4V.sizes["6"]},bg:{base:"transparent",md:a.w4V.colors[e].bg.secondary},rounded:a.w4V.sizes["3"],...o?{border:{base:"none",md:"".concat(a.w4V.sizes["0.5"]," dashed rgba(255, 255, 255, 0.15)")}}:{},children:(0,t.jsxs)(a.Tku,{align:"flex-start",children:[(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontWeight:j.PROGRAM_EVENT_DATE,fontSize:{base:a.w4V.sizes["3.5"],md:a.w4V.sizes["4"]},lineHeight:{base:a.w4V.sizes["4"],md:a.w4V.sizes["7"]},color:y.BRAND,children:n}),(0,t.jsx)(a.EYj,{as:"b",fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["3.5"],md:a.w4V.sizes["5"]},lineHeight:{base:a.w4V.sizes["6"],md:a.w4V.sizes["8"]},color:a.w4V.colors[e].general.primary,children:r})]})})};return(0,t.jsx)(a.azJ,{px:{base:a.w4V.sizes["5"],md:a.w4V.sizes["10"],lg:a.w4V.sizes["30"]},py:{base:a.w4V.sizes["15"],md:a.w4V.sizes["24"],lg:a.w4V.sizes["24"]},bg:a.w4V.colors[e].bg.primary,children:(0,t.jsx)(a.mcf,{px:0,maxW:{lg:"1200px"},centerContent:!0,children:(0,t.jsxs)(a.BJc,{direction:{base:"column",lg:"row"},w:"full",align:"stretch",spacing:{base:a.w4V.sizes["10"],md:a.w4V.sizes["18"]},children:[(0,t.jsxs)(a.Tku,{w:{base:"full",lg:"50%"},align:"flex-start",justify:"space-between",children:[(0,t.jsxs)(a.Tku,{align:{base:"flex-start",lg:"flex-start"},textAlign:{base:"start",lg:"start"},children:[(0,t.jsx)(a.EYj,{as:"h2",fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["8"],md:a.w4V.sizes["12"]},lineHeight:{base:a.w4V.sizes["12"],md:a.w4V.sizes["15"]},color:a.w4V.colors[e].general.primary,children:(0,d.v)({id:"zero2hero.flow.title",colorMode:e,style:{color:y.BRAND}})}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["4"],md:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["7"],md:a.w4V.sizes["10"]},color:a.w4V.colors[e].general.secondary,children:(0,d.v)({id:"zero2hero.flow.desc",colorMode:e})})]}),(0,t.jsx)(a.azJ,{w:{base:a.w4V.sizes["12"],md:a.w4V.sizes["12"],lg:a.w4V.sizes["40"]},h:{base:a.w4V.sizes["6"],md:a.w4V.sizes["10"],lg:"auto"},borderBottom:"".concat(a.w4V.sizes["0.5"]," solid ").concat(y.BRAND)})]}),(0,t.jsx)(a.azJ,{w:{base:"full",lg:"50%"},children:(0,t.jsx)(a.Tku,{children:s.map((r,n)=>(0,t.jsxs)(a.Tku,{children:[(0,t.jsxs)(a.ztN,{spacing:a.w4V.sizes["4"],children:[(0,t.jsx)(i,{...r.application,idx:2*n,alt:n>0}),(0,t.jsx)(k.rVT,{color:a.w4V.colors[e].general.secondary,fontSize:a.w4V.sizes["5"]}),(0,t.jsx)(i,{...r.happening,idx:2*n+1})]}),n<s.length-1&&(0,t.jsxs)(a.ztN,{spacing:a.w4V.sizes["4"],children:[(0,t.jsx)(a.azJ,{w:{base:2*n%2==0?"160px":"100px",md:"275px"}}),(0,t.jsx)(k.rVT,{visibility:"hidden",color:a.w4V.colors[e].general.secondary,fontSize:a.w4V.sizes["5"]}),(0,t.jsx)(a.ovh,{w:{base:(2*n+1)%2==0?"160px":"100px",md:"275px"},h:a.w4V.sizes["5"],children:(0,t.jsx)(k.pBv,{color:a.w4V.colors[e].general.secondary,fontSize:a.w4V.sizes["5"]})})]})]},n))})})]})})})};var P=i(39354),L=i.n(P);let Z=e=>{let{name:s,logo:i,url:r}=e,{colorMode:n}=(0,a.G67)();return(0,t.jsxs)(a.Tku,{...r?{as:"a",href:r,target:"_blank",_hover:{color:a.w4V.colors[n].general.accent}}:{},pos:"relative",color:a.w4V.colors[n].general.secondary,children:[(0,t.jsx)(a.azJ,{pos:"absolute",w:"full",h:"full"}),(0,t.jsx)(a._V3,{w:{base:a.w4V.sizes["15"],md:a.w4V.sizes["20"]},h:{base:a.w4V.sizes["15"],md:a.w4V.sizes["20"]},src:i,alt:s}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["3"],md:a.w4V.sizes["4"]},lineHeight:{base:a.w4V.sizes["5"],md:a.w4V.sizes["6"]},textAlign:"center",children:s})]})},q=e=>{let{title:s,group:i}=e,{colorMode:r}=(0,a.G67)();return(0,t.jsxs)(a.Tku,{spacing:{base:a.w4V.sizes["3"],md:a.w4V.sizes["5"]},children:[s&&(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["9"],md:a.w4V.sizes["5"]},lineHeight:{base:a.w4V.sizes["12"],md:a.w4V.sizes["7"]},color:a.w4V.colors[r].general.secondary,children:(0,t.jsx)(n.sA,{id:s})}),(0,t.jsx)(a.B_l,{justify:"center",spacing:{base:a.w4V.sizes["5"],md:a.w4V.sizes["10"]},children:i.map((e,s)=>{let{partner:i}=e;return(0,t.jsx)(a.Qeo,{w:a.w4V.sizes["30"],justifyContent:"center",children:(0,t.jsx)(Z,{...i})},i.name)})})]})},K=e=>{let{title:s,group:i}=e,{colorMode:r}=(0,a.G67)();return(0,t.jsxs)(a.Tku,{spacing:{base:a.w4V.sizes["3"],md:a.w4V.sizes["5"]},children:[s&&(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["4"],md:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["7"],md:a.w4V.sizes["10"]},color:a.w4V.colors[r].general.secondary,children:(0,t.jsx)(n.sA,{id:s})}),(0,t.jsx)(a.Tku,{spacing:{base:a.w4V.sizes["12"],md:a.w4V.sizes["15"]},children:i.map(e=>(0,t.jsx)(q,{...e},e.id))})]})},Q=e=>{let{title:s,group:i}=e,{colorMode:r}=(0,a.G67)();return(0,t.jsxs)(a.Tku,{spacing:{base:a.w4V.sizes["4"],md:a.w4V.sizes["5"]},children:[s&&(0,t.jsx)(a.EYj,{as:"h2",fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["8"],md:a.w4V.sizes["12"]},lineHeight:{base:a.w4V.sizes["12"],md:a.w4V.sizes["17"]},color:a.w4V.colors[r].general.primary,children:(0,t.jsx)(n.sA,{id:s})}),(0,t.jsx)(a.Tku,{spacing:{base:a.w4V.sizes["12"],md:a.w4V.sizes["15"]},children:i.map(e=>(0,t.jsx)(K,{...e},e.id))})]})},U=()=>{let{colorMode:e}=(0,a.G67)(),{data:[s]}=(0,r.useContext)(_),{types:i,categories:n,tiers:o,partnersByNestedGroups:l}=(0,r.useMemo)(()=>s.reduce((e,s)=>L()(e,{types:{$merge:{[s.type.id]:s.type}}
1,categories:{$merge:{[s.category.id]:s.category}},tiers:{$merge:{[s.tier.id]:s.tier}},partnersByNestedGroups:{[s.type.id]:e=>L()(e||{},{[s.category.id]:e=>L()(e||{},{[s.tier.id]:e=>L()(e||[],{$push:[s]})})})}}),{types:{},categories:{},tiers:{},partnersByNestedGroups:{}}),[s]),c=(0,r.useMemo)(()=>[i,n,o],[i,n,o]),d=(0,r.useCallback)(function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(Array.isArray(e)||s>=c.length)return e;let i=[];for(let t in e)i.push({...c[s][t],group:d(e[t],s+1)});return i},[c]),w=(0,r.useMemo)(()=>d(l),[d,l]),h=(0,r.useCallback)(e=>{for(let{group:s}of e)s&&h(s);return e.sort((e,s)=>e.order-s.order)},[]),p=(0,r.useMemo)(()=>h(w),[h,w]);return p.length>0?(0,t.jsx)(a.azJ,{px:{base:a.w4V.sizes["5"],md:a.w4V.sizes["10"],lg:a.w4V.sizes["25"]},py:{base:a.w4V.sizes["15"],md:a.w4V.sizes["24"],lg:a.w4V.sizes["24"]},bg:a.w4V.colors[e].bg.secondary,children:(0,t.jsx)(a.mcf,{mx:0,px:0,maxW:"full",centerContent:!0,children:(0,t.jsx)(a.Tku,{spacing:{base:a.w4V.sizes["15"],md:a.w4V.sizes["24"]},children:p.map(e=>(0,t.jsx)(Q,{...e},e.id))})})}):null},X=()=>{let{colorMode:e}=(0,a.G67)(),{formatMessage:s}=(0,n.tz)(),i=(0,r.useMemo)(()=>[[1,2],[1],[1],[1],[1],[1],[1],[1],[1],[1,2,3]].map((e,i)=>({no:"".concat(i+1).padStart(2,"0"),qs:s({id:"zero2hero.faqs.items.".concat(i+1,".qs")}),ansList:e.map(e=>s({id:"zero2hero.faqs.items.".concat(i+1,".ans.").concat(e)},{br:(0,t.jsx)("br",{})}))})),[s]);return(0,t.jsx)(a.azJ,{px:{base:a.w4V.sizes["5"],md:a.w4V.sizes["10"],lg:a.w4V.sizes["30"]},py:{base:a.w4V.sizes["15"],md:a.w4V.sizes["24"],lg:a.w4V.sizes["24"]},bg:a.w4V.colors[e].bg.primary,children:(0,t.jsx)(a.mcf,{px:0,maxW:{lg:"1200px"},centerContent:!0,children:(0,t.jsxs)(a.Tku,{w:"full",align:{base:"flex-start",md:"center"},spacing:a.w4V.sizes["10"],children:[(0,t.jsx)(a.EYj,{as:"h2",fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["9"],md:a.w4V.sizes["12"]},lineHeight:{base:a.w4V.sizes["12"],md:a.w4V.sizes["17"]},color:a.w4V.colors[e].general.primary,children:(0,t.jsx)(n.sA,{id:"zero2hero.faqs.title"})}),(0,t.jsx)(a.nD3,{w:"full",allowMultiple:!0,children:i.map(s=>{let{no:i,qs:r,ansList:n}=s;return(0,t.jsx)(a.AsP,{mt:a.w4V.sizes["5"],bg:{base:"transparent",md:a.w4V.colors[e].bg.secondary},border:0,rounded:a.w4V.sizes["5"],children:s=>{let{isExpanded:o}=s;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{children:(0,t.jsxs)(a.J2t,{px:{base:0,md:a.w4V.sizes["10"]},pt:{base:a.w4V.sizes["8"],md:a.w4V.sizes["8"]},pb:{base:0,md:a.w4V.sizes["8"]},h:"auto",alignItems:"flex-start",_hover:{bg:"transparent"},children:[(0,t.jsx)(a.azJ,{flex:"1",textAlign:"left",children:(0,t.jsxs)(a.ztN,{spacing:a.w4V.sizes["8"],align:{base:"flex-start",md:"center"},children:[(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontWeight:j.FAQ_NO,fontSize:{base:a.w4V.sizes["8"],md:a.w4V.sizes["12"]},lineHeight:{base:a.w4V.sizes["10"],md:a.w4V.sizes["17"]},color:a.w4V.colors[e].general.secondary,children:i}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["5"],md:a.w4V.sizes["8"]},lineHeight:{base:a.w4V.sizes["8"],md:a.w4V.sizes["12"]},color:a.w4V.colors[e].general.primary,children:r})]})}),(0,t.jsx)(a.ovh,{w:{base:a.w4V.sizes["8"],md:a.w4V.sizes["12"]},h:{base:a.w4V.sizes["8"],md:a.w4V.sizes["12"]},color:a.w4V.colors[e].general.primary,bg:a.w4V.colors[e].bg.primary,rounded:"full",children:o?(0,t.jsx)(k.QGg,{}):(0,t.jsx)(k.REV,{})})]})}),(0,t.jsx)(a.vrD,{pl:{base:"70px",md:"130px"},pr:a.w4V.sizes["10"],pb:a.w4V.sizes["8"],children:(0,t.jsx)(a.Tku,{align:"flex-start",children:n.map((s,i)=>(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["4"],md:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["7"],md:a.w4V.sizes["10"]},color:a.w4V.colors[e].general.secondary,children:s},i))})})]})}},r)})})]})})})},ee=()=>{let{colorMode:e}=(0,a.G67)(),{formatMessage:s}=(0,n.tz)(),i=(0,a.ADb)({base:"sm",md:"md",lg:"lg"})||"lg",r=(0,a.ADb)({base:"0 0 0 0",md:"0 ".concat(a.w4V.sizes["4"]," ").concat(a.w4V.sizes["4"]," 0"),lg:"0 ".concat(a.w4V.sizes["4"]," ").concat(a.w4V.sizes["4"]," 0")})||"0 ".concat(a.w4V.sizes["4"]," ").concat(a.w4V.sizes["4"]," 0");return(0,t.jsx)(a.azJ,{px:{base:0,md:a.w4V.sizes["10"],lg:a.w4V.sizes["30"]},pb:{base:a.w4V.sizes["15"],md:a.w4V.sizes["24"],lg:a.w4V.sizes["24"]},bg:a.w4V.colors[e].bg.primary,children:(0,t.jsx)(a.mcf,{px:0,maxW:{lg:"1200px"},centerContent:!0,children:(0,t.jsx)(a.azJ,{mx:"auto",maxW:{base
1:"100%",lg:"1200px"},bg:a.w4V.colors[e].bg.secondary,rounded:{base:0,md:a.w4V.sizes["4"]},children:(0,t.jsxs)(a.BJc,{direction:{base:"column-reverse",md:"row"},spacing:{md:0},children:[(0,t.jsx)(a.azJ,{w:{md:"55%",lg:"51%"},px:{base:a.w4V.sizes["7"],md:a.w4V.sizes["8"],lg:a.w4V.sizes["12"]},py:{base:a.w4V.sizes["8"],md:a.w4V.sizes["10"],lg:a.w4V.sizes["10"]},children:(0,t.jsxs)(a.Tku,{h:"full",spacing:{base:a.w4V.sizes["1"],md:a.w4V.sizes["3"]},justify:"center",align:{base:"center",md:"flex-start"},textAlign:{base:"center",md:"start"},children:[(0,t.jsx)(a.EYj,{as:"h2",fontFamily:f.COMMON,fontWeight:"bold",fontSize:{base:a.w4V.sizes["6"],lg:a.w4V.sizes["12"]},lineHeight:{base:a.w4V.sizes["10"],lg:a.w4V.sizes["17"]},color:a.w4V.colors[e].general.primary,children:(0,d.v)({id:"zero2hero.join-as-partner.title",colorMode:e})}),(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["3.5"],lg:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["6"],lg:a.w4V.sizes["10"]},color:a.w4V.colors[e].general.secondary,children:s({id:"zero2hero.join-as-partner.desc"})}),(0,t.jsx)(a.azJ,{w:{base:"full",md:"auto"},pt:a.w4V.sizes["5"],children:(0,t.jsx)(a.$nd,{w:"full",as:"a",href:v.JOIN_AS_PARTNER.URL,target:"_blank","data-analytics-id":x.I.zero2hero.click_Zero2Hero_joinUsAsPartner_joinUs,children:(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["4"],lg:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["7"],lg:a.w4V.sizes["10"]},children:s({id:"zero2hero.join-as-partner.cta.text"})})})})]})}),(0,t.jsx)(a._V3,{w:{md:"45%",lg:"49%"},fit:"cover",src:"".concat(w.J$,"/images/zero2hero/").concat(i,"/build-on-bnb-chain.png"),alt:"Build on BNB Chain",borderRadius:r})]})})})})},es=()=>{let{colorMode:e}=(0,a.G67)(),{formatMessage:s}=(0,n.tz)(),i=(0,a.ADb)({base:!1,lg:!0}),[o,l]=(0,r.useState)(!i);return(0,r.useEffect)(()=>l(!i),[i]),(0,t.jsx)(a.mcf,{maxW:"full",px:{base:a.w4V.sizes["5"],md:a.w4V.sizes["10"],lg:a.w4V.sizes["30"]},py:{base:a.w4V.sizes["8"],md:a.w4V.sizes["9"],lg:a.w4V.sizes["12"]},bg:a.w4V.colors[e].bg.secondary,children:(0,t.jsxs)(a.Tku,{align:{base:"center",md:"flex-start"},textAlign:{base:"center",md:"start"},spacing:a.w4V.sizes["5"],children:[(0,t.jsx)(a.EYj,{as:"b",fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["10"]},color:a.w4V.colors[e].general.primary,children:(0,t.jsx)(n.sA,{id:"zero2hero.disclaimer.title"})}),(o?[1]:[1,2,3,4]).map(i=>(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["3.5"],md:a.w4V.sizes["3.5"]},lineHeight:{base:a.w4V.sizes["5"],md:a.w4V.sizes["6"]},color:a.w4V.colors[e].general.secondary,children:s({id:"zero2hero.disclaimer.desc.".concat(i)})},i)),o&&(0,t.jsx)(a.EYj,{as:"button",fontWeight:"bold",fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["3.5"]},lineHeight:{base:a.w4V.sizes["7"]},color:a.w4V.colors[e].general.primary,_hover:{color:y.BRAND},onClick:()=>l(!1),children:"Read More"})]})})},ei=()=>{let{colorMode:e}=(0,a.G67)(),{isOpen:s,onOpen:i,onClose:o}=(0,a.j16)(),l=(0,r.useCallback)(()=>{window.location.hash="none",w("")},[]);(0,r.useEffect)(()=>{window.location.hash===E.TRIGGER&&i()},[i]),(0,r.useEffect)(()=>{let e=()=>{window.location.hash===E.TRIGGER?i():o()};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[i,o]);let[c,w]=(0,r.useState)("");return(0,t.jsxs)(a.aFV,{isOpen:s,onClose:l,isCentered:!0,children:[(0,t.jsx)(a.mHW,{}),(0,t.jsxs)(a.$mQ,{p:a.w4V.sizes["10"],children:[(0,t.jsx)(a.rQ0,{pt:0,children:(0,t.jsx)(a.EYj,{as:"b",fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["6"],md:a.w4V.sizes["6"]},lineHeight:{base:a.w4V.sizes["10"],md:a.w4V.sizes["10"]},color:a.w4V.colors[e].general.primary,children:(0,t.jsx)(n.sA,{id:"zero2hero.lang-wise-link.title"})})}),(0,t.jsx)(a.s_y,{}),(0,t.jsx)(a.cwr,{children:(0,t.jsxs)(a.Tku,{spacing:a.w4V.sizes["6"],children:[(0,t.jsx)(a.EYj,{fontFamily:f.COMMON,fontSize:{base:a.w4V.sizes["4"],md:a.w4V.sizes["4"]},lineHeight:{base:a.w4V.sizes["7"],md:a.w4V.sizes["7"]},color:a.w4V.colors[e].general.secondary,textAlign:"center",children:(0,d.v)({id:"zero2hero.lang-wise-link.desc",colorMode:e})}),(0,t.jsx)(a.l6P,{placeholder:(0,d.v)({id:"zero2hero.lang-wise-link.placeholder",colorMode:e}),onChange:e=>{let{target:{value:s}}=e;w(s)},children:E.LANGS.map(e=>{let{text:s,link:i}=e;return(0,t.jsx)("option",{value:i,children:s},s)})})]})}),(0,t.jsx)(a.jlY,{children:(0,t.jsx)(a.$nd,{w:"full",as:"a",href:c,target:"_blank",disabled:!c,_disabled:{bg:y.DISABLED_BG,color:y.DISABLED_FG,pointerEvents:"none"},"data-analytics-id":x.I.zero2hero.click_Zero2Hero_popup_confirm,onClick:()=>setTimeout(l,200),children:(0,t.jsx)(n.sA,{id:"zero2hero.lang-wise-link.cta.text"})})})]})]})},et=()=>{let{formatMessage:e}=(0,n.tz)();return(0,t.jsx)(l.PE,{header:(0,t.jsx)(o.QQ,{children:(0,t.jsx)(l.Y9,{})}),seoHeader:(0,t.jsx)(l.g7,{title:e({id:"zero2hero.seo.title"}),description:e({id:"zero2hero.seo.desc"}),jsonLd:{breadcrumbs:[{name:"Home",url:"https://www.bnbchain.org/en"},{name:"Zero2Hero Builder Series",url:"https://www.bnbchain.org/en/zero2hero-builder-series"}]}}),legacyPage:!0,children:(0,t.jsxs)(a.QQ4,{children:[(0,t.jsx)(M,{}),(0,t.jsx)(C,{}),(0,t.jsx)(I,{}),(0,t.jsx)($,{}),(0,t.jsx)(J,{}),(0,t.jsx)(U,{}),(0,t.jsx)(X,{}),(0,t.jsx)(ee,{}),(0,t.jsx)(es,{}),(0,t.jsx)(ei,{})]})})};var er=!0;let en=e=>{let{messages:s,domain:i,data:r}=e;return(0,t.jsx)(n.Dk,{messages:s,children:(0,t.jsx)(O.Provider,{value:{domain:i},children:(0,t.jsx)(_.Provider,{value:{data:r},children:(0,t.jsx)(et,{})})})})}},84812:e=>{"use strict";e.exports=function(e,s,i){s.prototype.isBetween=function(e,s,t,r){var n=i(e),a=i(s),o="("===(r=r||"()")[0],l=")"===r[1];return(o?this.isAfter(n,t):!this.isBefore(n,t))&&(l?this.isBefore(a,t):!this.isAfter(a,t))||(o?this.isBefore(n,t):!this.isAfter(n,t))&&(l?this.isAfter(a,t):!this.isBefore(a,t))}}},85262:(e,s,i)=>{"use strict";i.d(s,{v:()=>a});var t=i(8194),r=i(85545);i(95562);var n=i(93722);let a=e=>{let{id:s,colorMode:i,style:a,values:o}=e;return(0,t.jsx)(n.sA,{id:s,values:{accent:e=>(0,t.jsx)(r.azJ,{as:"span",color:r.w4V.colors[i].general.accent,sx:a,children:e}),b:e=>(0,t.jsx)("b",{children:e}),br:(0,t.jsx)("br",{}),...o}})}}},e=>{e.O(0,[8914,3410,1324,7879,6698,636,6593,8792],()=>e(e.s=43142)),_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.