PageSourceSearch

https://carbonclick-dot-com.vercel.app/_next/static/chunks/7215.9dbd5a8f5f0e2921.js

js carbonclick-dot-com.vercel.app collected 2026-10-03 06:21:23 UTC 9,729 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7215],{6531:(e,l,i)=>{i.d(l,{A:()=>s});var t,r,n=i(14232);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var i=arguments[l];for(var t in i)({}).hasOwnProperty.call(i,t)&&(e[t]=i[t])}return e}).apply(null,arguments)}let s=function(e){return n.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:17,height:11,fill:"none"},e),t||(t=n.createElement("g",{fill:"current",clipPath:"url(#cc-button-logo_svg__a)"},n.createElement("path",{d:"M6.576.703h-3.2v3.322h3.2zM3.376 4.025h-3.2v3.323h3.2z"}),n.createElement("path",{d:"M6.576 7.348h-3.2v3.322h3.2zM16.175.703h-3.2v3.322h3.2zM12.976 4.025h-3.2v3.323h3.2z"}),n.createElement("path",{d:"M16.175 7.348h-3.2v3.322h3.2z"}))),r||(r=n.createElement("defs",null,n.createElement("clipPath",{id:"cc-button-logo_svg__a"},n.createElement("path",{fill:"#fff",d:"M.176.703h16v9.968h-16z"})))))}},27215:(e,l,i)=>{i.r(l),i.d(l,{default:()=>h});var t=i(37876),r=i(14232),n=i(12162),o=i(6531),s=i(19357),a=i(84772),c=i(29715);let h=({slice:e,context:l})=>{let i=r.useRef(null),h=s.A,d=r.useRef(),x=r.useRef(),p={brightyellow:"bg-brightyellow",citrusorange:"bg-citrusorange prose-h2:text-white prose-h3:text-white prose-p:text-white prose-a:text-white",white:"bg-white",offwhite:"bg-offwhite",lightgrey:"bg-lightgrey",darkgrey:"bg-darkgrey",forestgreen:"bg-forestgreen prose-h2:text-white prose-h3:text-white prose-p:text-white prose-a:text-white ",brightgreen:"bg-brightgreen",aquamarine:"bg-aquamarine",action:"bg-action prose-h2:text-white prose-h3:text-white prose-p:text-white prose-a:text-white fill-white",pink:"bg-pink prose-h2:text-white prose-h3:text-white prose-p:text-white prose-a:text-white",carbon:"bg-carbon prose-h2:text-white prose-h3:text-white prose-p:text-white prose-a:text-white"},f={brightyellow:"fill-carbon",citrusorange:"fill-white",white:"fill-carbon",offwhite:"fill-carbon",lightgrey:"fill-carbon",darkgrey:"fill-carbon",forestgreen:"fill-white",brightgreen:"fill-carbon",aquamarine:"fill-carbon",action:"fill-white",pink:"fill-white",carbon:"fill-white"},g={brightyellow:"border-brightyellow",citrusorange:"border-citrusorange",white:"border-white",offwhite:"border-offwhite",lightgrey:"border-lightgrey",darkgrey:"border-darkgrey",forestgreen:"border-forestgreen",brightgreen:"border-brightgreen",aquamarine:"border-aquamarine",action:"border-action",pink:"border-pink",carbon:"border-carbon"};return r.useEffect(()=>{e.items.length>1&&d.current.childNodes[0].click()},[e.items.length]),(0,t.jsx)("div",{className:"sector-gallery px-2 pt-16 lg:p-[100px] m-0 w-full lg:pt-[90px] lg:py-[50px] max-w-[1620px] mx-auto md:px-[30px] lg:px-[50px] xl:px-[80px] xxl:px-[100px] mt-[10px]",children:(0,t.jsxs)("div",{className:"",children:[e.items.length>1?(0,t.jsx)("div",{className:"w-full overflow-x-scroll scrollbar-hide mb-8 lg:mb-0 my-6 relative",ref:x,children:(0,t.jsx)("ul",{className:"mx-0 my-0 w-[900px] lg:w-auto lg:text-center lg:pb-[34px]",ref:d,children:e.items?.map((e,l)=>{let r=g[e.theme];return(0,t.jsx)("li",{onClick:e=>{let t,n,o,s,a;d.current.childNodes.forEach(e=>{e.classList.remove("border-citrusorange","border-brightyellow","border-aquamarine","border-lightgrey","border-pastel","font-objektivBold","border-b-[4px]")}),i.current.slickGoTo(l),e.target.classList.add(r,"font-objektivBold","border-b-[4px]"),t=document.querySelectorAll(".slick-dots li.slick-active button")[0],t?.classList.add(r.replace("border-","")),o=(n=e.target).clientWidth,s=x.current.clientWidth,a=n.offsetLeft+o/2-s/2,x.current.scrollTo({left:a,behavior:"smooth"})},className:"font-objektiv cursor-pointer inline-block mr-[30px] lg:mx-[30px] text-[18px] leading-[26px] text-carbon pb-[8px] border-0 ",children:e.sector},l)})})}):null,(0,t.jsx)(h,{...{arrows:!1,dots:!0,fade:!0,afterChange:e=>{d.current?.childNodes[e].click()},responsive:[{breakpoint:600,settings:{adaptiveHeight:!0}}]},ref:i,children:e.items?.map((l,i)=>{let r=p[l.theme]||"",s=f[l.theme]||"";return(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"relative",style:{zIndex:i+1},children:(0,t.jsx)("div",{className:`relative h-[620px] md:h-[650px] ${r} `,children:(0,t.jsxs)("div",{className:"grid grid-cols-12 relative",children:[(0,t.jsx)("div",{className:"bg-white w-[6px] h-[6px] top-0 left-0 absolute z-[10]"}),(0,t.jsxs)("div",{className:"col-span-12 lg:col-span-8 lg:h-[650px] relative",children:[(0,t.jsx)("div",{className:"py-12 lg:py-0 lg:h-[560px] lg:flex lg:items-center justify-center px-4 md:px-8 lg:px-0",children:(0,t.jsxs)("div",{className:"prose  prose-h2:text-[40px]  md:prose-h2:text-[60px]  lg:prose-h2:text-[74px]  prose-h2:leading-[40px]  md:prose-h2:leading-[60px]  lg:prose-h2:leading-[70px]  prose-h2:font-mirador  prose-h2:font-normal   prose-h2:tracking-tight prose-h2:mb-[30px] prose-h3:invisible md:prose-h3:visible prose-h3:text-[22px]  prose-h3:leading-[28px]   prose-h3:font-objektivBold prose-h3:font-normal   prose-h3:mb-[30px] md:prose-p:inline-block md:prose-p:text-[20px]  md:prose-p:leading-[30px]  lg:prose-p:text-[23px]  lg:prose-p:leading-[36px]  prose-p:font-normal prose-p:font-objektivMedium text-center max-w-none ",children:[(0,t.jsx)(n.$,{field:l.sector_intro}),(0,t.jsx)(n.$,{field:l.heading}),(0,t.jsx)("article",{className:"mx-4 lg:mx-[90px]",children:(0,t.jsx)(n.$,{field:l.description})}),e.primary.link?.link_type!=="Any"?(0,t.jsx)("div",{children:(0,t.jsxs)("a",{className:"font-objektivSemiBold no-underline cursor-pointer",href:l.link?.url?l.link.url:l.link?.uid,children:[l.link_text," ",(0,t.jsx)(o.A,{className:" relative left-[5px] -top-[2px] inline-block "+s})]})}):null]})}),(0,t.jsx)("div",{className:"lg:absolute lg:bottom-0 w-full",children:(0,t.jsx)("div",{className:"mx-auto h-[100px] overflow-x-hidden scrollbar-hide max-w-[550
1px] w-auto  ",children:(0,t.jsxs)("ul",{className:"flex justify-center opacity-75 mix-blend-multiply",children:[l.logo_link_one?.link_type!=="Any"?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(a.N,{field:l.logo_link_one,children:(0,t.jsx)(c.i,{field:l.logo_one,fallbackAlt:""})})}):l.logo_one?.url?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(c.i,{field:l.logo_one,fallbackAlt:""})}):null,l.logo_link_two?.link_type!=="Any"?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(a.N,{field:l.logo_link_two,children:(0,t.jsx)(c.i,{field:l.logo_two,fallbackAlt:""})})}):l.logo_two?.url?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(c.i,{field:l.logo_two,fallbackAlt:""})}):null,l.logo_link_three?.link_type!=="Any"?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(a.N,{field:l.logo_link_three,children:(0,t.jsx)(c.i,{field:l.logo_three,fallbackAlt:""})})}):l.logo_three?.url?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(c.i,{field:l.logo_three,fallbackAlt:""})}):null,l.logo_link_four?.link_type!=="Any"?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(a.N,{field:l.logo_link_four,children:(0,t.jsx)(c.i,{field:l.logo_four,fallbackAlt:""})})}):l.logo_four?.url?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(c.i,{field:l.logo_four,fallbackAlt:""})}):null,l.logo_link_five?.link_type!=="Any"?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(a.N,{field:l.logo_link_five,children:(0,t.jsx)(c.i,{field:l.logo_five,fallbackAlt:""})})}):l.logo_five?.url?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(c.i,{field:l.logo_five,fallbackAlt:""})}):null,l.logo_link_six?.link_type!=="Any"?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(a.N,{field:l.logo_link_six,children:(0,t.jsx)(c.i,{field:l.logo_six,fallbackAlt:""})})}):l.logo_six?.url?(0,t.jsx)("li",{className:"inline-block mx-3 justify-center",children:(0,t.jsx)(c.i,{field:l.logo_six,fallbackAlt:""})}):null]})})})]}),(0,t.jsx)("div",{className:"col-span-12 mt-0 md:mt-4 lg:mt-12 xl:mt-0 lg:col-span-4 flex items-end justify-center lg:h-[650px] lg:justify-start h-[300px]",children:(0,t.jsx)(c.i,{className:"px-6 lg:px-2 max-w-[280px] lg:max-w-[360px] min-h-[300px]",field:l.image,fallbackAlt:""})})]})})})},i)})})]})})}},84772:(e,l,i)=>{i.d(l,{N:()=>c});var t=i(37876),r=i(14232),n=i(48230),o=i.n(n);let s="Document";var a=i(20958);let c=r.forwardRef(function(e,l){let{field:i,document:r,linkResolver:n,children:c,...h}=e,{href:d,rel:x,...p}=((e,l={})=>{if(e&&("link_type"in e?(0,a.n)(e):e)){let i,t,r="target"in e?e.target:void 0,n=((e,...l)=>{var i;let t;if(!e)return null;let r="link_type"in e?e:{link_type:s,id:e.id,uid:e.uid||void 0,type:e.type,tags:e.tags,lang:e.lang,url:null==e.url?void 0:e.url,slug:null==(i=e.slugs)?void 0:i[0],...e.data&&Object.keys(e.data).length>0?{data:e.data}:{}},[n]=l;switch(t="function"==typeof n||null==n?{linkResolver:n}:{...n},r.link_type){case"Media":case"Web":return"url"in r?r.url:null;case s:if("id"in r&&t.linkResolver){let e=t.linkResolver(r);if(null!=e)return e}if("url"in r&&r.url)return r.url;return null;default:return null}})(e,l.linkResolver),o=null==n?void 0:n,a="string"==typeof o&&(t=!(i=/^(\/(?!\/)|#)/.test(o))&&!/^https?:\/\//.test(o),!i||!!t),c=l.rel?l.rel({href:o,isExternal:a,target:r}):a?"noreferrer":void 0;return{href:o,target:r,rel:null==c?void 0:c}}return{}})(i??r,{linkResolver:n,rel:"function"==typeof h.rel?h.rel:void 0}),f=("href"in h?h.href:d)||"",g=x;return"rel"in h&&"function"!=typeof h.rel&&(g=h.rel),(0,t.jsx)(o(),{ref:l,...p,...h,href:f,rel:g,children:"children"in e?c:null==i?void 0:i.text})})}}]);

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.