"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.postItemRoute = void 0;
var _i18n = require("@wordpress/i18n");
var _editor = _interopRequireDefault(require("../editor"));
var _sidebarDataviews = _interopRequireDefault(require("../sidebar-dataviews"));
var _sidebarNavigationScreen = _interopRequireDefault(require("../sidebar-navigation-screen"));
var _jsxRuntime = require("react/jsx-runtime");
/**
 * WordPress dependencies
 */

/**
 * Internal dependencies
 */

const postItemRoute = exports.postItemRoute = {
  name: 'post-item',
  path: '/post/:postId',
  areas: {
    sidebar: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sidebarNavigationScreen.default, {
      title: (0, _i18n.__)('Posts'),
      isRoot: true,
      content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sidebarDataviews.default, {
        postType: "post"
      })
    }),
    mobile: /*#__PURE__*/(0, _jsxRuntime.jsx)(_editor.default, {
      isPostsList: true
    }),
    preview: /*#__PURE__*/(0, _jsxRuntime.jsx)(_editor.default, {
      isPostsList: true
    })
  }
};
//# sourceMappingURL=post-item.js.map