Liferay.Loader.define("item-selector-taglib@4.2.17/item_selector_preview/js/Footer.es", ['module', 'exports', 'require', 'frontend-js-react-web$prop-types', 'frontend-js-react-web$react', '../../utils/utils.es'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    Object.defineProperty(exports, "__esModule", {
      value: true
    });
    exports.default = void 0;

    var _propTypes = _interopRequireDefault(require("frontend-js-react-web$prop-types"));

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

    var _utils = require("../../utils/utils.es");

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

    /**
     * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
     * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
     */
    var Footer = function Footer(_ref) {
      var currentIndex = _ref.currentIndex,
          title = _ref.title,
          totalItems = _ref.totalItems;
      return (/*#__PURE__*/_react.default.createElement("div", {
          className: "footer"
        }, /*#__PURE__*/_react.default.createElement("span", null, title), /*#__PURE__*/_react.default.createElement("div", null, (0, _utils.sub)(Liferay.Language.get('x-of-x'), [currentIndex + 1, totalItems])))
      );
    };

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