PageSourceSearch

https://www.medici.tv/_nuxt_melbonis/3BfnHugU.js

js medici.tv collected 2026-09-24 08:52:27 UTC 3,732 bytes, 1 lines download raw bytes

1import{_ as B}from"./BouFb_UI.js";import{u as C}from"./Bt2INaRY.js";import{d as T,e as O,W as _,c as k,j as a,k as i,z as y,l as w,n as e,q as s,v as g,t as n,B as o,R as z,A as m,p as f,x as I,y as N,M as $,m as L,S,D as A}from"./CavFEDUa.js";import{u as P}from"./DEI7ORZH.js";import{u as x}from"./CLhbj_sZ.js";import{_ as R}from"./1eoN7oxk.js";const V=""+new URL("page-turner-logo.Bn8J7u_f.svg",import.meta.url).href,H={key:0,class:"picture relative inline-block h-auto w-full max-w-[464px] flex-[1_1_auto] shrink-0 items-center"},q={key:1,class:"picture relative inline-block h-auto w-full max-w-[464px] flex-[1_1_auto] shrink-0 items-center overflow-hidden lg:mb-0 lg:flex"},D=["src","alt"],E={key:0,class:"mt-3 flex justify-between gap-6"},J={class:"text-paragraph capitalize italic"},U={key:0,class:"text-paragraph flex gap-2"},W={clas:"xl:max-w-[552px]"},F={key:0,class:"mb-6 flex items-center gap-2"},G={class:"text-paragraph -mt-[2px]"},K=["src"],Q=["innerHTML"],ie=T({__name:"SectionHighlight",props:{slug:{},title:{},subtitle:{},picture:{},buttonText:{},url:{},target:{},withBackground:{type:Boolean},tagManagerContext:{},slideObject:{},bgColor:{},reverse:{type:Boolean},video:{}},setup(t){const{tr:r}=O(),{isLargerThan:u}=P(),l=t,v=A(!1);_(()=>{v.value=!0});const c=k(()=>l.slideObject?.type==="PageturnerArticle"),M=k(()=>l.slideObject?.type==="Movie"),p=c.value?`https://pageturner.medici.tv/en/${l.slideObject.slug}`:l.url,b=l.buttonText||c.value&&r("global.readArticle","Read the article")||M.value&&r("heroSlider.movie.watchNow"),d=l.picture||l.slideObject?.picture;return(h,X)=>{const j=B;return a(),i("div",{class:y(["highlight-section relative",t.bgColor])},[t.withBackground?(a(),w(j,{key:0,src:e(x)(e(u)("lg")?"https://media.medici.tv/chopin/homepage/highlight/highlight-desktop.jpg":"https://media.medici.tv/chopin/homepage/highlight/highlight-mobile.jpg",e(u)("lg")?1920:1200,e(u)("lg")?485:1200),alt:"",class:"absolute inset-0 z-[0] h-full w-full object-cover"},null,8,["src"])):s("",!0),e(v)?(a(),i("div",{key:1,class:y(["highlight relative z-10 flex flex-col flex-wrap gap-6 lg:flex-nowrap lg:gap-8 xl:max-w-[1200px]",[t.reverse?"lg:flex-row":"lg:flex-row-reverse",t.video&&"items-center",(t.withBackground||t.bgColor)&&"berlioz-container py-4 lg:py-8"]])},[t.video?(a(),i("div",H,[g(e(R),{id:`highlight-video-${t.slug}`,video:{...t.video,image:e(x)(e(d),464,"auto")},config:{floating:{mode:"never"},autostart:!1},"use-events":!1},null,8,["id","video"])])):e(d)?(a(),i("div",q,[n("div",null,[n("img",{src:e(x)(e(d),464,"auto",{dpr:2}),alt:t.title},null,8,D),e(c)?(a(),i("div",E,[n("p",J,o(e(r)("global.by","by"))+" "+o(t.slideObject?.author),1),t.slideObject?.reading_time?(a(),i("p",U,[g(e(z),{class:"[&_path]:fill-icon-default",icon:"timer"}),m(" "+o(t.slideObject?.reading_time)+" "+o(e(r)("global.min","min")),1)])):s("",!0)])):s("",!0)])])):s("",!0),n("div",W,[e(c)?(a(),i("div",F,[n("p",G,o(e(r)("global.readOn","À lire sur")),1),n("img",{src:e(V),alt:"Page Turner"},null,8,K)])):s("",!0),g(e(I),{class:"font-serif text-2xl font-bold"},{default:f(()=>[m(o(t.title),1)]),_:1}),n("p",{class:"highlight-content text-paragraph mx-0 my-4 text-lg lg:my-6",innerHTML:t.subtitle},null,8,Q),N(h.$slots,"cta-area",{},()=>[e(b)&&e(p)?(a(),w(e(S),L({key:0,class:"inline-block",url:e(p),target:e(c)?"_blank":t.target||"_self"},{...t.tagManagerContext&&("useTagManager"in h?h.useTagManager:e(C))({tagId:t.tagManagerContext.tagId,gtmType:"item",attrs:{id:"highlight-section-link",...t.tagManagerContext},parentId:t.tagManagerContext?.parentId})}),{default:f(()=>[g(e($),{appearance:"secondary"},{default:f(()=>[m(o(e(b)),1)]),_:1})]),_:1},16,["url","target"])):s("",!0)])])],2)):s("",!0)],2)}}});export{ie as _};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.