1import{u as e,r as a,j as s,d as t,J as l,a6 as r,v as o,o as i,aM as d,ac as n,O as c}from"./react-vendor-DPZzhrz4.js";import{v as m}from"./index-BDftTafH.js";import"./pdf-vendor-D0-nrJtw.js";import"./firebase-vendor-fMuS9vAs.js";const x=()=>{const x=e(),{loading:u,data:h}=m(),b=h&&h.teamName||"la tua squadra",[p,g]=a.useState(!0),[j,f]=a.useState(!1),[N,v]=a.useState(!1);a.useEffect(()=>{const e=setTimeout(()=>g(!1),900),a=setTimeout(()=>f(!0),1300);return()=>{clearTimeout(e),clearTimeout(a)}},[]);return s.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-gray-900 via-blue-900 to-purple-900 relative overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0",children:[s.jsx("div",{className:"absolute top-20 left-10 w-20 h-20 bg-blue-400/20 rounded-full blur-xl"}),s.jsx("div",{className:"absolute top-40 right-20 w-32 h-32 bg-purple-400/20 rounded-full blur-xl"}),s.jsx("div",{className:"absolute bottom-40 left-20 w-24 h-24 bg-cyan-400/20 rounded-full blur-xl"})]}),s.jsx("div",{className:"relative z-10 min-h-screen flex items-center justify-center p-4",children:s.jsxs("div",{className:"max-w-3xl w-full text-center",children:[s.jsx("div",{className:"transform transition-all duration-1000 "+(p?"scale-0 opacity-0":"scale-100 opacity-100"),children:s.jsxs("div",{className:"relative inline-block mb-8",children:[s.jsx("div",{className:"bg-gradient-to-r from-blue-500 to-cyan-600 p-6 rounded-full shadow-2xl",children:s.jsx(t,{className:"h-16 w-16 text-white"})}),s.jsx(l,{className:"absolute -top-2 -right-2 h-8 w-8 text-yellow-300 animate-pulse"}),s.jsx(r,{className:"absolute -bottom-1 -left-2 h-6 w-6 text-cyan-300 animate-pulse"}),s.jsx(o,{className:"absolute -top-1 -left-3 h-7 w-7 text-orange-300 animate-pulse"})]})}),s.jsxs("div",{className:"transform transition-all duration-1000 delay-300 "+(p?"translate-y-8 opacity-0":"translate-y-0 opacity-100"),children:[s.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-white mb-6",children:"Benvenuto in squadra"}),s.jsxs("div",{className:"inline-block bg-gradient-to-r from-blue-500 to-cyan-600 text-white px-8 py-4 rounded-2xl text-2xl md:text-3xl font-bold mb-8 shadow-lg",children:["ðââï¸ ",u?"â¦":b]})]}),j&&s.jsxs("div",{className:"transform transition-all duration-1000 translate-y-0 opacity-100",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-8",children:[s.jsxs("div",{className:"bg-white/5 backdrop-blur-sm border border-white/10 rounded-xl p-6",children:[s.jsx("div",{className:"bg-blue-500/20 p-3 rounded-lg w-fit mx-auto mb-4",children:s.jsx(i,{className:"h-8 w-8 text-blue-300"})}),s.jsx("h3",{className:"text-white font-bold text-lg mb-2",children:"Il tuo stato di oggi"}),s.jsx("p",{className:"text-gray-300 text-sm",children:"Racconta come stai: il tuo allenatore vede il polso della squadra."})]}),s.jsxs("div",{className:"bg-white/5 backdrop-blur-sm border border-white/10 rounded-xl p-6",children:[s.jsx("div",{className:"bg-green-500/20 p-3 rounded-lg w-fit mx-auto mb-4",children:s.jsx(t,{className:"h-8 w-8 text-green-300"})}),s.jsx("h3",{className:"text-white font-bold text-lg mb-2",children:"La mia squadra"}),s.jsx("p",{className:"text-gray-300 text-sm",children:"Allenamenti, calendario e comunicazioni del mister, in un posto solo."})]}),s.jsxs("div",{className:"bg-white/5 backdrop-blur-sm border border-white/10 rounded-xl p-6",children:[s.jsx("div",{className:"bg-purple-500/20 p-3 rounded-lg w-fit mx-auto mb-4",children:s.jsx(d,{className:"h-8 w-8 text-purple-300"})}),s.jsx("h3",{className:"text-white font-bold text-lg mb-2",children:"Coach AI"}),s.jsx("p",{className:"text-gray-300 text-sm",children:"Una lettura e un consiglio su misura per il tuo momento."})]})]}),s.jsx("button",{onClick:()=>{v(!0);try{localStorage.setItem("coachlabWelcomeShown","true")}catch(e){}setTimeout(()=>x("/",{replace:!0}),700)},disabled:N,className:"group relative px-8 py-4 bg-gradient-to-r from-blue-500 to-cyan-600 text-white font-bold text-lg rounded-2xl shadow-lg hover:shadow-xl transform hover:scale-105 transition-all duration-300 disabled:opacity-70 disabled:transform-none",children:N?s.jsxs("div",{className:"flex items-center space-x-2",children:[s.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-white"}),s.jsx("span",{children:"Entroâ¦"})]}):s.jsxs("div",{className:"flex items-center space-x-2",children:[s.jsx(n,{className:"h-5 w-5"}),s.jsx("span",{children:"Entra nella mia squadra"}),s.jsx(c,{className:"h-5 w-5 group-hover:translate-x-1 transition-transform"})]})})]})]})}),s.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-1 bg-gradient-to-r from-blue-500 via-purple-500 to-pink-500"})]})};export{x as default};
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.