PageSourceSearch

https://studycafe.se/_next/static/chunks/pages/_contact-37b783711ec2cf3f.js

js studycafe.se collected 2026-10-08 03:20:33 UTC 7,877 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5358],{45426:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_contact",function(){return n(62292)}])},49346:function(e,t,n){"use strict";n.d(t,{Z:function(){return G}});var r=n(85893),i=n(90948),o=n(99226),s=n(41664),a=n.n(s),l=n(42293),c=n(10155),d=n(23918),x=n(67294),p=n(2734),h=n(98396),m=n(26447),u=n(83321),g=n(77533),j=n(78462),Z=n(19294),f=n(98619),b=n(67720),C=n(59334),k=n(25675),y=n.n(k),v={src:"/_next/static/media/StudyCafeLogoSmall.3bf6a510.svg",height:27,width:130,blurWidth:0,blurHeight:0},w=n(11163),P=n.n(w),T=n(85946),B=n(93946),S=n(63730),_=n(67218),I=n(53508),F=n(28411);let L=(0,i.ZP)(a())(e=>{let{theme:t}=e;return{display:"flex",alignItems:"center",textDecoration:"none",marginRight:t.spacing(8)}}),A=()=>{let e=(0,p.Z)(),{settings:t}=(0,d.r)(),{skin:n}=t,{user:i}=(0,_.a)(),s=(0,h.Z)(e.breakpoints.up("md"),{defaultMatches:!0}),a=()=>{P().push("/dashboard/")},x=()=>{P().push("/")},u=()=>{P().push("/login")};return(0,r.jsx)(l.Z,{color:"default",position:"sticky",elevation:"bordered"===n?0:3,sx:{boxShadow:"bordered"===n?"none":"0px 3px 6px 0px #8C98A440",backgroundColor:"background.paper",..."bordered"===n&&{borderBottom:"1px solid ".concat(e.palette.divider)}},children:(0,r.jsx)(c.Z,{sx:{justifyContent:"space-between",p:e=>"".concat(e.spacing(0,s?20:5)," !important"),minHeight:"".concat(e.mixins.toolbar.minHeight-("bordered"===n?1:0),"px !important")},children:(0,r.jsxs)(m.Z,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{height:"100%",width:"100%"},children:[(0,r.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center"},children:[(0,r.jsx)(y(),{src:v,alt:"StudyCafe Logo",onClick:x,style:{cursor:"pointer",marginTop:"7.5px"},width:"120",height:"25"}),s&&(0,r.jsx)(m.Z,{direction:"row",spacing:2,sx:{marginLeft:4},children:(0,r.jsx)(H,{})})]}),s?(0,r.jsx)(o.Z,{children:(0,r.jsxs)(m.Z,{direction:"row",alignItems:"center",spacing:1,children:[(0,r.jsx)(I.r,{})," ",(0,r.jsx)(F.Z,{})]})}):(0,r.jsx)(N,{onGoToAppClick:a,onLoginClick:u})]})})})},H=e=>(0,r.jsxs)(m.Z,{direction:"row",sx:{pl:5},children:[(0,r.jsx)(L,{href:"/pricing",children:(0,r.jsx)(u.Z,{variant:"text",sx:{color:"customColors.websiteText",fontWeight:500,textTransform:"none",fontSize:"16px","&:hover":{color:"text.primary"}},children:(0,T.t)("appBarComponent.pricing")})}),(0,r.jsx)(L,{href:"/about",children:(0,r.jsx)(u.Z,{variant:"text",sx:{color:"customColors.websiteText",fontWeight:500,textTransform:"none",fontSize:"16px","&:hover":{color:"text.primary"}},children:(0,T.t)("appBarComponent.about")})}),(0,r.jsx)(L,{href:"/contact",children:(0,r.jsx)(u.Z,{variant:"text",sx:{color:"customColors.websiteText",fontWeight:500,textTransform:"none",fontSize:"16px","&:hover":{color:"customColors.websiteText"}},children:(0,T.t)("appBarComponent.contact")})})]}),N=e=>{let[t,n]=x.useState(!1),{user:i}=(0,_.a)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(B.Z,{onClick:()=>n(!0),children:(0,r.jsx)(S.Z,{icon:"mdi:menu",fontSize:30,color:"black"})}),(0,r.jsx)(g.ZP,{open:t,onClose:()=>n(!1),children:(0,r.jsxs)(o.Z,{sx:{width:250},role:"presentation",onClick:()=>n(!1),children:[(0,r.jsxs)(j.Z,{children:[(0,r.jsx)(Z.ZP,{disablePadding:!0,children:(0,r.jsx)(f.Z,{href:"/",children:(0,r.jsx)(y(),{src:v,alt:"StudyCafe Logo",style:{cursor:"pointer",marginTop:"7.5px"},width:"120",height:"25"})})}),(0,r.jsx)(b.Z,{}),(0,r.jsx)(Z.ZP,{disablePadding:!0,children:(0,r.jsx)(f.Z,{href:"/pricing",children:(0,r.jsx)(C.Z,{primary:(0,T.t)("appBarComponent.pricing")})})}),(0,r.jsx)(Z.ZP,{disablePadding:!0,children:(0,r.jsx)(f.Z,{href:"/about",children:(0,r.jsx)(C.Z,{primary:(0,T.t)("appBarComponent.about")})})}),(0,r.jsx)(Z.ZP,{disablePadding:!0,children:(0,r.jsx)(f.Z,{href:"/contact",children:(0,r.jsx)(C.Z,{primary:(0,T.t)("appBarComponent.contact")})})})]}),(0,r.jsx)(b.Z,{}),(0,r.jsx)(j.Z,{children:(0,r.jsx)(Z.ZP,{disablePadding:!0,children:(0,r.jsx)(f.Z,{sx:R.primaryButton,onClick:i?e.onGoToAppClick:e.onLoginClick,children:(0,r.jsx)(C.Z,{sx:R.primaryButtonText,primary:(0,T.t)(i?"appBarComponent.goToApp":"appBarComponent.logIn"),disableTypography:!0})})})})]})})]})},R={primaryButton:{borderRadius:"10px",marginLeft:"8px",marginRight:"8px",border:"0px",backgroundColor:"#5A7E28"},primaryButtonText:{color:"#FFFFFF"}},z=(0,i.ZP)(o.Z)(e=>{let{theme:t}=e;return{height:"100vh","& .content-center":{display:"flex",alignItems:"center",justifyContent:"center",padding:t.spacing(5),minHeight:"calc(100vh - ".concat(t.spacing(t.mixins.toolbar.minHeight/4),")")},"& .content-right":{display:"flex",overflowX:"hidden",position:"relative",minHeight:"calc(100vh - ".concat(t.spacing(t.mixins.toolbar.minHeight/4),")")}}}),E=e=>{let{children:t}=e;return(0,r.jsxs)(z,{children:[(0,r.jsx)(A,{}),(0,r.jsx)(o.Z,{className:"app-content",sx:{overflowX:"hidden",position:"relative",minHeight:e=>"calc(100vh - ".concat(e.spacing(e.mixins.toolbar.minHeight/4),")")},children:t})]})};var G=E},53508:function(e,t,n){"use strict";n.d(t,{r:function(){return c}});var r=n(85893),i=n(2734),o=n(83321),s=n(11163),a=n(22120),l=n(67218);let c=()=>{let{user:e}=(0,l.a)(),{t}=(0,a.$G)(),n=(0,s.useRouter)(),c=(0,i.Z)(),d=()=>{n.push("/dashboard/")},x=()=>{n.push("/login")};return(0,r.jsx)(o.Z,{variant:"contained",color:"primary",sx:{backgroundColor:c.palette.green[700],borderRadius:"10px",textTransform:"none",fontSize:"18px",marginLeft:2},onClick:e?d:x,children:t(e?"appBarComponent.goToApp":"appBarComponent.logIn")})}},62292:function(e,t,n){"use strict";n.r(t);var r=n(85893),i=n(67294),o=n(75247),s=n(66242),a=n(86886),l=n(83321),c=n(50135),d=n(44267),x=n(87109),p=n(63730),h=n(22120),m=n(49346),u=n(18377),g=n(15861);let j=()=>{let{t:e}=(0,h.$G)(),[t,n]=i.useState(""),m=e=>{e.preventDefault(),o.ZP.sendForm("service_kauf8dj","template_r44o7us",e.target,"-R3GazSiou8i3jeT-").then(e=>{console.log(e.text),n("Tack f\xf6r ditt meddelande! Vi \xe5terkommer s\xe5 snart vi kan.")},e=>{console.error(e.text)}),e.target.reset()};return(0,r.jsx)(u.Z,{className:"content-center",sx:{backgroundColor:"#FFFBF2"},children:(0,r.jsxs)(s.Z,{sx:{width:"600px",marginLeft:"auto",marginRight:"auto",justifyItems:"center",alignContent:"center"},children:[(0,r.jsx)(g.Z,{variant:"h4",sx:{textAlign:"center",paddingTop:"20px"},children:"Kontakta oss"}),(0,r.jsx)(g.Z,{variant:"body1",sx:{textAlign:"center",paddingBottom:"20px"},children:"Har du fr\xe5gor eller synpunkter? Kontakta oss g\xe4rna!"}),(0,r.jsx)(d.Z,{sx:{width:"100%"},children:(0,r.jsx)("form",{onSubmit:m,children:(0,r.jsxs)(a.ZP,{container:!0,spacing:6,children:[(0,r.jsx)(a.ZP,{item:!0,xs:12,children:(0,r.jsx)(c.Z,{fullWidth:!0,label:e("profilePage.feedback.nameInputLabel"),name:"name",placeholder:"Namn",InputProps:{startAdornment:(0,r.jsx)(x.Z,{position:"start",children:(0,r.jsx)(p.Z,{icon:"mdi:account-outline"})})}})}),(0,r.jsx)(a.ZP,{item:!0,xs:12,children:(0,r.jsx)(c.Z,{fullWidth:!0,type:"email",label:e("profilePage.feedback.emailInputLabel"),name:"email",placeholder:"E-post",InputProps:{startAdornment:(0,r.jsx)(x.Z,{position:"start",children:(0,r.jsx)(p.Z,{icon:"mdi:email-outline"})})}})}),(0,r.jsx)(a.ZP,{item:!0,xs:12,children:(0,r.jsx)(c.Z,{fullWidth:!0,multiline:!0,minRows:3,name:"message",label:"Skriv ditt meddelande h\xe4r",placeholder:"Skriv ditt meddelande h\xe4r",sx:{"& .MuiOutlinedInput-root":{alignItems:"baseline"}},InputProps:{startAdornment:(0,r.jsx)(x.Z,{position:"start",children:(0,r.jsx)(p.Z,{icon:"mdi:message-outline"})})}})}),(0,r.jsxs)(a.ZP,{item:!0,xs:12,children:[(0,r.jsx)(l.Z,{type:"submit",variant:"contained",size:"large",children:e("common.send")}),t&&(0,r.jsx)("p",{className:"success-message",children:t})]})]})})})]})})};j.getLayout=e=>(0,r.jsx)(m.Z,{children:e}),j.guestGuard=!1,j.authGuard=!1,t.default=j}},function(e){e.O(0,[6886,2395,135,6685,9774,2888,179],function(){return e(e.s=45426)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.