Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@schibsted/data-controller

Package Overview
Dependencies
Maintainers
8
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@schibsted/data-controller - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [3.1.1](https://github.schibsted.io/smp-distribution/data-controller-sdk/compare/v3.1.0...v3.1.1) (2020-09-11)
### Bug Fixes
* wrap optional content parts in a span to allow hiding ([3ff267a](https://github.schibsted.io/smp-distribution/data-controller-sdk/commit/3ff267a4bceaecaf31f21107c7d1dbba025b5762))
# [3.1.0](https://github.schibsted.io/smp-distribution/data-controller-sdk/compare/v3.0.2...v3.1.0) (2020-09-10)

@@ -2,0 +9,0 @@

2

dist/data-controller-sdk.cjs.js

@@ -1,2 +0,2 @@

"use strict";function e(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function a(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,n)}return t}Object.defineProperty(exports,"__esModule",{value:!0});function t(){var e=localStorage.getItem("sch-data-controller");if(e)try{return JSON.parse(e,(function(e,a){return"lastViewed"===e||"lastCobranding"===e?new Date(a):a}))}catch(e){return}}function n(e){localStorage.setItem("sch-data-controller",JSON.stringify(e))}function r(e,a,t){if(a>e)return!1;var n=Math.floor((Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())-Date.UTC(a.getFullYear(),a.getMonth(),a.getDate()))/864e5);return!(n<t)&&(n>1||e.getHours()>=6)}var c=[/\bHermes\b/i,/(ios|android).*(aftonbladet|vg|rnd|bt|fvn|aftenposten|svd)/i];function l(e){return c.some((function(a){return e.match(a)}))||null!=window.hermesJwe}var o={no:{text:"[BRAND] er en del av Schibsted. Schibsted er ansvarlig for dine data på denne siden.",shortText:"[BRAND] er en del av ",link:"Les mer her",url:"https://info.privacy.schibsted.com/no/schibsted-norge-personvernerklaering/"},sv:{text:"[BRAND] är en del av Schibsted. Schibsted är ansvarig för dina data på denna sida.",shortText:"[BRAND] är en del av ",link:"Läs mer här",url:"https://info.privacy.schibsted.com/se/schibsted-sverige-personuppgiftspolicy/"},en_SE:{text:"[BRAND] is a part of Schibsted. Schibsted is responsible for your data on this site.",shortText:"[BRAND] is a part of ",link:"Read more",url:"https://info.privacy.schibsted.com/your-privacy-controls-schibsted-sverige-english/"},en_NO:{text:"[BRAND] is a part of Schibsted. Schibsted is responsible for your data on this site.",shortText:"[BRAND] is a part of ",link:"Read more",url:"https://info.privacy.schibsted.com/your-privacy-controls-schibsted-norge-english/"}},s=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a="sch-datacontroller__logo".concat(e?" sch-datacontroller__logo--inline":"");return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 103 19" class="'.concat(a,'">\n <title>Schibsted</title>\n <path d="M10.609 9.222c.17 0 .312.087.413.213.154.194.253.4.324.544.677 1.362.831 3.009.33 4.49-.804 2.371-2.994 4.128-5.63 4.128-3.18 0-5.214-2.144-5.851-4.19a.101.101 0 01.068-.126l2.887-.884a.101.101 0 01.127.066c.138.442.86 1.929 2.802 1.929 1.466 0 2.678-1.251 2.678-2.794 0-.654-.097-1.08-.294-1.516a.76.76 0 01-.078-.283.44.44 0 01.446-.46.44.44 0 01.36.182c.02.027.058.084.076.113.015.023.043.038.069.022.025-.015.024-.043.01-.072l-.05-.105a.49.49 0 01.436-.711.49.49 0 01.407.233l.095.153c.015.025.042.039.07.023.025-.013.025-.041.011-.07l-.085-.17a.554.554 0 01-.07-.253c0-.269.182-.462.449-.462zm9.01-2.885c2.916 0 4.666 1.66 5.306 3.448a.1.1 0 01-.028.107l-.034.02-2.63.903a.1.1 0 01-.125-.055c-.358-.813-1.084-1.538-2.419-1.538-1.602 0-2.945 1.149-2.945 3.236s1.366 3.26 2.969 3.26c1.544 0 2.344-.98 2.632-1.848a.103.103 0 01.09-.07l.04.004 2.567.851a.1.1 0 01.065.123c-.55 1.893-2.356 3.8-5.394 3.8-3.417 0-6.104-2.58-6.104-6.12 0-3.565 2.64-6.12 6.01-6.12zm44.256 0c2.75 0 3.977 1.45 4.391 2.653a.099.099 0 01-.027.104l-.032.02-2.335.9a.1.1 0 01-.132-.061c-.186-.61-.71-1.247-1.841-1.247-.825 0-1.485.492-1.485 1.149 0 .52.362.83.918.968l.143.03 1.65.352c2.285.47 3.44 1.886 3.44 3.575 0 1.875-1.461 3.798-4.501 3.798-3.409 0-4.634-2.15-4.82-3.474a.098.098 0 01.044-.095l.034-.015 2.488-.542a.099.099 0 01.12.083c.114.872.797 1.652 2.11 1.652 1.037 0 1.532-.54 1.532-1.15 0-.481-.308-.842-1.077-1.04l-.172-.04-1.532-.352c-2.238-.492-3.252-1.874-3.252-3.492 0-2.064 1.838-3.776 4.336-3.776zm19.976 0c3.582 0 5.727 2.275 5.727 5.98 0 .345-.028.703-.041.87a.1.1 0 01-.063.085l-.037.007h-8.201c.07 1.524 1.366 2.626 2.922 2.626 1.144 0 1.883-.446 2.331-1.135a.102.102 0 01.09-.046l.035.008 2.35 1.016a.1.1 0 01.049.139c-.833 1.537-2.505 2.692-4.879 2.692-3.181 0-5.986-2.275-5.986-6.168 0-3.682 2.734-6.074 5.703-6.074zM102.9 1.248a.1.1 0 01.093.061l.008.04v16.778a.1.1 0 01-.061.092l-.04.008h-2.84a.1.1 0 01-.093-.061l-.008-.039-.006-1.237c-.518.915-1.697 1.618-3.252 1.618-3.3 0-5.656-2.58-5.656-6.074 0-3.377 2.286-6.026 5.562-6.026 1.916 0 2.862.75 3.229 1.35l.046.08v-6.49a.1.1 0 01.062-.092l.039-.008h2.917zm-53.91 0a.1.1 0 01.092.061l.008.04v6.606c.518-.82 1.79-1.57 3.511-1.57 3.393 0 5.35 2.602 5.35 6.026 0 3.494-2.169 6.097-5.468 6.097-1.518 0-2.698-.631-3.339-1.535l-.101-.153v1.307a.1.1 0 01-.062.092l-.039.008h-2.839a.1.1 0 01-.092-.061l-.008-.04V1.349a.1.1 0 01.061-.092l.04-.008h2.885zm25.414 1.994a.1.1 0 01.093.06l.008.04v3.347h2.232a.1.1 0 01.093.061l.008.039v2.567a.1.1 0 01-.062.092l-.04.008h-2.231v4.831c0 1.008.47 1.337 1.366 1.337.307 0 .644-.031.848-.068a.1.1 0 01.112.064l.007.035v2.385c0 .043-.027.08-.067.096-.3.114-.849.255-1.7.255-2.19 0-3.585-1.252-3.673-3.352l-.004-.213v-5.37h-1.997a.1.1 0 01-.093-.061l-.007-.039V6.789a.1.1 0 01.061-.092l.04-.008H71.4l.004-3.347a.1.1 0 01.062-.093l.039-.007h2.898zM43.202 6.689a.1.1 0 01.093.061l.008.039v11.338a.1.1 0 01-.062.092l-.039.008h-2.933a.1.1 0 01-.093-.061l-.008-.04V6.79a.1.1 0 01.062-.092l.039-.008h2.933zm-13.28-5.44a.1.1 0 01.093.06l.008.04V7.65c.754-.89 2.027-1.266 3.135-1.266 2.861 0 4.233 1.925 4.309 4.357l.003.216v7.17a.1.1 0 01-.061.092l-.04.008h-2.933a.1.1 0 01-.092-.061l-.008-.04v-6.63c0-1.29-.637-2.345-2.145-2.346-1.373 0-2.116.93-2.165 2.14l-.003.16v6.677a.1.1 0 01-.061.092l-.04.008H26.99a.1.1 0 01-.093-.061l-.008-.04V1.349a.1.1 0 01.062-.092l.039-.008h2.933zM51.94 9.15c-1.579 0-2.924 1.173-2.924 3.283 0 2.087 1.345 3.308 2.924 3.308 1.603 0 2.875-1.197 2.875-3.308 0-2.11-1.272-3.283-2.875-3.283zm45.137.023c-1.602 0-2.875 1.197-2.875 3.26 0 2.064 1.226 3.308 2.875 3.308 1.603 0 2.888-1.244 2.888-3.331 0-2.064-1.285-3.237-2.888-3.237zM5.985 11.41a.28.28 0 110 .557.28.28 0 110-.557zm-1.125-.17h.065c.068.008.144.032.209.055a.308.308 0 01.168.142c.074.136.03.31-.098.397a.345.345 0 01-.22.048.911.911 0 01-.163-.03c-.171-.047-.277-.21-.233-.382a.313.313 0 01.337-.23zm-1.378-.587l.081.012c.088.023.173.073.253.114l.219.11a.35.35 0 01.187.247.351.351 0 01-.366.409 1.023 1.023 0 01-.289-.071 1.326 1.326 0 01-.244-.122c-.236-.147-.28-.464-.071-.625a.36.36 0 01.311-.062zM83.899 8.87c-1.559 0-2.446 1.12-2.58 2.142l-.013.133h5.185c-.047-1.15-.802-2.275-2.592-2.275zM5.985 10.215a.28.28 0 110 .557.28.28 0 110-.557zm-3.962-.667c.12.004.207.067.287.148.088.09.18.171.274.255.076.066.138.114.207.187a.358.358 0 01.073.373.361.361 0 01-.268.222.464.464 0 01-.33-.07 1.832 1.832 0 01-.276-.208 2.171 2.171 0 01-.258-.266.396.396 0 01-.052-.44.372.372 0 01.343-.201zm2.58.386l.078.005c.058.011.13.04.194.063l.209.075c.088.031.152.063.2.135.12.179.021.43-.189.479a.636.636 0 01-.289-.014 1.673 1.673 0 01-.275-.096c-.257-.11-.317-.384-.138-.556a.33.33 0 01.288-.086zm2.263-.795c.097-.04.198-.027.305.003.143.04.198.068.314.122.182.083.333.177.498.29.07.049.151.115.21.176.145.15.143.38-.005.511-.132.116-.318.099-.465-.006a5.933 5.933 0 00-.35-.232 3.98 3.98 0 00-.433-.23c-.114-.056-.222-.108-.259-.24a.32.32 0 01.185-.394zm-3.873-.241l.078.002c.121.017.196.097.284.17.136.115.237.194.382.3.097.069.179.122.241.228a.341.341 0 01-.028.395.356.356 0 01-.358.114.81.81 0 01-.21-.081 2.453 2.453 0 01-.607-.462c-.12-.122-.168-.31-.09-.462a.38.38 0 01.386-.202zM8.3 8.48l.08.01a.81.81 0 01.209.081c.206.105.419.27.607.462.12.122.168.31.09.463a.38.38 0 01-.386.201c-.121-.016-.196-.096-.284-.17a6.056 6.056 0 00-.382-.299c-.096-.07-.179-.123-.241-.229a.341.341 0 01.029-.395.356.356 0 01.358-.114zm-2.314.54a.28.28 0 110 .557.28.28 0 110-.557zm-2.202-.664c.131-.116.317-.099.464.006.124.088.228.157.35.232.157.096.249.143.433.23.115.056.222.108.26.24a.32.32 0 01-.186.394c-.096.04-.198.027-.304-.003-.144-.04-.198-.068-.315-.122a3.196 3.196 0 01-.498-.29 1.482 1.482 0 01-.21-.176c-.145-.15-.143-.38.006-.511zM5.924 0c3.181 0 5.215 2.144 5.852 4.19a.101.101 0 01-.068.126L8.821 5.2a.101.101 0 01-.127-.066 2.873 2.873 0 00-2.802-1.928c-1.465 0-2.678 1.25-2.678 2.793 0 .654.097 1.08.294 1.516a.76.76 0 01.078.284.44.44 0 01-.445.46.44.44 0 01-.385-.218l-.052-.077c-.015-.024-.043-.038-.069-.023-.024.015-.024.044-.01.072l.05.105a.49.49 0 01-.436.711.49.49 0 01-.406-.233l-.096-.153c-.015-.025-.042-.039-.07-.023-.024.013-.025.042-.01.07.02.043.062.127.084.17.04.077.071.16.071.253 0 .269-.182.462-.45.462a.525.525 0 01-.412-.213c-.155-.194-.254-.4-.325-.544-.677-1.362-.83-3.009-.33-4.49C1.1 1.759 3.29 0 5.926 0zm3.45 7.864a.464.464 0 01.331.071c.114.07.18.123.276.207.09.079.174.164.258.267.109.133.123.299.052.439a.372.372 0 01-.343.201c-.12-.004-.207-.066-.286-.147a5.183 5.183 0 00-.275-.256c-.075-.066-.138-.114-.207-.187a.358.358 0 01-.073-.373.361.361 0 01.268-.222zm-2.498.042a.636.636 0 01.289.015c.121.03.191.06.276.095.256.11.316.385.138.556a.33.33 0 01-.29.086c-.057-.011-.13-.04-.192-.063l-.21-.075c-.088-.03-.152-.062-.2-.135a.316.316 0 01.189-.479zm-.89-.081a.28.28 0 110 .558.28.28 0 110-.558zm2.13-.773c.094.007.19.034.288.071.09.034.162.072.244.123.236.146.28.463.071.624a.36.36 0 01-.311.063c-.088-.024-.172-.074-.253-.115a32.94 32.94 0 00-.077-.038l-.141-.071a.35.35 0 01-.188-.248.351.351 0 01.366-.409zm-1.129-.337a.911.911 0 01.163.03c.171.047.277.21.233.382a.313.313 0 01-.336.23 1.02 1.02 0 01-.21-.054.308.308 0 01-.168-.143.306.306 0 01.098-.397.345.345 0 01.22-.048zM5.986 6.63a.28.28 0 110 .558.28.28 0 110-.558zM41.739.967c.963.007 1.778.751 1.901 1.702.147 1.136-.748 2.144-1.916 2.144-1.06 0-1.933-.868-1.933-1.9 0-1.083.88-1.954 1.948-1.946z" fill="#000" fill-rule="evenodd"/>\n </svg>')},i=function(e){var a=e.brand,t=e.texts,n=e.closeButton,r=e.modifier,c=t.text.replace("[BRAND]",a);return'<div class="sch-datacontroller'.concat(r?" sch-datacontroller--".concat(r):"",'">\n <div class="sch-datacontroller__wrapper">\n <div class="sch-datacontroller__content">\n ').concat(s(),'\n <span class="sch-datacontroller__text">\n ').concat(c,' <a class="sch-datacontroller__read-more" href="').concat(t.url,'">').concat(t.link,"</a>\n </span>\n </div>\n ").concat(n?'<button class="sch-datacontroller__btn-close sch-datacontroller__btn"type="button">'.concat('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="sch-datacontroller__btn-close-icon">\n <path d="M9.06 8l1.47 1.47a.75.75 0 01-1.06 1.06L7.999 9.06l-1.473 1.47a.75.75 0 01-1.06-1.06l1.472-1.471L5.47 6.53a.75.75 0 011.06-1.06L8 6.939l1.47-1.47a.75.75 0 011.06 1.062L9.06 7.999zM8 15A7 7 0 118 1a7 7 0 010 14zm0-1.5a5.5 5.5 0 100-11 5.5 5.5 0 000 11z"/>\n</svg>',"</button>"):"","\n </div>\n</div>")};function d(e){var a=document.createElement("div");return a.innerHTML=e,a.children[0]}function h(e,a,t){var c,l=new Date;if(!t||r(l,t.lastViewed,1)){var h,u,v,p=!t||r(l,t.lastCobranding,7),b={brand:a.brandName,texts:o[a.language],modifier:a.layout},f=p?i(b):(u=(h=b).brand,v=h.texts.shortText.replace("[BRAND]",u),'<div class="sch-datacontroller sch-datacontroller--subheader">\n <div class="sch-datacontroller__wrapper">\n <div class="sch-datacontroller__content">\n <span class="sch-datacontroller__text sch-datacontroller__text--inline">\n '.concat(v," ").concat(s(!0),"\n </span>\n </div>\n </div>\n</div>")),g=null!==(c=null==t?void 0:t.lastCobranding)&&void 0!==c?c:l;e.appendChild(d(f)),n({layout:"subheader",lastViewed:l,lastCobranding:p?l:g})}}function u(e,a,t){var c,l=new Date;if(!t||r(l,t.lastViewed,1)){var s=d(i({brand:a.brandName,texts:o[a.language],modifier:a.layout,closeButton:!0}));null===(c=s.querySelector(".sch-datacontroller__btn-close"))||void 0===c||c.addEventListener("click",(function(){return s.remove()})),e.appendChild(s),n({layout:"footer",lastViewed:l})}}function v(e,a){e.appendChild(d(i({brand:a.brandName,texts:o[a.language],modifier:"permanent"})))}exports.init=function(n){var r=function(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?a(Object(r),!0).forEach((function(a){e(t,a,r[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({layout:"subheader",language:"en_SE"},n);return{render:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.permanent,c=void 0!==n&&n;if(e&&!l(navigator.userAgent))if(c)v(e,r);else{var o=t();"subheader"===r.layout?h(e,r,"subheader"===(null==o?void 0:o.layout)?o:void 0):u(e,r,"footer"===(null==o?void 0:o.layout)?o:void 0)}}}};
"use strict";function a(a,t,e){return t in a?Object.defineProperty(a,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):a[t]=e,a}function t(a,t){var e=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable}))),e.push.apply(e,n)}return e}Object.defineProperty(exports,"__esModule",{value:!0});function e(){var a=localStorage.getItem("sch-data-controller");if(a)try{return JSON.parse(a,(function(a,t){return"lastViewed"===a||"lastCobranding"===a?new Date(t):t}))}catch(a){return}}function n(a){localStorage.setItem("sch-data-controller",JSON.stringify(a))}function r(a,t,e){if(t>a)return!1;var n=Math.floor((Date.UTC(a.getFullYear(),a.getMonth(),a.getDate())-Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()))/864e5);return!(n<e)&&(n>1||a.getHours()>=6)}var c=[/\bHermes\b/i,/(ios|android).*(aftonbladet|vg|rnd|bt|fvn|aftenposten|svd)/i];function l(a){return c.some((function(t){return a.match(t)}))||null!=window.hermesJwe}var o=function(a){return'<span class="sch-datacontroller--optional-mobile">'.concat(a,"</span>")},s={no:{text:"".concat(o("[BRAND] er en del av Schibsted.")," Schibsted er ansvarlig for dine data på denne siden."),shortText:"[BRAND] er en del av ",link:"Les mer her",url:"https://info.privacy.schibsted.com/no/schibsted-norge-personvernerklaering/"},sv:{text:"".concat(o("[BRAND] är en del av Schibsted.")," Schibsted är ansvarig för dina data på denna sida."),shortText:"[BRAND] är en del av ",link:"Läs mer här",url:"https://info.privacy.schibsted.com/se/schibsted-sverige-personuppgiftspolicy/"},en_SE:{text:"".concat(o("[BRAND] is a part of Schibsted.")," Schibsted is responsible for your data on this site."),shortText:"[BRAND] is a part of ",link:"Read more",url:"https://info.privacy.schibsted.com/your-privacy-controls-schibsted-sverige-english/"},en_NO:{text:"".concat(o("[BRAND] is a part of Schibsted.")," Schibsted is responsible for your data on this site."),shortText:"[BRAND] is a part of ",link:"Read more",url:"https://info.privacy.schibsted.com/your-privacy-controls-schibsted-norge-english/"}},i=function(){var a=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t="sch-datacontroller__logo".concat(a?" sch-datacontroller__logo--inline":" sch-datacontroller--optional-mobile");return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 103 19" class="'.concat(t,'">\n <title>Schibsted</title>\n <path d="M10.609 9.222c.17 0 .312.087.413.213.154.194.253.4.324.544.677 1.362.831 3.009.33 4.49-.804 2.371-2.994 4.128-5.63 4.128-3.18 0-5.214-2.144-5.851-4.19a.101.101 0 01.068-.126l2.887-.884a.101.101 0 01.127.066c.138.442.86 1.929 2.802 1.929 1.466 0 2.678-1.251 2.678-2.794 0-.654-.097-1.08-.294-1.516a.76.76 0 01-.078-.283.44.44 0 01.446-.46.44.44 0 01.36.182c.02.027.058.084.076.113.015.023.043.038.069.022.025-.015.024-.043.01-.072l-.05-.105a.49.49 0 01.436-.711.49.49 0 01.407.233l.095.153c.015.025.042.039.07.023.025-.013.025-.041.011-.07l-.085-.17a.554.554 0 01-.07-.253c0-.269.182-.462.449-.462zm9.01-2.885c2.916 0 4.666 1.66 5.306 3.448a.1.1 0 01-.028.107l-.034.02-2.63.903a.1.1 0 01-.125-.055c-.358-.813-1.084-1.538-2.419-1.538-1.602 0-2.945 1.149-2.945 3.236s1.366 3.26 2.969 3.26c1.544 0 2.344-.98 2.632-1.848a.103.103 0 01.09-.07l.04.004 2.567.851a.1.1 0 01.065.123c-.55 1.893-2.356 3.8-5.394 3.8-3.417 0-6.104-2.58-6.104-6.12 0-3.565 2.64-6.12 6.01-6.12zm44.256 0c2.75 0 3.977 1.45 4.391 2.653a.099.099 0 01-.027.104l-.032.02-2.335.9a.1.1 0 01-.132-.061c-.186-.61-.71-1.247-1.841-1.247-.825 0-1.485.492-1.485 1.149 0 .52.362.83.918.968l.143.03 1.65.352c2.285.47 3.44 1.886 3.44 3.575 0 1.875-1.461 3.798-4.501 3.798-3.409 0-4.634-2.15-4.82-3.474a.098.098 0 01.044-.095l.034-.015 2.488-.542a.099.099 0 01.12.083c.114.872.797 1.652 2.11 1.652 1.037 0 1.532-.54 1.532-1.15 0-.481-.308-.842-1.077-1.04l-.172-.04-1.532-.352c-2.238-.492-3.252-1.874-3.252-3.492 0-2.064 1.838-3.776 4.336-3.776zm19.976 0c3.582 0 5.727 2.275 5.727 5.98 0 .345-.028.703-.041.87a.1.1 0 01-.063.085l-.037.007h-8.201c.07 1.524 1.366 2.626 2.922 2.626 1.144 0 1.883-.446 2.331-1.135a.102.102 0 01.09-.046l.035.008 2.35 1.016a.1.1 0 01.049.139c-.833 1.537-2.505 2.692-4.879 2.692-3.181 0-5.986-2.275-5.986-6.168 0-3.682 2.734-6.074 5.703-6.074zM102.9 1.248a.1.1 0 01.093.061l.008.04v16.778a.1.1 0 01-.061.092l-.04.008h-2.84a.1.1 0 01-.093-.061l-.008-.039-.006-1.237c-.518.915-1.697 1.618-3.252 1.618-3.3 0-5.656-2.58-5.656-6.074 0-3.377 2.286-6.026 5.562-6.026 1.916 0 2.862.75 3.229 1.35l.046.08v-6.49a.1.1 0 01.062-.092l.039-.008h2.917zm-53.91 0a.1.1 0 01.092.061l.008.04v6.606c.518-.82 1.79-1.57 3.511-1.57 3.393 0 5.35 2.602 5.35 6.026 0 3.494-2.169 6.097-5.468 6.097-1.518 0-2.698-.631-3.339-1.535l-.101-.153v1.307a.1.1 0 01-.062.092l-.039.008h-2.839a.1.1 0 01-.092-.061l-.008-.04V1.349a.1.1 0 01.061-.092l.04-.008h2.885zm25.414 1.994a.1.1 0 01.093.06l.008.04v3.347h2.232a.1.1 0 01.093.061l.008.039v2.567a.1.1 0 01-.062.092l-.04.008h-2.231v4.831c0 1.008.47 1.337 1.366 1.337.307 0 .644-.031.848-.068a.1.1 0 01.112.064l.007.035v2.385c0 .043-.027.08-.067.096-.3.114-.849.255-1.7.255-2.19 0-3.585-1.252-3.673-3.352l-.004-.213v-5.37h-1.997a.1.1 0 01-.093-.061l-.007-.039V6.789a.1.1 0 01.061-.092l.04-.008H71.4l.004-3.347a.1.1 0 01.062-.093l.039-.007h2.898zM43.202 6.689a.1.1 0 01.093.061l.008.039v11.338a.1.1 0 01-.062.092l-.039.008h-2.933a.1.1 0 01-.093-.061l-.008-.04V6.79a.1.1 0 01.062-.092l.039-.008h2.933zm-13.28-5.44a.1.1 0 01.093.06l.008.04V7.65c.754-.89 2.027-1.266 3.135-1.266 2.861 0 4.233 1.925 4.309 4.357l.003.216v7.17a.1.1 0 01-.061.092l-.04.008h-2.933a.1.1 0 01-.092-.061l-.008-.04v-6.63c0-1.29-.637-2.345-2.145-2.346-1.373 0-2.116.93-2.165 2.14l-.003.16v6.677a.1.1 0 01-.061.092l-.04.008H26.99a.1.1 0 01-.093-.061l-.008-.04V1.349a.1.1 0 01.062-.092l.039-.008h2.933zM51.94 9.15c-1.579 0-2.924 1.173-2.924 3.283 0 2.087 1.345 3.308 2.924 3.308 1.603 0 2.875-1.197 2.875-3.308 0-2.11-1.272-3.283-2.875-3.283zm45.137.023c-1.602 0-2.875 1.197-2.875 3.26 0 2.064 1.226 3.308 2.875 3.308 1.603 0 2.888-1.244 2.888-3.331 0-2.064-1.285-3.237-2.888-3.237zM5.985 11.41a.28.28 0 110 .557.28.28 0 110-.557zm-1.125-.17h.065c.068.008.144.032.209.055a.308.308 0 01.168.142c.074.136.03.31-.098.397a.345.345 0 01-.22.048.911.911 0 01-.163-.03c-.171-.047-.277-.21-.233-.382a.313.313 0 01.337-.23zm-1.378-.587l.081.012c.088.023.173.073.253.114l.219.11a.35.35 0 01.187.247.351.351 0 01-.366.409 1.023 1.023 0 01-.289-.071 1.326 1.326 0 01-.244-.122c-.236-.147-.28-.464-.071-.625a.36.36 0 01.311-.062zM83.899 8.87c-1.559 0-2.446 1.12-2.58 2.142l-.013.133h5.185c-.047-1.15-.802-2.275-2.592-2.275zM5.985 10.215a.28.28 0 110 .557.28.28 0 110-.557zm-3.962-.667c.12.004.207.067.287.148.088.09.18.171.274.255.076.066.138.114.207.187a.358.358 0 01.073.373.361.361 0 01-.268.222.464.464 0 01-.33-.07 1.832 1.832 0 01-.276-.208 2.171 2.171 0 01-.258-.266.396.396 0 01-.052-.44.372.372 0 01.343-.201zm2.58.386l.078.005c.058.011.13.04.194.063l.209.075c.088.031.152.063.2.135.12.179.021.43-.189.479a.636.636 0 01-.289-.014 1.673 1.673 0 01-.275-.096c-.257-.11-.317-.384-.138-.556a.33.33 0 01.288-.086zm2.263-.795c.097-.04.198-.027.305.003.143.04.198.068.314.122.182.083.333.177.498.29.07.049.151.115.21.176.145.15.143.38-.005.511-.132.116-.318.099-.465-.006a5.933 5.933 0 00-.35-.232 3.98 3.98 0 00-.433-.23c-.114-.056-.222-.108-.259-.24a.32.32 0 01.185-.394zm-3.873-.241l.078.002c.121.017.196.097.284.17.136.115.237.194.382.3.097.069.179.122.241.228a.341.341 0 01-.028.395.356.356 0 01-.358.114.81.81 0 01-.21-.081 2.453 2.453 0 01-.607-.462c-.12-.122-.168-.31-.09-.462a.38.38 0 01.386-.202zM8.3 8.48l.08.01a.81.81 0 01.209.081c.206.105.419.27.607.462.12.122.168.31.09.463a.38.38 0 01-.386.201c-.121-.016-.196-.096-.284-.17a6.056 6.056 0 00-.382-.299c-.096-.07-.179-.123-.241-.229a.341.341 0 01.029-.395.356.356 0 01.358-.114zm-2.314.54a.28.28 0 110 .557.28.28 0 110-.557zm-2.202-.664c.131-.116.317-.099.464.006.124.088.228.157.35.232.157.096.249.143.433.23.115.056.222.108.26.24a.32.32 0 01-.186.394c-.096.04-.198.027-.304-.003-.144-.04-.198-.068-.315-.122a3.196 3.196 0 01-.498-.29 1.482 1.482 0 01-.21-.176c-.145-.15-.143-.38.006-.511zM5.924 0c3.181 0 5.215 2.144 5.852 4.19a.101.101 0 01-.068.126L8.821 5.2a.101.101 0 01-.127-.066 2.873 2.873 0 00-2.802-1.928c-1.465 0-2.678 1.25-2.678 2.793 0 .654.097 1.08.294 1.516a.76.76 0 01.078.284.44.44 0 01-.445.46.44.44 0 01-.385-.218l-.052-.077c-.015-.024-.043-.038-.069-.023-.024.015-.024.044-.01.072l.05.105a.49.49 0 01-.436.711.49.49 0 01-.406-.233l-.096-.153c-.015-.025-.042-.039-.07-.023-.024.013-.025.042-.01.07.02.043.062.127.084.17.04.077.071.16.071.253 0 .269-.182.462-.45.462a.525.525 0 01-.412-.213c-.155-.194-.254-.4-.325-.544-.677-1.362-.83-3.009-.33-4.49C1.1 1.759 3.29 0 5.926 0zm3.45 7.864a.464.464 0 01.331.071c.114.07.18.123.276.207.09.079.174.164.258.267.109.133.123.299.052.439a.372.372 0 01-.343.201c-.12-.004-.207-.066-.286-.147a5.183 5.183 0 00-.275-.256c-.075-.066-.138-.114-.207-.187a.358.358 0 01-.073-.373.361.361 0 01.268-.222zm-2.498.042a.636.636 0 01.289.015c.121.03.191.06.276.095.256.11.316.385.138.556a.33.33 0 01-.29.086c-.057-.011-.13-.04-.192-.063l-.21-.075c-.088-.03-.152-.062-.2-.135a.316.316 0 01.189-.479zm-.89-.081a.28.28 0 110 .558.28.28 0 110-.558zm2.13-.773c.094.007.19.034.288.071.09.034.162.072.244.123.236.146.28.463.071.624a.36.36 0 01-.311.063c-.088-.024-.172-.074-.253-.115a32.94 32.94 0 00-.077-.038l-.141-.071a.35.35 0 01-.188-.248.351.351 0 01.366-.409zm-1.129-.337a.911.911 0 01.163.03c.171.047.277.21.233.382a.313.313 0 01-.336.23 1.02 1.02 0 01-.21-.054.308.308 0 01-.168-.143.306.306 0 01.098-.397.345.345 0 01.22-.048zM5.986 6.63a.28.28 0 110 .558.28.28 0 110-.558zM41.739.967c.963.007 1.778.751 1.901 1.702.147 1.136-.748 2.144-1.916 2.144-1.06 0-1.933-.868-1.933-1.9 0-1.083.88-1.954 1.948-1.946z" fill="#000" fill-rule="evenodd"/>\n </svg>')},d=function(a){var t=a.brand,e=a.texts,n=a.closeButton,r=a.modifier,c=e.text.replace("[BRAND]",t);return'<div class="sch-datacontroller'.concat(r?" sch-datacontroller--".concat(r):"",'">\n <div class="sch-datacontroller__wrapper">\n <div class="sch-datacontroller__content">\n ').concat(i(),'\n <span class="sch-datacontroller__text">\n ').concat(c,' <a class="sch-datacontroller__read-more" href="').concat(e.url,'">').concat(e.link,"</a>\n </span>\n </div>\n ").concat(n?'<button class="sch-datacontroller__btn-close sch-datacontroller__btn"type="button">'.concat('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="sch-datacontroller__btn-close-icon">\n <path d="M9.06 8l1.47 1.47a.75.75 0 01-1.06 1.06L7.999 9.06l-1.473 1.47a.75.75 0 01-1.06-1.06l1.472-1.471L5.47 6.53a.75.75 0 011.06-1.06L8 6.939l1.47-1.47a.75.75 0 011.06 1.062L9.06 7.999zM8 15A7 7 0 118 1a7 7 0 010 14zm0-1.5a5.5 5.5 0 100-11 5.5 5.5 0 000 11z"/>\n</svg>',"</button>"):"","\n </div>\n</div>")};function h(a){var t=document.createElement("div");return t.innerHTML=a,t.children[0]}function u(a,t,e){var c,l=new Date;if(!e||r(l,e.lastViewed,1)){var o,u,v,p=!e||r(l,e.lastCobranding,7),b={brand:t.brandName,texts:s[t.language],modifier:t.layout},f=p?d(b):(u=(o=b).brand,v=o.texts.shortText.replace("[BRAND]",u),'<div class="sch-datacontroller sch-datacontroller--subheader">\n <div class="sch-datacontroller__wrapper">\n <div class="sch-datacontroller__content">\n <span class="sch-datacontroller__text sch-datacontroller__text--inline">\n '.concat(v," ").concat(i(!0),"\n </span>\n </div>\n </div>\n</div>")),g=null!==(c=null==e?void 0:e.lastCobranding)&&void 0!==c?c:l;a.appendChild(h(f)),n({layout:"subheader",lastViewed:l,lastCobranding:p?l:g})}}function v(a,t,e){var c,l=new Date;if(!e||r(l,e.lastViewed,1)){var o=h(d({brand:t.brandName,texts:s[t.language],modifier:t.layout,closeButton:!0}));null===(c=o.querySelector(".sch-datacontroller__btn-close"))||void 0===c||c.addEventListener("click",(function(){return o.remove()})),a.appendChild(o),n({layout:"footer",lastViewed:l})}}function p(a,t){a.appendChild(h(d({brand:t.brandName,texts:s[t.language],modifier:"permanent"})))}exports.init=function(n){var r=function(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))}))}return e}({layout:"subheader",language:"en_SE"},n);return{render:function(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.permanent,c=void 0!==n&&n;if(a&&!l(navigator.userAgent))if(c)p(a,r);else{var o=e();"subheader"===r.layout?u(a,r,"subheader"===(null==o?void 0:o.layout)?o:void 0):v(a,r,"footer"===(null==o?void 0:o.layout)?o:void 0)}}}};
//# sourceMappingURL=data-controller-sdk.cjs.js.map

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).CNP=e.CNP||{},e.CNP.DataControllerSDK={}))}(this,(function(e){"use strict";function t(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function a(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}var n="sch-data-controller";function r(){var e=localStorage.getItem(n);if(e)try{return JSON.parse(e,(function(e,t){return"lastViewed"===e||"lastCobranding"===e?new Date(t):t}))}catch(e){return}}function c(e){localStorage.setItem(n,JSON.stringify(e))}function l(e,t,a){if(t>e)return!1;var n=Math.floor((Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())-Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()))/864e5);return!(n<a)&&(n>1||e.getHours()>=6)}var o=[/\bHermes\b/i,/(ios|android).*(aftonbladet|vg|rnd|bt|fvn|aftenposten|svd)/i];function s(e){return o.some((function(t){return e.match(t)}))||null!=window.hermesJwe}var i={no:{text:"[BRAND] er en del av Schibsted. Schibsted er ansvarlig for dine data på denne siden.",shortText:"[BRAND] er en del av ",link:"Les mer her",url:"https://info.privacy.schibsted.com/no/schibsted-norge-personvernerklaering/"},sv:{text:"[BRAND] är en del av Schibsted. Schibsted är ansvarig för dina data på denna sida.",shortText:"[BRAND] är en del av ",link:"Läs mer här",url:"https://info.privacy.schibsted.com/se/schibsted-sverige-personuppgiftspolicy/"},en_SE:{text:"[BRAND] is a part of Schibsted. Schibsted is responsible for your data on this site.",shortText:"[BRAND] is a part of ",link:"Read more",url:"https://info.privacy.schibsted.com/your-privacy-controls-schibsted-sverige-english/"},en_NO:{text:"[BRAND] is a part of Schibsted. Schibsted is responsible for your data on this site.",shortText:"[BRAND] is a part of ",link:"Read more",url:"https://info.privacy.schibsted.com/your-privacy-controls-schibsted-norge-english/"}},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t="sch-datacontroller__logo".concat(e?" sch-datacontroller__logo--inline":"");return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 103 19" class="'.concat(t,'">\n <title>Schibsted</title>\n <path d="M10.609 9.222c.17 0 .312.087.413.213.154.194.253.4.324.544.677 1.362.831 3.009.33 4.49-.804 2.371-2.994 4.128-5.63 4.128-3.18 0-5.214-2.144-5.851-4.19a.101.101 0 01.068-.126l2.887-.884a.101.101 0 01.127.066c.138.442.86 1.929 2.802 1.929 1.466 0 2.678-1.251 2.678-2.794 0-.654-.097-1.08-.294-1.516a.76.76 0 01-.078-.283.44.44 0 01.446-.46.44.44 0 01.36.182c.02.027.058.084.076.113.015.023.043.038.069.022.025-.015.024-.043.01-.072l-.05-.105a.49.49 0 01.436-.711.49.49 0 01.407.233l.095.153c.015.025.042.039.07.023.025-.013.025-.041.011-.07l-.085-.17a.554.554 0 01-.07-.253c0-.269.182-.462.449-.462zm9.01-2.885c2.916 0 4.666 1.66 5.306 3.448a.1.1 0 01-.028.107l-.034.02-2.63.903a.1.1 0 01-.125-.055c-.358-.813-1.084-1.538-2.419-1.538-1.602 0-2.945 1.149-2.945 3.236s1.366 3.26 2.969 3.26c1.544 0 2.344-.98 2.632-1.848a.103.103 0 01.09-.07l.04.004 2.567.851a.1.1 0 01.065.123c-.55 1.893-2.356 3.8-5.394 3.8-3.417 0-6.104-2.58-6.104-6.12 0-3.565 2.64-6.12 6.01-6.12zm44.256 0c2.75 0 3.977 1.45 4.391 2.653a.099.099 0 01-.027.104l-.032.02-2.335.9a.1.1 0 01-.132-.061c-.186-.61-.71-1.247-1.841-1.247-.825 0-1.485.492-1.485 1.149 0 .52.362.83.918.968l.143.03 1.65.352c2.285.47 3.44 1.886 3.44 3.575 0 1.875-1.461 3.798-4.501 3.798-3.409 0-4.634-2.15-4.82-3.474a.098.098 0 01.044-.095l.034-.015 2.488-.542a.099.099 0 01.12.083c.114.872.797 1.652 2.11 1.652 1.037 0 1.532-.54 1.532-1.15 0-.481-.308-.842-1.077-1.04l-.172-.04-1.532-.352c-2.238-.492-3.252-1.874-3.252-3.492 0-2.064 1.838-3.776 4.336-3.776zm19.976 0c3.582 0 5.727 2.275 5.727 5.98 0 .345-.028.703-.041.87a.1.1 0 01-.063.085l-.037.007h-8.201c.07 1.524 1.366 2.626 2.922 2.626 1.144 0 1.883-.446 2.331-1.135a.102.102 0 01.09-.046l.035.008 2.35 1.016a.1.1 0 01.049.139c-.833 1.537-2.505 2.692-4.879 2.692-3.181 0-5.986-2.275-5.986-6.168 0-3.682 2.734-6.074 5.703-6.074zM102.9 1.248a.1.1 0 01.093.061l.008.04v16.778a.1.1 0 01-.061.092l-.04.008h-2.84a.1.1 0 01-.093-.061l-.008-.039-.006-1.237c-.518.915-1.697 1.618-3.252 1.618-3.3 0-5.656-2.58-5.656-6.074 0-3.377 2.286-6.026 5.562-6.026 1.916 0 2.862.75 3.229 1.35l.046.08v-6.49a.1.1 0 01.062-.092l.039-.008h2.917zm-53.91 0a.1.1 0 01.092.061l.008.04v6.606c.518-.82 1.79-1.57 3.511-1.57 3.393 0 5.35 2.602 5.35 6.026 0 3.494-2.169 6.097-5.468 6.097-1.518 0-2.698-.631-3.339-1.535l-.101-.153v1.307a.1.1 0 01-.062.092l-.039.008h-2.839a.1.1 0 01-.092-.061l-.008-.04V1.349a.1.1 0 01.061-.092l.04-.008h2.885zm25.414 1.994a.1.1 0 01.093.06l.008.04v3.347h2.232a.1.1 0 01.093.061l.008.039v2.567a.1.1 0 01-.062.092l-.04.008h-2.231v4.831c0 1.008.47 1.337 1.366 1.337.307 0 .644-.031.848-.068a.1.1 0 01.112.064l.007.035v2.385c0 .043-.027.08-.067.096-.3.114-.849.255-1.7.255-2.19 0-3.585-1.252-3.673-3.352l-.004-.213v-5.37h-1.997a.1.1 0 01-.093-.061l-.007-.039V6.789a.1.1 0 01.061-.092l.04-.008H71.4l.004-3.347a.1.1 0 01.062-.093l.039-.007h2.898zM43.202 6.689a.1.1 0 01.093.061l.008.039v11.338a.1.1 0 01-.062.092l-.039.008h-2.933a.1.1 0 01-.093-.061l-.008-.04V6.79a.1.1 0 01.062-.092l.039-.008h2.933zm-13.28-5.44a.1.1 0 01.093.06l.008.04V7.65c.754-.89 2.027-1.266 3.135-1.266 2.861 0 4.233 1.925 4.309 4.357l.003.216v7.17a.1.1 0 01-.061.092l-.04.008h-2.933a.1.1 0 01-.092-.061l-.008-.04v-6.63c0-1.29-.637-2.345-2.145-2.346-1.373 0-2.116.93-2.165 2.14l-.003.16v6.677a.1.1 0 01-.061.092l-.04.008H26.99a.1.1 0 01-.093-.061l-.008-.04V1.349a.1.1 0 01.062-.092l.039-.008h2.933zM51.94 9.15c-1.579 0-2.924 1.173-2.924 3.283 0 2.087 1.345 3.308 2.924 3.308 1.603 0 2.875-1.197 2.875-3.308 0-2.11-1.272-3.283-2.875-3.283zm45.137.023c-1.602 0-2.875 1.197-2.875 3.26 0 2.064 1.226 3.308 2.875 3.308 1.603 0 2.888-1.244 2.888-3.331 0-2.064-1.285-3.237-2.888-3.237zM5.985 11.41a.28.28 0 110 .557.28.28 0 110-.557zm-1.125-.17h.065c.068.008.144.032.209.055a.308.308 0 01.168.142c.074.136.03.31-.098.397a.345.345 0 01-.22.048.911.911 0 01-.163-.03c-.171-.047-.277-.21-.233-.382a.313.313 0 01.337-.23zm-1.378-.587l.081.012c.088.023.173.073.253.114l.219.11a.35.35 0 01.187.247.351.351 0 01-.366.409 1.023 1.023 0 01-.289-.071 1.326 1.326 0 01-.244-.122c-.236-.147-.28-.464-.071-.625a.36.36 0 01.311-.062zM83.899 8.87c-1.559 0-2.446 1.12-2.58 2.142l-.013.133h5.185c-.047-1.15-.802-2.275-2.592-2.275zM5.985 10.215a.28.28 0 110 .557.28.28 0 110-.557zm-3.962-.667c.12.004.207.067.287.148.088.09.18.171.274.255.076.066.138.114.207.187a.358.358 0 01.073.373.361.361 0 01-.268.222.464.464 0 01-.33-.07 1.832 1.832 0 01-.276-.208 2.171 2.171 0 01-.258-.266.396.396 0 01-.052-.44.372.372 0 01.343-.201zm2.58.386l.078.005c.058.011.13.04.194.063l.209.075c.088.031.152.063.2.135.12.179.021.43-.189.479a.636.636 0 01-.289-.014 1.673 1.673 0 01-.275-.096c-.257-.11-.317-.384-.138-.556a.33.33 0 01.288-.086zm2.263-.795c.097-.04.198-.027.305.003.143.04.198.068.314.122.182.083.333.177.498.29.07.049.151.115.21.176.145.15.143.38-.005.511-.132.116-.318.099-.465-.006a5.933 5.933 0 00-.35-.232 3.98 3.98 0 00-.433-.23c-.114-.056-.222-.108-.259-.24a.32.32 0 01.185-.394zm-3.873-.241l.078.002c.121.017.196.097.284.17.136.115.237.194.382.3.097.069.179.122.241.228a.341.341 0 01-.028.395.356.356 0 01-.358.114.81.81 0 01-.21-.081 2.453 2.453 0 01-.607-.462c-.12-.122-.168-.31-.09-.462a.38.38 0 01.386-.202zM8.3 8.48l.08.01a.81.81 0 01.209.081c.206.105.419.27.607.462.12.122.168.31.09.463a.38.38 0 01-.386.201c-.121-.016-.196-.096-.284-.17a6.056 6.056 0 00-.382-.299c-.096-.07-.179-.123-.241-.229a.341.341 0 01.029-.395.356.356 0 01.358-.114zm-2.314.54a.28.28 0 110 .557.28.28 0 110-.557zm-2.202-.664c.131-.116.317-.099.464.006.124.088.228.157.35.232.157.096.249.143.433.23.115.056.222.108.26.24a.32.32 0 01-.186.394c-.096.04-.198.027-.304-.003-.144-.04-.198-.068-.315-.122a3.196 3.196 0 01-.498-.29 1.482 1.482 0 01-.21-.176c-.145-.15-.143-.38.006-.511zM5.924 0c3.181 0 5.215 2.144 5.852 4.19a.101.101 0 01-.068.126L8.821 5.2a.101.101 0 01-.127-.066 2.873 2.873 0 00-2.802-1.928c-1.465 0-2.678 1.25-2.678 2.793 0 .654.097 1.08.294 1.516a.76.76 0 01.078.284.44.44 0 01-.445.46.44.44 0 01-.385-.218l-.052-.077c-.015-.024-.043-.038-.069-.023-.024.015-.024.044-.01.072l.05.105a.49.49 0 01-.436.711.49.49 0 01-.406-.233l-.096-.153c-.015-.025-.042-.039-.07-.023-.024.013-.025.042-.01.07.02.043.062.127.084.17.04.077.071.16.071.253 0 .269-.182.462-.45.462a.525.525 0 01-.412-.213c-.155-.194-.254-.4-.325-.544-.677-1.362-.83-3.009-.33-4.49C1.1 1.759 3.29 0 5.926 0zm3.45 7.864a.464.464 0 01.331.071c.114.07.18.123.276.207.09.079.174.164.258.267.109.133.123.299.052.439a.372.372 0 01-.343.201c-.12-.004-.207-.066-.286-.147a5.183 5.183 0 00-.275-.256c-.075-.066-.138-.114-.207-.187a.358.358 0 01-.073-.373.361.361 0 01.268-.222zm-2.498.042a.636.636 0 01.289.015c.121.03.191.06.276.095.256.11.316.385.138.556a.33.33 0 01-.29.086c-.057-.011-.13-.04-.192-.063l-.21-.075c-.088-.03-.152-.062-.2-.135a.316.316 0 01.189-.479zm-.89-.081a.28.28 0 110 .558.28.28 0 110-.558zm2.13-.773c.094.007.19.034.288.071.09.034.162.072.244.123.236.146.28.463.071.624a.36.36 0 01-.311.063c-.088-.024-.172-.074-.253-.115a32.94 32.94 0 00-.077-.038l-.141-.071a.35.35 0 01-.188-.248.351.351 0 01.366-.409zm-1.129-.337a.911.911 0 01.163.03c.171.047.277.21.233.382a.313.313 0 01-.336.23 1.02 1.02 0 01-.21-.054.308.308 0 01-.168-.143.306.306 0 01.098-.397.345.345 0 01.22-.048zM5.986 6.63a.28.28 0 110 .558.28.28 0 110-.558zM41.739.967c.963.007 1.778.751 1.901 1.702.147 1.136-.748 2.144-1.916 2.144-1.06 0-1.933-.868-1.933-1.9 0-1.083.88-1.954 1.948-1.946z" fill="#000" fill-rule="evenodd"/>\n </svg>')},u=function(e){var t=e.brand,a=e.texts,n=e.closeButton,r=e.modifier,c=a.text.replace("[BRAND]",t);return'<div class="sch-datacontroller'.concat(r?" sch-datacontroller--".concat(r):"",'">\n <div class="sch-datacontroller__wrapper">\n <div class="sch-datacontroller__content">\n ').concat(d(),'\n <span class="sch-datacontroller__text">\n ').concat(c,' <a class="sch-datacontroller__read-more" href="').concat(a.url,'">').concat(a.link,"</a>\n </span>\n </div>\n ").concat(n?'<button class="sch-datacontroller__btn-close sch-datacontroller__btn"type="button">'.concat('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="sch-datacontroller__btn-close-icon">\n <path d="M9.06 8l1.47 1.47a.75.75 0 01-1.06 1.06L7.999 9.06l-1.473 1.47a.75.75 0 01-1.06-1.06l1.472-1.471L5.47 6.53a.75.75 0 011.06-1.06L8 6.939l1.47-1.47a.75.75 0 011.06 1.062L9.06 7.999zM8 15A7 7 0 118 1a7 7 0 010 14zm0-1.5a5.5 5.5 0 100-11 5.5 5.5 0 000 11z"/>\n</svg>',"</button>"):"","\n </div>\n</div>")};function h(e){var t=document.createElement("div");return t.innerHTML=e,t.children[0]}function v(e,t,a){var n,r=new Date;if(!a||l(r,a.lastViewed,1)){var o,s,v,f=!a||l(r,a.lastCobranding,7),p={brand:t.brandName,texts:i[t.language],modifier:t.layout},b=f?u(p):(s=(o=p).brand,v=o.texts.shortText.replace("[BRAND]",s),'<div class="sch-datacontroller sch-datacontroller--subheader">\n <div class="sch-datacontroller__wrapper">\n <div class="sch-datacontroller__content">\n <span class="sch-datacontroller__text sch-datacontroller__text--inline">\n '.concat(v," ").concat(d(!0),"\n </span>\n </div>\n </div>\n</div>")),g=null!==(n=null==a?void 0:a.lastCobranding)&&void 0!==n?n:r;e.appendChild(h(b)),c({layout:"subheader",lastViewed:r,lastCobranding:f?r:g})}}function f(e,t,a){var n,r=new Date;if(!a||l(r,a.lastViewed,1)){var o=h(u({brand:t.brandName,texts:i[t.language],modifier:t.layout,closeButton:!0}));null===(n=o.querySelector(".sch-datacontroller__btn-close"))||void 0===n||n.addEventListener("click",(function(){return o.remove()})),e.appendChild(o),c({layout:"footer",lastViewed:r})}}function p(e,t){e.appendChild(h(u({brand:t.brandName,texts:i[t.language],modifier:"permanent"})))}e.init=function(e){var n=function(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?a(Object(r),!0).forEach((function(a){t(e,a,r[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({layout:"subheader",language:"en_SE"},e);return{render:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.permanent,c=void 0!==a&&a;if(e&&!s(navigator.userAgent))if(c)p(e,n);else{var l=r();"subheader"===n.layout?v(e,n,"subheader"===(null==l?void 0:l.layout)?l:void 0):f(e,n,"footer"===(null==l?void 0:l.layout)?l:void 0)}}}},Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).CNP=e.CNP||{},e.CNP.DataControllerSDK={}))}(this,(function(e){"use strict";function t(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function a(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}var n="sch-data-controller";function r(){var e=localStorage.getItem(n);if(e)try{return JSON.parse(e,(function(e,t){return"lastViewed"===e||"lastCobranding"===e?new Date(t):t}))}catch(e){return}}function c(e){localStorage.setItem(n,JSON.stringify(e))}function o(e,t,a){if(t>e)return!1;var n=Math.floor((Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())-Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()))/864e5);return!(n<a)&&(n>1||e.getHours()>=6)}var l=[/\bHermes\b/i,/(ios|android).*(aftonbladet|vg|rnd|bt|fvn|aftenposten|svd)/i];function s(e){return l.some((function(t){return e.match(t)}))||null!=window.hermesJwe}var i=function(e){return'<span class="sch-datacontroller--optional-mobile">'.concat(e,"</span>")},d={no:{text:"".concat(i("[BRAND] er en del av Schibsted.")," Schibsted er ansvarlig for dine data på denne siden."),shortText:"[BRAND] er en del av ",link:"Les mer her",url:"https://info.privacy.schibsted.com/no/schibsted-norge-personvernerklaering/"},sv:{text:"".concat(i("[BRAND] är en del av Schibsted.")," Schibsted är ansvarig för dina data på denna sida."),shortText:"[BRAND] är en del av ",link:"Läs mer här",url:"https://info.privacy.schibsted.com/se/schibsted-sverige-personuppgiftspolicy/"},en_SE:{text:"".concat(i("[BRAND] is a part of Schibsted.")," Schibsted is responsible for your data on this site."),shortText:"[BRAND] is a part of ",link:"Read more",url:"https://info.privacy.schibsted.com/your-privacy-controls-schibsted-sverige-english/"},en_NO:{text:"".concat(i("[BRAND] is a part of Schibsted.")," Schibsted is responsible for your data on this site."),shortText:"[BRAND] is a part of ",link:"Read more",url:"https://info.privacy.schibsted.com/your-privacy-controls-schibsted-norge-english/"}},u=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t="sch-datacontroller__logo".concat(e?" sch-datacontroller__logo--inline":" sch-datacontroller--optional-mobile");return'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 103 19" class="'.concat(t,'">\n <title>Schibsted</title>\n <path d="M10.609 9.222c.17 0 .312.087.413.213.154.194.253.4.324.544.677 1.362.831 3.009.33 4.49-.804 2.371-2.994 4.128-5.63 4.128-3.18 0-5.214-2.144-5.851-4.19a.101.101 0 01.068-.126l2.887-.884a.101.101 0 01.127.066c.138.442.86 1.929 2.802 1.929 1.466 0 2.678-1.251 2.678-2.794 0-.654-.097-1.08-.294-1.516a.76.76 0 01-.078-.283.44.44 0 01.446-.46.44.44 0 01.36.182c.02.027.058.084.076.113.015.023.043.038.069.022.025-.015.024-.043.01-.072l-.05-.105a.49.49 0 01.436-.711.49.49 0 01.407.233l.095.153c.015.025.042.039.07.023.025-.013.025-.041.011-.07l-.085-.17a.554.554 0 01-.07-.253c0-.269.182-.462.449-.462zm9.01-2.885c2.916 0 4.666 1.66 5.306 3.448a.1.1 0 01-.028.107l-.034.02-2.63.903a.1.1 0 01-.125-.055c-.358-.813-1.084-1.538-2.419-1.538-1.602 0-2.945 1.149-2.945 3.236s1.366 3.26 2.969 3.26c1.544 0 2.344-.98 2.632-1.848a.103.103 0 01.09-.07l.04.004 2.567.851a.1.1 0 01.065.123c-.55 1.893-2.356 3.8-5.394 3.8-3.417 0-6.104-2.58-6.104-6.12 0-3.565 2.64-6.12 6.01-6.12zm44.256 0c2.75 0 3.977 1.45 4.391 2.653a.099.099 0 01-.027.104l-.032.02-2.335.9a.1.1 0 01-.132-.061c-.186-.61-.71-1.247-1.841-1.247-.825 0-1.485.492-1.485 1.149 0 .52.362.83.918.968l.143.03 1.65.352c2.285.47 3.44 1.886 3.44 3.575 0 1.875-1.461 3.798-4.501 3.798-3.409 0-4.634-2.15-4.82-3.474a.098.098 0 01.044-.095l.034-.015 2.488-.542a.099.099 0 01.12.083c.114.872.797 1.652 2.11 1.652 1.037 0 1.532-.54 1.532-1.15 0-.481-.308-.842-1.077-1.04l-.172-.04-1.532-.352c-2.238-.492-3.252-1.874-3.252-3.492 0-2.064 1.838-3.776 4.336-3.776zm19.976 0c3.582 0 5.727 2.275 5.727 5.98 0 .345-.028.703-.041.87a.1.1 0 01-.063.085l-.037.007h-8.201c.07 1.524 1.366 2.626 2.922 2.626 1.144 0 1.883-.446 2.331-1.135a.102.102 0 01.09-.046l.035.008 2.35 1.016a.1.1 0 01.049.139c-.833 1.537-2.505 2.692-4.879 2.692-3.181 0-5.986-2.275-5.986-6.168 0-3.682 2.734-6.074 5.703-6.074zM102.9 1.248a.1.1 0 01.093.061l.008.04v16.778a.1.1 0 01-.061.092l-.04.008h-2.84a.1.1 0 01-.093-.061l-.008-.039-.006-1.237c-.518.915-1.697 1.618-3.252 1.618-3.3 0-5.656-2.58-5.656-6.074 0-3.377 2.286-6.026 5.562-6.026 1.916 0 2.862.75 3.229 1.35l.046.08v-6.49a.1.1 0 01.062-.092l.039-.008h2.917zm-53.91 0a.1.1 0 01.092.061l.008.04v6.606c.518-.82 1.79-1.57 3.511-1.57 3.393 0 5.35 2.602 5.35 6.026 0 3.494-2.169 6.097-5.468 6.097-1.518 0-2.698-.631-3.339-1.535l-.101-.153v1.307a.1.1 0 01-.062.092l-.039.008h-2.839a.1.1 0 01-.092-.061l-.008-.04V1.349a.1.1 0 01.061-.092l.04-.008h2.885zm25.414 1.994a.1.1 0 01.093.06l.008.04v3.347h2.232a.1.1 0 01.093.061l.008.039v2.567a.1.1 0 01-.062.092l-.04.008h-2.231v4.831c0 1.008.47 1.337 1.366 1.337.307 0 .644-.031.848-.068a.1.1 0 01.112.064l.007.035v2.385c0 .043-.027.08-.067.096-.3.114-.849.255-1.7.255-2.19 0-3.585-1.252-3.673-3.352l-.004-.213v-5.37h-1.997a.1.1 0 01-.093-.061l-.007-.039V6.789a.1.1 0 01.061-.092l.04-.008H71.4l.004-3.347a.1.1 0 01.062-.093l.039-.007h2.898zM43.202 6.689a.1.1 0 01.093.061l.008.039v11.338a.1.1 0 01-.062.092l-.039.008h-2.933a.1.1 0 01-.093-.061l-.008-.04V6.79a.1.1 0 01.062-.092l.039-.008h2.933zm-13.28-5.44a.1.1 0 01.093.06l.008.04V7.65c.754-.89 2.027-1.266 3.135-1.266 2.861 0 4.233 1.925 4.309 4.357l.003.216v7.17a.1.1 0 01-.061.092l-.04.008h-2.933a.1.1 0 01-.092-.061l-.008-.04v-6.63c0-1.29-.637-2.345-2.145-2.346-1.373 0-2.116.93-2.165 2.14l-.003.16v6.677a.1.1 0 01-.061.092l-.04.008H26.99a.1.1 0 01-.093-.061l-.008-.04V1.349a.1.1 0 01.062-.092l.039-.008h2.933zM51.94 9.15c-1.579 0-2.924 1.173-2.924 3.283 0 2.087 1.345 3.308 2.924 3.308 1.603 0 2.875-1.197 2.875-3.308 0-2.11-1.272-3.283-2.875-3.283zm45.137.023c-1.602 0-2.875 1.197-2.875 3.26 0 2.064 1.226 3.308 2.875 3.308 1.603 0 2.888-1.244 2.888-3.331 0-2.064-1.285-3.237-2.888-3.237zM5.985 11.41a.28.28 0 110 .557.28.28 0 110-.557zm-1.125-.17h.065c.068.008.144.032.209.055a.308.308 0 01.168.142c.074.136.03.31-.098.397a.345.345 0 01-.22.048.911.911 0 01-.163-.03c-.171-.047-.277-.21-.233-.382a.313.313 0 01.337-.23zm-1.378-.587l.081.012c.088.023.173.073.253.114l.219.11a.35.35 0 01.187.247.351.351 0 01-.366.409 1.023 1.023 0 01-.289-.071 1.326 1.326 0 01-.244-.122c-.236-.147-.28-.464-.071-.625a.36.36 0 01.311-.062zM83.899 8.87c-1.559 0-2.446 1.12-2.58 2.142l-.013.133h5.185c-.047-1.15-.802-2.275-2.592-2.275zM5.985 10.215a.28.28 0 110 .557.28.28 0 110-.557zm-3.962-.667c.12.004.207.067.287.148.088.09.18.171.274.255.076.066.138.114.207.187a.358.358 0 01.073.373.361.361 0 01-.268.222.464.464 0 01-.33-.07 1.832 1.832 0 01-.276-.208 2.171 2.171 0 01-.258-.266.396.396 0 01-.052-.44.372.372 0 01.343-.201zm2.58.386l.078.005c.058.011.13.04.194.063l.209.075c.088.031.152.063.2.135.12.179.021.43-.189.479a.636.636 0 01-.289-.014 1.673 1.673 0 01-.275-.096c-.257-.11-.317-.384-.138-.556a.33.33 0 01.288-.086zm2.263-.795c.097-.04.198-.027.305.003.143.04.198.068.314.122.182.083.333.177.498.29.07.049.151.115.21.176.145.15.143.38-.005.511-.132.116-.318.099-.465-.006a5.933 5.933 0 00-.35-.232 3.98 3.98 0 00-.433-.23c-.114-.056-.222-.108-.259-.24a.32.32 0 01.185-.394zm-3.873-.241l.078.002c.121.017.196.097.284.17.136.115.237.194.382.3.097.069.179.122.241.228a.341.341 0 01-.028.395.356.356 0 01-.358.114.81.81 0 01-.21-.081 2.453 2.453 0 01-.607-.462c-.12-.122-.168-.31-.09-.462a.38.38 0 01.386-.202zM8.3 8.48l.08.01a.81.81 0 01.209.081c.206.105.419.27.607.462.12.122.168.31.09.463a.38.38 0 01-.386.201c-.121-.016-.196-.096-.284-.17a6.056 6.056 0 00-.382-.299c-.096-.07-.179-.123-.241-.229a.341.341 0 01.029-.395.356.356 0 01.358-.114zm-2.314.54a.28.28 0 110 .557.28.28 0 110-.557zm-2.202-.664c.131-.116.317-.099.464.006.124.088.228.157.35.232.157.096.249.143.433.23.115.056.222.108.26.24a.32.32 0 01-.186.394c-.096.04-.198.027-.304-.003-.144-.04-.198-.068-.315-.122a3.196 3.196 0 01-.498-.29 1.482 1.482 0 01-.21-.176c-.145-.15-.143-.38.006-.511zM5.924 0c3.181 0 5.215 2.144 5.852 4.19a.101.101 0 01-.068.126L8.821 5.2a.101.101 0 01-.127-.066 2.873 2.873 0 00-2.802-1.928c-1.465 0-2.678 1.25-2.678 2.793 0 .654.097 1.08.294 1.516a.76.76 0 01.078.284.44.44 0 01-.445.46.44.44 0 01-.385-.218l-.052-.077c-.015-.024-.043-.038-.069-.023-.024.015-.024.044-.01.072l.05.105a.49.49 0 01-.436.711.49.49 0 01-.406-.233l-.096-.153c-.015-.025-.042-.039-.07-.023-.024.013-.025.042-.01.07.02.043.062.127.084.17.04.077.071.16.071.253 0 .269-.182.462-.45.462a.525.525 0 01-.412-.213c-.155-.194-.254-.4-.325-.544-.677-1.362-.83-3.009-.33-4.49C1.1 1.759 3.29 0 5.926 0zm3.45 7.864a.464.464 0 01.331.071c.114.07.18.123.276.207.09.079.174.164.258.267.109.133.123.299.052.439a.372.372 0 01-.343.201c-.12-.004-.207-.066-.286-.147a5.183 5.183 0 00-.275-.256c-.075-.066-.138-.114-.207-.187a.358.358 0 01-.073-.373.361.361 0 01.268-.222zm-2.498.042a.636.636 0 01.289.015c.121.03.191.06.276.095.256.11.316.385.138.556a.33.33 0 01-.29.086c-.057-.011-.13-.04-.192-.063l-.21-.075c-.088-.03-.152-.062-.2-.135a.316.316 0 01.189-.479zm-.89-.081a.28.28 0 110 .558.28.28 0 110-.558zm2.13-.773c.094.007.19.034.288.071.09.034.162.072.244.123.236.146.28.463.071.624a.36.36 0 01-.311.063c-.088-.024-.172-.074-.253-.115a32.94 32.94 0 00-.077-.038l-.141-.071a.35.35 0 01-.188-.248.351.351 0 01.366-.409zm-1.129-.337a.911.911 0 01.163.03c.171.047.277.21.233.382a.313.313 0 01-.336.23 1.02 1.02 0 01-.21-.054.308.308 0 01-.168-.143.306.306 0 01.098-.397.345.345 0 01.22-.048zM5.986 6.63a.28.28 0 110 .558.28.28 0 110-.558zM41.739.967c.963.007 1.778.751 1.901 1.702.147 1.136-.748 2.144-1.916 2.144-1.06 0-1.933-.868-1.933-1.9 0-1.083.88-1.954 1.948-1.946z" fill="#000" fill-rule="evenodd"/>\n </svg>')},h=function(e){var t=e.brand,a=e.texts,n=e.closeButton,r=e.modifier,c=a.text.replace("[BRAND]",t);return'<div class="sch-datacontroller'.concat(r?" sch-datacontroller--".concat(r):"",'">\n <div class="sch-datacontroller__wrapper">\n <div class="sch-datacontroller__content">\n ').concat(u(),'\n <span class="sch-datacontroller__text">\n ').concat(c,' <a class="sch-datacontroller__read-more" href="').concat(a.url,'">').concat(a.link,"</a>\n </span>\n </div>\n ").concat(n?'<button class="sch-datacontroller__btn-close sch-datacontroller__btn"type="button">'.concat('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="sch-datacontroller__btn-close-icon">\n <path d="M9.06 8l1.47 1.47a.75.75 0 01-1.06 1.06L7.999 9.06l-1.473 1.47a.75.75 0 01-1.06-1.06l1.472-1.471L5.47 6.53a.75.75 0 011.06-1.06L8 6.939l1.47-1.47a.75.75 0 011.06 1.062L9.06 7.999zM8 15A7 7 0 118 1a7 7 0 010 14zm0-1.5a5.5 5.5 0 100-11 5.5 5.5 0 000 11z"/>\n</svg>',"</button>"):"","\n </div>\n</div>")};function v(e){var t=document.createElement("div");return t.innerHTML=e,t.children[0]}function f(e,t,a){var n,r=new Date;if(!a||o(r,a.lastViewed,1)){var l,s,i,f=!a||o(r,a.lastCobranding,7),p={brand:t.brandName,texts:d[t.language],modifier:t.layout},b=f?h(p):(s=(l=p).brand,i=l.texts.shortText.replace("[BRAND]",s),'<div class="sch-datacontroller sch-datacontroller--subheader">\n <div class="sch-datacontroller__wrapper">\n <div class="sch-datacontroller__content">\n <span class="sch-datacontroller__text sch-datacontroller__text--inline">\n '.concat(i," ").concat(u(!0),"\n </span>\n </div>\n </div>\n</div>")),g=null!==(n=null==a?void 0:a.lastCobranding)&&void 0!==n?n:r;e.appendChild(v(b)),c({layout:"subheader",lastViewed:r,lastCobranding:f?r:g})}}function p(e,t,a){var n,r=new Date;if(!a||o(r,a.lastViewed,1)){var l=v(h({brand:t.brandName,texts:d[t.language],modifier:t.layout,closeButton:!0}));null===(n=l.querySelector(".sch-datacontroller__btn-close"))||void 0===n||n.addEventListener("click",(function(){return l.remove()})),e.appendChild(l),c({layout:"footer",lastViewed:r})}}function b(e,t){e.appendChild(v(h({brand:t.brandName,texts:d[t.language],modifier:"permanent"})))}e.init=function(e){var n=function(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?a(Object(r),!0).forEach((function(a){t(e,a,r[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({layout:"subheader",language:"en_SE"},e);return{render:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.permanent,c=void 0!==a&&a;if(e&&!s(navigator.userAgent))if(c)b(e,n);else{var o=r();"subheader"===n.layout?f(e,n,"subheader"===(null==o?void 0:o.layout)?o:void 0):p(e,n,"footer"===(null==o?void 0:o.layout)?o:void 0)}}}},Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=data-controller-sdk.umd.js.map
{
"name": "@schibsted/data-controller",
"version": "3.1.0",
"version": "3.1.1",
"module": "dist/data-controller-sdk.mjs",

@@ -5,0 +5,0 @@ "unpkg": "dist/data-controller-sdk.umd.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc