PageSourceSearch

https://www.lw.com/assets/scripts/4073.bundle.js?5714d3

js lw.com collected 2026-10-01 08:42:03 UTC 4,062 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4073],{94073:(t,e,r)=>{r.r(e),r.d(e,{default:()=>a});r(52077),r(911),r(39393),r(96083),r(72254);var n=r(45486);function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const a=class{constructor(t){o(this,"getText",(t=>{let e;return e=t.dataset.chapternavtitle&&t.dataset.chapternavtitle.length?t.dataset.chapternavtitle:t.innerText,e})),o(this,"buildId",(t=>"".concat(t.slice(0,16).toLowerCase().replace(/\W+/g,""),"-").concat(Math.random().toString(36).substr(2,6)))),o(this,"buildLi",((t,e)=>{let r=document.createElement("li");r.dataset.section="".concat(e);let o=document.createElement("a");o.href="#".concat(e),o.innerHTML="<span>".concat(t,"</span></a>"),r.appendChild(o),this.ol.appendChild(r),o.addEventListener("click",(t=>{t.preventDefault();let e=document.querySelector(t.target.hash);"scrollBehavior"in document.documentElement.style?((0,n.x)(e,{preventScroll:!0}),e.scrollIntoView({behavior:this.noMotion?"auto":"smooth",block:"start"})):(0,n.x)(e)}))})),this.$el=t,this.ol=this.$el.querySelector("ol"),this.navItems=document.querySelectorAll("[data-chapternavenabled]"),this.mql=window.matchMedia("(min-width: 800px)"),this.firstRef="",this.noMotion=window.matchMedia("(prefers-reduced-motion: reduce)").matches,this.navItems.length>1&&this.navItems.forEach(((t,e)=>{if("true"==t.getAttribute("data-chapternavenabled")){let r=this.getText(t),n=this.buildId(r);if(t.id=n,t.tabIndex="-1",this.buildLi(r,n),0===e){const t=this.ol.querySelector("li:first-child").querySelector("a");this.firstRef=document.querySelector(t.hash)}}})),document.querySelectorAll(".key-insights__points li a").forEach((t=>{t.addEventListener("click",(function(t){t.preventDefault();const e=this.getAttribute("href").substring(1),r=document.getElementById(e);r&&r.scrollIntoView({behavior:this.noMotion?"auto":"smooth",block:"start"})}))})),this.handleChapterNavObserver()}handleChapterNavObserver(){let t=this.firstRef;let e=new IntersectionObserver((r=>{r.forEach((r=>{r.isIntersecting||(this.$el.classList.remove("chapter-nav--show-first"),e.unobserve(t))}))}),{threshold:0,rootMargin:"0px 0px 100% 0px"}),r=()=>{this.mql.matches?e.observe(t):e.unobserve(t)};r(),this.mql.addEventListener?this.mql.addEventListener("change",(()=>{r()})):this.mql.addListener(r())}}},45486:(t,e,r)=>{r.d(e,{x:()=>n});const n=(t,e)=>{setTimeout((()=>{t.focus(e)}),100)}},87739:(t,e,r)=>{var n=r(22086),o=r(59413),a=r(45089),i=r(56112),s=r(10563),c=r(2964),l=n.TypeError,h=function(t){var e=0==t,r=1==t,n=2==t,h=3==t;return function(t,u,d){i(t);var f=s("Promise"),v=a(t.next),p=0,m=void 0!==u;return!m&&e||a(u),new f((function(a,s){var b=function(e,r){try{var n=c(t,"return");if(n)return f.resolve(o(n,t)).then((function(){e(r)}),(function(t){s(t)}))}catch(t){return s(t)}e(r)},g=function(t){b(s,t)},y=function(){try{if(e&&p>9007199254740991&&m)throw l("The allowed number of iterations has been exceeded");f.resolve(i(o(v,t))).then((function(t){try{if(i(t).done)e?(d.length=p,a(d)):a(!h&&(n||void 0));else{var o=t.value;m?f.resolve(e?u(o,p):u(o)).then((function(t){r?y():n?t?y():b(a,!1):e?(d[p++]=t,y()):t?b(a,h||o):y()}),g):(d[p++]=o,y())}}catch(t){g(t)}}),g)}catch(t){g(t)}};y()}))}};t.exports={toArray:h(0),forEach:h(1),every:h(2),some:h(3),find:h(4)}},39393:(t,e,r)=>{var n=r(51695),o=r(87739).forEach;n({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{forEach:function(t){return o(this,t)}})},96083:(t,e,r)=>{var n=r(51695),o=r(22086),a=r(51855),i=r(90930),s=r(72585),c=r(63677),l=r(49606),h=r(50211),u=r(13083).IteratorPrototype,d=r(43296),f=h("toStringTag"),v=o.Iterator,p=d||!i(v)||v.prototype!==u||!c((function(){v({})})),m=function(){a(this,u)};l(u,f)||s(u,f,"Iterator"),!p&&l(u,"constructor")&&u.constructor!==Object||s(u,"constructor",m),m.prototype=u,n({global:!0,forced:p},{Iterator:m})},72254:(t,e,r)=>{var n=r(51695),o=r(94722),a=r(56112);n({target:"Iterator",proto:!0,real:!0,forced:!0},{forEach:function(t){o(a(this),t,{IS_ITERATOR:!0})}})}}]);

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.