1import{e as m,Q as x,j as e,r as c,p as b,I as g,B as j,o as v,L as a}from"./index-QiiZ-xPT.js";import{B as y}from"./BrandSponsor-DEW6i_On.js";import{u as w}from"./useTranslation-XedzLvcK.js";import{C as N}from"./check-KTa2Xihg.js";import{M as C}from"./mail-Cr62Xklx.js";import{T as L,L as S}from"./twitter-BzZd48jL.js";const k=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],T=m("instagram",k);const I=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],P=m("youtube",I),t=()=>{window.scrollTo({top:0,behavior:"smooth"})},E=({size:s=20})=>e.jsx("svg",{width:s,height:s,viewBox:"0 0 24 24",fill:"currentColor",children:e.jsx("path",{d:"M15.386 2c-4.079 0-7.386 3.307-7.386 7.386 0 4.079 3.307 7.386 7.386 7.386 4.079 0 7.386-3.307 7.386-7.386C22.772 5.307 19.465 2 15.386 2zM1.228 22h3.772V2H1.228v20z"})}),l={products:[{href:"/packages",label:"Packages"},{href:"/products",label:"Self-Serve Overview"},{href:"/products/workplace-index",label:"Workplace Index"},{href:"/products/newsletter",label:"Newsletter-as-a-Service"},{href:"/products/portal",label:"Multi-Tenant Learning Portal"},{href:"/pricing",label:"Pricing"}],services:[{href:"/learning",label:"Learning Overview"},{href:"/learning/individual",label:"Individual Learning"},{href:"/learning/enterprise",label:"Enterprise E-Learning"},{href:"/learning/enterprise-pricing",label:"E-Learning Pricing"},{href:"/grounded-learning",label:"Grounded Learning"},{href:"/data-insights",label:"Data Insights Overview"},{href:"/data-transformation",label:"Data Transformation"},{href:"/data-insights/for-customers",label:"Data Insights: Customers"},{href:"/data-transformation/pricing",label:"Data Transformation Pricing"},{href:"/brand-storytelling",label:"Brand Storytelling"},{href:"/brand-storytelling/pricing",label:"Brand Storytelling Pricing"}],resources:[{href:"/podcasts",label:"Podcasts"},{href:"/thought-leadership",label:"Articles"},{href:"/resources",label:"Resource Library"},{href:"/guides",label:"Guides & Reports"},{href:"/guides/fair-workplace",label:"Free Executive Guide"},{href:"/case-studies",label:"Case Studies"},{href:"/roi-calculator",label:"ROI Calculator"},{href:"/compare",label:"Compare Solutions"},{href:"/jobs",label:"Job Board"}],industries:[{href:"/industries/healthcare",label:"Healthcare"},{href:"/industries/technology",label:"Technology"},{href:"/industries/finance",label:"Financial Services"},{href:"/industries/nonprofit",label:"Nonprofit"}],company:[{href:"/about",label:"About Us"},{href:"/network",label:"Our Partners"},{href:"/sponsor",label:"Become a Sponsor"},{href:"/case-studies",label:"Case Studies"},{href:"/merch",label:"Shop"},{href:"/contact",label:"Contact"},{href:"https://www.patreon.com/LivingCorporate",label:"Support Us",external:!0}],legal:[{href:"/privacy",label:"Privacy Policy"},{href:"/terms",label:"Terms of Service"}]},z=[{icon:L,href:"https://x.com/LivingCorporate",label:"Twitter"},{icon:S,href:"https://www.linkedin.com/company/living-corporate/",label:"LinkedIn"},{icon:T,href:"https://www.instagram.com/livingcorporate/",label:"Instagram"},{icon:P,href:"https://www.youtube.com/@LivingCorporate",label:"YouTube"},{icon:({size:s=20})=>e.jsx("svg",{width:s,height:s,viewBox:"0 0 24 24",fill:"currentColor",children:e.jsx("path",{d:"M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18
11.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"})}),href:"https://discord.gg/Q52Ggx8vV",label:"Discord"},{icon:E,href:"https://www.patreon.com/LivingCorporate",label:"Patreon"}];function B(){const{t:s}=w(),[o,d]=c.useState(""),[i,h]=c.useState(!1),[p,u]=c.useState(!1),{toast:n}=b(),f=async()=>{if(!o||!o.includes("@")){n({title:"Invalid email",description:"Please enter a valid email address.",variant:"destructive"});return}h(!0);try{if(!(await fetch("/api/newsletter/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:o})})).ok)throw new Error("Failed to subscribe");u(!0),d(""),n({title:"Subscribed!",description:"You've been added to our newsletter."})}catch{n({title:"Error",description:"Failed to subscribe. Please try again.",variant:"destructive"})}finally{h(!1)}};return e.jsxs("footer",{className:"bg-card border-t border-border","data-testid":"footer-main",children:[e.jsx(y,{zone:"footer"}),e.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-16",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-7 gap-12 mb-12",children:[e.jsxs("div",{className:"lg:col-span-2",children:[e.jsx("img",{src:"/assets/logo.png",alt:"Living Corporate",className:"h-8 w-auto dark:brightness-0 dark:invert"}),e.jsx("p",{className:"mt-4 text-muted-foreground text-sm max-w-xs",children:s("footer.description")}),e.jsxs("div",{className:"mt-6",children:[e.jsx("p",{className:"text-sm font-medium mb-3",children:s("footer.newsletter")}),p?e.jsxs("div",{className:"flex items-center gap-2 text-green-500",children:[e.jsx(N,{size:18}),e.jsx("span",{className:"text-sm",children:"Thanks for subscribing!"})]}):e.jsxs("div",{className:"flex gap-2",children:[e.jsx(g,{type:"email",placeholder:"[email protected]",className:"bg-background",value:o,onChange:r=>d(r.target.value),onKeyDown:r=>r.key==="Enter"&&f(),disabled:i,"data-testid":"input-newsletter-email"}),e.jsx(j,{className:"bg-primary text-primary-foreground shrink-0",onClick:f,disabled:i,"aria-label":"Subscribe to newsletter","data-testid":"button-newsletter-subscribe",children:i?e.jsx(v,{size:18,className:"animate-spin"}):e.jsx(C,{size:18})})]})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-display font-semibold mb-4",children:"Products"}),e.jsx("ul",{className:"space-y-3",children:l.products.map(r=>e.jsx("li",{children:e.jsx(a,{href:r.href,onClick:t,children:e.jsx("span",{className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":`footer-link-products-${r.href.split("/").pop()}`,children:r.label})})},r.href))})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-display font-semibold mb-4",children:s("nav.services")}),e.jsx("ul",{className:"space-y-3",children:l.services.map(r=>e.jsx("li",{children:e.jsx(a,{href:r.href,onClick:t,children:e.jsx("span",{className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:r.label})})},r.href))})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-display font-semibold mb-4",children:s("footer.resources")}),e.jsx("ul",{className:"space-y-3",children:l.resources.map(r=>e.jsx("li",{children:e.jsx(a,{href:r.href,onClick:t,children:e.jsx("span",{className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:r.label})})},r.href))})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-display font-semibold mb-4",children:s("nav.industries")}),e.jsx("ul",{className:"space-y-3",children:l.industries.map(r=>e.jsx("li",{children:e.jsx(a,{href:r.href,onClick:t,children:e.jsx("span",{className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:r.label})})},r.href))})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-display font-semibold mb-4",children:s("footer.company")}),e.jsx("ul",{className:"space-y-3",children:l.company.map(r=>e.jsx("li",{children:r.external?e.jsx("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-muted-foreground hover:text-foreground transition-colors","data-testid":`footer-link-${r.label.toLowerCase().replace(/\s+/g,"-")}`,children:r.label}):e.jsx(a,{href:r.href,onClick:t,children:e.jsx("span",{className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:r.label})})},r.href))})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-display font-semibold mb-4",children:"Legal"}),e.jsx("ul",{className:"space-y-3",children:l.legal.map(r=>e.jsx("li",{children:e.jsx(a,{href:r.href,onClick:t,children:e.jsx("span",{className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:r.label})})},r.href))})]})]}),e.jsxs("div",{className:"pt-8 border-t border-border flex flex-col md:flex-row justify-between items-center gap-4",children:[e.jsxs("p",{className:"text-sm text-muted-foreground",children:["© ",new Date().getFullYear()," Living Corporate. All rights reserved."]}),e.jsx("div",{className:"flex items-center gap-4",children:z.map(r=>e.jsx("a",{href:r.href,target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground hover:text-primary transition-colors","aria-label":r.label,"data-testid":`link-social-${r.label.toLowerCase()}`,children:e.jsx(r.icon,{size:20})},r.label))})]})]})]})}function Y(){return x()?null:e.jsx(B,{})}export{Y as F,T as I,P as Y};
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.