1import{i as d,a as c,o as m}from"../chunks/chunk-sX25yQEQ.js";import{j as t}from"../chunks/chunk-lfF9-IcU.js";import{u as p}from"../chunks/chunk-CiPo4PtM.js";import{A as u}from"../chunks/chunk-C9JakPCn.js";import{j as h}from"../chunks/chunk-B-Yu8VIK.js";import"../chunks/chunk-HOK0d36S.js";/* empty css */import"../chunks/chunk-C1bZE9qg.js";const i="https://www.codeandtrust.com/events";function o(e){if(!(e!=null&&e.trim()))return null;try{const r=new URL(e,i);return r.protocol!=="https:"||r.username||r.password||r.port||!r.hostname.includes(".")||/^\d+(\.\d+){3}$/.test(r.hostname)||r.hostname.includes(":")||r.hostname.endsWith(".local")||r.hostname.endsWith(".localhost")?null:r.href}catch{return null}}function x(e,r){if(!e||!r||!Number.isFinite(Date.parse(e)))return null;try{return new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",timeZone:r})}catch{return null}}function l(e,r){return x(e,r??"UTC")??"TBD"}function f(e){var a,n,s;const r=((a=e.location)==null?void 0:a.toLowerCase().includes("online"))||((n=e.location)==null?void 0:n.toLowerCase().includes("virtual"))||((s=e.location)==null?void 0:s.toLowerCase().includes("webinar"));return{"@context":"https://schema.org","@type":"Event","@id":`${i}#event-${e.id}`,identifier:e.id,name:e.name,offers:e.rsvp_enabled&&o(e.cta_href)?{"@type":"Offer",url:o(e.cta_href)}:void 0,startDate:e.event_date??void 0,location:r?{"@type":"VirtualLocation",url:"https://www.codeandtrust.com/events"}:{"@type":"Place",name:e.location??"Code and Trust HQ",address:e.location??"Mt Pleasant, SC"},description:e.description??e.name,eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:r?"https://schema.org/OnlineEventAttendanceMode":"https://schema.org/OfflineEventAttendanceMode",organizer:{"@type":"Organization",name:"Code and Trust",url:"https://www.codeandtrust.com"}}}function v({event:e}){const r=o(e.cta_href);return t.jsxs("article",{id:`event-${e.id}`,"data-event-id":e.id,className:"bg-white border border-[var(--color-border-subtle)] rounded-xl p-6 flex flex-col gap-4 hover:border-[var(--color-accent)] transition-colors",children:[t.jsx("h3",{"data-event-name":!0,className:"text-lg font-bold text-[var(--color-text-primary)]",style:{fontFamily:"var(--font-heading)"},children:e.name}),t.jsxs("div",{className:"flex flex-wrap gap-x-4 gap-y-1 text-sm text-[var(--color-text-muted)]",children:[t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsx("svg",{className:"w-4 h-4 flex-shrink-0",fill:"none",stroke:"currentColor",strokeWidth:1.5,viewBox:"0 0 24 24","aria-hidden":"true",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"})}),t.jsx("time",{"data-event-start":!0,dateTime:e.event_date??void 0,children:l(e.event_date,e.timezone)})]}),e.location&&t.jsxs("span",{className:"flex items-center gap-1",children:[t.jsxs("svg",{className:"w-4 h-4 flex-shrink-0",fill:"none",stroke:"currentColor",strokeWidth:1.5,viewBox:"0 0 24 24","aria-hidden":"true",children:[t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}),t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z"})]}),e.location]})]}),e.description&&t.jsx("p",{className:"text-[var(--color-text-secondary)] text-sm leading-relaxed flex-1",children:e.description}),e.rsvp_enabled&&r&&t.jsx("a",{"data-event-registration":!0,href:r,className:"inline-block self-start bg-[var(--color-accent)] hover:bg-[var(--color-accent-hover)] text-white rounded-lg px-5 py-2.5 text-sm font-semibold transition-colors",style:{fontFamily:"var(--font-nav)"},children:"RSVP â"})]})}function g({event:e}){return t.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-1 py-3 border-b border-[var(--color-border-subtle)] last:border-0",children:[t.jsx("span",{className:"text-[var(--color-text-secondary)] font-medium text-sm",children:e.name}),t.jsxs("span",{className:"text-[var(--color-text-muted)] text-xs whitespace-nowrap",children:[l(e.event_date,e.timezone),e.location?` · ${e.location}`:""]})]})}function y(){const{upcoming:e,past:r}=p();return t.jsxs(t.Fragment,{children:[e.map(a=>t.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:h(f(a))}},`ld-event-${a.id}`)),t.jsx("section",{className:"py-20 px-6 bg-white",children:t.jsxs("div",{className:"max-w-4xl mx-auto",children:[t.jsx("p",{className:"text-[var(--color-accent)] text-sm font-semibold uppercase tracking-widest mb-4",style:{fontFamily:"var(--font-heading)"},children:"Live Learning"}),t.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-[var(--color-text-primary)] mb-6",style:{fontFamily:"var(--font-heading)"},children:"Events & Workshops"}),t.jsx("p",{className:"text-xl text-[var(--color-text-secondary)] leading-relaxed max-w-2xl",children:"Practical sessions on AI implementation. Not hype, not theory. Learn what's actually working for operations teams in 2026."})]})}),t.jsx("section",{className:"py-12 px-6 bg-[var(--color-bg-card)] border-y border-[var(--color-border-subtle)]",children:t.jsxs("div",{className:"max-w-4xl mx-auto",children:[t.jsx("h2",{className:"text-2xl font-bold text-[var(--color-text-primary)] mb-3",style:{fontFamily:"var(--font-heading)"},children:"What events does Code and Trust host?"}),t.jsx(u,{answer:"Code and Trust hosts quarterly AI implementation workshops, monthly founder office hours, and industry-specific webinars on AI adoption for operations teams. Events are free for enterprise prospects and early-stage founders. Past events have drawn 50â200 attendees from the healthcare, fintech, and manufacturing sectors."})]})}),t.jsx("section",{className:"py-20 px-6 bg-white",children:t.jsxs("div",{className:"max-w-6xl mx-auto",children:[t.jsx("h2",{className:"text-3xl font-bold text-[var(--color-text-primary)] mb-10",style:{fontFamily:"var(--font-heading)"},children:"Upcoming Events"}),e.length>0?t.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:e.map(a=>t.jsx(v,{event:a},a.id))}):t.jsxs("div",{className:"bg-[var(--color-bg-card)] border border-[var(--color-border-subtle)] rounded-xl p-10 text-center max-w-xl mx-auto",children:[t.jsx("p",{className:"text-[var(--color-text-muted)] text-lg mb-2",children:"No upcoming events scheduled."}),t.jsxs("p",{className:"text-[var(--color-text-muted)] text-sm mb-6",children:["Follow us on"," ",t.jsx("a",{href:"https://www.linkedin.com/company/codeandtrust",target:"_blank",rel:"noopener noreferrer",className:"text-[var(--color-accent)] hover:underline",children:"LinkedIn"})," ","for announcements, or sign up below to get notified."]}),t.jsx("a",{href:"/contact",className:"inline-block bg-[var(--color-accent)] hover:bg-[var(--color-accent-hover)] text-white rounded-lg px-6 py-3 text-sm font-semibold transition-colors",style:{fontFamily:"var(--font-heading)"},children:"Notify me of upcoming events"})]})]})}),r.length>0&&t.jsx("section",{className:"py-16 px-6 bg-[var(--color-bg-card)] border-t border-[var(--color-border-subtle)]",children:t.jsxs("div",{className:"max-w-4xl mx-auto",children:[t.jsx("h2",{className:"text-2xl font-bold text-[var(--color-text-primary)] mb-6",style:{fontFamily:"var(--font-heading)"},children:"Past Events"}),t.jsx("div",{children:r.map(a=>t.jsx(g,{event:a},a.id))})]})})]})}const b=Object.freeze(Object.defineProperty({__proto__:null,default:y},Symbol.toStringTag,{value:"Module"})),L={hasServerOnlyHook:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!0}},isClientRuntimeLoaded:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!0}},onBeforeRenderEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},dataEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:{server:!0}}},guardEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},onRenderClient:{type:"standard",definedAtData:{filePathToShowToUser:"vike-react/__internal/integration/onRenderClient",fileExportPathToShowToUser:[]},valueSerialized:{type:"pointer-import",value:m}},Page:{type:"standard",definedAtData:{filePathToShowToUser:"/src/pages/events/+Page.tsx",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:b}},hydrationCanBeAborted:{type:"standard",definedAtData:{filePathToShowToUser:"vike-react/config",fileExportPathToShowToUser:["default","hydrationCanBeAborted"]},valueSerialized:{type:"js-serialized",value:!0}},Layout:{type:"cumulative",definedAtData:[{filePathToShowToUser:"/src/pages/+Layout.t
1sx",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"plus-file",exportValues:c}]},Loading:{type:"standard",definedAtData:{filePathToShowToUser:"vike-react/__internal/integration/Loading",fileExportPathToShowToUser:[]},valueSerialized:{type:"pointer-import",value:d}},robots:{type:"standard",definedAtData:{filePathToShowToUser:"/src/pages/events/+config.ts",fileExportPathToShowToUser:["default","robots"]},valueSerialized:{type:"js-serialized",value:"noindex, follow"}}};export{L as configValuesSerialized};
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.