PageSourceSearch

https://www.ukcybersecuritycouncil.org.uk/_next/static/chunks/3455-1bb3d24fcdbaed43.js

js ukcybersecuritycouncil.org.uk collected 2026-10-02 15:05:57 UTC 86,753 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3455],{761:(e,t,s)=>{"use strict";s.d(t,{default:()=>i});var l=s(5155),a=s(2115);function i(e){let{children:t}=e,[s,i]=(0,a.useState)(!0===window.__navReady);return((0,a.useEffect)(()=>{if(!0===window.__navReady)return void i(!0);let e=()=>i(!0);return window.addEventListener("nav-ready",e),()=>window.removeEventListener("nav-ready",e)},[]),s)?(0,l.jsx)(l.Fragment,{children:t}):null}},1881:(e,t,s)=>{"use strict";s.d(t,{L:()=>c});var l=s(5155),a=s(5016),i=s(6630),n=s(2022);let c=e=>{let{image:t,heading:s,content:c,bgColor:r,floatTop:d=!1,customCss:o=""}=e,{textColor:x}=(0,a.MN)(r);return(0,l.jsx)("div",{className:"z-0 ".concat(o),style:{backgroundColor:r},children:(0,l.jsx)("div",{className:"relative w-full ".concat(x),children:(0,l.jsx)("div",{className:"z-10 w-full max-w-7xl mx-auto",children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-[2fr_3fr] gap-0 ".concat(d?"-mt-12 lg:-mt-14 shadow-xl":"py-8 lg:py-14"),children:[(0,l.jsx)("div",{className:"relative order-1 lg:order-none",children:(0,l.jsx)("div",{className:"w-full aspect-[4/3] sm:aspect-[16/10] lg:aspect-auto overflow-hidden rounded-none lg:rounded-xs",style:{height:void 0,...t?{}:{background:"rgba(0,0,0,0.15)"}},children:t?(0,l.jsx)(n.default,{src:t,alt:s||"",fill:!0,priority:!1,sizes:"(min-width: 1024px) 40vw, 100vw",className:"object-cover object-top"}):(0,l.jsx)("div",{className:"flex flex-col items-center justify-center w-full h-full text-gray-300 text-xs",children:(0,l.jsx)("div",{className:"w-8 h-8 mb-2 bg-gray-500/40 rounded"})})})}),(0,l.jsxs)("div",{className:"flex flex-col bg-theme-indigo90/95 lg:bg-theme-indigo90 px-5 sm:px-6 lg:px-10 py-6 lg:py-12 gap-4 min-h-[240px] lg:min-h-[300px] z-30",children:[(0,l.jsx)("h3",{className:"text-lg sm:text-xl lg:text-2xl font-bold text-white",children:s}),(0,l.jsx)("hr",{className:"h-[0.15rem] bg-theme-bluebell w-24 lg:w-32 border-none"}),(0,l.jsx)(i.default,{className:"bg-transparent resize-none leading-relaxed flex-1 text-sm sm:text-base w-full max-w-full overflow-x-hidden",content:c})]})]})})})})}},1985:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var l=s(5155),a=s(5016),i=s(2022);s(2115);var n=s(1622);let c=e=>{let{bgColor:t,customCss:s="",icon:c="",title:r,subtitle:d,link:o,linkText:x,align:m="right"}=e,{textColor:h,isLight:p}=(0,a.MN)(t);return(0,l.jsx)("section",{role:"region","aria-labelledby":"cta-section-4-title",className:"relative overflow-hidden ".concat(h," ").concat(s," px-4 sm:px-6 pt-8 pb-2 sm:pt-12 sm:pb-4"),style:{backgroundColor:t},children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-7 gap-6 max-w-7xl mx-auto items-stretch",children:["right"===m&&(0,l.jsx)("div",{className:"hidden lg:block lg:col-span-2"}),"center"===m&&(0,l.jsx)("div",{className:"hidden lg:block lg:col-span-1"}),(0,l.jsx)("div",{className:"lg:col-span-5",children:(0,l.jsxs)("div",{className:"relative overflow-hidden w-full border rounded-lg ".concat((0,a.j2)(t,30)," p-5 md:p-6 lg:p-8"),children:[(0,l.jsxs)("div",{className:"absolute inset-0 z-0 pointer-events-none select-none",children:[(0,l.jsx)(i.default,{alt:"pattern background",src:p?"/design/ukcsc-brand-pattern.png":"/design/ukcsc-brand-pattern-rec-white.png",fill:!0,className:"object-cover w-full h-full opacity-40 sm:opacity-55 lg:opacity-60",sizes:"100vw",priority:!1}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/0 md:bg-black/0 mix-blend-normal"})]}),(0,l.jsx)("div",{className:"relative z-10",children:(0,l.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 sm:gap-6 items-start sm:items-start",children:[c&&(0,l.jsx)("div",{className:"relative w-14 h-14 sm:w-16 sm:h-16 md:w-20 md:h-20 shrink-0",children:(0,l.jsx)(i.default,{src:c||"/design/placeholder.png",alt:r||"CTA icon",fill:!0,className:"object-contain",priority:!1})}),(0,l.jsxs)("div",{className:"flex-1 space-y-0 md:space-y-1 ".concat("center"===m?"text-center sm:text-left lg:text-center":""),children:[r&&(0,l.jsx)("h3",{id:"cta-section-4-title",className:"text-theme-tangerine font-bold leading-tight text-xl sm:text-2xl xl:text-3xl",children:r}),d&&(0,l.jsx)("p",{className:"text-sm sm:text-base leading-relaxed max-w-prose mx-auto lg:mx-0",children:d}),o&&x&&(0,l.jsx)("div",{className:"sm:hidden pt-2",children:(0,l.jsx)(n.default,{ctaText:x,ctaLink:o,textColor:h,size:"reg",customCss:"w-full justify-center"})})]}),o&&x&&(0,l.jsx)("div",{className:"hidden sm:block",children:(0,l.jsx)(n.default,{ctaText:x,ctaLink:o,textColor:h,size:"reg"})})]})})]})}),"center"===m&&(0,l.jsx)("div",{className:"hidden lg:block lg:col-span-1"}),"right"!==m&&(0,l.jsx)("div",{className:"hidden lg:block lg:col-span-2"})]})})}},2588:(e,t,s)=>{"use strict";s.d(t,{W:()=>n});var l=s(5155),a=s(2115),i=s(5016);let n=e=>{let{backgroundImg:t,subtitle:s,mainHeading:n,description:c,coverNavigation:r=!0,bgColor:d,customCss:o=""}=e,{textColor:x}=(0,i.MN)(d),m=e=>e.split("**").map((e,t)=>{let s=e.split("\n"),i=s.flatMap((e,i)=>i<s.length-1?[(0,l.jsxs)(a.Fragment,{children:[e,(0,l.jsx)("br",{})]},"".concat(t,"-").concat(i))]:[(0,l.jsx)(a.Fragment,{children:e},"".concat(t,"-").concat(i))]);return t%2==1?(0,l.jsx)("span",{className:"bg-theme-bluebell px-1 py-0.5 rounded inline-block",children:i},t):(0,l.jsx)("span",{children:i},t)});return(0,l.jsxs)("div",{className:"relative z-0 ".concat(o),children:[r&&(0,l.jsx)("div",{className:"h-[6rem] bg-theme-indigo"}),(0,l.jsx)("div",{className:"relative w-full ".concat(x," overflow-hidden ").concat(r?"pt-20 sm:pt-28 lg:pt-0":""),style:{backgroundColor:d},children:(0,l.jsx)("div",{className:"relative z-10 w-full max-w-7xl mx-auto",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2",children:[(0,l.jsx)("div",{className:"flex items-start lg:items-center px-4 sm:px-6 pt-28 sm:pt-32 lg:pt-32 pb-8 sm:pb-12 w-full lg:w-[96%]",children:(0,l.jsxs)("div",{className:"space-y-2 sm:space-y-3 w-full",children:[(0,l.jsx)("div",{className:"space-y-1",children:(0,l.jsx)("p",{className:"text-[11px] sm:text-xs md:text-sm uppercase tracking-wider font-medium text-theme-bluebell",children:s})}),(0,l.jsxs)("div",{className:"space-y-3 sm:space-y-5",children:[n&&(0,l.jsx)("h1",{className:"text-2xl sm:text-3xl lg:text-5xl font-bold",children:m(n)}
1),(0,l.jsx)("div",{className:"text-sm sm:text-base lg:text-lg !leading-tight text-gray-200",children:(e=>"string"==typeof e?m(e):e)(c)})]})]})}),(0,l.jsx)("div",{className:"relative w-full",children:(0,l.jsx)("div",{className:"relative w-full h-56 sm:h-64 md:h-72 lg:h-full bg-[#F3F3F5]/10 flex items-center justify-center",children:t?(0,l.jsx)("img",{src:t,alt:"Header image",className:"w-full h-full object-cover lg:object-contain"}):(0,l.jsx)("div",{className:"w-full flex items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center text-gray-600 py-10",children:[(0,l.jsx)("div",{className:"w-16 h-16 mx-auto mb-4 bg-gray-400 rounded"}),(0,l.jsx)("p",{className:"text-xs",children:"No image available"})]})})})})]})})})]})}},3101:(e,t,s)=>{"use strict";s.d(t,{F:()=>n});var l=s(2821);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=l.$,n=(e,t)=>s=>{var l;if((null==t?void 0:t.variants)==null)return i(e,null==s?void 0:s.class,null==s?void 0:s.className);let{variants:n,defaultVariants:c}=t,r=Object.keys(n).map(e=>{let t=null==s?void 0:s[e],l=null==c?void 0:c[e];if(null===t)return null;let i=a(t)||a(l);return n[e][i]}),d=s&&Object.entries(s).reduce((e,t)=>{let[s,l]=t;return void 0===l||(e[s]=l),e},{});return i(e,r,null==t||null==(l=t.compoundVariants)?void 0:l.reduce((e,t)=>{let{class:s,className:l,...a}=t;return Object.entries(a).every(e=>{let[t,s]=e;return Array.isArray(s)?s.includes({...c,...d}[t]):({...c,...d})[t]===s})?[...e,s,l]:e},[]),null==s?void 0:s.class,null==s?void 0:s.className)}},3755:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var l=s(5155),a=s(2022);s(2115);var i=s(1622),n=s(6630),c=s(5016);let r=e=>{let{title:t,notice:s="",actionLinkText:r,actionLink:d,bgColor:o,customCss:x=""}=e;return(0,l.jsxs)("div",{className:(0,c.cn)("relative pt-10 pb-16 md:px-6 lg:px-8 xl:px-0 overflow-hidden",x),style:{backgroundColor:o},children:[(0,l.jsx)("div",{className:"relative w-full max-w-7xl mx-auto text-white",children:(0,l.jsxs)("div",{className:"flex flex-col z-10 px-6 gap-6 items-center justify-center w-full md:w-10/12 lg:w-9/12 mx-auto min-h-[180px] md:min-h-[220px]",children:[t&&(0,l.jsx)(n.default,{content:t,className:"text-base md:text-lg leading-tight w-full max-w-4xl text-center"}),(s||d&&r)&&(0,l.jsxs)("div",{className:(0,c.cn)("w-full md:w-3/5 lg:w-[55%] p-4 md:p-6 text-left md:text-center rounded-md",s&&"border border-white/40"),children:[s&&(0,l.jsx)(n.default,{content:s,className:"text-sm md:text-base leading-relaxed"}),d&&r&&(0,l.jsxs)("div",{className:(0,c.cn)(s&&"mt-4","flex justify-center"),children:[" ",(0,l.jsx)(i.default,{ctaLink:d,ctaText:r,size:"wide"})]})]})]})}),(0,l.jsx)("div",{"aria-hidden":"true",className:"hidden sm:block absolute top-[20%] left-0 w-[140px] h-[120px] sm:w-[160px] sm:h-[140px] lg:w-[230px] lg:h-[200px] opacity-25 md:opacity-35 lg:opacity-50 xl:opacity-100 z-0 pointer-events-none select-none",children:(0,l.jsx)(a.default,{src:"/design/arrows-right-white.png",alt:"",fill:!0,className:"object-contain",sizes:"(max-width: 640px) 140px, (max-width: 1024px) 160px, 230px"})}),(0,l.jsx)("div",{"aria-hidden":"true",className:"hidden sm:block absolute top-[20%] right-0 w-[140px] h-[120px] sm:w-[160px] sm:h-[140px] lg:w-[230px] lg:h-[200px] opacity-25 md:opacity-35 lg:opacity-50 xl:opacity-100 z-0 pointer-events-none select-none",children:(0,l.jsx)(a.default,{src:"/design/arrows-left-white.png",alt:"",fill:!0,className:"object-contain",sizes:"(max-width: 640px) 140px, (max-width: 1024px) 160px, 230px"})})]})}},4956:(e,t,s)=>{"use strict";s.d(t,{C:()=>d});var l=s(5155),a=s(5692),i=s(5016),n=s(2022),c=s(2115),r=s(6630);let d=e=>{let{title:t="",subtitle:s="",items:d,bgColor:o,customCss:x="",fixedheight:m=!1}=e,{textColor:h,placeholderColor:p,borderColor:g,iconColor:u,isLight:f}=(0,i.MN)(o),[v,j]=(0,c.useState)(null),b=(0,c.useRef)(null),w=(0,c.useRef)({});(0,c.useEffect)(()=>{if(!v)return;let e=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,t=setTimeout(()=>{let t=w.current[v];if(!t)return;let s=t.getBoundingClientRect(),l=window.scrollY+s.top-80;window.scrollTo({top:Math.max(0,l),behavior:e?"auto":"smooth"})},300*!e);return()=>clearTimeout(t)},[v]);let N=(0,c.useCallback)(e=>{j(e||null)},[]);return(0,l.jsxs)("div",{className:"relative z-0 py-6 md:py-8 ".concat(x),style:{backgroundColor:o},children:[(0,l.jsxs)("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:[(0,l.jsx)("img",{src:"/design/ukcsc-member-
1arrow-bluebell.png",alt:"",className:"hidden md:block absolute -top-8 -right-8 h-32 md:h-36 opacity-15"}),(0,l.jsx)("img",{src:"/design/ukcsc-member-arrow-bluebell.png",alt:"",className:"hidden md:block absolute -bottom-4 left-6 h-32 md:h-36 opacity-15"})]}),(0,l.jsx)("div",{className:"".concat(h," overflow-hidden"),children:(0,l.jsx)("div",{className:"relative z-10 max-w-7xl mx-auto h-full",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"text-left mb-4 px-4 sm:px-0 md:px-6 lg:px-6 xl:px-0",children:[(0,l.jsx)("h2",{className:"text-lg sm:text-xl lg:text-2xl font-bold text-left",children:t}),s&&(0,l.jsx)("p",{className:"text-left text-sm sm:text-base mt-1 max-w-prose",children:s})]}),(0,l.jsx)("div",{className:"max-w-7xl mx-auto mt-6 px-2 sm:px-0 md:px-6 lg:px-6 xl:px-0",ref:b,children:(0,l.jsx)(a.nD,{type:"single",collapsible:!0,onValueChange:N,children:d&&d.map(e=>(0,l.jsx)(a.As,{value:e.id,className:(0,i.cn)("border-none rounded-none mb-5 ".concat(f?"bg-white":""," group")),children:(0,l.jsxs)("div",{className:"flex gap-0 sm:gap-3 px-2",ref:t=>{w.current[e.id]=t},"data-accordion-item":!0,children:[(0,l.jsx)("div",{className:(0,i.cn)("flex-shrink-0 w-14 h-14 sm:w-16 sm:h-16 lg:w-16 lg:h-16 transition-all duration-300 overflow-hidden mt-6 sm:mt-0",!m&&"xl:group-data-[state=open]:w-36 xl:group-data-[state=open]:h-36"),children:e.image?(0,l.jsx)(n.default,{src:e.image,alt:e.title||"",width:128,height:128,sizes:"(min-width:1280px) 144px, (min-width:1024px) 128px, 64px",className:"w-10 h-10 sm:w-full sm:h-full object-cover"}):(0,l.jsx)("div",{className:"w-10 h-10 sm:w-full sm:h-full bg-white/10 border-2 ".concat(g," rounded-sm flex items-center justify-center transition-colors"),children:(0,l.jsx)("div",{className:"h-6 w-6 sm:h-8 sm:w-8 bg-gray-400 rounded ".concat(u)})})}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center pr-2 pl-1 sm:pr-8 sm:pl-4 md:pr-10 md:pl-5 lg:pr-12 lg:pl-6 py-1 sm:py-2",children:[(0,l.jsx)(a.$m,{className:"hover:no-underline w-full flex p-0 py-3 text-left",size:30,iconCss:"text-theme-tangerine",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"text-lg sm:text-xl font-bold bg-transparent leading-snug",children:e.title}),e.subtitle&&(0,l.jsx)("p",{className:"text-left text-white/75 text-sm sm:text-base max-w-prose",children:e.subt
1itle})]})}),(0,l.jsx)(a.ub,{className:"pb-4 flex mt-1 pr-2 sm:pr-4",children:(0,l.jsx)("div",{className:"w-full text-sm sm:text-base leading-relaxed",children:(0,l.jsx)(r.default,{content:e.content})})})]})]})},e.id))})})]})})})]})}},5692:(e,t,s)=>{"use strict";s.d(t,{nD:()=>r,ub:()=>x,As:()=>d,$m:()=>o});var l=s(5155),a=s(2115),i=s(9012),n=s(5016);let c=e=>{let{size:t=15,color:s="#E96A14"}=e;return(0,l.jsx)("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M4 6L11 6L7.5 10.5L4 6Z",fill:s})})},r=i.bL,d=a.forwardRef((e,t)=>{let{className:s,...a}=e;return(0,l.jsx)(i.q7,{ref:t,className:(0,n.cn)("",s),...a})});d.displayName="AccordionItem";let o=a.forwardRef((e,t)=>{let{className:s,children:a,iconCss:r,size:d=24,...o}=e;return(0,l.jsx)(i.Y9,{className:"flex",children:(0,l.jsxs)(i.l9,{ref:t,className:(0,n.cn)("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:no-underline text-left group",s),...o,children:[a,(0,l.jsx)("span",{className:"transition-transform duration-300 group-data-[state=open]:rotate-180",children:(0,l.jsx)(c,{size:d})})]})})});o.displayName=i.l9.displayName;let x=a.forwardRef((e,t)=>{let{className:s,children:a,...c}=e;return(0,l.jsx)(i.UC,{ref:t,className:"overflow-hidden text-sm will-change-[height] data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...c,children:(0,l.jsx)("div",{className:(0,n.cn)("pb-4 pt-0",s),children:a})})});x.displayName=i.UC.displayName},5836:(e,t,s)=>{Promise.resolve().then(s.bind(s,9246)),Promise.resolve().then(s.bind(s,761))},6630:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>c});var l=s(5155),a=s(430),i=s(2869),n=s(2115);let c=e=>{let{content:t,className:s="",injectStyles:c=!0}=e,r=n.useMemo(()=>(0,i.p)((0,a.C9)(t)),[t]);return(0,l.jsxs)(l.Fragment,{children:[c&&(0,l.jsx)("style",{"data-rich-text-inline":"true",dangerouslySetInnerHTML:{__html:a.Tm}}),(0,l.jsx)("div",{className:"rich-text-display ".concat(s).trim(),dangerouslySetInnerHTML:{__html:r}})]})}},6782:(e,t,s)=>{"use strict";s.d(t,{A:()=>d});var l=s(5155),a=s(2022);s(2115);var i=s(5016),n=s(1622),c=s(2168);function r(e){if(!e)return!1;let t=e.trim();return t.startsWith("#")||t.startsWith("rgb")||t.startsWith("hsl")||t.startsWith("var(")}let d=e=>{let{bgColor:t=c.o$.gray,leftBgColor:s="bg-theme-bluebell",customCss:d="",leftCustomCss:o,image:x,imageAlt:m="Call to action image",content:h,contentCss:p="",children:g,ctaText:u,topBorderColor:f="bg-theme-indigo",hideTopBorder:v,ctaLink:j,ctaBorderColor:b="bg-theme-tangerine",ctaBgColor:w="bg-theme-tangerine",ctaCustomCss:N,ctaBtnSize:y="wide",ctaNewTab:k=!1}=e,C=v?"":"mt-[2.53rem]",z=r(f)?"":f,T=r(f)?{backgroundColor:f}:void 0,S=r(s)?"":s,A=r(s)?{backgroundColor:s}:void 0,L=/(\s|^)(min-h-|h-|sm:min-h-|md:min-h-|lg:min-h-|xl:min-h-)/.test(d);return(0,l.jsxs)("div",{className:z,style:T,children:[(0,l.jsx)("div",{className:(0,i.cn)("relative w-full lg:hidden",d),style:f?void 0:{backgroundColor:t},children:(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsxs)("div",{className:(0,i.cn)("px-6 sm:px-8 pb-8 text-white",S,v?"pt-24 sm:pt-28":"pt-10",C),style:A,children:[(0,l.jsx)("h2",{className:(0,i.cn)("text-2xl sm:text-3xl leading-tight font-bold mb-5 max-w-[48ch] drop-shadow-[0_2px_4px_rgba(0,0,0,0.6)]",p),children:h}),(0,l.jsx)("div",{children:(0,l.jsx)(n.default,{ctaText:u,ctaLink:j,newTab:k,bgColor:w,borderColor:(0,i.cn)("bg-theme-bluebell",b),customCss:N,size:y})})]}),(0,l.jsxs)("div",{className:"relative w-full min-h-[360px] sm:min-h-[440px]",children:[x&&(0,l.jsx)(a.default,{src:x,alt:m,fill:!0,sizes:"100vw",className:"object-cover object-center",priority:!1}),(0,l.jsx)("div",{className:"absolute inset-0 bg-theme-indigo/80"}),g&&(0,l.jsx)("div",{className:"relative z-10 px-6 sm:px-8 py-8 text-white",children:g})]})]})}),(0,l.jsxs)("div",{className:(0,i.cn)("hidden lg:grid relative w-full grid-cols-2",L?"":"min-h-[520px] lg:min-h-[600px]",d),style:f?void 0:{backgroundColor:t},children:[(0,l.jsx)("div",{className:(0,i.cn)("relative",S,C,o),style:A,children:(0,l.jsx)(a.default,{src:"/design/ukcsc-member-
1arrow.png",alt:"UKCSC member arrow",fill:!0,className:(0,i.cn)("object-cover object-center"),priority:!0})}),(0,l.jsx)("div",{className:(0,i.cn)("relative h-full w-full min-h-[240px]",g?"after:absolute after:inset-0 after:bg-theme-indigo/80 after:z-10":""),children:x&&(0,l.jsx)(a.default,{src:x,alt:m,fill:!0,sizes:"50vw",className:"object-cover object-center",style:{zIndex:0},priority:!1})}),(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 flex justify-center z-10",children:(0,l.jsxs)("div",{className:"max-w-7xl 2xl:max-w-[1680px] w-full mx-auto grid grid-cols-2 gap-0 pointer-events-auto py-0",children:[(0,l.jsxs)("div",{className:(0,i.cn)("flex flex-col justify-center text-white bg-no-repeat bg-cover pl-8 2xl:pl-14 pr-12 xl:pr-[18%] w-full",C),children:[(0,l.jsx)("h2",{className:(0,i.cn)("text-4xl xl:text-5xl leading-[1.15] font-bold max-w-[48ch] mb-8",p),children:h}),(0,l.jsx)("div",{children:(0,l.jsx)(n.default,{ctaText:u,ctaLink:j,newTab:k,bgColor:w,borderColor:(0,i.cn)("bg-theme-bluebell",b),customCss:N,size:y})})]}),(0,l.jsx)("div",{className:"flex flex-col justify-center pl-10 xl:pl-[15%] pr-8 2xl:pr-14 mt-0 text-white",children:g})]})})]})]})}},7003:(e,t,s)=>{"use strict";s.d(t,{$:()=>r,r:()=>c});var l=s(5155);s(2115);var a=s(2467),i=s(3101),n=s(5016);let c=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function r(e){let{className:t,variant:s,size:i,asChild:r=!1,...d}=e,o=r?a.DX:"button";return(0,l.jsx)(o,{"data-slot":"button",className:(0,n.cn)(c({variant:s,size:i,className:t})),...d})}},7937:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l=(0,s(1847).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},9246:(e,t,s)=>{"use strict";s.d(t,{default:()=>et});var l=s(5155),a=s(2115),i=s(5016),n=s(5692),c=s(6630),r=s(4956),d=s(8661),o=s.n(d),x=s(2022),m=s(2168),h=s(451),p=s(1622),g=s(505);let u=e=>{let{title:t,subtitle:s,CTAText:a,ctaLink:n="",themeBtn:c=!1,line:r=!1,tight:d=!1,backgroundColor:o=m.o$.indigo,customCss:x}=e,h=(0,i.vG)(o);return(0,l.jsxs)("div",{className:"flex items-center gap-4 ".concat(x),children:[(0,l.jsxs)("div",{className:"flex flex-col ".concat(d?"gap-0":"gap-2"),children:[(0,l.jsx)("h3",{className:"text-lg md:text-2xl font-bold ".concat(h),children:t}),s&&(0,l.jsx)("p",{className:"text-xs md:text-sm opacity-80 ".concat(h),children:s})]}),(0,l.jsx)("div",{className:"flex-1",children:r?(0,l.jsx)("hr",{className:"bg-theme-tangerine",style:{height:"2px",border:"none"}}):(0,l.jsx)("div",{className:"h-[2px]"})}),(0,l.jsxs)("div",{className:"shrink-0",children:[a&&c&&(0,l.jsx)(p.default,{bgColor:"bg-theme-tangerine",size:"wide",ctaLink:n,ctaText:a}),a&&!c&&(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsx)(g.t,{href:n,children:a})})]})]})};var f=s(3209);function v(e){let{title:t,content:s,bgColor:a=m.o$.indigo,panelBgColor:n=m.o$.indigo90,showArrows:r=!1,className:d,customCss:o,floatPanel:h=!1}=e,{textColor:p}=(0,i.MN)(n);return(0,l.jsxs)("section",{className:(0,i.cn)("relative overflow-visible",h&&"z-20 -mt-16 md:-mt-24 lg:-mt-28",o,d),children:[(0,l.jsx)("div",{className:(0,i.cn)("absolute inset-x-0 bottom-0",h?"top-16 md:top-24 lg:top-28":"top-0"),style:{backgroundColor:a},"aria-hidden":"true"}),(0,l.jsxs)("div",{className:(0,i.cn)("relative z-10 mx-auto flex w-full max-w-7xl items-center justify-center px-4 text-center sm:px-6 md:px-8",h?"pt-0":""),children:[(0,l.jsx)("div",{className:"relative flex w-full items-center justify-center",children:(0,l.jsxs)("div",{className:(0,i.cn)("relative z-10 flex w-full max-w-[1120px] flex-col items-center justify-center overflow-hidden px-0 py-6 sm:px-4 md:px-16 md:py-10 lg:px-20",h?"mb-6 md:mb-8":"my-8 md:my-16"),style:{backgroundColor:n},children:[r&&(0,l.jsx)("div",{className:"pointer-events-none absolute left-0 top-1/2 hidden h-[120px] w-[180px] -translate-x-[25%] -translate-y-1/2 select-none md:block md:h-[140px] md:w-[210px] lg:h-[160px] lg:w-[240px]",children:(0,l.jsx)(x.default,{src:"/design/arrow-bluebell-right-50.png",alt:"",fill:!0,sizes:"(max-width: 1024px) 210px, 240px",className:"object-contain object-left","aria-hidden":"true"})}),(0,l.jsx)("h2",{className:(0,i.cn)("max-w-[840px] font-semibold text-xl leading-8 sm:text-2xl",p),children:t}),(0,l.jsx)(c.default,{content:s,className:(0,i.cn)("mt-4 max-w-[90%] lg:max-w-[70%] rich-text-display",p)}),r&&(0,l.jsx)("div",{className:"pointer-events-none absolute right-0 top-1/2 hidden h-[120px] w-[180px] translate-x-[25%] -translate-y-1/2 select-none md:block md:h-[140px] md:w-[210px] lg:h-[160px] lg:w-[240px]",children:(0,l.jsx)(x.default,{src:"/design/arrow-bluebell-left-50.png",alt:"",fill:!0,sizes:"(max-width: 1024px) 210px, 240px",className:"object-contain object-right","aria-hidden":"true"})})]})}),(0,l.jsx)("div",{className:"hidden sm:block absolute bottom-16 sm:bottom-20 right-0 lg:right-[3.5%] w-[60px] sm:w-[80px] h-[80px] sm:h-[100px] z-40",children:(0,l.jsx)(x.default,{src:"/design/diamonds-bluebell.png",alt:"Design accent",fill:!0,sizes:"80px",style:{objectFit:"contain"}})})]})]})}var j=s(9710),b=s(9275),w=s(6782),N=s(1985),y=s(5341),k=s(7251),C=s(1294),z=s(3341),T=s(6496),S=s(2588),A=s(3344),L=s(2869),D=s(1881),M=s(3755),E=s(63),F=s(8122);let _=()=>(0,l.jsx)("section",{className:"py-12",style:{backgroundColor:"#F3F3F5"}
1,children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto space-y-8 p-6",children:[(0,l.jsxs)("div",{className:"space-y-3",children:[(0,l.jsx)(F.E,{className:"h-6 w-1/3"}),(0,l.jsx)(F.E,{className:"h-4 w-1/2"})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 gap-4 sm:gap-5 mt-2",children:[void 0,void 0,void 0].map((e,t)=>(0,l.jsxs)("div",{className:"space-y-3",children:[(0,l.jsx)(F.E,{className:"h-[200px] w-full rounded-xs"}),(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)(F.E,{className:"h-4 w-3/4"}),(0,l.jsx)(F.E,{className:"h-4 w-5/6"}),(0,l.jsx)(F.E,{className:"h-4 w-1/2"})]})]},t))})]})});var $=s(395);let R=(0,s(1847).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);var P=s(7937),I=s(7003);function W(e){let{className:t,theme:s="light",...a}=e;return(0,l.jsx)("nav",{role:"navigation","aria-label":"pagination","data-slot":"pagination","data-theme":s,className:(0,i.cn)("mx-auto flex w-full justify-center",t),...a})}function G(e){let{className:t,...s}=e;return(0,l.jsx)("ul",{"data-slot":"pagination-content",className:(0,i.cn)("flex flex-row items-center gap-1",t),...s})}function H(e){let{...t}=e;return(0,l.jsx)("li",{"data-slot":"pagination-item",...t})}function B(e){let{className:t,isActive:s,size:a="icon",theme:n="light",...c}=e;return(0,l.jsx)("a",{"aria-current":s?"page":void 0,"data-slot":"pagination-link","data-active":s,className:(0,i.cn)((0,I.r)({variant:s?"outline":"ghost",size:a}),"dark"===n?"text-white hover:text-theme-tangerine border-white/20 hover:border-theme-tangerine data-[active=true]:bg-theme-tangerine data-[active=true]:text-theme-indigo data-[active=true]:border-theme-tangerine":"text-gray-900 hover:text-theme-indigo border-gray-300 hover:border-theme-indigo data-[active=true]:bg-theme-indigo data-[active=true]:text-white data-[active=true]:border-theme-indigo",t),...c})}function V(e){let{className:t,theme:s="light",...a}=e;return(0,l.jsxs)(B,{"aria-label":"Go to previous page",size:"default",theme:s,className:(0,i.cn)("gap-1 px-2.5 sm:pl-2.5",t),...a,children:[(0,l.jsx)(R,{}),(0,l.jsx)("span",{className:"hidden sm:block",children:"Previous"})]})}function Z(e){let{className:t,theme:s="light",...a}=e;return(0,l.jsxs)(B,{"aria-label":"Go to next page",size:"default",theme:s,className:(0,i.cn)("gap-1 px-2.5 sm:pr-2.5",t),...a,children:[(0,l.jsx)("span",{className:"hidden sm:block",children:"Next"}),(0,l.jsx)(P.A,{})]})}let q=e=>{let{isDark:t}=e;return(0,l.jsx)(l.Fragment,{children:Array.from({length:5}).map((e,s)=>(0,l.jsx)(f.Zp,{className:"p-0 border-none rounded-[1px] shadow-none ".concat(t?"bg-theme-indigo90":"bg-theme-indigo90/40"),children:(0,l.jsxs)(f.Wu,{className:"flex flex-col sm:flex-row items-stretch p-0",children:[(0,l.jsx)("div",{className:"relative w-full h-48 sm:min-w-[180px] sm:w-[180px] sm:h-[160px] flex-shrink-0",children:(0,l.jsx)(F.E,{className:"w-full h-full rounded-t-[1px] sm:rounded-t-none sm:rounded-l-[1px]"})}),(0,l.jsxs)("div",{className:"flex flex-col justify-start flex-1 pt-4 px-4 sm:pl-6 sm:pr-6 gap-3 mt-2 sm:mt-0",children:[(0,l.jsx)(F.E,{className:"h-5 w-1/3"}),(0,l.jsx)(F.E,{className:"h-3 w-1/2"}),(0,l.jsx)(F.E,{className:"h-3 w-2/3"}),(0,l.jsx)("div",{className:"mt-4 w-32",children:(0,l.jsx)(F.E,{className:"h-9 w-full"})})]})]})},s))})};var U=s(9042),O=s(8646);function K(e){if(!e)return!1;let t=e.trim();return t.startsWith("#")||t.startsWith("rgb")||t.startsWith("hsl")||t.startsWith("var(")}function Y(e){let{title:t,sections:s,bgColor:a="#FFFFFF",iconSrc:n="/design/ukcsc-member-arrow-bluebell.png",iconAlt:r="",divi
1derColorClass:d="bg-theme-tangerine",className:o,customCss:m}=e,h=s.filter(e=>!!(null==e?void 0:e.trim())).map(e=>e.replace(/\s*\n\s*/g," ")),p=K(d)?{backgroundColor:d}:void 0,g=K(d)?"":d;return(0,l.jsx)("section",{className:(0,i.cn)("relative py-12 text-theme-indigo sm:py-14 lg:py-16",o,m),style:{backgroundColor:a},children:(0,l.jsxs)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 md:px-8",children:[(0,l.jsx)("div",{className:"relative mb-6 h-12 w-16 sm:mb-8 sm:h-14 sm:w-20",children:(0,l.jsx)(x.default,{src:n,alt:r,fill:!0,sizes:"80px",className:"object-contain object-left","aria-hidden":!r||void 0})}),(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-4 lg:gap-6 xl:gap-10 lg:items-start lg:grid-cols-[minmax(320px,390px)_minmax(0,1fr)]",children:[(0,l.jsx)("div",{className:"lg:sticky lg:top-24 lg:self-start",children:(0,l.jsx)("div",{children:(0,l.jsx)("h2",{className:"font-bold leading-[1.05] tracking-tight text-2xl sm:text-2xl lg:text-3xl",children:t})})}),(0,l.jsx)("div",{className:"min-w-0",children:h.map((e,s)=>(0,l.jsxs)("div",{children:[(0,l.jsx)(c.default,{content:e,className:"rich-text-content text-base leading-relaxed text-theme-indigo [&_.rich-text-display]:space-y-0 [&_p]:!whitespace-normal [&_p]:mb-4 [&_p:last-child]:mb-0 [&_strong]:font-semibold [&_ul]:mt-4 [&_ul]:space-y-2 [&_li]:leading-relaxed",injectStyles:0===s}),s<h.length-1?(0,l.jsx)("div",{className:(0,i.cn)("my-8 h-1 w-full",g),style:p}):null]},"".concat(t,"-section-").concat(s)))})]})]})})}let X=()=>(0,l.jsx)("section",{className:"bg-theme-indigo py-3",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto space-y-8 px-4 sm:px-6 py-6 text-theme-indigo",children:[(0,l.jsxs)("div",{className:"space-y-3",children:[(0,l.jsx)(F.E,{className:"h-6 w-1/3 bg-theme-indigo90"}),(0,l.jsx)(F.E,{className:"h-4 w-1/2 bg-theme-indigo90"})]}),(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 sm:gap-6 mt-2",children:[void 0,void 0,void 0].map((e,t)=>(0,l.jsxs)("div",{className:"space-y-3",children:[(0,l.jsx)(F.E,{className:"h-[200px] w-full rounded-xs bg-theme-indigo90"}),(0,l.jsxs)("div",{className:"space-y-2",children:[(0,l.jsx)(F.E,{className:"h-4 w-3/4 bg-theme-indigo90"}),(0,l.jsx)(F.E,{className:"h-4 w-5/6 bg-theme-indigo90"}),(0,l.jsx)(F.E,{className:"h-4 w-1/2 bg-theme-indigo90"})]})]},t))})]})});var J=s(7346);let Q={HeaderPrimary:T.default,Header3:z.default,ContentCallout:v,DuoSelector:e=>{let{bgColor:t="#080A34",customCss:s="",sections:a,aspectRatio:i="4 / 2.6"}=e;return(0,l.jsx)("div",{className:"cursor-pointer pb-24 md:px-6 lg:px-8 xl:px-0 ".concat(s),style:{backgroundColor:t},children:(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-4 lg:gap-6 text-white max-w-7xl mx-auto px-4 sm:px-6 md:px-0",children:a.map((e,t)=>{let s=t%2==0;return(0,l.jsxs)("a",{href:e.link,className:"relative text-center group","aria-label":e.title,children:[(0,l.jsx)("div",{className:"relative overflow-hidden w-full mx-0",style:{aspectRatio:i},children:(0,l.jsx)(x.default,{src:e.image||"/primary-header.png",alt:e.title,fill:!0,sizes:"(max-width: 968px) 100vw, 600px",priority:!0,className:"transition-transform duration-300 group-hover:scale-[1.01] object-contain object-bottom ".concat(s?"md:object-right pr-2":"md:object-left pl-2")})}),(0,l.jsxs)("div",{className:"mt-2 md:mt-1 space-y-1 md:space-y-1 text-center px-1 md:px-0",children:[(0,l.jsx)("h2",{className:"text-lg md:text-xl font-bold",style:{color:e.titleColor},children:e.title}),(0,l.jsx)("p",{className:"mx-auto text-sm md:text-[0.9rem] lg:text-[1.12rem] md:leading-tight lg:leading-snug opacity-90 w-[92%] lg:w-[80%]",children:e.description}),e.link&&(0,l.jsxs)("span",{className:"inline-block pt-2 text-theme-tangerine underline group/link uppercase font-bold text-xs md:text-[0.7rem] lg:text-[0.8rem] tracking-wider transition-transform duration-300 group-hover:scale-[1.01]",style:{textUnderlineOffset:"4px"},children:[e.linkText||"Learn More",(0,l.jsx)(x.default,{src:"/design/triangle-tang-right.png",alt:"",width:7,height:7,className:"inline-block ml-1.5 transition-transform group-hover:translate-x-1 h-auto",style:{width:7,height:10},"aria-hidden":!0})]})]})]},t)})})})},FilteredTabsSelector:C.FilteredTabsSelector,MediaDisplay:$.MediaDisplay,StickyTitleRichText:Y,InfoFocus:e=>{let{leftTitle:t,rightTexts:s,ctaText:i,ctaLink:n,backgroundColor:r,customCss:d=""}=e;return(0,l.jsx)("div",{className:"pb-24 px-4 md:px-6 lg:px-8 xl:px-0 ".concat(d),style:{backgroundColor:r},children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col md:flex-row gap-6 text-white relative",children:[(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsx)("div",{className:"text-xl sm:text-2xl md:text-3xl whitespace-pre-line flex items-center gap-2 w-[92%] md:w-[87%]",children:(0,l.jsx)(c.default,{content:t,className:"leading-tight"})}),(0,l.jsx)(x.default,{src:"/design/arrow-outline-white.png",alt:"Decorative",width:370,height:181,className:"absolute left-0 object-cover mt-12 -ml-6 hidden sm:block",priority:!0})]}),(0,l.jsxs)("div",{className:"flex-1 space-y-4 text-base sm:text-lg z-20",children:[(0,l.jsx)("div",{className:"w-full h-[2px] sm:h-[3px] bg-theme-tangerine mb-2 sm:mb-4"}),s.map((e,t)=>(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)(c.default,{content:e,className:"whitespace-pre-line"}),t<s.length-1&&(0,l.jsx)("div",{className:"w-full h-[2px] sm:h-[3px] bg-theme-tangerine my-2 sm:my-4"})]},t)),i&&n&&(0,l.jsx)(p.default,{ctaLink:n,ctaText:i,bgColor:"bg-theme-tangerine",size:"wide",customCss:"!pl-[15px] pr-[40px] py-[16px] tracking-widest"})]}),(0,l.jsx)(x.default,{src:"/design/arrow-outline-white.png",alt:"Decorative",width:180,height:88,className:"absolute -right-9 -bottom-16 object-cover sm:hidden z-10",priority:!0})]})})},GridCard:e=>{let{bgColor:t,mainItem:s,items:a,customCss:i=""}=e;return(0,l.jsx)("div",{className:"pt-10 pb-16 sm:pb-20 lg:pb-24 text-white space-y-6 ".concat(i),style:{backgroundColor:t},children:(0,l.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6 md:gap-8 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 xl:px-0",children:[(0,l.jsxs)("div",{className:"border border-theme-tangerine p-5 sm:col-span-2 md:col-span-1 rounded-md bg-theme-indigo90/30 backdrop-blur-[1px]",children:[(0,l.jsx)("h3",{className:"text-lg sm:text-xl md:text-2xl font-semibold tracking-tight",children:s.title}),(0,l.jsx)("p",{className:"text-xs sm:text-sm leading-relaxed whitespace-pre-line mt-2 max-w-prose",children:s.description})]}),a&&a.map((e,t)=>(0,l.jsxs)("div",{className:"border-none bg-theme-indigo90 p-4 rounded-sm space-y-3 hover:bg-theme-indigo90/80 transition-colors",children:[(0,l.jsx)("div",{className:"w-12 h-12 sm:w-14 sm:h-14 md:w-[60px] md:h-[60px] relative",children:(0,l.jsx)(x.default,{src:e.icon||"/primary-header.png",alt:e.title,fill:!0,sizes:"60px",loading:t>0?"lazy":"eager",className:"object-contain"})}),(0,l.jsx)("h4",{className:"text-sm sm:text-base md:text-lg font-bold tracking-tight",children:e.title}),(0,l.jsx)("p",{className:"whitespace-pre-line leading-relaxed text-xs sm:text-sm md:text-sm max-w-prose",children:e.description}),e.link&&(0,l.jsx)("div",{className:"",children:(0,l.jsx)(g.t,{href:e.link,children:e.linkText||"Read more"})})]},t))]})})},TabSelector:e=>{let{heading:t,bgColor:s=m.o$.indigo,customCss:r="",tabs:d}=e,[o,h]=(0,a.useState)(0);return(0,l.jsx)("div",{className:(0,i.cn)("pb-16 pt-8 md:pt-12 text-white",r),style:{backgroundColor:s},children:(0,l.jsxs)("div",{className:"w-full max-w-7xl mx-auto md:px-6 lg:px-8 xl:px-0 px-4",children:[t&&(0,l.jsx)(O.A,{text:t,size:"base",as:"h2",align:"left"}),(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-6 gap-4 lg:gap-2 mt-3 lg:mt-8 w-full mx-auto justify-items-center lg:justify-items-start",children:[(0,l.jsx)("div",{className:"lg:hidden col-span-1 w-full",children:(0,l.jsx)("div",{className:"mx-auto w-full max-w-md md:max-w-full",children:(0,l.jsx)(n.nD,{type:"single",collapsible:!0,value:"tab-".concat(o),onValueChange:e=>{if(!e)return;let t=parseInt(e.replace("tab-",""));Number.isNaN(t)||h(t)},className:"space-y-3",children:d.map((e,t)=>(0,l.jsxs)(n.As,{value:"tab-".concat(t),className:"overflow-hidden",children:[(0,l.jsx)(n.$m,{className:(0,i.cn)("w-full text-left py-3 md:py-4 px-4 font-bold text-base md:text-lg transition-colors duration-200","bg-theme-indigo hover:bg-theme-indigo90/40 data-[state=open]:bg-theme-indigo90 data-[state=open]:text-theme-tangerine"),children:e.label}),(0,l.jsx)(n.ub,{className:"p-0",children:(0,l.jsxs)("div",{className:"bg-theme-indigo90",children:[(0,l.jsxs)("div",{className:"px-4 pb-3",children:[(0,l.jsx)(c.default,{className:"text-sm sm:text-[0.925rem] md:text-base md:leading-relaxed opacity-90 mb-2",content:e.content||""}),e.link&&(0,l.jsx)(g.t,{href:e.link,children:e.linkText||"Learn More",className:"underline-offset-4 tracking-widest block w-full text-center !mt-0"})]}),e.image&&(0,l.jsx)("div",{className:"relative w-full aspect-[2/1]",children:(0,l.jsx)(x.default,{src:e.image,alt:e.label,fill:!0,sizes:"(max-width: 1024px) 100vw, 50vw",loading:"lazy",className:"rounded-none object-cover"},d[t].image)})]})})]},t))})})}),(0,l.jsx)("div",{className:"hidden lg:flex flex-col gap-4 mb-8 col-span-2 min-w-[90%]",children:d.map((e,t)=>(0,l.jsxs)("div",{className:"flex flex-row",children:[o===t&&(0,l.jsx)("div",{className:"w-[6px] bg-theme-tangerine h-[60px]"}),o===t?(0,l.jsx)("div",{className:"flex px-6 font-bold items-center w-full bg-theme-indigo90 border-none",children:(0,l.jsx)("p",{className:"",children:e.label})}):(0,l.jsx)("div",{className:"h-[60px] flex px-6 font-bold items-center w-full border-none cursor-pointer transition-all duration-200 hover:bg-theme-indigo90/20 hover:underline-offset-4 hover:scale-105",onClick:()=>h(t),children:e.label})]},t))}),d[o]&&(0,l.jsxs)("div",{className:"hidden lg:grid col-span-4 grid-cols-1 lg:grid-cols-2 gap-6 bg-theme-indigo90",children:[(0,l.jsxs)("div",{className:"space-y-4 px-6",children:[(0,l.jsx)(c.default,{className:"text-sm sm:text-base md:text-[1rem] lg:text-[1.075rem] xl:text-[1.15rem] 2xl:text-[1.2rem] opacity-90 md:leading-normal",content:d[o].content||""}),d[o].link&&(0,l.jsx)(g.t,{href:d[o].link,children:d[o].linkText||"Learn More",className:"underline-offset-4 tracking-widest"})]}),d[o].image&&(0,l.jsx)("div",{className:"relative w-full aspect-[2.5/2.7]",children:(0,l.jsx)(x.default,{src:d[o].image,alt:d[o].label,fill:!0,sizes:"(max-width: 1024px) 100vw, 50vw",className:"rounded-none object-cover"},d[o].image)})]},d[o].link)]})]})})},CTASection:e=>{let{body:t,tag:s,tagColor:a="text-white",tagBgColor:n="bg-theme-indigo",tagActionText:c,tagActionLink:r,float:d="top",cardType:o=2,spacerBgColor:m="bg-theme-indigo",height:h,cardBgColor:u="bg-theme-indigo90",backgroundImg:f,customCss:v
1="",heading:j,ctaText:b,ctaLink:w}=e,N=(null==u?void 0:u.startsWith("#"))?"bg-[".concat(u,"]"):u;return(0,l.jsxs)("div",{className:"relative grid text-white bg-primary mx-auto",children:[(0,l.jsx)("div",{className:"".concat("top"===d?"h-[90px]":"h-[60px]"," w-full ").concat(m)}),(0,l.jsx)("div",{className:"relative w-full aspect-[16/9] md:aspect-[21/9] xl:aspect-[3/1]",style:h?{height:"".concat(h,"px"),aspectRatio:"auto"}:{},children:(0,l.jsx)(x.default,{src:f||"/design/placeholder.png",alt:"CTA Background",fill:!0,sizes:"100vw",className:"object-cover",priority:!0})}),(0,l.jsxs)("div",{className:"\n                    absolute\n                    ".concat(N,"\n                    ").concat("top"===d?"left-4 sm:left-8 lg:left-[10%] top-4 sm:top-6 lg:top-8":"","\n                    ").concat("left"===d?"left-4 sm:left-8 lg:left-[7%] top-1/2 -translate-y-1/2":"","\n                    ").concat("right"===d?"right-4 sm:right-8 lg:right-10 top-6 lg:top-12":"","\n                    w-[92%] sm:w-[85%] md:w-[60%] lg:w-[42%] xl:w-[34%]\n                    p-5 sm:p-6 md:p-7 lg:p-8 shadow-lg\n                    ").concat(v,"\n                "),children:[(0,l.jsx)("div",{className:"absolute inset-0 opacity-10",style:(0,i.IG)({backgroundImage:"url('/design/arrow-outline-white.png')",backgroundSize:"cover",backgroundPosition:"center"})}),2===o&&(0,l.jsxs)("div",{className:"relative z-10 space-y-5",children:[j&&(0,l.jsx)("h2",{className:"text-lg sm:text-xl md:text-2xl lg:text-[1.75rem] font-bold leading-tight w-11/12",children:j}),b&&w&&(0,l.jsx)("div",{className:"pt-1",children:(0,l.jsx)(p.default,{bgColor:"bg-theme-tangerine",ctaLink:w,ctaText:b,size:"wide",customCss:"w-full sm:w-auto"})})]}),4===o&&(0,l.jsxs)("div",{className:"relative z-10",children:[(0,l.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-4",children:[s&&(0,l.jsx)("div",{className:"inline-block text-[0.75rem] sm:text-sm md:text-base font-semibold ".concat(a," ").concat(n," px-2.5 sm:px-3 py-1.5 sm:py-2 uppercase tracking-widest rounded-md"),children:s}),c&&r&&(0,l.jsx)(g.t,{href:r,className:"mt-0 hover:text-theme-tangerine",children:c})]}),j&&(0,l.jsx)("h2",{className:"text-sm sm:text-base md:text-xl font-bold tracking-wide text-theme-indigo mt-4",children:j}),t&&(0,l.jsx)("div",{className:"text-sm sm:text-base md:text-lg font-normal leading-relaxed text-theme-indigo mt-2",children:t}),b&&w&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(g.t,{href:w,target:"_blank",children:b,rel:"noopener noreferrer"})})]}),4===o&&(0,l.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-3 bg-theme-tangerine"})]}),(0,l.jsx)("div",{className:"hidden md:block absolute ".concat("top"===d?"top-2":"top-0"," right-8 lg:right-24 w-12 h-16 sm:w-16 sm:h-24 lg:w-[87px] lg:h-[124px]"),children:(0,l.jsx)(x.default,{src:"/design/diamond-orange.png",alt:"Decorative Diamond",fill:!0,sizes:"87px",loading:"lazy",className:"object-contain"})})]})},CTASection2:b.A,Spotlight:e=>{let{heading:t,description:s,bgColor:i=m.o$.indigo,customCss:n="",brands:c}=e,[r,d]=(0,a.useState)([]);return(0,a.useEffect)(()=>{(async()=>{d((await (0,h.tu)("membersDirectory",{page:1,pageSize:20,membershipType:"Spotlight"})).items||[])})()},[]),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("div",{className:"relative h-24 sm:h-36 md:h-44 lg:h-48 w-full flex items-end",children:[(0,l.jsx)("div",{className:"absolute inset-0 z-0",style:{backgroundImage:"url('/design/ukcsc-brand-pattern.png')",backgroundSize:"cover",backgroundPosition:"top"}}),(0,l.jsx)("div",{className:"relative z-10 w-full max-w-7xl h-16 bg-theme-indigo mx-auto"})]}),(0,l.jsx)("div",{className:"bg-theme-indigo ".concat(n),style:{backgroundColor:i},children:(0,l.jsxs)("div",{className:"relative z-30 max-w-7xl mx-auto pb-10 sm:pb-12 text-white px-4 sm:px-6 md:px-8",children:[(0,l.jsx)("div",{className:"text-center mb-6 md:mb-4 max-w-3xl w-full mx-auto -mt-6",children:(0,l.jsx)(O.A,{text:t,subText:s,as:"h2",size:"lg",align:"center",tight:!1,bgColor:i})}),(0,l.jsx)("div",{className:"relative grid grid-cols-2 sm:grid-cols-3 md:grid-cols-3 lg:grid-cols-4 gap-4 sm:gap-6 md:gap-8 max-w-7xl mx-auto",children:r&&r.map((e,t)=>(0,l.jsx)(f.Zp,{className:"relative bg-theme-indigo90 border-none rounded-none",children:(0,l.jsx)(f.Wu,{className:"py-4 md:py-6",children:(0,l.jsx)("div",{className:"relative w-full aspect-[3/1] sm:aspect-[3/1] lg:
1aspect-[5/1]",children:(0,l.jsx)(x.default,{src:e.image||"/logo-white.png",alt:e.title||"Spotlight brand",fill:!0,sizes:"(max-width:640px) 50vw, (max-width:1024px) 25vw, 200px",style:{objectFit:"contain"},className:"mx-auto"})})})},e.slug||e.id||t))}),(0,l.jsx)("div",{className:"hidden sm:block absolute bottom-16 sm:bottom-20 left-2 sm:-left-10 w-[60px] sm:w-[80px] h-[80px] sm:h-[100px] z-40",children:(0,l.jsx)(x.default,{src:"/design/diamond-orange.png",alt:"Design accent",fill:!0,sizes:"80px",style:{objectFit:"contain"}})})]})})]})},GridNote:e=>{let{bgColor:t=m.o$.indigo,customCss:s,items:a}=e;return(0,l.jsx)("div",{className:(0,i.cn)("pt-10 pb-16 sm:pb-20 lg:pb-24 px-4 sm:px-6 lg:px-8 text-white space-y-8",s),style:{backgroundColor:t},children:(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-5 md:gap-6 max-w-7xl mx-auto",children:a&&a.map((e,t)=>(0,l.jsxs)("div",{className:"z-20 border-none bg-theme-indigo90 p-4 rounded-mxs space-y-1 text-center hover:bg-theme-indigo90/80 transition-colors focus-visible:outline focus-visible:outline-2 focus-visible:outline-theme-bluebell",children:[(0,l.jsx)("div",{className:"relative w-12 h-12 sm:w-14 sm:h-14 md:w-[60px] md:h-[60px] mx-auto mb-2",children:(0,l.jsx)(x.default,{src:e.icon||"/design/placeholder.png",alt:e.title,fill:!0,sizes:"60px",loading:0===t?"eager":"lazy",className:"object-contain rounded"})}),e.title&&(0,l.jsx)("h3",{className:"text-xs sm:text-sm font-bold tracking-tight pt-1",children:e.title}),e.description&&(0,l.jsx)("p",{className:"text-[11px] sm:text-xs md:text-sm opacity-80 leading-relaxed",children:e.description})]},t))})})},InfoHighlight:M.A,Divider:y.default,Testimonial:e=>{let{bgColor:t,customCss:s="",testimony:a,name:i,position:n}=e;return(0,l.jsxs)("div",{className:"relative overflow-x-hidden ".concat(s),children:[(0,l.jsxs)("div",{className:"absolute inset-0 z-0 pointer-events-none",children:[(0,l.jsx)("div",{className:"absolute top-0 left-0 w-full h-1/2",style:{backgroundColor:t}}),(0,l.jsx)("div",{className:"absolute bottom-0 left-0 w-full h-1/2 bg-white"})]}),(0,l.jsxs)("div",{className:"relative z-10 w-full max-w-7xl mx-auto flex items-center justify-center text-center text-white bg-cover bg-center pt-12 md:pt-20 lg:pt-28 xl:pt-32 px-4 sm:px-6 md:px-8",children:[(0,l.jsxs)("div",{className:"flex flex-col z-10 px-4 sm:px-8 py-10 md:py-12 text-center w-full max-w-[850px] mb-16 md:mb-20 items-center justify-center",style:{backgroundColor:m.o$.indigo90},children:[(0,l.jsx)("div",{className:"relative aspect-square w-10 h-10 sm:w-12 sm:h-12 md:w-14 md:h-14 lg:w-16 lg:h-16 flex items-center justify-center","aria-hidden":"true",children:(0,l.jsx)(x.default,{src:"/design/quote-bluebell.png",alt:"",fill:!0,sizes:"(max-width:640px) 40px, (max-width:768px) 48px, (max-width:1024px) 56px, 64px",className:"object-contain",priority:!1})}),(0,l.jsx)("p",{className:"text-sm md:text-base leading-snug md:leading-normal mt-3 px-2 sm:px-6 text-center w-full max-w-[560px] mx-auto",children:a}),(0,l.jsxs)("div",{className:"flex flex-col w-full max-w-[560px] pt-6 text-center gap-1 mx-auto",children:[(0,l.jsx)("h3",{className:"text-center font-bold text-white tracking-wide",children:i}),(0,l.jsx)("p",{className:"text-center text-xs md:text-sm tracking-wide md:tracking-wider font-light uppercase text-theme-bluebell",children:n})]})]}),(0,l.jsx)("div",{className:"hidden md:block absolute top-[33%] md:-left-24 lg:-left-14 xl:left-10 w-[240px] md:w-[260px] lg:w-[300px] h-[160px] md:h-[180px] lg:h-[200px] z-10 pointer-events-none select-none",children:(0,l.jsx)(x.default,{src:"/design/arrow-bluebell-right-50.png",alt:"Arrow Design Right",fill:!0,sizes:"(max-width: 1024px) 210px, 300px",loading:"lazy",className:"object-contain"})}),(0,l.jsx)("div",{className:"hidden md:block absolute top-[33%] md:-right-24 lg:-right-14 xl:right-10 w-[240px] md:w-[260px] lg:w-[300px] h-[160px] md:h-[180px] lg:h-[200px] z-10 pointer-events-none select-none",children:(0,l.jsx)(x.default,{src:"/design/arrow-bluebell-left-50.png",alt:"Arrow Design Left",fill:!0,sizes:"(max-width: 1024px) 210px, 300px",loading:"lazy",className:"object-contain"})})]})]})},"2x2GridNote":e=>{let{bgColor:t=m.lm[0].value,customCss:s="",title:a,items:n}=e;return(0,l.jsx)("div",{className:"p-6 space-y-6 pb-16 ".concat(s),style:{backgroundColor:t}
1,children:(0,l.jsxs)("div",{className:(0,i.cn)("mx-auto space-y-8 max-w-7xl",s),children:[(0,l.jsx)(u,{title:a,line:!0,backgroundColor:t}),(0,l.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 text-white",children:n&&n.map((e,t)=>(0,l.jsx)("div",{className:"border border-white/30 p-4 rounded-md flex flex-col space-y-4",children:(0,l.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,l.jsx)("div",{className:"relative w-[60px] min-h-[60px]",children:(0,l.jsx)(x.default,{src:e.icon?e.icon:"/design/placeholder.png",alt:e.title,height:60,width:60,objectFit:"contain"})}),(0,l.jsxs)("div",{className:"flex flex-col flex-grow space-y-1",children:[(0,l.jsx)("h3",{className:"text-sm sm:text-base md:text-lg lg:text-xl font-bold",children:e.title}),(0,l.jsx)("p",{className:"text-xs sm:text-sm md:text-base opacity-90",children:e.description})]})]})},t))})]})})},news:e=>{let{limit:t=3,title:s,subtitle:n,dbTable:c,bgColor:r=m.o$.white,contentColor:d=m.o$.indigo,CTAText:o,CTALink:p,customCss:f=""}=e,[v,j]=(0,a.useState)([]),[b,w]=(0,a.useState)(!0),{textColor:N}=(0,i.MN)(r),y=((0,E.usePathname)()||"").toLowerCase();return((0,a.useEffect)(()=>{(async()=>{w(!0);let e=t>0?t:3,{items:s}=await (0,h.tu)(c,{page:1,pageSize:e+1}),l=(0,i.Fd)(y);j((s||[]).filter(e=>{var t;return(0,i.Fd)("/".concat(c,"/").concat(null!=(t=null==e?void 0:e.slug)?t:""))!==l}).slice(0,e)),w(!1)})()},[t,c]),b)?(0,l.jsx)(_,{}):(0,l.jsx)("section",{className:"py-3 ".concat(f," ").concat(N),style:{backgroundColor:r},children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto pt-16 pb-16 ".concat(N," px-4 sm:px-6 lg:px-8"),children:[(0,l.jsx)("div",{className:"text-left",children:(0,l.jsx)(u,{title:s,subtitle:n,themeBtn:!0,ctaLink:p,CTAText:o,backgroundColor:r})}),(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-3 gap-4 sm:gap-5 mt-4",children:v&&v.map((e,t)=>{var s,a;let n=null!=(a=null!=(s=null==e?void 0:e.subtitle)?s:null==e?void 0:e.seoDescription)?a:null==e?void 0:e.metaDescription,r="/".concat(c,"/").concat(e.slug),d="events"===c.toLowerCase()?e.startDate:e.createdAt;return(0,l.jsx)("a",{href:r,"aria-label":e.title?"Read article: ".concat(e.title):"Read article",className:"group w-full rounded-xs cursor-pointer overflow-hidden focus:outline-none",children:(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("div",{className:"relative w-full aspect-[4/3] sm:aspect-[3/2] overflow-hidden",children:(0,l.jsx)(x.default,{src:e.image?e.image:"/design/placeholder.png",alt:e.title||"News image",fill:!0,className:"object-cover transition-transform duration-300 group-hover:scale-[1.04]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"})}),(0,l.jsxs)("div",{className:"flex flex-col py-2 px-1 sm:px-0 ".concat(N),children:[d&&(0,l.jsx)("p",{className:"text-[0.65rem] sm:text-[0.7rem] md:text-xs lg:text-sm font-semibold tracking-wide opacity-80",children:(0,i.sL)(d)}),e.title&&(0,l.jsx)("h3",{className:"mt-1 text-sm sm:text-[0.85rem] md:text-base lg:text-lg font-semibold line-clamp-2 group-focus-visible:underline",children:e.title}),n&&(0,l.jsx)("p",{className:"mt-1 text-xs sm:text-sm lg:text-base opacity-70 line-clamp-2",children:n}),e.slug&&(0,l.jsx)(g.t,{href:"/".concat(c,"/").concat(e.slug),renderAs:"span",children:"Read more"})]})]})},t)})})]})})},team:e=>{let{limit:t,title:s,subtitle:n,dbTable:c,bgColor:r=m.o$.indigo,contentColor:d=m.o$.white,CTALink:o,CTAText:p,customCss:g="",items:v}=e,j=Array.isArray(v)&&v.length>0,[b,w]=(0,a.useState)(j?v:[]),[N,y]=(0,a.useState)(!j),[k,C]=(0,a.useState)(null),z=(0,a.useCallback)(e=>{"Escape"===e.key&&C(null)},[]);return((0,a.useEffect)(()=>(window.addEventListener("keydown",z),()=>window.removeEventListener("keydown",z)),[z]),(0,a.useEffect)(()=>{j||(async()=>{y(!0);let{items:e}=await (0,h.tu)(c,{page:1,pageSize:t});w(e.slice(0,null!=t?t:e.length)),y(!1)})()},[c,t,j]),N)?(0,l.jsx)(X,{}):(0,l.jsx)("section",{className:"pb-14",style:{backgroundColor:r},children:(0,l.jsxs)("div",{className:(0,i.cn)("max-w-7xl mx-auto space-y-3 text-theme-indigo px-4 sm:px-6",g),children:[(0,l.jsx)(u,{title:s,subtitle:n,CTAText:p,ctaLink:o,tight:!0,backgroundColor:r}),(0,l.jsx)("div",{className:"mx-auto grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 roun
1ded-none gap-4 sm:gap-6",children:b&&b.map((e,t)=>{let s=k===t;return(0,l.jsx)(f.Zp,{className:(0,i.cn)("group relative overflow-hidden bg-theme-indigo90 border-none rounded-[1px] text-white text-center p-0 cursor-pointer focus:outline-none focus:ring-2 focus:ring-theme-tangerine/60",s&&"ring-2 ring-theme-tangerine/60"),role:"button",tabIndex:0,"aria-pressed":s,"aria-label":"Team member ".concat(e.title," card ").concat(s?"expanded":"collapsed"),onClick:()=>C(s?null:t),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),C(s?null:t))},children:(0,l.jsxs)(f.Wu,{className:"flex flex-col items-center p-0 select-none",children:[(0,l.jsx)("div",{className:"relative w-full aspect-[3/2.7] mt-2",children:!!e.image&&(0,l.jsx)(x.default,{src:e.image,alt:e.title,fill:!0,sizes:"(max-width:640px) 100vw, (max-width:1024px) 50vw, 25vw",className:"object-cover object-top"})}),(0,l.jsx)("hr",{className:"w-full",style:{backgroundColor:"white",height:"6px",border:"none"}}),(0,l.jsxs)("div",{className:"flex flex-col px-[0.3rem] py-4 gap-1",children:[(0,l.jsx)("h3",{className:"text-sm font-semibold line-clamp-2",children:e.title}),e.subtitle&&(0,l.jsx)("p",{className:"text-xs font-[300] tracking-wide leading-4 uppercase line-clamp-2",children:e.subt
1itle})]}),(e.content||"").trim().length>0&&(0,l.jsx)("div",{className:(0,i.cn)("absolute inset-0 flex items-center justify-center bg-theme-indigo/95 px-4 py-5 transition-opacity duration-300","opacity-0 group-hover:opacity-100","pointer-events-none group-hover:pointer-events-auto",s&&"opacity-100 pointer-events-auto","text-left text-white border-2 border-theme-tangerine/80 rounded-[1px]"),style:{backdropFilter:"blur(2px)"},onClick:e=>{s&&(e.stopPropagation(),C(null))},role:"button","aria-label":s?"Close details":"Details for ".concat(e.title),tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),s?C(null):C(t))},children:(()=>{let t=(0,L.p)(e.content||""),s=t.replace(/<[^>]+>/g,"").trim().length,a=s>0&&s<=400;return(0,l.jsxs)("div",{className:"w-full max-h-full overflow-auto overscroll-contain space-y-1 scrollbar-thin",children:[(0,l.jsx)("h3",{className:(0,i.cn)("font-semibold mb-1 sticky top-0 bg-theme-indigo/95 py-1 pr-6",a?"text-base md:text-base":"text-sm"),children:e.title}),(0,l.jsx)("div",{className:(0,i.cn)("whitespace-pre-wrap break-words",a?"text-sm md:text-sm leading-snug":"text-[11px] leading-snug md:text-[11.8px]"),dangerouslySetInnerHTML:{__html:t}})]})})()})]})},t)})})]})})},workingGroup:e=>{let{limit:t,title:s,subtitle:n,dbTable:c,bgColor:r=m.o$.indigo,contentColor:d=m.o$.white,CTALink:o,CTAText:p,customCss:g="",onChange:v}=e,[j,b]=(0,a.useState)([]);return(0,a.useEffect)(()=>{(async()=>{b((await (0,h.tu)(c,{page:1,pageSize:t||20})).items||[])})()},[c,t]),(0,l.jsx)("div",{className:"pb-14 ".concat(g),style:{backgroundColor:r},children:(0,l.jsxs)("div",{className:(0,i.cn)("mx-auto space-y-3 text-theme-indigo max-w-7xl",g),children:[(0,l.jsx)(u,{title:s,subtitle:n,CTAText:p,ctaLink:o,backgroundColor:r}),(0,l.jsx)("div",{className:"flex",children:(0,l.jsxs)(J.F,{className:"whitespace-nowrap w-full",children:[(0,l.jsx)("div",{className:"flex gap-6 w-max mb-3",children:j&&j.map((e,t)=>(0,l.jsx)("div",{className:"w-[16rem] shrink-0",children:(0,l.jsxs)(f.Zp,{className:"bg-theme-indigo90 border-none rounded-[1px] text-white text-center cursor-default p-0 gap-0",children:[(0,l.jsx)("div",{className:"w-full h-40 relative",children:(0,l.jsx)(x.default,{src:e.image,alt:e.title,fill:!0,sizes:"256px",loading:"lazy",className:"object-cover"})}),(0,l.jsxs)(f.Wu,{className:"p-3 text-left",children:[(0,l.jsx)("h3",{className:"text-xs font-semibold tracking-wide",children:e.title}),(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("p",{className:"text-[0.5rem] text-theme-tangerine uppercase tracking-wide underline underline-offset-2",children:"See More"}),(0,l.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M6 11L6 4L10.5 7.5L6 11Z",fill:"#E96A14"})})]})]})]})},t))}),(0,l.jsx)(J.$,{orientation:"horizontal",className:"h-1"})]})})]})})},thoughtLeadership:e=>{var t,s,n;let{limit:c=4,title:r,subtitle:d,dbTable:o,bgColor:p=m.o$.indigo,contentColor:g=m.o$.white,CTALink:f,CTAText:v,customCss:j="",onChange:b}=e,[w,N]=(0,a.useState)([]);return(0,a.useEffect)(()=>{(async()=>{N(((await (0,h.tu)(o,{page:1,pageSize:c})).items||[]).slice(0,4))})()},[o,c]),(0,l.jsx)("div",{className:"p-6 space-y-6 pt-24 pb-24 ".concat(j),style:{backgroundColor:p},children:(0,l.jsxs)("div",{className:(0,i.cn)("mx-auto space-y-8 text-theme-indigo max-w-7xl",j),children:[(0,l.jsx)(u,{title:r,subtitle:d,CTAText:v,ctaLink:f,line:!0,backgroundColor:p}),(0,l.jsx)("section",{className:"",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-3",children:[(0,l.jsxs)("a",{className:"lg:col-span-5 row-span-2 relative h-[600px] cursor-pointer overflow-hidden group",href:(null==(t=w[0])?void 0:t.slug)?"/".concat(f,"/").concat(w[0].slug):"#",children:[(null==(s=w[0])?void 0:s.image)?(0,l.jsx)(x.default,{src:w[0].image,alt:w[0].title||"Featured",fill:!0,sizes:"(max-width: 1024px) 100vw, 50vw",className:"object-cover transition-transform duration-500 group-hover:scale-105"}):(0,l.jsx)("div",{className:"bg-gray-700 w-full h-full"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/50 flex items-center p-6",children:(0,l.jsx)("div",{className:"w-full flex justify-center items-center",children:(0,l.jsx)("h2",{className:"text-white text-2xl font-bold max-w-md text-center",children:(null==(n=w[0])?void 0:n.title)||"Untitled"})})})]}),(0,l.jsx)("div",{className:"lg:col-span-5 grid grid-cols-1 lg:grid-cols-2 gap-3",children:w.slice(1).map((e,t)=>{let s=2===t;return(0,l.jsxs)("a",{href:(null==e?void 0:e.slug)?"/".concat(f,"/").concat(e.slug):"#",className:"relative h-[294px] w-full cursor-pointer overflow-hidden group ".concat(s?"lg:col-span-2":""),children:[(null==e?void 0:e.image)?(0,l.jsx)(x.default,{src:e.image,alt:e.title||"Topic",fill:!0,sizes:"(max-width: 1024px) 100vw, 25vw",loading:"lazy",className:"object-cover transition-transform duration-500 group-hover:scale-105"}):(0,l.jsx)("div",{className:"bg-gray-700 w-full h-full"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/50 flex items-center justify-center p-4",children:(0,l.jsx)("h3",{className:"text-white text-xl font-semibold text-center",children:(null==e?void 0:e.title)||"Untitled"})})]},t)})})]})})]})})},events:k.A,caseStudy:e=>{let{limit:t,title:s,subtitle:n,dbTable:c,bgColor:r=m.o$.indigo,contentColor:d=m.o$.white,CTALink:g,CTAText:v,customCss:j="",onCh
1ange:b}=e,[w,N]=(0,a.useState)([]);return(0,a.useEffect)(()=>{(async()=>{N((await (0,h.tu)(c,{page:1,pageSize:t||12})).items||[])})()},[c,t]),(0,l.jsx)("div",{className:"p-6 space-y-6 pb-16 ".concat(j),style:{backgroundColor:r},children:(0,l.jsxs)("div",{className:(0,i.cn)("mx-auto space-y-2 text-theme-indigo max-w-7xl",j),children:[(0,l.jsx)(u,{title:s,subtitle:n,CTAText:v,ctaLink:g,backgroundColor:r}),(0,l.jsxs)("div",{className:"jsx-31db1ea1e05dabb1 grid grid-cols-1 sm:grid-cols-2 rounded-none md:grid-cols-3 gap-6",children:[w&&w.map((e,t)=>(0,l.jsx)(f.Zp,{className:"bg-theme-indigo90 border-none rounded-[1px] text-white text-center p-0 m-0",children:(0,l.jsxs)(f.Wu,{className:"flex flex-col items-center p-0",children:[(0,l.jsxs)("div",{className:"jsx-31db1ea1e05dabb1 relative w-full aspect-[4/2]",children:[(0,l.jsx)("div",{className:"jsx-31db1ea1e05dabb1 relative w-full aspect-[4/2]",children:(0,l.jsx)(x.default,{src:e.image,alt:e.title,fill:!0,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",loading:"lazy",className:"object-cover object-top"})}),(0,l.jsx)("div",{className:"jsx-31db1ea1e05dabb1 absolute top-0 left-0 h-[3rem] w-[3.5rem] clip-diagonal bg-white z-10"}),(0,l.jsx)("div",{className:"jsx-31db1ea1e05dabb1 absolute top-1 left-2 z-20",children:(0,l.jsx)(x.default,{src:"/design/quote-indigo-stroke.png",height:18,width:18,alt:"Decorative"})})]}),(0,l.jsx)("hr",{style:{backgroundColor:"white",height:"6px",border:"none"},className:"jsx-31db1ea1e05dabb1 w-full"}),(0,l.jsxs)("div",{className:"jsx-31db1ea1e05dabb1 py-4 pl-[0.8rem] pr-3 text-left",children:[(0,l.jsx)("h3",{className:"jsx-31db1ea1e05dabb1 text-sm md:text-base font-semibold",children:e.title}),e.profession&&(0,l.jsx)("p",{className:"jsx-31db1ea1e05dabb1 text-[0.9rem] md:text-xs opacity-90 font-light tracking-widest leading-tight uppercase w-3/4 mt-1",children:e.profession}),(()=>{var t,s;let a=null!=(s=null!=(t=null==e?void 0:e.subtitle)?t:null==e?void 0:e.seoDescription)?s:null==e?void 0:e.metaDescription;return a?(0,l.jsx)("p",{className:"jsx-31db1ea1e05dabb1 text-xs md:text-sm font-[200] tracking-wider leading-5 mt-4 w-3/4",children:a}):null})(),(0,l.jsx)("div",{className:"jsx-31db1ea1e05dabb1 flex items-center mt-6 mb-3",children:(0,l.jsx)(p.default,{ctaText:"Read More",ctaLink:"",bgColor:"bg-theme-indigo90",size:"wide"})})]})]})},t)),(0,l.jsx)(o(),{id:"31db1ea1e05dabb1",children:".clip-diagonal.jsx-31db1ea1e05dabb1{clip-path:polygon(0 0,100%0,100%0,0%100%)}"})]})]})})},CTASection_2:b.A,HeaderSecondary:S.W,CTASection_3:w.A,InfoCard:D.L,InfoCard2:e=>{let{image:t,heading:s,content:a,ctaText:n,ctaLink:r,bgColor:d,customCss:o="",reversed:x=!1}=e,{textColor:m}=(0,i.MN)(d),h=(0,i.kG)(a,{extraHeight:125});return(0,l.jsx)("div",{className:"relative z-0 ".concat(o),style:h?{"--img-dyn-height":"".concat(h,"px")}:void 0,children:(0,l.jsx)("div",{className:"relative w-full ".concat(m," overflow-hidden"),style:{backgroundColor:d},children:(0,l.jsx)("div",{className:"relative z-10 max-w-7xl mx-auto pt-6 pb-2 lg:pt-8 lg:pb-4 px-6 lg:px-0",children:(0,l.jsx)("div",{className:"h-full",children:(0,l.jsx)("div",{className:"h-full",children:(0,l.jsxs)("div",{className:"flex flex-col ".concat(x?"flex-col-reverse lg:flex-row-reverse":"lg:flex-row"," gap-6 md:gap-8 lg:gap-10 items-stretch h-full"),children:[(0,l.jsxs)("div",{className:"rounded-none space-y-2 flex flex-col justify-start flex-1 lg:basis-[58%]",children:[(0,l.jsx)("div",{children:(0,l.jsx)("h2",{className:"text-lg sm:text-xl lg:text-2xl font-bold tracking-tight",children:s})}),(0,l.jsx)(c.default,{className:"bg-transparent resize-none text-sm sm:text-base leading-relaxed min-h-[120px] max-w-full lg:max-w-[85%]",content:a}),r&&(0,l.jsx)("div",{className:"",children:(0,l.jsx)(g.t,{href:r,target:"_blank",children:n||"Learn More",rel:"noopener noreferrer"})})]}),(0,l.jsx)("div",{className:"relative flex-1 lg:basis-[42%]",children:(0,l.jsx)("div",{className:"w-full h-40 sm:h-48 md:h-64 lg:h-[var(--img-dyn-height)] rounded-xs flex items-center justify-center overflow-hidden transition-[height] duration-300 ease-out",children:t?(0,l.jsx)("img",{src:t,alt:s,className:"w-full h-full object-contain rounded-xs transition-all"}):(0,l.jsxs)("div",{className:"text-center text-gray-600",children:[(0,l.jsx)("div",{className:"w-8 h-8 mx-auto mb-2 rounded"}),(0,l.jsx)("p",{children:"No image available"})]})})})]})})})})})})},TitleSubtitle:e=>{let{title:t,subtitle:s,bgColor:a,customCss:n=""}=e,{textColor:c}=(0,i.MN)(a);return(0,l.jsx)("div",{className:"relative z-0 ".concat(n),children:(0,l.jsx)("div",{className:"relative w-full overflow-hidden py-4 sm:py-6 ".concat(c),style:{backgroundColor:a},children:(0,l.jsx)("div",{className:"relative z-10 w-full h-full max-w-7xl mx-auto",children:(0,l.jsx)("div",{className:"px-4 lg:px-0",children:(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"flex items-center gap-3 mb-2 flex-wrap",children:[(0,l.jsx)("h2",{className:"flex-shrink-0 text-lg sm:text-xl xl:text-2xl font-bold w-auto p-0 leading-tight",children:t}),(0,l.jsx)("div",{className:"hidden sm:block flex-1 h-px bg-theme-tangerine"})]}),s&&(0,l.jsx)("div",{className:"max-w-prose text-sm sm:text-base leading-relaxed",children:s})]})})})})})},Accordion:e=>{let{title:t="",subtitle:s="",items:r,bgColor:d,customCss:o=""}=e,{textColor:x,borderColor:m,placeholderColor:h}=(0,i.MN)(d),p=(0,i.j2)(d,100),[g,u]=(0,a.useState)(null),f=(0,a.useRef)({});(0,a.useEffect)(()=>
1{if(!g)return;let e=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,t=setTimeout(()=>{let t=f.current[g];if(!t)return;let s=t.getBoundingClientRect(),l=window.scrollY+s.top-80;window.scrollTo({top:Math.max(0,l),behavior:e?"auto":"smooth"})},300*!e);return()=>{clearTimeout(t)}},[g]);let v=(0,a.useCallback)(e=>u(e||null),[]);return(0,l.jsx)("div",{className:"relative z-0 pb-12 ".concat(o),style:{backgroundColor:d},children:(0,l.jsx)("div",{className:"relative overflow-hidden ".concat(x),children:(0,l.jsx)("div",{className:"relative z-10 h-full max-w-7xl mx-auto",children:(0,l.jsxs)("div",{className:"container py-4 lg:py-6 px-4 sm:px-6 lg:px-8",children:[(0,l.jsxs)("div",{className:"text-left",children:[t&&(0,l.jsx)("div",{className:"mb-4",children:(0,l.jsx)("h2",{className:"text-xl lg:text-3xl font-bold ".concat(x),children:t})}),s&&(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"text-base lg:text-lg ".concat(x," ").concat(h),children:s})}),(0,l.jsx)("hr",{className:"".concat(p," opacity-70 h-2 mt-4 mb-6")})]}),(0,l.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,l.jsx)(n.nD,{type:"single",collapsible:!0,onValueChange:v,children:r&&r.map(e=>(0,l.jsx)(n.As,{value:e.id,className:"rounded-none",children:(0,l.jsxs)("div",{ref:t=>{f.current[e.id]=t},className:"w-full",children:[(0,l.jsx)(n.$m,{className:"hover:no-underline text-left pb-4 pr-2 sm:pr-0",iconCss:"text-theme-tangerine",children:(0,l.jsx)("span",{className:"text-lg font-semibold",children:e.title})}),(0,l.jsx)(n.ub,{className:"pb-4 w-full lg:max-w-[90%] pr-2 sm:pr-0",children:(0,l.jsx)(c.default,{content:e.content,className:"font-[400] ".concat(x)})}),(0,l.jsx)("hr",{className:"".concat(p," h-px lg:h-2")})]})},e.id))})})]})})})})},AccordionImage:r.C,DynamicRichText:j.DynamicRichTextDisplay,paginated1x1:e=>{let{dbTable:t,limit:s=20,bgColor:n="#312e81",title:c,subtitle:r,customCss:d="",contentColor:o="#fff",searchable:m=!1,pagination:g=!0,sortable:u=!0}=e,[v,j]=(0,a.useState)([]),[b,w]=(0,a.useState)(1),[N]=(0,a.useState)(10),[y,k]=(0,a.useState)({total:0,page:1,pageSize:10,totalPages:1,hasNext:!1,hasPrev:!1}),[C,z]=(0,a.useState)(!1),T=(0,E.usePathname)(),S=null==T?void 0:T.startsWith("/events");(0,a.useEffect)(()=>{let e=!1;return(async()=>{z(!0);try{let{items:s,pagination:l}=await (0,h.tu)(t,{page:b,pageSize:N});e||(j(s),k(l))}finally{e||z(!1)}})(),()=>{e=!0}},[t,b,N]);let A=(0,i.vG)(n),L=!(0,i.l1)(n);return(0,l.jsxs)("div",{className:"p-4 sm:p-6 space-y-6 ".concat(d),style:{backgroundColor:n},children:[(c||r)&&(0,l.jsxs)("div",{className:"text-center mb-12",children:[c&&(0,l.jsx)("h2",{className:"text-3xl lg:text-4xl font-bold mb-4 ".concat(A),children:c}),r&&(0,l.jsx)("p",{className:"text-lg max-w-3xl mx-auto ".concat(A),children:r})]}),(0,l.jsxs)("div",{className:"max-w-6xl mx-auto flex flex-col gap-4","aria-busy":C,children:[C&&(0,l.jsx)(q,{isDark:L}),!C&&v&&v.map((e,s)=>{var a;let i=null!=(a=e.subtitle)?a:e.seoDescription;return(0,l.jsx)(f.Zp,{className:"p-0 border-none rounded-[1px] shadow-none text-left ".concat(A," ").concat(L?"bg-theme-indigo90":""),children:(0,l.jsxs)(f.Wu,{className:"flex flex-col sm:flex-row items-stretch p-0",children:[e.image&&(0,l.jsx)("div",{className:"relative w-full h-52 sm:min-w-[180px] sm:w-[180px] sm:h-[160px] flex-shrink-0",children:(0,l.jsx)("div",{className:"relative w-full h-full",children:(0,l.jsx)(x.default,{src:e.image,alt:e.title,fill:!0,className:"object-cover object-top rounded-t-[1px] sm:rounded-t-none sm:rounded-l-[1px]"})})}),(0,l.jsxs)("div",{className:"flex flex-col justify-start flex-1 pt-4 px-4 sm:pl-6 sm:pr-3 mt-2 sm:mt-0 text-left ".concat(A),children:[(0,l.jsx)("h3",{className:"text-lg font-semibold mb-1 ".concat(A),children:e.title}),e.profession&&(0,l.jsx)("p",{className:"text-[9px] font-[200] tracking-wider leading-tight uppercase sm:w-3/4 mb-1 ".concat(A),children:e.profession}),i&&(0,l.jsx)("p",{className:"text-sm font-[200] tracking-wider leading-4 sm:w-[85%] ".concat(A),children:"string"==typeof i&&i.length>200?i.slice(0,200)+"...":i}),S&&e.startDate&&(0,l.jsx)("div",{className:"mt-2 text-xs font-medium ".concat(A," opacity-80"),children:(0,l.jsxs)("span",{className:"inline-flex items-center gap-1",children:[(0,l.jsx)("svg",{className:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})}),(e=>{if(!e)return"";try{let t=new Date(e);if(isNaN(t.getTime()))return e;return t.toLocaleDateString(void 0,{day:"2-digit",month:"short",year:"numeric"})}catch(t){return e}})(e.startDate)]})}),(0,l.jsx)("div",{className:"flex items-center mt-2 pb-4 sm:pb-4",children:(0,l.jsx)(p.default,{ctaText:"Read More",ctaLink:"/".concat(t,"/").concat(e.slug)||0,bgColor:L?"bg-theme-indigo90":n})})]})]})},e.id||s+e.title)})]}),g&&!C&&y.totalPages>1&&(0,l.jsx)(W,{className:"mt-8",theme:L?"dark":"light",children:(0,l.jsxs)(G,{children:[(0,l.jsx)(H,{children:(0,l.jsx)(V,{theme:L?"dark":"light",onClick:e=>{e.preventDefault(),y.hasPrev&&y.hasPrev&&w(e=>e-1)},className:y.hasPrev?"":"opacity-40 pointer-events-none",href:"#"})}),[...Array(y.totalPages)].map((e,t)=>(0,l.jsx)(H,{children:(0,l.jsx)(B,{href:"#",theme:L?"dark":"light",isActive:t+1===y.page,onClick:e=>{e.preventDefault(),w(t+1)},children:t+1})},t)),(0,l.jsx)(H,{children:(0,l.jsx)(Z,{theme:L?"dark":"light",onClick:e=>{e.preventDefault(),y.hasNext&&y.hasNext&&w(e=>e+1)},className:y.hasNext?"":"opacity-40 pointer-events-none",href:"#"})})]})})]})},paginated2x2:e=>{let{dbTable:t,limit:s=20,bgColor:n="#312e81",title:c,subtitle:r,CTALink:d,CTAText:o,customCss:m="",contentColor:p="#fff",searchable:u=!1,pagination:f=!0,sortable:v=!0}=e,[j,b]=(0,a.useState)([]),[w,N]=(0,a.useState)(0),y=Math.ceil(j.length/4);(0,a.useEffect)(()=>{(async()=>{b((await (0,h.tu)(t,{page:1,pageSize:s})).items||[])})()},[t,s]);let k=(0,i.vG)(n),C=!(0,i.l1)(n);return(0,l.jsxs)("div",{className:"p-4 sm:p-6 space-y-6 ".concat(m),style:{backgroundColor:n},children:[(c||r)&&(0,l.jsxs)("div",{className:"text-center mb-12",children:[c&&(0,l.jsx)("h2",{className:"text-3xl lg:text-4xl font-bold mb-4 ".concat(k),children:c}),r&&(0,l.jsx)("p",{className:"text-lg max-w-3xl mx-auto ".concat(k),children:r})]}),(0,l.jsx)("div",{className:"max-w-6xl mx-auto flex flex-col gap-6",children:(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5 sm:gap-6",children:(()=>{let e=4*w;return j.slice(e,e+4)})().map((e,t)=>{var s;let a=null!=(s=e.subtitle)?s:e.seoDescription,c=(0,i.vG)(n);return(0,l.jsx)("div",{className:"rounded-md space-y-3 ".concat(c),children:(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("div",{className:"relative w-full h-40 sm:h-48 md:h-[200px]",children:(0,l.jsx)(x.default,{src:e.image?e.image:"/design/placeholder.png",alt:e.title,fill:!0,style:{objectFit:"cover"}
1,className:"min-h-[60px]",sizes:"(max-width:640px) 100vw, (max-width:1024px) 50vw, 400px",loading:"lazy"})}),(0,l.jsxs)("div",{children:[e.title&&(0,l.jsx)("h3",{className:"text-sm md:text-base font-bold ".concat(c),children:e.title}),a&&(0,l.jsx)("p",{className:"text-xs md:text-sm opacity-80 max-w-[95%] sm:max-w-[85%] ".concat(c),children:"string"==typeof a&&a.length>300?a.slice(0,300)+"...":a}),(0,l.jsx)(g.t,{href:e.link||d||"#",children:o||"Read More",className:"pb-2 sm:pb-0"})]})]})},e.id||t)})})}),f&&y>1&&(0,l.jsx)(W,{className:"mt-8",theme:C?"dark":"light",children:(0,l.jsxs)(G,{children:[(0,l.jsx)(H,{children:(0,l.jsx)(V,{theme:C?"dark":"light",onClick:e=>{e.preventDefault(),N(e=>(e-1+y)%y)},href:"#"})}),[...Array(y)].map((e,t)=>(0,l.jsx)(H,{children:(0,l.jsx)(B,{href:"#",theme:C?"dark":"light",isActive:t===w,onClick:e=>{e.preventDefault(),N(t)},children:t+1})},t)),(0,l.jsx)(H,{children:(0,l.jsx)(Z,{theme:C?"dark":"light",onClick:e=>{e.preventDefault(),N(e=>(e+1)%y)},href:"#"})})]})})]})},paginated3x3:e=>{let{dbTable:t,limit:s=20,bgColor:n="#312e81",title:c,subtitle:r,CTALink:d,CTAText:o,customCss:m="",contentColor:p="#fff",searchable:u=!1,pagination:f=!0,sortable:v=!0}=e,[j,b]=(0,a.useState)([]),[w,N]=(0,a.useState)(0),y=Math.ceil(j.length/9);(0,a.useEffect)(()=>{(async()=>{b((await (0,h.tu)(t,{page:1,pageSize:s})).items||[])})()},[t,s]);let k=(0,i.vG)(n),C=!(0,i.l1)(n);return(0,l.jsxs)("div",{className:"p-4 sm:p-6 space-y-6 ".concat(m),style:{backgroundColor:n},children:[(c||r)&&(0,l.jsxs)("div",{className:"text-center mb-12",children:[c&&(0,l.jsx)("h2",{className:"text-3xl lg:text-4xl font-bold mb-4 ".concat(k),children:c}),r&&(0,l.jsx)("p",{className:"text-lg max-w-3xl mx-auto ".concat(k),children:r})]}),(0,l.jsx)("div",{className:"max-w-6xl mx-auto flex flex-col gap-6",children:(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5 sm:gap-6",children:(()=>{let e=9*w;return j.slice(e,e+9)})().map((e,t)=>{var s;let a=null!=(s=e.subtitle)?s:e.seoDescription,c=(0,i.vG)(n);return(0,l.jsx)("div",{className:"rounded-md space-y-3 ".concat(c),children:(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("div",{className:"relative w-full h-40 sm:h-48 md:h-[200px]",children:(0,l.jsx)(x.default,{src:e.image?e.image:"/design/placeholder.png",alt:e.title,fill:!0,style:{objectFit:"cover"}
1,className:"min-h-[60px]",sizes:"(max-width:640px) 100vw, (max-width:1024px) 50vw, 400px",loading:"lazy"})}),(0,l.jsxs)("div",{children:[e.title&&(0,l.jsx)("h3",{className:"text-sm md:text-base font-bold ".concat(c),children:e.title}),a&&(0,l.jsx)("p",{className:"text-xs md:text-sm opacity-80 max-w-[95%] sm:max-w-[85%] ".concat(c),children:"string"==typeof a&&a.length>300?a.slice(0,300)+"...":a}),(0,l.jsx)(g.t,{href:e.link||d||"#",children:o||"Read More",className:"pb-2 sm:pb-0"})]})]})},e.id||t)})})}),f&&y>1&&(0,l.jsx)(W,{className:"mt-8",theme:C?"dark":"light",children:(0,l.jsxs)(G,{children:[(0,l.jsx)(H,{children:(0,l.jsx)(V,{theme:C?"dark":"light",onClick:e=>{e.preventDefault(),N(e=>(e-1+y)%y)},href:"#"})}),[...Array(y)].map((e,t)=>(0,l.jsx)(H,{children:(0,l.jsx)(B,{href:"#",theme:C?"dark":"light",isActive:t===w,onClick:e=>{e.preventDefault(),N(t)},children:t+1})},t)),(0,l.jsx)(H,{children:(0,l.jsx)(Z,{theme:C?"dark":"light",onClick:e=>{e.preventDefault(),N(e=>(e+1)%y)},href:"#"})})]})})]})},paginatedAccordion:e=>{let{limit:t=20,title:s,subtitle:r,dbTable:d,bgColor:o=m.o$.indigo,contentColor:x=m.o$.white,CTALink:p,CTAText:g,searchable:f=!1,pagination:v=!0,sortable:j=!0,customCss:b="",onChange:w}=e,[N,y]=(0,a.useState)([]),{textColor:k,placeholderColor:C,borderColor:z,iconColor:T,isLight:S}=(0,i.MN)(o);return(0,i.j2)(o,70),(0,a.useEffect)(()=>{(async()=>{let{items:e}=await (0,h.tu)(d,{page:1,pageSize:t});y(e)})()},[d,t]),(0,l.jsx)("div",{className:(0,i.cn)("space-y-6",k,b),style:{backgroundColor:o},children:(0,l.jsx)("section",{className:"py-12 px-4",children:(0,l.jsxs)("div",{className:"max-w-6xl mx-auto gap-6",children:[(0,l.jsx)(u,{title:s,subtitle:r,backgroundColor:o,customCss:"mb-14 mt-8"}),(0,l.jsx)(n.nD,{type:"single",collapsible:!0,className:"space-y-6",children:N&&N.map(e=>(0,l.jsx)(n.As,{value:e.title,className:(0,i.cn)("border-none rounded-none ".concat(S?"bg-white":""," group")),children:(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{className:(0,i.cn)("flex-shrink-0 w-20 h-28 transition-all duration-300 overflow-hidden","group-data-[state=open]:w-40 group-data-[state=open]:h-[var(--dynamic-height)]"),style:{"--dynamic-height":(0,i.kG)(e.content,{extraHeight:0,baseHeight:200})+"px"},children:e.image?(0,l.jsx)("img",{src:e.image,alt:e.title||"Accordion item image",className:"w-full h-full object-cover"}):(0,l.jsx)("div",{className:"w-full h-full bg-white/10 border-2 ".concat(z," rounded-lg flex items-center justify-center transition-colors"),children:(0,l.jsx)("div",{className:"h-8 w-8 bg-gray-400 rounded ".concat(T)})})}),(0,l.jsxs)("div",{className:"flex-1 flex flex-col justify-center pr-16 pl-6 py-2",children:[(0,l.jsx)(n.$m,{className:"hover:no-underline text-left w-full flex p-0",size:30,iconCss:"text-theme-tangerine",children:(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:(0,i.cn)("text-xl font-bold bg-transparent",k),children:e.title}),(0,l.jsx)("span",{className:"text-sm ".concat(k," opacity-75"),children:e.subt
1itle||"Click to expand"})]})}),(0,l.jsx)(n.ub,{className:"max-w-[80%] flex pt-4 pb-8",children:(0,l.jsx)("div",{className:"max-w-xl w-full",children:(0,l.jsx)(c.default,{content:e.content})})})]})]})},e.title))})]})})})},mediaDisplay:$.MediaDisplay,filteredTabsSelector:C.FilteredTabsSelector,ProfessionalTitlesRoadmap:U.ProfessionalTitlesRoadmap,CTASection_4:N.A,CTAPills:e=>{let{bgColor:t,customCss:s="",align:a="left",items:n=[]}=e,{textColor:c,borderColor:r,isLight:d}=(0,i.MN)(t);return(0,l.jsx)("div",{className:"relative overflow-hidden p-6 ".concat(c," space-y-4 ").concat(s),style:{backgroundColor:t},children:(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-7 gap-4 max-w-7xl mx-auto",children:["right"===a&&(0,l.jsx)("div",{className:"hidden lg:block lg:col-span-2"}),"center"===a&&(0,l.jsx)("div",{className:"hidden lg:block lg:col-span-1"}),(0,l.jsx)("div",{className:"lg:col-span-5",children:(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:null==n?void 0:n.map((e,s)=>{var a,n;let c=(null!=(a=e.style)?a:"pattern")==="pattern";return(0,l.jsxs)("div",{className:"relative overflow-hidden border ".concat((0,i.j2)(t,c?100:30)," rounded-none p-4"),children:[c&&(0,l.jsx)("div",{className:"absolute inset-0 z-0 pointer-events-none select-none",children:(0,l.jsx)(x.default,{alt:"decorative",src:d?"/design/ukcsc-brand-pattern.png":"/design/ukcsc-brand-pattern-rec-white.png",fill:!0,className:"object-cover w-full h-full opacity-80",sizes:"100vw",priority:!1})}),(0,l.jsxs)("div",{className:"relative z-10 space-y-3",children:[e.title?(0,l.jsx)("h3",{className:"font-semibold ".concat(c?"text-theme-tangerine":""," text-2xl leading-8"),children:e.title}):null,e.subtitle?(0,l.jsx)("p",{className:"text-sm md:text-base",children:e.subt
1itle}):null,e.link&&e.linkText?(0,l.jsx)(p.default,{ctaText:e.linkText,ctaLink:e.link}):null]})]},null!=(n=e.id)?n:"pill-".concat(s))})})}),"center"===a&&(0,l.jsx)("div",{className:"hidden lg:block lg:col-span-1"}),"right"!==a&&(0,l.jsx)("div",{className:"hidden lg:block lg:col-span-2"})]})})},professionalTitlesRoadmap:U.ProfessionalTitlesRoadmap,stickyTitleRichText:Y,relatedList:e=>{let{limit:t=3,title:s,subtitle:n,dbTable:c,bgColor:r,CTALink:d,CTAText:o,customCss:x=""}=e,{textColor:m}=(0,i.MN)(r),[p,f]=(0,a.useState)([]),[v,j]=(0,a.useState)(!0),[b,w]=(0,a.useState)(null),N=((0,E.usePathname)()||"").toLowerCase();return(0,a.useEffect)(()=>{(async()=>{j(!0);let e=t>0?t:3,{items:s}=await (0,h.tu)(c,{page:1,pageSize:e+1}),l=(0,i.Fd)(N);f((s||[]).filter(e=>{var t;return(0,i.Fd)("/".concat(c,"/").concat(null!=(t=null==e?void 0:e.slug)?t:""))!==l}).slice(0,e)),j(!1)})()},[t,c]),(0,l.jsx)("div",{className:"px-4 py-6 sm:px-6 space-y-6 ".concat(m," ").concat(x),style:{backgroundColor:r},children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsx)(u,{title:s,subtitle:n,themeBtn:!0,ctaLink:d,CTAText:o,backgroundColor:r}),(0,l.jsx)("div",{className:"mt-4","aria-busy":v,children:v?(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3 sm:gap-4",children:Array.from({length:3}).map((e,t)=>(0,l.jsxs)("div",{className:"space-y-2 animate-pulse",children:[(0,l.jsx)("div",{className:"h-2.5 w-20 bg-white/20 rounded"}),(0,l.jsx)("div",{className:"h-3.5 w-36 bg-white/20 rounded"}),(0,l.jsx)("div",{className:"h-2.5 w-48 bg-white/20 rounded"})]},t))}):b?(0,l.jsx)("p",{className:"text-sm opacity-80",children:b}):(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3 sm:gap-4",children:p&&p.length>0?p.map((e,t)=>{let s="events"===c.toLowerCase()?e.startDate:e.createdAt;return(0,l.jsx)("div",{className:"space-y-2",children:(0,l.jsx)("div",{className:"flex flex-col gap-1.5",children:(0,l.jsxs)("div",{children:[s?(0,l.jsx)("p",{className:"text-[11px] sm:text-xs leading-relaxed tracking-widest font-semibold opacity-80",children:(0,i.sL)(s)}):null,e.title?(0,l.jsx)("h3",{className:"text-sm md:text-sm lg:text-base font-semibold leading-snug",children:e.title}):null,e.slug?(0,l.jsx)(g.t,{href:e.slug,children:"Read more",customCss:"!mt-0"}):null]})})},t)}):(0,l.jsx)("p",{className:"text-sm opacity-80",children:"No items available."})})})]})})},contentCallout:v,IframeEmbed:e=>{var t,s;let{bgColor:a,customCss:n="",text:c="",iframeCode:r}=e,d=(0,A.u$)(r),o=!!(null==c?void 0:c.trim());if(!d&&!o)return null;let x=(0,i.l1)(a);return(0,l.jsx)("section",{className:"relative w-full ".concat(n),style:{backgroundColor:a},children:(0,l.jsxs)("div",{className:"w-full max-w-7xl mx-auto px-4 lg:px-8 py-6",children:[o&&(0,l.jsx)("div",{className:"mb-6 text-base leading-relaxed ".concat(x?"text-theme-indigo":"text-white"," font-medium"),dangerouslySetInnerHTML:{__html:(0,L.p)(c)}}),d?(0,l.jsx)("div",{className:"w-full max-w-7xl mx-auto aspect-video",dangerouslySetInnerHTML:{__html:'<iframe src="'.concat(d.src,'" loading="lazy" allowfullscreen frameborder="0" width="100%" height="').concat(null!=(t=d.height)?t:400,'" style="border:0;width:100%;height:').concat(null!=(s=d.height)?s:400,'px;" ></iframe>')}}):null]})})},CANHero:e=>{let{bgColor:t=m.o$.indigo,customCss:s="",backgroundImage:n,eyebrow:c,heading:r,description:d,pathways:o}=e,{textColor:h}=(0,i.MN)(t);return(0,l.jsxs)("section",{className:(0,i.cn)("relative overflow-hidden",h,s),style:{backgroundColor:t,backgroundImage:n?void 0:"radial-gradient(ellipse 60% 45% at 20% 10%, rgba(31,179,106,0.35), transparent 70%), radial-gradient(ellipse 55% 40% at 85% 20%, rgba(160,237,214,0.25), transparent 70%)"},children:[n&&(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,l.jsx)(x.default,{src:n,alt:"",fill:!0,sizes:"100vw",className:"object-cover",priority:!0})}),(0,l.jsxs)("div",{className:"relative z-10 mx-auto max-w-7xl px-4 pb-14 pt-32 sm:px-6 sm:pb-16 lg:pb-20 lg:pt-36",children:[(0,l.jsxs)("div",{className:"mx-auto max-w-4xl text-center",children:[c&&(0,l.jsx)("p",{className:"text-xs font-medium uppercase tracking-[0.2em] text-white/70 sm:text-sm",children:c}),r&&(0,l.jsx)("h1",{className:"mt-3 text-2xl font-normal leading-tight sm:text-3xl lg:text-5xl",children:r.split("**").map((e,t)=>t%2==1?(0,l.jsx)("strong",{className:"font-bold",children:e},t):(0,l.jsx)(a.Fragment,{children:e},t))}),d&&(0,l.jsx)("p",{className:"mx-auto mt-4 max-w-3xl text-sm leading-relaxed text-white/80 sm:text-base lg:text-lg",children:d})]}),o.length>0&&(0,l.jsx)("div",{className:"mt-10 grid grid-cols-1 gap-10 md:grid-cols-3 lg:mt-14 lg:gap-12",children:o.map((e,t)=>(0,l.jsxs)("article",{className:"flex flex-col items-center text-center",children:[(0,l.jsxs)("div",{className:"relative mb-5 flex h-40 w-40 items-center justify-center sm:h-44 sm:w-44",children:[(0,l.jsx)("div",{className:"absolute inset-x-2 bottom-0 top-6 rounded-full bg-theme-aquamarine/30"}),(0,l.jsx)("div",{className:"relative h-full w-full",children:(0,l.jsx)(x.default,{src:e.image||"/design/placeholder.png",alt:e.imageAlt||e.title,fill:!0,sizes:"176px",className:"object-contain",loading:0===t?"eager":"lazy"})})]}),(0,l.jsx)("h2",{className:"text-xl font-bold text-theme-green sm:text-2xl",children:e.title}),(0,l.jsx)("p",{className:"mt-3 max-w-xs flex-1 text-sm leading-relaxed text-white/85",children:e.description}),e.ctaLink&&(0,l.jsx)(g.t,{href:e.ctaLink,className:"mt-4 justify-center",children:e.ctaText||"Find out more"})]},"".concat(e.title,"-").concat(t)))})]})]})},CANResourceSection:e=>{let{bgColor:t=m.o$.indigo,customCss:s="",backgroundImage:n,icon:c,iconAlt:r,label:d,intro:o,sectionCtaText:u,sectionCtaLink:f,audie
1nce:v="Students",limit:j=4,items:b}=e,{textColor:w,isLight:N}=(0,i.MN)(t),[y,k]=(0,a.useState)([]),C=Array.isArray(b)&&b.length>0,z=C?b:y;return(0,a.useEffect)(()=>{C||(async()=>{let e=await (0,h.tu)("can",{audience:v,page:1,pageSize:null!=j?j:4});(null==e?void 0:e.items)&&k(e.items)})()},[v,j,C]),(0,l.jsxs)("section",{className:(0,i.cn)("relative overflow-hidden py-10 sm:py-12 lg:py-14",w,s),style:{backgroundColor:t},children:[n&&(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0",children:(0,l.jsx)(x.default,{src:n,alt:"",fill:!0,sizes:"100vw",className:"object-cover"})}),(0,l.jsxs)("div",{className:"relative z-10 mx-auto max-w-7xl px-4 sm:px-6",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row lg:items-end lg:justify-between",children:[(0,l.jsxs)("div",{className:"max-w-3xl space-y-3",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[c&&(0,l.jsx)("div",{className:"relative h-9 w-9 shrink-0 sm:h-10 sm:w-10",children:(0,l.jsx)(x.default,{src:c,alt:r||"",fill:!0,sizes:"40px",className:"object-contain"})}),d&&(0,l.jsx)("h2",{className:"inline-flex items-center bg-theme-green px-2 py-0.5 text-lg font-bold text-white sm:text-xl",children:d})]}),o&&(0,l.jsx)("p",{className:(0,i.cn)("text-sm leading-relaxed sm:text-base",N?"opacity-80":"text-white/80"),children:o})]}),u&&f&&(0,l.jsx)("div",{className:"shrink-0",children:(0,l.jsx)(p.default,{ctaText:u,ctaLink:f,bgColor:N?"bg-theme-white":"bg-theme-indigo",textColor:"text-theme-tangerine",borderColor:"bg-theme-tangerine",size:"wide"})})]}),z.length>0&&(0,l.jsx)("div",{className:"mt-8 grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-4 lg:gap-5",children:z.map((e,t)=>(0,l.jsxs)("article",{className:"flex flex-col overflow-hidden bg-theme-indigo90 text-white",children:[(0,l.jsx)("div",{className:"relative aspect-[4/3] w-full",children:(0,l.jsx)(x.default,{src:e.image||"/design/placeholder.png",alt:e.imageAlt||e.title,fill:!0,sizes:"(max-width:640px) 100vw, (max-width:1024px) 50vw, 25vw",className:"object-cover",loading:0===t?"eager":"lazy"})}),(0,l.jsx)("div",{className:"h-1.5 w-full",style:{backgroundColor:e.accentColor||m.o$.green}}),(0,l.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,l.jsx)("h3",{className:"text-base font-bold leading-snug",children:e.title}),(0,l.jsx)("p",{className:"mt-2 flex-1 text-sm leading-relaxed text-white/75",children:e.description}),e.ctaLink&&(0,l.jsx)(g.t,{href:e.ctaLink,className:"mt-3",children:e.ctaText||"Find out more"})]})]},e.slug||"".concat(e.title,"-").concat(t)))})]})]})}};var ee=s(8318);function et(e){let{page:t}=e,s=(0,a.useMemo)(()=>Array.isArray(null==t?void 0:t.content)?t.content:[],[null==t?void 0:t.content]),i=(0,a.useMemo)(()=>{let e=s.filter(e=>{var t;return"number"==typeof(null==(t=e.props)?void 0:t.index)}),t=s.filter(e=>{var t;return"number"!=typeof(null==(t=e.props)?void 0:t.index)});return e.sort((e,t)=>e.props.index-t.props.index),[...e,...t]},[s]);return s.length?(0,l.jsxs)("main",{children:[i.map((e,t)=>{var s;let a=Q[e.type];if(!a)return null;let n=t===i.length-1,c=(null==(s=e.props)?void 0:s.customCss)||"";return(0,l.jsx)(a,{...e.props,customCss:n?c?"".concat(c," pb-32"):"pb-32":c},e.id||"".concat(e.type,"-").concat(t))}),(0,l.jsx)(ee.default,{})]}):(0,l.jsx)("div",{className:"flex justify-center items-center min-h-[100vh] text-theme-indigo",children:"No content available."})}}}]);

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.