PageSourceSearch

https://www.bhs.is/_next/static/chunks/pages/erlent-samstarf/umsokn-bc951646485d8e5c.js

js bhs.is collected 2026-10-02 18:47:57 UTC 4,346 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8486],{8332:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/erlent-samstarf/umsokn",function(){return t(8360)}])},8360:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSG:()=>c,default:()=>x});var n=t(7876),r=t(7768),l=t(5841),s=t(920),i=t(4232),u=t(2031),p=t(2240);function o(e){let{title:a,about:t,endpoint:r}=e,[l,o]=(0,i.useState)(""),[d,h]=(0,i.useState)(""),[c,x]=(0,i.useState)(""),[v,g]=(0,i.useState)(""),[j,m]=(0,i.useState)(""),[f,k]=(0,i.useState)(""),[_,S]=(0,i.useState)(""),[b,y]=(0,i.useState)(""),[w,C]=(0,i.useState)(""),[N,E]=(0,i.useState)(""),{isSubmitting:A,success:M,submissionError:D,submit:F}=(0,u.k)(),[L,T]=(0,i.useState)("");return M?(0,n.jsxs)(s.MG,{children:[(0,n.jsx)("h1",{children:a}),(0,n.jsxs)(p.n,{role:"status","aria-live":"polite",children:["Takk fyrir ums\xf3knina. ",(0,n.jsx)("a",{href:"/",children:"Fara aftur \xe1 fors\xed\xf0u."})]})]}):(0,n.jsxs)(s.MG,{children:[(0,n.jsx)("h1",{children:a}),(0,n.jsx)("p",{children:t}),(0,n.jsxs)("form",{onSubmit:e=>{if(e.preventDefault(),A||M)return;let a=new FormData;a.append("_wpcf7_unit_tag","wpcf7-f7a364a2-o1"),a.append("_wpcf7","7a364a2"),a.append("_wpcf7_container_post","0"),a.append("the-name",l),a.append("the-email",d),a.append("the-date",c),a.append("the-kennitala",v),a.append("the-address",j),a.append("the-phone",f),a.append("the-svid",L),a.append("the-reason-for-applying",_),a.append("the-country",b),a.append("the-final-date",w),a.append("the-other",N),F(r,a,{errorMessage:"Ekki t\xf3kst a\xf0 senda ums\xf3knina. Vinsamlegast reyndu aftur.",onSuccess:()=>{o(""),h(""),x(""),g(""),m(""),k(""),S(""),y(""),C(""),E(""),T("")}})},children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("input",{placeholder:"Nafn",type:"text",value:l,onChange:e=>o(e.target.value)}),(0,n.jsx)("input",{placeholder:"Netfang",type:"email",value:d,onChange:e=>h(e.target.value)}),(0,n.jsx)("input",{placeholder:"Dagsetning ums\xf3knar",type:"text",value:c,onChange:e=>x(e.target.value)}),(0,n.jsx)("input",{placeholder:"Kennitala",value:v,onChange:e=>g(e.target.value),type:"text"}),(0,n.jsx)("input",{placeholder:"Heimilisfang, p\xf3stn\xfamer, sta\xf0ur",value:j,onChange:e=>m(e.target.value),type:"text"}),(0,n.jsx)("input",{placeholder:"S\xedman\xfamer",value:f,onChange:e=>k(e.target.value),type:"text"}),(0,n.jsx)("input",{placeholder:"Hva\xf0a land langar \xfeig a\xf0 heims\xe6kja?",value:b,onChange:e=>y(e.target.value),type:"text"}),(0,n.jsx)("input",{placeholder:"Lokadagur fyrirhuga\xf0rar fer\xf0ar",value:w,onChange:e=>C(e.target.value),type:"text"}),(0,n.jsx)("input",{placeholder:"\xd3skir og athugasemdir",value:N,onChange:e=>E(e.target.value),type:"text"}),(0,n.jsx)("input",{placeholder:"Markmi\xf0 fer\xf0arinnar",value:_,onChange:e=>S(e.target.value),type:"text"}),(0,n.jsx)("input",{multiple:!0,type:"file"}),(0,n.jsxs)("select",{value:L,onChange:e=>{T(e.target.value)},children:[(0,n.jsx)("option",{value:"",children:"Braut"}),(0,n.jsx)("option",{value:"Afrek",children:"Afrek"}),(0,n.jsx)("option",{value:"b\xedlt\xe6knibrautir",children:"B\xedlt\xe6knibrautir"}),(0,n.jsx)("option",{value:"b\xf3kn\xe1m",children:"B\xf3kn\xe1m"}),(0,n.jsx)("option",{value:"f\xe9lagsvirkni- og uppldissvi\xf0",children:"F\xe9lagsvirkni- og uppldissvi\xf0"}),(0,n.jsx)("option",{value:"framhaldssk\xf3labraut",children:"Framhaldssk\xf3labraut"}),(0,n.jsx)("option",{value:"Listn\xe1m",children:"Listn\xe1m"}),(0,n.jsx)("option",{value:"m\xe1lm- og v\xe9lt\xe6knibrautir",children:"M\xe1lm- og v\xe9lt\xe6knibrautir"}),(0,n.jsx)("option",{value:"s\xe9rn\xe1msbraut",children:"S\xe9rn\xe1msbraut"})]})]}),(0,n.jsx)("button",{type:"submit",disabled:A,children:A?"SENDI…":"SENDA"}),D&&(0,n.jsx)(p.K,{role:"alert","aria-live":"assertive",children:D})]})]})}var d=t(7165),h=t(6449),c=!0;let x=e=>{let{hero:a,data:t}=e,{hero_img:i}=a.acf;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.A,{image:i}),(0,n.jsxs)(s.S8,{children:[(0,n.jsx)(r.A,{}),(0,n.jsxs)(s.iv,{children:[(0,n.jsx)(h.A,{}),(0,n.jsx)(d.A,{}),(0,n.jsx)("h1",{children:t.title.rendered}),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t.content.rendered}}),(0,n.jsx)(o,{title:"",about:"",endpoint:"https://wp.borgo.is/wp-json/contact-form-7/v1/contact-forms/1819/feedback"})]})]})]})}}},e=>{e.O(0,[7444,636,6593,8792],()=>e(e.s=8332)),_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.