PageSourceSearch

https://www.cimic.com.au/_next/static/chunks/2aqpcmpq2i6ps.js?dpl=dpl_3pn1KcFKrKXeofmX6BkZ1J52T21R

js cimic.com.au collected 2026-10-03 21:22:01 UTC 194,755 bytes, 17 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78203,6823,71946,e=>{"use strict";var t,a,i,s,n=e.i(24922),l=e.i(95738),r=e.i(83740),o=e.i(58367),c=e.i(37929),d=e.i(12914),m=e.i(89673),h=e.i(59965);let{ERROR_MESSAGES:u}=d.constants,p="component-update-",x="component-preview-";(t=i||(i={})).READY="ready",t.RENDERED="rendered";let g=(e,t)=>{if(!window)return;let a=a=>v(a,e,t);return window.addEventListener("message",a),()=>{window.removeEventListener("message",a)}},f=e=>["*"].some(t=>t===e.origin||RegExp("^"+t.replace(".","\\.").replace(/\*/g,".*")+"$").test(e.origin)),j=(e,t)=>!!e.origin&&!!e.data&&e.data.name===t||(f(e)||console.debug("Component Library: event skipped - invalid origin: message %s from origin %s",e.data.name,e.origin),!1),v=(e,t,a)=>{var i;let s=e.data;if(!e.origin||!s||"component:update"!==s.name){f(e)||console.debug("Component Library: event skipped: message %s from origin %s",s.name,e.origin);return}if(!(null==(i=s.details)?void 0:i.uid))return void console.debug("Received component:update event without uid, aborting event handler...");let n=y(t,s.details.uid);return n?(console.debug("Found component with uid %s to update. Update fields: %o. Update params: %o.",s.details.uid,s.details.fields,s.details.params),_(n,s.details.fields,s.details.params),a&&a(t)):console.debug("Rendering with uid %s not found",s.details.uid),t},y=(e,t)=>{var a;if((null==(a=e.uid)?void 0:a.toLowerCase())===t.toLowerCase())return e;if(e.placeholders)for(let a of Object.keys(e.placeholders))for(let i of e.placeholders[a]){let e=y(i,t);if(e)return e}return null},_=(e,t,a)=>{t&&(e.fields=Object.assign(Object.assign({},e.fields),t)),a&&(e.params=Object.assign(Object.assign({},e.params),a))};function N(e,t,a=!1){return{name:"component:status",message:{status:e,uid:t,isRenderingServerComponent:a}}}function S(e=d.constants.SITECORE_EDGE_PLATFORM_URL_DEFAULT){return`${(0,m.normalizeUrl)(e)}/v1/files/designlibrary/lib/rh-lib-script.js`}function T(e){return e===h.DesignLibraryMode.Normal||e===h.DesignLibraryMode.Metadata}let b=e=>{if("u"<typeof window)return;let t=window.parent&&window.parent!==window?window.parent:window;try{console.log("Component Library: sending event",e.name,e),t.postMessage(e,"*")}catch(t){console.error(`Component Library: postMessage failed. ${u.CONTACT_SUPPORT}`,t,e)}};e.s(["COMPONENT_PREVIEW_CACHE_KEY_PREFIX",0,x,"COMPONENT_UPDATE_CACHE_KEY_PREFIX",0,p,"DesignLibraryStatus",0,i,"addComponentUpdateHandler",0,g,"findComponent",0,y,"getDesignLibraryScriptLink",0,S,"getDesignLibraryStatusEvent",0,N,"isDesignLibraryMode",0,T,"postToDesignLibrary",0,b,"updateComponent",0,_,"validateEvent",0,j],6823),e.s([],39281),e.i(39281);var C=e.i(92238),$=e.i(1476);let{SITECORE_EDGE_PLATFORM_URL_DEFAULT:k,ERROR_MESSAGES:L}=d.constants,w="component:generation:component-preview";function E(e){let t="content-sdk-style-preview",a=document.getElementById(t);a&&a.remove();let i=document.createElement("style");i.setAttribute("id",t),i.innerHTML=e,document.head.appendChild(i)}(a=s||(s={})).Render="render",a.RenderInit="render-init",a.ImportMapMissing="import-map-missing",a.ImportMapLoad="import-map-load-error",a.GeneratedComponentFetch="generated-component-fetch-error";let I=(e,t)=>{var a;let i,s,n=(a=t.imports,i=[],s={modules:[],exports:[]},a.forEach(t=>{let a=e.find(e=>e.module===t.module);if(!a)return void s.modules.push({module:t.module,alias:t.alias});let n=a.exports.find(e=>e.name===t.export);return n?i.push({name:t.alias,value:n.value}):void s.exports.push({alias:t.alias,export:t.export,module:t.module})}),{successful:i,missing:s});if(n.missing.modules.length>0||n.missing.exports.length>0){let e="";throw n.missing.modules.forEach(t=>{e+=`Missing module: '${t.module}' with alias: '${t.alias}'
2`}),n.missing.exports.forEach(t=>{let a=t.export!==t.alias?` with alias: '${t.alias}'`:"";e+=`Missing export: '${t.export}' from module: '${t.module}'${a}
3`}),e}let l=n.successful.map(e=>e.name),r=n.successful.map(e=>e.value),o={Component:null};return Function("exports",t.styles.styleImport.name,...l,t.code.content)(o,t.styles.styleImport.content,...r),o.Component};function P(e,t,a){switch(a){case s.Render:case s.RenderInit:return{name:"component:generation:component-preview-error",message:{uid:e,error:t,type:a}};default:return{name:"component:generation:error",message:{uid:e,error:t,type:a}}}}function G(e){return e.map(e=>({module:e.module,exports:e.exports.map(e=>e.name)}
3))}let R=(e,t,a)=>{let i=P(e,t,a);console.error(`Component Library: sending error event. ${L.CONTACT_SUPPORT}`,i),"u">typeof window&&(window.parent&&window.parent!==window?window.parent:window).postMessage(i,"*")};async function D(e,t,a=k){let i=new C.NativeDataFetcher({debugger:$.default.editing}),s=await i.fetch(`${a}/authoring/api/v1/components/cache/${e}`,{method:"GET",headers:{Authorization:`Bearer ${t}`}});if(200!==s.status)throw Error(`Failed to fetch generated component data from cache for id: ${e}. Response Status: ${s.status}, Response Status Text: ${s.statusText}`);return JSON.parse(s.data.content)}e.s(["DesignLibraryPreviewError",0,s,"addComponentPreviewHandler",0,(e,t)=>{if(!window)return;let a=a=>{let i=a.data;try{if(!j(a,w))return;console.debug("Component Library: message received",i);let s=I(e,i.message);E(i.message.styles.content),t(null,s)}catch(e){R(i.message.uid,e,s.RenderInit),t(e,null)}};return window.addEventListener("message",a),()=>{window.removeEventListener("message",a)}},"addServerComponentPreviewHandler",0,(e,t)=>{let a=a=>{var i,s;j(a,w)&&(console.debug("Component Library: message received",a.data),t(y(e,null==(s=null==(i=a.data)?void 0:i.message)?void 0:s.uid),a.data))};return window.addEventListener("message",a),()=>{window.removeEventListener("message",a)}},"addStyleElement",0,E,"createComponentInstance",0,I,"fetchGeneratedComponentFromCache",0,D,"getDesignLibraryComponentPropsEvent",0,function(e,t={},a={}){return{name:"component:generation:component-props",message:{uid:e,fields:t,parameters:a}}},"getDesignLibraryErrorEvent",0,P,"getDesignLibraryImportMapEvent",0,function(e,t){var a;return{name:"component:generation:import-map",message:{uid:e,importMap:Array.isArray(a=t)&&a.length>0&&"string"==typeof a[0].module&&Array.isArray(a[0].exports)&&"string"==typeof a[0].exports[0]?t:G(t)}}},"getImportMapInfo",0,G,"sendErrorEvent",0,R],85);var F=e.i(85);e.s([],85158),e.i(85158);var M=e.i(14997),O=e.i(70898),V=e.i(4930);e.s(["COMPONENT_PREVIEW_CACHE_KEY_PREFIX",0,x,"COMPONENT_UPDATE_CACHE_KEY_PREFIX",0,p,"ComponentLayoutService",()=>V.ComponentLayoutService,"DEFAULT_PLACEHOLDER_UID",()=>O.DEFAULT_PLACEHOLDER_UID,"DesignLibraryMode",()=>h.DesignLibraryMode,"DesignLibraryStatus",0,i,"DesignLibraryVariantGeneration",()=>h.DesignLibraryVariantGeneration,"EDITING_ALLOWED_ORIGINS",()=>O.EDITING_ALLOWED_ORIGINS,"EditingService",()=>M.EditingService,"INVALID_SECRET_HTML_MESSAGE",()=>O.INVALID_SECRET_HTML_MESSAGE,"LayoutKind",()=>h.LayoutKind,"MetadataKind",()=>h.MetadataKind,"PAGES_EDITING_MARKER",()=>O.PAGES_EDITING_MARKER,"PREVIEW_KEY",()=>O.PREVIEW_KEY,"PagesEditor",()=>O.PagesEditor,"QUERY_PARAM_EDITING_SECRET",()=>O.QUERY_PARAM_EDITING_SECRET,"addComponentUpdateHandler",0,g,"getContentSdkPagesClientData",()=>O.getContentSdkPagesClientData,"getDesignLibraryScriptLink",0,S,"getDesignLibraryStatusEvent",0,N,"isDesignLibraryMode",0,T,"isEditorActive",()=>O.isEditorActive,"postToDesignLibrary",0,b,"resetEditorChromes",()=>O.resetEditorChromes,"updateComponent",0,_],62741);var A=e.i(62741),U=e.i(54254),B=e.i(77032),W=e.i(93944),H=o;class Y extends H.default.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidUpdate(e){e.renderKey!==this.props.renderKey&&this.setState({hasError:!1})}componentDidCatch(e){R(this.props.uid,e,s.Render)}render(){return this.state.hasError?H.default.createElement("div",null,"Error during component rendering"):H.default.createElement(H.Suspense,null,this.props.children)}}var q=e.i(12706);let{getDesignLibraryImportMapEvent:K,getDesignLibraryComponentPropsEvent:z,addComponentPreviewHandler:J,sendErrorEvent:Q}=F,{postToDesignLibrary:X}=A,Z=()=>{var e,t;let{page:a,loadImportMap:s}=(0,U.useSitecore)(),n=a.layout.sitecore.route,l=null==(e=null==n?void 0:n.placeholders[c.EDITING_COMPONENT_PLACEHOLDER])?void 0:e[0],r=null==l?void 0:l.uid,{isDesignLibrary:d}=a.mode,m=null==(t=a.mode.designLibrary)?void 0:t.isVariantGeneration,[h,u]=(0,o.useState)({fields:null==l?void 0:l.fields,params:null==l?void 0:l.params}),[p,x]=(0,o.useState)(0),[f,j]=(0,o.useState)(null),v=!!f;return d?r?((0,o.useEffect)(()=>{X(N(i.READY,r)),m||requestAnimationFrame(()=>{x(e=>0===e?e+1:e)});let e=g(l,e=>{u({fields:e.fields,params:e.params}),x(e=>e+1)});return()=>e&&e()},[m,l,r]),(0,o.useEffect)(()=>{0!==p&&X(N(i.RENDERED,r))},[p,r]),(0,o.useEffect)(()=>{let e;
3if(!d||!m)return;let t=!1;return(async()=>{let a;if(!s)return Q(r,"No loadImportMap provided",F.DesignLibraryPreviewError.ImportMapMissing);try{a=(await s()).default}catch(e){Q(r,`Error loading import map: ${e}`,F.DesignLibraryPreviewError.ImportMapLoad);return}t||(e=J(a,(e,t)=>{e||(j(()=>t),x(e=>e+1))}),X(K(r,a)),X(z(r,h.fields,h.params)))})(),()=>{t=!0,e&&e()}},[d,m,r,s,h]),o.default.createElement("main",null,v?o.default.createElement(Y,{uid:r,renderKey:p},o.default.createElement(W.PlaceholderMetadata,{rendering:l},o.default.createElement(f,{fields:h.fields,params:h.params,key:p}))):o.default.createElement("div",{id:c.EDITING_COMPONENT_ID},n&&o.default.createElement(B.Placeholder,{name:c.EDITING_COMPONENT_PLACEHOLDER,rendering:n,key:p})))):o.default.createElement(q.ErrorComponent,{message:"Rendering UID is missing in the rendering data"}):null};var ee=e.i(60548);let et=()=>{var e;let{page:{mode:t,layout:a},api:i}=(0,U.useSitecore)(),{clientData:s,clientScripts:n}=a.sitecore.context;if(t.isNormal||t.isPreview)return o.default.createElement(o.default.Fragment,null);if(t.isDesignLibrary){let t=new Date,a=String(t.getUTCHours()).padStart(2,"0"),s=String(t.getUTCDate()).padStart(2,"0"),n=String(t.getUTCMonth()+1).padStart(2,"0"),l=String(t.getUTCFullYear()),r=`${a}-${s}-${n}-${l}`,c=`${S(null==(e=null==i?void 0:i.edge)?void 0:e.edgeUrl)}?cb=${r}`;return o.default.createElement(o.default.Fragment,null,o.default.createElement("script",{src:c,suppressHydrationWarning:!0}))}let l=Object.assign(Object.assign({},s),(0,O.getContentSdkPagesClientData)());return o.default.createElement(o.default.Fragment,null,null==n?void 0:n.map((e,t)=>o.default.createElement("script",{src:e,key:t})),Object.keys(l).map(e=>o.default.createElement("script",{key:e,id:e,type:"application/json",dangerouslySetInnerHTML:{__html:JSON.stringify(l[e])}})))};var ea=e.i(99766),ei=e.i(59265),es=e.i(30031),en=e.i(35247);let el=()=>(es.setElementImplementation("img",e=>{let{children:t,src:a,alt:i,...s}=e;return(0,n.jsx)(ei.default,{height:1920,width:1200,unoptimized:!(e=>{if(e.startsWith("http")){let t=new URL(e),a=en.default.images?.domains||[],i=en.default.images?.remotePatterns||[];return a.some(e=>t.hostname===e)||i.some(e=>e.protocol===t.protocol.slice(0,-1)&&RegExp("^"+e.hostname.replace(".","\\.").replace(/\*/g,".*")+"$").test(t.hostname))}return!0})(a),src:a,alt:i,...s})}),(0,n.jsx)(n.Fragment,{}));var er=e.i(47815),eo=e.i(95638);e.i(48234);var ec=e.i(89014),ed=e.i(72542);let em=()=>{let{page:{layout:e,siteName:t,mode:a}}=(0,U.useSitecore)(),{route:i,context:s}=e.sitecore;return(0,o.useEffect)(()=>{if(!a.isNormal||!i?.itemId)return;let e=i.itemLanguage||ed.default.defaultLanguage,t=ed.default.personalize?.scope,n=eo.CdpHelper.getPageVariantId(i.itemId,e,s.variantId,t);(0,ec.pageView)({channel:"WEB",currency:"USD",page:i.name,pageVariantId:n,language:e}).catch(e=>console.debug(e))},[a,i,s.variantId,t]),(0,n.jsx)(n.Fragment,{})},eh=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ea.default,{}),(0,n.jsx)(el,{}),(0,n.jsx)(em,{}),(0,n.jsx)(et,{})]});var eu=e.i(69093),ep=e.i(60602);e.i(23543);var ex=e.i(47183),eg=e.i(49241);e.s(["default",0,({page:e})=>{let t=(0,ep.useRouter)(),{layout:a,mode:i}=e,{route:s}=a.sitecore,o=s?.fields,c=s?.itemId,d=i.isEditing,m=o?.Title?.value?.toString(),h=o?.MetaTitle?.value?.toString(),u=o?.MetaDescription?.value?.toString(),p=o?.MetaNoIndex?.value?.toString(),x=o?.MetaKeywords?.value?.toString(),g=o?.OpenGraphDescription?.value?.toString(),f=o?.OpenGraphType?.value?.toString(),j=o?.OpenGraphSiteName?.value?.toString(),v=o?.OpenGraphImageUrl?.value?.src?.toString(),y=o?.OpenGraphTitle?.value?.toString(),_=o?.TwitterSite?.value?.toString(),N=o?.TwitterCardType?.fields?.Value?.value?.toString(),S=o?.TwitterTitle?.value?.toString(),T=o?.TwitterDescription?.value?.toString(),b=o?.TwitterImage?.value?.src?.toString(),C=o?.SxaTags,$=C?C.map(e=>e.fields.Title.value).join(","):"",k="";k=s?.templateId=="d27dc811-639b-4cd8-80c4-617e1192d9db"?"Projects":s?.templateId=="91b3e343-c317-413f-ba87-0fbb5dcf406c"?"Videos":s?.templateId=="85ed811e-cbb6-493e-8ecf-d084f3138b58"?"News":s?.templateId=="f6523c45-c517-4944-9e56-2f82bc1cc3a0"?"CaseStudies":"Content";let L=e.siteName,w=t.asPath,E=(0,ex.usePageSchemas)(a,w,!!d),I=(0,ex.useCombinedSchemas)(E);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eh,{}),(0,n.jsxs)(l.default,{children:[(0,n.jsx)("title",{children:h||m||"Page"}),(0,n.jsx)("meta",{name:"viewport",content:"initial-scale=1, width=device-width"}),(0,n.jsx)("meta",{name:"description",content:u}),(0,n.jsx)("meta",{name:"keywords",content:x}),(0,n.jsx)("meta",{name:"site",content:L}),(0,n.jsx)("meta",{name:"id",content:c}),"true"==p?(0,n.jsx)("meta",{name:"robots",content:"noindex"}):"",N?(0,n.jsx)("meta",{name:"twitter:card",content:N}):"",_?(0,n.jsx)("meta",{name:"twitter:site",content:_}):"",S?(0,n.jsx)("meta",{name:"twitter:title",content:S}):"",T?(0,n.jsx)("meta",{name:"twitter:description",content:T}):"",b?(0,n.jsx)("meta",{name:"twitter:image",content:b}):"",y?(0,n.jsx)("meta",{property:"og:title",content:y}):"",g?(0,n.jsx)("meta",{property:"og:description",content:g}):"",f?(0,n.jsx)("meta",{property:"og:type",content:f}):"",v?(0,n.jsx)("meta",{property:"og:image",content:v}):"",j?(0,n.jsx)("meta",{property:"og:site_name",content:j}):"",(0,n.jsx)("link",{rel:"icon",href:`/icons/${L}.png`}),(0,n.jsx)(({site:e})=>{let a=(0,ee.normalizeSiteRewrite)(t.asPath),i=e?eu.siteExtendedProperties[e]?.targetHostname:void 0;return i?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"og:url",content:`https://${i}${a}`}),(0,n.jsx)("link",{rel:"canonical",href:`https://${i}${a}`}),t.locale&&"en"!=t.locale&&(0,n.jsx)("link",{rel:"alternate",hrefLang:`${t.locale}`,href:`https://${i}/${t.locale}${a}`})]}):(0,n.jsx)(n.Fragment,{})},{site:L}),(0,n.jsx)("meta",{name:"content:type",content:k}),$?(0,n.jsx)("meta",{name:"content:sxaTags",content:$}):"",!d&&I.length>
30&&(0,n.jsx)(eg.SchemaJsonLd,{schemas:I})]}),(0,n.jsx)("div",{className:d?"editing-mode":"prod-mode",children:i.isDesignLibrary?(0,n.jsx)(Z,{}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("header",{children:(0,n.jsx)("div",{id:"header",children:s&&(0,n.jsx)(r.Placeholder,{name:"headless-header",rendering:s})})}),(0,n.jsx)("main",{children:(0,n.jsx)("div",{id:"content",children:s&&(0,n.jsx)(r.Placeholder,{name:"headless-main",rendering:s})})}),(0,n.jsx)("footer",{children:(0,n.jsx)("div",{id:"footer",children:s&&(0,n.jsx)(r.Placeholder,{name:"headless-footer",rendering:s})})})]})})]})}],78203);var ef=e.i(67490),ej=e.i(9744);async function ev(e){let t=e.ComponentDataOverride?JSON.parse(e.ComponentDataOverride):{};return{fetchedData:await es.DataSettings.fetch(t||{})}}async function ey(e,t,a){let i=t?"published":"staged",s=a||eS(e,i),n="",l={},r=e.ComponentDataOverride?JSON.parse(e.ComponentDataOverride):{};try{n=await e_(s,e,i),l=await eN(r)}catch(e){console.error(e)}return{fetchedData:l,revisionFallback:i,template:n}}async function e_(e,t,a){try{let{template:t}=await es.fetchComponent(e);return t}catch(i){throw console.error(`Fetch FEAAS component from ${e} failed. Ensure the component revision "${t.ComponentRevision||a}" is present`),i}}async function eN(e){try{return await es.DataSettings.fetch(e||{})}catch(e){throw console.error("Fetch FEAAS component data settings failed"),e}}let eS=(e,t)=>{var a;let i=e.ComponentRevision||t,s=(null==(a=e.ComponentHostName)?void 0:a.startsWith("https://"))?e.ComponentHostName:`https://${e.ComponentHostName}`;return`${s}/components/${e.LibraryId}/${e.ComponentId}/${e.ComponentVersion}/${i}`},eT=async e=>{let t=e.params||{};return await ev(t)},eb=ej.BYOCWrapper;e.s(["default",0,eb,"getComponentServerProps",0,eT],12010);var eC=e.i(12010),eC=eC,e$=e.i(82664);let ek=async(e,t)=>{let a=e.params||{},i=!t.sitecore.context.pageState||t.sitecore.context.pageState===c.LayoutServicePageState.Normal;return await ey(a,i)},eL=e$.FEaaSWrapper;e.s(["default",0,eL,"getComponentServerProps",0,ek],3640);var ew=e.i(3640),ew=ew;e.s([],98884),e.i(98884);var eE=e.i(13993),eI=e.i(56540),eP=e.i(78167),eG=e.i(92268),eR=e.i(46372),eD=e.i(55178),eF=e.i(67405);e.s(["ANALYTICS_PLUGIN_NAME",()=>eD.ANALYTICS_PLUGIN_NAME,"API_VERSION",()=>eP.API_VERSION,"BOT_DETECTION_COOKIE",()=>eF.BOT_DETECTION_COOKIE,"CLIENT_ID_COOKIE_NAME",()=>eP.CLIENT_ID_COOKIE_NAME,"COOKIE_NAME_PREFIX",()=>eP.COOKIE_NAME_PREFIX,"CORRELATION_ID_HEADER",()=>eP.CORRELATION_ID_HEADER,"DAILY_SECONDS",()=>eP.DAILY_SECONDS,"DEFAULT_COOKIE_EXPIRY_DAYS",()=>eP.DEFAULT_COOKIE_EXPIRY_DAYS,"LIBRARY_VERSION",()=>eP.LIBRARY_VERSION,"fetchClientIdFromEdgeProxy",()=>eG.fetchClientIdFromEdgeProxy,"generateCorrelationId",0,function(){return globalThis.crypto.randomUUID().replace(/-/g,"")},"getAnalyticsPlugin",()=>eR.getAnalyticsPlugin,"getDefaultCookieAttributes",()=>eE.getDefaultCookieAttributes,"isBot",()=>eF.isBot,"isBotClientSide",()=>eF.isBotClientSide,"isBotServerSide",()=>eF.isBotServerSide,"language",()=>eI.language,"pageName",()=>eI.pageName],26464);var eM=e.i(26464);e.s([],55136),e.i(55136);var eO=e.i(85861),eV=e.i(11155);let{ERROR_MESSAGES:eA}=d.constants,eU=async(e,t,a)=>{if(!e)return $.default.form(`${eA.MV_001}. Form was not able to render.`),"";let i=(0,eV.getEdgeProxyFormsUrl)(e,t,a);try{$.default.form(`Fetching form data from ${i}`);let e=await fetch(i,{method:"GET",cache:"no-cache"});if(200!==e.status)throw Error(`Failed to fetch form data. ${eA.CONTACT_SUPPORT}`);let t=await e.text();return $.default.form(`Form data fetch response: ${t}`),t}catch(e){throw $.default.form(`Form '${t}' was not able to render. ${eA.CONTACT_SUPPORT}`,e),e}};e.s(["executeScriptElements",0,e=>{let t=e.querySelectorAll("script");t&&Array.from(t).forEach(e=>{var t;let a=document.createElement("script");Array.from(e.attributes).forEach(e=>{a.setAttribute(e.name,e.value)}),a.text=e.text,null==(t=null==e?void 0:e.parentNode)||t.replaceChild(a,e)})},"loadForm",0,eU,"subscribeToFormSubmitEvent",0,(e,t)=>{e.addEventListener("form:engage",e=>{let{formId:a,name:i}=e.detail;a&&i&&($.default.form("Sending form event",a,i),(0,eO.form)(a,i,(null==t?void 0:t.replace(/-/g,""))||""))})}],37907);var eB=e.i(37907),eB=eB;let{ERROR_MESSAGES:eW}=d.constants,{executeScriptElements:eH,loadForm:eY,subscribeToFormSubmitEvent:eq}=eB,{isBotClientSide:eK}=eM;var ez=e.i(31869),eJ=e.i(37216);let eQ=e=>{let t=e.id;return(0,n.jsx)("div",{className:`component title ${e.styles}`,id:t||void 0,children:(0,n.jsx)("div",{className:"component-content",children:(0,n.jsx)("div",{className:"field-title",children:e.children})})})};e.s(["Default",0,e=>{let t=e.fields?.data?.datasource||e.fields?.data?.contextItem,{page:a}=(0,U.useSitecore)(),i=t?.field?.jsonValue||{},s={value:{href:t?.url?.path,title:t?.field?.jsonValue?.value}};return!a.mode.isNormal&&(s.value.querystring=`sc_site=${t?.url?.siteName}`,i?.value||(i.value="Title field",s.value.href="#")),(0,n.jsx)(eQ,{styles:e.params.styles,id:e.params.RenderingIdentifier,children:(0,n.jsx)(n.Fragment,{children:a.mode.isEditing?(0,n.jsx)(eJ.Text,{field:i}):(0,n.jsx)(ez.Link,{field:s,children:(0,n.jsx)(eJ.Text,{field:i})})})})}],60322);var eX=e.i(60322),eZ=e.i(86582);e.s(["Default",0,e=>{let t=`${e.params.GridParameters??""} ${e.params.Styles??""}`.trimEnd(),a=[e.params.Styles1,e.params.Styles2,e.params.Styles3,e.params.Styles4,e.params.Styles5,e.params.Styles6,e.params.Styles7,e.params.Styles8],i=e.params.EnabledPlaceholders.split(","),s=e.params.RenderingIdentifier;return(0,n.jsx)("div",{className:`component row-splitter ${t}`,id:s||void 0,children:i.map((t,i)=>{let s=`row-${t}-{*}`,l=`${a[t-1]??""}`.trimEnd();return(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:"container"===l?"xl":"100%",children:(0,n.jsx)(eZ.Grid,{item:!0,xs:!0,children:(0,n.jsx)(r.Placeholder,{name:s,rendering:e.rendering},i)})},i)})})}],21317);var e0=e.i(21317),e1=e.i(73560),e2=e.i(59033),e3=e.i(87464),e4=e.i(79420),e6=e.i(55044),e5=e.i(41379);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),{page:a}=(0,U.useSitecore)(),i=(0,e3.getComponentSelectedTheme)(a.siteName,e.params),s=i||t,l=e.fields?(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",className:"ch-rich-text",children:(0,n.jsx)(e1.RichText,{field:e.fields.Text})}):(0,n.jsx)("span",{className:"is-empty-hint",children:"Rich text"}),r=e.params.RenderingIdentifier;return(0,n.jsx)(e2.default,{theme:i,keyval:(0,e4.v4)(),children:(0,n.jsx)("div",{className:"ch-rich-text",children:(0,n.jsx)("div",{className:`ch-component ${e.params.styles?.trimEnd()}`,id:r||void 0,children:(0,n.jsx)("div",{className:`ch-component-richtext__content-${s}`,children:l})})})})}],90345);var e7=e.i(90345),e8=e.i(345);let e9=e=>(0,n.jsx)("div",{className:`component promo ${e.params.styles}`,children:(0,n.jsx)("div",{className:"component-content",children:(0,n.jsx)("span",{className:"is-empty-hint",children:"Promo"})})});e.s(["Default",0,e=>{let t=e.params.RenderingIdentifier;return e.fields?(0,n.jsx)("div",{className:`component promo ${e.params.styles}`,id:t||void 0,children:(0,n.jsxs)("div",{className:"component-content",children:[(0,n.jsx)("div",{className:"field-
3promoicon",children:(0,n.jsx)(e8.NextImage,{field:e.fields.PromoIcon})}),(0,n.jsxs)("div",{className:"promo-text",children:[(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"field-promotext",children:(0,n.jsx)(e1.RichText,{field:e.fields.PromoText})})}),(0,n.jsx)("div",{className:"field-promolink",children:(0,n.jsx)(ez.Link,{field:e.fields.PromoLink})})]})]})}):(0,n.jsx)(e9,{...e})},"WithText",0,e=>{let t=e.params.RenderingIdentifier;return e.fields?(0,n.jsx)("div",{className:`component promo ${e.params.styles}`,id:t||void 0,children:(0,n.jsxs)("div",{className:"component-content",children:[(0,n.jsx)("div",{className:"field-promoicon",children:(0,n.jsx)(e8.NextImage,{field:e.fields.PromoIcon})}),(0,n.jsxs)("div",{className:"promo-text",children:[(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"field-promotext",children:(0,n.jsx)(e1.RichText,{className:"promo-text",field:e.fields.PromoText})})}),(0,n.jsx)("div",{className:"field-promotext",children:(0,n.jsx)(e1.RichText,{className:"promo-text",field:e.fields.PromoText2})})]})]})}):(0,n.jsx)(e9,{...e})}],52476);var te=e.i(52476);e.s(["default",0,e=>(0,n.jsx)(r.Placeholder,{name:e.rendering?.params?.sig||"",rendering:e.rendering})],36860);var tt=e.i(36860);let ta=e=>{let t=e.id;return(0,n.jsx)("div",{className:`component content ${e.styles}`,id:t||void 0,children:(0,n.jsx)("div",{className:"component-content",children:(0,n.jsx)("div",{className:"field-content",children:e.children})})})};e.s(["Default",0,e=>{let{page:t}=(0,U.useSitecore)(),a=e.params.RenderingIdentifier,i=t.layout.sitecore.route?.fields;if(!(e.fields&&e.fields.Content)&&!i?.Content)return(0,n.jsx)("div",{className:`component content ${e.params.styles}`,id:a||void 0,children:(0,n.jsx)("div",{className:"component-content",children:(0,n.jsx)("div",{className:"field-content",children:"[Content]"})})});let s=e.fields&&e.fields.Content?e.fields.Content:i?.Content;return(0,n.jsx)(ta,{styles:e.params.styles,id:a,children:(0,n.jsx)(e1.RichText,{field:s})})}],56835);var ti=e.i(56835);let ts=function(e){return e.fields.NavigationTitle?(0,n.jsx)(eJ.Text,{field:e.fields.NavigationTitle}):e.fields.Title?(0,n.jsx)(eJ.Text,{field:e.fields.Title}):e.fields.DisplayName},tn=e=>{let{page:t}=(0,U.useSitecore)(),[a,i]=(0,o.useState)(!1),s=`${e.fields.Styles.concat("rel-level"+e.relativeLevel).join(" ")}`,l=[];return e.fields.Children&&e.fields.Children.length&&(l=e.fields.Children.map((t,a)=>(0,n.jsx)(tn,{fields:t,handleClick:e.handleClick,relativeLevel:e.relativeLevel+1},`${a}${t.Id}`))),(0,n.jsxs)("li",{className:`${s} ${a?"active":""}`,tabIndex:0,children:[(0,n.jsx)("div",{className:`navigation-title ${l.length?"child":""}`,onClick:()=>i(()=>!a),children:(0,n.jsx)(ez.Link,{field:{value:{href:e.fields.Href,title:tl(e),querystring:e.fields.Querystring}},editable:t.mode.isEditing,onClick:e.handleClick,children:ts(e)})}),l.length>0?(0,n.jsx)("ul",{className:"clearfix",children:l}):null]},e.fields.Id)},tl=e=>e.fields.NavigationTitle?.value?e.fields.NavigationTitle.value.toString():e.fields.Title?.value?e.fields.Title.value.toString():e.fields.DisplayName;e.s(["Default",0,e=>{let[t,a]=(0,o.useState)(!1),{page:i}=(0,U.useSitecore)(),s=null!=e.params?`${e.params.GridParameters??""} ${e.params.Styles??""}`.trimEnd():"",l=null!=e.params?e.params.RenderingIdentifier:null;if(!Object.values(e.fields).length)return(0,n.jsx)("div",{className:`component navigation ${s}`,id:l||void 0,children:(0,n.jsx)("div",{className:"component-content",children:"[Navigation]"})});let r=(e,s)=>{if(e&&i.mode.isEditing&&e.preventDefault(),void 0!==s)return a(s);a(!t)},c=Object.values(e.fields).filter(e=>e).map((e,t)=>(0,n.jsx)(tn,{fields:e,handleClick:e=>r(e,!1),relativeLevel:1},`${t}${e.Id}`));return(0,n.jsx)("div",{className:`component navigation ${s}`,id:l||void 0,children:(0,n.jsxs)("label",{className:"menu-mobile-navigate-wrapper",children:[(0,n.jsx)("input",{type:"checkbox",className:"menu-mobile-navigate",checked:t,onChange:()=>r()}),(0,n.jsx)("div",{className:"menu-humburger"}),(0,n.jsx)("div",{className:"component-content",children:(0,n.jsx)("nav",{children:(0,n.jsx)("ul",{className:"clearfix",children:c})})})]})})}],66479);var tr=e.i(66479);let to=e=>{let t=`item${e.index}`;return t+=(e.index+1)%2==0?" even":" odd",0==e.index&&(t+=" first"),e.index+1==e.total&&(t+=" last"),(0,n.jsx)("li",{className:t,children:(0,n.jsx)("div",{className:"field-link",children:(0,n.jsx)(ez.Link,{field:e.field})})})};e.s(["Default",0,e=>{let t=e.fields?.data?.datasource,a=`component link-list ${e.params.styles??""}`.trimEnd(),i=e.params.RenderingIdentifier;if(t){let e=t.children.results.filter(e=>e?.field?.link).map((e,a)=>(0,n.jsx)(to,{index:a,total:t.children.results.length,field:e.field.link},`${a}${e.field.link}`));return(0,n.jsx)("div",{className:a,id:i||void 0,children:(0,n.jsxs)("div",{className:"component-content",children:[(0,n.jsx)(eJ.Text,{tag:"h3",field:t?.field?.title}),(0,n.jsx)("ul",{children:e})]})})}return(0,n.jsx)("div",{className:a,id:i||void 0,children:(0,n.jsx)("div",{className:"component-content",children:(0,n.jsx)("h3",{children:"Link List"})})})}],32359);var tc=e.i(32359),td=e.i(98915),tm=e.i(44822),th=e.i(21888);let tu=()=>(0,n.jsx)("div",{className:"ch-component image",children:(0,n.jsx)("div",{className:"ch-component__content",children:(0,n.jsx)("span",{className:"is-empty-hint",children:"Image"})})});e.s(["Banner",0,e=>{let{page:t}=(0,U.useSitecore)(),a={backgroundImage:`url('${e?.fields?.Image?.value?.src}')`},i=e.params.RenderingIdentifier;return(0,n.jsx)("div",{className:"ch-component hero-banner",id:i||void 0,children:(0,n.jsx)("div",{className:"ch-component__content sc-sxa-image-hero-banner",style:a,children:t.mode.isEditing?(0,n.jsx)(tm.Image,{field:e.fields.Image}):""})})},"Default",0,e=>{let{page:t}=(0,U.useSitecore)(),a=t.locale;if(e.fields){let i=()=>(0,n.jsx)(tm.Image,{field:e.fields.Image}),s=e.params.RenderingIdentifier;return(0,n.jsx)("div",{className:"ch-component image",id:s||void 0,children:(0,n.jsxs)("div",{className:"ch-component__content ",children:[t.mode.isEditing?(0,n.jsx)(i,{}):e.fields.Image?.value?.src?(0,n.jsx)(th.default,{locale:a,href:{pathname:e?.fields?.TargetUrl?.value?.href},target:e?.fields?.TargetUrl?.value?.target,as:e?.fields?.TargetUrl?.value?.linktype!="internal"||e?.fields?.TargetUrl?.value?.href?.startsWith("mailto:")?e?.fields?.TargetUrl?.value?.href&&e?.fields?.TargetUrl?.value?.href:e?.fields?.TargetUrl?.value?.href&&e?.fields?.TargetUrl?.value?.href+e?.fields?.TargetUrl?.value?.querystring,children:(0,n.jsx)(i,{})}):null,(0,n.jsx)(eJ.Text,{tag:"span",className:"image-caption field-imagecaption",field:e.fields.ImageCaption})]})})}return(0,n.jsx)(tu,{})}],6447);var tp=e.i(6447),tx=e.i(97453);let tg=(0,tx.withDatasourceCheck)()(({fields:e})=>(0,n.jsxs)("div",{className:"contentBlock ch-rich-text",children:[(0,n.jsx)(eJ.Text,{tag:"h2",className:"contentTitle",field:e.heading}),(0,n.jsx)(e1.RichText,{className:"contentDescription",field:e.content})]}));e.s(["default",0,tg],19231);var tf=e.i(19231);let tj=e=>{let t=e.params&&(e.params.Styles??""),a=`${e.params.GridParameters??""} ${t}`.trimEnd(),i=`container-${e.params.DynamicPlaceholderId}`,s=e.params.RenderingIdentifier,l=RegExp(/mediaurl=\"([^"]*)\"/,"i"),o=e.params.Backgroun
3dImage,c={};if(o&&o.match(l)){let e=o.match(l)?.[1]||"";c={backgroundImage:`url('${e}')`}}return(0,n.jsx)("div",{className:`component container-default ${a}`,id:s||void 0,children:(0,n.jsx)("div",{className:"component-content",style:c,children:(0,n.jsx)("div",{className:"row",children:(0,n.jsx)(r.Placeholder,{name:i,rendering:e.rendering})})})})};e.s(["Default",0,e=>{let t=e.params?.Styles?.split(" ");return t&&t.includes("container")?(0,n.jsx)("div",{className:"container-wrapper",children:(0,n.jsx)(tj,{...e})}):(0,n.jsx)(tj,{...e})}],63764);var tv=e.i(63764);e.s(["Default",0,e=>{let t=`${e.params.GridParameters??""} ${e.params.Styles??""}`.trimEnd(),a=[e.params.ColumnWidth1,e.params.ColumnWidth2,e.params.ColumnWidth3,e.params.ColumnWidth4,e.params.ColumnWidth5,e.params.ColumnWidth6,e.params.ColumnWidth7,e.params.ColumnWidth8],i=[e.params.Styles1,e.params.Styles2,e.params.Styles3,e.params.Styles4,e.params.Styles5,e.params.Styles6,e.params.Styles7,e.params.Styles8],s=e.params.EnabledPlaceholders.split(","),l=e.params.RenderingIdentifier;return(0,n.jsx)("div",{className:`row component column-splitter ${t}`,id:l||void 0,children:s.map((t,s)=>{let l=`column-${t}-{*}`,o=`${a[t-1]} ${i[t-1]??""}`.trimEnd();return(0,n.jsx)("div",{className:o,children:(0,n.jsx)("div",{className:"row",children:(0,n.jsx)(r.Placeholder,{name:l,rendering:e.rendering},s)},s)},s)})})}],31);var ty=e.i(31),t_=e.i(31996);let tN=e=>{let t=e.isasync,a=e.sourceUrl,i=e.inlineScript?.length>0,s=e.inlineNoScript?.length>0;return(0,n.jsxs)(n.Fragment,{children:[t&&a&&(0,n.jsx)(t_.default,{src:a,async:!0}),!t&&a&&(0,n.jsx)(t_.default,{src:a}),i&&(0,n.jsx)(t_.default,{type:"text/javascript",id:e.id,children:e.inlineScript}),s&&(0,n.jsx)("noscript",{children:e.inlineNoScript})]})};e.s(["Default",0,e=>{let[t,a]=(0,o.useState)([]),i=e.fields?.data?.datasource;if((0,o.useEffect)(()=>{let e=[];i?.children?.results?.map((t,a)=>{e.push({isasync:t.isasync.value,sourceUrl:t.sourceUrl?.value?.value?.href?t.sourceUrl?.value?.value?.href:"",inlineScript:t.inlineScript?.value?.value,inlineNoScript:t.inlineNoScript?.value?.value,id:t.id,key:a})}),a(e)},[i?.children?.results]),i){let e=t?.map((e,t)=>(0,n.jsx)(tN,{id:e.id,isasync:e.isasync,sourceUrl:e.sourceUrl,inlineScript:e.inlineScript,inlineNoScript:e.inlineNoScript},t));return(0,n.jsx)(n.Fragment,{children:e})}return(0,n.jsx)(n.Fragment,{})}],64179);var tS=e.i(64179);e.s(["Default",0,e=>{let[t,a]=(0,o.useState)([]),i=e.fields?.data?.datasource;if((0,o.useEffect)(()=>{let e=[];i?.children?.results?.map((t,a)=>{e.push({metaName:t.metaName?.value?.value,metaContent:t.metaContent?.value?.value,id:t.id,key:a})}),a(e)},[i?.children?.results]),i){let e=t?.map(function(e){return(0,n.jsx)("meta",{name:e.metaName,content:e.metaContent},"{listItem}")});return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(l.default,{children:e})})}return(0,n.jsx)(n.Fragment,{})}],27038);var tT=e.i(27038);e.s(["Default",0,e=>{let t=e?.fields?.Key?.value,a=e?.fields?.Verification?.value;return t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.default,{children:[a?(0,n.jsx)("meta",{name:"google-site-verification",content:a}):"",(0,n.jsx)("script",{async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${t}`}),(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:` window.dataLayer = window.dataLayer || [];
4                function gtag(){window.dataLayer.push(arguments);}
5                gtag('js', new Date());
6
7                gtag('config', '${t}');`}})]}),(0,n.jsx)("noscript",{children:(0,n.jsx)("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${t}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]}):(0,n.jsx)(n.Fragment,{})}],8871);var tb=e.i(8871),tC=e.i(90544),t$=e.i(49819),tk=e.i(23913);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)(!1),[u,p]=(0,o.useState)({keyphrase:"",tag:"",company:"",type:"",expertise:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entr
7ies());p({keyphrase:e.q?.toString()??"",tag:e.tag?.toString()??"",company:e.company?.toString()??"",type:e.type?.toString()??"",expertise:e.expertise?.toString()??""}),h(!0)};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{container:!0,item:!0,xs:12,children:m?(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:Number(e.fields.ItemsPerPage.value),defaultSortType:"relevance_desc",defaultPage:1,defaultKeyphrase:u.keyphrase,defaultTag:u.tag,defaultCompany:u.company,defaultType:u.type,defaultExpertise:u.expertise,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:e.fields.ItemsPerPage,PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:tC.SiteSearchListing,compClass:"sitesearchResults",themeName:c},`${u.keyphrase}-search`):(0,n.jsx)("div",{className:"loader",children:(0,n.jsx)(tk.Presence,{present:!0,children:(0,n.jsx)("p",{children:"Loading..."})})})})})},JSON.stringify(u))})}],53410);var tL=e.i(53410),tw=e.i(37514),tE=e.i(12998);e.s(["Default",0,e=>{let{page:t}=(0,U.useSitecore)(),a=(0,e3.getComponentSelectedTheme)(t.siteName,e.params),i=(0,ep.useRouter)(),[s,l]=(0,o.useState)(""),r="1"===e.params.IsContained,c=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",d=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";(0,o.useEffect)(()=>
7{l(i.query.q?.toString()??"")},[i.query.q]);let m=()=>{i.push({pathname:e.fields?.SearchResultsPage?.value.href,query:`q=${s}`})};return(0,n.jsx)(e2.default,{theme:a,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:r?"xl":"auto",className:`ch-search__wrap  ${c} ${d}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,container:!0,alignItems:"flex-start",children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,lg:2.5,container:!0,children:(0,n.jsx)(tE.TextField,{value:s,onChange:e=>l(e.target.value),onKeyDown:e=>{"Enter"===e.key&&m()},placeholder:e.fields?.PlaceholderText.value,variant:"standard",fullWidth:!0,focused:!0,InputProps:{endAdornment:(0,n.jsx)(tw.InputAdornment,{position:"end",children:(0,n.jsx)("i",{className:"icon-search",onClick:()=>{s.trim().length>0?m():l("")}})})}})})})})})})}],17278);var tI=e.i(17278),tP=e.i(70961),tG=e.i(17695),tR=e.i(29251);e.s(["default",0,()=>{let{state:{sortType:e},queryResult:{data:{sort:{choices:t=[]}={}}={}}={}}=(0,tR.useSearchResults)(),a=-1,i=t.map((t,i)=>{let s={label:t.label,name:Object.hasOwn(t,"order")?`${t.name}_${t.order}`:t.name};return e===s.name&&(a=i),s});return a=a>=0?a:0,{sortChoices:i,currentOption:i.length>0?i[a]:{}}}],75830);var tD=e.i(75830);e.s([],5369);var tF=e.i(5369),tM=e.i(70023);e.s([],79676);var tO=e.i(79676),tV=e.i(56443),tA=e.i(37200),tU=e.i(83868),tB=e.i(83683);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="propertyList",{page:i}=(0,U.useSitecore)(),s=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),l="1"===e.params.IsContained,r=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",c=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",[d,m]=(0,o.useState)({result:[],pageInfo:{hasNext:!1,total:0,endCursor:""}}),[h,u]=(0,o.useState)(!1),p=s||t,x=e.fields.ListingPath?.id??i.layout.sitecore.route?.itemId,g=e.fields.PropertyType?.id,f=i.locale,j=i.mode.isEditing,v=new Intl.NumberFormat("en-AU",{style:"currency",currency:"AUD",maximumFractionDigits:0,minimumFractionDigits:0}),[y,_]=(0,o.useState)(1),N=(y-1)*12,[S,T]=(0,o.useState)({result:[],pageInfo:{hasNext:!1,total:0,endCursor:""}}),b=S.result.slice(N,N+12),[C,$]=(0,o.useState)(),[k,L]=(0,o.useState)(),[w,E]=(0,o.useState)(),I=(0,o.useCallback)(e=>{T({result:(e.price&&e.price.length>0||e.landSize&&e.landSize.length>0||e.frontage&&e.frontage.length>0||e.bedrooms&&e.bedrooms>0||e.bathrooms&&e.bathrooms>0||e.carSpaces&&e.carSpaces>0?d.result?.filter(t=>{let a=!e?.price||t.price>=e.price[0]&&t.price<=e.price[1],i=!e?.landSize||Number(t.landSize)>=e.landSize[0]&&Number(t.landSize)<=e.landSize[1],s=!e?.frontage||Number(t.frontage)>=e.frontage[0]&&Number(t.frontage)<=e.frontage[1],n=e?.bedrooms===0||Number(t.bedroom)>=e.bedrooms,l=e?.bathrooms===0||Number(t.bathroom)>=e.bathrooms,r=e?.carSpaces===0||Number(t.carspace)>=e.carSpaces;return a&&i&&s&&n&&l&&r}):d.result)||[],pageInfo:{hasNext:!1,total:0,endCursor:""}}),_(1);let t=Math.max(...d.result.map(e=>e.price)),a=Math.max(...d.result.map(e=>e.landSize)),i=Math.max(...d.result.map(e=>e.frontage));$(t),L(a),E(i)},[d]);(0,o.useEffect)(()=>{if(!h&&!j&&(u(!0),x&&g)){let e=new URLSearchParams({rootId:x||"",propertyTypeId:g||"",endCursor:""});fetch(`/api/getpropertylist?${e.toString()}`).then(e=>e.json()).then(e=>{m({result:e.result,pageInfo:e.pageInfo}),u(!1)}).catch(e=>{console.log(e),u(!1)})}},[x,g]);let P=[...b].sort((e,t)=>e.price-t.price);if(x&&g){let t=e.fields.OpenEnquiryNewWindow?.value;return(0,n.jsx)(e2.default,{theme:s,keyval:e.rendering.uid,children:(0,n.jsxs)("section",{className:"ch-property-list",children:[(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${p}`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:l?"xl":"auto",className:`ch-property-list__wrap  ${r} ${c}`,children:[(0,n.jsxs)(eZ.Grid,{item:!0,xs:12,mb:3,children:[(0,n.jsx)(e6.Typography,{variant:"h3",component:"h3",className:`ch-property-list__title ch-component-${a}__title-${p} mb-0`,children:e.fields.Title?.value}),(0,n.jsx)(tA.Divider,{className:"my-3"})]}),j?(0,n.jsx)("div",{children:"Filter not available in Experience Editor and Page Editor"}):(0,n.jsx)(eZ.Grid,{item:!0,xs:12,lg:8,className:"ch-property-list__filters",children:(0,n.jsx)(tB.default,{onFilterChange:I,compClass:a,themeName:p,type:b.length?b[0].propertyType:"",highestPrice:C??0,highestLandSize:k??0,highestFrontage:w??0,filterId:g})})]})}),j?(0,n.jsx)("div",{children:"Results not available in Experience Editor and Page Editor"}):(0,n.jsx)("div",{children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:l?"xl":"auto",className:`ch-property-list__wrap  ${r} ${c}`,children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsxs)("div",{className:"ch-property-list__status-dots mb-3",children:[(0,n.jsx)("span",{"data-status":"Available",children:"Available"}),(0,n.jsx)("span",{"data-status":"Deposited",children:"Deposited"}),(0,n.jsx)("span",{"data-status":"Sold",children:"Sold"})]})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:h?(0,n.jsx)("div",{children:"Loading..."}):(0,n.jsx)(eZ.Grid,{container:!0,spacing:2.5,children:P.length?P.map((e,i)=>(0,n.jsx)(eZ.Grid,{item:!0,xs:12,sm:6,lg:3,children:"House and Land"==e.propertyType?(0,n.jsxs)("div",{className:`ch-property-list__item ch-component-${a}__bg-${p}`,children:[(0,n.jsxs)("div",{className:`ch-property-list__item--thumb border-top  ch-component-${a}__border-${p}`,children:[(0,n.jsx)("img",{src:e.image?.src,alt:e.image?.alt,width:e.image?.width,height:e.image?.height}),e.promoText&&(0,n.jsx)("div",{className:`ch-property-list__item--promo ${e.promoAlignment}`,children:(0,n.jsx)("div",{className:"ch-property-list__item--promo_banner banner",children:(0,n.jsxs)(e6.Typography,{fontWeight:600,children:[e.promoText,e.promoFootnoteSymbol?(0,n.jsx)("sup",{children:e.promoFootnoteSymbol}):null]})})})]}),(0,n.jsxs)("div",{className:"ch-property-list__item--content",children:[(0,n.jsxs)("div",{className:"d-flex border-bottom pb-3",children:[(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"ch-property-list__status-dots",children:(0,n.jsx)("span",{"data-status":e.status,"data-size":"large",className:"mt-1"})})}),(0,n.jsxs)("div",{children:[(0,n.jsx)(e6.Typography,{variant:"h5",className:`ch-component ch-component-${a}__text-${p} mb-1`,children:e.title}),(0,n.jsx)(e6.Typography,{variant:"body1",className:`ch-component ch-component-${a}__label-${p}`,children:e.address})]})]}),(0,n.jsxs)("div",{className:`ch-component ch-component-${a}__label-${p} d-flex justify-content-between pb-3 border-bottom ch-property-list__item--features`,children:[(0,n.jsxs)("div",{className:"ch-property-list__item--features_item",children:[(0,n.jsx)("i",{className:"icon icon-Bedroom"}),(0,n.jsx)("span",{children:e.bedroom})]}),(0,n.jsxs)("div",{className:"ch-property-list__item--features_item",children:[(0,n.jsx)("i",{className:"icon icon-Bathroom"}),(0,n.jsx)("span",{children:e.bathroom})]}),(0,n.jsxs)("div",{className:"ch-property-list__item--features_item",children:[(0,n.jsx)("i",{className:"icon icon-Garage"}),(0,n.jsx)("span",{children:e.carspace})]})]}),(0,n.jsxs)("div",{className:"pb-3  border-bottom ch-property-list__item--price",children:[(0,n.jsx)("div",{children:(0,n.jsx)(e6.Typography,{className:`ch-component ch-component-${a}__text-${p}`,children:"House & Land"})}),(0,n.jsx)("div",{children:(0,n.jsxs)(e6.Typography,{variant:"h5",className:`ch-component ch-component-${a}__text-${p} mb-0`,children:[v.format(e.price),e.priceFootnoteSymbol?(0,n.jsx)("sup",{children:e.priceFootnoteSymbol}):null]})})]}),(0,n.jsxs)("div",{className:"d-flex pb-3 gap-3 flex-grow-1",children:[(0,n.jsx)("div",{children:(0,n.jsxs)(e6.Typography,{className:`ch-component ch-component-${a}__label-${p}`,children:["House Size ",e.houseSize,"m",(0,n.jsx)("sup",{children:"2"})]})}),(0,n.jsx)("div",{children:(0,n.jsxs)(e6.Typography,{className:`ch-component ch-component-${a}__label-${p}`,children:["Land Size ",e.houseLandSize,"m",(0,n.jsx)("sup",{children:"2"})]})})]}),(0,n.jsxs)("div",{className:"d-flex flex-column",children:[(0,n.jsxs)(th.default,{className:`ch-property-list__link  ch-component-${a}__button-${p} ch-button outlined rounded text-center `,href:{pathname:e.brochure.src},target:"_blank",children:[(0,n.jsx)("span",{children:"Download Brochure"}),"  ",(0,n.jsx)("i",{className:"icon-download"})]}),(0,n.jsx)(th.default,{locale:f,className:`ch-property-list__link  ch-component-${a}__button-${p} ch-button rounded filled text-center`,href:e.url.url,target:t?"_blank":"",children:"Enquire Now"})]})]})]}):(0,n.jsxs)("div",{className:`ch-property-list__item ch-component-${a}__bg-${p}`,children:[(0,n.jsxs)("div",{className:`ch-property-list__item--thumb border-top  ch-component-${a}__border-${p}`,children:[(0,n.jsx)("img",{src:e.image.src,alt:e.image.alt,width:e.image.width,height:e.image.height}),e.promoText&&(0,n.jsx)("div",{className:`ch-property-list__item--promo ${e.promoAlignment}`,children:(0,n.jsx)("div",{className:"ch-property-list__item--promo_banner banner",children:(0,n.jsxs)(e6.Typography,{fontWeight:600,children:[e.promoText,e.promoFootnoteSymbol?(0,n.jsx)("sup",{children:e.promoFootnoteSymbol}):null]})})})]}),(0,n.jsxs)("div",{className:"ch-property-list__item--content",children:[(0,n.jsxs)("div",{className:"d-flex border-bottom pb-3",children:[(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"ch-property-list__status-dots",children:(0,n.jsx)("span",{"data-status":e.status,"data-size":"large"})})}),(0,n.jsx)("div",{children:(0,n.jsx)(e6.Typography,{variant:"body1",className:`ch-component ch-component-${a}__label-${p}`,children:e.address})})]}),(0,n.jsxs)("div",{className:"pb-3  border-bottom ch-property-list__item--price",children:[(0,n.jsx)("div",{children:(0,n.jsx)(e6.Typography,{className:`ch-component ch-component-${a}__text-${p}`,children:"Land"})}),(0,n.jsx)("div",{children:(0,n.jsxs)(e6.Typography,{variant:"h5",className:`ch-component ch-component-${a}__text-${p} mb-0`,children:[v.format(e.price),e.priceFootnoteSymbol?(0,n.jsx)("sup",{children:e.priceFootnoteSymbol}):null]})})]}),(0,n.jsxs)("div",{className:"d-flex pb-3 gap-3 flex-grow-1",children:[(0,n.jsx)("div",{children:(0,n.jsxs)(e6.Typography,{className:`ch-component ch-component-${a}__label-${p}`,children:["Frontage ",e.frontage,"m"]})}),(0,n.jsx)("div",{children:(0,n.jsxs)(e6.Typography,{className:`ch-component ch-component-${a}__label-${p}`,children:["Land area ",e.landSize,"m",(0,n.jsx)("sup",{children:"2"})]})})]}),(0,n.jsxs)("div",{className:"d-flex flex-column",children:[(0,n.jsx)(th.default,{className:`ch-property-list__link  ch-component-${a}__button-${p} ch-button outlined rounded text-center `,href:{pathname:e.brochure.src},target:"_blank",children:"View Release Plan"}),(0,n.jsx)(th.default,{locale:f,className:`ch-property-list__link  ch-component-${a}__button-${p} ch-button filled rounded text-center `,href:e.url.url,target:t?"_blank":"",children:"Enquire Now"})]})]})]})},i)):(0,n.jsx)(eZ.Grid,{item:!0,children:"No result found"})})})]})}),j?null:S.result.length>12&&(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${p}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:l?"xl":"auto",className:`ch-property-list__wrap  ${r} ${c}`,children:(0,n.jsx)(eZ.Grid,{item:!0,children:(0,n.jsx)(tU.Pagination,{count:Math.ceil(S.result.length/12),page:y,onChange:(e,t)=>
7{e.preventDefault(),_(t)},color:"primary",size:"small",shape:"rounded"})})})})]})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Property Filter",isEditing:i.mode.isEditing})}],59316);var tW=e.i(59316);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="communityList",{page:i}=(0,U.useSitecore)(),s=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),l="1"===e.params.IsContained,r=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",c=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",[d,m]=(0,o.useState)(null),[h,u]=(0,o.useState)(!1),p=s||t,x=e.fields.ListingPath?.id??i.layout.sitecore.route?.itemId,g=i.locale,f=i.mode.isEditing;return((0,o.useEffect)(()=>{if(!h&&(u(!0),x)){let e=new URLSearchParams({rootId:x||"",endCursor:""});fetch(`/api/getcommunitylist?${e.toString()}`).then(e=>e.json()).then(e=>{m({result:e.result,pageInfo:e.pageInfo}),u(!1)}).catch(e=>{console.log(e),u(!1)})}},[x]),x)?(0,n.jsx)(e2.default,{theme:s,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-community-list",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${p}`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:l?"xl":"auto",className:`ch-community-list__wrap  ${r} ${c}`,children:[(0,n.jsxs)(eZ.Grid,{xs:12,children:[(0,n.jsx)(e6.Typography,{variant:"h3",component:"h3",className:`ch-community-list__title ch-component-${a}__title-${p} mb-0`,children:e.fields.Title?.value}),(0,n.jsx)(tA.Divider,{className:"my-3"})]}),(0,n.jsx)(eZ.Grid,{xs:12,children:f?(0,n.jsx)("div",{children:"Results not available in Experience Editor and Page Editor"}):h?(0,n.jsx)("div",{children:"Loading..."}):(0,n.jsx)(eZ.Grid,{container:!0,spacing:2.5,children:d?.result?.map((e,t)=>(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:6,children:(0,n.jsxs)("div",{className:"ch-community-list__item bg-white",children:[(0,n.jsxs)("div",{className:"ch-community-list__item--header",children:[(0,n.jsx)("div",{children:(0,n.jsx)("img",{src:e.logo.src,alt:e.logo.alt,width:e.logo.width,height:e.logo.height})}),(0,n.jsxs)("div",{className:"d-flex flex-column",children:[(0,n.jsxs)("div",{className:"d-flex justify-content-lg-end",children:[(0,n.jsx)("div",{className:"text-lg-end",children:(0,n.jsx)(e6.Typography,{children:"Land From"})}),(0,n.jsx)("div",{className:"ms-4 text-lg-end ",children:(0,n.jsx)(e6.Typography,{children:e.landPrice})})]}),(0,n.jsxs)("div",{className:"d-flex justify-content-lg-end",children:[(0,n.jsx)("div",{className:"text-lg-end",children:(0,n.jsx)(e6.Typography,{children:"House & Land From"})}),(0,n.jsx)("div",{className:"ms-4 text-lg-end ",children:(0,n.jsx)(e6.Typography,{children:e.houseLandPrice})})]})]})]}),(0,n.jsx)("div",{className:"ch-community-list__item--thumb",children:(0,n.jsx)("img",{src:e.thumbnail.src,alt:e.thumbnail.alt,width:e.thumbnail.width,height:e.thumbnail.height})}),(0,n.jsxs)("div",{className:"ch-community-list__item--content",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(e6.Typography,{variant:"h4",className:"mb-2",children:e.title}),(0,n.jsx)(e6.Typography,{children:e.location})]}),(0,n.jsx)("div",{className:"d-flex flex-grow-1",children:(0,n.jsx)(e6.Typography,{children:e.tagLine})}),(0,n.jsx)("div",{className:"text-end",children:(0,n.jsx)(th.default,{locale:g,className:`ch-community-list__link d-inline-flex  ch-component-${a}__button-${p} ch-button outlined rounded text-center`,href:{pathname:e.url.path},as:e.url.path,children:"Explore Community"})})]})]})},t))})})]})})})}):(0,n.jsx)(tV.DatasourceMissing,{componentName:"Community Listing",isEditing:i.mode.isEditing})}],59875);var tH=e.i(59875),tY=e.i(51643),tq=e.i(70463),tK=e.i(62731);e.s(["Column3",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",tag:"",company:"",sector:"",status:"",region:"",country:"",state:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entr
7ies());h({keyphrase:e.q?.toString()??"",tag:e.tag?.toString()??"",company:e.company?.toString()??"",sector:e.sector?.toString()??"",status:e.status?.toString()??"",region:e.region?.toString()??"",country:e.country?.toString()??"",state:e.state?.toString()??""})};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{container:!0,item:!0,xs:12,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:18,defaultSortType:m.keyphrase?.length>0?"relevance_desc_publishdate_desc":"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultCompany:m.company,defaultTag:m.tag,defaultSector:m.sector,defaultStatus:m.status,defaultRegion:m.region,defaultCountry:m.country,defaultState:m.state,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:"18",PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:tq.ProjectSearchListing3Column,compClass:"projectsearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})},"Column4",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",tag:"",company:"",sector:"",status:"",region:"",country:"",state:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entries());h({keyphrase:e.q?.toString()??"",tag:e.tag?.toString()??"",company:e.company?.toString()??"",sector:e.sector?.toString()??"",status:e.status?.toString()??"",region:e.region?.toString()??"",country:e.country?.toString()??"",state:e.state?.toString()??""})};e();let t=t=>{console.log("Im in"),t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,container:!0,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:16,defaultSortType:m.keyphrase?.length>0?"relevance_desc_publishdate_desc":"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultCompany:m.company,defaultTag:m.tag,defaultSector:m.sector,defaultStatus:m.status,defaultRegion:m.region,defaultCountry:m.country,defaultState:m.state,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:"16",PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:tK.ProjectSearchListing4Column,compClass:"projectsearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})},"Default",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",tag:"",company:"",sector:"",status:"",region:"",country:"",state:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entr
7ies());h({keyphrase:e.q?.toString()??"",tag:e.tag?.toString()??"",company:e.company?.toString()??"",sector:e.sector?.toString()??"",status:e.status?.toString()??"",region:e.region?.toString()??"",country:e.country?.toString()??"",state:e.state?.toString()??""})};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{container:!0,item:!0,xs:12,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:Number(e.fields.ItemsPerPage.value),defaultSortType:m.keyphrase?.length>0?"relevance_desc_publishdate_desc":"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultCompany:m.company,defaultTag:m.tag,defaultSector:m.sector,defaultStatus:m.status,defaultRegion:m.region,defaultCountry:m.country,defaultState:m.state,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:e.fields.ItemsPerPage,PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:tY.ProjectSearchListingDefault,compClass:"projectsearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})}],47907);var tz=e.i(47907);let tJ=e=>(0,n.jsx)(n.Fragment,{children:e.text?(0,n.jsx)("div",{className:"d-flex",children:e.text},e.index):null});e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="projectDetails",i="1"===e.params.IsContained,{page:s}=(0,U.useSitecore)(),r=e?.fields?.data?.datasource,o=s.mode.isEditing,c=(0,e3.getComponentSelectedTheme)(s.siteName,e.params),d=c||t,m=e?.fields?.data?.item?.region?.targetItem?.title?.value?.value,h="",u="",p="",x="";e?.fields?.data?.item?.region?.targetItem?.ancestors?.length==1&&(u=e.fields.data.item.region?.targetItem?.ancestors[0]?.title?.value?.value,p=`${u}/${m}`),e?.fields?.data?.item?.region?.targetItem?.ancestors?.length==2&&(h=m,m=e.fields.data.item.region?.targetItem?.ancestors[0]?.title?.value?.value,u=e.fields.data.item.region?.targetItem?.ancestors[1]?.title?.value?.value,p=`${u}/${m}`,x=`${u}/${m}/${h}`);let g=e?.fields?.data?.item?.client?.value,f=e?.fields?.data?.item?.lPoi_Latitude?.value,j=e?.fields?.data?.item?.lPoi_Longitude?.value,v=e?.fields?.data?.item?.status?.value?.fields?.Title?.value,y=e?.fields?.data?.item?.contractType?.value?.fields?.Title?.value,_=e?.fields?.data?.item?.location?.value,N=e?.fields?.data?.item?.sector?.value,S=e?.fields?.data?.item?.company?.value,T=e?.fields?.data?.item?.expertise?.value,b=e?.fields?.data?.item?.published_Date?.value?.value,C=T?.map((e,t)=>(0,n.jsx)(tJ,{index:t,text:e.fields?.Title?.value},t)),$="";N?.length>0&&($=Array.prototype.map.call(N,function(e){return e.fields?.Title?.value}).join(", "));let k="";S?.length>0&&(k=Array.prototype.map.call(S,function(e){return e.fields?.Title?.value}).join(","));let L="";T?.length>0&&(L=Array.prototype.map.call(T,function(e){return e.fields?.Title?.value}).join(","));let w="";return f?.value&&j?.value&&(w=f.value+","+j.value),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(l.default,{children:[g?.value?(0,n.jsx)("meta",{name:"project:client",content:g.value}):"",v?(0,n.jsx)("meta",{name:"project:status",content:v}):"",y?(0,n.jsx)("meta",{name:"project:contractType",content:y}):"",_?(0,n.jsx)("meta",{name:"project:location",content:_.value}):"",N?.length>0?(0,n.jsx)("meta",{name:"project:sector",content:$}):"",u?(0,n.jsx)("meta",{name:"project:region",content:u}):"",h?(0,n.jsx)("meta",{name:"project:state",content:h}):"",m?(0,n.jsx)("meta",{name:"project:country",content:m}):"",p?(0,n.jsx)("meta",{name:"project:regioncountry",content:p}):"",x?(0,n.jsx)("meta",{name:"project:regioncountrystate",content:x}):"",S?.length>0?(0,n.jsx)("meta",{name:"company",content:k}):"",T?.length>0?(0,n.jsx)("meta",{name:"expertise",content:L}):"",w?(0,n.jsx)("meta",{name:"geolocation",content:w}):"",b&&"0001-01-01T00:00:00Z"!=b?(0,n.jsx)("meta",{name:"publisheddate",content:b}):""]}),(0,n.jsx)(e2.default,{theme:c,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-project-details",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${d}`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:i?"xl":"auto",className:"ch-project-details__wrap",children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(tA.Divider,{})}),(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,spacing:3,columnSpacing:14,mt:3,className:`ch-component-${a}__text-${d}`,children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:3.5,lg:5,children:(0,n.jsx)(e6.Typography,{variant:"h4",children:(0,n.jsx)(eJ.Text,{field:r?.title?.value})})}),(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,xs:!0,alignContent:"flex-start",spacing:3,children:[_?.value||o?(0,n.jsxs)(eZ.Grid,{item:!0,xs:6,md:4,children:[(0,n.jsx)(e6.Typography,{variant:"h6",children:"Location"}),(0,n.jsx)(eJ.Text,{field:_})]}):null,y||o?(0,n.jsxs)(eZ.Grid,{item:!0,xs:6,md:4,children:[(0,n.jsx)(e6.Typography,{variant:"h6",children:"Contract type"}),y]}):null,v||o?(0,n.jsxs)(eZ.Grid,{item:!0,xs:6,md:4,children:[(0,n.jsx)(e6.Typography,{variant:"h6",children:"Status"}),v]}):null,$.length>0||o?(0,n.jsxs)(eZ.Grid,{item:!0,xs:6,md:4,children:[(0,n.jsx)(e6.Typography,{variant:"h6",children:"Sector"}),$]}):null,C.length>0||o?(0,n.jsxs)(eZ.Grid,{item:!0,xs:6,md:4,children:[(0,n.jsx)(e6.Typography,{variant:"h6",children:"Expertise"}),C]}):null,g?.value||o?(0,n.jsxs)(eZ.Grid,{item:!0,xs:6,md:4,children:[(0,n.jsx)(e6.Typography,{variant:"h6",children:"Client"}),(0,n.jsx)(eJ.Text,{field:g})]}):null]})]})]})})})})]})}],73010);
7var tQ=e.i(73010),tX=e.i(55927),tZ=e.i(57054),t0=e.i(88667),t1=e.i(52071);let t2=e=>{let t=[];t[0]=e.Company?.slice(0,1).map(e=>e.fields.Title.value),t[1]=e.Region?.fields?.Title?.value;let a=t.join(" | ");return(0,n.jsxs)("div",{className:"featured-slide__item",children:[(0,n.jsx)("div",{className:"featured-slide__thumb",children:e.isEditing?(0,n.jsx)(tm.Image,{field:e.OpenGraphImageUrl?.value,alt:e.OpenGraphTitle?.value,width:720,height:530}):(0,n.jsx)(th.default,{locale:e.currentLanguage,href:{pathname:e.Url},children:(0,n.jsx)(tm.Image,{field:e.OpenGraphImageUrl?.value,alt:e.OpenGraphTitle?.value,width:720,height:530})})}),(0,n.jsxs)("div",{className:"featured-slide__content",children:[(0,n.jsx)("div",{className:"featured-slide__tags",children:(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",className:`ch-component-${e.compClass}__text-${e.themeName}`,children:a})}),(0,n.jsx)("div",{children:(0,n.jsx)(th.default,{locale:e.currentLanguage,className:`ch-component-${e.compClass}__title-${e.themeName} featured-slide__link`,href:{pathname:e.Url},children:(0,n.jsx)(e6.Typography,{variant:"h5",component:"h5",children:e.OpenGraphTitle?.value?e.OpenGraphTitle?.value:e.Title?.value})})})]})]})},t3=e=>{let t=(0,tZ.useTheme)(),a=(0,tX.useMediaQuery)(t.breakpoints.up("lg")),i=(0,tX.useMediaQuery)(t.breakpoints.between("md","lg")),s=(0,o.useRef)(null),l=(0,t1.default)(),r={dots:!1,prevArrow:(0,n.jsx)(e=>{let{className:t,onClick:a,compClass:i,themeName:s}=e;return(0,n.jsx)("div",{className:`${t} ch-component-${i}__title-${s}`,onClick:a,children:"Prev"})},{compClass:e.compClass,themeName:e.themeName}),nextArrow:(0,n.jsx)(e=>{let{className:t,onClick:a,compClass:i,themeName:s}=e;return(0,n.jsx)("div",{className:`${t} ch-component-${i}__title-${s}`,onClick:a,children:"Next"})},{compClass:e.compClass,themeName:e.themeName}),slidesToShow:a?3.5:i?2.5:1.5,slidesToScroll:1,infinite:!1};if(e.items&&e.items.length>0){let t=`featured-slide ${e.items.length>
7(a?3:i?2:1)?"infinite":""}`;return(0,n.jsx)("div",{"data-portrait":l,children:(0,n.jsx)(t0.default,{...r,ref:s,className:t,children:e.items.map((t,a)=>(0,n.jsx)(t2,{Title:t.fields.Title,Url:t.url,Company:t.fields.Company,Region:t.fields.Region,OpenGraphTitle:t.fields.OpenGraphTitle,OpenGraphImageUrl:t.fields.OpenGraphImageUrl,compClass:e.compClass,themeName:e.themeName,isEditing:e.isEditing,currentLanguage:e.currentLanguage},a))})})}return(0,n.jsx)(n.Fragment,{})};e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="projectList",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",r=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",o=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),c=o||t,d=i.mode.isEditing,m=i.locale;if(e?.fields){let t=e?.fields?.SelectedProjects;return(0,n.jsx)(e2.default,{theme:o,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-featured-items-list",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${c}`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-featured-items-list__wrap  ${l} ${r}`,children:[(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,xs:12,justifyContent:{md:"space-between"},columnSpacing:3,alignItems:"center",flexWrap:{xs:"wrap",md:"nowrap"},children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,container:!0,maxWidth:"xl",justifyContent:{xs:"center",md:"start"},mb:{xs:3,md:0},flexGrow:{xs:0,md:1},children:(0,n.jsx)(e6.Typography,{variant:"h4",component:"h4",textAlign:{xs:"center",md:"start"},className:`ch-featured-items-list__title ch-component-${a}__title-${c} mb-0`,children:(0,n.jsx)(eJ.Text,{field:e.fields.Title})})}),d?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(ez.Link,{field:e.fields.ViewMore,className:`ch-featured-items-list__link  ch-component-${a}__link-${c} arrow`})}):e.fields.ViewMore?.value?.text?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(th.default,{locale:m,className:`ch-featured-items-list__link  ch-component-${a}__link-${c} arrow`,href:{pathname:e.fields.ViewMore?.value?.href},target:e.fields.ViewMore?.value?.target,children:e.fields.ViewMore?.value?.text})}):null]}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(tA.Divider,{})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(t3,{items:t,isEditing:i.mode.isEditing,compClass:a,themeName:c,currentLanguage:m})})]})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Feature Project - Manual",isEditing:i.mode.isEditing})}],83768);var t4=e.i(83768),t6=e.i(62452),t5=e.i(69656);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="featureproject",i="1"===e.params.IsContained,s=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",l=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:r}=(0,U.useSitecore)(),o=(0,e3.getComponentSelectedTheme)(r.siteName,e.params),c=o||t,{latitude:d,longitude:m,permissionDenied:h}=(0,t5.useGeolocation)(),u=r.mode.isEditing,p=r.locale;return(0,n.jsx)(e2.default,{theme:o,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-featured-items-list",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${c}`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:i?"xl":"auto",className:`ch-featured-items-list__wrap  ${s} ${l}`,children:[(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,xs:12,justifyContent:{md:"space-between"},columnSpacing:3,alignItems:"center",flexWrap:{xs:"wrap",md:"nowrap"},children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,container:!0,maxWidth:"xl",justifyContent:{xs:"center",md:"start"},mb:{xs:3,md:0},flexGrow:{xs:0,md:1},children:(0,n.jsx)(e6.Typography,{variant:"h4",component:"h4",textAlign:{xs:"center",md:"start"},className:`ch-featured-items-list__title ch-component-${a}__title-${c} mb-0`,children:(0,n.jsx)(eJ.Text,{field:e.fields.Title})})}),u?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(ez.Link,{field:e.fields.ViewMore,className:`ch-featured-items-list__link  ch-component-${a}
7__link-${c} arrow`})}):e.fields.ViewMore?.value?.text?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(th.default,{locale:p,className:`ch-featured-items-list__link  ch-component-${a}__link-${c} arrow`,href:{pathname:e.fields.ViewMore?.value?.href},target:e.fields.ViewMore?.value?.target,children:e.fields.ViewMore?.value?.text})}):null]}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(tA.Divider,{})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:null===d||null===m||h?(0,n.jsx)(tP.default,{rfkId:"results_project_date",defaultItemsPerPage:Number(e.fields.NoOfRecords),defaultSortType:"publisheddate_desc",defaultPage:1,defaultKeyphrase:"",ContentTypeFilters:"type=Projects",NoOfRecords:e.fields.NoOfRecords,ViewMore:e.fields.ViewMore,Title:e.fields.Title,Site:r.siteName,Distance:e.fields.Distance,ListingComponent:t6.GeoFeatureProjectListing,compClass:a,themeName:c},"project-search"):(0,n.jsx)(tG.default,{rfkId:"results_project",defaultItemsPerPage:Number(e.fields.NoOfRecords),defaultSortType:"relevance_desc",defaultPage:1,defaultKeyphrase:"",ContentTypeFilters:"type=Projects",NoOfRecords:e.fields.NoOfRecords,ViewMore:e.fields.ViewMore,Title:e.fields.Title,Site:r.siteName,Distance:e.fields.Distance,Lat:Number(d),Lng:Number(m),ListingComponent:t6.GeoFeatureProjectListing,compClass:a,themeName:c},"project-search")})]})})})})}],25406);var t7=e.i(25406),t8=e.i(25292),t9=e.i(30019);e.s(["BrandMoment",0,e=>{let t=(0,e5.useThemeName)(),a="titleTextLink",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=i.mode.isEditing,r=i.locale,o=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",c=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";if(e.fields){let d=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),m=d||t;return(0,n.jsx)(e2.default,{theme:d,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-title-link brand-moment",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${m}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-title-link__wrap  ${o} ${c}`,children:(0,n.jsxs)(eZ.Grid,{item:!0,xs:!0,container:!0,rowSpacing:5,wrap:"wrap",children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"span",className:`ch-title-link__title ch-component-${a}__label-${m}`,children:(0,n.jsx)(eJ.Text,{field:e.fields.Title})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(e6.Typography,{variant:"h2",className:`ch-title-link__title-link mb-0 ch-component-${a}__title-${m}`,children:l?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ez.Link,{field:e.fields.Link,className:`ch-component-${a}__link-${m} ch-rich-text`}),(0,n.jsx)(e1.RichText,{field:e.fields.Description})]}):e.fields.Link?.value?.href?(0,n.jsx)(th.default,{locale:r,className:`ch-component-${a}__link-${m}`,href:{pathname:e.fields.Link?.value.href},target:e.fields.Link?.value.target,as:e.fields.Link?.value?.linktype=="internal"?e.fields.Link?.value?.href&&e.fields.Link?.value?.href+e.fields.Link?.value?.querystring:e.fields.Link?.value?.href&&e.fields.Link?.value?.href,children:(0,n.jsx)(e1.RichText,{field:e.fields.Description})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e1.RichText,{field:e.fields.Description})})})})]})})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"TitleTextLink",isEditing:i.mode.isEditing})},"Default",0,e=>{let t=(0,e5.useThemeName)(),a="titleTextLink",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l="1"===e.params.H1Title?"h1":"span",r=i.mode.isEditing,o=i.locale,c=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",d=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";if(e.fields){let m=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),h=m||t;return(0,n.jsx)(e2.default,{theme:m,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-title-link",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${h}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-title-link__wrap  ${c} ${d}`,children:(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,columnSpacing:14,children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:11,md:!0,children:(0,n.jsx)(e6.Typography,{variant:"h3",component:l,className:`ch-title-link__title ch-component-${a}__title-${h} mb-lg-0`,children:(0,n.jsx)(eJ.Text,{field:e.fields.Title})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:11,lg:6.5,container:!0,alignContent:"start",direction:"column",marginRight:{lg:12},children:(0,n.jsxs)("div",{className:"d-flex flex-column w-100",children:[(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-title-link__text ch-component-${a}__text-${h} ch-rich-text`,children:(0,n.jsx)(e1.RichText,{field:e.fields.Description})}),r?(0,n.jsx)("div",{className:"d-inline-flex",children:(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",children:(0,n.jsx)(ez.Link,{field:e.fields.Link,className:`ch-title-link__link  ch-component-${a}__link-${h} arrow`})})}
7):e.fields.Link?.value?.href?(0,n.jsx)("div",{className:"d-inline-flex",children:(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",children:(0,n.jsx)(th.default,{locale:o,className:`ch-title-link__link  ch-component-${a}__link-${h} arrow`,href:{pathname:e.fields.Link?.value.href},target:e.fields.Link?.value?.target,as:e.fields.Link?.value?.linktype=="internal"?e.fields.Link?.value?.href&&e.fields.Link?.value?.href+e.fields.Link?.value?.querystring:e.fields.Link?.value?.href&&e.fields.Link?.value?.href,children:e.fields.Link?.value.text})})}):null]})})]})})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"TitleTextLink",isEditing:i.mode.isEditing})},"Description",0,e=>{let t=(0,e5.useThemeName)(),a="titleTextLink",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",r=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";if(e.fields){let o=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),c=o||t;return(0,n.jsx)(e2.default,{theme:o,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-title-link",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${c}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-title-link__wrap  ${l} ${r}`,justifyContent:"center",children:(0,n.jsx)(eZ.Grid,{item:!0,sm:6,marginX:"auto",children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-component-${a}__text-${c} ch-rich-text`,children:(0,n.jsx)(e1.RichText,{field:e.fields.Description})})})})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"TitleTextLink",isEditing:i.mode.isEditing})}],97794);var ae=e.i(97794);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="titleTextLink",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",r=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",o="1"===e.params.H1Title?"h1":"span";if(i.layout.sitecore.route?.fields){let c=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),d=c||t;return(0,n.jsx)(e2.default,{theme:c,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-title-link",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${d}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-title-link__wrap  ${l} ${r}`,children:(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,columnSpacing:14,children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:11,md:6,lg:5,children:(0,n.jsx)(e6.Typography,{variant:"h3",component:o,className:`ch-title-link__title ch-component-${a}__title-${d} mb-lg-0`,children:(0,n.jsx)(eJ.Text,{field:i.layout.sitecore.route?.fields?.Title})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:11,lg:7,container:!0,alignContent:"start",direction:"column",children:(0,n.jsx)("div",{className:"d-flex flex-column w-100",children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-title-link__text ch-component-${a}__text-${d} ch-rich-text`,children:(0,n.jsx)(e1.RichText,{field:i.layout.sitecore.route?.fields?.Content})})})})]})})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Title Page Content",isEditing:i.mode.isEditing})}],82457);var at=e.i(82457),aa=e.i(37164);let ai=e=>e.items&&e.items.length>0?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(aa.default,{...{pauseOnHover:!0,speed:200},children:e.items.map((t,a)=>(0,n.jsx)("div",{className:`ch-component-${e.compClass}__text-${e.themeName} d-flex mx-3`,children:(0,n.jsx)(e6.Typography,{variant:"h1",component:"h1",children:t.link?.value.value.href?(0,n.jsx)(th.default,{locale:e.currentLanguage,className:`ch-component-${e.compClass}__link-${e.themeName} m-0`,href:{pathname:t.link?.value.value.href},target:t.link?.value?.value?.target,as:t.link?.value?.value.linktype=="internal"?t.link?.value?.value?.href&&t.link?.value.value?.href+t.link?.value?.value?.querystring:t.link?.value.value?.href&&t.link?.value.value?.href,children:(0,n.jsx)("span",{children:t.title?.value.value})}):(0,n.jsx)("span",{className:`ch-component-${e.compClass}__link-${e.themeName} m-0`,children:(0,n.jsx)("span",{children:t.title?.value.value})})})},a))}),e.isEditing?(0,n.jsx)("ul",{children:e.items.map((t,a)=>(0,n.jsx)("li",{children:(0,n.jsx)(ez.Link,{field:t.link?.value,className:`ch-component-${e.compClass}__link-${e.themeName} m-0`,children:(0,n.jsx)(eJ.Text,{field:t.title?.value})})},a))}):null]}):(0,n.jsx)(n.Fragment,{});e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="ticker",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",r=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";if(e.fields?.data?.datasource){let o=e.fields?.data?.datasource,c=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),d=c||t,m=i.locale;return(0,n.jsx)(e2.default,{theme:c,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-ticker",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${d}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-ticker__wrap  ${l} ${r}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:!0,children:(0,n.jsx)(ai,{items:o?.children?.results,isEditing:i.mode.isEditing,compClass:a,themeName:d,isContained:s,currentLanguage:m})})})})})})}return i.mode.isEditing?(0,n.jsx)("span",{className:"is-empty-hint",children:"Ticker"}):(0,n.jsx)(tV.DatasourceMissing,{componentName:"Ticker",isEditing:i.mode.isEditing})}],78418);var as=e.i(78418),an=e.i(4927);let al=e=>(0,n.jsx)(n.Fragment,{children:e.text?(0,n.jsx)(th.default,{href:`/global-search?tag=${e.text}`,locale:e.currentLanguage,className:`ch-tags-list__tag ch-component ch-component-${e.compClass}__button-${e.themeName}`,children:(0,n.jsx)(e6.Typography,{variant:"body1",children:e.text})}):null}),ar=e=>(0,n.jsx)(n.Fragment,{children:e.text?(0,n.jsx)(th.default,{href:`/global-search?company=${e.text}`,locale:e.currentLanguage,className:`ch-tags-list__tag ch-component ch-component-${e.compClass}__button-${e.themeName}`,children:(0,n.jsx)(e6.Typography,{variant:"body1",children:e.text})}):null});e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="tagsList",{page:i}=(0,U.useSitecore)(),s=i.layout.sitecore.route?.fields,l=i.layout.sitecore.route?.templateName,r=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),o=r||t,c=e.params?.IsContained==="1",d=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",m=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",h=i.locale,u=s?.Published_Date?.value;if(s){let t=s?.SxaTags,p=s?.Company,x=t?.map((e,t)=>(0,n.jsx)(al,{isEditing:i.mode.isEditing,text:e.fields.Title.value,themeName:o,compClass:a,currentLanguage:h},t)),g=p?.map((e,t)=>(0,n.jsx)(ar,{isEditing:i.mode.isEditing,text:e.fields.Title.value,themeName:o,compClass:a,currentLanguage:h},t));return(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-tags-list",children:(0,n.jsx)("div",{children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:c?"xl":"auto",className:`ch-tags-list__wrap  ${d} ${m}`,children:(0,n.jsxs)(eZ.Grid,{item:!0,xs:12,alignItems:"center",justifyContent:"space-between",container:!0,children:[(0,n.jsxs)(eZ.Grid,{item:!0,xs:!0,gap:2,container:!0,children:[x," ",g]}),"News Detail Page"==l&&u?(0,n.jsx)(eZ.Grid,{item:!0,children:(0,an.default)(u).format("DD MMMM YYYY")}):null]})})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Tags",isEditing:i.mode.isEditing})}],10374);var ao=e.i(10374),ac=e.i(28038),ad=e.i(73710);function am(e){let{children:t,index:a,value:i}=e;return(0,n.jsx)("div",{hidden:i!==a,id:`simple-tabpanel-${a}`,role:"tabpanel",children:i===a&&(0,n.jsx)("div",{children:(0,n.jsx)(e6.Typography,{component:"div",children:t})})})}e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a=e.fields?.data?.datasource,{page:i}=(0,U.useSitecore)(),s=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),l=s||t,[r,c]=(0,o.useState)(0),d=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",m=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";return((0,o.useEffect)(()=>{c(0)},[]),a)?(0,n.jsx)(e2.default,{theme:s,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-tab",children:(0,n.jsx)("div",{className:`ch-component ch-component-tab__bg-${l}`,children:(0,n.jsx)("div",{className:`ch-tab__wrap  ${d} ${m}`,children:(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,columnSpacing:14,children:[(0,n.jsx)(eZ.Grid,{item:!0,className:"ch-tab__header",children:(0,n.jsx)(e6.Typography,{variant:"h3",className:`ch-tab__title
8                                        ch-component-tab__border-bottom-${l}
9                                        ch-tab__title-border
10                                        ch-component-tab__title-${l}`,children:(0,n.jsx)(eJ.Text,{field:a.title?.value})})}),(0,n.jsxs)(eZ.Grid,{item:!0,mt:{xs:3,lg:5},className:"ch-tab__items-wrap",children:[(0,n.jsx)(eZ.Grid,{item:!0,container:!0,justifyContent:"center",className:"ch-tab__navigation-wrap",children:a.tabSections?.results.length>0&&(0,n.jsx)(ac.Tabs,{className:"ch-tab__navigation-items",value:r,variant:"scrollable",onCh
10ange:(e,t)=>{c(t)},TabIndicatorProps:{sx:{height:"4px"}},children:a.tabSections?.results.map((e,t)=>(0,n.jsx)(ad.Tab,{label:e.title?.value?.value,value:t,sx:{textTransform:"none",fontSize:"1rem"}},t))})}),(0,n.jsx)("div",{className:"ch-tab__panel-wrap",children:a.tabSections?.results.map((e,t)=>(0,n.jsxs)(am,{index:t,value:r,children:[i.mode.isEditing?(0,n.jsx)(tm.Image,{field:e.image?.value,alt:e.title.value?.value??"",width:640,height:290}):e.image.value?.value?.src?(0,n.jsx)(tm.Image,{field:e.image?.value,alt:e.title.value?.value??"",className:"ch-tab__panel-image",width:640,height:290}):null,(0,n.jsx)("div",{className:"ch-tab__content-list",children:e?.tabSectionsLegend?.results?.length>0&&e?.tabSectionsLegend?.results?.map((e,t)=>(0,n.jsxs)("div",{className:"ch-tab__content-list-item",children:[(0,n.jsxs)("div",{className:"ch-tab__content-label",children:[(0,n.jsx)("div",{className:"ch-tab__content-number",children:(0,n.jsx)(eJ.Text,{field:e.number?.value})}),(0,n.jsx)("div",{className:"ch-tab__content-name",children:(0,n.jsx)(eJ.Text,{field:e.label?.value})})]}),(0,n.jsx)("div",{className:"ch-tab__content-distance",children:(0,n.jsx)(eJ.Text,{field:e.distance?.value})})]},t))})]},t))})]})]})})})})}):(0,n.jsx)(tV.DatasourceMissing,{componentName:"Tab",isEditing:i.mode.isEditing})}],61921);var ah=e.i(61921);let au=e=>(0,n.jsx)(eZ.Grid,{item:!0,xs:6,container:!0,justifyContent:{lg:"end"},children:(0,n.jsxs)("div",{className:"text-start text-lg-end",children:[(0,n.jsx)(e6.Typography,{variant:"h2",className:`ch-stats__stats ch-component-${e.compClass}__title-${e.themeName}`,children:(0,n.jsx)(eJ.Text,{field:e.numbers})}),(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",className:`ch-stats__label ch-component-${e.compClass}__text-${e.themeName}`,children:(0,n.jsx)(eJ.Text,{field:e.label})})]})});e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="stats",i=e.fields?.data?.datasource,{page:s}=(0,U.useSitecore)(),l="1"===e.params.IsContained,r=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",o=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",c=(0,e3.getComponentSelectedTheme)(s.siteName,e.params),d=c||t,m=s.mode.isEditing,h=s.locale;if(i){let t=i.statsItems?.results.map((e,t)=>(0,n.jsx)(au,{numbers:e.numbers?.value,label:e.label?.value,compClass:a,themeName:d},t));return(0,n.jsx)(e2.default,{theme:c,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-stats",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${d}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:l?"xl":"auto",className:`ch-stats__wrap  ${r} ${o}`,children:(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,columnSpacing:14,children:[(0,n.jsxs)(eZ.Grid,{item:!0,sm:10,lg:4,container:!0,alignContent:"center",children:[(0,n.jsx)(e6.Typography,{variant:"h3",className:`ch-stats__title ch-component-${a}__title-${d}`,children:(0,n.jsx)(eJ.Text,{field:i.title.value})}),(0,n.jsxs)("div",{className:"d-flex flex-column w-100",children:[(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-stats__text ch-component-${a}__text-${d} ch-rich-text`,children:(0,n.jsx)(e1.RichText,{field:i.description.value})}),m?(0,n.jsx)("div",{className:"d-inline-flex",children:(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",children:(0,n.jsx)(ez.Link,{field:i.link.value,className:`ch-stats__link arrow ch-component-${a}__link-${d}`})})}):i.link.value?.value?.text?(0,n.jsx)("div",{className:"d-inline-flex",children:(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",children:(0,n.jsx)(th.default,{locale:h,className:`ch-stats__link arrow ch-component-${a}__link-${d}`,href:{pathname:i.link.value?.value?.href},target:i.link.value?.value?.target,children:i.link.value?.value?.text})})}):null]})]}),(0,n.jsx)(eZ.Grid,{item:!0,xs:!0,sm:12,lg:!0,container:!0,alignItems:"center",mt:{xs:3,lg:0},children:(0,n.jsx)(eZ.Grid,{container:!0,spacing:5,children:t})})]})})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Stats",isEditing:s.mode.isEditing})}],75922);var ap=e.i(75922);let ax=e=>(0,n.jsx)(e6.Typography,{variant:"body1",children:(0,n.jsx)("a",{href:e.link?.value,target:"_blank",className:`ch-component-${e.compClass}__link-${e.themeName} px-3 text-decoration-none`,children:e.socialType?e.socialType:e.label?.value})}),ag=e=>(0,n.jsx)("div",{className:`d-flex  ch-social__icons ch-component-${e.compClass}__link`,children:(0,n.jsx)("a",{href:e.link?.value,target:"_blank",className:"d-block",children:(0,n.jsx)("i",{title:e.socialType?.toLowerCase(),className:`icon-${e.socialType?.toLowerCase()}`})})});e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="social",i=e.fields?.data?.datasource,s=e.params.RenderingIdentifier,{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),o=r||t;if(i){let t=i?.socialItems?.results.map((e,t)=>(0,n.jsx)(ax,{socialType:e.socialType?.targetItem?.value,link:e.link?.value,label:e.label?.value,compClass:a,themeName:o},t));return(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("div",{className:"row ch-social",children:(0,n.jsx)("div",{className:`ch-component-${a}__bg-${o}`,children:(0,n.jsx)("div",{className:"d-flex justify-content-center",children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:"xl",justifyContent:{xs:"center",lg:"between"},alignItems:"center",className:"ch-social__wrap",children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:!0,display:{xs:"none",lg:"flex"},children:(0,n.jsx)(td.default,{compClass:a,themeName:o})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:!0,children:(0,n.jsx)("div",{className:"ch-social__items",id:s||void 0,children:t})})]})})})})})}return(0,n.jsx)(n.Fragment,{})},"Footer",0,e=>{let t=(0,e5.useThemeName)(),a=e.fields?.data?.datasource,{page:i}=(0,U.useSitecore)(),s=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),l=s||t;if(a){let t=a?.socialItems?.results.map((e,t)=>(0,n.jsx)(ag,{socialType:e.socialType?.targetItem?.value,link:e.link?.value,label:e.label?.value,compClass:"social",themeName:l},t));return(0,n.jsx)(e2.default,{theme:s,keyval:e.rendering.uid,children:(0,n.jsx)("div",{className:"ch-social",children:(0,n.jsx)("div",{className:"component-content d-flex",children:t})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Social",isEditing:i.mode.isEditing})}],82064);var af=e.i(82064);let aj=e=>(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:6,lg:4,container:!0,justifyContent:{lg:"start"},children:(0,n.jsxs)("div",{className:"text-start text-lg-start d-flex",children:[(0,n.jsx)("div",{className:`ch-lifestyle__icons ch-component-${e.compClass}__title-${e.themeName} d-flex`,children:(0,n.jsx)("i",{title:e.lifestyleType?.toLowerCase(),className:`icon-${e.lifestyleType?.toLowerCase()}`})}),(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",className:`ch-lifestyle__label ch-component-${e.compClass}__text-${e.themeName}`,children:(0,n.jsx)(e1.RichText,{field:e.descriptions})})]})});e.s(["Default",0,e=>
10{let t=(0,e5.useThemeName)(),a="lifestyle",i=e.fields?.data?.datasource,{page:s}=(0,U.useSitecore)(),l="1"===e.params.IsContained,r=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",o=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",c=(0,e3.getComponentSelectedTheme)(s.siteName,e.params),d=c||t;if(i){let t=i.lifestyleItems?.results.map((e,t)=>(0,n.jsx)(aj,{descriptions:e.description.value,lifestyleType:e.lifestyleType?.targetItem?.value,compClass:a,themeName:d},t));return(0,n.jsx)(e2.default,{theme:c,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-lifestyle",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${d}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:l?"xl":"auto",className:`ch-lifestyle__wrap ${r} ${o}`,children:(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,columnSpacing:14,children:[(0,n.jsx)(eZ.Grid,{item:!0,sm:10,md:4,lg:5,container:!0,alignContent:"left",children:(0,n.jsx)(e6.Typography,{variant:"h3",className:`ch-lifestyle__title ch-component-${a}__text-${d}`,children:(0,n.jsx)(eJ.Text,{field:i.title?.value})})}),(0,n.jsx)(eZ.Grid,{className:"ch-lifestyle__item",item:!0,xs:!0,sm:12,md:8,lg:7,container:!0,alignItems:"center",mt:{xs:3,lg:0},children:(0,n.jsx)(eZ.Grid,{container:!0,spacing:5,children:t})})]})})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Lifestyle",isEditing:s.mode.isEditing})}],18474);var av=e.i(18474),ay=e.i(80395);let a_=e=>{let t=(0,ay.default)(),{page:a}=(0,U.useSitecore)(),i=a.locale;return e.items&&e.items.length>0?(0,n.jsx)(eZ.Grid,{item:!0,container:!0,spacing:2.5*(e.items.length>1),children:e.items.map((a,s)=>(0,n.jsxs)(eZ.Grid,{item:!0,xs:12,md:t[e.col],children:[(0,n.jsx)("div",{className:`ch-image-card-list__image ${12===t[e.col]?"full":""}`,children:e.isEditing?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{children:(0,n.jsx)(tm.Image,{field:a.image?.value,alt:a.image?.value.value?.src??"",width:12===t[e.col]?1280:720,height:12===t[e.col]?720:530})}),(0,n.jsxs)("div",{children:["Link : ",(0,n.jsx)(ez.Link,{field:a.link?.value})]})]}):a.link?.value?.value?.href?(0,n.jsx)(th.default,{locale:i,href:{pathname:a.link?.value?.value?.href},target:a.link?.value?.value?.target,as:a.link?.value?.value.linktype=="internal"?a.link?.value?.value?.href&&a.link?.value.value?.href+a.link?.value?.value?.querystring:a.link?.value.value?.href&&a.link?.value.value?.href,children:(0,n.jsx)(tm.Image,{field:a.image?.value,alt:a.image?.value.value?.src??"",width:12===t[e.col]?1280:720,height:12===t[e.col]?720:530})}):(0,n.jsx)(tm.Image,{field:a.image?.value,alt:a.image?.value.value?.src??"",width:12===t[e.col]?1280:720,height:12===t[e.col]?720:530})}),(0,n.jsx)("div",{className:`ch-image-card-list__text ch-component-${e.compClass}__text-${e.themeName}`,children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:"ch-rich-text",children:(0,n.jsx)(e1.RichText,{field:a.subTitle?.value})})})]},s))}):(0,n.jsx)(n.Fragment,{})};e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="imageCardList",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",r=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";if(e.fields?.data?.datasource){let o=e.fields.data.datasource,c=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),d=c||t,m=e.fields?.data?.datasource?.column?.value||1;return(0,n.jsx)(e2.default,{theme:c,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:`ch-image-card-list ${!s&&1==m?"no-padding":""}`,children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${d}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-image-card-list__wrap  ${l} ${r}`,children:(0,n.jsx)(a_,{items:o.children?.results,isEditing:i.mode.isEditing,col:m,compClass:a,themeName:d,isContained:s})})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Image Card List",isEditing:i.mode.isEditing})}],65731);var aN=e.i(65731);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),{page:a}=(0,U.useSitecore)(),i="1"===e.params.IsContained,s=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",l=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";if(e.fields){let r=(0,e3.getComponentSelectedTheme)(a.siteName,e.params),o=r||t;return(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-title-link",children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:i?"xl":"auto",className:`ch-title-link__wrap  ${s} ${l}`,children:[a.mode.isEditing?(0,n.jsxs)("div",{children:["iframe Url: ",(0,n.jsx)(ez.Link,{field:e?.fields?.Link}),(0,n.jsx)("br",{}),(0,n.jsx)("br",{})]}):null,(0,n.jsx)("div",{className:`ch-component ch-component-iframe__bg-${o}`,children:(0,n.jsx)("iframe",{width:752,height:1e3,src:e?.fields?.Link?.value?.href})})]})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"iFrame",isEditing:a.mode.isEditing})}],91216);var aS=e.i(91216),aT=e.i(61169),ab=e.i(20606),aC=e.i(30359);let a$=e=>{let t=(0,o.useId)(),a=e.slide.video?.value?.value.length>0,i=(0,n.jsx)(tm.Image,{field:e.slide.image?.value,alt:e.slide.title?.value.value,width:1680,height:360}),s=e.slide.image?.value.value?.src?(0,n.jsx)(tm.Image,{field:e.slide.image?.value,alt:e.slide.title?.value.value,width:1680,height:360}):null,l=(0,n.jsx)(n.Fragment,{});if(a){let a=e.slide.video.value.value,i=(0,aT.IsVimeo)(a)?(0,n.jsx)(t9.default,{url:a,id:t}):(0,n.jsx)(t8.default,{id:t,url:a});l=(0,n.jsx)(n.Fragment,{children:i})}return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:`${!e.isEditing?"media-content":""} w-100`,children:[e.isEditing?i:s,e.isEditing?"":l]})})},ak=e=>{let t=(0,o.useRef)(null),a=e.language,[i,s]=(0,o.useState)(0),[l,r]=(0,o.useState)(0),[c,d]=(0,o.useState)(e.automatic),m=(0,t1.default)(),h=(0,tZ.useTheme)(),u=(0,tX.useMediaQuery)(h.breakpoints.down("md")),[p,x]=(0,o.useState)(!1),g=(0,ep.useRouter)();(0,o.useEffect)(()=>{x(!1)},[g]);let f=()=>{t.current&&t.current.slickNext()},j=()=>{t.current&&t.current.slickPrev()},v=e=>{r(e.touches[0].clientX)},y=e=>{let t=e.changedTouches[0].clientX-l;t>100?j():t<-100&&f()},_=()=>{t.current?.slickPlay(),d(!0)},N=()=>{t.current?.slickPause(),d(!1)};if(e.slides&&e.slides.length>0){let l=e.slides.length,r={dots:!1,arrows:!1,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,autoplay:e.automatic,autoplaySpeed:e.interval,afterChange:e=>{s(e)}};return(0,n.jsx)("div",{"data-portrait":m,children:(0,n.jsx)(t0.default,{...r,ref:t,children:e.slides.map((s,r)=>(0,n.jsxs)("div",{className:`ch-hero-carousel--slide ch-component-${e.compClass}__bg-${e.themeName}`,onTouchStart:v,onTouchEnd:y,children:[(0,n.jsxs)("div",{className:"ch-hero-carousel--slide__container",children:[(0,n.jsx)("div",{className:"ch-hero-carousel--slide__title ch-hero-carousel--slide__forms",children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:"xl",className:"ch-hero-carousel--slide__wrap h-100 mx-auto",columnGap:7,children:[(0,n.jsx)(eZ.Grid,{item:!0,md:u?12:8,className:"h-100",container:!0,children:(0,n.jsxs)("div",{className:"ch-hero-carousel--slide__text mt-auto",children:[e.isEditing?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{children:["Video Url:"," ",(0,n.jsx)(eJ.Text,{field:s.video.value}),(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"Please use Preview button above to preview the video slides"]}),(0,n.jsxs)("div",{children:["JotForm Link :"," ",(0,n.jsx)(eJ.Text,{field:s.formLink.value})]})]}):null,(0,n.jsx)(e6.Typography,{variant:"h2",className:`ch-component-${e.compClass}__title-${e.themeName}`,children:(0,n.jsx)(eJ.Text,{field:s.title.value})}),(0,n.jsx)("div",{children:e.isEditing?(0,n.jsx)("span",{className:`ch-hero-carousel--slide__button ch-component-${e.compClass}__button-${e.themeName} ch-button outlined rounded`,children:(0,n.jsx)(ez.Link,{field:s.link?.value})}):(0,n.jsx)(n.Fragment,{children:s.link?.value?.value?.href?(0,n.jsx)(th.default,{locale:a,className:`ch-hero-carousel--slide__button ch-component-${e.compClass}__button-${e.themeName} ch-button outlined rounded`,href:{pathname:s.link?.value?.value?.href},target:s.link?.value?.value?.target,as:s.link?.value?.value.linktype=="internal"?s.link?.value?.value?.href&&s.link?.value.value?.href+s.link?.value?.value?.querystring:s.link?.value.value?.href&&s.link?.value.value?.href,children:s.link?.value?.value?.text}):(0,n.jsx)(n.Fragment,{})})}),e.slides.length>1?(0,n.jsxs)("div",{className:`ch-hero-carousel--slide__controls ch-component-${e.compClass}__text-${e.themeName}`,children:[(0,n.jsx)("div",{className:"ch-hero-carousel--slide__controls--info",children:`${i+1} of ${l}`}),(0,n.jsxs)("div",{className:"ch-hero-carousel--slide__controls--arrows",children:[(0,n.jsx)("i",{className:"icon-arrow-big-tail-left icon",onClick:j}),c?(0,n.jsx)("i",{className:"icon-pause icon",onClick:N}):(0,n.jsx)("i",{className:"icon-play icon",onClick:_}),(0,n.jsx)("i",{className:"icon-arrow-big-tail-right icon",onClick:f})]})]}):null]})}),!u&&s?.formLink.value.value&&(0,n.jsx)(eZ.Grid,{item:!0,md:!0,container:!0,className:"h-100",justifyContent:"center",children:(0,n.jsx)("div",{className:"ch-hero-carousel--slide__form-wrap my-auto",children:(0,n.jsx)(ab.default,{formURL:s?.formLink.value.value,initialHeight:300,autoResize:!0,heightOffset:0})})})]})}),(0,n.jsx)(a$,{isEditing:e.isEditing,slide:s,index:r,sliderRef:t})]}),s?.formLink?.value?.value&&(0,n.jsx)("div",{className:"ch-hero-carousel--slide__form-wrap--mobile",children:(0,n.jsxs)("div",{className:`ch-button__cta--mobile border-bottom
11                                    ch-component-${e.compClass}__bg-${e.themeName}
12                                    `,onClick:()=>x(!p),children:["Get in Touch",p?(0,n.jsx)("i",{className:`icon-chevron-up
13                                            ch-component-${e.compClass}__title-${e.themeName}`}):(0,n.jsx)("i",{className:`icon-chevron-down
14                                                ch-component-${e.compClass}__title-${e.themeName}`}),(0,n.jsx)("div",{className:`
15                                            ch-hero-carousel--slide__jotform--mobile
16                                            ${p?"open":""}
17                                        `,children:(0,n.jsx)(ab.default,{formURL:s.formLink.value.value,autoResize:!0,heightOffset:0})})]})})]},r))})})}return(0,n.jsx)(n.Fragment,{})},aL=e=>{let t=(0,e5.useThemeName)(),a="carousel",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,[l,r]=(0,o.useState)(!1);if((0,o.useEffect)(()=>{r(!0)},[]),l&&e.fields?.data?.datasource){let l=e.fields.data.datasource,r=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),o=r||t,c=!!e.params.Automatic&&"1"===e.params.Automatic,d=(0,aC.getIntSafe)(e.params.Interval,7);if(l.children?.results.length>0)return(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("div",{className:`ch-hero-carousel ch-component-${a}`,children:(0,n.jsx)("div",{className:"component-content",children:(0,n.jsx)(ak,{slides:l.children?.results,isEditing:i.mode.isEditing,isContained:s,themeName:o,compClass:a,language:i.locale,automatic:c,interval:1e3*d})})})})}else if(i.mode.isEditing)return(0,n.jsx)("span",{className:"is-empty-hint",children:"Hero Carousel"});return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Hero Carousel With Form",isEditing:i.mode.isEditing})};e.s(["Default",0,aL,"default",0,aL],12149);var aw=e.i(12149);let aE=e=>{let t=(0,o.useId)(),a=e.slide.video?.value?.value.length>0,i=(0,n.jsx)(tm.Image,{field:e.slide.image?.value,alt:e.slide.title?.value.value,width:1680,height:360}),s=e.slide.image?.value.value?.src?(0,n.jsx)(tm.Image,{field:e.slide.image?.value,alt:e.slide.title?.value.value,width:1680,height:360}):null,l=(0,n.jsx)(n.Fragment,{});if(a){let a=e.slide.video.value.value,i=(0,aT.IsVimeo)(a)?(0,n.jsx)(t9.default,{url:a,id:t}):(0,n.jsx)(t8.default,{id:t,url:a});l=(0,n.jsx)(n.Fragment,{children:i})}return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:`${!e.isEditing?"media-content":""} w-100`,children:[e.isEditing?i:s,e.isEditing?"":l]})})},aI=e=>{let t=(0,o.useRef)(null),a=e.language,[i,s]=(0,o.useState)(0),[l,r]=(0,o.useState)(0),[c,d]=(0,o.useState)(e.automatic),m=(0,t1.default)(),h=()=>{t.current&&t.current.slickNext()},u=()=>{t.current&&t.current.slickPrev()},p=e=>{r(e.touches[0].clientX)},x=e=>{let t=e.changedTouches[0].clientX-l;t>100?u():t<-100&&h()},g=()=>{t.current?.slickPlay(),d(!0)},f=()=>{t.current?.slickPause(),d(!1)};if(e.slides&&e.slides.length>0){let l=e.slides.length,r={dots:!1,arrows:!1,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,autoplay:e.automatic,autoplaySpeed:e.interval,afterChange:e=>{s(e)}};return(0,n.jsx)("div",{"data-portrait":m,children:(0,n.jsx)(t0.default,{...r,ref:t,children:e.slides.map((s,r)=>(0,n.jsxs)("div",{className:`ch-hero-carousel--slide ch-component-${e.compClass}__bg-${e.themeName}`,onTouchStart:p,onTouchEnd:x,children:[(0,n.jsx)("div",{className:"ch-hero-carousel--slide__title d-flex justify-content-center",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:"xl",className:"ch-hero-carousel--slide__wrap",children:(0,n.jsx)(eZ.Grid,{item:!0,md:10,children:(0,n.jsxs)("div",{className:"ch-hero-carousel--slide__text",children:[e.isEditing?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{children:["Video Url:"," ",(0,n.jsx)(eJ.Text,{field:s.video.value}),(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"Please use Preview button above to preview the video slides"]}),(0,n.jsxs)("div",{children:["Link : ",(0,n.jsx)(ez.Link,{field:s.link?.value})]})]}):null,(0,n.jsx)(e6.Typography,{variant:"h1",className:`ch-component-${e.compClass}__title-${e.themeName}`,children:s.link?.value?.value?.href?(0,n.jsx)(th.default,{locale:a,className:`ch-component-${e.compClass}__title-${e.themeName}`,href:{pathname:s.link?.value?.value?.href},target:s.link?.value?.value?.target,as:s.link?.value?.value.linktype=="internal"?s.link?.value?.value?.href&&s.link?.value.value?.href+s.link?.value?.value?.querystring:s.link?.value.value?.href&&s.link?.value.value?.href,children:(0,n.jsx)(eJ.Text,{field:s.title.value})}):(0,n.jsx)(eJ.Text,{field:s.title.value})}),e.slides.length>1?(0,n.jsxs)("div",{className:`ch-hero-carousel--slide__controls ch-component-${e.compClass}__text-${e.themeName}`,children:[(0,n.jsx)("div",{className:"ch-hero-carousel--slide__controls--info",children:`${i+1} of ${l}`}),(0,n.jsxs)("div",{className:"ch-hero-carousel--slide__controls--arrows",children:[(0,n.jsx)("i",{className:"icon-arrow-big-tail-left icon",onClick:u}),c?(0,n.jsx)("i",{className:"icon-pause icon",onClick:f}):(0,n.jsx)("i",{className:"icon-play icon",onClick:g}),(0,n.jsx)("i",{className:"icon-arrow-big-tail-right icon",onClick:h})]})]}):null]})})})}),(0,n.jsx)(aE,{isEditing:e.isEditing,slide:s,index:r,sliderRef:t})]},r))})})}return(0,n.jsx)(n.Fragment,{})},aP=e=>{let t=(0,e5.useThemeName)(),a="carousel",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,[l,r]=(0,o.useState)(!1);if((0,o.useEffect)(()=>{r(!0)},[]),l&&e.fields?.data?.datasource){let l=e.fields.data.datasource,r=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),o=r||t,c=!!e.params.Automatic&&"1"===e.params.Automatic,d=(0,aC.getIntSafe)(e.params.Interval,7);if(l.children?.results.length>0)return(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("div",{className:`ch-hero-carousel ch-component-${a}`,children:(0,n.jsx)("div",{className:"component-content",children:(0,n.jsx)(aI,{slides:l.children?.results,isEditing:i.mode.isEditing,isContained:s,themeName:o,compClass:a,language:i.locale,automatic:c,interval:1e3*d})})})})}else if(i.mode.isEditing)return(0,n.jsx)("span",{className:"is-empty-hint",children:"Hero Carousel"});return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Hero Carousel",isEditing:i.mode.isEditing})};
17e.s(["Default",0,aP,"default",0,aP],92305);var aG=e.i(92305),aR=e.i(60496);let aD=e=>{let t=(0,o.useMemo)(()=>({lng:e.Longitude.value,lat:e.Latitude.value}),[e.Longitude.value,e.Latitude.value]),a=e.Zoom?.value?e.Zoom.value:16;return(0,n.jsx)(aR.GoogleMap,{zoom:a,center:t,mapContainerClassName:"map-container",mapContainerStyle:{width:"100%",height:"100%"},children:(0,n.jsx)(aR.MarkerF,{position:t})})};e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),{page:a}=(0,U.useSitecore)(),i="1"===e.params.IsContained,s=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",l=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",r=(0,e3.getComponentSelectedTheme)(a.siteName,e.params),o=r||t,{isLoaded:c}=(0,aR.useLoadScript)({googleMapsApiKey:"AIzaSyALjRrTH3KZXLIwSWvr301ECQ4cMPPjgDQ"});return e.fields.Latitude&&e.fields.Longitude&&c?(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-map",children:(0,n.jsx)("div",{className:`ch-component ch-component-map__bg-${o}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:i?"xl":"auto",className:`ch-map__wrap  ${s} ${l}`,children:(0,n.jsx)(eZ.Grid,{item:!0,container:!0,columnSpacing:14,children:(0,n.jsxs)(eZ.Grid,{item:!0,xs:!0,sm:12,lg:!0,container:!0,alignItems:"center",mt:{xs:3,lg:0},children:[(0,n.jsx)(e6.Typography,{variant:"h4",component:"h4",textAlign:{xs:"center",md:"start"},className:`ch-map__title ch-component-map__title-${o}`,children:(0,n.jsx)(eJ.Text,{field:e.fields.Title})}),(0,n.jsx)(tA.Divider,{className:"ch-map__divider"}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,className:"ch-map__container",children:c?(0,n.jsx)(aD,{Latitude:e.fields.Latitude,Longitude:e.fields.Longitude,Zoom:e.fields.Zoom}):null})]})})})})})}):(0,n.jsx)(tV.DatasourceMissing,{componentName:"Maps",isEditing:a.mode.isEditing})}],90124);var aF=e.i(90124);let aM=e=>(0,n.jsxs)("div",{className:"featured-slide__item news",children:[(0,n.jsx)("div",{className:`featured-slide__thumb border-top ch-component-${e.compClass}__border-${e.themeName}`,children:(0,n.jsx)(tm.Image,{field:e.OpenGraphImageUrl?.value,alt:e.Title.value,width:720,height:530})}),(0,n.jsxs)("div",{className:`featured-slide__content ch-component-${e.compClass}__bg-${e.themeName}`,children:[(0,n.jsx)("div",{children:(0,n.jsx)("a",{href:e.Url,className:`ch-component-${e.compClass}__text-${e.themeName} featured-slide__link`,children:(0,n.jsx)(e6.Typography,{variant:"h5",component:"h5",children:(0,n.jsx)(eJ.Text,{field:e.OpenGraphTitle?e.OpenGraphTitle:e.Title})})})}),(0,n.jsx)("div",{children:(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",className:`ch-component-${e.compClass}__text-${e.themeName} featured-slide__description`,children:(0,n.jsx)(eJ.Text,{field:e.OpenGraphDescription})})})]})]}),aO=e=>{let t=(0,tZ.useTheme)(),a=(0,tX.useMediaQuery)(t.breakpoints.up("lg")),i=(0,tX.useMediaQuery)(t.breakpoints.between("md","lg")),s=(0,o.useRef)(null),l=(0,t1.default)(),r={dots:!1,prevArrow:(0,n.jsx)(e=>{let{className:t,onClick:a,compClass:i,themeName:s}=e;return(0,n.jsx)("div",{className:`${t} ch-component-${i}__title-${s}`,onClick:a,children:"Prev"})},{compClass:e.compClass,themeName:e.themeName}),nextArrow:(0,n.jsx)(e=>{let{className:t,onClick:a,compClass:i,themeName:s}=e;return(0,n.jsx)("div",{className:`${t} ch-component-${i}__title-${s}`,onClick:a,children:"Next"})},{compClass:e.compClass,themeName:e.themeName}),slidesToShow:a?3.5:i?2.5:1.5,slidesToScroll:1,infinite:!1};if(e.items&&e.items.length>0){let t=`featured-slide ${e.items.length>
17(a?3:i?2:1)?"infinite":""}`;return(0,n.jsx)("div",{"data-portrait":l,children:(0,n.jsx)(t0.default,{...r,ref:s,className:t,children:e.items.map((t,a)=>(0,n.jsx)(aM,{Title:t.fields.Title,Url:t.url,OpenGraphTitle:t.fields.OpenGraphTitle,OpenGraphImageUrl:t.fields.OpenGraphImageUrl,OpenGraphDescription:t.fields.OpenGraphDescription,compClass:e.compClass,themeName:e.themeName,isEditing:e.isEditing},a))})})}return(0,n.jsx)(n.Fragment,{})};e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="newsList",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",r=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",o=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),c=o||t,d=i.mode.isEditing,m=i.locale;if(e?.fields){let t=e?.fields?.SelectedPages;return(0,n.jsx)(e2.default,{theme:o,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-featured-items-list",children:(0,n.jsx)("div",{children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-featured-items-list__wrap  ${l} ${r}`,children:[(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,xs:12,justifyContent:{md:"space-between"},columnSpacing:3,alignItems:"center",flexWrap:{xs:"wrap",md:"nowrap"},children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,container:!0,maxWidth:"xl",justifyContent:{xs:"center",md:"start"},mb:{xs:3,md:0},flexGrow:{xs:0,md:1},children:(0,n.jsx)(e6.Typography,{variant:"h4",component:"h4",textAlign:{xs:"center",md:"start"},className:`ch-title-link__title ch-component-${a}__title-${c} mb-0`,children:(0,n.jsx)(eJ.Text,{field:e.fields.Title})})}),d?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(ez.Link,{field:e.fields.ViewMore,className:`ch-featured-items-list__link  ch-component-${a}__link-${c} arrow`})}):e.fields.ViewMore?.value?.text?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(th.default,{locale:m,className:`ch-featured-items-list__link  ch-component-${a}__link-${c} arrow`,href:{pathname:e.fields.ViewMore?.value?.href},target:e.fields.ViewMore?.value?.target,children:e.fields.ViewMore?.value?.text})}):null]}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(tA.Divider,{})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(aO,{items:t,isEditing:i.mode.isEditing,compClass:a,themeName:c})})]})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Featured Content",isEditing:i.mode.isEditing})}],46714);var aV=e.i(46714);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="titleTextLink",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",r=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",o=e.fields?.Title,c=!0;if(e.fields?.H1Title&&(c=e.fields?.H1Title?.value),i.layout.sitecore.route?.fields){let d=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),m=d||t;return(0,n.jsx)(e2.default,{theme:d,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-title-link page-title",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${m}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-title-link__wrap  ${l} ${r}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(e6.Typography,{variant:"h3",component:c?"h1":"h3",className:`ch-title-link__title ch-component-${a}__title-${m} mb-0`,children:o?(0,n.jsx)(eJ.Text,{field:o}):(0,n.jsx)(eJ.Text,{field:i.layout.sitecore.route?.fields?.Title})})})})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Title",isEditing:i.mode.isEditing})}],11678);var aA=e.i(11678);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="richtext",{page:i}=(0,U.useSitecore)(),s=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),l=s||t,r="1"===e.params.IsContained,o=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",c=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",d=e.fields?(0,n.jsx)(e1.RichText,{field:e.fields.Text}):(0,n.jsx)("span",{className:"is-empty-hint",children:"Rich text"}),m=e.params.RenderingIdentifier;return(0,n.jsx)(e2.default,{theme:s,keyval:(0,e4.v4)(),children:(0,n.jsx)("div",{className:"ch-rich-text",children:(0,n.jsx)("div",{className:`ch-component ${e.params.styles?.trimEnd()}`,id:m||void 0,children:(0,n.jsx)("div",{className:`ch-component-${a}__content-${l}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:r?"xl":"auto",className:`ch-title-link__wrap  ${o} ${c}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)("div",{className:"d-flex flex-column w-100",children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-title-link__text ch-component-${a}__text-${l} ch-rich-text`,children:d})})})})})})})})}],74829);var aU=e.i(74829);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="titleTextLink",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",r=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";if(i.layout.sitecore.route?.fields){let o=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),c=o||t;return(0,n.jsx)(e2.default,{theme:o,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-title-link page-content",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${c}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-title-link__wrap  ${l} ${r}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)("div",{className:"d-flex flex-column w-100",children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-title-link__text ch-component-${a}__text-${c} ch-rich-text`,children:(0,n.jsx)(e1.RichText,{field:i.layout.sitecore.route?.fields?.Content})})})})})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Page Content",isEditing:i.mode.isEditing})}],91234);var aB=e.i(91234),aW=e.i(60183),aH=e.i(27521),aY=e.i(41321),aq=e.i(79178);let aK=({items:e,compClass:t,themeName:a,isEditing:i})=>{let[s,l]=(0,o.useState)("");return e&&e.length>0?(0,n.jsx)(n.Fragment,{children:e.map((e,r)=>{let o;
17return(0,n.jsxs)(aW.Accordion,{expanded:!!i||s===`panel${r}`,onChange:(o=`panel${r}`,(e,t)=>{l(!!t&&o)}),elevation:0,square:!0,disableGutters:!0,sx:{background:"transparent"},children:[(0,n.jsx)(aY.AccordionSummary,{expandIcon:(0,n.jsx)("i",{className:`icon-chevron-down ch-component ch-component-${t}__text-${a}`}),"aria-controls":`panel${r}a-content`,id:`panel${r}a-header`,className:"p-0",children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${t}__text-${a} m-0 ch-content-list__title ${s===`panel${r}`?"bold":""}`,children:(0,n.jsx)(eJ.Text,{field:e.title?.value})})}),(0,n.jsx)(aH.AccordionDetails,{className:"px-0",children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-component ch-rich-text ch-component-${t}__text-${a}`,children:(0,n.jsx)(e1.RichText,{field:e.description?.value})})})]},r)})}):(0,n.jsx)(n.Fragment,{})},az=({items:e,compClass:t,themeName:a})=>e&&e.length>0?(0,n.jsx)(n.Fragment,{children:e.map((e,i)=>(0,n.jsxs)(eZ.Grid,{container:!0,columnSpacing:3,className:"mb-3",children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:4,className:"mb-3 mb-md-0",children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${t}__title-${a} ch-content-list__title`,children:(0,n.jsx)(eJ.Text,{field:e.title?.value})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:8,container:!0,justifyContent:"start",children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-component ch-component-${t}__text-${a} ch-rich-text`,children:(0,n.jsx)(e1.RichText,{field:e.description?.value})})})]},i))}):(0,n.jsx)(n.Fragment,{}),aJ=({items:e,compClass:t,themeName:a})=>e&&e.length>0?(0,n.jsx)(n.Fragment,{children:e.map((e,i)=>e.document?.value?.value?.src.length>0&&(0,n.jsxs)(eZ.Grid,{container:!0,columnSpacing:3,className:"mb-3",children:[(0,n.jsx)(eZ.Grid,{container:!0,item:!0,xs:11,className:"mb-3 mb-md-0",children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${t}__title-${a} ch-content-list__title`,children:(0,n.jsx)(eJ.Text,{field:e.title?.value})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:1,container:!0,justifyContent:"end",children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-component ch-component-${t}__text-${a} ch-rich-text`,children:(0,n.jsx)(th.default,{className:`ch-component ch-component-${t}__text-${a}`,href:e.document.value.value.src,target:"_blank",children:(0,n.jsx)("i",{className:"icon-download"})})})})]},i))}):(0,n.jsx)(n.Fragment,{});e.s(["Accordion",0,e=>{let t,a,i=(0,e5.useThemeName)(),{page:s}=(0,U.useSitecore)(),r=e.params?.IsContained==="1",c=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",d=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",m="contentList",h=(t=e.fields?.data?.datasource?.children?.results,a=s.mode.isEditing,(0,o.useMemo)(()=>{if(a||!t?.length)return null;let e=t.map(e=>({question:(0,aq.stripHtml)("string"==typeof e.title?.value?e.title.value:e.title?.value?.value?.toString()),answer:(0,aq.stripHtml)("string"==typeof e.description?.value?e.description.value:e.description?.value?.value?.toString())})).filter(e=>e.question&&e.answer);return e.length?(0,aq.cleanSchema)({"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))}):null},[t,a]));if(e.fields?.data?.datasource){let t=e.fields.data.datasource,a=(0,e3.getComponentSelectedTheme)(s.siteName,e.params),o=a||i;return(0,n.jsxs)(e2.default,{theme:a,keyval:e.rendering.uid,children:[h&&(0,n.jsx)(l.default,{children:(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(h)}})}),(0,n.jsx)("section",{className:"ch-content-list",children:(0,n.jsx)("div",{className:`ch-component ch-component-${m}__bg-${o}`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:r?"xl":"auto",className:`ch-content-list__wrap  ${c} ${d}`,children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(tA.Divider,{})}),(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,spacing:3,columnSpacing:14,mt:3,className:`ch-component-${m}__text-${o}`,children:[(0,n.jsx)(eZ.Grid,{item:!0,md:3.5,lg:5,children:(0,n.jsx)(e6.Typography,{variant:"h4",className:`ch-component-${m}__text-${o}`,children:(0,n.jsx)(eJ.Text,{field:e.fields.data.datasource.title.value})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:8.5,lg:6,children:(0,n.jsx)(aK,{items:t.children?.results,isEditing:s.mode.isEditing,compClass:m,themeName:o})})]})]})})})]})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Content List - Accordion",isEditing:s.mode.isEditing})},"Document",0,e=>{let t=(0,e5.useThemeName)(),{page:a}=(0,U.useSitecore)(),i=e.params?.IsContained==="1",s=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",l=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",r="contentList";if(e.fields?.data?.datasource){let o=e.fields.data.datasource,c=(0,e3.getComponentSelectedTheme)(a.siteName,e.params),d=c||t;return(0,n.jsx)(e2.default,{theme:c,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-content-list",children:(0,n.jsx)("div",{className:`ch-component ch-component-${r}__bg-${d}`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:i?"xl":"auto",className:`ch-content-list__wrap ${s} ${l}`,children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(tA.Divider,{})}),(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,spacing:3,columnSpacing:14,mt:3,className:`ch-component-${r}__text-${d}`,children:[(0,n.jsx)(eZ.Grid,{item:!0,md:3.5,lg:5,children:(0,n.jsx)(e6.Typography,{variant:"h4",className:`ch-component-${r}__text-${d}`,children:(0,n.jsx)(eJ.Text,{field:e.fields.data.datasource.title.value})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:8.5,lg:7,children:(0,n.jsx)(aJ,{items:o.children?.results,isEditing:a.mode.isEditing,compClass:r,themeName:d})})]})]})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Content List - Document",isEditing:a.mode.isEditing})},"LabelDescription",0,e=>{let t=(0,e5.useThemeName)(),{page:a}=(0,U.useSitecore)(),i=e.params?.IsContained==="1",s=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",l=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",r="contentList";if(e.fields?.data?.datasource){let o=e.fields.data.datasource,c=(0,e3.getComponentSelectedTheme)(a.siteName,e.params),d=c||t;return(0,n.jsx)(e2.default,{theme:c,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-content-list",children:(0,n.jsx)("div",{className:`ch-component ch-component-${r}__bg-${d}`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:i?"xl":"auto",className:`ch-content-list__wrap  ${s} ${l}`,children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(tA.Divider,{})}),(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,spacing:3,columnSpacing:14,mt:3,className:`ch-component-${r}__text-${d}`,children:[(0,n.jsx)(eZ.Grid,{item:!0,md:3.5,lg:5,children:(0,n.jsx)(e6.Typography,{variant:"h4",className:`ch-component-${r}__text-${d}`,children:(0,n.jsx)(eJ.Text,{field:e.fields.data.datasource.title.value})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:8.5,lg:6,children:(0,n.jsx)(az,{items:o.children?.results,isEditing:a.mode.isEditing,compClass:r,themeName:d})})]})]})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Content List- Label Description",isEditing:a.mode.isEditing})}],41600);var aQ=e.i(41600),aX=e.i(15355);let aZ=e=>{let t=(0,e5.useThemeName)(),a="cardList",i=e.imageRight,s=e.h1Title,l=e.themeColourOnOdd,r=e.selectedTheme,o=r||t,{page:c}=(0,U.useSitecore)(),d=c.locale,m=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",h=e.params?.BottomSpacing__wrap?e.params?.BottomSpacing:"bottom-medium";return(l&&(o=t,t=r||t),e.items&&e.items.length>0)?(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:e.isContained?"xl":"auto",className:`ch-card-list__wrap ${m} ${h} ${e.isContained?"contained":""}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,className:`ch-card-list__items ${i?"right":""}`,children:e.items.map((i,l)=>(0,n.jsxs)(eZ.Grid,{item:!0,xs:!0,container:!0,className:"ch-card-list__items--row",children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:6,children:(0,n.jsx)(e2.default,{theme:l%2?r:t,keyval:e.uid,children:(0,n.jsx)("div",{className:`ch-component h-100 ch-component-${a}__bg-${l%2?o:t}`,children:(0,n.jsx)("div",{className:"ch-card-list__image",children:(0,n.jsx)(tm.Image,{field:i.image?.value,alt:i.title?.value.value,width:1280,height:720})})})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:6,children:(0,n.jsx)(e2.default,{theme:l%2?r:t,keyval:e.uid,children:(0,n.jsx)("div",{className:"ch-card-list h-100",children:(0,n.jsxs)("div",{className:`ch-card-list__box ch-component ch-component-${a}__bg-${l%2?o:t}`,children:[(0,n.jsx)(e6.Typography,{variant:"body1",className:`ch-component-${a}__label-${l%2?o:t}`,children:(0,n.jsx)(eJ.Text,{field:i.subTitle?.value})}),(0,n.jsx)("div",{className:"ch-card-list__content",children:(0,n.jsx)(e6.Typography,{variant:"h3",component:0==l&&s?"h1":"h3",className:`ch-card-list__title ch-component-${a}__title-${l%2?o:t} mb-0`,children:(0,n.jsx)(eJ.Text,{field:i.title?.value})})}),(0,n.jsx)("div",{className:"ch-card-list__btn_wrap",children:e.isEditing?(0,n.jsx)(aX.Button,{variant:"outlined",component:"button",size:"large",className:`ch-button rounded outlined ch-component-${a}__button-${l%2?o:t}`,children:(0,n.jsx)(ez.Link,{field:i.link?.value})}):i.link?.value?.value?.text?(0,n.jsx)(th.default,{locale:d,className:`ch-button rounded outlined ch-title-link__link  ch-component-${a}__button-${l%2?o:t}`,href:{pathname:i.link?.value?.value?.href},target:i.link?.value?.value?.target,as:i.link?.value?.value.linktype=="internal"?i.link?.value?.value?.href&&i.link?.value.value?.href+i.link?.value?.value?.querystring:i.link?.value.value?.href&&i.link?.value.value?.href,children:i.link?.value?.value?.text}):null})]})})})})]},l))})}):e.isEditing?(0,n.jsx)("span",{className:"is-empty-hint",children:"Card List"}):(0,n.jsx)(n.Fragment,{})},a0=e=>{let t=(0,e5.useThemeName)(),a="cardList",i=e.imageRight,s=e.h1Title,l=e.themeColourOnOdd,r=e.selectedTheme,o=r||t,{page:c}=(0,U.useSitecore)(),d=c.locale,m=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",h=e.params?.BottomSpacing__wrap?e.params?.BottomSpacing:"bottom-medium";return(l&&(o=t,t=r||t),e.items&&e.items.length>0)?(0,n.jsx)("div",{className:`ch-card-list__wrap ${m} ${h}`,children:(0,n.jsx)("div",{className:`ch-card-list__items text-block-var ${i?"right":""}`,children:e.items.map((i,l)=>(0,n.jsx)(e2.default,{theme:l%2?e.selectedTheme:t,keyval:e.uid,children:(0,n.jsx)("div",{className:"ch-card-list",children:(0,n.jsx)("section",{className:`ch-component ch-component-${a}__bg-${l%2?o:t}`,children:(0,n.jsxs)(eZ.Grid,{container:!0,className:"ch-card-list__items--row",alignItems:"center",maxWidth:e.isContained?"xl":"auto",rowSpacing:{xs:2,md:0},children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:6,children:(0,n.jsx)("div",{className:"ch-card-list__box",children:(0,n.jsx)("div",{className:"ch-card-list__image",children:(0,n.jsx)(tm.Image,{field:i.image?.value,alt:i.title?.value.value,width:1280,height:720})})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:6,children:(0,n.jsx)("div",{className:"ch-card-list h-100",children:(0,n.jsxs)("div",{className:"ch-card-list__box",children:[(0,n.jsxs)("div",{className:"ch-card-list__content",children:[(0,n.jsx)(e6.Typography,{variant:"h4",component:0==l&&s?"h1":"h4",className:`ch-card-list__title ch-component-${a}__title-${l%2?o:t} mb-0`,children:(0,n.jsx)(eJ.Text,{field:i.title?.value})}),e.isEditing||i.description?.value?.value?(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-card-list__desc ch-rich-text ch-component-${a}__text-${l%2?o:t}`,children:(0,n.jsx)(e1.RichText,{field:i.description?.value})}):null]}),(0,n.jsx)("div",{className:"ch-card-list__btn_wrap",children:e.isEditing?(0,n.jsx)(aX.Button,{variant:"outlined",component:"button",size:"large",className:`ch-button rounded outlined ch-component-${a}__button-${l%2?o:t}`,children:(0,n.jsx)(ez.Link,{field:i.link?.value})}):i.link?.value?.value?.text?(0,n.jsx)(th.default,{locale:d,className:`ch-button rounded outlined ch-title-link__link  ch-component-${a}__button-${l%2?o:t}`,href:{pathname:i.link?.value?.value?.href},target:i.link?.value?.value?.target,as:i.link?.value?.value.linktype=="internal"?i.link?.value?.value?.href&&i.link?.value.value?.href+i.link?.value?.value?.querystring:i.link?.value.value?.href&&i.link?.value.value?.href,children:i.link?.value?.value?.text}):null})]})})})]})})})},l))})}):e.isEditing?(0,n.jsx)("span",{className:"is-empty-hint",children:"Card List"}):(0,n.jsx)(n.Fragment,{})};e.s(["Default",0,e=>{let{page:t}=(0,U.useSitecore)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";if(e.fields?.data?.datasource){let l=e.fields.data.datasource,r=(0,e3.getComponentSelectedTheme)(t.siteName,e.params);return(0,n.jsx)("section",{className:`ch-card-list ${i} ${s}`,children:(0,n.jsx)(aZ,{params:e.params,items:l.children?.results,isEditing:t.mode.isEditing,imageRight:e.fields.data.datasource?.imageRight?.value,h1Title:e.fields.data.datasource?.h1Title?.value,themeColourOnOdd:e.fields.data.datasource?.themeColourOnOdd?.value,selectedTheme:r,uid:e.rendering.uid,isContained:a})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Card List",isEditing:t.mode.isEditing})},"TitleDescription",0,e=>{let{page:t}=(0,U.useSitecore)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium";if(e.fields?.data?.datasource){let l=e.fields.data.datasource,r=(0,e3.getComponentSelectedTheme)(t.siteName,e.params);return(0,n.jsx)("section",{className:`ch-card-list ${i} ${s}`,children:(0,n.jsx)(a0,{params:e.params,items:l.children?.results,isEditing:t.mode.isEditing,imageRight:e.fields.data.datasource?.imageRight?.value,h1Title:e.fields.data.datasource?.h1Title?.value,themeColourOnOdd:e.fields.data.datasource?.themeColourOnOdd?.value,selectedTheme:r,uid:e.rendering.uid,isContained:a})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Card List",isEditing:t.mode.isEditing})}],80669);var a1=e.i(80669);let a2=e=>e.isEditing?(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,xs:6,md:4,justifyContent:"center",alignItems:"center",height:{xs:54,md:80,lg:86},children:[(0,n.jsxs)("div",{className:"editing",children:["Link: ",(0,n.jsx)(eJ.Text,{field:e.link})]}),(0,n.jsx)(tm.Image,{field:e.logo,class:"image"})]}):(0,n.jsx)(eZ.Grid,{item:!0,container:!0,xs:6,md:4,justifyContent:"center",alignItems:"center",height:{xs:86},children:(0,n.jsx)(th.default,{href:`${e.link?.value}`,target:"_blank",className:"ch-brand-logo__link",children:(0,n.jsx)(tm.Image,{field:e.logo?.value,alt:"Brand Logo",className:"image",width:170,height:40})})});e.s(["Default",0,e=>{let t=e.fields?.data?.datasource,a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing__wrap?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)();if(t){let r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),o=t?.logoItems?.results.map((e,t)=>(0,n.jsx)(a2,{isEditing:l.mode.isEditing,link:e.link?.value,logo:e.logo?.value},t));return(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("div",{className:"ch-brand-logo ch-component-brandlogo",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-brand-logo__wrap ${i} ${s}`,children:o})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Brand Logo",isEditing:l.mode.isEditing})}],1745);var a3=e.i(1745),a4=e.i(74935),a6=e.i(7112),a5=e.i(29660);e.s(["Column3",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",tag:"",company:"",year:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entr
17ies());h({keyphrase:e.q?.toString()??"",tag:e.tag?.toString()??"",company:e.company?.toString()??"",year:e.year?.toString()??""})};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:18,defaultSortType:m.keyphrase?.length>0?"relevance_desc_publishdate_desc":"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultCompany:m.company,defaultTag:m.tag,defaultYear:m.year,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:"18",PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:a6.NewsSearchListing3Column,compClass:"newssearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})},"Column4",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",tag:"",company:"",year:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entries());h({keyphrase:e.q?.toString()??"",tag:e.tag?.toString()??"",company:e.company?.toString()??"",year:e.year?.toString()??""})};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:16,defaultSortType:m.keyphrase?.length>0?"relevance_desc_publishdate_desc":"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultCompany:m.company,defaultTag:m.tag,defaultYear:m.year,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:"16",PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:a5.NewsSearchListing4Column,compClass:"newssearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})},"Default",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",tag:"",company:"",year:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entries());h({keyphrase:e.q?.toString()??"",tag:e.tag?.toString()??"",company:e.company?.toString()??"",year:e.year?.toString()??""})};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:Number(e.fields.ItemsPerPage.value),defaultSortType:m.keyphrase?.length>0?"relevance_desc_publishdate_desc":"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultCompany:m.company,defaultTag:m.tag,defaultYear:m.year,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:e.fields.ItemsPerPage,PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:a4.NewsSearchListingDefault,compClass:"newssearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})}],81037);var a7=e.i(81037);e.s(["Default",0,()=>{let{page:e}=(0,U.useSitecore)(),t=e.layout.sitecore.route?.fields,a=t?.LPoi_Latitude,i=t?.LPoi_Longitude,s=t?.Company,r=t?.Published_Date?.value,o="";s&&s.length>0&&(o=Array.prototype.map.call(s,function(e){return e.fields.Title.value}).join(","));let c="";return a?.value&&i?.value&&(c=a.value+","+i.value),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(l.default,{children:[o?(0,n.jsx)("meta",{name:"company",content:o}):"",c?(0,n.jsx)("meta",{name:"geolocation",content:c}):"",r&&"0001-01-01T00:00:00Z"!=r?(0,n.jsx)("meta",{name:"publisheddate",content:r}):""]})})}],9107);var a8=e.i(9107);let a9=t=>{let a=e.r(4927)(`${t.Published_Date.value}`);return(0,n.jsxs)("div",{className:"featured-slide__item news",children:[(0,n.jsx)("div",{className:`featured-slide__thumb border-top ch-component-${t.compClass}__border-${t.themeName}
17`,children:t.isEditing?(0,n.jsx)("img",{src:t.OpenGraphImageUrl?.value?.src??"",alt:t.Title.value,width:720,height:530}):(0,n.jsx)("a",{href:t.Url,children:(0,n.jsx)("img",{src:t.OpenGraphImageUrl?.value?.src??"",alt:t.Title.value,width:720,height:530})})}),(0,n.jsxs)("div",{className:`featured-slide__content ch-component-${t.compClass}__bg-${t.themeName}`,children:[(0,n.jsx)("div",{className:"featured-slide__tags",children:(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",className:`ch-component-${t.compClass}__title-${t.themeName}`,children:a.format("DD MMMM YYYY")})}),(0,n.jsx)("div",{children:(0,n.jsx)("a",{href:t.Url,className:`ch-component-${t.compClass}__text-${t.themeName} featured-slide__link`,children:(0,n.jsx)(e6.Typography,{variant:"h5",component:"h5",children:(0,n.jsx)(eJ.Text,{field:t.OpenGraphTitle?t.OpenGraphTitle:t.Title})})})}),(0,n.jsx)("div",{children:(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",className:`ch-component-${t.compClass}__text-${t.themeName} featured-slide__description`,children:(0,n.jsx)(eJ.Text,{field:t.OpenGraphDescription})})})]})]})},ie=e=>{let t=(0,tZ.useTheme)(),a=(0,tX.useMediaQuery)(t.breakpoints.up("lg")),i=(0,tX.useMediaQuery)(t.breakpoints.between("md","lg")),s=(0,o.useRef)(null),l=(0,t1.default)(),r={dots:!1,prevArrow:(0,n.jsx)(e=>{let{className:t,onClick:a,compClass:i,themeName:s}=e;return(0,n.jsx)("div",{className:`${t} ch-component-${i}__title-${s}`,onClick:a,children:"Prev"})},{compClass:e.compClass,themeName:e.themeName}),nextArrow:(0,n.jsx)(e=>{let{className:t,onClick:a,compClass:i,themeName:s}=e;return(0,n.jsx)("div",{className:`${t} ch-component-${i}__title-${s}`,onClick:a,children:"Next"})},{compClass:e.compClass,themeName:e.themeName}),slidesToShow:a?3.5:i?2.5:1.5,slidesToScroll:1,infinite:!1};if(e.items&&e.items.length>0){let t=`featured-slide ${e.items.length>
17(a?3:i?2:1)?"infinite":""}`;return(0,n.jsx)("div",{"data-portrait":l,children:(0,n.jsx)(t0.default,{...r,ref:s,className:t,children:e.items.map((t,a)=>(0,n.jsx)(a9,{Title:t.fields.Title,Url:t.url,OpenGraphTitle:t.fields.OpenGraphTitle,OpenGraphImageUrl:t.fields.OpenGraphImageUrl,Published_Date:t.fields.Published_Date,OpenGraphDescription:t.fields.OpenGraphDescription,compClass:e.compClass,themeName:e.themeName,isEditing:e.isEditing},a))})})}return(0,n.jsx)(n.Fragment,{})};e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="newsList",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",r=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",o=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),c=o||t,d=i.mode.isEditing,m=i.locale;if(e?.fields){let t=e?.fields?.SelectedNews;return(0,n.jsx)(e2.default,{theme:o,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-featured-items-list",children:(0,n.jsx)("div",{children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-featured-items-list__wrap ${l} ${r}`,children:[(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,xs:12,justifyContent:{md:"space-between"},columnSpacing:3,alignItems:"center",flexWrap:{xs:"wrap",md:"nowrap"},children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,container:!0,maxWidth:"xl",justifyContent:{xs:"center",md:"start"},mb:{xs:3,md:0},flexGrow:{xs:0,md:1},children:(0,n.jsx)(e6.Typography,{variant:"h4",component:"h4",textAlign:{xs:"center",md:"start"},className:`ch-title-link__title ch-component-${a}__title-${c} mb-0`,children:(0,n.jsx)(eJ.Text,{field:e.fields.Title})})}),d?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(ez.Link,{field:e.fields.ViewMore,className:`ch-featured-items-list__link  ch-component-${a}__link-${c} arrow`})}):e.fields.ViewMore?.value?.text?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(th.default,{locale:m,className:`ch-featured-items-list__link  ch-component-${a}__link-${c} arrow`,href:{pathname:e.fields.ViewMore?.value?.href},target:e.fields.ViewMore?.value?.target,children:e.fields.ViewMore?.value?.text})}):null]}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(tA.Divider,{})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(ie,{items:t,isEditing:i.mode.isEditing,compClass:a,themeName:c})})]})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Feature News - Manual",isEditing:i.mode.isEditing})}],25641);var it=e.i(25641),ia=e.i(29184);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="featurenews",i="1"===e.params.IsContained,s=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",l=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:r}=(0,U.useSitecore)(),o=(0,e3.getComponentSelectedTheme)(r.siteName,e.params),c=o||t,d=r.mode.isEditing,m=r.locale;return e.fields?(0,n.jsx)(e2.default,{theme:o,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-featured-items-list",children:(0,n.jsx)("div",{children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:i?"xl":"auto",className:`ch-featured-items-list__wrap  ${s} ${l}`,children:[(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,xs:12,justifyContent:{md:"space-between"},columnSpacing:3,alignItems:"center",flexWrap:{xs:"wrap",md:"nowrap"},children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,container:!0,maxWidth:"xl",justifyContent:{xs:"center",md:"start"},mb:{xs:3,md:0},flexGrow:{xs:0,md:1},children:(0,n.jsx)(e6.Typography,{variant:"h4",component:"h4",textAlign:{xs:"center",md:"start"},className:`ch-featured-items-list__title ch-component-${a}__title-${c} mb-0`,children:(0,n.jsx)(eJ.Text,{field:e.fields.Title})})}),d?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(ez.Link,{field:e.fields.ViewMore,className:`ch-featured-items-list__link  ch-component-${a}__link-${c} arrow`})}):e.fields.ViewMore?.value?.text?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(th.default,{locale:m,className:`ch-featured-items-list__link  ch-component-${a}
17__link-${c} arrow`,href:{pathname:e.fields.ViewMore?.value?.href},target:e.fields.ViewMore?.value?.target,children:e.fields.ViewMore?.value?.text})}):null]}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(tA.Divider,{})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(tP.default,{rfkId:"results_news",defaultItemsPerPage:Number(e.fields.NoOfRecords),defaultSortType:"publisheddate_desc",defaultPage:1,defaultKeyphrase:"",ContentTypeFilters:"type=News",NoOfRecords:e.fields.NoOfRecords,ViewMore:e.fields.ViewMore,Title:e.fields.Title,Site:r.siteName,Distance:e.fields.Distance,ListingComponent:ia.FeatureNewsListing,compClass:a,themeName:c},"news-search")})]})})})}):(0,n.jsx)(n.Fragment,{})}],29931);var ii=e.i(29931),is=e.i(19602);let il=(0,tx.withDatasourceCheck)()(e=>{let t=(0,ep.useRouter)(),a=(0,tZ.useTheme)(),i=(0,tX.useMediaQuery)(a.breakpoints.up("lg")),{isMenuOpen:s,device:l}=e,{page:c}=(0,U.useSitecore)(),d=e.fields?.data?.datasource?.children,m=(0,e3.getComponentSelectedTheme)(c.siteName,e.params),h=c.locale,[u,p]=(0,o.useState)(null),x=c.mode.isEditing;return(0,o.useEffect)(()=>{p(null)},[t]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e2.default,{theme:m,keyval:e.rendering.uid,children:(0,n.jsx)("nav",{className:"ch-nav ch-primary-nav",children:(0,n.jsx)("div",{className:`ch-nav__wrap ${s?"active":""}`,children:(0,n.jsx)("ul",{children:d?.results.map((e,t)=>(0,n.jsxs)("li",{className:`nav-item ch-megamenu-li ${t===u?"active":""} level-1`,onMouseEnter:()=>{"Desktop"===l&&p(e=>e===t?null:t)},onMouseLeave:()=>{"Desktop"===l&&p(e=>e===t?null:t)},children:[(0,n.jsxs)("span",{className:"d-flex nav-item-link align-items-center ch-component-nav__link",children:[(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",children:(0,n.jsx)(th.default,{locale:h,href:{pathname:e.link?.jsonValue.value.href},target:e.link?.jsonValue.value.target,as:e.link?.jsonValue.value.linktype!="internal"||e.link?.jsonValue.value?.href?.startsWith("mailto:")?e.link?.jsonValue.value?.href&&e.link?.jsonValue.value?.href:e.link?.jsonValue.value?.href&&e.link?.jsonValue.value?.href+e.link?.jsonValue?.value?.querystring,children:e.link?.jsonValue.value.text})}),e.children?.results.length?(0,n.jsx)("i",{className:t===u?"icon icon-chevron-up":"icon icon-chevron-down",onClick:()=>{("Mobile"===l||"Tablet"===l)&&p(e=>e===t?null:t)}}):null]}),t===u&&e.children?.results.length?(0,n.jsx)("div",{className:"ch-megamenu",children:(0,n.jsx)("div",{className:"ch-megamenu__wrap",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:"xl",children:(0,n.jsx)(eZ.Grid,{item:!0,xs:!0,children:(0,n.jsx)("div",{className:"box ch-component-nav__bg",children:(0,n.jsx)(eZ.Grid,{container:!0,spacing:5*!!i,children:e.children?.results.map((t,a)=>(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,columns:24,sm:12,lg:t.image?.jsonValue?.value?.src?t.description?.jsonValue.value?12:6:e.children?.results.length>=5?4.8:6,children:[i&&t.image?.jsonValue?(0,n.jsx)(eZ.Grid,{container:!0,wrap:t.description?.jsonValue.value?"nowrap":"wrap",columnSpacing:5*!!i,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(eZ.Grid,{item:!0,sm:24,lg:t.image?.jsonValue.value?.src&&t.description?.jsonValue.value?12:24,children:[t.image?.jsonValue?.value?.src&&(0,n.jsxs)(n.Fragment,{children:[t.description?.jsonValue.value?null:(0,n.jsx)(e6.Typography,{variant:"h4",className:"ch-component-nav__title",gutterBottom:!0,children:(0,n.jsx)(eJ.Text,{field:t.title?.jsonValue})}),(0,n.jsx)("div",{className:"image",children:x?(0,n.jsx)("img",{src:t.image?.jsonValue.value.src,alt:t.image?.jsonValue.value.alt,width:720,height:530}):(0,n.jsx)(th.default,{locale:h,href:{pathname:t.link?.jsonValue.value.href},as:t.link?.jsonValue.value.linktype!="internal"||t.link?.jsonValue.value?.href?.startsWith("mailto:")?t.link?.jsonValue.value?.href&&t.link?.jsonValue.value?.href:t.link?.jsonValue.value?.href&&t.link?.jsonValue.value?.href+t.link?.jsonValue?.value?.querystring,target:t.link?.jsonValue.value.target,children:(0,n.jsx)("img",{src:t.image?.jsonValue.value.src,alt:t.image?.jsonValue.value.alt,width:720,height:530})})})]}),t&&t.link?.jsonValue&&t.image?.jsonValue?.value?.src&&t.link?.jsonValue.value.text?(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",children:(0,n.jsx)(th.default,{locale:h,className:"arrow-link mt-4",href:{pathname:t.link?.jsonValue.value.href},as:t.link?.jsonValue.value.linktype!="internal"||t.link?.jsonValue.value?.href?.startsWith("mailto:")?t.link?.jsonValue.value?.href&&t.link?.jsonValue.value?.href:t.link?.jsonValue.value?.href&&t.link?.jsonValue.value?.href+t.link?.jsonValue?.value?.querystring,target:t.link?.jsonValue.value.target,children:t.link?.jsonValue.value.text})}):(0,n.jsx)(n.Fragment,{})]}),(0,n.jsxs)(eZ.Grid,{item:!0,sm:24,lg:12,children:[t.description?.jsonValue.value?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(e6.Typography,{variant:"h4",className:"ch-component-nav__title",gutterBottom:!0,children:t.title?.jsonValue.value||t.image?.jsonValue?.value?.src?(0,n.jsx)(eJ.Text,{field:t.title?.jsonValue}):(0,n.jsx)(n.Fragment,{})}),(0,n.jsx)("div",{className:"ch-component-nav__text",children:(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",className:"ch-rich-text",children:(0,n.jsx)(e1.RichText,{field:t.description?.jsonValue})})})]}):null,t&&t.link?.jsonValue&&!t.image?.jsonValue?.value?.src?(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",children:(0,n.jsx)(th.default,{locale:h,className:"arrow-link mt-4",href:{pathname:t.link?.jsonValue.value.href},as:t.link?.jsonValue.value.linktype!="internal"||t.link?.jsonValue.value?.href?.startsWith("mailto:")?t.link?.jsonValue.value?.href&&t.link?.jsonValue.value?.href:t.link?.jsonValue.value?.href&&t.link?.jsonValue.value?.href+t.link?.jsonValue?.value?.querystring,target:t.link?.jsonValue.value.target,children:t.link?.jsonValue.value.text})}):(0,n.jsx)(n.Fragment,{})]})]})}):null,t.image?.jsonValue?null:(0,n.jsx)(eZ.Grid,{item:!0,children:(0,n.jsxs)("div",{className:!t.image?.jsonValue?.value?.src&&e.children?.results.length>1?"border-divider":"",children:[(0,n.jsx)(e6.Typography,{variant:"h4",className:"ch-component-nav__title",children:(0,n.jsx)(eJ.Text,{field:t.header?.jsonValue})}),(0,n.jsx)("ul",{className:t.header?.jsonValue.value?"":"mt-0",children:t.children?.results.map((e,t)=>(0,n.jsx)("li",{className:"level-2",children:e&&e.link?.jsonValue?(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",children:(0,n.jsx)(th.default,{locale:h,href:{pathname:e.link?.jsonValue.value.href},as:e.link?.jsonValue.value.linktype!="internal"||e.link?.jsonValue.value?.href?.startsWith("mailto:")?e.link?.jsonValue.value?.href&&e.link?.jsonValue.value?.href:e.link?.jsonValue.value?.href&&e.link?.jsonValue.value?.href+e.link?.jsonValue?.value?.querystring,target:e.link?.jsonValue.value.target,children:e.link?.jsonValue.value.text})}):(0,n.jsx)(n.Fragment,{})},t))})]})})]},a))})})})})})},t):null]},t))})})})}),s&&(0,n.jsx)(r.Placeholder,{name:"mobile-social-bottom",rendering:e?.rendering})]})});
17e.s(["default",0,il],1089);var ir=e.i(1089),io=e.i(42600);e.s(["default",0,e=>{let t=(0,ep.useRouter)(),a="header",i=(0,tZ.useTheme)(),{page:s}=(0,U.useSitecore)(),l=s.siteName,[c,d]=(0,o.useState)(!1),[m,h]=(0,o.useState)(!1),u=(0,io.default)(),p=(0,tX.useMediaQuery)(i.breakpoints.down("sm")),x="Search...",g="/global-search";return(0,o.useEffect)(()=>{d(!1)},[t]),(0,n.jsxs)(e2.default,{theme:`${l}_global`,keyval:e.rendering.uid,children:[(0,n.jsx)("div",{className:`ch-header ${c?"open":""}`,children:(0,n.jsx)("div",{className:`ch-component-${a}__bg  d-flex justify-content-center`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:"xl",className:"ch-header__wrap",children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:!0,className:"d-md-none",children:(0,n.jsx)("div",{className:"d-flex align-items-center h-100",children:(0,n.jsx)("div",{className:"search d-flex align-items-center ",children:(0,n.jsx)(is.default,{mobileActive:p&&m,isSearchOpen:m,setIsSearchOpen:h,searchResultsPage:g,placeholderText:x})})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:!0,container:!0,justifyContent:{xs:"center",md:"flex-start"},alignItems:"center",children:(0,n.jsx)(r.Placeholder,{name:"headless-header-left",rendering:e?.rendering})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:0,lg:!0,children:(0,n.jsx)(r.Placeholder,{name:"headless-header-right",rendering:e?.rendering,passThroughComponentProps:{isMenuOpen:c,setMenuOpen:d,device:u,isSearchOpen:m,setIsSearchOpen:h}})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:!0,container:!0,justifyContent:"end",alignItems:"center",wrap:"nowrap",children:(0,n.jsxs)("div",{className:"d-flex align-items-center justify-content-end",children:[(0,n.jsx)("div",{className:`${!m?"d-flex":"d-none"}  d-lg-none`,children:(0,n.jsx)(td.default,{compClass:a,themeName:`${l}_global`})}),(0,n.jsx)("div",{className:"search d-none d-md-block",children:(0,n.jsx)(is.default,{isSearchOpen:m,setIsSearchOpen:h,mobileActive:!1,searchResultsPage:g,placeholderText:x})}),(0,n.jsx)("div",{className:`d-flex  d-lg-none align-items-center justify-content-center navbar-toggler ${c?"active":""} `,children:(0,n.jsx)("div",{onClick:()=>d(!c),children:c?(0,n.jsx)("i",{className:"icon-close"}):(0,n.jsx)("i",{className:"icon-menu"})})})]})})]})})}),(0,n.jsx)(r.Placeholder,{name:"headless-breadcrumb",rendering:e?.rendering})]})}],20653);var ic=e.i(20653);let id=(0,tx.withDatasourceCheck)()(e=>{let t="footerNav",a=(0,tZ.useTheme)(),{page:i}=(0,U.useSitecore)(),s=e.fields?.data?.datasource?.children,l=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),r=i.locale,[c,d]=(0,o.useState)(null),m=(0,tX.useMediaQuery)(a.breakpoints.up("lg"));return(0,n.jsx)(e2.default,{theme:l,keyval:e.rendering.uid,children:(0,n.jsx)(eZ.Grid,{container:!0,spacing:{xs:0,lg:5},className:"ch-nav-footer",children:s&&s.results.map((e,a)=>(0,n.jsxs)(eZ.Grid,{item:!0,xs:12,md:!0,children:[(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component-${t}__title ${a===c&&"active"}`,onClick:()=>{!m&&d(e=>e===a?null:a)},children:(0,n.jsx)(eJ.Text,{field:e.header?.jsonValue})}),(0,n.jsx)("div",{className:`ch-nav-footer__item ${a===c&&"active"}`,children:e.children?.results.map((e,a)=>(0,n.jsx)("div",{children:e.__typename?(0,n.jsx)("div",{className:`ch-nav-footer__text ch-component-${t}__text`,children:(0,n.jsxs)(e6.Typography,{variant:"body1",component:"span",children:[(0,n.jsx)("p",{children:(0,n.jsx)(eJ.Text,{field:e.title?.jsonValue})}),(0,n.jsx)("div",{className:"ch-rich-text",children:(0,n.jsx)(e1.RichText,{field:e.description?.jsonValue})})]})}):(0,n.jsx)("ul",{children:(0,n.jsxs)("li",{className:`ch-component-${t}__link`,children:[e&&e.link?.jsonValue?(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",children:(0,n.jsx)(th.default,{locale:r,href:{pathname:e.link?.jsonValue.value.href},target:e.link?.jsonValue.value.target,as:e.link?.jsonValue.value.linktype=="internal"?e.link?.jsonValue.value?.href&&e.link?.jsonValue.value?.href+e.link?.jsonValue?.value?.querystring:e.link?.jsonValue.value?.href&&e.link?.jsonValue.value?.href,children:e.link?.jsonValue.value.text})}):(0,n.jsx)(n.Fragment,{}),(0,n.jsx)("ul",{children:e.children?.results.map((e,t)=>(0,n.jsx)("li",{children:e&&e.link?.jsonValue?(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",children:(0,n.jsx)(th.default,{locale:r,href:{pathname:e.link?.jsonValue.value.href},target:e.link?.jsonValue.value.target,as:e.link?.jsonValue.value.linktype=="internal"?e.link?.jsonValue.value?.href&&e.link?.jsonValue.value?.href+e.link?.jsonValue?.value?.querystring:e.link?.jsonValue.value?.href&&e.link?.jsonValue.value?.href,children:e.link?.jsonValue.value.text})}):(0,n.jsx)(n.Fragment,{})},t))})]})})},a))})]},a))})})});e.s(["default",0,id],76625);var im=e.i(76625);e.s(["default",0,e=>{let t="footer",{page:a}=(0,U.useSitecore)(),i=a.siteName,s=(0,io.default)();return(0,n.jsx)(e2.default,{theme:`${i}_global`,keyval:e.rendering.uid,children:(0,n.jsxs)("div",{className:"ch-footer",children:[(0,n.jsx)("div",{className:`ch-footer__top d-flex justify-content-center ch-component-${t}__bg--top`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:"xl",justifyContent:{xs:"center",md:"start"},alignItems:{xs:"center",md:"start"},wrap:"wrap",className:"ch-footer__wrap",children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,lg:3,container:!0,justifyContent:{xs:"center",md:"start"},children:(0,n.jsx)("div",{className:"d-flex flex-column justify-content-sm-center align-items-center align-items-md-start text-center text-md-start",children:(0,n.jsx)(r.Placeholder,{name:"headless-footer-left",rendering:e?.rendering})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,lg:!0,children:(0,n.jsx)(r.Placeholder,{name:"headless-footer-right-navigation",rendering:e?.rendering,passThroughComponentProps:{device:s}})})]})}),(0,n.jsx)("div",{className:`ch-footer__bottom d-flex justify-content-center ch-component-${t}__bg--bottom`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:"xl",justifyContent:{xs:"center",lg:"between"},alignItems:"center",className:"ch-footer__wrap",children:[(0,n.jsx)(eZ.Grid,{xs:12,lg:!0,item:!0,container:!0,alignItems:"center",justifyContent:"center",className:"d-flex d-lg-none",children:(0,n.jsx)("div",{children:(0,n.jsx)(r.Placeholder,{name:"mobile-social-footer-bottom",rendering:e?.rendering,passThroughComponentProps:{device:s}})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,lg:6,container:!0,justifyContent:{xs:"center",lg:"flex-start"},alignItems:{xs:"center",lg:"start"},direction:"column",order:{xs:2,lg:0},children:(0,n.jsx)("div",{className:"d-flex",children:(0,n.jsx)(r.Placeholder,{name:"headless-footer-bottom-left",rendering:e?.rendering})})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,lg:6,container:!0,justifyContent:{xs:"center",lg:"flex-end"},order:{xs:0,lg:2},children:(0,n.jsx)(r.Placeholder,{name:"headless-footer-bottom-right",rendering:e?.rendering,passThroughComponentProps:{device:s}})})]})})]})})}],28304);var ih=e.i(28304),iu=e.i(60074);let ip=e=>(0,n.jsx)(th.default,{locale:e.currentLanguage,color:"inherit",className:"ch-breadcrumb__link",href:{pathname:e.link},children:e.text});e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="breadcrumb",{page:i}=(0,U.useSitecore)(),s=(0,ep.useRouter)(),[l,r]=(0,o.useState)([]),c=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),d=c||t,m=e?.fields?.data?.item?.ancestors,h=i.locale;return(0,o.useEffect)(()=>{let e=[];null!=m&&m[0]?.url?.path!=="/"?(m.sort((e,t)=>
17t.url.path.length>e.url.path.length?1:-1),m.reverse().map((t,a)=>{e.push({link:t.url.path,text:t.field?.value?.value?t.field?.value?.value:t.field?.value?.toString(),key:a})})):m?.map((t,a)=>{e.push({link:t.url.path,text:t.field?.value?.value?t.field?.value?.value:t.field?.value?.toString(),key:a})}),r(e)},[s,m]),(0,n.jsx)(n.Fragment,{children:e.fields.data.item?.url?.path!="/"&&l.length?(0,n.jsx)(e2.default,{theme:c,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-breadcrumb",children:(0,n.jsx)("div",{className:"ch-component",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:"xl",className:"ch-breadcrumb__wrap",spacing:0,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:!0,className:`ch-component-${a}__border-bottom-${d} ch-breadcrumb__border `,children:(0,n.jsxs)(iu.Breadcrumbs,{separator:(0,n.jsx)("i",{className:"icon-chevron-right"}),"aria-label":"breadcrumb",className:`ch-component-${a}__link-${d}`,children:[l.map((e,t)=>(0,n.jsx)(ip,{link:e.link,text:e.text,currentLanguage:h},t)),(0,n.jsx)(e6.Typography,{variant:"body1",fontWeight:"600",children:e.fields?.data?.item?.title?.value?.value})]})})})})})}):(0,n.jsx)(n.Fragment,{})})}],98039);var ix=e.i(98039),ig=e.i(34299);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",tag:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entries());h({keyphrase:e.q?.toString()??"",tag:e.tag?.toString()??""})};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:Number(e.fields.ItemsPerPage.value),defaultSortType:"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultTag:m.tag,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:e.fields.ItemsPerPage,PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:ig.VideoSearchListing,compClass:"videosearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})}],7408);var ij=e.i(7408);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="video",i=e.fields?.VideoUrl?.value,s=(0,aT.IsYoutube)(i),r=(0,aT.IsVimeo)(i),{page:c}=(0,U.useSitecore)(),d=(0,o.useId)(),m=(0,e3.getComponentSelectedTheme)(c.siteName,e.params),h="1"===e.params.IsContained,u=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",p=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",x=m||t,g=c.layout.sitecore.route?.fields?.Published_Date;return c.mode.isEditing?(0,n.jsx)(e2.default,{theme:m,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-video",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${x}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:h?"xl":"auto",className:`ch-video__wrap ${u} ${p} ${h?"contained":""}`,children:(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,xs:12,spacing:5,alignItems:"center",children:[(0,n.jsxs)(eZ.Grid,{item:!0,xs:12,children:[(0,n.jsxs)("div",{className:"p-3",children:["Video Url:",(0,n.jsx)(eJ.Text,{field:e.fields?.VideoUrl})]}),(0,n.jsxs)("div",{className:"p-3",children:[(0,n.jsx)("i",{className:"icon-info"})," To view the video click preview (",(0,n.jsx)("i",{className:"icon-eye"}),") before publish."]})]}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)("div",{className:"overflow-hidden",children:(0,n.jsx)("div",{className:"media-content",children:(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"thumbnail edit",children:(0,n.jsx)(tm.Image,{field:e.fields?.OverlayImage})})})})})})]})})})})}):i&&!c.mode.isEditing&&e.fields?.VideoUrl?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.default,{children:g&&g?.value!="0001-01-01T00:00:00Z"?(0,n.jsx)("meta",{name:"publisheddate",content:g?.value}):""}),(0,n.jsx)(e2.default,{theme:m,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-video",children:(0,n.jsx)("div",{className:`ch-component ch-component-${a}__bg-${x}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:h?"xl":"auto",className:`ch-video__wrap ${u} ${p} ${h?"contained":""}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)("div",{className:`media-content  ch-component-${a}__text-${x}`,children:s?(0,n.jsx)(t8.default,{url:i,id:d,native:!0,thumbnail:e.fields?.OverlayImage.value?.src}):r?(0,n.jsx)(t9.default,{url:i,id:d,native:!0,thumbnail:e.fields?.OverlayImage.value?.src}):"Not valid"})})})})})})]}):(0,n.jsx)(tV.DatasourceMissing,{componentName:"Video",isEditing:c.mode.isEditing})}],85844);var iv=e.i(85844),iy=e.i(71436);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",tag:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entr
17ies());h({keyphrase:e.q?.toString()??"",tag:e.tag?.toString()??""})};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:Number(e.fields.ItemsPerPage.value),defaultSortType:"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultTag:m.tag,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:e.fields.ItemsPerPage,PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:iy.PublicationSearchListing,compClass:"publicationsearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})}],91219);var i_=e.i(91219),iN=e.i(58229),iS=e.i(96635),iT=e.i(52392),ib=e.i(84193),iC=e.i(39156),i$=e.i(11051);class ik{id="";text=""}e.s(["Taleo",0,e=>{let t,a,i,s=(0,e5.useThemeName)(),l=e.fields,r="jobsearch",{page:c}=(0,U.useSitecore)(),d=(0,e3.getComponentSelectedTheme)(c.siteName,e.params),[m,h]=(0,o.useState)([]),u=d||s,p=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",x=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",[g,f]=o.default.useState({keyword:"",jobNumber:"",country:"",state:"",region:""}),{countryArray:j,stateArray:v,regionArray:y}=(t=[],a=[],i=[],m.forEach(e=>{if(e.country.value){let a=new ik;a.id=e.country.id,a.text=e.country.value,t.push(a)}if(e.state.value){let t=new ik;t.id=e.state.id,t.text=e.state.value,a.push(t)}if(e.region.value){let t=new ik;t.id=e.region.id,t.text=e.region.value,i.push(t)}}),{countryArray:[...new Map(t.map(e=>[e.id,e])).values()],stateArray:[...new Map(a.map(e=>[e.id,e])).values()],regionArray:[...new Map(i.map(e=>[e.id,e])).values()]}),_=e=>{let{name:t,value:a}=e.target;f({...g,[t]:a})};return((0,o.useEffect)(()=>{!async function(){try{let e=(await i$.default.post(l.ApiUrl.value)).data.map(e=>({...e}));h(e)}catch(e){console.error("Error fetching filters",e)}}()},[l.ApiUrl.value]),l&&l.ApiUrl.value)?(0,n.jsx)(e2.default,{theme:d,keyval:e.rendering.uid,children:(0,n.jsx)("div",{className:`ch-job-search ch-component-${r}`,children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:"1"===e.params.IsContained?"xl":"auto",className:`ch-job-search__wrap  ${p} ${x}`,children:(0,n.jsx)(eZ.Grid,{xs:12,item:!0,component:iN.Paper,className:`ch-component ch-component-${r}__bg-${u} mb-5`,children:(0,n.jsx)("form",{onSubmit:e=>{if(e.preventDefault(),Object.values(g).every(e=>""===e))window.open("https://ugl.taleo.net/careersection/public/jobsearch.ftl");else{let e="";g.country&&(e=g.country),g.state&&(e=g.state),g.region&&(e=g.region),e?window.open("https://ugl.taleo.net/careersection/public/jobsearch.ftl?keyword="+g.keyword+"&location="+e):window.open("https://ugl.taleo.net/careersection/public/jobsearch.ftl?keyword="+g.keyword)}},className:"p-5",children:(0,n.jsxs)(eZ.Grid,{container:!0,spacing:2,children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(tE.TextField,{fullWidth:!0,label:"Keyword",name:"keyword",variant:"standard",value:g.keyword,onChange:e=>{let{name:t,value:a}=e.target;f({...g,[t]:a})}})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:4,children:(0,n.jsxs)(iS.FormControl,{fullWidth:!0,variant:"standard",children:[(0,n.jsx)(iT.InputLabel,{children:"Country"}),(0,n.jsxs)(ib.Select,{name:"country",value:g.country,onChange:_,MenuProps:{PaperProps:{style:{maxHeight:300}}},children:[(0,n.jsx)(iC.MenuItem,{value:"",children:"All"}),j.sort((e,t)=>e.text>t.text?1:t.text>e.text?-1:0).map(e=>(0,n.jsx)(iC.MenuItem,{value:e.id,children:e.text},e.id))]})]})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:4,children:(0,n.jsxs)(iS.FormControl,{fullWidth:!0,variant:"standard",children:[(0,n.jsx)(iT.InputLabel,{children:"State"}),(0,n.jsxs)(ib.Select,{name:"state",value:g.state,onChange:_,MenuProps:{PaperProps:{style:{maxHeight:300}}},children:[(0,n.jsx)(iC.MenuItem,{value:"",children:"All"}),v.sort((e,t)=>
17e.text>t.text?1:t.text>e.text?-1:0).map(e=>(0,n.jsx)(iC.MenuItem,{value:e.id,children:e.text},e.id))]})]})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:4,children:(0,n.jsxs)(iS.FormControl,{fullWidth:!0,variant:"standard",children:[(0,n.jsx)(iT.InputLabel,{children:"Region"}),(0,n.jsxs)(ib.Select,{name:"region",value:g.region,onChange:_,MenuProps:{PaperProps:{style:{maxHeight:300}}},children:[(0,n.jsx)(iC.MenuItem,{value:"",children:"All"}),y.sort((e,t)=>e.text>t.text?1:t.text>e.text?-1:0).map(e=>(0,n.jsx)(iC.MenuItem,{value:e.id,children:e.text},e.id))]})]})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,container:!0,alignItems:"center",justifyContent:{xs:"center",md:"flex-end"},children:(0,n.jsx)(aX.Button,{type:"submit",size:"large",className:`ch-button rounded  ch-component-${r}__button-${u}`,color:"primary",children:(0,n.jsx)(e6.Typography,{variant:"body2",children:"Search"})})})]})})})})})}):(0,n.jsx)(tV.DatasourceMissing,{componentName:"Job Search",isEditing:c.mode.isEditing})}],24683);var iL=e.i(24683);e.s(["Default",0,e=>
17{let[t,a]=(0,o.useState)(e?.fields?.Height?.value),{page:i}=(0,U.useSitecore)(),s=i.layout.sitecore.route?.templateId=="f992d425-ed48-49c8-9ce2-5da9c7508120",l=(0,o.useRef)(null),r=()=>{let e=l.current;e&&a(e.clientHeight)};if((0,o.useEffect)(()=>{let e=l.current;return e&&e.addEventListener("load",r),()=>{e&&e.removeEventListener("load",r)}},[]),e.fields?.Link?.value){let a=e?.fields?.Link.value.href;if(s){let e=i.layout.sitecore.route?.fields?.Address;""!=e.value&&(a=a+"?property="+e.value)}let r=(0,e3.getComponentSelectedTheme)(i.siteName,e.params);return(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:"auto",children:[i.mode.isEditing?(0,n.jsxs)("div",{children:["Jotform Url: ",(0,n.jsx)(ez.Link,{field:e?.fields?.Link}),(0,n.jsx)("br",{}),(0,n.jsx)("br",{})]}):null,(0,n.jsx)("div",{className:"ch-jot-form--wrap",style:{paddingTop:t},children:(0,n.jsx)("iframe",{ref:l,src:a,className:"ch-jot-form",style:{width:"100%",height:e?.fields?.Height?e?.fields?.Height.value:"100%"},frameBorder:"0"})})]})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"JotForm",isEditing:i.mode.isEditing})}],99097);var iw=e.i(99097),iE=e.i(50287),iI=e.i(67849);let iP=e=>{let t=(e=>{let t=[];for(let a=0;a<e.length;a+=3){let i=e.slice(a,a+3);t.push(i)}return t})(e.items),a=({value:e,maxLength:t})=>{let a;return(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:(a=iI.default.sanitize(e,{USE_PROFILES:{html:!0}})).length<=t?a:a.slice(0,t)+"..."}})},i=({text:t,fullName:i,title:s})=>{let[l,r]=(0,o.useState)(!1),[c,d]=(0,o.useState)(),m=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let e=()=>{m.current&&d(m.current.clientHeight)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[t,l]),(0,n.jsxs)("div",{className:`ch-employee-list__profile--body ch-component ${l?`ch-component-${e.compClass}__bg-${e.themeName}`:""}`,children:[(0,n.jsxs)("div",{className:"ch-employee-list__profile--body-head",children:[(0,n.jsx)(e6.Typography,{variant:"h5",className:`ch-component-${e.compClass}__title-${e.themeName} mb-0`,children:(0,n.jsx)(eJ.Text,{field:i})}),(0,n.jsx)(e6.Typography,{variant:"body1",className:`ch-component-${e.compClass}__label-${e.themeName}`,children:(0,n.jsx)(eJ.Text,{field:s})})]}),e.isEditing?(0,n.jsx)("div",{className:"ch-employee-list__profile--content ch-rich-text",children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-component-${e.compClass}__text-${e.themeName} ch-rich-text`,children:(0,n.jsx)(e1.RichText,{field:t})})}):(0,n.jsxs)("div",{className:"ch-employee-list__profile--content",children:[(0,n.jsx)(iE.Collapse,{in:l,collapsedSize:c,children:(0,n.jsx)(e6.Typography,{variant:"body2",component:"div",className:`ch-component-${e.compClass}__text-${e.themeName} ch-rich-text`,children:l?(0,n.jsx)(e1.RichText,{field:t}):(0,n.jsx)("div",{ref:m,children:(0,n.jsx)(a,{value:t.value,maxLength:200})})})}),t.value.length>200?(0,n.jsx)("span",{className:`ch-employee-list__profile--readmore ch-component-${e.compClass}__link-${e.themeName} ${l?"active":""}`,onClick:()=>{r(!l)},children:l?"Read Less":"Read More"}):null]})]})},s=t.map((e,t)=>(0,n.jsx)(eZ.Grid,{container:!0,mb:{xs:0,md:3,lg:5},columnSpacing:5,children:e.map((e,t)=>(0,n.jsx)(eZ.Grid,{item:!0,mb:{xs:2.5,lg:0},xs:12,md:6,lg:4,children:(0,n.jsxs)("div",{className:"ch-component ch-employee-list__block",children:[(0,n.jsx)("div",{className:"ch-employee-list__profile--pic",children:(0,n.jsx)(tm.Image,{field:e.image?.value,alt:e.fullName?.value.value,width:720,height:630})}),(0,n.jsx)("div",{children:(0,n.jsx)(i,{text:e.description?.value,fullName:e.fullName?.value,title:e.title?.value})})]})},t))},t));return e.items&&e.items.length>0?(0,n.jsx)(eZ.Grid,{container:!0,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:s})}):(0,n.jsx)(n.Fragment,{})};e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),{page:a}=(0,U.useSitecore)(),i="1"===e.params.IsContained,s=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",l=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",r=(0,e3.getComponentSelectedTheme)(a.siteName,e.params);if(e.fields?.data?.datasource){let o=e.fields.data.datasource;return(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-employee-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:i?"xl":"auto",className:`ch-employee-list__wrap  ${s} ${l}`,children:(0,n.jsx)(iP,{items:o.children?.results,isEditing:a.mode.isEditing,themeName:r||t,compClass:"employeeList"})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Employee List",isEditing:a.mode.isEditing})}],55647);var iG=e.i(55647);let iR=e=>(0,n.jsxs)("div",{className:"featured-slide__item news",children:[(0,n.jsx)("div",{className:`featured-slide__thumb border-top ch-component-${e.compClass}__border-${e.themeName}
17`,children:e.isEditing?(0,n.jsx)("img",{src:e.OpenGraphImageUrl?.value?.src??"",alt:e.Title.value,width:720,height:530}):(0,n.jsx)("a",{href:e.Url,children:(0,n.jsx)("img",{src:e.OpenGraphImageUrl?.value?.src??"",alt:e.Title.value,width:720,height:530})})}),(0,n.jsxs)("div",{className:`featured-slide__content ch-component-${e.compClass}__bg-${e.themeName}`,children:[(0,n.jsx)("div",{children:(0,n.jsx)("a",{href:e.Url,className:`ch-component-${e.compClass}__text-${e.themeName} featured-slide__link`,children:(0,n.jsx)(e6.Typography,{variant:"h5",component:"h5",children:(0,n.jsx)(eJ.Text,{field:e.OpenGraphTitle?e.OpenGraphTitle:e.Title})})})}),(0,n.jsx)("div",{children:(0,n.jsx)(e6.Typography,{variant:"body1",component:"span",className:`ch-component-${e.compClass}__text-${e.themeName} featured-slide__description`,children:(0,n.jsx)(eJ.Text,{field:e.OpenGraphDescription})})})]})]}),iD=e=>{let t=(0,tZ.useTheme)(),a=(0,tX.useMediaQuery)(t.breakpoints.up("lg")),i=(0,tX.useMediaQuery)(t.breakpoints.between("md","lg")),s=(0,o.useRef)(null),l=(0,t1.default)(),r={dots:!1,prevArrow:(0,n.jsx)(e=>{let{className:t,onClick:a,compClass:i,themeName:s}=e;return(0,n.jsx)("div",{className:`${t} ch-component-${i}__title-${s}`,onClick:a,children:"Prev"})},{compClass:e.compClass,themeName:e.themeName}),nextArrow:(0,n.jsx)(e=>{let{className:t,onClick:a,compClass:i,themeName:s}=e;return(0,n.jsx)("div",{className:`${t} ch-component-${i}__title-${s}`,onClick:a,children:"Next"})},{compClass:e.compClass,themeName:e.themeName}),slidesToShow:a?3.5:i?2.5:1.5,slidesToScroll:1,infinite:!1};if(e.items&&e.items.length>0){let t=`featured-slide ${e.items.length>
17(a?3:i?2:1)?"infinite":""}`;return(0,n.jsx)("div",{"data-portrait":l,children:(0,n.jsx)(t0.default,{...r,ref:s,className:t,children:e.items.map((t,a)=>(0,n.jsx)(iR,{Title:t.fields.Title,Url:t.url,OpenGraphTitle:t.fields.OpenGraphTitle,OpenGraphImageUrl:t.fields.OpenGraphImageUrl,Published_Date:t.fields.Published_Date,OpenGraphDescription:t.fields.OpenGraphDescription,compClass:e.compClass,themeName:e.themeName,isEditing:e.isEditing},a))})})}return(0,n.jsx)(n.Fragment,{})};e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="caseStudyList",{page:i}=(0,U.useSitecore)(),s="1"===e.params.IsContained,l=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",r=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",o=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),c=o||t,d=i.mode.isEditing,m=i.locale;if(e?.fields){let t=e?.fields?.SelectedCaseStudy;return(0,n.jsx)(e2.default,{theme:o,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-featured-items-list",children:(0,n.jsx)("div",{children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:s?"xl":"auto",className:`ch-featured-items-list__wrap ${l} ${r}`,children:[(0,n.jsxs)(eZ.Grid,{item:!0,container:!0,xs:12,justifyContent:{md:"space-between"},columnSpacing:3,alignItems:"center",flexWrap:{xs:"wrap",md:"nowrap"},children:[(0,n.jsx)(eZ.Grid,{item:!0,xs:12,container:!0,maxWidth:"xl",justifyContent:{xs:"center",md:"start"},mb:{xs:3,md:0},flexGrow:{xs:0,md:1},children:(0,n.jsx)(e6.Typography,{variant:"h4",component:"h4",textAlign:{xs:"center",md:"start"},className:`ch-title-link__title ch-component-${a}__title-${c} mb-0`,children:(0,n.jsx)(eJ.Text,{field:e.fields.Title})})}),d?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(ez.Link,{field:e.fields.ViewMore,className:`ch-featured-items-list__link  ch-component-${a}__link-${c} arrow`})}):e.fields.ViewMore?.value?.text?(0,n.jsx)(eZ.Grid,{item:!0,xs:12,md:!0,container:!0,justifyContent:{xs:"center",md:"end"},children:(0,n.jsx)(th.default,{locale:m,className:`ch-featured-items-list__link  ch-component-${a}__link-${c} arrow`,href:{pathname:e.fields.ViewMore?.value?.href},target:e.fields.ViewMore?.value?.target,children:e.fields.ViewMore?.value?.text})}):null]}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(tA.Divider,{})}),(0,n.jsx)(eZ.Grid,{item:!0,xs:12,mt:5,children:(0,n.jsx)(iD,{items:t,isEditing:i.mode.isEditing,compClass:a,themeName:c})})]})})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Feature CaseStudy - Manual",isEditing:i.mode.isEditing})}],86039);var iF=e.i(86039),iM=e.i(62601),iO=e.i(51326),iV=e.i(32283);e.s(["Column3",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",expertise:"",company:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entries());h({keyphrase:e.q?.toString()??"",expertise:e.expertise?.toString()??"",company:e.company?.toString()??""})};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:18,defaultSortType:"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultCompany:m.company,defaultExpertise:m.expertise,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:"18",PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:iO.CaseStudySearchListing3Column,compClass:"casestudysearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})},"Column4",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",expertise:"",company:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entr
17ies());h({keyphrase:e.q?.toString()??"",expertise:e.expertise?.toString()??"",company:e.company?.toString()??""})};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:16,defaultSortType:"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultCompany:m.company,defaultExpertise:m.expertise,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:"16",PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:iV.CaseStudySearchListing4Column,compClass:"casestudysearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})},"Default",0,e=>{let t=(0,e5.useThemeName)(),a="1"===e.params.IsContained,i=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",s=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",{page:l}=(0,U.useSitecore)(),r=(0,e3.getComponentSelectedTheme)(l.siteName,e.params),c=r||t,d=(0,ep.useRouter)(),[m,h]=(0,o.useState)({keyphrase:"",expertise:"",company:""});return(0,o.useEffect)(()=>{let e=()=>{let e=Object.fromEntries(new URL(window.location.href).searchParams.entries());h({keyphrase:e.q?.toString()??"",expertise:e.expertise?.toString()??"",company:e.company?.toString()??""})};e();let t=t=>{t!==d.asPath&&setTimeout(()=>{e()},100)};return d.events.on("routeChangeComplete",t),()=>{d.events.off("routeChangeComplete",t)}},[d]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(e2.default,{theme:r,keyval:e.rendering.uid,children:(0,n.jsx)("section",{className:"ch-search-list",children:(0,n.jsx)(eZ.Grid,{container:!0,maxWidth:a?"xl":"auto",className:`ch-search-results__wrap  ${i} ${s}`,children:(0,n.jsx)(eZ.Grid,{item:!0,xs:12,children:(0,n.jsx)(t$.default,{rfkId:"results_common",defaultItemsPerPage:Number(e.fields.ItemsPerPage.value),defaultSortType:"publisheddate_desc",defaultPage:1,defaultKeyphrase:m.keyphrase,defaultCompany:m.company,defaultExpertise:m.expertise,UseAllFacets:e.fields.UseAllFacets,IncludeFacets:e.fields.IncludeFacets,ContentTypeFilters:e.fields.ContentTypeFilters,SearchResultsPage:e.fields.SearchResultsPage,ItemsPerPage:e.fields.ItemsPerPage,PlaceholderText:e.fields.PlaceholderText,ResetLabel:e.fields.ResetLabel,SearchForLabel:e.fields.SearchForLabel,ResultsLabel:e.fields.ResultsLabel,TotalItemsLabel:e.fields.TotalItemsLabel,LoadMoreLabel:e.fields.LoadMoreLabel,Site:l.siteName,ListingComponent:iM.CaseStudySearchListingDefault,compClass:"casestudysearchResults",themeName:c},`${m.keyphrase}-search`)})})},JSON.stringify(m))})})}],34004);var iA=e.i(34004);e.s(["Default",0,()=>{let{page:e}=(0,U.useSitecore)(),t=e.layout.sitecore.route?.fields,a=t?.LPoi_Latitude,i=t?.LPoi_Longitude,s=t?.Company,r=t?.Expertise,o=t?.Published_Date?.value,c="";s&&s.length>0&&(c=Array.prototype.map.call(s,function(e){return e.fields.Title.value}).join(","));let d="";r&&r.length>0&&(d=Array.prototype.map.call(r,function(e){return e.fields.Title.value}).join(","));let m="";return a?.value&&i?.value&&(m=a.value+","+i.value),(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(l.default,{children:[c?(0,n.jsx)("meta",{name:"company",content:c}):"",d?(0,n.jsx)("meta",{name:"expertise",content:d}):"",m?(0,n.jsx)("meta",{name:"geolocation",content:m}):"",o&&"0001-01-01T00:00:00Z"!=o?(0,n.jsx)("meta",{name:"publisheddate",content:o}):""]})})}],59076);var iU=e.i(59076),iB=e.i(17868),iW=e.i(7756),iH=e.i(60680),iY=e.i(92258),iq=e.i(76425),iK=e.i(44390);e.s(["Default",0,e=>{let t=(0,e5.useThemeName)(),a="documentList",{page:i}=(0,U.useSitecore)(),s=(0,e3.getComponentSelectedTheme)(i.siteName,e.params),l=e.params?.RenderingIdentifier,r=i.layout.sitecore.route?.fields,[c,d]=(0,o.useState)(null),[m,h]=(0,o.useState)(),[u,p]=(0,o.useState)("asc"),[x,g]=(0,o.useState)(!1),f=s||t,[j,v]=(0,o.useState)(10),y=e.params?.TopSpacing?e.params?.TopSpacing:"top-medium",_=e.params?.BottomSpacing?e.params?.BottomSpacing:"bottom-medium",N={"title.text":"title",DocumentNo:"documentno",regi
17on:"region",version:"version",effectivedate:"effectivedate",issuedate:"issuedate",expirydate:"expirydate",filename:"filename",category:"category",discipline:"discipline",status:"status",documentType:"documentType",externalLink:"externalLink",tsNumber:"tsNumber"},S=e=>{let t=m===e&&"asc"===u;h(e),p(t?"desc":"asc")};function T(e,t,a){return e?[...e].sort((e,i)=>{if(t){let s=N[t],n="title"===s?String(e[s]?.text):String(e[s]),l="title"===s?String(i[s]?.text):String(i[s]);if("effectivedate"===s||"issuedate"===s||"expirydate"===s){let e=n?(0,an.default)(n,"YYYY-MM-DD").toDate():null,t=l?(0,an.default)(l,"YYYY-MM-DD").toDate():null;return e&&t?"asc"===a?e.getTime()-t.getTime():t.getTime()-e.getTime():n.localeCompare(l)}return"asc"===a?n.localeCompare(l):l.localeCompare(n)}return 0}):e}let b=o.default.useMemo(()=>c?.result?(m?T(c.result,m,u):c.result).slice(0,0+j):c?.result,[c?.result,m,u,j]);if((0,o.useEffect)(()=>{if(r&&!x){g(!0);let e=r?.Category,t=r?.Discipline,a=r?.DocumentType,i=r?.Status,s=r?.DaystoExpiry,n=r?.DefaultSortField?.value;if(e||t||a||i){let l=new URLSearchParams({categoryId:e?.id||"",disciplineId:t?.id||"",documentTypeId:a?.id||"",statusId:i?.id||"",daysToExpiry:s?.value||"",itemPerPage:er.default.env.NEXT_PUBLIC_DOCUMENT_LIBRARY_PAGESIZE||"20",endCursor:""});fetch(`/api/getdocumentlist?${l.toString()}`).then(e=>e.json()).then(e=>{d({result:n?T(e.result,n,u):e.result,pageInfo:e.pageInfo}),g(!1)}).catch(e=>{console.log(e),g(!1)})}}},[r]),r){let t=r?.ShowRegion?.value,i=r?.ShowVersion?.value,o=r?.ShowEffectiveDate?.value,d=r?.ShowExpiryDate?.value,h=r?.ShowIssueDate?.value,p=r?.ShowTsNumber?.value;return(0,n.jsx)(e2.default,{theme:s,keyval:l||void 0,children:(0,n.jsx)("div",{className:`ch-document-list ch-component-${a}`,children:(0,n.jsxs)(eZ.Grid,{container:!0,maxWidth:"1"===e.params.IsContained?"xl":"auto",className:`ch-document-list__wrap  ${y} ${_}`,children:[x?(0,n.jsx)(eZ.Grid,{children:(0,n.jsx)(e6.Typography,{variant:"body1",children:"Loading..."})}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eZ.Grid,{xs:12,mb:2,children:(0,n.jsxs)(e6.Typography,{variant:"body1",children:["Available records ",c?.pageInfo.total]})}),(0,n.jsx)(eZ.Grid,{xs:12,item:!0,className:" mb-5",children:(0,n.jsxs)(iB.Table,{children:[(0,n.jsx)(iY.TableHead,{children:(0,n.jsxs)(iq.TableRow,{children:[(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(iK.TableSortLabel,{active:"DocumentNo"===m,direction:u,onClick:()=>S("DocumentNo"),children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${a}__title-${f} m-0`,children:"Document No"})})}),(0,n.jsx)(iH.TableCell,{width:"60%",children:(0,n.jsx)(iK.TableSortLabel,{active:"title.text"===m,direction:u,onClick:()=>S("title.text"),children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${a}__title-${f} m-0`,children:"Title"})})}),i&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(iK.TableSortLabel,{active:"version"===m,direction:u,onClick:()=>S("version"),children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${a}__title-${f} m-0`,children:"Version"})})}),t&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(iK.TableSortLabel,{active:"region"===m,direction:u,onClick:()=>S("region"),children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${a}__title-${f} m-0`,children:"Region"})})}),o&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(iK.TableSortLabel,{active:"effectivedate"===m,direction:u,onClick:()=>S("effectivedate"),children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${a}__title-${f} m-0`,children:"Effective Date"})})}),d&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(iK.TableSortLabel,{active:"expirydate"===m,direction:u,onClick:()=>S("expirydate"),children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${a}__title-${f} m-0`,children:"Expiry Date"})})}),h&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(iK.TableSortLabel,{active:"issuedate"===m,direction:u,onClick:()=>S("issuedate"),children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${a}__title-${f} m-0`,children:"Issue Date"})})}),p&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(iK.TableSortLabel,{active:"tsNumber"===m,direction:u,onClick:()=>S("tsNumber"),children:(0,n.jsx)(e6.Typography,{variant:"h6",className:`ch-component ch-component-${a}__title-${f} m-0`,children:"TS Number"})})})]})}),(0,n.jsx)(iW.TableBody,{children:b?.map((e,s)=>(0,n.jsxs)(iq.TableRow,{children:[(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(e6.Typography,{variant:"body2",children:e.documentno})}),(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(e6.Typography,{variant:"body2",children:(0,n.jsx)("a",{href:""===e.externalLink?e.documentUrl:e.externalLink,rel:e.title?.text,target:"_blank",className:`ch-document-list__link ch-component ch-component-${a}__link-${f}`,children:e.title?.text})})}),i&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(e6.Typography,{variant:"body2",children:e.version})}),t&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(e6.Typography,{variant:"body2",children:e.region})}),o&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(e6.Typography,{variant:"body2",children:e.effectivedate&&(0,an.default)(e.effectivedate).format("DD/MM/YYYY")})}),d&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(e6.Typography,{variant:"body2",children:e.expirydate&&(0,an.default)(e.expirydate).format("DD/MM/YYYY")})}),h&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(e6.Typography,{variant:"body2",children:e.issuedate&&(0,an.default)(e.issuedate).format("DD/MM/YYYY")})}),p&&(0,n.jsx)(iH.TableCell,{children:(0,n.jsx)(e6.Typography,{variant:"body2",children:e.tsNumber})})]},s))})]})})]}),j<(c?.result?.length||0)&&!x&&(0,n.jsx)(eZ.Grid,{children:(0,n.jsx)(aX.Button,{onClick:()=>void v(e=>e+10),size:"large",className:`ch-button rounded outlined ch-component ch-component-${a}__button-${f}`,variant:"outlined",color:"primary",children:(0,n.jsxs)(e6.Typography,{variant:"body1",children:[(0,n.jsx)("span",{className:"me-3",children:"Load more"}),(0,n.jsx)("i",{className:"icon-plus"})]})})})]})})})}return(0,n.jsx)(tV.DatasourceMissing,{componentName:"Document Listing",isEditing:i.mode.isEditing})}],94022);var iz=e.i(94022);let iJ=new Map([["BYOCWrapper",eC],["FEaaSWrapper",ew],["Form",({params:e,rendering:t})=>{var a,i,s,n,l;let r=null==e?void 0:e.RenderingIdentifier,[c,d]=(0,o.useState)(!1),[m,h]=(0,o.useState)(""),u=(0,U.useSitecore)(),p=(0,o.useRef)(null),x=u.page.mode.isEditing;return((0,o.useEffect)(()=>{var t,a,i,s;if(!m){let n=null==(a=null==(t=u.api)?void 0:t.edge)?void 0:a.clientContextId;if(!n)return void console.warn(`${eW.MV_006}. Form cannot be loaded properly on the client`);eY(n,e.FormId,null==(s=null==(i=u.api)?void 0:i.edge)?void 0:s.edgeUrl).then(h).catch(()=>{x&&console.error(`Failed to load form with id ${e.FormId}. Check debug logs for content-sdk:form for more details. ${eW.CONTACT_SUPPORT}`),d(!0)})}},[m,x,e.FormId,null==(i=null==(a=u.api)?void 0:a.edge)?void 0:i.clientContextId,null==(n=null==(s=u.api)?void 0:s.edge)?void 0:n.edgeUrl]),(0,o.useEffect)(()=>{m&&p.current&&(p.current.innerHTML=m,eH(p.current),x||eK()||eq(p.current,t.uid))},[m,x,t.uid]),x&&c)?o.default.createElement(q.ErrorComponent,{message:"There was a problem loading this section"}):o.default.createElement("div",{ref:p,className:null==(l=e.styles)?void 0:l.trimEnd(),id:r||void 0})}],["Title",{...eX}],["RowSplitter",{...e0}],["RichText",{...e7}],["Promo",{...te}],["PartialDesignDynamicPlaceholder",{...tt}],["PageContent",{...ti}],["Navigation",{...tr}],["LinkList",{...tc}],["LanguageSelection",{...td}],["Image",{...tp}],["ContentBlock",{...tf}],["Container",{...tv}],["ColumnSplitter",{...ty}],["ChThemeProvider",{...e2}],["PageScript",{...tS}],["MetaData",{...tT}],["GTM",{...tb}],["SiteSearchListing",{...tC}],["SearchResults",{...tL}],["SearchBox",{...tI}],["SearchResultsWidget",{...t$}],["PublishedDateResultsWidget",{...tP}],["GeoLocationResultsWidget",{...tG}],["useSortingOptions",{...tD}],["SearchTypes",{...tF}],["SearchConstants",{...tM}],["FeatureTypes",{...tO}],["PropertyFilter",{...tW}],["CommunityListing",{...tH}],["ProjectSearchResults",{...tz}],["ProjectSearchListingDefault",{...tY}],["ProjectSearchListing4Column",{...tK}],["ProjectSearchListing3Column",{...tq}],["ProjectDetail",{...tQ}],["ManualFeatureProjects",{...t4}],["GeoFeatureProjects",{...t7}],["GeoFeatureProjectListing",{...t6}],["YtPlayer",{...t8}],["VimeoPlayer",{...t9}],["TitleTextLink",{...ae}],["TitlePageContent",{...at}],["Ticker",{...as}],["Tags",{...ao}],["Tab",{...ah}],["Stats",{...ap}],["Social",{...af}],["Lifestyle",{...av}],["ImageCardList",{...aN}],["Iframe",{...aS}],["HeroCarouselWithForm",{...aw}],["HeroCarousel",{...aG}],["GoogleMaps",{...aF}],["FeaturedContent",{...aV}],["CustomTitle",{...aA}],["CustomRichText",{...aU}],["CustomPageContent",{...aB}],["ContentList",{...aQ}],["CardList",{...a1}],["BrandLogo",{...a3}],["NewsSearchResults",{...a7}],["NewsSearchListingDefault",{...a4}],["NewsSearchListing4Column",{...a5}],["NewsSearchListing3Column",{...a6}],["NewsDetail",{...a8}],["ManualFeatureNews",{...it}],["FeatureNewsPublishedDate",{...ii}],["FeatureNewsListingPublishedDate",{...ia}],["SearchComp",{...is}],["PrimaryNavigation",{...ir}],["Header",{...ic}],["FooterNavigation",{...im}],["Footer",{...ih}],["Breadcrumb",{...ix}],["VideoSearchResults",{...ij}],["VideoSearchListing",{...ig}],["Video",{...iv}],["PublicationSearchResults",{...i_}],["PublicationSearchListing",{...iy}],["JobSearch",{...iL}],["JotFormEmbed",{...ab}],["JotForm",{...iw}],["EmployeeList",{...iG}],["ManualFeatureCaseStudy",{...iF}],["CaseStudySearchResults",{...iA}],["CaseStudySearchListingDefault",{...iM}],["CaseStudySearchListing4Column",{...iV}],["CaseStudySearchListing3Column",{...iO}],["CaseStudyDetail",{...iU}],["DatasourceMissing",{...tV}],["DocumentListing",{...iz}]]);e.s(["default",0,({children:t,componentProps:a,page:i})=>(0,n.jsx)(ef.ComponentPropsContext,{value:a||{},children:(0,n.jsx)(U.SitecoreProvider,{componentMap:iJ,api:ed.default.api,page:i,loadImportMap:()=>e.A(6820),children:t})})],71946)}]);

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.