import{d as g,a as $,o as e,f as y,h as k,q as l,W as a,k as o,j as r,t as d,e as i,M as _}from"./DBi78tix.js";const v={key:0,class:"mb-8 print:hidden"},C={key:1,class:"mb-1.5 md:mb-8"},w={class:"grid grid-cols-12 gap-x-2 md:gap-x-8 print:block"},B={class:"max-w-full flex-1 md:mb-6"},H={key:0,class:"mb-1.5 md:mb-8"},S={key:2,class:"print:hidden"},W={key:3,class:"mt-7 print:hidden"},P=g({__name:"PageSingle",props:{entry:{},sidebar:{type:Boolean}},setup(f){const t=f,c={header:t.entry.sectionHandle=="pages"?"col-span-full":"col-span-full md:col-start-2 md:col-span-10",main:t.entry.sectionHandle=="pages"||t.entry.sectionHandle=="programs"?"col-span-full md:col-span-9":"col-span-full md:col-start-2 md:col-span-7",sidebar:"col-span-full md:col-span-3"},p={header:"col-span-full",main:"col-span-full",sidebar:"col-span-full"},n=$(()=>{var s;switch((s=t.entry)==null?void 0:s.sectionHandle){case"poems":case"authors":case"articles":case"blogPosts":case"programs":case"bookReviews":return c;case"pages":return t.sidebar?c:p;default:return p}});return(s,F)=>{const b=_;return e(),y(b,{as:"article",class:"pb-14"},{default:k(()=>{var m,u,h;return[s.$slots.breadcrumbs?(e(),l("div",v,[a(s.$slots,"breadcrumbs")])):o("",!0),s.$slots.headerFullWidth?(e(),l("header",C,[a(s.$slots,"headerFullWidth")])):o("",!0),r("div",w,[s.$slots.header?(e(),l("header",{key:0,class:d(["mb-1.5 md:mb-8 print:col-span-full",(m=i(n))==null?void 0:m.header])},[a(s.$slots,"header")],2)):o("",!0),r("div",{class:d(["flex flex-wrap gap-x-8 gap-y-5 print:col-span-full",(u=i(n))==null?void 0:u.main])},[r("div",B,[s.$slots.headerContained?(e(),l("header",H,[a(s.$slots,"headerContained")])):o("",!0),a(s.$slots,"default")])],2),s.$slots.sidebar?(e(),l("div",{key:1,"data-dl_element_location":"sidebar",class:d(["print:hidden",(h=i(n))==null?void 0:h.sidebar])},[a(s.$slots,"sidebar")],2)):o("",!0)]),s.$slots.navigation?(e(),l("div",S,[a(s.$slots,"navigation")])):o("",!0),s.$slots.footer?(e(),l("footer",W,[a(s.$slots,"footer")])):o("",!0)]}),_:3})}}});export{P as default};