1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8067],{13118:(e,t,a)=>{a.d(t,{K:()=>o,n:()=>s});let r={label:"Creator share",value:"50% of every trading fee"},n={flat:[{label:"Starting Price",value:"$1.00"},{label:"Graduation",value:"$1B market cap, then an AMM"},{label:"Potential Upside",value:"Under 0.1% to a $100M market cap"},{label:"Trading fee",value:"0.30% flat"},r,{label:"Total supply",value:"1 billion coins"}],reserve:[{label:"Starting Price",value:"$1.00"},{label:"Graduation",value:"$100M market cap, then an AMM"},{label:"Potential Upside",value:"100\xd7 to a $100M market cap"},{label:"Trading fee",value:"0.90% â 0.30% over 60 days"},r,{label:"Total supply",value:"1 million coins"}],degen:[{label:"Starting Price",value:"$0.0000033"},{label:"Graduation",value:"$50K market cap, then an AMM"},{label:"Potential Upside",value:"30,400\xd7 to a $100M market cap"},{label:"Trading fee",value:"99% for 5 seconds, then 0.90% â 0.30%"},r,{label:"Total supply",value:"1 billion coins"}]},l=["Graduation","Trading fee","Total supply"];function o(e){return n[e]}function s(e){return l.map(t=>{let a=n[e].find(e=>e.label===t);if(!a)throw Error('Missing launch fact "'.concat(t,'" for ').concat(e));return a})}},32015:(e,t,a)=>{a.d(t,{FK:()=>b,bO:()=>g});var r=a(95155),n=a(13118),l=a(25016),o=a(61833),s=a(54008);let i=o.Ti,c={width:640,height:300,left:36,right:16,top:28,bottom:32};function d(e){return"degen"===e?"var(--theme-coin-degen)":"flat"===e?"var(--theme-coin-streamer)":"var(--theme-coin-reserve)"}function u(e,t){let a=c.width-c.left-c.right;return c.left+e/t.maxQuote*a}function m(e,t){let a=c.height-c.top-c.bottom,r=t.maxMultiple-t.minMultiple,n=Math.min(1,Math.max(0,(e-t.minMultiple)/r));return c.top+(1-n)*a}function h(e){let{cx:t,cy:a,color:n}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("circle",{cx:t,cy:a,r:"6.5",fill:n}),(0,r.jsx)("circle",{cx:t,cy:a,r:"2.4",fill:"white"})]})}function p(e,t){return t.fdv/e.openFdv}function x(e,t,a){return e.map((e,r)=>"".concat(0===r?"M":"L").concat(u(e.quote,a).toFixed(2),",").concat(m(p(t,e),a).toFixed(2))).join(" ")}function f(e){let{model:t,color:a}=e,n=(0,s.Jr)(t.product),l=(0,s.JV)(t,n.maxQuote),o=Math.max(1,Math.floor(l.length/14)),i=l.filter((e,t)=>t%o==0||t===l.length-1),c=n.maxMultiple-n.minMultiple,d=i.map((e,a)=>{let r=e.quote/n.maxQuote*20,l=12-(p(t,e)-n.minMultiple)/c*10;return"".concat(0===a?"M":"L").concat(r.toFixed(2),",").concat(Math.max(1,l).toFixed(2))}).join(" ");return(0,r.jsx)("svg",{width:"20",height:"14",viewBox:"0 0 20 14","aria-hidden":"true",children:(0,r.jsx)("path",{d:d,fill:"none",stroke:a,strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round"})})}function v(e){var t,a,n;let{model:l}=e,o=null!=(t=l.accent)?t:d(l.product),i=null!=(a=l.plotId)?a:l.product,f="curve-fill-".concat(i),v="curve-glow-".concat(i),b=null!=(n=l.window)?n:(0,s.Jr)(l.product),g=(0,s.JV)(l,b.maxQuote),y=g[g.length-1],j="reserve"===l.product?g.find(e=>1>Math.abs(e.quote-1e4)):void 0,k="degen"===l.product?g.find(e=>1>Math.abs(e.quote-1e4)):void 0,M=j?g.filter(e=>e.quote<=1e4):[];return(0,r.jsxs)("div",{className:"relative aspect-[640/300] w-full",role:"img","aria-label":"Flat"===l.name?"Flat Curve through the first $50,000. Price stays at $1.":"reserve"===l.product?"Reserve over the first $50,000 in. Price stays near $1 for the first $10,000, then reaches about ".concat("$".concat((y.fdv/1e6).toFixed(2)),"."):"Degen through the first $50,000 in. The bonding curve graduates near $48K at $10,000, then the pool reaches about ".concat((0,s.PA)(y.fdv),"."),children:[(0,r.jsxs)("svg",{viewBox:"0 0 ".concat(c.width," ").concat(c.height),className:"absolute inset-0 h-full w-full","aria-hidden":"true",children:[(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:f,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,r.jsx)("stop",{offset:"0%",stopColor:o,stopOpacity:"0.4"}),(0,r.jsx)("stop",{offset:"100%",stopColor:o,stopOpacity:"0"})]}),(0,r.jsxs)("filter",{id:v,x:"-20%",y:"-20%",width:"140%",height:"140%",children:[(0,r.jsx)("feGaussianBlur",{stdDeviation:"3.5",result:"blur"}),(0,r.jsxs)("feMerge",{children:[(0,r.jsx)("feMergeNode",{in:"blur"}),(0,r.jsx)("feMergeNode",{in:"SourceGraphic"})]})]})]}),b.multipleTicks.map(e=>{let t=m(e,b);return(0,r.jsx)("line",{x1:c.left,x2:c.width-c.right,y1:t,y2:t,stroke:"currentColor",strokeOpacity:"0.14",strokeDasharray:"3 5"},e)}),(null!=j?j:k)&&(0,r.jsx)("line",{x1:u((null!=j?j:k).quote,b),x2:u((null!=j?j:k).quote,b),y1:c.top,y2:m(b.minMultiple,b),stroke:"currentColor",strokeOpacity:"0.2",strokeDasharray:"2 4"}),M.length>1&&(0,r.jsx)("path",{d:x(M,l,b),fill:"none",stroke:o,strokeWidth:"4",strokeLinejoin:"round",strokeLinecap:"round"}),(0,r.jsx)("path",{d:function(e,t,a){if(0===e.length)return"";let r=m(a.minMultiple,a).toFixed(2),n=u(e[0].quote,a).toFixed(2),l=u(e[e.length-1].quote,a).toFixed(2);return"".concat(x(e,t,a)," L").concat(l,",").concat(r," L").concat(n,",").concat(r," Z")}(g,l,b),fill:"url(#".concat(f,")")}),(0,r.jsx)("path",{d:x(g,l,b),fill:"none",stroke:o,strokeWidth:"2.75",strokeLinejoin:"round",strokeLinecap:"round",filter:"url
1(#".concat(v,")")}),g[0]&&(0,r.jsx)(h,{cx:u(g[0].quote,b),cy:m(p(l,g[0]),b),color:o}),(0,r.jsx)(h,{cx:u(y.quote,b),cy:m(p(l,y),b),color:o}),j&&(0,r.jsx)(h,{cx:u(j.quote,b),cy:m(p(l,j),b),color:o})]}),b.multipleTicks.map(e=>(0,r.jsx)("span",{className:"pointer-events-none absolute text-[10px] leading-none text-[var(--theme-text-muted)]",style:{left:0,top:"".concat(m(e,b)/c.height*100,"%"),transform:"translateY(-50%)"},children:function(e){if(e>=1e9){let t=e/1e9;return"".concat(t>=10?t.toFixed(0):t.toFixed(1),"B\xd7")}if(e>=1e6){let t=e/1e6;return"".concat(t>=10?t.toFixed(0):t.toFixed(1),"M\xd7")}return e>=1e4?"".concat(Math.round(e/1e3),"k\xd7"):"".concat(e,"\xd7")}(e)},e)),b.quoteTicks.filter(e=>e>0).map(e=>(0,r.jsx)("span",{className:"pointer-events-none absolute text-[10px] leading-none text-[var(--theme-text-muted)]",style:{left:"".concat(u(e,b)/c.width*100,"%"),bottom:2,transform:"translateX(-50%)"},children:function(e){if(0===e)return"$0";if(e>=1e6){let t=e/1e6,a=Number.isInteger(t)?String(t):t>=10?t.toFixed(0):t.toFixed(1);return"$".concat(a,"M")}if(e>=1e3){let t=e/1e3,a=Number.isInteger(t)?String(t):t.toFixed(1);return"$".concat(a,"K")}return(0,s.PA)(e)}(e)},e))]})}function b(e){let{model:t}=e;return(0,r.jsx)("div",{className:"overflow-hidden rounded-xl border border-[var(--theme-border)] bg-black/20 px-2 py-2 text-[var(--theme-text-muted)]",children:(0,r.jsx)(v,{model:t})})}function g(e){let{value:t,onChange:a}=e,o=(0,s.t3)(t);return(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("div",{role:"radiogroup","aria-label":"Curve shape",className:"grid grid-cols-3 gap-2",children:i.map(e=>{let n=(0,s.t3)(e),o=e===t,i=d(e);return(0,r.jsxs)("button",{type:"button",role:"radio","aria-checked":o,onClick:()=>a(e),className:(0,l.cn)("flex items-center justify-center gap-2 rounded-full border px-3 py-2 text-sm font-semibold transition-colors",o?"border-white/80 bg-white/5 text-[var(--theme-text-primary)]":"border-[var(--theme-modal-border)] text-[var(--theme-text-muted)] hover:border-white/30"),children:[(0,r.jsx)(f,{model:n,color:i}),n.name]},e)})}),(0,r.jsx)("div",{className:"overflow-hidden rounded-xl border border-[var(--theme-modal-border)] bg-black/25 px-2 py-2 text-[var(--theme-text-muted)]",children:(0,r.jsx)(v,{model:o})}),(0,r.jsx)("dl",{className:"grid grid-cols-3 gap-2",children:(0,n.n)(t).map(e=>(0,r.jsxs)("div",{className:"rounded-lg border border-[var(--theme-border)] px-2 py-2",children:[(0,r.jsx)("dt",{className:"text-[11px] uppercase tracking-wide text-[var(--theme-text-muted)]",children:e.label}),(0,r.jsx)("dd",{className:"mt-0.5 text-sm font-semibold text-[var(--theme-text-primary)]",children:e.value})]},e.label))})]})}},54008:(e,t,a)=>{function r(e){return"degen"===e?{maxQuote:5e4,quoteTicks:[0,1e4,2e4,3e4,4e4,5e4],minMultiple:1,maxMultiple:400,multipleTicks:[1,100,200,300,400]}:"flat"===e?{maxQuote:5e4,quoteTicks:[0,1e4,2e4,3e4,4e4,5e4],minMultiple:.98,maxMultiple:1.02,multipleTicks:[1]}:{maxQuote:5e4,quoteTicks:[0,1e4,2e4,3e4,4e4,5e4],minMultiple:1,maxMultiple:3,multipleTicks:[1,2,3]}}function n(e,t){var a,r;let n=Math.min(t,null!=(r=null==(a=e.samples[e.samples.length-1])?void 0:a.quote)?r:0),l=e.samples.filter(e=>e.quote<=n),o=c(e.samples,n),s=l[l.length-1];return(!s||Math.abs(s.quote-o.quote)>.5)&&l.push(o),l}a.d(t,{JV:()=>n,Jr:()=>r,PA:()=>d,Up:()=>x,t3:()=>v});let l=[1,1.05,1.4488,1.9992,2.7585,3.8064,5.2522,7.2472,10,13.895,19.307,26.827,37.2759,51.7947,71.9686,100],o=[9.267,1,1.496,2.237,3.345,5.002,7.481,11.187,16.804,25.35,38.243,57.693,87.034,131.299,198.077],s=[32893e-10,46025e-10,64401e-10,90113e-10,12609e-9,17643e-9,24687e-9,345431e-10,483344e-10];function i(e,t,a,r){let n=[{quote:0,fdv:e[0]*a,supplyPct:0}],l=0,o=0;for(let s=0;s<t.length;s++){let i=e[s],c=e[s+1],d=t[s]*r,u=Math.sqrt(i),m=Math.sqrt(c);for(let e=1;e<=8;e++){let t=u+e/8*(m-u),r=t*t,s=l+d*(t-u),i=o+d*(1/u-1/t);n.push({quote:s,fdv:r*a,supplyPct:i/a*100})}l+=d*(m-u),o+=d*(1/u-1/m)}return n}function c(e,t){if(t<=e[0].quote)return e[0];let a=e[e.length-1];if(t>=a.quote)return a;for(let a=1;a<e.length;a++){let r=e[a];if(r.quote<t)continue;let n=e[a-1],l=r.quote-n.quote,o=0===l?0:(t-n.quote)/l;return{quote:t,fdv:n.fdv+o*(r.fdv-n.fdv),supplyPct:n.supplyPct+o*(r.supplyPct-n.supplyPct)}}return a}function d(e){if(!Number.isFinite(e))return"$0";let t=Math.abs(e),a=e<0?"-":"";if(t>=1e6){let e=t/1e6,r=e>=100?0:e>=10?1:2,n=e.toFixed(r).replace(/(\.\d*?)0+$/,"$1").replace(/\.$/,"");return"".concat(a,"$").concat(n,"M")}if(t>=1e4){let e=t/1e3,r=e>=100?e.toFixed(0):e.toFixed(1);return"".concat(a,"$").concat(r,"K")}if(t>=1e3){let e=1e3*Math.round(t/1e3);return 1>
1Math.abs(t-e)?"".concat(a,"$").concat(Math.round(t).toLocaleString("en-US")):"".concat(a,"$").concat((t/1e3).toFixed(1),"K")}return"".concat(a,"$").concat(t.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}))}function u(e,t){return 1e4+t/2.1257716923009826*(Math.pow(e,1.75)-1.0891338935339392)/1.75}function m(e,t){let a=1.05,r=l[l.length-1];for(let n=0;n<48;n++){let n=(a+r)/2;u(n,t)<e?a=n:r=n}return(a+r)/2}function h(e,t,a){return a+t/2.1257716923009826*(Math.pow(Math.max(1.05,e),.75)-1.0372703747942278)/.75}function p(e,t,a,r){let n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!(a>e.quote))return[];let l=e.fdv/t,o=e.quote/l,s=e.supplyPct/100*t,i=new Set;for(let t=1;t<=r;t++){let n=t/r;i.add(Math.exp(Math.log(e.quote)+n*(Math.log(a)-Math.log(e.quote))))}for(let t of n)t>e.quote&&t<a&&i.add(t);return i.add(a),[...i].sort((e,t)=>e-t).map(a=>{let r=l*(a/e.quote)**2,n=Math.min(t,s+o*(1-e.quote/a));return{quote:a,fdv:r*t,supplyPct:n/t*100}})}function x(){let e=r("flat"),t=[0,e.maxQuote].map(e=>({quote:e,fdv:1e9,supplyPct:e/1e9*100})),a=t[t.length-1];return{product:"flat",name:"Flat",plotId:"flat",accent:"var(--theme-coin-streamer)",window:e,blurb:"Price stays at $1.",openFdv:1e9,graduationFdv:1000999999.9999999,graduationQuote:a.quote,samples:t,markers:[],cap:a,stats:[]}}let f={degen:function(){let e=s[0],t=1e4/(Math.sqrt(s[s.length-1])-Math.sqrt(e)),a=s.slice(0,-1).map(()=>1),r=i(s,a,1e9,t),n=function(e){let t=e[e.length-1];return[...e,...p(t,1e9,1e8,64,[5e4,1e6])]}(r),l=r[r.length-1],o=[1e3,5e3].map(e=>c(n,e)),u=o[0];return{product:"degen",name:"Degen",blurb:"No floor. Opens near a $3.3K market cap and graduates near $48K once $10K is in.",openFdv:n[0].fdv,graduationFdv:l.fdv,graduationQuote:l.quote,samples:n,markers:o,cap:l,stats:[{value:d(l.quote),label:"raised at graduation"},{value:"".concat(Math.round(l.supplyPct),"%"),label:"of the supply sold on the curve"},{value:d(u.quote),label:"buys ".concat(u.supplyPct.toFixed(1),"% of supply")}]}}(),reserve:function(){let e=1e4/(o[0]*(Math.sqrt(l[1])-Math.sqrt(l[0]))),t=i(l,o,1e6,e),a=function(e,t){let a=o[1]*t,r=e.find(e=>1>Math.abs(e.quote-1e4));if(!r)return[...e];let n=r.supplyPct/100*1e6,s=e.filter(e=>e.quote<=10000.01),i=[];for(let e=1;e<=96;e++){let t=1e4+4e4*e/96,r=m(t,a),l=h(r,a,n);i.push({quote:t,fdv:1e6*r,supplyPct:l/1e6*100})}let c=l[l.length-1],d=u(c,a),x=[],f=[];for(let e=1;e<=24;e++)f.push(5e4+95e4*e/24);for(let e=1;e<=36;e++)f.push(1e6+(d-1e6)*e/36);for(let e of f){let t=1>Math.abs(e-d),r=t?c:m(e,a),l=h(r,a,n);x.push({quote:t?d:e,fdv:1e6*r,supplyPct:l/1e6*100})}let v=[...s,...i,...x];return[...v,...p(v[v.length-1],1e6,1e8,48,[1e6])]}(t,e),r=t[t.length-1],n=t.reduce((e,t)=>Math.abs(t.fdv-1e7)<Math.abs(e.fdv-1e7)?t:e);return{product:"reserve",name:"Reserve",blurb:"Opens at a $1M market cap and stays near $1 for the first $10K. Graduation is about $30M in, at a $100M cap.",openFdv:a[0].fdv,graduationFdv:r.fdv,graduationQuote:r.quote,samples:a,markers:[n],cap:r,stats:[{value:d(r.quote),label:"raised at graduation"},{value:"".concat(Math.round(r.supplyPct),"%"),label:"of the supply sold on the curve"},{value:d(1e4),label:"holds the $1 floor"}]}}(),flat:x()};function v(e){return f[e]}},88067:(e,t,a)=>{a.d(t,{Z:()=>f});var r=a(95155),n=a(12115),l=a(34788),o=a(32015),s=a(13118),i=a(54008);let c=[{key:"degen",tabLabel:"Degen Curve",name:"Degen Curve",chart:"degen",identityVar:"--theme-coin-degen",tagline:"No floor. Graduates at $10K",description:"Degen Curve mints at a $3.3K market cap and climbs 15\xd7 to graduation, then trades on a locked AMM. No floor, and a 99% opening fee prices snipers out.",note:"Preferred memelord launch",facts:(0,s.K)("degen")},{key:"reserve",tabLabel:"Reserve Curve",name:"Reserve Curve",chart:"reserve",identityVar:"--theme-coin-reserve",tagline:"$1 for the first $10K, then it can run",description:"Reserve Curve starts at $1. The first $10K stays near that floor. Then the price climbs as more people join. You can always sell back into the curve.",note:"Memelord launch",facts:(0,s.K)("reserve")},{key:"flat",tabLabel:"Flat Curve",name:"Flat Curve",chart:"flat",identityVar:"--theme-coin-streamer",tagline:"Price stays at $1",description:"Flat Curve holds the same $1 price no matter how many people buy or sell. The price stays flat by design. It is a membership coin, not a chart to trade.",note:"Streamers launch only this curve. Memelords can launch it too.",facts:(0,s.K)("flat")}],d={key:"odyssey",tabLabel:"Odyssey",name:"Odyssey",image:"/odyssey.webp",tagline:"One planet at a time",description:"Every coin climbs space milestones shown on its progress bar. Flat Curve, Reserve Curve and Degen Curve all advance as their circulating market cap grows. The further it gets, the bigger the journey.",note:"Shared by all three bonding curves",planets:[{emoji:"\uD83C\uDF0D",name:"Earth",range:"$0 â $25K"},{emoji:"\uD83D\uDE80",name:"Liftoff",range:"$25K â $50K"},{emoji:"\uD83C\uDF19",name:"Moon",range:"$50K â $100K"},{emoji:"\uD83D\uDD34",name:"Mars",range:"$100K â $250K"},{emoji:"\uD83D\uDFE0",name:"Jupiter",range:"$250K â $500K"},{emoji:"\uD83E\uDE90",name:"Saturn",range:"$500K â $1M"},{emoji:"âª",name:"Uranus",range:"$1M â $2.5M"},{emoji:"\uD83D\uDD35",name:"Neptune",range:"$2.5M â $5M"},{emoji:"âï¸",name:"Asteroids",range:"$5M â $10M"},{emoji:"\uD83C\uDF0C",name:"Galaxy",range:"$10M+"}]},u=[...c,d],m=e=>"launchpad-tab-".concat(e.key),h=e=>"launchpad-panel-".concat(e.key);function p(e){let{tab:t,isActive:a,onSelect:n,className:l=""}=e;return(0,r.jsx)("button",{type:"button",role:"tab",id:m(t),"aria-selected":a,"aria-controls":h(t),onClick:n,className:"min-h-11 w-full whitespace-nowrap rounded-lg px-2 py-2 text-center text-[13px] font-semibold leading-tight transition-colors max-sm:border max-sm:border-[var(--theme-border)] max-sm:bg-[var(--theme-surface-elevated,rgba(255,255,255,0.03))] sm:min-h-0 sm:px-3 sm:py-2 sm:text-sm ".concat(a?t.identityVar?"":"text-[var(--theme-button-text)]":t.identityVar?"":"text-[var(--theme-text-secondary)] hover:text-[var(--theme-text-primary)]"," ").concat(l),style:t.identityVar?a?{backgroundColor:"color-mix(in srgb, var(".concat(t.identityVar,") 20%, transparent)"),color:"var(".concat(t.identityVar,")")}:{color:"var(".concat(t.identityVar,")")}:a?{backgroundImage:"var(--theme-gradient-button)"}:void 0,children:t.tabLabel})}function x(e){var t;let{tab:a,isActive:n}=e;return(0,r.jsxs)("div",{role:"tabpanel",id:h(a),"aria-labelledby":m(a),className:"col-start-1 row-start-1 grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-5 ".concat(n?"":"invisible"),children:[(0,r.jsxs)("div",{children:[a.chart?(0,r.jsx)(o.FK,{model:{..."flat"===(t=a.chart)?(0,i.Up)():(0,i.t3)(t),plotId:"how-".concat(t)}}):(0,r.jsx)("div",{className:"relative mx-auto aspect-[16/10] w-full max-w-md md:max-w-none",children:(0,r.jsx)("img",{src:a.image,alt:"".concat(a.name," illustration"),className:"h-full w-full object-contain"})}),(0,r.jsx)("h3",{className:"mt-3 text-lg font-semibold text-[var(--theme-text-primary)] md:mt-4",children:a.name}),(0,r.jsx)("p",{className:"text-sm font-medium",style:{color:a.identityVar?"var(".concat(a.identityVar,")"):"var(--theme-primary)"},children:a.tagline}),(0,r.jsx)("p",{className:"mt-1.5 text-sm font-medium text-[var(--theme-text-primary)]",children:a.note}),(0,r.jsx)("p",{className:"mt-1 text-sm text-[var(--theme-text-secondary)]",children:a.description})]}),(0,r.jsxs)("div",{children:[a.facts&&(0,r.jsx)("dl",{className:"grid grid-cols-1 gap-2 sm:grid-cols-2 md:grid-cols-1",children:a.facts.map(e=>(0,r.jsxs)("div",{className:"rounded-lg border border-[var(--theme-border)] px-3 py-2",children:[(0,r.jsx)("dt",{className:"text-[11px] uppercase tracking-wide text-[var(--theme-text-muted)]",children:e.label}),(0,r.jsx)("dd",{className:"mt-0.5 text-sm font-semibold text-[var(--theme-text-primary)]",children:e.value})]},e.label))}),a.planets&&(0,r.jsx)("ol",{className:"grid grid-cols-1 gap-1 sm:grid-cols-2 md:grid-cols-1",children:a.planets.map(e=>(0,r.jsxs)("li",{className:"flex items-center gap-2 rounded-lg border border-[var(--theme-border)] px-3 py-1.5 text-sm text-[var(--theme-text-primary)]",children:[(0,r.jsx)("span",{"aria-hidden":!0,
1children:e.emoji}),(0,r.jsx)("span",{className:"font-medium",children:e.name}),(0,r.jsx)("span",{className:"ml-auto text-xs text-[var(--theme-text-muted)]",children:e.range})]},e.name))})]})]})}function f(e){let{onClose:t,initialTab:a}=e,o=u.some(e=>e.key===a)?a:u[0].key,[s,i]=(0,n.useState)(o);return(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&t()};document.addEventListener("keydown",e);let a=document.documentElement,r=document.body,n=a.style.overflow,l=r.style.overflow;return a.style.overflow="hidden",r.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),a.style.overflow=n,r.style.overflow=l}},[t]),(0,r.jsx)("div",{className:"fixed inset-0 z-[10050] flex items-stretch justify-center overflow-hidden bg-black/60 sm:items-center sm:p-4",onClick:t,role:"dialog","aria-modal":"true","aria-labelledby":"launchpad-title",children:(0,r.jsxs)("div",{className:"relative flex h-[100dvh] max-h-[100dvh] w-full min-h-0 flex-col overflow-hidden bg-[var(--theme-surface)] pl-[max(1rem,env(safe-area-inset-left))] pr-[max(1rem,env(safe-area-inset-right))] sm:h-auto sm:max-h-[min(90dvh,900px)] sm:max-w-3xl sm:rounded-2xl sm:border sm:border-[var(--theme-border)] sm:px-6 sm:shadow-xl",onClick:e=>e.stopPropagation(),children:[(0,r.jsxs)("div",{className:"shrink-0 pt-[max(0.75rem,env(safe-area-inset-top))] sm:pt-6",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsx)("h2",{id:"launchpad-title",className:"text-xl font-bold text-[var(--theme-text-primary)]",children:"Launchpad"}),(0,r.jsx)("button",{type:"button",onClick:t,"aria-label":"Close",className:"-mr-2 -mt-1.5 flex h-11 w-11 shrink-0 items-center justify-center rounded-lg text-[var(--theme-text-muted)] transition-colors hover:bg-white/5 hover:text-[var(--theme-text-primary)] sm:-mt-2",children:(0,r.jsx)(l.A,{className:"h-5 w-5"})})]}),(0,r.jsx)("p",{className:"mt-1 pr-2 text-sm text-[var(--theme-text-secondary)]",children:"Three kinds of coins, each with its own personality."}),(0,r.jsxs)("div",{role:"tablist","aria-label":"Launchpad topics",className:"mt-3 grid grid-cols-2 gap-2 sm:mt-4 sm:flex sm:items-stretch sm:gap-3",children:[(0,r.jsx)("div",{className:"contents sm:flex sm:min-w-0 sm:flex-[3] sm:gap-1 sm:rounded-xl sm:border sm:border-[var(--theme-border)] sm:bg-[var(--theme-surface-elevated,rgba(255,255,255,0.03))] sm:p-1",children:c.map(e=>(0,r.jsx)(p,{tab:e,isActive:s===e.key,onSelect:()=>i(e.key),className:"sm:min-w-0 sm:flex-1"},e.key))}),(0,r.jsx)("div",{"aria-hidden":!0,className:"hidden w-px shrink-0 self-stretch bg-[var(--theme-border)] sm:block"}),(0,r.jsx)("div",{className:"contents sm:flex sm:min-w-0 sm:flex-1 sm:rounded-xl sm:border sm:border-[var(--theme-border)] sm:bg-[var(--theme-surface-elevated,rgba(255,255,255,0.03))] sm:p-1",children:(0,r.jsx)(p,{tab:d,isActive:s===d.key,onSelect:()=>i(d.key),className:"sm:min-w-0 sm:w-full"})})]})]}),(0,r.jsxs)("div",{className:"mt-4 min-h-0 flex-auto overflow-y-auto overscroll-y-contain pb-2 sm:mt-5",children:[(0,r.jsx)("div",{className:"grid grid-cols-1",children:u.map(e=>(0,r.jsx)(x,{tab:e,isActive:s===e.key},e.key))}),(0,r.jsx)("p",{className:"mt-4 text-xs text-[var(--theme-text-muted)]",children:"Figures are approximate and can vary by launch."})]}),(0,r.jsx)("div",{className:"shrink-0 border-t border-[var(--theme-border)] bg-[var(--theme-surface)] pt-3 pb-[max(0.75rem,env(safe-area-inset-bottom))] sm:border-0 sm:pt-4 sm:pb-6",children:(0,r.jsx)("button",{type:"button",onClick:t,className:"min-h-11 w-full rounded-lg px-5 py-3 text-sm font-semibold text-[var(--theme-button-text)] transition-opacity hover:opacity-90",style:{backgroundImage:"var(--theme-gradient-button)"},children:"Got it"})})]})})}}}]);
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.