"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[579],{2579:function(e,r,s){s.d(r,{L:function(){return v}});var n=s(5893),o=s(6817),i=s(8664),t=s(3784),l=s(7414),c=s(2870),x=s(1310),a=s(8540),d=s(3681),h=s(5117),f=s(7841),j=s(9514),m=s(4065),u=s(1664),g=s.n(u);function p(){let e=new Date,r=e.getFullYear(),s=(0,m.a)("(max-width: 768px)");return(0,n.jsx)(n.Fragment,{children:s?(0,n.jsx)(l.x,{sx:{display:"flex",alignItems:"center",justifyContent:"center",background:"#252634",color:"#fff"},children:(0,n.jsxs)(l.x,{sx:{display:"flex",flexDirection:"column",width:"70%",alignItems:"center"},children:[(0,n.jsx)(g(),{href:"/about",style:{textDecoration:"none",margin:"25px"},children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",children:"About Us"})}),(0,n.jsx)(g(),{href:"/features",style:{textDecoration:"none",margin:"25px"},children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",children:"Features"})}),(0,n.jsx)(g(),{href:"/studio",style:{textDecoration:"none",margin:"25px"},children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",children:"Studio TV"})}),(0,n.jsx)(g(),{href:"/screenplays",style:{textDecoration:"none",margin:"25px"},children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",children:"Writers Rooms"})}),(0,n.jsx)(g(),{href:"/games",style:{textDecoration:"none",margin:"25px"},children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",children:"Video Game Studios"})}),(0,n.jsx)(g(),{href:"/",style:{margin:"25px"},children:(0,n.jsx)(c.E,{src:"/images/logo-light-400w.png",width:100,alt:"scripto logo"})}),(0,n.jsxs)(h.x,{mt:50,mb:10,color:"#fff",children:["\xa9️ 2010-",r]}),(0,n.jsxs)(l.x,{mb:25,sx:{display:"flex",alignSelf:"center"},children:[(0,n.jsx)(g(),{href:"/privacy",children:(0,n.jsx)(h.x,{color:"#fff",size:14,sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},children:"Privacy"})}),(0,n.jsx)(h.x,{color:"#fff",children:"-"}),(0,n.jsx)(g(),{href:"/terms",children:(0,n.jsx)(h.x,{color:"#fff",size:14,sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},children:"Terms"})}),(0,n.jsx)(g(),{href:"/cookies",style:{marginLeft:5},children:(0,n.jsx)(h.x,{color:"#fff",size:14,sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},children:"Cookies"})})]})]})}):(0,n.jsx)(l.x,{sx:{display:"flex",alignItems:"center",justifyContent:"center",background:"#252634",color:"#fff",height:"71.7px"},children:(0,n.jsx)(l.x,{sx:{display:"flex",justifyContent:"center",flexDirection:"column",width:"70%"},children:(0,n.jsxs)(l.x,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",position:"relative"},children:[(0,n.jsxs)(l.x,{sx:{display:"flex"},children:[(0,n.jsx)(g(),{href:"/about",style:{color:"#fff",textDecoration:"none",marginLeft:"50px"},children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",children:"About Us"})}),(0,n.jsx)(g(),{href:"/features",style:{textDecoration:"none",marginLeft:"50px"},children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",children:"Features"})}),(0,n.jsx)(g(),{href:"/stories",style:{textDecoration:"none",marginLeft:"50px"},children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",children:"Stories"})})]}),(0,n.jsx)(l.x,{sx:{position:"absolute",right:"50%",transform:"translateX(50%)"},children:(0,n.jsx)(g(),{href:"/",children:(0,n.jsx)(c.E,{src:"/images/logo-light-400w.png",width:100,alt:"scripto logo"})})}),(0,n.jsxs)(l.x,{sx:{display:"flex"},children:[(0,n.jsxs)(h.x,{size:14,fw:700,color:"#fff",mr:10,children:["\xa9️ 2010-",r]}),(0,n.jsx)(g(),{href:"/privacy",children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},children:"Privacy"})}),(0,n.jsx)(h.x,{children:"-"}),(0,n.jsx)(g(),{href:"/terms",children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},children:"Terms"})}),(0,n.jsx)(g(),{href:"/cookies",style:{marginLeft:10},children:(0,n.jsx)(h.x,{size:14,fw:700,color:"#fff",sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},children:"Cookies"})})]})]})})})})}var y=s(1759),F=s(7294),D=s(5152),B=s.n(D);let z=(0,o.k)(()=>({dropdown:{backgroundColor:"#252634",color:"#FBFBFD",padding:10},item:{"&[data-hovered]":{backgroundColor:"#8252C6"}}})),b="https://app.scripto.live",w=e=>({main:{label:e?"Go To App":"Get Started",href:e?"".concat(b):"".concat(b,"/create-account")},secondary:{label:e?"Help":"Sign In",href:e?"https://help.scripto.live":"".concat(b,"/login")}}),v=e=>{let{children:r}=e,s=(0,m.a)("(max-width: 768px)"),[o,{toggle:u}]=(0,y.q)(!1),{classes:D}=z(),[B,b]=(0,F.useState)(!1);(0,F.useEffect)(()=>{b(null==document?void 0:document.cookie.includes("isLoggedIn"))},[]);let v=w(B);return(0,n.jsx)(i.V,{padding:0,header:(0,n.jsxs)(t.h,{height:60,p:"xs",display:"flex",sx:{alignItems:"center",justifyContent:"space-between",background:"#252634",zIndex:10,border:"none"},children:[(0,n.jsx)(l.x,{sx:{position:"absolute",right:"50%",transform:"translateX(50%)"},children:(0,n.jsx)(g(),{href:"/",style:{textDecoration:"none"},children:(0,n.jsx)(c.E,{src:"/images/logo-light-400w.png",width:100,alt:"scripto logo"})})}),s?(0,n.jsx)(x.O,{opened:o,onClick:u,"aria-label":o?"Close navigation":"Open navigation",color:"white",sx:{marginLeft:"auto"}}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.z,{query:"(max-width: 1024px)",styles:{marginLeft:"25px"},children:(0,n.jsxs)(l.x,{ml:50,sx:{display:"flex",justifyContent:"space-around"},children:[(0,n.jsxs)(d.v,{trigger:"hover",position:"bottom-start",withArrow:!0,arrowPosition:"center",transitionProps:{transition:"fade",duration:200},classNames:D,children:[(0,n.jsx)(d.v.Target,{children:(0,n.jsxs)(l.x,{sx:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(h.x,{size:15,mr:5,color:"#FBFBFD",children:"Features"}),(0,n.jsx)(j.Z,{size:15,color:"#FBFBFD",style:{marginRight:15}})]})}),(0,n.jsxs)(d.v.Dropdown,{children:[(0,n.jsx)(d.v.Item,{children:(0,n.jsx)(g(),{href:"/features",style:{textDecoration:"none"},children:(0,n.jsx)(h.x,{size:15,mr:20,color:"#FBFBFD",children:"Key Features"})})}),(0,n.jsx)(d.v.Item,{children:(0,n.jsx)(g(),{href:"/studio",style:{textDecoration:"none"},children:(0,n.jsx)(h.x,{size:15,mr:20,color:"#FBFBFD",children:"Studio TV"})})}),(0,n.jsx)(d.v.Item,{children:(0,n.jsx)(g(),{href:"/screenplays",style:{textDecoration:"none"},children:(0,n.jsx)(h.x,{size:15,mr:20,color:"#FBFBFD",children:"Writers Rooms"})})}),(0,n.jsx)(d.v.Item,{children:(0,n.jsx)(g(),{href:"/games",style:{textDecoration:"none"},children:(0,n.jsx)(h.x,{size:15,mr:20,color:"#FBFBFD",children:"Video Game Studios"})})})]})]}),(0,n.jsx)(g(),{href:"/about",style:{textDecoration:"none"},children:(0,n.jsx)(h.x,{size:15,mr:20,color:"#FBFBFD",children:"About Us"})}),(0,n.jsx)(g(),{href:"/stories",style:{textDecoration:"none"},children:(0,n.jsx)(h.x,{size:15,color:"#FBFBFD",children:"Stories"})})]})}),(0,n.jsx)(C,{children:(0,n.jsx)(a.z,{query:"(max-width: 1024px)",styles:{marginRight:"25px"},children:(0,n.jsxs)(l.x,{mr:50,sx:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(g(),{href:v.secondary.href,style:{textDecoration:"none"},children:(0,n.jsx)(h.x,{size:"md",mr:20,color:"#FBFBFD",children:v.secondary.label})}),(0,n.jsx)(g(),{href:v.main.href,style:{textDecoration:"none"},children:(0,n.jsx)(f.z,{size:"md",radius:10,color:"#FBFBFD",sx:{background:"#8252C6"},children:v.main.label})})]})})})]}),s&&(0,n.jsx)(l.x,{sx:{position:"absolute",top:0,left:0,right:0,height:"100vh",zIndex:-1,background:"#252634",transform:o?"translateX(0)":"translateX(100%)",transition:"transform 250ms ease-in-out"},children:(0,n.jsxs)(l.x,{mt:100,sx:{display:"flex",flexDirection:"column",alignItems:"center"},children:[(0,n.jsx)(g(),{href:"/about",style:{textDecoration:"none",marginBottom:20},children:(0,n.jsx)(h.x,{size:15,color:"#FBFBFD",onClick:u,children:"About Us"})}),(0,n.jsx)(g(),{href:"/features",style:{textDecoration:"none",marginBottom:20},children:(0,n.jsx)(h.x,{size:15,color:"#FBFBFD",onClick:u,children:"Key Features"})}),(0,n.jsx)(g(),{href:"/studio",style:{textDecoration:"none",marginBottom:20},children:(0,n.jsx)(h.x,{size:15,color:"#FBFBFD",onClick:u,children:"Studio TV"})}),(0,n.jsx)(g(),{href:"/screenplays",style:{textDecoration:"none",marginBottom:20},children:(0,n.jsx)(h.x,{size:15,color:"#FBFBFD",onClick:u,children:"Writers Rooms"})}),(0,n.jsx)(g(),{href:"/games",style:{textDecoration:"none",marginBottom:20},children:(0,n.jsx)(h.x,{size:15,color:"#FBFBFD",onClick:u,children:"Video Game Studios"})}),(0,n.jsx)(C,{children:(0,n.jsx)(g(),{href:v.secondary.href,style:{textDecoration:"none",marginBottom:20},children:(0,n.jsx)(h.x,{size:"md",color:"#FBFBFD",children:v.secondary.label})})}),(0,n.jsx)(C,{children:(0,n.jsx)(g(),{href:v.main.href,style:{textDecoration:"none"},children:(0,n.jsx)(f.z,{size:"md",radius:10,color:"#FBFBFD",sx:{background:"#8252C6"},children:v.main.label})})})]})})]}),footer:(0,n.jsx)(p,{}),styles:e=>({main:{backgroundColor:"dark"===e.colorScheme?e.colors.dark[8]:e.colors.gray[0]}}),children:(0,n.jsx)(k,{children:r})})},k=e=>{let{children:r}=e;return(0,n.jsx)(l.x,{children:r})},C=e=>(0,n.jsx)(F.Fragment,{children:e.children});B()(()=>Promise.resolve(C),{ssr:!1})}}]);