1import{d as x,g as f,S as H,c as u,o as r,n as R,r as T,u as a,i as d,a as c,b as h,e as _,w as k,f as y,t as w,_ as v,h as j,j as N,k as A,l as m,m as O,p as P,F as V,q as g}from"./Chc0Y_8Z.js";import{_ as E}from"./BioQ8SqJ.js";import{s as b}from"./BJxVU4t3.js";import{u as F}from"./CDJ4WSY8.js";import{c as I,S as L}from"./DP38eVj3.js";import{_ as M}from"./qHVAOIk2.js";import{u as G,a as W,b as Z}from"./BSnieMcK.js";import"./Y1Y1QNm9.js";import"./D9Gc3CAa.js";const q={class:"relative flex h-full flex-col items-stretch justify-end gap-40 pt-(--header-height) lg:flex-row lg:justify-start lg:gap-0 lg:pt-0 lg:pl-(--container-padding)"},U={class:"lg:no-fl-container fl-container lg:w-col-6 flex shrink-0 items-end lg:pr-80 lg:pb-80"},J={class:"relative aspect-video w-full lg:aspect-auto lg:w-auto lg:grow"},K={class:"hero-img-wrapper relative size-full overflow-clip lg:h-[114%]"},Q=x({__name:"Hero",props:{title:{},image:{},backgroundColor:{},textColor:{}},setup(e){f.registerPlugin(H);const t=T(null);return F([{condition:{isDesktop:`(width >= ${b.lg}px)`,isMobile:`(width < ${b.lg}px)`},callback:({selector:o,conditions:n})=>{const s=o?.(".hero-img-wrapper"),i=o?.(".hero-img");!i?.length||!s?.length||f.fromTo(i,{y:0,scale:1},{y:()=>n.isDesktop?s[0].offsetHeight*.05:0,scale:n.isDesktop?1.05:1.1,ease:"none",duration:1,scrollTrigger:{trigger:s[0],start:"clamp(top bottom)",end:"clamp(bottom top)",invalidateOnRefresh:!0}})}}],t),(o,n)=>{const s=v,i=E;return r(),u("div",{ref_key:"root",ref:t,class:R(["hero tiny:h-auto relative z-1 h-[93svh] w-full",{"bg-blue-light":e.backgroundColor==="Light blue","bg-blue":e.backgroundColor==="Dark blue","bg-burgundy-dark":e.backgroundColor==="Burgundy","bg-red-canada":e.backgroundColor==="Red Canada","bg-blue-deep":e.backgroundColor==="Royal blue","text-blue-light":e.textColor==="Light blue","text-blue":e.textColor==="Dark blue","text-burgundy-dark":e.textColor==="Burgundy","text-red-canada":e.textColor==="Red Canada","text-blue-deep":e.textColor==="Royal blue","[&+.slice-zone:empty]:mb-200 lg:[&+.slice-zone>*:first-child]:pt-200":a(d).image(e.image)}])},[c("div",q,[c("div",U,[a(d).keyText(e.title)?(r(),h(s,{key:0,component:"h1","appear-animation":""},{default:k(()=>[y(w(e.title),1)]),_:1})):_("",!0)]),c("div",J,[c("div",K,[a(d).image(e.image)?(r(),h(i,{key:0,field:e.image,sizes:"100vw",class:"hero-img absolute bottom-0 left-0 h-full w-full object-cover lg:h-[105%]",lazy:!1},null,8,["field"])):_("",!0)])])])],2)}}}),X=Object.assign(Q,{__name:"Hero"}),Y={class:"w-full overflow-x-clip"},ee={class:"slice-zone"},te={key:1,class:"fl-container simple-page mt-(--header-height) flex flex-col gap-50 pt-0 pb-70 lg:pt-70"},me=x({__name:"[uid]",async setup(e){let t,o;const{localeProperties:n,t:s}=j(),{client:i}=N(),p=A(),{data:l,error:C}=([t,o]=m(()=>O(`${p.params.uid}-${n.value.language}`,()=>i.getByUID("page",p.params.uid,{lang:n.value.language}))),t=await t,o(),t);G(C);const S=([t,o]=m(()=>P()),t=await t,o(),t);return W(l,{siteName:S.value?.data?.site_name||s("site_name")}
1),[t,o]=m(()=>Z(l)),await t,o(),(ae,oe)=>{const $=X,D=L,z=v,B=M;return r(),u("main",Y,[a(l)?.data.type==="Default"?(r(),u(V,{key:0},[g($,{title:a(l)?.data.title,image:a(l)?.data.image,"background-color":a(l)?.data.color,"text-color":a(l)?.data.text_color},null,8,["title","image","background-color","text-color"]),c("div",ee,[g(D,{slices:a(l)?.data.slices??[],components:a(I)},null,8,["slices","components"])])],64)):(r(),u("div",te,[g(z,{component:"h1","appear-animation":"",class:"text-burgundy"},{default:k(()=>[y(w(a(l).data.title),1)]),_:1}),g(B,{field:a(l)?.data.text,class:"lg:w-col-6 lg:ml-col-4-g text-burgundy-dark w-full"},null,8,["field"])]))])}}});export{me 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.