1import{C as e,H as t,It as n,Q as r,b as i,ct as a,f as o,h as s,ht as c,i as l,m as u,p as d,q as f,x as p,z as m,zt as h}from"./DwtlZ0P4.js";import{l as g,u as _}from"./Cha9BZ_n.js";import{t as v}from"./BNBq62CK.js";import{t as y}from"./DdFc0wmG.js";var b={class:`ct-section tg-section pb-bg--light tg-cs-section`},x={class:`ct-section-inner-wrap`},S={key:0,class:`ct-text-block tiger-second-heading`},C={class:`ct-div-block tg-cs-tabs`},w=[`aria-label`],T=[`id`,`aria-selected`,`aria-controls`,`tabindex`,`onClick`],E=[`src`,`alt`],D={class:`tg-cs-tabs__panes`},O=[`id`,`aria-labelledby`],k={class:`tg-cs-pane__inner`},A={class:`tg-cs-pane__texts`},j={class:`tg-cs-pane__heading`},M=[`href`],N=[`srcset`],P=[`srcset`],F=[`src`],I={key:1,class:`ct-div-block tg-cs-tabs__footer`},L={key:0,class:`ct-text-block`},R=Object.assign(e({__name:`CaseStudyTabs`,props:{eyebrow:{},heading:{},highlight:{},items:{},footerText:{},footerLinkLabel:{},footerLinkTo:{}},setup(e){let R=a(0),z=f();return(a,f)=>{let B=y,V=v;return m(),s(`section`,b,[o(`div`,x,[e.eyebrow?(m(),s(`p`,S,h(e.eyebrow),1)):u(``,!0),p(B,{class:`tg-cs-section__heading`,heading:e.heading,highlight:e.highlight,"highlight-last":!0},null,8,[`heading`,`highlight`]),o(`div`,C,[o(`div`,{class:`tg-cs-tabs__menu`,role:`tablist`,"aria-label":e.heading},[(m(!0),s(l,null,t(e.items,(t,r)=>(m(),s(`button`,{id:`${c(z)}-tab-${r}`,key:t.title,role:`tab`,"aria-selected":r===c(R),"aria-controls":`${c(z)}-pane-${r}`,class:n({active:r===c(R)}),tabindex:r===c(R)?void 0:-1,onClick:e=>R.value=r,onKeydown:[f[0]||=g(_(t=>R.value=(c(R)+1)%e.items.length,[`prevent`]),[`right`]),f[1]||=g(_(t=>R.value=(c(R)-1+e.items.length)%e.items.length,[`prevent`]),[`left`])]},[f[2]||=o(`span`,{class:`tg-cs-tabs__light`,"aria-hidden":`true`},null,-1),o(`img`,{src:t.logo,alt:t.logoAlt,class:`tg-cs-tabs__logo`,loading:`lazy`},null,8,E)],42,T))),128))],8,w),o(`div`,D,[(m(!0),s(l,null,t(e.items,(e,t)=>(m(),s(`div`,{id:`${c(z)}-pane-${t}`,key:e.title,role:`tabpanel`,"aria-labelledby":`${c(z)}-tab-${t}`,class:n([`tg-cs-pane`,{active:t===c(R)}])},[o(`div`,k,[o(`div`,A,[o(`h3`,j,h(e.title),1),o(`a`,{href:e.linkTo,class:`link-button`,target:`_blank`,rel:`noopener`},h(e.linkLabel??`Learn More`),9,M)]),o(`picture`,null,[e.imageAvif?(m(),s(`source`,{key:0,srcset:e.imageAvif,type:`image/avif`},null,8,N)):u(``,!0),e.imageWebp?(m(),s(`source`,{key:1,srcset:e.imageWebp,type:`image/webp`},null,8,P)):u(``,!0),o(`img`,{class:`tg-cs-pane__img`,src:e.image,alt:``,loading:`lazy`,"aria-hidden":`true`},null,8,F)])])],10,O))),128))])]),e.footerText||e.footerLinkTo?(m(),s(`div`,I,[e.footerText?(m(),s(`p`,L,h(e.footerText),1)):u(``,!0),e.footerLinkTo?(m(),d(V,{key:1,class:`ct-link-text link-button`,to:e.footerLinkTo},{default:r(()=>[i(h(e.footerLinkLabel),1)]),_:1},8,[`to`])):u(``,!0)])):u(``,!0)])])}}}),{__name:`CaseStudyTabs`});export{R 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.