'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 Share2 = function Share2(_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/Share2'
    ),
    (0, _preact.h)(
      'defs',
      null,
      (0, _preact.h)('path', { id: 'a', d: 'M22 0v17.586H0V0h22z' })
    ),
    (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)(
        'g',
        { transform: 'translate(1 3)' },
        (0, _preact.h)(
          'mask',
          { id: 'b', fill: 'currentColor' },
          (0, _preact.h)('use', { xlinkHref: '#a' })
        ),
        (0, _preact.h)('path', {
          d: 'M21.746 7.105L12.614.144A.77.77 0 0 0 12.16 0a.81.81 0 0 0-.31.062c-.254.107-.415.335-.415.583l.005 3.748c-3.995.12-6.839 1.273-8.844 3.506C-.67 11.53.06 16.81.093 17.029c.05.32.297.557.636.557h.024c.347-.012.567-.268.597-.597.023-.243.476-6.436 10.09-6.436l-.006 3.766c0 .247.161.474.415.579a.76.76 0 0 0 .308.062.773.773 0 0 0 .46-.147l9.131-6.695A.646.646 0 0 0 22 7.61a.645.645 0 0 0-.254-.505',
          fill: 'currentColor',
          mask: 'url(#b)'
        })
      )
    )
  );
};
exports.default = Share2;