PageSourceSearch

https://www.yamaha-motor.com.ph/_next/static/chunks/pages/rev-store/[categorySlug]-56f46799641fdcae.js

js yamaha-motor.com.ph collected 2026-10-02 13:17:45 UTC 22,873 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1463,596,1771],{20596:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return f}});var i=n(59499),r=n(17674),a=n(4730),o=n(25675),s=n.n(o),c=n(14141).ZP.div.withConfig({displayName:"styles__LazyImageContainer",componentId:"sc-137cnlf-0"})(["border-radius:inherit;.shadow{position:absolute;height:100%;width:100%;top:0;left:0;z-index:1;pointer-events:none;}> span{border-radius:inherit;}.ant-skeleton,.ant-skeleton-avatar{height:100% !important;width:100% !important;}"]),l=n(67294),d=n(85893),u=["src","containerStyle","objectFit","className","alt","shadow","objectPosition"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e){var t=e.src,n=e.containerStyle,i=e.objectFit,o=e.className,p=e.alt,f=e.shadow,h=e.objectPosition,g=(0,a.Z)(e,u),x=null===t||void 0===t?void 0:t.split(".").pop(),y=l.useState(!1),v=(0,r.Z)(y,2),w=v[0],j=v[1];return w?(0,d.jsx)(c,{style:m({position:n&&"relative"},n),className:o,children:(0,d.jsx)(s(),m({decoding:"async",layout:"fill",src:"/images/default-image.png",blurDataURL:"/images/default-image.png",placeholder:"blur",alt:p||"image",objectFit:i||"contain",objectPosition:h||"center"},g))}):(0,d.jsxs)(c,{style:m({position:n&&"relative"},n),className:o,children:[f&&(0,d.jsx)("div",{className:"shadow",style:{boxShadow:f}}),(0,d.jsx)(s(),m({decoding:"async",layout:"fill",src:"pdf"===x?"/images/default-image.png":t,blurDataURL:"pdf"===x?"/images/default-image.png":t,placeholder:"blur",onError:function(e){j(!0)},objectFit:null!==i&&void 0!==i?i:"contain",alt:p||"image"},g))]})}},72885:function(e,t,n){"use strict";n(58136);var i=n(5789),r=(n(23461),n(53740)),a=n(11163),o=(n(67294),n(67161)),s=n(97104),c=n(63893),l=n(25675),d=n.n(l),u=n(20596),p=n(4135),m=n(1062),f=n(5152),h=n.n(f),g=n(85893);h()((function(){return Promise.resolve().then(n.bind(n,7022)).then((function(e){return e.Media}))}),{ssr:!1,loadableGenerated:{webpack:function(){return[7022]}}});t.Z=function(){var e=(0,a.useRouter)();return(0,g.jsxs)(p.t3,{align:"middle",gutter:[20,20],children:[(0,g.jsx)(u.default,{src:"/images/yamalube-bg.webp",alt:"yamalube background",containerStyle:{width:"100%",height:"100%",position:"absolute",top:0,left:0},objectFit:"cover","data-swiper-parallax":"50% 50%"}),(0,g.jsx)(i.Z,{className:"content",span:24,lg:12,children:(0,g.jsxs)("div",{style:{display:"flex",gap:"3rem",flexDirection:"column",padding:"1rem"},children:[(0,g.jsx)(s.$X,{variants:c.iM,transition:{duration:1.6,delay:1,ease:[.17,.85,.438,.99]},overflow:!0,threshold:.2,children:(0,g.jsx)("div",{className:"image",children:(0,g.jsx)(d(),{decoding:"async",alt:"yamalube logo",layout:"fill",src:"/images/yamalube-img.webp"})})}),(0,g.jsx)(s.$X,{variants:c.iM,transition:{duration:1.6,delay:1,ease:[.17,.85,.438,.99]},overflow:!0,threshold:.2,children:(0,g.jsx)(r.Z.Title,{level:2,children:(0,g.jsx)(m.Z,{style:{fontWeight:300,fontSize:"19px"},text:"The \u201cLiquid Engine Component\u201d that realizes 100% performance of Yamaha products"})})}),(0,g.jsx)(s.$X,{variants:c.iM,transition:{duration:1.6,delay:1,ease:[.17,.85,.438,.99]},overflow:!0,threshold:.2,children:(0,g.jsxs)("div",{style:{display:"flex",gap:"20px",flexWrap:"wrap"},children:[(0,g.jsx)(o.zx,{type:"ghost",onClick:function(){return e.push("/rev-store/yamalube")},children:"EXPLORE"}),(0,g.jsx)(o.zx,{type:"ghost",onClick:function(){return e.push("https://find-dealer.yamaha-motor.com.ph/")},children:"FIND DEALER"})]})})]})}),(0,g.jsx)(i.Z,{span:24,lg:12,className:"imageContainer",children:(0,g.jsx)("div",{className:"image",children:(0,g.jsx)(u.default,{src:"/images/yamalube-product.webp",alt:"yamalube",containerStyle:{width:"100%",height:"100%"},objectPosition:"left center",objectFit:"contain"})})})]})}},40082:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});n(23461);var i=n(53740),r=n(11163),a=n(67294),o=n(67161),s=n(4135),c=(n(90116),n(25675)),l=n.n(c),d=n(1835),u=n(85893),p=function(e){var t,n,i,r,o,c,p,m,f,h,g,x=(0,a.useState)([]),y=(x[0],x[1]);(0,a.useEffect)((function(){y(v())}),[]);var v=function(){var e=localStorage.getItem("productIds");return e?JSON.parse(e):[]};return(0,u.jsxs)(s.r7,{style:{width:e.cardSize},children:[(0,u.jsxs)("div",{className:"image  glassmorphism",style:{height:e.cardSize},children:[(0,u.jsx)("div",{style:{position:"absolute",top:"1rem",left:"1rem",zIndex:1,display:"flex",justifyContent:"space-between",width:"calc(100% - 2rem)",alignItems:"center"},children:(0,u.jsx)("div",{style:{flex:1},children:Boolean(e.product.variants[0].on_sale)&&(0,u.jsx)("div",{style:{color:"white",background:"#d50000",padding:".2rem 1.5rem",letterSpacing:"2px",fontSize:"1.2rem"},children:"SALE"})})}),(0,u.jsx)("div",{style:{position:"relative",height:"80%",width:"80%",cursor:"pointer"},onClick:e.onClick,children:(0,u.jsx)(l(),{decoding:"async",alt:e.product.name.toLowerCase(),layout:"fill",objectFit:"contain",src:"".concat(d.Z.AWS_S3,"/").concat(null===(t=e.product)||void 0===t||null===(n=t.variants)||void 0===n||null===(i=n[0].images)||void 0===i?void 0:i[0])})})]}),(0,u.jsxs)("div",{className:"content",children:[(0,u.jsx)("div",{className:"name",children:e.product.name}),(0,u.jsxs)("div",{className:"price",children:[Boolean(null===(r=e.product)||void 0===r||null===(o=r.variants)||void 0===o?void 0:o[0].discount)&&(0,u.jsxs)("div",{style:{fontSize:"1.1rem",position:"relative",width:"fit-content"},children:[(0,u.jsx)("hr",{style:{position:"absolute",transform:"rotate(11deg)",top:"3px",width:"95%",left:"2.5%",borderColor:"#d50000",zIndex:1}}),(0,u.jsxs)("span",{style:{opacity:"0.5"},children:["P"," ",null===(c=e.product)||void 0===c||null===(p=c.variants)||void 0===p?void 0:p[0].price.toLocaleStr
1ing(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})]})]}),(0,u.jsxs)("div",{children:["P"," ",((null===(m=e.product)||void 0===m||null===(f=m.variants)||void 0===f?void 0:f[0].price)-((null===(h=e.product)||void 0===h||null===(g=h.variants)||void 0===g?void 0:g[0].discount)||0)).toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})]})]})]})]})},m=function(e){var t=(0,r.useRouter)(),n=(0,a.useState)(10),c=n[0],l=n[1];return e.products.length?(0,u.jsxs)(s.jl,{style:e.style,children:[(0,u.jsx)(i.Z.Title,{style:{fontSize:"20px",marginBottom:"2rem"},children:e.title}),(0,u.jsxs)("div",{className:"content",children:[(0,u.jsx)("div",{className:"products",children:e.products.slice(0,c).map((function(n,i){return(0,u.jsx)(p,{cardSize:e.cardSize,product:n,onClick:function(){return t.push("/rev-store/".concat(t.query.categorySlug,"/").concat(n.slug))}},i)}))}),e.products.length>c&&(0,u.jsx)("div",{style:{display:"flex",justifyContent:"center",padding:"5rem"},children:(0,u.jsx)(o.zx,{type:"ghost",onClick:function(){return l(e.products.length)},children:"LOAD MORE"})})]})]}):(0,u.jsx)(u.Fragment,{})}},4135:function(e,t,n){"use strict";n.d(t,{Bi:function(){return p},Ei:function(){return l},ME:function(){return f},W9:function(){return d},b5:function(){return c},cr:function(){return m},ey:function(){return a},jl:function(){return o},r7:function(){return s},t3:function(){return u}});n(30467);var i=n(55673),r=n(14141),a=r.ZP.div.withConfig({displayName:"style__StyledRevStoreProducts",componentId:"sc-cgnd8d-0"})([".filters{display:flex;gap:2rem;margin-bottom:5%;.productFilter{width:320px;flex-shrink:0;padding:2rem;display:flex;flex-direction:column;gap:35px;height:fit-content;transition:box-shadow 0.3s;&:hover{box-shadow:",";}.categories{margin-left:-1rem;display:flex;flex-direction:column;.title{font-size:20px;text-transform:uppercase;margin:0 1rem 1rem 1rem;}.category{padding:0.5rem 1rem 0.5rem 0.5rem;width:fit-content;font-size:16px;text-transform:uppercase;cursor:pointer;display:flex;align-items:center;gap:0.5rem;&.active{background:#2a2a2a;color:white;}}.subCategory{font-size:16px;padding:0.5rem;margin-left:3rem;cursor:pointer;}}}}@media screen and (max-width:1000px){.filters{flex-direction:column;align-items:center;.productFilter{.categories > div{flex-direction:row;flex-wrap:wrap;}}}}@media screen and (max-width:500px){.filters{.productFilter{width:100%;}}}"],(function(e){var t=e.theme;return"0 0 5px 0  ".concat(t.textColor)})),o=r.ZP.div.withConfig({displayName:"style__StyledProductList",componentId:"sc-cgnd8d-1"})([".products{display:flex;flex-wrap:wrap;gap:2rem;}@media screen and (max-width:1100px){text-align:center;.products{justify-content:center;}}"]),s=r.ZP.div.withConfig({displayName:"style__StyledRevStoreProductCard",componentId:"sc-cgnd8d-2"})([".image{display:flex;justify-content:center;align-items:center;position:relative;transition:box-shadow 0.3s;}.content{display:flex;gap:1rem;font-size:16px;padding:1rem 0;gap:0.5rem;.name{flex:1;text-align:left;}.price{display:flex;flex-direction:column;}}&:hover{.image{box-shadow:",";}}"],(function(e){var t=e.theme;return"0 0 5px 0  ".concat(t.textColor)})),c=(0,r.ZP)(i.Z).withConfig({displayName:"style__StyledRevStoreProductDetails",componentId:"sc-cgnd8d-3"})([".product{padding:5%;display:flex;gap:2rem;& > div{flex:1;}.preview{display:flex;flex-direction:column;align-items:center;gap:2rem;.image{width:600px;height:600px;position:relative;}.thumbs{display:flex;gap:2rem;justify-content:center;.thumb{height:100px;width:100px;position:relative;background:#d9d9d921;box-shadow:0px 4px 4px rgba(0,0,0,0.25);cursor:pointer;}}}.details{.content{min-height:600px;display:flex;flex-direction:column;gap:2rem;padding-top:5%;& > div:nth-child(1){flex:1;display:flex;flex-direction:column;gap:2rem;}}}@media screen and (max-width:1200px){.preview{.image{width:400px;height:400px;}}.details{.content{height:400px;}}}@media screen and (max-width:900px){flex-direction:column;.preview{align-items:flex-start;}}@media screen and (max-width:500px){.preview{.image{width:100%;height:300px;}}
1}}.relatedProducts{padding:5%;}"]),l=(0,r.ZP)(i.Z).withConfig({displayName:"style__StyleRevStoreBreadCrumbs",componentId:"sc-cgnd8d-4"})(["margin-top:10rem;padding:1rem 5%;text-transform:uppercase;font-size:16px;width:100%;"]),d=r.ZP.div.withConfig({displayName:"style__StyledLiquidComponentSection",componentId:"sc-cgnd8d-5"})(["padding:calc(5% + 50px) 5%;min-height:100vh;overflow-y:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;.title{font-size:4rem;display:flex;justify-content:center;flex-wrap:wrap;.signature{color:",";}}.description{text-align:center;font-weight:300;font-size:18px;}.components{display:flex;justify-content:center;width:100%;overflow:hidden;.volumes{min-width:1000px !important;max-width:1000px;position:relative !important;margin-top:50px;.volume{text-align:center;display:flex;flex-direction:column;align-items:center;gap:20px;transition:transform 1s;&:not(.active){transform:scale(0.8);}.progress{width:100%;color:white;}.content{.title{font-size:20px;}.description{font-size:16px;margin:auto;color:",";}}}}}@media screen and (max-height:700px){.components{.volumes{.volume{.progress{width:200px;}}}}}"],(function(e){return e.theme.secondary}),(function(e){return e.theme.textColor})),u=(0,r.ZP)(i.Z).withConfig({displayName:"style__StyledYamalubeSection",componentId:"sc-cgnd8d-6"})(["padding:calc(5% + 3rem) 2.5% 5% 2.5%;gap:3rem;color:white;height:100%;.content{flex:1;.image{width:400px;height:180px;position:relative;}}.imageContainer{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2rem;.image{height:80%;width:80%;}}@media screen and (max-width:900px){padding-right:4rem;min-height:fit-content;display:flex;gap:0;align-items:center;.content{.image{width:200px;height:90px;}}.imageContainer{height:fit-content;margin-top:-100px;.image{height:25vh;margin-top:50px;width:100%;}}}"]),p=(0,r.ZP)(i.Z).withConfig({displayName:"style__StyledPowerProductSection",componentId:"sc-cgnd8d-7"})(["overflow:hidden;.content{height:50vh;padding:calc(5% + 3rem) 2.5% 2.5% 2.5%;max-width:1000px;width:100%;justify-content:center;display:flex;flex-direction:column;.title{font-size:4rem;}}.image{height:50vh;}@media screen and (max-width:800px){.content{padding-bottom:1rem;padding-right:3rem;}}"]),m=(0,r.ZP)(i.Z).withConfig({displayName:"style__StyledGenuinePartSection",componentId:"sc-cgnd8d-8"})(["padding:5%;padding-top:calc(5% + 3rem);height:100%;.image{height:20rem;}@media screen and (max-width:800px){padding-right:5rem;padding-bottom:5rem;.image{height:10rem;}}"]),f=(0,r.ZP)(i.Z).withConfig({displayName:"style__StyledPersonalizeSection",componentId:"sc-cgnd8d-9"})(["padding:5%;padding-top:calc(5% + 3rem);height:100%;.title{font-size:4.5rem;font-weight:600;letter-spacing:10px;}.image{height:20rem;}@media screen and (max-width:800px){padding-right:5rem;padding-bottom:5rem;.title{font-size:4rem;letter-spacing:0px;}.image{height:10rem;}}"])},89727:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return T},default:function(){return D}});var i=n(5152),r=n.n(i),a=n(11163),o=n(97104),s=n(67161),c=n(67294),l=n(40082),d=(n(23461),n(53740)),u=n(50029),p=n(87794),m=n.n(p),f=n(88767),h=n(21182),g=n(47516),x=n(94442),y=n(85893),v=function(){var e=(0,u.Z)(m().mark((function e(){return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.rQ)("/revstore-category");case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=function(e){var t=e.categoryId,n=e.onSelectSubCategory,i=(0,a.useRouter)(),r=((0,x.Z)().darkMode,(0,f.useQuery)("revstoreCategories",v).data),o=(0,c.useState)(!0),s=o[0],l=o[1];return(0,y.jsxs)("div",{className:"categories",children:[(0,y.jsx)(d.Z.Title,{className:"title",children:"Product Categories"}),(0,y.jsx)("div",{children:null===r||void 0===r?void 0:r.map((function(e){return(0,y.jsxs)("div",{children:[(0,y.jsxs)("div",{className:"category ".concat(t===e.id?"active":""),onClick:function(){if(t!==e.id)return i.push("/rev-store/".concat(e.slug));l((function(e){return!e}))},children:[(0,y.jsx)(g.PHf,{size:25,className:"icon ".concat(s&&t===e.id?"active":"")}),e.name]}),Boolean(t===e.id&&s)&&(0,y.jsx)("div",{children:e.subcategories.map((function(e){return(0,y.jsx)("div",{className:"subCategory",onClick:function(){return n(e.id)},children:e.name},e.id)}))})]},e.id)}))})]})},j=n(96486),b=function(e){var t=(0,j.uniqBy)(e.brands,"id");return(0,y.jsxs)("div",{children:[(0,y.jsx)(d.Z.Title,{style:{fontSize:"20px",textTransform:"uppercase",marginBottom:"1rem"},children:"Brands"}),(0,y.jsx)("div",{children:t.length?t.map((function(n,i){return(0,y.jsx)("span",{style:{padding:".5rem 0",
1width:"fit-content",fontSize:"16px"},onClick:function(){return e.onClick(n)},children:n.name+(i<t.length-1?" / ":"")},n.id)})):(0,y.jsx)("span",{style:{padding:".5rem 0",width:"fit-content",fontSize:"16px",opacity:.5},children:"No brands"})})]})},S=(n(96606),n(36155)),C=function(e){return(0,y.jsxs)("div",{children:[(0,y.jsx)(d.Z.Title,{style:{fontSize:"20px",textTransform:"uppercase",marginBottom:"1rem"},children:"Filter by price"}),(0,y.jsx)(S.Z,{range:!0,style:{maxWidth:"200px"},handleStyle:[{backgroundColor:"#5f5f5f",borderColor:"#5f5f5f"},{backgroundColor:"#5f5f5f",borderColor:"#5f5f5f"}],trackStyle:[{backgroundColor:"#5f5f5f"}],onChange:e.onChange,defaultValue:[e.defaultValue[0],e.defaultValue[1]],min:0,max:1e5}),(0,y.jsxs)("div",{style:{fontSize:"16px",position:"relative",padding:".5rem 0"},children:["P ",e.defaultValue[0]," - P ",e.defaultValue[1].toLocaleString()]})]})},P=function(){var e=(0,u.Z)(m().mark((function e(){var t;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.rQ)("/revstore-products/popular");case 2:return t=e.sent,e.next=5,t.popular_tags;case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=function(){var e=(0,f.useQuery)("RevStorePopularTags",P).data;return(0,y.jsxs)("div",{children:[(0,y.jsx)(d.Z.Title,{style:{fontSize:"20px",textTransform:"uppercase",marginBottom:"1rem"},children:"Tags"}),null===e||void 0===e?void 0:e.map((function(t,n){return(0,y.jsx)("span",{style:{fontSize:"16px"},children:t.name+(n<e.length-1?" \\ ":"")},n)}))]})},k=n(42085),Z=n(4135),N=n(1835),z=n(6192),E=n(72885),O=r()((function(){return Promise.resolve().then(n.bind(n,7022)).then((function(e){return e.Media}))}),{ssr:!1,loadableGenerated:{webpack:function(){return[7022]}}}),L=r()((function(){return Promise.all([n.e(3255),n.e(6893),n.e(458),n.e(7315)]).then(n.bind(n,458))}),{ssr:!0,loadableGenerated:{webpack:function(){return[458]}}}),R=r()((function(){return Promise.all([n.e(5445),n.e(9582)]).then(n.bind(n,34329))}),{loadableGenerated:{webpack:function(){return[34329]}}}),T=!0,D=function(e){var t,n=(0,c.useState)([1,1e5]),i=n[0],r=n[1],d=(0,c.useState)([]),u=d[0],p=d[1],m=(0,c.useState)(0),f=m[0],h=m[1],g=(0,c.useState)(250),x=g[0],v=g[1],S=(0,a.useRouter)();(0,c.useEffect)((function(){p(T),h(0)}),[e.products]),(0,c.useEffect)((function(){window.addEventListener("resize",P),window.addEventListener("load",P)}),[]);var P=function(){if(window.innerWidth<600)return v(300);v(230)},T=(0,c.useMemo)((function(){var t=(0,j.groupBy)(e.products,(function(e){return e.subcategories.map((function(e){return e.id}))}));return Object.entries(t).map((function(e){return e[1]}))}),[e.products]),D=function(e){return e.filter((function(e){var t=e.variants;return t[0].price>=i[0]&&t[0].price<=i[1]}))};return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(z.default,{title:e.meta_title||"".concat(e.category[0].name).replace(/-/g," ").toLowerCase(),imagePath:"/".concat(e.category[0].image||e.meta_image),keywords:e.meta_keywords,imageOrigin:"s3",description:e.meta_description||e.category[0].description,pagePath:e.meta_canonical||"/rev-store/".concat(e.category[0].slug)}),(0,y.jsx)(o._z,{children:(0,y.jsxs)(O,{greaterThanOrEqual:"xs",children:[(0,y.jsx)(L,{autoHide:!0}),(0,y.jsxs)(s.JH,{direction:"vertical",children:[/yamalube/i.test(e.category[0].name)?(0,y.jsx)("div",{className:"relative w-full h-screen overflow-hidden",children:(0,y.jsx)(E.Z,{})}):(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(O,{greaterThanOrEqual:"sm",children:(0,y.jsx)(k.Z,{align:"middle",justify:function(e){switch(e){case"center":return"center";case"right":return"end";default:return"start"}}(e.category[0].justify),maxWidth:"700px",title:e.category[0].name.toUpperCase(),subTitle:e.category[0].description,background:{image:"".concat(N.Z.AWS_S3,"/").concat(e.category[0].image),alt:"".concat(e.category[0].name).toLowerCase()},buttons:[{text:"EXPLORE",onClick:function(){return S.push("".concat(S.asPath.split("#")[0],"#main"))}},{text:"FIND DEALER",onClick:function(){return S.push("https://find-dealer.yamaha-motor.com.ph/")}}]})}),(0,y.jsx)(O,{lessThan:"sm",children:(0,y.jsx)(k.Z,{align:"bottom",justify:"center",maxWidth:"700px",t
1itle:e.category[0].name.toUpperCase(),subTitle:e.category[0].description,background:{image:"".concat(N.Z.AWS_S3,"/").concat(e.category[0].mobile_image||e.category[0].image),alt:"".concat(e.category[0].name).toLowerCase()},buttons:[{text:"EXPLORE",onClick:function(){return S.push("".concat(S.asPath.split("#")[0],"#main"))}},{text:"FIND DEALER",onClick:function(){return S.push("https://find-dealer.yamaha-motor.com.ph/")}}]})})]}),(0,y.jsxs)(Z.Ei,{className:"header glassmorphism",style:{marginTop:"50px"},children:[(0,y.jsx)("span",{style:{cursor:"pointer"},onClick:function(){return S.push("/rev-store")},children:"Rev Store"}),"\xa0\xa0-\xa0\xa0",(0,y.jsx)("span",{style:{cursor:"pointer"},onClick:function(){return h(0)},children:null===(t=e.category)||void 0===t?void 0:t[0].name})]}),(0,y.jsxs)(Z.ey,{id:"main",style:{padding:"3%"},children:[(0,y.jsxs)("div",{className:"filters",children:[(0,y.jsxs)("div",{className:"productFilter glassmorphism",style:{marginBottom:"50px"},children:[(0,y.jsx)(w,{categoryId:e.category[0].id,onSelectSubCategory:function(e){return h(e)}}),(0,y.jsx)(b,{brands:u.map((function(e){return e[0].brand})),onClick:function(e){}}),(0,y.jsx)(C,{onChange:function(e){return r(e)},defaultValue:i}),(0,y.jsx)(_,{})]}),(0,y.jsx)("div",{style:{display:"flex",gap:"30px",flexDirection:"column"},children:u.map((function(e,t){if(e[0].subcategories[0].id===f||!f)return(0,y.jsx)(l.Z,{title:e[0].subcategories[0].name,style:{marginBottom:"5%"},products:D(e),cardSize:"".concat(x,"px")},t)}))})]}),(0,y.jsx)("div",{style:{display:"flex",justifyContent:"center",margin:"50px 0"},children:Boolean(u.length)&&(0,y.jsx)(l.Z,{cardSize:"300px",title:"RELATED PRODUCTS",products:e.relatedProducts.slice(0,4)})})]})]}),(0,y.jsx)(R,{})]})})]})}},21182:function(e,t,n){"use strict";n.d(t,{dc:function(){return p},qC:function(){return u},rQ:function(){return d}});n(94125);var i=n(50029),r=n(87794),a=n.n(r),o=n(9669),s=n.n(o),c=n(1835),l=s().create({baseURL:c.Z.BASE_URL}),d=function(){var e=(0,i.Z)(a().mark((function e(t,n){var i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l.get(t,n);case 3:return i=e.sent,e.next=6,i.data;case 6:return e.abrupt("return",e.sent);case 9:throw e.prev=9,e.t0=e.catch(0),e.t0;case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,n){return e.apply(this,arguments)}}(),u=function(){var e=(0,i.Z)(a().mark((function e(t,n,i){var r;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,l.post(t,n,i);case 3:return r=e.sent,e.abrupt("return",r.data);case 7:throw e.prev=7,e.t0=e.catch(0),e.t0;case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t,n,i){return e.apply(this,arguments)}}(),p=function(){var e=(0,i.Z)(a().mark((function e(t){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u("/files/download",{file:t},{responseType:"blob"});case 3:return n=e.sent,e.abrupt("return",URL.createObjectURL(new Blob([n])));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",t);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()},5443:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/rev-store/[categorySlug]",function(){return n(89727)}])}},function(e){e.O(0,[4617,4885,3662,3874,972,9192,5675,7273,1033,9473,3596,8826,2960,519,2970,7262,7275,9405,9774,2888,179],(function(){return t=5443,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.