PageSourceSearch

https://www.kystogfjord.no/_nuxt/pox.page.6302ab3bb08384fb8c06.js

js kystogfjord.no collected 2026-09-24 22:36:01 UTC 16,619 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[206],{1187:function(t,e,r){"use strict";r.r(e);var n=r(0),o=(r(5),r(16)),l=r(243),c=r(906),d=(r(2),r(11),r(3),{SingleTeaser:()=>r.e(180).then(r.bind(null,1277)),SingleComponent:()=>r.e(180).then(r.bind(null,1278)),SingleAd:()=>r.e(180).then(r.bind(null,1279)),SingleIntegration:()=>r.e(180).then(r.bind(null,1280)),OnePlusTwoTeasers:()=>r.e(180).then(r.bind(null,1281)),AdWithTeaser:()=>r.e(180).then(r.bind(null,1282)),ThreeTeasers:()=>r.e(180).then(r.bind(null,1283)),TwoTeasers:()=>r.e(180).then(r.bind(null,1284)),OnePlusXTeasers:()=>r.e(180).then(r.bind(null,1285))}),h=r(324),m=r(27),f={name:"Collections",components:Object.assign({Teaser:m.a.Teaser,List:m.a.List,RichText:m.a.RichText,Heading:m.a.Heading,Ad:m.a.Ad,Shortnews:m.a.Shortnews},d),mixins:[c.a,l.a],props:{source:{type:Object,required:!1},output:{type:Object,required:!0},adsToSkip:{type:Array,default:()=>[]}},data:()=>({collection:{items:[]},start:0,length:0,isLoaded:!1,showAds:!1,firstTeaserOnDateMap:{},hasFailed:!1,error:void 0}),fetch(){var t=this;return Object(n.a)((function*(){t.lazy,0}))()},created(){var t,e,r,n,o;this.isCustomCollection&&(this.collection=this.source.customCollection,this.start=null!=(e=this.output.start)?e:0,this.length=null!=(r=null!=(n=this.output.length)?n:null==(o=this.collection.items)?void 0:o.length)?r:0,this.isLoaded=!0);this.showAds=null!=(t=this.output.ads)&&t},mounted(){this.isCustomCollection||(this.lazy?this.mountLazy(this.fetchCollection):this.hasFailed&&this.$emit("error",this.error))},methods:{getCount(source){var t=source.count;return source.excludeId&&t++,source.showAlreadyRendered||t++,t},fetchCollection(){var t=this;return Object(n.a)((function*(){var e,r,n,o,l,c,d,m,source=Object.assign({},t.source,{lazy:t.lazy,excludeId:"article"===t.context.page?null==(e=t.article)?void 0:e.id:0});source.count=t.getCount(source);var f=yield t.$store.dispatch("collections/fetchCollection",source);if(null==(r=f.items)||!r.length)return t.hasFailed=!0,t.error=f.error,void(t.lazy&&t.$emit("error",f.error));t.start=null!=(n=null==(o=t.output)?void 0:o.start)?n:0,t.length=null!=(l=null!=(c=null==(d=t.output)?void 0:d.length)?c:null==(m=f.items)?void 0:m.length)?l:0;var v=f.items.slice(t.start,t.start+t.length);t.collection.items=t.showAds?h.a.injectCollectionAdObjects(v,t.polarnexus,t.adsToSkip):v,t.isLoaded=!0,t.$emit("mounted")}))()},getFirstTeaser:t=>"bundle"===t.type?t.items[0]:t,isFirstOnDate(t){var e=this.getFirstTeaser(t);if(!e)return!1;var r=e.id,n=e.changes,o=this.formatDate(n.published).format("d.m.yyyy");return void 0===this.firstTeaserOnDateMap[o]?(this.firstTeaserOnDateMap[o]=r,!0):this.firstTeaserOnDateMap[o]===r},getPublishedDate(t){var e=this.getFirstTeaser(t);if(e)return e.changes.published}},computed:Object.assign({},Object(o.d)({context:t=>t.context,article:t=>t.article,collections:t=>t.collections,polarnexus:t=>t.polarnexus}),{isCustomCollection(){return this.source.customCollection&&Array.isArray(this.source.customCollection.items)},hasCollectionItems(){var t;return(null==(t=this.collection)||null==(t=t.items)?void 0:t.length)>0},templateItems(){return this.collection.items.map((t=>"article"===t.type||"bundle"===t.type?{teaser:t}:t))},teaserClass(){return this.output.teaserClass||"gridtriple"},headerLevel(){return this.output.headerLevel||"5"},gridClass(){return this.output.gridClass||"grid"}})},v=r(17),component=Object(v.a)(f,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"Collection"},[t.hasCollectionItems?t._t("header",(function(){return[t.output.header?e("Heading",{staticClass:"heading-title",attrs:{level:t.headerLevel,text:t.output.header}}):t._e()]})):t._e(),t._v(" "),t.isLoaded&&t.hasCollectionItems?t._t("body",(function(){return["List"===t.output.componentName?[e("List",{attrs:{content:t.collection,useRichText:!1}})]:"Shortnews"===t.output.componentName?[t._l(t.collection.items,(function(t,r){return[t.isAd?e("Ad",{key:t.id,attrs:{id:t.id}}):e("Shortnews",{key:t.id,attrs:{indexTab:r+1,article:t}})]}))]:t.output.templateName?[e("div",{staticClass:"Bundles"},[e(t.output.templateName,t._b({tag:"component",attrs:{items:t.templateItems}},"component",t.output.props,!1))],1)]:[e("section",{class:t.gridClass},[t._l(t.collection.items,(function(r,n){return[r.isAd?e("Ad",{key:r.id,attrs:{id:r.id}}):[t.output.includeDateHeaders&&t.isFirstOnDate(r)?e("h2",{key:t.getPublishedDate(r),staticClass:"title"},[t._v("\n              "+t._s(t._f("format")(t.getPublishedDate(r),"dd d. mmm"))+"\n            ")]):void 0,t._v(" "),t._t("item",(function(){return[e("Teaser",t._b({key:r.id,class:t.teaserClass,attrs:{position:n,teaser:r}},"Teaser",t.output.props,!1))]}),{item:r,index:n})]]}))],2)]]}),{collection:t.collection}):t._e(),t._v(" "),t.hasCollectionItems?t._t("footer",(function(){return[t.output.footer?e("RichText",{staticClass:"collection-footer",attrs:{text:t.output.footer}}):t._e()]})):t._e()],2)}),[],!1,null,null,null);e.default=component.exports},1225:function(t,e,r){"use strict";r.r(e);var n={name:"PagLink",props:{value:{type:String,required:!1},enabled:{type:Boolean,required:!1,default:!0},href:{type:String,required:!0}},computed:{disabled:function(){return this.enabled?"":"disabled"}}},o=r(17),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("a",{staticClass:"pagination",class:t.disabled,attrs:{href:t.href}},[t._t("default"),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.value)}})],2)}),[],!1,null,null,null);e.default=component.exports},1226:function(t,e,r){"use strict";r.r(e);var n={name:"Popup",props:{message:{type:String,required:!1},type:{type:String,required:!1,default:"info",validator:function(t){return-1!==["info","error","warning"].indexOf(t)}}},data:function(){return{shown:!1}},methods:{show:function(){this.shown=!0},close:function(){this.shown=!1,this.$emit("close")}}},o=r(17),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;
1return e("div",{staticClass:"popup",class:["popup-"+t.type,{shown:t.shown}]},[t._t("default",(function(){return[t._v("\n    "+t._s(t.message)+"\n  ")]})),t._v(" "),e("div",{staticClass:"closePopup",on:{click:t.close}},[t._v("✕")])],2)}),[],!1,null,null,null);e.default=component.exports},1227:function(t,e,r){"use strict";r.r(e);r(5);var n={name:"TimeComponent",mixins:[r(243).a],props:{time:{type:String,deafult:"",required:!1},template:{type:String,default:"d. mm yy kl. H:M",required:!1},options:{type:Object,default:()=>({})}},computed:{combinedOptions(){return Object.assign({},this.options,{t:this.$t})}}},o=r(17),component=Object(o.a)(n,(function(){var t=this;return(0,t._self._c)("time",{attrs:{datetime:t.time}},[t._t("default"),t._v("\n  "+t._s(t._f("format")(t.time,t.template,t.combinedOptions))+"\n")],2)}),[],!1,null,null,null);e.default=component.exports},1228:function(t,e,r){"use strict";r.r(e);r(304);var n={name:"Ticker",components:r(27).a,props:{count:{type:Number,default:5},type:{type:String,default:"section"},slug:{type:String,default:"root"},id:{type:String,required:!1},showSection:{type:Boolean,default:!0},lines:{type:Number,default:2},vertical:{type:Boolean,default:!1},progress:{type:Boolean,default:!0},arrow:{type:Boolean,default:!0},lazy:{type:Boolean,default:!0}},data(){return{avgCharWidth:"desktop"===this.$store.state.context.client.device?9:8,minWidth:100,bar:0,hasMoreContent:!0}},methods:{payedClass(t){var e;return null!=(e=t.access)&&e.paywall?"payed":""},getStyle(t){var e,r;if(this.vertical)return!1;var n=((null==t||null==(e=t.title)||null==(e=e.value)?void 0:e.length)||0)+(this.showSection?null==t||null==(r=t.section)||null==(r=r.title)?void 0:r.length:0)+5;return n*=this.avgCharWidth,n/=this.lines,"flex-basis: "+Math.max(this.minWidth,n)+"px;"},scrollRight(){var t=document.querySelector(".top-news .Collection .grid");if(this.hasMoreContent){var e=t.scrollLeft+t.clientWidth/2;t.scrollTo({left:e,behavior:"smooth"}),this.hasMoreContent=e<t.scrollWidth-t.clientWidth}else t.scrollTo({left:0,behavior:"smooth"}),this.hasMoreContent=!0}},mounted(){if(this.progress&&!this.vertical){var t=this.$el.querySelector(".grid");if(t){var rect=this.$viewport.rect(t);t.addEventListener("scroll",(()=>requestAnimationFrame((()=>this.bar=t.scrollLeft/(t.scrollWidth-rect.width)*100))))}}}},o=r(17),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("aside",{staticClass:"top-news loading",class:{vertical:t.vertical},attrs:{tabindex:"-1"}},[e("Collections",{ref:"container",attrs:{tabindex:"-1",lazy:t.lazy,source:{type:t.type,slug:t.slug,id:t.id,count:t.count},output:{length:t.count,start:0}},scopedSlots:t._u([{key:"item",fn:function(r){var n=r.item,o=r.index;return[e("BasicTeaser",{ref:"articles-"+o,class:t.payedClass(n),style:t.getStyle(n),attrs:{tabindex:"-1",teaser:n,position:o,showMedia:!1},scopedSlots:t._u([{key:"content_before",fn:function(r){var n=r.teaserPublished,o=r.teaserSection;return[e("TimeComponent",{attrs:{time:n,template:"H:M"}}),t._v(" "),t.showSection?e("span",{staticClass:"section"},[t._v(t._s(o))]):t._e()]}}],null,!0)})]}}])},[t._v(" "),t.arrow?e("div",{staticClass:"ticker-pagination",attrs:{slot:"footer"},slot:"footer"},[e("button",{staticClass:"read-more",on:{click:t.scrollRight}},[t._v(t._s(t.hasMoreContent?"→":"←"))])]):t._e(),t._v(" "),t.progress&&!t.vertical?e("div",{staticClass:"progress",attrs:{slot:"footer"},slot:"footer"},[e("div",{staticClass:"bar",style:"width:"+t.bar.toFixed(2)+"%;"})]):t._e()])],1)}),[],!1,null,null,null);e.default=component.exports},1229:function(t,e,r){"use strict";r.r(e);r(5);var n=r(16),o={name:"HeaderTicker",components:r(27).a,computed:Object.assign({},Object(n.d)({device:t=>t.context.client.device}),{isDesktopMode(){return"mobile"!==this.device}})},l=r(17),component=Object(l.a)(o,(function(){return(0,this._self._c)("Ticker",{attrs:{slot:"afterBreaking",arrow:this.isDesktopMode,count:6,lazy:!0},slot:"afterBreaking"})}),[],!1,null,null,null);e.default=component.exports},1232:function(t,e,r){"use strict";r.r(e);var n={name:"MultiComponent",components:r(27).a,props:{components:{type:Array,required:!0},template:{type:String,default:"3"}},computed:{cls(){return["gridfullsize","griddouble","gridtriple"][this.components.length-1]||"gridtriple"}}},o=r(17),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"multiComponent grid",class:t.template},t._l(t.components,(function(r,n){return e(r.componentName,t._b({key:n,tag:"component",class:r.class||t.cls},"component",r.props,!1))})),1)}),[],!1,null,null,null);e.default=component.exports},1233:function(t,e,r){"use strict";r.r(e);r(5),r(154);var n=r(16),o=r(27),l=r(69),c={name:"Pagination",components:o.a,data(){return{currentPage:parseInt(this.$route.query.side)||1}},computed:Object.assign({},Object(n.d)({hasMoreContent:t=>t.bundles.hasMoreContent})),methods:{getHref:function(t){return Object(l.a)(this.$route.path,{side:t})}}},d=r(17),component=Object(d.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"paginationWrapper"},[1!==t.currentPage?e("PagLink",{staticClass:"previousPage",attrs:{href:t.getHref(t.currentPage-1)}},[t._v(t._s(t.$t("Forrige side")))]):t._e(),t._v(" "),t.hasMoreContent?e("PagLink",{staticClass:"nextPage",attrs:{href:t.getHref(t.currentPage+1)}},[t._v("Neste side")]):t._e()],1)}),[],!1,null,null,null);e.default=component.exports},311:function(t,e,r){"use strict";r.r(e);var n=r(0),o=(r(5),r(45)),l=r(503),c=r(496),d=r(27),h=r(16),m={components:d.a,mixins:[o.default,l.default],layout:Object(c.tagLayout)(),computed:Object.assign({},Object(h.d)({bundles:t=>t.bundles.bundles})),fetch(){var t=this;return Object(n.a)((function*(){var e;null!=(e=t.tagsWithSeoHeader)&&null!=(e=e[t.context.tagName])&&e.teamId&&(yield t.fetchTeamData(t.tagsWithSeoHeader[t.context.tagName].teamId))}))()}},f=r(17),component=Object(f.a)(m,(function(){var t,e=this,r=e._self._c;return r("div",[r("div",{staticClass:"Tag"},[e.shouldHaveSeoHeader?r("SeoStoryTagHeader",{attrs:{data:e.tagsWithSeoHeader[e.context.tagName]}}
1):e._e(),e._v(" "),e.tagsWithSeoHeader&&e.team&&null!=(t=e.tagsWithSeoHeader[e.context.tagName])&&t.teamId?r("TwoColumnTagIntro",{attrs:{newsroom:e.context.newsroom,data:e.data,team:e.team,primarySeason:e.primarySeason,articles:e.articles}}):[r("div",[r("Bundles")],1),e._v(" "),r("Pagination")]],2)])}),[],!1,null,null,null);e.default=component.exports},319:function(t,e,r){"use strict";r.r(e);r(119),r(5);var n=r(496),o=r(27),l=r(919),c=r(16),d={layout:Object(n.authorLayout)(),components:o.a,computed:Object.assign({},Object(c.d)({author:t=>t.context.author}),{hasTags:function(){var t;return(null==(t=this.author)||null==(t=t.topLatestTags)?void 0:t.length)>0}}),methods:{formatPhone:l.a}},h=r(17),component=Object(h.a)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"Author"},[e("div",{staticClass:"author-card"},[t.author.image?e("FigureComponent",{attrs:{ratio:"square",content:{imageId:t.author.image}}}):t._e(),t._v(" "),e("div",{staticClass:"author-info"},[e("h3",{staticClass:"author-name"},[t._v("\n        "+t._s(t.author.fullname)+"\n      ")]),t._v(" "),t.author.title?e("em",{staticClass:"author-title"},[t._v("- "+t._s(t.author.title))]):t.author.description?e("em",{staticClass:"author-title"},[t._v("- "+t._s(t.author.description))]):t._e(),t._v(" "),e("div",{staticClass:"sub-info"},[t.author.title&&t.author.description?e("span",[e("strong",[t._v(t._s(t.$t("Beskrivelse"))+": ")]),t._v(" "+t._s(t.author.description))]):t._e(),t._v(" "),t.author.email?e("span",{staticClass:"author-email"},[e("strong",[t._v("E-post: ")]),e("a",{attrs:{href:"mailto:"+t.author.email}},[t._v(t._s(t.author.email))])]):t._e(),t._v(" "),t.author.facebook?e("span",{staticClass:"author-facebook"},[e("strong",[t._v("Facebook: ")]),e("a",{attrs:{href:"https://facebook.com/"+t.author.facebook,target:"_blank"}},[t._v(t._s(t.author.facebook))])]):t._e(),t._v(" "),t.author.twitter?e("span",{staticClass:"author-twitter"},[e("strong",[t._v("Twitter: ")]),e("a",{attrs:{href:"https://twitter.com/"+t.author.twitter,target:"_blank"}},[t._v(t._s(t.author.twitter))])]):t._e(),t._v(" "),t.author.phone?e("span",{staticClass:"author-phone"},[e("strong",[t._v("Telefon: ")]),e("a",{attrs:{href:"tel:"+t.author.phone},domProps:{innerHTML:t._s(t.formatPhone(t.author.phone))}})]):t._e()]),t._v(" "),t.hasTags?e("Tags",{attrs:{heading:"Skriver om:",tags:t.author.topLatestTags}}):t._e()],1)],1),t._v(" "),e("div",[e("Bundles")],1),t._v(" "),e("Pagination")],1)}),[],!1,null,null,null);e.default=component.exports},320:function(t,e,r){"use strict";r.r(e);r(5);var n=r(16),o=r(45),l=r(496),c={components:r(27).a,mixins:[o.default],layout:Object(l.tagLayout)(),computed:Object.assign({},Object(n.d)({newsroom:t=>t.context.newsroom,id:t=>t.context.tagId,tagHitsTotal:t=>t.context.tagHitsTotal,background:t=>t.context.tagBackground}))},d=r(17),component=Object(d.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"Storytag"},[e("div",{staticClass:"storytag-intro"},[e("h1",{staticClass:"storytag-title"},[t._v(t._s(t.context.tagLabel))]),t._v(" "),t.background?e("p",{staticClass:"storytag-background"},[e("Blocks",{attrs:{content:{paragraphs:t.background}}})],1):t._e(),t._v(" "),e("p",{staticClass:"storytag-hits"},[t._v("Antall saker: "+t._s(t.tagHitsTotal))])]),t._v(" "),e("div",{staticClass:"Bundles"},[e("Bundles")],1),t._v(" "),e("Pagination")],1)}),[],!1,null,null,null);e.default=component.exports},906:function(t,e,r){"use strict";var n=r(0),o=r(4);e.a={props:{lazy:{type:Boolean,required:!1,default:!0},scalingFactor:{type:Number,required:!1,default:1},lazyThreshold:{type:Number,required:!1,default:1},onlyTriggerAfterScroll:{type:Boolean,required:!1,default:!1}},methods:{mountLazy(t){var e=this;return Object(n.a)((function*(){var r=()=>t&&t();if(!e.lazy)return r();yield e.$nextTick(),e.setupObserver(r)}))()},setupObserver(t){if(!this.$intersectionObserver)return o.a.error("Intersection observer plugin was not installed"),t();var e={rootMargin:100*this.scalingFactor+"% 0px",threshold:this.lazyThreshold,once:!0,onlyTriggerAfterScroll:this.onlyTriggerAfterScroll};this.$intersectionObserver(this.$el,t,e)}}}},919:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));r(133),r(6),r(25),r(24),r(155),r(91);var n=function(t,e){if(void 0===t&&(t=""),void 0===e&&(e="&nbsp;"),!t)return"";t=t.toString().trim().replace(" ","");var r=new RegExp("(\\d{2})");if("8"===t.charAt(0))r=new RegExp("(\\d{3})(\\d{2})(\\d{3})");else if("116"===t.slice(0,3))r=new RegExp("(\\d{3})");else if(t.length<6)return t;
1return t.split(r).filter(Boolean).join(e)}}}]);

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.