'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _index = require('../../index.js');

var _index2 = _interopRequireDefault(_index);

var _logicalnary = require('../filter/logicalnary.js');

var _logicalnary2 = _interopRequireDefault(_logicalnary);

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

/**
 * @classdesc
 * Represents a logical `<And>` operator between two or more filter conditions.
 *
 * deprecated: This class will no longer be exported starting from the next major version.
 *
 * @constructor
 * @abstract
 * @param {...ol.format.filter.Filter} conditions Conditions.
 * @extends {ol.format.filter.LogicalNary}
 * @api
 */
var _ol_format_filter_And_ = function (conditions) {
  var params = ['And'].concat(Array.prototype.slice.call(arguments));
  _logicalnary2.default.apply(this, params);
};

_index2.default.inherits(_ol_format_filter_And_, _logicalnary2.default);
exports.default = _ol_format_filter_And_;
module.exports = exports['default'];