1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3671],{40257:function(e,t,i){"use strict";var n=i(97997),a=i(31084),o=i(90516),r=i(46339),l=i(34394);t.Z=e=>{var t,i,c;return(0,n.BX)("div",{className:"js-top-fixed-cta text-center not-prose c-px-4 pt-5 bg-gray relative md:ml-6 max-w-[16.625rem] pb-[18.125rem] ".concat((null==e?void 0:e.version)==="desktop"?"hidden md:block":"block md:hidden c-mt-4"),style:{backgroundImage:"url(".concat((0,r.sc)(null==e?void 0:null===(t=e.background_image)||void 0===t?void 0:t.url,{width:384}),")"),backgroundSize:"contain",backgroundPosition:"center bottom",backgroundRepeat:"no-repeat"},children:[(0,n.tZ)("h6",{className:"text-[#849AA8] text-[0.75rem] mt-[0.625rem] mb-[1.625rem]",children:"Case studies"}),(0,n.tZ)(l.nA,{condition:null==e?void 0:null===(c=e.title)||void 0===c?void 0:null===(i=c[0])||void 0===i?void 0:i.text,children:(0,n.tZ)(a.Z,{className:"text-dark-green text-[1.875rem] font-serif-display font-medium leading-9",content:null==e?void 0:e.title})}),(0,n.tZ)(l.nA,{condition:null==e?void 0:e.cta_label,children:()=>(0,n.tZ)(o.Z,{link:null==e?void 0:e.cta_link,label:null==e?void 0:e.cta_label,linkStyles:"tdl-button tdl-button--solid shadow tracking-px leading-none c-mt-5 flex justify-center items-center text-white text-center uppercase font-bold text-xs border-0 cursor-pointer mx-2 py-4",iconStyles:"fa ml-1.5 leading-none text-sm",icon:null==e?void 0:e.cta_icon})})]})}},4826:function(e,t,i){"use strict";i.d(t,{H:function(){return canonicalUrl}});var n=i(87347);let a="https://thedecisionlab.com",o=[{internal:/^\/languages\/es-es(?=\/|$)/,public:"/es"},{internal:/^\/languages\/fr-ca(?=\/|$)/,public:"/fr"},{internal:/^\/languages\/en-ca(?=\/|$)/,public:""}];function canonicalUrl(e){if("string"!=typeof e||0===e.length)return a;let t=e.split("?")[0].split("#")[0];for(let{internal:e,public:i}of o)if(e.test(t)){t=t.replace(e,i);break}return t.length>1&&t.endsWith("/")&&(t=t.slice(0,-1)),"/"===(t=(0,n.toParentedPath)(t))||""===t?a:"".concat(a).concat(t)}},83671:function(e,t,i){"use strict";i.r(t),i.d(t,{BiasListCard:function(){return BiasListCard},__N_SSG:function(){return f}});var n=i(97997),a=i(11720),o=i(34394),r=i(31084),l=i(90516),c=i(40257),s=i(38528),d=i(81845),u=i(11163),m=i(9008),h=i.n(m),p=i(86974),v=i(52898),b=i.n(v),g=i(4826);let _="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),getBiasTitle=e=>{var t,i,n,a;return(null==e?void 0:null===(a=e.data)||void 0===a?void 0:null===(n=a.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())||""};var f=!0;t.default=function(e){var t,i,l,m,v,f;let{page:x,biases:w,hreflangs:y,defaultSidebar:Z}=e,k=(0,u.useRouter)(),[N,C]=(0,a.useState)(""),[L,S]=(0,a.useState)(""),B=(0,a.useMemo)(()=>{let e=N.trim().toLowerCase();return(Array.isArray(w)?w:[]).filter(t=>{var i;let n=[getBiasTitle(t),...((null==t?void 0:null===(i=t.data)||void 0===i?void 0:i.intro_blurb)||[]).map(e=>(null==e?void 0:e.text)||"")].join(" ").toLowerCase();return!e||n.includes(e)})},[w,N]),A=(0,a.useMemo)(()=>new Set(B.map(e=>getBiasTitle(e).charAt(0).toUpperCase())),[B]),j=(0,a.useMemo)(()=>B.reduce((e,t)=>{let i=getBiasTitle(t).charAt(0).toUpperCase(),n=e[e.length-1];return n&&n.letter===i?n.biases.push(t):e.push({letter:i,biases:[t]}),e},[]),[B]);(0,a.useEffect)(()=>{let e;let updateActiveLetter=()=>{let e=Array.from(document.querySelectorAll("[data-bias-letter]"));if(!e.length){S("");return}let t=Math.min(.25*window.innerHeight,180),i=e[0].dataset.biasLetter;e.forEach(e=>{e.getBoundingClientRect().top<=t&&(i=e.dataset.biasLetter)}),S(e=>e===i?e:i)},handleScroll=()=>{cancelAnimationFrame(e),e=requestAnimationFrame(updateActiveLetter)};return updateActiveLetter(),window.addEventListener("scroll",handleScroll,{passive:!0}),window.addEventListener("resize",handleScroll),()=>{cancelAnimationFrame(e),window.removeEventListener("scroll",handleScroll),window.removeEventListener("resize",handleScroll)}},[j]);let handleLetterClick=(e,t)=>{e.preventDefault();let i=document.getElementById("biases-letter-".concat(t));i&&(S(t),i.scrollIntoView({behavior:"smooth",block:"start"}))};return(0,n.BX)(n.HY,{children:[(0,n.tZ)(h(),{children:y.map(e=>{let{rel:t,hreflang:i,href:a}=e;return(0,n.tZ)("link",{rel:t,hrefLang:i,href:a},"".concat(i,"-").concat(a))})}),(0,n.tZ)(d.P,{title:(null==x?void 0:x.seo_title)||(null==x?void 0:null===(i=x.title)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.text),description:null==x?void 0:x.seo_de
1scription,canonical:(null==x?void 0:x.canonical_overwrite)?null==x?void 0:x.canonical_overwrite:(0,g.H)(k.asPath),openGraph:{url:(null==x?void 0:x.canonical_overwrite)?null==x?void 0:x.canonical_overwrite:(0,g.H)(k.asPath)}}),(0,n.tZ)("script",{id:"json-ld",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"http://schema.org","@type":"WebPage","@id":(null==x?void 0:x.canonical_overwrite)?"".concat(null==x?void 0:x.canonical_overwrite,"/#webpage"):"".concat((0,g.H)(k.asPath),"/#webpage"),url:(null==x?void 0:x.canonical_overwrite)?null==x?void 0:x.canonical_overwrite:(0,g.H)(k.asPath),name:"List of Cognitive Biases and Heuristics - The Decision Lab",description:"Below is a list of the most important cognitive biases and heuristics in the field of behavioural science.",inLanguage:"en-CA",isPartOf:p,potentialAction:{"@type":"ReadAction",target:{"@type":"EntryPoint",urlTemplate:(0,g.H)(k.asPath)}}})}}),(0,n.BX)("main",{className:"main-pb",children:[(0,n.BX)("section",{className:"".concat(b().journey," relative flex items-center min-h-[22rem] sm:min-h-[25rem] c-py-8"),children:[(0,n.tZ)(s.Z,{className:b().journeyShader,orientation:"horizontal"}),(0,n.tZ)("div",{className:b().journeyShaderContrast,"aria-hidden":"true"}),(0,n.tZ)("div",{className:b().impactLines,"aria-hidden":"true"}),(0,n.tZ)("div",{className:"absolute inset-x-0 bottom-0 z-[3] h-[60%] pointer-events-none",style:{background:"linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.035) 18%, rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0.28) 58%, rgba(255, 255, 255, 0.52) 79%, rgba(255, 255, 255, 0.76) 100%)"},"aria-hidden":"true"}),(0,n.BX)("div",{className:"".concat(b().biasesHeroCopy," container relative z-10 flex flex-col items-center text-center"),children:[(0,n.tZ)(o.nA,{condition:null==x?void 0:null===(m=x.title)||void 0===m?void 0:null===(l=m[0])||void 0===l?void 0:l.text,children:()=>(0,n.tZ)(r.Z,{className:"".concat(b().biasesHeroTitle," text-center text-white hero-title"),content:null==x?void 0:x.title})}),(0,n.tZ)(o.nA,{condition:null==x?void 0:null===(f=x.description)||void 0===f?void 0:null===(v=f[0])||void 0===v?void 0:v.text,children:()=>(0,n.tZ)(r.Z,{className:"".concat(b().biasesHeroDescription," max-w-[48rem] mx-auto text-center text-white opacity-90 font-size-16-24 c-mt-5"),content:null==x?void 0:x.description})})]})]}),(0,n.BX)("section",{className:"relative c-pt-5",children:[(0,n.tZ)("div",{className:"absolute inset-x-0 top-0 h-[14rem] pointer-events-none",style:{background:"linear-gradient(to bottom, #e5eded 0%, rgba(234, 242, 242, 0.92) 25%, rgba(243, 247, 247, 0.62) 57%, rgba(255, 255, 255, 0) 100%)"},"aria-hidden":"true"}),(0,n.BX)("div",{className:"container relative z-10",children:[(0,n.BX)("form",{className:"relative",role:"search",onSubmit:e=>e.preventDefault(),children:[(0,n.tZ)("label",{className:"sr-only",htmlFor:"bias-search",children:"Search cognitive biases"}),(0,n.tZ)("i",{className:"absolute -translate-y-1/2 pointer-events-none fa fa-search left-5 top-1/2 text-secondary","aria-hidden":"true"}),(0,n.tZ)("input",{id:"bias-search",type:"search",value:N,onChange:e=>C(e.target.value),placeholder:"Search cognitive biases",autoComplete:"off",className:"w-full py-4 pl-12 pr-12 text-dark-green bg-white border border-gray-third rounded-sm appearance-none focus:border-primary focus:outline-none"}),N?(0,n.tZ)("button",{type:"button",onClick:()=>C(""),className:"tdl-control absolute flex items-center justify-center w-8 h-8 -translate-y-1/2 right-3 top-1/2 text-secondary hover:text-dark-green","aria-label":"Clear bias search",children:(0,n.tZ)("span",{"aria-hidden":"true",className:"text-2xl leading-none",children:"\xd7"})}):null,(0,n.BX)("p",{className:"sr-only","aria-live":"polite",children:[B.length," ",1===B.length?"bias":"biases"," found"]})]}),(0,n.BX)("div",{className:"flex items-start c-mt-5 gap-x-3 sm:gap-x-4 lg:gap-x-6",children:[(0,n.tZ)("nav",{className:"sticky top-[5.5rem] w-5 sm:w-6 lg:w-7 flex-shrink-0 self-start","aria-label":"Biases by letter",children:(0,n.tZ)("ol",{className:"flex flex-col items-center",children:_.map(e=>{let t=A.has(e),i=L===e;return(0,n.tZ)("li",{className:"h-[1.125rem]",children:t?(0,n.tZ)("a",{href:"#biases-letter-".concat(e),onClick:t=>handleLetterClick(t,e),"aria-current":i?"true":void 0,"aria-label":"Jump to biases beginning with ".concat(e),className:"block w-5 text-center text-[0.6875rem] sm:text-xs font-bold leading-[1.125rem] transition duration-150 ".concat(i?"text-primary scale-125":"text-secondary hover:text-dark-green"),children:e}):(0,n.tZ)("span",{className:"block w-5 text-center text-[0.6875rem] sm:text-xs font-bold leading-[1.125rem] text-secondary opacity-25","aria-hidden":"true",children:e})},e)})})}),(0,n.BX)("div",{className:"flex-1 w-full min-w-0",children:[j.length?j.map(e=>{let{letter:t,biases:i}=e;return(0,n.BX)("section",{id:"biases-letter-".concat(t),"data-bias-letter":t,className:"scroll-mt-[7rem]",children:[(0,n.BX)("h2",{className:"sr-only",children:["Biases beginning with ",t]}),i.map((e,t)=>(0,n.tZ)(BiasListCard,{bias:e},"".concat(null==e?void 0:e.id,"-").concat(t)))]},t)}):(0,n.BX)("div",{className:"flex flex-col items-start justify-center min-h-[18rem] p-8 bg-gray-second",children:[(0,n.tZ)("h3",{className:"text-2xl font-medium font-serif-display text-dark-green",children:"No biases match your search"}),(0,n.tZ)("p",{className:"mt-2 text-secondary",children:"Try another term or letter."}),(0,n.tZ)("button",{type:"button",onClick:()=>C(""),className:"tdl-control mt-5 text-sm font-bold uppercase tracking-px text-primary bg-grow-faded text-color-hover-primary-darken",children:"Clear search"})]}),Z?(0,n.BX)("div",{className:"flex justify-center mt-12 lg:hidden",children:[(0,n.tZ)(c.Z,{...Z}),(0,n.tZ)(c.Z,{...Z,version:"desktop"})]}):null]}),Z?(0,n.tZ)("aside",{className:"hidden lg:block sticky top-[5.5rem] self-start w-full max-w-[18.125rem] flex-shrink-0 mt-2","aria-label":"Case studies",children:(0,n.tZ)(c.Z,{...Z,version:"desktop"})}):null]})]})]})]})]})};let BiasListCard=e=>{var t,i,a,r,c,s;let{bias:d}=e;return(0,n.BX)(l.Z,{link:d,prefetch:!1,linkStyles:"flex justify-between items-center c-p-4 sm:px-[1.6rem] md:px-[2.4rem] lg:px-[1.8rem] xl:px-[2.8rem] mt-2 bg-gray-second group transition duration-200 ease-in-out hover:bg-[rgba(32,224,204,.1)]",children:[(0,n.BX)("div",{className:"min-w-0 pr-4",children:[(0,n.tZ)(o.nA,{condition:null==d?void 0:null===(a=d.data)||void 0===a?void 0:null===(i=a.title)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.text,children:()=>{var e,t,i;return(0,n.tZ)("h3",{className:"block font-light text-dark-green font-serif-display font-size-36",children:null==d?void 0:null===(i=d.data)||void 0===i?void 0:null===(t=i.title)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.text})}}),(0,n.tZ)(o.nA,{condition:null==d?void 0:null===(s=d.data)||void 0===s?void 0:null===(c=s.intro_blurb)||void 0===c?void 0:null===(r=c[0])||void 0===r?void 0:r.text,children:()=>{var e,t,i;return(0,n.tZ)("p",{className:"block mt-2 text-secondary",children:null==d?void 0:null===(i=d.data)||void 0===i?void 0:null===(t=i.intro_blurb)||void 0===t?void 0:null===(e=t[0])||void 0===e?void 0:e.text})}})]}),(0,n.tZ)("i",{className:"flex-shrink-0 transition duration-200 ease-in-out transform leading-none -translate-x-1.5 opacity-0 fa fa-long-arrow-right fa-lg text-primary group-hover:opacity-100 group-hover:translate-x-0"})]})}},52898:function(e){e.exports={journey:"sitewide-contact-section_journey__nQHZe",journeyTexture:"sitewide-contact-section_journeyTexture__kX_Po",journeyTextureAlt:"sitewide-contact-section_journeyTextureAlt__OeOXD",
1impact:"sitewide-contact-section_impact__JWxDK",journeyCompact:"sitewide-contact-section_journeyCompact__bKSvm",journeyShader:"sitewide-contact-section_journeyShader__ibkil",journeyShaderContrast:"sitewide-contact-section_journeyShaderContrast__0H_GP",contact:"sitewide-contact-section_contact__ItM6K",impactCompact:"sitewide-contact-section_impactCompact__bu6IE",impactLines:"sitewide-contact-section_impactLines__4j0CR",biasesHeroCopy:"sitewide-contact-section_biasesHeroCopy__NiTxV",biasesHeroTitle:"sitewide-contact-section_biasesHeroTitle__F6XLC",biasesHeroDescription:"sitewide-contact-section_biasesHeroDescription__xBXG_",impactContent:"sitewide-contact-section_impactContent__NvcEe",impactTitle:"sitewide-contact-section_impactTitle__PzhIt",impactLine:"sitewide-contact-section_impactLine__SC91z",impactWord:"sitewide-contact-section_impactWord__LVco2",impactVisible:"sitewide-contact-section_impactVisible__WeQcy",contactCard:"sitewide-contact-section_contactCard__hf7Ht",footerFade:"sitewide-contact-section_footerFade__zlUrh",contactIntro:"sitewide-contact-section_contactIntro__LZ_HA",contactBody:"sitewide-contact-section_contactBody__mWlfR",emailLink:"sitewide-contact-section_emailLink__ZWkZ0",contactForm:"sitewide-contact-section_contactForm__5l_vQ",formSuccess:"sitewide-contact-section_formSuccess__WYQ1V",honeypot:"sitewide-contact-section_honeypot__li6i1",formGrid:"sitewide-contact-section_formGrid__vOg1w",formWide:"sitewide-contact-section_formWide__2eFuA",formFooter:"sitewide-contact-section_formFooter__79B3C",formError:"sitewide-contact-section_formError__3XC8i"}},86974:function(e){"use strict";e.exports=JSON.parse('{"@type":"WebSite","@id":"https://thedecisionlab.com/#website","url":"https://thedecisionlab.com","name":"The Decision Lab","description":"Starting A Behavioural Science Unit","inLanguage":"en-CA","publisher":{"@type":"Organization","@id":"https://thedecisionlab.com/#organization","name":"The Decision Lab","url":"https://thedecisionlab.com","sameAs":["https://www.facebook.com/thedecisionlabtdl","https://www.instagram.com/thedecisionlab","https://www.linkedin.com/company/thedecisionlab","https://twitter.com/thedecision_lab"],"logo":{"@type":"ImageObject","@id":"https://thedecisionlab.com/#logo","inLanguage":"en-CA","url":"/images/TDL-Logo-Square.png","width":2443,"height":1557,"caption":"The Decision Lab"},"image":{"@type":"ImageObject","@id":"https://thedecisionlab.com/#logo","inLanguage":"en-CA","url":"/images/TDL-Logo-Square.png","width":2443,"height":1557,"caption":"The Decision Lab"}},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://thedecisionlab.com/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":"http://schema.org/True","valueName":"search_term_string"}}}')}}]);
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.