Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.132/page_editor/core/hooks/useLoad",["module","exports","require","@liferay/frontend-js-react-web","liferay!frontend-js-react-web$react"],(function(e,r,t){var a;window;{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){const r=u(new Map),t=(0,n.useIsMounted)();return e(((e,a)=>(r.current.get(e)||r.current.set(e,new Promise(((n,o)=>{Liferay.Loader.require([a],(e=>{t()&&n(e.default)}),(a=>{t()&&(r.current.delete(e),o(a))}))}))),r.current.get(e))),[t])};var n=t("@liferay/frontend-js-react-web"),o=(a=t("liferay!frontend-js-react-web$react"))&&a.__esModule?a:{default:a};const{useCallback:e,useRef:u}=o.default}}));
//# sourceMappingURL=useLoad.js.map