Liferay.Loader.define("dynamic-data-mapping-form-web@4.0.105/admin/js/App.es",["module","exports","require","@frontend-taglib-clay$clayui/loading-indicator","@frontend-taglib-clay$clayui/modal","data-engine-js-components-web","data-engine-js-components-web/js/core/reducers/index.es","data-engine-js-components-web/js/custom/form/reducers/index.es","liferay!frontend-js-react-web$react","liferay!frontend-js-react-web$react-dnd","liferay!frontend-js-react-web$react-dnd-html5-backend","dynamic-data-mapping-form-web$react-router-dom","./components/LazyRoute","./components/NavigationBar.es","./config/initialConfigState.es","./config/initialState.es","./hooks/useAutoSave.es","./hooks/useToast.es","./reducers/index.es"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=h;var n=w(a("@frontend-taglib-clay$clayui/loading-indicator")),r=a("@frontend-taglib-clay$clayui/modal"),o=a("data-engine-js-components-web"),i=a("data-engine-js-components-web/js/core/reducers/index.es"),l=a("data-engine-js-components-web/js/custom/form/reducers/index.es"),c=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=v();if(t&&t.has(e))return t.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=n?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(a,r,o):a[r]=e[r]}a.default=e,t&&t.set(e,a);return a}(a("liferay!frontend-js-react-web$react")),d=a("liferay!frontend-js-react-web$react-dnd"),u=a("liferay!frontend-js-react-web$react-dnd-html5-backend"),s=a("dynamic-data-mapping-form-web$react-router-dom"),f=w(a("./components/LazyRoute")),m=a("./components/NavigationBar.es"),p=a("./config/initialConfigState.es"),g=a("./config/initialState.es"),b=w(a("./hooks/useAutoSave.es")),y=a("./hooks/useToast.es"),j=a("./reducers/index.es");function v(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return v=function(){return e},e}function w(e){return e&&e.__esModule?e:{default:e}}function R(e,t){if(null==e)return{};var a,n,r=function(e,t){if(null==e)return{};var a,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)a=o[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}function h(e){let{autosaveInterval:t,autosaveURL:a,mainRequire:v}=e,w=R(e,["autosaveInterval","autosaveURL","mainRequire"]);const{config:h,state:E}=(0,o.parseProps)(w);return c.default.createElement(d.DndProvider,{backend:u.HTML5Backend,context:window},c.default.createElement(o.ConfigProvider,{config:h,initialConfig:p.INITIAL_CONFIG_STATE},c.default.createElement(r.ClayModalProvider,null,c.default.createElement(o.FormProvider,{init:g.initState,initialState:g.BUILDER_INITIAL_STATE,reducers:[i.dragAndDropReducer,j.elementSetReducer,i.fieldEditableReducer,j.formInfoReducer,i.languageReducer,l.objectFieldsReducer,l.pageReducer,i.pagesStructureReducer,j.rulesReducer,j.sidebarReducer],value:E},c.default.createElement(y.ToastProvider,null,c.default.createElement(s.HashRouter,null,c.default.createElement(b.default,{interval:t,url:a},c.default.createElement(s.Route,{component:m.NavigationBar,path:"/"}),c.default.createElement(c.Suspense,{fallback:c.default.createElement(n.default,null)},c.default.createElement(s.Switch,null,c.default.createElement(f.default,{exact:!0,importPath:"".concat(v,"/admin/js/pages/FormBuilder.es"),path:"/"}),c.default.createElement(f.default,{importPath:"".concat(v,"/admin/js/pages/RuleBuilder.es"),path:"/rules"}),c.default.createElement(f.default,{importPath:"".concat(v,"/admin/js/pages/Report"),path:"/report"}))))))))))}h.displayName="App"}}));
//# sourceMappingURL=App.es.js.map