PageSourceSearch

https://www.lw.com/assets/scripts/3486.bundle.js?df1830

js lw.com collected 2026-09-24 08:28:49 UTC 7,746 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3486],{13486:(e,t,a)=>{a.r(t),a.d(t,{default:()=>q});var r=a(31542),s=(a(14078),a(92189),a(76721),a(96085),a(27378)),l=a(23615),i=a(27378);const c=()=>i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",fill:"none",viewBox:"0 0 25 24"},i.createElement("mask",{id:"mask0_1829_1718",style:{maskType:"alpha"},width:"25",height:"24",x:"0",y:"0",maskUnits:"userSpaceOnUse"},i.createElement("path",{fill:"#D9D9D9",d:"M0.5 0H24.5V24H0.5z"})),i.createElement("g",{mask:"url(#mask0_1829_1718)"},i.createElement("path",{fill:"#3F3F3F",d:"M16.5 21.308L7.192 12 16.5 2.692l1.064 1.064L9.319 12l8.245 8.244-1.064 1.064z"})));var n=a(27378);const m=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",fill:"none",viewBox:"0 0 25 24"},n.createElement("mask",{id:"mask0_1829_1721",style:{maskType:"alpha"},width:"25",height:"24",x:"0",y:"0",maskUnits:"userSpaceOnUse"},n.createElement("path",{fill:"#D9D9D9",d:"M0.5 0H24.5V24H0.5z"})),n.createElement("g",{mask:"url(#mask0_1829_1721)"},n.createElement("path",{fill:"#3F3F3F",d:"M8.506 21.308l-1.064-1.064L15.687 12 7.442 3.756l1.064-1.064L17.814 12l-9.308 9.308z"})));var o=a(90005),d=a.n(o),p=a(9352),u=a(95445),_=a(24205),g=a(67296),k=a(71403),h=a(15753),E=a(27378);_.Z.use([g.Z,k.Z,h.Z]);const v={title:l.string,centerAligned:l.boolean,items:(0,l.arrayOf)((0,l.shape)({image:(0,l.shape)({src:l.string.isRequired,alt:l.string.isRequired}),title:l.string.isRequired,description:l.string,link:l.string})),activeItem:l.number,handleActiveItem:l.func},b=e=>{let{title:t,centerAligned:a,items:r,activeItem:s,handleActiveItem:l}=e;return E.createElement("div",{className:"stacked-promo-carousel-mobile"},E.createElement("h2",{className:"stacked-promo-carousel__title wrapper",style:a?{textAlign:"center"}:{}},t),E.createElement("div",{className:"stacked-promo-carousel-mobile__background"},E.createElement("img",{src:r[s].image.src,alt:r[s].image.alt})),E.createElement("div",{className:"stacked-promo-carousel-mobile__carousel"},E.createElement(p.t,{slidesPerView:"3",navigation:!0,loop:!0,centeredSlides:!0,onSlideChange:e=>l(e.realIndex),onSwiper:()=>l(0)},r&&r.map(((e,t)=>t<=7?E.createElement(u.o,{key:t},E.createElement("div",{className:"stacked-promo-carousel-mobile__item"},e.link?E.createElement("a",{href:e.link,className:"stacked-promo-carousel-mobile__item-link"},E.createElement("div",{className:"stacked-promo-carousel-mobile__item-inner"},E.createElement("div",{className:"stacked-promo-carousel-mobile__item-title"},E.createElement("span",null,e.title)),E.createElement("div",{className:"stacked-promo-carousel-mobile__item-description",dangerouslySetInnerHTML:{__html:e.description}}))):E.createElement("div",{className:"stacked-promo-carousel-mobile__item-link stacked-promo-carousel-mobile__item-link--no-link"},E.createElement("div",{className:"stacked-promo-carousel-mobile__item-inner"},E.createElement("div",{className:"stacked-promo-carousel-mobile__item-title"},E.createElement("span",null,e.title)),E.createElement("div",{className:"stacked-promo-carousel-mobile__item-description",dangerouslySetInnerHTML:{__html:e.description}}))),E.createElement("div",{className:"stacked-promo-carousel-mobile__item-image-wrapper"},E.createElement("div",{className:"stacked-promo-carousel-mobile__item-image"},E.createElement("img",{src:e.image.src,alt:e.image.alt}))))):null)))))};b.propTypes=v;const N=b;var w=a(27378);const f={title:l.string,centerAligned:l.boolean,items:(0,l.arrayOf)((0,l.shape)({image:(0,l.shape)({src:l.string.isRequired,alt:l.string.isRequired}),title:l.string.isRequired,description:l.string,link:l.string,target:l.string}))},y=e=>{let{title:t,centerAligned:a,items:r}=e;const[l,i]=(0,s.useState)(0),n=e=>
1{const[t,a]=(0,s.useState)(window.matchMedia(e).matches);return(0,s.useEffect)((()=>{let r=window.matchMedia(e);r.matches!==t&&a(r.matches);let s=()=>a(r.matches);return r.addEventListener("change",s),()=>r.removeEventListener("change",s)}),[e]),t},o=n("(min-width: 600px) and (max-width: 1199px)"),p=n("(max-width: 599px"),u=(()=>{switch(r.length){case 8:return"stacked-promo-carousel__controls--width-8";case 7:return"stacked-promo-carousel__controls--width-7";case 6:return"stacked-promo-carousel__controls--width-6";case 5:return"stacked-promo-carousel__controls--width-5";default:return""}})();return p?w.createElement(N,{title:t,items:r,activeItem:l,handleActiveItem:e=>i(e)}):w.createElement(w.Fragment,null,w.createElement("h2",{className:"stacked-promo-carousel__title wrapper",style:a?{textAlign:"center"}:{}},t),w.createElement("div",{className:"stacked-promo-carousel__background"},w.createElement("img",{src:r[l].image.src,alt:r[l].image.alt})),w.createElement("div",{className:d()("stacked-promo-carousel__items-container wrapper",{"stacked-promo-carousel__items-container--far-left":o&&0===l},{"stacked-promo-carousel__items-container--before-far-left":o&&1===l},{"stacked-promo-carousel__items-container--far-right":o&&l===r.length-1},{"stacked-promo-carousel__items-container--before-far-right":o&&l===r.length-2})},r&&r.map(((e,t)=>t<8?((e,t)=>w.createElement("div",{"aria-label":e.title,className:d()("stacked-promo-carousel__item",{"stacked-promo-carousel__item--active":l===t},{"stacked-promo-carousel__item--prev":l-1===t},{"stacked-promo-carousel__item--next":l+1===t}),key:t},t===l?e.link?w.createElement("a",{href:e.link,className:"stacked-promo-carousel__item-link",target:e.target},w.createElement("div",{className:"stacked-promo-carousel__item-inner"},w.createElement("div",{className:"stacked-promo-carousel__item-title"},w.createElement("span",null,e.title)),w.createElement("div",{className:"stacked-promo-carousel__item-description",dangerouslySetInnerHTML:{__html:e.description}}))):w.createElement("div",{className:"stacked-promo-carousel__item-link stacked-promo-carousel__item-link--no-link"},w.createElement("div",{className:"stacked-promo-carousel__item-inner"},w.createElement("div",{className:"stacked-promo-carousel__item-title"},w.createElement("span",null,e.title)),w.createElement("div",{className:"stacked-promo-carousel__item-description",dangerouslySetInnerHTML:{__html:e.description}}))):w.createElement("button",{className:"stacked-promo-carousel__item-btn",type:"button",onClick:()=>i(t)},w.createElement("div",{className:"stacked-promo-carousel__item-image-wrapper"},w.createElement("div",{className:"stacked-promo-carousel__item-image"},w.createElement("img",{src:e.image.src,alt:e.image.alt}))))))(e,t):null))),w.createElement("div",{className:"stacked-promo-carousel__controls wrapper ".concat(u)},w.createElement("button",{className:"stacked-promo-carousel__btn-prev",onClick:()=>{0===l?r.length>=8?i(7):i(r.length-1):i(l-1)},type:"button","aria-label":"previous item"},w.createElement("span",{className:"visually-hidden"},"Previous Item"),w.createElement(c,null)),w.createElement("button",{className:"stacked-promo-carousel__btn-next",onClick:()=>{7===l||l===r.length-1?i(0):i(l+1)},type:"button","aria-label":"next item"},w.createElement("span",{className:"visually-hidden"},"Next Item"),w.createElement(m,null))))};y.propTypes=f;const x=y;var I=a(27378);const A={title:l.string,centerAligned:l.boolean,items:(0,l.arrayOf)((0,l.shape)({image:(0,l.shape)({src:l.string.isRequired,alt:l.string.isRequired}),title:l.string.isRequired,description:l.string,link:l.string,target:l.string}))},S=e=>{let{title:t,centerAligned:a,items:r}=e;return I.createElement(x,{title:t,centerAligned:a,items:r})};S.propTypes=A;const L=S;var M=a(27378);function q(){const e=document.getElementById("stacked-promo-carousel"),t=e.getAttribute("data-model"),a=JSON.parse(t);(0,r.render)(M.createElement(L,a),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.