1import{_ as m}from"./Header-7d12f5cc.js";import{_ as b}from"./Container-399c160b.js";import{_ as y}from"./Split-8a53adb0.js";import{_ as T}from"./SplitCTA-89e0277a.js";import{r as w,o as a,c as l,b as o,e as r,f as c,w as h,F as I,g as k,n as p,i as D,u,A as x,a as i,G as C,t as P,J as v,O as s}from"./index-66d64bc5.js";import{r as A,a as _}from"./PlusSmallIcon-dc3740b2.js";import"./v-lazy-image-183f20e1.js";import"./aos-95496368.js";const O={key:1},S={key:0,class:"bg-gray-100 h-[calc(100%+1px)] absolute inset-0 left-1/2 -translate-x-1/2 pointer-events-none -z-10 -top-12 w-screen pb-48"},M=i("div",{class:"bg-gray-100 h-[calc(100%+1px)] absolute inset-0 left-1/2 -translate-x-1/2 pointer-events-none -z-10 top-0 w-screen"},null,-1),$={class:"text-lg font-semibold leading-7 h5"},L={class:"ml-6 flex h-7 items-center"},q={data(){return{sectionData:null,heroData:null,pages:null,seo:null,ctas:null,cta:null,showPage:null}},async created(){await this.fetchOcData()},watch:{$route(n,e){this.showPage=!1,this.fetchOcData()}},methods:{async fetchOcData(){let n=this.$route.path;this.seo=await s.fetchPageSeo(n),this.heroData=await s.fetchPageData(n,"HeroImage"),this.showPage=!0,this.pages=[{name:this.heroData[0].displayText,href:"#",current:!0}],this.sectionData=await s.fetchPageData(n,"SectionContent"),this.ctas=await s.fetchPageData(n,"CTA"),this.ctas!=null&&this.ctas.length>0?(console.log("yes"),this.cta=this.ctas[0]):(this.ctas=await s.fetchGlobalCTA(),this.cta=this.ctas.cTAs[0].list.contentItems[0])},formatOcImage(n){return s.formatImage(n)}}},J=Object.assign(q,{__name:"index",setup(n){return(e,z)=>{const g=w("Meta");return a(),l("div",{class:p(["transition",e.showPage?"opacity-100":"opacity-0"])},[e.heroData&&e.pages?(a(),o(m,{key:0,title:e.heroData[0].displayText,pages:e.pages},null,8,["title","pages"])):r("",!0),e.sectionData?(a(),l("div",O,[c(b,null,{default:h(()=>[(a(!0),l(I,null,k(e.sectionData,(t,f)=>(a(),l("div",{key:t.displayText,class:p(["relative",[e.sectionData.length>1&&!t.collapsible&&"mb-12",t.centered&&"text-center",t.theme!=null&&t.theme.contentItems.length>0&&t.theme.contentItems[0].text+" p-12",t.image&&t.image.paths&&t.image.paths.length>0?"!mb-24":"",t.layout=="half"?"!grow-0 !w-[calc(50%-1.4rem)]":"w-full",t.displayText&&t.displayText.toLowerCase()=="frequently asked questions"&&"!mt-24 !mb-0"]]),style:D(t.theme!=null&&t.theme.contentItems.length>0&&"background-color:"+t.theme.contentItems[0].background)},[t.displayText&&t.displayText.toLowerCase()=="frequently asked questions"?(a(),l("div",S)):r("",!0),t.collapsible?(a(),o(u(x),{key:2,as:"div",class:"pt-6 border-b pb-6 relative"},{default:h(({open:d})=>[M,i("dt",null,[c(u(C),{class:"flex w-full items-start justify-between text-left text-gray-900 group"},{default:h(()=>[i("span",$,P(t.displayText),1),i("span",L,[d?(a(),o(u(_),{key:1,class:"h-6 w-6 group-hover:text-accent group-focus:text-accent","aria-hidden":"true"})):(a(),o(u(A),{key:0,class:"h-6 w-6 group-hover:text-accent group-focus:text-accent","aria-hidden":"true"}))])]),_:2},1024)]),c(u(v),{as:"dd",class:"mt-6 pr-12 content-section",innerHTML:t.content.html},null,8,["innerHTML"])]),_:2},1024)):(a(),o(y,{key:1,flip:t.layout!="half"&&f%2!==0,half:t.layout!=null&&t.layout=="half",title:t.displayText,imgSrc:t.theme!=null&&t.theme.contentItems.length>0?null:t.image&&t.image.paths&&t.image.paths.length>0?e.formatOcImage(t.image.paths[0]):null,imgAltText:t.imageAltText,imageCredit:t.imageCredit,description:t.content.html,buttonText:t.button1Info!=null?t.button1Info.text:null,buttonPath:t.button1Info!=null?t.button1Info.url:null,button2Text:t.button2Info!=null?t.button2Info.text:null,button2Path:t.button2Info!=null?t.button2Info.url:null},null,8,["flip","half","title","imgSrc","imgAltText","imageCredit","description","buttonText","buttonPath","button2Text","button2Path"]))],6))),128))]),_:1})])):r("",!0),e.cta?(a(),o(T,{key:2,dark:"",title:e.cta.displayText,description:e.cta.content.html,buttonText:e.cta.button1Info!=null?e.cta.button1Info.text:null,buttonPath:e.cta.button1Info!=null?e.cta.button1Info.url:null,button2Text:e.cta.button2Info!=null?e.cta.button2Info.text:null,button2Path:e.cta.button2Info!=null?e.cta.button2Info.url:null,imgSrc:e.formatOcImage(e.cta.image.paths[0]),imgAlt:e.cta.imageAltText,imageCredit:e.cta.imageCredit},null,8,["title","description","buttonText","buttonPath","button2Text","button2Path","imgSrc","imgAlt","imageCredit"])):r("",!0),e.seo?(a(),o(g,{key:e.seo,title:e.seo.page[0].seoMeta.pageTitle,keywords:e.seo.page[0].seoMeta.metaKeywords,description:e.seo.page[0].seoMeta.metaDescription},null,8,["title","keywords","description"])):r("",!0)],2)}}});
1export{J 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.