1import{_ as X}from"./DsGwc1os.js";import{_ as Z}from"./Czs2tQ7Y.js";import{c as q,q as W,n as G}from"./BrdfCcAi.js";import{_ as J}from"./CbTwiFIw.js";import{_ as Q}from"./BX4mBoJ1.js";import{c2 as ee,bP as te,bZ as ae,c3 as se,bE as ne,X as oe,bo as re,bp as k,bC as le,R as ie}from"./BLKFqx7m.js";import{_ as ce}from"./CSdSLMtw.js";import{_ as ue}from"./pL1ZBalh.js";import{u as C,a0 as c,j as b,F as S,a6 as D,h as m,ay as o,o as E,ad as T,ax as h,Z as pe,aj as a,i as x,e as f,p as i,g as u,O as _e}from"./XkwEEkUh.js";import{_ as me}from"./DfHXFPi3.js";import{_ as de}from"./DKMtAuzS.js";import{_ as fe}from"./D0D9D9lT.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"d210c48b75ce1823600e30878a558f237a2d4016"}}catch{}})();(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"d210c48b75ce1823600e30878a558f237a2d4016"};var t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="78dd3f4b-f23e-483d-93ce-ff59a137b358",n._sentryDebugIdIdentifier="sentry-dbid-78dd3f4b-f23e-483d-93ce-ff59a137b358")}catch{}})();const ye={class:"flex flex-wrap items-center justify-center gap-5"},ge=C({__name:"PreparationSchoolsRankingYearsList",props:{links:{}},setup(n){return(t,r)=>{const y=ue;return c(),b("div",ye,[(c(!0),b(S,null,D(n.links,p=>(c(),m(y,{key:p.to,class:"capitalize","trailing-slash":"append",to:p.to},{default:o(()=>[E(T(p.label),1)]),_:2},1032,["to"]))),128))])}}}),he=Object.assign(ge,{__name:"DomainUiPreparationSchoolsRankingYearsList"}),xe=ie(ce),be={class:"space-y-6"},we={class:"mx-auto mb-10 max-w-3xl text-center font-lora text-4xl font-bold text-black"},ve={class:"text-tangerine-600"},ke={class:"mx-auto max-w-3xl space-y-8 text-center text-cloudy-900"},Ce={class:"flex gap-2 font-ibm-plex-sans font-semibold text-cloudy-700"},Se={class:"space-y-16"},De=C({__name:"[[year]]",async setup(n){let t,r;ee();const{$pianoAnalytics:y,$api:p}=te(),{handleFetchError:U}=le(),_=ae(),d=f(()=>_.params.year?Array.isArray(_.params.year)?_.params.year.join(""):_.params.year:null),{key:R}=k("preparation-schools-ens",d),{data:e,error:$}=([t,r]=h(()=>ne(()=>{const s="/api/public/rankings/preparation-schools/ens/";return d.value?`${s}${d.value}`:`${s}:year`},{key:R,redirect:"manual",onResponse:async({response:s})=>{if(s.status>=300&&s.status<400)throw oe({statusCode:s.status,statusMessage:"redirect",data:{redirectUrl:s.headers.get("location")}})}},"$9jUro41dtr")),t=await t,r(),t);[t,r]=h(()=>U($)),await t,r();const{key:P}=k("preparation-schools-ens-carousels",d),{data:N}=([t,r]=h(async()=>re(P,async()=>{const{data:s}=await p.feed.feedsFindByInternalPath({internalTagPath:_.path});return s.sort((l,g)=>(l.weight??0)-(g.weight??0))},"$RTwHuIdfXz")),t=await t,r(),t),j=f(()=>e.value?.tableConfiguration.columns??[]),L=f(()=>!e.value||!e.value.years.length?[]:e.value.years.map((s,l)=>({label:s,to:l===0?"/classements/prepas/ens/":`/classements/prepas/ens/${s}`}))),z=f(()=>e.value?.rows??[]);return se({title:()=>`Prépas ENS ${e.value?.year} : les résultats des lycées pour intégrer Ulm, Lyon⦠|Challenges`,description:"Découvrez les résultats complets des prépas aux ENS. Lycée par lycée, combien d'élèves ont intégré une Ãcole Normale Supérieure"}),pe(()=>{y?.sendEvent("page.display",{page:`prepas_ens-${e.value?.year}`,site_level2:"Classement",page_type:"classement",page_chapter1:"Classement",page_chapter2:"ens",offre_freemium:e.value?.displayPaywall?"payant":"non-payant"})}),(s,l)=>{const g=X,w=Z,A=W,I=G,B=J,O=Q,Y=xe,F=he,V=me,M=de,H=fe;return a(e)?(c(),m(H,{key:0,"share-item":{title:"test"}},{"banner-image":o(()=>[i(g,{fit:"cover",class:"h-[206px] object-cover object-left-top sm:h-full",loading:"eager",src:"/images/rankings/schools/prepas/banner-ens.png",width:1080,height:280,modifiers:{enlarge:!0},sizes:"xs:390px sm:900px",format:"webp",placeholder:!1,preload:""})]),"main-content":o(()=>[u("div",be,[i(A,{ui:{padding:"max-md:px-5"}},{default:o(()=>[u("h1",we,[l[0]||(l[0]=E(" Les résultats des prépas aux ENS â ",-1)),u("span",ve,T(a(e).year),1)]),u("div",ke,[i(w,{class:"font-ibm-plex-sans text-[1.0625rem]",value:a(e).descriptionText},null,8,["value"])])]),_:1}),a(e).methodologyText?(c(),m(B,{key:0,class:"flex justify-center","show-triggers":["click","touch"],"hide-triggers":["click","focus"],"auto-hide":""},{default:o(()=>[u("div",Ce,[l[1]||(l[1]=u("span",{class:"underline"},"Notre méthode de classement",-1)),i(I,{name:"mdi:information",size:"20"})])]),tooltip:o(()=>[i(w,{class:"max-w-80 rounded-md bg-white px-3 py-1.5 text-justify font-ibm-plex-sans text-sm font-medium text-cloudy-900",value:a(e).methodologyText},null,8,["value"])]),_:1})):x("",!0)]),i(O,{columns:a(j),rows:a(z),"search-by-value-key":a(e).tableConfiguration.searchByValueKey,class:_e({"pointer-events-none":a(e).displayPaywall}),"customizable-columns":a(e).tableConfiguration.customizableColumns,legends:a(e).tableConfiguration.legends,"with-row-expansion":"",sparse:""},null,8,["columns","rows","search-by-value-key","class","customizable-columns","legends"]),a(e).displayPaywall?(c(),m(Y,{key:0,context:"schools-rankings",class:"!-mt-10"})):x("",!0)]),"years-links":o(()=>[i(F,{links:a(L)},null,8,["links"])]),"carousel-feed":o(()=>[u("div",Se,[(c(!0),b(S,null,D(a(N),(v,K)=>(c(),m(V,{key:K,nodes:v.items??[],title:v.title??"Lire ensuite","title-tag":"h2","node-title-tag":"div",breakpoints:{sm:{slidesToShow:2.155},lg:{slidesToShow:3.5}},color:a(q).CLOUDY_900},null,8,["nodes","title","color"]))),128))])]),"related-rankings":o(()=>[i(M)]),_:1})):x("",!0)}}}),Be=Object.freeze(Object.defineProperty({__proto__:null,default:De},Symbol.toStringTag,{value:"Module"}));
1export{he as _,Be as a};
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.