"use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunk2WUR33ZCjs = require('./chunk-2WUR33ZC.js');

// tmp-babel/notifications/native/NotificationsList/NotificationItem/CommentReply/index.js
var _utils = require('@baseapp-frontend/utils');
var _jsxruntime = require('react/jsx-runtime');
var CommentReply = function CommentReply2(_ref) {
  var _notification$target, _notification$actor, _notification$actor2, _notification$actionO;
  var notification = _ref.notification;
  var message = "added a comment to your ".concat((_notification$target = notification.target) === null || _notification$target === void 0 ? void 0 : _notification$target.__typename.toLowerCase());
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2WUR33ZCjs.Notification_default.Root, {
    children: [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WUR33ZCjs.Notification_default.Avatar, {
      actorAvatar: (_notification$actor = notification.actor) === null || _notification$actor === void 0 || (_notification$actor = _notification$actor.avatar) === null || _notification$actor === void 0 ? void 0 : _notification$actor.url
    }), /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2WUR33ZCjs.Notification_default.Content, {
      children: [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WUR33ZCjs.Notification_default.Content.Header, {
        message,
        timestamp: _utils.formatRelativeTime.call(void 0, notification.timestamp),
        actorName: (_notification$actor2 = notification.actor) === null || _notification$actor2 === void 0 ? void 0 : _notification$actor2.fullName,
        unread: notification.unread
      }), /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2WUR33ZCjs.Notification_default.Content.Body, {
        content: (_notification$actionO = notification.actionObject) === null || _notification$actionO === void 0 ? void 0 : _notification$actionO.body
      })]
    })]
  });
};
var CommentReply_default = CommentReply;



exports.CommentReply_default = CommentReply_default;
//# sourceMappingURL=chunk-N3KLZORD.js.map