<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window.webpackJsonp=window.webpackJsonp||[]).push([[129,62,76],{1153:function(t,e,n){"use strict";n.r(e);var r=n(14),o=n(7),head=(n(37),n(502),n(36),n(35),n(503),n(5),n(34),n(31),n(497)),d=n(204),c=n(579),l=n(550),f=n(878),m=n(553),h=n(554),x=n(573),v=n(555),_={components:{Breadcrumbs:d.default,TheFilter:c.default,TheSelect:l.default,DataCard:f.default},mixins:[head.a],nuxtI18n:{paths:{en:"/starfsemin/gagnasafn",is:"/starfsemin/gagnasafn"}},asyncData:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,d,c,l,f,h,v,_,w,i,k,y,O;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.req,o=t.$fetchData,d=t.error,e.prev=1,c=n?n.headers.referer:window.location.href,e.next=5,Promise.all([o("/database"),o("/database/data")]);case 5:if(l=e.sent,f=Object(r.a)(l,2),h=f[0],v=f[1],h){e.next=11;break}throw new Error("pages/activities/database.vue: document is not defined");case 11:if(h.data){e.next=13;break}throw new Error("pages/activities/database.vue: document.data is not defined");case 13:if(_=[],w=[],v)for(_[v.page]=v.results,i=v.page+1;i&lt;v.total_pages+1;i++)w.push(i);return e.next=18,Promise.all(w.map((function(t){return o("/database/data",{page:t}).then((function(e){e&amp;&amp;(_[t]=e.results)}))})));case 18:return k=_.flat(),y=Object(m.a)([{name:"Nýjast",settings:"date|data.date|desc",selected:!0},{name:"Elst",settings:"date|data.date"},{name:"Stafrófsröð (A-Ö)",settings:"string|data.title"},{name:"Stafrófsröð (Ö-A)",settings:"string|data.title|desc"}]),O=Object(x.a)([{title:"Flokkar",settings:"string|data.category"},{title:"Sýna mánuð",settings:"date.month|data.date"},{title:"Sýna ár",settings:"date.year|data.date"}],k),e.abrupt("return",{url:c,document:h,data:h.data,documents:k,sortOptions:y,filterOptions:O});case 24:e.prev=24,e.t0=e.catch(1),console.error(e.t0),d({message:e.t0});case 28:case"end":return e.stop()}}),e,null,[[1,24]])})))()},data:function(){return{feedSize:8,feedShowFactor:1}},computed:{feedDocuments:function(){return Object(h.a)(Object(v.a)(this.documents,this.filterOptions),this.sortOptions)},visibleFeedDocuments:function(){return this.feedDocuments.slice(0,this.feedSize*this.feedShowFactor)}}},w=(n(931),n(2)),component=Object(w.a)(_,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"section-content"},[e("div",{staticClass:"container"},[e("div",{staticClass:"feed-controls"},[e("the-filter",{staticClass:"feed-controls__item",model:{value:t.filterOptions,callback:function(e){t.filterOptions=e},expression:"filterOptions"}}),e("the-select",{staticClass:"sorting-select feed-controls__item",scopedSlots:t._u([{key:"caption",fn:function(){return[t._v("Raða eftir")]},proxy:!0}]),model:{value:t.sortOptions,callback:function(e){t.sortOptions=e},expression:"sortOptions"}})],1),e("div",{staticClass:"feed"},t._l(t.visibleFeedDocuments,(function(t){return e("data-card",{key:t.id,staticClass:"feed__item",attrs:{document:t}})})),1),t.visibleFeedDocuments.length&lt;t.feedDocuments.length?e("button",{staticClass:"feed-load-more",on:{click:function(e){t.feedShowFactor++}}},[t._v("Sækja meira efni")]):t._e()])])}),[],!1,null,"0c653b83",null);e.default=component.exports},499:function(t,e,n){"use strict";var r=n(4),o=n(38),d=n(20),c=/"/g,l=r("".replace);t.exports=function(t,e,n,r){var f=d(o(t)),m="&lt;"+e;return""!==n&amp;&amp;(m+=" "+n+'="'+l(d(r),c,"&amp;quot;")+'"'),m+"&gt;"+f+"&lt;/"+e+"&gt;"}},500:function(t,e,n){"use strict";var r=n(6);t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length&gt;3}))}},501:function(t,e,n){"use strict";var r=n(3),o=n(499);r({target:"String",proto:!0,forced:n(500)("link")},{link:function(t){return o(this,"a","href",t)}})},553:function(t,e,n){"use strict";n(36),n(15);e.a=function(t){return t.map((function(option){return{name:option.name,type:option.settings.split("|")[0],field:option.settings.split("|")[1].split(","),order:option.settings.split("|")[2]||"asc",selected:option.selected||!1}}))}},554:function(t,e,n){"use strict";n(47),n(151),n(5);var r=n(63),o=n.n(r);e.a=function(t,e){var n=e.find((function(option){return option.selected}));if(!n)return t;var r=n.type,d=n.field,c=n.order;return"date"===r?"desc"===c?t.sort((function(t,e){var n=o()(t,d[0])||o()(t,d[1]),r=o()(e,d[0])||o()(e,d[1]);return n&amp;&amp;r?Date.parse(r)-Date.parse(n):0})):t.sort((function(t,e){var n=o()(t,d[0])||o()(t,d[1]),r=o()(e,d[0])||o()(e,d[1]);return n&amp;&amp;r?Date.parse(n)-Date.parse(r):0})):"string"===r?"desc"===c?t.sort((function(t,e){var n=o()(t,d[0])||o()(t,d[1]),r=o()(e,d[0])||o()(e,d[1]);return n&amp;&amp;r?r.localeCompare(n,"is"):0})):t.sort((function(t,e){var n=o()(t,d[0])||o()(t,d[1]),r=o()(e,d[0])||o()(e,d[1]);return n&amp;&amp;r?n.localeCompare(r,"is"):0})):t}},555:function(t,e,n){"use strict";n(21),n(47),n(29),n(36),n(15),n(5),n(43),n(31);var r=n(63),o=n.n(r),d=n(150),c={video:"Sjónvarp",podcast:"Hlaðvarp"};e.a=function(t,e){return t.filter((function(t){return!e.map((function(option){if(!option.values.find((function(t){return t.selected})))return!0;if("array"===option.type.name)return option.values.filter((function(t){return t.selected})).map((function(t){return t.title})).some((function(e){var n=option.field.split("[]")[0],r=option.field.split("[]")[1],d=o()(t,n);return!!d&amp;&amp;d.map((function(t){return o()(t,r)})).includes(e)}));if("date"===option.type.name){if("month"===option.type.detail)return option.values.filter((function(t){return t.selected})).map((function(t){return t.title})).includes(d.default[new Date(o()(t,option.field)).getMonth()]);if("year"===option.type.detail)return option.values.filter((function(t){return t.selected})).map((function(t){return t.title})).includes(new Date(o()(t,option.field)).getFullYear())}return"type"===option.type.name?option.values.filter((function(t){return t.selected})).map((function(t){return t.title})).includes(c[o()(t,option.field)]):"id"===option.type.name?option.values.filter((function(t){return t.selected})).map((function(t){return t.id})).includes(o()(t,option.field)):option.values.filter((function(t){return t.selected})).map((function(t){return t.title})).includes(o()(t,option.field))})).includes(!1)}))}},623:function(t,e,n){var content=n(685);content.__esModule&amp;&amp;(content=content.default),"string"==typeof content&amp;&amp;(content=[[t.i,content,""]]),content.locals&amp;&amp;(t.exports=content.locals);(0,n(10).default)("11ebdf69",content,!0,{sourceMap:!1})},684:function(t,e,n){"use strict";n(623)},685:function(t,e,n){var r=n(9)((function(i){return i[1]}));r.push([t.i,'.data-card{background-color:#fff;border:1px solid #dad9d6;display:flex;flex-direction:column;padding:20px 20px 5px;position:relative;transition:box-shadow .2s ease-in-out,border-color .2s ease-in-out,transform .2s ease}.data-card:hover{border-color:#fff;box-shadow:0 33px 60px rgba(0,0,0,.16);transform:scale(1.02)}.data-card:hover .data-card__cta:before{background-color:#eee}.data-card__date{color:#020659;font-weight:600;letter-spacing:2px;text-transform:uppercase}@media(min-width:48em){.data-card__date{font-size:14px;line-height:171%;margin-bottom:26px}}@media(max-width:47.99em){.data-card__date{font-size:12px;line-height:200%;margin-bottom:18px}}.data-card__title{border-bottom:1px solid #eee;color:#141516;flex:1;font-family:"neue-haas-grotesk-text",sans-serif;font-weight:700;line-height:160%;padding-bottom:18px}@media(min-width:48em){.data-card__title{font-size:20px;margin-bottom:8px}}.data-card__cta{align-items:center;color:#141516;-moz-column-gap:10px;column-gap:10px;display:flex;font-weight:600;padding-bottom:18px;padding-top:18px;position:relative;z-index:1}.data-card__cta:before{background-color:#eee;border-radius:50%;content:"";height:1px;left:30px;position:absolute;top:50%;transform:translateY(-50%);transition:transform .5s ease;width:1px;z-index:-1}.data-card__cta:hover:before{transform:scale(30);transition:transform .5s ease}.data-card__cta:hover .template-tools-icon{transform:translate(5px);transition:transform .5s ease}.data-card__cta:active:before{transform:scale(25);transition:transform .5s ease}.data-card__cta .template-tools-icon{height:auto;max-width:20px;stroke:#3c99ff;stroke-width:1.5px;transition:transform .5s ease}.data-card__link{bottom:0;left:0;position:absolute;right:0;top:0}',""]),r.locals={},t.exports=r},779:function(t,e,n){var content=n(932);content.__esModule&amp;&amp;(content=content.default),"string"==typeof content&amp;&amp;(content=[[t.i,content,""]]),content.locals&amp;&amp;(t.exports=content.locals);(0,n(10).default)("63af8f36",content,!0,{sourceMap:!1})},878:function(t,e,n){"use strict";n.r(e);n(501);var r={props:{document:{type:Object,required:!0}},computed:{data:function(){return this.$_isPlainObject(this.document)?this.document.data:null},date:function(){return this.$_isPlainObject(this.data)?this.data.date:null},title:function(){return this.$_isPlainObject(this.data)?this.data.title:null},linkUrl:function(){return this.$_isPlainObject(this.data)&amp;&amp;this.$_isPlainObject(this.data.link)?this.data.link.url:null}}},o=(n(684),n(2)),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"data-card"},[e("p",{staticClass:"data-card__date"},[t._v(t._s(t._f("date")(t.date)))]),e("p",{staticClass:"data-card__title"},[t._v(t._s(t.title))]),e("a",{staticClass:"data-card__cta",attrs:{href:t.linkUrl,target:"_blank",tabindex:"-1"}},[e("svg",{staticClass:"template-tools-icon",attrs:{width:"20",height:"9",viewBox:"0 0 20 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M15.3984 0.5L19.3984 4.5L15.3984 8.5","stroke-linecap":"round","stroke-linejoin":"round"}}),e("path",{attrs:{d:"M19.4 4.5L1 4.5","stroke-linecap":"round","stroke-linejoin":"round"}})]),t._v("Sækja gögn")]),e("a",{staticClass:"data-card__link",attrs:{href:t.linkUrl,target:"_blank"}})])}),[],!1,null,null,null);e.default=component.exports},931:function(t,e,n){"use strict";n(779)},932:function(t,e,n){var r=n(9)((function(i){return i[1]}));r.push([t.i,"@media(min-width:120em){.section-content[data-v-0c653b83]{padding-bottom:135px;padding-top:51px}}@media(min-width:100em)and (max-width:119.99em){.section-content[data-v-0c653b83]{padding-bottom:117px;padding-top:44px}}@media(min-width:48em)and (max-width:99.99em){.section-content[data-v-0c653b83]{padding-bottom:99px;padding-top:37px}}@media(max-width:47.99em){.section-content[data-v-0c653b83]{padding-bottom:137px;padding-top:42px}}.feed[data-v-0c653b83]{display:grid}@media(min-width:120em){.feed[data-v-0c653b83]{gap:39px;padding-bottom:80px;padding-top:80px}}@media(min-width:100em)and (max-width:119.99em){.feed[data-v-0c653b83]{gap:34px;padding-bottom:70px;padding-top:70px}}@media(min-width:100em){.feed[data-v-0c653b83]{grid-template-columns:repeat(4,1fr)}}@media(min-width:62em)and (max-width:99.99em){.feed[data-v-0c653b83]{gap:29px;grid-template-columns:repeat(3,1fr)}}@media(min-width:48em)and (max-width:99.99em){.feed[data-v-0c653b83]{padding-bottom:60px;padding-top:60px}}@media(min-width:48em)and (max-width:61.99em){.feed[data-v-0c653b83]{gap:24px;grid-template-columns:repeat(2,1fr)}}@media(max-width:47.99em){.feed[data-v-0c653b83]{gap:24px;padding-bottom:100px;padding-top:64px}}.feed-controls[data-v-0c653b83]{align-items:flex-start;display:flex}@media(min-width:120em){.feed-controls[data-v-0c653b83]{-moz-column-gap:55px;column-gap:55px}}@media(min-width:100em)and (max-width:119.99em){.feed-controls[data-v-0c653b83]{-moz-column-gap:48px;column-gap:48px}}@media(min-width:48em)and (max-width:99.99em){.feed-controls[data-v-0c653b83]{-moz-column-gap:41px;column-gap:41px}}@media(max-width:47.99em){.feed-controls[data-v-0c653b83]{-moz-column-gap:16px;column-gap:16px}}.feed-controls__item[data-v-0c653b83]:last-child{margin-left:auto}.feed-load-more[data-v-0c653b83]{border-bottom:1px solid #dad9d6;color:#141516;display:block;font-size:16px;font-weight:600;padding-bottom:32px;padding-top:32px;text-align:center;width:100%}",""]),r.locals={},t.exports=r}}]);</pre></body></html>