1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9694],{75247:function(e,t,a){"use strict";a.d(t,{ZP:function(){return u}});let n={_origin:"https://api.emailjs.com"},i=(e,t="https://api.emailjs.com")=>{n._userID=e,n._origin=t},r=(e,t,a)=>{if(!e)throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t)throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!a)throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates";return!0};class s{constructor(e){this.status=e?e.status:0,this.text=e?e.responseText:"Network Error"}}let o=(e,t,a={})=>new Promise((i,r)=>{let o=new XMLHttpRequest;o.addEventListener("load",({target:e})=>{let t=new s(e);200===t.status||"OK"===t.text?i(t):r(t)}),o.addEventListener("error",({target:e})=>{r(new s(e))}),o.open("POST",n._origin+e,!0),Object.keys(a).forEach(e=>{o.setRequestHeader(e,a[e])}),o.send(t)}),l=(e,t,a,i)=>{let s=i||n._userID;return r(s,e,t),o("/api/v1.0/email/send",JSON.stringify({lib_version:"3.11.0",user_id:s,service_id:e,template_id:t,template_params:a}),{"Content-type":"application/json"})},d=e=>{let t;if(!(t="string"==typeof e?document.querySelector(e):e)||"FORM"!==t.nodeName)throw"The 3rd parameter is expected to be the HTML form element or the style selector of form";return t},c=(e,t,a,i)=>{let s=i||n._userID,l=d(a);r(s,e,t);let c=new FormData(l);return c.append("lib_version","3.11.0"),c.append("service_id",e),c.append("template_id",t),c.append("user_id",s),o("/api/v1.0/email/send-form",c)};var u={init:i,send:l,sendForm:c}},78445:function(e,t,a){"use strict";a.d(t,{Z:function(){return y}});var n=a(63366),i=a(87462),r=a(67294),s=a(86010),o=a(94780),l=a(15861),d=a(71657),c=a(90948),u=a(1588),m=a(34867);function p(e){return(0,m.Z)("MuiCardHeader",e)}let h=(0,u.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"]);var f=a(85893);let v=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],Z=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},p,t)},b=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>(0,i.Z)({[`& .${h.title}`]:t.title,[`& .${h.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),x=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),g=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),j=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),P=r.forwardRef(function(e,t){let a=(0,d.Z)({props:e,name:"MuiCardHeader"}),{action:r,avatar:o,className:c,component:u="div",disableTypography:m=!1,subheader:p,subheaderTypographyProps:h,title:P,titleTypographyProps:y}=a,_=(0,n.Z)(a,v),w=(0,i.Z)({},a,{component:u,disableTypography:m}),N=Z(w),I=P;null==I||I.type===l.Z||m||(I=(0,f.jsx)(l.Z,(0,i.Z)({variant:o?"body2":"h5",className:N.title,component:"span",display:"block"},y,{children:I})));let k=p;return null==k||k.type===l.Z||m||(k=(0,f.jsx)(l.Z,(0,i.Z)({variant:o?"body2":"body1",className:N.subheader,color:"text.secondary",component:"span",display:"block"},h,{children:k}))),(0,f.jsxs)(b,(0,i.Z)({className:(0,s.Z)(N.root,c),as:u,ref:t,ownerState:w},_,{children:[o&&(0,f.jsx)(x,{className:N.avatar,ownerState:w,children:o}),(0,f.jsxs)(j,{className:N.content,ownerState:w,children:[I,k]}),r&&(0,f.jsx)(g,{className:N.action,ownerState:w,children:r})]}))});var y=P},87109:function(e,t,a){"use strict";a.d(t,{Z:function(){return w}});var n,i=a(63366),r=a(87462),s=a(67294),o=a(86010),l=a(94780),d=a(98216),c=a(15861),u=a(47167),m=a(74423),p=a(90948),h=a(1588),f=
1a(34867);function v(e){return(0,f.Z)("MuiInputAdornment",e)}let Z=(0,h.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var b=a(71657),x=a(85893);let g=["children","className","component","disablePointerEvents","disableTypography","position","variant"],j=(e,t)=>{let{ownerState:a}=e;return[t.root,t[`position${(0,d.Z)(a.position)}`],!0===a.disablePointerEvents&&t.disablePointerEvents,t[a.variant]]},P=e=>{let{classes:t,disablePointerEvents:a,hiddenLabel:n,position:i,size:r,variant:s}=e,o={root:["root",a&&"disablePointerEvents",i&&`position${(0,d.Z)(i)}`,s,n&&"hiddenLabel",r&&`size${(0,d.Z)(r)}`]};return(0,l.Z)(o,v,t)},y=(0,p.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:j})(({theme:e,ownerState:t})=>(0,r.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${Z.positionStart}&:not(.${Z.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})),_=s.forwardRef(function(e,t){let a=(0,b.Z)({props:e,name:"MuiInputAdornment"}),{children:l,className:d,component:p="div",disablePointerEvents:h=!1,disableTypography:f=!1,position:v,variant:Z}=a,j=(0,i.Z)(a,g),_=(0,m.Z)()||{},w=Z;Z&&_.variant,_&&!w&&(w=_.variant);let N=(0,r.Z)({},a,{hiddenLabel:_.hiddenLabel,size:_.size,disablePointerEvents:h,position:v,variant:w}),I=P(N);return(0,x.jsx)(u.Z.Provider,{value:null,children:(0,x.jsx)(y,(0,r.Z)({as:p,ownerState:N,className:(0,o.Z)(I.root,d),ref:t},j,{children:"string"!=typeof l||f?(0,x.jsxs)(s.Fragment,{children:["start"===v?n||(n=(0,x.jsx)("span",{className:"notranslate",children:"â"})):null,l]}):(0,x.jsx)(c.Z,{color:"text.secondary",children:l})}))})});var w=_},58094:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/feedback",function(){return a(9749)}])},9749:function(e,t,a){"use strict";a.r(t);var n=a(85893),i=a(67294),r=a(75247),s=a(66242),o=a(86886),l=a(83321),d=a(50135),c=a(78445),u=a(44267),m=a(87109),p=a(63730),h=a(45013),f=a(22120),v=a(67218),Z=a(2734),b=a(98396);let x=()=>{let{user:e}=(0,v.a)(),{t}=(0,f.$G)(),a=(0,Z.Z)(),h=(0,b.Z)(a.breakpoints.up("md"),{defaultMatches:!0}),[x,g]=i.useState(""),j=e=>{e.preventDefault(),r.ZP.sendForm("service_kauf8dj","template_3x7hi6m",e.target,"-R3GazSiou8i3jeT-").then(e=>{g(t("components.feedbackForm.successMessage")||"Tack f\xf6r ditt meddelande!")},e=>{console.error(e.text)}),e.target.reset()};return(0,n.jsxs)(s.Z,{sx:{width:h?"50%":void 0,marginLeft:"auto",marginRight:"auto",height:h?void 0:"100%"},children:[(0,n.jsx)(c.Z,{title:t("profilePage.feedback.title")}),(0,n.jsx)(u.Z,{children:(0,n.jsx)("form",{onSubmit:j,children:(0,n.jsxs)(o.ZP,{container:!0,spacing:6,children:[(0,n.jsx)(o.ZP,{item:!0,xs:12,children:(0,n.jsx)(d.Z,{fullWidth:!0,label:t("profilePage.feedback.nameInputLabel"),value:"".concat(null==e?void 0:e.firstName," ").concat(null==e?void 0:e.lastName)||"",name:"name",InputProps:{startAdornment:(0,n.jsx)(m.Z,{position:"start",children:(0,n.jsx)(p.Z,{icon:"mdi:account-outline"})})}})}),(0,n.jsx)(o.ZP,{item:!0,xs:12,children:(0,n.jsx)(d.Z,{fullWidth:!0,type:"email",label:t("profilePage.feedback.emailInputLabel"),value:null==e?void 0:e.email,name:"email",InputProps:{startAdornment:(0,n.jsx)(m.Z,{position:"start",children:(0,n.jsx)(p.Z,{icon:"mdi:email-outline"})})}})}),(0,n.jsx)(o.ZP,{item:!0,xs:12,children:(0,n.jsx)(d.Z,{fullWidth:!0,multiline:!0,minRows:3,name:"message",label:t("profilePage.feedback.messageInputLabel"),placeholder:t("profilePage.feedback.messageInputPlaceholder"),sx:{"& .MuiOutlinedInput-root":{alignItems:"baseline"}},InputProps:{startAdornment:(0,n.jsx)(m.Z,{position:"start",children:(0,n.jsx)(p.Z,{icon:"mdi:message-outline"})})}})}),(0,n.jsxs)(o.ZP,{item:!0,xs:12,children:[(0,n.jsx)(l.Z,{type:"submit",variant:"contained",size:"large",children:t("common.send")}),x&&(0,n.jsx)("p",{className:"success-message",children:x})]})]})})})]})};x.acl={action:h.H.Read,subject:h.D.GeneralPage},t.default=x}},function(e){e.O(0,[6886,2395,135,9774,2888,179],function(){return e(e.s=58094)}),_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.