"use strict";

require("core-js/modules/es.object.define-property.js");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ScreenShare = void 0;
var _i18n = require("../../../i18n");
var _type = require("../../icon/type");
var _tooltip = require("../../tooltip");
var _item = require("../item");
var _jsxRuntime = require("react/jsx-runtime");
var ScreenShare = exports.ScreenShare = function ScreenShare(_ref) {
  var id = _ref.id,
    order = _ref.order;
  var t = (0, _i18n.useI18n)();
  var title = t('fmt_screenshare_controlbar_security_list_participant_screenshare');
  var tooltip = t('fmt_screenshare_controlbar_security_list_participant_screenshare');
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_tooltip.FcrToolTip, {
    content: tooltip,
    children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_item.ActionBarItem, {
      id: id,
      order: order,
      onClick: function onClick() {},
      icon: _type.FcrIconType.FCR_SCREENSHARING,
      title: title,
      iconColors: {
        iconPrimary: 'var(--fcr_web_ui_scene_mainicon1)'
      }
    })
  });
};