(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4656],{84477:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/[page]/[sub-page]",function(){return n(50629)}])},26e3:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var s=n(85893),l=n(67294);function a(t){var e=t.pages;if(!e||!e[0])return null;var n=null===e||void 0===e?void 0:e.filter((function(t){return 1==t.level}));return l.useEffect((function(){var t=document.querySelectorAll("aside a");t&&t[0]&&t.forEach((function(t){t.pathname===window.location.pathname&&t.classList.add("active")}))}),[]),(0,s.jsxs)("aside",{className:"w-full lg:w-80 p-10 bg-slate-100 dark:bg-slate-800 sticky top-0 overflow-y-auto max-h-max lg:max-h-screen transition-all",children:[(0,s.jsx)("span",{className:"text-2xl m-0 mb-4 text-left font-semibold",children:"Docs"}),(0,s.jsx)("ul",{className:"pl-4 gap-4 flex flex-col items-start",children:function t(n,l){return n.map((function(n,a){var r="".concat(l,"/").concat(n.slug),i=e.filter((function(t){return 2==t.level&&t.parent_id==n.id}));return(0,s.jsxs)("li",{children:[(0,s.jsx)("a",{href:r,className:1==(null===n||void 0===n?void 0:n.level)?"font-semibold":"text-slate-600",children:n.title}),i&&i[0]&&(0,s.jsx)("ul",{className:"pl-4 gap-2 flex flex-col items-start text-sm mt-2",children:t(i,r)})]},a)}))}(n,"/docs")})]})}},99350:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var s=n(85893);n(67294);function l(t){var e=t.title,n=t.description;return(0,s.jsxs)("section",{className:"py-14",children:[(0,s.jsx)("div",{className:"w-full gap-10 justify-between items-start flex-col lg:flex-row relative z-10",children:(0,s.jsxs)("div",{className:"flex-col items-start max-w-[740px] text-left",style:{minWidth:"45%"},children:[(0,s.jsx)("h1",{className:"m-0 leading-tight",children:e}),(0,s.jsx)("span",{className:"font-normal text-xl -my-4",dangerouslySetInnerHTML:{__html:n}})]})}),(0,s.jsx)("img",{src:"/images/grid.webp",alt:"Dotted image background",className:"absolute top-0 left-0 w-full h-full object-cover opacity-5 z-0"})]})}},9922:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var s=n(86729);function l(t){var e=t.setUser,n=localStorage.getItem("user");if(n)try{return void e(JSON.parse(n))}catch(l){return void e({})}(0,s.Z)("/api/clientSideAuth",{method:"post",body:{}},!0).then((function(t){var n=t.user?t.user:{};e(n),localStorage.setItem("user",JSON.stringify(n))})).catch((function(t){console.log(t)}))}},50629:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSG:function(){return l},default:function(){return a}});n(828),n(85893);var s=n(67294),l=(n(56217),n(24097),n(9922),n(26e3),n(99350),!0);function a(t){t.pages,t.targetPage;return s.useEffect((function(){window.location.href="https://datasquirel.com/docs/getting-started"}),[]),null}}},function(t){t.O(0,[9774,2888,179],(function(){return e=84477,t(t.s=e);var e}));var e=t.O();_N_E=e}]);