| 1 |
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./StartApps-1.0.83-BMG3WfJT.js","./tanstack-1.0.83-vdxW-z_W.js","./redux-1.0.83-C_HljLTP.js","./vendor-1.0.83-CN03Eozo.js","./lib-1.0.83-DP604-fF.js","./utils-1.0.83-DdPZyaQg.js","./useViewHeight-1.0.83-loVSeunZ.js","./RestApiError-1.0.83-BqNcX1Bf.js","./useLoadAppMetaData-1.0.83-DZiiOOpT.js","./RestApi-1.0.83-DlgDxjgk.js","./StoreTypeEnum-1.0.83-BelEl9Lj.js","./hooks-1.0.83-C3p88FIk.js","./index-1.0.83-BX1zj1NC.js","./main-1.0.83-DKiZlI1m.css","./StartChart-1.0.83-Cd3hRdPS.js","./StartMap-1.0.83-vBH2xQn1.js","./MapPrepare-1.0.83-BvZ29h6T.js","./useMetadata-1.0.83-CFVrAN2v.js","./FallbackSpinner-1.0.83-CXgWcm-3.js","./Spinner-1.0.83-DZBRcNpR.js","./Box-1.0.83-Cqg2aQ6v.js","./CircularProgress-1.0.83-C7us6xSc.js","./Typography-1.0.83-RUNWFUSq.js","./StartDashboard-1.0.83-BvR69SfX.js","./StartApp-1.0.83-Ao24xlcX.js","./AppContainer-1.0.83-Dg74Lz4u.js","./AlertDialog-1.0.83-BQeieteN.js","./ConfirmDialog-1.0.83-CFaG9DZY.js","./ButtonBase-1.0.83-CG1HAKKR.js","./useEnhancedEffect-1.0.83-CUAS28ZG.js","./AdminTheme-1.0.83-BKaTiMP5.js","./Modal-1.0.83-Bk90O4XZ.js","./Portal-1.0.83-Dhvo44f3.js","./SanitizeComponent-1.0.83-B8DdqhqN.js"])))=>i.map(i=>d[i]); |
| 2 |
import{R as h,_ as p,a as g}from"./RestApiError-1.0.83-BqNcX1Bf.js";import{j as e}from"./tanstack-1.0.83-vdxW-z_W.js";import{r as s}from"./redux-1.0.83-C_HljLTP.js";import{C as n,l as c,v as x}from"./lib-1.0.83-DP604-fF.js";import{C as A}from"./CircularProgress-1.0.83-C7us6xSc.js";import"./vendor-1.0.83-CN03Eozo.js";import"./utils-1.0.83-DdPZyaQg.js";const l=()=>e.jsx("div",{className:"pp-loading",style:{textAlign:"center",display:"block"},children:e.jsx(A,{size:48,sx:{color:"#000"}})});n.appDebug?(c.setLevel("debug"),c.debug(n.appName+" started: debug = on")):c.setLevel("info");window.document.querySelectorAll(".pp-container-app").forEach(t=>{var _,f;const d=h.createRoot(t);let o;t.getAttribute("data-filter_field_name")!==null&&t.getAttribute("data-filter_field_value")!==null&&(o={[t.getAttribute("data-filter_field_name")]:t.getAttribute("data-filter_field_value")});let r;if(t.getAttribute("data-shortcode_field_name")!==null&&t.getAttribute("data-shortcode_field_value")!==null){const a=(_=t.getAttribute("data-shortcode_field_name"))==null?void 0:_.split(","),i=(f=t.getAttribute("data-shortcode_field_value"))==null?void 0:f.split(",");if(Array.isArray(a)&&Array.isArray(i)&&a.length>0&&a.length===i.length){r={};for(let u=0;u<a.length;u++)r[a[u]]=i[u]}}if(n.appStatus===""){if(n.appUrl){const a=x();if(t.classList.contains("pp-container-apps")){const i=s.lazy(()=>p(()=>import("./StartApps-1.0.83-BMG3WfJT.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url));d.render(e.jsxs("div",{style:{height:"800px"},"data-pp-app-id":a,children:[l(),e.jsx(s.Suspense,{children:e.jsx(i,{appId:a,dataSource:t.getAttribute("data-source")})})]}))}else if(t.classList.contains("pp-container-chart")){const i=s.lazy(()=>p(()=>import("./StartChart-1.0.83-Cd3hRdPS.js"),__vite__mapDeps([14,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url));d.render(e.jsxs("div",{style:{height:"400px"},"data-pp-app-id":a,children:[l(),e.jsx(s.Suspense,{children:e.jsx(i,{appId:a,dataSource:t.getAttribute("data-source"),shortcodeArgs:r})})]}))}else if(t.classList.contains("pp-container-map")){const i=s.lazy(()=>p(()=>import("./StartMap-1.0.83-vBH2xQn1.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,8,9,10,11,12,16,17,18,19,20,21,22,13]),import.meta.url));d.render(e.jsxs("div",{style:{height:"400px"},"data-pp-app-id":a,children:[l(),e.jsx(s.Suspense,{children:e.jsx(i,{appId:a,dataSource:t.getAttribute("data-source"),shortcodeArgs:r})})]}))}else if(t.classList.contains("pp-container-dashboard")){const i=s.lazy(()=>p(()=>import("./StartDashboard-1.0.83-BvR69SfX.js"),__vite__mapDeps([23,1,2,3,4,5,7,8,9,10,11,12]),import.meta.url));d.render(e.jsxs("div",{style:{height:"800px"},"data-pp-app-id":a,children:[l(),e.jsx(s.Suspense,{children:e.jsx(i,{appId:a,dataSource:t.getAttribute("data-source"),shortcodeArgs:r})})]}))}else{const i=s.lazy(()=>p(()=>import("./StartApp-1.0.83-Ao24xlcX.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,25,26,27,28,21,22,29,30,31,32,33,20,13]),import.meta.url));d.render(e.jsxs("div",{style:{height:"800px"},"data-pp-app-id":a,children:[l(),e.jsx(s.Suspense,{children:e.jsx(i,{appId:a,dataSource:t.getAttribute("data-source"),staticFilter:o,shortcodeArgs:r})})]}))}}}else g,n.appStatus}); |