1/*! For license information please see playlist-block-autoplay.min.js.LICENSE.txt */ 2(()=>{var t={54(t){t.exports=function(t){if("string"!=typeof t)return!1;var i=t.match(e);if(!i)return!1;var o=i[1];if(!o)return!1;if(n.test(o)||r.test(o))return!0;return!1};var e=/^(?:\w+:)?\/\/(\S+)$/,n=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,r=/^[^\s\.]+\.\S{2,}$/}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t="ms:bitmovin-",e=t+"play",r=t+"first-interaction",i=t+"player-initialized",o=t+"track",a=n(54),u=n.n(a),l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.muted,n=void 0!==e&&e,r=t.timeout,i=void 0===r?3e3:r,o=t.source,a=void 0===o?URL.createObjectURL(new Blob([new Uint8Array([0,0,0,28,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,109,112,52,49,0,0,0,8,102,114,101,101,0,0,2,239,109,100,97,116,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,2,194,109,111,111,118,0,0,0,108,109,118,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,232,0,0,0,47,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,236,116,114,97,107,0,0,0,92,116,107,104,100,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,101,100,116,115,0,0,0,28,101,108,115,116,0,0,0,0,0,0,0,1,0,0,0,47,0,0,0,0,0,1,0,0,0,0,1,100,109,100,105,97,0,0,0,32,109,100,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,172,68,0,0,8,0,85,196,0,0,0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0,0,0,1,15,109,105,110,102,0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0,0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1,0,0,0,211,115,116,98,108,0,0,0,103,115,116,115,100,0,0,0,0,0,0,0,1,0,0,0,87,109,112,52,97,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,16,0,0,0,0,172,68,0,0,0,0,0,51,101,115,100,115,0,0,0,0,3,128,128,128,34,0,2,0,4,128,128,128,20,64,21,0,0,0,0,1,244,0,0,1,243,249,5,128,128,128,2,18,16,6,128,128,128,1,2,0,0,0,24,115,116,116,115,0,0,0,0,0,0,0,1,0,0,0,2,0,0,4,0,0,0,0,28,115,116,115,99,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,28,115,116,115,122,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,115,0,0,1,116,0,0,0,20,115,116,99,111,0,0,0,0,0,0,0,1,0,0,0,44,0,0,0,98,117,100,116,97,0,0,0,90,109,101,116,97,0,0,0,0,0,0,0,33,104,100,108,114,0,0,0,0,0,0,0,0,109,100,105,114,97,112,112,108,0,0,0,0,0,0,0,0,0,0,0,0,45,105,108,115,116,0,0,0,37,169,116,111,111,0,0,0,29,100,97,116,97,0,0,0,1,0,0,0,0,76,97,118,102,53,54,46,52,48,46,49,48,49])],{type:"video/mp4"})):o,u=Object.assign(document.createElement("video"),{muted:n,src:a,playsInl
2ine:!0});return new Promise(function(t){var e=function(e){var n=e.result,r=e.timeoutId;u.remove(),u.srcObject=null,clearTimeout(r),t(n)},n=setTimeout(function(){e({result:!1,timeoutId:n})},i);u.play().then(function(){return e({result:!0,timeoutId:n})}).catch(function(){return e({result:!1,timeoutId:n})})})};function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function s(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return y(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],y=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return o=e,u=0,l=t,f.n=n,a}};function p(n,r){for(u=n,l=r,e=0;!y&&c&&!i&&e<s.length;e++){var i,o=s[e],p=f.p,d=o[2];n>3?(i=d===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=t):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,f.v=r,f.n=o[1]):p<d&&(i=n<3||o[0]>r||r>d)&&(o[4]=n,o[5]=r,f.n=d,u=0))}if(i||n>1)return a;throw y=!0,r}return function(i,s,d){if(c>1)throw TypeError("Generator is already running");for(y&&1===s&&p(s,d),u=s,l=d;(e=u<2?t:l)||!y;){o||(u?u<3?(u>1&&(f.n=-1),p(u,l)):f.n=l:f.v=l);try{if(c=2,o){if(u||(i="next"),e=o[i]){if(!(e=e.call(o,l)))throw TypeError("iterator result is not an object");if(!e.done)return e;l=e.value,u<2&&(u=0)}else 1===u&&(e=o.return)&&e.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=t}else if((e=(y=f.n<0)?l:n.call(r,f))!==a)break}catch(e){o=t,u=1,l=e}finally{c=1}}return{value:e,done:y}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}e=Object.getPrototypeOf;var f=[][r]?e(e([][r]())):(y(e={},r,function(){return this}),e),p=c.prototype=u.prototype=Object.create(f);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,y(t,i,"GeneratorFunction")),t.prototype=Object.create(p),t}return l.prototype=c,y(p,"constructor",c),y(c,"constructor",l),l.displayName="GeneratorFunction",y(c,i,"GeneratorFunction"),y(p),y(p,i,"Generator"),y(p,r,function(){return this}),y(p,"toString",function(){return"[object Generator]"}),(s=function(){return{w:o,m:d}})()}function y(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}y=function(t,e,n,r){function o(e,n){y(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},y(t,e,n,r)}function f(t,e,n,r,i,o,a){try{var u=t[o](a),l=u.value}catch(t){return void n(t)}u.done?e(l):Promise.resolve(l).then(r,i)}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,v(r.key),r)}}function d(t,e,n){return(e=v(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}var b=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return e=t,n=null,i=[{key:"init",value:(o=s().m(function e(){var n,i,o,a;return s().w(function(e){for(;;)switch(e.n){case 0:if(n=window.bitmovinSettings?JSON.parse(window.bitmovinSettings):{},i=n.disableMidrolls,o=void 0!==i&&i,t.disableMidrolls=o,t.unmutedAutoplayAllowed){e.n=2;break}return e.n=1,l();case 1:t.unmutedAutoplayAllowed=e.v;case 2:t.playerKey||(a=document.head.querySelector('[property="bm:player_key"]'),t.playerKey=(null==a?void 0:a.getAttribute("content"))||null),document.addEventListener(r,function(){t.unmutedAutoplayAllowed=!0,t.firstInteractionOccurred=!0});case 3:return e.a(2)}},e)}),a=function(){var t=this,e=arguments;return new Promise(function(n,r){var i=o.apply(t,e);function a(t){f(i,n,r,a,u,"next",t)}function u(t){f(i,n,r,a,u,"throw",t)}a(void 0)})},function(){return a.apply(this,arguments)})},{key:"getAdvertisingModules",value:function(){return t.advertisingModules}},{key:"firstInteractionDidOccur",value:function(){return t.firstInteractionOccurred}},{key:"getPlayerKey",value:function(){return t.playerKey}},{key:"isUnmutedAutoplayAllowed",value:function(){return t.unmutedAutoplayAllowed}},{key:"shouldDisableMidrolls",value:function(){return t.disableMidrolls}},{key:"isMobile",value:function(){return!!document.querySelector("html").classList.contains("is-mobile")}},{key:"isPurUser",value:function(){var t;return(document.cookie||"").includes("_cpauthhint=1")||(null===(t=window.localStorage)||void 0===t?void 0:t._cpuser)}}],n&&p(e.prototype,n),i&&p(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,i,o,a}();function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}
2function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function g(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,P(r.key),r)}}function w(t,e,n){return(e=P(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function P(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:e+""}d(b,"firstInteractionOccurred",!1),d(b,"disableMidrolls",null),d(b,"unmutedAutoplayAllowed",null),d(b,"playerKey",null),d(b,"advertisingModules",["advertising-bitmovin","advertising-omsdk"]);var k=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)},n=[{key:"getPlayer",value:function(t,e){return new bitmovin.player.Player(t,e)}},{key:"addAdsModule",value:function(){var t=this;
2this.addedAdsModule||b.getAdvertisingModules().forEach(function(e){var n,r=null===(n=bitmovin.player[e])||void 0===n?void 0:n.default;r&&(bitmovin.player.Player.addModule(r),t.addedAdsModule=!0)})}},{key:"adsModuleExists",value:function(){return this.addedAdsModule}},{key:"buildPlayerUI",value:function(t,e){bitmovin.playerui.UIFactory.buildUI(t,e)}},{key:"getPlayerEvents",value:function(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach(function(e){w(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},bitmovin.player.PlayerEvent)}}],(e=null)&&g(t.prototype,e),n&&g(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();function O(t){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},O(t)}function S(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function I(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach(function(e){E(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,A(r.key),r)}}function E(t,e,n){return(e=A(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function A(t){var e=function(t,e){if("object"!=O(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==O(e)?e:e+""}w(k,"addedAdsModule",!1);var C=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),E(this,"playedOnce",!1),E(this,"initialized",!1),E(this,"replay",!1),E(this,"adPlaying",!1),E(this,"playType","play"),E(this,"initialUnmuteRegistered",!1),this.playerInst=e;var n=e.config.getConfig("autoplay");n&&(this.playType=n.getAutoplayMode());var r=e.getContainer();this.adobeAnalyticsData=r.dataset.adobeAnalytics?JSON.parse(r.dataset.adobeAnalytics):{}}return n=t,a=[{key:"register",value:function(){document.addEventListener(i,function(e){var n=new t(e.detail.player);n.init(),n.trackInitWhenVisible()})}}],(r=[{key:"trackInitWhenVisible",value:function(){var t=this,e=this.playerInst.getContainer(),n=new IntersectionObserver(function(e){e[0].isIntersecting&&(n.disconnect(),t.trackEventWithData(t.playerInst.getCurrentTime(),"init",Date.now()))},{threshold:.5});n.observe(e)}},{key:"init",value:function(){this.addTracking()}},{key:"getPlayerEvents",value:function(){var t=k.getPlayerEvents();return[[t.AdStarted,"ad_start",!0],[t.AdError,"ad_error",!1],[t.AdFinished,"ad_end",!1],[t.AdSkipped,"ad_skip",!1],[t.AdClicked,"ad_click"],[t.Muted,"mute"]]}},{key:"addTracking",value:function(){var t,n=this,r=this.playerInst,i=r.getContainer(),o=k.getPlayerEvents(),a=o.TimeChanged,u=o.ViewModeChanged,l=o.Paused,c=o.PlaybackFinished,s=o.AdBreakStarted,y=o.AdBreakFinished,f=o.Unmuted;i.addEventListener(e,function(t){if(t=I(I({},t),t.detail),n.adPlaying||(n.playedOnce||!n.playerInst.firstInteractionDidOccur())&&"play"===t.type)n.playedOnce&&n.replay?(n.trackEventWithData(t.time,"replay",t.timestamp),n.replay=!1):n.playedOnce&&!n.replay&&n.trackEventWithData(t.time,"resume",t.timestamp);else{var e=t.type;n.trackEventWithData(t.time,e,t.timestamp)}n.playedOnce=!0}),r.on(s,function(t){n.adPlaying=!0}),r.on(y,function(t){n.adPlaying=!1}),r.on(a,function(e){var r=Math.round(e.time);if(r%10==0&&0!==r&&t!==r){var i=n.adPlaying?"ad_pos":"pos";n.trackEventWithData(e.time,i,e.timestamp),t=r}}),r.on(f,function(t){n.initialUnmuteRegistered?n.trackEventWithData(t.time,"unmuted",t.timestamp):n.initialUnmuteRegistered=!0}
2),this.getPlayerEvents().forEach(function(t){r.on(t[0],function(e){n.trackEventWithData(e.time,t[1],e.timestamp)})}),r.on(u,function(t){var e="inline"===r.getViewMode()?"fullscreen_off":"fullscreen_on";n.trackEventWithData(t.time,e,t.timestamp)}),r.on(l,function(t){r.hasEnded()||n.trackEventWithData(t.time,"pause",t.timestamp)}),r.on(c,function(t){n.trackEventWithData(r.getDuration(),"eof",t.timestamp),n.replay=!0})}},{key:"trackEvent",value:function(t,e,n,r){if(this.playerInst.emitEvent(o,{label:t,type:e,timestamp:n}),"undefined"!=typeof utag){var i=I({event_name:"video",event_action:e,event_data:n,play_type:this.playType,media_is_muted:this.playerInst.isMuted(),media_is_autoplay:this.playType.includes("autoplay")},r);["init","play","pause","resume","replay","eof","pos","ad_pos"].includes(e)&&(i.event_label=Math.round(t)),utag.link(i)}}},{key:"trackEventWithData",value:function(t,e,n){this.initialized||(this.initialized=!0),this.trackEvent(t,e,n,this.adobeAnalyticsData)}}])&&j(n.prototype,r),a&&j(n,a),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r,a}(),T="none",_="muted_autoplay",D="restricted",M="paused_manually",U="auto",L="tab_paused",N=t+"muted-autoplay",V=t+"unmuted-autoplay";function x(t){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x(t)}function F(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function W(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?F(Object(n),!0).forEach(function(e){B(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function G(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,q(r.key),r)}}function B(t,e,n){return(e=q(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function q(t){var e=function(t,e){if("object"!=x(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=x(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==x(e)?e:e+""}var R=function(){return t=function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),B(this,"pause",void 0),B(this,"unmute",void 0),B(this,"play",void 0),B(this,"status",null),B(this,"firstInteractionOccurred",!1),B(this,"playBackFinishedOnce",!1),this.playerInst=e,this.config=n,this.pause=e.pause.bind(e),this.play=e.play.bind(e),this.unmute=e.unmute.bind(e),this.wrapPlayerMethods()},n=[{key:"wrapPlayerMethods",value:function(){var t=this,n=function(e,n){return function(){if(t.firstInteractionDidOccur()||(t.setFirstInteractionOccurred(),t.emitEvent(r),!n))return e()}};this.plainUnmute=this.unmute.bind(this),this.override("unmute",n(function(){t.plainUnmute()})),this.plainPlay=this.play.bind(this),this.override("play",n(function(){t.emitEvent(e,{type:"play"}),t.setStatus(U),t.plainPlay()})),this.plainPause=this.pause.bind(this),this.override("pause",n(function(){t.setStatus(M),t.plainPause()},!0))}},{key:"emitEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(""!==t){e=W(W({},e),{},{player:this,time:this.playerInst.getCurrentTime(),timestamp:Date.now(),type:e.type||t});var n=new CustomEvent(t,{detail:e,bubbles:!0,cancelable:!0,composed:!1});this.getContainer().dispatchEvent(n)}}},{key:"getStatus",value:function(){return this.status}},{key:"hasStatus",value:function(t){return t===this.getStatus()}},{key:"setStatus",value:function(t){this.status=t}},{key:"firstInteractionDidOccur",value:function(){return this.firstInteractionOccurred}},{key:"setFirstInteractionOccurred",value:function(){this.firstInteractionOccurred=!0}},{key:"override",value:function(t,e){this.playerInst[t]=e}},{key:"load",value:function(t){return this.playerInst.load(t)}},{key:"setVolume",value:function(t){this.playerInst.setVolume(t)}},{key:"getVolume",value:function(){return this.playerInst.getVolume()}},{key:"scheduleAd",value:function(t){var e;null===(e=this.playerInst.ads)||void 0===e||e.schedule(t)}},{key:"getViewmode",value:function(){return this.playerInst.getViewmode()}},{key:"hasEnded",value:function(){return this.playerInst.hasEnded()}},{key:"getDuration",value:function(){return this.playerInst.getDuration()}},{key:"isLive",value:function(){return this.playerInst.isLive()}},{key:"getContainer",value:function(){return this.playerInst.getContainer()}},{key:"isPlaying",value:function(){return this.playerInst.isPlaying()}},{key:"getCurrentTime",value:function(){return this.playerInst.getCurrentTime()}},{key:"isMuted",value:function(){return this.playerInst.isMuted()}},{key:"on",value:function(t,e){this.playerInst.on(t,e)}}],n&&G(t.prototype,n),i&&G(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,i}();function K(t){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},K(t)}function z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,J(r.key),r)}}function $(t,e,n){return(e=J(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function J(t){var e=function(t,e){if("object"!=K(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=K(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==K(e)?e:e+""}var Y={buffer:{video:{forwardduration:12}},ui:!1,style:{width:"100%",aspectratio:"16/9"},analytics:!1,storage:{disableStorageApi:!0},playback:{muted:!1,volume:50}},H={metadata:{}},Q=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),$(this,"container",null),$(this,"config",{}),this.container=e,this.config={player:Y},this.config.player.key=b.getPlayerKey()},e=[{key:"getContainer",value:function(){return this.container}},{key:"getConfig",value:function(t){return this.config[t]||null}},{key:"getPlayerConfig",value:function(){return this.config.player}},{key:"getUIConfig",value:function(){return H}},{key:"getSourceConfig",value:function(){var t=this.container.dataset,e=t.posterImageUrl,n=void 0===e?"":e,r=t.videoLink,i=void 0===r?"":r,o=t.recommendations,a=void 0===o?"[]":o,u=[];try{u=JSON.parse(a)}catch(t){console.error("Error parsing recommendations:",t)}return $($({poster:n},i.includes(".m3u8")?"hls":"progressive",i),"recommendations",u)}},{key:"setPlayerVolume",value:function(t){this.config.player.volume=t}},{key:"isFeatured",value:function(){return!!this.container.dataset.featured}},{key:"apply",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=0,i=e;r<i.length;r++){var o=i[r];this.config=o.apply(this.config,this)}}}],e&&z(t.prototype,e),n&&z(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();function X(t){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},X(t)}function Z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,tt(r.key),r)}}function tt(t){var e=function(t,e){if("object"!=X(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=X(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==X(e)?e:e+""}var et=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.playerInst=e}return e=t,n=[{key:"adsEnabled",value:function(){return!b.isPurUser()&&this.getInvCode()&&k.adsModuleExists()}},{key:"getInvCode",value:function(){var t=this.playerInst.getContainer().dataset,e=t.invCodeMobile,n=t.invCodeDesktop;return b.isMobile()?e:n}},{key:"getPageName",value:function(){return this.playerInst.getContainer().dataset.pageName}},{key:"getAdBreak",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=this.playerInst.getContainer(),r=this.getPageName(),i=this.getInvCode(),o=encodeURIComponent(document.URL),a=parseInt(n.clientWidth),u=9*a/16;return i?{tag:{url:"https://ib.adnxs.com/ptv?member=7823&inv_code=".concat(i,"-").concat(r,"-").concat(t,"roll")+"&vwidth=".concat(a,"&vheight=").concat(u,"&vplaybackmethod=3&kw_vidContentId=&kw_misc=&referrer=").concat(o),type:"vast"},id:t+"roll-1",position:""===e?t:e}:null}}],r=[{key:"apply",value:function(e,n){var r=n.getContainer(),i=new t(n);return i.adsEnabled(r)?(e.player.advertising={disableStorageApi:!0,allowedUiElements:["adAttribution","countdown"],adBreaks:[i.getAdBreak("post")],trackers:{omSdk:{partnerName:"AxelSpringer",partnerVersion:"1.3.28"}}},e.ads=i,e):e}}],n&&Z(e.prototype,n),r&&Z(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,r}();function nt(t){return nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nt(t)}function rt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ot(r.key),r)}}function it(t,e,n){return(e=ot(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ot(t){var e=function(t,e){if("object"!=nt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=nt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
2(t,"string");return"symbol"==nt(e)?e:e+""}var at=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),it(this,"playerInst",null),it(this,"scheduleAdOnNextPlay",!1),this.playerInst=e,this.config=n}return e=t,o=[{key:"register",value:function(){b.isPurUser()||(k.addAdsModule(),document.addEventListener(i,function(e){var n=e.detail.player,r=n.config.getConfig("ads");null!=r&&r.adsEnabled()&&new t(n,r).init()}))}}],(n=[{key:"init",value:function(){var t=this;if(!b.isPurUser()){var e=this.playerInst.getContainer(),n=this.playerInst.getDuration(),i=this.playerInst.isLive();n>480&&!b.shouldDisableMidrolls()&&!i&&this.playerInst.scheduleAd(this.config.getAdBreak("mid","50%")),e.addEventListener(r,function(e){e.detail.player.scheduleAd(t.config.getAdBreak("pre"))});var o=k.getPlayerEvents(),a=o.PlaybackFinished,u=o.Play;this.playerInst.on(a,function(){t.scheduleAdOnNextPlay=!0}),this.playerInst.on(u,function(){t.scheduleAdOnNextPlay&&(t.playerInst.scheduleAd(t.config.getAdBreak("pre")),t.scheduleAdOnNextPlay=!1)})}}}])&&rt(e.prototype,n),o&&rt(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,o}();function ut(t){return ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ut(t)}function lt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ct(r.key),r)}}function ct(t){var e=function(t,e){if("object"!=ut(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=ut(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ut(e)?e:e+""}var st=function(){function t(e){var n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,i=null,(r=ct(r="playerInst"))in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,this.playerInst=e}return e=t,n=[{key:"getAutoplayMode",value:function(){return b.firstInteractionDidOccur()?_:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.referrer,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.location,n=u()(t)&&new URL(t).origin===e.origin,r=["bild.de","facebook.com","book.de"].some(function(e){return t.includes(e)});return n||r||""===t}()?(this.playerInst.isFeatured()&&b.isUnmutedAutoplayAllowed(),_):T}}],r=[{key:"apply",value:function(e,n){var r=new t(n),i=r.getAutoplayMode();return e.player.playback.muted="unmuted_autoplay"!==i,e.autoplay=r,e}}],n&<(e.prototype,n),r&<(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,r}();function yt(t){return yt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yt(t)}function ft(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,pt(r.key),r)}}function pt(t){var e=function(t,e){if("object"!=yt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=yt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==yt(e)?e:e+""}var dt=function(){function t(e,n){var r,i,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r=this,o=null,(i=pt(i="mode"))in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,this.playerInst=e,this.mode=n.getAutoplayMode(),this.playerInst.setStatus(this.mode===T?D:U)}return n=t,a=[{key:"register",value:function(){document.addEventListener(i,function(e){var n=e.detail.player;new t(n,n.config.getConfig("autoplay")).init()})}}],(o=[{key:"init",value:function(){this.unmuteOnFirstInteraction(),this.enableTabSwitchAutoplay(),this.enableAutoplayOnSight(),this.stopPlayerOnSiblingPlay(),this.setVolume()}},{key:"unmuteOnFirstInteraction",value:function(){var t=this;this.playerInst.getContainer().addEventListener(r,function(){return t.onFirstInteraction()})}},{key:"enableAutoplayOnSight",value:function(){var t=this,e={root:document,threshold:.5};new IntersectionObserver(function(e){var n;return t.onVisibilityChange(!(null===(n=e[0])||void 0===n||!n.isIntersecting))},e).observe(this.playerInst.getContainer())}},{key:"enableTabSwitchAutoplay",value:function(){var t=this;document.addEventListener("visibilitychange",function(){return t.onTabVisibilityChange()})}},{key:"stopPlayerOnSiblingPlay",value:function(){var t=this;[V,N,e].forEach(function(e){document.addEventListener(e,function(e){t.playerInst.getContainer()!==e.target&&t.pause()})})}},{key:"setVolume",value:function(){this.mode===_&&this.playerInst.setVolume(0)}},{key:"onFirstInteraction",value:function(){this.playerInst.isMuted()&&(this.playerInst.emitEvent(e,{type:"muted_autoplay"}),this.playerInst.setVolume(50),this.playerInst.plainUnmute())}},{key:"onVisibilityChange",value:function(t){t?this.play():this.pause()}},{key:"onTabVisibilityChange",value:function(){document.hidden&&this.playerInst.isPlaying()?(this.pause(),this.playerInst.setStatus(L)):!document.hidden&&this.playerInst.hasStatus(L)&&(this.playerInst.setStatus(U),this.play())}},{key:"play",value:function(){var t="play";this.playerInst.hasStatus(M)||this.playerInst.hasStatus(D)&&!this.playerInst.firstInteractionDidOccur()||(this.playerInst.firstInteractionDidOccur()||this.playerInst.isMuted()||(t="unmuted_autoplay"),this.playerInst.hasEnded()||(console.log("play"===t?"AUTO PLAY":"UNMUTED AUTO PLAY"),this.playerInst.emitEvent(e,{type:t}),this.playerInst.plainPlay()))}},{key:"pause",value:function(){this.playerInst.plainPause()}}])&&ft(n.prototype,o),a&&ft(n,a),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,a}();function vt(t){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(t)}function bt(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function o(n,r,i,o){var l=r&&r.prototype instanceof u?r:u,c=Object.create(l.prototype);return mt(c,"_invoke",function(n,r,i){var o,u,l,c=0,s=i||[],y=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return o=e,u=0,l=t,f.n=n,a}};function p(n,r){for(u=n,l=r,e=0;!y&&c&&!i&&e<s.length;e++){var i,o=s[e],p=f.p,d=o[2];n>3?(i=d===r)&&(l=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=t):o[0]<=p&&((i=n<2&&p<o[1])?(u=0,f.v=r,f.n=o[1]):p<d&&(i=n<3||o[0]>r||r>d)&&(o[4]=n,o[5]=r,f.n=d,u=0))}if(i||n>1)return a;throw y=!0,r}return function(i,s,d){if(c>1)throw TypeError("Generator is already running");for(y&&1===s&&p(s,d),u=s,l=d;(e=u<2?t:l)||!y;){o||(u?u<3?(u>1&&(f.n=-1),p(u,l)):f.n=l:f.v=l);try{if(c=2,o){if(u||(i="next"),e=o[i]){if(!(e=e.call(o,l)))throw TypeError("iterator result is not an object");
2if(!e.done)return e;l=e.value,u<2&&(u=0)}else 1===u&&(e=o.return)&&e.call(o),u<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=t}else if((e=(y=f.n<0)?l:n.call(r,f))!==a)break}catch(e){o=t,u=1,l=e}finally{c=1}}return{value:e,done:y}}}(n,i,o),!0),c}var a={};function u(){}function l(){}function c(){}e=Object.getPrototypeOf;var s=[][r]?e(e([][r]())):(mt(e={},r,function(){return this}),e),y=c.prototype=u.prototype=Object.create(s);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,mt(t,i,"GeneratorFunction")),t.prototype=Object.create(y),t}return l.prototype=c,mt(y,"constructor",c),mt(c,"constructor",l),l.displayName="GeneratorFunction",mt(c,i,"GeneratorFunction"),mt(y),mt(y,i,"Generator"),mt(y,r,function(){return this}),mt(y,"toString",function(){return"[object Generator]"}),(bt=function(){return{w:o,m:f}})()}function mt(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}mt=function(t,e,n,r){function o(e,n){mt(t,e,function(t){return this._invoke(e,n,t)})}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},mt(t,e,n,r)}function ht(t,e,n,r,i,o,a){try{var u=t[o](a),l=u.value}catch(t){return void n(t)}u.done?e(l):Promise.resolve(l).then(r,i)}function gt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,wt(r.key),r)}}function wt(t){var e=function(t,e){if("object"!=vt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=vt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==vt(e)?e:e+""}const Pt=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)},e=[{key:"initPlayers",value:(r=bt().m(function t(e){var n,r=this;return bt().w(function(t){for(;;)switch(t.n){case 0:n=document.querySelectorAll(e),[at,C,dt].forEach(function(t){return t.register()}),n.forEach(function(t){return r.initPlayer(t)});case 1:return t.a(2)}},t)}),o=function(){var t=this,e=arguments;return new Promise(function(n,i){var o=r.apply(t,e);function a(t){ht(o,n,i,a,u,"next",t)}function u(t){ht(o,n,i,a,u,"throw",t)}a(void 0)})},function(t){return o.apply(this,arguments)})},{key:"initPlayer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=new Q(t);-1!==e&&n.setPlayerVolume(e),n.apply(et,st);var r=this.createNativePlayerInst(t,n),o=new R(r,n),a=n.getSourceConfig();o.load(a).then(function(){o.emitEvent(i)},function(t){return console.log("Error while loading player source config: ",t)})}},{key:"createNativePlayerInst",value:function(t,e){var n=k.getPlayer(t,e.getPlayerConfig()),r=e.getUIConfig();return k.buildPlayerUI(n,r),n}}],e&>(t.prototype,e),n&>(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n,r,o}();function kt(t){return function(t){if(Array.isArray(t))return Ot(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Ot(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ot(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}document.addEventListener(i,function(t){var e;if("undefined"!=typeof bitmovin){var n=new Pt,r=null===(e=t.detail)||void 0===e?void 0:e.player,i=null==r?void 0:r.getContainer(),o=null==i?void 0:i.closest('[data-type="video"]'),a=null==o?void 0:o.querySelector('[data-type="teaser-slider"]'),u=null==a?void 0:a.querySelectorAll("article"),l=["border","border-primary-subtle","border-5"];if(u&&!((null==u?void 0:u.length)<1)){var c,s;if(-1===kt(u).findIndex(function(t){return t.dataset.isPlaying}))u[0].dataset.isPlaying=!0,null===(c=u[0])||void 0===c||null===(c=c.querySelector("figure > img"))||void 0===c||(s=c.classList).add.apply(s,l);null==r||r.on(bitmovin.player.PlayerEvent.PlaybackFinished,function(t){var e,o,a,c,s=kt(u).findIndex(function(t){return t.dataset.isPlaying});if(null===(e=u[s])||void 0===e||null===(e=e.dataset)||void 0===e||delete e.isPlaying,null===(o=u[s])||void 0===o||null===(o=o.querySelector("figure > img").classList)||void 0===o||o.remove.apply(o,l),null!=u&&u[s+1]){var y=u[s+1];i.dataset.posterImageUrl=y.dataset.posterImageUrl,i.dataset.videoLink=y.dataset.videoLink,y.dataset.isPlaying=!0,null==y||null===(a=y.querySelector("figure > img"))||void 0===a||(c=a.classList).add.apply(c,l),n.initPlayer(i,r.getVolume())}})}}})})()})();
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.