1import{j as e,S as o,u as m,g as h,L as u,f,a as g,d as v,R as Z,r as y,Q as W,O as X,B as Q,P as _,b9 as q,$ as J,ba as ee,bb as ae,b0 as te,i as se}from"./index-DPD08fmB.js";import{u as P}from"./Reveal-Bk4PfSbN.js";import{F as re}from"./HeroSection-BcDWH1Y_.js";import{A}from"./aspect-ratio-Cojdj9Ce.js";import{c as M}from"./cdn-image-lYML7jRR.js";import{S as ne}from"./search-x-CSs55ixz.js";import{E as D}from"./earth-C_jbQerf.js";import"./sparkles-BcS-sJvH.js";import"./arrow-right-B63gF5sE.js";function N(a,t){const s=a==null?void 0:a.find(r=>r.sectionKey===t);return s==null?void 0:s.sectionData}function le(a){return Number.isInteger(a)?String(a):a.toFixed(1)}function S(a){return`${le(a.value)}${a.suffix??""}`}function B(a){return[...a].sort((t,s)=>t.displayOrder-s.displayOrder)}function ie(){return e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1.04fr_.96fr] gap-12 items-center py-14 lg:py-20",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsx(o,{className:"h-4 w-40"}),e.jsx(o,{className:"h-14 w-full"}),e.jsx(o,{className:"h-14 w-3/4"}),e.jsx(o,{className:"h-6 w-2/3"}),e.jsxs("div",{className:"flex gap-3 mt-4",children:[e.jsx(o,{className:"h-12 w-48"}),e.jsx(o,{className:"h-12 w-48"})]})]}),e.jsx(o,{className:"min-h-[350px] lg:min-h-[500px] w-full rounded-lg"})]})}function oe(){return e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-7 gap-6 py-9",children:Array.from({length:7}).map((a,t)=>e.jsxs("div",{className:"space-y-2",children:[e.jsx(o,{className:"h-8 w-16"}),e.jsx(o,{className:"h-3 w-20"})]},t))})}function de(){return e.jsxs("div",{className:"space-y-6",children:[e.jsx(o,{className:"h-10 w-72"}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 border border-border",children:Array.from({length:6}).map((a,t)=>e.jsxs("div",{className:"p-6 space-y-3 border-border",children:[e.jsx(o,{className:"h-4 w-6"}),e.jsx(o,{className:"h-5 w-3/4"}),e.jsx(o,{className:"h-4 w-full"})]},t))})]})}function ce(){return e.jsx("div",{className:"grid md:grid-cols-2 gap-px bg-border",children:[0,1].map(a=>e.jsxs("div",{className:"bg-background p-8 space-y-3",children:[e.jsx(o,{className:"h-3 w-32"}),e.jsx(o,{className:"h-8 w-3/4"}),e.jsx(o,{className:"h-4 w-full"}),e.jsx(o,{className:"h-4 w-2/3"})]},a))})}function ue(){return e.jsx("div",{className:"grid gap-5 lg:grid-cols-3",children:Array.from({length:3}).map((a,t)=>e.jsxs("div",{className:"border border-border p-5 space-y-3",children:[e.jsx(o,{className:"h-4 w-24"}),e.jsx(o,{className:"h-6 w-full"}),e.jsx(o,{className:"h-4 w-2/3"}),e.jsx(o,{className:"h-16 w-full"})]},t))})}function me(){return e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-8",children:Array.from({length:12}).map((a,t)=>e.jsx(o,{className:"h-9 w-full"},t))})}function fe(){return e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1.4fr_1fr] gap-3",children:[e.jsx(o,{className:"aspect-video w-full rounded-lg"}),e.jsx("div",{className:"grid grid-cols-2 gap-2",children:Array.from({length:4}).map((a,t)=>e.jsx(o,{className:"aspect-video w-full"},t))})]})}const xe=[{href:"#farkimiz",key:"header.nav.farkimiz",fallback:"Farkımız"},{href:"#etkinlikler",key:"header.nav.etkinlikler",fallback:"Etkinlikler"},{href:"#sonuclar",key:"header.nav.sonuclar",fallback:"Sonuçlar"},{href:"#sponsorluk",key:"header.nav.sponsorluk",fallback:"Sponsorluk"}];function C({ctaUrl:a}){const{t}=m("landing-v2"),s=h(),r=t("header.cta",{defaultValue:"Katılım BaÅvurusu"}),n=/^https?:\/\//i.test(a),l=e.jsx(f,{variant:"outline",size:"sm",className:"rounded-none border-primary text-primary bg-background min-h-10 hover:-translate-y-0.5 active:scale-95 motion-safe:transition-transform duration-150 motion-reduce:transform-none motion-reduce:transition-none",children:r});return e.jsx("header",{className:"sticky top-0 z-50 bg-background/80 backdrop-blur border-b border-border motion-reduce:backdrop-blur-none",children:e.jsxs("div",{className:"mx-auto w-[min(100%-2rem,82.5rem)] h-[4.5rem] flex items-center justify-between gap-4",children:[e.jsxs(u,{to:s("/yeni-anasayfa"),className:"font-display font-bold text-lg text-foreground flex items-center focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 rounded-sm",children:["oniki",e.jsx("span",{className:"text-accent-cta",children:"."})]}
1),e.jsx("nav",{"aria-label":t("header.nav.ariaLabel",{defaultValue:"Bölüm navigasyonu"}),className:"hidden md:flex items-center gap-6",children:xe.map(i=>e.jsx("a",{href:i.href,className:"text-sm text-muted-foreground hover:text-foreground motion-safe:transition-colors duration-150 motion-reduce:transition-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 rounded-sm",children:t(i.key,{defaultValue:i.fallback})},i.href))}),n?e.jsx("a",{href:a,target:"_blank",rel:"noopener noreferrer","aria-label":`${r} (yeni sekmede açılır)`,children:l}):e.jsx(u,{to:s(a),children:l})]})})}function ge(a){const t=a.trim().split(/\s+/).filter(Boolean);return t.length<=1?{lead:"",accent:a}:{lead:t.slice(0,-1).join(" "),accent:t[t.length-1]}}const L="hover:-translate-y-0.5 active:scale-95 motion-safe:transition-[transform,background-color] duration-150 motion-reduce:transform-none motion-reduce:transition-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2";function he({heading:a,subheading:t,primaryCta:s,secondaryCta:r,statChips:n}){const{t:l}=m("landing-v2"),i=h(),{lead:d,accent:p}=ge(a),k=(s==null?void 0:s.url)||"/etkinlik/",b=(s==null?void 0:s.text)||l("finalCta.participant",{defaultValue:"Etkinliklere Katıl"}),c=r==null?void 0:r.url,x=(r==null?void 0:r.text)||l("finalCta.sponsor",{defaultValue:"Markanızla Yer Alın"}),E=!!c&&/^https?:\/\//i.test(c);return e.jsxs("div",{className:"motion-safe:animate-in motion-safe:fade-in motion-safe:slide-in-from-bottom-2 duration-300 ease-out motion-reduce:animate-none",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[0.7rem] font-bold tracking-[0.18em] uppercase text-muted-foreground mb-4",children:[e.jsx("span",{"aria-hidden":"true",className:"w-10 h-px bg-accent-cta inline-block"}),l("hero.eyebrow",{defaultValue:"B2B iÅ geliÅtirme platformu"})]}),e.jsxs("h1",{id:"hero-heading",className:"font-display font-extrabold text-5xl sm:text-6xl lg:text-7xl leading-[1.03] text-foreground",children:[d?`${d} `:"",e.jsx("span",{className:"text-accent-cta",children:p})]}),t&&e.jsx("p",{className:"text-lg leading-8 text-muted-foreground max-w-2xl mt-5",children:t}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 mt-6",children:[e.jsx(u,{to:i(k),"data-testid":"hero-primary-cta",children:e.jsx(f,{size:"lg",className:g("w-full sm:w-auto bg-accent-cta hover:bg-accent-cta-hover text-primary-foreground","rounded-none min-h-12 font-bold",L),children:b})}),c&&(E?e.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer","data-testid":"hero-secondary-cta",children:e.jsxs(f,{size:"lg",className:g("w-full sm:w-auto bg-primary text-primary-foreground rounded-none min-h-12 font-bold",L),children:[x,e.jsx("span",{className:"sr-only",children:" (yeni sekmede açılır)"})]})}):e.jsx(u,{to:i(c),"data-testid":"hero-secondary-cta",children:e.jsx(f,{size:"lg",className:g("w-full sm:w-auto bg-primary text-primary-foreground rounded-none min-h-12 font-bold",L),children:x})}))]}),n.length>0&&e.jsx("div",{className:"flex flex-wrap gap-x-6 gap-y-1 mt-8 text-sm text-muted-foreground","data-testid":"hero-stat-chips",children:n.map(w=>e.jsxs("span",{children:[e.jsx("span",{className:"text-foreground font-semibold tabular-nums",children:S(w)})," ",w.label]},w.id))})]})}function V(a,t){if(!a)return{embedUrl:"",posterUrl:""};const s=t?`https://www.youtube.com/embed/${a}?autoplay=1&mute=1&loop=1&playlist=${a}`:`https://www.youtube.com/embed/${a}`,r=`https://img.youtube.com/vi/${a}/maxresdefault.jpg`;return{embedUrl:s,posterUrl:r}}function R(a){if(a)try{return new URL(a).searchParams.get("v")||void 0}catch{return}}function pe({stats:a}){const t=a.slice(0,2);return t.length===0?null:e.jsx(v,{"data-testid":"hero-overlay-stats",className:"bg-primary/70 backdrop-blur-sm border border-primary-foreground/20 rounded-none grid grid-cols-2",children:t.map((s,r)=>e.jsxs("div",{className:g("p-3",r===1&&"border-l border-primary-foreground/20"),children:[e.jsx("div",{className:g("font-display text-3xl tabular-nums",r===1?"text-accent-cta":"text-primary-foreground"),children:S(s)}
1),e.jsx("div",{className:"text-xs text-primary-foreground/70",children:s.label})]},s.id))})}function be({backgroundVideoId:a,backgroundVideoProvider:t,backgroundImageUrl:s,overlayStats:r}){const n=P(),l=!!a&&(t??"YOUTUBE")==="YOUTUBE";let i;if(l&&!n){const{embedUrl:d}=V(a,!0);i=e.jsx("iframe",{src:d,title:"Arka plan videosu","data-testid":"hero-media-iframe","aria-hidden":"true",tabIndex:-1,allow:"autoplay; encrypted-media; picture-in-picture",className:"absolute inset-0 w-full h-full border-0"})}else if(l&&n){const{posterUrl:d}=V(a,!0);i=e.jsx("img",{src:d,alt:"","aria-hidden":"true","data-testid":"hero-media-poster",className:"absolute inset-0 w-full h-full object-cover"})}else if(s)i=e.jsx("img",{src:s,alt:"","aria-hidden":"true","data-testid":"hero-media-image",className:"absolute inset-0 w-full h-full object-cover"});else{const{posterUrl:d}=V(re,!0);i=e.jsx("img",{src:d,alt:"","aria-hidden":"true","data-testid":"hero-media-fallback-poster",className:"absolute inset-0 w-full h-full object-cover"})}return e.jsxs("div",{className:"relative min-h-[350px] lg:min-h-[500px] rounded-lg overflow-hidden bg-primary",children:[i,e.jsx("div",{"aria-hidden":"true",className:"absolute inset-0 bg-gradient-to-t from-primary/85 via-primary/30 to-primary/10"}),e.jsx("div",{className:"absolute inset-x-0 bottom-0 p-4",children:e.jsx(pe,{stats:r})})]})}function $({hero:a,statChips:t,overlayStats:s}){const{t:r}=m("landing-v2"),n=(a==null?void 0:a.heading)||r("hero.fallbackHeading",{defaultValue:"Yeni Nesil Etkinlik & Dijital Networking"});return e.jsx("section",{"aria-labelledby":"hero-heading",className:"w-full",children:e.jsxs("div",{className:"mx-auto w-[min(100%-2rem,82.5rem)] py-14 lg:py-20 grid grid-cols-1 lg:grid-cols-[1.04fr_.96fr] gap-12 items-center",children:[e.jsx(he,{heading:n,subheading:a==null?void 0:a.subheading,primaryCta:a==null?void 0:a.primaryCta,secondaryCta:a==null?void 0:a.secondaryCta,statChips:t}),e.jsx(be,{backgroundVideoId:a==null?void 0:a.backgroundVideoId,backgroundVideoProvider:a==null?void 0:a.backgroundVideoProvider,backgroundImageUrl:a==null?void 0:a.backgroundImageUrl,overlayStats:s})]})})}const j=Z.forwardRef(function({id:t,background:s="white",padding:r="py-20",className:n,innerClassName:l,children:i,...d},p){return e.jsx("section",{ref:p,id:t,className:g("w-full",s==="panel"&&"bg-muted border-y border-border",n),...d,children:e.jsx("div",{className:g("mx-auto w-[min(100%-2rem,82.5rem)]",r,l),children:i})})});function je({stats:a}){const{t}=m("landing-v2");if(a.length===0)return null;const s=B(a);return e.jsx(j,{background:"panel",padding:"py-9","aria-label":t("section.eyebrows.stats",{defaultValue:"Rakamlarla Oniki"}),children:e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-7 gap-0",children:s.map((r,n)=>{const l=n===s.length-1&&s.length%2===1;return e.jsxs("div",{className:g("px-3 py-2 border-l border-border first:border-l-0",l&&"col-span-2 md:col-span-1 text-center md:text-left","motion-safe:animate-in motion-safe:fade-in duration-300 ease-out motion-reduce:animate-none"),children:[e.jsx("div",{className:"font-display font-extrabold text-3xl lg:text-4xl text-foreground tabular-nums",children:e.jsx("span",{className:n===s.length-1?"text-accent-cta":void 0,children:S(r)})}),e.jsx("div",{className:"text-sm text-muted-foreground mt-1",children:r.label})]},r.id)})})})}function ve({index:a,item:t}){const s=String(a+1).padStart(2,"0");return e.jsxs(v,{className:"rounded-none border-border p-6 hover:-translate-y-0.5 hover:shadow-md motion-safe:transition-[transform,box-shadow] duration-200 motion-reduce:transform-none motion-reduce:transition-none","data-testid":`benefit-cell-${a}`,children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"font-display text-sm font-bold text-accent-cta tabular-nums",children:s}),t.icon&&e.jsx("i",{className:t.icon,"aria-hidden":"true"})]}),e.jsx("h3",{className:"font-display text-xl font-bold text-foreground mt-4",children:t.title}),e.jsx("p",{className:"text-sm leading-6 text-muted-foreground mt-2",children:t.description})]})}function Ne({data:a}){const{t}=m("landing-v2"),s=(a==null?void 0:a.headline)||t("differentiator.headline",{defaultValue:"Oniki Nedir?"}),r=a==null?void 0:a.subline,n=(a==null?void 0:a.items)??[];return e.jsxs(j,{id:"farkimiz","aria-labelledby":"differentiator-heading",children:[e.jsxs("div",{className:"flex flex-col md:flex-row justify-between gap-6 items-end",children:[e.jsxs("div",{className:"flex-1",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[0.7rem] font-bold tracking-[0.18em] uppercase text-muted-foreground mb-3",children:[e.jsx("span",{"aria-hidden":"true",className:"w-7 h-px bg-accent-cta inline-block"}),t("section.eyebrows.differentiator",{defaultValue:"Oniki'nin farkı"})]}),e.jsx("h2",{id:"differentiator-heading",className:"font-display font-bold text-4xl sm:text-5xl leading-tight text-foreground",children:s})]}),r&&e.jsx("p",{className:"text-muted-foreground max-w-md md:text-right",children:r})]}),n.length>0&&e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 border border-border mt-8",children:n.map((l,i)=>e.jsx(ve,{index:i,item:l},`${l.title}-${i}`))})]})}function ye({label:a,items:t}){const{t:s}=m("landing-v2"),r=h();return e.jsxs(v,{className:"rounded-none bg-background p-8 hover:-translate-y-0.5 motion-safe:transition-transform duration-200 motion-reduce:transform-none",children:[e.jsx("div",{className:"text-[0.7rem] font-bold tracking-[0.15em] uppercase text-accent-cta",children:s("tw
1oPath.participants.eyebrow",{defaultValue:"KATILIMCILAR İÃİN"})}),e.jsx("h3",{className:"font-display text-3xl font-bold text-foreground mt-3",children:a||s("twoPath.participants.fallbackHeadline",{defaultValue:"Hedefe Yönelik GörüÅmeler"})}),e.jsx("ul",{className:"mt-4 space-y-2",children:t.map((n,l)=>e.jsxs("li",{className:"flex gap-2 text-body text-foreground",children:[e.jsx("span",{"aria-hidden":"true",className:"text-accent-cta",children:"â¢"}),n]},l))}),e.jsx(f,{variant:"link",asChild:!0,className:"px-0 mt-4 text-foreground hover:underline motion-safe:transition-colors duration-150",children:e.jsx(u,{to:r("/etkinlik/"),children:s("twoPath.participants.link",{defaultValue:"Etkinlikleri İncele"})})})]})}function ke({label:a,items:t}){const{t:s}=m("landing-v2"),r=h();return e.jsxs(v,{className:"rounded-none bg-primary text-primary-foreground p-8 hover:-translate-y-0.5 motion-safe:transition-transform duration-200 motion-reduce:transform-none",children:[e.jsx("div",{className:"text-[0.7rem] font-bold tracking-[0.15em] uppercase text-accent-cta",children:s("twoPath.sponsors.eyebrow",{defaultValue:"SPONSORLAR İÃİN"})}),e.jsx("h3",{className:"font-display text-3xl font-bold mt-3",children:a||s("twoPath.sponsors.fallbackHeadline",{defaultValue:"İŠOrtaklıÄı Fırsatları"})}),e.jsx("ul",{className:"mt-4 space-y-2",children:t.map((n,l)=>e.jsxs("li",{className:"flex gap-2 text-body text-primary-foreground/90",children:[e.jsx("span",{"aria-hidden":"true",className:"text-accent-cta",children:"â¢"}),n]},l))}),e.jsx(f,{variant:"link",asChild:!0,className:"px-0 mt-4 text-primary-foreground hover:underline motion-safe:transition-colors duration-150",children:e.jsx(u,{to:r("/sponsorluk"),children:s("twoPath.sponsors.link",{defaultValue:"İŠBirliÄi Fırsatlarını İncele"})})})]})}function we({data:a,conceptIntro:t}){const{t:s}=m("landing-v2"),r=a!=null&&a.beforeItems&&a.beforeItems.length>0?a.beforeItems:[s("twoPath.participants.fallbackLine1",{defaultValue:"Rastgele deÄil, hedefe yönelik görüÅmeler"}),s("twoPath.participants.fallbackLine2",{defaultValue:"Zaman kaybı olmayan, verimli bir gün"})],n=a!=null&&a.afterItems&&a.afterItems.length>0?a.afterItems:[s("twoPath.sponsors.fallbackLine1",{defaultValue:"DoÄru hedef kitleyle bire bir temas"}),s("twoPath.sponsors.fallbackLine2",{defaultValue:"Marka görünürlüÄü ve lider üretimi"})];return e.jsx(j,{id:"sponsorluk",background:"panel","aria-label":s("section.eyebrows.twoPath",{defaultValue:"İki farklı yol"}),innerClassName:"py-20",children:e.jsxs("div",{className:"grid gap-px bg-border md:grid-cols-2",children:[e.jsx(ye,{label:a==null?void 0:a.beforeLabel,items:r}),e.jsx(ke,{label:a==null?void 0:a.afterLabel,items:n})]})})}function Ve(a,t){const s=t?`${X.BASE_URL}/v2/events/${t}/main-image`:void 0;return[a??void 0,s].filter(r=>!!r)}function Se(a,t){const s=y.useMemo(()=>Ve(a,t),[a,t]),[r,n]=y.useState(0);y.useEffect(()=>{n(0)},[s]);const l=s[r];return l?{src:l,isDefault:!1,onError:()=>n(i=>i+1)}:{src:W.images.defaultEventImage,isDefault:!0,onError:()=>{}}}function Ee(a,t){return new Date(a).toLocaleDateString(t,{year:"numeric",month:"short",day:"numeric"})}function Le({event:a}){const{t,i18n:s}=m("landing-v2"),r=h(),n=Se(a.thumbnailUrl,a.eventId),l=a.city??a.locationText??"",i=Ee(a.eventDate,s.language),d=`/events/${a.eventId??a.id}`;return e.jsxs(v,{"data-testid":`landing-event-card-${a.id}`,className:"rounded-none border-border p-5 flex flex-col hover:-translate-y-1 hover:shadow-md motion-safe:transition-[transform,box-shadow] duration-200 ease-out motion-reduce:transform-none motion-reduce:transition-none",children:[e.jsx(A,{ratio:16/9,className:"mb-4 overflow-hidden",children:e.jsx("img",{src:n.src,alt:M(a.title,t("events.imageAlt",{defaultValue:"Etkinlik görseli"})),className:"absolute inset-0 w-full h-full object-cover",loading:"lazy",onError:n.onError})}),e.jsxs("div",{className:"flex justify-between items-center text-xs uppercase text-muted-foreground",children:[l&&e.jsx("span",{children:l}),e.jsx(Q,{className:a.registrationOpen===!1?"bg-muted text-muted-foreground border-0":"bg-accent-cta/10 text-accent-cta border-0",children:a.registrationOpen===!1?t("events.soon",{defaultValue:"Yakında"}):i})]}),e.jsx("h3",{className:"font-display text-2xl font-bold text-foreground mt-3 line-clamp-2",children:a.title}),a.shortDescription&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"text-xs uppercase text-muted-foreground mt-3",children:t("events.audienceLabel",{defaultValue:"KİMLER KATILIYOR?"})}),e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2 mt-1",children:a.shortDescription})]}),e.jsxs("div",{className:"border-l-2 border-accent-cta bg-accent-cta/5 rounded-none p-3 mt-3",children:[e.jsx("div",{className:"text-xs uppercase text-muted-foreground",children:t("events.whyLabel",{defaultValue:"NEDEN KATILMALIYIM?"})}),e.jsx("p",{className:"text-sm text-foreground mt-1 line-clamp-1",children:a.categoryLabel??t("events.eyebrow",{defaultValue:"YaklaÅan etkinlikler"})})]}),e.jsxs("div",{className:"flex justify-between items-center border-t border-dashed border-border pt-3 mt-auto",children:[e.jsx(f,{variant:"link",asChild:!0,className:"px-0 text-foreground",children:e.jsx(u,{to:r(d),children:t("events.applyLink",{defaultValue:"Katılım BaÅvurusu"})})}),e.jsx(u,{to:r("/sponsorluk"),className:"text-xs text-muted-foreground hover:text-foreground",children:t("events.sponsorHint",{defaultValue:"Markanızla yer alın"})})]})]})}function ze(a,t){const s=new Set,r=[];for(const n of[...a,...t])if(!s.has(n.id)&&(s.add(n.id),r.push(n),r.length===3))break;return r}function Pe({featuredEvents:a,upcomingEvents:t}){const{t:s}=m("landing-v2"),r=h(),n=ze(a,t),l=r("/etkinlik/");return e.jsxs(j,{id:"etkinlikler","aria-labelledby":"events-heading",children:[e.jsxs("div",{className:"flex justify-between items-end gap-4",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-2 text-[0.7rem] font-bold tracking-[0.18em] uppercase text-muted-foreground mb-3",children:[e.jsx("span",{"aria-hidden":"true",className:"w-7 h-px bg-accent-cta inline-block"}),s("section.eyebrows.events",{defaultValue:"YaklaÅan etkinlikler"})]}),e.jsx("h2",{id:"events-heading",className:"font-display font-bold text-4xl sm:text-5xl text-foreground leading-tight",children:s("events.eyebrow",{defaultValue:"YaklaÅan etkinlikler"})})]}),e.jsx(f,{variant:"link",asChild:!0,className:"hidden md:inline-flex px-0 text-foreground",children:e.jsx(u,{to:l,children:s("events.allLink",{defaultValue:"Tüm etkinlikler"})})})]}),n.length>0?e.jsx("div",{className:"grid gap-5 lg:grid-cols-3 mt-8",children:n.map((i,d)=>e.jsx("div",{className:"motion-safe:animate-in motion-safe:fade-in motion-safe:slide-in-from-bottom-2 motion-reduce:animate-none",style:{animationDelay:`${Math.min(d,7)*40}ms`},children:e.jsx(Le,{event:i})},i.id))}):e.jsxs("div",{className:"flex flex-col items-center gap-3 py-14 text-center mt-8 border border-dashed border-border",children:[e.jsx(ne,{"aria-hidden":"true",className:"w-10 h-10 text-muted-foreground"}),e.jsx("p",{className:"text-muted-foreground max-w-prose",children:s("events.empty",{defaultValue:"YaklaÅan etkinlik yakında duyurulacak"})}),e.jsx(f,{variant:"link",asChild:!0,className:"text-foreground",children:e.jsx(u,{to:l,children:s("events.allLink",{defaultValue:"Tüm etkinlikler"})})})]}),e.jsx("div",{className:"md:hidden mt-6 flex justify-center",children:e.jsx(f,{variant:"link",asChild:!0,className:"text-foreground",children:e.jsx(u,{to:l,children:s("events.allLink",{defaultValue:"Tüm etkinlikler"})})})})]})}function Ae({stats:a}){const{t}=m("landing-v2"),s=h(),r=(a??[]).slice(0,2);return e.jsx(j,{id:"sonuclar",innerClassName:"pb-20","aria-labelledby":"
1case-study-heading",children:e.jsxs(v,{className:"bg-primary text-primary-foreground rounded-lg p-8 md:p-12 grid md:grid-cols-[1.05fr_.95fr] gap-6",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[0.7rem] font-bold tracking-[0.15em] uppercase text-primary-foreground/70",children:t("caseStudy.eyebrow",{defaultValue:"GERÃEK SONUà · ANTALYA"})}),e.jsx("h2",{id:"case-study-heading",className:"font-display text-4xl font-bold text-primary-foreground mt-3",children:t("caseStudy.headline",{defaultValue:"Bir etkinlikte 500'den fazla bire bir görüÅme gerçekleÅti"})}),e.jsx("p",{className:"text-primary-foreground/80 mt-3 max-w-prose",children:t("caseStudy.body",{defaultValue:"Oniki'nin yapay zeka destekli eÅleÅtirme motoru, katılımcıları doÄru kiÅilerle bir araya getirerek ölçülebilir iÅ sonuçları üretir."})}),e.jsx(f,{variant:"link",asChild:!0,className:"px-0 mt-4 text-primary-foreground hover:underline",children:e.jsx(u,{to:s("/etkinlik/"),children:t("caseStudy.link",{defaultValue:"EtkinliÄi İncele"})})})]}),r.length>0&&e.jsx("div",{className:"grid grid-cols-2 gap-px self-end bg-primary-foreground/20",children:r.map((n,l)=>e.jsxs("div",{className:"bg-primary p-4",children:[e.jsx("div",{className:`font-display text-4xl tabular-nums ${l===1?"text-accent-cta":"text-primary-foreground"}`,children:S(n)}),e.jsx("div",{className:"text-xs text-primary-foreground/70 mt-1",children:n.label})]},n.id))})]})})}function Be({brands:a,cta:t}){const{t:s}=m("landing-v2"),r=h(),[n,l]=y.useState(new Set),i=B(a).filter(c=>!n.has(c.id));if(a.length===0)return null;const d=c=>{l(x=>x.has(c)?x:new Set(x).add(c))},p=(t==null?void 0:t.ctaUrl)||"/pages/calistigimiz-markalar",k=/^https?:\/\//i.test(p),b=(t==null?void 0:t.ctaLabel)||s("brands.cta",{defaultValue:"TÃM MARKALARIMIZ"});return e.jsxs(j,{background:"panel",padding:"py-16","aria-labelledby":"brands-heading",children:[e.jsx("div",{className:"text-center",children:e.jsx("h2",{id:"brands-heading",className:"font-display text-3xl font-bold text-foreground",children:(t==null?void 0:t.headline)||s("brands.headline",{defaultValue:"ÃalıÅtıÄımız Markaların Bazıları"})})}),i.length>0&&e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-8 items-center mt-8",children:i.map(c=>{const x=e.jsx("img",{src:c.logoUrl,alt:c.name,className:"h-9 w-auto max-w-[85%] object-contain mx-auto",loading:"lazy",onError:()=>d(c.id)});return c.websiteUrl?e.jsx("a",{href:c.websiteUrl,target:"_blank",rel:"noopener noreferrer","aria-label":`${c.name} (yeni sekmede açılır)`,className:"flex items-center justify-center hover:opacity-80 motion-safe:transition-opacity duration-150 motion-reduce:transition-none",children:x},c.id):e.jsx("div",{className:"flex items-center justify-center",children:x},c.id)})}),e.jsx("div",{className:"text-center mt-8",children:e.jsx(f,{variant:"outline",asChild:!0,className:"rounded-none border-primary text-primary min-h-10",children:k?e.jsx("a",{href:p,target:"_blank",rel:"noopener noreferrer",children:b}):e.jsx(u,{to:r(p),children:b})})})]})}function Oe({watchUrl:a}){const{t}=m("landing-v2"),s=P(),[r,n]=y.useState(!1),l=R(a);if(!l)return null;const{embedUrl:i,posterUrl:d}=V(l,!1);return e.jsx(A,{ratio:16/9,className:"rounded-lg overflow-hidden","data-testid":"video-highlight",children:r?e.jsx("iframe",{src:`${i}?autoplay=${s?0:1}&rel=0`,title:t("video.headline",{defaultValue:"Oniki Konsepti ile TanıÅmanın Zamanı"}),allow:"autoplay; encrypted-media; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full border-0"}):e.jsxs("button",{type:"button",onClick:()=>n(!0),"aria-label":t("video.highlightAlt",{defaultValue:"Ãne çıkan video"}),className:"absolute inset-0 w-full h-full block focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:[e.jsx("img",{src:d,alt:t("video.highlightAlt",{defaultValue:"Ãne çıkan video"}),className:"absolute inset-0 w-full h-full object-cover",loading:"lazy"}),e.jsx("div",{className:g("absolute inset-0 flex items-center justify-center bg-primary/40 hover:bg-primary/50","motion-safe:transition-colors duration-200 motion-reduce:transition-none"),children:e.jsx("div",{className:"w-16 h-16 rounded-full bg-accent-cta text-primary-foreground flex items-center justify-center",children:e.jsx(_,{"aria-hidden":"true",className:"w-7 h-7 ml-1"})})})]})})}function Ue({video:a}){const t=P(),[s,r]=y.useState(!1),{embedUrl:n,posterUrl:l}=V(a.videoExternalId??"",!1),i=a.thumbnailUrl??l;return e.jsxs(v,{"data-testid":`video-thumb-${a.id}`,className:"rounded-none border-border overflow-hidden hover:-translate-y-0.5 motion-safe:transition-transform duration-200 motion-reduce:transform-none",children:[e.jsx(A,{ratio:16/9,children:s&&n?e.jsx("iframe",{src:`${n}?autoplay=${t?0:1}&rel=0`,title:a.title,allow:"autoplay; encrypted-media; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full border-0"}):e.jsxs("button",{type:"button",onClick:()=>r(!0),"aria-label":a.title,className:"absolute inset-0 w-full h-full block focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:[i?e.jsx("img",{src:i,alt:M(a.title,"Video kapak görseli"),className:"absolute inset-0 w-full h-full object-cover",loading:"lazy"}):e.jsx("div",{className:"absolute inset-0 bg-primary"}),e.jsx("div",{className:g("absolute inset-0 flex items-center justify-center bg-primary/30","motion-safe:transition-colors duration-200 motion-reduce:transition-none"),children:e.jsx(_,{"aria-hidden":"true",className:"w-6 h-6 text-accent-cta"})})]})}),e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2 p-2",children:a.title})]})}function Te({videos:a,conceptIntro:t}){const{t:s}=m("landing-v2"),r=!!R(t==null?void 0:t.highlightVideoUrl),n=a.slice(0,4);return n.length===0&&!r?null:e.jsxs(j,{"aria-labelledby":"video-heading",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[0.7rem] font-bold tracking-[0.18em] uppercase text-muted-foreground mb-3",children:[e.jsx("span",{"aria-hidden":"true",className:"w-7 h-px bg-accent-cta inline-block"}),s("section.eyebrows.video",{defaultValue:"Oniki konsepti"})]}),e.jsx("h2",{id:"video-heading",className:"font-display font-bold text-4xl text-foreground",children:(t==null?void 0:t.headline)||s("video.headline",{defaultValue:"Oniki Konsepti ile TanıÅmanın Zamanı"})}),(t==null?void 0:t.subline)&&e.jsx("p",{className:"text-muted-foreground max-w-2xl mt-2",children:t.subline}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1.4fr_1fr] gap-3 mt-8",children:[r&&e.jsx("div",{className:n.length===0?"lg:col-span-2":void 0,children:e.jsx(Oe,{watchUrl:t==null?void 0:t.highlightVideoUrl})}),n.length>0&&e.jsx("div",{className:"grid grid-cols-2 gap-2",children:n.map(l=>e.jsx(Ue,{video:l},l.id))})]})]})}const z="hover:-translate-y-0.5 active:scale-95 motion-safe:transition-[transform,background-color] duration-150 motion-reduce:transform-none motion-reduce:transition-none";function Ce({participantUrl:a,sponsorUrl:t}){const{t:s}=m("landing-v2"),r=h(),n=r(a||"/etkinlik/"),l=!!t&&/^https?:\/\//i.test(t),i=l?t:r(t||"/sponsorluk");return e.jsxs(j,{"aria-labelledby":"final-cta-heading",innerClassName:"py-20 text-center",children:[e.jsx("div",{"aria-hidden":"true",className:"h-px w-10 bg-accent-cta mx-auto mb-3"}),e.jsx("h2",{id:"final-cta-heading",className:"font-display font-extrabold text-4xl sm:text-5xl leading-tight max-w-4xl mx-auto text-foreground",children:s("finalCta.headline",{defaultValue:"B2B aÄınızı büyütmeye bugün baÅlayın"})}),e.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto mt-4",children:s("finalCta.lead",{defaultValue:"Etkinliklerimize katılın ya da markanızla yer alın â Oniki'nin yapay zeka destekli eÅleÅtirme motoru sizin için doÄru baÄlantıları kurar."})}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center mt-6",children:[e.jsx(u,{to:n,className:"w-full sm:w-auto",children:e.jsx(f,{size:"lg",className:`w-full bg-primary text-primary-foreground rounded-none min-h-12 font-bold ${z}`,children:s("finalCta.participant",{defaultValue:"Etkinliklere Katıl"})})}),l?e.jsx("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"w-full sm:w-auto",children:e.jsx(f,{size:"lg",className:`w-full bg-accent-cta hover:bg-accent-cta-hover text-primary-foreground rounded-none min-h-12 font-bold ${z}`,children:s("finalCta.sponsor",{defaultValue:"Markanızla Yer Alın"})})}):e.jsx(u,{to:i,className:"w-full sm:w-auto",children:e.jsx(f,{size:"lg",className:`w-full bg-accent-cta hover:bg-accent-cta-hover text-primary-foreground rounded-none min-h-12 font-bold ${z}`,children:s("finalCta.sponsor",{defaultValue:"Markanızla Yer Alın"})})})]})]})}const $e={LINKEDIN:te,INSTAGRAM:ae,YOUTUBE:ee,TWITTER:J,FACEBOOK:q,TIKTOK:D};function I({social:a,footerMeta:t}){const{t:s}=m("landing-v2"),r=h(),n=new Date().getFullYear();return e.jsx("footer",{className:"border-t border-border",children:e.jsxs("div",{className:"mx-auto w-[min(100%-2rem,82.5rem)] py-8 flex flex-col sm:flex-row items-center justify-between gap-6 flex-wrap",children:[e.jsxs(u,{to:r("/yeni-anasayfa"),className:"font-display font-bold text-base text-foreground",children:["oniki",e.jsx("span",{className:"text-accent-cta",children:"."})]}),e.jsxs("nav",{"aria-label":s("footer.ariaLabel",{defaultValue:"Alt bilgi"}),className:"flex gap-6 text-sm text-muted-foreground",children:[e.jsx("a",{href:"#farkimiz",className:"hover:text-foreground motion-safe:transition-colors duration-150",children:s("footer.nav.farkimiz",{defaultValue:"Farkımız"})}),e.jsx("a",{href:"#etkinlikler",className:"hover:text-foreground motion-safe:transition-colors duration-150",children:s("footer.nav.etkinlikler",{defaultValue:"Etkinlikler"})}),e.jsx("a",{href:"#sponsorluk",className:"hover:text-foreground motion-safe:transition-colors duration-150",children:s("footer.nav.sponsorluk",{defaultValue:"Sponsorluk"})})]}),a.length>0&&e.jsx("div",{className:"flex gap-2","data-testid":"footer-social-row",children:a.map(l
1=>{const i=$e[l.platform]??D;return e.jsx("a",{href:l.url,target:"_blank",rel:"noopener noreferrer","aria-label":l.platform,className:"inline-flex items-center justify-center min-h-10 min-w-10 rounded-full text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 motion-safe:transition-colors duration-150",children:e.jsx(i,{"aria-hidden":"true",className:"w-5 h-5"})},l.id)})}),e.jsx("p",{className:"text-xs text-muted-foreground",children:(t==null?void 0:t.tagline)??s("footer.tagline",{defaultValue:"Yapay zeka destekli B2B etkinlik platformu."})}),e.jsx("p",{className:"text-xs text-muted-foreground",children:s("footer.copyright",{defaultValue:`© ${n} Oniki. Tüm hakları saklıdır.`,year:n})})]})})}function Ge(){var O,U,T;const{data:a,isLoading:t,isError:s}=se(),r=a==null?void 0:a.homepageSections,n=N(r,"hero"),l=N(r,"features"),i=N(r,"comparison"),d=N(r,"concept_intro"),p=N(r,"partners_cta"),k=N(r,"footer_meta"),b=B((a==null?void 0:a.siteStatistics)??[]),c=b.slice(0,3),x=b.slice(0,2),E=b.slice(-2),w=(a==null?void 0:a.partnerBrands)??[],Y=(a==null?void 0:a.recentVideos)??[],F=(a==null?void 0:a.socialMediaLinks)??[],K=(a==null?void 0:a.featuredEvents)??[],H=(a==null?void 0:a.upcomingEvents)??[],G=((O=n==null?void 0:n.primaryCta)==null?void 0:O.url)||"/etkinlik/";return s?e.jsxs("div",{className:"min-h-screen bg-background","data-testid":"new-landing-error-shell",children:[e.jsx(C,{ctaUrl:"/etkinlik/"}),e.jsx($,{statChips:[],overlayStats:[]}),e.jsx(I,{social:[]})]}):e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(C,{ctaUrl:G}),t?e.jsxs("div",{className:"mx-auto w-[min(100%-2rem,82.5rem)]","data-testid":"new-landing-loading",children:[e.jsx(ie,{}),e.jsx(oe,{}),e.jsx(de,{}),e.jsx(ce,{}),e.jsx(ue,{}),e.jsx(me,{}),e.jsx(fe,{})]}):e.jsxs(e.Fragment,{children:[e.jsx($,{hero:n,statChips:c,overlayStats:x}),e.jsx(je,{stats:b}),e.jsx(Ne,{data:l}),e.jsx(we,{data:i,conceptIntro:d}),e.jsx(Pe,{featuredEvents:K,upcomingEvents:H}),e.jsx(Ae,{stats:E}),e.jsx(Be,{brands:w,cta:p}),e.jsx(Te,{videos:Y,conceptIntro:d}),e.jsx(Ce,{participantUrl:(U=n==null?void 0:n.primaryCta)==null?void 0:U.url,sponsorUrl:(T=n==null?void 0:n.secondaryCta)==null?void 0:T.url})]}),e.jsx(I,{social:F,footerMeta:k})]})}export{Ge 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.