import { jsx } from "react/jsx-runtime";
const KeyIcon = /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx("path", { d: "M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4" }) });
const profileSections = [
  {
    id: "account",
    label: "Account",
    labelKey: "profile.sections.account",
    order: 1,
    items: [
      {
        id: "change-password",
        label: "Change Password",
        labelKey: "auth.changePassword.title",
        href: "/backend/profile/change-password",
        icon: KeyIcon,
        order: 1
      }
    ]
  }
];
const profilePathPrefixes = [
  "/backend/profile/"
];
function isProfilePath(path) {
  if (path === "/backend/profile") return true;
  return profilePathPrefixes.some((prefix) => path.startsWith(prefix));
}
export {
  isProfilePath,
  profilePathPrefixes,
  profileSections
};
//# sourceMappingURL=profile-sections.js.map
