import{jsxs as o,jsx as r}from"react/jsx-runtime";import{C as s}from"./category-card-2-07fQlNb8.js";import{g as d,S as l}from"./section-DjkqMKZX.js";import{usePage as f}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}=f(),{page:p,customize:e,topCategories:a}=i,t=d(p,"top_categories");return o(l,{customize:e,pageSection:t,containerClass:"relative z-10 py-20",children:[o("div",{className:"mx-auto mb-10 text-center md:max-w-2xl",children:[r("p",{className:"text-secondary-foreground mb-1 font-medium",children:t==null?void 0:t.title}),r("h2",{className:"mb-4 text-3xl font-bold sm:text-4xl",children:t==null?void 0:t.sub_title}),r("p",{className:"text-muted-foreground",children:t==null?void 0:t.description})]}),r("div",{className:"relative z-10 grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4",children:a.map(m=>r(s,{category:m},m.id))}),r("div",{className:"after:pointer-events-none after:absolute after:right-5 after:-bottom-10 after:h-[200px] after:w-[200px] after:rounded-full after:bg-[#FFF5CC] after:blur-[250px] after:content-[''] md:after:h-[310px] md:after:w-[310px] dark:after:bg-[#fff5cc6d]"})]})};export{at as default};
