Liferay.Loader.define("@liferay/layout-content-page-editor-web@3.0.156/page_editor/common/hooks/usePlugins",["module","exports","require","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function usePlugins(){const t=u(new Map),r=e((e=>t.current.get(e)||Promise.resolve(null)),[]),n=e(((e,r,n)=>(t.current.has(e)||t.current.set(e,r.then((e=>new e(n))).catch((e=>null))),t.current.get(e))),[]);return{getInstance:r,register:n}};var n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r("liferay!frontend-js-react-web$react"));const{useCallback:e,useRef:u}=n.default}}));
//# sourceMappingURL=usePlugins.js.map