'use strict';

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

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var _preact = require('preact');

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

// import { Preact, h } from '@bolt/core';
var Search = function Search(_ref) {
  var color = _ref.color,
      size = _ref.size,
      otherProps = _objectWithoutProperties(_ref, ['color', 'size']);

  color = color || 'currentColor';
  size = size || '24';
  return (0, _preact.h)(
    'svg',
    _extends({ width: size, height: size, viewBox: '0 0 24 24' }, otherProps),
    (0, _preact.h)(
      'title',
      null,
      'Icon/utility/Indigo/24px/search'
    ),
    (0, _preact.h)(
      'g',
      { fill: 'currentColor', 'fill-rule': 'evenodd' },
      (0, _preact.h)('path', {
        d: 'M0,64a64,64 0 1,0 128,0a64,64 0 1,0 -128,0',
        'class': 'c-bolt-icon--background c-bolt-icon--circle-background',
        fill: 'none'
      }),
      (0, _preact.h)('path', {
        d: 'M9.518 15.035A5.524 5.524 0 0 1 4 9.517 5.524 5.524 0 0 1 9.518 4a5.524 5.524 0 0 1 5.518 5.517 5.524 5.524 0 0 1-5.518 5.518m12.189 5.258l-6.221-6.222a7.469 7.469 0 0 0 1.55-4.554C17.036 5.372 13.664 2 9.518 2S2 5.372 2 9.517c0 4.145 3.372 7.518 7.518 7.518a7.471 7.471 0 0 0 4.554-1.55l6.22 6.222a1 1 0 0 0 1.415-1.414',
        fill: 'currentColor'
      })
    )
  );
};
exports.default = Search;