PageSourceSearch

https://www.adityabirla.com/_next/static/chunks/4676.9dcdf87a8a206ee0.js

js adityabirla.com collected 2026-10-02 03:05:53 UTC 4,836 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4676],{84676:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return p}});var r=a(85893),n=a(61139),i=a(15675),l=a.n(i),s=a(25675),o=a.n(s),c=a(67294),d=a(11163),u=a(17246);function x(e){let{data:t,index:n,className:i}=e,{locale:s}=(0,d.useRouter)(),[x,m]=(0,c.useState)("ar"===s?"rtl":""),[g,h]=(0,c.useState)(null);(0,c.useEffect)(()=>{(async()=>{try{let e=await a.e(2261).then(a.bind(a,2261)),t=e.Swiper,r=e.SwiperSlide,{Pagination:n,Navigation:i}=await a.e(4135).then(a.bind(a,94135));h({Swiper:t,SwiperSlide:r,Pagination:n,Navigation:i}),a(64172),a(96936),a(57638)}catch(e){console.error("Error loading Swiper:",e)}})()},[]),(0,c.useEffect)(()=>{m("ar"===s?"rtl":"")},[s]);let b=["bg-skyGrey dark:dark:bg-grey/60","bg-orange dark:dark:bg-grey/80","bg-maroon dark:dark:bg-grey","bg-brown dark:dark:bg-grey/40"];return(0,r.jsxs)("div",{className:"".concat(l().cardContainer," ").concat(i," ").concat(t.image?"":b[n%Object.keys(b).length]),"data-aos":"flip-left","data-aos-duration":"300",children:[t.image&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o(),{src:(0,u.Kj)(t.image.url),placeholder:"blur",blurDataURL:t.image.placeholder,width:"640",height:"1000",alt:"Milestone - Year "+t.year,className:"dark:grayscale h-[550px] object-cover",quality:100}),(0,r.jsx)("div",{className:"absolute top-0 bg-black opacity-20 w-full h-full"})]}),(0,r.jsx)("div",{className:"absolute top-0 w-full px-8 text-[130px] tracking-[-50px] text-white opacity-10 hidden lg:block",style:{writingMode:"vertical-rl",textOrientation:"upright"},children:t.year}),(0,r.jsx)("div",{className:"absolute bottom-[305px] w-full text-center text-white text-6xl",children:t.year}),(0,r.jsx)("div",{className:"absolute bottom-10 w-full text-center hidden lg:block ".concat(l().arrow),children:(0,r.jsx)("div",{className:"border border-white w-[25px] h-[25px] mx-auto relative",children:(0,r.jsx)("div",{className:"absolute bottom-[-6px] w-full text-lg text-center text-white ",children:"^"})})}),(0,r.jsx)("div",{className:"".concat(l().content," bg-[white] dark:bg-black/80 border border-grey/20 flex items-center milestonesCarousel"),children:(null==g?void 0:g.Swiper)&&(0,r.jsx)(g.Swiper,{dir:x,spaceBetween:15,modules:[g.Pagination,g.Navigation],navigation:!0,onPaginationRender:(e,t)=>{t.classList.add("".concat(l().customPagination))},children:t.milestones.map((e,t)=>(0,r.jsx)(g.SwiperSlide,{style:{height:"auto"},children:(0,r.jsx)("div",{className:"text-base font-[400] text-grey dark:text-white text-center",children:e.title})},t))},x)})]})}var m=a(5152),g=a.n(m),h=a(86977),b=a(79163);let w=g()(()=>Promise.resolve().then(a.bind(a,15299)),{loadableGenerated:{webpack:()=>[15299]},loading:()=>(0,r.jsx)(h.Z,{}),ssr:!1});function p(e){let{data:t}=e,a=(0,n.h)(),{width:i}=(0,b.Z)(),[l,s]=(0,c.useState)(0),[o,d]=(0,c.useState)(0);return(0,c.useEffect)(()=>{i&&(i>640&&i<1024?(s(4),d(4)):(s(3),d(3)))},[i]),(0,r.jsx)("div",{className:"py-20 bg-white dark:bg-black addToNav","data-nav-title":a("legacy:milestones.title"),children:(0,r.jsxs)("div",{className:"container mx-auto px-5",children:[(0,r.jsxs)("div",{className:"flex flex-col md:flex-row items-start mb-10",children:[(0,r.jsx)("div",{className:"text-4xl font-[400] text-maroon dark:text-white min-w-[300px]","data-aos":"fade-up","data-aos-duration":"300",children:a("legacy:milestones.title")}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)("div",{className:"md:max-w-[800px] md:ml-auto",children:(0,r.jsx)("p",{className:"text-base leading-normal text-grey dark:text-white hidden md:block","data-aos":"fade-up","data-aos-duration":"300",children:a("legacy:milestones.description")})})})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 mb-10 gap-5 sm:gap-0",children:t.map((e,t)=>t<o?(0,r.jsx)(x,{data:e,index:t},t):null)}),(0,r.jsx)("div",{className:"text-center",children:o<t.length?(0,r.jsx)(w,{ctaText:a("common:load-more"),classNames:"text-maroon dark:text-white",type:"loadmore",onClick:e=>{e.preventDefault(),d(e=>e+l),window.scrollBy(0,-1)},color:"maroon"}):(0,r.jsx)(r.Fragment,{})})]})})}},79163:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});var r=a(67294);function n(){let[e,t]=(0,r.useState)({width:null,height:null});return(0,r.useEffect)(()=>
1{function e(){t(function(){let{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}())}return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}},15675:function(e){e.exports={cardContainer:"MilestonesCard_cardContainer__8D7TL",content:"MilestonesCard_content__k9IX1",arrow:"MilestonesCard_arrow___ClVF",customPagination:"MilestonesCard_customPagination__npUcJ",customBullet:"MilestonesCard_customBullet__IrPjg"}},57638:function(){},96936:function(){},64172:function(){}}]);

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.