import{_ as i,o as l,c as g,a as r,b as a,l as _,r as d}from"./BDipKYNj.js";const p={props:{logo:{type:String},logoClickUrl:{type:String}},computed:{logoUrl(){return`${this.logo.split("?")[0]}?height=75&q=45`}}},m={class:"cats-one-wrapper"},u=["href"];function f(e,o,t,s,h,c){const n=d;return l(),g("div",m,[r("a",{href:t.logoClickUrl,target:"_blank"},[t.logo?(l(),a(n,{key:0,src:c.logoUrl,class:"logo"},null,8,["src"])):_("",!0)],8,u),o[0]||(o[0]=r("div",{id:"crelate-iframe",style:{textAlign:"center",overflow:"auto"}},[r("iframe",{frameborder:"0",scrolling:"yes",width:"100%",height:"2000",src:"https://jobs.crelate.com/portal/pkaza?iframe=false"})],-1))])}const k=i(p,[["render",f],["__scopeId","data-v-d24d25f0"]]),y={__name:"CatsoneJobsBlock",props:{settings:{type:Object,required:!0,validator(e){return["logo","logoClickUrl","portalId"].every(o=>o in e)}}},setup(e){return(o,t)=>{const s=k;return l(),a(s,{logo:e.settings.logo,"logo-click-url":e.settings.logoClickUrl,"portal-id":e.settings.portalId},null,8,["logo","logo-click-url","portal-id"])}}};export{y as default};