1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6777,9610],{13285:(e,t,r)=>{r.d(t,{NavBar:()=>N});var n=r(71689),s=r(71413),l=r(14685),i=r(86490),a=r.n(i),o=r(6629),d=r(39073),c=r(47847),u=r(90605),h=r(79614),m=r(22195),p=r(92172),f=r(37057),x=r(28533),g=r(81820),y=r(78678),v=r(7585),b=r(66809),j=r(21744),w=r(1752),k=r(35037);function N(){var e,t;let r,i,N,A,S,[M,z]=(0,l.useState)(null),[C,E]=(0,l.useState)(!1),I=(0,w.G)(),$=(r=null===(e=I.slug)||"moskva"===e,i=[{title:"ÐÑе ÑколÑ",href:"/school/"},{title:"ЧаÑÑнÑе",href:"/school/chastnye/"},{title:"СпоÑÑивнÑе",href:"/school/sportivnye/"},{title:"Ð¥ÑдожеÑÑвеннÑе",href:"/school/hudozhestvennye/"},{title:"ÐоÑÑекÑионнÑе",href:"/school/korrekcionnye/"},{title:"ÐадеÑÑкие ÑколÑ",href:"https://fulledu.ru/firm-tag/cadet/"}],null!==e&&s.EY.has(e)&&i.push({title:"Ðо пÑопиÑке",href:"/shkola-po-propiske/"}),r&&i.push({divider:!0,label:"ÐоÑква â пÑоÑили"},{title:"Ðимназии ÐоÑквÑ",href:"/school/gimnazii/town/moskva/"},{title:"ÐиÑеи ÐоÑквÑ",href:"/school/licei/town/moskva/"},{title:"ЦенÑÑÑ Ð¾Ð±ÑÐ°Ð·Ð¾Ð²Ð°Ð½Ð¸Ñ ÐоÑквÑ",href:"/school/centry-obrazovaniya/town/moskva/"},{title:"С ÑглÑблÑннÑм изÑÑением",href:"/school/uglublennye/town/moskva/"},{divider:!0,label:"РейÑинги"},{title:"РейÑинг по ÐÐÐ",href:"/reyting/shkoly-moskvy-ege/"},{title:"РейÑинг по олимпиадам",href:"/reyting/shkoly-moskvy-olimpiady/"}),(N=(0,o.LN)(e))&&i.push({divider:!0,label:"РейÑинги"},{title:"РейÑинг по ÐÐÐ",href:N.path}),[{title:"ÐеÑÑкие ÑадÑ",href:"/sadik/",sub:[{title:"ÐÑе деÑÑкие ÑадÑ",href:"/sadik/"},{title:"ÐÑджеÑнÑе",href:"/sadik/byudzhetnye/"},{title:"ЧаÑÑнÑе",href:"/sadik/chastnye/"}]},{title:"ШколÑ",href:"/school/",sub:i},{title:"Ðолледжи",href:"/kolledj/",sub:[{title:"ÐÑе колледжи",href:"/kolledj/"},{title:"СпеÑиалÑноÑÑи",href:"/kolledj/specialty/"},{title:"С обÑежиÑием",href:"/kolledj/s-obshhezhitiem/"},{title:"ÐиÑÑанÑионное обÑÑение",href:"https://fulledu.ru/distancionnoe-obuchenie/spo/"},{title:"ÐÑоÑеÑÑионалиÑеÑ",href:"https://fulledu.ru/firm-tag/professionalitet/"},{title:"Ðазовое СÐÐ",href:"https://fulledu.ru/firm-tag/basic-spo/"},{title:"ЦÐÐÐ",href:"https://fulledu.ru/firm-tag/copp/"}]},{title:"ÐÑзÑ",href:"/vuzi/",sub:[{title:"ÐÑе вÑзÑ",href:"/vuzi/"},{title:"СпеÑиалÑноÑÑи",href:"/vuzi/specialty/"},{title:"ÐоÑÑдаÑÑÑвеннÑе",href:"/vuzi/gosudarstvennye/"},{title:"С обÑежиÑием",href:"/vuzi/s-obshhezhitiem/"},{title:"С военной каÑедÑой",href:"/voennye-vuzy/"},{title:"Ðни оÑкÑÑÑÑÑ
двеÑей",href:"/dni-otkrytyh-dverey/"},{title:"ÐиÑÑанÑионное обÑÑение",href:"https://fulledu.ru/distancionnoe-obuchenie/"},{title:"ÐалÑкÑлÑÑÐ¾Ñ Ð¿Ð¾ ÐÐÐ",href:"/po-ballam-ege/"},{title:"ÐеÑевод баллов ÐÐÐ",href:"https://fulledu.ru/ege/perevod-ballov/"}]},{title:"ÐагеÑÑ",href:"/camp/",sub:[{title:"ÐÑе лагеÑÑ Ñегиона",href:"/camp/"},{divider:!0,label:"ÐÑÑÑвки и бÑониÑование"},{title:"ÐаÑалог пÑÑÑвок Ñ Ñенами",href:"https://fulledu.ru/camps/"},{title:"ÐеÑние ÑменÑ",href:"https://fulledu.ru/camps/letnie/"},{title:"ÐагеÑÑ Ð½Ð° моÑе",href:"https://fulledu.ru/camps/na-more/"},{title:"С компенÑаÑией",href:"https://fulledu.ru/camps/s-kompensaciey/"},{title:"Ðак полÑÑиÑÑ ÐºÐ¾Ð¼Ð¿ÐµÐ½ÑаÑиÑ",href:"https://fulledu.ru/camps/kompensaciya/"},{title:"Ð ÐодмоÑковÑе",href:"https://fulledu.ru/camps/v-podmoskove/"},{title:"ЯзÑковÑе",href:"https://fulledu.ru/camps/yazykovye/"},{title:"СпоÑÑивнÑе",href:"https://fulledu.ru/camps/sportivnye/"},{title:"IT и пÑогÑаммиÑование",href:"https://fulledu.ru/camps/it-lagerya/"},{title:"ÐÐ»Ñ Ð¿Ð¾Ð´ÑоÑÑков",href:"https://fulledu.ru/camps/dlya-podrostkov/"}]},{title:"ÐÑÑÑÑ",href:"/course/"}].map(t=>({...t,href:(0,k.Iv)(t.href,e),sub:t.sub?.map(t=>"divider"in t?t:{...t,href:(0,k.Iv)(t.href,e)})}))),_=(A=null===(t=I.slug)||"moskva"===t,S=[{title:"ТеÑÑÑ",href:(0,k.Yx)("/tests/",t),icon:d.A},{title:"ÐалÑкÑлÑÑÐ¾Ñ ÐÐÐ",href:"/po-ballam-ege/",icon:c.A},{title:"ÐеÑевод баллов ÐÐÐ",href:(0,k.Yx)("/ege/perevod-ballov/",t),icon:u.A},{title:"ÐеÑевод баллов ÐÐÐ",href:(0,k.Yx)("/oge/perevod-ballov/",t),icon:u.A},{title:"ÐовоÑÑи",href:(0,k.Yx)("/news/",t),icon:h.A},{title:"СÑаÑÑи",href:(0,k.Yx)("/articles/",t),icon:m.A},{title:"ÐопÑоÑÑ Ð¸ оÑвеÑÑ",href:(0,k.Yx)("/qa/",t),icon:p.A},{title:"ÐÑоÑеÑÑии",href:"/professii/",icon:f.A},{title:"ÐлимпиадÑ",href:(0,k.Yx)("/olimpiady/",t),icon:x.A},{title:"ÐбÑÑение за ÑÑбежом",href:(0,k.Yx)("/strany/",t),icon:g.A}],A&&S.splice(2,0,{title:"СпоÑÑивнÑе ÑекÑии ÐоÑквÑ",href:(0,k.Iv)("/sekcii/",t),icon:y.A}),S);return(0,n.jsx)("nav",{className:"w-full gradient-nav hidden md:block relative z-40",onMouseLeave:()=>{z(null),E(!1)},children:(0,n.jsxs)("div",{className:"container flex items-center justify-center gap-0.5",children:[$.map((e,t)=>(0,n.jsxs)("div",{className:"relative",onMouseEnter:()=>{z(e.sub?t:null),E(!1)},children:[(0,n.jsxs)(a(),{href:e.href,className:"flex items-center gap-1.5 px-4 py-3 text-sm font-medium text-secondary/80 hover:text-primary-foreground transition-colors relative",children:[e.title,e.sub&&(0,n.jsx)(v.A,{className:`h-3 w-3 transition-transform ${M===t?"rotate-180":""}`}),M===t&&(0,n.jsx)(b.P.div,{layoutId:"nav-indicator",className:"absolute bottom-0 left-3 right-3 h-0.5 bg-accent rounded-full",transition:{type:"spring",bounce:.25,duration:.4}})]}),(0,n.jsx)(j.N,{children:M===t&&e.sub&&(0,n.jsx)(b.P.div,{initial:{opacity:0,y:8}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:8},transition:{duration:.15},className:"absolute top-full left-0 pt-2 z-50",children:(0,n.jsx)("div",{className:"bg-card rounded-xl shadow-lg border border-border p-2 min-w-[220px]",children:e.sub.map((e,t)=>"divider"in e?(0,n.jsx)("div",{className:"mt-2 pt-2 border-t border-border",children:e.label&&(0,n.jsx)("div",{className:"px-3 pb-1 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",children:e.label})},`div-${t}`):(0,n.jsx)(a(),{href:e.href,className:"block px-3 py-2 rounded-lg text-sm text-foreground hover:bg-secondary transition-colors",children:e.title},e.title))})})})]},e.title)),(0,n.jsxs)("div",{className:"relative",onMouseEnter:()=>{E(!0),z(null)},children:[(0,n.jsxs)("button",{className:"flex items-center gap-1.5 px-4 py-3 text-sm font-medium text-secondary/80 hover:text-primary-foreground transition-colors",children:["ÐÑÑ",(0,n.jsx)(v.A,{className:`h-3 w-3 transition-transform ${C?"rotate-180":""}`})]}),(0,n.jsx)(j.N,{children:C&&(0,n.jsx)(b.P.div,{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:8},transition:{duration:.15},className:"absolute top-full right-0 pt-2 z-50",children:(0,n.jsx)("div",{className:"bg-card rounded-xl shadow-lg border border-border p-2 min-w-[220px]",children:_.map(e=>(0,n.jsxs)(a(),{href:e.href,className:"flex items-center gap-2.5 px-3 py-2.5 rounded-lg text-sm text-foreground hover:bg-secondary transition-colors",children:[(0,n.jsx)(e.icon,{className:"h-4 w-4 text-muted-foreground"}),e.title]},e.title))})})})]})]})})}},15293:(e,t,r)=>{r.d(t,{SiteHeader:()=>ec});var n=r(71689),s=r(14685),l=r(86490),i=r.n(l),a=r(58524);let o=(0,r(80304).A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var d=r(44759),c=r(40834),u=r(77723),h=r(1752),m=r(35037);let p=new Date("2026-06-20T00:00:00+03:00").getTime();
1function f(){let e,t,r=(0,h.G)(),[l,a]=(0,s.useState)(null);if((0,s.useEffect)(()=>{a(Date.now());let e=setInterval(()=>a(Date.now()),1e3);return()=>clearInterval(e)},[]),null===l)return null;let o=p-l;if(o<=0)return null;let d=Math.floor(o/864e5),f=Math.floor(o/36e5%24),x=Math.floor(o/6e4%60),g=Math.floor(o/1e3%60),y=e=>String(e).padStart(2,"0");return(0,n.jsx)(i(),{href:(0,m.Yx)("/news/7613_postuplenie-v-vuzy-v-2026-godu-polnyy-gid-po-novym-pravilam-srokam-i-klyuchevym-.html",r.slug),className:"group block gradient-accent text-white hover:brightness-110 transition-[filter] duration-200","aria-label":"Ðо наÑала пÑиÑма докÑменÑов в вÑÐ·Ñ â оÑкÑÑÑÑ Ð¿Ð¾Ð»Ð½Ñй гид по пÑавилам пÑиÑма 2026",children:(0,n.jsxs)("div",{className:"container flex flex-wrap items-center justify-center gap-x-3 gap-y-1 py-1.5 text-xs sm:text-sm leading-tight",children:[(0,n.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,n.jsx)(c.A,{className:"h-4 w-4 shrink-0","aria-hidden":!0}),(0,n.jsxs)("span",{className:"font-medium",children:[(0,n.jsx)("span",{className:"hidden sm:inline",children:"Ðо наÑала пÑиÑма докÑменÑов в вÑзÑ:"}),(0,n.jsx)("span",{className:"sm:hidden",children:"ÐÑиÑм в вÑÐ·Ñ ÑеÑез:"})]}),(0,n.jsxs)("span",{className:"font-bold tabular-nums whitespace-nowrap",children:[d,"\xa0",(e=d%10,t=d%100,1===e&&11!==t?"денÑ":e>=2&&e<=4&&(t<12||t>14)?"днÑ":"дней")," ",y(f),":",y(x),":",y(g)]})]}),(0,n.jsxs)("span",{className:"inline-flex items-center gap-1 font-semibold underline underline-offset-2 decoration-white/60 group-hover:decoration-white whitespace-nowrap",children:[(0,n.jsx)("span",{className:"hidden sm:inline",children:"Ðид по пÑавилам и ÑÑокам 2026"}),(0,n.jsx)("span",{className:"sm:hidden",children:"Ðид 2026"}),(0,n.jsx)(u.A,{className:"h-3.5 w-3.5 transition-transform group-hover:translate-x-0.5","aria-hidden":!0})]})]})})}var x=r(71413),g=r(92955),y=r(31115),v=r(73663),b=r(95686),j=r(76929),w=r(39073),k=r(47847),N=r(90605),A=r(79614),S=r(22195),M=r(92172),z=r(37057),C=r(28533),E=r(81820),I=r(78678),$=r(75085),_=r(10833),P=r(7585),Y=r(63003),L=r(21744),T=r(66809),U=r(9083),D=r(34936),H=r(3882);let q=new Set(["sadik","school","kolledj","vuzi","camp","course","zarubej"]),G=new Set(["specialty","town","metro","raon","okrug","district"]),B=new Set(["town","metro","raon","okrug","district"]);function F(e){return!function(e){let t=e.split("/").filter(Boolean);if(t.length<1)return!1;if("sekcii"===t[0])return!0;if(t.length<2)return!1;if("institution"===t[0])return!0;if(q.has(t[0])){let e=t[1];if(H.pf.has(e)||H.ZS.has(e))return!1;if(!G.has(e)||B.has(e)&&t.length>=3&&"list"!==t[2])return!0}return!1}(e)?e:"/"}var O=r(6629);let R=[{title:"ÐеÑÑкие ÑадÑ",href:"/sadik/",icon:g.A,chips:[{title:"ÐÑджеÑнÑе",href:"/sadik/byudzhetnye/"},{title:"ЧаÑÑнÑе",href:"/sadik/chastnye/"}]},{title:"ШколÑ",href:"/school/",icon:y.A,chips:[{title:"ЧаÑÑнÑе",href:"/school/chastnye/"},{title:"ÐÑджеÑнÑе",href:"/school/byudzhetnye/"}]},{title:"Ðолледжи",href:"/kolledj/",icon:v.A,chips:[{title:"СпеÑиалÑноÑÑи",href:"/kolledj/specialty/"},{title:"С обÑежиÑием",href:"/kolledj/s-obshhezhitiem/"},{title:"ÐиÑÑанÑионное обÑÑение",href:"https://fulledu.ru/distancionnoe-obuchenie/spo/"},{title:"ÐÑоÑеÑÑионалиÑеÑ",href:"https://fulledu.ru/firm-tag/professionalitet/"}]},{title:"ÐÑзÑ",href:"/vuzi/",icon:c.A,chips:[{title:"СпеÑиалÑноÑÑи",href:"/vuzi/specialty/"},{title:"С обÑежиÑием",href:"/vuzi/s-obshhezhitiem/"},{title:"ÐиÑÑанÑионное обÑÑение",href:"https://fulledu.ru/distancionnoe-obuchenie/"},{title:"С военной",href:"/voennye-vuzy/"},{title:"Ðни оÑкÑÑÑÑÑ
двеÑей",href:"/dni-otkrytyh-dverey/"},{title:"ÐоÑÑдаÑÑÑвеннÑе",href:"/vuzi/gosudarstvennye/"}]},{title:"ÐагеÑÑ",href:"/camp/",icon:b.A},{title:"ÐÑÑÑÑ",href:"/course/",icon:j.A}],J=[{title:"ТеÑÑÑ",href:"/tests/",icon:w.A},{title:"ÐалÑкÑлÑÑÐ¾Ñ ÐÐÐ",href:"/po-ballam-ege/",icon:k.A},{title:"ÐеÑевод баллов ÐÐÐ",href:"/ege/perevod-ballov/",icon:N.A},{title:"ÐеÑевод баллов ÐÐÐ",href:"/oge/perevod-ballov/",icon:N.A}],V=[{title:"ÐовоÑÑи",href:"/news/",icon:A.A},{title:"СÑаÑÑи",href:"/articles/",icon:S.A},{title:"ÐопÑоÑÑ Ð¸ оÑвеÑÑ",href:"/qa/",icon:M.A},{title:"ÐÑоÑеÑÑии",href:"/professii/",icon:z.A},{title:"ÐлимпиадÑ",href:"/olimpiady/",icon:C.A},{title:"ÐбÑÑение за ÑÑбежом",href:"/strany/",icon:E.A}],X=[{title:"СпоÑÑивнÑе ÑекÑии ÐоÑквÑ",href:"/sekcii/",icon:I.A}],Z=new Set([null,...x.EY]);function K({open:e,onClose:t}
1){let r=(0,h.G)(),[l,o]=(0,s.useState)(!1),[d,c]=(0,s.useState)(""),u=r.displayName?.split(" и ")[0]??"ÐÑбÑаÑÑ Ð³Ð¾Ñод",p=e=>e.toLowerCase().replace(/Ñ/g,"е"),f=d?D.i.filter(e=>p(e.name).includes(p(d))):D.i;return(0,n.jsx)(L.N,{children:e&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(T.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-foreground/30 backdrop-blur-sm z-[70]",onClick:t}),(0,n.jsxs)(T.P.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:25,stiffness:200},className:"fixed right-0 top-0 bottom-0 w-[85%] max-w-sm bg-card z-[70] shadow-2xl overflow-y-auto",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between p-4 border-b border-border",children:[(0,n.jsx)("span",{className:"font-bold text-lg",children:"ÐенÑ"}),(0,n.jsx)("button",{onClick:t,"aria-label":"ÐакÑÑÑÑ Ð¼ÐµÐ½Ñ",className:"inline-flex items-center justify-center min-w-[44px] min-h-[44px] -m-2 rounded-lg hover:bg-secondary transition-colors",children:(0,n.jsx)($.A,{className:"h-5 w-5"})})]}),(0,n.jsxs)("div",{className:"p-4 space-y-6",children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("button",{onClick:()=>o(!l),className:"w-full flex items-center justify-between px-3 py-3 rounded-xl bg-primary/5 border border-primary/20 transition",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(_.A,{className:"h-4 w-4 text-primary"}),(0,n.jsx)("span",{className:"text-sm font-medium text-foreground",children:u})]}),(0,n.jsx)(P.A,{className:`h-4 w-4 text-muted-foreground transition-transform ${l?"rotate-180":""}`})]}),l&&(0,n.jsxs)("div",{className:"mt-2 border border-border rounded-xl overflow-hidden",children:[(0,n.jsx)("div",{className:"p-2",children:(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(Y.A,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-3.5 w-3.5 text-muted-foreground"}
1),(0,n.jsx)("input",{autoFocus:!0,type:"text",placeholder:"ÐайÑи гоÑод...",value:d,onChange:e=>c(e.target.value),className:"w-full pl-9 pr-3 py-2 bg-secondary/40 border border-border rounded-lg text-sm focus:outline-none focus:border-primary"})]})}),(0,n.jsxs)("div",{className:"max-h-[40vh] overflow-y-auto px-1 pb-2",children:[f.map(e=>(0,n.jsx)("button",{onClick:()=>{var r;let n;return r=e.slug,o(!1),t(),n=F(window.location.pathname),void(window.location.href=(0,U.S)(r,n))},className:`w-full text-left px-3 py-2 text-sm rounded-lg transition ${r.displaySlug===e.slug?"bg-primary/10 text-primary font-medium":"text-foreground hover:bg-secondary"}`,children:e.name},e.slug)),0===f.length&&(0,n.jsx)("div",{className:"text-xs text-muted-foreground text-center py-4",children:"Ðе найдено"})]})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-[10px] font-semibold uppercase tracking-wider text-muted-foreground/60 mb-2",children:"УÑÑеждениÑ"}),(0,n.jsx)("div",{className:"space-y-0.5",children:R.map(e=>{let s=e.chips?[...e.chips]:[];"ШколÑ"===e.title&&Z.has(r.slug)&&s.push({title:"Ðо пÑопиÑке",href:"/shkola-po-propiske/"}),"ШколÑ"===e.title&&"moskva"===r.slug&&(s.push({title:"РейÑинг ÐÐÐ",href:"/reyting/shkoly-moskvy-ege/"}),s.push({title:"РейÑинг олимпиад",href:"/reyting/shkoly-moskvy-olimpiady/"}));let l="ШколÑ"===e.title?(0,O.LN)(r.slug):null;return l&&s.push({title:"РейÑинг ÐÐÐ",href:l.path}),(0,n.jsxs)("div",{children:[(0,n.jsxs)(i(),{href:(0,m.Iv)(e.href,r.slug),onClick:t,className:"flex items-center gap-2.5 py-2.5 px-3 rounded-lg text-sm text-foreground hover:bg-secondary transition-colors",children:[(0,n.jsx)(e.icon,{className:"h-4 w-4 text-primary shrink-0"}),e.title]}),s.length>0&&(0,n.jsxs)("div",{className:"ml-10 mt-1 mb-1 flex flex-wrap items-center gap-1.5",children:[s.map(e=>(0,n.jsx)(i(),{href:(0,m.Iv)(e.href,r.slug),onClick:t,className:"inline-flex items-center px-3.5 py-2 rounded-full bg-secondary/70 hover:bg-secondary text-sm text-foreground transition",children:e.title},e.title)),(0,n.jsx)(i(),{href:(0,m.Iv)(e.href,r.slug),onClick:t,className:"inline-flex items-center px-2 py-2 text-sm text-primary hover:underline",children:"ÐÑе ваÑианÑÑ â"})]})]},e.title)})})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-[10px] font-semibold uppercase tracking-wider text-muted-foreground/60 mb-2",children:"ÐнÑÑÑÑменÑÑ"}),(0,n.jsx)("div",{className:"space-y-0.5",children:J.map(e=>(0,n.jsxs)(i(),{href:(0,m.Yx)(e.href,r.slug),onClick:t,className:"flex items-center gap-2.5 py-2.5 px-3 rounded-lg text-sm text-foreground hover:bg-secondary transition-colors",children:[(0,n.jsx)(e.icon,{className:"h-4 w-4 text-muted-foreground"}),e.title]},e.title))})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-[10px] font-semibold uppercase tracking-wider text-muted-foreground/60 mb-2",children:"ÐаÑеÑиалÑ"}),(0,n.jsxs)("div",{className:"space-y-0.5",children:[V.map(e=>(0,n.jsxs)(i(),{href:(0,m.Yx)(e.href,r.slug),onClick:t,className:"flex items-center gap-2.5 py-2.5 px-3 rounded-lg text-sm text-foreground hover:bg-secondary transition-colors",children:[(0,n.jsx)(e.icon,{className:"h-4 w-4 text-muted-foreground"}),e.title]},e.title)),(null===r.slug||"moskva"===r.slug)&&X.map(e=>(0,n.jsxs)(i(),{href:(0,m.Iv)(e.href,r.slug),onClick:t,className:"flex items-center gap-2.5 py-2.5 px-3 rounded-lg text-sm text-foreground hover:bg-secondary transition-colors",children:[(0,n.jsx)(e.icon,{className:"h-4 w-4 text-muted-foreground"}),e.title]},e.title))]})]})]}),(0,n.jsx)("div",{className:"p-4 border-t border-border",children:(0,n.jsxs)(i(),{href:(0,m.Yx)("/cabinet",r.slug),onClick:t,className:"flex items-center gap-2.5 text-sm font-medium text-foreground py-2 px-3",children:[(0,n.jsx)(a.A,{className:"h-4 w-4"})," ÐиÑнÑй кабинеÑ"]})})]})]})})}var Q=r(25840),W=r(65809);function ee({open:e,onOpenChange:t}={}){let r=(0,h.G)(),[l,i]=(0,s.useState)(!1),a=e=>{t?t(e):i(e)},[o,d]=(0,s.useState)(""),c=e=>e.toLowerCase().replace(/Ñ/g,"е"),u=o?D.i.filter(e=>c(e.name).includes(c(o))):D.i,m=r.displayName?.split(" и ")[0]??"ÐÑбÑаÑÑ Ð³Ð¾Ñод";return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("button",{onClick:()=>a(!0),className:"flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[(0,n.jsx)(_.A,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"hidden min-[360px]:inline max-w-[100px] truncate sm:max-w-none",children:m}),(0,n.jsx)(P.A,{className:"h-3 w-3 hidden sm:block"})]}),"u">typeof document&&(0,Q.createPortal)((0,n.jsx)(L.N,{children:(e??l)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(T.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-foreground/40 z-[60]",onClick:()=>a(!1)}),(0,n.jsx)("div",{className:"fixed inset-0 z-[61] flex items-start justify-center pt-[10vh] px-[5vw] pointer-events-none",children:(0,n.jsxs)(T.P.div,{initial:{opacity:0,scale:.95,y:-20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:-20},transition:{duration:.2},className:"pointer-events-auto w-full max-w-lg bg-card rounded-2xl shadow-xl border border-border overflow-hidden",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between px-5 py-4 border-b border-border",children:[(0,n.jsx)("h2",{className:"font-bold text-lg",children:"ÐÑбеÑиÑе Ñегион"}),(0,n.jsx)("button",{onClick:()=>a(!1),className:"w-8 h-8 rounded-full hover:bg-secondary flex items-center justify-center transition-colors",children:(0,n.jsx)($.A,{className:"h-4 w-4"})})]}),(0,n.jsx)("div",{className:"px-5 py-3 border-b border-border",children:(0,n.jsxs)("div",{className:"flex items-center gap-2 bg-secondary/50 rounded-lg px-3 py-2",children:[(0,n.jsx)(Y.A,{className:"h-4 w-4 text-muted-foreground shrink-0"}),(0,n.jsx)("input",{type:"text",value:o,onChange:e=>d(e.target.value),placeholder:"ÐоиÑк Ñегиона...",className:"flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground",autoFocus:!0})]})}),null!==r.displaySlug&&(0,n.jsxs)("div",{className:"px-5 py-2 border-b border-border flex items-center justify-between",children:[(0,n.jsxs)("span",{className:"text-sm text-muted-foreground",children:["ТекÑÑий: ",(0,n.jsx)("strong",{className:"text-foreground",children:m})]}),(0,n.jsx)("button",{onClick:()=>{a(!1),(0,W.CH)();let e=F(window.location.pathname);window.location.href=(0,U.S)(null,e)},className:"text-xs text-primary hover:underline",children:"СбÑоÑиÑÑ"})]}),(0,n.jsx)("div",{className:"max-h-[50vh] overflow-y-auto p-2",children:u.length>0?(0,n.jsx)("div",{className:"grid grid-cols-2 gap-1",children:[...u].sort((e,t)=>{let r=["moskva","sankt-peterburg"],n=r.indexOf(e.slug),s=r.indexOf(t.slug);return n>=0&&s>=0?n-s:n>=0?-1:+(s>=0)}).map(e=>(0,n.jsx)("button",{onClick:()=>{var t;let r;return t=e.slug,a(!1),(0,W.TE)(t),r=F(window.location.pathname),void(window.location.href=(0,U.S)(t,r))},className:`text-left px-3 py-2.5 rounded-lg text-sm transition-colors ${r.displaySlug===e.slug?"bg-primary/10 text-primary font-medium":"hover:bg-secondary text-foreground"}`,children:e.name},e.slug))}):(0,n.jsx)("p",{className:"text-center text-sm text-muted-foreground py-8",children:"Регион не найден"})})]})})]})}),document.body)]})}var et=r(46331),er=r(89999),en=r(22385);let es="region-prompt-dismissed";function el(e){try{window.localStorage.setItem(es,e)}catch{}}function ei({onOpenSelector:e}){let t=(0,h.G)(),r=(0,er.usePathname)(),[l,i]=(0,s.useState)(!1),[a,o]=(0,s.useState)(!1),d=(0,s.useRef)(null),[c,u]=(0,s.useState)(!0);if((0,s.useEffect)(()=>{let e=()=>u("pending"===(0,et.hr)());return e(),(0,et.hp)(e)},[]),(0,s.useEffect)(()=>{if(c)return;let e=function(){try{return null!==window.localStorage.getItem(es)}catch{return!0}}();if(function({hasRegion:e,geoIpSlug:t,pathname:r,dismissed:n}){return!(e||!t||n||en.lD.test(r))}({hasRegion:t.hasRegion,geoIpSlug:t.geoIpSlug,pathname:r??"",dismissed:e})){let e=window.setTimeout(()=>{i(!0),o(!0)},600);return()=>window.clearTimeout(e)}},[t.hasRegion,t.geoIpSlug,r,c]),(0,s.useEffect)(()=>{if(!a)return;let e=e=>{!d.current||d.current.contains(e.target)||(el("dismissed"),o(!1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[a]),!l||!t.geoIpSlug)return null;let m=(0,D.n)(t.geoIpSlug);if(!m)return null;let p=m.genitive??m.name.split(" и ")[0];return(0,n.jsx)(L.N,{children:a&&(0,n.jsxs)(T.P.div,{ref:d,initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.18},className:"absolute right-0 top-full mt-3 z-50 w-[280px] max-w-[calc(100vw-32px)] rounded-2xl border border-border bg-card p-4 shadow-xl",role:"dialog","aria-label":"ÐодÑвеÑждение Ñегиона",children:[(0,n.jsx)("span",{"aria-hidden":!0,
1className:"absolute -top-1.5 right-6 h-3 w-3 rotate-45 border-l border-t border-border bg-card"}),(0,n.jsx)("button",{type:"button",onClick:()=>{el("dismissed"),o(!1)},"aria-label":"ÐакÑÑÑÑ",className:"absolute right-2 top-2 flex h-7 w-7 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-secondary hover:text-foreground",children:(0,n.jsx)($.A,{className:"h-4 w-4"})}),(0,n.jsxs)("h3",{className:"font-bold text-base pr-6",children:["ÐоÑ
оже, Ð²Ñ Ð¸Ð· ",p,"?"]}),(0,n.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:"Ðокажем ÑÐºÐ¾Ð»Ñ Ð¸ вÑÐ·Ñ Ð²Ð°Ñего гоÑода"}),(0,n.jsxs)("div",{className:"mt-3 flex gap-2",children:[(0,n.jsx)("button",{type:"button",onClick:()=>{el("yes"),t.geoIpSlug&&(0,W.TE)(t.geoIpSlug),window.location.href=(0,U.S)(t.geoIpSlug,"/")},className:"flex-1 gradient-primary rounded-lg px-3 py-2 text-sm font-medium text-primary-foreground transition-opacity hover:opacity-90",children:"Ðа, веÑно"}),(0,n.jsx)("button",{type:"button",onClick:()=>{el("no"),o(!1),e()},className:"flex-1 rounded-lg border border-border px-3 py-2 text-sm font-medium text-foreground transition-colors hover:bg-secondary",children:"ÐÑÑгой гоÑод"})]})]})})}function ea(){let[e,t]=(0,s.useState)(!1);return(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(ee,{open:e,onOpenChange:t}),(0,n.jsx)(ei,{onOpenSelector:()=>t(!0)})]})}var eo=r(46204),ed=r(49610);function ec(){let[e,t]=(0,s.useState)(!1),{user:r}=(0,ed.useCurrentUser)(),{slug:l}=(0,h.G)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f,{}),(0,n.jsx)("header",{className:"site-header sticky top-0 z-50 w-full border-b border-border/50 glass",children:(0,n.jsxs)("div",{className:"container flex items-center gap-2 sm:gap-4 py-3",children:[(0,n.jsx)(i(),{href:"/","aria-label":"ÐавигаÑÐ¾Ñ ÐбÑÐ°Ð·Ð¾Ð²Ð°Ð½Ð¸Ñ â главнаÑ",className:"flex items-center gap-2 shrink-0",children:(0,n.jsx)("img",{src:"/assets/logo.jpg",alt:"ÐавигаÑÐ¾Ñ ÐбÑазованиÑ",width:200,height:104,className:"h-9 w-auto"})}),(0,n.jsx)("div",{className:"flex-1 flex justify-center",children:(0,n.jsx)(eo.G,{})}),(0,n.jsxs)("div",{className:"flex items-center gap-1 sm:gap-3 shrink-0",children:[(0,n.jsx)(ea,{}),(0,n.jsx)(i(),{href:(0,m.Yx)("/cabinet",l),"aria-label":r?`ÐиÑнÑй ÐºÐ°Ð±Ð¸Ð½ÐµÑ â ${r.username}${(r.tutor_leads_new??0)>0?`, новÑÑ
заÑвок: ${r.tutor_leads_new}`:""}`:"ÐиÑнÑй кабинеÑ",children:r?(0,n.jsxs)("div",{className:"relative flex items-center gap-2 px-3 py-1.5 rounded-full hover:bg-secondary transition-colors",children:[(r.tutor_leads_new??0)>0&&(0,n.jsx)("span",{className:"absolute -top-0.5 left-6 z-10 inline-flex items-center justify-center min-w-[1.125rem] h-[1.125rem] px-1 rounded-full text-[10px] font-bold bg-primary text-primary-foreground ring-2 ring-background","aria-label":`ÐовÑÑ
заÑвок: ${r.tutor_leads_new}`,children:r.tutor_leads_new}),r.avatar?(0,n.jsx)("img",{src:r.avatar,alt:"","aria-hidden":"true",referrerPolicy:"no-referrer",onError:e=>{let t=e.currentTarget;t.style.display="none";let r=t.nextElementSibling;r&&(r.style.display="flex")},className:"w-7 h-7 rounded-full object-cover"}):null,(0,n.jsx)("div",{"aria-hidden":"true",className:"w-7 h-7 rounded-full gradient-primary flex items-center justify-center text-primary-foreground text-xs font-bold",style:{display:r.avatar?"none":"flex"},children:r.username.slice(0,1).toUpperCase()}),(0,n.jsx)("span",{className:"text-sm font-medium hidden sm:inline max-w-[120px] truncate",children:r.username})]}):(0,n.jsx)(d.Button,{variant:"ghost",size:"icon",className:"rounded-full","aria-label":"ÐиÑнÑй кабинеÑ",children:(0,n.jsx)(a.A,{className:"h-5 w-5","aria-hidden":"true"})})}),(0,n.jsx)(d.Button,{variant:"ghost",size:"icon",className:"md:hidden rounded-full",onClick:()=>t(!0),"aria-label":"ÐÑкÑÑÑÑ Ð¼ÐµÐ½Ñ",children:(0,n.jsx)(o,{className:"h-5 w-5","aria-hidden":"true"})})]})]})}),(0,n.jsx)(K,{open:e,onClose:()=>t(!1)})]})}},22195:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(80304).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},39073:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(80304).A)("brain",[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]])},46331:(e,t,r)=>{r.d(t,{bi:()=>i,hp:()=>o,hr:()=>l,o8:()=>a});var n=r(65809);let s="consent-change";function l(){if("u"<typeof document)return"pending";let e=document.documentElement.dataset.consent;return"granted"===e||"denied"===e?e:"pending"}function i(e){if("u">typeof document){var t;let r,l;t="granted"===e?"1":"0",r=(0,n.hv)(),l=[`cookie-consent=${t}`,"Path=/","Max-Age=31536000","SameSite=Lax"],r&&l.push(`Domain=${r}`),"https:"===window.location.protocol&&l.push("Secure"),document.cookie=l.join("; "),document.documentElement.dataset.consent=e,window.dispatchEvent(new CustomEvent(s,{detail:e}))}}function a(){"u">typeof document&&(document.documentElement.dataset.consent="pending",window.dispatchEvent(new CustomEvent(s,{detail:"pending"})))}function o(e){return window.addEventListener(s,e),()=>window.removeEventListener(s,e)}},47847:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(80304).A)("calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]])},49610:(e,t,r)=>{r.r(t),r.d(t,{clearCurrentUser:()=>v,getCurrentUser:()=>g,refreshCurrentUser:()=>b,setCurrentUser:()=>y,useCurrentUser:()=>x});var n=r(14685),s=r(52453);let l="auth-cache",i="auth-state",a=s.env.NEXT_PUBLIC_API_BASE||"",o=null,d=null,c=new Set;function u(e){o=e;try{e?window.localStorage.setItem(l,JSON.stringify(e)):window.localStorage.removeItem(l)}catch{}e&&function(e){if("u"<typeof document)return;let t=function(){let e=window.location.hostname;if("localhost"===e||/^\d+\.\d+\.\d+\.\d+$/.test(e))return null;let t=e.split(".");return t.length<2?null:t.slice(-2).join(".")}(),r=[`${i}=${e}`,"Path=/","Max-Age=31536000","SameSite=Lax"];t&&r.push(`Domain=${t}`),"https:"===window.location.protocol&&r.push("Secure"),document.cookie=r.join("; ")}
1(e.state),c.forEach(e=>e())}async function h(){return d||(d=(async()=>{try{let e=await fetch(`${a}/v1/auth/me`,{credentials:"include"});if(401===e.status)return u({state:"anon"}),null;if(!e.ok)return o?.state==="user"?o.user:null;let t=await e.json();if(t?.id)return u({state:"user",user:t}),t;return u({state:"anon"}),null}finally{d=null}})())}function m(){if(null!==o)return o;let e=function(){try{let e=window.localStorage.getItem(l);if(!e)return null;let t=JSON.parse(e);if(t?.state==="anon")return{state:"anon"};if(t?.state==="user"&&t.user?.id)return{state:"user",user:t.user};return null}catch{return null}}();return e?o=e:"anon"===function(e){if("u"<typeof document)return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null}(i)?o={state:"anon"}:null}function p(){return null}function f(e){return c.add(e),()=>{c.delete(e)}}function x(){let e=(0,n.useSyncExternalStore)(f,m,p);return(0,n.useEffect)(()=>{null!==e||d||h()},[e]),{user:e?.state==="user"?e.user:null,loading:null===e}}async function g(){let e=m();return e?"user"===e.state?e.user:null:h()}function y(e){u({state:"user",user:e})}function v(){u({state:"anon"})}async function b(){return d=null,h()}},58524:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(80304).A)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},65809:(e,t,r)=>{r.d(t,{CH:()=>i,TE:()=>l,hv:()=>s});let n="chosen-region";function s(){let e=window.location.hostname;if("localhost"===e||/^\d+\.\d+\.\d+\.\d+$/.test(e))return null;let t=e.split(".");return t.length<2?null:t.slice(-2).join(".")}function l(e){if("u"<typeof document)return;let t=s(),r=[`${n}=${e}`,"Path=/","Max-Age=31536000","SameSite=Lax"];t&&r.push(`Domain=${t}`),"https:"===window.location.protocol&&r.push("Secure"),document.cookie=r.join("; ")}function i(){if("u"<typeof document)return;let e=s(),t=[`${n}=`,"Path=/","Max-Age=0","SameSite=Lax"];e&&t.push(`Domain=${e}`),document.cookie=t.join("; ")}},78678:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(80304).A)("dumbbell",[["path",{d:"M17.596 12.768a2 2 0 1 0 2.829-2.829l-1.768-1.767a2 2 0 0 0 2.828-2.829l-2.828-2.828a2 2 0 0 0-2.829 2.828l-1.767-1.768a2 2 0 1 0-2.829 2.829z",key:"9m4mmf"}],["path",{d:"m2.5 21.5 1.4-1.4",key:"17g3f0"}],["path",{d:"m20.1 3.9 1.4-1.4",key:"1qn309"}],["path",{d:"M5.343 21.485a2 2 0 1 0 2.829-2.828l1.767 1.768a2 2 0 1 0 2.829-2.829l-6.364-6.364a2 2 0 1 0-2.829 2.829l1.768 1.767a2 2 0 0 0-2.828 2.829z",key:"1t2c92"}],["path",{d:"m9.6 14.4 4.8-4.8",key:"6umqxw"}]])},81820:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(80304).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},90605:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(80304).A)("arrow-left-right",[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]])},95686:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(80304).A)("tent",[["path",{d:"M3.5 21 14 3",key:"1szst5"}],["path",{d:"M20.5 21 10 3",key:"1310c3"}],["path",{d:"M15.5 21 12 15l-3.5 6",key:"1ddtfw"}],["path",{d:"M2 21h20",key:"1nyx9w"}]])}}]);
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.