PageSourceSearch

https://www.medici.tv/_nuxt_melbonis/DyL9gzLr.js

js medici.tv collected 2026-10-01 10:23:33 UTC 5,478 bytes, 1 lines download raw bytes

1import{_ as J}from"./CE-ULg7b.js";import{_ as O}from"./DMXf8kN_.js";import{d as M,j as t,k as l,l as w,n as e,an as Q,t as s,B as i,q as v,e as W,C as X,w as Z,c as n,b4 as ee,v as r,p as f,A as _,F as B,r as H,a6 as te,g as ae,i as se,aj as le,x as oe,R as ie,bg as ne,m as re,bh as ce}from"./BgjTzObi.js";import{_ as ue}from"./CW3yFbkE.js";import{u as me}from"./CrOZEb0f.js";import{u as de}from"./Bxf2H75l.js";import{u as pe}from"./Bl3NT4-t.js";import{u as fe}from"./BjpXoj8R.js";import{_ as _e}from"./C0lPRP-R.js";import"./BkozxdWw.js";import"./DmtLj15z.js";import"./q6jgvOMq.js";import"./BshOeUjT.js";import"./C8PQ5liz.js";const ve={class:"w-full shrink-0"},he={key:1},ge={key:0},xe={class:"text-caption text-sm"},be={key:2},ye=["src","alt"],we=["innerHTML"],$e={key:3,class:"h-0 w-full pb-[56.25%]"},ke=["src"],Ae={class:"text-caption text-sm"},Se=M({__name:"PageTurnerArticleSection",props:{position:{},type:{},width:{},caption:{default:void 0},text:{default:void 0},video:{default:void 0},isAvailable:{type:Boolean,default:void 0},movieName:{default:void 0},movieUrl:{default:void 0},image:{default:void 0},alt:{default:void 0},url:{default:void 0}},setup(a){function c(m){const h=new URL(m);return`https://www.youtube.com/embed/${new URLSearchParams(h.search).get("v")}?feature=oembed`}return(m,h)=>{const g=_e;return t(),l("section",ve,[a.type==="text"?(t(),w(e(Q),{key:0,text:a.text},null,8,["text"])):a.type==="medici_movie"?(t(),l("div",he,[a.isAvailable?(t(),w(g,{key:1,id:`pageturner-video-${a.position}`,video:{file:a.video},config:{floating:{mode:"never"},autostart:!1},mute:!1,"use-events":!1},null,8,["id","video"])):(t(),l("p",ge,"Not available")),s("p",xe,i(a.caption),1)])):a.type==="image"?(t(),l("div",be,[s("img",{src:a.image,alt:a.alt},null,8,ye),s("p",{class:"text-caption text-sm",innerHTML:a.caption},null,8,we)])):a.type==="youtube_video"?(t(),l("div",$e,[s("iframe",{class:"aspect-video h-auto w-full",src:c(a.url),frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""},null,8,ke),s("p",Ae,i(a.caption),1)])):v("",!0)])}}}),Le={class:"berlioz-container-small relative z-10 flex h-full max-w-[752px] flex-col items-center justify-center gap-4 self-stretch text-center"},De={class:"flex w-full justify-end"},Ne={class:"text-paragraph mt-4 text-center"},Pe={class:"light-theme bg-page pb-[72px] pt-10"},Be={class:"berlioz-container-small max-w-[752px]"},Ce={class:"flex w-full items-center justify-between"},Te={class:"mt-3 flex gap-6"},je={class:"text-paragraph"},ze={key:0,class:"text-paragraph flex gap-2"},He={key:0,class:"text-paragraph [first-letter]:capitalize flex gap-2"},We=M({__name:"[slug]",async setup(a){let c,m;const{buildSeo:h}=fe(),{formatDate:g}=pe(),{tr:$}=W(),k=X(),I=k.query?.preview,{data:x}=([c,m]=Z(()=>ae(`article-${k.params.slug}`,()=>se("PageturnerAPI").articleData({params:{slug:k.params.slug}},{previewId:I}))),c=await c,m(),c);function U(u){return"slug"in u}const o=n(()=>x.value&&U(x.value)?x.value:null);if(!x.value)throw ee({statusCode:404,statusMessage:"Page Not Found"});const C=n(()=>o.value?.id),d=n(()=>o.value?.category),T=n(()=>o.value?.name),R=n(()=>o.value?.subtitle),V=n(()=>o.value?.meta_description),A=n(()=>o.value?.author),j=n(()=>o.value?.reading_time),Y=n(()=>o.value?.sections);function q(u,z){const{type:S,column_width:L,caption:b,text:D,video_url:N,is_available:y,movie_name:p,watch_full:P,image_url:E,alt:G,url:K}=u;return{type:S,width:L,caption:b,text:D,video:N,isAvailable:y,movieName:p,movieUrl:P,image:E,alt:G,url:K,position:z}}const F=[{text:"Home",url:"/"},{text:"Page Turner",url:"/pageturner"},{text:d.value?.name,url:`/pageturner/${d.value?.slug}`}];return de(h({title:T.value,description:V.value})),(u,z)=>{const S=J,L=O,b=te,D=ue;return t(),l(B,null,[e(C)?(t(),w(S,{key:0,"content-id":e(C),"content-type":"pageturnerarticle"},null,8,["content-id"])):v("",!0),r(D,null,{default:f(()=>[s("div",Le,[s("div",De,[r(L,{title:e(d)?.name,class:"w-full md:w-auto [&>button]:w-full [&>button]:justify-start [&>button]:!border-transparent [&>button]:!bg-transparent"},null,8,["title"])]),r(b,{to:e(d)?.slug},{default:f(()=>[r(e(le),{class:"mb-3 first-letter:!normal-case",type:"page"},{default:f(()=>[_(i(e(d)?.name),1)]),_:1})]),_:1},8,["to"]),r(e(oe),{tag:"h1",class:"font-serif"},{default:f(()=>[_(i(e(T)),1)]),_:1}),s("p",Ne,i(e(R)),1)])]),_:1}),s("div",Pe,[s("div",Be,[s("div",Ce,[s("div",Te,[s("p",je,[_(i(e($)("global.by","by"))+" ",1),e(A)?(t
1(),w(b,{key:0,to:`/pageturner/authors/${e(A).slug}`,class:"italic underline-offset-2 hover:underline"},{default:f(()=>[_(i(e(A)?.name),1)]),_:1},8,["to"])):v("",!0)]),e(j)?(t(),l("p",ze,[r(e(ie),{class:"[&_path]:fill-icon-default",icon:"timer"}),_(" "+i(e(j))+" "+i(e($)("global.min","min")),1)])):v("",!0)]),e(o)?.date_publish?(t(),l("p",He,i(`${e($)("global.published","published")} ${e(g)(e(o)?.date_publish,"YYYY-MM-DD")}`),1)):v("",!0)])]),(t(!0),l(B,null,H(e(Y),(N,y)=>(t(),l("div",{key:`section-group-${y}`,class:"berlioz-container-small my-8 flex max-w-[752px] justify-center gap-4"},[(t(!0),l(B,null,H(N,(p,P)=>(t(),l("div",{key:`section-${p.type}-${P}`,style:ne({flexGrow:0,flexShrink:0,flexBasis:p.column_width/12*100+"%"})},[r(e(Se),re({ref_for:!0},q(p,y)),null,16)],4))),128))]))),128)),r(e(ce),{class:"berlioz-container-small max-w-[752px]",items:("useLinksList"in u?u.useLinksList:e(me))(F)},null,8,["items"])])],64)}}});export{We as default};

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