1import{_ as m,ac as f,j as x,cP as C,c,p as i,o,a as e,v as a,t as l,F as b,m as g,w as y,e as w}from"./DNWdprDe.js";import{b as v}from"./BQ6WUfaM.js";const S={class:"cta-card"},B={"data-editable-keys":"paragraph_before,paragraph_color"},D=["href"],A={"data-editable-keys":"inline_link_text,inline_link_color,inline_link_url"},I={"data-editable-keys":"inline_link_text,inline_link_color,inline_link_url"},N={"data-editable-keys":"paragraph_after,paragraph_color"},E={class:"cta-action"},M=["href"],F={"data-editable-keys":"button_text,button_text_color,button_background_color,button_link"},P={"data-editable-keys":"button_text,button_text_color,button_background_color,button_link"},U=["src"],_="imageSlider-11",V={__name:"ImageSliderEleven",props:{draftMode:{type:Boolean,default:!0},contentData:{type:Array,default:()=>[]},language:{type:String,default:"tr"},parentUrl:{type:String,default:""}},async setup(h){let s,u;const n=h,t=f({}),d=async()=>{if(n.draftMode){t.value=await v(_);return}const r=Array.isArray(n.contentData)?n.contentData.find(k=>k.name===_):null;if(r&&r.content?.[n.language]){t.value={name:r.name,content:r.content[n.language]};return}t.value=await v(_)};return x(()=>[n.contentData,n.language,n.parentUrl],async()=>{n.draftMode||await d()},{deep:!0}),[s,u]=C(()=>d()),await s,u(),(r,k)=>{const p=w;return t.value.hasOwnProperty("name")?(o(),c("div",{key:0,class:"imageSlider","data-editable-keys":"background_color",style:a({padding:t.value.content.padding[0],backgroundColor:t.value.content.background_color[0]})},[e("div",S,[e("div",{class:"cta-content","data-editable-keys":"content_background_color",style:a({backgroundColor:t.value.content.content_background_color[0]})},[e("h3",{class:"cta-title","data-editable-keys":"header_text_1,header_text_color",style:a({color:t.value.content.header_text_color[0]})},l(t.value.content.header_text_1[0]),5),e("p",{class:"cta-paragraph",style:a({color:t.value.content.paragraph_color[0]})},[e("span",B,l(t.value.content.paragraph_before[0]),1),t.value.content.inline_link_text[0]?(o(),c(b,{key:0},[t.value.content.inline_link_url[0].split(":")[0]==="http"||t.value.content.inline_link_url[0].split(":")[0]==="https"?(o(),c("a",{key:0,href:t.value.content.inline_link_url[0],class:"cta-inline-link",style:a({color:t.value.content.inline_link_color[0]})},[e("span",A,l(t.value.content.inline_link_text[0]),1)],12,D)):(o(),g(p,{key:1,to:t.value.content.inline_link_url[0],class:"cta-inline-link",style:a({color:t.value.content.inline_link_color[0]})},{default:y(()=>[e("span",I,l(t.value.content.inline_link_text[0]),1)]),_:1},8,["to","style"]))],64)):i("",!0),e("span",N,l(t.value.content.paragraph_after[0]),1)],4),e("div",E,[t.value.content.button_text[0]?(o(),c(b,{key:0},[t.value.content.button_link[0].split(":")[0]==="http"||t.value.content.button_link[0].split(":")[0]==="https"?(o(),c("a",{key:0,href:t.value.content.button_link[0],class:"cta-btn",style:a({backgroundColor:t.value.content.button_background_color[0],color:t.value.content.button_text_color[0]})},[e("span",F,l(t.value.content.button_text[0]),1)],12,M)):(o(),g(p,{key:1,to:t.value.content.button_link[0],class:"cta-btn",style:a({backgroundColor:t.value.content.button_background_color[0],color:t.value.content.button_text_color[0]})},{default:y(()=>[e("span",P,l(t.value.content.button_text[0]),1)]),_:1},8,["to","style"]))],64)):i("",!0)])],4),e("div",{class:"cta-media","data-editable-keys":"media_background_color",style:a({backgroundColor:t.value.content.media_background_color[0]})},[t.value.content.section_image[0]?(o(),c("img",{key:0,"data-editable-keys":"section_image",src:t.value.content.section_image[0],class:"cta-media-img",alt:""},null,8,U)):i("",!0)],4)])],4)):i("",!0)}}},L=m(V,[["__scopeId","data-v-43429d95"]]);export{L 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.