PageSourceSearch

https://alphasigs.net/assets/LandingPage-ZcdDAx5v.js

js alphasigs.net collected 2026-10-05 23:13:41 UTC 361,601 bytes, 121 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/QuantumFinance3DPreview-ByvvvzRg.js","assets/framer-vendor-BQFVqQmJ.js","assets/IntegratedLiquidityPanel-DRqF5qct.js","assets/orderBookService-DX0i4b9i.js","assets/index-CjIeyhK0.js","assets/chart-vendor-D7KebX4S.js","assets/supabase-vendor-DJa18kbt.js","assets/index-BSCTRX4w.css","assets/depthBook-BxUTxzbg.js","assets/binanceService-DGr6GIiU.js","assets/alert-circle-CywIEQfp.js","assets/trending-up-CBXZ7X3x.js","assets/trending-down-D6WeZXlg.js","assets/shield-CY8XlI8v.js","assets/zap-CrB2r0X1.js","assets/clock-DMi3Bbky.js","assets/layers-CO6-TaYp.js","assets/help-circle-CMLbn46g.js","assets/QuantumFinance3D-C2gCw-V_.js","assets/jarvisLiveContext-D0WpbM1A.js","assets/quantum3dCamera-XaZFqiva.js","assets/featureFlags-B8oDnF58.js","assets/useRafLoop-B3k27Bpz.js","assets/orderFlowChartData-CmeSORaa.js","assets/wallReality-ywRcHZiO.js","assets/useLiquidationFeed-CUcBVvJD.js","assets/marketPositioning-C73ta1Zr.js","assets/liquidationChartData-Bwxb1Y-I.js","assets/quasimodoPattern-DkNDC6XI.js","assets/footprintScan-DJbU2wMR.js","assets/footprintChartData-BwlHcoFD.js","assets/useBinanceDepthStream-BwbnbCzf.js","assets/priceActionDetector-CE1s5mHJ.js","assets/ppoPolicyInference-BtQ1z5td.js","assets/tensorflow-vendor-DAsUKYmo.js","assets/structuralBreakScan-f8v11b-F.js","assets/maximize-2-KeIu-mU2.js","assets/mouse-pointer-2-CHiNFzGX.js","assets/minimize-2-Tih9UR9R.js","assets/zoom-in-DsJ08xWa.js","assets/rotate-ccw-CjH9-cAc.js","assets/zoom-out-DORg1SBL.js","assets/AlphaPpoRealBrain-dtTeGYmh.js","assets/ppoBoard-B2ZX4ioh.js","assets/grip-horizontal-DhAoHmGV.js","assets/chevron-down-BDx2E2SM.js","assets/chevron-up-DnOqMwr4.js","assets/aiAnalysisCredits-BKUTSDSR.js","assets/radio-DCVaWPSN.js","assets/loader-2-2t0eZCiY.js","assets/pause-BZl_ZgBy.js","assets/play-U-iTt9iW.js","assets/coins-DRRmiirH.js","assets/database-D989o2A5.js","assets/terminal--q2OCELc.js","assets/useQuantumLiveData-5xz5p0fR.js","assets/yahooFinanceService-s3l6ZDRy.js","assets/marketSimulator-DXORQzsx.js","assets/AgentInfluenceGraph3D-BvyBYUHm.js","assets/three-vendor-C5Tu9S6t.js","assets/building-2-CySvALwl.js","assets/landmark-D4jmsaj8.js","assets/scale-uI12rt4p.js","assets/compass-BZVO2zjE.js","assets/repeat-mlSSVn1N.js","assets/GargantuaBackdrop-Dgn_qGIC.js","assets/FreeSignupModal-CxTpl4c2.js","assets/check-BwVKdKV7.js","assets/copy-DbEAbvhP.js","assets/arrow-right-BI6m3Hhy.js"])))=>i.map(i=>d[i]);
2import{h as Qt,s as ce,Y as tt,D as st,V as ke,Q as ze,l as Ss,aP as _s,aT as As,u as Cs,a1 as yt,X as gt,af as Is,y as $e,U as Ke,_ as wt,K as Ts,N as Ms,S as Ps}from"./index-CjIeyhK0.js";import{r as p,j as e,u as at,m,A as Te,h as Ze,i as Qe}from"./framer-vendor-BQFVqQmJ.js";import{D as Ls}from"./DailyBriefCard-PDPzEG3x.js";import{a as Es}from"./modelAssets-Cve_j_kn.js";import{g as Rs}from"./socialTestimonialsService-BO0IJ3n4.js";import{P as Ne,d as Os,b as Ds,c as Fs,p as Tt,T as lt,s as Ve}from"./checkout-B0yAfxnw.js";import{P as $s}from"./PlanComparison-D-u-YVGF.js";import{R as Vs}from"./ReferralCodeField-8TQESnw5.js";import{a as Bs,A as we,b as Jt}from"./assetUniverse-Cchp1bc9.js";import{L as vt}from"./lightbulb-Awd-8XEz.js";import{L as es}from"./layers-CO6-TaYp.js";import{E as ut}from"./eye-Dzwwx7Jl.js";import{A as zs}from"./arrow-up-right-Cuz5u52B.js";import{S as We}from"./shield-CY8XlI8v.js";import{B as Ws}from"./bar-chart-2-BEFYf4Vv.js";import{G as Hs}from"./gauge-CeqZOVgK.js";import{C as Us}from"./crosshair-58YOjbTF.js";import{Z as xe}from"./zap-CrB2r0X1.js";import{C as Mt}from"./check-circle-2-DvlBosaH.js";import{T as jt}from"./trending-up-CBXZ7X3x.js";import{H as Gs}from"./help-circle-CMLbn46g.js";import{L as ts}from"./line-chart-BeorRfsR.js";import{M as Ys}from"./message-square-T1_jWF_1.js";import{C as ss}from"./chevron-down-BDx2E2SM.js";import{S as as,s as rs,z as nt}from"./siteWidgetsHtml-DzJzHUdT.js";import{a as qs,b as Be,c as Pt}from"./roomRanks-D_EFmF42.js";import{C as Xs}from"./coins-DRRmiirH.js";import{T as Ks}from"./trophy-CjAyKyz6.js";import{C as Se}from"./crown-DOUSA71V.js";import{D as Zs}from"./featureFlags-B8oDnF58.js";import{F as Qs,S as Js}from"./FreeSignupModal-CxTpl4c2.js";import{P as ea,C as ta,L as sa}from"./LogoParticleHero-DRRljGoa.js";import{L as aa}from"./LanguageMenuButton-C8hTwTXy.js";import{G as Nt}from"./globe-CwrWhgGd.js";import{L as ra}from"./lock-Co4Qhd9A.js";import{A as le}from"./arrow-right-BI6m3Hhy.js";import{Q as is}
2from"./qr-code-DCAQ9Mjb.js";import{P as Re}from"./play-U-iTt9iW.js";import{C as ft}from"./clock-DMi3Bbky.js";import{D as ia}from"./download-y4O6-y3v.js";import{S as Lt}from"./smartphone-Cnp5Ll-i.js";import{C as pe}from"./check-circle-B0jXszWX.js";import{S as Oe}from"./star-D6yVohWT.js";import{C as la}from"./chevron-left-9XRfdzTo.js";import{C as na}from"./chevron-right-n19QyBXg.js";import{M as ls}from"./message-circle-BBOwSrmT.js";import{S as oa}from"./shopping-cart-C2OrNJoU.js";import{A as ca}from"./award-uG-zyCxI.js";import{B as da}from"./braces-C0o7LTe5.js";import{F as ns}from"./facebook-DGRwyZE6.js";import{B as xa}from"./bell-BGcS2vt_.js";import{Z as ma}from"./zoom-in-DsJ08xWa.js";import{K as ha}from"./key-round-Db3pt5wd.js";import"./chart-vendor-D7KebX4S.js";import"./supabase-vendor-DJa18kbt.js";import"./countryFlags-B4MDsFgu.js";import"./scale-uI12rt4p.js";import"./arrow-left-right-DJ3hYd8G.js";import"./landmark-D4jmsaj8.js";import"./fuel-Cx0G2OT3.js";import"./percent-BXSCKFdK.js";import"./trending-down-D6WeZXlg.js";import"./info-DDruJLzX.js";import"./check-BwVKdKV7.js";import"./user-plus-GvkKG2bM.js";import"./loader-2-2t0eZCiY.js";import"./x-circle-DP_BoQhN.js";import"./copy-DbEAbvhP.js";import"./shield-alert-CkS9T0F3.js";import"./three-vendor-C5Tu9S6t.js";import"./languages-DfdoAOIu.js";/**
3 * @license lucide-react v0.344.0 - ISC
4 *
5 * This source code is licensed under the ISC license.
6 * See the LICENSE file in the root directory of this source tree.
7 */const pa=Qt("Chrome",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["line",{x1:"21.17",x2:"12",y1:"8",y2:"8",key:"a0cw5f"}],["line",{x1:"3.95",x2:"8.54",y1:"6.06",y2:"14",key:"1kftof"}],["line",{x1:"10.88",x2:"15.46",y1:"21.94",y2:"14",key:"1ymyh8"}]]);/**
8 * @license lucide-react v0.344.0 - ISC
9 *
10 * This source code is licensed under the ISC license.
11 * See the LICENSE file in the root directory of this source tree.
12 */const os=Qt("Quote",[["path",{d:"M3 21c3 0 7-1 7-8V5c0-1.25-.756-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V20c0 1 0 1 1 1z",key:"4rm80e"}],["path",{d:"M15 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z",key:"10za9r"}]]);function cs({children:t,rootMargin:s="400px",className:a,minHeight:r}){const l=p.useRef(null),[n,o]=p.useState(!1);return p.useEffect(()=>{const c=l.current;if(!c)return;if(typeof IntersectionObserver>"u"){o(!0);return}const d=new IntersectionObserver(u=>{var x;return o(((x=u[0])==null?void 0:x.isIntersecting)??!1)},{rootMargin:s});return d.observe(c),()=>d.disconnect()},[s]),e.jsx("div",{ref:l,className:a,style:r!=null?{minHeight:r}:void 0,children:n?t:null})}const ua="/assets/Somchok-roApWGKP.jpg",ot="/assets/Mingg-6ZeKfHWq.jpg";let z=null,Et=0;const fa=5*60*1e3;let kt=!1;function ds(t){var s,a;t&&(t.code==="400"||(s=t.message)!=null&&s.includes("400")||(a=t.message)!=null&&a.includes("column"))&&(kt=!0)}function ba(){const t=new Date;return t.setDate(t.getDate()-30),t.toISOString()}async function ya(){if(kt)return(z==null?void 0:z.signals30d)??null;try{const{count:t,error:s}=await ce.from("signal_broadcasts").select("*",{count:"exact",head:!0}).gte("created_at",ba());return s?(ds(s),(z==null?void 0:z.signals30d)??null):typeof t=="number"?t:null}catch{return(z==null?void 0:z.signals30d)??null}}async function ga(){try{const{data:t,error:s}=await ce.rpc("vip_members_count");return s?(z==null?void 0:z.vipMembers)??null:typeof t=="number"?t:null}catch{return(z==null?void 0:z.vipMembers)??null}}async function wa(){if(kt)return(z==null?void 0:z.recentlyActiveAssets)??null;try{const{data:t,error:s}=await ce.from("signal_history").select("asset").limit(1e3);return s?(ds(s),(z==null?void 0:z.recentlyActiveAssets)??null):!t||t.length===0?(z==null?void 0:z.recentlyActiveAssets)??null:new Set(t.map(a=>a.asset)).size}catch{return(z==null?void 0:z.recentlyActiveAssets)??null}}async function va(){const t=Date.now();if(z&&t-Et<fa)return z;const[s,a,r]=await Promise.all([ya(),ga(),wa()]);return z={signals30d:s,vipMembers:a,recentlyActiveAssets:r},Et=t,z}function xs(){const[t,s]=p.useState({signals30d:null,vipMembers:null,recentlyActiveAssets:null}),[a,r]=p.useState(!0),l=async()=>{try{const n=await va();s(n)}catch{}finally{r(!1)}};return p.useEffect(()=>{l();const n=setInterval(l,5*60*1e3);return()=>clearInterval(n)},[]),{stats:t,loading:a}}function ms({step:t,eyebrow:s,title:a,desc:r,visual:l,compact:n=!1,className:o=""}){return e.jsxs("div",{className:`group relative flex h-full flex-col overflow-hidden rounded-3xl border border-white/[0.08] bg-[linear-gradient(180deg,rgba(15,23,42,0.92),rgba(2,6,23,0.78))] p-5 pt-6 shadow-[0_30px_60px_-30px_rgba(0,0,0,0.9)] backdrop-blur-sm transition-all duration-300 hover:-translate-y-1 hover:border-cyan-300/30 hover:shadow-[0_30px_70px_-28px_rgba(34,211,238,0.35)] md:p-6 ${o}`,children:[e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 top-0 h-48 bg-[radial-gradient(60%_80%_at_50%_0%,rgba(34,211,238,0.16),transparent_70%)]"}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-10 to
12p-0 h-px bg-gradient-to-r from-transparent via-cyan-200/60 to-transparent"}),e.jsx("div",{className:"relative mx-auto inline-flex items-center rounded-full border border-cyan-300/30 bg-slate-950/70 px-4 py-1.5 text-[11px] font-bold uppercase tracking-[0.24em] text-cyan-200",children:t}),e.jsxs("div",{className:`relative mt-5 flex ${n?"h-44":"h-56 md:h-60"} items-center justify-center overflow-hidden rounded-2xl`,children:[e.jsx("div",{"aria-hidden":"true",className:"absolute inset-0 opacity-40 [background-image:radial-gradient(rgba(148,163,184,0.28)_1px,transparent_1px)] [background-size:14px_14px] [mask-image:radial-gradient(ellipse_at_center,black_35%,transparent_75%)]"}),l]}),e.jsxs("div",{className:"relative mt-6",children:[e.jsx("p",{className:"text-[11px] font-bold uppercase tracking-[0.22em] text-emerald-400",children:s}),e.jsx("h3",{className:"mt-2 text-xl font-bold leading-snug text-white md:text-2xl",children:a}),e.jsx("p",{className:"mt-3 text-sm leading-relaxed text-slate-400",children:r})]})]})}const re="ui-sans-serif, system-ui, sans-serif";function ve({x:t,y:s,w:a,label:r,tone:l="cyan",anchor:n="start"}){const o=l==="emerald"?"rgba(52,211,153,0.6)":l==="rose"?"rgba(251,113,133,0.6)":l==="slate"?"rgba(148,163,184,0.4)":"rgba(103,232,249,0.55)",c=l==="emerald"?"#6ee7b7":l==="rose"?"#fda4af":l==="slate"?"#cbd5e1":"#a5f3fc",d=n==="end"?t-a:t;return e.jsxs("g",{children:[e.jsx("rect",{x:d,y:s-9,width:a,height:18,rx:9,fill:"rgba(2,6,23,0.9)",stroke:o}),e.jsx("text",{x:d+a/2,y:s+3.5,textAnchor:"middle",fontSize:9,fontWeight:700,fill:c,fontFamily:re,letterSpacing:.6,children:r})]})}function hs({top:t,bottom:s,center:a,sub:r}){return e.jsxs("svg",{viewBox:"0 0 240 240",className:"h-[92%] w-auto",role:"img","aria-label":`${t} · ${s}`,children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dial-ring",x1:"0",y1:"0",x2:"1",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:"#67e8f9"}),e.jsx("stop",{offset:"0.5",stopColor:"#34d399"}),e.jsx("stop",{offset:"1",stopColor:"#22d3ee"})]}),e.jsxs("radialGradient",{id:"dial-core",cx:"40%",cy:"35%",r:"70%",children:[e.jsx("stop",{offset:"0",stopColor:"#164e63"}),e.jsx("stop",{offset:"1",stopColor:"#020617"})]}),e.jsxs("radialGradient",{id:"dial-glow",cx:"50%",cy:"50%",r:"50%",children:[e.jsx("stop",{offset:"0",stopColor:"rgba(34,211,238,0.45)"}),e.jsx("stop",{offset:"1",stopColor:"rgba(34,211,238,0)"})]}),e.jsx("path",{id:"dial-arc-top",d:"M 28,120 a 92,92 0 0,1 184,0",fill:"none"}),e.jsx("path",{id:"dial-arc-bottom",d:"M 28,120 a 92,92 0 0,0 184,0",fill:"none"})]}),e.jsx("circle",{cx:"120",cy:"120",r:"118",fill:"url(#dial-glow)"}),e.jsx("circle",{cx:"120",cy:"120",r:"108",fill:"none",stroke:"rgba(148,163,184,0.18)"}),e.jsx("circle",{cx:"120",cy:"120",r:"80",fill:"none",stroke:"rgba(103,232,249,0.22)",strokeDasharray:"2 5"}),e.jsx("text",{fontSize:"11",fontWeight:700,fill:"#a5f3fc",fontFamily:re,letterSpacing:1.4,children:e.jsx("textPath",{href:"#dial-arc-top",startOffset:"50%",textAnchor:"middle",children:t})}),e.jsx("text",{fontSize:"10.5",fontWeight:700,fill:"#cbd5e1",fontFamily:re,letterSpacing:1.2,children:e.jsx("textPath",{href:"#dial-arc-bottom",startOffset:"50%",textAnchor:"middle",children:s})}),e.jsx("g",{className:"origin-center animate-[spin_40s_linear_infinite] motion-reduce:animate-none",style:{transformBox:"fill-box",transformOrigin:"center"},children:e.jsx("circle",{cx:"120",cy:"120",r:"66",fill:"none",stroke:"url(#dial-ring)",strokeWidth:"6",strokeDasharray:"3 9",opacity:"0.85"})}),e.jsx("circle",{cx:"120",cy:"120",r:"56",fill:"url(#dial-core)",stroke:"rgba(103,232,249,0.55)",strokeWidth:"1.5"}),e.jsx("circle",{cx:"120",cy:"120",r:"46",fill:"none",stroke:"rgba(52,211,153,0.35)"}),e.jsx("text",{x:"120",y:"126",textAnchor:"middle",fontSize:a.length>3?22:40,fontWeight:800,fill:"#ffffff",fontFamily:re,children:a}),e.jsx("text",{x:"120",y:"146",textAnchor:"middle",fontSize:"10",fontWeight:600,fill:"#94a3b8",fontFamily:re,letterSpacing:1,children:r})]})}function ja({t}){return e.jsxs("svg",{viewBox:"0 0 320 200",className:"h-full w-full",role:"img","aria-label":t("ตัวอย่างการ์ดสัญญาณ","Sample signal card"),children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"sig-fill",x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:"rgba(34,211,238,0.35)"}),e.jsx("stop",{offset:"1",stopColor:"rgba(34,211,238,0)"})]}),e.jsxs("linearGradient",{id:"sig-line",x1:"0",y1:"0",x2:"1",y2:"0",children:[e.jsx("stop",{offset:"0",stopColor:"#22d3ee"}),e.jsx("stop",{offset:"1",stopColor:"#34d399"})]})]}),[40,80,120,160].map(s=>e.jsx("line",{x1:"24",x2:"296",y1:s,y2:s,stroke:"rgba(148,163,184,0.12)"},s)),e.jsx("line",{x1:"24",x2:"296",y1:"52",y2:"52",stroke:"rgba(52,211,153,0.6)",strokeDasharray:"4 4"}),e.jsx("line",{x1:"24",x2:"296",y1:"118",y2:"118",stroke:"rgba(103,232,249,0.7)",strokeDasharray:"4 4"}),e.jsx("line",{x1:"24",x2:"296",y1:"170",y2:"170",stroke:"rgba(251,113,133,0.6)",strokeDasharray:"4 4"}),e.jsx(ve,{x:296,y:52,w:34,label:"TP",tone:"emerald",anchor:"end"}),e.jsx(ve,{x:296,y:118,w:44,label:"ENTRY",tone:"cyan",anchor:"end"}),e.jsx(ve,{x:296,y:170,w:34,label:"SL",tone:"rose",anchor:"end"}),e.jsx("path",{d:"M 24,150 C 50,140 62,96 84,104 S 118,146 136,138 S 160,112 178,118 S 208,124 226,92 S 262,60 296,56 L 296,190 L 24,190 Z",fill:"url(#sig-fill)"}),e.jsx("path",{d:"M 24,150 C 50,140 62,96 84,104 S 118,146 136,138 S 160,112 178,118 S 208,124 226,92 S 262,60 296,56",fill:"none",stroke:"url
12(#sig-line)",strokeWidth:"2.5",strokeLinecap:"round"}),e.jsx("circle",{cx:"178",cy:"118",r:"10",fill:"rgba(34,211,238,0.25)",className:"animate-ping motion-reduce:animate-none",style:{transformBox:"fill-box",transformOrigin:"center"}}),e.jsx("circle",{cx:"178",cy:"118",r:"4.5",fill:"#22d3ee",stroke:"#020617",strokeWidth:"2"}),e.jsxs("g",{transform:"translate(30 14)",children:[e.jsx("rect",{width:"150",height:"44",rx:"12",fill:"rgba(2,6,23,0.92)",stroke:"rgba(103,232,249,0.35)"}),e.jsx("circle",{cx:"16",cy:"16",r:"3.5",fill:"#34d399"}),e.jsx("text",{x:"26",y:"19.5",fontSize:"10",fontWeight:700,fill:"#e2e8f0",fontFamily:re,children:t("สัญญาณใหม่","New signal")}),e.jsx("text",{x:"16",y:"36",fontSize:"11",fontWeight:800,fill:"#ffffff",fontFamily:re,letterSpacing:.5,children:"XAUUSD"}),e.jsx("rect",{x:"70",y:"26",width:"38",height:"14",rx:"7",fill:"rgba(52,211,153,0.18)",stroke:"rgba(52,211,153,0.5)"}),e.jsx("text",{x:"89",y:"36",textAnchor:"middle",fontSize:"8.5",fontWeight:800,fill:"#6ee7b7",fontFamily:re,letterSpacing:.8,children:"LONG"}),e.jsx("text",{x:"118",y:"36",fontSize:"9",fill:"#94a3b8",fontFamily:re,children:"15m"})]}),e.jsx(ve,{x:30,y:182,w:98,label:t("KILLZONE ลอนดอน","LONDON KILLZONE"),tone:"slate"})]})}const Na=[{x:36,o:96,c:108,h:90,l:112},{x:54,o:108,c:118,h:104,l:124},{x:72,o:118,c:112,h:106,l:122},{x:90,o:112,c:130,h:108,l:136},{x:108,o:130,c:142,h:126,l:148},{x:126,o:142,c:112,h:110,l:146},{x:144,o:112,c:84,h:80,l:116},{x:162,o:84,c:62,h:56,l:88},{x:180,o:62,c:74,h:58,l:78},{x:198,o:74,c:96,h:70,l:100},{x:216,o:96,c:120,h:92,l:128},{x:234,o:120,c:132,h:116,l:140},{x:252,o:132,c:108,h:104,l:136},{x:270,o:108,c:86,h:82,l:112}];function ka({t}){return e.jsxs("svg",{viewBox:"0 0 320 200",className:"h-full w-full",role:"img","aria-label":t("ตัวอย่างโครงสร้าง Smart Money","Sample Smart Money structure"),children:[[40,80,120,160].map(s=>e.jsx("line",{x1:"24",x2:"296",y1:s,y2:s,stroke:"rgba(148,163,184,0.12)"},s)),e.jsx("rect",{x:"100",y:"128",width:"196",height:"18",rx:"3",fill:"rgba(52,211,153,0.16)",stroke:"rgba(52,211,153,0.45)",strokeDasharray:"3 3"}),e.jsx("text",{x:"292",y:"140",textAnchor:"end",fontSize:"8.5",fontWeight:700,fill:"#6ee7b7",fontFamily:re,letterSpacing:.8,children:"ORDER BLOCK"}),e.jsx("line",{x1:"30",x2:"176",y1:"90",y2:"90",stroke:"rgba(165,243,252,0.6)",strokeDasharray:"4 3"}),e.jsx(ve,{x:176,y:90,w:40,label:"BOS",tone:"cyan",anchor:"end"}),Na.map(s=>{const a=s.c<s.o,r=Math.min(s.o,s.c),l=Math.max(2,Math.abs(s.o-s.c)),n=a?"#34d399":"#fb7185";return e.jsxs("g",{children:[e.jsx("line",{x1:s.x,x2:s.x,y1:s.h,y2:s.l,stroke:n,strokeWidth:"1.5"}),e.jsx("rect",{x:s.x-5,y:r,width:"10",height:l,rx:"1.5",fill:n,opacity:.95})]},s.x)}),e.jsxs("g",{transform:"translate(150 12)",children:[e.jsx("rect",{width:"140",height:"30",rx:"10",fill:"rgba(2,6,23,0.92)",stroke:"rgba(103,232,249,0.35)"}),e.jsx("circle",{cx:"14",cy:"15",r:"4",fill:"#22d3ee"}),e.jsx("text",{x:"24",y:"19",fontSize:"9.5",fontWeight:700,fill:"#e2e8f0",fontFamily:re,children:t("AI: โครงสร้างขาขึ้น","AI: bullish structure")})]}),e.jsx(ve,{x:30,y:182,w:112,label:t("SMART MONEY CONCEPTS","SMART MONEY CONCEPTS"),tone:"slate"})]})}function Sa({t}){return e.jsxs("svg",{viewBox:"0 0 320 200",className:"h-full w-full",role:"img","aria-label":t("ตัวอย่างการ์ดรหัส VIP","Sample VIP code card"),children:[e.jsx("defs",{children:e.jsxs("linearGradient",{id:"vip-card",x1:"0",y1:"0",x2:"1",y2:"1",children:[e.jsx("stop",{offset:"0",stopColor:"#0f172a"}),e.jsx("stop",{offset:"1",stopColor:"#041a24"})]})}),e.jsxs("g",{transform:"translate(44 34) rotate(-4 116 66)",children:[e.jsx("rect",{width:"232",height:"132",rx:"18",fill:"url(#vip-card)",stroke:"rgba(103,232,249,0.45)"}),e.jsx("rect",{x:"1",y:"1",width:"230",height:"130",rx:"17",fill:"none",stroke:"rgba(255,255,255,0.06)"}),e.jsx("text",{x:"20",y:"30",fontSize:"9",fontWeight:800,fill:"#67e8f9",fontFamily:re,letterSpacing:2.4,children:"VIP CODE"}),e.jsx("circle",{cx:"206",cy:"26",r:"9",fill:"rgba(52,211,153,0.2)",stroke:"rgba(52,211,153,0.6)"}),e.jsx("path",{d:"M201.5 26.5l3 3 6-6.5",fill:"none",stroke:"#6ee7b7",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("rect",{x:"20",y:"52",width:"192",height:"34",rx:"9",fill:"rgba(2,6,23,0.7)",stroke:"rgba(148,163,184,0.25)"}),e.jsx("text",{x:"116",y:"75",textAnchor:"middle",fontSize:"16",fontWeight:800,fill:"#ffffff",fontFamily:"ui-monospace, SFMono-Regular, Menlo, monospace",letterSpacing:3,children:"ALPHA-••••-••••"}),e.jsx("text",{x:"20",y:"110",fontSize:"9",fill:"#94a3b8",fontFamily:re,children:t("ส่งถึงอีเมลทันทีหลังชำระเงิน","Emailed the moment payment clears")})]}),e.jsx(ve,{x:30,y:182,w:104,label:t("ใช้เข้าสู่ระบบ","YOUR SIGN-IN KEY"),tone:"slate"})]})}function _a({t}){return e.jsxs("svg",{viewBox:"0 0 320 200",className:"h-full w-full",role:"img","aria-label":t("ตัวอย่างหน้า Dashboard","Dashboard sketch"),children:[e.jsx("rect",{x:"24",y:"16",width:"272",height:"168",rx:"14",fill:"rgba(2,6,23,0.9)",stroke:"rgba(103,232,249,0.3)"}),e.jsx("circle",{cx:"40",cy:"30",r:"3",fill:"#fb7185"}),e.jsx("circle",{cx:"50",cy:"30",r:"3",fill:"#fbbf24"}),e.jsx("circle",{cx:"60",cy:"30",r:"3",fill:"#34d399"}),e.jsx("rect",{x:"32",y:"44",width:"40",height:"130",rx:"8",fill:"rgba(15,23,42,0.9)"}),[56,76,96,116].map((s,a)=>e.jsx("rect",{x:"40",y:s,width:"24",height:"8",rx:"4",fill:a===0?"rgba(52,211,153,0.7)":"rgba(148,163,184,0.3)"},s)),e.jsx("rect",{x:"80",y:"44",width:"208",height:"76",rx:"10",fill:"rgba(15,23,42,0.9)",stroke:"rgba(255,255,255,0.05)"}),e.jsx("path",{d:"M 90,104 C 110,100 118,70 136,76 S 166,110 184,98 S 214,62 232,70 S 262,58 280,52",fill:"none",stroke:"#22d3ee",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("circle",{cx:"270",cy:"56",r:"3",fill:"#34d399"}),e.jsx("text",{x:"90",y:"58",fontSize:"8.5",fontWeight:700,fill:"#94a3b8",fontFamily:re,letterSpacing:1,children:"XAUUSD · 15m"}),e.jsx("circle",{cx:"276",cy:"55",r:"6",fill:"rgba(52,211,153,0.25)",className:"animate-ping motion-reduce:animate-none",style:{transformBox:"fill-box",transformOrigin:"center"}}),[{x:80,label:"AI Signals"},{x:152,label:"Order Flow"},{x:224,label:"SMC"}].map(s=>e.jsxs("g",{children:[e.jsx("rect",{x:s.x,y:"128",width:"64",height:"46",rx:"10",fill:"rgba(15,23,42,0.9)",stroke:"rgba(255,255,255,0.05)"}),e.jsx("rect",{x:s.x+10,y:"140",width:"26",height:"6",rx:"3",fill:"rgba(103,232,249,0.6)"}),e.jsx("rect",{x:s.x+10,y:"152",width:"42",height:"6",rx:"3",fill:"rgba(148,163,184,0.3)"}),e.jsx("text",{x:s.x+10,y:"170",fontSize:"7.5",fontWeight:700,fill:"#cbd5e1",fontFamily:re,children:s.label})]},s.label)),e.jsx(ve,{x:224,y:30,w:64,label:t("เข้าถึงครบ","ALL UNLOCKED"),tone:"emerald",anchor:"end"})]})}function Aa({t}){const s=[t("ตั้ง SL ก่อนเข้าออเดอร์","Stop-loss set before entry"),t("ขนาดไม้ตามความเสี่ยงที่รับได้","Position sized to the risk you accept"),t("เข้าตามแผน ไม่ไล่ราคา","Enter on the plan, never chase")];return e.jsxs("svg",{viewBox:"0 0 320 200",className:"h-full w-full",role:"img","aria-label":t("เช็กลิสต์ก่อนเทรด","Pre-trade checklist"),children:[e.jsx("rect",{x:"36",y:"20",width:"248",height:"160",rx:"16",fill:"rgba(2,6,23,0.9)",stroke:"rgba(103,232,249,0.3)"}),e.jsx("text",{x:"56",y:"46",fontSize:"9",fontWeight:800,fill:"#67e8f9",fontFamily:re,letterSpacing:2,children:t("ก่อนกดเข้า","BEFORE YOU ENTER")}),s.map((a,r)=>
12{const l=70+r*34;return e.jsxs("g",{children:[e.jsx("rect",{x:"52",y:l-12,width:"216",height:"26",rx:"8",fill:"rgba(15,23,42,0.9)",stroke:"rgba(255,255,255,0.05)"}),e.jsx("circle",{cx:"66",cy:l+1,r:"7",fill:"rgba(52,211,153,0.2)",stroke:"rgba(52,211,153,0.7)"}),e.jsx("path",{d:`M62.5 ${l+1}l2.5 2.5 5-5.5`,fill:"none",stroke:"#6ee7b7",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("text",{x:"80",y:l+4.5,fontSize:"9.5",fontWeight:600,fill:"#e2e8f0",fontFamily:re,children:a})]},a)})]})}const q="#475569",oe="#1e293b",ue="#64748b",Ca="cubic-bezier(.22,1,.36,1)";function C(t,s=0){if(t!==0)return`opacity ${t}ms ease ${s}ms, transform ${t}ms ${Ca} ${s}ms, stroke-dashoffset ${t}ms ease ${s}ms, stroke ${t}ms ease ${s}ms, fill ${t}ms ease ${s}ms`}function ps(){const[t,s]=p.useState(!0);return p.useEffect(()=>{try{const a=window.matchMedia("(hover: hover)"),r=()=>s(a.matches);return r(),a.addEventListener("change",r),()=>a.removeEventListener("change",r)}catch{return}},[]),t}function Ia(t){const s=Math.min(t.open,t.close),a=Math.abs(t.close-t.open);return{bodyY:s,bodyH:Math.max(1,a),up:t.close<t.open}}function Ta(t,s){return{y:s,height:t-s}}const Ma={metals:"METAL",crypto:"CRYPTO",fxMajors:"FX",indices:"INDEX"};function Pa(){return Bs.map(t=>({key:t.key,code:Ma[t.key]??t.key.toUpperCase().slice(0,6),count:t.items.length}))}const _e="0 0 320 92";function St({specs:t,lit:s,ms:a,upColor:r,downColor:l,width:n=10}){return e.jsx("g",{children:t.map((o,c)=>{const d=Ia(o),u=s?d.up?r:l:q;return e.jsxs("g",{style:{transition:C(a,c*45)},children:[e.jsx("line",{x1:o.x+n/2,x2:o.x+n/2,y1:o.high,y2:o.low,stroke:u,strokeWidth:1.5,strokeLinecap:"round",style:{transition:C(a,c*45)}}),e.jsx("rect",{x:o.x,y:d.bodyY,width:n,height:d.bodyH,rx:1.5,fill:u,fillOpacity:d.up?.95:.55,stroke:u,strokeWidth:1,style:{transition:C(a,c*45)}})]},o.x)})})}function La({lit:t,ms:s}){const a="#a78bfa",r="#7c3aed",l=[{x:14,open:52,close:40,high:36,low:56},{x:36,open:40,close:48,high:36,low:52},{x:58,open:48,close:30,high:26,low:52},{x:80,open:30,close:36,high:26,low:40},{x:102,open:36,close:20,high:16,low:40}],n="M172 70 C 200 68, 212 18, 232 18 C 252 18, 264 68, 292 70";return e.jsxs("svg",{viewBox:_e,className:"h-full w-full",role:"presentation","aria-hidden":"true",children:[e.jsx(St,{specs:l,lit:t,ms:s,upColor:a,downColor:r}),e.jsx("line",{x1:8,x2:128,y1:72,y2:72,stroke:oe,strokeWidth:1}),e.jsxs("g",{style:{opacity:t?1:.35,transition:C(s,120)},children:[e.jsx("line",{x1:138,x2:158,y1:44,y2:44,stroke:t?a:q,strokeWidth:1.5,style:{transition:C(s)}}),e.jsx("path",{d:"M156 40 L164 44 L156 48 Z",fill:t?a:q,style:{transition:C(s)}})]}),e.jsx("path",{d:`${n} L292 70 L172 70 Z`,fill:a,fillOpacity:t?.16:0,style:{transition:C(s,90)}}),e.jsx("path",{d:n,fill:"none",stroke:t?a:q,strokeWidth:2,strokeLinecap:"round",strokeDasharray:190,strokeDashoffset:t?0:190,style:{transition:C(s,60)}}),e.jsx("line",{x1:168,x2:298,y1:70,y2:70,stroke:oe,strokeWidth:1}),e.jsx("line",{x1:232,x2:232,y1:20,y2:70,stroke:t?a:q,strokeWidth:1,strokeDasharray:"3 3",style:{opacity:t?.9:.4,transition:C(s,200)}}),[202,262].map(o=>e.jsx("line",{x1:o,x2:o,y1:66,y2:74,stroke:t?r:oe,strokeWidth:1.5,style:{transition:C(s,240)}},o)),e.jsx("circle",{cx:232,cy:18,r:t?9:0,fill:a,fillOpacity:.18,style:{transition:C(s,260)}}),e.jsx("circle",{cx:232,cy:18,r:3,fill:t?a:q,style:{transition:C(s,260)}}),e.jsx("text",{x:228,y:86,fontSize:9,fill:t?a:ue,style:{transition:C(s,260)},children:"μ"}),e.jsx("text",{x:197,y:86,fontSize:9,fill:ue,children:"σ"}),e.jsx("text",{x:257,y:86,fontSize:9,fill:ue,children:"σ"})]})}function Ea({lit:t,ms:s}){const a="#34d399",r="#fb7185",l="#22d3ee",n=[{x:30,open:62,close:82,high:58,low:86},{x:76,open:78,close:56,high:52,low:80},{x:122,open:54,close:20,high:16,low:56},{x:168,open:32,close:12,high:10,low:34}],o=Ta(52,34),c=62,d=20;return e.jsxs("svg",{viewBox:_e,className:"h-full w-full",role:"presentation","aria-hidden":"true",children:[e.jsx("rect",{x:24,y:c,width:226,height:d,fill:a,fillOpacity:t?.12:.03,style:{transition:C(s,140)}}),[c,c+d].map(u=>e.jsx("line",{x1:24,x2:250,y1:u,y2:u,stroke:t?a:oe,strokeWidth:1,strokeDasharray:"5 4",style:{transition:C(s,140)}},u)),o&&e.jsxs(e.Fragment,{children:[e.jsx("rect",{x:60,y:o.y,width:190,height:o.height,fill:l,fillOpacity:t?.16:.04,style:{transition:C(s,200)}}),[o.y,o.y+o.height].map(u=>e.jsx("line",{x1:60,x2:250,y1:u,y2:u,stroke:t?l:oe,strokeWidth:1,style:{transition:C(s,200)}},u))]}),e.jsx(St,{specs:n,lit:t,ms:s,upColor:a,downColor:r,width:13}),e.jsx("text",{x:256,y:o?o.y+o.height/2+3.5:44,fontSize:10,fontWeight:700,letterSpacing:"0.08em",fill:t?l:ue,style:{transition:C(s,240)},children:"FVG"}),e.jsx("text",{x:256,y:c+d/2+3.5,fontSize:10,fontWeight:700,letterSpacing:"0.08em",fill:t?a:ue,style:{transition:C(s,280)},children:"OB"})]})}function Ra({lit:t,ms:s}){const a="#f59e0b",r="#fb923c",l=[{x:12,open:56,close:44,high:40,low:60},{x:32,open:44,close:52,high:40,low:58},{x:52,open:52,close:34,high:30,low:56},{x:72,open:34,close:46,high:30,low:50},{x:92,open:46,close:30,high:26,low:50},{x:112,open:30,close:38,high:26,low:44}],n=[{y:8,w:34},{y:21,w:56},{y:34,w:40},{y:47,w:96,poc:!0},{y:60,w:60},{y:73,w:30}],c=n.find(d=>d.poc).y+4.5;return e.jsxs("svg",{viewBox:_e,className:"h-full w-full",role:"presentation","aria-hidden":"true",children:[e.jsx(St,{specs:l,lit:t,ms:s,upColor:r,downColor:"#b45309"}),e.jsx("line",{x1:10,x2:300,y1:c,y2:c,stroke:t?a:q,strokeWidth:1.25,strokeDasharray:"5 4",style:{opacity:t?1:.35,transition:C(s,220)}}),e.jsx("text",{x:150,y:c-5,fontSize:9,fontWeight:700,letterSpacing:"0.1em",fill:t?a:ue,style:{transition:C(s,260)},children:"POC"}),n.map((d,u)=>e.jsx("rect",{x:300-d.w,y:d.y,width:d.w,height:9,rx:2,fill:t?d.poc?a:r:q,fillOpacity:t?d.poc?.95:.5:.35,style:{transformBox:"fill-box",transformOrigin:"right center",transform:t?"scaleX(1)":"scaleX(0.28)",transition:C(s,60+u*50)}},d.y)),e.jsx("line",{x1:300,x2:300,y1:6,y2:84,stroke:oe,strokeWidth:1})]})}function Oa({lit:t,ms:s}){const a="#34d399",r="#fb7185",l="#22d3ee";return e.jsxs("svg",{viewBox:_e,className:"h-full w-full",role:"presentation","aria-hidden":"true",children:[[78,122,166,210,254].map(x=>e.jsx("line",{x1:x,x2:x,y1:14,y2:80,stroke:oe,strokeWidth:1,strokeDasharray:"2 5"},x)),e.jsx("rect",{x:44,y:14,width:222,height:36,fill:a,fillOpacity:t?.1:.03,style:{transition:C(s,120)}}),e.jsx("rect",{x:44,y:50,width:222,height:30,fill:r,fillOpacity:t?.1:.03,style:{transition:C(s,160)}}),[[14,a,"TP","5 4"],[50,l,"ENTRY",""],[80,r,"SL","5 4"]].map(([x,b,w,A],k)=>e.jsxs("g",{children:[e.jsx("line",{x1:44,x2:266,y1:x,y2:x,stroke:t?b:q,strokeWidth:w==="ENTRY"?2:1.5,strokeDasharray:A||void 0,style:{transformBox:"fill-box",transformOrigin:"left center",transform:t?"scaleX(1)":"scaleX(0.1)",transition:C(s,k*90)}}),e.jsx("text",{x:6,y:x+3,fontSize:8,fontWeight:700,letterSpacing:"0.1em",fill:t?b:ue,style:{transition:C(s,k*90)},children:w})]},w)),[[14,50,a,220],[50,80,r,260]].map(([x,b,w,A])=>e.jsxs("g",{style:{opacity:t?1:.25,transition:C(s,A)},children:[e.jsx("line",{x1:284,x2:284,y1:x,y2:b,stroke:t?w:q,strokeWidth:1.25,style:{transition:C(s,A)}}),e.jsx("line",{x1:279,x2:289,y1:x,y2:x,stroke:t?w:q,strokeWidth:1.25,style:{transition:C(s,A)}}),e.jsx("line",{x1:279,x2:289,y1:b,y2:b,stroke:t?w:q,strokeWidth:1.25,style:{transition:C(s,A)}})]},x)),e.jsx("path",{d:"M36 45 L44 50 L36 55 Z",fill:t?l:q,style:{transition:C(s)}})]})}function Da({lit:t,ms:s}){const a="#60a5fa",r="#22d3ee",l=Pa(),n=Math.max(1,...l.map(d=>d.count)),o=128,c=132;return e.jsxs("svg",{viewBox:_e,className:"h-full w-full",role:"presentation","aria-hidden":"true",children:[e.jsxs("g",{style:{opacity:t?1:.55,transition:C(s)},children:[e.jsx("circle",{cx:46,cy:46,r:30,fill:"none",stroke:t?a:q,strokeWidth:1.5,style:{transition:C(s)}}),e.jsx("ellipse",{cx:46,cy:30,rx:25,ry:5,fill:"none",stroke:t?r:oe,strokeWidth:1,style:{transition:C(s,60)}}),e.jsx("ellipse",{cx:46,cy:46,rx:30,ry:7,fill:"none",stroke:t?r:oe,strokeWidth:1,style:{transition:C(s,90)}}),e.jsx("ellipse",{cx:46,cy:62,rx:25,ry:5,fill:"none",stroke:t?r:oe,strokeWidth:1,style:{transition:C(s,120)}}),e.jsx("ellipse",{cx:46,cy:46,rx:11,ry:30,fill:"none",stroke:t?a:oe,strokeWidth:1,style:{transformBox:"fill-box",transformOrigin:"center",transform:t?"scaleX(1)":"scaleX(0.4)",transition:C(s,150)}})]}),l.map((d,u)=>{const x=8+u*20,b=8+d.count/n*c;return e.jsxs("g",{children:[e.jsx("text",{x:86,y:x+9,fontSize:8,fontWeight:700,letterSpacing:"0.06em",fill:t?a:ue,style:{transition:C(s,u*70)},children:d.code}),e.jsx("rect",{x:o,y:x+1,width:b,height:9,rx:4.5,fill:t?r:q,fillOpacity:t?.85:.35,style:{transformBox:"fill-box",transformOrigin:"left center",transform:t?"scaleX(1)":"scaleX(0.12)",transition:C(s,80+u*70)}}),e.jsx("text",{x:o+b+7,y:x+9,fontSize:8.5,fontWeight:700,fill:t?"#e2e8f0":ue,style:{opacity:t?1:.5,transition:C(s,140+u*70)},children:d.count})]},d.key)})]})}function Fa({lit:t,ms:s}){const a="#2dd4bf",r="#34d399",l="#fb7185",n=[{spark:[7,5,6,2,3],win:!0},{spark:[3,5,4,7,8],win:!1},{spark:[8,6,4,5,1],win:!0},{spark:[4,3,6,7,9],win:!1}],o=[28,43,58,73];return e.jsxs("svg",{viewBox:_e,className:"h-full w-full",role:"presentation","aria-hidden":"true",children:[e.jsx("rect",{x:12,y:6,width:296,height:80,rx:8,fill:"#0b1220",fillOpacity:.55,stroke:t?a:oe,strokeOpacity:t?.45:1,strokeWidth:1,style:{transition:C(s)}}),[{x:26,w:30},{x:110,w:44},{x:246,w:26}].map(c=>e.jsx("rect",{x:c.x,y:14,width:c.w,height:3,rx:1.5,fill:t?a:oe,fillOpacity:t?.5:1,style:{transition:C(s)}},c.x)),e.jsx("line",{x1:20,x2:300,y1:23,y2:23,stroke:oe,strokeWidth:1}),n.map((c,d)=>{const u=o[d],x=c.win?r:l;return e.jsxs("g",{style:{opacity:t?1:.4,transformBox:"fill-box",transformOrigin:"left center",transform:t?"translateX(0)":"translateX(-6px)",transition:C(s,60+d*70)},children:[e.jsx("rect",{x:26,y:u,width:30,height:10,rx:3,fill:t?a:q,fillOpacity:t?.35:.3,style:{transition:C(s,60+d*70)}}),e.jsx("polyline",{points:c.spark.map((b,w)=>`${112+w*14},${u+b}`).join(" "),fill:"none",stroke:t?x:q,strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",style:{transition:C(s,60+d*70)}}),e.jsx("rect",{x:246,y:u,width:26,height:10,rx:5,fill:t?x:q,fillOpacity:t?.22:.25,stroke:t?x:q,strokeOpacity:t?.7:.4,strokeWidth:1,style:{transition:C(s,60+d*70)}}),e.jsx("text",{x:259,y:u+7.5,fontSize:7,fontWeight:700,textAnchor:"middle",letterSpacing:"0.06em",fill:t?x:ue,style:{transition:C(s,60+d*70)},children:c.win?"TP":"SL"})]},d)})]})}function $a({lit:t,ms:s}){const a="#34d399",r="#2dd4bf",l=[{side:"l",y:10,w:118,lines:[74,96]},{side:"r",y:38,w:132,lines:[96,62]},{side:"l",y:66,w:104,lines:[68,84]}];return e.jsx("svg",{viewBox:_e,className:"h-full w-full",role:"presentation","aria-hidden":"true",children:l.map((n,o)=>{const c=n.side==="r",d=c?r:a,u=c?306:14,x=c?290-n.w:30,b=60+o*90;return e.jsxs("g",{style:{opacity:t?1:.45,transformBox:"fill-box",transformOrigin:c?"right center"
12:"left center",transform:t?"translateX(0)":`translateX(${c?10:-10}px)`,transition:C(s,b)},children:[e.jsx("circle",{cx:u,cy:n.y+9,r:8,fill:t?d:q,fillOpacity:t?.3:.4,stroke:t?d:q,strokeWidth:1.25,style:{transition:C(s,b)}}),o!==2&&e.jsx("circle",{cx:u+(c?-6:6),cy:n.y+15,r:2.6,fill:t?a:q,style:{transition:C(s,b)}}),e.jsx("rect",{x,y:n.y,width:n.w,height:18,rx:7,fill:t?d:q,fillOpacity:t?.16:.12,stroke:t?d:q,strokeOpacity:t?.55:.5,strokeWidth:1,style:{transition:C(s,b)}}),n.lines.map((w,A)=>e.jsx("rect",{x:x+10,y:n.y+5+A*6,width:w/100*(n.w-20),height:3,rx:1.5,fill:t?d:q,fillOpacity:t?.75:.5,style:{transition:C(s,b)}},A))]},n.y)})})}const Va={ai:La,smc:Ea,orderflow:Ra,signals:Oa,assets:Da,performance:Fa,community:$a};function us({id:t,lit:s,className:a,height:r}){return e.jsx("div",{className:`relative overflow-hidden rounded-xl border ${a??""}`,style:{...r?{height:r}:{aspectRatio:"320 / 92"},borderColor:s?"rgba(52,211,153,0.28)":"rgba(30,41,59,0.9)",background:s?"linear-gradient(180deg, rgba(15,23,42,0.85), rgba(2,6,23,0.6))":"rgba(2,6,23,0.35)",transition:"border-color 420ms ease, background 420ms ease"},children:e.jsx(Ba,{id:t,lit:s})})}function Ba({id:t,lit:s}){const a=at(),r=Va[t];return e.jsx(r,{lit:s,ms:a?0:420})}const v=(t,s,a,r,l,n)=>t==="th"?s:t==="ja"?r??a:t==="id"?l??a:t==="fr"?n??a:a,za=[.22,1,.36,1],be={initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.6,ease:za}},ie=t=>({...be,transition:{...be.transition,delay:t}});function Wa({language:t}){return e.jsxs("div",{className:"relative overflow-hidden",children:[e.jsx(Ga,{language:t}),e.jsx(qa,{language:t}),e.jsx(Xa,{language:t}),e.jsx(Za,{language:t}),e.jsx(Qa,{language:t}),e.jsx(Ja,{language:t}),e.jsx(er,{language:t})]})}const Ha=t=>[{icon:tt,title:"AI Analysis",desc:v(t,"วิเคราะห์ด้วย AI + สถิติตลาดสด","AI-assisted analysis on live market statistics"),color:"from-emerald-500 to-teal-500",art:"ai"}
12,{icon:st,title:"SMC",desc:v(t,"ติดตาม Institutional Traders","Track institutional traders"),color:"from-cyan-500 to-blue-500",art:"smc"},{icon:ke,title:"Order Flow",desc:"Volume Profile & Heatmap",color:"from-teal-500 to-emerald-500",art:"orderflow"},{icon:ze,title:"Live Signals",desc:v(t,"สัญญาณเทรด Real-time","Real-time trading signals"),color:"from-emerald-400 to-cyan-400",art:"signals"},{icon:ts,title:"Performance",desc:v(t,"ติดตามผลเทรดทุกสัญญาณ","Track performance for every signal"),color:"from-cyan-400 to-teal-400",art:"performance"},{icon:Ys,title:"Community",desc:v(t,"แชทกับเทรดเดอร์คุณภาพ","Chat with quality traders"),color:"from-teal-400 to-emerald-400",art:"community"}];function Ua({tile:t,index:s,wide:a,canHover:r}){const[l,n]=p.useState(!1),o=!r||l,c=t.icon;return e.jsxs(m.div,{...ie(.1+s*.05),onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),className:`group flex flex-col p-5 rounded-2xl border border-slate-700/40 bg-slate-800/40 backdrop-blur-sm hover:bg-slate-800/70 transition-all duration-300 hover:border-emerald-500/30 ${a?"sm:col-span-2 sm:flex-row sm:items-center sm:gap-5":""}`,children:[e.jsxs("div",{className:a?"sm:w-1/2":"",children:[e.jsx("div",{className:`w-10 h-10 rounded-xl bg-gradient-to-br ${t.color} flex items-center justify-center mb-3 group-hover:scale-110 transition-transform`,children:e.jsx(c,{className:"w-5 h-5 text-white"})}),e.jsx("h4",{className:"font-semibold text-white text-sm",children:t.title}),e.jsx("p",{className:"text-xs text-slate-500 mt-1",children:t.desc})]}),e.jsx(us,{id:t.art,lit:o,className:a?"mt-4 w-full sm:mt-0 sm:w-1/2":"mt-4 w-full"})]})}function Ga({language:t}){const s=ps();return e.jsxs("section",{className:"relative py-24 lg:py-32 px-4 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-slate-950 via-slate-900/80 to-slate-950"}),e.jsx("div",{className:"absolute top-0 right-0 w-[600px] h-[600px] bg-emerald-500/5 rounded-full blur-[120px] translate-x-1/3 -translate-y-1/3"}),e.jsx("div",{className:"relative max-w-6xl mx-auto",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[e.jsxs(m.div,{...be,children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-emerald-500/10 border border-emerald-500/20 rounded-full text-emerald-400 text-xs font-semibold uppercase tracking-widest",children:[e.jsx(vt,{className:"w-3.5 h-3.5"}),v(t,"ภาพรวมแพลตฟอร์ม","Platform Overview")]}),e.jsx("img",{src:"/avatars/3d/mascot-friendly-owl.webp",alt:v(t,"โค้ชฮูก","Hoot the Owl"),loading:"lazy",decoding:"async",className:"w-12 h-12 object-contain animate-float motion-reduce:animate-none drop-shadow-[0_6px_14px_rgba(52,211,153,0.3)]"})]}),e.jsxs("h2",{className:"text-3xl md:text-5xl lg:text-[3.5rem] font-bold text-white leading-[1.1] mb-6",children:[v(t,"ทุกเครื่องมือที่เทรดเดอร์","Every tool traders"),e.jsx("span",{className:"block mt-2 bg-gradient-to-r from-emerald-400 to-cyan-400 bg-clip-text text-transparent",children:v(t,"ต้องการอยู่ที่นี่","need in one place")})]}),e.jsx("p",{className:"text-lg text-slate-400 leading-relaxed mb-8 max-w-lg",children:v(t,"Alphasignals รวม AI Analysis, Smart Money Concepts และ Order Flow ไว้ในแพลตฟอร์มเดียว เพื่อให้คุณเทรดอย่างมั่นใจ","Alphasignals combines AI Analysis, Smart Money Concepts, and Order Flow in one platform so you can trade with confidence.")}),e.jsx("div",{className:"grid grid-cols-3 gap-4",children:[{value:String(we),label:v(t,"สินทรัพย์ที่สแกน","Assets Scanned"),color:"text-emerald-400"},{value:String(Jt),label:v(t,"กลุ่มสินทรัพย์","Asset Classes"),color:"text-cyan-400"},{value:"24/7",label:v(t,"AI วิเคราะห์","AI Analysis"),color:"text-yellow-400"}].map((a,r)=>
12e.jsxs(m.div,{...ie(r*.1),className:"text-center lg:text-left",children:[e.jsx("div",{className:`text-3xl lg:text-4xl font-bold ${a.color}`,children:a.value}),e.jsx("div",{className:"text-xs text-slate-500 mt-1",children:a.label})]},r))})]}),e.jsxs(m.div,{...ie(.2),className:"relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-500/10 to-cyan-500/10 rounded-3xl blur-2xl"}),e.jsx("div",{className:"relative grid grid-cols-1 sm:grid-cols-2 gap-3",children:Ha(t).map((a,r,l)=>e.jsx(Ua,{tile:a,index:r,wide:r===0||r===l.length-1,canHover:s},a.title))})]})]})})]})}function Ya(){const[s,a]=p.useState({entry:1.085,tp1:1.0879999999999999,tp2:1.0919999999999999,sl:1.082}),[r,l]=p.useState(!1),[n,o]=p.useState(null),c=p.useRef(1.085);return p.useEffect(()=>{const d=setInterval(()=>{const u=(Math.random()-.5)*3e-4,x=Number((1.085+u).toFixed(4));x>c.current?o("up"):x<c.current&&o("down"),c.current=x,a({entry:x,tp1:Number((x+.003).toFixed(4)),tp2:Number((x+.007).toFixed(4)),sl:Number((x-.003).toFixed(4))}),l(!0),setTimeout(()=>{l(!1),o(null)},400)},1500);return()=>clearInterval(d)},[]),{prices:s,priceFlash:r,priceDirection:n}}function qa({language:t}){const{prices:s,priceFlash:a,priceDirection:r}=Ya();return e.jsxs("section",{className:"relative py-24 lg:py-32 px-4 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-slate-950 via-[#0a1628] to-slate-950"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-[500px] h-[500px] bg-cyan-500/5 rounded-full blur-[100px] -translate-x-1/3 translate-y-1/3"}),e.jsxs("div",{className:"relative max-w-6xl mx-auto",children:[e.jsxs(m.div,{...be,className:"text-center mb-16 max-w-3xl mx-auto",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-cyan-500/10 border border-cyan-500/20 rounded-full text-cyan-400 text-xs font-semibold uppercase tracking-widest mb-6",children:[e.jsx(tt,{className:"w-3.5 h-3.5"}),v(t,"ขับเคลื่อนด้วย AI","AI-Powered")]}),e.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-white leading-tight mb-6",children:[v(t,"AI วิเคราะห์ตลาดให้คุณ","AI analyzes the market for you"),e.jsx("span",{className:"block text-cyan-400",children:v(t,"แบบ Real-time","in real time")})]}),e.jsx("p",{className:"text-lg text-slate-400",children:v(t,"ระบบ AI ประมวลผลข้อมูลนับหมื่น data points จากหลายมิติ เพื่อสร้างสัญญาณที่แม่นยำ","The AI processes thousands of data points from multiple dimensions to generate precise signals.")})]}),e.jsxs("div",{className:"grid lg:grid-cols-12 gap-4",children:[e.jsxs(m.div,{...ie(0),className:"lg:col-span-7 bg-gradient-to-br from-slate-800/80 to-slate-800/40 border border-slate-700/40 rounded-3xl p-8 backdrop-blur-sm",children:[e.jsx("h3",{className:"text-xl font-bold text-white mb-6",children:v(t,"กระบวนการวิเคราะห์ 4 ขั้นตอน","4-Step Analysis Process")}),e.jsx("div",{className:"space-y-4",children:[{step:"01",title:"Data Collection",desc:v(t,"รวบรวมราคา, Volume, Order Flow จากหลายแหล่งแบบ Real-time","Collect price, volume, and order-flow from multiple sources in real time"),color:"from-emerald-500 to-teal-500"},{step:"02",title:"Pattern Recognition",desc:v(t,"AI ตรวจจับ Chart Patterns, Candlestick และ Smart Money footprints","AI detects chart patterns, candlesticks, and smart-money footprints"),color:"from-cyan-500 to-blue-500"},{step:"03",title:"Multi-TF Confirmation",desc:v(t,"ยืนยันสัญญาณจากหลาย Timeframe เพื่อกรองสัญญาณหลอก","Confirm signals across timeframes to filter false setups"),color:"from-teal-500 to-cyan-500"},{step:"04",title:"Signal Generation",desc:v(t,"สร้างสัญญาณพร้อม Entry, TP, SL และ Risk/Reward","Generate signals with Entry, TP, SL, and Risk/Reward"),color:"from-emerald-400 to-cyan-400"}].map((l,n)=>e.jsxs(m.div,{...ie(.1+n*.08),className:"flex gap-4 items-start group",children:[e.jsx("div",{className:`w-12 h-12 rounded-xl bg-gradient-to-br ${l.color} flex items-center justify-center flex-shrink-0 shadow-lg group-hover:scale-105 transition-transform`,children:e.jsx("span",{className:"text-white font-bold text-sm",children:l.step})}),e.jsxs("div",{className:"pt-1",children:[e.jsx("h4",{className:"font-semibold text-white text-sm",children:l.title}),e.jsx("p",{className:"text-xs text-slate-400 mt-1 leading-relaxed",children:l.desc})]})]},n))})]}),e.jsxs(m.div,{...ie(.2),className:"lg:col-span-5 space-y-4",children:[e.jsxs("div",{className:"bg-slate-800/60 border border-emerald-500/20 rounded-3xl p-6 backdrop-blur-sm",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-2 h-2 bg-emerald-500 rounded-full animate-pulse"}),e.jsx("span",{className:"text-xs font-semibold text-emerald-400 uppercase tracking-wider",children:v(t,"สัญญาณสด","Live Signal")})]}),e.jsx("span",{className:"text-[10px] text-slate-600",children:v(t,"ความมั่นใจ: 87%","Confidence: 87%")})]}),e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("span",{className:"text-xl font-bold text-white",children:"EUR/USD"}),e.jsx("span",{className:"px-2.5 py-1 bg-emerald-500/20 text-emerald-400 text-xs rounded-full font-bold",children:"BUY"})]}),e.jsx("div",{className:"grid grid-cols-4 gap-2 text-center",children:[{label:"Entry",value:s.entry.toFixed(4),color:"text-white",key:"entry"},{label:"TP1",value:s.tp1.toFixed(4),color:"text-emerald-400",key:"tp1"},{label:"TP2",value:s.tp2.toFixed(4),color:"text-emerald-400",key:"tp2"},{label:"SL",value:s.sl.toFixed(4),color:"text-red-400",key:"sl"}].map((l,n)=>e.jsxs("div",{className:`bg-slate-900/50 rounded-lg py-2 transition-all duration-300 ${a?r==="up"?"ring-1 ring-emerald-500/30 bg-emerald-500/5":"ring-1 ring-red-500/30 bg-red-500/5":""}`,children:[e.jsx("span",{className:"text-[10px] text-slate-500 block",children:l.label}),e.jsxs("span",{className:`text-sm font-semibold ${l.color} transition-all duration-300 inline-flex items-center justify-center gap-1`,children:[l.value,a&&l.key==="entry"&&r==="up"&&e.jsx("span",{className:"text-emerald-400 text-xs",children:"↑"}),a&&l.key==="entry"&&r==="down"&&e.jsx("span",{className:"text-red-400 text-xs",children:"↓"})]})]},n))}),e.jsxs("div",{className:"mt-3 pt-3 border-t border-slate-700/30 flex items-center gap-3 text-[10px] text-slate-500",children:[e.jsx("span",{children:"R:R = 1:2.3"}),e.jsx("span",{children:"4H"}),e.jsx("span",{children:"SMC + AI"})]})]}),e.jsx("div",{className:"bg-gradient-to-br from-cyan-500/10 to-emerald-500/10 border border-cyan-500/20 rounded-3xl p-6",children:e.jsxs("div",{className:"flex gap-3",children:[e.jsx(vt,{className:"w-5 h-5 text-cyan-400 flex-shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-white text-sm mb-1",children:v(t,"ทำไม AI ถึงได้เปรียบ?","Why AI has an edge?")}),e.jsx("p",{className:"text-xs text-slate-400 leading-relaxed",children:v(t,"AI ไม่มีอารมณ์ ไม่กลัว ไม่โลภ วิเคราะห์ข้อมูลได้เร็วกว่ามนุษย์ และสามารถประมวลผลหลายปัจจัยพร้อมก
12ัน","AI has no emotion, fear, or greed. It analyzes faster than humans and processes multiple factors simultaneously.")})]})]})})]})]})]})]})}function Xa({language:t}){return e.jsxs("section",{className:"relative py-24 lg:py-32 px-4 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-slate-950 via-slate-900/60 to-slate-950"}),e.jsx("div",{className:"absolute top-1/2 right-0 w-[400px] h-[400px] bg-emerald-500/5 rounded-full blur-[100px] translate-x-1/2"}),e.jsxs("div",{className:"relative max-w-6xl mx-auto",children:[e.jsxs(m.div,{...be,className:"text-center mb-16 max-w-3xl mx-auto",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-emerald-500/10 border border-emerald-500/20 rounded-full text-emerald-400 text-xs font-semibold uppercase tracking-widest mb-6",children:[e.jsx(st,{className:"w-3.5 h-3.5"}),v(t,"Smart Money Concepts","Smart Money Concepts")]}),e.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-white leading-tight mb-6",children:[v(t,"เทรดตาม","Trade with"),e.jsxs("span",{className:"text-emerald-400",children:[" ",v(t,"Institutional Traders","Institutional Traders")]})]}),e.jsx("p",{className:"text-lg text-slate-400",children:v(t,"เรียนรู้การเคลื่อนไหวของเงินสถาบัน ธนาคาร และกองทุนขนาดใหญ่","Learn how institutional capital, banks, and large funds move the market")})]}),e.jsx("div",{className:"grid md:grid-cols-2 gap-4",children:[{icon:es,title:"Order Blocks",desc:v(t,"โซนราคาที่ Institutional Traders เปิดออร์เดอร์ขนาดใหญ่ ราคามักกลับมาทดสอบก่อนเคลื่อนที่ต่อ","Price zones where institutions place large orders and price often retests before continuation"),color:"from-emerald-500 to-teal-500"},{icon:ut,title:"Fair Value Gaps",desc:v(t,"ช่องว่างราคาจากการเคลื่อนที่เร็ว ตลาดมักกลับมาเติมเต็มช่องว่างนี้ เป็นโอกาสเข้าเทรด","Price imbalances from fast moves that markets often revisit, creating entries"),color:"from-cyan-500 to-blue-500"},{icon:zs,title:"Break of Structure",desc:v(t,"การทำลายโครงสร้างราคา บ่งบอกการเปลี่ยนแปลงเทรนด์ เป็นสัญญาณเข้าเทรดที่ดี","Structure breaks that signal trend change and better trade opportunities"),color:"from-teal-500 to-cyan-500"},{icon:We,title:"Liquidity Sweep",desc:v(t,"การกวาด Stop Loss รายย่อย ก่อนตลาดพลิกทิศ รู้ทันเกมของ Smart Money","Retail stop hunts before reversal so you can read smart-money behavior"),color:"from-emerald-400 to-cyan-400"}].map((s,a)=>e.jsxs(m.div,{...ie(a*.1),className:"group relative bg-slate-800/40 border border-slate-700/40 rounded-3xl p-7 backdrop-blur-sm hover:border-emerald-500/20 transition-all duration-300 overflow-hidden",children:[e.jsx("div",{className:`absolute top-0 right-0 w-32 h-32 bg-gradient-to-br ${s.color} opacity-5 rounded-full blur-2xl translate-x-8 -translate-y-8 group-hover:opacity-10 transition-opacity`}),e.jsx("div",{className:`w-14 h-14 rounded-2xl bg-gradient-to-br ${s.color} flex items-center justify-center mb-5 shadow-lg group-hover:scale-105 transition-transform`,children:e.jsx(s.icon,{className:"w-7 h-7 text-white"})}),e.jsx("h3",{className:"text-xl font-bold text-white mb-3",children:s.title}),e.jsx("p",{className:"text-sm text-slate-400 leading-relaxed",children:s.desc})]},a))}),e.jsxs(m.div,{...ie(.4),className:"mt-6 bg-gradient-to-r from-emerald-500/10 via-cyan-500/10 to-emerald-500/10 border border-emerald-500/20 rounded-3xl p-6 flex gap-4 items-start",children:[e.jsx(vt,{className:"w-6 h-6 text-emerald-400 flex-shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-white mb-1",children:v(t,"วาดเองไม่ต้อง","No manual drawing needed")}),e.jsx("p",{className:"text-sm text-slate-400 leading-relaxed",children:v(t,"Dashboard แสดง Order Blocks, FVG, BOS และ Liquidity Zones บนชาร์ทให้อัตโนมัติ ไม่ต้องวาดเอง ไม่ต้องเดา ระบบตรวจจับให้คุณแบบ Real-time","The dashboard automatically plots Order Blocks, FVG, BOS, and Liquidity Zones in real time — no manual drawing, no guessing.")})]})]})]})]})}function Ka(){const t=[1.087,1.0865,1.086,1.0855,1.085,1.0845],[s,a]=p.useState(0),[r,l]=p.useState(()=>
12Rt(t,0)),[n,o]=p.useState(95),[c,d]=p.useState(null),u=p.useRef(0),x=p.useCallback(()=>{u.current+=1;const b=u.current;if(b%12===0){const y=Math.random()>.5?1:-1;a(S=>{const T=S+y;return Math.max(-3,Math.min(3,T))})}const w=s+(b%12===0?Math.random()>.5?1:-1:0),A=t.map(y=>y+w*5e-4),k=Rt(A,b);l(k),o(k.reduce((y,S)=>y+S.delta,0));const P=Math.floor(Math.random()*k.length);d(P),setTimeout(()=>d(null),300)},[s]);return p.useEffect(()=>{const b=setInterval(x,800);return()=>clearInterval(b)},[x]),{levels:r,netDelta:n,flashIndex:c}}function Rt(t,s){const a=(r,l,n)=>{const o=Math.sin(n*9301+49297)*49297;return Math.floor(r+(o-Math.floor(o))*(l-r))};return t.map((r,l)=>{const n=a(20,250,s+l*7+1),o=a(15,220,s+l*7+3),c=n-o,d=250;return{price:r.toFixed(4),bid:n,ask:o,delta:c,bidW:`${Math.round(n/d*100)}%`,askW:`${Math.round(o/d*100)}%`}})}function Za({language:t}){const{levels:s,netDelta:a,flashIndex:r}=Ka(),l=a>0;return e.jsxs("section",{className:"relative py-24 lg:py-32 px-4 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-slate-950 via-[#071420] to-slate-950"}),e.jsx("div",{className:"absolute top-1/3 left-0 w-[500px] h-[500px] bg-teal-500/5 rounded-full blur-[100px] -translate-x-1/2"}),e.jsx("div",{className:"relative max-w-6xl mx-auto",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[e.jsx(m.div,{...ie(.1),className:"order-2 lg:order-1",children:e.jsxs("div",{className:"bg-slate-800/60 border border-slate-700/40 rounded-3xl overflow-hidden backdrop-blur-sm",children:[e.jsxs("div",{className:"px-5 py-3 border-b border-slate-700/30 bg-slate-800/80 flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Ws,{className:"w-4 h-4 text-cyan-400"}),e.jsx("span",{className:"text-xs font-semibold text-white",children:v(t,"ออเดอร์โฟลว์","Order Flow")})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"w-1.5 h-1.5 bg-emerald-500 rounded-full animate-pulse"}),e.jsxs("span",{className:"text-[10px] text-slate-500",children:["EUR/USD | ",v(t,"สด","Live")]})]})]}),e.jsx("div",{className:"px-5 py-2 border-b border-slate-700/20",children:e.jsxs("div",{className:"grid grid-cols-4 text-[10px] font-semibold uppercase tracking-wider text-slate-500",children:[e.jsx("span",{children:v(t,"ราคา","Price")}),e.jsx("span",{className:"text-center",children:v(t,"Bid Vol","Bid Vol")}),e.jsx("span",{className:"text-center",children:v(t,"Ask Vol","Ask Vol")}),e.jsx("span",{className:"text-right",children:v(t,"เดลต้า","Delta")})]})}),e.jsx("div",{className:"px-5 py-2",children:s.map((n,o)=>e.jsxs("div",{className:`relative py-2.5 group rounded-lg transition-all duration-300 ${r===o?n.delta>0?"bg-emerald-500/[0.06]":"bg-red-500/[0.06]":"hover:bg-white/[0.02]"}`,children:[e.jsx("div",{className:"absolute inset-y-1 left-0 bg-emerald-500/10 rounded-md",style:{width:n.bidW,transition:"width 0.6s ease-out"}}),e.jsx("div",{className:"absolute inset-y-1 right-0 bg-red-500/10 rounded-md",style:{width:n.askW,transition:"width 0.6s ease-out"}}),e.jsxs("div",{className:"relative grid grid-cols-4 text-sm",children:[e.jsx("span",{className:"text-slate-300 font-mono font-medium",children:n.price}),e.jsx("span",{className:`text-center font-medium transition-colors duration-300 ${r===o?"text-emerald-300":"text-emerald-400"}`,children:n.bid}),e.jsx("span",{className:`text-center font-medium transition-colors duration-300 ${r===o?"text-red-300":"text-red-400"}`,children:n.ask}),e.jsxs("span",{className:`text-right font-bold transition-colors duration-300 ${n.delta>0?"text-emerald-400":"text-red-400"}`,children:[n.delta>0?"+":"",n.delta]})]})]},o))}),e.jsxs("div",{className:"px-5 py-3 border-t border-slate-700/30 flex items-center justify-between text-[11px] text-slate-500",children:[e.jsxs("span",{className:"transition-colors duration-300",children:[v(t,"Net Delta","Net Delta"),": ",e.jsxs("span",{className:`font-semibold ${a>0?"text-emerald-400":"text-red-400"}`,children:[a>0?"+":"",a]})]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:`w-2 h-2 rounded-full animate-pulse ${l?"bg-emerald-500":"bg-red-500"}`}),l?v(t,"แรงซื้อเด่น","Buyers Dominant"):v(t,"แรงขายเด่น","Sellers Dominant")]})]})]})}),e.jsxs(m.div,{...be,className:"order-1 lg:order-2",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-teal-500/10 border border-teal-500/20 rounded-full text-teal-400 text-xs font-semibold uppercase tracking-widest mb-6",children:[e.jsx(ke,{className:"w-3.5 h-3.5"}),v(t,"ออเดอร์โฟลว์","Order Flow")]}),e.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-white leading-tight mb-6",children:[v(t,"เห็นทุกการเคลื่อนไหว","See every movement"),e.jsx("span",{className:"block text-teal-400",children:v(t,"ของตลาด","of the market")})]}),e.jsx("p",{className:"text-lg text-slate-400 leading-relaxed mb-8",children:v(t,'Order Flow Analysis ช่วยให้คุณเห็นว่า "ใครกำลังซื้อ-ขาย" ที่ราคาเท่าไหร่ ข้อมูลที่ชาร์ทธรรมดาไม่มี',"Order flow analysis shows who is buying/selling and where — insight regular charts cannot provide.")}),e.jsx("div",{className:"space-y-4",children:[{icon:Hs,title:"Liquidity Heatmap",desc:v(t,"เห็น Support/Resistance ที่แท้จริงจากปริมาณคำสั่ง","See real support/resistance from order volume")},{icon:ke,title:"Volume Profile",desc:v(t,"หา Value Area และ Point of Control ที่แม่นยำ","Find precise Value Area and Point of Control")},{icon:ze,title:"Delta Analysis",desc:v(t,"ดูแรงซื้อ-ขายที่แท้จริงจากส่วนต่าง Volume","Read true buy/sell pressure from volume delta")},{icon:Us,title:"Wall Detection",desc:v(t,"ตรวจจับ Bid/Ask Wall ขนาดใหญ่อัตโนมัติ","Auto-detect large bid/ask walls")}].map((n,o)=>e.jsxs(m.div,{...ie(.1+o*.08),className:"flex gap-4 items-start group",children:[e.jsx("div",{className:"w-10 h-10 rounded-xl bg-teal-500/10 flex items-center justify-center flex-shrink-0 group-hover:bg-teal-500/20 transition-colors",children:e.jsx(n.icon,{className:"w-5 h-5 text-teal-400"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-white text-sm",children:n.title}),e.jsx("p",{className:"text-xs text-slate-400 mt-0.5",children:n.desc})]})]},o))})]})]})})]})}function Qa({language:t}){return e.jsxs("section",{className:"relative py-24 lg:py-32 px-4 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-slate-950 via-slate-900/70 to-slate-950"}),e.jsxs("div",{className:"relative max-w-6xl mx-auto",children:[e.jsxs(m.div,{...be,className:"text-center mb-16 max-w-3xl mx-auto",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-yellow-500/10 border border-yellow-500/20 rounded-full text-yellow-400 text-xs font-semibold uppercase tracking-widest mb-6",children:[e.jsx(xe,{className:"w-3.5 h-3.5"}),v(t,"สัญญาณเรียลไทม์","Real-time Signals")]}),e.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-white leading-tight mb-6",children:[v(t,"สัญญาณเทรดครบจบ","Complete trading signals"),e.jsx("span",{className:"block text-yellow-400",children:v(t,"ไม่ต้องเดาเอง","without guessing")})]}),e.jsx("p",{className:"text-lg text-slate-400",children:v(t,"ทุกสัญญาณมาพร้อมข้อมูลครบถ้วน Entry, TP, SL และ Risk/Reward สำหรับการตัดสินใจ","Every signal includes Entry, TP, SL, and Risk/Reward for better decisions")})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs(m.div,{...ie(0),className:"bg-slate-800/40 border border-slate-700/40 rounded-3xl p-7 backdrop-blur-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.jsx("div",{className:"w-10 h-10 rounded-xl bg-emerald-500/10 flex items-center justify-center",children:e.jsx(xe,{className:"w-5 h-5 text-emerald-400"})}),e.jsx("h3",{className:"font-bold text-white text-lg",children:v(t,"ข้อมูลในสัญญาณ","Signal Includes")})]}),e.jsx("div",{className:"space-y-3",children:[v(t,"Entry Price (จุดเข้าเทรด)","Entry Price"),v(t,"Take Profit 1-3 (เป้าหมายกำไร)","Take Profit 1-3"),v(t,"Stop Loss (จุดตัดขาดทุน)","Stop Loss"),"Risk/Reward Ratio",v(t,"ระดับ Confidence จาก AI","AI Confidence Level"),v(t,"Timeframe ที่ใช้วิเคราะห์","Analysis Timeframe")].map((s,a)=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(Mt,{className:"w-4 h-4 text-emerald-400 flex-shrink-0"}),e.jsx("span",{className:"text-sm text-slate-300",children:s})]},a))})]}),e.jsxs(m.div,{...ie(.1),className:"bg-slate-800/40 border border-slate-700/40 rounded-3xl p-7 backdrop-blur-sm",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.jsx("div",{className:"w-10 h-10 rounded-xl bg-cyan-500/10 flex items-center justify-center",children:e.jsx(jt,{className:"w-5 h-5 text-cyan-400"})}),e.jsx("h3",{className:"font-bold text-white text-lg",children:v(t,"สินทรัพย์ที่รองรับ","Supported Assets")})]}),e.jsx("div",{className:"space-y-3",children:["Forex (EUR/USD, GBP/USD, USD/JPY...)","Crypto (BTC, ETH, SOL, XRP...)","Gold (XAUUSD)","Indices (US30, NAS100, SPX500)","Metals (Silver, Platinum)","Commodities (Oil, Gas)"].map((s,a)=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(Mt,{className:"w-4 h-4 text-cyan-400 flex-shrink-0"}),e.jsx("span",{className:"text-sm text-slate-300",children:s})]},a))})]})]}),e.jsxs(m.div,{...ie(.3),className:"mt-6 bg-gradient-to-r from-amber-500/10 to-yellow-500/10 border border-amber-500/20 rounded-3xl p-6 flex gap-4 items-start",children:[e.jsx(Ss,{className:"w-6 h-6 text-amber-400 flex-shrink-0 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-white mb-1",children:v(t,"คำเตือนสำคัญ","Important Disclaimer")}),e.jsx("p",{className:"text-sm text-slate-400 leading-relaxed",children:v(t,"สัญญาณเทรดเป็นเพียงแนวทางประกอบการตัดสินใจ ไม่ใช่คำแนะนำทางการเงิน ควรใช้ร่วมกับการวิเคราะห์ของตัวเอง และจัดการความเสี่ยงอย่างเหมาะสมเสมอ","Trading signals are for decision support, not financial advice. Always combine with your own analysis and proper risk management.")})]})]})]})]})}function Ja({language:t}){const s=(r,l)=>v(t,r,l),a=[{step:s("ขั้นที่ 1","Step 1"),eyebrow:s("เลือกแพ็กเกจ","Choose a plan"),title:s("สมัครสมาชิก VIP","Subscribe to VIP"),desc:s("เลือกแพ็คเกจที่เหมาะกับคุณ แล้วชำระเงินอย่างปลอดภัยผ่าน Stripe","Choose a plan and pay securely via Stripe"),visual:e.jsx(hs,{top:s("เลือกแพ็กเกจ VIP","CHOOSE A VIP PLAN"),bottom:"STARTER · PRO",center:"VIP",sub:s("รายเดือน · 3 · 6 · 12 เดือน","MONTHLY · 3 · 6 · 12 MO")})},{step:s("ขั้นที่ 2","Step 2"),eyebrow:s("รหัสเข้าใช้","Your key"),title:s("รับรหัส VIP","Receive your VIP code"),desc:s("ระบบส่งรหัส VIP ให้ทันทีหลังชำระเงิน ใช้รหัสนี้เข้า Dashboard","Get your VIP code immediately after payment to access the dashboard"),visual:e.jsx(Sa,{t:s})},{step:s("ขั้นที่ 3","Step 3"),eyebrow:s("ปลดล็อกทุกเครื่องมือ","Everything unlocked"),title:s("เข้าถึง Dashboard","Access the dashboard"),desc:s("ปลดล็อคเครื่องมือทั้งหมด AI Signals, Order Flow, SMC และ Community","Unlock AI Signals, Order Flow, SMC, and the community tools"),visual:e.jsx(_a,{t:s})},{step:s("ขั้นที่ 4","Step 4"),eyebrow:s("วินัยก่อนกำไร","Discipline first"),title:s("เทรดอย่างมั่นใจ","Trade with confidence"),desc:s("ใช้สัญญาณและเครื่องมือวิเคราะห์ประกอบการตัดสินใจ ตั้ง SL และขนาดไม้ก่อนเข้าทุกครั้ง","Use the signals and tools to decide, and set your stop and size before every entry"),visual:e.jsx(Aa,{t:s})}];return e.jsxs("section",{className:"relative py-24 lg:py-32 px-4 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-slate-950 via-[#0c1a2e] to-slate-950"}),e.jsxs("div",{className:"relative max-w-6xl mx-auto",children:[e.jsxs(m.div,{...be,className:"text-center mb-14 max-w-3xl mx-auto",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-emerald-500/10 border border-emerald-500/20 rounded-full text-emerald-400 text-xs font-semibold uppercase tracking-widest mb-6",children:[e.jsx(xe,{className:"w-3.5 h-3.5"}),s("เริ่มต้นใช้งาน","Getting Started")]}),e.jsxs("h2",{className:"text-3xl md:text-5xl font-bold text-white leading-tight mb-6",children:[s("เริ่มต้นง่ายๆ","Get started easily"),e.jsx("span",{className:"block text-emerald-400",children:s("ใน 4 ขั้นตอน","in 4 steps")})]})]}),e.jsx("div",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-4",children:a.map((r,l)=>e.jsx(m.div,{...ie(l*.1),className:"h-full",children:e.jsx(ms,{step:r.step,eyebrow:r.eyebrow,title:r.title,de
12sc:r.desc,visual:r.visual,compact:!0})},r.title))}),e.jsxs(m.div,{...ie(.5),className:"mt-16 text-center",children:[e.jsxs("a",{href:"#pricing",className:"inline-flex items-center gap-3 px-10 py-5 bg-gradient-to-r from-emerald-500 to-cyan-500 text-slate-900 font-bold rounded-2xl transition-all hover:shadow-2xl hover:shadow-emerald-500/30 text-lg",children:[e.jsx(jt,{className:"w-5 h-5"}),s("เริ่มต้นเทรดเลย","Start Trading Now")]}),e.jsx("p",{className:"text-xs text-slate-500 mt-4",children:s("เริ่มต้นเพียง 300 บาท/เดือน","Starting from ฿300/month")})]})]})]})}function er({language:t}){const s=[{q:v(t,"Alphasignals เหมาะกับใคร?","Who is Alphasignals for?"),a:v(t,"เหมาะกับเทรดเดอร์ทุกระดับ ทั้งมือใหม่ที่ต้องการเรียนรู้จากสัญญาณคุณภาพ และมือโปรที่ต้องการเครื่องมือวิเคราะห์ขั้นสูง เช่น Order Flow และ SMC Dashboard","It is built for all levels, from beginners who want quality signals to advanced traders needing tools like Order Flow and SMC dashboard.")},{q:v(t,"สัญญาณส่งบ่อยแค่ไหน?","How often are signals sent?"),a:v(t,"AI วิเคราะห์ตลาดตลอด 24 ชั่วโมง และส่งสัญญาณเมื่อพบโอกาสที่มีความมั่นใจสูง โดยเฉลี่ย 3-8 สัญญาณต่อวัน ขึ้นอยู่กับสภาวะตลาด","AI scans the market 24/7 and sends high-confidence opportunities, typically 3-8 signals/day depending on market conditions.")},{q:v(t,"รองรับ Broker ไหนบ้าง?","Which brokers are supported?"),a:v(t,"Alphasignals ไม่ผูกกับ Broker ใด คุณสามารถใช้สัญญาณกับ Broker ที่คุณใช้อยู่ได้เลย ไม่ว่าจะเป็น MT4, MT5 หรือแพลตฟอร์มอื่น","Alphasignals is broker-agnostic. You can use signals with your current broker, including MT4, MT5, and others.")},{q:v(t,"ทดลองใช้ก่อนได้ไหม?","Can I try before subscribing?"),a:v(t,"คุณดูบทความ, ข่าวสาร และความรู้เกี่ยวกับ SMC ได้ฟรี สำหรับสัญญาณเทรดและเครื่องมือวิเคราะห์ต้องเป็นสมาชิก VIP","You can access articles, news, and SMC education for free. Trading signals and advanced analysis tools require VIP membership.")},{q:v(t,"มีปัญหาติดต่อได้อย่างไร?","How can I contact support?"),a:v(t,"ติดต่อทีมซัพพอร์ตผ่านหน้า Contact หรือ Community Chat ในแอป ทีมงานพร้อมช่วยเหลือตลอด","Contact support via the Contact page or in-app community chat. Our team is ready to help.")}];return e.jsxs("section",{className:"relative py-24 lg:py-32 px-4 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-slate-950 via-slate-900/50 to-slate-950"}),e.jsxs("div",{className:"relative max-w-3xl mx-auto",children:[e.jsxs(m.div,{...be,className:"text-center mb-12",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-slate-700/30 border border-slate-600/30 rounded-full text-slate-300 text-xs font-semibold uppercase tracking-widest mb-6",children:[e.jsx(Gs,{className:"w-3.5 h-3.5"}),"FAQ"]}),e.jsx("h2",{className:"text-3xl md:text-4xl font-bold text-white mb-4",children:v(t,"คำถามที่พบบ่อย","Frequently Asked Questions")})]}),e.jsx("div",{className:"space-y-3",children:s.map((a,r)=>
12e.jsx(m.div,{...ie(r*.06),children:e.jsx(tr,{q:a.q,a:a.a})},r))})]})]})}function tr({q:t,a:s}){const[a,r]=p.useState(!1);return e.jsxs("div",{className:`bg-slate-800/40 border rounded-2xl overflow-hidden transition-all duration-300 ${a?"border-emerald-500/20":"border-slate-700/40"}`,children:[e.jsxs("button",{onClick:()=>r(!a),className:"w-full flex items-center justify-between p-5 text-left hover:bg-white/[0.02] transition-colors",children:[e.jsx("span",{className:"font-medium text-white pr-6",children:t}),e.jsx(ss,{className:`w-5 h-5 text-emerald-400 flex-shrink-0 transition-transform duration-300 ${a?"rotate-180":""}`})]}),e.jsx("div",{className:`overflow-hidden transition-all duration-300 ${a?"max-h-40 opacity-100":"max-h-0 opacity-0"}`,children:e.jsx("div",{className:"px-5 pb-5 text-sm text-slate-400 leading-relaxed",children:s})})]})}const sr="-1700,-840,-1500,-840,-1400,-840,-1300,-840,-1200,-840,-1100,-840,-1000,-840,-900,-840,-800,-840,-700,-840,-600,-840,-500,-840,-400,-840,-300,-840,-200,-840,-100,-840,0,-840,100,-840,200,-840,300,-840,400,-840,500,-840,600,-840,700,-840,800,-840,900,-840,1000,-840,1100,-840,1200,-840,1300,-840,1400,-840,1500,-840,1600,-840,1700,-840,-1450,-825,-1350,-825,-1250,-825,-1150,-825,-1050,-825,-950,-825,-850,-825,-750,-825,-650,-825,-450,-825,-350,-825,-250,-825,-150,-825,-50,-825,50,-825,150,-825,250,-825,350,-825,450,-825,550,-825,650,-825,750,-825,850,-825,950,-825,1050,-825,1150,-825,1250,-825,1350,-825,
121450,-825,1550,-825,-1416,-810,-1321,-810,-1225,-810,-1129,-810,-1033,-810,-937,-810,-841,-810,-745,-810,-266,-810,-170,-810,-74,-810,22,-810,118,-810,214,-810,310,-810,405,-810,501,-810,597,-810,693,-810,789,-810,885,-810,981,-810,1077,-810,1172,-810,1268,-810,1364,-810,1460,-810,1556,-810,-1594,-795,-1430,-795,-1347,-795,-1265,-795,-1183,-795,-1100,-795,-1018,-795,-936,-795,-853,-795,-771,-795,-442,-795,-277,-795,-195,-795,-113,-795,-30,-795,52,-795,134,-795,217,-795,299,-795,381,-795,464,-795,546,-795,628,-795,710,-795,793,-795,875,-795,957,-795,1040,-795,1122,-795,1204,-795,1287,-795,1369,-795,1451,-795,1534,-795,-1511,-780,-1439,-780,-1367,-780,-1295,-780,-1223,-780,-1151,-780,-1079,-780,-1006,-780,-934,-780,-862,-780,-790,-780,-285,-780,-213,-780,-141,-780,-68,-780,4,-780,76,-780,148,-780,220,-780,292,-780,364,-780,437,-780,509,-780,581,-780,653,-780,725,-780,797,-780,869,-780,942,-780,1014,-780,1086,-780,1158,-780,1230,-780,1302,-780,1374,-780,1447,-780,1519,-780,1591,-780,-1447,-765,-1382,-765,-1318,-765,-1254,-765,-1190,-765,-1125,-765,-1061,-765,-997,-765,-933,-765,-868,-765,-804,-765,-740,-765,-226,-765,-162,-765,-97,-765,-33,-765,31,-765,96,-765,160,-765,224,-765,288,-765,353,-765,417,-765,481,-765,545,-765,610,-765,674,-765,738,-765,802,-765,867,-765,931,-765,995,-765,1059,-765,1124,-765,1188,-765,1252,-765,1316,-765,1381,-765,1445,-765,1509,-765,1573,-765,-1336,-750,-1278,-750,-1220,-750,-1162,-750,-1105,-750,-1047,-750,-989,-750,-931,-750,-873,-750,-815,-750,-757,-750,-699,-750,-641,-750,-119,-750,-61,-750,-3,-750,55,-750,113,-750,170,-750,228,-750,286,-750,344,-750,402,-750,460,-750,518,-750,576,-750,634,-750,692,-750,750,-750,808,-750,866,-750,924,-750,982,-750,1040,-750,1098,-750,1156,-750,1214,-750,1272,-750,1330,-750,1388,-750,1446,-750,1503,-750,1561,-750,1619,-750,-981,-735,-929,-735,-876,-735,-717,-735,-664,-735,-612,-735,-136,-735,-84,-735,-31,-735,22,-735,75,-735,128,-735,181,-735,233,-735,286,-735,339,-735,392,-735,445,-735,497,-735,550,-735,603,-735,656,-735,709,-735,761,-735,814,-735,867,-735,920,-735,973,-735,1026,-735,1078,-735,1131,-735,1184,-735,1237,-735,1290,-735,1342,-735,1395,-735,1448,-735,1501,-735,1554,-735,1607,-735,1659,-735,-732,-720,-635,-720,-101,-720,-53,-720,-4,-720,45,-720,93,-720,142,-720,190,-720,239,-720,287,-720,336,-720,384,-720,433,-720,481,-720,530,-720,579,-720,627,-720,676,-720,724,-720,773,-720,821,-720,870,-720,918,-720,967,-720,1015,-720,1064,-720,1112,-720,1161,-720,1210,-720,1258,-720,1307,-720,1355,-720,1404,-720,1452,-720,1501,-720,1549,-720,1598,-720,1646,-720,1695,-720,-699,-705,-654,-705,65,-705,155,-705,200,-705,245,-705,290,-705,334,-705,379,-705,424,-705,469,-705,514,-705,559,-705,604,-705,649,-705,739,-705,784,-705,829,-705,874,-705,919,-705,964,-705,1009,-705,1053,-705,1098,-705,1143,-705,1188,-705,1233,-705,1278,-705,1323,-705,1368,-705,1413,-705,1458,-705,1503,-705,1548,-705,1593,-705,-670,-690,335,-690,418,-690,460,-690,502,-690,544,-690,586,-690,628,-690,670,-690,795,-690,837,-690,879,-690,921,-690,963,-690,1004,-690,1046,-690,1088,-690,1130,-690,1172,-690,1214,-690,1256,-690,1297,-690,1339,-690,1381,-690,1423,-690,1465,-690,1507,-690,1549,-690,493,-675,532,-675,571,-675,846,-675,885,-675,924,-675,963,-675,1003,-675,1042,-675,1081,-675,1120,-675,1159,-675,1199,-675,1238,-675,1277,-675,1316,-675,1355,-675,1395,-675,1434,-675,560,-660,1040,-660,-728,-540,-703,-540,-677,-540,-728,-525,-704,-525,-727,-510,-704,-510,-749,-495,-726,-495,-703,-495,-680,-495,-746,-480,-724,-480,-702,-480,-679,-480,-743,-465,-721,-465,-700,-465,-678,-465,-739,-450,-718,-450,-697,-450,-676,-450,1679,-450,1700,-450,-714,-435,-694,-435,-673,-435,-652,-435,1705,-435,1726,-435,-730,-420,-710,-420,-690,-420,-670,-420,1470,-420,1732,-420,-725,-405,-705,-405,-685,-405,-666,-405,-646,-405,-626,-405,1761,-405,-719,-390,-700,-390,-681,-390,-661,-390,-642,-390,1751,-390,1771,-390,-732,-375,-713,-375,-694,-375,-675,-375,-656,-375,-637,-375,-618,-375,-599,-375,-580,-375,1405,-375,1424,-375,1443,-375,1461,-375,1480,-375,-725,-360,-706,-360,-688,-360,-669,-360,-650,-360,-632,-360,-613,-360,-595,-360,-576,-360,1408,-360,1426,-360,1445,-360,1463,-360,1482,-360,1500,-360,1741,-360,-717,-345,-699,-345,-681,-345,-662,-345,-644,-345,-626,-345,-608,-345,-590,-345,-553,-345,193,-345,1158,-345,1176,-345,1358,-345,1376,-345,1394,-345,1412,-345,1431,-345,1449,-345,1467,-345,1485,-345,1503,
12-345,-709,-330,-691,-330,-673,-330,-655,-330,-637,-330,-620,-330,-602,-330,-584,-330,-566,-330,-548,-330,-530,-330,185,-330,203,-330,221,-330,239,-330,257,-330,275,-330,1169,-330,1187,-330,1205,-330,1223,-330,1241,-330,1348,-330,1366,-330,1384,-330,1401,-330,1419,-330,1437,-330,1455,-330,1473,-330,1491,-330,1509,-330,-700,-315,-683,-315,-665,-315,-648,-315,-630,-315,-613,-315,-595,-315,-577,-315,-560,-315,-542,-315,-525,-315,197,-315,214,-315,232,-315,250,-315,267,-315,285,-315,1164,-315,1182,-315,1200,-315,1217,-315,1235,-315,1252,-315,1270,-315,1287,-315,1305,-315,1323,-315,1340,-315,1358,-315,1375,-315,1393,-315,1411,-315,1428,-315,1446,-315,1463,-315,1481,-315,1499,-315,1516,-315,-709,-300,-691,-300,-674,-300,-657,-300,-640,-300,-622,-300,-605,-300,-588,-300,-570,-300,-553,-300,-536,-300,-518,-300,-501,-300,175,-300,192,-300,209,-300,226,-300,244,-300,261,-300,278,-300,296,-300,1162,-300,1179,-300,1196,-300,1214,-300,1231,-300,1248,-300,1266,-300,1283,-300,1300,-300,1318,-300,1335,-300,1352,-300,1370,-300,1387,-300,1404,-300,1422,-300,1439,-300,1456,-300,1474,-300,1491,-300,1508,-300,1526,-300,-699,-285,-682,-285,-665,-285,-648,-285,-631,-285,-614,-285,-597,-285,-580,-285,-563,-285,-545,-285,-528,-285,-511,-285,-494,-285,171,-285,188,-285,206,-285,223,-285,240,-285,257,-285,274,-285,291,-285,308,-285,1161,-285,1178,-285,1196,-285,1213,-285,1230,-285,1247,-285,1264,-285,1281,-285,1298,-285,1315,-285,1332,-285,1349,-285,1366,-285,1383,-285,1400,-285,1417,-285,1434,-285,1452,-285,1469,-285,1486,-285,1503,-285,1520,-285,-706,-270,-689,-270,-672,-270,-655,-270,-638,-270,-622,-270,-605,-270,-588,-270,-571,-270,-554,-270,-537,-270,-521,-270,-504,-270,-487,-270,153,-270,170,-270,187,-270,203,-270,220,-270,237,-270,254,-270,271,-270,288,-270,304,-270,321,-270,1146,-270,1163,-270,1180,-270,1197,-270,1213,-270,1230,-270,1247,-270,1264,-270,1281,-270,1298,-270,1314,-270,1331,-270,1348,-270,1365,-270,1382,-270,1399,-270,1415,-270,1432,-270,1449,-270,1466,-270,1483,-270,1500,-270,1516,-270,-695,-255,-678,-255,-662,-255,-645,-255,-628,-255,-612,-255,-595,-255,-579,-255,-562,-255,-545,-255,-529,-255,-512,-255,-495,-255,153,-255,169,-255,186,-255,203,-255,219,-255,236,-255,252,-255,269,-255,286,-255,302,-255,319,-255,452,-255,1150,-255,1166,-255,1183,-255,1200,-255,1216,-255,1233,-255,1250,-255,1266,-255,1283,-255,1299,-255,1316,-255,1333,-255,1349,-255,1366,-255,1383,-255,1399,-255,1416,-255,1432,-255,1449,-255,1466,-255,1482,-255,1499,-255,1515,-255,-700,-240,-683,-240,-667,-240,-651,-240,-634,-240,-618,-240,-601,-240,-585,-240,-569,-240,-552,-240,-536,-240,-519,-240,-503,-240,-486,-240,-470,-240,154,-240,170,-240,187,-240,203,-240,220,-240,236,-240,252,-240,269,-240,285,-240,302,-240,318,-240,335,-240,351,-240,449,-240,466,-240,1139,-240,1156,-240,1172,-240,1188,-240,1205,-240,1221,-240,1238,-240,1254,-240,1270,-240,1287,-240,1303,-240,1320,-240,1336,-240,1353,-240,1369,-240,1385,-240,1402,-240,1418,-240,1435,-240,1451,-240,1467,-240,1484,-240,1500,-240,-688,-225,-672,-225,-655,-225,-639,-225,-623,-225,-607,-225,-590,-225,-574,-225,-558,-225,-542,-225,-525,-225,-509,-225,-493,-225,-477,-225,-461,-225,-444,-225,-428,-225,156,-225,173,-225,189,-225,205,-225,221,-225,238,-225,254,-225,270,-225,286,-225,303,-225,319,-225,335,-225,351,-225,449,-225,465,-225,1147,-225,1163,-225,1179,-225,1196,-225,1212,-225,1228,-225,1244,-225,1260,-225,1277,-225,1293,-225,1309,-225,1325,-225,1342,-225,1358,-225,1374,-225,1390,-225,1407,-225,1423,-225,1439,-225,1455,-225,1472,-225,1488,-225,1504,-225,-691,-210,-675,-210,-659,-210,-643,-210,-627,-210,-611,-210,-595,-210,-579,-210,-563,-210,-547,-210,-531,-210,-515,-210,-499,-210,-482,-210,-466,-210,-450,-210,-434,-210,-418,-210,144,-210,160,-210,176,-210,192,-210,208,-210,224,-210,241,-210,257,-210,273,-210,289,-210,305,-210,321,-210,337,-210,449,-210,465,-210,482,-210,1172,-210,1188,-210,1205,-210,1221,-210,1237,-210,1253,-210,1269,-210,1285,-210,1301,-210,1317,-210,1333,-210,1349,-210,1365,-210,1381,-210,1397,-210,1413,-210,1430,-210,1446,-210,1462,-210,1478,-210,1654,-210,-694,-195,-678,-195,-662,-195,-646,-195,-630,-195,-615,-195,-599,-195,-583,-195,-567,-195,-551,-195,-535,-195,-519,-195,-503,-195,-487,-195,-471,-195,-455,-195,-439,-195,-424,-195,-408,-195,133,-195,149,-195,165,-195,181,-195,197,-195,213,-195,229,-195,245,-195,261,-195,277,-195,293,-195,308,-195,324,-195,340,-195,452,-195,468,-195,483,-195,1215,-195,1231,-195,1247,-195,1263,-195,1279,-195,1295,-195,1311,-195,1327,-195,1343,-195,1359,-195,1375,-195,1391,-195,1406,-195,1422,-195,1438,-195,1454,-195,1470,-195,-696,-180,-680,-180,-664,-180,-649,-180,-633,-180,-617,-180,-601,-180,-586,-180,-570,-180,-554,-180,-538,-180,-522,-180,-507,-180,-491,-180,-475,-180,-459,-180,-444,-180,-428,-180,-412,-180,-396,-180,124,-180,140,-180,156,-180,171,-180,187,-180,203,-180,219,-180,235,-180,250,-180,266,-180,282,-180,298,-180,313,-180,329,-180,345,-180,361,-180,455,-180,471,-180,487,-180,1228,-180,1244,-180,1260,-180,1276,-180,1291,-180,1307,-180,1323,-180,1339,-180,1354,-180,1370,-180,1386,-180,1402,-180,1417,-180,1433,-180,1449,-180,1780,-180,-728,-165,-713,-165,-697,-165,-681,-165,-666,-165,-650,-165,-635,-165,-619,-165,-603,-165,-588,-165,-572,-165,-556,-165,-541,-165,-525,-165,-509,-165,-494,-165,-478,-165,-462,-165,-447,-165,-431,-165,-415,-165,-400,-165,132,-165,148,-165,163,-165,179,-165,195,-165,210,-165,226,-165,242,-165,257,-165,273,-165,289,-165,304,-165,320,-165,335,-165,351,-165,367,-165,382,-165,445,-165,461,-165,476,-165,492,-165,1243,-165,1258,-165,1274,-165,1290,-165,1305,-165,1321,-165,1337,-165,1352,-165,1368,-165,1415,-165,1431,-165,1446,-165,1790,-165,-744,-150,-728,-150,-713,
12-150,-697,-150,-682,-150,-666,-150,-651,-150,-635,-150,-620,-150,-604,-150,-589,-150,-573,-150,-558,-150,-542,-150,-527,-150,-511,-150,-496,-150,-480,-150,-464,-150,-449,-150,-433,-150,-418,-150,-402,-150,126,-150,141,-150,157,-150,172,-150,188,-150,203,-150,219,-150,234,-150,250,-150,265,-150,281,-150,296,-150,312,-150,327,-150,343,-150,359,-150,374,-150,390,-150,405,-150,483,-150,498,-150,1259,-150,1275,-150,1290,-150,1306,-150,1321,-150,1337,-150,1352,-150,1430,-150,1446,-150,-759,-135,-743,-135,-728,-135,-712,-135,-697,-135,-682,-135,-666,-135,-651,-135,-635,-135,-620,-135,-604,-135,-589,-135,-574,-135,-558,-135,-543,-135,-527,-135,-512,-135,-496,-135,-481,-135,-466,-135,-450,-135,-435,-135,-419,-135,-404,-135,-389,-135,136,-135,151,-135,167,-135,182,-135,198,-135,213,-135,229,-135,244,-135,259,-135,275,-135,290,-135,306,-135,321,-135,337,-135,352,-135,367,-135,383,-135,398,-135,491,-135,1308,-135,1324,-135,1339,-135,1355,-135,1416,-135,1432,-135,-757,-120,-742,-120,-727,-120,-711,-120,-696,-120,-681,-120,-665,-120,-650,-120,-635,-120,-619,-120,-604,-120,-589,-120,-573,-120,-558,-120,-543,-120,-527,-120,-512,-120,-497,-120,-481,-120,-466,-120,-451,-120,-435,-120,-420,-120,-405,-120,-389,-120,148,-120,163,-120,178,-120,194,-120,209,-120,224,-120,240,-120,255,-120,270,-120,286,-120,301,-120,316,-120,332,-120,347,-120,362,-120,378,-120,393,-120,1328,-120,1359,-120,1420,-120,-770,-105,-755,-105,-740,-105,-724,-105,-709,-105,-694,-105,-679,-105,-663,-105,-648,-105,-633,-105,-618,-105,-602,-105,-587,-105,-572,-105,-557,-105,-541,-105,-526,-105,-511,-105,-496,-105,-480,-105,-465,-105,-450,-105,-435,-105,-419,-105,-404,-105,-389,-105,-374,-105,145,-105,160,-105,176,-105,191,-105,206,-105,221,-105,237,-105,252,-105,267,-105,282,-105,298,-105,313,-105,328,-105,343,-105,359,-105,374,-105,389,-105,1503,-105,-782,-90,-767,-90,-752,-90,-737,-90,-722,-90,-707,-90,-691,-90,-676,-90,-661,-90,-646,-90,-631,-90,-615,-90,-600,-90,-585,-90,-570,-90,-555,-90,-539,-90,-524,-90,-509,-90,-494,-90,-479,-90,-464,-90,-448,-90,-433,-90,-418,-90,-403,-90,-388,-90,-372,-90,-357,-90,144,-90,159,-90,174,-90,189,-90,205,-90,220,-90,235,-90,250,-90,265,-90,281,-90,296,-90,311,-90,326,-90,341,-90,357,-90,372,-90,387,-90,1253,-90,1420,-90,1480,-90,-794,-75,-779,-75,-764,-75,-749,-75,-733,-75,-718,-75,-703,-75,-688,-75,-673,-75,-658,-75,-643,-75,-627,-75,-612,-75,-597,-75,-582,-75,-567,-75,-552,-75,-537,-75,-522,-75,-506,-75,-491,-75,-476,-75,-461,-75,-446,-75,-431,-75,-416,-75,-401,-75,-385,-75,-370,-75,-355,-75,144,-75,159,-75,174,-75,190,-75,205,-75,220,-75,235,-75,250,-75,265,-75,280,-75,295,-75,311,-75,326,-75,341,-75,356,-75,371,-75,386,-75,1082,-75,1097,-75,1112,-75,1128,-75,1385,-75,1400,-75,1415,-75,1430,-75,1445,-75,1460,-75,-805,-60,-789,-60,-774,-60,-759,-60,-744,-60,-729,-60,-714,-60,-699,-60,-684,-60,-669,-60,-654,-60,-639,-60,-624,-60,-608,-60,-593,-60,-578,-60,-563,-60,-548,-60,-533,-60,-518,-60,-503,-60,-488,-60,-473,-60,-458,-60,-443,-60,-427,-60,-412,-60,-397,-60,-382,-60,-367,-60,-352,-60,131,-60,146,-60,161,-60,176,-60,191,-60,206,-60,221,-60,236,-60,251,-60,266,-60,281,-60,296,-60,312,-60,327,-60,342,-60,357,-60,372,-60,387,-60,1066,-60,1398,-60,1413,-60,1428,-60,1443,-60,1458,-60,1473,-60,
121503,-60,1548,-60,-799,-45,-784,-45,-769,-45,-754,-45,-739,-45,-724,-45,-709,-45,-694,-45,-679,-45,-664,-45,-649,-45,-634,-45,-619,-45,-604,-45,-589,-45,-574,-45,-559,-45,-544,-45,-529,-45,-514,-45,-498,-45,-483,-45,-468,-45,-453,-45,-438,-45,-423,-45,-408,-45,-393,-45,-378,-45,118,-45,133,-45,149,-45,164,-45,179,-45,194,-45,209,-45,224,-45,239,-45,254,-45,269,-45,284,-45,299,-45,314,-45,329,-45,344,-45,359,-45,374,-45,389,-45,1036,-45,1051,-45,1202,-45,1217,-45,1367,-45,1382,-45,1397,-45,1412,-45,1427,-45,1442,-45,1518,-45,-794,-30,-779,-30,-764,-30,-749,-30,-734,-30,-719,-30,-703,-30,-688,-30,-673,-30,-658,-30,-643,-30,-628,-30,-613,-30,-598,-30,-583,-30,-568,-30,-553,-30,-538,-30,-523,-30,-508,-30,-493,-30,-478,-30,-463,-30,-448,-30,-433,-30,-418,-30,-403,-30,108,-30,123,-30,138,-30,153,-30,168,-30,183,-30,198,-30,213,-30,228,-30,243,-30,258,-30,273,-30,288,-30,303,-30,318,-30,333,-30,348,-30,363,-30,378,-30,393,-30,1024,-30,1039,-30,1054,-30,1114,-30,1129,-30,1144,-30,1159,-30,1189,-30,1219,-30,1294,-30,1324,-30,1339,-30,1369,-30,1384,-30,1399,-30,1414,-30,-802,-15,-787,-15,-772,-15,-757,-15,-742,-15,-727,-15,-712,-15,-697,-15,-682,-15,-667,-15,-652,-15,-637,-15,-622,-15,-607,-15,-592,-15,-577,-15,-562,-15,-547,-15,-532,-15,-517,-15,-502,-15,-487,-15,-472,-15,-457,-15,98,-15,113,-15,128,-15,143,-15,158,-15,173,-15,188,-15,203,-15,218,-15,233,-15,248,-15,263,-15,278,-15,293,-15,308,-15,323,-15,338,-15,353,-15,368,-15,383,-15,398,-15,413,-15,1013,-15,1028,-15,1043,-15,1103,-15,1119,-15,1134,-15,1149,-15,1164,-15,1194,-15,1209,-15,1224,-15,1314,-15,1329,-15,-795,0,-780,0,-765,0,-750,0,-735,0,-720,0,-705,0,-690,0,-675,0,-660,0,-645,0,-630,0,-615,0,-600,0,-585,0,-570,0,-555,0,-540,0,-525,0,-510,0,105,0,120,0,135,0,150,0,165,0,180,0,195,0,210,0,225,0,240,0,255,0,270,0,285,0,300,0,315,0,330,0,345,0,360,0,375,0,390,0,405,0,420,0,1005,0,1020,0,1035,0,1095,0,1110,0,1125,0,1140,0,1155,0,1170,0,1200,0,-787,15,-772,15,-757,15,-742,15,-727,15,-712,15,-697,15,-682,15,-667,15,-652,15,-637,15,-622,15,-607,15,-592,15,-577,15,-562,15,-547,15,-532,15,-517,15,-502,15,98,15,113,15,128,15,143,15,158,15,173,15,188,15,203,15,218,15,233,15,248,15,263,15,278,15,293,15,308,15,323,15,338,15,353,15,368,15,383,15,398,15,413,15,428,15,443,15,998,15,1013,15,1103,15,1119,15,1134,15,1149,15,1164,15,1179,15,1284,15,-764,30,-749,30,-734,30,-719,30,-703,30,-688,30,-673,30,-658,30,-643,30,-628,30,-613,30,-598,30,-583,30,-568,30,-553,30,-538,30,-523,30,108,30,123,30,138,30,153,30,168,30,183,30,198,30,213,30,228,30,243,30,258,30,273,30,288,30,303,30,318,30,333,30,348,30,363,30,378,30,393,30,408,30,423,30,438,30,453,30,979,30,994,30,1024,30,1129,30,1144,30,1159,30,1174,30,-769,45,-754,45,-739,45,-724,45,-709,45,-694,45,-679,45,-664,45,-649,45,-634,45,-619,45,-604,45,-589,45,-574,45,-559,45,-544,45,-529,45,-77,45,58,45,73,45,88,45,103,45,118,45,133,45,149,45,164,45,179,45,194,45,209,45,224,45,239,45,254,45,269,45,284,45,299,45,314,45,329,45,344,45,359,45,374,45,389,45,404,45,419,45,434,45,449,45,464,45,480,45,961,45,976,45,1006,45,1021,45,1157,45,1172,45,-759,60,-744,60,-729,60,-714,60,-699,60,-684,60,-669,60,-654,60,-639,60,-624,60,-608,60,-593,60,-578,60,-96,60,-81,60,-65,60,-50,60,-35,60,-20,60,-5,60,10,60,55,60,70,60,85,60,100,60,115,60,131,60,146,60,161,60,176,60,191,60,206,60,221,60,236,60,251,60,266,60,281,60,296,60,312,60,327,60,342,60,357,60,372,60,387,60,402,60,417,60,432,60,447,60,462,60,477,60,1005,60,1020,60,1171,60,1247,60,-809,75,-779,75,-764,75,-749,75,-733,75,-718,75,-703,75,-688,75,-673,7
125,-658,75,-643,75,-627,75,-612,75,-597,75,-113,75,-98,75,-83,75,-68,75,-53,75,-37,75,-22,75,-7,75,8,75,23,75,38,75,53,75,68,75,84,75,99,75,114,75,129,75,144,75,159,75,174,75,190,75,205,75,220,75,235,75,250,75,265,75,280,75,295,75,311,75,326,75,341,75,356,75,371,75,386,75,401,75,416,75,432,75,447,75,462,75,477,75,492,75,810,75,1233,75,1249,75,1264,75,-828,90,-798,90,-782,90,-752,90,-737,90,-722,90,-707,90,-691,90,-676,90,-661,90,-646,90,-631,90,-615,90,-129,90,-114,90,-99,90,-84,90,-69,90,-53,90,-38,90,-23,90,-8,90,7,90,22,90,38,90,53,90,68,90,83,90,98,90,114,90,129,90,144,90,159,90,174,90,189,90,205,90,220,90,235,90,250,90,265,90,281,90,296,90,311,90,326,90,341,90,357,90,372,90,387,90,402,90,417,90,432,90,448,90,463,90,478,90,493,90,767,90,782,90,994,90,1055,90,1177,90,-847,105,-755,105,-740,105,-724,105,-709,105,-694,105,-679,105,-663,105,-633,105,-145,105,-130,105,-114,105,-99,105,-84,105,-69,105,-53,105,-38,105,-23,105,-7,105,8,105,23,105,38,105,54,105,69,105,84,105,99,105,115,105,130,105,145,105,160,105,176,105,191,105,206,105,221,105,237,105,252,105,267,105,282,105,298,105,313,105,328,105,343,105,359,105,374,105,389,105,404,105,420,105,435,105,450,105,465,105,481,105,496,105,771,105,786,105,1045,105,1060,105,-865,120,-849,120,-159,120,-144,120,-128,120,-113,120,-98,120,-82,120,-67,120,-52,120,-36,120,-21,120,-6,120,10,120,25,120,40,120,56,120,71,120,86,120,102,120,117,120,132,120,148,120,163,120,178,120,194,120,209,120,224,120,240,120,255,120,270,120,286,120,301,120,316,120,332,120,347,120,362,120,378,120,393,120,408,120,424,120,761,120,776,120,792,120,991,120,1037,120,1052,120,1068,120,1083,120,1252,120,-882,135,-867,135,-851,135,-836,135,-157,135,-142,135,-126,135,-111,135,-95,135,-80,135,-65,135,-49,135,-34,135,-18,135,-3,135,13,135,28,135,43,135,59,135,74,135,90,135,105,135,121,135,136,135,151,135,167,135,182,135,198,135,213,135,229,135,244,135,259,135,275,135,290,135,306,135,321,135,337,135,352,135,367,135,383,135,398,135,414,135,445,135,460,135,753,135,768,135,784,135,799,135,984,135,1000,135,1015,135,1031,135,1046,135,1062,135,1077,135,1092,135,1231,135,-915,150,-899,150,-884,150,-868,150,-853,150,-837,150,-169,150,-154,150,-138,150,-123,150,-107,150,-92,150,-76,150,-61,150,-45,150,-30,150,-14,150,1,150,17,150,32,150,48,150,63,150,79,150,95,150,110,150,126,150,141,150,157,150,172,150,188,150,203,150,219,150,234,150,250,150,265,150,281,150,296,150,312,150,327,150,343,150,359,150,374,150,390,150,436,150,452,150,467,150,483,150,498,150,747,150,762,150,778,150,793,150,980,150,995,150,1011,150,1026,150,1042,150,1057,150,1073,150,1088,150,1213,150,-979,165,-963,165,-947,165,-932,165,-916,165,-900,165,-885,165,-165,165,-150,165,-134,165,-118,165,-103,165,-87,165,-71,165,-56,165,-40,165,-24,165,-9,165,7,165,23,165,38,165,54,165,69,165,85,165,101,165,116,165,132,165,148,165,163,165,179,165,195,165,210,165,226,165,242,165,257,165,273,165,289,165,304,165,320,165,335,165,351,165,367,165,382,165,429,165,445,165,461,165,476,165,492,165,508,165,523,165,742,165,758,165,773,165,789,165,805,165,820,165,946,165,961,165,977,165,992,165,1008,165,1024,165,1039,165,1055,165,1071,165,1212,165,-1011,180,-996,180,-98
120,180,-964,180,-948,180,-933,180,-917,180,-901,180,-885,180,-775,180,-712,180,-664,180,-160,180,-144,180,-128,180,-112,180,-97,180,-81,180,-65,180,-49,180,-34,180,-18,180,-2,180,14,180,30,180,45,180,61,180,77,180,93,180,108,180,124,180,140,180,156,180,171,180,187,180,203,180,219,180,235,180,250,180,266,180,282,180,298,180,313,180,329,180,345,180,361,180,377,180,424,180,440,180,455,180,471,180,487,180,503,180,518,180,534,180,550,180,739,180,755,180,771,180,787,180,802,180,818,180,834,180,944,180,960,180,976,180,992,180,1007,180,1023,180,1039,180,1055,180,1212,180,-1553,195,-1044,195,-1028,195,-1012,195,-996,195,-980,195,-965,195,-901,195,-885,195,-726,195,-710,195,-153,195,-137,195,-121,195,-105,195,-89,195,-73,195,-58,195,-42,195,-26,195,-10,195,6,195,22,195,38,195,54,195,70,195,86,195,102,195,117,195,133,195,149,195,165,195,181,195,197,195,213,195,229,195,245,195,261,195,277,195,293,195,308,195,324,195,340,195,356,195,372,195,420,195,436,195,452,195,468,195,483,195,499,195,515,195,531,195,547,195,563,195,738,195,754,195,770,195,786,195,802,195,818,195,834,195,849,195,945,195,961,195,977,195,993,195,1009,195,1025,195,1040,195,1056,195,1088,195,1104,195,-1045,210,-1029,210,-1013,210,-997,210,-981,210,-900,210,-884,210,-772,210,-161,210,-145,210,-129,210,-113,210,-97,210,-81,210,-65,210,-49,210,-33,210,-17,210,0,210,16,210,32,210,48,210,64,210,80,210,96,210,112,210,128,210,144,210,160,210,176,210,192,210,208,210,224,210,241,210,257,210,273,210,289,210,305,210,321,210,337,210,353,210,369,210,401,210,417,210,433,210,449,210,465,210,482,210,498,210,514,210,530,210,546,210,562,210,578,210,706,210,739,210,755,210,771,210,787,210,803,210,819,210,835,210,851,210,867,210,931,210,947,210,964,210,980,210,996,210,1012,210,1028,210,1044,210,1060,210,-1045,225,-1029,225,-1013,225,-996,225,-980,225,-834,225,-818,225,-801,225,-152,225,-136,225,-120,225,-103,225,-87,225,-71,225,-55,225,-38,225,-22,225,-6,225,10,225,27,225,43,225,59,225,75,225,91,225,108,225,124,225,140,225,156,225,173,225,189,225,205,225,221,225,238,225,254,225,270,225,286,225,303,225,319,225,335,225,351,225,400,225,416,225,432,225,449,225,465,225,481,225,497,225,514,225,530,225,546,225,562,225,579,225,595,225,708,225,725,225,741,225,757,225,773,225,790,225,806,225,822,225,838,225,855,225,871,225,887,225,903,225,920,225,936,225,952,225,968,225,984,225,1001,225,1017,225,1033,225,1049,225,1066,225,1082,225,1098,225,1114,225,1131,225,-1061,240,-1045,240,-1028,240,-1012,240,-995,240,-979,240,-142,240,-125,240,-109,240,-92,240,-76,240,-60,240,-43,240,-27,240,-10,240,6,240,23,240,39,240,55,240,72,240,88,240,105,240,121,240,138,240,154,240,170,240,187,240,203,240,220,240,236,240,252,240,269,240,285,240,302,240,318,240,335,240,351,240,384,240,400,240,417,240,433,240,449,240,466,240,482,240,499,240,515,240,532,240,548,240,564,240,679,240,696,240,712,240,729,240,745,240,761,240,778,240,794,240,811,240,827,240,844,240,860,240,876,240,893,240,909,240,926,240,942,240,958,240,975,240,991,240,1008,240,1024,240,1041,240,1057,240,1073,240,1090,240,1106,240,1123,240,1139,240,1156,240,1172,240,1205,240,-1077,255,-1060,255,-1044,255,-1027,255,-1011,255,-994,255,-977,255,-811,255,-146,255,-130,255,-113,255,-97,255,-80,255,-63,255,-47,255,-30,255,-13,255,3,255,20,255,36,255,53,255,70,255,86,255,103,255,119,255,136,255,153,255,169,255,186,255,203,255,219,255,236,255,252,255,269,255,286,255,302,255,319,255,336,255,385,255,402,255,419,255,435,255,452,255,468,255,485,255,502,255,601,255,618,255,635,255,651,255,668,255,685,255,701,255,718,255,734,255,751,255,768,255,784,255,801,255,817,255,834,255,851,255,867,255,884,255,901,255,917,255,934,255,950,255,967,255,984,255,1000,255,1017,255,1034,255,1050,255,1067,255,1083,255,1100,255,1117,255,1133,255,1150,255,1166,255,1183,255,-1127,270,-1093,270,-1076,270,-1059,270,-1042,270,-1026,270,-1009,270,-992,270,-975,270,-824,270,-807,270,-133,270,-117,270,-100,270,-83,270,-66,270,-49,270,-32,270,-16,270,1,270,18,270,35,270,52,270,69,270,86,270,102,270,119,270,136,270,153,270,170,270,187,270,203,270,220,270,237,270,254,270,271,270,288,270,304,270,321,270,372,270,389,270,405,270,422,270,439,270,456,270,473,270,490,270,540,270,557,270,574,270,591,270,607,270,624,270,641,270,658,270,675,270,692,270,708,270,725,270,742,270,759,270,776,270,793,270,809,270,826,270,843,270,860,270,877,270,894,270,910,270,927,270,944,270,961,270,978,270,995,270,1011,270,1028,270,1045,270,1062,270,1079,270,1096,270,1112,270,1129,270,1146,270,1163,270,1180,270,1197,270,-1109,285,-1092,285,-1075,285,-1058,285,-1040,285,-1023,285,-1006,285,-989,285,-972,285,-819,285,-102,285,-85,285,-68,285,-50,285,-33,285,-16,285,1,285,18,285,35,285,52,285,69,285,86,285,103,285,120,285,137,285,154,285,171,285,188,285,206,285,223,285,240,285,257,285,274,285,291,285,308,285,325,285,342,285,359,285,376,285,393,285,410,285,427,285,444,285,462,285,479,285,513,285,530,285,547,285,564,285,581,285,598,285,615,285,632,285,649,285,666,285,
12683,285,701,285,718,285,735,285,752,285,769,285,786,285,803,285,820,285,837,285,854,285,871,285,888,285,905,285,922,285,939,285,957,285,974,285,991,285,1008,285,1025,285,1042,285,1059,285,1076,285,1093,285,1110,285,1127,285,1144,285,1161,285,1178,285,1196,285,1213,285,-1125,300,-1107,300,-1090,300,-1073,300,-1055,300,-1038,300,-1021,300,-1003,300,-986,300,-969,300,-951,300,-934,300,-917,300,-899,300,-847,300,-830,300,-85,300,-68,300,-51,300,-33,300,-16,300,1,300,19,300,36,300,53,300,71,300,88,300,105,300,123,300,140,300,157,300,175,300,192,300,209,300,226,300,244,300,261,300,278,300,296,300,313,300,330,300,348,300,365,300,382,300,400,300,417,300,434,300,452,300,469,300,486,300,504,300,521,300,538,300,556,300,573,300,590,300,608,300,625,300,642,300,660,300,677,300,694,300,711,300,729,300,746,300,763,300,781,300,798,300,815,300,833,300,850,300,867,300,885,300,902,300,919,300,937,300,954,300,971,300,989,300,1006,300,1023,300,1041,300,1058,300,1075,300,1093,300,1110,300,1127,300,1144,300,1162,300,1179,300,1196,300,1214,300,-1158,315,-1123,315,-1105,315,-1088,315,-1070,315,-1052,315,-1035,315,-1017,315,-1000,315,-982,315,-964,315,-947,315,-929,315,-912,315,-894,315,-876,315,-859,315,-841,315,-824,315,-85,315,-67,315,-50,315,-32,315,-14,315,3,315,21,315,38,315,56,315,74,315,91,315,109,315,126,315,144,315,214,315,232,315,250,315,267,315,355,315,373,315,390,315,408,315,425,315,443,315,461,315,478,315,496,315,513,315,531,315,549,315,566,315,584,315,601,315,619,315,637,315,654,315,672,315,689,315,707,315,725,315,742,315,760,315,777,315,795,315,812,315,830,315,848,315,865,315,883,315,900,315,918,315,936,315,953,315,971,315,988,315,1006,315,1024,315,1041,315,1059,315,1076,315,1094,315,1112,315,1129,315,1147,315,1164,315,1182,315,1200,315,1217,315,1305,315,-1156,330,-1138,330,-1120,330,-1102,330,-1085,330,-1067,330,-1049,330,-1031,330,-1013,330,-995,330,-977,330,-959,330,-941,330,-924,330,-906,330,-888,330,-870,330,-852,330,-834,330,-816,330,-798,330,-83,330,-65,330,-47,330,-29,330,-11,330,6,330,24,330,42,330,60,330,78,330,96,330,114,330,364,330,382,330,400,330,418,330,436,330,454,330,471,330,489,330,507,330,525,330,543,330,561,330,579,330,597,330,615,330,632,330,650,330,668,330,686,330,704,330,722,330,740,330,758,330,776,330,793,330,811,330,829,330,847,330,865,330,883,330,901,330,919,330,936,330,954,330,972,330,990,330,1008,330,1026,330,1044,330,1062,330,1080,330,1097,330,1115,330,1133,330,1151,330,1169,330,1187,330,1205,330,1312,330,1330,330,-1190,345,-1172,345,-1154,345,-1136,345,-1117,345,-1099,345,-1081,345,-1063,345,-1045,345,-1026,345,-1008,345,-990,345,-972,345,-954,345,-935,345,-917,345,-899,345,-881,345,-863,345,-844,345,-826,345,-808,345,-790,345,-62,345,-44,345,-25,345,-7,345,11,345,29,345,47,345,66,345,84,345,102,345,375,345,393,345,411,345,430,345,448,345,466,345,484,345,502,345,521,345,539,345,557,345,575,345,593,345,612,345,630,345,648,345,666,345,684,345,703,345,721,345,739,345,757,345,775,345,794,345,812,345,830,345,848,345,866,345,885,345,903,345,921,345,939,345,957,345,976,345,994,345,1012,345,1030,345,1048,345,1067,345,1085,345,1103,345,1121,345,1139,345,1158,345,1176,345,1194,345,1267,345,1321,345,1340,345,1358,345,-1207,360,-1188,360,-1170,360,-1151,360,-1133,360,-1114,360,-1095,360,-1077,360,-1058,360,-1040,360,-1021,360,-1003,360,-984,360,-966,360,-947,360,-929,360,-910,360,-891,360,-873,360,-854,360,-836,360,-817,360,-799,360,-780,360,-762,360,17,360,36,360,54,360,73,360,91,360,369,360,388,360,406,360,425,360,443,360,462,360,481,360,499,360,518,360,536,360,555,360,573,360,592,360,610,360,629,360,647,360,666,360,684,360,703,360,722,360,740,360,759,360,777,360,796,360,814,360,833,360,851,360,870,360,888,360,907,360,926,360,944,360,963,360,981,360,1000,360,1018,360,1037,360,1055,360,1074,360,1092,360,1111,360,1129,360,1148,360,1167,360,1185,360,1204,360,1278,360,1371,360,1389,360,-1223,375,-1204,375,-1186,375,-1167,375,-1148,375,-1129,375,-1110,375,-1091,375,-1072,375,-1053,375,-1034,375,-1015,375,-996,375,-978,375,-959,375,-940,375,-921,375,-902,375,-883,375,-864,375,-845,375,-826,375,-807,375,-788,375,-770,375,-70,375,-51,375,-32,375,-13,375,138,375,233,375,289,375,308,375,327,375,346,375,365,375,384,375,403,375,422,375,440,375,459,375,478,375,554,375,573,375,592,375,611,375,630,375,648,375,667,375,686,375,705,375,724,375,743,375,762,375,781,375,800,375,819,375,838,375,856,375,875,375,894,375,913,375,932,375,951,375,970,375,989,375,1008,375,1027,375,1046,375,1064,375,1083,375,1102,375,1121,375,1140,375,1159,375,1178,375,1216,375,1272,375,1291,375,1386,375,1405,375,-1221,390,-1202,390,-1182,390,-1163,390,-1144,390,-1124,390,-1105,390,-1086,390,-1067,390,-1047,390,-1028,390,-1009,390,-989,390,-970,390,-951,390,-931,390,-912,390,-893,390,-874,390,-854,390,-835,390,-816,390,-796,390,-777,390,-758,390,-82,390,-63,390,-44,39
120,-24,390,-5,390,169,390,207,390,227,390,285,390,304,390,323,390,342,390,362,390,381,390,400,390,420,390,439,390,458,390,478,390,555,390,574,390,593,390,613,390,632,390,651,390,671,390,690,390,709,390,728,390,748,390,767,390,786,390,806,390,825,390,844,390,864,390,883,390,902,390,921,390,941,390,960,390,979,390,999,390,1018,390,1037,390,1057,390,1076,390,1095,390,1115,390,1134,390,1153,390,1172,390,1269,390,1404,390,-1238,405,-1218,405,-1198,405,-1179,405,-1159,405,-1139,405,-1119,405,-1100,405,-1080,405,-1060,405,-1041,405,-1021,405,-1001,405,-981,405,-962,405,-942,405,-922,405,-902,405,-883,405,-863,405,-843,405,-824,405,-804,405,-784,405,-764,405,-745,405,-74,405,-54,405,-34,405,-15,405,5,405,84,405,163,405,202,405,222,405,261,405,301,405,321,405,340,405,360,405,380,405,399,405,419,405,439,405,459,405,478,405,498,405,538,405,557,405,577,405,597,405,616,405,636,405,656,405,676,405,695,405,715,405,735,405,755,405,774,405,794,405,814,405,833,405,853,405,873,405,893,405,912,405,932,405,952,405,972,405,991,405,1011,405,1031,405,1050,405,1070,405,1090,405,1110,405,1129,405,1149,405,1169,405,1189,405,1228,405,1248,405,1267,405,1287,405,1406,405,-1235,420,-1215,420,-1194,420,-1174,420,-1154,420,-1134,420,-1114,420,-1094,420,-1073,420,-1053,420,-1033,420,-1013,420,-993,420,-972,420,-952,420,-932,420,-912,420,-892,420,-872,420,-851,420,-831,420,-811,420,-791,420,-771,420,-750,420,-730,420,-710,420,-84,420,-64,420,-44,420,-24,420,-4,420,17,420,118,420,138,420,198,420,218,420,239,420,259,420,279,420,340,420,420,420,440,420,461,420,481,420,541,420,562,420,582,420,602,420,622,420,642,420,663,420,683,420,703,420,723,420,743,420,763,420,784,420,804,420,824,420,844,420,864,420,885,420,905,420,925,420,945,420,965,420,985,420,1006,420,1026,420,1046,420,1066,420,1086,420,1107,420,1127,420,1147,420,1167,420,1187,420,1207,420,1228,420,1248,420,1268,420,1288,420,1409,420,-1231,435,-1211,435,-1190,435,-1169,435,-1149,435,-1128,435,-1107,435,-1087,435,-1066,435,-1045,435,-1025,435,-1004,435,-983,435,-963,435,-942,435,-921,435,-900,435,-880,435,-859,435,-838,435,-818,435,-797,435,-776,435,-756,435,-735,435,-714,435,-73,435,-53,435,-11,435,9,435,30,435,51,435,113,435,133,435,175,435,196,435,216,435,237,435,258,435,278,435,402,435,423,435,444,435,464,435,526,435,547,435,568,435,588,435,609,435,630,435,650,435,671,435,692,435,712,435,733,435,754,435,775,435,795,435,816,435,837,435,857,435,878,435,899,435,919,435,940,435,961,435,981,435,1002,435,1023,435,1043,435,1064,435,1085,435,1105,435,1126,435,1147,435,1167,435,1188,435,1209,435,1229,435,1250,435,1271,435,1292,435,1312,435,1333,435,1416,435,1436,435,-1227,450,-1206,450,-1185,450,-1164,450,-1142,450,-1121,450,-1100,450,-1079,450,-1058,450,-1036,450,-1015,450,-994,450,-973,450,-951,450,-930,450,-909,450,-888,450,-867,450,-845,450,-824,450,-803,450,-782,450,-761,450,-739,450,-718,450,-697,450,-676,450,-633,450,3,450,24,450,46,450,67,450,88,450,109,450,152,450,173,450,194,450,215,450,236,450,258,450,279,450,343,450,385,450,406,450,427,450,449,450,470,450,533,450,555,450,576,450,597,450,618,450,640,450,661,450,682,450,703,450,724,450,746,450,767,450,788,450,809,450,830,450,852,450,873,450,894,450,915,450,937,450,958,450,979,450,1000,450,1021,450,1043,450,1064,450,1085,450,1106,450,1127,450,1149,450,1170,450,1191,450,1212,450,1233,450,1255,450,1276,450,1297,450,1318,450,1340,450,1361,450,1424,450,-1223,465,-1201,465,-1179,465,-1157,465,-1135,465,-1114,465,-1092,465,-1070,465,-1048,465,-1026,465,-1005,465,-983,465,-961,465,-939,465,-917,465,-896,465,-874,465,-852,465,-830,465,-809,465,-787,465,-765,465,-743,465,-721,465,-700,465,-678,465,-656,465,-634,465,-2,465,20,465,41,465,63,465,85,465,107,465,129,465,150,465,172,465,194,465,216,465,237,465,259,465,281,465,303,465,325,465,346,465,390,465,412,465,434,465,455,465,477,465,543,465,564,465,586,465,608,465,630,465,651,465,673,465,695,465,717,465,739,465,760,465,782,465,804,465,826,465,848,465,869,465,891,465,913,465,935,465,957,465,978,465,1000,465,1022,465,1044,465,1066,465,1087,465,1109,465,1131,465,1153,465,1174,465,1196,465,1218,465,1240,465,1262,465,1283,465,1305,465,1327,465,1349,465,1371,465,-1240,480,-1217,480,-1195,480,-1172,480,-1150,480,-1127,480,-1105,480,-1083,480,-1060,480,-1038,480,-1015,480,-993,480,-971,480,-948,480,-926,480,-903,480,-881,480,-858,480,-836,480,-814,480,-791,480,-769,480,-746,480,-724,480,-702,480,-679,480,-657,480,-589,480,-567,480,-545,480,-29,480,-7,480,16,480,38,480,61,480,83,480,105,480,128,480,150,480,173,480,195,480,218,480,240,480,262,480,285,480,307,480,330,480,352,480,374,480,397,480,419,480,442,480,464,480,487,48
120,509,480,531,480,554,480,576,480,599,480,621,480,643,480,666,480,688,480,711,480,733,480,756,480,778,480,800,480,823,480,845,480,868,480,890,480,912,480,935,480,957,480,980,480,1002,480,1025,480,1047,480,1069,480,1092,480,1114,480,1137,480,1159,480,1181,480,1204,480,1226,480,1249,480,1271,480,1294,480,1316,480,1338,480,1361,480,1383,480,-1257,495,-1234,495,-1211,495,-1188,495,-1165,495,-1142,495,-1119,495,-1096,495,-1072,495,-1049,495,-1026,495,-1003,495,-980,495,-957,495,-934,495,-911,495,-888,495,-865,495,-841,495,-818,495,-795,495,-772,495,-749,495,-726,495,-703,495,-680,495,-634,495,-564,495,13,495,36,495,59,495,82,495,105,495,129,495,152,495,175,495,198,495,221,495,244,495,267,495,290,495,313,495,336,495,360,495,383,495,406,495,429,495,452,495,475,495,498,495,521,495,544,495,567,495,590,495,614,495,637,495,660,495,683,495,706,495,729,495,752,495,775,495,798,495,821,495,845,495,868,495,891,495,914,495,937,495,960,495,983,495,1006,495,1029,495,1052,495,1076,495,1099,495,1122,495,1145,495,1168,495,1191,495,1214,495,1237,495,1260,495,1283,495,1306,495,1330,495,1353,495,1376,495,1399,495,1422,495,-1252,510,-1228,510,-1204,510,-1180,510,-1156,510,-1133,510,-1109,510,-1085,510,-1061,510,-1037,510,-1013,510,-990,510,-966,510,-942,510,-918,510,-894,510,-870,510,-847,510,-823,510,-799,510,-775,510,-751,510,-727,510,-704,510,-680,510,-656,510,-632,510,-608,510,-561,510,-36,510,-12,510,35,510,59,510,83,510,107,510,131,510,154,510,178,510,202,510,226,510,250,510,274,510,298,510,321,510,345,510,369,510,393,510,417,510,441,510,464,510,488,510,512,510,536,510,560,510,584,510,607,510,631,510,655,510,679,510,703,510,727,510,750,510,774,510,798,510,822,510,846,510,870,510,893,510,917,510,941,510,965,510,989,510,1013,510,1036,510,1060,510,1084,510,1108,510,1132,510,1156,510,1179,510,1203,510,1227,510,1251,510,1275,510,1299,510,1322,510,1346,510,1370,510,1394,510,-1320,525,-1270,525,-1246,525,-1221,525,-1196,525,-1172,525,-1147,525,-1122,525,-1098,525,-1073,525,-1048,525,-1024,525,-999,525,-975,525,-950,525,-925,525,-901,525,-876,525,-851,525,-827,525,-777,525,-753,525,-728,525,-704,525,-679,525,-654,525,-630,525,-605,525,-580,525,-88,525,-38,525,-14,525,11,525,60,525,85,525,110,525,134,525,159,525,184,525,208,525,233,525,257,525,282,525,307,525,331,525,356,525,381,525,405,525,430,525,455,525,479,525,504,525,528,525,553,525,578,525,602,525,627,525,652,525,676,525,701,525,726,525,750,525,775,525,800,525,824,525,849,525,873,525,898,525,923,525,947,525,972,525,997,525,1021,525,1046,525,1071,525,1095,525,1120,525,1145,525,1169,525,1194,525,1218,525,1243,525,1268,525,1292,525,1317,525,1342,525,1366,525,1391,525,1563,525,-1290,540,-1264,540,-1239,540,-1213,540,-1188,540,-1162,540,-1136,540,-1111,540,-1085,540,-1060,540,-1034,540,-1009,540,-983,540,-958,540,-932,540,-907,540,-881,540,-856,540,-830,540,-779,540,-754,540,-728,540,-703,540,-677,540,-652,540,-626,540,-601,540,-575,540,-90,540,-65,540,-14,540,88,540,114,540,165,540,191,540,216,540,242,540,267,540,293,540,318,540,344,540,369,540,395,540,420,540,446,540,471,540,497,540,522,540,548,540,573,540,599,540,624,540,650,540,675,540,701,540,726,54
120,752,540,777,540,803,540,829,540,854,540,880,540,905,540,931,540,956,540,982,540,1007,540,1033,540,1058,540,1084,540,1109,540,1135,540,1160,540,1186,540,1211,540,1237,540,1262,540,1288,540,1313,540,1339,540,1364,540,1390,540,1569,540,1594,540,-1310,555,-1284,555,-1257,555,-1231,555,-1204,555,-1178,555,-1151,555,-1125,555,-1098,555,-1072,555,-1045,555,-1019,555,-992,555,-966,555,-939,555,-913,555,-886,555,-860,555,-754,555,-727,555,-701,555,-674,555,-648,555,-622,555,-39,555,94,555,120,555,226,555,252,555,279,555,305,555,332,555,358,555,385,555,411,555,438,555,464,555,491,555,517,555,544,555,570,555,597,555,623,555,650,555,676,555,703,555,729,555,756,555,782,555,809,555,835,555,862,555,888,555,914,555,941,555,967,555,994,555,1020,555,1047,555,1073,555,1100,555,1126,555,1153,555,1179,555,1206,555,1232,555,1259,555,1285,555,1312,555,1338,555,1577,555,1603,555,-1580,570,-1332,570,-1304,570,-1277,570,-1249,570,-1222,570,-1194,570,-1167,570,-1139,570,-1111,570,-1084,570,-1056,570,-1029,570,-1001,570,-974,570,-946,570,-919,570,-753,570,-726,570,-698,570,-671,570,-643,570,-616,570,-37,570,100,570,128,570,155,570,238,570,266,570,293,570,321,570,348,570,376,570,403,570,431,570,458,570,486,570,513,570,541,570,569,570,596,570,624,570,651,570,679,570,706,570,734,570,761,570,789,570,816,570,844,570,871,570,899,570,927,570,954,570,982,570,1009,570,1037,570,1064,570,1092,570,1119,570,1147,570,1174,570,1202,570,1230,570,1257,570,1285,570,1312,570,1340,570,1367,570,1588,570,1615,570,-1556,585,-1355,585,-1326,585,-1298,585,-1269,585,-1240,585,-1211,585,-1183,585,-1154,585,-1125,585,-1097,585,-1068,585,-1039,585,-1011,585,-982,585,-953,585,-752,585,-723,585,-695,585,-666,585,-637,585,-34,585,80,585,138,585,167,585,253,585,281,585,310,585,339,585,367,585,396,585,425,585,454,585,482,585,511,585,540,585,568,585,597,585,626,585,655,585,683,585,712,585,741,585,769,585,798,585,827,585,856,585,884,585,913,585,942,585,970,585,999,585,1028,585,1056,585,1085,585,1114,585,1143,585,1171,585,1200,585,1229,585,1257,585,1286,585,1315,585,1344,585,1372,585,1401,585,1602,585,-1620,600,-1590,600,-1560,600,-1530,600,-1500,600,-1410,600,-1380,600,-1350,600,-1320,600,-1290,600,-1260,600,-1230,600,-1200,600,-1170,600,-1140,600,-1110,600,-1080,600,-1050,600,-1020,600,-990,600,-960,600,-750,600,-720,600,60,600,90,600,120,600,150,600,180,600,240,600,300,600,330,600,360,600,390,600,420,600,450,600,480,600,510,600,540,600,570,600,600,600,630,600,660,600,690,600,720,600,750,600,780,600,810,600,840,600,870,600,900,600,930,600,960,600,990,600,1020,600,1050,600,1080,600,1110,600,1140,600,1170,600,1200,600,1230,600,1260,600,1290,600,1320,600,1350,600,1380,600,1410,600,1440,600,1470,600,1500,600,1530,600,1620,600,1650,600,-1659,615,-1627,615,-1596,615,-1564,615,-1533,615,-1501,615,-1470,615,-1438,615,-1407,615,-1376,615,-1344,615,-1313,615,-1281,615,-1250,615,-1218,615,-1187,615,-1156,615,-1124,615,-1093,615,-1061,615,-1030,615,-998,615,-967,615,-778,615,-747,615,-464,615,-433,615,70,615,102,615,133,615,165,615,228,615,259,615,290,615,322,615,353,615,385,615,416,615,448,615,479,615,511,615,542,615,573,615,605,615,636,615,668,615,699,615,731,615,762,615,793,615,825,615,856,615,888,615,919,615,951,615,982,615,1014,615,1045,615,1076,615,1108,615,1139,615,1171,615,1202,615,1234,615,1265,615,1296,615,1328,615,1359,615,1391,615,1422,615,1454,615,1485,615,1517,615,1548,615,1611,615,1642,615,1674,615,1705,615,-1635,630,-1602,630,-1569,630,-1536,630,-1503,630,-1470,630,-1437,630,-1404,630,-1370,630,-1337,630,-1304,630,-1271,630,-1238,630,-1205,630,-1172,630,-1139,630,-1106,630,-1073,630,-1040,630,-1007,630,-974,630,-941,630,-908,630,-710,630,-677,630,-478,630,-445,630,83,630,116,630,149,630,182,630,215,630,249,630,282,630,315,630,348,630,381,630,414,630,447,630,480,630,513,630,546,630,579,630,612,630,645,630,678,630,711,630,744,630,777,630,810,630,843,630,876,630,909,630,942,630,975,630,1008,630,1041,630,1075,630,1108,630,1141,630,1174,630,1207,630,1240,630,1273,630,1306,630,1339,630,1372,630,1405,630,1438,630,1471,630,1504,630,1537,630,1570,630,1603,630,1636,630,1669,630,1702,630,1735,630,1768,630,-1643,645,-1608,645,-1574,645,-1539,645,-1504,645,-1469,645,-1434,645,-1399,645,-1364,645,-1330,645,-1295,645,-1260,645,-1225,645,-1190,645,-1155,645,-1121,645,-1086,645,-1051,645,-1016,645,-981,645,-946,645,-912,645,-842,645,-772,645,-737,645,-702,645,-668,645,-493,645,-459,645,-424,645,-215,645,-180,645,134,645,169,645,203,645,273,645,308,645,343,645,378,645,412,645,447,645,482,645,517,645,552,645,587,645,622,645,656,645,691,645,726,645,761,645,796,645,831,645,865,645,900,645,935,645,970,645,1005,645,1040,645,1074,645,1109,645,1144,645,1179,645,1214,645,1249,645,1284,645,1318,645,1353,645,1388,645,1423,645,1458,645,1493,645,1527,645,1562,645,1597,645,1632,645,1667,645,1702,645,1736,645,1771,645,-1800,660,-1763,660,-1726,660,-1652,660,-1616,660,-1579,660,-1542,660,-1505,660,-1468,660,-1431,660,-1394,660,-1357,660,-1321,660,-1284,660,-1247,660,-1210,660,-1173,660,-1136,660,-1099,660,-1062,660,-1026,660,-989,660,-952,660,-915,660,-878,660,-731,660,-694,660,-657,660,-509,660,-472,660,-435,660,-399,660,-214,660,-177,660,155,660,191,660,228,660,265,660,302,660,339,660,413,660,450,660,486,660,523,660,560,660,597,660,634,660,671,660,708,660,745,660,782,660,818,660,855,660,892,660,929,660,966,660,
121003,660,1040,660,1077,660,1113,660,1150,660,1187,660,1224,660,1261,660,1298,660,1335,660,1372,660,1408,660,1445,660,1482,660,1519,660,1556,660,1593,660,1630,660,1667,660,1703,660,1740,660,1777,660,-1780,675,-1624,675,-1584,675,-1545,675,-1506,675,-1467,675,-1428,675,-1388,675,-1349,675,-1310,675,-1271,675,-1232,675,-1192,675,-1153,675,-1114,675,-1075,675,-1036,675,-996,675,-957,675,-918,675,-879,675,-840,675,-761,675,-722,675,-683,675,-644,675,-526,675,-487,675,-448,675,-409,675,-369,675,179,675,219,675,258,675,297,675,336,675,375,675,454,675,493,675,532,675,571,675,611,675,650,675,689,675,728,675,767,675,807,675,846,675,885,675,924,675,963,675,1003,675,1042,675,1081,675,1120,675,1159,675,1199,675,1238,675,1277,675,1316,675,1355,675,1395,675,1434,675,1473,675,1512,675,1551,675,1591,675,1630,675,1669,675,1708,675,1747,675,1787,675,-1633,690,-1591,690,-1549,690,-1507,690,-1465,690,-1423,690,-1381,690,-1340,690,-1298,690,-1256,690,-1214,690,-1130,690,-1088,690,-1047,690,-963,690,-921,690,-837,690,-754,690,-712,690,-502,690,-461,690,-419,690,-377,690,-335,690,-293,690,209,690,251,690,293,690,335,690,628,690,711,690,753,690,795,690,837,690,879,690,921,690,963,690,1004,690,1046,690,1088,690,1130,690,1172,690,1214,690,1256,690,1297,690,1339,690,1381,690,1423,690,1465,690,1507,690,1549,690,1590,690,1632,690,1674,690,1716,690,1758,690,-1598,705,-1553,705,-1103,705,-1059,705,-924,705,-879,705,-834,705,-789,705,-744,705,-699,705,-519,705,-474,705,-429,705,-385,705,-340,705,-295,705,245,705,290,705,694,705,784,705,829,705,874,705,919,705,964,705,1009,705,1053,705,1098,705,1143,705,1188,705,1233,705,1278,705,1323,705,1368,705,1413,705,1458,705,1503,705,1548,705,1593,705,-1218,720,-1169,720,-1120,720,-1072,720,-975,720,-878,720,-829,720,-781,720,-538,720,-489,720,-441,720,-392,720,-344,720,-295,720,-247,720,530,720,724,720,773,720,821,720,870,720,918,720,967,720,1015,720,1064,720,1112,720,1161,720,1210,720,1258,720,1404,720,1452,720,-1193,735,-981,735,-929,735,-876,735,-823,735,-559,735,-506,735,-453,735,-400,735,-348,735,-295,735,-242,735,550,735,814,735,867,735,920,735,973,735,1026,735,1078,735,1131,735,1184,735,1237,735,-1105,750,-989,750,-873,750,-815,750,-525,750,-467,750,-409,750,-351,750,-293,750,-235,750,576,750,924,750,982,750,1040,750,1098,750,1388,750,1503,750,-1190,765,-997,765,-933,765,-868,765,-804,765,-676,765,-611,765,-547,765,-483,765,-419,765,-354,765,-290,765,-226,765,674,765,1059,765,-1006,780,-790,780,-718,780,-646,780,-574,780,-501,780,-429,780,-357,780,-285,780,-213,780,148,780,220,780,-936,795,-853,795,-771,795,-606,795,-524,795,-442,795,-360,795,-277,795,-195,795,134,795,217,795,957,795,-937,810,-841,810,-745,810,-553,810,-458,810,-362,810,-266,810,-170,810,-850,825,-750,825,-650,825,-450,825,-350,825,-250,825";let ct=null;function ar(){if(ct)return ct;const t=sr.split(","),s=new Float32Array(t.length);for(let a=0;a<t.length;a+=1)s[a]=Number(t[a])/10;return ct=s,s}const De="KZ1_04-12",Fe="KZ2_21-03",rr="OUTSIDE";function ir(){const t=Number(new Intl.DateTimeFormat("en-GB",{hour:"2-digit",hour12:!1,timeZone:"Asia/Bangkok"}).format(new Date));return Number.isFinite(t)?Math.max(0,Math.min(23,Math.floor(t))):0}function qe(t){const s=(Math.floor(t)%24+24)%24;return`${String(s).padStart(2,"0")}:00`}function lr(t){return t>=4&&t<=12||t>=21||t<=3}function fs(t){return t>=4&&t<=12?De:t>=21||t<=3?Fe:rr}function bs(t){return t===De?"KZ1 04:00-12:59 BKK":t===Fe?"KZ2 21:00-03:59 BKK":"OUTSIDE KILLZONE"}function nr(t,s){const a=(Math.floor(t)%24+24)%24,r=(Math.floor(s)%24+24)%24,l=a===r?24:(r-a+24)%24,n={[De]:0,[Fe]:0};for(let c=0;c<l;c+=1){const d=fs((a+c)%24);d in n&&(n[d]+=1)}const o=n[De]>=n[Fe]?De:Fe;return n[o]<1?null:{window:o,label:bs(o),overlapHours:n[o]}}const bt=[{key:"sydney",lon:151.21,lat:-33.87,en:"Sydney",flag:"/flags/au.svg"},{key:"tokyo",lon:139.69,lat:35.68,en:"Tokyo",flag:"/flags/jp.svg"},{key:"london",lon:-.13,lat:51.51,en:"London",flag:"/flags/gb.svg"},{key:"newyork",lon:-74.01,lat:40.71,en:"New York",flag:"/flags/us.svg"}],dt=Math.PI/180;function Ot(t,s,a,r){const l=(t-a)*dt,n=s*dt,o=r*dt,c=Math.cos(n),d=c*
12Math.sin(l),u=Math.cos(o)*Math.sin(n)-Math.sin(o)*c*Math.cos(l),x=Math.sin(o)*Math.sin(n)+Math.cos(o)*c*Math.cos(l);return{x:d,y:-u,z:x}}function or(t){const s=t.filter(a=>a.open);return s.length>0?s.reduce((a,r)=>r.openAt>a.openAt?r:a).key:t.reduce((a,r)=>r.openAt<a.openAt?r:a).key}function ys(t,s){const a=Math.max(0,Math.round(t/6e4)),r=Math.floor(a/1440),l=Math.floor(a%1440/60),n=a%60;return r>0?s==="th"?`${r} วัน ${l} ชม.`:`${r}d ${l}h`:l>0?s==="th"?`${l} ชม. ${n} น.`:`${l}h ${n}m`:s==="th"?`${n} น.`:`${n}m`}function Xe(t){return((t+180)%360+360)%360-180}const gs=90,Je=72;function cr(t,s,a,r,l){const n=gs/Math.max(1,l);return{lon:Xe(t-a*n),lat:Math.max(-Je,Math.min(Je,s+r*n))}}const dr=200;function xr(t,s,a){if(t.length===0||!(a>s))return null;const r=new Map;for(const d of t)r.set(d.utc_hour,d);const l=new Set;let n=0,o=0,c=0;for(let d=s;d<a;d+=36e5){const u=new Date(d).getUTCHours();if(l.has(u))continue;l.add(u);const x=r.get(u);!x||!(x.n>0)||!Number.isFinite(x.vol_x)||!Number.isFinite(x.pct_done_1h)||(n+=x.n,o+=x.vol_x*x.n,c+=x.pct_done_1h*x.n)}return n<dr?null:{n,volX:o/n,pctDone1h:c/n}}const Dt=t=>(t<10?"0":"")+t;function Ft(t,s,a=[]){return as.map(r=>{var u;const l=rs(r,t),n=nt(t,r.tz),o=bt.find(x=>x.key===r.key),c=nt(l.openAt,"Asia/Bangkok").hour,d=nt(l.closeAt,"Asia/Bangkok").hour;return{key:r.key,label:s==="th"?r.label:(o==null?void 0:o.en)??r.label,flag:(o==null?void 0:o.flag)??"",open:l.open,countdownMs:Math.max(0,l.nextChangeAt-t),localTime:`${Dt(n.hour)}:${Dt(n.minute)}`,windowThai:l.windowThai,killzone:((u=nr(c,d))==null?void 0:u.label)??null,stats:xr(a,l.openAt,l.closeAt)}})}function mr(t){if(!Array.isArray(t))return[];const s=[];for(const a of t){const r={utc_hour:Number(a==null?void 0:a.utc_hour),n:Number(a==null?void 0:a.n),vol_x:Number(a==null?void 0:a.vol_x),pct_done_1h:Number(a==null?void 0:a.pct_done_1h)};Number.isInteger(r.utc_hour)&&r.utc_hour>=0&&r.utc_hour<=23&&Number.isFinite(r.n)&&s.push(r)}return s}const $t={tokyo:{style:{left:"1%",top:"8%"},side:"left"},sydney:{style:{left:"1%",top:"58%"},side:"left"},london:{style:{right:"1%",top:"8%"},side:"right"},newyork:{style:{right:"1%",top:"58%"},side:"right"}},Vt=3e4,Me=16,hr=22,pr=14e3,Bt=6e3,ur=.94,fr=.41,br=.44;let Pe=null;function yr(){if(Pe)return Pe;const t=(async()=>{try{const{data:s,error:a}=await ce.rpc("get_session_hour_profile");return a?[]:mr(s)}catch{return[]}})();return Pe=t,t.then(s=>{s.length===0&&Pe===t&&(Pe=null)}),t}function gr({lang:t,t:s}){const a=p.useRef(null),r=p.useRef(null),l=p.useRef({sydney:null,tokyo:null,london:null,newyork:null}),[n,o]=p.useState([]),[c,d]=p.useState(()=>Ft(Date.now(),t)),[u,x]=p.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(min-width: 768px)").matches:!0),[b,w]=p.useState(!1),A=p.useRef(c);A.current=c;const k=p.useRef(u);k.current=u;const P=p.useRef({rotLon:0,rotLat:Me,targetLon:0,velLon:0,velLat:0,dragging:!1,pointerId:null,startX:0,startY:0,startLon:0,startLat:Me,lastX:0,lastY:0,lastMoveT:0,lastInputAt:-1/0,radiusPx:200}),y=p.useRef(null);p.useEffect(()=>{let h=!1;return yr().then(g=>{!h&&g.length>0&&o(g)}),()=>{h=!0}},[]),p.useEffect(()=>{const h=()=>{typeof document<"u"&&document.hidden||d(Ft(Date.now(),t,n))};h();const g=window.setInterval(h,Vt);return document.addEventListener("visibilitychange",h),()=>{window.clearInterval(g),document.removeEventListener("visibilitychange",h)}},[t,n]),p.useEffect(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;const h=window.matchMedia("(min-width: 768px)"),g=()=>x(h.matches);return g(),typeof h.addEventListener=="function"?h.addEventListener("change",g):h.addListener(g),window.addEventListener("resize",g),()=>{typeof h.removeEventListener=="function"?h.removeEventListener("change",g):h.removeListener(g),window.removeEventListener("resize",g)}},[]),p.useEffect(()=>{const h=a.current,g=r.current;if(!h||!g)return;const _=g.getContext("2d");if(!_)return;const H=typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,G=ar(),M=P.current;let X=0,ne=0,R=1,O=0,J=!0,D=0,se=0;const Y=()=>{var F;const $=as.map(E=>rs(E,Date.now())),V=or($);return((F=bt.find(E=>E.key===V))==null?void 0:F.lon)??0};
12M.targetLon=Y(),M.rotLon=M.targetLon,M.rotLat=Me;const U=()=>Math.min(X,ne)*(k.current?fr:br),L=()=>{const $=h.getBoundingClientRect();X=Math.max(1,Math.round($.width)),ne=Math.max(1,Math.round($.height)),R=Math.min(2,window.devicePixelRatio||1),g.width=Math.round(X*R),g.height=Math.round(ne*R),g.style.width=`${X}px`,g.style.height=`${ne}px`,_.setTransform(R,0,0,R,0,0),M.radiusPx=U()},Z=$=>{const V=X/2,F=ne/2,E=U();M.radiusPx=E,_.clearRect(0,0,X,ne);const he=_.createRadialGradient(V,F,E*.92,V,F,E*1.22);he.addColorStop(0,"rgba(34,211,238,0.14)"),he.addColorStop(.55,"rgba(34,211,238,0.04)"),he.addColorStop(1,"rgba(34,211,238,0)"),_.fillStyle=he,_.beginPath(),_.arc(V,F,E*1.22,0,Math.PI*2),_.fill();const Ae=_.createRadialGradient(V-E*.35,F-E*.4,E*.1,V,F,E);Ae.addColorStop(0,"rgba(30,41,59,1)"),Ae.addColorStop(.7,"rgba(8,15,32,1)"),Ae.addColorStop(1,"rgba(2,6,23,1)"),_.fillStyle=Ae,_.beginPath(),_.arc(V,F,E,0,Math.PI*2),_.fill(),_.strokeStyle="rgba(103,232,249,0.28)",_.lineWidth=1,_.stroke();const He=[[],[],[],[],[],[]],B=M.rotLon,Ue=M.rotLat;for(let te=0;te<G.length;te+=2){const ae=Ot(G[te],G[te+1],B,Ue);if(ae.z<=.02)continue;const de=Math.min(5,Math.floor(ae.z*6));He[de].push(V+ae.x*E,F+ae.y*E)}const rt=E/300;for(let te=0;te<6;te+=1){const ae=He[te];if(ae.length===0)continue;const de=(te+.5)/6,je=.16+.74*de,Ce=(.75+.95*de)*rt;_.fillStyle=`rgba(103,232,249,${je.toFixed(3)})`,_.beginPath();for(let fe=0;fe<ae.length;fe+=2)_.moveTo(ae[fe]+Ce,ae[fe+1]),_.arc(ae[fe],ae[fe+1],Ce,0,Math.PI*2);_.fill()}const ye=h.getBoundingClientRect(),_t=H?.5:.5+.5*Math.sin($/600);for(const te of bt){const ae=Ot(te.lon,te.lat,B,Ue);if(ae.z<=0)continue;const de=V+ae.x*E,je=F+ae.y*E,Ce=A.current.find(Ge=>Ge.key===te.key),fe=(Ce==null?void 0:Ce.open)??!1,it=Math.min(1,ae.z*1.4),At=fe?"52,211,153":"148,163,184";if(k.current){const Ge=l.current[te.key];if(Ge){const Ye=Ge.getBoundingClientRect(),Ct=($t[te.key].side==="left"?Ye.right:Ye.left)-ye.left,It=Ye.top+Ye.height/2-ye.top,ks=(Ct+de)/2;_.strokeStyle=`rgba(103,232,249,${(.55*it).toFixed(3)})`,_.lineWidth=1,_.beginPath(),_.moveTo(Ct,It),_.quadraticCurveTo(ks,It,de,je),_.stroke()}}_.beginPath(),_.arc(de,je,4+(fe?6*_t:3),0,Math.PI*2),_.strokeStyle=`rgba(${At},${(.35*it).toFixed(3)})`,_.lineWidth=1.2,_.stroke(),_.beginPath(),_.arc(de,je,3.4,0,Math.PI*2),_.fillStyle=`rgba(${At},${(.5+.5*it).toFixed(3)})`,_.fill()}};y.current=()=>Z(performance.now());const me=$=>{if(!J)return;D||(D=$);const V=se?Math.min(50,$-se):16;if(se=$,!M.dragging){const F=$-M.lastInputAt;if(Math.abs(M.velLon)>5e-4||Math.abs(M.velLat)>5e-4){M.rotLon=Xe(M.rotLon+M.velLon*V),M.rotLat=Math.max(-Je,Math.min(Je,M.rotLat+M.velLat*V));const E=Math.pow(ur,V/16);M.velLon*=E,M.velLat*=E}else if(F>Bt){const E=hr*Math.sin(($-D)/pr*Math.PI*2),he=M.targetLon+E;M.rotLon=Xe(M.rotLon+Xe(he-M.rotLon)*.03),M.rotLat+=(Me-M.rotLat)*.03}}Z($),O=window.requestAnimationFrame(me)},f=()=>{if(H){Z(performance.now());return}Z(performance.now()),window.cancelAnimationFrame(O),se=0,O=window.requestAnimationFrame(me)},N=()=>{M.targetLon=Y(),H&&!M.dragging&&performance.now()-M.lastInputAt>Bt&&(M.rotLon=M.targetLon,M.rotLat=Me,Z(performance.now()))},Q=window.setInterval(N,Vt);let K=null;typeof ResizeObserver=="function"?(K=new ResizeObserver(()=>{L(),H&&Z(performance.now())}),K.observe(h)):window.addEventListener("resize",L),L();let ee=null;return typeof IntersectionObserver=="function"&&(ee=new IntersectionObserver($=>{const V=$.some(F=>F.isIntersecting);V!==J&&(J=V,J?f():window.cancelAnimationFrame(O))},{threshold:.05}),ee.observe(h)),f(),()=>{J=!1,y.current=null,window.cancelAnimationFrame(O),window.clearInterval(Q),K==null||K.disconnect(),ee==null||ee.disconnect(),window.removeEventListener("resize",L)}},[]);const S=h=>{if(h.button!==0&&h.pointerType==="mouse")return;const g=P.current;g.dragging=!0,g.pointerId=h.pointerId,g.startX=h.clientX,g.startY=h.clientY,g.startLon=g.rotLon,g.startLat=g.rotLat,g.lastX=h.clientX,g.lastY=h.clientY,g.lastMoveT=performance.now(),g.velLon=0,g.velLat=0,g.lastInputAt=g.lastMoveT;try{h.currentTarget.setPointerCapture(h.pointerId)}catch{}b||w(!0)},T=h=>{var X;const g=P.current;if(!g.dragging||g.pointerId!==h.pointerId)return;const _=performance.now(),H=cr(g.startLon,g.startLat,h.clientX-g.startX,h.clientY-g.startY,g.radiusPx),G=Math.max(1,_-g.lastMoveT),M=gs/Math.max(1,g.radiu
12sPx);g.velLon=.5*g.velLon+.5*(-(h.clientX-g.lastX)*M)/G,g.velLat=.5*g.velLat+.5*((h.clientY-g.lastY)*M)/G,g.rotLon=H.lon,g.rotLat=H.lat,g.lastX=h.clientX,g.lastY=h.clientY,g.lastMoveT=_,g.lastInputAt=_,(X=y.current)==null||X.call(y)},j=h=>{const g=P.current;if(!(!g.dragging||g.pointerId!==h.pointerId)){g.dragging=!1,g.pointerId=null,g.lastInputAt=performance.now(),performance.now()-g.lastMoveT>80&&(g.velLon=0,g.velLat=0);try{h.currentTarget.releasePointerCapture(h.pointerId)}catch{}}},I=s("ความแรง = ขนาดการเคลื่อนไหวเฉลี่ยเทียบกับค่าเฉลี่ยของสินทรัพย์นั้นเอง (×1.00 = ปกติ) · จบใน 1 ชม. = สัดส่วนสัญญาณที่ถึง TP หรือ SL ภายใน 60 นาที · n = จำนวนสัญญาณที่ปิดแล้วในชั่วโมงของ session นี้ · ไม่ใช่อัตราชนะ","Strength = average move size vs that asset's own average (×1.00 = normal) · done in 1h = share of signals hitting TP or SL within 60 min · n = settled signals in this session's hours · not a win rate"),W=h=>e.jsxs("div",{ref:g=>{l.current[h.key]=g},style:u?$t[h.key].style:void 0,className:`${u?"absolute w-[184px] lg:w-[204px]":"w-full"} select-none rounded-2xl border border-cyan-300/15 bg-slate-950/85 px-3.5 py-3 shadow-[0_18px_40px_-18px_rgba(0,0,0,0.85)] backdrop-blur-md`,children:[e.jsxs("div",{className:"flex items-center justify-between gap-2 text-[10px] font-bold uppercase tracking-[0.22em] text-slate-400",children:[e.jsxs("span",{className:"flex min-w-0 items-center gap-2",children:[h.flag&&e.jsx("img",{src:h.flag,alt:"",width:24,height:16,loading:"lazy",decoding:"async",className:"h-4 w-6 flex-shrink-0 rounded-[3px] object-cover ring-1 ring-white/15"}),e.jsx("span",{className:"truncate",children:h.label})]}),e.jsxs("span",{className:`inline-flex flex-shrink-0 items-center gap-1 ${h.open?"text-emerald-300":"text-slate-500"}`,children:[e.jsx("span",{className:`h-1.5 w-1.5 rounded-full ${h.open?"bg-emerald-400 shadow-[0_0_8px_rgba(52,211,153,0.9)]":"bg-slate-600"}`}),h.open?s("เปิดอยู่","Open"):s("ปิด","Closed")]})]}),e.jsxs("div",{className:"mt-1 text-xl font-bold tabular-nums text-white",children:[h.localTime,e.jsx("span",{className:"ml-1.5 text-[11px] font-medium text-slate-400",children:s("เวลาท้องถิ่น","local")})]}),e.jsxs("div",{className:"mt-0.5 text-xs text-slate-300",children:[h.open?s("ปิดในอีก","closes in"):s("เปิดในอีก","opens in")," ",e.jsx("b",{className:"font-semibold text-cyan-200",children:ys(h.countdownMs,t)})]}),e.jsxs("div",{className:"mt-1 text-[10px] text-slate-500",children:[h.windowThai," ",s("ตามเวลาไทย","Bangkok time")]}),(h.killzone||h.stats)&&e.jsxs("div",{className:"mt-2 border-t border-white/10 pt-2",title:I,children:[h.killzone&&e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full border border-cyan-300/25 bg-cyan-400/10 px-2 py-0.5 text-[9px] font-bold uppercase tracking-[0.16em] text-cyan-200",children:[e.jsx("span",{className:"h-1 w-1 rounded-full bg-cyan-300"}),h.killzone.replace(/ BKK$/,"")]}),h.stats&&e.jsxs("div",{className:`${h.killzone?"mt-1.5":""} text-[10px] leading-relaxed text-slate-400 tabular-nums`,children:[s("แรง","vol")," ",e.jsxs("b",{className:"font-semibold text-slate-200",children:["×",h.stats.volX.toFixed(2)]})," · ",s("จบใน 1 ชม.","done <1h")," ",e.jsxs("b",{className:"font-semibold text-slate-200",children:[h.stats.pctDone1h.toFixed(0),"%"]})," · ","n ",e.jsx("b",{className:"font-semibold text-slate-200",children:h.stats.n.toLocaleString()})]})]})]},h.key);return e.jsxs("div",{className:"mx-auto w-full max-w-[960px]",children:[e.jsxs("div",{ref:a,className:"relative aspect-square w-full cursor-grab select-none active:cursor-grabbing",style:{touchAction:"pan-y"},onPointerDown:S,onPointerMove:T,onPointerUp:j,onPointerCancel:j,onLostPointerCapture:j,children:[e.jsx("canvas",{ref:r,className:"absolute inset-0 h-full w-full","aria-hidden":"true"}),u&&c.map(W),e.jsx("div",{"aria-hidden":"true",className:`pointer-events-none absolute bottom-[3%] left-1/2 -translate-x-1/2 roun
12ded-full border border-cyan-300/15 bg-slate-950/70 px-3 py-1 text-[11px] text-slate-400 backdrop-blur transition-opacity duration-700 ${b?"opacity-0":"opacity-100"}`,children:s("ลากเพื่อหมุนลูกโลก","Drag to spin the globe")})]}),!u&&e.jsx("div",{className:"mt-2 grid grid-cols-2 gap-3",children:c.map(W)})]})}const ws=50,wr=6e4;let ge=null;function vs(t=!1){if(!t&&ge&&Date.now()-ge.at<wr)return ge.promise;const s=qs(ws);return ge={at:Date.now(),promise:s},s.catch(()=>{(ge==null?void 0:ge.promise)===s&&(ge=null)}),s}const et=["friendly-owl","charming-fox","joyful-panda","adorable-penguin","cheeky-raccoon","quirky-octopus","cute-dog","adorable-cat","bouncy-kangaroo","cartoonish-robot","cheerful-parrot","cheerful-unicorn","cuddly-sloth","curious-ferret","curious-squirrel","energetic-dolphin","friendly-fish","friendly-polar-bear","giggly-giraffe","happy-bunny","happy-seal","jolly-frog","lazy-koala","playful-hamster","playful-monkey","smiling-elephant","smiling-turtle","sweet-hedgehog","tiny-mouse","colorful-butterfly"].map(t=>`/avatars/3d/mascot-${t}.webp`);function vr(t){let s=2166136261;for(let a=0;a<t.length;a+=1)s^=t.charCodeAt(a),s=Math.imul(s,16777619);return s>>>0}function jr(t){if(!t)return{src:null,emoji:null};const s=t.trim();return s?s.startsWith("/")||s.startsWith("http://")||s.startsWith("https://")||s.startsWith("data:")?{src:s,emoji:null}:[...s].length<=2?{src:null,emoji:s}:{src:null,emoji:null}:{src:null,emoji:null}}function zt(t,s){const{src:a,emoji:r}=jr(t.avatar),l={id:`${s}-${t.id}`,kind:s,label:t.label??null,inside:!0};return a||r?{...l,src:a,emoji:r}:{...l,src:et[vr(t.id)%et.length],emoji:null}}function Nr(t,s,a,r=null){const l=new Set,n=[];for(const w of t)!w.id||l.has(w.id)||(l.add(w.id),n.push(zt(w,"online")));for(const w of s)!w.id||l.has(w.id)||(l.add(w.id),n.push(zt(w,"weekly")));const o=Math.max(0,a),c=r&&r.length===o?r:null,d=[];for(let w=0;w<o;w+=1)d.push({id:`ghost-${w}`,kind:"ghost",src:et[(w*7+3)%et.length],emoji:null,label:null,inside:c?c[w]:!0});const u=[];for(let w=0;w<o;w+=1)(!c||c[w])&&u.push(w);if(u.length===0)return d;const x=n.slice(0,u.length),b=new Set;return x.forEach((w,A)=>{let k=Math.min(u.length-1,Math.floor((A+.5)*u.length/x.length));for(;b.has(k);)k=(k+1)%u.length;b.add(k),d[u[k]]={...w,inside:!0}}),d}const xt=new Map;function kr(t,s){const a=t.slice();for(let r=0;r<t.length;r+=1){if(!t[r])continue;const l=Math.floor(r/s),n=r%s;n>0&&(a[r-1]=!0),n<s-1&&(a[r+1]=!0),l>0&&(a[r-s]=!0),l<s-1&&(a[r+s]=!0)}return a}function Sr(t){const s=xt.get(t);if(s)return s;const a=(async()=>{try{const r=await fetch("/icon.svg");if(!r.ok)return null;const l=await r.text();if(!/<svg[\s>]/.test(l))return null;const n=l.replace(/<!--[\s\S]*?-->/g,"").replace(/<rect[^>]*\/>/g,"").replace(/<svg\b/,'<svg width="1000" height="1000"'),o=new Image;o.decoding="async",await new Promise((A,k)=>{o.onload=()=>A(),o.onerror=()=>k(new Error("icon.svg did not decode")),o.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(n)}`});const c=document.createElement("canvas");c.width=t,c.height=t;const d=c.getContext("2d");if(!d)return null;d.drawImage(o,0,0,t,t);const{data:u}=d.getImageData(0,0,t,t),x=[];for(let A=0;A<t*t;A+=1)x.push(u[A*4+3]>24);const b=kr(x,t),w=b.reduce((A,k)=>A+(k?1:0),0);return w>t&&w<b.length-t?b:null}catch{return null}})();return xt.set(t,a),a.then(r=>{r||xt.delete(t)}),a}const _r=6e4;function Ar(t,s){const a=Math.max(0,Math.round(t));if(a<3600)return s==="th"?`${Math.round(a/60)} นาที`:`${Math.round(a/60)}m`;const r=a/3600,l=r>=10?Math.round(r):Math.round(r*10)/10;return s==="th"?`${l} ชม.`:`${l}h`}const js=.015,Wt=new Map;function Cr(t){const s=Wt.get(t);if(s)return s;const a=new Promise(r=>{const l=new Image;l.decoding="async",l.onload=()=>r(l),l.onerror=()=>r(null),l.src=t});return Wt.set(t,a),a}async function Ir(t,s,a,r){const l=t.getContext("2d");if(!l||r<=0)return;const n=Array.from(new Set(s.filter(T=>T.kind==="ghost"&&T.src).map(T=>T.src))),o=await Promise.all(n.map(Cr)),c=new Map;n.forEach((T,j)=>{const I=o[j];I&&c.set(T,I)});const d=Math.min(2,typeof window<"u"&&window.devicePixelRatio||1);t.width=Math.round(r*d),t.height=Math.round(r*d),l.setTransform(d,0,0,d,0,0),l.clearRect(0,0,r,r);const u=js*r,x=(r-u*(a-1))/a,b=x*.2,w=typeof l.roundRect=="function",A=(T,j)=>{l.beginPath(),w?l.roundRect(T,j,x,x,b):l.rect(T,j,x,x)};for(let T=0;T<s.length;T+=1){const j=s[T];if(j.kind!=="ghost")continue;const I=T%a,W=Math.floor(T/a),h=I*(x+u),g=W*(x+u),_=j.inside;l.globalAlpha=1,l.fillStyle=_?"rgba(30,41,59,0.55)":"rgba(30,41,59,0.28)",A(h,g),l.fill();const H=j.src?c.get(j.src):void 0;if(H){const G=x*.06;l.globalAlpha=_?.62:.16,l.drawImage(H,h+G,g+G,x-G*2,x-G*2)}}l.globalAlpha=1;const k=r/2,P=r*.45,y=l.createRadialGradient(k,P,0,k,P,r*.62);y.addColorStop(0,"rgba(34,211,238,0.14)"),y.addColorStop(1,"rgba(34,211,238,0)"),l.globalCompositeOperation="lighter",l.fillStyle=y,l.fillRect(0,0,r,r),l.globalCompositeOperation="source-over";const S=l.createRadialGradient(k,P,r*.4,k,P,r*.88);S.addColorStop(0,"rgba(2,6,23,0)"),S.addColorStop(1,"rgba(2,6,23,0.62)"),l.fillStyle=S,l.fillRect(0,0,r,r)}function Tr({columns:t=24,onOnlineCount:s,t:a,lang:r,className:l}){const[n,o]=p.useState([]),[c,d]=p.useState([]),[u,x]=p.useState(null),[b,w]=p.useState(null),A=p.useRef(null),k=p.useRef(null),P=p.useRef(s);P.current=s;const y=p.useRef(a);y.current=a;const S=p.useRef(r);S.current=r,p.useEffect(()=>{let h=!1;return Sr(t).then(g=>{h||x(g)}),()=>{h=!0}},[t]),p.useEffect(()=>{let h=!1;const g=async(G=!1)=>{var J;if(!G&&typeof document<"u"&&document.hidden)return;const[M,X,ne]=await Promise.all([_s().catch(()=>[]),As().catch(()=>0),vs(!G).catch(()=>null)]);if(h)return;const R=y.current,O=S.current;o(M.map(D=>
12({id:D.device_id||D.user_id,avatar:D.avatar??null,label:R("ออนไลน์ตอนนี้","Online now")+(D.tier==="vip"?R(" · สมาชิก VIP"," · VIP member"):D.tier==="free"?R(" · ช่วงทดลองใช้"," · on trial"):"")}))),d(((ne==null?void 0:ne.rows)??[]).map(D=>({id:`${D.rank}-${D.display_name}`,avatar:D.avatar,label:`${R("อันดับ","Rank")} ${D.rank} ${R("สัปดาห์นี้","this week")} · ${Ar(D.seconds_week,O)}`}))),(J=P.current)==null||J.call(P,X)};g(!0);const _=window.setInterval(()=>g(),_r),H=()=>{document.hidden||g()};return document.addEventListener("visibilitychange",H),()=>{h=!0,window.clearInterval(_),document.removeEventListener("visibilitychange",H)}},[]);const T=p.useMemo(()=>Nr(n,c,t*t,u),[n,c,t,u]);p.useEffect(()=>{const h=A.current,g=k.current;if(!h||!g)return;let _=!1,H=0;const G=()=>{window.cancelAnimationFrame(H),H=window.requestAnimationFrame(()=>{if(_)return;const X=Math.round(h.getBoundingClientRect().width);g.style.width=`${X}px`,g.style.height=`${X}px`,Ir(g,T,t,X)})};G();let M=null;return typeof ResizeObserver=="function"?(M=new ResizeObserver(G),M.observe(h)):window.addEventListener("resize",G),()=>{_=!0,window.cancelAnimationFrame(H),M==null||M.disconnect(),window.removeEventListener("resize",G)}},[T,t]);const j=h=>{var G;const g=(G=h==null?void 0:h.closest)==null?void 0:G.call(h,"[data-index]");if(!g)return null;const _=Number(g.dataset.index),H=T[_];return!H||!H.label?null:{row:Math.floor(_/t),col:_%t,label:H.label,kind:H.kind}},I=Math.max(2,Math.round(t*.14)),W=b?b.col<I?"left":b.col>
12t-1-I?"right":"center":"center";return e.jsxs("div",{ref:A,className:`relative aspect-square w-full ${l??""}`,style:{contain:"layout paint"},children:[e.jsx("canvas",{ref:k,className:"absolute inset-0 h-full w-full","aria-hidden":"true"}),e.jsx("div",{className:"relative grid h-full w-full",style:{gridTemplateColumns:`repeat(${t}, minmax(0, 1fr))`,gridTemplateRows:`repeat(${t}, minmax(0, 1fr))`,gap:`${js*100}%`},role:"img","aria-label":a("กำแพงสมาชิกที่ออนไลน์อยู่","A wall of members online right now"),onMouseOver:h=>w(j(h.target)),onMouseLeave:()=>w(null),onClick:h=>w(j(h.target)),children:T.map((h,g)=>h.kind==="ghost"?null:e.jsx("div",{"data-index":g,"data-kind":h.kind,style:{gridColumn:g%t+1,gridRow:Math.floor(g/t)+1},className:`relative z-10 flex aspect-square items-center justify-center overflow-hidden rounded-[20%] bg-slate-800/80 transition-transform duration-150 hover:scale-[1.6] ${h.kind==="online"?"ring-1 ring-cyan-300/80 shadow-[0_0_12px_rgba(34,211,238,0.5)]":"opacity-90 ring-1 ring-emerald-400/40 hover:opacity-100"}`,children:h.src?e.jsx("img",{src:h.src,alt:"",loading:"lazy",decoding:"async",className:"h-[88%] w-[88%] object-contain"}):e.jsx("span",{className:"text-[min(1.6vw,12px)] leading-none",children:h.emoji})},h.id))}),b&&e.jsx("div",{className:"pointer-events-none absolute z-20 -translate-y-full",style:{left:`${(b.col+.5)/t*100}%`,top:`${b.row/t*100}%`,marginTop:-6,transform:W==="left"?"translate(-12%, -100%)":W==="right"?"translate(-88%, -100%)":"translate(-50%, -100%)"},children:e.jsx("div",{className:`whitespace-nowrap rounded-xl border px-3 py-1.5 text-[11px] font-semibold shadow-[0_12px_30px_-12px_rgba(0,0,0,0.9)] ${b.kind==="online"?"border-cyan-300/40 bg-slate-950/95 text-cyan-100":"border-emerald-400/30 bg-slate-950/95 text-emerald-100"}`,children:b.label})})]})}const Ns={ซิดนีย์:{name:"Sydney",hint:"Market just opened"},โตเกียว:{name:"Tokyo",hint:"Volume picks up"},ลอนดอน:{name:"London",hint:"Major markets open"},นิวยอร์ก:{name:"New York",hint:"News hour"},Overlap:{name:"Overlap",hint:"The busiest hours"}};function Mr(t,s){var a;return s==="en"?((a=Ns[t.name])==null?void 0:a.name)??t.name:t.name}function Pr(t,s){var a;return s==="en"?((a=Ns[t.name])==null?void 0:a.hint)??t.hint:t.hint}function Lr(t,s){const a=Be.map(()=>0);for(const l of t)a[Pt(l.seconds_week)]+=1;const r=t.length>0&&t.length>=s?Pt(t[t.length-1].seconds_week):-1;return Be.map((l,n)=>({realm:l,count:a[n],capped:n<=r}))}function Er(t,s){if(t.count===0)return t.capped?null:s==="th"?"ยังว่าง":"Empty";const a=t.capped?`${t.count}+`:String(t.count);return s==="th"?`${a} คน`:`${a} ${t.count===1&&!t.capped?"member":"members"}`}function Ht(t,s){const a=Math.max(0,Math.round(t));if(a<3600){const n=Math.round(a/60);return s==="th"?`${n} นาที`:`${n} min`}const r=a/3600,l=r>=10?Math.round(r):Math.round(r*10)/10;return s==="th"?`${l} ชม.`:`${l} h`}function Ut(t,s,a){const r=Math.round(t/3600*10)/10;return a==="th"?`${r} ชม./${s==="day"?"วัน":"สัปดาห์"}`:`${r} h / ${s}`}function Rr(t,s,a){if(!/^\d{4}-\d{2}-\d{2}$/.test(t)||!/^\d{4}-\d{2}-\d{2}$/.test(s))return"";const r=new Date(`${t}T00:00:00+07:00`),l=new Date(`${s}T00:00:00+07:00`),n="Asia/Bangkok",o=t.slice(0,7)===s.slice(0,7);if(a==="th"){const u=b=>b.toLocaleDateString("th-TH",{day:"numeric",timeZone:n}),x=b=>b.toLocaleDateString("th-TH",{day:"numeric",month:"short",timeZone:n});return o?`${u(r)}–${x(l)}`:`${x(r)}–${x(l)}`}const c=u=>u.toLocaleDateString("en-US",{day:"numeric",timeZone:n}),d=u=>u.toLocaleDateString("en-US",{month:"short",day:"numeric",timeZone:n});return o?`${d(r)}–${c(l)}`:`${d(r)}–${d(l)}`}function Or(t){return t==="th"?"จัดอันดับจากเวลาที่เปิด Alphasigs ไว้บนหน้าจอ (นับเฉพาะตอนแท็บมองเห็น) · ไม่ได้บอกว่าใครเทรดเก่ง":"Ranked by time with Alphasigs open on screen (counted only while the tab is visible) · it says nothing about who trades well"}const Gt=[{from:"#5eead4",via:"#0f766e",to:"#134e4a",crystal:"linear-gradient(180deg,#6ee7b7,#38bdf8)",scale:.9},{from:"#67e8f9",via:"#0e7490",to:"#164e63",crystal:"linear-gradient(180deg,#67e8f9,#38bdf8)",scale:.96},{from:"#93c5fd",via:"#1d4ed8",to:"#1e3a8a",crystal:"linear-gradient(180deg,#bfdbfe,#60a5fa)",scale:1.02},{from:"#c4b5fd",via:"#6d28d9",to:"#3b0764",crystal:"linear-gradient(180deg,#e9d5ff,#a78bfa)",scale:1.08},{from:"#fde68a",via:"#d97706",to:"#78350f",crystal:"linear-gradient(180deg,#fef3c7,#f59e0b)",scale:1.16}],Yt=["52% 48% 46% 54% / 62% 58% 42% 38%","48% 52% 50% 50% / 58% 60% 40% 42%","50% 50% 44% 56% / 60% 56% 44% 40%","54% 46% 48% 52% / 60% 62% 38% 40%","50% 50% 50% 50% / 64% 64% 36% 36%"];function Dr({level:t,lit:s}){const a=Gt[t]??Gt[0],r=t===Be.length-1;return e.jsxs("div",{className:"relative",style:{width:96,height:80,transform:`scale(${a.scale})`},"aria-hidden":"true",children:[s&&e.jsx("div",{className:"absolute rounded-full",style:{inset:"-10px 0 6px 0",boxShadow:"0 0 0 1px rgba(52,211,153,.35), 0 0 34px rgba(52,211,153,.38)"}}),e.jsx("div",{className:"absolute rounded-full",style:{left:18,right:18,bottom:-6,height:16,background:"radial-gradient(closest-side, rgba(0,0,0,.6), transparent)"}}),e.jsx("div",{className:"absolute bottom-0",style:{left:30,right:30,height:32,background:"#334155",clipPath:"pol
12ygon(0 0,100% 0,68% 100%,32% 100%)"}}),e.jsx("div",{className:"absolute",style:{inset:"4px 4px 22px 4px",borderRadius:Yt[t]??Yt[0],background:`radial-gradient(120% 90% at 30% 18%, ${a.from}, ${a.via} 58%, ${a.to})`,boxShadow:"inset 0 -10px 16px rgba(0,0,0,.28), 0 10px 22px rgba(0,0,0,.45)"}}),e.jsx("div",{className:"absolute",style:{left:14,top:24,width:12,height:26,transform:"rotate(-14deg)",clipPath:"polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)",background:a.crystal,opacity:.92}}),t>=1&&e.jsx("div",{className:"absolute",style:{right:16,top:14,width:14,height:36,transform:"rotate(10deg)",clipPath:"polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)",background:a.crystal,opacity:.92}}),t>=3&&e.jsx("div",{className:"absolute",style:{left:"50%",marginLeft:-7,top:4,width:14,height:40,clipPath:"polygon(50% 0,100% 38%,82% 100%,18% 100%,0 38%)",background:a.crystal,opacity:.95}}),r&&e.jsx(Se,{className:"absolute left-1/2 -translate-x-1/2 text-amber-200",style:{top:-18,width:22,height:22},strokeWidth:2.2})]})}function Fr({t,lang:s,className:a}){const[r,l]=p.useState(null),[n,o]=p.useState(()=>Date.now());p.useEffect(()=>{let y=!1;vs().then(T=>{y||l(T)}).catch(()=>{});const S=window.setInterval(()=>o(Date.now()),6e4);return()=>{y=!0,window.clearInterval(S)}},[]);const c=r?Lr(r.rows,ws):null,d=(r==null?void 0:r.rows[0])??null,u=(r==null?void 0:r.prizes)??[3,2,1],x=(r==null?void 0:r.min_seconds)??3600,b=(r==null?void 0:r.daily_cap_seconds)??43200,w=r!=null&&r.awards_at?new Date(r.awards_at).getTime():Number.NaN,A=Number.isFinite(w)?ys(w-n,s):"",k=r?Rr(r.week_start,r.week_end,s):"",P=[...u.map((y,S)=>[t(`VIP อันดับ ${S+1}`,`VIP rank ${S+1}`),`${y} ${t("เครดิต","credits")}`]),[t("ขั้นต่ำเพื่อชิงรางวัล","Prize floor"),Ut(x,"week",s)],[t("นับสูงสุด","Daily cap"),Ut(b,"day",s)],[t("ใช้ได้กับ","Spend on"),t("AI วิเคราะห์ · Trading Setup","AI analysis · Trading Setup")],[t("รีเซ็ต","Resets"),t("ทุกเช้าวันจันทร์","Every Monday morning")]];return e.jsxs("div",{className:`grid grid-cols-[minmax(0,1fr)] gap-10 lg:grid-cols-[minmax(0,1fr)_300px] lg:items-start ${a??""}`,children:[e.jsxs("div",{className:"min-w-0",children:[e.jsxs("p",{className:"mb-5 text-right text-[11px] font-semibold uppercase tracking-[0.22em] text-slate-500",children:[t("สมาชิกในแต่ละแดน","Members per realm")," · ",e.jsx("span",{className:"text-slate-400",children:k||t("สัปดาห์นี้","this week")})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-[10%] right-[10%] top-[62px] hidden h-px md:block",style:{background:"linear-gradient(90deg, rgba(52,211,153,.6), rgba(34,211,238,.35) 50%, rgba(251,191,36,.65))"}}),e.jsx("ol",{className:"-mx-4 flex snap-x snap-mandatory gap-3 overflow-x-auto px-4 pb-2 md:mx-0 md:grid md:grid-cols-5 md:gap-4 md:overflow-visible md:px-0",style:{scrollbarWidth:"none"},"aria-label":t("แดนทั้ง 5 ของอันดับห้อง","The five realms of Room Ranks"),children:Be.map((y,S)=>{const T=S===0,j=S===Be.length-1,I=(c==null?void 0:c[S])??null,W=I?Er(I,s):null,h=!!I&&I.count>0;return e.jsxs("li",{className:"relative flex w-[148px] shrink-0 snap-center flex-col items-center text-center md:w-auto",children:[e.jsx("span",{className:`mb-2 inline-flex h-[22px] items-center rounded-full px-2.5 text-[10px] font-bold uppercase tracking-[0.2em] ${T?"border border-emerald-400/60 bg-emerald-400/10 text-emerald-200 shadow-[0_0_18px_rgba(52,211,153,0.35)]":"invisible"}`,children:t("เริ่มที่นี่","Start here")}),e.jsx(Dr,{level:S,lit:T}),e.jsx("b",{className:"mt-3 text-[15px] font-bold text-white",children:Mr(y,s)}),e.jsx("span",{className:`mt-1 text-[28px] font-extrabold leading-none tabular-nums ${j?"text-amber-300":T?"text-emerald-300":"text-slate-200"}`,children:y.minHours}),e.jsx("span",{className:"text-[10.5px] text-slate-500",children:t("ชม./สัปดาห์","h / week")}),e.jsx("span",{className:"mt-1.5 text-[11px] leading-snug text-slate-400",children:Pr(y,s)}),e.jsxs("span",{className:`mt-2.5 inline-flex min-h-[24px] items-center gap-1.5 rounded-full px-2.5 py-0.5 text-[11px] font-semibold ${W?h?"bg-emerald-400/10 text-emerald-200 ring-1 ring-emerald-400/30":"bg-slate-800/80 text-slate-500":"invisible"}`,children:[h&&e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-400 shadow-[0_0_8px_rgba(52,211,153,0.9)]"}
12),W??"·"]})]},y.name)})})]}),r&&r.last_week.length>0&&e.jsxs("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-2 text-[12px]",children:[e.jsx("span",{className:"text-slate-500",children:t("สัปดาห์ที่แล้ว จ่ายรางวัลแล้ว","Last week, prizes paid")}),r.last_week.map(y=>e.jsxs("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-amber-400/25 bg-amber-400/10 px-2.5 py-1 text-amber-100",children:[e.jsxs("b",{children:["#",y.rank]}),e.jsx("span",{className:"tabular-nums text-amber-100/80",children:Ht(y.seconds,s)}),e.jsx(Xs,{className:"h-3 w-3 text-amber-300"}),e.jsx("span",{className:"tabular-nums",children:y.credits})]},y.rank))]})]}),e.jsxs("aside",{className:"relative rounded-2xl border border-amber-400/25 bg-slate-950/90 p-5 shadow-[0_30px_60px_-24px_rgba(0,0,0,0.9)] lg:-mt-3",children:[e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[e.jsxs("h3",{className:"flex items-center gap-2 text-[14px] font-bold text-white",children:[e.jsx(Ks,{className:"h-4 w-4 text-amber-300"}),t("รางวัลประจำสัปดาห์","Weekly prize")]}),e.jsx("span",{className:"whitespace-nowrap rounded-full bg-amber-400/10 px-2.5 py-1 text-[10.5px] text-amber-200/90",children:t("ประกาศผล จันทร์ 00:07","Paid Monday 00:07")})]}),e.jsxs("div",{className:"mt-4 flex items-end justify-between gap-3 border-b border-slate-800 pb-4",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-[11px] font-semibold uppercase tracking-[0.18em] text-slate-500",children:t("อันดับ 1 ตอนนี้","Current leader")}),e.jsx("p",{className:"mt-1 text-[30px] font-extrabold leading-none tabular-nums text-amber-300",children:d?Ht(d.seconds_week,s):"—"}),e.jsxs("p",{className:"mt-1.5 text-[11px] text-slate-500",children:[t("ในห้องสัปดาห์นี้","in the room this week"),A?` · ${t("อีก","in")} ${A}`:""]})]}),e.jsx("div",{className:"grid h-14 w-14 shrink-0 place-items-center overflow-hidden rounded-full border-[3px] border-amber-300/70 bg-slate-900 shadow-xl",children:d!=null&&d.avatar?e.jsx("img",{src:d.avatar,alt:"",loading:"lazy",decoding:"async",className:"h-full w-full object-contain"}):e.jsx(Se,{className:"h-6 w-6 text-amber-300"})})]}),e.jsx("dl",{className:"mt-3 space-y-2 text-[12.5px]",children:P.map(([y,S],T)=>e.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[e.jsxs("dt",{className:"flex items-center gap-1.5 text-slate-400",children:[T===0&&e.jsx(Se,{className:"h-3.5 w-3.5 text-amber-300"}),y]}),e.jsx("dd",{className:"text-right font-bold tabular-nums text-white",children:S})]},y))}),e.jsx("p",{className:"mt-4 text-[11px] leading-snug text-slate-500",children:t("สมาชิกฟรีขึ้นกระดานและสะสมเวลาได้ แต่รางวัลให้เฉพาะสมาชิก VIP","Free members rank and bank hours too; only VIP members collect the prize.")})]})]})}const $r=["discord","telegram","youtube","facebook"];function Vr(t){if(!t||typeof t!="object"||Array.isArray(t))return{};const s={};for(const a of $r){const r=t[a];if(!r||typeof r!="object")continue;const l=r,n=typeof l.count=="number"&&Number.isFinite(l.count)&&l.count>=0?Math.round(l.count):null,o=typeof l.online=="number"&&Number.isFinite(l.online)&&l.online>=0?Math.round(l.online):null;s[a]={count:n,online:o,approximate:l.approximate===!0,label:typeof l.label=="string"?l.label:null,fetchedAt:typeof l.fetched_at=="string"?l.fetched_at:null}}return s}let Le=null;const Br=5*6e4;function zr(){if(Le&&Date.now()-Le.at<Br)return Le.promise;const t=(async()=>{try{const{data:s,error:a}=await ce.rpc("get_community_counts");return a?{}:Vr(s)}catch{return{}}})();return Le={at:Date.now(),promise:t},t.then(s=>{Object.keys(s).length===0&&(Le=null)}),t}const Wr=100;function Hr(t,s,a="en-US"){return s&&t>=1e6?`${qt((t/1e6).toFixed(1))}M`:s&&t>=1e3?`${qt((t/1e3).toFixed(1))}
12K`:t.toLocaleString(a)}function qt(t){return t.endsWith(".0")?t.slice(0,-2):t}const Ur=`
13attribute vec2 a_position;
14varying vec2 v_uv;
15
16void main() {
17  v_uv = a_position * 0.5 + 0.5;
18  gl_Position = vec4(a_position, 0.0, 1.0);
19}
20`,Gr=`
21#ifdef GL_ES
22precision highp float;
23#endif
24uniform vec2 u_resolution;
25uniform float u_time;
26varying vec2 v_uv;
27
28float hash(vec2 p) {
29  p = fract(p * vec2(123.34, 456.21));
30  p += dot(p, p + 45.32);
31  return fract(p.x * p.y);
32}
33
34float valueNoise(vec2 p) {
35  vec2 i = floor(p);
36  vec2 f = fract(p);
37  vec2 u = f * f * (3.0 - 2.0 * f);
38
39  float a = hash(i);
40  float b = hash(i + vec2(1.0, 0.0));
41  float c = hash(i + vec2(0.0, 1.0));
42  float d = hash(i + vec2(1.0, 1.0));
43
44  return mix(mix(a, b, u.x), mix(c, d, u.x), u.y);
45}
46
47float fbm(vec2 p) {
48  float value = 0.0;
49  float amplitude = 0.5;
50  mat2 rotate = mat2(1.6, 1.2, -1.2, 1.6);
51
52  for (int i = 0; i < 5; i++) {
53    value += amplitude * valueNoise(p);
54    p = rotate * p + 0.37;
55    amplitude *= 0.5;
56  }
57
58  return value;
59}
60
61float elevation(vec2 p, float time) {
62  float bigWave = 6.0 * fbm(vec2(0.3 * p.x + 0.15 * time, 0.3 * p.y));
63  float detail = 2.0 * fbm(vec2(0.8 * p.x - 0.1 * time, 0.8 * p.y + 0.08 * time));
64  float trendRidge = 1.5 * sin(p.x * 0.55 + time * 0.25) * cos(p.y * 0.35 - time * 0.16);
65  return bigWave + detail + trendRidge;
66}
67
68vec3 elevationColor(float heightValue) {
69  vec3 deepValley = vec3(0.0, 0.7, 1.0);
70  vec3 midLevel = vec3(0.1, 0.1, 0.6);
71  vec3 peak = vec3(1.0, 0.3, 0.0);
72
73  float normalizedHeight = clamp((heightValue - 1.4) / 6.2, 0.0, 1.0);
74  vec3 lowBlend = mix(deepValley, midLevel, smoothstep(0.0, 0.48, normalizedHeight));
75  vec3 highBlend = mix(midLevel, peak, smoothstep(0.42, 1.0, normalizedHeight));
76  return mix(lowBlend, highBlend, smoothstep(0.45, 0.58, normalizedHeight));
77}
78
79float gridLine(vec2 p) {
80  vec2 grid = abs(fract(p) - 0.5);
81  vec2 line = smoothstep(vec2(0.055), vec2(0.0), grid);
82  return max(line.x, line.y);
83}
84
85void main() {
86  vec2 uv = v_uv;
87  vec2 centered = uv * 2.0 - 1.0;
88  centered.x *= u_resolution.x / max(u_resolution.y, 1.0);
89
90  float perspective = pow(max(uv.y, 0.03), 1.85);
91  vec2 world = vec2(centered.x * (18.0 + 42.0 * perspective), (1.0 - uv.y) * 34.0 - 9.0);
92  world.y += u_time * 2.0;
93
94  float heightValue = elevation(world, u_time);
95  float horizonMask = smoothstep(0.02, 0.28, uv.y) * smoothstep(1.02, 0.55, uv.y);
96
97  vec2 eps = vec2(0.08, 0.0);
98  float hx = elevation(world + eps.xy, u_time) - elevation(world - eps.xy, u_time);
99  float hy = elevation(world + eps.yx, u_time) - elevation(world - eps.yx, u_time);
100  vec3 normal = normalize(vec3(-hx, 2.2, -hy));
101  vec3 lightDir = normalize(vec3(-0.45, 0.72, 0.52));
102  float lighting = clamp(dot(normal, lightDir), 0.0, 1.0);
103
104  vec3 color = elevationColor(heightValue);
105  color *= 0.45 + lighting * 0.65;
106  color += vec3(0.0, 0.65, 1.0) * pow(1.0 - uv.y, 2.5) * 0.22;
107
108  float wire = gridLine(world * 0.42);
109  float triangleHint = gridLine(vec2((world.x + world.y) * 0.29, world.y * 0.42)) * 0.45;
110  float hologram = max(wire, triangleHint) * (0.26 + 0.34 * smoothstep(2.7, 7.8, heightValue));
111  color = mix(color, vec3(0.55, 0.95, 1.0), hologram);
112
113  float scan = 0.04 * sin((uv.y + u_time * 0.08) * 95.0);
114  color += vec3(0.0, 0.45, 0.9) * scan;
115
116  float vignette = smoothstep(1.45, 0.15, length(centered));
117  float alpha = horizonMask * vignette * 0.95;
118
119  gl_FragColor = vec4(color, alpha);
120}
121`;function Xt(t,s,a){const r=t.createShader(s);return r?(t.shaderSource(r,a),t.compileShader(r),t.getShaderParameter(r,t.COMPILE_STATUS)?r:(t.isContextLost()||console.error("Sci-fi mountain shader failed to compile:",t.getShaderInfoLog(r)),t.deleteShader(r),null)):null}function Yr(t){const s=Xt(t,t.VERTEX_SHADER,Ur),a=Xt(t,t.FRAGMENT_SHADER,Gr);if(!s||!a)return null;const r=t.createProgram();return r?(t.attachShader(r,s),t.attachShader(r,a),t.linkProgram(r),t.deleteShader(s),t.deleteShader(a),t.getProgramParameter(r,t.LINK_STATUS)?r:(t.isContextLost()||console.error("Sci-fi mountain shader failed to link:",t.getProgramInfoLog(r)),t.deleteProgram(r),null)):null}const mt=new WeakMap;function qr(){const t=p.useRef(null);return p.useEffect(()=>{const s=t.current;if(!s)return;const a=s.getContext("webgl",{alpha:!0,antialias:!0,depth:!1,premultipliedAlpha:!1});if(a){if(mt.has(s)||(mt.set(s,a.isContextLost()?null:a.getExtension("WEBGL_lose_context")),s.addEventListener("webglcontextlost",r=>r.preventDefault())),a.isContextLost()){let r;const l=()=>{r=Kt(s,a)};s.addEventListener("webglcontextrestored",l,{once:!0});const n=window.setTimeout(()=>{var o;try{(o=mt.get(s))==null||o.restoreContext()}catch{}},0);return()=>{window.clearTimeout(n),s.removeEventListener("webglcontextrestored",l),r==null||r()}}return Kt(s,a)}},[]),e.jsx("canvas",{ref:t,"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 h-[58vh] w-full opacity-80 mix-blend-screen [mask-image:linear-gradient(to_top,black_12%,black_70%,transparent_100%)]"})}function Kt(t,s){const a=Yr(s);if(!a)return;const r=s.getAttribLocation(a,"a_position"),l=s.getUniformLocation(a,"u_resolution"),n=s.getUniformLocation(a,"u_time"),o=s.createBuffer();if(!o)return;s.bindBuffer(s.ARRAY_BUFFER,o),s.bufferData(s.ARRAY_BUFFER,new Float32Array([-1,-1,1,-1,-1,1,-1,1,1,-1,1,1]),s.STATIC_DRAW);let c=0;const d=window.matchMedia("(prefers-reduced-motion: reduce)"),u=performance.now(),x=()=>{const y=Math.min(window.devicePixelRatio||1,2),S=Math.max(1,Math.floor(t.clientWidth*y)),T=Math.max(1,Math.floor(t.clientHeight*y));(t.width!==S||t.height!==T)&&(t.width=S,t.height=T),s.viewport(0,0,S,T)};let b=!0;const w=()=>b&&!document.hidden,A=y=>
121{s.clearColor(0,0,0,0),s.clear(s.COLOR_BUFFER_BIT),s.useProgram(a),s.bindBuffer(s.ARRAY_BUFFER,o),s.enableVertexAttribArray(r),s.vertexAttribPointer(r,2,s.FLOAT,!1,0,0),s.uniform2f(l,t.width,t.height),s.uniform1f(n,d.matches?0:(y-u)/1e3),s.drawArrays(s.TRIANGLES,0,6),c=w()?window.requestAnimationFrame(A):0},k=()=>{w()&&!c&&(c=window.requestAnimationFrame(A))},P=new IntersectionObserver(([y])=>{b=y.isIntersecting,k()},{threshold:0});return P.observe(t),document.addEventListener("visibilitychange",k),x(),c=window.requestAnimationFrame(A),window.addEventListener("resize",x),()=>{var y;window.cancelAnimationFrame(c),window.removeEventListener("resize",x),P.disconnect(),document.removeEventListener("visibilitychange",k),s.deleteBuffer(o),s.deleteProgram(a),t.isConnected||(y=s.getExtension("WEBGL_lose_context"))==null||y.loseContext()}}const Xr=p.lazy(()=>wt(()=>import("./QuantumFinance3DPreview-ByvvvzRg.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57]))),Kr=p.lazy(()=>wt(()=>import("./AgentInfluenceGraph3D-BvyBYUHm.js"),__vite__mapDeps([58,1,59,50,4,5,6,7,51,60,61,62,63,64,11,48,38,36]))),Zr=p.lazy(()=>wt(()=>import("./GargantuaBackdrop-Dgn_qGIC.js"),__vite__mapDeps([65,1,66,4,5,6,7,
12167,68,69,49])).catch(()=>({default:()=>null}))),Qr=t=>t==="en"||t==="ja"||t==="id"||t==="fr"?t:"th";function Jr(t){const{hour:s,score:a,hasSample:r,isCurrentHour:l}=t;let n="bg-slate-700/50 border-slate-600/65";return r&&a!=null?a>=72?n="bg-emerald-400/70 border-emerald-300/80":a>=64?n="bg-cyan-400/70 border-cyan-300/80":a>=56?n="bg-amber-400/70 border-amber-300/80":n="bg-rose-400/70 border-rose-300/80":lr(s)&&(n="bg-violet-500/20 border-violet-400/35"),`h-3.5 rounded-[3px] border transition-all ${n} ${l?"ring-1 ring-cyan-300/90 ring-offset-1 ring-offset-slate-900":""}`}const i=(t,s,a,r,l,n)=>t==="th"?s:t==="ja"?r??a:t==="id"?l??a:t==="fr"?n??a:a,e0=({language:t})=>{const[s,a]=p.useState(!1);return e.jsx("section",{className:`px-4 ${s?"py-20":"py-0"}`,children:e.jsxs("div",{className:"max-w-lg mx-auto",children:[s&&e.jsxs("div",{className:"text-center mb-6",children:[e.jsx("span",{className:"text-cyan-400 text-sm font-medium uppercase tracking-wider",children:i(t,"ข่าววันนี้","Today","今日","Hari ini","Aujourd'hui")}),e.jsx("h2",{className:"mt-2 text-3xl font-bold text-white",children:i(t,"สรุปข่าวตลาดประจำวัน","Today's market brief","本日のマーケット速報","Ringkasan pasar hari ini","Le point marché du jour")}),e.jsx("p",{className:"mt-2 text-sm text-slate-400",children:i(t,"ข่าวเด่นที่ขยับตลาด คัดและเรียงโดย AI ทุกเช้า","The headlines moving markets, ranked by AI every morning","相場を動かすニュースをAIが毎朝ランク付け","Berita penggerak pasar, diperingkat AI tiap pagi","L'actu qui fait bouger les marchés, classée par IA chaque matin")})]}),e.jsx(Ls,{onHasData:a})]})})},t0={th:{navNews:"บทความ",navAbout:"เกี่ยวกับเรา",navContact:"ติดต่อ",loginButton:"เข้าสู่ระบบ",heroBadgeTop:"ขับเคลื่อนด้วย AI",heroBadgeBottom:"ระบบวิเคราะห์เทรดระดับมืออาชีพ",heroTitleLine1:"AI ช่วยคุณเทรด",heroTitleLine2:"ได้อย่างมั่นใจ",heroDescription:"รับสัญญาณการเทรดแบบเรียลไทม์จากระบบ AI ติดตามผลทันที วิเคราะห์แม่นยำ และตัดสินใจด้วยข้อมูล",heroPrimaryCta:"ทดลองใช้ฟรี 3 วัน",heroFreeNote:"ไม่ต้องใช้บัตร • หมดช่วงทดลองแล้วไม่มีการเรียกเก็บเงินใด ๆ",heroSecondaryCta:"ดูบทความ",heroTrust1:"เข้ารหัส 256-bit",heroTrust2:"สัญญาณ Real-time",heroTrust3:`ครอบคลุม ${we} สินทรัพย์`},en:{navNews:"Articles",navAbout:"About",navContact:"Contact",loginButton:"Log In",heroBadgeTop:"AI-Powered",heroBadgeBottom:"Professional Trading Intelligence",heroTitleLine1:"Grow Your Trading with",heroTitleLine2:"Smart AI Analysis",heroDescription:"Get real-time AI trading signals with precise analysis to help you make confident decisions in Forex and Crypto markets.",heroPrimaryCta:"Try Free for 3 Days",heroFreeNote:"No card required • nothing is charged when the trial ends",heroSecondaryCta:"Read Articles",heroTrust1:"256-bit Encryption",heroTrust2:"Real-Time Signals",heroTrust3:`${we} Assets Covered`},ja:{navNews:"記事",navAbout:"私たちについて",navContact:"お問い合わせ",loginButton:"ログイン",heroBadgeTop:"AI搭載",heroBadgeBottom:"プロ向けトレーディング分析",heroTitleLine1:"AIでトレードを",heroTitleLine2:"もっとスマートに",heroDescription:"リアルタイムAIシグナルで市場を分析し、データに基づいた判断をサポートします。",heroPrimaryCta:"3日間無料トライアル",heroFreeNote:"カード不要 • トライアル終了後の請求は一切ありません",heroSecondaryCta:"記事を見る",heroTrust1:"256-bit暗号化",heroTrust2:"リアルタイムシグナル",heroTrust3:`${we}銘柄をカバー`},id:{navNews:"Artikel",navAbout:"Tentang Kami",navContact:"Kontak",loginButton:"Masuk",heroBadgeTop:"Didukung AI",heroBadgeBottom:"Intelijen Trading Profesional",heroTitleLine1:"AI Membantu Trading Anda",heroTitleLine2:"Lebih Percaya Diri",heroDescription:"Dapatkan sinyal trading AI real-time dengan analisis akurat agar keputusan trading Anda lebih tepat.",heroPrimaryCta:"Coba Gratis 3 Hari",heroFreeNote:"Tanpa kartu • tidak ada tagihan saat masa coba berakhir",heroSecondaryCta:"Lihat Artikel",heroTrust1:"Enkripsi 256-bit",heroTrust2:"Sinyal Real-time",heroTrust3:`${we} Aset Tercakup`},fr:{navNews:"Articles",navAbout:"À propos",navContact:"Contact",loginButton:"Connexion",heroBadgeTop:"Propulsé par l’IA",heroBadgeBottom:"Intelligence de trading professionnelle",heroTitleLine1:"Faites évoluer votre trading avec",heroTitleLine2:"une analyse IA intelligente",heroDescription:"Recevez des signaux de trading IA en temps réel avec une analyse précise pour décider avec confiance.",heroPrimaryCta:"Essai gratuit de 3 jours",heroFreeNote:"Sans carte • aucun débit à la fin de l’essai",heroSecondaryCta:"Voir les articles",heroTrust1:"Chiffrement 256-bit",heroTrust2:"Signaux en temps réel",heroTrust3:`${we} actifs couverts`}},s0=()=>{const t=Ze(0),s=Ze(0),a=Qe(t,{stiffness:50,damping:20}),r=Qe(s,{stiffness:50,damping:20});return p.useEffect(()=>{const l=n=>{t.set(n.clientX),s.set(n.clientY)};return window.addEventListener("mousemove",l),()=>window.removeEventListener("mousemove",l)},[t,s]),e.jsx(m.div,{className:"pointer-events-none fixed z-0",style:{x:a,y:r,translateX:"-50%",translateY:"-50%"},children:e.jsx("div",{className:"w-[500px] h-[500px] rounded-full bg-emerald-500/5 blur-[120px]"})})},a0=[{label:"AI SIGNAL BUS",value:"LIVE"},{label:"LATENCY",value:"18ms"},{label:"MODEL STACK",value:"9X"}],r0=Array.from({length:42},(t,s)=>({id:s,left:`${s*37%100}%`,top:`${s*53%100}%`,size:2+s%4,delay:s%7*.42,duration:4.8+s%6*.55,hue:s%3===0?"bg-emerald-300":s%3===1?"bg-cyan-200":"bg-fuchsia-300"})),Ee=({label:t})=>{const s=at();return e.jsxs("div",{className:"pointer-events-none relative z-20 -my-10 flex h-20 items-center justify-center overflow-hidden px-4","aria-hidden":"true",children:[e.jsx("div",{className:"absolute inset-x-0 top-1/2 h-px bg-gradient-to-r from-transparent via-cyan-300/55 to-transparent"}),e.jsx(m.div,{animate:s?void 0:{x:["-18%","18%","-18%"]},transition:{duration:6,repeat:1/0,ease:"easeInOut"},className:"absolute top-1/2 h-14 w-[72vw] -translate-y-1/2 roun
121ded-full border border-cyan-200/15 bg-cyan-300/[0.03] blur-sm"}),e.jsxs("div",{className:"relative flex items-center gap-3 rounded-full border border-cyan-300/20 bg-slate-950/75 px-4 py-2 text-[10px] font-bold uppercase tracking-[0.32em] text-cyan-100 shadow-[0_0_26px_rgba(34,211,238,0.18)] backdrop-blur-xl",children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-cyan-300 shadow-[0_0_12px_rgba(34,211,238,0.9)]"}),e.jsx("span",{children:t}),e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-fuchsia-300 shadow-[0_0_12px_rgba(217,70,239,0.9)]"})]})]})},i0=({onScrollToLogin:t,onFreeSignup:s,copy:a,children:r})=>{const l=at(),n=Ze(0),o=Ze(0),c=Qe(n,{stiffness:120,damping:18,mass:.35}),d=Qe(o,{stiffness:120,damping:18,mass:.35}),u=b=>{if(l||window.innerWidth<768)return;const w=b.currentTarget.getBoundingClientRect(),A=b.clientX-w.left-w.width/2,k=b.clientY-w.top-w.height/2;n.set(Math.max(-9,Math.min(9,-(k/(w.height/2))*8))),o.set(Math.max(-9,Math.min(9,A/(w.width/2)*8)))},x=()=>{n.set(0),o.set(0)};return e.jsxs("section",{className:"relative overflow-hidden isolate",children:[e.jsxs("div",{className:"absolute inset-0 -z-10 bg-[#030305]",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_50%_16%,rgba(0,243,255,0.20),transparent_34%),radial-gradient(circle_at_18%_78%,rgba(188,19,254,0.18),transparent_32%),linear-gradient(180deg,#02040b_0%,#050714_44%,#030305_100%)]"}),e.jsxs("div",{className:"absolute inset-x-0 top-0 h-screen",children:[e.jsx(qr,{}),e.jsx(sa,{}),e.jsx("div",{className:"absolute left-1/2 top-[18%] h-[34rem] w-[34rem] -translate-x-1/2 rounded-full border border-cyan-200/15 bg-cyan-300/[0.03] shadow-[0_0_90px_rgba(34,211,238,0.18),inset_0_0_80px_rgba(34,211,238,0.08)]"}),e.jsx(m.div,{"aria-hidden":"true",animate:l?void 0:{rotate:360},transition:{duration:28,repeat:1/0,ease:"linear"},className:"absolute left-1/2 top-[14%] h-[38rem] w-[38rem] -translate-x-1/2 rounded-full border border-dashed border-cyan-200/15"}),e.jsx(m.div,{"aria-hidden":"true",animate:l?void 0:{rotate:-360},transition:{duration:42,repeat:1/0,ease:"linear"},className:"absolute left-1/2 top-[22%] h-[26rem] w-[26rem] -translate-x-1/2 rounded-full border border-fuchsia-300/15"}),r0.map(b=>e.jsx(m.span,{"aria-hidden":"true",className:`absolute rounded-full ${b.hue} shadow-[0_0_14px_currentColor]`,style:{left:b.left,top:b.top,width:b.size,height:b.size},animate:l?void 0:{opacity:[.12,.85,.18],y:[0,-38-b.size*4,0],x:[0,b.id%2===0?18:-18,0],scale:[1,1.9,1]},transition:{duration:b.duration,delay:b.delay,repeat:1/0,ease:"easeInOut"}},b.id))]}),e.jsx("div",{className:"absolute inset-0 opacity-[0.16] [background-image:linear-gradient(rgba(0,243,255,0.22)_1px,transparent_1px),linear-gradient(90deg,rgba(0,243,255,0.18)_1px,transparent_1px)] [background-size:72px_72px] [mask-image:radial-gradient(circle_at_center,black_0%,transparent_74%)]"}),e.jsx("div",{className:"absolute inset-0 pointer-events-none opacity-45 [background-image:linear-gradient(to_bottom,transparent,transparent_50%,rgba(0,0,0,0.48)_50%,rgba(0,0,0,0.48))] [background-size:100%_4px]"}),e.jsx("div",{className:"absolute inset-x-0 bottom-0 h-48 bg-gradient-to-t from-slate-950 via-slate-950/70 to-transparent"})]}),e.jsxs("div",{className:"relative min-h-screen flex items-center justify-center px-4 pt-24 pb-16",children:[e.jsx("div",{className:"pointer-events-none absolute left-4 top-28 hidden text-[10px] uppercase tracking-[0.28em] text-cyan-200/70 md:block",children:e.jsxs("div",{className:"border-l border-cyan-300/50 pl-3",children:[e.jsx("p",{children:"SYS.CORE // ONLINE"}),e.jsx("p",{className:"mt-1 text-cyan-400/40",children:"ALPHA_OS 9.0"})]})}),e.jsx("div",{className:"pointer-events-none absolute bottom-10 right-4 hidden text-right text-[10px] uppercase tracking-[0.28em] text-fuchsia-200/70 md:block",children:e.jsxs("div",{className:"border-r border-fuchsia-400/50 pr-3",children:[e.jsx("p",{children:"ORBITAL_SYNC // ACTIVE"}),e.jsx("p",{className:"mt-1 animate-pulse text-fuchsia-400/40",children:"AWAITING COMMAND"})]})}),e.jsx("div",{className:"relative max-w-6xl mx-auto w-full text-center [perspective:1200px]",children:e.jsxs(m.div,{initial:{opacity:0,y:34,scale:.97}
121,animate:{opacity:1,y:0,scale:1},transition:{duration:.9,ease:[.22,1,.36,1]},style:{rotateX:c,rotateY:d,transformStyle:"preserve-3d"},onMouseMove:u,onMouseLeave:x,className:"group relative mx-auto max-w-4xl overflow-hidden rounded-[2rem] border border-cyan-300/20 bg-slate-950/35 p-6 shadow-[0_0_60px_rgba(0,243,255,0.12),inset_0_0_48px_rgba(0,243,255,0.06)] backdrop-blur-xl transition-colors hover:border-cyan-300/45 md:p-10",children:[e.jsx("div",{className:"absolute inset-0 opacity-35 [background-image:linear-gradient(rgba(0,243,255,0.12)_1px,transparent_1px),linear-gradient(90deg,rgba(0,243,255,0.10)_1px,transparent_1px)] [background-size:22px_22px]"}),e.jsx("div",{className:"absolute -left-24 -top-28 h-72 w-72 rounded-full bg-cyan-400/25 blur-[90px] mix-blend-screen"}),e.jsx("div",{className:"absolute -bottom-28 -right-20 h-72 w-72 rounded-full bg-fuchsia-500/25 blur-[95px] mix-blend-screen"}),e.jsx("div",{className:"absolute inset-x-8 top-0 h-px bg-gradient-to-r from-transparent via-cyan-200/80 to-transparent"}),e.jsxs("div",{className:"relative z-10",style:{transform:"translateZ(56px)"},children:[e.jsxs(m.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.2,duration:.6},className:"mb-7 inline-flex max-w-full flex-wrap items-center justify-center gap-3 rounded-full border border-cyan-300/30 bg-cyan-300/10 px-4 py-2.5 shadow-[0_0_18px_rgba(0,243,255,0.18)] backdrop-blur",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"h-2 w-2 rounded-full bg-cyan-300 shadow-[0_0_12px_rgba(0,243,255,1)]"}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-[0.28em] text-cyan-200",children:a.heroBadgeTop})]}),e.jsx("span",{className:"hidden h-4 w-px bg-cyan-200/25 sm:block"}),e.jsx("span",{className:"text-xs uppercase tracking-[0.22em] text-slate-300/80",children:a.heroBadgeBottom})]}),e.jsxs("h1",{className:"mx-auto max-w-5xl text-4xl font-black uppercase leading-[0.92] tracking-[-0.07em] text-white md:text-7xl lg:text-8xl",children:[e.jsx("span",{className:"block drop-shadow-[0_0_24px_rgba(255,255,255,0.28)]",children:a.heroTitleLine1}),e.jsx("span",{className:"mt-3 block bg-gradient-to-br from-white via-cyan-100 to-cyan-400 bg-clip-text text-transparent drop-shadow-[0_0_22px_rgba(0,243,255,0.52)]",children:a.heroTitleLine2})]}),e.jsx("p",{className:"mx-auto mt-7 max-w-2xl text-base leading-relaxed text-slate-300 md:text-xl",style:{transform:"translateZ(28px)"},children:a.heroDescription}),e.jsxs("div",{className:"mt-9 flex flex-col items-center justify-center gap-4 sm:flex-row",style:{transform:"translateZ(42px)"},children:[e.jsxs(m.button,{onClick:s??t,whileHover:{scale:1.03},whileTap:{scale:.98},className:"group/cta relative inline-flex h-14 items-center justify-center overflow-hidden border border-cyan-300 bg-cyan-300 px-8 font-bold uppercase tracking-[0.18em] text-slate-950 shadow-[0_0_28px_rgba(0,243,255,0.36)] transition-all hover:bg-white hover:shadow-[0_0_42px_rgba(0,243,255,0.58)]",children:[e.jsx("span",{className:"absolute inset-y-0 -left-1/2 w-1/2 skew-x-[-20deg] bg-gradient-to-r from-transparent via-white/70 to-transparent transition-transform duration-700 group-hover/cta:translate-x-[320%]"}),e.jsx("span",{className:"relative",children:a.heroPrimaryCta}),e.jsx(le,{className:"relative ml-3 h-5 w-5 transition-transform group-hover/cta:translate-x-1"})]}),e.jsxs("a",{href:"/news",className:"inline-flex h-14 items-center justify-center gap-3 rounded-none border border-fuchsia-300/35 bg-slate-950/45 px-8 font-semibold uppercase tracking-[0.16em] text-fuchsia-100 backdrop-blur transition-all hover:border-fuchsia-300/70 hover:bg-fuchsia-400/10 hover:text-white hover:shadow-[0_0_28px_rgba(188,19,254,0.28)]",children:[e.jsx(Re,{className:"h-5 w-5"}),e.jsx("span",{children:a.heroSecondaryCta})]})]}),e.jsx("p",{className:"mt-3 text-xs tracking-wide text-slate-400",style:{transform:"translateZ(30px)"},children:a.heroFreeNote}),e.jsx("div",{className:"mt-9 grid gap-3 sm:grid-cols-3",style:{transform:"translateZ(24px)"},children:a0.map(b=>e.jsxs("div",{className:"rounded-xl border border-white/10 bg-white/[0.04] px-4 py-3 text-left backdrop-blur-sm",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.26em] text-slate-500",children:b.label}),e.jsx("p",{className:"mt-1 text-lg font-bold text-cyan-100",children:b.value})]},b.label))}),e.jsxs("div",{className:"mt-7 flex flex-wrap items-center justify-center gap-4 text-sm text-slate-400",children:[e.jsxs("span",{className:"inline-flex items-center gap-2",children:[e.jsx(We,{className:"h-4 w-4 text-cyan-300"}),a.heroTrust1]}),e.jsxs("span",{className:"inline-flex items-center gap-2",children:[e.jsx(xe,{className:"h-4 w-4 text-fuchsia-300"}),a.heroTrust2]}),e.jsxs("span",{className:"inline-flex items-center gap-2",children:[e.jsx(es,{className:"h-4 w-4 text-yellow-300"}),a.heroTrust3]})]})]})]})}),e.jsx(m.div,{animate:l?void 0:{y:[0,8,0]},transition:{duration:2,repeat:1/0},className:"absolute bottom-8 left-1/2 -translate-x-1/2",children:e.jsx("div",{className:"flex h-10 w-6 justify-center rounded-full border-2 border-cyan-200/35 pt-2 shadow-[0_0_16px_rgba(0,243,255,0.18)]",children:e.jsx("div",{className:"h-2 w-1 rounded-full bg-cyan-300"})})})]}),r]})},l0=({language:t})=>{const s=[{src:"/avatars/3d/mascot-friendly-owl.webp",name:i(t,"โค้ชฮูก","Hoot the Owl"),role:i(t,"คู่มือการใช้งาน","Trading Guide"),desc:i(t,"พาอ่านคู่มือทีละหัวข้อ พร้อมย้ำเลขที่ต้องรู้ก่อนเทรด","Walks you through the guide, section by section")},{src:"/avatars/3d/mascot-charming-fox.webp",name:i(t,"โค้ชจิ้งจอก","Fox the C
121oach"),role:i(t,"SMC Basics","SMC Basics"),desc:i(t,"สอนอ่านโครงสร้างราคาแบบ Smart Money","Teaches Smart Money market structure")},{src:"/avatars/3d/mascot-joyful-panda.webp",name:i(t,"ครูแพนด้า","Panda the Teacher"),role:i(t,"Academy","Academy"),desc:i(t,"ห้องเรียนเทรดตั้งแต่ศูนย์ เก็บความคืบหน้าให้","A classroom from zero, progress saved")},{src:"/avatars/3d/mascot-adorable-penguin.webp",name:i(t,"น้องเพนกวิน","Penguin"),role:i(t,"บทความ & ข่าว","Articles & News"),desc:i(t,"คาบบทความและข่าวเทรดมาให้ถึงที่","Fetches trading articles and news for you")},{src:"/avatars/3d/mascot-cheeky-raccoon.webp",name:i(t,"น้องแรคคูน","Raccoon"),role:i(t,"SMT Board","SMT Board"),desc:i(t,"ส่องเลเวลทั้ง 41 ตลาด แล้วบอกว่าดูตัวไหนก่อน","Watches 41 markets and says what to look at first")},{src:"/avatars/3d/mascot-quirky-octopus.webp",name:i(t,"น้องหมึก","Octo"),role:i(t,"Analysis Feed","Analysis Feed"),desc:i(t,"แปดหนวดส่อง pattern หลายตลาดพร้อมกัน","Eight arms scanning patterns everywhere at once")},{src:"/avatars/3d/mascot-cute-dog.webp",name:i(t,"น้องบีเกิ้ล","Beagle"),role:i(t,"Market Scanner","Market Scanner"),desc:i(t,"ดมหาสินทรัพย์ที่เข้าเงื่อนไขของคุณ","Sniffs out the assets that match your filters")}];return e.jsxs("section",{className:"relative py-24 px-4 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-slate-900/40 to-transparent"}),e.jsxs("div",{className:"relative max-w-6xl mx-auto",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-14",children:[e.jsx("span",{className:"text-emerald-400 text-sm font-medium uppercase tracking-wider",children:i(t,"ไม่ต้องเรียนรู้คนเดียว","You never learn alone")}),e.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-white mt-4 mb-6",children:i(t,"ทีมผู้ช่วยทั้ง 7 ของคุณ","Meet Your 7 Companions")}),e.jsx("p",{className:"text-slate-400 max-w-2xl mx-auto text-lg",children:i(t,"แต่ละตัวประจำอยู่ในฟีเจอร์จริงของแพลตฟอร์ม — คอยพาอ่าน คอยส่องตลาด และคอยบอกตรงๆ ว่าอะไรวัดผลได้แค่ไหน","Each one lives inside a real feature — guiding, watching the markets, and telling you honestly what the numbers can and cannot say.")})]}),e.jsx("div",{className:"flex flex-wrap justify-center gap-4 md:gap-5",children:s.map((a,r)=>e.jsxs(m.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:r*.07},className:"group w-[150px] sm:w-[160px] p-4 bg-gradient-to-br from-slate-900/70 to-slate-900/40 border border-cyan-300/15 rounded-2xl text-center backdrop-blur-sm hover:border-emerald-500/30 hover:-translate-y-1 transition-all",children:[e.jsxs("div",{className:"relative mx-auto w-20 h-20 mb-3",children:[e.jsx("div",{className:"absolute inset-0 rounded-full bg-gradient-to-br from-emerald-500/25 via-teal-500/15 to-cyan-500/10 blur-xl opacity-0 group-hover:opacity-100 transition-opacity","aria-hidden":"true"}),e.jsx("img",{src:a.src,alt:a.name,loading:"lazy",decoding:"async",className:"relative w-full h-full object-contain animate-float motion-reduce:animate-none group-hover:scale-110 transition-transform",style:{animationDelay:`${r*.35}s`}})]}),e.jsx("p",{className:"text-white font-semibold text-sm",children:a.name}),e.jsx("p",{className:"text-emerald-400/90 text-[11px] font-medium mt
121-0.5",children:a.role}),e.jsx("p",{className:"text-slate-400 text-[11px] leading-relaxed mt-1.5",children:a.desc})]},a.role))}),e.jsx(m.p,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},className:"text-center text-slate-500 text-sm mt-10",children:i(t,"เจอพวกเขาได้ในคู่มือ ห้องเรียน ฟีดข่าว และเครื่องมือสแกน — สมัครฟรีแล้วทักทายได้เลย","Find them in the guide, the academy, the news feed and the scanners — sign up free and say hi.")})]})]})},n0=({language:t})=>{const{stats:s}=xs(),a=t==="th"?"th":"en",r=(o,c)=>i(t,o,c),l=s.signals30d,n=s.vipMembers;return e.jsx("div",{className:"relative px-4 pb-24 pt-4 md:pb-28",children:e.jsxs("div",{className:"relative z-10 mx-auto max-w-6xl",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center",children:[e.jsxs("p",{className:"mx-auto max-w-4xl text-2xl font-semibold leading-snug text-slate-200 md:text-4xl",children:[l!==null&&e.jsxs(e.Fragment,{children:[r("ใน 30 วันที่ผ่านมา ส่งสัญญาณไปแล้ว","In the last 30 days,")," ",e.jsx("b",{className:"text-emerald-300 tabular-nums",children:l.toLocaleString()})," ",r("ไม้","signals sent,")," "]}),r("ครอบคลุม","covering")," ",e.jsxs("b",{className:"text-cyan-300 tabular-nums",children:[we," ",r("สินทรัพย์","assets")]})," ",r("ใน","across")," ",e.jsxs("b",{className:"text-cyan-300 tabular-nums",children:[Jt," ",r("กลุ่ม","asset classes")]})]}),e.jsxs("p",{className:"mt-3 text-sm text-slate-400 md:text-base",children:[t==="th"?"ทองคำ · คริปโต · คู่เงินหลัก · ดัชนีหุ้น":"Gold · Crypto · FX majors · Indices",n!==null&&e.jsxs(e.Fragment,{children:[" · ",r("สมาชิก VIP","VIP members")," ",e.jsx("b",{className:"text-slate-200 tabular-nums",children:n})]})]})]}),e.jsx("div",{className:"mt-10 md:mt-12",children:e.jsx(gr,{lang:a,t:r})}),e.jsx("p",{className:"mx-auto mt-6 max-w-2xl text-center text-xs leading-relaxed text-slate-500 md:text-sm",children:r("เวลาเปิด-ปิดของแต่ละ session คำนวณจากโซนเวลาจริงของเมืองนั้น รวมการปรับ DST — ข้อมูลชุดเดียวกับ widget นาฬิกาตลาดสาธารณะของเรา","Each session's open and close come from that city's own time zone, DST included — the same data behind our public market-clock widget.")}),e.jsx("p",{className:"mx-auto mt-2 max-w-2xl text-center text-xs leading-relaxed text-slate-500 md:text-sm",children:r("ตัวเลขบนการ์ดคือความแรงของการเคลื่อนไหว (×1.00 = ค่าเฉลี่ยของสินทรัพย์นั้น) และสัดส่วนสัญญาณที่จบภายใน 1 ชั่วโมง วัดจากสัญญาณที่ปิดแล้วทั้งหมดในช่วงเวลานั้น ไม่ใช่อัตราชนะ เพราะอัตราชนะไม่ต่างกันตามช่วงเวลา","The numbers on each card are move strength (×1.00 = that asset's own average) and the share of signals settled within an hour, over every settled signal in that window — not a win rate, because win rate does not differ by time of day.")})]})})},ht="",o0=({language:t})=>{const[s,a]=p.useState(!1),r=(o,c)=>i(t,o,c),l=ht.length>0,n=[{icon:"/avatars/3d/biz-data-analysis.webp",title:r("เอนจินของเราเอง ตัดสินผลด้วยราคาจริง","Our own engine, graded on real prices"),desc:r("สัญญาณทุกไม้ถูกตัดสินอัตโนมัติจากราคา OHLC จริงว่าแตะ TP หรือ SL ก่อน ไม่มีใครมาแก้ผลย้อนหลัง","Every signal is settled automatically against real OHLC — TP or SL touched first. Nobody edits an outcome after the fact.")},{icon:"/avatars/3d/biz-chart.webp",title:r("Track record เปิดทุกไม้","A track record that shows every trade"),desc:r("หน้า track record สาธารณะโชว์ทั้งไม้ที่ชนะและแพ้ และวางจุดคุ้มทุนไว้ข้างทุกเปอร์เซ็นต์ ไม่มี highlight reel","The public track record lists wins and losses alike, with the break-even rate beside every percentage. No highlight reel."),href:"/analysis",cta:r("ดู track record","See the track record")},{icon:"/avatars/3d/biz-notification.webp",title:r("โค้ชตลาดรายงานสด","Market coaches that report live"),desc:r("มาสคอตประจำหมวดสินทรัพย์รายงานความกว้างตลาดและพาดหัวแบบเรียลไทม์ พร้อมบอกแหล่งข้อมูลบนการ์ดทุกใบ","A mascot per asset class reports market breadth and headlines in real time, with its data source printed on every card.")},{icon:"/avatars/3d/biz-goal.webp",title:r("รางวัลà¸
121ˆà¸²à¸à¸„วามสม่ำเสมอ ไม่ใช่จากผลเทรด","Rewards for showing up, not for P/L"),desc:r("Room Ranks จัดอันดับเวลาใช้งานรายสัปดาห์ แจกเครดิต 3/2/1 และตู้เสื้อผ้าให้ปลดล็อกจากการใช้งานจริง วัดเวลาบนหน้าจอ ไม่ใช่ฝีมือ","Room Ranks ranks weekly time on screen and pays 3/2/1 credits; the Closet unlocks with real usage. It measures presence, never skill.")}];return e.jsxs("section",{className:"relative px-4 py-24",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-slate-900/50 to-transparent"}),e.jsxs("div",{className:"relative z-10 mx-auto max-w-6xl",children:[e.jsxs("div",{className:`grid items-center gap-10 ${l?"lg:grid-cols-2":""}`,children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:l?"":"mx-auto max-w-3xl text-center",children:[e.jsx("span",{className:"text-emerald-400 text-sm font-medium uppercase tracking-wider",children:r("ทำไมต้อง Alpha AI Signals","Why Alpha AI Signals")}),e.jsx("h2",{className:"mt-4 text-3xl font-bold text-white md:text-5xl",children:r("อะไรทำให้เราต่าง","What makes us different")}),e.jsx("p",{className:"mt-5 text-lg text-slate-400",children:r("เราไม่ได้ขายตัวเลขสวยๆ เราขายระบบที่ตรวจสอบได้ ทุกสัญญาณถูกตัดสินด้วยราคาจริง และทุกตัวเลขบนหน้านี้มีที่มาที่คุณดูย้อนได้","We do not sell pretty numbers. We sell a system you can audit: every signal is graded on real prices, and every figure on this page has a source you can check.")}),l&&e.jsx("p",{className:"mt-3 text-sm text-slate-500",children:r("ฟังจากผู้ก่อตั้งว่าทำไมถึงสร้าง Alphasigs ขึ้นมา","Hear from the founder why Alphasigs exists.")})]}),l&&e.jsx(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"relative overflow-hidden rounded-3xl border border-cyan-300/15 bg-slate-950/70 shadow-2xl",children:e.jsx("div",{className:"relative w-full",style:{paddingBottom:"56.25%"},children:s?e.jsx("iframe",{className:"absolute inset-0 h-full w-full",src:`https://www.youtube-nocookie.com/embed/${ht}?rel=0&autoplay=1`,title:"Alpha AI Signals — founder",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}):e.jsxs("button",{type:"button",onClick:()=>a(!0),className:"group absolute inset-0 h-full w-full","aria-label":r("เล่นวิดีโอ","Play video"),children:[e.jsx("img",{src:`https://i.ytimg.com/vi/${ht}/hqdefault.jpg`,alt:"",loading:"lazy",className:"h-full w-full object-cover"}),e.jsx("span",{className:"absolute inset-0 grid place-items-center bg-slate-950/30 transition group-hover:bg-slate-950/10",children:e.jsx("span",{className:"grid h-16 w-16 place-items-center rounded-full border border-cyan-200/50 bg-slate-950/70 text-cyan-100 backdrop-blur",children:e.jsx(Re,{className:"ml-1 h-6 w-6"})})})]})})})]}),e.jsx("div",{className:"mt-14 grid gap-5 sm:grid-cols-2 lg:grid-cols-4",children:n.map((o,c)=>e.jsxs(m.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:c*.08},className:"group relative flex flex-col overflow-hidden rounded-2xl border border-cyan-300/15 bg-gradient-to-b from-slate-900/80 to-slate-950/60 p-6 backdrop-blur-sm transition-all hover:-translate-y-1 hover:border-emerald-500/30",children:[e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 opacity-[0.07] [background-image:repeating-linear-gradient(90deg,rgba(34,211,238,0.9)_0_1px,transparent_1px_14px),repeating-linear-gradient(0deg,rgba(34,211,238,0.6)_0_1px,transparent_1px_22px)] [mask-image:linear-gradient(to_bottom,black,transparent_70%)]"}),e.jsxs("div",{className:"relative mx-auto h-28 w-28",children:[e.jsx("div",{"aria-hidden":"true",className:"absolute inset-0 rounded-full bg-gradient-to-br from-cyan-500/25 via-emerald-500/15 to-transparent opacity-70 blur-2xl transition-opacity group-hover:opacity-100"}),e.jsx("img",{src:o.icon,alt:"",loading:"lazy",decoding:"async",className:"relative h-full w-full object-contain drop-shadow-[0_12px_24px_rgba(0,0,0,0.55)] transition-transform group-hover:scale-105"})]}),e.jsx("h3",{className:"relative mt-6 text-lg font-semibold text-white",children:o.title}),e.jsx("p",{className:"relative mt-2 flex-1 text-sm leading-relaxed text-slate-400",children:o.desc}),o.href&&e.jsxs("a",{href:o.href,className:"relative mt-4 inline-flex items-center gap-1.5 text-sm font-semibold text-emerald-300 hover:text-emerald-200",children:[o.cta,e.jsx(le,{className:"h-4 w-4"})]})]},o.title))})]})]})}
121,c0=[{channel:"discord",name:"Discord",icon:"/avatars/3d/social-discord.webp",href:Zs,actionTh:"เข้าร่วมเซิร์ฟเวอร์",actionEn:"Join server"},{channel:"telegram",name:"Telegram",icon:"/avatars/3d/social-telegram.webp",href:"https://t.me/tradertanclub",actionTh:"เข้าร่วมช่อง",actionEn:"Join channel"},{channel:"facebook",name:"Facebook",icon:"/avatars/3d/social-facebook.webp",href:"https://www.facebook.com/profile.php?id=61587863807821",actionTh:"ติดตามเพจ",actionEn:"Follow the page"},{channel:"youtube",name:"YouTube",icon:"/avatars/3d/social-youtube.webp",href:"https://www.youtube.com/@TanOfficialTrader",actionTh:"ดูคลิป",actionEn:"Watch"}],d0=(t,s)=>t==="members"?s("สมาชิก","Members"):t==="subscribers"?s("ผู้ติดตาม","Subscribers"):s("ผู้ติดตาม","Followers"),x0=({language:t,onFreeSignup:s})=>{const a=(l,n)=>i(t,l,n),r=t==="th"?"th":"en";return e.jsxs("section",{className:"relative overflow-hidden px-4 py-24",children:[e.jsx("div",{className:"pointer-events-none absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-emerald-400/30 to-transparent"}),e.jsx("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-1/2 top-1/2 h-[520px] w-[820px] max-w-full -translate-x-1/2 -translate-y-1/2 rounded-full bg-[radial-gradient(circle_at_50%_50%,rgba(251,191,36,0.07),transparent_65%)]"}),e.jsxs("div",{className:"relative z-10 mx-auto max-w-6xl",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mx-auto max-w-3xl text-center",children:[e.jsx("span",{className:"text-emerald-400 text-sm font-medium uppercase tracking-wider",children:a("อันดับห้อง Alphasigs","Alphasigs Room Ranks")}),e.jsxs("h2",{className:"mt-4 text-3xl font-bold leading-tight text-white md:text-5xl",children:[a("ยิ่งอยู่ในห้องนาน","The longer you stay in the room,"),e.jsx("br",{}),e.jsx("span",{className:"bg-gradient-to-r from-emerald-300 via-cyan-300 to-amber-300 bg-clip-text text-transparent",children:a("แดนยิ่งสูง","the higher your realm")})]}),e.jsx("p",{className:"mt-5 text-lg text-slate-400",children:a("ทุกนาทีที่คุณเปิด Alphasigs ไว้บนหน้าจอถูกนับเป็นเวลาสะสมประจำสัปดาห์ สะสมครบก็ขยับแดน ตั้งแต่ซิดนีย์ไปจนถึง Overlap และทุกเช้าวันจันทร์ VIP สามอันดับแรกรับเครดิต","Every minute Alphasigs is open on your screen counts toward a weekly total. Bank enough and you climb a realm, from Sydney up to Overlap, and every Monday morning the top three VIP members collect credits.")}),e.jsx("p",{className:"mt-3 text-xs text-slate-500",children:Or(r)})]}),e.jsx(m.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mt-14",children:e.jsx(Fr,{t:a,lang:r})}),e.jsxs("div",{className:"mt-12 text-center",children:[e.jsxs("button",{type:"button",onClick:s,className:"inline-flex items-center gap-2 rounded-xl border border-emerald-400/50 bg-emerald-400/5 px-6 py-3 font-bold text-emerald-100 transition-all hover:border-emerald-300 hover:bg-emerald-400/10 hover:shadow-lg hover:shadow-emerald-500/20",children:[e.jsx("span",{children:a("เข้าห้องแล้วเริ่มสะสม — ทดลองใช้ฟรี 3 วัน","Join the room and start banking hours — 3-day free trial")}),e.jsx(le,{className:"h-4 w-4"})]}),e.jsx("p",{className:"mt-3 text-xs text-slate-500",children:a("ไม่ต้องใช้บัตร • สมาชิกฟรีก็ขึ้นกระดานได้","No card needed • free members appear on the board too")})]})]})]})},m0=({language:t,onFreeSignup:s})=>{const{stats:a}=xs(),[r,l]=p.useState(null),[n,o]=p.useState({}),c=(d,u)=>i(t,d,u);return p.useEffect(()=>{let d=!1;return zr().then(u=>{d||o(u)}
121),()=>{d=!0}},[]),e.jsxs("section",{className:"relative overflow-hidden px-4 py-24",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent via-slate-900/40 to-transparent"}),e.jsxs("div",{className:"relative z-10 mx-auto grid max-w-6xl items-center gap-12 lg:grid-cols-[minmax(0,1fr)_minmax(0,1.05fr)]",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[e.jsx("span",{className:"text-emerald-400 text-sm font-medium uppercase tracking-wider",children:c("ชุมชน Alpha AI Signals","The Alpha AI Signals community")}),e.jsxs("h2",{className:"mt-4 text-3xl font-bold leading-tight text-white md:text-5xl",children:[c("ทุกช่องคือสมาชิก","Every tile is a member"),e.jsx("br",{}),e.jsx("span",{className:"bg-gradient-to-r from-emerald-300 to-cyan-300 bg-clip-text text-transparent",children:c("ที่ดูสัญญาณเดียวกับคุณอยู่ตอนนี้","watching the same signals as you, right now")})]}),e.jsx("p",{className:"mt-5 text-lg text-slate-400",children:c("ช่องที่สว่างคือคนที่ออนไลน์อยู่ในนาทีนี้ ช่องที่หรี่คือสมาชิกที่แวะเข้ามาในสัปดาห์นี้ ไม่มีชื่อ ไม่มีรูปจริง มีแต่ avatar ที่แต่ละคนเลือกเอง","Bright tiles are members online this minute; dim ones are members who dropped in this week. No names, no photos — only the avatar each member picked.")}),e.jsx("p",{className:"mt-2 text-sm text-slate-500",children:c("ชี้ที่ช่องสว่างเพื่อดูสถานะของสมาชิกคนนั้น","Point at a lit tile to see that member’s status.")}),e.jsxs("div",{className:"mt-7 flex flex-wrap items-center gap-x-6 gap-y-3 text-sm",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 text-slate-300",children:[e.jsx("span",{className:"h-2 w-2 rounded-full bg-emerald-400 shadow-[0_0_10px_rgba(52,211,153,0.9)]"}),e.jsx("b",{className:"text-white tabular-nums",children:r??"—"})," ",c("ออนไลน์ตอนนี้","online now")]}),a.vipMembers!==null&&e.jsxs("span",{className:"inline-flex items-center gap-2 text-slate-300",children:[e.jsx("span",{className:"h-2 w-2 rounded-full bg-slate-500"}),e.jsx("b",{className:"text-white tabular-nums",children:a.vipMembers})," ",c("สมาชิก VIP","VIP members")]}),a.signals30d!==null&&e.jsxs("span",{className:"inline-flex items-center gap-2 text-slate-300",children:[e.jsx("span",{className:"h-2 w-2 rounded-full bg-cyan-400"}),e.jsx("b",{className:"text-white tabular-nums",children:a.signals30d.toLocaleString()})," ",c("สัญญาณใน 30 วัน","signals in 30 days")]})]}),e.jsxs("div",{className:"mt-8",children:[e.jsxs("button",{type:"button",onClick:s,className:"inline-flex items-center gap-2 rounded-xl bg-gradient-to-r from-emerald-500 to-cyan-500 px-6 py-3 font-bold text-slate-900 transition-all hover:shadow-lg hover:shadow-emerald-500/25",children:[e.jsx(Ke,{className:"h-4 w-4"}),e.jsx("span",{children:c("เข้าร่วมชุมชน — ทดลองใช้ฟรี 3 วัน","Join the community — 3-day free trial")}),e.jsx(le,{className:"h-4 w-4"})]}),e.jsx("p",{className:"mt-3 text-xs text-slate-500",children:c("ไม่ต้องใช้บัตร • ห้องพูดคุยเปิดให้ทุกคน ส่วนห้องสัญญาณใน Discord เปิดเฉพาะสมาชิก VIP","No card needed • the chat rooms are open to everyone; the signal rooms in Discord stay VIP-only")})]})]}),e.jsxs(m.div,{initial:{opacity:0,scale:.96},whileInView:{opacity:1,scale:1},viewport:{once:!0},className:"relative mx-auto w-full max-w-[560px]",children:[e.jsx("div",{"aria-hidden":"true",className:"absolute -inset-[6%] -z-10 rounded-full bg-[radial-gradient(circle_at_50%_50%,rgba(34,211,238,0.12),transparent_68%)]"}),e.jsx(Tr,{columns:24,onOnlineCount:l,t:c,lang:t==="th"?"th":"en"})]})]}),e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"relative z-10 mx-auto mt-16 max-w-6xl",children:[e.jsx("p",{className:"text-center text-xs font-bold uppercase tracking-[0.28em] text-slate-500",children:c("ติดตาม Alpha AI Signals","Follow Alpha AI Signals")}),e.jsx("div",{className:"mt-6 grid grid-cols-2 gap-4 md:grid-cols-4",children:c0.map(d=>{const u=n[d.channel],x=u&&u.count!==null&&u.count>=Wr?u:null;return e.jsxs("a",{href:d.href,target:"_blank",rel:"noopener noreferrer",className:"group relative flex flex-col items-center overflow-hidden rounded-2xl border border-white/[0.08] bg-[linear-gradient(180deg,rgba(15,23,42,0.92)_0%,rgba(2,6,23,0.8)_55%,rgba(34,211,238,0.12)_100%)] px-4 pb-6 pt-7 text-center shadow-[0_30px_60px_-30px_rgba(0,0,0,0.9)] transition-all duration-300 hover:-translate-y-1 hover:border-cyan-300/30 hover:shadow-[0_24px_50px_-24px_rgba(34,211,238,0.45)]",children:[e.jsx("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-6 top-0 h-px bg-gradient-to-r from-transparent via-cyan-200/50 to-transparent"}),e.jsx("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 h-28 bg-[radial-gradient(70%_100%_at_50%_100%,rgba(34,211,238,0.22),transparent_70%)]"}),e.jsxs("span",{"aria-hidden":"true",className:"relative mb-4 grid h-24 w-24 place-items-center",children:[e.jsx("span",{className:"absolute inset-2 rounded-full bg-cyan-400/15 blur-xl transition-opacity group-hover:opacity-100"}),e.jsx("img",{src:d.icon,alt:"",loading:"lazy",decoding:"async",className:"relative h-20 w-20 object-contain drop-shadow-[0_14px_24px_rgba(0,0,0,0.7)] transition-transform duration-300 group-hover:scale-110"})]}),e.jsx("span",{className:"relative text-[11px] font-bold uppercase tracking-[0.24em] text-slate-400",children:d.name}),x&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"relative mt-1 text-3xl font-extrabold tabular-nums text-white md:text-[2.1rem]",children:Hr(x.count,x.approximate)}),e.jsx("span",{className:"relative text-[10px] font-bold uppercase tracking-[0.22em] text-slate-500",children:d0(x.label,c)})]}),e.jsxs("span",{className:`relative inline-flex items-center gap-1.5 text-sm font-semibold text-cyan-200 ${x?"mt-4":"mt-3"}`,children:[c(d.actionTh,d.actionEn),e.jsx(le,{className:"h-3.5 w-3.5 transition-transform group-hover:translate-x-0.5"})]})]},d.name)})})]})]})},h0=({language:t})=>{const s=(r,l)=>i(t,r,l),a=[{step:s("ขั้นที่ 1","Step 1"),eyebrow:s("สมัครและทดลองใช้","Sign up & try"),title:s("ทดลองใช้ฟรี 3 วัน","Start a 3-day free trial"),desc:s("สมัครในไม่กี่วินาที ไม่ต้องใช้บัตร เข้าถึงสัญญาณและเครื่องมือวิเคราะห์ได้เต็มระบบ หมดช่วงทดลองแล้วค่อยเลือกแพ็กเกจ VIP ที่เหมาะกับคุณ","Sign up in seconds, no card needed, with full access to the signals and analysis tools. Pick the VIP plan that fits once the trial ends."),visual:e.jsx(hs,{top:s("ทดลองใช้ฟรี 3 วัน","FREE 3-DAY TRIAL"),bottom:s("ไม่ต้องใช้บัตร","NO CARD NEEDED"),center:"3",sub:s("วัน","DAYS")})},{step:s("ขั้นที่ 2","Step 2"),eyebrow:s("รับสัญญาณ","Receive signals"),title:s("รับสัญญาณ Real-time","Receive real-time signals"),desc:s("เข้า Dashboard เพื่อดูสัญญาณเทรดพร้อม Entry, TP, SL และบริบท Killzone ของช่วงเวลานั้น ส่งต่อเข้า Telegram หรือ Discord ของคุณได้","Open the dashboard for signals with Entry, TP, SL and the Killzone context of the hour — and forward them to your Telegram or Discord."),visual:e.jsx(ja,{t:s})},{step:s("ขั้นที่ 3","Step 3"),eyebrow:s("ตัดสินใจด้วยข้อมูล","Decide on data"),title:s("เทรดอย่างมั่นใจ","Trade with confidence"),desc:s("ยืนยันก่อนเข้าออเดอร์ด้วยเครื่องมือ AI และ Smart Money — โครงสร้างราคา Order Block และ Order Flow อยู่ในหน้าจอเดียว","Confirm before you enter with the AI and Smart Money tools — price structure, order blocks and order flow on one screen."),visual:e.jsx(ka,{t:s})}];return e.jsx("section",{className:"py-24 px-4 bg-slate-900/30",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-14",children:[e.jsx("span",{className:"text-emerald-400 text-sm font-medium uppercase tracking-wider",children:s("วิธีการทำงาน","How It Works")}),e.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-white mt-4 mb-6",children:s("เริ่มต้นง่ายใน 3 ขั้นตอน","Start in 3 Easy Steps")}),e.jsx("p",{className:"text-slate-400 max-w-2xl mx-auto text-lg",children:s("เส้นทางเดียวจากสมัครถึงเข้าออเดอร์ ไม่มีขั้นตอนซ่อน","One path from sign-up to your first trade, nothing hidden")})]}),e.jsx("div",{className:"grid gap-6 md:grid-cols-3",children:a.map((r,l)=>e.jsx(m.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:l*.12},className:"h-full",children:e.jsx(ms,{step:r.step,eyebrow:r.eyebrow,title:r.title,de
121sc:r.desc,visual:r.visual})},r.title))})]})})},p0=({feature:t,index:s,canHover:a})=>{const[r,l]=p.useState(!1),n=!a||r;return e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s*.1},onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),className:"group flex h-full flex-col p-6 bg-gradient-to-br from-slate-900/70 to-slate-900/40 border border-cyan-300/15 shadow-[0_0_28px_rgba(34,211,238,0.07)] rounded-2xl hover:border-emerald-500/30 transition-all backdrop-blur-sm",children:[e.jsx("div",{className:`w-14 h-14 bg-gradient-to-br ${t.gradient} rounded-xl flex items-center justify-center mb-5 group-hover:scale-110 transition-transform shadow-lg`,children:e.jsx(t.icon,{className:"w-7 h-7 text-white"})}),e.jsx("h3",{className:"text-xl font-semibold text-white mb-3",children:t.title}),e.jsx("p",{className:"text-slate-400 leading-relaxed",children:t.description}),e.jsx("div",{className:"mt-auto pt-5",children:e.jsx(us,{id:t.art,lit:n,height:92})})]})},u0=({language:t})=>{const s=ps(),a=[{icon:tt,title:"AI Analysis",art:"ai",description:i(t,"วิเคราะห์ตลาดด้วยสถิติและอินดิเคเตอร์ที่คำนวณสดจากข้อมูลตลาดจริง","Statistical market analysis computed live from real market data"),gradient:"from-violet-500 to-purple-500"},{icon:st,title:"Smart Money Concepts",art:"smc",description:i(t,"ติดตามการเคลื่อนไหวของ Institutional Traders ด้วย Order Blocks และ FVG","Track institutional activity with Order Blocks and FVG"),gradient:"from-emerald-500 to-cyan-500"},{icon:ke,title:"Order Flow Analysis",art:"orderflow",description:i(t,"วิเคราะห์ Volume Profile และ Liquidity เพื่อหาจุดเข้า-ออกที่แม่นยำ","Use volume profile and liquidity to find precise entries and exits"),gradient:"from-orange-500 to-amber-500"},{icon:xe,title:"Real-time Signals",art:"signals",description:i(t,"รับสัญญาณเทรดทันทีพร้อม Entry, TP, SL และ Risk Management","Get instant trade signals with Entry, TP, SL, and risk management"),gradient:"from-pink-500 to-rose-500"},{icon:Nt,title:"Multi-Asset Support",art:"assets",description:i(t,"รองรับทั้ง Forex, 
121Crypto, และสินทรัพย์อื่นๆ ในแพลตฟอร์มเดียว","Supports Forex, Crypto, and more in one platform"),gradient:"from-blue-500 to-cyan-500"},{icon:ts,title:"Performance Tracking",art:"performance",description:i(t,"ติดตามผลการเทรดและสถิติสัญญาณอย่างละเอียด","Track detailed trading performance and signal stats"),gradient:"from-teal-500 to-emerald-500"}];return e.jsx("section",{className:"py-24 px-4",children:e.jsxs("div",{className:"max-w-6xl mx-auto",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[e.jsx("span",{className:"text-emerald-400 text-sm font-medium uppercase tracking-wider",children:i(t,"ฟีเจอร์เด่น","Features")}),e.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-white mt-4 mb-6",children:i(t,"เครื่องมือวิเคราะห์ระดับมืออาชีพ","Professional Analysis Tools")}),e.jsx("p",{className:"text-slate-400 max-w-2xl mx-auto text-lg",children:i(t,"รวมพลัง AI และ Smart Money Concepts ไว้ในที่เดียว","AI and Smart Money Concepts in one place")})]}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:a.map((r,l)=>e.jsx(p0,{feature:r,index:l,canHover:s},r.title))})]})})},f0=({language:t,onUnlock:s})=>{const a=[{icon:ke,title:i(t,"War Surface 3 มิติ","3D War Surface"),description:i(t,"มองตลาดเป็นภูมิประเทศ 3 มิติ เห็นแรงดันราคาและสภาพคล่องแบบเรียลไทม์","See the market as a 3D terrain of price pressure and live liquidity")},{icon:ze,title:i(t,"Liquidity Wells","Liquidity Wells"),description:i(t,"จับโซน Bid/Ask และ Liquidity Sweep จากออเดอร์บุ๊กจริง","Spot Bid/Ask zones and liquidity sweeps from the real order book")},{icon:tt,title:i(t,"AI Context Engine","AI Context Engine"),description:i(t,"อ่าน Volatility, Market Mass และความเสี่ยงด้วย AI ประกอบการตัดสินใจ","Read volatility, market mass, and AI risk to guide every decision")}];return e.jsxs("section",{className:"relative overflow-hidden py-24 px-4",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top,_rgba(34,211,238,0.10)_0%,transparent_55%)]"}),e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_bottom_right,_rgba(217,70,239,0.10)_0%,transparent_55%)]"}),e.jsxs("div",{className:"relative mx-auto grid max-w-6xl items-center gap-12 lg:grid-cols-2",children:[e.jsxs(m.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-cyan-400/30 bg-cyan-400/10 px-4 py-1.5 text-xs font-bold uppercase tracking-[0.3em] text-cyan-200",children:[e.jsx($e,{className:"h-3.5 w-3.5"})," Quantum Finance 3D"]}),e.jsx("h2",{className:"mt-5 text-3xl font-bold text-white md:text-5xl",children:i(t,"มองตลาดในมิติที่คุณไม่เคยเห็น","See the market in a dimension you never have")}),e.jsx("p",{className:"mt-4 max-w-xl text-lg leading-relaxed text-slate-400",children:i(t,"นี่คือตัวอย่างโหมดภูมิทัศน์เทรนด์แบบ Clean เห็น Hidden Liquidity Proxy และ Detail Labels แบบเรียลไทม์ — ปลดล็อกโหมด Quantum, MMAR และพื้นผิวจากข้อมูลจริง (Liquidation Map · Order Book Depth · Volume Profile) ได้ในแพ็กเกจ Pro","This is a preview of the Clean Trend Landscape mode with live Hidden Liquidity Proxy and Detail Labels — unlock Quantum, MMAR and the real-data surfaces (Liquidation Map · Order Book Depth · Volume Profile) with the Pro package.")}),e.jsx("div",{className:"mt-8 space-y-4",children:a.map(r=>e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"grid h-11 w-11 flex-shrink-0 place-items-center rounded-xl bg-gradient-to-br from-cyan-500 to-fuchsia-500 shadow-lg shadow-cyan-500/20",children:e.jsx(r.icon,{className:"h-5 w-5 text-white"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-white",children:r.title}),e.jsx("p",{className:"text-sm leading-relaxed text-slate-400",children:r.description})]})]},r.title))}),e.jsxs("button",{type:"button",onClick:s,className:"group mt-9 inline-flex items-center gap-2 rounded-full bg-gradient-to-r from-cyan-400 via-blue-400 to-fuchsia-400 px-8 py-3.5 text-base font-bold text-slate-950 shadow-[0_0_40px_rgba(34,211,238,0.4)] transition hover:shadow-[0_0_70px_rgba(217,70,239,0.55)]",children:[i(t,"ปลดล็อกฟีเจอร์ทั้งหมด","Unlock the full experience"),e.jsx(le,{className:"h-5 w-5 transition group-hover:translate-x-1"})]})]}),e.jsx(m.div,{initial:{opacity:0,scale:.92},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.7,delay:.15},className:"relative",children:e.jsxs("div",{className:"group relative",children:[e.jsx("div",{className:"pointer-events-none absolute -inset-1 z-0 bg-gradient-to-r from-cyan-500/20 via-blue-500/10 to-fuchsia-500/20 opacity-60 blur-xl transition-opacity duration-500 group-hover:opacity-100"}),e.jsx("div",{className:"relative z-10",children:e.jsx(cs,{className:"w-full",minHeight:460,rootMargin:"500px",children:e.jsx(p.Suspense,{fallback:e.jsx("div",{className:"flex h-[460px] w-full items-center justify-center rounded-3xl border border-cyan-500/20 bg-slate-950 text-sm text-slate-400",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(xe,{className:"h-4 w-4 animate-pulse text-cyan-300"}),i(t,"กำลังโหลด Live Surface…","Loading live surface…")]})}),children:e.jsx(Xr,{})})})}),e.jsxs("div",{className:"pointer-events-none absolute left-5 top-5 z-20 flex items-center gap-2 rounded-full border border-cyan-400/30 bg-slate-900/85 px-3 py-1.5 text-[11px] font-bold uppercase tracking-[0.2em] text-cyan-200 backdrop-blur-sm",children:[e.jsx(xe,{className:"h-3.5 w-3.5"}),i(t,"พรีวิว · ภูมิทัศน์เทรนด์","Preview · Trend Landscape")]}),e.jsxs("button",{type:"button",onClick:s,className:"absolute bottom-5 left-1/2 z-20 -translate-x-1/2 roun
121ded-2xl border border-white/10 bg-slate-900/85 px-5 py-3 text-center backdrop-blur-md transition hover:border-cyan-400/40",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 text-xs font-bold uppercase tracking-[0.25em] text-cyan-200",children:[e.jsx(xe,{className:"h-4 w-4"})," ",i(t,"ปลดล็อกโหมดเต็ม","Unlock full mode")]}),e.jsx("div",{className:"mt-1 text-sm text-slate-400",children:i(t,"Quantum · MMAR · AI Context Engine","Quantum · MMAR · AI Context Engine")})]})]})})]})]})},b0=({language:t,onUnlock:s})=>{const a=[{icon:Ke,title:i(t,"จำลองฝูงเทรดเดอร์ 400 ตัว","Simulate 400 trader agents"),description:i(t,"retail · สถาบัน · smart money — ดูว่าฝูงชนกำลังเอนไปทางไหน","Retail, institutions, smart money — see which way the crowd is leaning")},{icon:st,title:i(t,"จับจุดฟันสวน · Fade / Stop-hunt","Catch fade & stop-hunt zones"),description:i(t,"เมื่อฝูงแออัดเกินไป มักเป็นจุดที่ smart money เข้าสวน","When the crowd is over-extended, that's where smart money strikes")},{icon:ze,title:i(t,"Liquidity Heatmap + Key Voices","Liquidity heatmap + key voices"),description:i(t,"โซน stop กระจุก + ข่าวจาก Trump, Powell, BlackRock ที่ดันฝูง","Stop clusters + catalysts from Trump, Powell & BlackRock moving the crowd")}];return e.jsxs("section",{className:"relative overflow-hidden py-24 px-4",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_left,_rgba(139,92,246,0.10)_0%,transparent_55%)]"}),e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_bottom_right,_rgba(34,211,238,0.08)_0%,transparent_55%)]"}),e.jsxs("div",{className:"relative mx-auto grid max-w-6xl items-center gap-12 lg:grid-cols-2",children:[e.jsx(m.div,{initial:{opacity:0,scale:.92},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.7},className:"relative order-last lg:order-first",children:e.jsxs("div",{className:"group relative",children:[e.jsx("div",{className:"pointer-events-none absolute -inset-1 z-0 bg-gradient-to-r from-violet-500/20 via-cyan-500/10 to-violet-500/20 opacity-60 blur-xl transition-opacity duration-500 group-hover:opacity-100"}),e.jsx("div",{className:"relative z-10 h-[460px] w-full overflow-hidden rounded-3xl border border-violet-500/20 bg-black/40 shadow-2xl shadow-violet-500/10",children:e.jsx(cs,{className:"h-full w-full",rootMargin:"500px",children:e.jsx(p.Suspense,{fallback:e.jsx("div",{className:"flex h-full w-full items-center justify-center text-sm text-slate-400",children:e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(xe,{className:"h-4 w-4 animate-pulse text-violet-300"}),i(t,"กำลังโหลดเครือข่ายฝูงชน 3 มิติ…","Loading 3D crowd network…")]})}),children:e.jsx(Kr,{fill:!0})})})}),e.jsxs("div",{className:"pointer-events-none absolute -top-3.5 left-6 z-20 flex items-center gap-2 rounded-full border border-violet-400/30 bg-slate-900/85 px-3 py-1.5 text-[11px] font-bold uppercase tracking-[0.2em] text-violet-200 backdrop-blur-sm",children:[e.jsx($e,{className:"h-3.5 w-3.5"}),i(t,"อินเทอร์แอกทีฟ · ลากหมุนได้","Interactive · drag to rotate")]})]})}),e.jsxs(m.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-violet-400/30 bg-violet-400/10 px-4 py-1.5 text-xs font-bold uppercase tracking-[0.3em] text-violet-200",children:[e.jsx(Ke,{className:"h-3.5 w-3.5"})," Crowd Positioning Simulator"]}),e.jsx("h2",{className:"mt-5 text-3xl font-bold text-white md:text-5xl",children:i(t,"เห็นว่า “ฝูงชน” ยืนอยู่ฝั่งไหนก่อนใคร","See where the crowd stands before anyone else")}),e.jsx("p",{className:"mt-4 max-w-xl text-lg leading-relaxed text-slate-400",children:i(t,"MiroFish จำลองพฤติกรรมฝูงเทรดเดอร์หลายร้อยตัวต่อสินทรัพย์หนึ่ง เพื่อบอกว่าฝูงแออัดแค่ไหน วาง stop ไว้ตรงไหน และเมื่อไหร่ที่ smart money มักเข้าฟันสวน","MiroFish simulates hundreds of trader agents on a single asset to reveal how crowded the trade is, where their stops sit, and when smart money tends to fade the herd.")}),e.jsx("div",{className:"mt-8 space-y-4",children:a.map(r=>e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"grid h-11 w-11 flex-shrink-0 place-items-center rounded-xl bg-gradient-to-br from-violet-500 to-cyan-500 shadow-lg shadow-violet-500/20",children:e.jsx(r.icon,{className:"h-5 w-5 text-white"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-white",children:r.title}),e.jsx("p",{className:"text-sm leading-relaxed text-slate-400",children:r.description})]})]},r.title))}),e.jsxs("button",{type:"button",onClick:s,className:"group mt-9 inline-flex items-center gap-2 rounded-full bg-gradient-to-r from-violet-400 via-purple-400 to-cyan-400 px-8 py-3.5 text-base font-bold text-slate-950 shadow-[0_0_40px_rgba(139,92,246,0.4)] transition hover:shadow-[0_0_70px_rgba(34,211,238,0.55)]",children:[i(t,"ลองใช้เมื่อสมัครสมาชิก","Try it with a membership"),e.jsx(le,{className:"h-5 w-5 transition group-hover:translate-x-1"})]})]})]})]})},y0=({articles:t,language:s})=>{const a=t[0],r=t.slice(1,5);return e.jsxs("section",{className:"py-24 px-4 bg-slate-900/30 relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_bottom_left,_rgba(16,185,129,0.05)_0%,transparent_60%)]"}),e.jsxs("div",{className:"max-w-7xl mx-auto relative",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"flex flex-col md:flex-row md:items-end justify-between gap-6 mb-14",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-emerald-400 text-sm font-semibold uppercase tracking-widest",children:i(s,"บทความล่าสุด","Latest Articles")}),e.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-white mt-4 mb-3",children:i(s,"บทความล่าสุด","Latest Articles")}),e.jsx("p",{className:"text-slate-400 text-lg",children:i(s,"เรียนรู้กลยุทธ์และเทคนิคการเทรดจากผู้เชี่ยวชาญ","Learn strategies and trading techniques from experts")})]}),e.jsxs("a",{href:"/news",className:"group inline-flex items-center gap-2 px-6 py-3 bg-emerald-500/10 hover:bg-emerald-500/20 text-emerald-400 font-medium rounded-xl border border-emerald-500/20 hover:border-emerald-500/40 transition-all",children:[e.jsx("span",{children:i(s,"ดูทั้งหมด","View All")}),e.jsx(le,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})]}),a&&e.jsxs("div",{className:"grid lg:grid-cols-2 gap-6 mb-6",children:[e.jsxs(m.a,{href:`/news?article=${a.id}`,initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"group relative rounded-3xl overflow-hidden aspect-[4/3] lg:aspect-auto lg:row-span-2",children:[e.jsx("img",{src:a.thumbnail||"https://images.unsplash.com/photo-1611974789855-9c2a0a7236
121a3?w=800",alt:a.title,className:"absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-slate-950 via-slate-950/60 to-transparent"}),e.jsxs("div",{className:"absolute inset-0 flex flex-col justify-end p-8",children:[e.jsx("span",{className:"inline-flex w-fit px-3 py-1.5 bg-emerald-500 text-white text-xs font-bold rounded-lg mb-4 uppercase tracking-wide",children:a.category}),e.jsx("h3",{translate:"no",className:"text-2xl md:text-3xl font-bold text-white mb-3 line-clamp-3 group-hover:text-emerald-300 transition-colors leading-tight",children:a.title}),e.jsx("p",{className:"text-slate-300 line-clamp-2 mb-4 max-w-lg",children:a.excerpt}),e.jsxs("div",{className:"flex items-center gap-5 text-sm text-slate-400",children:[e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(ft,{className:"w-4 h-4"}),Math.ceil(a.content.split(" ").length/200)," ",i(s,"นาทีอ่าน","min read")]}),e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(ut,{className:"w-4 h-4"}),a.views.toLocaleString()," ",i(s,"ครั้ง","views")]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5 text-emerald-400 font-medium opacity-0 group-hover:opacity-100 transition-opacity",children:[i(s,"อ่านต่อ","Read More")," ",e.jsx(le,{className:"w-4 h-4"})]})]})]})]}),e.jsx("div",{className:"flex flex-col gap-4",children:r.map((l,n)=>e.jsxs(m.a,{href:`/news?article=${l.id}`,initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:n*.1},className:"group flex gap-4 bg-slate-800/40 border border-slate-700/40 rounded-2xl p-4 hover:border-emerald-500/30 hover:bg-slate-800/60 transition-all",children:[e.jsx("div",{className:"w-28 h-28 md:w-36 md:h-28 rounded-xl overflow-hidden flex-shrink-0 relative",children:e.jsx("img",{src:l.thumbnail||"https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=400",alt:l.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500"})}),e.jsxs("div",{className:"flex flex-col justify-center min-w-0 flex-1",children:[e.jsx("span",{className:"text-emerald-400 text-xs font-semibold uppercase tracking-wide mb-1.5",children:l.category}),e.jsx("h3",{translate:"no",className:"text-white font-semibold line-clamp-2 group-hover:text-emerald-300 transition-colors mb-2 leading-snug",children:l.title}),e.jsxs("div",{className:"flex items-center gap-4 text-xs text-slate-500",children:[e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(ft,{className:"w-3.5 h-3.5"}),Math.ceil(l.content.split(" ").length/200)," ",i(s,"นาที","min")]}),e.jsxs("span",{className:"flex items-center gap-1.5",children:[e.jsx(ut,{className:"w-3.5 h-3.5"}),l.views.toLocaleString()]})]})]})]},l.id))})]})]})]})},g0=({language:t,onSelectPlan:s,onLoginClick:a})=>{const[r,l]=p.useState("30d"),[n,o]=p.useState(!0),[c,d]=p.useState(""),[u,x]=p.useState([]),[b,w]=p.useState([]),[A,k]=p.useState([]),[P,y]=p.useState("rank"),[S,T]=p.useState(6);p.useEffect(()=>{let f=!1;const N=($,V=0)=>{const F=Number($);return Number.isFinite(F)?F:V},Q=$=>{if($==null)return null;const V=Number($);return Number.isFinite(V)?V:null},K=$=>{const V=String($||"").trim().toLowerCase();return V==="7d"||V==="30d"||V==="60d"?V:"30d"};return(async()=>{o(!0),d("");const $=async(B,Ue,rt)=>{var de;const ye=await rt();if(!ye.error)return{data:ye.data||[],error:null};if(String(((de=ye.error)==null?void 0:de.message)||"").toLowerCase().includes("statement timeout"))return{data:[],error:ye.error};console.warn(`[Landing Killzone] ${B} (filtered) failed; retrying plain RPC`,ye.error);const te=await ce.rpc(B).select(Ue);return{data:(te.data||[]).filter(je=>K(je.period)===r),error:te.error}},[V,F,E]=await Promise.all([$("get_killzone_all_assets_period_summary","*",()=>ce.rpc("get_killzone_all_assets_period_summary").select("*").eq("period",r).order("composite_score",{ascending:!1}).limit(80)),$("get_killzone_all_assets_hourly_rankings","*",()=>ce.rpc("get_killzone_all_assets_hourly_rankings").select("*").eq("period",r).order("rank_overall",{ascending:!0}).limit(500)),$("get_killzone_all_assets_weekday_rankings","*",()=>ce.rpc("get_killzone_all_assets_weekday_rankings").select("*").eq("period",r).order("dow_iso",{ascending:!0}).order("composite_score",{ascending:!1}).limit(200))]);if(f)return;(V.error||F.error||E.error)&&d(i(t,"โหลดข้อมูลบางส่วนไม่ได้ จะแสดงเท่าที่ดึงจากระบบได้ในตอนนี้","Some dashboard sources are temporarily unavailable; showing all rows that could be loaded."));const he=(V.data||[]).map(B=>({period:K(B.period),asset:String(B.asset||"UNKNOWN"),killzone_window:String(B.killzone_window||"OUTSIDE"),wl_count:N(B.wl_count),win_rate_pct:Q(B.win_rate_pct),composite_score:N(B.composite_score)})),Ae=(F.data||[]).map(B=>({period:K(B.period),asset:String(B.asset||"UNKNOWN"),killzone_window:String(B.killzone_window||"OUTSIDE"),hour_bkk:N(B.hour_bkk),wl_count:N(B.wl_count),win_rate_pct:Q(B.win_rate_pct),composite_score:N(B.composite_score),rank_overall:N(B.rank_overall??B.rank_in_asset??B.rank_in_asset_killzone,9999)})),He=(E.data||[]).map(B=>({period:K(B.period),asset:String(B.asset||"UNKNOWN"),dow_iso:N(B.dow_iso,1),weekday_name:String(B.weekday_name||"UNKNOWN"),trade_count:N(B.trade_count),wl_count:N(B.wl_count),win_rate_pct:Q(B.win_rate_pct),composite_score:N(B.composite_score)}));x(he),w(Ae),k(He),o(!1)})(),()=>{f=!0}},[t,r]);const j=f=>{const N=String(f||"").toUpperCase(),Q={XAUUSD:"XAU",XAGUSD:"XAG",BTCUSD:"BTC",ETHUSD:"ETH",USOUSD:"WTI",UKOUSD:"BRENT",XNGUSD:"NATGAS",USTEC:"NAS100"};return Q[N]?Q[N]:N.endsWith("USD")&&N.length>3?N.slice(0,-3):N},I=u.filter(f=>f.period===r).sort((f,N)=>N.composite_score-f.composite_score),W=I.slice(0,8),h=b.filter(f=>f.period===r).sort((f,N)=>f.rank_overall-N.rank_overall),g=h.slice(0,10),_=ir(),H=Array.from(new Set(I.map(f=>String(f.asset||"").toUpperCase()))),G=Array.from(new Set(h.map(f=>String(f.asset||"").toUpperCase()))),M=(H.length>0?H:G).slice(0,S),X=new Map;for(const f of h){const N=String(f.asset||"").toUpperCase();if(!N)continue;
121const Q=Math.max(0,Math.min(23,Math.floor(Number(f.hour_bkk||0))));X.has(N)||X.set(N,new Map);const K=X.get(N),ee=K.get(Q);(!ee||Number(f.composite_score||0)>Number(ee.composite_score||0))&&K.set(Q,f)}const ne=M.map(f=>{const N=X.get(f)||new Map,Q=Array.from({length:24},(ee,$)=>{const V=N.get($)??null;return{hour:$,row:V}}),K=Array.from(N.values()).sort((ee,$)=>$.composite_score!==ee.composite_score?$.composite_score-ee.composite_score:$.wl_count-ee.wl_count)[0]??null;return{asset:f,bestRow:K,cells:Q}}),R=A.filter(f=>f.period===r).sort((f,N)=>f.dow_iso-N.dow_iso),J=[{iso:1,label:i(t,"วันจันทร์","Monday")},{iso:2,label:i(t,"วันอังคาร","Tuesday")},{iso:3,label:i(t,"วันพุธ","Wednesday")},{iso:4,label:i(t,"วันพฤหัสบดี","Thursday")},{iso:5,label:i(t,"วันศุกร์","Friday")},{iso:6,label:i(t,"วันเสาร์","Saturday")},{iso:7,label:i(t,"วันอาทิตย์","Sunday")}].map(f=>{const N=R.filter(F=>F.dow_iso===f.iso),Q=N.reduce((F,E)=>F+E.trade_count,0),K=N.reduce((F,E)=>F+E.wl_count,0),ee=N.reduce((F,E)=>{const he=E.wl_count>0?E.wl_count:E.trade_count;return F+E.composite_score*he},0),$=N.reduce((F,E)=>F+(E.win_rate_pct||0)*E.wl_count,0),V=N.length>0?[...N].sort((F,E)=>E.composite_score!==F.composite_score?E.composite_score-F.composite_score:E.trade_count!==F.trade_count?E.trade_count-F.trade_count:E.wl_count-F.wl_count)[0]:null;return{...f,trade_count:Q,wl_count:K,win_rate_pct:K>0?Number(($/K).toFixed(2)):null,composite_score:Q>0?Number((ee/Q).toFixed(2)):null,top_asset:V?j(V.asset):"-"}}),D=J.filter(f=>f.trade_count>0),se=D.length>0?[...D].sort((f,N)=>(N.composite_score||0)-(f.composite_score||0))[0]:null,Y=D.length>0?[...D].sort((f,N)=>(f.composite_score||0)-(N.composite_score||0))[0]:null,U=W[0]??null,L=U?U.wl_count>=150&&U.composite_score>=72?"annual":U.wl_count>=60&&U.composite_score>=64?"semiAnnual":U.wl_count>=25&&U.composite_score>=58?"quarterly":"monthly":"semiAnnual",Z=U?i(t,`ช่วง ${r.toUpperCase()} ตัวท็อปคือ ${j(U.asset)} ${U.killzone_window} (Score ${U.composite_score.toFixed(2)}, Sample ${U.wl_count})`,`Top ${r.toUpperCase()} signal is ${j(U.asset)} ${U.killzone_window} (Score ${U.composite_score.toFixed(2)}, Sample ${U.wl_count}).`):i(t,"กำลังประเมินแพ็กที่เหมาะสมจากข้อมูลจริง","Evaluating the most suitable plan from live data."),me=[{key:"monthly",title:i(t,"Auto-Trade Starter","Auto-Trade Starter"),subtitle:i(t,"ทดลองระบบ 30 วัน","30-day trial cycle"),idealFor:i(t,"เหมาะกับผู้เริ่มต้นที่อยากทดสอบกลยุทธ์","Best for new members validating strategy fit.")},{key:"semiAnnual",title:i(t,"Auto-Trade Growth","Auto-Trade Growth"),subtitle:i(t,"ใช้งานต่อเนื่อง 6 เดือน","6-month consistency plan"),idealFor:i(t,"เหมาะกับการเก็บสถิติและโตแบบมีวินัย","Best for consistent execution and data-driven growth.")},{key:"annual",title:i(t,"Auto-Trade Pro","Auto-Trade Pro"),subtitle:i(t,"แพ็กคุ้มค่าระยะยาว","Long-horizon value plan"),idealFor:i(t,"เหมาะกับสายจริงจังที่ต้องการ optimize ต้นทุน","Best for serious users optimizing long-term cost.")}];return e.jsxs("section",{className:"py-24 px-4 bg-slate-900/35 relative overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[e.jsx("div",{className:"absolute top-0 left-1/3 w-[540px] h-[540px] bg-emerald-500/5 rounded-full blur-3xl"}),e.jsx("div",{className:"absolute bottom-0 right-1/4 w-[500px] h-[500px] bg-cyan-500/5 rounded-full blur-3xl"})]}),e.jsxs("div",{className:"relative max-w-7xl mx-auto",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-10",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-emerald-500/10 border border-emerald-500/30 rounded-full text-emerald-300 text-sm font-medium mb-5",children:[e.jsx(ke,{className:"w-4 h-4"}),i(t,"ข้อมูลสดจาก Auto-Trade Dashboard","Live Data from Auto-Trade Dashboard")]}),e.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-white mb-4",children:i(t,"Performance Killzone ที่พิสูจน์ได้จริง","Real Killzone Performance You Can Verify")}),e.jsx("p",{className:"text-slate-400 max-w-3xl mx-auto text-lg",children:i(t,"แสดงผลข้อมูลจากฐานข้อมูลจริงของระบบ เพื่อช่วยให้ตัดสินใจสมัครสมาชิกได้มั่นใจขึ้น","These tables come from live system data to help visitors decide with confidence.")})]}),e.jsx("div",{className:"flex justify-center gap-2 mb-8",children:["7d","30d","60d"].map(f=>e.jsx("button",{onClick:()=>l(f),className:`px-4 py-2 rounded-xl text-sm font-semibold transition-all ${r===f?"bg-gradient-to-r from-emerald-500 to-cyan-500 text-slate-900":"bg-slate-800/70 text-slate-300 border border-slate-700/60 hover:border-emerald-400/40"}`,children:f.toUpperCase()},f))}),n?e.jsx("div",{className:"rounded-2xl border border-cyan-300/12 bg-slate-800/40 p-10 text-center text-slate-400",children:i(t,"กำลังโหลดข้อมูลตาราง Killzone...","Loading killzone performance tables...")}):e.jsxs(e.Fragment,{children:[c&&e.jsx("div",{className:"rounded-2xl border border-amber-500/30 bg-amber-500/10 p-4 text-sm text-amber-200 mb-6 text-center",children:c}),e.jsxs("div",{className:"grid lg:grid-cols-2 gap-6 mb-8",children:[e.jsxs("div",{className:"rounded-2xl border border-cyan-300/12 bg-slate-800/40 backdrop-blur-sm overflow-hidden",children:[e.jsxs("div",{className:"px-4 py-3 border-b border-slate-700/50",children:[e.jsx("h3",{className:"text-white font-semibold text-sm",children:i(t,"Top Killzone Summary","Top Killzone Summary")}
121),e.jsx("p",{className:"text-slate-500 text-xs",children:i(t,"เรียงตาม Composite Score","Sorted by composite score")})]}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-xs",children:[e.jsx("thead",{className:"bg-slate-900/70 text-slate-400 uppercase tracking-wide",children:e.jsxs("tr",{children:[e.jsx("th",{className:"text-left px-3 py-2",children:i(t,"Asset","Asset")}),e.jsx("th",{className:"text-left px-3 py-2",children:"KZ"}),e.jsx("th",{className:"text-right px-3 py-2",children:i(t,"Score","Score")}),e.jsx("th",{className:"text-right px-3 py-2",children:"Win%"}),e.jsx("th",{className:"text-right px-3 py-2",children:"N"})]})}),e.jsxs("tbody",{children:[W.map(f=>{var N;return e.jsxs("tr",{className:"border-t border-slate-800/70 text-slate-200",children:[e.jsx("td",{className:"px-3 py-2 font-semibold text-emerald-200",children:j(f.asset)}),e.jsx("td",{className:"px-3 py-2",children:f.killzone_window}),e.jsx("td",{className:"px-3 py-2 text-right text-cyan-300 font-semibold",children:f.composite_score.toFixed(2)}),e.jsx("td",{className:"px-3 py-2 text-right",children:((N=f.win_rate_pct)==null?void 0:N.toFixed(2))??"0.00"}),e.jsx("td",{className:"px-3 py-2 text-right",children:f.wl_count})]},`${f.period}_${f.asset}_${f.killzone_window}`)}),W.length===0&&e.jsx("tr",{children:e.jsx("td",{colSpan:5,className:"px-3 py-5 text-center text-slate-500",children:i(t,"ยังไม่มีข้อมูลในช่วงเวลานี้","No rows for this period yet.")})})]})]})})]}),e.jsxs("div",{className:"rounded-2xl border border-cyan-300/12 bg-slate-800/40 backdrop-blur-sm overflow-hidden",children:[e.jsxs("div",{className:"px-4 py-3 border-b border-slate-700/50 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold text-sm",children:i(t,"Top Hourly Rank","Top Hourly Rank")}),e.jsx("p",{className:"text-slate-500 text-xs",children:i(t,"ชั่วโมงที่ระบบมี edge สูงสุด","Hours with strongest edge")})]}),e.jsxs("div",{className:"flex flex-wrap items-center justify-end gap-2",children:[e.jsx("div",{className:"inline-flex rounded-lg border border-slate-700/70 bg-slate-900/60 p-1",children:[{key:"rank",labelTh:"Table",labelEn:"Table"},{key:"heatmap",labelTh:"Heatmap 24h",labelEn:"Heatmap 24h"}].map(f=>e.jsx("button",{onClick:()=>y(f.key),className:`px-2.5 py-1 rounded-md text-[11px] font-semibold transition-all ${P===f.key?"bg-gradient-to-r from-emerald-500 to-cyan-500 text-slate-900":"text-slate-300 hover:text-white"}`,children:i(t,f.labelTh,f.labelEn)},f.key))}),P==="heatmap"&&e.jsx("div",{className:"inline-flex rounded-lg border border-slate-700/70 bg-slate-900/60 p-1",children:[4,6,10].map(f=>e.jsxs("button",{onClick:()=>T(f),className:`px-2.5 py-1 rounded-md text-[11px] font-semibold transition-all ${S===f?"bg-emerald-500/25 text-emerald-200 border border-emerald-500/35":"text-slate-300 hover:text-white"}`,children:["Top ",f]},`top_${f}`))})]})]}),P==="rank"?e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-xs",children:[e.jsx("thead",{className:"bg-slate-900/70 text-slate-400 uppercase tracking-wide",children:e.jsxs("tr",{children:[e.jsx("th",{className:"text-left px-3 py-2",children:"#"}),e.jsx("th",{className:"text-left px-3 py-2",children:i(t,"Asset","Asset")}),e.jsx("th",{className:"text-right px-3 py-2",children:i(t,"Hour","Hour")}),e.jsx("th",{className:"text-right px-3 py-2",children:i(t,"Score","Score")}),e.jsx("th",{className:"text-right px-3 py-2",children:"N"})]})}),e.jsxs("tbody",{children:[g.map(f=>e.jsxs("tr",{className:"border-t border-slate-800/70 text-slate-200",children:[e.jsxs("td",{className:"px-3 py-2 text-slate-400",children:["#",f.rank_overall]}),e.jsx("td",{className:"px-3 py-2 font-semibold text-emerald-200",children:j(f.asset)}),e.jsxs("td",{className:"px-3 py-2 text-right",children:[String(f.hour_bkk).padStart(2,"0"),":00"]}),e.jsx("td",{className:"px-3 py-2 text-right text-cyan-300 font-semibold",children:f.composite_score.toFixed(2)}),e.jsx("td",{className:"px-3 py-2 text-right",children:f.wl_count})]},`${f.period}_${f.asset}_${f.hour_bkk}`)),g.length===0&&e.jsx("tr",{children:e.jsx("td",{colSpan:5,className:"px-3 py-5 text-center text-slate-500",children:i(t,"ยังไม่มีอันดับรายชั่วโมงในช่วงเวลานี้","No hourly rankings for this period yet.")})})]})]})}):e.jsxs("div",{className:"p-4 space-y-3",children:[e.jsxs("p",{className:"text-[11px] text-slate-400",children:[i(t,"สีแต่ละช่องแทน Score ของแต่ละชั่วโมง (เวลาไทย BKK)","Each cell color represents hourly score (BKK time).")," ",i(t,"ชั่วโมงปัจจุบันถูกไฮไลต์","Current hour is highlighted.")]}),ne.map(f=>e.jsxs("div",{className:"rounded-xl border border-slate-700/60 bg-slate-900/45 p-3",children:[e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2 mb-2",children:[e.jsx("p",{className:"text-sm font-semibold text-emerald-200",children:j(f.asset)}),e.jsx("p",{className:"text-[11px] text-slate-400",children:f.bestRow?i(t,`ชั่วโมงเด่น ${qe(f.bestRow.hour_bkk)} (Score ${f.bestRow.composite_score.toFixed(2)})`,`Best hour ${qe(f.bestRow.hour_bkk)} (Score ${f.bestRow.composite_score.toFixed(2)})`):i(t,"ยังไม่มีตัวอย่างรายชั่วโมงพอสำหรับสินทรัพย์นี้","Not enough hourly samples for this asset yet.")})]}),e.jsx("div",{className:"grid grid-cols-12 gap-1",children:f.cells.map(N=>{var Q,K,ee;return e.jsx("div",{className:Jr({hour:N.hour,score:((Q=N.row)==null?void 0:Q.composite_score)??null,hasSample:!!N.row,isCurrentHour:N.hour===_}),title:[`BKK ${qe(N.hour)}`,`KZ ${bs(((K=N.row)==null?void 0:K.killzone_window)||fs(N.hour))}`,`Score ${N.row?N.row.composite_score.toFixed(2):"-"}`,`Win% ${((ee=N.row)==null?void 0:ee.win_rate_pct)!=null?N.row.win_rate_pct.toFixed(2):"-"}`,`Sample N ${N.row?N.row.wl_count:0}`].join(" | ")},`${f.asset}_${N.hour}`)})}),e.jsxs("div",{className:"mt-2 flex items-center justify-between text-[10px] text-slate-500",children:[e.jsx("span",{children:"00:00"}),e.jsxs("span",{children:[i(t,"ตอนนี้","Now"),": ",qe(_)]}),e.jsx("span",{children:"23:00"})]})]},`heatmap_${f.asset}`)),ne.length===0&&e.jsx("div",{className:"rounded-xl border border-slate-700/60 bg-slate-900/55 px-3 py-5 text-center text-slate-500 text-sm",children:i(t,"ยังไม่มี heatmap สำหรับช่วงเวลานี้","No heatmap data available for this period yet.")}),e.jsxs("div",{className:"flex flex-wrap gap-2 text-[10px] text-slate-400 pt-1",children:[e.jsx("span",{className:"px-1.5 py-0.5 rounded border border-emerald-400/60 bg-emerald-400/20",children:"72+"}),e.jsx("span",{className:"px-1.5 py-0.5 rounded border border-cyan-400/60 bg-cyan-400/20",children:"64-71"}),e.jsx("span",{className:"px-1.5 py-0.5 rounded border border-amber-400/60 bg-amber-400/20",children:"56-63"}),e.jsx("span",{className:"px-1.5 py-0.5 rounded border border-rose-400/60 bg-rose-400/20",children:"<56"}),e.jsx("span",{className:"px-1.5 py-0.5 rounded border border-violet-400/50 bg-vi
121olet-500/20",children:"KZ no-sample"})]})]})]})]}),e.jsxs("div",{className:"rounded-2xl border border-cyan-300/12 bg-slate-800/40 backdrop-blur-sm overflow-hidden mb-8",children:[e.jsxs("div",{className:"px-4 py-3 border-b border-slate-700/50 flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold text-sm",children:i(t,"Killzone Winrate รายวัน (จันทร์-อาทิตย์)","Killzone Weekday Winrate (Mon-Sun)")}),e.jsx("p",{className:"text-slate-500 text-xs",children:i(t,"รวมข้อมูลทุกสินทรัพย์เพื่อดูวันไหน edge เด่นสุด","Aggregated across assets to reveal strongest weekdays")}),e.jsx("p",{className:"text-slate-500 text-xs",children:i(t,"Trades = ออเดอร์ทั้งหมด, W/L N = เฉพาะผลที่สรุปชนะ/แพ้แล้ว","Trades = all executed orders, W/L N = resolved win/loss outcomes only")})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2 text-[11px]",children:[se&&e.jsxs("span",{className:"px-2 py-1 rounded-md bg-emerald-500/10 border border-emerald-500/30 text-emerald-300",children:[i(t,"เด่นสุด","Best"),": ",se.label]}),Y&&e.jsxs("span",{className:"px-2 py-1 rounded-md bg-rose-500/10 border border-rose-500/30 text-rose-300",children:[i(t,"อ่อนสุด","Weak"),": ",Y.label]})]})]}),e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full text-xs",children:[e.jsx("thead",{className:"bg-slate-900/70 text-slate-400 uppercase tracking-wide",children:e.jsxs("tr",{children:[e.jsx("th",{className:"text-left px-3 py-2",children:i(t,"วัน","Day")}),e.jsx("th",{className:"text-right px-3 py-2",children:i(t,"Score","Score")}),e.jsx("th",{className:"text-right px-3 py-2",children:"Win%"}),e.jsx("th",{className:"text-right px-3 py-2",children:i(t,"W/L N","W/L N")}),e.jsx("th",{className:"text-right px-3 py-2",children:i(t,"Trades","Trades")}),e.jsx("th",{className:"text-right px-3 py-2",children:i(t,"Top Asset","Top Asset")})]})}),e.jsxs("tbody",{children:[J.map(f=>e.jsxs("tr",{className:"border-t border-slate-800/70 text-slate-200",children:[e.jsx("td",{className:"px-3 py-2 font-semibold text-emerald-200",children:f.label}),e.jsx("td",{className:"px-3 py-2 text-right text-cyan-300 font-semibold",children:f.composite_score!==null?f.composite_score.toFixed(2):"-"}),e.jsx("td",{className:"px-3 py-2 text-right",children:f.win_rate_pct!==null?f.win_rate_pct.toFixed(2):f.trade_count>0?i(t,"รอผล","Pending"):"-"}),e.jsx("td",{className:"px-3 py-2 text-right",children:f.wl_count}),e.jsx("td",{className:"px-3 py-2 text-right text-slate-300",children:f.trade_count}),e.jsx("td",{className:"px-3 py-2 text-right text-slate-300",children:f.top_asset})]},`weekday_${r}_${f.iso}`)),D.length===0&&e.jsx("tr",{children:e.jsx("td",{colSpan:6,className:"px-3 py-5 text-center text-slate-500",children:i(t,"ยังไม่มีข้อมูลรายวันในช่วงเวลานี้","No weekday rows for this period yet.")})})]})]})})]}),e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-2xl border border-emerald-500/25 bg-gradient-to-r from-emerald-500/10 via-cyan-500/10 to-slate-800/40 p-6 md:p-8",children:[e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-5 mb-6",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-xl md:text-2xl font-bold text-white mb-2",children:i(t,"คำแนะนำ Product Auto-Trade","Auto-Trade Product Recommendation")}),e.jsx("p",{className:"text-slate-300 text-sm md:text-base",children:Z})]}),e.jsxs("div",{className:"flex flex-wrap gap-3",children:[e.jsx("button",{onClick:()=>s(L),className:"px-5 py-3 rounded-xl bg-gradient-to-r from-emerald-500 to-cyan-500 text-slate-900 font-bold hover:shadow-lg hover:shadow-emerald-500/30 transition-all",children:i(t,"เลือกแพ็กที่แนะนำ","Select Recommended Plan")}),e.jsx("button",{onClick:a,className:"px-5 py-3 rounded-xl border border-slate-600/70 bg-slate-900/60 text-slate-200 font-medium hover:border-emerald-400/40 transition-colors",children:i(t,"เข้าสู่ระบบ VIP","Login with VIP")}
121)]})]}),e.jsx("div",{className:"grid md:grid-cols-3 gap-4",children:me.map(f=>{const N=f.key===L;return e.jsxs("div",{className:`rounded-xl border p-4 transition-all ${N?"border-emerald-400/50 bg-emerald-500/10":"border-slate-700/60 bg-slate-900/45"}`,children:[e.jsxs("div",{className:"flex items-center justify-between mb-2",children:[e.jsx("p",{className:"text-white font-semibold",children:f.title}),N&&e.jsx("span",{className:"text-[10px] px-2 py-1 rounded-full bg-emerald-500 text-slate-900 font-bold",children:i(t,"แนะนำ","Recommended")})]}),e.jsx("p",{className:"text-emerald-300 text-xs mb-2",children:f.subtitle}),e.jsx("p",{className:"text-slate-400 text-xs leading-relaxed",children:f.idealFor}),e.jsx("button",{onClick:()=>s(f.key),className:"mt-4 w-full py-2 rounded-lg text-sm font-semibold border border-slate-600/60 text-slate-200 hover:border-emerald-400/40 transition-colors",children:i(t,"เลือกแพ็กนี้","Choose This Plan")})]},f.key)})})]})]})]})]})},w0=()=>{const t=[{o:30,c:38,h:42,l:27},{o:38,c:34,h:40,l:31},{o:34,c:42,h:46,l:32},{o:42,c:38,h:45,l:35},{o:38,c:48,h:52,l:36},{o:48,c:44,h:50,l:40},{o:44,c:52,h:56,l:42},{o:52,c:48,h:55,l:45},{o:48,c:55,h:60,l:46},{o:55,c:50,h:58,l:47},{o:50,c:58,h:63,l:48},{o:58,c:54,h:61,l:50},{o:54,c:62,h:66,l:52},{o:62,c:58,h:65,l:55},{o:58,c:66,h:70,l:56},{o:66,c:72,h:76,l:63},{o:72,c:68,h:75,l:65},{o:68,c:76,h:80,l:66},{o:76,c:82,h:86,l:73},{o:82,c:78,h:85,l:75},{o:78,c:85,h:90,l:76},{o:85,c:80,h:88,l:77},{o:80,c:88,h:92,l:78},{o:88,c:92,h:96,l:85}];return e.jsxs("div",{className:"relative w-[300px] sm:w-[340px]",style:{perspective:"1200px"},children:[e.jsx("div",{className:"absolute -inset-20 bg-gradient-to-br from-emerald-500/15 via-cyan-500/10 to-transparent blur-3xl rounded-full"}),e.jsx("div",{className:"absolute -inset-10 bg-gradient-to-t from-emerald-500/10 to-transparent blur-2xl rounded-full animate-pulse",style:{animationDuration:"4s"}}),e.jsx(m.div,{initial:{opacity:0,rotateY:15,y:40},whileInView:{opacity:1,rotateY:0,y:0},viewport:{once:!0},transition:{duration:.8,ease:"easeOut"},className:"relative",children:e.jsxs("div",{className:"relative bg-[#1a1a2e] rounded-[3.2rem] p-[3px] shadow-[0_0_60px_rgba(16,185,129,0.15),0_25px_50px_rgba(0,0,0,0.5)]",style:{background:"linear-gradient(145deg, #2a2a3e 0%, #1a1a2e 30%, #0f0f1a 100%)"},children:[e.jsx("div",{className:"absolute top-0 left-8 right-8 h-[1px] bg-gradient-to-r from-transparent via-slate-500/40 to-transparent"}),e.jsx("div",{className:"absolute top-[1px] left-12 right-12 h-[1px] bg-gradient-to-r from-transparent via-white/10 to-transparent"}),e.jsx("div",{className:"absolute -left-[2px] top-32 w-[3px] h-8 bg-[#2a2a3e] rounded-l-sm"}),e.jsx("div",{className:"absolute -left-[2px] top-44 w-[3px] h-12 bg-[#2a2a3e] rounded-l-sm"}),e.jsx("div",{className:"absolute -left-[2px] top-60 w-[3px] h-12 bg-[#2a2a3e] rounded-l-sm"}),e.jsx("div",{className:"absolute -right-[2px] top-40 w-[3px] h-16 bg-[#2a2a3e] rounded-r-sm"}),e.jsxs("div",{className:"bg-black rounded-[3rem] overflow-hidden relative",children:[e.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 z-20",children:e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"w-[120px] h-[34px] bg-black rounded-b-[1.2rem]",style:{clipPath:"polygon(8% 0, 92% 0, 85% 100%, 15% 100%)"}}),e.jsxs("div",{className:"absolute top-[10px] left-1/2 -translate-x-1/2 flex items-center gap-3",children:[e.jsx("div",{className:"w-[8px] h-[8px] rounded-full bg-[#1a1a2e] ring-1 ring-slate-700/50"}),e.jsx("div",{className:"w-[50px] h-[4px] rounded-full bg-[#1a1a2e]"})]})]})}),e.jsxs("div",{className:"h-11 bg-[#0a0a14] flex items-end justify-between px-8 pb-1 relative z-10",children:[e.jsx("span",{className:"text-[13px] font-semibold text-white tracking-tight",children:"9:41"}),e.jsxs("div",{className:"flex items-center gap-[5px]",children:[e.jsxs("svg",{width:"17",height:"12",viewBox:"0 0 17 12",className:"text-white",children:[e.jsx("path",{d:"M1 4.5C1 3.67 1.67 3 2.5 3S4 3.67 4 4.5V11c0 .83-.67 1.5-1.5 1.5S1 11.83 1 11V4.5z",fill:"
121currentColor",opacity:"0.4"}),e.jsx("path",{d:"M5.5 3c-.83 0-1.5.67-1.5 1.5V11c0 .83.67 1.5 1.5 1.5S7 11.83 7 11V4.5C7 3.67 6.33 3 5.5 3z",fill:"currentColor",opacity:"0.6"}),e.jsx("path",{d:"M8.5 1.5C8.5.67 9.17 0 10 0s1.5.67 1.5 1.5V11c0 .83-.67 1.5-1.5 1.5S8.5 11.83 8.5 11V1.5z",fill:"currentColor",opacity:"0.8"}),e.jsx("path",{d:"M13 1c-.83 0-1.5.67-1.5 1.5V11c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V2.5c0-.83-.67-1.5-1.5-1.5z",fill:"currentColor"})]}),e.jsxs("svg",{width:"16",height:"12",viewBox:"0 0 16 12",className:"text-white",children:[e.jsx("path",{d:"M8 3.6c1.8 0 3.4.7 4.6 1.9l1.1-1.1C12.1 2.9 10.2 2 8 2s-4.1.9-5.7 2.4l1.1 1.1C4.6 4.3 6.2 3.6 8 3.6z",fill:"currentColor",opacity:"0.5"}),e.jsx("path",{d:"M8 6.6c1 0 2 .4 2.8 1.1l1.1-1.1C10.6 5.5 9.4 5 8 5s-2.6.5-3.9 1.6l1.1 1.1C6 6.9 7 6.6 8 6.6z",fill:"currentColor",opacity:"0.75"}),e.jsx("circle",{cx:"8",cy:"10",r:"1.5",fill:"currentColor"})]}),e.jsxs("div",{className:"relative w-[27px] h-[13px]",children:[e.jsx("div",{className:"absolute inset-0 rounded-[3px] border border-white/30"}),e.jsx("div",{className:"absolute top-[2px] left-[2px] bottom-[2px] right-[6px] bg-emerald-400 rounded-[1.5px]"}),e.jsx("div",{className:"absolute right-[-3px] top-[3.5px] w-[2px] h-[5px] bg-white/30 rounded-r-sm"})]})]})]}),e.jsxs("div",{className:"h-[540px] sm:h-[600px] bg-[#0a0a14] relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-emerald-500/[0.02] to-transparent"}),e.jsxs("div",{className:"p-5 space-y-4 relative z-10",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(yt,{size:44,title:null}),e.jsxs("div",{children:[e.jsx("div",{className:"text-white font-bold text-[15px] tracking-tight",children:"Alphasignals"}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("div",{className:"w-1.5 h-1.5 bg-emerald-400 rounded-full animate-pulse"}),e.jsx("span",{className:"text-emerald-400 text-[11px] font-medium",children:"Live Trading"})]})]})]}),e.jsx("div",{className:"w-9 h-9 bg-white/5 rounded-xl flex items-center justify-center",children:e.jsx(xa,{className:"w-4 h-4 text-slate-400"})})]}),e.jsxs("div",{className:"relative rounded-2xl overflow-hidden",style:{background:"linear-gradient(135deg, rgba(16,185,129,0.1), rgba(6,182,212,0.05))"},children:[e.jsx("div",{className:"absolute inset-0 border border-emerald-500/20 rounded-2xl"}),e.jsxs("div",{className:"p-4",children:[e.jsxs("div",{className:"flex items-center justify-between mb-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-white font-bold text-[15px]",children:"BTC/USD"}),e.jsx("span",{className:"px-2 py-0.5 bg-emerald-500/20 text-emerald-400 text-[10px] font-bold rounded-md uppercase tracking-wider",children:"Long"})]}),e.jsx("div",{className:"text-right",children:e.jsx("div",{className:"text-emerald-400 text-[13px] font-bold",children:"+2.4%"})})]}),e.jsxs("div",{className:"text-[22px] font-bold text-white tracking-tight mb-3",children:["97,854.",e.jsx("span",{className:"text-slate-500",children:"20"})]}),e.jsx("div",{className:"grid grid-cols-3 gap-3",children:[{label:"Entry",value:"97,850",color:"text-white"},{label:"Take Profit",value:"98,500",color:"text-emerald-400"},{label:"Stop Loss",value:"97,200",color:"text-red-400"}].map(s=>e.jsxs("div",{className:"bg-white/5 rounded-lg p-2.5",children:[e.jsx("div",{className:"text-[9px] text-slate-500 uppercase tracking-wider mb-0.5",children:s.label}),e.jsx("div",{className:`text-[13px] font-semibold ${s.color}`,children:s.value})]},s.label))})]})]}),e.jsxs("div",{className:"bg-white/[0.03] rounded-2xl p-4 border border-white/5",children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsx("span",{className:"text-[11px] text-slate-500 uppercase tracking-wider font-medium",children:"Price Action"}),e.jsx("span",{className:"text-[10px] text-emerald-400 font-medium",children:"1H"})]}),e.jsx("div",{className:"relative h-[110px] flex gap-[2px]",children:t.map((s,a)=>{const r=s.c>s.o,l=Math.max(s.o,s.c),n=Math.min(s.o,s.c),o=r?"#10b981":"#ef4444",c=r?"#10b981":"#ef4444";return e.jsxs("div",{className:"flex-1 relative",style:{height:"100%"},children:[e.jsx("div",{style:{position:"absolute",left:"50%",transform:"translateX(-50%)",width:1,bottom:`${s.l}%`,height:`${s.h-s.l}%`,backgroundColor:o,opacity:.6}}),e.jsx("div",{style:{position:"absolute",left:"10%",right:"10%",bottom:`${n}%`,height:`${Math.max(l-n,3)}%`,backgroundColor:c,borderRadius:1}})]},a)})})]}),e.jsx("div",{className:"grid grid-cols-3 gap-2",children:[{label:"Assets",value:String(we),color:"text-emerald-400"},{label:"Signals",value:"24/7",color:"text-cyan-400"},{label:"Alerts",value:"TG+DC",color:"text-emerald-400"}].map(s=>e.jsxs("div",{className:"bg-white/[0.03] rounded-xl p-3 text-center border border-white/5",children:[e.jsx("div",{className:`text-lg font-bold ${s.color}`,children:s.value}),e.jsx("div",{className:"text-[9px] text-slate-500 uppercase tracking-wider mt-0.5",children:s.label})]},s.label))})]}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-4 pb-2",children:[e.jsx("div",{className:"bg-[#12121f]/90 backdrop-blur-xl rounded-2xl p-1.5 flex justify-around border border-white/5",children:[{icon:jt,label:"Signals",active:!0},{icon:ke,label:"Charts",active:!1},{icon:ze,label:"Market",active:!1},{icon:Ke,label:"Social",active:!1}].map(s=>e.jsxs("div",{className:`flex flex-col items-center gap-0.5 py-1.5 px-3 rounded-xl ${s.active?"bg-emerald-500/15":""}`,children:[e.jsx(s.icon,{className:`w-[18px] h-[18px] ${s.active?"text-emerald-400":"text-slate-600"}`}),e.jsx("span",{className:`text-[8px] font-medium ${s.active?"text-emerald-400":"text-slate-600"}`,children:s.label})]},s.label))}),e.jsx("div",{className:"w-32 h-1 bg-white/20 rounded-full mx-auto mt-2"})]})]})]})]})})]})},v0=({language:t})=>{const s=[{icon:xe,title:i(t,"สัญญาณ Real-time","Real-Time Signals"),description:i(t,"รับการแจ้งเตือนสัญญาณเทรดทันทีผ่าน Push Notification","Get instant trading alerts via push notifications")},{icon:Nt,title:i(t,"ใช้งานได้ทุกที่","Access Anywhere"),description:i(t,"เข้าถึงได้จากทุกอุปกรณ์ ทุกระบบปฏิบัติการ","Access from any device and operating system")},{icon:We,title:i(t,"ปลอดภัย 100%","100% Secure"),description:i(t,"เข้ารหัสข้อมูลทุกการเชื่อมต่อด้วย SSL","All connections are protected with SSL encryption")}];return e.jsxs("section",{className:"py-28 px-4 relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-slate-900/50 via-slate-950 to-slate-950"}),e.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 w-[800px] h-[600px] bg-emerald-500/[0.03] blur-[120px] rounded-full"}),e.jsx("div",{className:"max-w-7xl mx-auto relative",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[e.jsxs(m.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"space-y-8",children:[e.jsxs("div",{children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-emerald-500/10 border border-emerald-500/20 rounded-full text-emerald-400 text-sm font-semibold mb-6",children:[e.jsx(ia,{className:"w-4 h-4"}),i(t,"ดาวน์โหลดแอป","Download App")]}),e.jsxs("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-white leading-[1.1] mt-6",children:[i(t,"ดาวน์โหลดแอป","Download the"),e.jsx("span",{className:"block mt-3 bg-gradient-to-r from-emerald-400 to-cyan-400 bg-clip-text text-transparent",children:"Alphasignals"})]})]}),e.jsx("p",{className:"text-lg text-slate-400 leading-relaxed max-w-lg",children:i(t,"ติดตั้งแอปบนมือถือหรือเดสก์ท็อป เพื่อรับสัญญาณเทรดแบบ Real-time และเข้าถึงเครื่องมือวิเคราะห์ได้ทุกที่ทุกเวลา","Install on mobile or desktop to get real-time trading signals and analysis tools anywhere, anytime")}),e.jsx("div",{className:"space-y-5",children:s.map((a,r)=>
121e.jsxs(m.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:r*.15},className:"flex items-start gap-4 group",children:[e.jsx("div",{className:"w-12 h-12 bg-gradient-to-br from-emerald-500/15 to-cyan-500/10 rounded-xl flex items-center justify-center flex-shrink-0 border border-emerald-500/10 group-hover:border-emerald-500/30 transition-colors",children:e.jsx(a.icon,{className:"w-5 h-5 text-emerald-400"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-white text-lg",children:a.title}),e.jsx("p",{className:"text-sm text-slate-400 mt-0.5",children:a.description})]})]},a.title))}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 pt-2",children:[e.jsxs(m.a,{href:"/",whileHover:{scale:1.02},whileTap:{scale:.98},className:"flex items-center justify-center gap-3 px-7 py-4 bg-gradient-to-r from-emerald-500 to-cyan-500 text-slate-900 font-bold rounded-2xl transition-all shadow-lg shadow-emerald-500/25 hover:shadow-emerald-500/40",children:[e.jsx(pa,{className:"w-6 h-6"}),e.jsxs("div",{className:"text-left",children:[e.jsx("div",{className:"text-[11px] opacity-70 uppercase tracking-wider",children:"Web App"}),e.jsx("div",{className:"text-[15px]",children:i(t,"เปิดใน Browser","Open in Browser")})]})]}),e.jsxs(m.button,{whileHover:{scale:1.02},whileTap:{scale:.98},onClick:()=>{alert(i(t,'เปิดเว็บไซต์นี้ใน Safari (iOS) หรือ Chrome (Android) แล้วกด "Add to Home Screen" เพื่อติดตั้งแอป','Open this site in Safari (iOS) or Chrome (Android), then tap "Add to Home Screen" to install.'))},className:"flex items-center justify-center gap-3 px-7 py-4 bg-white/5 hover:bg-white/10 text-white font-medium rounded-2xl border border-white/10 hover:border-white/20 transition-all",children:[e.jsx(Lt,{className:"w-6 h-6"}),e.jsxs("div",{className:"text-left",children:[e.jsx("div",{className:"text-[11px] text-slate-400 uppercase tracking-wider",children:"Mobile"}),e.jsx("div",{className:"text-[15px]",children:i(t,"ติดตั้งบนมือถือ","Install on Mobile")})]})]})]}),e.jsxs("div",{className:"bg-white/[0.03] border border-white/5 rounded-2xl p-5",children:[e.jsxs("h4",{className:"font-semibold text-white mb-3 flex items-center gap-2",children:[e.jsx(Lt,{className:"w-4 h-4 text-emerald-400"}),i(t,"วิธีติดตั้งแอป (PWA)","How to Install (PWA)")]}),e.jsx("ol",{className:"text-sm text-slate-400 space-y-2.5",children:[e.jsxs(e.Fragment,{children:[i(t,"เปิด","Open")," ",e.jsx("strong",{className:"text-white",children:i(t,"เว็บไซต์นี้","this website")})," ",i(t,"ใน Safari (iOS) หรือ Chrome (Android)","in Safari (iOS) or Chrome (Android)")]}),e.jsxs(e.Fragment,{children:[i(t,"กดปุ่ม","Tap")," ",e.jsx("strong",{className:"text-white",children:"Share"})," (iOS) ",i(t,"หรือ","or")," ",e.jsx("strong",{className:"text-white",children:"Menu"})," (Android)"]}),e.jsxs(e.Fragment,{children:[i(t,"เลือก","Choose")," ",e.jsx("strong",{className:"text-white",children:'"Add to Home Screen"'})]})].map((a,r)=>e.jsxs("li",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"w-6 h-6 bg-emerald-500/15 text-emerald-400 rounded-lg flex items-center justify-center text-xs font-bold flex-shrink-0",children:r+1}),e.jsx("span",{className:"pt-0.5",children:a})]},r))})]})]}),e.jsxs(m.div,{initial:{opacity:0,y:40},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.8},className:"relative flex justify-center lg:justify-end",children:[e.jsx(w0,{}),e.jsx(m.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.5},className:"absolute -top-6 right-0 lg:right-8 bg-gradient-to-r from-emerald-500 to-cyan-500 text-white px-5 py-2.5 rounded-2xl text-sm font-bold shadow-lg shadow-emerald-500/30",children:"FREE"}),e.jsxs(m.div,{initial:{opacity:0,scale:.8,x:-20},whileInView:{opacity:1,scale:1,x:0},viewport:{once:!0},transition:{delay:.7},className:"absolute -bottom-10 left-1/2 -translate-x-1/2 bg-[#1a1a2e] border border-white/10 text-white px-5 py-3 rounded-2xl text-sm font-medium shadow-xl flex items-center gap-3 whitespace-nowrap",children:[e.jsx("div",{className:"w-2.5 h-2.5 bg-emerald-500 rounded-full animate-pulse"}),i(t,"พร้อมใช้แบบ PWA","PWA Ready")]}),e.jsxs(m.div,{initial:{opacity:0,scale:.8,x:20},whileInView:{opacity:1,scale:1,x:0},viewport:{once:!0},transition:{delay:.9},className:"absolute top-1/3 -right-6 lg:right-0 bg-[#1a1a2e] border border-white/10 text-white px-4 py-2.5 rounded-2xl text-xs font-medium shadow-xl flex items-center gap-2",children:[e.jsx(pe,{className:"w-4 h-4 text-emerald-400"}),e.jsx("span",{children:i(t,"ไม่ต้องผ่าน App Store","No App Store needed")})]})]})]})})]})},Ie=[{asset:"Gold -50x",amount:"+THB 1,380.09",size:"THB 4,357.00"},{asset:"Gold -50x",amount:"+THB 457.97",size:"THB 1,584.30"},{asset:"Gold -20x",amount:"+THB 582.03",size:"THB 4,000.00"},{asset:"Gold -50x",amount:"+THB 238.06",size:"THB 2,000.00"},{asset:"Gold -50x",amount:"+THB 362.74",size:"THB 2,373.64"},{asset:"Gold -50x",amount:"+THB 135.40",size:"THB 1,000.00"}],Zt=({bubble:t,position:s})=>{const a=s==="left"?"-left-4 sm:left-0 md:-left-8 top-[10%]":s==="right"?"-right-4 sm:right-0 md:-right-8 top-[20%]":"left-1/2 -translate-x-1/2 -top-4";return e.jsx(m.div,{initial:{opacity:0,y:20,scale:.8}
121,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-20,scale:.8},transition:{duration:.5,ease:"easeOut"},className:`absolute ${a} z-20`,children:e.jsxs("div",{className:"relative",children:[e.jsxs("div",{className:"bg-slate-800/95 backdrop-blur-md border border-emerald-500/30 rounded-2xl px-4 py-3 shadow-xl shadow-emerald-500/5",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[e.jsx("div",{className:"w-5 h-5 rounded-md bg-yellow-500/20 flex items-center justify-center",children:e.jsx(Se,{className:"w-3 h-3 text-yellow-500"})}),e.jsx("span",{className:"text-slate-400 text-xs font-medium",children:t.asset})]}),e.jsxs("div",{className:"flex items-baseline gap-2",children:[e.jsx("span",{className:"text-slate-300 text-xs",children:t.size}),e.jsx("span",{className:"text-emerald-400 font-bold text-sm",children:t.amount})]})]}),s!=="top"&&e.jsx("div",{className:`absolute top-1/2 -translate-y-1/2 ${s==="left"?"-right-2":"-left-2"}`,children:e.jsx("div",{className:`w-0 h-0 border-t-[6px] border-t-transparent border-b-[6px] border-b-transparent ${s==="left"?"border-l-[8px] border-l-slate-800/95":"border-r-[8px] border-r-slate-800/95"}`})}),s==="top"&&e.jsx("div",{className:"absolute -bottom-2 left-1/2 -translate-x-1/2",children:e.jsx("div",{className:"w-0 h-0 border-l-[6px] border-l-transparent border-r-[6px] border-r-transparent border-t-[8px] border-t-slate-800/95"})})]})})},j0=()=>{const[t,s]=p.useState(!1),[a,r]=p.useState(!1);return e.jsxs(m.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.2},className:"relative max-w-4xl mx-auto mb-20 group/alice",children:[e.jsx("div",{className:"absolute -inset-1 bg-gradient-to-r from-pink-500/20 via-rose-500/20 to-pink-500/20 rounded-3xl blur-xl opacity-0 group-hover/alice:opacity-100 transition-opacity duration-700"}),e.jsxs(m.div,{whileHover:{scale:1.02},transition:{type:"spring",stiffness:300,damping:20},className:"relative flex flex-col md:flex-row items-center gap-8 md:gap-12 bg-gradient-to-br from-slate-800/80 to-slate-800/40 border border-cyan-300/12 rounded-3xl p-6 md:p-10 overflow-visible backdrop-blur-xl shadow-2xl",onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[e.jsxs(m.div,{initial:{scale:.8,opacity:0}
121,whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{delay:.4,duration:.5},className:"absolute top-4 right-4 flex items-center gap-1.5 bg-pink-500/10 border border-pink-500/20 rounded-full px-3 py-1.5 shadow-lg",children:[e.jsx(Re,{className:"w-3.5 h-3.5 text-pink-400"}),e.jsx("span",{className:"text-pink-400 text-xs font-semibold",children:"Video Review"})]}),e.jsxs(m.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.5,duration:.6},className:"relative flex-shrink-0",children:[e.jsxs("div",{className:"relative w-52 h-64 md:w-64 md:h-80 group/image",children:[e.jsx("div",{className:"absolute -inset-3 bg-gradient-to-br from-pink-500/20 via-rose-500/10 to-transparent rounded-2xl blur-xl group-hover/image:blur-2xl transition-all duration-500"}),e.jsx(m.img,{whileHover:{scale:1.05},transition:{type:"spring",stiffness:300,damping:20},src:ot,alt:"Alice Y",className:"relative w-full h-full rounded-2xl object-cover border-4 border-pink-500/30 shadow-2xl shadow-pink-500/10 group-hover/image:border-pink-400/50 transition-all duration-300"}),e.jsx(m.div,{initial:{y:10,opacity:0},whileInView:{y:0,opacity:1},viewport:{once:!0},transition:{delay:.7,duration:.5},className:"absolute -bottom-2 left-1/2 -translate-x-1/2 bg-gradient-to-r from-pink-500 to-pink-600 text-white text-xs font-bold px-4 py-1.5 rounded-full shadow-lg whitespace-nowrap",children:"Binary Options Trader"})]}),e.jsx(Te,{children:(a||t)&&e.jsx(m.div,{initial:{opacity:0,scale:.8,x:20},animate:{opacity:1,scale:1,x:0},exit:{opacity:0,scale:.8,x:20},transition:{type:"spring",stiffness:300,damping:25},className:"absolute -right-4 md:-right-20 top-1/2 -translate-y-1/2 z-20",children:e.jsxs("div",{className:"relative",children:[e.jsx(m.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{delay:.2,duration:.3},className:"absolute -left-3 top-1/2 -translate-y-1/2",children:e.jsx("div",{className:"w-0 h-0 border-t-[10px] border-t-transparent border-b-[10px] border-b-transparent border-r-[12px] border-r-slate-800"})}),e.jsxs(m.div,{initial:{opacity:0}
121,animate:{opacity:1},transition:{delay:.3,staggerChildren:.1},className:"absolute -left-6 top-1/2 -translate-y-1/2 flex flex-col gap-1",children:[e.jsx(m.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.4,type:"spring"},className:"w-2 h-2 bg-slate-700 rounded-full"}),e.jsx(m.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.5,type:"spring"},className:"w-1.5 h-1.5 bg-slate-700/70 rounded-full ml-0.5"})]}),e.jsxs(m.button,{onClick:()=>s(!0),whileHover:{scale:1.05,rotate:2},whileTap:{scale:.95},className:"group/btn relative w-40 h-28 md:w-52 md:h-36 bg-slate-800 border-2 border-slate-600 rounded-2xl overflow-hidden shadow-2xl hover:border-pink-500/50 hover:shadow-pink-500/20 transition-all duration-300",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-pink-500/20 to-rose-500/10 group-hover/btn:from-pink-500/30 group-hover/btn:to-rose-500/20 transition-all duration-300"}),e.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center",children:[e.jsx(m.div,{whileHover:{scale:1.2,rotate:360},transition:{duration:.5},className:"w-12 h-12 bg-gradient-to-br from-pink-500 to-pink-600 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(Re,{className:"w-6 h-6 text-white ml-1",fill:"currentColor"})}),e.jsx(m.span,{initial:{opacity:0,y:5},animate:{opacity:1,y:0},transition:{delay:.6},className:"text-white text-xs mt-2 font-medium",children:"Click to Play"})]})]})]})})})]}),e.jsxs(m.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.6,duration:.6},className:"flex-1 text-center md:text-left",children:[e.jsx(m.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.7,duration:.4},className:"flex items-center gap-1 justify-center md:justify-start mb-4",children:Array.from({length:5}).map((l,n)=>e.jsx(m.div,{initial:{opacity:0,rotate:-180},whileInView:{opacity:1,rotate:0},viewport:{once:!0},transition:{delay:.8+n*.1,duration:.5},children:e.jsx(Oe,{className:"w-5 h-5 text-yellow-500 fill-yellow-500"})},n))}),e.jsx(m.blockquote,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.9,duration:.5},className:"text-lg md:text-xl text-slate-200 leading-relaxed mb-6 font-medium",translate:"no",children:'"ตามซิกเลย เริ่ดดดดดนะ วันนี้ครบเป้าละ ทุนเดิม 50$ เป็น 100$ วางมือก่อน"'}),e.jsx("div",{className:"flex flex-wrap gap-3 justify-center md:justify-start mb-6",children:[{label:"Profit",value:"+100%",color:"emerald"},{label:"Starting",value:"$50",color:"slate"},{label:"Final",value:"$100",color:"emerald"}].map((l,n)=>e.jsxs(m.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},whileHover:{scale:1.05,y:-2},viewport:{once:!0},transition:{delay:1+n*.1,duration:.4},className:`${l.color==="emerald"?"bg-emerald-500/20 border-emerald-500/30":"bg-slate-700/40 border-slate-600/30"} border rounded-xl px-4 py-2 hover:bg-slate-700/60 hover:border-pink-500/30 transition-all duration-300`,children:[e.jsx("div",{className:`${l.color==="emerald"?"text-emerald-300":"text-slate-400"} text-xs`,children:l.label}),e.jsx("div",{className:`${l.color==="emerald"||l.label==="Final"?"text-emerald-400":"text-white"} font-bold text-lg`,children:l.value})]},l.label))}),e.jsxs(m.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:1.3,duration:.5},children:[e.jsx("h4",{className:"text-white font-bold text-lg",children:"Alice Y"}),e.jsx("p",{className:"text-slate-400 text-sm",children:"VIP Member | Binary Options Trader"})]})]})]}),e.jsx(Te,{children:t&&e.jsx(m.div,{initial:{opacity:0}
121,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black/80 backdrop-blur-sm z-50 flex items-center justify-center p-4",onClick:()=>s(!1),children:e.jsxs(m.div,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},className:"relative w-full max-w-2xl bg-slate-900 rounded-2xl overflow-hidden",onClick:l=>l.stopPropagation(),children:[e.jsx("button",{onClick:()=>s(!1),className:"absolute top-4 right-4 z-10 w-10 h-10 bg-slate-800/80 hover:bg-slate-700 rounded-full flex items-center justify-center transition-colors",children:e.jsx(gt,{className:"w-5 h-5 text-white"})}),e.jsxs("div",{className:"p-6",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[e.jsx("img",{src:ot,alt:"Alice Y",className:"w-12 h-12 rounded-full object-cover border-2 border-pink-500"}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-white font-bold",children:"Alice Y"}),e.jsx("p",{className:"text-slate-400 text-sm",children:"VIP Member"})]})]}),e.jsx("div",{className:"aspect-[9/16] max-h-[70vh] bg-slate-800 rounded-xl overflow-hidden",children:e.jsxs("video",{className:"w-full h-full object-cover",controls:!0,autoPlay:!0,playsInline:!0,poster:ot,onError:l=>{console.error("Video failed to load:",l)},children:[e.jsx("source",{src:Es("Ming.MP4"),type:"video/mp4"}),e.jsxs("div",{className:"flex flex-col items-center justify-center h-full p-6",children:[e.jsx("div",{className:"w-20 h-20 bg-pink-500/20 rounded-full flex items-center justify-center mx-auto mb-4",children:e.jsx(Re,{className:"w-10 h-10 text-pink-400"})}),e.jsx("p",{className:"text-slate-300 text-lg",children:"Video Review"}),e.jsx("p",{className:"text-slate-500 text-sm mt-2",children:"Your browser does not support video playback"})]})]})}),e.jsxs("div",{className:"bg-slate-700/50 rounded-xl p-4 mt-4",children:[e.jsx("p",{className:"text-slate-300 text-sm leading-relaxed",children:'"ตามซิกเลย เริ่ดดดดดนะ วันนี้ครบเป้าละ ทุนเดิม 50$ เป็น 100$ วางมือก่อน"'}),e.jsxs("div",{className:"flex items-center gap-2 mt-3",children:[e.jsx("div",{className:"bg-emerald-500/20 text-emerald-400 text-xs font-bold px-2 py-1 rounded",children:"+100% Profit"}),e.jsx("span",{className:"text-slate-500 text-xs",children:"$50 to $100"})]})]})]})]})})})]})},pt=`${Ps}/storage/v1/object/public/public-uploads/reviews`,N0=({language:t})=>{const[s,a]=p.useState(null),r=[{src:`${pt}/chat-yanii.jpg`,name:"Yanii Kruthong",tag:i(t,"ทองคำ • M5","Gold • M5"),quote:i(t,"ถ้าเป็นทุกทีคงจะบายตาม แต่ลองเชื่อน้อง Alpha เยี่ยมเลยค่ะ","Normally I'd just skip it, but I tried trusting Alpha — it's excellent!")},{src:`${pt}/chat-chitsanupong.jpg`,name:"Chitsanupong S.",tag:i(t,"Forex • ทองคำ 50x","Forex • Gold 50x"),quote:i(t,"ระบบดีมากเลยครับ ผมทำงานไปด้วยเทรดไปด้วย เล่นแต่ Forex ทำให้มีระบบเทรดมากขึ้น","Great system — I work and trade at the same time. It gave my Forex trading real structure.")},{src:`${pt}/chat-somchoke.jpg`,name:"Somchoke P.",tag:i(t,"ทองคำ 80–89%","Gold 80–89%"),quote:i(t,"แม่นเอาเรื่องเลยครับ AI ตัวนี้","This AI is seriously accurate!")}];return p.useEffect(()=>{if(s===null)return;const l=n=>{n.key==="Escape"&&a(null)};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[s]),e.jsxs("div",{className:"mb-20",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-10",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 text-emerald-400 text-xs font-semibold uppercase tracking-widest bg-emerald-500/10 px-4 py-2 rounded-full border border-emerald-500/20",children:[e.jsx(ls,{className:"w-3.5 h-3.5"}),i(t,"แชทจริงจากสมาชิก","Real member chats")]}),e.jsx("p",{className:"text-slate-400 text-sm md:text-base mt-4 max-w-2xl mx-auto",children:i(t,"ภาพแชทจาก Messenger ที่ไม่ได้ตัดต่อ — คลิกที่ภาพเพื่อขยายดูผลจริง","Unedited Messenger screenshots — tap any image to zoom in on the real results.")})]}),e.jsx("div",{className:"grid sm:grid-cols-2 md:grid-cols-3 gap-6",children:r.map((l,n)=>e.jsxs(m.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:n*.12,duration:.6},whileHover:{y:-6},className:"group relative flex flex-col bg-gradient-to-br from-slate-800/70 to-slate-800/30 border border-cyan-300/12 rounded-2xl overflow-hidden backdrop-blur-sm hover:border-emerald-500/40 transition-all duration-300 shadow-lg hover:shadow-2xl hover:shadow-emerald-500/10",children:[e.jsx("div",{className:"absolute -inset-0.5 bg-gradient-to-r from-emerald-500/20 to-cyan-500/20 rounded-2xl blur opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none"}),e.jsxs("div",{className:"relative flex items-center gap-2.5 px-4 py-3 border-b border-slate-700/40 bg-slate-900/30",children:[e.jsx("div",{className:"w-8 h-8 rounded-full bg-gradient-to-br from-[#0084FF] to-[#0064D1] flex items-center justify-center shadow-lg flex-shrink-0",children:e.jsx(ns,{className:"w-4 h-4 text-white",f
121ill:"currentColor"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("div",{className:"text-white text-sm font-semibold truncate",children:l.name}),e.jsx("div",{className:"text-slate-400 text-[11px] truncate",children:l.tag})]}),e.jsxs("div",{className:"flex items-center gap-1 bg-emerald-500/10 border border-emerald-500/20 rounded-full px-2 py-1 flex-shrink-0",children:[e.jsx(pe,{className:"w-3 h-3 text-emerald-400"}),e.jsx("span",{className:"text-emerald-400 text-[10px] font-semibold",children:i(t,"ยืนยันแล้ว","Verified")})]})]}),e.jsxs("button",{type:"button",onClick:()=>a(n),"aria-label":i(t,"ขยายภาพรีวิว","Enlarge review screenshot"),className:"relative block w-full h-72 overflow-hidden bg-slate-950",children:[e.jsx("img",{src:l.src,alt:`${l.name} — ${i(t,"รีวิว","review")}`,loading:"lazy",className:"w-full h-full object-cover object-top transition-transform duration-500 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-slate-900/80 via-transparent to-transparent"}),e.jsxs("div",{className:"absolute bottom-3 right-3 flex items-center gap-1.5 bg-slate-900/70 backdrop-blur-sm border border-white/10 rounded-full px-2.5 py-1 text-white text-[11px] font-medium opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:[e.jsx(ma,{className:"w-3.5 h-3.5"}),i(t,"คลิกเพื่อขยาย","Tap to zoom")]})]}),e.jsxs("div",{className:"relative flex flex-col flex-1 p-4",children:[e.jsx(os,{className:"w-5 h-5 text-emerald-500/40 mb-2"}),e.jsx("p",{className:"text-slate-200 text-sm leading-relaxed flex-1",translate:"no",children:l.quote}),e.jsx("div",{className:"flex items-center gap-0.5 mt-3",children:Array.from({length:5}).map((o,c)=>e.jsx(Oe,{className:"w-4 h-4 text-yellow-500 fill-yellow-500"},c))})]})]},l.name))}),e.jsx(Te,{children:s!==null&&e.jsxs(m.div,{initial:{opacity:0}
121,animate:{opacity:1},exit:{opacity:0},onClick:()=>a(null),className:"fixed inset-0 z-[100] flex items-center justify-center bg-black/85 backdrop-blur-sm p-4 cursor-zoom-out",children:[e.jsx("button",{type:"button",onClick:()=>a(null),"aria-label":i(t,"ปิด","Close"),className:"absolute top-4 right-4 grid h-11 w-11 place-items-center rounded-full bg-slate-800/80 border border-slate-600/50 text-slate-200 hover:bg-slate-700 hover:text-white transition",children:e.jsx(gt,{className:"w-5 h-5"})}),e.jsx(m.img,{initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},transition:{type:"spring",stiffness:260,damping:26},src:r[s].src,alt:r[s].name,onClick:l=>l.stopPropagation(),className:"max-h-[90vh] max-w-full md:max-w-md rounded-2xl border border-white/10 shadow-2xl object-contain cursor-default"},s)]})})]})},k0={Facebook:"text-blue-300 bg-blue-500/10 border-blue-500/30",YouTube:"text-red-300 bg-red-500/10 border-red-500/30","Line OA":"text-emerald-300 bg-emerald-500/10 border-emerald-500/30",Line:"text-emerald-300 bg-emerald-500/10 border-emerald-500/30",X:"text-slate-200 bg-white/5 border-white/20",Twitter:"text-slate-200 bg-white/5 border-white/20",TikTok:"text-fuchsia-300 bg-fuchsia-500/10 border-fuchsia-500/30",Instagram:"text-pink-300 bg-pink-500/10 border-pink-500/30"},S0=t=>k0[t]??"text-slate-200 bg-white/5 border-white/20",_0=({language:t})=>{const[s,a]=p.useState(0),[r,l]=p.useState([]);p.useEffect(()=>{const y=setInterval(()=>{document.hidden||a(S=>(S+1)%3)},3e3);return()=>clearInterval(y)},[]),p.useEffect(()=>{let y=!1;return Rs().then(S=>{y||l(S)}).catch(()=>{}),()=>{y=!0}},[]);const o=[[Ie[0],Ie[1]],[Ie[2],Ie[3]],[Ie[4],Ie[5]]][s],c=[{id:"WaTg5ks3kvc",title:"สแกนหาจุดซื้อคริปโต (BTC, ETH) โคตรแม่นด้วย AI และ 3D Heatmap!"},{id:"bYAb46_o3t8",title:"ปิดจ๊อบ $400++ ใน 1 เซสชัน! ด้วยระบบ Alphasigs AI วิเคราะห์แม่นเหมือนจับวาง"},{id:"iulZX7eHd6U",title:"สอนเทรด Forex สำหรับมือใหม่ปี 2026 เริ่มต้นยังไงให้รอด"},{id:"vtjZgtC-9hE",title:"เครื่องมือสุดล้ำ Prediction วิเคราะห์ทิศทางตลาดบน Olymptrade"},{id:"A7UpGiBKOWw",title:"ปั้นพอร์ตจาก $3,000 สู่ $5,000 ด้วย PA Multi-Timeframe Scanner!"},{id:"4St4bPzLBv8",title:"ปั้นกำไร +$1,000 ด้วย Binary Live เทรดได้ 24 ชม."},{id:"9vTusEn07w0",title:"เลิกเดาทางตลาด! คู่มือ Olymptrade ฉบับสมบูรณ์ (2026)"},{id:"soXahXYzyjw",title:"ทำไมเทรดเดอร์ 90% ถึงเจ๊ง? Multi-Timeframe เทรดบนมือถือ"},{id:"YtwoOtczdQE",title:"สอนมือใหม่ทำกำไรกับ Bitcoin บน Olymp Trade ด้วย ฿500! มือถือ"}],[d,u]=p.useState(0),x=c.length,b=()=>u(y=>(y-1+x)%x),w=()=>u(y=>(y+1)%x),A=r.length,k=A>0?r.reduce((y,S)=>y+Math.max(1,Math.min(5,S.rating)),0)/A:null,P=k!==null&&A>=10;return e.jsxs("section",{className:"py-24 px-4 bg-slate-900/30 relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,_rgba(16,185,129,0.04)_0%,transparent_70%)]"}),e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-emerald-500/5 rounded-full blur-3xl"}),e.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-cyan-500/5 rounded-full blur-3xl"})]}),e.jsxs("div",{className:"max-w-6xl mx-auto relative z-10",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[e.jsx(m.span,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.2,duration:.5},className:"inline-block text-emerald-400 text-sm font-semibold uppercase tracking-widest bg-emerald-500/10 px-4 py-2 rounded-full border border-emerald-500/20",children:i(t,"รีวิวผู้ใช้","Testimonials")}),e.jsx(m.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.3,duration:.6},className:"text-3xl md:text-5xl font-bold text-white mt-6 mb-4 bg-gradient-to-r from-white to-slate-300 bg-clip-text text-transparent",children:i(t,"รีวิวจากสมาชิก","Member Reviews")}),e.jsx(m.p,{initial:{opacity:0}
121,whileInView:{opacity:1},viewport:{once:!0},transition:{delay:.4,duration:.6},className:"text-slate-400 text-lg",children:i(t,"เสียงจากผู้ใช้งานจริง","Voices from real users")})]}),e.jsxs(m.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.2},className:"relative max-w-4xl mx-auto mb-20 group",children:[e.jsx("div",{className:"absolute -inset-1 bg-gradient-to-r from-emerald-500/20 via-cyan-500/20 to-emerald-500/20 rounded-3xl blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-700"}),e.jsxs(m.div,{whileHover:{scale:1.02},transition:{type:"spring",stiffness:300,damping:20},className:"relative flex flex-col md:flex-row items-center gap-8 md:gap-12 bg-gradient-to-br from-slate-800/80 to-slate-800/40 border border-cyan-300/12 rounded-3xl p-6 md:p-10 overflow-visible backdrop-blur-xl shadow-2xl",children:[e.jsxs(m.div,{initial:{scale:.8,opacity:0},whileInView:{scale:1,opacity:1},viewport:{once:!0},transition:{delay:.4,duration:.5},className:"absolute top-4 right-4 flex items-center gap-1.5 bg-emerald-500/10 border border-emerald-500/20 rounded-full px-3 py-1.5 shadow-lg",children:[e.jsx(pe,{className:"w-3.5 h-3.5 text-emerald-400"}),e.jsx("span",{className:"text-emerald-400 text-xs font-semibold",children:i(t,"เทรดเดอร์ยืนยันตัวตน","Verified Trader")})]}),e.jsxs(m.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.5,duration:.6},className:"relative flex-shrink-0",children:[e.jsxs("div",{className:"relative w-52 h-64 md:w-64 md:h-80 group/image",children:[e.jsx("div",{className:"absolute -inset-3 bg-gradient-to-br from-emerald-500/20 via-cyan-500/10 to-transparent rounded-2xl blur-xl group-hover/image:blur-2xl transition-all duration-500"}),e.jsx(m.img,{whileHover:{scale:1.05},transition:{type:"spring",stiffness:300,damping:20},src:ua,alt:"Somchoke Prichanant",className:"relative w-full h-full rounded-2xl object-cover border-4 border-emerald-500/30 shadow-2xl shadow-emerald-500/10 group-hover/image:border-emerald-400/50 transition-all duration-300"}),e.jsx(m.div,{initial:{y:10,opacity:0},whileInView:{y:0,opacity:1},viewport:{once:!0},transition:{delay:.7,duration:.5},className:"absolute -bottom-2 left-1/2 -translate-x-1/2 bg-gradient-to-r from-emerald-500 to-emerald-600 text-white text-xs font-bold px-4 py-1.5 rounded-full shadow-lg whitespace-nowrap",children:"Gold & FX Trader"})]}),e.jsx(Te,{mode:"wait",children:e.jsx(Zt,{bubble:o[0],position:"left"},`left-${s}`)}),e.jsx(Te,{mode:"wait",children:e.jsx(Zt,{bubble:o[1],position:"right"},`right-${s}`)})]}),e.jsxs(m.div,{initial:{opacity:0,x:30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.6,duration:.6},className:"flex-1 text-center md:text-left",children:[e.jsx(m.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.7,duration:.4},className:"flex items-center gap-1 justify-center md:justify-start mb-4",children:Array.from({length:5}).map((y,S)=>e.jsx(m.div,{initial:{opacity:0,rotate:-180},whileInView:{opacity:1,rotate:0},viewport:{once:!0},transition:{delay:.8+S*.1,duration:.5},children:e.jsx(Oe,{className:"w-5 h-5 text-yellow-500 fill-yellow-500"})},S))}),e.jsx(m.blockquote,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.9,duration:.5},className:"text-lg md:text-xl text-slate-200 leading-relaxed mb-6 font-medium",translate:"no",children:'"ทำกำไรได้ต่อเนื่องครับสำหรับ FX ทองคำ เน้นเก็บสั้นเขียวปิด ใช้การได้ดีครับแม่นมาก"'}),e.jsx("div",{className:"flex flex-wrap gap-3 justify-center md:justify-start mb-6",children:[{label:"Gold -50x",value:"+THB 1,380"},{label:"Gold -20x",value:"+THB 582"},{label:"Gold -50x",value:"+THB 457"}].map((y,S)=>e.jsxs(m.div,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},whileHover:{scale:1.05,y:-2},viewport:{once:!0},transition:{delay:1+S*.1,duration:.4},className:"bg-slate-700/40 border border-slate-600/30 rounded-xl px-3 py-2 hover:bg-slate-700/60 hover:border-emerald-500/30 transition-all duration-300",children:[e.jsx("div",{className:"text-slate-400 text-xs",children:y.label}),e.jsx("div",{className:"text-emerald-400 font-bold text-sm",children:y.value})]},y.label+y.value))}),e.jsxs(m.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:1.3,duration:.5},children:[e.jsx("h4",{className:"text-white font-bold text-lg",children:"Somchoke Prichanant"}),e.jsx("p",{className:"text-slate-400 text-sm",children:"VIP Member | Gold & FX Trader"})]})]})]}),e.jsx(m.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:1.4,duration:.5},className:"absolute -bottom-3 left-1/2 -translate-x-1/2 flex gap-2 z-20",children:[0,1,2].map(y=>e.jsx(m.button,{onClick:()=>a(y),whileHover:{scale:1.2},whileTap:{scale:.9},className:`w-2 h-2 rounded-full transition-all duration-300 ${s===y?"bg-emerald-400 w-6 shadow-lg shadow-emerald-400/50":"bg-slate-600 hover:bg-slate-500"}`},y))})]}),e.jsx(j0,{}),e.jsx(N0,{language:t}),e.jsx(m.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.3},children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsxs("div",{className:"group relative w-full overflow-hidden rounded-2xl border border-cyan-300/12 bg-slate-900 shadow-lg transition-all duration-300 hover:border-red-500/30 hover:shadow-2xl hover:shadow-red-500/20",children:[e.jsx("div",{className:"absolute -inset-1 bg-gradient-to-r from-red-500/20 to-pink-500/20 rounded-2xl blur opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),e.jsx("div",{className:"relative w-full",style:{paddingBottom:"56.25%"},children:e.jsx("iframe",{className:"absolute inset-0 h-full w-full rounded-2xl",src:`https://www.youtube-nocookie.com/embed/${c[d].id}?rel=0`,title:c[d].title,loading:"lazy",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0},c[d].id)})]}),e.jsx("p",{className:"mt-3 text-center text-sm font-medium text-slate-300",children:c[d].title}),e.jsxs("div",{className:"mt-5 flex items-center justify-center gap-4",children:[e.jsx("button",{type:"button",onClick:b,"aria-label":i(t,"คลิปก่อนหน้า","Previous clip"),className:"grid h-11 w-11 place-items-center rounded-full border border-slate-700/60 bg-slate-900/80 text-slate-200 transition hover:border-red-500/40 hover:text-white hover:shadow-lg hover:shadow-red-500/20",children:e.jsx(la,{className:"h-5 w-5"})}),e.jsxs("span",{className:"min-w-[64px] text-center text-sm font-semibold text-slate-300",children:[d+1," / ",x]}),e.jsx("button",{type:"button",onClick:w,"aria-label":i(t,"คลิปถัดไป","Next clip"),className:"grid h-11 w-11 place-items-center rounded-full border border-slate-700/60 bg-slate-900/80 text-slate-200 transition hover:border-red-500/40 hover:text-white hover:shadow-lg hover:shadow-red-500/20",children:e.jsx(na,{className:"h-5 w-5"})})]}),e.jsx("div",{className:"mt-4 flex flex-wrap items-center justify-center gap-2",children:c.map((y,S)=>e.jsx("button",{type:"button",onClick:()=>u(S),"aria-label":`${i(t,"คลิปที่","Clip")} ${S+1}`,className:`h-2.5 rounded-full transition-all ${S===d?"w-6 bg-red-500":"w-2.5 bg-slate-600 hover:bg-slate-500"}`},y.id))}),e.jsx("p",{className:"mt-4 text-center text-sm text-slate-400",children:i(t,"เลื่อนดูรีวิวสมาชิกทีละคลิป","Browse member reviews clip by clip")})]})}),r.length>0&&e.jsxs(m.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,delay:.2},className:"mt-16",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-emerald-500/30 bg-emerald-500/10 px-4 py-1.5 text-xs font-bold uppercase tracking-[0.25em] text-emerald-300",children:[e.jsx(ls,{className:"h-3.5 w-3.5"})," ",i(t,"เสียงจากโซเชียล","Voices from Social")]}),e.jsx("h3",{className:"mt-4 text-2xl font-bold text-white md:text-3xl",children:i(t,"สมาชิกพูดถึง Alpha Signals บนโซเชียล","Members talk about Alpha Signals on social")})]}),e.jsxs("div",{className:"flex snap-x snap-mandatory gap-5 overflow-x-auto pb-4 [scrollbar-width:thin] md:grid md:snap-none md:grid-cols-2 md:overflow-visible md:pb-0 lg:grid-cols-3",children:[e.jsxs("div",{className:"flex w-[280px] flex-shrink-0 snap-start flex-col justify-center rounded-2xl border border-emerald-400/30 bg-emerald-500/10 p-5 md:w-auto",children:[e.jsx("span",{className:"text-xs font-bold uppercase tracking-[0.25em] text-emerald-300",children:i(t,"รีวิวที่ยืนยันแล้ว","Verified reviews")}),e.jsx("span",{className:"mt-2 text-4xl font-bold tabular-nums text-white",children:A}),e.jsx("span",{className:"mt-1 text-sm text-slate-300",children:i(t,"รายการ จากสมาชิกจริง","from real members")}),P&&k!==null&&e.jsxs("span",{className:"mt-3 inline-flex items-center gap-1 text-sm text-slate-200",children:[e.jsx(Oe,{className:"h-4 w-4 fill-yellow-500 text-yellow-500"}),k.toFixed(1)," / 5"]}),e.jsx("span",{className:"mt-3 text-xs leading-relaxed text-slate-500",children:i(t,"ส่งรีวิวได้จากในแดชบอร์ด ทีมงานตรวจก่อนแสดงทุกรายการ","Submitted from the dashboard; every one is checked before it appears.")})]}),r.map((y,S)=>
121{const T=[y.handle,y.role].filter(Boolean).join(" · ");return e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:S*.08},className:"group relative flex w-[300px] flex-shrink-0 snap-start flex-col rounded-2xl border border-cyan-300/12 bg-slate-900/60 p-5 transition-all duration-300 hover:-translate-y-1 hover:border-emerald-500/30 hover:shadow-lg hover:shadow-emerald-500/10 md:w-auto",children:[e.jsxs("div",{className:"mb-3 flex items-center justify-between",children:[e.jsx("span",{className:`rounded-full border px-2.5 py-1 text-[10px] font-bold uppercase tracking-wide ${S0(y.platform)}`,children:y.platform}),e.jsx(os,{className:"h-5 w-5 text-slate-600 transition group-hover:text-emerald-400"})]}),e.jsx("div",{className:"mb-3 flex items-center gap-0.5",children:Array.from({length:Math.max(1,Math.min(5,y.rating))}).map((j,I)=>e.jsx(Oe,{className:"h-4 w-4 fill-yellow-500 text-yellow-500"},I))}),e.jsx("p",{className:"flex-1 text-sm leading-relaxed text-slate-200",translate:"no",children:y.quote}),e.jsxs("div",{className:"mt-4 flex items-center gap-3 border-t border-slate-700/40 pt-4",children:[y.avatar_url?e.jsx("img",{src:y.avatar_url,alt:y.name,loading:"lazy",className:"h-10 w-10 flex-shrink-0 rounded-full object-cover"}):e.jsx("div",{className:"grid h-10 w-10 flex-shrink-0 place-items-center rounded-full bg-gradient-to-br from-emerald-500 to-cyan-500 text-sm font-bold text-white",children:y.name.replace(/^คุณ/,"").charAt(0).toUpperCase()}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("div",{className:"truncate font-semibold text-white",children:y.name}),T&&e.jsx("div",{className:"truncate text-xs text-slate-400",children:T})]}),y.source_url&&e.jsx("a",{href:y.source_url,target:"_blank",rel:"noopener noreferrer",className:"flex-shrink-0 text-xs font-medium text-emerald-400 hover:text-emerald-300",children:i(t,"ดูโพสต์","View")})]})]},y.id)})]})]})]})]})},A0=({language:t})=>{const s=[{name:"MT4",description:"MetaTrader 4",logo:"/MT4.webp",category:"Desktop"},{name:"MT5",description:"MetaTrader 5",logo:"/mt5.png",category:"Desktop"},{name:"cTrader",description:"cTrader Platform",logo:"/Ctrade.webp",category:"Desktop"},{name:"Olymp Trade",description:"Binary Options",logo:"/OT.png",category:"Web"}];return e.jsxs("section",{className:"py-24 px-4 relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-slate-950 via-slate-900/50 to-slate-950"}),e.jsx("div",{className:"absolute inset-0",children:e.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[800px] h-[800px] bg-gradient-to-r from-emerald-500/5 via-cyan-500/5 to-blue-500/5 rounded-full blur-3xl"})}),e.jsxs("div",{className:"relative max-w-7xl mx-auto",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"text-center mb-16",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-gradient-to-br from-slate-900/75 to-slate-900/45 border border-cyan-300/15 shadow-[0_0_28px_rgba(34,211,238,0.07)] rounded-full backdrop-blur-sm mb-6",children:[e.jsx(pe,{className:"w-4 h-4 text-emerald-400"}),e.jsx("span",{className:"text-emerald-400 text-sm font-medium",children:i(t,"รองรับหลายแพลตฟอร์ม","Universal Compatibility")})]}),e.jsxs("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-6",children:[i(t,"รองรับทุกแพลตฟอร์ม","Supports Every Platform"),e.jsx("span",{className:"block mt-2 bg-gradient-to-r from-emerald-400 to-cyan-400 bg-clip-text text-transparent",children:i(t,"การเทรดชั้นนำ","for Modern Trading")})]}),e.jsx("p",{className:"text-slate-400 text-lg max-w-2xl mx-auto",children:i(t,"เชื่อมต่อกับแพลตฟอร์มการเทรดที่คุณใช้งานอยู่ได้ทันที ไม่ว่าจะเป็น Desktop, Web หรือ Mobile","Connect instantly to your preferred trading platform on de
121sktop, web, or mobile")})]}),e.jsx(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},className:"grid grid-cols-2 md:grid-cols-4 gap-6 md:gap-8",children:s.map((a,r)=>e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:r*.1},whileHover:{y:-8,scale:1.05},className:"group relative",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-emerald-500/20 via-cyan-500/20 to-blue-500/20 rounded-2xl blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),e.jsxs("div",{className:"relative bg-slate-800/40 backdrop-blur-sm border border-cyan-300/12 rounded-2xl p-6 h-full flex flex-col items-center justify-center text-center space-y-4 group-hover:border-emerald-500/50 transition-all duration-300",children:[e.jsx("div",{className:"w-20 h-20 bg-white/5 rounded-xl flex items-center justify-center group-hover:bg-white/10 transition-colors overflow-hidden p-2",children:e.jsx("img",{src:a.logo,alt:a.name,className:"w-full h-full object-contain"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-white font-semibold text-lg mb-1",children:a.name}),e.jsx("p",{className:"text-slate-400 text-sm",children:a.description})]}),e.jsxs("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 bg-emerald-500/10 border border-emerald-500/20 rounded-full",children:[e.jsx(pe,{className:"w-3 h-3 text-emerald-400"}),e.jsx("span",{className:"text-emerald-400 text-xs font-medium",children:a.category})]})]})]},a.name))}),e.jsx(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.6},className:"mt-16 text-center",children:e.jsxs("div",{className:"inline-flex items-center gap-8 flex-wrap justify-center",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-12 h-12 bg-emerald-500/10 rounded-xl flex items-center justify-center",children:e.jsx(Nt,{className:"w-6 h-6 text-emerald-400"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("div",{className:"text-white font-semibold",children:i(t,"หลายแพลตฟอร์ม","Cross-Platform")}),e.jsx("div",{className:"text-slate-400 text-sm",children:i(t,"ใช้งานได้ทุกอุปกรณ์","Works on every device")})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-12 h-12 bg-cyan-500/10 rounded-xl flex items-center justify-center",children:e.jsx(xe,{className:"w-6 h-6 text-cyan-400"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("div",{className:"text-white font-semibold",children:i(t,"ซิงค์เรียลไทม์","Real-Time Sync")}),e.jsx("div",{className:"text-slate-400 text-sm",children:i(t,"ซิงค์แบบเรียลไทม์","Synchronized in real time")})]})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-12 h-12 bg-blue-500/10 rounded-xl flex items-center justify-center",children:e.jsx(We,{className:"w-6 h-6 text-blue-400"})}),e.jsxs("div",{className:"text-left",children:[e.jsx("div",{className:"text-white font-semibold",children:i(t,"API ปลอดภัย","Secure API")}),e.jsx("div",{className:"text-slate-400 text-sm",children:i(t,"เชื่อมต่อปลอดภัย","Secure connectivity")})]})]})]})})]})]})},C0=({language:t})=>{const[s,a]=p.useState(!1),[r,l]=p.useState(""),[n,o]=p.useState(""),[c,d]=p.useState({state:"idle"}),[u,x]=p.useState(!1),b=async()=>{d({state:"checking"});try{const{data:k,error:P}=await ce.rpc("renewal_code_check",{p_code:r,p_email:n});if(P)throw P;const y=k;if(!(y!=null&&y.ok))return d({state:"no_match"});if(y.reason==="still_active")return d({state:"active",code:y.code||r});d({state:"eligible",code:y.code||r,credits:y.credits||0})}catch(k){d({state:"error",message:k instanceof Error?k.message:i(t,"ตรวจสอบไม่สำเร็จ","Check failed")})}},w=async k=>{x(!0);try{const P=await Ve({planType:"monthly",currency:"thb",vipCode:k,customerEmail:n.trim()});window.location.href=P}catch(P){x(!1),d({state:"error",message:P instanceof Error?P.message:i(t,"เริ่มการชำระเงินไม่สำเร็จ","Could not start checkout")})}},A=r.trim().length>=6&&n.includes("@")&&c.state!=="checking";return s?e.jsxs("div",{className:"mt-8 bg-gradient-to-br from-slate-900/70 to-slate-900/40 border border-emerald-300/15 rounded-2xl p-6 backdrop-blur-sm",children:[e.jsxs("div",{className:"flex items-start gap-3 mb-4",children:[e.jsx("div",{className:"w-10 h-10 bg-emerald-500/15 rounded-xl flex items-center justify-center shrink-0",children:e.jsx(ha,{className:"w-5 h-5 text-emerald-400"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-lg font-bold text-white",children:i(t,"ต่ออายุรหัสเดิม","Renew your original co
121de")}),e.jsx("p",{className:"text-sm text-slate-400 mt-1",children:i(t,"เครดิตของคุณผูกอยู่กับรหัสเดิม ถ้าซื้อแพ็กเกจใหม่ระบบจะออกรหัสใบใหม่ และเครดิตเดิมจะไม่ตามไปด้วย","Your credits are tied to your original code. Buying a new package issues a new code and the old credits do not follow.")})]})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-3",children:[e.jsx("input",{value:r,onChange:k=>{l(k.target.value),d({state:"idle"})},placeholder:i(t,"รหัส VIP เดิม","Your original VIP code"),className:"w-full px-4 py-2.5 bg-black/40 border border-white/10 rounded-xl text-white placeholder-slate-500 text-sm focus:outline-none focus:border-emerald-400/50 font-mono"}),e.jsx("input",{value:n,onChange:k=>{o(k.target.value),d({state:"idle"})},type:"email",placeholder:i(t,"อีเมลที่ใช้ตอนซื้อ","Email used at purchase"),className:"w-full px-4 py-2.5 bg-black/40 border border-white/10 rounded-xl text-white placeholder-slate-500 text-sm focus:outline-none focus:border-emerald-400/50"})]}),c.state!=="eligible"&&e.jsx("button",{onClick:b,disabled:!A,className:"mt-3 w-full sm:w-auto px-6 py-2.5 rounded-xl bg-emerald-500/90 hover:bg-emerald-500 disabled:opacity-40 disabled:cursor-not-allowed text-black font-semibold text-sm transition-colors",children:c.state==="checking"?i(t,"กำลังตรวจสอบ...","Checking..."):i(t,"ตรวจสอบรหัส","Check code")}),c.state==="eligible"&&e.jsxs("div",{className:"mt-4 bg-emerald-500/10 border border-emerald-400/25 rounded-xl p-4",children:[e.jsxs("div",{className:"flex items-center gap-2 text-emerald-300 font-semibold text-sm",children:[e.jsx(pe,{className:"w-4 h-4"}),i(t,"พบรหัสของคุณแล้ว","Found your code")]}),e.jsx("p",{className:"text-sm text-slate-300 mt-2",children:c.credits>0?i(t,`รหัส ${c.code} มีเครดิตคงเหลือ ${c.credits.toLocaleString()} เครดิต ต่ออายุแล้วใช้ได้ทันที`,`Code ${c.code} still holds ${c.credits.toLocaleString()} credits. They are usable again as soon as it is renewed.`):i(t,`รหัส ${c.code} พร้อมต่ออายุ`,`Code ${c.code} is ready to renew.`)}),e.jsxs("button",{onClick:()=>w(c.code),disabled:u,className:"mt-3 w-full sm:w-auto px-6 py-2.5 rounded-xl bg-emerald-500 hover:bg-emerald-400 disabled:opacity-50 text-black font-semibold text-sm transition-colors inline-flex items-center gap-2",children:[u?i(t,"กำลังไปหน้าชำระเงิน...","Opening checkout..."):i(t,`ต่ออายุรหัสนี้ 1 เดือน (฿${Ne.monthly.price})`,`Renew this code for 1 month (฿${Ne.monthly.price})`),e.jsx(le,{className:"w-4 h-4"})]})]}),c.state==="active"&&e.jsx("p",{className:"mt-4 text-sm text-cyan-300",children:i(t,"รหัสนี้ยังไม่หมดอายุ เข้าสู่ระบบได้ตามปกติ และต่ออายุจากหน้าบัญชีของคุณ","This code has not expired. Log in as usual and renew from your account page.")}),c.state==="no_match"&&e.jsx("p",{className:"mt-4 text-sm text-amber-300",children:i(t,"ไม่พบรหัสที่ตรงกับอีเมลนี้ กรุณาตรวจสอบว่ากรอกรหัสและอีเมลที่ใช้ตอนซื้อถูกต้อง หากยังไม่ได้ ติดต่อแอดมินได้เลยครับ","No code matches that email. Please check both fields, or contact the admin if it still does not work.")}),c.state==="error"&&e.jsx("p",{className:"mt-4 text-sm text-red-300",children:c.message})]}):e.jsx("div",{className:"text-center mt-8",children:e.jsx("button",{onClick:()=>a(!0),className:"text-slate-400 hover:text-emerald-400 text-sm font-medium transition-colors underline underline-offset-4 decoration-slate-600",children:i(t,"เคยเป็นสมาชิกแล้วรหัสหมดอายุ? ต่ออายุรหัสเดิมเพื่อเก็บเครดิตไว้","Code expired? Renew your original co
121de and keep your credits")})})},I0=({onScrollToLogin:t,language:s,preferredPlan:a})=>{var T;const[r,l]=p.useState(a?Os(a):"starter"),[n,o]=p.useState(a??"semiAnnual"),[c,d]=p.useState(!1),u={monthly:i(s,"1 เดือน","1 Month"),quarterly:i(s,"3 เดือน","3 Months"),semiAnnual:i(s,"6 เดือน","6 Months"),annual:i(s,"12 เดือน","12 Months")},x={monthly:i(s,"30 วัน","30 Days"),quarterly:i(s,"90 วัน","90 Days"),semiAnnual:i(s,"180 วัน","180 Days"),annual:i(s,"365 วัน","365 Days")},b=Ds(r).map(j=>{const I=Ne[j],{perMonth:W,savePct:h}=Fs(j);return{key:j,name:u[I.term],price:I.price,pricePerMonth:W,duration:x[I.term],savings:h>0?i(s,`ประหยัด ${h}%`,`Save ${h}%`):void 0,badge:I.term==="semiAnnual"?i(s,"ยอดนิยม","Popular"):I.term==="annual"?i(s,"คุ้มที่สุด","Best Value"):void 0,popular:I.term==="semiAnnual"}}),w=j=>{l(j),o(Tt(j,Ne[n].term))},k={starter:[i(s,"สัญญาณเทรด Real-time ไม่จำกัด","Unlimited real-time signals"),i(s,"เครื่องมือ AI Analysis ทั้งหมด","Full AI analysis tools"),"Smart Money Concepts Dashboard",i(s,"Volume Profile · VWAP · Multi-Timeframe","Volume Profile · VWAP · Multi-Timeframe"),i(s,"กราฟ + อินดิเคเตอร์ 40+ ตัว + presets","Charts + 40+ indicators + presets"),i(s,"Support ตลอด 24/7","24/7 Support")],pro:[i(s,"ทุกอย่างในแพ็กเกจ Starter","Everything in Starter"),"Footprint (bid×ask) · ไม้ใหญ่ · กำแพง order book","กระดาน depth · Bookmap · CVD · Open Interest",i(s,"จุดโดนล้าง + ตำแหน่งฝูงชน (funding · long/short)","Liquidation heat + crowd positioning (funding · long/short)"),i(s,"มุมมอง 3D · Flow · Alt Data","3D · Flow · Alt Data views"),"Preset Volume Pro · MTF POC · Volume DNA"]}[r];p.useEffect(()=>{a&&o(a)},[a]);const P=(T=b.find(j=>j.key===a))==null?void 0:T.name,y=async j=>{d(!0);try{const I=await Ve({planType:j});window.location.href=I}catch(I){console.error("Checkout error:",I),d(!1),alert(I instanceof Error?I.message:i(s,"เกิดข้อผิดพลาด กรุณาลองใหม่","An error occurred. Please try again."))}},S=async j=>{d(!0);try{const I=await Ve({planType:j,usePromptPay:!0});window.location.href=I}catch(I){console.error("PromptPay checkout error:",I),d(!1),alert(I instanceof Error?I.message:i(s,"เกิดข้อผิดพลาด กรุณาลองใหม่","An error occurred. Please try again."))}};return e.jsxs("section",{id:"pricing",className:"py-24 px-4 relative overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[e.jsx("div",{className:"absolute top-1/4 left-1/4 w-[500px] h-[500px] bg-emerald-500/5 rounded-full blur-3xl"}),e.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-[500px] h-[500px] bg-cyan-500/5 rounded-full blur-3xl"})]}),e.jsxs("div",{className:"relative max-w-6xl mx-auto",children:[e.jsxs(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-16",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 px-4 py-2 bg-emerald-500/10 border border-emerald-500/30 rounded-full text-emerald-400 text-sm font-medium mb-6",children:[e.jsx($e,{className:"w-4 h-4"}),i(s,"ราคาโปรโมชั่น","Special Pricing")]}),e.jsx("h2",{className:"text-3xl md:text-5xl font-bold text-white mb-4",children:i(s,"เลือกแพ็คเกจที่เหมาะกับคุณ","Choose the Plan That Fits You")}),e.jsx("p",{className:"text-slate-400 max-w-2xl mx-auto text-lg",children:i(s,"เข้าถึงทุกฟีเจอร์ระดับ Premium พร้อมสัญญาณเทรดแบบ Real-time","Get all premium features with real-time trading signals")}),P&&e.jsxs("p",{className:"text-emerald-300 text-sm mt-3",children:[i(s,"Auto-Trade แนะนำแพ็ก:","Auto-Trade suggested plan:")," ",e.jsx("span",{className:"font-semibold",children:P})]})]}),e.jsx("div",{role:"tablist","aria-label":i(s,"เลือกระดับแพ็คเกจ","Choose a tier"),className:"mx-auto mb-8 flex w-full max-w-xl items-stretch gap-1 rounded-2xl border border-slate-700/60 bg-slate-900/70 p-1",children:["starter","pro"].map(j=>{const I=r===j,W=Ne[Tt(j,"monthly")].price;return e.jsxs("button",{type:"button",role:"tab","aria-selected":I,onClick:()=>w(j),className:`flex-1 rounded-xl px-4 py-3 text-left transition-all ${I?j==="pro"?"bg-gradient-to-r from-amber-500/25 to-orange-500/20 border border-amber-400/50 shadow-lg shadow-amber-500/10":"bg-gradient-to-r from-emerald-500/25 to-cyan-500/20 border border-emerald-400/50 shadow-lg shadow-emerald-500/10":"border border-transparent hover:bg-slate-800/60"}`,children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("span",{className:`text-base font-bold ${I?"text-white":"text-slate-300"}`,children:lt[j]}),e.jsx("span",{className:`text-xs font-semibold ${I?j==="pro"?"text-amber-300":"text-emerald-300":"text-slate-500"}
121`,children:i(s,`เริ่ม ฿${W.toLocaleString()}/เดือน`,`from ฿${W.toLocaleString()}/mo`)})]}),e.jsx("p",{className:"mt-1 text-[12px] leading-snug text-slate-400",children:j==="pro"?i(s,"Starter + Footprint · Order Flow · CVD/OI · 3D — เครื่องมืออ่าน tape ระดับโปร","Starter + Footprint · Order Flow · CVD/OI · 3D — pro tape-reading tools"):i(s,"สัญญาณ + กราฟ + SMC + AI Analysis — ครบสำหรับเริ่มต้น","Signals + charts + SMC + AI analysis — everything to start")})]},j)})}),e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4 lg:gap-6 mb-12",children:b.map((j,I)=>e.jsxs(m.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:I*.1},onClick:()=>o(j.key),className:`relative cursor-pointer transition-all duration-300 ${j.popular?"md:-mt-4 md:mb-4":""}`,children:[j.badge&&e.jsx("div",{className:`absolute -top-4 left-1/2 -translate-x-1/2 px-4 py-1.5 rounded-full text-xs font-bold z-10 ${j.popular?"bg-gradient-to-r from-emerald-500 to-cyan-500 text-slate-900":"bg-gradient-to-r from-yellow-500 to-orange-500 text-slate-900"}`,children:j.badge}),e.jsxs("div",{className:`h-full p-6 lg:p-8 rounded-2xl border-2 transition-all duration-300 ${n===j.key?"bg-gradient-to-b from-slate-800/80 to-slate-800/60 border-emerald-500 shadow-lg shadow-emerald-500/20":"bg-slate-800/40 border-slate-700/50 hover:border-slate-600"} ${j.popular?"lg:py-10":""}`,children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsx("h3",{className:"text-xl font-bold text-white",children:j.name}),e.jsx("div",{className:`w-5 h-5 rounded-full border-2 flex items-center justify-center transition-all ${n===j.key?"border-emerald-500 bg-emerald-500":"border-slate-600"}`,children:n===j.key&&e.jsx(pe,{className:"w-3 h-3 text-white"})})]}),e.jsxs("div",{className:"mb-6",children:[e.jsxs("div",{className:"flex items-baseline gap-1",children:[e.jsx("span",{className:"text-2xl text-slate-400",children:"฿"}),e.jsx("span",{className:"text-5xl font-bold text-white",children:j.price.toLocaleString()})]}),e.jsxs("div",{className:"flex items-center gap-2 mt-2",children:[e.jsxs("span",{className:"text-slate-500 text-sm",children:["฿",j.pricePerMonth,"/",i(s,"เดือน","month")]}),j.savings&&e.jsx("span",{className:"px-2 py-0.5 bg-emerald-500/20 text-emerald-400 text-xs rounded-full font-medium",children:j.savings})]})]}),e.jsxs("div",{className:"flex items-center gap-2 mb-6 text-sm text-slate-400",children:[e.jsx(ft,{className:"w-4 h-4"}),e.jsxs("span",{children:[i(s,"ใช้งานได้","Valid for")," ",j.duration]})]}),e.jsx("button",{onClick:W=>{W.stopPropagation(),y(j.key)},disabled:c,className:`w-full py-4 rounded-xl font-bold transition-all flex items-center justify-center gap-2 ${n===j.key?"bg-gradient-to-r from-emerald-500 to-cyan-500 text-slate-900 hover:shadow-lg hover:shadow-emerald-500/30":"bg-slate-700/50 text-white hover:bg-slate-700"}`,children:c?e.jsx(m.div,{animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"},className:"w-5 h-5 border-2 border-current/30 border-t-current rounded-full"}):e.jsxs(e.Fragment,{children:[e.jsx(oa,{className:"w-5 h-5"}),e.jsx("span",{children:i(s,"เลือกแพ็คเกจนี้","Select This Plan")})]})}),e.jsxs("button",{onClick:W=>{W.stopPropagation(),S(j.key)},disabled:c,className:"w-full mt-2 py-3 rounded-xl font-semibold transition-all flex items-center justify-center gap-2 bg-slate-800/60 border border-sky-500/30 text-sky-300 hover:bg-sky-500/10 hover:border-sky-500/50 disabled:opacity-50",children:[e.jsx(is,{className:"w-4 h-4"}),e.jsx("span",{children:i(s,"ไม่มีบัตร? จ่ายด้วย PromptPay","No card? Pay with PromptPay")})]})]})]},j.key))}),e.jsx($s,{language:s,tier:r,onPickTier:w,onFree:t}),e.jsx("div",{className:"mt-8",children:e.jsx(Vs,{language:s==="en"?"en":"th"})}),e.jsx(C0,{language:s}),e.jsx(m.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"mt-8 bg-gradient-to-br from-slate-900/70 to-slate-900/40 border border-cyan-300/15 shadow-[0_0_28px_rgba(34,211,238,0.07)] rounded-2xl p-8 backdrop-blur-sm",children:e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-center justify-between gap-8",children:[e.jsxs("div",{children:[e.jsxs("h3",{className:"text-xl font-bold text-white mb-4 flex items-center gap-3",children:[e.jsx("div",{className:"w-10 h-10 bg-emerald-500/20 rounded-xl flex items-center justify-center",children:e.jsx(pe,{className:"w-5 h-5 text-emerald-500"})}),i(s,`แพ็คเกจ ${lt[r]}
121 รวมฟีเจอร์เหล่านี้`,`${lt[r]} plans include these features`)]}),e.jsx("div",{className:"grid sm:grid-cols-2 gap-3",children:k.map((j,I)=>e.jsxs("div",{className:"flex items-center gap-3 text-slate-300",children:[e.jsx(pe,{className:`w-4 h-4 flex-shrink-0 ${r==="pro"?"text-amber-400":"text-emerald-500"}`}),e.jsx("span",{className:"text-sm",children:j})]},I))}),r==="pro"&&e.jsx("p",{className:"mt-4 text-xs leading-relaxed text-slate-500",children:i(s,"เครื่องมือ Pro คือข้อมูลจริงจาก order book และตลาด perp สำหรับอ่านตลาดด้วยตัวเอง — ไม่ใช่สัญญาณซื้อขาย และไม่ได้รับประกันผลตอบแทน · เปิดให้เฉพาะสมาชิกแพ็กเกจ Pro","Pro tools are real order-book and perp-market data for reading the market yourself — not trade signals, and no return is guaranteed · available on the Pro plan only")})]}),e.jsxs("div",{className:"lg:text-right space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-center lg:justify-end gap-3 text-sm",children:[e.jsx("span",{className:"text-slate-400",children:i(s,"ชำระผ่าน:","Pay with:")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"px-3 py-1.5 bg-slate-700/50 rounded-lg text-slate-300 text-xs font-medium",children:"Credit Card"}),e.jsx("div",{className:"px-3 py-1.5 bg-slate-700/50 rounded-lg text-slate-300 text-xs font-medium",children:"PromptPay"})]})]}),e.jsxs("div",{className:"flex items-center justify-center lg:justify-end gap-2 text-sm text-slate-400",children:[e.jsx(We,{className:"w-4 h-4 text-emerald-500"}),e.jsx("span",{children:i(s,"ชำระเงินปลอดภัยผ่าน Stripe","Secure payment via Stripe")})]}),e.jsx("button",{onClick:t,className:"text-emerald-400 hover:text-emerald-300 text-sm font-medium transition-colors",children:i(s,"มีรหัส VIP อยู่แล้ว? คลิกเพื่อเข้าสู่ระบบ","Already have a VIP code? Click to log in")})]})]})})]})]})},T0=({isOpen:t,onClose:s,onLogin:a,onFreeSignup:r,language:l})=>{const n="vip_code_draft",o="vip_code_remember",c=p.useRef(null),d=p.useRef(null),u=p.useRef(null),x=p.useRef(null),b=at(),[w,A]=p.useState(""),[k,P]=p.useState(!1),[y,S]=p.useState(""),[T,j]=p.useState(!1),[I,W]=p.useState(!1);p.useEffect(()=>{if(!t)return;x.current=document.activeElement;const R=document.body.style.overflow;document.body.style.overflow="hidden";const O=window.sessionStorage.getItem(o)==="1",J=window.sessionStorage.getItem(n)||"";P(O),A(O?J:"");const D=Y=>Array.from(Y.querySelectorAll('a[href], button, textarea, input, select, [tabindex]:not([tabindex="-1"])')).filter(L=>{if(L.disabled||L.getAttribute("aria-disabled")==="true"||L.getAttribute("hidden")!==null||L.getAttribute("aria-hidden")==="true"||L.type==="hidden"||L.closest('[aria-hidden="true"]')||L.closest("[inert]"))return!1;const me=window.getComputedStyle(L);return!(me.display==="none"||me.visibility==="hidden")}),se=Y=>{var U;if(Y.key==="Escape"){s();return}if(Y.key==="Tab"){const L=c.current;if(!L)return;const Z=D(L);if(Z.length===0){Y.preventDefault(),(U=d.current)==null||U.focus();return}const me=Z[0],f=Z[Z.length-1],N=document.activeElement;Y.shiftKey&&N===me?(Y.preventDefault(),f.focus()):!Y.shiftKey&&N===f&&(Y.preventDefault(),me.focus())}};return window.addEventListener("keydown",se),setTimeout(()=>{var L,Z;const Y=c.current;if(!Y)return;const U=D(Y);(L=u.current)==null||L.focus(),document.activeElement!==u.current&&((Z=U[0])==null||Z.focus())},0),()=>{var Y;window.removeEventListener("keydown",se),document.body.style.overflow=R,(Y=x.current)==null||Y.focus()}},[t,s]);const h={hidden:{},show:{transition:{delayChildren:b?0:.12,staggerChildren:b?0:.08}}},g={hidden:{opacity:0,y:b?0:16},show:{opacity:1,y:0,transition:{duration:b?.01:.28,ease:"easeOut"}}},_=R=>{const O=String(R instanceof Error?R.message:R).toLowerCase();return O.includes("abort")||O.includes("failed to fetch")||O.includes("network")||O.includes("timeout")||O.includes("signal is aborted")},H=async(R,O=2,J=600)=>{let D;for(let se=0;se<=O;se++)try{return await R()}catch(Y){if(D=Y,se===O||!_(Y))throw Y;await new Promise(U=>setTimeout(U,J*(se+1)))}throw D},G=R=>{const O=new AbortController,J=setTimeout(()=>O.abort(),R);return{signal:O.signal,clear:()=>clearTimeout(J)}},M=async()=>{W(!0);try{const R=await Ve({planType:"monthly"});window.location.href=R}catch(R){console.error("Checkout error:",R),S(R instanceof Error?R.message:i(l,"เกิดข้อผิดพลาด","An error occurred"))}finally{W(!1)}},X=async()=>{W(!0);try{const R=await Ve({planType:"monthly",usePromptPay:!0});window.location.href=R}catch(R){console.error("PromptPay checkout error:",R),S(R instanceof Error?R.message:i(l,"เกิดข้อผิดพลาด","An error occurred"))}finally{W(!1)}},ne=async R=>{R.preventDefault(),S(""),j(!0);try{const O=w.trim().toUpperCase();if(O.startsWith("FREE-")){const{data:L,error:Z}=await ce.rpc("login_free_account",{p_code:O});if(Z||!(L!=null&&L.success)){S(Z?i(l,"เชื่อมต่อไม่สำเร็จ ลองใหม่อีกครั้ง","Connection failed, try again"):(L==null?void 0:L.message)||i(l,"ไม่พบรหัสนี้","Code not found")),j(!1);return}Ts(L.code,L.expires_at),await a({code:L.code,expiresAt:L.expires_at||new Date(Date.now()+3*864e5).toISOString()}),s();return}k?(window.sessionStorage.setItem(o,"1"),window.sessionStorage.setItem(n,O)):(window.sessionStorage.removeItem(o),window.sessionStorage.removeItem(n));const J={"x-vip-code":O},{data:D,error:se}=await H(async()=>{const L=G(7e3);try{return await ce.from("vip_codes").select("*").eq("code",O).setHeader("x-vip-code",J["x-vip-code"]).abortSignal(L.signal).maybeSingle()}finally{L.clear()}});if(se)throw new Error("Database error");
121if(!D){S(i(l,"รหัสไม่ถูกต้อง","Invalid code")),j(!1);return}const Y=new Date;if(new Date(D.expires_at)<Y){S(i(l,"รหัสหมดอายุแล้ว กรุณาติดต่อแอดมินเพื่อต่ออายุ","Code expired. Please contact admin for renewal")),j(!1);return}if(D.max_uses!==null&&D.use_count>=D.max_uses){S(i(l,"รหัสนี้ถูกใช้งานครบจำนวนแล้ว","This code has reached its usage limit")),j(!1);return}Ms(D.code,D.expires_at,D),await a({code:D.code,expiresAt:D.expires_at}),s(),H(async()=>{const L=G(4e3);try{return await ce.rpc("vip_code_touch_login",{p_code:O,p_session:`Session-${Date.now()}`}).abortSignal(L.signal)}finally{L.clear()}},1,300).then(({error:L})=>{L&&console.warn("VIP usage update failed (non-blocking):",L.message||L)}).catch(L=>{console.warn("VIP usage update failed (non-blocking):",L)})}catch(O){console.error("Login error:",O),_(O)?S(i(l,"ระบบกำลังหนาแน่น กรุณาลองใหม่อีกครั้งใน 10-20 วินาที","System is busy. Please try again in 10-20 seconds")):S(i(l,"เกิดข้อผิดพลาด กรุณาลองใหม่อีกครั้ง","An error occurred. Please try again.")),j(!1)}};return e.jsx(Te,{children:t&&e.jsxs(m.div,{initial:{opacity:0}
121,animate:{opacity:1},exit:{opacity:0},transition:{duration:b?.01:.2},className:"fixed inset-0 z-[100] bg-black/90 backdrop-blur-md",onClick:s,children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_30%_45%,rgba(251,146,60,0.14),transparent_45%)]"}),e.jsxs(m.div,{initial:{opacity:0,y:b?0:28,scale:b?1:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:b?0:16,scale:b?1:.98},transition:{duration:b?.01:.24,ease:"easeOut"},onClick:R=>R.stopPropagation(),ref:c,role:"dialog","aria-modal":"true","aria-labelledby":"vip-login-title",tabIndex:-1,className:"relative mx-auto mt-8 flex h-[calc(100vh-4rem)] w-[min(1260px,95vw)] overflow-hidden rounded-2xl border border-amber-100/15 bg-black shadow-2xl",children:[e.jsx(Js,{className:"absolute inset-0"}),e.jsx(p.Suspense,{fallback:null,children:e.jsx(Zr,{className:"absolute inset-0",still:!1,inclinationDeg:8,distanceRs:30})}),e.jsx("div",{className:"pointer-events-none absolute inset-0 hidden lg:block",style:{background:"linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 38%, rgba(0,0,0,0.80) 62%, rgba(0,0,0,0.95) 100%)"}}),e.jsx("div",{className:"pointer-events-none absolute inset-0 lg:hidden",style:{background:"linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 22%, rgba(0,0,0,0.88) 40%, #000 62%)"}}),e.jsxs(m.section,{initial:{opacity:0,x:b?0:-24},animate:{opacity:1,x:0},exit:{opacity:0,x:b?0:-16},transition:{duration:b?.01:.32,ease:"easeOut"},className:"relative hidden flex-1 overflow-hidden lg:flex",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0",style:{background:"linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 46%, rgba(0,0,0,0.72) 76%, rgba(0,0,0,0.92) 100%)"}}),e.jsxs(m.div,{variants:h,initial:"hidden",animate:"show",className:"relative z-10 flex h-full flex-col justify-between p-16",children:[e.jsxs(m.div,{variants:g,children:[e.jsx("p",{className:"text-3xl font-bold tracking-[0.4em] text-white",children:"ALPHA"}),e.jsx("p",{className:"mt-2 font-mono text-[10px] uppercase tracking-[0.28em] text-amber-200/80",children:"AI SIGNALS · VIP ACCESS TERMINAL"}),e.jsx("p",{"aria-hidden":"true",className:"mt-1 font-mono text-[10px] uppercase tracking-[0.28em] text-slate-500",children:"SCHWARZSCHILD METRIC // NULL-GEODESIC RAYTRACING"})]}),e.jsxs(m.div,{variants:g,className:"space-y-4",children:[e.jsx("p",{className:"max-w-md text-4xl font-extrabold leading-[1.05] tracking-tight text-white",children:i(l,"ดูให้ชัด แล้วค่อยลงมือ","Look first. Then leap.")}),e.jsx("p",{className:"max-w-md text-lg text-slate-300",children:i(l,"Login เข้าระบบ AI Signals เพื่อเข้าถึง Dashboard, ข่าว และเครื่องมือวิเคราะห์แบบ Real-time","Sign in to access the AI Signals dashboard, news, and real-time analysis tools")})]})]})]}),e.jsxs(m.section,{initial:{opacity:0,x:b?0:20},animate:{opacity:1,x:0},exit:{opacity:0,x:b?0:12},transition:{duration:b?.01:.28,ease:"easeOut"},className:"relative flex w-full items-end justify-center p-6 sm:p-10 lg:w-[460px] lg:items-center lg:border-l lg:border-white/10 lg:bg-black/60 lg:backdrop-blur-xl",children:[e.jsx("button",{ref:d,onClick:s,className:"absolute right-4 top-4 z-10 rounded-full border border-white/15 p-2 text-slate-400 transition hover:border-amber-200/40 hover:text-amber-100","aria-label":"ปิดหน้าต่างเข้าสู่ระบบ",children:e.jsx(gt,{className:"h-5 w-5"})}),e.jsxs(m.div,{variants:h,initial:"hidden",animate:"show",className:"w-full max-w-sm",children:[e.jsxs(m.div,{variants:g,className:"mb-8 flex items-center gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center border border-amber-200/30 bg-amber-300/10",children:e.jsx(ra,{className:"h-4 w-4 text-amber-200"})}),e.jsxs("div",{children:[e.jsx("p",{className:"font-mono text-[10px] uppercase tracking-[0.28em] text-amber-200/70",children:i(l,"เข้าสู่ระบบ","Sign in")}),e.jsx("h2",{id:"vip-login-title",className:"mt-0.5 text-2xl font-bold tracking-tight text-white",children:i(l,"เข้าสู่ระบบด้วย VIP","Sign in with VIP")}
121)]})]}),e.jsxs(m.form,{variants:g,onSubmit:ne,className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"vip-access-code",className:"mb-2 block font-mono text-[10px] uppercase tracking-[0.28em] text-slate-400",children:"VIP Access Code"}),e.jsx("input",{ref:u,id:"vip-access-code",type:"text",value:w,onChange:R=>{const O=R.target.value.toUpperCase();A(O),S(""),k&&window.sessionStorage.setItem(n,O)},placeholder:i(l,"กรอกรหัส VIP","Enter VIP code"),autoCapitalize:"characters",autoCorrect:"off",spellCheck:!1,className:"w-full border border-white/10 bg-white/[0.03] px-4 py-3.5 font-mono text-base uppercase tracking-[0.3em] tabular-nums text-amber-50 outline-none transition placeholder:tracking-normal placeholder:text-slate-600 focus:border-amber-200/60 focus:bg-amber-300/[0.04] disabled:opacity-60",disabled:T})]}),e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsxs("label",{className:"inline-flex cursor-pointer items-center gap-2 text-slate-300",children:[e.jsx("input",{type:"checkbox",checked:k,onChange:R=>{const O=R.target.checked;P(O),O?(window.sessionStorage.setItem(o,"1"),window.sessionStorage.setItem(n,w.toUpperCase())):(window.sessionStorage.removeItem(o),window.sessionStorage.removeItem(n))},className:"h-4 w-4 rounded border-slate-600 bg-slate-900 text-cyan-500 focus:ring-cyan-500"}),e.jsx("span",{children:i(l,"จดจำรหัสไว้ใน session นี้","Remember code in this session")})]}),e.jsx("button",{type:"button",onClick:()=>{window.location.href="/retrieve-vip-code"},className:"text-slate-400 transition hover:text-white",children:i(l,"ลืมรหัส?","Forgot code?")})]}),y&&e.jsx("p",{role:"alert","aria-live":"assertive",className:"border border-red-500/30 bg-red-500/10 px-3 py-2 text-sm text-red-300",children:y}),e.jsx("button",{type:"submit",disabled:T||!w,className:"w-full bg-gradient-to-r from-amber-300 via-amber-200 to-yellow-200 py-3.5 font-mono text-[12px] font-bold tracking-[0.16em] text-black transition hover:brightness-110 disabled:cursor-not-allowed disabled:bg-none disabled:bg-white/5 disabled:text-slate-500",children:T?i(l,"กำลังตรวจสอบ...","Checking..."):i(l,"เข้าสู่ Dashboard","Enter Dashboard")})]}),e.jsxs(m.div,{variants:g,className:"mt-6 border-t border-white/10 pt-4",children:[e.jsx("button",{onClick:M,disabled:I,className:"mt-4 flex w-full items-center justify-center gap-2 border border-amber-200/35 bg-amber-300/10 py-3 font-mono text-[11px] font-bold tracking-[0.16em] text-amber-100 transition hover:border-amber-200/60 hover:bg-amber-300/15 disabled:cursor-not-allowed disabled:opacity-50",children:I?i(l,"กำลังเปิดหน้าชำระเงิน...","Opening checkout..."):e.jsxs(e.Fragment,{children:[e.jsx(Se,{className:"h-4 w-4"}),e.jsx("span",{children:i(l,`สมัคร VIP เริ่ม ฿${Ne.monthly.price}`,`Get VIP from ฿${Ne.monthly.price}`)}),e.jsx(le,{className:"h-4 w-4"})]})}),e.jsxs("button",{onClick:X,disabled:I,className:"mt-2 flex w-full items-center justify-center gap-2 border border-sky-400/25 bg-sky-500/5 py-3 font-mono text-[11px] font-semibold tracking-[0.16em] text-sky-200 transition hover:border-sky-400/45 hover:bg-sky-500/10 disabled:cursor-not-allowed disabled:opacity-50",children:[e.jsx(is,{className:"h-4 w-4"}),e.jsx("span",{children:i(l,"ไม่มีบัตร? จ่ายด้วย PromptPay","No card? Pay with PromptPay")})]}),r&&e.jsx("button",{onClick:r,className:"mt-3 w-full border border-emerald-400/30 bg-emerald-500/5 py-3 font-mono text-[11px] font-semibold tracking-[0.14em] text-emerald-200 transition hover:border-emerald-400/50 hover:bg-emerald-500/10",children:i(l,"ยังไม่พร้อมสมัคร VIP? เปิดบัญชีสมาชิกดูของจริงก่อนได้","Not ready for VIP? Open a member account and look around first")}),e.jsx("p",{className:"mt-3 text-center font-mono text-[10px] uppercase tracking-[0.18em] text-slate-500",children:i(l,"Remember code จะถูกเก็บเฉพาะ session ปัจจุบันเท่านั้น","Remembered code is stored only for the current session")})]})]})]})]})]})})},M0=({language:t,onFreeSignup:s,onSeePricing:a})=>{const r=[i(t,"กราฟ + อินดิเคเตอร์ + โซน Smart Money","Charts + indicators + Smart Money zones"),i(t,"สถิติสัญญาณ AI ทุกไม้ — ทั้งไม้ที่ชนะและไม้ที่แพ้","Full AI signal track record — wins AND losses"),i(t,"กระดานสัญญาณสด: เห็นคู่เงิน + ทิศทาง (ยังไม่เห็นราคาเข้า/SL/TP)","Live signal board: pair + direction (entry/SL/TP stay hidden)"),i(t,"คอร์สเรียน Academy ทั้งหมด","Every Academy course"),i(t,"ข่าวตลาด + ปฏิทินเศรษฐกิจ","Market news + economic calendar")],l=[i(t,"ราคาเข้า / SL / TP ของสัญญาณสดทุกไม้","Entry / SL / TP on every live signal"),i(t,"ส่งสัญญาณเข้า Telegram / Discord","Signals delivered to Telegram / Discord"),i(t,"EA AlphaSync เชื่อมต่อ MT5","AlphaSync EA on MT5"),i(t,"เครดิตเครื่องมือ AI + เช็คอินรายวัน","AI tool credits + daily check-in"),i(t,"โปรแกรมพาร์ทเนอร์รับส่วนแบ่ง","Partner program revenue share"),i(t,"Pro: Footprint · Order Flow · CVD/OI · มุมมอง 3D","Pro: Footprint · Order Flow · CVD/OI · 3D views")];return e.jsx("section",{className:"px-4 py-20",children:e.jsxs("div",{className:"relative z-10 mx-auto max-w-5xl",children:[e.jsxs("div",{className:"text-center",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-emerald-400/40 bg-emerald-500/10 px-4 py-1.5 text-xs font-bold uppercase tracking-[0.22em] text-emerald-300",children:[e.jsx($e,{className:"h-3.5 w-3.5"}),"Free Member"]}),e.jsx("h2",{className:"mt-4 text-3xl font-bold text-white md:text-4xl",children:i(t,"ทดลองใช้ฟรี 3 วัน เต็มระบบ","Try everything free for 3 days")}),e.jsx("p",{className:"mx-auto mt-3 max-w-xl text-slate-400",children:i(t,"สมัครใน 5 วินาที ไม่ต้องใช้บัตร ใช้ก่อนจ่าย — เห็นของจริงทั้งกราฟ สถิติ และกระดานสัญญาณ แล้วค่อยตัดสินใจ","Sign up in 5 seconds, no card. Use it before you pay — real charts, track record and the signal board, then decide")})]}),e.jsxs("div",{className:"mt-10 grid gap-5 md:grid-cols-2",children:[e.jsxs("div",{className:"flex flex-col rounded-2xl border border-emerald-400/40 bg-slate-950/70 p-6 shadow-[0_0_40px_rgba(16,185,129,0.12)] backdrop-blur",children:[e.jsx("p",{className:"text-sm font-bold uppercase tracking-[0.18em] text-emerald-300",children:i(t,"บัญชีทดลอง","Free trial")}),e.jsxs("p",{className:"mt-1 text-3xl font-extrabold text-white",children:["฿0 ",e.jsx("span",{className:"text-base font-semibold text-slate-400",children:i(t,"· 3 วันเต็ม","· 3 full days")})]}),e.jsx("ul",{className:"mt-5 flex-1 space-y-2.5",children:r.map(n=>e.jsxs("li",{className:"flex items-start gap-2.5 text-sm leading-relaxed text-slate-300",children:[e.jsx(pe,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-emerald-400"}),e.jsx("span",{children:n})]},n))}),e.jsxs("button",{onClick:s,className:"mt-6 inline-flex h-12 items-center justify-center gap-2 rounded-xl bg-emerald-500 px-6 font-bold text-white transition-all hover:bg-emerald-400 hover:shadow-[0_0_28px_rgba(16,185,129,0.4)]",children:[e.jsx($e,{className:"h-4 w-4"}),i(t,"เริ่มทดลองใช้ฟรี","Start free trial"),e.jsx(le,{className:"h-4 w-4"})]})]}),e.jsxs("div",{className:"flex flex-col rounded-2xl border border-amber-400/30 bg-slate-950/70 p-6 backdrop-blur",children:[e.jsxs("p",{className:"flex items-center gap-2 text-sm font-bold uppercase tracking-[0.18em] text-amber-300",children:[e.jsx(Se,{className:"h-4 w-4"}),i(t,"สมาชิก VIP","VIP member")]}),e.jsx("p",{className:"mt-1 text-3xl font-extrabold text-white",children:i(t,"ปลดล็อกทุกอย่าง","Everything unlocked")}),e.jsx("ul",{className:"mt-5 flex-1 space-y-2.5",children:l.map(n=>e.jsxs("li",{className:"flex items-start gap-2.5 text-sm leading-relaxed text-slate-300",children:[e.jsx(Se,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-amber-400"}),e.jsx("span",{children:n})]},n))}),e.jsxs("button",{onClick:a,className:"mt-6 inline-flex h-12 items-center justify-center gap-2 rounded-xl border border-amber-400/40 px-6 font-bold text-amber-200 transition-all hover:bg-amber-400/10",children:[i(t,"ดูแพ็กเกจ VIP","See VIP plans"),e.jsx(ss,{className:"h-4 w-4"})]})]})]}),e.jsx("p",{className:"mt-6 text-center text-xs leading-relaxed text-slate-500",children:i(t,"ช่วงทดลอง 3 วันไม่ต้องผูกบัตร — หมดอายุแล้วไม่มีค่าใช้จ่ายใด ๆ ตามมา อยากใช้ต่อค่อยสมัคร VIP • การเทรดมีความเสี่ยง ผลย้อนหลังไม่การันตีผลอนาคต","The 3-d
121ay trial needs no card — nothing is ever charged when it ends; subscribe to VIP only if you want to continue • Trading involves risk; past results do not guarantee future results")})]})})},P0=({language:t})=>e.jsx("section",{className:"px-4 py-16",children:e.jsx("div",{className:"relative z-10 mx-auto max-w-4xl rounded-3xl border border-violet-500/25 bg-gradient-to-r from-violet-500/10 via-slate-900/40 to-emerald-500/10 p-6 md:p-8",children:e.jsxs("div",{className:"flex flex-col items-center gap-6 text-center md:flex-row md:justify-between md:text-left",children:[e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"hidden h-11 w-11 flex-shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-violet-500 to-indigo-500 sm:flex",children:e.jsx(ca,{className:"h-5 w-5 text-white"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[11px] font-bold uppercase tracking-widest text-violet-300",children:i(t,"โปรแกรมพาร์ทเนอร์","Partner Program")}),e.jsx("h3",{className:"mt-1 text-lg font-bold text-white md:text-xl",children:i(t,"ใช้เองแล้วบอกต่อ — ให้ค่าสมาชิกจ่ายคืนตัวเอง","Use it, share it — let your membership pay for itself")}),e.jsx("p",{className:"mt-1.5 max-w-xl text-sm leading-relaxed text-slate-400",children:i(t,"แนะนำเพื่อนแล้วรับส่วนแบ่งจากทุกยอดที่เพื่อนชำระจริง — ไม่มีค่าสมัคร ไม่มีการบังคับซื้อ","Earn a share of every payment your referrals make. No joining fee, no purchase requirement.")})]})]}),e.jsxs("a",{href:"/partner",className:"inline-flex flex-shrink-0 items-center gap-2 rounded-xl border border-violet-400/40 bg-violet-500/15 px-5 py-3 text-sm font-bold text-violet-200 transition-all hover:bg-violet-500/25 hover:text-white",children:[e.jsx("span",{children:i(t,"ดูแผนพาร์ทเนอร์","See the partner plan")}),e.jsx(le,{className:"h-4 w-4"})]})]})})}),L0=({language:t})=>e.jsx("section",{id:"developer-api",className:"px-4 py-16",children:e.jsx("div",{className:"relative z-10 mx-auto max-w-5xl rounded-3xl border border-cyan-500/25 bg-gradient-to-r from-cyan-500/10 via-slate-900/40 to-emerald-500/10 p-6 md:p-8",children:e.jsxs("div",{className:"grid items-center gap-8 md:grid-cols-[minmax(0,1.15fr)_minmax(0,1fr)]",children:[e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"hidden h-11 w-11 flex-shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-cyan-500 to-emerald-500 sm:flex",children:e.jsx(da,{className:"h-5 w-5 text-white"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[11px] font-bold uppercase tracking-widest text-cyan-300",children:i(t,"สำหรับนักพัฒนา · Structure API","For developers · Structure API")}),e.jsx("h3",{className:"mt-1 text-lg font-bold text-white md:text-2xl",children:i(t,"เขียน EA หรือบอทเอง? ส่งแท่งเทียนมา รับโครงสร้าง SMC และแผนเทรดกลับเป็น JSON","Building your own EA or bot? Send candles, get SMC structure and trade plans back as JSON")}),e.jsx("p",{className:"mt-2 max-w-xl text-sm leading-relaxed text-slate-400",children:i(t,"เครื่องยนต์ตัวเดียวกับ SMC Overlay บนกราฟ: swing, BOS/CHoCH, order block, FVG, EQH/EQL, premium/discount และแผนเทรด 5 ตระกูล จากแท่งเทียนของคุณเอง ทุกแผนพิมพ์เปอร์เซ็นต์ที่ต้องชนะจึงคุ้มทุน ใช้ EA key เดียวกับ EA Signal Feed","The same engine that draws the SMC Overlay on the chart: swings, BOS/CHoCH, order blocks, FVG, EQH/EQL, premium/discount and five plan families, computed from your own candles. Every plan prints the win rate it needs just to break even. Same EA key as the EA Signal Feed.")}),e.jsx("div",{className:"mt-4 flex flex-wrap gap-2 text-[11px]",children:[i(t,"POST JSON · ตอบใน ~1 วินาที","POST JSON · ~1 s"),i(t,"40–500 แท่ง ไทม์เฟรมใดก็ได้","40–500 bars, any timeframe"),i(t,"ตัวอย่าง curl · Python · MQL5","curl · Python · MQL5 examples")].map(s=>e.jsx("span",{className:"rounded-lg border border-white/10 bg-white/[0.04] px-2.5 py-1 text-slate-300",children:s},s))}),e.jsxs("div",{className:"mt-5 flex flex-wrap gap-3",children:[e.jsxs("a",{href:"/developers",className:"inline-flex items-center gap-2 rounded-xl border border-cyan-400/40 bg-cyan-500/15 px-5 py-3 text-sm font-bold text-cyan-100 transition-all hover:bg-cyan-500/25 hover:text-white",children:[e.jsx("span",{children:i(t,"อ่านเอกสาร + ทดลองยิงคำขอ","Read the docs + try a request")}),e.jsx(le,{className:"h-4 w-4"})]}),e.jsx("a",{href:"/products/developer-api",className:"inline-flex items-center gap-2 rounded-xl border border-white/10 px-5 py-3 text-sm font-semibold text-slate-200 transition-all hover:border-white/25 hover:text-white",children:i(t,"รายละเอียดผลิตภัณฑ์","Product details")})]})]})]}),e.jsxs("div",{className:"rounded-2xl border border-white/10 bg-[#070b16]/80 p-4 font-mono text-[11.5px] leading-relaxed text-slate-300 shadow-inner",children:[e.jsx("p",{className:"mb-2 text-[10px] font-bold uppercase tracking-widest text-slate-500",children:"POST /functions/v1/structure-api"}),e.jsxs("p",{children:[e.jsx("span",{className:"text-slate-500",children:"{"})," ",e.jsx("span",{className:"text-cyan-300",children:'"asset"'}),': "BTCUSD", ',e.jsx("span",{className:"text-cyan-300",children:'"timeframe"'}),': "1h", ',e.jsx("span",{className:"text-cyan-300",children:'"candles"'}),": [ … 100 ] ",e.jsx("span",{className:"text-slate-500",children:"}"})]}),e.jsx("p",{className:"my-2 text-[10px] font-bold uppercase tracking-widest text-emerald-400",children:"↓ response"}),e.jsxs("p",{children:[e.jsx("span",{className:"text-cyan-300",children:'"structure"'}),": ","{"," ",e.jsx("span",{className:"text-cyan-300",children:'"trend"'}),': "bullish", ',e.jsx("span",{className:"text-cyan-300",children:'"orderBlocks"'}),": [ … ], ",e.jsx("span",{className:"text-cyan-300",children:'"fairValueGaps"'}),": [ … ] ","}",","]}),e.jsxs("p",{children:[e.jsx("span",{className:"text-cyan-300",children:'"plans"'}),": [ ","{"," ",e.jsx("span",{className:"text-cyan-300",children:'"family"'}),': "smcplan", ',e.jsx("span",{className:"text-cyan-300",children:'"direction"'}),': "BUY",']}),e.jsxs("p",{className:"pl-6",children:[e.jsx("span",{className:"text-cyan-300",children:'"entry"'}),": 108950, ",e.jsx("span",{className:"text-cyan-300",children:'"stop"'}),": 108480, ",e.jsx("span",{className:"text-cyan-300",children:'"target"'}),": 109800,"]}),e.jsxs("p",{className:"pl-6",children:[e.jsx("span",{className:"text-cyan-300",children:'"rr"'}),": 1.81, ",e.jsx("span",{className:"text-amber-300",children:'"breakevenPct"'}),": 35.6 ","}"," ],"]}),e.jsxs("p",{children:[e.jsx("span",{className:"text-cyan-300",children:'"rejected"'}),": [ ","{"," ",e.jsx("span",{className:"text-cyan-300",children:'"family"'}),': "quasimodo", ',e.jsx("span",{className:"text-cyan-300",children:'"reason"'}),': "no-setup" ',"}"," ]"]}),e.jsx("p",{className:"mt-3 text-[10px] text-slate-500",children:i(t,"ตัวอย่างค่าสมมติ ไม่ใช่ราคาจริง · ไม่ใช่คำแนะนำการลงทุน","Illustrative values, not real prices · not investment advice")})]})]})})}),E0=({onLoginClick:t,onFreeSignup:s,language:a})=>{const r=[{title:i(a,"เครื่องมือวิเคราะห์","Analysis"),links:[{label:i(a,"ภาพรวมเครื่องมือ","All Tools"),href:"/analysis"},{label:"AI Signal Engine",href:"/analysis/ai-signal"},{label:"Smart Money Concepts",href:"/analysis/smart-money"},{label:"Quantum Finance 3D",href:"/analysis/quantum-3d"},{label:"Liquidity MRI",href:"/analysis/liquidity-mri"},{label:"Multi-Timeframe",href:"/analysis/multi-timeframe"}]},{title:i(a,"ผลิตภัณฑ์","Products"),links:[{label:i(a,"ผลิตภัณฑ์ทั้งหมด","All Products"),href:"/products"},{label:"AI Signal Service",href:"/products/ai-signals"},{label:"Market Scanner",href:"/products/market-scanner"},{label:"Economic Calendar",href:"/products/economic-calendar"},{label:"Risk & Position Manager",href:"/products/risk-manager"},{label:"Mobile App",href:"/products/mobile-app"},{label:"Developer API",href:"/products/developer-api"}]},{title:i(a,"เทรดเดอร์ & แหล่งข้อมูล","Traders & Resources"),links:[{label:i(a,"สำหรับเทรดเดอร์","For Traders"),href:"/traders"},{label:i(a,"คู่มือ SMC","SMC Guide"),href:"/smc-guide"},{label:i(a,"คู่มือแพลตฟอร์ม","Platform Guide"),href:"/platform-guide"},{label:i(a,"วิดเจ็ตฝังเว็บ","Website Widgets"),href:"/widgets"},{label:i(a,"API สำหรับนักพัฒนา","Developer API"),href:"/developers"},{label:i(a,"บทความ & ข่าว","Articles & News"),href:"/news"}]},{title:i(a,"บริษัท","Company"),links:[{label:i(a,"เกี่ยวกับเรา","About Us"),href:"/about-us"},{label:i(a,"ติดต่อเรา","Contact"),href:"/contact"},{label:i(a,"โปรแกรมพาร์ทเนอร์","Partner Program"),href:"/partner"},{label:i(a,"นโยบายความเป็นส่วนตัว","Privacy Policy"),href:"/privacy-policy"},{label:i(a,"ข้อกำหนดการใช้งาน","Terms of Service"),href:"/terms-of-service"}]}];return e.jsxs("footer",{className:"relative py-16 px-4 bg-slate-950 overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0 pointer-events-none",children:[e.jsx("div",{className:"absolute top-0 left-1/4 w-96 h-96 bg-emerald-500/5 rounded-full blur-3xl"}),e.jsx("div",{className:"absolute bottom-0 right-1/4 w-96 h-96 bg-cyan-500/5 rounded-full blur-3xl"})]}),e.jsxs("div",{className:"relative max-w-6xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-12 pb-12 border-b border-slate-800/50",children:[e.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-white mb-4",children:i(a,"พร้อมเริ่มต้นเทรดอย่างมืออาชีพ?","Ready to trade like a pro?")}),e.jsx("p",{className:"text-slate-400 mb-6 max-w-xl mx-auto",children:i(a,"เข้าร่วมกับเทรดเดอร์ที่ใช้ AI และ Smart Money Concepts ในการวิเคราะห์ตลาด","Join traders using AI and Smart Money Concepts for market analysis")}),e.jsxs("button",{onClick:s??t,className:"inline-flex items-center gap-2 px-6 py-3 bg-gradient-to-r from-emerald-500 to-cyan-500 text-slate-900 font-bold rounded-xl transition-all transform hover:scale-105 shadow-lg shadow-emerald-500/20",children:[e.jsx("span",{children:i(a,"ทดลองใช้ฟรี 3 วัน — เริ่มเลย","Try free for 3 days")}),e.jsx(le,{className:"w-4 h-4"})]})]}),e.jsxs("div",{className:"flex flex-col gap-6 mb-12 md:flex-row md:items-start md:justify-between",children:[e.jsxs("div",{className:"max-w-md",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(yt,{size:48,title:null,className:"drop-shadow-lg"}),e.jsxs("div",{children:[e.jsx("span",{className:"block text-xl font-bold leading-tight text-white",children:"Alpha AI Signals"}),e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.25em] text-emerald-400/80",children:i(a,"เทรดฉลาดขึ้น ไม่ใช่หนักขึ้น","Trade Smarter, Not Harder")})]})]}),e.jsx("p",{className:"mt-4 text-sm leading-relaxed text-slate-400",children:i(a,"แพลตฟอร์มวิเคราะห์ตลาด Forex และ Crypto ด้วย AI พร้อมสัญญาณเทรดแบบ Real-time และบทความคุณภาพ จากผู้เชี่ยวชาญด้าน Smart Money Concepts","AI-powered Forex and Crypto analysis platform with real-time signals and quality insights from Smart Money Concepts experts.")})]}),e.jsxs("button",{onClick:t,className:"inline-flex items-center gap-2 self
121-start text-sm font-semibold text-slate-300 transition-colors hover:text-emerald-400",children:[i(a,"เป็นสมาชิกอยู่แล้ว? เข้าสู่ระบบ","Already a member? Sign in"),e.jsx(le,{className:"w-4 h-4"})]})]}),e.jsx("div",{className:"grid grid-cols-2 gap-8 md:grid-cols-4 mb-12",children:r.map(n=>e.jsxs("div",{children:[e.jsx("h4",{className:"mb-4 text-sm font-bold text-white",children:n.title}),e.jsx("ul",{className:"space-y-2.5 text-sm",children:n.links.map(o=>e.jsx("li",{children:e.jsx("a",{href:o.href,className:"text-slate-400 transition-colors hover:text-emerald-400",children:o.label})},o.href+o.label))})]},n.title))}),e.jsxs("div",{className:"flex flex-col gap-4 border-t border-slate-800/50 pt-8 mb-8 sm:flex-row sm:items-center sm:justify-between",children:[e.jsx("span",{className:"text-sm text-slate-400",children:i(a,"ติดต่อเราผ่าน Facebook","Reach us on Facebook")}),e.jsxs("a",{href:"https://www.facebook.com/profile.php?id=61587863807821",target:"_blank",rel:"noopener noreferrer","aria-label":"Facebook",className:"inline-flex items-center gap-2 self-start rounded-full border border-slate-700/60 bg-slate-900/50 px-5 py-2.5 text-sm font-semibold text-slate-200 transition-all hover:border-emerald-500/50 hover:text-emerald-400 sm:self-auto",children:[e.jsx(ns,{className:"w-4 h-4"}),i(a,"ติดต่อผ่าน Facebook","Message us on Facebook")]})]}),e.jsx("div",{className:"pt-8 border-t border-slate-800/50",children:e.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4",children:[e.jsxs("p",{className:"text-slate-500 text-sm",children:["© ",new Date().getFullYear()," Alpha AI Signals. ",i(a,"สงวนลิขสิทธิ์ทั้งหมด","All rights reserved.")]}),e.jsx("p",{className:"text-slate-600 text-xs text-center md:text-right max-w-md",children:i(a,"คำเตือน: การลงทุนมีความเสี่ยง ผู้ลงทุนควรศึกษาข้อมูลก่อนตัดสินใจลงทุน ผลการดำเนินงานในอดีตไม่ได้รับประกันผลตอบแทนในอนาคต","Warning: Investing involves risk. Please study information carefully before investing. Past performance does not guarantee future results.")})]})})]})]})};function Ji({onLogin:t}){const[s,a]=p.useState([]),[r,l]=p.useState(!1),[n,o]=p.useState(!1),[c,d]=p.useState("semiAnnual"),{locale:u}=Cs(),x=Qr(u),b=t0[x];p.useEffect(()=>{(async()=>{try{const{posts:P}=await Is.getPosts({limit:5});a(P)}catch(P){console.error("Error fetching articles:",P)}})()},[]);const w=()=>{l(!0)},A=()=>{const k=document.getElementById("pricing");k&&k.scrollIntoView({behavior:"smooth",block:"start"})};return e.jsxs("div",{className:"min-h-screen bg-slate-950 text-white overflow-x-clip",children:[e.jsxs("div",{className:"fixed inset-0 pointer-events-none",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-slate-950 via-slate-900 to-slate-950"}),e.jsx("div",{className:"absolute -top-1/4 -left-1/4 h-[60vh] w-[60vh] rounded-full bg-cyan-500/10 blur-[120px]"}),e.jsx("div",{className:"absolute top-1/3 -right-1/4 h-[55vh] w-[55vh] rounded-full bg-fuchsia-500/10 blur-[130px]"}),e.jsx("div",{className:"absolute bottom-0 left-1/3 h-[50vh] w-[50vh] rounded-full bg-emerald-500/[0.08] blur-[140px]"}),e.jsx("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:"linear-gradient(rgba(34,211,238,0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(34,211,238,0.6) 1px, transparent 1px)",backgroundSize:"64px 64px",maskImage:"radial-gradient(ellipse at 50% 0%, black 35%, transparent 80%)",WebkitMaskImage:"radial-gradient(ellipse at 50% 0%, black 35%, transparent 80%)"}}),e.jsx(ea,{}),e.jsx(s0,{})]}),e.jsx("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-slate-950/90 backdrop-blur-xl border-b border-slate-800/50",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-4 py-4 flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(yt,{size:40,title:null,className:"drop-shadow-lg"}),e.jsx("div",{className:"hidden sm:block",children:e.jsx("span",{className:"font-bold text-white text-lg",children:"Alpha AI Signals"})})]}),e.jsxs("div",{className:"hidden md:flex items-center gap-8 text-sm",children:[e.jsx("a",{href:"/analysis",className:"text-slate-400 hover:text-white transition-colors font-medium",children:i(x,"เครื่องมือวิเคราะห์","Analysis","ツール","Analisis","Analyse")}),e.jsx("a",{href:"/products",className:"text-slate-400 hover:text-white transition-colors font-medium",children:i(x,"ผลิตภัณฑ์","Products","製品","Produk","Produits")}),e.jsx("a",{href:"/market",className:"text-slate-400 hover:text-white transition-colors font-medium",children:i(x,"Market","Market","マーケット","Market","Marché")}),e.jsx("a",{href:"/traders",className:"text-slate-400 hover:text-white transition-colors font-medium",children:i(x,"เทรดเดอร์","Traders","トレーダー","Trader","Traders")}),e.jsx("a",{href:"/news",className:"text-slate-400 hover:text-white transition-colors font-medium",children:b.navNews}),e.jsx("a",{href:"/about-us",className:"text-slate-400 hover:text-white transition-colors font-medium",children:b.navAbout}),e.jsx("a",{href:"/contact",className:"text-slate-400 hover:text-white transition-colors font-medium",children:b.navContact})]}),e.jsxs("div",{className:"flex items-center gap-2 md:gap-3",children:[e.jsx(aa,{size:"md",showName:!0}),e.jsx("button",{onClick:w,className:"px-5 py-2.5 bg-gradient-to-r from-emerald-500 to-cyan-500 text-slate-900 font-bold rounded-xl transition-all hover:shadow-lg hover:shadow-emerald-500/25 text-sm",children:b.loginButton})]})]})}),e.jsxs("main",{className:"landing-cinematic-flow relative z-10 pt-16",children:[e.jsx(i0,{onScrollToLogin:w,onFreeSignup:()=>o(!0),copy:b,children:e.jsx(n0,{language:x})}),e.jsx(ta,{onEnter:w}),e.jsx(o0,{language:x}),e.jsx(Ee,{label:"EXECUTION PATH"}),e.jsx(h0,{language:x}),e.jsx(e0,{language:x}),e.jsx(u0,{language:x}),e.jsx(l0,{language:x}),e.jsx(f0,{language:x,onUnlock:A}),e.jsx(Ee,{label:"CROWD INTELLIGENCE"}),e.jsx(b0,{language:x,onUnlock:A}),e.jsx(Wa,{language:x}),e.jsx(Ee,{label:"KILLZONE CORE"}),e.jsx(g0,{language:x,onLoginClick:w,onSelectPlan:k=>{d(k),A()}}),s.length>=5&&e.jsx(y0,{articles:s,language:x}),e.jsx(Ee,{label:"MOBILE UPLINK"}),e.jsx(v0,{language:x}),e.jsx(m0,{language:x,onFreeSignup:()=>o(!0)}),e.jsx(x0,{language:x,onFreeSignup:()=>o(!0)}),e.jsx(_0,{language:x}),e.jsx(A0,{language:x}),e.jsx(Ee,{label:"VIP DOCKING BAY"}),e.jsx(M0,{language:x,onFreeSignup:()=>o(!0),onSeePricing:A}),e.jsx(I0,{onScrollToLogin:w,language:x,preferredPlan:c}),e.jsx(P0,{language:x}),e.jsx(L0,{language:x})]}),e.jsx(E0,{onLoginClick:w,onFreeSignup:()=>o(!0),language:x}),e.jsx(T0,{isOpen:r,onClose:()=>l(!1),onLogin:t,onFreeSignup:()=>{l(!1),o(!0)},language:x}),n&&e.jsx(Qs,{onClose:()=>o(!1),onSignedIn:t,onGoLogin:()=>{o(!1),l(!0)}})]})}export{u0 as FeaturesSection,h0 as HowItWorksSection,T0 as LoginModal,Ji 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.