import{A as ue,a8 as qt,d as R,b9 as Me,e as s,i as v,w as z,j as f,Y as Ce,a5 as Ht,n as se,Z as ie,aj as Yt,m as I,q as ae,s as M,f as p,k as N,t as S,ag as Kt,u as P,c as $,aA as Ne,V as Ve,F as A,B as ge,X as k,a4 as te,Q as re,at as Jt,h as n,g as u,r as F,ac as ft,aH as Ye,ba as vt,bb as ht,a3 as Qt,as as Zt,b7 as E,az as Pe,W as Ue,ad as ne,p as de,aC as be,v as ye,R as O,y as gt,aN as oe,$ as me,ak as Be,aY as je,aS as Se,a9 as _e,G as fe,aa as ve,T as ee,a as Ge,bc as ce,a6 as ze,_ as Wt,bd as Xt,be as er}from"./index-B4gewkxT.js";import tr from"./NotFoundPage-B5kA9cvy.js";import{_ as rr}from"./ResourceIcon.vue_vue_type_script_setup_true_lang-DIa0V2r-.js";import{W as xe}from"./WysiwygWrapper-D8ikrT_U.js";import{P as bt}from"./Partners.api-BwNQ-nrD.js";import{u as nr}from"./useMember-BYvqc1t2.js";import{s as or,a as sr,b as ar,c as lr,d as ir}from"./social-share-vSgg1TaY.js";import{u as Re}from"./useSeo-2IfVNzZf.js";import{u as he}from"./index-BBtxBH0G.js";import{C as cr}from"./CardWithBackgroundHeader-DC8B9ZFB.js";import{B as ur}from"./BasePlaceholder-Cm5ycjnX.js";import"./useMetaTag-B24ht-l8.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new l.Error().stack;r&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[r]="a50501ab-596d-4258-8d77-0c14eb9eb14a",l._sentryDebugIdIdentifier="sentry-dbid-a50501ab-596d-4258-8d77-0c14eb9eb14a")}catch{}})();function Ie(l){return ue().isLoggedIn||dr(l)&&!(l!=null&&l.private)}function dr(l){return(l==null?void 0:l.publishers)&&l.publishers.map(r=>r.name).includes(qt.PUBLIC)}const _r=R({__name:"ResourceContainerCard",props:{loading:{type:Boolean},private:{type:Boolean},error:{}},setup(l){const r=Me.LECLUB==="lenetwork";return(t,e)=>(s(),v(Yt,null,{default:z(()=>[f(ie,{tag:"article",class:se(["article",{"article--club":r}]),shadowless:""},{default:z(()=>[f(Ce,{class:"article__body"},{default:z(()=>[(t.loading||!t.private)&&!t.error?Ht(t.$slots,"default",{key:0},void 0,!0):(s(),v(tr,{key:1}))]),_:3})]),_:3},8,["class"])]),_:3}))}}),Ee=I(_r,[["__scopeId","data-v-5c049a43"]]),pr={class:"title"},mr=R({__name:"ResourceTitle",props:{title:{},loading:{type:Boolean}},setup(l){return(r,t)=>{const e=ae("placeholder");return M((s(),p("h1",pr,[N(S(r.title),1)])),[[e,r.loading]])}}}),$e=I(mr,[["__scopeId","data-v-e6972ac7"]]),fr={class:"category"},vr=R({__name:"ResourceCategory",props:{name:{}},setup(l){return(r,t)=>(s(),p("div",fr,[f(Kt,{small:""},{default:z(()=>[N(S(r.name),1)]),_:1})]))}}),le=I(vr,[["__scopeId","data-v-4f1383e5"]]),hr={class:"info"},gr=R({__name:"ResourceInfoBar",props:{date:{},duration:{},type:{}},setup(l){const r=l,{locale:t}=P(),e=$(()=>r.date&&Ne(new Date(r.date),{locale:t.value,format:Ve.DATE_FULL}));return(o,a)=>(s(),p("div",hr,[e.value?(s(),p(A,{key:0},[f(ge,{legacy:"",name:"clock",class:"info__icon"}),N(" "+S(e.value),1)],64)):k("",!0),o.duration?(s(),p(A,{key:1},[f(rr,{type:o.type,class:"info__icon"},null,8,["type"]),N(" "+S(o.duration),1)],64)):k("",!0)]))}}),Le=I(gr,[["__scopeId","data-v-93c7e454"]]),br=R({__name:"ResourceIntro",props:{content:{}},setup(l){return(r,t)=>r.content?(s(),v(xe,{key:0,class:"intro",content:r.content},null,8,["content"])):k("",!0)}}),we=I(br,[["__scopeId","data-v-ce15cedd"]]),yr={key:0,class:"partners"},kr={class:"partners__title"},Cr={class:"partners__wrapper"},Sr=["src","alt"],zr=["href"],Rr=["src","alt"],yt=R({__name:"ResourcePartnerList",props:{resourcePartners:{},inlinePartners:{},type:{},slug:{}},setup(l){const r=l,{t}=P(),e=$(()=>!!r.inlinePartners),{data:o}=te({queryKey:[re.ARTICLE_SINGLE_PARTNERS_QUERY,r.type,r.slug],queryFn:()=>bt.getPartnerList((r.inlinePartners||"").split(` `)),enabled:e});return(a,i)=>{const _=Jt("RouterLink");return a.resourcePartners&&a.resourcePartners.length>0||n(o)?(s(),p("div",yr,[u("h2",kr,S(n(t)("partners")),1),u("div",Cr,[n(o)?(s(),v(Ye,{key:0},{default:z(()=>[(s(!0),p(A,null,F(n(o),d=>(s(),v(_,{key:d.id,to:{name:n(ft).COMPANY_DETAILS,params:{slug:d.slug}},target:"_blank",rel:"noopener noreferrer"},{default:z(()=>[f(ie,null,{default:z(()=>[u("img",{src:d.logo,alt:d.name,class:"partners__logo"},null,8,Sr)]),_:2},1024)]),_:2},1032,["to"]))),128))]),_:1})):(s(),v(Ye,{key:1},{default:z(()=>[(s(!0),p(A,null,F(a.resourcePartners,d=>(s(),p("a",{key:d.id,href:d.url,target:"_blank",rel:"noopener noreferrer"},[f(ie,null,{default:z(()=>[u("img",{src:d.logo.url,alt:d.logo.alternativeText,class:"partners__logo"},null,8,Rr)]),_:2},1024)],8,zr))),128))]),_:1}))])])):k("",!0)}}});function Ke(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{partners:t=>{const{normalize:e}=t;return e(["En partenariat avec :"])}}}})}typeof Ke=="function"&&Ke(yt);const De=I(yt,[["__scopeId","data-v-ef2f9656"]]),Ir={class:"author"},Er={class:"title"},$r={class:"name"},kt=R({__name:"ResourceAuthor",props:{author:{},picture:{},loading:{type:Boolean}},setup(l){const{t:r}=P();return(t,e)=>{const o=ae("placeholder");return M((s(),p("div",Ir,[t.author?(s(),p(A,{key:0},[t.picture?(s(),v(ht,{key:0,src:t.picture,size:n(vt).SMALL},null,8,["src","size"])):k("",!0),u("div",null,[u("div",Er,S(n(r)("author")),1),u("div",$r,S(t.author),1)])],64)):k("",!0)])),[[o,{loading:t.loading,options:{width:100}}]])}}});function Je(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{author:t=>{const{normalize:e}=t;return e(["Rédigé par"])}},en:{author:t=>{const{normalize:e}=t;return e(["Written by"])}}}})}typeof Je=="function"&&Je(kt);const Te=I(kt,[["__scopeId","data-v-f74b375c"]]),Lr={class:"card__details"},wr={class:"card__name"},Dr={class:"mb-1r text-sm"},Tr={key:0},Or={key:1},Ar={key:0,class:"text-sm text-gray-3"},Ct=R({__name:"MemberCardCompact",props:{member:{default:void 0},loading:{type:Boolean,default:!1},shadowless:{type:Boolean,default:!1}},setup(l){const r=l,{t}=P(),{geolocation:e}=nr(r.member);return(o,a)=>{const i=ae("placeholder");return s(),v(ie,{class:"card",shadowless:o.shadowless},{default:z(()=>[f(Ce,{class:"card__content"},{default:z(()=>{var _,d,h,c,m;return[M(f(ht,{src:(_=o.member)==null?void 0:_.picture,size:n(vt).NORMAL,alt:n(t)("avatar")},null,8,["src","size","alt"]),[[i,{loading:o.loading}]]),u("div",Lr,[M((s(),p("div",wr,[N(S((d=o.member)==null?void 0:d.fullName),1)])),[[i,{loading:o.loading,options:{width:"55%"}}]]),M((s(),p("div",Dr,[(h=o.member)!=null&&h.position?(s(),p("div",Tr,S(o.member.position),1)):k("",!0),(c=o.member)!=null&&c.company?(s(),p("div",Or,"@ "+S((m=o.member.company)==null?void 0:m.name),1)):k("",!0)])),[[i,o.loading]]),o.loading||n(e)?M((s(),p("span",Ar,[N(S(n(e)),1)])),[[i,{loading:o.loading,options:{width:100}}]]):k("",!0)])]}),_:1})]),_:1},8,["shadowless"])}}});function Qe(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{avatar:t=>{const{normalize:e}=t;return e(["Photo de profil"])},link:t=>{const{normalize:e}=t;return e(["Voir le profil"])}}}})}typeof Qe=="function"&&Qe(Ct);const Pr=I(Ct,[["__scopeId","data-v-7d253728"]]),Fr={key:0,class:"members"},Mr={class:"members__title"},Nr={class:"members__list"},St=R({__name:"ResourceQuotedMemberList",props:{list:{},slug:{},type:{}},setup(l){const r=l,{t}=P(),e=ue(),o=$(()=>!!r.list),{redirectBounding:a}=Qt(),{data:i}=te({queryKey:[re.ARTICLE_SINGLE_MEMBERS_QUERY,r.type,r.slug],queryFn:()=>Zt.getMemberLightList((r.list||"").split(` `)),enabled:o}),_=$(()=>{switch(r.type){case E.ARTICLE:return t("title.article");case E.VIDEO:return t("title.video");case E.PODCAST:return t("title.podcast");case E.FOLDER:return t("title.folder");default:return""}}),d=h=>{const{is:c,...m}=a({member:h});return{redirectToMemberTag:c,bounding:m}};return(h,c)=>n(i)?(s(),p("div",Fr,[u("h2",Mr,S(_.value),1),u("div",Nr,[(s(!0),p(A,null,F(n(i),m=>(s(),v(Ue(d(m).redirectToMemberTag),Pe({key:m.id,ref_for:!0},d(m).bounding,{class:{"members__item--pointer":n(e).isLoggedIn}}),{default:z(()=>[f(Pr,{member:m,class:"members__item"},null,8,["member"])]),_:2},1040,["class"]))),128))])])):k("",!0)}});function Ze(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{title:{article:t=>{const{normalize:e}=t;return e(["Membres cités dans l'article"])},podcast:t=>{const{normalize:e}=t;return e(["Membres cités dans le podcast"])},video:t=>{const{normalize:e}=t;return e(["Membres apparaissant dans la vidéo"])},folder:t=>{const{normalize:e}=t;return e(["Membres apparaissant dans le dossier"])}}}}})}typeof Ze=="function"&&Ze(St);const Oe=I(St,[["__scopeId","data-v-0840318c"]]),Vr={class:"read__title"},Ur={class:"read__subtitle"},Br={class:"mb-1"},zt=R({__name:"ContinueReadArticleCard",props:{type:{}},setup(l){const r=l,t=window.location.href,{t:e}=P(),{analytics:o}=ne();function a(){return o==null||o.track(oe.COMMUNITY_RESOURCES_REGISTER),i.value=!0}const i=de(!1),_=$(()=>{switch(r.type){case E.PODCAST:return e("podcast_register_title");case E.ARTICLE:return e("article_register_title");case E.VIDEO:return e("video_register_title");default:return e("default_register_title")}}),d=$(()=>{switch(r.type){case E.PODCAST:return e("podcast_register_subtitle");case E.ARTICLE:return e("article_register_subtitle");case E.VIDEO:return e("video_register_subtitle");default:return e("default_register_subtitle")}});return(h,c)=>(s(),v(ie,{important:"",shadowless:"",class:"read"},{default:z(()=>[f(Ce,null,{default:z(()=>[u("p",Vr,S(n(e)("title")),1),u("p",Ur,S(n(e)("subtitle")),1),f(be,{theme:n(ye).PRIMARY,class:"read__button",onClick:a},{default:z(()=>[N(S(n(e)("submit")),1)]),_:1},8,["theme"]),f(be,{to:{name:n(O).LOGIN,query:{redirectUrl:n(t)}},theme:n(ye).DISCRET,class:"read__already"},{default:z(()=>[N(S(n(e)("already_loggedin")),1)]),_:1},8,["to","theme"])]),_:1}),f(gt,{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=m=>i.value=m),title:_.value,from:"resources",onSuccess:c[1]||(c[1]=m=>i.value=!1)},{subtitle:z(()=>[u("div",Br,S(d.value),1)]),_:1},8,["modelValue","title"])]),_:1}))}});function We(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{title:t=>{const{normalize:e}=t;return e(["Pour continuer votre lecture"])},subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous gratuitement au réseau Frenchfounders"])},submit:t=>{const{normalize:e}=t;return e(["S'inscrire"])},already_loggedin:t=>{const{normalize:e}=t;return e(["Déjà inscrit ? connectez-vous !"])},default_register_title:t=>{const{normalize:e}=t;return e(["Je rejoins Frenchfounders"])},podcast_register_title:t=>{const{normalize:e}=t;return e(["Je rejoins Frenchfounders pour consulter le podcast"])},article_register_title:t=>{const{normalize:e}=t;return e(["Je rejoins Frenchfounders pour consulter l’article"])},video_register_title:t=>{const{normalize:e}=t;return e(["Je rejoins Frenchfounders pour consulter la vidéo"])},default_register_subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous ci-dessous pour rejoindre Frenchfounders."])},podcast_register_subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous ci-dessous pour rejoindre Frenchfounders et lire le podcast, celui-ci étant réservé exclusivement aux membres de notre réseau."])},article_register_subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous ci-dessous pour rejoindre Frenchfounders et lire l’article, celui-ci étant réservé exclusivement aux membres de notre réseau."])},video_register_subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous ci-dessous pour rejoindre Frenchfounders et lire la vidéo, celle-ci étant réservée exclusivement aux membres de notre réseau."])}}}})}typeof We=="function"&&We(zt);const Rt=I(zt,[["__scopeId","data-v-bf04d3ae"]]),jr={key:0,class:"player"},Gr={key:1,class:"player"},xr={class:"player__container"},qr=["src"],Hr=R({__name:"ResourceVideoPlayer",props:{iframe:{},disabled:{type:Boolean},loading:{type:Boolean}},setup(l){return(r,t)=>{const e=ae("placeholder");return r.loading?M((s(),p("div",jr,null,512)),[[e,{loading:r.loading,options:{width:"100%"}}]]):(s(),p("div",Gr,[u("div",xr,[r.iframe&&!r.disabled?(s(),p("iframe",{key:0,allow:"autoplay; fullscreen",width:"100%",height:"500",frameborder:"0",allowfullscreen:"",modestbranding:"1",autohide:"1",src:r.iframe,class:"player__iframe"},null,8,qr)):k("",!0)]),r.disabled?(s(),v(Rt,{key:0,type:n(E).VIDEO},null,8,["type"])):k("",!0)]))}}}),It=I(Hr,[["__scopeId","data-v-4108d70e"]]),Yr={class:"network"},Kr={class:"network__title"},Jr={class:"network__social"},Qr=["href"],Et=R({__name:"ResourceShare",props:{article:{},loading:{type:Boolean}},setup(l){const r=l,{t}=P(),e=$(()=>{var a,i,_,d;return{url:window.location.href,title:r.article.title,description:r.article.intro,hashtags:(i=(a=r.article)==null?void 0:a.category)!=null&&i.name?[(d=(_=r.article)==null?void 0:_.category)==null?void 0:d.name]:void 0}}),o=[{network:"twitter",icon:"x",action:or(e.value)},{network:"linkedin",icon:"linkedin",action:sr(e.value)},{network:"email",icon:"mail",action:ar(e.value)},{network:"facebook",icon:"facebook",action:lr(e.value)},{network:"whatsapp",icon:"xmlid-468",action:ir(e.value)}];return(a,i)=>{const _=ae("placeholder");return M((s(),p("div",Yr,[a.article?(s(),p(A,{key:0},[u("div",Kr,S(n(t)("share")),1),u("div",Jr,[(s(),p(A,null,F(o,d=>u("div",{key:d.network},[u("a",{href:d.action,target:"_blank",rel:"noopener noreferrer"},[d.icon==="mail"?(s(),v(ge,{key:0,name:d.icon,class:"network__icon"},null,8,["name"])):(s(),v(ge,{key:1,name:d.icon,legacy:""},null,8,["name"]))],8,Qr)])),64))])],64)):k("",!0)])),[[_,{loading:a.loading,options:{width:100}}]])}}});function Xe(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{share:t=>{const{normalize:e}=t;return e(["Partager l'article"])}}}})}typeof Xe=="function"&&Xe(Et);const Ae=I(Et,[["__scopeId","data-v-9007c5fe"]]),Zr={key:0,class:"content"},Wr={key:1},Xr=R({__name:"ResourceContent",props:{content:{},disabled:{type:Boolean},loading:{type:Boolean}},setup(l){return(r,t)=>{const e=ae("placeholder");return r.loading?M((s(),p("div",Zr,null,512)),[[e,{loading:r.loading,options:{width:"100%"}}]]):(s(),p("div",Wr,[r.content?(s(),v(xe,{key:0,class:se(["content",{"content--disabled":r.disabled}]),content:r.content},null,8,["class","content"])):k("",!0),r.disabled?(s(),v(Rt,{key:1,type:n(E).ARTICLE},null,8,["type"])):k("",!0)]))}}}),qe=I(Xr,[["__scopeId","data-v-6e958888"]]),en={key:0,class:"banner"},tn={key:0},$t=R({__name:"ArticleNotPublishedBanner",props:{publishedDate:{}},setup(l){const r=l,{t}=P(),e=ue(),o=$(()=>!r.publishedDate||!e.hasRole(me.ADMIN)?!1:(typeof r.publishedDate=="string"?new Date(r.publishedDate):r.publishedDate).getTime()>new Date().getTime());return(a,i)=>o.value?(s(),p("div",en,[u("h2",null,S(n(t)("article_not_published.title")),1),a.publishedDate?(s(),p("p",tn,S(n(t)("article_not_published.text",{date:n(Ne)(a.publishedDate,{format:n(Ve).DATE_SHORT})})),1)):k("",!0)])):k("",!0)}});function et(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{"article_not_published.title":t=>{const{normalize:e}=t;return e(["Article non publié"])},"article_not_published.text":t=>{const{normalize:e,interpolate:o,named:a}=t;return e(["Cet article ne sera pas visible avant le ",o(a("date"))," par les utilisateurs. Vous voyez cet article car vous êtes administrateur."])}},en:{"article_not_published.title":t=>{const{normalize:e}=t;return e(["Unpublished article"])},"article_not_published.text":t=>{const{normalize:e,interpolate:o,named:a}=t;return e(["This article will not be visible before ",o(a("Date"))," by users.You see this article because you are a director."])}}}})}typeof et=="function"&&et($t);const Lt=I($t,[["__scopeId","data-v-38938e64"]]),rn={class:"space-between"},nn={class:"tags"},on={class:"two-cols"},sn={class:"col-left"},an={class:"space-between"},ln={class:"col-right"},wt=R({__name:"PodcastFullDetailsCard",setup(l){const r=Be(),t=je(),{t:e}=P(),{breadcrumb:o}=Se(),{analytics:a}=ne(),i=ue(),{title:_,description:d,imageUrl:h}=Re(),c=r.params.slug,m=r.name,{data:g,isLoading:L,error:y}=te({queryKey:[re.PODCAST_SINGLE_QUERY,c],queryFn:()=>_e.getSinglePodcast(c)}),b=$(()=>Ie(g.value)),C=$(()=>{var w;return(w=g.value)!=null&&w.tags?g.value.tags.split(` `).filter(D=>D!==""):[]});return fe(g,()=>{if(!g.value)return null;g.value.published_date&&new Date(g.value.published_date)>new Date&&!i.hasRole(me.ADMIN)&&t.replace({name:O.RESOURCES_LIST}),a==null||a.track(oe.COMMUNITY_RESOURCES_PODCAST,{data:{id:g.value.id,title:g.value.title}}),_.value=g.value.title,g.value.description&&(d.value=g.value.description),g.value.cover&&(h.value=g.value.cover.url),o.value=[{label:e("resources"),to:{name:O.RESOURCES_LIST}},{label:e("resources_podcast"),to:{name:O.RESOURCES_LIST_PODCASTS}},{label:g.value.title}]},{immediate:!0}),(w,D)=>(s(),v(Ee,{loading:n(L),error:n(y)},{default:z(()=>{var T,V,U,B,j,G,x,q,H,Y,K,J,Q,Z,W;return[f(Lt,{class:"mb-6","published-date":(T=n(g))==null?void 0:T.published_date},null,8,["published-date"]),f($e,{title:(V=n(g))==null?void 0:V.title,loading:n(L)},null,8,["title","loading"]),f(we,{content:(U=n(g))==null?void 0:U.intro},null,8,["content"]),u("div",rn,[u("div",nn,[(B=n(g))!=null&&B.category?(s(),v(le,{key:0,name:(G=(j=n(g))==null?void 0:j.category)==null?void 0:G.name},null,8,["name"])):k("",!0),(s(!0),p(A,null,F(C.value,X=>(s(),v(le,{key:X,name:X},null,8,["name"]))),128))]),f(Le,{date:(x=n(g))==null?void 0:x.published_date,duration:(q=n(g))==null?void 0:q.duration,type:n(m)},null,8,["date","duration","type"])]),f(It,{iframe:(H=n(g))==null?void 0:H.player,disabled:!b.value,loading:n(L)},null,8,["iframe","disabled","loading"]),u("div",on,[u("div",sn,[(Y=n(g))!=null&&Y.description&&b.value?(s(),v(qe,{key:0,content:(K=n(g))==null?void 0:K.description,loading:n(L)},null,8,["content","loading"])):k("",!0),u("div",an,[f(Te,{author:(J=n(g))==null?void 0:J.author,loading:n(L)},null,8,["author","loading"]),n(g)?(s(),v(Ae,{key:0,article:n(g),loading:n(L)},null,8,["article","loading"])):k("",!0)])]),u("div",ln,[f(Oe,{list:(Q=n(g))==null?void 0:Q.speakers,slug:n(c),type:n(E).PODCAST},null,8,["list","slug","type"]),f(De,{"resource-partners":(Z=n(g))==null?void 0:Z.partners,"inline-partners":(W=n(g))==null?void 0:W.inline_partners,type:n(E).PODCAST,slug:n(c)},null,8,["resource-partners","inline-partners","type","slug"])])])]}),_:1},8,["loading","error"]))}});function tt(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{resources:t=>{const{normalize:e}=t;return e(["Ressources"])},resources_podcast:t=>{const{normalize:e}=t;return e(["Podcasts"])}},en:{resources:t=>{const{normalize:e}=t;return e(["Resources"])},resources_podcast:t=>{const{normalize:e}=t;return e(["Podcasts"])}}}})}typeof tt=="function"&&tt(wt);const cn=I(wt,[["__scopeId","data-v-b3f762dc"]]),un={class:"space-between"},dn={class:"tags"},_n={class:"two-cols"},pn={class:"col-left"},mn={class:"space-between"},fn={class:"col-right"},Dt=R({__name:"VideoFullDetailsCard",setup(l){const r=Be(),t=je(),{t:e}=P(),{breadcrumb:o}=Se(),{analytics:a}=ne(),i=ue(),{title:_,description:d,imageUrl:h}=Re(),c=r.params.slug,{data:m,isLoading:g,error:L}=te({queryKey:[re.VIDEO_SINGLE_QUERY,c],queryFn:()=>_e.getSingleVideo(c)}),y=$(()=>Ie(m.value)),b=$(()=>{var C;return(C=m.value)!=null&&C.tags?m.value.tags.split(` `).filter(w=>w!==""):[]});return fe(m,()=>{if(!m.value)return null;m.value.published_date&&new Date(m.value.published_date)>new Date&&!i.hasRole(me.ADMIN)&&t.replace({name:O.RESOURCES_LIST}),a==null||a.track(oe.COMMUNITY_RESOURCES_VIDEO,{data:{id:m.value.id,title:m.value.title}}),_.value=m.value.title,m.value.description&&(d.value=m.value.description),m.value.cover&&(h.value=m.value.cover.url),o.value=[{label:e("resources"),to:{name:O.RESOURCES_LIST}},{label:e("resources_video"),to:{name:O.RESOURCES_LIST_VIDEOS}},{label:m.value.title}]},{immediate:!0}),(C,w)=>(s(),v(Ee,{loading:n(g),error:n(L)},{default:z(()=>{var D,T,V,U,B,j,G,x,q,H,Y,K,J,Q,Z,W;return[f(Lt,{class:"mb-6","published-date":(D=n(m))==null?void 0:D.published_date},null,8,["published-date"]),f($e,{title:(T=n(m))==null?void 0:T.title,loading:n(g)},null,8,["title","loading"]),f(we,{content:(V=n(m))==null?void 0:V.intro},null,8,["content"]),u("div",un,[u("div",dn,[(U=n(m))!=null&&U.category?(s(),v(le,{key:0,name:(j=(B=n(m))==null?void 0:B.category)==null?void 0:j.name},null,8,["name"])):k("",!0),(s(!0),p(A,null,F(b.value,X=>(s(),v(le,{key:X,name:X},null,8,["name"]))),128))]),f(Le,{date:(G=n(m))==null?void 0:G.published_date,duration:(x=n(m))==null?void 0:x.duration,type:(q=n(m))==null?void 0:q.type},null,8,["date","duration","type"])]),f(It,{iframe:(H=n(m))==null?void 0:H.iframe,disabled:!y.value,loading:n(g)},null,8,["iframe","disabled","loading"]),u("div",_n,[u("div",pn,[(Y=n(m))!=null&&Y.description&&y.value?(s(),v(qe,{key:0,content:(K=n(m))==null?void 0:K.description,loading:n(g)},null,8,["content","loading"])):k("",!0),u("div",mn,[f(Te,{author:(J=n(m))==null?void 0:J.author,loading:n(g)},null,8,["author","loading"]),n(m)?(s(),v(Ae,{key:0,article:n(m),loading:n(g)},null,8,["article","loading"])):k("",!0)])]),u("div",fn,[f(Oe,{list:(Q=n(m))==null?void 0:Q.speakers,slug:n(c),type:n(E).VIDEO},null,8,["list","slug","type"]),f(De,{"resource-partners":(Z=n(m))==null?void 0:Z.partners,"inline-partners":(W=n(m))==null?void 0:W.inline_partners,type:n(E).VIDEO,slug:n(c)},null,8,["resource-partners","inline-partners","type","slug"])])])]}),_:1},8,["loading","error"]))}});function rt(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{resources:t=>{const{normalize:e}=t;return e(["Ressources"])},resources_video:t=>{const{normalize:e}=t;return e(["Vidéos"])}},en:{resources:t=>{const{normalize:e}=t;return e(["Resources"])},resources_video:t=>{const{normalize:e}=t;return e(["Videos"])}}}})}typeof rt=="function"&&rt(Dt);const vn=I(Dt,[["__scopeId","data-v-0bcbfdfa"]]),hn={class:"cover"},gn=["src"],bn={key:1,class:"cover__legend"},yn=R({__name:"ResourceCover",props:{cover:{},legend:{}},setup(l){return(r,t)=>(s(),p("figure",hn,[r.cover?(s(),p("img",{key:0,src:r.cover.url,alt:"",class:"cover__image"},null,8,gn)):k("",!0),r.legend?(s(),p("figcaption",bn,S(r.legend),1)):k("",!0)]))}}),Tt=I(yn,[["__scopeId","data-v-e2bbc9c6"]]),kn={class:"action"},Cn=["href"],Sn={class:"action__inner"},zn=R({__name:"ResourceLinkAction",props:{link:{},label:{}},setup(l){return(r,t)=>(s(),p("div",kn,[r.link?(s(),p("a",{key:0,href:r.link,target:"_blank",rel:"noopener noreferrer",class:"action__link"},[u("span",Sn,S(r.label||r.link),1),f(ge,{legacy:"",name:"arrow-right",class:"action__icon"})],8,Cn)):k("",!0)]))}}),Ot=I(zn,[["__scopeId","data-v-271db146"]]),Rn={key:0,class:"banner"},In={key:0},At=R({__name:"ArticleNotPublishedBanner",props:{publishedDate:{}},setup(l){const r=l,{t}=P(),e=ue(),o=$(()=>!r.publishedDate||!e.hasRole(me.ADMIN)?!1:(typeof r.publishedDate=="string"?new Date(r.publishedDate):r.publishedDate).getTime()>new Date().getTime());return(a,i)=>o.value?(s(),p("div",Rn,[u("h2",null,S(n(t)("article_not_published.title")),1),a.publishedDate?(s(),p("p",In,S(n(t)("article_not_published.text",{date:n(Ne)(a.publishedDate,{format:n(Ve).DATE_SHORT})})),1)):k("",!0)])):k("",!0)}});function nt(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{"article_not_published.title":t=>{const{normalize:e}=t;return e(["Article non publié"])},"article_not_published.text":t=>{const{normalize:e,interpolate:o,named:a}=t;return e(["Cet article ne sera pas visible avant le ",o(a("date"))," par les utilisateurs. Vous voyez cet article car vous êtes administrateur."])}},en:{"article_not_published.title":t=>{const{normalize:e}=t;return e(["Unpublished article"])},"article_not_published.text":t=>{const{normalize:e,interpolate:o,named:a}=t;return e(["This article will not be visible before ",o(a("Date"))," by users.You see this article because you are a director."])}}}})}typeof nt=="function"&&nt(At);const En=I(At,[["__scopeId","data-v-39cb92c6"]]),$n={class:"space-between"},Ln={class:"tags"},wn={class:"two-cols"},Dn={class:"col-left"},Tn={class:"space-between"},On={class:"col-right"},Pt=R({__name:"ArticleDetailsItem",props:{articleId:{}},setup(l){const r=l,{title:t,description:e,imageUrl:o}=Re(),{t:a}=P(),i=je(),{breadcrumb:_}=Se(),d=ue(),{analytics:h}=ne(),{data:c,isLoading:m,error:g}=te({queryKey:[re.ARTICLE_SINGLE_QUERY,r.articleId],queryFn:()=>_e.getSingleArticle(r.articleId),gcTime:1e9,staleTime:ve({hours:1})}),L=$(()=>{var b;return(b=c.value)!=null&&b.tags?c.value.tags.split(` `).filter(C=>C!==""):[]}),y=$(()=>Ie(c.value));return fe(c,()=>{if(!c.value)return null;c.value.published_date&&new Date(c.value.published_date)>new Date&&!d.hasRole(me.ADMIN)&&(Me.LECLUB==="lenetwork"?i.replace({name:ee.ARTICLE_LIST}):i.replace({name:O.RESOURCES_LIST})),t.value=c.value.title,c.value.description&&(e.value=c.value.description),c.value.image&&(o.value=c.value.image.url),h==null||h.track(oe.COMMUNITY_RESOURCES_ARTICLE,{data:{id:c.value.id,title:c.value.title}}),_.value=[{label:a("resources"),to:{name:O.RESOURCES_LIST}},{label:a("resources_article"),to:{name:O.RESOURCES_LIST_ARTICLES}},{label:c.value.title}]},{immediate:!0}),(b,C)=>(s(),v(Ee,{loading:n(m),error:n(g)},{default:z(()=>{var w,D,T,V,U,B,j,G,x,q,H,Y,K,J,Q,Z,W,X;return[f(En,{class:"mb-6","published-date":(w=n(c))==null?void 0:w.published_date},null,8,["published-date"]),f($e,{title:(D=n(c))==null?void 0:D.title,loading:n(m)},null,8,["title","loading"]),f(we,{content:(T=n(c))==null?void 0:T.intro},null,8,["content"]),u("div",$n,[u("div",Ln,[(V=n(c))!=null&&V.category?(s(),v(le,{key:0,name:(B=(U=n(c))==null?void 0:U.category)==null?void 0:B.name},null,8,["name"])):k("",!0),(s(!0),p(A,null,F(L.value,pe=>(s(),v(le,{key:pe,name:pe},null,8,["name"]))),128))]),f(Le,{date:(j=n(c))==null?void 0:j.published_date,duration:(G=n(c))==null?void 0:G.duration,type:(x=n(c))==null?void 0:x.type},null,8,["date","duration","type"])]),f(Tt,{cover:(q=n(c))==null?void 0:q.cover,legend:(H=n(c))==null?void 0:H.legend},null,8,["cover","legend"]),u("div",wn,[u("div",Dn,[f(qe,{content:(Y=n(c))==null?void 0:Y.description,disabled:!y.value,loading:n(m)},null,8,["content","disabled","loading"]),f(Ot,{link:(K=n(c))==null?void 0:K.link,label:(J=n(c))==null?void 0:J.link_label},null,8,["link","label"]),u("div",Tn,[f(Te,{author:(Q=n(c))==null?void 0:Q.author,loading:n(m)},null,8,["author","loading"]),n(c)?(s(),v(Ae,{key:0,article:n(c),loading:n(m)},null,8,["article","loading"])):k("",!0)])]),u("div",On,[f(Oe,{list:(Z=n(c))==null?void 0:Z.members,slug:b.articleId,type:n(E).ARTICLE},null,8,["list","slug","type"]),f(De,{"resource-partners":(W=n(c))==null?void 0:W.partners,"inline-partners":(X=n(c))==null?void 0:X.inline_partners,type:n(E).ARTICLE,slug:b.articleId},null,8,["resource-partners","inline-partners","type","slug"])])])]}),_:1},8,["loading","error"]))}});function ot(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{resources:t=>{const{normalize:e}=t;return e(["Ressources"])},resources_article:t=>{const{normalize:e}=t;return e(["Articles"])}},en:{resources:t=>{const{normalize:e}=t;return e(["Resources"])},resources_article:t=>{const{normalize:e}=t;return e(["Articles"])}}}})}typeof ot=="function"&&ot(Pt);const An=I(Pt,[["__scopeId","data-v-2385f348"]]),Pn={class:"discover"},Fn={class:"discover__title title-4"},Mn={class:"discover__content p-4 text-lg text-royale"},Nn=["href"],Ft=R({__name:"LinkCard",props:{header:{},titles:{},links:{},context:{}},setup(l){const r=l,{t}=P(),{analytics:e}=ne(),o=()=>{var a,i;e==null||e.track(((a=r.context)==null?void 0:a.from)||"",{data:{id:(i=r.context)==null?void 0:i.id}})};return(a,i)=>(s(),p("div",Pn,[u("div",Fn,S(a.header?a.header:n(t)("discover")),1),u("div",Mn,[(s(!0),p(A,null,F(a.links,(_,d)=>(s(),p("a",{key:d,class:"cursor-pointer",href:_,onClick:o},S(a.titles[d]),9,Nn))),128))])]))}});function st(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{discover:t=>{const{normalize:e}=t;return e(["Découvrez aussi"])}},en:{discover:t=>{const{normalize:e}=t;return e(["Also discover"])}}}})}typeof st=="function"&&st(Ft);const Vn=I(Ft,[["__scopeId","data-v-0bdb4b21"]]),Un={class:"resource__title text-sm font-medium"},Mt=R({__name:"RessourceCompactCard",props:{resource:{},loading:{type:Boolean},context:{}},setup(l){const r=l,{analytics:t}=ne(),e=$(()=>{var a;switch((a=r.resource)==null?void 0:a.type){case E.ARTICLE:return O.ARTICLE_SINGLE;case E.VIDEO:return O.VIDEO_SINGLE;case E.PODCAST:return O.PODCAST_SINGLE;default:return O.ARTICLE_SINGLE}}),o=()=>{var a,i,_;t==null||t.track(((a=r.context)==null?void 0:a.from)||"",{id:(i=r.context)==null?void 0:i.id,resource:(_=r.resource)==null?void 0:_.slug})};return(a,i)=>{var d,h;const _=ae("placeholder");return s(),v(cr,{to:a.resource&&{name:e.value,params:{slug:a.resource.slug}},class:"resource",picture:a.resource&&((h=(d=a.resource)==null?void 0:d.cover)==null?void 0:h.url),loading:a.loading,small:"",onClick:o},{default:z(()=>{var c;return[M((s(),p("div",Un,[N(S((c=a.resource)==null?void 0:c.title),1)])),[[_,{loading:a.loading,options:{width:"60%"}}]])]}),_:1},8,["to","picture","loading"])}}});function at(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{},en:{}}})}typeof at=="function"&&at(Mt);const ke=I(Mt,[["__scopeId","data-v-f5687a67"]]),Bn={class:"folder__listing"},jn={class:"folder__align"},Gn={class:"folder__separator mb-4"},xn={class:"title-4"},qn={key:0,class:"folder__controllers"},Hn={class:"folder__listing"},Nt=R({__name:"ArticlesContentList",props:{ids:{}},setup(l){const r=l,t=he("folderSlug"),{breakpoints:e}=Ge(),{t:o}=P(),a=de(0),i=$(()=>e.value.xl||e.value.xxl||e.value.lg||e.value.md?3:e.value.sm?2:1),{data:_,isSuccess:d,isError:h,isLoading:c}=te({queryKey:[re.ARTICLE_RESOURCES,r.ids],queryFn:async()=>Promise.all(r.ids.map(y=>_e.getSingleArticle(y))),select:y=>y.map(b=>({resource:b,context:{from:oe.COMMUNITY_RESOURCES_FOLDER,id:t.value}})),gcTime:1e9,staleTime:ve({hours:1})}),m=()=>{var b;if(!((b=_.value)!=null&&b.length))return;const y=Math.ceil(_.value.length/i.value)-1;a.value<y&&a.value++},g=()=>{a.value>0&&a.value--},L=$(()=>{var C;const y=a.value*i.value,b=y+i.value;return(C=_.value)==null?void 0:C.slice(y,b)});return(y,b)=>(s(),v(ze,{"is-success":n(d),"is-error":n(h),"is-loading":n(c)},{fallback:z(()=>[u("div",Bn,[(s(!0),p(A,null,F(i.value,C=>(s(),v(ke,{key:C,loading:n(c)},null,8,["loading"]))),128))])]),success:z(()=>{var C,w,D;return[u("div",jn,[u("div",Gn,[u("h4",xn,S(n(o)("title")),1),b[0]||(b[0]=u("span",{class:"folder__line"},null,-1))]),(C=n(_))!=null&&C.length&&((w=n(_))==null?void 0:w.length)>i.value?(s(),p("div",qn,[u("button",{type:"button",class:se(["folder__button",{"folder__button--disabled":a.value===0}]),onClick:g},[f(ce,{name:"arrow_back"})],2),u("button",{type:"button",class:se(["folder__button",{"folder__button--disabled":a.value===((D=L.value)==null?void 0:D.length)}]),onClick:m},[f(ce,{name:"arrow_forward"})],2)])):k("",!0)]),u("div",Hn,[(s(!0),p(A,null,F(L.value,T=>(s(),v(ke,{key:T.resource.id,resource:T.resource,context:T.context,class:"folder__card"},null,8,["resource","context"]))),128))])]}),_:1},8,["is-success","is-error","is-loading"]))}});function lt(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{title:t=>{const{normalize:e}=t;return e(["Nos articles pour vous"])}},en:{title:t=>{const{normalize:e}=t;return e(["Our articles for you"])}}}})}typeof lt=="function"&<(Nt);const Yn=I(Nt,[["__scopeId","data-v-b3148082"]]),Kn={class:"folder__listing"},Jn={class:"folder__align"},Qn={class:"folder__separator mb-4"},Zn={class:"title-4"},Wn={key:0,class:"folder__controllers"},Xn={class:"folder__listing"},Vt=R({__name:"VideosContentList",props:{ids:{}},setup(l){const r=l,t=he("folderSlug"),{breakpoints:e}=Ge(),o=de(0),{t:a}=P(),i=$(()=>e.value.xl||e.value.xxl||e.value.lg||e.value.md?3:e.value.sm?2:1),{data:_,isSuccess:d,isError:h,isLoading:c}=te({queryKey:[re.VIDEO_RESOURCES,r.ids],queryFn:async()=>Promise.all(r.ids.map(y=>_e.getSingleVideo(y))),select:y=>y.map(b=>({resource:b,context:{from:oe.COMMUNITY_RESOURCES_FOLDER,id:t.value}})),gcTime:1e9,staleTime:ve({hours:1})}),m=()=>{var b;if(!((b=_.value)!=null&&b.length))return;const y=Math.ceil(_.value.length/i.value)-1;o.value<y&&o.value++},g=()=>{o.value>0&&o.value--},L=$(()=>{var C;const y=o.value*i.value,b=y+i.value;return(C=_.value)==null?void 0:C.slice(y,b)});return(y,b)=>(s(),v(ze,{"is-success":n(d),"is-error":n(h),"is-loading":n(c)},{fallback:z(()=>[u("div",Kn,[(s(!0),p(A,null,F(i.value,C=>(s(),v(ke,{key:C,loading:n(c)},null,8,["loading"]))),128))])]),success:z(()=>{var C,w,D;return[u("div",Jn,[u("div",Qn,[u("h4",Zn,S(n(a)("title")),1),b[0]||(b[0]=u("span",{class:"folder__line"},null,-1))]),(C=n(_))!=null&&C.length&&((w=n(_))==null?void 0:w.length)>i.value?(s(),p("div",Wn,[u("button",{type:"button",class:se(["folder__button",{"folder__button--disabled":o.value===0}]),onClick:g},[f(ce,{name:"arrow_back"})],2),u("button",{type:"button",class:se(["folder__button",{"folder__button--disabled":o.value===((D=L.value)==null?void 0:D.length)}]),onClick:m},[f(ce,{name:"arrow_forward"})],2)])):k("",!0)]),u("div",Xn,[(s(!0),p(A,null,F(L.value,T=>(s(),v(ke,{key:T.resource.id,resource:T.resource,context:T.context,class:"folder__card"},null,8,["resource","context"]))),128))])]}),_:1},8,["is-success","is-error","is-loading"]))}});function it(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{title:t=>{const{normalize:e}=t;return e(["Nos vidéos pour vous"])}},en:{title:t=>{const{normalize:e}=t;return e(["Our videos for you"])}}}})}typeof it=="function"&&it(Vt);const eo=I(Vt,[["__scopeId","data-v-04d3b0ba"]]),to="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M24%208.64768H0V0H24V8.64768ZM0.959041%207.68816H23.0529V0.95952H0.959041V7.68816Z'%20fill='%230067DC'/%3e%3cpath%20d='M8.63137%2023.9999H0V15.3643H8.63137V23.9999ZM0.959041%2023.0404H7.67233V16.3238H0.959041V23.0404Z'%20fill='%230067DC'/%3e%3cpath%20d='M16.2917%2016.3237H7.67233V7.68799H16.3037L16.2917%2016.3237ZM8.63137%2015.3642H15.3447V8.64751H8.63137V15.3642Z'%20fill='%230067DC'/%3e%3cpath%20d='M8.63137%2016.3237H0V7.68799H8.63137V16.3237ZM0.959041%2015.3642H7.67233V8.64751H0.959041V15.3642Z'%20fill='%230067DC'/%3e%3cpath%20d='M8.63137%208.63568H0V0H8.63137V8.63568ZM0.959041%207.68816H7.67233V0.971514H0.959041V7.68816Z'%20fill='%230067DC'/%3e%3c/svg%3e",ro=["src"],no={class:"text-legacy underline"},oo=R({__name:"InterstitialCard",props:{title:{},to:{},href:{},context:{},loading:{type:Boolean}},setup(l){const r=l,{analytics:t}=ne(),e=()=>{var o,a;t==null||t.track(((o=r.context)==null?void 0:o.from)||"",{data:(a=r.context)==null?void 0:a.data})};return(o,a)=>{const i=ae("placeholder");return s(),v(Wt,{to:o.to,href:o.href,class:"interstitial",onClick:e},{default:z(()=>[u("img",{src:n(to)},null,8,ro),M((s(),p("div",no,[N(S(o.title),1)])),[[i,{loading:o.loading,options:{width:"25rem"}}]])]),_:1},8,["to","href"])}}}),Fe=I(oo,[["__scopeId","data-v-f21b1565"]]),so={class:"group__listing"},ao={class:"group__listing"},Ut=R({__name:"GroupsContent",props:{ids:{}},setup(l){const r=l,{t}=P(),e=he("folderSlug"),{data:o,isSuccess:a,isError:i,isLoading:_}=te({queryKey:[re.GROUP_RESOURCES,r.ids],queryFn:async()=>Promise.all(r.ids.map(d=>Xt.getCircle(d))),select:d=>d.map(h=>({id:h.data.id,to:{name:O.CIRCLE_SINGLE,params:{slug:h.data.slug}},title:t("discover_groups",{group:h.data.name}),context:{from:oe.COMMUNITY_RESOURCES_FOLDER,data:{id:e,groupId:h.data.slug}}})),gcTime:1e9,staleTime:ve({hours:1})});return(d,h)=>(s(),v(ze,{"is-success":n(a),"is-error":n(i),"is-loading":n(_)},{fallback:z(()=>[u("div",so,[f(Fe,{loading:n(_)},null,8,["loading"])])]),success:z(()=>[u("div",ao,[(s(!0),p(A,null,F(n(o),c=>(s(),v(Fe,{key:c.id,title:c.title,to:c.to,context:c.context},null,8,["title","to","context"]))),128))])]),_:1},8,["is-success","is-error","is-loading"]))}});function ct(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{discover_groups:t=>{const{normalize:e,interpolate:o,named:a}=t;return e(["Découvrez notre groupe « ",o(a("group"))," »"])}},en:{discover_groups:t=>{const{normalize:e,interpolate:o,named:a}=t;return e(["Discover our group « ",o(a("group"))," »"])}}}})}typeof ct=="function"&&ct(Ut);const lo=I(Ut,[["__scopeId","data-v-a96cd76a"]]),io={class:"company__logo-wrapper"},co=["src"],uo={class:"company__name mt-4"},_o={key:0,class:"company__location mt-2 text-sm"},po={class:"company__location-name"},Bt=R({__name:"CompanyCompactCard",props:{company:{},loading:{type:Boolean},context:{}},setup(l){const r=l,{analytics:t}=ne(),e=$(()=>{var a,i,_,d;return[(i=(a=r.company)==null?void 0:a.headquarters)==null?void 0:i.city,(d=(_=r.company)==null?void 0:_.headquarters)==null?void 0:d.country].filter(Boolean).join(", ")}),o=()=>{var a,i,_;t==null||t.track(((a=r.context)==null?void 0:a.from)||"",{id:(i=r.context)==null?void 0:i.id,company:(_=r.company)==null?void 0:_.id})};return(a,i)=>{var d;const _=ae("placeholder");return s(),v(ie,{class:"company p-4",to:a.company?{name:n(ft).COMPANY_DETAILS,params:{slug:(d=a.company)==null?void 0:d.slug}}:void 0,onClick:o},{default:z(()=>{var h,c;return[u("div",io,[a.loading?(s(),v(ur,{key:0,class:"company__logo",dark:""})):(s(),p("img",{key:1,class:"company__logo",src:((h=a.company)==null?void 0:h.logo)||n(er),alt:""},null,8,co))]),M((s(),p("div",uo,[N(S((c=a.company)==null?void 0:c.name),1)])),[[_,{loading:a.loading,options:{width:"60%"}}]]),e.value||a.loading?M((s(),p("div",_o,[f(ce,{name:"location_on"}),u("span",po,S(e.value),1)])),[[_,{loading:a.loading,options:{width:"50%"}}]]):k("",!0)]}),_:1},8,["to"])}}});function ut(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{},en:{}}})}typeof ut=="function"&&ut(Bt);const dt=I(Bt,[["__scopeId","data-v-31a9e7e7"]]),mo={class:"folder__listing"},fo={class:"folder__align"},vo={class:"folder__separator mb-4"},ho={class:"title-4"},go={key:0,class:"folder__controllers"},bo={class:"folder__listing"},jt=R({__name:"PartnersContentList",props:{ids:{}},setup(l){const r=l,t=he("folderSlug"),{breakpoints:e}=Ge(),o=de(0),{t:a}=P(),i=$(()=>e.value.xl||e.value.xxl||e.value.lg||e.value.md?3:e.value.sm?2:1),{data:_,isSuccess:d,isError:h,isLoading:c}=te({queryKey:[re.PARTNER_RESOURCES,r.ids],queryFn:async()=>Promise.all(r.ids.map(y=>bt.getPartner(y))),select:y=>y.map(b=>({company:b.data,context:{from:oe.COMMUNITY_RESOURCES_FOLDER,id:t.value}})),gcTime:1e9,staleTime:ve({hours:1})}),m=()=>{var b;if(!((b=_.value)!=null&&b.length))return;const y=Math.ceil(_.value.length/i.value)-1;o.value<y&&o.value++},g=()=>{o.value>0&&o.value--},L=$(()=>{var C;const y=o.value*i.value,b=y+i.value;return(C=_.value)==null?void 0:C.slice(y,b)});return(y,b)=>(s(),v(ze,{"is-success":n(d),"is-error":n(h),"is-loading":n(c)},{fallback:z(()=>[u("div",mo,[(s(!0),p(A,null,F(i.value,C=>(s(),v(dt,{key:C,loading:n(c)},null,8,["loading"]))),128))])]),success:z(()=>{var C,w,D;return[u("div",fo,[u("div",vo,[u("h4",ho,S(n(a)("title")),1),b[0]||(b[0]=u("span",{class:"folder__line"},null,-1))]),(C=n(_))!=null&&C.length&&((w=n(_))==null?void 0:w.length)>i.value?(s(),p("div",go,[u("button",{type:"button",class:se(["folder__button",{"folder__button--disabled":o.value===0}]),onClick:g},[f(ce,{name:"arrow_back"})],2),u("button",{type:"button",class:se(["folder__button",{"folder__button--disabled":o.value===((D=L.value)==null?void 0:D.length)}]),onClick:m},[f(ce,{name:"arrow_forward"})],2)])):k("",!0)]),u("div",bo,[(s(!0),p(A,null,F(L.value,T=>(s(),v(dt,{key:T.company.id,company:T.company,context:T.context,class:"folder__card"},null,8,["company","context"]))),128))])]}),_:1},8,["is-success","is-error","is-loading"]))}});function _t(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{title:t=>{const{normalize:e}=t;return e(["Nos partenaires pour vous"])}},en:{title:t=>{const{normalize:e}=t;return e(["Our partners for you"])}}}})}typeof _t=="function"&&_t(jt);const yo=I(jt,[["__scopeId","data-v-065f91c9"]]),ko={key:0,class:"folder"},Co={key:1,class:"flex"},So={key:0,class:"folder__listing"},zo={key:2},Ro=R({__name:"FolderContent",props:{content:{}},setup(l){const r=l,t=de([]),e=o=>{const a=/<pre><code>(.*?)<\/code><\/pre>/gs,i=o==null?void 0:o.split(a);return i?i.map((_,d)=>{try{const h=JSON.parse(_.trim().replace(/"/g,'"'));return h.articles&&(t.value[d]={type:"resource-list",component:Yn,props:{ids:h.articles}}),h.videos&&(t.value[d]={type:"resource-list",component:eo,props:{ids:h.videos}}),h.groups&&(t.value[d]={type:"resource-list",component:lo,props:{ids:h.groups}}),h.partners&&(t.value[d]={type:"resource-list",component:yo,props:{ids:h.partners}}),!h.articles&&!h.groups&&!h.partners&&!h.videos&&(t.value[d]={type:"json",data:h}),t.value[d]}catch{return{type:"text",content:_}}}):[]};return fe(()=>r.content,()=>{r.content&&(t.value=e(r.content))},{immediate:!0}),(o,a)=>t.value.length?(s(),p("div",ko,[(s(!0),p(A,null,F(t.value,(i,_)=>(s(),p("div",{key:_},[(i==null?void 0:i.type)==="text"?(s(),v(xe,{key:0,class:"folder__content",content:i.content},null,8,["content"])):(i==null?void 0:i.type)==="json"?(s(),p("div",Co,[i!=null&&i.data.withLogo?(s(),p("div",So,[(s(!0),p(A,null,F(i==null?void 0:i.data.titles,(d,h)=>{var c;return s(),v(Fe,{key:h,title:d,href:(c=i.data.links)==null?void 0:c[h]},null,8,["title","href"])}),128))])):(s(),v(Vn,Pe({key:1,ref_for:!0},i.data),null,16))])):(i==null?void 0:i.type)==="resource-list"?(s(),p("div",zo,[(s(),v(Ue(i.component),Pe({ref_for:!0},i.props),null,16))])):k("",!0)]))),128))])):k("",!0)}}),Io=I(Ro,[["__scopeId","data-v-287e2a79"]]),Eo={class:"read__title"},$o={class:"read__subtitle"},Lo={class:"mb-1"},Gt=R({__name:"LockedContentBanner",props:{type:{}},setup(l){const r=l,t=window.location.href,{t:e}=P(),{analytics:o}=ne();function a(){return o==null||o.track(oe.COMMUNITY_RESOURCES_REGISTER),i.value=!0}const i=de(!1),_=$(()=>{switch(r.type){case E.PODCAST:return e("podcast_register_title");case E.ARTICLE:return e("article_register_title");case E.VIDEO:return e("video_register_title");case E.FOLDER:return e("folder_register_title");default:return e("default_register_title")}}),d=$(()=>{switch(r.type){case E.PODCAST:return e("podcast_register_subtitle");case E.ARTICLE:return e("article_register_subtitle");case E.VIDEO:return e("video_register_subtitle");case E.FOLDER:return e("folder_register_subtitle");default:return e("default_register_subtitle")}});return(h,c)=>(s(),v(ie,{important:"",class:"read"},{default:z(()=>[f(Ce,null,{default:z(()=>[u("p",Eo,S(n(e)("title")),1),u("p",$o,S(n(e)("subtitle")),1),f(be,{theme:n(ye).PRIMARY,class:"read__button",onClick:a},{default:z(()=>[N(S(n(e)("submit")),1)]),_:1},8,["theme"]),f(be,{to:{name:n(O).LOGIN,query:{redirectUrl:n(t)}},theme:n(ye).DISCRET,class:"read__already"},{default:z(()=>[N(S(n(e)("already_loggedin")),1)]),_:1},8,["to","theme"])]),_:1}),f(gt,{modelValue:i.value,"onUpdate:modelValue":c[0]||(c[0]=m=>i.value=m),title:_.value,from:"resources",onSuccess:c[1]||(c[1]=m=>i.value=!1)},{subtitle:z(()=>[u("div",Lo,S(d.value),1)]),_:1},8,["modelValue","title"])]),_:1}))}});function pt(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{title:t=>{const{normalize:e}=t;return e(["Pour continuer votre lecture"])},subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous gratuitement au réseau Frenchfounders"])},submit:t=>{const{normalize:e}=t;return e(["S'inscrire"])},already_loggedin:t=>{const{normalize:e}=t;return e(["Déjà inscrit ? connectez-vous !"])},default_register_title:t=>{const{normalize:e}=t;return e(["Je rejoins Frenchfounders"])},podcast_register_title:t=>{const{normalize:e}=t;return e(["Je rejoins Frenchfounders pour consulter le podcast"])},article_register_title:t=>{const{normalize:e}=t;return e(["Je rejoins Frenchfounders pour consulter l’article"])},video_register_title:t=>{const{normalize:e}=t;return e(["Je rejoins Frenchfounders pour consulter la vidéo"])},folder_register_title:t=>{const{normalize:e}=t;return e(["Je rejoins Frenchfounders pour consulter le dossier"])},default_register_subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous ci-dessous pour rejoindre Frenchfounders."])},podcast_register_subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous ci-dessous pour rejoindre Frenchfounders et lire le podcast, celui-ci étant réservé exclusivement aux membres de notre réseau."])},article_register_subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous ci-dessous pour rejoindre Frenchfounders et lire l’article, celui-ci étant réservé exclusivement aux membres de notre réseau."])},video_register_subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous ci-dessous pour rejoindre Frenchfounders et lire la vidéo, celle-ci étant réservée exclusivement aux membres de notre réseau."])},folder_register_subtitle:t=>{const{normalize:e}=t;return e(["Inscrivez-vous ci-dessous pour rejoindre Frenchfounders et lire le dossier, celle-ci étant réservée exclusivement aux membres de notre réseau."])}},en:{title:t=>{const{normalize:e}=t;return e(["To continue reading"])},subtitle:t=>{const{normalize:e}=t;return e(["Register for free with the Frenchfounders network"])},submit:t=>{const{normalize:e}=t;return e(["Register"])},already_loggedin:t=>{const{normalize:e}=t;return e(["Already registered ? Sign in !"])},default_register_title:t=>{const{normalize:e}=t;return e(["I join Frenchfounders"])},podcast_register_title:t=>{const{normalize:e}=t;return e(["I join Frenchfounders to consult the podcast"])},article_register_title:t=>{const{normalize:e}=t;return e(["I join Frenchfounders to consult the article"])},video_register_title:t=>{const{normalize:e}=t;return e(["I join Frenchfounders to watch the video"])},folder_register_title:t=>{const{normalize:e}=t;return e(["I join Frenchfounders to consult the file"])},default_register_subtitle:t=>{const{normalize:e}=t;return e(["Sign up below to join Frenchfounders."])},podcast_register_subtitle:t=>{const{normalize:e}=t;return e(["Sign up below to join Frenchfounders and listen to the podcast, which is reserved exclusively for members of our network."])},article_register_subtitle:t=>{const{normalize:e}=t;return e(["Sign up below to join Frenchfounders and read the article, which is reserved exclusively for members of our network."])},video_register_subtitle:t=>{const{normalize:e}=t;return e(["Sign up below to join Frenchfounders and watch the video, which is reserved exclusively for members of our network."])},folder_register_subtitle:t=>{const{normalize:e}=t;return e(["Register below to join Frenchfounders and read the report, which is reserved exclusively for members of our network."])}}}})}typeof pt=="function"&&pt(Gt);const wo=I(Gt,[["__scopeId","data-v-e985bfac"]]),Do={class:"space-between"},To={class:"tags"},Oo={key:0,class:"two-cols"},Ao={class:"col-left"},Po={class:"space-between"},Fo={class:"col-right"},xt=R({__name:"FolderFullDetailsCard",setup(l){const r=he("folderSlug","",{transform:String}),{analytics:t}=ne(),{t:e}=P(),{data:o,isLoading:a,isError:i}=te({queryKey:[re.FOLDER_THEMATIC_SINGLE,r],queryFn:()=>_e.getSingleFolder(r.value),refetchOnMount:!0}),{title:_,description:d,imageUrl:h}=Re(),c=$(()=>Ie(o.value)),{breadcrumb:m}=Se(),g=$(()=>{var L;return(L=o.value)!=null&&L.tags?o.value.tags.split(` `).filter(y=>y!==""):[]});return fe(o,()=>{var L,y,b,C,w,D;_.value=((L=o.value)==null?void 0:L.title)||"",d.value=((y=o.value)==null?void 0:y.intro)||"",(b=o.value)!=null&&b.image&&(h.value=o.value.image.url),t==null||t.track(oe.COMMUNITY_RESOURCES_FOLDER,{id:(C=o.value)==null?void 0:C.id,title:(w=o.value)==null?void 0:w.title}),m.value=[{label:e("resources"),to:{name:O.RESOURCES_LIST}},{label:e("resources_folder"),to:{name:O.RESOURCES_LIST_VIDEOS}},{label:((D=o.value)==null?void 0:D.title)||""}]},{immediate:!0}),(L,y)=>(s(),v(Ee,{class:se(["content",{"content--disabled":!c.value}]),loading:n(a),error:n(i)},{default:z(()=>{var b,C,w,D,T,V,U,B,j,G,x,q,H,Y,K,J,Q,Z,W,X,pe;return[f($e,{title:(b=n(o))==null?void 0:b.title,loading:n(a)},null,8,["title","loading"]),f(we,{content:(C=n(o))==null?void 0:C.intro},null,8,["content"]),u("div",Do,[u("div",To,[(w=n(o))!=null&&w.category?(s(),v(le,{key:0,name:(T=(D=n(o))==null?void 0:D.category)==null?void 0:T.name},null,8,["name"])):k("",!0),(s(!0),p(A,null,F(g.value,He=>(s(),v(le,{key:He,name:He},null,8,["name"]))),128))]),f(Le,{date:(V=n(o))==null?void 0:V.published_date,duration:(U=n(o))==null?void 0:U.duration,type:(B=n(o))==null?void 0:B.type},null,8,["date","duration","type"])]),f(Tt,{cover:(j=n(o))==null?void 0:j.cover,legend:(G=n(o))==null?void 0:G.legend},null,8,["cover","legend"]),c.value?(s(),p("div",Oo,[u("div",Ao,[(x=n(o))!=null&&x.description?(s(),v(Io,{key:0,content:(q=n(o))==null?void 0:q.description},null,8,["content"])):k("",!0),f(Ot,{link:(H=n(o))==null?void 0:H.link,label:(Y=n(o))==null?void 0:Y.link_label},null,8,["link","label"]),u("div",Po,[f(Te,{author:(K=n(o))==null?void 0:K.author,picture:(Q=(J=n(o))==null?void 0:J.author_img)==null?void 0:Q.url,loading:n(a)},null,8,["author","picture","loading"]),n(o)?(s(),v(Ae,{key:0,article:n(o),loading:n(a)},null,8,["article","loading"])):k("",!0)])]),u("div",Fo,[f(Oe,{list:(Z=n(o))==null?void 0:Z.members,slug:n(r),type:n(E).ARTICLE},null,8,["list","slug","type"]),f(De,{"resource-partners":(W=n(o))==null?void 0:W.partners,"inline-partners":(X=n(o))==null?void 0:X.inline_partners,type:n(E).FOLDER,slug:n(r)},null,8,["resource-partners","inline-partners","type","slug"])])])):k("",!0),!c.value&&n(o)?(s(),v(wo,{key:1,class:"content-lock mt-8",type:(pe=n(o))==null?void 0:pe.type},null,8,["type"])):k("",!0)]}),_:1},8,["class","loading","error"]))}});function mt(l){const r=l;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{fr:{resources:t=>{const{normalize:e}=t;return e(["Ressources"])},resources_folder:t=>{const{normalize:e}=t;return e(["Dossiers"])}},en:{resources:t=>{const{normalize:e}=t;return e(["Resources"])},resources_folder:t=>{const{normalize:e}=t;return e(["Folders"])}}}})}typeof mt=="function"&&mt(xt);const Mo=I(xt,[["__scopeId","data-v-b6f75ea1"]]),No={class:"page"},Vo=R({__name:"ResourceSingle",setup(l){const r=Be(),t=r.name,e=$(()=>r.params.slug||r.params.id||r.params.folderSlug),o=$(()=>{switch(r.name){case O.ARTICLE_SINGLE:case ee.ARTICLE_SINGLE:default:return An;case O.VIDEO_SINGLE:case ee.VIDEO_SINGLE:return vn;case O.PODCAST_SINGLE:case ee.PODCAST_SINGLE:return cn;case O.FOLDER_SINGLE:return Mo}}),a=$(()=>{if(Me.LENETWORK==="lenetwork")return O.RESOURCES_LIST;switch(r.name){case ee.VIDEO_SINGLE:return ee.VIDEO_LIST;case ee.ARTICLE_SINGLE:return ee.ARTICLE_LIST;case ee.PODCAST_SINGLE:return ee.PODCAST_LIST;default:return ee.HOME}});return(i,_)=>(s(),p("div",No,[(s(),v(Ue(o.value),{type:n(t),"back-link":a.value,"article-id":e.value},null,8,["type","back-link","article-id"]))]))}}),Wo=I(Vo,[["__scopeId","data-v-385c6e23"]]);export{Wo as default}; //# sourceMappingURL=ResourceSingle-CDbRmNUS.js.map