PageSourceSearch

https://www.3b-latte.it/_next/static/chunks/2um3h-dhx9l5r.js

js 3b-latte.it collected 2026-10-10 01:01:16 UTC 17,522 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96922,e=>{"use strict";var t=e.i(43476);e.s(["default",0,function({color:e}){return(0,t.jsx)("svg",{className:"absolute top-0 left-0 mt-px w-full -translate-y-full",viewBox:"0 0 1512 131",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M-1.14524e-05 131L-7.16199e-06 81.9237C-3.68567e-06 42.1592 32.1686 9.92376 71.9331 9.92376L378 9.92379C659.053 9.92381 812.526 -12.403 1092 9.92179C1220.81 20.2117 1353.58 17.5708 1434.47 14.1868C1476.35 12.4346 1512 45.6967 1512 87.6156L1512 131L-1.14524e-05 131Z",fill:e})})}])},15219,e=>{"use strict";var t=e.i(43476),s=e.i(71645),i=e.i(55667),a=e.i(89970),l=e.i(83495);a.gsap.registerPlugin(l.ScrollTrigger),e.s(["SmoothScroll",0,function({children:e,isOpen:n=!1,mobileMenuOpen:r=!1}){let o=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=o.current?.lenis;if(!e)return;let t=()=>l.ScrollTrigger.update();return e.on("scroll",t),a.gsap.ticker.lagSmoothing(0),()=>{e.off("scroll",t)}},[]),(0,s.useEffect)(()=>{o.current?.lenis&&(n?o.current.lenis.stop():o.current.lenis.start())},[n]),(0,s.useEffect)(()=>{o.current?.lenis&&(r?o.current.lenis.stop():o.current.lenis.start())},[r]),(0,t.jsx)(i.ReactLenis,{ref:o,className:"h-screen overflow-auto",root:"main",options:{autoRaf:!0,smoothWheel:!0,smoothTouch:!0},children:e})}])},47984,e=>{"use strict";var t={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},s={0:8203,1:8204,2:8205,3:65279},i={0:String.fromCodePoint(s[0]),1:String.fromCodePoint(s[1]),2:String.fromCodePoint(s[2]),3:String.fromCodePoint(s[3])},a=[,,,,].fill(String.fromCodePoint(s[0])).join("");Object.fromEntries(Object.entries(i).map(e=>[e[1],+e[0]])),Object.fromEntries(Object.entries(t).map(e=>e.reverse()));var l=`${Object.values(t).map(e=>`\\u{${e.toString(16)}}`).join("")}`,n=RegExp(`[${l}]{4,}`,"gu");e.s(["isRecord",0,function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)},"stegaClean",0,function(e){var t,s;return e&&JSON.parse({cleaned:(t=JSON.stringify(e)).replace(n,""),encoded:(null==(s=t.match(n))?void 0:s[0])||""}.cleaned)},"y",0,function(e,t,s="auto"){return!0===s||"auto"===s&&(!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e))&&Date.parse(e)||function(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch{return!1}return!0}(e))?e:`${e}${function(e){let t=JSON.stringify(e),s=new TextEncoder().encode(t),l="";for(let e=0;e<s.length;e++){let t=s[e];l+=i[t>>6&3]+i[t>>4&3]+i[t>>2&3]+i[3&t]}return a+l}(t)}`}])},24345,e=>{"use strict";var t=e.i(43476),s=e.i(22016);e.s(["default",0,function({href:e,text:i,hasArrow:a,className:l,target:n}){return e&&i&&(0,t.jsxs)(s.default,{className:`${a&&"inline-flex items-center gap-x-16"} rounded-16 border border-black bg-white px-24 py-12 font-semibold text-black transition-opacity duration-300 hover:opacity-90 ${l||""}`,href:e,target:n||"_self",children:[i,a&&(0,t.jsx)("svg",{width:"20",height:"8",viewBox:"0 0 20 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M1 3.5C0.723858 3.5 0.5 3.72386 0.5 4C0.5 4.27614 0.723858 4.5 1 4.5L1 3.5ZM19.3536 4.35355C19.5488 4.15829 19.5488 3.84171 19.3536 3.64645L16.1716 0.464467C15.9763 0.269205 15.6597 0.269205 15.4645 0.464467C15.2692 0.65973 15.2692 0.976312 15.4645 1.17157L18.2929 4L15.4645 6.82843C15.2692 7.02369 15.2692 7.34027 15.4645 7.53554C15.6597 7.7308 15.9763 7.7308 16.1716 7.53554L19.3536 4.35355ZM1 4L1 4.5L19 4.5L19 4L19 3.5L1 3.5L1 4Z",fill:"black"})})]})}])},83717,e=>{"use strict";var t=e.i(43476),s=e.i(81818),i=e.i(71645),a=e.i(57688),l=e.i(89970),n=e.i(83495),r=e.i(65747),o=e.i(24345),c=e.i(73084);l.gsap.registerPlugin(n.ScrollTrigger),e.s(["default",0,function({className:e,componentData:n}){let d=(0,i.useRef)(null),u=(0,i.useRef)(null);return(0,r.useGSAP)(()=>{let e=l.gsap.matchMedia();return e.add("(min-width: 768px)",()=>{l.gsap.fromTo(u.current,{scale:1.2,yPercent:-10},{scale:1.2,yPercent:10,scrollTrigger:{trigger:d.current,scrub:!0}})}),()=>e.revert()},{scope:d,dependencies:[u],revertOnUpdate:!0}),(0,t.jsxs)("section",{className:`relative ${e} lg:rounded-b-40 bg-background w-full text-black before:bottom-0 before:bg-gradient-to-t before:from-black/30 lg:overflow-hidden lg:bg-transparent lg:text-white lg:before:absolute lg:before:inset-0 lg:before:z-20 lg:before:block lg:before:to-transparent`,style:{aspectRatio:n.media.image.asset.aspectRatio},ref:d,children:[n?.media?.type==="image"&&n?.media?.image&&(0,t.jsx)(a.default,{className:"rounded-b-24 aspect-[4/5] w-full object-cover object-center lg:aspect-auto lg:rounded-none",src:(0,s.urlFor)(n.media.image).dpr(3).format("webp").quality(80).url(),width:n.media.image.asset.width,height:n.media.image.asset.height,sizes:"100vw",alt:"",ref:u}),(0,t.jsx)("div",{className:"site-grid site-gap site-padding bottom-0 left-0 z-20 mt-32 pb-40 text-center font-semibold lg:absolute lg:mt-0 lg:pb-64 lg:text-left lg:text-white",children:(0,t.jsxs)("div",{className:"col-span-6 flex flex-col items-center gap-y-24 lg:items-start lg:pl-40",children:[n?.description&&(0,t.jsx)("h4",{className:"text-28 lg:text-32 leading-none",children:n.description}),n?.cta&&(0,t.jsx)(o.default,{text:n.cta.label,href:n.cta.url,hasArrow:!0})]})}),(0,t.jsx)(c.default,{className:"absolute bottom-px translate-y-full",color:"var(--color-background)"})]})}])},11463,e=>{"use strict";var t=e.i(43476);e.s(["default",0,function(){return(0,t.jsx)("svg",{width:"44",height:"42",viewBox:"0 0 44 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M42.7602 15.5958C44.0802 19.6758 42.5202 22.4358 38.8002 23.6358C34.4802 25.0758 31.1202 22.3158 23.2002 22.6758C29.4402 27.7158 33.7602 27.3558 36.4002 31.0758C38.6802 34.1958 38.3202 37.4358 34.8402 39.9558C31.3602 42.4758 28.2402 41.8758 25.9602 38.7558C23.2002 35.0358 24.8802 31.0758 22.0002 23.5158C19.1202 31.0758 20.8002 35.0358 18.0402 38.7558C15.7602 41.8758 12.6402 42.4758 9.16016 39.9558C5.68015 37.4358 5.32015 34.1958 7.60015 31.0758C10.2402 27.3558 14.5602 27.7158 20.8002 22.6758C12.8802 22.3158 9.52015 25.0758 5.20015 23.6358C1.48015 22.4358 -0.0798457 19.6758 1.24015 15.5958C2.56015 11.5158 5.56015 10.1958 9.16016 11.2758C13.4802 12.7158 14.5602 16.9158 21.2802 21.2358C19.1202 13.5558 15.5202 11.2758 15.5202 6.71584C15.5202 2.87583 17.6802 0.47583 22.0002 0.47583C26.3202 0.47583 28.4802 2.87583 28.4802 6.71584C28.4802 11.2758 24.8802 13.5558 22.7202 21.2358C29.4402 16.9158 30.5202 12.7158 34.8402 11.2758C38.4402 10.1958 41.4402 11.5158 42.7602 15.5958Z",fill:"white"})})}])},31807,e=>{"use strict";var t=e.i(43476),s=e.i(81818),i=e.i(71645),a=e.i(57688),l=e.i(89970),n=e.i(83495),r=e.i(65747),o=e.i(62305),c=e.i(22016),d=e.i(80401),u=e.i(16571),g=e.i(99946);function m(e){let{swiper:t,extendParams:s,on:i,emit:a}=e;function l(e){let s;return e&&"string"==typeof e&&t.isElement&&(s=t.el.querySelector(e)||t.hostEl.querySelector(e))?s:(e&&("string"==typeof e&&(s=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&s&&s.length>1&&1===t.el.querySelectorAll(e).length?s=t.el.querySelector(e):s&&1===s.length&&(s=s[0])),e&&!s)?e:s}
1function n(e,s){let i=t.params.navigation;(e=(0,g.m)(e)).forEach(e=>{e&&(e.classList[s?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=s),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))})}function r(){let{nextEl:e,prevEl:s}=t.navigation;if(t.params.loop){n(s,!1),n(e,!1);return}n(s,t.isBeginning&&!t.params.rewind),n(e,t.isEnd&&!t.params.rewind)}function o(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function d(){let e=t.params.navigation;if(t.params.navigation=(0,u.c)(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(e.nextEl||e.prevEl))return;let s=l(e.nextEl),i=l(e.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:i}),s=(0,g.m)(s),i=(0,g.m)(i);let a=(s,i)=>{s&&s.addEventListener("click","next"===i?c:o),!t.enabled&&s&&s.classList.add(...e.lockClass.split(" "))};s.forEach(e=>a(e,"next")),i.forEach(e=>a(e,"prev"))}function m(){let{nextEl:e,prevEl:s}=t.navigation;e=(0,g.m)(e),s=(0,g.m)(s);let i=(e,s)=>{e.removeEventListener("click","next"===s?c:o),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>
1i(e,"next")),s.forEach(e=>i(e,"prev"))}s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},i("init",()=>{!1===t.params.navigation.enabled?p():(d(),r())}),i("toEdge fromEdge lock unlock",()=>{r()}),i("destroy",()=>{m()}),i("enable disable",()=>{let{nextEl:e,prevEl:s}=t.navigation;(e=(0,g.m)(e),s=(0,g.m)(s),t.enabled)?r():[...e,...s].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),i("click",(e,s)=>{let{nextEl:i,prevEl:l}=t.navigation;i=(0,g.m)(i),l=(0,g.m)(l);let n=s.target,r=l.includes(n)||i.includes(n);if(t.isElement&&!r){let e=s.path||s.composedPath&&s.composedPath();e&&(r=e.find(e=>i.includes(e)||l.includes(e)))}if(t.params.navigation.hideOnClick&&!r){let e;if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===n||t.pagination.el.contains(n)))return;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):l.length&&(e=l[0].classList.contains(t.params.navigation.hiddenClass)),!0===e?a("navigationShow"):a("navigationHide"),[...i,...l].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});let p=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),r()},disable:p,update:r,init:d,destroy:m})}function p({className:e="",text:s,children:i}){return(0,t.jsxs)("h3",{className:`text-[32px] font-semibold ${e}`,children:[s," ",i]})}function f({className:e}){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 20 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M1 3.20898C0.723858 3.20898 0.5 3.43284 0.5 3.70898C0.5 3.98513 0.723858 4.20898 1 4.20898L1 3.20898ZM19.3536 4.06254C19.5488 3.86728 19.5488 3.55069 19.3536 3.35543L16.1716 0.173452C15.9763 -0.0218104 15.6597 -0.0218104 15.4645 0.173452C15.2692 0.368714 15.2692 0.685296 15.4645 0.880559L18.2929 3.70899L15.4645 6.53741C15.2692 6.73267 15.2692 7.04926 15.4645 7.24452C15.6597 7.43978 15.9763 7.43978 16.1716 7.24452L19.3536 4.06254ZM1 3.70898L1 4.20898L19 4.20899L19 3.70899L19 3.20899L1 3.20898L1 3.70898Z"})})}function h({className:e}){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 20 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M19 3.20898C19.2761 3.20898 19.5 3.43284 19.5 3.70898C19.5 3.98513 19.2761 4.20898 19 4.20898L19 3.20898ZM0.646446 4.06254C0.451183 3.86728 0.451183 3.55069 0.646446 3.35543L3.82843 0.173452C4.02369 -0.0218104 4.34027 -0.0218104 4.53553 0.173452C4.73079 0.368714 4.73079 0.685296 4.53553 0.880559L1.70711 3.70899L4.53553 6.53741C4.7308 6.73267 4.7308 7.04926 4.53553 7.24452C4.34027 7.43978 4.02369 7.43978 3.82843 7.24452L0.646446 4.06254ZM19 3.70898L19 4.20898L1 4.20899L1 3.70899L1 3.20899L19 3.20898L19 3.70898Z"})})}function x({products:e}){let[l,n]=(0,i.useState)(null),[r,o]=(0,i.useState)(""),[u,g]=(0,i.useState)(""),[v,b]=(0,i.useState)(""),w=()=>l?.slidePrev(),j=()=>l?.slideNext();return(0,t.jsxs)("div",{className:"relative w-screen text-white lg:-mt-80 lg:pt-80",children:[(0,t.jsx)(d.Swiper,{className:"category-slider",modules:[m],spaceBetween:0,slidesPerView:1,speed:700,centeredSlides:!0,loop:!0,onSwiper:e=>n(e),onSlideChange:t=>{var s;o(e[s=t.realIndex].name),g(e[s].mainDescription),b(e[s].slug.current)},breakpoints:{768:{slidesPerView:2.6}},children:e.map(e=>{let i=e.featuredImage.asset.metadata.dimensions.aspectRatio;return(0,t.jsx)(d.SwiperSlide,{children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,t.jsx)(a.default,{className:"",src:(0,s.urlFor)(e.featuredImage).width(700).dpr(3).format("webp").quality(80).url(),width:700,height:700/i,sizes:"(min-width: 1024px) 33vw, 100vw",alt:e.name}),(0,t.jsxs)("div",{className:"sr-only",children:[e.name," ",e.mainDescription]})]})},e._id)})}),l&&(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row lg:gap-x-56",children:[(0,t.jsx)("button",{onClick:w,className:"hidden h-32 w-48 items-center justify-center rounded-full border border-black bg-white transition-opacity duration-300 hover:opacity-70 lg:flex",children:(0,t.jsx)(h,{className:"h-8 w-20 fill-black"})}),(0,t.jsxs)("div",{className:"relative z-10 mx-auto -mt-40 flex max-w-[360px] flex-col gap-y-16 text-center",children:[(0,t.jsx)(c.default,{href:`/prodotti/${v}`,children:(0,t.jsx)(p,{className:"leading-none",text:r})}),(0,t.jsx)("p",{className:"text-14 font-semibold",children:u}),(0,t.jsx)(c.default,{className:"text-14 font-semibold underline",href:`/prodotti/${v}`,children:"Scopri il prodotto"})]}),(0,t.jsx)("button",{onClick:j,className:"hidden h-32 w-48 items-center justify-center rounded-full border border-black bg-white transition-opacity duration-300 hover:opacity-70 lg:flex",children:(0,t.jsx)(f,{className:"h-8 w-20 fill-black"})}),(0,t.jsxs)("div",{className:"site-padding mt-24 flex justify-center gap-x-16 lg:hidden",children:[(0,t.jsx)("button",{onClick:w,className:"flex h-32 w-48 items-center justify-center rounded-full border border-white bg-transparent",children:(0,t.jsx)(h,{className:"h-8 w-20 fill-white"})}),(0,t.jsx)("button",{onClick:j,className:"flex h-32 w-48 items-center justify-center rounded-full border border-white bg-transparent",children:(0,t.jsx)(f,{className:"h-8 w-20 fill-white"})})]})]})})]})}var v=e.i(11463),b=e.i(73084),w=e.i(96922);l.gsap.registerPlugin([n.ScrollTrigger,r.useGSAP]),e.s(["default",0,function({category:e,className:n,index:c,total:d}){let u=(0,i.useRef)(null),g=(0,i.useRef)(null),m=(0,i.useRef)([]),p=(0,i.useRef)(null);return(0,r.useGSAP)(()=>{l.gsap.matchMedia().add("(min-width: 768px)",()=>{p.current&&c<d-1&&l.gsap.to(p.current,{opacity:.3,ease:"none",scrollTrigger:{trigger:u.current,start:"bottom bottom",end:`+=${window.innerHeight/2}px`,scrub:!0}}),l.gsap.to(m.current,{opacity:1,stagger:.03,duration:.2,ease:"none",scrollTrigger:{trigger:u.current,start:"top 70%",end:"center center",scrub:!0,revertOnUpdate:!0}})})},{scope:u,dependencies:[e],revertOnUpdate:!0}),(0,t.jsxs)("section",{ref:u,className:"relative",style:{zIndex:c},children:[(0,t.jsxs)("div",{className:`pt-80 ${c<d-1?"pb-80 lg:pb-120":"pb-8 lg:pb-0"} lg:min-h-screen lg:pt-0 ${n}`,style:{backgroundColor:e.color,zIndex:c},children:[c>0&&(0,t.jsx)(w.default,{color:e.color}),e.mascot?.image&&(0,t.jsxs)("div",{className:`relative z-10 mx-auto h-160 w-240 lg:h-auto lg:w-240 ${"Antichi Sapori"===e.title?"-mb-64 lg:-mb-90":"-mb-40 lg:-mb-64"}`,children:[(0,t.jsxs)("svg",{className:`absolute z-20 hidden translate-x-full overflow-visible lg:block ${"Mucca"===e.title?"-right-24 bottom-0 -translate-y-1/3":"top-0 right-8 -translate-y-1/2"}`,width:"549",height:"224",viewBox:"0 0 549 224",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{id:"text-curve",d:"M1 215.568C61.5 227.568 172.997 235.06 251.5 158.562C339 73.296 501.833 -1.43902 548.5 1.06098",stroke:"none",fill:"none"}),(0,t.jsx)("text",{fontSize:"1.5vw",fill:"white",letterSpacing:"2",children:(0,t.jsxs)("textPath",{className:"font-serif uppercase",href:"#text-curve",startOffset:"0%",children:[(0,t.jsx)("tspan",{className:"opacity-0",ref:e=>{e&&m.current.push(e)},children:e.mascot.soundLetter}),Array(18).fill(e.mascot.repeatPart).map((e,s)=>(0,t.jsx)("tspan",{className:"opacity-0",ref:e=>{e&&m.current.push(e)},children:e},s))]})})]}),(0,t.jsx)(a.default,{className:"h-full w-full object-contain object-bottom lg:aspect-square lg:h-auto",src:(0,s.urlFor)(e.mascot.image).dpr(3).format("webp").quality(80).url(),width:e.mascot.image.asset.metadata.dimensions.width,height:e.mascot.image.asset.metadata.dimensions.height,sizes:"(min-width: 768px) 240px, 160px",alt:"",ref:g})]}),(0,t.jsx)(o.default,{speed:1,children:(0,t.jsxs)("div",{className:"flex items-center gap-x-24 font-serif text-[160px] leading-none text-white uppercase opacity-25 lg:text-[240px]",children:[(0,t.jsx)("h2",{children:e.title}),(0,t.jsx)(v.default,{})]})}),(0,t.jsx)("div",{className:`${c<d-1?"lg:pb-120":"lg:pb-0"} -mt-120 lg:mt-0 lg:min-h-[73vh]`,children:e.products?.length>0&&(0,t.jsx)(x,{products:e.products})}),c<d-1&&(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-20 bg-black opacity-0",ref:p})]}),c===d-1&&(0,t.jsx)(b.default,{className:"absolute bottom-px z-10 translate-y-full transform",color:e?.color||"#ffffff"})]},e._id)}],31807)},84927,e=>{e.v(t=>Promise.all(["static/chunks/06yqgzcuua9e7.js"].map(t=>e.l(t))).then(()=>t(45587)))},27649,e=>{e.v(t=>Promise.all(["static/chunks/3vmavxuj20p9v.js"].map(t=>e.l(t))).then(()=>t(12220)))}]);

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.