1import{_ as O}from"./Deqxi3y1.js";import I from"./CsgC6UEZ.js";import{_ as S}from"./Dbp06knH.js";import{_ as T}from"./DSBMyGFo.js";import{aQ as j,a$ as v,bH as E,aS as t,aT as o,aU as u,bt as f,aW as k,aV as R,bm as a,b2 as b,b3 as m,b4 as y,bz as w,aX as D,c5 as H}from"./BAqDMKzO.js";import"./CYC35Jhx.js";import"./SudOOBag.js";import"./CD5CPNLf.js";try{let s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new s.Error().stack;r&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[r]="ae939c44-4dcf-487f-840d-bb7f4241db7b",s._sentryDebugIdIdentifier="sentry-dbid-ae939c44-4dcf-487f-840d-bb7f4241db7b")}catch{}const N={ORANGE:"orange",PURPLE:"purple"},L={name:"ComparisonTableUniversal",props:{blok:{type:Object,required:!0}},data(){return{showOverlay:!1,activeModal:null,stickyTableHead:!1,style:N}},computed:{modalContent(){const s=[];return this.blok.table.forEach(r=>{r.cell.forEach(e=>{e.showInfoModal&&e.modalContent&&s.push({_uid:e._uid,modalContent:e.modalContent})})}),s}},mounted(){window.addEventListener("scroll",this.handleScroll),this.handleScroll()},unmounted(){window.removeEventListener("scroll",this.handleScroll)},methods:{handleScroll(){if(this.blok.tableMobileStyle==="rowCollapse"){const s=document.getElementById("navwrap")?document.getElementById("navwrap").offsetHeight:0;this.stickyTableHead=window.pageYOffset+s>this.$refs.table.offsetTop&&window.pageYOffset+s<this.$refs.table.offsetTop+this.$refs.table.offsetHeight;const r=this.$refs.sticky;this.stickyTableHead&&r&&(r.style.top=`${s}px`)}}}},P=["id"],q={class:"max-w-5xl mx-auto"},G={key:0,class:"w-11/12 md:w-3/4 mx-auto text-center mb-10"},U={class:"text-2xl md:text-4xl leading-tight font-bold"},V={ref:"table",class:"table-fixed w-full relative"},z={class:"relative11"},Y={class:"flex flex-col"},A={key:0},F={class:"w-full flex flex-col"},Q={key:0},W={key:0,ref:"sticky",class:"comparison-table--head-sticky fixed md:hidden md:w-full shadow rounded-tr-lg rounded-tl-lg"},X={class:"w-full flex flex-col"},J={key:0},K={key:1,class:"flex flex-col items-center mt-8"},Z={class:"p-4 pt-8 md:pt-10 md:pb-4 md:px-10"};function $(s,r,e,ee,c,p){var x;const h=O,g=I,C=S,M=T,B=E("editable");return v((o(),t("section",{id:e.blok.id,class:a(["comparison-table-universal",[e.blok.withoutSectionPadding?"":"py-10 px-4 md:py-20 bg-gray-50",e.blok.style===c.style.PURPLE?"comparison-table--purple":"comparison-table--orange"]])},[u("div",q,[e.blok.title?(o(),t("div",G,[u("h2",U,R(e.blok.title),1)])):f("",!0),u("div",{class:a(["comparison-table overflow-x-auto rounded-2xl",{"comparison-table--row-collapse":e.blok.tableMobileStyle==="rowCollapse","comparison-table--first-col-sticked":e.blok.tableMobileStyle==="firstColumnSticked"}])},[u("table",V,[u("tbody",z,[(o(!0),t(b,null,m(e.blok.table,(l,d)=>(o(),t("tr",{key:l._uid,class:a(["comparison-table__row grid",{"comparison-table__row__cols-2":e.blok.numberOfColumns==="2","comparison-table__row__cols-3":e.blok.numberOfColumns==="3","comparison-table__row__cols-4":e.blok.numberOfColumns==="4"}])},[(o(!0),t(b,null,m(l.cell.slice(0,1),(n,_)=>(o(),t("th",{key:n._uid,class:a(["comparison-table__row__cell comparison-table__row__cell--header text-sm lg:text-base font-normal flex flex-col items-center justify-center p-4",{"comparison-table__row__cell--sticky":e.blok.tableMobileStyle==="firstColumnSticked","col-span-full md:col-auto":e.blok.tableMobileStyle==="rowCollapse","comparison-table__row__cell--white":n.cellBackgroun
1dColor==="white","comparison-table__row__cell--light-gray":n.cellBackgroundColor==="lightGray","comparison-table__row__cell--active--first":Number(e.blok.activeColumn)===_+1}])},[u("div",{class:a(["w-full flex items-center",{"justify-center md:justify-between":e.blok.tableMobileStyle==="rowCollapse","justify-between":e.blok.tableMobileStyle!=="rowCollapse"&&n.showInfoModal}])},[u("div",Y,[(o(!0),t(b,null,m(n.cell.filter(i=>["RichTextBlok","ButtonBlok","IconBlok"].includes(i.component)),i=>(o(),y(w(i.component),{key:i._uid,blok:i,class:a([i.component==="RichTextBlok"?"-my-4":""])},null,8,["blok","class"]))),128))]),n.showInfoModal?(o(),t("span",A,[k(h,{class:"text-xl text-rendin-200 hover:text-rendin-400 focus:text-rendin-400 ml-2 cursor-pointer","icon-name":"circle-question",onClick:i=>[c.showOverlay=!0,c.activeModal=n._uid]},null,8,["onClick"])])):f("",!0)],2)],2))),128)),(o(!0),t(b,null,m(l.cell.slice(1,e.blok.numberOfColumns),(n,_)=>(o(),t("td",{key:n._uid,class:a(["comparison-table__row__cell text-sm md:text-base flex flex-col items-center justify-center p-4",{"comparison-table__row__cell--white":n.cellBackgroun
1dColor==="white","comparison-table__row__cell--light-gray":n.cellBackgroundColor==="lightGray","comparison-table__row__cell--active--first":Number(e.blok.activeColumn)===_+2&&d===0,"comparison-table__row__cell--active":Number(e.blok.activeColumn)===_+2}])},[u("div",{class:a(["w-full flex items-center",{"justify-center":!n.showInfoModal,"justify-between":n.showInfoModal}])},[u("div",F,[(o(!0),t(b,null,m(n.cell.filter(i=>["RichTextBlok","ButtonBlok","IconBlok"].includes(i.component)),i=>(o(),y(w(i.component),{key:i._uid,blok:i,class:a([i.component==="RichTextBlok"?"-my-4":""])},null,8,["blok","class"]))),128))]),n.showInfoModal?(o(),t("span",Q,[k(h,{class:"text-xl text-rendin-200 hover:text-rendin-400 focus:text-rendin-400 ml-2 cursor-pointer","icon-name":"circle-question",onClick:i=>[c.showOverlay=!0,c.activeModal=n._uid]},null,8,["onClick"])])):f("",!0)],2)],2))),128))],2))),128))]),c.stickyTableHead&&e.blok.tableMobileStyle==="rowCollapse"?(o(),t("div",W,[(o(!0),t(b,null,m(e.blok.table.slice(0,1),l=>(o(),t("div",{key:l._uid,class:a(["comparison-table__row grid",{"comparison-table__row__cols-2":e.blok.numberOfColumns==="2","comparison-table__row__cols-3":e.blok.numberOfColumns==="3","comparison-table__row__cols-4":e.blok.numberOfColumns==="4"}])},[(o(!0),t(b,null,m(l.cell.slice(1,e.blok.numberOfColumns),(d,n)=>(o(),t("div",{key:d._uid,class:a(["comparison-table__row__cell text-sm md:text-base flex flex-col items-center justify-center p-4",{"comparison-table__row__cell--white":d.cellBackgroun
1dColor==="white","comparison-table__row__cell--light-gray":d.cellBackgroundColor==="lightGray","comparison-table__row__cell--active--first":Number(e.blok.activeColumn)===n+2}])},[u("div",{class:a(["w-full flex items-center",{"justify-center":!d.showInfoModal,"justify-between":d.showInfoModal}])},[u("div",X,[(o(!0),t(b,null,m(d.cell.filter(_=>["RichTextBlok","ButtonBlok","IconBlok"].includes(_.component)),_=>(o(),y(w(_.component),{key:_._uid,blok:_,class:a([_.component==="RichTextBlok"?"-my-4":""])},null,8,["blok","class"]))),128))]),d.showInfoModal?(o(),t("span",J,[k(h,{class:"text-xl text-rendin-200 hover:text-rendin-400 focus:text-rendin-400 ml-2 cursor-pointer","icon-name":"circle-question",onClick:_=>[c.showOverlay=!0,c.activeModal=d._uid]},null,8,["onClick"])])):f("",!0)],2)],2))),128))],2))),128))],512)):f("",!0)],512)],2),(x=e.blok.footer)!=null&&x.length?(o(),t("div",K,[(o(!0),t(b,null,m(e.blok.footer.filter(l=>["RichTextBlok","ButtonBlok"].includes(l.component)),l=>(o(),y(w(l.component),{key:l._uid,blok:l},null,8,["blok"]))),128))])):f("",!0),k(M,{size:"small",visible:c.showOverlay,onClose:r[1]||(r[1]=l=>c.showOverlay=!1)},{default:D(()=>[u("div",Z,[(o(!0),t(b,null,m(p.modalContent,l=>(o(),t("div",{key:l._uid},[v(k(g,{blok:l.modalContent,class:"my-8"},null,8,["blok"]),[[H,c.activeModal===l._uid]])]))),128)),k(C,{display:"block",label:s.$t("buttons.close"),"no-background":"",uppercase:"",onClick:r[0]||(r[0]=l=>c.showOverlay=!1)},null,8,["label"])])]),_:1},8,["visible"])])],10,P)),[[B,e.blok]])}const ce=j(L,[["render",$]]);export{ce 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.