"use strict";(()=>{vare={};e.id=179,e.ids=[179],e.modules={78918:(e,t,r)=>{r.r(t),r.d(t,{config:()=>f,default:()=>P,getServerSideProps:()=>v,getStaticPaths:()=>b,getStaticProps:()=>x,reportWebVitals:()=>h,routeModule:()=>y,unstable_getServerProps:()=>j,unstable_getServerSideProps:()=>A,unstable_getStaticParams:()=>_,unstable_getStaticPaths:()=>q,unstable_getStaticProps:()=>M});vara={};r.r(a),r.d(a,{default:()=>S,getServerSideProps:()=>m});vars=r(63865),i=r(9455),o=r(30671),u=r(5583),n=r(19796),d=r(8732);r(82015);varp=r(61197),c=r(40778),l=r(55016),g=r(71934);functionS({user:e,data:t}){letr=(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)(c.A,{head:r,user:e,children:(0,d.jsx)(l.A,{data:t,user:e})})}asyncfunctionm({req:e,res:t,query:r}){leta=await(0,p.A)(e);returna?.logged_in_status?{props:{user:a,data:{docPages:await(0,g.A)("SELECT * FROM docs_pages WHERE level=0")}}}:{redirect:{destination:"/su/login",permanent:!1}}}letP=(0,o.M)(a,"default"),x=(0,o.M)(a,"getStaticProps"),b=(0,o.M)(a,"getStaticPaths"),v=(0,o.M)(a,"getServerSideProps"),f=(0,o.M)(a,"config"),h=(0,o.M)(a,"reportWebVitals"),M=(0,o.M)(a,"unstable_getStaticProps"),q=(0,o.M)(a,"unstable_getStaticPaths"),_=(0,o.M)(a,"unstable_getStaticParams"),j=(0,o.M)(a,"unstable_getServerProps"),A=(0,o.M)(a,"unstable_getServerSideProps"),y=news.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/su/docs/create-page",pathname:"/su/docs/create-page",bundlePath:"",filename:""},components:{App:n.default,Document:u.default},userland:a})},13893:e=>{e.exports=require("@moduletrace/datasquirel/dist/client/fetch")},40373:e=>{e.exports=require("@tinymce/tinymce-react")},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")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},33873:e=>{e.exports=require("path")}};vart=require("../../../webpack-runtime.js");t.C(e);varr=e=>t(t.s=e),a=t.X(0,[883,9821,9796,6622,3155,6903],()=>r(78918));module.exports=a})();