"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.notFoundRoute = void 0;
var _i18n = require("@wordpress/i18n");
var _components = require("@wordpress/components");
var _sidebarNavigationScreenMain = _interopRequireDefault(require("../sidebar-navigation-screen-main"));
var _jsxRuntime = require("react/jsx-runtime");
/**
 * WordPress dependencies
 */

/**
 * Internal dependencies
 */

function NotFoundError() {
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Notice, {
    status: "error",
    isDismissible: false,
    children: (0, _i18n.__)('The requested page could not be found. Please check the URL.')
  });
}
const notFoundRoute = exports.notFoundRoute = {
  name: 'notfound',
  path: '*',
  areas: {
    sidebar: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sidebarNavigationScreenMain.default, {}),
    mobile: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sidebarNavigationScreenMain.default, {
      customDescription: /*#__PURE__*/(0, _jsxRuntime.jsx)(NotFoundError, {})
    }),
    content: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.__experimentalSpacer, {
      padding: 2,
      children: /*#__PURE__*/(0, _jsxRuntime.jsx)(NotFoundError, {})
    })
  }
};
//# sourceMappingURL=notfound.js.map