1import{b as w,c as C,d as L,j as e,H as p,F as h,B as b,h as E,m as r,e as I,X as S,C as U}from"./index-sg1QXStc.js";import{f as O}from"./day-label-BrxD6qrX.js";import{N as D}from"./NoIndex-nJFG7z8T.js";import{g as $}from"./previous-speakers-DtfdYUZV.js";import{n as A}from"./social-CJvnq4Zo.js";import{C as P}from"./calendar-gUOMrkL1.js";const i={hidden:{opacity:0,y:40},visible:(l=0)=>({opacity:1,y:0,transition:{duration:.6,delay:l*.1}})},f={hidden:{},visible:{transition:{staggerChildren:.08}}},T={Keynote:"bg-[#EFC420]/15 text-[#EFC420]",Panel:"bg-[#3CC89A]/15 text-[#3CC89A]",Workshop:"bg-[hsl(212,55%,8%)]/15 text-[hsl(212,55%,8%)]",Fireside:"bg-[#D4A010]/15 text-[#D4A010]",Demo:"bg-[#5EC8D8]/15 text-[#5EC8D8]"};function _(){const{id:l}=w(),u=C(),x=new URLSearchParams(u).get("edition")||void 0,y=x??(/^\d+$/.test(l??"")?void 0:"2026"),n=x==="2025"||x==="past",v=n?$(l??""):void 0,{data:j,isLoading:N,isError:k}=L(n?void 0:l,y),a=v??j;return!n&&N?e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(p,{}),e.jsx("div",{className:"pt-32 pb-16 flex items-center justify-center",children:e.jsx("div",{className:"text-muted-foreground",children:"Loading speaker..."})}),e.jsx(h,{})]}):!a||!n&&k?e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(D,{}),e.jsx(p,{}),e.jsx("div",{className:"pt-32 pb-24",children:e.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[e.jsx("h1",{className:"text-2xl md:text-3xl font-heading font-bold mb-3",children:"Speaker not found"}),e.jsx("p",{className:"text-muted-foreground mb-8",children:"This speaker profile may have been moved or is not part of this edition."}),e.jsx(b,{fallbackHref:n?"/previous-years/speakers":"/speakers",fallbackLabel:"Speakers",className:"inline-flex items-center gap-2 text-muted-foreground hover:text-primary text-sm font-medium transition-colors"})]})}),e.jsx(h,{})]}):e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(p,{}),e.jsxs("div",{className:"pt-32 pb-16 relative overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0 z-0",children:[e.jsx("img",{src:E,alt:"",fetchPriority:"high",decoding:"async",className:"w-full h-full object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-[hsl(212,35%,18%)]/60"})]}),e.jsx("div",{className:"absolute inset-0 bg-grid opacity-10 z-[1]"}),e.jsxs("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:[e.jsx(r.div,{variants:i,initial:"hidden",animate:"visible",children:e.jsx(b,{fallbackHref:x==="2025"?"/previous-years/speakers":a.editions&&a.editions.includes("2026")?"/speakers":"/previous-years/speakers",fallbackLabel:"Speakers",className:"inline-flex items-center gap-2 text-muted-foreground hover:text-primary text-sm font-medium mt-[60px] mb-8 transition-colors"})}),e.jsxs("div",{className:"flex flex-col md:flex-row gap-8 md:gap-12 items-start",children:[e.jsx(r.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.6},className:"flex-shrink-0",children:a.avatarUrl?e.jsx("img",{src:a.avatarUrl,alt:a.name,className:"w-40 h-[180px] md:w-48 md:h-[212px] rounded-2xl object-cover border-2 border-white/10 shadow-2xl shadow-black/30"}):e.jsx("div",{className:"w-40 h-[180px] md:w-48 md:h-[212px] rounded-2xl bg-gradient-to-br from-primary/20 to-secondary/20 border-2 border-white/10 flex items-center justify-center shadow-2xl shadow-black/30",children:e.jsx("span",{className:"font-heading font-bold text-4xl text-white/60",children:a.name.split(" ").map(d=>d[0]).join("")})})}),e.jsxs(r.div,{initial:"hidden",animate:"visible",variants:f,className:"flex-1",children:[e.jsx(r.h1,{variants:i,className:"text-3xl md:text-5xl font-heading font-bold mb-2",children:a.name}),e.jsx(r.p,{variants:i,className:"text-primary text-lg font-medium",children:a.company}),e.jsx(r.p,{variants:i,className:"text-muted-foreground text-base mt-1",children:a.role}),(a.linkedinUrl||a.xUrl)&&e.jsxs(r.div,{variants:i,className:"mt-3 flex items-center gap-3",children:[a.linkedinUrl&&e.jsx("a",{href:A(a.linkedinUrl),target:"_blank",rel:"noopener noreferrer","aria-label":`${a.name} on LinkedIn`,className:"inline-flex items-center text-muted-foreground hover:text-foreground transition-colors",children:e.jsx(I,{className:"w-5 h-5"})}),a.xUrl&&e.jsx("a",{href:a.xUrl,target:"_blank",rel:"noopener noreferrer","aria-label":`${a.name} on X`,className:"inline-flex items-center text-muted-foreground hover:text-foreground transition-colors",children:e.jsx(S,{className:"w-[1.15rem] h-[1.15rem]"})})]}),a.topic&&e.jsx(r.div,{variants:i,className:"mt-4",children:e.jsx("span",{className:"text-xs font-semibold uppercase tracking-wider text-primary bg-primary/10 border border-primary/20 px-3 py-1.5 rounded-full",children:a.topic})})]})]})]})]}),a.bio&&e.jsx("section",{className:"py-12 md:py-16 bg-[hsl(212,35%,18%)]/50",children:e.jsx("div",{className:"max-w-7xl mx-auto px-6",children:e.jsxs(r.div,{initial:"hidden",
1whileInView:"visible",viewport:{once:!0},variants:f,children:[e.jsx(r.h2,{variants:i,className:"text-[1.05rem] md:text-[1.3125rem] font-heading font-bold mb-6 text-white",children:"About"}),e.jsx(r.div,{variants:i,className:"bg-white/10 rounded-2xl p-6 md:p-8 border border-white/15",children:e.jsx("p",{className:"text-white/85 text-base leading-relaxed whitespace-pre-line",children:a.bio})})]})})}),(()=>{const d="2026",o=[];if((a.sessions||[]).forEach(s=>{o.push({key:`s-${s.id}`,year:d,day:s.day,time:s.time,title:s.title,type:s.type,summitTitle:s.summit?.title,hall:s.hallName??void 0,sortOrder:s.sortOrder??0,moderator:"role"in s&&s.role==="moderator"})}),(a.agendaItems||[]).forEach(s=>{o.push({key:`a-${s.id}`,year:d,day:s.day,time:s.time,title:s.title,type:s.type,summitTitle:s.summit?.title,hall:s.hallName??void 0,sortOrder:s.sortOrder??0})}),(a.pastAgendaItems||[]).forEach(s=>{o.push({key:`p-${s.id}`,year:s.year,day:s.day,dayLabel:s.dayLabel,time:s.time,title:s.title,type:s.type,hall:s.hall,track:s.track||void 0,sortOrder:s.sortOrder??0})}),o.length===0)return null;const c=o.reduce((s,t)=>((s[t.year]=s[t.year]||[]).push(t),s),{}),g=Object.keys(c).sort((s,t)=>Number(t)-Number(s));return g.forEach(s=>{c[s].sort((t,m)=>t.day-m.day||t.sortOrder-m.sortOrder||t.time.localeCompare(m.time))}),e.jsx("section",{className:"py-12 md:py-16 relative bg-white",children:e.jsx("div",{className:"max-w-7xl mx-auto px-6 relative z-10",children:e.jsxs(r.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:f,children:[e.jsxs(r.div,{variants:i,className:"inline-flex items-center gap-2 text-gray-600 text-sm font-semibold mb-6 uppercase tracking-widest",children:[e.jsx(P,{className:"w-4 h-4"})," Sessions"]}),e.jsx(r.h2,{variants:i,className:"text-2xl md:text-3xl font-heading font-bold mb-8 text-gray-900",children:"Speaking At"}),e.jsx("div",{className:"space-y-10",children:g.map(s=>e.jsxs(r.div,{variants:i,children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsxs("h3",{className:"text-lg md:text-xl font-heading font-bold text-gray-900",children:["IFW ",s]}),s===d&&e.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-widest text-primary bg-primary/10 border border-primary/30 px-2.5 py-1 rounded-full",children:"Current Edition"}),e.jsxs("span",{className:"text-gray-500 text-sm",children:[c[s].length," ",c[s].length===1?"session":"sessions"]})]}),e.jsx("div",{className:"space-y-3",children:c[s].map((t,m)=>e.jsx(r.div,{variants:i,custom:m,className:"bg-gray-50 rounded-2xl p-5 md:p-6 border border-gray-200 hover:border-gray-300 hover:shadow-sm transition-all duration-300",children:e.jsxs("div",{className:"flex flex-col md:flex-row md:items-center gap-4",children:[e.jsxs("div",{className:"flex items-center gap-3 md:w-28 flex-shrink-0",children:[e.jsx(U,{className:"w-4 h-4 text-gray-500"}),e.jsx("span",{className:"text-gray-900 font-mono font-semibold",children:t.time})]}),e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("h4",{className:"text-gray-900 font-heading font-bold text-base",children:t.title}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3 mt-1.5",children:[t.moderator&&e.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-widest text-primary bg-primary/10 border border-primary/30 px-2.5 py-1 rounded-full",children:"Moderator"}),t.summitTitle&&e.jsx("span",{className:"text-gray-700 text-sm font-medium",children:t.summitTitle}),t.hall&&e.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-widest text-gray-700 bg-black/[0.05] px-2.5 py-1 rounded-full",children:t.hall}),t.track&&e.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-widest text-gray-600 bg-black/[0.03] px-2.5 py-1 rounded-full",children:t.track}),e.jsx("span",{className:"text-gray-500 text-sm",children:t.dayLabel?O(t.dayLabel):`Day ${t.day}`})]})]}),e.jsx("span",{className:`text-xs font-semibold uppercase tracking-wider px-3 py-1.5 rounded-full w-fit ${T[t.type]||"bg-gray-100 text-gray-700"}`,children:t.type})]})},t.key))})]},s))})]})})})})(),e.jsx(h,{})]})}
1export{_ 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.