import * as React from 'react';
import { co as Icon, bQ as _defineProperty$2 } from './MapEditView-f6381866.js';
import classNames from 'classnames';

function _typeof$1(obj) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof$1(obj); }
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty$1(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
function _defineProperty$1(obj, key, value) { key = _toPropertyKey$1(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey$1(arg) { var key = _toPrimitive$1(arg, "string"); return _typeof$1(key) === "symbol" ? key : String(key); }
function _toPrimitive$1(input, hint) { if (_typeof$1(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$1(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
var generateComp$1 = function generateComp(svgRef) {
  return function () {
    return /*#__PURE__*/React.createElement("svg", {
      width: "1em",
      height: "1em",
      viewBox: "0 0 48 48",
      fill: "currentColor",
      xmlns: "http://www.w3.org/2000/svg",
      focusable: false,
      "aria-hidden": "true",
      ref: svgRef
    }, /*#__PURE__*/React.createElement("path", {
      d: "M9.5 24c0-8.008 6.492-14.5 14.5-14.5S38.5 15.992 38.5 24 32.008 38.5 24 38.5 9.5 32.008 9.5 24zM24 5.5C13.783 5.5 5.5 13.783 5.5 24S13.783 42.5 24 42.5 42.5 34.217 42.5 24 34.217 5.5 24 5.5zm6.914 11.586a2 2 0 010 2.828L26.828 24l4.086 4.086a2 2 0 11-2.828 2.828L24 26.828l-4.086 4.086a2 2 0 11-2.828-2.828L21.172 24l-4.086-4.086a2 2 0 112.828-2.828L24 21.172l4.086-4.086a2 2 0 012.828 0z",
      fill: "currentColor"
    }));
  };
};
var SvgClear = function SvgClear(props, svgRef) {
  var newProps = _objectSpread$1(_objectSpread$1({}, props), {}, {
    name: "SvgClear"
  });
  return /*#__PURE__*/React.createElement(Icon, _objectSpread$1(_objectSpread$1({}, newProps), {}, {
    component: generateComp$1(svgRef)
  }));
};
var ForwardRef$1 = /*#__PURE__*/React.forwardRef(SvgClear);

function getStatusClassNames(prefixCls, status, hasFeedback) {
  return classNames(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2({}, "".concat(prefixCls, "-status-success"), status === 'success'), "".concat(prefixCls, "-status-warning"), status === 'warning'), "".concat(prefixCls, "-status-error"), status === 'error'), "".concat(prefixCls, "-status-validating"), status === 'validating'), "".concat(prefixCls, "-has-feedback"), hasFeedback));
}
var getMergedStatus = function getMergedStatus(contextStatus, customStatus) {
  return customStatus || contextStatus;
};

function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
var generateComp = function generateComp(svgRef) {
  return function () {
    return /*#__PURE__*/React.createElement("svg", {
      width: "1em",
      height: "1em",
      viewBox: "0 0 48 48",
      fill: "currentColor",
      xmlns: "http://www.w3.org/2000/svg",
      focusable: false,
      "aria-hidden": "true",
      ref: svgRef
    }, /*#__PURE__*/React.createElement("path", {
      fillRule: "evenodd",
      clipRule: "evenodd",
      d: "M9.5 21.25c0-6.49 5.26-11.75 11.75-11.75S33 14.76 33 21.25 27.74 33 21.25 33 9.5 27.74 9.5 21.25zM21.25 5.5C12.552 5.5 5.5 12.552 5.5 21.25S12.552 37 21.25 37c3.628 0 6.97-1.227 9.633-3.288l8.203 8.202a2 2 0 102.828-2.828l-8.202-8.203A15.682 15.682 0 0037 21.25C37 12.552 29.948 5.5 21.25 5.5z",
      fill: "currentColor"
    }));
  };
};
var SvgSearch = function SvgSearch(props, svgRef) {
  var newProps = _objectSpread(_objectSpread({}, props), {}, {
    name: "SvgSearch"
  });
  return /*#__PURE__*/React.createElement(Icon, _objectSpread(_objectSpread({}, newProps), {}, {
    component: generateComp(svgRef)
  }));
};
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgSearch);

export { ForwardRef$1 as F, getMergedStatus as a, ForwardRef as b, getStatusClassNames as g };
