(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{362:function(t,e,r){"use strict";var n=r(2),i=r(4),o=r(56),a=r(38),s=r(46),l=r(231),c=r(18),u=r(5),d=r(230),v=r(156),g=r(364),f=r(365),h=r(96),p=r(366),m=[],b=i(m.sort),_=i(m.push),w=u((function(){m.sort(void 0)})),x=u((function(){m.sort(null)})),k=v("sort"),y=!u((function(){if(h)return h<70;if(!(g&&g>3)){if(f)return!0;if(p)return p<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)m.push({k:e+n,v:r})}for(m.sort((function(t,e){return e.v-t.v})),n=0;n<m.length;n++)e=m[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!x||!k||!y},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(y)return void 0===t?b(e):b(e,t);var r,n,i=[],u=s(e);for(n=0;n<u;n++)n in e&&_(i,e[n]);for(d(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:c(e)>c(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<u;)l(e,n++);return e}})},364:function(t,e,r){var n=r(79).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},365:function(t,e,r){var n=r(79);t.exports=/MSIE|Trident/.test(n)},366:function(t,e,r){var n=r(79).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},369:function(t,e,r){"use strict";r(95),r(3),r(14);var n=r(372),i={name:"LongReadTarget",props:{containerId:{type:String,required:!0},title:{type:String,required:!0},disabled:{type:Boolean,default:!1}},watch:{disabled:function(t){this[t?"removeTarget":"addTarget"]()}},mounted:function(){!this.disabled&&this.addTarget()},beforeDestroy:function(){this.removeTarget()},methods:{addTarget:function(){for(var t,e=[],r=this;r.$parent;){var i=r.$parent._vnode.children;(null==i||!i.length)&&e.push(0),(null==i?void 0:i.length)&&(null==i||i.forEach((function(t,n){var i;(null===(i=t.componentInstance)||void 0===i?void 0:i._uid)===r._uid&&e.push(n)}))),r=r.$parent}e.reverse(),this.$set(null===(t=n.a)||void 0===t?void 0:t._targets,this.containerId,{id:this.containerId,title:this.title,visibility:0,inViewport:!1,order:e})},removeTarget:function(){delete n.a._targets[this.containerId]}}},o=r(45),a=Object(o.a)(i,(function(){var t=this,e=t._self._c;return t.$scopedSlots.default||Object.entries(t.$attrs).length?e("div",{staticClass:"c-long-read-target"},[t._t("default")],2):t._e()}),[],!1,null,null,null);e.a=a.exports},370:function(t,e,r){"use strict";var n=r(2),i=r(382);n({target:"String",proto:!0,forced:r(383)("link")},{link:function(t){return i(this,"a","href",t)}})},372:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(78),i=(r(23),r(362),r(55),r(3),r(14),r(15),r(0).default.observable({_targets:{},_latest:null,get targets(){var t=this,e=Object.keys(this._targets);return e.sort((function(e,r){for(var n=t._targets[e].order,i=t._targets[r].order,o=0;o<Math.min(null==n?void 0:n.length,null==i?void 0:i.length);o++)if(n[o]!==i[o])return 2*(n[o]>i[o])-1;return 0})),e.map((function(e){return t._targets[e]}))},get activeTarget(){var t,e,r=Object(n.a)(this.targets).reverse().reduce((function(t,e){var r,n,i;return(null!==(r=null==e?void 0:e.visibility)&&void 0!==r?r:0)>=(null!==(n=null==t?void 0:t.visibility)&&void 0!==n?n:1e-5)&&null!=e&&null!==(i=e.title)&&void 0!==i&&i.length?e:t}),null);return r=null!==(t=null!==(e=r)&&void 0!==e?e:this._latest)&&void 0!==t?t:this.targets[0],this._latest=r,r}})),o={name:"LongReadController",data:function(){return{targetElements:[],intersectionObserver:null}},computed:{slotBindings:function(){return{data:{targets:i.targets,activeTarget:i.activeTarget},actions:{scrollToTarget:this.scrollToTarget}}}},mounted:function(){var t=this;this.onScroll(),window.addEventListener("scroll",this.onScroll),window.addEventListener("resize",this.onScroll),this.intersectionObserver=new IntersectionObserver(this.onIntersection,{threshold:0}),this.$watch((function(){return i.targets}),(function(e){t.targetElements=Object(n.a)((e||[]).map((function(t){var e=t.id;return document.getElementById(e)}))),t.intersectionObserver.disconnect(),t.targetElements.forEach((function(e){return t.intersectionObserver.observe(e)}))}))},beforeDestroy:function(){this.intersectionObserver.disconnect(),window.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onScroll)},methods:{onScroll:function(){var t=this;this.targetElements.filter((function(t){var e;return null===(e=i._targets[t.id])||void 0===e?void 0:e.inViewport})).forEach((function(e){var r=t.percentageInViewport(e);Object.assign(i._targets[e.id],{visibility:r})}))},onIntersection:function(t){t.forEach((function(t){var e=t.isIntersecting,r=t.target;i._targets[r.id]&&(i._targets[r.id].inViewport=e)}))},scrollToTarget:function(t){var e;history.replaceState({},"","#".concat(t.id)),null===(e=document.getElementById(t.id))||void 0===e||e.scrollIntoView({behavior:"smooth",block:"start"})},percentageInViewport:function(t){var e=t.getBoundingClientRect(),r=e.height,n=e.width,i=e.left,o=e.top,a=Math.max(0,i),s=Math.max(0,o),l=(a-Math.min(window.innerWidth,i+n))*(s-Math.min(window.innerHeight,o+r))/(n*r);return Math.max(Math.min(l,1),0)}}},a=r(45),s=Object(a.a)(o,(function(){var t=this;return(0,t._self._c)("div",{staticClass:"c-long-read-controller"},[t._t("default",null,null,t.slotBindings)],2)}),[],!1,null,null,null);e.b=s.exports},382:function(t,e,r){var n=r(4),i=r(33),o=r(18),a=/"/g,s=n("".replace);t.exports=function(t,e,r,n){var l=o(i(t)),c="<"+e;return""!==r&&(c+=" "+r+'="'+s(o(n),a,"&quot;")+'"'),c+">"+l+"</"+e+">"}},383:function(t,e,r){var n=r(5);t.exports=function(t){return n((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},425:function(t,e,r){"use strict";r.r(e);r(370),r(36);var n=r(371),i=r(369),o={name:"BlockListCtaboxCustom",components:{UmbracoImageExt:n.a,LongReadTarget:i.a},inheritAttrs:!1,props:{title:{type:String,required:!1},teaser:{type:String,required:!1},image:{type:Object,required:!1},linktext:{type:String,required:!1},link:{type:Array,required:!1},includeInToc:{type:Boolean,required:!1}}},a=r(45),s=Object(a.a)(o,(function(){var t=this,e=t._self._c;return t.title||t.image||t.teaser||t.link.length?e("div",{staticClass:"c-block-list-ctabox-custom",attrs:{id:t.$vnode.key}},[t.title&&t.includeInToc?e("LongReadTarget",{attrs:{"container-id":t.$vnode.key,title:t.title}}):t._e(),t._v(" "),e("div",{staticClass:"flex flex-col"},[t.image?e("UmbracoImageExt",{attrs:{widths:[320,480,640,928],alt:t.image.altText,"source-url":t.image.cropUrl,"source-width":t.image.width,"source-height":t.image.height,"aspect-ratio":863/370}}):t._e(),t._v(" "),e("div",{staticClass:"bg-primary py-2xl px-3xl"},[e("div",{staticClass:"space-y-lg"},[t.title?e("BaseH2",{domProps:{textContent:t._s(t.title)}}):t._e(),t._v(" "),t.teaser?e("div",{staticClass:"text-body",domProps:{textContent:t._s(t.teaser)}}):t._e()],1),t._v(" "),t.link&&t.link[0]?e("BaseButton",{staticClass:"block mt-xl max-w-fit",attrs:{tag:"NuxtLinkExt",to:t.link[0].url,target:null==t.link[0].target?"_self":t.link[0].target,dark:""},domProps:{textContent:t._s(t.linktext||t.link[0].name)}}):t._e()],1)],1)],1):t._e()}),[],!1,null,null,null);e.default=s.exports}}]);
//# sourceMappingURL=7d54b5b.js.map