import { u as useViewHandler } from './index-bbdfb97a.js';
import { observer } from 'mobx-react-lite';
import 'react';
import { c as wcConfiguratorSettingsExpander, h as hidden, d as wcConfiguratorSettingsMaxExpander, f as wcConfiguratorSettingsMinExpander } from './index.module-0226fe2f.js';
import classnames from 'classnames';
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
import '@babel/runtime/helpers/defineProperty';
import 'react-dynamic-multi-render';
import '@crystaldesign/diva-core';
import '@babel/runtime/helpers/asyncToGenerator';
import '@babel/runtime/helpers/slicedToArray';
import '@babel/runtime/helpers/objectWithoutProperties';
import '@babel/runtime/regenerator';
import '@babel/runtime/helpers/classCallCheck';
import '@babel/runtime/helpers/createClass';
import '@babel/runtime/helpers/toConsumableArray';
import '@crystaldesign/diva-utils';
import 'mobx';
import '@crystaldesign/web-planner-logic';
import 'qrcode.react';
import '@babel/runtime/helpers/typeof';
import 'flat';
import 'react-switch';
import 'react-countup';

var SettingsExpanderButtons = function SettingsExpanderButtons(props) {
  var viewHandler = useViewHandler();
  var hide = viewHandler.settingsState.contentItemId && viewHandler.settingsState.contentItemVisible;
  return /*#__PURE__*/jsxs(Fragment, {
    children: [viewHandler.uiState.doShowConfSettingsExpander && !viewHandler.uiState.isInMobileView && /*#__PURE__*/jsx("div", {
      className: classnames(wcConfiguratorSettingsExpander, hide ? hidden : undefined),
      onClick: viewHandler.uiState.onClickExpandConfigSettings
    }), !viewHandler.uiState.isInMobileView && viewHandler.uiState.doShowConfSettingsMaxMinExpander && /*#__PURE__*/jsxs(Fragment, {
      children: [!viewHandler.uiState.configSettingsIsMaxExpanded && /*#__PURE__*/jsx("div", {
        className: classnames(wcConfiguratorSettingsMaxExpander, hide ? hidden : undefined),
        onClick: viewHandler.uiState.onClickExpandMaxConfigSettings
      }), !viewHandler.uiState.configSettingsIsMinExpanded && /*#__PURE__*/jsx("div", {
        className: wcConfiguratorSettingsMinExpander,
        onClick: viewHandler.uiState.onClickExpandMinConfigSettings
      })]
    })]
  });
};
var SettingsExpanderButtons$1 = observer(SettingsExpanderButtons);

export { SettingsExpanderButtons$1 as default };
