1import{a as x,b as m,r as c,j as e,L as r}from"./vendor-react-DzAa3Ik1.js";import{u as p,H as h}from"./index-DnmGA6ov.js";import{P as b}from"./LoadingSpinner-ATGVV_Pf.js";import"./vendor-pdf-DXfsUsUt.js";import"./vendor-forms-BzAElJeV.js";import"./vendor-katex-7g_RTU_M.js";function g(){const s=new Date().getHours();return s>=5&&s<12?"ÐобÑое ÑÑÑо":s>=12&&s<18?"ÐобÑÑй денÑ":s>=18&&s<23?"ÐобÑÑй веÑеÑ":"ÐобÑой ноÑи"}const u=[{emoji:"ð",title:"РабоÑий лиÑÑ",subtitle:"ÐÐ°Ð´Ð°Ð½Ð¸Ñ Ð¸ ÑеÑÑÑ â пеÑаÑÑ Ð¸ ÑÑÑлка ÑÑеникÑ",to:"/generate"},{emoji:"ð¥ï¸",title:"ÐÑезенÑаÑиÑ",subtitle:"ÐивÑе веб-ÑÐ»Ð°Ð¹Ð´Ñ Ñ Ð³ÑаÑиками или .pptx",to:"/presentations/generate"},{emoji:"ð",title:"Ðлан ÑÑока",subtitle:"ÐолнÑй план по ФÐÐС + лиÑÑ Ð¸ ÑÐ»Ð°Ð¹Ð´Ñ Ðº немÑ",to:"/create/lesson-plan"},{emoji:"â",title:"ÐикÑоÑина",subtitle:"ÐнÑеÑакÑивнаÑ, Ñ Ð°Ð²ÑопÑовеÑкой и ÑÑÑлкой ÑÑеникÑ",to:"/generate?preset=quiz"},{emoji:"ð§©",title:"ÐÑоÑÑвоÑд",subtitle:"Ðо ваÑей Ñеме, гоÑовÑй к пеÑаÑи",to:"/create/crossword"},{emoji:"ð¸",title:"ÐÑовеÑиÑÑ ÑабоÑÑ",subtitle:"ÐÐ ÑазбеÑÑÑ ÑоÑо ÑеÑÑади и найдÑÑ Ð¾Ñибки",to:"/create/check"},{emoji:"ð¨",title:"Ðнлайн-доÑка",subtitle:"РиÑÑйÑе и обÑÑÑнÑйÑе вмеÑÑе Ñ ÑÑеником",to:"/board"},{emoji:"ð¥",title:"Ðои ÑÑеники",subtitle:"ÐлаÑÑÑ, домаÑние заданиÑ, оплаÑÑ",to:"/cabinet"},{emoji:"â¨",title:"ÐÐ-агенÑÑ",subtitle:"Ðлан ÑÑока, ÐТÐ, дикÑанÑÑ, пиÑÑма â гоÑовÑе помоÑники",to:"/agents"}],j=["ð ÐаÑемаÑика","ð Ð ÑÑÑкий","ð¬ ÐиологиÑ","ð ÐеогÑаÑиÑ","ð ÐÑÑоÑиÑ","ð¨ ÐиÑеÑаÑÑÑа"];function C(){const s=x(),{user:i,status:a}=p(),[l]=m();if(c.useEffect(()=>{a==="unauthenticated"&&s("/login")},[a,s]),c.useEffect(()=>{(l.get("preset")||l.get("prompt")||l.get("tab"))&&s(`/generate?${l.toString()}`,{replace:!0})},[l,s]),a==="loading")return e.jsx(b,{});if(!i)return null;const o=i.name?.split(" ")[0]||"";return e.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-white via-purple-50/30 to-white",children:[e.jsx(h,{}),e.jsxs("main",{className:"mx-auto max-w-5xl px-4 py-8 sm:py-10",children:[e.jsxs("section",{className:"mb-8 text-center",children:[e.jsxs("h1",{className:"text-3xl sm:text-4xl font-black neon-title mb-2 tracking-tight",children:[g(),o?`, ${o}`:"","!"]}),e.jsx("p",{className:"text-slate-500",children:"С Ñего наÑнÑм? ÐÑе инÑÑÑÑменÑÑ â в одном меÑÑе."})]}),e.jsx("div",{className:"mb-8 flex flex-wrap justify-center gap-2",children:j.map(t=>e.jsx(r,{to:`/generate?prompt=${encodeURIComponent(t.replace(/^[^Ð-Яа-ÑÐÑ]+/,""))}`,className:"rounded-full border border-slate-200 bg-white px-3.5 py-1.5 text-sm font-medium text-slate-600 transition-colors hover:border-[#8C52FF]/40 hover:text-[#8C52FF]",children:t},t))}),e.jsxs(r,{to:"/create/pretty-sheet",className:"mb-4 flex items-center gap-4 roun
1ded-2xl border border-[#8C52FF]/30 bg-gradient-to-r from-purple-50 via-white to-amber-50 p-5 shadow-sm transition-all hover:-translate-y-0.5 hover:border-[#8C52FF]/60 hover:shadow-md",children:[e.jsx("div",{className:"text-4xl",children:"ð¨"}),e.jsxs("div",{className:"min-w-0",children:[e.jsxs("h3",{className:"text-lg font-bold text-slate-900",children:["ÐÑаÑивÑй лиÑÑ",e.jsx("span",{className:"ml-2 rounded-full bg-[#8C52FF] px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-white align-middle",children:"Ðовинка"})]}),e.jsx("p",{className:"mt-0.5 text-sm text-slate-500 leading-snug",children:"ÐÑоÑмленнÑй ÑабоÑий лиÑÑ Ð¿Ð¾ Ñеме â как из меÑодиÑки: Ñамки, пеÑÑонаж, заданиÑ. ÐоÑов к пеÑаÑи"})]})]}),e.jsxs(r,{to:"/market",className:"mb-4 flex items-center gap-4 rounded-2xl border border-emerald-200 bg-gradient-to-r from-emerald-50 via-white to-purple-50 p-5 shadow-sm transition-all hover:-translate-y-0.5 hover:border-emerald-300 hover:shadow-md",children:[e.jsx("div",{className:"text-4xl",children:"ð"}),e.jsxs("div",{className:"min-w-0",children:[e.jsxs("h3",{className:"text-lg font-bold text-slate-900",children:["ÐаÑкеÑÐ¿Ð»ÐµÐ¹Ñ Ð¼Ð°ÑеÑиалов",e.jsx("span",{className:"ml-2 rounded-full bg-emerald-500 px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-white align-middle",children:"Ðовинка"})]}),e.jsx("p",{className:"mt-0.5 text-sm text-slate-500 leading-snug",children:"ÐоÑовÑе лиÑÑÑ Ð¸ пÑезенÑаÑии Ð¾Ñ ÐºÐ¾Ð»Ð»ÐµÐ³ â за ÐºÐ¾Ð¸Ð½Ñ Ð¸Ð»Ð¸ беÑплаÑно. ÐÑбликÑйÑе Ñвои и заÑабаÑÑвайÑе коинÑ"})]})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 mb-10",children:u.map(t=>{const n=e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsx("div",{className:"text-3xl",children:t.emoji}),t.soon&&e.jsx("span",{className:"rounded-full bg-slate-100 px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-slate-400",children:"СкоÑо"})]}),e.jsx("h3",{className:"mt-3 text-lg font-bold text-slate-900",children:t.title}),e.jsx("p",{className:"mt-1 text-sm text-slate-500 leading-snug",children:t.subtitle})]}),d="rounded-2xl border p-5 text-left transition-all";return t.to?e.jsx(r,{to:t.to,className:`${d} border-purple-100 bg-white shadow-sm hover:-translate-y-0.5 hover:border-[#8C52FF]/40 hover:shadow-md`,children:n},t.title):e.jsx("div",{className:`${d} border-slate-100 bg-slate-50/60 opacity-70 cursor-default`,children:n},t.title)})}),e.jsxs("section",{className:"mb-10",children:[e.jsx("h2",{className:"mb-3 text-lg font-bold text-slate-900",children:"ÐодгоÑовка к Ñкзаменам"}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-5 gap-3",children:[{label:"ÐÐÐ",to:"/generate?preset=oge"},{label:"ÐÐÐ",to:"/generate?preset=ege"},{label:"ÐÐÐ ",to:"/generate?preset=vpr"},{label:"Ðлимпиада",to:"/generate?preset=olympiad"},{label:"ÐонÑÑолÑнаÑ",to:"/generate?preset=quiz"}].map(t=>e.jsx(r,{to:t.to,className:"rounded-2xl border border-purple-100 bg-white p-4 text-center text-sm font-semibold text-slate-700 transition-all hover:-translate-y-0.5 hover:border-[#8C52FF]/40 hover:text-[#8C52FF]",children:t.label},t.label))})]}),e.jsx("div",{className:"mb-10",children:e.jsxs(r,{to:"/guide",className:"flex items-center gap-3 rounded-2xl border border-purple-100 bg-white p-4 transition-colors hover:bg-purple-50/50",children:[e.jsx("span",{className:"text-2xl",children:"ð"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"font-semibold text-slate-900",children:"ÐÑе возможноÑÑи плаÑÑоÑмÑ"}),e.jsx("p",{className:"text-xs text-slate-500",children:"ÐнÑÑÑÑкÑÐ¸Ñ Ð¿Ð¾ вÑем ÑÑнкÑиÑм и кнопкам â Ñ Ð¿Ð¾Ð¸Ñком"})]}),e.jsx("span",{className:"text-[#8C52FF]",children:"â"})]})}),e.jsxs("section",{children:[e.jsx("h2",{className:"mb-3 text-lg font-bold text-slate-900",children:"Ðои маÑеÑиалÑ"}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[e.jsxs(r,{to:"/worksheets",className:"flex items-center gap-3 rounded-2xl border border-purple-100 bg-white p-4 transition-colors hover:bg-purple-50/50",children:[e.jsx("span",{className:"text-2xl",children:"ð"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold text-slate-900",children:"РабоÑие лиÑÑÑ"}),e.jsx("p",{className:"text-xs text-slate-500",children:"ÐÑе ÑозданнÑе лиÑÑÑ Ð¸ ÑеÑÑÑ"})]})]}),e.jsxs(r,{to:"/presentations",className:"flex items-center gap-3 rounded-2xl border border-purple-100 bg-white p-4 transition-colors hover:bg-purple-50/50",children:[e.jsx("span",{className:"text-2xl",children:"ð¼ï¸"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-semibold text-slate-900",children:"ÐÑезенÑаÑии"}),e.jsx("p",{className:"text-xs text-slate-500",children:"Ðеб-пÑезенÑаÑии и .pptx"})]})]})]})]})]})]})}export{C 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.