Liferay.Loader.define("commerce-frontend-js@4.0.75/utilities/modules",["module","exports","require","liferay!frontend-js-react-web$react"],(function(e,t,o){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.getLiferayJsModule=getLiferayJsModule,t.getFakeJsModule=getFakeJsModule,t.getComponentByModuleUrl=function getComponentByModuleUrl(t){return new Promise(((o,r)=>{const n=u.find((e=>e.url===t));return n&&o(n.component),e(t).then((e=>(u.push({component:e,url:t}),o(e)))).catch(r)}))},t.fetchedJsModules=t.getJsModule=void 0;var r,n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(o("liferay!frontend-js-react-web$react"));function getLiferayJsModule(e){return new Promise(((t,o)=>{Liferay.Loader.require(e,(e=>t(e.default||e)),(e=>o(e)))}))}function getFakeJsModule(){return new Promise((e=>{setTimeout((()=>e((()=>n.default.createElement("div",{className:"custom-component"},"fakely fetched component")))),3e3)}))}const e=(null===(r=Liferay.Loader)||void 0===r?void 0:r.require)?getLiferayJsModule:getFakeJsModule;t.getJsModule=e;const u=[];t.fetchedJsModules=u}}));
//# sourceMappingURL=modules.js.map