PageSourceSearch

https://lovi-znaniya.ru/assets/ExamPublicPage-R-rUTpS7.js

js lovi-znaniya.ru collected 2026-09-25 14:57:49 UTC 6,019 bytes, 1 lines download raw bytes

1import{v as b,ai as f,r as N,u as g,aj as v,ak as k,j as e,L as n,a8 as y}from"./index-DZ4IjjBq.js";import{t as h,e as C}from"./tasksWord-Dqk111Qu.js";import{e as p,c as m,E as L,b as $}from"./examKinds-BMOhh2vD.js";import"./pixi-sE093FOJ.js";const S=t=>y(t,"задание","задания","заданий");function u(t){return`Тренировочный вариант в формате ${p(t.examKind)} по предмету «${t.subjectName}» для ${t.grade} класса: до ${t.part1Count+t.part2Count} ${h(t.part1Count+t.part2Count)}, ${Math.round(t.timeLimitSeconds/60)} минут, разбор ошибок и слабые темы со ссылками на уроки. Структура — по ${t.structureSource}.`}function P(){const{slug:t=""}=b(),o=f(),[c,x]=N.useState(null),l=c!==null&&c.slug===t?c.exam:null;g(a=>{C.getBySlug(t).then(i=>{a()&&x({slug:t,exam:i.data})}).catch(i=>{if(!a())return;const j=i.response?.status;x({slug:t,exam:j===404?"missing":"error"})})},[t]);const r=l!==null&&typeof l=="object"?l:null;if(v({title:r?`${r.title} онлайн — тренировочный вариант с разбором | Лови Знания`:l==="missing"?"Вариант не найден | Лови Знания":void 0,description:r?u(r):void 0,canonicalPath:`/ekzameny/${t}`,noindex:l==="missing"?!0:r?!1:void 0,jsonLd:r?k([["Главная","/"],["Подготовка к ОГЭ, ЕГЭ и ВПР","/ekzameny"],[r.title,`/ekzameny/${r.slug}`]]):void 0}),l===null)return e.jsx("p",{className:"text-slate-400",children:"Загрузка…"});if(l==="error")return e.jsx("p",{className:"text-red-600 text-sm",children:"Не удалось загрузить страницу. Обновите её."});if(l==="missing")return e.jsxs("div",{children:[e.jsx("h1",{className:"text-2xl font-bold text-slate-800 mb-2",children:"Вариант не найден"}),e.jsx("p",{className:"text-slate-500 mb-4",children:"Такого тренировочного варианта нет."}),e.jsx(n,{to:"/ekzameny",className:"text-brand-600 hover:underline",children:"Все экзамены"})]});const s=l,d=p(s.examKind);return e.jsxs("div",{children:[e.jsxs("nav",{className:"text-xs text-slate-500 mb-3",children:[e.jsx(n,{to:"/ekzameny",className:"hover:underline",children:"Подготовка к ОГЭ, ЕГЭ и ВПР"})," · ",d]}),e.jsxs("h1",{className:"text-2xl font-bold text-slate-800 mb-2",children:[s.title," — тренировочный вариант онлайн"]}),e.jsx("p",{className:"text-slate-500 mb-6",children:u(s)}),e.jsxs("section",{className:"bg-white rounded-2xl border border-slate-200 p-5 mb-6",children:[e.jsx("h2",{className:"font-semibold text-slate-800 mb-2",children:"Структура варианта"}),e.jsxs("ul",{className:"text-sm text-slate-700 space-y-1 list-disc pl-5",children:[e.jsxs("li",{"data-testid":"exam-official",children:["По ",s.structureSource,": ",s.officialTaskCount," ",S(s.officialTaskCount),", ",s.officialTimeMinutes," минут, максимальный первичный балл — ",s.officialMaxPrimaryScore]}),e.jsxs("li",{children:["В тренировочном варианте: до ",s.part1Count," ",h(s.part1Count)," с кратким ответом",s.part2Count>0&&` и до ${s.part2Count} с развёрнутым ответом — их AI оценивает по критериям, оценка ориентировочная`]}),e.jsxs("li",{children:["Время: ",Math.round(s.timeLimitSeconds/60)," минут, таймер как на экзамене"]}),e.jsx("li",{children:"После завершения — сумма баллов за задания варианта, разбор каждого задания и слабые темы"})]}),s.excluded.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-slate-700 mt-3",children:"Не входят в тренировочный вариант:"}),e.jsx("ul",{className:"text-sm text-slate-600 space-y-1 list-disc pl-5",children:s.excluded.map(a=>e.jsxs("li",{children:[m(a.examNumbers)," — ",a.reason]},a.examNumbers.join("-")))})]}),s.note&&e.jsx("p",{className:"text-xs text-slate-400 mt-3",children:s.note}),e.jsx("p",{className:"text-xs mt-3",children:e.jsx("a",{href:s.sourceUrl,target:"_blank",rel:"nofollow noopener noreferrer",className:"text-brand-600 hover:underline",children:s.sourceLabel})}),e.jsx("p",{className:"text-xs text-slate-400 mt-3",children:s.disclaimer||L})]}),e.jsxs("section",{className:"mb-6",children:[e.jsxs("h2",{className:"font-semibold text-slate-800 mb-3",children:["Задания и темы ",d]}),e.jsx("div",{className:"space-y-3",children:s.blocks.map(a=>e.jsxs("div",{className:"bg-white rounded-2xl border border-slate-200 p-4",children:[e.jsxs("p",{className:"font-medium text-slate-800 text-sm",children:[a.title,e.jsxs("span",{className:"text-xs text-slate-400 font-normal ml-2",children:["(",m(a.examNumbers),")"]})]}),a.topics.length>0&&e.jsx("ul",{className:"mt-2 flex flex-wrap gap-2",children:a.topics.map(i=>e.jsx("li",{children:e.jsx(n,{to:`/topics/${i.slug}`,className:"text-xs px-2 py-1 rounded-full bg-slate-100 text-slate-700 hover:bg-brand-50 hover:text-brand-700",children:i.title})},i.slug))})]},a.title+a.examNumbers.join("-")))})]}),e.jsxs("div",{className:"bg-violet-50 border border-violet-200 rounded-2xl p-5",children:[o==="loading"?e.jsx("div",{className:"h-10 w-64 roun
1ded-xl bg-violet-100 animate-pulse","aria-hidden":"true","data-testid":"exam-cta"}):e.jsx(n,{to:$(s.slug,o),"data-testid":"exam-cta",className:"inline-block px-4 py-2 rounded-xl bg-violet-600 text-white text-sm font-semibold hover:bg-violet-700",children:"Пройти тренировочный вариант"}),e.jsx("p",{className:"text-xs text-slate-500 mt-2",children:"Нужен бесплатный аккаунт, покупка предмета не требуется; запуск списывает AI-сообщения."})]})]})}export{P 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.