'use strict';

Object.defineProperty(exports, "__esModule", {
	value: true
});

exports.default = function (store) {
	var state = store.getState();
	return _react2.default.createElement(
		_Route2.default,
		{ path: state.base, component: _application2.default },
		_react2.default.createElement(_IndexRoute2.default, { component: _home2.default }),
		_react2.default.createElement(_Route2.default, { path: 'pattern/*', component: _content2.default })
	);
};

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _Route = require('react-router/lib/Route');

var _Route2 = _interopRequireDefault(_Route);

var _IndexRoute = require('react-router/lib/IndexRoute');

var _IndexRoute2 = _interopRequireDefault(_IndexRoute);

var _application = require('../containers/application');

var _application2 = _interopRequireDefault(_application);

var _content = require('../containers/content');

var _content2 = _interopRequireDefault(_content);

var _home = require('../containers/home');

var _home2 = _interopRequireDefault(_home);

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

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NvdXJjZS9hcHBsaWNhdGlvbi9yZWFjdC1yb3V0ZXMvcm91dGVzLmpzIl0sIm5hbWVzIjpbInN0b3JlIiwic3RhdGUiLCJnZXRTdGF0ZSIsImJhc2UiXSwibWFwcGluZ3MiOiI7Ozs7OztrQkFPZSxVQUFVQSxLQUFWLEVBQWlCO0FBQy9CLEtBQU1DLFFBQVFELE1BQU1FLFFBQU4sRUFBZDtBQUNBLFFBQ0M7QUFBQTtBQUFBLElBQU8sTUFBTUQsTUFBTUUsSUFBbkIsRUFBeUIsZ0NBQXpCO0FBQ0Msd0RBQVkseUJBQVosR0FERDtBQUVDLG1EQUFPLE1BQUssV0FBWixFQUF3Qiw0QkFBeEI7QUFGRCxFQUREO0FBTUEsQzs7QUFmRDs7Ozs7Ozs7Ozs7O0FBR0E7Ozs7QUFDQTs7OztBQUNBIiwiZmlsZSI6InJvdXRlcy5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7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