1import{c,j as e,B as n,l as j,r as i,h,o as T,p as W,T as v}from"./index-CNPsGjEa.js";import{S as $}from"./SEO-BK0024z7.js";import{N as M,F as L}from"./Footer-C2mwZlj3.js";import{B as D}from"./BlurBackground-KGxn8exw.js";import{S as O}from"./Animations-xGM3DZYN.js";import{A as y,a as w,g as N,b as k,c as C}from"./authorUtils-BYyWK4Tq.js";import{C as z}from"./calendar-CceEaajA.js";import{C as p}from"./clock-CTynZiS8.js";import{U as A}from"./users-8SPuLJdZ.js";import{C as _,d as U,e as V}from"./card-DfvhUNcI.js";import{L as I}from"./loader-circle-B_Dgc8V5.js";import{s as Z}from"./client-BomsTZso.js";import"./index-D9eVhfiJ.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const H=c("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const G=c("CirclePlay",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]]);/** 12 * @license lucide-react v0.462.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const J=c("CirclePlus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/** 17 * @license lucide-react v0.462.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const Y=c("Video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]),q=({webinar:t})=>e.jsx("div",{className:"bg-gradient-to-r from-chaincademy-purple to-chaincademy-purple-dark rounded-xl overflow-hidden shadow-xl",children:e.jsxs("div",{className:"grid md:grid-cols-2",children:[e.jsxs("div",{className:"p-8 md:p-12 text-white",children:[e.jsxs("div",{className:"flex items-center mb-4",children:[e.jsx(Y,{className:"h-5 w-5 mr-2"}),e.jsx("span",{className:"font-medium",children:"Featured Webinar"})]}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-4",children:t.title}),e.jsx("p",{className:"opacity-90 mb-6",children:t.description}),e.jsxs("div",{className:"flex flex-wrap gap-y-4 gap-x-6 mb-8",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx(z,{className:"h-5 w-5 mr-2"}),e.jsx("span",{children:t.date})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(p,{className:"h-5 w-5 mr-2"}),e.jsx("span",{children:t.time})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx(A,{className:"h-5 w-5 mr-2"}),e.jsxs("span",{children:[t.attendees,"+ registered"]})]})]}),e.jsxs("div",{className:"flex items-center mb-8",children:[e.jsxs(y,{className:"w-12 h-12 mr-4",children:[e.jsx(w,{src:N(t.presenter),alt:t.presenter}),e.jsx(k,{className:"bg-white text-chaincademy-purple",children:C(t.presenter)})]}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium",children:t.presenter}),e.jsx("p",{className:"text-sm opacity-90",children:t.role})]})]}),e.jsxs(n,{size:"lg",className:"bg-white text-chaincademy-purple hover:bg-gray-100",onClick:()=>t.youtubeUrl&&window.open(t.youtubeUrl,"_blank"),children:[e.jsx(G,{className:"mr-2 h-5 w-5"}),"Watch Recording"]})]}),e.jsx("div",{className:"h-64 md:h-auto bg-cover bg-center",style:{backgroundImage:`url(${t.image||"https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d"})`}})]})}),K=({featuredWebinar:t})=>{const{t:r}=j();return e.jsxs("section",{className:"container mx-auto px-4 md:px-8 mb-16",children:[e.jsxs(O,{children:[e.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold mb-6 text-center",children:[r("webinars.title")," ",e.jsx("span",{className:"text-chaincademy-purple",children:r("webinars.titleHighlight")})," ",r("webinars.titleEnd")]}),e.jsx("p",{className:"text-xl text-center max-w-3xl mx-auto mb-12 text-gray-700",children:r("webinars.subtitle")})]}),e.jsx(q,{webinar:t})]})},Q=({webinar:t})=>e.jsxs(_,{className:"hover:shadow-lg transition-shadow",children:[e.jsx("div",{className:"h-48 bg-cover bg-center relative",style:{backgroundImage:`url(${t.image})`},children:e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/70 to-transparent flex items-end p-4",children:e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center text-white mb-1",children:[e.jsx(z,{className:"h-4 w-4 mr-1"}),e.jsx("span",{className:"text-sm",children:t.date}),t.time&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-1 h-1 bg-white rounded-full mx-2"}),e.jsx(p,{className:"h-4 w-4 mr-1"}),e.jsx("span",{className:"text-sm",children:t.time})]})]}),e.jsxs("div",{className:"bg-chaincademy-purple text-white text-xs px-2 py-1 rounded-full inline-flex items-center",children:[e.jsx(p,{className:"h-3 w-3 mr-1"}),t.duration]})]})})}),e.jsxs(U,{className:"p-6",children:[e.jsx("h3",{className:"text-xl font-bold mb-2",children:t.title}),e.jsx("p",{className:"text-gray-600 text-sm mb-4",children:t.description}),e.jsxs("div",{className:"flex items-center mb-4",children:[e.jsxs(y,{className:"w-10 h-10 mr-3",children:[e.jsx(w,{src:N(t.presenter),alt:t.presenter}),e.jsx(k,{className:"bg-gray-200 text-gray-700",children:C(t.presenter)})]}),e.jsxs("div",{children:[e.jsx("p",{className:"font-medium text-sm",children:t.presenter}),t.role&&e.jsx("p",{className:"text-xs text-gray-500",children:t.role})]})]})]}),e.jsxs(V,{className:"px-6 py-4 border-t border-gray-100 flex justify-between",children:[e.jsxs("div",{className:"flex items-center text-gray-500 text-sm",children:[e.jsx(A,{className:"h-4 w-4 mr-1"}),e.jsxs("span",{children:[t.attendees," attending"]})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(n,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",children:e.jsx(H,{className:"h-4 w-4"})}),e.jsx(n,{className:"bg-red-500 hover:bg-red-600 text-white cursor-not-allowed",disabled:!0,children:"Sold Out"})]})]})]},t.id),X=({webinars:t})=>e.jsxs("section",{className:"container mx-auto px-4 md:px-8 mb-16",children:[e.jsxs("div",{className:"flex justify-between items-center mb-8",children:[e.jsx("h2",{className:"text-2xl font-bold",children:"Past Webinars"}),e.jsx(n,{variant:"outline",children:"View All"})]}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:t.map(r=>e.jsx(Q,{webinar:r},r.id))})]}),ee=T("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive",warning:"border-amber-500/30 text-amber-800 [&>svg]:text-amber-500"}},defaultVariants:{variant:"default"}}),F=i.forwardRef(({className:t,variant:r,...s},a)=>e.jsx("div",{ref:a,role:"alert",className:h(ee({variant:r}),t),...s}));F.displayName="Alert";const te=i.forwardRef(({className:t,...r},s)=>e.jsx("h5",{ref:s,className:h("mb-1 font-medium leading-none tracking-tight",t),...r}));te.displayName="AlertTitle";const P=i.forwardRef(({className:t,...r},s)=>e.jsx("div",{ref:s,className:h("text-sm [&_p]:leading-relaxed",t),...r}));P.displayName="AlertDescription";const re=({email:t,setEmail:r,isLoading:s,clearError:a})=>e.jsx("div",{className:"ml-field-group ml-field-email ml-validate-email ml-validate-required w-full",children:e.jsx("input",{type:"email",className:"form-control w-full","data-inputmask":"",name:"fields[email]",placeholder:"Your email",autoComplete:"email",value:t,onChange:l=>{r(l.target.value),a&&a()},disabled:s})}),se=({isLoading:t,label:r="Get Updates"})=>e.jsx(n,{type:"submit",disabled:t,className:"btn-primary w-full text-neutral-950",children:t?e.jsxs(e.Fragment,{children:[e.jsx(I,{className:"mr-2 h-4 w-4 animate-spin"}),"Submitting..."]}):r}),ae=()=>e.jsx("div",{className:"ml-form-embedMailerLite-GDPR",children:e.jsxs("p",{className:"text-xs text-gray-500 mt-2",children:["By clicking below to get updates, you acknowledge that the information you provide will be processed in accordance with our"," ",e.jsx("span",{children:e.jsx("a",{href:"https://thechaincademy.com/privacy-policy",target:"_blank",rel:"noopener noreferrer",className:"text-chaincademy-purple hover:underline",children:"Privacy Policy"})}),"."]})}),ie=()=>e.jsx("div",{className:"ml-form-checkboxRow ml-validate-required",children:e.jsxs("label",{className:"checkbox flex items-center",children:[e.jsx("input",{type:"checkbox",className:"mr-2"}),e.jsx("span",{className:"text-xs text-gray-500",children:"Opt in to receive news and updates."})]})}),oe=({formId:t,portalId:r})=>e.jsxs(e.Fragment,{children:[e.jsx("style",{type:"text/css",children:'@import url("https://assets.mlcdn.com/fonts.css?version=1741253");'}),e.jsx("style",{type:"text/css",children:` 22 /* LOADER */ 23 .ml-form-embedSubmitLoad { 24 display: inline-block;
25 width: 20px; 26 height: 20px; 27 } 28 29 .g-recaptcha { 30 transform: scale(1); 31 -webkit-transform: scale(1); 32 transform-origin: 0 0; 33 -webkit-transform-origin: 0 0; 34 } 35 36 .sr-only { 37 position: absolute; 38 width: 1px; 39 height: 1px; 40 padding: 0; 41 margin: -1px; 42 overflow: hidden; 43 clip: rect(0,0,0,0); 44 border: 0; 45 } 46 47 .ml-form-embedSubmitLoad:after { 48 content: " "; 49 display: block; 50 width: 11px; 51 height: 11px; 52 margin: 1px; 53 border-radius: 50%; 54 border: 4px solid #fff; 55 border-color: #ffffff #ffffff #ffffff transparent; 56 animation: ml-form-embedSubmitLoad 1.2s linear infinite; 57 } 58 @keyframes ml-form-embedSubmitLoad { 59 0% { 60 transform: rotate(0deg); 61 } 62 100% { 63 transform: rotate(360deg); 64 } 65 } 66 `}),e.jsx("style",{type:"text/css",children:` 67 #mlb2-${t}.ml-form-embedContainer { 68 box-sizing: border-box; 69 display: table; 70 margin: 0 auto; 71 position: static; 72 width: 100% !important; 73 } 74 #mlb2-${t}.ml-form-embedContainer h4, 75 #mlb2-${t}.ml-form-embedContainer p, 76 #mlb2-${t}.ml-form-embedContainer span, 77 #mlb2-${t}.ml-form-embedContainer button { 78 text-transform: none !important; 79 letter-spacing: normal !important; 80 } 81 `}),e.jsx("style",{type:"text/css",children:` 82 #mlb2-${t}.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button { 83 background-color: var(--primary) !important; 84 border-radius: 0.5rem !important; 85 font-weight: 500 !important; 86 border: none !important; 87 height: 2.5rem !important; 88 padding: 0.5rem 1rem !important; 89 cursor: pointer; 90 transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; 91 transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 92 transition-duration: 150ms; 93 } 94 #mlb2-${t}.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button:hover { 95 background-color: var(--primary-foreground) !important; 96 color: var(--primary) !important; 97 opacity: 0.9 !important; 98 } 99 `}),e.jsx("style",{type:"text/css",children:` 100 .ml-mobileButton-horizontal { display: none; } 101 #mlb2-${t} .ml-mobileButton-horizontal button { 102 background-color: var(--primary) !important; 103 border: none !important; 104 border-radius: 0.5rem !important; 105 height: 2.5rem !important; 106 font-weight: 500 !important; 107 cursor: pointer; 108 transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; 109 transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); 110 transition-duration: 150ms; 111 } 112 #mlb2-${t} .ml-mobileButton-horizontal button:hover { 113 background-color: var(--primary-foreground) !important; 114 color: var(--primary) !important; 115 opacity: 0.9 !important; 116 } 117 `}),e.jsx("style",{type:"text/css",children:` 118 @media only screen and (max-width: 400px) { 119 .ml-form-embedWrapper.embedDefault, .ml-form-embedWrapper.embedPopup { width: 100%!important; } 120 .ml-form-formContent.horozintalForm { float: left!important; } 121 .ml-form-formContent.horozintalForm .ml-form-horizontalRow { height: auto!important; width: 100%!important; float: left!important; } 122 .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-input-horizontal { width: 100%!important; } 123 .ml-form-formContent.horozintalForm .ml-form-horizontalRow .ml-input-horizontal > div { padding-right: 0px!important; padding-bottom: 10px; } 124 .ml-form-formContent.horozintalForm .ml-button-horizontal { width: 100%!important; } 125 .ml-form-formContent.horozintalForm .ml-button-horizontal.labelsOn { padding-top: 0px!important; } 126 } 127 `})]}),ne=t=>{if(!t.trim())return{valid:!1,errorMessage:"Please enter your email address"};const r=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,s=[/<script/i,/javascript:/i,/on\w+\s*=/i,/<iframe/i,/<object/i,/<embed/i,/eval\(/i,/expression\(/i];for(const a of s)if(a.test(t))return{valid:!1,errorMessage:"Invalid characters detected in email address"};return t.length>254?{valid:!1,errorMessage:"Email address is too long"}:r.test(t)?{valid:!0}:{valid:!1,errorMessage:"Please enter a valid email address"}},le=({formId:t,portalId:r,successCallback:s})=>{const[a,l]=i.useState(!1),[x,m]=i.useState(null),[d,u]=i.useState(""),{toast:S}=W(),B=()=>m(null),E=async f=>{f.preventDefault();const b=ne(d);if(!b.valid){m(b.errorMessage||"Invalid email");return}l(!0),m(null);try{const o=f.currentTarget,R=new FormData(o),g=o.getAttribute("action");if(!g)throw new Error("Form action not found");if(await Z.from("leads").insert({email:d,source:"newsletter",page_url:window.location.href}),!(await fetch(g,{method:"POST",body:R})).ok)throw new Error("Failed to subscribe. Please try again later.");S({title:"Success!",description:"You have successfully joined our subscriber list."}),window[s]&&window[s](),u("")}catch(o){m(o instanceof Error?o.message:"An unexpected error occurred. Please try again.")}finally{l(!1)}};return e.jsxs("div",{className:"mt-6",children:[e.jsx(oe,{formId:t,portalId:r}),x&&e.jsx(F,{variant:"destructive",className:"mb-4",children:e.jsx(P,{children:x})}),e.jsx("div",{id:`mlb2-${t}`,className:"ml-form-embedContainer ml-subscribe-form ml-subscribe-form-${formId}",children:e.jsx("div",{className:"ml-form-align-center",children:e.jsxs("div",{className:"ml-form-embedWrapper embedForm",children:[e.jsxs("div",{className:"ml-form-embedBody ml-form-embedBodyHorizontal row-form",children:[e.jsx("div",{className:"ml-form-embedContent",children:e.jsx("h4",{})}),e.jsxs("form",{className:"ml-block-form",action:`https://assets.mailerlite.com/jsonp/${r}/forms/${t}/subscribe`,"data-code":"",method:"post",target:"_blank",onSubmit:E,children:[e.jsx("div",{className:"ml-form-formContent horozintalForm",children:e.jsxs("div",{className:"ml-form-horizontalRow",children:[e.jsx("div",{className:"ml-input-horizontal w-full",children:e.jsx("div",{style:{width:"100%"},className:"horizontal-fields",children:e.jsx(re,{email:d,setEmail:u,isLoading:a,clearError:B})})}),e.jsx("div",{className:"ml-button-horizontal primary w-full mt-4",children:e.jsx(se,{isLoading:a})})]})}),e.jsxs("div",{className:"ml-form-embedPermissions",children:[e.jsx("div",{className:"ml-form-embedPermissionsContent horizontal",children:e.jsx("div",{className:"ml-form-embedPermissionsOptions"})}),e.jsx(ae,{}),e.jsx("div",{className:"mt-4",children:e.jsx(ie,{})})]}),e.jsx("input",{type:"hidden",name:"ml-submit",value:"1"}),e.jsx("input",{type:"hidden",name:"anticsrf",value:"true"})]})]}),e.jsx("div",{className:"ml-form-successBody row-success",style:{display:"none"},children:e.jsxs("div",{className:"ml-form-successContent",children:[e.jsx("h4",{children:"Thank y
127ou!"}),e.jsx("p",{children:"You have successfully joined our subscriber list."})]})})]})})})]})},me=()=>(i.useEffect(()=>{const t=document.getElementById("ml-webform-script");t&&t.remove();const r=document.createElement("script");return r.id="ml-webform-script",r.src="https://groot.mailerlite.com/js/w/webforms.min.js?v176e10baa5e7ed80d35ae235be3d5024",r.async=!0,r.onload=()=>{window.fetch&&fetch("https://assets.mailerlite.com/jsonp/1304365/forms/148805685157561394/takel")},document.body.appendChild(r),window.ml_webform_success_148805685157561394=function(){try{window.top.location.href="https://thechaincademy.com"}catch{window.location.href="https://thechaincademy.com"}},()=>{t&&t.remove()}},[]),e.jsxs("section",{className:"py-16 container mx-auto px-4 md:px-8",children:[e.jsx("div",{className:"bg-white border border-gray-200 rounded-lg p-8 md:p-12 shadow-md",children:e.jsxs("div",{className:"text-center max-w-2xl mx-auto",children:[e.jsx(J,{className:"h-12 w-12 mx-auto text-chaincademy-purple mb-4"}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold mb-4",children:"Get notified about upcoming webinars"}),e.jsx("p",{className:"text-gray-600 mb-8",children:"Don't miss our live events! Subscribe to our newsletter and be the first to know about new webinars and educational content."}),e.jsx("div",{className:"max-w-md mx-auto",children:e.jsx(le,{formId:"148805685157561394",portalId:"1304365",successCallback:"ml_webform_success_148805685157561394"})})]})}),e.jsx(v,{})]})),ce=[{id:1,title:"Building Scalable Frontend Architectures",description:"Learn how to structure large-scale React applications for maintainability and performance.",date:"June 25, 2023",time:"11:00 AM EDT",duration:"90 min",presenter:"Nelson Costa",role:"CTO & Co-Founder at The Chaincademy",attendees:245,image:"https://images.unsplash.com/photo-1461749280684-dccba630e2f6"},{id:2,title:"Introduction to Smart Contract Development",description:"A beginner-friendly guide to writing secure and efficient smart contracts on Ethereum.",date:"July 2, 2023",time:"2:00 PM EDT",duration:"60 min",presenter:"Nelson Costa",role:"CTO & Co-Founder at The Chaincademy",attendees:189,image:"https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d"},{id:3,title:"Microservices Patterns and Best Practices",description:"Practical strategies for implementing and managing microservices architectures.",date:"July 10, 2023",time:"1:00 PM EDT",duration:"120 min",presenter:"Nelson Costa",role:"CTO & Co-Founder at The Chaincademy",attendees:312,image:"https://images.unsplash.com/photo-1488590528505-98d2b5aba04b"}],de={title:"Build your MVP with AI webinar for Women",description:"Whether you're a developer, designer, or visionary product thinker, this one-hour interactive session is designed to help you bring your ideas to lifeâfast. Learn how to use Lovable to design user-first experiences, build a working MVP using Replit, leverage AI to accelerate product development, and go from idea to prototype with speed and clarity.",date:"October 17, 2025",time:"1:00 PM UK time",attendees:150,presenter:"Rafaela Azevedo",role:"CEO & Founder at The Chaincademy",image:"/lovable-uploads/mvp-webinar-women-cover.png",youtubeUrl:"https://youtube.com/live/cEMdQHlxNBs?feature=share"},ze=()=>{const{t}=j();return e.jsxs("div",{className:"min-h-screen w-full overflow-hidden",children:[e.jsx($,{title:t("seo.webinars.title"),description:t("seo.webinars.description"),canonicalUrl:"/webinars"}),e.jsx(D,{}),e.jsx(M,{}),e.jsxs("main",{className:"pt-32 pb-16",children:[e.jsx(K,{featuredWebinar:de}),e.jsx(X,{webinars:ce}),e.jsx(me,{})]}),e.jsx(L,{}),e.jsx(v,{})]})};export{ze 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.