2 lines
18 KiB
JavaScript
2 lines
18 KiB
JavaScript
import{M as b}from"./MainNavbar-CBx37KIe.js";import{i as k,Z as M,r as p,o as s,c as o,a as u,w as g,b as t,t as r,F as a,d as l,g as c,h as _,f as i}from"./app-DmJ8GS-7.js";import{F as C}from"./v3-rkPj73qv.js";import{C as j}from"./ClientScrollTimeline-zadrTdrA.js";import{C as z}from"./ClientFooterDown-D8UuGhzW.js";import{a as S,C as B}from"./ClientPostSearch-D0YX2x3W.js";import{C as L}from"./ClientPost-BP_ZUrbH.js";import{A}from"./AdminIndexHeader-CAfP1jQ8.js";import{_ as H}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./SearchModal.vue_vue_type_style_index_0_scoped_a4fc4416_lang-CbsljUTZ.js";/* empty css */const V={name:"Show",components:{ClientPostSearch:S,AdminIndexHeader:A,ClientPost:L,ClientPostFilter:B,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(h){return Array.from(new Set(h.map(n=>n.form_edu)))},getYearOfStudy(h){return Array.from(new Set(h.map(n=>n.period_data)))}}},F=t("title",null,"Образовательная программа",-1),N=t("meta",{name:"description",content:"Your page description"},null,-1),T={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},D={class:"pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},O={class:"space-y-5 md:space-y-4"},E={class:"space-y-5 md:space-y-4"},I={class:"container mx-auto xl:px-5 max-w-screen-lg py-5 lg:py-8"},P=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"})]),c(" Назад ")],-1),Y={class:"space-y-3 flex flex-col items-center justify-center"},Z={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"},G={class:"text-2xl text-center font-bold md:text-4xl"},W={class:"max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8 lg:py-14 mx-auto"},q={class:"grid sm:grid-cols-2 lg:grid-cols-3 items-start gap-12"},J={class:"text-center"},K=_('<div class="flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"><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"><rect width="10" height="14" x="3" y="8" rx="2"></rect><path d="M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4"></path><path d="M8 18h.01"></path></svg></div>',1),Q={class:"mt-3"},R=t("h3",{class:"text-lg font-semibold text-gray-800"},"Направление подготовки",-1),U={class:"mt-1 text-gray-600"},X={class:"text-center"},$=_('<div class="flex justify-center items-center size-12 bg-gray-50 border border-gray-200 rounded-full mx-auto"><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"><path d="M20 7h-9"></path><path d="M14 17H5"></path><circle cx="17" cy="17" r="3"></circle><circle cx="7" cy="7" r="3"></circle></svg></div>',1),tt={class:"mt-3"},et=t("h3",{class:"text-lg font-semibold text-gray-800"},"Срок обучения",-1),st={class:"mt-1 text-gray-600"},ot={class:"text-gray-400 text-[12px]"},rt={class:"text-center"},at=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),it={class:"mt-3"},nt=t("h3",{class:"text-lg font-semibold text-gray-800"},"Количество мест на прием",-1),dt={class:"border rounded my-2 py-1"},lt={class:"text-gray-500 text-[14px]"},ct={class:"mt-1 text-gray-600"},ht={class:"text-gray-400 text-[12px]"},ut=t("div",null,null,-1),_t={class:"hs-accordion-group"},pt={class:"hs-accordion bg-white border -mt-px first:rounded-t-lg last:rounded-b-lg",id:"hs-bordered-heading-one"},gt=_('<button class="hs-accordion-toggle hs-accordion-active:text-blue-600 inline-flex items-center gap-x-3 w-full font-semibold text-start text-gray-800 py-4 px-5 hover:text-gray-500 disabled:opacity-50 disabled:pointer-events-none" aria-controls="hs-basic-bordered-collapse-two"><svg class="hs-accordion-active:hidden block size-3.5" 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"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><svg class="hs-accordion-active:block hidden size-3.5" 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"><path d="M5 12h14"></path></svg> Условия поступления </button>',1),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={class:"list-decimal list-inside"},vt={class:"text-gray-400 text-[14px]"},wt={class:"hs-accordion bg-white border -mt-px first:rounded-t-lg last:rounded-b-lg",id:"hs-bordered-heading-two"},yt=_('<button class="hs-accordion-toggle hs-accordion-active:text-blue-600 inline-flex items-center gap-x-3 w-full font-semibold text-start text-gray-800 py-4 px-5 hover:text-gray-500 disabled:opacity-50 disabled:pointer-events-none" aria-controls="hs-basic-bordered-collapse-two"><svg class="hs-accordion-active:hidden block size-3.5" 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"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><svg class="hs-accordion-active:block hidden size-3.5" 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"><path d="M5 12h14"></path></svg> О программе </button>',1),bt={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"},kt={class:"pb-4 px-5"},Mt={key:0},Ct={class:"font-bold text-xl"},jt={key:1},zt=["src"],St=["innerHTML"],Bt={key:3},Lt={class:"flex border rounded-lg px-4 py-2 items-center justify-between"},At={class:"flex items-center"},Ht=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),Vt=["href"],Ft=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),Nt=[Ft],Tt={key:4},Dt={key:0,class:"w-full mx-auto"},Ot=["href"],Et=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),It={class:"absolute top-0 inset-x-0 z-10"},Pt={class:"p-4 flex flex-col h-full sm:p-6"},Yt={class:"flex items-center"},Zt={class:"ms-2.5 sm:ms-4"},Gt={class:"font-semibold text-white"},Wt={class:"text-xs text-white/[.8]"},qt={class:"absolute bottom-0 inset-x-0 z-10"},Jt={class:"flex flex-col h-full p-4 sm:p-6"},Kt={class:"text-lg sm:text-3xl font-semibold text-white group-hover:text-white/[.8]"},Qt={class:"mt-2 text-white/[.8]"},Rt={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"},Ut={class:"flex items-center gap-x-4"},Xt=["src"],$t={class:"grow"},te={class:"text-xs text-gray-500 mt-2"},ee={class:"text-xs text-gray-500 mt-2"},se=["href"],oe={class:"hs-accordion bg-white border -mt-px first:rounded-t-lg last:rounded-b-lg",id:"hs-bordered-heading-three"},re=_('<button class="hs-accordion-toggle hs-accordion-active:text-blue-600 inline-flex items-center gap-x-3 w-full font-semibold text-start text-gray-800 py-4 px-5 hover:text-gray-500 disabled:opacity-50 disabled:pointer-events-none" aria-controls="hs-basic-bordered-collapse-three"><svg class="hs-accordion-active:hidden block size-3.5" 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"><path d="M5 12h14"></path><path d="M12 5v14"></path></svg><svg class="hs-accordion-active:block hidden size-3.5" 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"><path d="M5 12h14"></path></svg> Особенности программы </button>',1),ae={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"},ie={class:"pb-4 px-5"},ne={key:0},de={class:"font-bold text-xl"},le={key:1},ce=["src"],he=["innerHTML"],ue={key:3},_e={class:"flex border rounded-lg px-4 py-2 items-center justify-between"},pe={class:"flex items-center"},ge=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),xe=["href"],me=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),fe=[me],ve={key:4},we={key:0,class:"w-full mx-auto"},ye=["href"],be=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),ke={class:"absolute top-0 inset-x-0 z-10"},Me={class:"p-4 flex flex-col h-full sm:p-6"},Ce={class:"flex items-center"},je={class:"ms-2.5 sm:ms-4"},ze={class:"font-semibold text-white"},Se={class:"text-xs text-white/[.8]"},Be={class:"absolute bottom-0 inset-x-0 z-10"},Le={class:"flex flex-col h-full p-4 sm:p-6"},Ae={class:"text-lg sm:text-3xl font-semibold text-white group-hover:text-white/[.8]"},He={class:"mt-2 text-white/[.8]"},Ve={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"},Fe={class:"flex items-center gap-x-4"},Ne=["src"],Te={class:"grow"},De={class:"text-xs text-gray-500 mt-2"},Oe={class:"text-xs text-gray-500 mt-2"},Ee=["href"];function Ie(h,x,n,Pe,Ye,Ze){const v=p("Head"),w=p("MainNavbar"),m=p("Link"),y=p("ClientFooterDown");return s(),o(a,null,[u(v,null,{default:g(()=>[F,N]),_:1}),u(w,{class:"border-b",sections:h.$page.props.navigation},null,8,["sections"]),t("div",T,[t("div",D,[t("div",null,[t("div",O,[t("div",E,[t("div",null,[t("div",I,[P,t("div",Y,[t("div",Z,r(n.program.data.lvl_edu),1),t("h1",G,r(n.program.data.name),1)]),t("div",W,[t("div",q,[t("div",J,[K,t("div",Q,[R,t("p",U,r(n.program.data.directionStudy.name)+" "+r(n.program.data.directionStudy.code),1)])]),t("div",X,[$,t("div",tt,[et,(s(!0),o(a,null,l(n.program.data.learning_forms,e=>(s(),o("p",st,[c(r(e.period_data)+" ",1),t("span",ot,"("+r(e.form_edu)+")",1)]))),256))])]),t("div",rt,[at,t("div",it,[nt,(s(!0),o(a,null,l(n.program.data.admissionPlans,e=>(s(),o(a,null,[(s(!0),o(a,null,l(e.contests,d=>(s(),o("div",dt,[t("span",lt,r(d.form_education==="1"?"Очная форма обучения":"Заочная форма обучения"),1),(s(!0),o(a,null,l(d.places,f=>(s(),o("p",ct,[c(r(f.count)+" мест ",1),t("span",ht,r(this.formsEdu[f.form_budget]),1)]))),256))]))),256))],64))),256))])])])]),ut,t("div",null,[t("div",_t,[t("div",pt,[gt,t("div",xt,[t("div",mt,[t("ol",ft,[(s(!0),o(a,null,l(n.program.data.admissionPlans,e=>(s(),o(a,null,[(s(!0),o(a,null,l(e.exams,d=>(s(),o("li",null,[c(r(d.title)+" ",1),t("span",vt,"("+r(d.type_exam==="ege"?"ЕГЭ":"ВИ")+", минимальный балл: "+r(d.min_score)+")",1)]))),256))],64))),256))])])])]),t("div",wt,[yt,t("div",bt,[t("div",kt,[(s(!0),o(a,null,l(this.program.data.about_program,e=>(s(),o(a,{key:e.id},[e.type==="heading"?(s(),o("div",Mt,[t("h2",Ct,r(e.data.content),1)])):i("",!0),e.type==="image"?(s(),o("div",jt,[(s(!0),o(a,null,l(e.data.url,d=>(s(),o("img",{loading:"lazy",class:"mx-auto object-cover rounded-sm hover:opacity-95 hover:duration-200 transition",src:"/storage/"+d,alt:""},null,8,zt))),256))])):i("",!0),e.type==="paragraph"?(s(),o("div",{key:2,class:"paragraph-container",innerHTML:e.data.content},null,8,St)):i("",!0),e.type==="attaches"?(s(),o("div",Bt,[t("div",Lt,[t("div",At,[Ht,t("div",null,r(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"},Nt,8,Vt)])])):i("",!0),e.type==="linkTool"?(s(),o("div",Tt,[e.data.meta.type==="post"?(s(),o("div",Dt,[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},[Et,t("div",It,[t("div",Pt,[t("div",Yt,[t("div",Zt,[t("h4",Gt,r(e.data.meta.data.authors[0].name),1),t("p",Wt,r(e.data.meta.data.created_post),1)])])])]),t("div",qt,[t("div",Jt,[t("h3",Kt,r(e.data.meta.data.title),1),t("p",Qt,r(h.textLimit(e.data.meta.description,200)),1)])])],8,Ot)])):i("",!0),e.data.meta.type==="student"?(s(),o("div",Rt,[t("div",Ut,[t("img",{loading:"lazy",class:"rounded-xl w-[150px]",src:e.data.meta.data.photo,alt:"Image Description"},null,8,Xt),t("div",$t,[u(m,{href:e.data.link,class:"font-medium text-gray-800 hover:text-gray-500 underline"},{default:g(()=>[c(r(e.data.meta.title),1)]),_:2},1032,["href"]),t("p",te,r(e.data.meta.data.position),1),t("p",ee,[c(r(e.data.meta.data.contactEmail)+" / ",1),t("a",{href:e.data.meta.data.vk_link},"Вконтакте",8,se)])])])])):i("",!0)])):i("",!0)],64))),128))])])]),t("div",oe,[re,t("div",ae,[t("div",ie,[(s(!0),o(a,null,l(this.program.data.program_features,e=>(s(),o(a,{key:e.id},[e.type==="heading"?(s(),o("div",ne,[t("h2",de,r(e.data.content),1)])):i("",!0),e.type==="image"?(s(),o("div",le,[(s(!0),o(a,null,l(e.data.url,d=>(s(),o("img",{loading:"lazy",class:"mx-auto object-cover rounded-sm hover:opacity-95 hover:duration-200 transition",src:"/storage/"+d,alt:""},null,8,ce))),256))])):i("",!0),e.type==="paragraph"?(s(),o("div",{key:2,class:"paragraph-container",innerHTML:e.data.content},null,8,he)):i("",!0),e.type==="attaches"?(s(),o("div",ue,[t("div",_e,[t("div",pe,[ge,t("div",null,r(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"},fe,8,xe)])])):i("",!0),e.type==="linkTool"?(s(),o("div",ve,[e.data.meta.type==="post"?(s(),o("div",we,[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},[be,t("div",ke,[t("div",Me,[t("div",Ce,[t("div",je,[t("h4",ze,r(e.data.meta.data.authors[0].name),1),t("p",Se,r(e.data.meta.data.created_post),1)])])])]),t("div",Be,[t("div",Le,[t("h3",Ae,r(e.data.meta.data.title),1),t("p",He,r(h.textLimit(e.data.meta.description,200)),1)])])],8,ye)])):i("",!0),e.data.meta.type==="student"?(s(),o("div",Ve,[t("div",Fe,[t("img",{loading:"lazy",class:"rounded-xl w-[150px]",src:e.data.meta.data.photo,alt:"Image Description"},null,8,Ne),t("div",Te,[u(m,{href:e.data.link,class:"font-medium text-gray-800 hover:text-gray-500 underline"},{default:g(()=>[c(r(e.data.meta.title),1)]),_:2},1032,["href"]),t("p",De,r(e.data.meta.data.position),1),t("p",Oe,[c(r(e.data.meta.data.contactEmail)+" / ",1),t("a",{href:e.data.meta.data.vk_link},"Вконтакте",8,Ee)])])])])):i("",!0)])):i("",!0)],64))),128))])])])])])])])])])])])]),u(y)],64)}const es=H(V,[["render",Ie]]);export{es as default};
|