import "core-js/modules/es.array.map.js";
import "core-js/modules/es.object.to-string.js";
import "core-js/modules/esnext.iterator.constructor.js";
import "core-js/modules/esnext.iterator.map.js";
import classNames from 'classnames';
import React from 'react';
import './index.css';
import { jsx as _jsx } from "react/jsx-runtime";
export var FcrDevicePretestPageSettings = function FcrDevicePretestPageSettings(_ref) {
  var actionType = _ref.actionType,
    meetingInfo = _ref.meetingInfo,
    videoInfos = _ref.videoInfos,
    handleAction = _ref.handleAction;
  var cls = classNames('fcr-video-preview-settings-wrapper');
  var _ref2 = meetingInfo || {
      meetingName: '',
      meetingHostName: ''
    },
    meetingName = _ref2.meetingName,
    meetingHostName = _ref2.meetingHostName;
  var _ref3 = videoInfos || {
      enableVideo: true,
      enableAudio: true,
      enableVirtualBg: false,
      enableBeauty: false,
      enableMirror: false,
      leftRotationAngle: 0,
      microphonePercentage: 0
    },
    enableVideo = _ref3.enableVideo,
    enableAudio = _ref3.enableAudio,
    enableVirtualBg = _ref3.enableVirtualBg,
    enableBeauty = _ref3.enableBeauty,
    enableMirror = _ref3.enableMirror,
    leftRotationAngle = _ref3.leftRotationAngle,
    microphonePercentage = _ref3.microphonePercentage;
  return /*#__PURE__*/_jsx("div", {
    className: cls
  });
};
export var FcrVideoSettingTabs = function FcrVideoSettingTabs(_ref4) {
  var tabs = _ref4.tabs,
    activeKey = _ref4.activeKey,
    onChange = _ref4.onChange;
  return /*#__PURE__*/_jsx("div", {
    className: 'fcr-video-setting-tabs',
    children: tabs.map(function (tab) {
      return /*#__PURE__*/_jsx("div", {
        className: classNames('fcr-video-setting-tab', {
          'fcr-video-setting-tab-active': tab.key === activeKey
        }),
        onClick: function onClick() {
          return onChange(tab.key);
        },
        children: tab.title
      }, tab.key);
    })
  });
};