1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1084],{68572:function(e,t,n){Promise.resolve().then(n.bind(n,14888)),Promise.resolve().then(n.bind(n,98087)),Promise.resolve().then(n.bind(n,47239)),Promise.resolve().then(n.bind(n,49197)),Promise.resolve().then(n.t.bind(n,88003,23)),Promise.resolve().then(n.bind(n,7409)),Promise.resolve().then(n.t.bind(n,7197,23)),Promise.resolve().then(n.t.bind(n,94645,23)),Promise.resolve().then(n.t.bind(n,99498,23)),Promise.resolve().then(n.bind(n,47334)),Promise.resolve().then(n.bind(n,71468)),Promise.resolve().then(n.bind(n,18879)),Promise.resolve().then(n.bind(n,30071)),Promise.resolve().then(n.t.bind(n,43658,23)),Promise.resolve().then(n.bind(n,68373)),Promise.resolve().then(n.bind(n,22473)),Promise.resolve().then(n.bind(n,44625)),Promise.resolve().then(n.bind(n,95873))},30278:function(e,t,n){"use strict";var i=n(57437);t.Z=()=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",children:(0,i.jsx)("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m6 9 6 6 6-6"})})},52487:function(e,t,n){"use strict";var i=n(57437);t.Z=e=>{let{...t}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width||"16",height:t.height||"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...t,children:[(0,i.jsx)("path",{d:"M8 2v4"}),(0,i.jsx)("path",{d:"M16 2v4"}),(0,i.jsx)("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),(0,i.jsx)("path",{d:"M3 10h18"})]})}},68373:function(e,t,n){"use strict";n.d(t,{default:function(){return H}});var i=n(57437),a=n(2265),r=n(80605),s=n(28979),l=n(99376),o=n(9566),c=n.n(o),d=n(27648),u=e=>{let{...t}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width||"20",height:t.height||"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",...t,children:[(0,i.jsx)("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"}),(0,i.jsx)("circle",{cx:"12",cy:"12",r:"3"})]})},_=e=>{let{...t}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width||"20",height:t.height||"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",...t,children:[(0,i.jsx)("path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24"}),(0,i.jsx)("path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68"}),(0,i.jsx)("path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61"}),(0,i.jsx)("line",{x1:"2",x2:"22",y1:"2",y2:"22"})]})},m=n(36931),g=n(54398),p=n(54506),h=n(69889),f=n(48279),v=n(6449),b=n(195),x=n(56775);let j=()=>(0,i.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[(0,i.jsx)("path",{d:"M17.64 9.2c0-.637-.057-1.251-.164-1.84H9v3.481h4.844c-.209 1.125-.843 2.078-1.796 2.717v2.258h2.908c1.702-1.567 2.684-3.874 2.684-6.615z",fill:"#4285F4"}),(0,i.jsx)("path",{d:"M9 18c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H.957v2.332A8.997 8.997 0 009 18z",fill:"#34A853"}),(0,i.jsx)("path",{d:"M3.964 10.71A5.41 5.41 0 013.682 9c0-.593.102-1.17.282-1.71V4.958H.957A8.996 8.996 0 000 9c0 1.452.348 2.827.957 4.042l3.007-2.332z",fill:"#FBBC05"}),(0,i.jsx)("path",{d:"M9 3.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C13.463.891 11.426 0 9 0A8.997 8.997 0 00.957 4.958L3.964 7.29C4.672 5.163 6.656 3.58 9 3.58z",fill:"#EA4335"})]});function S(e){let{onSuccess:t,redirectUrl:n,mode:a="login"}=e,s=async()=>{(0,f.S)({event:"social_login_click",provider:"google",mode:a}),x.X.getState().pendingContext&&sessionStorage.setItem("oauth-gate-return","1"),await (0,r.signIn)("google",{callbackUrl:n||window.location.href})};return(0,i.jsx)("div",{className:c().social_auth_container,children:(0,i.jsxs)("button",{type:"button",onClick:s,className:c().google_button,children:[(0,i.jsx)(j,{}),(0,i.jsx)("span",{children:"Forts\xe4tt med Google"})]})})}var w=e=>{let{...t}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width||"20",height:t.height||"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",...t,children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,i.jsx)("path",{d:"M12 16v-4"}),(0,i.jsx)("path",{d:"M12 8h.01"})]})},C=n(54825),k=n.n(C);function N(e){let{show:t,text:n="Snart klar! Fyll i nedan s\xe5 tar vi dig vidare till ans\xf6kan."}=e;return t?(0,i.jsxs)("div",{className:k().info_banner,children:[(0,i.jsx)(w,{className:k().info_icon,width:14,height:14}),(0,i.jsx)("span",{children:n})]}):null}function y(e){let{toggleForm:t,closeModal:n,onSuccess:s,redirectUrl:o,texts:j,job:w}=e,C=new AbortController,k=(0,l.useRouter)(),[y,E]=a.useState(""),[I,T]=a.useState(""),[A,L]=a.useState(!1),{closeAuthModal:M}=(0,p.DC)(),{pendingContext:O}=(0,x.X)(),[R,P]=a.useState(!1),[D,U]=a.useState(!1),[B,F]=a.use
1State(!1);a.useEffect(()=>(C.signal.aborted||(0,f.S)({event:"modal_form_display",form_destination:"/login",form_id:v.n.login.form_id,form_name:v.n.login.form_name}),()=>C.abort()),[]);let W=async e=>{e.preventDefault(),L(!0);try{let{error:e,url:t}=await (0,r.signIn)("credentials",{redirect:!1,email:y,password:I,callbackUrl:"/min-profil"});if(e)throw Error(e);(0,f.S)({event:"modal_form_submit",form_destination:o||"/login",form_id:v.n.login.form_id,form_name:v.n.login.form_name}),M(),s&&s(),O?x.X.getState().resolveGate():o?window.open(o,"_blank"):k.push(t)}catch(e){(0,m._)("Ogiltiga inloggningsuppgifter")}L(!1)};return(0,i.jsxs)("div",{className:c().container,children:[(0,i.jsx)(b.Z,{onClick:M}),(0,i.jsxs)("div",{className:c().content,children:[(0,i.jsx)("div",{className:c().logo_container,children:(0,i.jsx)("img",{src:"/images/logo.webp",alt:h.eT.name,className:c().logo})}),(0,i.jsx)(N,{show:!!O,text:"F\xf6r att forts\xe4tta till ans\xf6kan, v\xe4nligen logga in"}),(0,i.jsx)("h1",{className:c().heading,children:o?j.continueHeading:j.heading}),(0,i.jsx)("p",{className:c().subtitle,children:"Logga in genom att v\xe4lja n\xe5got av alternativen nedan."}),(0,i.jsx)(S,{redirectUrl:o,onSuccess:s,mode:"login"}),(0,i.jsx)("div",{className:c().social_divider,children:(0,i.jsx)("span",{children:"eller"})}),(0,i.jsxs)("form",{onSubmit:W,className:c().form,children:[(0,i.jsxs)("div",{className:c().input_group,children:[(0,i.jsxs)("div",{className:c().label_row,children:[(0,i.jsx)("label",{htmlFor:"email",className:c().label,children:j.field1}),(0,i.jsx)(d.default,{rel:"nofollow",href:g.nB.passowrd.request,className:c().reset_link,prefetch:!1,onClick:()=>{(0,f.S)({event:"link_click",click_area:"modal",click_destination:g.nB.passowrd.request,click_text:j.forgotPassword,click_type:"REGULAR"}),M()},children:"\xc5terst\xe4ll Konto"})]}),(0,i.jsx)("input",{type:"email",id:"email",name:"email",placeholder:j.field1Placeholder,autoComplete:"email",autoFocus:!0,value:y,onChange:e=>{let t=e.target.value;t.length>0&&!R&&((0,f.S)({event:"modal_form_start",form_destination:"/login",form_id:v.n.login.form_id,form_name:v.n.login.form_name}),P(!0)),E(t),t.length>0&&!D&&U(!0)},required:!0,className:c().input_hemnet})]}),D&&(0,i.jsxs)("div",{className:c().input_group,children:[(0,i.jsx)("label",{htmlFor:"password",className:c().label,children:j.field2}),(0,i.jsxs)("div",{className:c().password_input_wrapper,children:[(0,i.jsx)("input",{type:B?"text":"password",id:"password",name:"password",placeholder:j.field2Placeholder,autoComplete:"current-password",value:I,onChange:e=>{T(e.target.value)},required:!0,className:c().input_hemnet}),(0,i.jsx)("button",{type:"button",onClick:()=>F(!B),className:c().password_toggle_hemnet,"aria-label":B?"D\xf6lj l\xf6senord":"Visa l\xf6senord",children:B?(0,i.jsx)(_,{}):(0,i.jsx)(u,{})})]})]}),(0,i.jsx)("button",{type:"submit",disabled:A,className:c().submit_button,children:A?j.loading:"Forts\xe4tt"})]}),(0,i.jsxs)("div",{className:c().footer,children:[(0,i.jsx)("span",{children:j.noAccount.replace("{{siteName}}","")}),(0,i.jsx)("button",{type:"button",onClick:t,className:c().create_account_link,children:j.createAccount})]})]})]})}var E=n(66225),I=n(15590),T=n(62112),A=n.n(T),L=e=>{let{...t}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width||"20",height:t.height||"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",...t,children:[(0,i.jsx)("rect",{width:"20",height:"16",x:"2",y:"4",rx:"2"}),(0,i.jsx)("path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"})]})},M=e=>{let{...t}=e;return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width||"20",height:t.height||"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",...t,children:[(0,i.jsx)("rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2"}),(0,i.jsx)("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]})},O=n(86958),R=n(10404),P=n(92727),D=e=>{let{toggleForm:t,texts:n,closeModal:r}
1=e,s=new AbortController,[l,o]=a.useState(""),[d,g]=a.useState(""),[p,v]=a.useState(""),[j,w]=a.useState(""),[C,k]=a.useState(!1),[y,T]=a.useState(!1),[D,U]=a.useState(""),[B,F]=a.useState(!1),[W,H]=a.useState(!1),[V,Z]=a.useState(!1),[G,q]=a.useState(!1),{pendingContext:z}=(0,x.X)();a.useEffect(()=>(s.signal.aborted||(0,f.S)({event:"modal_form_display",form_destination:"/register",form_id:"register_form",form_name:"user registration form"}),()=>s.abort()),[]);let J=async e=>{e.preventDefault(),F(!0);try{if(j!==D)return(0,m._)("L\xf6senorden matchar inte.");let e=await (0,O.a$)({firstName:l,lastName:d,email:p,password:j,newsletterAccepted:C});if(409===e.status||400===e.status)return(0,m._)("Email addressen \xe4r redan registrerad hos oss.");e.success&&((0,f.S)({event:"modal_form_submit",form_name:"User registration form",form_destination:"/register",form_id:"register_form"}),(0,m.x)("Registreringen lyckades!"),t())}catch(e){(0,m._)(e.message)}finally{F(!1)}};return(0,i.jsxs)("div",{className:c().container,children:[(0,i.jsx)(b.Z,{onClick:r}),(0,i.jsxs)("div",{className:c().content,children:[(0,i.jsx)("h2",{className:c().heading,children:"Skapa ett konto"}),(0,i.jsx)(N,{show:!!z,text:"F\xf6r att forts\xe4tta till ans\xf6kan, v\xe4nligen logga in"}),(0,i.jsx)(S,{mode:"register"}),(0,i.jsxs)("form",{onSubmit:J,className:c().form,children:[(0,i.jsx)(E.Z,{type:"text",id:"firstName",name:"firstName",label:n.field1,placeholder:n.field1Placeholder,value:l,onChange:e=>{e.target.value.length>0&&!W&&((0,f.S)({event:"modal_form_start",form_destination:"/register",form_id:"register_form",form_name:"user registration form"}),H(!0)),o(e.target.value)},required:!0,autoFocus:!0,containerClassName:c().input_container,className:c().input_field,border:!0}),(0,i.jsx)(E.Z,{type:"text",id:"lastName",name:"lastName",label:n.field2,placeholder:n.field2Placeholder,value:d,onChange:e=>{g(e.target.value)},required:!0,containerClassName:c().input_container,className:c().input_field,border:!0}
1),(0,i.jsxs)("div",{className:c().input_with_icon,children:[(0,i.jsx)(L,{className:c().input_icon}),(0,i.jsx)(E.Z,{type:"email",id:"email",name:"email",label:n.field3,placeholder:n.field3Placeholder,autoComplete:"email",value:p,onChange:e=>{v(e.target.value)},required:!0,containerClassName:c().input_container,className:c().input_field,border:!0})]}),(0,i.jsxs)("div",{className:"".concat(c().input_with_icon," ").concat(c().input_with_icon_right),children:[(0,i.jsx)(M,{className:c().input_icon}),(0,i.jsx)(E.Z,{type:V?"text":"password",id:"password",name:"password",label:n.field4,placeholder:n.field4Placeholder,autoComplete:"new-password",value:j,onChange:e=>{w(e.target.value)},required:!0,containerClassName:c().input_container,className:c().input_field,border:!0}),(0,i.jsx)("button",{type:"button",onClick:()=>Z(!V),className:c().password_toggle,"aria-label":V?"D\xf6lj l\xf6senord":"Visa l\xf6senord",children:V?(0,i.jsx)(_,{}):(0,i.jsx)(u,{})})]}),(0,i.jsxs)("div",{className:"".concat(c().input_with_icon," ").concat(c().input_with_icon_right),children:[(0,i.jsx)(M,{className:c().input_icon}),(0,i.jsx)(E.Z,{type:G?"text":"password",id:"confirmPassword",name:"confirmPassword",label:n.field5,placeholder:n.field5Placeholder,autoComplete:"new-password",value:D,onChange:e=>{U(e.target.value)},required:!0,containerClassName:c().input_container,className:c().input_field,border:!0}),(0,i.jsx)("button",{type:"button",onClick:()=>q(!G),className:c().password_toggle,"aria-label":G?"D\xf6lj l\xf6senord":"Visa l\xf6senord",children:G?(0,i.jsx)(_,{}):(0,i.jsx)(u,{})})]}),(0,i.jsxs)("div",{className:c().checkboxes,children:[(0,i.jsx)(P.Z,{checked:C,label:n.newsletter,id:"news",onChange:()=>k(!C)}),(0,i.jsx)(R.Z,{id:"terms",checked:y,onChange:()=>T(!y),texts:{acceptTerms:n.acceptTerms,acceptTermsLink:n.acceptTermsLink},className:c().terms})]}),(0,i.jsx)(I.Z,{variant:"PRIMARY",type:"submit",disabled:B,className:"".concat(c().button_register," ").concat(A().shadow_yellow," ").concat(A().focus_ring," ").concat(A().hover_darken),children:B?n.loading:n.ctaText})]}),(0,i.jsx)("div",{className:c().divider}),(0,i.jsx)("p",{className:c().question,children:n.alreadyAccount.replace("{{siteName}}",h.eT.name)}),(0,i.jsx)(I.Z,{variant:"PRIMARY_OUTLINED",type:"button",disabled:B,className:"".concat(c().button," ").concat(A().focus_ring),onClick:()=>{t()},children:n.login})]})]})},U=n(982),B=n.n(U),F=n(80038),W=n(31828),H=e=>{let{redirectUrl:t,dictionary:n}=e,{data:l}=(0,r.useSession)(),{isAuthOpen:o,currentForm:c,setCurrentForm:d,closeAuthModal:u}=(0,p.DC)(),{pendingContext:_,clearPendingContext:m,resolveGate:g}=(0,x.X)();(0,a.useEffect)(()=>
1{o&&(0,F.IE)(W.il.AUTH_MODAL_OPENED,{gateVariant:W.oi})},[o]),(0,a.useEffect)(()=>{l&&_&&"1"===sessionStorage.getItem("oauth-gate-return")&&(sessionStorage.removeItem("oauth-gate-return"),u(),g())},[l,_,u,g]);let h=()=>{(0,F.IE)(W.il.AUTH_MODAL_CLOSED,{gateVariant:W.oi}),m(),u()};return(0,i.jsxs)(s.Z,{isOpen:o,onClose:h,modalContentClassName:B().modal_content,scrollObserver:c,children:["login"===c&&(0,i.jsx)(y,{toggleForm:()=>d("register"),closeModal:h,redirectUrl:t,texts:n.login}),"register"===c&&(0,i.jsx)(D,{toggleForm:()=>d("login"),closeModal:h,texts:n.register})]})}},92727:function(e,t,n){"use strict";var i=n(57437),a=n(2265),r=n(84600),s=n.n(r);let l=e=>{let{label:t,link:n,labelStyle:r,counterText:l,href:o,...c}=e,d=a.useId(),u=()=>(0,i.jsxs)(i.Fragment,{children:[t,l&&(0,i.jsx)("span",{className:s().counter,children:l})]});return(0,i.jsx)("div",{className:s().checkbox_holder,children:o?(0,i.jsx)("a",{href:o,className:s().label,children:(0,i.jsx)(u,{})}):(0,i.jsxs)("label",{className:s().label,htmlFor:d,children:[(0,i.jsx)("input",{className:s().input,id:d,type:"checkbox",...c}),(0,i.jsx)("span",{className:s().checkbox,"aria-hidden":"true"}),(0,i.jsx)(u,{})]})})};l.displayName="Checkbox",t.Z=l},8183:function(e,t,n){"use strict";var i=n(57437),a=n(2265),r=n(80892),s=n.n(r),l=n(30278);t.Z=e=>{let{triggerText:t,children:n,disableDefault:r,renderTrigger:o,open:c,absolute:d,mediaCenter:u,noOverlay:_}=e,[m,g]=a.useState(c||!1);return a.useEffect(()=>{g(c||!1)},[c]),(0,i.jsxs)(i.Fragment,{children:[d&&m&&!_&&(0,i.jsx)("div",{className:s().overlay,onClick:()=>{g(!1)}}),(0,i.jsxs)("div",{className:s()[d?"container_relative":"container"],children:[(0,i.jsxs)("div",{className:s().visible,children:[!o&&(0,i.jsx)("div",{className:s().trigger,children:(0,i.jsxs)("button",{type:"button",onClick:()=>{g(!m)},children:[(0,i.jsx)("span",{className:s().trigger_text,children:t}),(0,i.jsx)("span",{className:s().trigger_arrow,"data-open":m,children:(0,i.jsx)(l.Z,{})})]})}),!!o&&o({onClick:()=>{r||g(!m)},open:m})]}),(0,i.jsx)("div",{className:"".concat(s()[d?"content_drop_absolute":"content_drop"],"\n ").concat(u?s().media_center:"","\n "),"data-open":m,tabIndex:0,children:n})]})]})}},22473:function(e,t,n){"use strict";n.d(t,{MatchMailWizardClient:function(){return Q}});var i=n(57437),a=n(2265);let r={currentLevel1Id:null,selectedLevel2Ids:[],regionIds:[]},s=()=>{let[e,t]=(0,a.useState)("level1"),[n,i]=(0,a.useState)(r);return{view:e,formData:n,selectLevel1:e=>{i(t=>({...t,currentLevel1Id:e})),t("level2")},setLevel2Selections:e=>{i(t=>({...t,selectedLevel2Ids:e}))},removeLevel2Selection:e=>{i(t=>({...t,selectedLevel2Ids:t.selectedLevel2Ids.filter(t=>t!==e)}))},setRegions:e=>{i(t=>({...t,regionIds:e}))},removeRegion:e=>{i(t=>({...t,regionIds:t.regionIds.filter(t=>t!==e)}))},goToLevel1:()=>t("level1"),goToRegions:()=>t("regions"),goToSignup:()=>t("signup"),handleBack:()=>{"level2"===e?t("level1"):"regions"===e?t("level2"):"signup"===e&&t("regions")},handleClose:()=>t("closed"),reset:()=>{i(r),t("level1")}}};var l=n(80038),o=n(31828),c=n(33306),d=n(90923),u=n.n(d);let _=[{id:1,label:"Bransch",activeSteps:[1,2]},{id:2,label:"Plats",activeSteps:[3]},{id:3,label:"Kontakt",activeSteps:[4]}],m=e=>{let{currentStep:t}=e;return(0,i.jsx)("div",{className:u().container,children:_.map((e,n)=>{let r=e.activeSteps.includes(t),s=Math.min(...e.activeSteps)<t&&!r,l=Math.min(...e.activeSteps)>t;return(0,i.jsxs)(a.Fragment,{children:[(0,i.jsxs)("div",{className:u().stepGroup,children:[(0,i.jsx)("div",{className:"".concat(u().stepCircle," ").concat(r?u().active:""," ").concat(s?u().completed:""," ").concat(l?u().future:""),children:s?(0,i.jsx)(c.Z,{className:u().checkIcon}):e.id}),(0,i.jsx)("span",{className:"".concat(u().stepLabel," ").concat(r?u().labelActive:""),children:e.label})]}),n<_.length-1&&(0,i.jsx)("div",{className:"".concat(u().connector," ").concat(s?u().connectorCompleted:"")})]},e.id)})})};var g=n(14206);let p=e=>{let{children:t,title:n,imageTall:a,imageWide:r,allImagesTall:s=[],allImagesWide:l=[],onClose:o,currentStep:c}=e;return(0,i.jsx)(g.q,{title:n,imageTall:a,imageWide:r,allImagesTall:s,allImagesWide:l,onClose:o,logoText:"Matchmail",sidebarTitle:"Hitta ditt n\xe4sta jobb.",sidebarSubtitle:"Sveriges smidigaste s\xe4tt att matcha med arbetsgivare.",headerContent:(0,i.jsx)(m,{currentStep:c}),children:t})};var h=n(28979),f=n(99137),v=n(93340),b=n(79129),x=n(48279);let j=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,a.useRef)(!1),i=(0,a.useCallback)(()=>{(0,x.S)({event:"modal_form_display",form_destination:"",form_id:e.form_id,form_name:e.form_name})},[e]);return{trackDisplay:i,trackStart:(0,a.useCallback)(()=>{n.current||((0,x.S)({event:t?"modal_form_start":"form_start",form_destination:"",form_id:e.form_id,form_name:e.form_name}),n.current=!0)},[e,t]),trackSubmit:(0,a.useCallback)(n=>{(0,x.S)({event:t?"modal_form_submit":"form_submit",form_destination:"",form_id:e.form_id,form_name:e.form_name,form_submit_id:n||""})},[e,t]),reset:(0,a.useCallback)(()=>{n.current=!1},[])}};var S=n(36931);let w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,a.useState)(!1),{successMessage:i="Tack!",errorMessage:r="N\xe5got gick fel!",onSuccess:s,onError:l}=e;return{loading:t,submit:(0,a.useCallback)(async e=>{n(!0);try{let t=await e();return(0,S.x)(i),null==s||s(),t}catch(e){return console.error("Form submission failed:",e),(0,S._)(r),null==l||l(e),null}finally{n(!1)}},[i,r,s,l])}};var C=n(6449),k=n(54506),N=n(49794),y=n(16631),E=n(78167),I=n(52487),T=n(52445),A=n(75941),L=n(12897),M=n(76374),O=n(10404),R=n(8183),P=n(35854),D=n.n(P);let U=[{value:v.FrequencyType.DAILY,label:"Dagligen",Icon:e=>{let{...t}=e;return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t.width||"16",height:t.height||"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",...t,children:(0,i.jsx)("path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"})})}},{value:v.FrequencyType.WEEKLY,label:"Veckovis",Icon:I.Z}],B=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;if(0===e.length)return"";if(1===e.length)return e[0];let n=e.slice(0,t),i=e.length-t,a=1===n.length?n[0]:"".concat(n.slice(0,-1).join(", ")," och ").concat(n[n.length-1]);return i>0?"".concat(a," (+").concat(i," till)"):a},F=e=>{let{onBack:t,onClose:n,selectedGroupIds:r,selectedRegionIds:s,selectedGroupNames:c,selectedRegionNames:d}=e,[u,_]=(0,a.useState)(""),[m,g]=(0,a.useState)(v.FrequencyType.DAILY),[p,h]=(0,a.useState)(!1),[f,x]=(0,a.useState)(!1),[S,I]=(0,a.useState)({}),[P,F]=(0,a.useState)(""),[W,H]=(0,a.useState)(""),{trackSubmit:V}=j(C.n.matchmail),{source:Z}=(0,k.Nd)(),{loading:G,submit:q}=w({successMessage:"Tack f\xf6r din prenumeration!",onSuccess:n}),z=async()=>
1{if(G)return;let e={};if(u&&!(u.length<4)&&u.includes("@")||(e.email=!0),p||(e.terms=!0),Object.keys(e).length>0){I(e);return}I({}),await q(async()=>{let e=await (0,b.ZF)({categories:r,regions:s,email:u.trim(),frequency:m,type:v.MailSubscriptionType.STANDARD,newsletterAccepted:f||void 0,termsAccepted:p,educationStr:W||void 0,experienceStr:P||void 0,...Z&&{signupSource:Z}});return e&&(V(e.id),Z&&(0,N.An)({source:Z,formVariant:"wizard",subscriptionType:"STANDARD",matchmailId:Number(e.id)}),(0,l.IE)(o.il.MATCHMAIL_GUIDE_CREATED,{categories_count:r.length,regions_count:s.length,frequency:m})),e})};return(0,i.jsxs)("div",{className:D().wrapper,children:[(0,i.jsxs)("div",{className:D().content,children:[(0,i.jsxs)("div",{className:D().contentTop,children:[(0,i.jsxs)("div",{className:D().banner,children:[(0,i.jsx)("div",{className:D().bannerIcon,children:(0,i.jsx)(E.Z,{className:D().bannerIconSvg})}),(0,i.jsxs)("div",{children:[(0,i.jsx)("h3",{className:D().bannerTitle,children:"Bevakning redo att aktiveras"}),(0,i.jsxs)("p",{className:D().bannerText,children:["Du kommer f\xe5 uppdateringar f\xf6r"," ",(0,i.jsx)("span",{className:D().bannerHighlight,children:B(c)})," ","i ",(0,i.jsx)("span",{className:D().bannerHighlight,children:B(d)})]})]})]}),(0,i.jsxs)("div",{className:D().formFields,children:[(0,i.jsxs)("div",{className:D().fieldGroup,children:[(0,i.jsx)("label",{htmlFor:"email",className:D().label,children:"Din e-postadress"}),(0,i.jsxs)("div",{className:D().inputWrapper,children:[(0,i.jsx)("div",{className:D().inputIcon,children:(0,i.jsx)(y.Z,{className:D().inputIconSvg})}),(0,i.jsx)("input",{id:"email",type:"email",value:u,onChange:e=>{_(e.target.value),S.email&&I(e=>({...e,email:!1}))},required:!0,className:"".concat(D().input," ").concat(S.email?D().inputError:""),placeholder:"[email protected]"})]})]}),(0,i.jsxs)("div",{className:D().fieldGroup,children:[(0,i.jsx)("label",{className:D().label,children:"Hur ofta vill du f\xe5 aviseringar?"}),(0,i.jsx)("div",{className:D().frequencyGrid,children:U.map(e=>(0,i.jsxs)("button",{type:"button",onClick:()=>g(e.value),className:"".concat(D().freqButton," ").concat(m===e.value?D().freqButtonSelected:""),children:[(0,i.jsx)("span",{className:D().freqIcon,children:(0,i.jsx)(e.Icon,{width:16,height:16})}),(0,i.jsx)("span",{className:D().freqLabel,children:e.label})]},e.value))})]}),(0,i.jsxs)("div",{className:D().fieldGroup,children:[(0,i.jsxs)("div",{className:D().profileHeader,children:[(0,i.jsx)("label",{className:D().label,children:"Din profil"}),(0,i.jsx)("span",{className:D().optionalBadge,children:"Frivilligt"})]}),(0,i.jsxs)("div",{className:D().profileGrid,children:[(0,i.jsx)(R.Z,{absolute:!0,noOverlay:!0,triggerText:"",renderTrigger:e=>{let{onClick:t,open:n}=e;return(0,i.jsxs)("button",{type:"button",onClick:t,className:D().selectTrigger,"data-open":n,id:"exp-trigger",children:[(0,i.jsx)(T.Z,{width:16,height:16}),(0,i.jsx)("span",{className:P?D().selectValue:D().selectPlaceholder,children:P||"Erfarenhet (Valfritt)"}),(0,i.jsx)(L.Z,{width:14,height:14})]})},children:(0,i.jsx)("div",{className:D().selectDropdown,children:["Inget angivet","0-2 \xe5r","3-5 \xe5r","5-10 \xe5r","10+ \xe5r"].map(e=>(0,i.jsx)("button",{type:"button",onClick:()=>{var t;F("Inget angivet"===e?"":e),null===(t=document.getElementById("exp-trigger"))||void 0===t||t.click()},className:D().selectOption,children:e},e))})}),(0,i.jsx)(R.Z,{absolute:!0,noOverlay:!0,triggerText:"",renderTrigger:e=>{let{onClick:t,open:n}=e;return(0,i.jsxs)("button",{type:"button",onClick:t,className:D().selectTrigger,"data-open":n,id:"edu-trigger",children:[(0,i.jsx)(A.Z,{width:16,height:16}),(0,i.jsx)("span",{className:W?D().selectValue:D().selectPlaceholder,children:W||"Utbildningsniv\xe5 (Valfritt)"}),(0,i.jsx)(L.Z,{width:14,height:14})]})},children:(0,i.jsx)("div",{className:D().selectDropdown,children:["Inget angivet","Gymnasium","Yrkesh\xf6gskola","Kandidatexamen","Masterexamen","Annan"].map(e=>(0,i.jsx)("button",{type:"button",onClick:()=>{var t;H("Inget angivet"===e?"":e),null===(t=document.getElementById("edu-trigger"))||void 0===t||t.click()},className:D().selectOption,children:e},e))})})]})]})]})]}),(0,i.jsxs)("div",{className:D().checkboxes,children:[(0,i.jsx)(M.Z,{id:"newsletter",checked:f,onChange:()=>x(!f),label:"Jag vill f\xe5 nyhetsbrev och presentationer av arbetsgivare.",border:!0}),(0,i.jsx)("div",{className:S.terms?D().checkboxError:"",children:(0,i.jsx)(O.Z,{id:"terms",checked:p,onChange:()=>{h(!p),S.terms&&I(e=>({...e,terms:!1}))},texts:{acceptTerms:"Jag har l\xe4st och godk\xe4nner",acceptTermsLink:"integritetspolicyn."}})})]})]}),(0,i.jsxs)("div",{className:D().footer,children:[(0,i.jsx)("button",{type:"button",onClick:t,className:D().backBtn,children:"Tillbaka"}),(0,i.jsx)("button",{onClick:z,disabled:G,className:"".concat(D().submitBtn," ").concat(D().submitBtnEnabled),children:G?"Skickar...":"Skapa matchmail"})]})]})};var W=n(87484),H=n.n(W);let V="files.karriarguiden.se",Z={start:{tall:"".concat(V,"/public/category/wizard-images/start-image.webp"),wide:"".concat(V,"/public/category/wizard-images/start-image-mobile.webp")},regions:{tall:"".concat(V,"/public/category/wizard-images/Personwithmap.webp"),wide:"".concat(V,"/public/category/wizard-images/Personwithmap-mobile.webp")},signup:{tall:"".concat(V,"/public/category/wizard-images/Personairplane-color.webp"),wide:"".concat(V,"/public/category/wizard-images/Personairplane-color-mobile.webp")}},G=e=>{var t;return{id:e.id,name:e.name,slug:e.slug,type:"category",icon:e.icon||null,children:(e.children||[]).map(e=>G(e)),count:(null===(t=e._count)||void 0===t?void 0:t.jobs)||0}},q=e=>{var t;return{id:e.id,name:e.name,slug:e.slug||"",type:"region",icon:null,children:(e.subRegions||[]).map(e=>q(e)),count:(null===(t=e._count)||void 0===t?void 0:t.jobs)||0}},z=e=>{let{categories:t,regions:n,isMainSite:r,onClose:c}=e,{source:d}=(0,k.Nd)(),u=(0,a.useRef)(!1),{view:_,formData:m,selectLevel1:g,setLevel2Selections:v,removeLevel2Selection:b,setRegions:x,goToRegions:j,goToSignup:S,handleBack:w,handleClose:C}=s(),y=()=>{(0,l.IE)(o.il.MATCHMAIL_CLOSED,{variant:"wizard",step:_,categories_count:m.selectedLevel2Ids.length,regions_count:m.regionIds.length}),C(),c()},E="closed"!==_;
1(0,a.useEffect)(()=>(E?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[E]),(0,a.useEffect)(()=>{"closed"!==_&&(0,l.IE)(o.il.MATCHMAIL_STEP,{variant:"wizard",step:_,categories_count:m.selectedLevel2Ids.length,regions_count:m.regionIds.length}),"signup"===_&&!u.current&&d&&((0,N.re)({source:d,formVariant:"wizard",subscriptionType:"STANDARD"}),u.current=!0)},[_,d]);let I=r?t:t.flatMap(e=>e.children||[]),T=I.flatMap(e=>(e.children||[]).map(t=>({id:t.id,name:t.name,parentId:e.id}))),A=I.find(e=>e.id===m.currentLevel1Id),L=(null==A?void 0:A.children)||[],M=L.filter(e=>m.selectedLevel2Ids.includes(e.id)).map(e=>e.id),O=T.filter(e=>m.selectedLevel2Ids.includes(e.id)).map(e=>({id:e.id,name:e.name})),R=n.filter(e=>m.regionIds.includes(e.id)).map(e=>({id:e.id,name:e.name})),P=(()=>{if(!A)return{imageTall:null,imageWide:null};if(r)return{imageTall:A.imageTall,imageWide:A.imageWide};let e=t.find(e=>{var t;return null===(t=e.children)||void 0===t?void 0:t.some(e=>e.id===A.id)});return{imageTall:(null==e?void 0:e.imageTall)||null,imageWide:(null==e?void 0:e.imageWide)||null}})(),D=(()=>{switch(_){case"level1":return{title:r?"Vilken yrkessektor vill du jobba i?":"Vilken yrkesgrupp \xe4r du intresserad av?",imageTall:Z.start.tall,imageWide:Z.start.wide,currentStep:1};case"level2":return{title:r?"V\xe4lj yrkesgrupper inom ".concat((null==A?void 0:A.name)||"..."):"V\xe4lj yrken inom ".concat((null==A?void 0:A.name)||"..."),imageTall:P.imageTall,imageWide:P.imageWide,currentStep:2};case"regions":return{title:"Vilka l\xe4n vill du jobba i?",imageTall:Z.regions.tall,imageWide:Z.regions.wide,currentStep:3};case"signup":return{title:"Sista steget! Vart ska vi skicka matchmailen?",imageTall:Z.signup.tall,imageWide:Z.signup.wide,currentStep:4};default:return{title:"",imageTall:null,imageWide:null,currentStep:1}}})(),U=I.map(G),B=L.map(G),W=n.map(q),V=[Z.start.tall,Z.regions.tall,Z.signup.tall,...t.flatMap(e=>[e.imageTall,...(e.children||[]).map(e=>e.imageTall)])].filter(Boolean),z=[Z.start.wide,Z.regions.wide,Z.signup.wide,...t.flatMap(e=>[e.imageWide,...(e.children||[]).map(e=>e.imageWide)])].filter(Boolean);return(0,i.jsx)(h.Z,{isOpen:E,onClose:y,modalClassName:H().modalOverlay,modalContentClassName:H().modalContent,children:(0,i.jsxs)(p,{title:D.title,imageTall:D.imageTall,imageWide:D.imageWide,allImagesTall:V,allImagesWide:z,onClose:y,currentStep:D.currentStep,children:["level1"===_&&(0,i.jsxs)("div",{className:H().stepContent,children:[(0,i.jsx)("div",{className:H().mobileList,children:(0,i.jsx)(f.PS,{items:U,onSelectItem:e=>g(e)})}),(0,i.jsx)("div",{className:H().desktopGrid,children:(0,i.jsx)(f.c,{items:U,onSelectItem:e=>g(e),variant:"soft"})}),(0,i.jsx)("div",{className:H().footer,children:(0,i.jsx)("span",{className:H().footerText,children:"V\xe4lj ett alternativ f\xf6r att g\xe5 vidare"})})]}),"level2"===_&&(0,i.jsxs)("div",{className:H().stepContent,children:[(0,i.jsx)("div",{className:H().selectContent,children:(0,i.jsx)(f.db,{items:B,selectedIds:M,onChange:e=>{v([...m.selectedLevel2Ids.filter(e=>!L.some(t=>t.id===e)),...e])},tags:O,onRemoveTag:b,showSubtext:!0})}),(0,i.jsxs)("div",{className:H().buttonFooter,children:[(0,i.jsx)("button",{onClick:w,className:H().backBtn,children:"Tillbaka"}),(0,i.jsx)("button",{onClick:j,disabled:0===m.selectedLevel2Ids.length,className:"".concat(H().nextBtn," ").concat(m.selectedLevel2Ids.length>0?H().nextBtnEnabled:H().nextBtnDisabled),children:"N\xe4sta"})]})]}),"regions"===_&&(0,i.jsxs)("div",{className:H().stepContent,children:[(0,i.jsx)("div",{className:H().selectContent,children:(0,i.jsx)(f.db,{items:W,selectedIds:m.regionIds,onChange:x,tags:O,onRemoveTag:b})}),(0,i.jsxs)("div",{className:H().buttonFooter,children:[(0,i.jsx)("button",{onClick:w,className:H().backBtn,children:"Tillbaka"}),(0,i.jsx)("button",{onClick:S,disabled:0===m.regionIds.length,className:"".concat(H().nextBtn," ").concat(m.regionIds.length>0?H().nextBtnEnabled:H().nextBtnDisabled),children:"N\xe4sta"})]})]}),"signup"===_&&(0,i.jsx)(F,{onBack:w,onClose:y,selectedGroupIds:m.selectedLevel2Ids,selectedRegionIds:m.regionIds,selectedGroupNames:O.map(e=>e.name),selectedRegionNames:R.map(e=>e.name)}
1)]})})};var J=n(1633),K=n(69889),Y=n(50486);let Q=e=>{let{texts:t}=e,{isMatchmailOpen:n,closeMatchmailModal:a}=(0,k.Nd)();return n?(0,i.jsx)($,{texts:t,onClose:a}):null},$=e=>{let{texts:t,onClose:n}=e,{regionsHierarchy:r,categoriesHierarchy:s}=(0,J.O)(),l=(0,a.useMemo)(()=>(0,Y.y4)(r),[r]),o=(0,a.useMemo)(()=>(0,Y.CG)(s),[s]);return(0,i.jsx)(z,{regions:l,categories:o,isMainSite:K.qz,onClose:n})}},65594:function(e,t,n){"use strict";n.d(t,{Fn:function(){return r},Wy:function(){return l},oh:function(){return s}});var i=n(57437),a=n(2265);function r(e){if(!e)return{};let t={};for(let[i,a]of Object.entries(e)){var n;let e=(null===(n=a[0])||void 0===n?void 0:n.data)||[];t[i]=Object.fromEntries(e.map(e=>[e.value,e.count]))}return t}let s=(0,a.createContext)({openRegions:{},setOpenRegions:()=>{},openCategories:{},setOpenCategories:()=>{},selectedRegionRef:{current:""},regionValueRef:{current:""},searchInputRef:{current:null},clearYrkeInputRef:{current:null},searchAutocompleteRef:{current:null},categoryFilterCallback:{current:null},onCategoryFilter:()=>{},regionFilterCallback:{current:null},onRegionFilter:()=>{},regionsDisplayCount:5,setRegionsDisplayCount:()=>{},categoriesDisplayCount:5,setCategoriesDisplayCount:()=>{},transformedFacets:{},setTransformedFacets:()=>{}});function l(e){let{children:t}=e,[n,r]=(0,a.useState)({}),[l,o]=(0,a.useState)({}),[c,d]=(0,a.useState)(5),[u,_]=(0,a.useState)(5),[m,g]=(0,a.useState)({}),p=a.useRef(""),h=a.useRef(""),f=a.useRef(""),v=a.useRef(null),b=a.useRef(null),x=a.useRef(""),j=a.useRef(null),S=a.useRef(null);return(0,i.jsx)(s.Provider,{value:{openRegions:n,setOpenRegions:r,openCategories:l,setOpenCategories:o,selectedRegionRef:h,regionValueRef:p,searchInputRef:f,clearYrkeInputRef:v,searchAutocompleteRef:b,selectedCategoryRef:x,categoryFilterCallback:j,onCategoryFilter:e=>{var t;null===(t=j.current)||void 0===t||t.call(j,e)},regionFilterCallback:S,onRegionFilter:e=>{var t;null===(t=S.current)||void 0===t||t.call(S,e)},regionsDisplayCount:c,setRegionsDisplayCount:d,categoriesDisplayCount:u,setCategoriesDisplayCount:_,transformedFacets:m,setTransformedFacets:g},children:t})}},44625:function(e,t,n){"use strict";var i=n(57437);n(2265);var a=n(65594),r=n(1633);t.default=e=>{let{children:t}=e;return(0,i.jsx)(r.G,{children:(0,i.jsx)(a.Wy,{children:t})})}},95873:function(e,t,n){"use strict";var i=n(80605);t.default=i.SessionProvider},54506:function(e,t,n){"use strict";n.d(t,{DC:function(){return o},Eb:function(){return c},N:function(){return s},Nd:function(){return r},WW:function(){return a},dg:function(){return l}});var i=n(59625);let a=(0,i.Ue)(e=>({isMonitorSearchOpen:!1,source:null,searchOptions:{categories:[],regions:[],companyNames:[],freeTextQuery:"",searchQuery:"",workModes:[]},setSearchOptions:t=>e({searchOptions:t}),openMonitorSearchModal:t=>e({isMonitorSearchOpen:!0,source:t}),closeMonitorSearchModal:()=>e({isMonitorSearchOpen:!1,source:null})})),r=(0,i.Ue)(e=>({isMatchmailOpen:!1,source:null,openMatchmailModal:t=>e({isMatchmailOpen:!0,source:t}),closeMatchmailModal:()=>e({isMatchmailOpen:!1,source:null})})),s=(0,i.Ue)(e=>({isCompanyMatchmailOpen:!1,source:null,openCompanyMatchmailModal:t=>e({isCompanyMatchmailOpen:!0,source:t}),closeCompanyMatchmailModal:()=>e({isCompanyMatchmailOpen:!1,source:null})})),l=(0,i.Ue)(e=>({isEmailApplicationOpen:!1,job:null,openEmailApplicationModal:t=>e({isEmailApplicationOpen:!0,job:t}),closeEmailApplicationModal:()=>e({isEmailApplicationOpen:!1,job:null})})),o=(0,i.Ue)(e=>({isAuthOpen:!1,openAuthModal:()=>e({isAuthOpen:!0}),closeAuthModal:()=>e({isAuthOpen:!1,currentForm:"login"}),currentForm:"login",setCurrentForm:t=>e({currentForm:t})}));(0,i.Ue)(e=>({isFilterOpen:!1,openFilterModal:()=>e({isFilterOpen:!0}),closeFilterModal:()=>e({isFilterOpen:!1})}));let c=(0,i.Ue)(e=>({isProfileOpen:!1,openProfileModal:()=>e({isProfileOpen:!0}),closeProfileModal:()=>e({isProfileOpen:!1})}))},31828:function(e,t,n){"use strict";n.d(t,{il:function(){return r},oi:function(){return i},zu:function(){return a}});let i="require_login_form_skip_form",a="two-step-form",r={USER_CREATED_MATCHMAIL:"user_created_matchmail",USER_APPLY_JOB:"user-applied-job",USER_VIEW_JOB:"user-viewed-job",USER_USED_TOC:"user-used-toc",COMPANY_PROFILE_CLICK:"company-profile-click",MATCHMAIL_START:"matchmail_start",MATCHMAIL_COMPLETE:"matchmail_complete",MATCHMAIL_GUIDE_CREATED:"matchmail_guide_created",MATCHMAIL_STEP:"matchmail_step",MATCHMAIL_CLOSED:"matchmail_closed",CATEGORY_CARD_CLICKED:"category_card_clicked",MATCHMAIL_BEVAKA_BUTTON_CLICK:"matchmail_bevaka_button_click",JOB_CARD_IMPRESSION:"job-card-impression",JOB_CARD_CLICK:"job-card-click",JOB_CARD_VIEW_DURATION:"job-card-view-duration",CONTACT_US_CLICK:"contact-us-click",AUTH_GATE_TRIGGERED:"auth-gate-triggered",AUTH_GATE_COMPLETED:"auth-gate-completed",AUTH_MODAL_OPENED:"auth-modal-opened",AUTH_MODAL_CLOSED:"auth-modal-closed",PROFILE_FORM_OPENED:"profile-form-opened",PROFILE_FORM_
1SAVED:"profile-form-saved",PROFILE_FORM_MATCHMAIL:"profile-form-matchmail",PROFILE_FORM_SKIPPED:"profile-form-skipped",PROFILE_FORM_CLOSED:"profile-form-closed",EMAIL_APP_OPENED:"email-application-opened",EMAIL_APP_FIELD_FOCUS:"email-application-field-focus",EMAIL_APP_ABANDONED:"email-application-abandoned",EMAIL_APP_SUBMITTED:"email-application-submitted",MONITOR_SEARCH_PROMPT_VIEWED:"monitor-search-prompt-viewed",MONITOR_SEARCH_PROMPT_DISMISSED:"monitor-search-prompt-dismissed",SEARCH_FILTER_CHANGED:"search-filter-changed",SEARCH_AUTOCOMPLETE_SELECTED:"search-autocomplete-selected",SEARCH_FILTERS_ENGAGED:"search-filters-engaged",SEARCH_QUERY_SUBMITTED:"search-query-submitted",HEADER_CLICK:"header_click",HEADER_HOVER:"header_hover",HEADER_JOBS_DROPDOWN_OPENED:"header_jobs_dropdown_opened",HEADER_JOBS_DROPDOWN_LINK_CLICK:"header_jobs_dropdown_link_click"}},54398:function(e,t,n){"use strict";n.d(t,{Ef:function(){return a},QM:function(){return s},l1:function(){return r},nB:function(){return i}});let i={jobs:{search:"/sv/jobb",single:"/sv/jobb/:slug",searanName:"Lediga jobb"},companies:{search:"/sv/arbetsgivare",all:"/sv/alla-arbetsgivare",allName:"Alla arbetsgivare",single:"/sv/arbetsgivare/:slug",searchName:"Arbetsgivare"},ledigaJobb:{search:"/sv/lediga-jobb",single:"/sv/lediga-jobb/:slug",withRegion:"/sv/lediga-jobb/:slug/:region"},categories:{single:"/sv/lediga-jobb/:slug",withRegion:"/sv/lediga-jobb/:slug/:region"},regions:{single:"/sv/lediga-jobb/:slug"},login:"/sv/login",logout:"/sv/logout",passowrd:{request:"/sv/password/request",reset:"/sv/password/reset"},blogs:{search:"/sv/guide",single:"/sv/guide/:slug",author:"/sv/forfattare/:slug",searchName:"Artiklar",authorName:"F\xf6rfattare"},allaGuider:{search:"/sv/alla-guider",single:"/sv/alla-guider/:slug",singleSub:"/sv/alla-guider/:slug/:subslug",searchName:"Alla guider"},forEmployers:{search:"/sv/for-arbetsgivare",searchName:"F\xf6r arbetsgivare"},guides:{single:"/sv/guide/:slug",all:"/sv/guide"},policies:{privacy:"/sv/privacy",cookies:"/sv/cookies"}},a="company-matchmail-form",r="company-website",s="similar-jobs-matchmail"},26009:function(e,t,n){"use strict";async function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{signal:n,retries:i=3,retryDelay:a=500,method:r="GET",body:s}=t,l={method:r,signal:n};void 0!==s&&(l.headers={"Content-Type":"application/json"},l.body=JSON.stringify(s));for(let t=0;t<=i;t++)try{let t=await fetch(e,l);if(!t.ok)throw Error("HTTP ".concat(t.status,": ").concat(e));return await t.json()}catch(e){if("AbortError"===e.name||t===i)throw e;await new Promise(e=>setTimeout(e,a*(t+1)))}throw Error("fetchWithRetry: unreachable")}n.d(t,{q:function(){return i}}),n(75380)},74178:function(e,t,n){"use strict";var i=n(57437);t.Z=e=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",...e,children:(0,i.jsx)("path",{stroke:e.color||"#fff",strokeLinecap:"round",strokeWidth:1.5,d:"m3.55 3.5 16.97 16.97M3.55 20.5 20.52 3.53"})})},75380:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});class i extends Error{constructor(e){super(e.message),this.message=e.message,this.status=e.status,this.code=e.code}}},80038:function(e,t,n){"use strict";n.d(t,{IE:function(){return m},Y7:function(){return c},Yx:function(){return g},hK:function(){return h},r0:function(){return p}}),n(2265);let i={};function a(e){i[e]=(i[e]||0)+1}window.__posthogStats=()=>{let e=Object.values(i).reduce((e,t)=>e+t,0);return console.table(i),{total:e,breakdown:{...i}}};let r=new Map;function s(e,t){if(null==t)return;let n=String(t);r.get(e)!==n&&(r.set(e,n),function(){if(0===r.size)return;let e=Array.from(r.entries()).map(e=>{let[t,n]=e;return"".concat(t,"=").concat(n)}).join(";");window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"set_experiments",active_experiments:e})}())}let l=null,o=!1;function c(e){!function(){if(!o){o=!0;try{var e;let t=window.localStorage.getItem("ph_".concat("phc_BTQE1p2195g2c8lFfLkMS09lZeDJYA4VhlHsOonOxU","_posthog"));if(!t)return;let n=JSON.parse(t);l=null!==(e=null==n?void 0:n.$enabled_feature_flags)&&void 0!==e?e:null,null==n||n.$feature_flag_payloads}catch(e){console.warn("Failed to read posthog flag cache from localStorage:",e)}}}();let t=null==l?void 0:l[e];return"string"==typeof t?t:void 0}let d=[],u=!1;function _(e){if(window.posthog){e();return}setTimeout(()=>_(e),250)}function m(e,t){var n;a("capture:".concat(e)),null===(n=window.posthog)||void 0===n||n.capture(e,t)}function g(e,t){if(a("flag:".concat(e)),s(e,t),window.posthog){window.posthog.capture("$feature_flag_called",{$feature_flag:e,$feature_flag_response:t});return}d.push({key:e,value:t}),u||(u=!0,_(()=>{for(u=!1;d.length>0;){var e;let{key:t,value:n}=d.shift();null===(e=window.posthog)||void 0===e||e.capture("$feature_flag_called",{$feature_flag:t,$feature_flag_response:n})}}))}function p(e,t){if((null==t?void 0:t.silent)||a("getFlag:".concat(e)),window.posthog){let n=window.posthog.getFeatureFlag(e,{send_event:!(null==t?void 0:t.silent)});if(void 0!==n)return(null==t?void 0:t.silent)||s(e,n),n}let n=c(e);if(void 0!==n)return(null==t?void 0:t.silent)||g(e,n),n}function h(e){_(()=>{window.posthog?window.posthog.onFeatureFlags(e):e()})}},86958:function(e,t,n){"use strict";n.d(t,{VK:function(){return s},a$:function(){return r},c0:function(){return a}}),n(83079);var i=n(12119),a=(0,i.$)("ae915dc7f341f41f285f1aaa46b574492d04b17c");(0,i.$)("86b0d6a381582aebee773812a803ff7b1143d86f");var r=(0,i.$)("b5cbc398ad3666010fcc4fe86784affca5a168ef"),s=(0,i.$)("f5d44708b03d6bb0d0578842c774ac2d92e154f8")},43658:function(){},9566:function(e){e.exports={container:"Styles_container__Vwg5Z",content:"Styles_content__30FxQ",logo_container:"Styles_logo_container__MuoPS",logo:"Styles_logo__JDK4B",form:"Styles_form__0Qp2t",heading:"Styles_heading__ni_n1",subtitle:"Styles_subt
1itle__d_pMP",input_container:"Styles_input_container__xcRvD",input_with_icon:"Styles_input_with_icon__wU3iV",input_icon:"Styles_input_icon__CpUd_",input_field:"Styles_input_field__Mgp4O",input_with_icon_right:"Styles_input_with_icon_right__DzjIV",password_toggle:"Styles_password_toggle__Vwa4x",button_register:"Styles_button_register__90I8p",button:"Styles_button__8FLcU",button_create_account:"Styles_button_create_account__i936g",password_section:"Styles_password_section__4vZIl",forgot_password_container:"Styles_forgot_password_container__mbl0_",redirect_container:"Styles_redirect_container__mQAeF",divider:"Styles_divider__UY2Gr",question:"Styles_question__Jpjca",checkboxes:"Styles_checkboxes__iFf_3",terms:"Styles_terms__wfrvi",social_auth_container:"Styles_social_auth_container__EF7Q1",google_button:"Styles_google_button__Gh6Xc",social_divider:"Styles_social_divider__CjQQv",input_group:"Styles_input_group__50quz",label_row:"Styles_label_row__OLiv4",label:"Styles_label__JRRRG",reset_link:"Styles_reset_link__Ca4xg",input_hemnet:"Styles_input_hemnet__kNlqi",password_input_wrapper:"Styles_password_input_wrapper__6m4g1",password_toggle_hemnet:"Styles_password_toggle_hemnet__Fft2R",submit_button:"Styles_submit_button__ApNz5",footer:"Styles_footer__RHOCU",create_account_link:"Styles_create_account_link__FIjnI"}},87484:function(e){e.exports={modalOverlay:"WizardContent_modalOverlay__dbJr6",modalContent:"WizardContent_modalContent__Ot74d",stepContent:"WizardContent_stepContent__fZ5Te",mobileList:"WizardContent_mobileList__OkIzN",desktopGrid:"WizardContent_desktopGrid__uOu2l",selectContent:"WizardContent_selectContent__p8CJa",footer:"WizardContent_footer__7fn0Y",footerText:"WizardContent_footerText__YbBss",buttonFooter:"WizardContent_buttonFooter__4dHm4",backBtn:"WizardContent_backBtn__G9Ick",nextBtn:"WizardContent_nextBtn__lrxSQ",nextBtnEnabled:"WizardContent_nextBtnEnabled__b4Xw_",nextBtnDisabled:"WizardContent_nextBtnDisabled__o6Zkp"}},90923:function(e){e.exports={container:"StepBreadcrumb_container__jTfm3",stepGroup:"StepBreadcrumb_stepGroup__l_typ",stepCircle:"StepBreadcrumb_stepCircle__VYD3Z",active:"StepBreadcrumb_active__kktP0",completed:"StepBreadcrumb_completed__VdHfa",future:"StepBreadcrumb_future__lyL0M",stepLabel:"StepBreadcrumb_stepLabel__dqiKh",labelActive:"StepBreadcrumb_labelActive__cCyko",connector:"StepBreadcrumb_connector__lpY16",connectorCompleted:"StepBreadcrumb_connectorCompleted__7XIZo",checkIcon:"StepBreadcrumb_checkIcon__AP8A4"}},35854:function(e){e.exports={wrapper:"SignUp_wrapper__92SmN",content:"SignUp_content__OO9my",contentTop:"SignUp_contentTop__9o5jn",banner:"SignUp_banner__fsrze",bannerIcon:"SignUp_bannerIcon__7AHgw",bannerIconSvg:"SignUp_bannerIconSvg__IJt4z",bannerTitle:"SignUp_bannerTitle__iw5eC",bannerText:"SignUp_bannerText__9ALWr",bannerHighlight:"SignUp_bannerHighlight__07LPN",formFields:"SignUp_formFields___tTnV",fieldGroup:"SignUp_fieldGroup__7seVx",label:"SignUp_label__Dc2yU",inputWrapper:"SignUp_inputWrapper__4vZcx",inputIcon:"SignUp_inputIcon__QIehs",inputIconSvg:"SignUp_inputIconSvg__R0Poa",input:"SignUp_input__9VrCV",inputError:"SignUp_inputError__gr47B",frequencyGrid:"SignUp_frequencyGrid__u16_v",freqButton:"SignUp_freqButton__th_eL",freqButtonSelected:"SignUp_freqButtonSelected__gQ_hh",freqIcon:"SignUp_freqIcon__DJGVt",freqLabel:"SignUp_freqLabel__DjGk4",profileHeader:"SignUp_profileHeader__EJZGH",optionalBadge:"SignUp_optionalBadge__tEchC",profileGrid:"SignUp_profileGrid__InrAU",selectTrigger:"SignUp_selectTrigger__yYn6B",selectPlaceholder:"SignUp_selectPlaceholder__MHpXU",selectValue:"SignUp_selectValue__ZTdML",selectDropdown:"SignUp_selectDropdown__ieYQt",selectOption:"SignUp_selectOption__QtI98",termsLabel:"SignUp_termsLabel__T4R3y",termsCheckbox:"SignUp_termsCheckbox__aaZgv",termsText:"SignUp_termsText__m0Hog",termsLink:"SignUp_termsLink__sJZa6",checkboxes:"SignUp_checkboxes__PnJfq",checkboxError:"SignUp_checkboxError__rJcNT",footer:"SignUp_footer__zau6L",backBtn:"SignUp_backBtn__fOkPp",submitBtn:"SignUp_submitBtn__ggXdm",submitBtnEnabled:"SignUp_submitBtnEnabled__e_7Ym",submitBtnDisabled:"SignUp_submitBtnDisabled__kjCVj"}},982:function(e){e.exports={modal_content:"Styles_modal_content__n_gKW"}},84600:function(e){e.exports={checkbox_holder:"V2_checkbox_holder__vwZeJ",input:"V2_input__O9aKK",checkbox:"V2_checkbox__pZ_X7",label:"V2_label__WwhhQ",label_small:"V2_label_small__edLhS",counter:"V2_counter__CB39t"}},80892:function(e){e.exports={container:"Styles_container__GtvUF",container_relative:"Styles_container_relative__JLLBF",trigger_text:"Styles_trigger_text__zWsrx",trigger:"Styles_trigger__GqUFj",content_drop:"Styles_content_drop__UvKbH",content_drop_absolute:"Styles_content_drop_absolute__pfrxg",overlay:"Styles_overlay__VW1ZU",trigger_arrow:"Styles_trigger_arrow__ZtD9T",media_center:"Styles_media_center__H7akP"}},9738:function(e,t,n){"use strict";n.r(t),t.default={src:"/_next/static/media/default-icon.0419f2e6.svg",height:24,width:24,blurWidth:0,blurHeight:0}}},function(e){e.O(0,[1700,5712,2711,7088,6654,5433,7042,2972,402,605,7352,3340,8003,3694,3087,1558,2971,2117,1744],function(){return e(e.s=68572)}),_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.