PageSourceSearch

https://dil-8765309-test.netlify.app/_next/static/chunks/pages/res…/case-studies/[slug]-299eaa82ea016675.js

js dil-8765309-test.netlify.app collected 2026-10-03 10:41:57 UTC 6,619 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8084],{45872:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/resources/case-studies/[slug]",function(){return r(17695)}])},21498:function(e,t,r){"use strict";r.d(t,{A:function(){return p}});var n=r(52322),s=r(28077),i=r(84137),l=r(69190),a=r(76554),o=r(68628),d=r(5632),c=r(2784),u=r(95037),h=r(28970),f=r(73196),x=r(3615);let p=e=>{console.log("form hero");let{title:t,gatedDescription:r,formId:p,formCta:m,formAction:g,assetUrl:b,date:j,assetTitle:w,enableDemoCalendar:y}=e,[v,_]=(0,c.useState)(!1),[N,k]=(0,c.useState)(!1),[S,E]=(0,c.useState)(""),[T,A]=(0,c.useState)(!1),[P,D]=(0,c.useState)(!1),Z=(0,d.useRouter)(),M=Z.query,C=g&&"redirect"===g.formActionType?g.formRedirect.url:null;return console.log("persistedRedirectUrl",C),(0,c.useEffect)(()=>{b&&E(b)},[b]),(0,c.useEffect)(()=>{let{query:e}=Z;"false"===e.gated&&s.El.test(e.mkt_tok)&&_(!0)},[Z,_]),(0,n.jsx)("div",{className:"bg-hero-industries bg-cover",children:(0,n.jsxs)("div",{className:"container mx-auto w-full px-3.5 pb-7 pt-12 lg:max-w-5xl lg:px-4",children:[(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:"mb-2 flex flex-row justify-between",children:[(0,n.jsx)("div",{className:"text-brand-gray-4 flex gap-2 text-xs lg:text-base",children:(0,n.jsx)("div",{children:j})}),(0,n.jsx)(f.N,{})]})}),(0,n.jsxs)("div",{className:"grid gap-8 pt-2 lg:grid-cols-2 lg:gap-20 lg:pt-12",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)(x.X6,{tag:"h1",children:t}),Array.isArray(r)?(0,n.jsx)(o.YI,{value:r,components:a.BJ}):(0,n.jsx)(l.L,{component:"p",color:"dark-title",lineheight:"relaxed",className:"pb-2",children:r})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:"".concat(v||N?"hidden":"block"),children:(0,n.jsx)(i.l,{formId:p,buttonText:m||"Get the guide",setShowThankYou:_,formAction:g||null,query:M,persist:!0,persistSubmit:T,setShowPersistedPreview:k,enableDemoCalendar:y,setShowQualifiedLoader:D})}),P&&(0,n.jsx)(h.Z,{language:"en"}),N&&(0,n.jsxs)("div",{className:"border-brand-gray-100 rounded-xl border bg-brand-white px-10 py-12 shadow-card lg:max-w-lg",children:[(0,n.jsx)(x.X6,{tag:"h2",className:"text-center",children:(0,n.jsx)(x.Dr,{color:"primary",children:"Ready to Download"})}),(0,n.jsxs)(x.nv,{variant:"regular",className:"text-center",children:["Skip the form and grab your copy of"," ",(0,n.jsx)(x.Dr,{className:"font-semibold",children:w||t})," ","below."]}),(0,n.jsx)("div",{className:"mt-8",children:(0,n.jsx)(u.Z,{className:"mx-auto mt-8 flex font-semibold",type:"button",variant:"primary",iconName:"download",onClick:()=>{C?window.open(C,"_blank"):window.open(S,"_blank"),A(!0)},children:m})})]}),v&&!N&&!P&&(0,n.jsxs)("div",{className:"border-brand-gray-100 rounded-xl border bg-brand-white px-10 py-12 shadow-card lg:max-w-lg",children:[(0,n.jsxs)(x.X6,{tag:"h2",className:"text-center",children:[(0,n.jsx)(x.Dr,{color:"primary",children:"Thank you"})," for your interest!"]}),(0,n.jsxs)(x.nv,{variant:"regular",className:"text-center",children:["Thank you for your interest in"," ",(0,n.jsx)(x.Dr,{className:"font-semibold",children:w||t}),". Please download below."]}),(0,n.jsx)("div",{className:"mt-8",children:(0,n.jsx)(u.Z,{className:"mx-auto mt-8 flex font-semibold",type:"button",variant:"primary",iconName:"download",onClick:()=>{C?window.open(C,"_blank"):window.open(S,"_blank")},children:m})})]})]})]})]})})}},73196:function(e,t,r){"use strict";r.d(t,{N:function(){return i}});var n=r(52322),s=r(43384);let i=()=>(0,n.jsxs)("div",{className:"flex w-24 flex-row justify-between",children:[(0,n.jsx)(s.M,{socialMedia:"facebook",shareTitle:"Shared Post"}),(0,n.jsx)(s.M,{socialMedia:"twitter",shareTitle:"Shared Post"}),(0,n.jsx)(s.M,{socialMedia:"linkedin",shareTitle:"Shared Post"})]})},17695:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return g},default:function(){return b}});var n=r(52322),s=r(10574),i=r(28077),l=r(21498),a=r(5632),o=r(2784);let d=e=>{let{caseStudy:t}=e,[r,s]=(0,o.useState)(""),[d,c]=(0,o.useState)(!1),u=(0,a.useRouter)();return(0,o.useEffect)(()=>{let e=document.querySelector("h2");e&&(e.style.paddingTop="0px")},[]),(0,o.useLayoutEffect)(()=>{let{query:e}=u;"false"===e.gated&&i.El.test(e.mkt_tok)&&c(!0)},[u]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(l.A,{title:t.title,gatedDescription:t.body||t.description,formId:"12287",formCta:"Download the case study",assetUrl:t.assetUrl,date:r,assetTitle:t.assetTitle})})};var c=r(73235),u=r(9633);function h(){let e=(0,c._)(["*[_type == $type && defined(slug.current)] | order(_createdAt desc) {\n  _id,\n  slug,\n}"]);return h=function(){return e},e}function f(){let e=(0,c._)(['*[_type == $type && defined(slug.current)][] {\n  "params": { "slug": slug.current }\n}']);return f=function(){return e},e}function x(){let e=(0,c._)(['*[_type == $type && slug.current == $slug][0] {\n  _id,\n  _createdAt,\n  _updatedAt,\n  publishedAt,\n  seo,\n  title,\n  slug,\n  body,\n  description,\n  "assetUrl": downloadableAsset.asset->url,\n  "pillarName": pillars[0]->name,\n  "assetTitle": downloadableAsset.title\n}']);return x=function(){return e},e}(0,u.Z)(h()),(0,u.Z)(f());let p=(0,u.Z)(x());var m=r(75450),g=!0;function b(e){let{draftMode:t,query:r,data:i}=e,{currentCaseStudy:l}=i;return(0,n.jsx)(m.Z,{enabled:t,query:p,params:r,initialData:l,children:(0,n.jsx)(s.A,{seo:l.seo,children:(0,n.jsx)(d,{caseStudy:l})})})}},75450:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(52322),s=r(2784);let i=(0,s.lazy)(()=>Promise.all([r.e(2751),r.e(7302)]).then(r.bind(r,37302))),l={};function a(e){if(!e.enabled)return e.children;let{query:t,params:r=l,initialData:a,as:o}=e;if(o){if(s.Children.count(e.children)>1)throw Error("LiveQuery: `as` prop can only be used with a single child");if(!(0,s.isValidElement)(e.children))throw Error("LiveQuery: `as` prop requires a valid `children` prop");return(0,n.jsx)(i,{initialData:a,query:t,params:r,throwOnMissingProvider:e.throwOnMissingProvider,children:(0,n.jsx)(o,{...e.children.props})})}return(0,n.jsx)(i,{initialData:a,query:t,params:r,children:e.children})}a.displayName="LiveQuery"},73235:function(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:function(){return n}})},9633:function(e,t,r){"use strict";function n(e,...t){let r=e.length-1;return e.slice(0,r).reduce((e,r,n)=>e+r+t[n],"")+e[r]}r.d(t,{Z:function(){return n}})}},function(e){e.O(0,[5647,9283,6577,8628,8058,9097,3394,5027,3331,9794,6367,5034,574,4137,2888,9774,179],function(){return e(e.s=45872)}),_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.