PageSourceSearch

https://assets-blog.upgrad.com/1606/_next/static/chunks/5358.87b3f34b34e79b1b.js

js upgrad.com collected 2026-10-01 10:25:19 UTC 3,356 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5358],{15358:function(l,e,n){n.r(e);var i=n(85893),s=n(67294),t=n(5152),a=n.n(t),r=n(14416),d=n(513);let c=a()(()=>n.e(3452).then(n.bind(n,93996)),{loadableGenerated:{webpack:()=>[93996]},ssr:!0}),o=a()(()=>n.e(1435).then(n.bind(n,1435)),{loadableGenerated:{webpack:()=>[1435]},ssr:!1});e.default=l=>{var e;let{tenantInfo:n,isMobile:t}=(0,r.v9)(l=>{var e;return null==l?void 0:null===(e=l.websiteDataReducer)||void 0===e?void 0:e.website_data}),a=!0===t||"true"===t,[u,p]=(0,s.useState)([0]),{author:m,pageData:h,pageCategory:v}=l,x=null!==(e=null==h?void 0:h.additionalAuthors)&&void 0!==e?e:[],g=[m,...x],f=null==g?void 0:g.length,renderAuthorDescription=(l,e)=>{var n,s;return(0,i.jsx)("p",{className:"".concat((null==u?void 0:u.includes(e))?"block":"hidden"," col-span-12"),children:(null==l?void 0:l.description)&&(0,i.jsx)("span",{className:"text-captionNormal font-circularRegular text-[#666] -tracking-0.14",children:(null==l?void 0:null===(n=l.description)||void 0===n?void 0:n.length)>200?(null==l?void 0:null===(s=l.description)||void 0===s?void 0:s.slice(0,200))+"...":null==l?void 0:l.description})})},renderAuthorDetails=(l,e)=>{var s;return(null==l?void 0:l.name)||(null==l?void 0:l.slug)?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"w-full h-auto md:px-spacing16 md:pt-spacing16 md:pb-spacing24 bg-[#F5F5F5] flex gap-spacing12 xs:py-spacing20 xs:pl-spacing20 xs:pr-spacing32 items-center rounded-xl my-spacing10",children:[(0,i.jsxs)("div",{className:"font-circularMedium md:text-title3 xs:text-captionSmall xs:font-circularMedium grid grid-cols-12 items-start flex-1",children:[(0,i.jsx)("div",{className:"!w-12 !h-12 col-span-2 md:col-span-1",children:(0,i.jsx)(o,{path:(null==l?void 0:l.profileUrl)||"https://assets.upgrad.com/2068/_next/static/media/user-image.809bbccb.svg",className:"rounded-full w-full h-full",height:48,width:48,alt:null==l?void 0:l.name,title:null==l?void 0:l.name,isFullUrl:!(null==l?void 0:l.profileUrl)})}),(0,i.jsxs)("div",{className:"col-span-10 md:col-span-11 ".concat((null==u?void 0:u.includes(e))?"":"ml-[5px] md:ml-[3px]"),children:[(0,i.jsx)("p",{children:(0,i.jsx)(c,{href:null===(s=(0,d.Z)({tenantInfo:n,pageCategory:v,authorSlug:null==l?void 0:l.slug}))||void 0===s?void 0:s.authorUrl,className:"decoration-solid text-captionNormal underline text-[#000] -tracking-0.18 font-circularMedium",children:null==l?void 0:l.name})}),(0,i.jsxs)("p",{className:"text-captionNormal font-circularRegular text-[#666] -tracking-0.14 my-2",children:[null==l?void 0:l.tagLine," ",(null==l?void 0:l.tagLine)?(0,i.jsx)("span",{className:"mx-spacing10",children:"|"}):(0,i.jsx)(i.Fragment,{}),null==l?void 0:l.publishedBlogs," articles published"]}),!a&&renderAuthorDescription(l,e)]}),a&&renderAuthorDescription(l,e)]}),!(null==u?void 0:u.includes(e))&&(0,i.jsx)("span",{onClick:()=>{p(l=>[...l,e])},className:"cursor-pointer text-[#666] flex items-center justify-center",children:(0,i.jsx)("i",{className:"icon-chevron-right text-2xl ".concat((null==u?void 0:u.includes(e))?"-rotate-90":"rotate-90")})})]})}):(0,i.jsx)(i.Fragment,{})};return(0,i.jsx)(i.Fragment,{children:1===f?renderAuthorDetails(m,0):(0,i.jsx)(i.Fragment,{children:null==g?void 0:g.map((l,e)=>(0,i.jsx)(s.Fragment,{children:renderAuthorDetails(l,e)},e))})})}}}]);

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.