This commit is contained in:
Benjamin Toby
2024-12-05 08:03:33 +01:00
parent 9686a22c96
commit 3ffd2d6777
821 changed files with 3251 additions and 91996 deletions
@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1980],{54233:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/[page]/[sub-page]",function(){return l(77881)}])},34540:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var s=l(74848),a=l(96540);function r(e){let{pages:t}=e;if(!t||!t[0])return null;let l=null==t?void 0:t.filter(e=>1==e.level);return a.useEffect(()=>{let e=document.querySelectorAll("aside a");e&&e[0]&&e.forEach(e=>{e.pathname===window.location.pathname&&e.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 e(l,a){return l.map((l,r)=>{let c="".concat(a,"/").concat(l.slug),n=t.filter(e=>2==e.level&&e.parent_id==l.id);return(0,s.jsxs)("li",{children:[(0,s.jsx)("a",{href:c,className:(null==l?void 0:l.level)==1?"font-semibold":"text-slate-600",children:l.title}),n&&n[0]&&(0,s.jsx)("ul",{className:"pl-4 gap-2 flex flex-col items-start text-sm mt-2",children:e(n,c)})]},r)})}(l,"/docs")})]})}},85674:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var s=l(74848);function a(e){let{title:t,description:l}=e;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:t}),(0,s.jsx)("span",{className:"font-normal text-xl -my-4",dangerouslySetInnerHTML:{__html:l}})]})}),(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"})]})}l(96540)},62900:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var s=l(23698);function a(e){let{setUser:t}=e,l=localStorage.getItem("user");if(l)try{t(JSON.parse(l));return}catch(e){t({});return}(0,s.A)("/api/clientSideAuth",{method:"post",body:{}},!0).then(e=>{let l=e.user?e.user:{};t(l),localStorage.setItem("user",JSON.stringify(l))}).catch(e=>{console.log(e)})}},77881:(e,t,l)=>{"use strict";l.r(t),l.d(t,{__N_SSG:()=>a,default:()=>r}),l(74848);var s=l(96540);l(93444),l(96411),l(62900),l(34540),l(85674);var a=!0;function r(e){let{pages:t,targetPage:l}=e;return s.useEffect(()=>{window.location.href="https://datasquirel.com/docs/getting-started"},[]),null}}},e=>{var t=t=>e(e.s=t);e.O(0,[636,6593,8792],()=>t(54233)),_N_E=e.O()}]);
@@ -1 +0,0 @@
(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}]);