1import{_ as v}from"./hBqAkKnG.js";import{_ as k}from"./CtUZTvqt.js";import{d as y,u as R,r as A,g as n,h as e,af as B,k as o,j as c,l as a,v as P,p as w,P as C,ad as S,t as V,Q as $,ah as N,ab as I,U as L,Y as T,o as l}from"./DesJAbks.js";const U={class:"grid lg:grid-cols-[auto,360px] gap-5"},j={key:0},z={key:1},D={key:0,class:"mt-10"},E={key:1,class:"mt-10"},Q={class:"bg-podcast text-white rounded-xl flex mt-2.5 max-w-360px"},W={class:"py-5 pl-5 max-w-215px"},Y={class:"text-xl font-semibold pb-2.5"},q={class:"relative flex items-end"},K=y({__name:"BlogRightPanelWrapper",props:{topArticles:{},mostReadArticles:{},banner:{},nepodcento:{}},setup(_){const t=_,r=R().blog,s=A(0);return(u,i)=>{var p;const g=v,d=k,m=N,f=I,h=L,x=T;return l(),n("div",U,[e("div",null,[B(u.$slots,"default")]),e("div",null,[o(g,{modelValue:a(s),"onUpdate:modelValue":i[0]||(i[0]=b=>P(s)?s.value=b:null),class:"font-semibold gap-2.5 text-24px border-primary border-opacity-40",items:[a(r).mostReadArticles,a(r).topArticles]},null,8,["modelValue","items"]),e("div",null,[a(s)===0?(l(),n("div",j,[o(d,{items:t.mostReadArticles},null,8,["items"])])):c("",!0),a(s)===1?(l(),n("div",z,[o(d,{items:t.topArticles},null,8,["items"])])):c("",!0)]),(p=t.banner)!=null&&p.link?(l(),n("div",D,[o(f,C(S(t.banner.link)),{default:w(()=>[o(m,{src:t.banner.image,width:"300",height:"600",class:"rounded-xl"},null,8,["src"])]),_:1},16)])):c("",!0),t.nepodcento?(l(),n("div",E,[i[1]||(i[1]=e("h3",null,"Poslechněte si",-1)),e("div",Q,[e("div",W,[e("div",Y,V(t.nepodcento.title),1),o(h,{document:t.nepodcento.text,class:"text-sm"},null,8,["document"]),o(x,$(t.nepodcento.button[0],{class:"mt-2.5"}),null,16)]),e("div",q,[o(m,{src:t.nepodcento.image,width:"134",height:"200"},null,8,["src"])])])])):c("",!0)])])}}});export{K 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.