
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="39baa580-766b-5f8a-8e0a-b04be1ff832a")}catch(e){}}();
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[107],{5722:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/legal/[section]",function(){return t(732)}])},2715:function(e,n,t){"use strict";var r=t(5893),a=t(7294),i=t(4533),o=t(2788);t(7264),t(1664);var l=t(2854),s=t(1163);t(5650);var u=t(9045);n.Z=function(e){(0,s.useRouter)();let[n,t]=(0,a.useState)(!1),[c,d]=(0,a.useState)(null);return(0,a.useEffect)(()=>{window&&window.addEventListener("beforeinstallprompt",e=>{console.log("got deferred."),d(e)})},[]),(0,r.jsxs)(r.Fragment,{children:[!1,(0,r.jsxs)("div",{className:"flex h-screen max-h-[100dvh] overflow-hidden",children:[(0,r.jsx)("div",{className:"max-h-[100dvh] min-h-[100dvh] hidden lg:block border-r border-zinc-700",children:(0,r.jsx)(u.Z,{minmax:"true"})}),(0,r.jsx)(l.fC,{open:n,onOpenChange:e=>{t(e)},children:(0,r.jsxs)(l.h_,{children:[(0,r.jsx)(l.aV,{className:"bg-black/50 z-[49] data-[state=open]:animate-overlayShow fixed inset-0"}),(0,r.jsx)(l.VY,{className:"border-r border-zinc-900 fixed z-50 gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out inset-y-0 left-0 h-full w-3/4 data-[state=open]:animate-slideInFromLeft sm:max-w-sm max-w-full overflow-hidden bg-side-bar p-0",children:(0,r.jsx)(u.Z,{})})]})}),(0,r.jsxs)("div",{className:"w-[calc(100%-16.5rem)] grow",children:[(0,r.jsx)(i.Z,{setSidebarOpen:t,isSidebarOpen:n}),(0,r.jsxs)("main",{id:"main",className:"flex h-[calc(100%-64px)] flex-1 flex-col overflow-y-auto",children:[e.children,!e.disableFooter&&(0,r.jsx)(o.Z,{})]})]})]})]})}},1794:function(e,n,t){"use strict";t(5893),t(7294),t(1664)},732:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return h},default:function(){return p}});var r={};t.r(r),t.d(r,{MDXContext:function(){return c},MDXProvider:function(){return x},useMDXComponents:function(){return f},withMDXComponents:function(){return d}});var a=t(5893),i=t(7294),o=t(1163),l=t(6089);t(1794);var s=t(2715),u=t(2746);let c=i.createContext({});function d(e){return function(n){let t=f(n.components);return i.createElement(e,{...n,allComponents:t})}}function f(e){let n=i.useContext(c);return i.useMemo(()=>"function"==typeof e?e(n):{...n,...e},[n,e])}let m={};function x({components:e,children:n,disableParentContext:t}){let r;return r=t?"function"==typeof e?e({}):e||m:f(e),i.createElement(c.Provider,{value:r},n)}function w({compiledSource:e,frontmatter:n,scope:t,components:a={},lazy:o}){let[l,s]=(0,i.useState)(!o||"undefined"==typeof window);(0,i.useEffect)(()=>{if(o){let e=window.requestIdleCallback(()=>{s(!0)});return()=>window.cancelIdleCallback(e)}},[]);let c=(0,i.useMemo)(()=>{let a=Object.assign({opts:{...r,...u.jsxRuntime}},{frontmatter:n},t),i=Object.keys(a),o=Object.values(a),l=Reflect.construct(Function,i.concat(`${e}`));return l.apply(l,o).default},[t,e]);if(!l)return i.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});let d=i.createElement(x,{components:a},i.createElement(c,null));return o?i.createElement("div",null,d):d}"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var n=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-n))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)});var h=!0,p=function(e){var n;return(0,o.useRouter)(),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.Z,{title:"Legal"+(e.title?" - "+e.title:"")+" - OnlyChar AI"}),(0,a.jsx)(s.Z,{children:(0,a.jsxs)("div",{className:"px-10 py-10 sm:px-6 lg:px-8 lg:py-6 max-w-3xl mx-auto prose-invert prose",children:[(0,a.jsx)("h1",{children:null==e?void 0:null===(n=e.frontMatter)||void 0===n?void 0:n.title}),(0,a.jsx)(w,{...null==e?void 0:e.source})]})})]})}},2746:function(e,n,t){e.exports.jsxRuntime=t(5893)}},function(e){e.O(0,[888,774,179],function(){return e(e.s=5722)}),_N_E=e.O()}]);
//# sourceMappingURL=[section]-8d01471f4dd6ae30.js.map
//# debugId=39baa580-766b-5f8a-8e0a-b04be1ff832a
