PageSourceSearch

https://assets-blog.upgrad.com/1606/_next/static/chunks/8494.889ef0b498a019c4.js

js upgrad.com collected 2026-10-01 10:25:43 UTC 1,107 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8494],{8494:function(e,t,n){n.r(t);var i=n(85893),l=n(67294);t.default=e=>{let{isExpanded:t,content:n,id:a,shouldRenderFullContent:o,setRenderFullContentMap:r,lineCount:d}=e,[s,u]=(0,l.useState)("");(0,l.useEffect)(()=>{let handleTOCEvent=e=>{let{heading:t,element:n}=e.detail;t&&n&&(u(n),findHeading(t))};return window.addEventListener("TOC",handleTOCEvent),()=>{window.removeEventListener("TOC",handleTOCEvent)}}),(0,l.useEffect)(()=>{o&&s&&!t&&document.querySelectorAll("h2").forEach(e=>{e.textContent.trim()===s.trim()&&e.scrollIntoView({behavior:"smooth",block:"start"})})},[o]);let findHeading=e=>{var t;let i=n||(null===(t=document.getElementById("noAlign-".concat(a)))||void 0===t?void 0:t.innerHTML)||"";i.includes(e)&&r(e=>({...e,[a]:!0}))};return(0,i.jsx)("div",{id:"noAlign-".concat(a),className:"transition-all duration-300 ease-in-out",style:{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:t||o?"unset":d,overflow:"hidden"},suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:null!=n?n:""}})}}}]);

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.