PageSourceSearch

https://www.mordorintelligence.com/_next/static/chunks/2437.69879596327827c3.js

js mordorintelligence.com collected 2026-09-24 06:47:53 UTC 8,996 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2437],{72437:function(e,t,l){l.r(t),l.d(t,{DiscountBannerController:function(){return d}});var n=l(85893),s=l(67294),r=l(9615),i=l(95415),o=l(17189),a=l(43140),x=l(56497),c=e=>{let{discountBannerData:t}=e,l=(0,i.n)(),s=(0,o.T)(),{downloadSampleHandler:c}=(0,r.P)(),{discountInPercentage:d,slug:u}=t,p=(e,t)=>(e-e*t/100).toLocaleString(),m=e=>{let t=s.countryCodeMappingDaySuffix||["st","nd","rd","th"];if(["fr","de","es","pt","ru","ja","vi","zh-CN","ar"].includes(l))return"fr"===l&&1===e||"de"===l||["ja","zh-CN"].includes(l)?t[0]:"";if(e>=11&&e<=13)return t[3];switch(e%10){case 1:return t[0];case 2:return t[1];case 3:return t[2];default:return t[3]}},h=(()=>{let e=new Date,t=e.getFullYear(),l=e.getMonth()+1,n=new Date(t,l,0).getDate();n=e.getDate()>n-5?new Date(t,l=e.getMonth()+2,0).getDate():new Date(t,l=e.getMonth()+1,0).getDate();let r=(s.countryCodeMappingMonthNames||["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[l>12?l%12-1:l-1],i=m(n);return`${n}${i} ${r} ${t}`})(),g=e=>null==e?void 0:e.replace(/OFF/gi,s.countryCodeMappingOFF||"OFF");return(0,n.jsxs)("div",{className:"fixed bottom-10 right-2 top-[108px] z-[500] hidden h-fit max-w-[408px] border-[2px] border-[#006FAB] bg-white shadow-lg md:bottom-28 md:right-2 xl-1585:block xl-1585:w-[calc(130px)] xl-1735:w-[calc(205px)] xl-1935:w-[303px] xl-2145:w-[403px]","data-nosnippet":"true",children:[(0,n.jsx)("p",{className:"bg-Primary-Blue-950 px-1 py-2 text-center text-[20px] font-medium text-white xl-1735:py-3 xl-1735:text-[24px]",children:(null==t?void 0:t.promoCode)?g(t.promoCode):""}),(0,n.jsxs)("div",{className:"flex flex-col gap-[6px] px-[6px] py-[6px] xl-1735:gap-2 xl-1935:px-2",children:[(0,n.jsxs)("div",{className:"border border-gray-200 bg-Primary-Mordor-Blue-Bg-100 p-2 xl-1935:p-4",children:[(0,n.jsx)("div",{className:`mb-1 flex cursor-pointer flex-wrap gap-1 font-medium xl-1735:mb-3 ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"justify-center":""}`,children:(0,n.jsx)("label",{htmlFor:"singleLicense",className:"flex items-center gap-1 text-xs text-Neutrals-950 xl-1735:text-Body-Medium-16",children:(0,n.jsx)("span",{className:`truncate text-wrap ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"text-center":""}`,children:s.countryCodeMappingLicense["Single User License"]})})}),(0,n.jsxs)("div",{className:`flex flex-col ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"xl-1735:flex":"xl-1735:grid xl-1735:grid-cols-12"} xl-1735:items-center xl-1935:gap-2`,children:[(null==t?void 0:t.showDiscountBannerWithoutPrice)?null:(0,n.jsxs)("div",{className:"flex items-center gap-2 pr-1 xl-1735:col-span-9 xl-1935:col-span-8 xl-2145:col-span-8",children:[(0,n.jsxs)("span",{className:"text-[15px] font-semibold leading-6 text-Neutrals-950 xl-1735:text-Display-Semibold-32",children:["$",p(null==t?void 0:t.single,null==d?void 0:d.single)]}),(0,n.jsxs)("del",{className:"text-xs text-Neutrals-800 xl-1735:text-sm",children:["$",t.single.toLocaleString()]})]}),(0,n.jsx)("div",{className:"flex justify-start xl-1735:col-span-6 xl-1935:col-span-4 xl-2145:col-span-4 xl-2145:justify-end",children:(0,n.jsxs)("p",{className:`whitespace-nowrap rounded-full bg-[#30AC66] px-2 py-1 text-center text-xs text-white xl-1735:px-3 xl-1735:text-Body-Medium-14 ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"mx-auto":""}`,style:{whiteSpace:["de","vi","fr","ru","pt","es"].includes(l)?"normal":"nowrap",wordBreak:["de","vi","fr","ru","pt","es"].includes(l)?"break-word":"normal"},children:[null==d?void 0:d.single,"% ",g("OFF")]})})]})]}),(0,n.jsxs)("div",{className:"border border-gray-200 bg-Primary-Mordor-Blue-Bg-100 p-2 xl-1935:p-4",children:[(0,n.jsx)("div",{className:`mb-1 flex cursor-pointer flex-wrap gap-1 font-medium xl-1735:mb-3 ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"justify-center":""}`,children:(0,n.jsx)("label",{htmlFor:"teamLicense",className:"flex items-center gap-1 text-xs text-Neutrals-950 xl-1735:text-Body-Medium-16",children:(0,n.jsx)("span",{className:`truncate text-wrap ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"text-center":""}`,children:s.countryCodeMappingLicense["Team License"]})})}),(0,n.jsxs)("div",{className:`flex flex-col ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"xl-1735:flex":"xl-1735:grid xl-1735:grid-cols-12"} xl-1735:items-center xl-1935:gap-2`,children:[(null==t?void 0:t.showDiscountBannerWithoutPrice)?null:(0,n.jsxs)("div",{className:"flex items-center gap-2 pr-1 xl-1735:col-span-9 xl-1935:col-span-8 xl-2145:col-span-8",children:[(0,n.jsxs)("span",{className:"text-base font-semibold text-Neutrals-950 xl-1735:text-Display-Semibold-32",children:["$",p(t.team,null==d?void 0:d.team)]}),(0,n.jsxs)("del",{className:"text-xs text-Neutrals-800 xl-1735:text-sm",children:["$",t.team.toLocaleStr
1ing()]})]}),(0,n.jsx)("div",{className:"flex justify-start xl-1735:col-span-6 xl-1935:col-span-4 xl-2145:col-span-4 xl-2145:justify-end",children:(0,n.jsxs)("p",{className:`whitespace-nowrap rounded-full bg-[#30AC66] px-2 py-1 text-center text-xs text-white xl-1735:px-3 xl-1735:text-Body-Medium-14 ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"mx-auto":""}`,style:{whiteSpace:["de","vi","fr","ru","pt","es"].includes(l)?"normal":"nowrap",wordBreak:["de","vi","fr","ru","pt","es"].includes(l)?"break-word":"normal"},children:[null==d?void 0:d.team,"% ",g("OFF")]})})]})]}),(0,n.jsxs)("div",{className:"border border-gray-200 bg-Primary-Mordor-Blue-Bg-100 p-2 xl-1935:p-4",children:[(0,n.jsx)("div",{className:`mb-1 flex cursor-pointer flex-wrap gap-1 font-medium xl-1735:mb-3 ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"justify-center":""}`,children:(0,n.jsx)("label",{htmlFor:"corporateLicense",className:"flex items-center gap-1 text-xs text-Neutrals-950 xl-1735:text-Body-Medium-16",children:(0,n.jsx)("span",{className:`truncate text-wrap ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"text-center":""}`,children:s.countryCodeMappingLicense["Corporate License"]})})}),(0,n.jsxs)("div",{className:`flex flex-col ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"xl-1735:flex":"xl-1735:grid xl-1735:grid-cols-12"} xl-1735:items-center xl-1935:gap-2`,children:[(null==t?void 0:t.showDiscountBannerWithoutPrice)?null:(0,n.jsxs)("div",{className:"flex items-center gap-2 pr-1 xl-1735:col-span-9 xl-1935:col-span-8 xl-2145:col-span-8",children:[(0,n.jsxs)("span",{className:"text-base font-semibold text-Neutrals-950 xl-1735:text-Display-Semibold-32",children:["$",p(t.corporate,null==d?void 0:d.corporate)]}),(0,n.jsxs)("del",{className:"text-xs text-Neutrals-800 xl-1735:text-sm",children:["$",t.corporate.toLocaleString()]})]}),(0,n.jsx)("div",{className:"flex justify-start xl-1735:col-span-6 xl-1935:col-span-4 xl-2145:col-span-4 xl-2145:justify-end",children:(0,n.jsxs)("p",{className:`whitespace-nowrap rounded-full bg-[#30AC66] px-2 py-1 text-center text-xs text-white xl-1735:px-3 xl-1735:text-Body-Medium-14 ${(null==t?void 0:t.showDiscountBannerWithoutPrice)?"mx-auto":""}`,style:{whiteSpace:["de","vi","fr","ru","pt","es"].includes(l)?"normal":"nowrap",wordBreak:["de","vi","fr","ru","pt","es"].includes(l)?"break-word":"normal"},children:[null==d?void 0:d.corporate,"% ",g("OFF")]})})]})]})]}),(0,n.jsxs)("div",{className:"px-2 xl-1935:px-2",children:[(0,n.jsx)(a.Z,{href:`https://www.mordorintelligence.com/industry-reports/${u}/buy-now`,className:"mb-2 block w-full cursor-pointer border-[1.5px] bg-[#FFD21D] px-2 py-2 text-center text-xs font-medium hover:bg-[#FFE04D] xl-1735:px-0 xl-1735:py-[11px] xl-1735:text-Link-medium-16 xl-1935:mb-3",target:"_blank",onClick:()=>{(0,x.y)("buy_now_cta",{trigger_event_name:"rd_discount_banner_buynow_click"})},children:s.countryCodeMappingBuyNow}),(0,n.jsx)("button",{id:"dbdsbt",className:"mb-2 w-full bg-Accent-Orange-950 px-2 py-2 text-xs font-medium text-white hover:bg-Accent-Orange-800 lg:m-0 xl-1735:text-nowrap xl-1735:px-4 xl-1735:py-[11px] xl-1735:text-Link-medium-16 xl-1935:mb-3",onClick:e=>c(e.currentTarget.id),children:s.countryCodeMappingDownloadFreePDF})]}),(0,n.jsxs)("p",{className:"px-2 py-1 text-center text-[12px] font-medium text-Neutrals-950 xl-1735:text-Display-Semibold-16 xl-1935:p-2",children:[s.countryCodeMappingBookBefore||"Book Before"," ",h]})]})};let d=e=>{let{showDiscountBanner:t,discountBannerData:l,promoCode:i,slug:o}=e,[a,x]=(0,s.useState)(!1),[d,u]=(0,s.useState)(!1),{isFixedTocFormOpen:p}=(0,r.P)();return(0,s.useEffect)(()=>{let e=()=>{let e=window.pageYOffset||document.documentElement.scrollTop,t=document.getElementById("table-of-content");if(t){let l=t.getBoundingClientRect().top+e;e>=l-100?(u(!0),x(!1)):e>=1667?(u(!1),x(!0)):(u(!1),x(!1))}else x(e>=1667)};return window.addEventListener("scroll",e,{passive:!0}),e(),()=>{window.removeEventListener("scroll",e)}},[]),(t||(null==l?void 0:l.showDiscountBannerWithoutPrice))&&a&&!p&&!d?(0,n.jsx)(c,{discountBannerData:{...l,promoCode:i,slug:o}}):null}}}]);

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.