1import{i as e,t}from"./jsx-runtime-DUAcabCT.js";import{t as n}from"./react-6OGjdfot.js";import{n as r}from"./createServerFn-Clo0VIFA.js";import{t as i}from"./link-DdTIhjth.js";import{n as a}from"./queryOptions-Dj0iNmXa.js";import{t as o}from"./check-DS6YO9Tj.js";import{t as s}from"./chevron-left-Y-cDMoGL.js";import{t as c}from"./loader-circle-Bi0ABZR6.js";import{n as l}from"./dist-CU3FD-Qv.js";import{n as u,t as d}from"./klaviyo-BYp7jCvP.js";import{t as f}from"./meta-pixel-C5A1C181.js";import{n as p,r as m}from"./tiktok-pixel-B3vLCUiT.js";import{i as h}from"./google-ads-s4GoOmbn.js";import{o as g,t as _}from"./PromoBanner-RkfWUuZO.js";import{X as v,Y as y,it as b,y as ee}from"./index-IIEG9hZI.js";import{t as te}from"./hero-padel-mobile.png.asset-Cxjpnxvt.js";var x=e(n()),S={version:1,asset_id:`d937464d-1436-4fc4-a9dd-6c972b5b34e2`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/d937464d-1436-4fc4-a9dd-6c972b5b34e2/collezione-Abbigliamento.png`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/d937464d-1436-4fc4-a9dd-6c972b5b34e2/collezione-Abbigliamento.png`,original_filename:`collezione-Abbigliamento.png`,size:3881363,content_type:`image/png`,created_at:`2026-08-05T12:38:43Z`},C={version:1,asset_id:`a8389fd1-2d56-4f5f-910c-75e7bc37c142`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/a8389fd1-2d56-4f5f-910c-75e7bc37c142/collezione-Calze.png`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/a8389fd1-2d56-4f5f-910c-75e7bc37c142/collezione-Calze.png`,original_filename:`collezione-Calze.png`,size:3145887,content_type:`image/png`,created_at:`2026-08-05T12:38:48Z`},w={version:1,asset_id:`32f4d2f9-bbb9-406e-af87-99a27ec973e4`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/32f4d2f9-bbb9-406e-af87-99a27ec973e4/collezione-Articolazioni.png`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/32f4d2f9-bbb9-406e-af87-99a27ec973e4/collezione-Articolazioni.png`,original_filename:`collezione-Articolazioni.png`,size:3809946,content_type:`image/png`,created_at:`2026-08-05T12:38:51Z`},T={version:1,asset_id:`bf90dd6a-ca71-4ff5-919a-3247aa6c2a73`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/bf90dd6a-ca71-4ff5-919a-3247aa6c2a73/gazzetta.png`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/bf90dd6a-ca71-4ff5-919a-3247aa6c2a73/gazzetta.png`,original_filename:`gazzetta.png`,size:6699,content_type:`image/png`,created_at:`2026-06-20T11:35:13Z`},E={version:1,asset_id:`584d1950-61c9-4a5b-9947-fa561ebbdc14`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/584d1950-61c9-4a5b-9947-fa561ebbdc14/sole24ore.jpg`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/584d1950-61c9-4a5b-9947-fa561ebbdc14/sole24ore.jpg`,original_filename:`sole24ore.jpg`,size:22718,content_type:`image/jpeg`,created_at:`2026-06-20T11:35:24Z`},D={version:1,asset_id:`a3decd90-05a7-473b-a9a6-671758af8750`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/a3decd90-05a7-473b-a9a6-671758af8750/corriere.jpg`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/a3decd90-05a7-473b-a9a6-671758af8750/corriere.jpg`,original_filename:`corriere.jpg`,size:32224,content_type:`image/jpeg`,created_at:`2026-06-20T11:38:20Z`},O={version:1,asset_id:`e1246316-f4de-4813-91e5-21c814de5e96`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/e1246316-f4de-4813-91e5-21c814de5e96/hero-calcio.webp`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/e1246316-f4de-4813-91e5-21c814de5e96/hero-calcio.webp`,original_filename:`hero-calcio.webp`,size:157732,content_type:`image/webp`,created_at:`2026-08-12T13:06:14Z`},k={version:1,asset_id:`df65abce-327b-464f-96fc-e99e21dacc56`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/df65abce-327b-464f-96fc-e99e21dacc56/hero-tennis.webp`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/df65abce-327b-464f-96fc-e99e21dacc56/hero-tennis.webp`,original_filename:`hero-tennis.webp`,size:92634,content_type:`image/webp`,created_at:`2026-08-12T13:06:22Z`},A={version:1,asset_id:`ed70fa88-c45c-4a40-9149-b1de81039834`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/ed70fa88-c45c-4a40-9149-b1de81039834/hero-hyrox.webp`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/ed70fa88-c45c-4a40-9149-b1de81039834/hero-hyrox.webp`,original_filename:`hero-hyrox.webp`,size:210876,content_type:`image/webp`,created_at:`2026-08-12T13:06:27Z`},j={version:1,asset_id:`4c1bf152-0908-4e62-9c79-90547c69bd07`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/4c1bf152-0908-4e62-9c79-90547c69bd07/hero-ripartenza-2026.png`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/4c1bf152-0908-4e62-9c79-90547c69bd07/hero-ripartenza-2026.png`,original_filename:`hero-ripartenza-2026.png`,size:168812,content_type:`image/webp`,created_at:`2026-08-12T13:06:32Z`},M={version:1,asset_id:`1cea31c5-0dd9-4dfe-b06b-38d00b718aa5`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/1cea31c5-0dd9-4dfe-b06b-38d00b718aa5/hero-calcio-mobile.png`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/1cea31c5-0dd9-4dfe-b06b-38d00b718aa5/hero-calcio-mobile.png`,original_filename:`hero-calcio-mobile.png`,size:2057987,content_type:`image/png`,created_at:`2026-08-12T13:09:24Z`},N={version:1,asset_id:`deb929da-aee9-4262-aa74-ca8c33437bfd`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/deb929da-aee9-4262-aa74-ca8c33437bfd/hero-tennis-mobile.png`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/deb929da-aee9-4262-aa74-ca8c33437bfd/hero-tennis-mobile.png`,original_filename:`hero-tennis-mobile.png`,size:1947262,content_type:`image/png`,created_at:`2026-08-12T13:09:33Z`},P={version:1,asset_id:`c49fca26-b7de-4cd9-9965-3983b9e5eb64`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/c49fca26-b7de-4cd9-9965-3983b9e5eb64/hero-hyrox-mobile.png`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/c49fca26-b7de-4cd9-9965-3983b9e5eb64/hero-hyrox-mobile.png`,original_filename:`hero-hyrox-mobile.png`,size:2681044,content_type:`image/png`,created_at:`2026-08-12T13:09:38Z`},F={version:1,asset_id:`3a7e67f0-674c-4632-a025-c57e05b6679b`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/3a7e67f0-674c-4632-a025-c57e05b6679b/
1hero-ripartenza-2026-mobile.png`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/3a7e67f0-674c-4632-a025-c57e05b6679b/hero-ripartenza-2026-mobile.png`,original_filename:`hero-ripartenza-2026-mobile.png`,size:1569697,content_type:`image/png`,created_at:`2026-08-12T13:09:42Z`},I={version:1,asset_id:`8166faa1-129d-4ac8-9d91-2b064795ff71`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/8166faa1-129d-4ac8-9d91-2b064795ff71/hero-running.mp4`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/8166faa1-129d-4ac8-9d91-2b064795ff71/hero-running.mp4`,original_filename:`hero-running.mp4`,size:13385163,content_type:`video/mp4`,created_at:`2026-08-12T13:06:41Z`},ne={version:1,asset_id:`f246be12-be4e-4911-9a57-27b59396a00d`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/f246be12-be4e-4911-9a57-27b59396a00d/hero-running-mobile.mp4`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/f246be12-be4e-4911-9a57-27b59396a00d/hero-running-mobile.mp4`,original_filename:`hero-running-mobile.mp4`,size:11689981,content_type:`video/mp4`,created_at:`2026-08-12T13:09:50Z`},L={version:1,asset_id:`b2eb460e-b524-4326-af79-c01fc8afe99e`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/b2eb460e-b524-4326-af79-c01fc8afe99e/hero-running-poster.jpg`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/b2eb460e-b524-4326-af79-c01fc8afe99e/hero-running-poster.jpg`,original_filename:`hero-running-poster.jpg`,size:201492,content_type:`image/jpeg`,created_at:`2026-08-12T13:07:26Z`},R={version:1,asset_id:`19e36e0d-ce78-4a89-99e4-0c885027e024`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/19e36e0d-ce78-4a89-99e4-0c885027e024/hero-running-mobile-poster.jpg`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/19e36e0d-ce78-4a89-99e4-0c885027e024/hero-running-mobile-poster.jpg`,original_filename:`hero-running-mobile-poster.jpg`,size:137936,content_type:`image/jpeg`,created_at:`2026-08-12T13:09:55Z`},z=t(),B={version:1,asset_id:`2e0abcba-fdb0-4a8d-ac82-c83ef244269d`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/2e0abcba-fdb0-4a8d-ac82-c83ef244269d/Calcio.webp`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/2e0abcba-fdb0-4a8d-ac82-c83ef244269d/Calcio.webp`,original_filename:`Calcio.webp`,size:74394,content_type:`image/webp`,created_at:`2026-08-05T09:51:37Z`},V={version:1,asset_id:`49de4fb2-dcd1-4c32-9078-7a95abd89a15`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/49de4fb2-dcd1-4c32-9078-7a95abd89a15/Padel.webp`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/49de4fb2-dcd1-4c32-9078-7a95abd89a15/Padel.webp`,original_filename:`Padel.webp`,size:69564,content_type:`image/webp`,created_at:`2026-08-05T09:51:42Z`},H={version:1,asset_id:`c7c01031-4158-45e2-906a-46a9bb58c50e`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/c7c01031-4158-45e2-906a-46a9bb58c50e/Tennis.webp`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/c7c01031-4158-45e2-906a-46a9bb58c50e/Tennis.webp`,original_filename:`Tennis.webp`,size:105588,content_type:`image/webp`,created_at:`2026-08-05T09:51:53Z`},U={version:1,asset_id:`69813d78-2c7d-4e6a-bc5a-464fc3217d84`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/69813d78-2c7d-4e6a-bc5a-464fc3217d84/Running.webp`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/69813d78-2c7d-4e6a-bc5a-464fc3217d84/Running.webp`,original_filename:`Running.webp`,size:199952,content_type:`image/webp`,created_at:`2026-08-05T09:51:49Z`},W={version:1,asset_id:`8a15af93-565a-4835-99d9-db0535f91590`,project_id:`f23cd133-b90a-4a5b-9c12-6bfee5b680a0`,url:`/__l5e/assets-v1/8a15af93-565a-4835-99d9-db0535f91590/Palestra.webp`,r2_key:`a/v1/f23cd133-b90a-4a5b-9c12-6bfee5b680a0/8a15af93-565a-4835-99d9-db0535f91590/Palestra.webp`,original_filename:`Palestra.webp`,size:252298,content_type:`image/webp`,created_at:`2026-08-05T09:51:45Z`},G=L.url,K=R.url,q={src:j.url,mobileSrc:F.url,alt:`Promo Ripartenza: -15% con 2 prodotti fino al 31 agosto`,to:`/products`,params:void 0},J=[{src:O.url,mobileSrc:M.url,alt:`Calcio, rugby, baseball â The field is yours, the support is Floky`,to:`/collections/$handle`,params:{handle:`calcio`}},{src:ee.url,mobileSrc:te.url,alt:`Padel â Biomechanical technology behind every shot`,to:`/collections/$handle`,params:{handle:`padel`}},{src:k.url,mobileSrc:N.url,alt:`Tennis â Professional-level support`,to:`/collections/$handle`,params:{handle:`tennis`}},{src:G,videoSrc:I.url,mobileVideoSrc:ne.url,mobilePoster:K,alt:`Running e trail â Biomechanical support every km`,to:`/collections/$handle`,params:{handle:`running`}},{src:A.url,mobileSrc:P.url,alt:`Fitness, Hyrox, hybrid training â Feel the adrenaline, not the intensity`,to:`/collections/$handle`,params:{handle:`indoor`}}],Y=[{handle:`abbigliamento`,label:`Abbigliamento`,fallback:S.url},{handle:`calze`,label:`Calze`,fallback:C.url},{handle:`per-le-articolazioni`,label:`Articolazioni`,fallback:w.url}],X=[{handle:`calcio`,label:`Calcio`,fallback:B.url},{handle:`padel`,label:`Padel`,fallback:V.url},{handle:`tennis`,label:`Tennis`,fallback:H.url},{handle:`running`,label:`Running`,fallback:U.url},{handle:`indoor`,label:`Palestra`,fallback:W.url}];function Z(){let{data:e}=a(y()),[t,n]=(0,x.useState)(``),[s,g]=(0,x.useState)(`idle`),_=r(v);async function b(e){if(e.preventDefault(),!(s===`loading`||!t)){g(`loading`);try{(await _({data:{email:t,source:`home_join_the_elite`}})).ok?(d({$email:t}),u(`Subscribed to Newsletter`,{source:`home_join_the_elite`}),f(`Lead`,{content_name:`newsletter`,source:`home_join_the_elite`}),p({email:t}),m(`Subscribe`,{description:`newsletter_home`}),h(`generate_lead`,{source:`home_join_the_elite`}),g(`success`),n(``),l.success(`Iscrizione completata! Controlla la tua email.`)):(g(`idle`),l.error(`Errore, riprova più tardi.`))}catch{g(`idle`),l.error(`Errore, riprova più tardi.`)}}}return(0,z.jsxs)(`div`,{className:`bg-[#0a0a0a] text-white overflow-x-hidden w-full`,children:[(0,z.jsx)(`h1`,{className:`sr-only`,children:`Floky â Tecnologia biomeccanica per lo sport`}),(0,z.jsx)(re,{}),(0,z.jsxs)(`section`,{className:`py-14 sm:py-20 md:py-32 px-4 sm:px-6 md:px-12 max-w-[1600px] mx-auto`,children:[(0,z.jsxs)(`div`,{className:`mb-8 sm:mb-12 md:mb-20`,children:[(0,z.jsx)(`span`,{className:`text-[#d4ff00] uppercase tracking-[0.3em] sm:tracking-[0.4em] text-[10px] sm:text-xs md:text-sm font-bold mb-3 sm:mb-4 block`,children:`Esplora i nostri prodotti`}),(0,z.jsx)(`h2`,{className:`text-4xl sm:text-5xl md:text-7xl font-bold uppercase leading-none text-white tracking-tight`,children:`Collezioni`})]}),(0,z.jsx)(`div`,{className:`grid grid-cols-1 md:grid-cols-3 gap-1`,children:Y.map(t=>{let n=e.find(e=>e.handle===t.handle),r=t.fallback,a=n?.image?.altText??`Collezione ${t.label} Floky`;return(0,z.jsxs)(i,{to:`/collections/$handle`,params:{handle:t.handle},className:`group relative aspect-[4/3] md:aspect-[3/4] overflow-hidden bg-zinc-900 border-l-4 border-transparent hover:border-[#d4ff00] transition-all`,children:[(0,z.jsx)(`img`,{src:r,alt:a,className:`absolute inset-0 w-full h-full object-cover opacity-70 grayscale group-hover:grayscale-0 group-hover:opacity-100 group-hover:scale-105 transition-all duration-1000`,loading:`lazy`}),(0,z.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent`}),(0,z.jsxs)(`div`,{className:`absolute bottom-6 sm:bottom-8 md:bottom-10 left-6 sm:left-8 md:left-10 right-6`,children:[(0,z.jsx)(`h3`,{className:`text-2xl sm:text-3xl md:text-4xl font-bold uppercase leading-none text-white tracking-wider`,children:t.label}),(0,z.jsx)(`p`,{className:`text-[#d4ff00] text-[11px] sm:text-xs md:text-sm mt-2 sm:mt-3 opacity-100 md:opacity-0 md:group-hover:opacity-100 transition-opacity uppercase tracking-widest font-bold`,children:`Vedi tutto â`})]})]},t.handle)})})]}),(0,z.jsx)(`div`,{className:`bg-[#d4ff00] text-black py-10 md:py-12`,children:(0,z.jsxs)(`div`,{className:`max-w-[1600px] mx-auto px-6 grid grid-cols-1 md:grid-cols-3 gap-8 md:gap-12 text-center`,children:[(0,z.jsxs)(`div`,{className:`flex flex-col items-center`,children:[(0,z.jsx)(`div`,{className:`text-lg md:text-xl font-bold uppercase mb-2 tracking-wider`,children:`Spedizioni 48/72H`}),(0,z.jsx)(`p`,{className:`text-[11px] md:text-xs uppercase font-bold tracking-widest opacity-70`,children:`Consegna rapida espressa gratuita sopra i 58â¬`})]}),(0,z.jsxs)(`div`,{className:`flex flex-col items-center border-y md:border-y-0 md:border-x border-black/10 py-6 md:py-0`,children:[(0,z.jsx)(`div`,{className:`text-lg md:text-xl font-bold uppercase mb-2 tracking-wider`,children:`Pagamenti Sicuri`}),(0,z.jsx)(`p`,{className:`text-[11px] md:text-xs uppercase font-bold tracking-widest opacity-70`,children:`Tutte le principali carte e contrassegno`})]}),(0,z.jsxs)(`div`,{className:`flex flex-col items-center`,children:[(0,z.jsx)(`div`,{className:`text-lg md:text-xl font-bold uppercase mb-2 tracking-wider`,children:`Supporto Tecnico`}),(0,z.jsxs)(`p`,{className:`text-[11px] md:text-xs uppercase font-bold tracking-widest opacity-70`,children:[`Esperti a tua disposizione:`,` `,(0,z.jsx)(`a`,{href:`mailto:[email protected]`,className:`underline`,children:`[email protected]`})]})]})]})}),(0,z.jsx)(ie,{}),(0,z.jsxs)(`section`,{className:`py-14 sm:py-20 md:py-32 bg-white text-[#0a0a0a]`,children:[(0,z.jsxs)(`div`,{className:`max-w-[1600px] mx-auto px-4 sm:px-6 md:px-12 mb-8 sm:mb-12 md:mb-16 flex flex-col md:flex-row md:items-end justify-between gap-4 sm:gap-6`,children:[(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`span`,{className:`text-zinc-400 uppercase tracking-[0.25em] sm:tracking-[0.3em] text-[10px] sm:text-xs md:text-sm font-bold mb-3 sm:mb-4 block`,children:`Studiati per ogni esigenza`}),(0,z.jsx)(`h2`,{className:`text-4xl sm:text-5xl md:text-7xl font-bold uppercase leading-none tracking-tight`,children:`SCEGLI IL TUO SPORT`})]}),(0,z.jsx)(`div`,{className:`h-1 w-32 bg-black mb-4 hidden md:block`})]}),(0,z.jsx)(`div`,{className:`grid grid-cols-2 md:grid-cols-5 ga
1p-1`,children:X.map(t=>{let n=e.find(e=>e.handle===t.handle),r=t.fallback,a=n?.image?.altText??`Prodotti Floky per ${t.label}`;return(0,z.jsxs)(i,{to:`/collections/$handle`,params:{handle:t.handle},className:`relative aspect-[3/4] sm:aspect-[3/5] bg-black group overflow-hidden`,children:[(0,z.jsx)(`img`,{src:r,alt:a,className:`w-full h-full object-cover opacity-85 transition-transform duration-700 group-hover:scale-110`,loading:`lazy`}),(0,z.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-70`}),(0,z.jsxs)(`div`,{className:`absolute inset-0 p-4 sm:p-5 md:p-8 flex flex-col justify-end`,children:[(0,z.jsx)(`h4`,{className:`text-xl sm:text-2xl md:text-3xl font-bold text-white uppercase leading-none tracking-wider`,children:t.label}),(0,z.jsx)(`div`,{className:`h-[3px] w-8 bg-[#d4ff00] mt-2 sm:mt-3 group-hover:w-full transition-all duration-500`})]})]},t.handle)})})]}),(0,z.jsx)(se,{}),(0,z.jsxs)(`section`,{className:`grid grid-cols-1 md:grid-cols-2 md:min-h-[90vh] bg-zinc-900`,children:[(0,z.jsxs)(`div`,{className:`relative flex flex-col justify-center p-8 sm:p-12 md:p-24 border-r border-white/5 overflow-hidden min-h-[60vh] md:min-h-0`,children:[(0,z.jsx)(`div`,{className:`absolute inset-0 opacity-30 bg-cover bg-center`,style:{backgroundImage:`url(https://cdn.shopify.com/s/files/1/0419/5663/8887/files/per_il_web_amassador_PC_2800x.png)`},"aria-hidden":`true`}),(0,z.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-r from-zinc-900 via-zinc-900/85 to-zinc-900/40`,"aria-hidden":`true`}),(0,z.jsxs)(`div`,{className:`relative z-10`,children:[(0,z.jsx)(`span`,{className:`text-[#d4ff00] uppercase font-bold tracking-[0.3em] sm:tracking-[0.4em] text-[10px] sm:text-xs md:text-sm mb-4 sm:mb-6 block`,children:`Elite Performance`}),(0,z.jsxs)(`h2`,{className:`text-3xl sm:text-4xl md:text-6xl font-bold uppercase mb-6 sm:mb-8 leading-[0.95] text-white tracking-tight`,children:[`Chi ha già `,(0,z.jsx)(`br`,{}),`scelto Floky`]}),(0,z.jsx)(`p`,{className:`text-sm sm:text-base md:text-lg text-zinc-400 mb-8 sm:mb-10 max-w-md leading-relaxed`,children:`Floky è una grande famiglia di sportivi e atleti d'eccellenza con l'obiettivo di incrementare e tutelare le prestazioni con il supporto della biomeccanica.`}),(0,z.jsx)(i,{to:`/ambassador`,className:`inline-block bg-white text-black px-6 sm:px-10 py-3 sm:py-4 font-bold uppercase text-xs sm:text-sm tracking-[0.15em] sm:tracking-[0.2em] hover:bg-[#d4ff00] transition-all duration-300 hover:-translate-y-1`,children:`Scopri gli Ambassador`})]})]}),(0,z.jsxs)(`div`,{className:`relative flex flex-col justify-center p-8 sm:p-12 md:p-24 bg-black overflow-hidden min-h-[60vh] md:min-h-0`,children:[(0,z.jsx)(`div`,{className:`absolute inset-0 opacity-30 bg-cover bg-center`,style:{backgroundImage:`url(https://cdn.shopify.com/s/files/1/0419/5663/8887/files/quadrato_sostitutivo_BIOMECCANICA_3_1080x.png)`},"aria-hidden":`true`}),(0,z.jsx)(`div`,{className:`absolute inset-0 bg-gradient-to-l from-black via-black/85 to-black/40`,"aria-hidden":`true`}),(0,z.jsxs)(`div`,{className:`relative z-10`,children:[(0,z.jsx)(`span`,{className:`text-[#d4ff00] uppercase font-bold tracking-[0.3em] sm:tracking-[0.4em] text-[10px] sm:text-xs md:text-sm mb-4 sm:mb-6 block`,children:`The Science`}),(0,z.jsxs)(`h2`,{className:`text-3xl sm:text-4xl md:text-6xl font-bold uppercase mb-6 sm:mb-8 leading-[0.95] text-white tracking-tight`,children:[`Biomeccanica`,(0,z.jsx)(`br`,{}),`Applicata`]}),(0,z.jsx)(`p`,{className:`text-sm sm:text-base md:text-lg text-zinc-400 mb-8 sm:mb-10 max-w-md leading-relaxed`,children:`Sfruttiamo i principi della biomeccanica per migliorare e proteggere le tue prestazioni, ottimizzando ogni centimetro di movimento.`})]})]})]}),(0,z.jsx)(`section`,{className:`py-16 sm:py-20 md:py-32 bg-[#d4ff00] text-black`,children:(0,z.jsx)(`div`,{className:`max-w-5xl mx-auto px-4 sm:px-6`,children:(0,z.jsxs)(`div`,{className:`grid grid-cols-1 md:grid-cols-2 gap-8 sm:gap-10 md:gap-16 items-center`,children:[(0,z.jsx)(`div`,{children:(0,z.jsxs)(`h2`,{className:`text-4xl sm:text-5xl md:text-7xl font-bold uppercase leading-[0.95] tracking-tight`,children:[`Join the`,(0,z.jsx)(`br`,{}),`Elite`]})}),(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`p`,{className:`text-sm sm:text-base md:text-lg font-bold uppercase mb-6 sm:mb-8 tracking-tight`,children:`Accedi a lanci, promozioni e novità . Ottieni uno sconto esclusivo del 10%.`}),(0,z.jsxs)(`form`,{onSubmit:b,className:`flex flex-col gap-4`,"aria-label":`Iscrizione alla newsletter`,children:[(0,z.jsx)(`label`,{htmlFor:`home-newsletter-email`,className:`sr-only`,children:`E-mail`}),(0,z.jsx)(`input`,{id:`home-newsletter-email`,type:`email`,required:!0,value:t,onChange:e=>n(e.target.value),disabled:s===`loading`,placeholder:`LA TUA E-MAIL`,className:`bg-transparent border-b-4 border-black p-3 text-base sm:text-lg md:text-xl font-bold uppercase tracking-wider focus:outline-none placeholder:text-black/30 disabled:opacity-60`}),(0,z.jsx)(`button`,{type:`submit`,disabled:s===`loading`||s===`success`,className:`bg-black text-[#d4ff00] w-full py-4 font-bold uppercase text-sm sm:text-base md:text-lg tracking-[0.2em] sm:tracking-[0.25em] hover:bg-zinc-800 transition-colors disabled:opacity-70 flex items-center justify-center gap-2`,children:s===`loading`?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(c,{className:`h-5 w-5 animate-spin`}),` Invio...`]}):s===`success`?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(o,{className:`h-5 w-5`}),` Iscritto!`]}):`Iscriviti Ora`})]})]})]})})})]})}function re(){let[e,t]=(0,x.useState)(0),[n,r]=(0,x.useState)(!1),[a,o]=(0,x.useState)(!1);(0,x.useEffect)(()=>{o(g())},[]);let c=a?[q,...J]:J,l=c.length,u=(0,x.useRef)(null),d=(0,x.useRef)(null),f=e=>{let t=u.current;if(!t)return;let n=(e%l+l)%l,r=t.clientWidth;t.scrollTo({left:r*n,behavior:`smooth`})};(0,x.useEffect)(()=>
1{if(n)return;let t=setInterval(()=>f((e+1)%l),6e3);return()=>clearInterval(t)},[e,l,n]),(0,x.useEffect)(()=>{let e=u.current;if(!e)return;let n=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&t(Number(e.target.getAttribute(`data-index`)))})},{root:e,threshold:.6});return e.querySelectorAll(`[data-hero-slide]`).forEach(e=>n.observe(e)),()=>n.disconnect()},[]);let p=()=>{r(!0),d.current&&clearTimeout(d.current),d.current=setTimeout(()=>r(!1),8e3)};return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_,{variant:`band`,placement:`home_hero_band`}),(0,z.jsxs)(`section`,{className:`relative w-full bg-black overflow-hidden`,"aria-roledescription":`carousel`,"aria-label":`Promozioni in evidenza`,children:[(0,z.jsx)(`div`,{ref:u,onPointerDown:p,onScroll:p,className:`flex w-full overflow-x-auto snap-x snap-mandatory scroll-smooth [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden`,children:c.map((t,n)=>(0,z.jsx)(`div`,{"data-hero-slide":!0,"data-index":n,className:`w-full shrink-0 snap-start`,children:(0,z.jsx)(i,{to:t.to,params:t.params,"aria-hidden":n!==e,tabIndex:n===e?0:-1,className:t.mobileSrc||t.mobileVideoSrc?`block w-full aspect-[5/7] sm:aspect-[2/1]`:`block w-full aspect-[2/1]`,children:t.videoSrc?(0,z.jsxs)(z.Fragment,{children:[t.mobileVideoSrc&&(0,z.jsx)(`video`,{src:t.mobileVideoSrc,poster:t.mobilePoster,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:`metadata`,"aria-label":t.alt,className:`w-full h-full object-cover bg-black sm:hidden`}),(0,z.jsx)(`video`,{src:t.videoSrc,poster:t.src,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:`metadata`,"aria-label":t.alt,className:`w-full h-full object-cover bg-black ${t.mobileVideoSrc?`hidden sm:block`:``}`})]}):(0,z.jsxs)(`picture`,{className:`block w-full h-full`,children:[t.mobileSrc&&(0,z.jsx)(`source`,{media:`(max-width: 639px)`,srcSet:t.mobileSrc}),(0,z.jsx)(`img`,{src:t.src,alt:t.alt,className:`w-full h-full object-cover bg-black`,loading:n===0?`eager`:`lazy`,fetchPriority:n===0?`high`:`auto`})]})})},t.src))}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>{p(),f(e-1)},"aria-label":`Slide precedente`,className:`absolute left-2 sm:left-4 md:left-6 top-1/2 -translate-y-1/2 z-20 flex items-center justify-center w-10 h-10 sm:w-12 sm:h-12 rounded-full bg-black/50 text-white hover:bg-black/80 hover:text-[#d4ff00] transition-all backdrop-blur-sm border border-white/10`,children:(0,z.jsx)(s,{className:`w-5 h-5 sm:w-6 sm:h-6`})}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>{p(),f(e+1)},"aria-label":`Slide successiva`,className:`absolute right-2 sm:right-4 md:right-6 top-1/2 -translate-y-1/2 z-20 flex items-center justify-center w-10 h-10 sm:w-12 sm:h-12 rounded-full bg-black/50 text-white hover:bg-black/80 hover:text-[#d4ff00] transition-all backdrop-blur-sm border border-white/10`,children:(0,z.jsx)(b,{className:`w-5 h-5 sm:w-6 sm:h-6`})}),(0,z.jsx)(`div`,{className:`absolute bottom-3 sm:bottom-5 md:bottom-8 left-1/2 -translate-x-1/2 flex gap-2 sm:gap-3 items-center z-10`,children:c.map((t,n)=>(0,z.jsx)(`button`,{type:`button`,onClick:()=>f(n),"aria-label":`Vai alla slide ${n+1}`,"aria-current":n===e?`true`:void 0,className:`h-[3px] transition-all ${n===e?`w-10 sm:w-12 md:w-16 bg-[#d4ff00]`:`w-6 sm:w-8 md:w-10 bg-white/30 hover:bg-white/60`}`},n))})]})]})}var Q=[{name:`La Gazzetta dello Sport`,url:`https://www.gazzetta.it/running/abbigliamento-scarpe-accessori/23-02-2022/scoperta-run-up-calza-biomeccanica-floky.shtml`,logo:T.url},{name:`Il Sole 24 Ore`,url:`https://www.ilsole24ore.com/`,logo:E.url},{name:`Padel Magazine`,url:`https://padelmagazine.fr/`,logo:`https://padelmagazine.fr/wp-content/uploads/2018/08/Padel-Magazine-logo_normal.png`},{name:`Wired`,url:`https://www.wired.it/`,logo:`/press/wired.svg`},{name:`Corriere dello Sport`,url:`https://www.corrieredellosport.it/`,logo:D.url},{name:`Running Magazine`,url:`https://runningmag.it/floky-repetita/`,logo:`/press/running-magazine.svg`}];function ie(){let e=[...Q,...Q,...Q];return(0,z.jsxs)(`section`,{className:`bg-white text-black py-12 md:py-16 border-y border-zinc-200`,children:[(0,z.jsx)(`div`,{className:`max-w-[1600px] mx-auto px-6 md:px-12 mb-8 md:mb-10 text-center`,children:(0,z.jsx)(`span`,{className:`text-zinc-500 uppercase tracking-[0.4em] text-[10px] md:text-xs font-bold`,children:`Hanno parlato di noi`})}),(0,z.jsx)(`div`,{className:`group relative overflow-hidden`,style:{maskImage:`linear-gradient(to right, transparent, black 8%, black 92%, transparent)`,WebkitMaskImage:`linear-gradient(to right, transparent, black 8%, black 92%, transparent)`},children:(0,z.jsx)(`div`,{className:`flex items-center gap-16 md:gap-24 w-max animate-[press-marquee_40s_linear_infinite] group-hover:[animation-play-state:paused]`,children:e.map((e,t)=>(0,z.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,title:e.name,"aria-label":e.name,className:`shrink-0 flex items-center justify-center w-[140px] h-[48px] md:w-[180px] md:h-[60px] px-3 md:px-4 opacity-60 hover:opacity-100 transition-opacity`,children:(0,z.jsx)(`img`,{src:e.logo,alt:e.name,loading:`lazy`,className:`w-full h-full object-contain grayscale hover:grayscale-0 transition-all duration-300`})},t))})}),(0,z.jsx)(`style`,{children:` 2 @keyframes press-marquee { 3 from { transform: translateX(0); } 4 to { transform: translateX(-33.3333%); } 5 } 6 `})]})}var ae=[{name:`Marco R.`,location:`Milano`,product:`AXSIST 3D`,text:`Le indosso ogni partita di calcetto. Zero vesciche, piede bloccato nello scarpino e supporto perfetto sull'arco plantare.`,daysAgo:3},{name:`Giulia P.`,location:`Roma`,product:`Manicotto NO STRAIN Evolution`,text:`Soffrivo di epicondilite da padel. Dopo un mese il dolore è praticamente sparito. Consigliatissimo.`,daysAgo:9},{name:`Andrea T.`,location:`Torino`,product:`Calza RUN UP Medium`,text:`Mezza maratona con queste calze: compressione mirata e tessuto traspirante, zero fastidi anche dopo 21 km.`,daysAgo:14},{name:`Sara M.`,location:`Bologna`,product:`Ginocchiera KNEE Support`,text:`Qualità altissima e supporto reale. Si sente la differenza con prodotti generici da banco.`,daysAgo:5},{name:`Luca B.`,location:`Napoli`,product:`Calza S-MASH 3D`,text:`Spedizione velocissima. Il piede resta stabile nella scarpa, niente più scivolamenti laterali.`,daysAgo:21},{name:`Federico V.`,location:`Firenze`,product:`Padel Flow Premier Padel`,text:`Le migliori calze provate in 10 anni di padel. Aderenza perfetta e nessuna vescica nemmeno nei tornei.`,daysAgo:2},{name:`Chiara D.`,location:`Verona`,product:`Manicotto NO STRAIN`,text:`Lo uso per il tennis: meno affaticamento muscolare a fine partita. Materiale di qualità superiore.`,daysAgo:11},{name:`Davide L.`,location:`Genova`,product:`Calza GYMNASIUM`,text:`Comfort incredibile durante gli squat. Tengono il piede stabile e non si abbassano mai.`,daysAgo:6},{name:`Martina F.`,location:`Padova`,product:`Calza AXSIST 3D`,text:`Mio figlio gioca a calcio agonistico. Da quando le usa non ha più avuto vesciche. Top.`,daysAgo:17},{name:`Stefano G.`,location:`Bari`,product:`Cavigliera ANKLE Support`,text:`Distorsione recuperata in tempi record. Sostegn
6o mirato senza limitare la mobilità .`,daysAgo:28},{name:`Elena C.`,location:`Catania`,product:`Calza RUN UP Short`,text:`La consiglio a tutti i runner che soffrono di fascite plantare. Cambio di passo netto.`,daysAgo:4},{name:`Paolo Z.`,location:`Brescia`,product:`Calza RECHARGE`,text:`Compressione perfetta dopo le mie uscite in MTB. Recupero muscolare nettamente più rapido.`,daysAgo:13},{name:`Roberta N.`,location:`Trento`,product:`Calza S-MASH 3D Fantasy`,text:`Indossate ogni allenamento. Asciugano in fretta e non perdono forma dopo decine di lavaggi.`,daysAgo:8},{name:`Alessandro M.`,location:`Perugia`,product:`Pantaloncini PERFORMER`,text:`Prodotto serio, made in Italy vero. Si vede e si sente la differenza al primo utilizzo.`,daysAgo:1},{name:`Valentina S.`,location:`Palermo`,product:`Ginocchiera KNEE Support`,text:`Dopo l'intervento al menisco mi ha dato sicurezza nei movimenti. Materiale comodo anche sotto i pantaloni.`,daysAgo:19}];function oe(e){return e<=1?`ieri`:e<7?`${e} giorni fa`:e<14?`1 settimana fa`:e<30?`${Math.round(e/7)} settimane fa`:e<60?`1 mese fa`:`${Math.round(e/30)} mesi fa`}function $(){return(0,z.jsx)(`div`,{className:`flex gap-0.5`,"aria-label":`5 stelle su 5`,children:Array.from({length:5}).map((e,t)=>(0,z.jsx)(`svg`,{viewBox:`0 0 24 24`,className:`w-4 h-4 fill-amber-400`,"aria-hidden":`true`,children:(0,z.jsx)(`path`,{d:`M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z`})},t))})}function se(){let e=[...ae].sort((e,t)=>e.daysAgo-t.daysAgo),t=(0,x.useRef)(null),n=e=>{let n=t.current;if(!n)return;let r=n.querySelector(`[data-review-card]`),i=r?r.offsetWidth+16:n.clientWidth*.9;n.scrollBy({left:e*i*2,behavior:`smooth`})};return(0,z.jsxs)(`section`,{className:`bg-white text-black py-14 md:py-20 border-y border-zinc-200`,children:[(0,z.jsxs)(`div`,{className:`max-w-[1600px] mx-auto px-4 sm:px-6 md:px-12 mb-8 sm:mb-10 flex flex-col md:flex-row md:items-end justify-between gap-4`,children:[(0,z.jsxs)(`div`,{children:[(0,z.jsx)(`span`,{className:`text-zinc-500 uppercase tracking-[0.3em] sm:tracking-[0.4em] text-[10px] sm:text-xs font-bold mb-2 sm:mb-3 block`,children:`Recensioni Verificate`}),(0,z.jsx)(`h2`,{className:`text-3xl sm:text-4xl md:text-5xl font-bold uppercase leading-none tracking-tight`,children:`Cosa dicono di noi`})]}),(0,z.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,z.jsx)($,{}),(0,z.jsx)(`span`,{className:`text-sm font-bold uppercase tracking-widest text-zinc-700`,children:`5.0 / 5`})]})]}),(0,z.jsxs)(`div`,{className:`relative max-w-[1600px] mx-auto px-4 sm:px-6 md:px-12`,children:[(0,z.jsx)(`button`,{type:`button`,onClick:()=>n(-1),"aria-label":`Recensioni precedenti`,className:`hidden md:flex absolute left-2 top-1/2 -translate-y-1/2 z-10 w-11 h-11 items-center justify-center bg-white border border-zinc-300 rounded-full shadow hover:bg-black hover:text-white hover:border-black transition-colors`,children:(0,z.jsx)(s,{className:`w-5 h-5`})}),(0,z.jsx)(`button`,{type:`button`,onClick:()=>n(1),"aria-label":`Recensioni successive`,className:`hidden md:flex absolute right-2 top-1/2 -translate-y-1/2 z-10 w-11 h-11 items-center justify-center bg-white border border-zinc-300 rounded-full shadow hover:bg-black hover:text-white hover:border-black transition-colors`,children:(0,z.jsx)(b,{className:`w-5 h-5`})}),(0,z.jsx)(`div`,{ref:t,className:`flex gap-4 overflow-x-auto scroll-smooth snap-x snap-mandatory pb-2 [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden`,children:e.map((e,t)=>(0,z.jsxs)(`article`,{"data-review-card":!0,className:`w-[280px] md:w-[320px] shrink-0 snap-start bg-zinc-50 border border-zinc-200 p-6 flex flex-col gap-3 hover:border-zinc-900 transition-colors`,children:[(0,z.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,z.jsx)($,{}),(0,z.jsx)(`span`,{className:`text-[10px] uppercase tracking-widest text-zinc-400`,children:oe(e.daysAgo)})]}),(0,z.jsxs)(`p`,{className:`text-sm text-zinc-700 leading-relaxed flex-1`,children:[`"`,e.text,`"`]}),(0,z.jsxs)(`div`,{className:`border-t border-zinc-200 pt-3`,children:[(0,z.jsx)(`div`,{className:`text-[11px] uppercase tracking-widest text-zinc-500 font-bold mb-1`,children:e.product}),(0,z.jsxs)(`div`,{className:`text-sm font-bold text-black uppercase tracking-wider`,children:[e.name,` `,(0,z.jsxs)(`span`,{className:`text-zinc-500 font-normal normal-case`,children:[`â `,e.location]})]})]})]},t))})]})]})}export{Z as component};
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.