import { ad as i, a4 as a, H as t, fM as n } from "./56c67d3b.js";
import "react";
import "react-dom";
const h = /* @__PURE__ */ i("li", {
  children: [a("comment.Introduction"), ":", /* @__PURE__ */ t("br", {}), "1. user - ", a("comment.helpUser"), /* @__PURE__ */ t("br", {}), " .name - ", a("comment.helpname"), /* @__PURE__ */ t("br", {}), " .avatar - ", a("comment.helpavatar"), /* @__PURE__ */ t("br", {}), " .displayName - ", a("comment.helpdisplayName"), /* @__PURE__ */ t("br", {}), "2. value - ", a("comment.helpvalue"), /* @__PURE__ */ t("br", {}), "3. createdAt - ", a("comment.helpcreatedAt")]
}), p = /* @__PURE__ */ i("li", {
  children: [a("comment.Introduction"), ":", /* @__PURE__ */ t("br", {}), "1.name - ", a("comment.helpname"), /* @__PURE__ */ t("br", {}), "2.avatar - ", a("comment.helpavatar"), /* @__PURE__ */ t("br", {}), "3.displayName - ", a("comment.helpdisplayName")]
}), v = [{
  user: {
    name: "John Doe",
    avatar: "https://ui-avatars.com/api/?name=John+Doe"
  },
  value: "Has anyone tried using Lowcode for our new internal tool yet?",
  createdAt: "2024-09-20T10:15:41.658Z"
}, {
  user: {
    name: "Jane Smith",
    avatar: "https://ui-avatars.com/api/?name=Jane+Smith"
  },
  value: "Yes, I’ve been experimenting with it for automating our workflows. It's super quick to set up.",
  createdAt: "2024-09-20T10:17:12.658Z"
}, {
  user: {
    name: "Michael Brown",
    displayName: "Michael",
    avatar: "https://ui-avatars.com/api/?name=Michael+Brown"
  },
  value: "That sounds interesting! What kind of automation are you building?",
  createdAt: "2024-09-20T10:18:45.658Z"
}, {
  user: {
    name: "Jane Smith",
    avatar: "https://ui-avatars.com/api/?name=Jane+Smith"
  },
  value: "Mostly automating form submissions and integrating them with our CRM. It's easy to drag-and-drop components.",
  createdAt: "2024-09-20T10:20:30.658Z"
}, {
  user: {
    name: "John Doe",
    avatar: "https://ui-avatars.com/api/?name=John+Doe"
  },
  value: "We should look into using it for API integrations as well. Lowcode could save a lot of development time.",
  createdAt: "2024-09-20T10:22:05.658Z"
}, {
  user: {
    name: "Michael Brown",
    displayName: "Michael",
    avatar: "https://ui-avatars.com/api/?name=Michael+Brown"
  },
  value: "I agree. Let’s plan a session next week to dive deeper into the possibilities.",
  createdAt: "2024-09-20T10:23:55.658Z"
}];
function d(e) {
  return e === "" ? [] : m(e) ?? [];
}
function m(e, o) {
  return n(e, ["array", "undefined"], o, (r, s) => (n(r, ["object"], s), n(r.user, ["object"], "user"), n(r.value, ["string", "undefined"], "value"), n(r.createdAt, ["string", "undefined"], "createdAt"), r));
}
function f(e) {
  return n(e == null ? void 0 : e.name, ["string"], "name"), n(e == null ? void 0 : e.avatar, ["string", "undefined"], "avatar"), e;
}
function g(e) {
  if (e === "")
    return {};
  for (const o in e)
    n(e[o], ["array"], o, (r) => (n(r, ["string"]), r));
  return e;
}
export {
  h as CommentDataTooltip,
  p as CommentUserDataTooltip,
  g as checkMentionListData,
  f as checkUserInfoData,
  v as commentDate,
  d as convertCommentData
};
