PageSourceSearch

https://www.socialbuddy.ai/_next/static/chunks/app/%5Blocale%5D/page-1f141e0f94d591ef.js

js socialbuddy.ai collected 2026-10-05 15:07:48 UTC 58,499 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5061],{1417:function(e,t,a){Promise.resolve().then(a.bind(a,8081))},6858:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},1178:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]])},1047:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},6901:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("CheckCircle2",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},401:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},875:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},1723:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},2208:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},9202:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},8997:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]])},5863:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},9345:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},6840:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]])},3417:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},7226:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]])},6266:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("MoreHorizontal",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},3276:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Play",[["polygon",{points:"5 3 19 12 5 21 5 3",key:"191637"}]])},9397:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},4743:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]])},2023:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Sparkles",[["path",{d:"m12 3-1.912 5.813a2 2 0 0 1-1.275 1.275L3 12l5.813 1.912a2 2 0 0 1 1.275 1.275L12 21l1.912-5.813a2 2 0 0 1 1.275-1.275L21 12l-5.813-1.912a2 2 0 0 1-1.275-1.275L12 3Z",key:"17u4zn"}],["path",{d:"M5 3v4",key:"bklmnn"}],["path",{d:"M19 17v4",key:"iiml17"}],["path",{d:"M3 5h4",key:"nem4j1"}],["path",{d:"M17 19h4",key:"lbex7p"}]])},5929:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},2489:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});let r=(0,a(9763).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},8081:function(e,t,a){"use strict";a.d(t,{LandingReduced:function(){return G}});var r=a(7437),s=a(2265),l=a(2586),n=a(521),i=a(2023),c=a(2208),d=a(4743),o=a(6901),x=a(1047),m=a(9345),h=a(6858),p=a(401),u=a(2489),b=a(3276),f=a(1723),g=a(9397),k=a(6266),w=a(8997),j=a(3417),v=a(1178),y=a(3448);let N=[{key:"coach",image:"/landing/branch-coach.jpg",platform:"LinkedIn",handle:"Claudia Berger",meta:"Business-Coach \xb7 2 Std.",avatar:"CB",avatarGradient:"from-blue-500 to-indigo-600",imageGradient:"from-indigo-500 via-blue-500 to-sky-400",emoji:"\uD83D\uDCAD",visualText:"3 Fragen vor jeder Ver\xe4nderung",split:!1},{key:"artist",image:"/landing/branch-artist.jpg",platform:"Pinterest",handle:"atelier.mira",meta:"Malerei & Illustration",avatar:"M",avatarGradient:"from-fuchsia-500 to-purple-600",imageGradient:"from-purple-500 via-fuchsia-500 to-rose-400",emoji:"\uD83C\uDFA8",visualText:"Neues Werk — Einblick ins Atelier",split:!1},{key:"craft",image:"/landing/branch-craft.jpg",platform:"Instagram",handle:"fliesen_huber",meta:"M\xfcnchen \xb7 Handwerk",avatar:"FH",avatarGradient:"from-amber-500 to-orange-600",imageGradient:"from-amber-500 via-orange-500 to-orange-600",emoji:"\uD83D\uDEE0️",visualText:"Badsanierung in 5 Tagen",split:!0},{key:"gastro",image:"/landing/branch-gastro.jpg",platform:"Instagram",handle:"cafe_sonnenblick",meta:"Caf\xe9 & Brunch",avatar:"CS",avatarGradient:"from-rose-500 to-red-600",imageGradient:"from-orange-400 via-rose-400 to-rose-500",emoji:"\uD83C\uDF83",visualText:"Ab Freitag: K\xfcrbis-Special",split:!1},{key:"shop",image:"/landing/branch-shop.jpg",platform:"Instagram",handle:"lemongrass_tea",meta:"Online-Shop",avatar:"L",avatarGradient:"from-emerald-500 to-teal-600",imageGradient:"from-emerald-400 via-teal-400 to-cyan-500",emoji:"\uD83C\uDF4B",visualText:"5 Arten, unseren Tee zu genie\xdfen",split:!1},{key:"health",image:"/landing/branch-health.jpg",platform:"Instagram",handle:"physio_mitte",meta:"Praxis f\xfcr Physiotherapie",avatar:"PM",avatarGradient:"from-cyan-500 to-sky-600",imageGradient:"from-sky-400 via-cyan-500 to-teal-500",emoji:"\uD83E\uDDD8",visualText:"3 \xdcbungen f\xfcrs Homeoffice",split:!1}],F={coach:{story:{gradient:"from-indigo-600 via-blue-600 to-sky-500",emoji:"\uD83E\uDDED",kicker:"Mini-Impuls",line:"Was w\xfcrdest du tun, wenn niemand zusieht?"},text:{platform:"LinkedIn",handle:"Claudia Berger",meta:"Business-Coach",avatar:"CB",avatarGradient:"from-blue-500 to-indigo-600",text:"Ver\xe4nderung scheitert selten am Mut — meistens an der Klarheit. Drei Fragen, die ich jedem Klienten stelle: Was willst du wirklich? Was kostet dich das Bleiben? Was ist der kleinste erste Schritt?",tags:"#Coaching #Klarheit"}},artist:{story:{gradient:"from-purple-600 via-fuchsia-500 to-rose-400",emoji:"\uD83D\uDD8C️",kicker:"Work in Progress",line:"Schicht 7 von 14 — heute wird es golden"},text:{platform:"X (Twitter)",handle:"atelier.mira",meta:"Malerei & Illustration",avatar:"M",avatarGradient:"from-fuchsia-500 to-purple-600",text:'Nach 3 Wochen ist „Morgenlicht" fertig. 14 Farbschichten, 2 Neuanf\xe4nge, 1 Erkenntnis: Pausen geh\xf6ren zum Prozess. Ab Freitag in der Galerie am Markt.',tags:"#Kunst #WorkInProgress"}},craft:{story:{gradient:"from-amber-600 via-orange-500 to-orange-400",emoji:"\uD83D\uDEBF",kicker:"Tag 3 von 5",line:"Heute: Fliesen legen im Master-Bad"},text:{platform:"Facebook",handle:"Fliesen Huber",meta:"Handwerksbetrieb \xb7 M\xfcnchen",avatar:"FH",avatarGradient:"from-amber-500 to-orange-600",text:'Team-Vorstellung: Das ist Jonas, unser Azubi im 2. Lehrjahr. Spezialgebiet: Mosaikfliesen. Warum Fliesenleger? „Weil man am Abend sieht, was man geschafft hat."'}},gastro:{story:{gradient:"from-rose-500 via-orange-400 to-amber-400",emoji:"\uD83E\uDD50",kicker:"Heute frisch",line:"Zimtschnecken — ab 8 Uhr, solange der Vorrat reicht"},text:{platform:"Facebook",handle:"Caf\xe9 Sonnenblick",meta:"Caf\xe9 & Brunch",avatar:"CS",avatarGradient:"from-rose-500 to-red-600",text:"Unsere Wochenkarte ist da! Mo: Shakshuka \xb7 Di: Flammkuchen \xb7 Mi: Ramen-Bowl \xb7 Do: Quiche \xb7 Fr: Fish & Chips. Welcher Tag wird dein Favorit? \uD83D\uDC47",tags:"#Wochenkarte #Caf\xe9"}},shop:{story:{gradient:"from-emerald-500 via-teal-500 to-cyan-500",emoji:"\uD83E\uDDCA",kicker:"Sommer-Tipp",line:"Eistee in 3 Minuten — Rezept im Highlight"},text:{platform:"X (Twitter)",handle:"lemongrass_tea",meta:"Online-Shop",avatar:"L",avatarGradient:"from-emerald-500 to-teal-600",text:"Restock! Die Limited Edition Zitronenminze ist wieder da — 200 Dosen, dann ist Schluss bis n\xe4chsten Sommer. Wer sie verpasst hat: Jetzt ist der Moment. \uD83C\uDF4B",tags:"#Tee #Re
1stock"}},health:{story:{gradient:"from-sky-500 via-cyan-500 to-teal-500",emoji:"\uD83D\uDCAA",kicker:"Quick-Tipp",line:"Schultern hoch, 5 Sek. halten, fallen lassen — 3\xd7"},text:{platform:"LinkedIn",handle:"Physio Mitte",meta:"Praxis f\xfcr Physiotherapie",avatar:"PM",avatarGradient:"from-cyan-500 to-sky-600",text:"Praxis-News: Ab Juni bieten wir Abendtermine bis 20 Uhr an — f\xfcr alle, die tags\xfcber keine Zeit finden. Terminbuchung wie immer online oder telefonisch.",tags:"#Physiotherapie"}}};function D(e){let{post:t,variant:a="soft"}=e,s=(0,l.useTranslations)("useCases"),n=(0,l.useTranslations)("lp"),i="editorial"===a;return(0,r.jsxs)("div",{className:(0,y.cn)("bg-white overflow-hidden flex flex-col h-full",i?"border border-[#1A1C1C]":"border border-black/10 rounded-[24px]"),style:i?void 0:{boxShadow:"0 12px 40px rgba(17,19,26,.04)"},children:[(0,r.jsxs)("div",{className:(0,y.cn)("flex items-center gap-2.5 px-4 py-3",i&&"border-b border-[#E2E2E2]"),children:[(0,r.jsx)("div",{className:(0,y.cn)("w-8 h-8 grid place-items-center text-white text-[12px] font-bold flex-none bg-gradient-to-br",t.avatarGradient,i?"":"rounded-full"),children:t.avatar}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("p",{className:"text-[12px] font-semibold leading-none truncate text-slate-900",children:t.handle}),(0,r.jsx)("p",{className:"text-[10px] text-slate-500 mt-0.5",children:t.meta})]}),(0,r.jsx)(k.Z,{className:"h-4 w-4 text-slate-400 ml-auto flex-none"})]}),(0,r.jsx)("div",{className:(0,y.cn)("relative aspect-[4/3] bg-gradient-to-br overflow-hidden",t.imageGradient),children:(0,r.jsx)("img",{src:t.image,alt:t.visualText,className:"absolute inset-0 w-full h-full object-cover",loading:"lazy"})}),(0,r.jsxs)("div",{className:"flex items-center gap-4 px-4 pt-3 text-slate-900",children:[(0,r.jsx)(w.Z,{className:"h-[18px] w-[18px]"}),(0,r.jsx)(j.Z,{className:"h-[18px] w-[18px]"}),(0,r.jsx)(d.Z,{className:"h-[18px] w-[18px]"}),(0,r.jsx)(v.Z,{className:"h-[18px] w-[18px] ml-auto"})]}),(0,r.jsxs)("p",{className:"px-4 py-3 text-[13px] leading-snug text-left flex-1 text-slate-900",children:[(0,r.jsx)("span",{className:"font-semibold",children:t.handle})," ",(0,r.jsx)("span",{className:"text-slate-700",children:s("items.".concat(t.key,".example"))})]}),(0,r.jsx)("p",{className:"px-4 pb-3.5 text-[10px] uppercase tracking-[0.15em] text-slate-400 text-left",children:n("exampleStamp")})]})}function C(e){let{post:t,variant:a="soft"}=e,s=F[t.key].story,l="editorial"===a;return(0,r.jsxs)("div",{className:(0,y.cn)("relative aspect-[9/14] overflow-hidden bg-gradient-to-b flex flex-col h-full",s.gradient,l?"border border-[#1A1C1C]":"rounded-[24px]"),style:l?void 0:{boxShadow:"0 12px 40px rgba(17,19,26,.04)"},children:[(0,r.jsx)("img",{src:t.image,alt:"",className:"absolute inset-0 w-full h-full object-cover",loading:"lazy"}),(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/45 via-black/10 to-black/55"}),(0,r.jsx)("div",{className:"relative flex gap-1 px-3 pt-3",children:[0,1,2].map(e=>(0,r.jsx)("span",{className:(0,y.cn)("h-0.5 flex-1 rounded-full",0===e?"bg-white":"bg-white/40")},e))}),(0,r.jsxs)("div",{className:"relative flex items-center gap-2 px-3 pt-2.5",children:[(0,r.jsx)("div",{className:(0,y.cn)("w-7 h-7 rounded-full grid place-items-center text-white text-[10px] font-bold bg-gradient-to-br ring-2 ring-white/70",t.avatarGradient),children:t.avatar}),(0,r.jsx)("p",{className:"text-white text-[11px] font-semibold drop-shadow-sm",children:t.handle}),(0,r.jsx)("p",{className:"text-white/70 text-[10px]",children:"\xb7 Story"})]}),(0,r.jsxs)("div",{className:"relative flex-1 flex flex-col items-center justify-center text-center px-5",children:[(0,r.jsx)("span",{className:"text-5xl mb-3 drop-shadow-sm",children:s.emoji}),(0,r.jsx)("p",{className:"text-white/80 text-[10px] font-bold uppercase tracking-[0.18em]",children:s.kicker}),(0,r.jsx)("p",{className:"mt-2 text-white font-bold text-[17px] leading-snug tracking-tight drop-shadow-sm",children:s.line})]}),(0,r.jsx)("div",{className:"relative px-3 pb-3.5",children:(0,r.jsx)("div",{className:(0,y.cn)("h-9 border border-white/50 flex items-center px-3",l?"":"rounded-full"),children:(0,r.jsx)("span",{className:"text-white/70 text-[11px]",children:"Nachricht senden …"})})})]})}function A(e){let{postKey:t,variant:a="soft"}=e,s=F[t].text,l="editorial"===a;return(0,r.jsxs)("div",{className:(0,y.cn)("bg-white overflow-hidden flex flex-col h-full",l?"border border-[#1A1C1C]":"border border-black/10 rounded-[24px]"),style:l?void 0:{boxShadow:"0 12px 40px rgba(17,19,26,.04)"},children:[(0,r.jsxs)("div",{className:(0,y.cn)("flex items-center gap-2.5 px-4 py-3",l&&"border-b border-[#
1E2E2E2]"),children:[(0,r.jsx)("div",{className:(0,y.cn)("w-8 h-8 grid place-items-center text-white text-[12px] font-bold flex-none bg-gradient-to-br",s.avatarGradient,l?"":"rounded-full"),children:s.avatar}),(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("p",{className:"text-[12px] font-semibold leading-none truncate text-slate-900",children:s.handle}),(0,r.jsx)("p",{className:"text-[10px] text-slate-500 mt-0.5",children:s.meta})]}),(0,r.jsx)("span",{className:"ml-auto flex-none text-[9px] font-semibold uppercase tracking-wide text-slate-400 border border-slate-200 rounded px-1.5 py-0.5",children:s.platform})]}),(0,r.jsx)("p",{className:"px-4 pt-2 pb-3 text-[13.5px] leading-relaxed text-slate-800 flex-1",children:s.text}),s.tags&&(0,r.jsx)("p",{className:"px-4 pb-3 text-[12px] text-slate-500",children:s.tags}),(0,r.jsxs)("div",{className:"flex items-center gap-5 px-4 py-3 border-t border-slate-100 text-slate-500",children:[(0,r.jsx)(w.Z,{className:"h-4 w-4"}),(0,r.jsx)(j.Z,{className:"h-4 w-4"}),(0,r.jsx)(d.Z,{className:"h-4 w-4"})]})]})}var E=a(6939),Z=a(7648),S=a(5863);function T(e){let{dark:t=!1}=e,a=(0,l.useTranslations)("waitlist"),n=(0,l.useLocale)(),[i,c]=(0,s.useState)(""),[d,o]=(0,s.useState)("idle"),[x,m]=(0,s.useState)("");async function b(e){if(e.preventDefault(),"loading"===d)return;let t=i.trim();if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)){o("error"),m(a("invalid"));return}o("loading"),m("");try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:t,source:"waitlist",locale:n})}),r=await e.json().catch(()=>({}));e.ok&&r.success?(o("success"),m(a("success")),c("")):(o("error"),m(r.error||a("error")))}catch(e){o("error"),m(a("error"))}}return"success"===d?(0,r.jsxs)("div",{className:"flex items-start gap-3 rounded-2xl px-5 py-4 text-sm font-medium ".concat(t?"bg-white/10 text-white":"bg-[#20C997]/10 text-[#0E7C5A]"),role:"status",children:[(0,r.jsx)("span",{className:"mt-0.5 flex h-5 w-5 shrink-0 items-center justify-center rounded-full text-white",style:{backgroundColor:"#20C997"},children:(0,r.jsx)(p.Z,{className:"h-3 w-3",strokeWidth:3})}),(0,r.jsx)("span",{children:x})]}):(0,r.jsxs)("form",{onSubmit:b,className:"w-full max-w-[520px]",children:[(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3",children:[(0,r.jsx)("input",{type:"email",inputMode:"email",autoComplete:"email",required:!0,value:i,onChange:e=>{c(e.target.value),"error"===d&&(o("idle"),m(""))},placeholder:a("placeholder"),"aria-label":a("placeholder"),className:"".concat("h-12 w-full rounded-full px-5 text-sm outline-none transition-colors focus:ring-2"," ").concat(t?"bg-white/10 border border-white/15 text-white placeholder:text-white/40 focus:ring-white/40":"bg-white border border-black/10 text-[#11131A] placeholder:text-[#9CA0AB] focus:ring-[#6366F1]/40")}),(0,r.jsx)("button",{type:"submit",disabled:"loading"===d,className:"inline-flex items-center justify-center gap-2 h-12 px-6 rounded-full text-sm font-bold text-white whitespace-nowrap hover:scale-[1.02] transition-transform disabled:opacity-70 disabled:hover:scale-100",style:{backgroundColor:"#6366F1"},children:"loading"===d?(0,r.jsx)(S.Z,{className:"h-4 w-4 animate-spin"}):(0,r.jsxs)(r.Fragment,{children:[a("button"),(0,r.jsx)(h.Z,{className:"h-4 w-4"})]})})]}),"error"===d&&x&&(0,r.jsxs)("div",{className:"mt-3 flex items-start justify-between gap-3 rounded-xl bg-red-500/10 px-4 py-2.5 text-sm text-red-600 dark:text-red-400",role:"alert",children:[(0,r.jsx)("span",{children:x}),(0,r.jsx)("button",{type:"button",onClick:()=>{o("idle"),m("")},"aria-label":a("dismiss"),className:"shrink-0 opacity-70 hover:opacity-100",children:(0,r.jsx)(u.Z,{className:"h-4 w-4"})})]}),(0,r.jsxs)("p",{className:"mt-3 text-xs leading-relaxed ".concat(t?"text-white/50":"text-[#6D7280] dark:text-slate-400"),children:[a("consent")," ",(0,r.jsx)(Z.default,{href:"/".concat(n,"/privacy"),className:"underline underline-offset-2 hover:opacity-80",children:a("privacyLink")}),"."]})]})}let M="#6366F1",B="#20C997",P={initial:{opacity:0,y:28},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.7,ease:[.22,1,.36,1]}};function L(e){let{children:t,dark:a}=e;return(0,r.jsx)("p",{className:"text-xs font-extrabold uppercase tracking-[0.22em] mb-5",style:{color:a?"#A5B4FC":M},children:t})}let z=[{day:["Mon \xb7 09:00","Mo \xb7 09:00"],title:["5 tips for more reach","5 Tipps f\xfcr mehr Reichweite"],platform:"TikTok",
1status:"scheduled"},{day:["Tue \xb7 11:30","Di \xb7 11:30"],title:["Behind the scenes: workshop","Behind the Scenes: Werkstatt"],platform:"Pinterest",status:"approved"},{day:["Wed \xb7 18:00","Mi \xb7 18:00"],title:["Client project: before/after","Kundenprojekt: Vorher/Nachher"],platform:"Instagram",status:"draft"},{day:["Thu \xb7 10:00","Do \xb7 10:00"],title:["Meet the team: Anna","Team-Vorstellung: Anna"],platform:"TikTok",status:"approved"},{day:["Fri \xb7 12:00","Fr \xb7 12:00"],title:["Announce weekly special","Wochen-Special ank\xfcndigen"],platform:"Pinterest",status:"scheduled"},{day:["Sat \xb7 09:30","Sa \xb7 09:30"],title:["FAQ: your top question","FAQ: Eure h\xe4ufigste Frage"],platform:"Instagram",status:"draft"}];function I(e){let{dark:t,title:a}=e,s="en"===(0,l.useLocale)(),n=s?0:1;return(0,r.jsxs)("div",{className:(0,y.cn)("rounded-[28px] border overflow-hidden",t?"border-white/15 bg-[#171B25]":"border-black/10 bg-white/70"),style:{boxShadow:t?"0 32px 100px rgba(0,0,0,.34)":"0 24px 80px rgba(17,19,26,.08)"},children:[(0,r.jsx)("div",{className:(0,y.cn)("h-10 flex items-center gap-1.5 px-4 border-b",t?"bg-[#151925] border-white/10":"bg-white border-black/10"),children:[0,1,2].map(e=>(0,r.jsx)("span",{className:(0,y.cn)("w-2 h-2 rounded-full",t?"bg-white/20":"bg-[#D7D9DF]")},e))}),(0,r.jsxs)("div",{className:"p-5 min-h-[380px]",style:{background:t?"radial-gradient(circle at 70% 0%, rgba(99,102,241,.25), transparent 36%), #11141C":"linear-gradient(145deg, #fff, #F4F6FF)"},children:[(0,r.jsxs)("div",{className:(0,y.cn)("rounded-[20px] border p-4 mb-4",t?"bg-[#151925] border-white/10 text-white":"bg-white border-black/10 text-[#11131A]"),children:[(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("strong",{className:"text-sm",children:a}),(0,r.jsx)("span",{className:"text-[10px] font-bold px-2 py-1 rounded-full text-white",style:{backgroundColor:M},children:s?"6 posts ready":"6 Posts bereit"})]}),(0,r.jsx)("p",{className:(0,y.cn)("mt-2 text-[11px] leading-relaxed",t?"text-white/50":"text-[#6D7280] dark:text-slate-400"),children:s?'Topic: "Our new summer collection" \xb7 2 weeks \xb7 Instagram, TikTok & Pinterest':'Thema: „Unser neues Sommer-Sortiment" \xb7 2 Wochen \xb7 Instagram, TikTok & Pinterest'})]}),(0,r.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",children:z.map(e=>{var a;return(0,r.jsxs)("div",{className:(0,y.cn)("rounded-[18px] border p-3 flex flex-col",t?"bg-[#151925] border-white/10 text-white":"bg-white border-black/10 text-[#11131A]"),children:[(0,r.jsx)("p",{className:(0,y.cn)("text-[9px] font-semibold",t?"text-white/40":"text-[#82858E] dark:text-slate-500"),children:e.day[n]}),(0,r.jsx)("p",{className:"mt-1 text-[11px] font-semibold leading-tight line-clamp-2",children:e.title[n]}),(0,r.jsxs)("div",{className:"mt-auto pt-2 flex items-center justify-between gap-1",children:[(0,r.jsx)("span",{className:(0,y.cn)("text-[9px]",t?"text-white/40":"text-[#82858E] dark:text-slate-500"),children:e.platform}),(0,r.jsx)("span",{className:(0,y.cn)("text-[8px] font-bold px-1.5 py-0.5 rounded-full","approved"===(a=e.status)?t?"bg-emerald-400/15 text-emerald-300":"bg-[#E9FFF8] text-[#10A875]":"scheduled"===a?t?"bg-blue-400/15 text-blue-300":"bg-[#EEF1FF] text-[#6366F1]":t?"bg-white/10 text-white/60":"bg-black/[0.05] text-[#6D7280] dark:text-slate-400"),children:function(e,t){let a={scheduled:["Scheduled","Geplant"],approved:["Approved","Freigegeben"],draft:["Draft","Entwurf"]}[e]||["",""];return t?a[0]:a[1]}(e.status,s)})]})]},e.title[1])})})]})]})}function G(){let e=(0,l.useTranslations)("hero"),t=(0,l.useTranslations)("problem"),a=(0,l.useTranslations)("howItWorks"),k=(0,l.useTranslations)("connectFlow"),w=(0,l.useTranslations)("features"),j=(0,l.useTranslations)("useCases"),v=(0,l.useTranslations)("pricing"),Z=(0,l.useTranslations)("faq"),S=(0,l.useTranslations)("cta"),z=(0,l.useTranslations)("waitlist"),G=(0,l.useTranslations)("lp"),W="en"===(0,l.useLocale)(),[q,H]=(0,s.useState)(null),[K,_]=(0,s.useState)(null),[V,O]=(0,s.useState)(!1),R=(0,s.useRef)(null),J=[{key:"ai",icon:i.Z},{key:"images",icon:c.Z},{key:"preview",icon:d.Z},{key:"approval",icon:o.Z},{key:"schedule",icon:x.Z},{key:"ideas",icon:m.Z}];return(0,r.jsxs)("main",{className:"bg-[#F7F6F1] dark:bg-[#0E1015] text-[#11131A] dark:text-slate-100 font-sans antialiased",children:[(0,r.jsx)(E.SiteNav,{}),(0,r.jsxs)("section",{className:"min-h-screen grid place-items-center border-b border-black/10 dark:border-white/10 px-5 pt-28 pb-24 relative overflow-hidden",children:[(0,r.jsxs)("div",{className:"absolute inset-0 overflow-hidden pointer-events-none opacity-60 dark:opacity-100",children:[(0,r.jsx)("div",{className:"amorphic-shape amorphic-shape-1"}),(0,r.jsx)("div",{className:"amorphic-shape amorphic-shape-2"}),(0,r.jsx)("div",{className:"amorphic-shape amorphic-shape-3"})]}),(0,r.jsxs)("div",{className:"relative w-full max-w-[1240px] grid grid-cols-1 lg:grid-cols-2 gap-11 items-center",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(L,{children:e("badge")}),(0,r.jsxs)("h1",{className:"font-black tracking-[-0.035em] leading-[0.98] text-[clamp(48px,6.5vw,104px)]",children:[e("title")," ",(0,r.jsx)("span",{style:{color:M},children:e("titleHighlight")})]}),(0,r.jsx)("p",{className:"mt-5 text-[clamp(17px,1.7vw,22px)] font-bold tracking-[-0.01em]",children:e("approvalLine")}),(0,r.jsx)("p",{className:"mt-4 text-[clamp(17px,1.6vw,21px)] leading-[1.45] text-[#6D7280] dark:text-slate-400 max-w-[620px]",children:e("description")}),(0,r.jsxs)("div",{className:"mt-8 flex flex-wrap items-center gap-3",children:[(0,r.jsxs)("a",{href:"#waitlist",className:"inline-flex items-center gap-2 h-12 px-6 rounded-full text-sm font-bold text-white hover:scale-[1.02] transition-transform",style:{backgroundColor:M},children:[e("ctaPrelaunch"),(0,r.jsx)(h.Z,{className:"h-4 w-4"})]}),(0,r.jsx)("a",{href:"#how",className:"inline-flex items-center h-12 px-6 rounded-full text-sm font-bold border border-black/10 dark:border-white/15 bg-white/60 dark:bg-white/5 hover:bg-white transition-colors",children:e("ctaSecondary")})]})]}),(0,r.jsx)(n.E.div,{...P,transition:{...P.transition,delay:.12},children:(0,r.jsx)(I,{title:W?"AI suggestion for this week":"KI-Vorschlag f\xfcr diese Woche"})})]})]}),(0,r.jsx)("section",{id:"waitlist",className:"grid place-items-center border-b border-black/10 dark:border-white/10 px-5 py-24",children:(0,r.jsx)(n.E.div,{...P,className:"w-full max-w-[880px]",children:(0,r.jsxs)("div",{className:"rounded-[28px] border border-black/10 dark:border-white/10 bg-white dark:bg-[#151925] px-7 py-12 sm:px-14 sm:py-14 text-center",style:{boxShadow:"0 24px 80px rgba(17,19,26,.08)"},children:[(0,r.jsx)(L,{children:G("labels.waitlist")}),(0,r.jsx)("h2",{className:"font-black tracking-[-0.03em] leading-[1.02] text-[clamp(30px,3.6vw,52px)]",children:z("headline")}),(0,r.jsx)("p",{className:"mt-4 text-[16px] leading-[1.55] text-[#6D7280] dark:text-slate-400 max-w-[560px] mx-auto",children:z("sub")}),(0,r.jsx)("div",{className:"mt-7 flex justify-center",children:(0,r.jsx)(T,{})}),(0,r.jsx)("div",{className:"mt-8 flex flex-wrap justify-center gap-2",children:G("trustline").split("\xb7").map(e=>(0,r.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-black/10 dark:border-white/15 bg-[#F7F6F1] dark:bg-[#1A1E28] px-3.5 py-1.5 text-[12px] font-semibold text-[#6D7280] dark:text-slate-400",children:[(0,r.jsx)(p.Z,{className:"h-3 w-3",style:{color:B}}),e.trim()]},e.trim()))})]})})}),(0,r.jsx)("section",{className:"min-h-screen grid place-items-center border-b border-black/10 dark:border-white/10 px-5 py-24",children:(0,r.jsxs)("div",{className:"w-full max-w-[1240px] grid grid-cols-1 lg:grid-cols-2 gap-11 items-center",children:[(0,r.jsxs)(n.E.div,{...P,children:[(0,r.jsx)(L,{children:G("labels.problem")}),(0,r.jsx)("h2",{className:"font-black tracking-[-0.03em] leading-[1.02] text-[clamp(38px,5vw,76px)]",children:t("title")}),(0,r.jsx)("p",{className:"mt-6 text-[clamp(17px,1.6vw,22px)] leading-[1.45] text-[#6D7280] dark:text-slate-400 max-w-[620px]",children:t("description")})]}),(0,r.jsxs)(n.E.div,{...P,transition:{...P.transition,delay:.12},className:"grid grid-cols-1 sm:grid-cols-2 rounded-[28px] border border-black/10 dark:border-white/10 overflow-hidden bg-white dark:bg-[#151925]",style:{boxShadow:"0 24px 80px rgba(17,19,26,.08)"},children:[(0,r.jsxs)("div",{className:"p-9",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:[(0,r.jsx)("h3",{className:"text-[22px] font-bold tracking-[-0.035em]",children:t("before.label")}),(0,r.jsx)("span",{className:"text-[12px] font-bold px-3 py-1 rounded-full bg-[#FFF0F0] text-[#D94A4A]",children:t("before.time")})]}),(0,r.jsx)("div",{className:"mt-7 grid gap-4",children:["1","2","3","4","5"].map(e=>(0,r.jsxs)("div",{className:"flex items-start gap-3 text-[16px] text-[#6D7280] dark:text-slate-400",children:[(0,r.jsx)("span",{className:"w-6 h-6 rounded-full grid place-items-center flex-none bg-[#FFF0F0] text-[#D94A4A]",children:(0,r.jsx)(u.Z,{className:"h-3.5 w-3.5"})}),t("before.items.".concat(e,".action"))]},e))})]}),(0,r.jsxs)("div",{className:"p-9 bg-[#FBFBFD] dark:bg-[#171B25] border-t dark:border-white/10 sm:border-t-0 sm:border-l border-black/10",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:[(0,r.jsx)("h3",{className:"text-[22px] font-bold tracking-[-0.035em]",children:t("after.label")}),(0,r.jsx)("span",{className:"text-[12px] font-bold px-3 py-1 rounded-full bg-[#E8FFF6]",style:{color:"#10A875"},children:t("after.time")})]}),(0,r.jsxs)("div",{className:"mt-7 grid gap-4",children:[["1","2","3"].map(e=>(0,r.jsxs)("div",{className:"flex items-start gap-3 text-[16px] text-[#11131A] dark:text-slate-100 font-medium",children:[(0,r.jsx)("span",{className:"w-6 h-6 rounded-full grid place-items-center flex-none bg-[#E8FFF6]",style:{color:"#10A875"},children:(0,r.jsx)(p.Z,{className:"h-3.5 w-3.5"})}),t("after.items.".concat(e))]},e)),(0,r.jsxs)("p",{className:"mt-2 inline-flex items-center gap-2 text-[15px] font-bold",style:{color:B},children:[(0,r.jsx)(h.Z,{className:"h-4 w-4"}),t("after.done")]})]})]})]})]})}),(0,r.jsx)("section",{id:"how",className:"min-h-screen grid place-items-center border-b border-black/10 dark:border-white/10 px-5 py-24",children:(0,r.jsxs)(n.E.div,{...P,className:"w-full max-w-[980px] text-center",children:[(0,r.jsx)(L,{children:G("labels.how")}),(0,r.jsx)("h2",{className:"font-black tracking-[-0.03em] leading-[1.02] text-[clamp(38px,5vw,76px)] mx-auto",children:a("title")}),(0,r.jsx)("div",{className:"mt-11 grid grid-cols-1 md:grid-cols-3 gap-4 text-left",children:["1","2","3"].map(e=>(0,r.jsxs)("div",{className:"bg-white dark:bg-[#151925] border border-black/10 dark:border-white/10 rounded-[24px] p-7 flex flex-col",style:{boxShadow:"0 12px 40px rgba(17,19,26,.04)"},children:[(0,r.jsxs)("p",{className:"font-black text-[88px] leading-none tracking-[-0.04em] select-none",style:{color:M,opacity:.15},children:["0",e]}),(0,r.jsx)("h3",{className:"mt-4 text-[22px] font-bold tracking-[-0.035em] leading-[1.05]",children:a("steps.".concat(e,".title"))}),(0,r.jsx)("p",{className:"mt-3 text-[#6D7280] dark:text-slate-400 leading-[1.55]",children:a("steps.".concat(e,".description"))}),(0,r.jsxs)("div",{className:"mt-auto pt-6",children:["1"===e&&(0,r.jsxs)("div",{className:"rounded-[18px] border border-black/10 dark:border-white/10 bg-[#F7F6F1] dark:bg-[#0E1015] p-4",children:[(0,r.jsx)("p",{className:"text-[10px] font-bold uppercase tracking-[0.15em] text-[#82858E] dark:text-slate-500",children:W?"Your input":"Deine Eingabe"}),(0,r.jsx)("div",{className:"mt-2.5 rounded-xl bg-white dark:bg-[#151925] border border-black/10 dark:border-white/10 px-3.5 py-2.5 text-[13px] font-medium",children:W?"Our new summer collection \uD83C\uDF3F":"Unser neues Sommer-Sortiment \uD83C\uDF3F"}),(0,r.jsx)("div",{className:"mt-2.5 flex flex-wrap gap-1.5",children:(W?["+ Link","+ Notes","+ File"]:["+ Link","+ Notizen","+ Datei"]).map(e=>(0,r.jsx)("span",{className:"text-[10px] font-semibold px-2.5 py-1 rounded-full border border-black/10 dark:border-white/15 bg-white dark:bg-[#1A1E28] text-[#6D7280] dark:text-slate-400",children:e},e))})]}),"2"===e&&(0,r.jsxs)("div",{className:"rounded-[18px] border border-black/10 dark:border-white/10 bg-[#F7F6F1] dark:bg-[#0E1015] p-4",children:[(0,r.jsxs)("p",{className:"text-[10px] font-bold uppercase tracking-[0.15em] flex items-center gap-1.5",style:{color:M},children:[(0,r.jsx)(i.Z,{className:"h-3 w-3"})," ",W?"AI is creating …":"KI erstellt …"]}),(0,r.jsxs)("div",{className:"mt-3 space-y-2",children:[(0,r.jsx)("div",{className:"h-2 rounded-full bg-[#6366F1]/20"}),(0,r.jsx)("div",{className:"h-2 rounded-full bg-[#6366F1]/20 w-4/5"}),(0,r.jsx)("div",{className:"h-2 rounded-full bg-[#6366F1]/20 w-3/5"})]}
1),(0,r.jsx)("div",{className:"mt-3 h-14 rounded-xl bg-gradient-to-br from-[#6366F1]/30 via-[#A5B4FC]/30 to-[#20C997]/30 grid place-items-center",children:(0,r.jsx)("span",{className:"text-[10px] font-bold text-[#6366F1]/70 uppercase tracking-[0.15em]",children:W?"Generating image":"Bild entsteht"})})]}),"3"===e&&(0,r.jsxs)("div",{className:"rounded-[18px] border border-black/10 dark:border-white/10 bg-[#F7F6F1] dark:bg-[#0E1015] p-4",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between rounded-xl bg-white dark:bg-[#151925] border border-black/10 dark:border-white/10 px-3.5 py-2.5",children:[(0,r.jsx)("span",{className:"text-[12px] font-semibold",children:W?"Instagram post ready":"Instagram-Post bereit"}),(0,r.jsx)(p.Z,{className:"h-4 w-4",style:{color:B}})]}),(0,r.jsxs)("div",{className:"mt-2.5 flex gap-2",children:[(0,r.jsx)("span",{className:"flex-1 text-center text-[11px] font-semibold px-3 py-2 rounded-full border border-black/10 dark:border-white/15 bg-white dark:bg-[#1A1E28] text-[#6D7280] dark:text-slate-400",children:W?"Edit":"Bearbeiten"}),(0,r.jsx)("span",{className:"flex-1 text-center text-[11px] font-bold px-3 py-2 rounded-full text-white",style:{backgroundColor:B},children:W?"Approve ✓":"Freigeben ✓"})]}),(0,r.jsx)("p",{className:"mt-2.5 text-[10px] text-[#82858E] dark:text-slate-500 text-center",children:W?"Goes live: Fri \xb7 12:00":"Geht live: Fr \xb7 12:00"})]})]})]},e))}),(0,r.jsx)(n.E.div,{...P,className:"mt-12",children:(0,r.jsxs)("div",{className:"relative aspect-video w-full rounded-[28px] overflow-hidden",style:{backgroundColor:"#11141C",boxShadow:"0 24px 80px rgba(17,19,26,.12)"},children:[(0,r.jsx)("video",{ref:R,className:"absolute inset-0 h-full w-full object-cover",src:"/socialbuddy-demo.mp4",poster:"/socialbuddy-demo-poster.jpg",preload:"metadata",playsInline:!0,controls:V,loop:!0,onPlay:()=>O(!0),onPause:()=>O(!1)}),!V&&(0,r.jsxs)("button",{type:"button","aria-label":G("demo.title"),onClick:()=>{var e;return null===(e=R.current)||void 0===e?void 0:e.play()},className:"absolute inset-0 flex flex-col items-center justify-center gap-5 cursor-pointer group",style:{background:"linear-gradient(180deg, rgba(17,20,28,.15), rgba(17,20,28,.55))"},children:[(0,r.jsx)("span",{className:"w-16 h-16 sm:w-20 sm:h-20 rounded-full flex items-center justify-center text-white shadow-lg transition-transform group-hover:scale-110",style:{backgroundColor:M},children:(0,r.jsx)(b.Z,{className:"h-7 w-7 sm:h-8 sm:w-8 ml-1",fill:"currentColor"})}),(0,r.jsx)("p",{className:"text-white font-bold text-lg sm:text-2xl tracking-tight",children:G("demo.title")}),(0,r.jsx)("p",{className:"text-white/60 text-xs font-bold uppercase tracking-[0.18em]",children:G("demo.note")})]})]})}),(0,r.jsx)("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-2.5",children:[{name:"TikTok",available:!0},{name:"Pinterest",available:!0},{name:"Instagram",available:!1},{name:"Facebook",available:!1},{name:"LinkedIn",available:!1},{name:"X (Twitter)",available:!1}].map(e=>(0,r.jsxs)("span",{className:(0,y.cn)("inline-flex items-center gap-1.5 rounded-full border px-4 py-1.5 text-[13px] font-medium",e.available?"border-black/10 dark:border-white/15 bg-white dark:bg-[#1A1E28]":"border-black/5 dark:border-white/10 bg-black/[0.03] dark:bg-white/[0.04] text-[#6D7280] dark:text-slate-400"),children:[e.available?(0,r.jsx)(p.Z,{className:"h-3.5 w-3.5",style:{color:B}}):(0,r.jsx)(f.Z,{className:"h-3.5 w-3.5 text-[#82858E] dark:text-slate-500"}),e.name,!e.available&&(0,r.jsxs)("span",{className:"text-[11px] opacity-70",children:["\xb7 ",k("comingSoon")]})]},e.name))})]})}),(0,r.jsx)("section",{id:"features",className:"min-h-screen grid place-items-center px-5 py-24 bg-white dark:bg-[#11141C] border-b border-black/10 dark:border-white/10",children:(0,r.jsxs)(n.E.div,{...P,className:"w-full max-w-[1100px] text-center",children:[(0,r.jsx)(L,{children:w("title")}),(0,r.jsx)("h2",{className:"font-black tracking-[-0.03em] leading-[1.02] text-[clamp(38px,5vw,76px)] mx-auto",children:w("subtitle")}),(0,r.jsx)("div",{className:"mt-11 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 text-left",children:J.map(e=>{let{key:t,icon:a}=e;return(0,r.jsxs)("div",{className:"rounded-[24px] border border-black/5 dark:border-white/5 bg-[#F7F6F1] dark:bg-[#1A1E28] p-7 min-h-[190p
1x]",children:[(0,r.jsx)(a,{className:"h-6 w-6 mb-7",style:{color:M}}),(0,r.jsx)("h3",{className:"text-[20px] font-bold tracking-[-0.035em]",children:w("items.".concat(t,".title"))}),(0,r.jsx)("p",{className:"mt-2.5 text-[#6D7280] dark:text-slate-400 leading-[1.55] text-[15px]",children:w("items.".concat(t,".description"))})]},t)})})]})}),(0,r.jsx)("section",{className:"min-h-screen grid place-items-center px-5 py-24 text-white border-t border-white/10",style:{backgroundColor:"#11141C"},children:(0,r.jsxs)("div",{className:"w-full max-w-[1240px] grid grid-cols-1 lg:grid-cols-2 gap-11 items-center",children:[(0,r.jsxs)(n.E.div,{...P,children:[(0,r.jsx)(L,{dark:!0,children:k("platformsLabel")}),(0,r.jsx)("h2",{className:"font-black tracking-[-0.03em] leading-[1.02] text-[clamp(38px,5vw,68px)]",children:k("title")}),(0,r.jsx)("p",{className:"mt-6 text-[clamp(17px,1.6vw,22px)] leading-[1.45] text-[#A8AFBF] max-w-[560px]",children:k("subtitle")}),(0,r.jsx)("div",{className:"mt-9 grid gap-5 max-w-[560px]",children:["connect","approve","autopost"].map((e,t)=>(0,r.jsxs)("div",{className:"flex items-start gap-4",children:[(0,r.jsx)("span",{className:"flex-none w-8 h-8 rounded-full grid place-items-center text-[13px] font-black text-white",style:{backgroundColor:M},children:t+1}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-[18px] font-bold tracking-[-0.02em]",children:k("steps.".concat(e,".title"))}),(0,r.jsx)("p",{className:"mt-1 text-[15px] leading-[1.55] text-[#A8AFBF]",children:k("steps.".concat(e,".description"))})]})]},e))}),(0,r.jsx)("p",{className:"mt-7 text-[13px] text-[#A8AFBF]",children:k("trustNote")})]}),(0,r.jsx)(n.E.div,{...P,transition:{...P.transition,delay:.12},children:(0,r.jsx)(I,{dark:!0,title:W?"Content calendar":"Content-Kalender"})})]})}),(0,r.jsx)("section",{className:"min-h-screen grid place-items-center border-b border-black/10 dark:border-white/10 px-5 py-24",children:(0,r.jsxs)(n.E.div,{...P,className:"w-full max-w-[1100px] text-center",children:[(0,r.jsx)(L,{children:G("labels.audience")}),(0,r.jsx)("h2",{className:"font-black tracking-[-0.03em] leading-[1.02] text-[clamp(38px,5vw,76px)] mx-auto max-w-[760px]",children:j("title")}),(0,r.jsx)("div",{className:"mt-11 rounded-[28px] border border-black/10 dark:border-white/10 bg-white dark:bg-[#151925] overflow-hidden text-left",style:{boxShadow:"0 24px 80px rgba(17,19,26,.08)"},children:N.map((e,t)=>{let a=K===e.key;return(0,r.jsxs)("div",{className:(0,y.cn)(t>0&&"border-t border-black/10 dark:border-white/10"),children:[(0,r.jsx)("button",{onClick:()=>_(a?null:e.key),"aria-expanded":a,"aria-controls":"case-panel-".concat(e.key),className:(0,y.cn)("w-full text-left px-6 sm:px-8 py-6 transition-colors",a?"bg-[#FBFBFD] dark:bg-[#171B25]":"hover:bg-black/[0.02] dark:hover:bg-white/[0.03]"),children:(0,r.jsxs)("div",{className:"grid grid-cols-12 gap-4 items-center",children:[(0,r.jsxs)("span",{className:"hidden sm:block col-span-1 text-[13px] font-black",style:{color:M},children:["0",t+1]}),(0,r.jsx)("h3",{className:(0,y.cn)("col-span-10 sm:col-span-4 text-[19px] sm:text-[22px] font-bold tracking-[-0.035em]",a&&"text-[#11131A] dark:text-slate-100"),children:j("items.".concat(e.key,".title"))}),(0,r.jsx)("p",{className:"hidden lg:block col-span-6 text-[14px] text-[#6D7280] dark:text-slate-400 leading-relaxed",children:j("items.".concat(e.key,".solution"))}),(0,r.jsx)("span",{className:"col-span-2 sm:col-span-1 justify-self-end",children:(0,r.jsx)("span",{className:(0,y.cn)("w-8 h-8 rounded-full border grid place-items-center transition-all",a?"border-transparent text-white rotate-45":"border-black/10 dark:border-white/15 text-[#6D7280] dark:text-slate-400"),style:a?{backgroundColor:M}:void 0,children:(0,r.jsx)(g.Z,{className:"h-4 w-4"})})})]})}),a&&(0,r.jsxs)(n.E.div,{id:"case-panel-".concat(e.key),initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.45,ease:[.22,1,.36,1]},className:"px-6 sm:px-8 pb-8 bg-[#FBFBFD] dark:bg-[#171B25]",children:[(0,r.jsx)("p",{className:"lg:hidden text-[14px] text-[#6D7280] dark:text-slate-400 leading-relaxed pb-5",children:j("items.".concat(e.key,".solution"))}),(0,r.jsxs)("div",{className:"flex gap-3 overflow-x-auto snap-x snap-mandatory -mx-6 px-6 pb-2 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden lg:grid lg:grid-cols-3 lg:gap-4 lg:overflow-visible lg:mx-0 lg:px-0 lg:pb-0 lg:items-stretch",children:[(0,r.jsxs)("div",{className:"flex flex-col flex-none snap-start w-[70%] xs:w-[60%] sm:w-[45%] lg:w-auto",children:[(0,r.jsxs)("p",{className:"text-[11px] font-bold uppercase tracking-[0.15em] text-[#6D7280] dark:text-slate-400 mb-2.5",children:[e.platform," \xb7 Bild-Post"]}),(0,r.jsx)(D,{post:e,variant:"soft"})]}),(0,r.jsxs)("div",{className:"flex flex-col flex-none snap-start w-[70%] xs:w-[60%] sm:w-[45%] lg:w-auto",children:[(0,r.jsx)("p",{className:"text-[11px] font-bold uppercase tracking-[0.15em] text-[#6D7280] dark:text-slate-400 mb-2.5",children:"Story"}),(0,r.jsx)(C,{post:e,variant:"soft"})]}),(0,r.jsxs)("div",{className:"flex flex-col flex-none snap-start w-[70%] xs:w-[60%] sm:w-[45%] lg:w-auto",children:[(0,r.jsxs)("p",{className:"text-[11px] font-bold uppercase tracking-[0.15em] text-[#6D7280] dark:text-slate-400 mb-2.5",children:[F[e.key].text.platform," \xb7 Text-Post"]}),(0,r.jsx)(A,{postKey:e.key,variant:"soft"})]})]})]})]},e.key)})})]})}),(0,r.jsx)("section",{id:"pricing",className:"min-h-screen grid place-items-center border-b border-black/10 dark:border-white/10 px-5 py-24",children:(0,r.jsxs)(n.E.div,{...P,className:"w-full max-w-[1240px] text-center",children:[(0,r.jsx)(L,{children:G("labels.pricing")}),(0,r.jsx)("h2",{className:"font-black tracking-[-0.03em] leading-[1.02] text-[clamp(38px,5vw,76px)] mx-auto",children:v("title")}),(0,r.jsx)("p",{className:"mt-5 text-[15px] text-[#6D7280] dark:text-slate-400",children:v("betaBanner")}),(0,r.jsx)("div",{className:"mt-11 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 text-left items-stretch",children:["free","starter","pro","agency"].map(e=>{let t="pro"===e,a=v.raw("plans.".concat(e,".features"));return(0,r.jsxs)("div",{className:(0,y.cn)("relative rounded-[24px] border p-7 flex flex-col",t?"text-white border-transparent bg-[#11131A] dark:bg-[#6366F1]":"bg-white dark:bg-[#151925] border-black/10 dark:border-white/10"),style:t?void 0:{boxShadow:"0 12px 40px rgba(17,19,26,.04)"},children:[t&&(0,r.jsx)("span",{className:"absolute right-5 top-5 text-[11px] font-extrabold text-white bg-[#6366F1] dark:bg-white dark:text-[#6366F1] rounded-full px-2.5 py-1.5",children:v("plans.pro.popular")}),(0,r.jsx)("h3",{className:"text-[20px] font-bold tracking-[-0.035em]",children:v("plans.".concat(e,".name"))}),(0,r.jsx)("p",{className:(0,y.cn)("mt-1.5 text-[14px]",t?"text-[#C6CAD4]":"text-[#6D7280] dark:text-slate-400"),children:v("plans.".concat(e,".description"))}),(0,r.jsx)("p",{className:"mt-6 text-[26px] font-black tracking-[-0.03em] leading-tight",children:"free"===e?"€".concat(v("plans.free.price")):v("founderPrice")}),"free"!==e&&(0,r.jsx)("p",{className:(0,y.cn)("mt-1 text-[12px] font-semibold",t?"text-[#C6CAD4]":"text-[#6D7280] dark:text-slate-400"),children:v("founderNote")}),(0,r.jsx)("ul",{className:(0,y.cn)("mt-6 grid gap-3 text-[14px] flex-1",t?"text-[#C6CAD4]":"text-[#6D7280] dark:text-slate-400"),children:a.map((e,a)=>(0,r.jsxs)("li",{className:"flex items-start gap-2",children:[(0,r.jsx)(p.Z,{className:"h-4 w-4 mt-0.5 flex-shrink-0",style:{color:t?"#A5B4FC":B}}),e]},a))}),(0,r.jsx)("a",{href:"#waitlist",className:(0,y.cn)("mt-7 inline-flex items-center justify-center min-h-12 h-auto py-3 px-4 text-center leading-tight rounded-full text-sm font-bold transition-transform hover:scale-[1.02]",t?"text-white bg-[#6366F1] dark:bg-white dark:text-[#6366F1]":"border border-black/10 dark:border-white/15 bg-[#F7F6F1] dark:bg-[#1A1E28]"),children:v("ctaPrelaunch")})]},e)})}),(0,r.jsx)("p",{className:"mt-6 text-[13px] text-[#6D7280] dark:text-slate-400",children:G("monthlyNote")}),(0,r.jsx)("p",{className:"mt-2 text-[12px] font-semibold text-[#6D7280] dark:text-slate-400",children:G("trustline")})]})}),(0,r.jsx)("section",{id:"faq",className:"grid place-items-center border-b border-black/10 dark:border-white/10 px-5 py-24",children:(0,r.jsxs)(n.E.div,{...P,className:"w-full max-w-[980px] text-center",children:[(0,r.jsx)(L,{children:G("labels.faq")}),(0,r.jsx)("h2",{className:"font-black tracking-[-0.03em] leading-[1.02] text-[clamp(34px,4.5vw,64px)] mx-auto",children:Z("title")}),(0,r.jsx)("div",{className:"mt-11 rounded-[28px] border border-black/10 dark:border-white/10 bg-white dark:bg-[#151925] overflow-hidden text-left",style:{boxShadow:"0 24px 80px rgba(17,19,26,.08)"},children:["1","2","4","9","10","11","8","7"].map((e,t)=>{let a=q===e;return(0,r.jsxs)("div",{className:(0,y.cn)(t>0&&"border-t border-black/10 dark:border-white/10"),children:[(0,r.jsx)("button",{onClick:()=>H(a?null:e),"aria-expanded":a,"aria-controls":"faq-panel-".concat(e),className:"w-full text-left px-8 py-6",children:(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsx)("h3",{className:"text-[19px] font-bold tracking-[-0.035em]",children:Z("items.".concat(e,".question"))}),(0,r.jsx)(g.Z,{className:(0,y.cn)("h-5 w-5 flex-shrink-0 transition-transform text-[#82858E] dark:text-slate-500",a&&"rotate-45"),style:a?{c
1olor:M}:void 0})]})}),a&&(0,r.jsx)("div",{id:"faq-panel-".concat(e),className:"px-8 pb-6",children:(0,r.jsx)("p",{className:"text-[16px] text-[#6D7280] dark:text-slate-400 leading-[1.55] pr-10",children:Z("items.".concat(e,".answer"))})})]},e)})})]})}),(0,r.jsx)("section",{className:"flex flex-col justify-center px-5 py-28 text-white",style:{backgroundColor:"#11141C"},children:(0,r.jsxs)(n.E.div,{...P,className:"w-full max-w-[980px] mx-auto text-center",children:[(0,r.jsx)("h2",{className:"font-black tracking-[-0.03em] leading-[1.02] text-[clamp(40px,5.5vw,84px)]",children:S("title")}),(0,r.jsx)("p",{className:"mt-6 text-[clamp(17px,1.6vw,22px)] text-[#A8AFBF] max-w-[560px] mx-auto",children:z("sub")}),(0,r.jsx)("div",{className:"mt-9 flex justify-center",children:(0,r.jsx)(T,{dark:!0})}),(0,r.jsx)("p",{className:"mt-7 text-[12px] font-semibold text-white/40",children:G("trustline")})]})}),(0,r.jsx)(E.SiteFooter,{})]})}},6939:function(e,t,a){"use strict";a.d(t,{R:function(){return b},SiteFooter:function(){return w},SiteNav:function(){return k}});var r=a(7437),s=a(2265),l=a(7648),n=a(2586),i=a(9376),c=a(5922),d=a(5929),o=a(7226),x=a(9202),m=a(875),h=a(2489),p=a(6840),u=a(3448);function b(e){let{className:t}=e;return(0,r.jsxs)("span",{className:(0,u.cn)("font-extrabold tracking-[-0.05em]",t),children:["Social",(0,r.jsx)("span",{className:"text-[#6366F1]",children:"Buddy"})]})}function f(){let{resolvedTheme:e,setTheme:t}=(0,c.F)(),[a,l]=(0,s.useState)(!1);return(0,s.useEffect)(()=>l(!0),[]),(0,r.jsx)("button",{onClick:()=>t("dark"===e?"light":"dark"),"aria-label":"Theme wechseln",className:"w-9 h-9 rounded-full border border-black/10 dark:border-white/15 bg-white/50 dark:bg-white/5 grid place-items-center text-[#6D7280] dark:text-slate-300 hover:text-[#11131A] dark:hover:text-white transition-colors",children:a&&"dark"===e?(0,r.jsx)(d.Z,{className:"h-4 w-4"}):(0,r.jsx)(o.Z,{className:"h-4 w-4"})})}function g(e){let{mobile:t}=e,a=(0,n.useLocale)(),l=(0,i.usePathname)(),c=(0,i.useRouter)(),[d,o]=(0,s.useState)(!1),h=(0,s.useRef)(null);(0,s.useEffect)(()=>{if(!d)return;let e=e=>{h.current&&!h.current.contains(e.target)&&o(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[d]);let p=e=>{c.push(l.replace("/".concat(a),"/".concat(e))),o(!1)};return t?(0,r.jsx)("div",{className:"flex gap-2",children:["de","en"].map(e=>(0,r.jsx)("button",{onClick:()=>p(e),className:(0,u.cn)("flex-1 py-2 rounded-full text-sm font-semibold border",a===e?"border-transparent text-white bg-[#11131A] dark:bg-white dark:text-black":"border-black/10 dark:border-white/15 text-[#6D7280] dark:text-slate-300"),children:"de"===e?"\uD83C\uDDE9\uD83C\uDDEA DE":"\uD83C\uDDEC\uD83C\uDDE7 EN"},e))}):(0,r.jsxs)("div",{className:"relative",ref:h,children:[(0,r.jsxs)("button",{onClick:()=>o(!d),className:"inline-flex items-center gap-1 px-3 py-2 rounded-full border border-black/10 dark:border-white/15 bg-white/50 dark:bg-white/5 text-[13px] font-medium text-[#6D7280] dark:text-slate-300 hover:text-[#11131A] dark:hover:text-white transition-colors",children:[(0,r.jsx)(x.Z,{className:"h-3.5 w-3.5"}),(0,r.jsx)("span",{className:"uppercase",children:a}),(0,r.jsx)(m.Z,{className:(0,u.cn)("h-3 w-3 transition-transform",d&&"rotate-180")})]}),d&&(0,r.jsxs)("div",{className:"absolute right-0 mt-2 w-36 rounded-2xl bg-white dark:bg-[#171B25] border border-black/10 dark:border-white/10 shadow-xl overflow-hidden z-50",children:[(0,r.jsx)("button",{onClick:()=>p("de"),className:(0,u.cn)("w-full px-4 py-2.5 text-left text-sm hover:bg-black/5 dark:hover:bg-white/5","de"===a&&"font-bold"),children:"\uD83C\uDDE9\uD83C\uDDEA Deutsch"}),(0,r.jsx)("button",{onClick:()=>p("en"),className:(0,u.cn)("w-full px-4 py-2.5 text-left text-sm hover:bg-black/5 dark:hover:bg-white/5","en"===a&&"font-bold"),children:"\uD83C\uDDEC\uD83C\uDDE7 English"})]})]})}function k(){let e=(0,n.useTranslations)("nav"),t=(0,n.useLocale)(),[a,i]=(0,s.useState)(!1),c=[{href:"#features",label:e("features")},{href:"#pricing",label:e("pricing")},{href:"#faq",label:e("faq")}];return(0,r.jsxs)("header",{className:"fixed top-0 inset-x-0 z-50 h-[72px] border-b border-black/10 dark:border-white/10 bg-[#F7F6F1]/70 dark:bg-[#0E1015]/80 backdrop-blur-xl",children:[(0,r.jsxs)("div",{className:"mx-auto max-w-[1240px] h-full px-5 flex items-center justify-between",children:[(0,r.jsx)(l.default,{href:"/".concat(t),children:(0,r.jsx)(b,{className:"text-[22px]"})}),(0,r.jsx)("nav",{className:"hidden md:flex items-center gap-7",children:c.map(e=>(0,r.jsx)("a",{href:e.href,className:"text-[13px] font-medium text-[#6D7280] dark:text-slate-300 hover:text-[#11131A] dark:hover:text-white transition-colors",children:e.label},e.href))}),(0,r.jsxs)("div",{className:"hidden md:flex items-center gap-2.5",children:[(0,r.jsx)(g,{}),(0,r.jsx)(f,{}
1),(0,r.jsx)(l.default,{href:"/".concat(t,"/login"),className:"px-4 py-2.5 rounded-full border border-black/10 dark:border-white/15 bg-white/50 dark:bg-white/5 text-[13px] font-medium",children:e("login")}),(0,r.jsx)("a",{href:"#waitlist",className:"px-4 py-2.5 rounded-full text-[13px] font-semibold text-white bg-[#11131A] dark:bg-[#6366F1]",children:e("waitlist")})]}),(0,r.jsxs)("div",{className:"flex md:hidden items-center gap-2",children:[(0,r.jsx)(f,{}),(0,r.jsx)("button",{onClick:()=>i(!a),"aria-label":a?"Men\xfc schlie\xdfen":"Men\xfc \xf6ffnen","aria-expanded":a,className:"w-9 h-9 rounded-full border border-black/10 dark:border-white/15 grid place-items-center",children:a?(0,r.jsx)(h.Z,{className:"h-4 w-4"}):(0,r.jsx)(p.Z,{className:"h-4 w-4"})})]})]}),a&&(0,r.jsxs)("div",{className:"md:hidden border-t border-black/10 dark:border-white/10 bg-[#F7F6F1] dark:bg-[#0E1015] px-5 py-5 space-y-3",children:[c.map(e=>(0,r.jsx)("a",{href:e.href,onClick:()=>i(!1),className:"block py-2 text-[15px] font-semibold",children:e.label},e.href)),(0,r.jsxs)("div",{className:"pt-3 border-t border-black/10 dark:border-white/10 space-y-3",children:[(0,r.jsx)(g,{mobile:!0}),(0,r.jsx)(l.default,{href:"/".concat(t,"/login"),className:"block text-center py-2.5 rounded-full border border-black/10 dark:border-white/15 text-sm font-semibold",children:e("login")}),(0,r.jsx)("a",{href:"#waitlist",onClick:()=>i(!1),className:"block text-center py-2.5 rounded-full text-sm font-bold text-white bg-[#11131A] dark:bg-[#6366F1]",children:e("waitlist")})]})]})]})}function w(){let e=(0,n.useTranslations)("footer"),t=(0,n.useTranslations)("nav"),a=(0,n.useLocale)(),s=[{href:"#features",label:e("links.features")},{href:"#pricing",label:e("links.pricing")},{href:"#faq",label:t("faq")}];return(0,r.jsx)("footer",{className:"bg-[#F7F6F1] dark:bg-[#0E1015] border-t border-black/10 dark:border-white/10",children:(0,r.jsxs)("div",{className:"mx-auto max-w-[1240px] px-5 py-16",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-10",children:[(0,r.jsxs)("div",{className:"lg:col-span-2",children:[(0,r.jsx)(l.default,{href:"/".concat(a),children:(0,r.jsx)(b,{className:"text-[20px]"})}),(0,r.jsx)("p",{className:"mt-4 text-[14px] text-[#6D7280] dark:text-slate-400 max-w-sm leading-relaxed",children:e("description")})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-[13px] font-bold uppercase tracking-[0.15em] text-[#A8A8A8] dark:text-slate-500",children:e("product")}),(0,r.jsx)("ul",{className:"mt-4 space-y-2.5",children:s.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:e.href,className:"text-[14px] text-[#6D7280] dark:text-slate-400 hover:text-[#11131A] dark:hover:text-white transition-colors",children:e.label})},e.href))})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-[13px] font-bold uppercase tracking-[0.15em] text-[#A8A8A8] dark:text-slate-500",children:e("company")}),(0,r.jsx)("ul",{className:"mt-4 space-y-2.5",children:(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:"mailto:[email protected]",className:"text-[14px] text-[#6D7280] dark:text-slate-400 hover:text-[#11131A] dark:hover:text-white transition-colors",children:e("links.contact")})})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-[13px] font-bold uppercase tracking-[0.15em] text-[#A8A8A8] dark:text-slate-500",children:e("legal")}),(0,r.jsx)("ul",{className:"mt-4 space-y-2.5",children:["privacy","terms","imprint","avv","widerruf","datenloeschung"].map(t=>(0,r.jsx)("li",{children:(0,r.jsx)(l.default,{href:"/".concat(a,"/").concat(t),className:"text-[14px] text-[#6D7280] dark:text-slate-400 hover:text-[#11131A] dark:hover:text-white transition-colors",children:e("links.".concat(t))})},t))})]})]}),(0,r.jsx)("div",{className:"mt-14 pt-7 border-t border-black/10 dark:border-white/10",children:(0,r.jsx)("p",{className:"text-center text-[13px] text-[#A8A8A8] dark:text-slate-500",children:e("copyright")})})]})})}},3448:function(e,t,a){"use strict";a.d(t,{F:function(){return i},W:function(){return n},cn:function(){return l}});var r=a(1994),s=a(3335);function l(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,s.m6)((0,r.W)(t))}
1class n extends Error{constructor(e="operation"){super("".concat(e," timed out")),this.name="TimeoutError"}}function i(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"operation";return new Promise((r,s)=>{let l=setTimeout(()=>s(new n(a)),t);Promise.resolve(e).then(e=>{clearTimeout(l),r(e)},e=>{clearTimeout(l),s(e)})})}},5922:function(e,t,a){"use strict";a.d(t,{F:function(){return o},f:function(){return x}});var r=a(2265),s=(e,t,a,r,s,l,n,i)=>{let c=document.documentElement,d=["light","dark"];function o(t){(Array.isArray(e)?e:[e]).forEach(e=>{let a="class"===e,r=a&&l?s.map(e=>l[e]||e):s;a?(c.classList.remove(...r),c.classList.add(l&&l[t]?l[t]:t)):c.setAttribute(e,t)}),i&&d.includes(t)&&(c.style.colorScheme=t)}if(r)o(r);else try{let e=localStorage.getItem(t)||a,r=n&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;o(r)}catch(e){}},l=["light","dark"],n="(prefers-color-scheme: dark)",i="undefined"==typeof window,c=r.createContext(void 0),d={setTheme:e=>{},themes:[]},o=()=>{var e;return null!=(e=r.useContext(c))?e:d},x=e=>r.useContext(c)?r.createElement(r.Fragment,null,e.children):r.createElement(h,{...e}),m=["light","dark"],h=e=>{let{forcedTheme:t,disableTransitionOnChange:a=!1,enableSystem:s=!0,enableColorScheme:i=!0,storageKey:d="theme",themes:o=m,defaultTheme:x=s?"system":"light",attribute:h="data-theme",value:g,children:k,nonce:w,scriptProps:j}=e,[v,y]=r.useState(()=>u(d,x)),[N,F]=r.useState(()=>"system"===v?f():v),D=g?Object.values(g):o,C=r.useCallback(e=>{let t=e;if(!t)return;"system"===e&&s&&(t=f());let r=g?g[t]:t,n=a?b(w):null,c=document.documentElement,d=e=>{"class"===e?(c.classList.remove(...D),r&&c.classList.add(r)):e.startsWith("data-")&&(r?c.setAttribute(e,r):c.removeAttribute(e))};if(Array.isArray(h)?h.forEach(d):d(h),i){let e=l.includes(x)?x:null,a=l.includes(t)?t:e;c.style.colorScheme=a}null==n||n()},[w]),A=r.useCallback(e=>{let t="function"==typeof e?e(v):e;y(t);try{localStorage.setItem(d,t)}catch(e){}},[v]),E=r.useCallback(e=>{F(f(e)),"system"===v&&s&&!t&&C("system")},[v,t]);r.useEffect(()=>{let e=window.matchMedia(n);return e.addListener(E),E(e),()=>e.removeListener(E)},[E]),r.useEffect(()=>{let e=e=>{e.key===d&&(e.newValue?y(e.newValue):A(x))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[A]),r.useEffect(()=>{C(null!=t?t:v)},[t,v]);let Z=r.useMemo(()=>({theme:v,setTheme:A,forcedTheme:t,resolvedTheme:"system"===v?N:v,themes:s?[...o,"system"]:o,systemTheme:s?N:void 0}),[v,A,t,N,s,o]);return r.createElement(c.Provider,{value:Z},r.createElement(p,{forcedTheme:t,storageKey:d,attribute:h,enableSystem:s,enableColorScheme:i,defaultTheme:x,value:g,themes:o,nonce:w,scriptProps:j}),k)},p=r.memo(e=>{let{forcedTheme:t,storageKey:a,attribute:l,enableSystem:n,enableColorScheme:i,defaultTheme:c,value:d,themes:o,nonce:x,scriptProps:m}=e,h=JSON.stringify([l,a,c,t,o,d,n,i]).slice(1,-1);return r.createElement("script",{...m,suppressHydrationWarning:!0,nonce:"undefined"==typeof window?x:"",dangerouslySetInnerHTML:{__html:"(".concat(s.toString(),")(").concat(h,")")}})}),u=(e,t)=>{let a;if(!i){try{a=localStorage.getItem(e)||void 0}catch(e){}return a||t}},b=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},f=e=>(e||(e=window.matchMedia(n)),e.matches?"dark":"light")}},function(e){e.O(0,[4803,6137,7648,521,2971,2117,1744],function(){return e(e.s=1417)}),_N_E=e.O()}]);

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.