(window.webpackJsonp=window.webpackJsonp||[]).push([[116],{LV6s:function(e,n){e.exports="/_next/static/images/yamalube-427b5836fce11fe7e5ebcd2f7ac7d850.jpg"},"R19+":function(e,n,a){"use strict";a.r(n),a.d(n,"__N_SSP",(function(){return A}));var t=a("wx14"),i=a("Ff2n"),l=a("q1tI"),c=a.n(l),r=a("TSYQ"),d=a.n(r),u=a("R/WZ"),o=a("1ZD8"),s=a("8x5e"),p=a("8E12"),g=a("HXcA"),m=a("Z2Lm"),h=a("bhG4"),y=a("y2Vs"),f=a("Kg+a"),b=a("AqyA"),x=a("7WNa"),w=a("A2So"),_=a("UsYt"),N=a("mtPR"),v=(a("i4t8"),["selected","handleName","backend","ygp"]),O=c.a.createElement,j=Object(u.a)(x.a),k=function(e){var n=e.selected,a=e.handleName,l=e.backend,c=e.ygp,r=Object(i.a)(e,v),u=j(),o=(Object(t.a)({},r),d()(u.imgRaised,u.imgRoundedCircle,u.imgFluid),d()(u.imgRounded,u.imgGallery)),s=c.map((function(e){return O("div",{style:{padding:"20px",marginTop:"-40px"}},O(w.a,{className:u.textCenter,align:"center",style:{width:"300px"}},O(_.a,null,O("div",{align:"center",style:{padding:"10px"}},O("img",{style:{width:"250px",display:"block"},src:"".concat(l).concat(e.img.url),className:o}),O("div",{align:"center"},O("h5",null,e.name),O("h5",null,"Rp.",e.price),O(f.a,{color:"info",round:!0,href:"/yamaha/product/ygp_detail?s="+e.id},O(b.a,{className:u.icons},"open_in_new"),"Detail Product"))))))}));return O("div",null,O(w.a,{className:u.textCenter,align:"center",style:{padding:"5px"}},O(_.a,null,O("div",{align:"center",style:{marginTop:"-50px"}},O("h2",null,"Yamaha Geniue Part"),O(y.a,{value:n?c.filter((function(e){return e.id==n})):null,getOptionLabel:function(e){return"".concat(e.name," ").concat(e.part_code)},getOptionValue:function(e){return e.id},options:c,isMulti:!0,instanceId:"name",placeholder:"filter by Nama Part",onChange:function(e){return a(e)}}),O("br",null),O(N.a,{justify:"center",style:{padding:"40px",marginTop:"-50px"}},s)))))},R=a("QMLM"),P=a("nOHt"),C=a.n(P),L=["user","selected","ygp","backend"],T=c.a.createElement,E=Object(u.a)(h.a),S=new o.QueryClient,X=function(e){C.a.push({pathname:"/yamaha/product/ygp",query:e&&0!=e.length?{filter:e[0].name}:{}})},A=!0;n.default=function(e){var n=e.user,l=e.selected,c=e.ygp,r=e.backend,u=Object(i.a)(e,L),h=E(),y=Object(t.a)({},u);return T("div",null,T(s.a,Object(t.a)({rightLinks:T(p.a,{username:n}),fixed:!0,color:"info",changeColorOnScroll:{height:400,color:"white"}},y)),T(m.a,{image:a("LV6s"),height:"200px"}),T("div",{className:d()(h.main,h.mainRaised)},T(o.QueryClientProvider,{client:S},T(R.a,null),T(k,{selected:""==l?null:l[0].id,handleName:X,ygp:c,backend:r}))),T(g.a,null))}},XnoH:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/yamaha/product/ygp",function(){return a("R19+")}])}},[["XnoH",0,1,2,3,4,5,6,15,17]]]);