1import{_ as S,a as j,b as z}from"./B-VrJNYD.js";import{p as D,f as k,h as w,c as b,a as t,t as l,i as a,d as B,o as m,u as N,r as $,z as T,k as h,F as M,v as P,x as F,l as L,w as H,b as u,y as K,e as E,m as G}from"./CoiVrtqC.js";import{_ as U}from"./7693rRCS.js";import{S as W,c as V,_ as q}from"./-qCbfAsl.js";import{u as I}from"./BM34tXVq.js";import{u as O}from"./D0ljk2UR.js";import{u as R}from"./DUnPo8Ir.js";const A=D("/images/v2/cases/hero-awards.webp"),J={class:"relative bg-white overflow-hidden lg:h-[511px]"},Q={class:"hidden lg:block absolute left-[79.375%] top-[190px] w-[212px] font-body text-[12px] leading-[16px] text-body"},X={class:"v2-container relative z-10 pt-[110px] lg:pt-[144px]"},Y={class:"hidden lg:flex items-center gap-3"},Z={class:"font-body font-semibold text-[11px] leading-[16.5px] tracking-[2px] uppercase text-body"},tt={class:"font-head font-semibold text-ink-strong text-[24px] lg:text-[clamp(32px,3.47vw,50px)] leading-[1.2] lg:leading-[60px] tracking-[-0.4px] lg:tracking-[-0.028em] mt-0 lg:mt-[28px]"},et={class:"text-gold"},st={class:"font-body text-[13px] leading-[20px] lg:text-[18px] lg:leading-[30px] text-body mt-3.5 lg:mt-4 max-w-[500px]"},ot={class:"lg:hidden v2-container mt-8 pb-8"},at={class:"mt-4 font-body text-[13px] leading-[20px] text-body"},nt=k({__name:"CasesHero",emits:["cta"],setup(C,{emit:x}){const c=x,{t:r}=w();return(p,o)=>(m(),b("section",J,[o[4]||(o[4]=t("img",{src:A,alt:"",class:"hidden lg:block absolute left-[27.784%] top-[36px] w-[61.653%] h-auto",loading:"eager"},null,-1)),t("p",Q,l(a(r)("v2.casesPage.note")),1),t("div",X,[t("div",Y,[o[1]||(o[1]=t("span",{class:"h-px w-8 bg-gold shrink-0"},null,-1)),t("span",Z,l(a(r)("v2.casesPage.eyebrow")),1)]),t("h1",tt,[B(l(a(r)("v2.casesPage.title1")),1),o[2]||(o[2]=t("br",null,null,-1)),t("span",et,l(a(r)("v2.casesPage.title2")),1)]),t("p",st,l(a(r)("v2.casesPage.text")),1),t("button",{class:"mt-6 lg:mt-[33px] inline-flex items-center justify-center w-full lg:w-auto h-[45px] px-7 lg:px-[18px] rounded-full text-white text-[14px] font-bold lg:font-semibold whitespace-nowrap cursor-pointer bg-gradient-to-b from-[#41719D] to-[#004260] hover:opacity-90 transition-opacity",onClick:o[0]||(o[0]=_=>c("cta"))},l(a(r)("v2.casesPage.cta")),1)]),t("div",ot,[o[3]||(o[3]=t("img",{src:A,alt:"",class:"w-full h-auto",loading:"eager"},null,-1)),t("p",at,l(a(r)("v2.casesPage.note")),1)])]))}}),lt={class:"v2-container mt-8 lg:mt-16"},rt={class:"flex items-center gap-2 lg:gap-2.5 overflow-x-auto -mx-4 px-4 lg:mx-0 lg:px-0 pb-2 lg:pb-1 [scrollbar-width:none]"},it=["onClick"],pt={class:"relative"},mt={class:"pt-4 max-sm:pt-3"},dt={class:"flex items-center justify-between gap-2 min-h-[27px] max-sm:min-h-0"},xt={class:"font-body text-[12px] leading-[16px] text-body text-right line-clamp-2 max-sm:line-clamp-1 max-sm:text-[10px] max-sm:font-medium"},ct={class:"font-body font-semibold text-[14px] leading-[20px] text-ink-strong pt-3 max-sm:pt-2 max-sm:text-[13px]"},gt={class:"font-body text-[12px] leading-[16px] text-slate pt-0.5 max-sm:text-[#888] max-sm:pt-2"},ut={class:"flex items-center gap-1 pt-4 max-sm:pt-2.5 font-body font-medium text-[12px] leading-[16px] text-primary"},bt=k({__name:"CasesGrid",setup(C){const{t:x,locale:c}=w(),r=N(),p=$("all"),o=$(null),_=s=>{const e=o.value;if(!e)return;const g=e.querySelector("a"),d=g?g.offsetWidth+parseFloat(getComputedStyle(e).columnGap||"16"):e.clientWidth*.6;e.scrollBy({left:s*d,behavior:"smooth"})};T(p,()=>{o.value&&(o.value.scrollLeft=0)});const i=h(()=>W.map(s=>{const e=s.content[c.value]??s.content.ru;return{slug:s.slug,banner:s.banner,tagKey:s.tagKey,tag:e.tag,name:e.name,uni:e.uni,program:e.program,color:V(s.tagKey)}})),{items:f}=I("cases",{map:s=>({slug:s.slug,banner:s.banner??s.photo??"",tagKey:s.tag_color??"blue",tag:s.tag??"",name:s.student_name,uni:s.university??"",program:s.program??"",color:V(s.tag_color??"blue")}),fallback:()=>i.value}),v=h(()=>{const s=new Set;for(const e of f.value)e.tag&&s.add(e.tag);return[{key:"all",label:x("v2.casesPage.filterAll")},...[...s].map(e=>({key:e,label:e}))]}),y=h(()=>p.value==="all"?f.value:f.value.filter(s=>s.tag===p.value));return(s,e)=>{const g=U,d=E;return m(),b("section",lt,[t("div",rt,[(m(!0),b(M,null,P(a(v),n=>(m(),b("button",{key:n.key,type:"button",class:F(["shrink-0 h-[35px] px-[17px] rounded-full font-body font-semibold text-[13px] leading-[19.5px] whitespace-nowrap cursor-pointer transition-colors",a(p)===n.key?"bg-primary text-white":"border border-line-soft text-body hover:border-primary/40"]),onClick:_t=>p.value=n.key},l(n.label),11,it))),128))]),t("div",pt,[t("button",{class:"sm:hidden absolute left-0 top-1/2 -translate-y-1/2 z-10 w-9 h-9 rounded-full border border-[#AAAAAA] text-[#98A2B3] flex items-center justify-center cursor-pointer bg-white/80","aria-label":"prev",onClick:e[0]||(e[0]=n=>_(-1))},e[2]||(e[2]=[t("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none"},[t("path",{d:"M6 1L1 6l5 5",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),t("button",{class:"sm:hidden absolute right-0 top-1/2 -translate-y-1/2 z-10 w-9 h-9 rounded-full border border-primary text-primary flex items-center justify-center cursor-pointer bg-white/80","aria-label":"next",onClick:e[1]||(e[1]=n=>_(1))},e[3]||(e[3]=[t("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none"},[t("path",{d:"M1 1l5 5-5 5",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),t("div",{ref_key:"track",ref:o,class:"mt-6 lg:mt-10 flex sm:grid sm:grid-cols-2 lg:grid-cols-3 max-sm:gap-16 gap-5 lg:gap-6 max-sm:overflow-x-auto max-sm:snap-x max-sm:snap-mandatory max-sm:-mx-4 max-sm:px-16 max-sm:pb-2 [scrollbar-width:none]"},[(m(!0),b(M,null,P(a(y),n=>(m(),L(d,{key:n.slug,to:a(r)(`/cases/${n.slug}`),class:"max-sm:snap-center max-sm:shrink-0 max-sm:w-[calc(100vw-128px)] rounded-[12px] max-sm:rounded-[8px] border border-line-soft p-4 max-sm:px-[13px] max-sm:pt-[13px] max-sm:pb-[25px] lg:p-[25px] hover:shadow-[0_10px_28px_rgba(96,116,161,0.12)] transition-shadow"},{default:H(()=>[u(g,{src:n.banner,alt:n.name,sizes:"(min-width: 1025px) 374px, 265px","img-class":"w-full aspect-[374/144] object-cover rounded-[4px] border border-[#D0D0D0]"},null,8,["src","alt"]),t("div",mt,[t("div",dt,[t("span",{class:"inline-flex items-center px-[11px] py-[5px] rounded-[6px] border font-body font-bold text-[10px] leading-[15px] tracking-[1px] uppercase whitespace-nowrap shrink-0 max-sm:text-[8px] max-sm:px-[7px] max-sm:py-[3px] max-sm:rounded-[4px] max-sm:tracking-[0.62px] max-sm:leading-[9.5px]",style:K({borderColor:n.color,color:n.color})},l(n.tag),5),t("span",xt,l(n.program),1)]),t("h3",ct,l(n.name),1),t("p",gt,l(n.uni),1),t("span",ut,[B(l(a(x)("v2.casesPage.readCase"))+" ",1),e[4]||(e[4]=t("svg",{width:"6",height:"10",viewBox:"0 0 7 12",fill:"none"},[t("path",{d:"M1 1l5 5-5 5",stroke:"currentColor","stroke-width":"1.6","stroke-linecap":"round","stroke-linejoin":"round"})],-1))])])]),_:2},1032,["to"]))),128))],512)])])}}}),ft={class:"font-body bg-white min-h-screen"},Mt=k({__name:"index",setup(C){const{locale:x}=w();O({title:h(()=>({ru:"Mentor Me | ÐейÑÑ ÑÑÑденÑов",kk:"Mentor Me | СÑÑденÑÑÐµÑ ÐºÐµÐ¹ÑÑеÑÑ"})[x.value]||"Mentor Me | Student Cases")});const{isOpen:c,type:r,payload:p,open:o}=R();return(_,i)=>{const f=S,v=nt,y=bt,s=q,e=z,g=j;return m(),b("main",ft,[u(f,{onCta:i[0]||(i[0]=d=>a(o)("consultation",{magnet:"admission_plan"}))}),u(v,{onCta:i[1]||(i[1]=d=>a(o)("consultation",{magnet:"admission_plan"}))}),u(y),u(s,{class:"max-lg:mt-12 pb-6 lg:pb-[65px]","mobile-image":{src:"/images/v2/checklist-cta-cases.webp",width:1083,height:672},onCta:i[2]||(i[2]=d=>a(o)("checklist",{magnet:"checklist"}))}
1),u(e),a(c)?(m(),L(g,{key:0,type:a(r),payload:a(p),onClose:i[3]||(i[3]=d=>c.value=!1)},null,8,["type","payload"])):G("",!0)])}}});export{Mt 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.