import{M as z}from"./MainNavbar-5-nqk6c_.js";import{i as M,r as p,o,c as r,b as t,a as d,w as x,p as S,j as h,t as a,l,Z as I,k as _,F as c,d as g}from"./app-lT3z3TR3.js";import{F as P}from"./v3-B5UP5GZw.js";import{C as A}from"./ClientScrollTimeline-BxA_EWwM.js";import{B as T,C as E}from"./SearchModal-YI3bdWA9.js";import{a as D,C as F}from"./ClientPostSearch-85XLLeIC.js";import{C as $}from"./ClientPost-KvELvIac.js";import{A as q}from"./AdminIndexHeader-Ci_3kRvq.js";import{L as H,C as V}from"./ClientProgramFilter-CuR9c_0y.js";import{M as O}from"./MainPageNavbar-BfM50q-7.js";import Y from"./FormBlock-C_74keKQ.js";import{_ as C}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{b as W,P as Z,a as G,A as J}from"./AdditionalEducationProgramItemBreadcrumbs-uUUJAWAE.js";/* empty css */import"./SortingByFilter-CjZ8gKSr.js";import"./DirectionFilter-D7FJ9CMu.js";import"./FormBuilder-C25m8kmA.js";const K={name:"ProgramItemBreadcrumbs",components:{BaseIcon:T,Link:M},data(){return{}},methods:{textLimit(i,e){if(i.length>e){let n;return n=i.substring(0,e),n+"..."}return i},isMobileDevice(){return window.innerWidth<1024},handleSectionClick(i){this.isMobileDevice()?this.toggleMobileNavSection(i):this.toggleDesktopNavSection(i)},handleSubSectionClick(i,e){this.isMobileDevice()?this.toggleMobileNavSubSection(i,e):this.toggleDesktopNavSubSection(i,e)},highlightNavItem(i){i.classList.add("animate-pulse"),setTimeout(()=>{i.classList.remove("animate-pulse")},4e3)},openMobileNavMenu(){document.getElementById("open-mobile-btn").click()},toggleMobileNavSubSection(i,e){this.openMobileNavMenu();const n=document.getElementById("open-mobile-nav"),f=n.querySelector("#nav-section-accordion-"+i.data.slug),y=n.querySelector("#nav-section-accordion-btn-"+i.data.slug);f.classList.contains("active")||y.click();const u=n.querySelector("#nav-sub-section-accordion-"+e.data.slug),w=n.querySelector("#nav-sub-section-accordion-btn-"+e.data.slug);u.classList.contains("active")&&w.click(),this.highlightNavItem(u)},toggleMobileNavSection(i){const e=document.getElementById("open-mobile-nav"),n=e.querySelector("#nav-section-accordion-"+i.data.slug),f=e.querySelector("#nav-section-accordion-btn-"+i.data.slug);n.classList.contains("active")&&f.click(),this.openMobileNavMenu(),this.highlightNavItem(n)},toggleDesktopNavSubSection(i,e){const n=document.getElementById("desktop-nav"),f=n.querySelector("#nav-sub-section-title-"+e.data.slug);n.querySelector("#nav-section-btn-"+i.data.slug).click(),this.highlightNavItem(f)},toggleDesktopNavSection(i){const e=document.getElementById("desktop-nav");e.querySelector("#nav-section-menu-"+i.data.slug),e.querySelector("#nav-section-btn-"+i.data.slug).click()}},props:{breadcrumbs:{type:Object},programTitle:{type:String}}},Q={class:"flex justify-between pb-4 items-center"},R={class:"flex w-full sm:items-center gap-x-5 sm:gap-x-3"},U={class:"grow"},X={class:"grid sm:flex sm:justify-between sm:items-center gap-2"},tt={key:0,class:"flex items-center whitespace-normal min-w-0 flex-wrap gap-y-2","aria-label":"Breadcrumb"},et={class:"text-sm"},st={key:0,class:"text-sm"},ot={key:1,class:"text-sm"},rt={class:"text-sm"},it={class:"text-sm"},at={key:1,class:"flex items-center text-ellipsis overflow-hidden whitespace-nowrap min-w-0 flex-wrap","aria-label":"Breadcrumb"},nt={class:"text-sm"},lt={class:"text-sm"},dt={class:"text-sm"};function ct(i,e,n,f,y,u){const w=p("BaseIcon"),v=p("Link");return o(),r("div",Q,[t("div",R,[t("div",U,[t("div",X,[n.breadcrumbs?(o(),r("ol",tt,[t("li",et,[d(v,{href:i.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:x(()=>[d(w,{class:"size-5",name:"home"})]),_:1},8,["href"])]),n.breadcrumbs.mainSection?(o(),r("li",st,[t("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:e[0]||(e[0]=S(b=>u.handleSectionClick(this.breadcrumbs.mainSection),["prevent"]))},[e[2]||(e[2]=t("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+a(u.textLimit(this.breadcrumbs.mainSection.data.title,25)),1)])])):l("",!0),n.breadcrumbs.subSection?(o(),r("li",ot,[t("span",{class:"flex items-center text-gray-500 hover:text-primaryBlue cursor-pointer",onClick:e[1]||(e[1]=S(b=>u.handleSubSectionClick(this.breadcrumbs.mainSection,this.breadcrumbs.subSection),["prevent"]))},[e[3]||(e[3]=t("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+a(u.textLimit(this.breadcrumbs.subSection.data.title,25)),1)])])):l("",!0),t("li",rt,[d(v,{href:i.route("client.program.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:x(()=>[e[4]||(e[4]=t("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+a(u.textLimit("Образовательные программы",30)),1)]),_:1},8,["href"])]),t("li",it,[d(v,{href:this.$inertia.page.props.ziggy.location,class:"flex items-center text-gray-500 hover:text-blue-600"},{default:x(()=>[e[5]||(e[5]=t("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+a(n.programTitle),1)]),_:1},8,["href"])])])):l("",!0),n.breadcrumbs?l("",!0):(o(),r("ol",at,[t("li",nt,[d(v,{href:i.route("index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:x(()=>[d(w,{class:"size-5",name:"home"})]),_:1},8,["href"])]),t("li",lt,[d(v,{href:i.route("client.program.index"),class:"flex items-center text-gray-500 hover:text-blue-600"},{default:x(()=>[e[6]||(e[6]=t("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+a(u.textLimit("Образовательные программы",30)),1)]),_:1},8,["href"])]),t("li",dt,[d(v,{href:this.$inertia.page.props.ziggy.location,class:"flex items-center text-gray-500 hover:text-blue-600"},{default:x(()=>[e[7]||(e[7]=t("svg",{class:"flex-shrink-0 mx-2 overflow-visible h-2.5 w-2.5 text-gray-400",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M5 1L10.6869 7.16086C10.8637 7.35239 10.8637 7.64761 10.6869 7.83914L5 14",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),h(" "+a(n.programTitle),1)]),_:1},8,["href"])])]))])])])])}const ht=C(K,[["render",ct]]),ut={name:"Show",components:{ProgramBackButton:W,ProgramBuilder:Z,ProgramTitle:G,AdditionalEducationProgramItemBreadcrumbs:J,ProgramItemBreadcrumbs:ht,FormBlock:Y,MainPageNavBar:O,LevelEduFilter:H,ClientProgramFilter:V,ClientPostSearch:D,AdminIndexHeader:q,ClientPost:$,ClientPostFilter:F,ClientFooterDown:E,ClientScrollTimeline:A,Link:M,MainNavbar:z,FsLightbox:P,Head:I},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(i){return Array.from(new Set(i.map(n=>n.form_edu)))},getYearOfStudy(i){return Array.from(new Set(i.map(n=>n.period_data)))}}},mt={class:"flex flex-col h-screen"},gt={class:"flex-grow"},pt={class:"relative mb-auto mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},xt={class:"px-0 pt-6 lg:pt-10 pb-12 sm:px-6 lg:px-8 mx-auto"},vt={class:"space-y-5 md:space-y-4"},ft={class:"space-y-5 md:space-y-4"},wt={class:"container mx-auto xl:px-5 max-w-screen-lg py-5 lg:py-8"},_t={class:"space-y-3"},yt={class:"max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8 lg:py-14 mx-auto"},bt={class:"grid sm:grid-cols-2 lg:grid-cols-3 items-start gap-12"},kt={class:"text-center"},Bt={class:"mt-3"},St={class:"mt-1 text-gray-600"},Mt={class:"text-center"},Ct={class:"mt-3"},Lt={class:"mt-1 text-gray-600"},Nt={class:"text-gray-400 text-[12px]"},jt={class:"text-center"},zt={class:"mt-3"},It={class:"border rounded my-2 py-1"},Pt={class:"text-gray-500 text-[14px]"},At={class:"mt-1 text-gray-600"},Tt={class:"text-gray-400 text-[12px]"},Et={class:"hs-accordion-group"},Dt={class:"hs-accordion bg-white border -mt-px first:rounded-t-lg last:rounded-b-lg",id:"hs-bordered-heading-one"},Ft={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"},$t={class:"pb-4 px-5"},qt={class:"list-decimal list-inside"},Ht={class:"text-gray-400 text-[14px]"},Vt={class:"hs-accordion bg-white border -mt-px first:rounded-t-lg last:rounded-b-lg",id:"hs-bordered-heading-two"},Ot={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"},Yt={class:"pb-4 px-5"},Wt={key:0},Zt={class:"font-bold text-xl"},Gt={key:1},Jt=["src"],Kt=["innerHTML"],Qt={key:3},Rt={class:"flex border rounded-lg px-4 py-2 items-center justify-between"},Ut={class:"flex items-center"},Xt=["href"],te={key:4},ee={key:0,class:"w-full mx-auto"},se=["href"],oe={class:"absolute top-0 inset-x-0 z-10"},re={class:"p-4 flex flex-col h-full sm:p-6"},ie={class:"flex items-center"},ae={class:"ms-2.5 sm:ms-4"},ne={class:"font-semibold text-white"},le={class:"text-xs text-white/[.8]"},de={class:"absolute bottom-0 inset-x-0 z-10"},ce={class:"flex flex-col h-full p-4 sm:p-6"},he={class:"text-lg sm:text-3xl font-semibold text-white group-hover:text-white/[.8]"},ue={class:"mt-2 text-white/[.8]"},me={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"},ge={class:"flex items-center gap-x-4"},pe=["src"],xe={class:"grow"},ve={class:"text-xs text-gray-500 mt-2"},fe={class:"text-xs text-gray-500 mt-2"},we=["href"],_e={class:"hs-accordion bg-white border -mt-px first:rounded-t-lg last:rounded-b-lg",id:"hs-bordered-heading-three"},ye={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"},be={class:"pb-4 px-5"},ke={key:0},Be={class:"font-bold text-xl"},Se={key:1},Me=["src"],Ce=["innerHTML"],Le={key:3},Ne={class:"flex border rounded-lg px-4 py-2 items-center justify-between"},je={class:"flex items-center"},ze=["href"],Ie={key:4},Pe={key:0,class:"w-full mx-auto"},Ae=["href"],Te={class:"absolute top-0 inset-x-0 z-10"},Ee={class:"p-4 flex flex-col h-full sm:p-6"},De={class:"flex items-center"},Fe={class:"ms-2.5 sm:ms-4"},$e={class:"font-semibold text-white"},qe={class:"text-xs text-white/[.8]"},He={class:"absolute bottom-0 inset-x-0 z-10"},Ve={class:"flex flex-col h-full p-4 sm:p-6"},Oe={class:"text-lg sm:text-3xl font-semibold text-white group-hover:text-white/[.8]"},Ye={class:"mt-2 text-white/[.8]"},We={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"},Ze={class:"flex items-center gap-x-4"},Ge=["src"],Je={class:"grow"},Ke={class:"text-xs text-gray-500 mt-2"},Qe={class:"text-xs text-gray-500 mt-2"},Re=["href"];function Ue(i,e,n,f,y,u){const w=p("Head"),v=p("MainPageNavBar"),b=p("ProgramBackButton"),L=p("ProgramItemBreadcrumbs"),N=p("ProgramTitle"),k=p("Link"),j=p("ClientFooterDown");return o(),r(c,null,[d(w,null,{default:x(()=>e[0]||(e[0]=[t("title",null,"Образовательная программа",-1),t("meta",{name:"description",content:"Your page description"},null,-1)])),_:1}),d(v,{class:"border-b",sections:i.$page.props.navigation},null,8,["sections"]),t("div",mt,[t("main",gt,[t("div",pt,[t("div",xt,[t("div",null,[t("div",vt,[t("div",ft,[t("div",null,[t("div",wt,[t("div",_t,[d(b,{link:"client.program.index",title:"Все программы"}),d(L,{"program-title":n.program.data.name},null,8,["program-title"]),d(N,{header:n.program.data.name},null,8,["header"])]),t("div",yt,[t("div",bt,[t("div",kt,[e[2]||(e[2]=_('
',1)),t("div",Bt,[e[1]||(e[1]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Направление подготовки",-1)),t("p",St,a(n.program.data.directionStudy.name)+" "+a(n.program.data.directionStudy.code),1)])]),t("div",Mt,[e[4]||(e[4]=_('
',1)),t("div",Ct,[e[3]||(e[3]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Срок обучения",-1)),(o(!0),r(c,null,g(n.program.data.learning_forms,s=>(o(),r("p",Lt,[h(a(s.period_data)+" ",1),t("span",Nt,"("+a(s.form_edu)+")",1)]))),256))])]),t("div",jt,[e[6]||(e[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",zt,[e[5]||(e[5]=t("h3",{class:"text-lg font-semibold text-gray-800"},"Количество мест на прием",-1)),(o(!0),r(c,null,g(n.program.data.admissionPlans,s=>(o(),r(c,null,[(o(!0),r(c,null,g(s.contests,m=>(o(),r("div",It,[t("span",Pt,a(m.form_education==="1"?"Очная форма обучения":"Заочная форма обучения"),1),(o(!0),r(c,null,g(m.places,B=>(o(),r("p",At,[h(a(B.count)+" мест ",1),t("span",Tt,a(this.formsEdu[B.form_budget]),1)]))),256))]))),256))],64))),256))])])])]),t("div",null,[t("div",Et,[t("div",Dt,[e[7]||(e[7]=_('',1)),t("div",Ft,[t("div",$t,[t("ol",qt,[(o(!0),r(c,null,g(n.program.data.admissionPlans,s=>(o(),r(c,null,[(o(!0),r(c,null,g(s.exams,m=>(o(),r("li",null,[h(a(m.title)+" ",1),t("span",Ht,"("+a(m.type_exam==="ege"?"ЕГЭ":"ВИ")+", минимальный балл: "+a(m.min_score)+")",1)]))),256))],64))),256))])])])]),t("div",Vt,[e[11]||(e[11]=_('',1)),t("div",Ot,[t("div",Yt,[(o(!0),r(c,null,g(this.program.data.about_program,s=>(o(),r(c,{key:s.id},[s.type==="heading"?(o(),r("div",Wt,[t("h2",Zt,a(s.data.content),1)])):l("",!0),s.type==="image"?(o(),r("div",Gt,[(o(!0),r(c,null,g(s.data.url,m=>(o(),r("img",{loading:"lazy",class:"mx-auto object-cover rounded-sm hover:opacity-95 hover:duration-200 transition",src:"/storage/"+m,alt:""},null,8,Jt))),256))])):l("",!0),s.type==="paragraph"?(o(),r("div",{key:2,class:"paragraph-container",innerHTML:s.data.content},null,8,Kt)):l("",!0),s.type==="attaches"?(o(),r("div",Qt,[t("div",Rt,[t("div",Ut,[e[8]||(e[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(s.data.title),1)]),t("a",{href:s.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"},e[9]||(e[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,Xt)])])):l("",!0),s.type==="linkTool"?(o(),r("div",te,[s.data.meta.type==="post"?(o(),r("div",ee,[t("a",{class:"group relative block rounded-xl dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600",href:s.data.link},[e[10]||(e[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",oe,[t("div",re,[t("div",ie,[t("div",ae,[t("h4",ne,a(s.data.meta.data.authors[0].name),1),t("p",le,a(s.data.meta.data.created_post),1)])])])]),t("div",de,[t("div",ce,[t("h3",he,a(s.data.meta.data.title),1),t("p",ue,a(i.textLimit(s.data.meta.description,200)),1)])])],8,se)])):l("",!0),s.data.meta.type==="student"?(o(),r("div",me,[t("div",ge,[t("img",{loading:"lazy",class:"rounded-xl w-[150px]",src:s.data.meta.data.photo,alt:"Image Description"},null,8,pe),t("div",xe,[d(k,{href:s.data.link,class:"font-medium text-gray-800 hover:text-gray-500 underline"},{default:x(()=>[h(a(s.data.meta.title),1)]),_:2},1032,["href"]),t("p",ve,a(s.data.meta.data.position),1),t("p",fe,[h(a(s.data.meta.data.contactEmail)+" / ",1),t("a",{href:s.data.meta.data.vk_link},"Вконтакте",8,we)])])])])):l("",!0)])):l("",!0)],64))),128))])])]),t("div",_e,[e[15]||(e[15]=_('',1)),t("div",ye,[t("div",be,[(o(!0),r(c,null,g(this.program.data.program_features,s=>(o(),r(c,{key:s.id},[s.type==="heading"?(o(),r("div",ke,[t("h2",Be,a(s.data.content),1)])):l("",!0),s.type==="image"?(o(),r("div",Se,[(o(!0),r(c,null,g(s.data.url,m=>(o(),r("img",{loading:"lazy",class:"mx-auto object-cover rounded-sm hover:opacity-95 hover:duration-200 transition",src:"/storage/"+m,alt:""},null,8,Me))),256))])):l("",!0),s.type==="paragraph"?(o(),r("div",{key:2,class:"paragraph-container",innerHTML:s.data.content},null,8,Ce)):l("",!0),s.type==="attaches"?(o(),r("div",Le,[t("div",Ne,[t("div",je,[e[12]||(e[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(s.data.title),1)]),t("a",{href:s.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"},e[13]||(e[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,ze)])])):l("",!0),s.type==="linkTool"?(o(),r("div",Ie,[s.data.meta.type==="post"?(o(),r("div",Pe,[t("a",{class:"group relative block rounded-xl dark:focus:outline-none dark:focus:ring-1 dark:focus:ring-gray-600",href:s.data.link},[e[14]||(e[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",Te,[t("div",Ee,[t("div",De,[t("div",Fe,[t("h4",$e,a(s.data.meta.data.authors[0].name),1),t("p",qe,a(s.data.meta.data.created_post),1)])])])]),t("div",He,[t("div",Ve,[t("h3",Oe,a(s.data.meta.data.title),1),t("p",Ye,a(i.textLimit(s.data.meta.description,200)),1)])])],8,Ae)])):l("",!0),s.data.meta.type==="student"?(o(),r("div",We,[t("div",Ze,[t("img",{loading:"lazy",class:"rounded-xl w-[150px]",src:s.data.meta.data.photo,alt:"Image Description"},null,8,Ge),t("div",Je,[d(k,{href:s.data.link,class:"font-medium text-gray-800 hover:text-gray-500 underline"},{default:x(()=>[h(a(s.data.meta.title),1)]),_:2},1032,["href"]),t("p",Ke,a(s.data.meta.data.position),1),t("p",Qe,[h(a(s.data.meta.data.contactEmail)+" / ",1),t("a",{href:s.data.meta.data.vk_link},"Вконтакте",8,Re)])])])])):l("",!0)])):l("",!0)],64))),128))])])])])])])])])])])])])]),d(j)])],64)}const xs=C(ut,[["render",Ue]]);export{xs as default};