const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DYMgeGGK.js","./z4hTmlMF.js","./entry.DrHyXdfD.css","./MessageBox.Cpk-eIjS.css"])))=>i.map(i=>d[i]); import{_ as J,r as d,o as e,c as P,w as o,a as t,b as a,V as q,m as Ne,t as s,d as n,F as V,e as O,f as D,u as de,g as te,h as se,i as Fe,j as ,ドルk as G,l as h,n as he,p as Ue,q as ee,s as _e,v as ge,L as ye,x as ne,y as De,z as ae,A as le,B as He,C as Ge,D as Le,E as Be,G as Ee,H as Ie,I as Je,J as Xe,K as be,M as Te,N as Q,O as Re,P as pe,Q as Ae,R as Oe,S as Qe,T as Ze}from"./z4hTmlMF.js";import{_ as oe,u as Ye,a as we,b as We,c as xe}from"./uAmwPqJX.js";import $e from"./CixjQe3s.js";import{V as et,_ as ke}from"./CTTg00CE.js";import{V as tt,a as st,b as nt,c as at,d as lt,e as ve}from"./DIvdQR2D.js";import{_ as ot,a as rt}from"./HuBnCGn-.js";import{V as re,a as ie,b as ue,c as ce,d as M,_ as Se,e as Me,f as je}from"./CuX0gqaT.js";import{u as Ve}from"./Dw8PZnZ1.js";const it={role:"listitem",class:"v-btn-container"},ut={__name:"ExportButton",props:{nnt:{type:String,default:""}},setup(l){const b=l,w=d({});return w.value={exportData:{XML:{title:"XML",url:"/api/v1/export/xml/"+b.nnt},RDF:{title:"RDF",url:"/api/v1/export/rdf/"+b.nnt}},exportBiblio:{RIS:{title:"RIS",url:"/api/v1/export/ris/"+b.nnt},BIB:{title:"BIBTEX",url:"/api/v1/export/bib/"+b.nnt}}},(i,f)=>(e(),P(lt,{location:"bottom"},{activator:o(({props:g})=>[t("div",it,[a(q,Ne({flat:"","append-icon":"mdi-upload-box",variant:"outlined"},g,{role:"button"}),{default:o(()=>[t("p",null,s(i.$t("theseView.exporter")),1)]),_:2},1040)])]),default:o(()=>[a(tt,{role:"list"},{default:o(()=>[(e(!0),n(V,null,O(w.value,(g,T)=>(e(),P(st,{role:"listitem",key:T},{default:o(()=>[a(nt,{class:"export-titles"},{default:o(()=>[D(s(i.$t(T)),1)]),_:2},1024),(e(!0),n(V,null,O(g,_=>(e(),P(at,{class:"export-buttons"},{default:o(()=>[a(q,{color:"secondary-darken-3",density:"compact",href:_.url,role:"button"},{default:o(()=>[D(s(_.title),1)]),_:2},1032,["href"])]),_:2},1024))),256))]),_:2},1024))),128))]),_:1})]),_:1}))}},ct=J(ut,[["__scopeId","data-v-a8528687"]]),dt={key:0,class:"thesis-toolbar no-wrap-text",role:"list"},ht={key:0,role:"listitem",class:"v-btn-container"},mt={key:1},pt={class:"no-wrap-text",role:"presentation"},vt={role:"listitem",class:"v-btn-container"},ft={key:1,class:"thesis-toolbar no-wrap-text",role:"list"},_t={key:2,class:"thesis-toolbar no-wrap-text"},gt={key:3,class:"thesis-toolbar no-wrap-text"},yt={__name:"Toolbar",props:{nnt:{type:String,default:""},source:{type:String,default:"Star"},etabPpn:{type:String,default:""},these:{type:Boolean,default:!1},organisme:{type:Boolean,default:!1},personne:{type:Boolean,default:!1}},setup(l){de();const{mobile:b}=te();d(!1);const w=se(()=>window.history.state.back&&window.history.state.back.includes("/resultats"));function i(){window.history.back()}return(f,g)=>{const T=Fe("MessageBox"),_=he,c=ct;return e(),n(V,null,[a(_,null,{default:o(()=>[a(T,{ref:"messageBox"},null,512)]),_:1}),a(_,null,{default:o(()=>[$(b)?l.personne?(e(),n("div",ft,[a(q,{href:f.$t("docUrl.personnes"),alt:f.$t("footer.accessDoc"),target:"_blank",variant:"outlined",flat:"","append-icon":"mdi-alert-circle",role:"listitem"},{default:o(()=>[D(s(f.$t("theseView.alert")),1)]),_:1},8,["href","alt"])])):l.organisme?(e(),n("div",_t,[a(q,{href:f.$t("docUrl.organismes"),alt:f.$t("theseView.docOrganismes"),target:"_blank",variant:"outlined",flat:"","append-icon":"mdi-alert-circle",role:"listitem"},{default:o(()=>[D(s(f.$t("theseView.alert")),1)]),_:1},8,["href","alt"])])):(e(),n("div",gt,[a(c,{nnt:l.nnt},null,8,["nnt"]),a(q,{to:{name:"signaler",query:{nnt:l.nnt,source:l.source,etabPpn:l.etabPpn}},target:"_blank",flat:"","append-icon":"mdi-alert-circle",class:"nuxt-link",variant:"outlined",role:"listitem"},{"append-icon":o(()=>[a(G,null,{default:o(()=>g[2]||(g[2]=[D(" mdi-alert ")])),_:1})]),default:o(()=>[t("p",null,s(f.$t("theseView.alert")),1)]),_:1},8,["to"])])):(e(),n("div",dt,[w.value?(e(),n("div",ht,[a(q,{flat:"","prepend-icon":"mdi-arrow-left-circle-outline",variant:"outlined",role:"button",onClick:i},{"prepend-icon":o(()=>[a(G,null,{default:o(()=>g[0]||(g[0]=[D(" mdi-arrow-left-circle ")])),_:1})]),default:o(()=>[t("p",null,s(f.$t("theseView.retour")),1)]),_:1})])):(e(),n("span",mt)),t("div",pt,[l.these?(e(),P(c,{key:0,nnt:l.nnt},null,8,["nnt"])):h("",!0),t("div",vt,[!l.organisme&&!l.personne?(e(),P(q,{key:0,class:"nuxt-link",flat:"","append-icon":"mdi-alert-circle",variant:"outlined",to:{name:"signaler",query:{nnt:l.nnt,source:l.source,etabPpn:l.etabPpn}},target:"_blank",role:"button"},{"append-icon":o(()=>[a(G,null,{default:o(()=>g[1]||(g[1]=[D(" mdi-alert ")])),_:1})]),default:o(()=>[t("p",null,s(f.$t("theseView.alert")),1)]),_:1},8,["to"])):h("",!0)]),l.personne?(e(),P(q,{key:1,href:f.$t("docUrl.personnes"),alt:f.$t("footer.accessDoc"),target:"_blank",variant:"outlined",flat:"","append-icon":"mdi-alert-circle",role:"listitem"},{default:o(()=>[D(s(f.$t("theseView.alert")),1)]),_:1},8,["href","alt"])):h("",!0),l.organisme?(e(),P(q,{key:2,href:f.$t("docUrl.organismes"),alt:f.$t("theseView.docOrganismes"),target:"_blank",variant:"outlined",flat:"","append-icon":"mdi-alert-circle",role:"listitem"},{default:o(()=>[D(s(f.$t("theseView.alert")),1)]),_:1},8,["href","alt"])):h("",!0)])]))]),_:1})],64)}}},Ce=J(yt,[["__scopeId","data-v-cf5c1ae2"]]),bt={class:"languageSelector"},wt=["onClick","onKeyup"],$t={key:0},kt={__name:"LanguageSelector",props:{languages:{type:Array,required:!0}},emits:["updateLangue"],setup(l,{emit:b}){const w=l,i=d(w.languages.includes("fr")?"fr":w.languages[0]),f=se(()=>{const _=[...w.languages];return _.sort(),_.includes("fr")&&(_.splice(_.indexOf("fr"),1),_.unshift("fr")),_}),g=b;function T(_){i.value=_,g("updateLangue",_)}return(_,c)=>(e(),n("div",bt,[(e(!0),n(V,null,O(f.value,(r,m)=>(e(),n("div",{key:r},[t("span",{tabindex:"0",onClick:u=>T(r),onKeyup:Ue(u=>T(r),["enter"]),class:ee(i.value===r?"selected":"")},s(r.toUpperCase()),43,wt),m(b.titles[w.value]||(w.value=Object.keys(b.titles)[0]),b.titles[w.value])),g=d(null);_e(()=>{ge(()=>{setTimeout(()=>{g.value&&g.value.focus({focusVisible:!1})},100)})});const T=se(()=>Object.keys(b.titles));function _(c){w.value=c,f.value=b.titles[w.value],i.value=ye.includes(w.value.toLowerCase())}return(c,r)=>{const m=ot,u=Pe;return f.value!==""?(e(),n("div",St,[t("div",Vt,[a(m,{status:l.status},null,8,["status"])]),t("div",{class:"title-flexbox",ref_key:"firstFocusElement",ref:g,"aria-labelledby":"thesis-title",tabindex:"-1"},[t("h1",{class:ee(i.value?"rtl-text":""),id:"thesis-title"},s(f.value),3),a(u,{class:"language-selector",languages:T.value,onUpdateLangue:_},null,8,["languages"])],512)])):h("",!0)}}},Pt=J(Ct,[["__scopeId","data-v-f4abd6f8"]]),fe="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'%3e%3c!--!%20Font%20Awesome%20Pro%206.4.2%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license%20(Commercial%20License)%20Copyright%202023%20Fonticons,%20Inc.%20--%3e%3cstyle%3esvg{fill:%23cf491b;}%3c/style%3e%3cpath%20d='M256%2032c14.2%200%2027.3%207.5%2034.5%2019.8l216%20368c7.3%2012.4%207.3%2027.7%20.2%2040.1S486.3%20480%20472%20480H40c-14.3%200-27.6-7.7-34.7-20.1s-7-27.8%20.2-40.1l216-368C228.7%2039.5%20241.8%2032%20256%2032zm0%20128c-13.3%200-24%2010.7-24%2024V296c0%2013.3%2010.7%2024%2024%2024s24-10.7%2024-24V184c0-13.3-10.7-24-24-24zm32%20224a32%2032%200%201%200%20-64%200%2032%2032%200%201%200%2064%200z'/%3e%3c/svg%3e",Tt={class:"buttons"},Dt={class:"buttons-header"},Lt={class:"buttons-header-title"},Bt={class:"close-overlay-icon-wrapper"},Et={key:0},It={class:"header-container no-wrap-text"},Rt={class:"buttons-title-header"},At={id:"categories-valide-title"},Ot=["alt"],xt={key:0},Mt={key:1},jt={key:1},qt={class:"buttons-title-header buttons-title-header-other",id:"other-title"},Kt=["alt"],zt={key:0},Nt={key:1},Ft={key:2,class:"buttons-list-wrapper processing-status"},Ut=["alt"],Ht={key:0},Gt={key:1},Jt=["innerHTML"],Xt={class:"submit"},Qt={__name:"ButtonsList",props:{boutonsAutres:{type:Object,default:[]},categoriesValide:{type:Object,default:[]},soutenue:{type:Boolean,default:!1},status:{type:String,default:""},dateSoutenance:{type:String,default:""},source:{type:String,default:""}},emits:["closeOverlay"],setup(l,{emit:b}){const{mobile:w}=te(),i=ae(()=>le(()=>import("./DYMgeGGK.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)),f=d(null),g=l,T=b,c=He().public.API,r=d(!1),m=d(!1),u=d(""),S=d([0,1,2,3,4]),R=d([0,1,2,3,4]),A=d(new Date);g.source==="sudoc"?A.value=g.dateSoutenance.split("/")[2]:A.value=g.dateSoutenance;function z(){T("closeOverlay")}return(C,E)=>(e(),n(V,null,[a($(i),{ref_key:"messageBox",ref:f},null,512),t("div",Tt,[t("div",Dt,[t("h2",Lt,s(C.$t("theseView.access")),1),$(w)?(e(),n("button",{key:0,onClick:z,class:"close-icon",elevation:"0",color:"transparent"},[t("div",Bt,[t("div",null,[a(G,{size:"35"},{default:o(()=>E[6]||(E[6]=[D("mdi-close-box")])),_:1})])])])):h("",!0)]),l.categoriesValide.length>0&&l.soutenue?(e(),n("div",Et,[t("div",It,[a(G,{color:"primary",class:"menu-icon"},{default:o(()=>E[7]||(E[7]=[D("mdi-certificate")])),_:1}),t("h3",Rt,s(C.$t("theseView.valide")),1)]),a(ce,{multiple:"",modelValue:S.value,"onUpdate:modelValue":E[0]||(E[0]=k=>S.value=k),variant:"accordion",class:"buttons-list-wrapper"},{default:o(()=>[(e(!0),n(V,null,O(l.categoriesValide,k=>(e(),n(V,{key:k.libelle},[k.boutons.length>0?(e(),P(re,{key:0},{default:o(()=>[a(ie,{class:"sous-categorie-header"},{default:o(()=>[t("h4",At,s(C.$t(k.libelle)),1)]),_:2},1024),a(ue,{role:"list","aria-labelledby":"categories-valide-title"},{default:o(()=>[(e(!0),n(V,null,O(k.boutons,I=>(e(),n("div",{class:"buttons-list",key:I},[I.typeAcces=="ACCES_ESR"?(e(),P(q,{key:0,role:"listitem",class:"thesis-access-buttons","append-icon":"mdi-open-in-new",onClick:Z=>{m.value=!1,r.value=!0,u.value=I.url.startsWith("http")?I.url:$(c)+I.url},"aria-label":C.$t(I.libelle)+C.$t("externalLink"),flat:!0},{default:o(()=>[D(s(C.$t(I.libelle)),1)]),_:2},1032,["onClick","aria-label"])):I.url?(e(),P(q,{key:1,role:"listitem",class:"thesis-access-buttons","append-icon":"mdi-open-in-new",href:I.url.startsWith("http")?I.url:$(c)+I.url,target:"_blank",title:C.$t(I.libelle)+C.$t("externalLink"),"aria-label":C.$t(I.libelle),flat:!0},{default:o(()=>[D(s(C.$t(I.libelle)),1)]),_:2},1032,["href","title","aria-label"])):I.libelle==="Embargo"||I.libelle==="Confidentialite"?(e(),P(ne,{key:2,class:"texte-embargo",role:"listitem",variant:"outlined",tabindex:"0"},{default:o(()=>[t("img",{alt:C.$t("theseView.alertSign"),class:"icon-alert",src:fe},null,8,Ot),I.libelle==="Embargo"?(e(),n("span",xt,s(C.$t("theseView.embargo"))+" "+s(I.dateFin.replaceAll("-","/"))+".",1)):h("",!0),I.libelle==="Confidentialite"?(e(),n("span",Mt,s(C.$t("theseView.confidentialite"))+" "+s(I.dateFin.replaceAll("-","/")),1)):h("",!0)]),_:2},1024)):h("",!0)]))),128))]),_:2},1024)]),_:2},1024)):h("",!0)],64))),128))]),_:1},8,["modelValue"])])):h("",!0),l.boutonsAutres.length>0&&l.soutenue?(e(),n("div",jt,[a(ce,{modelValue:R.value,"onUpdate:modelValue":E[1]||(E[1]=k=>R.value=k),multiple:"",variant:"accordion",class:"v-expansion-panels-other"},{default:o(()=>[a(re,{class:"buttons-sub-header buttons-sub-header-other"},{default:o(()=>[a(ie,null,{default:o(()=>[a(G,{color:"primary",class:"menu-icon"},{default:o(()=>E[8]||(E[8]=[D("mdi-list-box")])),_:1}),t("h3",qt,s(C.$t("theseView.others")),1)]),_:1}),a(ue,{role:"list","aria-labelledby":"other-title"},{default:o(()=>[(e(!0),n(V,null,O(l.boutonsAutres,k=>(e(),n("div",{class:"buttons-list",key:k},[k.url?(e(),P(q,{key:0,role:"listitem",class:"thesis-access-buttons","append-icon":"mdi-open-in-new",href:k.url.startsWith("http")?k.url:$(c)+k.url,target:"_blank",title:C.$t(k.libelle)+C.$t("externalLink"),"aria-label":C.$t(k.libelle),flat:!0},{default:o(()=>[D(s(C.$t(k.libelle)),1)]),_:2},1032,["href","title","aria-label"])):h("",!0),k.libelle==="Embargo"||k.libelle==="Confidentialite"?(e(),P(ne,{key:1,class:"texte-embargo",role:"listitem",variant:"outlined",tabindex:"0"},{default:o(()=>[t("img",{alt:C.$t("theseView.alertSign"),class:"icon-alert",src:fe},null,8,Kt),k.libelle==="Embargo"?(e(),n("span",zt,s(C.$t("theseView.embargoStart"))+s(k.dateFin.replaceAll("-","/"))+s(C.$t("theseView.embargoEnd")),1)):h("",!0),k.libelle==="Confidentialite"?(e(),n("span",Nt,s(C.$t("theseView.confidentialite"))+" "+s(k.dateFin.replaceAll("-","/")),1)):h("",!0)]),_:2},1024)):h("",!0)]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue"])])):h("",!0),l.soutenue&&l.status==="enCours"?(e(),n("div",Ft,[a(ne,{class:"texte-embargo",variant:"outlined",tabindex:"0"},{default:o(()=>[t("img",{alt:C.$t("theseView.alertSign"),class:"icon-alert",src:fe},null,8,Ut),l.source==="sudoc"?(e(),n("span",Ht,s(C.$t("theseView.enTraitementStartYear"))+s(A.value)+s(C.$t("theseView.enTraitementEnd")),1)):(e(),n("span",Gt,s(C.$t("theseView.enTraitementStartDay"))+s(l.dateSoutenance)+s(C.$t("theseView.enTraitementEnd")),1))]),_:1})])):h("",!0)]),a(De,{modelValue:r.value,"onUpdate:modelValue":E[5]||(E[5]=k=>r.value=k),fullscreen:$(w),width:$(w)?"100%":"70%"},{default:o(()=>[a(ne,{style:{padding:"2rem 2rem",display:"flex"},tabindex:"0"},{default:o(()=>[t("span",{innerHTML:C.$t("theseView.modalContent")},null,8,Jt),E[9]||(E[9]=t("br",null,null,-1)),a(et,{modelValue:m.value,"onUpdate:modelValue":E[2]||(E[2]=k=>m.value=k),label:C.$t("theseView.modalAgree")},null,8,["modelValue","label"]),t("div",Xt,[a(q,{variant:"outlined",size:"large",onClick:E[3]||(E[3]=k=>r.value=!1)},{default:o(()=>[D(s(C.$t("theseView.modalCancel")),1)]),_:1}),a(q,{variant:"outlined",size:"large",disabled:!m.value,target:"_blank",href:u.value,onClick:E[4]||(E[4]=k=>r.value=!1)},{default:o(()=>[D(s(C.$t("theseView.modalOk")),1)]),_:1},8,["disabled","href"])])]),_:1})]),_:1},8,["modelValue","fullscreen","width"])],64))}},qe=J(Qt,[["__scopeId","data-v-d6b889dd"]]),Zt=Object.freeze(Object.defineProperty({__proto__:null,default:qe},Symbol.toStringTag,{value:"Module"})),Yt=["aria-label","title"],Wt={class:"table-body"},es={key:0,class:"table-rows"},ts={role:"rowheader"},ss={role:"list"},ns={key:1,role:"listitem"},as={key:2},ls={key:1,class:"table-rows"},os={role:"rowheader"},rs={role:"list"},is={key:1,role:"listitem"},us={key:2},cs={class:"table-rows"},ds={role:"rowheader"},hs={key:2,class:"table-rows"},ms={role:"rowheader"},ps={key:3,class:"table-rows"},vs={role:"rowheader"},fs={key:0},_s={key:1},gs={key:2},ys={key:0},bs={key:4,class:"table-rows"},ws={role:"rowheader"},$s={key:0,role:"list"},ks={key:1,role:"listitem"},Ss={key:0},Vs={key:5,class:"table-rows"},Cs={role:"rowheader"},Ps={role:"list"},Ts={key:1},Ds={key:0},Ls={key:6,class:"table-rows"},Bs={role:"rowheader"},Es={role:"list"},Is={key:1,role:"listitem"},Rs={key:0,class:"table-rows"},As={key:1,role:"listitem"},Os={key:7,class:"table-rows"},xs={role:"rowheader"},Ms={role:"list"},js={key:1,role:"listitem"},qs={key:0,class:"table-rows"},Ks={key:1,role:"listitem"},zs={__name:"ThesisTable",props:{these:{type:Object,required:!0}},setup(l){const b=l;Ge();const w=d({}),i=d(""),f=d(""),g=d({}),T={0:"Président / Présidente",1:"Examinateurs / Examinatrices",2:"Rapporteurs / Rapporteuses"};w.value=_(b.these.partenairesRecherche,"type"),i.value=Object.keys(w.value)[0],[b.these.presidentJury,b.these.membresJury,b.these.rapporteurs].forEach((c,r)=>{if(typeof c.nom=="string"&&c.nom!==null||typeof c.nom!="string"&&c.length>0){let m=T[r];g.value[m]=r===0?[c]:c}}),f.value=Object.keys(g.value)[0];function _(c,r){return c.reduce(function(m,u){return(m[u[r]]=m[u[r]]||[]).push(u),m},{})}return(c,r)=>{const m=oe;return l.these.auteurs?(e(),n("table",{key:0,class:"table","aria-label":c.$t("theseView.metadonnees"),title:c.$t("theseView.metadonnees")},[t("tbody",Wt,[l.these.auteurs&&l.these.auteurs.length>0?(e(),n("tr",es,[t("td",ts,[t("strong",null,s(c.$t("theseView.auteur"))+" :"+s(" "),1)]),t("td",ss,[(e(!0),n(V,null,O(l.these.auteurs,(u,S)=>(e(),n(V,{key:u.ppn},[u.ppn?(e(),P(m,{key:0,class:"clickable orange",to:"/"+u.ppn,role:"listitem"},{default:o(()=>[D(s(u.prenom)+" "+s(u.nom),1)]),_:2},1032,["to"])):(e(),n("span",ns,s(u.prenom)+" "+s(u.nom),1)),S0?(e(),n("tr",ls,[t("td",os,[t("strong",null,s(c.$t("theseView.direction"))+" :"+s(" "),1)]),t("td",rs,[(e(!0),n(V,null,O(l.these.directeurs,(u,S)=>(e(),n(V,{key:u.ppn},[u.ppn?(e(),P(m,{key:0,class:"clickable lightblue",to:"/"+u.ppn,role:"listitem"},{default:o(()=>[D(s(u.prenom)+" "+s(u.nom),1)]),_:2},1032,["to"])):(e(),n("span",is,s(u.prenom)+" "+s(u.nom),1)),S[D(s(l.these.etabSoutenance.nom),1)]),_:1},8,["to"])]),l.these.etabCotutelle.length>0?(e(),n("span",$s,[D(s(c.$t("theseView.cotutelle"))+" ",1),(e(!0),n(V,null,O(l.these.etabCotutelle,(u,S)=>(e(),n(V,{key:u.ppn},[t("strong",null,[u.ppn?(e(),P(m,{key:0,class:"clickable lightblue",to:"/"+u.ppn,role:"listitem"},{default:o(()=>[D(s(u.nom),1)]),_:2},1032,["to"])):(e(),n("span",ks,s(u.nom),1))]),S0?(e(),n("tr",Vs,[t("td",Cs,[t("strong",null,s(c.$t("theseView.ecoles"))+" :"+s(" "),1)]),t("td",Ps,[(e(!0),n(V,null,O(l.these.ecolesDoctorales,(u,S)=>(e(),n(V,{key:u.ppn},[t("strong",null,[u.ppn?(e(),P(m,{key:0,class:"clickable lightblue",to:"/"+u.ppn,role:"listitem"},{default:o(()=>[D(s(u.nom),1)]),_:2},1032,["to"])):(e(),n("span",Ts,s(u.nom),1))]),S0?(e(),n("tr",Ls,[t("td",Bs,[t("strong",null,s(c.$t("theseView.partenariat"))+" :"+s(" "),1)]),t("td",Es,[t("strong",null,s(c.$t($(i)))+" : ",1),(e(!0),n(V,null,O($(w)[$(i)],(u,S)=>(e(),n(V,null,[u.ppn?(e(),P(m,{key:u.ppn,class:"clickable lightblue",to:"/"+u.ppn,role:"listitem"},{default:o(()=>[D(s(u.nom)+" "+s(S<$(w)[$(i)].length-1?" - ":""),1)]),_:2},1032,["to"])):(e(),n("span",Is,s(u.nom)+" "+s(S<$(w)[$(i)].length-1?" - ":""),1))],64))),256))])])):h("",!0),(e(!0),n(V,null,O($(w),(u,S)=>(e(),n(V,{key:S},[S!==$(i)?(e(),n("tr",Rs,[r[1]||(r[1]=t("td",{class:"empty-first-cell-mandatory"},null,-1)),t("td",null,[t("strong",null,s(c.$t(S)+" : "),1),(e(!0),n(V,null,O(u,(R,A)=>(e(),n(V,null,[R.ppn?(e(),P(m,{key:0,class:"clickable lightblue",to:"/"+R.ppn,role:"listitem"},{default:o(()=>[D(s(R.nom)+" "+s(A<$(w)[r.type].length-1?" - ":""),1)]),_:2},1032,["to"])):(e(),n("span",As,s(R.nom)+" "+s(A<$(w)[r.type].length-1?" - ":""),1))],64))),256))])])):h("",!0)],64))),128)),Object.keys($(g)).length>0?(e(),n("tr",Os,[t("td",xs,[t("strong",null,s(c.$t("theseView.jury"))+" :"+s(" "),1)]),t("td",Ms,[t("strong",null,s(c.$t($(f))+" : "),1),(e(!0),n(V,null,O($(g)[$(f)],(u,S)=>(e(),n(V,null,[u.ppn?(e(),P(m,{key:u.ppn,class:"clickable lightblue",to:"/"+u.ppn,role:"listitem"},{default:o(()=>[D(s(u.prenom)+" "+s(u.nom)+s(S<$(g)[$(f)].length-1?", ":""),1)]),_:2},1032,["to"])):(e(),n("span",js,s(u.prenom)+" "+s(u.nom)+s(S<$(g)[$(f)].length-1?", ":""),1))],64))),256))])])):h("",!0),(e(!0),n(V,null,O($(g),(u,S)=>(e(),n(V,{key:S},[S!==$(f)?(e(),n("tr",qs,[r[2]||(r[2]=t("td",{class:"empty-first-cell-mandatory"},null,-1)),t("td",null,[t("strong",null,s(c.$t(S)+" : "),1),(e(!0),n(V,null,O(u,(R,A)=>(e(),n(V,null,[R.ppn?(e(),P(m,{key:0,class:"clickable lightblue",to:"/"+R.ppn,role:"listitem"},{default:o(()=>[D(s(R.prenom)+" "+s(R.nom)+s(A<$(g)[s].length-1?", ":""),1)]),_:2},1032,["to"])):(e(),n("span",Ks,s(R.prenom)+" "+s(R.nom)+s(A<$(g)[s].length-1?", ":""),1))],64))),256))])])):h("",!0)],64))),128))])],8,Yt)):h("",!0)}}},Ns=J(zs,[["__scopeId","data-v-2c5291ac"]]),Fs={class:"key-words-title-wrapper"},Us={class:"title"},Hs={id:"keywords-title"},Gs={key:0,class:"thesis-keywords"},Js={key:0,class:"mots-cles-controlles"},Xs={id:"mots-cles-controles-header"},Qs={class:"sr-only"},Zs={tabindex:"0",id:"legend-tooltip"},Ys=["title"],Ws={class:"close-overlay-button-container"},en={class:"key-word-label",tabindex:"-1"},tn={key:1,id:"mots-cles-libres"},sn={class:"subtitle"},nn={class:"key-word-label"},an={key:1},ln={class:"key-word-label"},on={id:"key-words-button-wrapper"},rn={__name:"Keywords",props:{these:{type:Object,required:!0},type:{type:String,default:"theses"}},setup(l){const b=l,{mobile:w}=te(),i=d(!1),f=w.value?d(6):b.these.titrePrincipal?d(50):d(20),g=w.value?d(6):b.these.titrePrincipal?d(50):d(20),T=d(0),_=d([]),c=b.these.titrePrincipal?d(10):d(20),r=d("fr"),m=d({}),u=d({}),S=d({}),R=Le("isAdvanced"),A=d(null);E(),Be(()=>{E()});const z=se(()=>Object.keys(_.value));function C(p=null){return typeof p=="string"?_.value[r.value].filter(v=>v.type===p):_.value[r.value].filter((v,j)=>j=0)}function E(){_.value=b.these.mapSujets,b.type==="theses"?(m.value=C("sujet"),u.value=C("sujetsRameau")):S.value=C()}const k=d(!1);function I(p){r.value=p,k.value=ye.includes(r.value.toLowerCase()),E()}function Z(){g.value+=c.value,x()}function Y(){g.value=f.value,x()}function L(){g.value=_.value[r.value].length,x()}function y(p){return"(sujetsLibelle:("+p+") OU sujetsRameauLibelle:("+p+"))"}function x(){var p=document.querySelector(".v-chip-group");if(p){var v=p.querySelector("a:last-child");v&&v.focus()}}function N(p){R.value=p}return Ee(()=>{i.value?document.getElementById("legend-tooltip").focus():A.value!==null&&A.value.focus()}),Ie(w,p=>{f.value=p?6:b.these.titrePrincipal?50:10,g.value=p?6:b.these.titrePrincipal?50:10,T.value++}),(p,v)=>{const j=Pe,X=oe;return e(),n("div",null,[t("div",null,[t("div",Fs,[t("div",Us,[a(G,{color:"primary"},{default:o(()=>v[6]||(v[6]=[D("mdi-list-box")])),_:1}),t("h2",Hs,s(p.$t("motcle")),1),a(j,{languages:z.value,onUpdateLangue:I},null,8,["languages"])])]),l.type==="theses"?(e(),n("div",Gs,[u.value.length>0?(e(),n("div",Js,[t("div",{ref_key:"backFromKeywordModal",ref:A,"aria-labelledby":"mots-cles-controles-header",class:"subtitle"},[t("h3",Xs,s(p.$t("motCleControle")),1),a(q,{class:"info-button",onClick:v[0]||(v[0]=B=>i.value=!i.value),flat:"",title:p.$t("infoKeywords")},{default:o(()=>[a(G,{size:"22"},{default:o(()=>v[7]||(v[7]=[D("mdi-information-outline")])),_:1}),t("span",Qs,s(p.$t("infoKeywords")),1)]),_:1},8,["title"]),a(Je,{modelValue:i.value,"onUpdate:modelValue":v[2]||(v[2]=B=>i.value=B),"location-strategy":"connected","scroll-strategy":"close"},{default:o(()=>[t("div",Zs,[a(ne,{class:"legend-tooltip"},{default:o(()=>[t("span",null,[D(s(p.$t("motCleControleDescription"))+" ",1),t("a",{title:p.$t("footer.idRef"),href:"https://www.idref.fr/"},"idRef.",8,Ys)]),t("div",Ws,[a(q,{onClick:v[1]||(v[1]=B=>i.value=!i.value),class:"close-overlay-button",variant:"outlined",density:"compact","append-icon":"mdi-close-box",flat:""},{default:o(()=>[D(s(p.$t("access.fermer")),1)]),_:1})])]),_:1})])]),_:1},8,["modelValue"])],512),t("div",{role:"list","aria-labelledby":"mots-cles-controles-header",class:ee(["chip-lines v-chip-group",k.value?"rtl-text":""])},[(e(!0),n(V,null,O(u.value,B=>(e(),P(X,{key:B.keyword+T.value,role:"listitem",onClick:v[3]||(v[3]=W=>N(!1)),to:{name:"resultats",query:{q:B.query?B.query:B.keyword,domaine:"theses"}}},{default:o(()=>[a(ve,{label:"",class:"rameau-chip chips",tabindex:"-1"},{default:o(()=>[t("span",en,s(B.keyword),1)]),_:2},1024)]),_:2},1032,["to"]))),128))],2)])):h("",!0),m.value.length>0?(e(),n("div",tn,[t("div",sn,[t("h3",null,s(p.$t("motCleLibres")),1)]),t("div",{role:"list","aria-labelledby":"mots-cles-libres",class:ee(["chip-lines v-chip-group",k.value?"rtl-text":""])},[(e(!0),n(V,null,O(m.value,B=>(e(),P(X,{key:B.keyword+T.value,role:"listitem",onClick:v[4]||(v[4]=W=>N(!0)),to:{name:"resultats",query:{q:B.query?y(B.query):y(B.keyword),domaine:"theses",avancee:"true","fields[0][type]":"everyKeyword","fields[0][value]":B.keyword}}},{default:o(()=>[a(ve,{label:"",class:"free-chip chips",tabindex:"-1"},{default:o(()=>[t("span",nn,s(B.keyword),1)]),_:2},1024)]),_:2},1032,["to"]))),128))],2)])):h("",!0)])):(e(),n("div",an,[S.value.length>0?(e(),n("div",{key:0,role:"list","aria-labelledby":"keywords-title",class:ee(["chip-lines v-chip-group",k.value?"rtl-text":""])},[(e(!0),n(V,null,O(S.value,B=>(e(),P(X,{key:B.keyword+T.value,role:"listitem",onClick:v[5]||(v[5]=W=>N(!0)),to:{name:"resultats",query:{q:B.query?B.query:B.keyword,domaine:"theses",avancee:"true","fields[0][type]":"everyKeyword","fields[0][value]":B.keyword}}},{default:o(()=>[a(ve,{label:"",class:ee(["chips",B.type==="sujetsRameau"?"rameau-chip":"free-chip"]),tabindex:"-1"},{default:o(()=>[t("span",ln,s(B.keyword),1)]),_:2},1032,["class"])]),_:2},1032,["to"]))),128))],2)):h("",!0),t("div",on,[$(g)>$(f)&&_.value[r.value].length>$(f)?(e(),P(q,{key:0,class:"read-more-less-button",variant:"outlined",onClick:Y,flat:""},{default:o(()=>[v[9]||(v[9]=t("span",null,null,-1)),t("span",null,s(p.$t("showLessKeywords")),1),a(G,{class:"toggle-up-down rotate"},{default:o(()=>v[8]||(v[8]=[D("mdi-arrow-down-circle-outline")])),_:1})]),_:1})):h("",!0),$(g)<_.value[r.value].length?(e(),p(q,{key:1,class:"read-more-less-button",variant:"outlined",onclick:z,flat:""},{default:o(()=>[v[11]||(v[11]=t("span",null,null,-1)),t("span",null,s(p.$t("showMoreKeywords")),1),a(G,{class:"toggle-up-down"},{default:o(()=>v[10]||(v[10]=[D("mdi-arrow-down-circle-outline")])),_:1})]),_:1})):h("",!0),$(g)<_.value[r.value].length?(e(),p(q,{key:2,class:"read-more-less-button",variant:"outlined",onclick:l,flat:""},{default:o(()=>[v[13]||(v[13]=t("span",null,null,-1)),t("span",null,s(p.$t("showAllKeywords")+"("+_.value[r.value].length+")"),1),a(G,{class:"toggle-up-down"},{default:o(()=>v[12]||(v[12]=[D("mdi-arrow-down-circle-outline")])),_:1})]),_:1})):h("",!0)])]))])])}}},Ke=J(rn,[["__scopeId","data-v-df671c7e"]]),un={class:"resume-title-wrapper"},cn={__name:"ThesisResume",props:{these:{type:Object}},setup(l){const b=l;d(!1);const w=d(""),i=d("fr");typeof b.these.resumes<"u"&&typeof b.these.resumes[i.value]<"u"&&(w.value=b.these.resumes[i.value]);const f=se(()=>b.these.resumes?Object.keys(b.these.resumes):[]),g=d(!1);function T(_){i.value=_,w.value=b.these.resumes[i.value],ye.includes(i.value.toLowerCase())?g.value=!0:g.value=!1}return(_,c)=>{const r=Pe;return e(),n("div",null,[t("div",un,[a(G,{color:"primary"},{default:o(()=>c[0]||(c[0]=[D("mdi-file-document-arrow-right")])),_:1}),t("h2",null,s(_.$t("theseView.resume")),1),a(r,{languages:f.value,onUpdateLangue:T},null,8,["languages"])]),t("div",{id:"resume-text",class:ee(g.value?"rtl-text":"")},[t("p",null,s(w.value),1)],2)])}}},dn=J(cn,[["__scopeId","data-v-35e8592d"]]),hn={class:"thesis-component-container"},mn={key:0,class:"toolbar-container"},pn={class:"thesis-info-access-wrapper"},vn={key:0,class:"access-buttons"},fn={class:"thesis-info-wrapper"},_n={key:1,class:"toolbar-container"},gn={__name:"ThesisComponent",props:{these:{type:Object},nnt:{type:String},soutenue:{type:Boolean},dataReady:{type:Boolean,default:!1},boutonsAutres:{type:Object,default:[]},categoriesValide:{type:Object,default:[]}},setup(l){const{mobile:b}=te();de();const w=d("fr"),i=l,f=d(!1),g=d(!1);T(),Be(()=>{T()});function T(){g.value=typeof i.these.mapSujets<"u"&&typeof i.these.mapSujets.fr<"u"&&i.these.mapsujets.fr.length>0,f.value=typeof i.these.resumes<"u"&&object.entries(i.these.resumes).length>0}function _(c){w.value=c}return Xe(()=>{const c=i.these.titrePrincipal?i.these.titrePrincipal:"";Ve({title:()=>`${c} | Theses.fr`,ogTitle:()=>`${c} | Theses.fr`,description:()=>i.these.resumes.fr,ogDescription:()=>i.these.resumes.fr,ogImage:"https://theses.fr/logo-theses-beta.png",ogImageAlt:"Logo Theses.fr",twitterCard:"summary",ogType:"website",author:()=>i.these.auteurs[0].prenom+" "+i.these.auteurs[0].nom,creator:()=>i.these.auteurs[0].prenom+" "+i.these.auteurs[0].nom});let r="";typeof i.these.mapSujets.fr<"u"&&i.these.mapsujets.fr.foreach(m=>{r+=m.keyword+", "}),be({meta:[{name:"DC.type",content:"thesis"},{name:"citation_dissertation_name",content:"thesis"},{name:"DC.title",content:`${c}`},{name:"citation_title",content:`${c}`},{name:"DC.description.abstract",content:i.these.resumes.fr},{name:"citation_abstract",content:i.these.resumes.fr},{name:"DC.subject",content:r},{name:"citation_keywords",content:r},{name:"DC.creator",content:i.these.auteurs[0].prenom+" "+i.these.auteurs[0].nom},{name:"citation_author",content:i.these.auteurs[0].prenom+" "+i.these.auteurs[0].nom},{name:"DC.contributor",content:i.these.directeurs[0].prenom+" "+i.these.directeurs[0].nom},{name:"DC.publisher",content:i.these.etabSoutenance.nom},{name:"citation_dissertation_institution",content:i.these.etabSoutenance.nom},{name:"DC.date",content:i.these.dateSoutenance},{name:"citation_publication_date",content:i.these.dateSoutenance}]})}),(c,r)=>{const m=Ce,u=Pt,S=qe,R=Ns,A=Ke,z=dn;return e(),n("div",hn,[$(b)?h("",!0):(e(),n("div",mn,[a(m,{these:"",source:l.these.source,nnt:i.nnt,"etab-ppn":l.these.etabSoutenance?l.these.etabSoutenance.ppn:""},null,8,["source","nnt","etab-ppn"])])),t("div",pn,[a(u,{id:"thesis-title",status:l.these.status,titles:l.these.titres},null,8,["status","titles"]),!$(b)&&(l.categoriesValide.length>0||l.boutonsAutres.length>0||l.soutenue&&l.these.status==="enCours")?(e(),n("div",vn,[a(S,{"categories-valide":l.categoriesValide,status:l.these.status,source:l.these.source,"boutons-autres":l.boutonsAutres,soutenue:l.soutenue,"date-soutenance":l.these.dateSoutenance},null,8,["categories-valide","status","source","boutons-autres","soutenue","date-soutenance"])])):h("",!0),t("div",fn,[a(R,{class:"thesis-component",these:l.these},null,8,["these"]),g.value?(e(),P(Te,{key:0,thickness:1,class:"divider border-opacity-50",length:"90%"})):h("",!0),g.value?(e(),P(A,{key:1,class:"thesis-component","keywords-are-set":g.value,these:l.these,type:"theses","selected-language":w.value,onChangeLanguage:_},null,8,["keywords-are-set","these","selected-language"])):h("",!0),f.value?(e(),P(Te,{key:2,thickness:1,class:"divider border-opacity-50",length:"90%"})):h("",!0),f.value?(e(),P(z,{key:3,class:"thesis-component","resume-is-set":f.value,these:l.these,"selected-language":w.value},null,8,["resume-is-set","these","selected-language"])):h("",!0)])]),$(b)?(e(),n("div",_n,[a(m,{these:"",source:l.these.source,nnt:i.nnt,"etab-ppn":l.these.etabSoutenance?l.these.etabSoutenance.ppn:""},null,8,["source","nnt","etab-ppn"])])):h("",!0)])}}},yn=J(gn,[["__scopeId","data-v-c8bc896e"]]),bn={};function wn(l,b){return e(),n(V,null,[a(M,{type:"list-item-avatar",class:"w-100"}),a(M,{type:"table-heading"}),a(M,{type:"table-row"}),a(M,{type:"table-row"}),a(M,{type:"table-row"}),a(M,{type:"table-row"}),a(M,{type:"table-row"}),a(M,{type:"table-row",class:"px-4"}),a(M,{type:"article"}),a(M,{type:"article"}),a(M,{type:"article"})],64)}const $n=J(bn,[["render",wn]]),kn=ae(()=>le(()=>Promise.resolve().then(()=>Zt),void 0,import.meta.url).then(l=>l.default||l)),Sn={key:0,class:"sub-header"},Vn={class:"search-bar-container white-containers"},Cn={class:"sub_header__logo"},Pn=["alt"],Tn=["innerHTML"],Dn={class:"sub_header__action"},Ln={class:"thesis-main-wrapper"},Bn={class:"thesis-components white-containers"},En={__name:"TheseView",props:{id:{type:String}},setup(l){const b=ae(()=>le(()=>import("./DYMgeGGK.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)),{mobile:w}=te(),{getThese:i,getButtons:f,getNNTifExists:g}=Ye(),T=d(!1),_=d(!1),c=d(!1),r=d(!1),m=d({}),u=d(""),S=d([]),R=d(!1),A=d([]),z=d([]),C=l;window.addEventListener("scroll",()=>{R.value=!0}),g(C.id).then(p=>{if(p.data.value)return Q("/"+p.data.value,{replace:!0})}),i(C.id).then(p=>{p.data.value===""&&Re({fatal:!0,statusCode:404,statusMessage:"Page introuvable"}),m.value=p.data.value,u.value=m.value.resumes.fr,Z(pe(m.value)),r.value=!p.pending.value}).catch(p=>{k(p.message)});const E=d(null);function k(p){var v;(v=E.value)==null||v.open(p,{type:"error"})}function I(){T.value=!1}function Z(p){p.status==="soutenue"&&f(p.nnt).then(v=>{v.data.value!==null&&typeof v.data.value.categories<"u"&&(s.value=v.data.value.categories,a.value=s.value.filter(j=>j.libelle==="Validé par le jury")[0].sousCategories,z.value=S.value.filter(j=>j.libelle==="Autres versions")[0].boutons,Y())}).catch(v=>{k("Accès en ligne : "+v.message)})}function Y(){A.value.forEach(p=>{if(p.libelle==="Dépôt national"){let v=p.boutons.findIndex(j=>j.typeAcces==="EMBARGO");if(v>-1){let j=p.boutons.splice(v,1);p.boutons.splice(0,0,pe(j[0]));let X=p.boutons.findIndex(B=>B.typeAcces==="ACCES_ESR");if(X>-1){let B=p.boutons.splice(X,1);p.boutons.splice(1,0,pe(B[0]))}}}})}function L(){c.value=!1,N(250).then(()=>{_.value=!_.value})}function y(){_.value=!1,N(250).then(()=>{c.value=!c.value})}function x(){T.value=!0}function N(p){return new Promise(v=>setTimeout(v,p))}return(p,v)=>{const j=he,X=we,B=kn,W=oe,H=$e,K=ke,F=yn,U=$n;return e(),n("div",null,[a(j,null,{default:o(()=>[a($(b),{ref_key:"messageBox",ref:E},null,512)]),_:1}),a(j,null,{default:o(()=>[$(w)?(e(),P(X,{key:0,type:"these",onDisplayError:k,onActivateMenu:L,onActivateSearchBar:y,onActivateThesisAccess:x,"categories-valide":A.value,"boutons-autres":z.value,"show-menu":_.value,"show-search-bar":c.value,"these-soutenue":m.value.isSoutenue,status:m.value.status},null,8,["categories-valide","boutons-autres","show-menu","show-search-bar","these-soutenue","status"])):h("",!0)]),_:1}),a(j,null,{default:o(()=>[a(De,{modelValue:T.value,"onUpdate:modelValue":v[0]||(v[0]=me=>T.value=me),eager:!0,"location-strategy":"static",persistent:!0,"no-click-animation":"",fullscreen:!0,"close-on-content-click":!1,transition:"dialog-top-transition","content-class":"full-screen"},{default:o(()=>[a(B,{source:m.value.source,soutenue:m.value.isSoutenue,status:m.value.status,"categories-valide":A.value,"boutons-autres":z.value,"date-soutenance":m.value.dateSoutenance,onCloseOverlay:I},null,8,["source","soutenue","status","categories-valide","boutons-autres","date-soutenance"])]),_:1},8,["modelValue"])]),_:1}),$(w)?h("",!0):(e(),n("div",Sn,[t("div",Vn,[t("div",Cn,[a(W,{to:{path:"/",query:{domaine:"theses"}},title:p.$t("homepage")},{default:o(()=>[t("img",{class:"logo",alt:p.$t("homepage"),id:"logoIMG",src:Se},null,8,Pn)]),_:1},8,["title"]),t("h1",{innerHTML:p.$t("slogan2lines")},null,8,Tn)]),t("div",Dn,[a(H),a(K,{onOnError:k})])])])),t("div",Ln,[t("div",Bn,[r.value?(e(),P(F,{key:0,soutenue:m.value.isSoutenue,nnt:C.id,these:m.value,"categories-valide":A.value,"boutons-autres":z.value},null,8,["soutenue","nnt","these","categories-valide","boutons-autres"])):h("",!0),a(j,null,{default:o(()=>[r.value?h("",!0):(e(),P(U,{key:0}))]),_:1})])])])}}},In=J(En,[["__scopeId","data-v-5594b3ed"]]),Rn={key:0,class:"sub-header"},An={class:"search-bar-container white-containers"},On={class:"sub_header__logo"},xn=["alt"],Mn=["innerHTML"],jn={class:"sub_header__action"},qn={class:"main-wrapper"},Kn={class:"result-components white-containers"},zn={class:"toolbar-container"},Nn={key:0,class:"skeleton-wrapper"},Fn={key:0,class:"info-wrapper"},Un={class:"info"},Hn={class:"nomprenom",id:"nomprenom"},Gn={class:"prenom"},Jn={class:"nom"},Xn=["href","title"],Qn=["alt","src"],Zn={class:"theses"},Yn={class:"sr-only"},Wn={key:0,class:"role-expansion-panel"},ea=["id"],ta={key:0,class:"result-dividers"},sa={__name:"PersonneView",props:{id:{type:String,required:!0}},setup(l){const b=Ae(),{mobile:w}=te(),i=ae(()=>le(()=>import("./DYMgeGGK.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)),{getPersonne:f}=We(),g=Oe(),T=d(!1),_=d(!1),c=d(!1),r=d({}),m=d([]),u=d(!1),{t:S}=de(),R=l;c.value=!1,f(R.id).then(y=>{y||Re({fatal:!0,statusCode:404,statusMessage:"Page introuvable"}),r.value=y,c.value=!0,typeof r.value.theses.auteur<"u"&&(m.value=[0]),ve({title:()=>`${r.value.prenom} ${r.value.nom} | Theses.fr`,ogTitle:()=>`${r.value.prenom} ${r.value.nom} | Theses.fr`,description:()=>S("meta.descPersonne")+r.value.prenom+" "+r.value.nom,ogDescription:()=>S("meta.descPersonne")+r.value.prenom+" "+r.value.nom,ogImage:"https://theses.fr/logo-theses-beta.png",ogImageAlt:"Logo Theses.fr",twitterCard:"summary",ogType:"website"}),be({meta:[{name:"DC.title",content:`${r.value.prenom} ${r.value.nom}`},{name:"DC.description.abstract",content:`${r.value.prenom} ${r.value.nom} | Theses.fr`},{name:"DC.source",content:"theses.fr"}]})}).catch(y=>{y.response?I(y.response.data.message,{isSticky:!0}):I(y.message)});const A=d(null);_e(()=>{ge(()=>{setTimeout(()=>{A.value&&A.value.focus({focusVisible:!1})},100)})}),Ee(()=>{var y;g.hash&&((y=document.getElementById(g.hash.substring(1)))==null||y.scrollIntoView({behavior:"smooth"}))});const z=d(null);function C(y){switch(y){case"auteur":return"Auteurs";case"directeur de thèse":return"Directeurs";case"rapporteur":return"Rapporteurs";case"président du jury":return"Presidents";case"membre du jury":return"Membres";default:return""}}function E(y){switch(y){case"Auteur / Autrice":return"auteur";case"Directeur / Directrice":return"directeur";case"Rapporteur / Rapporteuse":return"rapporteur";case"Président / Présidente du jury":return"president";case"Examinateur / Examinatrice":return"membre";default:return""}}function k(y){const x={};for(const[N,p]of Object.entries(y))x[N]=p.map(v=>({keyword:v,type:"sujet",query:"(sujetsLibelle:("+v+") OU sujetsRameauLibelle:("+v+"))"}));return{mapSujets:x}}function I(y,x){var N;(N=z.value)==null||N.open(y,{...x,type:"error"})}function Z(){T.value=!1,L(250).then(()=>{u.value=!u.value})}function Y(){u.value=!1,L(250).then(()=>{T.value=!T.value})}function L(y){return new Promise(x=>setTimeout(x,y))}return(y,x)=>{const N=he,p=we,v=oe,j=$e,X=ke,B=Ce,W=rt,H=Ke,K=je;return e(),n(V,null,[a(N,null,{default:o(()=>[a($(i),{ref_key:"messageBox",ref:z},null,512)]),_:1}),a(N,null,{default:o(()=>[$(w)?(e(),P(p,{key:0,onDisplayError:I,onActivateMenu:Z,onActivateSearchBar:Y,loading:_.value,"show-menu":u.value,"show-search-bar":T.value},null,8,["loading","show-menu","show-search-bar"])):h("",!0)]),_:1}),$(w)?h("",!0):(e(),n("div",Rn,[t("div",An,[t("div",On,[a(v,{to:{path:"/",query:{domaine:"theses"}},title:y.$t("homepage")},{default:o(()=>[t("img",{class:"logo IdRef",alt:y.$t("homepage"),id:"logoIMG",src:Se},null,8,xn)]),_:1},8,["title"]),t("h1",{innerHTML:y.$t("slogan2lines")},null,8,Mn)]),t("div",jn,[a(j),a(X,{loading:_.value,onOnError:I},null,8,["loading"])])])])),t("div",qn,[t("div",Kn,[t("div",zn,[a(B,{personne:""})]),a(N,null,{default:o(()=>[c.value?h("",!0):(e(),n("div",Nn,[a(M,{type:"list-item-avatar-two-line",class:"skeleton"}),a(M,{type:"divider",class:"skeleton"}),a(M,{type:"table-row"}),a(M,{type:"button",class:"skeleton"}),a(M,{type:"divider",class:"skeleton"}),(e(),n(V,null,O(4,F=>a(M,{key:F,type:"paragraph",class:"skeleton-cards"})),64))]))]),_:1}),c.value&&r.value!==null?(e(),n("div",Fn,[t("div",Un,[$(w)?h("",!0):(e(),P(W,{key:0})),t("div",{class:"nom-card",tabindex:"-1",ref_key:"firstFocusElement",ref:A,"aria-labelledby":"nomprenom"},[t("h1",Hn,[t("span",Gn,s(r.value.prenom+" "),1),t("span",Jn,s(r.value.nom),1)]),r.value.has_idref?(e(),n("a",{key:0,class:"idref-logo",href:`https://www.idref.fr/${r.value.id}`,target:"_blank",title:y.$t("footer.idRef")},[t("img",{alt:y.$t("footer.idRef"),id:"logoIdref",src:"/idref-icone-"+$(b)+".svg"},null,8,Qn),x[1]||(x[1]=t("span",null,"IdRef",-1))],8,Xn)):h("",!0)],512)]),a(H,{class:"thesis-component","data-ready":!0,keywordsAreSet:!0,type:"personnes",these:k(r.value.mots_cles)},null,8,["these"]),t("div",Zn,[a(ce,{multiple:"",modelValue:m.value,"onUpdate:modelValue":x[0]||(x[0]=F=>m.value=F),class:"role-expansion-panel-wrapper"},{default:o(()=>[t("h2",Yn,s(y.$t("roleList")),1),(e(),n(V,null,O(["Auteur / Autrice","Directeur / Directrice","Rapporteur / Rapporteuse","Président / Présidente du jury","Examinateur / Examinatrice"],F=>(e(),n(V,{key:F},[r.value.theses[F]&&r.value.theses[F].length>0?(e(),n("div",Wn,[a(re,null,{default:o(()=>[a(ie,null,{actions:o(({expanded:U})=>[a(G,{icon:U?"mdi-chevron-up":"mdi-chevron-down",size:"x-large"},null,8,["icon"])]),default:o(()=>[t("h3",{id:C(F)},s(y.$t("personnes.personneView.roles."+E(F),[r.value.theses[F].length])),9,ea)]),_:2},1024),a(ue,{role:"list"},{default:o(()=>[(e(!0),n(V,null,O(r.value.theses[F],(U,me)=>(e(),n("div",{role:"listitem",key:`${U.id}`,class:"card-wrapper"},[a(Me,{options:{threshold:1}},{default:o(()=>[a(K,{titre:U.titre,date:U.status==="enCours"?new Date(U.date_inscription).toLocaleDateString("en-GB"):new Date(U.date_soutenance).toLocaleDateString("en-GB"),auteur:U.auteurs,directeurs:U.directeurs,discipline:U.discipline,etab:U.etablissement_soutenance.nom,etabPPN:U.etablissement_soutenance.nnt,id:U.id,status:U.status},null,8,["titre","date","auteur","directeurs","discipline","etab","etabPPN","id","status"])]),_:2},1024),me',1)]))}const ra=J(aa,[["render",oa]]);function ia(l){return xe("/theses/getorganismename/"+l)}function ua(l){return xe("/theses/organisme/"+l)}function ze(){return{getName:ia,getOrganisme:ua}}const ca={key:0,class:"sub-header"},da={class:"search-bar-container white-containers"},ha={class:"sub_header__logo"},ma=["alt"],pa=["innerHTML"],va={class:"sub_header__action"},fa={class:"main-wrapper"},_a={class:"result-components white-containers"},ga={class:"toolbar-container"},ya={key:0,class:"skeleton-wrapper"},ba={key:1,class:"info-wrapper"},wa={class:"info"},$a={class:"nomprenom",id:"nomprenom-organisme"},ka=["href","alt","title"],Sa=["alt","src"],Va={class:"theses"},Ca={class:"sr-only"},Pa={key:0,class:"role-expansion-panel"},Ta={key:0,class:"result-dividers"},Da={key:0,class:"loadMoreButton"},La={__name:"OrganismeView",props:{id:{type:String,required:!0}},setup(l){const b=Ae(),{mobile:w}=te(),{t:i}=de(),f=ae(()=>le(()=>import("./DYMgeGGK.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)),{getName:g,getOrganisme:T}=ze(),_=l,c=d(!1),r=d({}),m=d("");c.value=!1;const u=d(!1),S=d(!1),R=d(!1),A=Le("isAdvanced");T(_.id).then(L=>{r.value=L.data.value,c.value=!0}).catch(L=>{L.response?k(L.response.data.message,{isSticky:!0}):k(L.message)}),g(_.id).then(L=>{m.value=L.data.value,Ve({title:()=>`${m.value} | Theses.fr`,ogTitle:()=>`${m.value} | Theses.fr`,description:()=>i("meta.descPersonne")+m.value,ogDescription:()=>i("meta.descPersonne")+m.value,ogImage:"https://theses.fr/logo-theses-beta.png",ogImageAlt:"Logo Theses.fr",twitterCard:"summary",ogType:"website"}),be({meta:[{name:"DC.title",content:`${m.value}`},{name:"DC.description.abstract",content:`${m.value} | Theses.fr`},{name:"DC.source",content:"theses.fr"}]})}).catch(L=>{L.response?k(L.response.data.message,{isSticky:!0}):k(L.message)});const z=d(null);_e(()=>{ge(()=>{setTimeout(()=>{z.value&&z.value.focus({focusVisible:!1})},100)})});async function C(L,y){switch(A.value=!0,L){case"etabSoutenance":await Q("/resultats?q=etabSoutenancePpn:"+y+"&domaine=theses&filtres=%255BStatut%253D%2522soutenue%2522%255D&avancee=true&fields[0][type]=defenseInstitution&fields[0][value]="+y);break;case"etabSoutenanceEnCours":await Q("/resultats?q=etabSoutenancePpn:"+y+"&domaine=theses&filtres=%255BStatut%253D%2522enCours%2522%255D&avancee=true&fields[0][type]=defenseInstitution&fields[0][value]="+y);break;case"partenaireRecherche":await Q("/resultats?q=partenairesRecherchePpn:"+y+"&domaine=theses&filtres=%255BStatut%253D%2522soutenue%2522%255D&avancee=true&fields[0][type]=partner&fields[0][value]="+y);break;case"partenaireRechercheEnCours":await Q("/resultats?q=partenairesRecherchePpn:"+y+"&domaine=theses&filtres=%255BStatut%253D%2522enCours%2522%255D&avancee=true&fields[0][type]=partner&fields[0][value]="+y);break;case"etabCotutelle":await Q("/resultats?q=etabsCotutellePpn:"+y+"&domaine=theses&filtres=%255BStatut%253D%2522soutenue%2522%255D&avancee=true&fields[0][type]=coSupervisionInstitution&fields[0][value]="+y);break;case"etabCotutelleEnCours":await Q("/resultats?q=etabsCotutellePpn:"+y+"&domaine=theses&filtres=%255BStatut%253D%2522enCours%2522%255D&avancee=true&fields[0][type]=coSupervisionInstitution&fields[0][value]="+y);break;case"ecoleDoctorale":await Q("/resultats?q=ecolesDoctoralesPpn:"+y+"&domaine=theses&filtres=%255BStatut%253D%2522soutenue%2522%255D&avancee=true&fields[0][type]=doctoralSchool&fields[0][value]="+y);break;case"ecoleDoctoraleEnCours":await Q("/resultats?q=ecolesDoctoralesPpn:"+y+"&domaine=theses&filtres=%255BStatut%253D%2522enCours%2522%255D&avancee=true&fields[0][type]=doctoralSchool&fields[0][value]="+y);break}}const E=d(null);function k(L,y){var x;(x=E.value)==null||x.open(L,{...y,type:"error"})}function I(){S.value=!1,Y(250).then(()=>{R.value=!R.value})}function Z(){R.value=!1,Y(250).then(()=>{S.value=!S.value})}function Y(L){return new Promise(y=>setTimeout(y,L))}return(L,y)=>{const x=he,N=we,p=oe,v=$e,j=ke,X=Ce,B=ra,W=je;return e(),n(V,null,[a(x,null,{default:o(()=>[a($(f),{ref_key:"messageBox",ref:E},null,512)]),_:1}),a(x,null,{default:o(()=>[$(w)?(e(),P(N,{key:0,onDisplayError:k,onActivateMenu:I,onActivateSearchBar:Z,loading:u.value,"show-menu":R.value,"show-search-bar":S.value},null,8,["loading","show-menu","show-search-bar"])):h("",!0)]),_:1}),$(w)?h("",!0):(e(),n("div",ca,[t("div",da,[t("div",ha,[a(p,{to:{path:"/",query:{domaine:"theses"}},title:L.$t("homepage")},{default:o(()=>[t("img",{class:"logo",alt:L.$t("homepage"),id:"logoIMG",src:Se},null,8,ma)]),_:1},8,["title"]),t("h1",{innerHTML:L.$t("slogan2lines")},null,8,pa)]),t("div",va,[a(v),a(j,{loading:u.value,onOnError:k},null,8,["loading"])])])])),t("div",fa,[t("div",_a,[t("div",ga,[a(X,{organisme:""})]),c.value?(e(),n("div",ba,[t("div",wa,[a(B),t("div",{class:"nom-card",tabindex:"-1",ref_key:"firstFocusElement",ref:z,"aria-labelledby":"nomprenom-organisme"},[t("h1",$a,s(m.value),1),t("a",{href:`https://www.idref.fr/${_.id}`,class:"idref-logo",target:"_blank",alt:L.$t("footer.idRef"),title:L.$t("footer.idRef")},[t("img",{alt:L.$t("footer.idRef"),id:"logoIdref",src:"/idref-icone-"+$(b)+".svg"},null,8,Sa),y[0]||(y[0]=t("span",null,"IdRef",-1))],8,ka)],512)]),t("div",Va,[a(ce,{multiple:"",class:"role-expansion-panel-wrapper"},{default:o(()=>[t("h2",Ca,s(L.$t("institutionList")),1),(e(),n(V,null,O(["etabSoutenance","etabSoutenanceEnCours","partenaireRecherche","partenaireRechercheEnCours","etabCotutelle","etabCotutelleEnCours","ecoleDoctorale","ecoleDoctoraleEnCours"],H=>(e(),n(V,{key:H},[r.value[H]&&r.value[H].length>0?(e(),n("div",Pa,[a(re,null,{default:o(()=>[a(ie,null,{actions:o(({expanded:K})=>[a(G,{icon:K?"mdi-chevron-up":"mdi-chevron-down",size:"x-large"},null,8,["icon"])]),default:o(()=>[t("h3",null,s(L.$t("organismeView."+H,[r.value["totalHits"+H]])),1)]),_:2},1024),a(ue,{role:"list"},{default:o(()=>[(e(!0),n(V,null,O(r.value[H],(K,F)=>(e(),n("div",{role:"listitem",key:K,class:"card-wrapper"},[a(Me,{options:{threshold:1}},{default:o(()=>[a(W,{titre:K.titrePrincipal,date:K.status==="enCours"?K.datePremiereInscriptionDoctorat:K.dateSoutenance,auteur:K.auteurs,directeurs:K.directeurs,discipline:K.discipline,etab:K.etabSoutenanceN,etabPPN:K.etabSoutenancePpn,id:K.id,status:K.status},null,8,["titre","date","auteur","directeurs","discipline","etab","etabPPN","id","status"])]),_:2},1024),F100?(e(),n("div",Da,[a(q,{variant:"outlined",size:"x-large",onClick:K=>C(H,_.id)},{default:o(()=>[D(s(L.$t("organismeView.voirPlus")),1)]),_:2},1032,["onClick"])])):h("",!0)]),_:2},1024)]),_:2},1024)])):h("",!0)],64))),64))]),_:1})])])):(e(),n("div",ya,[a(M,{type:"list-item-avatar-two-line",class:"skeleton"}),a(M,{type:"divider",class:"skeleton"}),(e(),n(V,null,O(4,H=>a(M,{key:H,type:"paragraph",class:"skeleton-cards"})),64))]))])])],64)}}},Ba=J(La,[["__scopeId","data-v-b1e9a1a7"]]),Ea={key:3,class:"skeleton-wrapper"},Ka={__name:"[id]",setup(l){const b=Oe(),{getName:w}=ze(),i=d(""),f=d(""),g=d("");i.value=b.params.id,T(i.value),g.value=b.hash,Ie(()=>b.params.id,async _=>{i.value=_,T(i.value)});function T(_){var c=/^[a-zA-Z0-9]{12}$/,r=/^[a-zA-Z0-9]{9}$/,m=/^s\d+$/;if(c.test(_))f.value="these";else if(r.test(_))w(_).then(u=>{u.data.value!==""?f.value="organisme":f.value="personne"}).catch(()=>"personne");else if(m.test(_))f.value="sujet";else throw Ze({statusCode:404,statusMessage:"Page Not Found"})}return(_,c)=>{const r=In,m=na,u=Ba;return f.value==="these"||f.value==="sujet"?(e(),P(r,{key:0,id:i.value},null,8,["id"])):f.value==="personne"?(e(),P(m,{key:1,id:i.value},null,8,["id"])):f.value==="organisme"?(e(),P(u,{key:2,id:i.value},null,8,["id"])):(e(),n("div",Ea,[a(M,{type:"list-item",class:"skeleton"}),a(M,{type:"divider",class:"skeleton"}),(e(),n(V,null,O(4,S=>a(M,{key:S,type:"paragraph",class:"skeleton-cards"})),64))]))}}};export{Ka as default};

AltStyle によって変換されたページ (->オリジナル) /