"use strict";(()=>{var e={};e.id=99,e.ids=[99],e.modules={94572:(e,t,r)=>{r.r(t),r.d(t,{config:()=>_,default:()=>m,getServerSideProps:()=>b,getStaticPaths:()=>v,getStaticProps:()=>x,reportWebVitals:()=>f,routeModule:()=>E,unstable_getServerProps:()=>j,unstable_getServerSideProps:()=>A,unstable_getStaticParams:()=>M,unstable_getStaticPaths:()=>q,unstable_getStaticProps:()=>h});var s={};r.r(s),r.d(s,{default:()=>S,getServerSideProps:()=>P});var a=r(63865),i=r(9455),o=r(30671),u=r(5583),n=r(19796),d=r(8732);r(82015);var p=r(61197),l=r(40778),c=r(93035),g=r(71934);function S({user:e,data:t}){let r=(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,d.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,d.jsx)(l.A,{head:r,user:e,children:(0,d.jsx)(c.A,{data:t})})}async function P({req:e,res:t,query:r}){let s=await (0,p.A)(e);return s?.logged_in_status?{props:{user:s,data:{docPages:await (0,g.A)("SELECT * FROM docs_pages WHERE level=1 ORDER BY page_order ASC"),env:"dev_dev"}}}:{redirect:{destination:"/su/login",permanent:!1}}}let m=(0,o.M)(s,"default"),x=(0,o.M)(s,"getStaticProps"),v=(0,o.M)(s,"getStaticPaths"),b=(0,o.M)(s,"getServerSideProps"),_=(0,o.M)(s,"config"),f=(0,o.M)(s,"reportWebVitals"),h=(0,o.M)(s,"unstable_getStaticProps"),q=(0,o.M)(s,"unstable_getStaticPaths"),M=(0,o.M)(s,"unstable_getStaticParams"),j=(0,o.M)(s,"unstable_getServerProps"),A=(0,o.M)(s,"unstable_getServerSideProps"),E=new a.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/su/docs/pages",pathname:"/su/docs/pages",bundlePath:"",filename:""},components:{App:n.default,Document:u.default},userland:s})},13893:e=>{e.exports=require("@moduletrace/datasquirel/dist/client/fetch")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},33873:e=>{e.exports=require("path")}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[883,9821,9796,6622,9240],()=>r(94572));module.exports=s})();