1import{r as a,j as e}from"./vendor-radix-tooltip-DtHt63o5.js";import{S as f}from"./SubpageLayout-DtRA2maI.js";import{S as j}from"./SubpageVideoHero-DZFYQBSQ.js";import{R as l,f as h,C as _,U as N}from"./index-gtC5koA-.js";import{r as x}from"./DualDiplomaDetail-DUFG4o7-.js";import"./Footer-CwuUvUMh.js";import"./vendor-react-CNhiGvcp.js";import"./vendor-query-BRviA5gZ.js";import"./vendor-i18n-CRx7hjqq.js";import"./HeroBreadcrumbs-cGljvZem.js";import"./SkipToContent-dC7mxZP-.js";import"./hero-campus-new-DBRdyO33.js";import"./vendor-radix-accordion-DuojDPud.js";import"./vendor-utils-D19diF5V.js";import"./vendor-radix-dialog-CS4kY7mA.js";import"./vendor-forms-mKLG5iAD.js";import"./zap-757HbKq9.js";import"./users-C6DQmJN6.js";import"./trophy-B4SqYhVP.js";import"./target-CWj2x21P.js";import"./star-BA8adi8l.js";import"./heart-BUylHoQ2.js";import"./globe-CXDR6obG.js";import"./building-2-BcevqR7P.js";import"./award-4-5wZrVK.js";const o=s=>!N(s),n=s=>!!(s&&s.trim()),J=({data:s})=>{const[d,u]=a.useState(0),[c,p]=a.useState(null),m=s.programs??[],r=m[d],g=t=>p(c===t?null:t),b=r?[{key:"info",title:r.info_section_title||"ÐбÑÐ°Ñ Ð¸Ð½ÑоÑмаÑиÑ",visible:o(r.info_html)},{key:"requirements",title:r.requirements_section_title||"ТÑебованиÑ",visible:o(r.requirements_narxoz_html)||o(r.requirements_partner_html)},{key:"cost",title:r.cost_section_title||"СÑоимоÑÑÑ",visible:n(r.cost_tuition)||n(r.cost_housing)||o(r.self_cover_html)},{key:"curriculum",title:r.curriculum_section_title||"ÐÑогÑамма обÑÑениÑ",visible:o(r.curriculum_html)}].filter(t=>t.visible):[];return e.jsxs(f,{breadcrumbTitle:s.hero.title,breadcrumbParentUrl:s.parent_url,children:[e.jsx(j,{title:s.hero.title,subtitle:s.hero.subtitle,backgroundImage:s.hero.background_image}),s.intro_html&&e.jsx("section",{className:"py-12 md:py-16 container-page",children:e.jsx(l,{html:s.intro_html,className:"dd-intro"})}),(s.university.title||s.university.description)&&e.jsxs("section",{className:"py-12 md:py-16 container-page",children:[s.university.title&&e.jsx("h2",{className:"text-h2 font-heading font-bold text-foreground mb-6",children:s.university.title}),s.university.description&&e.jsx(l,{html:s.university.description,className:"dd-rich-text max-w-4xl",size:"lg"})]}),s.partner_intro_html&&e.jsx("section",{className:"py-12 md:py-16 container-page bg-muted/30",children:e.jsx(l,{html:s.partner_intro_html,className:"dd-rich-text"})}),s.campus_features.length>0&&e.jsx("section",{className:"py-12 md:py-16 container-page",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:s.campus_features.map(t=>e.jsxs("div",{className:"group rounded-2xl overflow-hidden bg-card border border-border hover:shadow-xl transition-all duration-300 hover:scale-[1.02]",children:[t.image_url&&e.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:e.jsx("img",{src:t.image_url,alt:t.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy"})}),e.jsxs("div",{className:"p-5",children:[e.jsx("h3",{className:"font-semibold text-foreground text-lg mb-2",children:t.title}),e.jsx(l,{html:t.description,className:"text-sm text-muted-foreground"})]})]},t.id))})}),s.student_life.length>0&&e.jsxs("section",{className:"py-12 md:py-16 container-page bg-brand text-white rounded-2xl",children:[s.student_life_intro_html&&e.jsx(l,{html:s.student_life_intro_html,tone:"light",className:"dd-rich-text dd-rich-text--invert mb-10"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:s.student_life.map(t=>{const i=x(t.icon_name);return e.jsxs("div",{className:"bg-white/10 backdrop-blur-sm rounded-2xl p-6 text-white/80",children:[e.jsx(i,{className:"w-8 h-8 text-white mb-4"}),e.jsx("h3",{className:"font-semibold text-white text-lg mb-2",children:t.title}),e.jsx(l,{html:t.description,tone:"light",size:"sm"})]},t.id)})})]}),r&&m.length>0&&e.jsxs("section",{className:"py-12 md:py-16 container-page",children:[e.jsx("h2",{className:"text-h2 font-heading font-bold text-foreground mb-8",children:s.programs_label||"ÐÑогÑаммÑ"}),e.jsx("div",{className:"flex flex-wrap gap-3 mb-8",children:m.map((t,i)=>e.jsx("button",{onClick:()=>u(i),className:h("px-5 py-2.5 rounded-full text-sm font-medium transition-all duration-200",d===i?"bg-brand text-white shadow-lg":"bg-muted text-foreground hover:bg-muted/80"),children:t.name},t.id))}),r.options.length>0&&e.jsx("div",{className:"mb-8 space-y-4",children:r.options.map((t,i)=>e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex-shrink-0 w-8 h-8 rounded-full bg-brand text-white flex items-center justify-center text-sm font-bold mt-0.5",children:i+1}),e.jsxs("div",{children:[e.jsx("p",{className:"text-foreground font-medium",children:t.label}),t.note&&e.jsx("p",{className:"text-sm text-muted-foreground mt-1 whitespace-pre-line",children:t.note})]})]},i))}),e.jsx("div",{className:"space-y-2",children:b.map(t=>{let i=null;return t.key==="info"?i=r.info_html:t.key==="curriculum"&&(i=r.curriculum_html),e.jsxs("div",{className:"border border-border rounded-2xl overflow-hidden",children:[e.jsxs("button",{onClick:()=>g(t.key),className:"flex items-center justify-between w-full px-6 py-4 text-left bg-card hover:bg-muted/50 transition-colors",children:[e.jsx("span",{className:"font-medium text-foreground",children:t.title}),e.jsx(_,{className:h("w-5 h-5 text-muted-foreground transition-transform duration-200",c===t.key&&"rotate-180")}
1)]}),c===t.key&&e.jsx("div",{className:"px-6 py-4 bg-card border-t border-border animate-fade-in",children:t.key==="requirements"?e.jsxs("div",{className:"space-y-4",children:[o(r.requirements_narxoz_html)&&e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-foreground mb-2",children:r.requirements_narxoz_subtitle||"ТÑÐµÐ±Ð¾Ð²Ð°Ð½Ð¸Ñ Ðº поÑÑÑпаÑÑим в УнивеÑÑиÑÐµÑ ÐаÑÑ
оз:"}),e.jsx(l,{html:r.requirements_narxoz_html,className:"dd-rich-text max-w-none"})]}),o(r.requirements_partner_html)&&e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-foreground mb-2",children:r.requirements_partner_subtitle||"ТÑÐµÐ±Ð¾Ð²Ð°Ð½Ð¸Ñ Ð²Ñза-паÑÑнÑÑа:"}),e.jsx(l,{html:r.requirements_partner_html,className:"dd-rich-text max-w-none"})]})]}):t.key==="cost"?e.jsxs("div",{className:"space-y-4",children:[n(r.cost_tuition)&&e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-foreground mb-2",children:r.cost_tuition_subtitle||"СÑоимоÑÑÑ Ð¾Ð±ÑÑениÑ:"}),e.jsx("ul",{className:"list-disc pl-5 space-y-1",children:e.jsx("li",{className:"text-muted-foreground",children:r.cost_tuition})})]}),n(r.cost_housing)&&e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-foreground mb-2",children:r.cost_housing_subtitle||"СÑоимоÑÑÑ Ð¿ÑоживаниÑ:"}),e.jsx("ul",{className:"list-disc pl-5 space-y-1",children:e.jsx("li",{className:"text-muted-foreground",children:r.cost_housing})})]}),o(r.self_cover_html)&&e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold text-foreground mb-2",children:r.self_cover_subtitle||"ЧÑо Ñакже необÑ
одимо покÑÑÑÑ ÑÑÑденÑÑ ÑамоÑÑоÑÑелÑно:"}),e.jsx(l,{html:r.self_cover_html,className:"dd-rich-text max-w-none"})]})]}):o(i)&&e.jsx(l,{html:i,className:"dd-rich-text max-w-none"})})]},t.key)})})]}),s.advantages.length>0&&e.jsxs("section",{className:"py-12 md:py-16 container-page bg-muted/30",children:[e.jsx("h2",{className:"text-h2 font-heading font-bold text-foreground mb-8",children:s.advantages_title||"ÐÑеимÑÑеÑÑва полÑÑÐµÐ½Ð¸Ñ Ð´Ð²Ð¾Ð¹Ð½Ð¾Ð³Ð¾ диплома"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:s.advantages.map(t=>{const i=x(t.icon_name);return e.jsxs("div",{className:"bg-card rounded-2xl p-6 border border-border hover:shadow-lg transition-all duration-300",children:[e.jsx(i,{className:"w-10 h-10 text-brand mb-4"}),e.jsx("h3",{className:"font-semibold text-foreground text-lg mb-2",children:t.title}),e.jsx(l,{html:t.description,className:"text-muted-foreground text-sm"})]},t.id)})})]}),s.videos.length>0&&e.jsxs("section",{className:"py-12 md:py-16 container-page",children:[(s.videos_title||s.hero.title)&&e.jsx("h2",{className:"text-h2 font-heading font-bold text-foreground mb-8",children:s.videos_title||`ÐÑо обÑÑение в ${s.hero.title}`}),e.jsx("div",{className:"grid grid-cols-1 gap-6",children:s.videos.map(t=>e.jsx("div",{className:"rounded-2xl overflow-hidden aspect-video max-w-2xl",children:e.jsx("iframe",{src:`https://www.youtube.com/embed/${t.youtube_id}`,title:t.title,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full",loading:"lazy"})},t.id))})]})]})};export{J 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.