"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "RootLayoutMissingTagsError", {
    enumerable: true,
    get: function() {
        return RootLayoutMissingTagsError;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _react = require("react");
const _hotlinkedtext = require("../components/hot-linked-text");
const _ErrorOverlayLayout = require("../components/Errors/ErrorOverlayLayout/ErrorOverlayLayout");
function RootLayoutMissingTagsError(param) {
    let { missingTags, versionInfo } = param;
    const noop = (0, _react.useCallback)(()=>{}, []);
    return /*#__PURE__*/ (0, _jsxruntime.jsx)(_ErrorOverlayLayout.ErrorOverlayLayout, {
        errorType: "Missing Required HTML Tag",
        errorMessage: /*#__PURE__*/ (0, _jsxruntime.jsx)(_hotlinkedtext.HotlinkedText, {
            text: "The following tags are missing in the Root Layout: " + missingTags.map((tagName)=>"<" + tagName + ">").join(', ') + ".\nRead more at https://nextjs.org/docs/messages/missing-root-layout-tags"
        }),
        onClose: noop,
        versionInfo: versionInfo
    });
}

if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
  Object.defineProperty(exports.default, '__esModule', { value: true });
  Object.assign(exports.default, exports);
  module.exports = exports.default;
}

//# sourceMappingURL=RootLayoutMissingTagsError.js.map