const vendorScript = document.createElement('script'); vendorScript.src = '//shop.pri.if.no/dist/vendor.js?v=_LPZvbNJJVqyA2WjR4UXjzDKI2uH5lt-NQifklEcEB4'; vendorScript.async = false; vendorScript.defer = true; document.head.appendChild(vendorScript); function addDocumentEventListener() { const cartCss = document.createElement('link'); cartCss.rel='stylesheet'; cartCss.href = 'https://shop.pri.if.no/dist/cart.css?v=7xDBRQvAiJXclESZij8WF_f6-ja2Vn4QEBxQSF694L4'; document.body.appendChild(cartCss); const wsnoGlobalCss = document.createElement('link'); wsnoGlobalCss.rel = 'stylesheet'; wsnoGlobalCss.href = '//shop.pri.if.no/dist/wsno_global.css?v=biSfPgqW6SleR11dyPIgYl6T-QbMlrLiBpH9uS-nyFw'; document.body.appendChild(wsnoGlobalCss); } document.addEventListener('DOMContentLoaded', addDocumentEventListener); const cartScript = document.createElement('script'); cartScript.src = 'https://shop.pri.if.no/dist/cart.js?v=WuHT-QjK7X-TF7yKTaRzLiW9gAOeilcAYvRuvUyOHjM'; cartScript.async = false; cartScript.defer = true; document.head.appendChild(cartScript); window.webshopno = window.webshopno || {}; window.webshopno.hostUrl = 'https://shop.pri.if.no/'; window.webshopno.enableTenorSsn = 'False' === 'True'; window.webshopno.recaptchaSiteKey = '6LdNztkaAAAAAJ667VkQMpblmdK6jx6Mi-8YEs1d'; window.shoppingCartNo = {}; window.shoppingCartNo.hostUrl = 'https://shop.pri.if.no'; window.shoppingCartNo.checkoutUrl = '/privat/forsikring/kassa'; window.shoppingCartNo.addMoreProductsUrl = '/privat/forsikring'; const indexScript = document.createElement('script'); indexScript.src = 'https://static.design.if.eu/ids-web-component/18.10.0/icon/index.js'; indexScript.async = false; indexScript.defer = true; indexScript.type = 'module'; document.head.appendChild(indexScript); const iifeScript = document.createElement('script'); iifeScript.src = 'https://static.design.if.eu/ids-web-component/18.10.0/icon/index.iife.js'; iifeScript.async = false; iifeScript.defer = true; iifeScript.nomodule = true; document.head.appendChild(iifeScript); const idsIconSprites = document.createElement('ids-icon-sprites'); document.head.appendChild(idsIconSprites);