1import{c as u,r as l,a as A,R as j,T as G,S as E,j as e,L as I,A as B,C as $,f as L}from"./index-C9BAOTn9.js";import{P as h}from"./puzzle-C-sVajGP.js";import{H as _}from"./headphones-D3ROcCgu.js";import{I as q}from"./image-CEIHpzmT.js";import{M as R}from"./mic-DMtsll2B.js";/** 2 * @license lucide-react v0.453.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const p=u("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/** 7 * @license lucide-react v0.453.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const f=u("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),z=[{id:"سÙÙ",label:"سÙÙ",tone:"#72d7ca"},{id:"Ù ØªÙØ³Ø·",label:"Ù ØªÙØ³Ø·",tone:"#f3a243"},{id:"صعب",label:"صعب",tone:"#f49b9b"}],b=["apple","book","cloud","dream","eagle","flower","garden","house","island","journey","kind","learn"],o=[["Ù Ø·Ø§Ø¨ÙØ© اÙÙÙ٠ات","Word Match",h,"اختر ٠عÙÙ ÙÙÙ Ø© apple",["ØªÙØ§ØØ©","ÙØªØ§Ø¨","Ø³ÙØ§Ø±Ø©"],"ØªÙØ§ØØ©","#72d7ca"],["Ø§ÙØ¨Ø·Ø§Ùات Ø§ÙØ³Ø±Ùعة","Flash Cards",A,"٠ا ٠عÙÙ ÙÙÙ Ø© happyØ",["Ø³Ø¹ÙØ¯","ØØ²ÙÙ","Ø³Ø±ÙØ¹"],"Ø³Ø¹ÙØ¯","#9f9cff"],["Ø³Ø¨Ø§Ù Ø§ÙØªÙجئة","Spelling Race",f,"اختر Ø§ÙØªÙجئة Ø§ÙØµØÙØØ© ÙÙÙÙ Ø© ٠درسة",["School","Sckool","Skool"],"School","#f3a243"],["است٠ع ÙØ§Ø®ØªØ±","Listen & Choose",_,"است٠ع ث٠اختر اÙÙÙÙ Ø© Ø§ÙØµØÙØØ©: book",["book","back","bike"],"book","#78a9ff"],["Ø¨ÙØ§Ø¡ Ø§ÙØ¬Ù ÙØ©","Sentence Builder",h,"Ø£ÙÙ Ù: I ___ a student.",["am","is","are"],"am","#f49b9b"],["Ø¥ØµÙØ§Ø اÙÙÙØ§Ø¹Ø¯","Grammar Fix",p,"اختر Ø§ÙØ¬Ù ÙØ© Ø§ÙØµØÙØØ©",["She likes tea.","She like tea.","She liking tea."],"She likes tea.","#d4b4f5"],["Ù ÙØ±Ø¯Ø§Øª Ø§ÙØµÙر","Picture Vocabulary",q,"٠ا Ø§Ø³Ù ÙØ°Ø§ Ø§ÙØ´ÙØ¡Ø ð±",["Cat","Dog","Bird"],"Cat","#7db8ff"],["Ø£Ø²ÙØ§Ø¬ Ø§ÙØ°Ø§Ùرة","Memory Pairs",j,"طاب٠اÙÙÙÙ Ø© ٠ع ØªØ±Ø¬Ù ØªÙØ§: water",["٠اء","ÙØ§Ø±","ÙÙØ§Ø¡"],"٠اء","#72d7ca"],["ØªØ¯Ø±ÙØ¨ اÙÙØ·Ù","Pronunciation",R,"ØªØ¯Ø±ÙØ¨ عÙÙ ÙØ·Ù ÙÙÙ Ø©: three",["ابدأ Ø§ÙØªØ³Ø¬ÙÙ","Ø´Ø§ÙØ¯ اÙ٠ثاÙ","تخطÙ"],"Ø´Ø§ÙØ¯ اÙ٠ثاÙ","#f3a243"],["اختبار Ø§ÙØ³Ø±Ø¹Ø©","Quiz Sprint",G,"اختر Ø§ÙØªØÙØ© اÙÙ ÙØ§Ø³Ø¨Ø© ÙÙ Ø§ÙØµØ¨Ø§Ø",["Good morning","Good night","Goodbye"],"Good morning","#9f9cff"],["Ø§Ø®ØªÙØ§Ø± Ø§ÙØ§Ø³Ù Ø§ÙØµØÙØ","Name It Right",E,"اختر Ø§ÙØ§Ø³Ù Ø§ÙØµØÙØ ÙÙØµÙرة: ð¶",["Dog","Cat","Fish"],"Dog","#72d7ca"],["ØµÙØ¯ اÙÙÙ٠ات","Word Hunt",f,"اعثر عÙ٠اÙÙÙÙ Ø© Ø§ÙØªÙ تبدأ Ø¨ØØ±Ù B",["Book","Apple","Orange"],"Book","#f3a243"],["ترÙÙØ¨ اÙÙÙ٠ات","Word Builder",p,"ÙÙÙÙ Ø¬Ù ÙØ© صØÙØØ© ٠٠اÙÙÙ٠ات",["I like books.","Books like I.","Like I books."],"I like books.","#9f9cff"]];function H(){const[d,N]=l.useState(0),[g,m]=l.useState(0),[c,x]=l.useState(1),[r,w]=l.useState("سÙÙ"),[t,n]=l.useState(null),a=o[d],k=a[2],y=l.useMemo(()=>c===1?a[3]:`Stage ${c}: Choose the next English word â ${b[(c-2)%b.length]}`,[a,c]),v=s=>{t||(n(s),s===a[5]&&(m(i=>i+1),localStorage.setItem("adeeb-english-score",String(g+1))))},S=()=>{x(s=>s+1),n(null)},C=s=>{N(s),n(null),x(1)};return e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",dir:"rtl",className:"min-h-screen bg-[#070a12] px-5 py-7 text-white sm:px-10 sm:py-10",children:[e.jsxs("header",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mx-auto flex max-w-6xl items-center justify-between",children:[e.jsxs(I,{"data-loc":"client/src/pages/EnglishGames.tsx:19",href:"/languages",className:"inline-flex items-center gap-2 text-sm text-slate-400 transition hover:text-white",children:[e.jsx(B,{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"h-4 w-4"})," Ø§ÙØ¹Ùدة Ø¥Ù٠اÙÙØºØ§Øª"]}),e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"flex items-center gap-3",children:[e.jsx("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"grid h-10 w-10 place-items-center rounded-xl bg-[#f3a243] text-black font-display font-black",children:"Ø£"}),e.jsx("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"font-display font-bold",children:"Ø£ÙØ¹Ø§Ø¨ اÙÙØºØ© Ø§ÙØ¥ÙجÙÙØ²ÙØ©"})]})]}),e.jsxs("main",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mx-auto mt-12 max-w-6xl",children:[e.jsxs("section",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"relative overflow-hidden rounded-[2rem] border border-[#9f9cff]/25 bg-gradient-to-br from-[#252252] via-[#171936] to-[#0e1422] p-7 sm:p-10",children:[e.jsx("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"absolute -left-16 -top-16 h-48 w-48 rounded-full bg-[#9f9cff]/15 blur-3xl"}),e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"relative flex flex-col justify-between gap-6 md:flex-row md:items-end",children:[e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",children:[e.jsx("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"text-sm font-bold text-[#c9c8ff]",children:"English Learning Arcade"}),e.jsx("h1",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-3 font-display text-3xl font-extrabold sm:text-5xl",children:"تعÙÙÙ Ø§ÙØ¥ÙجÙÙØ²ÙØ© باÙÙØ¹Ø¨"}),e.jsx("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-4 max-w-2xl text-base leading-8 text-slate-300",children:"اختر ÙØ¹Ø¨Ø© Ù٠ستÙÙ Ù ÙØ§Ø³Ø¨Ø§Ù ÙÙØ Ø«Ù ÙØ§ØµÙ اÙÙØ¹Ø¨ Ù٠٠راØÙ ÙØ§ ÙÙØ§Ø¦ÙØ©."})]}),e.jsx("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",role:"img","aria-label":"٠ساعد Ø£ÙØ¹Ø§Ø¨ اÙÙØºØ© Ø§ÙØ¥ÙجÙÙØ²ÙØ©",className:"hidden h-28 w-28 shrink-0 place-items-center rounded-[2rem] border border-white/10 bg-white/[0.06] text-[#f3a243] shadow-[0_20px_60px_rgba(159,156,255,0.18)] md:grid",children:e.jsx(E,{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"h-14 w-14","aria-hidden":"true"})}),e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"flex items-center gap-3 rounded-2xl border border-white/10 bg-black/20 px-5 py-4",children:[e.jsx(G,{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"h-6 w-6 text-[#f3a243]"}),e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",children:[e.jsx("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"text-xs text-slate-500",children:"ÙÙØ§Ø·Ù"}),e.jsx("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"font-display text-2xl font-extrabold text-[#f3a243]",children:g})]})]})]})]}),e.jsx("section",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-6 rounded-2xl border border-white/10 bg-[#0e1422] p-4",children:e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",children:[e.jsx("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"text-xs font-bold text-[#9f9cff]",children:"٠ستÙÙ Ø§ÙØµØ¹Ùبة"}),e.jsx("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-1 text-sm text-slate-400",children:"ÙØªØºÙر Ø§ÙØªØØ¯Ù ٠ع Ø§Ø®ØªÙØ§Ø±Ù"})]}),e.jsx("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"flex gap-2",children:z.map(s=>e.jsx("button",{"data-loc":"client/src/pages/EnglishGames.tsx:19",type:"button",onClick:()=>
11{w(s.id),n(null)},className:`rounded-xl px-4 py-2 text-sm font-bold transition ${r===s.id?"text-[#101a2c]":"text-slate-400 hover:bg-white/[0.06]"}`,style:r===s.id?{backgroundColor:s.tone}:void 0,children:s.label},s.id))})]})}),e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-8 grid gap-6 lg:grid-cols-[1fr_1.4fr]",children:[e.jsxs("section",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"rounded-[1.75rem] border border-white/10 bg-[#0e1422] p-5 sm:p-6",children:[e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"flex items-center justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",children:[e.jsxs("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"text-xs font-bold text-[#f3a243]",children:["اÙÙØ¹Ø¨Ø© ",d+1," Ù
Ù ",o.length," ⢠اÙÙ
رØÙØ© اÙÙØ§ÙÙØ§Ø¦ÙØ© ",c]}),e.jsx("h2",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-1 font-display text-2xl font-extrabold",children:a[0]})]}),e.jsx("span",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"rounded-full bg-white/[0.06] px-3 py-1 text-xs text-slate-400",children:r})]}),e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-8 rounded-2xl border border-white/10 bg-[#070a12] p-6 text-center",children:[e.jsx("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mx-auto grid h-16 w-16 place-items-center rounded-2xl",style:{backgroundColor:`${a[6]}18`,color:a[6]},children:e.jsx(k,{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"h-8 w-8"})}),e.jsx("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-6 text-lg font-bold text-slate-200",children:y}),e.jsx("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-6 grid gap-3",children:a[4].map(s=>e.jsx("button",{"data-loc":"client/src/pages/EnglishGames.tsx:19",type:"button",onClick:()=>v(s),className:`rounded-xl border px-4 py-3 text-sm font-bold transition ${t===s?s===a[5]?"border-emerald-300/50 bg-emerald-300/15 text-emerald-200":"border-rose-300/50 bg-rose-300/15 text-rose-200":"border-white/10 bg-white/[0.04] text-slate-300 hover:border-white/25 hover:bg-white/[0.08]"}`,children:s},s))}),t&&e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:`mt-5 flex items-center justify-center gap-2 text-sm font-bold ${t===a[5]?"text-emerald-300":"text-rose-300"}`,children:[e.jsx($,{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"h-4 w-4"}),t===a[5]?"إجابة صØÙØØ©! Ø§ÙØªÙÙ ÙÙÙ
رØÙØ© Ø§ÙØªØ§ÙÙØ©.":`Ø§ÙØ¥Ø¬Ø§Ø¨Ø© Ø§ÙØµØÙØØ©: ${a[5]}`]})]}),e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-5 flex items-center justify-between",children:[e.jsxs("button",{"data-loc":"client/src/pages/EnglishGames.tsx:19",type:"button",onClick:()=>{n(null),m(0),x(1)},className:"inline-flex items-center gap-2 text-xs text-slate-500 hover:text-white",children:[e.jsx(j,{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"h-4 w-4"})," إعادة اÙÙØ¹Ø¨Ø©"]}),t===a[5]?e.jsx("button",{"data-loc":"client/src/pages/EnglishGames.tsx:19",type:"button",onClick:S,className:"rounded-xl bg-[#f3a243] px-4 py-2.5 text-sm font-bold text-[#101a2c] transition hover:bg-[#ffc16f]",children:"Ù
رØÙØ© Ø¬Ø¯ÙØ¯Ø© â"}):e.jsx("span",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"text-xs text-slate-500",children:"أجب ÙØªÙØªØ Ø§ÙÙ
رØÙØ© Ø§ÙØªØ§ÙÙØ©"})]})]}),e.jsxs("section",{"data-loc":"client/src/pages/EnglishGames.tsx:19",children:[e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mb-4 flex items-center justify-between",children:[e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",children:[e.jsx("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"text-sm font-bold text-[#9f9cff]",children:"اختر ÙØ¹Ø¨ØªÙ"}),e.jsxs("h2",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-1 font-display text-xl font-extrabold",children:[o.length," Ø£ÙØ¹Ø§Ø¨ تعÙÙÙ
ÙØ©"]})]}),e.jsxs("span",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"text-xs text-slate-500",children:[r," ⢠Ù
راØÙ ÙØ§ ÙÙØ§Ø¦ÙØ©"]})]}),e.jsx("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"grid gap-3 sm:grid-cols-2",children:o.map((s,i)=>{const M=s[2];return e.jsxs("button",{"data-loc":"client/src/pages/EnglishGames.tsx:19",type:"button",onClick:()=>C(i),className:`group flex items-center gap-3 rounded-2xl border p-4 text-right transition hover:-translate-y-0.5 ${d===i?"border-[#9f9cff]/60 bg-[#9f9cff]/10":"border-white/10 bg-[#0e1422] hover:border-white/25"}`,children:[e.jsx("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"grid h-11 w-11 shrink-0 place-items-center rounded-xl",style:{backgroundColor:`${s[6]}18`,color:s[6]},children:e.jsx(M,{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"h-5 w-5"})}),e.jsxs("div",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"min-w-0",children:[e.jsxs("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"truncate font-bold text-white",children:[i+1,". ",s[0]]}),e.jsx("p",{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mt-1 text-xs text-slate-500",children:s[1]})]}),e.jsx(L,{"data-loc":"client/src/pages/EnglishGames.tsx:19",className:"mr-auto h-4 w-4 text-slate-600 transition group-hover:text-slate-300"})]},s[1])})})]})]})]})]})}export{H 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.