1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[222],{4694:(e,t,r)=>{"use strict";r.d(t,{i:()=>c});var s=r(4848),i=r(3166);let n=e=>{let{width:t=16,height:r=16,...i}=e;return(0,s.jsxs)("svg",{width:t,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[(0,s.jsx)("path",{d:"M5 12H19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M12 5L19 12L12 19",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})};var l=r(4164),o=r(361);let a=e=>{let{version:t="blue",className:r,icon:i,dir:n,carouselType:a="card",onClick:c,title:d}=e,h=null==r?void 0:r.includes("slick-disabled");return(0,s.jsx)(o.$,{title:d,shape:"circle",icon:(0,s.jsx)(i,{width:32,height:32}),onClick:c,disabled:h,name:"prev",className:(0,l.A)("absolute","card"===a?"bottom-0":"inset-0 z-10 h-fit my-auto","border-transparent disabled:opacity-50 disabled:pointer-events-none","blue"===t&&"bg-white/40 text-white hover:bg-white/50","blue"!==t&&"bg-primary/40 hover:bg-primary/50","prev"===n?"left-4":"card"===a?"left-20":"ml-auto right-4")})},c={NextButton:e=>{let{...t}=e;return(0,s.jsx)(a,{...t,dir:"next",icon:n,title:"next element"})},PrevButton:e=>{let{...t}=e;return(0,s.jsx)(a,{...t,dir:"prev",icon:i.A,title:"previous element"})}}},712:(e,t,r)=>{"use strict";r.d(t,{S:()=>l});var s=r(4848),i=r(4164),n=r(9906);let l=e=>{let{extraContent:t,className:r,containerClassName:l,...o}=e;return(0,s.jsxs)("div",{className:(0,i.A)("flex justify-between items-center",l),children:[(0,s.jsx)(n.U,{className:(0,i.A)("font-medium",r),...o}),t&&t]})}},3166:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var s=r(4848);let i=e=>{let{width:t=16,height:r=16,...i}=e;return(0,s.jsxs)("svg",{width:t,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[(0,s.jsx)("path",{d:"M19 12H5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M12 19L5 12L12 5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},7510:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var s=r(4848);let i=e=>{let{width:t=16,height:r=16,...i}=e;return(0,s.jsxs)("svg",{width:t,height:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[(0,s.jsxs)("g",{clipPath:"url(#clip0_2414_2846)",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,s.jsx)("path",{d:"M13.444 13.5H2.556C1.696 13.5 1 12.73 1 11.781V4.219c0-.95.696-1.719 1.556-1.719h10.888c.86 0 1.556.77 1.556 1.719v7.563c0 .949-.696 1.718-1.556 1.718z"}),(0,s.jsx)("path",{d:"M12 6L8 8 4 6"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_2414_2846",children:(0,s.jsx)("path",{fill:"currentColor",d:"M0 0H16V16H0z"})})})]})}},9768:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i});var s=r(4848);let i=e=>{let{width:t=16,height:r=16,...i}=e;return(0,s.jsx)("svg",{width:t,height:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,s.jsx)("path",{d:"M4.24 14.898a7.928 7.928 0 003.79.965h.002c4.371 0 7.93-3.557 7.931-7.928a7.878 7.878 0 00-2.32-5.609A7.88 7.88 0 008.032 0C3.66 0 .102 3.556.1 7.928a7.913 7.913 0 001.06 3.964L.034 16l4.204-1.102zm.456-10.384c.397-.358 1.193-.287 1.354.1.165.396.562 1.371.611 1.47.05.099.088.51-.182.678-.129.081-.543.41-.384.751.097.209.514.848 1.103 1.373.757.675 1.395.884 1.593.983.198.099.314.083.43-.05.115-.132.494-.578.626-.777.132-.198.264-.165.446-.099s1.156.545 1.354.645c.198.099.33.149.38.231.05.083.05.479-.116.942-.165.463-.957.885-1.338.942-.34.051-1.294-.016-2.378-.496-1.98-.877-3.286-2.859-3.385-2.991-.097-.132-.808-1.074-.808-2.049 0-.975.494-1.472.694-1.653z",fill:"currentColor"})})}},4222:(e,t,r)=>{"use strict";r.d(t,{g:()=>M});var s=r(4848);let i=e=>{let{width:t=16,height:r=16,...i}=e;return(0,s.jsxs)("svg",{width:t,height:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[(0,s.jsx)("path",{d:"M18 8C19.6569 8 21 6.65685 21 5C21 3.34315 19.6569 2 18 2C16.3431 2 15 3.34315 15 5C15 6.65685 16.3431 8 18 8Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M6 15C7.65685 15 9 13.6569 9 12C9 10.3431 7.65685 9 6 9C4.34315 9 3 10.3431 3 12C3 13.6569 4.34315 15 6 15Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M18 22C19.6569 22 21 20.6569 21 19C21 17.3431 19.6569 16 18 16C16.3431 16 15 17.3431 15 19C15 20.6569
116.3431 22 18 22Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M8.59009 13.5098L15.4201 17.4898",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M15.4101 6.50977L8.59009 10.4898",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})};var n=r(4164),l=r(9965),o=r.n(l),a=r(4589);r(9194),r(1082);var c=r(361),d=r(9906),h=r(4694);let x=e=>{let{images:t,onShareButtonClick:r,...i}=e,l="/comingsoon.png"===t.find(e=>"/comingsoon.png"===e),o=i.temporarilyClosed||l;return(0,s.jsx)("div",{className:(0,n.A)("relative w-full ",o?"":"h-full"),children:(0,s.jsx)(u,{images:t,onShareButtonClick:r,...i})})},u=e=>{let{images:t,onShareButtonClick:r,category:l,brand:x,temporarilyClosed:u=!1,categoryImage:p}=e,j={infinite:!1,arrows:!0,nextArrow:(0,s.jsx)(h.i.NextButton,{carouselType:"square"}),prevArrow:(0,s.jsx)(h.i.PrevButton,{carouselType:"square"}),slidesToShow:1,slidesToScroll:1,initialSlide:0},m="/comingsoon.png"===t.find(e=>"/comingsoon.png"===e),g=u||m;return(0,s.jsxs)("div",{className:"slider-container",children:[(0,s.jsx)(a.A,{...j,children:t.map((e,t)=>(0,s.jsxs)("div",{className:"h-full relative min-h-96 lg:h-screen ",children:[(0,s.jsx)(o(),{src:e,alt:"brand-image-".concat(t),fill:!0,className:"object-cover ",quality:70}),(0,s.jsx)("div",{className:(0,n.A)("h-full top-0 bottom-0 right-0 left-0 my-auto absolute flex items-center justify-center",g?"bg-primary/50":"bg-gradient-to-b from-transparent to-black/60"),children:(0,s.jsx)("div",{className:"text-white font-semibold text-center h-full flex flex-col items-center justify-center",children:g&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{children:"Dettagli in arrivo"}),(0,s.jsx)("div",{className:"text-sm font-normal",children:"Nel frattempo vieni a trovarci in stazione"})]})})})]},"image-".concat(t)))}),(0,s.jsx)("div",{className:"!text-white absolute bottom-0 w-full h-fit flex flex-col items-start justify-end pb-3 px-3",children:(0,s.jsxs)("div",{className:"flex justify-between items-center w-full",children:[(0,s.jsxs)("div",{className:"lg:hidden",children:[l&&(0,s.jsx)(d.U,{content:l,className:"font-medium lg:hidden filter brightness-0 invert",imageUrl:p}),x&&(0,s.jsx)("div",{className:"uppercase text-white font-semibold text-xl",children:x})]}),(0,s.jsx)(c.$,{title:"share",shape:"circle",icon:(0,s.jsx)(i,{}),variant:"action",className:"!p-2 self-end lg:hidden",onClick:r})]})})]})};var p=r(7307),j=r(4806),m=r(7510),g=r(9768),w=r(911),v=r(8298),f=r(1106),k=r.n(f),b=r(6715),C=r(712);let N=[{content:"Facebook",icon:(0,s.jsx)(e=>{let{width:t=16,height:r=16,...i}=e;return(0,s.jsx)("svg",{width:t,height:r,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,s.jsx)("path",{d:"M9.28 4.481c0-.913.254-1.535 1.563-1.535l1.67-.001V.124A22.475 22.475 0 0010.079 0C7.672 0 6 1.301 6 4v2H3v3h3l.023 7H9.28V9H12l1-3H9.28V4.481z",fill:"currentColor"})})},{width:28,height:28}),href:"https://www.facebook.com/sharer/sharer.php?u="},{content:"Whatsapp",icon:(0,s.jsx)(g.Y,{width:28,height:28}),href:"https://wa.me/?text="},{content:"Twitter",icon:(0,s.jsx)(e=>{let{width:t=16,height:r=16,...i}=e;return(0,s.jsx)("svg",{width:t,height:r,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,s.jsx)("path",{d:"M15.557 2.403a6.598 6.598 0 01-2.084.797 3.283 3.283 0 00-5.594 2.994 9.32 9.32 0 01-6.766-3.43 3.281 3.281 0 001.015 4.382 3.27 3.27 0 01-1.486-.41v.04a3.285 3.285 0 002.633 3.22 3.294 3.294 0 01-1.483.055 3.287 3.287 0 003.066 2.28 6.588 6.588 0 01-4.86 1.36 9.295 9.295 0 005.032 1.474c6.038 0 9.34-5.002 9.34-9.34 0-.142-.003-.284-.009-.425a6.662 6.662 0 001.638-1.698 6.555 6.555 0 01-1.885.517 3.299 3.299 0 001.443-1.816z",fill:"currentColor"})})},{width:28,height:28}),href:"https://twitter.com/intent/tweet?"},{content:"Email",icon:(0,s.jsx)(m.a,{width:28,height:28}),href:"mailto:?subject=Controlla%20questo%20sito&body=Dai%20un'occhiata%20a%20questo%20sito!%20"}],L=e=>{let t=(0,b.useRouter)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(v.lG,{open:e.open,onClose:e.handleOpen,transition:!0,className:(0,n.A)("relative z-50 transition duration-300 ease-out data-[closed]:opacity-0",w.aR.className),children:(0,s.jsx)("div",{className:"bg-primary/50 fixed inset-0 flex w-screen items-center justify-center p-4",children:(0,s.jsxs)(v.Lj,{className:"w-full space-y-4 border bg-white p-6 text-black",children:[(0,s.jsxs)(v.L3,{className:"font-medium text-lg flex justify-between items-center pb-4",children:["Condividi",(0,s.jsx)(c.$,{icon:(0,s.jsx)(j.U,{}
1),shape:"circle",className:"bg-gray-300 border-none !p-1.5",onClick:e.handleOpen})]}),(0,s.jsx)("div",{className:"flex flex-col",children:N.map(r=>(0,s.jsx)(k(),{href:"".concat(r.href).concat(e.currentUrl).concat(t.asPath),children:(0,s.jsx)(C.S,{containerClassName:"py-6 border-b last:border-none",content:r.content,icon:r.icon,className:"text-xl",extraContent:(0,s.jsx)(c.$,{icon:(0,s.jsx)(p.v,{}),className:"!px-2"})})},r.content))})]})})})})};var y=r(6540);let M=e=>{let{images:t,...r}=e,[i,n]=(0,y.useState)(!1);return(0,s.jsxs)("div",{className:"grow w-full lg:grid lg:grid-cols-2",children:[(0,s.jsx)("div",{className:"grow h-fit lg:basis-1/2 lg:h-screen lg:w-full",children:(0,s.jsx)(x,{images:t,onShareButtonClick:()=>n(!i),temporarilyClosed:r.temporarilyClosed,...r})}),(0,s.jsx)(L,{handleOpen:()=>n(!i),open:i,currentUrl:r.currentUrl}),(0,s.jsx)("div",{className:"grow lg:basis-1/2 p-6",children:r.children})]})}},6715:(e,t,r)=>{e.exports=r(8440)}}]);
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.