import{jsxs as o,jsx as r}from"react/jsx-runtime";import{C as l}from"./category-card-4-zAq0hcsN.js";import{g as s,S as n}from"./section-DjkqMKZX.js";import{usePage as d}from"@inertiajs/react";import"./ui-components-B24mpb8o.js";import"next-themes";import"sonner";import"react";import"@radix-ui/react-label";import"class-variance-authority";import"@radix-ui/react-checkbox";import"lucide-react";import"@radix-ui/react-avatar";import"@radix-ui/react-dropdown-menu";import"@radix-ui/react-scroll-area";import"@radix-ui/react-popover";import"@radix-ui/react-radio-group";import"@radix-ui/react-dialog";import"@radix-ui/react-slot";import"clsx";import"@radix-ui/react-separator";import"@radix-ui/react-tooltip";import"@radix-ui/react-tabs";import"@radix-ui/react-accordion";import"@radix-ui/react-progress";import"@radix-ui/react-select";import"cmdk";import"@radix-ui/react-switch";import"react-day-picker";import"@radix-ui/react-slider";import"embla-carousel-react";import"@radix-ui/react-toggle-group";import"vaul";import"tailwind-merge";import"lucide-react/dynamic";import"./use-lang-Cw_jKJYs.js";import"./chunked-uploader-input-WemAY1Qi.js";import"axios";import"./input-error-BbsDx4-P.js";import"./loading-button-B_LaGOAp.js";import"./inertia-FIn3q7f1.js";import"./icon-picker-dialog-C9VejAFv.js";import"./icon-picker-DlQKexqz.js";import"./debounce-CWHP_ANh.js";import"./icon-picker-tooltip-BfucLgKc.js";import"./table-header-DXTJ1r7-.js";import"@tanstack/react-table";import"./table-page-size-B94DPeOD.js";import"./route-D0xh7FtZ.js";const at=()=>{const{props:i}=d(),{page:e,customize:p,topCategories:a}=i,t=s(e,"top_categories");return o(n,{customize:p,pageSection:t,containerClass:"py-20",contentClass:"relative",children:[o("div",{className:"relative z-10 flex flex-col items-center justify-between gap-10 md:flex-row",children:[o("div",{className:"w-full md:max-w-[360px]",children:[r("p",{className:"text-secondary-foreground mb-1 font-medium",children:t==null?void 0:t.title}),r("h2",{className:"mb-4 text-2xl font-bold sm:text-3xl",children:t==null?void 0:t.sub_title}),r("p",{className:"text-muted-foreground",children:t==null?void 0:t.description})]}),r("div",{className:"z-10 grid w-full max-w-[800px] grid-cols-1 gap-7 md:grid-cols-2 lg:grid-cols-3",children:a.map(m=>r(l,{category:m},m.id))})]}),r("div",{className:"after:pointer-events-none after:absolute after:top-1/2 after:left-1/2 after:h-[200px] after:w-[200px] after:-translate-x-1/2 after:-translate-y-1/2 after:rounded-full after:bg-[rgba(97,95,255,1))] after:blur-[290px] after:content-['']"})]})};export{at as default};
