"use strict";(()=>{var e={};e.id=4795,e.ids=[636,4795],e.modules={81553:(e,r,t)=>{t.r(r),t.d(r,{config:()=>E,default:()=>h,getServerSideProps:()=>M,getStaticPaths:()=>v,getStaticProps:()=>b,reportWebVitals:()=>_,routeModule:()=>T,unstable_getServerProps:()=>A,unstable_getServerSideProps:()=>F,unstable_getStaticParams:()=>R,unstable_getStaticPaths:()=>C,unstable_getStaticProps:()=>j});var s={};t.r(s),t.d(s,{default:()=>y,getServerSideProps:()=>f});var i=t(63865),u=t(9455),o=t(30671),a=t(49407),p=t(68268),l=t(8732),n=t(82015),m=t.n(n),x=t(93615),c=t.n(x),d=t(64987),q=t(75260);function g({data:e,user:r}){let{targetDocPage:t}=e;return(0,l.jsx)(m().Fragment,{children:(0,l.jsx)(q.A,{data:t,user:r})})}var P=t(67216),S=t.n(P);function y({user:e,data:r}){let t=(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,l.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,l.jsx)(d.A,{head:t,user:e,children:(0,l.jsx)(g,{data:r,user:e})})}async function f({req:e,res:r,query:t}){let s=await c()(e);if(!s?.logged_in_status)return{redirect:{destination:"/su/login",permanent:!1}};let i=await S()("SELECT * FROM docs_pages WHERE id=?",[t.id]);return i&&Array.isArray(i)&&i[0]?{props:{user:s,data:{targetDocPage:i[0]}}}:{redirect:{destination:"/su/docs",permanent:!1}}}let h=(0,o.M)(s,"default"),b=(0,o.M)(s,"getStaticProps"),v=(0,o.M)(s,"getStaticPaths"),M=(0,o.M)(s,"getServerSideProps"),E=(0,o.M)(s,"config"),_=(0,o.M)(s,"reportWebVitals"),j=(0,o.M)(s,"unstable_getStaticProps"),C=(0,o.M)(s,"unstable_getStaticPaths"),R=(0,o.M)(s,"unstable_getStaticParams"),A=(0,o.M)(s,"unstable_getServerProps"),F=(0,o.M)(s,"unstable_getServerSideProps"),T=new i.PagesRouteModule({definition:{kind:u.A.PAGES,page:"/su/docs/pages/[id]",pathname:"/su/docs/pages/[id]",bundlePath:"",filename:""},components:{App:p.default,Document:a.default},userland:s})},66099:e=>{e.exports=require("@mui/system")},37616:e=>{e.exports=require("@mui/system/DefaultPropsProvider")},24509:e=>{e.exports=require("@mui/system/InitColorSchemeScript")},8919:e=>{e.exports=require("@mui/system/RtlProvider")},84781:e=>{e.exports=require("@mui/system/colorManipulator")},18215:e=>{e.exports=require("@mui/system/createStyled")},59989:e=>{e.exports=require("@mui/system/createTheme")},16670:e=>{e.exports=require("@mui/system/styleFunctionSx")},88698:e=>{e.exports=require("@mui/system/useThemeProps")},76831:e=>{e.exports=require("@mui/utils")},98967:e=>{e.exports=require("@mui/utils/HTMLElementType")},28578:e=>{e.exports=require("@mui/utils/capitalize")},54341:e=>{e.exports=require("@mui/utils/chainPropTypes")},14036:e=>{e.exports=require("@mui/utils/composeClasses")},31112:e=>{e.exports=require("@mui/utils/createChainedFunction")},21763:e=>{e.exports=require("@mui/utils/debounce")},7546:e=>{e.exports=require("@mui/utils/deepmerge")},5928:e=>{e.exports=require("@mui/utils/deprecatedPropType")},30729:e=>{e.exports=require("@mui/utils/elementAcceptingRef")},47822:e=>{e.exports=require("@mui/utils/extractEventHandlers")},20985:e=>{e.exports=require("@mui/utils/formatMuiErrorMessage")},61119:e=>{e.exports=require("@mui/utils/generateUtilityClass")},81699:e=>{e.exports=require("@mui/utils/generateUtilityClasses")},16362:e=>{e.exports=require("@mui/utils/getReactElementRef")},71291:e=>{e.exports=require("@mui/utils/integerPropType")},29823:e=>{e.exports=require("@mui/utils/isMuiElement")},55402:e=>{e.exports=require("@mui/utils/ownerDocument")},46875:e=>{e.exports=require("@mui/utils/ownerWindow")},48080:e=>{e.exports=require("@mui/utils/requirePropFactory")},39597:e=>{e.exports=require("@mui/utils/setRef")},88190:e=>{e.exports=require("@mui/utils/unsupportedProp")},83889:e=>{e.exports=require("@mui/utils/useControlled")},21956:e=>{e.exports=require("@mui/utils/useEnhancedEffect")},4926:e=>{e.exports=require("@mui/utils/useEventCallback")},7376:e=>{e.exports=require("@mui/utils/useForkRef")},63310:e=>{e.exports=require("@mui/utils/useId")},10977:e=>{e.exports=require("@mui/utils/useIsFocusVisible")},10179:e=>{e.exports=require("@mui/utils/useSlotProps")},40373:e=>{e.exports=require("@tinymce/tinymce-react")},74956:e=>{e.exports=require("clsx")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},29825:e=>{e.exports=require("prop-types")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},37727:e=>{e.exports=require("react-transition-group")},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")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};var r=require("../../../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[9764,883,6806,8268,3737,615,8153],()=>t(81553));module.exports=s})();