const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Alert-1.0.63-BLYiE2Yx.js","./cm-1.0.63-CSIRHMXC.js","./redux-1.0.63-Df-eBzJn.js","./vendor-1.0.63-CN03Eozo.js","./index-1.0.63-BbQj9wqD.js","./iconBase-1.0.63-CFvHhC4t.js","./Typography-1.0.63-mecuj_Wl.js","./lib-1.0.63-DJZPtMem.js","./loglevel-1.0.63-BZ7XahX3.js","./lodash-1.0.63-hMxolcpJ.js","./moment-1.0.63-C5S46NFB.js","./ButtonBase-1.0.63-CF10PFMS.js","./useEnhancedEffect-1.0.63-DnR0ZFqV.js","./AlertTitle-1.0.63-B6QMQB-K.js","./createSvgIcon-1.0.63-DWL3J-DK.js","./Close-1.0.63-Dvbopfj5.js","./StartAppBuilder-1.0.63-Bx00Nrhm.js","./cmJson-1.0.63-CyZ2MfFg.js","./rehyperaw-1.0.63-AkovKNCK.js","./markdown-1.0.63-BJvkzZkj.js","./notistack-1.0.63-B49ULGrj.js","./useViewHeight-1.0.63-C7T4FLFa.js","./StartApps-1.0.63-kr_8iTg_.js","./StartChart-1.0.63-CP_ss0E3.js","./StartMap-1.0.63-20ySuSRU.js","./StartApp-1.0.63-BQIWoNVc.js","./StartAdmin-1.0.63-Bj1J2Vfz.js","./StartDataExplorer-1.0.63-DQVr3QJ7.js","./StartQueryBuilder-1.0.63-REjvqyiC.js"])))=>i.map(i=>d[i]);
import{_ as o}from"./cmJson-1.0.63-CyZ2MfFg.js";import{j as r}from"./cm-1.0.63-CSIRHMXC.js";import{r as a}from"./redux-1.0.63-Df-eBzJn.js";import{a as g,g as h}from"./vendor-1.0.63-CN03Eozo.js";import{C as i,l as f}from"./lib-1.0.63-DJZPtMem.js";import"./rehyperaw-1.0.63-AkovKNCK.js";import"./markdown-1.0.63-BJvkzZkj.js";import"./loglevel-1.0.63-BZ7XahX3.js";import"./lodash-1.0.63-hMxolcpJ.js";import"./moment-1.0.63-C5S46NFB.js";var d={},S;function x(){if(S)return d;S=1;var e=g();return d.createRoot=e.createRoot,d.hydrateRoot=e.hydrateRoot,d}var R=x();const c=h(R),u=(e,t)=>{const n=a.lazy(()=>o(()=>import("./Alert-1.0.63-BLYiE2Yx.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url));e.render(r.jsx(a.Suspense,{children:r.jsx(n,{severity:"error",message:t,close:!1})}))};i.appDebug?(f.setLevel("debug"),f.debug(i.appName+" started: debug = on")):f.setLevel("info");const y=()=>{window.document.querySelectorAll(".pp-container-app-builder").forEach(e=>{const t=c.createRoot(e);if(i.appStatus==="")if(i.appUrl){const n=a.lazy(()=>o(()=>import("./StartAppBuilder-1.0.63-Bx00Nrhm.js"),__vite__mapDeps([16,17,1,2,3,7,8,9,10,18,19,20,21]),import.meta.url));t.render(r.jsx(a.Suspense,{children:r.jsx(n,{})}))}else u(t,"Invalid REST API configuration");else u(t,i.appStatus)}),window.document.querySelectorAll(".pp-container-app").forEach(e=>{var m,A;const t=c.createRoot(e);let n;e.getAttribute("data-filter_field_name")!==null&&e.getAttribute("data-filter_field_value")!==null&&(n={[e.getAttribute("data-filter_field_name")]:e.getAttribute("data-filter_field_value")});let p;if(e.getAttribute("data-shortcode_field_name")!==null&&e.getAttribute("data-shortcode_field_value")!==null){const s=(m=e.getAttribute("data-shortcode_field_name"))==null?void 0:m.split(","),_=(A=e.getAttribute("data-shortcode_field_value"))==null?void 0:A.split(",");if(Array.isArray(s)&&Array.isArray(_)&&s.length>0&&s.length===_.length){p={};for(let l=0;l<s.length;l++)p[s[l]]=_[l]}}if(i.appStatus==="")if(i.appUrl)if(e.classList.contains("pp-container-apps")){const s=a.lazy(()=>o(()=>import("./StartApps-1.0.63-kr_8iTg_.js"),__vite__mapDeps([22,17,1,2,3,7,8,9,10,18,19,20,21]),import.meta.url));t.render(r.jsx(a.Suspense,{children:r.jsx(s,{dataSource:e.getAttribute("data-source")})}))}else if(e.classList.contains("pp-container-chart")){const s=a.lazy(()=>o(()=>import("./StartChart-1.0.63-CP_ss0E3.js"),__vite__mapDeps([23,17,1,2,3,7,8,9,10,18,19,20,21]),import.meta.url));t.render(r.jsx(a.Suspense,{children:r.jsx(s,{dataSource:e.getAttribute("data-source"),shortcodeArgs:p})}))}else if(e.classList.contains("pp-container-map")){const s=a.lazy(()=>o(()=>import("./StartMap-1.0.63-20ySuSRU.js"),__vite__mapDeps([24,17,1,2,3,7,8,9,10,18,19,20,21]),import.meta.url));t.render(r.jsx(a.Suspense,{children:r.jsx(s,{dataSource:e.getAttribute("data-source"),shortcodeArgs:p})}))}else{const s=a.lazy(()=>o(()=>import("./StartApp-1.0.63-BQIWoNVc.js"),__vite__mapDeps([25,17,1,2,3,7,8,9,10,18,19,20,21]),import.meta.url));t.render(r.jsx(a.Suspense,{children:r.jsx(s,{dataSource:e.getAttribute("data-source"),staticFilter:n,shortcodeArgs:p})}))}else u(t,"Invalid REST API configuration");else u(t,i.appStatus)}),window.document.querySelectorAll(".pp-container-explorer").forEach(e=>{const t=c.createRoot(e);if(i.appStatus==="")if(i.appUrl)if(e.classList.contains("pp-container-admin")){const n=a.lazy(()=>o(()=>import("./StartAdmin-1.0.63-Bj1J2Vfz.js"),__vite__mapDeps([26,17,1,2,3,7,8,9,10,18,19,20,21]),import.meta.url));t.render(r.jsx(a.Suspense,{children:r.jsx(n,{dataSource:e.getAttribute("data-source")})}))}else{const n=a.lazy(()=>o(()=>import("./StartDataExplorer-1.0.63-DQVr3QJ7.js"),__vite__mapDeps([27,17,1,2,3,7,8,9,10,18,19,20,21]),import.meta.url));t.render(r.jsx(a.Suspense,{children:r.jsx(n,{})}))}else u(t,"Invalid REST API configuration");else u(t,i.appStatus)}),window.document.querySelectorAll(".pp-container-query-builder").forEach(e=>{const t=c.createRoot(e);if(i.appStatus==="")if(i.appUrl){const n=a.lazy(()=>o(()=>import("./StartQueryBuilder-1.0.63-REjvqyiC.js").then(p=>p.S),__vite__mapDeps([28,17,1,2,3,7,8,9,10,18,19,20,21]),import.meta.url));t.render(r.jsx(a.Suspense,{children:r.jsx(n,{})}))}else u(t,"Invalid REST API configuration");else u(t,i.appStatus)})};y();export{c as R};
