text: '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 _react = require('react');
  
  var _react2 = _interopRequireDefault(_react);
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  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; }
  
  var LayerPolygonIcon = function LayerPolygonIcon(_ref) {
    var _ref$color = _ref.color,
        color = _ref$color === undefined ? 'currentColor' : _ref$color,
        _ref$size = _ref.size,
        size = _ref$size === undefined ? 24 : _ref$size,
        _ref$filled = _ref.filled,
        filled = _ref$filled === undefined ? false : _ref$filled,
        className = _ref.className,
        children = _ref.children,
        props = _objectWithoutProperties(_ref, ['color', 'size', 'filled', 'className', 'children']);
  
    var classes = 'calcite-icon';
    if (className) classes += ' ' + className;
  
    if (size <= 16) {
      return _react2.default.createElement(
        'svg',
        _extends({}, props, { width: size, height: size, fill: color, viewBox: '0 0 16 16', className: classes }),
        filled ? _react2.default.createElement('path', { d: 'M13.867 1.6A9.762 9.762 0 0 0 8 1.6a9.762 9.762 0 0 1-5.867 0L0 14.4s3.2 1.6 8 0c4.8-1.601 8 0 8 0zM3.117 12l.779-8h8.209l.778 8zm8.649-1h-1.272L9.1 8l1.095-3h1.015zM4.604 7l.186-2H8.4l-.897 2zm2.9 1l1.394 3H4.234l.278-3z' }) : _react2.default.createElement('path', { d: 'M13.867 1.488a9.762 9.762 0 0 0-5.867 0 9.745 9.745 0 0 1-5.867 0L0 14.29s3.2 1.6 8 0 8 0 8 0zM7.684 13.34a12.319 12.319 0 0 1-3.892.66 9.531 9.531 0 0 1-2.67-.363l1.82-10.915a12.159 12.159 0 0 0 2.353.24 8.253 8.253 0 0 0 3.078-.546 6.29 6.29 0 0 1 2.334-.402 10.323 10.323 0 0 1 2.28.272l1.76 10.56a11.904 11.904 0 0 0-2.538-.268 14.313 14.313 0 0 0-4.524.762zM12 4H4l-1 8h10zM8.788 5L7.602 7.042H4.628L4.883 5zM4.512 7.964h3.096L10.177 11H4.133zM11.324 11L8.362 7.5 9.812 5h1.305l.75 6z' })
      );
    }
  
    if (size <= 24) {
      return _react2.default.createElement(
        'svg',
        _extends({}, props, { width: size, height: size, fill: color, viewBox: '0 0 24 24', className: classes }),
        filled ? _react2.default.createElement('path', { d: 'M20.83 2.678s-4.576-1.525-8.39 0-8.39 0-8.39 0L1 20.983s4.576 2.288 11.44 0 11.441 0 11.441 0zm-9.02 16.408A17.052 17.052 0 0 1 6.424 20a13.397 13.397 0 0 1-3.172-.366L5.674 5.105a17.656 17.656 0 0 0 2.897.25 12.401 12.401 0 0 0 4.613-.82A8.416 8.416 0 0 1 16.31 4a13.993 13.993 0 0 1 2.761.293l2.318 13.908a18.036 18.036 0 0 0-2.933-.234 21.021 21.021 0 0 0-6.648 1.119zM11.399 13H5.372l-.974 5.845A12.885 12.885 0 0 0 6.424 19a16.059 16.059 0 0 0 5.068-.862 23.177 23.177 0 0 1 3.51-.88zM7.5 17.5a1 1 0 1 1 1-1 1 1 0 0 1-1 1zM18.202 5.152A12.599 12.599 0 0 0 16.316 5l-4.329 7.457 3.963 4.682a20.727 20.727 0 0 1 2.508-.172c.581 0 1.158.025 1.725.075zM16.5 12.5a1 1 0 1 1 1-1 1 1 0 0 1-1 1zm-5.172-.5l4.033-6.949a6.652 6.652 0 0 0-1.806.413 13.39 13.39 0 0 1-4.984.891A17.916 17.916 0 0 1 6.5 6.232L5.539 12zM8.5 8.5a1 1 0 1 1-1 1 1 1 0 0 1 1-1z' }) : _react2.default.createElement('path', { d: 'M19.072 4.293A13.993 13.993 0 0 0 16.311 4a8.416 8.416 0 0 0-3.127.535 12.401 12.401 0 0 1-4.613.82 17.656 17.656 0 0 1-2.897-.25L3.252 19.634A13.397 13.397 0 0 0 6.424 20a17.052 17.052 0 0 0 5.385-.914 21.021 21.021 0 0 1 6.649-1.12 18.036 18.036 0 0 1 2.932.235zM6.5 6.233a17.916 17.916 0 0 0 2.07.122 13.39 13.39 0 0 0 4.985-.891 7.228 7.228 0 0 1 2.478-.453L11.793 12H5.54zm4.992 11.905A16.059 16.059 0 0 1 6.424 19a12.885 12.885 0 0 1-2.026-.155L5.372 13h6.281l3.434 4.248a23.125 23.125 0 0 0-3.595.89zm4.762-1.037l-3.648-4.512 4.58-7.55c.364.028.711.067 1.016.113l1.981 11.89a19.751 19.751 0 0 0-1.725-.075 20.64 20.64 0 0 0-2.204.134zM20.83 2.678s-4.577-1.525-8.39 0-8.39 0-8.39 0L1 20.983s4.576 2.288 11.44 0 11.441 0 11.441 0zm-8.706 17.356a18.043 18.043 0 0 1-5.7.966 13.713 13.713 0 0 1-4.304-.652l2.736-16.42a17.121 17.121 0 0 0 3.715.428 11.392 11.392 0 0 0 4.242-.75A9.415 9.415 0 0 1 16.31 3a15.195 15.195 0 0 1 3.637.467l2.67 16.02a16.253 16.253 0 0 0-4.16-.521 20.03 20.03 0 0 0-6.333 1.068zM9.5 8.5a1 1 0 1 1-1-1 1 1 0 0 1 1 1zm8 2.9a1 1 0 1 1-1-1 1 1 0 0 1 1 1zm-9 4.1a1 1 0 1 1-1-1 1 1 0 0 1 1 1z' })
      );
    }
  
    return _react2.default.createElement(
      'svg',
      _extends({}, props, { width: size, height: size, fill: color, viewBox: '0 0 32 32', className: classes }),
      filled ? _react2.default.createElement('path', { d: 'M27 4s-6-2-11 0S5 4 5 4L1 28s6 3 15 0 15 0 15 0zM15.052 25.154a22.006 22.006 0 0 1-6.94 1.178 17.514 17.514 0 0 1-3.728-.389L7.438 7.615a23.272 23.272 0 0 0 3.488.274 16.613 16.613 0 0 0 6.188-1.104 10.679 10.679 0 0 1 3.96-.674 17.856 17.856 0 0 1 3.29.324L27.275 23.9a24.333 24.333 0 0 0-3.386-.234 27.905 27.905 0 0 0-8.837 1.488zM19.76 7.387a8.432 8.432 0 0 0-2.2.511 17.803 17.803 0 0 1-6.634 1.19 23.696 23.696 0 0 1-2.494-.135L7.424 15h7.987zM12.5 12.5a1 1 0 1 1 1-1 1 1 0 0 1-1 1zM7.257 16l-1.495 8.97a16.786 16.786 0 0 0 2.35.163 20.806 20.806 0 0 0 6.56-1.117 30.173 30.173 0 0 1 5.726-1.3L15.448 16zm4.243 5.5a1 1 0 1 1 1-1 1 1 0 0 1-1 1zM23.321 7.477a16.093 16.093 0 0 0-1.971-.155l-4.655 8.143 5.222 7.086c.66-.049 1.317-.084 1.972-.084.651 0 1.3.023 1.943.072zM21.5 16.5a1 1 0 1 1 1-1 1 1 0 0 1-1 1z' }) : _react2.default.createElement('path', { d: 'M21.074 6.011a10.68 10.68 0 0 0-3.96.675 18.26 18.26 0 0 1-6.775 1.382 15.145 15.145 0 0 1-2.945-.283L4.429 25.577a25.156 25.156 0 0 0 4.494.414h.004a19.349 19.349 0 0 0 6.124-.937 25.329 25.329 0 0 1 8.022-1.245 30.81 30.81 0 0 1 4.254.299L24.365 6.335a17.71 17.71 0 0 0-3.29-.324zM8.216 8.933a16.306 16.306 0 0 0 2.123.135 19.253 19.253 0 0 0 7.146-1.454 8.63 8.63 0 0 1 2.314-.532L14.997 15H7.205zm6.519 15.172a18.353 18.353 0 0 1-5.808.886h-.004a23.8 23.8 0 0 1-3.343-.24L7.038 16h7.988l5.595 6.92a25.445 25.445 0 0 0-5.886 1.185zm8.338-1.296c-.412 0-.814.028-1.22.045l-5.97-7.385 5.128-8.455c.022 0 .041-.003.063-.003a16.098 16.098 0 0 1 2.421.19l2.626 15.757a31.36 31.36 0 0 0-3.048-.15zM1.006 27.866L1 27.9c-.103-.051-.085-.055.006-.034zM31 27.9l-4-24s-6-2-11 0a13.387 13.387 0 0 1-11 0L1.006 27.866c.752.17 7.816 2.427 14.994.034 8.04-2.68 15.96.48 15 0zm-7.927-2.091a23.333 23.333 0 0 0-7.39 1.142 21.342 21.342 0 0 1-6.756 1.04 28.17 28.17 0 0 1-6.784-.864L5.786 5.268a13.214 13.214 0 0 0 4.553.8 16.272 16.272 0 0 0 6.033-1.24 12.648 12.648 0 0 1 4.702-.817 20.301 20.301 0 0 1 5.043.674l3.652 21.908a29.997 29.997 0 0 0-6.696-.784zM13.5 11.5a1 1 0 1 1-1-1 1 1 0 0 1 1 1zm9 4a1 1 0 1 1-1-1 1 1 0 0 1 1 1zm-10 5a1 1 0 1 1-1-1 1 1 0 0 1 1 1z' })
    );
  };
  
  exports.default = LayerPolygonIcon;