1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="482ac050-fe90-503e-a1f6-06f4ac8779d8")}catch(e){}}(); 3import{j as l}from"./components-DyD9lVhy.js";import{g as z,c as i,a as T}from"./createLucideIcon-CENCwq7n.js";import{a as Q}from"./index-LwzUairP.js";import{u as A,B,I as M,P as I,S as V,a as P}from"./buildMeta-D9bvhUgU.js";import{B as q}from"./Breadcrumbs-DpeCAKjn.js";import{M as O}from"./MarkDown-C61hdGbZ.js";import{B as _}from"./Badge-Daaw7Bgo.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[new s.Error().stack]=(function(a){for(var t=1;t<arguments.length;t++){var e=arguments[t];if(e!=null)for(var o in e)e.hasOwnProperty(o)&&(a[o]=e[o])}return a})({},s._sentryModuleMetadata[new s.Error().stack],{"_sentryBundlerPluginAppKey:uoh-app":!0})}catch{}})();const C=T("",{variants:{backgroundColour:{"ink-blue":"bg-blue-d text-white","mid-blue":"bg-blue-m text-white",chartreuse:"bg-char text-blue-d","light-grey":"bg-grey-l text-blue-d",white:"bg-white text-blue-d"},overlayOpacity:{80:"bg-black/80",60:"bg-black/60",40:"bg-black/40",20:"bg-black/20",0:""}},defaultVariants:{backgroundColour:"ink-blue",overlayOpacity:"60"}}),D=({data:s,breadcrumb:a,searchData:t})=>{const e=Q("(min-width: 1248px)",{defaultValue:!0,initializeWithValue:!1}),{heading:o,eyebrow:g,backgroundColour:u,userAction:p,introParagraph:r,image:c,video:x,badge:m,search:n,urbanTexture:j,technicalTexture:f,overlayOpacity:w}=s,h=s?.buttons[0]||null,v=s?.buttons[1]||null,b=u==="ink-blue"||u==="mid-blue"?"white":"ink-blue";z();const k=n?.map(y=>({...y,contentType:Array.isArray(y.contentType)?y.contentType:Array.isArray(y.contentType?.id)?y.contentType.id.map(H=>({id:H})):[]})),{mappedItems:N,isSuccess:d,handleQueryChange:S}=A(k,t);return l.jsxs("section",{className:"relative flex flex-col items-center xl:min-h-[750px] xl:flex-row",children:[m&&m.length>0&&l.jsx(_,{className:"sm:top-m top-s xl:top-l absolute right-0 z-1",data:m[0]}),l.jsxs("div",{className:"xl:aspect-image relative aspect-3/2 h-full w-full sm:aspect-2/1 xl:absolute",children:[x&&c?l.jsx(B,{videoUrl:x?.sys.uri,width:"",height:"",image:c,btnClassName:"bottom-xl! lg:bottom-2xl! w-[36px] h-[36px] p-2xs! hover:bg-grey-l transition-colors"}):c&&l.jsx("img",{className:"h-full w-full object-cover",src:`${c?.asset.sys.uri}`,alt:c?.altText}),l.jsx("div",{className:"h-m xl:h-m-plus absolute bottom-0 left-0 z-1 w-full",style:{backgroundImage:`url(${j?.asset.sys.uri}?w=1000&h=40&fit=crop&q=75&f=webp)`,backgroundSize:"cover",opacity:1}}),l.jsx("div",{className:i("xl:bottom-xs-plus bottom-xs h-m xl:h-m-plus absolute left-0 z-1 w-full mix-blend-hard-light"),style:{backgroundImage:`url(${f?.asset.sys.uri}?w=1000&h=40&fit=crop&q=75&f=webp)`,backgroundSize:"cover",opacity:1}})]}),l.jsx("div",{className:i(C({backgroundColour:null,overlayOpacity:w||"60"}),"absolute hidden h-full w-full xl:block")}),l.jsx("div",{className:"xl:px-2xl w-full",children:l.jsx("div",{className:"relative z-1 flex w-full max-w-[1400px] flex-col xl:mx-auto xl:flex-row",children:l.jsxs("div",{className:i(C({backgroundColour:u,overlayOpacity:null}),"sm:p-2xl px-xs-plus py-m space-y-s sm:space-y-m xl:space-y-l xl:mb-3xl xl:mt-2xl relative grow xl:bg-transparent xl:p-0 xl:text-white"),children:[l.jsx(q,{data:a,colour:e?"white":b}),l.jsxs("div",{className:"space-y-xs xl:space-y-xs-plus",children:[g&&l.jsx("div",{className:"tag",children:g}),l.jsx(O,{content:"# "+o})]}),l.jsxs("div",{className:"space-y-l",children:[r&&r.length>0&&l.jsx(M,{content:r[0],layoutColour:e?"white":u}),p==="buttons"&&h&&l.jsxs("div",{className:"gap-2xs-plus xl:gap-s flex flex-wrap",children:[l.jsx(I,{data:h,colour:e?"white":b}),v&&l.jsx(V,{data:v,colour:e?"white":b})]}),p==="search"&&n&&n.length>0&&l.jsx(P,{placeholder:n[0]?.placeholder||"Search...",borderStyle:n[0]?.borderStyle||"Default",data:{label:"",note:""},loading:d,items:N,onQueryChange:S,disabled:!1,className:"text-blue-d max-w-[80ch]"})]})]})})})]})},E=T("",{variants:{backgroundColour:{"ink-blue":"bg-blue-d text-white","mid-blue":"bg-blue-m text-white",chartreuse:"bg-char text-blue-d"}},defaultVariants:{backgroundColour:"ink-blue"}}),$=T("",{variants:{backgroundColour:{"ink-blue":"fill-blue-d","mid-blue":"fill-blue-m",chartreuse:"fill-char"}}}),U=({data:s,breadcrumb:a,searchData:t})=>{const{backgroundColour:e,userAction:o,heading:g,eyebrow:u,introParagraph:p,image:r,video:c,search:x,urbanTexture:m,technicalTexture:n,showH:j}=s,f=s?.buttons[0]||null,w=s?.buttons[1]||null,h=e==="ink-blue"||e==="mid-blue"?"white":"ink-blue";z();
3const v=x?.map(d=>({...d,contentType:Array.isArray(d.contentType)?d.contentType:Array.isArray(d.contentType?.id)?d.contentType.id.map(S=>({id:S})):[]})),{mappedItems:b,isSuccess:k,handleQueryChange:N}=A(v,t);return l.jsxs("section",{className:"relative flex flex-col xl:flex-row",children:[l.jsx("div",{className:"absolute top-0 hidden h-full w-[calc(50%-200px)] xl:block",style:{backgroundImage:`url(${m?.asset.sys.uri}?w=800&h=800&fit=crop&q=85&f=webp)`,backgroundSize:"cover",opacity:1}}),l.jsx("div",{className:i("absolute top-0 right-[calc(50%+120px)] z-1 hidden h-full w-[160px] mix-blend-hard-light xl:block"),style:{backgroundImage:`url(${n?.asset.sys.uri}?w=200&h=800&fit=crop&q=85&f=webp`,backgroundSize:"cover",opacity:1}}),l.jsxs("div",{className:"relative z-1 order-2 flex flex-col xl:order-1 xl:basis-1/2 xl:flex-row xl:justify-end",children:[l.jsx("div",{className:"absolute h-full w-full xl:hidden",style:{backgroundImage:`url(${m?.asset.sys.uri}?w=800&h=600&fit=crop&q=85&f=webp)`,backgroundSize:"cover",opacity:1}}),l.jsx("div",{className:i("h-l sm:h-xl -top-s sm:-top-m absolute w-full mix-blend-hard-light xl:hidden"),style:{backgroundImage:`url(${n?.asset.sys.uri}?w=1080&h=50&fit=crop&q=75&f=webp)`,backgroundSize:"cover",opacity:1}}),l.jsxs("div",{className:i(E({backgroundColour:e}),"xl:p-l sm:p-m px-s pb-m pt-xs xl:pr-s space-y-s sm:space-y-m xl:space-y-l xl:my-xl sm:m-l m-xs-plus relative order-2 mt-0 grow sm:mt-0 xl:order-1 xl:mr-0 xl:max-w-[653px]"),children:[l.jsx(q,{data:a,colour:h}),l.jsxs("div",{className:"space-y-xs xl:space-y-xs-plus",children:[u&&l.jsx("div",{className:"tag",children:u}),l.jsx(O,{content:"# "+g,className:"max-w-full"})]}),l.jsxs("div",{className:"space-y-l",children:[p&&p.length>0&&l.jsx(M,{content:p[0],layoutColour:e,className:"max-w-full [&>div>div]:max-w-full"}),o==="buttons"&&f&&l.jsxs("div",{className:"gap-2xs-plus xl:gap-s flex flex-wrap",children:[l.jsx(I,{data:f,colour:h}),w&&l.jsx(V,{data:w,colour:h})]}),o==="search"&&x&&x.length>0&&l.jsx(P,{placeholder:x[0]?.placeholder||"Search...",borderStyle:x[0]?.borderStyle||"Default",data:{label:"",note:""},loading:k,items:b,onQueryChange:N,disabled:!1,className:"text-blue-d"})]})]}),l.jsxs("svg",{className:i($({backgroundColour:e}),"xl:py-xl px-xs-plus sm:px-l h-l sm:h-xl z-1 order-1 -mt-[72px] shrink-0 sm:-mt-[96px] xl:order-2 xl:mt-0 xl:-ml-px xl:h-full xl:w-[96px] xl:px-0"),children:[l.jsx("rect",{className:"xl:w-l sm:h-m h-s translate-y-s sm:translate-y-m w-[calc(50%-12px)] sm:w-[calc(50%-16px)] xl:h-[calc(50%-24px)] xl:translate-y-0",x:"0",y:"0"}),l.jsx("rect",{className:"xl:w-l w-s sm:w-m sm:h-m h-s xl:h-l xl:translate-x-l translate-x-[calc(50%-12px)] sm:translate-x-[calc(50%-16px)] xl:translate-y-[calc(50%-24px)]",x:"0",y:"0"}),l.jsx("rect",{className:"xl:w-l h-s sm:h-m translate-y-s sm:translate-y-m w-[calc(50%-12px)] translate-x-[calc(50%+12px)] sm:w-[calc(50%-16px)] sm:translate-x-[calc(50%+16px)] xl:h-[calc(50%-24px)] xl:translate-x-0 xl:translate-y-[calc(50%+24px)]",x:"0",y:"0"})]})]}),l.jsxs("div",{className:"order-1 max-xl:aspect-3/2 xl:absolute xl:top-0 xl:right-0 xl:order-2 xl:h-full xl:w-1/2",children:[l.jsx("div",{className:"relative h-full w-full xl:w-[calc(100%+200px)] xl:-translate-x-[200px]",children:c&&r?l.jsx(B,{videoUrl:c.sys.uri,width:"",height:"",image:r,btnClassName:"bottom-xl! sm:bottom-2xl! xl:bottom-s!"}):r&&l.jsx("img",{className:"h-full w-full object-cover",src:`${r?.asset.sys.uri}`,alt:r?.altText})}),j&&l.jsxs("svg",{className:i($({backgroundColour:e}),"py-xl right-2xl absolute top-0 z-1 hidden h-full w-[96px] shrink-0 xl:block"),children:[l.jsx("rect",{className:"w-l h-[calc(50%-24px)]",x:"48",y:"0"}),l.jsx("rect",{className:"w-l h-l translate-y-[calc(50%-24px)]",x:"0",y:"0"}),l.jsx("rect",{className:"w-l h-[calc(50%-24px)] translate-y-[calc(50%+24px)]",x:"48",y:"0"})]})]})]})},X=({data:s,breadcrumb:a,searchData:t})=>{const e=s.style;if(e==="1")return l.jsx(D,{data:s,breadcrumb:a,searchData:t});if(e==="2")return l.jsx(U,{data:s,breadcrumb:a,searchData:t})};export{X as H}; 4 5//# debugId=482ac050-fe90-503e-a1f6-06f4ac8779d8
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.