You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1 line
23 KiB

  1. {"code":"(window.webpackJsonp=window.webpackJsonp||[]).push([[117],{\"+0A/\":function(a,e,n){\"use strict\";n.r(e),n.d(e,\"__N_SSP\",(function(){return R}));var t=n(\"wx14\"),l=n(\"Ff2n\"),i=n(\"q1tI\"),r=n.n(i),s=n(\"TSYQ\"),c=n.n(s),o=n(\"R/WZ\"),p=n(\"8x5e\"),d=n(\"8E12\"),m=n(\"HXcA\"),u=n(\"mtPR\"),g=n(\"i4t8\"),h=n(\"SuH/\"),f=n(\"A2So\"),y=n(\"UsYt\"),x=n(\"2zww\"),b=n(\"Kg+a\"),v=n(\"uU2H\"),N=n(\"AqyA\"),w=n(\"alk/\"),k=n(\"aZ9c\"),T=n(\"FoiA\"),j=r.a.createElement,_=Object(o.a)(v.a),O=function(a){var e=a.backend,n=a.ygp,i=a.yamalube,r=a.rconcept,s=a.mtx,o=a.extreme,p=a.ranger,d=a.fighter,m=a.swirl,v=a.classic,O=a.uno,C=a.apparel,P=a.accessories,S=Object(l.a)(a,[\"backend\",\"ygp\",\"yamalube\",\"rconcept\",\"mtx\",\"extreme\",\"ranger\",\"fighter\",\"swirl\",\"classic\",\"uno\",\"apparel\",\"accessories\"]);console.log(r);var L=_(),R=(Object(t.a)({},S),c()(L.imgRaised,L.imgRoundedCircle,L.imgFluid),c()(L.imgRounded,L.imgGallery)),A=n.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"150px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(\"br\",null),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/ygp_detail?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),B=i.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\",height:\"350px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"100px\",height:\"100px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(\"br\",null),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/yamalube_detail?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),D=r.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"150px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/helmet_details?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),I=s.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"100px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/helmet_details?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),E=o.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"100px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/helmet_details?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),H=p.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"100px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/helmet_details?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),z=d.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"100px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/helmet_details?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),Y=m.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"100px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/helmet_details?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),q=v.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"100px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/helmet_details?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),W=O.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"100px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/helmet_details?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),F=C.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"100px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/helmet_details?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))})),M=P.map((function(a){return j(\"div\",{style:{padding:\"20px\",marginTop:\"-40px\"}},j(f.a,{className:L.textCenter,align:\"center\",style:{width:\"300px\"}},j(y.a,null,j(\"div\",{align:\"center\",style:{padding:\"10px\"}},j(\"img\",{style:{width:\"100px\",display:\"block\"},src:\"\".concat(e).concat(a.img.url),className:R}),j(\"div\",{align:\"center\"},j(\"h5\",null,a.name),j(\"h5\",null,j(k.a,{value:a.price,displayType:\"text\",thousandSeparator:!0,prefix:\"Rp.\"})),j(b.a,{color:\"info\",round:!0,href:\"/yamaha/product/helmet_details?s=\"+a.id},j(N.a,{className:L.icons},\"open_in_new\"),\"Detail Product\"))))))}));return j(f.a,{className:L.textCenter},j(\"div\",{align:\"center\"},j(x.a,{color:\"info\"},\"Product\")),j(y.a,null,j(\"div\",{align:\"center\"},j(\"h2\",null,\"Sparepart & Accessories\")),j(u.a,{justify:\"center\"},j(g.a,null,j(h.a,{alignCenter:!0,color:\"primary\",tabs:[{tabButton:\"YGP\",tabIcon:w.a,tabContent:j(u.a,{justify:\"center\"},A)},{tabButton:\"Yamalube\",tabIcon:w.a,tabContent:j(u.a,{justify:\"center\"},B)},{tabButton:\"Helmet\",tabIcon:w.a,tabContent:j(\"div\",null,j(\"div\",{align:\"center\"},j(\"div\",{align:\"center\",className:L.section,id:\"notifications\"},j(T.a,{message:j(\"h4\",null,\"R CONCEPT\"),align:\"center\",color:\"info\"})),j(u.a,{justify:\"center\",style:{padding:\"40px\",marginTop:\"-50px\"}},D)),j(\"br\",null),j(\"br\",null),j(\"div\",{align:\"center\",style:{marginTop:\"-50px\"}},j(\"div\",{align:\"center\",className:L.section,id:\"notifications\"},j(T.a,{message:j(\"h4\",null,\"MTX\"),align:\"center\",color:\"info\"})),j(u.a,{justify:\"center\",style:{padding:\"40px\",marginTop:\"-50px\"}},I)),j(\"br\",null),j(\"br\",null),j(\"div\",{align:\"center\",style:{marginTop:\"-50px\"}},j(\"div\",{align:\"center\",className:L.section,id:\"notifications\"},j(T.a,{message:j(\"h4\",null,\"Extreme\"),align:\"center\",color:\"info\"})),j(u.a,{justify:\"center\",style:{padding:\"40px\",marginTop:\"-50px\"}},E)),j(\"br\",null),j(\"br\",null),j(\"div\",{align:\"center\",style:{marginTop:\"-50px\"}},j(\"div\",{align:\"center\",className:L.section,id:\"notifications\"},j(T.a,{message:j(\"h4\",null,\"Ranger\"),align:\"center\",color:\"info\"})),j(u.a,{justify:\"center\",style:{padding:\"40px\",marginTop:\"-50px\"}},H)),j(\"br\",null),j(\"br\",null),j(\"div\",{align:\"center\",style:{marginTop:\"-50px\"}},j(\"div\",{align:\"center\",className:L.section,id:\"notifications\"},j(T.a,{message:j(\"h4\",null,\"Fighter\"),align:\"center\",color:\"info\"})),j(u.a,{justify:\"center\",style:{padding:\"40px\",marginTop:\"-50px\"}},z)),j(\"br\",null),j(\"br\",null),j(\"div\",{align:\"center\",style:{marginTop:\"-50px\"}},j(\"div\",{align:\"center\",className:L.section,id:\"notifications\"},j(T.a,{message:j(\"h4\",null,\"Swirl\"),align:\"center\",color:\"info\"})),j(u.a,{justify:\"center\",style:{padding:\"40px\",marginTop:\"-50px\"}},Y)),j(\"br\",null),j(\"br\",null),j(\"div\",{align:\"center\",style:{marginTop:\"-50px\"}},j(\"div\",{align:\"center\",className:L.section,id:\"notifications\"},j(T.a,{message:j(\"h4\",null,\"Classic\"),align:\"center\",color:\"info\"})),j(u.a,{justify:\"center\",style:{padding:\"40px\",marginTop:\"-50px\"}},q)),j(\"br\",null),j(\"br\",null),j(\"div\",{align:\"center\",style:{marginTop:\"-50px\"}},j(\"div\",{align:\"center\",className:L.section,id:\"notifications\"},j(T.a,{message:j(\"h4\",null,\"Uno\"),align:\"center\",color:\"info\"})),j(u.a,{justify:\"center\",style:{padding:\"40px\",marginTop:\"-50px\"}},W)),j(\"br\",null),j(\"br\",null))},{tabButton:\"Apparel\",tabIcon:w.a,tabContent:j(\"div\",null,j(\"div\",{align:\"center\"},j(\"div\",{align:\"center\",className:L.section,id:\"notifications\"},j(T.a,{message:j(\"h4\",null,\"R Concept Apprael\"),align:\"center\",color:\"info\"})),j(u.a,{justify:\"center\",style:{padding:\"40px\",marginTop:\"-50px\"}},F)),j(\"br\",null),j(\"br\",null))},{tabButton:\"Accessories\",tabIcon:w.a,tabContent:j(u.a,{justify:\"center\"},M)}]})))))},C=n(\"Z2Lm\"),P=n(\"bhG4\"),S=r.a.createElement,L=Object(o.a)(P.a),R=!0;e.default=function(a){var e=a.ygp,i=a.yamalube,r=a.rconcept,s=a.mtx,o=a.extreme,u=a.ranger,g=a.fighter,h=a.swirl,f=a.classic,y=a.uno,x=a.apparel,b=a.accessories,v=a.backend,N=a.user,w=Object(l.a)(a,[\"ygp\",\"yamalube\",\"rconcept\",\"mtx\",\"extreme\",\"ranger\",\"fighter\",\"swirl\",\"classic\",\"uno\",\"apparel\",\"accessories\",\"backend\",\"user\"]),k=L(),T=Object(t.a)({},w);return S(\"div\",null,S(p.a,Object(t.a)({leftLinks:S(d.a,{username:N}),fixed:!0,color:\"info\",changeColorOnScroll:{height:400,color:\"white\"}},T)),S(C.a,{image:n(\"l+AL\"),width:\"200px\"}),S(\"div\",{className:c()(k.main,k.mainRaised)},S(O,{ygp:e,yamalube:i,rconcept:r,mtx:s,extreme:o,ranger:u,fighter:g,swirl:h,classic:f,uno:y,apparel:x,accessories:b,backend:v})),S(m.a,null))}},\"8E12\":function(a,e,n){\"use strict\";n.d(e,\"a\",(function(){return T}));var t=n(\"o0o1\"),l=n.n(t),i=n(\"Ff2n\"),r=n(\"q1tI\"),s=n.n(r),c=n(\"YFqc\"),o=n.n(c),p=n(\"R/WZ\"),d=n(\"eD//\"),m=n(\"tVbE\"),u=n(\"AqyA\"),g=n(\"LYUY\"),h=Object(g.a)(s.a.createElement(\"path\",{d:\"M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z\"}),\"Apps\"),f=n(\"UFp1\"),y=n(\"QOEo\"),x=n(\"Kg+a\"),b=n(\"0G1C\"),v=n(\"nJn1\"),N=n.n(v),w=s.a.createElement,k=Object(p.a)(b.a);function T(a){var e=a.username,n=(Object(i.a)(a,[\"username\"]),k());return w(d.a,{className:n.list},w(m.a,{className:n.listItem},w(o.a,{href:\"/yamaha/home\"},w(x.a,{color:\"transparent\",className:n.navLink},w(\"img\",{src:N.a,width:\"180px\"})))),w(m.a,{className:n.listItem},w(o.a,{href:\"/yamaha/home\"},w(x.a,{color:\"transparent\",className:n.navLink,style:{marginTop:\"10px\"}},w(u.a,{className:n.icons},\"home\"),\" Home\"))),w(m.a,{className:n.listItem,style:{marginTop:\"10px\"}},w(y.a,{noLiPadding:!0,navDropdown:!0,buttonText:\"Product\",buttonProps:{className:n.navLink,color:\"transparent\"},buttonIcon:h,dropdownList:[w(\"a\",{href:\"/yamaha/product/product\",className:n.dropdownLink},\"Motor\"),w(\"a\",{href:\"/yamaha/sparepart/sparepart\",className:n.dropdownLink},\"Sparepart & Accessories\"),w(\"a\",{href:\"https://booking.thamrin.co.id/\",className:n.dropdownLink},\"Service\"),w(\"a\",{href:\"/yamaha/dealers\",className:n.dropdownLink},\"Dealers\")]})),w(m.a,{className:n.listItem,style:{marginTop:\"10px\"}},w(o.a,{href:\"/yamaha/latest_news/latestnews\"},w(x.a,{color:\"transparent\",className:n.navLink},w(u.a,{className:n.icons},\"event\"),\" Latest News\"))),w(m.a,{className:n.listItem,style:{marginTop:\"10px\"}},w(x.a,{href:\"/yamaha/carrer/carrer\",color:\"transparent\",className:n.navLink},w(u.a,{className:n.icons},\"wallet_travel\"),\" Career\")),w(m.a,{className:n.listItem,style:{marginTop:\"10px\"}},w(x.a,{href:\"/yamaha/abous_us/aboutus\",color:\"transparent\",className:n.navLink},w(u.a,{className:n.icons},\"account_balance\"),\" About Us\")),w(m.a,{className:n.listItem,style:{marginTop:\"10px\"}},w(x.a,{href:\"/yamaha/profile/profile\",color:\"transparent\",className:n.navLink},w(u.a,{className:n.icons},\"people\"),\" Profile\")),w(m.a,{className:n.listItem,style:{marginTop:\"10px\"}},e&&\"\"!=e?w(y.a,{noLiPadding:!0,navDropdown:!0,buttonText:e.length>12?e.substring(0,9)+\"..\":e,buttonProps:{className:n.navLink,color:\"transparent\"},buttonIcon:f.a,dropdownList:[w(\"div\",{onClick:function(a){return l.a.async((function(e){for(;;)switch(e.prev=e.next){case 0:a.preventDefault(),fetch(\"/api/auth/logout\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({p:\"YAMAHA\"})}).then((function(a){window.location.href=\"../yamaha/home\"}));case 2:case\"end\":return e.stop()}}),null,null,null,Promise)}},w(\"a\",{className:n.dropdownLink},w(u.a,{className:n.icons},\"exit_to_app\"),\" Logout\")),w(\"div\",null,w(\"a\",{className:n.dropdownLink,href:\"/yamaha/order/order\"},w(u.a,{className:n.icons},\"shopping_cart\"),\" Pesanan Saya\"))]}):w(x.a,{href:\"/yamaha/login\",className:n.registerNavLink,color:\"info\",round:!0},w(u.a,{className:n.icons},\"input\"),\" Login\")))}},FoiA:function(a,e,n){\"use strict\";n.d(e,\"a\",(function(){return C}));var t=n(\"ODXe\"),l=n(\"q1tI\"),i=n.n(l),r=n(\"17x9\"),s=n.n(r),c=n(\"R/WZ\"),o=n(\"Ff2n\"),p=n(\"rePB\"),d=n(\"wx14\"),m=n(\"iuhU\"),u=n(\"H2TA\"),g=n(\"kKAo\"),h=n(\"ye/S\"),f=l.forwardRef((function(a,e){var n=a.action,t=a.classes,i=a.className,r=a.message,s=a.role,c=void 0===s?\"alert\":s,p=Object(o.a)(a,[\"action\",\"classes\",\"className\",\"message\",\"role\"]);return(l.createElement(g.a,Object(d.a)({role:c,square:!0,elevation:6,className:Object(m.a)(t.root,i),ref:e},p),l.createElement(\"div\",{className:t.message},r),n?l.createElement(\"div\",{className:t.action},n):null))})),y=Object(u.a)((function(a){var e=\"light\"===a.palette.type?.8:.98,n=Object(h.b)(a.palette.background.default,e);return{root:Object(d.a)({},a.typography.body2,Object(p.a)({color:a.palette.getContrastText(n),backgroundColor:n,display:\"flex\",alignItems:\"center\",flexWrap:\"wrap\",padding:\"6px 16px\",borderRadius:a.shape.borderRadius,flexGrow:1},a.breakpoints.up(\"sm\"),{flexGrow:\"initial\",minWidth:288})),message:{padding:\"8px 0\"},action:{display:\"flex\",alignItems:\"center\",marginLeft:\"auto\",paddingLeft:16,marginRight:-8}}}),{name:\"MuiSnackbarContent\"})(f),x=n(\"PsDL\"),b=n(\"AqyA\"),v=n(\"ZPUd\"),N=n.n(v),w=n(\"eDSW\");function k(a,e){var n=Object.keys(a);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(a);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),n.push.apply(n,t)}return n}function T(a){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?k(Object(n),!0).forEach((function(e){Object(p.a)(a,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(n,e))}))}return a}var j={root:T({},w.g,{position:\"relative\",padding:\"20px 15px\",lineHeight:\"20px\",marginBottom:\"20px\",fontSize:\"14px\",backgroundColor:\"white\",color:\"#555555\",borderRadius:\"0px\",maxWidth:\"100%\",minWidth:\"auto\",boxShadow:\"0 12px 20px -10px rgba(255, 255, 255, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(255, 255, 255, 0.2)\"}),info:T({backgroundColor:\"#212121\",color:\"#ffffff\"},w.k),success:T({backgroundColor:\"#5cb860\",color:\"#ffffff\"},w.s),warning:T({backgroundColor:\"#ffa21a\",color:\"#ffffff\"},w.x),danger:T({backgroundColor:\"#f55a4e\",color:\"#ffffff\"},w.d),primary:T({backgroundColor:\"#af2cc5\",color:\"#ffffff\"},w.n),message:{padding:\"0\",display:\"block\",maxWidth:\"89%\",\"&,& *\":{letterSpacing:\"normal\"}},close:{width:\"14px\",height:\"14px\"},iconButton:{width:\"24px\",height:\"24px\",float:\"right\",fontSize:\"1.5rem\",fontWeight:\"500\",lineHeight:\"1\",position:\"absolute\",right:\"-4px\",top:\"0\",padding:\"0\"},icon:{display:\"block\",float:\"left\",marginRight:\"1.071rem\"},container:T({},w.c,{position:\"relative\"})},_=i.a.createElement,O=Object(c.a)(j);function C(a){var e=a.message,n=a.color,l=a.close,r=a.icon,s=O(),c=[];void 0!==l&&(c=[_(x.a,{className:s.iconButton,key:\"close\",\"aria-label\":\"Close\",color:\"inherit\",onClick:function(){u(null)}},_(N.a,{className:s.close}))]);var o=null;switch(typeof r){case\"object\":o=_(a.icon,{className:s.icon});break;case\"string\":o=_(b.a,{className:s.icon},a.icon);break;default:o=null}var p=i.a.useState(_(y,{message:_(\"div\",null,o,e,void 0!==l?c:null),classes:{root:s.root+\" \"+s[n],message:s.message+\" \"+s.container}})),d=Object(t.a)(p,2),m=d[0],u=d[1];return m}C.propTypes={message:s.a.node.isRequired,color:s.a.oneOf([\"info\",\"success\",\"warning\",\"danger\",\"primary\"]),close:s.a.bool,icon:s.a.oneOfType([s.a.object,s.a.string])}},HXcA:function(a,e,n){\"use strict\";n.d(e,\"a\",(function(){return h}));var t=n(\"rePB\"),l=n(\"q1tI\"),i=n.n(l),r=n(\"TSYQ\"),s=n.n(r),c=n(\"eD//\"),o=n(\"tVbE\"),p=n(\"R/WZ\"),d=(n(\"mtPR\"),n(\"i4t8\")),m=(n(\"A2So\"),n(\"oLCs\")),u=i.a.createElement,g=Object(p.a)(m.a);function h(a){var e,n,l=g(),i=a.whiteFont;s()((e={},Object(t.a)(e,l.footer,!0),Object(t.a)(e,l.footerWhiteFont,i),e)),s()((n={},Object(t.a)(n,l.a,!0),Object(t.a)(n,l.footerWhiteFont,i),n));return u(d.a,{xs:12},u(\"link\",{rel:\"stylesheet\",href:\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\"}),u(\"br\",null),u(\"br\",null),u(\"div\",{align:\"center\"},u(c.a,{className:l.list},u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/home\",className:l.block},\" Home \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/product/product\",className:l.block},\" Motor \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/product/ygp\",className:l.block},\" YGP \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/product/yamalube\",className:l.block},\" Yamalube \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/product/apparel\",className:l.block},\" Apparel \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/product/helmet\",className:l.block},\" Helmet \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/product/accessories\",className:l.block},\" Accessories \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/product/service\",className:l.block},\" Service \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/product/dealer\",className:l.block},\" Dealer \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/latestsnews\",className:l.block},\" Latest News \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/carrer\",className:l.block},\" Carrer \")),u(o.a,{className:l.inlineBlock},u(\"a\",{href:\"/yamaha/about_us/aboutus\",className:l.block},\" About Us \")))),u(\"div\",{align:\"center\"},u(c.a,{className:l.list},u(o.a,{className:l.inlineBlock,style:{padding:\"10px\"}},u(\"a\",{href:\"#\",class:\"fa fa-facebook\"})),u(o.a,{className:l.inlineBlock,style:{padding:\"10px\"}},u(\"a\",{href:\"#\",class:\"fa fa-instagram\"})),u(o.a,{className:l.inlineBlock,style:{padding:\"10px\"}},u(\"a\",{href:\"#\",class:\"fa fa-twitter\"})),u(o.a,{className:l.inlineBlock,style:{padding:\"10px\"}},u(\"a\",{href:\"#\",class:\"fa fa-youtube\"})))),u(\"br\",null),u(\"br\",null),u(\"div\",{align:\"center\"},\"\\xa9 \",1900+(new Date).getYear(),\" , All Right Reserved\",\" \",\" by\",\" \",\" @Thamrin Brothers\"),u(\"br\",null),u(\"br\",null))}},ZPUd:function(a,e,n){\"use strict\";var t=n(\"TqRt\");Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=void 0;var l=t(n(\"q1tI\")),i=(0,t(n(\"8/g6\")).default)(l.default.createElement(\"path\",{d:\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"}),\"Close\");e.default=i},\"alk/\":function(a,e,n){\"use strict\";var t=n(\"q1tI\"),l=n.n(t),i=n(\"LYUY\");e.a=Object(i.a)(l.a.createElement(\"path\",{d:\"M17.5 10c-.03 0-.05.01-.08.01L13.41 6H9v2h3.59l2 2h-8.1C4.01 10 2 12.02 2 14.5 2 16.99 4.01 19 6.5 19c2.22 0 4.06-1.62 4.42-3.73L13.04 14c-.02.17-.04.33-.04.5 0 2.49 2.01 4.5 4.5 4.5s4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm-8.66 5.26C8.52 16.27 7.58 17 6.47 17c-1.38 0-2.5-1.12-2.5-2.5S5.09 12 6.47 12c1.12 0 2.05.74 2.37 1.75H6v1.5l2.84.01zM17.47 17c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z\"}),\"Motorcycle\")},jubA:function(a,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push([\"/yamaha/sparepart/sparepart\",function(){return n(\"+0A/\")}])},\"l+AL\":function(a,e){a.exports=\"/_next/static/images/Promotion_2-1-6e8c96e318e453a7db4ca1ffcc73c32d.jpg\"},nJn1:function(a,e){a.exports=\"/_next/static/images/tb-07080d5d3d7b45d4452f1aae75c323f1.png\"}},[[\"jubA\",0,1,2,3,4,5,6,8,18]]]);","extractedComments":[]}