PageSourceSearch

https://www.bhs.is/_next/static/chunks/pages/skolinn/[slug]-8c6ad4d5c9dce213.js

js bhs.is collected 2026-10-02 18:48:51 UTC 9,059 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2592],{706:(t,e,i)=>{"use strict";i.r(e),i.d(e,{__N_SSG:()=>H,default:()=>U});var n=i(7876),s=i(5841),a=i(920),r=i(8230),l=i.n(r),o=i(7768),A=i(8220),c=i(7165),d=i(612),h=i(7232),x=i(9099),m=i(841),g=i.n(m),p=i(9828),u=i(4232),f=i(7388),b=i(294);function j(t){let{title:e,children:i}=t,[s,a]=(0,u.useState)(!1);return(0,n.jsxs)(w,{children:[(0,n.jsxs)("div",{className:"title",onClick:()=>a(!s),children:[(0,n.jsx)("h3",{children:e}),s?(0,n.jsx)(b.QLg,{className:"icon"}):(0,n.jsx)(f.QCG,{className:"icon"})]}),s&&(0,n.jsx)("div",{className:"content",children:i})]})}let w=h.Ay.div.withConfig({displayName:"DropdownSection__SectionWrapper",componentId:"sc-6e012b95-0"})(["margin-bottom:1rem;cursor:pointer;.title{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #333;padding:10px;&:hover{color:#3293ab;}h3{margin:0;}}.icon{font-size:1.5rem;}.content{padding:10px 20px;background:#f8f8f8;}"]),v=t=>{let{data:e}=t,i=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.map((t,s)=>{let a,r=t.title||t.subtitle||t.text||"",l="string"==typeof(a=t.link)&&a.startsWith("http")?t.link:null,o=Array.isArray(t.contentbox)&&t.contentbox.length>0,A=!!t.textbox||!!t.text,c=l?(0,n.jsx)("a",{href:l,target:"_blank",rel:"noopener noreferrer",children:r}):r;if(!o&&A){let i=t.text&&t.text!==r;return(0,n.jsxs)("div",{style:{marginBottom:"1rem"},children:[r&&(0,n.jsx)("h4",{children:c}),i&&(0,n.jsx)("p",{children:t.text}),t.textbox&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t.textbox}})]},"".concat(e,"-").concat(s))}return(0,n.jsxs)(j,{title:c,children:[t.text&&t.text!==r&&(0,n.jsx)("p",{children:t.text}),t.textbox&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t.textbox}}),o&&i(t.contentbox,e+1)]},"".concat(e,"-").concat(s))})};return(0,n.jsx)(_,{children:e.map((t,e)=>(0,n.jsxs)(k,{children:[(0,n.jsx)(y,{children:t.heading}),i(t.contentbox)]},e))})},_=h.Ay.div.withConfig({displayName:"HarmonikkaDouble__Wrapper",componentId:"sc-32e2f093-0"})(["width:100%;margin-top:2rem;"]),k=h.Ay.div.withConfig({displayName:"HarmonikkaDouble__Accordion",componentId:"sc-32e2f093-1"})(["margin-bottom:2rem;"]),y=h.Ay.h2.withConfig({displayName:"HarmonikkaDouble__Heading",componentId:"sc-32e2f093-2"})(["font-size:1.8rem;margin-bottom:1rem;"]);h.Ay.div.withConfig({displayName:"HarmonikkaDouble__FlatTitle",componentId:"sc-32e2f093-3"})(["font-size:1.1rem;font-weight:600;padding:10px 0;border-bottom:1px solid #ddd;a{text-decoration:none;color:inherit;}"]);var N=i(6449),C=i(4587),S=i.n(C);let E={src:"/_next/static/media/samskipti1.deea0e5d.png",height:1125,width:964,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAJ1BMVEXvrxr2sRT9/v7sqxP4yFj19/v0tB/05MD58t3ttCzy58773571252VnxhPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAMklEQVR4nB3Kxw0AMRDDQEqbLrj/eg37NSBABEobImAKQWv5iH7Tx7kdWfd7vzLqfGxvEIEAmnSfyI8AAAAASUVORK5CYII=",blurWidth:7,blurHeight:8},I={src:"/_next/static/media/samskipti2.ca5f033a.png",height:1126,width:972,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAFVBMVEX9/v6y2+S64uyu1N3o8/XY7PHL6fHPQBUtAAAAAXRSTlP9g+pWxwAAAAlwSFlzAAALEwAACxMBAJqcGAAAACxJREFUeJwlysENADAMwkDATfcfOaLlc0KyDL6SDPhI7irA1P+TpF3i6DllAQ2SAGL8IoyXAAAAAElFTkSuQmCC",blurWidth:7,blurHeight:8},M={src:"/_next/static/media/samskipti3.deff651b.png",height:1126,width:971,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAGFBMVEX9/v3x9vKy4bO26res3K7///+/7cHW89ffL462AAAAAnRSTlP5/AfmKfsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAuSURBVHicLYpBCgAwDINskq7///HomBdBRJGnIUlUhZYCJfL3dtvvs31Yn6GbCxMWAJ3jbkCPAAAAAElFTkSuQmCC",blurWidth:7,blurHeight:8},B={src:"/_next/static/media/samskipti-hringur.54f5535c.png",height:537,width:537,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAATlBMVEXWxsHbw7vXysTtzsXpzsft6OdMaXHixLzl19Llz8j1/P/f0MvTx8Lb0Mvq3dj54NnIw7/kw7nk0cvZzsneyMH0zMDo08zh0sz74dju2tN2MNwjAAAAFHRSTlP+/Ojw/i0A/LD8L+uxLuqw+efqsbV9EXEAAAAJcEhZcwAACxMAAAsTAQCanBgAAABBSURBVHicBcGHEcAgDASwB1yB1DMl+y8aCcKm2g8B5
1/AxSoV9aeGeHe5KI/RBUdAEMq6NcNqGes5EqzGErb3G8gNc/QKQtWhI2QAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8};var L=i(8258),H=!0;let U=t=>{let{data:e,hero:i,samskiptiHero:r}=t,{textaefni_fyrir_samskipti:h}=e[0].acf,m=(0,x.useRouter)().asPath;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.A,{image:"/skolinn/samskipti"!==m?i.acf.hero_img:r.acf.hero_img}),(0,n.jsxs)(a.S8,{children:[(0,n.jsx)(o.A,{}),(0,n.jsxs)(a.iv,{children:[(0,n.jsx)(N.A,{}),(0,n.jsx)(c.A,{}),null==e?void 0:e.map(t=>{var e,i;return(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{children:t.title.rendered.replace("– ","- ")}),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t.content.rendered}}),null==t||null==(i=t.acf)||null==(e=i.namsbrautir)?void 0:e.map(t=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t.textaefni}}),(0,n.jsx)(d.A,{data:(0,L.Z)(t.table)})]}))]},(0,A.A)())}),(0,n.jsx)(D,{children:h&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"buttons",children:h.map(t=>(0,n.jsx)(l(),{href:t.link,children:t.title},(0,A.A)()))}),(0,n.jsxs)("div",{className:"images",children:[(0,n.jsx)(S(),{alt:"",src:E,width:400,height:400}),(0,n.jsx)(S(),{alt:"",src:I,width:400,height:400}),(0,n.jsx)(S(),{alt:"",src:M,width:400,height:400}),(0,n.jsx)(S(),{alt:"",className:"hringur",src:B})]})]})}),e[0].acf.harmonikka&&(0,n.jsx)(p.A,{data:e[0].acf.harmonikka}),e[0].acf.harmonikkadouble&&(0,n.jsx)(v,{data:e[0].acf.harmonikkadouble}),e.map(t=>(0,n.jsxs)("div",{style:{width:"100%",textAlign:"right"},children:[" ",(0,n.jsxs)("p",{children:["Uppf\xe6rt: ",g()(t.modified).format("DD/MM/YYYY")]})]},(0,A.A)()))]})]})]})},D=h.Ay.div.withConfig({displayName:"[slug]__Samskipti",componentId:"sc-6af53f2-0"})([".buttons{display:flex;flex-direction:column;align-items:center;width:100%;a{width:100%;background-color:#f04b23;color:white;padding:2rem;margin:5px 1px;text-align:center;font-size:1rem;text-decoration:none;font-family:'Merriweather',sans-serif;min-height:130px;font-weight:700;}}.images{display:grid;grid-template-columns:1fr;}@media (min-width:768px){.buttons{flex-direction:row;width:60%;a{&:hover{background-color:#f9f9f9;color:#f04b23;border-left:5px solid #f04b23;}}}.images{grid-template-columns:1fr 1fr;width:100%;.hringur{width:400px;}}}"])},8796:(t,e,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/skolinn/[slug]",function(){return i(706)}])},9828:(t,e,i)=>{"use strict";i.d(e,{A:()=>x});var n=i(7876),s=i(7232),a=i(8220),r=i(4232),l=i(7388),o=i(294);function A(t){let{subtitle:e,content:i}=t,[s,a]=(0,r.useState)(!1);return(0,n.jsxs)(c,{children:[(0,n.jsxs)("div",{className:"subtitle",onClick:()=>a(!s),children:[(0,n.jsx)("p",{children:e}),s?(0,n.jsx)(o.QLg,{className:"icon"}):(0,n.jsx)(l.QCG,{className:"icon"})]}),s&&(0,n.jsx)("div",{className:"content",dangerouslySetInnerHTML:{__html:i}})]})}let c=s.Ay.div.withConfig({displayName:"SubItem__Wrapper",componentId:"sc-4fd37cfc-0"})(["margin-left:30px;.icon{font-size:1.2rem;}.subtitle{background:#f3f3f3;display:flex;justify-content:space-between;align-items:center;padding:10px 15px;border-left:5px solid #333;&:hover{color:#3293ab;}}.content{padding:15px 15px 30px 15px;}"]);function d(t){let{title:e,content:i,subtitles:s=[]}=t,[c,d]=(0,r.useState)(!1),x=s.length>0;return(0,n.jsxs)(h,{children:[(0,n.jsxs)("div",{className:"title",onClick:()=>d(!c),children:[(0,n.jsx)("h3",{children:e}),c?(0,n.jsx)(o.QLg,{className:"icon"}):(0,n.jsx)(l.QCG,{className:"icon"})]}),c&&(0,n.jsx)(n.Fragment,{children:x?s.map(t=>(0,n.jsx)(A,{subtitle:t.subtitle,content:t.content},(0,a.A)())):i&&(0,n.jsx)("div",{className:"content",dangerouslySetInnerHTML:{__html:i}})})]})}let h=s.Ay.div.withConfig({displayName:"Item__Wrapper",componentId:"sc-8bd1c76b-0"})(["max-width:900px;cursor:pointer;.icon{font-size:1.5rem;}.title{border-bottom:2px solid #333;display:flex;justify-content:space-between;align-items:center;margin:20px;&:hover{color:#3293ab;}}.content{max-width:900px;padding:20px 40px;font-size:1.1rem;line-height:1.5;}"]);function x(t){let{data:e=[]}=t,i=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],i=null,n=null;return t.forEach(t=>{var s,a,r;(null==(s=t.heading)?void 0:s.trim())&&(i={heading:t.heading,titles:[]},e.push(i),n=null),i||(i={heading:"",titles:[]},e.push(i)),(null==(a=t.title)?void 0:a.trim())&&(n={title:t.title,subtitles:[]},i.titles.push(n)),n&&((null==(r=t.subtitle)?void 0:r.trim())?n.subtitles.push({subt
1itle:t.subtitle,content:t.text}):n.content=t.text)}),e}(e);return(0,n.jsx)(m,{children:i.map(t=>(0,n.jsxs)("section",{children:[t.heading&&(0,n.jsx)("h2",{children:t.heading}),t.titles.map(t=>(0,n.jsx)(d,{title:t.title,content:t.content,subtitles:t.subtitles},(0,a.A)()))]},(0,a.A)()))})}let m=s.Ay.section.withConfig({displayName:"Harmonikka__Container",componentId:"sc-70ab5bac-0"})(["margin:100px 0;width:100%;"])}},t=>{t.O(0,[3716,2517,7677,636,6593,8792],()=>t(t.s=8796)),_N_E=t.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.