import{u as n,j as e,L as o}from"./vendor-BKmmeuxg.js";import{B as f}from"./button-gradient-primary-CuKxTw1k.js";import{g as x,S as d,a as c}from"./section-Bz0LxI_C.js";import{c as m}from"./utils-DxSsnXxD.js";import"./button-BpNwv2aE.js";import"./index-WW_1X1qx.js";import"./dialog-B2gN9MvT.js";import"./use-lang-YfV87_zl.js";import"./chunked-uploader-input-D0XPVOTS.js";import"./input-DM0goJrn.js";import"./index-D9-QKOod.js";import"./input-error-LaPr_4wd.js";import"./loading-button-BnTVAMJ7.js";import"./label-HmIcv5Yx.js";import"./textarea-CyndvowL.js";import"./inertia-SZXqLvQm.js";import"./card-D9_SJYq6.js";import"./icon-picker-dialog-AqyWbPod.js";import"./icon-picker-iXyBXP6r.js";import"./debounce-CWHP_ANh.js";import"./tooltip-BsX7Z6vz.js";import"./scroll-area-C8HGru-R.js";import"./table-header-DVkEnG6Y.js";import"./table-DWOXv4Pu.js";import"./table-page-size-OCfjNXER.js";import"./dropdown-menu-DO-po5c1.js";import"./route-B4ZMN77y.js";import"./avatar-j28afJTV.js";const M=()=>{var s,i,l;const{props:r}=n(),t=x(r.page,"hero");return e.jsxs(d,{customize:r.customize,pageSection:t,containerClass:m("py-20"),contentClass:m("flex flex-col items-center justify-between gap-20 md:gap-10 lg:flex-row"),children:[e.jsxs("div",{className:"animate-fade-in relative w-full space-y-8 md:max-w-[480px] lg:space-y-10",children:[e.jsxs("div",{className:"relative z-10",children:[e.jsx("p",{className:"text-secondary-foreground mb-2 text-lg font-medium",children:t==null?void 0:t.title}),e.jsx("h1",{className:"text-3xl leading-tight font-bold md:text-4xl lg:text-[44px] lg:leading-14",children:t==null?void 0:t.sub_title}),e.jsx("p",{className:"mt-5 text-lg",children:t==null?void 0:t.description})]}),((s=t==null?void 0:t.properties)==null?void 0:s.button_text)&&e.jsx(f,{asChild:!0,shadow:!1,className:"relative z-10 mb-10 md:mb-14",children:e.jsx(o,{href:((i=t==null?void 0:t.properties)==null?void 0:i.button_link)||"",children:(l=t==null?void 0:t.properties)==null?void 0:l.button_text})}),e.jsx("div",{className:"relative z-10 flex items-center justify-center gap-2.5 lg:justify-start",children:c(t).map((a,p)=>e.jsxs("div",{className:"animate-fade-in p-2.5",style:{animationDelay:`${p*.2}s`},children:[e.jsx("h6",{className:"text-lg font-bold lg:text-xl",children:a.value}),e.jsx("p",{className:"text-muted-foreground text-sm",children:a.label})]},`item${a.number}`))}),e.jsx("div",{className:"after:pointer-events-none after:absolute after:top-0 after:-right-20 after:h-[240px] after:w-[240px] after:rounded-full after:bg-[rgba(97,95,255,1))] after:blur-[290px] after:content-['']"})]}),e.jsxs("div",{className:"relative flex w-full max-w-[680px] items-center justify-center lg:justify-end",children:[e.jsx("img",{src:(t==null?void 0:t.thumbnail)||"/assets/images/intro/default/hero-image.png",alt:"Student learning online",className:"relative z-10 w-full"}),e.jsx("div",{className:"after:pointer-events-none after:absolute after:right-0 after:bottom-0 after:h-[240px] after:w-[240px] after:rounded-full after:bg-[rgba(0,167,111,1)] after:blur-[290px] after:content-['']"})]})]})};export{M as default};