if(window.global_debug===undefined){window.global_debug=false}if(window.data===undefined){window.data={}}if(window.constants===undefined){window.constants={}}void 0===window.PJ&&(window.PJ={}),void 0===window.PJ.gettext&&(window.PJ.gettext={}),void 0===window.PJ.gettext.translations&&(window.PJ.gettext.translations={}),window.PJ.gettext.translations.handlebars={domain:"messages",locale_data:{messages:{"":{domain:"messages",plural_forms:"nplurals=2; plural=n != 1;",lang:"sv"},"login.username":[null,"Anv\xe4ndarnamn"],"login.password":[null,"L\xf6senord"],"login.password.forgot":[null,"Gl\xf6mt?"],"common.login":[null,"Logga in"],"login.remembered_password":[null,"Kom du p\xe5 l\xf6senordet, trots allt?"],"login.password_recovery.header":[null,"Gl\xf6mt l\xf6senord?"],"login.password_recovery.description":[null,"Ange ditt anv\xe4ndarnamn eller mejladress s\xe5 kommer en \xe5terst\xe4llningsl\xe4nk att skickas till dig"],"common.or":[null,"eller"],"common.email":[null,"Mejl"],"login.password_recovery.send":[null,"Skicka \xe5terst\xe4llningsl\xe4nk"],"login.error.wrong_market":[null,"Mejladressen \xe4r registrerad p\xe5 v\xe5r systersajt i %(country)s"],"login.verification_email.send":[null,"Skicka verifieringsmejl"],"login.account_information.header":[null,"Inget konto?"],"login.account_information.description":[null,'Som inloggad medlem f\xe5r du tillg\xe5ng till extrafunktioner p\xe5 Prisjakt. Ditt konto fungerar ocks\xe5 p\xe5 communityn MinHembio.'],"login.registration.step_2":[null,"Steg 2 av 2"],"login.account.create":[null,"Skapa nytt konto"],"common.email_address":[null,"Mejladress"],"login.registration.newsletter":[null,"Jag \xf6nskar att f\xe5 Prisjakts nyhetsbrev f\xf6r uppdateringar och information"],"login.registration.terms_and_conditions":[null,'Jag har l\xe4st och godk\xe4nner Prisjakts anv\xe4ndarvillkor och personuppgiftspolicy'],"common.create_account":[null,"Skapa konto"],"updated_terms.title":[null,"Nya anv\xe4ndarvillkor p\xe5 Prisjakt"],"updated_terms.description":[null,"Vi uppdaterade v\xe5ra anv\xe4ndarvillkor %(date)s."],"updated_terms.read_terms":[null,"L\xe4s v\xe5ra nya anv\xe4ndarvillkor h\xe4r"],"common.ok":[null,"OK"],"login.or_with_email":[null,"Eller anv\xe4nd ditt Prisjakt-konto"],"login.registration.step_1":[null,"Steg 1 av 2"],"login.or_with":[null,"eller med"],"login.registration.info.description":[null,'N\xe4r du blir medlem godk\xe4nner du Prisjakts regler och att vi f\xe5r skicka v\xe5rt nyhetsbrev till dig.'],"login.recovery.your_activation_code":[null,"Din aktiveringskod"],"login.recovery.your_activation_code.description":[null,"Skriv in din kod som skickades i mejlet"],"login.verify.header":[null,"Aktiveringskod"],"login.recovery.choose_new_password.for":[null,"V\xe4lj nytt l\xf6senord f\xf6r %(username)s"],"login.recovery.choose_new_password.description":[null,"V\xe4lj ett l\xf6senord med b\xe5de siffror och bokst\xe4ver."],"login.recovery.choose_new_password":[null,"V\xe4lj nytt l\xf6senord"],"common.username":[null,"Anv\xe4ndarnamn"],"login.password.new":[null,"Nytt l\xf6senord"]}}}; void 0===window.PJ&&(window.PJ={}),void 0===window.PJ.gettext&&(window.PJ.gettext={}),void 0===window.PJ.gettext.translations&&(window.PJ.gettext.translations={}),window.PJ.gettext.translations.mustache={domain:"messages",locale_data:{messages:{"":{domain:"messages",plural_forms:"nplurals=2; plural=n != 1;",lang:"sv"},"wrapper.search.show_more_results":[null,"Visa fler tr\xe4ffar"],"common.feedback.give_us":[null,"Ge oss feedback eller rapportera fel"],"common.feedback":[null,"Feedback"],"common.close":[null,"St\xe4ng"],"wrapper.raw.search":[null,"Avancerad s\xf6kning i Prisjakt Expert"],"common.product":["common.product","produkt","produkter"],"common.category.not_available":[null,"Kategorin \xe4r inte tillg\xe4nglig"],"common.price.alternative.from":[null,"Alternativa priser från"],"common.brand":["common.brand","Tillverkare","Tillverkare"],"common.price.from":[null,"fr\xe5n"],"search.super.raw.only":[null,"Endast Expert"],"common.no_prices":[null,"Inga priser"]}}}; ;(function(pj) { 'use strict'; var win = window, doc = document, queue = [], onScrollInterval = 100, lazyLoadModule, scrollTicker; function size () { return queue.length; } function clear () { queue = []; } function unregister(component) { if(size()) { queue = queue.filter(function(item) { return item.component !== component; }); _checkIfDone(); } } function waitForLoad (component, customShouldLoadFunction) { return new Promise(function(resolve, reject) { if(!_isValid(component)) { return reject(new Error('invalid node: ' + JSON.stringify(component))); } var lazyItem = { shouldLoad: PJ.ads.should_load, component : component, isLoaded : false, resolve : resolve, reject : reject }; _queueItem(lazyItem); }); } function processQueue () { var loadNow = queue.filter(function (lazyItem) { return lazyItem.shouldLoad(lazyItem.component); }); loadNow.forEach(function (lazyItem, index) { _loadNow(lazyItem); }); queue = queue.filter(function (lazyItem) { return !lazyItem.isLoaded; }); _checkIfDone(); return queue; } function _loadNow (item) { item.resolve(item.component); item.isLoaded = true; } function _isValid (component) { return (component.node && typeof component.node === 'object' && component.node.nodeType === 1); } function _contains (collection, component) { return collection.some( function(queueItem){ return component === queueItem.component; }); } function _queueItem (item) { if (!_contains(queue, item.component)) { queue.push(item); _onItemsAdded(); } } function _scrollHandler () { if (!scrollTicker) { scrollTicker = win.setTimeout(function() { processQueue(); win.clearTimeout(scrollTicker); scrollTicker = null; }, onScrollInterval); } } function _addEventListener (evnt, elem, func) { if (elem.addEventListener) elem.addEventListener(evnt, func, false); else if (elem.attachEvent) { //IE elem.attachEvent("on" + evnt, func); } } function _onItemsAdded () { if(size() && processQueue().length){ _addEventListener("scroll", win, _scrollHandler); } } function _checkIfDone(){ if(!size()){ win.removeEventListener("scroll", _scrollHandler); } } lazyLoadModule = { processQueue : processQueue, waitForLoad : waitForLoad, size : size, clear : clear, unregister : unregister }; pj.ads = pj.ads || {}; pj.ads.lazy_load = lazyLoadModule; })(window.PJ = window.PJ || {}), (function(pj) { 'use strict'; var win = window, doc = document, DEFAULT_IN_VIEW_THRESHOLD = 200; function shouldLoad (component) { var rect = getRect(component), winHeight = getInnerHeight(), offset = getComponentOffset(component), offsetFromTop = component.offsetFromTop; if (typeof rect !== "undefined" && typeof winHeight !== "undefined") { if (offsetFromTop) { return rect.top < offset; } return rect.top + rect.height + offset > 0 && isInView(rect, offset, winHeight); } return true; } function isInView (rect, offset, windowHeight){ return windowHeight > rect.top - offset; } function getComponentOffset (component) { return component.lazyLoadOffset || DEFAULT_IN_VIEW_THRESHOLD; } function getInnerHeight () { return win.innerHeight || doc.documentElement.clientHeight; } function getRect (component) { if (component && component.node) { return component.node.getBoundingClientRect(); } } pj.ads = pj.ads || {}; pj.ads.should_load = shouldLoad; })(window.PJ = window.PJ || {});!function(c,u){"use strict";function e(e){var p=document.querySelectorAll(e);0!==p.length&&apntag.anq.push(function(){var e=c.ads.lazy_load;apntag.onEvent("adNoBid",function(e){document.getElementById(e.targetId).style.display="none",g()}),apntag.onEvent("adLoaded","ad_panorama_top",function(e){if(e&&e.banner&&(l=980 div:nth-child(2) { margin-top:"+d+"px; }",0),location.search.match(/[?&]takeover=1/)&&(n.style.width=o+"px",n.style.height=r+"px",document.querySelector("#ad_column").style.paddingTop=r+5+"px"),g()}}),apntag.onEvent("adLoaded",function(e){g()});var a=u.COUNTRY.toUpperCase()+"-"+u.SITE_NAME.replace("\xe9","e");0<=window.location.search.indexOf("adtest=1")&&(a+="-Test");var t={};(i=p[0]).getAttribute("data-appnexus-overrides")&&(t=JSON.parse(i.getAttribute("data-appnexus-overrides")));var n={"aa-sch-country_code":u.COUNTRY,"aa-sch-supply_type":"web_desktop","aa-sch-publisher":a,"se-generic-page":i.getAttribute("data-appnexus-page-type"),"se-generic-price":i.getAttribute("data-appnexus-price"),"se-generic-sitemode":"desktop","se-generic-screenheight":window.screen.height,"se-generic-screenwidth":window.screen.width,"se-generic-viewportheight":window.innerHeight,"se-generic-viewportwidth":window.innerWidth,"se-generic-pagegen":"classic","se-generic-appmode":"notinapp","se-prisjakt-section":JSON.parse(i.getAttribute("data-appnexus-section"))};switch(n["se-generic-page"]){case"index":n["aa-sch-page_type"]="front";break;case"product":n["aa-sch-page_type"]="object";break;case"category":n["aa-sch-page_type"]="section";break;default:n["aa-sch-page_type"]="other"}for(var o in"no"==u.COUNTRY&&(n["no-sno-publishergroup"]="schibsted"),t)t.hasOwnProperty(o)&&(n[o]=t[o]);apntag.setPageOpts({member:"no"==u.COUNTRY?9700:9943,disablePsa:!0,noBidIfUnsold:!0,keywords:n});for(var r=0,d=p.length;r