exports.id=5913,exports.ids=[5913],exports.modules={7482:(e,t,r)=>{"use strict";r.d(t,{Z:()=>NavigationLoader});var a=r(5193),n=r(6689),s=r.n(n),i=r(1163),o=r(5194);function NavigationLoader(e){let{text:t="Loading..."}=e,[r,n]=s().useState(!1),d=(0,i.useRouter)();s().useEffect(()=>{let e;let start=()=>e=setTimeout(()=>n(!0),5e3),end=()=>{e&&clearTimeout(e),n(!1)};return d.events.on("routeChangeStart",start),d.events.on("routeChangeComplete",end),d.events.on("routeChangeError",end),()=>{d.events.off("routeChangeStart",start),d.events.off("routeChangeComplete",end),d.events.off("routeChangeError",end),e&&clearTimeout(e.current)}},[d.events]);let[l,c]=s().useState(!0),[u,p]=s().useState("Please wait...");return r?a.jsx(o.Z,{openLoader:!0,actionTitle:"Please wait..."}):null}},5194:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var a=r(5193);r(6689);var n=r(3456),s=r.n(n),i=r(7155),o=r.n(i),d=r(7373),l=r.n(d),c=r(5845),u=r.n(c),p=r(5545),h=r.n(p);let WaitingLoader=e=>a.jsx(a.Fragment,{children:(0,a.jsxs)(s(),{open:e.openLoader,sx:{"& .MuiDialog-container":{"& .MuiPaper-root":{width:"100%",maxWidth:"650px"}}},children:[a.jsx(o(),{children:(0,a.jsxs)(l(),{container:!0,spacing:2,children:[a.jsx(l(),{item:!0,xs:12,sm:12,md:1,lg:1,children:a.jsx("img",{src:"/img/countylogo.jpg",alt:"logo",style:{width:"40px",height:"40px",margin:"0px",padding:"0px"},className:"faa-tada animated"})}),a.jsx(l(),{item:!0,xs:12,sm:12,md:11,lg:11,children:a.jsx("span",{style:{color:"#6C5B7B"},children:e.actionTitle})})]})}),a.jsx(u(),{sx:{width:"100%"},children:a.jsx(h(),{})})]})});WaitingLoader.propTypes={},WaitingLoader.defaultProps={};let g=WaitingLoader},5913:(e,t,r)=>{"use strict";r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{default:()=>h});var n=r(5193);r(6764);var s=r(4717),i=r(6022),o=r(1649),d=r(6249),l=r.n(d),c=r(7482),u=r(86);r(5800),r(6689),r(5194);var p=e([u]);function MyApp({Component:e,pageProps:{session:t,...r}}){let a=e.layout||(e=>n.jsx(n.Fragment,{children:e}));return(0,n.jsxs)(n.Fragment,{children:[n.jsx(c.Z,{}),n.jsx(i.Provider,{store:s.h,children:n.jsx(o.SessionProvider,{session:t,children:n.jsx(l(),{injectFirst:!0,children:n.jsx(n.Fragment,{children:n.jsx(a,{children:n.jsx(e,{...r})})})})})})]})}(u=(p.then?(await p)():p)[0]).config.autoAddCss=!1;let h=MyApp;a()}catch(e){a(e)}})},313:(e,t,r)=>{"use strict";r.d(t,{v3:()=>a});let a="https://api.dream-ipms.com/public/index.php"},8150:(e,t,r)=>{"use strict";r.d(t,{g:()=>i});var a=r(4335),n=r(5648),s=r(313);let i=(0,a.createApi)({reducerPath:"apiDreamSchool",baseQuery:(0,a.fetchBaseQuery)({baseUrl:s.v3}),extractRehydrationInfo(e,{reducerPath:t}){if(e.type===n.HYDRATE)return e.payload[t]},endpoints:()=>({})})},4717:(e,t,r)=>{"use strict";r.d(t,{h:()=>s});var a=r(5184),n=r(8150);let s=(0,a.configureStore)({reducer:{[n.g.reducerPath]:n.g.reducer},middleware:e=>e().concat(n.g.middleware)})},6764:()=>{}};