Files
ntspi-app/public/build/assets/Show-CWHIoZM2.js
T
2024-09-19 16:06:49 +05:00

2 lines
14 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{i as S,Z as N,r as _,o,c as r,a as g,w as x,b as t,n as c,T as C,g as m,t as n,F as i,d as l,j as T,f as D,e as y}from"./app-DmJ8GS-7.js";import{F as L}from"./v3-rkPj73qv.js";import{M as E}from"./MainNavbar-CBx37KIe.js";import{C as j}from"./ClientFooterDown-D8UuGhzW.js";import{s as B}from"./SearchModal.vue_vue_type_style_index_0_scoped_a4fc4416_lang-CbsljUTZ.js";import{_ as F}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css */const M={name:"Show",data(){return{scrollTop:!1,currentNavSection:null}},props:{person:{type:Object}},components:{ClientFooterDown:j,MainNavbar:E,Link:S,FsLightbox:L,Head:N},methods:{textLimit(a,d){if(a.length>d){let s;return s=a.substring(0,d),s+"..."}return a},openEditorImagesOnSlide:function(a){this.slide=a,this.toggler=!this.toggler},isSameRoute(a){if(this.$page.props.ziggy.location===a)return!0},generateSlug:function(a){return B(a,{lower:!0,strict:!0,locale:"ru"})},onScroll(a){window.top.scrollY>100?this.scrollTop=!0:this.scrollTop=!1},scrollToTop(){window.scrollTo(0,0)}},mounted(){window.addEventListener("scroll",this.onScroll),window.addEventListener("scroll",()=>{const a=document.querySelectorAll("h2"),d=document.querySelector("#visor");let s=null;const f=d.getBoundingClientRect();if(f.top>window.scrollY){this.currentNavSection=null,s=null;return}for(let p=0;p<a.length;p++){const u=a[p],h=u.getBoundingClientRect();if(h.top>=0&&h.bottom<=window.innerHeight&&h.bottom>=f.top&&h.top<=f.bottom){u!==s&&(this.currentNavSection=u.id,s=u);break}}})},beforeDestroy(){window.removeEventListener("scroll",this.handleScroll),window.removeEventListener("scroll",this.onScroll)},computed:{}},R=t("meta",{name:"description",content:"Your page description"},null,-1),z=t("div",{class:"w-full h-[67px] fixed",id:"visor"},null,-1),H={class:"relative mx-auto mt-[67px] max-w-screen-xl px-4 py-10 md:flex md:flex-row md:py-10"},P={class:"order-last hidden w-56 shrink-0 lg:block"},V={class:"sticky top-[110px] h-[calc(100vh-110px)]"},A=t("div",{class:"text-gray-1000 mb-2 text-md font-medium"},"На этой странице",-1),Y={class:"styled-scrollbar max-h-[70vh] space-y-1.5 overflow-y-auto py-2 text-sm"},q={class:"anchor-li"},I={class:"anchor-li"},O={class:"anchor-li"},Z={class:"anchor-li"},U={class:"anchor-li"},G={class:"anchor-li"},J={class:"anchor-li"},K={class:"anchor-li"},Q={class:"anchor-li"},W={class:"anchor-li"},X=t("button",{class:"bg-transperant text-gray-600 cursor-pointer hover:text-gray-900 duration-300 block px-2 leading-[1.6] rounded-md"},"К началу",-1),$=t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-[17px] text-gray-600"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 11.25l-3-3m0 0l-3 3m3-3v7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),tt=[X,$],et={class:"w-full min-w-0 mt-1 max-w-6xl px-1 md:px-6",style:{}},st={class:"w-full mx-auto px-4 sm:px-6 lg:px-8"},ot={class:"flex items-center gap-x-10"},at={class:"shrink-0"},rt=["src"],nt={class:"grow"},it={class:"text-2xl font-medium text-gray-800 dark:text-neutral-200"},lt={class:""},ct={class:"mt-5 flex flex-col gap-y-3"},dt={class:"flex items-center gap-x-2.5"},ut=t("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"shrink-0 size-3.5"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"})],-1),ht={class:"text-[13px] text-gray-500 underline hover:text-gray-800 hover:decoration-2 focus:outline-none focus:decoration-2 dark:text-neutral-500 dark:hover:text-neutral-400",href:"#"},xt={class:"flex items-center gap-x-2.5"},mt=t("svg",{class:"shrink-0 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"},[t("rect",{width:"20",height:"16",x:"2",y:"4",rx:"2"}),t("path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"})],-1),pt={class:"text-[13px] text-gray-500 underline hover:text-gray-800 hover:decoration-2 focus:outline-none focus:decoration-2 dark:text-neutral-500 dark:hover:text-neutral-400",href:"#"},_t={class:"mt-10 sm:mt-14"},gt=t("h2",{id:"education",class:"mb-3 font-medium text-gray-800 dark:text-neutral-200"}," Направление подготовки ",-1),ft={class:"grid grid-cols-1 sm:grid-cols-1 gap-3"},vt={class:"p-4 border border-gray-200 rounded-lg dark:border-neutral-700"},yt=t("h3",{class:"mb-1 text-xs text-gray-600 dark:text-neutral-400"}," 2012 - 2013 ",-1),kt={class:"font-semibold text-sm text-gray-800 dark:text-neutral-200"},wt=t("p",{class:"mt-1 text-sm text-gray-600 dark:text-neutral-400"}," The University of Manchester ",-1),bt={class:"mt-8"},St=t("h2",{id:"awards",class:"mb-3 font-medium text-gray-800 dark:text-neutral-200"}," Награды ",-1),Nt={class:"list-disc ms-6 mt-3 space-y-1.5"},Ct={class:"ps-1 text-sm text-gray-600 dark:text-neutral-400"},Tt={class:"mt-8"},Dt=t("h2",{id:"professionalRetraining",class:"mb-3 font-medium text-gray-800 dark:text-neutral-200"}," Профессиональная переподготовка ",-1),Lt={class:"list-disc ms-6 mt-3 space-y-1.5"},Et={class:"ps-1 text-sm text-gray-600 dark:text-neutral-400"},jt={class:"mt-8"},Bt=t("h2",{id:"professionalDevelopment",class:"mb-3 font-medium text-gray-800 dark:text-neutral-200"}," Повышение квалификации ",-1),Ft={class:"list-disc ms-6 mt-3 space-y-1.5"},Mt={class:"ps-1 text-sm text-gray-600 dark:text-neutral-400"},Rt={class:"mt-8"},zt=t("h2",{id:"professDisciplines",class:"mb-3 font-medium text-gray-800 dark:text-neutral-200"}," Преподаваемые дисциплины ",-1),Ht={class:"list-disc ms-6 mt-3 space-y-1.5"},Pt={class:"ps-1 text-sm text-gray-600 dark:text-neutral-400"},Vt={class:"mt-8"},At=t("h2",{id:"workExperience",class:"mb-3 font-medium text-gray-800 dark:text-neutral-200"}," Стаж ",-1),Yt={class:"grid grid-cols-1 sm:grid-cols-1 gap-3"},qt={class:"mt-1 text-sm text-gray-600 dark:text-neutral-400"},It={class:"mt-1 text-sm text-gray-600 dark:text-neutral-400"},Ot={class:"mt-8"},Zt=t("h2",{id:"attendedConferences",class:"mb-3 font-medium text-gray-800 dark:text-neutral-200"}," Участие в конференциях ",-1),Ut={class:"list-disc ms-6 mt-3 space-y-1.5"},Gt={class:"ps-1 text-sm text-gray-600 dark:text-neutral-400"},Jt={class:"mt-8"},Kt=t("h2",{id:"participationScienceProjects",class:"mb-3 font-medium text-gray-800 dark:text-neutral-200"}," Участие в научных проектах ",-1),Qt={class:"list-disc ms-6 mt-3 space-y-1.5"},Wt={class:"ps-1 text-sm text-gray-600 dark:text-neutral-400"},Xt={class:"mt-8"},$t=t("h2",{id:"publications",class:"mb-3 font-medium text-gray-800 dark:text-neutral-200"}," Публикации ",-1),te={class:"list-disc ms-6 mt-3 space-y-1.5"},ee={class:"ps-1 text-sm text-gray-600 dark:text-neutral-400"};function se(a,d,s,f,p,u){const h=_("Head"),k=_("MainNavbar"),v=_("Link"),w=_("ClientFooterDown"),b=_("FsLightbox");return o(),r(i,null,[g(h,null,{default:x(()=>[t("title",null,n(s.person.data.name),1),R]),_:1}),g(k,{class:"border-b",sections:a.$page.props.navigation},null,8,["sections"]),z,t("div",H,[t("nav",P,[t("div",V,[A,t("ul",Y,[t("li",q,[t("a",{class:c([{"translate-x-2 text-[#135aae]":this.currentNavSection==="education","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="education"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#education"},"Образование ",2)]),t("li",I,[t("a",{class:c([{"translate-x-2 text-[#135aae]":this.currentNavSection==="awards","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="awards"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#awards"},"Награды",2)]),t("li",O,[t("a",{class:c([{"translate-x-2 text-[#135aae]":this.currentNavSection==="professionalRetraining","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="professionalRetraining"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#professionalRetraining"},"Профессиональная переподготовка ",2)]),t("li",Z,[t("a",{class:c([{"translate-x-2 text-[#135aae]":this.currentNavSection==="professionalDevelopment","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="professionalDevelopment"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#professionalDevelopment"},"Повышение квалификации ",2)]),t("li",U,[t("a",{class:c([{"translate-x-2 text-[#135aae]":this.currentNavSection==="professDisciplines","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="professDisciplines"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#professDisciplines"},"Преподаваемые дисциплины ",2)]),t("li",G,[t("a",{class:c([{"translate-x-2 text-[#135aae]":this.currentNavSection==="workExperience","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="workExperience"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#workExperience"},"Стаж работы ",2)]),t("li",J,[t("a",{class:c([{"translate-x-2 text-[#135aae]":this.currentNavSection==="attendedConferences","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="attendedConferences"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#attendedConferences"},"Участие в конференциях ",2)]),t("li",K,[t("a",{class:c([{"translate-x-2 text-[#135aae]":this.currentNavSection==="participationScienceProjects","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="participationScienceProjects"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#participationScienceProjects"},"Участие в научных проектах ",2)]),t("li",Q,[t("a",{class:c([{"translate-x-2 text-[#135aae]":this.currentNavSection==="publications","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="publications"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#publications"},"Публикации ",2)]),t("li",W,[t("a",{class:c([{"translate-x-2 text-[#135aae]":this.currentNavSection==="other","bg-transperant text-gray-600 hover:text-gray-900":this.currentNavSection!=="other"},"duration-150 block py-1 px-2 leading-[1.6] rounded-md"]),href:"#other"},"Другое ",2)]),g(C,{name:"fade"},{default:x(()=>[p.scrollTop?(o(),r("li",{key:0,class:"anchor-li flex items-center py-2 border-t",onClick:d[0]||(d[0]=T((...e)=>u.scrollToTop&&u.scrollToTop(...e),["prevent"]))},tt)):D("",!0)]),_:1})])])]),t("article",et,[t("div",st,[t("div",ot,[t("div",at,[t("img",{class:"shrink-0 w-[200px] h-[300px] rounded-xl object-cover",src:"/storage/"+s.person.data.details.photo,alt:"Avatar"},null,8,rt),m(" "+n(),1)]),t("div",nt,[t("h1",it,n(s.person.data.name),1),t("div",lt,[(o(!0),r(i,null,l(s.person.data.divisions_works,e=>(o(),y(v,{href:a.route("client.division.show",e.slug),class:"text-sm text-blue-500 dark:text-neutral-400 mr-2"},{default:x(()=>[m(n(e.position),1)]),_:2},1032,["href"]))),256)),(o(!0),r(i,null,l(s.person.data.faculties_works,e=>(o(),y(v,{href:a.route("client.faculty.show",e.slug),class:"text-sm text-blue-500 dark:text-neutral-400 mr-2"},{default:x(()=>[m(n(e.position),1)]),_:2},1032,["href"]))),256)),(o(!0),r(i,null,l(s.person.data.departments_work,e=>(o(),y(v,{href:a.route("client.department.show",{facultySlug:e.faculty_slug,departmentSlug:e.slug}),class:"text-sm text-blue-500 dark:text-neutral-400 mr-2"},{default:x(()=>[m(n(e.position),1)]),_:2},1032,["href"]))),256)),(o(!0),r(i,null,l(s.person.data.departments_teach,e=>(o(),y(v,{href:a.route("client.department.show",{facultySlug:e.faculty_slug,departmentSlug:e.slug}),class:"text-sm text-blue-500 dark:text-neutral-400 mr-2"},{default:x(()=>[m(n(e.position),1)]),_:2},1032,["href"]))),256))]),m(" "+n(console.log(s.person))+" ",1),t("ul",ct,[t("li",dt,[ut,t("a",ht,n(s.person.data.details.contactPhone),1)]),t("li",xt,[mt,t("a",pt,n(s.person.data.details.contactEmail),1)])])])]),t("div",_t,[gt,t("div",ft,[t("div",vt,[yt,t("p",kt,n(s.person.data.details.education),1),wt])])]),t("div",bt,[St,t("ul",Nt,[(o(!0),r(i,null,l(s.person.data.details.awards,e=>(o(),r("li",Ct,n(e.item),1))),256))])]),t("div",Tt,[Dt,t("ul",Lt,[(o(!0),r(i,null,l(s.person.data.details.professionalRetraining,e=>(o(),r("li",Et,n(e.item),1))),256))])]),t("div",jt,[Bt,t("ul",Ft,[(o(!0),r(i,null,l(s.person.data.details.professionalDevelopment,e=>(o(),r("li",Mt,n(e.item),1))),256))])]),t("div",Rt,[zt,t("ul",Ht,[(o(!0),r(i,null,l(s.person.data.details.professDisciplines,e=>(o(),r("li",Pt,n(e.item),1))),256))])]),t("div",Vt,[At,t("div",Yt,[t("p",qt," Стаж работы: "+n(s.person.data.details.workExperience),1),t("p",It," Стаж по специальности: "+n(s.person.data.details.workExperience),1)])]),t("div",Ot,[Zt,t("ul",Ut,[(o(!0),r(i,null,l(s.person.data.details.attendedConferences,e=>(o(),r("li",Gt,n(e.item),1))),256))])]),t("div",Jt,[Kt,t("ul",Qt,[(o(!0),r(i,null,l(s.person.data.details.participationScienceProjects,e=>(o(),r("li",Wt,n(e.item),1))),256))])]),t("div",Xt,[$t,t("ul",te,[(o(!0),r(i,null,l(s.person.data.details.publications,e=>(o(),r("li",ee,n(e.item),1))),256))])])])])]),g(w),g(b,{class:"z-1000",slide:a.slide,toggler:a.toggler,sources:a.editorImages},null,8,["slide","toggler","sources"])],64)}const de=F(M,[["render",se]]);export{de as default};