"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")),_createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass")),_possibleConstructorReturn2=_interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")),_getPrototypeOf3=_interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")),_inherits2=_interopRequireDefault(require("@babel/runtime/helpers/inherits")),_assertThisInitialized2=_interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")),_defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty")),_react=_interopRequireWildcard(require("react")),_ErrorBoundary=_interopRequireDefault(require("../../hoc/ErrorBoundary")),Map=/*#__PURE__*/function(_Component){function Map(){var _getPrototypeOf2,_this;(0,_classCallCheck2.default)(this,Map);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _this=(0,_possibleConstructorReturn2.default)(this,(_getPrototypeOf2=(0,_getPrototypeOf3.default)(Map)).call.apply(_getPrototypeOf2,[this].concat(args))),(0,_defineProperty2.default)((0,_assertThisInitialized2.default)((0,_assertThisInitialized2.default)(_this)),"map",void 0),_this}return(0,_inherits2.default)(Map,_Component),(0,_createClass2.default)(Map,[{key:"componentDidMount",value:function componentDidMount(){this.map=new google.maps.Map(this.map,{center:{lat:-37.8048317,lng:144.9639135},zoom:15})}},{key:"render",value:function render(){var _this2=this;return _react.default.createElement(_ErrorBoundary.default,null,_react.default.createElement("div",{className:"map"},_react.default.createElement("div",{ref:function ref(input){_this2.map=input},id:"map",style:{minHeight:300}})))}}]),Map}(_react.Component),_default=Map;exports.default=_default;