var __SPOTIM__="object"==typeof __SPOTIM__?__SPOTIM__:{};__SPOTIM__.apps=function(e){function t(t){for(var r,n,a=t[0],c=t[1],i=0,d=[];i<a.length;i++)n=a[i],o[n]&&d.push(o[n][0]),o[n]=0;for(r in c)Object.prototype.hasOwnProperty.call(c,r)&&(e[r]=c[r]);for(s&&s(t);d.length;)d.shift()()}var r={},o={0:0};function n(t){if(r[t])return r[t].exports;var o=r[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var a=new Promise(function(t,n){r=o[e]=[t,n]});t.push(r[2]=a);var c,i=document.createElement("script");i.charset="utf-8",i.timeout=120,n.nc&&i.setAttribute("nonce",n.nc),i.src=function(e){return n.p+""+({}[e]||e)+"-bundle-"+{1:"396f4ca39e83081ea632",2:"f1d5978073aaee5fce1b",3:"41914bcc7236efbab523",4:"cb9e98238c09c114b714",5:"44c12d30bc171336b9d5",6:"e588dc2cb32ad6281fa6",7:"e9a461291be6f715eb8f",8:"3f80e8a7db77a3722b43",9:"60ad47a49d8ede8321d0",10:"17dcf14349328b1a76dd",11:"bd583cd9853d93d64e15"}[e]+".js"}(e);var s=new Error;c=function(t){i.onerror=i.onload=null,clearTimeout(d);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+n+": "+a+")",s.name="ChunkLoadError",s.type=n,s.request=a,r[1](s)}o[e]=void 0}};var d=setTimeout(function(){c({type:"timeout",target:i})},12e4);i.onerror=i.onload=c,document.head.appendChild(i)}return Promise.all(t)},n.m=e,n.c=r,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="https://static-cdn.spot.im/production/broadcast/tags/v1.1.0/",n.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var i=0;i<a.length;i++)t(a[i]);var s=c;return n(n.s="./src/broadcast-fetcher.ts")}({"./src/broadcast-fetcher.ts":function(e,t,r){"use strict";r.r(t);var o=r("@spotim/config-provider"),n=r.n(o);function a(e){!function(){const e=document.createElement("link");e.href="https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap",e.rel="stylesheet",document.head.appendChild(e)}();try{Promise.all([r.e(1),r.e(2)]).then(r.bind(null,"./src/boot.tsx")).then(t=>{t.spotimShowBroadcast(e)})}catch(e){console.log("Unable to lazy load..."),console.log(e)}}!function(){var e=new XMLHttpRequest;const t=n.a.get("spotId"),r=n.a.get("api"),o=n.a.get("queryParams.TEAM_ROUTE")||"v1.0.0";e.addEventListener("readystatechange",t=>{if(4==t.target.readyState&&200==t.target.status){const t=JSON.parse(e.responseText);t&&t.active_broadcast&&!function(e){return"true"===localStorage.getItem(`SPOTIM_BROADCAST_${e.broadcast_item_id}_DISMISSED`)}(t.active_broadcast)&&a(t.active_broadcast)}}),e.open("GET",`${r}${o}/broadcasts/broadcasts/${t}`),e.send()}()},"@spotim/config-provider":function(e,t){e.exports=window.__SPOTIM__.SERVICES.configProvider},"@spotim/request":function(e,t){e.exports=window.__SPOTIM__.lib.request},classnames:function(e,t){e.exports=window.__SPOTIM__.lib.classnames},react:function(e,t){e.exports=window.__SPOTIM__.lib.react},"react-dom":function(e,t){e.exports=window.__SPOTIM__.lib.ReactDom},"react-redux":function(e,t){e.exports=window.__SPOTIM__.lib.reactRedux}});