import{M as b}from"./MainNavbar-Ox7xJRDB.js";import{i as k,Z as M,r as x,c as o,a as p,w as m,b as t,g as h,t as a,h as g,F as i,d as c,o as r,f as n}from"./app-lWrE2aWG.js";import{F as C}from"./v3-CDJmn87G.js";import{C as j}from"./ClientScrollTimeline-9x6SH9Qu.js";import{C as z}from"./SearchModal-CGHtjMJb.js";import{a as B,C as L}from"./ClientPostSearch-DByct-eL.js";import{C as S}from"./ClientPost-HujX0ISt.js";import{A}from"./AdminIndexHeader-BLYLBYAX.js";import{L as F,C as H}from"./ClientProgramFilter-C-_lryip.js";import{M as N}from"./MainPageNavbar-BsdceJwT.js";import{_ as V}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */import"./SortingByFilter-DAe1p4QU.js";const P={name:"Show",components:{MainPageNavBar:N,LevelEduFilter:F,ClientProgramFilter:H,ClientPostSearch:B,AdminIndexHeader:A,ClientPost:S,ClientPostFilter:L,ClientFooterDown:z,ClientScrollTimeline:j,Link:k,MainNavbar:b,FsLightbox:C,Head:M},data(){return{blocks:this.blocksWithSlideNumber,userData:this.$page.props.auth.user,toggler:!1,togglerGallery:!1,editorImages:[],galleryImages:[],slide:1,gallerySlide:1}},props:{program:{type:Array},formsEdu:{type:Array}},methods:{getFormOfStudy(u){return Array.from(new Set(u.map(d=>d.form_edu)))},getYearOfStudy(u){return Array.from(new Set(u.map(d=>d.period_data)))}}},T={class:"flex flex-col h-screen"},D={class:"flex-grow"},E={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},O={class:"pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},I={class:"space-y-5 md:space-y-4"},Y={class:"space-y-5 md:space-y-4"},Z={class:"container mx-auto xl:px-5 max-w-screen-lg py-5 lg:py-8"},G={class:"space-y-3 flex flex-col items-center justify-center"},W={class:"inline-flex mx-auto items-center gap-x-1.5 py-1.5 px-3 rounded-md text-xs font-medium border border-gray-200 bg-white text-gray-800 shadow-sm dark:bg-slate-900 dark:border-gray-700 dark:text-white"},q={class:"text-2xl text-center font-bold md:text-4xl"},J={class:"max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8 lg:py-14 mx-auto"},K={class:"grid sm:grid-cols-2 lg:grid-cols-3 items-start gap-12"},Q={class:"text-center"},R={class:"mt-3"},U={class:"mt-1 text-gray-600"},X={class:"text-center"},$={class:"mt-3"},tt={class:"mt-1 text-gray-600"},et={class:"text-gray-400 text-[12px]"},st={class:"text-center"},ot={class:"mt-3"},rt={class:"border rounded my-2 py-1"},at={class:"text-gray-500 text-[14px]"},it={class:"mt-1 text-gray-600"},nt={class:"text-gray-400 text-[12px]"},dt={class:"hs-accordion-group"},lt={class:"hs-accordion bg-white border -mt-px first:rounded-t-lg last:rounded-b-lg",id:"hs-bordered-heading-one"},ct={id:"hs-basic-bordered-collapse-two",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300","aria-labelledby":"hs-bordered-heading-two"},ht={class:"pb-4 px-5"},ut={class:"list-decimal list-inside"},pt={class:"text-gray-400 text-[14px]"},gt={class:"hs-accordion bg-white border -mt-px first:rounded-t-lg last:rounded-b-lg",id:"hs-bordered-heading-two"},xt={id:"hs-basic-bordered-collapse-two",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300","aria-labelledby":"hs-bordered-heading-two"},mt={class:"pb-4 px-5"},ft={key:0},_t={class:"font-bold text-xl"},vt={key:1},wt=["src"],yt=["innerHTML"],bt={key:3},kt={class:"flex border rounded-lg px-4 py-2 items-center justify-between"},Mt={class:"flex items-center"},Ct=["href"],jt={key:4},zt={key:0,class:"w-full mx-auto"},Bt=["href"],Lt={class:"absolute top-0 inset-x-0 z-10"},St={class:"p-4 flex flex-col h-full sm:p-6"},At={class:"flex items-center"},Ft={class:"ms-2.5 sm:ms-4"},Ht={class:"font-semibold text-white"},Nt={class:"text-xs text-white/[.8]"},Vt={class:"absolute bottom-0 inset-x-0 z-10"},Pt={class:"flex flex-col h-full p-4 sm:p-6"},Tt={class:"text-lg sm:text-3xl font-semibold text-white group-hover:text-white/[.8]"},Dt={class:"mt-2 text-white/[.8]"},Et={key:1,class:"flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},Ot={class:"flex items-center gap-x-4"},It=["src"],Yt={class:"grow"},Zt={class:"text-xs text-gray-500 mt-2"},Gt={class:"text-xs text-gray-500 mt-2"},Wt=["href"],qt={class:"hs-accordion bg-white border -mt-px first:rounded-t-lg last:rounded-b-lg",id:"hs-bordered-heading-three"},Jt={id:"hs-basic-bordered-collapse-three",class:"hs-accordion-content hidden w-full overflow-hidden transition-[height] duration-300","aria-labelledby":"hs-bordered-heading-three"},Kt={class:"pb-4 px-5"},Qt={key:0},Rt={class:"font-bold text-xl"},Ut={key:1},Xt=["src"],$t=["innerHTML"],te={key:3},ee={class:"flex border rounded-lg px-4 py-2 items-center justify-between"},se={class:"flex items-center"},oe=["href"],re={key:4},ae={key:0,class:"w-full mx-auto"},ie=["href"],ne={class:"absolute top-0 inset-x-0 z-10"},de={class:"p-4 flex flex-col h-full sm:p-6"},le={class:"flex items-center"},ce={class:"ms-2.5 sm:ms-4"},he={class:"font-semibold text-white"},ue={class:"text-xs text-white/[.8]"},pe={class:"absolute bottom-0 inset-x-0 z-10"},ge={class:"flex flex-col h-full p-4 sm:p-6"},xe={class:"text-lg sm:text-3xl font-semibold text-white group-hover:text-white/[.8]"},me={class:"mt-2 text-white/[.8]"},fe={key:1,class:"flex flex-col rounded-xl p-4 md:p-6 bg-white border border-gray-200 dark:bg-slate-900 dark:border-gray-700"},_e={class:"flex items-center gap-x-4"},ve=["src"],we={class:"grow"},ye={class:"text-xs text-gray-500 mt-2"},be={class:"text-xs text-gray-500 mt-2"},ke=["href"];function Me(u,s,d,Ce,je,ze){const v=x("Head"),w=x("MainPageNavBar"),f=x("Link"),y=x("ClientFooterDown");return r(),o(i,null,[p(v,null,{default:m(()=>s[0]||(s[0]=[t("title",null,"Образовательная программа",-1),t("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),p(w,{class:"border-b",sections:u.$page.props.navigation},null,8,["sections"]),t("div",T,[t("main",D,[t("div",E,[t("div",O,[t("div",null,[t("div",I,[t("div",Y,[t("div",null,[t("div",Z,[s[16]||(s[16]=t("a",{onclick:"history.back()",class:"inline-flex items-center gap-x-1.5 text-sm text-gray-600 decoration-2 hover:underline dark:text-blue-500",href:"#"},[t("svg",{class:"flex-shrink-0 size-4",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[t("path",{d:"m15 18-6-6 6-6"})]),h(" Назад ")],-1)),t("div",G,[t("div",W,a(d.program.data.lvl_edu),1),t("h1",q,a(d.program.data.name),1)]),t("div",J,[t("div",K,[t("div",Q,[s[2]||(s[2]=g('
',1)),t("div",R,[s[1]||(s[1]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Направление подготовки",-1)),t("p",U,a(d.program.data.directionStudy.name)+" "+a(d.program.data.directionStudy.code),1)])]),t("div",X,[s[4]||(s[4]=g('
',1)),t("div",$,[s[3]||(s[3]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Срок обучения",-1)),(r(!0),o(i,null,c(d.program.data.learning_forms,e=>(r(),o("p",tt,[h(a(e.period_data)+" ",1),t("span",et,"("+a(e.form_edu)+")",1)]))),256))])]),t("div",st,[s[6]||(s[6]=t("div",{class:"flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"},[t("svg",{class:"flex-shrink-0 size-5 text-gray-600",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[t("path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v5Z"}),t("path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1"})])],-1)),t("div",ot,[s[5]||(s[5]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Количество мест на прием",-1)),(r(!0),o(i,null,c(d.program.data.admissionPlans,e=>(r(),o(i,null,[(r(!0),o(i,null,c(e.contests,l=>(r(),o("div",rt,[t("span",at,a(l.form_education==="1"?"Очная форма обучения":"Заочная форма обучения"),1),(r(!0),o(i,null,c(l.places,_=>(r(),o("p",it,[h(a(_.count)+" мест ",1),t("span",nt,a(this.formsEdu[_.form_budget]),1)]))),256))]))),256))],64))),256))])])])]),s[17]||(s[17]=t("div",null,null,-1)),t("div",null,[t("div",dt,[t("div",lt,[s[7]||(s[7]=g('',1)),t("div",ct,[t("div",ht,[t("ol",ut,[(r(!0),o(i,null,c(d.program.data.admissionPlans,e=>(r(),o(i,null,[(r(!0),o(i,null,c(e.exams,l=>(r(),o("li",null,[h(a(l.title)+" ",1),t("span",pt,"("+a(l.type_exam==="ege"?"ЕГЭ":"ВИ")+", минимальный балл: "+a(l.min_score)+")",1)]))),256))],64))),256))])])])]),t("div",gt,[s[11]||(s[11]=g('',1)),t("div",xt,[t("div",mt,[(r(!0),o(i,null,c(this.program.data.about_program,e=>(r(),o(i,{key:e.id},[e.type==="heading"?(r(),o("div",ft,[t("h2",_t,a(e.data.content),1)])):n("",!0),e.type==="image"?(r(),o("div",vt,[(r(!0),o(i,null,c(e.data.url,l=>(r(),o("img",{loading:"lazy",class:"mx-auto object-cover rounded-sm hover:opacity-95 hover:duration-200 transition",src:"/storage/"+l,alt:""},null,8,wt))),256))])):n("",!0),e.type==="paragraph"?(r(),o("div",{key:2,class:"paragraph-container",innerHTML:e.data.content},null,8,yt)):n("",!0),e.type==="attaches"?(r(),o("div",bt,[t("div",kt,[t("div",Mt,[s[8]||(s[8]=t("div",{class:"w-[35px] h-[35px] bg-black flex justify-center items-center rounded-xl mr-2"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13",stroke:"white"})])],-1)),t("div",null,a(e.data.title),1)]),t("a",{href:e.data.file.url,download:"",type:"button",class:"w-[35px] h-[35px] flex bg-gray-100 rounded-lg justify-center items-center hover:bg-gray-200 duration-200"},s[9]||(s[9]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"})],-1)]),8,Ct)])])):n("",!0),e.type==="linkTool"?(r(),o("div",jt,[e.data.meta.type==="post"?(r(),o("div",zt,[t("a",{class:"group relative block rounded-xl dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600",href:e.data.link},[s[10]||(s[10]=t("div",{class:"flex-shrink-0 relative w-full rounded-xl overflow-hidden w-full h-[350px] before:absolute before:inset-x-0 before:w-full before:h-full before:bg-gradient-to-t before:from-gray-900/[.7] before:z-[1]"},null,-1)),t("div",Lt,[t("div",St,[t("div",At,[t("div",Ft,[t("h4",Ht,a(e.data.meta.data.authors[0].name),1),t("p",Nt,a(e.data.meta.data.created_post),1)])])])]),t("div",Vt,[t("div",Pt,[t("h3",Tt,a(e.data.meta.data.title),1),t("p",Dt,a(u.textLimit(e.data.meta.description,200)),1)])])],8,Bt)])):n("",!0),e.data.meta.type==="student"?(r(),o("div",Et,[t("div",Ot,[t("img",{loading:"lazy",class:"rounded-xl w-[150px]",src:e.data.meta.data.photo,alt:"Image Description"},null,8,It),t("div",Yt,[p(f,{href:e.data.link,class:"font-medium text-gray-800 hover:text-gray-500 underline"},{default:m(()=>[h(a(e.data.meta.title),1)]),_:2},1032,["href"]),t("p",Zt,a(e.data.meta.data.position),1),t("p",Gt,[h(a(e.data.meta.data.contactEmail)+" / ",1),t("a",{href:e.data.meta.data.vk_link},"Вконтакте",8,Wt)])])])])):n("",!0)])):n("",!0)],64))),128))])])]),t("div",qt,[s[15]||(s[15]=g('',1)),t("div",Jt,[t("div",Kt,[(r(!0),o(i,null,c(this.program.data.program_features,e=>(r(),o(i,{key:e.id},[e.type==="heading"?(r(),o("div",Qt,[t("h2",Rt,a(e.data.content),1)])):n("",!0),e.type==="image"?(r(),o("div",Ut,[(r(!0),o(i,null,c(e.data.url,l=>(r(),o("img",{loading:"lazy",class:"mx-auto object-cover rounded-sm hover:opacity-95 hover:duration-200 transition",src:"/storage/"+l,alt:""},null,8,Xt))),256))])):n("",!0),e.type==="paragraph"?(r(),o("div",{key:2,class:"paragraph-container",innerHTML:e.data.content},null,8,$t)):n("",!0),e.type==="attaches"?(r(),o("div",te,[t("div",ee,[t("div",se,[s[12]||(s[12]=t("div",{class:"w-[35px] h-[35px] bg-black flex justify-center items-center rounded-xl mr-2"},[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13",stroke:"white"})])],-1)),t("div",null,a(e.data.title),1)]),t("a",{href:e.data.file.url,download:"",type:"button",class:"w-[35px] h-[35px] flex bg-gray-100 rounded-lg justify-center items-center hover:bg-gray-200 duration-200"},s[13]||(s[13]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"})],-1)]),8,oe)])])):n("",!0),e.type==="linkTool"?(r(),o("div",re,[e.data.meta.type==="post"?(r(),o("div",ae,[t("a",{class:"group relative block rounded-xl dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600",href:e.data.link},[s[14]||(s[14]=t("div",{class:"flex-shrink-0 relative w-full rounded-xl overflow-hidden w-full h-[350px] before:absolute before:inset-x-0 before:w-full before:h-full before:bg-gradient-to-t before:from-gray-900/[.7] before:z-[1]"},null,-1)),t("div",ne,[t("div",de,[t("div",le,[t("div",ce,[t("h4",he,a(e.data.meta.data.authors[0].name),1),t("p",ue,a(e.data.meta.data.created_post),1)])])])]),t("div",pe,[t("div",ge,[t("h3",xe,a(e.data.meta.data.title),1),t("p",me,a(u.textLimit(e.data.meta.description,200)),1)])])],8,ie)])):n("",!0),e.data.meta.type==="student"?(r(),o("div",fe,[t("div",_e,[t("img",{loading:"lazy",class:"rounded-xl w-[150px]",src:e.data.meta.data.photo,alt:"Image Description"},null,8,ve),t("div",we,[p(f,{href:e.data.link,class:"font-medium text-gray-800 hover:text-gray-500 underline"},{default:m(()=>[h(a(e.data.meta.title),1)]),_:2},1032,["href"]),t("p",ye,a(e.data.meta.data.position),1),t("p",be,[h(a(e.data.meta.data.contactEmail)+" / ",1),t("a",{href:e.data.meta.data.vk_link},"Вконтакте",8,ke)])])])])):n("",!0)])):n("",!0)],64))),128))])])])])])])])])])])])])]),p(y)])],64)}const Ie=V(P,[["render",Me]]);export{Ie as default};