Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

1 riga
7.9 KiB

  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[46],{"+DDI":function(e,t,o){"use strict";o.d(t,"a",(function(){return b}));var n=o("rePB"),r=o("q1tI"),a=o.n(r),c=o("TSYQ"),i=o.n(c),l=o("R/WZ"),s=o("Z3vd"),p=o("eDSW"),d={pagination:{display:"inline-block",paddingLeft:"0",margin:"0 0 20px 0",borderRadius:"4px"},paginationItem:{display:"inline"},paginationLink:{":first-of-type":{marginleft:"0"},letterSpacing:"unset",border:"0",borderRadius:"30px !important",transition:"all .3s",padding:"0px 11px",margin:"0 3px",minWidth:"30px",height:"30px",minHeight:"auto",lineHeight:"30px",fontWeight:"400",fontSize:"12px",textTransform:"uppercase",background:"transparent",position:"relative",float:"left",textDecoration:"none",boxSizing:"border-box","&,&:hover,&:focus":{color:p.i},"&:hover,&:focus":{zIndex:"3",backgroundColor:"#eee",borderColor:"#ddd"},"&:hover":{cursor:"pointer"}},primary:{"&,&:hover,&:focus":{backgroundColor:p.p,borderColor:p.p,color:"#FFFFFF",boxShadow:"0 4px 5px 0 ".concat(Object(p.j)(p.p,.14),", 0 1px 10px 0 ").concat(Object(p.j)(p.p,.12),", 0 2px 4px -1px ").concat(Object(p.j)(p.p,.2))},"&:hover,&:focus":{zIndex:"2",cursor:"default"}},info:{"&,&:hover,&:focus":{backgroundColor:p.m,borderColor:p.m,color:"#FFFFFF",boxShadow:"0 4px 5px 0 ".concat(Object(p.j)(p.m,.14),", 0 1px 10px 0 ").concat(Object(p.j)(p.m,.12),", 0 2px 4px -1px ").concat(Object(p.j)(p.m,.2))},"&:hover,&:focus":{zIndex:"2",cursor:"default"}},success:{"&,&:hover,&:focus":{backgroundColor:p.u,borderColor:p.u,color:"#FFFFFF",boxShadow:"0 4px 5px 0 ".concat(Object(p.j)(p.u,.14),", 0 1px 10px 0 ").concat(Object(p.j)(p.u,.12),", 0 2px 4px -1px ").concat(Object(p.j)(p.u,.2))},"&:hover,&:focus":{zIndex:"2",cursor:"default"}},warning:{"&,&:hover,&:focus":{backgroundColor:p.z,borderColor:p.z,color:"#FFFFFF",boxShadow:"0 4px 5px 0 ".concat(Object(p.j)(p.z,.14),", 0 1px 10px 0 ").concat(Object(p.j)(p.z,.12),", 0 2px 4px -1px ").concat(Object(p.j)(p.z,.2))},"&:hover,&:focus":{zIndex:"2",cursor:"default"}},danger:{"&,&:hover,&:focus":{backgroundColor:p.f,borderColor:p.f,color:"#FFFFFF",boxShadow:"0 4px 5px 0 ".concat(Object(p.j)(p.f,.14),", 0 1px 10px 0 ").concat(Object(p.j)(p.f,.12),", 0 2px 4px -1px ").concat(Object(p.j)(p.f,.2))},"&:hover,&:focus":{zIndex:"2",cursor:"default"}},rose:{"&,&:hover,&:focus":{backgroundColor:p.r,borderColor:p.r,color:"#FFFFFF",boxShadow:"0 4px 5px 0 ".concat(Object(p.j)(p.r,.14),", 0 1px 10px 0 ").concat(Object(p.j)(p.r,.12),", 0 2px 4px -1px ").concat(Object(p.j)(p.r,.2))},"&:hover,&:focus":{zIndex:"2",cursor:"default"}},disabled:{"&,&:hover,&:focus":{color:"#777",cursor:"not-allowed",backgroundColor:"#fff",borderColor:"#ddd"}}},u=a.a.createElement,x=Object(l.a)(d);function b(e){var t=x(),o=e.pages,r=e.color;return u("ul",{className:t.pagination},o.map((function(e,o){var a,c=i()((a={},Object(n.a)(a,t.paginationLink,!0),Object(n.a)(a,t[r],e.active),Object(n.a)(a,t.disabled,e.disabled),a));return u("li",{className:t.paginationItem,key:o},void 0!==e.onClick?u(s.a,{onClick:e.onClick,className:c},e.text):u(s.a,{onClick:function(){return alert("you've clicked "+e.text)},className:c},e.text))})))}b.defaultProps={color:"primary"}},"3JW4":function(e,t){e.exports="/_next/static/images/simulasicicilan-4cb98e82b8cdf68105f17f51b6bfc60c.jpg"},PZp6:function(e,t,o){"use strict";o.r(t),o.d(t,"__N_SSP",(function(){return z}));var n=o("wx14"),r=o("Ff2n"),a=o("q1tI"),c=o.n(a),i=o("TSYQ"),l=o.n(i),s=o("R/WZ"),p=o("8x5e"),d=o("8E12"),u=o("HXcA"),x=o("Z2Lm"),b=o("bhG4"),f=o("QMLM"),g=o("7WNa"),m=o("tRbT"),j=o("mtPR"),h=o("A2So"),v=o("UsYt"),O=o("Kg+a"),w=o("+DDI"),F=o("AqyA"),k=c.a.createElement,y=Object(s.a)(g.a),S=function(e){var t=e.backend,o=e.news,n=(Object(r.a)(e,["backend","news"]),y()),a=o.map((function(e){return k(m.a,{align:"center",style:{padding:"30px",marginTop:"-50px"}},k(h.a,{style:{width:"20rem"}},k("img",{style:{height:"180px",width:"100%",display:"block"},className:n.imgCardTop,src:"".concat(t).concat(e.img[0].url)}),k(v.a,null,k("p",null,e.title),k("p",null,e.published_at),k(O.a,{color:"info",round:!0,href:"/yamaha/latestnews_details?s="+e.id},k(F.a,{className:n.icons},"open_in_new"),"Read More"))))}));return k("div",{className:n.section,id:"notifications"},k("div",{align:"center"},k("h2",null,"Latest News")),k("div",null,k(j.a,{justify:"center"},a)),k("div",{align:"center"},k(w.a,{pages:[{text:"PREV"},{text:1},{text:2},{active:!0,text:3},{text:4},{text:5},{text:"NEXT"}],color:"info"})))},C=c.a.createElement,P=Object(s.a)(b.a),z=!0;t.default=function(e){var t=e.backend,a=e.news,c=Object(r.a)(e,["backend","news"]),i=P(),s=Object(n.a)({},c);return C(S,{news:c.news}),C("div",null,C(p.a,Object(n.a)({rightLinks:C(d.a,null),fixed:!0,color:"info",changeColorOnScroll:{height:400,color:"white"}},s)),C(x.a,{image:o("3JW4"),width:"200px"}),C("div",{className:l()(i.main,i.mainRaised)},C(f.a,null),C(S,{news:a,backend:t})),C(u.a,null))}},UsYt:function(e,t,o){"use strict";o.d(t,"a",(function(){return b}));var n=o("wx14"),r=o("rePB"),a=o("Ff2n"),c=o("q1tI"),i=o.n(c),l=o("TSYQ"),s=o.n(l),p=o("R/WZ"),d={cardBody:{padding:"0.9375rem 1.875rem",flex:"1 1 auto"}},u=i.a.createElement,x=Object(p.a)(d);function b(e){var t,o=x(),c=e.className,i=e.children,l=Object(a.a)(e,["className","children"]),p=s()((t={},Object(r.a)(t,o.cardBody,!0),Object(r.a)(t,c,void 0!==c),t));return u("div",Object(n.a)({className:p},l),i)}},Z2Lm:function(e,t,o){"use strict";o.d(t,"a",(function(){return f}));var n=o("rePB"),r=o("ODXe"),a=o("q1tI"),c=o.n(a),i=o("TSYQ"),l=o.n(i),s=o("R/WZ"),p=function(e){return{parallax:{height:"90vh",maxHeight:"1000px",overflow:"hidden",position:"relative",backgroundPosition:"center top",backgroundSize:"cover",margin:"0",padding:"0",border:"0",display:"flex",alignItems:"center"},filter:{"&:before":{background:"rgba(0, 0, 0, 0.5)"},"&:after,&:before":{position:"absolute",zIndex:"1",width:"100%",height:"100%",display:"block",left:"0",top:"0",content:"''"}},small:{height:"380px"},parallaxResponsive:Object(n.a)({},e.breakpoints.down("md"),{minHeight:"660px"})}},d=c.a.createElement;function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var b=Object(s.a)(p);function f(e){var t,o=c.a.useState("translate3d(0,0px,0)"),a=Object(r.a)(o,2),i=a[0],s=a[1];c.a.useEffect((function(){return window.innerWidth>=768&&window.addEventListener("scroll",p),function(){window.innerWidth>=768&&window.removeEventListener("scroll",p)}}));var p=function(){var e=window.pageYOffset/3;s("translate3d(0,"+e+"px,0)")},u=e.filter,f=e.className,g=e.children,m=e.style,j=e.image,h=e.small,v=e.responsive,O=b(),w=l()((t={},Object(n.a)(t,O.parallax,!0),Object(n.a)(t,O.filter,u),Object(n.a)(t,O.small,h),Object(n.a)(t,O.parallaxResponsive,v),Object(n.a)(t,f,void 0!==f),t));return d("div",{className:w,style:x({},m,{backgroundImage:"url("+j+")",transform:i})},g)}},bhG4:function(e,t,o){"use strict";var n={container:o("eDSW").c,brand:{color:"#FFFFFF",textAlign:"left"},title:{fontSize:"4.2rem",fontWeight:"600",display:"inline-block",position:"relative"},subtitle:{fontSize:"1.313rem",maxWidth:"510px",margin:"10px 0 0"},main:{background:"#FFFFFF",position:"relative",zIndex:"3"},mainRaised:{margin:"-60px 30px 0px",borderRadius:"6px",boxShadow:"0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2)","@media (max-width: 830px)":{marginLeft:"10px",marginRight:"10px"}},link:{textDecoration:"none"},textCenter:{textAlign:"center"}};t.a=n},fWWx:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/yamaha/latestnews",function(){return o("PZp6")}])}},[["fWWx",0,2,1,3,4,8]]]);