Liferay.Loader.define("dynamic-data-mapping-form-web@4.0.105/admin/js/components/LazyRoute",["module","exports","require","liferay!frontend-js-react-web$react","dynamic-data-mapping-form-web$react-router-dom"],(function(e,r,t){window;{Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){let{importPath:r}=e,t=function(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["importPath"]);const a=(0,n.useMemo)((()=>(0,n.lazy)((()=>new Promise(((e,t)=>{Liferay.Loader.require([r],(r=>e(r)),(e=>t(e)))}))))),[r]);return n.default.createElement(o.Route,i({},t,{render:e=>n.default.createElement(a,e)}))};var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=a();if(r&&r.has(e))return r.get(e);var t={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=n?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(t,o,i):t[o]=e[o]}t.default=e,r&&r.set(e,t);return t}(t("liferay!frontend-js-react-web$react")),o=t("dynamic-data-mapping-form-web$react-router-dom");function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function i(){return(i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}}}));
//# sourceMappingURL=LazyRoute.js.map