Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.130/page_editor/app/components/layout-data-items/Root",["module","exports","require","liferay!frontend-js-react-web$react","../../../prop-types/index","../../contexts/StoreContext","../../utils/isItemEmpty","../topper/TopperEmpty"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(a("liferay!frontend-js-react-web$react")),o=(a("../../../prop-types/index"),a("../../contexts/StoreContext")),l=d(a("../../utils/isItemEmpty")),n=d(a("../topper/TopperEmpty"));function d(e){return e&&e.__esModule?e:{default:e}}const e=r.default.forwardRef((({children:e,item:t},a)=>{const d=(0,o.useSelectorCallback)((e=>(0,l.default)(t,e.layoutData,e.selectedViewportSize)),[t]);return r.default.createElement(n.default,{item:t},r.default.createElement("div",{className:"page-editor__root",ref:a},d&&r.default.createElement("div",{className:"page-editor__no-fragments-state"},r.default.createElement("p",{className:"page-editor__no-fragments-state__message"},Liferay.Language.get("place-fragments-or-widgets-here"))),e))}));e.displayName="Root";var s=e;t.default=s}}));
//# sourceMappingURL=Root.js.map