PageSourceSearch

https://yamaha-motor.com/_next/static/chunks/556.8cd8201a54c0034c.js

js yamaha-motor.com collected 2026-10-01 10:20:21 UTC 4,102 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[556],{556:(e,a,l)=>{"use strict";l.r(a),l.d(a,{default:()=>g});var i=l(37876),r=l(54587),s=l.n(r),t=l(48230),n=l.n(t),c=l(14232),d=l(69241),o=l(91772);l(34652),l(99632);var u=l(37433),h=l(28120),p=l(73),f=l.n(p),m=l(76986),_=l.n(m);function g(e){let{articles:a,title:l,subtitle:r}=e,[t,p]=(0,c.useState)(null),[m,g]=(0,c.useState)(0),[b,C]=(0,c.useState)(1),[x,k]=(0,c.useState)(!1);return((0,c.useEffect)(()=>{let e=()=>{let e;t&&g((e=t.params.slidesPerView,Math.ceil(a.length/e)))},l=()=>{t&&C(Math.ceil((t.activeIndex+t.params.slidesPerGroup)/t.params.slidesPerGroup))};t&&(e(),t.on("resize",e),t.on("slideChange",l));let i=()=>{k(window.innerWidth<768)};return i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i),t&&(t.off("resize",e),t.off("slideChange",l))}},[a,t]),a&&0!==a.length)?(0,i.jsxs)("div",{className:_().carouselContainer,children:[(0,i.jsxs)("div",{className:_().headContainer,children:[(0,i.jsx)("h1",{className:_().headTitle,children:l}),!x&&m>1&&(0,i.jsxs)("div",{className:_().navigationContainer,children:[(0,i.jsx)(o.E_,{className:_().arrowButtons,onClick:()=>{t&&t.slidePrev()}}),!t||x?null:(0,i.jsxs)("span",{className:(0,d.A)(_().pagination,f().className),children:[String(b).padStart(2,"0")," / ",String(m).padStart(2,"0")]}),(0,i.jsx)(o.xV,{className:_().arrowButtons,onClick:()=>{t&&t.slideNext()}})]})]}),(0,i.jsx)(h.RC,{onSwiper:e=>{p(e)},modules:[u.Vx,u.dK],spaceBetween:20,slidesPerView:1.2,slidesPerGroup:1,breakpoints:{768:{slidesPerView:2,slidesPerGroup:2},1024:{slidesPerView:4,slidesPerGroup:4}},navigation:!x&&{prevEl:".".concat(_().arrowButtons,":nth-child(1)"),nextEl:".".concat(_().arrowButtons,":nth-child(3)")},className:_().articlesWrapper,children:a.map(e=>(0,i.jsx)(h.qr,{className:_().articleSlide,children:e.blocks.map(a=>{var l,r,t,c,o;let u=null==(t=e.url)||null==(r=t.split("/"))||null==(l=r.slice(3))?void 0:l.filter(e=>e).map(e=>"news"===e?"articles":e).join("/");return(0,i.jsx)("div",{className:_().blockContainer,children:(0,i.jsxs)(n(),{href:u,passHref:!0,children:[(0,i.jsx)(s(),{src:(null==(c=a.image)?void 0:c.url)||"/images/news-default-thumbnail.jpg",alt:(null==(o=a.image)?void 0:o.description)||"articlesBlockImage",className:_().imageBlocks,width:280,height:190}),(0,i.jsx)("div",{className:_().articleTitle,children:(0,i.jsx)("p",{className:(0,d.A)(f().className),children:a.title})})]})},a.cid)})},e.cid))})]}):(0,i.jsx)(i.Fragment,{})}},76986:e=>{e.exports={primaryRed:"#e31230",darkRed:"#c80226",darkestRed:"rgb(149.504950495,1.495049505,28.4059405941)",errorRed:"#ff4539",paleRed:"#ffedec",secondaryRed:"#ff1e22",green:"#00b280",paleGreen:"#f4fff8",blue:"#0063d1",paleBlue:"#e5f6ff","light-blue":"#1f5592",darkBlue:"#004796",grey:"gray",absoluteBlack:"#000",black:"#222b33",modalBlack:"rgba(34,43,51,.7)",darkGrey:"#444b52",midGrey:"#67717a",midLightGrey:"#9ca5ad",lightGrey:"#d8dce1",lightestGrey:"#f6f8f9",codGray:"#1a1a1a","bg-grey":"#f2f2f2",disabledGrey:"#bfc1c6",antiFlashWhite:"#f0f0f0",white:"#fff","alert-yellow":"#f9eec7","dark-yellow":"#e7c038",alternativeGrey:"#323232",gainsboro:"#d9d9d9",charcoal:"#2a2a2a",darkCharcoal:"#262727",formalGray:"#b5b5b5",yamahaBlack:"#1b232c",desktopWidth:"1128px",tabletMaxWidth:"1159px",desktopMinWidth:"1160px",desktopLargeWidth:"1440px",tabletWidth:"752px",themetabletWidth:"768px",mobileWidth:"430px",smallMobileWidth:"340px",carouselContainer:"ArticlesCarousel_carouselContainer__D722k",blockContainer:"ArticlesCarousel_blockContainer__6DMhn",headTitle:"ArticlesCarousel_headTitle__55W32",headContainer:"ArticlesCarousel_headContainer__teB_1",arrowButtons:"ArticlesCarousel_arrowButtons__PYuMc",articlesList:"ArticlesCarousel_articlesList__uxJl4",articleSlide:"ArticlesCarousel_articleSlide__5jY1N",articleTitle:"ArticlesCarousel_articleTitle__9odGJ",articleSubtitle:"ArticlesCarousel_articleSubtitle__ww6O5",navigationContainer:"ArticlesCarousel_navigationContainer__Wiarw",pagination:"ArticlesCarousel_pagination__vBvm8",imageBlocks:"ArticlesCarousel_imageBlocks__pK3IZ"}},99632:()=>{}}]);

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.