"use client";
import { j as e } from "../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import n from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.mjs";
import "react";
import { ReactComponent as m } from "../../assets/images/GetHyperPlay.svg.mjs";
import { LanguageSelector as _ } from "../LanguageSelector/index.mjs";
import r from "./Footer.module.scss.mjs";
function u({
  langSelectorProps: i,
  address: h,
  /* eslint-disable-next-line @typescript-eslint/no-explicit-any */
  Link: s = (a) => /* @__PURE__ */ e.jsx("a", { ...a }),
  linkProps: l,
  i18n: o = {
    company: "COMPANY",
    brand: "BRAND",
    privacyPolicy: "PRIVACY POLICY",
    termsOfService: "TERMS OF SERVICE",
    cookiePolicy: "COOKIE POLICY",
    social: "Social",
    resources: "RESOURCES",
    documentation: "DOCUMENTATION",
    badges: "BADGES",
    getTheApp: "Get the App",
    getHyperPlayApp: "Get HyperPlay Apps",
    developerAgreement: "DEVELOPER AGREEMENT",
    careers: "CAREERS"
  },
  flags: t = {
    showLangSelector: !1,
    showGetTheApp: !0,
    showBrandLink: !0,
    showMetaMaskLink: !0,
    showCareersLink: !0
  },
  ...d
}) {
  let a = null, c = null;
  return t.showLangSelector && (a = /* @__PURE__ */ e.jsx(_, { ...i })), t.showGetTheApp && (c = /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
    /* @__PURE__ */ e.jsx("h2", { className: r.footer__title, children: o.getTheApp }),
    /* @__PURE__ */ e.jsx("div", { className: r.footer__links, children: /* @__PURE__ */ e.jsx(
      s,
      {
        className: r.footer__link,
        ...l.downloads,
        children: /* @__PURE__ */ e.jsx(m, {})
      }
    ) })
  ] })), /* @__PURE__ */ e.jsxs("div", { ...d, className: n(r.root), children: [
    /* @__PURE__ */ e.jsxs("div", { className: n(r.footer), children: [
      /* @__PURE__ */ e.jsxs("div", { className: r.footer__column, children: [
        /* @__PURE__ */ e.jsx("h2", { className: r.footer__title, children: o.company }),
        /* @__PURE__ */ e.jsxs("div", { className: r.footer__links, children: [
          /* @__PURE__ */ e.jsx(
            s,
            {
              className: r.footer__link,
              href: "https://docs.hyperplay.xyz/faq",
              target: "_blank",
              rel: "noopener noreferrer",
              children: "FAQ"
            }
          ),
          t.showBrandLink ? /* @__PURE__ */ e.jsx(
            "a",
            {
              className: r.footer__link,
              href: "https://github.com/HyperPlay-Gaming/branding-resources",
              target: "_blank",
              rel: "noopener noreferrer",
              children: o.brand
            }
          ) : null,
          t.showCareersLink ? /* @__PURE__ */ e.jsx(
            s,
            {
              className: r.footer__link,
              ...l.careers,
              children: o.careers
            }
          ) : null,
          /* @__PURE__ */ e.jsx(
            s,
            {
              className: r.footer__link,
              ...l.privacyPolicy,
              children: o.privacyPolicy
            }
          ),
          /* @__PURE__ */ e.jsx(
            s,
            {
              className: r.footer__link,
              ...l.termsOfService,
              children: o.termsOfService
            }
          ),
          /* @__PURE__ */ e.jsx(
            s,
            {
              className: r.footer__link,
              ...l.cookiePolicy,
              children: o.cookiePolicy
            }
          ),
          l.developerAgreement ? /* @__PURE__ */ e.jsx(
            s,
            {
              className: r.footer__link,
              ...l.developerAgreement,
              children: o.developerAgreement
            }
          ) : null
        ] })
      ] }),
      /* @__PURE__ */ e.jsxs("div", { className: r.footer__column, children: [
        /* @__PURE__ */ e.jsx("h2", { className: r.footer__title, children: o.social }),
        /* @__PURE__ */ e.jsxs("div", { className: r.footer__links, children: [
          /* @__PURE__ */ e.jsx(
            "a",
            {
              className: r.footer__link,
              href: "https://twitter.com/HyperPlayGaming",
              target: "_blank",
              rel: "noopener noreferrer",
              children: "TWITTER"
            }
          ),
          /* @__PURE__ */ e.jsx(
            "a",
            {
              className: r.footer__link,
              href: "https://discord.gg/hyperplay",
              target: "_blank",
              rel: "noopener noreferrer",
              children: "DISCORD"
            }
          )
        ] })
      ] }),
      /* @__PURE__ */ e.jsxs("div", { className: r.footer__column, children: [
        /* @__PURE__ */ e.jsx("h2", { className: r.footer__title, children: o.resources }),
        /* @__PURE__ */ e.jsxs("div", { className: r.footer__links, children: [
          /* @__PURE__ */ e.jsx(
            s,
            {
              className: r.footer__link,
              href: "https://docs.hyperplay.xyz",
              target: "_blank",
              rel: "noopener noreferrer",
              children: o.documentation
            }
          ),
          t.showMetaMaskLink ? /* @__PURE__ */ e.jsx(
            "a",
            {
              className: r.footer__link,
              href: "https://metamask.io",
              target: "_blank",
              rel: "noopener noreferrer",
              children: "METAMASK"
            }
          ) : null,
          /* @__PURE__ */ e.jsx(
            s,
            {
              className: r.footer__link,
              ...l.badges,
              children: o.badges
            }
          )
        ] })
      ] }),
      t.showGetTheApp || t.showLangSelector ? /* @__PURE__ */ e.jsxs("div", { className: r.footer__column, children: [
        c,
        a
      ] }) : null
    ] }),
    /* @__PURE__ */ e.jsxs("div", { className: r.hpContact, children: [
      /* @__PURE__ */ e.jsx("div", { children: "HYPERPLAY LABS INC" }),
      /* @__PURE__ */ e.jsx("div", { children: h ?? "600 W 6 th Street - Fourth Floor #1079, Fort Worth, TX 76102" })
    ] })
  ] });
}
export {
  u as Footer
};
//# sourceMappingURL=index.mjs.map
