'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 Unlock = function Unlock(_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/Unlock'
    ),
    (0, _preact.h)(
      'g',
      { fill: 'currentColor', 'fill-rule': 'evenodd' },
      (0, _preact.h)('path', { d: 'M0 0h24v25H0z' }),
      (0, _preact.h)('path', {
        d: 'M20.001 20.006c0 .55-.45 1-1 1h-14c-.55 0-1-.45-1-1v-7c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v7zm-1-10h-11V7c0-2.206 1.794-4 4-4a4.012 4.012 0 0 1 3.912 3.175.997.997 0 0 0 1.181.775c.537-.113.888-.644.775-1.181-.575-2.763-3.05-4.77-5.875-4.77-3.306 0-6 2.695-6 6.007v3H5c-1.656 0-3 1.344-3 3v7c0 1.656 1.344 3 3 3h14c1.656 0 3-1.344 3-3v-7c0-1.656-1.344-3-3-3h.001z',
        fill: 'currentColor'
      })
    )
  );
};
exports.default = Unlock;