PageSourceSearch

https://www.opp.no/_nuxt/pox.integration.4a2471637edceb36c861.js

js opp.no collected 2026-09-24 10:02:43 UTC 30,994 bytes, 2 lines download raw bytes

1/*! For license information please see LICENSES */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[201,133],{1002:function(t,n,e){"use strict";e.r(n);e(28),e(5),e(42),e(35);var r={name:"ExternalIntegration",props:{content:{type:Object,required:!1,default:function(){}}},data:function(){return{url:"",height:"800px"}},mounted:function(){this.url=this.formatUrl(this.content.url),this.height=this.content.height},methods:{formatUrl:function(t){var n,e=null!=(n=this.$darkmode)&&n.active()?"dark":"light";return t.includes("theme=")?t.replace(/theme=[a-zA-Z]+&?/g,"theme="+e):t.includes("?")?t+"&theme="+e:t+"?theme="+e}}},o=e(27),component=Object(o.a)(r,(function(){var t=this;return(0,t._self._c)("iframe",{staticStyle:{transform:"scale(1)","-webkit-transform":"scale(1)","-ms-transform":"scale(1)",width:"100%"},attrs:{src:t.url,frameborder:"0",height:t.height}})}),[],!1,null,null,null);n.default=component.exports},1408:function(t,n,e){"use strict";e.r(n);var r=e(0);e(7),e(9),e(19),e(11),e(13),e(1),e(5),e(35);function o(){var t,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",l=e.toStringTag||"@@toStringTag";function i(e,r,o,i){var l=r&&r.prototype instanceof f?r:f,u=Object.create(l.prototype);return c(u,"_invoke",function(e,r,o){var i,c,u,l=0,p=o||[],f=!1,h={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(n,e){return i=n,c=0,u=t,h.n=e,a}};function d(e,r){for(c=e,u=r,n=0;!f&&l&&!o&&n<p.length;n++){var o,i=p[n],d=h.p,v=i[2];e>3?(o=v===r)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=d&&((o=e<2&&d<i[1])?(c=0,h.v=r,h.n=i[1]):d<v&&(o=e<3||i[0]>r||r>v)&&(i[4]=e,i[5]=r,h.n=v,c=0))}if(o||e>1)return a;throw f=!0,r}return function(o,p,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===p&&d(p,v),c=p,u=v;(n=c<2?t:u)||!f;){i||(c?c<3?(c>1&&(h.n=-1),d(c,u)):h.n=u:h.v=u);try{if(l=2,i){if(c||(o="next"),n=i[o]){if(!(n=n.call(i,u)))throw TypeError("iterator result is not an object");if(!n.done)return n;u=n.value,c<2&&(c=0)}else 1===c&&(n=i.return)&&n.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=t}else if((n=(f=h.n<0)?u:e.call(r,h))!==a)break}catch(n){i=t,c=1,u=n}finally{l=1}}return{value:n,done:f}}}(e,o,i),!0),u}var a={};function f(){}function h(){}function d(){}n=Object.getPrototypeOf;var v=[][r]?n(n([][r]())):(c(n={},r,(function(){return this})),n),u=d.prototype=f.prototype=Object.create(v);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,l,"GeneratorFunction")),t.prototype=Object.create(u),t}return h.prototype=d,c(u,"constructor",d),c(d,"constructor",h),h.displayName="GeneratorFunction",c(d,l,"GeneratorFunction"),c(u),c(u,l,"Generator"),c(u,r,(function(){return this})),c(u,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:i,m:y}})()}function c(t,n,e,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}c=function(t,n,e,r){function o(n,e){c(t,n,(function(t){return this._invoke(n,e,t)}))}n?i?i(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(o("next",0),o("throw",1),o("return",2))},c(t,n,e,r)}var l={mixins:[e(987).a],props:{content:{type:Object,required:!0}},data:function(){return{src:void 0,randomId:0}},methods:{standardIframe:function(t){var n,e=t.parent;this.src=this.content.url,this.content.height?e.style.height=this.content.height+"px":window.addEventListener("message",(function(t){var data=t.data;if("string"==typeof data&&/height/.test(data)){var r=parseInt(data.replace(/[^\d]/g,""));if(isNaN(r)||n===r)return;e.style.height=r+"px",n=r}}))},hostedIframe:function(t){var n=this,iframe=t.iframe,e=t.doc,html=t.html;this.content.height?iframe.style.height=this.content.height+"px":(iframe.style.display="block",window.addEventListener("message",(function(t){var data=t.data,e=data.id,r=data.height;e===n.randomId&&"number"==typeof r&&(iframe.style.height=r+"px")}))),e.open();var script="<script>\n        let height;\n        function postHeight() {\n          const newHeight = document.body.scrollHeight;\n          if (newHeight === height) return;\n          window.parent.postMessage({id: "+this.randomId+", height: newHeight}, '*');\n          height = newHeight;\n        }\n        postHeight();\n        window.onresize = postHeight;\n        window.onload = postHeight;\n        setInterval(postHeight, 500);\n      <\/script>",r=html.lastIndexOf("</body>");-1===r?e.write('\n        <html>\n          <head>\n            <base target="_top">\n            <meta charset="UTF-8"/>\n            <meta name="viewport" content="width=device-width, initial-scale=1"/>\n            <style>\n              *,\n              *::before,\n              *::after {\n                box-sizing: border-box;\n                margin: 0;\n                padding: 0;\n              }\n\n              iframe {\n                border: none;\n                display: block;\n                max-width: 100%;\n              }\n            </style>\n          </head>\n          <body data-origin="'+location.origin+'">\n            '+html+"\n            "+script+"\n          </body>\n        </html>\n      "):e.write(html.slice(0,r)+script+html.slice(r)),e.close()}},mounted:function(){var t=this;return Object(r.a)(o().m((function n(){var e,iframe,r;return o().w((function(n){for(;;)switch(n.n){case 0:return n.n=1,t.$nextTick();case 1:iframe=t.$el,r={iframe:iframe,parent:t.$parent.$el,doc:iframe.contentDocument||(null==(e=iframe.contentWindow)?void 0:e.document),html:t.content.body},t.randomId=Math.floor(1e3*Math.random()),r.html&&r.doc?t.hostedIframe(r):t.standardIframe(r);case 2:return n.a(2)}}),n)})))()}},f=e(27),component=Object(f.a)(l,(function(){return(0,this._self._c)("iframe",{attrs:{src:this.src,scrolling:"no"}})}),[],!1,null,null,null);n.default=component.exports},1409:function(t,n,e){"use strict";e.r(n);var r=e(0);e(7),e(9),e(11),e(13),e(1),e(20);function o(){var t,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",l=e.toStringTag||"@@toStringTag";function i(e,r,o,i){var l=r&&r.prototype instanceof f?r:f,u=Object.create(l.prototype);return c(u,"_invoke",function(e,r,o){var i,c,u,l=0,p=o||[],f=!1,h={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(n,e){return i=n,c=0,u=t,h.n=e,a}};function d(e,r){for(c=e,u=r,n=0;!f&&l&&!o&&n<p.length;n++){var o,i=p[n],d=h.p,v=i[2];e>3?(o=v===r)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=d&&((o=e<2&&d<i[1])?(c=0,h.v=r,h.n=i[1]):d<v&&(o=e<3||i[0]>r||r>v)&&(i[4]=e,i[5]=r,h.n=v,c=0))}if(o||e>1)return a;throw f=!0,r}return function(o,p,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===p&&d(p,v),c=p,u=v;(n=c<2?t:u)||!f;){i||(c?c<3?(c>1&&(h.n=-1),d(c,u)):h.n=u:h.v=u);try{if(l=2,i){if(c||(o="next"),n=i[o]){if(!(n=n.call(i,u)))throw TypeError("iterator result is not an object");
2if(!n.done)return n;u=n.value,c<2&&(c=0)}else 1===c&&(n=i.return)&&n.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=t}else if((n=(f=h.n<0)?u:e.call(r,h))!==a)break}catch(n){i=t,c=1,u=n}finally{l=1}}return{value:n,done:f}}}(e,o,i),!0),u}var a={};function f(){}function h(){}function d(){}n=Object.getPrototypeOf;var v=[][r]?n(n([][r]())):(c(n={},r,(function(){return this})),n),u=d.prototype=f.prototype=Object.create(v);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,l,"GeneratorFunction")),t.prototype=Object.create(u),t}return h.prototype=d,c(u,"constructor",d),c(d,"constructor",h),h.displayName="GeneratorFunction",c(d,l,"GeneratorFunction"),c(u),c(u,l,"Generator"),c(u,r,(function(){return this})),c(u,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:i,m:y}})()}function c(t,n,e,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}c=function(t,n,e,r){function o(n,e){c(t,n,(function(t){return this._invoke(n,e,t)}))}n?i?i(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(o("next",0),o("throw",1),o("return",2))},c(t,n,e,r)}var l={name:"SsrIntegration",props:{url:{type:String,required:!0}},computed:{content:function(){return this.$store.getters["integrations/getIntegrationContent"](this.url)}},fetch:function(t){function n(){return t.apply(this,arguments)}return n.toString=function(){return t.toString()},n}((function(){var t=this;return Object(r.a)(o().m((function n(){var e,text;return o().w((function(n){for(;;)switch(n.n){case 0:n.n=3;break;case 1:return e=n.v,n.n=2,e.text();case 2:text=n.v,t.$store.commit("integrations/setIntegration",{url:t.url,content:text});case 3:return n.a(2)}}),n)})))()}))},f=l,h=e(27),component=Object(h.a)(f,(function(){var t=this,n=t._self._c;return n("article",{staticClass:"media integration gridfullsize"},[t.content?n("div",{domProps:{innerHTML:t._s(t.content)}}):t._e()])}),[],!1,null,null,null);n.default=component.exports},1410:function(t,n,e){"use strict";e.r(n);var r={name:"Shorthand",props:{content:{type:Object,required:!0,default:function(){return{}}}},mounted:function(){var body=window.top.document.body;document.getElementsByTagName("html")[0].classList.add("shorthand"),body.style.maxHeight="100vh",body.style.maxWidth="100vw"}},o=e(27),component=Object(o.a)(r,(function(){var t=this._self._c;return t("client-only",[t("script",{attrs:{type:"application/javascript",src:this.content.url}})])}),[],!1,null,null,null);n.default=component.exports},1411:function(t,n,e){"use strict";e.r(n);e(602),e(5),e(93);
2var r={name:"DataWrapper",props:{content:{type:Object,required:!0}},computed:{url:function(){var t;return this.content.url+"?dark="+(null!=(t=this.$darkmode)&&t.active()?"true":"false")},hash:function(){var t=(this.content.url.match(/\w+\.\w+\/(\w+)/)||[])[1];return t}},mounted:function(){var t=this;window.addEventListener("message",(function(n){var e=n.data,r=(void 0===e?{}:e)["datawrapper-height"],o=null==r?void 0:r[t.content.hash||t.hash];o&&(t.$refs.iframe.style.height=o+"px")}))}},o=e(27),component=Object(o.a)(r,(function(){var t=this;return(0,t._self._c)("iframe",{ref:"iframe",staticClass:"datawrapper",attrs:{src:t.url,hash:t.content.hash||t.hash}})}),[],!1,null,null,null);n.default=component.exports},1412:function(t,n,e){"use strict";e.r(n);var r={name:"Youtube",props:{content:{type:Object,required:!1,default:function(){}}}},o=e(27),component=Object(o.a)(r,(function(){return(0,this._self._c)("div",{staticClass:"youtube",domProps:{innerHTML:this._s(this.content.body)}})}),[],!1,null,null,null);n.default=component.exports},1413:function(t,n,e){"use strict";e.r(n);e(28),e(42);var r=e(573),o=e(987),c=e(26),l=e(39),f=e(182),h={name:"ArticleIntegration",components:l.a,mixins:[r.default,o.a,f.a],props:{content:{type:Object,required:!0,default:function(){return{}}}},methods:{hideIntegration:function(){this.$el.style.display="none"}},computed:Object.assign({},Object(c.d)({config:function(t){return t.config}}),{isLiveblog:function(){var t;return"liveblog"===(null==(t=this.content)?void 0:t.subtype)},integrationStyleClass:function(){return[this.presentationPropertyClasses,this.sourceClass]},isYoutube:function(){var t;return"youtube"===(null==(t=this.content)||null==(t=t.data)?void 0:t.source)},isShorthand:function(){return!!this.content.url&&(this.content.url.includes("shorthandstories.com")||this.content.url.includes("historier.smp.no"))},isExternalIntegration:function(){var t,n=null==(t=this.content)?void 0:t.subtype;return!!n&&("nifs"===n||"proff"===n||"everviz"===n)},isDataWrapper:function(){var t;return"datawrapper"===this.content.subtype||(null==(t=this.content.url)?void 0:t.includes("datawrapper"))}})},d=e(27),component=Object(d.a)(h,(function(){var t=this,n=t._self._c;return n("div",{staticClass:"media integration",class:t.integrationStyleClass},[t.isExternalIntegration?n("ExternalIntegration",{attrs:{content:t.content}}):t.isLiveblog?n("Liveblog",{key:"liveblog",attrs:{content:t.content}}):t.isShorthand?n("Shorthand",{attrs:{content:t.content}}):t.isDataWrapper?n("DataWrapper",{attrs:{content:t.content}}):t.isYoutube?n("Youtube",{attrs:{content:t.content}}):t.isInline?n("Inline",{attrs:{content:t.content},on:{hideIntegration:t.hideIntegration}}):n("IframeComponent",{attrs:{content:t.content}})],1)}),[],!1,null,null,null);n.default=component.exports},1414:function(t,n,e){"use strict";e.r(n);e(7),e(9),e(11),e(13),e(1);var r=e(0),o=e(987),c=e(39),l=e(993);function f(){var t,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",o=e.toStringTag||"@@toStringTag";function i(e,r,o,i){var l=r&&r.prototype instanceof c?r:c,u=Object.create(l.prototype);return h(u,"_invoke",function(e,r,o){var i,c,u,l=0,p=o||[],f=!1,h={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(n,e){return i=n,c=0,u=t,h.n=e,a}};function d(e,r){for(c=e,u=r,n=0;!f&&l&&!o&&n<p.length;n++){var o,i=p[n],d=h.p,v=i[2];e>3?(o=v===r)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=d&&((o=e<2&&d<i[1])?(c=0,h.v=r,h.n=i[1]):d<v&&(o=e<3||i[0]>r||r>v)&&(i[4]=e,i[5]=r,h.n=v,c=0))}if(o||e>1)return a;throw f=!0,r}return function(o,p,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===p&&d(p,v),c=p,u=v;(n=c<2?t:u)||!f;){i||(c?c<3?(c>1&&(h.n=-1),d(c,u)):h.n=u:h.v=u);try{if(l=2,i){if(c||(o="next"),n=i[o]){if(!(n=n.call(i,u)))throw TypeError("iterator result is not an object");if(!n.done)return n;u=n.value,c<2&&(c=0)}else 1===c&&(n=i.return)&&n.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=t}else if((n=(f=h.n<0)?u:e.call(r,h))!==a)break}catch(n){i=t,c=1,u=n}finally{l=1}}return{value:n,done:f}}}(e,o,i),!0),u}var a={};function c(){}function l(){}function d(){}n=Object.getPrototypeOf;var v=[][r]?n(n([][r]())):(h(n={},r,(function(){return this})),n),u=d.prototype=c.prototype=Object.create(v);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,h(t,o,"GeneratorFunction")),t.prototype=Object.create(u),t}return l.prototype=d,h(u,"constructor",d),h(d,"constructor",l),l.displayName="GeneratorFunction",h(d,o,"GeneratorFunction"),h(u),h(u,o,"Generator"),h(u,r,(function(){return this})),h(u,"toString",(function(){return"[object Generator]"})),(f=function(){return{w:i,m:y}})()}function h(t,n,e,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}h=function(t,n,e,r){function o(n,e){h(t,n,(function(t){return this._invoke(n,e,t)}))}n?i?i(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(o("next",0),o("throw",1),o("return",2))},h(t,n,e,r)}var d={name:"Integration",components:{Inline:c.a.Inline,IframeComponent:c.a.IframeComponent},mixins:[o.a,l.a],props:{content:{type:Object,required:!0,default:function(){}}},data:function(){return{resolvedContent:null}},methods:{hideIntegration:function(){var t=this.$parent.$el;t&&t.classList.contains("grid")&&(t.style.display="none")},init:function(){var t=this;return Object(r.a)(f().m((function n(){var e,r,o,c;return f().w((function(n){for(;;)switch(n.n){case 0:if(e=Object,r=t.content,o=t.content.body){n.n=2;break}return n.n=1,t.fetchContentBody();case 1:o=n.v;case 2:c=o,t.resolvedContent=e.assign.call(e,r,{body:c});case 3:return n.a(2)}}),n)})))()}},created:function(){var t=this;return Object(r.a)(f().m((function n(){return f().w((function(n){for(;;)switch(n.n){case 0:!t.content.lazy&&t.init();case 1:return n.a(2)}}),n)})))()},mounted:function(){var t=this;return Object(r.a)(f().m((function n(){return f().w((function(n){for(;;)switch(n.n){case 0:if(t.content.lazy){n.n=1;break}return n.a(2);case 1:t.mountLazy(t.init);case 2:return n.a(2)}}),n)})))()}},v=e(27),component=Object(v.a)(d,(function(){var t=this,n=t._self._c;return n("article",{staticClass:"media integration"},[t.resolvedContent?[t.isInline?n("Inline",{attrs:{content:t.resolvedContent},on:{hideIntegration:t.hideIntegration}}):n("IframeComponent",{attrs:{content:t.resolvedContent}})]:t._e()],2)}),[],!1,null,null,null);n.default=component.exports},1415:function(t,n,e){"use strict";e.r(n);
2var r={name:"AudioIntegration",props:{content:{type:Object,required:!0,default:function(){return{}}}},data:function(){return{url:!1,title:!1,logo:!1,floating:!1}},mounted:function(){var t=this;if(this.content.data){var n;if(this.url=this.content.data,this.$intersectionObserver)null==(n=this.$intersectionObserver)||n.call(this,this.$el,(function(n){var e=n.isIntersecting;t.floating=!e}),{rootMargin:"0px",threshold:0,once:!1,onlyTriggerIfisIntersecting:!1});this.content.title&&(this.title=this.content.title),this.content.logo&&(this.logo=this.content.logo)}}},o=e(27),component=Object(o.a)(r,(function(){var t=this,n=t._self._c;return n("div",{staticClass:"audio-integration"},[t.logo?n("img",{staticClass:"radio-logo",attrs:{src:t.logo,alt:"radio logo"}}):t._e(),t._v(" "),n("div",{staticClass:"player-wrapper"},[t.title?n("div",{staticClass:"audio-title"},[t._v(t._s(t.title))]):t._e(),t._v(" "),t.url?n("audio",{class:{floating:t.floating},attrs:{src:t.url,controls:""}}):t._e()])])}),[],!1,null,null,null);n.default=component.exports},573:function(t,n,e){"use strict";e.r(n);e(33),e(28),e(48),e(14),e(55),e(1),e(42),e(120);var r=function(t){var n=t[0],e=t[1];if("string"==typeof e&&e.trim()&&!(e.indexOf("{")>-1))return e.includes(",")?e.split(",").map((function(t){return r([n,t])})).filter(Boolean).join(" "):n+"-"+e.trim()},o=function(t){return void 0===t&&(t={}),Object.entries(t).map(r).filter(Boolean).join(" ")};n.default={computed:{presentationPropertyClasses:function(){var t;if(!(null!=(t=this.content)&&t.presentationProperties||this.presentationProperties))return"";var n=this.presentationProperties?this.presentationProperties:this.content.presentationProperties;return o(n)}},methods:{propsToClassNames:o}}},987:function(t,n,e){"use strict";e.d(n,"b",(function(){return f}));var r=e(0);e(7),e(9),e(11),e(13),e(1),e(5),e(35),e(120);function o(){var t,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",l=e.toStringTag||"@@toStringTag";function i(e,r,o,i){var l=r&&r.prototype instanceof f?r:f,u=Object.create(l.prototype);return c(u,"_invoke",function(e,r,o){var i,c,u,l=0,p=o||[],f=!1,h={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(n,e){return i=n,c=0,u=t,h.n=e,a}};function d(e,r){for(c=e,u=r,n=0;!f&&l&&!o&&n<p.length;n++){var o,i=p[n],d=h.p,v=i[2];e>3?(o=v===r)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=d&&((o=e<2&&d<i[1])?(c=0,h.v=r,h.n=i[1]):d<v&&(o=e<3||i[0]>r||r>v)&&(i[4]=e,i[5]=r,h.n=v,c=0))}if(o||e>1)return a;throw f=!0,r}return function(o,p,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===p&&d(p,v),c=p,u=v;(n=c<2?t:u)||!f;){i||(c?c<3?(c>1&&(h.n=-1),d(c,u)):h.n=u:h.v=u);try{if(l=2,i){if(c||(o="next"),n=i[o]){if(!(n=n.call(i,u)))throw TypeError("iterator result is not an object");if(!n.done)return n;u=n.value,c<2&&(c=0)}else 1===c&&(n=i.return)&&n.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=t}else if((n=(f=h.n<0)?u:e.call(r,h))!==a)break}catch(n){i=t,c=1,u=n}finally{l=1}}return{value:n,done:f}}}(e,o,i),!0),u}var a={};function f(){}function h(){}function d(){}n=Object.getPrototypeOf;var v=[][r]?n(n([][r]())):(c(n={},r,(function(){return this})),n),u=d.prototype=f.prototype=Object.create(v);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,c(t,l,"GeneratorFunction")),t.prototype=Object.create(u),t}return h.prototype=d,c(u,"constructor",d),c(d,"constructor",h),h.displayName="GeneratorFunction",c(d,l,"GeneratorFunction"),c(u),c(u,l,"Generator"),c(u,r,(function(){return this})),c(u,"toString",(function(){return"[object Generator]"})),(o=function(){return{w:i,m:y}})()}function c(t,n,e,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}c=function(t,n,e,r){function o(n,e){c(t,n,(function(t){return this._invoke(n,e,t)}))}n?i?i(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(o("next",0),o("throw",1),o("return",2))},c(t,n,e,r)}var l=[/enrichment\.api/,/api\.schibsted/,/api\.vg/,/mm\.schibsted/,/mm\.aftenposten/,/bt\.no\/spesial/,/enrichments\//,/fvn.+\.amazonaws/,/static\.polarismedia/,/spesial\.adressa/,/mm\.adressa/,/red\.adressa/,/escenic-integrations/,/weather-status-widget/,/static-smp\.s3/,/badeplasser-kart\.onrender\.com/,/vaeret\.onrender\.com/,/sportsdata-widgets\.ntb\.no/,/livecenter\.norkon\.net/,/livecentercdn\.norkon\.net/],f=function(t){return void 0===t&&(t=""),l.some((function(pattern){return pattern.test(t)}))},h=function(t){void 0===t&&(t="");var n=!1,e=!1;return t.replace(/(<script.*?>([^<]+)<\/script>)?/,(function(t,e,r){void 0===r&&(r=""),r.trim()&&(n=!0)})),t.replace(/<script.*?src=['"]([^"']+)['"]/,(function(t,n){f(n)||(e=!0)})),!n&&!e};n.a={computed:{sourceClass:function(){var t,n;return[this.content.data&&"resolved",null==(t=this.content.data)?void 0:t.source,null==(n=this.content.data)?void 0:n.type,this.content.subtype]},skipInline:function(){var t,n=null==(t=this.content.presentationProperties)?void 0:t.iframe,e="iframe"===this.content.display;return n||e},isInline:function(){return!this.skipInline&&(this.content.url?!!f(this.content.url)||!(!this.content.body||!h(this.content.body)):h(this.content.body))}},methods:{fetchContentBody:function(){var t=this;return Object(r.a)(o().m((function n(){return o().w((function(n){for(;;)switch(n.p=n.n){case 0:return n.p=0,n.n=1,fetch(t.content.url).then(function(){var t=Object(r.a)(o().m((function t(n){var e,r,data;return o().w((function(t){for(;;)switch(t.n){case 0:return e=n.headers.get("content-type"),r=/json/.test(e),t.n=1,n[r?"json":"text"]();case 1:return data=t.v,t.a(2,r&&data.body||data)}}),t)})));return function(n){return t.apply(this,arguments)}}());case 1:return n.a(2,n.v);case 2:n.p=2,n.v;case 3:return n.a(2)}}),n,null,[[0,2]])})))()}}}},989:function(t,n,e){"use strict";e.r(n);var r=e(0);e(7),e(9),e(45),e(33),e(40),e(48),e(14),e(19),e(23),e(11),e(13),e(1),e(5),e(20),e(6),e(35),e(189),e(51),e(120),e(25),e(8);function o(t,n){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,a){if(t){if("string"==typeof t)return c(t,a);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,a):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(t,a){(null==a||a>t.length)&&(a=t.length);for(var n=0,e=Array(a);n<a;n++)e[n]=t[n];return e}function l(){var t,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",o=e.toStringTag||"@@toStringTag";function i(e,r,o,i){var l=r&&r.prototype instanceof c?r:c,u=Object.create(l.prototype);return f(u,"_invoke",function(e,r,o){var i,c,u,l=0,p=o||[],f=!1,h={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(n,e){return i=n,c=0,u=t,h.n=e,a}};function d(e,r){for(c=e,u=r,n=0;!f&&l&&!o&&n<p.length;n++){var o,i=p[n],d=h.p,v=i[2];e>3?(o=v===r)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=d&&((o=e<2&&d<i[1])?(c=0,h.v=r,h.n=i[1]):d<v&&(o=e<3||i[0]>r||r>v)&&(i[4]=e,i[5]=r,h.n=v,c=0))}if(o||e>1)return a;throw f=!0,r}return function(o,p,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===p&&d(p,v),c=p,u=v;(n=c<2?t:u)||!f;){i||(c?c<3?(c>1&&(h.n=-1),d(c,u)):h.n=u:h.v=u);try{if(l=2,i){if(c||(o="next"),n=i[o]){if(!(n=n.call(i,u)))throw TypeError("iterator result is not an object");
2if(!n.done)return n;u=n.value,c<2&&(c=0)}else 1===c&&(n=i.return)&&n.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=t}else if((n=(f=h.n<0)?u:e.call(r,h))!==a)break}catch(n){i=t,c=1,u=n}finally{l=1}}return{value:n,done:f}}}(e,o,i),!0),u}var a={};function c(){}function h(){}function d(){}n=Object.getPrototypeOf;var v=[][r]?n(n([][r]())):(f(n={},r,(function(){return this})),n),u=d.prototype=c.prototype=Object.create(v);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,f(t,o,"GeneratorFunction")),t.prototype=Object.create(u),t}return h.prototype=d,f(u,"constructor",d),f(d,"constructor",h),h.displayName="GeneratorFunction",f(d,o,"GeneratorFunction"),f(u),f(u,o,"Generator"),f(u,r,(function(){return this})),f(u,"toString",(function(){return"[object Generator]"})),(l=function(){return{w:i,m:y}})()}function f(t,n,e,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}f=function(t,n,e,r){function o(n,e){f(t,n,(function(t){return this._invoke(n,e,t)}))}n?i?i(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(o("next",0),o("throw",1),o("return",2))},f(t,n,e,r)}var h={name:"Inline",mixins:[e(987).a],props:{content:{type:Object,required:!0,default:function(){return{}}}},data:function(){return{inlineHTML:"",appends:[]}},computed:{contentUrlQuery:function(){if(this.content.url){var t=this.content.url.split("?")[1];return(void 0===t?"":t).split("&").reduce((function(t,n){var e=n.split("=").map((function(t){return t.trim()})),r=e[0],o=e[1],c=function(t){return t.replace(/[^\w-_]/g,"").split(/[_-]/).filter(Boolean).map((function(t,i){return 0===i?t.toLowerCase():t.charAt(0).toUpperCase()+(t.length>1?t.substring(1):"")})).join("")}(r);return c&&(t[c]=o||!0),t}),{})}},contentUrlBase:function(){return this.content.url.split("?")[0].replace(/\/[^./]+\.\w+$/,"")}},methods:{fixIncompleteUrl:function(t){void 0===t&&(t=""),/^http:/.test(t)&&(t=t.replace("http","https"));var n=/firefox/i.test(window.navigator.userAgent)?"":location.pathname.split("/").slice(0,-1).join("/"),e="https://"+location.host+n;return t.startsWith(e)?t.replace(e,this.contentUrlBase):/^(https?:)?\/\//.test(t)?t:this.contentUrlBase+"/"+t},fetchContent:function(t){var n=this;return Object(r.a)(l().m((function e(){return l().w((function(e){for(;;)switch(e.p=e.n){case 0:if(t){e.n=1;break}return e.a(2,"");case 1:return e.p=1,e.n=2,fetch(n.fixIncompleteUrl(t)).then((function(t){return t.text()}));case 2:return e.a(2,e.v);case 3:return e.p=3,e.v,e.a(2,"")}}),e,null,[[1,3]])})))()},injectResources:function(){this.appends.forEach((function(t){var n,e=t.parent,content=t.content,r=t.node,o=t.type,c=t.src,l=t.href,f="link"===o?r:document.createElement(o);f.textContent=content,c&&(f.src=c),l&&(f.href=l);var h=r.getAttribute("type");h&&f.setAttribute("type",h),null==(n=document[e])||n.appendChild(f)}))},appendResource:function(t){var n=this;return Object(r.a)(l().m((function e(){var r,o,content,c;return l().w((function(e){for(;;)switch(e.n){case 0:if(r=t.type,o=t.node,c=o.textContent.trim()){e.n=2;break}return e.n=1,n.fetchContent(o.src);case 1:c=e.v;case 2:content=c,n.appends.push({parent:"style"===r||"link"===r?"head":"body",content:content,node:o,src:!content&&o.src,href:!content&&o.href,type:r});case 3:return e.a(2)}}),e)})))()},parse:function(html){var t=this;return Object(r.a)(l().m((function n(){var e,r,c,f,h,d,v;return l().w((function(n){for(;;)switch(n.n){case 0:void 0===html&&(html=""),e=new DOMParser,r=e.parseFromString(html,"text/html"),c=r.documentElement||r.body||r,f=o(c.querySelectorAll("script, style, link"));case 1:if((h=f()).done){n.n=3;break}return null==(v=h.value)||null==(d=v.parentElement)||d.removeChild(v),n.n=2,t.appendResource({type:v.localName,node:v});case 2:n.n=1;break;case 3:t.inlineHTML=c.innerHTML.replace(/<\/?(html|head|meta|body)(\s[^>]+)?>/g,"").trim(),!t.inlineHTML&&t.$emit("hideIntegration");case 4:return n.a(2)}}),n)})))()}},mounted:function(){var t=this;return Object(r.a)(l().m((function n(){var e,r,o;return l().w((function(n){for(;;)switch(n.n){case 0:return n.n=1,t.$nextTick();
2case 1:if(Object.assign((null==(e=t.$refs)||null==(e=e.inline)?void 0:e.dataset)||{},t.contentUrlQuery),r=t,o=t.content.body){n.n=3;break}return n.n=2,t.fetchContentBody();case 2:o=n.v;case 3:return n.n=4,r.parse.call(r,o);case 4:t.injectResources();case 5:return n.a(2)}}),n)})))()}},d=e(27),component=Object(d.a)(h,(function(){var t=this;return(0,t._self._c)("div",{ref:"inline",staticClass:"inline",domProps:{innerHTML:t._s(t.inlineHTML)}})}),[],!1,null,null,null);n.default=component.exports},993:function(t,n,e){"use strict";var r=e(0),o=(e(7),e(9),e(88),e(11),e(13),e(1),e(3));function c(){var t,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",o=e.toStringTag||"@@toStringTag";function i(e,r,o,i){var c=r&&r.prototype instanceof f?r:f,u=Object.create(c.prototype);return l(u,"_invoke",function(e,r,o){var i,c,u,l=0,p=o||[],f=!1,h={p:0,n:0,v:t,a:d,f:d.bind(t,4),d:function(n,e){return i=n,c=0,u=t,h.n=e,a}};function d(e,r){for(c=e,u=r,n=0;!f&&l&&!o&&n<p.length;n++){var o,i=p[n],d=h.p,v=i[2];e>3?(o=v===r)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=d&&((o=e<2&&d<i[1])?(c=0,h.v=r,h.n=i[1]):d<v&&(o=e<3||i[0]>r||r>v)&&(i[4]=e,i[5]=r,h.n=v,c=0))}if(o||e>1)return a;throw f=!0,r}return function(o,p,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===p&&d(p,v),c=p,u=v;(n=c<2?t:u)||!f;){i||(c?c<3?(c>1&&(h.n=-1),d(c,u)):h.n=u:h.v=u);try{if(l=2,i){if(c||(o="next"),n=i[o]){if(!(n=n.call(i,u)))throw TypeError("iterator result is not an object");if(!n.done)return n;u=n.value,c<2&&(c=0)}else 1===c&&(n=i.return)&&n.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=t}else if((n=(f=h.n<0)?u:e.call(r,h))!==a)break}catch(n){i=t,c=1,u=n}finally{l=1}}return{value:n,done:f}}}(e,o,i),!0),u}var a={};function f(){}function h(){}function d(){}n=Object.getPrototypeOf;var v=[][r]?n(n([][r]())):(l(n={},r,(function(){return this})),n),u=d.prototype=f.prototype=Object.create(v);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,l(t,o,"GeneratorFunction")),t.prototype=Object.create(u),t}return h.prototype=d,l(u,"constructor",d),l(d,"constructor",h),h.displayName="GeneratorFunction",l(d,o,"GeneratorFunction"),l(u),l(u,o,"Generator"),l(u,r,(function(){return this})),l(u,"toString",(function(){return"[object Generator]"})),(c=function(){return{w:i,m:y}})()}function l(t,n,e,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}l=function(t,n,e,r){function o(n,e){l(t,n,(function(t){return this._invoke(n,e,t)}))}n?i?i(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e:(o("next",0),o("throw",1),o("return",2))},l(t,n,e,r)}n.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:function(t){var n=this;return Object(r.a)(c().m((function e(){var r;return c().w((function(e){for(;;)switch(e.n){case 0:if(r=function(){return t&&t()},n.lazy){e.n=1;break}return e.a(2,r());case 1:return e.n=2,n.$nextTick();case 2:n.setupObserver(r);case 3:return e.a(2)}}),e)})))()},setupObserver:function(t){if(!this.$intersectionObserver)return o.a.error("Intersection observer plugin was not installed"),t();var n={rootMargin:100*this.scalingFactor+"% 0px",threshold:this.lazyThreshold,once:!0,onlyTriggerAfterScroll:this.onlyTriggerAfterScroll};this.$intersectionObserver(this.$el,t,n)}}}}}]);

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.