1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8159],{34228:e=>{e.exports={sidebar:"sidebar_sidebar__gqg0e",nav:"sidebar_nav__LGPOB",section__item:"sidebar_section__item__ReJam",section__icon:"sidebar_section__icon__6R296",active:"sidebar_active__gpMPN",divider:"sidebar_divider___sGu6",scroll__progress:"sidebar_scroll__progress__gqpIA",scroll__progress__inner:"sidebar_scroll__progress__inner__3GvDN",read__time__icon:"sidebar_read__time__icon__LWrUJ"}},37529:e=>{e.exports={desktop:"key-insights_desktop__SFSX3",insight:"key-insights_insight__OF__d",copy:"key-insights_copy__CzcEJ",arrow:"key-insights_arrow__hlMxn",button:"key-insights_button__RiC6R",copy__container:"key-insights_copy__container__FZgfI",mobile:"key-insights_mobile__ivnZ9",mobile__insight:"key-insights_mobile__insight__9ANSA",mobile__button:"key-insights_mobile__button__KxQyH"}},45327:(e,i,s)=>{"use strict";s.d(i,{D:()=>n});let n=e=>e?new Date(24===e.length?e.replace(/(\+|-)(\d{2})(\d{2})$/,".000$1$2:$3"):e):null},61648:(e,i,s)=>{Promise.resolve().then(s.t.bind(s,27903,23)),Promise.resolve().then(s.t.bind(s,6868,23)),Promise.resolve().then(s.bind(s,83124)),Promise.resolve().then(s.t.bind(s,52619,23)),Promise.resolve().then(s.t.bind(s,41402,23)),Promise.resolve().then(s.bind(s,24437)),Promise.resolve().then(s.bind(s,36552)),Promise.resolve().then(s.bind(s,79999)),Promise.resolve().then(s.bind(s,81938)),Promise.resolve().then(s.bind(s,79821)),Promise.resolve().then(s.t.bind(s,64480,23)),Promise.resolve().then(s.bind(s,85827)),Promise.resolve().then(s.bind(s,30728)),Promise.resolve().then(s.bind(s,94792)),Promise.resolve().then(s.t.bind(s,89012,23)),Promise.resolve().then(s.t.bind(s,8574,23)),Promise.resolve().then(s.t.bind(s,84652,23)),Promise.resolve().then(s.bind(s,4895)),Promise.resolve().then(s.bind(s,80284)),Promise.resolve().then(s.bind(s,48069)),Promise.resolve().then(s.bind(s,34442)),Promise.resolve().then(s.bind(s,88557)),Promise.resolve().then(s.t.bind(s,85312,23)),Promise.resolve().then(s.t.bind(s,88349,23)),Promise.resolve().then(s.bind(s,29208)),Promise.resolve().then(s.bind(s,45630)),Promise.resolve().then(s.t.bind(s,61566,23)),Promise.resolve().then(s.bind(s,56628)),Promise.resolve().then(s.bind(s,61244)),Promise.resolve().then(s.t.bind(s,83260,23)),Promise.resolve().then(s.t.bind(s,96256,23)),Promise.resolve().then(s.t.bind(s,42622,23)),Promise.resolve().then(s.t.bind(s,58971,23)),Promise.resolve().then(s.t.bind(s,26201,23))},64480:e=>{e.exports={next__chapter:"next-chapter_next__chapter__YbvoO",inner:"next-chapter_inner__hbeiI",header:"next-chapter_header__2SM62",title:"next-chapter_title__yMg1B",introduction:"next-chapter_introduction__BolkN",button:"next-chapter_button__p8ev2"}},79821:(e,i,s)=>{"use strict";s.d(i,{default:()=>g});var n=s(95155),r=s(94394),t=s.n(r),o=s(12115),l=s(46429),c=s(20063),a=s(8885),d=s(86352),_=s(37529),h=s.n(_),m=s(82567),v=s(29963),u=s(62656),b=s(63831);function p(e){let{insights:i}=e,s=(0,o.useRef)([]);return(0,n.jsx)("div",{className:h().desktop,children:null==i?void 0:i.map((e,r)=>{let{link:t,copy:o,colour:l}=e||{};return(0,n.jsxs)("div",{className:h().insight,onMouseEnter:()=>(function(e){let i=s.current[e];i&&(window.matchMedia("(max-width: 768px)").matches||(d.CT.set(i.children,{lineClamp:"none","-webkit-line-clamp":"none"}),d.CT.to(i,{height:"auto",duration:.4,ease:"back.out(1.2)"})))})(r),onMouseLeave:()=>(function(e){let i=s.current[e];i&&(window.matchMedia("(max-width: 768px)").matches||(d.CT.to(i,{height:200,duration:.4,ease:"back.out(1.2)"}),d.CT.to(i.children,{duration:1e-4,delay:.15,lineClamp:3,"-webkit-line-clamp":3})))})(r),style:{"--bg":"mint"===l?"var(--mint)":"var(--white)","--hover":"mint"===l?"var(--white)":"var(--mint)"},children:[(0,n.jsx)(b.A,{field:t,children:(0,n.jsx)("div",{className:h().copy__container,children:(0,n.jsxs)("div",{ref:e=>{e&&(s.current[r]=e)},className:h().copy,style:{zIndex:(null==i?void 0:i.length)-r+1},children:[(0,n.jsx)(u.A,{content:o}),t.text&&(0,n.jsx)("div",{className:h().button,children:(0,n.jsx)(v.A,{link:t,border:"navy",asButton:!0})})]})})}),(0,n.jsx)("div",{className:h().arrow,children:(0,n.jsx)(m.A,{rotation:45})})]},r)})})}function x(e){let{insights:i}=e;return(0,n.jsx)("div",{className:h().mobile,children:null==i?void 0:i.map((e,i)=>{let{link:s,copy:r,colour:t}=e||{};return(0,n.jsx)("div",{className:h().mobile__insight,style:{"--bg":"mint"===t?"var(--mint)":"var(--white)","--hover":"mint"===t?"var(--white)":"var(--mint)"},children:(0,n.jsxs)(b.A,{field:s,children:[(0,n.jsx)(u.A,{content:r}),s.text&&(0,n.jsx)("div",{className:h().mobile__button,children:(0,n.jsx)(v.A,{link:s,border:"navy",asButton:!0})})]})},i)})})}function g(e){var i;let{data:s}=e,{title:r,introduction:d,number:_,key_insights:h}=s||{},{ref:m,inView:v}=(0,l.Wx)({threshold:.5,rootMargin:"-20% 0px -20% 0px"}),u=(0,a.kU)(e=>e.setCurrentSection),b=(0,c.useRouter)(),g=(0,c.usePathname)();return(0,o.useEffect)(()=>{v&&(u({hash:"",title:""}),b.replace(g,{scroll:!1}))},[v]),(0,n.jsxs)("div",{ref:m,className:"".concat(t().hero," inverse"),children:[(0,n.jsx)("p",{className:t().number,children:null==_?void 0:_.toString().padStart(2,"0")}),(0,n.jsxs)("div",{className:t().inner,children:[(0,n.jsx)("div",{className:t().top,children:(0,n.jsxs)("div",{className:t().intro,children:[(0,n.jsx)("h1",{children:r}),(0,n.jsx)("p",{children:d})]})}),(null==(i=h[0])?void 0:i.copy)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p,{insights:h}),(0,n.jsx)(x,{insights:h})]})]})]})}},81938:(e,i,s)=>{"use strict";s.d(i,{default:()=>c});var n=s(95155),r=s(12115),t=s(82696),o=s.n(t),l=s(8885);function c(e){let{children:i}=e,s=(0,r.useRef)(null),t=(0,l.kU)(e=>e.setScrollProgress);return(0,r.useEffect)(()=>{let e=()=>{if(!s.current)return;let e=s.current,i=e.getBoundingClientRect().top+window.scrollY,n=e.offsetHeight,r=window.innerHeight;t(Math.min(Math.max((window.scrollY-i)/(i+n-r-i)*100,0),100))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[t]),(0,n.jsx)("div",{ref:s,className:o().wrapper,children:i})}},82696:e=>{e.exports={wrapper:"content-wrapper_wrapper__JDH6w"}},83124:(e,i,s)=>{"use strict";s.d(i,{PrismicToolbar:()=>o});var n=s(12115),r=s(71358),t=s(20702);let o=e=>{let{repositoryName:i}=e,s=(e=>{if((0,t.e)(e))return`https://static.cdn.prismic.io/prismic.js?new=true&repo=${e}`;throw new r.C(`An invalid Prismic repository name was given: ${e}`,void 0,void 0)})(i);return(0,n.useEffect)(()=>
1{if(!document.querySelector('script[src="'.concat(s,'"]'))){let e=document.createElement("script");e.src=s,e.defer=!0,e.dataset.prismicToolbar="",e.dataset.repositoryName=i,e._evaluateScript=!1,document.body.appendChild(e)}},[i,s]),null}},85827:(e,i,s)=>{"use strict";s.d(i,{default:()=>d});var n=s(95155),r=s(34228),t=s.n(r),o=s(63831),l=s(12115),c=s(75578),a=s(8885);function d(e){let{data:i}=e,{contents_label:s,previous_chapter:r,previous_chapter_label:d,contents:_,reading_time:h}=i||{},m=(0,a.kU)(e=>e.currentSection),v=(0,a.kU)(e=>e.scrollProgress);return(0,n.jsx)("aside",{className:t().sidebar,children:(0,n.jsxs)("nav",{className:t().nav,children:[(null==r?void 0:r.slug)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("ul",{children:[(0,n.jsx)("h3",{children:null!=d?d:"Previous chapter"}),(0,n.jsx)("li",{children:(0,n.jsx)(o.A,{field:r,children:r.text})})]}),(0,n.jsx)("div",{className:t().divider})]}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("h3",{children:s}),_.map((e,i)=>{let s=e.section.url==="#".concat(m.hash);return(0,n.jsx)(l.Fragment,{children:e.section&&(0,n.jsxs)("li",{className:t().section__item,children:[(0,n.jsx)("span",{className:"".concat(t().section__icon," ").concat(s?t().active:"")}),(0,n.jsx)(o.A,{field:e.section,children:e.section.text})]})},i)})]}),(0,n.jsx)("div",{className:t().scroll__progress,children:(0,n.jsx)("div",{className:t().scroll__progress__inner,style:{width:"".concat(v,"%")}})}),h&&(0,n.jsxs)("div",{className:t().read__time,children:[(0,n.jsx)("span",{className:t().read__time__icon,children:(0,n.jsx)(c.A,{})})," ",h," min read"]})]})})}},94394:e=>{e.exports={hero:"hero_hero__FuBW5",inner:"hero_inner__xmT2e",top:"hero_top__IZcn3",intro:"hero_intro__KcuMT",number:"hero_number__3LfgH"}}},e=>{e.O(0,[325,8429,1887,5475,8872,8910,5592,335,2619,5589,1017,3954,8326,284,3778,4964,8441,1255,7358],()=>e(e.s=61648)),_N_E=e.O()}]);
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.