PageSourceSearch

https://www.bt.no/seksjon/dist/9301-a63a736ca4aeb6ff7426.min.js

js bt.no collected 2026-10-01 10:40:46 UTC 23,417 bytes, 3 lines download raw bytes

1/*! For license information please see 9301-a63a736ca4aeb6ff7426.min.js.LICENSE.txt */
2(self.webpackChunkfastenposten=self.webpackChunkfastenposten||[]).push([[9301],{6510:function(t){t.exports=function(){"use strict";var t="undefined"!=typeof document&&document.documentMode,e={rootMargin:"0px",threshold:0,load:function(e){if("picture"===e.nodeName.toLowerCase()){var n=e.querySelector("img"),o=!1;null===n&&(n=document.createElement("img"),o=!0),t&&e.getAttribute("data-iesrc")&&(n.src=e.getAttribute("data-iesrc")),e.getAttribute("data-alt")&&(n.alt=e.getAttribute("data-alt")),o&&e.append(n)}if("video"===e.nodeName.toLowerCase()&&!e.getAttribute("data-src")&&e.children){for(var a=e.children,i=void 0,r=0;r<=a.length-1;r++)(i=a[r].getAttribute("data-src"))&&(a[r].src=i);e.load()}e.getAttribute("data-poster")&&(e.poster=e.getAttribute("data-poster")),e.getAttribute("data-src")&&(e.src=e.getAttribute("data-src")),e.getAttribute("data-srcset")&&e.setAttribute("srcset",e.getAttribute("data-srcset"));var s=",";if(e.getAttribute("data-background-delimiter")&&(s=e.getAttribute("data-background-delimiter")),e.getAttribute("data-background-image"))e.style.backgroundImage="url('"+e.getAttribute("data-background-image").split(s).join("'),url('")+"')";else if(e.getAttribute("data-background-image-set")){var c=e.getAttribute("data-background-image-set").split(s),l=c[0].substr(0,c[0].indexOf(" "))||c[0];l=-1===l.indexOf("url(")?"url("+l+")":l,1===c.length?e.style.backgroundImage=l:e.setAttribute("style",(e.getAttribute("style")||"")+"background-image: "+l+"; background-image: -webkit-image-set("+c+"); background-image: image-set("+c+")")}e.getAttribute("data-toggle-class")&&e.classList.toggle(e.getAttribute("data-toggle-class"))},loaded:function(){}};function n(t){t.setAttribute("data-loaded",!0)}var o=function(t){return"true"===t.getAttribute("data-loaded")},a=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document;return t instanceof Element?[t]:t instanceof NodeList?t:e.querySelectorAll(t)};return function(){var t,i,r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".lozad",s=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},c=Object.assign({},e,s),l=c.root,d=c.rootMargin,u=c.threshold,b=c.load,p=c.loaded,f=void 0;"undefined"!=typeof window&&window.IntersectionObserver&&(f=new IntersectionObserver((t=b,i=p,function(e,a){e.forEach((function(e){(0<e.intersectionRatio||e.isIntersecting)&&(a.unobserve(e.target),o(e.target)||(t(e.target),n(e.target),i(e.target)))}))}),{root:l,rootMargin:d,threshold:u}));for(var m,g=a(r,l),h=0;h<g.length;h++)(m=g[h]).getAttribute("data-placeholder-background")&&(m.style.background=m.getAttribute("data-placeholder-background"));return{observe:function(){for(var t=a(r,l),e=0;e<t.length;e++)o(t[e])||(f?f.observe(t[e]):(b(t[e]),n(t[e]),p(t[e])))},triggerLoad:function(t){o(t)||(b(t),n(t),p(t))},observer:f}}}()},4720:(t,e,n)=>{"use strict";function o(){const t=document.createElement("script");t.src="https://contributor.google.com/scripts/22ee102c621d9e36/loader.js",t.async=!0,document.head.insertBefore(t,document.head.firstElementChild)}function a(){!function(){const t=document.createElement("div");t.setAttribute("ad-for-detector",""),t.setAttribute("id","GlobalCookieBanner"),t.classList.add("subscribe_box"),t.classList.add("ad-box"),t.classList.add("netboard"),t.classList.add("advert"),t.classList.add("module"),t.classList.add("banner"),t.classList.add("leaderboard"),t.classList.add("advertisement"),t.style.opacity="0",t.style.width="0px",t.style.height="0px",t.style.minWidth="0px",t.style.minHeight="0px",t.style.maxWidth="0px",t.style.maxHeight="0px",t.style.position="absolute",t.style.boxSizing="border-box",t.style.margin="0",document.body.appendChild(t)}();let t=function(t){let e=0;return function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}},e=this||self,n=/^[\w+/_-]+[=]{0,2}$/,o=null,a=function(){},i=function(t){const e=typeof t;if("object"==e){if(!t)return"null";{if(t instanceof Array)return"array";if(t instanceof Object)return e;const n=Object.prototype.toString.call(t);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof t.length&&void 0!==t.splice&&void 0!==t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||void 0!==t.call&&void 0!==t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}}else if("function"==e&&void 0===t.call)return"object";return e},r=Date.now||function(){return+new Date},s=function(t,e){function n(){}n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t};var c=function(t,e){this.b=t===d&&e||"",this.a=l},l={},d={};const u=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^r()).toString(36)},b=function(t,e){return e=String(e),"application/xhtml+xml"===t.contentType&&(e=e.toLowerCase()),t.createElement(e)},p=function(t){this.a=t||e.document||document};p.prototype.appendChild=function(t,e){t.appendChild(e)};var f=function(t,a,i,r,s,d){try{const u=t.a,p=b(t.a,"SCRIPT");p.async=!0,function(t,a){t.src=a instanceof c&&a.constructor===c&&a.a===l?a.b:"type_error:TrustedResourceUrl",null===o&&(o=(a=(a=e.document).querySelector&&a.querySelector("script[n
2once]"))&&(a=a.nonce||a.getAttribute("nonce"))&&n.test(a)?a:""),(a=o)&&t.setAttribute("nonce",a)}(p,a),u.head.appendChild(p),p.addEventListener("load",(function(){s(),r&&u.head.removeChild(p)})),p.addEventListener("error",(function(){0<i?f(t,a,i-1,r,s,d):(r&&u.head.removeChild(p),d())}))}catch(t){d()}},m=e.atob("aHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vaW1hZ2VzL2ljb25zL21hdGVyaWFsL3N5c3RlbS8xeC93YXJuaW5nX2FtYmVyXzI0ZHAucG5n"),g=e.atob("WW91IGFyZSBzZWVpbmcgdGhpcyBtZXNzYWdlIGJlY2F1c2UgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlIGlzIGludGVyZmVyaW5nIHdpdGggdGhpcyBwYWdlLg=="),h=e.atob("RGlzYWJsZSBhbnkgYWQgb3Igc2NyaXB0IGJsb2NraW5nIHNvZnR3YXJlLCB0aGVuIHJlbG9hZCB0aGlzIHBhZ2Uu"),y=function(t,e,n){this.b=t,this.f=new p(this.b),this.a=null,this.c=[],this.g=!1,this.i=e,this.h=n},v=function(t){if(t.b.body&&!t.g){const n=function(){w(t),e.setTimeout((function(){return N(t,3)}),50)};f(t.f,t.i,2,!0,(function(){e[t.h]||n()}),n),t.g=!0}},w=function(t){for(var e=x(1,5),n=0;n<e;n++){var o=A(t);t.b.body.appendChild(o),t.c.push(o)}(e=A(t)).style.bottom="0",e.style.left="0",e.style.position="fixed",e.style.width=x(100,110).toString()+"%",e.style.zIndex=x(2147483544,2147483644).toString(),e.style["background-color"]=_(249,259,242,252,219,229),e.style["box-shadow"]="0 0 12px #888",e.style.color=_(0,10,0,10,0,10),e.style.display="flex",e.style.visibility="hidden",e.style["justify-content"]="center",e.style["font-family"]="Roboto, Arial",(n=A(t)).style.width=x(80,85).toString()+"%",n.style.maxWidth=x(750,775).toString()+"px",n.style.margin="24px",n.style.display="flex",n.style["align-items"]="flex-start",n.style["justify-content"]="center",(o=b(t.f.a,"IMG")).className=u(),o.src=m,o.style.height="24px",o.style.width="24px",o.style["padding-right"]="16px";const a=A(t),i=A(t);i.style["font-weight"]="bold",i.textContent=g;const r=A(t);for(r.textContent=h,k(t,a,i),k(t,a,r),k(t,n,o),k(t,n,a),k(t,e,n),t.a=e,t.b.body.appendChild(t.a),e=x(1,5),n=0;n<e;n++)o=A(t),t.b.body.appendChild(o),t.c.push(o)},k=function(t,e,n){for(var o=x(1,5),a=0;a<o;a++){const n=A(t);e.appendChild(n)}for(e.appendChild(n),n=x(1,5),o=0;o<n;o++)a=A(t),e.appendChild(a)},x=function(t,e){return Math.floor(t+Math.random()*(e-t))},_=function(t,e,n,o,a,i){return"rgb("+x(Math.max(t,0),Math.min(e,255)).toString()+","+x(Math.max(n,0),Math.min(o,255)).toString()+","+x(Math.max(a,0),Math.min(i,255)).toString()+")"},A=function(t){return(t=b(t.f.a,"DIV")).className=u(),t},N=function(t,n){0>=n||null!=t.a&&0!=t.a.offsetHeight&&0!=t.a.offsetWidth||(M(t),w(t),e.setTimeout((function(){return N(t,n-1)}),50))},M=function(e){let n=e.c,o="undefined"!=typeof Symbol&&Symbol.iterator&&n[Symbol.iterator];for(n=o?o.call(n):{next:t(n)},o=n.next();!o.done;o=n.next())(o=o.value)&&o.parentNode&&o.parentNode.removeChild(o);e.c=[],(n=e.a)&&n.parentNode&&n.parentNode.removeChild(n),e.a=null},S=function(t){const e=document.createElement("div");return e.className=t,e.style.width="1px",e.style.height="1px",e.style.position="absolute",e.style.left="-10000px",e.style.top="-10000px",e.style.zIndex="-10000",e};let I={},L=null;const V=function(){},j="function"==typeof Uint8Array,E=function(t,e){t.b=null,e||(e=[]),t.j=void 0,t.f=-1,t.a=e;t:{if(e=t.a.length){--e;const n=t.a[e];if(!(null===n||"object"!=typeof n||"array"==i(n)||j&&n instanceof Uint8Array)){t.g=e-t.f,t.c=n;break t}}t.g=Number.MAX_VALUE}t.i={}},W=[],T=function(t,e){if(e<t.g){e+=t.f;var n=t.a[e];return n===W?t.a[e]=[]:n}if(t.c)return(n=t.c[e])===W?t.c[e]=[]:n},C=function(t,e,n){if(e<t.g)t.a[e+t.f]=n;else{const o=t.g+t.f;t.a[o]||(t.c=t.a[o]={}),t.c[e]=n}return t},R=function(t,e){const n=Z;if(t.b||(t.b={}),!t.b[e]){const o=T(t,e);o&&(t.b[e]=new n(o))}return t.b[e]};V.prototype.h=j?function(){const t=Uint8Array.prototype.toJSON;Uint8Array.prototype.toJSON=function(){let t;if(void 0===t&&(t=0),!L){L={};for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),n=["+/=","+/","-_=","-_.","-_"],o=0;5>
2o;o++){var a=e.concat(n[o].split(""));I[o]=a;for(var i=0;i<a.length;i++){var r=a[i];void 0===L[r]&&(L[r]=i)}}}for(t=I[t],e=[],n=0;n<this.length;n+=3){let s=this[n],c=(o=n+1<this.length)?this[n+1]:0;i=s>>2,s=(3&s)<<4|c>>4,c=(15&c)<<2|(r=(a=n+2<this.length)?this[n+2]:0)>>6,r&=63,a||(r=64,o||(c=64)),e.push(t[i],t[s],t[c]||"",t[r]||"")}return e.join("")};try{return JSON.stringify(this.a&&this.a,F)}finally{Uint8Array.prototype.toJSON=t}}:function(){return JSON.stringify(this.a&&this.a,F)};var F=function(t,e){return"number"!=typeof e||!isNaN(e)&&1/0!==e&&-1/0!==e?e:String(e)};V.prototype.toString=function(){return this.a.toString()};var Z=function(t){E(this,t)};s(Z,V);const O=function(t){E(this,t)};s(O,V);const z=function(t,e){this.c=new p(t);let n=R(e,5);n=new c(d,T(n,4)||""),this.b=new y(t,n,T(e,4)),this.a=e};var H=function(t,n){G(t,"internal_api_load_with_sb",(function(t,o,a){!function(t,n,o,a){n=new Z(n?JSON.parse(n):null),n=new c(d,T(n,4)||""),f(t.c,n,3,!1,o,(function(){!function(t,n,o,a,i){var r=S(o),s=function(o){document.body?(document.body.appendChild(r),e.setTimeout((function(){r?(0!==r.offsetHeight&&0!==r.offsetWidth?n():t(),r.parentNode&&r.parentNode.removeChild(r)):t()}),a)):0<o?e.setTimeout((function(){s(o-1)}),i):n()};s(3)}((function(){v(t.b),a(!1)}),(function(){a(!0)}),T(t.a,2),T(t.a,3),T(t.a,1))}))}(n,t,o,a)})),G(t,"internal_api_sb",(function(){v(n.b)}))},G=function(t,n,o){!function(t,n){Object.defineProperty(e,t,{configurable:!1,get:function(){return n},set:a})}(t=e.btoa(t+n),o)},Y=function(t,n,o){for(var a=[],r=2;r<arguments.length;++r)a[r-2]=arguments[r];if(r=e.btoa(t+n),r=e[r],"function"!=i(r))throw Error("API not exported.");r.apply(null,a)};const U=function(t){E(this,t)};s(U,V);const B=function(t){const n=this.h=e.document;let o=new O,a=T(t,3);o=C(o,1,a),a=T(t,12),o=C(o,2,a),a=T(t,5),o=C(o,3,a),a=T(t,10),o=C(o,4,a),a=R(t,11),o.b||(o.b={});const i=a?a.a:a;o.b[5]=a,o=C(o,5,i),this.g=new z(n,o),this.a=T(t,1),this.f=R(t,2),this.c=!1,this.b=t};B.prototype.start=function(){try{X(),H(this.a,this.g),e.googlefc=e.googlefc||{},"callbackQueue"in e.googlefc||(e.googlefc.callbackQueue=[]),D(this)}catch(t){Y(this.a,"internal_api_sb")}};var J,X=function(){var t=function(){if(!e.frames.googlefcPresent)if(document.body){const t=document.createElement("iframe");t.style.display="none",t.style.width="0px",t.style.height="0px",t.style.border="none",t.style.zIndex="-1000",t.style.left="-1000px",t.style.top="-1000px",t.name="googlefcPresent",document.body.appendChild(t)}else e.setTimeout(t,5)};t()},D=function(t){const n=r();Y(t.a,"internal_api_load_with_sb",t.f.h(),(function(){let o,a=t.a,i=e[e.btoa(a+"cached_js")];if(i){i=e.atob(i),i=parseInt(i,10),a=e.btoa(a+"cached_js").split(".");let t=e;a[0]in t||void 0===t.execScript||t.execScript("var "+a[0]);for(;a.length&&(o=a.shift());)a.length?t=t[o]&&t[o]!==Object.prototype[o]?t[o]:t[o]={}:t[o]=null;o=Math.abs(n-i),o=1728e5>o?0:o}else o=-1;0!=o&&(Y(t.a,"internal_api_sb"),P(t,T(t.b,9)))}),(function(e){P(t,T(t.b,e?7:8))}))},P=function(t,n){t.c||(t.c=!0,(t=new e.XMLHttpRequest).open("GET",n,!0),t.send())};J=function(t){"function"==typeof e.atob&&(t=e.atob(t),t=new U(t?JSON.parse(t):null),new B(t).start())},e["__475an521in8a__"]=function(t){for(var n=[],o=0;o<arguments.length;++o)n[o-0]=arguments[o];e.__475an521in8a__=a,J.apply(null,n)},window.__475an521in8a__("WyIyMmVlMTAyYzYyMWQ5ZTM2IixbbnVsbCxudWxsLG51bGwsImh0dHBzOi8vZnVuZGluZ2Nob2ljZXNtZXNzYWdlcy5nb29nbGUuY29tL2YvQUdTS1d4V29iOEhncjVqamJlaV9SLTBoY2RLeTVsT3dGSGNTQlNHek9sVHBoN2ozRmdKSmxsR0JKeVNMQXF1UVVnM0lCTWFyMTRPdjR3RG9pRXg0emN4N0xGRVx1MDAzZCJdCiwyMCxudWxsLDEwMCxudWxsLCJodHRwczovL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXMuZ29vZ2xlLmNvbS9sL0FHU0tXeFVVbXczRXZ0NTJNd2FKV1J6dFR3cmlYN2FJdWh3YVVlQ1ZHTmhQY3FQcUdRNjZMUDRJWXBsMWFlQVk1TjA0OHFWU2lOaEV0Rzl0MDE0OV9QclE/YWJcdTAwM2QxIiwiaHR0cHM6Ly9mdW5kaW5nY2hvaWNlc21lc3NhZ2VzLmdvb2dsZS5jb20vbC9BR1NLV3hXLUdFVkszWWhsVUJYQkNYU3czWFBFa0lVbzF3aXdZXzNPa0FOMGR0WnowejQ5WkZyWk9HdXdrQ2hadUlRSjRmRElDN0toSmkzbnhicjNtZDFFP2FiXHUwMDNkMlx1MDAyNnNiZlx1MDAzZDEiLCJodHRwczovL2Z1bmRpbmdjaG9pY2VzbWVzc2FnZXMuZ29vZ2xlLmNvbS9sL0FHU0tXeFZIV1hROWJudFFZdWwwWC1MYmpiaTd0dFZZYmRRbnQ1NVFCVTdTazBDemY1UTVydThSYnlsSDhFUmRJdU1oQmlHak1LYmozTzhyY1hPYTRGcnk/c2JmXHUwMDNkMiIsIk1qSmxaVEV3TW1NMk1qRmtPV1V6TmdcdTAwM2RcdTAwM2QiLFtudWxsLG51bGwsbnVsbCwiaHR0cHM6Ly93d3cuZ3N0YXRpYy5jb20vMGVtbi9mL3AvMjJlZTEwMmM2MjFkOWUzNi5qcz91c3FwXHUwMDNkQ0FNIl0KLCJkaXYtZ3B0LWFkIl0K")}n.d(e,{C:()=>a,i:()=>o})},6367:(t,e,n)=>{"use strict";n.d(e,{e:()=>a,k:()=>o});const o=()=>({mobile:{width:375,height:250},desktop:{width:580,height:450}}),a=()=>({mobile:[["board_1","hayabusa_mobile_1"],["board_2","hayabusa_mobile_2"],["board_3","hayabusa_mobile_3"],["board_4","hayabusa_mobile_4"]],desktop:[["netboard_1","hayabusa_desktop_1"],["netboard_2","hayabusa_desktop_2"],["netboard_3","hayabusa_desktop_3"],["netboard_4","hayabusa_desktop_4"]]})},2414:(t,e,n)=>{"use strict";n.d(e,{d:()=>a});var o=n(898);const a=t=>{const e=null!=t?t:o.fasten.siteVersion();
2return e?e.includes("desktop")?"desktop":e.includes("tablet")?"tablet":"mobile":"desktop"}},3760:(t,e,n)=>{"use strict";n.d(e,{Gb:()=>s,Wd:()=>o,_K:()=>i,m3:()=>a});const o=t=>{var e,n;const o=null!==(n=null===(e=window.location.pathname)||void 0===e?void 0:e.toLowerCase())&&void 0!==n?n:"",a=Object.entries(t).find((t=>o.includes(t[0])));return a?a[1]:"forsiden"},a=t=>{var e;const n=window.location.pathname.toLowerCase().split("/").filter(Boolean);if(!(n.length>1))return[];const[,o]=n;return null!==(e=t[o])&&void 0!==e?e:[]},i=()=>{var t;const e=document.querySelector('meta[name="article-info"]');return null!==(t=null==e?void 0:e.dataset.type)&&void 0!==t?t:"false"},r={sykkel:"SykkelVM",fjords:"tourdesfjords",ol:"OL",doddo:"ballspark",ballspark:"ballspark",stuck:"Stuck",fotball:"FotballVM",palmesus:"Palmesus",ski:"SkiVM_2019"},s=()=>{var t;const e=(()=>{var t,e;const n=document.querySelector('meta[name="article-info"]');return null!==(e=null===(t=null==n?void 0:n.dataset.tags)||void 0===t?void 0:t.toLowerCase())&&void 0!==e?e:""})();if(!e)return"default";const n=Object.entries(r).find((t=>e.includes(t[0])));return null!==(t=null==n?void 0:n[1])&&void 0!==t?t:"default"}},6811:(t,e,n)=>{"use strict";n.d(e,{D:()=>o,S:()=>a});const o=()=>"/"===window.location.pathname,a=t=>{if(t)return t;const{pathname:e}=window.location;return"/"===e?"front":"article"}},426:(t,e,n)=>{"use strict";n.d(e,{N:()=>s});var o=n(4097),a=n(898),i=n(4983);const r=t=>null!==t&&"object"==typeof t&&!Array.isArray(t);function s(){const t=document.querySelectorAll(".brandstudio-premium-content-widget.b-lazy"),e=[];let s=Promise.resolve();function c(t,c){t&&(s=s.then((()=>function(t,e){const n=null!==(o=new URLSearchParams(window.location.search).get("dre_override_inv_code"))&&void 0!==o?o:"";var o,i;return i=`https://dr-edition-teaser-server.inventory.schibsted.io/editions?editionName=${t}&excludedItems=${JSON.stringify(e)}&urlData=${n}`,a.fasten.fetch("GET",i).then((function(t){return t||null})).catch((function(t){return 404!==t.status&&console.log("There was an error while fetching dr-edition:",t.statusText),{}}))}(t,e))).then((t=>async function(t,s){if(!s||s&&0===Object.keys(s).length&&s.constructor===Object){const e=t.getAttribute("data-fallback");return void("false"!==e&&await async function(t,e){if(!t)return;const o=e.getElementsByClassName("bsWidgetFallback")[0];o.classList.remove("hidden"),e.parentElement&&e.parentElement.classList.add("no-ad");const i=a.fasten.publicationId();"ap"!==i?"sa"!==i?"bt"===i&&Promise.all([n.e(1243),n.e(427)]).then(n.bind(n,427)).then((({default:t})=>{t.update({},{contextSelector:`#${o.id}`})})):Promise.all([n.e(5424),n.e(3125)]).then(n.bind(n,3125)).then((({default:t})=>{t.update({},{contextSelector:`#${o.id}`})})):n.e(7444).then(n.bind(n,7444)).then((({default:t})=>{t.update({},{contextSelector:`#${o.id}`})}))}(e,t))}e.push(s.itemId);let c="true"===t.getAttribute("data-is-mobile")?s.mobileHTML:s.desktopHTML;(0,i.F)()||(c=function(t){const e=document.createElement("div");return e.innerHTML=t,e.querySelectorAll("img.tracking-pixel").forEach((t=>t.remove())),e.innerHTML}(c));const{pulseData:{creativeId:l}}=s;l&&t.setAttribute("data-dr-edition-creative-id",s.pulseData.creativeId.toString()),t.id=`brandstudio-article-${s.itemId}`,t.setAttribute("data-pulse-teaser-title",s.pulseData.title),t.setAttribute("data-pulse-client-name",s.pulseData.clientName),t.setAttribute("data-pulse-entity-id",s.itemId.toString()),t.setAttribute("data-dr-edition-id",s.itemId.toString()),t.setAttribute("data-dr-edition-algorithm",s.pulseData.algorithm||"sov"),t.setAttribute("data-dr-edition-editionId",s.pulseData.editionId),t.innerHTML=`<div id="brandstudio-teaser-${s.itemId}" class="premium-spot" >\n      ${c}\n    </div>`;const{videoConfiguration:{id:d}}=s;d&&(0,o.r)((()=>{!function(t){const e=a.fasten.publicationId(),n=new SVP.Player(Object.assign(Object.assign({},t),{pulse:{provider:{ap:"aftenposten",bt:"bt",sa:"stavangeraftenblad"}[e]||e,productTag:"partnerstudio",decorator:t=>Object.assign(Object.assign({},r(t)?t:{}),{provider:Object.assign(Object.assign({},r(t)&&r(t.provider)?t.provider:{}),{productTag:"partnerstudio"})})}}));n.on("viewable",(({viewable:t})=>{t?n.play():n.pause()}))}(s.videoConfiguration),function(){const t=document.getElementsByClassName("ad-player-wrapper");Array.from(t).forEach((t=>{t.addEventListener("click",(t=>{t.stopPropagation(),t.preventDefault()}))}))}()})),function(t,e){const n=document.getElementById(`brandstudio-teaser
2-${t}`),o=document.getElementById(`brandstudio-article-${t}`);o&&n&&(o.dataset.pulseUrl=e,n.getElementsByTagName("a")[0].setAttribute("class","url"))}(s.itemId,s.pulseData.url)}(c,t))))}const l=new MutationObserver((function(t){t.forEach((t=>{"class"===t.attributeName&&t.target.classList.contains("b-loaded")&&c(t.target.getAttribute("data-placement"),t.target)}))}));t.forEach((t=>{var e;if(null===(e=t.getAttribute("class"))||void 0===e?void 0:e.includes("b-loaded")){const e=t.getAttribute("data-placement");e&&c(e,t)}else l.observe(t,{attributes:!0})}))}},1412:(t,e,n)=>{"use strict";n.d(e,{Nu:()=>c,uO:()=>l});var o=n(6510),a=n.n(o);const i=1*(document.documentElement.clientHeight||1e3),r={rootMargin:i+"px 0px"};let s;function c(){s||(s=a()(".b-lazy, img[data-src]",{rootMargin:i+"px 0px",loaded:function(t){t.classList.add("b-loaded")}})),s.observe()}function l(t,e){const n=new IntersectionObserver((function(t,n){t.forEach((function(t){(t.intersectionRatio>0||t.isIntersecting)&&(n.unobserve(t.target),e(t.target))}))}),r),o=document.querySelectorAll(t);[].forEach.call(o,(function(t){n.observe(t)}))}},4097:(t,e,n)=>{"use strict";n.d(e,{_:()=>u,r:()=>l});var o=n(898),a=n(1412),i=n(5111);function r(t,e,n){return t[e][n]}const s=async t=>{const e=await(0,i.F)(),n=await(0,i.u)();return{member:9700,adSlots:{schedule:{preroll:{id:r(t,"preroll",o.fasten.siteVersion()),"no-sno-adformat":"preroll","kw_no-sno-adformat":"preroll"},postroll:{id:r(t,"postroll",o.fasten.siteVersion()),"no-sno-adformat":"postroll","kw_no-sno-adformat":"postroll"}},params:Object.assign(Object.assign(Object.assign({"aa-sch-country_code":"no","kw_aa-sch-country_code":"no","no-sno-publishergroup":"schibsted","kw_no-sno-publishergroup":"schibsted","aa-sch-supply_type":"web_"+o.fasten.siteVersion(),"kw_aa-sch-supply_type":"web_"+o.fasten.siteVersion(),"no-sno-news-tv_category":"213","kw_no-sno-news-tv_category":"213","aa-sch-publisher":t.id,"kw_aa-sch-publisher":t.id},e),n),{member:9700})}}},c=t=>({provider:t,embed:!0,decorator:t=>(t.object.elementType="webcam-frontpage",t.object.parent={id:"webcam-frontpage-widget",type:"UIElement",elementType:"Widget"},t.object.page={id:"widget",type:"Frontpage"},t)});function l(t){let e=!1;e?t():(window.onSvpPlayerReady=function(){e=!0,t&&t()},function(t,e,n,o){const a=t.getElementsByTagName(e)[0];if(t.getElementById(n))return void o();const i=t.createElement(e);i.id=n,i.src="//cdn.stream.schibsted.media/player/3.38.15/player.min.js",i.async=!0,a.parentNode.insertBefore(i,a)}(document,"script","svp-player-sdk",t))}function d(t,e){const n="https://svp.vg.no/svp/api/v1/"+t+"/assets/"+e+"?appName=svp-player&additional=settings";o.fasten.fetch("GET",n).then((t=>{document.getElementById(`webcam-${e}`).src=t.images.main+"?t[]=280q80"}))}function u(t,e,n){const i=function(t,e,n){return function(o,a){const i=function(){let t="";for(let e=0;e<5;e++)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t}();document.getElementById("player").id="video-"+o+"-"+i,new SVP.Player({id:parseInt(o,10),vendor:n,title:a,node:"video-"+o+"-"+i,adn:function(){return Promise.resolve(t)},autoplay:!1,autopause:"viewable",primary:"html5",pulse:e,recommended:!1}).on("viewable",(function(){document.querySelector("#webcam-frontpage .jw-title-secondary").innerHTML="direkte"}))}}(s(t),c(e),n);(0,a.uO)("#webcam-frontpage",(()=>{l((function(){!function(t,e){const n="webcam-"+e;document.getElementById("webcam-frontpage").className=n}(0,o.fasten.siteVersion()),function(t){const e=document.querySelectorAll(".webcam-teasers-container .image-container img"),n=Math.floor(Math.random()*Math.floor(e.length));t(e[n].id.replace("webcam-",""),document.querySelectorAll(".webcam-teasers-container .image-container .label")[n].id)}(i),function(t){const e=document.querySelectorAll(".webcam-teasers-container .image-container img");for(let n=0;n<e.length;n++)d(t,e[n].id.replace("webcam-",""))}(n),window.pulse("track","viewEvent",{type:"View",object:{id:"webcam-frontpage-widget",type:"UIElement",elementType:"Widget",name:"webcam-frontpage-widget",contentId:"Forsiden",page:{
2id:"widget",type:"Frontpage"}}})})),window.trackWebcamLink=function(){window.pulse("track","engagementEvent",{action:"Click",object:{id:"webcam-frontpage-widget:see-all-link",type:"UIElement",elementType:"Link",name:"se alle",page:{id:"widget",type:"Frontpage"},parent:{id:"webcam-frontpage-widget",type:"UIElement",elementType:"Widget"}}})},function(t){window.playVideo=function(e,n){document.getElementById("front-video-camera").innerHTML="<div id='player'></div>",t(e,n)}}(i)}))}}}]);
3//# sourceMappingURL=9301-a63a736ca4aeb6ff7426.min.js.map

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.