PageSourceSearch

https://research.contrary.com/_next/static/chunks/5504.782452fdc4a31198.js

js contrary.com collected 2026-10-02 02:36:32 UTC 10,743 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="62eb95d0-005d-4cb2-800e-b95442228658",e._sentryDebugIdIdentifier="sentry-dbid-62eb95d0-005d-4cb2-800e-b95442228658")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5504],{16799:(e,t,a)=>{a.d(t,{N:()=>r,v:()=>d});var r=function(e){return e.industry="industry",e.author="author",e.date="date",e}({});let d=[{id:"1",name:"Last 1 month"},{id:"3",name:"Last 3 months"},{id:"6",name:"Last 6 months"},{id:"12",name:"Last 1 year"},{id:"",name:"All time"}]},40509:(e,t,a)=>{a.d(t,{FeaturedTagClient:()=>c});var r=a(53950),d=a(32048),s=a(81090),i=a(95777),l=a(19052),n=a(52828);function c(e){let{tagName:t,deepDives:a,companies:c}=e,o=[!!a.length&&"".concat(a.length," ").concat(a.length>1?"Deep Dives":"Deep Dive"),!!c.length&&"".concat(c.length," ").concat(c.length>1?"Companies":"Company")].filter(e=>!!e).join(" \xb7 ");return(0,r.jsx)("div",{children:(0,r.jsxs)(d.F.Root,{dragFree:!0,children:[(0,r.jsxs)(l.w,{className:"flex items-center justify-between py-9",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-x-6 md:flex-row md:items-end",children:[(0,r.jsx)(n.o,{variant:"h2",children:t}),(0,r.jsx)(n.o,{className:"pb-1 text-light-text-secondary dark:text-dark-text-secondary",children:o})]}),(0,r.jsx)(d.F.Controls,{className:"hidden md:flex"})]}),(0,r.jsx)("div",{className:"border-y border-light-stroke-default transition-[border] dark:border-dark-stroke-default",children:(0,r.jsx)(l.w,{children:(0,r.jsxs)(d.F.List,{children:[a.map(e=>(0,r.jsx)("div",{className:"-my-px -mr-px",children:(0,r.jsx)(i.Z,{deepDive:e,variant:"wide",className:"h-full w-44 md:w-[720px]"})},e.id)),c.map(e=>(0,r.jsx)("div",{className:"-my-px -mr-px",children:(0,r.jsx)(s.I,{company:e,className:"h-full w-44 pb-3 pt-5 md:w-60 md:justify-center md:py-10"})},e.id))]})})})]})})}},60856:(e,t,a)=>{a.d(t,{u:()=>m});var r=a(53950),d=a(86351),s=a(65391),i=a.n(s),l=a(16799),n=a(35042),c=a(15107),o=a(52488);function m(e){let{deepDive:t,className:a,disabled:s,maxItems:m=1/0}=e,{createQueryString:h}=(0,c.l)();return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-wrap gap-2",a),children:i()(t.data.tags,"tag.data.industry").slice(0,m).map(e=>{var t;return d.IP(e.tag)&&d.Pu(null==(t=e.tag.data)?void 0:t.industry)?(0,r.jsx)(n.F,{disabled:s,href:"/deep-dive?".concat(h({[l.N.industry]:e.tag.data.industry})),children:e.tag.data.industry},e.tag.id):null})})}},64860:(e,t,a)=>{a.d(t,{UU:()=>n});var r=a(53425),d=a(29445);let s=JSON.parse('{"aR":"contrary-research"}'),i=a(55036).env.NEXT_PUBLIC_PRISMIC_ENVIRONMENT||s.aR,l=[],n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,a=r.UU(t||i,{routes:l,fetchOptions:{next:{tags:["prismic"]},cache:"force-cache"},...e});return d.u({client:a}),a}},75504:(e,t,a)=>{a.r(t),a.d(t,{default:()=>n});var r=a(53950),d=a(86351),s=a(69399),i=a(64860),l=a(40509);async function n(e){let{slice:t}=e,a=(0,i.UU)(),l=await a.getAllByIDs(t.items.flatMap(e=>{let{industry:t}=e;return d.IP(t)?[t.id]:[]}),{graphQuery:"{\n          industry {\n            industry\n          }\n        }"}),n=await a.getAllByType("article",{graphQuery:"{\n        article {\n          mainImage\n          title\n          tags\n          deepDive\n        }\n      }",fetchLinks:["tag.industry","author.author"],filters:[s.p.at("my.article.deepDive",!0)],orderings:[{field:"my.article.datePublished",direction:"desc"}]}),o=await a.getAllByType("company",{graphQuery:"{\n        company {\n          logo\n          name\n          industries\n        }\n      }",fetchLinks:["tag.industry"]});return(0,r.jsx)("div",{className:"space-y-14 md:space-y-24",children:l.map(e=>{let a=t.items.find(t=>d.IP(t.industry)&&e.id===t.industry.id);return(0,r.jsx)(c,{tag:e,allDeepDives:n,allCompanies:o,showDeepDives:null==a?void 0:a.show_deep_dives,showCompanies:null==a?void 0:a.show_companies},e.id)})})}function c(e){let{tag:t,showDeepDives:a,showCompanies:s,allDeepDives:i,allC
1ompanies:n}=e,c=a&&(null==i?void 0:i.filter(e=>e.data.tags.some(e=>d.IP(e.tag)&&e.tag.id===t.id))),o=s&&(null==n?void 0:n.filter(e=>e.data.industries.some(e=>d.IP(e.industry)&&e.industry.id===t.id))),m=c&&c.length,h=o&&o.length;return m||h?(0,r.jsx)(l.FeaturedTagClient,{deepDives:m?c:[],companies:h?o:[],tagName:t.data.industry}):null}},95777:(e,t,a)=>{a.d(t,{Z:()=>x,t:()=>u});var r=a(53950),d=a(86351),s=a(79869),i=a(65391),l=a.n(i),n=a(18796),c=a(52828),o=a(28042),m=a(52488),h=a(60856);function x(e){let{deepDive:t,className:a,variant:d="tail",onClick:s}=e,i=(0,o.NQ)(t).map(e=>e.author);switch(d){case"list":return(0,r.jsx)(u,{onClick:s,deepDive:t,className:a});case"square":return(0,r.jsx)(p,{deepDive:t,className:a,authorsNames:i,onClick:s});case"wide":return(0,r.jsx)(g,{onClick:s,deepDive:t,className:a});default:return(0,r.jsx)(f,{deepDive:t,className:a,authorsNames:i,onClick:s})}}function u(e){let{deepDive:t,className:a,onClick:i,title:o,description:h,subtext:x}=e;return(0,r.jsxs)("a",{href:"/report/".concat(t.uid),"data-testid":"deepDive-search-result-card-".concat(t.uid),onClick:i,className:(0,m.cn)("group flex gap-x-6 transition-colors hover:bg-light-bg-hover dark:hover:bg-dark-bg-primary",a),children:[(0,r.jsx)(s.PrismicNextImage,{field:t.data.mainImage,className:"size-12 border border-light-stroke-default bg-light-bg-hover object-contain object-center p-1.5 transition-bg-border group-hover:bg-light-bg-primary dark:border-dark-stroke-default dark:bg-dark-bg-hover dark:group-hover:bg-dark-bg-primary",fallbackAlt:"",priority:!0}),(0,r.jsxs)("div",{className:"flex flex-col justify-center",children:[(0,r.jsx)(n.s,{field:t.data.title,components:{paragraph:e=>{let{text:t}=e;return(0,r.jsx)(c.o,{variant:"h5",children:o||t})}}}),(0,r.jsx)(c.o,{className:"text-light-text-secondary dark:text-dark-text-secondary",children:h||l()(t.data.tags,"tag.data.industry").flatMap(e=>{var t;return d.IP(e.tag)&&d.Pu(null==(t=e.tag.data)?void 0:t.industry)?[e.tag.data.industry]:[]}).join(", ")}),!!x&&(0,r.jsx)(c.o,{className:"mt-2 text-light-text-secondary dark:text-dark-text-secondary",children:x})]})]})}function g(e){let{deepDive:t,className:a,onClick:d}=e;return(0,r.jsxs)("a",{href:"/report/".concat(t.uid),"data-testid":"deepDive-search-result-card-".concat(t.uid),onClick:d,className:(0,m.cn)("flex grid-cols-2 flex-col-reverse gap-x-6 border border-light-stroke-default bg-light-bg-primary p-3 transition-bg-border hover:bg-light-bg-hover md:grid md:gap-y-10 md:p-6 dark:border-dark-stroke-default dark:bg-dark-bg-primary dark:hover:bg-dark-bg-hover print:border-light-stroke-default",a),children:[(0,r.jsxs)("div",{className:"flex h-full flex-col items-center justify-between pt-6 md:py-6",children:[(0,r.jsx)(c.o,{variant:"h4",className:"hidden text-light-text-secondary md:block dark:text-dark-text-secondary",children:"Deep dive"}),(0,r.jsx)("div",{className:"flex flex-1 md:items-center",children:(0,r.jsx)(n.s,{field:t.data.title,components:{paragraph:e=>{let{text:t}=e;return(0,r.jsx)(c.o,{variant:"card-title",className:"text-center",children:t})}}})}),(0,r.jsx)(h.u,{deepDive:t,maxItems:3,className:"mt-4 w-full justify-center md:mt-0",disabled:!0})]}),(0,r.jsx)(s.PrismicNextImage,{field:t.data.mainImage,className:"object-cover object-center md:aspect-square md:max-h-64 md:w-full",fallbackAlt:"",priority:!0})]})}function p(e){let{deepDive:t,className:a,authorsNames:i,onClick:l}=e;return(0,r.jsxs)("a",{href:"/report/".concat(t.uid),"data-testid":"deepDive-search-result-card-".concat(t.uid),onClick:l,className:(0,m.cn)("flex flex-col gap-y-5 border border-light-stroke-default bg-light-bg-primary p-3 transition-bg-border hover:bg-light-bg-hover md:gap-y-10 md:p-8 dark:border-dark-stroke-default dark:bg-dark-bg-primary dark:hover:bg-dark-bg-hover print:border-light-stroke-default",a),children:[(0,r.jsx)(s.PrismicNextImage,{field:t.data.mainImage,width:424,height:254,className:"w-full object-cover object-center md:h-[378.83px]",fallbackAlt:"",priority:!0}),(0,r.jsxs)("div",{className:"flex flex-col gap-x-8 md:flex-row",children:[(0,r.jsxs)("div",{className:"flex flex-1 flex-col items-center md:items-start",children:[(0,r.jsx)(n.s,{field:t.data.title,components:{paragraph:e=>{let{text:t}=e;return(0,r.jsx)(c.o,{variant:"h2",smallVariant:"card-title",className:"flex text-center md:text-start",children:t})}}}),!!i.length&&(0,r.jsxs)(c.o,{className:"max-w-48 text-center text-light-text-secondary md:mt-6 md:max-w-none md:text-start dark:text-dark-text-secondary",children:["By ",i.join(", ")
1]})]}),(0,r.jsxs)("div",{className:"flex h-full w-full flex-1 flex-col justify-between gap-y-4 md:min-h-[190px]",children:[d.YD(t.data.homePageDescription)&&(0,r.jsx)(n.s,{field:t.data.homePageDescription,components:{paragraph:e=>{let{text:t}=e;return(0,r.jsx)(c.o,{variant:"body2",className:"hidden text-light-text-secondary md:block dark:text-dark-text-secondary",children:t})}}}),(0,r.jsx)(h.u,{deepDive:t,maxItems:4,className:"mb-4 mt-8 w-full justify-center md:my-0 md:justify-start",disabled:!0})]})]})]})}function f(e){let{deepDive:t,className:a,authorsNames:d,onClick:i}=e;return(0,r.jsxs)("a",{href:"/report/".concat(t.uid),"data-testid":"deepDive-search-result-card-".concat(t.uid),onClick:i,className:(0,m.cn)("flex h-full w-full flex-col items-center justify-center gap-y-6 border border-light-stroke-default bg-light-bg-primary px-6 pb-10 pt-6 transition-bg-border hover:bg-light-bg-hover dark:border-dark-stroke-default dark:bg-dark-bg-primary dark:hover:bg-dark-bg-hover print:border-light-stroke-default",a),children:[(0,r.jsx)(s.PrismicNextImage,{field:t.data.mainImage,width:424,height:254,className:"w-full object-cover object-center md:h-48 lg:h-[254px]",fallbackAlt:"",priority:!0}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col items-center px-9",children:[(0,r.jsx)(c.o,{variant:"xs",className:"mb-4 text-center uppercase text-light-text-secondary dark:text-dark-text-secondary",children:t.data.rundown?"RUNDOWN":t.data.perspective?"PERSPECTIVE":"DEEP DIVE"}),(0,r.jsx)(n.s,{field:t.data.title,components:{paragraph:e=>{let{text:t}=e;return(0,r.jsx)(c.o,{variant:"card-title",component:"h3",className:"flex min-h-16 max-w-72 items-center text-center",children:t})}}}),!!d.length&&(0,r.jsxs)(c.o,{className:"mt-6 text-center text-light-text-secondary dark:text-dark-text-secondary",children:["By ",d.join(", ")]})]}),(0,r.jsx)("div",{className:"flex h-8 w-full justify-center overflow-hidden",children:(0,r.jsx)(h.u,{deepDive:t,maxItems:2,className:"w-full items-end justify-center",disabled:!0})})]})}}}]);

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.