1import{r as s,j as e}from"./charts-Dl5COngX.js";import{K as it,u as Ve,bD as ot,g as f,bE as lt,bF as ct,bB as dt,bG as xt,bH as mt,an as ut,ar as pt,i as ht,l as Oe,bI as ft,bJ as gt,bK as be,bL as ze,bM as Ke,T as bt,Q as yt,aC as We,L as jt,bN as wt,bO as vt,bP as Nt,bQ as Ge,au as He,bR as kt,bS as Tt,bT as Ct}from"./main-DIRVCRVk.js";import{B as q,t as St}from"./aeternity-Bb8AAdSJ.js";import{t as Et,c as At}from"./transactionConfirmAtom-DHvUCk10.js";import{P as Mt}from"./PageSpaceHero-BzSyTBKy.js";import{A as ye}from"./AeButton-CSdeeH4Z.js";import{T as $t}from"./trending-up-DhAhC3Rc.js";import{C as Ft}from"./coins-BrMVaxms.js";import"./web3-pqzLatyd.js";import"./banner.styles-CcZ3kY86.js";const Dt=[["path",{d:"M18 7V5a1 1 0 0 0-1-1H6.5a.5.5 0 0 0-.4.8l4.5 6a2 2 0 0 1 0 2.4l-4.5 6a.5.5 0 0 0 .4.8H17a1 1 0 0 0 1-1v-2",key:"wuwx1p"}]],Lt=it("sigma",Dt);function Q(t){return .001*(Math.exp(1e-8*t)-1)+1e-4}function Ne(t){return Q(t)*.995}const Rt=200,G=Rt*1e6,je=7,W=t=>t*1e3,le=440,we=240,h={top:20,right:24,bottom:42,left:56},Ue=le-h.left-h.right,ce=we-h.top-h.bottom;function O(t){return h.left+t/G*Ue}function N(t){return h.top+ce-Math.min(t,je)/je*ce}function ve(t){const b=Math.min(t,G),a=[];for(let d=0;d<=160;d+=1){const x=d/160*b,g=W(Q(x));a.push(`${d===0?"M":"L"}${O(x).toFixed(1)},${N(g).toFixed(1)}`)}return a.join(" ")}function Ze(t){const b=Math.min(t,G),a=[];for(let d=0;d<=160;d+=1){const x=d/160*b,g=W(Ne(x));a.push(`${d===0?"M":"L"}${O(x).toFixed(1)},${N(g).toFixed(1)}`)}return a.join(" ")}function Bt(t){const c=ve(t),b=Math.min(t,G),a=N(0).toFixed(1);return`${c} L${O(b).toFixed(1)},${a} L${O(0).toFixed(1)},${a} Z`}function Pt(t){const b=Math.min(t,G),a=[],d=[];for(let x=0;x<=80;x+=1){const g=x/80*b;a.push(`${O(g).toFixed(1)},${N(W(Q(g))).toFixed(1)}`),d.push(`${O(g).toFixed(1)},${N(W(Ne(g))).toFixed(1)}`)}return`M${a.join(" L")} L${[...d].reverse().join(" L")} Z`}const oe=[{id:"launch",supplyM:0,labelKey:"bondingCurve.step0Label",descKey:"bondingCurve.step0Desc",color:"#8b5cf6",accentClass:"text-purple-400"},{id:"early",supplyM:10,labelKey:"bondingCurve.step1Label",descKey:"bondingCurve.step1Desc",color:"#3b82f6",accentClass:"text-blue-400"},{id:"growth",supplyM:50,labelKey:"bondingCurve.step2Label",descKey:"bondingCurve.step2Desc",color:"#06b6d4",accentClass:"text-cyan-400"},{id:"momentum",supplyM:100,labelKey:"bondingCurve.step3Label",descKey:"bondingCurve.step3Desc",color:"#10b981",accentClass:"text-emerald-400"},{id:"peak",supplyM:200,labelKey:"bondingCurve.step4Label",descKey:"bondingCurve.step4Desc",color:"#f59e0b",accentClass:"text-amber-400"}],_t=[0,50,100,150,200],It=[0,1,2,3,5,7];function Ot(t){return t<.5?4*t*t*t:1-(-2*t+2)**3/2}const zt=1e3,Kt=2200,Wt=()=>{const{t}=Ve(),{getFiat:c,currentCurrencyInfo:b}=ot(),[a,d]=s.useState(0),[x,g]=s.useState(!0),[U,B]=s.useState(0),v=s.useRef(null),D=s.useRef(null),S=s.useRef(a),L=s.useRef(x);S.current=a,L.current=x;const u=oe[a],Y=a>0?oe[a-1].supplyM:0,de=u.supplyM,T=Y+(de-Y)*Ot(U),C=T*1e6,E=O(C),P=N(W(Q(C))),A=W(Q(C)),l=W(Ne(C)),M=s.useCallback(()=>{D.current=null,B(0);const o=m=>{D.current===null&&(D.current=m);const _=m-D.current,X=Math.min(_/zt,1);B(X),X<1?v.current=requestAnimationFrame(o):setTimeout(()=>{L.current&&d(ee=>{const te=ee+1;return te>=oe.length?(B(0),setTimeout(()=>{L.current&&M()},0),0):te})},Kt)};v.current=requestAnimationFrame(o)},[]);s.useEffect(()=>(M(),()=>{v.current!==null&&cancelAnimationFrame(v.current)}),[]);const z=s.useRef(a);s.useEffect(()=>{a!==z.current&&(z.current=a,v.current!==null&&cancelAnimationFrame(v.current),M())},[a,M]);const J=s.useCallback(()=>{g(o=>(o||M(),!o))},[M]),p=s.useCallback(o=>{v.current!==null&&cancelAnimationFrame(v.current),g(!1),d(o),B(1)},[]),$=T>.5;return e.jsxs("div",{className:"rounded-2xl border border-purple-500/20 bg-[#0a0a0f] overflow-hidden",children:[e.jsxs("div",{className:"px-5 pt-5 pb-2",children:[e.jsx("h3",{className:"text-base font-bold text-white mb-0.5",children:t("bondingCurve.title",{defaultValue:"How the Bonding Curve Works"})}),e.jsx("p",{className:"text-xs text-white/50",children:t("bondingCurve.subtitle",{defaultValue:"Early buyers get the lowest price â it rises exponentially as more join"})})]}),e.jsx("div",{className:"px-2 pb-1",children:e.jsxs("svg",{viewBox:`0 0 ${le} ${we}`,width:"100%",style:{maxHeight:230,display:"block"},"aria-label":t("bondingCurve.chartAriaLabel",{defaultValue:"Bonding curve price chart"}),children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"buyGrad",x1:"0",y1:"0",x2:"1",y2:"0",children:[e.jsx("stop",{offset:"0%",stopColor:"#8b5cf6"}),e.jsx("stop",{offset:"50%",stopColor:"#3b82f6"}),e.jsx("stop",{offset:"100%",stopColor:"#f59e0b"})]}),e.jsxs("linearGradient",{id:"fillGrad",x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"#3b82f6",stopOpacity:"0.25"}),e.jsx("stop",{offset:"100%",stopColor:"#8b5cf6",stopOpacity:"0.03"})]}),e.jsxs("linearGradient",{id:"spreadGrad",x1:"0",y1:"0",x2:"1",y2:"0",children:[e.jsx("stop",{offset:"0%",stopColor:"#10b981",stopOpacity:"0.08"}),e.jsx("stop",{offset:"100%",stopColor:"#10b981",stopOpacity:"0.03"})]}),e.jsxs("filter",{id:"glow",x:"-20%",y:"-20%",width:"140%",height:"140%",children:[e.jsx("feGaussianBlur",{stdDeviation:"2.5",result:"blur"}),e.jsxs("feMerge",{children:[e.jsx("feMergeNode",{in:"blur"}),e.jsx("feMergeNode",{in:"SourceGraphic"})]})]})]}),It.map(o=>{const m=N(o);return e.jsxs("g",{children:[e.jsx("line",{x1:h.left,y1:m,x2:le-h.right,y2:m,stroke:"rgba(255,255,255,0.05)",strokeDasharray:"3 3"}),e.jsx("text",{x:h.left-5,y:m+4,textAnchor:"end",fontSize:"8.5",fill:"rgba(255,255,255,0.3)",children:o===0?"0":`${o}m`})]},`y-${o}`)}),_t.map(o=>{const m=O(o*1e6),_=N(0);return e.jsxs("g",{children:[e.jsx("line",{x1:m,y1:h.top,x2:m,y2:_,stroke:"rgba(255,255,255,0.04)",strokeDasharray:"3 3"}),e.jsx("line",{x1:m,y1:_,x2:m,y2:_+4,stroke:"rgba(255,255,255,0.15)"}),e.jsx("text",{x:m,y:_+14,textAnchor:"middle",fontSize:"8.5",fill:"rgba(255,255,255,0.3)",children:o===0?"0":`${o}M`})]},`x-${o}`)}),e.jsx("text",{x:h.left+Ue/2,y:we-2,textAnchor:"middle",fontSize:"8.5",fill:"rgba(255,255,255,0.35)",children:t("bondingCurve.axisSupply",{defaultValue:"Token Supply"})}),e.jsx("text",{x:9,y:h.top+ce/2,textAnchor:"middle",fontSize:"8.5",fill:"rgba(255,255,255,0.35)",transform:`rotate(-90, 9, ${h.top+ce/2})`,children:t("bondingCurve.axisPrice",{defaultValue:"Price (mAE)"})}),e.jsx("path",{d:ve(G),fill:"none",stroke:"rgba(255,255,255,0.07)",strokeWidth:"1.5",strokeDasharray:"4 4"}),e.jsx("path",{d:Ze(G),fill:"none",stroke:"rgba(16,185,129,0.08)",strokeWidth:"1",strokeDasharray:"3 5"}),$&&e.jsx("path",{d:Bt(C),fill:"url(#fillGrad)"}),$&&T>5&&e.jsx("path",{d:Pt(C),fill:"url(#spreadGrad)"}),$&&e.jsx("path",{d:Ze(C),fill:"none",stroke:"#10b981",strokeWidth:"1.5",strokeDasharray:"3 4",opacity:"0.5"}
1),$&&e.jsx("path",{d:ve(C),fill:"none",stroke:"url(#buyGrad)",strokeWidth:"2.5",strokeLinecap:"round",filter:"url(#glow)"}),$&&e.jsx("line",{x1:E,y1:P,x2:E,y2:N(0),stroke:u.color,strokeWidth:"1",strokeDasharray:"3 3",opacity:"0.4"}),$&&e.jsxs("g",{filter:"url(#glow)",children:[e.jsx("circle",{cx:E,cy:P,r:"7",fill:u.color,opacity:"0.2"}),e.jsx("circle",{cx:E,cy:P,r:"4",fill:u.color}),e.jsx("circle",{cx:E,cy:P,r:"1.8",fill:"white"})]}),$&&A<je*.92&&e.jsxs("g",{children:[e.jsx("rect",{x:E+8,y:P-13,width:72,height:15,rx:"3",fill:"#0a0a0f",stroke:u.color,strokeWidth:"0.7",opacity:"0.95"}),e.jsx("text",{x:E+12,y:P-2,fontSize:"8.5",fill:u.color,fontWeight:"700",children:c(f.from(A/1e3))?.gt(f.ZERO)?`${b?.symbol??"$"}${Number(c(f.from(A/1e3))?.toString()).toLocaleString(void 0,{maximumFractionDigits:5})}`:`${A.toFixed(3)} mAE`})]}),$&&T>20&&T<180&&e.jsx("g",{children:e.jsx("text",{x:E-6,y:N((A+l)/2)+3,fontSize:"7.5",fill:"#10b981",opacity:"0.6",textAnchor:"end",children:"â0.5%"})}),e.jsx("line",{x1:h.left,y1:h.top,x2:h.left,y2:N(0),stroke:"rgba(255,255,255,0.15)",strokeWidth:"1"}),e.jsx("line",{x1:h.left,y1:N(0),x2:le-h.right,y2:N(0),stroke:"rgba(255,255,255,0.15)",strokeWidth:"1"})]})}),e.jsxs("div",{className:"flex gap-3 px-5 pb-3",children:[e.jsxs("div",{className:"flex-1 rounded-xl px-3 py-2 text-center",style:{background:"rgba(139,92,246,0.08)",border:"1px solid rgba(139,92,246,0.15)"},children:[e.jsx("p",{className:"text-[9px] text-white/40 uppercase tracking-wider",children:"Supply"}),e.jsx("p",{className:"text-sm font-bold text-white mt-0.5",children:T<1?`${(T*1e6/1e3).toFixed(1)}K`:`${T.toFixed(1)}M`})]}),e.jsxs("div",{className:"flex-1 rounded-xl px-3 py-2 text-center",style:{background:"rgba(59,130,246,0.08)",border:"1px solid rgba(59,130,246,0.15)"},children:[e.jsx("p",{className:"text-[9px] text-white/40 uppercase tracking-wider",children:"Buy price"}),e.jsx("p",{className:"text-sm font-bold text-blue-300 mt-0.5",children:c(f.from(A/1e3))?.gt(f.ZERO)?`${b?.symbol??"$"}${Number(c(f.from(A/1e3))?.toString()).toLocaleString(void 0,{minimumFractionDigits:4,maximumFractionDigits:6})}`:`${A.toFixed(4)} mAE`})]}),e.jsxs("div",{className:"flex-1 rounded-xl px-3 py-2 text-center",style:{background:"rgba(16,185,129,0.06)",border:"1px solid rgba(16,185,129,0.12)"},children:[e.jsx("p",{className:"text-[9px] text-white/40 uppercase tracking-wider",children:"Sell price"}),e.jsx("p",{className:"text-sm font-bold text-emerald-400 mt-0.5",children:c(f.from(l/1e3))?.gt(f.ZERO)?`${b?.symbol??"$"}${Number(c(f.from(l/1e3))?.toString()).toLocaleString(void 0,{minimumFractionDigits:4,maximumFractionDigits:6})}`:`${l.toFixed(4)} mAE`})]})]}),e.jsx("div",{className:"px-5 pb-4",children:e.jsxs("div",{className:"rounded-xl p-3.5 transition-all duration-500",style:{background:`${u.color}10`,border:`1px solid ${u.color}25`},children:[e.jsx("p",{className:`text-[10px] font-bold uppercase tracking-wider mb-1 ${u.accentClass}`,children:t(u.labelKey,{defaultValue:`Step ${a+1}`})}),e.jsx("p",{className:"text-xs text-white/75 leading-relaxed",children:t(u.descKey,{defaultValue:""})})]})}),e.jsxs("div",{className:"px-5 pb-5 flex items-center justify-between",children:[e.jsx("div",{className:"flex gap-1.5",children:oe.map((o,m)=>e.jsx("button",{type:"button",onClick:()=>p(m),"aria-label":`Step ${m+1}`,className:"rounded-full border-0 p-0 cursor-pointer transition-all duration-300",style:{width:m===a?18:6,height:6,background:m===a?u.color:"rgba(255,255,255,0.15)"}},o.id))}),e.jsx("button",{type:"button",onClick:J,className:"flex items-center gap-1.5 px-3 h-7 rounded-full text-white text-xs font-semibold border-0 cursor-pointer",style:{background:"linear-gradient(135deg, #8b5cf6, #3b82f6)",boxShadow:"0 0 12px rgba(139,92,246,0.35)"},children:x?e.jsxs(e.Fragment,{children:[e.jsxs("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",children:[e.jsx("rect",{x:"1",y:"1",width:"2.5",height:"7",rx:"0.5",fill:"white"}),e.jsx("rect",{x:"5.5",y:"1",width:"2.5",height:"7",rx:"0.5",fill:"white"})]}),t("bondingCurve.pause",{defaultValue:"Pause"})]}):e.jsxs(e.Fragment,{children:[e.jsx("svg",{width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",children:e.jsx("path",{d:"M1.5 1.5l6 3-6 3
1V1.5z",fill:"white"})}),t("bondingCurve.play",{defaultValue:"Play"})]})})]})]})};async function Gt(t){if(typeof t.fee_percentage=="function")return new q(await t.fee_percentage().then(c=>c.decodedResult)).dividedBy(await t.fee_precision().then(c=>c.decodedResult)).toNumber()}async function Ht(t,c,b,a,d){const x=await lt(t,{address:d,aci:ct}),g=await Gt(x),{token:{name:U},metaInfo:B,initialBuyCount:v}=b,D=dt(v,xt(a),18n),S=D==="0"?"0":await mt(t,v,await x.bonding_curve().then(u=>u.decodedResult),a,g);return(await x.create_community(c,U,D,!1,B,{amount:S,waitMined:!1})).hash}const Zt=t=>s.createElement("svg",{id:"Verified_Badge","data-name":"Verified Badge",xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",...t},s.createElement("g",{id:"Ellipse_1","data-name":"Ellipse 1",fill:"none",stroke:"#00FF9D",strokeWidth:1.3},s.createElement("circle",{cx:9,cy:9,r:9,stroke:"none"}),s.createElement("circle",{cx:9,cy:9,r:8.35,fill:"none"})),s.createElement("g",{id:"Icon_Tick","data-name":"Icon/Tick",transform:"translate(4 5)"},s.createElement("path",{id:"Tick",d:"M8.678.259a.873.873,0,0,1,1.241,0,.887.887,0,0,1,.064,1.177l-.064.072L4.088,7.373a.873.873,0,0,1-1.169.064l-.071-.064L.257,4.766a.887.887,0,0,1,0-1.248.873.873,0,0,1,1.169-.064l.071.064L3.468,5.5Z",transform:"translate(0 0)",fill:"#00FF9D"}))),Vt=t=>s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",...t},s.createElement("g",{id:"Group_160","data-name":"Group 160",transform:"translate(-297 -204)"},s.createElement("g",{id:"Ellipse_3","data-name":"Ellipse 3",transform:"translate(297 204)",fill:"none",stroke:"#ffdc50",strokeWidth:2},s.createElement("circle",{cx:9,cy:9,r:9,stroke:"none"}),s.createElement("circle",{cx:9,cy:9,r:8,fill:"none"})),s.createElement("g",{id:"Group_160-2","data-name":"Group 160",transform:"translate(-0.764 -0.178)"},s.createElement("path",{id:"Path",d:"M1.221,0a1.265,1.265,0,0,1,.872.31,1.013,1.013,0,0,1,.349.793,1.013,1.013,0,0,1-.349.793,1.265,1.265,0,0,1-.872.31A1.265,1.265,0,0,1,.349,1.9,1.013,1.013,0,0,1,0,1.1,1.013,1.013,0,0,1,.349.31,1.265,1.265,0,0,1,1.221,0Z",transform:"translate(305.764 215.628)",fill:"#ffdc50"}),s.createElement("path",{id:"Path-2","data-name":"Path",d:"M1.794,0a.643.643,0,0,1,.643.643l0,.064h0L1.919,5.85a.643.643,0,0,1-.64.579H1.157a.643.643,0,0,1-.64-.579L0,.707A.643.643,0,0,1,.579,0L.611,0Z",transform:"translate(305.781 208.178)",fill:"#ffdc50"})))),Ut=t=>s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...t},s.createElement("path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"}),s.createElement("path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"}),s.createElement("path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"}),s.createElement("path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"})),Yt=t=>s.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",...t},s.createElement("path",{d:"M12 0l2.4 7.2h7.6l-6 4.8 2.4 7.2-6-4.8-6 4.8 2.4-7.2-6-4.8h7.6z"}),s.createElement("path",{d:"M18 6l1.2 3.6h3.8l-3 2.4 1.2 3.6-3-2.4-3 2.4 1.2-3.6-3-2.4h3.8z",opacity:.7})),is=()=>{const{t}=Ve(),c=ut(),b=pt(),{activeAccount:a,sdk:d}=ht(),[,x]=Oe(Et),[,g]=Oe(At),{notifySubmitted:U,notifyPending:B,notifyPendingTx:v,notifyError:D}=ft(),S=s.useRef(null),[L,u]=s.useState(!1),Y=s.useRef(null),{activeFactorySchema:de,activeFactoryCollections:T,loadFactorySchema:C,getFactory:E}=gt(),P=new URLSearchParams(b.search),A=String(P.get("tokenName")||"").toUpperCase().replace(/ /g,"-"),[l,M]=s.useState(A),[z,J]=s.useState(""),[p,$]=s.useState("AE"),[o,m]=s.useState(""),[_,X]=s.useState(""),[ee,te]=s.useState(),[Ye]=s.useState({collection:"word",description:"",website:"",twitter:""}),[se,ke]=s.useState(!1),[Te,Ce]=s.useState(),[Se,Ee]=s.useState(),[Ae,xe]=s.useState(),[Xe,ne]=s.useState(!1),[Me,me]=s.useState(f.ZERO),[j,H]=s.useState("idle"),[I,$e]=s.useState(null),[qe,Fe]=s.useState(!0),re=be(z,300),ae=be(o,300),ie=be(l,400),Z=s.useMemo(()=>T,[T]);s.useEffect(()=>{const n=r=>{const i=Y.current;i&&!i.contains(r.target)&&u(!1)};return document.addEventListener("mousedown",n),()=>document.removeEventListener("mousedown",n)},[]),s.useEffect(()=>{(async()=>{try{Fe(!0),await C()}catch(r){console.error("Failed to load factory schema:",r)}finally{Fe(!1)}})()},[C]);const R=s.useMemo(()=>ze(l.trim(),Z),[l,Z]),De=s.useMemo(()=>ze((ie||"").trim(),Z),[ie,Z]),V=s.useMemo(()=>R.length?R.find(n=>n.id===ee)??Ke(R):Ke(Z),[R,Z,ee]);s.useEffect(()=>{if(p!=="TOKEN")return;(async()=>
1{if(!re||Number.isNaN(Number(re))){me(f.ZERO);return}ne(!0);try{const r=Number(re),i=!r||Number.isNaN(r)?f.ZERO:f.from(St(vt(new q(0),new q(Nt(r,18).toString()))));me(i)}catch(r){console.error("Price calculation error:",r),me(f.ZERO)}finally{ne(!1)}})()},[p,re]);const[Le,ue]=s.useState(f.ZERO);s.useEffect(()=>{if(p!=="AE")return;(async()=>{if(!ae||Number.isNaN(Number(ae))){ue(f.ZERO);return}ne(!0);try{const r=Number(ae),i=Ge(new q(0),r);ue(f.from(i.toString()))}catch(r){console.error("Token estimation error:",r),ue(f.ZERO)}finally{ne(!1)}})()},[p,ae]);const Re=s.useCallback(n=>n.toUpperCase().replace(/ /g,"-"),[]),pe=s.useRef(!1),[he,Be]=s.useState(!1),Qe=n=>{if(pe.current){M(n);return}M(Re(n))},Je=()=>{pe.current=!0,Be(!0)},et=n=>{pe.current=!1,Be(!1),M(Re(n.currentTarget.value))},fe=s.useRef(0);s.useEffect(()=>{let n=!1;return(async()=>{$e(null),xe(void 0),Ee(void 0);const i=(ie||"").trim();if(!i){H("idle");return}if(!De.length){H(he?"idle":"unsupported");return}H("checking"),fe.current+=1;const w=fe.current;try{const k=await He.listTokens({limit:5,search:i});if(n||w!==fe.current)return;const y=(k?.items||[]).find(Ie=>Ie?.name===i);y&&y.address?($e({address:y.address,sale_address:y.sale_address,name:y.name,price:(()=>{if(typeof y.price=="number")return y.price;if(y.price)return Number(y.price)})(),holders:(()=>{if(typeof y.holders_count=="number")return y.holders_count;if(y.holders_count)return Number(y.holders_count)})()}),H("taken")):H("available")}catch{if(n)return;H("idle")}})(),()=>{n=!0}},[ie,De,he]),s.useEffect(()=>{if(j==="taken"&&S.current){const n=S.current;n.focus();const r=n.value.length;try{n.setSelectionRange(r,r)}catch{}}},[j]);const ge=n=>{let r=n.replace(/,/g,"").replace(/[^0-9.]/g,"");const i=r.split(".");i.length>2&&(r=`${i[0]}.${i.slice(1).join("")}`);const[w,k=""]=r.split("."),F=k.substring(0,21);return F?`${w}.${F}`:w},Pe=n=>{if(!n)return"";const[r,i]=n.split("."),w=r.replace(/\B(?=(\d{3})+(?!\d))/g,",");return i!==void 0?`${w}.${i}`:w},tt=n=>{const r=ge(n),i=n.includes("."),w=i?n.split(".")[1]??"":"",k=ge(n.split(".")[0]||""),F=Pe(k);if(!i)return{display:F,sanitized:r};const y=(w||"").replace(/[^0-9]/g,"").substring(0,21);return{display:`${F}.${y}`,sanitized:r}};s.useEffect(()=>{S.current&&(S.current.focus(),S.current.select())},[]);const K=R.length>1,st=!!l&&!he&&R.length===0,_e=!!l&&R.length>0&&j!=="checking"&&j!=="taken"&&j!=="unsupported",nt=async()=>{if(!_e)return;x("create-token"),g({tokenName:l,inputMode:p,aeAmount:p==="AE"?o:void 0,tokenAmount:p==="TOKEN"?z:void 0,estimatedCost:p==="TOKEN"?Me:void 0,estimatedTokens:p==="AE"?Le:void 0});const n={type:Tt.CreateToken,tokenName:l};try{Ce(void 0),xe(void 0),ke(!0);const r=await E();if(!V?.id)throw new Error("Collection not found");if(!d)throw new Error("SDK not available");let i=0;if(p==="AE"){const k=Number(o||0);if(k>0){const F=Ge(new q(0),k);i=Number(F.toString())}}else i=Number(z||0);U(n);const w=await Ht(d,V.id,{token:{name:l},metaInfo:new Map(Object.entries(Ye)),initialBuyCount:i},void 0,r.address);if(a){const k=Ct(a,w,l);B({...n,startedAt:k.startedAt})}else v(n,w);c(`/trends/tokens/${l}?created=true&txHash=${w}`)}catch(r){console.error("Error creating token:",r);const i=r?.message||r?.reason||t("trending.createToken.errors.unknownError");if(D(i),i.includes("NAME_ALREADY_REGISTERED"))try{const k=(await He.listTokens({limit:10,search:l}))?.items||[];Ee(l),xe(k.find(({name:F})=>F===l)?.address)}catch{}Ce(t("trending.createToken.errors.somethingWentWrong",{message:i}))}finally{ke(!1),x(null),g(null)}},rt=n=>{n.preventDefault(),nt()};if(qe)return e.jsx("div",{className:"max-w-[min(1536px,100%)] mx-auto min-h-screen text-white",children:e.jsx("div",{className:"p-6",children:e.jsxs("div",{className:"stagger-children",children:[e.jsx("div",{className:"h-8 bg-gradient-to-r from-gray-700 to-gray-600 rounded w-1/3 mb-4 animate-shimmer"}),e.jsx("div",{className:"h-4 bg-gradient-to-r from-gray-700 to-gray-600 rounded w-2/3 mb-8 animate-shimmer"}),e.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-6",children:[e.jsx("div",{className:"space-y-4",children:["row-1","row-2","row-3","row-4","row-5"].map((n,r)=>e.jsx("div",{className:"h-16 bg-gradient-to-r from-gray-700 to-gray-600 rounded animate-shimmer",style:{animationDelay:`${r*100}ms`}},n))}),e.jsx("div",{className:"h-96 bg-gradient-to-r from-gray-700 to-gray-600 rounded animate-shimmer"})]})]})})});const at=()=>a?se?e.jsx("div",{className:"bg-blue-900/20 border border-blue-500/30 rounded-lg p-4 text-blue-400 text-center",children:e.jsxs("div",{className:"animate-pulse",children:[e.jsx("h3",{className:"font-semibold mb-2",children:t("trending.createToken.submit.waitingForConfirmation")}),e.jsx("p",{children:t("trending.createToken.submit.reviewAndSign")})]})}):e.jsxs(ye,{variant:"primary",size:"lg",type:"submit",disabled:se||!_e,className:"w-full bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 border-0 shadow-lg hover:shadow-xl transition-all duration-300 h-12 md:h-14 py-3 relative overflow-hidden group hover-lift",children:[e.jsxs("span",{className:"relative z-10 flex items-center justify-center gap-2",children:[!se&&e.jsx(Ut,{className:"w-5 h-5 group-hover:animate-bounce"}),e.jsx("span",{children:t("trending.createToken.submit.createToken")}),!se&&e.jsx(Yt,{className:"w-4 h-4 animate-sparkle"})]}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-purple-600 to-pink-600 opacity-0 group-hover:opacity-100 transition-opacity duration-300"})]}):e.jsxs("div",{className:"space-y-3",children:[e.jsx(kt,{block:!0,label:t("trending.createToken.submit.connectWalletToCreate"),className:"w-full",muted:!0}
1),e.jsx("p",{className:"text-sm text-white/70 text-center",children:t("trending.createToken.submit.connectWalletHint")}),e.jsx(ye,{type:"button",variant:"secondary",size:"md",outlined:!0,onClick:()=>{window.open("https://wallet.superhero.com","_blank")},className:"w-full bg-gradient-to-r from-green-500 to-emerald-500 hover:from-green-600 hover:to-emerald-600 border-0 shadow-lg hover:shadow-xl transition-all duration-300",children:t("trending.createToken.submit.getSuperheroWallet")})]});return e.jsx("div",{className:"max-w-[min(1536px,100%)] mx-auto min-h-screen text-white px-2 md:px-4",children:e.jsx("div",{className:"rounded-[24px] mt-2 mb-6 mx-0 md:mx-4",children:e.jsxs("div",{className:"max-w-[1400px] mx-auto p-0 md:px-6 md:pb-6 md:pt-3",children:[e.jsxs(Mt,{className:"mb-6 px-6 py-10 md:px-10 md:py-14 text-center xl:text-left",supernovaColor:"rgba(255,94,188,.5)",children:[e.jsxs("h3",{className:"text-3xl md:text-5xl font-bold leading-tight text-white mb-3 animate-slideDown",children:[t("trending.createToken.hero.line1"),e.jsx("br",{}),t("trending.createToken.hero.line2"),e.jsx("br",{}),e.jsx("span",{className:"bg-gradient-to-r from-purple-400 via-pink-400 to-orange-400 bg-clip-text text-transparent animate-gradientShift inline-block",children:t("trending.createToken.hero.line3")})]}),e.jsx("p",{className:"text-white/75 text-base md:text-lg leading-relaxed animate-slideUp animate-delay-200 max-w-2xl mx-auto xl:mx-0",children:t("trending.createToken.hero.subtitle")})]}),e.jsxs("div",{className:"flex flex-col xl:flex-row gap-6 xl:items-start xl:justify-between",children:[e.jsx("div",{className:"w-full xl:w-[620px] xl:flex-shrink-0 xl:order-2 animate-scaleIn animate-delay-200",children:e.jsx("div",{className:"bg-[#0d1117]/10 backdrop-blur-xl border border-cyan-500/20 rounded-2xl relative transition-all duration-300 p-5 md:p-8 shadow-2xl hover-lift",children:de?e.jsxs("form",{onSubmit:rt,className:"space-y-4",children:[!Ae&&Te&&e.jsxs("div",{className:"bg-red-900/20 border border-red-500/30 rounded-lg p-4 text-red-400",children:[e.jsx("h3",{className:"font-semibold mb-2",children:t("trending.createToken.oops")}),e.jsx("p",{children:Te})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"trend-token-name",className:"block text-sm font-medium text-white/80 mb-2",children:t("trending.createToken.trendTokenName")}),e.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 rounded-xl bg-white/5 border border-white/10 focus-within:border-white/30 relative",children:[e.jsx("span",{className:"text-white/70 text-2xl font-bold select-none",children:"#"}),e.jsx(bt,{id:"trend-token-name",ref:S,value:l,onChange:n=>Qe(n.target.value),onCompositionStart:Je,onCompositionEnd:et,placeholder:"TREND",maxLength:20,required:!0,className:"flex-1 bg-transparent text-white text-2xl md:text-3xl font-extrabold leading-tight border-0 border-none outline-none focus-visible:outline-none shadow-none placeholder:text-white/30 focus:border-0 focus:ring-0 focus-visible:ring-0 px-0 autofill:bg-transparent autofill:text-white"}),e.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[j==="checking"&&e.jsx(yt,{}),j==="available"&&e.jsx(Zt,{className:"w-5 h-5 text-emerald-400"}),j==="taken"&&e.jsx(Vt,{className:"w-5 h-5 text-red-400"}),l&&R.length>0&&e.jsxs("div",{className:"relative",ref:Y,children:[e.jsxs("button",{type:"button",onClick:()=>K&&u(!L),className:`inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium transition-colors ${K?"bg-purple-500/20 text-purple-300 border border-purple-400/30 hover:bg-purple-500/30 cursor-pointer":"bg-emerald-500/20 text-emerald-300 border border-emerald-400/30 cursor-default"}`,disabled:!K,"aria-haspopup":K?"listbox":void 0,"aria-expanded":K?L:void 0,children:[V&&We(V.name),K&&e.jsx("svg",{className:`w-3 h-3 transition-transform ${L?"rotate-180":""}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),L&&K&&e.jsx("div",{className:"absolute right-0 top-full mt-1 bg-gray-900/95 border border-white/10 rounded-lg shadow-xl z-50 min-w-[120px] overflow-hidden",children:R.map(n=>e.jsx("button",{type:"button",onClick:()=>{te(n.id),u(!1)},className:`w-full text-left px-3 py-2 text-sm transition-colors ${n.id===V?.id?"bg-purple-500/20 text-white font-medium":"text-white/80 hover:bg-white/5"}`,children:We(n.name)},n.id))})]}),st&&e.jsxs("div",{className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium bg-red-500/20 text-red-300 border border-red-400/30",children:[e.jsx("svg",{className:"w-3 h-3",fill:"
1currentColor",viewBox:"0 0 20 20","aria-hidden":"true",children:e.jsx("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"})}),t("trending.createToken.unsupportedBadge")]})]})]}),e.jsxs("div",{className:"text-xs text-white/60 mt-1 flex items-center justify-between min-h-[20px]","aria-live":"polite",children:[e.jsx("span",{children:t("trending.createToken.charactersCount",{count:l.length,max:20})}),e.jsx("span",{className:"opacity-80",dir:"auto",children:j==="unsupported"?t("trending.createToken.unsupportedCharacters"):V?.description||t("trending.createToken.allowedCharsHint")})]})]}),j==="taken"&&(I||Ae)&&e.jsxs("div",{className:"mt-20 text-xs bg-white/5 border border-white/10 rounded-lg p-3 space-y-2",children:[e.jsx("div",{className:"flex flex-wrap items-center justify-between gap-2",children:e.jsxs("div",{className:"flex items-center gap-3 flex-wrap w-full",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full bg-emerald-500/10 text-emerald-300 border border-emerald-400/30",children:[e.jsxs("span",{className:"relative inline-flex",children:[e.jsx("span",{className:"absolute inline-flex h-2 w-2 rounded-full bg-emerald-400 opacity-75 animate-ping"}),e.jsx("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-emerald-400"})]}),e.jsx("span",{className:"font-medium",children:t("trending.createToken.tradingLive")})]}),e.jsxs("div",{className:"flex-1 w-full flex flex-wrap items-center gap-x-6 gap-y-2 justify-between",children:[e.jsxs("div",{className:"text-white/80",children:[e.jsx("span",{className:"text-white/60",children:t("trending.createToken.token")})," ",e.jsx("span",{className:"font-mono font-bold text-white",children:Se||I?.name})]}),I?.price!=null&&e.jsxs("div",{className:"text-white/80",children:[e.jsx("span",{className:"text-white/60",children:t("trending.createToken.price")})," ",e.jsx("strong",{className:"text-white",children:I.price})]}),I?.holders!=null&&e.jsxs("div",{className:"text-white/80",children:[e.jsx("span",{className:"text-white/60",children:t("trending.createToken.holders")})," ",e.jsx("strong",{className:"text-white",children:I.holders.toLocaleString?.()||I.holders})]})]})]})}),e.jsx(ye,{type:"button",size:"md",variant:"success",className:"w-full",onClick:()=>c(`/trends/tokens/${I?.name||Se}`),children:t("trending.createToken.buyToken")})]}),e.jsxs("div",{className:j==="taken"?"opacity-40 pointer-events-none select-none":"","aria-disabled":j==="taken",children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"block text-sm font-medium text-white/80",children:t(p==="AE"?"trending.createToken.amountToSpend":"trending.createToken.tokensToBuy")}),e.jsxs("div",{className:"relative group inline-block align-middle",children:[e.jsx("button",{type:"button",className:"text-white/70 cursor-help select-none leading-none px-1","aria-label":t(p==="AE"?"trending.createToken.prebuyTooltipAe":"trending.createToken.prebuyTooltipTokens"),children:"â"}),e.jsx("div",{className:"absolute left-0 top-full mt-1 hidden group-hover:block group-focus-within:block w-[min(320px,80vw)] rounded-lg border border-white/10 bg-gray-900/95 text-white text-xs p-3 shadow-xl z-50",children:t(p==="AE"?"trending.createToken.prebuyTooltipAe":"trending.createToken.prebuyTooltipTokens")})]})]}),e.jsx("button",{type:"button",onClick:()=>$(p==="AE"?"TOKEN":"AE"),className:"text-xs underline text-purple-300 hover:text-purple-200",children:t("trending.createToken.switchTo",{target:p==="AE"?t("trending.createToken.tokensUnit"):"AE"})})]}),p==="AE"?e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("input",{type:"text",inputMode:"decimal",value:_,onChange:n=>{const{display:r,sanitized:i}=tt(n.target.value);X(r),m(i)},placeholder:"0.0",className:"flex-1 px-3 py-3 rounded-xl bg-white/5 border border-white/10 text-white text-lg focus:border-[#4ecdc4] focus:outline-none shadow-none"}),e.jsx("div",{className:"text-white font-extrabold text-2xl leading-none",children:"AE"})]}),e.jsx("div",{className:"flex flex-wrap items-center gap-2",children:["1","10","100","500","100000"].map((n,r)=>e.jsx("button",{type:"button",onClick:()=>{m(n),X(r===4?"100,000":n)},className:"px-3 py-1.5 rounded-lg border border-white/10 bg-white/[0.06] text-white/90 text-xs hover:bg-white/[0.1] transition-colors",children:r===4?"100K AE":`${n} AE`},n))}),e.jsxs("div",{className:"text-sm text-white/70",children:[t("trending.createToken.estimatedTokensReceive")," ",e.jsx("span",{className:"text-white",children:Le.prettify()})]})]}):e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("input",{type:"text",inputMode:"decimal",value:Pe(z),onChange:n=>J(ge(n.target.value)),placeholder:"0.0",className:"flex-1 px-3 py-3 rounded-xl bg-white/5 border border-white/10 text-white text-lg focus:border-[#4ecdc4] focus:outline-none shadow-none"}),e.jsx("div",{className:"text-white font-extrabold text-2xl leading-none",children:t("trending.createToken.tokensUnitUpper")})]}),e.jsx("div",{className:"flex flex-wrap items-center gap-2",children:["500000","1000000","5000000","10000000","100000000"].map(n=>e.jsx("button",{type:"button",onClick:()=>J(n),className:"px-3 py-1.5 rounded-lg border border-white/10 bg-white/[0.06] text-white/90 text-xs hover:bg-white/[0.1] transition-colors",children:Number(n)>=1e6?`${Number(n)/1e6}M`:`${Number(n)/1e3}K`},n))}),e.jsx("div",{className:"text-sm text-white/70 mt-1",children:e.jsxs("div",{className:"flex flex-wrap gap-1 items-center",children:[e.jsx("span",{children:t("trending.createToken.estimatedCost")}),e.jsx(jt,{row:!0,aePrice:Me,watchPrice:!1,priceLoading:Xe}),e.jsx("span",{children:t("trending.createToken.inclFees")})]})})]}),e.jsxs("div",{className:"text-sm text-white/80 bg-white/5 rounded-lg p-3 mt-2 space-y-1",children:[e.jsx("div",{className:"text-white text-sm md:text-md",children:t("trending.createToken.note.tradingAvailable")}),e.jsx("div",{className:"opacity-80",children:t("trending.createToken.note.deployFromWallet")})]})]}),e.jsx("div",{className:`md:pt-4 ${j==="taken"?"opacity-40 pointer-events-none select-none":""}`,"aria-disabled":j==="taken",children:at()})]}):e.jsx("div",{className:"space-y-4",children:e.jsxs("div",{className:"animate-pulse",children:[e.jsx("div",{className:"h-12 bg-gray-700 rounded mb-4"}),e.jsx("div",{className:"h-12 bg-gray-700 rounded mb-4"}),e.jsx("div",{className:"h-20 bg-gray-700 rounded"})]})})})}),e.jsx("div",{className:"min-w-0 flex-1 xl:order-1",children:e.jsxs("div",{className:"xl:text-left",children:[e.jsx("div",{className:"mt-8 md:mt-12 xl:mt-0 mb-6",children:e.jsx(Wt,{})}),e.jsxs("div",{className:"bg-[#0d1117]/10 backdrop-blur-xl border border-cyan-500/20 rounded-2xl relative overflow-hidden transition-all duration-300 p-6 md:p-8 hover-lift animate-scaleIn animate-delay-300",children:[e.jsx("h3",{className:"text-xl font-bold text-white mb-6 bg-gradient-to-r from-purple-400 via-pink-400 to-orange-400 bg-clip-text text-transparent animate-gradientShift",children:t("trending.createToken.explainer.title")}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex gap-4 items-start p-4 rounded-xl bg-gradient-to-r from-cyan-500/10 to-blue-500/5 border border-cyan-500/20",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-cyan-500/20 flex items-center justify-center border border-cyan-500/30",children:e.jsx($t,{className:"w-5 h-5 text-cyan-400"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"flex items-center gap-2 mb-2",children:e.jsx("h4",{className:"font-semibold text-white",children:t("trending.createToken.explainer.priceDiscoveryTitle")})}),e.jsx("p",{className:"text-white/70 text-sm leading-relaxed",children:t("trending.createToken.explainer.priceDiscoveryBody")})]})]}),e.jsxs("div",{className:"flex gap-4 items-start p-4 rounded-xl bg-gradient-to-r from-purple-500/10 to-pink-500/5 border border-purple-500/20",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-purple-500/20 flex items-center justify-center border border-purple-500/30",children:e.jsx(Lt,{className:"w-5 h-5 text-purple-400"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"flex items-center gap-2 mb-2",children:e.jsx("h4",{className:"font-semibold text-white",children:t("trending.createToken.explainer.mathTitle")})}),e.jsxs("div",{className:"space-y-3 text-white/70 text-sm leading-relaxed",children:[e.jsxs("p",{children:[t("trending.createToken.explainer.formulaIntro")," ",e.jsx("code",{className:"bg-white/10 px-2 py-1 rounded text-xs font-mono",children:"price = k à supply²"})]}),e.jsxs("p",{children:[t("trending.createToken.explainer.whereLabel")," ",e.jsx("code",{className:"bg-white/10 px-2 py-1 rounded text-xs font-mono",children:"k"})," ",t("trending.createToken.explainer.constantAnd")," ",e.jsx("code",{className:"bg-white/10 px-2 py-1 rounded text-xs font-mono",children:"supply"})," ",t("trending.createToken.explainer.supplyDescription")]}),e.jsx("p",{className:"font-medium text-white/80",children:t("trending.createToken.explainer.thisMeans")}),e.jsxs("div",{className:"space-y-2 pl-4 border-l-2 border-purple-500/30",children:[e.jsxs("p",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-purple-400 flex-shrink-0 mt-0.5",children:"â¢"}),e.jsx("span",{children:t("trending.createToken.explainer.bullet1")})]}),e.jsxs("p",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-purple-400 flex-shrink-0 mt-0.5",children:"â¢"}),e.jsx("span",{children:t("trending.createToken.explainer.bullet2")})]}),e.jsxs("p",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-purple-400 flex-shrink-0 mt-0.5",children:"â¢"}),e.jsx("span",{children:t("trending.createToken.explainer.bullet3")})]}),e.jsxs("p",{className:"flex items-start gap-2",children:[e.jsx("span",{className:"text-purple-400 flex-shrink-0 mt-0.5",children:"â¢"}),e.jsx("span",{children:t("trending.createToken.explainer.bullet4")})]})]})]})]})]}),e.jsxs("div",{className:"flex gap-4 items-start p-4 rounded-xl bg-gradient-to-r from-orange-500/10 to-amber-500/5 border border-orange-500/20",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-orange-500/20 flex items-center justify-center border border-orange-500/30",children:e.jsx(wt,{className:"w-5 h-5 text-orange-400"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"flex items-center gap-2 mb-2",children:e.jsx("h4",{className:"font-semibold text-white",children:t("trending.createToken.explainer.daoTreasuryTitle")})}),e.jsx("p",{className:"text-white/70 text-sm leading-relaxed",children:t("trending.createToken.explainer.daoTreasuryBody")})]})]}),e.jsxs("div",{className:"flex gap-4 items-start p-4 rounded-xl bg-gradient-to-r from-emerald-500/10 to-teal-500/5 border border-emerald-500/20",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full bg-emerald-500/20 flex items-center justify-center border border-emerald-500/30",children:e.jsx(Ft,{className:"w-5 h-5 text-emerald-400"})}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"flex items-center gap-2 mb-2",children:e.jsx("h4",{className:"font-semibold text-white",children:t("trending.createToken.explainer.feesTitle")})}),e.jsx("p",{className:"text-white/70 text-sm leading-relaxed",children:t("trending.createToken.explainer.feesBody")})]})]})]})]})]})})]})]})})})};export{is as default};
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.