import{k as g,o as s,c as n,d as y,b as o,t as c,F as d,a6 as u,n as p,J as x,H as v,a as h,E as w,L as b,w as f,D as k,f as C,an as N}from"./entry.8790b194.js";import{h as $,_ as B}from"./helpers.79a34cfa.js";import{_ as L}from"./NuxtImg.vue.05a3faaf.js";const S={class:"sm:py-10 w-full sm:w-1/2"},T={class:"typ-display-small-bold md:typ-display-medium-bold text-text-default pb-6"},V={class:"typ-body-large-regular md:typ-body-xlarge-regular text-text-description"},j={key:0,class:"typ-body-large-regular md:typ-body-xlarge-regular text-text-description my-6"},z={class:"flex items-center gap-3 my-2"},A={class:"py-4"},O=g({__name:"CrossListItem",props:{content:{}},setup(_){return(t,m)=>{const l=L;return s(),n("div",{class:p(["flex flex-col bas sm:flex-row gap-6 lg:gap-20 justify-end",{"sm:flex-row-reverse":t.content.imageAt==="right"}])},[y(l,{src:t.content.image,alt:"",title:"",sizes:"sm:400px",class:"mx-auto sm:object-contain w-full sm:w-1/2"},null,8,["src"]),o("div",S,[o("h2",T,c(t.content.title),1),o("p",V,c(t.content.description),1),t.content.items?(s(),n("div",j,[o("ul",null,[(s(!0),n(d,null,u(t.content.items,r=>(s(),n("li",z,[o("i",{class:p(r.icon)},null,2),o("span",null,c(r.title),1)]))),256))])])):x("",!0),o("div",A,[v(t.$slots,"default")])])],2)}}}),J=g({__name:"CrossList",props:{contents:{},noSoftOdd:{type:Boolean}},setup(_){const t=h(),m=e=>{e!==void 0&&(e.properties?t.$rsTrack(e.event,{[e.properties]:e.value}):t.$rsTrack(e.event,{section:e.value}))},l=w("");b(()=>{l.value=$.getCookie("readsee-distinct")});const r=e=>e===N.register.path&&l.value!==""?e+"?ref="+l.value:e;return(e,D)=>(s(),n("section",null,[(s(!0),n(d,null,u(e.contents,a=>(s(),n("div",{class:p(["py-16",{"even:bg-background-soft":e.noSoftOdd===!1}])},[y(O,{class:"max-w-5xl pfix-5xl mx-auto",content:a,"image-at":a.imageAt},{default:f(()=>[o("div",{class:p(a.title==="Optimize your sendings"?"flex flex-col md:flex-row flex-wrap justify-between gap-y-2":{"grid md:grid-cols-2 gap-x-4 gap-y-2":a.type==="arrow-link","flex gap-1":a.type==="link-button"})},[(s(!0),n(d,null,u(a.actions,i=>(s(),k(B,{type:i.type,link:r(i.action.to),onClick:E=>m(i.track)},{default:f(()=>[C(c(i.title),1)]),_:2},1032,["type","link","onClick"]))),256))],2)]),_:2},1032,["content","image-at"])],2))),256))]))}});export{J as _};
