"use client";
'use strict';

var clsx = require('clsx');
var tailwindMerge = require('tailwind-merge');
var img = require('@page-speed/img');
var jsxRuntime = require('react/jsx-runtime');

// lib/utils.ts
function cn(...inputs) {
  return tailwindMerge.twMerge(clsx.clsx(inputs));
}
var defaultYearSections = [
  {
    year: "2020",
    description: "Started with 10 founding partners who believed in our vision."
  },
  {
    year: "2022",
    description: "Expanded to 50+ partners across multiple industries."
  },
  {
    year: "2024",
    description: "Now serving 200+ partners globally with enterprise solutions."
  }
];
var defaultPartners = [
  {
    name: "Partner 1",
    logo: "https://cdn.ing/assets/files/record/286222/4w39lhwei0pa97up2wjnay3j96gh"
  },
  {
    name: "Partner 2",
    logo: "https://cdn.ing/assets/files/record/286252/xd7hyzbpkjwsauxm5j9yn9v44min"
  },
  {
    name: "Partner 3",
    logo: "https://cdn.ing/assets/files/record/286216/bw4zypgflisdtapxy0n4nbmsmtum"
  },
  {
    name: "Partner 4",
    logo: "https://cdn.ing/assets/files/record/286284/cz20wf2l2tjokrxu563pcml7pkmu"
  },
  {
    name: "Partner 5",
    logo: "https://cdn.ing/assets/files/record/286215/6wwi6yh2ax2nuo2vqa5gn9vozrgq"
  },
  {
    name: "Partner 6",
    logo: "https://cdn.ing/assets/files/record/286249/ff7m4wdw0zefj7d96v4ajmljuifc"
  },
  {
    name: "Partner 7",
    logo: "https://cdn.ing/assets/files/record/286220/t34kymqu5g9xr85o89cji3kfuypb"
  },
  {
    name: "Partner 8",
    logo: "https://cdn.ing/assets/files/record/286251/c64yb2c255uig6vpe4gdlnten7rv"
  },
  {
    name: "Partner 9",
    logo: "https://cdn.ing/assets/files/record/286209/4nowqz6c7v6vhzldvh9qdnhmkrwb"
  },
  {
    name: "Partner 10",
    logo: "https://cdn.ing/assets/files/record/286208/nay46vdmppxuznd7eg5jnnf4qjv5"
  },
  {
    name: "Partner 11",
    logo: "https://cdn.ing/assets/files/record/286214/pn9v9zz0de8jgz2mf8o1c11k8gxh"
  },
  {
    name: "Partner 12",
    logo: "https://cdn.ing/assets/files/record/286235/x4po9fpjkd6cdxnfxaqya6emwvea"
  }
];
function LogosPartnerGridSidebar({
  className,
  sidebarTitle = "Our Partners",
  sidebarDescription = "We've partnered with industry leaders to deliver exceptional value to our customers.",
  yearSections = defaultYearSections,
  partners = defaultPartners,
  optixFlowConfig
}) {
  return /* @__PURE__ */ jsxRuntime.jsx("section", { className: cn("py-32", className), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "container", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-12 lg:grid-cols-3 lg:gap-16", children: [
    /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "lg:sticky lg:top-32 lg:self-start", children: [
      /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "mb-4 text-3xl font-bold md:text-4xl", children: sidebarTitle }),
      /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-8 text-lg text-muted-foreground", children: sidebarDescription }),
      /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-6", children: yearSections.map((section, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-l-2 border-primary pl-4", children: [
        /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold text-primary", children: section.year }),
        /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: section.description })
      ] }, index)) })
    ] }),
    /* @__PURE__ */ jsxRuntime.jsx("div", { className: "lg:col-span-2", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-6 sm:grid-cols-3 md:grid-cols-4", children: partners.map((partner, index) => /* @__PURE__ */ jsxRuntime.jsx(
      "div",
      {
        className: "flex items-center justify-center rounded-lg border border-border bg-card p-6 transition-colors hover:bg-accent",
        children: /* @__PURE__ */ jsxRuntime.jsx(
          img.Img,
          {
            src: partner.logo,
            alt: `${partner.name} logo`,
            width: 80,
            height: 40,
            className: "h-10 w-auto object-contain grayscale transition-all hover:grayscale-0",
            optixFlowConfig
          }
        )
      },
      index
    )) }) })
  ] }) }) });
}

exports.LogosPartnerGridSidebar = LogosPartnerGridSidebar;
//# sourceMappingURL=logos-partner-grid-sidebar.cjs.map
//# sourceMappingURL=logos-partner-grid-sidebar.cjs.map