PageSourceSearch

https://thedecisionlab.com/_next/static/chunks/7867-d1d4ff6dfb49e619.js

js thedecisionlab.com collected 2026-09-24 15:18:51 UTC 12,517 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7867],{29932:function(e,l,t){"use strict";t.d(l,{Z:function(){return MobileArticleContents}});var i=t(97997),n=t(11720),o=t(86010),r=t(66261),d=t(41377);function MobileArticleContents(e){var l,t;let{activeSection:a,className:s,scrollLinks:c=!1,sentinelClassName:u,sections:v=[]}=e,h=(0,n.useRef)(null),[m,p]=(0,n.useState)(!1),f=(0,n.useMemo)(()=>v.map(e=>({key:c?null==e?void 0:e.to:null==e?void 0:e.id,label:null==e?void 0:e.label})).filter(e=>e.key&&e.label),[c,v]),[Z,b]=(0,n.useState)(a||(null===(l=f[0])||void 0===l?void 0:l.key)||"");if((0,n.useEffect)(()=>{a&&b(a)},[a]),(0,n.useEffect)(()=>{if(!f.some(e=>e.key===Z)){var e;b((null===(e=f[0])||void 0===e?void 0:e.key)||"")}},[Z,f]),(0,n.useEffect)(()=>{let e;let updateVisibility=()=>{e=void 0;let l=h.current;l&&p(l.getBoundingClientRect().top<=64)},scheduleUpdate=()=>{void 0===e&&(e=window.requestAnimationFrame(updateVisibility))};return scheduleUpdate(),window.addEventListener("scroll",scheduleUpdate,{passive:!0}),window.addEventListener("resize",scheduleUpdate),()=>{void 0!==e&&window.cancelAnimationFrame(e),window.removeEventListener("scroll",scheduleUpdate),window.removeEventListener("resize",scheduleUpdate)}},[]),0===f.length)return null;let g=(null===(t=f.find(e=>e.key===Z))||void 0===t?void 0:t.label)||f[0].label;return(0,i.BX)(i.HY,{children:[(0,i.tZ)("span",{ref:h,className:(0,o.Z)("block h-0",u),"aria-hidden":"true"}),m&&(0,i.tZ)("div",{className:(0,o.Z)("sticky w-screen h-[36px] article-grid-start:hidden hover:bg-primary scroll-spy-side-nav-mobile z-20 print:hidden",s),children:(0,i.tZ)(d.Z,{mobileScrollSpy:!0,children:(e,l,t)=>(0,i.BX)(i.HY,{children:[(0,i.BX)("button",{type:"button",className:"mobile-scroll-spy-section-button",...e,children:[(0,i.tZ)("span",{className:"min-w-0 flex-1 truncate pr-4 text-left text-sm font-bold uppercase",children:g}),(0,i.tZ)("i",{className:"fas fa-chevron-down dropdown-icon","aria-hidden":"true"})]}),(0,i.tZ)("div",{...l(),children:f.map(e=>c?(0,i.tZ)(r.rU,{to:e.key,spy:!0,smooth:!0,offset:-100,duration:100,onSetActive:()=>b(e.key),onClick:()=>{b(e.key),t.onClick()},className:"cursor-pointer group c-mt-2",role:t.role,children:(0,i.tZ)("span",{className:"py-0.5",children:e.label})},e.key):(0,i.tZ)("a",{href:"#".concat(e.key),onClick:()=>{b(e.key),t.onClick()},className:"cursor-pointer group c-mt-2",role:t.role,children:(0,i.tZ)("span",{className:"py-0.5",children:e.label})},e.key))})]})})})]})}},80658:function(e,l,t){"use strict";var i=t(97997),n=t(11720),o=t(34394),r=t(31084),d=t(38097),a=t.n(d),s=t(70677);l.Z=e=>{var l,t;let[d,c]=(0,n.useState)(!0),u=(0,n.useRef)(null),[v,h]=(0,n.useState)("none"),updateSize=()=>{u.current&&(c(!0),h("none"),requestAnimationFrame(()=>{let e="".concat(u.current.offsetHeight,"px");h(e),requestAnimationFrame(()=>{c(!1)})}))};return(0,n.useEffect)(()=>(updateSize(),window.addEventListener("resize",updateSize),()=>window.removeEventListener("resize",updateSize)),[]),(0,i.BX)("section",{className:"richtext-grid print:hidden",children:[(0,i.tZ)("div",{"aria-hidden":"true"}),(0,i.tZ)("div",{className:"container w-full",children:(0,i.tZ)("div",{className:e.isInsight?"":"lg:pl-[4%]",children:(0,i.BX)("section",{className:" border-t lg:max-w-10/12 xl:max-w-2/3 article-grid-start:max-w-10/12 c-pt-8 c-mt-8 border-gray-third",children:[(0,i.BX)("div",{className:"flex items-center justify-between ",children:[(0,i.tZ)("h2",{className:"text-2xl font-bold content-section-title header-bg",children:null==e?void 0:e.label}),(0,i.BX)("button",{className:"inline-block text-sm font-bold uppercase tracking-px c-mt-2 text-primary bg-grow-faded-70 text-color-hover-primary-darken",onClick:()=>c(e=>!e),children:[d?(0,s.Z)("Hide",null==e?void 0:e.lang):(0,s.Z)("Show",null==e?void 0:e.lang),(0,i.tZ)("i",{className:"fas fa-chevron-up fa-md ml-1.5 transition-transform duration-200 ease-in-out ".concat(d?"rotate-0":"-rotate-180")})]})]}),(0,i.BX)("div",{ref:u,style:d?{maxHeight:v}:{maxHeight:"250px"},className:"references-wrapper relative ".concat(a().referenceBody," ").concat(d?"":a().closed," c-mt-4"),children:[(0,i.tZ)("div",{className:"".concat(d?"hidden":""," cursor-pointer bg-gradient-to-t from-white from-15% h-[15.625rem] w-full absolute bottom-0 left-0 right-0"),onClick:()=>c(!0)}),(0,i.tZ)(o.nA,{condition:null==e?void 0:null===(t=e.references)||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.text,children:()=>(0,i.tZ)(r.Z,{className:"break-words pl-3 md:pl-2",content:null==e?void 0:e.references})})]})]})})}),(0,i.tZ)("div",{"aria-hidden":"true"})]})}},39658:function(e,l,t){"use strict";t.d(l,{gg:function(){return n},sI:function(){return localePathPrefix}});let i={"en-ca":"","fr-ca":"fr","es-es":"es"}
1,n={"en-ca":"en-CA","fr-ca":"fr-CA","es-es":"es-ES"},localePathPrefix=e=>i[e]?"/".concat(i[e]):""},17867:function(e,l,t){"use strict";var i=t(97997),n=t(11720),o=t(86010),r=t(34394),d=t(31084),a=t(90516),s=t(80658),c=t(97304),u=t(59256),v=t(81845),h=t(54260),m=t(11163),p=t(9008),f=t.n(p),Z=t(51888),b=t(76279),g=t(29932),y=t(40257),k=t(96097),x=t(40906),_=t(39714),w=t.n(_),N=t(70677),S=t(39658),B=t(4811),A=t(16154),C=t(87707),X=t(8020),E=t(4826),I=t(94736);l.Z=e=>{var l,t,p,_,L,R,H,z,P,M,T,U,q,F,Y,D,V,W;let{structuredData:j,page:O,readingTime:G,slices:J,sideNav:K,hreflangs:Q,defaultSidebar:$,fixedSidebarCTA:ee,ctaInContent:el,individualCaseStudyCTA:et,customCTAID:ei,underBodySection:en,fallbackAuthors:eo=[],lang:er="en-ca"}=e,ed=(0,m.useRouter)(),[ea,es]=(0,n.useState)(!1),ec=(0,n.useRef)(null),eu=(0,n.useRef)(null),ev=(0,n.useRef)(null),eh=(0,n.useRef)(null),{updateValue:em}=(0,X.TV)();(0,A.Z)({headerRef:eu,railInnerRef:eh,deps:[null==O?void 0:O.id]}),(0,C.Z)({frameRef:ec,railRef:ev,railInnerRef:eh,deps:[null==O?void 0:O.id,null==K?void 0:K.length]}),(0,n.useEffect)(()=>{try{let e=JSON.parse(localStorage.getItem("brain_bank")||"[]");es(Array.isArray(e)&&e.some(e=>(null==e?void 0:e.id)===(null==O?void 0:O.id)))}catch(e){es(!1)}},[null==O?void 0:O.id]);let ep=(0,n.useMemo)(()=>{var e,l,t,i,n;let o=(Array.isArray(null==O?void 0:O.short_description)?O.short_description:[]).filter(e=>{var l;return null==e?void 0:null===(l=e.text)||void 0===l?void 0:l.trim()}),r=null==o?void 0:null===(l=o[0])||void 0===l?void 0:null===(e=l.text)||void 0===e?void 0:e.trim(),d=null==O?void 0:null===(n=O.first_content_block_title)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:null===(t=i.text)||void 0===t?void 0:t.trim();return r&&d&&r===d?[]:o},[null==O?void 0:O.short_description,null==O?void 0:O.first_content_block_title]),ef=(0,n.useMemo)(()=>{var e,l,t,i,n,o,r,d,a;let s=(null==O?void 0:null===(e=O.author)||void 0===e?void 0:e.id)?O.author:null==eo?void 0:null===(l=eo[0])||void 0===l?void 0:l.author;if(!(null==s?void 0:s.id))return[];let c=null==s?void 0:null===(n=s.data)||void 0===n?void 0:null===(i=n.full_name)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.text;if(!c)return[];let u=null==s?void 0:null===(o=s.data)||void 0===o?void 0:o.linkedin,v=null==c?void 0:c.toLowerCase().includes("sekoul krastev");return[{name:c,role:(null==s?void 0:null===(r=s.data)||void 0===r?void 0:r.position_or_institution)||(null==s?void 0:null===(d=s.data)||void 0===d?void 0:d.associated_field),image:null==s?void 0:null===(a=s.data)||void 0===a?void 0:a.headshot,linkedin:u,link:v&&(null==u?void 0:u.url)?{...u,target:"_blank"}:s}]},[null==O?void 0:O.author,eo]),eZ=(0,n.useMemo)(()=>(K||[]).map((e,l)=>({to:"section-".concat(l+1),label:null==e?void 0:e.text})).filter(e=>e.label),[K]),eb=null==O?void 0:null===(R=O.industries)||void 0===R?void 0:null===(L=R[0])||void 0===L?void 0:null===(_=L.industry)||void 0===_?void 0:null===(p=_.data)||void 0===p?void 0:null===(t=p.name)||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.text,eg=(null==ei?void 0:ei.cta_label)&&et?{cta_label:ei.cta_label,cta_link:ei.cta_link,cta_icon:ei.cta_icon}:null,ey=!!((null==O?void 0:null===(H=O.sidebar_cta)||void 0===H?void 0:H.id)&&et&&eg),ek=!!(ey||$||ee);return(0,i.BX)(i.HY,{children:[(0,i.tZ)(v.P,{title:(null==O?void 0:O.seo_title)||(null==O?void 0:null===(P=O.title)||void 0===P?void 0:null===(z=P[0])||void 0===z?void 0:z.text),description:null==O?void 0:O.seo_description,canonical:(null==O?void 0:O.canonical_overwrite)?null==O?void 0:O.canonical_overwrite:(0,E.H)(ed.asPath),openGraph:{url:(null==O?void 0:O.canonical_overwrite)?null==O?void 0:O.canonical_overwrite:(0,E.H)(ed.asPath),type:"article"}}),(0,i.BX)(f(),{children:[G&&(0,i.BX)(i.HY,{children:[(0,i.tZ)("meta",{name:"twitter:label1",content:(0,N.Z)("Est. reading time",er)}),(0,i.tZ)("meta",{name:"twitter:data1",content:"".concat(G," ").concat(G>1?(0,N.Z)("minutes",er):(0,N.Z)("minute",er))})]}),Q.map(e=>{let{rel:l,hreflang:t,href:n}=e;return(0,i.tZ)("link",{rel:l,hrefLang:t,href:n},"".concat(t,"-").concat(n))})]}),j?(0,i.tZ)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,I.B)(j)}}):null,(0,i.BX)("main",{className:w().page,children:[(0,i.tZ)("article",{id:"content",children:(0,i.tZ)("div",{className:w().hero,children:(0,i.BX)("div",{ref:ec,className:(0,o.Z)(w().shell,w().frame,!ek&&w().frameWithoutAside),children:[(0,i.tZ)(b.Z,{eyebrow:(0,N.Z)("Intervention",er),lang:er,authors:ef,scrollLinks:!0,collapseIntroOnScroll:!0,
1className:w().railBelowProgressBar,tocVariant:"classic",sections:eZ,saved:ea,sharePageData:O,onSave:()=>{var e,l;let t=(0,B.Z)((0,B.c)({...O,uid:Array.isArray(null==ed?void 0:null===(e=ed.query)||void 0===e?void 0:e.uid)?ed.query.uid[0]:null==ed?void 0:null===(l=ed.query)||void 0===l?void 0:l.uid,type:(null==O?void 0:O.type)||"intervention"}));em(t),es(t.some(e=>(null==e?void 0:e.id)===(null==O?void 0:O.id)))},railRef:ev,railInnerRef:eh}),(0,i.BX)("header",{ref:eu,className:w().header,children:[(0,i.tZ)("h1",{className:(0,o.Z)(w().title,(null==O?void 0:null===(U=O.title)||void 0===U?void 0:null===(T=U[0])||void 0===T?void 0:null===(M=T.text)||void 0===M?void 0:M.length)>60&&w().titleLong),children:null==O?void 0:null===(F=O.title)||void 0===F?void 0:null===(q=F[0])||void 0===q?void 0:q.text}),ep.length>0&&(0,i.tZ)(d.Z,{className:(0,o.Z)(w().dek,w().dekAccent),content:ep,"data-editorial-dek":!0}),(0,i.BX)("div",{className:w().meta,"aria-label":(0,N.Z)("Intervention details",er),children:[eb&&(0,i.BX)("div",{children:[(0,i.tZ)("span",{children:(0,N.Z)("Industry",er)}),(0,i.tZ)("strong",{children:eb})]}),G&&(0,i.BX)("div",{children:[(0,i.tZ)("span",{children:(0,N.Z)("Reading time",er)}),(0,i.BX)("strong",{children:[G," ".concat((0,N.Z)("min read",er))]})]})]})]}),(0,i.tZ)(g.Z,{className:w().mobileContentsBar,sentinelClassName:w().mobileContentsSentinel,sections:eZ,scrollLinks:!0}),(0,i.tZ)("div",{className:(0,o.Z)(w().article,w().articleWithoutLeadImage),children:(0,i.tZ)(h.Z,{bare:!0,hideExcerpt:!0,type:"Intervention",page:O,sideNav:K,slices:J,defaultSidebar:$,fixedSidebarCTA:ee,ctaInContent:el,individualCaseStudyCTA:et,customCTAID:ei})}),ek&&(0,i.BX)("aside",{className:(0,o.Z)(w().rightSidebar,w().rightSidebarTight),"aria-label":(0,N.Z)("Related case studies and services",er),children:[ey?(0,i.tZ)(x.Z,{ctaDetails:eg,pageDetails:et,version:"desktop"}):$&&(0,i.tZ)(y.Z,{...$,version:"desktop"}),ee&&(0,i.tZ)("div",{className:w().rightSidebarFixed,children:(0,i.tZ)(k.Z,{...ee,version:"desktop"})})]})]})})}),(0,i.tZ)(r.nA,{condition:null==O?void 0:null===(D=O.sources)||void 0===D?void 0:null===(Y=D[0])||void 0===Y?void 0:Y.text,children:()=>(0,i.tZ)(s.Z,{label:(0,N.Z)("Sources",er),references:null==O?void 0:O.sources,lang:er})}),(null==O?void 0:null===(V=O.author)||void 0===V?void 0:V.id)&&(0,i.tZ)(u.Z,{authors:[{author:null==O?void 0:O.author}],lang:er}),(0,i.tZ)(r.nA,{condition:null==en?void 0:en.length,children:(0,i.tZ)(Z.Z,{underBodySection:null==en?void 0:en[0]})}),Array.isArray(null==O?void 0:O.read_next_posts)&&(null==O?void 0:null===(W=O.read_next_posts)||void 0===W?void 0:W.length)>0?(0,i.tZ)(c.Z,{items:null==O?void 0:O.read_next_posts,lang:er,backgroundColor:"bg-white",style:{marginTop:"0"},children:(0,i.tZ)(a.Z,{label:(0,N.Z)("See All",er),link:"".concat((0,S.sI)(er),"/interventions"),linkStyles:"flex shadow-primary-button items-center text-xs font-bold text-white uppercase btn-primary-darken tracking-px bg-primary rounded-sm px-3 py-[0.5625rem] xl:py-3 xl:px-4 c-mt-6 mx-auto",icon:"fa fa-long-arrow-right",iconStyles:"fa ml-1.5"})}):null]})]})}},38097:function(e){e.exports={referenceBody:"References_referenceBody__3XcZ4",closed:"References_closed__LeYnW"}}}]);

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.