import{B as i}from"./ThemeToggle-a3yohy6x.js";import{_ as u}from"./settings.consts-C6F6lZ8o.js";import{d as w,e as y,f as B,i as b,x as n,j as l,k as L,t as z}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{t as V,u as e}from"./vendor-vue-reactivity-CheHbvBM.js";import{b as C}from"./vendor-vue-shared-DrzsEcag.js";import{_ as M}from"./vendor-vue3-html2pdf-KR020wX8.js";const W={class:"ccb-pro-banner"},H={class:"ccb-pro-banner__content"},N={class:"ccb-pro-banner__text"},O={class:"ccb-pro-banner__title-box"},P={class:"ccb-pro-banner__description-box"},S={class:"ccb-pro-banner__actions"},j=["src","alt"],D=w({__name:"ProBanner",props:{title:{},description:{},image:{},documentationLink:{},upgradeLink:{},watchVideoLink:{},imageMaxWidth:{},imageMaxHeight:{}},setup(p){const m=p,{title:s,description:h,image:f,documentationLink:t,upgradeLink:r,watchVideoLink:o,imageMaxWidth:c,imageMaxHeight:_}=V(m),g=y(()=>({maxWidth:c.value?c.value:"100%",maxHeight:_.value?_.value:"100%"})),v=()=>{var a;(a=r.value)!=null&&a.url&&window.open(r.value.url,"_blank")},k=()=>{var a;(a=o.value)!=null&&a.url&&window.open(o.value.url,"_blank")},x=()=>{var a;(a=t.value)!=null&&a.url&&window.open(t.value.url,"_blank")};return(a,d)=>(b(),B("div",W,[n("div",H,[n("div",N,[n("div",O,[l(u,{text:e(s),size:"xl",weight:"bold"},null,8,["text"])]),d[0]||(d[0]=n("div",{class:"ccb-pro-banner__divider"},null,-1)),n("div",P,[l(u,{text:e(h),size:"l",weight:"regular"},null,8,["text"])])]),n("div",S,[l(i,{label:e(r).label,href:e(r).url,target:"_blank",rel:"noopener noreferrer",size:"m",type:"blue",showOriginal:"",onClick:v},null,8,["label","href"]),e(o)&&e(o).url?(b(),L(i,{key:0,label:e(o).label,href:e(o).url,target:"_blank",rel:"noopener noreferrer",size:"m",type:"red",showOriginal:"",iconLeft:"ccb-icon-ic_play",onClick:k},null,8,["label","href"])):z("",!0),l(i,{label:e(t).label,href:e(t).url,target:"_blank",rel:"noopener noreferrer",size:"m",type:"blue-ghost",showOriginal:"",onClick:x},null,8,["label","href"])])]),n("div",{class:"ccb-pro-banner__image-box",style:C(g.value)},[n("img",{src:e(f),alt:e(s),class:"ccb-pro-banner__image"},null,8,j)],4)]))}}),A=M(D,[["__scopeId","data-v-eba19695"]]);export{A as P};
//# sourceMappingURL=ProBanner-DA3Ac1ws.js.map
