Liferay.Loader.define("app-builder-web@1.0.76/js/components/management-toolbar/ManagementToolbarRight.es", ['module', 'exports', 'require', '@frontend-taglib-clay$clayui/button', '@frontend-taglib-clay$clayui/icon', '@frontend-taglib-clay$clayui/management-toolbar', 'frontend-js-react-web$react'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = void 0;

    var _button = _interopRequireDefault(require("@frontend-taglib-clay$clayui/button"));

    var _icon = _interopRequireDefault(require("@frontend-taglib-clay$clayui/icon"));

    var _managementToolbar = _interopRequireDefault(require("@frontend-taglib-clay$clayui/management-toolbar"));

    var _react = _interopRequireDefault(require("frontend-js-react-web$react"));

    function _interopRequireDefault(obj) {
      return obj && obj.__esModule ? obj : { default: obj };
    }

    /**
     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
     *
     * This library is free software; you can redistribute it and/or modify it under
     * the terms of the GNU Lesser General Public License as published by the Free
     * Software Foundation; either version 2.1 of the License, or (at your option)
     * any later version.
     *
     * This library is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
     * details.
     */
    var _default = function _default(_ref) {
      var addButton = _ref.addButton,
          setShowMobile = _ref.setShowMobile;
      return (/*#__PURE__*/_react.default.createElement(_managementToolbar.default.ItemList, null, /*#__PURE__*/_react.default.createElement(_managementToolbar.default.Item, {
          className: "navbar-breakpoint-d-none"
        }, /*#__PURE__*/_react.default.createElement(_button.default, {
          className: "nav-link nav-link-monospaced",
          displayType: "unstyled",
          onClick: function onClick() {
            return setShowMobile(true);
          }
        }, /*#__PURE__*/_react.default.createElement(_icon.default, {
          symbol: "search"
        }))), addButton && /*#__PURE__*/_react.default.createElement(_managementToolbar.default.Item, null, addButton()))
      );
    };

    exports.default = _default;
    //# sourceMappingURL=ManagementToolbarRight.es.js.map
  }
});
//# sourceMappingURL=ManagementToolbarRight.es.js.map