25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1 line
14 KiB

  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[108],{"8E12":function(a,e,n){"use strict";n.d(e,"a",(function(){return _}));var l=n("o0o1"),t=n.n(l),i=n("Ff2n"),s=n("q1tI"),c=n.n(s),r=n("YFqc"),o=n.n(r),m=n("R/WZ"),d=n("eD//"),p=n("tVbE"),u=n("AqyA"),h=n("LYUY"),g=Object(h.a)(c.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"),y=n("UFp1"),f=n("QOEo"),x=n("Kg+a"),N=n("0G1C"),b=n("nJn1"),v=n.n(b),w=["username"],k=c.a.createElement,T=Object(m.a)(N.a);function _(a){var e=a.username,n=(Object(i.a)(a,w),T());return k(d.a,{className:n.list},k(p.a,{className:n.listItem},k(o.a,{href:"/yamaha/home"},k(x.a,{color:"transparent",className:n.navLink},k("img",{src:v.a,width:"180px"})))),k(p.a,{className:n.listItem},k(o.a,{href:"/yamaha/home"},k(x.a,{color:"transparent",className:n.navLink,style:{marginTop:"10px"}},k(u.a,{className:n.icons},"home")," Home"))),k(p.a,{className:n.listItem,style:{marginTop:"10px"}},k(f.a,{noLiPadding:!0,navDropdown:!0,buttonText:"Product",buttonProps:{className:n.navLink,color:"transparent"},buttonIcon:g,dropdownList:[k("a",{href:"/yamaha/product/product",className:n.dropdownLink},"Motor"),k("a",{href:"/yamaha/sparepart/sparepart",className:n.dropdownLink},"Sparepart & Accessories"),k("a",{href:"https://booking.thamrin.co.id/",className:n.dropdownLink},"Service"),k("a",{href:"/yamaha/dealers",className:n.dropdownLink},"Dealers")]})),k(p.a,{className:n.listItem,style:{marginTop:"10px"}},k(o.a,{href:"/yamaha/latest_news/latestnews"},k(x.a,{color:"transparent",className:n.navLink},k(u.a,{className:n.icons},"event")," Latest News"))),k(p.a,{className:n.listItem,style:{marginTop:"10px"}},k(x.a,{href:"/yamaha/carrer/carrer",color:"transparent",className:n.navLink},k(u.a,{className:n.icons},"wallet_travel")," Career")),k(p.a,{className:n.listItem,style:{marginTop:"10px"}},k(x.a,{href:"/yamaha/abous_us/aboutus",color:"transparent",className:n.navLink},k(u.a,{className:n.icons},"account_balance")," About Us")),k(p.a,{className:n.listItem,style:{marginTop:"10px"}},k(x.a,{href:"/yamaha/profile/profile",color:"transparent",className:n.navLink},k(u.a,{className:n.icons},"people")," Profile")),k(p.a,{className:n.listItem,style:{marginTop:"10px"}},e&&""!=e?k(f.a,{noLiPadding:!0,navDropdown:!0,buttonText:e.length>12?e.substring(0,9)+"..":e,buttonProps:{className:n.navLink,color:"transparent"},buttonIcon:y.a,dropdownList:[k("div",{onClick:function(a){return t.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)}},k("a",{className:n.dropdownLink},k(u.a,{className:n.icons},"exit_to_app")," Logout")),k("div",null,k("a",{className:n.dropdownLink,href:"/yamaha/order/order"},k(u.a,{className:n.icons},"shopping_cart")," Pesanan Saya"))]}):k(x.a,{href:"/yamaha/login",className:n.registerNavLink,color:"info",round:!0},k(u.a,{className:n.icons},"input")," Login")))}},HXcA:function(a,e,n){"use strict";n.d(e,"a",(function(){return g}));var l=n("rePB"),t=n("q1tI"),i=n.n(t),s=n("TSYQ"),c=n.n(s),r=n("eD//"),o=n("tVbE"),m=n("R/WZ"),d=(n("mtPR"),n("i4t8")),p=(n("A2So"),n("oLCs")),u=i.a.createElement,h=Object(m.a)(p.a);function g(a){var e,n,t=h(),i=a.whiteFont;c()((e={},Object(l.a)(e,t.footer,!0),Object(l.a)(e,t.footerWhiteFont,i),e)),c()((n={},Object(l.a)(n,t.a,!0),Object(l.a)(n,t.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(r.a,{className:t.list},u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/home",className:t.block}," Home ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/product/product",className:t.block}," Motor ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/product/ygp",className:t.block}," YGP ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/product/yamalube",className:t.block}," Yamalube ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/product/apparel",className:t.block}," Apparel ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/product/helmet",className:t.block}," Helmet ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/product/accessories",className:t.block}," Accessories ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/product/service",className:t.block}," Service ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/product/dealer",className:t.block}," Dealer ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/latestsnews",className:t.block}," Latest News ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/carrer",className:t.block}," Carrer ")),u(o.a,{className:t.inlineBlock},u("a",{href:"/yamaha/about_us/aboutus",className:t.block}," About Us ")))),u("div",{align:"center"},u(r.a,{className:t.list},u(o.a,{className:t.inlineBlock,style:{padding:"10px"}},u("a",{href:"#",class:"fa fa-facebook"})),u(o.a,{className:t.inlineBlock,style:{padding:"10px"}},u("a",{href:"#",class:"fa fa-instagram"})),u(o.a,{className:t.inlineBlock,style:{padding:"10px"}},u("a",{href:"#",class:"fa fa-twitter"})),u(o.a,{className:t.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))}},LV6s:function(a,e){a.exports="/_next/static/images/yamalube-427b5836fce11fe7e5ebcd2f7ac7d850.jpg"},Lqu4:function(a,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/yamaha/product/helmet",function(){return n("Zsy5")}])},Zsy5:function(a,e,n){"use strict";n.r(e),n.d(e,"__N_SSP",(function(){return D}));var l=n("wx14"),t=n("Ff2n"),i=n("q1tI"),s=n.n(i),c=n("TSYQ"),r=n.n(c),o=n("R/WZ"),m=n("1ZD8"),d=n("8x5e"),p=n("8E12"),u=n("HXcA"),h=n("Z2Lm"),g=n("bhG4"),y=n("Kg+a"),f=n("AqyA"),x=n("7WNa"),N=n("A2So"),b=n("UsYt"),v=n("mtPR"),w=n("FoiA"),k=["selected","handleName","backend","helmet","mtx","extreme","ranger","fighter","swirl","classic","uno"],T=s.a.createElement,_=Object(o.a)(x.a),L=function(a){a.selected,a.handleName;var e=a.backend,n=a.helmet,i=a.mtx,s=a.extreme,c=a.ranger,o=a.fighter,m=a.swirl,d=a.classic,p=a.uno,u=Object(t.a)(a,k),h=_(),g=(Object(l.a)({},u),r()(h.imgRaised,h.imgRoundedCircle,h.imgFluid),r()(h.imgRounded,h.imgGallery)),x=n.map((function(a){return T("div",{style:{padding:"20px",marginTop:"-40px"}},T(N.a,{className:h.textCenter,align:"center",style:{width:"300px"}},T(b.a,null,T("div",{align:"center",style:{padding:"10px"}},T("img",{style:{width:"200px",display:"block"},src:"".concat(e).concat(a.img.url),className:g}),T("div",{align:"center"},T("h5",null,a.name),T("h5",null,"Rp.",a.price),T(y.a,{color:"info",round:!0,href:"/yamaha/product/helmet_details?s="+a.id},T(f.a,{className:h.icons},"open_in_new"),"Detail Product"))))))})),L=i.map((function(a){return T("div",{style:{padding:"20px",marginTop:"-40px"}},T(N.a,{className:h.textCenter,align:"center",style:{width:"300px"}},T(b.a,null,T("div",{align:"center",style:{padding:"10px"}},T("img",{style:{width:"200px",display:"block"},src:"".concat(e).concat(a.img.url),className:g}),T("div",{align:"center"},T("h5",null,a.name),T("h5",null,"Rp.",a.price),T(y.a,{color:"info",round:!0,href:"/yamaha/product/helmet_details?s="+a.id},T(f.a,{className:h.icons},"open_in_new"),"Detail Product"))))))})),j=s.map((function(a){return T("div",{style:{padding:"20px",marginTop:"-40px"}},T(N.a,{className:h.textCenter,align:"center",style:{width:"300px"}},T(b.a,null,T("div",{align:"center",style:{padding:"10px"}},T("img",{style:{width:"200px",display:"block"},src:"".concat(e).concat(a.img.url),className:g}),T("div",{align:"center"},T("h5",null,a.name),T("h5",null,"Rp.",a.price),T(y.a,{color:"info",round:!0,href:"/yamaha/product/helmet_details?s="+a.id},T(f.a,{className:h.icons},"open_in_new"),"Detail Product"))))))})),P=c.map((function(a){return T("div",{style:{padding:"20px",marginTop:"-40px"}},T(N.a,{className:h.textCenter,align:"center",style:{width:"300px"}},T(b.a,null,T("div",{align:"center",style:{padding:"10px"}},T("img",{style:{width:"200px",display:"block"},src:"".concat(e).concat(a.img.url),className:g}),T("div",{align:"center"},T("h5",null,a.name),T("h5",null,"Rp.",a.price),T(y.a,{color:"info",round:!0,href:"/yamaha/product/helmet_details?s="+a.id},T(f.a,{className:h.icons},"open_in_new"),"Detail Product"))))))})),R=o.map((function(a){return T("div",{style:{padding:"20px",marginTop:"-40px"}},T(N.a,{className:h.textCenter,align:"center",style:{width:"300px"}},T(b.a,null,T("div",{align:"center",style:{padding:"10px"}},T("img",{style:{width:"200px",display:"block"},src:"".concat(e).concat(a.img.url),className:g}),T("div",{align:"center"},T("h5",null,a.name),T("h5",null,"Rp.",a.price),T(y.a,{color:"info",round:!0,href:"/yamaha/product/helmet_details?s="+a.id},T(f.a,{className:h.icons},"open_in_new"),"Detail Product"))))))})),C=m.map((function(a){return T("div",{style:{padding:"20px",marginTop:"-40px"}},T(N.a,{className:h.textCenter,align:"center",style:{width:"300px"}},T(b.a,null,T("div",{align:"center",style:{padding:"10px"}},T("img",{style:{width:"200px",display:"block"},src:"".concat(e).concat(a.img.url),className:g}),T("div",{align:"center"},T("h5",null,a.name),T("h5",null,"Rp.",a.price),T(y.a,{color:"info",round:!0,href:"/yamaha/product/helmet_details?s="+a.id},T(f.a,{className:h.icons},"open_in_new"),"Detail Product"))))))})),O=d.map((function(a){return T("div",{style:{padding:"20px",marginTop:"-40px"}},T(N.a,{className:h.textCenter,align:"center",style:{width:"300px"}},T(b.a,null,T("div",{align:"center",style:{padding:"10px"}},T("img",{style:{width:"200px",height:"200px",display:"block"},src:"".concat(e).concat(a.img.url),className:g}),T("div",{align:"center"},T("h5",null,a.name),T("h5",null,"Rp.",a.price),T(y.a,{color:"info",round:!0,href:"/yamaha/product/helmet_details?s="+a.id},T(f.a,{className:h.icons},"open_in_new"),"Detail Product"))))))})),A=p.map((function(a){return T("div",{style:{padding:"20px",marginTop:"-40px"}},T(N.a,{className:h.textCenter,align:"center",style:{width:"300px"}},T(b.a,null,T("div",{align:"center",style:{padding:"10px"}},T("img",{style:{width:"200px",display:"block"},src:"".concat(e).concat(a.img.url),className:g}),T("div",{align:"center"},T("h5",null,a.name),T("h5",null,"Rp.",a.price),T(y.a,{color:"info",round:!0,href:"/yamaha/product/helmet_details?s="+a.id},T(f.a,{className:h.icons},"open_in_new"),"Detail Product"))))))}));return T("div",null,T(N.a,{className:h.textCenter,style:{padding:"5px"}},T(b.a,null,T("div",{align:"center"},T("div",{align:"center",className:h.section,id:"notifications"},T(w.a,{message:T("h4",null,"R CONCEPT"),align:"center",color:"danger"})),T(v.a,{justify:"center",style:{padding:"40px",marginTop:"-50px"}},x)),T("br",null),T("br",null),T("div",{align:"center",style:{marginTop:"-50px"}},T("div",{align:"center",className:h.section,id:"notifications"},T(w.a,{message:T("h4",null,"MTX"),align:"center",color:"danger"})),T(v.a,{justify:"center",style:{padding:"40px",marginTop:"-50px"}},L)),T("br",null),T("br",null),T("div",{align:"center",style:{marginTop:"-50px"}},T("div",{align:"center",className:h.section,id:"notifications"},T(w.a,{message:T("h4",null,"EXTREME"),align:"center",color:"danger"})),T(v.a,{justify:"center",style:{padding:"40px",marginTop:"-50px"}},j)),T("br",null),T("br",null),T("div",{align:"center",style:{marginTop:"-50px"}},T("div",{align:"center",className:h.section,id:"notifications"},T(w.a,{message:T("h4",null,"RANGER"),align:"center",color:"danger"})),T(v.a,{justify:"center",style:{padding:"40px",marginTop:"-50px"}},P)),T("br",null),T("br",null),T("div",{align:"center",style:{marginTop:"-50px"}},T("div",{align:"center",className:h.section,id:"notifications"},T(w.a,{message:T("h4",null,"FIGHTER"),align:"center",color:"danger"})),T(v.a,{justify:"center",style:{padding:"40px",marginTop:"-50px"}},R)),T("br",null),T("br",null),T("div",{align:"center",style:{marginTop:"-50px"}},T("div",{align:"center",className:h.section,id:"notifications"},T(w.a,{message:T("h4",null,"SWIRL"),align:"center",color:"danger"})),T(v.a,{justify:"center",style:{padding:"40px",marginTop:"-50px"}},C)),T("br",null),T("br",null),T("div",{align:"center",style:{marginTop:"-50px"}},T("div",{align:"center",className:h.section,id:"notifications"},T(w.a,{message:T("h4",null,"CLASSIC"),align:"center",color:"danger"})),T(v.a,{justify:"center",style:{padding:"40px",marginTop:"-50px"}},O)),T("br",null),T("br",null),T("div",{align:"center",style:{marginTop:"-50px"}},T("div",{align:"center",className:h.section,id:"notifications"},T(w.a,{message:T("h4",null,"UNO"),align:"center",color:"danger"})),T(v.a,{justify:"center",style:{padding:"40px",marginTop:"-50px"}},A)),T("br",null),T("br",null))))},j=n("QMLM"),P=n("nOHt"),R=n.n(P),C=["user","selected","helmet","mtx","extreme","ranger","backend","fighter","swirl","classic","uno"],O=s.a.createElement,A=Object(o.a)(g.a),B=new m.QueryClient,E=function(a){R.a.push({pathname:"/yamaha/product/helmet",query:a&&0!=a.length?{filter:a[0].name}:{}})},D=!0;e.default=function(a){var e=a.user,i=a.selected,s=a.helmet,c=a.mtx,o=a.extreme,g=a.ranger,y=a.backend,f=a.fighter,x=a.swirl,N=a.classic,b=a.uno,v=Object(t.a)(a,C),w=A(),k=Object(l.a)({},v);return O("div",null,O(d.a,Object(l.a)({rightLinks:O(p.a,{username:e}),fixed:!0,color:"info",changeColorOnScroll:{height:400,color:"white"}},k)),O(h.a,{image:n("LV6s"),height:"200px"}),O("div",{className:r()(w.main,w.mainRaised)},O(m.QueryClientProvider,{client:B},O(j.a,null),O(L,{selected:""==i?null:i[0].id,handleName:E,helmet:s,mtx:c,extreme:o,ranger:g,fighter:f,swirl:x,classic:N,uno:b,backend:y}))),O(u.a,null))}},nJn1:function(a,e){a.exports="/_next/static/images/tb-07080d5d3d7b45d4452f1aae75c323f1.png"}},[["Lqu4",0,1,2,3,4,5,6,14]]]);