'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 'preact';
var AssetPresentation = function AssetPresentation(_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/Asset-Presentation'
    ),
    (0, _preact.h)(
      'defs',
      null,
      (0, _preact.h)('path', { id: 'a', d: 'M22 12V0H0v24h22z' })
    ),
    (0, _preact.h)(
      'g',
      { transform: 'translate(1)', fill: 'currentColor', 'fill-rule': 'evenodd' },
      (0, _preact.h)(
        'mask',
        { id: 'b', fill: 'currentColor' },
        (0, _preact.h)('use', { xlinkHref: '#a' })
      ),
      (0, _preact.h)('path', {
        d: 'M20 13c0 .55-.45 1-1 1H3c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10zM19 0H3C1.344 0 0 1.344 0 3v10c0 1.656 1.344 3 3 3h6.332l-3.406 6.418a1.003 1.003 0 1 0 1.638 1.158L11 16.716l3.436 6.86a1.002 1.002 0 1 0 1.638-1.158L12.668 16H19c1.656 0 3-1.344 3-3V3c0-1.656-1.344-3-3-3z',
        fill: 'currentColor',
        mask: 'url(#b)'
      })
    )
  );
};
exports.default = AssetPresentation;