"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.MapPin = void 0;

var _react = _interopRequireDefault(require("react"));

var _styledComponents = require("styled-components");

var _mapPin = require("./map-pin.css-rules");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var _MapPin = function _MapPin(_ref) {
  var theme = _ref.theme,
      disabled = _ref.disabled;
  return /*#__PURE__*/_react["default"].createElement("svg", {
    width: "44px",
    height: "44px",
    viewBox: "0 0 44 44",
    version: "1.1",
    xmlns: "http://www.w3.org/2000/svg"
  }, /*#__PURE__*/_react["default"].createElement("g", {
    stroke: "none",
    strokeWidth: "1",
    fill: "none",
    fillRule: "evenodd"
  }, /*#__PURE__*/_react["default"].createElement("path", {
    d: "M22.0006604,31.3318105 C25.4213635,26.7472302 27.5300104,23.6377505 28.2985225,22.0584465 C28.7580311,21.1141496 29,20.0753276 29,19 C29,15.1340068 25.8659932,12 22,12 C18.1340068,12 15,15.1340068 15,19 C15,20.0855369 15.246594,21.1338364 15.7145279,22.0851207 C16.4872399,23.6560025 18.5918301,26.7561193 22.0006604,31.3318105 Z",
    stroke: (0, _mapPin.getIconColor)({
      theme: theme,
      disabled: disabled
    }),
    strokeWidth: "2"
  }), /*#__PURE__*/_react["default"].createElement("circle", {
    fill: (0, _mapPin.getIconColor)({
      theme: theme,
      disabled: disabled
    }),
    cx: "22",
    cy: "19",
    r: "3"
  })));
};

var MapPin = (0, _styledComponents.withTheme)(_MapPin);
exports.MapPin = MapPin;
MapPin.displayName = 'MapPin';