1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6154],{76154:function(e,t,r){"use strict";r.r(t);var n=r(57437),i=r(2265),a=r(61396),c=r.n(a),s=r(59928),l=r.n(s);t.default=({title:e,slug:t,contentId:r,reportId:a,isVisible:s,onHeightChange:o,reportPrice:_,discountedPrice:u,coverImage:p,onDownloadSample:d})=>{let y=(0,i.useRef)(null);(0,i.useEffect)(()=>{if(!y.current||!o)return;let e=new ResizeObserver(e=>{for(let t of e)o(t.target.clientHeight)});return e.observe(y.current),()=>e.disconnect()},[o]);let k=`/purchaseoptions?id=${a||r}&slug=${t}`,B=`/sample_request?id=${a||r}&name=${encodeURIComponent(e)}&type=smp&slug=${t}`;return(0,n.jsx)("div",{ref:y,className:`${l().stickyBar} ${s?l().visible:""}`,children:(0,n.jsxs)("div",{className:l().container,children:[(0,n.jsx)("div",{className:l().titleSection,children:(0,n.jsx)("span",{className:l().reportTitle,title:e,children:e})}),(0,n.jsxs)("div",{className:l().ctaSection,children:[d?(0,n.jsx)("button",{className:l().btnDownload,onClick:d,children:"Download Free Sample"}):(0,n.jsx)(c(),{href:B,className:l().btnDownload,target:"_blank",children:"Download Free Sample"}),(0,n.jsx)(c(),{href:k,className:l().btnBuy,children:"Buy Now"})]})]})})}},59928:function(e){e.exports={stickyBar:"StickyReportBar_stickyBar__ljnB5",visible:"StickyReportBar_visible__IuaCr",container:"StickyReportBar_container__LeSR_",titleSection:"StickyReportBar_titleSection__vLy3O",reportTitle:"StickyReportBar_reportTitle__Xhmf9",ctaSection:"StickyReportBar_ctaSection__OwjBQ",btnDownload:"StickyReportBar_btnDownload__qYVC6",btnBuy:"StickyReportBar_btnBuy__zXylP"}}}]); 2//# sourceMappingURL=6154.b8931a647e2c0f19.js.map
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.