"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")),_assertThisInitialized2=_interopRequireDefault(require("@babel/runtime/helpers/assertThisInitialized")),_inherits2=_interopRequireDefault(require("@babel/runtime/helpers/inherits")),_possibleConstructorReturn2=_interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")),_getPrototypeOf2=_interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")),_defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty")),React=_interopRequireWildcard(require("react")),_withStyles=_interopRequireDefault(require("../../hoc/withStyles")),_styles=_interopRequireDefault(require("./styles")),_Button=_interopRequireDefault(require("../../bosons/Button"));function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function(){var result,Super=(0,_getPrototypeOf2["default"])(Derived);if(hasNativeReflectConstruct){var NewTarget=(0,_getPrototypeOf2["default"])(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return(0,_possibleConstructorReturn2["default"])(this,result)}}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}var MapData=/*#__PURE__*/function(_React$Component){function MapData(){var _this;(0,_classCallCheck2["default"])(this,MapData);for(var _len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return _this=_super.call.apply(_super,[this].concat(args)),(0,_defineProperty2["default"])((0,_assertThisInitialized2["default"])(_this),"_renderButton",function(){var _this$props=_this.props,classes=_this$props.classes,makeStepActive=_this$props.makeStepActive,unmarkedVisited=_this$props.unmarkedVisited,markedVisited=_this$props.markedVisited;return/*#__PURE__*/React.createElement(React.Fragment,null,/*#__PURE__*/React.createElement("div",{className:classes.mainDiv},"Hello Map Data"),/*#__PURE__*/React.createElement("div",{className:classes.prevNextWrapper},/*#__PURE__*/React.createElement(_Button["default"],{title:"Prev",classes:{component:classes.prevNextButton},applyBorderRadius:!0,compactMode:!0,buttonColor:"#29a9db",withoutBackground:!0,onClick:function onClick(){makeStepActive(0),unmarkedVisited(0)}}),/*#__PURE__*/React.createElement(_Button["default"],{title:"Next",id:"next-button",classes:{component:classes.prevNextButton},applyBorderRadius:!0,compactMode:!0,buttonColor:"#29a9db",onClick:function onClick(){makeStepActive(2),markedVisited(1)}})))}),_this}(0,_inherits2["default"])(MapData,_React$Component);var _super=_createSuper(MapData);return(0,_createClass2["default"])(MapData,[{key:"render",value:function render(){return/*#__PURE__*/React.createElement(React.Fragment,null,this._renderButton())}}]),MapData}(React.Component),_default=(0,_withStyles["default"])(_styles["default"])(MapData);exports["default"]=_default;