1function makePlayer(e,t){const n=console.log;let i,r;"string"==typeof e&&(e=document.querySelector(e));let a,o,s,l="",c=0,u={};const d=/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;if(d){const e=navigator.userAgent.match(/Version\/(\d+)/)||navigator.userAgent.match(/OS (\d+)(?:_\d+)?/);e&&(c=parseInt(e[1]))}const p=[240,360,720,1080,2160],h=[.75,1,1.25,1.5,2],f=!!navigator.userAgent.match(/^(?!.*chrome).+safari/i),g="https://"+(t.domain?t.domain:"skiv.com"),m="https://search."+(t.domain?t.domain:"skiv.com"),y="https://metrics."+(t.domain?t.domain:"skiv.com"),v=Math.random().toString(36).slice(2,12);!function(e){const t=["pt","fr"];if(!t.includes(e))return{};const n=t.indexOf(e)+1;u=Object.fromEntries([["Search","Pesquisar","Rechercher"],["Search in this video","Pesquisar neste vÃdeo","Rechercher dans cette vidéo"],["Quality","Qualidade","Qualité"],["Speed","Velocidade","Vitesse"],["Close","Fechar","Fermer"],["Clear","Limpar","Vider"],["Settings","Configurações","Paramètres"],["Share","Partilhar","Partager"],["Download","Baixar","Télécharger"],["Password","Senha","Mot de passe"],["Password required","Senha requerida","Mot de passe requis"],["Fullscreen","Tela cheia","Plein écran"],["See on Skiv","Veja no Skiv","Voir sur Skiv"],["Continue","Continuar","Continuer"],["Back","Voltar","Retour"],["Play","Reproduzir","Lecture"],["Pause","Pausar","Pause"],["Volume","Volume","Volume"],["Current time","Tempo actual de vÃdeo","Temps actuel"],["Full duration","Duração total do vÃdeo","Durée totale"],["Casting to a remote device","Lançá para um dispositivo próximo.","Caster sur un appareil à proximité"],["Next result","Próximo resultado","Résultat suivant"],["Previous result","Resultado anterior","Résultat précédent"],["Viewer discretion is advised.","A discrição do espectador é recomendada.","La discrétion du spectateur est recommandée."],["This video may contain offensive or misleading content and is only intended for mature audiences.","Este vÃdeo pode conter conteúdo ofensivo ou enganoso e destina-se apenas ao público adulto.","Cette vidéo peut contenir du contenu offensant ou trompeur et est uniquement destinée à un public adulte."],["Watch anyway","Assistir de qualquer maneira","Regarder quand même"],["Loading results","Carregando resultados","Chargement des résultats"],["Center window","Centralize a janela","Centrer la fenêtre"],["Cinema mode","Modo cinema","Mode cinéma"],["Video unavailable.","VÃdeo indisponÃvel","Vidéo indisponible"],["This video either does not exist or the owner has made it private.","Este vÃdeo não existe ou o proprietário o tornou privado.","Cette vidéo n'existe pas ou le propriétaire l'a rendue privée."],["Converting to a universally supported format.","Convertendo para um formato suportado universalmente.","Conversión a un formato compatible universalmente."],["Lower resolutions will be available first followed by higher resolutions.","As resoluções mais baixas estarão disponÃveis primeiro seguidas pelas resoluções mais altas.","Les basses résolutions seront disponibles en premier, suivies des hautes résolutions."],["Transcript","Transcrição","Transcription"],["Subtitles","Legendas","Sous-titres"],["subtitles�Off","Desligadas","Désactivé"],["subtitles�On","Ligadas","Activé"],["Skip","Saltar","Passer"]].map(e=>[e[0],e[n]]))}(t.locale||"en"),function(){const t=d?"autoplay":"";let n="";for(let e of h)n+=`<button class="option playback-speed" data-value="${e}">${e}</button>`;C(e,`\n<div hidden class="video-container loading">\n <a class="player-title" target="_blank" hidden tabindex="-1"></a>\n <div class="player-cover-search" title="${J("Search in this video")}"><i class='icon-m-player-search'></i><span class="text">${J("Search")}</span><div style="visibility: hidden;">${J("Search")}</div></div>\n <div class="player-cover">\n <div class="player-cover-bottom-scrim"></div>\n <button class="player-cover-play" title="${J("Play")}"></button>\n <a href="${g}" target="_blank" class="player-cover-logo"></a>\n <a target="_blank" class="player-logo-custom logo-cover"><img></a>\n </div>\n <div class="player-scrim-top"></div>\n <div class="player-scrim-bottom"></div>\n <div class="buffering-overlay"></div>\n <button class="m-btn-ghost player-control player-control-back hide" title="${J("Back")}"><i class='icon-m-arrow-back'></i></button>\n <button class="m-btn-ghost player-control player-control-close hide circle no-label" title="${J("Close")}"><i class="icon-m-player-close"></i></button>
1\n <div class="searchbar-player-container" hidden>\n <input class="searchbar-player" name="search" size="1" type="text" autocomplete="off" autocapitalize="none" placeholder="${J("Search")}">\n <button class="searchbar-clear" title="${J("Clear")}" tabindex="-1"><i class='icon-m-player-close'></i></button>\n <div style="visibility: hidden; height: 0;">${J("Search")}</div>\n <div class="spinner search" title="${J("Loading results")}">\n <div class="inner"></div>\n <div class="outer"></div>\n </div>\n <div class="searchbar-player-controls">\n <button class="searchbar-prev" title="${J("Previous result")}"><i class='icon-m-player-caret-left'></i></button>\n <button class="searchbar-next" title="${J("Next result")}"><i class='icon-m-player-caret-right'></i></button>\n </div>\n </div>\n <div class="video-content">\n <video preload="auto" class="video-element" playsinline x-webkit-airplay="allow" ${t} crossorigin="use-credentials" tabindex="-1">\n Your browser does not support the video tag.\n </video>\n <img class="video-poster" loading="lazy"></img>\n <div class="casting-info"><span><i class='icon-m-player-chromecast'></i> ${J("Casting to a remote device")}</span></div>\n <div class="curation-boxes speech-boxes always-hidden"></div>\n <div class="curation-boxes sound-boxes labels-only"></div>\n <div class="curation-boxes object-boxes"></div>\n <div class="curation-boxes text-boxes"></div>\n <div class="curation-boxes action-boxes"></div>\n </div>\n <div class="video-ad"></div>\n <div class="progress-bar-container mobile"><div class="seeker"></div></div>\n <div class="video-seekbar-thumbnail" style="display:none">\n <div class="container-thumbnail">\n <canvas></canvas>\n </div>\n <span class="video-seekbar-thumbnail-timestamp"></span>\n <span class="video-seekbar-chapter-title"></span>\n </div>\n <div class="player-controls-mobile">\n <a href="${g}" class="player-overlay-logo nav"></a>\n <button class="player-play player-play-mobile"><i class="icon-m-player-play"></i></button>\n <div class="time-container">
1\n <span class="current-time"></span><span class="full-duration"></span>\n </div>\n <div class="player-controls-mobile-right">\n <button class="player-control player-control-description"><i class='icon-m-player-chapters'></i></button>\n <button class="player-down" title="${J("Download")}" hidden><i class='icon-m-player-download'></i></button>\n <button class="player-control player-control-volume player-volume hide"><i class="icon-m-player-volume3"></i></button>\n <button class="player-control player-control-airplay hide"><i class='icon-m-player-airplay'></i></button>\n <button class="player-control player-control-chromecast hide"><i class='icon-m-player-chromecast chromecast-off'></i><i class='icon-m-player-chromecast-on chromecast-on'></i></button>\n <button class="player-share" title="${J("Share")}"><i class='icon-m-player-share'></i></button>\n <button class="player-control player-control-subtitles hide" title="${J("Subtitles")}"><i class='icon-m-player-subtitles'></i><i class='icon-m-player-subtitles-on'></i></button>\n <button class="player-control player-control-settings hide"><i class='icon-m-player-settings'></i></button>\n <button class="player-control player-control-fullscreen hide"><i class='icon-m-player-fullscreen'></i></button>\n <a href="${g}" target="_blank" class="player-logo"><i class='icon-m-player-logo-full'></i></a>\n </div>\n <div class="rew-clickable"></div>\n <div class="fwd-clickable"></div>\n </div>\n\n <div class="player-controls-mobile-ad">\n <a class="player-play"><i class="icon-m-player-play"></i></a>\n <div class="time-container">\n <span class="current-time"></span><span class="full-duration"></span>\n </div>\n <div class="player-controls-mobile-right">\n <button class="player-control player-control-description"><i class='icon-m-player-chapters'></i></button>\n <button class="player-control player-control-volume player-volume hide"><i class="icon-m-player-volume3"></i></button>\n <button class="player-control player-control-airplay hide"><i class='icon-m-player-airplay'></i></button>\n <button class="player-control player-control-chromecast hide"><i class='icon-m-player-chromecast chromecast-off'></i><i class='icon-m-player-chromecast-on chromecast-on'></i></button>\n <button class="player-control player-control-fullscreen hide"><i class='icon-m-player-fullscreen'></i></button>\n <a href="${g}" target="_blank" class="player-logo"><i class='icon-m-player-logo-full'></i></a>\n </div>\n </div>\n\n <div class="player-controls-desktop no-invert jc-sb" hidden>\n <div class="progress-bar-container"></div>\n <div class="player-controls-left d-f jc-sb ai-c">\n <button class="player-play player-play-desktop" title="${J("Play")} / ${J("Pause")}"><i class='icon-m-player-play'></i></button>\n <div class="time-container">\n <span class="current-time" title="${J("Current time")}"></span><span class="full-duration" title="${J("Full duration")}"></span>\n </div>\n <div class="vol-control-container player-control player-control-volume hide d-f jc-sb ai-c" title="${J("Volume")}">\n <button class="player-volume"><i class='icon-m-player-volume3'></i></button>\n <input class="m-slider volume vol-control" type="range" min="0" max="1" step="0.01">\n </div>\n </div>\n <div class="player-controls-right d-f jc-sa ai-c">\n <button class="player-control player-control-description" title="${J("Description")}"><i class='icon-m-player-chapters'></i></button>\n <button class="player-down" title="${J("Download")}" hidden><i class='icon-m-player-download'></i></button>\n <button class="player-control player-control-airplay hide" title="Airplay"><i class='icon-m-player-airplay'></i></button>\n <google-cast-launcher class="cast-button cast-launcher" title="Cast"></google-cast-launcher>\n <button class="player-control player-control-chromecast hide"><i class='icon-m-player-chromecast chromecast-off'></i><i class='icon-m-player-chromecast-on chromecast-on'></i></button>\n <button class="player-share" title="${J("Share")}"><i class='icon-m-player-share'></i></button>\n <button class="player-control player-control-subtitles hide" title="${J("Subtitles")}"><i class='icon-m-player-subtitles'></i><i class='icon-m-player-subtitles-on'></i></button>
1\n <button class="player-control player-control-settings hide" title="${J("Settings")}"><i class='icon-m-player-settings'></i></button>\n <button class="player-control player-control-center hide" title="${J("Center window")}"><i class='icon-m-player-center'></i></button>\n <button class="player-control player-control-expand hide" title="${J("Cinema mode")}"><i class='cinema-off icon-m-player-expand'></i><i class='cinema-on icon-m-player-shrink'></i></button>\n <button class="player-control player-control-fullscreen hide" title="${J("Fullscreen")}"><i class='icon-m-player-fullscreen'></i></button>\n <a href="${g}" target="_blank" class="player-logo" title="${J("See on Skiv")}"><i class='icon-m-player-logo-full'></i></a>\n <a target="_blank" class="player-logo-custom"><img></a>\n </div>\n </div>\n <div class="settings-panel" hidden>\n <div class="container settings-control settings-subtitles">\n <button class="settings-panel-header header-subtitles"><span>${J("Subtitles")}</span><span class="subtitles-current">${$("subtitles","Off")}</span></button>\n <div class="scroll-container"><div class="subtitles-list"></div></div>\n </div>\n <div class="container settings-control settings-quality">\n <button class="settings-panel-header header-quality"><span>${J("Quality")}</span><span class="quality-current"></span></button>\n <div class="scroll-container scroll-container-quality" tabindex="-1"><div class="quality"></div></div>\n </div>\n <div class="container settings-control settings-speed">\n <button class="settings-panel-header header-speed"><span>${J("Speed")}</span><span class="speed-current">1x</span></button>\n <div class="scroll-container">\n <div class="speed">\n ${n}\n </div>\n </div>\n </div>\n <div class="container slider translate">\n <button class="settings-panel-header header-translate">\n <span class="back"><i class="icon-m-caret-small"></i></span>\n <span>${J("Translate")}</span>\n </button>\n <div class="scroll-container"><div class="translate-list"></div></div>\n </div>\n </div>\n <div class="download-panel" hidden>\n <div class="settings-panel-header download-video">\n <span>Video</span>\n <span><i class='icon-m-player-down'></i></span>\n </div>\n <div class="settings-panel-header download-transcript">\n <span>${J("Transcript")}</span>\n <span><i class='icon-m-player-down'></i></span>\n </div>\n </div>\n <div class="subtitles"><span></span></div>\n <div class="volume-indicator" hidden><div class="volume-indicator-level"></div></div>\n <span class="player-chapter-title" hidden></span>\n <div class="rew-overlay" hidden>\n <span class="rew-msg">\n <i class='icon-m-player-fast-back'></i><span class="rew-msg-text">5s</span>\n </span>\n </div>\n <div class="info-box">\n <div class="info-row fid"></div><div class="info-row resc"></div><div class="info-row res"></div>\n <div class="info-row bandwidth"></div><div class="info-row cdn"></div>\n <div class="info-close"></div>\n </div>\n <div class="fwd-overlay" hidden>\n <span class="fwd-msg">\n <span class="fwd-msg-text">5s</span><i class='icon-m-player-fast-forward'></i>\n </span>\n </div>\n <a class="minify"><i class="icon-m-player-caret-up"></i></a>\n <div class="player-overlay overlay-share" hidden>\n <div class="close-overlay-share"><i class="icon-m-player-close"></i></div>\n <div class="row-share">\n <a class="share-social whatsapp"><i class="icon-m-player-whatsapp"></i></a>\n <a class="share-social facebook" target="_blank"><i class="icon-m-player-facebook"></i></a>\n <a class="share-social twitter" target="_blank"><i class="icon-m-player-twitter"></i></a>\n <a class="share-social reddit" target="_blank"><i class="icon-m-player-reddit"></i></a>\n <a class="share-social open-native-share"><i class="icon-m-player-more"></i></a>\n </div>\n <div class="player-link-box">\n <div class="link-box-textarea"><span class="url-share"></span></div>\n <button class="btn-share-copy"><i></i>Copy</button>\n </div>\n </div>\n <div class="player-overlay overlay-transcoding" hidden>\n <div class="content-overlay">\n <p class="header-player-overlay"><i class='icon-m-player-warning'></i>${J("Converting to a universally supported format.")}</p><p>${J("Lower resolutions will be available first, followed by higher resolutions.")}</p>\n </div>\n </div>\n <div class="player-overlay overlay-unavailable" hidden>\n <div class="content-overlay">\n <p class="header-player-overlay"><i class='icon-m-player-warning'></i>${J("Video unavailable.")}</p><p>${J("This video either does not exist, or the owner has made it private.")}</p>\n </div>\n </div>\n <div class="player-overlay overlay-password" hidden>\n <div class="content-overlay">\n <p class="header-player-overlay"><i class='icon-m-player-lock'></i>${J("Password required")}</p>\n <input class="password-video m-input" type="password" placeholder="${J("Password")}" name="password-video">
1\n <span class="psw-error"></span>\n <button class="m-btn m-btn-overlay"><i class='icon-m-player-key'></i>${J("Continue")}</button>\n </div>\n </div>\n <div class="player-overlay overlay-cta" hidden>\n <div class="close-overlay-cta">${J("Skip")} <i class="icon-m-player-caret-right"></i></div>\n <div class="content-overlay">\n <p class="header-player-overlay cta-title"></p>\n <p class="cta-text"></p>\n <div class="cta-form"></div>\n <a class="m-btn m-btn-overlay cta-btn first" target="_blank"></a>\n <a class="m-btn m-btn-overlay cta-btn second" target="_blank"></a>\n </div>\n </div>\n <div class="player-overlay overlay-warning" hidden>\n <div class="content-overlay">\n <p class="header-player-overlay"><i class='icon-m-player-warning'></i>${J("Viewer discretion is advised.")}</p><p>${J("This video may contain offensive or misleading content, and is only intended for mature audiences.")}</p>\n <button class="btn-watch-anyway m-btn m-btn-overlay">${J("Watch anyway")}</button>\n </div>\n </div>\n <div class="player-description"></div>\n</div>`)}();const b=e.querySelector(".video-element"),A=e.querySelector(".video-content"),w=e.querySelector(".video-container"),x=new shaka.Player;function k(e){return w.querySelectorAll(e)}function T(e){return w.querySelector(e)}function C(e,t,n){e.insertAdjacentHTML(n?"afterbegin":"beforeend",t)}x.attach(b),x.configure({abr:{defaultBandwidthEstimate:55e5,advanced:{minBytes:32e3}},streaming:{bufferingGoal:30,rebufferingGoal:2,bufferBehind:30,useNativeHlsOnSafari:!0},manifest:{retryParameters:{timeout:0,baseDelay:1e3,backoffFactor:1.5,fuzzFactor:.5}}}),x.getNetworkingEngine().registerRequestFilter(function(e,t){t.allowCrossSiteCredentials=!0}),x.getNetworkingEngine().registerResponseFilter(function(e,t){if(!t.fromBuffer&&t.uri.includes("dash.mpd")){const e=Math.min(8*t.data.byteLength/t.timeMs*1e3*80,45e5);x.configure({abr:{defaultBandwidthEstimate:e}})}}),x.addEventListener("error",function(e,t){let n;return function(){n||(n=!0,e.apply(this,arguments),setTimeout(()=>n=!1,t))}}(function(e){if(console.warn("Streaming error: ",e,e.data,e.detail),x.retryStreaming(),void 0===e.detail)return void Ue();let t=b.currentTime;setTimeout(function(){if(n("Check for reset",b.readyState,x.getLoadMode(),t,b.currentTime),ke&&b.readyState<4&&b.currentTime-t<2){console.warn("Stream retry failed, reloading");const t=e.detail&&e.detail.data?e.detail.data:[],n=t.length>2&&"string"==typeof t[2]?t[2]:"";Qe(ye,{retry:!0,time:b.currentTime+2,forceDirect:n.includes("DECODER_ERROR")})}},5e3)},5e3));const E=T(".video-seekbar-thumbnail"),S=T(".progress-bar-container .seeker"),L=k(".player-share"),M=T(".video-poster"),I=T(".video-ad"),D=k(".current-time"),R=k(".full-duration"),N=k(".progress-bar-container"),P=T(".searchbar-player"),j=T(".info-box"),V=T(".subtitles span"),H={},B={loop:!1,lazy:!0,autoplay:!1,title:!1,search:!0,embedded:!1,controls:[],controlsSettings:[],links:!0,logo:!1,share:!1,volume:null,widthMax:"parent",heightMax:!1,widthResizeParent:!1,heightResizeParent:!1,trackViews:!0,consent:!1,subtitles:!1,resume:!1,shortcuts:"no-controls"!=t.style,clickPlay:"no-controls"!=t.style,clickFullscreen:"no-controls"!=t.style,coverPlayPosition:"bottom-left",linkedData:!0,ad:!1,cta:!1};for(var U in t)B[U]=t[U];if(he((t=B).sizing),"center"==t.align?w.style.margin="0 auto":"right"==t.align&&(w.style.margin="0 0 0 auto"),t.hideControls&&w.classList.add("hide-controls"),t.embedded&&w.classList.add("embedded"),t.colorize){let[n,i,r]=function(e){const[t,n,i]=e.length>3?[8,255,0]:[4,15,16],r=parseInt(e.replace("#",""),16),a=r>>2*t&n,o=r>>t&n,s=r&n;return[a+a*i,o+o*i,s+s*i]}(t.colorize);[n,i,r]=[n/255,i/255,r/255];const a=`${[n,0,0,0,0,0,i,0,0,0,0,0,r,0,0,0,0,0,1,0].join(" ")}`,o=`#muse-player-colorize-${v}`;[".player-cover-play",".progress-bar-container",".player-controls-left",".player-control-settings",".player-control-fullscreen",".player-share",".player-control-airplay",".player-control-chromecast"].forEach(e=>{k(e).forEach(e=>e.style.filter=`url('${o}')`)});(f?document.body:e).insertAdjacentHTML("beforeend",`<svg style="position: absolute; width: 0; height: 0;">\n <filter id="muse-player-colorize-${v}" color-interpolation-filters="sRGB">\n <feColorMatrix type="matrix" values="${a}"/>\n </filter>\n </svg>`)}if(t.download){const e=typeof t.download;"boolean"==e||1==t.download?t.download=t.download?["video"]:[]:"string"==e&&(t.download=t.download.split(",").filter(e=>["video","transcript"].includes(e))),w.classList.toggle("show-download",t.download.length>0),T(".download-video").style.display=t.download.includes("video")?"":"none",T(".download-transcript").style.display=t.download.includes("transcript")?"":"none"}let O,F,z,_,q,K,G;t.logo?"string"==typeof t.logo&&t.logo.match("^https?:|^/")&&(w.classList.add("logo-custom"),k(".player-logo-custom img").forEach(e
1=>e.src=t.logo),"string"==typeof t.links&&k(".player-logo-custom").forEach(e=>e.href=t.links)):w.classList.add("hide-logo"),t.share||L.forEach(e=>e.style.display="none"),t.title||w.classList.add("hide-title"),t.search||w.classList.add("hide-search"),t.cta&&(t.ctaShow=!0),"center"==t.coverPlayPosition&&T(".player-cover-play").classList.add("centered");let Q=0;function W(){return new Promise((e,t)=>{G.then(()=>{O.initialize(),_.init(w.clientWidth,w.clientHeight,google.ima.ViewMode.NORMAL),_.setVolume(b.muted?0:b.volume),_.addEventListener(google.ima.AdEvent.Type.STARTED,t=>e()),_.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,e=>{const n=e.getError(),i=n.getInnerError();console.warn("ad error:",n.getMessage(),i?i.message:""),Y(),W().catch(e=>t(e))},!1),_.start(),z=!0}).catch(e=>{"TryNext"==e.name?W().catch(e=>t(e)):t(e)})})}function Y(){let e;G=new Promise((n,i)=>{!function(e,t){let n=document.getElementById("muse-ima-sdk-script");if(n)if("undefined"!=typeof google&&google.ima)e();else{if("1"==n.dataset.failed)return void t();n.addEventListener("load",()=>{e()}),n.addEventListener("error",()=>{t()})}else n=document.createElement("script"),n.id="muse-ima-sdk-script",n.src="https://imasdk.googleapis.com/js/sdkloader/ima3.js",n.addEventListener("load",()=>{e()}),n.addEventListener("error",()=>{t(),n.dataset.failed="1"}),document.body.appendChild(n)}(()=>{_&&(q=!1,_.destroy(),F.contentComplete()),O||(google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),O=new google.ima.AdDisplayContainer(I)),F=new google.ima.AdsLoader(O),F.getSettings().setAutoPlayAdBreaks(!d),F.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,t=>{_=t.getAdsManager(b),_.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,()=>{q=!0,b.pause()}),_.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,()=>{b.duration!=b.currentTime?b.play():(D.forEach(e=>e.innerText=te(b.currentTime)),w.classList.remove("paused")),q=!1,w.classList.remove("ad-playing"),R.forEach(e=>e.innerText=" / "+te(ye.duration))}),_.addEventListener(google.ima.AdEvent.Type.PAUSED,()=>{K=!0,w.classList.add("paused"),ze("pause")}),_.addEventListener(google.ima.AdEvent.Type.STARTED,t=>{w.classList.remove("paused","cover","loading","loading-frame"),w.classList.add("ad-playing"),M.classList.remove("show"),$t(),t.getAd().isLinear()?(je("ad",{end:0}),ge({ad_started:1}),e=Date.now(),ze("play")):(b.play(),w.classList.add("ad-non-linear")),w.classList.remove("paused")}),_.addEventListener(google.ima.AdEvent.Type.RESUMED,()=>{K=!1,ze("play"),w.classList.remove("paused")}),_.addEventListener(google.ima.AdEvent.Type.AD_PROGRESS,t=>{const n=t.getAdData(),i=Date.now();(!e||i-e>1e3)&&(je("ad",{end:n.currentTime}),ge({ad_watched:n.currentTime.toFixed(2)}),e=i),D.forEach(e=>e.innerText=te(n.currentTime)),R.forEach(e=>e.innerText=" / "+te(n.duration)),at(".time-bar",n.duration?Math.min(1,n.currentTime/n.duration):0)}),n()},!1),F.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,e=>{Y(),i({name:"TryNext"})}),b.addEventListener("ended",()=>F.contentComplete()),w.classList.toggle("ad-ios",d);const[,r]=Nt(),a=new google.ima.AdsRequest;if(0==Q&&"string"==typeof t.ad)a.adTagUrl=t.ad;else{if(!(Q<t.ad.length&&"object"==typeof t.ad))return void i({name:"AdsLoadFailed"});a.adTagUrl=t.ad[Q]}Q+=1,a.vastLoadTimeout=5e3,a.setAdWillPlayMuted(r),F.requestAds(a)},()=>{i({name:"AdsLoadFailed"})})}),G.catch(()=>{})}function Z(){if(q)return _.resume(),Promise.resolve();if(!t.ad||z){const e=b.play();return e.catch(()=>{}),e}const e=function(){const e=document.createElement("video"),[,t]=Nt();return e.src="data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjQ1LjEwMAAAAAAAAAAAAAAA//NYwAAAAAAAAAAAAEluZm8AAAAPAAAAAwAAASAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg////////////////////////////////////////////AAAAAExhdmM1OC45MQAAAAAAAAAAAAAAACQEMAAAAAAAAAEguukrjgAAAAAAAAAAAAAA//MYxAAAAANIAAAAAExBTUUzLjEwMFVVVVVVVVVVVVVVVVVV//MYxBcAAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV//MYxC4AAANIAAAAAFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV",e.muted=t,e.setAttribute("playsinline",""),e.play().finally(()=>e.remove())}();return e.then(()=>{w.classList.remove("cover"),M.classList.remove("show"),W().catch(()=>b.play())}),e}function X(){q?_.pause():b.pause()}function J(e){return u[e]||e}function $(e,t){return u[e+"�"+t]||t}function ee(e,t){let n;const i=function(){clearTimeout(n),n=setTimeout(()=>e.apply(this,arguments),t)};return i.cancel=function(){clearTimeout(n)},i.now=function(){clearTimeout(n),e.apply(this,arguments)},i}function te(e){if(isNaN(e))return"";const t=e=>e.toString().padStart(2,"0"),n=Math.floor(e)%60,i=Math.floor(e/60)%60,r=Math.floor(e/3600),a=t(n);return(r>0?`${r}:`:"")+(r>0?`${t(i)}:`:`${i}:`)+a}function ne(e){const t=e.split(":").slice(0,3);let n=parseFloat(t[t.length-1])||0,i=parseFloat(t[t.length-2])||0;return 3600*(parseFloat(t[t.length-3])||0)+60*i+n}function ie(e){return re(b.currentTime+e)}function re(e){return!q&&(b.duration&&(e=Math.min(Math.floor(b.duration)-1e-4,e)),b.currentTime=e,je("seek",{start:It,end:b.currentTime,force:!0}),!0)}function ae(e){if(ie(e)){const t=e>0?".fwd-overlay":".rew-overlay";T(e>0?".fwd-msg-text":".rew-msg-text").innerText=Math.abs(e)+"s",T(t).classList.add("feedback"),setTimeout(function(){T(t).classList.remove("feedback")},500),w.classList.remove("mobile-overlay")}}function oe(){(q?K:b.paused)?Z():X()}function se(e){e.preventDefault(),oe()}function le(){w.classList.remove("show-settings"),k(".settings-panel .container").forEach(e
1=>e.classList.remove("open"));var e=w.getRootNode().activeElement;e&&e.closest(".settings-panel")&&e.blur(),ue()}function ce(){w.classList.remove("show-download-panel")}function ue(){k(".settings-panel > .container:not(.slider)").forEach(e=>e.classList.remove("slide-out")),k(".container.slider").forEach(e=>e.classList.remove("open"))}function de(){w.classList.remove("show-description")}function pe(e){e=parseFloat(e.toFixed(2)),b.playbackRate=e,k(".container .playback-speed").forEach(e=>{e.classList.remove("current")});const t=T(`.playback-speed[data-value="${e}"]`);t&&t.classList.add("current"),T(".speed-current").innerText=e+"x",ze("speed",e)}function he(e){t.sizing=e,"fill"==t.sizing?(w.style.display="flex",w.style.height="100%",w.style.width="100%",w.style.position="absolute",w.style.top="0",w.style.bottom="0",w.style.alignItems="center",w.style.justifyContent="center",t.heightMax="parent",t.widthMax="parent"):"cover"==t.sizing?(w.style.minHeight="100%",w.style.minWidth="100%",A.style.minHeight="100%",A.style.minWidth="100%",b.style.objectFit="cover",t.heightMax="parent",t.widthMax="parent"):"unset"==t.sizing&&(w.style.display="",w.style.height="",w.style.width="",w.style.position="",w.style.top="",w.style.bottom="",w.style.alignItems="",w.style.justifyContent="",w.style.minHeight="",w.style.minWidth="",A.style.minHeight="",A.style.minWidth="",b.style.objectFit="",t.heightMax=!1,t.widthMax="parent")}var fe=function(e){void 0===e&&(e=b.currentTime),at(".time-bar",e/b.duration)};function ge(e){s&&e.duration||(xe&&(e.swid=xe),fetch(g+"/api/files/view/"+ye.svid+"?"+new URLSearchParams(e),{mode:"cors",credentials:"include"}).then(function(e){return e.json()}).then(function(e){xe=e.swid}),Ae=ve)}let me,ye,ve,be,Ae,we,xe,ke,Te,Ce,Ee,Se,Le,Me,Ie,De,Re,Ne,Pe={};function je(e,n){if(!t.trackViews||!ye||!b.readyState)return Promise.resolve();const i=Date.now(),r=void 0===n.start,a=n.end,o=r?a:n.start;if(e==Pe.action&&o==Pe.start&&a==Pe.end)return Promise.resolve();if("play"==e&&clearTimeout(Pe.playDelay),"play"==e&&"seek"==Pe.action&&Date.now()-Pe.time<2e3)return n.start=Pe.end,Pe.playDelay=setTimeout(()=>je(e,n),2e3),Promise.resolve();const s=!Pe||Pe.action!=e;Pe.action=e,Pe.end=a,Pe.time=Date.now(),r&&!s||(Pe.start=o);const l=ye.duration<40&&"play"==e&&i-me>=.75*ye.duration*1e3;return i-me>=1e4||s||l||n.force?(me=Date.now(),function(e,t,n){if("https://skiv.com"==g)return Promise.resolve();const i={};return i.action=e,i.start=Math.round(100*t)/100,i.end=Math.round(100*n)/100,Pe.wid&&(i.wid=Pe.wid),fetch(y+"/api/metrics/view/"+ye.svid+"?"+new URLSearchParams(i),{mode:"cors",credentials:"include"}).then(function(e){return e.json()}).then(function(e){e.wid&&(Pe.wid=e.wid)})}(e,Pe.start,a)):Promise.resolve()}function Ve(e){if(t.trackViews&&ye)if(we!=b.currentTime||b.paused){if(be&&(!b.paused||e)){const e=Date.now();ve+=e-be,be=e;const t=ve-Ae,n=!Ae&&ve>2e3,i=ye.duration<40&&t>=.75*ye.duration*1e3;(t>=3e4||i||n)&&(ge({duration:(ve/1e3).toFixed(2)}),Ae=ve)}we=b.currentTime}else be=Date.now()}function He(){if(!b.paused){const e=x.getStats(),t=e.estimatedBandwidth,n=t?Math.round(t/1e6*100)/100+" Mbps":"unknown",i=j.querySelector(".bandwidth");i.innerText!=n&&(i.innerText=n);const r=e.width+" x "+e.height,a=j.querySelector(".resc");e.width&&a.innerText!=r&&(a.innerText=r),j.querySelector(".cdn").innerText=Ke(),w.classList.contains("show-cta")&&X()}const e=b.currentTime;if(ye&&e>10){const n="time-"+ye.svid;t.resume&&e<b.duration-10?_e(n,e):function(e){try{localStorage.removeItem(e)}catch(e){}}(n)}if(t.cta&&e>=t.cta.time&&t.ctaShow&&!w.classList.contains("cover")&&(X(),t.ctaShow=!1,w.classList.add("show-cta")),Ve(),b.paused){const e=Math.abs(b.currentTime-b.duration),t="play"==Pe.action;!q&&t&&e>.01&&je("pause",{start:b.currentTime,end:b.currentTime})}else je("play",{end:b.currentTime})}if(setInterval(He,1e3),function(e,t){C(e,'<div class="resize-detector"><div class="resize-detector-expand"><div class="resize-detector-expand-child"></div></div><div class="resize-detector-shrink"><div class="resize-detector-shrink-child"></div></div></div>');const n=e.querySelector(".resize-detector-expand"),r=e.querySelector(".resize-detector-expand-child"),a=e.querySelector(".resize-detector-shrink");var o,s;function l(){e.offsetWidth==o&&e.offsetHeight==s||(requestAnimationFrame(t),i(),o=e.offsetWidth,s=e.offsetHeight)}i=function(){const t=e.offsetWidth,i=e.offsetHeight;r.style.width=t+10+"px",r.style.height=i+10+"px",n.scrollLeft=t+10,n.scrollTop=i+10,a.scrollLeft=t+10,a.scrollTop=i+10},i(),n.addEventListener("scroll",l,{passive:!0}),a.addEventListener("scroll",l,{passive:!0})}(w,function(){bt(),navigator.userAgent.includes("Firefox")&&setTimeout(function(){bt()},50)}),window.addEventListener("resize",function(){bt()}),t.width||t.height){const e=!(!t.width||isNaN(t.width))&&t.width,n=!(!t.height||isNaN(t.height))&&t.height;bt(e&&n?e/n:16/9)}function Be(){if(!ye)return Promise.resolve();
1b.pause(),b.querySelectorAll("source,track").forEach(e=>e.remove()),ye=null,b.src.startsWith("blob")||b.load(),Ut.clearCanvas(),$e(),le(),ce(),rt(""),j.style.display="none",P.value="",lt=[],k(".video-search-result").forEach(e=>{e.parentNode.removeChild(e)});const e=x.unload();return pt(),Me=0,be=0,Ae=0,Pe={},o=!1,s=!1,V.innerText="",yt("off"),Se=!1,Q=0,z=!1,q=!1,K=!1,_&&(_.destroy(),F.contentComplete()),w.classList.remove("ad-playing","ad-non-linear","unavailable","paused","chapters-on","show-cta","cover"),e}function Ue(){ye&&Qe(ye,{time:b.currentTime})}function Oe(){w.style.display="none",Be(),ze("close")}function Fe(e,t,n){let i=[e];"string"==typeof e?i=k(e):e.length&&(i=e),i.forEach(function(e){t.split(/ +/).forEach(function(t){e.addEventListener(t,n)})})}function ze(e,t){void 0!==H[e]&&H[e].forEach(function(e){e(t)})}function _e(e,t){try{localStorage.setItem(e,t)}catch(e){}}function qe(e){try{return localStorage.getItem(e)}catch(e){return null}}function Ke(){return Re&&Re.length?Re.filter(e=>!Ne.includes(e))[0]:"cdn"}function Ge(){if(ye.regions){const e="cdn-"+ye.regions[0],t=ye.regions.slice(1).map(e=>"cdn-"+e);return[e].concat("cdn").concat(t)}return["cdn"]}function Qe(e,n){if(!e.svid)return void w.classList.add("unavailable");for(var i in ve=0,Ae=0,Me=(n=n||{}).retry?Me:0,ye={},e)ye[i]=e[i];if(Ie=!(e=ye).width&&!e.height,e.width=e.width||1280,e.height=e.height||720,e.regions=e.regions||t.regions,e.regions&&0==Me&&(Re=Ge(),Ne=[]),e.regions&&e.url){Me+=1,De&&Ne.push(De),Ne.length==Re.length&&(Ne=[]);const t=new URL(e.url),n=t.host.split(".");De=Ke(),n.splice(0,1,De),t.host=n.join("."),e.url=t.toString()}if(bt(),w.classList.remove("casting","mobile-overlay"),e.url&&(!t.lazy||t.autoplay||n.retry))if("visible"==t.autoplay){const t=new IntersectionObserver(([i])=>{i.isIntersecting&&(it(e,n.forceDirect),t.disconnect())},{rootMargin:"550px"});t.observe(b)}else it(e,n.forceDirect);const r="string"==typeof t.links?t.links:g+"/v/"+e.svid,a=T(".player-cover-logo"),o=k(".player-logo"),s=T(".player-title"),l=T(".player-description");if(w.classList.add("loading","loading-frame"),e.url){const e=n.retry&&!M.classList.contains("show");rt(nt("thumbnails/video.jpg"),!t.autoplay&&!e)}const c=[];try{const t=new RegExp("(?<start>(\\d?\\d:)?\\d?\\d:\\d\\d)[\\s\\u200bâ-]+(?<name>[^\\n]+)","gs");for(const n of e.description.matchAll(t))c.push([ne(n.groups.start),n.groups.name])}catch(e){}if(Le=[[1,null]],c.length&&0==c[0][0]){const t=[];c.sort((e,t)=>e[0]-t[0]).reduceRight((n,[i,r])=>n-i<8?n:(t.unshift([(n-i)/e.duration,r]),i),e.duration),Le=t.length?t:Le,w.classList.add("chapters-on")}let u,d=0;if("string"==typeof n.time&&n.time.match(/h|m|s/)){const e=n.time.toLowerCase().match(/(\d+(h|m|s))/gi);d=e.reduce((e,t)=>e+t.slice(0,-1)*{s:1,m:60,h:3600}[t.slice(-1)],0)}else if(Number(n.time)>0)d=parseFloat(n.time);else if(t.resume){const t=qe("time-"+e.svid);d=null!==t?parseFloat(t):null}t.share&&(T(".url-share").innerText=r,T(".whatsapp").href=`whatsapp://send?text=${r}`,T(".facebook").href=`https://www.facebook.com/sharer/sharer.php?u=${r}`,T(".twitter").href=`https://twitter.com/intent/tweet?text=${encodeURIComponent(e.title)}&url=${r}`,T(".reddit").href=`https://reddit.com/submit?url=${r}&title=${encodeURIComponent(e.title)}`),s.href=!0===t.links?r:"",a.href=!0===t.links?r:"",s.innerText=e.title;try{const t=new RegExp("(?<start>(\\d?\\d:)?\\d?\\d:\\d\\d)\\s+(?<name>[^\\n]+)","g");u=e.description.replace(t,(e,t,n,i)=>`<span class="video-seek" data-time="${ne(t)}">${t} ${i}</span>`);let n=0;const i=/https?:\/\/([\da-z.-]+\.[a-z.]{2,6}|[\d.]+)([/:?=&#]{1}[\da-z.+?%-]+)*[/?]?/gi;u=u.replace(i,e=>(n+=1,n<6?`<a href="${e}" target="_blank" rel="noreferrer nofollow">${e}</a>`:e))}catch(t){u=e.description}if(u&&""!==u.trim()?w.classList.remove("no-description"):w.classList.add("no-description"),l.innerHTML=u,l.querySelectorAll(".video-seek").forEach(e=>{e.addEventListener("click",e=>{re(e.currentTarget.dataset.time),de()})}),s.style.pointerEvents=!0===t.links?"":"none",a.style.pointerEvents=!0===t.links?"":"none",o.forEach(e=>
1e.href=!0===t.links?r:""),o.forEach(e=>e.style.pointerEvents=!0===t.links?"":"none"),D.forEach(e=>e.innerText=te(d||0)),R.forEach(t=>t.innerText=" / "+te(e.duration)),k(".progress-bar").forEach(e=>e.remove()),N.forEach(e=>{Le.forEach(t=>C(e,`<div class="progress-bar" style="width: ${100*t[0]}%"><div class="time-chapter"><div class="buffer-bar"></div><div class="time-bar"></div><div class="seek-bar"></div></div></div>`))}),pe(1),at(".time-bar",0),at(".buffer-bar",0),at(".seek-bar",0),b.addEventListener("loadedmetadata",function(t){if(t.target.removeEventListener(t.type,arguments.callee),(d>0&&!f||d>2)&&(b.currentTime=d),n.query){ut(n.query.replace(/_/g," "),!d)}Ut.setVideo(e)}),t.autoplay||n.retry||w.classList.add("cover"),w.classList.toggle("warning",!!e.mature&&!t.consent),w.classList.toggle("audio-only",Ie),t.linkedData&&function(){const e=T(".ld-json");e&&e.remove();if(!ye||!ye.url)return;const n=ye.duration,i=[Math.floor(n/3600),Math.floor(n/60)%60,Math.floor(n%60)],r=(i[0]?i[0]+"H":"")+(i[1]?i[1]+"M":"")+(i[2]?i[2]+"S":""),a=n?"PT"+r:"T0S",o=ye.description||"Video about "+ye.title,s={"@context":"https://schema.org","@type":"VideoObject",name:`${ye.title}`,description:`${o.substr(0,256).replace(/\n/g," ")}`,thumbnailUrl:`${nt("thumbnails/video.jpg")}`,uploadDate:new Date(1e3*ye.tcreated).toISOString(),duration:`${a}`,embedUrl:""+(g+"/embed/"+ye.svid)};if(Le&&Le.length>1){s.hasPart=[];let e=0;Le.forEach(n=>{const i=Math.round(e*ye.duration),r=Math.round((e+n[0])*ye.duration);s.hasPart.push({"@type":"Clip",name:n[1],startOffset:i,endOffset:r,url:t.links?`${g}/v/${ye.svid}?t=${i}`:window.location.toString()}),e+=n[0]})}C(w,`<script class="ld-json" type="application/ld+json">${JSON.stringify(s)}<\/script>`)}(),t.subtitles&&vt(t.subtitles),b.pause(),b.dispatchEvent(new Event("pause")),ze("metadata",{url:e.url,svid:e.svid,title:e.title,description:e.description,width:e.width,height:e.height,duration:e.duration}),Ut.clearCanvas(),t.ad&&Y(),t.cta){if("string"==typeof t.cta&&(t.cta=JSON.parse(t.cta)),t.cta.submit&&t.cta.fields){const e=T(".overlay-cta .cta-form"),n={},i={},r=T(".cta-btn.first");e.innerHTML="",e.classList.remove("submitted"),t.cta.fields.forEach(t=>{if("header"==t.type)return void(i[t.name]=t.value);if("hidden"==t.type)return void(n[t.name]=t.value);const r=t.name,a=t.type||"text",o=t.name.replace("_"," "),s=o.charAt(0).toUpperCase()+o.substr(1).toLowerCase(),l=t.placeholder||s,c=t.required||void 0===t.required?"required":"";e.insertAdjacentHTML("beforeend",`<input name="${r}" type="${a}" placeholder="${l}" size="30" ${c}>`)}),r.innerText=t.cta.button||"Submit",r.onclick=()=>{let r=!0;if(e.classList.add("submitted"),e.querySelectorAll("input").forEach(e=>{n[e.name]=e.value,r=r&&e.checkValidity()}),i["Content-Type"]="application/json",!r)return;const a=JSON.stringify(n);fetch(t.cta.submit,{method:"post",mode:"no-cors",headers:i,body:a});w.classList.remove("show-cta"),b.currentTime<b.duration&&Z()}}else[[T(".cta-btn.first"),t.cta.button],[T(".cta-btn.second"),t.cta.buttonSecond]].forEach(([e,n])=>{let i;if("object"==typeof n){const t=n.css||{};i=n.link,e.innerText=n.title,e.style.color=t.color||"",e.style.background=t.background||""}else n?(e.innerText=n,i=t.cta.link):e.style.display="none";i?e.href=i:e.onclick=()=>(w.classList.remove("show-cta"),b.currentTime<b.duration&&Z(),!1)});T(".cta-title").innerText=t.cta.title||"",T(".cta-text").innerText=t.cta.text||"","start"==t.cta.time?t.cta.time=0:void 0===t.cta.time&&(t.cta.time="end")}T(".info-box .fid").innerText=e.fid,T(".info-box .res").innerText=e.width+" x "+e.height,T(".info-box .resc").innerText=e.width+" x "+e.height}let We=[];function Ye(e){try{if(We.includes(e))return;We.push(e);const t=x.getStats(),n={cdn:Ke(),loc:window.location,res:(t.width||0)+" x "+(t.height||0),svid:ye&&ye.svid,time:b.currentTime,speed:Math.round(x.getStats().estimatedBandwidth||0),reason:e},i=new URL(g+"/w/status");i.host=n.cdn+"."+i.host,Promise.race([fetch(i.toString()),new Promise((e,t)=>setTimeout(()=>t(),5e3))]).then(e=>e.json()).then(e=>{n.cdn_ip=e.ip,n.cdn_load=e.load}).finally(()=>{const e=new URLSearchParams(n);fetch(new URL(`debug?${e.toString()}`,g),{mode:"no-cors",credentials:"include"})})}catch(e){}}function Ze(e){ke=e,w.classList.toggle("buffering",e),clearTimeout(Te),Te=setTimeout(()=>{ke&&(console.warn("Buffering for too long, reloading at",b.currentTime),Ye("buffer"),x.configure("abr.restrictions.maxHeight",1),setTimeout(()=>x.configure("abr.restrictions.maxHeight",1/0),5e3),function(){const e=[],t=[];for(let n of Ge()){const i=new URL(ye.url).host.split(".");i.splice(0,1,n).join(".");const r=`https://${i.join(".")}/w/status`;let a=Date.now(),o=Promise.race([fetch(r.toString()),new Promise((e,t)=>
1setTimeout(()=>t(),5e3))]).then(e=>e.json()).then(()=>{e.push([Date.now()-a,n])});t.push(o)}return Promise.allSettled(t).then(()=>{e.length&&(Re=e.map(e=>e[1]))})}().then(()=>Qe(ye,{time:b.currentTime,retry:!0})))},3e4)}function Xe(e,t){return e>=4320?" 8K":e>=2160?" 4K":e>=720||t>=1280?" HD":""}function Je(){const e=x.getStats(),[t,n]=[e.width,e.height].sort((e,t)=>e-t);return Xe(t,n)}function $e(e){const t=function(){if(!ye)return;let[e,t]=[ye.width,ye.height].sort((e,t)=>e-t),n=[];return p.forEach(e=>{const i=Math.floor(16*e/9);t>=i&&(t>1.125*i||t<.875*i)&&n.push(e)}),e<=2160&&n.push(e),e?n:[]}(),n=[];e&&e.forEach(e=>n.push(Math.min(e.height,e.width)));let i=Math.round((new Date).getTime()/1e3),r=ye&&i-ye.tcreated>172800;n.forEach(e=>{const n=t[t.length-1];Math.abs(e-n)/n<.15&&(r=!0)}),a={},ye&&!r&&t.forEach(e=>{a[e]=[-1,e+"p"+Xe(e),!1]}),e&&e.forEach(e=>{const t=Math.min(e.width,e.height),n=Math.max(e.width,e.height),i=Math.min(ye.width,ye.height)==t?t:4*Math.ceil(n/16*9/4);a[i]=[e.height,i+"p"+Xe(i),!0]}),a[0]=[0,"Auto",!0];const o=T(".quality-current");o.innerText="Auto"+Je(),x.addEventListener("adaptation",()=>{o.innerText.startsWith("Auto")&&(o.innerText="Auto"+Je())});const s=T(".container .quality");s.innerHTML="",Object.keys(a).forEach(e=>{const[t,n,i]=a[e];C(s,`<button class="quality-option option quality-${e} ${0==e?"current":""} ${i?"":"generating"}">${n}\n <div class="spinner transcoding" title="Generating">\n <div class="inner"></div><div class="outer"></div>\n </div>\n</button>`,!0),T(`.quality-${e}`).addEventListener("click",t=>{t.currentTarget.classList.contains("generating")||(le(),et(e))})})}function et(e){"auto"==e?e=0:"best"==e&&(e=Math.max(...Object.keys(a)));const t=a[e];if(t){const[n,i,r]=t;k(".quality-option").forEach(e=>e.classList.remove("current")),T(".quality-"+e).classList.add("current"),T(".quality-current").innerText="Auto"==i?"Auto"+Je():i,tt(n)}}function tt(e){const t=e?{restrictions:{minHeight:e,maxHeight:e,maxWidth:1/0}}:{restrictions:{minHeight:0,maxHeight:1/0,maxWidth:1/0}};x.configure(t)}function nt(e,t){const n=ye.url;if(!n)return e;const i=new URL(n).searchParams,r=new URL(e,n);return!1!==t&&i.forEach((e,t)=>r.searchParams.append(t,e)),"object"==typeof t&&new URLSearchParams(t).forEach((e,t)=>r.searchParams.append(t,e)),r.toString()}function it(e,i){if(!e)return;const r=!i&&2==e.ingest_video&&(!d||c>11),a=!i||1==e.ingest_video||d;if(r){const n=nt(d||f?"videos/hls.m3u8":"videos/dash.mpd");tt(0),x.unload(),x.attach(b),x.load(n).then(function(){$e(x.getVariantTracks()),ze("loaded"),t.quality&&et(t.quality),bt()},function(){Ze(!0),setTimeout(()=>{ye&&e.fid==ye.fid&&Qe(e,{retry:!0})},2e3)})}else if(a){x.detach(),$e(),ze("loaded"),b.removeAttribute("src"),b.querySelectorAll("source").forEach(e=>e.remove());const e=nt("videos/video.mp4"),t=document.createElement("source");t.src=e,t.type="video/mp4",b.appendChild(t),fetch(e).then(e=>e.blob()).then(e=>b.play()).then(e=>{n("fetched!")}).catch(e=>{n(`failed: ${e}`)})}w.classList.toggle("transcoding",0==e.ingest_video&&!w.classList.contains("cover"))}function rt(e,t){M.style.visibility="hidden",M.onload=()=>M.style.visibility="visible",M.src=e,M.classList.toggle("show",t)}function at(e,t){const n=".buffer-bar"==e?.97:1;N.forEach(i=>{let r=0;i.querySelectorAll(e).forEach((i,a)=>{const[o,s]=Le[a],l=Math.min(1,Math.max(0,(t-r)/o));i.style.width=l>n?"100%":100*l+"%",".time-bar"==e&&t>=r&&t<r+o&&(T(".player-chapter-title").innerText=s),r+=o})})}let ot,st,lt=[];const ct=ee(function(e,t){if(!e)return void ze("search","");clearTimeout(st),st=setTimeout(function(){w.classList.add("search-results-loading")},200),ot&&ot.abort(),ot=new AbortController,lt=[],dt([]);const n=m+"/api/search/video/"+ye.svid;fetch(n+"?q="+encodeURIComponent(e),{mode:"cors",credentials:"include",signal:ot.signal}).then(function(e){return e.json()}).then(function(n){lt=[],n.error||n.forEach(e=>{const[n,i]=e;n!=ye.fid&&n!=ye.svid||(lt=i),i&&t&&re(i[0])}),dt(lt),ze("search",e)}).finally(function(){clearTimeout(st),w.classList.remove("search-results-loading")})},200);function ut(e,t,n){ct(e,t),P.value=e,w.classList.add("search-active"),T(".player-cover-search .text").innerText=e,n&&P.focu
1s()}function dt(e){k(".video-search-result").forEach(e=>{e.parentNode.removeChild(e)}),w.classList.toggle("search-results",e.length),e.forEach(e=>{let t=e/ye.duration;N.forEach(n=>{C(n,'<div class="video-search-result"></div>',!0),n.firstChild.style.left=100*t+"%",n.firstChild.addEventListener("click",function(){re(e)})})})}function pt(){ct.cancel(),ot&&ot.abort(),P.value="",lt=[],dt([]),w.classList.remove("search-results","search-active")}function ht(e){const t=b.currentTime,n=b.duration,i=e?-1:1;lt.sort((e,r)=>{let a=e-t-1*i,o=r-t-1*i;return a=a<0?a+n:a,o=o<0?o+n:o,i*(a-o)}),isNaN(lt[0])||re(lt[0])}function ft(e=[]){const t=e.filter(e=>"auto"==e[0])[0],n=e.filter(e=>"translations"==e[0])[0];e=e.filter(e=>!["auto","translations"].includes(e[0])),Se=e;const i={de:"German",zh:"Chinese",en:"English",es:"Spanish",fr:"French",pt:"Portuguese"};if(ye&&t&&"0"!=t[1]){const t=i[ye.language]||"English";e.push(["auto",t+" (auto)"])}let r=!1;if(ye&&n&&"1"!=n[1].hide&&(subsTranslationsEntries=Object.entries(n[1]),subsTranslationsEntries.sort((e,t)=>i[e[0]]<i[t[0]]?-1:i[e[0]]>i[t[0]]?1:0),subsTranslationsEntries.forEach(([t,n])=>{"hide"!=t&&"0"!=n&&(r=!0,e.push([`translations/${t}`,i[t]||"Unknown"]))})),T(".settings-subtitles").style.display=0==e.length?"none":"",0==e.length)return;const a=[...e];r&&a.push(["translate",J("Translate")]),a.push(["off",$("subtitles","Off")]);const o=T(".settings-panel .subtitles-list"),s=T(".settings-panel .translate-list");o.innerHTML="",s.innerHTML="",a.forEach(e=>{let[t,n]=e,i=t.startsWith("translations/")?s:o;C(i,`<button class="subtitle-option option${"off"==t?" current":""}" data-id="${t}">${n}</button>`),i.lastChild.addEventListener("click",e=>{const t=e.currentTarget.dataset.id;if("translate"==t)return n="translate",k(".settings-panel > .container:not(.slider)").forEach(e=>e.classList.add("slide-out")),void k(`.container.slider.${n}`).forEach(e=>e.classList.add("open"));var n;yt(t),le()}),d&&"off"!=t&&C(b,`<track label="${n}" src="${g}/api/files/subtitles/${ye.svid}/${t}" kind="captions" id="track-${t}">
1`),Array.from(b.textTracks).forEach(e=>e.mode="hidden")})}function gt(e){if(!ye||!ye.url||Se&&!e)return Promise.resolve(Se);Date.now().toString().slice(0,10);const t=e?"?nocache=1":"",n=e?{"Cache-Control":"no-cache"}:{};return fetch(nt(`subtitles/${ye.svid}.json${t}`),{mode:"cors",credentials:"include",headers:n}).then(function(e){return e.ok?e.json():{}}).then(function(e){return ft(e=Object.entries(e)),e})}function mt(e){return e.forEach(([t,n,i],r)=>{sMin=0==r?0:e[r-1][1],eMax=r==e.length-1?ye.duration:e[r+1][0],t=Math.round(100*Math.max(sMin,t-.2))/100,n=Math.round(100*Math.min(eMax,n+.2))/100,e[r]=[t,n,i]}),e}function yt(e){e=!1===e?"off":e,Se&&(e=(Se.find(t=>t[0]===e||t[1]===e)||[e])[0]),Ee=e,V.innerText="",w.classList.toggle("show-subtitles","off"!=e);const t=T(`.subtitle-option[data-id="${e}"]`);if(t&&(k(".subtitle-option").forEach(e=>e.classList.remove("current")),T(".subtitles-current").innerText=$("subtitles","off"==e?"Off":"On"),t.classList.add("current")),"off"==e)Ce=null;else if("auto"==e)fetch(g+"/api/files/i/speech/"+ye.svid,{mode:"cors",credentials:"include"}).then(function(e){return e.json()}).then(function(e){const t=[];let n,i=0;if(!e.sort)return;e.sort((e,t)=>e[0]-t[0]).forEach(e=>{const r=e[2].replaceAll(/[,.;:?!â]/g,"").length,a="\n"==e[2]||n&&e[0]-n[1]>1.5,o=i+r>40&&r;(!t.length||i&&(o||a))&&(t.push([]),i=0),e[2].trim()&&(t[t.length-1].push(e),i+=e[2].length+1,n=e)});const r=[];t.forEach(e=>{if(e.length){let t="";e.forEach((n,i)=>{const r=i<e.length-1&&!",.;:?!â".includes(e[i+1][2])?" ":"";t+=n[2]+r}),r.push([e[0][0],e[e.length-1][1],t])}}),Ce=mt(r)});else{let t;try{t=new RegExp("\\n*(\\w+\\n)?(?<start>(\\d\\d:)?\\d\\d:\\d\\d.\\d\\d\\d) --\x3e (?<end>(\\d\\d:)?\\d\\d:\\d\\d\\.\\d\\d\\d)\\n(?<text>.+?)(\\n\\n|$)","gs")}catch(e){return}fetch(nt(`subtitles/${e}.vtt`),{mode:"cors",credentials:"include"}).then(function(e){return e.text()}).then(function(e){const n=[];for(const i of e.matchAll(t)){let e=(new DOMParser).parseFromString(i.groups.text,"text/html").body.textContent||"",t=i.groups.start.split(":").reduce((e,t)=>60*e+ +t),r=i.groups.end.split(":").reduce((e,t)=>60*e+ +t);n.push([t,r,e])}Ce=mt(n)})}}function vt(e){"off"!=e?gt().then(()=>yt(e)):yt(e)}function bt(n){n||ye||(n=16/9),n=n||ye.width/ye.height;const r=w.getBoundingClientRect(),a=e.getBoundingClientRect(),o=window.getComputedStyle(e),s=r.width;if(0===r.height&&0===s)return void requestAnimationFrame(()=>{bt(n)});i();let[c,u]=function(n,i){n=n||window.getComputedStyle(e);let r=Number.MAX_SAFE_INTEGER;"parent-max"==t.widthMax&&n.maxWidth.endsWith("px")?r=parseFloat(n.maxWidth.slice(0,-2)):"parent-max"==t.widthMax&&n.maxWidth.endsWith("%")?r=i.width*parseFloat(n.maxWidth.slice(0,-1))/100:"parent"!=t.widthMax&&"parent-max"!=t.widthMax||(r=i.width);let a=0;return"parent-min"==t.widthMin&&n.minWidth.endsWith("px")?a=parseFloat(n.minWidth.slice(0,-2)):"parent-min"==t.widthMin&&n.minWidth.endsWith("%")?a=e.offsetWidth*parseFloat(n.minWidth.slice(0,-1))/100:"parent"!=t.widthMin&&"parent-min"!=t.widthMin||(a=i.width),[Math.max(240,a),r]}(o,a),[d,h]=function(n,i){n=n||window.getComputedStyle(e);let r=Number.MAX_SAFE_INTEGER;"parent-max"==t.heightMax&&n.maxHeight.endsWith("px")?r=parseFloat(n.maxHeight.slice(0,-2)):"parent-max"==t.heightMax&&n.maxHeight.endsWith("%")?r=i.height*parseFloat(n.maxHeight.slice(0,-1))/100:"parent"!=t.heightMax&&"parent-max"!=t.heightMax||(r=Math.min(r,i.height));let a=0;return"parent-min"==t.heightMin&&n.minHeight.endsWith("px")?a=parseFloat(n.minHeight.slice(0,-2)):"parent-min"==t.heightMin&&n.minHeight.endsWith("%")?a=e.offsetHeight*parseFloat(n.minHeight.slice(0,-1))/100:"parent"!=t.heightMin&&"parent-min"!=t.heightMin||(a=i.height),[Math.max(120,a),r]}(o,a),f=function(e){let n,i=t.width;return i?(isNaN(i)?i.endsWith("px")?n=parseInt(i.slice(0,-2)):i.endsWith("vw")?n=parseInt(i.slice(0,-2))/100*document.documentElement.clientWidth:i.endsWith("%")&&(n=e.width*parseFloat(i.slice(0,-1))/100):n=parseInt(i),n):null}(a),g=function(e){let n,i=t.height;return i?isNaN(i)?i.endsWith("px")?n=parseInt(i.slice(0,-2)):i.endsWith("vh")?n=parseInt(i.slice(0,-2))/100*document.documentElement.clientHeight:i.endsWith("%")&&(n=e.height*parseFloat(i.slice(0,-1))/100):n=parseInt(i):n=!1,n}(a)||h;u=f?Math.min(f,u):u,h=g?Math.min(g,h):h,f=Math.max(c,Math.min(u,g*n)),g=Math.max(d,Math.min(h,f/n)),f=g*n,A.style.width=f+"px",A.style.height=g+"px",t.widthResizeParent&&(w.style.width=f+"px"),t.heightResizeParent&&(w.style.height=g+"px"),_&&_.resize(r.width,r.height);const m=w.classList.contains("fullscreen")?1e3:500;let y="player-full";t.classSize?y=t.classSize:s<=370?y="player-tiny":s>370&&s<=m?y="player-small":s<=370&&(y="player-tiny"),l!=y&&(["player-full","player-small","player-tiny","player-minimal","player-no-controls"].forEach(e
1=>{w.classList.toggle(e,e==y)}),l=y);const v=n>1?n:1,b=p.find(e=>e*v>=window.innerWidth*window.devicePixelRatio),k=b?b*v:1/0,T=x.getConfiguration().restrictions;2==x.getLoadMode()&&0==T.minHeight&&T.maxWidth!=k&&x.configure("restrictions.maxWidth",k),ze("resize",[f,g])}let At=!1;function wt(){castAvailable&&At&&k(".player-control-chromecast").forEach(e=>e.classList.add("on"))}Fe(".player-control-chromecast","click",()=>T("google-cast-launcher").click());const xt="function"==typeof b.webkitShowPlaybackTargetPicker;let kt=!1;function Tt(){const e=xt&&kt;k(".player-control-airplay").forEach(t=>{t.classList.toggle("hide",!e),t.hidden=!e,t.disabled=!e})}if(xt){Fe(k(".player-control-airplay"),"click",function(){ye&&("private"==ye.visibility?ze("streamingforbidden","airplay"):b.webkitShowPlaybackTargetPicker())}),window.WebKitPlaybackTargetAvailabilityEvent&&b.addEventListener("webkitplaybacktargetavailabilitychanged",function(){Tt()}),b.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",function(){const e=this.webkitCurrentPlaybackTargetIsWireless;if(e){const e=nt("videos/hls.m3u8");this.src!=e&&(b.src=e)}k(".player-control-airplay i").forEach(t=>{t.classList.toggle("icon-m-player-airplay",!e),t.classList.toggle("icon-m-player-airplay-on",e)})})}let Ct=["volume","settings","fullscreen","chromecast","airplay"],Et=[];const St=(t.controls||[]).filter(e=>!e.startsWith("-")&&!e.startsWith("+"));St.length?Ct=St:t.controls&&t.controls.length&&t.controls.forEach(e=>{e.startsWith("-")?Et.push(e.slice(1)):e.startsWith("+")&&Ct.push(e.slice(1))}),Ct.forEach(function(e){k(".player-control-"+e).forEach(e=>e.classList.remove("hide"))}),Et.forEach(function(e){k(".player-control-"+e).forEach(e=>e.classList.add("hide"))}),kt=Ct.includes("airplay")&&!Et.includes("airplay"),Tt(),Ct.includes("close")&&!Et.includes("close")&&w.classList.add("close-control-visible");let Lt=[];t.controlsSettings&&t.controlsSettings.length&&t.controlsSettings.forEach(e=>{e.startsWith("-")&&Lt.push(e.slice(1))}),Lt.forEach(function(e){k(".settings-panel .settings-"+e).forEach(e=>e.classList.add("hide"))});k(".settings-panel .settings-control:not(.hide)").length||k(".player-control-settings").forEach(e=>e.classList.add("hide")),Fe(".player-control-close","click touchend",function(e){Oe(),ye=null,e.preventDefault()}),Fe(w,"mouseover mouseleave",function(e){const t=window.matchMedia("(hover:none)").matches,n=w.classList;!t&&["player-tiny","player-small"].includes(l)&&n.toggle("mobile-overlay","mouseover"==e.type)}),b.addEventListener(d?"loadeddata":"loadedmetadata",function(){const[e,n]=Nt();Pt(e,!1),jt(n,!1),At=!0,wt();b.style.height="";const i=!ye||!ye.mature||t.consent;t.autoplay&&i&&Z().catch(e=>{if(!("NotAllowedError"===e.name||f&&"AbortError"==e.name))throw e;w.classList.add("mobile-overlay"),w.classList.toggle("cover",!!ye&&!!ye.url&&!!b.paused),M.classList.add("show")})}),Fe([b,w],"click",function(e){if(e.target==e.currentTarget&&t.clickPlay){if(w.classList.contains("show-settings"))return void le();if(w.classList.contains("show-download-panel"))return void ce();if(w.classList.contains("show-description"))return void de();if("none"!=j.style.display)return void(j.style.display="none");se(e)}}),Fe(".player-cover","click",function(e){if(e.target!=T(".player-cover-logo")){Z();var t=w.getRootNode().activeElement;t&&t.blur()}}),Fe(".btn-watch-anyway","click",function(){w.classList.remove("warning","cover"),M.classList.remove("show"),Z()}),b.addEventListener("play",function(){w.classList.remove("paused","cover"),M.classList.remove("show"),$t(),be=Date.now(),He(),b.readyState<1&&x.getLoadMode()<2?(it(ye),b.addEventListener("loadedmetadata",function(){b.paused?Z():ze("play")})):ze("play"),setTimeout(()=>gt(),1e3),w.classList.remove("loading")}),b.addEventListener("pause",function(){Math.abs(b.currentTime-b.duration)>.01&&(w.classList.add("mobile-overlay"),$t.cancel()),ze("pause"),w.classList.add("paused"),Ve(!0)}),b.addEventListener("playing",function(){w.classList.remove("loading-frame")}),document.addEventListener("castavailable",wt),Fe(".cast-button","click touchend",function(e){e.preventDefault(),"private"==ye.visibility?ze("streamingforbidden","cast"):castMeta={video:b,data:ye}}),Fe(".player-play","click",se),b&&b.readyState>2&&b.dispatchEvent(new Event("loadedmetadata")),b&&b.paused&&w.classList.add("paused");let Mt=null;Fe(b,"waiting seeking",()=>
1{clearTimeout(Mt),b.readyState>=1&&!b.paused&&(Mt=setTimeout(()=>Ze(!0),1e3))}),x.addEventListener("manifestparsed",()=>{if(f){const e=x.getManifest(),t=[];e.variants.forEach(e=>{e.video&&"video/webm"!=e.video.mimeType&&t.push(e)}),e.variants=t}}),x.addEventListener("buffering",e=>{clearTimeout(Mt),x.getLoadMode()>0&&e.buffering?Mt=setTimeout(()=>Ze(!0),1e3):Ze(!1)});let It=0;Fe(b,"timeupdate",e=>{D.forEach(e=>e.innerText=te(b.currentTime)),fe();const n=e.currentTarget;if(!isNaN(e.currentTarget.duration)&&n.buffered){let e=0;for(let t=0;t<n.buffered.length;t++)if(n.buffered.end(t)>=n.currentTime){e=n.buffered.end(t);break}at(".buffer-bar",e/n.duration),It=b.currentTime}Ce&&function(){let e,t=b.currentTime;for(let n=0;n<Ce.length;n++){const i=Ce[n];if(i[0]<=t&&i[1]>t&&(e=i),t<i[0])break}let n=e?e[2]:"";V.innerText!=n&&(V.innerText=n)}(),t.end&&b.currentTime>=t.end&&!o&&(X(),o=!0)}),Fe(b,"canplay seeked",()=>{clearTimeout(Mt),Ze(!1)});const Dt=ee(function(){T(".volume-indicator").classList.remove("on")},800);function Rt(){const e=b.volume,t=b.muted?0:100*b.volume,n=["icon-m-player-mute","icon-m-player-volume1","icon-m-player-volume2","icon-m-player-volume3"];let i;i=0==e||b.muted?0:e<.33?1:e<.66?2:3,T(".volume-indicator-level").style.height=t+"%",k(".player-volume i").forEach(e=>{n.forEach(t=>e.classList.remove(t)),e.classList.add(n[i])})}function Nt(){var e=qe("volume"),n="true"==qe("muted"),i=parseFloat(t.volume);return isNaN(i)?null==e&&(e=1):(e=0==i?.5:i/100,n=0==i),[e,n]}function Pt(e,t){b.volume=Math.max(0,Math.min(1,e));const n=T(".vol-control");n.value!=b.volume&&(n.value=b.volume),e>0&&(b.muted=!1,!1!==t&&_e("muted",b.muted)),_&&_.setVolume(b.volume),Rt(),!1!==t&&_e("volume",b.volume)}function jt(e,t){0==b.volume&&e&&(e=!1,b.volume=.5,!1!==t&&_e("volume",b.volume)),b.muted=e,!1!==t&&_e("muted",b.muted),_&&_.setVolume(e?0:b.volume);const n=T(".vol-control"),i=e?0:b.volume;n.value!=i&&(n.value=i),Rt()}function Vt(){T(".volume-indicator").classList.add("on"),Dt()}Fe(".player-volume","click",function(){jt(!b.muted)}),Fe("input.volume","input change",function(){Pt(this.value)}),Fe("input","mousedown",function(e){e.currentTarget.classList.add("no-outline")}),Fe("input","blur",function(e){e.currentTarget.classList.remove("no-outline")});function Ht(e){return e.pageX?e.pageX:e.touches&&e.touches.length?e.touches[0].pageX:e.changedTouches&&e.changedTouches.length?e.changedTouches[0].pageX:0}function Bt(e){let t;if(N.forEach(function(e){getComputedStyle(e).opacity>0&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)&&(t=e)}),!t)return;E.style.display="block";const n=t.classList.contains("mobile")?0:Ft,i=t.getBoundingClientRect(),r=w.clientWidth,a=E.clientWidth,o=r-2*n,s=Ft,l=r-a-Ft,c=Ht(e)-i.left,u=Math.min(l,Math.max(s,n+c-a/2));if(E.style.left=u+"px",w.classList.add("mobile-overlay"),t.clientWidth>0){const e=c/o*b.duration,t=Math.max(0,Math.min(b.duration,e));Ut.imageAt(t)}if(at(".seek-bar",c/o),k(".progress-bar .seek-bar").forEach(e=>e.style.display="block"),Ot){const e=Math.min(r,Math.max(0,o-c));S.style.right=e+"px",S.style.display="block"}}const Ut=new class{constructor(e){this.canvas=e.querySelector("canvas"),this.timestampSpan=e.querySelector("span"),this.video=document.createElement("video"),this.video.crossorigin="use-credentials",this.oneTimeUpdate=null}setVideo(e){if(!e.url)return;const t=document.createElement("source");t.src=nt("videos/video-xs.mp4"),this.video.innerHTML="",this.video.preload="none",this.video.insertAdjacentElement("beforeend",t),this.loaded=!1,setTimeout(()=>this.loadVideo(),5e3)}loadVideo(e){this.loaded?e&&e():(this.video.addEventListener("loadstart",function(){e&&e()}),this.video.load(),this.loaded=!0)}clearCanvas(){if(this.canvas){this.canvas.getContext("2d").clearRect(0,0,this.canvas.width,this.canvas.height)}}addEvent(){const e=this,t=this.canvas,n=this.video;this.oneTimeUpdate=function(){e.removeEvent(),t.width=n.videoWidth,t.height=n.videoHeight,t.getContext("2d").drawImage(n,0,0,t.width,t.height)},this.video.addEventListener("timeupdate",this.oneTimeUpdate)}removeEvent(){this.video.removeEventListener("timeupdate",this.oneTimeUpdate)}imageAt(e){isFinite(e)&&this.loadVideo(()=>
1{if(!ye)return;let t=0,n=e/ye.duration;Le.forEach(([e,i],r)=>{n>=t&&n<t+e&&(T(".video-seekbar-chapter-title").innerText=i,N.forEach(e=>{e.querySelectorAll(".progress-bar").forEach((e,t)=>{e.classList.toggle("grow",r==t)})})),t+=e}),this.timestampSpan.innerText=te(e),this.removeEvent(),this.addEvent(),this.video.currentTime=e})}}(E);var Ot=null;const Ft=25;var zt=!1;Fe(".progress-bar, .progress-bar-container","touchstart touchend touchmove",function(e){e.preventDefault()}),Fe(".progress-bar, .progress-bar-container","touchstart mousedown",function(e){Ot=e.currentTarget,T(".player-controls-desktop").classList.add("on")}),Fe(N,"mouseleave touchend",()=>{E.style.display="none",S.style.display="none",N.forEach(e=>e.classList.remove("grow")),k(".progress-bar").forEach(e=>e.classList.remove("grow")),k(".progress-bar .seek-bar").forEach(e=>e.style.display="none"),zt=!0,setTimeout(()=>{zt=!1},50)}),Fe(document,"touchend mouseup",function(e){Ot&&(e.target.classList&&e.target.classList.contains("video-search-result")||function(e){e=e||0;const t=Ot.getBoundingClientRect(),n=e-t.left;if(b.duration&&isFinite(b.duration)){const e=Math.max(0,Math.min(1,n/Ot.clientWidth));at(".time-bar",e),re(b.duration*e)}else at(".time-bar",0),re(0)}(Ht(e)),e.target.closest&&e.target.closest(".progress-bar-container")||(S.style.display="none",E.style.display="none",N.forEach(e=>e.classList.remove("grow")),k(".progress-bar").forEach(e=>e.classList.remove("grow")),k(".progress-bar .seek-bar").forEach(e=>e.style.display="none")),e.target.closest&&e.target.closest(".video-container")||w.classList.remove("mobile-overlay"),Ot=null,T(".player-controls-desktop").classList.remove("on"))}),Fe(document,"touchmove mousemove",function(e){Ot&&(Bt(e),N.forEac
1h(e=>e.classList.add("grow")))}),Fe(".progress-bar-container","mousemove",function(e){let t=e.target.closest(".progress-bar-container");(w.contains(t)?t:null)&&!zt&&(Bt(e),N.forEach(e=>e.classList.add("grow")))}),w.addEventListener("mouseup",()=>{Ot&&e.addEventListener("click",function(e){e.target.classList.contains("video-search-result")||(e.stopPropagation(),e.currentTarget.removeEventListener(e.type,arguments.callee,!0))},!0)});let _t,qt,Kt,Gt=!1;function Qt(e){const t=Boolean(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||b.webkitDisplayingFullscreen);if((e=void 0!==e?e:!t)!=t)if(d&&e)b.webkitEnterFullscreen();else if(e){if(w.requestFullscreen?w.requestFullscreen():w.msRequestFullscreen?w.msRequestFullscreen():w.mozRequestFullScreen?w.mozRequestFullScreen():w.webkitRequestFullscreen&&w.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT),screen.orientation)try{screen.orientation.lock(ye.width>ye.height?"landscape":"portrait").catch(()=>{})}catch(e){}}else document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),screen.orientation&&screen.orientation.unlock()}function Wt(){const e=!!(document.fullscreenElement||document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement);w.classList.toggle("fullscreen",e),k(".player-control-fullscreen i").forEach(t=>{t.classList.toggle("icon-m-player-fullscreen-close",e),t.classList.toggle("icon-m-player-fullscreen",!e)}),_&&_.resize(w.clientWidth,w.clientHeight,e?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)}Fe(e,"click",function(e){Gt=!0,e.target.closest(".settings-panel")||e.target.closest(".player-control-settings")||le(),e.target.closest(".player-description")||e.target.closest(".player-control-description")||de(),e.target.closest(".download-panel")||e.target.closest(".player-down")||ce(),e.target.closest(".info-box")||"none"==j.style.display||(j.style.display="none")}),Fe(document,"click",function(e){Gt?Gt=!1:(e.target.closest(".settings-panel")||e.target.closest(".player-control-settings")||le(),e.target.closest(".player-description")||e.target.closest(".player-control-description")||de(),e.target.closest(".download-panel")||e.target.closest(".player-down")||ce(),e.target.closest(".info-box")||"none"==j.style.display||(j.style.display="none"))}),Fe(".close-overlay-share","click",function(){w.classList.remove("show-share")}),Fe(".close-overlay-cta","click",function(){w.classList.remove("show-cta"),b.currentTime<b.duration&&Z()}),Fe(".slider .settings-panel-header","click",function(e){ue(),e.stopPropagation(),e.stopImmediatePropagation()}),Fe(".settings-panel-header","click",function(e){const t=e.currentTarget.parentNode.classList.contains("open");k(".settings-panel .container").forEach(function(e){e.classList.remove("open")}),e.currentTarget.parentNode.classList.toggle("open",!t)}),Fe(P,"keyup",e=>{const t=e.currentTarget.value.trim();w.classList.toggle("search-active",t),t||pt(),t!=P.dataset.query&&(P.dataset.query=t,ct(e.currentTarget.value))}),Fe(P,"keydown",e=>{"Enter"==e.key?ht(e.shiftKey):"Escape"==e.key&&(pt(),P.blur()),e.stopPropagation()}),Fe(P,"focus",function(){w.classList.add("search-focused")}),Fe(P,"blur",function(){w.classList.remove("search-focused")}),Fe(".searchbar-next","click",function(){ht()}),Fe(".searchbar-prev","click",function(){ht(!0)}),Fe(".searchbar-next,.searchbar-prev,.searchbar-clear","mousedown",function(e){w.classList.contains("search-focused")&&e.preventDefault()}),Fe(".searchbar-clear","click",function(){P.value&&w.classList.contains("search-focused")||(P.blur(),w.classList.remove("search-focused")),pt()}),Fe(".searchbar-player-container","click",function(e){e.currentTarget==e.target&&(P.classList.add("no-outline"),P.focu
1s({focusVisible:!1}))}),Fe(w,"touchstart",e=>{clearTimeout(_t);const t=e.touches||e.changedTouches;t&&0!=t.length&&(qt=t[0].pageX,Kt=t[0].pageY,_t=setTimeout(()=>{j.style.display="block",Ye("debug")},1e4))}),Fe(w,"touchend touchcancel touchmove",e=>{const t=e.touches&&e.touches.length>0&&(Math.abs(e.touches[0].pageX-qt)>9||Math.abs(e.touches[0].pageY-Kt)>9);("touchmove"!=e.type||t)&&clearTimeout(_t)}),document.addEventListener("keydown",function(e){if(!(!ye||0==t.shortcuts||"focused"==t.shortcuts&&!r||b.readyState<2||1==t.hideControls)){var n=["input","textarea","select","a"],i=e.target.tagName.toLowerCase(),a=w.getRootNode().activeElement,o=a?a.tagName.toLowerCase():"",s={" ":oe,k:function(){s[" "]()},l:function(){ae(10)},j:function(){ae(-10)},".":function(){ie(1/24)},",":function(){ie(-1/24)},m:function(){jt(!b.muted),Vt()},"/":function(){const e=document.getElementById("searchbox-desktop");e&&e.focus()},s:function(){P.focus()},c:function(){vt(Ee&&"off"!=Ee?"off":"auto")},ArrowRight:function(){ae(5)},ArrowLeft:function(){ae(-5)},ArrowUp:function(){Pt(b.volume+.1),Vt()},ArrowDown:function(){Pt(b.volume-.1),Vt()},f:function(){Qt()},">":function(){const e=b.playbackRate,t=h.reduce((t,n)=>Math.abs(n-e)<Math.abs(t-e)?n:t);pe(h[Math.min(h.indexOf(t)+1,h.length-1)])},"<":function(){const e=b.playbackRate,t=h.reduce((t,n)=>Math.abs(n-e)<Math.abs(t-e)?n:t);pe(h[Math.max(h.indexOf(t)-1,0)])}};if(e.ctrlKey&&!e.metaKey&&"i"==e.key){const e="none"!=getComputedStyle(j).display;return j.style.display=e?"none":"block",void(e||Ye("debug"))}e.altKey||e.ctrlKey||e.metaKey||n.includes(i)||n.includes(o)||"true"==e.target.contentEditable||!s[e.key]||"button"==o&&" "==e.key||(e.preventDefault(),s[e.key]())}}),document.addEventListener("click",n=>{"focused"==t.shortcuts&&(r=e.contains(n.target))}),w.addEventListener("fullscreenchange",Wt),w.addEventListener("webkitfullscreenchange",Wt),w.addEventListener("MSFullscreenChange",Wt),b.addEventListener("webkitbeginfullscreen",()=>
1{Array.from(b.textTracks).forEach(e=>{e.mode=e.id=="track-"+Ee?"showing":"hidden"})}),b.addEventListener("webkitendfullscreen",()=>{let e="off";Array.from(b.textTracks).forEach(t=>{e="showing"==t.mode&&t.id.startsWith("track-")?t.id.substr(6):e,t.mode="hidden"}),yt(e)}),Fe(".player-control-fullscreen","click",function(){Qt()}),Fe(".player-controls-mobile .player-overlay-logo, .player-control-close","click",function(){Qt(!1)}),b.addEventListener("dblclick",function(){t.clickFullscreen&&Qt()}),Fe(".player-control-subtitles","click",function(){vt(Ee&&"off"!=Ee?"off":"auto")});const Yt=ee(function(){w.classList.remove("fullscreen-controls"),w.classList.add("hide-cursor")},3e3);function Zt(e){const t=document.createElement("form"),n=document.createElement("input");t.setAttribute("method","get"),t.setAttribute("action",e);const i=sessionStorage.getItem("vidp");i&&(n.setAttribute("name","password"),n.setAttribute("value",i),n.setAttribute("type","hidden"),t.setAttribute("method","post"),t.appendChild(n)),document.body.appendChild(t),t.submit()}var Xt;w.addEventListener("mousemove",function(){w.classList.contains("fullscreen")&&(w.classList.add("fullscreen-controls"),w.classList.remove("hide-cursor"),Yt())}),Fe(".info-box .info-close","click",function(){j.style.display="none"}),Fe(".player-control-settings","click",e=>{gt(),w.classList.toggle("show-settings"),e.screenX&&0!=e.detail||T(".settings-panel-header").focus({focusVisible:!0})}),Fe(".player-down","click",()=>{1==t.download.length&&t.download[0]==["video"]?Zt(`${g}/api/files/download/${ye.svid}/data`):t.download&&t.download.length&&w.classList.toggle("show-download-panel")}),Fe(".download-video","click",()=>{Zt(`${g}/api/files/download/${ye.svid}/data`),ce()}),Fe(".download-transcript","click",()=>{Zt(`${g}/api/files/subtitles/${ye.svid}/auto`),ce()}),L.forEach(e=>{e.addEventListener("click",function(){const e=window.navigator.share&&window.matchMedia("(max-width: 980px)").matches;w.classList.toggle("show-share"),T(".open-native-share").style.display=e?"span":"none",T(".btn-share-copy i").className="icon-m-player-copy"})}),Fe(".btn-share-copy","click",function(){var e=document.createElement("input");document.body.appendChild(e),e.value=T(".url-share").innerText,e.select(),document.execCommand("copy",!1),e.remove(),T(".btn-share-copy i").className="icon-m-player-check"});var Jt=0;T(".rew-clickable").addEventListener("dblclick",function(){Jt=0,clearTimeout(Xt),ae(-10)}),T(".fwd-clickable").addEventListener("dblclick",function(){Jt=0,clearTimeout(Xt),ae(10)}),Fe(".player-control-description","click",e=>{w.classList.toggle("show-description")});const $t=ee(function(){w.classList.contains("search-focused")?$t():w.classList.remove("mobile-overlay")},2e3);return Fe(".fwd-clickable, .rew-clickable","click",function(){Jt=1,Xt=setTimeout(function(){1==Jt&&(w.classList.toggle("mobile-overlay"),b.paused||$t())},300)}),b.addEventListener("ended",function(){t.cta&&"end"==t.cta.time&&t.ctaShow?(t.ctaShow=!1,w.classList.add("show-cta")):t.loop&&(s=!0,b.play()),je("play",{end:b.currentTime,force:1}).then(()=>{je("end",{start:b.currentTime,end:b.currentTime})}),clearTimeout(Mt),ze("ended")}),Fe(".minify","click touchend",t=>{t.preventDefault(),e.classList.toggle("minified"),T(".minify i").classList.toggle("icon-m-caret"),T(".minify i").classList.toggle("icon-m-caret-up"),bt()}),Fe(".player-cover-search","click",e=>{Z(),setTimeout(()=>P.focus({focusVisible:!1})),P.classList.add("no-outline"),w.classList.toggle("mobile-overlay"),$t(),e.stopPropagation()}),Fe(".player-title","click",()=>{b.pause()}),Fe(".playback-speed","click",e=>{le(),pe(parseFloat(e.currentTarget.dataset.value))}),Fe(".open-native-share","click",()=>{const e=g+"/v/"+ye.svid;navigator.share({url:e,title:ye.title,text:ye.title})}),{video:b,setData:Qe,getData:()=>ye,setDataValue:(e,t)=>ye[e]=t,setSizing:he,setSpeed:pe,setPoster:rt,setQuality:et,setControls:function(e){t.hideControls=!e,w.classList.toggle("hide-controls",!e),t.clickPlay=!!e},setVolume:e=>{t.volume=e,Pt(e/100)},setSubtitles:vt,setFullscreen:Qt,fetchSubtitles:e=>gt(e),recalcSize:bt,container:w,options:t,show:function(){w.style.display="fill"==t.sizing?"flex":"block"},hide:Oe,unload:Be,reload:Ue,play:()=>Z(),pause:()=>X(),seek:e=>re(e),updateBarTime:fe,on:function(e,t){if("timeupdate"===e){let e;b.addEventListener("play",()=>{clearInterval(e),e=setInterval(()=>t(Math.max(0,b.currentTime)),100)}),b.addEventListener("pause",()=>{clearInterval(e)}),b.addEventListener("timeupdate",()=>t(Math.max(0,b.currentTime)))}void 0===H[e]?H[e]=[t]:H[e].push(t)},off:function(e,t){if(void 0!==H[e]){const n=[];
1H[e].forEach(e=>{e!=t&&n.push(e)}),H[e]=n}},search:ut}}!function(){var e="undefined"!=typeof window?window:global,t={};if(function(e,t,n){var i;function r(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var a="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e};var o=function(n){n=["object"==typeof globalThis&&globalThis,n,"object"==typeof e&&e,"object"==typeof self&&self,"object"==typeof t&&t];for(var i=0;i<n.length;++i){var r=n[i];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function s(e,t){if(t)e:{var n=o;e=e.split(".");for(var i=0;i<e.length-1;i++){var r=e[i];if(!(r in n))break e;n=n[r]}(t=t(i=n[e=e[e.length-1]]))!=i&&null!=t&&a(n,e,{configurable:!0,writable:!0,value:t})}}function l(e){return(e={next:e})[Symbol.iterator]=function(){return this},e}function c(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:r(e)}}function u(e){if(!(e instanceof Array)){e=c(e);for(var t,n=[];!(t=e.next()).done;)n.push(t.value);e=n}return e}s("Symbol",function(e){function t(e,t){this.g=e,a(this,"description",{configurable:!0,writable:!0,value:t})}if(e)return e;t.prototype.toString=function(){return this.g};var n="jscomp_symbol_"+(1e9*Math.random()>>>0)+"_",i=0;return function e(r){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new t(n+(r||"")+"_"+i++,r)}}),s("Symbol.iterator",function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var t="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),n=0;n<t.length;n++){var i=o[t[n]];"function"==typeof i&&"function"!=typeof i.prototype[e]&&a(i.prototype,e,{configurable:!0,writable:!0,value:function(){return l(r(this))}})}return e});var d,p="function"==typeof Object.create?Object.create:function(e){function t(){}return t.prototype=e,new t};if("function"==typeof Object.setPrototypeOf)d=Object.setPrototypeOf;else{var h;e:{var f={};try{f.__proto__={a:!0},h=f.a;break e}catch(e){}h=!1}d=h?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var g=d;function m(e,t){if(e.prototype=p(t.prototype),e.prototype.constructor=e,g)g(e,t);else for(var n in t)if("prototype"!=n)if(Object.defineProperties){var i=Object.getOwnPropertyDescriptor(t,n);i&&Object.defineProperty(e,n,i)}else e[n]=t[n];e.wi=t.prototype}function y(){this.o=!1,this.l=null,this.h=void 0,this.g=1,this.j=this.m=0,this.u=this.i=null}function v(e){if(e.o)throw new TypeError("Generator is already running");e.o=!0}function b(e,t){e.i={kf:t,wf:!0},e.g=e.m||e.j}function A(e,t,n){return e.g=n,{value:t}}function w(e){e.g=0}function x(e,t,n){e.m=t,null!=n&&(e.j=n)}function k(e,t){e.m=0,e.j=t||0}function T(e,t,n){e.g=t,e.m=n||0}function C(e,t){return e.m=t||0,t=e.i.kf,e.i=null,t}function E(e){e.u=[e.i],e.m=0,e.j=0}function S(e,t){var n=e.u.splice(0)[0];(n=e.i=e.i||n)?n.wf?e.g=e.m||e.j:null!=n.B&&e.j<n.B?(e.g=n.B,e.i=null):e.g=e.j:e.g=t}function L(e){this.g=new y,this.h=e}function M(e,t,n,i){try{var r=t.call(e.g.l,n);if(!(r instanceof Object))throw new TypeError("Iterator result "+r+" is not an object");if(!r.done)return e.g.o=!1,r;var a=r.value}catch(t){return e.g.l=null,b(e.g,t),I(e)}
1return e.g.l=null,i.call(e.g,a),I(e)}function I(e){for(;e.g.g;)try{var t=e.h(e.g);if(t)return e.g.o=!1,{value:t.value,done:!1}}catch(t){e.g.h=void 0,b(e.g,t)}if(e.g.o=!1,e.g.i){if(t=e.g.i,e.g.i=null,t.wf)throw t.kf;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function D(e){this.next=function(t){return v(e.g),e.g.l?t=M(e,e.g.l.next,t,e.g.s):(e.g.s(t),t=I(e)),t},this.throw=function(t){return v(e.g),e.g.l?t=M(e,e.g.l.throw,t,e.g.s):(b(e.g,t),t=I(e)),t},this.return=function(t){return function(e,t){v(e.g);var n=e.g.l;return n?M(e,"return"in n?n.return:function(e){return{value:e,done:!0}},t,e.g.return):(e.g.return(t),I(e))}(e,t)},this[Symbol.iterator]=function(){return this}}function R(e){return function(e){function t(t){return e.next(t)}function n(t){return e.throw(t)}return new Promise(function(i,r){!function e(a){a.done?i(a.value):Promise.resolve(a.value).then(t,n).then(e,r)}(e.next())})}(new D(new L(e)))}function N(){for(var e=Number(this),t=[],n=e;n<arguments.length;n++)t[n-e]=arguments[n];return t}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function j(e,t,n){e instanceof String&&(e=String(e));for(var i=e.length,r=0;r<i;r++){var a=e[r];if(t.call(n,a,r,e))return{uf:r,v:a}}return{uf:-1,v:void 0}}function V(e,t,n){if(null==e)throw new TypeError("The 'this' value for String.prototype."+n+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+n+" must not be a regular expression");return e+""}function H(e,t){e instanceof String&&(e+="");var n=0,i=!1,r={next:function(){if(!i&&n<e.length){var r=n++;return{value:t(r,e[r]),done:!1}}return i=!0,{done:!0,value:void 0}}};return r[Symbol.iterator]=function(){return r},r}y.prototype.s=function(e){this.h=e},y.prototype.return=function(e){this.i={return:e},this.g=this.j},y.prototype.B=function(e){this.g=e},s("Promise",function(e){function t(e){this.h=0,this.i=void 0,this.g=[],this.o=!1;var t=this.j();try{e(t.resolve,t.reject)}catch(e){t.reject(e)}}function n(){this.g=null}function i(e){return e instanceof t?e:new t(function(t){t(e)})}if(e)return e;n.prototype.h=function(e){if(null==this.g){this.g=[];var t=this;this.i(function(){t.l()})}this.g.push(e)};var r=o.setTimeout;n.prototype.i=function(e){r(e,0)},n.prototype.l=function(){for(;this.g&&this.g.length;){var e=this.g;this.g=[];for(var t=0;t<e.length;++t){var n=e[t];e[t]=null;try{n()}catch(e){this.j(e)}}}this.g=null},n.prototype.j=function(e){this.i(function(){throw e})},t.prototype.j=function(){function e(e){return function(i){n||(n=!0,e.call(t,i))}}var t=this,n=!1;return{resolve:e(this.D),reject:e(this.l)}},t.prototype.D=function(e){if(e===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.G(e);else{e:switch(typeof e){case"object":var n=null!=e;break e;case"function":n=!0;break e;default:n=!1}n?this.C(e):this.m(e)}},t.prototype.C=function(e){var t=void 0;try{t=e.then}catch(e){return void this.l(e)}"function"==typeof t?this.I(t,e):this.m(e)},t.prototype.l=function(e){this.s(2,e)},t.prototype.m=function(e){this.s(1,e)},t.prototype.s=function(e,t){if(0!=this.h)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.h);this.h=e,this.i=t,2===this.h&&this.F(),this.u()},t.prototype.F=function(){var e=this;r(function(){if(e.A()){var t=o.console;void 0!==t&&t.error(e.i)}},1)},t.prototype.A=function(){if(this.o)return!1;var e=o.CustomEvent,t=o.Event,n=o.dispatchEvent;return void 0===n||("function"==typeof e?e=new e("unhandledrejection",{cancelable:!0}):"function"==typeof t?e=new t("unhandledrejection",{cancelable:!0}):(e=o.document.createEvent("CustomEvent")).initCustomEvent("unhandledrejection",!1,!0,e),e.promise=this,e.reason=this.i,n(e))},t.prototype.u=function(){if(null!=this.g){for(var e=0;e<this.g.length;++e)a.h(this.g[e]);this.g=null}};var a=new n;return t.prototype.G=function(e){var t=this.j();e.Yc(t.resolve,t.reject)},t.prototype.I=function(e,t){var n=this.j();try{e.call(t,n.resolve,n.reject)}catch(e){n.reject(e)}},t.prototype.then=function(e,n){function i(e,t){return"function"==typeof e?function(t){try{r(e(t))}catch(e){a(e)}}:t}var r,a,o=new t(function(e,t){r=e,a=t});
1return this.Yc(i(e,r),i(n,a)),o},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.Yc=function(e,t){function n(){switch(i.h){case 1:e(i.i);break;case 2:t(i.i);break;default:throw Error("Unexpected state: "+i.h)}}var i=this;null==this.g?a.h(n):this.g.push(n),this.o=!0},t.resolve=i,t.reject=function(e){return new t(function(t,n){n(e)})},t.race=function(e){return new t(function(t,n){for(var r=c(e),a=r.next();!a.done;a=r.next())i(a.value).Yc(t,n)})},t.all=function(e){var n=c(e),r=n.next();return r.done?i([]):new t(function(e,t){function a(t){return function(n){o[t]=n,0==--s&&e(o)}}var o=[],s=0;do{o.push(void 0),s++,i(r.value).Yc(a(o.length-1),t),r=n.next()}while(!r.done)})},t}),s("WeakMap",function(e){function t(e){if(this.g=(l+=Math.random()+1).toString(),e){e=c(e);for(var t;!(t=e.next()).done;)t=t.value,this.set(t[0],t[1])}}function n(){}function i(e){var t=typeof e;return"object"===t&&null!==e||"function"===t}function r(e){if(!P(e,s)){var t=new n;a(e,s,{value:t})}}function o(e){var t=Object[e];t&&(Object[e]=function(e){return e instanceof n?e:(Object.isExtensible(e)&&r(e),t(e))})}if(function(){if(!e||!Object.seal)return!1;try{var t=Object.seal({}),n=Object.seal({}),i=new e([[t,2],[n,3]]);return 2==i.get(t)&&3==i.get(n)&&(i.delete(t),i.set(n,4),!i.has(t)&&4==i.get(n))}catch(e){return!1}}())return e;var s="$jscomp_hidden_"+Math.random();o("freeze"),o("preventExtensions"),o("seal");var l=0;return t.prototype.set=function(e,t){if(!i(e))throw Error("Invalid WeakMap key");if(r(e),!P(e,s))throw Error("WeakMap key fail: "+e);return e[s][this.g]=t,this},t.prototype.get=function(e){return i(e)&&P(e,s)?e[s][this.g]:void 0},t.prototype.has=function(e){return i(e)&&P(e,s)&&P(e[s],this.g)},t.prototype.delete=function(e){return!!(i(e)&&P(e,s)&&P(e[s],this.g))&&delete e[s][this.g]},t}),s("Map",function(e){function t(){var e={};return e.hb=e.next=e.head=e}function n(e,t){var n=e.g;return l(function(){if(n){for(;n.head!=e.g;)n=n.hb;for(;n.next!=n.head;)return n=n.next,{done:!1,value:t(n)};n=null}return{done:!0,value:void 0}})}function i(e,t){var n=t&&typeof t;"object"==n||"function"==n?a.has(t)?n=a.get(t):(n=""+ ++o,a.set(t,n)):n="p_"+t;var i=e.h[n];if(i&&P(e.h,n))for(e=0;e<i.length;e++){var r=i[e];if(t!=t&&r.key!=r.key||t===r.key)return{id:n,list:i,index:e,entry:r}}return{id:n,list:i,index:-1,entry:void 0}}function r(e){if(this.h={},this.g=t(),this.size=0,e){e=c(e);for(var n;!(n=e.next()).done;)n=n.value,this.set(n[0],n[1])}}if(function(){if(!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),n=new e(c([[t,"s"]]));if("s"!=n.get(t)||1!=n.size||n.get({x:4})||n.set({x:4},"t")!=n||2!=n.size)return!1;var i=n.entries(),r=i.next();return!r.done&&r.value[0]==t&&"s"==r.value[1]&&!((r=i.next()).done||4!=r.value[0].x||"t"!=r.value[1]||!i.next().done)}catch(e){return!1}}())return e;var a=new WeakMap;r.prototype.set=function(e,t){var n=i(this,e=0===e?0:e);return n.list||(n.list=this.h[n.id]=[]),n.entry?n.entry.value=t:(n.entry={next:this.g,hb:this.g.hb,head:this.g,key:e,value:t},n.list.push(n.entry),this.g.hb.next=n.entry,this.g.hb=n.entry,this.size++),this},r.prototype.delete=function(e){return!(!(e=i(this,e)).entry||!e.list)&&(e.list.splice(e.index,1),e.list.length||delete this.h[e.id],e.entry.hb.next=e.entry.next,e.entry.next.hb=e.entry.hb,e.entry.head=null,this.size--,!0)},r.prototype.clear=function(){this.h={},this.g=this.g.hb=t(),this.size=0},r.prototype.has=function(e){return!!i(this,e).entry},r.prototype.get=function(e){return(e=i(this,e).entry)&&e.value},r.prototype.entries=function(){return n(this,function(e){return[e.key,e.value]})},r.prototype.keys=function(){return n(this,function(e){return e.key})},r.prototype.values=function(){return n(this,function(e){return e.value})},r.prototype.forEach=function(e,t){for(var n,i=this.entries();!(n=i.next()).done;)n=n.value,e.call(t,n[1],n[0],this)},r.prototype[Symbol.iterator]=r.prototype.entries;var o=0;return r}),s("Set",function(e){function t(e){if(this.g=new Map,e){e=c(e);for(var t;!(t=e.next()).done;)this.add(t.value)}this.size=this.g.size}return function(){if(!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),n=new e(c([t]));if(!n.has(t)||1!=n.size||n.add(t)!=n||1!=n.size||n.add({x:4})!=n||2!=n.size)return!1;var i=n.entries(),r=i.next();return!r.done&&r.value[0]==t&&r.value[1]==t&&(!(r=i.next()).done&&r.value[0]!=t&&4==r.value[0].x&&r.value[1]==r.value[0]&&i.next().done)}catch(e){return!1}}()?e:(t.prototype.add=function(e){return e=0===e?0:e,this.g.set(e,e),this.size=this.g.size,this},t.prototype.delete=function(e){return e=this.g.delete(e),this.size=this.g.size,e},t.prototype.clear=function(){this.g.clear(),this.size=0},t.prototype.has=function(e){return this.g.has(e)},t.prototype.entries=function(){return this.g.entries()},t.prototype.values=function(){return this.g.values()},t.prototype.keys=t.prototype.values,t.prototype[Symbol.iterator]=t.prototype.values,t.prototype.forEach=function(e,t){var n=this;this.g.forEach(function(i){return e.call(t,i,i,n)})},t)}),s("Array.prototype.findIndex",function(e){return e||function(e,t){return j(this,e,t).uf}}),s("Object.is",function(e){return e||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}}),s("Array.prototype.includes",function(e){return e||function(e,t){var n=this;n instanceof String&&(n=String(n));var i=n.length;for(0>(t=t||0)&&(t=Math.max(t+i,0));t<i;t++){var r=n[t];if(r===e||Object.is(r,e))return!0}return!1}}),s("String.prototype.includes",function(e){return e||function(e,t){return-1!==V(this,e,"includes").indexOf(e,t||0)}}),s("Array.prototype.find",function(e){return e||function(e,t){return j(this,e,t).v}}),s("String.prototype.startsWith",function(e){return e||function(e,t){var n=V(this,e,"startsWith"),i=n.length,r=e.length;t=Math.max(0,Math.min(0|t,n.length));for(var a=0;a<r&&t<i;)if(n[t++]!=e[a++])return!1;return a>=r}}),s("Array.prototype.keys",function(e){return e||function(){return H(this,function(e){return e})}}),s("WeakSet",function(e){function t(e){if(this.g=new WeakMap,e){e=c(e);for(var t;!(t=e.next()).done;)this.add(t.value)}}return function(){if(!e||!Object.seal)return!1;try{var t=Object.seal({}
1),n=Object.seal({}),i=new e([t]);return!(!i.has(t)||i.has(n))&&(i.delete(t),i.add(n),!i.has(t)&&i.has(n))}catch(e){return!1}}()?e:(t.prototype.add=function(e){return this.g.set(e,!0),this},t.prototype.has=function(e){return this.g.has(e)},t.prototype.delete=function(e){return this.g.delete(e)},t)}),s("Array.from",function(e){return e||function(e,t,n){t=null!=t?t:function(e){return e};var i=[],r="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];if("function"==typeof r){e=r.call(e);for(var a=0;!(r=e.next()).done;)i.push(t.call(n,r.value,a++))}else for(r=e.length,a=0;a<r;a++)i.push(t.call(n,e[a],a));return i}});var B="function"==typeof Object.assign?Object.assign:function(e,t){for(var n=1;n<arguments.length;n++){var i=arguments[n];if(i)for(var r in i)P(i,r)&&(e[r]=i[r])}return e};s("Object.assign",function(e){return e||B}),s("Array.prototype.values",function(e){return e||function(){return H(this,function(e,t){return t})}}),s("Promise.prototype.finally",function(e){return e||function(e){return this.then(function(t){return Promise.resolve(e()).then(function(){return t})},function(t){return Promise.resolve(e()).then(function(){throw t})})}}),s("Array.prototype.entries",function(e){return e||function(){return H(this,function(e,t){return[e,t]})}}),s("String.prototype.repeat",function(e){return e||function(e){var t=V(this,null,"repeat");if(0>e||1342177279<e)throw new RangeError("Invalid count value");e|=0;for(var n="";e;)1&e&&(n+=t),(e>>>=1)&&(t+=t);return n}}),s("Number.isNaN",function(e){return e||function(e){return"number"==typeof e&&isNaN(e)}}),s("Number.isFinite",function(e){return e||function(e){return"number"==typeof e&&(!isNaN(e)&&1/0!==e&&-1/0!==e)}}),s("Object.values",function(e){return e||function(e){var t,n=[];for(t in e)P(e,t)&&n.push(e[t]);return n}}),s("Math.log2",function(e){return e||function(e){return Math.log(e)/Math.LN2}}),s("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991}),s("Math.trunc",function(e){return e||function(e){if(e=Number(e),isNaN(e)||1/0===e||-1/0===e||0===e)return e;var t=Math.floor(Math.abs(e));return 0>e?-t:t}});var U=this||self;function O(e,t){e=e.split(".");var n,i=U;e[0]in i||void 0===i.execScript||i.execScript("var "+e[0]);for(;e.length&&(n=e.shift());)e.length||void 0===t?i=i[n]&&i[n]!==Object.prototype[n]?i[n]:i[n]={}:i[n]=t}function F(e){this.g=Math.exp(Math.log(.5)/e),this.i=this.h=0}function z(e){return e.h/(1-Math.pow(e.g,e.i))}function _(){this.h=new F(2),this.j=new F(5),this.g=0,this.i=128e3,this.l=16e3}function q(){}function K(){}function G(){}function Q(e){var t=N.apply(1,arguments);Z.has(e)||(Z.add(e),G.apply(q,u(t)))}function W(){}function Y(){}F.prototype.sample=function(e,t){var n=Math.pow(this.g,e);t=t*(1-n)+n*this.h,isNaN(t)||(this.h=t,this.i+=e)},_.prototype.configure=function(e){this.i=e.minTotalBytes,this.l=e.minBytes,this.h.g=Math.exp(Math.log(.5)/e.fastHalfLife),this.j.g=Math.exp(Math.log(.5)/e.slowHalfLife)},_.prototype.sample=function(e,t){if(!(t<this.l)){var n=8e3*t/e;e/=1e3,this.g+=t,this.h.sample(e,n),this.j.sample(e,n)}},_.prototype.getBandwidthEstimate=function(e){return this.g<this.i?e:Math.min(z(this.h),z(this.j))};var Z=new Set;function X(t){if($.has(t))return $.get(t);if(e.ManagedMediaSource){var n=ManagedMediaSource.isTypeSupported(t);return $.set(t,n),n}return!!e.MediaSource&&(n=MediaSource.isTypeSupported(t),$.set(t,n),n)}function J(){return!!e.SourceBuffer&&!!SourceBuffer.prototype&&!!SourceBuffer.prototype.changeType}e.console&&(G=function(){return console.warn.apply(console,u(N.apply(0,arguments)))},K=function(){console.error.apply(console,u(N.apply(0,arguments)))});var $=new Map;function ee(){}function te(){}function ne(){}function ie(e,t){if(!e&&!t)return!0;if(!e||!t||e.byteLength!=t.byteLength)return!1;if(re(e)==re(t)&&(e.byteOffset||0)==(t.byteOffset||0))return!0;var n=oe(e);t=oe(t);for(var i=0;i<e.byteLength;i++)if(n[i]!=t[i])return!1;return!0}function re(e){return e instanceof ArrayBuffer?e:e.buffer}function ae(e){return e instanceof ArrayBuffer?e:0==e.byteOffset&&e.byteLength==e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer}function oe(e,t,n){return ce(e,void 0===t?0:t,n=void 0===n?1/0:n,Uint8Array)}function se(e,t,n){return ce(e,void 0===t?0:t,n=void 0===n?1/0:n,Uint16Array)}function le(e,t,n){return ce(e,void 0===t?0:t,n=void 0===n?1/0:n,DataView)}function ce(e,t,n,i){var r=re(e),a=1;"BYTES_PER_ELEMENT"in i&&(a=i.BYTES_PER_ELEMENT);var o=((e.byteOffset||0)+e.byteLength)/a;return new i(r,e=Math.floor(Math.max(0,Math.min(((e.byteOffset||0)+t)/a,o))),Math.floor(Math.min(e+Math.max(n,0),o))-e)}function ue(){}function de(e){this.l=new te,(e=pe[e.toLowerCase()])&&(this.l=e()),this.g=new ee,(e=he)&&(this.g=e())}ee.prototype.extract=function(){},ee.prototype.decode=function(){return[]},ee.prototype.clear=function(){},ee.prototype.getStreams=function(){return[]},te.prototype.init=function(){},te.prototype.parse=function(){return[]},O("shaka.util.BufferUtils",ne),ne.toDataView=le,ne.toUint16=se,ne.toUint8=oe,ne.toArrayBuffer=ae,ne.equal=ie,ue.prototype.init=function(){},ue.prototype.i=function(){},ue.prototype.h=function(){},ue.prototype.j=function(){},O("shaka.media.IClosedCaptionParser",ue),de.prototype.init=function(e){this.l.init(e)},de.prototype.i=function(e){for(var t=(e=c(e=this.l.parse(e))).next();!t.done;t=e.next()){var n=oe((t=t.value).packet);0<n.length&&this.g.extract(n,t.pts)}return this.g.decode()},de.prototype.h=function(){this.g.clear()},de.prototype.j=function(){return this.g.getStreams()},O("shaka.media.ClosedCaptionParser",de),de.findDecoder=function(){return he},de.unregisterDecoder=function(){he=null},de.registerDecoder=function(e){he=e}
1,de.findParser=function(e){return pe[e]},de.unregisterParser=function(e){delete pe[e]},de.registerParser=function(e,t){pe[e]=t};var pe={},he=null;function fe(e,t){return!("number"!=typeof e||"number"!=typeof t||!isNaN(e)||!isNaN(t))||e===t}function ge(e,t){var n;if(n||(n=fe),e.length!=t.length)return!1;t=t.slice();for(var i={},r=(e=c(e)).next();!r.done;i={Fd:i.Fd},r=e.next()){if(i.Fd=r.value,-1==(r=t.findIndex(function(e){return function(t){return n(e.Fd,t)}}(i))))return!1;t[r]=t[t.length-1],t.pop()}return 0==t.length}function me(e,t,n){if(n||(n=fe),e.length!=t.length)return!1;for(var i=0;i<e.length;i++)if(!n(e[i],t[i]))return!1;return!0}function ye(e,t,n){this.startTime=e,this.endTime=t,this.payload=n,this.region=new Le,this.position=null,this.positionAlign=be,this.size=0,this.textAlign=Ae,this.direction=xe,this.writingMode=ke,this.lineInterpretation=Te,this.line=null,this.lineHeight="",this.lineAlign=Ce,this.displayAlign=we,this.fontSize=this.border=this.backgroundImage=this.backgroundColor=this.color="",this.fontWeight=Ee,this.fontStyle=Se,this.linePadding=this.letterSpacing=this.fontFamily="",this.opacity=1,this.textCombineUpright="",this.textDecoration=[],this.textStrokeWidth=this.textStrokeColor=this.textShadow="",this.wrapLine=!0,this.id="",this.nestedCues=[],this.lineBreak=this.isContainer=!1,this.rubyTag=null,this.cellResolution={Nb:32,rows:15}}function ve(e,t){if(e.startTime!=t.startTime||e.endTime!=t.endTime||e.payload!=t.payload)return!1;for(var n in e)if("startTime"!=n&&"endTime"!=n&&"payload"!=n)if("nestedCues"==n){if(!me(e.nestedCues,t.nestedCues,ve))return!1}else if("region"==n||"cellResolution"==n){for(var i in e[n])if(e[n][i]!=t[n][i])return!1}else if(Array.isArray(e[n])){if(!me(e[n],t[n]))return!1}else if(e[n]!=t[n])return!1;return!0}ye.prototype.clone=function(){var e,t=new ye(0,0,"");for(e in this)t[e]=this[e],t[e]&&t[e].constructor==Array&&(t[e]=t[e].slice());return t},O("shaka.text.Cue",ye),ye.equal=ve,ye.prototype.clone=ye.prototype.clone;var be="auto";ye.positionAlign={LEFT:"line-left",RIGHT:"line-right",CENTER:"center",AUTO:be};var Ae="center";ye.textAlign={LEFT:"left",RIGHT:"right",CENTER:Ae,START:"start",END:"end"};var we="after";ye.displayAlign={BEFORE:"before",CENTER:"center",AFTER:we};var xe="ltr";ye.direction={HORIZONTAL_LEFT_TO_RIGHT:xe,HORIZONTAL_RIGHT_TO_LEFT:"rtl"};var ke="horizontal-tb";ye.writingMode={HORIZONTAL_TOP_TO_BOTTOM:ke,VERTICAL_LEFT_TO_RIGHT:"vertical-lr",VERTICAL_RIGHT_TO_LEFT:"vertical-rl"};var Te=0;ye.lineInterpretation={LINE_NUMBER:Te,PERCENTAGE:1};var Ce="start";ye.lineAlign={CENTER:"center",START:Ce,END:"end"},ye.defaultTextColor={white:"white",lime:"lime",cyan:"cyan",red:"red",yellow:"yellow",magenta:"magenta",blue:"blue",black:"black"},ye.defaultTextBackgroundColor={bg_white:"white",bg_lime:"lime",bg_cyan:"cyan",bg_red:"red",bg_yellow:"yellow",bg_magenta:"magenta",bg_blue:"blue",bg_black:"black"};var Ee=400;ye.fontWeight={NORMAL:Ee,BOLD:700};var Se="normal";function Le(){this.id="",this.regionAnchorY=this.regionAnchorX=this.viewportAnchorY=this.viewportAnchorX=0,this.height=this.width=100,this.viewportAnchorUnits=this.widthUnits=this.heightUnits=Me,this.scroll=Ie}ye.fontStyle={NORMAL:Se,ITALIC:"italic",OBLIQUE:"oblique"},ye.textDecoration={UNDERLINE:"underline",LINE_THROUGH:"lineThrough",OVERLINE:"overline"},O("shaka.text.CueRegion",Le);var Me=1;Le.units={PX:0,PERCENTAGE:Me,LINES:2};var Ie="";function De(){}function Re(e,t,n){Pe[e.toLowerCase().split(";")[0]+"-"+n]={priority:n,zd:t}}function Ne(e,t){for(var n=e.toLowerCase().split(";")[0],i=c([Be,He,Ve,je]),r=i.next();!r.done;r=i.next())if(r=Pe[n+"-"+r.value]){var a=r.zd(),o=a.isSupported(e,t);if(a.destroy(),o)return r.zd}return null}Le.scrollMode={NONE:Ie,UP:"up"},De.prototype.destroy=function(){},O("shaka.transmuxer.TransmuxerEngine",De),De.findTransmuxer=Ne,De.unregisterTransmuxer=function(e,t){delete Pe[e.toLowerCase().split(";")[0]+"-"+t]},De.registerTransmuxer=Re,De.prototype.destroy=De.prototype.destroy;var Pe={},je=1,Ve=2,He=3,Be=4;De.PluginPriority={FALLBACK:je,PREFERRED_SECONDARY:Ve,PREFERRED:He,APPLICATION:Be};var Ue=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Oe(e){var t;e instanceof Oe?(Fe(this,e.Va),this.Ib=e.Ib,ze(this,e.cb),_e(this,e.Xb),this.Aa=e.Aa,qe(this,e.g.clone()),this.yb=e.yb):e&&(t=String(e).match(Ue))?(Fe(this,t[1]||"",!0),this.Ib=Ke(t[2]||""),ze(this,t[3]||"",!0),_e(this,t[4]),this.Aa=Ke(t[5]||"",!0),qe(this,t[6]||"",!0),this.yb=Ke(t[7]||"")):this.g=new $e(null)}function Fe(e,t,n){e.Va=n?Ke(t,!0):t,e.Va&&(e.Va=e.Va.replace(/:$/,""))}function ze(e,t,n){e.cb=n?Ke(t,!0):t}function _e(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.Xb=t}else e.Xb=null}function qe(e,t,n){t instanceof $e?e.g=t:(n||(t=Ge(t,Xe)),e.g=new $e(t))}function Ke(e,t){return e?t?decodeURI(e):decodeURIComponent(e):""}function Ge(e,t,n){return null!=e?(e=encodeURI(e).replace(t,Qe),n&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function Qe(e){return"%"+((e=e.charCodeAt(0))>>4&15).toString(16)+(15&e).toString(16)}(i=Oe.prototype).Va="",i.Ib="",i.cb="",i.Xb=null,i.Aa="",i.yb="",i.toString=function(){var e=[],t=this.Va;if(t&&e.push(Ge(t,We,!0),":"),t=this.cb){e.push("//");var n=this.Ib;n&&e.push(Ge(n,We,!0),"@"),e.push(encodeURIComponent(t).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(t=this.Xb)&&e.push(":",String(t))}return(t=this.Aa)&&(this.cb&&"/"!=t.charAt(0)&&e.push("/"),e.push(Ge(t,"/"==t.charAt(0)?Ze:Ye,!0))),(t=this.g.toString())&&e.push("?",t),(t=this.yb)&&e.push("#",Ge(t,Je)),e.join("")},i.resolve=function(e){var t=this.clone();"data"===t.Va&&(t=new Oe);var n=!!e.Va;n?Fe(t,e.Va):n=!!e.Ib,n?t.Ib=e.Ib:n=!!e.cb,n?ze(t,e.cb):n=null!=e.Xb;var i=e.Aa;if(n)_e(t,e.Xb);else if(n=!!e.Aa){if("/"!=i.charAt(0))if(this.cb&&!this.Aa)i="/"+i;else{var r=t.Aa.lastIndexOf("/");-1!=r&&(i=t.Aa.substr(0,r+1)+i)}if(".."==i||"."==i)i="";else if(-1!=i.indexOf("./")||-1!=i.indexOf("/.")){r=0==i.lastIndexOf("/",0),i=i.split("/");for(var a=[],o=0;o<i.length;){var s=i[o++];"."==s?r&&o==i.length&&a.push(""):".."==s?((1<a.length||1==a.length&&""!=a[0])&&a.pop(),r&&o==i.length&&a.push("")):(a.push(s),r=!0)}i=a.join("/")}}return n?t.Aa=i:n=""!==e.g.toString(),n?qe(t,e.g.clone()):n=!!e.yb,n&&
1(t.yb=e.yb),t},i.clone=function(){return new Oe(this)};var We=/[#\/\?@]/g,Ye=/[#\?:]/g,Ze=/[#\?]/g,Xe=/[#\?@]/g,Je=/#/g;function $e(e){this.g=e||null}function et(e){if(!e.pa&&(e.pa={},e.uc=0,e.g))for(var t=e.g.split("&"),n=0;n<t.length;n++){var i=t[n].indexOf("="),r=null;if(0<=i){var a=t[n].substring(0,i);r=t[n].substring(i+1)}else a=t[n];a=decodeURIComponent(a.replace(/\+/g," ")),r=r||"",e.add(a,decodeURIComponent(r.replace(/\+/g," ")))}}function tt(e){return et(e),e.uc}function nt(e,t,n){var i=N.apply(3,arguments);if(this.severity=e,this.category=t,this.code=n,this.data=i,this.handled=!1,this.message="Shaka Error "+this.code,it)try{throw Error(this.message||"Shaka Error")}catch(e){this.stack=e.stack}}(i=$e.prototype).pa=null,i.uc=null,i.add=function(e,t){et(this),this.g=null;var n=this.pa.hasOwnProperty(e)?this.pa[e]:null;return n||(this.pa[e]=n=[]),n.push(t),this.uc++,this},i.set=function(e,t){return et(this),this.g=null,this.pa.hasOwnProperty(e)?this.pa[e]=[t]:this.add(e,t),this},i.get=function(e){return et(this),this.pa[e]||[]},i.toString=function(){if(this.g)return this.g;if(!this.pa)return"";var e,t=[];for(e in this.pa)for(var n=encodeURIComponent(e),i=this.pa[e],r=0;r<i.length;r++){var a=n;""!==i[r]&&(a+="="+encodeURIComponent(i[r])),t.push(a)}return this.g=t.join("&")},i.clone=function(){var e=new $e;if(e.g=this.g,this.pa){var t,n={};for(t in this.pa)n[t]=this.pa[t].concat();e.pa=n,e.uc=this.uc}return e},nt.prototype.toString=function(){return"shaka.util.Error "+JSON.stringify(this,null," ")},O("shaka.util.Error",nt);var it=!0;function rt(e,t){if(0==t.length)return e;if(1==e.length&&1==t.length){var n=new Oe(e[0]);return t=new Oe(t[0]),[n.resolve(t).toString()]}t=t.map(function(e){return new Oe(e)}),n=[];for(var i=(e=c(e)).next();!i.done;i=e.next()){i=new Oe(i.value);for(var r=c(t),a=r.next();!a.done;a=r.next())n.push(i.resolve(a.value).toString())}return n}function at(e,t){return{keySystem:e,licenseServerUri:"",distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,serverCertificateUri:"",sessionType:"",initData:t||[],keyIds:new Set}}function ot(e,t){if(1==t.length)return t[0];if(null!=(e=st(e,t)))return e;throw new nt(2,4,4025,t)}function st(e,t){for(var n=c(ut[e]),i=n.next();!i.done;i=n.next()){i=i.value;for(var r=c(t),a=r.next();!a.done;a=r.next())if(a=a.value,i.test(a.trim()))return a.trim()}return e==lt?"":null}nt.Severity={RECOVERABLE:1,CRITICAL:2},nt.Category={NETWORK:1,TEXT:2,MEDIA:3,MANIFEST:4,STREAMING:5,DRM:6,PLAYER:7,CAST:8,STORAGE:9,ADS:10},nt.Code={UNSUPPORTED_SCHEME:1e3,BAD_HTTP_STATUS:1001,HTTP_ERROR:1002,TIMEOUT:1003,MALFORMED_DATA_URI:1004,REQUEST_FILTER_ERROR:1006,RESPONSE_FILTER_ERROR:1007,MALFORMED_TEST_URI:1008,UNEXPECTED_TEST_REQUEST:1009,ATTEMPTS_EXHAUSTED:1010,SEGMENT_MISSING:1011,INVALID_TEXT_HEADER:2e3,INVALID_TEXT_CUE:2001,UNABLE_TO_DETECT_ENCODING:2003,BAD_ENCODING:2004,INVALID_XML:2005,INVALID_MP4_TTML:2007,INVALID_MP4_VTT:2008,UNABLE_TO_EXTRACT_CUE_START_TIME:2009,INVALID_MP4_CEA:2010,TEXT_COULD_NOT_GUESS_MIME_TYPE:2011,CANNOT_ADD_EXTERNAL_TEXT_TO_SRC_EQUALS:2012,TEXT_ONLY_WEBVTT_SRC_EQUALS:2013,MISSING_TEXT_PLUGIN:2014,CHAPTERS_TRACK_FAILED:2015,UNSUPPORTED_EXTERNAL_THUMBNAILS_URI:2017,BUFFER_READ_OUT_OF_BOUNDS:3e3,JS_INTEGER_OVERFLOW:3001,EBML_OVERFLOW:3002,EBML_BAD_FLOATING_POINT_SIZE:3003,MP4_SIDX_WRONG_BOX_TYPE:3004,MP4_SIDX_INVALID_TIMESCALE:3005,MP4_SIDX_TYPE_NOT_SUPPORTED:3006,WEBM_CUES_ELEMENT_MISSING:3007,WEBM_EBML_HEADER_ELEMENT_MISSING:3008,WEBM_SEGMENT_ELEMENT_MISSING:3009,WEBM_INFO_ELEMENT_MISSING:3010,WEBM_DURATION_ELEMENT_MISSING:3011,WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING:3012,WEBM_CUE_TIME_ELEMENT_MISSING:3013,MEDIA_SOURCE_OPERATION_FAILED:3014,MEDIA_SOURCE_OPERATION_THREW:3015,VIDEO_ERROR:3016,QUOTA_EXCEEDED_ERROR:3017,TRANSMUXING_FAILED:3018,CONTENT_TRANSFORMATION_FAILED:3019,MSS_MISSING_DATA_FOR_TRANSMUXING:3020,MSS_TRANSMUXING_CODEC_UNKNOWN:3021,MSS_TRANSMUXING_FAILED:3022,TRANSMUXING_NO_VIDEO_DATA:3023,UNABLE_TO_GUESS_MANIFEST_TYPE:4e3,DASH_INVALID_XML:4001,DASH_NO_SEGMENT_INFO:4002,DASH_EMPTY_ADAPTATION_SET:4003,DASH_EMPTY_PERIOD:4004,DASH_WEBM_MISSING_INIT:4005,DASH_UNSUPPORTED_CONTAINER:4006,DASH_PSSH_BAD_ENCODING:4007,DASH_NO_COMMON_KEY_SYSTEM:4008,DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED:4009,DASH_CONFLICTING_KEY_IDS:4010,RESTRICTIONS_CANNOT_BE_MET:4012,HLS_PLAYLIST_HEADER_MISSING:4015,INVALID_HLS_TAG:4016,HLS_INVALID_PLAYLIST_HIERARCHY:4017,DASH_DUPLICATE_REPRESENTATION_ID:4018,HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND:4020,HLS_REQUIRED_ATTRIBUTE_MISSING:4023,HLS_REQUIRED_TAG_MISSING:4024,HLS_COULD_NOT_GUESS_CODECS:4025,HLS_KEYFORMATS_NOT_SUPPORTED:4026,DASH_UNSUPPORTED_XLINK_ACTUATE:4027,DASH_XLINK_DEPTH_
1LIMIT:4028,CONTENT_UNSUPPORTED_BY_BROWSER:4032,CANNOT_ADD_EXTERNAL_TEXT_TO_LIVE_STREAM:4033,NO_VARIANTS:4036,PERIOD_FLATTENING_FAILED:4037,INCONSISTENT_DRM_ACROSS_PERIODS:4038,HLS_VARIABLE_NOT_FOUND:4039,HLS_MSE_ENCRYPTED_MP2T_NOT_SUPPORTED:4040,HLS_MSE_ENCRYPTED_LEGACY_APPLE_MEDIA_KEYS_NOT_SUPPORTED:4041,NO_WEB_CRYPTO_API:4042,CANNOT_ADD_EXTERNAL_THUMBNAILS_TO_LIVE_STREAM:4045,MSS_INVALID_XML:4046,MSS_LIVE_CONTENT_NOT_SUPPORTED:4047,AES_128_INVALID_IV_LENGTH:4048,AES_128_INVALID_KEY_LENGTH:4049,DASH_CONFLICTING_AES_128:4050,DASH_UNSUPPORTED_AES_128:4051,STREAMING_ENGINE_STARTUP_INVALID_STATE:5006,NO_RECOGNIZED_KEY_SYSTEMS:6e3,REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE:6001,FAILED_TO_CREATE_CDM:6002,FAILED_TO_ATTACH_TO_VIDEO:6003,INVALID_SERVER_CERTIFICATE:6004,FAILED_TO_CREATE_SESSION:6005,FAILED_TO_GENERATE_LICENSE_REQUEST:6006,LICENSE_REQUEST_FAILED:6007,LICENSE_RESPONSE_REJECTED:6008,ENCRYPTED_CONTENT_WITHOUT_DRM_INFO:6010,NO_LICENSE_SERVER_GIVEN:6012,OFFLINE_SESSION_REMOVED:6013,EXPIRED:6014,SERVER_CERTIFICATE_REQUIRED:6015,INIT_DATA_TRANSFORM_ERROR:6016,SERVER_CERTIFICATE_REQUEST_FAILED:6017,MIN_HDCP_VERSION_NOT_MATCH:6018,ERROR_CHECKING_HDCP_VERSION:6019,LOAD_INTERRUPTED:7e3,OPERATION_ABORTED:7001,NO_VIDEO_ELEMENT:7002,OBJECT_DESTROYED:7003,CONTENT_NOT_LOADED:7004,CAST_API_UNAVAILABLE:8e3,NO_CAST_RECEIVERS:8001,ALREADY_CASTING:8002,UNEXPECTED_CAST_ERROR:8003,CAST_CANCELED_BY_USER:8004,CAST_CONNECTION_TIMED_OUT:8005,CAST_RECEIVER_APP_UNAVAILABLE:8006,STORAGE_NOT_SUPPORTED:9e3,INDEXED_DB_ERROR:9001,DEPRECATED_OPERATION_ABORTED:9002,REQUESTED_ITEM_NOT_FOUND:9003,MALFORMED_OFFLINE_URI:9004,CANNOT_STORE_LIVE_OFFLINE:9005,NO_INIT_DATA_FOR_OFFLINE:9007,LOCAL_PLAYER_INSTANCE_REQUIRED:9008,NEW_KEY_OPERATION_NOT_SUPPORTED:9011,KEY_NOT_FOUND:9012,MISSING_STORAGE_CELL:9013,STORAGE_LIMIT_REACHED:9014,DOWNLOAD_SIZE_CALLBACK_ERROR:9015,MODIFY_OPERATION_NOT_SUPPORTED:9016,INDEXED_DB_INIT_TIMED_OUT:9017,CS_IMA_SDK_MISSING:1e4,CS_AD_MANAGER_NOT_INITIALIZED:10001,SS_IMA_SDK_MISSING:10002,SS_AD_MANAGER_NOT_INITIALIZED:10003,CURRENT_DAI_REQUEST_NOT_FINISHED:10004,MT_AD_MANAGER_NOT_INITIALIZED:10005};var lt="text",ct={$:"video",N:"audio",ia:lt,Ld:"image",zh:"application"},ut={audio:[/^vorbis$/,/^Opus$/,/^opus$/,/^fLaC$/,/^flac$/,/^mp4a/,/^[ae]c-3$/,/^ac-4$/,/^dts[cex]$/],video:[/^avc/,/^hev/,/^hvc/,/^vp0?[89]/,/^av01/,/^dvh/],text:[/^vtt$/,/^wvtt/,/^stpp/]};function dt(){}function pt(e,t){var n=e;return t&&!At.includes(e)&&(n+='; codecs="'+t+'"'),n}function ht(e,t){return t&&(e+='; codecs="'+t+'"'),e}function ft(e,t,n){var i=pt(e,t);return Ne(t=ht(e,t))?(e=Ne(t))?(n=(e=e()).convertCodecs(n,t),e.destroy()):n=t:n="video/mp2t"!=e&&"audio"==n?i.replace("video","audio"):i,n}function gt(e){var t=bt(e);switch(e=t[0],t=t[1].toLowerCase(),!0){case"mp4a"===e&&"69"===t:case"mp4a"===e&&"6b"===t:case"mp4a"===e&&"40.34"===t:return"mp3";case"mp4a"===e&&"66"===t:case"mp4a"===e&&"67"===t:case"mp4a"===e&&"68"===t:case"mp4a"===e&&"40.2"===t:case"mp4a"===e&&"40.02"===t:case"mp4a"===e&&"40.5"===t:case"mp4a"===e&&"40.05"===t:case"mp4a"===e&&"40.29"===t:case"mp4a"===e&&"40.42"===t:return"aac";case"mp4a"===e&&"a5"===t:return"ac-3";case"mp4a"===e&&"a6"===t:return"ec-3";case"mp4a"===e&&"b2"===t:return"dtsx";case"mp4a"===e&&"a9"===t:return"dtsc";case"avc1"===e:case"avc3"===e:return"avc";case"hvc1"===e:case"hev1"===e:return"hevc";case"dvh1"===e:case"dvhe"===e:return"dovi"}return e}function mt(e){for(var t=[],n=(e=c(e.split(","))).next();!n.done;n=e.next())n=bt(n.value),t.push(n[0]);return t.sort().join(",")}function yt(e){return e.split(";")[0]}function vt(e){return(e=e.split(/ *; */)).shift(),(e=e.find(function(e){return e.startsWith("codecs=")}))?e.split("=")[1].replace(/^"|"$/g,""):""}function bt(e){var t=(e=e.split("."))[0];return e.shift(),[t,e.join(".")]}O("shaka.util.MimeUtils",dt),dt.getFullTypeWithAllCodecs=ht,dt.getFullType=pt,(new Map).set("codecs","codecs").set("frameRate","framerate").set("bandwidth","bitrate").set("width","width").set("height","height").set("channelsCount","channels");var At=["audio/aac","audio/ac3","audio/ec3","audio/mpeg"];function wt(e){this.i=null,this.j=e,this.u=!1,this.l=this.s=0,this.m=1/0,this.h=this.g=null,this.A="",this.o=new Map}function xt(e){return!!Ct[e]||("application/cea-608"==e||"application/cea-708"==e)&&!!he}function kt(e,t,n){if(e.A=t,t=e.o.get(t))for(var i=c(t.keys()),r=i.next();!r.done;r=i.next())(r=t.get(r.value).filter(function(e){return e.endTime<=n}))&&e.j.append(r)}function Tt(e,t,n){t.startTime+=n,t.endTime+=n;for(var i=(t=c(t.nestedCues)).next();!i.done;i=t.next())Tt(e,i.value,n)}wt.prototype.destroy=function(){return this.j=this.i=null,this.o.clear(),Promise.resolve()},wt.prototype.remove=function(e,t){var n=this;return R(function(i){if(1==i.g)return A(i,Promise.resolve(),2);!n.j||!n.j.remove(e,t)||null==n.g||t<=n.g||e>=n.h||(e<=n.g&&t>=n.h?n.g=n.h=null:e<=n.g&&t<n.h?n.g=t:e>n.g&&t>=n.h&&(n.h=e)),w(i)})},O("shaka.text.TextEngine",wt),wt.prototype.destroy=wt.prototype.destroy,wt.findParser=function(e){return Ct[e]},wt.unregisterParser=function(e){delete Ct[e]},wt.registerParser=function(e,t){Ct[e]=t};var Ct={};function Et(e,t){return e.concat(t)}function St(){}function Lt(e){return null!=e}function Mt(){}function It(e,t){return e=Nt(e),t=Nt(t),e.split("-")[0]==t.split("-")[0]}function Dt(e,t){return e=Nt(e),t=Nt(t),e=e.split("-"),t=t.split("-"),e[0]==t[0]&&1==e.length&&2==t.length}function Rt(e,t){return e=Nt(e),t=Nt(t),e=e.split("-"),t=t.split("-"),2==e.length&&2==t.length&&e[0]==t[0]}function Nt(e){var t=e.split("-x-"),n=t[0].split("-");return e=n[0]||"",n=n[1]||"",t=t[1]?"x-"+t[1]:"",e=e.toLowerCase(),e=Bt.get(e)||e,((n=n.toUpperCase())?e+"-"+n:e)+(t?"-"+t:"")}function Pt(e,t){return e=Nt(e),(t=Nt(t))==e?4:Dt(t,e)?3:Rt(t,e)?2:Dt(e,t)?1:0}function jt(e){var t=e.indexOf("-");return e=(e=0<=t?e.substring(0,t):e).toLowerCase(),Bt.get(e)||e}function Vt(e){return e.language?Nt(e.language):e.audio&&e.audio.language?Nt(e.audio.language):e.video&&e.video.language?Nt(e.video.language):"und"}function Ht(e,t){e=Nt(e);var n=new Set,i=c(t);for(t=i.next();!t.done;t=i.next())n.add(Nt(t.value));for(t=(i=c(n)).next();!t.done;t=i.next())if((t=t.value)==e)return t;for(t=(i=c(n)).next();!t.done;t=i.next())if(Dt(t=t.value,e))return t;for(t=(i=c(n)).next();!t.done;t=i.next())if(Rt(t=t.value,e))return t;for(t=(n=c(n)).next();!t.done;t=n.next())if(Dt(e,t=t.value))return t;return null}O("shaka.util.LanguageUtils",Mt),Mt.findClosestLocale=Ht,Mt.getLocaleForVariant=Vt,Mt.getLocaleForText=function(e){return Nt(e.language||"und")},Mt.getBase=jt,Mt.relatedness=Pt,Mt.areSiblings=function(e,t){var n=jt(e),i=jt(t);return e!=n&&t!=i&&n==i},Mt.normalize=Nt,Mt.isSiblingOf=Rt,Mt.isParentOf=Dt,Mt.areLanguageCompatible=It,Mt.areLocaleCompatible=function(e,t){return(e=Nt(e))==(t=Nt(t))};var Bt=new Map([["aar","aa"],["abk","ab"],["afr","af"],["aka","ak"],["alb","sq"],["amh","am"],["ara","ar"],["arg","an"],["arm","hy"],["asm","as"],["ava","av"],["ave","ae"],["aym","ay"],["aze","az"],["bak","ba"],["bam","bm"],["baq","eu"],["bel","be"],["ben","bn"],["bih","bh"],["bis","bi"],["bod","bo"],["bos","bs"],["bre","br"],["bul","bg"],["bur","my"],["cat","ca"],["ces","cs"],["cha","ch"],["che","ce"],["chi","zh"],["chu","cu"],["chv","cv"],["cor","kw"],["cos","co"],["cre","cr"],["cym","cy"],["cze","cs"],["dan","da"],["deu","de"],["div","dv"],["dut","nl"],["dzo","dz"],["ell","el"],["eng","en"],["epo","eo"],["est","et"],["eus","eu"],["ewe","ee"],["fao","fo"],["fas","fa"],["fij","fj"],["fin","fi"],["fra","fr"],["fre","fr"],["fry","fy"],["ful","ff"],["geo","ka"],["ger","de"],["gla","gd"],["gle","ga"],["glg","gl"],["glv","gv"],["gre","el"],["grn","gn"],["guj","gu"],["hat","ht"],["hau","ha"],["heb","he"],["her","hz"],["hin","hi"],["hmo","ho"],["hrv","hr"],["hun","hu"],["hye","hy"],["
1ibo","ig"],["ice","is"],["ido","io"],["iii","ii"],["iku","iu"],["ile","ie"],["ina","ia"],["ind","id"],["ipk","ik"],["isl","is"],["ita","it"],["jav","jv"],["jpn","ja"],["kal","kl"],["kan","kn"],["kas","ks"],["kat","ka"],["kau","kr"],["kaz","kk"],["khm","km"],["kik","ki"],["kin","rw"],["kir","ky"],["kom","kv"],["kon","kg"],["kor","ko"],["kua","kj"],["kur","ku"],["lao","lo"],["lat","la"],["lav","lv"],["lim","li"],["lin","ln"],["lit","lt"],["ltz","lb"],["lub","lu"],["lug","lg"],["mac","mk"],["mah","mh"],["mal","ml"],["mao","mi"],["mar","mr"],["may","ms"],["mkd","mk"],["mlg","mg"],["mlt","mt"],["mon","mn"],["mri","mi"],["msa","ms"],["mya","my"],["nau","na"],["nav","nv"],["nbl","nr"],["nde","nd"],["ndo","ng"],["nep","ne"],["nld","nl"],["nno","nn"],["nob","nb"],["nor","no"],["nya","ny"],["oci","oc"],["oji","oj"],["ori","or"],["orm","om"],["oss","os"],["pan","pa"],["per","fa"],["pli","pi"],["pol","pl"],["por","pt"],["pus","ps"],["que","qu"],["roh","rm"],["ron","ro"],["rum","ro"],["run","rn"],["rus","ru"],["sag","sg"],["san","sa"],["sin","si"],["slk","sk"],["slo","sk"],["slv","sl"],["sme","se"],["smo","sm"],["sna","sn"],["snd","sd"],["som","so"],["sot","st"],["spa","es"],["sqi","sq"],["srd","sc"],["srp","sr"],["ssw","ss"],["sun","su"],["swa","sw"],["swe","sv"],["tah","ty"],["tam","ta"],["tat","tt"],["tel","te"],["tgk","tg"],["tgl","tl"],["tha","th"],["tib","bo"],["tir","ti"],["ton","to"],["tsn","tn"],["tso","ts"],["tuk","tk"],["tur","tr"],["twi","tw"],["uig","ug"],["ukr","uk"],["urd","ur"],["uzb","uz"],["ven","ve"],["vie","vi"],["vol","vo"],["wel","cy"],["wln","wa"],["wol","wo"],["xho","xh"],["yid","yi"],["yor","yo"],["zha","za"],["zho","zh"],["zul","zu"]]);function Ut(){this.g={}}function Ot(e){var t=new WeakSet;return function e(n){switch(typeof n){case"undefined":case"boolean":case"number":case"string":case"symbol":case"function":return n;default:if(!n||n.buffer&&n.buffer.constructor==ArrayBuffer)return n;if(t.has(n))return null;var i=n.constructor==Array;if(n.constructor!=Object&&!i)return null;t.add(n);var r,a=i?[]:{};for(r in n)a[r]=e(n[r]);return i&&(a.length=n.length),a}}(e)}function Ft(e){var t,n={};for(t in e)n[t]=e[t];return n}function zt(e){this.h=e,this.g=null}function _t(e){this.h=e,this.g=null}function qt(){var t=e.ManagedMediaSource||e.MediaSource;return!(!t||!t.isTypeSupported)}function Kt(){return Xt("Xbox One")}function Gt(){return Xt("Tizen")}function Qt(){return Xt("Web0S")&&Xt("Chrome/38.0.2125.122 Safari/537.36")}function Wt(){return!!navigator.vendor&&navigator.vendor.includes("Apple")&&!Gt()&&!Xt("PC=EOS")&&!Xt("VirginMedia")&&!Xt("SOPOpenBrowser")&&!Yt()&&!Xt("AFT")}function Yt(){return Xt("PlayStation 4")}function Zt(){if(!Wt())return null;var e=navigator.userAgent.match(/Version\/(\d+)/);return e||(e=navigator.userAgent.match(/OS (\d+)(?:_\d+)?/))?parseInt(e[1],10):null}function Xt(e){return(navigator.userAgent||"").includes(e)}function Jt(){return en||($t||($t=new _t(function(){en=null})),(en=document.getElementsByTagName("video")[0]||document.getElementsByTagName("audio")[0])||(en=document.createElement("video")),$t.U(1),en)}(i=Ut.prototype).push=function(e,t){this.g.hasOwnProperty(e)?this.g[e].push(t):this.g[e]=[t]},i.get=function(e){return(e=this.g[e])?e.slice():null},i.remove=function(e,t){e in this.g&&(this.g[e]=this.g[e].filter(function(e){return e!=t}),0==this.g[e].length&&delete this.g[e])},i.forEach=function(e){for(var t in this.g)e(t,this.g[t])},i.size=function(){return Object.keys(this.g).length},i.keys=function(){return Object.keys(this.g)},zt.prototype.U=function(t){var n=this;this.stop();var i=!0,r=null;return this.g=function(){e.clearTimeout(r),i=!1},r=e.setTimeout(function(){i&&n.h()},1e3*t),this},zt.prototype.stop=function(){this.g&&(this.g(),this.g=null)},_t.prototype.Zb=function(){return this.stop(),this.h(),this},_t.prototype.U=function(e){var t=this;return this.stop(),this.g=new zt(function(){t.h()}).U(e),this},_t.prototype.Ra=function(e){var t=this;return this.stop(),this.g=new zt(function(){t.g.U(e),t.h()}).U(e),this},_t.prototype.stop=function(){this.g&&(this.g.stop(),this.g=null)},O("shaka.util.Timer",_t),_t.prototype.stop=_t.prototype.stop,_t.prototype.tickEvery=_t.prototype.Ra,_t.prototype.tickAfter=_t.prototype.U,_t.prototype.tickNow=_t.prototype.Zb;var $t=null,en=null;function tn(){}function nn(e,t,n,i){var r=e.variants;if((t.length||n.length)&&(r=function(e,t,n){for(var i={},r=(t=c(t)).next();!r.done;i={Kd:i.Kd},r=t.next())if(i.Kd=r.value,r=e.filter(function(e){return function(t){return t.video&&t.video.codecs.startsWith(e.Kd)}}(i)),r.length){e=r;break}for(i={},n=c(n),t=n.next();!t.done;i={Ed:i.Ed},t=n.next())if(i.Ed=t.value,t=e.filter(function(e){return function(t){return t.audio&&t.audio.codecs.startsWith(e.Ed)}}(i)),t.length){e=t;break}return e}(r,t,n)),i.length){for(t=new Ut,r=(n=c(r)).next();!r.done;r=n.next())r=r.value,t.push(String(r.video.width||0),r);var a=[];t.forEach(function(e,t){e=0;for(var n=[],r={},o=(t=c(t)).next();!o.done;r={nc:r.nc},o=t.next())r.nc=o.value,(o=i.filter(function(e){return function(t){return e.nc.decodingInfos[0][t]}}(r)).length)>e?(e=o,n=[r.nc]):o==e&&n.push(r.nc);a.push.apply(a,u(n))}),r=a}n=new Set,t=new Set;var o=c(r);for(r=o.next();!r.done;r=o.next())(r=r.value).audio&&n.add(r.audio),r.video&&t.add(r.video);n=Array.from(n).sort(function(e,t){return e.bandwidth-t.bandwidth});var s=[];for(r=new Map,o=(n=c(n)).next();!o.done;o=n.next()){var l=(o=o.value).language+(o.channelsCount||0)+(o.audioSamplingRate||0)+o.roles.join(",")+o.label+o.groupId+o.fastSwitching,d=r.get(l)||[];if(d.length){var p=d[d.length-1],h=gt(p.codecs),f=gt(o.codecs);h==f&&o.bandwidth>p.bandwidth&&(d.push(o),s.push(o.id))}else d.push(o),s.push(o.id);r.set(l,d)}n=Array.from(t).sort(function(e,t){return e.bandwidth&&t.bandwidth?e.bandwidth-t.bandwidth:e.width-t.width}),t=J();var g=[];for(r=new Map,o=(n=c(n)).next();!o.done;o=n.next()){if(o=o.value,l=Math.round(o.frameRate||0)+(o.hdr||"")+o.fastSwitching,(d=r.get(l)||[]).length){if(p=d[d.length-1],!t&&(h=gt(p.codecs))!==(f=gt(o.codecs)))continue;o.width>p.width||o.height>
1p.height?(d.push(o),g.push(o.id)):o.width==p.width&&o.height==p.height&&((h=gt(p.codecs))==(f=gt(o.codecs))&&o.bandwidth<p.bandwidth&&(d.push(o),g.push(o.id)))}else d.push(o),g.push(o.id);r.set(l,d)}e.variants=e.variants.filter(function(e){var t=e.audio;return e=e.video,!(t&&!s.includes(t.id)||e&&!g.includes(e.id))})}function rn(e,t,n){function i(e,t,n){return e>=t&&e<=n}var r=e.video;return!(r&&r.width&&r.height&&(!i(r.width,t.minWidth,Math.min(t.maxWidth,n.width))||!i(r.height,t.minHeight,Math.min(t.maxHeight,n.height))||!i(r.width*r.height,t.minPixels,t.maxPixels))||e&&e.video&&e.video.frameRate&&!i(e.video.frameRate,t.minFrameRate,t.maxFrameRate)||!i(e.bandwidth,t.minBandwidth,t.maxBandwidth))}function an(e,t){return R(function(n){return 1==n.g?A(n,function(e,t,n){var i,r,a,o;return R(function(s){if(1==s.g)return A(s,ln(t.variants,n,!1,[]),2);i=null,e&&(r=e.g)&&(i=r.keySystem),a=ct,o=Kt(),t.variants=t.variants.filter(function(e){var t=e.video,n=t&&t.width||0,r=t&&t.height||0;if(o&&t&&(1920<n||1080<r)&&(t.codecs.includes("avc1.")||t.codecs.includes("avc3.")))return xn(e),!1;if(t){if(n=dn(t.codecs),t.codecs.includes(",")){if(r=t.codecs.split(","),n=dn(n=ot(a.$,r)),r=un(r=ot(a.N,r)),!X(ft(t.mimeType,r,a.N)))return!1;n=[n,r].join()}if(!X(r=ft(t.mimeType,n,a.$)))return!1;t.codecs=n}if(t=e.audio){if(n=un(t.codecs),!X(r=ft(t.mimeType,n,a.N)))return!1;t.codecs=n}return(t=e.decodingInfos.some(function(e){return!(!e.supported||i&&(e=e.keySystemAccess)&&e.keySystem!=i)}))||xn(e),t}),w(s)})}(e,t,0<t.offlineSessionIds.length),2):(function(e){e.textStreams=e.textStreams.filter(function(e){return xt(e=pt(e.mimeType,e.codecs))})}(t),A(n,function(e){var t,n,i,r,a,o,s;return R(function(l){switch(l.g){case 1:t=[],n=c(e.imageStreams),i=n.next();case 2:if(i.done){l.B(4);break}if(r=i.value,"application/mp4"==(a=r.mimeType)&&"mjpg"==r.codecs&&(a="image/jpg"),En.has(a)){l.B(5);break}if(!(o=Sn.get(a))){En.set(a,!1),l.B(5);break}return A(l,function(e){return new Promise(function(t){var n=new Image;n.src=e,"decode"in n?n.decode().then(function(){t(!0)}).catch(function(){t(!1)}):n.onload=n.onerror=function(){t(2===n.height)}})}(o),7);case 7:s=l.h,En.set(a,s);case 5:En.get(a)&&t.push(r),i=n.next(),l.B(2);break;case 4:e.imageStreams=t,w(l)}})}(t),0))})}function on(e){var t=[];for(n in e)t.push(n);t.sort();for(var n=[],i=(t=c(t)).next();!i.done;i=t.next()){var r=i.value;i=JSON.stringify(r),(r=e[r])instanceof Object?(r=on(r),n.push(i+":"+r)):(r=JSON.stringify(r),n.push(i+":"+r))}return"{"+n.join(",")+"}"}function sn(e,t){var n,i,r,a,o,s,l;return R(function(u){if(1==u.g)return n=on(t),(i=Tn)[n]?(e.decodingInfos.push(i[n]),u.B(0)):A(u,function(e){var t=[""];e.video&&(t=vt(e.video.contentType).split(","));var n=[""];e.audio&&(n=vt(e.audio.contentType).split(","));for(var i=[],r=(t=c(t)).next();!r.done;r=t.next()){r=r.value;for(var a={},o=c(n),s=o.next();!s.done;a={vb:a.vb},s=o.next())s=s.value,a.vb=Ot(e),e.video&&(a.vb.video.contentType=pt(yt(a.vb.video.contentType),r)),e.audio&&(a.vb.audio.contentType=pt(yt(a.vb.audio.contentType),s)),i.push(new Promise(function(e){return function(t,n){navigator.mediaCapabilities.decodingInfo(e.vb).then(function(e){t(e)}).catch(n)}}(a)))}return Promise.all(i).catch(function(){return JSON.stringify(e),null})}(t),3);if((r=u.h)&&r.length){for(a=null,o=c(r),s=o.next();!s.done;s=o.next())l=s.value,a?(a.supported=a.supported&&l.supported,a.powerEfficient=a.powerEfficient&&l.powerEfficient,a.smooth=a.smooth&&l.smooth,l.keySystemAccess||(a.keySystemAccess=null)):a=l;a&&(i[n]=a,e.decodingInfos.push(a))}w(u)})}function ln(e,t,n,i){var r,a,o,s,l,u,d,p,h,f,g,m,y,v,b,w;return R(function(x){switch(x.g){case 1:if(e.some(function(e){return e.decodingInfos.length}))return x.return();r={},a=c(i),o=a.next();case 2:if(o.done){x.B(4);break}r.Gd=o.value,s=!1,l=c(e),u=l.next();case 5:if(u.done){x.B(7);break}d=u.value,p=cn(d,t,n).filter((k=r,function(e){return(e.keySystemConfiguration&&e.keySystemConfiguration.keySystem)===k.Gd})),h=c(p),f=h.next();case 8:if(f.done){x.B(10);break}return g=f.value,A(x,sn(d,g),9);case 9:f=h.next(),x.B(8);break;case 10:d.decodingInfos.length&&(s=!0),u=l.next(),x.B(5);break;case 7:if(s)return x.return();r={Gd:r.Gd},o=a.next(),x.B(2);break;case 4:m=c(e),u=m.next();case 12:if(u.done){x.B(0);break}y=u.value,v=cn(y,t,n).filter(function(e){return!(e=e.keySystemConfiguration&&e.keySystemConfiguration.keySystem)||!i.includes(e)}),b=c(v),f=b.next();case 15:if(f.done){u=m.next(),x.B(12);break}return w=f.value,A(x,sn(y,w),16);case 16:f=b.next(),x.B(15)}var k})}function cn(e,t,n){var i=e.audio,r=e.video;
1if(n={type:n?"file":"media-source"},r){var a=r.codecs;if(r.codecs.includes(",")){var o=r.codecs.split(",");a=dn(a=ot("video",o)),o=un(o=ot("audio",o)),o=ft(r.mimeType,o,"audio"),n.audio={contentType:o,channels:2,bitrate:e.bandwidth||1,samplerate:1,spatialRendering:!1}}if(a=dn(a),a=ft(r.mimeType,a,"video"),n.video={contentType:a,width:r.width||64,height:r.height||64,bitrate:r.bandwidth||e.bandwidth||1,framerate:r.frameRate||1},r.hdr)switch(r.hdr){case"SDR":n.video.transferFunction="srgb";break;case"PQ":n.video.transferFunction="pq";break;case"HLG":n.video.transferFunction="hlg"}}if(i&&(a=un(i.codecs),a=ft(i.mimeType,a,"audio"),n.audio={contentType:a,channels:i.channelsCount||2,bitrate:i.bandwidth||e.bandwidth||1,samplerate:i.audioSamplingRate||1,spatialRendering:i.spatialAudio}),!(o=(e.video?e.video.drmInfos:[]).concat(e.audio?e.audio.drmInfos:[])).length)return[n];e=[],a=new Map;for(var s=(o=c(o)).next();!s.done;s=o.next()){var l=s.value;a.get(l.keySystem)||a.set(l.keySystem,[]),a.get(l.keySystem).push(l)}o=t?"required":"optional",t=t?["persistent-license"]:["temporary"];for(var u=(l=c(a.keys())).next();!u.done;u=l.next()){var d=u.value;u=Object.assign({},n);var p=a.get(d);for(d={keySystem:d,initDataType:"cenc",persistentState:o,distinctiveIdentifier:"optional",sessionTypes:t},s=(p=c(p)).next();!s.done;s=p.next()){if((s=s.value).initData&&s.initData.length){for(var h=new Set,f=c(s.initData),g=f.next();!g.done;g=f.next())h.add(g.value.initDataType);d.initDataType=s.initData[0].initDataType}s.distinctiveIdentifierRequired&&(d.distinctiveIdentifier="required"),s.persistentStateRequired&&(d.persistentState="required"),s.sessionType&&(d.sessionTypes=[s.sessionType]),i&&(""!=s.audioRobustness?d.audio?d.audio.robustness=d.audio.robustness||s.audioRobustness:d.audio={robustness:s.audioR
1obustness}:d.audio||(d.audio={})),r&&(""!=s.videoRobustness?d.video?d.video.robustness=d.video.robustness||s.videoRobustness:d.video={robustness:s.videoRobustness}:d.video||(d.video={}))}u.keySystemConfiguration=d,e.push(u)}return e}function un(e){return"fLaC"===e?"flac":"Opus"===e?"opus":Gt()&&"ac-3"==e.toLowerCase()?"ec-3":e}function dn(e){if(e.includes("avc1")){var t=e.split(".");if(3==t.length)return e=t.shift()+".",(e+=parseInt(t.shift(),10).toString(16))+("000"+parseInt(t.shift(),10).toString(16)).slice(-4)}else if("vp9"==e)return"vp09.00.41.08";return e}function pn(e){var t=e.audio,n=e.video,i=t?t.mimeType:null,r=n?n.mimeType:null,a=t?t.codecs:null,o=n?n.codecs:null,s=[];o&&s.push(o),a&&s.push(a);var l=[];n&&l.push(n.mimeType),t&&l.push(t.mimeType),l=l[0]||null;var u=[];t&&u.push(t.kind),n&&u.push(n.kind),u=u[0]||null;var d=new Set;if(t)for(var p=c(t.roles),h=p.next();!h.done;h=p.next())d.add(h.value);if(n)for(h=(p=c(n.roles)).next();!h.done;h=p.next())d.add(h.value);return e={id:e.id,active:!1,type:"variant",bandwidth:e.bandwidth,language:e.language,label:null,kind:u,width:null,height:null,frameRate:null,pixelAspectRatio:null,hdr:null,videoLayout:null,mimeType:l,audioMimeType:i,videoMimeType:r,codecs:s.join(", "),audioCodec:a,videoCodec:o,primary:e.primary,roles:Array.from(d),audioRoles:null,forced:!1,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null,originalImageId:null,accessibilityPurpose:null,originalLanguage:null},n&&(e.videoId=n.id,e.originalVideoId=n.originalId,e.width=n.width||null,e.height=n.height||null,e.frameRate=n.frameRate||null,e.pixelAspectRatio=n.pixelAspectRatio||null,e.videoBandwidth=n.bandwidth||null,e.hdr=n.hdr||null,e.videoLayout=n.videoLayout||null),t&&(e.audioId=t.
1id,e.originalAudioId=t.originalId,e.channelsCount=t.channelsCount,e.audioSamplingRate=t.audioSamplingRate,e.audioBandwidth=t.bandwidth||null,e.spatialAudio=t.spatialAudio,e.label=t.label,e.audioRoles=t.roles,e.accessibilityPurpose=t.accessibilityPurpose,e.originalLanguage=t.originalLanguage),e}function hn(e){return{id:e.id,active:!1,type:lt,bandwidth:0,language:e.language,label:e.label,kind:e.kind||null,width:null,height:null,frameRate:null,pixelAspectRatio:null,hdr:null,videoLayout:null,mimeType:e.mimeType,audioMimeType:null,videoMimeType:null,codecs:e.codecs||null,audioCodec:null,videoCodec:null,primary:e.primary,roles:e.roles,audioRoles:null,forced:e.forced,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:e.originalId,originalImageId:null,accessibilityPurpose:e.accessibilityPurpose,originalLanguage:e.originalLanguage}}function fn(e){var t=e.width||null,n=e.height||null,i=null;e.segmentIndex&&(i=e.segmentIndex.get(0));var r=e.tilesLayout;return i&&(r=i.tilesLayout||r),r&&null!=t&&(t/=Number(r.split("x")[0])),r&&null!=n&&(n/=Number(r.split("x")[1])),{id:e.id,active:!1,type:"image",bandwidth:e.bandwidth||0,language:"",label:null,kind:null,width:t,height:n,frameRate:null,pixelAspectRatio:null,hdr:null,videoLayout:null,mimeType:e.mimeType,audioMimeType:null,videoMimeType:null,codecs:e.codecs||null,audioCodec:null,videoCodec:null,primary:!1,roles:[],audioRoles:null,forced:!1,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:r||null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null,originalImageId:e.originalId,accessibilityPurpose:null,originalLanguage:null}}function gn(e){return e.__shaka_id||(e.__shaka_id=Cn++),e.__shaka_id}function mn(e){var t=vn(e);return t.active="disabled"!=e.mode,t.type="text",t.originalTextId=e.id,"captions"==e.kind&&(t.mimeType="application/cea-608"),"subtitles"==e.kind&&(t.mimeType="text/vtt"),e.kind&&(t.roles=[e.kind]),"forced"==e.kind&&(t.forced=!0),t}function yn(e){var t=vn(e);return t.active=e.enabled,t.type="variant",t.originalAudioId=e.id,"main"==e.kind&&(t.primary=!0),e.kind&&(t.roles=[e.kind],t.audioRoles=[e.kind],t.label=e.label),t}function vn(e){var t=e.language;return{id:gn(e),active:!1,type:"",bandwidth:0,language:Nt(t||"und"),label:e.label,kind:e.kind,width:null,height:null,frameRate:null,pixelAspectRatio:null,hdr:null,videoLayout:null,mimeType:null,audioMimeType:null,videoMimeType:null,codecs:null,audioCodec:null,videoCodec:null,primary:!1,roles:[],forced:!1,audioR
1oles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,tilesLayout:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null,originalImageId:null,accessibilityPurpose:null,originalLanguage:t}}function bn(e){return e.allowedByApplication&&e.allowedByKeySystem&&0==e.disabledUntilTime}function An(e,t,n,i){var r=e,a=e.filter(function(e){return e.primary});a.length&&(r=a);var o=r.length?r[0].language:"";if(r=r.filter(function(e){return e.language==o}),t){var s=Ht(Nt(t),e.map(function(e){return e.language}));s&&(r=e.filter(function(e){return Nt(e.language)==s}))}if(r=r.filter(function(e){return e.forced==i}),n){if((e=wn(r,n)).length)return e}else if(e=r.filter(function(e){return 0==e.roles.length}),e.length)return e;return e=r.map(function(e){return e.roles}).reduce(Et,[]),e.length?wn(r,e[0]):r}function wn(e,t){return e.filter(function(e){return e.roles.includes(t)})}function xn(e){var t=[];return e.audio&&t.push(kn(e.audio)),e.video&&t.push(kn(e.video)),t.join(", ")}function kn(e){return"audio"==e.type?"type=audio codecs="+e.codecs+" bandwidth="+e.bandwidth+" channelsCount="+e.channelsCount+" audioSamplingRate="+e.audioSamplingRate:"video"==e.type?"type=video codecs="+e.codecs+" bandwidth="+e.bandwidth+" frameRate="+e.frameRate+" width="+e.width+" height="+e.height:"unexpected stream type"}O("shaka.util.StreamUtils",tn),tn.meetsRestrictions=rn;var Tn={},Cn=0,En=(new Map).set("image/svg+xml",!0).set("image/png",!0).set("image/jpeg",!0).set("image/jpg",!0),Sn=(new Map).set("image/webp","data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA").set("image/avif","data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAAB0AAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAIAAAACAAAAEHBpeGkAAAAAAwgICAAAAAxhdjFDgQ0MAAAAABNjb2xybmNseAACAAIAAYAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAACVtZGF0EgAKCBgANogQEAwgMg8f8D///8WfhwB8+ErK42A=");function Ln(){var e=this;this.o=null,this.s=!1,this.i=new _,this.A=null,navigator.connection&&navigator.connection.addEventListener&&(this.A=function(){if(e.s&&e.g.useNetworkInformation){e.i=new _,e.g&&e.i.configure(e.g.advanced);var t=e.chooseVariant();t&&navigator.onLine&&e.o(t,e.g.clearBufferSwitch,e.g.safeMarginSwitch)}},navigator.connection.addEventListener("change",this.A)),this.m=[],this.C=1,this.F=!1,this.h=this.l=this.g=this.u=null,this.D=new _t(function(){if(e.g.restrictToElementSize){var t=e.chooseVariant();t&&e.o(t,e.g.clearBufferSwitch,e.g.safeMarginSwitch)}}),this.j=null}function Mn(e,t,n,i,r){if(e.j){var a=e.j.qf();a&&(n=n.filter(function(e){return!e.bandwidth||!a||e.bandwidth<=a}))}return t&&(n=n.filter(function(e){return rn(e,t,{width:r,height:i})})),n.sort(function(e,t){return e.bandwidth-t.bandwidth})}(i=Ln.prototype).stop=function(){this.o=null,this.s=!1,this.m=[],this.C=1,this.l=this.u=null,this.h&&(this.h.disconnect(),this.h=null),this.D.stop(),this.j=null},i.release=function(){navigator.connection&&navigator.connection.removeEventListener&&(navigator.connection.removeEventListener("change",this.A),this.A=null),this.D=null},i.init=function(e){this.o=e},i.chooseVariant=function(t){t=void 0!==t&&t;var n=1/0,i=1/0;if(this.g.restrictToScreenSize&&(i=this.g.ignoreDevicePixelRatio?1:e.devicePixelRatio,n=e.screen.height*i,i*=e.screen.width),this.h&&this.g.restrictToElementSize){var r=this.g.ignoreDevicePixelRatio?1:e.devicePixelRatio;n=Math.min(n,this.l.clientHeight*r),i=Math.min(i,this.l.clientWidth*r)}var a=this.m.filter(function(e){return!(e.audio&&e.audio.fastSwitching||e.video&&e.video.fastSwitching)});if(a.length||(a=this.m),r=a,t&&a.length!=this.m.length&&(r=this.m.filter(function(e){return!!(e.audio&&e.audio.fastSwitching||e.video&&e.video.fastSwitching)})),t=Mn(this,this.g.restrictions,r,1/0,1/0),1/0!=n||1/0!=i){for(t=function(e){for(var t=[],n=(e=c(e)).next();!n.done;n=e.next())(n=n.value.video)&&n.height&&n.width&&t.push({height:n.height,width:n.width});return t.sort(function(e,t){return e.width-t.width})}(t),a=(t=c(t)).next();!a.done;a=t.next())if((a=a.value).height>=n&&a.width>=i){n=a.height,i=a.width;break}t=Mn(this,this.g.restrictions,r,n,i)}for(n=this.getBandwidthEstimate(),r.length&&!t.length&&(t=[(t=Mn(this,null,r,1/0,1/0))[0]]),i=t[0]||null,r=0;r<t.length;r++){a=t[r];for(var o=isNaN(this.C)?1:Math.abs(this.C),s=o*a.bandwidth/this.g.bandwidthDowngradeTarget,l={bandwidth:1/0},u=r+1;u<t.length;u++)if(a.bandwidth!=t[u].bandwidth){l=t[u];break}o=o*l.bandwidth/this.g.bandwidthUpgradeTarget,n>=s&&n<=o&&i.bandwidth!=a.bandwidth&&(i=a)}return this.u=Date.now(),i},i.enable=function(){this.s=!0},i.disable=function(){this.s=!1},i.segmentDownloaded=function(e,t,n){if(this.i.sample(e,t),n&&null!=this.u&&this.s)e:{if(this.F){if(Date.now()-this.u<1e3*this.g.switchInterval)break e}else{if(!((e=this.i).g>=e.i))break e;this.F=!0}e=this.chooseVariant(),this.getBandwidthEstimate(),e&&this.o(e,this.g.clearBufferSwitch,this.g.safeMarginSwitch)}},i.getBandwidthEstimate=function(){var e=this.g.defaultBandwidthEstimate;return navigator.connection&&navigator.connection.downlink&&this.g.useNetworkInformation&&(e=1e6*navigator.connection.downlink),e=this.i.getBandwidthEstimate(e),this.j?this.j.getBandwidthEstimate(e):e},i.setVariants=function(e){this.m=e},i.playbackRateChanged=function(e){this.C=e},i.setMediaElement=function(t){var n=this;this.l=t,this.h&&(this.h.disconnect(),this.h=null),this.l&&"ResizeObserver"in e&&(this.h=new ResizeObserver(function(){n.D.U(In)}),this.h.observe(this.l))},i.setCmsdManager=function(e){this.j=e},i.configure=function(e){this.g=e,this.i&&this.g&&this.i.configure(this.g.advanced)},O("shaka.abr.SimpleAbrManager",Ln),Ln.prototype.configure=Ln.prototype.configure,Ln.prototype.setCmsdManager=Ln.prototype.setCmsdManager,Ln.prototype.setMediaElement=Ln.prototype.setMediaElement,Ln.prototype.playbackRateChanged=Ln.prototype.playbackRateChanged,Ln.prototype.setVariants=Ln.prototype.setVariants,Ln.prototype.getBandwidthEstimate=Ln.prototype.getBandwidthEstimate,Ln.prototype.segmentDownloaded=Ln.prototype.segmentDownloaded,Ln.prototype.disable=Ln.prototype.disable,Ln.prototype.enable=Ln.prototype.enable,Ln.prototype.chooseVariant=Ln.prototype.chooseVariant,Ln.prototype.init=Ln.prototype.init,Ln.prototype.release=Ln.prototype.release,Ln.prototype.stop=Ln.prototype.stop;var In=1;function Dn(e,t){this.g=e,this.h=t}function Rn(e,t){var n=new Dn(5,0),i=jn,r=i.g,a=n.h-r.h;(0<(n.g-r.g||a)?i.i:i.h)(i.g,n,e,t)}function Nn(e,t,n,i){G([n,"has been deprecated and will be removed in",t,". We are currently at version",e,". Additional information:",i].join(" "))}function Pn(e,t,n,i){K([n,"has been deprecated and has been removed in",t,". We are now at version",e,". Additional information:",i].join(""))}O("shaka.config.AutoShowText",{NEVER:0,ALWAYS:1,IF_PREFERRED_TEXT_LANGUAGE:2,IF_SUBTITLES_MAY_BE_NEEDED:3}),Dn.prototype.toString=function(){return"v"+this.g+"."+this.h};var jn=null;function Vn(e,t,n,i){for(n=void 0===n||n,i=void 0!==i&&i,this.h=e,this.g=new Set([e]),t=(e=c(t=t||[])).next();!t.done;t=e.next())this.add(t.value,n,i)}function Hn(e,t,n,i){var r;if(!(r=!!e.audio!=!!t.audio||!!e.video!=!!t.video||e.language!=t.language)&&(r=e.audio&&t.audio)){r=e.audio;var a=t.audio;r=!!((!r.channelsCount||!a.channelsCount||2<r.channelsCount||2<a.channelsCount)&&r.channelsCount!=a.channelsCount||n&&!Bn(r,a)||!Un(r.roles,a.roles)||i&&r.groupId!==a.groupId)}return!(i=r)&&(i=e.video&&t.video)&&(e=e.video,t=t.video,i=!((!n||Bn(e,t))&&Un(e.roles,t.roles))),!i}
1function Bn(e,t){if(e.mimeType!=t.mimeType)return!1;if(e=e.codecs.split(",").map(function(e){return mt(e)}),t=t.codecs.split(",").map(function(e){return mt(e)}),e.length!=t.length)return!1;e.sort(),t.sort();for(var n=0;n<e.length;n++)if(e[n]!=t[n])return!1;return!0}function Un(e,t){if(e=new Set(e),t=new Set(t),e.delete("main"),t.delete("main"),e.size!=t.size)return!1;for(var n=(e=c(e)).next();!n.done;n=e.next())if(!t.has(n.value))return!1;return!0}function On(e,t,n){t=void 0===t?"reload":t,n=void 0!==n&&n,this.i=e,this.h=t,this.g=n,this.j=new Fn(e.language,"",e.audio&&e.audio.channelsCount?e.audio.channelsCount:0,"",!1,"","","",t,n)}function Fn(e,t,n,i,r,a,o,s,l,c){this.s=e,this.u=t,this.h=n,this.i=i,this.A=r,this.l=a,this.g=void 0===o?"":o,this.j=void 0===s?"":s,this.m=void 0===l?"reload":l,this.o=void 0!==c&&c}function zn(){this.g=Kn,this.h=(new Map).set(Kn,2).set(qn,1)}function _n(e,t,n){e.h.set(Kn,n).set(qn,t)}O("shaka.config.CodecSwitchingStrategy",{$h:"reload",Wf:"smooth"}),Vn.prototype.add=function(e,t,n){return!!Hn(this.h,e,void 0===t||t,void 0!==n&&n)&&(this.g.add(e),!0)},Vn.prototype.values=function(){return this.g.values()},On.prototype.create=function(e){var t=this,n="smooth"==this.h&&J(),i=e.filter(function(e){return Hn(t.i,e,!n,t.g)});return i.length?new Vn(i[0],i,!n,this.g):this.j.create(e)},Fn.prototype.create=function(t){var n=[];n=function(e,t){t=Nt(t);var n=Ht(t,e.map(function(e){return Vt(e)}));return n?e.filter(function(e){return n==Vt(e)}):[]}(t,this.s);var i=t.filter(function(e){return e.primary});return t=function(e,t){return e.filter(function(e){return!!e.audio&&(t?e.audio.roles.includes(t):0==e.audio.roles.length)})}(n=n.length?n:i.length?i:t,this.u),t.length&&(n=t),this.l&&(t=function(e,t){return e.filter(function(e){return!e.video||!e.video.videoLayout||e.video.videoLayout==t})}(n,this.l),t.length&&(n=t)),this.i&&(t=function(t,n){return"AUTO"==n&&(n=e.matchMedia("(color-gamut: p3)").matches?"PQ":"SDR"),t.filter(function(e){return!e.video||!e.video.hdr||e.video.hdr==n})}(n,this.i),t.length&&(n=t)),this.h&&(t=function(e,t){return e.filter(function(e){return!e.audio||!e.audio.channelsCount||e.audio.channelsCount==t})}(n,this.h),t.length&&(n=t)),this.g&&(t=function(e,t){return e.filter(function(e){return!(!e.audio||!e.audio.label)&&e.audio.label.toLowerCase()==t.toLowerCase()})}(n,this.g),t.length&&(n=t)),this.j&&(t=function(e,t){return e.filter(function(e){return!(!e.video||!e.video.label)&&e.video.label.toLowerCase()==t.toLowerCase()})}(n,this.j),t.length&&(n=t)),t=function(e,t){return e.filter(function(e){return!e.audio||e.audio.spatialAudio==t})}(n,this.A),t.length&&(n=t),new Vn(n[0],n,!("smooth"==this.m&&J()),this.o)};var qn=0,Kn=1;function Gn(e,t){var n={maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4};this.l=null==e.maxAttempts?n.maxAttempts:e.maxAttempts,this.j=null==e.baseDelay?n.baseDelay:e.baseDelay,this.o=null==e.fuzzFactor?n.fuzzFactor:e.fuzzFactor,this.m=null==e.backoffFactor?n.backoffFactor:e.backoffFactor,this.g=0,this.h=this.j,(this.i=void 0!==t&&t)&&(this.g=1)}function Qn(e){var t,n;return R(function(i){if(1==i.g){if(e.g>=e.l){if(!e.i)throw new nt(2,7,1010);e.g=1,e.h=e.j}return t=e.g,e.g++,0==t?i.return():(n=e.h*(1+(2*Math.random()-1)*e.o),A(i,new Promise(function(e){new _t(e).U(n/1e3)}),2))}e.h*=e.m,w(i)})}function Wn(){var e,t,n=new Promise(function(n,i){e=n,t=i});return n.resolve=e,n.reject=t,n}function Yn(e,t){this.promise=e,this.i=t,this.g=!1}function Zn(e){return new Yn(Promise.reject(e),function(){return Promise.resolve()})}function Xn(){var e=Promise.reject(new nt(2,7,7001));return e.catch(function(){}),new Yn(e,function(){return Promise.resolve()})}function Jn(e){return new Yn(Promise.resolve(e),function(){return Promise.resolve()})}function $n(e){return new Yn(e,function(){return e.catch(function(){})})}function ei(e){return new Yn(Promise.all(e.map(function(e){return e.promise})),function(){return Promise.all(e.map(function(e){return e.abort()}))})}function ti(t,n){if(n)if(n instanceof Map)for(var i=c(n.keys()),r=i.next();!r.done;r=i.next())r=r.value,Object.defineProperty(this,r,{value:n.get(r),writable:!0,enumerable:!0});else for(i in n)Object.defineProperty(this,i,{value:n[i],writable:!0,enumerable:!0});this.defaultPrevented=this.cancelable=this.bubbles=!1,this.timeStamp=e.performance&&e.performance.now?e.performance.now():Date.now(),this.type=t,this.isTrusted=!1,this.target=this.currentTarget=null,this.g=!1}function ni(e){var t,n=new ti(e.type);for(t in e)Object.defineProperty(n,t,{value:e[t],writable:!0,enumerable:!0});return n}Wn.prototype.resolve=function(){},Wn.prototype.reject=function(){},Yn.prototype.abort=function(){return this.g=!0,this.i()},Yn.prototype.finally=function(e){return this.promise.then(function(){return e(!0)},function(){return e(!1)}),this},Yn.prototype.ya=function(e,t){function n(n){return function(s){if(r.g&&n)a.reject(o);else{var l=n?e:t;l?i=function(e,t,n){try{var i=e(t);return i&&i.promise&&i.abort?(n.resolve(i.promise),function(){return i.abort()}):(n.resolve(i),function(){return Promise.resolve(i).then(function(){},function(){})})}catch(e){return n.reject(e),function(){return Promise.resolve()}}}(l,s,a):(n?a.resolve:a.reject)(s)}}}function i(){return a.reject(o),r.abort()}var r=this,a=new Wn,o=new nt(2,7,7001);return this.promise.then(n(!0),n(!1)),new Yn(a,function(){return i()})},O("shaka.util.AbortableOperation",Yn),Yn.prototype.chain=Yn.prototype.ya,Yn.prototype.finally=Yn.prototype.finally,Yn.all=ei,Yn.prototype.abort=Yn.prototype.abort,Yn.notAbortable=$n,Yn.completed=Jn,Yn.aborted=Xn,Yn.failed=Zn,ti.prototype.preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)},ti.prototype.stopImmediatePropagation=function(){this.g=!0},ti.prototype.stopPropagation=function(){},O("shaka.util.FakeEvent",ti);var ii={Bh:"abrstatuschanged",Ch:"adaptation",Dh:"buffering",Eh:"complete",Fh:"downloadfailed",Gh:"downloadheadersreceived",Hh:"drmsessionupdate",Jh:"emsg",Zh:"prft",Error:"error",Kh:"expirationupdated",Lh:"firstquartile",Mh:"gapjumped",Ph:"keystatuschanged",Rh:"loaded",Sh:"loading",Uh:"manifestparsed",Vh:"manifestupdated",Wh:"mediaqualitychanged",Metadata:"metadata",Xh:"midpoint",Yh:"onstatechange",ai:"ratechange",bi:"segmentappended",ci:"sessiondata",di:"stalldetected",ei:"started",fi:"statechanged",gi:"streaming",hi:"textchanged",ii:"texttrackvisibility",ji:"thirdquartile",ki:"timelineregi
1onadded",li:"timelineregionenter",mi:"timelineregionexit",ni:"trackschanged",pi:"unloading",si:"variantchanged"};function ri(){this.ga=new Ut,this.ed=this}function ai(){this.g=[]}function oi(e,t){e.g.push(t.finally(function(){var n=e.g,i=n.indexOf(t);-1<i&&n.splice(i,1)}))}function si(e,t,n,i,r){ri.call(this),this.i=!1,this.m=new ai,this.g=new Set,this.h=new Set,this.l=e||null,this.j=t||null,this.s=n||null,this.u=i||null,this.A=r||null,this.o=!1}function li(e,t,n,i){n=n||gi;var r=mi[e];(!r||n>=r.priority)&&(mi[e]={priority:n,zd:t,bh:void 0!==i&&i})}function ci(e,t,n){return{uris:e,method:"GET",body:null,headers:{},allowCrossSiteCredentials:!1,retryParameters:t,licenseRequestType:null,sessionId:null,drmInfo:null,initData:null,initDataType:null,streamDataCallback:void 0===n?null:n}}function ui(e,t,n,i,r,a,o,s){e.o&&(n.uris[a]=n.uris[a].replace("http://","https://")),0<a&&e.A&&e.A(t,i,n.uris[a],n.uris[a-1]);var l=new Oe(n.uris[a]),c=l.Va,u=!1;c||(Fe(l,c=(c=location.protocol).slice(0,-1)),n.uris[a]=l.toString()),c=c.toLowerCase();var d=(c=mi[c])?c.zd:null;if(!d)return Zn(new nt(2,1,1e3,l));var p,h=c.bh,f=null,g=null,m=!1,y=!1;return $n(Qn(r)).ya(function(){if(e.i)return Xn();p=Date.now();var r=d(n.uris[a],n,t,function(n,r,a){f&&f.stop(),g&&g.U(l/1e3),e.l&&t==fi&&(e.l(n,r,di(i)),u=!0,s.g=a)},function(i){e.j&&e.j(i,n,t),y=!0});if(!h)return r;var o=n.retryParameters.connectionTimeout;o&&(f=new _t(function(){m=!0,r.abort()})).U(o/1e3);var l=n.retryParameters.stallTimeout;return l&&(g=new _t(function(){m=!0,r.abort()})),r}).ya(function(i){f&&f.stop(),g&&g.stop(),null==i.timeMs&&(i.timeMs=Date.now()-p);var r={response:i,Mg:u};return!y&&e.j&&e.j(i.headers,n,t),r},function(l){if(f&&f.stop(),g&&g.stop(),e.s){var c=null,u=0;l instanceof nt&&(c=l,1001==l.code&&(u=l.data[1])),e.s(n,c,u,m)}if(e.i)return Xn();if(m&&(l=new nt(1,1,1003,n.uris[a],t)),l instanceof nt){if(7001==l.code)throw l;if(1010==l.code)throw o;if(1==l.severity)return c=new ti("retry",c=(new Map).set("error",l)),e.dispatchEvent(c),a=(a+1)%n.uris.length,ui(e,t,n,i,r,a,l,s)}throw l})}function di(e){if(e){var t=e.segment;if(e=e.stream,t&&e&&e.fastSwitching&&t.C&&!t.A)return!1}return!0}function pi(){this.g=0}function hi(e,t,n){Yn.call(this,e,t),this.h=n}ri.prototype.addEventListener=function(e,t){this.ga&&this.ga.push(e,t)},ri.prototype.removeEventListener=function(e,t){this.ga&&this.ga.remove(e,t)},ri.prototype.dispatchEvent=function(e){if(!this.ga)return!0;var t=this.ga.get(e.type)||[],n=this.ga.get("All");for(n&&(t=t.concat(n)),n=(t=c(t)).next();!n.done;n=t.next()){n=n.value,e.target=this.ed,e.currentTarget=this.ed;try{n.handleEvent?n.handleEvent(e):n.call(this,e)}catch(e){}if(e.g)break}return e.defaultPrevented},ri.prototype.release=function(){this.ga=null},ai.prototype.destroy=function(){for(var e=[],t=c(this.g),n=t.next();!n.done;n=t.next())(n=n.value).promise.catch(function(){}),e.push(n.abort());return this.g=[],Promise.all(e)},m(si,ri),(i=si.prototype).Qe=function(e){this.o=e},i.eh=function(e){this.g.add(e)},i.vh=function(e){this.g.delete(e)},i.eg=function(){this.g.clear()},i.fh=function(e){this.h.add(e)},i.wh=function(e){this.h.delete(e)},i.fg=function(){this.h.clear()},i.destroy=function(){return this.i=!0,this.g.clear(),this.h.clear(),ri.prototype.release.call(this),this.m.destroy()},i.request=function(e,t,n){var i=this,r=new pi;if(this.i){var a=Promise.reject(new nt(2,7,7001));return a.catch(function(){}),new hi(a,function(){return Promise.resolve()},r)}t.method=t.method||"GET",t.headers=t.headers||{},t.retryParameters=t.retryParameters?Ot(t.retryParameters):{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4},t.uris=Ot(t.uris),a=function(e,t,n,i){function r(e){a=a.ya(function(){return n.body&&(n.body=ae(n.body)),e(t,n,i)})}var a=Jn(void 0);e.u&&r(e.u);for(var o=(e=c(e.g)).next();!o.done;o=e.next())r(o.value);return a.ya(void 0,function(e){if(e instanceof nt&&7001==e.code)throw e;throw new nt(2,1,1006,e)})}(this,e,t,n);var o=a.ya(function(){return ui(i,e,t,n,new Gn(t.retryParameters,!1),0,null,r)}),s=o.ya(function(t){return function(e,t,n,i){for(var r=Jn(void 0),a={},o=(e=c(e.h)).next();!o.done;a={Id:a.Id},o=e.next())a.Id=o.value,r=r.ya(function(e){return function(){var r=n.response;return r.data&&(r.data=ae(r.data)),e.Id(t,r,i)}}(a));return r.ya(function(){return n},function(e){var t=2;if(e instanceof nt){if(7001==e.code)throw e;t=e.severity}throw new nt(t,1,1007,e)})}(i,e,t,n)}),l=Date.now(),u=0;a.promise.then(function(){u=Date.now()-l},function(){});var d=0;o.promise.then(function(){d=Date.now()},function(){});var p=s.ya(function(r){var a=Date.now()-d,o=r.response;return o.timeMs+=u,o.timeMs+=a,r.Mg||!i.l||o.fromCache||"HEAD"==t.method||e!=fi||i.l(o.timeMs,o.data.byteLength,di(n)),o},function(e){throw e&&(e.severity=2),e});return a=new hi(p.promise,function(){return p.abort()},r),oi(this.m,a),a},O("shaka.net.NetworkingEngine",si),si.prototype.request=si.prototype.request,si.prototype.destroy=si.prototype.destroy,si.makeRequest=ci,si.defaultRetryParameters=function(){return{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4}},si.prototype.clearAllResponseFilters=si.prototype.fg,si.prototype.unregisterResponseFilter=si.prototype.wh,si.prototype.registerResponseFilter=si.prototype.fh,si.prototype.clearAllRequestFilters=si.prototype.eg,si.prototype.unregisterRequestFilter=si.prototype.vh,si.prototype.registerRequestFilter=si.prototype.eh,si.unregisterScheme=function(e){delete mi[e]},si.registerScheme=li,si.prototype.setForceHTTPS=si.prototype.Qe,si.NumBytesRemainingClass=pi,m(hi,Yn),si.PendingRequest=hi;var fi=1;si.RequestType={MANIFEST:0,SEGMENT:fi,LICENSE:2,APP:3,TIMING:4,SERVER_CERTIFICATE:5,KEY:6,ADS:7,CONTENT_STEERING:8},si.AdvancedRequestType={INIT_SEGMENT:0,MEDIA_SEGMENT:1,MEDIA_PLAYLIST:2,MASTER_PLAYLIST:3,MPD:4,MSS:5};var gi=3;si.PluginPriority={FALLBACK:1,PREFERRED:2,APPLICATION:gi};var mi={};function yi(e){this.g=!1,this.h=new Wn,this.i=e}function vi(e,t){if(e.g){if(t instanceof nt&&7003==t.code)throw t;throw new nt(2,7,7003,t)}}function bi(){this.g=new Ut}function Ai(e,t,n,i){this.target=e,this.type=t,this.listener=n,this.g=function(e,t){if(null==t)return!1;if("boolean"==typeof t)return t;var n=new Set(["passive","capture"]);return Object.keys(t).filter(function(e){return!n.has(e)}),function(e){var t=wi;if(null==t){t=!1;try{var n={},i={get:function(){return t=!0,!1}};Object.defineProperty(n,"passive",i),Object.defineProperty(n,"capture",i),i=function(){},e.addEventListener("test",i,n),e.removeEventListener("test",i,n)}catch(e){t=!1}wi=t}return t||!1}(e)?t:t.capture||!1}(e,i),this.target.addEventListener(t,n,this.g)}yi.prototype.destroy=function(){var e=this;return this.g?this.h:(this.g=!0,this.i().then(function(){e.h.resolve()},function(){e.h.resolve()}))},(i=bi.prototype).release=function(){this.Fb(),this.g=null},i.H=function(e,t,n,i){this.g&&(e=new Ai(e,t,n,i),this.g.push(t,e))},i.ka=function(e,t,n,i){var r=this;this.H(e,t,function i(a){r.Qc(e,t,i),n(a)},i)},i.Qc=function(e,t,n){if(this.g)for(var i=this.g.get(t)||[],r=(i=c(i)).next();!r.done;r=i.next())(r=r.value).target!=e||n!=r.listener&&n||(r.Qc(),this.g.remove(t,r))},i.Fb=function(){if(this.g){var e,t=this.g,n=[];for(e in t.g)n.push.apply(n,u(t.g[e]));for(n=(t=c(n)).next();!n.done;n=t.next())n.value.Qc();this.g.g={}}},O("shaka.util.EventManager",bi),bi.prototype.removeAll=bi.prototype.Fb,bi.prototype.unlisten=bi.prototype.Qc,bi.prototype.listenOnce=bi.prototype.ka,bi.prototype.listen=bi.prototype.H,bi.prototype.release=bi.prototype.release,Ai.prototype.Qc=function(){this.target.removeEventListener(this.type,this.listener,this.g),this.listener=this.target=null,this.g=!1};var wi=void 0;function xi(e){this.h=e,this.g=void 0}function ki(e){for(var t=new Map,n=c(Object.keys(e)),i=n.next();!i.done;i=n.next())i=i.value,t.set(i,e[i]);return t}function Ti(e){var t={};return e.forEach(function(e,n){t[n]=e}),t}function Ci(e,t){if(!e&&!t)return!0;
1if(e&&!t||t&&!e)return!1;if(e.size!=t.size)return!1;for(var n=(e=c(e)).next();!n.done;n=e.next()){var i=c(n.value);if(n=i.next().value,i=i.next().value,!t.has(n))return!1;if((n=t.get(n))!=i||null==n)return!1}return!0}function Ei(){}function Si(t){if(!t)return"";if(239==(t=oe(t))[0]&&187==t[1]&&191==t[2]&&(t=t.subarray(3)),e.TextDecoder&&!Yt())return(t=(new TextDecoder).decode(t)).includes("�")&&K('Decoded string contains an "unknown character" codepoint. That probably means the UTF8 encoding was incorrect!'),t;for(var n="",i=0;i<t.length;++i){var r=65533;if(128&t[i]?t.length>=i+2&&192==(224&t[i])&&128==(192&t[i+1])?(r=(31&t[i])<<6|63&t[i+1],i+=1):t.length>=i+3&&224==(240&t[i])&&128==(192&t[i+1])&&128==(192&t[i+2])?(r=(15&t[i])<<12|(63&t[i+1])<<6|63&t[i+2],i+=2):t.length>=i+4&&240==(241&t[i])&&128==(192&t[i+1])&&128==(192&t[i+2])&&128==(192&t[i+3])&&(r=(7&t[i])<<18|(63&t[i+1])<<12|(63&t[i+2])<<6|63&t[i+3],i+=3):r=t[i],65535>=r)n+=String.fromCharCode(r);else{var a=1023&(r-=65536);n+=String.fromCharCode(55296+(r>>10)),n+=String.fromCharCode(56320+a)}}return n}function Li(e,t,n){if(!e)return"";if(!n&&0!=e.byteLength%2)throw new nt(2,2,2004);n=Math.floor(e.byteLength/2);var i=new Uint16Array(n);e=le(e);for(var r=0;r<n;r++)i[r]=e.getUint16(2*r,t);return Ri.value()(i)}function Mi(e){function t(e){return n.byteLength<=e||32<=n[e]&&126>=n[e]}if(!e)return"";var n=oe(e);if(239==n[0]&&187==n[1]&&191==n[2])return Si(n);if(254==n[0]&&255==n[1])return Li(n.subarray(2),!1);if(255==n[0]&&254==n[1])return Li(n.subarray(2),!0);if(0==n[0]&&0==n[2])return Li(e,!1);if(0==n[1]&&0==n[3])return Li(e,!0);if(t(0)&&t(1)&&t(2)&&t(3))return Si(e);throw new nt(2,2,2003)}function Ii(t){if(e.TextEncoder&&!Yt()){var n=new TextEncoder;return ae(n.encode(t))}t=encodeURIComponent(t),t=unescape(t),n=new Uint8Array(t.length);for(var i=0;i<t.length;i++)n[i]=t[i].charCodeAt(0);return ae(n)}function Di(e,t){for(var n=new ArrayBuffer(2*e.length),i=new DataView(n),r=0;r<e.length;++r)i.setUint16(2*r,e.charCodeAt(r),t);return n}xi.prototype.value=function(){return null==this.g&&(this.g=this.h()),this.g},O("shaka.util.StringUtils",Ei),Ei.resetFromCharCode=function(){Ri.g=void 0},Ei.toUTF16=Di,Ei.toUTF8=Ii,Ei.fromBytesAutoDetect=Mi,Ei.fromUTF16=Li,Ei.fromUTF8=Si;var Ri=new xi(function(){function e(e){try{var t=new Uint8Array(e);return 0<String.fromCharCode.apply(null,t).length}catch(e){return!1}}for(var t={lb:65536};0<t.lb;(t={lb:t.lb}).lb/=2)if(e(t.lb))return function(e){return function(t){for(var n="",i=0;i<t.length;i+=e.lb)n+=String.fromCharCode.apply(null,t.subarray(i,i+e.lb));return n}}(t);return null});function Ni(e,t){this.g=le(e),this.h=t==ji,this.J=0}function Pi(){return new nt(2,3,3e3)}(i=Ni.prototype).oa=function(){return this.J<this.g.byteLength},i.zg=function(){return this.J},i.getLength=function(){return this.g.byteLength},i.Ca=function(){try{var e=this.g.getUint8(this.J);return this.J+=1,e}catch(e){throw Pi()}},i.Ba=function(){try{var e=this.g.getUint16(this.J,this.h);return this.J+=2,e}catch(e){throw Pi()}},i.T=function(){try{var e=this.g.getUint32(this.J,this.h);return this.J+=4,e}catch(e){throw Pi()}},i.dh=function(){try{var e=this.g.getInt32(this.J,this.h);return this.J+=4,e}catch(e){throw Pi()}},i.Jc=function(){try{if(this.h)var e=this.g.getUint32(this.J,!0),t=this.g.getUint32(this.J+4,!0);else t=this.g.getUint32(this.J,!1),e=this.g.getUint32(this.J+4,!1)}catch(e){throw Pi()}if(2097151<t)throw new nt(2,3,3001);return this.J+=8,t*Math.pow(2,32)+e},i.Eb=function(e){if(this.J+e>this.g.byteLength)throw Pi();var t=oe(this.g,this.J,e);return this.J+=e,t},i.skip=function(e){if(this.J+e>this.g.byteLength)throw Pi();this.J+=e},i.lh=function(e){if(this.J<e)throw Pi();this.J-=e},i.seek=function(e){if(0>e||e>this.g.byteLength)throw Pi();this.J=e},i.Ic=function(){for(var e=this.J;this.oa()&&0!=this.g.getUint8(this.J);)this.J+=1;return e=oe(this.g,e,this.J-e),this.J+=1,Si(e)},O("shaka.util.DataViewReader",Ni),Ni.prototype.readTerminatedString=Ni.prototype.Ic,Ni.prototype.seek=Ni.prototype.seek,Ni.prototype.rewind=Ni.prototype.lh,Ni.prototype.skip=Ni.prototype.skip,Ni.prototype.readBytes=Ni.prototype.Eb,Ni.prototype.readUint64=Ni.prototype.Jc,Ni.prototype.readInt32=Ni.prototype.dh,Ni.prototype.readUint32=Ni.prototype.T,Ni.prototype.readUint16=Ni.prototype.Ba,Ni.prototype.readUint8=Ni.prototype.Ca,Ni.prototype.getLength=Ni.prototype.getLength,Ni.prototype.getPosition=Ni.prototype.zg,Ni.prototype.hasMoreData=Ni.prototype.oa;var ji=1;function Vi(){this.i=[],this.h=[],this.g=!1}function Hi(e){for(var t=zi(e);e.reader.oa()&&!e.parser.g;)e.parser.Gc(e.start+t,e.reader,e.partialOkay)}function Bi(e){for(var t=zi(e),n=e.reader.T(),i=0;i<n&&(e.parser.Gc(e.start+t,e.reader,e.partialOkay),!e.parser.g);i++);}function Ui(e){var t=zi(e);for(e.reader.skip(78);e.reader.oa()&&!e.parser.g;)e.parser.Gc(e.start+t,e.reader,e.partialOkay)}function Oi(e){for(var t=0,n=(e=c(e)).next();!n.done;n=e.next())t=t<<8|n.value.charCodeAt(0);return t}function Fi(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function zi(e){return 8+(e.has64BitSize?8:0)+(null!=e.flags?4:0)}Ni.Endianness={BIG_ENDIAN:0,LITTLE_ENDIAN:ji},(i=Vi.prototype).box=function(e,t){return e=Oi(e),this.i[e]=_i,this.h[e]=t,this},i.aa=function(e,t){return e=Oi(e),this.i[e]=qi,this.h[e]=t,this},i.stop=function(){this.g=!0},i.parse=function(e,t,n){for(e=new Ni(e,0),this.g=!1;e.oa()&&!this.g;)this.Gc(0,e,t,n)},i.Gc=function(e,t,n,i){var r=t.J;if(i&&r+8>t.getLength())this.g=!0;else{var a=t.T(),o=t.T(),s=Fi(o),l=!1;switch(a){case 0:a=t.getLength()-r;break;case 1:if(i&&t.J+8>t.getLength())return void(this.g=!0);a=t.Jc(),l=!0}var c=this.h[o];if(c){var u=null,d=null;if(this.i[o]==qi){if(i&&t.J+4>t.getLength())return void(this.g=!0);u=(d=t.T())>>>24,d&=16777215}o=r+a,n&&o>t.getLength()&&(o=t.getLength()),i&&o>t.getLength()?this.g=!0:c({name:s,parser:this,partialOkay:n||!1,version:u,flags:d,reader:t=new Ni(t=0<(i=o-t.J)?t.Eb(i):new Uint8Array(0),0),size:a,start:r+e,has64BitSize:l})}else t.skip(Math.min(r+a-t.J,t.getLength()-t.J))}},O("shaka.util.Mp4Parser",Vi),Vi.headerSize=zi,Vi.typeToString=Fi,Vi.allData=function(e){return function(t){e(t.reader.Eb(t.reader.getLength()-t.reader.J))}},Vi.visualSampleEntry=Ui,Vi.sampleDescription=Bi,Vi.children=Hi,Vi.prototype.parseNext=Vi.prototype.Gc,Vi.prototype.parse=Vi.prototype.parse,Vi.prototype.stop=Vi.prototype.stop,Vi.prototype.fullBox=Vi.prototype.aa,Vi.prototype.box=Vi.prototype.box;var _i=0,qi=1;function Ki(){}function Gi(e){return e=oe(e),e=Ri.value()(e),btoa(e)}function Qi(e,t){return t=null==t||t,e=Gi(e).replace(/\+/g,"-").replace(/\//g,"_"),t?e:e.replace(/[=]*$/,"")}function Wi(t){t=e.atob(t.replace(/-/g,"+").replace(/_/g,"/"));for(var n=new Uint8Array(t.length),i=0;i<t.length;++i)n[i]=t.charCodeAt(i);return n}function Yi(t){for(var n=t.length/2,i=new Uint8Array(n),r=0;r<n;r++)i[r]=e.parseInt(t.substr(2*r,2),16);return i}function Zi(e){var t=oe(e);e="";for(var n=(t=c(t)).next();!n.done;n=t.next())1==(n=(n=n.value).toString(16)).length&&(n="0"+n),e+=n;return e}function Xi(){for(var e=N.apply(0,arguments),t=0,n=c(e),i=n.next();!i.done;i=n.next())t+=i.value.byteLength;for(t=new Uint8Array(t),n=0,i=(e=c(e)).next();!i.done;i=e.next())(i=i.value)instanceof Uint8Array?t.set(i,n):t.set(oe(i),n),n+=i.byteLength;return t}function Ji(e){var t=this;this.h=[],this.g=[],this.data=[],(new Vi).box("moov",Hi).box("moof",Hi).aa("pssh",function(e){if(!(1<e.version)){var n=oe(e.reader.g,-12,e.size);if(t.data.push(n),t.h.push(Zi(e.reader.Eb(16))),0<e.version){n=e.reader.T();for(var i=0;i<n;i++){var r=Zi(e.reader.Eb(16));t.g.push(r)}}}}).parse(e)}function $i(e,t,n,i){var r=e.length,a=t.length+16+r;0<i&&(a+=4+16*n.size);var o=new Uint8Array(a),s=le(o),l=0;if(s.setUint32(l,a),l+=4,s.setUint32(l,1886614376),l+=4,1>i?s.setUint32(l,0):s.setUint32(l,16777216),l+=4,o.set(t,l),l+=t.length,0<i)for(s.setUint32(l,n.size),l+=4,n=(t=c(n)).next();!n.done;n=t.next())n=Yi(n.value),o.set(n,l),l+=n.length;return s.setUint32(l,r),o.set(e,l+4),o}function er(e,t){return 1!=(e=nr(e,t)).length?null:e[0]}function tr(e,t,n){return 1!=(e=ir(e,t,n)).length?null:e[0]}function nr(e,t){for(var n=[],i=(e=c(e.childNodes)).next();!i.done;i=e.next())(i=i.value)instanceof Element&&i.tagName==t&&n.push(i);return n}function ir(e,t,n){for(var i=[],r=(e=c(e.childNodes)).next();!r.done;r=e.next())(r=r.value)instanceof Element&&r.localName==n&&r.namespaceURI==t&&i.push(r);return i}function rr(e,t,n){return e.hasAttributeNS(t,n)?e.getAttributeNS(t,n):null}function ar(e){return Array.from(e.childNodes).every(or)?e.textContent.trim():null}
1function or(e){return e.nodeType==Node.TEXT_NODE||e.nodeType==Node.CDATA_SECTION_NODE}function sr(e,t,n,i){i=void 0===i?null:i;var r=null;return null!=(e=e.getAttribute(t))&&(r=n(e)),null==r?i:r}function lr(e){return e?(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e)&&(e+="Z"),e=Date.parse(e),isNaN(e)?null:e/1e3):null}function cr(e){return e&&(e=RegExp("^P(?:([0-9]*)Y)?(?:([0-9]*)M)?(?:([0-9]*)D)?(?:T(?:([0-9]*)H)?(?:([0-9]*)M)?(?:([0-9.]*)S)?)?$").exec(e))?(e=31536e3*Number(e[1]||null)+2592e3*Number(e[2]||null)+86400*Number(e[3]||null)+3600*Number(e[4]||null)+60*Number(e[5]||null)+Number(e[6]||null),isFinite(e)?e:null):null}function ur(e){var t=/([0-9]+)-([0-9]+)/.exec(e);return t?(e=Number(t[1]),isFinite(e)?(t=Number(t[2]),isFinite(t)?{start:e,end:t}:null):null):null}function dr(e){return 0==(e=Number(e))%1?e:null}function pr(e){return 0==(e=Number(e))%1&&0<e?e:null}function hr(e){return 0==(e=Number(e))%1&&0<=e?e:null}function fr(e){return e=Number(e),isNaN(e)?null:e}function gr(e){return!!e&&"true"===e.toLowerCase()}function mr(e){var t,n=(t=e.match(/^(\d+)\/(\d+)$/))?Number(t[1])/Number(t[2]):Number(e);return isNaN(n)?null:n}function yr(e,t){var n=new DOMParser,i=br.value()(e);e=null;try{e=n.parseFromString(i,"text/xml")}catch(e){return null}if(!(n=e.documentElement)||n.getElementsByTagName("parsererror").length||n.tagName!=t)return null;if(!("createNodeIterator"in document))return n;for(t=document.createNodeIterator(e,NodeFilter.SHOW_ALL);e=t.nextNode();)if(e instanceof HTMLElement||e instanceof SVGElement)return null;return n}function vr(e,t){try{return yr(Mi(e),t)}catch(e){return null}}O("shaka.util.Uint8ArrayUtils",Ki),Ki.concat=Xi,Ki.toHex=Zi,Ki.fromHex=Yi,Ki.fromBase64=Wi,Ki.toBase64=Qi,Ki.toStandardBase64=Gi;var br=new xi(function(){if("undefined"!=typeof trustedTypes){var e=trustedTypes.createPolicy("shaka-player#xml",{createHTML:function(e){return e}});return function(t){return e.createHTML(t)}}return function(e){return e}});function Ar(e,t){var n=this;t=void 0===t?1:t,this.C=e,this.F=new Set,this.m=this.s=null,this.ga=!1,this.G=0,this.g=null,this.u=new bi,this.i=new Map,this.A=new Map,this.l=new Wn,this.h=null,this.o=function(t){2==t.severity&&n.l.reject(t),e.onError(t)},this.R=new Map,this.ca=new Map,this.V=new _t(function(){return function(e){var t=e.R,n=e.ca;n.clear(),t.forEach(function(e,t){return n.set(t,e)}),t=Array.from(n.values()),t.length&&t.every(function(e){return"expired"==e})&&e.o(new nt(2,6,6014)),e.C.Ff(Ti(n))}(n)}),this.Y=!1,this.K=[],this.M=!1,this.ea=new _t(function(){!function(e){e.i.forEach(function(t,n){var i=t.Fe,r=n.expiration;isNaN(r)&&(r=1/0),r!=i&&(e.C.onExpirationUpdated(n.sessionId,r),t.Fe=r)})}(n)}).Ra(t),this.l.catch(function(){}),this.j=new yi(function(){return function(e){return R(function(t){switch(t.g){case 1:return e.u.release(),e.u=null,e.l.reject(),e.ea.stop(),e.ea=null,e.V.stop(),e.V=null,A(t,Mr(e),2);case 2:if(!e.m){t.B(3);break}return x(t,4),A(t,e.m.setMediaKeys(null),6);case 6:T(t,5);break;case 4:C(t);case 5:e.m=null;case 3:e.g=null,e.F.clear(),e.s=null,e.A=new Map,e.h=null,e.o=function(){},e.C=null,e.W=!1,e.D=null,w(t)}})}(n)}),this.W=!1,this.I=this.D=null}function wr(t,n,i){t.A=new Map;for(var r=(i=c(i)).next();!r.done;r=i.next())t.A.set(r.value,{initData:null,initDataType:null});for(r=(i=c(t.h.persistentSessionsMetadata)).next();!r.done;r=i.next())r=r.value,t.A.set(r.sessionId,{initData:r.initData,initDataType:r.initDataType});return t.Y=0<t.A.size,function(t,n){var i,r,a,o,s,l,u,d,p,h,f,g,m,y,v;return R(function(b){if(1==b.g){if(i=function(t){if(t=ki(t.h.clearKeys),0==t.size)return null;var n=[],i=[];t.forEach(function(e,t){var r=t;22!=r.length&&(r=Qi(Yi(t),!1)),22!=(t=e).length&&(t=Qi(Yi(e),!1)),e={kty:"oct",kid:r,k:t},n.push(e),i.push(e.kid)}),t=JSON.stringify({keys:n});var r=JSON.stringify({kids:i});return r=[{initData:oe(Ii(r)),initDataType:"keyids"}],{keySystem:"org.w3.clearkey",licenseServerUri:"data:application/json;base64,"+e.btoa(t),distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,serverCertificateUri:"",sessionType:"",initData:r,keyIds:new Set(i)}}(t))for(r=c(n),a=r.next();!a.done;a=r.next())(o=a.value).video&&(o.video.drmInfos=[i]),o.audio&&(o.audio.drmInfos=[i]);for((s=n.some(function(e){return!!(e.video&&e.video.drmInfos.length||e.audio&&e.audio.drmInfos.length)}))||(l=ki(t.h.servers),function(e,t){var n=[];for(t.forEach(function(e,t){n.push({keySystem:t,licenseServerUri:e,distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioR
1obustness:"",videoRobustness:"",serverCertificate:null,serverCertificateUri:"",initData:[],keyIds:new Set})}),e=c(e),t=e.next();!t.done;t=e.next())(t=t.value).video&&(t.video.drmInfos=n),t.audio&&(t.audio.drmInfos=n)}(n,l)),u=new Set,d=c(n),a=d.next();!a.done;a=d.next())for(p=a.value,h=Rr(p),f=c(h),g=f.next();!g.done;g=f.next())m=g.value,u.add(m);for(y=c(u),g=y.next();!g.done;g=y.next())jr(g.value,ki(t.h.servers),ki(t.h.advanced||{}),t.h.keySystemsMapping);return A(b,ln(n,t.Y,t.W,t.h.preferredKeySystems),2)}return s||Object.keys(t.h.servers).length?(v=function(e,t){var n,i,r,a,o,s,l,u,d,p,h,f,g,m;return R(function(y){switch(y.g){case 1:if(n=new Map,t.length){i=function(e,t,n){for(var i=c(t),r=i.next();!r.done;r=i.next()){var a=c(Rr(r.value));for(r=a.next();!r.done;r=a.next())r=r.value,n.has(r.keySystem)||n.set(r.keySystem,[]),n.get(r.keySystem).push(r)}if(1==n.size&&n.has(""))throw new nt(2,6,6e3);for(i={},e=c(e.h.preferredKeySystems),r=e.next();!r.done;i={Hd:i.Hd},r=e.next())for(i.Hd=r.value,a=c(t),r=a.next();!r.done;r=a.next())if(r=r.value.decodingInfos.find(function(e){return function(t){return t.supported&&null!=t.keySystemAccess&&t.keySystemAccess.keySystem==e.Hd}}(i)))return r.keySystemAccess;for(e=c([!0,!1]),r=e.next();!r.done;r=e.next())for(i=r.value,a=c(t),r=a.next();!r.done;r=a.next()){var o=c(r.value.decodingInfos);for(r=o.next();!r.done;r=o.next()){var s=r.value;if(s.supported&&s.keySystemAccess){var l=c(r=n.get(s.keySystemAccess.keySystem));for(r=l.next();!r.done;r=l.next())if(!!r.value.licenseServerUri==i)return s.keySystemAccess}}}return null}(e,t,n),y.B(2);break}return A(y,function(e){var t,n,i,r,a,o,s,l,u,d,p,h,f,g,m;return R(function(y){switch(y.g){case 1:if(1==(void 0).size&&(void 0).has(""))throw new nt(2,6,6e3);for(n=c((void 0).values()),i=n.next();!i.done;i=n.next())0==(r=i.value).audioCapabilities.length&&delete r.audioCapabilities,0==r.videoCapabilities.length&&delete r.videoCapabilities;a=c(e.h.preferredKeySystems),o=a.next();case 2:if(o.done){y.B(4);break}if(s=o.value,!(void 0).has(s)){y.B(3);break}return l=(void 0).get(s),x(y,6),A(y,navigator.requestMediaKeySystemAccess(s,[l]),8);case 8:return t=y.h,y.return(t);case 6:C(y);case 7:vi(e.j);case 3:o=a.next(),y.B(2);break;case 4:u=c([!0,!1]),d=u.next();case 9:if(d.done){y.B(11);break}p=d.value,h=c((void 0).keys()),o=h.next();case 12:if(o.done){d=u.next(),y.B(9);break}if(f=o.value,g=(void 0).get(f),m=g.drmInfos.some(function(e){return!!e.licenseServerUri}),m!=p){y.B(13);break}return x(y,15),A(y,navigator.requestMediaKeySystemAccess(f,[g]),17);case 17:return t=y.h,y.return(t);case 15:C(y);case 16:vi(e.j);case 13:o=h.next(),y.B(12);break;case 11:return y.return(t)}})}(e),3);case 3:i=y.h;case 2:if(!(r=i))throw new nt(2,6,6001);for(vi(e.j),x(y,4),e.F.clear(),a=r.getConfiguration(),o=a.audioCapabilities||[],s=a.videoCapabilities||[],l=c(o),u=l.next();!u.done;u=l.next())d=u.value,e.F.add(d.contentType.toLowerCase());for(p=c(s),u=p.next();!u.done;u=p.next())h=u.value,e.F.add(h.contentType.toLowerCase());if(t.length){var v=r.keySystem,b=n.get(r.keySystem),w=[],k=[],E=[],S=[],L=new Set;Pr(b,w,E,k,S,L);var M=e.Y?"persistent-license":"temporary";for(v={keySystem:v,licenseServerUri:w[0],distinctiveIdentifierRequired:b[0].distinctiveIdentifierRequired,persistentStateRequired:b[0].persistentStateRequired,sessionType:b[0].sessionType||M,audioRobustness:b[0].audioRobustness||"",videoRobustness:b[0].videoRobustness||"",serverCertificate:E[0],serverCertificateUri:k[0],initData:S,keyIds:L},w=(b=c(b)).next();!w.done;w=b.next())(w=w.value).distinctiveIdentifierRequired&&(v.distinctiveIdentifierRequired=w.distinctiveIdentifierRequired),w.persistentStateRequired&&(v.persistentStateRequired=w.persistentStateRequired);b=v}else b=r.keySystem,v=(void 0).get(r.keySystem),w=[],k=[],E=[],S=[],L=new Set,Pr(v.drmInfos,w,E,k,S,L),b={keySystem:b,licenseServerUri:w[0],distinctiveIdentifierRequired:"required"==v.distinctiveIdentifier,persistentStateRequired:"required"==v.persistentState,sessionType:v.sessionTypes[0]||"temporary",audioRobustness:(v.audioCapabilities?v.audioCapabilities[0].robustness:"")||"",videoRobustness:(v.videoCapabilities?v.videoCapabilities[0].robustness:"")||"",serverCertificate:E[0],serverCertificateUri:k[0],initData:S,keyIds:L};
1if(e.g=b,!e.g.licenseServerUri)throw new nt(2,6,6012,e.g.keySystem);return A(y,r.createMediaKeys(),6);case 6:if(f=y.h,vi(e.j),e.s=f,""==e.h.minHdcpVersion||!("getStatusForPolicy"in e.s)){y.B(7);break}return x(y,8),A(y,e.s.getStatusForPolicy({minHdcpVersion:e.h.minHdcpVersion}),10);case 10:if("usable"!=y.h)throw new nt(2,6,6018);vi(e.j),T(y,7,4);break;case 8:if((g=C(y,4))instanceof nt)throw g;throw new nt(2,6,6019,g.message);case 7:return e.ga=!0,A(y,function(e){var t,n;return R(function(i){switch(i.g){case 1:if(!e.s||!e.g)return i.return();if(!e.g.serverCertificateUri||e.g.serverCertificate&&e.g.serverCertificate.length){i.B(2);break}return t=ci([e.g.serverCertificateUri],e.h.retryParameters),x(i,3),A(i,e.C.Fc.request(5,t).promise,5);case 5:n=i.h,e.g.serverCertificate=oe(n.data),T(i,4);break;case 3:throw new nt(2,6,6017,C(i));case 4:if(e.j.g)return i.return();case 2:return e.g.serverCertificate&&e.g.serverCertificate.length?(x(i,6),A(i,e.s.setServerCertificate(e.g.serverCertificate),8)):i.return();case 8:T(i,0);break;case 6:throw new nt(2,6,6004,C(i).message)}})}(e),11);case 11:vi(e.j),T(y,0);break;case 4:if(m=C(y),vi(e.j,m),e.g=null,e.F.clear(),m instanceof nt)throw m;throw new nt(2,6,6002,m.message)}})}(t,n),b.return(s?v:v.catch(function(){}))):(t.ga=!0,b.return(Promise.resolve()))})}(t,n)}function xr(e){var t;return R(function(n){switch(n.g){case 1:if(e.m.mediaKeys)return n.return();if(!e.D){n.B(2);break}return A(n,e.D,3);case 3:return vi(e.j),n.return();case 2:return x(n,4),e.D=e.m.setMediaKeys(e.s),A(n,e.D,6);case 6:T(n,5);break;case 4:t=C(n),e.o(new nt(2,6,6003,t.message));case 5:vi(e.j),w(n)}})}function kr(e,t,n){if(n.length){for(var i=e.i.values(),r=(i=c(i)).next();!r.done;r=i.next())if(ie(n,r.value.initData)&&e.h.ignoreDuplicateInitData)return;0<e.i.size&&Nr(e)&&(e.l.resolve(),e.l=new Wn,e.l.catch(function(){})),function(e,t,n,i){try{var r=e.s.createSession(i)}catch(t){return void e.o(new nt(2,6,6005,t.message))}e.u.H(r,"message",function(t){e.m&&e.h.delayLicenseRequestUntilPlayed&&e.m.paused&&!e.M?e.K.push(t):Sr(e,t)}),e.u.H(r,"keystatuseschange",function(t){return Lr(e,t)}),e.i.set(r,{initData:n,initDataType:t,loaded:!1,Fe:1/0,ub:null,type:i});try{n=e.h.initDataTransform(n,t,e.g)}catch(n){return t=n,n instanceof nt||(t=new nt(2,6,6016,n)),void e.o(t)}e.h.logLicenseExchange&&Qi(n),r.generateRequest(t,n).catch(function(t){if(!e.j.g){e.i.delete(r);var n=t.errorCode;if(n&&n.systemCode){var i=n.systemCode;0>i&&(i+=Math.pow(2,32)),i="0x"+i.toString(16)}e.o(new nt(2,6,6006,t.message,t,i))}})}(e,t,n,e.g.sessionType)}}function Tr(e){return!!e&&!!e.match(/^com\.(microsoft|chromecast)\.playready/)}function Cr(e){Nr(e)&&e.l.resolve()}function Er(e,t){new _t(function(){t.loaded=!0,Cr(e)}).U(Hr)}function Sr(e,t){var n,i,r,a,o,s,l,u,d,p,h,f;R(function(g){switch(g.g){case 1:if(n=t.target,e.h.logLicenseExchange&&Qi(t.message),i=e.i.get(n),r=e.g.licenseServerUri,a=e.h.advanced[e.g.keySystem],"individualization-request"==t.messageType&&a&&a.individualizationServer&&(r=a.individualizationServer),(o=ci([r],e.h.retryParameters)).body=t.message,o.method="POST",o.licenseRequestType=t.messageType,o.sessionId=n.sessionId,o.drmInfo=e.g,i&&(o.initData=i.initData,o.initDataType=i.initDataType),Tr(e.g.keySystem)){var m=Li(o.body,!0,!0);if(m.includes("PlayReadyKeyMessage")){for(var y=c((m=yr(m,"PlayReadyKeyMessage")).getElementsByTagName("HttpHeader")),v=y.next();!v.done;v=y.next())v=v.value,o.headers[v.getElementsByTagName("name")[0].textContent]=v.getElementsByTagName("value")[0].textContent;o.body=Wi(m.getElementsByTagName("Challenge")[0].textContent)}else o.headers["Content-Type"]="text/xml; charset=utf-8"}return s=Date.now(),x(g,2),A(g,e.C.Fc.request(2,o).promise,4);case 4:l=g.h,T(g,3);break;case 2:return u=C(g),d=new nt(2,6,6007,u),e.o(d),i&&i.ub&&i.ub.reject(d),g.return();case 3:return e.j.g?g.return():(e.G+=(Date.now()-s)/1e3,e.h.logLicenseExchange&&Qi(l.data),x(g,5),A(g,n.update(l.data),7));case 7:T(g,6);break;case 5:return p=C(g),h=new nt(2,6,6008,p.message),e.o(h),i&&i.ub&&i.ub.reject(h),g.return();case 6:if(e.j.g)return g.return();f=new ti("drmsessionupdate"),e.C.onEvent(f),i&&(i.ub&&i.ub.resolve(),Er(e,i)),w(g)}})}function Lr(e,t){t=t.target;var n=e.i.get(t),i=!1;
1t.keyStatuses.forEach(function(t,r){if("string"==typeof r){var a=r;r=t,t=a}if(Tr(e.g.keySystem)&&16==r.byteLength&&(navigator.userAgent.match(/Edge?\//)||Yt())){var o=(a=le(r)).getUint32(0,!0),s=a.getUint16(4,!0),l=a.getUint16(6,!0);a.setUint32(0,o,!1),a.setUint16(4,s,!1),a.setUint16(6,l,!1)}"status-pending"!=t&&(n.loaded=!0),"expired"==t&&(i=!0),r=Zi(r).slice(0,32),e.R.set(r,t)});var r=t.expiration-Date.now();(0>r||i&&1e3>r)&&n&&!n.ub&&(e.i.delete(t),t.close().catch(function(){})),Nr(e)&&(e.l.resolve(),e.V.U(Br))}function Mr(e){var t;return R(function(n){return t=Array.from(e.i.entries()),e.i.clear(),A(n,Promise.all(t.map(function(t){var n=(t=c(t)).next().value,i=t.next().value;return R(function(t){return 1==t.g?(x(t,2),e.A.has(n.sessionId)||"persistent-license"!==i.type||e.h.persistentSessionOnlinePlayback?A(t,function(e){var t;return R(function(n){return 1==n.g?(t=new Promise(function(e,t){new _t(t).U(Vr)}),x(n,2),A(n,Promise.race([Promise.all([e.close(),e.closed]),t]),4)):2!=n.g?T(n,0):(C(n),void w(n))})}(n),5):A(t,n.remove(),5)):2!=t.g?T(t,0):(C(t),void w(t))})})),0)})}function Ir(e,t){return!e.length||!t.length||e===t||0<Dr(e,t).length}function Dr(e,t){if(!e.length)return t;if(!t.length)return e;for(var n=[],i=(e=c(e)).next();!i.done;i=e.next()){i=i.value;for(var r=c(t),a=r.next();!a.done;a=r.next())if(a=a.value,i.keySystem==a.keySystem){r=new Map;for(var o=c((i.initData||[]).concat(a.initData||[])),s=o.next();!s.done;s=o.next())s=s.value,r.set(s.keyId,s);r=Array.from(r.values()),o=i.keyIds&&a.keyIds?new Set([].concat(u(i.keyIds),u(a.keyIds))):i.keyIds||a.keyIds,n.push({keySystem:i.keySystem,licenseServerUri:i.licenseServerUri||a.licenseServerUri,distinctiveIdentifierRequired:i.distinctiveIdentifierRequired||a.distinctiveIdentifierRequired,persistentStateRequired:i.persistentStateRequired||a.persistentStateRequired,videoRobustness:i.videoRobustness||a.videoRobustness,audioRobustness:i.audioRobustness||a.audioRobustness,serverCertificate:i.serverCertificate||a.serverCertificate,serverCertificateUri:i.serverCertificateUri||a.serverCertificateUri,initData:r,keyIds:o});break}}return n}function Rr(e){return(e.video?e.video.drmInfos:[]).concat(e.audio?e.audio.drmInfos:[])}function Nr(e){return function(e,t){for(var n=(e=c(e)).next();!n.done;n=e.next())if(!t(n.value))return!1;return!0}(e=e.i.values(),function(e){return e.loaded})}function Pr(e,t,n,i,r,a){for(var o={},s=(e=c(e)).next();!s.done;o={wa:o.wa},s=e.next()){if(o.wa=s.value,t.includes(o.wa.licenseServerUri)||t.push(o.wa.licenseServerUri),i.includes(o.wa.serverCertificateUri)||i.push(o.wa.serverCertificateUri),o.wa.serverCertificate&&(n.some(function(e){return function(t){return ie(t,e.wa.serverCertificate)}}(o))||n.push(o.wa.serverCertificate)),o.wa.initData){s={};for(var l=c(o.wa.initData),u=l.next();!u.done;s={Tc:s.Tc},u=l.next())s.Tc=u.value,r.some(function(e){return function(t){var n=e.Tc;return!(!t.keyId||t.keyId!=n.keyId)||t.initDataType==n.initDataType&&ie(t.initData,n.initData)}}(s))||r.push(s.Tc)}if(o.wa.keyIds)for(l=(s=c(o.wa.keyIds)).next();!l.done;l=s.next())a.add(l.value)}}function jr(t,n,i,r){var a=t.keySystem;!a||"org.w3.clearkey"==a&&t.licenseServerUri||(n.size&&(n=n.get(a)||"",t.licenseServerUri=n),t.keyIds||(t.keyIds=new Set),(i=i.get(a))&&(t.distinctiveIdentifierRequired||(t.distinctiveIdentifierRequired=i.distinctiveIdentifierRequired),t.persistentStateRequired||(t.persistentStateRequired=i.persistentStateRequired),t.videoRobustness||(t.videoRobustness=i.videoRobustness),t.audioRobustness||(t.audioRobustness=i.audioRobustness),t.serverCertificate||(t.serverCertificate=i.serverCertificate),i.sessionType&&(t.sessionType=i.sessionType),t.serverCertificateUri||(t.serverCertificateUri=i.serverCertificateUri)),r[a]&&(t.keySystem=r[a]),e.cast&&e.cast.__platform__&&"com.microsoft.playready"==a&&(t.keySystem="com.chromecast.playready"))}(i=Ar.prototype).destroy=function(){return this.j.destroy()},i.configure=function(e){this.h=e},i.qc=function(e){var t=this;return R(function(n){if(1==n.g)return t.s?(t.m=e,t.u.ka(t.m,"play",function(){for(var e=c(t.K),n=e.next();!n.done;n=e.next())Sr(t,n.value);t.M=!0,t.K=[]}),"webkitCurrentPlaybackTargetIsWireless"in t.m&&t.u.H(t.m,"webkitcurrentplaybacktargetiswirelesschanged",function(){return Mr(t)}),t.I=t.g&&t.g.initData.find(function(e){return 0<e.initData.length}
1)||null,t.I||"com.apple.fps"!==t.g.keySystem||t.A.size?A(n,xr(t),2):n.B(2)):(t.u.ka(e,"encrypted",function(){t.o(new nt(2,6,6010))}),n.return());(function(e){var t,n,i,r;return R(function(a){if(1==a.g)return e.A.size?(e.A.forEach(function(t,n){!function(e,t,n){var i,r,a,o,s,l,c;R(function(u){switch(u.g){case 1:try{i=e.s.createSession("persistent-license")}catch(t){return r=new nt(2,6,6005,t.message),e.o(r),u.return(Promise.reject(r))}return e.u.H(i,"message",function(t){e.m&&e.h.delayLicenseRequestUntilPlayed&&e.m.paused&&!e.M?e.K.push(t):Sr(e,t)}),e.u.H(i,"keystatuseschange",function(t){return Lr(e,t)}),a={initData:n.initData,initDataType:n.initDataType,loaded:!1,Fe:1/0,ub:null,type:"persistent-license"},e.i.set(i,a),x(u,2),A(u,i.load(t),4);case 4:return o=u.h,vi(e.j),o||(e.i.delete(i),s=e.h.persistentSessionOnlinePlayback?1:2,e.o(new nt(s,6,6013)),a.loaded=!0),Er(e,a),Cr(e),u.return(i);case 2:l=C(u),vi(e.j,l),e.i.delete(i),c=e.h.persistentSessionOnlinePlayback?1:2,e.o(new nt(c,6,6005,l.message)),a.loaded=!0,Cr(e);case 3:return u.return(Promise.resolve())}})}(e,n,t)}),A(a,e.l,3)):a.B(2);if(2!=a.g){if(0<(e.g&&e.g.keyIds||new Set([])).size&&function(e){for(var t=c(e.g&&e.g.keyIds||new Set([])),n=t.next();!n.done;n=t.next())if("usable"!==e.R.get(n.value))return!1;return!0}(e))return a.return(e.l);e.l=new Wn,e.l.catch(function(){})}for(t=(e.g?e.g.initData:[])||[],n=c(t),i=n.next();!i.done;i=n.next())r=i.value,kr(e,r.initDataType,r.initData);return t.length||e.l.resolve(),a.return(e.l)})})(t).catch(function(){}),t.I||t.A.size||t.h.parseInbandPsshEnabled||t.u.H(t.m,"encrypted",function(e){return function(e,t){return R(function(n){if(1==n.g)return A(n,xr(e),2);kr(e,t.initDataType,oe(t.initData)),w(n)})}(t,e)}),w(n)})},i.he=function(){var e=this,t=this.i.keys();return t=function(e,t){for(var n=[],i=(e=c(e)).next();!i.done;i=e.next())n.push(t(i.value));return n}(t,function(t){var n=e.i.get(t);return{sessionId:t.sessionId,sessionType:n.type,initData:n.initData,initDataType:n.initDataType}}),Array.from(t)},i.je=function(){for(var e=1/0,t=this.i.keys(),n=(t=c(t)).next();!n.done;n=t.next())n=n.value,isNaN(n.expiration)||(e=Math.min(e,n.expiration));return e},i.hd=function(){return Ti(this.ca)};var Vr=1,Hr=5,Br=.5,Ur=new xi(function(){return ae(new Uint8Array([0]))});function Or(){}O("shaka.media.ManifestParser",Or),Or.unregisterParserByMime=function(e){delete Fr[e]},Or.registerParserByMime=function(e,t){Fr[e]=t},Or.registerParserByExtension=function(){Rn("ManifestParser","Please use an ManifestParser with registerParserByMime function.")},Or.AccessibilityPurpose={ri:"visually impaired",Nh:"hard of hearing"};var Fr={};function zr(e,t,n,i,r){var a=qr.value(),o=e.subarray(n.start,n.start+n.size),s=le(o),l=new Uint8Array(n.size+a.byteLength);for(l.set(o,0),(o=le(l)).setUint32(4,r),l.set(a,n.size),r=s.getUint32(4),o.setUint32(n.size+16,r),_r(l,0,l.byteLength),r=new
1Uint8Array(e.byteLength+l.byteLength),n=Kt()?n.start:n.start+n.size,a=e.subarray(n),r.set(e.subarray(0,n)),r.set(l,n),r.set(a,n+l.byteLength),i=(e=c(i)).next();!i.done;i=e.next())_r(r,(i=i.value).start,i.size+l.byteLength);return l=le(r,t.start),t=zi(t),e=l.getUint32(t),l.setUint32(t,e+1),r}function _r(e,t,n){0!=(t=(e=le(e,t)).getUint32(0))&&(1==t?(e.setUint32(8,n>>32),e.setUint32(12,4294967295&n)):e.setUint32(0,n))}var qr=new xi(function(){return new Uint8Array([0,0,0,80,115,105,110,102,0,0,0,12,102,114,109,97,0,0,0,0,0,0,0,20,115,99,104,109,0,0,0,0,99,101,110,99,0,1,0,0,0,0,0,40,115,99,104,105,0,0,0,32,116,101,110,99,0,0,0,0,0,0,1,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])});function Kr(e,t,n,i,r,a,o){this.ba=e,this.Xa=t,this.za=n,this.Be=void 0===i?null:i,this.timescale=void 0===r?null:r,this.g=void 0===a?null:a,this.aesKey=void 0===o?null:o,this.mimeType=this.codecs=null}function Gr(e,t){return e&&t?e.yc()==t.yc()&&e.wc()==t.wc()&&me(e.ba().sort(),t.ba().sort())&&ie(e.g,t.g):e==t}function Qr(e,t,n,i,r,a,o,s,l,u,d,p,h,f,g,m){for(u=void 0===u?[]:u,f=void 0===f?Wr:f,this.startTime=e,this.i=this.endTime=t,this.K=n,this.Xa=i,this.za=r,this.fa=a,this.o=o,this.I=s,this.G=l,this.g=u,this.tilesLayout=void 0===d?"":d,this.F=void 0===p?null:p,this.h=void 0===h?null:h,this.status=f,this.m=!1,this.l=!0,this.s=!1,this.aesKey=void 0===g?null:g,this.D=null,this.j=0,this.u=void 0!==m&&m,this.A=this.C=!1,t=(e=c(this.g)).next();!t.done;t=e.next())t.value.Af();this.u&&this.g.length&&this.g[this.g.length-1].zf(),this.mimeType=this.codecs=null}Kr.prototype.yc=function(){return this.Xa},Kr.prototype.wc=function(){return this.za},O("shaka.media.InitSegmentReference",Kr),Kr.prototype.getEndByte=Kr.prototype.wc,Kr.prototype.getStartByte=Kr.prototype.yc,(i=Qr.prototype).ba=function(){return this.K()},i.getStartTime=function(){return this.startTime},i.pg=function(){return this.endTime},i.yc=function(){return this.Xa},i.wc=function(){return this.za},i.Hg=function(){return this.tilesLayout},i.Gg=function(){return this.F},i.zc=function(){return this.status},i.Vg=function(){this.status=Yr},i.Ae=function(){this.m=!0},i.Tg=function(){return this.m},i.sd=function(){this.l=!1},i.Qg=function(){return this.l},i.Af=function(){this.C=!0},i.Sg=function(){return this.C},i.zf=function(){this.A=!0},i.Rg=function(){return this.A},i.yf=function(){this.s=!0},i.Ng=function(){return this.s},i.Pf=function(e){this.D=e},i.Fg=function(){return this.D},i.offset=function(e){this.startTime+=e,this.endTime+=e,this.i+=e;for(var t=c(this.g),n=t.next();!n.done;n=t.next())(n=n.value).startTime+=e,n.endTime+=e,n.i+=e},i.Ue=function(e){null==this.h?K("Sync attempted without sync time!"):(e=this.h-e-this.startTime,.001<=Math.abs(e)&&this.offset(e))},O("shaka.media.SegmentReference",Qr),Qr.prototype.syncAgainst=Qr.prototype.Ue,Qr.prototype.offset=Qr.prototype.offset,Qr.prototype.getThumbnailSprite=Qr.prototype.Fg,Qr.prototype.setThumbnailSprite=Qr.prototype.Pf,Qr.prototype.hasByterangeOptimization=Qr.prototype.Ng,Qr.prototype.markAsByterangeOptimization=Qr.prototype.yf,Qr.prototype.isLastPartial=Qr.prototype.Rg,Qr.prototype.markAsLastPartial=Qr.prototype.zf,Qr.prototype.isPartial=Qr.prototype.Sg,Qr.prototype.markAsPartial=Qr.prototype.Af,Qr.prototype.isIndependent=Qr.prototype.Qg,Qr.prototype.markAsNonIndependent=Qr.prototype.sd,Qr.prototype.isPreload=Qr.prototype.Tg,Qr.prototype.markAsPreload=Qr.prototype.Ae,Qr.prototype.markAsUnavailable=Qr.prototype.Vg,Qr.prototype.getStatus=Qr.prototype.zc,Qr.prototype.getTileDuration=Qr.prototype.Gg,Qr.prototype.getTilesLayout=Qr.prototype.Hg,Qr.prototype.getEndByte=Qr.prototype.wc,Qr.prototype.getStartByte=Qr.prototype.yc,Qr.prototype.getEndTime=Qr.prototype.pg,Qr.prototype.getStartTime=Qr.prototype.getStartTime,Qr.prototype.getUris=Qr.prototype.ba;var Wr=0,Yr=1;function Zr(e){return!e||1==e.length&&1e-6>e.end(0)-e.start(0)?null:e.length?e.end(e.length-1):null}function Xr(e,t){return!(!e||!e.length||1==e.length&&1e-6>e.end(0)-e.start(0)||t>e.end(e.length-1))&&t>=e.start(0)}function Jr(e,t){if(!e||!e.length||1==e.length&&1e-6>e.end(0)-e.start(0))return 0;for(var n=0,i=(e=c($r(e))).next();!i.done;i=e.next()){var r=i.value;i=r.start,(r=r.end)>t&&(n+=r-Math.max(i,t))}return n}function $r(e){if(!e)return[];for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t}function ea(){}function ta(e,t){return t+10<=e.length&&73===e[t]&&68===e[t+1]&&51===e[t+2]&&255>e[t+3]&&255>e[t+4]&&128>e[t+6]&&128>e[t+7]&&128>e[t+8]&&128>e[t+9]}function na(e,t){return t+10<=e.length&&51===e[t]&&68===e[t+1]&&73===e[t+2]&&255>e[t+3]&&255>e[t+4]&&128>e[t+6]&&128>e[t+7]&&128>e[t+8]&&128>e[t+9]}function ia(e,t){var n=(127&e[t])<<21;return n|=(127&e[t+1])<<14,(n|=(127&e[t+2])<<7)|127&e[t+3]}function ra(e){var t={key:e.type,description:"",data:"",mimeType:null,pictureType:null};if("APIC"===e.type){if(2>e.size||3!==e.data[0])return null;var n=e.data.subarray(1).indexOf(0);if(-1===n)return null;var i=Si(oe(e.data,1,n)),r=e.data[2+n],a=e.data.subarray(3+n).indexOf(0);if(-1===a)return null;var o,s=Si(oe(e.data,3+n,a));return o="--\x3e"===i?Si(oe(e.data,4+n+a)):ae(e.data.subarray(4+n+a)),t.mimeType=i,t.pictureType=r,t.description=s,t.data=o,t}return"TXXX"===e.type||"WXXX"===e.type?2>e.size||3!==e.data[0]||-1===(i=e.data.subarray(1).indexOf(0))?null:(n=Si(oe(e.data,1,i)),e=Si(oe(e.data,2+i)).replace(/\0*$/,""),t.description=n,t.data=e,t):"PRIV"===e.type?2>
1e.size||-1===(n=e.data.indexOf(0))?null:(n=Si(oe(e.data,0,n)),t.description=n,"com.apple.streaming.transportStreamTimestamp"==n?(n=e.data.subarray(n.length+1),e=1&n[3],n=(n[4]<<23)+(n[5]<<15)+(n[6]<<7)+n[7],n/=45,e&&(n+=47721858.84),t.data=n):(e=ae(e.data.subarray(n.length+1)),t.data=e),t):"T"===e.type[0]?2>e.size||3!==e.data[0]?null:(e=Si(e.data.subarray(1)).replace(/\0*$/,""),t.data=e,t):"W"===e.type[0]?(e=Si(e.data).replace(/\0*$/,""),t.data=e,t):e.data?(t.data=ae(e.data),t):null}function aa(e){for(var t=0,n=[];ta(e,t);){var i=ia(e,t+6);for(e[t+5]>>6&1&&(t+=10),i=(t+=10)+i;t+10<i;){var r=e.subarray(t),a=ia(r,4);(a=ra(r={type:String.fromCharCode(r[0],r[1],r[2],r[3]),size:a,data:r.subarray(10,10+a)}))&&n.push(a),t+=r.size+10}na(e,t)&&(t+=10)}return n}function oa(e,t){for(var n=t=void 0===t?0:t,i=0;ta(e,t);)e[t+5]>>6&1&&(i+=10),i+=10,i+=ia(e,t+6),na(e,t+10)&&(i+=10),t+=i;return 0<i?e.subarray(n,n+i):new Uint8Array([])}function sa(e,t){return 1==t?(e.skip(8),e.skip(8)):(e.skip(4),e.skip(4)),t=e.T(),e.skip(4),e=e.Ba(),{timescale:t,language:String.fromCharCode(96+(e>>10))+String.fromCharCode(96+((960&e)>>5))+String.fromCharCode(96+(31&e))}}function la(e,t){return e.skip(87),{ma:t+"."+this.g(e.Ca())+this.g(e.Ca())+this.g(e.Ca())}}function ca(e,t){if(this.j=e,void 0!==t&&t){t=new Uint8Array(e.byteLength);for(var n=0,i=0;i<e.byteLength;i++)2<=i&&3==e[i]&&0==e[i-1]&&0==e[i-2]||(t[n]=e[i],n++);this.j=oe(t,0,n)}this.i=this.j.byteLength,this.g=this.h=0}function ua(e){var t=e.j.byteLength-e.i,n=new Uint8Array(4),i=Math.min(4,e.i);0!==i&&(n.set(e.j.subarray(t,t+i)),e.h=new Ni(n,0).T(),e.g=8*i,e.i-=i)}function da(e,t){if(e.g<=t){t-=e.g;var n=Math.floor(t/8);t-=8*n,e.g-=n,ua(e)}e.h<<=t,e.g-=t}function pa(e,t){var n=Math.min(e.g,t),i=e.h>>>32-n;return e.g-=n,0<e.g?e.h<<=n:0<e.i&&ua(e),0<(n=t-n)?i<<n|pa(e,n):i}function ha(e){var t;for(t=0;t<e.g;++t)if(e.h&2147483648>>>t)return e.h<<=t,e.g-=t,t;return ua(e),t+ha(e)}function fa(e){da(e,1+ha(e))}function ga(e){return pa(e,ha(e)+1)-1}function ma(e){return 1&(e=ga(e))?1+e>>>1:-1*(e>>>1)}function ya(e){return 1===pa(e,1)}function va(e){return pa(e,8)}function ba(e,t){for(var n=8,i=8,r=0;r<t;r++)0!==i&&(i=(n+(i=ma(e))+256)%256),n=0===i?n:i}function Aa(e){return va(e),ga(e),ga(e)}function wa(){this.A=null,this.C=!1,this.m=this.D=null,this.j=[],this.g=[],this.o=this.s=null,this.i=[],this.h=[],this.u=null,this.l=[]}function xa(e){if(1!=(e[0]<<16|e[1]<<8|e[2]))return null;var t={data:new Uint8Array(0),packetLength:e[4]<<8|e[5],pts:null,dts:null,nalus:[]};if(t.packetLength&&t.packetLength>e.byteLength-6)return null;var n=e[7];return 192&n&&(t.pts=536870912*(14&e[9])+4194304*(255&e[10])+16384*(254&e[11])+128*(255&e[12])+(254&e[13])/2,t.dts=t.pts,64&n&&(t.dts=536870912*(14&e[14])+4194304*(255&e[15])+16384*(254&e[16])+128*(255&e[17])+(254&e[18])/2)),n=e[8]+9,e.byteLength<=n?null:(t.data=e.subarray(n),t)}function ka(e){return!(0>Ta(e))}function Ta(e){for(var t=Math.min(1e3,e.length-564),n=0;n<t;){if(71==e[n]&&71==e[n+188]&&71==e[n+376])return n;n++}return-1}Qr.Status={Ah:Wr,oi:Yr,Th:2},O("shaka.util.Id3Utils",ea),ea.getID3Data=oa,ea.getID3Frames=aa,O("shaka.util.ExpGolomb",ca),(i=wa.prototype).clearData=function(){this.j=[],this.g=[],this.i=[],this.h=[],this.l=[]},i.parse=function(e){if(564>e.length)return this;for(var t=Math.max(0,Ta(e)),n=e.length-(e.length+t)%188,i=!1,r=t;r<n;r+=188)if(71==e[r]){var a=!!(64&e[r+1]),o=((31&e[r+1])<<8)+e[r+2];if(1<(48&e[r+3])>>4){var s=r+5+e[r+4];if(s==r+188)continue}else s=r+4;switch(o){case 0:a&&(s+=e[s]+1),this.A=(31&e[s+10])<<8|e[s+11];break;case 17:case 8191:break;case this.A:a&&(s+=e[s]+1),o={audio:-1,video:-1,qd:-1,audioCodec:"",videoCodec:""};var l=s+3+((15&(a=e)[s+1])<<8|a[s+2])-4;for(s+=12+((15&a[s+10])<<8|a[s+11]);s<l;){var c=(31&a[s+1])<<8|a[s+2],u=(15&a[s+3])<<8|a[s+4];switch(a[s]){case 6:if(-1==o.audio&&0<u)for(var d=s+5,p=u;2<p;){switch(a[d]){case 106:o.audio=c,o.audioCodec="ac3";break;case 122:o.audio=c,o.audioCodec="ec3"}var h=a[d+1]+2;d+=h,p-=h}break;case 15:-1==o.audio&&(o.audio=c,o.audioCodec="aac");break;case 21:-1==o.qd&&(o.qd=c);break;case 27:-1==o.video&&(o.video=c,o.videoCodec="avc");break;case 3:case 4:-1==o.audio&&(o.audio=c,o.audioCodec="mp3");break;case 36:-1==o.video&&(o.video=c,o.videoCodec="hvc");break;case 129:-1==o.audio&&(o.audio=c,o.audioCodec="ac3");break;case 132:case 135:-1==o.audio&&(o.audio=c,o.audioCodec="ec3")}s+=u+5}-1!=(a=o).video&&(this.D=a.video,this.m=a.videoCodec),-1!=a.audio&&(this.s=a.audio,this.o=a.audioCodec),-1!=a.qd&&(this.u=a.qd),i&&!this.C&&(i=!1,r=t-188),this.C=!0;break;case this.D:s=e.subarray(s,r+188),a?this.j.push(s):this.j.length&&(a=this.j[this.j.length-1])&&(this.j[this.j.length-1]=Xi(a,s));break;case this.s:s=e.subarray(s,r+188),a?this.i.push(s):this.i.length&&(a=this.i[this.i.length-1])&&(this.i[this.i.length-1]=Xi(a,s));break;case this.u:s=e.subarray(s,r+188),a?this.l.push(s):this.l.length&&(a=this.l[this.l.length-1])&&(this.l[this.l.length-1]=Xi(a,s));break;default:i=!0}}return this},i.ah=function(e){return Rn("TsParser","Please use parseNalus function instead."),this.Ie(e)},i.Ie=function(e,t){var n=e.pts?e.pts/9e4:null,i=(e=e.data).byteLength,r=1;"hvc"==this.m&&(r=2);for(var a,o=0,s=[],l=-1,c=0,u=0;u<i;++u){var d=e[u];if(d){if(2<=o&&1==d){if(t&&!s.length&&-1==l&&(0!=(d=u-(3<o?3:o))&&(d=e.subarray(0,d),t.data=Xi(t.data,d),t.fullData=Xi(t.fullData,d))),0<=l?(o=u-((3<o?3:o)+1),s.push({data:e.subarray(l+r,o+1),fullData:e.subarray(l,o+1),type:c,time:n})):t&&!s.length&&(0<(l=u-o)&&(l=e.subarray(0,l),t.data=Xi(t.data,l),t.fullData=Xi(t.fullData,l))),u>=i-r)return s;l=++u,c="hvc"==this.m?e[u]>>1&63:31&e[u]}o=0}else o++;u>=i-1&&0<=l&&0<=o&&(a={data:e.subarray(l+r,i),fullData:e.subarray(l,i),type:c,time:n})}return a&&s.push(a),!s.length&&t&&(t.data=Xi(t.data,e),t.fullData=Xi(t.fullData,e)),s},i.getMetadata=function(){for(var e=[],t=c(this.l),n=t.next();!n.done;n=t.next())(n=xa(n.value))&&e.push({cueTime:n.pts?n.pts/9e4:null,data:n.data,frames:aa(n.data),dts:n.dts,pts:n.pts});return e},i.zb=function(){if(this.i.length&&!this.h.length){for(var e=!1,t=c(this.i),n=t.next();!n.done;n=t.next()){var i=n.value,r=xa(i);n=this.h.length?this.h[this.h.length-1]:null,r&&null!=r.pts&&null!=r.dts&&(!n||n.pts!=r.pts&&n.dts!=r.dts)?(this.h.length&&r.dts<(n.dts||0)&&(e=!0),this.h.push(r)):this.h.length&&(i=r?r.data:i)&&((n=this.h.pop()).data=Xi(n.data,i),this.h.push(n))}e&&(this.h=this.h.sort(function(e,t){var n=(e.pts||0)-(t.pts||0);return(e.dts||0)-(t.dts||0)||n}))}return this.h},i.Tb=function(e){if(e=void 0===e||e,this.j.length&&!this.g.length){for(var t=!1,n=c(this.j),i=n.next();!i.done;i=n.next()){var r=i.value,a=xa(r);i=this.g.length?this.g[this.g.length-1]:null,a&&null!=a.pts&&null!=a.dts&&(!i||i.pts!=a.pts&&i.dts!=a.dts)?(this.g.length&&a.dts<(i.dts||0)&&(t=!0),this.g.push(a)):this.g.length&&(r=a?a.data:r)&&((i=this.g.pop()).data=Xi(i.data,r),this.g.push(i))}if(e){var o;for(i=(n=c(this.g)).next();!i.done;i=n.next())(i=i.value).nalus=this.Ie(i,o),i.nalus.length&&(o=i.nalus[i.nalus.length-1]);this.g=this.g.filter(function(e){return e.nalus.length})}t&&(this.g=this.g.sort(function(e,t){var n=(e.pts||0)-(t.pts||0);return(e.dts||0)-(t.dts||0)||n}))}return e?this.g:(e=this.g,this.g=[],e)},i.getStartTime=function(e){if("audio"==e){e=null;var t=this.zb();return t.length&&(e=t[0],e=Math.min(e.dts,e.pts)/9e4),e}return"video"==e?(e=null,(t=this.Tb(!1)).length&&(e=t[0],e=Math.min(e.dts,e.pts)/9e4),e):null},i.gd=function(){return{audio:this.o,video:this.m}},i.ne=function(){for(var e=[],t=c(this.Tb()),n=t.next();!n.done;n=t.next())e.push.apply(e,u(n.value.nalus));return e},i.Kg=function(){Rn("TsParser","Please use getVideoInfo function instead.");var e=this.me();return{height:e.height,width:e.width}},i.me=function(){return"hvc"==this.m?function(e){var t={height:null,width:null,ma:null};if(!(e=e.ne()).length)return t;if(!(e=e.find(function(e){return 33==e.type})))return t;var n=new ca(e.fullData,!0);va(n),va(n),pa(n,4);var i=pa(n,3);ya(n);var r=pa(n,2),a=pa(n,1),o=pa(n,5),s=pa(n,32);e=va(n);for(var l=va(n),c=va(n),u=va(n),d=va(n),p=va(n),h=va(n),f=[],g=[],m=0;m<i;
1m++)f.push(ya(n)),g.push(ya(n));if(0<i)for(m=i;8>m;m++)pa(n,2);for(m=0;m<i;m++)f[m]&&pa(n,88),g[m]&&va(n);ga(n),3==(i=ga(n))&&pa(n,1),f=ga(n),g=ga(n);var y=m=0,v=0,b=0;return ya(n)&&(m+=ga(n),y+=ga(n),v+=ga(n),b+=ga(n)),t.width=String(f-(m+y)*(1===i||2===i?2:1)),t.height=String(g-(v+b)*(1===i?2:1)),n=function(e){for(var t=0,n=0;32>n;n++)t|=(e>>n&1)<<31-n;return t>>>0}(s),a=1==a?"H":"L",r="hvc1."+["","A","B","C"][r]+o,r+="."+n.toString(16).toUpperCase(),r+="."+a+h,p&&(r+="."+p.toString(16).toUpperCase()),d&&(r+="."+d.toString(16).toUpperCase()),u&&(r+="."+u.toString(16).toUpperCase()),c&&(r+="."+c.toString(16).toUpperCase()),l&&(r+="."+l.toString(16).toUpperCase()),e&&(r+="."+e.toString(16).toUpperCase()),t.ma=r,t}(this):function(e){var t={height:null,width:null,ma:null};if(!(e=e.ne()).length)return t;if(!(e=e.find(function(e){return 7==e.type})))return t;var n=va(e=new ca(e.data)),i=va(e),r=va(e);if(fa(e),Ca.includes(n)){var a=ga(e);if(3===a&&da(e,1),fa(e),fa(e),da(e,1),ya(e)){a=3!==a?8:12;for(var o=0;o<a;o++)ya(e)&&ba(e,6>o?16:64)}}if(fa(e),0===(a=ga(e)))ga(e);else if(1===a)for(da(e,1),fa(e),fa(e),a=ga(e),o=0;o<a;o++)fa(e);fa(e),da(e,1),a=ga(e),o=ga(e);var s=pa(e,1);0===s&&da(e,1),da(e,1);var l=0,c=0,u=0,d=0;return ya(e)&&(l=ga(e),c=ga(e),u=ga(e),d=ga(e)),t.height=String((2-s)*(o+1)*16-2*u-2*d),t.width=String(16*(a+1)-2*l-2*c),t.ma="avc1."+("0"+n.toString(16).toUpperCase()).slice(-2)+("0"+i.toString(16).toUpperCase()).slice(-2)+("0"+r.toString(16).toUpperCase()).slice(-2),t}(this)},O("shaka.util.TsParser",wa),wa.syncOffset=Ta,wa.probe=ka,wa.prototype.getVideoInfo=wa.prototype.me,wa.prototype.getVideoResolution=wa.prototype.Kg,wa.prototype.getVideoNalus=wa.prototype.ne,wa.prototype.getCodecs=wa.prototype.gd,wa.prototype.getStartTime=wa.prototype.getStartTime,wa.prototype.getVideoData=wa.prototype.Tb,wa.prototype.getAudioData=wa.prototype.zb,wa.prototype.getMetadata=wa.prototype.getMetadata,wa.prototype.parseNalus=wa.prototype.Ie,wa.prototype.parseAvcNalus=wa.prototype.ah,wa.prototype.parse=wa.prototype.parse,wa.prototype.clearData=wa.prototype.clearData,wa.Timescale=9e4;var Ca=[100,110,122,244,44,83,86,118,128,138,139,134];function Ea(e,t,n){this.g=null,this.o=-1,this.m=e,this.i=t,this.l=n,this.j=!1;e:{if("undefined"==typeof libDPIModule&&G("Could not find LCEVC Library dependencies on this page"),"undefined"!=typeof LCEVCdec)this.h=LCEVCdec;else{if("undefined"==typeof LcevcDil){G("Could not find LCEVC Library on this page"),e=!1;break e}this.h=LcevcDil,this.j=!0,Rn("LcevcDil","lcevc_dil.js is deprecated, please use lcevc_dec.js instead")}void 0===this.h.SupportObject?(G("Could not find LCEVC Library on this page"),e=!1):(this.h.SupportObject.SupportStatus||G(this.h.SupportObject.SupportError),e=void 0!==this.h&&"undefined"!=typeof libDPIModule&&this.i instanceof HTMLCanvasElement&&this.h.SupportObject.SupportStatus)}e&&!this.g&&this.h.SupportObject.webGLSupport(this.i)&&(this.i.classList.remove("shaka-hidden"),this.g=this.j?new this.h.LcevcDil(this.m,this.i,this.l):new this.h.LCEVCdec(this.m,this.i,this.l))}function Sa(e){e.g&&e.i.classList.add("shaka-hidden")}function La(e,t,n){var i=Ma,r=Pa;switch(t.mimeType){case"video/webm":i=Ia;break;case"video/mp4":i=Da}switch(n){case"DASH":r=Na;break;case"HLS":r=Ra}e.g&&(e.o=t.id,e.g.setLevelSwitching(t.id,!0),e.g.setContainerFormat(i),e.j||e.g.setStreamingFormat(r))}Ea.prototype.release=function(){this.g&&(this.g.close(),this.g=null)},O("shaka.lcevc.Dec",Ea),Ea.prototype.release=Ea.prototype.release;var Ma=0,Ia=1,Da=2,Ra=0,Na=1,Pa=-1;function ja(e,t,n,i){var r=this;this.i=e,this.C=null,this.D=t,this.g={},this.F={},this.ra={},this.h=null,this.Y=!1,this.ta=n||function(){},this.R=i||null,this.j={},this.s=new bi,this.m={},this.G=null,this.K=new Wn,this.M="",this.ca=!1,this.l=Va(this,this.K),this.u=!1,this.I=new yi(function(){return function(e){var t,n,i,r,a,o,s;return R(function(l){if(1==l.g){for(n in t=[],e.j)for(i=e.j[n],r=i[0],e.j[n]=i.slice(0,1),r&&t.push(r.p.catch(St)),a=c(i.slice(1)),o=a.next();!o.done;o=a.next())o.value.p.reject(new nt(2,7,7003,void 0));for(s in e.h&&t.push(e.h.destroy()),e.D&&t.push(e.D.destroy()),e.m)t.push(e.m[s].destroy());return A(l,Promise.all(t),2)}e.s&&(e.s.release(),e.s=null),e.i&&(e.i.removeAttribute("src"),e.i.load(),e.i=null),e.C=null,e.l=null,e.h=null,e.D=null,e.g={},e.m={},e.G=null,e.j={},e.R=null,w(l)})}(r)}),this.A=!1,this.W="UNKNOWN",this.ga=this.sa=!1,this.xa=new Wn,this.o=!1,this.ea=!0,this.V=null}function Va(t,n){if(e.ManagedMediaSource){t.i.disableRemotePlayback=!0;var i=new ManagedMediaSource;return t.s.ka(i,"sourceopen",function(){URL.revokeObjectURL(t.M),n.resolve()}),t.s.H(i,"startstreaming",function(){t.ea=!0}),t.s.H(i,"endstreaming",function(){t.ea=!1}),t.s.ka(t.i,"playing",function(){t.ca=!0}),t.M=to(i),t.i.src=t.M,i}return i=new MediaSource,t.s.ka(i,"sourceopen",function(){URL.revokeObjectURL(t.M),n.resolve()}),t.s.ka(t.i,"playing",function(){t.ca=!0}),t.M=to(i),t.i.src=t.M,i}
1function Ha(e,t,n,i){var r=pt(n.mimeType,i);if(t==lt)Ba(e,r,e.A,n.external);else{var a=e.C.forceTransmux;(!X(r)||!e.A&&At.includes(r))&&(a=!0);var o=ht(n.mimeType,i);if(a){if(a=st("audio",(i||"").split(",")),i=st("video",(i||"").split(",")),a&&i)return e.o=!0,Ha(e,"audio",n,a),void Ha(e,"video",n,i);(i=Ne(o))&&(r=i(),e.m[t]=r,r=r.convertCodecs(t,o))}o=r+e.C.sourceBufferExtraFeatures,vi(e.I);try{var s=e.l.addSourceBuffer(o)}catch(t){throw new nt(2,3,3015,t,"The mediaSource_ status was "+e.l.readyState+" expected 'open'")}e.A&&(s.mode=no),e.s.H(s,"error",function(){e.j[t][0].p.reject(new nt(2,3,3014,e.i.error?e.i.error.code:0))}),e.s.H(s,"updateend",function(){return Ya(e,t)}),e.g[t]=s,e.F[t]=r,e.ra[t]=!!n.drmInfos.length}}function Ba(e,t,n,i){e.h||(e.h=new wt(e.D));var r=e.h;i=i||e.Y,e=e.W,"application/cea-608"==t||"application/cea-708"==t?r.i=null:(r.i=(0,Ct[t])(),r.i.setSequenceMode?r.i.setSequenceMode(n):G('Text parsers should have a "setSequenceMode" method!'),r.i.setManifestType?r.i.setManifestType(e):G('Text parsers should have a "setManifestType" method!'),r.u=i)}function Ua(e){return!e.u&&(!e.l||"ended"==e.l.readyState)}function Oa(e,t){return e.u||!Object.keys(e.g).length?e=null:t==lt?e=e.h.g:e=!(e=za(e,t))||1==e.length&&1e-6>e.end(0)-e.start(0)?null:1==e.length&&0>e.start(0)?0:e.length?e.start(0):null,e}function Fa(e,t){return e.u?null:t==lt?e.h.h:Zr(za(e,t))}function za(e,t){try{return e.g[t].buffered}catch(e){return null}}function _a(e,t,n,i,r,a,o,s,l,u){var d,p,h,f,g,m,y,v,b,x;return o=void 0!==o&&o,s=void 0!==s&&s,l=void 0!==l&&l,u=void 0!==u&&u,R(function(k){switch(k.g){case 1:if(t!=(d=ct).ia){k.B(2);break}if(!e.A){k.B(3);break}return A(k,e.xa,4);case 4:p=k.h,e.h.s=p;case 3:return A(k,function(e,t,n,i,r){var a,o,s,l;return R(function(c){return 1==c.g?A(c,Promise.resolve(),2):e.i&&e.j?null==n||null==i?(e.i.parseInit(oe(t)),c.return()):(a=e.u?n:e.s,o={periodStart:e.s,segmentStart:n,segmentEnd:i,vttOffset:a},s=e.i.parseMedia(oe(t),o,r),l=s.filter(function(t){return t.startTime>=e.l&&t.startTime<e.m}),e.j.append(l),null==e.g&&(e.g=Math.max(n,e.l)),e.h=Math.min(i,e.m),void w(c)):c.return()})}(e.h,n,i?i.startTime:null,i?i.endTime:null,i?i.ba()[0]:null),5);case 5:return k.return();case 2:if(u||!e.o){k.B(6);break}return A(k,_a(e,d.N,n,i,r,a,o,s,l,!0),7);case 7:return A(k,_a(e,d.$,n,i,r,a,o,s,l,!0),8);case 8:return k.return();case 6:if(!e.g[t])return k.return();if(h=e.g[t].timestampOffset,f=e.F[t],e.m[t]&&(f=e.m[t].getOriginalMimeType()),i&&(g=function(e,t,n,i,r,a){var o=null,s=oe(n);if(At.includes(r))(a=aa(s)).length&&i&&((t=a.find(function(e){return"com.apple.streaming.transportStreamTimestamp"===e.description}))&&t.data&&(o=Math.round(t.data)/1e3),e.ta([{cueTime:i.startTime,data:s,frames:a,dts:i.startTime,pts:i.startTime}],0,i.endTime));else if(r.includes("/mp4")&&i&&0==i.o&&i.fa&&i.fa.timescale){var l=i.fa.timescale;if(!isNaN(l)){var c=0,u=!1;(new Vi).box("moof",Hi).box("traf",Hi).aa("tfdt",function(e){var t=e.reader;if(1==e.version){var n=t.T();t=t.T(),n=n*Math.pow(2,32)+t}else n=t.T();c=n/l,u=!0,e.parser.stop()}).parse(n,!0),u&&(o=c)}}else r.includes("/mp4")||r.includes("/webm")||!ka(s)||(null!=(t=(s=(new wa).parse(s)).getStartTime(t))&&(o=t),(s=s.getMetadata()).length&&e.ta(s,a,i?i.endTime:null));return o}(e,t,n,i,f,h),null!=g&&(m=i.startTime-g,(.001<=Math.abs(h-m)||o||s)&&(!l||0<m||!h)&&(h=m,e.ga&&(Za(e,t,function(){return Qa(e,t)}),Za(e,t,function(){return Wa(e,t,h)}))),y=t==d.$||!(d.$ in e.g),e.A&&y&&e.xa.resolve(h))),a&&t==d.$&&(e.h||Ba(e,"application/cea-608",e.A,!1),e.G||(v=f.split(";",1)[0],e.G=new de(v)),i?(b=e.G.i(n)).length&&function(e,t,n,i,r){for(var a=n+" "+i,o=new Map,s=(t=c(t)).next();!s.done;s=t.next()){var l=s.value;s=l.stream,l=l.cue,o.has(s)||o.set(s,new Map),o.get(s).has(a)||o.get(s).set(a,[]),Tt(e,l,r),l.startTime>=e.l&&l.startTime<e.m&&(o.get(s).get(a).push(l),s==e.A&&e.j.append([l]))}for(a=(r=c(o.keys())).next();!a.done;a=r.next())for(a=a.value,e.o.has(a)||e.o.set(a,new Map),s=(t=c(o.get(a).keys())).next();!s.done;s=t.next())s=s.value,l=o.get(a).get(s),e.o.get(a).set(s,l);e.g=null==e.g?Math.max(n,e.l):Math.min(e.g,Math.max(n,e.l)),e.h=Math.max(e.h,Math.min(i,e.m))}(e.h,b,i.startTime,i.endTime,h):e.G.init(n)),!e.m[t]){k.B(9);break}return A(k,e.m[t].transmux(n,r,i,e.l.duration,t),10);case 10:n=k.h;case 9:return n=function(e,t,n,i){var r=e.ra[i];
1return e.C.insertFakeEncryptionInInit&&null==n&&r&&(Gt()||Kt()||Xt("SOPOpenBrowser"))&&"mp4"==e.F[i].split(";")[0].split("/")[1]&&(t=function(e){function t(){r=!0}function n(e){a.push(e),Hi(e)}e=oe(e);var i,r=!1,a=[],o=[];if((new Vi).box("moov",n).box("trak",n).box("mdia",n).box("minf",n).box("stbl",n).aa("stsd",function(e){i=e,a.push(e),Bi(e)}).aa("encv",t).aa("enca",t).aa("hev1",function(e){o.push({box:e,rb:1701733238})}).aa("hvc1",function(e){o.push({box:e,rb:1701733238})}).aa("avc1",function(e){o.push({box:e,rb:1701733238})}).aa("avc3",function(e){o.push({box:e,rb:1701733238})}).aa("ac-3",function(e){o.push({box:e,rb:1701733217})}).aa("ec-3",function(e){o.push({box:e,rb:1701733217})}).aa("ac-4",function(e){o.push({box:e,rb:1701733217})}).aa("mp4a",function(e){o.push({box:e,rb:1701733217})}).parse(e),r)return e;if(0==o.length||!i)throw Zi(e),new nt(2,3,3019);o.reverse();for(var s=c(o),l=s.next();!l.done;l=s.next())l=l.value,e=zr(e,i,l.box,a,l.rb);return e}(t)),t}(e,n,i?i.startTime:null,t),i&&e.A&&t!=d.ia&&(o||s)&&(x=i.startTime,Za(e,t,function(){return Qa(e,t)}),Za(e,t,function(){return Wa(e,t,x)})),A(k,Za(e,t,function(){var i=n;if("video"==t&&e.R){var r=e.R;r.g&&r.g.appendBuffer(i,"video",r.o,-h)}e.g[t].appendBuffer(i)}),11);case 11:w(k)}})}function qa(e,t){var n;return R(function(i){return 1==i.g?t==(n=ct).ia?e.h?A(i,e.h.remove(0,1/0),0):i.return():A(i,Za(e,t,function(){return Ga(e,t,0,e.l.duration)}),4):e.o?A(i,Za(e,n.N,function(){return Ga(e,n.N,0,e.l.duration)}),0):i.B(0)})}function Ka(e,t,n,i,r,a,o,s,l){var c,u;return R(function(d){return 1==d.g?t==(c=ct).ia?(a||(e.h.s=n),function(e,t,n){e.l=t,e.m=n}(e.h,i,r),d.return()):(u=[],A(d,function(e,t,n,i,r){var a,o,s,l,c,u,d,p,h,f,g,m,y,v,b;return R(function(w){return 1==w.g?t==(a=ct).ia?w.return(!1):(o=mt(vt(e.F[t])),s=yt(e.F[t]),c=!1,u=pt(n,i),d=e.C.forceTransmux,(!X(u)||!e.A&&At.includes(u))&&(d=!0),d&&(p=ht(n,i),h=Ne(p))&&(l=h(),f=st(a.N,(i||"").split(",")),g=st(a.$,(i||"").split(",")),f&&g?(c=!0,m=g,t==a.N&&(m=f),u=l.convertCodecs(t,ht(n,m))):u=l.convertCodecs(t,p)),y=mt(vt(u)),v=yt(u),o===y&&s===v?w.return(!1):(b=!0,(e.o||c&&l&&!e.m[t])&&(b=!1),b&&"smooth"===e.C.codecSwitchingStrategy&&J()?A(w,function(e,t,n,i){return Za(e,t,function(){t!==lt&&(J()&&(e.m[t]&&(e.m[t].destroy(),delete e.m[t]),i&&(e.m[t]=i),e.g[t].changeType(n+e.C.sourceBufferExtraFeatures),e.F[t]=n),Ya(e,t))})}(e,t,u,l),3):(l&&l.destroy(),A(w,eo(e,r),3)))):w.return(!0)})}(e,t,o,s,l),2)):(d.h||(u.push(Za(e,t,function(){return Qa(e,t)})),e.o&&u.push(Za(e,c.N,function(){return Qa(e,c.N)}))),a||(u.push(Za(e,t,function(){return Wa(e,t,n)})),e.o&&u.push(Za(e,c.N,function(){return Wa(e,c.N,n)}))),u.push(Za(e,t,function(){e.g[t].appendWindowStart=0,e.g[t].appendWindowEnd=r,e.g[t].appendWindowStart=i,Ya(e,t)})),e.o&&u.push(Za(e,c.N,function(){var t=c.N;e.g[t].appendWindowStart=0,e.g[t].appendWindowEnd=r,e.g[t].appendWindowStart=i,Ya(e,t)})),A(d,Promise.all(u),0))})}function Ga(e,t,n,i){i<=n?Ya(e,t):e.g[t].remove(n,i)}function Qa(e,t){var n=e.g[t].appendWindowStart,i=e.g[t].appendWindowEnd;e.g[t].abort(),e.g[t].appendWindowStart=n,e.g[t].appendWindowEnd=i,Ya(e,t)}function Wa(e,t,n){0>n&&(n+=.001),e.g[t].timestampOffset=n,Ya(e,t)}function Ya(e,t){if(!e.u){var n=e.j[t][0];n&&(n.p.resolve(),Ja(e,t))}}function Za(e,t,n){return vi(e.I),n={start:n,p:new Wn},e.j[t].push(n),1==e.j[t].length&&$a(e,t),n.p}function Xa(e,t){var n,i,r,a,o;return R(function(s){switch(s.g){case 1:for(r in vi(e.I),n=[],i={},e.g)i.hc=new Wn,a={start:function(e){return function(){return e.hc.resolve()}}(i),p:i.hc},e.j[r].push(a),n.push(i.hc),1==e.j[r].length&&a.start(),i={hc:i.hc};return x(s,2),A(s,Promise.all(n),4);case 4:T(s,3);break;case 2:throw C(s);case 3:return x(s,5,6),A(s,t(),6);case 6:for(o in E(s),e.g)Ja(e,o);S(s,0);break;case 5:throw new nt(2,3,3015,C(s),e.i.error||"No error in the media element")}})}function Ja(e,t){e.j[t].shift(),$a(e,t)}function $a(e,t){var n=e.j[t][0];if(n)try{n.start()}catch(i){"QuotaExceededError"==i.name?n.p.reject(new nt(2,3,3017,t)):n.p.reject(new nt(2,3,3015,i,e.i.error||"No error in the media element")),Ja(e,t)}}function eo(e,t){return Xa(e,function(){return function(e,t){var n,i,r,a,o,s,l,u,d,p,h,f,g,m,y,v,b,w,x,T,C,L;return R(function(M){switch(M.g){case 1:for(s in n=ct,e.u=!0,e.o=!1,i=e.i.currentTime,r=e.i.autoplay,a=e.i.paused,e.ca&&(e.i.autoplay=!1),k(M,2),e.s.Fb(),o=[],e.m)o.push(e.m[s].destroy());for(l in e.j)for(u=e.j[l],d=u[0],e.j[l]=u.slice(0,1),d&&o.push(d.p.catch(St)),p=c(u.slice(1)),h=p.next();!h.done;h=p.next())h.value.p.reject(new nt(2,7,7003,void 0));for(f in e.g){g=e.g[f];try{e.l.removeSourceBuffer(g)}catch(e){}}return A(M,Promise.all(o),4);case 4:return e.m={},e.g={},m=e.l.duration,e.K=new Wn,e.l=Va(e,e.K),A(M,e.K,5);case 5:for(!isNaN(m)&&m?e.l.duration=m:!isNaN(e.V)&&e.V&&(e.l.duration=e.V),y=new Wn,v=e.l.sourceBuffers,b=t.size,w=0,e.s.H(v,"addsourcebuffer",function(){++w===b&&y.resolve()}),x=c(t.keys()),T=x.next();!T.done;T=x.next())C=T.value,L=t.get(C),Ha(e,C,L,L.codecs),e.o?(e.j[n.N]=[],e.j[n.$]=[]):e.j[C]=[];return e.i.currentTime=i,A(M,y,2);case 2:E(M),e.u=!1,vi(e.I),e.s.ka(e.i,"canplay",function(){vi(e.I),e.i.autoplay=r,a||e.i.play()}),S(M,0)}})}(e,t)})}(i=ja.prototype).destroy=function(){return this.I.destroy()},i.init=function(e,t,n,i){t=void 0!==t&&t,n=void 0===n?"UNKNOWN":n,i=void 0!==i&&i;var r,a,o,s,l,u=this;
1return R(function(d){if(1==d.g)return r=ct,A(d,u.K,2);for(u.A=t,u.W=n,u.sa=i,u.ga=!u.A&&"HLS"==u.W&&!u.sa,a=c(e.keys()),o=a.next();!o.done;o=a.next())s=o.value,l=e.get(s),Ha(u,s,l,l.codecs),u.o?(u.j[r.N]=[],u.j[r.$]=[]):u.j[s]=[];w(d)})},i.configure=function(e){this.C=e},i.eb=function(){var e={total:this.u?[]:$r(this.i.buffered),audio:this.u?[]:$r(za(this,"audio")),video:this.u?[]:$r(za(this,"video")),text:[]};if(this.h){var t=this.h.g,n=this.h.h;null!=t&&null!=n&&e.text.push({start:t,end:n})}return e},i.remove=function(e,t,n){var i,r=this;return R(function(a){return 1==a.g?e==(i=ct).ia?A(a,r.h.remove(t,n),0):A(a,Za(r,e,function(){return Ga(r,e,t,n)}),4):r.o?A(a,Za(r,i.N,function(){return Ga(r,i.N,t,n)}),0):a.B(0)})},i.flush=function(e){var t,n=this;return R(function(i){return 1==i.g?e==(t=ct).ia?i.return():A(i,Za(n,e,function(){n.i.currentTime-=.001,Ya(n,e)}),2):n.o?A(i,Za(n,t.N,function(){var e=t.N;n.i.currentTime-=.001,Ya(n,e)}),0):i.B(0)})},i.endOfStream=function(e){var t=this;return R(function(n){return A(n,Xa(t,function(){Ua(t)||"closed"===t.l.readyState||(e?t.l.endOfStream(e):t.l.endOfStream())}),0)})},i.Qa=function(e){var t=this;return R(function(n){return A(n,Xa(t,function(){if(e<t.l.duration)for(var n in t.g){var i={start:function(){},p:new Wn};t.j[n].unshift(i)}t.l.duration=e,t.V=e}),0)})},i.getDuration=function(){return this.l.duration};var to=e.URL.createObjectURL,no="sequence";function io(e,t,n){this.i=e,this.m=t,this.s=this.j=1/0,this.g=1,this.h=this.l=null,this.o=0,this.C=!0,this.D=0,this.u=void 0===n||n,this.F=0,this.A=!1}function ro(e,t,n){this.j=n,this.l=e,this.s=oo(e),this.g=e.g.currentTime,this.m=Date.now()/1e3,this.h=!1,this.o=0,this.u=t,this.i=function(){}}function ao(e){this.g=e}function oo(e){if(e.g.paused||0==e.g.buffered.length)var t=!1;else e:{t=e.g.currentTime;for(var n=(e=c($r(e.g.buffered))).next();!n.done;n=e.next())if(!(t<(n=n.value).start-.1||t>n.end-.5)){t=!0;break e}t=!1}return t}function so(e,t,n,i,r){var a=this;this.u=r,this.g=e,this.A=t,this.s=n,this.l=new bi,this.j=!1,this.D=e.readyState,this.C=this.i=0,this.h=i,this.o=!1,this.l.H(e,"waiting",function(){return lo(a)}),this.m=new _t(function(){lo(a)}).Ra(this.s.gapJumpTimerTime)}function lo(e){if(0!=e.g.readyState){if(e.g.seeking){if(!e.j)return}else e.j=!1;if(!e.g.paused||e.g.currentTime==e.i&&(e.g.autoplay||e.g.currentTime!=e.i)){var t;if(e.g.readyState!=e.D&&(e.D=e.g.readyState),!(t=!e.h)){var n=(t=e.h).l,i=oo(n),r=n.g.currentTime,a=Date.now()/1e3;t.g==r&&t.s==i||(t.m=a,t.g=r,t.s=i,t.h=!1),(i=(r=a-t.m)>=t.u&&i&&!t.h)&&(t.i(t.g,r),t.h=!0,t.g=n.g.currentTime,t.o++,t.j(new ti("stalldetected"))),t=!i}t&&(t=e.g.currentTime,i=function(e,t,n){return!e||!e.length||1==e.length&&1e-6>e.end(0)-e.start(0)?null:0<=(e=$r(e).findIndex(function(e,i,r){return e.start>t&&(0==i||r[i-1].end-t<=n)}))?e:null}(n=e.g.buffered,t,e.s.gapDetectionThreshold),null==i||0==i&&!e.o||((r=n.start(i))>=e.A.fb()||.001>r-t||(0!=i&&n.end(i-1),e.g.currentTime=r,t==e.i&&(e.i=r),e.C++,e.u(new ti("gapjumped")))))}}}function co(e,t,n,i){t==HTMLMediaElement.HAVE_NOTHING||e.readyState>=t?i():(t=uo.value().get(t),n.ka(e,t,i))}(i=io.prototype).getDuration=function(){return this.j},i.vg=function(){return this.g},i.Of=function(e){this.i=e},i.Qa=function(e){this.j=e},i.Ag=function(){return this.i},i.Mf=function(e){this.o=e},i.Yb=function(e){this.C=e},i.Bd=function(e){this.s=e},i.Nf=function(e){this.m=e},i.og=function(){return this.m},i.Ef=function(e,t){if(0!=e.length){var n=e[e.length-1].end+t;this.wd(e[0].start+t),this.g=e.reduce(function(e,t){return Math.max(e,t.end-t.start)},this.g),this.h=Math.max(this.h,n),null!=this.i&&this.u&&!this.A&&(this.i=(Date.now()+this.o)/1e3-this.h-this.g)}},i.xd=function(e){if(0!=e.length){for(var t=e[0].startTime,n=e[0].endTime,i=(Date.now()+this.o)/1e3,r=(e=c(e)).next();!r.done;r=e.next())i<(r=r.value).startTime||(t=Math.min(t,r.startTime),n=Math.max(n,r.endTime),this.g=Math.max(this.g,r.endTime-r.startTime));this.wd(t),this.h=Math.max(this.h,n),null!=this.i&&this.u&&!this.A&&(this.i=i-this.h-this.g)}},i.rd=function(){this.A=!0},i.wd=function(e){this.l=null==this.l?e:Math.min(this.l,e)},i.De=function(e){this.g=Math.max(this.g,e)},i.offset=function(e){null!=this.l&&(this.l+=e),null!=this.h&&(this.h+=e)}
1,i.S=function(){return 1/0==this.j&&!this.C},i.Ub=function(){return 1/0!=this.j&&!this.C},i.ob=function(){return Math.max(this.D,this.nb()-this.s)},i.Qf=function(e){this.D=e},i.nb=function(){return this.S()||this.Ub()?Math.min(Math.max(0,(Date.now()+this.o)/1e3-this.g-this.i)+this.F,this.j):this.h?Math.min(this.h,this.j):this.j},i.xc=function(e){var t=Math.max(this.l,this.D);return 1/0==this.s?Math.ceil(1e3*t)/1e3:Math.max(t,Math.min(this.nb()-this.s+e,this.fb()))},i.Rb=function(){return this.xc(0)},i.fb=function(){return Math.max(0,this.nb()-(this.S()||this.Ub()?this.m:0))},i.Tf=function(){return!(null==this.i||null!=this.h&&this.u)},i.Lf=function(e){this.F=e},O("shaka.media.PresentationTimeline",io),io.prototype.setAvailabilityTimeOffset=io.prototype.Lf,io.prototype.usingPresentationStartTime=io.prototype.Tf,io.prototype.getSeekRangeEnd=io.prototype.fb,io.prototype.getSeekRangeStart=io.prototype.Rb,io.prototype.getSafeSeekRangeStart=io.prototype.xc,io.prototype.getSegmentAvailabilityEnd=io.prototype.nb,io.prototype.setUserSeekStart=io.prototype.Qf,io.prototype.getSegmentAvailabilityStart=io.prototype.ob,io.prototype.isInProgress=io.prototype.Ub,io.prototype.isLive=io.prototype.S,io.prototype.offset=io.prototype.offset,io.prototype.notifyMaxSegmentDuration=io.prototype.De,io.prototype.notifyMinSegmentStartTime=io.prototype.wd,io.prototype.lockStartTime=io.prototype.rd,io.prototype.notifySegments=io.prototype.xd,io.prototype.notifyTimeRange=io.prototype.Ef,io.prototype.getDelay=io.prototype.og,io.prototype.setDelay=io.prototype.Nf,io.prototype.setSegmentAvailabilityDuration=io.prototype.Bd,io.prototype.setStatic=io.prototype.Yb,io.prototype.setClockOffset=io.prototype.Mf,io.prototype.getPresentationStartTime=io.prototype.Ag,io.prototype.setDuration=io.prototype.Qa,io.prototype.setPresentationStartTime=io.prototype.Of,io.prototype.getMaxSegmentDuration=io.prototype.vg,io.prototype.getDuration=io.prototype.getDuration,ro.prototype.release=function(){this.j=this.l=null,this.i=function(){}},so.prototype.release=function(){this.l&&(this.l.release(),this.l=null),null!=this.m&&(this.m.stop(),this.m=null),this.h&&(this.h.release(),this.h=null),this.g=this.A=this.u=null},so.prototype.Ge=function(){this.o=!0,lo(this)};var uo=new xi(function(){return new Map([[HTMLMediaElement.HAVE_METADATA,"loadedmetadata"],[HTMLMediaElement.HAVE_CURRENT_DATA,"loadeddata"],[HTMLMediaElement.HAVE_FUTURE_DATA,"canplay"],[HTMLMediaElement.HAVE_ENOUGH_DATA,"canplaythrough"]])});function po(e,t,n,i){var r=this;this.g=e,this.m=t,this.s=n,this.l=null,this.j=function(){return null==r.l&&(r.l=i()),r.l},this.o=!1,this.h=new bi,this.i=new yo(e),co(this.g,HTMLMediaElement.HAVE_METADATA,this.h,function(){go(r,r.j())})}function ho(e){return e.o?e.g.currentTime:e.j()}function fo(e,t){0<e.g.readyState?vo(e.i,t):co(e.g,HTMLMediaElement.HAVE_METADATA,e.h,function(){go(e,e.j())})}function go(e,t){.001>Math.abs(e.g.currentTime-t)?mo(e):(e.h.ka(e.g,"seeking",function(){mo(e)}),vo(e.i,e.g.currentTime&&0!=e.g.currentTime?e.g.currentTime:t))}function mo(e){e.o=!0,e.h.H(e.g,"seeking",function(){return e.m()}),e.s(e.g.currentTime)}function yo(e){var t=this;this.h=e,this.m=10,this.l=this.j=this.i=0,this.g=new _t(function(){0>=t.i||t.h.currentTime!=t.j?t.g.stop():(t.h.currentTime=t.l,t.i--)})}function vo(e,t){e.j=e.h.currentTime,e.l=t,e.i=e.m,e.h.currentTime=t,e.g.Ra(.1)}function bo(e){this.g=e,this.j=!1,this.h=null,this.i=new bi}function Ao(e,t,n,i,r,a){var o=this;this.i=e,this.g=t.presentationTimeline,this.A=t.minBufferTime||0,this.l=n,this.u=r,this.s=null,this.o=function(e,t,n){if(!t.stallEnabled)return null;var i=t.stallSkip;return t=new ro(new ao(e),t.stallThreshold,n),function(e,t){e.i=t}(t,function(){i?e.currentTime+=i:(e.pause(),e.play())}),t}(e,n,a),this.j=new so(e,t.presentationTimeline,n,this.o,a),this.h=new po(e,function(){var e=o.j;e.j=!0,e.o=!1;var t=ho(o.h);return e=xo(o,t),.001<Math.abs(e-t)&&(t=Date.now()/1e3,!o.s||o.s<t-1)?(o.s=t,fo(o.h,e),e=void 0):(o.u(),e=void 0),e},function(e){var t=o.j;t.g.seeking&&!t.j&&(t.j=!0,t.i=e)},function(){var e=i;return null==e?e=1/0>o.g.getDuration()?o.g.Rb():o.g.fb():0>e&&(e=o.g.fb()+e),wo(o,ko(o,e))}),this.m=new _t(function(){if(0!=o.i.readyState&&!o.i.paused){var e=ho(o.h),t=o.g.Rb(),n=o.g.fb();3>n-t&&(t=n-3),e<t&&(e=xo(o,e),o.i.currentTime=e)}})}function wo(e,t){var n=e.g.getDuration();return t>=n?n-e.l.durationBackoff:t}function xo(e,t){var n=Math.max(e.A,e.l.rebufferingGoal),i=e.l.safeSeekOffset,r=e.g.Rb(),a=e.g.fb(),o=e.g.getDuration();3>a-r&&(r=a-3);var s=e.g.xc(n),l=e.g.xc(i);return n=e.g.xc(n+i),t>=o?wo(e,t):t>a?a:t<r?Xr(e.i.buffered,l)?l:n:t>=s||Xr(e.i.buffered,t)?t:n}function ko(e,t){var n=e.g.Rb();return t<n?n:t>(e=e.g.fb())?e:t}function To(e){this.g=e,this.l=null,this.j=0,this.o=!1}function Co(e,t){for(var n=(e=c(e.g)).next();!n.done;n=e.next())t(n.value)}function Eo(e,t,n){return new To([e=new Qr(e,e+t,function(){return n},0,null,null,e,e,e+t)])}function So(e,t,n){this.i=e,this.g=t,this.h=n}function Lo(){To.call(this,[]),this.h=[]}function Mo(e){var t=this;this.g=e,this.h=this.g.md(),this.i=new _t(function(){t.g.Bf(.25*t.h)})}function Io(e){var t=this;this.h=e,this.g=new Set,this.i=new _t(function(){Do(t,!1)}).Ra(.25)}function Do(e,t){for(var n=c(e.g),i=n.next();!i.done;i=n.next())i.value.j(e.h.currentTime,t)}function Ro(e){ri.call(this),this.g=new Map,this.h=e}function No(e){ri.call(this);var t=this;this.g=new Set,this.i=e,this.h=new _t(function(){for(var e=t.i(),n=c(t.g),i=n.next();!i.done;i=n.next())(i=i.value).endTime<e.start&&(t.g.delete(i),i=new ti("regionremove",new Map([["region",i]])),t.dis
1patchEvent(i))}).Ra(2)}function Po(e,t){ri.call(this);var n=this;this.i=e,this.l=t,this.g=new Map,this.m=[{Kb:null,Jb:Ho,Cb:function(e,t){return jo(n,"enter",e,t)}},{Kb:Vo,Jb:Ho,Cb:function(e,t){return jo(n,"enter",e,t)}},{Kb:Bo,Jb:Ho,Cb:function(e,t){return jo(n,"enter",e,t)}},{Kb:Ho,Jb:Vo,Cb:function(e,t){return jo(n,"exit",e,t)}},{Kb:Ho,Jb:Bo,Cb:function(e,t){return jo(n,"exit",e,t)}},{Kb:Vo,Jb:Bo,Cb:function(e,t){return jo(n,"skip",e,t)}},{Kb:Bo,Jb:Vo,Cb:function(e,t){return jo(n,"skip",e,t)}}],this.h=new bi,this.h.H(this.i,"regionremove",function(e){n.g.delete(e.region)})}function jo(e,t,n,i){t=new ti(t,new Map([["region",n],["seeking",i]])),e.dispatchEvent(t)}po.prototype.release=function(){this.h&&(this.h.release(),this.h=null),null!=this.i&&(this.i.release(),this.i=null),this.m=function(){},this.g=null},yo.prototype.release=function(){this.g&&(this.g.stop(),this.g=null),this.h=null},(i=bo.prototype).Md=function(){var e=this;co(this.g,HTMLMediaElement.HAVE_CURRENT_DATA,this.i,function(){null==e.h||0==e.h?e.j=!0:(e.i.ka(e.g,"seeking",function(){e.j=!0}),e.g.currentTime=Math.max(0,e.g.currentTime+e.h))})},i.release=function(){this.i&&(this.i.release(),this.i=null),this.g=null},i.Te=function(e){this.h=this.j?this.h:e},i.Xc=function(){return(this.j?this.g.currentTime:this.h)||0},i.af=function(){return 0},i.$e=function(){return 0},i.Df=function(){},(i=Ao.prototype).Md=function(){this.m.Ra(.25)},i.release=function(){this.h&&(this.h.release(),this.h=null),this.j&&(this.j.release(),this.j=null),this.m&&(this.m.stop(),this.m=null),this.i=this.h=this.g=this.l=null,this.u=function(){}},i.Te=function(e){fo(this.h,e)},i.Xc=function(){var e=ho(this.h);return 0<this.i.readyState&&!this.i.paused?ko(this,e):e},i.af=function(){return this.o?this.o.o:0},i.$e=function(){return this.j.C},i.Df=function(){this.j.Ge()},(i=To.prototype).Bb=function(){return this.g.length},i.release=function(){this.o||(this.g=[],this.l&&this.l.stop(),this.l=null)},i.Wg=function(){this.o=!0},i.find=function(e){for(var t=this.g.length-1,n=t;0<=n;--n){var i=this.g[n],r=n<t?this.g[n+1].startTime:i.endTime;if(e>=i.startTime&&e<r)return n+this.j}return this.g.length&&e<this.g[0].startTime?this.j:null},i.get=function(e){return 0==this.g.length||0>(e-=this.j)||e>=this.g.length?null:this.g[e]},i.offset=function(e){if(!this.o)for(var t=c(this.g),n=t.next();!n.done;n=t.next())n.value.offset(e)},i.ud=function(e){if(!this.o&&e.length){var t=Math.round(1e3*e[0].startTime)/1e3;this.g=this.g.filter(function(e){return Math.round(1e3*e.startTime)/1e3<t}),this.g.push.apply(this.g,u(e))}},i.Ec=function(e,t){var n=this;e=e.filter(function(e){return e.endTime>t&&(0==n.g.length||e.endTime>n.g[0].startTime)}),this.ud(e),this.Sa(t)},i.Sa=function(e){if(!this.o){var t=this.g.length;this.g=this.g.filter(function(t){return t.endTime>e}),this.j+=t-this.g.length}},i.Ob=function(e,t,n){if(n=void 0!==n&&n,!this.o){for(;this.g.length&&this.g[this.g.length-1].startTime>=t;)this.g.pop();for(;this.g.length&&this.g[0].endTime<=e;)this.g.shift(),n||this.j++;0!=this.g.length&&(e=this.g[this.g.length-1],this.g[this.g.length-1]=new Qr(e.startTime,t,e.K,e.Xa,e.za,e.fa,e.o,e.I,e.G,e.g,e.tilesLayout,e.F,e.h,e.status,e.aesKey),this.g[this.g.length-1].j=e.j)}},i.Cd=function(e,t){var n=this;this.o||(this.l&&this.l.stop(),this.l=new _t(function(){var e=t();e?n.g.push.apply(n.g,u(e)):(n.l.stop(),n.l=null)}),this.l.Ra(e))},To.prototype[Symbol.iterator]=function(){return this.Ab(0)},To.prototype.Ab=function(e){var t=this.find(e);if(null==t)return null;t--;var n=this.get(t+1),i=-1;if(n&&0<n.g.length)for(var r=n.g.length-1;0<=r;--r){var a=n.g[r];if(e>=a.startTime&&e<a.endTime){for(;r&&!a.l;)r--,a=n.g[r];if(!a.l)return K("No independent partial segment found!"),null;t++,i=r-1;break}}return new So(this,t,i)},O("shaka.media.SegmentIndex",To),To.forSingleSegment=Eo,To.prototype.getIteratorForTime=To.prototype.Ab,To.prototype.updateEvery=To.prototype.Cd,To.prototype.fit=To.prototype.Ob,To.prototype.evict=To.prototype.Sa,To.prototype.mergeAndEvict=To.prototype.Ec,To.prototype.offset=To.prototype.offset,To.prototype.get=To.prototype.get,To.prototype.find=To.prototype.find,To.prototype.markImmutable=To.prototype.Wg,To.prototype.release=To.prototype.release,So.prototype.hg=function(){return this.g},So.prototype.current=function(){var e=this.i.get(this.g);return e&&0<e.g.length&&e.u&&this.h>=e.g.length&&(this.g++,this.h=0,e=this.i.get(this.g)),e&&0<e.g.length?e.g[this.h]:e},So.prototype.next=function(){var e=this.i.get(this.g);return e&&0<e.g.length?(this.h++,e.u&&this.h==e.g.length&&(this.g++,this.h=0)):(this.g++,this.h=0),{value:e=this.current(),done:!e}},O("shaka.media.SegmentIterator",So),So.prototype.next=So.prototype.next,So.prototype.current=So.prototype.current,So.prototype.currentPosition=So.prototype.hg,m(Lo,To),(i=Lo.prototype).clone=function(){var e=new Lo;return e.h=this.h.slice(),e},i.release=function(){for(var e=c(this.h),t=e.next();!t.done;t=e.next())t.value.release();this.h=[]},i.find=function(e){for(var t=0,n=c(this.h),i=n.next();!i.done;i=n.next()){var r=(i=i.value).find(e);if(null!=r)return r+t;t+=i.j+i.Bb()}return null},i.get=function(e){for(var t=0,n=c(this.h),i=n.next();!i.done;i=n.next()){var r=(i=i.value).get(e-t);if(r)return r;t+=i.j+i.Bb()}return null},i.offset=function(){},i.ud=function(){},i.Sa=function(){},i.Ec=function(){},i.Ob=function(){},i.Cd=function(){},O("shaka.media.MetaSegmentIndex",Lo),Lo.prototype.updateEvery=Lo.prototype.Cd,Lo.prototype.fit=Lo.prototype.Ob,Lo.prototype.mergeAndEvict=Lo.prototype.Ec,Lo.prototype.evict=Lo.prototype.Sa,Lo.prototype.merge=Lo.prototype.ud,Lo.prototype.offset=Lo.prototype.offset,Lo.prototype.get=Lo.prototype.get,Lo.prototype.find=Lo.prototype.find,Lo.prototype.release=Lo.prototype.release,Mo.prototype.release=function(){this.i&&(this.i.stop(),this.i=null),this.g=null},Mo.prototype.set=function(e){if(this.h!=e)e:{if(this.h=e,this.i.stop(),0<=this.h)try{var t=this.h;this.g.md()!=t&&this.g.Se(t);break e}catch(e){}this.i.Ra(.25),0!=this.g.md()&&this.g.Se(0)}}
1,Mo.prototype.vc=function(){return this.g.vc()},Io.prototype.release=function(){this.i.stop();for(var e=c(this.g),t=e.next();!t.done;t=e.next())t.value.release();this.g.clear()},m(Ro,ri),Ro.prototype.release=function(){this.g.clear(),ri.prototype.release.call(this)},Ro.prototype.j=function(e){for(var t=c(this.g.values()),n=t.next();!n.done;n=t.next()){e:{for(var i=(n=n.value).Hc,r=i.length-1;0<=r;r--){var a=i[r];if(a.position<=e){i=a.Be;break e}}i=null}if((r=i)&&(r=!((r=n.gf)===i||r&&i&&r.bandwidth==i.bandwidth&&r.audioSamplingRate==i.audioSamplingRate&&r.codecs==i.codecs&&r.contentType==i.contentType&&r.frameRate==i.frameRate&&r.height==i.height&&r.mimeType==i.mimeType&&r.channelsCount==i.channelsCount&&r.pixelAspectRatio==i.pixelAspectRatio&&r.width==i.width)),r)e:{if(r=e,a=i.contentType,(a=this.h()[a])&&0<a.length){var o=a[a.length-1].end;if(r>=a[0].start&&r<o){r=!0;break e}}r=!1}r&&(n.gf=i,JSON.stringify(i),n=new ti("qualitychange",new Map([["quality",i],["position",e]])),this.dispatchEvent(n))}},m(No,ri),No.prototype.release=function(){this.g.clear(),this.h.stop(),ri.prototype.release.call(this)},m(Po,ri),Po.prototype.release=function(){this.i=null,this.g.clear(),this.h.release(),this.h=null,ri.prototype.release.call(this)},Po.prototype.j=function(e,t){if(!this.l||0!=e){this.l=!1;for(var n=c(this.i.g),i=n.next();!i.done;i=n.next()){i=i.value;var r=this.g.get(i),a=e<i.startTime?Vo:e>i.endTime?Bo:Ho;this.g.set(i,a);for(var o=c(this.m),s=o.next();!s.done;s=o.next())(s=s.value).Kb==r&&s.Jb==a&&s.Cb(i,t)}}};var Vo=1,Ho=2,Bo=3;function Uo(e,t,n){this.i=e,this.h=t,this.j=0,this.l=n,this.g=new Map}function Oo(e,t,n){if(n=void 0!==n&&n,e.h.segmentIndex){var i=e.h.segmentIndex.Ab(Math.max(t.startTime,e.j));if(i){var r=t;for(n&&(r=i.next().value)&&r.startTime==t.startTime&&r.endTime==t.endTime&&(r=null);e.g.size<e.i&&null!=r;)t=!0,r.m&&null!=r.za&&(t=!1),2==r.zc()&&(t=!1),t&&!e.g.has(r)&&(qo(t=new _o(e.l),r,e.h),e.g.set(r,t)),e.j=r.startTime,r=i.next().value}}}function Fo(e){if(0!==e.g.size){for(var t=c(e.g.keys()),n=t.next();!n.done;n=t.next())(n=n.value)&&zo(e,n);e.j=0}}function zo(e,t){var n=e.g.get(t);e.g.delete(t),n&&n.abort()}function _o(e){this.i=e,this.g=this.h=null}function qo(e,t,n){var i=new Uint8Array(0);e.g=e.i(t,n,function(t){return R(function(n){if(1==n.g)return i=0<i.byteLength?Xi(i,t):t,e.h?A(n,e.h(i),3):n.B(0);i=new Uint8Array(0),w(n)})})}function Ko(e,t,n,i,r){return e=ci(e,i,r),0==t&&null==n||(e.headers.Range=n?"bytes="+t+"-"+n:"bytes="+t+"-"),e}function Go(e,t){var n=this;this.g=t,this.m=e,this.h=null,this.u=1,this.o=this.j=null,this.D=0,this.C=!1,this.i=new Map,this.A=!1,this.F=null,this.s=!1,this.l=new yi(function(){return function(e){var t,n,i,r;return R(function(a){if(1==a.g){for(t=[],n=c(e.i.values()),i=n.next();!i.done;i=n.next())ss(r=i.value),t.push(ls(r));return A(a,Promise.all(t),2)}e.i.clear(),e.g=null,e.m=null,e.h=null,w(a)})}(n)}),this.G=0}function Qo(e,t){var n=e.i.get("video");if(n){var i=n.stream;i&&(t?(t=i.trickModeVideo)&&!n.Gb&&(Zo(e,t,!1,0,!1),n.Gb=i):(i=n.Gb)&&(n.Gb=null,Zo(e,i,!0,0,!1)))}}function Wo(e,t,n,i,r,a){n=void 0!==n&&n,i=void 0===i?0:i,r=void 0!==r&&r,a=void 0!==a&&a,e.j=t,e.A&&(t.video&&Zo(e,t.video,n,i,r,a),t.audio&&Zo(e,t.audio,n,i,r,a))}function Yo(e,t){R(function(n){if(1==n.g)return e.o=t,e.A?t.segmentIndex?n.B(2):A(n,t.createSegmentIndex(),2):n.return();Zo(e,t,!0,0,!1),w(n)})}function Zo(e,t,n,i,r,a){var o=e.i.get(t.type);o||t.type!=lt?o&&(o.Gb&&(t.trickModeVideo?(o.Gb=t,t=t.trickModeVideo):o.Gb=null),o.stream!=t||r)&&(o.la&&function(e,t){t&&t!==e.h&&(Fo(e),e.h=t)}(o.la,t),t.type==lt&&(r=pt(t.mimeType,t.codecs),Ba(e.g.P,r,e.m.sequenceMode,t.external)),o.stream.closeSegmentIndex&&o.stream.closeSegmentIndex(),o.stream=t,o.X=null,o.bf=!!a,n&&(o.tc?o.Dd=!0:o.va?(o.jb=!0,o.ad=i,o.Dd=!0):(ss(o),as(e,o,!0,i).catch(function(t){e.g&&e.g.onError(t)}))),function(e,t){var n,i;return R(function(r){if(1==r.g)return t.Ia?(n=t.stream,i=t.Ia,n.segmentIndex?r.B(2):A(r,n.createSegmentIndex(),2)):r.return();if(t.Ia!=i||t.stream!=n)return r.return();var a=e.g.ld(),o=Fa(e.g.P,t.type),s=t.stream.segmentIndex.find(t.ua?t.ua.endTime:a),l=null==s?null:t.stream.segmentIndex.get(s);s=l&&l.za?l.za-l.Xa:null,l&&!s&&(s=(l.endTime-l.getStartTime())*(t.stream.bandwidth||0)/8),s?((l=l.fa)&&(s+=(l.za?l.za-l.Xa:null)||0),a=8*s/(l=e.g.getBandwidthEstimate())<(o||0)-a-Math.max(e.m.minBufferTime||0,e.h.rebufferingGoal)||t.Ia.h.g>s):a=!1,a&&t.Ia.abort(),w(r)})}(e,o).catch(function(t){e.g&&e.g.onError(t)})):function(e,t){var n,i,r,a,o;R(function(s){switch(s.g){case 1:return n=ct,e.D++,i=e.D,x(s,2),A(s,qa(e.g.P,n.ia),4);case 4:T(s,3);break;case 2:r=C(s),e.g&&e.g.onError(r);case 3:a=pt(t.mimeType,t.codecs),Ba(e.g.P,a,e.m.sequenceMode,t.external),(e.g.P.D.isTextVisible()||e.h.alwaysStreamText)&&e.D==i&&(o=Jo(e,t),e.i.set(n.ia,o),os(e,o,0)),w(s)}})}(e,t)}function Xo(e,t){t.tc||t.jb||(t.va?(t.jb=!0,t.ad=0):null==Oa(e.g.P,t.type)?null==t.Ya&&os(e,t,0):(ss(t),as(e,t,!1,0).catch(function(t){e.g&&e.g.onError(t)})))}
1function Jo(e,t){return{stream:t,type:t.type,X:null,la:$o(e,t),ua:null,qb:null,xe:null,ve:null,ue:null,Gb:null,endOfStream:!1,va:!1,Ya:null,jb:!1,ad:0,Dd:!1,tc:!1,Mc:!0,Ce:!1,Le:!1,Bc:!1,Ia:null}}function $o(e,t){return"video"!==t.type&&"audio"!==t.type?null:0<e.h.segmentPrefetchLimit?new Uo(e.h.segmentPrefetchLimit,t,function(t,n,i){return rs(e,t,n,i)}):null}function es(t,n){var i,r,a,o,s;return R(function(l){switch(l.g){case 1:if(vi(t.l),n.va||null==n.Ya||n.tc)return l.return();if(n.Ya=null,!n.jb){l.B(2);break}return A(l,as(t,n,n.Dd,n.ad),3);case 3:return l.return();case 2:if(n.stream.segmentIndex){l.B(4);break}return i=n.stream,A(l,n.stream.createSegmentIndex(),5);case 5:if(i!=n.stream)return i.closeSegmentIndex&&i.closeSegmentIndex(),n.va||n.Ya||os(t,n,0),l.return();case 4:x(l,6),r=function(t,n){if(ns(n))return function(e,t){var n=Fa(e,"video")||0;kt(e.h,t,n)}(t.g.P,n.stream.originalId||""),null;if(n.type==lt&&function(e){e.h&&kt(e.h,"",0)}(t.g.P),!t.g.P.ea&&n.type!=lt)return t.h.updateIntervalSeconds/2;var i=t.g.ld(),r=n.ua?n.ua.endTime:i,a=function(e,t,n){return e.u?0:t==lt?null==(e=e.h).h||e.h<n?0:e.h-Math.max(n,e.g):Jr(e=za(e,t),n)}(t.g.P,n.type,i),o=Math.max(1,Math.max(t.m.minBufferTime||0,t.h.rebufferingGoal,t.h.bufferingGoal)*t.u),s=t.m.presentationTimeline.getDuration()-r,l=Fa(t.g.P,n.type);if(1e-6>s&&l)return n.endOfStream=!0,"video"==n.type&&(t=t.i.get(lt))&&ns(t)&&(t.endOfStream=!0),null;if(n.endOfStream=!1,a>=o)return t.h.updateIntervalSeconds/2;if(a=function(e,t,n,i){if(t.X)return t.X.current();if(t.ua||i)return n=t.ua?t.ua.endTime:i,t.Ce=!0,t.X=t.stream.segmentIndex.Ab(n),t.X&&t.X.next().value;e=e.h.inaccurateManifestTolerance,i=Math.max(n-e,0);var r=null;return e&&(t.X=t.stream.segmentIndex.Ab(i),r=t.X&&t.X.next().value),r||(t.X=t.stream.segmentIndex.Ab(n),r=t.X&&t.X.next().value),r}(t,n,i,l),!a)return t.h.updateIntervalSeconds;for(o=1/0,s=c(s=Array.from(t.i.values())),l=s.next();!l.done;l=s.next())ns(l=l.value)||l.X&&!l.X.current()||(o=Math.min(o,l.ua?l.ua.endTime:i));return r>=o+t.m.presentationTimeline.g?t.h.updateIntervalSeconds:(n.la&&n.X&&(r=a.fa,!r||n.ua&&Gr(r,n.qb)||function(e,t){if(e.h.segmentIndex&&e.g.size<e.i&&!e.g.has(t)){var n=new _o(e.l);qo(n,t,e.h),e.g.set(t,n)}}(n.la,r),Oo(n.la,a)),function(t,n,i,r){var a,o,s,l,c,u,d,p,h,f,g,m,y,v,b;return R(function(k){switch(k.g){case 1:if(a=ct,o=n.stream,s=n.X,n.va=!0,x(k,2),2==r.zc())throw new nt(1,1,1011);return A(k,function(e,t,n){var i,r,a,o,s,l,c,u,d,p,h,f,g;return R(function(m){return 1==m.g?(i=ct,r=[],a=Math.max(0,n.I-.1),o=n.G+.01,s=mt(t.stream.codecs),l=yt(t.stream.mimeType),(c=n.o)==t.xe&&a==t.ve&&o==t.ue&&s==t.we&&l==t.xf?m.B(2):((u=t.we&&t.xf&&function(e,t,n){if(t==lt)var i=!1;else{i=mt(vt(e.F[t]));var r=yt(e.F[t]),a=pt(n.mimeType,n.codecs),o=e.C.forceTransmux;(!X(a)||!e.A&&At.includes(a))&&(o=!0),n=ht(n.mimeType,n.codecs),o&&(o=Ne(n))&&(a=(o=o()).convertCodecs(t,n),o.destroy()),t=mt(vt(a)),a=yt(a),i=i!==t||r!==a}return!!i&&("smooth"!==e.C.codecSwitchingStrategy||!J()||e.o)}(e.g.P,t.type,t.stream))&&(d=null,t.type===i.$?d=e.i.get(i.N):t.type===i.N&&(d=e.i.get(i.$)),d&&(d.qb=null,Xo(e,d),ls(d).catch(function(){}))),p=function(){var r,d,p,h;return R(function(f){if(1==f.g)return r=new Map,e.j.audio&&r.set(i.N,e.j.audio),e.j.video&&r.set(i.$,e.j.video),x(f,2),t.ve=a,t.ue=o,t.we=s,t.xf=l,t.xe=c,d=e.m.sequenceMode||"HLS"==e.m.type,A(f,Ka(e.g.P,t.type,c,a,o,d,n.mimeType||t.stream.mimeType,n.codecs||t.stream.codecs,r),4);if(2!=f.g)return u&&(p=null,t.type===i.$?p=e.i.get(i.N):t.type===i.N&&(p=e.i.get(i.$)),p&&(p.jb=!1,p.va=!1,Xo(e,p))),T(f,0);throw h=C(f),t.ve=null,t.ue=null,t.we=null,t.xe=null,h})},A(m,p(),2))):(Gr(n.fa,t.qb)||(t.qb=n.fa,n.l&&n.fa&&(h=is(e,t,n.fa),f=function(){var r,a,o,s,l;return R(function(c){switch(c.g){case 1:return x(c,2),A(c,h,4);case 4:return r=c.h,vi(e.l),a=null,o=new Map,(new Vi).box("moov",Hi).box("trak",Hi).box("mdia",Hi).aa("mdhd",function(e){a=sa(e.reader,e.version).timescale}).box("hdlr",function(e){(e=e.reader).skip(8),e=e.Eb(4);var t=String.fromCharCode(e[0]);switch(t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])){case"soun":o.set(i.N,a);break;case"vide":o.set(i.$,a)}a=null}).parse(r),o.has(t.type)?n.fa.timescale=o.get(t.type):null!=a&&(n.fa.timescale=a),s=t.stream.closedCaptions&&0<t.stream.closedCaptions.size,A(c,e.g.cf(t.type,r),5);
1case 5:return A(c,_a(e.g.P,t.type,r,null,t.stream,s),6);case 6:T(c,0);break;case 2:throw l=C(c),t.qb=null,l}})},e.g.Yg(n.startTime,n.fa),r.push(f()))),e.m.sequenceMode&&(g=t.ua?t.ua.j:null,n.j!=g||t.Ce)&&(t.Ce=!1,r.push(function(e,t,n){var i;return R(function(r){return 1==r.g?t==(i=ct).ia?r.return():(Za(e,t,function(){return Qa(e,t)}),e.o&&Za(e,i.N,function(){return Qa(e,i.N)}),A(r,Za(e,t,function(){return Wa(e,t,n)}),2)):e.o?A(r,Za(e,i.N,function(){return Wa(e,i.N,n)}),0):r.B(0)})}(e.g.P,t.type,n.startTime))),A(m,Promise.all(r),0))})}(t,n,r),4);case 4:return vi(t.l),t.s?k.return():(l="video/mp4"==o.mimeType||"audio/mp4"==o.mimeType,c=e.ReadableStream,t.h.lowLatencyMode&&c&&l&&("HLS"!=t.m.type||r.s)?(d=new Uint8Array(0),h=p=!1,g=function(e){var a,s,l;return R(function(c){switch(c.g){case 1:if(p)return c.return();if(h=!0,vi(t.l),t.s)return c.return();if(x(c,2),d=function(e,t){var n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(d,e),a=!1,s=0,(new Vi).box("mdat",function(e){s=e.size+e.start,a=!0}).parse(d,!1,!0),!a){c.B(4);break}return l=d.subarray(0,s),d=d.subarray(s),A(c,ts(t,n,i,o,r,l,!0),5);case 5:n.la&&n.X&&Oo(n.la,r,!0);case 4:T(c,0);break;case 2:f=C(c),w(c)}})},A(k,is(t,n,r,g),9)):A(k,is(t,n,r),7));case 7:return u=k.h,vi(t.l),t.s?k.return():(vi(t.l),n.jb?(n.va=!1,os(t,n,0),k.return()):A(k,ts(t,n,i,o,r,u),6));case 9:if(m=k.h,f)throw f;if(h){k.B(10);break}return p=!0,vi(t.l),t.s?k.return():n.jb?(n.va=!1,os(t,n,0),k.return()):A(k,ts(t,n,i,o,r,m),10);case 10:n.la&&n.X&&Oo(n.la,r,!0);case 6:if(vi(t.l),t.s)return k.return();n.ua=r,s.next(),n.va=!1,n.Le=!1,y=t.g.P.eb(),v=y[n.type],JSON.stringify(v),n.jb||t.g.Ge(r.startTime,r.endTime,n.type),os(t,n,0),T(k,0);break;case 2:if(b=C(k),vi(t.l,b),t.s)return k.return();if(n.va=!1,7001==b.code)n.va=!1,ss(n),os(t,n,0),k.B(0);else if(n.type==a.ia&&t.h.ignoreTextStreamFailures)t.i.delete(a.ia),k.B(0);else{if(3017!=b.code)return n.Bc=!0,b.severity=2,A(k,cs(t,n,b),0);(function(e,t,n){if(!Array.from(e.i.values()).some(function(e){return e!=t&&e.Le})){if(0<e.h.maxDisabledTime&&e.g.cd(t.stream,e.h.maxDisabledTime))return;var i=Math.round(100*e.u);if(20<i)e.u-=.2;else{if(!(4<i))return t.Bc=!0,e.s=!0,void e.g.onError(n);e.u-=.04}t.Le=!0}os(e,t,4)})(t,n,b),k.B(0)}}})}(t,n,i,a).catch(function(){}),null)}(t,n),null!=r&&(os(t,n,r),n.Bc=!1),T(l,7);break;case 6:return a=C(l),A(l,cs(t,n,a),8);case 8:return l.return();case 7:if(o=Array.from(t.i.values()),!t.A||!o.every(function(e){return e.endOfStream})){l.B(0);break}return A(l,t.g.P.endOfStream(),10);case 10:vi(t.l),0!=(s=t.g.P.getDuration())&&s<t.m.presentationTimeline.getDuration()&&t.m.presentationTimeline.Qa(s),w(l)}})}function ts(e,t,n,i,r,a,o){var s,l,c,u,d,p;return o=void 0!==o&&o,R(function(h){switch(h.g){case 1:return s=i.closedCaptions&&0<i.closedCaptions.size,c=null!=i.emsgSchemeIdUris&&0<i.emsgSchemeIdUris.length||e.h.dispatchAllEmsgBoxes,u=e.h.parsePrftBox&&!e.C,(c||u)&&(l=new Vi),c&&l.aa("emsg",function(t){var n=i.emsgSchemeIdUris;if(0===t.version)var a=t.reader.Ic(),o=t.reader.Ic(),s=t.reader.T(),l=t.reader.T(),c=t.reader.T(),u=t.reader.T(),d=r.startTime+l/s;else s=t.reader.T(),l=(d=t.reader.Jc()/s+r.o)-r.startTime,c=t.reader.T(),u=t.reader.T(),a=t.reader.Ic(),o=t.reader.Ic();t=t.reader.Eb(t.reader.getLength()-t.reader.J),(n&&n.includes(a)||e.h.dispatchAllEmsgBoxes)&&("urn:mpeg:dash:event:2012"==a?e.g.Zg():((n=new ti("emsg",n=(new Map).set("detail",{startTime:d,endTime:d+c/s,schemeIdUri:a,value:o,timescale:s,presentationTimeDelta:l,eventDuration:c,id:u,messageData:t}))).cancelable=!0,e.g.onEvent(n),n.defaultPrevented||"https://aomedia.org/emsg/ID3"!=a&&"https://developer.apple.com/streaming/emsg-id3"!=a||(a=aa(t)).length&&r&&e.g.$g([{cueTime:r.startTime,data:t,frames:a,dts:r.startTime,pts:r.startTime}],0,r.endTime)))}),u&&l.aa("prft",function(t){if(!e.C&&r.fa.timescale){var n=t.reader,i=t.version;n.T(),t=1e3*(t=n.T())+n.T()/Math.pow(2,32)*1e3,0===i?n=n.T():(i=n.T(),n=n.T(),n=i*Math.pow(2,32)+n),t=new Date(new Date(Date.UTC(1900,0,1,0,0,0)).getTime()+t).getTime(),n=new ti("prft",n=(new Map).set("detail",{wallClockTime:t,programStartDate:new Date(t-n/r.fa.timescale*1e3)})),e.g.onEvent(n),e.C=!0}}),(c||u)&&l.parse(a),A(h,function(e,t,n){var i,r,a;
1return R(function(o){if(1==o.g)return i=Math.max(e.h.bufferBehind,e.m.presentationTimeline.g),null==(r=Oa(e.g.P,t.type))||.01>=(a=n-r-i)?o.return():A(o,e.g.P.remove(t.type,r,r+a),2);vi(e.l),w(o)})}(e,t,n),2);case 2:return vi(e.l),d=t.Mc,t.Mc=!1,p=t.bf,t.bf=!1,A(h,e.g.cf(t.type,a),3);case 3:return A(h,_a(e.g.P,t.type,a,r,i,s,d,p,o),4);case 4:vi(e.l),w(h)}})}function ns(e){return e&&e.type==lt&&("application/cea-608"==e.stream.mimeType||"application/cea-708"==e.stream.mimeType)}function is(t,n,i,r){var a,o,s,l,c;return R(function(u){switch(u.g){case 1:if(i instanceof Kr&&(a=i.g))return u.return(a);if(o=null,n.la){var d=n.la;if(d.g.has(i)){var p=d.g.get(i);r&&(p.h=r),d.g.delete(i),o=p.g}else o=null}return o||(o=rs(t,i,n.stream,r)),s=0,n.X&&(s=n.X.g),n.Ia=o,A(u,o.promise,2);case 2:if(l=u.h,n.Ia=null,c=l.data,!i.aesKey){u.B(3);break}return A(u,function(t,n,i){var r,a,o,s,l;return R(function(c){if(1==c.g)return(r=n).cryptoKey?c.B(2):A(c,r.fetchKey(),3);if(!(a=r.iv))for(a=oe(new ArrayBuffer(16)),o=r.firstMediaSequenceNumber+i,s=a.byteLength-1;0<=s;s--)a[s]=255&o,o>>=8;return l="CBC"==n.blockCipherMode?{name:"AES-CBC",iv:a}:{name:"AES-CTR",counter:a,length:n.bitsKey},c.return(e.crypto.subtle.decrypt(l,r.cryptoKey,t))})}(c,i.aesKey,s),4);case 4:c=u.h;case 3:return u.return(c)}})}function rs(e,t,n,i){var r=t instanceof Qr?t:void 0,a=r?1:0;return t=Ko(t.ba(),t.Xa,t.za,e.h.retryParameters,i),e.g.Fc.request(fi,t,{type:a,stream:n,segment:r})}function as(e,t,n,i){var r,a;return R(function(o){return 1==o.g?(t.jb=!1,t.Dd=!1,t.ad=0,t.tc=!0,t.ua=null,t.qb=null,t.X=null,t.la&&Fo(t.la),i?(r=e.g.ld(),a=e.g.P.getDuration(),A(o,e.g.P.remove(t.type,r+i,a),3)):A(o,qa(e.g.P,t.type),4)):3!=o.g?(vi(e.l),n?A(o,e.g.P.flush(t.type),3):o.B(3)):(vi(e.l),t.tc=!1,t.endOfStream=!1,t.va||t.Ya||os(e,t,0),void w(o))})}function os(e,t,n){var i=t.type;(i!=lt||e.i.has(i))&&(t.Ya=new zt(function(){var n;return R(function(i){return 1==i.g?(x(i,2),A(i,es(e,t),4)):2!=i.g?T(i,0):(n=C(i),e.g&&e.g.onError(n),void w(i))})}).U(n))}function ss(e){null!=e.Ya&&(e.Ya.stop(),e.Ya=null)}function ls(e){return R(function(t){return e.Ia?A(t,e.Ia.abort(),0):t.B(0)})}function cs(e,t,n){var i;return R(function(r){if(1==r.g)return A(r,Qn(e.F),2);vi(e.l),i=0===e.h.maxDisabledTime&&1011==n.code?1:e.h.maxDisabledTime,1===n.category&&0<i&&(n.handled=e.g.cd(t.stream,i),n.handled&&(n.severity=1)),e.g.onError(n),n.handled||e.h.failureCallback(n),w(r)})}function us(e,t,n){var i,r,a,o,s,l,c;return R(function(u){switch(u.g){case 1:var d=new Oe(e).Aa.split("/").pop().split(".");return i=1==d.length?"":d.pop().toLowerCase(),(r=ds[i])?u.return(r):(a=0,o=ci([e],n),x(u,2),o.method="HEAD",A(u,t.request(a,o).promise,4));case 4:s=u.h,r=s.headers["content-type"],T(u,3);break;case 2:if(!(l=C(u))||1002!=l.code){u.B(3);break}return o.method="GET",A(u,t.request(a,o).promise,6);case 6:c=u.h,r=c.headers["content-type"];case 3:return u.return(r?r.toLowerCase().split(";").shift():"")}})}_o.prototype.abort=function(){this.g&&this.g.abort()},(i=Go.prototype).destroy=function(){return this.l.destroy()},i.configure=function(e){this.h=e,this.F=new Gn({maxAttempts:Math.max(e.retryParameters.maxAttempts,2),baseDelay:e.retryParameters.baseDelay,backoffFactor:e.retryParameters.backoffFactor,fuzzFactor:e.retryParameters.fuzzFactor,timeout:0,stallTimeout:0,connectionTimeout:0},!0);for(var t=c(this.i.keys()),n=t.next();!n.done;n=t.next())if((n=this.i.get(n.value)).la){var i=n.la,r=e.segmentPrefetchLimit;i.i=r;for(var a=Array.from(i.g.keys());a.length>r;){var o=a.pop();o&&zo(i,o)}0<e.segmentPrefetchLimit||(n.la=null)}else 0<e.segmentPrefetchLimit&&(n.la=$o(this,n.stream))},i.start=function(){var e=this;return R(function(t){if(1==t.g)return A(t,function(e){var t,n,i,r,a,o,s,l;return R(function(u){if(1==u.g){if(t=ct,!e.j)throw new nt(2,5,5006);return n=new Map,i=new Set,e.j.audio&&(n.set(t.N,e.j.audio),i.add(e.j.audio)),e.j.video&&(n.set(t.$,e.j.video),i.add(e.j.video)),e.o&&(n.set(t.ia,e.o),i.add(e.o)),A(u,e.g.P.init(n,e.m.sequenceMode,e.m.type,e.m.ignoreManifestTimestampsInSegmentsMode),2)}for(vi(e.l),e.updateDuration(),r=c(n.keys()),a=r.next();!a.done;
1a=r.next())o=a.value,s=n.get(o),e.i.has(o)||(l=Jo(e,s),e.i.set(o,l),os(e,l,0));w(u)})}(e),2);vi(e.l),e.A=!0,w(t)})},i.Mc=function(){if(this.g)for(var e=this.g.ld(),t=c(this.i.keys()),n=t.next();!n.done;n=t.next()){var i=n.value,r=null;(n=this.i.get(i)).X&&(r=n.X.current()),(!r||r.startTime>e||r.endTime<e)&&(n.X=null),(r=this.g.P).u?r=!1:i==lt?r=null!=(r=r.h).g&&null!=r.h&&(e>=r.g&&e<r.h):r=Xr(r=za(r,i),e),r||((null!=Fa(this.g.P,i)||n.va)&&Xo(this,n),n.Ia&&(n.Ia.abort(),n.Ia=null),i===lt&&((i=this.g.P).G&&i.G.h()),n.Mc=!0)}},i.updateDuration=function(){var e=this.m.presentationTimeline.getDuration();1/0>e?this.g.P.Qa(e):this.g.P.Qa(Math.pow(2,32))};var ds={mp4:"video/mp4",m4v:"video/mp4",m4a:"audio/mp4",webm:"video/webm",weba:"audio/webm",mkv:"video/webm",ts:"video/mp2t",ogv:"video/ogg",ogg:"audio/ogg",mpg:"video/mpeg",mpeg:"video/mpeg",m3u8:"application/x-mpegurl",mpd:"application/dash+xml",ism:"application/vnd.ms-sstr+xml",mp3:"audio/mpeg",aac:"audio/aac",flac:"audio/flac",wav:"audio/wav",sbv:"text/x-subviewer",srt:"text/srt",vtt:"text/vtt",webvtt:"text/vtt",ttml:"application/ttml+xml",lrc:"application/x-subtitle-lrc",ssa:"text/x-ssa",ass:"text/x-ssa"};function ps(e,t){if(e.lineBreak)return"\n";if(e.nestedCues.length)return e.nestedCues.map(function(t){return ps(t,e)}).join("");var n=[],i=700<=e.fontWeight,r="italic"==e.fontStyle,a=e.textDecoration.includes("underline");return i&&n.push(["b"]),r&&n.push(["i"]),a&&n.push(["u"]),""==(r=e.color)&&t&&(r=t.color),i="",(r=hs(r))&&(i+="."+r),""==(r=e.backgroundColor)&&t&&(r=t.backgroundColor),(t=hs(r))&&(i+=".bg_"+t),i&&n.push(["c",i]),n.reduceRight(function(e,t){var n=c(t);return"<"+(t=n.next().value)+(void 0===(n=n.next().value)?"":n)+">"+e+"</"+t+">"},e.payload)}function hs(e){var t=(e=e.toLowerCase()).replace(/\s/g,"").match(/^rgba?\((\d+),(\d+),(\d+),?([^,\s)]+)?/i);switch(t?e="#"+(256|parseInt(t[1],10)).toString(16).slice(1)+(256|parseInt(t[2],10)).toString(16).slice(1)+(256|parseInt(t[3],10)).toString(16).slice(1):e.startsWith("#")&&7<e.length&&(e=e.slice(0,7)),e){case"white":case"#fff":case"#ffffff":return"white";case"lime":case"#0f0":case"#00ff00":return"lime";case"cyan":case"#0ff":case"#00ffff":return"cyan";case"red":case"#f00":case"#ff0000":return"red";case"yellow":case"#ff0":case"#ffff00":return"yellow";case"magenta":case"#f0f":case"#ff00ff":return"magenta";case"blue":case"#00f":case"#0000ff":return"blue";case"black":case"#000":case"#000000":return"black"}return null}function fs(e,t){for(var n=[],i=(e=c(e)).next();!i.done;i=e.next())if((i=i.value).isContainer)n.push.apply(n,u(fs(i.nestedCues,i)));else{var r=i.clone();r.nestedCues=[],r.payload=ps(i,t),n.push(r)}return n}function gs(e,t){this.g=null;for(var n=c(Array.from(e.textTracks)),i=n.next();!i.done;i=n.next())(i=i.value).mode="disabled",i.label==t&&(this.g=i);this.g||(this.g=e.addTextTrack("subtitles",t)),this.g.mode="hidden"}function ms(e){if(e.startTime>=e.endTime)return null;var t=new VTTCue(e.startTime,e.endTime,e.payload);t.lineAlign=e.lineAlign,t.positionAlign=e.positionAlign,e.size&&(t.size=e.size);try{t.align=e.textAlign}catch(e){}return"center"==e.textAlign&&"center"!=t.align&&(t.align="middle"),"vertical-lr"==e.writingMode?t.vertical="lr":"vertical-rl"==e.writingMode&&(t.vertical="rl"),1==e.lineInterpretation&&(t.snapToLines=!1),null!=e.line&&(t.line=e.line),null!=e.position&&(t.position=e.position),t}function ys(e,t){var n=e.mode;e.mode="showing"==n?"showing":"hidden";for(var i=c(Array.from(e.cues)),r=i.next();!r.done;r=i.next())(r=r.value)&&t(r)&&e.removeCue(r);e.mode=n}function vs(){}function bs(){}function As(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function ws(t,n){var i=this;this.m=!1,this.i=[],this.A=t,this.s=n,this.j=null,this.g=document.createElement("div"),this.g.classList.add("shaka-text-container"),this.g.style.textAlign="center",this.g.style.display="flex",this.g.style.flexDirection="column",this.g.style.alignItems="center",this.g.style.justifyContent="flex-end",this.s.appendChild(this.g),this.C=new _t(function(){Ts(i)}).Ra(.25),this.h=new Map,this.l=new bi,this.l.H(document,"fullscreenchange",function(){Ts(i,!0)}),this.l.H(this.A,"resize",function(){var e=i.A,t=e.videoWidth;e=e.videoHeight,i.j=t&&e?t/e:null}),this.o=null,"ResizeObserver"in e&&(this.o=new ResizeObserver(function(){Ts(i,!0)}),this.o.observe(this.g)),this.u=new Map}function xs(e,t){for(;null!=t;){if(t==e.g)return!0;t=t.parentElement}return!1}function ks(e,t,n,i,r){for(var a=!1,o=[],s=[],l=(t=c(t)).next();!l.done;
1l=t.next()){l=l.value,r.push(l);var u=e.h.get(l),d=l.startTime<=i&&l.endTime>i,p=u?u.Uf:null;u&&(o.push(u.Sd),u.Kc&&o.push(u.Kc),d||(a=!0,e.h.delete(l),u=null)),d&&(s.push(l),u?xs(e,p)||(a=!0):(Cs(e,l,r),p=(u=e.h.get(l)).Uf,a=!0)),0<l.nestedCues.length&&p&&ks(e,l.nestedCues,p,i,r),r.pop()}if(a){for(r=(i=c(o)).next();!r.done;r=i.next())(r=r.value).parentElement&&r.parentElement.removeChild(r);for(s.sort(function(e,t){return e.startTime!=t.startTime?e.startTime-t.startTime:e.endTime-t.endTime}),l=(s=c(s)).next();!l.done;l=s.next())(i=e.h.get(l.value)).Kc?(n.appendChild(i.Kc),i.Kc.appendChild(i.Sd)):n.appendChild(i.Sd)}}function Ts(e,t){if(e.g){var n=e.A.currentTime;if(!e.m||void 0!==t&&t){for(var i=(t=c(e.u.values())).next();!i.done;i=t.next())As(i.value);As(e.g),e.h.clear(),e.u.clear()}if(e.m){t=new Map;for(var r=(i=c(e.h.keys())).next();!r.done;r=i.next())r=r.value,t.set(r,e.h.get(r));ks(e,e.i,e.g,n,[])}}}function Cs(e,t,n){var i=1<n.length,r=i?"span":"div";t.lineBreak&&(r="br"),t.rubyTag&&(r=t.rubyTag),i=!i&&0<t.nestedCues.length;var a=document.createElement(r);if("br"!=r&&function(e,t,n,i,r){var a=t.style,o=0==n.nestedCues.length,s=1<i.length;a.whiteSpace="pre-wrap";var l=n.payload.replace(/\s+$/g,function(e){return"Â ".repeat(e.length)});if(a.webkitTextStrokeColor=n.textStrokeColor,a.webkitTextStrokeWidth=n.textStrokeWidth,a.color=n.color,a.direction=n.direction,a.opacity=n.opacity,a.paddingLeft=Es(n.linePadding,n,e.s),a.paddingRight=Es(n.linePadding,n,e.s),a.textCombineUpright=n.textCombineUpright,a.textShadow=n.textShadow,n.backgroundImage)a.backgroundImage="url('"+n.backgroundImage+"')",a.backgroundRepeat="no-repeat",a.backgroundSize="contain",a.backgroundPosition="center",a.width="100%",a.height="100%";else{if(n.nestedCues.length)var c=t;else c=document.createElement("span"),t.appendChild(c);n.border&&(c.style.border=n.border),!r&&((t=Ss(i,function(e){return e.backgroundColor}))?c.style.backgroundColor=t:l&&(c.style.backgroundColor="rgba(0, 0, 0, 0.8)"),t=Ss(i,function(e){return e.fontFamily}))&&(c.style.fontFamily=t),l&&(c.textContent=l)}s&&!i[i.length-1].isContainer?a.display="inline":(a.display="flex",a.flexDirection="column",a.alignItems="center",a.justifyContent="before"==n.displayAlign?"flex-start":"center"==n.displayAlign?"center":"flex-end"),o||(a.margin="0"),a.fontFamily=n.fontFamily,a.fontWeight=n.fontWeight.toString(),a.fontStyle=n.fontStyle,a.letterSpacing=n.letterSpacing,a.fontSize=Es(n.fontSize,n,e.s),i=n.line,null!=i&&(o=n.lineInterpretation,o==Te&&(o=1,s=16,e.j&&1>e.j&&(s=32),i=0>i?100+i/s*100:i/s*100),1==o&&(a.position="absolute",n.writingMode==ke?(a.width="100%",n.lineAlign==Ce?a.top=i+"%":"end"==n.lineAlign&&(a.bottom=100-i+"%")):"vertical-lr"==n.writingMode?(a.height="100%",n.lineAlign==Ce?a.left=i+"%":"end"==n.lineAlign&&(a.right=100-i+"%")):(a.height="100%",n.lineAlign==Ce?a.right=i+"%":"end"==n.lineAlign&&(a.left=100-i+"%")))),a.lineHeight=n.lineHeight,null!=n.position&&(n.writingMode==ke?a.paddingLeft=n.position:a.paddingTop=n.position),e=function(e){var t=e.direction,n=e.positionAlign;return e=e.textAlign,n!==be?n:"left"===e||"start"===e&&t===xe||"end"===e&&"rtl"===t?"line-left":"right"===e||"start"===e&&"rtl"===t||"end"===e&&t===xe?"line-right":"center"}(n),"line-left"==e?a.cssFloat="left":"line-right"==e&&(a.cssFloat="right"),a.textAlign=n.textAlign,a.textDecoration=n.textDecoration.join(" "),a.writingMode=n.writingMode,"writingMode"in document.documentElement.style&&a.writingMode==n.writingMode||(a.webkitWritingMode=n.writingMode),n.size&&(n.writingMode==ke?a.width=n.size+"%":a.height=n.size+"%")}(e,a,t,n,i),n=null,t.region&&t.region.id){n=t.region,r=e.j===4/3?2.5:1.9;var o=n.id+"_"+n.width+"x"+n.height+(n.heightUnits==Me?"%":"px")+"-"+n.viewportAnchorX+"x"+n.viewportAnchorY+(n.viewportAnchorUnits==Me?"%":"px");if(e.u.has(o))n=e.u.get(o);else{var s=document.createElement("span"),l=n.heightUnits==Me?"%":"px",c=n.widthUnits==Me?"%":"px",u=n.viewportAnchorUnits==Me?"%":"px";s.id="shaka-text-region---"+o,s.classList.add("shaka-text-region"),s.style.position="absolute",2===n.heightUnits&&2===n.widthUnits?(s.style.height=5.33*n.height+"%",s.style.width=n.width*r+"%"):(s.style.height=n.height+l,s.style.width=n.width+c),2===n.viewportAnchorUnits?(l=n.viewportAnchorY/75*100,c=n.viewportAnchorX/(e.j===4/3?160:210)*100,l-=n.regionAnchorY*n.height*5.33/100,c-=n.regionAnchorX*n.width*r/100,s.style.top=l+"%",s.style.left=c+"%"):(s.style.top=n.viewportAnchorY-n.regionAnchorY*n.height/100+u,s.style.left=n.viewportAnchorX-n.regionAnchorX*n.width/100+u),s.style.display="flex",s.style.flexDirection="column",s.style.alignItems="center",s.style.justifyContent="before"==t.displayAlign?"flex-start":"center"==t.displayAlign?"center":"flex-end",e.u.set(o,s),n=s}}r=a,i&&((r=document.createElement("span")).classList.add("shaka-text-wrapper"),r.style.backgroundColor=t.backgroundColor,r.style.lineHeight="normal",a.appendChild(r)),e.h.set(t,{Sd:a,Uf:r,Kc:n})}function Es(e,t,n){var i=(i=new RegExp(/(\d*\.?\d+)([a-z]+|%+)/).exec(e))?{value:Number(i[1]),unit:i[2]}:null;if(!i)return e;var r=i.value;switch(i.unit){case"%":return r/100*n.clientHeight/t.cellResolution.rows+"px";case"c":return n.clientHeight*r/t.cellResolution.rows+"px";default:return e}}function Ss(e,t){for(var n=e.length-1;0<=n;n--){var i=t(e[n]);if(i||0===i)return i}return null}function Ls(e,t){this.h=e,this.g=t,this.j="",this.o=void 0,this.i=!1,this.m=!0,this.l=!1}function Ms(t){return t.j||(t.j=t.g.sessionId||e.crypto.randomUUID()),{v:1,sf:t.o,sid:t.j,cid:t.g.contentId,mtp:t.h.getBandwidthEstimate()/1e3}}function Is(e,t,n){n=void 0===n?{}:n;var i=void 0===i?e.g.useHeaders:i;
1if(e.g.enabled){Object.assign(n,Ms(e)),n.pr=e.h.kd();var r=n.ot===js||n.ot===Vs;if(e.l&&r&&(n.bs=!0,n.su=!0,e.l=!1),null==n.su&&(n.su=e.m),i)e=function(e){for(var t=Object.keys(e),n={},i=["Object","Request","Session","Status"],r=[{},{},{},{}],a={br:0,d:0,ot:0,tb:0,bl:1,dl:1,mtp:1,nor:1,nrr:1,su:1,cid:2,pr:2,sf:2,sid:2,st:2,v:2,bs:3,rtp:3},o=(t=c(t)).next();!o.done;o=t.next())o=o.value,r[null!=a[o]?a[o]:1][o]=e[o];for(e=0;e<r.length;e++)(a=Ds(r[e]))&&(n["CMCD-"+i[e]]=a);return n}(n),Object.keys(e).length&&Object.assign(t.headers,e);else{var a=Ds(n);a&&(t.uris=t.uris.map(function(e){return Rs(e,a)}))}}}function Ds(e){function t(e){return 100*n(e/100)}function n(e){return Math.round(e)}function i(e){return!Number.isNaN(e)&&null!=e&&""!==e&&!1!==e}for(var r=[],a={br:n,d:n,bl:t,dl:t,mtp:t,nor:function(e){return encodeURIComponent(e)},rtp:t,tb:n},o=Object.keys(e||{}).sort(),s=(o=c(o)).next();!s.done;s=o.next()){var l=e[s=s.value];if(i(l)&&("v"!==s||1!==l)&&("pr"!=s||1!==l)){var u=a[s];u&&(l=u(l));var d;d="string"===(u=typeof l)&&"ot"!==s&&"sf"!==s&&"st"!==s?s+"="+JSON.stringify(l):"boolean"===u?s:"symbol"===u?s+"="+l.description:s+"="+l,r.push(d)}}return r.join(",")}function Rs(e,t){return!t||e.includes("offline:")?e:((e=new Oe(e)).g.set("CMCD",t),e.toString())}(i=gs.prototype).remove=function(e,t){return!!this.g&&(ys(this.g,function(n){return n.startTime<t&&n.endTime>e}),!0)},i.append=function(e){var t=fs(e),n=[];e=this.g.cues?Array.from(this.g.cues):[];for(var i={},r=(t=c(t)).next();!r.done;i={Lb:i.Lb},r=t.next())i.Lb=r.value,e.some(function(e){return function(t){return t.startTime==e.Lb.startTime&&t.endTime==e.Lb.endTime&&t.text==e.Lb.payload}}(i))||(r=ms(i.Lb))&&n.push(r);for(i=(e=c(e=n.slice().sort(function(e,t){return e.startTime!=t.startTime?e.startTime-t.startTime:e.endTime!=t.endTime?e.endTime-t.startTime:"line"in VTTCue.prototype?n.indexOf(t)-n.indexOf(e):n.indexOf(e)-n.indexOf(t)}))).next();!i.done;i=e.next())this.g.addCue(i.value)},i.destroy=function(){return this.g&&(ys(this.g,function(){return!0}),this.g.mode="disabled"),this.g=null,Promise.resolve()},i.isTextVisible=function(){return"showing"==this.g.mode},i.setTextVisibility=function(e){this.g.mode=e?"showing":"hidden"},O("shaka.text.SimpleTextDisplayer",gs),gs.prototype.setTextVisibility=gs.prototype.setTextVisibility,gs.prototype.isTextVisible=gs.prototype.isTextVisible,gs.prototype.destroy=gs.prototype.destroy,gs.prototype.append=gs.prototype.append,gs.prototype.remove=gs.prototype.remove,(i=vs.prototype).remove=function(){},i.append=function(){},i.destroy=function(){},i.isTextVisible=function(){return!1},i.setTextVisibility=function(){},O("shaka.text.StubTextDisplayer",vs),vs.prototype.setTextVisibility=vs.prototype.setTextVisibility,vs.prototype.isTextVisible=vs.prototype.isTextVisible,vs.prototype.destroy=vs.prototype.destroy,vs.prototype.append=vs.prototype.append,vs.prototype.remove=vs.prototype.remove,O("shaka.util.Dom",bs),bs.removeAllChildren=As,(i=ws.prototype).append=function(e){for(var t=[].concat(u(this.i)),n={},i=(e=c(e)).next();!i.done;n={Sc:n.Sc},i=e.next())n.Sc=i.value,t.some(function(e){return function(t){return ve(t,e.Sc)}}(n))||this.i.push(n.Sc);Ts(this)},i.destroy=function(){this.s.removeChild(this.g),this.g=null,this.m=!1,this.i=[],this.C&&this.C.stop(),this.h.clear(),this.l&&(this.l.release(),this.l=null),this.o&&(this.o.disconnect(),this.o=null)},i.remove=function(e,t){if(!this.g)return!1;var n=this.i.length;return this.i=this.i.filter(function(n){return n.startTime<e||n.endTime>=t}),Ts(this,n>this.i.length),!0},i.isTextVisible=function(){return this.m},i.setTextVisibility=function(e){this.m=e},O("shaka.text.UITextDisplayer",ws),ws.prototype.setTextVisibility=ws.prototype.setTextVisibility,ws.prototype.isTextVisible=ws.prototype.isTextVisible,ws.prototype.remove=ws.prototype.remove,ws.prototype.destroy=ws.prototype.destroy,ws.prototype.append=ws.prototype.append,O("shaka.text.WebVttGenerator",function(){}),Ls.prototype.configure=function(e){this.g=e};var Ns="m",Ps="a",js="v",Vs="av",Hs="i",Bs="c",Us="tt";function Os(e){this.h=e,this.g=null}
1function Fs(e){return!e||"false"!==e.toLowerCase()&&(/^[-0-9]/.test(e)?parseInt(e,10):e.replace(/["]+/g,""))}O("shaka.util.CmcdManager.StreamingFormat",{DASH:"d",HLS:"h",Wf:"s",OTHER:"o"}),(i=Os.prototype).configure=function(e){this.h=e},i.qf=function(){return this.h.enabled&&this.h.applyMaximumSuggestedBitrate&&this.g&&this.g.has(_s)?1e3*this.g.get(_s):null},i.pf=function(){return this.h.enabled&&this.g&&this.g.has(zs)?1e3*this.g.get(zs):null},i.Bg=function(){return this.h.enabled&&this.g&&this.g.has(qs)?this.g.get(qs):null},i.Cg=function(){return this.h.enabled&&this.g&&this.g.has(Ks)?this.g.get(Ks):null},i.getBandwidthEstimate=function(e){var t=this.pf();if(!t)return e;var n=this.h.estimatedThroughputWeightRatio;return 0<n&&1>=n?e*(1-n)+t*n:e},O("shaka.util.CmsdManager",Os),Os.prototype.getBandwidthEstimate=Os.prototype.getBandwidthEstimate,Os.prototype.getRoundTripTime=Os.prototype.Cg,Os.prototype.getResponseDelay=Os.prototype.Bg,Os.prototype.getEstimatedThroughput=Os.prototype.pf,Os.prototype.getMaxBitrate=Os.prototype.qf;var zs="etp",_s="mb",qs="rd",Ks="rtt";function Gs(){}function Qs(e,t,n,i,r){var a,o=r in i,s=!0;for(a in t){var l=r+"."+a,c=o?i[r]:n[a];o||a in n?void 0===t[a]?void 0===c||o?delete e[a]:e[a]=Ot(c):c.constructor==Object&&t[a]&&t[a].constructor==Object?(e[a]||(e[a]=Ot(c)),l=Qs(e[a],t[a],c,i,l),s=s&&l):typeof t[a]!=typeof c||null==t[a]||"function"!=typeof t[a]&&t[a].constructor!=c.constructor?(K("Invalid config, wrong type for "+l),s=!1):("function"==typeof n[a]&&n[a].length!=t[a].length&&G("Unexpected number of arguments for "+l),e[a]=t[a]):(K("Invalid config, unrecognized key "+l),s=!1)}return s}function Ws(e,t){for(var n={},i=n,r=0,a=0;!(0>(r=e.indexOf(".",r)));)0!=r&&"\\"==e[r-1]||(i[a=e.substring(a,r).replace(/\\\./g,".")]={},i=i[a],a=r+1),r+=1;return i[e.substring(a).replace(/\\\./g,".")]=t,n}function Ys(e,t){return e&&t}function Zs(){this.g=null,this.h=[]}function Xs(e,t){return R(function(n){if(1==n.g)return e.g?A(n,new Promise(function(t){return e.h.push(t)}),2):n.B(2);e.g=t,w(n)})}function Js(){}function $s(e){return new Oe(e=Mi(e)).cb}function el(e,t,n){function i(e){le(a).setUint32(o,e.byteLength,!0),o+=4,a.set(oe(e),o),o+=e.byteLength}if(!n||!n.byteLength)throw new nt(2,6,6015);var r;r="string"==typeof t?Di(t,!0):t,e=Di(e=Mi(e),!0);var a=new Uint8Array(12+e.byteLength+r.byteLength+n.byteLength),o=0;return i(e),i(r),i(n),a}function tl(e,t,n){return"skd"!==t?e:(t=n.serverCertificate,el(e,n=Mi(e).split("skd://").pop(),t))}function nl(e,t){2===e&&(t.headers["Content-Type"]="application/octet-stream")}function il(){}function rl(){var t=1/0;navigator.connection&&navigator.connection.saveData&&(t=360);var n={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4},servers:{},clearKeys:{},advanced:{},delayLicenseRequestUntilPlayed:!1,persistentSessionOnlinePlayback:!1,persistentSessionsMetadata:[],initDataTransform:function(t,n,i){return e.shakaMediaKeysPolyfill&&"skd"==n&&(n=i.serverCertificate,t=el(t,i=$s(t),n)),t},logLicenseExchange:!1,updateExpirationTime:1,preferredKeySystems:[],keySystemsMapping:{},parseInbandPsshEnabled:Kt(),minHdcpVersion:"",ignoreDuplicateInitData:!Xt("Tizen 2")},i="reload",r=!1;Xt("Tizen 2")||Xt("Tizen 3")||Xt("Tizen 4")||Qt()||navigator.userAgent.match(/webOS\/4/i)||navigator.userAgent.match(/webOS\/5/i)||(i="smooth",r=!0),r={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4},availabilityWindowOverride:NaN,disableAudio:!1,disableVideo:!1,disableText:!1,disableThumbnails:!1,defaultPresentationDelay:0,segmentRelativeVttTiming:!1,raiseFatalErrorOnManifestUpdateRequestFailure:!1,dash:{clockSyncUri:"",ignoreDrmInfo:!1,disableXlinkProcessing:!1,xlinkFailGracefully:!1,ignoreMinBufferTime:!1,autoCorrectDrift:!0,initialSegmentLimit:1e3,ignoreSuggestedPresentationDelay:!1,ignoreEmptyAdaptationSet:!1,ignoreMaxSegmentDuration:!1,keySystemsByURI:{"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:79f0049a-4098-8642-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},manifestPreprocessor:function(e){return Ys([e],e)},sequenceMode:!1,enableAudioGroups:!1,multiTypeVariantsAllowed:r},hls:{ignoreTextStreamFailures:!1,ignoreImageStreamFailures:!1,defaultAudioCodec:"mp4a.40.2",defaultVideoCodec:"avc1.42E01E",ignoreManifestProgramDateTime:!1,mediaPlaylistFullMimeType:'video/mp2t; codecs="avc1.42E01E, mp4a.40.2"',useSafariBehaviorForLive:!0,liveSegmentsDelay:3,sequenceMode:!(Xt("Tizen 3")||Xt("Tizen 2")||Qt()||Yt()),ignoreManifestTimestampsInSegmentsMode:!1,disableCodecGuessing:!1,allowLowLatencyByteRangeOptimization:!0},mss:{manifestPreprocessor:function(e){return Ys([e],e)},sequenceMode:!1,keySystemsBySystemId:{"9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","79f0049a-4098-8642-ab92-e65be0885f95":"com.microsoft.playready"}}};var a={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:3e4,stallTimeout:5e3,connectionTimeout:1e4},failureCallback:function(e){return Ys([e])},rebufferingGoal:2,bufferingGoal:10,bufferBehind:30,ignoreTextStreamFailures:!1,alwaysStreamText:!1,startAtSegmentBoundary:!1,gapDetectionThreshold:.5,gapJumpTimerTime:.25,durationBackoff:1,safeSeekOffset:5,stallEnabled:!0,stallThreshold:1,stallSkip:.1,useNativeHlsOnSafari:!0,inaccurateManifestTolerance:2,lowLatencyMode:!1,autoLowLatencyMode:!1,forceHTTPS:!1,preferNativeHls:!1,updateIntervalSeconds:1,dispatchAllEmsgBoxes:!1,observeQualityChanges:!1,maxDisabledTime:30,parsePrftBox:!1,segmentPrefetchLimit:0,liveSync:!1,liveSyncMaxLatency:1,liveSyncPlaybackRate:1.1,liveSyncMinLatency:0,liveSyncMinPlaybackRate:1,allowMediaSourceRecoveries:!0,minTimeBetweenRecoveries:5};
1(Xt("Web0S")||Gt()||Xt("CrKey")||Xt("Hisense")||Xt("VIDAA"))&&(a.stallSkip=0);var o={trackSelectionCallback:function(e){return R(function(t){return t.return(e)})},downloadSizeCallback:function(e){var t;return R(function(n){return 1==n.g?navigator.storage&&navigator.storage.estimate?A(n,navigator.storage.estimate(),3):n.return(!0):(t=n.h,n.return(t.usage+e<.95*t.quota))})},progressCallback:function(e,t){return Ys([e,t])},usePersistentLicense:!0,numberOfParallelDownloads:5},s={drm:n,manifest:r,streaming:a,mediaSource:{codecSwitchingStrategy:i,sourceBufferExtraFeatures:"",forceTransmux:!1,insertFakeEncryptionInInit:!0},offline:o,abrFactory:function(){return new Ln},abr:{enabled:!0,useNetworkInformation:!0,defaultBandwidthEstimate:1e6,switchInterval:8,bandwidthUpgradeTarget:.85,bandwidthDowngradeTarget:.95,restrictions:{minWidth:0,maxWidth:1/0,minHeight:0,maxHeight:t,minPixels:0,maxPixels:1/0,minFrameRate:0,maxFrameRate:1/0,minBandwidth:0,maxBandwidth:1/0},advanced:{minTotalBytes:128e3,minBytes:16e3,fastHalfLife:2,slowHalfLife:5},restrictToElementSize:!1,restrictToScreenSize:!1,ignoreDevicePixelRatio:!1,clearBufferSwitch:!1,safeMarginSwitch:0},autoShowText:3,preferredAudioLanguage:"",preferredAudioLabel:"",preferredTextLanguage:"",preferredVariantRole:"",preferredTextRole:"",preferredAudioChannelCount:2,preferredVideoHdrLevel:"AUTO",preferredVideoLayout:"",preferredVideoLabel:"",preferredVideoCodecs:[],preferredAudioCodecs:[],preferForcedSubs:!1,preferSpatialAudio:!1,preferredDecodingAttributes:[],restrictions:{minWidth:0,maxWidth:1/0,minHeight:0,maxHeight:1/0,minPixels:0,maxPixels:1/0,minFrameRate:0,maxFrameRate:1/0,minBandwidth:0,maxBandwidth:1/0},playRangeStart:0,playRangeEnd:1/0,textDisplayFactory:function(){return null},cmcd:{enabled:!1,sessionId:"",contentId:"",useHeaders:!1},cmsd:{enabled:!0,applyMaximumSuggestedBitrate:!0,estimatedThroughputWeightRatio:.5},lcevc:{enabled:!1,dynamicPerformanceScaling:!0,logLevel:0,drawLogo:!1},ads:{customPlayheadTracker:!1}};return o.trackSelectionCallback=function(t){return R(function(n){return n.return(function(t,n,i){var r=i;"AUTO"==r&&(r=e.matchMedia("(color-gamut: p3)").matches?"PQ":"SDR");var a=t.filter(function(e){return!("variant"!=e.type||e.hdr&&e.hdr!=r)});i=[];var o=Ht(n,a.map(function(e){return e.language}));o&&(i=a.filter(function(e){return Nt(e.language)==o})),0==i.length&&(i=a.filter(function(e){return e.primary})),0==i.length&&(a.map(function(e){return e.language}),i=a);var s=i.filter(function(e){return e.height&&480>=e.height});for(s.length&&(s.sort(function(e,t){return t.height-e.height}),i=s.filter(function(e){return e.height==s[0].height})),n=[],i.length&&(a=Math.floor(i.length/2),i.sort(function(e,t){return e.bandwidth-t.bandwidth}),n.push(i[a])),t=c(t),i=t.next();!i.done;i=t.next())(i=i.value).type!=lt&&"image"!=i.type||n.push(i);return n}(t,s.preferredAudioLanguage,s.preferredVideoHdrLevel))})},s}function al(e,t,n){var i={".drm.keySystemsMapping":"",".drm.servers":"",".drm.clearKeys":"",".drm.advanced":{distinctiveIdentifierRequired:!1,persistentStateRequired:!1,videoRobustness:"",audioRobustness:"",sessionType:"",serverCertificate:new Uint8Array(0),serverCertificateUri:"",individualizationServer:""}};return Qs(e,t,n||rl(),i,"")}function ol(){this.g=null,this.h=[]}function sl(e,t){var n=0;e.g&&e.g.state==t&&(n+=e.g.duration);for(var i=(e=c(e.h)).next();!i.done;i=e.next())n+=(i=i.value).state==t?i.duration:0;return n}function ll(){this.i=this.h=null,this.g=[]}function cl(e,t,n){e.i!=t&&(e.i=t,e.g.push({timestamp:Date.now()/1e3,id:t.id,type:"text",fromAdaptation:n,bandwidth:null}))}function ul(){this.u=this.A=this.F=this.C=this.s=this.j=this.D=this.m=this.i=this.M=this.R=this.G=this.I=this.K=this.l=this.o=NaN,this.g=new ol,this.h=new ll}function dl(t,n){ri.call(this);var i=this;this.l=lc,this.bd=this.g=null,this.ca=!1,this.fd=new bi,this.oc=new bi,this.m=new bi,this.C=this.F=this.o=this.G=null,this.nd=0,this.W=new Zs,this.ra=this.ea=this.i=this.pd=this.D=this.j=this.sa=this.K=this.Cf=this.Y=this.V=this.ta=this.M=this.I=this.bb=null,this.ab=!1,this.re=this.s=null,this.ze=1e9,this.sc=[],this.R=NaN,this.h=Dl(this),this.te={width:1/0,height:1/0},this.u=null,this.xa=new Fn(this.h.preferredAudioLanguage,this.h.preferredVariantRole,this.h.preferredAudioChannelCount,this.h.preferredVideoHdrLevel,this.h.preferSpatialAudio,this.h.preferredVideoLayout,this.h.preferredAudioLabel,this.h.preferredVideoLabel,this.h.mediaSource.codecSwitchingStrategy,this.h.manifest.dash.enableAudioGroups),this.$a=this.h.preferredTextLanguage,this.rc=this.h.preferredTextRole,this.pc=this.h.preferForcedSubs,this.ac=[],n&&n(this),this.V=function(e){return new Ls({getBandwidthEstimate:function(){return e.s?e.s.getBandwidthEstimate():NaN},eb:function(){return e.eb()},getCurrentTime:function(){return e.g?e.g.currentTime:0},kd:function(){return e.kd()},jd:function(){return e.jd()},pb:function(){return e.pb()},S:function(){return e.S()}},e.h.cmcd)}(this),this.Y=new Os(this.h.cmsd),this.G=function(e){return new si(function(t,n,i){e.s&&e.s.segmentDownloaded(t,n,i)},function(t,n,i){if(n=(new Map).set("headers",t).set("request",n).set("requestType",i),e.dispatchEvent(hl("downloadheadersreceived",n)),e.Y&&(n=e.Y).h.enabled){if(i=t["cmsd-static"])try{var r=new Map,a=i.split(",");for(i=0;i<a.length;i++){var o=a[i].split("=");r.set(o[0],Fs(o[1]))}}catch(e){}if(t=t["cmsd-dynamic"]){try{var s=new Map,l=t.split(";");for(t=1;t<l.length;t++){var c=l[t].split("=");s.set(c[0],Fs(c[1]))}var u=s}catch(e){u=null}u&&(n.g=u)}}},function(t,n,i,r){t=(new Map).set("request",t).set("error",n).set("httpResponseCode",i).set("aborted",r),e.dispatchEvent(hl("downloadfailed",t))},function(t,n,i){var r=e.V;if(i=void 0===i?{}:i,r.g.enabled)if("HEAD"===n.method)Is(r,n);else switch(t){case 0:try{if(r.g.enabled){if(i.type){e:{switch(i.type){case 4:var a="d";break e;case 3:case 2:a="h";break e;case 5:a="s";break e}a=void 0}r.o=a}Is(r,n,{ot:Ns,su:!r.i})}}catch(e){Q("CMCD_MANIFEST_ERROR","Could not generate manifest CMCD data.",e)}break;case fi:t=i;try{if(r.g.enabled){var o=t.segment;a=0,o&&(a=o.endTime-o.startTime);var s={d:1e3*a,st:r.h.S()?"l":"v"};s.ot=function(e){if(0===e.type)return Hs;
1if(e=e.stream){var t=e.type;if("video"==t)return e.codecs&&e.codecs.includes(",")?Vs:js;if("audio"==t)return Ps;if("text"==t)return"application/mp4"===e.mimeType?Us:Bs}}(t);var l=s.ot===js||s.ot===Ps||s.ot===Vs||s.ot===Us,u=t.stream;u&&(l&&(s.bl=function(e,t){if(!(t=e.h.eb()[t]).length)return NaN;var n=e.h.getCurrentTime();return(e=t.find(function(e){return e.start<=n&&e.end>=n}))?1e3*(e.end-n):NaN}(r,u.type)),u.bandwidth&&(s.br=u.bandwidth/1e3)),l&&s.ot!==Us&&(s.tb=function(e,t){var n=e.h.pb();if(!n.length)return NaN;e=n[0];for(var i=(n=c(n)).next();!i.done;i=n.next())"variant"===(i=i.value).type&&i.bandwidth>e.bandwidth&&(e=i);switch(t){case js:return e.videoBandwidth||NaN;case Ps:return e.audioBandwidth||NaN;default:return e.bandwidth}}(r,s.ot)/1e3),Is(r,n,s)}}catch(e){Q("CMCD_SEGMENT_ERROR","Could not generate segment CMCD data.",e)}break;case 2:case 5:case 6:Is(r,n,{ot:"k"});break;case 4:Is(r,n,{ot:"o"})}},function(t,n,i,r){e.D&&e.D.banLocation&&e.D.banLocation(r)})}(this),this.G.Qe(this.h.streaming.forceHTTPS),this.A=null,fc&&(this.A=fc()),this.fd.H(e,"online",function(){Zl(i),i.Me()}),this.dd=new _t(function(){return function(e){function t(e){var t="";return e.video&&(t+="video:"+e.video.id),e.audio&&(t=t+(t?"&":"")+"audio:"+e.audio.id),t}for(var n=Date.now()/1e3,i=!1,r=c(e.i.variants),a=r.next();!a.done;a=r.next())0<(a=a.value).disabledUntilTime&&a.disabledUntilTime<=n&&(a.disabledUntilTime=0,i=!0,Y(t(a)));e.i.variants.every(function(e){return 0===e.disabledUntilTime})&&e.dd.stop(),i&&zl(e,!0,void 0,!1,!1)}(i)}),t&&(Rn("Player","Please migrate from initializing Player with a mediaElement; use the attach method instead."),this.qc(t,!0))}function pl(e){null!=e.K&&(Sa(e.K),e.K.release(),e.K=null)}function hl(e,t){return new ti(e,t)}function fl(e,t){e.dispatchEvent(hl("onstatechange",(new Map).set("state",t)))}function gl(e,t){var n;return R(function(i){return 1==i.g?(n=++e.nd,A(i,Xs(e.W,t),2)):n!=e.nd?(e.W.release(),i.return(!0)):i.return(!1)})}function ml(e){var t,n,i,r,a;return R(function(o){if(1==o.g)return fl(e,"media-source"),t=e.h.textDisplayFactory,n=t(),e.se=t,i=function(e,t,n,i){return new ja(e,t,n,i)}(e.g,n,function(t,n,i){yl(e,t,n,i)},e.K),i.configure(e.h.mediaSource),r=e.h.manifest,a=r.segmentRelativeVttTiming,i.Y=a,A(o,i.K,2);e.F=i,w(o)})}function yl(e,t,n,i){for(var r=(t=c(t)).next();!r.done;r=t.next())if((r=r.value).data&&r.cueTime&&r.frames){var a=r.cueTime+n,o=i;o&&a>o&&(o=a);for(var s=c(r.frames),l=s.next();!l.done;l=s.next())vl(e,a,o,"org.id3",l.value);e.A&&e.A.onHlsTimedMetadata(r,a)}}function vl(e,t,n,i,r){t=(new Map).set("startTime",t).set("endTime",n).set("metadataType",i).set("payload",r),e.dispatchEvent(hl("metadata",t))}function bl(e,t){if(t&&"chapters"==t.kind){t.mode="hidden";var n=new _t(function(){t.mode="hidden"}).Zb().U(.5);e.ac.push(function(){n.stop()})}}function Al(e,t){return new Ar(t,e.h.drm.updateExpirationTime)}function wl(e,t,n){e.M=new zn,e.M.g=qn,_n(e.M,n,Math.min(.5,n/2)),jl(e),e.m.H(t,"waiting",function(){return xl(e)}),e.m.H(t,"stalled",function(){return xl(e)}),e.m.H(t,"canplaythrough",function(){return xl(e)}),e.m.H(t,"progress",function(){return xl(e)})}function xl(e){switch(e.l){case uc:if(e.g.ended)var t=!0;else{var n=Zr(e.g.buffered);t=null!=n&&n>=e.g.duration-1}break;case cc:e:if(e.g.ended||Ua(e.F))t=!0;else{if(e.i.presentationTimeline.S()){n=e.i.presentationTimeline.nb();var i=Zr(e.g.buffered);if(null!=i&&i>=n){t=!0;break e}}t=!1}break;default:t=!1}i=Jr(e.g.buffered,e.g.currentTime);var r=t,a=(n=e.M).h.get(n.g);t=n.g,i=r||i>=a?Kn:qn,n.g=i,t!=i&&jl(e)}function kl(e){if(e.D){var t=Ot(e.h.manifest);e.g&&"AUDIO"===e.g.nodeName&&(t.disableVideo=!0),e.D.configure(t)}if(e.o&&e.o.configure(e.h.drm),e.j){e.j.configure(e.h.streaming);try{Nl(e,e.i)}catch(t){Xl(e,t)}e.s&&Ol(e),!(t=e.j.j)||t.allowedByApplication&&t.allowedByKeySystem||zl(e)}if(e.G&&e.G.Qe(e.h.streaming.forceHTTPS),e.F&&(e.F.configure(e.h.mediaSource),e.F.Y=e.h.manifest.segmentRelativeVttTiming,t=e.h.textDisplayFactory,e.se!=t)){var n=t(),i=e.F,r=i.D;i.D=n,r&&(n.setTextVisibility(r.isTextVisible()),r.destroy()),i.h&&(i.h.j=n),e.se=t,e.j&&((n=(t=e.j).i.get(lt))&&Zo(t,n.stream,!0,0,!0))}e.s&&(e.s.configure(e.h.abr),e.h.abr.enabled?e.s.enable():e.s.disable(),Yl(e)),e.M&&(t=e.h.streaming.rebufferingGoal,e.i&&
1(t=Math.max(t,e.i.minBufferTime)),_n(e.M,t,Math.min(.5,t/2))),e.i&&nc(e.i.presentationTimeline,e.h.playRangeStart,e.h.playRangeEnd),e.A&&e.A.configure(e.h.ads),e.V&&e.V.configure(e.h.cmcd),e.Y&&e.Y.configure(e.h.cmsd)}function Tl(e){return e&&(e=/(\d+)x(\d+)/.exec(e))?{Nb:parseInt(e[1],10),rows:parseInt(e[2],10)}:null}function Cl(e){return Array.from(e.g.textTracks).filter(function(e){return"metadata"!=e.kind&&"chapters"!=e.kind&&"Shaka Player TextTrack"!=e.label})}function El(e){return Array.from(e.g.textTracks).filter(function(e){return"chapters"==e.kind})}function Sl(e,t){var n;return R(function(i){switch(i.g){case 1:return x(i,2),A(i,us(t,e.G,e.h.streaming.retryParameters),4);case 4:n=i.h,T(i,3);break;case 2:C(i);case 3:if(n)return i.return(n);throw new nt(1,2,2011,t)}})}function Ll(e,t,n,i,r,a,o){var s,l,c,u;return R(function(d){if(1==d.g)return"text/vtt"!=r||o.length?A(d,Ml(e,t,e.G,e.h.streaming.retryParameters),3):d.B(2);2!=d.g&&(s=d.h,l=Il(e,s,r,o),c=new Blob([l],{type:"text/vtt"}),t=to(c),r="text/vtt"),u=document.createElement("track");var p=e.V,h=t;try{if(p.g.enabled){var f=Ms(p);f.ot=Bs,f.su=!0;var g=Rs(h,Ds(f))}else g=h}catch(e){Q("CMCD_TEXT_TRACK_ERROR","Could not generate text track CMCD data.",e),g=h}return u.src=g,u.label=a,u.kind=i,u.srclang=n,e.g.getAttribute("crossorigin")||e.g.setAttribute("crossorigin","anonymous"),e.g.appendChild(u),d.return(u)})}function Ml(e,t,n,i){var r,a,o;return R(function(s){if(1==s.g){r=fi,(a=ci([t],i)).method="GET";var l=e.V;try{l.g.enabled&&Is(l,a,{ot:Bs,su:!0})}catch(e){Q("CMCD_TEXT_ERROR","Could not generate text CMCD data.",e)}return A(s,n.request(r,a).promise,2)}return o=s.h,s.return(o.data)})}function Il(e,t,n,i){var r=Ct[n];if(r)return n=r(),e={periodStart:0,segmentStart:0,segmentEnd:e.g.duration,vttOffset:0},t=oe(t),function(e,t){function n(e){for(var n=e,i=c(t),r=i.next();!r.done;r=i.next())(r=r.value).end&&r.start<e&&(n+=r.end-r.start);return(10>(e=Math.floor(n/3600))?"0":"")+e+":"+(10>(i=Math.floor(n/60%60))?"0":"")+i+":"+(10>(r=Math.floor(n%60))?"0":"")+r+"."+(100>(n=Math.floor(1e3*n%1e3))?10>n?"00":"0":"")+n}var i=fs(e);e="WEBVTT\n\n";for(var r=(i=c(i)).next();!r.done;r=i.next())e+=n((r=r.value).startTime)+" --\x3e "+n(r.endTime)+function(e){var t=[];switch(e.textAlign){case"left":t.push("align:left");break;case"right":t.push("align:right");break;case Ae:t.push("align:middle");break;case"start":t.push("align:start");break;case"end":t.push("align:end")}switch(e.writingMode){case"vertical-lr":t.push("vertical:lr");break;case"vertical-rl":t.push("vertical:rl")}return t.length?" "+t.join(" "):""}(r)+"\n",e+=r.payload+"\n\n";return e}(t=n.parseMedia(t,e,null),i);throw new nt(2,2,2014,n)}function Dl(e){var t=rl();return t.streaming.failureCallback=function(t){if(e.S()){var n=null;1001==t.code||1002==t.code?n=1:1003==t.code&&(n=.1),null!=n&&(t.severity=1,e.Me(n))}},t.textDisplayFactory=function(){return e.bd?new ws(e.g,e.bd):HTMLMediaElement.prototype.addTextTrack?new gs(e.g,"Shaka Player TextTrack"):new vs},t}function Rl(e,t){return R(function(n){if(1==n.g)return A(n,function(e,t){return R(function(n){if(1==n.g)return A(n,an(e.o,t),2);if(!t.variants.some(bn))throw new nt(2,4,4032);w(n)})}(e,t),2);Nl(e,t),w(n)})}function Nl(e,t){if(e.l!=sc){for(var n=e.h.restrictions,i=e.te,r=!1,a=c(t.variants),o=a.next();!o.done;o=a.next()){var s=(o=o.value).allowedByApplication;o.allowedByApplication=rn(o,n,i),s!=o.allowedByApplication&&(r=!0)}if(r&&e.j&&Kl(e),(n=e.o?e.o.g:null)&&e.o.s)for(r=(i=c(t.variants)).next();!r.done;r=i.next())r=r.value,Pl(e,n.keySystem,r.video),Pl(e,n.keySystem,r.audio);ic(e,t)}}function Pl(e,t,n){if(n)for(var i=(n=c(n.drmInfos)).next();!i.done;i=n.next())if((i=i.value).keySystem==t)for(var r=(i=c(i.initData||[])).next();!r.done;r=i.next())r=r.value,kr(e.o,r.initDataType,r.initData)}function jl(e){var t=e.oe();if(e.u&&e.M&&e.C){if(e.V){var n=e.V;t||n.i||(n.i=!0),n.i&&t&&(n.l=!0),n.m=t}Hl(e)}t=(new Map).set("buffering",t),e.dispatchEvent(hl("buffering",t))}function Vl(e){var t=e.g.playbackRate;0!=t&&(e.I&&e.I.set(t),t=hl("ratechange"),e.dispatchEvent(t))}function Hl(e){if(e.u&&e.M){var t=e.u.g,n="playing";e.M.g==qn?n="buffering":e.g.paused?n="paused":e.g.ended&&(n="ended");var i=n;
1if(null==t.g)t.g={timestamp:Date.now()/1e3,state:i,duration:0},t=!0;else{var r=Date.now()/1e3;t.g.duration=r-t.g.timestamp,t.g.state==i?t=!1:(t.h.push(t.g),t.g={timestamp:r,state:i,duration:0},t=!0)}t&&(n=(new Map).set("newstate",n),e.dispatchEvent(hl("statechanged",n)))}}function Bl(e){if(e.S()){var t=e.Hb();if(Number.isFinite(t.end)&&!(e.g.currentTime<t.start)){if(e.h.streaming.liveSync)var n=e.h.streaming.liveSyncMaxLatency,i=e.h.streaming.liveSyncPlaybackRate;else e.i&&e.i.serviceDescription&&(n=e.i.serviceDescription.maxLatency||e.h.streaming.liveSyncMaxLatency,i=e.i.serviceDescription.maxPlaybackRate||e.h.streaming.liveSyncPlaybackRate);if(e.h.streaming.liveSync)var r=e.h.streaming.liveSyncMinLatency,a=e.h.streaming.liveSyncMinPlaybackRate;else e.i&&e.i.serviceDescription&&(r=e.i.serviceDescription.minLatency||e.h.streaming.liveSyncMinLatency,a=e.i.serviceDescription.minPlaybackRate||e.h.streaming.liveSyncMinPlaybackRate);var o=e.g.playbackRate,s=t.end-e.g.currentTime,l=0;if(e.l==uc){var c=e.g.buffered;0<c.length&&(l=c.end(c.length-1),l=Math.max(i,l-t.end))}n&&i&&s-l>n?o!=i&&e.Xe(i):r&&a&&s-l<r?o!=a&&e.Xe(a):o!==e.I.vc()&&e.df()}}}function Ul(e){if(e.g){var t,n=!1,i=e.g.currentTime/e.g.duration;if(isNaN(i)||(i=Math.round(100*i),isNaN(e.R)?(e.R=i,n=!0):(i=Math.max(e.R,i),e.R!=i&&(e.R=i,n=!0))),n)0==e.R?t=hl("started"):25==e.R?t=hl("firstquartile"):50==e.R?t=hl("midpoint"):75==e.R?t=hl("thirdquartile"):100==e.R&&(t=hl("complete")),t&&e.dispatchEvent(t)}}function Ol(e){try{ic(e,e.i)}catch(t){return Xl(e,t),!1}var t=function(e){return e.filter(function(e){return bn(e)})}(e.i.variants);return t=e.xa.create(t),e.s.setVariants(Array.from(t.values())),!0}function Fl(e,t){return t=void 0!==t&&t,Ol(e)?e.s.chooseVariant(t):null}function zl(e,t,n,i,r){t=void 0===t||t,n=void 0===n?0:n,i=void 0!==i&&i,r=void 0===r||r;var a=Fl(e);a&&_l(e,a,r,t,n,i)}function _l(e,t,n,i,r,a){a=void 0!==a&&a;var o=e.j.j;if(t==o)i&&Wo(e.j,t,i,r,!0);else{var s=e.u.h;s.h!=t&&(s.h=t,s.g.push({timestamp:Date.now()/1e3,id:t.id,type:"variant",fromAdaptation:n,bandwidth:t.bandwidth})),Wo(e.j,t,i,r,a,n),i=null,o&&(i=pn(o)),t=pn(t),n?(n=(new Map).set("oldTrack",i).set("newTrack",t),e.K&&La(e.K,t,e.ke()),rc(e,n=hl("adaptation",n))):Gl(e,i,t)}}function ql(e,t){var n=Array.from(e.g.audioTracks).find(function(e){return e.enabled});t.enabled=!0,t.id!==n.id&&(n.enabled=!1),Gl(e,n=yn(n),t=yn(t))}function Kl(e){rc(e,hl("trackschanged"))}function Gl(e,t,n){t=(new Map).set("oldTrack",t).set("newTrack",n),e.K&&La(e.K,n,e.ke()),rc(e,n=hl("variantchanged",t))}function Ql(e){rc(e,hl("textchanged"))}function Wl(e){rc(e,hl("texttrackvisibility"))}function Yl(e){e.h.abr.enabled||Zl(e),rc(e,hl("abrstatuschanged",(new Map).set("newStatus",e.h.abr.enabled)))}function Zl(e,t){if(t=void 0===t||t,e.l==cc){e.dd.stop();for(var n=c(e.i.variants),i=n.next();!i.done;i=n.next())i.value.disabledUntilTime=0;t&&Ol(e)}}function Xl(e,t){var n,i,r;return R(function(a){switch(a.g){case 1:if(e.l==sc)return a.return();if(n=!0,!(e.ab&&e.i&&e.j)||3016!=t.code&&3014!=t.code&&3015!=t.code&&3018!=t.code){a.B(2);break}return x(a,3),A(a,function(e){var t,n,i,r,a,o;return R(function(s){return 1==s.g?(t=Date.now()/1e3,n=e.h.minTimeBetweenRecoveries,!e.h.allowMediaSourceRecoveries||t-e.G<n?s.return(!1):(e.G=t,i=ct,(r=e.i.get(i.N))&&(r.qb=null,Xo(e,r),ls(r).catch(function(){})),(a=e.i.get(i.$))&&(a.qb=null,Xo(e,a),ls(a).catch(function(){})),o=new Map,e.j.audio&&o.set(i.N,e.j.audio),e.j.video&&o.set(i.$,e.j.video),A(s,eo(e.g.P,o),2))):s.return(!0)})}(e.j),5);case 5:i=a.h,n=!i,T(a,2);break;case 3:C(a),n=!0;case 2:if(!n)return a.return();2===t.severity&&Zl(e,!1),r=hl("error",(new Map).set("detail",t)),e.dispatchEvent(r),r.defaultPrevented&&(t.handled=!0),w(a)}})}function Jl(e,t,n){n=(new Map).set("detail",{schemeIdUri:n.schemeIdUri,value:n.value,startTime:n.startTime,endTime:n.endTime,id:n.id,eventElement:n.eventElement}),e.dispatchEvent(hl(t,n))}function $l(e){if(!e.g.error)return null;var t=e.g.error.code;if(1==t)return null;var n=e.g.error.msExtendedCode;return n&&(0>n&&(n+=Math.pow(2,32)),n=n.toString(16)),new nt(2,3,3016,t,n,e.g.error.message)}function ec(e,t){if(e.j){var n=hl("keystatuschanged");e.dispatchEvent(n);var i=Object.keys(t);n=1==i.length&&"00"==i[0];var r=!1;
1if(i.length)for(var a=(i=c(e.i.variants)).next();!a.done;a=i.next()){var o=[];(a=a.value).audio&&o.push(a.audio),a.video&&o.push(a.video);for(var s=(o=c(o)).next();!s.done;s=o.next()){var l=s.value;if(s=a.allowedByKeySystem,l.keyIds.size){a.allowedByKeySystem=!0;for(var u=(l=c(l.keyIds)).next();!u.done;u=l.next())u=u.value,u=t[n?"00":u],a.allowedByKeySystem=a.allowedByKeySystem&&!!u&&!pc.includes(u)}s!=a.allowedByKeySystem&&(r=!0)}}if(r&&(Kl(e),!Ol(e)))return;(t=e.j.j)&&!t.allowedByKeySystem&&zl(e)}}function tc(e,t,n){e.D&&e.D.onExpirationUpdated&&e.D.onExpirationUpdated(t,n),t=hl("expirationupdated"),e.dispatchEvent(t)}function nc(e,t,n){0<t&&(e.S()||e.Qf(t)),n<(t=e.getDuration())&&(e.S()||e.Qa(n))}function ic(e,t){e=e.o?e.o.hd():{};var n=Object.keys(e);n=n.length&&"00"==n[0];for(var i=!1,r=!1,a=new Set,o=new Set,s=(t=c(t.variants)).next();!s.done;s=t.next()){var l=[];(s=s.value).audio&&l.push(s.audio),s.video&&l.push(s.video);for(var u=(l=c(l)).next();!u.done;u=l.next())if((u=u.value).keyIds.size)for(var d=(u=c(u.keyIds)).next();!d.done;d=u.next()){d=d.value;var p=e[n?"00":d];p?pc.includes(p)&&o.add(p):a.add(d)}s.allowedByApplication?s.allowedByKeySystem&&(i=!0):r=!0}if(!i)throw new nt(2,4,4012,e={hasAppRestrictions:r,missingKeys:Array.from(a),restrictedKeyStatuses:Array.from(o)})}function rc(e,t){R(function(n){if(1==n.g)return A(n,Promise.resolve(),2);e.l!=sc&&e.dispatchEvent(t),w(n)})}function ac(e){for(var t=new Set,n=(e=c(e)).next();!n.done;n=e.next())(n=n.value).language?t.add(Nt(n.language)):t.add("und");return t}function oc(e){for(var t=new Map,n=new Map,i=(e=c(e)).next();!i.done;i=e.next()){var r="und",a=[];(i=i.value).language&&(r=Nt(i.language)),(a="variant"==i.type?i.audioRoles:i.roles)&&a.length||(a=[""]),t.has(r)||t.set(r,new Set);for(var o=(a=c(a)).next();!o.done;o=a.next())o=o.value,t.get(r).add(o),i.label&&(n.has(r)||n.set(r,new Map),n.get(r).set(o,i.label))}var s=[];return t.forEach(function(e,t){for(var i=(e=c(e)).next();!i.done;i=e.next()){i=i.value;var r=null;n.has(t)&&n.get(t).has(i)&&(r=n.get(t).get(i)),s.push({language:t,role:i,label:r})}}),s}O("shaka.util.ConfigUtils",Gs),Gs.convertToConfigObject=Ws,Gs.mergeConfigObjects=Qs,Zs.prototype.release=function(){0<this.h.length?this.h.shift()():this.g=null},O("shaka.util.FairPlayUtils",Js),Js.commonFairPlayResponse=function(e,t){if(2===e){try{var n=Si(t.data)}catch(e){return}e=!1,"<ckc>"===(n=n.trim()).substr(0,5)&&"</ckc>"===n.substr(-6)&&(n=n.slice(5,-6),e=!0);try{var i=JSON.parse(n);i.ckc&&(n=i.ckc,e=!0),i.CkcMessage&&(n=i.CkcMessage,e=!0),i.License&&(n=i.License,e=!0)}catch(e){}e&&(t.data=ae(Wi(n)))}},Js.expressplayFairPlayRequest=function(e,t){nl(e,t)},Js.conaxFairPlayRequest=function(e,t){nl(e,t)},Js.ezdrmFairPlayRequest=function(e,t){nl(e,t)},Js.verimatrixFairPlayRequest=function(e,t){2===e&&(e=Qi(e=oe(t.body)),t.headers["Content-Type"]="application/x-www-form-urlencoded",t.body=Ii("spc="+e))},Js.expressplayInitDataTransform=function(e,t,n){return tl(e,t,n)},Js.conaxInitDataTransform=function(t,n,i){if("skd"!==n)return t;n=i.serverCertificate,i=Mi(t).split("skd://").pop().split("?").shift(),i=e.atob(i);var r=new ArrayBuffer(2*i.length);r=se(r);for(var a=0,o=i.length;a<o;a++)r[a]=i.charCodeAt(a);return el(t,r,n)},Js.ezdrmInitDataTransform=function(e,t,n){return"skd"!==t?e:(t=n.serverCertificate,el(e,n=Mi(e).split(";").pop(),t))},Js.verimatrixInitDataTransform=function(e,t,n){return tl(e,t,n)},Js.initDataTransform=el,Js.defaultGetContentId=$s,Js.isFairPlaySupported=function(){var e;return R(function(t){return 1==t.g?(e={initDataTypes:["cenc","sinf","skd"],videoCapabilities:[{contentType:'video/mp4; codecs="avc1.42E01E"'}]},x(t,2),A(t,navigator.requestMediaKeySystemAccess("com.apple.fps",[e]),4)):2!=t.g?t.return(!0):(C(t),t.return(!1))})},O("shaka.util.PlayerConfiguration",il),il.mergeConfigObjects=al,il.createDefault=rl,m(dl,ri),(i=dl.prototype).destroy=function(){var e,t=this;return R(function(n){switch(n.g){case 1:return t.l==sc?n.return():(pl(t),e=t.detach(),t.l=sc,A(n,e,2));case 2:if(t.fd&&(t.fd.release(),t.fd=null),t.oc&&(t.oc.release(),t.oc=null),t.m&&(t.m.release(),t.m=null),t.re=null,t.h=null,t.u=null,t.bd=null,t.V=null,t.Y=null,!t.G){n.B(3);break}return A(n,t.G.destroy(),4);case 4:t.G=null;case 3:t.s&&(t.s.release(),t.s=null),ri.prototype.release.call(t),w(n)}})},i.qc=function(e,t){t=void 0===t||t;var n,i,r=this;return R(function(a){switch(a.g){case 1:if(r.l==sc)throw new nt(2,7,7e3);if(!r.g||r.g==e){a.B(2);break}return A(a,r.detach(),2);case 2:return A(a,gl(r,"attach"),4);case 4:if(a.h)return a.return();if(x(a,5,6),fl(r,"attach"),n=function(){var e=$l(r);e&&Xl(r,e)},r.oc.H(e,"error",n),r.g=e,!t||!qt()||r.F){a.B(6);break}return A(a,ml(r),6);case 6:E(a),r.W.release(),S(a,0);break;case 5:return i=C(a),A(a,r.detach(),10);case 10:throw i}})},i.bg=function(e){this.Cf=e},i.detach=function(e){e=void 0!==e&&e;var t=this;return R(function(n){if(1==n.g){if(t.l==sc)throw new nt(2,7,7e3);return A(n,t.$b(!1,e),2)}if(3!=n.g)return A(n,gl(t,"detach"),3);if(n.h)return n.return();try{t.g&&(t.oc.Fb(),t.g=null),fl(t,"detach"),t.A&&!e&&t.A.release()}finally{t.W.release()}w(n)})},i.$b=function(e,t){e=void 0===e||e,t=void 0!==t&&t;var n,i,r,a,o,s,l,u,d,p=this;return R(function(h){switch(h.g){case 1:return p.l!=sc&&(p.l=lc),A(h,gl(p,"unload"),2);case 2:return h.h?h.return():(k(h,3),p.ab=!1,fl(p,"unload"),e&&!qt()&&(e=!1),pl(p),n=p.ac.map(function(e){return e()}),p.ac=[],A(h,Promise.all(n),5));case 5:if(p.dispatchEvent(hl("unloading")),p.ta&&(p.ta.release(),p.ta=null),p.g&&p.m.Fb(),p.dd.stop(),p.bb&&(p.bb.release(),p.bb=null),!p.D){h.B(6);break}return A(h,p.D.stop(),7);case 7:p.D=null,p.pd=null;case 6:if(!p.s){h.B(8);break}return A(h,p.s.stop(),8);case 8:if(!p.j){h.B(10);break}return A(h,p.j.destroy(),11);case 11:p.j=null;case 10:if(p.I&&(p.I.release(),p.I=null),p.C&&(p.C.release(),p.C=null),!p.F){h.B(12);break}return A(h,p.F.destroy(),13);case 13:p.F=null;
1case 12:if(p.A&&!t&&p.A.onAssetUnload(),p.Y&&(p.Y.g=null),p.g&&As(p.g),!p.g||!p.g.src){h.B(14);break}return A(h,new Promise(function(e){return new _t(e).U(.1)}),15);case 15:p.g.removeAttribute("src"),p.g.load();case 14:if(!p.o){h.B(16);break}return A(h,p.o.destroy(),17);case 17:p.o=null;case 16:if(p.ea=null,p.M=null,p.i){for(i=c(p.i.variants),r=i.next();!r.done;r=i.next())for(a=r.value,o=c([a.audio,a.video]),s=o.next();!s.done;s=o.next())(l=s.value)&&l.segmentIndex&&l.segmentIndex.release();for(u=c(p.i.textStreams),s=u.next();!s.done;s=u.next())(d=s.value).segmentIndex&&d.segmentIndex.release()}p.i=null,p.u=new ul,p.se=null,p.sc=[],p.R=NaN,jl(p);case 3:E(h),p.W.release(),S(h,4);break;case 4:if(e&&qt()&&!p.F)return A(h,ml(p),0);h.B(0)}})},i.yh=function(e){this.ra=e},i.load=function(e,t,n){t=void 0===t?null:t;var i,r,a,o,s,l=this;return R(function(u){switch(u.g){case 1:if(l.l==sc)throw new nt(2,7,7e3);return A(u,Xs(l.W,"load"),2);case 2:if(l.W.release(),!l.g)throw new nt(2,7,7002);if(!l.ea){u.B(3);break}return A(u,l.$b(!1),3);case 3:if(i=++l.nd,r=function(){if(l.nd!=i)throw new nt(2,7,7e3)},a=function(e,t){return R(function(n){switch(n.g){case 1:return k(n,2),A(n,Xs(l.W,t),4);case 4:return r(),A(n,e(),5);case 5:r();case 2:E(n),l.W.release(),S(n,0)}})},x(u,5),l.ra=t,l.ab=!1,l.dispatchEvent(hl("loading")),o=Date.now()/1e3,l.u=new ul,l.ea=e,n){u.B(7);break}return A(u,a(function(){return R(function(e){if(1==e.g)return A(e,function(e){var t,n;return R(function(i){return 1==i.g?(t=e.h.manifest.retryParameters,A(i,us(e.ea,e.G,t),2)):("application/x-mpegurl"==(n=i.h)&&Wt()&&(n="application/vnd.apple.mpegurl"),i.return(n))})}(l),2);n=e.h,w(e)})},"guessMimeType_"),7);case 7:if(function(e,t){if(!qt())return!0;if(t){if(""==(e.g||Jt()).canPlayType(t))return!1;if(!qt()||!(t in Fr))return!0;if("application/x-mpegurl"===t||"application/vnd.apple.mpegurl"===t){if(e.h.streaming.preferNativeHls)return!0;if(Wt())return e.h.streaming.useNativeHlsOnSafari}}return!1}(l,n))return A(u,a(function(){return R(function(e){return A(e,function(e,t){var n,i,r,a;return R(function(o){return 1==o.g?(n=ct,i=Date.now()/1e3,r=!0,e.o=Al(e,{Fc:e.G,onError:function(t){Xl(e,t)},Ff:function(t){ec(e,t)},onExpirationUpdated:function(t,n){tc(e,t,n)},onEvent:function(t){e.dispatchEvent(t),"drmsessionupdate"==t.type&&r&&(r=!1,e.u.j=Date.now()/1e3-i)}}),e.o.configure(e.h.drm),a={id:0,language:"und",disabledUntilTime:0,primary:!1,audio:null,video:{id:0,originalId:null,groupId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:null,mimeType:t?yt(t):"",codecs:t?vt(t):"",encrypted:!0,drmInfos:[],keyIds:new Set,language:"und",originalLanguage:null,label:null,type:n.$,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,accessibilityPurpose:null,external:!1,fastSwitching:!1},bandwidth:100,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]},e.o.W=!0,A(o,wr(e.o,[a],[]),2)):A(o,e.o.qc(e.g),0)})}(l,n),0)})},"initializeSrcEqualsDrmInner_"),16);if(l.F){u.B(11);break}return A(u,a(function(){return R(function(e){return A(e,ml(l),0)})},"initializeMediaSourceEngineInner_"),11);case 11:return A(u,a(function(){return R(function(e){return A(e,function(e,t){var n,i,r,a,o,s,l,u;return R(function(d){if(1==d.g)return n=e.G,fl(e,"manifest-parser"),e.pd=function(e,t){if(t&&(t=Fr[t.toLowerCase()]))return t;throw new nt(2,4,4e3,e)}(e.ea,t||null),e.D=e.pd(),i=Ot(e.h.manifest),e.g&&"AUDIO"===e.g.nodeName&&(i.disableVideo=!0),e.D.configure(i),e.ta=new No(function(){return e.Hb()}),e.ta.addEventListener("regionadd",function(t){t=t.region,Jl(e,"timelineregionadded",t),e.A&&e.A.onDashTimedMetadata(t)}),e.sa=null,e.h.streaming.observeQualityChanges&&(e.sa=new Ro(function(){return e.eb()}),e.sa.addEventListener("qualitychange",function(t){var n=t.quality;t=t.position,n=(new Map).set("mediaQuality",{bandwidth:n.bandwidth,audioSamplingRate:n.audioSamplingRate,codecs:n.codecs,contentType:n.contentType,frameRate:n.frameRate,height:n.height,mimeType:n.mimeType,channelsCount:n.channelsCount,pixelAspectRatio:n.pixelAspectRatio,width:n.width}).set("position",t),e.dispatchEvent(hl("mediaqualitychanged",n))}
1)),r={networkingEngine:n,filter:function(t){return Rl(e,t)},makeTextStreamsForClosedCaptions:function(t){return function(e,t){for(var n=new Set,i=c(t.textStreams),r=i.next();!r.done;r=i.next())"application/cea-608"!=(r=r.value).mimeType&&"application/cea-708"!=r.mimeType||n.add(r.originalId);for(i=c(t.variants),r=i.next();!r.done;r=i.next())if((r=r.value.video)&&r.closedCaptions)for(var a=c(r.closedCaptions.keys()),o=a.next();!o.done;o=a.next())if(o=o.value,!n.has(o)){var s=o.startsWith("CC")?"application/cea-608":"application/cea-708",l=new Lo,u=r.closedCaptions.get(o);s={id:e.ze++,originalId:o,groupId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:l,mimeType:s,codecs:"",kind:"caption",encrypted:!1,drmInfos:[],keyIds:new Set,language:u,originalLanguage:u,label:null,type:lt,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:r.roles,forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,accessibilityPurpose:null,external:!1,fastSwitching:!1},t.textStreams.push(s),n.add(o)}}(e,t)},onTimelineRegionAdded:function(t){var n=e.ta;e:{for(var i=c(n.g),r=i.next();!r.done;r=i.next())if((r=r.value).schemeIdUri==t.schemeIdUri&&r.id==t.id&&r.startTime==t.startTime&&r.endTime==t.endTime){i=r;break e}i=null}null==i&&(n.g.add(t),t=new ti("regionadd",new Map([["region",t]])),n.dispatchEvent(t))},onEvent:function(t){return e.dispatchEvent(t)},onError:function(t){return Xl(e,t)},isLowLatencyMode:function(){return e.h.streaming.lowLatencyMode},isAutoLowLatencyMode:function(){return e.h.streaming.autoLowLatencyMode},enableLowLatencyMode:function(){e.configure("streaming.lowLatencyMode",!0)},updateDuration:function(){e.j&&e.j.updateDuration()},newDrmInfo:function(t){var n=e.o?e.o.g:null;n&&e.o.s&&Pl(e,n.keySystem,t)},onManifestUpdated:function(){var t=(new Map).set("isLive",e.S());e.dispatchEvent(hl("manifestupdated",t)),e.A&&e.A.onManifestUpdated(e.S())},getBandwidthEstimate:function(){return e.s.getBandwidthEstimate()}},a=Date.now()/1e3,fl(e,"manifest"),o=e,A(d,e.D.start(e.ea,r),2);if(o.i=d.h,s=hl("manifestparsed"),e.dispatchEvent(s),0==e.i.variants.length)throw new nt(2,4,4036);!function(e){function t(e){return e.video&&e.audio||e.video&&e.video.codecs.includes(",")}e.variants.some(t)&&(e.variants=e.variants.filter(t))}(e.i),l=Date.now()/1e3,u=l-a,e.u.D=u,w(d)})}(l,n),0)})},"parseManifestInner_"),13);case 13:return A(u,a(function(){return R(function(e){return A(e,function(e){var t,n;return R(function(i){return 1==i.g?(fl(e,"drm-engine"),t=Date.now()/1e3,n=!0,e.o=Al(e,{Fc:e.G,onError:function(t){Xl(e,t)},Ff:function(t){ec(e,t)},onExpirationUpdated:function(t,n){tc(e,t,n)},onEvent:function(i){e.dispatchEvent(i),"drmsessionupdate"==i.type&&n&&(n=!1,e.u.j=Date.now()/1e3-t,e.K&&Sa(e.K))}}),e.o.configure(e.h.drm),A(i,wr(e.o,e.i.variants,e.i.offlineSessionIds),2)):3!=i.g?A(i,e.o.qc(e.g),3):A(i,Rl(e,e.i),0)})}(l),0)})},"initializeDrmInner_"),14);case 14:return A(u,a(function(){return R(function(e){return A(e,function(e,t){var n,i,r,a,o,s,l,u,d,p,h,f,g,m,y,v,b,x;return R(function(k){switch(k.g){case 1:for(fl(e,"load"),n=e.g,e.I=new Mo({md:function(){return n.playbackRate},vc:function(){return n.defaultPlaybackRate},Se:function(e){n.playbackRate=e},Bf:function(e){n.currentTime+=e}}),i=function(){return Hl(e)},r=function(){return Vl(e)},e.m.H(n,"playing",i),e.m.H(n,"pause",i),e.m.H(n,"ended",i),e.m.H(n,"ratechange",r),function(e,t){if(t.lcevc.enabled){var n=e.pb();n&&n[0]&&"video/mp2t"==n[0].videoMimeType&&(navigator.userAgent.match(/Edge?\//)||navigator.userAgent.match(/Edge\//))&&(t.mediaSource.forceTransmux||G("LCEVC Warning: For MPEG-2 TS decoding the config.mediaSource.forceTransmux must be enabled.")),pl(e),null==e.K&&(e.K=new Ea(e.g,e.Cf,t.lcevc),e.F&&(e.F.R=e.K))}else pl(e)}(e,e.h),a=e.h.abrFactory,e.s&&e.re==a||(e.re=a,e.s=a(),"function"!=typeof e.s.setMediaElement&&(Rn("AbrManager","Please use an AbrManager with setMediaElement function."),e.s.setMediaElement=function(){}),"function"!=typeof e.s.setCmsdManager&&(Rn("AbrManager","Please use an AbrManager with setCmsdManager function."),e.s.setCmsdManager=function(){}),e.s.configure(e.h.abr)),e.xa=new Fn(e.h.preferredAudioLanguage,e.h.preferredVariantRole,e.h.preferredAudioChannelCount,e.h.preferredVideoHdrLevel,e.h.preferSpatialAudio,e.h.preferredVideoLayout,e.h.preferredAudioLabel,e.h.preferredVideoLabel,e.h.mediaSource.codecSwitchingStrategy,e.h.manifest.dash.enableAudioGroups),e.$a=e.h.preferredTextLanguage,e.rc=e.h.preferredTextRole,e.pc=e.h.preferForcedSubs,nc(e.i.presentationTimeline,e.h.playRangeStart,e.h.playRangeEnd),e.s.init(function(t,n,i){e.j&&t!=e.j.j&&_l(e,t,!0,void 0!==n&&n,void 0===i?0:i)}),e.s.setMediaElement(n),e.s.setCmsdManager(e.Y),nn(e.i,e.h.preferredVideoCodecs,e.h.preferredAudioCodecs,e.h.preferredDecodingAttributes),e.j=function(e){return new Go(e.i,{ld:function(){return e.C?e.C.Xc():0},getBandwidthEstimate:function(){return e.s.getBandwidthEstimate()},P:e.F,Fc:e.G,onError:function(t){return Xl(e,t)},onEvent:function(t){return e.dispatchEvent(t)},Zg:function(){e.D&&e.D.update&&e.D.update()},Ge:function(t,n,i){e.C&&e.C.Df(),xl(e),t=(new Map).set("start",t).set("end",n).set("contentType",i),e.dispatchEvent(hl("segmentappended",t))},Yg:function(t,n){(n=n.Be)&&e.sa&&function(e,t,n){var i=function(e,t){var n=e.g.get(t);return n||(n={Hc:[],gf:null,contentType:t},e.g.set(t,n)),n}(e,t.contentType);!function(e,t){if((e=e.h()[t.contentType])&&0<e.length){var n=e[0].start,i=e[e.length-1].end,r
1=t.Hc;t.Hc=r.filter(function(e,t){return!(e.position<=n&&t+1<r.length&&r[t+1].position<=n||e.position>=i)})}else t.Hc=[]}(e,i),e={Be:t,position:n},0<=(t=(i=i.Hc).findIndex(function(e){return e.position>=n}))?i.splice(t,i[t].position==n?1:0,e):i.push(e)}(e.sa,n,t)},cf:function(t,n){var i=e.o;if(i.h.parseInbandPsshEnabled&&!i.I&&["audio","video"].includes(t)){var r=0,a=c((n=new Ji(oe(n))).data);for(t=a.next();!t.done;t=a.next())r+=t.value.length;if(0==r)i=Promise.resolve();else{for(r=new Uint8Array(r),a=0,t=(n=c(n.data)).next();!t.done;t=n.next())t=t.value,r.set(t,a),a+=t.length;kr(i,"cenc",r),i=i.l}}else i=Promise.resolve();return i},$g:function(t,n,i){yl(e,t,n,i)},cd:function(t,n){return e.cd(t,n)}})}(e),e.j.configure(e.h.streaming),e.l=cc,n.textTracks&&e.m.H(n.textTracks,"addtrack",function(t){if(t.track&&"chapters"===(t=t.track).kind)bl(e,t)}),e.dispatchEvent(hl("streaming")),o=null,(s=e.j.j)||(o=Fl(e,!0)),l=[],d=c([(u=s||o).video,u.audio]),p=d.next();!p.done;p=d.next())(h=p.value)&&!h.segmentIndex&&l.push(h.createSegmentIndex());if(!(0<l.length)){k.B(2);break}return A(k,Promise.all(l),2);case 2:if(e.D&&e.D.onInitialVariantChosen&&e.D.onInitialVariantChosen(u),nc(e.i.presentationTimeline,e.h.playRangeStart,e.h.playRangeEnd),e.C=function(e,t){return new Ao(e.g,e.i,e.h.streaming,t,function(){e.bb&&Do(e.bb,!0),e.j&&e.j.Mc(),e.M&&xl(e)},function(t){return e.dispatchEvent(t)})}(e,e.ra),e.bb=function(e,t){t=new Po(e.ta,e.S()||0<t),t.addEventListener("enter",function(t){Jl(e,"timelineregionenter",t.region)}),t.addEventListener("exit",function(t){Jl(e,"timelineregionexit",t.region)}),t.addEventListener("skip",function(t){var n=t.region;t.seeking||(Jl(e,"timelineregionenter",n),Jl(e,"timelineregionexit",n))});var n=new Io(e.g);return n.g.add(t),e.sa&&n.g.add(e.sa),n}(e,t),f=Math.max(e.i.minBufferTime,e.h.streaming.rebufferingGoal),wl(e,n,f),s){k.B(4);break}if(_l(e,o,!0,!1,0),!e.h.streaming.startAtSegmentBoundary){k.B(4);break}return g=e.C,m=g.Te,A(k,function(e,t){var n,i,r,a,o;return R(function(s){return 1==s.g?(n=e.audio,i=e.video,r=function(e,t){var n,i,r;return R(function(a){return 1==a.g?e?A(a,e.createSegmentIndex(),2):a.return(null):(i=(n=e.segmentIndex.Ab(t))?n.next().value:null)?(r=i.startTime,a.return(r)):a.return(null)})},A(s,r(n,t),2)):3!=s.g?(a=s.h,A(s,r(i,t),3)):null!=(o=s.h)&&null!=a?s.return(Math.max(o,a)):null!=o?s.return(o):null!=a?s.return(a):s.return(t)})}(o,e.C.Xc()),6);case 6:m.call(g,k.h);case 4:return e.C.Md(),e.Sb().find(function(e){return e.active})||((y=An(e.i.textStreams,e.$a,e.rc,e.pc)[0]||null)&&cl(e.u.h,y,!0),o&&(y?(o.audio&&function(e,t,n){if(0==e.h.autoShowText)return!1;if(1==e.h.autoShowText)return!0;var i=Nt(e.h.preferredTextLanguage);return n=Nt(n.language),2==e.h.autoShowText?It(n,i):3==e.h.autoShowText?(e=Nt(t.language),It(n,i)&&!It(e,n)):(G("Invalid autoShowText setting!"),!1)}(e,o.audio,y)&&(e.ca=!0),e.ca&&e.F.D.setTextVisibility(!0),Wl(e)):e.ca=!1),y&&(e.h.streaming.alwaysStreamText||e.qe())&&Yo(e.j,y)),A(k,e.j.start(),7);case 7:e.h.abr.enabled&&(e.s.enable(),Yl(e)),Kl(e),Ol(e),e.i.variants.some(function(e){return e.primary}),(v=e.S())&&(e.h.streaming.liveSync||e.i.serviceDescription)?(b=function(){return Bl(e)},e.m.H(n,"timeupdate",b)):v||(x=function(){return Ul(e)},e.m.H(n,"timeupdate",x),Ul(e)),e.A&&e.A.onManifestUpdated(v),e.ab=!0,e.m.ka(n,"loadedmetadata",function(){e.u.m=Date.now()/1e3-t}),w(k)}})}(l,o),0)})},"loadInner_"),10);case 16:return A(u,a(function(){return R(function(e){return A(e,function(e,t,n){var i,r,a,o,s,l,u,d,p,h;return R(function(f){if(1==f.g)return fl(e,"src-equals"),i=e.g,e.C=new bo(i),r=!1,e.ac.push(function(){r=!0}),null!=e.ra&&e.C.Te(e.ra),e.I=new Mo({md:function(){return i.playbackRate},vc:function(){return i.defaultPlaybackRate},Se:function(e){i.playbackRate=e},Bf:function(e){i.currentTime+=e}}),a=e.h.streaming.rebufferingGoal,wl(e,i,a),o=function(){return Hl(e)},s=function(){return Vl(e)},e.m.H(i,"playing",o),e.m.H(i,"pause",o),e.m.H(i,"ended",o),e.m.H(i,"ratechange",s),"none"!=i.preload&&e.m.ka(i,"loadedmetadata",function(){e.u.m=Date.now()/1e3-t}),i.audioTracks&&(e.m.H(i.audioTracks,"addtrack",function(){return Kl(e)}),e.m.H(i.audioTracks,"removetrack",function(){return Kl(e)}),e.m.H(i.audioTracks,"change",function(){return Kl(e)})),i.textTracks&&(e.m.H(i.textTracks,"addtrack",function(t){if(t.track)switch(t=t.track,t.kind){case"metadata":!function(e,t){if("metadata"==t.kind){t.mode="hidden",e.m.H(t,"cuechange",function(){if(t.activeCues)for(var n=c(t.activeCues),i=n.next();!i.done;i=n.next())i=i.value,vl(e,i.startTime,i.endTime,i.type,i.value),e.A&&e.A.onCueMetadataChange(i.value)});var n=new _t(function(){for(var t=function(e){return Array.from(e.g.textTracks).filter(function(e){return"metadata"==e.kind})}(e),n=(t=c(t)).next();!n.done;n=t.next())n.value.mode="hidden"}).Zb().U(.5);e.ac.push(function(){n.stop()})}}(e,t);break;case"chapters":bl(e,t);break;default:Kl(e)}}),e.m.H(i.textTracks,"removetrack",function(){return Kl(e)}),e.m.H(i.textTracks,"change",function(){return Kl(e)})),i.src=function(e,t,n){try{if(!e.g.enabled)return t;var i=Ms(e);e:{switch(n.toLowerCase()){case"video/webm":case"video/mp4":case"video/mpeg":case"video/mp2t":var r=Vs;break e;case"application/x-mpegurl":case"application/vnd.apple.mpegurl":case"application/d
1ash+xml":case"video/vnd.mpeg.dash.mpd":r=Ns;break e}r=void 0}return i.ot=r,i.su=!0,Rs(t,Ds(i))}catch(e){return Q("CMCD_SRC_ERROR","Could not generate src CMCD data.",e),t}}(e.V,e.ea,n),(Gt()||Xt("Web0S"))&&i.load(),e.l=uc,e.dispatchEvent(hl("streaming")),l=new Wn,co(i,HTMLMediaElement.HAVE_METADATA,e.m,function(){e.C.Md(),l.resolve()}),co(i,HTMLMediaElement.HAVE_CURRENT_DATA,e.m,function(){var t;return R(function(n){return 1==n.g?(function(e){var t=e.h.preferredAudioLanguage;""!=t&&e.If(t,e.h.preferredVariantRole)}(e),(t=Cl(e)).find(function(e){return"disabled"!=e.mode})?(0<t.length&&(e.ca=!0),n.B(2)):A(n,new Promise(function(t){e.m.ka(i.textTracks,"change",t),new _t(t).U(1)}),2)):r?n.return():(function(e){var t=e.h.preferredTextLanguage;""!=t&&e.Jf(t,e.h.preferredTextRole,e.h.preferForcedSubs)}(e),void w(n))})}),i.error?l.reject($l(e)):"none"==i.preload&&(G('With <video preload="none">, the browser will not load anything until play() is called. We are unable to measure load latency in a meaningful way, and we cannot provide track info yet. Please do not use preload="none" with Shaka Player.'),l.resolve()),e.m.ka(i,"error",function(){l.reject($l(e))}),A(f,l,2);(u=e.S())&&e.h.streaming.liveSync?(d=function(){return Bl(e)},e.m.H(i,"timeupdate",d)):u||(p=function(){return Ul(e)},e.m.H(i,"timeupdate",p),Ul(e)),e.A&&(e.A.onManifestUpdated(u),u&&(h=e.Hb().end,e.m.H(i,"progress",function(){var t=e.Hb().end;h!=t&&(e.A.onManifestUpdated(e.S()),h=t)}))),e.ab=!0,w(f)})}(l,o,n),0)})},"srcEqualsInner_"),10);case 10:l.dispatchEvent(hl("loaded")),T(u,0);break;case 5:if(7e3==(s=C(u)).code){u.B(18);break}return A(u,l.$b(!1),18);case 18:throw s}})},i.hh=function(){for(var e=this.W;e.g;)e.release()},i.configure=function(e,t){2==arguments.length&&"string"==typeof e&&(e=Ws(e,t)),e.streaming&&"forceTransmuxTS"in e.streaming&&(Rn("streaming.forceTransmuxTS configuration","Please Use mediaSource.forceTransmux instead."),e.mediaSource.mediaSource=e.streaming.forceTransmuxTS,delete e.streaming.forceTransmuxTS),e.streaming&&"forceTransmux"in e.streaming&&(Rn("streaming.forceTransmux configuration","Please Use mediaSource.forceTransmux instead."),e.mediaSource.mediaSource=e.streaming.forceTransmux,delete e.streaming.forceTransmux),e.streaming&&e.streaming.lowLatencyMode&&(null==e.streaming.inaccurateManifestTolerance&&(e.streaming.inaccurateManifestTolerance=0),null==e.streaming.rebufferingGoal&&(e.streaming.rebufferingGoal=.01),null==e.streaming.segmentPrefetchLimit&&(e.streaming.segmentPrefetchLimit=2),null==e.streaming.retryParameters&&(e.streaming.retryParameters={}),null==e.streaming.retryParameters.baseDelay&&(e.streaming.retryParameters.baseDelay=100),null==e.manifest&&(e.manifest={}),null==e.manifest.retryParameters&&(e.manifest.retryParameters={}),null==e.manifest.retryParameters.baseDelay&&(e.manifest.retryParameters.baseDelay=100),null==e.drm&&(e.drm={}),null==e.drm.retryParameters&&(e.drm.retryParameters={}),null==e.drm.retryParameters.baseDelay&&(e.drm.retryParameters.baseDelay=100));var n=al(this.h,e,Dl(this));return kl(this),n},i.getConfiguration=function(){var e=Dl(this);return al(e,this.h,Dl(this)),e},i.lg=function(){if(this.g){var e=this.g.buffered.length;e=e?this.g.buffered.end(e-1):0;var t=this.getConfiguration().streaming.bufferingGoal;if(e>=(t=Math.min(this.g.currentTime+t,this.Hb().end)))return 1;if(!(e<=this.g.currentTime)&&e<t)return(e-this.g.currentTime)/(t-this.g.currentTime)}return 0},i.kh=function(){for(var e in this.h)delete this.h[e];al(this.h,Dl(this),Dl(this)),kl(this)},i.sg=function(){return this.l},i.ke=function(){return this.i?this.i.type:null},i.wg=function(){return this.g},i.jd=function(){return this.G},i.ie=function(){return this.ea},i.mf=function(){return this.A?this.A:null},i.S=function(){return this.i?this.i.presentationTimeline.S():!(!this.g||!this.g.src)&&1/0==this.g.duration},i.Ub=function(){return!!this.i&&this.i.presentationTimeline.Ub()},i.Og=function(){if(this.i){var e=this.i.variants;return!!e.length&&!e[0].video}return!(!this.g||!this.g.src)&&(this.g.videoTracks?0==this.g.videoTracks.length:0==this.g.videoHeight)},i.Hb=function(){if(this.i){if(!this.ab&&"HLS"==this.i.type)return{start:0,end:0};var e=this.i.presentationTimeline;return{start:e.Rb(),end:e.fb()}}return this.g&&this.g.src&&(e=this.g.seekable).length?{start:e.start(0),end:e.end(e.length-1)}:{start:0,end:0}},i.Lg=function(){this.S()&&(this.g.currentTime=this.Hb().end)},i.keySystem=function(){var e=this.drmInfo();return e?e.keySystem:""},i.drmInfo=function(){return this.o?this.o.g:null},i.je=function(){return this.o?this.o.je():1/0},i.he=function(){return this.o?this.o.he():[]},i.hd=function(){return this.o?this.o.hd():{}},i.oe=function(){return!!this.M&&this.M.g==qn},i.kd=function(){return this.g?this.I?this.I.h:1:0},i.Xe=function(e){0==e?G("A trick play rate of 0 is unsupported!"):(this.g.paused&&this.g.play(),this.I.set(e),this.l==cc&&(this.s.playbackRateChanged(e),Qo(this.j,1<Math.abs(e))))},i.df=function(){var e=this.I.vc();this.l==uc&&this.I.set(e),this.l==cc&&(this.I.set(e),this.s.playbackRateChanged(e),Qo(this.j,!1))},i.pb=function(){if(this.i){for(var e=this.j?this.j.j:null,t=[],n=0,i=c(this.i.variants),r=i.next();!r.done;r=i.next())if(bn(r=r.value)){var a=pn(r);a.active=r==e,a.active||1==n||null==e||r.video!=e.video||r.audio!=e.audio||(a.active=!0),a.active&&n++,t.push(a)}return t}return this.g&&this.g.audioTracks?Array.from(this.g.audioTracks).map(function(e){return yn(e)}):[]},i.Sb=function(){if(this.i){for(var e=this.j?this.j.o:null,t=[],n=c(this.i.textStreams),i=n.next();!i.done;i=n.next()){var r=hn(i=i.value);r.active=i==e,t.push(r)}return t}return this.g&&this.g.src&&this.g.textTracks?Cl(this).map(function(e){return mn(e)}):[]},i.rg=function(){var e=this.sc;return this.i&&(e=this.i.imageStreams),e.map(function(e){return fn(e)})},i.ig=function(e){var t,n,i,r,a=this;return R(function(o){return 1==o.g?a.l!=cc&&a.l!=uc?o.return(null):(t=a.sc,a.i&&(t=a.i.imageStreams),(n=t.find(function(t){return t.id==e}))?n.segmentIndex?o.B(2):A(o,n.createSegmentIndex(),2):o.return(null)):4!=o.g?(i=[],Co(n.segmentIndex,function(t){var r=Tl(t.tilesLayout||n.tilesLayout);if(r){r=r.rows*r.Nb;for(var o=t.i-t.startTime,s=0;s<r;s++)i.push(a.tf(e,t.startTime+o*s/r))}}),A(o,Promise.all(i),4)):(r=o.h,o.return(r.filter(function(e){return e})))})},i.tf=function(e,t){var n,i,r,a,o,s,l,c,u,d,p,h,f,g,m,y,v,b,w=this;return R(function(x){return 1==x.g?w.l!=cc&&w.l!=uc?x.return(null):(n=w.sc,w.i&&(n=w.i.imageStreams),(i=n.find(function(t){return t.id==e}))?i.segmentIndex?x.B(2):A(x,i.createSegmentIndex(),2):x.return(null)):null==(r=i.segmentIndex.find(t))?x.return(null):(a=i.segmentIndex.get(r),(o=Tl(a.tilesLayout||i.tilesLayout))?(s=i.width||0,l=i.height||0,c=s/o.Nb,u=l/o.rows,d=o.Nb*o.rows,p=a.i-a.startTime,h=a.F||p/d,f=a.startTime,m=g=0,1<d&&(y=Math.floor((t-a.startTime)/h),f=a.startTime+y*h,g=y%o.Nb*c,m=Math.floor(y/o.Nb)*u),v=!1,(b=a.D)&&(v=!0,u=b.height,g=b.positionX,m=b.positionY,c=b.width),x.return({segment:a,imageHeight:l,imageWidth:s,height:u,positionX:g,positionY:m,startTime:f,duration:h,uris:a.ba(),width:c,sprite:v})):x.return(null))})},i.Kf=function(e){if(this.i&&this.j){var t=this.i.textStreams.find(function(t){return t.id==e.id});t&&t!=this.j.o&&(cl(this.u.h,t,!1),Yo(this.j,t),Ql(this),this.$a=t.language)}else if(this.g&&this.g.src&&this.g.textTracks){for(var n=(t=c(t=Cl(this))).next();!n.done;n=t.next())gn(n=n.value)==e.id?n.mode=this.ca?"showing":"hidden":n.mode="disabled";Ql(this)}},i.Oe=function(e,t,n){if(t=void 0!==t&&t,n=void 0===n?0:n,this.i&&this.j){this.h.abr.enabled&&G("Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().");var i=this.i.variants.find(function(t){return t.id==e.id});i&&bn(i)&&(_l(this,i,!1,t,n),this.xa=new On(i,this.h.mediaSource.codecSwitchingStrategy,this.h.manifest.dash.enableAudioGroups),Ol(this))}else if(this.g&&this.g.audioTracks)for(n=(t=c(t=Array.from(this.g.audioTracks))).next();!n.done;n=t.next())if(gn(n=n.value)==e.id){ql(this,n);break}},i.kg=function(){return oc(this.pb())},i.Eg=function(){return oc(this.Sb())},i.jg=function(){return Array.from(ac(this.pb()))},i.Dg=function(){return Array.from(ac(this.Sb()))},i.If=function(e,t,n,i){if(n=void 0===n?0:n,i=void 0===i?0:i,this.i&&this.C){this.xa=new Fn(e,t||"",n,"",!1,"","","",this.h.mediaSource.codecSwitchingStrategy,this.h.manifest.dash.enableAudioGroups),e=function(e,t){return e.video||t.video?e.video&&t.video?Math.abs((e.video.height||0)-(t.video.height||0))+Math.abs((e.video.width||0)-(t.video.width||0)):1/0:0},t=this.j.j;var r=this.xa.create(this.i.variants);n=null;
1for(var a=(r=c(r.values())).next();!a.done;a=r.next())a=a.value,(!n||e(n,t)>e(a,t))&&(n=a);n?(e=pn(n),this.Oe(e,!0,i)):zl(this)}else this.g&&this.g.audioTracks&&(i=An(this.pb(),e,t||"",!1)[0])&&this.Oe(i)},i.Jf=function(e,t,n){n=void 0!==n&&n,this.i&&this.C?(this.$a=e,this.rc=t||"",this.pc=n,(e=An(this.i.textStreams,this.$a,this.rc,this.pc)[0]||null)&&e!=this.j.o&&(cl(this.u.h,e,!1),this.h.streaming.alwaysStreamText||this.qe())&&(Yo(this.j,e),Ql(this))):(e=An(this.Sb(),e,t||"",n)[0])&&this.Kf(e)},i.oh=function(e,t,n){if(t=void 0===t||t,n=void 0===n?0:n,this.i&&this.C){for(var i=null,r=c(this.i.variants),a=r.next();!a.done;a=r.next())if((a=a.value).audio.label==e){i=a;break}null!=i&&(this.xa=new Fn(i.language,"",0,"",!1,"",e,"",this.h.mediaSource.codecSwitchingStrategy,this.h.manifest.dash.enableAudioGroups),zl(this,t,n))}else if(this.g&&this.g.audioTracks){for(t=null,i=(n=c(n=Array.from(this.g.audioTracks))).next();!i.done;i=n.next())(i=i.value).label==e&&(t=i);t&&ql(this,t)}},i.qe=function(){var e=this.ca;return this.F&&this.l==cc?this.F.D.isTextVisible():this.g&&this.g.src&&this.g.textTracks?Cl(this).some(function(e){return"showing"==e.mode}):e},i.nf=function(){return this.g&&this.g.src&&this.g.textTracks?El(this).map(function(e){return mn(e)}):[]},i.mg=function(e){if(!this.g||!this.g.src||!this.g.textTracks)return[];var t=Nt(e),n=El(this).filter(function(e){return Nt(e.language)==t});if(!n||!n.length)return[];e=[];for(var i=new Set,r=(n=c(n)).next();!r.done;r=n.next())if((r=r.value)&&r.cues)for(var a=(r=c(r.cues)).next();!a.done;a=r.next()){var o=a.value;(a=o.id)&&""!=a||(a=o.startTime+"-"+o.endTime+"-"+o.text),o={id:a,title:o.text,startTime:o.startTime,endTime:o.endTime},i.has(a)||(e.push(o),i.add(a))}return e},i.th=function(e){if(e=!!e,this.ca!=e){if(this.ca=e,this.l==cc)this.F.D.setTextVisibility(e),this.h.streaming.alwaysStreamText||(e?this.j.o||0<(e=An(this.i.textStreams,this.$a,this.rc,this.pc)).length&&(Yo(this.j,e[0]),Ql(this)):function(e){var t=e.i.get(lt);t&&(ss(t),ls(t).catch(function(){}),e.i.delete(lt)),e.o=null}(this.j));else if(this.g&&this.g.src&&this.g.textTracks)for(var t=Cl(this),n=(t=c(t)).next();!n.done;n=t.next())"disabled"!=(n=n.value).mode&&(n.mode=e?"showing":"hidden");Wl(this)}},i.yg=function(){if(!this.S())return null;if(this.C)var e=this.C.Xc();else{if(null==this.ra)return new Date;e=this.ra}if(this.i)return new Date(1e3*(this.i.presentationTimeline.i+e));if(this.g&&this.g.getStartDate){var t=this.g.getStartDate();return isNaN(t.getTime())?null:new Date(t.getTime()+1e3*e)}return null},i.rf=function(){if(!this.S())return null;if(this.i)return new Date(1e3*this.i.presentationTimeline.i);if(this.g&&this.g.getStartDate){var e=this.g.getStartDate();return isNaN(e.getTime())?null:e}return null},i.eb=function(){if(this.l==cc)return this.F.eb();var e={total:[],audio:[],video:[],text:[]};return this.l==uc&&(e.total=$r(this.g.buffered)),e},i.getStats=function(){if(this.l!=cc&&this.l!=uc)return{width:NaN,height:NaN,streamBandwidth:NaN,decodedFrames:NaN,droppedFrames:NaN,corruptedFrames:NaN,stallsDetected:NaN,gapsJumped:NaN,estimatedBandwidth:NaN,completionPercent:NaN,loadLatency:NaN,manifestTimeSeconds:NaN,drmTimeSeconds:NaN,playTime:NaN,pauseTime:NaN,bufferingTime:NaN,licenseTime:NaN,liveLatency:NaN,maxSegmentDuration:NaN,switchHistory:[],stateHistory:[]};Hl(this);var e=this.g,t=e.currentTime/e.duration;if(!isNaN(t)){var n=this.u;t=Math.round(100*t),n.i=isNaN(n.i)?t:Math.max(n.i,t)}if(this.C&&(this.u.M=this.C.$e(),this.u.R=this.C.af()),e.getVideoPlaybackQuality){n=e.getVideoPlaybackQuality(),t=this.u;var i=Number(n.totalVideoFrames);t.K=Number(n.droppedVideoFrames),t.I=i,this.u.G=Number(n.corruptedVideoFrames)}this.o?n=(n=this.o).G?n.G:NaN:n=NaN,this.u.s=n,this.l==cc&&((n=this.j.j)&&(this.u.A=(this.I?this.I.h:1)*n.bandwidth),n&&n.video&&(t=this.u,i=n.video.height||NaN,t.o=n.video.width||NaN,t.l=i),this.S()&&(n=this.rf().valueOf()+1e3*e.currentTime,this.u.C=(Date.now()-n)/1e3),this.i&&this.i.presentationTimeline&&(this.u.F=this.i.presentationTimeline.g),n=this.s.getBandwidthEstimate(),this.u.u=n),this.l==uc&&(n=this.u,t=e.videoHeight||NaN,n.o=e.videoWidth||NaN,n.l=t);var r=this.u;e=r.o,n=r.l,t=r.A,i=r.I;for(var a=r.K,o=r.G,s=r.R,l=r.M,u=r.u,d=r.i,p=r.m,h=r.D,f=r.j,g=sl(r.g,"playing"),m=sl(r.g,"paused"),y=sl(r.g,"buffering"),v=r.s,b=r.C,A=r.F,w=function(e){function t(e){return{timestamp:e.timestamp,state:e.state,duration:e.duration}}for(var n=[],i=c(e.h),r=i.next();!r.done;r=i.next())n.push(t(r.value));return e.g&&n.push(t(e.g)),n}(r.g),x=[],k=(r=c(r.h.g)).next();!k.done;k=r.next())k=k.value,x.push({timestamp:k.timestamp,id:k.id,type:k.type,fromAdaptation:k.fromAdaptation,bandwidth:k.bandwidth});return{width:e,height:n,streamBandwidth:t,decodedFrames:i,droppedFrames:a,corruptedFrames:o,stallsDetected:s,gapsJumped:l,estimatedBandwidth:u,completionPercent:d,loadLatency:p,manifestTimeSeconds:h,drmTimeSeconds:f,playTime:g,pauseTime:m,bufferingTime:y,licenseTime:v,liveLatency:b,maxSegmentDuration:A,stateHistory:w,switchHistory:x}},i.Zf=function(e,t,n,i,r,a,o){o=void 0!==o&&o;var s,l,c,u,d,p,h,f,g,m,y,v=this;return R(function(b){switch(b.g){case 1:if(v.l!=cc&&v.l!=uc)throw new nt(1,7,7004);if(i){b.B(2);break}return A(b,Sl(v,e),3);case 3:i=b.h;case 2:if(s=[],v.A&&(s=v.A.getCuePoints()),v.l!=uc){b.B(4);break}return o&&(n="forced"),A(b,Ll(v,e,t,n,i,a||"",s),5);case 5:if(l=Nt(t),c=v.Sb(),u=c.find(function(e){return Nt(e.language)==l&&e.label==(a||"")&&e.kind==n}))return Kl(v),b.return(u);throw new nt(1,2,2012);case 4:if(d=ct,p=v.g.duration,v.i&&(p=v.i.presentationTimeline.getDuration()),1/0==
1p)throw new nt(1,4,4033);if(!s.length){b.B(6);break}return A(b,Ml(v,e,v.G,v.h.streaming.retryParameters),7);case 7:h=b.h,f=Il(v,h,i,s),g=new Blob([f],{type:"text/vtt"}),e=to(g),i="text/vtt";case 6:if(m={id:v.ze++,originalId:null,groupId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:Eo(0,p,[e]),mimeType:i||"",codecs:r||"",kind:n,encrypted:!1,drmInfos:[],keyIds:new Set,language:t,originalLanguage:t,label:a||null,type:d.ia,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!!o,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,accessibilityPurpose:null,external:!0,fastSwitching:!1},y=pt(m.mimeType,m.codecs),!xt(y))throw new nt(2,2,2014,i);return v.i.textStreams.push(m),Kl(v),b.return(hn(m))}})},i.$f=function(e,t){var n,i,r,a,o,s,l,u,d,p,h,f,g,m,y,v,b=this;return R(function(w){switch(w.g){case 1:if(b.l!=cc&&b.l!=uc)throw new nt(1,7,7004);if(t){w.B(2);break}return A(w,Sl(b,e),3);case 3:t=w.h;case 2:if("text/vtt"!=t)throw new nt(1,2,2017,e);if(n=ct,i=b.g.duration,b.i&&(i=b.i.presentationTimeline.getDuration()),1/0==i)throw new nt(1,4,4045);return A(w,Ml(b,e,b.G,b.h.streaming.retryParameters),4);case 4:if(r=w.h,!(a=Ct[t]))throw new nt(2,2,2014,t);for(o=a(),s={periodStart:0,segmentStart:0,segmentEnd:i,vttOffset:0},l=oe(r),u=o.parseMedia(l,s,e),d=[],p={},h=c(u),f=h.next();!f.done;p={ec:p.ec},f=h.next())g=f.value,p.ec=rt([e],[g.payload])[0],m=new Qr(g.startTime,g.endTime,function(e){return function(){return[e.ec]}}(p),0,null,null,0,0,1/0),p.ec.includes("#xywh")&&(4===(y=p.ec.split("#xywh=")[1].split(",")).length&&m.Pf({height:parseInt(y[3],10),positionX:parseInt(y[0],10),positionY:parseInt(y[1],10),width:parseInt(y[2],10)})),d.push(m);return v={id:b.ze++,originalId:null,groupId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:new To(d),mimeType:t||"",codecs:"",kind:"",encrypted:!1,drmInfos:[],keyIds:new Set,language:"und",originalLanguage:null,label:null,type:n.Ld,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,tilesLayout:"1x1",accessibilityPurpose:null,external:!0,fastSwitching:!1},b.l==uc?b.sc.push(v):b.i.imageStreams.push(v),Kl(b),w.return(fn(v))}})},i.Yf=function(e,t,n){var i,r,a,o,s=this;return R(function(l){switch(l.g){case 1:if(s.l!=cc&&s.l!=uc)throw new nt(1,7,7004);if(n){l.B(2);break}return A(l,Sl(s,e),3);case 3:n=l.h;case 2:return i=[],s.A&&(i=s.A.getCuePoints()),A(l,Ll(s,e,t,"chapters",n,"",i),4);case 4:if(r=l.h,a=s.nf(),!(o=a.find(function(e){return e.language==t}))){l.B(5);break}return A(l,new Promise(function(e,t){s.m.ka(r,"load",e),s.m.ka(r,"error",function(){t(new nt(1,2,2015))})}),6);case 6:return Kl(s),l.return(o);case 5:throw new nt(1,2,2012)}})},i.Re=function(e,t){this.te.width=e,this.te.height=t},i.Me=function(e){if(this.l==cc){var t=this.j;if(e=void 0===e?.1:e,t.l.g)t=!1;else if(t.s)t=!1;else{for(var n=c(t.i.values()),i=n.next();!i.done;i=n.next())!(i=i.value).Bc||i.va||i.Ya||(i.Bc=!1,os(t,i,e));t=!0}}else t=!1;return t},i.tg=function(){return G("Shaka Player's internal Manifest structure is NOT covered by semantic versioning compatibility guarantees. It may change at any time! Please consider filing a feature request for whatever you use getManifest() for."),this.i},i.ug=function(){return this.pd},i.Rf=function(e){this.bd=e},i.cd=function(e,t){if(!this.h.abr.enabled||this.l===sc||!navigator.onLine)return!1;if(this.i.variants.some(function(t){return!(!(t=t[e.type])||t.id===e.id)&&("audio"!=e.type||e.language===t.language)})){for(var n=c(this.i.variants),i=n.next();!i.done;i=n.next()){var r=(i=i.value)[e.type];r&&r.id===e.id&&(i.disabledUntilTime=Date.now()/1e3+t)}return this.dd.Ra(1),zl(this,!0,t=this.eb().video.reduce(function(e,t){return e+t.end-t.start},0),!0,!1),!0}return!1},O("shaka.Player",dl),dl.prototype.setVideoContainer=dl.prototype.Rf,dl.prototype.getManifestParserFactory=dl.prototype.ug,dl.prototype.getManifest=dl.prototype.tg,dl.prototype.retryStreaming=dl.prototype.Me,dl.prototype.setMaxHardwareResolution=dl.prototype.Re,dl.prototype.addChapter
1sTrack=dl.prototype.Yf,dl.prototype.addThumbnailsTrack=dl.prototype.$f,dl.prototype.addTextTrackAsync=dl.prototype.Zf,dl.prototype.getStats=dl.prototype.getStats,dl.prototype.getBufferedInfo=dl.prototype.eb,dl.prototype.getPresentationStartTimeAsDate=dl.prototype.rf,dl.prototype.getPlayheadTimeAsDate=dl.prototype.yg,dl.prototype.setTextTrackVisibility=dl.prototype.th,dl.prototype.getChapters=dl.prototype.mg,dl.prototype.getChaptersTracks=dl.prototype.nf,dl.prototype.isTextTrackVisible=dl.prototype.qe,dl.prototype.selectVariantsByLabel=dl.prototype.oh,dl.prototype.selectTextLanguage=dl.prototype.Jf,dl.prototype.selectAudioLanguage=dl.prototype.If,dl.prototype.getTextLanguages=dl.prototype.Dg,dl.prototype.getAudioLanguages=dl.prototype.jg,dl.prototype.getTextLanguagesAndRoles=dl.prototype.Eg,dl.prototype.getAudioLanguagesAndRoles=dl.prototype.kg,dl.prototype.selectVariantTrack=dl.prototype.Oe,dl.prototype.selectTextTrack=dl.prototype.Kf,dl.prototype.getThumbnails=dl.prototype.tf,dl.prototype.getAllThumbnails=dl.prototype.ig,dl.prototype.getImageTracks=dl.prototype.rg,dl.prototype.getTextTracks=dl.prototype.Sb,dl.prototype.getVariantTracks=dl.prototype.pb,dl.prototype.cancelTrickPlay=dl.prototype.df,dl.prototype.trickPlay=dl.prototype.Xe,dl.prototype.getPlaybackRate=dl.prototype.kd,dl.prototype.isBuffering=dl.prototype.oe,dl.prototype.getKeyStatuses=dl.prototype.hd,dl.prototype.getActiveSessionsMetadata=dl.prototype.he,dl.prototype.getExpiration=dl.prototype.je,dl.prototype.drmInfo=dl.prototype.drmInfo,dl.prototype.keySystem=dl.prototype.keySystem,dl.prototype.goToLive=dl.prototype.Lg,dl.prototype.seekRange=dl.prototype.Hb,dl.prototype.isAudioOnly=dl.prototype.Og,dl.prototype.isInProgress=dl.prototype.Ub,dl.prototype.isLive=dl.prototype.S,dl.prototype.getAdManager=dl.prototype.mf,dl.prototype.getAssetUri=dl.prototype.ie,dl.prototype.getNetworkingEngine=dl.prototype.jd,dl.prototype.getMediaElement=dl.prototype.wg,dl.prototype.getManifestType=dl.prototype.ke,dl.prototype.getLoadMode=dl.prototype.sg,dl.prototype.resetConfiguration=dl.prototype.kh,dl.prototype.getBufferFullness=dl.prototype.lg,dl.prototype.getConfiguration=dl.prototype.getConfiguration,dl.prototype.configure=dl.prototype.configure,dl.prototype.releaseAllMutexes=dl.prototype.hh,dl.prototype.load=dl.prototype.load,dl.prototype.updateStartTime=dl.prototype.yh,dl.prototype.unload=dl.prototype.$b,dl.prototype.detach=dl.prototype.detach,dl.prototype.attachCanvas=dl.prototype.bg,dl.prototype.attach=dl.prototype.qc,dl.probeSupport=function(e){var t,n,i,r,a;return e=void 0===e||e,R(function(o){if(1==o.g)return t={},e?A(o,function(){var e,t,n,i,r,a;return R(function(o){return 1==o.g?(e="org.w3.clearkey com.widevine.alpha com.microsoft.playready com.microsoft.playready.recommendation com.apple.fps.1_0 com.apple.fps com.adobe.primetime".split(" "),n=[{videoCapabilities:t=[{contentType:'video/mp4; codecs="avc1.42E01E"'},{contentType:'video/webm; codecs="vp8"'}],persistentState:"required",sessionTypes:["persistent-license"]},{initDataTypes:["cenc"],videoCapabilities:t}],i=new Map,r=function(e){var t,r,a;return R(function(o){switch(o.g){case 1:if(x(o,2),"org.w3.clearkey"===e&&Zt())throw Error("Unsupported keySystem");return A(o,navigator.requestMediaKeySystemAccess(e,n),4);case 4:return t=o.h,a=!!(r=t.getConfiguration().sessionTypes)&&r.includes("persistent-license"),Xt("Tizen 3")&&(a=!1),i.set(e,{persistentState:a}),A(o,t.createMediaKeys(),5);case 5:T(o,0);break;case 2:C(o),i.set(e,null),w(o)}})},a=e.map(function(e){return r(e)}),A(o,Promise.all(a),2)):o.return(Ti(i))})}(),3):o.B(2);2!=o.g&&(t=o.h);var s={};if(qt())for(var l in Fr)s[l]=!0;for(var d=(l=c(["application/dash+xml","application/x-mpegurl","application/vnd.apple.mpegurl","application/vnd.ms-sstr+xml"])).next();!d.done;d=l.next())s[d=d.value]=qt()?!!Fr[d]:""!=Jt().canPlayType(d);for(n=s,s={},d=(l=c(l='video/mp4; codecs="avc1.42E01E",video/mp4; codecs="avc3.42E01E",video/mp4; codecs="hev1.1.6.L93.90",video/mp4; codecs="hvc1.1.6.L93.90",video/mp4; codecs="hev1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="hvc1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="vp9",video/mp4; codecs="vp09.00.10.08",video/mp4; codecs="av01.0.01M.08",video/mp4; codecs="dvh1.20.01",audio/mp4; codecs="mp4a.40.2",audio/mp4; codecs="ac-3",audio/mp4; codecs="ec-3",audio/mp4; codecs="ac-4",audio/mp4; codecs="opus",audio/mp4; codecs="flac",audio/mp4; codecs="dtsc",audio/mp4; codecs="dtse",audio/mp4; codecs="dtsx",video/webm; codecs="vp8",video/webm; codecs="vp9",video/webm; codecs="vp09.00.10.08",audio/webm; codecs="vorbis",audio/webm; codecs="opus",video/mp2t; codecs="avc1.42E01E",video/mp2t; codecs="avc3.42E01E",video/mp2t; codecs="hvc1.1.6.L93.90",video/mp2t; codecs="mp4a.40.2",video/mp2t; codecs="ac-3",video/mp2t; codecs="ec-3",text/vtt,application/mp4; codecs="wvtt",application/ttml+xml,application/mp4; codecs="stpp"'.split(",").concat(u(At)))).next();!d.done;d=l.next()){s[d=d.value]=qt()?!!xt(d)||(X(d)||!!Ne(d)):""!=Jt().canPlayType(d);var p=d.split(";")[0];s[p]=s[p]||s[d]}for(a in i={manifest:n,media:s,drm:t},r=hc)i[a]=r[a]();return o.return(i)})},dl.isBrowserSupported=function(){if(e.Promise||G("A Promise implementation or polyfill is required"),!(e.Promise&&e.Uint8Array&&Array.prototype.forEach)||Xt("Trident/"))return!1;var t=Zt();return!(t&&9>t||!(e.MediaKeys&&e.navigator&&e.navigator.requestMediaKeySystemAccess&&e.MediaKeySystemAccess&&e.MediaKeySystemAccess.prototype.getConfiguration))&&(!!qt()||""!=Jt().canPlayType("application/x-mpegurl"))},dl.setAdManagerFactory=function(e){fc=e},dl.registerSupportPlugin=function(e,t){hc[e]=t},dl.prototype.destroy=dl.prototype.destroy;var sc=0,lc=1,cc=2,uc=3;dl.LoadMode={DESTROYED:sc,NOT_LOADED:lc,MEDIA_SOURCE:cc,SRC_EQUALS:uc},dl.version="v4.7.1-main-8-g8649e7ebb";var dc=["4","7"];jn=new function(e){this.g=e,this.i=Nn,this.h=Pn}(new Dn(Number(dc[0]),Number(dc[1])));var pc=["output-restricted","internal-error"],hc={},fc=null;function gc(e){return JSON.stringify(e,function(e,t){if("function"!=typeof t){if(t instanceof Event||t instanceof ti){var n={};for(i in t)(e=t[i])&&"object"==typeof e?"detail"==i&&(n[i]=e):i in Event||(n[i]=e);return n}if(t instanceof Error){var i=new Set(["name","message","stack"]);for(n in t)i.add(n);for(n=(e=c(Object.getOwnPropertyNames(t))).next();!n.done;n=e.next())i.add(n.value);for(e={},n=(i=c(i)).next();!n.done;n=i.next())e[n=n.value]=t[n];t={__type__:"Error",contents:e}}else if(t instanceof TimeRanges){for(i={__type__:"TimeRanges",length:t.length,start:[],end:[]},n=(t=c($r(t))).next();!n.done;n=t.next())e=(n=n.value).end,i.start.push(n.start),i.end.push(e);t=i}else t=t instanceof Uint8Array?{__type__:"Uint8Array",entries:Array.from(t)}:"number"==typeof t?isNaN(t)?"NaN":isFinite(t)?t:0>t?"-Infinity":"Infinity":t;return t}})}function mc(e){return JSON.parse(e,function(e,t){if("NaN"==t)var n=NaN;else if("-Infinity"==t)n=-1/0;else if("Infinity"==t)n=1/0;else if(t&&"object"==typeof t&&"TimeRanges"==t.__type__)n=function(e){return{length:e.length,start:function(t){return e.start[t]},end:function(t){return e.end[t]}}}(t);else if(t&&"object"==typeof t&&"Uint8Array"==t.__type__)n=new Uint8Array(t.entries);else if(t&&"object"==typeof t&&"Error"==t.__type__){for(n in e=t.contents,t=Error(e.message),e)t[n]=e[n];n=t}else n=t;return n})}var yc="ended play playing pause pausing ratechange seeked seeking timeupdate volumechange".split(" "),vc="buffered currentTime duration ended loop muted paused playbackRate seeking videoHeight videoWidth volume".split(" "),bc=["loop","playbackRate"],Ac=["pause","play"],wc={getAssetUri:2,getAudioLanguages:4,getAudioLanguagesAndRoles:4,getBufferFullness:1,getBufferedInfo:2,getExpiration:2,getKeyStatuses:2,getPlaybackRate:2,getTextLanguages:4,getTextLanguagesAndRoles:4,getImageTracks:2,getThumbnails:2,isAudioOnly:10,isBuffering:1,isInProgress:1,isLive:10,isTextTrackVisible:1,keySystem:10,seekRange:1,getL
1oadMode:10,getManifestType:10},xc={getConfiguration:4,getStats:5,getTextTracks:2,getVariantTracks:2},kc={getPlayheadTimeAsDate:1,getPresentationStartTimeAsDate:20},Tc=[["getConfiguration","configure"]],Cc=[["isTextTrackVisible","setTextTrackVisibility"]],Ec="addChaptersTrack addTextTrackAsync addThumbnailsTrack cancelTrickPlay configure getChapters getChaptersTracks resetConfiguration retryStreaming selectAudioLanguage selectTextLanguage selectTextTrack selectVariantTrack selectVariantsByLabel setTextTrackVisibility trickPlay updateStartTime goToLive".split(" "),Sc=["attach","attachCanvas","detach","load","unload"];function Lc(e,t,n,i,r,a,o){var s=this;this.F=e,this.M=o,this.j=new _t(t),this.R=n,this.u=!1,this.s=i,this.D=r,this.I=a,this.h=this.m=!1,this.K="",this.o=null,this.A=function(){return Nc(s)},this.C=function(e,t){switch((e=mc(t)).type){case"event":var n=e.targetName,i=ni(e.event);s.s(n,i);break;case"update":for(i in n=e.update)for(var r in e=s.g[i]||{},n[i])e[r]=n[i][r];s.u&&(s.R(),s.u=!1);break;case"asyncComplete":if(i=e.id,r=e.error,e=s.i[i],delete s.i[i],e)if(r){for(n in i=new nt(r.severity,r.category,r.code),r)i[n]=r[n];e.reject(i)}else e.resolve()}},this.g={video:{},player:{}},this.G=0,this.i={},this.l=null,Oc.add(this)}function Mc(e,t,n){Bc=n,n.addUpdateListener(e.A),n.addMessageListener("urn:x-cast:com.google.shaka.v2",e.C),Nc(e),jc(e,{type:"init",initState:t,appData:e.o}),e.l.resolve()}function Ic(e,t){var n=8003;switch(t.code){case"cancel":n=8004;break;case"timeout":n=8005;break;case"receiver_unavailable":n=8006}e.l.reject(new nt(2,8,n,t))}function Dc(e,t){var n=e.I();e.l=new Wn,e.u=!0,Mc(e,n,t)}function Rc(e){var t=Bc;t.removeUpdateListener(e.A),t.removeMessageListener("urn:x-cast:com.google.shaka.v2",e.C)}function Nc(e){var t=!!Bc&&"connected"==Bc.status;if(e.h&&!t){for(var n in e.D(),e.g)e.g[n]={};Pc(e)}e.h=t,e.K=t?Bc.receiver.friendlyName:"",e.j.Zb()}function Pc(e){for(var t in e.i){var n=e.i[t];delete e.i[t],n.reject(new nt(1,7,7e3))}}function jc(e,t){t=gc(t);var n=Bc;try{n.sendMessage("urn:x-cast:com.google.shaka.v2",t,function(){},W)}catch(i){throw t=new nt(2,8,8005,i),n=new ti("error",(new Map).set("detail",t)),e.s("player",n),e.Pb(),t}}(i=Lc.prototype).destroy=function(){return Oc.delete(this),Pc(this),Bc&&Rc(this),this.j&&(this.j.stop(),this.j=null),this.D=this.s=null,this.h=this.m=!1,this.C=this.A=this.l=this.i=this.g=this.o=null,Promise.resolve()},i.Ga=function(){return this.h},i.Ke=function(){return this.K},i.init=function(){if(this.F.length)if(e.chrome&&chrome.cast&&chrome.cast.isAvailable){this.m=!0,this.j.Zb();var t=new chrome.cast.SessionRequest(this.F,[],null,this.M,null);t=new chrome.cast.ApiConfig(t,function(e){for(var t=c(Oc),n=t.next();!n.done;n=t.next())Dc(n.value,e)},function(e){for(var t=c(Oc),n=t.next();!n.done;n=t.next())n=n.value,Hc="available"==e,n.j.Zb()},"origin_scoped"),chrome.cast.initialize(t,function(){},function(){}),Hc&&this.j.U(Vc),(t=Bc)&&t.status!=chrome.cast.SessionStatus.STOPPED?Dc(this,t):Bc=null}else e.__onGCastApiAvailable!==Fc&&(Uc=e.__onGCastApiAvailable||null,e.__onGCastApiAvailable=Fc)},i.Pe=function(e){this.o=e,this.h&&jc(this,{type:"appData",appData:this.o})},i.cast=function(e){var t=this;return R(function(n){if(!t.m)throw new nt(1,8,8e3);if(!Hc)throw new nt(1,8,8001);if(t.h)throw new nt(1,8,8002);return t.l=new Wn,chrome.cast.requestSession(function(n){return Mc(t,e,n)},function(e){return Ic(t,e)}),A(n,t.l,0)})},i.Pb=function(){if(this.h){if(Pc(this),Bc){Rc(this);try{Bc.stop(function(){},function(){})}catch(e){}Bc=null}Nc(this)}},i.get=function(e,t){var n=this;if("video"==e){if(Ac.includes(t))return function(){return n.Hf.apply(n,[e,t].concat(u(N.apply(0,arguments))))}}else if("player"==e){if(kc[t]&&!this.get("player","isLive")())return function(){};if(Ec.includes(t))return function(){return n.Hf.apply(n,[e,t].concat(u(N.apply(0,arguments))))};if(Sc.includes(t))return function(){return n.ih.apply(n,[e,t].concat(u(N.apply(0,arguments))))};if(wc[t]||xc[t])return function(){return n.g[e][t]}}return this.g[e][t]},i.set=function(e,t,n){this.g[e][t]=n,jc(this,{type:"set",targetName:e,property:t,value:n})},i.Hf=function(e,t){jc(this,{type:"call",targetName:e,methodName:t,args:N.apply(2,arguments)})},i.ih=function(e,t){var n=N.apply(2,arguments),i=new Wn,r=this.G.toString();this.G++,this.i[r]=i;try{jc(this,{type:"asyncCall",targetName:e,methodName:t,args:n,id:r})}catch(e){i.reject(e)}return i};var Vc=.02,Hc=!1,Bc=null,Uc=null,Oc=new Set;function Fc(t){if(Uc?e.__onGCastApiAvailable=Uc:delete e.__onGCastApiAvailable,Uc=null,t)for(var n=c(Oc),i=n.next();!i.done;
1i=n.next())i.value.init();"function"==typeof e.__onGCastApiAvailable&&e.__onGCastApiAvailable(t)}function zc(e,t,n,i){i=void 0!==i&&i,ri.call(this);var r=this;this.i=e,this.h=t,this.m=this.o=this.j=this.s=this.l=null,this.C=n,this.A=i,this.u=new Map,this.g=new Lc(n,function(){return Kc(r)},function(){return Gc(r)},function(e,t){return Yc(r,e,t)},function(){return Qc(r)},function(){return qc(r)},i),function(e){e.g.init(),e.m=new bi;for(var t=c(yc),n=t.next();!n.done;n=t.next())e.m.H(e.i,n.value,function(t){e.g.Ga()||(t=ni(t),e.j.dispatchEvent(t))});for(var i in ii)e.m.H(e.h,ii[i],function(t){e.g.Ga()||e.o.dispatchEvent(t)});for(var r in e.l={},t={},e.i)t.fc=r,Object.defineProperty(e.l,t.fc,{configurable:!1,enumerable:!0,get:function(t){return function(){return Wc(e,t.fc)}}(t),set:function(t){return function(n){var i=t.fc;e.g.Ga()?e.g.set("video",i,n):e.i[i]=n}}(t)}),t={fc:t.fc};e.s={},_c(e,function(t){Object.defineProperty(e.s,t,{configurable:!1,enumerable:!0,get:function(){return function(e,t){if(e.u.has(t)&&(t=e.u.get(t)),"addEventListener"==t)return function(t,n,i){return e.o.addEventListener(t,n,i)};if("removeEventListener"==t)return function(t,n,i){return e.o.removeEventListener(t,n,i)};if("getMediaElement"==t)return function(){return e.l};if("getSharedConfiguration"==t)return e.g.get("player","getConfiguration");if("getNetworkingEngine"==t)return function(){return e.h.jd()};if("getDrmEngine"==t)return function(){return e.h.o};if("getAdManager"==t)return function(){return e.h.mf()};if("setVideoContainer"==t)return function(t){return e.h.Rf(t)};if(e.g.Ga()){if("getManifest"==t||"drmInfo"==t)return function(){return G(t+"() does not work while casting!"),null};if("attach"==t||"detach"==t)return function(){return G(t+"() does not work while casting!"),Promise.resolve()}}return e.g.Ga()&&0==Object.keys(e.g.g.video).length&&(wc[t]||xc[t])||!e.g.Ga()?e.h[t].bind(e.h):e.g.get("player",t)}(e,t)}})}),function(e){var t=new Map;_c(e,function(n,i){t.has(i)?(i=t.get(i),n.length<i.length?e.u.set(n,i):e.u.set(i,n)):t.set(i,n)})}(e),e.j=new ri,e.j.ed=e.l,e.o=new ri,e.o.ed=e.s}(this)}function _c(e,t){function n(e){return"constructor"!=e&&"function"==typeof r[e]&&!a.has(e)}var i,r=e.h,a=new Set;for(i in r)n(i)&&(a.add(i),t(i,r[i]));for(e=Object.getPrototypeOf(r),i=Object.getPrototypeOf({});e&&e!=i;){for(var o=c(Object.getOwnPropertyNames(e)),s=o.next();!s.done;s=o.next())n(s=s.value)&&(a.add(s),t(s,r[s]));e=Object.getPrototypeOf(e)}}function qc(e){var t={video:{},player:{},playerAfterLoad:{},manifest:e.h.ie(),startTime:null};e.i.pause();for(var n=c(bc),i=n.next();!i.done;i=n.next())i=i.value,t.video[i]=e.i[i];for(e.i.ended||(t.startTime=e.i.currentTime),i=(n=c(Tc)).next();!i.done;i=n.next()){var r=i.value;i=r[1],r=e.h[r[0]](),t.player[i]=r}for(i=(n=c(Cc)).next();!i.done;i=n.next())i=(r=i.value)[1],r=e.h[r[0]](),t.playerAfterLoad[i]=r;return t}function Kc(e){var t=new ti("caststatuschanged");e.dispatchEvent(t)}function Gc(e){var t=new ti(e.l.paused?"pause":"play");e.j.dispatchEvent(t)}function Qc(e){for(var t=c(Tc),n=t.next();!n.done;n=t.next()){var i=n.value;n=i[1],i=e.g.get("player",i[0])(),e.h[n](i)}var r=e.g.get("player","getAssetUri")();n=e.g.get("video","ended"),t=Promise.resolve();var a=e.i.autoplay;i=null,n||(i=e.g.get("video","currentTime")),r&&(e.i.autoplay=!1,t=e.h.load(r,i));var o={};for(i=(n=c(bc)).next();!i.done;i=n.next())i=i.value,o[i]=e.g.get("video",i);t.then(function(){if(e.i){for(var t=c(bc),n=t.next();!n.done;n=t.next())n=n.value,e.i[n]=o[n];for(n=(t=c(Cc)).next();!n.done;n=t.next()){var i=n.value;n=i[1],i=e.g.get("player",i[0])(),e.h[n](i)}e.i.autoplay=a,r&&e.i.play()}},function(t){t=new ti("error",t=(new Map).set("detail",t)),e.h.dispatchEvent(t)})}function Wc(e,t){if("addEventListener"==t)return function(t,n,i){return e.j.addEventListener(t,n,i)};if("removeEventListener"==t)return function(t,n,i){return e.j.removeEventListener(t,n,i)};if(e.g.Ga()&&0==Object.keys(e.g.g.video).length){var n=e.i[t];if("function"!=typeof n)return n}return e.g.Ga()?e.g.get("video",t):("function"==typeof(t=e.i[t])&&(t=t.bind(e.i)),t)}function Yc(e,t,n){e.g.Ga()&&("video"==t?e.j.dispatchEvent(n):"player"==t&&e.o.dispatchEvent(n))}function Zc(e,t,n,i){ri.call(this);var r=this;this.g=e,this.h=t,this.j=new bi,this.G={video:e,player:t},this.C=n||function(){},this.I=i||function(e){return e},this.i=null,this.D=!1,this.o=!0,this.m=0,this.A=!1,this.u=!0,this.s=this.l=null,this.F=new _t(function(){eu(r)}),function(e){var t=cast.receiver.CastReceiverManager.getInstance();t.onSenderConnected=function(){return Xc(e)},t.onSenderDisconnected=function(){return Xc(e)},t.onSystemVolumeChanged=function(){var t=cast.receiver.CastReceiverManager.getInstance().getSystemVolume();t&&ru(e,{type:"update",update:{video:{volume:t.level,muted:t.muted}}},e.l),ru(e,{type:"event",targetName:"video",event:{type:"volumechange"}},e.l)},e.s=t.getCastMessageBus("urn:x-cast:com.google.cast.media"),e.s.onMessage=function(t){return function(e,t){var n=mc(t.data);switch(n.type){case"PLAY":e.g.play(),au(e);break;case"PAUSE":e.g.pause(),au(e);break;case"SEEK":t=n.currentTime;var i=n.resumeState;null!=t&&(e.g.currentTime=Number(t)),i&&"PLAYBACK_START"==i?(e.g.play(),au(e)):i&&"P
1LAYBACK_PAUSE"==i&&(e.g.pause(),au(e));break;case"STOP":e.h.$b().then(function(){e.h&&au(e)});break;case"GET_STATUS":nu(e,Number(n.requestId));break;case"VOLUME":t=(i=n.volume).level,i=i.muted;var r=e.g.volume,a=e.g.muted;null!=t&&(e.g.volume=Number(t)),null!=i&&(e.g.muted=i),r==e.g.volume&&a==e.g.muted||au(e);break;case"LOAD":e.m=0,e.A=!1,e.u=!1,t=n.media,i=n.currentTime,r=e.I(t.contentId),a=n.autoplay||!0,e.C(t.customData),a&&(e.g.autoplay=!0),e.h.load(r,i).then(function(){e.h&&nu(e)}).catch(function(t){var i="LOAD_FAILED";7==t.category&&7e3==t.code&&(i="LOAD_CANCELLED"),ru(e,{requestId:Number(n.requestId),type:i},e.s)});break;default:ru(e,{requestId:Number(n.requestId),type:"INVALID_REQUEST",reason:"INVALID_COMMAND"},e.s)}}(e,t)},e.l=t.getCastMessageBus("urn:x-cast:com.google.shaka.v2"),e.l.onMessage=function(t){return function(e,t){var n=mc(t.data);switch(n.type){case"init":e.m=0,e.A=!1,e.u=!0,function(e,t,n){var i,r,a,o,s,l,c,u,d,p;R(function(h){switch(h.g){case 1:for(i in t.player)r=t.player[i],e.h[i](r);return e.C(n),a=e.g.autoplay,t.manifest?(e.g.autoplay=!1,x(h,5),A(h,e.h.load(t.manifest,t.startTime),7)):A(h,Promise.resolve(),3);case 7:T(h,3);break;case 5:return o=C(h),s=(new Map).set("detail",o),l=new ti("error",s),e.h&&e.h.dispatchEvent(l),h.return();case 3:if(!e.h)return h.return();for(c in t.video)u=t.video[c],e.g[c]=u;for(d in t.playerAfterLoad)p=t.playerAfterLoad[d],e.h[d](p);e.g.autoplay=a,t.manifest&&(e.g.play(),au(e)),w(h)}})}(e,n.initState,n.appData),eu(e);break;case"appData":e.C(n.appData);break;case"set":var i=n.targetName,r=n.property;if(n=n.value,"video"==i){if(t=cast.receiver.CastReceiverManager.getInstance(),"volume"==r){t.setSystemVolumeLevel(n);break}if("muted"==r){t.setSystemVolumeMuted(n);break}}e.G[i][r]=n;break;case"call":(i=e.G[n.targetName])[n.methodName].apply(i,n.args);break;case"asyncCall":i=n.targetName,r=n.methodName,"player"==i&&"load"==r&&(e.m=0,e.A=!1);var a=n.id,o=t.senderId;n=(t=e.G[i])[r].apply(t,n.args),"player"==i&&"load"==r&&(n=n.then(function(){e.u=!0})),n.then(function(){return iu(e,o,a,null)},function(t){return iu(e,o,a,t)})}}(e,t)},t.start();for(var n=(t=c(yc)).next();!n.done;n=t.next())e.j.H(e.g,n.value,function(t){return $c(e,"video",t)});for(var i in ii)e.j.H(e.h,ii[i],function(t){return $c(e,"player",t)});cast.__platform__&&cast.__platform__.canDisplayType('video/mp4; codecs="avc1.640028"; width=3840; height=2160')?e.h.Re(3840,2160):e.h.Re(1920,1080),e.j.H(e.g,"loadeddata",function(){e.A=!0}),e.j.H(e.h,"loading",function(){e.o=!1,Jc(e)}),e.j.H(e.g,"playing",function(){e.o=!1,Jc(e)}),e.j.H(e.g,"pause",function(){Jc(e)}),e.j.H(e.h,"unloading",function(){e.o=!0,Jc(e)}),e.j.H(e.g,"ended",function(){new _t(function(){e.g&&e.g.ended&&(e.o=!0,Jc(e))}).U(su)})}(this)}function Xc(e){e.m=0,e.u=!0,e.D=0!=cast.receiver.CastReceiverManager.getInstance().getSenders().length,Jc(e)}function Jc(e){var t;R(function(n){return 1==n.g?A(n,Promise.resolve(),2):e.h?(t=new ti("caststatuschanged"),e.dispatchEvent(t),tu(e)||au(e),void w(n)):n.return()})}function $c(e,t,n){e.h&&(eu(e),ru(e,{type:"event",targetName:t,event:n},e.l))}function eu(e){e.F.U(ou);for(var t={video:{},player:{}},n=c(vc),i=n.next();!i.done;i=n.next())i=i.value,t.video[i]=e.g[i];if(e.h.S())for(var r in kc)0==e.m%kc[r]&&(t.player[r]=e.h[r]());for(var a in wc)0==e.m%wc[a]&&(t.player[a]=e.h[a]());for(var o in(n=cast.receiver.CastReceiverManager.getInstance().getSystemVolume())&&(t.video.volume=n.level,t.video.muted=n.muted),ru(e,{type:"update",update:t},e.l),xc)0==e.m%xc[o]&&((t={player:{}}).player[o]=e.h[o](),ru(e,{type:"update",update:t},e.l));e.A&&(e.m+=1),tu(e)}function tu(e){return!(!e.u||!e.g.duration&&!e.h.S())&&(nu(e),e.u=!1,!0)}function nu(e,t){var n={contentId:e.h.ie(),streamType:e.h.S()?"LIVE":"BUFFERED",contentType:""};e.h.S()||(n.duration=e.g.duration),e.i&&(n.metadata=e.i),au(e,void 0===t?0:t,n)}function iu(e,t,n,i){e.h&&ru(e,{type:"asyncComplete",id:n,error:i},e.l,t)}function ru(e,t,n,i){e.D&&(e=gc(t),i?n.getCastChannel(i).send(e):n.broadcast(e))}function au(e,t,n){n=void 0===n?null:n;var i={mediaSessionId:0,playbackRate:e.g.playbackRate,playerState:e.o?lu:e.h.oe()?uu:e.g.paused?du:cu,currentTime:e.g.currentTime,supportedMediaCommands:63,volume:{level:e.g.volume,muted:e.g.muted}};n&&(i.media=n),ru(e,{requestId:void 0===t?0:t,type:"MEDIA_STATUS",status:[i]},e.s)}m(zc,ri),(i=zc.prototype).destroy=function(e){return e&&this.g.Pb(),this.m&&(this.m.release(),this.m=null),e=[],this.h&&(e.push(this.h.destroy()),this.h=null),this.g&&(e.push(this.g.destroy()),this.g=null),this.s=this.l=this.i=null,ri.prototype.release.call(this),Promise.all(e)},i.Jg=function(){return this.l},i.xg=function(){return this.s},i.cg=function(){return this.g.m&&Hc},i.Ga=function(){return this.g.Ga()},i.Ke=function(){return this.g.Ke()},i.cast=function(){var e,t=this;return R(function(n){return 1==n.g?(e=qc(t),A(n,t.g.cast(e),2)):t.h?A(n,t.h.$b(),0):n.return()})},i.Pe=function(e){this.g.Pe(e)},i.uh=function(){!function(e){if(e.h){var t=e.I();chrome.cast.requestSession(function(n){return Mc(e,t,n)},function(t){return Ic(e,t)})}}(this.g)},i.Pb=function(){this.g.Pb()},i.dg=function(e,t){t=void 0!==t&&t;var n=this;return R(function(i){if(1==i.g)return e==n.C&&t==n.A?i.return():(n.C=e,n.A=t,n.g.Pb(),A(i,n.g.destroy(),2));n.g=null,n.g=new Lc(e,function(){return Kc(n)},function(){return Gc(n)},function(e,t){return Yc(n,e,t)},function(){return Qc(n)},function(){return qc(n)},t),n.g.init(),w(i)})},O("shaka.cast.CastProxy",zc),zc.prototype.changeReceiverId=zc.prototype.dg,zc.prototype.forceDisconnect=zc.prototype.Pb,zc.prototype.suggestDisconnect=zc.prototype.uh,zc.prototype.setAppData=zc.prototype.Pe,zc.prototype.cast=zc.prototype.cast,zc.prototype.receiverName=zc.prototype.Ke,zc.prototype.isCasting=zc.prototype.Ga,zc.prototype.canCast=zc.prototype.cg,zc.prototype.getPlayer=zc.prototype.xg,zc.prototype.getVideo=zc.prototype.Jg,zc.prototype.destroy=zc.prototype.destroy,m(Zc,ri),(i=Zc.prototype).isConnected=function(){return this.D},i.Pg=function(){return this.o},i.rh=function(e){this.i=e},i.gg=function(){this.i=null},i.sh=function(e){this.i||(this.i={metadataType:cast.receiver.media.MetadataType.GENERIC}),this.i.title=e},i.qh=function(e){this.i||(this.i={metadataType:cast.receiver.media.MetadataType.GENERIC}),this.i.images=[{url:e}]},i.ph=function(e){this.i||(this.i={}),this.i.artist=e,this.i.metadataType=cast.receiver.media.MetadataType.MUSIC_TRACK},i.destroy=function(){var e,t=this;return R(function(n){if(1==n.g)return t.j&&(t.j.release(),t.j=null),e=[],t.h&&(e.push(t.h.destroy()),t.h=null),t.F&&(t.F.stop(),t.F=null),t.g=null,t.G=null,t.C=null,t.D=!1,t.o=!0,t.l=null,t.s=null,ri.prototype.release.call(t),A(n,Promise.all(e),2);cast.receiver.CastReceiverManager.getInstance().stop(),w(n)})},O("shaka.cast.CastReceiver",Zc),Zc.prototype.destroy=Zc.prototype.destroy,Zc.prototype.setContentArtist=Zc.prototype.ph,Zc.prototype.setContentImage=Zc.prototype.qh,Zc.prototype.setContentTitle=Zc.prototype.sh,Zc.prototype.clearContentMetadata=Zc.prototype.gg,Zc.prototype.setContentMetadata=Zc.prototype.rh,Zc.prototype.isIdle=Zc.prototype.Pg,Zc.prototype.isConnected=Zc.prototype.isConnected;var ou=.5,su=5,lu="IDLE",cu="PLAYING",uu="BUFFERING",du="PAUSED";function pu(t,n,i){var r=function(e){for(var t=[],n=(e=c(e)).next();!n.done;n=e.next())(n=fu(n.value))&&t.push(n);return t}(t),a=null;t=[];var o=[],s=null,l=new Set(r.map(function(e){return e.keyId}));if(l.delete(null),1<l.size)throw new nt(2,4,4010);
1if(!n){if(o=r.filter(function(e){return"urn:mpeg:dash:sea:2012"==e.Lc}),1<o.length)throw new nt(2,4,4050);o.length&&(s=function(t){if(!e.crypto||!e.crypto.subtle)throw G("Web Crypto API is not available to decrypt AES-128. (Web Crypto only exists in secure origins like https)"),new nt(2,4,4042);var n=tr(t.node,"urn:mpeg:dash:schema:sea:2012","SegmentEncryption");if(!n)throw new nt(2,4,4051);if("urn:mpeg:dash:sea:aes128-cbc:2013"!=n.getAttribute("schemeIdUri"))throw new nt(2,4,4051);if(n=tr(t.node,"urn:mpeg:dash:schema:sea:2012","CryptoPeriod"),!n)throw new nt(2,4,4051);if(t=n.getAttribute("IV"),n=n.getAttribute("keyUriTemplate"),!t||!n)throw new nt(2,4,4051);if(t=Yi(t.substr(2)),16!=t.byteLength)throw new nt(2,4,4048);return{Ug:n,iv:t}}(o[0])),o=r.filter(function(e){return"urn:mpeg:dash:mp4protection:2011"==e.Lc?(a=e.init||a,!1):"urn:mpeg:dash:sea:2012"!=e.Lc}),o.length&&(t=function(e,t,n,i){for(var r=[],a=(t=c(t)).next();!a.done;a=t.next()){var o=n[(a=a.value).Lc];if(o){var s;if(s=tr(a.node,"urn:microsoft:playready","pro")){s=Wi(s.textContent);var l=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);s=[{initData:$i(s,l,new Set,0),initDataType:"cenc",keyId:a.keyId}]}else s=null;if(l=null,"urn:uuid:e2719d58-a985-b3c9-781a-b030af78d30e"===a.Lc)if(0==(l=i).size)l=null;else{var u=new Uint8Array([16,119,239,236,192,178,77,2,172,227,60,30,82,226,251,75]);l=[{initData:$i(new Uint8Array([]),u,l,1),initDataType:"cenc",keyId:a.keyId}]}s=at(o,a.init||e||s||l),(o=mu.get(o))&&(s.licenseServerUri=o(a)),r.push(s)}}return r}(a,o,i,l),0==t.length&&(t=[at("",a)]))}if(r.length&&!s&&(n||!o.length))for(t=[],i=(n=c(Object.values(i))).next();!i.done;i=n.next())"org.w3.clearkey"!=(i=i.value)&&t.push(at(i,a));if(l=Array.from(l)[0]||null)for(i=(n=c(t)).next();!i.done;i=n.next())for(r=(i=c(i.value.initData)).next();!r.done;r=i.next())r.value.keyId=l;return{hf:l,ti:a,drmInfos:t,Nd:s,lf:!0}}function hu(e){var t=tr(e.node,"https://dashif.org/CPS","Laurl");return t&&t.textContent?t.textContent:(e=tr(e.node,"urn:microsoft:playready","pro"))?(e=function(e){var t=0,n=le(e),i=n.getUint32(t,!0);if(i!=e.byteLength)return[];e:{for(e=t+6,t=[];e<n.byteLength-1;){i=n.getUint16(e,!0),e+=2;var r=n.getUint16(e,!0);if(e+=2,1&r||r+e>n.byteLength){n=[];break e}var a=oe(n,e,r);t.push({type:i,value:a}),e+=r}n=t}return n}(e=Wi(e.textContent)).filter(function(e){return e.type===gu})[0],e&&(e=yr(e=Li(e.value,!0),"WRMHEADER"))?function(e){for(var t=(e=c(e.getElementsByTagName("DATA"))).next();!t.done;t=e.next())for(var n=(t=c(t.value.childNodes)).next();!n.done;n=t.next())if((n=n.value)instanceof Element&&"LA_URL"==n.tagName)return n.textContent;return""}(e):""):""}function fu(e){var t=e.getAttribute("schemeIdUri"),n=rr(e,"urn:mpeg:cenc:2013","default_KID"),i=ir(e,"urn:mpeg:cenc:2013","pssh").map(ar);if(!t)return null;if(t=t.toLowerCase(),n&&(n=n.replace(/-/g,"").toLowerCase()).includes(" "))throw new nt(2,4,4009);var r=[];try{r=i.map(function(e){return{initDataType:"cenc",initData:Wi(e),keyId:null}})}catch(e){throw new nt(2,4,4007)}return{node:e,Lc:t,keyId:n,init:0<r.length?r:null}}var gu=1,mu=(new Map).set("com.widevine.alpha",function(e){var t=tr(e.node,"https://dashif.org/CPS","Laurl");return t&&t.textContent?t.textContent:(e=tr(e.node,"urn:microsoft","laurl"))&&e.getAttribute("licenseUrl")||""}).set("com.microsoft.playready",hu).set("com.microsoft.playready.recommendation",hu).set("com.microsoft.playready.software",hu).set("com.microsoft.playready.hardware",hu).set("org.w3.clearkey",function(e){var t=tr(e.node,"https://dashif.org/CPS","Laurl");return t&&t.textContent?t.textContent:(e=tr(e.node,"http://dashif.org/guidelines/clearKey","Laurl"))&&"EME-1.0"===e.getAttribute("Lic_type")&&e.textContent?e.textContent:""});function yu(t,n,i,r,a,o){var s={RepresentationID:n,Number:i,SubNumber:r,Bandwidth:a,Time:o};return t.replace(/\$(RepresentationID|Number|SubNumber|Bandwidth|Time)?(?:%0([0-9]+)([diouxX]))?\$/g,function(t,n,i,r){if("$$"==t)return"$";var a=s[n];if(null==a)return t;switch("RepresentationID"==n&&i&&(i=void 0),"Time"==n&&"bigint"!=typeof a&&(.2<=Math.abs(a-Math.round(a))&&G("Calculated $Time$ values must be close to integers"),a=Math.round(a)),r){case void 0:case"d":case"i":case"u":t=a.toString();break;case"o":t=a.toString(8);break;case"x":t=a.toString(16);break;case"X":t=a.toString(16).toUpperCase();break;default:t=a.toString()}return i=e.parseInt(i,10)||1,Array(Math.max(0,i-t.length)+1).join("0")+t})}function vu(e,t){var n=Au(e,t,"timescale"),i=1;n&&(i=pr(n)||1);var r=Au(e,t,"duration");n=pr(r||""),"image"==e.L.contentType&&(n=fr(r||"")),n&&(n/=i);var a=Au(e,t,"startNumber");r=Number(Au(e,t,"presentationTimeOffset"))||0;var o=hr(a||"");null!=a&&null!=o||(o=1);var s=wu(e,t,"SegmentTimeline");if(t=null,s){t=i,e=e.Z.duration||1/0,a=o,s=nr(s,"S");for(var l=[],c=-r,u=0;u<s.length;++u){var d=s[u],p=s[u+1],h=sr(d,"t",hr),f=sr(d,"d",hr),g=sr(d,"r",dr);if(d=sr(d,"k",dr)||0,null!=h&&(h-=r),!f)break;
1if(h=null!=h?h:c,0>(g=g||0))if(p){if(null==(p=sr(p,"t",hr)))break;if(h>=p)break;g=Math.ceil((p-h)/f)-1}else{if(1/0==e)break;if(h/t>=e)break;g=Math.ceil((e*t-h)/f)-1}for(0<l.length&&h!=c&&(l[l.length-1].end=h/t),p=0;p<=g;++p)c=h+f,l.push({start:h/t,end:c/t,Ze:h,Ua:d,nh:l.length+a}),h=c}t=l}return{timescale:i,qa:n,Pc:o,ib:r/i||0,Ye:r,timeline:t}}function bu(e,t){return[t(e.L),t(e.ja),t(e.na)].filter(Lt)}function Au(e,t,n){t=bu(e,t),e=null;for(var i=(t=c(t)).next();!i.done&&!(e=i.value.getAttribute(n));i=t.next());return e}function wu(e,t,n){t=bu(e,t),e=null;for(var i=(t=c(t)).next();!i.done&&!(e=er(i.value,n));i=t.next());return e}function xu(e,t,n,i,r,a){if(a=void 0===a?0:a,rr(e,"http://www.w3.org/1999/xlink","href")){var o=function(e,t,n,i,r,a){for(var o=rr(e,"http://www.w3.org/1999/xlink","href"),s=rr(e,"http://www.w3.org/1999/xlink","actuate")||"onRequest",l=c(Array.from(e.attributes)),u=l.next();!u.done;u=l.next())"http://www.w3.org/1999/xlink"==(u=u.value).namespaceURI&&e.removeAttributeNS(u.namespaceURI,u.localName);if(5<=a)return Zn(new nt(2,4,4028));if("onLoad"!=s)return Zn(new nt(2,4,4027));var d=rt([i],[o]);return r.request(0,ci(d,t)).ya(function(i){if(!(i=vr(i.data,e.tagName)))return Zn(new nt(2,4,4001,o));for(;e.childNodes.length;)e.removeChild(e.childNodes[0]);for(;i.childNodes.length;){var s=i.childNodes[0];i.removeChild(s),e.appendChild(s)}for(s=(i=c(Array.from(i.attributes))).next();!s.done;s=i.next())e.setAttributeNode(s.value.cloneNode(!1));return xu(e,t,n,d[0],r,a+1)})}(e,t,n,i,r,a);return n&&(o=o.ya(void 0,function(){return xu(e,t,n,i,r,a)})),o}o=[];for(var s=c(Array.from(e.childNodes)),l=s.next();!l.done;l=s.next())(l=l.value)instanceof Element&&("urn:mpeg:dash:resolve-to-zero:2013"==rr(l,"http://www.w3.org/1999/xlink","href")?e.removeChild(l):"SegmentTimeline"!=l.tagName&&o.push(xu(l,t,n,i,r,a)));return ei(o).ya(function(){return e})}function ku(e,t,n,i,r,a,o){var s,l=(new Vi).aa("sidx",function(e){s=function(e,t,n,i,r,a,o){var s=[];o.reader.skip(4);var l=o.reader.T();if(0==l)throw new nt(2,3,3005);if(0==o.version)var c=o.reader.T(),u=o.reader.T();else c=o.reader.Jc(),u=o.reader.Jc();o.reader.skip(2);var d=o.reader.Ba();for(e=e+o.size+u,u=0;u<d;u++){var p=o.reader.T(),h=(2147483648&p)>>>31;p&=2147483647;var f=o.reader.T();if(o.reader.skip(4),1==h)throw new nt(2,3,3006);s.push(new Qr(c/l+n,(c+f)/l+n,function(){return a},e,e+p-1,t,n,i,r)),c+=f,e+=p}return o.parser.stop(),s}(t,i,r,a,o,n,e)});if(e&&l.parse(e),s)return s;throw new nt(2,3,3004)}function Tu(e){this.h=le(e),this.g=new Ni(this.h,0)}function Cu(e){var t=Eu(e);if(7<t.length)throw new nt(2,3,3002);for(var n=0,i=(t=c(t)).next();!i.done;i=t.next())n=256*n+i.value;t=Eu(e);e:{for(var r=(i=c(Su)).next();!r.done;r=i.next())if(ie(t,new Uint8Array(r.value))){i=!0;break e}i=!1}if(i)t=e.h.byteLength-e.g.J;else{if(8==t.length&&224&t[1])throw new nt(2,3,3001);for(r=i=0;r<t.length;r++){var a=t[r];i=0==r?a&(1<<8-t.length)-1:256*i+a}t=i}return t=e.g.J+t<=e.h.byteLength?t:e.h.byteLength-e.g.J,i=le(e.h,e.g.J,t),e.g.skip(t),new Lu(n,i)}function Eu(e){var t=e.g.J,n=e.g.Ca();if(0==n)throw new nt(2,3,3002);return n=8-Math.floor(Math.log2(n)),e.g.skip(n-1),oe(e.h,t,n)}Tu.prototype.oa=function(){return this.g.oa()};var Su=[[255],[127,255],[63,255,255],[31,255,255,255],[15,255,255,255,255],[7,255,255,255,255,255],[3,255,255,255,255,255,255],[1,255,255,255,255,255,255,255]];function Lu(e,t){this.id=e,this.g=t}function Mu(e){if(8<e.g.byteLength)throw new nt(2,3,3002);if(8==e.g.byteLength&&224&e.g.getUint8(0))throw new nt(2,3,3001);for(var t=0,n=0;n<e.g.byteLength;n++){t=256*t+e.g.getUint8(n)}return t}function Iu(e){var t=new Tu(e.g);if(179!=(e=Cu(t)).id)throw new nt(2,3,3013);if(e=Mu(e),183!=(t=Cu(t)).id)throw new nt(2,3,3012);t=new Tu(t.g);for(var n=0;t.oa();){var i=Cu(t);if(241==i.id){n=Mu(i);break}}return{xh:e,gh:n}}function Du(e,t,n){if(!(t=wu(e,t,"Initialization")))return null;var i=e.L.Ta(),r=t.getAttribute("sourceURL");r&&(i=rt(i,[r])),r=0;var a=null;return(t=sr(t,"range",ur))&&(r=t.start,a=t.end),new Kr(function(){return i},r,a,Hu(e),null,null,n)}function Ru(e,t,n){var i=Number(Au(e,Pu,"presentationTimeOffset"))||0,r=Au(e,Pu,"timescale"),a=1;r&&(a=pr(r)||1);var o=i/a||0,s=Du(e,Pu,n);!function(e,t){if(Vu(e,t),!ju(e))throw new nt(2,4,4002)}
1(e,s);var l=Ft(e);return{Qb:function(){var e=wu(l,Pu,"RepresentationIndex"),n=l.L.Ta();return e&&(e=e.getAttribute("sourceURL"))&&(n=rt(n,[e])),e=ju(l),Nu(l,t,s,n,e.start,e.end,o)}}}function Nu(e,t,n,i,r,a,o){var s,l,c,u,d,p,h,f,g,m,y,v,b,w,x;return R(function(k){if(1==k.g)return s=e.presentationTimeline,l=!e.mb||!e.Z.pe,c=e.Z.start,u=e.Z.duration,d=e.L.mimeType.split("/")[1],h=null,f=[(p=t)(i,r,a,!1),"webm"==d?p(n.ba(),n.Xa,n.za,!0):null],p=null,A(k,Promise.all(f),2);if(g=k.h,m=g[0],y=g[1]||null,null,b=c-o,w=c,x=u?c+u:1/0,"mp4"==d)var T=ku(m,r,i,n,b,w,x);else{if(440786851!=Cu(T=new Tu(y)).id)throw new nt(2,3,3008);var C=Cu(T);if(408125543!=C.id)throw new nt(2,3,3009);T=C.g.byteOffset,C=new Tu(C.g);for(var E=null;C.oa();){var S=Cu(C);if(357149030==S.id){E=S;break}}if(!E)throw new nt(2,3,3010);for(E=new Tu(E.g),S=1e6,C=null;E.oa();){var L=Cu(E);if(2807729==L.id)S=Mu(L);else if(17545==L.id)if(4==L.g.byteLength)C=L.g.getFloat32(0);else{if(8!=L.g.byteLength)throw new nt(2,3,3003);C=L.g.getFloat64(0)}}if(null==C)throw new nt(2,3,3011);if(C*=E=S/1e9,475249515!=(S=Cu(new Tu(m))).id)throw new nt(2,3,3007);T=function(e,t,n,i,r,a,o,s,l){function c(){return r}var u=[];e=new Tu(e.g);for(var d=null,p=null;e.oa();){var h=Cu(e);if(187==h.id){var f=Iu(h);f&&(h=n*f.xh,f=t+f.gh,null!=d&&u.push(new Qr(d+o,h+o,c,p,f-1,a,o,s,l)),d=h,p=f)}}return null!=d&&u.push(new Qr(d+o,i+o,c,p,null,a,o,s,l)),u}(S,T,E,C,i,n,b,w,x)}return v=T,s.xd(v),h=new To(v),l&&h.Ob(w,x,!0),k.return(h)})}function Pu(e){return e.Nc}function ju(e){var t=wu(e,Pu,"RepresentationIndex");return e=ur((e=Au(e,Pu,"indexRange"))||""),t&&(e=sr(t,"range",ur,e)),e}function Vu(e,t){var n=e.L.mimeType.split("/")[1];if(e.L.contentType!=lt&&"mp4"!=n&&"webm"!=n)throw new nt(2,4,4006);if("webm"==n&&!t)throw new nt(2,4,4005)}function Hu(e){var t=e.L;return{bandwidth:e.bandwidth,audioSamplingRate:t.audioSamplingRate,codecs:t.codecs,contentType:t.contentType,frameRate:t.frameRate||null,height:t.height||null,mimeType:t.mimeType,channelsCount:t.yd,pixelAspectRatio:t.pixelAspectRatio||null,width:t.width||null}}function Bu(e,t,n){var i=Du(e,Uu,n),r=function(e){var t=function(e){return[e.L.sb,e.ja.sb,e.na.sb].filter(Lt).map(function(e){return nr(e,"SegmentURL")}).reduce(function(e,t){return 0<e.length?e:t}).map(function(t){return t.getAttribute("indexRange")&&!e.vf&&(e.vf=!0),{Xg:t.getAttribute("media"),start:(t=sr(t,"mediaRange",ur,{start:0,end:null})).start,end:t.end}})}(e);e=vu(e,Uu);var n=e.Pc;0==n&&(n=1);var i=0;return e.qa?i=e.qa*(n-1):e.timeline&&0<e.timeline.length&&(i=e.timeline[0].start),{qa:e.qa,startTime:i,Pc:n,ib:e.ib,timeline:e.timeline,Vb:t}}(e);if(!r.qa&&!r.timeline&&1<r.Vb.length)throw new nt(2,4,4002);if(!r.qa&&!e.Z.duration&&!r.timeline&&1==r.Vb.length)throw new nt(2,4,4002);if(r.timeline&&0==r.timeline.length)throw new nt(2,4,4002);var a=null,o=null;e.na.id&&e.L.id&&(o=t[e.na.id+","+e.L.id])&&(a=o.segmentIndex);var s=function(e,t,n,i,r,a){var o=i.Vb.length;i.timeline&&i.timeline.length!=i.Vb.length&&(o=Math.min(i.timeline.length,i.Vb.length));for(var s=e-i.ib,l=t?e+t:1/0,c=[],u=i.startTime,d={},p=0;p<o;d={lc:d.lc,ic:d.ic},p++){d.ic=i.Vb[p];var h=void 0;h=null!=i.qa?u+i.qa:i.timeline?i.timeline[p].end:u+t,d.lc=null,c.push(new Qr(e+u,e+h,function(e){return function(){return null==e.lc&&(e.lc=rt(n(),[e.ic.Xg])),e.lc}}(d),d.ic.start,d.ic.end,r,s,e,l,[],"",null,null,Wr,a)),u=h}return c}(e.Z.start,e.Z.duration,e.L.Ta,r,i,n);return t=!a,a?a.Ec(s,e.presentationTimeline.ob()):a=new To(s),e.presentationTimeline.xd(s),e.mb&&e.Z.pe||a.Ob(e.Z.start,e.Z.duration?e.Z.start+e.Z.duration:1/0,t),o&&(o.segmentIndex=a),{Qb:function(){return a&&0!=a.Bb()||a.ud(s),Promise.resolve(a)}}}function Uu(e){return e.sb}function Ou(t,n,i,r,a,o,s){var l=function(e,t){var n=Au(e,Fu,"initialization");if(!n)return null;var i=e.L.id,r=e.bandwidth||null,a=e.L.Ta;return new Kr(function(){var e=yu(n,i,null,null,r,null);return rt(a(),[e])},0,null,Hu(e),null,null,t)}(t,s),u=function(e){var t=vu(e,Fu),n=Au(e,Fu,"media");return e=Au(e,Fu,"index"),{qa:t.qa,timescale:t.timescale,Pc:t.Pc,ib:t.ib,Ye:t.Ye,timeline:t.timeline,Wb:n,Cc:e}}(t);!function(e){var t=e.Cc?1:0;if(t+=e.timeline?1:0,t+=e.qa?1:0,0==t)throw new nt(2,4,4002);if(1!=t&&(e.Cc&&(e.timeline=null),e.qa=null),!e.Cc&&!e.Wb)throw new nt(2,4,4002)}(u);var d=Ft(t);if(u.Cc)return Vu(t,l),{Qb:function(){var e=yu(u.Cc,d.L.id,null,null,d.bandwidth||null,
1null);return e=rt(d.L.Ta(),[e]),Nu(d,n,l,e,0,null,u.ib)}};if(u.qa)return r||"image"===t.ja.contentType||(t.presentationTimeline.De(u.qa),t.presentationTimeline.wd(t.Z.start)),{Qb:function(){return function(t,n,i,r,a,o){function s(t){var i=(t-m)*g,a=i+n.ib,s=i+p;return i=s+g,(s=new Qr(s,Math.min(i,u()),function(){var n=a*y;return"BigInt"in e&&n>Number.MAX_SAFE_INTEGER&&(n=BigInt(a)*BigInt(y)),n=yu(v,A,t,null,b,n),rt(w(),[n])},0,null,r,x,p,u(),[],"",null,null,Wr,o)).i=i,s}function l(){var e=[Math.max(d.ob(),p),Math.min(d.nb(),u())].map(function(e){return e-p});return[Math.ceil(e[0]/g),Math.ceil(e[1]/g)-1].map(function(e){return e+m})}function u(){var e=null!=h&&a[h]||f;return e?p+e:1/0}var d=t.presentationTimeline,p=t.Z.start,h=t.na.id,f=t.Z.duration,g=n.qa,m=n.Pc,y=n.timescale,v=n.Wb,b=t.bandwidth||null,A=t.L.id,w=t.L.Ta,x=p-n.ib,k=l();t=t.mb?Math.max(k[0],k[1]-i+1):k[0],k=k[1],i=[];for(var T=t;T<=k;++T){var C=s(T);i.push(C)}var E=new To(i);if(i=d.nb()<u(),T=d.S(),i||T){var S=Math.max(t,k+1);E.Cd(g,function(){var e=d.ob();E.Sa(e);var t=c(l());t.next(),t=t.next().value;for(var n=[];S<=t;){var i=s(S);n.push(i),S++}return e>u()&&!n.length?null:n})}return Promise.resolve(E)}(d,u,a,l,o,s)}};var p=null;r=r=null,t.na.id&&t.L.id&&(r=i[r=t.na.id+","+t.L.id])&&(p=r.segmentIndex);var h=t.Z.start,f=t.Z.duration?h+t.Z.duration:1/0,g=!(t.mb&&t.Z.pe);return p?(_u(i=p,u,h,f,g,l),i.Sa(t.presentationTimeline.ob())):p=new zu(u,t.L.id,t.bandwidth,t.L.Ta,h,f,l,g,s,t.L.Ne),u.timeline&&"image"!==t.ja.contentType&&t.presentationTimeline.Ef(u.timeline,h),r&&t.mb&&(r.segmentIndex=p),{Qb:function(){return p instanceof zu&&0==p.Bb()&&_u(p,u,h,f,g,l),Promise.resolve(p)}}}function Fu(e){return e.Oc}function zu(e,t,n,i,r,a,o,s,l,c){To.call(this,[]),this.h=e,this.D=t,this.A=n,this.C=i,this.i=r,this.m=a,this.s=o,this.u=l,this.F=c,s&&qu(this)}function _u(e,t,n,i,r,a){if(e.s=a,e.h){n=e.h.timeline,e.h.Wb=t.Wb;var o=n[n.length-1];0<(t=t.timeline.filter(function(e){return e.start>=o.end})).length&&e.h.timeline.push.apply(e.h.timeline,u(t)),e.m!==i&&(e.m=i)}else e.h=t,e.i=n,e.m=i;r&&qu(e)}function qu(e){if(!e.o){for(var t=e.h.timeline;t.length&&t[t.length-1].start>=e.m;)t.pop();e.Sa(e.i),0!==t.length&&1/0!==e.m&&(t[t.length-1].end=e.m-e.i)}}function Ku(e,t,n,i,r,a,o){return e=yu(e,t,n,a,i||null,r),rt(o(),[e]).map(function(e){return e.toString()})}function Gu(e){this.s=null,this.u=e,this.F=new ai,this.j=[],this.h=null,this.m=[],this.A=null,this.D=[],this.C=300,this.l=new Map,this.i=new Map,this.g=null,this.o="UNKNOWN"}function Qu(e,t){var n,i,r,a,o,s,l;return R(function(c){return 1==c.g?(n=rt(e.j,[Wu(e,t)]),i=ci(n,e.s.retryParameters),r=e.u.networkingEngine.request(8,i),oi(e.F,r),x(c,2),A(c,r.promise,4)):2!=c.g?(a=c.h,o=Si(a.data),1==(s=JSON.parse(o)).VERSION&&function(e,t,n){null!=e.g&&(e.g.stop(),e.g=null);var i=t["RELOAD-URI"]||n;e.g=new _t(function(){Qu(e,i)}),(n=t.TTL)&&(e.C=n);e.g.U(e.C),e.m=t["PATHWAY-PRIORITY"]||[],e.D=t["PATHWAY-CLONES"]||[]}(e,s,a.uri),T(c,0)):(l=C(c))&&7001==l.code?c.return():(null!=e.g&&(e.g.stop(),e.g=null),e.g=new _t(function(){Qu(e,t)}),e.g.U(e.C),void w(c))})}function Wu(e,t){if(!e.m.length)return t;t=new Oe(t);var n=e.A||e.m[0],i=Math.round(e.u.getBandwidthEstimate()),r=t.g;return"DASH"==e.o?(r.add("_DASH_pathway",n),r.add("_DASH_throughput",String(i))):"HLS"==e.o&&(r.add("_HLS_pathway",n),r.add("_HLS_throughput",String(i))),tt(r)&&qe(t,r),t.toString()}function Yu(e,t,n,i){var r=e.l.get(t);r||(r=new Map),r.set(n,i),e.l.set(t,r)}function Zu(e,t,n){n=void 0!==n&&n,t=e.l.get(t)||new Map;for(var i=[],r={},a=c(e.m),o=a.next();!o.done;r={wb:r.wb},o=a.next())if(r.wb=o.value,o=t.get(r.wb))i.push({Je:r.wb,location:o});else if(o=e.D.find(function(e){return function(t){return t.Oh==e.wb}}(r))){var s=t.get(o["BASE-ID"]);s&&(o["URI-REPLACEMENT"].Vf?(ze(s=new Oe(s),o["URI-REPLACEMENT"].Vf),i.push({Je:r.wb,location:s.toString()})):i.push({Je:r.wb,location:s}))}for(r=Date.now(),o=(a=c(e.i.keys())).next();!o.done;o=a.next())o=o.value,r>(s=e.i.get(o))&&e.i.delete(o);if(i=i.filter(function(t){for(var n=c(e.i.keys()),i=n.next();!i.done;i=n.next())if(i.value.includes(new Oe(t.location).cb))return!1;return!0}),i.length&&(e.A=i[0].Je),i=i.map(function(e){return e.location}),!i.length&&e.h)for(o=(r=c(e.h.split(","))).next();!o.done;o=r.next())(a=t.get(o.value))&&(e.A=e.h,i.push(a));
1if(!i.length)for(r=(t=c(t.values())).next();!r.done;r=t.next())i.push(r.value);return n?i:rt(e.j,i)}function Xu(){this.j=[],this.h=[],this.g=[],this.l=[],this.i=[],this.m=!1,this.o=new Set}function Ju(e,t){for(var n=[],i={},r=(e=c(e)).next();!r.done;i={Vc:i.Vc},r=e.next())i.Vc=r.value,n.some(function(e){return function(n){return t(e.Vc,n)}}(i))||n.push(i.Vc);return n}function $u(e,t,n,i){var r,a,o,s,l,u,d,p,h,f,g,m,y,v,b,w,x,k,T,C=id,E=rd;return R(function(S){switch(S.g){case 1:for(r=ct,a=[],o=0;o<n.length;o++)o>=i?a.push(new Set(n[o])):a.push(new Set);s=c(t),l=s.next();case 2:if(l.done){S.B(4);break}return u=l.value,A(S,function(e,t,n,i,r,a){return R(function(o){return 1==o.g?(ad(e,n,t),t.matchedStreams?t.segmentIndex?A(o,ed(t,i),2):o.B(2):o.return(!1)):(nd(t,i,r,a),o.return(!0))})}(e,u,n,i,E,a),5);case 5:if(!S.h)throw new nt(2,4,4037);l=s.next(),S.B(2);break;case 4:for(d=c(a),p=d.next();!p.done;p=d.next())for(h=p.value,f=c(h),g=f.next();!g.done;g=f.next())m=g.value,(y=td(e,m,n,C,E,a))&&t.push(y);for(v=c(a),p=v.next();!p.done;p=v.next())for(b=p.value,w={},x=c(b),g=x.next();!g.done;w={xb:w.xb},g=x.next())if(w.xb=g.value,k=w.xb.type==r.ia&&!w.xb.language,T=w.xb.type==r.Ld&&!w.xb.tilesLayout,!k&&!T&&t.some(function(t){return function(n){return ld(e,t.xb,n)}}(w)))throw new nt(2,4,4037);return S.return(t)}})}function ed(e,t){var n,i,r,a,o,s,l;return R(function(u){if(1==u.g){for(n=[],i=e.matchedStreams,r=c(i),a=r.next();!a.done;a=r.next())o=a.value,n.push(o.createSegmentIndex()),o.trickModeVideo&&!o.trickModeVideo.segmentIndex&&n.push(o.trickModeVideo.createSegmentIndex());return A(u,Promise.all(n),2)}if(e.segmentIndex instanceof Lo)for(s={},l=t;l<i.length;s={Za:s.Za},l++)s.Za=i[l],s.Za.segmentIndex&&(Co(s.Za.segmentIndex,function(e){return function(t){t.codecs=e.Za.codecs,t.mimeType=e.Za.mimeType,t.fa&&(t.fa.codecs=e.Za.codecs,t.fa.mimeType=e.Za.mimeType)}}(s)),e.segmentIndex.h.push(s.Za.segmentIndex));w(u)})}function td(e,t,n,i,r,a){var o=i(t);return ad(e,n,o),o.createSegmentIndex&&(o.createSegmentIndex=function(){return R(function(e){return o.segmentIndex?e.B(0):(o.segmentIndex=new Lo,A(e,ed(o,0),0))})}),o.matchedStreams&&o.matchedStreams.length?(nd(o,0,r,a),o):null}function nd(e,t,n,i){for(var r=e.matchedStreams;t<r.length;t++){var a=r[t];n(e,a);var o=!0;if("audio"==e.type&&0==Pt(e.language,a.language)&&(o=!1),o){i[t].delete(a),o=new Set(e.codecs.split(","));for(var s=(a=c(a.codecs.split(","))).next();!s.done;s=a.next())o.add(s.value);e.codecs=Array.from(o).join(",")}}}function id(e){var t=Object.assign({},e);return t.originalId=null,t.createSegmentIndex=function(){return Promise.resolve()},t.closeSegmentIndex=function(){if(t.segmentIndex&&(t.segmentIndex.release(),t.segmentIndex=null),t.matchedStreams)for(var e=c(t.matchedStreams),n=e.next();!n.done;n=e.next())(n=n.value).segmentIndex&&(n.segmentIndex.release(),n.segmentIndex=null)},t.segmentIndex=null,t.emsgSchemeIdUris=[],t.keyIds=new Set,t.closedCaptions=null,t.trickModeVideo=null,t}function rd(e,t){var n,i;e.roles=Array.from(new Set(e.roles.concat(t.roles))),t.emsgSchemeIdUris&&(e.emsgSchemeIdUris=Array.from(new Set(e.emsgSchemeIdUris.concat(t.emsgSchemeIdUris)))),e.keyIds=(n=e.keyIds,i=t.keyIds,new Set([].concat(u(n),u(i)))),null==e.originalId?e.originalId=t.originalId:e.originalId+=","+(t.originalId||"");var r=Dr(e.drmInfos,t.drmInfos);if(t.drmInfos.length&&e.drmInfos.length&&!r.length)throw new nt(2,4,4038);if(e.drmInfos=r,e.encrypted=e.encrypted||t.encrypted,t.closedCaptions){e.closedCaptions||(e.closedCaptions=new Map);for(var a=(r=c(t.closedCaptions)).next();!a.done;a=r.next()){var o=c(a.value);a=o.next().value,o=o.next().value,e.closedCaptions.set(a,o)}}t.trickModeVideo?(e.trickModeVideo||(e.trickModeVideo=id(t.trickModeVideo),e.trickModeVideo.createSegmentIndex=function(){return e.trickModeVideo.segmentIndex=e.segmentIndex.clone(),Promise.resolve()}),rd(e.trickModeVideo,t.trickModeVideo)):e.trickModeVideo&&rd(e.trickModeVideo,t)}function ad(e,t,n){for(var i=[],r=(t=c(t)).next();!r.done;r=t.next()){if(!(r=od(e,r.value,n)))return;i.push(r)}n.matchedStreams=i}
1function od(e,t,n){for(var i={audio:function(t,n){return ld(e,t,n)},video:function(t,n){return ld(e,t,n)},text:cd,image:ud}[n.type],r={audio:dd,video:pd,text:hd,image:fd}[n.type],a=null,o=(t=c(t)).next();!o.done;o=t.next())!i(n,o=o.value)||a&&!r(n,a,o)||(a=o);return a}function sd(e,t){function n(e){if(!wd.has(e)){var t=gt(e);wd.set(e,t)}return wd.get(e)}return e.mimeType==t.mimeType&&n(e.codecs)==n(t.codecs)}function ld(e,t,n){return!(!sd(t,n)&&!e.m||t.drmInfos&&!Ir(t.drmInfos,n.drmInfos))}function cd(e,t){return!!e.language&&(!t.language||0!=Pt(e.language,t.language)&&t.kind==e.kind)}function ud(e){return!!e.tilesLayout}function dd(e,t,n){if(e.id==n.id)return!0;var i=sd(e,t),r=sd(e,n);return!(i&&!r)&&(!(i||!r)||(i=Pt(e.language,t.language),(r=Pt(e.language,n.language))>i||!(r<i)&&(e.roles.length?(i=t.roles.filter(function(t){return e.roles.includes(t)}),(r=n.roles.filter(function(t){return e.roles.includes(t)})).length>i.length||!(r.length<i.length)&&n.roles.length<t.roles.length):!(n.roles.length||!t.roles.length)||!(n.roles.length&&!t.roles.length)&&(!(t.primary||!n.primary)||!(t.primary&&!n.primary)&&((i=md(e.channelsCount,t.channelsCount,n.channelsCount))==vd||i!=Ad&&((i=md(e.audioSamplingRate,t.audioSamplingRate,n.audioSamplingRate))==vd||i!=Ad&&!(!e.bandwidth||yd(e.bandwidth,t.bandwidth,n.bandwidth)!=vd)))))))}function pd(e,t,n){if(e.id==n.id)return!0;var i=sd(e,t),r=sd(e,n);if(i&&!r)return!1;if(!i&&r)return!0;if((i=md(e.width*e.height,t.width*t.height,n.width*n.height))==vd)return!0;if(i==Ad)return!1;if(e.frameRate){if((i=md(e.frameRate,t.frameRate,n.frameRate))==vd)return!0;if(i==Ad)return!1}return!(!e.bandwidth||yd(e.bandwidth,t.bandwidth,n.bandwidth)!=vd)}function hd(e,t,n){if(e.id==n.id)return!0;var i=Pt(e.language,t.language),r=Pt(e.language,n.language);if(r>i)return!0;if(r<i)return!1;if(!t.primary&&n.primary)return!0;if(t.primary&&!n.primary)return!1;if(e.roles.length){if(i=t.roles.filter(function(t){return e.roles.includes(t)}),(r=n.roles.filter(function(t){return e.roles.includes(t)})).length>i.length)return!0;if(r.length<i.length)return!1}else{if(!n.roles.length&&t.roles.length)return!0;if(n.roles.length&&!t.roles.length)return!1}return n.mimeType==e.mimeType&&n.codecs==e.codecs&&(t.mimeType!=e.mimeType||t.codecs!=e.codecs)}function fd(e,t,n){return e.id==n.id||md(e.width*e.height,t.width*t.height,n.width*n.height)==vd}function gd(e){return{id:0,originalId:"",groupId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:new To([]),mimeType:"",codecs:"",encrypted:!1,drmInfos:[],keyIds:new Set,language:"",originalLanguage:null,label:null,type:e,primary:!1,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],forced:!1,channelsCount:null,audioSamplingRate:null,spatialAudio:!1,closedCaptions:null,accessibilityPurpose:null,external:!1,fastSwitching:!1}}function md(e,t,n){if(t==e&&e!=n)return Ad;if(n==e&&e!=t)return vd;if(t>e){if(n<=e||n-e<t-e)return vd;if(n-e>t-e)return Ad}else{if(n>e)return Ad;if(e-n<e-t)return vd;if(e-n>e-t)return Ad}return bd}function yd(e,t,n){return t=Math.abs(e-t),(e=Math.abs(e-n))<t?vd:t<e?Ad:bd}m(zu,To),(i=zu.prototype).Bb=function(){return this.h?this.h.timeline.length:0},i.release=function(){To.prototype.release.call(this),this.h=null},i.Sa=function(e){if(this.h){for(var t=0,n=this.h.timeline,i=0;i<n.length&&n[i].end+this.i<=e;i+=1)t+=1;0<t&&(this.h.timeline=n.slice(t),this.g.length>=t&&(this.g=this.g.slice(t)),this.j+=t,0===this.Bb()&&this.release())}},i.find=function(e){if(this.h&&this.h.timeline&&this.h.timeline.length&&e<this.h.timeline[0].start+this.i)return this.j;if(!this.h)return null;var t=this.h.timeline;if(e<this.i||e>this.m)return null;for(var n=t.length-1,i=0;i<t.length;i++){var r=t[i],a=r.start+this.i;if(r=r.end+this.i,i<n&&(r=t[i+1].start+this.i),e>=a&&e<r)return i+this.j}return null},i.get=function(e){var t=this;if(0>(e-=this.j)||e>=this.Bb()||!this.h)return null;var n=this.g[e];if(!n){var i=this.h.Wb,r=this.h.timeline[e],a=r.nh,o=this.h.Ye+r.Ze;n=this.i-this.h.ib;for(var s=[],l=(r.end-r.start)/r.Ua,c={},u=0;u<r.Ua;c={mc:c.mc,Jd:c.Jd},u++){var d=r.start+l*u,p=d+l;c.Jd=u+1,c.mc=null,d=new Qr(this.i+d,this.i+p,function(e){return function(){return t.h?(null==e.mc&&(e.mc=Ku(t.h.Wb,t.D,a,t.A,o,e.Jd,t.C)),e.mc):[]}}(c),0,null,this.s,n,this.i,this.m,[],"",null,null,Wr,this.u),0==this.F?0<u&&d.sd():0!=u%this.F&&d.sd(),s.push(d)}n=new Qr(this.i+r.start,this.i+r.end,function(){return 0<r.Ua?[]:Ku(i,t.D,a,t.A,o,null,t.C)},0,null,this.s,n,this.i,this.m,s,"",null,null,Wr,this.u,0<r.Ua),this.g[e]=n}return n},Gu.prototype.configure=function(e){this.s=e},Gu.prototype.destroy=function(){return this.u=this.s=null,this.j=[],this.h=null,this.m=[],this.D=[],this.l.clear(),null!=this.g&&(this.g.stop(),this.g=null),this.F.destroy()},(i=Xu.prototype).release=function(){for(var e=c(this.h.concat(this.g,this.l,this.i)),t=e.next();!t.done;t=e.next())(t=t.value).segmentIndex&&t.segmentIndex.release();this.h=[],this.g=[],this.l=[],this.i=[],this.j=[]},i.Ig=function(){return this.j},i.le=function(){return this.l.slice()},i.qg=function(){return this.i},i.ff=function(e,t){var n,i,r,a,o,s,l,u,d,p,h,f,g,m,y,v,b,x,k,T,C,E,S,L,M,I,D,N,P=this;return R(function(R){if(1==R.g){if(n=ct,function(e){for(var t=(e=c(e)).next();!t.done;t=e.next())(t=t.value).videoStreams=Ju(t.videoStreams,function(e,t){return e.id!==t.id&&e.fastSwitching==t.fastSwitching&&e.width===t.width&&e.frameRate===t.frameRate&&e.codecs===t.codecs&&e.mimeType===t.mimeType&&e.label===t.label&&ge(e.roles,t.roles)&&Ci(e.closedCaptions,t.closedCaptions)&&e.bandwidth===t.bandwidth}),t.audioStreams=Ju(t.audioStreams,function(e,t){return e.id!==t.id&&e.fastSwitching==t.fastSwitching&&e.channelsCount===t.channelsCount&&e.language===t.language&&e.bandwidth===t.bandwidth&&e.label===t.label&&e.codecs===t.codecs&&e.mimeType===t.mimeType&&ge(e.roles,t.roles)&&e.audioSamplingRate===t.audioSamplingRate&&e.primary===t.primary}),t.textStreams=Ju(t.textStreams,function(e,t){return e.id!==t.id&&e.language===t.language&&e.label===t.label&&e.codecs===t.codecs&&e.mimeType===t.mimeType&&e.bandwidth===t.bandwidth&&ge(e.roles,t.roles)}),t.imageStreams=Ju(t.imageStreams,function(e,t){return e.id!==t.id&&e.width===t.width&&e.codecs===t.codecs&&e.mimeType===t.mimeType})}(e),!t&&1==e.length)return i=e[0],P.h=i.audioStreams,P.g=i.videoStreams,P.l=i.textStreams,P.i=i.imageStreams,R.B(2);for(r=-1,a=0;a<e.length;a++)o=e[a],P.o.has(o.id)||(P.o.add(o.id),-1==r&&(r=a));if(-1==r)return R.return();for(var j=[],V=[],H=[],B=[],U=c(e),O=U.next();!O.done;O=U.next())O=O.value,j.push(O.audioStreams),V.push(O.videoStreams),H.push(O.textStreams),B.push(O.imageStreams);for(s=j,l=V,d=B,p=c(u=H),h=p.next();!h.done;h=p.next())h.value.push(gd(n.ia));for(f=c(d),g=f.next();!g.done;g=f.next())g.value.push(gd(n.Ld));return A(R,Promise.all([$u(P,P.h,s,r),$u(P,P.g,l,r),$u(P,P.l,u,r),$u(P,P.i,d,r)]),2)}if(m=0,y=[],P.g.length&&P.h.length)for(C=c(P.h),E=C.next();!E.done;E=C.next())for(S=E.value,L=c(P.g),M=L.next();!M.done;M=L.next())I=M.value,D=Dr(S.drmInfos,I.drmInfos),S.drmInfos.length&&I.drmInfos.length&&!D.length||(N=m++,y.push({id:N,language:S.language,disabledUntilTime:0,primary:S.primary,audio:S,video:I,bandwidth:(S.bandwidth||0)+(I.bandwidth||0),drmInfos:D,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]}));else for(v=P.g.length?P.g:P.h,b=c(v),x=b.next();!x.done;x=b.next())k=x.value,T=m++,y.push({id:T,language:k.language,disabledUntilTime:0,primary:k.primary,audio:k.type==n.N?k:null,video:k.type==n.$?k:null,bandwidth:k.bandwidth||0,drmInfos:k.drmInfos,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]});P.j=y,w(R)})},O("shaka.util.PeriodCombiner",Xu),Xu.prototype.combinePeriods=Xu.prototype.ff,Xu.prototype.getImageStreams=Xu.prototype.qg,Xu.prototype.getTextStreams=Xu.prototype.le,Xu.prototype.getVariants=Xu.prototype.Ig;var vd=1,bd=0,Ad=-1,wd=new Map;function xd(){var e=this;this.i=this.h=null,this.o=[],this.j=null,this.I=1,this.m={},this.M={},this.l=new Xu,this.D=0,this.G=new F(5),this.F=new _t(function(){!function(e){var t,n;R(function(i){switch(i.g){case 1:return t=0,x(i,2),A(i,kd(e),4);case 4:t=i.h,T(i,3);break;case 2:if(n=C(i),e.i){if(e.h.raiseFatalErrorOnManifestUpdateRequestFailure)return e.i.onError(n),i.return();n.severity=1,e.i.onError(n)}case 3:if(!e.i)return i.return();e.i.onManifestUpdated(),Ld(e,t),w(i)}})}(e)}),this.C=new ai,this.u=null,this.K=[],this.A=1/0,this.s=!1,this.g=null}function kd(e){var t,n,i,r,a,o,s;return R(function(l){return 1==l.g?(t=e.o,1<e.o.length&&e.g&&((n=Zu(e.g,"Location",!0)).length&&(t=n)),i=ci(t,e.h.retryParameters),r=Date.now(),A(l,Nd(e,i,0,{type:4}),2)):3!=l.g?(a=l.h,e.i?(a.uri&&a.uri!=a.originalUri&&!e.o.includes(a.uri)&&e.o.unshift(a.uri),A(l,function(e,t,n){var i,r,a,o;return R(function(s){if(1==s.g){if(!(i=vr(t,"MPD")))throw new nt(2,4,4001,n);return e.h.dash.disableXlinkProcessing?s.return(Td(e,i,n)):(r=e.h.dash.xlinkFailGracefully,a=xu(i,e.h.retryParameters,r,n,e.
1i.networkingEngine),oi(e.C,a),A(s,a.promise,2))}return o=s.h,s.return(Td(e,o,n))})}(e,a.data,a.uri),3)):l.return(0)):(o=Date.now(),s=(o-r)/1e3,e.G.sample(1,s),l.return(s))})}function Td(e,t,n){var i,r,a,o,s,l,u,d,p,h,f,g,m,y,v,b,k,E,S,L,M,I,D,N,P,j,V,H,B,U,O,F,z,_,q,K,Q,W,Y,Z,X,J,$,ee,te,ne,ie,re,ae,oe,se,le,ce;return R(function(ue){switch(ue.g){case 1:for((i=e.h.dash.manifestPreprocessor)&&i(t),e.g&&e.g.l.clear(),r=[n],a=[],o=new Map,s=nr(t,"Location"),l=c(s),u=l.next();!u.done;u=l.next())d=u.value,p=d.getAttribute("serviceLocation"),(h=ar(d))&&(f=rt(r,[h])[0],p&&(e.g?Yu(e.g,"Location",p,f):o.set(p,f)),a.push(f));if(e.g?0<(g=Zu(e.g,"Location",!0)).length&&(r=e.o=g):a.length&&(r=e.o=a),m=Promise.resolve(),(y=er(t,"ContentSteering"))&&e.i)for(v=y.getAttribute("defaultServiceLocation"),e.g?(e.g.j=r,e.g.h=v):(e.g=new Gu(e.i),e.g.configure(e.h),e.g.o="DASH",e.g.j=r,e.g.h=v,(b=ar(y))&&(sr(y,"queryBeforeStart",gr,!1)?m=Qu(e.g,b):Qu(e.g,b))),k=c(o.keys()),E=k.next();!E.done;E=k.next())S=E.value,L=o.get(S),Yu(e.g,"Location",S,L);if(M=nr(t,"BaseURL"),D=!1,e.g)for(N=c(M),P=N.next();!P.done;P=N.next())j=P.value,V=j.getAttribute("serviceLocation"),H=ar(j),V&&H&&(Yu(e.g,"BaseURL",V,H),D=!0);if(D&&e.g||(B=M.map(ar),I=rt(r,B)),U=function(){return e.g&&D?Zu(e.g,"BaseURL"):I||[]},O=0,M&&M.length&&(O=sr(M[0],"availabilityTimeOffset",fr)||0),F=e.h.dash.ignoreMinBufferTime,z=0,F||(z=sr(t,"minBufferTime",cr)||0),e.D=sr(t,"minimumUpdatePeriod",cr,-1),_=sr(t,"availabilityStartTime",lr),q=sr(t,"timeShiftBufferDepth",cr),K=e.h.dash.ignoreSuggestedPresentationDelay,Q=null,K||(Q=sr(t,"suggestedPresentationDelay",cr)),W=e.h.dash.ignoreMaxSegmentDuration,Y=null,W||(Y=sr(t,"maxSegmentDuration",cr)),Z=t.getAttribute("type")||"static",e.j)for(X=e.j.presentationTimeline,J=c(Object.values(e.m)),$=J.next();!$.done;$=J.next())(ee=$.value).segmentIndex&&ee.segmentIndex.Sa(X.ob());else te=e.h.defaultPresentationDelay||1.5*z,X=new io(_,null!=Q?Q:te,e.h.dash.autoCorrectDrift);return X.Yb("static"==Z),X.S()&&!isNaN(e.h.availabilityWindowOverride)&&(q=e.h.availabilityWindowOverride),null==q&&(q=1/0),X.Bd(q),ne=t.getAttribute("profiles")||"",ie={mb:"static"!=Z,presentationTimeline:X,na:null,Z:null,ja:null,L:null,bandwidth:0,vf:!1,Mb:O,profiles:ne.split(",")},re=function(e,t,n,i){var r=sr(i,"mediaPresentationDuration",cr),a=[],o=0;i=nr(i,"Period");for(var s=0;s<i.length;s++){var l=i[s],c=i[s+1],u=sr(l,"start",cr,o),d=l.id,p=sr(l,"duration",cr),h=null;if(c){var f=sr(c,"start",cr);null!=f&&(h=f-u)}else null!=r&&(h=r-u);if(null==h&&(h=p),!(null!==e.u&&null!==d&&null!==u&&u<e.u)||e.K.includes(d)||s+1==i.length){if(null!==u&&(null===e.u||u>e.u)&&(e.u=u),o=Ed(e,t,n,{start:u,duration:h,node:l,pe:null==h||!c}),a.push(o),t.na.id&&h&&(e.M[t.na.id]=h),null==h){o=null;break}o=u+h}}return e.K=a.map(function(e){return e.id}),null!=r?{periods:a,duration:r,jf:!1}:{periods:a,duration:o,jf:!0}}(e,ie,U,t),ae=re.duration,oe=re.periods,"static"!=Z&&re.jf||X.Qa(ae||1/0),e.A&&!e.s&&e.i.isAutoLowLatencyMode()&&(e.i.enableLowLatencyMode(),e.s=e.i.isLowLatencyMode()),e.s?X.Lf(e.A):e.A&&G("Low-latency DASH live stream detected, but low-latency streaming mode is not enabled in Shaka Player. Set streaming.lowLatencyMode configuration to true, and see https://bit.ly/3clctcj for details."),X.De(Y||1),A(ue,e.l.ff(oe,ie.mb),2);case 2:return A(ue,m,3);case 3:if(e.s&&(z=0),e.j){e.j.variants=e.l.j,0<(se=e.l.le()).length&&(e.j.textStreams=se),e.j.imageStreams=e.l.i,e.i.filter(e.j),ue.B(4);break}if(e.j={presentationTimeline:X,variants:e.l.j,textStreams:e.l.le(),imageStreams:e.l.i,offlineSessionIds:[],minBufferTime:z||0,sequenceMode:e.h.dash.sequenceMode,ignoreManifestTimestampsInSegmentsMode:!1,type:"DASH",serviceDescription:Cd(t)},!X.Tf()){ue.B(5);break}return le=nr(t,"UTCTiming"),A(ue,function(e,t,n){var i,r,a,o,s,l,u,d;return R(function(p){switch(p.g){case 1:i=n.map(function(e){return{scheme:e.getAttribute("schemeIdUri"),value:e.getAttribute("value")}}),r=e.h.dash.clockSyncUri,!i.length&&r&&i.push({scheme:"urn:mpeg:dash:utc:http-head:2014",value:r}),a=c(i),o=a.next();case 2:if(o.done){p.B(4);break}switch(s=o.value,x(p,5),l=s.scheme,u=s.value,l){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":return p.B(7);case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":return p.B(8);case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":return d=Date.parse(u),p.return(isNaN(d)?0:d-Date.now());case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":G("NTP UTCTiming scheme is not supported");break;default:G("Unrecognized scheme in UTCTiming element",l)}p.B(9);break;case 7:return A(p,Id(e,t,u,"HEAD"),10);case 10:return p.return(p.h);case 8:return A(p,Id(e,t,u,"GET"),11);case 11:return p.return(p.h);case 9:T(p,3);break;case 5:C(p);case 3:o=a.next(),p.B(2);break;case 4:return G("A UTCTiming element should always be given in live manifests! This content may not play on clients with bad clocks!"),p.return(0)}})}(e,U,le),6);case 6:if(ce=ue.h,!e.i)return ue.return();X.Mf(ce);case 5:X.rd();case 4:e.i.makeTextStreamsForClosedCaptions(e.j),w(ue)}})}function Cd(e){if(!(e=er(e,"ServiceDescription")))return null;var t=er(e,"Latency"),n=er(e,"PlaybackRate");return t&&t.getAttribute("max")||n?{maxLatency:e=t&&t.getAttribute("max")?parseInt(t.getAttribute("max"),10)/1e3:null,maxPlaybackRate:n?parseFloat(n.getAttribute("max")):null,minLatency:t=t&&t.getAttribute("min")?parseInt(t.getAttribute("min"),10)/1e3:null,minPlaybackRate:n=n?parseFloat(n.getAttribute("min")):null}:null}function Ed(t,n,i,r){n.na=Md(t,r.node,null,i),n.Z=r,n.na.Mb=n.Mb,n.na.id||(n.na.id="__shaka_period_"+r.start);var a=nr(r.node,"EventStream");i=n.presentationTimeline.ob();for(var o=(a=c(a)).next();!o.done;o=a.next())Dd(t,r.start,r.duration,o.value,i);if(i=nr(r.node,"AdaptationSet").map(function(i){return function(t,n,i){function r(e){switch(e){case 1:case 6:case 13:case 14:case 15:return"SDR";case 16:return"PQ";case 18:return"HLG"}}n.ja=Md(t,i,n.na,null);var a,o=!1,s=nr(i,"Role"),l=s.map(function(e){return e.getAttribute("value")}).filter(Lt),d=void 0,p=n.ja.contentType==lt;p&&(d="subtitle");for(var h=(s=c(s)).next();!h.done;h=s.next()){var f=(h=h.value).getAttribute("schemeIdUri");if(null==f||"urn:mpeg:dash:role:2011"==f)switch(h=h.getAttribute("value"),h){case"main":o=!0;break;case"caption":case"subtitle":d=h}}f=nr(i,"EssentialProperty"),s=null;var g=!1;h=!1;for(var m=(f=c(f)).next();!m.done;m=f.next()){var y=(m=m.value).getAttribute("schemeIdUri");"http://dashif.org/guidelines/trickmode"==y?s=m.getAttribute("value"):"urn:mpeg:mpegB:cicp:TransferCharacteristics"==y?a=r(parseInt(m.getAttribute("value"),10)):"urn:mpeg:mpegB:cicp:ColourPrimaries"!=y&&"urn:mpeg:mpegB:cicp:MatrixCoefficients"!=y&&("urn:mpeg:dash:ssr:2023"==y?g
1=!0:h=!0)}for(f=c(f=nr(i,"SupplementalProperty")),m=f.next();!m.done;m=f.next())"urn:mpeg:mpegB:cicp:TransferCharacteristics"==(m=m.value).getAttribute("schemeIdUri")&&(a=r(parseInt(m.getAttribute("value"),10)));f=nr(i,"Accessibility");var v,b=new Map;for(f=c(f),m=f.next();!m.done;m=f.next())if(y=m.value,m=y.getAttribute("schemeIdUri"),y=y.getAttribute("value"),"urn:scte:dash:cc:cea-608:2015"==m)if(m=1,null!=y)for(var x=c(y=y.split(";")),k=x.next();!k.done;k=x.next()){var T=k.value,C=k=void 0;T.includes("=")?(k=(T=T.split("="))[0].startsWith("CC")?T[0]:"CC"+T[0],C=T[1]||"und"):(k="CC"+m,2==y.length?m+=2:m++,C=T),b.set(k,Nt(C))}else b.set("CC1","und");else if("urn:scte:dash:cc:cea-708:2015"==m)if(m=1,null!=y)for(y=c(y.split(";")),k=y.next();!k.done;k=y.next())k=k.value,T=x=void 0,k.includes("=")?(k=k.split("="),x="svc"+k[0],T=k[1].split(",")[0].split(":").pop()):(x="svc"+m,m++,T=k),b.set(x,Nt(T));else b.set("svc1","und");else"urn:mpeg:dash:role:2011"==m?null!=y&&(l.push(y),"captions"==y&&(d="caption")):"urn:tva:metadata:cs:AudioPurposeCS:2007"==m&&("1"==y?v="visually impaired":"2"==y&&(v="hard of hearing"));if(h)return null;h=nr(i,"ContentProtection");var E=pu(h,t.h.dash.ignoreDrmInfo,t.h.dash.keySystemsByURI),S=Nt(n.ja.language||"und"),L=i.getAttribute("label");if((h=nr(i,"Label"))&&h.length&&(h=h[0],h.textContent&&(L=h.textContent)),h=nr(i,"Representation"),i=h.map(function(i){return(i=function(t,n,i,r,a,o,s,l,c,u,d){if(n.L=Md(t,u,n.ja,null),t.A=Math.min(t.A,n.L.Mb),!function(e){var t=e.Nc?1:0;return t+=e.sb?1:0,t+=e.Oc?1:0,0==t?e.contentType==lt||"application"==e.contentType:(1!=t&&(e.Nc&&(e.sb=null),e.Oc=null),!0)}(n.L))return null;var p=n.Z.start;n.bandwidth=sr(u,"bandwidth",pr)||0;var h=n.L.contentType,f=h==lt||"application"==h;h="image"==h;try{var g=void 0;if(i.Nd){var m=n.L.Ta,y=rt(m(),[i.Nd.Ug]),v=ci(y,t.h.retryParameters);g={bitsKey:128,blockCipherMode:"CBC",iv:i.Nd.iv,firstMediaSequenceNumber:0,fetchKey:function(){var n,i,r;return R(function(a){if(1==a.g)return A(a,Nd(t,v,6),2);if(3!=a.g){if(!(n=a.h).data||16!=n.data.byteLength)throw new nt(2,4,4049);return i={name:"AES-CBC"},r=g,A(a,e.crypto.subtle.importKey("raw",n.data,i,!0,["decrypt"]),3)}r.cryptoKey=a.h,g.fetchKey=void 0,w(a)})}}}if(m=function(e,n,i,r){return function(e,t,n,i,r){var a,o,s,l;return R(function(c){return 1==c.g?(a=fi,o=r?0:1,s=Ko(t,n,i,e.h.retryParameters),A(c,Nd(e,s,a,{type:o}),2)):(l=c.h,c.return(l.data))})}(t,e,n,i,r)},n.L.Nc)var b=Ru(n,m,g);else if(n.L.sb)b=Bu(n,t.m,g);else if(n.L.Oc)b=Ou(n,m,t.m,!!t.j,t.h.dash.initialSegmentLimit,t.M,g);else{var x=n.Z.duration||0,k=n.L.Ta;b={Qb:function(){return Promise.resolve(Eo(p,x,k()))}}}}catch(e){if((f||h)&&4002==e.code)return null;throw e}m=nr(u,"ContentProtection"),m=function(e,t,n,i){var r=pu(e,n,i);
1if(t.lf)e=1==t.drmInfos.length&&!t.drmInfos[0].keySystem,n=0==r.drmInfos.length,(0==t.drmInfos.length||e&&!n)&&(t.drmInfos=r.drmInfos),t.lf=!1;else if(0<r.drmInfos.length&&(t.drmInfos=t.drmInfos.filter(function(e){return r.drmInfos.some(function(t){return t.keySystem==e.keySystem})}),0==t.drmInfos.length))throw new nt(2,4,4008);return r.hf||t.hf}(m,i,t.h.dash.ignoreDrmInfo,t.h.dash.keySystemsByURI),m=new Set(m?[m]:[]),y=!1,nr(u,"SupplementalProperty").some(function(e){return"tag:dolby.com,2018:dash:EC3_ExtensionType:2018"==e.getAttribute("schemeIdUri")&&"JOC"==e.getAttribute("value")})&&(y=!0);var T,C,E=!1;if(f&&(E=l.includes("forced_subtitle")||l.includes("forced-subtitle")),h&&((u=nr(u,"EssentialProperty").find(function(e){return["http://dashif.org/thumbnail_tile","http://dashif.org/guidelines/thumbnail_tile"].includes(e.getAttribute("schemeIdUri"))}))&&(T=u.getAttribute("value")),!T))return null;u=n.L.codecs,n.profiles.includes("http://dashif.org/guidelines/dash-if-uhd#hevc-hdr-pq10")&&(u.includes("hvc1.2.4.L153.B0")||u.includes("hev1.2.4.L153.B0"))&&(C="PQ"),u=n.L.id?n.na.id+","+n.L.id:"";var S=u&&t.m[u]?t.m[u]:{id:t.I++,originalId:n.L.id,groupId:null,createSegmentIndex:function(){return Promise.resolve()},closeSegmentIndex:function(){S.segmentIndex&&(S.segmentIndex.release(),S.segmentIndex=null)},segmentIndex:null,mimeType:n.L.mimeType,codecs:n.L.codecs,frameRate:n.L.frameRate,pixelAspectRatio:n.L.pixelAspectRatio,bandwidth:n.bandwidth,width:n.L.width,height:n.L.height,kind:r,encrypted:0<i.drmInfos.length,drmInfos:i.drmInfos,keyIds:m,language:a,originalLanguage:n.ja.language,label:o,type:n.ja.contentType,primary:s,trickModeVideo:null,emsgSchemeIdUris:n.L.emsgSchemeIdUris,roles:l,forced:E,channelsCount:n.L.yd,audioSamplingRate:n.L.audioSamplingRate,spatialAudio:y,closedCaptions:c,hdr:C,videoLayout:void 0,tilesLayout:T,matchedStreams:[],accessibilityPurpose:d,external:!1,fastSwitching:!1};return S.createSegmentIndex=function(){var e;return R(function(t){if(1==t.g)return S.segmentIndex?t.B(0):(e=S,A(t,b.Qb(),3));e.segmentIndex=t.h,w(t)})},u&&n.mb&&!t.m[u]&&(t.m[u]=S),S}(t,n,E,d,S,L,o,l,b,i,v))&&(i.hdr=i.hdr||a,i.fastSwitching=g),i}).filter(function(e){return!!e}),0==i.length){if(s="image"==n.ja.contentType,t.h.dash.ignoreEmptyAdaptationSet||p||s)return null;throw new nt(2,4,4003)}if(!n.ja.contentType||"application"==n.ja.contentType)for(n.ja.contentType=Rd(i[0].mimeType,i[0].codecs),p=c(i),m=p.next();!m.done;m=p.next())m.value.type=n.ja.contentType;for(p=n.ja.id||"__fake__"+t.I++,f=c(i),m=f.next();!m.done;m=f.next()){for(m=m.value,x=(y=c(E.drmInfos)).next();!x.done;x=y.next())(x=x.value).keyIds=x.keyIds&&m.keyIds?new Set([].concat(u(x.keyIds),u(m.keyIds))):x.keyIds||m.keyIds;t.h.dash.enableAudioGroups&&(m.groupId=p)}return h=h.map(function(e){return e.getAttribute("id")}).filter(Lt),{id:p,contentType:n.ja.contentType,language:S,ui:o,streams:i,drmInfos:E.drmInfos,We:s,jh:h}}(t,n,i)}).filter(Lt),n.mb){for(r=[],o=(a=c(i)).next();!o.done;o=a.next())for(var s=(o=c(o.value.jh)).next();!s.done;s=o.next())r.push(s.value);if(r.length!=new Set(r).size)throw new nt(2,4,4018)}for(r=i.filter(function(e){return!e.We}),a=(i=c(i=i.filter(function(e){return e.We}))).next();!a.done;a=i.next()){o=(a=a.value).We.split(" ");for(var l=(s=c(r)).next();!l.done;l=s.next()){var d=l.value;if(o.includes(d.id)){l={};for(var p=(d=c(d.streams)).next();!p.done;l={Wc:l.Wc},p=d.next())l.Wc=p.value,l.Wc.trickModeVideo=a.streams.find(function(e){return function(t){return gt(e.Wc.codecs)==gt(t.codecs)}}(l))}}}if(i=Sd(t.h.disableAudio,r,"audio"),a=Sd(t.h.disableVideo,r,"video"),o=Sd(t.h.disableText,r,lt),r=Sd(t.h.disableThumbnails,r,"image"),0===a.length&&0===i.length)throw new nt(2,4,4004);return{id:n.na.id,audioStreams:i,videoStreams:a,textStreams:o,imageStreams:r}}function Sd(e,t,n){return e||!t.length?[]:t.reduce(function(e,t){return t.contentType!=n||e.push.apply(e,u(t.streams)),e},[])}function Ld(e,t){0>=e.D||e.F.U(Math.max(e.D-t,z(e.G)))}function Md(e,t,n,i){n=n||{contentType:"",mimeType:"",codecs:"",emsgSchemeIdUris:[],frameRate:void 0,pixelAspectRatio:void 0,yd:null,audioSamplingRate:null,Mb:0,Ne:0},i=i||n.Ta;var r,a=t.getAttribute("id"),o=nr(t,"BaseURL"),s=!1;if(e.g)for(var l=c(o),u=l.next();!u.done;u=l.next()){var d=u.value;u=d.getAttribute("serviceLocation"),d=ar(d),u&&d&&(Yu(e.g,a,u,d),s=!0)}s&&e.g||(r=o.map(ar)),l=t.getAttribute("contentType")||n.contentType,u=t.getAttribute("mimeType")||n.mimeType,d=t.getAttribute("codecs")||n.c
1odecs;var p=sr(t,"frameRate",mr)||n.frameRate,h=t.getAttribute("sar")||n.pixelAspectRatio,f=function(e,t){t=t.slice();for(var n=(e=c(e)).next();!n.done;n=e.next())n=n.value.getAttribute("schemeIdUri"),t.includes(n)||t.push(n);return t}(nr(t,"InbandEventStream"),n.emsgSchemeIdUris),g=nr(t,"AudioChannelConfiguration");g=function(e){for(var t=(e=c(e)).next();!t.done;t=e.next()){var n=t.value;if((t=n.getAttribute("schemeIdUri"))&&(n=n.getAttribute("value")))switch(t){case"urn:mpeg:dash:outputChannelPositionList:2012":return n.trim().split(/ +/).length;case"urn:mpeg:dash:23003:3:audio_channel_configuration:2011":case"urn:dts:dash:audio_channel_configuration:2012":if(!(t=parseInt(n,10)))continue;return t;case"tag:dolby.com,2014:dash:audio_channel_configuration:2011":case"urn:dolby:dash:audio_channel_configuration:2011":if(!(t=parseInt(n,16)))continue;for(e=0;t;)1&t&&++e,t>>=1;return e;case"urn:mpeg:mpegB:cicp:ChannelConfiguration":if(t=[0,1,2,3,4,5,6,8,2,3,4,7,8,24,8,12,10,12,14,12,14],(n=parseInt(n,10))&&0<n&&n<t.length)return t[n]}}return null}(g)||n.yd;var m=sr(t,"audioSamplingRate",hr)||n.audioSamplingRate;l||(l=Rd(u,d));var y=er(t,"SegmentBase"),v=er(t,"SegmentTemplate"),b=y&&sr(y,"availabilityTimeOffset",fr)||0,A=v&&sr(v,"availabilityTimeOffset",fr)||0,w=o&&o.length&&sr(o[0],"availabilityTimeOffset",fr)||0;return b=n.Mb+w+b+A,A=null,(w=er(t,"SegmentSequenceProperties"))&&(w=er(w,"SAP"))&&(A=sr(w,"cadence",dr)),{Ta:function(){return rt(i(),o.length?e.g&&s?Zu(e.g,a):r||[]:[])},Nc:y||n.Nc,sb:er(t,"SegmentList")||n.sb,Oc:v||n.Oc,width:sr(t,"width",hr)||n.width,height:sr(t,"height",hr)||n.height,contentType:l,mimeType:u,codecs:d,frameRate:p,pixelAspectRatio:h,emsgSchemeIdUris:f,id:a,language:t.getAttribute("lang"),yd:g,audioSamplingRate:m,Mb:b,Ne:A||n.Ne}}function Id(e,t,n,i){var r,a,o,s,l,c;return R(function(u){if(1==u.g)return r=rt(t(),[n]),(a=ci(r,e.h.retryParameters)).method=i,o=e.i.networkingEngine.request(4,a),oi(e.C,o),A(u,o.promise,2);if(s=u.h,"HEAD"==i){if(!s.headers||!s.headers.date)return u.return(0);l=s.headers.date}else l=Si(s.data);return c=Date.parse(l),isNaN(c)?u.return(0):u.return(c-Date.now())})}function Dd(e,t,n,i,r){for(var a=i.getAttribute("schemeIdUri")||"",o=i.getAttribute("value")||"",s=sr(i,"timescale",hr)||1,l=(i=c(nr(i,"Event"))).next();!l.done;l=i.next()){var u=sr(l=l.value,"presentationTime",hr)||0,d=sr(l,"duration",hr)||0;d=(u=u/s+t)+d/s,null!=n&&(u=Math.min(u,t+n),d=Math.min(d,t+n)),d<r||(l={schemeIdUri:a,value:o,startTime:u,endTime:d,id:l.getAttribute("id")||"",eventElement:l},e.i.onTimelineRegionAdded(l))}}function Rd(e,t){return xt(t=pt(e,t))?lt:e.split("/")[0]}function Nd(e,t,n,i){return t=e.i.networkingEngine.request(n,t,i),oi(e.C,t),t.promise}function Pd(){}(i=xd.prototype).configure=function(e){this.h=e,this.g&&this.g.configure(this.h),this.l&&(this.l.m=this.h.dash.multiTypeVariantsAllowed&&J())},i.start=function(e,t){var n,i=this;return R(function(r){if(1==r.g)return i.s=t.isLowLatencyMode(),i.o=[e],i.i=t,A(r,kd(i),2);if(n=r.h,i.i&&Ld(i,n),!i.i)throw new nt(2,7,7001);return r.return(i.j)})},i.stop=function(){for(var e=c(Object.values(this.m)),t=e.next();!t.done;t=e.next())(t=t.value).segmentIndex&&t.segmentIndex.release();return this.l&&this.l.release(),this.h=this.i=null,this.o=[],this.j=null,this.m={},this.l=null,null!=this.F&&(this.F.stop(),this.F=null),this.g&&this.g.destroy(),this.C.destroy()},i.update=function(){var e,t=this;return R(function(n){return 1==n.g?(x(n,2),A(n,kd(t),4)):2!=n.g?T(n,0):(e=C(n),t.i&&e?(t.i.onError(e),void w(n)):n.return())})},i.onExpirationUpdated=function(){},i.onInitialVariantChosen=function(e){if(this.j&&this.j.presentationTimeline.S()){var t=e.video||e.audio;if(t&&t.segmentIndex){e=this.j.presentationTimeline.nb();var n=t.segmentIndex.find(e);null!=n&&(t=t.segmentIndex.get(n))&&(this.D=t.endTime-e,Ld(this,0))}}},i.banLocation=function(e){this.g&&this.g.i.set(e,Date.now()+6e4)},O("shaka.dash.DashParser",xd),Fr["application/dash+xml"]=function(){return new xd},Fr["video/vnd.mpeg.dash.mpd"]=function(){return new xd},O("shaka.dependencies",Pd),Pd.has=function(e){return Hd.has(e)},Pd.add=function(e,t){if(!Vd[e])throw Error(e+" is not supported");e==jd?Rn("mux.js","mux.js is no longer used in Shaka Player."):Hd.set(e,function(){return t})};var jd="muxjs",Vd={vi:jd,ISOBoxer:"ISOBoxer"};Pd.Allowed=Vd;var Hd=new Map([["ISOBoxer",function(){return e.ISOBoxer}]]);
1function Bd(e,t,n){this.type=e,this.g=t,this.segments=n||null}function Ud(e,t,n,i){this.id=e,this.name=t,this.g=n,this.value=void 0===i?null:i}function Od(e){var t=(new Set).add("AUDIO").add("VIDEO").add("SUBTITLES").add("PATHWAY-ID").add("GROUP-ID").add("URI");return e.toString(t)}function Fd(e,t,n){return(e=e.getAttribute(t))?e.value:n||null}function zd(e,t){if(!(e=e.getAttribute(t)))throw new nt(2,4,4023,t);return e.value}function _d(e,t,n){n=void 0===n?[]:n,this.g=t,this.h=e,this.Ua=n}function qd(e,t){this.name=e,this.value=t}function Kd(e,t){return e.filter(function(e){return e.name==t})}function Gd(e,t){return e.filter(function(e){return zd(e,"TYPE")==t})}function Qd(e,t){return(e=Kd(e,t)).length?e[0]:null}function Wd(e,t,n){return n=void 0===n?0:n,(e=Qd(e,t))?Number(e.value):n}function Yd(e,t,n){return t?Zd(e,[t],n):[]}function Zd(e,t,n){if(!t.length)return[];t=rt(e,t),e=[];for(var i=(t=c(t)).next();!i.done;i=t.next()){var r=e,a=r.push,o=i.value;if((i=n)&&i.size){var s=(o=String(o).replace(/%7B/g,"{").replace(/%7D/g,"}")).match(/{\$\w*}/g);if(s)for(var l=(s=c(s)).next();!l.done;l=s.next()){var u=(l=l.value).slice(2,l.length-1),d=i.get(u);if(!d)throw new nt(2,4,4039,u);o=o.replace(l,d)}i=o}else i=o;a.call(r,i)}return e}function Xd(e){this.h=e||"",this.g=0}function Jd(e,t){return t.lastIndex=e.g,t=null==(t=t.exec(e.h))?null:{position:t.index,length:t[0].length,results:t},e.g==e.h.length||null==t||t.position!=e.g?null:(e.g+=t.length,t.results)}function $d(){this.g=0}function ep(e,t){var n=(t=(t=Si(t)).replace(/\r\n|\r(?=[^\n]|$)/gm,"\n").trim()).split(/\n+/m);if(!/^#EXTM3U($|[ \t\n])/m.test(n[0]))throw new nt(2,4,4015);t=0;for(var i=!0,r=c(n),a=r.next();!a.done;a=r.next())if(a=a.value,/^#(?!EXT)/m.test(a)||i)i=!1;else{if(a=tp(e,a),--e.g,np.includes(a.name)){t=1;break}"EXT-X-STREAM-INF"==a.name&&(i=!0)}for(r=[],i=!0,a=0;a<n.length;a++){var o=n[a],s=n[a+1];if(/^#(?!EXT)/m.test(o)||i)i=!1;else{if(o=tp(e,o),ip.includes(o.name)){if(1!=t)throw new nt(2,4,4017);o=n.splice(a,n.length-a),n=[],i=[],a=[],s=null;for(var l=(o=c(o)).next();!l.done;l=o.next())l=l.value,/^(#EXT)/.test(l)?(l=tp(e,l),np.includes(l.name)?r.push(l):"EXT-X-MAP"==l.name?s=l:"EXT-X-PART"==l.name?a.push(l):"EXT-X-PRELOAD-HINT"==l.name?"PART"==Fd(l,"TYPE")?a.push(l):"MAP"==Fd(l,"TYPE")&&(l.name="EXT-X-MAP",s=l):i.push(l)):/^#(?!EXT)/m.test(l)||(l=l.trim(),s&&i.push(s),n.push(new _d(l,i,a)),i=[],a=[]);return a.length&&(s&&i.push(s),n.push(new _d("",i,a))),new Bd(t,r,n)}r.push(o),"EXT-X-STREAM-INF"==o.name&&(o.g.push(new qd("URI",s)),i=!0)}}return new Bd(t,r)}function tp(e,t){e=e.g++;var n=t.match(/^#(EXT[^:]*)(?::(.*))?$/);if(!n)throw new nt(2,4,4016,t);t=n[1];var i,r=n[2];if(n=[],r){var a;(a=Jd(r=new Xd(r),/^([^,=]+)(?:,|$)/g))&&(i=a[1]);for(var o=/([^=]+)=(?:"([^"]*)"|([^",]*))(?:,|$)/g;a=Jd(r,o);)n.push(new qd(a[1],a[2]||a[3])),Jd(r,/[ \t]+/gm)}return new Ud(e,t,n,i)}Ud.prototype.toString=function(e){var t="#"+this.name,n=this.g?this.g.filter(function(t){return!e||!e.has(t.name)}).map(function(e){return e.name+"="+(isNaN(Number(e.value))?'"'+e.value+'"':e.value)}):[];return this.value&&n.unshift(this.value),0<n.length&&(t+=":"+n.join(",")),t},Ud.prototype.getAttribute=function(e){var t=this.g.filter(function(t){return t.name==e});return t.length?t[0]:null};var np="EXT-X-TARGETDURATION EXT-X-MEDIA-SEQUENCE EXT-X-DISCONTINUITY-SEQUENCE EXT-X-PLAYLIST-TYPE EXT-X-I-FRAMES-ONLY EXT-X-ENDLIST EXT-X-SERVER-CONTROL EXT-X-SKIP EXT-X-PART-INF".split(" "),ip="EXTINF EXT-X-BYTERANGE EXT-X-DISCONTINUITY EXT-X-PROGRAM-DATE-TIME EXT-X-KEY EXT-X-DATERANGE EXT-X-MAP".split(" ");function rp(){}function ap(e){try{var t=op(e);return Jn({uri:e,originalUri:e,data:t.data,headers:{"content-type":t.contentType}})}catch(e){return Zn(e)}}function op(t){var n=t.split(":");if(2>n.length||"data"!=n[0])throw new nt(2,1,1004,t);if(2>(n=n.slice(1).join(":").split(",")).length)throw new nt(2,1,1004,t);var i=n[0];t=e.decodeURIComponent(n.slice(1).join(",")),n=i.split(";"),i=n[0];var r=!1;return 1<n.length&&"base64"==n[n.length-1]&&(r=!0,n.pop()),{data:r?Wi(t):Ii(t),contentType:i}}function sp(e){var t=yt(e);return{type:t.split("/")[0],mimeType:t,codecs:e=vt(e),language:null,height:null,width:null,channelCount:null,sampleRate:null,closedCaptions:new Map}}function lp(e){for(var t=new Set,n=[],i=(e=c(e)).next();!i.done;i=e.next()){var r=mt(i=i.value);t.has(r)||(n.push(i),t.add(r))}return n}function cp(){var e=this;this.g=this.h=null,this.u=1,this.o=new Map,this.G=new Map,this.K=new Map,this.K.set("video",new Map),this.K.set("audio",new Map),this.K.set(lt,new Map),this.K.set("image",new Map),this.xa=new Set,this.i=new Map,this.l=null,this.Y="",this.ra=new $d,this.I=-1,this.V=1/0,this.ca=this.bb=!1,this.s=new _t(function(){!function(e){var t,n,i,r,a,o;R(function(s){switch(s.g){case 1:return e.h?(x(s,2),t=Date.now(),A(s,e.update(
1),4)):s.return();case 4:n=Date.now(),zp(e)&&(i=(n-t)/1e3,e.$a.sample(1,i),r=e.m,a=Math.max(0,r-z(e.$a)),e.s.U(a)),T(s,3);break;case 2:if(o=C(s),!e.h)return s.return();if(e.g.raiseFatalErrorOnManifestUpdateRequestFailure)return e.h.onError(o),s.return();o.severity=1,e.h.onError(o),e.s.U(.1);case 3:if(!e.h)return s.return();e.h.onManifestUpdated(),w(s)}})}(e)}),this.ta=Wp,this.C=null,this.sa=0,this.m=1/0,this.ga=this.ea=this.M=0,this.R=new ai,this.D=new Map,this.F=new Map,this.W=new Map,this.ab=this.A=!1,this.$a=new F(5),this.j=null}function up(e,t){return zp(e)?e.K.get(t.type):t.td}function dp(e,t){var n,i,r,a,o,s,l,d,p,h,f,g,m,y,v,b,x,k,T,C,E,S,L,M,I,D,N,P;return R(function(R){if(1==R.g){for(n=[],i=c(t.ba()),r=i.next();!r.done;r=i.next())a=r.value,o=new Oe(a),s=o.g,t.Zc&&(0<=t.Oa&&s.add("_HLS_msn",String(t.Oa)),0<=t.Pa&&s.add("_HLS_part",String(t.Pa))),t.$c&&s.add("_HLS_skip","YES"),tt(s)&&qe(o,s),n.push(o.toString());return A(R,Fp(e,n,!0),2)}if(l=R.h,!t.stream.segmentIndex)return R.return();if(1!=(d=ep(e.ra,l.data)).type)throw new nt(2,4,4017);(p=l.uri)==l.originalUri||t.ba().includes(p)||t.Gf.push(p),h=Kd(d.g,"EXT-X-DEFINE"),f=gp(e,h,p),g=t.stream,m=up(e,t),y=Ip(d,g.mimeType),v=y.keyIds,b=y.drmInfos,function(e,t){return e.size===t.size&&[].concat(u(e)).every(function(e){return t.has(e)})}(g.keyIds,v)||(g.keyIds=v,g.drmInfos=b,e.h.newDrmInfo(g)),x=Hp(e,d,g,m,f,t.ba),k=x.segments,T=x.bandwidth,g.bandwidth=T,g.segmentIndex.Ec(k,e.l.ob()),k.length&&(C=Wd(d.g,"EXT-X-MEDIA-SEQUENCE",0),S=(E=Qd(d.g,"EXT-X-SKIP"))?Number(Fd(E,"SKIPPED-SEGMENTS")):0,L=Lp(C,k),M=L.Oa,I=L.Pa,t.Oa=M+S,t.Pa=I,D=m.get(C),g.segmentIndex.Sa(D)),N=k[0],t.Db=N.startTime,P=k[k.length-1],t.gb=P.endTime,Qd(d.g,"EXT-X-ENDLIST")&&(t.Ac=!0),Rp(e,d),w(R)})}function pp(e,t,n){t.Db+=n,t.gb+=n;for(var i=c(e=up(e,t)),r=i.next();!r.done;r=i.next()){var a=c(r.value);r=a.next().value,a=a.next().value,e.set(r,a+n)}t.ba()}function hp(e,t,n){var i,r,a,o,s,l,u,d,p,h,f,g,m,y,v,b,w,x;return R(function(k){switch(k.g){case 1:if(i=sp(e.g.hls.mediaPlaylistFullMimeType),!t.segments.length)return k.return(i);if(r=Math.trunc((t.segments.length-1)/2),a=t.segments[r],o=Yd(n(),t.segments[0].h),s=o[0],l=new Oe(s),u=l.Aa.split(".").pop(),d=Kp[u])return k.return(sp(d));if(p=fi,h=null,f=Pp(e,t,a.g,n),e.W.clear(),!f){k.B(2);break}return g=ci(f.ba(),e.g.retryParameters),A(k,qp(e,g,p,{type:0}),3);case 3:m=k.h,h=m.data;case 2:return y=ci(o,e.g.retryParameters),A(k,qp(e,y,p,{type:1}),4);case 4:if(v=k.h,(b=v.headers["content-type"])&&(b=b.split(";")[0].toLowerCase()),"ts"==u||"video/mp2t"==b){var T=v.data,C=oe(T),E=(C=(new wa).parse(C)).gd();C=C.me();var S=[],L=!1,M=!1;switch(E.audio){case"aac":S.push("mp4a.40.2"),L=!0;break;case"mp3":S.push("mp4a.40.34"),L=!0;break;case"ac3":S.push("ac-3"),L=!0;break;case"ec3":S.push("ec-3"),L=!0}switch(E.video){case"avc":C.ma?S.push(C.ma):S.push("avc1.42E01E"),M=!0;break;case"hvc":C.ma?S.push(C.ma):S.push("hvc1.1.6.L93.90"),M=!0}if(S.length){if(E=L&&!M,L=new Map,M){(M=new de("video/mp2t")).i(T);for(var I=(T=c(M.j())).next();!I.done;I=T.next())I=I.value,L.set(I,I);M.h()}C={type:E?"audio":"video",mimeType:"video/mp2t",codecs:S.join(", "),language:null,height:C.height,width:C.width,channelCount:null,sampleRate:null,closedCaptions:L}}else C=null;if(w=C)return k.return(w)}else if(("mp4"==u||"cmfv"==u||"m4s"==u||"video/mp4"==b||"audio/mp4"==b||"video/iso.segment"==b)&&(x=function(e,t){function n(e){return i(e.name)}function i(e){switch(e=e.toLowerCase()){case"avc1":case"avc3":r.push(e+".42E01E"),o=!0;break;case"hev1":case"hvc1":r.push(e+".1.6.L93.90"),o=!0;break;case"dvh1":case"dvhe":r.push(e+".05.04"),o=!0;break;case"vp09":r.push(e+".00.10.08"),o=!0;break;case"av01":r.push(e+".0.01M.08"),o=!0;break;case"mp4a":r.push("mp4a.40.2"),a=!0;break;case"ac-3":case"ec-3":case"opus":case"flac":r.push(e),a=!0}}var r=[],a=!1,o=!1,s=null,l=null,u=null,d=null,p=null;if((new Vi).box("moov",Hi).box("trak",Hi).aa("tkhd",function(e){var t=e.reader;1==(e=e.version)?(t.skip(8),t.skip(8)):(t.skip(4),t.skip(4)),t.T(),1==e?t.skip(8):t.skip(4),t.skip(4),t.skip(8),t.skip(2),t.skip(2),t.skip(2),t.skip(2),t.skip(36),e=t.Ba()+t.Ba()/16,t=t.Ba()+t.Ba()/16,l=String(t),u=String(e)}).box("mdia",Hi).aa("mdhd",function(e){s=sa(e.reader,e.version).language}).box("minf",Hi).box("stbl",Hi).aa("stsd",Bi).box("mp4a",function(e){var t=e.reader;t.skip(6),t.skip(2),t.skip(8);var i=t.Ba();t.skip(2),t.skip(2),t.skip(2),t=t.Ba()+t.Ba()/65536,d=i,p=t,e.reader.oa()?Hi(e):n(e)}).box("esds",function(e){e=function(e){for(var t,n,i="mp4a";e.oa();){t=e.Ca();for(var r=e.Ca();128&r;)r=e.Ca();if(3==t)e.Ba(),128&(r=e.Ca())&&e.Ba(),64&r&&e.skip(e.Ca()),32&r&&e.Ba();else if(4==t)n=e.Ca(),e.skip(12);else if(5==t)break}return n&&(i+="."+this.g(n),5==t&&e.oa()&&(31==(n=(248&(t=e.Ca()))>>3)&&e.oa()&&(n=32+((7&t)<<3)+((224&e.Ca())>>5)),i+="."+n)),{ma:i}}(e.reader),r.push(e.ma),a=!0}
1).box("ac-3",n).box("ec-3",n).box("opus",n).box("Opus",n).box("fLaC",n).box("avc1",function(e){e=la(e.reader,e.name),r.push(e.ma),o=!0}).box("avc3",function(e){e=la(e.reader,e.name),r.push(e.ma),o=!0}).box("hev1",n).box("hvc1",n).box("dvh1",n).box("dvhe",n).box("vp09",n).box("av01",n).box("enca",Ui).box("encv",Ui).box("sinf",Hi).box("frma",function(e){i(Fi(e=e.reader.T()))}).parse(e||t,!0),!r.length)return null;var h=a&&!o,f=new Map;if(o){var g=new de("video/mp4");for(e&&g.init(e),g.i(t),t=(e=c(g.j())).next();!t.done;t=e.next())t=t.value,f.set(t,t);g.h()}return{type:h?"audio":"video",mimeType:h?"audio/mp4":"video/mp4",codecs:lp(r).join(", "),language:s,height:l,width:u,channelCount:d,sampleRate:p,closedCaptions:f}}(h,v.data)))return k.return(x);return k.return(i)}})}function fp(e){if(zp(e)){if(e.ta==Zp){for(var t,n=t=1/0,i=c(e.i.values()),r=i.next();!r.done;r=i.next())(r=r.value).stream.segmentIndex&&"text"!=r.stream.type&&(t=Math.min(t,r.gb),n=Math.min(n,r.Db));t-=n,e.g.hls.useSafariBehaviorForLive&&(t=e.l.m),isNaN(e.g.availabilityWindowOverride)||(t=e.g.availabilityWindowOverride),e.l.Bd(t)}}else e.l.Qa(Tp(e));e.l.rd()}function gp(e,t,n){n=new Oe(n).g;for(var i=new Map,r=(t=c(t)).next();!r.done;r=t.next()){var a=r.value,o=Fd(a,"NAME"),s=Fd(a,"VALUE");r=Fd(a,"QUERYPARAM"),a=Fd(a,"IMPORT"),o&&s&&(i.has(o)||i.set(o,s)),r&&(o=n.get(r)[0])&&!i.has(o)&&i.set(r,o),a&&(r=e.o.get(a))&&i.set(a,r)}return i}function mp(e,t,n){for(var i={audio:[],video:[]},r=new Map,a=[],o=!1,s=!1,l=c(t),d=l.next();!d.done;d=l.next()){var p=d.value;d=Fd(p,"AUDIO");var h=Fd(p,"VIDEO"),f=d||h;f&&(a.includes(f)||a.push(f),(p=Fd(p,"PATHWAY-ID"))&&r.set(f,p),d?o=!0:h&&(s=!0))}a.length&&n.length&&function(e,t,n){t=t.filter(function(e){var t=Fd(e,"URI")||"";return"SUBTITLES"!=Fd(e,"TYPE")&&""!=t});for(var i={},r=(t=c(t)).next();!r.done;r=t.next()){var a=Od(r=r.value);i[a]?i[a].push(r):i[a]=[r]}for(var o in i)xp(e,i[o],n)}(e,l=n.filter(function(e){return a.includes(zd(e,"GROUP-ID"))}),r),l=(r=a.sort().join(","))&&e.G.has(r)?e.G.get(r):[],o?i.audio.push.apply(i.audio,u(l)):s&&i.video.push.apply(i.video,u(l)),d=!1;var g=t.map(function(e){return zd(e,"URI")});if(s=i.audio.find(function(e){return e&&e.ba().find(function(e){return g.includes(e)})}),h=st("video",o=yp(e,t[0])),(f=st("audio",o))&&!h?(s="audio",d=0<i.audio.length):!i.audio.length&&!i.video.length&&f&&h?(s="video",o=[[h,f].join()]):i.audio.length&&s?(s="audio",d=!0):s=i.video.length&&!i.audio.length?"audio":"video",!d){var m=p=f=h=d=null;!l.length&&(n=n.find(function(e){var t=Fd(e,"URI")||"",n=Fd(e,"TYPE");return e=zd(e,"GROUP-ID"),"SUBTITLES"!=n&&""==t&&a.includes(e)}))&&(d=Fd(n,"LANGUAGE"),h=Fd(n,"NAME"),f=vp(n),Ap(n),p=Fd(n,"CHARACTERISTICS"),m=bp(n)),e=function(e,t,n,i,r,a,o,s,l){for(var u=e.u++,d=[],p=c(t),h=p.next();!h.done;h=p.next()){var f=h.value;h=zd(f,"URI"),f=Fd(f,"PATHWAY-ID"),e.j&&f&&Yu(e.j,u,f,h),d.push(h)}if(p=d.sort().join(","),e.i.has(p))return e.i.get(p);e:{if(t=Fd(t[0],"CLOSED-CAPTIONS"),"video"==i){if(t&&"NONE"!=t){t=e.D.get(t);break e}if(!t&&e.D.size)for(t=c(e.D.keys()).next();!t.done;){t=e.D.get(t.value);break e}}t=null}return n=ot(i,n),i=kp(e,u,d,n,i,r,!1,a,o,t,s,!1,l,!1),e.i.set(p,i),i}(e,t,o,s,d,h,f,p,m),r&&(e.stream.groupId=r),i[e.stream.type]=[e]}return i}function yp(e,t){var n=Fd(t,"CODECS")||"";e.ca=0<n.length,e.ca||e.g.hls.disableCodecGuessing||(t=[],e.g.disableVideo||t.push(e.g.hls.defaultVideoCodec),e.g.disableAudio||t.push(e.g.hls.defaultAudioCodec),n=t.join(",")),e=new Set,t=[];for(var i=(n=c(n.split(/\s*,\s*/))).next();!i.done;i=n.next()){var r=mt(i=i.value);e.has(r)||(t.push(i),e.add(r))}return t}function vp(e){return(e=Fd(e,"CHANNELS"))?parseInt(e.split("/")[0],10):null}function bp(e){return(e=Fd(e,"SAMPLE-RATE"))?parseInt(e,10):null}function Ap(e){return!!(e=Fd(e,"CHANNELS"))&&e.includes("/JOC")}function wp(e,t,n,i,r,a,o,s,l,u,d){for(var p=c(n),h=p.next();!h.done;h=p.next())Op(h.value.stream,r,a,o,s,l);for(r=e.g.disableAudio,t.length&&!r||(t=[null]),r=e.g.disableVideo,n.length&&!r||(n=[null]),r=[],a=(t=c(t)).next();!a.done;a=t.next())for(a=a.value,s=(o=c(n)).next();!s.done;s=o.next()){var f=s.value;(s=a?a.stream:null)&&(s.drmInfos=u,s.keyIds=d),(l=f?f.stream:null)&&(l.drmInfos=u,l.keyIds=d),p=a?a.stream.drmInfos:null,h=f?f.stream.drmInfos:null,f=(f=f?f.ba().sort().join(","):"")+" - "+(a?a.ba().sort().join(","):""),s&&l&&!Ir(p,h)||e.xa.has(f)||(s={id:e.u++,language:s?s.language:"und",disabledUntilTime:0,primary:!!s&&s.primary||!!l&&l.primary,audio:s,video:l,bandwidth:i,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]},r.push(s),e.xa.add(f))}return r}function xp(e,t,n){for(var i=[],r=[],a=new Map,o=c(t),s=o.next();!s.done;s=o.next()){var l=s.value;s=zd(l,"URI"),l=zd(l,"GROUP-ID"),i.push(s),r.push(l),a.set(l,s)}if(o=r.sort().join(","),s=t[0],t="","subtitles"==(l=zd(s,"TYPE").toLowerCase())&&(l=lt),l==lt)t=Fd(s,"CODECS")||"";else for(var u=(r=c(r)).next();!u.done;u=r.next())if(u=u.value,e.F.has(u)){t=e.F.get(u);break}if(r=i.sort().join(","),e.i.has(r))return e.i.get(r);if(u=e.u++,e.j)for(var d=(a=c(a)).next();!d.done;d=a.next()){var p=c(d.value);d=p.next().value,p=p.next().value,(d=n.get(d))&&Yu(e.j,u,d,p)}n=Fd(s,"LANGUAGE"),a=Fd(s,"NAME"),d="YES"==Fd(s,"DEFAULT"),p="audio"==l?vp(s):null;var h="audio"==l&&Ap(s);return(i=kp(e,u,i,t,l,n,d,a,p,null,Fd(s,"CHARACTERISTICS"),"YES"==Fd(s,"FORCED"),s="audio"==l?bp(s):null,h)).stream&&(i.stream.groupId=o),e.G.has(o)?e.G.get(o).push(i):e.G.set(o,[i]),e.i.set(r,i),i}function kp(e,t,n,i,r,a,o,s,l,u,d,p,h,f){function g(t){var n,g,x,k,T,C,E,S,L,M,I,D,N,P,j,V,H;return R(function(R){switch(R.g){case 1:return n=b.ba(),A(R,Fp(e,b.ba(),!0),2);case 2:if(g=R.h,t.aborted)return R.return();if((x=g.uri)==g.originalUri||n.includes(x)||v.push(x),k=ep(e.ra,g.data),T=void 0,e.ca||!e.g.hls.disableCodecGuessing){R.B(3);break}return A(R,hp(e,k,m),4);case 4:C=R.h,T=C.mimeType,i=C.codecs;case 3:return E=zp(e),A(R,Sp(e,0,k,m,x,i,r,a,o,s,l,u,d,p,h,f,T),5);case 5:if(S=R.h,t.aborted)return R.return();if(L=S.stream,zp(e)&&!E&&Np(e,k),b.Db=S.Db,b.gb=S.gb,b.$c=S.$c,b.Zc=S.Zc,b.Ac=S.Ac,b.td=S.td,b.Oa=S.Oa,b.Pa=S.Pa,b.ye=!0,y.segmentIndex=L.segmentIndex,y.encrypted=L.encrypted,y.drmInfos=L.drmInfos,y.keyIds=L.keyIds,y.mimeType=L.mimeType,y.bandwidth=L.bandwidth,y.codecs=L.co
1decs||y.codecs,y.drmInfos.length&&e.h.newDrmInfo(y),r==(M=ct).$||r==M.N)for(I=c(e.i.values()),D=I.next();!D.done;D=I.next())(N=D.value).ye||N.type!=r||(N.stream.mimeType=L.mimeType);r==M.ia&&(P=L.segmentIndex.get(0))&&P.fa&&(y.mimeType="application/mp4"),function(e){if(!e.C)return!1;for(var t=[],n=[],i=(e=c(e.C.variants)).next();!i.done;i=e.next())(i=i.value).video&&t.push(i.video),i.audio&&n.push(i.audio);return!(0<t.length&&!t.some(function(e){return e.segmentIndex})||0<n.length&&!n.some(function(e){return e.segmentIndex}))}(e)&&(e.bb?Ep(e,[b]):(e.bb=!0,j=Array.from(e.i.values()),V=j.filter(function(e){return e.stream.segmentIndex}),Ep(e,V),fp(e),0<(H=e.m)&&e.s.U(H))),w(R)}})}function m(){return e.j&&1<n.length?Zu(e.j,t):v.concat(Zd([e.Y],n,e.o))}var y=Mp(e,i,r,a,o,s,l,u,d,p,h,f),v=[],b={stream:y,type:r,Gf:v,ba:m,Db:0,gb:0,td:new Map,$c:!1,Zc:!1,Ac:!1,Td:-1,Oa:-1,Pa:-1,ye:!1},x=null,k=new AbortController;return y.createSegmentIndex=function(){return x||(k=new AbortController,x=new Promise(function(e){e(g(k.signal))}))},y.closeSegmentIndex=function(){x&&!y.segmentIndex&&k.abort(),y.segmentIndex&&(y.segmentIndex.release(),y.segmentIndex=null),x=null},b}function Tp(e){for(var t=1/0,n=(e=c(e.i.values())).next();!n.done;n=e.next())(n=n.value).stream.segmentIndex&&"text"!=n.stream.type&&(t=Math.min(t,n.gb));return t}function Cp(e,t){for(var n=[],i=(t=c(t)).next();!i.done;i=t.next())(i=i.value).segmentIndex&&Co(i.segmentIndex,function(e){n.push(e)});e.l.xd(n)}function Ep(e,t){if(!zp(e))for(var n=Tp(e),i=c(t),r=i.next();!r.done;r=i.next())r.value.stream.segmentIndex.Ob(0,n);Cp(e,t.map(function(e){return e.stream})),e.g.hls.ignoreManifestProgramDateTime?function(e,t){for(var n=-1==e.I,i=c(t),r=i.next();!r.done;r=i.next()){var a=(r=r.value).stream.segmentIndex,o=up(e,r);if(a=a.g[0]||null)for(var s=(o=c(o)).next();!s.done;s=o.next()){var l=(s=c(s.value)).next().value;if(s.next().value==a.startTime){n&&(e.I=Math.max(e.I,l)),r.Td=l;break}}}if(!(0>e.I))for(r=(t=c(t)).next();!r.done;r=t.next())(i=(n=r.value).stream.segmentIndex)&&(i.g.splice(0,e.I-n.Td),(i=i.g[0]||null)&&(i=-i.startTime,n.stream.segmentIndex.offset(i),pp(e,n,i)))}(e,t):function(e,t){if(1/0==e.V)for(var n=(t=c(t)).next();!n.done;n=t.next()){var i=n.value.stream.segmentIndex.g[0]||null;null!=i&&null!=i.h&&(e.V=Math.min(e.V,i.h))}if(1/0!=(t=e.V))for(n=(i=c(e.i.values())).next();!n.done;n=i.next()){var r=(n=n.value).stream.segmentIndex;if(null!=r){var a=r.g[0]||null;if(null==a.h)K("Missing EXT-X-PROGRAM-DATE-TIME for stream",n.ba(),"Expect AV sync issues!");else for(pp(e,n,a.h-t-a.startTime),r=(n=c(r)).next();!r.done;r=n.next())r.value.Ue(t)}}}(e,t)}function Sp(e,t,n,i,r,a,o,s,l,c,u,d,p,h,f,g,m){var y,v,b,w,k,E,S,L,M,I,D,N,P,j,V,H,B,U,O,F,z,_,q;return R(function(t){if(1==t.g){if(1!=n.type)throw new nt(2,4,4017);y=Kd(n.g,"EXT-X-DEFINE"),v=gp(e,y,r);var K=Qd(n.g,"EXT-X-PLAYLIST-TYPE"),G=Qd(n.g,"EXT-X-ENDLIST");return G=K&&"VOD"==K.value||G,K=K&&"EVENT"==K.value&&!G,K=!G&&!K,_p(e,G?Wp:K?Zp:Yp),zp(e)&&Rp(e,n),m?t.B(2):A(t,function(e,t,n,i,r,a){var o,s,l,c,u,d,p,h,f,g,m,y,v;return R(function(b){switch(b.g){case 1:return o=fi,s=Math.trunc((i.segments.length-1)/2),l=Yd(a(),i.segments[s].h,r),c=new Oe(l[0]),u=c.Aa.split(".").pop(),d=Gp[t],(p=d[u])||(p=Kp[u])||(p=Bp(t,n))?b.return(p):(f=1,g=ci(l,e.g.retryParameters),x(b,2),g.method="HEAD",A(b,qp(e,g,o,{type:f}),4));case 4:m=b.h,h=m.headers["content-type"],T(b,3);break;case 2:if(!(y=C(b))||1002!=y.code){b.B(3);break}return g.method="GET",A(b,qp(e,g,o,{type:f}),6);case 6:v=b.h,h=v.headers["content-type"];case 3:return h?b.return(h.split(";")[0]):b.return(Up(t))}})}(e,o,a,n,v,i),3)}if(2!=t.g&&(m=t.h),b=Ip(n,m),w=b.drmInfos,k=b.keyIds,E=b.encrypted,S=b.ag,E&&!w.length&&!S)throw new nt(2,4,4026);return(L=Mp(e,a,o,s,l,c,u,d,p,h,f,g)).encrypted=E,L.drmInfos=w,L.keyIds=k,L.mimeType=m,M=zp(e)?e.K.get(o):new Map,I=Hp(e,n,L,M,v,i),D=I.segments,N=I.bandwidth,L.bandwidth=N,zp(e)&&Rp(e,n),P=D[0].startTime,j=D[D.length-1],V=j.endTime,H=new To(D),L.segmentIndex=H,U=!!(B=Qd(n.g,"EXT-X-SERVER-CONTROL"))&&null!=B.getAttribute("CAN-SKIP-UNTIL"),O=!!B&&null!=B.getAttribute("CAN-BLOCK-RELOAD"),F=Wd(n.g,"EXT-X-MEDIA-SEQUENCE",0),z=Lp(F,D),_=z.Oa,q=z.Pa,t.return({stream:L,type:o,Gf:[],ba:i,Db:P,gb:V,$c:U,Zc:O,Ac:!1,Td:-1,Oa:_,Pa:q,td:M,ye:!1})})}function Lp(e,t){e=e+t.length-1;var n=-1;if(!t.length)return{Oa:++e,Pa:n};var i=(t=t[t.length-1]).g;return t.g.length?(n=i.length-1,i[i.length-1].m||(e++,n=0),{Oa:e,Pa:n}):(e++,t.s&&(n=0),{Oa:e,Pa:n})}function Mp(e,t,n,i,r,a,o,s,l,u,d,p){var h=Bp(n,t)||Up(n),f=[];if(l)for(var g=(l=c(l.split(","))).next();!g.done;g=l.next())f.push(g.value);return l=void 0,g=null,n==lt?l=f.includes("public.accessibility.transcribes-spoken-dialog")&&f.includes("public.accessibility.describes-music-and-sound")?"caption":"subtitle":f.includes("public.accessibility.describes-video")&&(g="visually impaired"),f.length||"subtitle"!==l||f.push("subtitle"),{id:e.u++,originalId:a,groupId:null,createSegmentIndex:function(){return Promise.resolve()},segmentIndex:null,mimeType:h,codecs:t,kind:n==lt?"subtitle":void 0,encrypted:!1,drmInfos:[],keyIds:new Set,language:Nt(i||"und"),originalLanguage:i,label:a,type:n,primary:r,trickModeVideo:null,emsgSchemeIdUris:null,frameRate:void 0,pixelAspectRatio:void 0,width:void 0,height:void 0,bandwidth:void 0,roles:f,forced:u,channelsCount:o,audioSamplingRate:d,spatialAudio:p,closedCaptions:s,hdr:void 0,videoLayout:void 0,tilesLayout:void 0,accessibilityPurpose:g,external:!1,fastSwitching:!1}}function Ip(e,t){var n=[];if(e.segments)for(var i=(e=c(e.segments)).next();!i.done;i=e.next())i=Kd(i.value.g,"EXT-X-KEY"),n.push.apply(n,u(i));i=e=!1;for(var r=[],a=new Set,o=(n=c(n)).next();!o.done;o=n.next()){var s=zd(o=o.value,"METHOD");if("NONE"!=s)if(e=!0,"AES-128"==s)i=!0;else if(s=Fd(o,"KEYFORMAT")||"identity",o=(s=Qp[s])?s(o,t):null){if(o.keyIds)for(var l=(s=c(o.keyIds)).next();!l.done;l=s.next())a.add(l.value);r.push(o)}}return{drmInfos:r,keyIds:a,encrypted:e,ag:i}}function Dp(t,n,i,r,a){if(!e.crypto||!e.crypto.subtle)throw G("Web Crypto API is not available to decrypt AES-128. (Web Crypto only exists in secure origins like https)"),new nt(2,4,4042);var o=0,s=Fd(n,"IV","");if(s){var l=Yi(s.substr(2));if(16!=l.byteLength)throw new nt(2,4,4048)}else o=Wd(i.g,"EXT-X-MEDIA-SEQUENCE",0);var c={bitsKey:128,blockCipherMode:"CBC",iv:l,firstMediaSequenceNumber:o,fetchKey:function(){var i,o,s,l,u;return R(function(d){if(1==d.g)return i=Yd(r(),zd(n,"URI"),a),o=ci([i],t.g.retryParameters),A(d,qp(t,o,6),2);
1if(3!=d.g){if(!(s=d.h).data||16!=s.data.byteLength)throw new nt(2,4,4049);return l={name:"AES-CBC"},u=c,A(d,e.crypto.subtle.importKey("raw",s.data,l,!0,["decrypt"]),3)}u.cryptoKey=d.h,c.fetchKey=void 0,w(d)})}};return c}function Rp(e,t){var n=1/0,i=t.segments;if(i.length)for(var r=i.length-1;0<=r;){var a=Qd(i[r].g,"EXTINF");if(a){n=Number(a.value.split(",")[0]);break}r--}if(!(i=Qd(t.g,"EXT-X-TARGETDURATION")))throw new nt(2,4,4024,"EXT-X-TARGETDURATION");i=Number(i.value),(r=Qd(t.g,"EXT-X-PART-INF"))&&(e.M=Number(zd(r,"PART-TARGET"))),t=Qd(t.g,"EXT-X-SERVER-CONTROL"),e.A&&e.M?(e.m=e.ab?5*e.M<=n?Math.min(e.M,e.m):Math.min(n,e.m):Math.min(e.M,e.m),e.ga=t?Number(zd(t,"PART-HOLD-BACK")):0):(e.m=Math.min(n,e.m),n=t?t.getAttribute("HOLD-BACK"):null,e.ea=n?Number(n.value):0),e.sa=Math.max(i,e.sa)}function Np(e,t){if(e.g.defaultPresentationDelay)t=e.g.defaultPresentationDelay;else if(e.ga)t=e.ga;else if(e.ea)t=e.ea;else{t=t.segments.length;var n=e.g.hls.liveSegmentsDelay;n>t-2&&(n=Math.max(1,t-2)),t=e.sa*n}e.l.Of(0),e.l.Nf(t),e.l.Yb(!1)}function Pp(e,t,n,i,r){var a=Qd(n,"EXT-X-MAP");if(!a)return null;var o=zd(a,"URI"),s=Yd(i(),o,r);if(o=[s.toString(),Fd(a,"BYTERANGE","")].join("-"),!e.W.has(o)){for(var l=void 0,u=null,d=(n=c(n)).next();!d.done;d=n.next())"EXT-X-KEY"==(d=d.value).name?"AES-128"==zd(d,"METHOD")&&d.id<a.id&&(l=Dp(e,d,t,i,r)):"EXT-X-BYTERANGE"==d.name&&d.id<a.id&&(u=d);t=function(e,t,n,i){var r=0,a=null;return t=Fd(t,"BYTERANGE"),!t&&n&&(t=n.value),t&&(r=t.split("@"),a=Number(r[0]),r=Number(r[1]),a=r+a-1,i&&(n=a+1-r,n%16&&(a+=16-n%16))),new Kr(function(){return e},r,a,null,null,null,i)}(s,a,u,l),e.W.set(o,t)}return e.W.get(o)}function jp(t,n,i,r,a,o,s,l,u){var d=r.g,p=Qd(d,"EXTINF"),h=0,f=0,g=null;r.Ua.length&&!t.A&&G("Low-latency HLS live stream detected, but low-latency streaming mode is not enabled in Shaka Player. Set streaming.lowLatencyMode configuration to true, and see https://bit.ly/3clctcj for details.");var m=null;if(!t.g.hls.ignoreManifestProgramDateTime){var y=Qd(d,"EXT-X-PROGRAM-DATE-TIME");y&&y.value&&(m=lr(y.value))}var v=Wr;if(Qd(d,"EXT-X-GAP")&&(v=2),!p){if(0==r.Ua.length)throw new nt(2,4,4024,"EXTINF");if(!t.A)return null}var b=[];y=!1;var A=null,w=!1,x=!1;if(t.A&&r.Ua.length){h=("video/mp4"==s.mimeType||"audio/mp4"==s.mimeType)&&e.ReadableStream&&t.g.hls.allowLowLatencyByteRangeOptimization;for(var k=m,T={},C=0;C<r.Ua.length;T={kc:T.kc,Uc:T.Uc},C++){var E=r.Ua[C],S=0==C?i:b[b.length-1],L=0==C?a:S.endTime,M=Number(Fd(E,"DURATION"))||t.M;if(M){var I=L+M,D=0,R=null;if("EXT-X-PRELOAD-HINT"==E.name?(D=(D=Fd(E,"BYTERANGE-START"))?Number(D):0,(S=Fd(E,"BYTERANGE-LENGTH"))?R=D+Number(S)-1:D&&(R=Number.MAX_SAFE_INTEGER)):(D=(R=c(Vp(S,D=Fd(E,"BYTERANGE")))).next().value,R=R.next().value),T.Uc=Fd(E,"URI"),T.Uc){S=Wr,"YES"==Fd(E,"GAP")&&(S=2,w=!0),T.kc=null;var N=function(e){return function(){return null==e.kc&&(e.kc=Yd(l(),e.Uc,o)),e.kc}}(T);h&&0<=D&&null!=R&&(A=N,y=!0),L=new Qr(L,I,N,D,R,n,0,0,1/0,[],"",null,k,S,u),"EXT-X-PRELOAD-HINT"==E.name&&(L.Ae(),x=!0),"YES"!=Fd(E,"INDEPENDENT")&&0<C&&L.sd(),b.push(L),k&&(k+=M)}}}}if(p){if(0==(p=Number(p.value.split(",")[0])))return null;h=a+p}else{if(!b.length)return null;h=b[b.length-1].endTime}y&&(w||0!=b[0].Xa?(y=!1,A=null):b=[]),(p=Qd(d,"EXT-X-BYTERANGE"))?(f=(g=c(Vp(i,p.value))).next().value,g=g.next().value):b.length&&(f=b[0].Xa,g=b[b.length-1].za),i="",p=null,"image"==s.type&&(i="1x1",s=Qd(d,"EXT-X-TILES"))&&(i=zd(s,"LAYOUT"),(s=Fd(s,"DURATION"))&&(p=Number(s)));var P=null;return n=new Qr(a,h,function(){return A?A():(null==P&&(P=Yd(l(),r.h,o)),P||[])},f,g,n,0,0,1/0,b,i,p,m,v,u,0<b.length&&!!r.h),y&&(t.ab=!0,n.yf(),x&&n.Ae()),n}function Vp(e,t){var n=0,i=null;return t&&(n=t.split("@"),t=Number(n[0]),i=(n=n[1]?Number(n[1]):e.za+1)+t-1),[n,i]}function Hp(e,t,n,i,r,a){var o=t.segments,s=void 0,l=Wd(t.g,"EXT-X-DISCONTINUITY-SEQUENCE",0),u=Wd(t.g,"EXT-X-MEDIA-SEQUENCE",0),d=Qd(t.g,"EXT-X-SKIP"),p=d?Number(Fd(d,"SKIPPED-SEGMENTS")):0,h=u+p,f=0;zp(e)&&i.has(h)&&(f=i.get(h));var g=[],m=null;d=[];for(var y=0;y<o.length;y++){var v=o[y],b=0==y?f:m.endTime;h=u+p+y,Qd(v.g,"EXT-X-DISCONTINUITY")&&l++;for(var A=c(v.g),w=A.next();!w.done;w=A.next())"EXT-X-KEY"==(w=w.value).name&&(s="AES-128"==zd(w,"METHOD")?Dp(e,w,t,a,r):void 0);i.set(h,b),A=Pp(e,t,v.g,a,r),!e.A&&e.h.isAutoLowLatencyMode()&&(e.h.enableLowLatencyMode(),e.A=e.h.isLowLatencyMode()),(b=jp(e,A,m,v,b,r,n,a,s))&&((m=Wd(v.g,"EXT-X-BITRATE"))?d.push({bitrate:m,duration:b.endTime-b.startTime}):d.length&&((m=d.pop()).duration+=b.endTime-b.startTime,d.push(m)),m=b,b.j=l,e.g.hls.ignoreManifestProgramDateTime&&null!=e.I&&h<e.I||g.push(b))}if(t=void 0,d.length&&(t=d.reduce(function(e,t){return e+t.duration},0),t=Math.round(d.reduce(function(e,t){return e+t.bitrate*t.duration},0)/t*1e3)),d=g.some(function(e){return null!=e.h}))for(n={},i=0;i<g.length;n={dc:n.dc,cc:n.cc,Rc:n.Rc,kb:n.kb,bc:n.bc},i++)if(n.kb=g[i],null==n.kb.h)for(n.cc=0,n.dc=i,r=function(e){return function(){var t=g[e.dc];if(t){if(null!=t.h)return t.h+e.cc;e.cc-=t.endTime-t.startTime,e.dc+=1}return null}}(n),n.bc=0,n.Rc=i,a=function(e){return function(){var t=g[e.Rc];if(t){if(t!=e.kb&&(e.bc+=t.endTime-t.startTime),null!=t.h)return t.h+e.bc;--e.Rc}return null}}(n);null==n.kb.h;)n.kb.h=a(),null==n.kb.h&&(n.kb.h=r());if(d)for(i=(n=c(g)).next();!i.done;i=n.next())for(i=(r=i.value).h,a=(r=c(r.g)).next();!a.done;a=r.next())(a=a.value).h=i,i+=a.endTime-a.startTime;
1if(e=e.V,d&&1/0!=e)for(i=(d=c(g)).next();!i.done;i=d.next())i.value.Ue(e);return{segments:g,bandwidth:t}}function Bp(e,t){if(e==lt){if("vtt"==t||"wvtt"==t)return"text/vtt";if(t&&""!==t)return"application/mp4"}return"image"!=e||t&&"jpeg"!=t?"audio"==e&&"mp4a.40.34"==t?"audio/mpeg":"mjpg"==t?"application/mp4":null:"image/jpeg"}function Up(e){return e==lt?"text/vtt":Gp[e].mp4}function Op(e,t,n,i,r,a){e&&(e.width=Number(t)||void 0,e.height=Number(n)||void 0,e.frameRate=Number(i)||void 0,e.hdr=r||void 0,e.videoLayout=a||void 0)}function Fp(e,t,n){return qp(e,ci(t,e.g.retryParameters),0,{type:n?2:3})}function zp(e){return e.ta!=Wp}function _p(e,t){e.ta=t,e.l&&e.l.Yb(!zp(e)),zp(e)||e.s.stop()}function qp(e,t,n,i){if(!e.R)throw new nt(2,7,7001);return t=e.h.networkingEngine.request(n,t,i),oi(e.R,t),t.promise}O("shaka.net.DataUriPlugin",rp),rp.parse=ap,li("data",ap),(i=cp.prototype).configure=function(e){this.g=e,this.j&&this.j.configure(this.g)},i.start=function(e,t){var n,i=this;return R(function(r){return 1==r.g?(i.h=t,i.A=t.isLowLatencyMode(),A(r,Fp(i,[e]),2)):3!=r.g?(n=r.h,i.Y=n.uri,A(r,function(e,t,n){var i,r,a,o,s,l,d,p,h,f,g,m,y,v,b,k,T,E,S,L,M,I,D,N,P,j,V,H,B,U;return R(function(O){switch(O.g){case 1:return i=ep(e.ra,t),r=Kd(i.g,"EXT-X-DEFINE"),a=[],o=[],s=[],1==i.type?A(O,hp(e,i,y=function(){return[n]}),6):(function(e,t){for(var n=new Oe(e.Y).g,i=(t=c(t)).next();!i.done;i=t.next()){var r=i.value;i=Fd(r,"NAME");var a=Fd(r,"VALUE");r=Fd(r,"QUERYPARAM"),i&&a&&(e.o.has(i)||e.o.set(i,a)),r&&(i=n.get(r)[0])&&!e.o.has(i)&&e.o.set(r,i)}}(e,r),l=Kd(i.g,"EXT-X-MEDIA"),d=Kd(i.g,"EXT-X-STREAM-INF"),p=Kd(i.g,"EXT-X-IMAGE-STREAM-INF"),h=Kd(i.g,"EXT-X-I-FRAME-STREAM-INF"),f=Kd(i.g,"EXT-X-SESSION-KEY"),g=Kd(i.g,"EXT-X-SESSION-DATA"),m=Kd(i.g,"EXT-X-CONTENT-STEERING"),function(e,t){for(var n=(t=c(t)).next();!n.done;n=t.next()){var i=n.value,r=Fd(i,"DATA-ID");n=Fd(i,"URI");var a=Fd(i,"LANGUAGE");i=Fd(i,"VALUE"),r=(new Map).set("id",r),n&&r.set("uri",Yd([e.Y],n,e.o)[0]),a&&r.set("language",a),i&&r.set("value",i),n=new ti("sessiondata",r),e.h&&e.h.onEvent(n)}}(e,g),A(O,function(e,t){var n,i,r,a,o,s;return R(function(l){if(!e.h||!e.g)return l.return();for(i=c(t),r=i.next();!r.done;r=i.next())if(a=r.value,o=Fd(a,"PATHWAY-ID"),s=Fd(a,"SERVER-URI"),o&&s){e.j=new Gu(e.h),e.j.configure(e.g),e.j.j=[e.Y],e.j.o="HLS",e.j.h=o,n=Qu(e.j,s);break}return A(l,n,0)})}(e,m),4));case 4:return function(e,t){for(var n=(t=c(t)).next();!n.done;n=t.next()){var i=n.value,r=Fd(i,"AUDIO");n=Fd(i,"VIDEO");var a=Fd(i,"SUBTITLES");if(i=yp(e,i),a){var o=st(lt,i);e.F.set(a,o),-1<(a=i.indexOf(o))&&i.splice(a,1)}r&&((a=st("audio",i))||(a=e.g.hls.defaultAudioCodec),e.F.set(r,a)),n&&((r=st("video",i))||(r=e.g.hls.defaultVideoCodec),e.F.set(n,r))}}(e,d),function(e,t){for(var n=(t=c(t=Gd(t,"CLOSED-CAPTIONS"))).next();!n.done;n=t.next()){var i=n.value,r=Fd(i,"LANGUAGE");n=Nt(r||"und"),r||(r=Fd(i,"NAME"))&&(n=r),r=zd(i,"GROUP-ID"),i=zd(i,"INSTREAM-ID").replace("SERVICE","svc"),e.D.get(r)||e.D.set(r,new Map),e.D.get(r).set(i,n)}}(e,l),a=function(e,t,n,i){var r=[],a=new Set;if(0<n.length)for(var o=(n=c(n)).next();!o.done;o=n.next()){var s=zd(o=o.value,"METHOD");if("NONE"!=s&&"AES-128"!=s&&(s=Fd(o,"KEYFORMAT")||"identity",o=(s=Qp[s])?s(o,""):null)){if(o.keyIds)for(var l=(s=c(o.keyIds)).next();!l.done;l=s.next())a.add(l.value);r.push(o)}}for(n={},t=c(t),o=t.next();!o.done;o=t.next())o=o.value,s=Od(o),n[s]?n[s].push(o):n[s]=[o];for(var d in t=[],n){var p=(l=n[d])[0];o=Fd(p,"FRAME-RATE"),s=Number(Fd(p,"AVERAGE-BANDWIDTH"))||Number(zd(p,"BANDWIDTH"));var h=Fd(p,"RESOLUTION"),f=c(h?h.split("x"):[null,null]);h=f.next().value,f=f.next().value;var g=Fd(p,"VIDEO-RANGE");(p=Fd(p,"REQ-VIDEO-LAYOUT"))&&p.includes(",")&&(p=p.split(",").filter(function(e){return"CH-STEREO"==e||"CH-MONO"==e})[0]),p=p||"CH-MONO",l=mp(e,l,i),t.push.apply(t,u(wp(e,l.audio,l.video,s,h,f,o,g,p,r,a)))}return t.filter(function(e){return null!=e})}(e,d,f,l),o=function(e,t){var n=Gd(t,"SUBTITLES");t=n.map(function(t){if(e.g.disableText)return null;try{return xp(e,[t],new Map).stream}catch(t){if(e.g.hls.ignoreTextStreamFailures)return null;throw t}});for(var i=(n=c(n)).next();!i.done;i=n.next()){var r=zd(i.value,"GROUP-ID");if((i=e.F.get(r))&&(r=e.G.get(r)))for(var a=(r=c(r)).next();!a.done;a=r.next())(a=a.value).stream.codecs=i,a.stream.mimeType=Bp(lt,i)||Up(lt)}return t.filter(function(e){return e})}(e,l),A(O,function(e,t,n){var i,r;return R(function(a){return 1==a.g?(i=t.map(function(t){var n,i;return R(function(r){if(1==r.g)return e.g.disableThumbnails?r.return(null):(x(r,2),A(r,function(e,t){var n,i,r,a,o,s,l,c,u,d;return R(function(p){return 1==p.g?(n=zd(t,"URI"),i=Fd(t,"CODECS","jpeg")||"",e.i.has(n)?p.return(e.i.get(n)):(r=Fd(t,"LANGUAGE"),a=Fd(t,"NAME"),o=Fd(t,"CHARACTERISTICS"),s=kp(e,e.u++,[n],i,"image",r,!1,a,null,
1null,o,!1,null,!1),(l=Fd(t,"RESOLUTION"))?A(p,s.stream.createSegmentIndex(),3):p.B(2))):(2!=p.g&&(c=s.stream.segmentIndex.get(0),u=c.tilesLayout)&&(s.stream.width=Number(l.split("x")[0])*Number(u.split("x")[0]),s.stream.height=Number(l.split("x")[1])*Number(u.split("x")[1])),(d=Fd(t,"BANDWIDTH"))&&(s.stream.bandwidth=Number(d)),e.i.set(n,s),p.return(s))})}(e,t),4));if(2!=r.g)return n=r.h,r.return(n.stream);if(i=C(r),e.g.hls.ignoreImageStreamFailures)return r.return(null);throw i})}).concat(n.map(function(t){if(e.g.disableThumbnails)return null;try{var n=zd(t,"URI"),i=Fd(t,"CODECS")||"";if(e.i.has(n))var r=e.i.get(n);else{var a=Fd(t,"LANGUAGE"),o=Fd(t,"NAME"),s=Fd(t,"CHARACTERISTICS"),l=kp(e,e.u++,[n],i,"image",a,!1,o,null,null,s,!1,null,!1),u=Fd(t,"RESOLUTION"),d=c(u?u.split("x"):[null,null]),p=d.next().value,h=d.next().value;l.stream.width=Number(p)||void 0,l.stream.height=Number(h)||void 0;var f=Fd(t,"BANDWIDTH");f&&(l.stream.bandwidth=Number(f)),e.i.set(n,l),r=l}return"mjpg"!==(t=r).stream.codecs?null:t.stream}catch(t){if(e.g.hls.ignoreImageStreamFailures)return null;throw t}})),A(a,Promise.all(i),2)):(r=a.h,a.return(r.filter(function(e){return e})))})}(e,p,h),5);case 5:s=O.h,O.B(3);break;case 6:return v=O.h,b=v.type,k=v.mimeType,T=v.codecs,E=v.language,S=v.height,L=v.width,M=v.channelCount,I=v.sampleRate,D=v.closedCaptions,A(O,Sp(e,e.u++,i,y,n,T,b,E,!0,"Media Playlist",M,D,null,!1,I,!1,k),7);case 7:N=O.h,e.i.set(n,N),"video"==b&&Op(N.stream,L,S,null,null,null),a.push({id:0,language:Nt(E||"und"),disabledUntilTime:0,primary:!0,audio:"audio"==b?N.stream:null,video:"video"==b?N.stream:null,bandwidth:N.stream.bandwidth||0,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]});case 3:if(!e.h)throw new nt(2,7,7001);if(e.l=new io(null,0),e.l.Yb(!0),1==i.type&&(zp(e)&&(Np(e,i),P=e.m,e.s.U(P)),j=Array.from(e.i.values()),Ep(e,j),fp(e)),e.C={presentationTimeline:e.l,variants:a,textStreams:o,imageStreams:s,offlineSessionIds:[],minBufferTime:0,sequenceMode:e.g.hls.sequenceMode,ignoreManifestTimestampsInSegmentsMode:e.g.hls.ignoreManifestTimestampsInSegmentsMode,type:"HLS",serviceDescription:null},e.ca||!e.g.hls.disableCodecGuessing){O.B(8);break}for(V=[],H=c(e.C.variants),B=H.next();!B.done;B=H.next())(U=B.value).audio&&""===U.audio.codecs&&V.push(U.audio.createSegmentIndex()),U.video&&""===U.video.codecs&&V.push(U.video.createSegmentIndex());return A(O,Promise.all(V),8);case 8:e.h.makeTextStreamsForClosedCaptions(e.C),w(O)}})}(i,n.data,e),3)):r.return(i.C)})},i.stop=function(){this.s&&(this.s.stop(),this.s=null);var e=[];return this.R&&(e.push(this.R.destroy()),this.R=null),this.g=this.h=null,this.xa.clear(),this.C=null,this.i.clear(),this.G.clear(),this.F.clear(),this.o.clear(),this.W.clear(),this.j&&this.j.destroy(),Promise.all(e)},i.update=function(){var e,t,n,i,r,a,o,s,l=this;return R(function(d){if(1==d.g){if(!zp(l))return d.return();for(e=[],t=Array.from(l.i.values()),l.m=1/0,n=t.filter(function(e){return e.stream.segmentIndex}),i=c(n),r=i.next();!r.done;r=i.next())a=r.value,e.push(dp(l,a));return A(d,Promise.all(e),2)}Cp(l,n.map(function(e){return e.stream})),o=n.some(function(e){return 0==e.Ac}),n.length&&!o&&(_p(l,Xp.Xf),s=n.map(function(e){return e.gb}),l.l.Qa(Math.min.apply(Math,u(s))),l.h.updateDuration()),o&&fp(l),w(d)})},i.onExpirationUpdated=function(){},i.onInitialVariantChosen=function(){},i.banLocation=function(e){this.j&&this.j.i.set(e,Date.now()+6e4)},O("shaka.hls.HlsParser",cp);var Kp={aac:"audio/aac",ac3:"audio/ac3",ec3:"audio/ec3",mp3:"audio/mpeg"},Gp={audio:{mp4:"audio/mp4",mp4a:"audio/mp4",m4s:"audio/mp4",m4i:"audio/mp4",m4a:"audio/mp4",m4f:"audio/mp4",cmfa:"audio/mp4",ts:"video/mp2t",tsa:"video/mp2t"},video:{mp4:"video/mp4",mp4v:"video/mp4",m4s:"video/mp4",m4i:"video/mp4",m4v:"video/mp4",m4f:"video/mp4",cmfv:"video/mp4",ts:"video/mp2t",tsv:"video/mp2t"},text:{mp4:"application/mp4",m4s:"application/mp4",m4i:"application/mp4",m4f:"application/mp4",cmft:"application/mp4",vtt:"text/vtt",webvtt:"text/vtt",ttml:"application/ttml+xml"},image:{jpg:"image/jpeg",png:"image/png",svg:"image/svg+xml",webp:"image/webp",avif:"image/avif"}},Qp={"com.apple.streamingkeydelivery":function(t,n){if("video/mp2t"==n)throw new nt(2,4,4040);if(e.shakaMediaKeysPolyfill)throw new nt(2,4,4041);return at("com.apple.fps",[{initDataType:"sinf",initData:new Uint8Array(0),keyId:null}])},"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":function(e){var t=zd(e,"METHOD");return["SAMPLE-AES","SAMPLE-AES-CTR"].includes(t)?(t=at("com.widevine.alpha",[{initDataType:"cenc",initData:t=oe((t=op(t=zd(e,"URI"))).data)}]),(e=Fd(e,"KEYID"))&&(t.keyIds=new Set([e.toLowerCase().substr(2)])),t):null},"com.microsoft.playready":function(e){var t=zd(e,"METHOD");return["SAMPLE-AES","SAMPLE-AES-CTR"].includes(t)?at("com.microsoft.playready",[{initDataType:"cenc",initData:e=$i(e=oe((e=op(e=zd(e,"URI"))).data),t=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),new Set,0)}]):null},identity:function(e){return e=zd(e,"METHOD"),["SAMPLE-AES","SAMPLE-AES-CTR"].includes(e)?at("org.w3.clearkey",null):null}},Wp="VOD",Yp="EVENT",Zp="LIVE",Xp={Xf:Wp,Ih:Yp,Qh:Zp};function Jp(e){if(e=$p(e))e:{for(var t=(e=c(e.getElementsByTagName("DATA"))).next();!t.done;t=e.next())if(t=er(t.value,"LA_URL")){e=t.textContent;break e}e=""}else e="";return e}function $p(e){return(e=function(e){var t=0,n=le(e),i=n.getUint32(t,!0);if(i!=e.byteLength)return[];e:{for(e=t+6,t=[];e<n.byteLength-1;){i=n.getUint16(e,!0),e+=2;var r=n.getUint16(e,!0);if(e+=2,1&r||r+e>n.byteLength){n=[];break e}var a=oe(n,e,r);t.push({type:i,value:a}),e+=r}n=t}return n}(e=Wi(e.textContent)).filter(function(e){return e.type===eh})[0])&&(e=yr(e=Li(e.value,!0),"WRMHEADER"))?e:null}
1Fr["application/x-mpegurl"]=function(){return new cp},Fr["application/vnd.apple.mpegurl"]=function(){return new cp};var eh=1,th=(new Map).set("com.microsoft.playready",Jp).set("com.microsoft.playready.recommendation",Jp).set("com.microsoft.playready.software",Jp).set("com.microsoft.playready.hardware",Jp);function nh(e){if(!ph){ph=!0;var t=new Uint8Array([105,115,111,109]),n=new Uint8Array([97,118,99,49]),i=new Uint8Array([0,0,0,1]);Th=dh("ftyp",t,i,t,n),t=dh("dref",Ch),Eh=dh("dinf",t)}this.g=e}function ih(e){for(var t=new Uint8Array([]),n=c(e.g),i=n.next();!i.done;i=n.next()){var r=t;t=i.value,i=dh;var a=t.id+1,o=t.stream.width||0,s=t.stream.height||0;"audio"==t.type&&(s=o=0);var l=t.duration*t.timescale,d=Math.floor(l/(hh+1));switch(l=Math.floor(l%(hh+1)),a=dh("tkhd",a=new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3].concat(u(ch(a,4)),[0,0,0,0],u(ch(d,4)),u(ch(l,4)),[0,0,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,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0],u(ch(o,2)),[0,0],u(ch(s,2)),[0,0]))),o=dh,d=t.duration*t.timescale,s=Math.floor(d/(hh+1)),d=Math.floor(d%(hh+1)),l=(l=t.stream.language).charCodeAt(0)-96<<10|l.charCodeAt(1)-96<<5|l.charCodeAt(2)-96,s=dh("mdhd",s=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3].concat(u(ch(t.timescale,4)),u(ch(s,4)),u(ch(d,4)),u(ch(l,2)),[0,0]))),d=t,l=new Uint8Array([]),d.type){case"video":l=gh;break;case"audio":l=mh}d=dh("hdlr",l);e:{switch(t.type){case"video":t=dh("minf",dh("vmhd",wh),Eh,rh(t));break e;case"audio":t=dh("minf",dh("smhd",xh),Eh,rh(t));break e}t=new Uint8Array([])}t=Xi(r,i=i("trak",a,t=o("mdia",s,d,t)))}for(n=dh,a=(i=e.g[0]).duration*i.timescale,r=Math.floor(a/(hh+1)),a=Math.floor(a%(hh+1)),r=dh("mvhd",r=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3].concat(u(ch(i.timescale,4)),u(ch(r,4)),u(ch(a,4)),[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,255,255,255,255]))),a=new Uint8Array([]),o=(e=c(e.g)).next();!o.done;o=e.next())a=Xi(a,o=dh("trex",o=new Uint8Array([0,0,0,0].concat(u(ch(o.value.id+1,4)),[0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))));if(e=dh("mvex",a),a=new Uint8Array([]),i.encrypted)for(o=(i=c(i.stream.drmInfos)).next();!o.done;o=i.next())if((o=o.value).initData)for(s=(o=c(o.initData)).next();!s.done;s=o.next())a=Xi(a,s.value.initData);return e=n("moov",r,t,e,a),(n=new Uint8Array(Th.byteLength+e.byteLength)).set(Th),n.set(e,Th.byteLength),n}function rh(e){var t=dh,n=new Uint8Array([]);switch(e.type){case"video":if(e.codecs.includes("avc1")){n=e.stream.width||0;var i=e.stream.height||0;if(0<e.ha.byteLength)var r=dh("avcC",e.ha);else{r=dh;for(var a=7,o=[],s=[],l=0,c=0,d=0,p=0;p<e.Ka.length;p++){var h=uh(e.Ka[p]);switch(31&h[0]){case 7:o.push(h),a+=h.length+2;break;case 8:s.push(h),a+=h.length+2}}for(0<o.length&&(l=o[0][1],d=o[0][2],c=o[0][3]),p=0,(a=new Uint8Array(a))[p++]=1,a[p++]=l,a[p++]=d,a[p++]=c,a[p++]=255,a[p++]=224|o.length,l=0;l<o.length;l++)a[p++]=(65280&o[l].length)>>8,a[p++]=255&o[l].length,a.set(o[l],p),p+=o[l].length;for(a[p++]=s.length,o=0;o<s.length;o++)a[p++]=(65280&s[o].length)>>8,a[p++]=255&s[o].length,a.set(s[o],p),p+=s[o].length;r=r("avcC",a)}n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].concat(u(ch(n,2)),u(ch(i,2)),[0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17])),i="avc1",s=new Uint8Array([]),e.encrypted&&(s=oh(e),i="encv"),n=dh(i,n,r,s)}else e.codecs.includes("hvc1")&&(i=e.stream.width||0,r=e.stream.height||0,n=new Uint8Array([]),0<e.ha.byteLength&&(n=dh("hvcC",e.ha)),i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].concat(u(ch(i,2)),u(ch(r,2)),[0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17])),r="hvc1",s=new Uint8Array([]),e.encrypted&&(s=oh(e),r="encv"),n=dh(r,i,n,s));break;case"audio":e.codecs.includes("mp3")?e=dh(".mp3",ah(e)):e.codecs.includes("ac-3")?(n=dh("dac3",e.da),i="ac-3",r=new Uint8Array([]),e.encrypted&&(r=oh(e),i="enca"),e=dh(i,ah(e),n,r)):e.codecs.includes("ec-3")?(n=dh("dec3",e.da),i="ec-3",r=new Uint8Array([]),e.encrypted&&(r=oh(e),i="enca"),e=dh(i,ah(e),n,r)):(0<e.da.byteLength?n=dh("esds",e.da):(n=dh,i=e.id+1,r=e.stream.channelsCount||2,o=e.stream.audioSamplingRate||44100,l=ot("audio",e.codecs.split(",")),s=(c={96e3:0,88200:1,64e3:2,48e3:3,44100:4,32e3:5,24e3:6,22050:7,16e3:8,12e3:9,11025:10,8e3:11,7350:12})[o],"mp4a.40.5"!==l&&"mp4a.40.29"!==l||(s=c[2*o]),o=parseInt(l.split(".").pop(),10),n=n("esds",i=new Uint8Array([0,0,0,0,3,25].concat(u(ch(i,2)),[0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,o<<3|s>>>1,s<<7|r<<3,6,1,2])))),i="mp4a",r=new Uint8Array([]),e.encrypted&&(r=oh(e),i="enca"),e=dh(i,ah(e),n,r)),n=e}return t("stbl",e=dh("stsd",kh,n),dh("stts",yh),dh("stsc",vh),dh("stsz",Ah),dh("stco",bh))}function ah(e){return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.stream.channelsCount||2,0,16,0,0,0,0].concat(u(ch(e.stream.audioSamplingRate||44100,2)),[0,0]))}function oh(e){for(var t=dh,n=e.codecs.substring(0,e.codecs.indexOf(".")),i=0,r=0;r<n.length;r+=1)i|=n.charCodeAt(r)<<8*(n.length-r-1);n=dh("frma",n=new Uint8Array([].concat(u(ch(i,4))))),i=dh("schm",i=new Uint8Array([0,0,0,0,99,101,110,99,0,1,0,0])),r=dh;for(var a=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),o=(e=c(e.stream.drmInfos)).next();!o.done;o=e.next())if((o=o.value)&&o.keyIds&&o.keyIds.size)for(var s=(o=c(o.keyIds)).next();!s.done;s=o.next())a=uh(s.value);return t("sinf",n,i,r("schi",a=dh("tenc",e=new Uint8Array([0,0,0,0,0,0,1,8]),a)))}function sh(e){for(var t=new Uint8Array([]),n=(e=c(e.g)).next();!n.done;n=e.next()){n=n.value;var i,r=dh,a=new Uint8Array([0,0,0,0].concat(u(ch(n.data?n.data.Wa:0,4))));a=dh("mfhd",a);var o=n.data?n.data.Ja:[],s=new Uint8Array(4+o.length);for(i=0;i<o.length;i++){var l=o[i].flags;
1s[i+4]=l.Ea<<4|l.Ha<<2|l.Fa}var d=(o=dh("sdtp",s)).length+92;s=dh,i=dh("tfhd",i=new Uint8Array([0,0,0,58].concat(u(ch(n.id+1,4)),[0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0]))),l=n.data?n.data.baseMediaDecodeTime:0;var p=Math.floor(l%(hh+1));l=dh("tfdt",l=new Uint8Array([1,0,0,0].concat(u(ch(Math.floor(l/(hh+1)),4)),u(ch(p,4)))));var h=d,f=12+16*(p=(d=n.data?n.data.Ja:[]).length),g=new Uint8Array(f);for(h+=8+f,g.set(["video"===n.type?1:0,0,15,1].concat(u(ch(p,4)),u(ch(h,4))),0),h=0;h<p;h++){var m=d[h];f=ch(m.duration,4);var y=ch(m.size,4),v=m.flags;m=ch(m.La,4),g.set([].concat(u(f),u(y),[v.Ma<<2|v.Ea,v.Ha<<6|v.Fa<<4|v.Na,61440&v.Da,15&v.Da],u(m)),12+16*h)}t=Xi(t,r=r("moof",a,o=s("traf",i,l,d=dh("trun",g),o)),lh(n))}return t}function lh(e){return e=(e.data?e.data.Ja:[]).map(function(e){return e.data}),dh("mdat",e=Xi.apply(Ki,u(e)))}function ch(e,t){var n=[];for(--t;0<=t;t--)n.push(e>>8*t&255);return n}function uh(e){for(var t=new Uint8Array(e.length/2),n=0;n<e.length/2;n+=1)t[n]=parseInt(String(e[2*n]+e[2*n+1]),16);return t}function dh(e){var t=N.apply(1,arguments),n=fh[e];n||(n=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)],fh[e]=n);for(var i=8,r=t.length-1;0<=r;r--)i+=t[r].byteLength;for((r=new Uint8Array(i))[0]=i>>24&255,r[1]=i>>16&255,r[2]=i>>8&255,r[3]=255&i,r.set(n,4),n=0,i=8;n<t.length;n++)r.set(t[n],i),i+=t[n].byteLength;return r}var ph=!1,hh=Math.pow(2,32)-1,fh={},gh=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),mh=new Uint8Array([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]),yh=new Uint8Array([0,0,0,0,0,0,0,0]),vh=new Uint8Array([0,0,0,0,0,0,0,0]),bh=new Uint8Array([0,0,0,0,0,0,0,0]),Ah=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),wh=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),xh=new Uint8Array([0,0,0,0,0,0,0,0]),kh=new Uint8Array([0,0,0,0,0,0,0,1]),Th=new Uint8Array([]),Ch=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),Eh=new Uint8Array([]);function Sh(){var e=this;this.h=this.g=null,this.l=[],this.j=null,this.s=1,this.i=null,this.A=new F(5),this.o=new _t(function(){!function(e){var t;R(function(n){switch(n.g){case 1:return x(n,2),A(n,Lh(e),4);case 4:T(n,3);break;case 2:t=C(n),e.h&&(t.severity=1,e.h.onError(t));case 3:if(!e.h)return n.return();w(n)}})}(e)}),this.u=new ai,this.m=new Map}function Lh(e){var t,n,i,r,a,o,s;return R(function(l){if(1==l.g)return t=ci(e.l,e.g.retryParameters),n=e.h.networkingEngine,i=Date.now(),r=n.request(0,t,{type:5}),oi(e.u,r),A(l,r.promise,2);if(a=l.h,!e.h)return l.return();a.uri&&!e.l.includes(a.uri)&&e.l.unshift(a.uri);var d=a.uri,p=vr(a.data,"SmoothStreamingMedia");if(!p)throw new nt(2,4,4046,d);if((d=e.g.mss.manifestPreprocessor)&&d(p),e.i||(e.i=new io(null,0)),d=sr(p,"IsLive",gr,!1))throw new nt(2,4,4047);e.i.Yb(!d);var h=sr(p,"TimeScale",hr,1e7),f=sr(p,"DVRWindowLength",hr);d&&(0===f||isNaN(f))&&(f=1/0);var g,m=sr(p,"CanSeek",gr,!1);for(0===f&&m&&(f=1/0),m=null,f&&0<f&&(m=f/h),d&&!isNaN(e.g.availabilityWindowOverride)&&(m=e.g.availabilityWindowOverride),null==m&&(m=1/0),e.i.Bd(m),f=sr(p,"Duration",hr,1/0),d||e.i.Qa(f/h),d={variants:[],textStreams:[],timescale:h,duration:f/h},m=nr(p,"Protection"),h=e.g.mss.keySystemsBySystemId,f=[],g=(m=c(m)).next();!g.done;g=m.next())f=f.concat(nr(g.value,"ProtectionHeader"));if(f.length){for(m=[],g=0;g<f.length;g++){var y=f[g],v=y.getAttribute("SystemID").toLowerCase(),b=h[v];if(b){var x=$p(y);if(x)e:{for(var k=(x=c(x.getElementsByTagName("DATA"))).next();!k.done;k=x.next())if(k=er(k.value,"KID")){x=Wi(k.textContent),x=Zi(x=new Uint8Array([x[3],x[2],x[1],x[0],x[5],x[4],x[7],x[6]].concat(u(x.slice(8)))));break e}x=null}else x=null;v=at(b,v=[{initData:$i(k=Wi(y.textContent),v=Yi(v.replace(/-/g,"")),new Set,0),initDataType:"cenc",keyId:x}]),x&&v.keyIds.add(x),(b=th.get(b))&&(v.licenseServerUri=b(y)),m.push(v)}}h=m}else h=[];for(g=h,m=[],h=[],f=[],y=(p=c(p=nr(p,"StreamIndex"))).next();!y.done;y=p.next()){b=nr(y=y.value,"QualityLevel"),v=d.timescale,x=d.duration,k=nr(y,"c");for(var T=[],C=0,E=0;E<k.length;++E){var S=k[E],L=k[E+1],M=sr(S,"t",hr),I=sr(S,"d",hr);if(S=sr(S,"r",dr),!I)break;if(M=null!=M?M:C,0>(S=S||0))if(L){if(null==(L=sr(L,"t",hr)))break;if(M>=L)break;S=Math.ceil((L-M)/I)-1}else{if(1/0==x)break;if(M/v>=x)break;S=Math.ceil((x*v-M)/I)-1}
1for(L=0;L<=S;++L)C=M+I,T.push({start:M/v,end:C/v,Ze:M}),M=C}for(v=T,x=(b=c(b)).next();!x.done;x=b.next())(x=Mh(e,y,x.value,v,g,d))&&("audio"!=x.type||e.g.disableAudio?"video"!=x.type||e.g.disableVideo?x.type!=lt||e.g.disableText||f.push(x):h.push(x):m.push(x))}for(p=[],g=(m=c(0<m.length?m:[null])).next();!g.done;g=m.next())for(g=g.value,x=(y=c(0<h.length?h:[null])).next();!x.done;x=y.next())v=(b=p).push,x=x.value,k=0,g&&g.bandwidth&&0<g.bandwidth&&(k+=g.bandwidth),x&&x.bandwidth&&0<x.bandwidth&&(k+=x.bandwidth),x={id:e.s++,language:g?g.language:"und",disabledUntilTime:0,primary:!!g&&g.primary||!!x&&x.primary,audio:g,video:x,bandwidth:k,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]},v.call(b,x);d.variants=p,d.textStreams=f,e.j?(e.j.variants=d.variants,e.j.textStreams=d.textStreams,e.h.filter(e.j)):(e.j={presentationTimeline:e.i,variants:d.variants,textStreams:d.textStreams,imageStreams:[],offlineSessionIds:[],minBufferTime:0,sequenceMode:e.g.mss.sequenceMode,ignoreManifestTimestampsInSegmentsMode:!1,type:"MSS",serviceDescription:null},e.i.rd()),Promise.resolve(),o=Date.now(),s=(o-i)/1e3,e.A.sample(1,s),w(l)})}function Mh(e,t,n,i,r,a){var o=t.getAttribute("Type");if("audio"!==o&&"video"!==o&&"text"!==o)return G("Ignoring unrecognized type:",o),null;var s=t.getAttribute("Language"),l=e.s++,u=sr(n,"Bitrate",pr),d=sr(n,"MaxWidth",pr),p=sr(n,"MaxHeight",pr),h=sr(n,"Channels",pr),f=sr(n,"SamplingRate",pr),g=a.duration;i.length&&(g=i[i.length-1].end-i[0].start);var m=e.i.getDuration();e.i.Qa(Math.min(g,m));var y={id:l,originalId:t.getAttribute("Name")||String(l),groupId:null,createSegmentIndex:function(){return Promise.resolve()},closeSegmentIndex:function(){return Promise.resolve()},segmentIndex:null,mimeType:"",codecs:"",frameRate:void 0,pixelAspectRatio:void 0,bandwidth:u||0,width:d||void 0,height:p||void 0,kind:"",encrypted:0<r.length,drmInfos:r,keyIds:new Set,language:Nt(s||"und"),originalLanguage:s,label:"",type:"",primary:!1,trickModeVideo:null,emsgSchemeIdUris:[],roles:[],forced:!1,channelsCount:h,audioSamplingRate:f,spatialAudio:!1,closedCaptions:null,hdr:void 0,videoLayout:void 0,tilesLayout:void 0,matchedStreams:[],mssPrivateData:{duration:g,timescale:a.timescale,codecPrivateData:null},accessibilityPurpose:null,external:!1,fastSwitching:!1};if((r=t.getAttribute("Subtype"))&&((r=Dh[r])&&y.roles.push(r),"main"===r&&(y.primary=!0)),null!==(r=n.getAttribute("FourCC"))&&""!==r||(r=t.getAttribute("FourCC")),!r)if("audio"===o)r="AAC";else if("video"===o)return G('FourCC is not defined whereas it is required for a QualityLevel element for a StreamIndex of type "video"'),null;if(!Ih.includes(r.toUpperCase()))return G("Codec not supported:",r),null;switch(n=function(e,t,n,i){if(e=e.getAttribute("CodecPrivateData"))return e;if("audio"!==t)return null;t=i.channelsCount||2,e=i.audioSamplingRate||44100;var r={96e3:0,88200:1,64e3:2,48e3:3,44100:4,32e3:5,24e3:6,22050:7,16e3:8,12e3:9,11025:10,8e3:11,7350:12};return i=r[e],"AACH"===n?(n=new Uint8Array(4),e=r[2*e],n[0]=40|i>>1,n[1]=i<<7|t<<3|e>>1,n[2]=e<<7|8,n[3]=0,t=new Uint16Array(2),t[0]=(n[0]<<8)+n[1],t[1]=(n[2]<<8)+n[3],t[0].toString(16)+t[1].toString(16)):(n=new Uint8Array(2),n[0]=16|i>>
11,n[1]=i<<7|t<<3,t=new Uint16Array(1),t[0]=(n[0]<<8)+n[1],t[0].toString(16))}(n,o,r,y),y.mssPrivateData.codecPrivateData=n,o){case"audio":if(!n)return G("Quality unsupported without CodecPrivateData",o),null;y.type="audio",y.mimeType="mss/audio/mp4",y.codecs=function(e,t){var n=0;return"AACH"===e&&(n=5),t?0===n&&(n=(248&parseInt(t.substr(0,2),16))>>3):(n=2,"AACH"===e&&(n=5)),"mp4a.40."+n}(r,n);break;case"video":if(!n)return G("Quality unsupported without CodecPrivateData",o),null;y.type="video",y.mimeType="mss/video/mp4",y.codecs=function(e){var t=/00000001[0-9]7/.exec(e);return t.length&&e?"avc1."+e.substr(e.indexOf(t[0])+10,6):""}(n);break;case"text":y.type=lt,y.mimeType="application/mp4",("TTML"===r||"DFXP"===r)&&(y.codecs="stpp")}return y.createSegmentIndex=function(){if(y.segmentIndex)return Promise.resolve();if(e.m.has(y.id))var n=e.m.get(y.id);else n=[],"video"==y.type&&(n=y.mssPrivateData.codecPrivateData.split("00000001").slice(1)),n=ih(new nh([n={id:y.id,type:y.type,codecs:y.codecs,encrypted:y.encrypted,timescale:y.mssPrivateData.timescale,duration:y.mssPrivateData.duration,Ka:n,da:new Uint8Array([]),ha:new Uint8Array([]),data:null,stream:y}])),e.m.set(y.id,n);return n=function(e,t,n,i,r){var a=i.getAttribute("Url").replace("{bitrate}",String(n.bandwidth));i=[];for(var o={},s=(r=c(r)).next();!s.done;o={jc:o.jc},s=r.next())o.jc=s.value,i.push(new Qr(o.jc.start,o.jc.end,function(t){return function(){return rt(e.l,[a.replace("{start time}",String(t.jc.Ze))])}}(o),0,null,t,0,0,n.mssPrivateData.duration));return i}(e,new Kr(function(){return[]},0,null,null,void 0,n),y,t,i),y.segmentIndex=new To(n),Promise.resolve()},y.closeSegmentIndex=function(){y.segmentIndex&&(y.segmentIndex.release(),y.segmentIndex=null)},y}(i=Sh.prototype).configure=function(e){this.g=e},i.start=function(e,t){var n=this;return R(function(i){if(1==i.g)return n.l=[e],n.h=t,A(i,Lh(n),2);if(!n.h)throw new nt(2,7,7001);return i.return(n.j)})},i.stop=function(){return this.g=this.h=null,this.l=[],this.j=null,null!=this.o&&(this.o.stop(),this.o=null),this.m.clear(),this.u.destroy()},i.update=function(){var e,t=this;return R(function(n){return 1==n.g?(x(n,2),A(n,Lh(t),4)):2!=n.g?T(n,0):(e=C(n),t.h&&e?(t.h.onError(e),void w(n)):n.return())})},i.onExpirationUpdated=function(){},i.onInitialVariantChosen=function(){},i.banLocation=function(){},O("shaka.mss.MssParser",Sh);var Ih="AAC AACL AACH AACP AVC1 H264 TTML DFXP".split(" "),Dh={CAPT:"main",SUBT:"alternate",DESC:"main"};function Rh(e,t,n,i,r,a){if(200<=n&&299>=n&&202!=n)return{uri:r||i,originalUri:i,data:t,status:n,headers:e,fromCache:!!e["x-shaka-from-cache"]};r=null;try{r=Mi(t)}catch(e){}throw new nt(401==n||403==n?2:1,1,1001,i,n,r,e,a)}function Nh(){}function Ph(e,t,n,i,r){var a=new Oh;ki(t.headers).forEach(function(e,t){a.append(t,e)});var o=new Bh,s={ef:!1,Sf:!1};if(e=function(e,t,n,i,r,a,o){var s,l,c,u,d,p,h,f,g,m,y,v;return R(function(b){switch(b.g){case 1:return s=Hh,l=Uh,p=d=0,h=Date.now(),x(b,2),A(b,s(e,n),4);case 4:if(c=b.h,a(jh(c.headers)),"HEAD"==n.method){b.B(5);break}return f=c.clone().body.getReader(),m=(g=c.headers.get("Content-Length"))?parseInt(g,10):0,new l({start:function(e){function t(){var n,i;return R(function(a){switch(a.g){case 1:return x(a,2),A(a,f.read(),4);case 4:n=a.h,T(a,3);break;case 2:return C(a),a.return();case 3:if(n.done){a.B(5);break}if(d+=n.value.byteLength,!o){a.B(5);break}return A(a,o(n.value),5);case 5:(100<(i=Date.now())-h||n.done)&&(r(i-h,d-p,m-d),p=d,h=i),n.done?e.close():(e.enqueue(n.value),t()),w(a)}})}t()}}),A(b,c.arrayBuffer(),6);case 6:u=b.h;case 5:T(b,3);break;case 2:if(y=C(b),i.ef)throw new nt(1,1,7001,e,t);if(i.Sf)throw new nt(1,1,1003,e,t);throw new nt(1,1,1002,e,y,t);case 3:return v=jh(c.headers),b.return(Rh(v,u,c.status,e,c.url,t))}})}(e,n,{body:t.body||void 0,headers:a,method:t.method,signal:o.signal,credentials:t.allowCrossSiteCredentials?"include":void 0},s,i,r,t.streamDataCallback),e=new Yn(e,function(){return s.ef=!0,o.abort(),Promise.resolve()}),t=t.retryParameters.timeout){var l=new _t(function(){s.Sf=!0,o.abort()});
1l.U(t/1e3),e.finally(function(){l.stop()})}return e}function jh(e){var t={};return e.forEach(function(e,n){t[n.trim()]=e}),t}function Vh(){if(!e.ReadableStream)return!1;try{new ReadableStream({})}catch(e){return!1}return!!e.Response&&(!!new Response("").body&&!(!e.fetch||!e.AbortController))}Fr["application/vnd.ms-sstr+xml"]=function(){return new Sh},O("shaka.net.HttpFetchPlugin",Nh),Nh.isSupported=Vh,Nh.parse=Ph;var Hh=e.fetch,Bh=e.AbortController,Uh=e.ReadableStream,Oh=e.Headers;function Fh(){}function zh(e,t,n,i,r){var a=new qh,o=Date.now(),s=0;return new Yn(new Promise(function(l,c){a.open(t.method,e,!0),a.responseType="arraybuffer",a.timeout=t.retryParameters.timeout,a.withCredentials=t.allowCrossSiteCredentials,a.onabort=function(){c(new nt(1,1,7001,e,n))};var u=!1;for(var d in a.onreadystatechange=function(){if(2==a.readyState&&!u){var e=_h(a);r(e),u=!0}},a.onload=function(){var t=_h(a),i=a.response;try{var r=Rh(t,i,a.status,e,a.responseURL,n);l(r)}catch(e){c(e)}},a.onerror=function(t){c(new nt(1,1,1002,e,t,n))},a.ontimeout=function(){c(new nt(1,1,1003,e,n))},a.onprogress=function(e){var t=Date.now();(100<t-o||e.lengthComputable&&e.loaded==e.total)&&(i(t-o,e.loaded-s,e.total-e.loaded),s=e.loaded,o=t)},t.headers)a.setRequestHeader(d.toLowerCase(),t.headers[d]);a.send(t.body)}),function(){return a.abort(),Promise.resolve()})}function _h(e){var t=e.getAllResponseHeaders().trim().split("\r\n");e={};for(var n=(t=c(t)).next();!n.done;n=t.next())e[(n=n.value.split(": "))[0].toLowerCase()]=n.slice(1).join(": ");return e}Vh()&&(li("http",Ph,2,!0),li("https",Ph,2,!0),li("blob",Ph,2,!0)),O("shaka.net.HttpXHRPlugin",Fh),Fh.parse=zh;var qh=e.XMLHttpRequest;function Kh(){}li("http",zh,1,!0),li("https",zh,1,!0),li("blob",zh,1,!0),O("shaka.polyfill",Kh),Kh.register=function(e,t){for(e={priority:t||0,callback:e},t=0;t<Jh.length;t++)if(Jh[t].priority<e.priority)return void Jh.splice(t,0,e);Jh.push(e)},Kh.installAll=function(){for(var e=c(Jh),t=e.next();!t.done;t=e.next()){t=t.value;try{t.callback()}catch(e){G("Error installing polyfill!",e)}}};var Gh,Qh,Wh,Yh,Zh,Xh,Jh=[];function $h(){}function ef(e,t){try{var n=new rf(e,t);return Promise.resolve(n)}catch(e){return Promise.reject(e)}}function tf(e){var t=this.mediaKeys;return t&&t!=e&&of(t,null),delete this.mediaKeys,(this.mediaKeys=e)?of(e,this):Promise.resolve()}function nf(e){if(le(e=oe(e.initData)).getUint32(0,!0)+4!=e.byteLength)throw new RangeError("Malformed FairPlay init data");e=Ii(e=Li(e.subarray(4),!0));var t=new Event("encrypted");t.initDataType="skd",t.initData=ae(e),this.dispatchEvent(t)}function rf(e,t){if(this.keySystem=e,e.startsWith("com.apple.fps"))for(t=(e=c(t)).next();!t.done;t=e.next()){var n=t.value;if("required"==n.persistentState)t=null;else{t={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:n.initDataTypes,sessionTypes:["temporary"],label:n.label};var i=!1,r=!1;if(n.audioCapabilities)for(var a=c(n.audioCapabilities),o=a.next();!o.done;o=a.next())(o=o.value).contentType&&(i=!0,WebKitMediaKeys.isTypeSupported(this.keySystem,o.contentType.split(";")[0])&&(t.audioCapabilities.push(o),r=!0));if(n.videoCapabilities)for(o=(n=c(n.videoCapabilities)).next();!o.done;o=n.next())(a=o.value).contentType&&(i=!0,WebKitMediaKeys.isTypeSupported(this.keySystem,a.contentType.split(";")[0])&&(t.videoCapabilities.push(a),r=!0));i||(r=WebKitMediaKeys.isTypeSupported(this.keySystem,"video/mp4")),t=r?t:null}if(t)return void(this.g=t)}throw(e=Error("Unsupported keySystem")).name="NotSupportedError",e.code=DOMException.NOT_SUPPORTED_ERR,e}function af(e){this.h=new WebKitMediaKeys(e),this.g=new bi}function of(e,t){if(e.g.Fb(),!t)return Promise.resolve();e.g.H(t,"webkitneedkey",nf);try{return co(t,HTMLMediaElement.HAVE_METADATA,e.g,function(){t.webkitSetMediaKeys(e.h)}),Promise.resolve()}catch(e){return Promise.reject(e)}}function sf(e){ri.call(this),this.i=null,this.l=e,this.h=this.g=null,this.j=new bi,this.sessionId="",this.expiration=NaN,this.closed=new Wn,this.keyStatuses=new cf}function lf(e,t){var n=e.keyStatuses;n.size=null==t?0:1,n.g=t,t=new ti("keystatuseschange"),e.dispatchEvent(t)}function cf(){this.size=0,this.g=void 0}function uf(e,t){var n=1&e[t+1]?7:9;return t+n<=e.length&&0<(e=((3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5)-n)?{od:n,O:e}:null}function df(e,t){var n=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],i=(60&e[t+2])>>>2;if(i>n.length-1)return null;var r=((192&e[t+2])>>>6)+1,a=(1&e[t+2])<<2;return a|=(192&e[t+3])>>>6,{sampleRate:n[i],channelCount:a,ma:"mp4a.40."+r}}function pf(e,t){if(t+1<e.length&&255===e[t]&&240==(246&e[t+1])){var n=1&e[t+1]?7:9;if(t+n>=e.length)return!1;var i=(3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5;return!(i<=n)&&((t+=i)===e.length||t+1<e.length&&255===e[t]&&240==(246&e[t+1]))}return!1}function hf(e){this.i=e,this.h=0,this.g=new Map}function ff(e,t){if(t+8>e.length||11!==e[t]||119!==e[t+1])return null;var n=e[t+4]>>6;if(3<=n)return null;var i=63&e[t+4],r=2*[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][3*i+n];if(t+r>e.length)return null;var a=e[t+6]>>5,o=0;2===a?o+=2:(1&a&&1!==a&&(o+=2),4&a&&(o+=2)),o=(e[t+6]<<8|e[t+7])>>12-o&1;var s=7&e[t+5];return e=new Uint8Array([n<<6|e[t+5]>>
13<<1|s>>2,(3&s)<<6|a<<3|o<<2|i>>4,i<<4&224]),{sampleRate:[48e3,44100,32e3][n],channelCount:[2,1,2,3,3,4,4,5][a]+o,da:e,O:r}}function gf(e,t){if(11===e[t]&&119===e[t+1]){var n,i,r=0,a=5;for(t+=a;0<a;){i=e[t];var o=Math.min(a,8),s=8-o;n=(i&(n=4278190080>>>24+s<<s))>>s,r=r?r<<o|n:n,t+=1,a-=o}if(16>r)return!0}return!1}function mf(e){this.i=e,this.h=0,this.g=new Map}function yf(e,t){if(t+8>e.length||2935!=(e[t]<<8|e[t+1]))return null;var n=new ca(e.subarray(t+2));da(n,2),da(n,3);var i=pa(n,11)+1<<1,r=pa(n,2);if(3==r){r=[24e3,22060,16e3][r=pa(n,2)];var a=3}else r=[48e3,44100,32e3][r],a=pa(n,2);var o=pa(n,3),s=pa(n,1);return n=pa(n,5),t+i>e.byteLength?null:(e=Math.floor(i*r/(16*[1,2,3,6][a])),e=new Uint8Array([(8160&e)>>5,(31&e)<<3,r<<6|n<<1,o<<1|s,0]),{sampleRate:r,channelCount:[2,1,2,3,3,4,4,5][o]+s,da:e,O:i})}function vf(e){this.i=e,this.h=0,this.g=new Map}function bf(e){for(var t=!1,n=[],i=e.find(function(e){return 7==e.type}),r=!1,a=(e=c(e)).next();!a.done;a=e.next()){var o=!1;switch((a=a.value).type){case 1:o=r=!0;var s=a.data;i&&4<s.length&&(2===(s=Aa(new ca(s)))||4===s||7===s||9===s)&&(t=!0);break;case 5:t=o=r=!0;break;case 6:case 7:case 8:case 12:o=!0;break;case 9:r=o=!0;break;default:o=!1}r&&o&&(o=a.fullData.byteLength,(s=new Uint8Array(4))[0]=o>>24&255,s[1]=o>>16&255,s[2]=o>>8&255,s[3]=255&o,n.push(Xi(s,a.fullData)))}return n.length?{data:Xi.apply(Ki,u(n)),Dc:t}:null}Kh.PatchedMediaKeysApple=$h,$h.uninstall=function(){Gh&&(Gh=!1,Object.defineProperty(HTMLMediaElement.prototype,"mediaKeys",Qh),HTMLMediaElement.prototype.setMediaKeys=Wh,e.MediaKeys=Yh,e.MediaKeySystemAccess=Zh,navigator.requestMediaKeySystemAccess=Xh,Qh=Xh=Wh=Zh=Yh=null,e.shakaMediaKeysPolyfill=!1)},$h.install=function(t){e.HTMLVideoElement&&e.WebKitMediaKeys&&(void 0!==t&&t&&(Gh=!0,Qh=Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype,"mediaKeys"),Wh=HTMLMediaElement.prototype.setMediaKeys,Yh=e.MediaKeys,Zh=e.MediaKeySystemAccess,Xh=navigator.requestMediaKeySystemAccess),delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=tf,e.MediaKeys=af,e.MediaKeySystemAccess=rf,navigator.requestMediaKeySystemAccess=ef,e.shakaMediaKeysPolyfill=!0)},rf.prototype.createMediaKeys=function(){var e=new af(this.keySystem);return Promise.resolve(e)},rf.prototype.getConfiguration=function(){return this.g},af.prototype.createSession=function(e){if("temporary"!=(e=e||"temporary"))throw new TypeError("Session type "+e+" is unsupported on this platform.");return new sf(this.h,e)},af.prototype.setServerCertificate=function(){return Promise.resolve(!1)},af.prototype.getStatusForPolicy=function(){return Promise.resolve("usable")},m(sf,ri),(i=sf.prototype).generateRequest=function(e,t){var n=this;this.g=new Wn;try{var i=this.l.createSession("video/mp4",oe(t));this.i=i,this.sessionId=i.sessionId||"",this.j.H(this.i,"webkitkeymessage",function(e){n.g&&(n.g.resolve(),n.g=null),e=new ti("message",e=(new Map).set("messageType",null==n.keyStatuses.zc()?"license-request":"license-renewal").set("message",ae(e.message))),n.dispatchEvent(e)}),this.j.H(i,"webkitkeyadded",function(){n.h&&(lf(n,"usable"),n.h.resolve(),n.h=null)}),this.j.H(i,"webkitkeyerror",function(){var e=Error("EME PatchedMediaKeysApple key error");if(e.errorCode=n.i.error,null!=n.g)n.g.reject(e),n.g=null;else if(null!=n.h)n.h.reject(e),n.h=null;else switch(n.i.error.code){case WebKitMediaKeyError.MEDIA_KEYERR_OUTPUT:case WebKitMediaKeyError.MEDIA_KEYERR_HARDWARECHANGE:lf(n,"output-not-allowed");break;default:lf(n,"internal-error")}}),lf(this,"status-pending")}catch(e){this.g.reject(e)}return this.g},i.load=function(){return Promise.reject(Error("MediaKeySession.load not yet supported"))},i.update=function(e){this.h=new Wn;try{this.i.update(oe(e))}catch(e){this.h.reject(e)}return this.h},i.close=function(){try{this.i.close(),this.closed.resolve(),this.j.Fb()}catch(e){this.closed.reject(e)}return this.closed},i.remove=function(){return Promise.reject(Error("MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform"))},(i=cf.prototype).zc=function(){return this.g}
1,i.forEach=function(e){this.g&&e(this.g,Ur.value())},i.get=function(e){if(this.has(e))return this.g},i.has=function(e){var t=Ur.value();return!(!this.g||!ie(e,t))},i.entries=function(){},i.keys=function(){},i.values=function(){},(i=hf.prototype).destroy=function(){this.g.clear()},i.isSupported=function(e){return"audio/aac"==e.toLowerCase().split(";")[0]&&X(this.convertCodecs("audio",e))},i.convertCodecs=function(e,t){return"audio/aac"==t.toLowerCase().split(";")[0]?'audio/mp4; codecs="'+(vt(t)||"mp4a.40.2")+'"':t},i.getOriginalMimeType=function(){return this.i},i.transmux=function(e,t,n,i){for(var r=oe(e),a=oa(r),o=a.length;o<r.length&&!pf(r,o);o++);if(e=1e3*n.endTime,(a=aa(a)).length&&n&&(n=a.find(function(e){return"com.apple.streaming.transportStreamTimestamp"===e.description}))&&(e=n.data),!(n=df(r,o)))return Promise.reject(new nt(2,3,3018));for(t.audioSamplingRate=n.sampleRate,t.channelsCount=n.channelCount,a=[];o<r.length;){var s=uf(r,o);if(!s)return Promise.reject(new nt(2,3,3018));var l=s.od+s.O;o+l<=r.length&&a.push({data:r.subarray(o+s.od,o+l),size:s.O,duration:1024,La:0,flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:2,Na:0}}),o+=l}return r=n.sampleRate,e=Math.floor(e*r/1e3),e=new nh([i={id:t.id,type:"audio",codecs:n.ma,encrypted:t.encrypted&&0<t.drmInfos.length,timescale:r,duration:i,Ka:[],da:new Uint8Array([]),ha:new Uint8Array([]),data:{Wa:this.h,baseMediaDecodeTime:e,Ja:a},stream:t}
1]),this.g.has(t.id)?i=this.g.get(t.id):(i=ih(e),this.g.set(t.id,i)),t=sh(e),this.h++,t=Xi(i,t),Promise.resolve(t)},O("shaka.transmuxer.AacTransmuxer",hf),hf.prototype.transmux=hf.prototype.transmux,hf.prototype.getOriginalMimeType=hf.prototype.getOriginalMimeType,hf.prototype.convertCodecs=hf.prototype.convertCodecs,hf.prototype.isSupported=hf.prototype.isSupported,hf.prototype.destroy=hf.prototype.destroy,Re("audio/aac",function(){return new hf("audio/aac")},je),(i=mf.prototype).destroy=function(){this.g.clear()},i.isSupported=function(e){return"audio/ac3"==e.toLowerCase().split(";")[0]&&X(this.convertCodecs("audio",e))},i.convertCodecs=function(e,t){return"audio/ac3"==t.toLowerCase().split(";")[0]?'audio/mp4; codecs="ac-3"':t},i.getOriginalMimeType=function(){return this.i},i.transmux=function(e,t,n,i){for(var r=oa(e=oe(e)),a=r.length;a<e.length&&!gf(e,a);a++);var o=1e3*n.endTime;(r=aa(r)).length&&n&&(n=r.find(function(e){return"com.apple.streaming.transportStreamTimestamp"===e.description}))&&(o=n.data),n=0,r=new Uint8Array([]);for(var s=[];a<e.length;){var l=ff(e,a);if(!l)return Promise.reject(new nt(2,3,3018));t.audioSamplingRate=l.sampleRate,t.channelsCount=l.channelCount,n=l.sampleRate,r=l.da,s.push({data:e.subarray(a,a+l.O),size:l.O,duration:1536,La:0,flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:2,Na:0}}),a+=l.O}return e=Math.floor(o*n/1e3),e=new nh([i={id:t.id,type:"audio",codecs:"ac-3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:n,duration:i,Ka:[],da:r,ha:new Uint8Array([]),data:{Wa:this.h,baseMediaDecodeTime:e,Ja:s},stream:t}
1]),this.g.has(t.id)?i=this.g.get(t.id):(i=ih(e),this.g.set(t.id,i)),t=sh(e),this.h++,t=Xi(i,t),Promise.resolve(t)},O("shaka.transmuxer.Ac3Transmuxer",mf),mf.prototype.transmux=mf.prototype.transmux,mf.prototype.getOriginalMimeType=mf.prototype.getOriginalMimeType,mf.prototype.convertCodecs=mf.prototype.convertCodecs,mf.prototype.isSupported=mf.prototype.isSupported,mf.prototype.destroy=mf.prototype.destroy,Re("audio/ac3",function(){return new mf("audio/ac3")},je),(i=vf.prototype).destroy=function(){this.g.clear()},i.isSupported=function(e){return"audio/ec3"==e.toLowerCase().split(";")[0]&&X(this.convertCodecs("audio",e))},i.convertCodecs=function(e,t){return"audio/ec3"==t.toLowerCase().split(";")[0]?'audio/mp4; codecs="ec-3"':t},i.getOriginalMimeType=function(){return this.i},i.transmux=function(e,t,n,i){for(var r=oa(e=oe(e)),a=r.length;a<e.length&&2935!=(e[a]<<8|e[a+1]);a++);var o=1e3*n.endTime;(r=aa(r)).length&&n&&(n=r.find(function(e){return"com.apple.streaming.transportStreamTimestamp"===e.description}))&&(o=n.data),n=0,r=new Uint8Array([]);for(var s=[];a<e.length;){var l=yf(e,a);if(!l)return Promise.reject(new nt(2,3,3018));t.audioSamplingRate=l.sampleRate,t.channelsCount=l.channelCount,n=l.sampleRate,r=l.da,s.push({data:e.subarray(a,a+l.O),size:l.O,duration:1536,La:0,flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:2,Na:0}}),a+=l.O}return e=Math.floor(o*n/1e3),e=new nh([i={id:t.id,type:"audio",codecs:"ec-3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:n,duration:i,Ka:[],da:r,ha:new Uint8Array([]),data:{Wa:this.h,baseMediaDecodeTime:e,Ja:s},stream:t}
1]),this.g.has(t.id)?i=this.g.get(t.id):(i=ih(e),this.g.set(t.id,i)),t=sh(e),this.h++,t=Xi(i,t),Promise.resolve(t)},O("shaka.transmuxer.Ec3Transmuxer",vf),vf.prototype.transmux=vf.prototype.transmux,vf.prototype.getOriginalMimeType=vf.prototype.getOriginalMimeType,vf.prototype.convertCodecs=vf.prototype.convertCodecs,vf.prototype.isSupported=vf.prototype.isSupported,vf.prototype.destroy=vf.prototype.destroy,Re("audio/ec3",function(){return new vf("audio/ec3")},je);var Af=[100,110,122,244,44,83,86,118,128,138,139,134];function wf(e){if(!e.length)return null;var t=e.find(function(e){return 32==e.type}),n=e.find(function(e){return 33==e.type}),i=e.find(function(e){return 34==e.type});if(!t||!n||!i)return null;var r=function(e){var t=new ca(e,!0);return va(t),va(t),pa(t,4),pa(t,2),pa(t,6),e=pa(t,3),t=ya(t),{Ee:e+1,Ve:t}}(t.fullData);e=function(e){e=new ca(e,!0),va(e),va(e);var t=0,n=0,i=0,r=0;pa(e,4);var a=pa(e,3);ya(e);for(var o=pa(e,2),s=pa(e,1),l=pa(e,5),c=va(e),u=va(e),d=va(e),p=va(e),h=va(e),f=va(e),g=va(e),m=va(e),y=va(e),v=va(e),b=va(e),A=[],w=[],x=0;x<a;x++)A.push(ya(e)),w.push(ya(e));if(0<a)for(x=a;8>x;x++)pa(e,2);for(x=0;x<a;x++)A[x]&&pa(e,88),w[x]&&va(e);ga(e),A=ga(e),3==A&&pa(e,1),w=ga(e),x=ga(e),ya(e)&&(t+=ga(e),n+=ga(e),i+=ga(e),r+=ga(e));var k=ga(e),T=ga(e),C=ga(e);if(ya(e))for(var E=0;E<=a;E++)ga(e),ga(e),ga(e);else ga(e),ga(e),ga(e);if(ga(e),ga(e),ga(e),ga(e),ga(e),ga(e),ya(e)&&ya(e))for(E=0;4>E;E++)for(var S=0;S<(3===E?2:6);S++)if(ya(e)){var L=Math.min(64,1<<4+(E<<1));1<E&&ma(e);for(var M=0;M<L;M++)ma(e)}else ga(e);for(ya(e),ya(e),ya(e)&&(va(e),ga(e),ga(e),ya(e)),E=ga(e),L=S=0;L<E;L++)if(M=!1,0!==L&&(M=ya(e)),M){L===E&&ga(e),ya(e),ga(e);for(var I=M=0;I<=S;I++){var D=ya(e),R=!1;D||(R=ya(e)),(D||R)&&M++}S=M}else{for(S=(I=ga(e))+(M=ga(e)),D=0;D<I;D++)ga(e),ya(e);for(I=0;I<M;I++)ga(e),ya(e)}if(ya(e))for(E=ga(e),S=0;S<E;S++){for(L=0;L<C+4;L++)pa(e,1);pa(e,1)}if(C=0,ya(e),ya(e),ya(e)){if(ya(e)&&255===va(e)&&(pa(e,16),pa(e,16)),ya(e)&&ya(e),ya(e)&&(pa(e,3),ya(e),ya(e)&&(va(e),va(e),va(e))),ya(e)&&(ga(e),ga(e)),ya(e),ya(e),ya(e),(E=ya(e))&&(ga(e),ga(e),ga(e),ga(e)),ya(e)&&(pa(e,32),pa(e,32),ya(e)&&ga(e),ya(e)))for(L=!1,E=ya(e),S=ya(e),(E||S)&&((L=ya(e))&&(va(e),pa(e,5),ya(e),pa(e,5)),pa(e,4),pa(e,4),L&&pa(e,4),pa(e,5),pa(e,5),pa(e,5)),M=0;M<=a;M++){if(D=!0,I=1,ya(e)||(D=ya(e)),R=!1,D?ga(e):R=ya(e),R||(I=ga(e)+1),E){for(D=0;D<I;D++)ga(e),ga(e),L&&(ga(e),ga(e));ya(e)}if(S){for(D=0;D<I;D++)ga(e),ga(e),L&&(ga(e),ga(e));ya(e)}}ya(e)&&(ya(e),ya(e),ya(e),C=ga(e),ga(e),ga(e),ga(e),ga(e))}return{$d:b,fe:o,ge:s,ee:l,ae:c,be:u,ce:d,de:p,Ud:h,Vd:f,Wd:g,Xd:m,Yd:y,Zd:v,vd:C,Rd:0,Qd:A,Pd:k,Od:T,width:w-(t+n)*(1===A||2===A?2:1),height:x-(i+r)*(1===A?2:1)}}(n.fullData);var a=function(e){var t=new ca(e,!0);va(t),va(t),ga(t),ga(t),ya(t),ya(t),pa(t,3),ya(t),ya(t),ga(t),ga(t),ma(t),ya(t),ya(t),ya(t)&&ga(t),ma(t),ma(t),ya(t),ya(t),ya(t),ya(t),e=ya(t),t=ya(t);var n=1;return t&&e?n=0:t?n=3:e&&(n=2),{He:n}}(i.fullData);return t=function(e,t,n,i){var r=new Uint8Array(23+(5+e.byteLength)+(5+t.byteLength)+(5+n.byteLength));return r[0]=1,r[1]=(3&i.fe)<<6|(i.ge?1:0)<<5|31&i.ee,r[2]=i.ae,r[3]=i.be,r[4]=i.ce,r[5]=i.de,r[6]=i.Ud,r[7]=i.Vd,r[8]=i.Wd,r[9]=i.Xd,r[10]=i.Yd,r[11]=i.Zd,r[12]=i.$d,r[13]=240|(3840&i.vd)>>8,r[14]=255&i.vd,r[15]=252|3&i.He,r[16]=252|3&i.Qd,r[17]=248|7&i.Pd,r[18]=248|7&i.Od,r[19]=0,r[20]=0,r[21]=(3&i.Rd)<<6|(7&i.Ee)<<3|(i.Ve?1:0)<<2|3,r[22]=3,r[23]=160,r[24]=0,r[25]=1,r[26]=(65280&e.byteLength)>>8,r[27]=255&e.byteLength,r.set(e,28),r[23+(5+e.byteLength)]=161,r[e.byteLength+29]=0,r[e.byteLength+30]=1,r[e.byteLength+31]=(65280&t.byteLength)>>8,r[e.byteLength+32]=255&t.byteLength,r.set(t,e.byteLength+33),r[23+(e.byteLength+10+t.byteLength)]=162,r[e.byteLength+10+t.byteLength+24]=0,r[e.byteLength+10+t.byteLength+25]=1,r[e.byteLength+10+t.byteLength+26]=(65280&n.byteLength)>>8,r[e.byteLength+10+t.byteLength+27]=255&n.byteLength,r.set(n,e.byteLength+10+t.byteLength+28),r}(t.fullData,n.fullData,i.fullData,{Ee:r.Ee,Ve:r.Ve,fe:e.fe,ge:e.ge,$d:e.$d,ee:e.ee,ae:e.ae,be:e.be,ce:e.ce,de:e.de,Ud:e.Ud,Vd:e.Vd,Wd:e.Wd,Xd:e.Xd,Yd:e.Yd,Zd:e.Zd,Rd:e.Rd,vd:e.vd,Qd:e.Qd,Pd:e.Pd,Od:e.Od,He:a.He}),{height:e.height,width:e.width,ha:t}}function xf(e,t){var n=e[t+1]>>3&3,i=e[t+1]>>1&3,r=e[t+2]>>4&15,a=e[t+2]>>2&3;if(1!==n&&0!==r&&15!==r&&3!==a){var o=e[t+3]>>6;r=1e3*Tf[14*(3===n?3-i:3===i?3:4)+r-1],a=Cf[3*(3===n?0:2===n?1:2)+a],n=Ef[n][i];var s=Sf[i],l=Math.floor(n*r/a+(e[t+2]>>1&1))*s,c=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);return(c=c?parseInt(c[1],10):0)&&87>=c&&2===i&&224e3<=r&&0===o&&(e[t+3]|=128),{sampleRate:a,channelCount:3===o?1:2,O:l,mh:8*n*s}}return null}function kf(e,t){return!(255!==e[t]||224&~e[t+1]||!(6&e[t+1]))}var Tf=[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],Cf=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Ef=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Sf=[0,1,1,4];function Lf(e){this.i=e,this.h=0,this.g=new Map}function Mf(e){this.h=e,this.g=null}function If(e){this.h=e,(this.g=Hd.get("ISOBoxer")())&&function(e){function t(){this._procFullBox(),1&this.flags&&(this._procField("AlgorithmID","uint",24),this._procField("IV_size","uint",8),this._procFieldArray("KID",16,"uint",8)),this._procField("sample_count","uint",32),this._procEntries("entry",this.sample_count,function(e){this._procEntryField(e,"InitializationVector","data",8),2&this.flags&&(this._procEntryField(e,"NumberOfEntries","uint",16),this._procSubEntries(e,"clearAndCryptedData",e.NumberOfEntries,function(e){this._procEntryField(e,"BytesOfClearData","uint",16),this._procEntryField(e,"BytesOfEncryptedData","uint",32)}))})}e.g.addBoxProcessor("saio",function(){this._procFullBox(),1&this.flags&&(this._procField("aux_info_type","uint",32),this._procField("aux_info_type_parameter","uint",32)),this._procField("entry_count","uint",32),this._procFieldArray("offset",this.entry_count,"uint",1===this.version?64:32)}),e.g.addBoxProcessor("saiz",function(){this._procFullBox(),1&this.flags&&(this._procField("aux_info_type","uint",32),this._procField("aux_info_type_parameter","uint",32)),this._procField("default_sample_info_size","uint",8),this._procField("sample_count","uint",32),0===this.default_sample_info_size&&this._procFieldArray("sample_info_size",this.sample_count,"uint",8)}),e.g.addBoxProcessor("senc",t),e.g.addBoxProcessor("uuid",function(){for(var e=!0,n=0;16>n;n++)this.usertype[n]!==Rf[n]&&(e=!1);
1e&&(this._parsing&&(this.type="sepiff"),t.call(this))})}(this)}function Df(e,t){for(var n=8,i=0;i<e.boxes.length&&e.boxes[i].type!==t;i++)n+=e.boxes[i].size;return n}(i=Lf.prototype).destroy=function(){this.g.clear()},i.isSupported=function(e){return"audio/mpeg"==e.toLowerCase().split(";")[0]&&X(this.convertCodecs("audio",e))},i.convertCodecs=function(e,t){return"audio/mpeg"==t.toLowerCase().split(";")[0]?'audio/mp4; codecs="mp3"':t},i.getOriginalMimeType=function(){return this.i},i.transmux=function(e,t,n,i){for(n=oa(e=oe(e)).length;n<e.length;n++){var r=n;if(r+1<e.length&&kf(e,r)){var a=xf(e,r),o=4;a&&a.O&&(o=a.O),r=(r+=o)===e.length||r+1<e.length&&kf(e,r)}else r=!1;if(r)break}var s;for(r=[];n<e.length;){if(!(a=xf(e,n)))return Promise.reject(new nt(2,3,3018));s||(s=a),n+a.O<=e.length&&r.push({data:e.subarray(n,n+a.O),size:a.O,duration:1152,La:0,flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:2,Na:0}}),n+=a.O}return s?(e=9e4*s.mh/s.sampleRate*this.h,s=new nh([i={id:t.id,type:"audio",codecs:"mp3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:s.sampleRate,duration:i,Ka:[],da:new Uint8Array([]),ha:new Uint8Array([]),data:{Wa:this.h,baseMediaDecodeTime:e,Ja:r},stream:t}
1]),this.g.has(t.id)?i=this.g.get(t.id):(i=ih(s),this.g.set(t.id,i)),t=sh(s),this.h++,t=Xi(i,t),Promise.resolve(t)):Promise.reject(new nt(2,3,3018))},O("shaka.transmuxer.Mp3Transmuxer",Lf),Lf.prototype.transmux=Lf.prototype.transmux,Lf.prototype.getOriginalMimeType=Lf.prototype.getOriginalMimeType,Lf.prototype.convertCodecs=Lf.prototype.convertCodecs,Lf.prototype.isSupported=Lf.prototype.isSupported,Lf.prototype.destroy=Lf.prototype.destroy,Re("audio/mpeg",function(){return new Lf("audio/mpeg")},je),(i=Mf.prototype).destroy=function(){},i.isSupported=function(e){if("video/mp2t"!=e.toLowerCase().split(";")[0])return!1;var t=vt(e).split(","),n=st("audio",t);return t=st("video",t),!(!n||t||"mp3"!=gt(n))&&X(this.convertCodecs("audio",e))},i.convertCodecs=function(e,t){return"video/mp2t"==t.toLowerCase().split(";")[0]?"audio/mpeg":t},i.getOriginalMimeType=function(){return this.h},i.transmux=function(e,t,n,i,r){if(this.g?this.g.clearData():this.g=new wa,e=oe(e),"mp3"!=(e=this.g.parse(e)).gd().audio||"audio"!=r)return Promise.reject(new nt(2,3,3018));for(r=new Uint8Array([]),t=(e=c(e.zb())).next();!t.done;t=e.next())if(t=t.value.data)for(n=0;n<t.length;)(i=xf(t,n))?(n+i.O<=t.length&&(r=Xi(r,t.subarray(n,n+i.O))),n+=i.O):n++;return Promise.resolve(r)},O("shaka.transmuxer.MpegTsTransmuxer",Mf),Mf.prototype.transmux=Mf.prototype.transmux,Mf.prototype.getOriginalMimeType=Mf.prototype.getOriginalMimeType,Mf.prototype.convertCodecs=Mf.prototype.convertCodecs,Mf.prototype.isSupported=Mf.prototype.isSupported,Mf.prototype.destroy=Mf.prototype.destroy,Re("video/mp2t",function(){return new Mf("video/mp2t")},Ve),(i=If.prototype).destroy=function(){},i.isSupported=function(e,t){var n=e.startsWith("mss/");return!(!this.g||!n)&&(t?X(this.convertCodecs(t,e)):(t=this.convertCodecs("audio",e),e=this.convertCodecs("video",e),X(t)||X(e)))},i.convertCodecs=function(e,t){return t.replace("mss/","")},i.getOriginalMimeType=function(){return this.h},i.transmux=function(e,t,n){if(!n)return Promise.resolve(oe(e));if(!t.mssPrivateData)return Promise.reject(new nt(2,3,3020));try{var i,r=this.g.parseBuffer(e),a=r.fetch("tfhd");a.track_ID=t.id+1;var o=r.fetch("tfdt"),s=r.fetch("traf");null===o&&((o=this.g.createFullBox("tfdt",s,a)).version=1,o.flags=0,o.baseMediaDecodeTime=Math.floor(n.startTime*t.mssPrivateData.timescale));var l=r.fetch("trun"),c=r.fetch("tfxd");c&&c._parent.boxes.splice(c._parent.boxes.indexOf(c),1);var u=r.fetch("tfrf");u&&u._parent.boxes.splice(u._parent.boxes.indexOf(u),1);var d=r.fetch("sepiff");if(null!==d){d.type="senc",d.usertype=void 0;var p=r.fetch("saio");if(null===p){(p=this.g.createFullBox("saio",s)).version=0,p.flags=0,p.entry_count=1,p.offset=[0];var h=this.g.createFullBox("saiz",s);if(h.version=0,h.flags=0,h.sample_count=d.sample_count,h.default_sample_info_size=0,h.sample_info_size=[],2&d.flags)for(i=0;i<d.sample_count;i+=1)h.sample_info_size[i]=10+6*d.entry[i].NumberOfEntries;else h.default_sample_info_size=8}}a.flags&=16777214,a.flags|=131072,l.flags|=1;var f=r.fetch("moof");l.data_offset=f.getLength()+8;var g=r.fetch("saio");null!==g&&(g.offset[0]=Df(f,"traf")+Df(s,"senc")+16);var m=oe(r.write());return Promise.resolve(m)}catch(e){return e instanceof nt?Promise.reject(e):Promise.reject(new nt(2,3,3022))}},O("shaka.transmuxer.MssTransmuxer",If),If.prototype.transmux=If.prototype.transmux,If.prototype.getOriginalMimeType=If.prototype.getOriginalMimeType,If.prototype.convertCodecs=If.prototype.convertCodecs,If.prototype.isSupported=If.prototype.isSupported,If.prototype.destroy=If.prototype.destroy;var Rf=new Uint8Array([162,57,79,82,90,155,79,20,162,68,108,66,124,100,141,244]);function Nf(e){this.j=e,this.g=0,this.h=new Map,this.i=null}Re("mss/audio/mp4",function(){return new If("mss/audio/mp4")},je),Re("mss/video/mp4",function(){return new If("mss/video/mp4")},je),(i=Nf.prototype).destroy=function(){this.h.clear()},i.isSupported=function(e,t){if("video/mp2t"!=e.toLowerCase().split(";")[0])return!1;var n=e;t&&(n=this.convertCodecs(t,e));var i=vt(n).split(",");return n=st("audio",i),i=st("video",i),!(n&&(n=gt(n),!Pf.includes(n))||i&&(n=gt(i),!jf.includes(n)))&&(t?X(this.convertCodecs(t,e)):(t=this.convertCodecs("audio",e),e=this.convertCodecs("video",e),X(t)||X(e)))},i.convertCodecs=function(e,t){return"video/mp2t"==t.toLowerCase().split(";")[0]?(t=vt(t).replace("mp4a.40.34","mp3").split(",").map(this.ng).join(","),"audio"==e?'audio/mp4; codecs="'+t+'"':'video/mp4; codecs="'+t+'"'):t},i.ng=function(e){if(e.includes("avc1")){var t=e.split(".");if(3==t.length)return e=t.shift()+".",(e+=parseInt(t.shift(),10).toString(16))+("000"+parseInt(t.shift(),10).toString(16)).slice(-4)}return e},i.getOriginalMimeType=function(){return this.j},i.transmux=function(e,t,n,i,r){this.i?this.i.clearData():this.i=new wa,e=oe(e);var a=this.i.parse(e);e=[];var o=a.gd();try{var s=null;if("video"==r){switch(o.video){case"avc":var l=[],d=null,p=[],h=a.Tb();if(!h.length)throw new nt(2,3,3023);for(var f=0;f<h.length;f++){var g=h[f],m=g.nalus;p=p.concat(m);var y=bf(m);
1if(y){null==d&&(d=g.dts);var v=void 0;v=f+1<h.length?(h[f+1].dts||0)-(g.dts||0):1<h.length?(g.dts||0)-(h[f-1].dts||0):9e4*(n.endTime-n.startTime),l.push({data:y.data,size:y.data.byteLength,duration:v,La:Math.round((g.pts||0)-(g.dts||0)),flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:y.Dc?2:1,Na:y.Dc?0:1}})}}var b=function(e){if(!e.length)return null;var t=e.find(function(e){return 7==e.type});if(e=e.find(function(e){return 8==e.type}),!t||!e)return null;var n=new ca(t.data),i=va(n);if(va(n),va(n),fa(n),Af.includes(i)&&(3===(i=ga(n))&&da(n,1),fa(n),fa(n),da(n,1),ya(n))){i=3!==i?8:12;for(var r=0;r<i;r++)ya(n)&&ba(n,6>r?16:64)}if(fa(n),0===(i=ga(n)))ga(n);else if(1===i)for(da(n,1),fa(n),fa(n),i=ga(n),r=0;r<i;r++)fa(n);fa(n),da(n,1),i=ga(n);var a=ga(n),o=pa(n,1);0===o&&da(n,1),da(n,1);var s=r=0,l=0,c=0;return ya(n)&&(r=ga(n),s=ga(n),l=ga(n),c=ga(n)),n=(2-o)*(a+1)*16-2*l-2*c,i=16*(i+1)-2*r-2*s,r=[],t=t.fullData,r.push(t.byteLength>>>8&255),r.push(255&t.byteLength),r=r.concat.apply(r,u(t)),t=[],e=e.fullData,t.push(e.byteLength>>>8&255),t.push(255&e.byteLength),t=t.concat.apply(t,u(e)),{height:n,width:i,ha:e=new Uint8Array([1,r[3],r[4],r[5],255,225].concat(r,[1],t))}}(p);if(!b||null==d)throw new nt(2,3,3018);t.height=b.height,t.width=b.width,s={id:t.id,type:"video",codecs:"avc1",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:9e4,duration:i,Ka:[],da:new Uint8Array([]),ha:b.ha,data:{Wa:this.g,baseMediaDecodeTime:d,Ja:l},stream:t};break;case"hvc":if(h=[],g=null,m=[],!(l=a.Tb()).length)throw new nt(2,3,3023);for(y=0;y<l.length;y++){p=(d=l[y]).nalus,m=m.concat(p),b=!1;var A=[],w=!1;for(v=(f=c(p)).next();!v.done;v=f.next()){var x=v.value;switch(x.type){case 1:case 0:var k=w=!0;break;case 19:case 20:case 21:b=k=w=!0;break;case 32:case 33:case 34:case 39:case 40:k=!0;break;case 35:w=k=!0;break;default:k=!1}if(w&&k){var T=x.fullData.byteLength,C=new Uint8Array(4);C[0]=T>>24&255,C[1]=T>>16&255,C[2]=T>>8&255,C[3]=255&T,A.push(Xi(C,x.fullData))}}var E=A.length?{data:Xi.apply(Ki,u(A)),Dc:b}:null;E&&(null==g&&null!=d.dts&&(g=d.dts),b=void 0,b=y+1<l.length?(l[y+1].dts||0)-(d.dts||0):1<l.length?(d.dts||0)-(l[y-1].dts||0):9e4*(n.endTime-n.startTime),h.push({data:E.data,size:E.data.byteLength,duration:b,La:Math.round((d.pts||0)-(d.dts||0)),flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:E.Dc?2:1,Na:E.Dc?0:1}}))}var S=wf(m);if(!S||null==g)throw new nt(2,3,3018);t.height=S.height,t.width=S.width,s={id:t.id,type:"video",codecs:"hvc1",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:9e4,duration:i,Ka:[],da:new Uint8Array([]),ha:S.ha,data:{Wa:this.g,baseMediaDecodeTime:g,Ja:h},stream:t}}s&&(e.push(s),s=null)}if("audio"==r){switch(o.audio){case"aac":for(var L,M=[],I=null,D=c(a.zb()),R=D.next();!R.done;R=D.next()){var N=R.value,P=N.data;if(P){var j=0;if(!(L=df(P,j)))throw new nt(2,3,3018);for(t.audioSamplingRate=L.sampleRate,t.channelsCount=L.channelCount,null==I&&null!==N.pts&&(I=N.pts);j<P.length;){var V=uf(P,j);if(V){var H=V.od+V.O;j+H<=P.length&&M.push({data:P.subarray(j+V.od,j+H),size:V.O,duration:1024,La:0,flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:2,Na:0}}),j+=H}else j++}}}if(!L||null==I){if(!a.Tb().length)throw new nt(2,3,3018);I=9e4*n.startTime;var B=st("audio",t.codecs.split(","));if(!B||!t.channelsCount||!t.audioSamplingRate)throw new nt(2,3,3018);L={sampleRate:t.audioSamplingRate,channelCount:t.channelsCount,ma:B};var U=function(e,t){if("mp4a.40.2"===e){if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(1===t)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===t||3===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null}(B,t.channelsCount);if(!U)throw new nt(2,3,3018);var O=I+9e4*(n.endTime-n.startTime);for(a=I;a<O;)M.push({data:U,size:U.byteLength,duration:1024,La:0,flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:2,Na:0}}),a+=1024/L.sampleRate*9e4}var F=L.sampleRate;a=I/9e4*F,s={id:t.id,type:"audio",codecs:L.ma,encrypted:t.encrypted&&0<t.drmInfos.length,timescale:F,duration:i,Ka:[],da:new Uint8Array([]),ha:new Uint8Array([]),data:{Wa:this.g,baseMediaDecodeTime:a,Ja:M},stream:t};break;case"ac3":L=[],F=0,M=new Uint8Array([]),I=null;for(var z=(j=c(a.zb())).next();!z.done;z=j.next()){var _=z.value,q=_.data;for(null==I&&null!==_.pts&&(I=_.pts),a=0;a<q.length;){var K=ff(q,a);K?(t.audioSamplingRate=K.sampleRate,t.channelsCount=K.channelCount,F=K.sampleRate,M=K.da,L.push({data:q.subarray(a,a+K.O),size:K.O,duration:1536,La:0,flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:2,Na:0}}),a+=K.O):a++}}if(0==F||0==M.byteLength||null==I)throw new nt(2,3,3018);a=I/9e4*F,s={id:t.id,type:"audio",codecs:"ac-3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:F,duration:i,Ka:[],da:M,ha:new Uint8Array([]),data:{Wa:this.g,baseMediaDecodeTime:a,Ja:L},stream:t};break;case"ec3":L=[],F=0,I=new Uint8Array([]),M=null;for(var G=c(a.zb()),Q=G.next();!Q.done;Q=G.next()){var W=Q.value,Y=W.data;for(null==M&&null!==W.pts&&(M=W.pts),a=0;a<Y.length;){var Z=yf(Y,a);Z?(t.audioSamplingRate=Z.sampleRate,t.channelsCount=Z.channelCount,F=Z.sampleRate,I=Z.da,L.push({data:Y.subarray(a,a+Z.O),size:Z.O,duration:1536,La:0,flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:2,Na:0}}),a+=Z.O):a++}}if(0==F||0==I.byteLength||null==M)throw new nt(2,3,3018);a=M/9e4*F,s={id:t.id,type:"audio",codecs:"ec-3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:F,duration:i,Ka:[],da:I,ha:new Uint8Array([]),data:{Wa:this.g,baseMediaDecodeTime:a,Ja:L},stream:t};break;case"mp3":var X;L=[],F=null;for(var J=c(a.zb()),$=J.next();!$.done;$=J.next()){var ee=$.value,te=ee.data;if(te)for(null==F&&null!==ee.pts&&(F=ee.pts),a=0;a<te.length;){var ne=xf(te,a);ne?(X||(X=ne),a+ne.O<=te.length&&L.push({data:te.subarray(a,a+ne.O),size:ne.O,duration:1152,La:0,flags:{Ma:0,Ha:0,Fa:0,Da:0,Ea:2,Na:0}}),a+=ne.O):a++}}if(!X||null==F)throw new nt(2,3,3018);var ie=X.sampleRate;a=F/9e4*ie,s={id:t.id,type:"audio",codecs:"mp3",encrypted:t.encrypted&&0<t.drmInfos.length,timescale:ie,duration:i,Ka:[],da:new Uint8Array([]),ha:new Uint8Array([]),data:{Wa:this.g,baseMediaDecodeTime:a,Ja:L},stream:t}}s&&e.push(s)}}catch(e){return e&&3023==e.code?Promise.resolve(new Uint8Array([])):Promise.reject(e)}return e.length?(e=new nh(e),this.h.has(t.id)?i=this.h.get(t.id):(i=ih(e),this.h.set(t.id,i)),t=sh(e),this.g++,t=Xi(i,t),Promise.resolve(t)):Promise.reject(new nt(2,3,3018))},O("shaka.transmuxer.TsTransmuxer",Nf),Nf.prototype.transmux=Nf.prototype.transmux,Nf.prototype.getOriginalMimeType=Nf.prototype.getOriginalMimeType,Nf.prototype.convertCodecs=Nf.prototype.convertCodecs,Nf.prototype.isSupported=Nf.prototype.isSupported,Nf.prototype.destroy=Nf.prototype.destroy;var Pf=["aac","ac-3","ec-3","mp3"],jf=["avc","hevc"];Re("video/mp2t",function(){return new Nf("video/mp2t")},He)}
1.call(t,e,e,void 0),"undefined"!=typeof exports)for(var n in t.shaka)exports[n]=t.shaka[n];else"function"==typeof define&&define.amd?define(function(){return t.shaka}):e.shaka=t.shaka}();var castMeta=null,castAvailable=!1;if(window.__onGCastApiAvailable=function(e){if(e&&chrome.cast){let a=cast.framework.CastContext.getInstance();function t(){o.isPaused&&s.playOrPause()}function n(){o.isPaused||s.playOrPause()}function i(){o.currentTime=castMeta.video.currentTime,s.seek()}function r(){o.volumeLevel=castMeta.video.volume,s.setVolumeLevel(),castMeta.video.muted=!0}a.setOptions({receiverApplicationId:chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID}),a.addEventListener(cast.framework.CastContextEventType.CAST_STATE_CHANGED,function(){a.getCastState()!=cast.framework.CastState.NO_DEVICES_AVAILABLE?(castAvailable=!0,document.dispatchEvent(new Event("castavailable"))):castAvailable=!1});const o=new cast.framework.RemotePlayer,s=new cast.framework.RemotePlayerController(o),l=cast.framework.RemotePlayerEventType;s.addEventListener(l.IS_CONNECTED_CHANGED,function(){const e=castMeta.video;if(e)if(cast&&cast.framework&&o.isConnected){const a=new URL("videos/dash.mpd",castMeta.data.url);let o=new chrome.cast.media.MediaInfo(a,"application/dash+xml");o.streamType=chrome.cast.media.StreamType.BUFFERED,o.metadata=new chrome.cast.media.GenericMediaMetadata,o.metadata.title=castMeta.data.title;let s=new chrome.cast.media.LoadRequest(o);s.currentTime=e.currentTime,s.autoplay=!0,e.muted=!0,e.play(),e.addEventListener("play",t),e.addEventListener("pause",n),e.addEventListener("seeked",i),e.addEventListener("volumechange",r),e.closest(".video-container").classList.add("casting"),cast.framework.CastContext.getInstance().getCurrentSession().loadMedia(s)}else e.muted=!1,e.removeEventListener("play",t),e.removeEventListener("pause",n),e.removeEventListener("seeked",i),e.removeEventListener("volumechange",r),e.closest(".video-container").classList.remove("casting")}),s.addEventListener(l.IS_PAUSED_CHANGED,function(){castMeta&&(o.isPaused?castMeta.video.pause():castMeta.video.play())}),s.addEventListener(l.PLAYER_STATE_CHANGED,function(){castMeta&&Math.abs(castMeta.video.currentTime-o.currentTime)>5&&(castMeta.video.currentTime=o.currentTime)}),s.addEventListener(l.IS_MEDIA_LOADED_CHANGED,function(){castMeta&&(castMeta.video.currentTime=o.currentTime)})}},void 0===window._muse_embed_player){window.SkivPlayer=function(e){let n,i,r=[],a=0,o={};for(let t in e)o[t]=e[t];location.hostname.toLowerCase();const s=o?.domain||"skiv.com";let l="https://"+s+"/api/files",c=["127.0.0.1",s].includes(window.location.hostname)&&window.location.pathname.startsWith("/embed/");"string"==typeof o.container&&(o.container=document.querySelector(o.container));try{i=c?o.container:o.container.attachShadow({mode:"closed"})}catch(e){return void("NotSupportedError"===e.name?console.warn("Trying to initialize player twice on the same element."):console.warn("Could not find player container element."))}let u,d=document.createElement("div");d.style.all="initial",d.style.display="block",d.style.opacity="0",d.style.position="relative",i.appendChild(d),o.sizing=o.fill?"fill":o.sizing,"fill"===o.sizing?(o.height=null,o.width=null,d.style.width="100%",d.style.height="100%"):"fit"===o.sizing?(o.height=null,o.width=null,d.style.display="flex",d.style.alignItems=o.alignVertical||"center",d.style.justifyContent="center",d.style.width="100%",d.style.height="100%",o.widthMax="parent",o.heightMax="parent"):"cover"===o.sizing?(o.height=null,o.width=null,d.style.width="100%",d.style.height="100%"):("parent"===o.width&&(o.width=null,o.widthMax="parent",d.style.width="100%"),"parent"===o.height&&(o.height=null,o.heightMax="parent",d.style.height="100%"),"center"==o.alignVertical&&(d.style.display="flex",d.style.alignItems="center",d.style.justifyContent="center",d.style.height="100%"),o.height&&o.height.includes("%")&&(d.style.height="100%",o.widthMax=!1,o.container.style.height="100%"),o.width||o.height||o.widthMax||o.heightMax||(o.width=640,o.height=360)),"fill"!==o.sizing&&(o.heightResizeParent=!0,o.widthResizeParent=!0),"minimal"===o.style?o.classSize="player-minimal":"no-controls"===o.style&&(o.classSize="player-no-controls"),void 0!==o.showTitle&&(o.title=o.showTitle),void 0!==o.showSearch&&(o.search=o.showSearch),o.playlist&&o.loop&&!o.video&&(u=!0,o.loop=!1);const p={autoplay:!1,playlist:!1,title:!0,search:!0,embedded:!0,links:!0,logo:!0,loop:!1,volume:null,classSize:null,linkedData:!1,cssDefault:!0};for(let e in o)p[e]=o[e];delete p.start,n=makePlayer(d,p),n.setVideo=function(e,i,r){if(e.constructor==Object&&e.svid&&e.ingest_video>0)return d.style.opacity="",n.setData(e,{time:o.start,retry:r}),void(n.options.video=e.svid);if("string"!=typeof e||7!==e.length)return void console.warn("Incorrect video id.");const a={regions:1};r&&(a.t=Date.now()),fetch(l+"/videos/"+e+"?"+new URLSearchParams(a).toString(),{method:i?"post":"get",body:i?new URLSearchParams({password:i}):null}).then(function(e){return 200!==e.status&&(d.style.opacity=""),e.json()}
1).then(function(a){if(d.querySelector(".psw-error").innerText="bad_password"==a.error?"Incorrect password":"","no_password"==a.error||"bad_password"==a.error)return void n.requirePsw(e);0==a.ingest_video&&setTimeout(()=>n.setVideo(e,i,!0),7e3),d.style.opacity="",d.querySelector(".video-container").classList.remove("password","unavailable"),t("metadata loaded for "+e);const s=()=>{t("setting player data for "+e),n.setData(a,{time:o.start,retry:r}),n.options.video=e};n.getData()?n.unload().then(s):s(),i&&sessionStorage.setItem("vidp",i)})},n.requirePsw=function(e){const t=d.querySelector(".overlay-password input");function i(i){n.setVideo(e,t.value),i.target.removeEventListener(i.type,arguments.callee)}d.querySelector(".video-container").classList.add("password"),d.querySelector(".overlay-password button").addEventListener("click",i),t.addEventListener("keyup",e=>{"Enter"==e.key&&i(e)})},n.setPlaylist=function(e){if(e.constructor==String&&e.includes(","))r=e.split(",");else{if(e.constructor==String)return void fetch(l+"/collections/"+e).then(e=>e.json()).then(e=>{!e||e.error?(d.style.opacity="",n.setData({})):n.setPlaylist(e.videos)});r=e}r.length&&(n.setVideo(r[0]),a=1)},n.setPlaylistPos=function(e){a=e},n.on("ended",function(){r.length&&a<r.length?(n.options.autoplay=!0,n.unload(),n.setVideo(r[a]),a+=1):u&&(a=0,n.options.autoplay=!0,n.unload(),n.setVideo(r[a]))}),o.containerSpeech&&n.on("metadata",e=>window.SkivPlayer.embedData({container:o.containerSpeech,video:e.svid,content:"speech"}));const h="boolean"!=typeof n.options.shortcuts||n.options.shortcuts;if(document.addEventListener("click",e=>{n.options.shortcuts=h&&o.container.contains(e.target)},!0),o.video?n.setVideo(o.video,o.password):p.playlist?n.setPlaylist(p.playlist):d.style.opacity="","skiv.com"==window.location.hostname||p.cssDefault){let e=document.createElement("style");e.innerText=_SKIV_CSS_PLAYER,i.appendChild(e)}if("string"==typeof o.css&&o.css.includes("{")){let e=document.createElement("style");e.innerText=o.css,i.appendChild(e)}
1else o.css&&(o.css="string"==typeof o.css?o.css.split(","):o.css,o.css.forEach(e=>{let t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),i.appendChild(t)}));return o.container.musePlayer=n,n},window.MusePlayer=window.SkivPlayer,window.SkivPlayer.embedData=function(e){let t=e.container,n=e.video,i=e.content,r=e.player,a="https://"+(e.domain||"skiv.com")+"/api/files";if("string"==typeof t&&(t=document.querySelector(t)),e.clear&&(t.innerText=""),"description"==i)fetch(a+"/videos/"+n).then(e=>e.json()).then(function(e){let n;try{const t=new RegExp("(?<start>(\\d?\\d:)?\\d?\\d:\\d\\d)\\s+(?<name>[^\\n]+)","gs");n=e.description.replace(t,(e,t,n,i)=>`<a class="muse-video-seek" data-time="${function(e){const t=e.split(":").slice(0,3);let n=parseFloat(t[t.length-1])||0,i=parseFloat(t[t.length-2])||0;return 3600*(parseFloat(t[t.length-3])||0)+60*i+n}(t)}" style="cursor: pointer">${t}</a> ${i}`);const i=/https?:\/\/([\da-z.-]+\.[a-z.]{2,6}|[\d.]+)([/:?=&#]{1}[\da-z.+?%-]+)*[/?]?/gi;let r=0;n=n.replace(i,e=>(r+=1,r<6?`<a href="${e}" target="_blank" rel="noreferrer nofollow">${e}</a>`:e))}catch(t){n=e.description}t.insertAdjacentHTML("beforeend",n),t.style.whiteSpace="pre-wrap",t.querySelectorAll(".muse-video-seek").forEach(e=>e.onclick=()=>{r.seek(e.dataset.time),r.play()})});else if("speech"==i){const i="1"==e.timestamps,o=document.createElement(i?"table":"div");t.appendChild(o);const s=function(e){if(isNaN(e))return"";const t=e=>e.toString().padStart(2,"0"),n=Math.floor(e)%60,i=Math.floor(e/60)%60,r=Math.floor(e/3600),a=t(n);return(r>0?`${r}:`:"")+(r>0?`${t(i)}:`:`${i}:`)+a};fetch(a+"/i/speech/"+n,{mode:"cors"}).then(e=>e.json()).then(function(t){if(!t.length)return void o.insertAdjacentHTML("beforeend",e.empty||"");t.sort((e,t)=>e[0]-t[0]);let n,a=[];t.forEach(e=>{let t="\n"==e[2]||n&&e[0]-n[1]>1.2;(0==a.length||t&&n[2].trim())&&a.push([]),e[2].trim()&&a[a.length-1].push(e),n=e}),a.forEach(e=>{if(!e.length)return;let t=e[0][0],n="";e.forEach(e=>{const t=";:.,!?".includes(e[2]),i="muse-speech-word"+(t?" punct-join":"")+("-â".includes(e[2])?" punct-space":"");n+=`${t?"":" "}<span class="${i}" data-start="${e[0]}" data-end="${e[1]}">${e[2]}</span>`});let a="";if(a=i?`<tr><td class="muse-speech-time" data-start=${t} style="vertical-align: top; padding-right: 7px;">${s(t)}</td><td class="muse-speech-phrase">${n}</td></tr>`:n,o.insertAdjacentHTML("beforeend",a),r&&i){const e=o.lastChild.querySelector(".muse-speech-time");e.style.cursor="pointer",e.onclick=()=>{r.seek(e.dataset.start),r.play()},o.lastChild.querySelectorAll(".muse-speech-phrase .muse-speech-word").forEach(e=>{e.style.cursor="pointer",e.onclick=()=>{r.seek(e.dataset.start),r.play()}})}})})}else"text"==i?fetch(a+"/i/text/"+n,{mode:"cors"}).then(e=>e.json()).then(e=>{const n=Object.entries(e).map(([e,t])=>t.map(t=>({label:e,start:t.s,x:t.x,y:t.y}))).flat().sort(function(e,t){return e.start==t.start?Math.abs(e.y-t.y)<.05?e.x==t.x?e.id-t.id:e.x-t.x:e.y-t.y:e.start-t.start}),i=document.createElement("div");
1t.appendChild(i),n.forEach(e=>i.insertAdjacentHTML("beforeend",`<span>${e.label}</span> `))}):"objects"==i?fetch(a+"/i/objects/"+n,{mode:"cors"}).then(e=>e.json()).then(e=>{const n=document.createElement("div");t.appendChild(n),Object.keys(e).forEach(e=>n.insertAdjacentHTML("beforeend",`<span>${e}</span> `))}):"scenes"==i?fetch(a+"/i/scenes/"+n,{mode:"cors"}).then(e=>e.json()).then(e=>{fetch(a+"/videos/"+n).then(e=>e.json()).then(function(n){const i=document.createElement("div");i.style.display="grid",i.style.gridTemplateColumns="repeat(auto-fill, minmax(85px, 1fr))",i.style.rowGap="2px",i.style.columnGap="2px",t.appendChild(i),e.forEach(e=>{const t=Math.floor(n.duration),a=("0000"+Math.min(t,Math.ceil(e[0][0]))).slice(-5),o=new URL(`thumbnails/${a}.jpg`,n.url);i.insertAdjacentHTML("beforeend",`<img src="${o}" data-start="${e[0][0]}" style="max-width: 100%"></img>`),i.lastChild.style.cursor="pointer",i.lastChild.addEventListener("click",e=>{const t=e.currentTarget;r.seek(t.dataset.start),r.play()})})})}):"sounds"==i?fetch(a+"/i/sounds/"+n,{mode:"cors"}).then(e=>e.json()).then(e=>{const n=document.createElement("div");t.appendChild(n),Object.keys(e).forEach(e=>n.insertAdjacentHTML("beforeend",`<span>${e}</span> `))}):"actions"==i&&fetch(a+"/i/actions/"+n,{mode:"cors"}).then(e=>e.json()).then(e=>{const n=document.createElement("div");t.appendChild(n),Object.keys(e).forEach(e=>n.insertAdjacentHTML("beforeend",`<span>${e}</span> `))})},window.MusePlayer.embedData=window.SkivPlayer.embedData,window.SkivPlayer.embedPopup=function(e){let t={};if("string"==typeof e.trigger||e.trigger instanceof Element?t.container=e.trigger:t=e.trigger,"string"==typeof t.container&&(t.container=document.querySelector(t.container)),e.autoplay=void 0===e.autoplay||e.autoplay,t.thumbnail){let n=t.width||"100%";n=n.match(/^\d+$/)?n+"px":n;const i=`\n <div class="muse-popup-button" style="position: relative; cursor: pointer; width: ${n}; line-height: 0" onmouseover="this.firstElementChild.style.opacity=1" onmouseout="this.firstElementChild.style.opacity=0.7">\n <div class="muse-popup-thumbnail" style="position: absolute; left: 0; bottom: 0; top: 0; right: 0; display: flex; display: flex; align-items: center; justify-content: center; opacity: 0.7; transition: opacity .2s ease-in-out">\n <img class="muse-popup-thumbnail-play" style="max-height: 100px; height: 47%" src="${"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBmaWxsPSIjMDAwIiBvcGFjaXR5PSIuNSIgZD0iTTE1IDEzdjE0bDE0LTYuODkyeiIvPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0yMCA0MEM4Ljk1NCA0MCAwIDMxLjA0NiAwIDIwUzguOTU0IDAgMjAgMHMyMCA4Ljk1NCAyMCAyMC04Ljk1NCAyMC0yMCAyMHptLTUtMjd2MTRsMTQtNi44OTJMMTUgMTN6Ii8+PC9nPjwvc3ZnPg=="}"></img>\n </div>\n <img width="100%"></img>\n </div>`;t.container.insertAdjacentHTML("beforeend",i),t.container=t.container.lastElementChild;let r=e.domain||"skiv.com";fetch(`https://${r}/api/files/videos/${e.video}`).then(e=>e.json()).then(function(n){n.error||(e.video=n,t.container.lastElementChild.src=new URL("thumbnails/video.jpg",n.url))})}t.container.addEventListener("click",t=>{t.preventDefault();e.video;let n=document.getElementById("muse-player-overlay");n&&n.remove(),document.body.insertAdjacentHTML("beforeend",'<div id="muse-player-overlay" style="position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: #000c; display: none; z-index: 20000; align-items: center; justify-content: center"><div id="muse-player-overlay-embed" style="width: 100vw; height: calc(100vh - 40px); pointer-events: none"></div></div>'),n=document.body.lastChild,e.width="100%",e.sizing="fit",e.container=document.getElementById("muse-player-overlay-embed"),e.controls=e.controls||[],e.controls.push("+close");const i=window.SkivPlayer(e);i.on("close",()=>n.style.display="none"),i.container.addEventListener("click",e=>{e.stopPropagation()}),n.addEventListener("click",t=>{t.target!=n&&t.target!=e.container||i.hide()}),document.addEventListener("keyup",function(e){"Escape"==e.key&&i.hide()}),i.show(),n.style.display="flex"})},window.MusePlayer.embedPopup=window.SkivPlayer.embedPopup;const e=document.currentScript&&"1"==document.currentScript.dataset.debug,t=function(...t){if(e){const e=(new Date).toISOString();console.log(`Skiv â ${e}:`,...t)}},n=function(e,t){const n=parseInt(e.volume),i={autoplay:(t=t||{}).autoplay||"1"==e.autoplay};return{video:e.video,height:e.height,width:e.width,style:e.style,fill:e.fill,quality:e.quality,sizing:e.sizing,links:e.links&&e.links.length>1?e.links:"0"!=e.links,logo:e.logo&&e.logo.length>
11?e.logo:"0"!=e.logo,loop:"1"==e.loop,autoplay:e.autoplay&&e.autoplay.length>1?e.autoplay:i.autoplay,download:"1"==e.download||e.download,title:"0"!=e.title,search:"0"!=e.search,volume:isNaN(n)?null:n,share:"1"==e.share,start:e.start?e.start:0,end:e.end?e.end:0,resume:"1"==e.resume,consent:"1"==e.consent,linkedData:"0"!=e.ld,subtitles:e.subtitles,shortcuts:"0"!=e.shortcuts,ad:e.ad,domain:e.domain,align:e.align,alignVertical:e.alignvertical,css:e.css,locale:e.locale,playlist:e.playlist,password:e.password,cssDefault:"0"!=e.cssDefault,coverPlayPosition:e.coverplayposition,controls:e.controls?e.controls.split(","):null,controlsSettings:e.controlssettings?e.controlssettings.split(","):null}},i=function(){t("initializing existing elements");document.querySelectorAll("div.muse-video-player, div.skiv-video-player").forEach(function(e){if(e.dataset.video||e.dataset.playlist){t("initializing",e);const i=n(e.dataset);i.container=e,window.SkivPlayer(i)}});document.querySelectorAll(".muse-video-popup, .skiv-video-popup").forEach(function(e){const t=n(e.dataset,{autoplay:"0"!=e.dataset.autoplay});t.trigger={container:e,thumbnail:e.dataset.thumbnail,width:e.dataset.triggerwidth},window.SkivPlayer.embedPopup(t)});document.querySelectorAll("div.muse-video-data, div.skiv-video-data").forEach(e=>{const t=e.dataset.video;if(!t)return;const n={container:e},i=document.querySelector(`\n .muse-video-player[data-video="${t}"],\n .skiv-video-player[data-video="${t}"]\n `);i&&(n.player=i,Object.assign(n,e.dataset),window.SkivPlayer.embedData(n))})};var _SKIV_CSS_PLAYER='\n:root,:host{--bg-color:#ffffff;--off-bg-color:#e7e7e7;--text-color:#1d1d1f;--text-color-light:#6e6e73;--joi:#8792a3;--ava:#50596C;--ava-light:#9fadba;--slate:#e6e6e6;--silicon:#edf1f3;--glass2:#F2F2F2;--ghost:#F8F8FA;--btn-black:#000000;--black:#000000;--black-90:rgba(0, 0, 0, 0.9);--black-70:rgba(0, 0, 0, 0.7);--black-50:rgba(0, 0, 0, 0.5);--black-20:rgba(0, 0, 0, 0.2);--black-10:rgba(0, 0, 0, 0.1);--white:#ffffff;--white-20:rgba(255, 255, 255, 0.2);--white-50:rgba(255, 255, 255, 0.5);--white-60:rgba(255, 255, 255, 0.6);--white-80:rgba(255, 255, 255, 0.9);--bg-color-80:rgba(255, 255, 255, 0.9);--hal-red:#eb5757;--hal-red-dark:#431515;--asimov-green:#6fcf97;--asimov-green-dark:#155b32;--david-yellow:#ffaf51;--david-yellow-dark:#422300;--zima-blue:#374ffa;--iphone-area-bottom:env(safe-area-inset-bottom);--size-large:2rem;--size-normal:1.5rem;--size-small:1.4rem;--weight-light:400;--weight-medium:450;--dark-gray:#f4f4f4;--light-gray:#343437}@media only screen and (min-resolution:2dppx),only screen and (-webkit-min-device-pixel-ratio:2){body{--weight-light:300;--weight-medium:400}}@media (max-width:768px){body{--size-normal:1.6rem;--weight-light:400}}@media (prefers-color-scheme:dark){:root,:host{--bg-color:#000;--off-bg-color:#3c3c3c;--text-color:#9D9D9D;--text-color-light:#a1a1a6;--ava:#383F4E;--ava-light:#70788B;--slate:#2d2d35;--silicon:#19191d;--glass2:#121212;--ghost:#151517;--black:#ffffff;--black-90:rgba(255, 255, 255, 0.9);--black-70:rgba(255, 255, 255, 0.7);--black-50:rgba(255, 255, 255, 0.5);--black-20:rgba(255, 255, 255, 0.2);--black-10:rgba(255, 255, 255, 0.1);--btn-black:#2d2d35;--white:#000000;--bg-color-80:rgba(18, 18, 21, 0.9);--white-20:rgba(0, 0, 0, 0.2);--white-50:rgba(0, 0, 0, 0.5);--white-60:rgba(0, 0, 0, 0.6);--white-80:rgba(0, 0, 0, 0.9);--dark-gray:#101011;--light-gray:#343437}}html.light-mode{--bg-color:#ffffff;--off-bg-color:#e7e7e7;--text-color:#1d1d1f;--text-color-light:#6e6e73;--joi:#8792a3;--ava:#50596C;--ava-light:#9fadba;--slate:#e6e6e6;--silicon:#edf1f3;--glass2:#F2F2F2;--ghost:#F8F8FA;--btn-black:#000000;--black:#000000;--black-90:rgba(0, 0, 0, 0.9);--black-70:rgba(0, 0, 0, 0.7);--black-20:rgba(0, 0, 0, 0.2);--black-10:rgba(0, 0, 0, 0.1);--white:#ffffff;--white-20:rgba(255, 255, 255, 0.2);--white-60:rgba(255, 255, 255, 0.6);--white-50:rgba(255, 255, 255, 0.5);--white-80:rgba(255, 255, 255, 0.9);--bg-color-80:rgba(255, 255, 255, 0.9);--hal-red:#eb5757;--hal-red-dark:#f5b2b2;--asimov-green:#6fcf97;--asimov-green-dark:#155b32;--david-yellow:#ffaf51;--david-yellow-dark:#864902;--zima-blue:#374ffa;--dark-gray:#f4f4f4}html.dark-mode{--bg-color:#000;--off-bg-color:#3c3c3c;--text-color:#9D9D9D;--text-color-light:#a1a1a6;--ava:#383F4E;--ava-light:#70788B;--slate:#2d2d35;--silicon:#19191d;--glass2:#121212;--ghost:#151517;--black:#ffffff;--black-90:rgba(255, 255, 255, 0.9);--black-70:rgba(255, 255, 255, 0.7);--black-20:rgba(255, 255, 255, 0.2);--black-10:rgba(255, 255, 255, 0.1);--btn-black:#2d2d35;--white:#000000;--bg-color-80:rgba(18, 18, 21, 0.9);--white-20:rgba(0, 0, 0, 0.2);--white-50:rgba(0, 0, 0, 0.5);--white-60:rgba(0, 0, 0, 0.6);--white-80:rgba(0, 0, 0, 0.9);--dark-gray:#101011;--light-gray:#343437}#muse-logo{height:25px;max-width:100%}html.dark-mode #muse-logo,html.dark-mode .muse-logo{filter:invert(1)}*{box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Arial",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;-webkit-tap-highlight-color:transparent;-moz-tap-highlight-color:transparent;scrollbar-color:var(--black) transparent;scrollbar-width:thin;letter-spacing:.01rem}html{font-family:-apple-system,BlinkMacSystemFont,"Arial",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:62.5%;background:var(--white);color:var(--text-color)}
1body{display:block;font-size:var(--size-normal);font-weight:var(--weight-light);color:var(--text-color);padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);height:100%;width:100%;margin:0;overflow-x:hidden}.m-docs-window{margin:105px 50px 75px 300px;background:var(--bg-color)}input[type=checkbox]{opacity:0;display:none}input:-webkit-autofill{color:var(--text-color)!important;-webkit-text-fill-color:var(--text-color)!important}input[type=range]::-moz-focus-outer{border:0}img{max-width:100%;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.copy-tmp-box *{user-select:all!important}i.clickable::after{content:"";position:absolute;top:-15px;bottom:-15px;left:-15px;right:-15px}h1,h2,h3,h4,h5,h6{font-weight:var(--weight-medium)!important;font-style:normal;margin-bottom:.5em!important;margin-top:0;color:var(--black);line-height:initial}h1{font-size:3.7rem;color:var(--black)}h2{font-size:3.5rem}h3{font-size:3rem}h4{font-size:2.1rem}h5{font-size:1.8rem}h6{font-style:normal;font-size:1.7rem;margin-bottom:0!important}@media (min-width:550px){h1{font-size:5rem}h2{font-size:4.2rem}h3{font-size:3.5rem}h4{font-size:3rem}h5{font-size:var(--size-large)}h6{font-size:2rem}.m-big-p{font-size:2rem;font-weight:200}}h6 a{font-family:inherit;font-size:inherit}h6 i{padding:0}.title{margin-bottom:3rem!important;margin-top:40px}.text-light{color:var(--ava-light)}.microcopy,.m-microcopy{font-size:var(--size-small);color:var(--text-color-light);margin-bottom:0}a.microcopy,a.m-microcopy,.microcopy a{text-decoration:underline!important}.microcopy-icon{font-size:1.5rem!important;vertical-align:middle!important;padding-left:7px;padding-right:0}a{color:var(--text-color-light);text-decoration:none;transition:color .5s;cursor:pointer}a.underline{color:var(--text-color-light);text-decoration:underline}@media (hover:hover){a:hover{color:var(--black);transition-duration:.5s;text-decoration:none}a.underline:hover{text-decoration:underline}a.microcopy:hover,a.m-microcopy:hover{text-decoration:underline}a.stronger:hover{color:#9d9d9d;border-bottom:2px solid #9d9d9d}}form a{font-size:var(--size-normal);display:inline-block;padding-top:5px}ul{padding-left:0}.link-box{display:flex;justify-content:flex-start;align-items:center;position:relative;height:60px;padding:10px 12px;border:1px solid var(--silicon);border-radius:14px}.link-box button{position:absolute;right:5px;top:5px;bottom:5px;height:unset;border-radius:10px}.dark-mode #share .link-box button{background-color:#000;filter:invert(1)}.link-box span{user-select:all!important}.link-box .icon-m-link{margin-right:9px;min-width:26px}::-webkit-input-placeholder,::-moz-placeholder,::-moz-placeholder,::-ms-input-placeholder,::placeholder{font-family:inherit;font-size:var(--size-normal)}[contenteditable]{user-select:text;-webkit-user-select:text}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus textarea:-webkit-autofill,textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,select:-webkit-autofill,select:-webkit-autofill:hover,select:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px var(--ghost) inset;transition:background-color 5000s ease-in-out 0s,border .2s}iframe{margin:0;padding:15px;border:1px solid var(--silicon);width:100%;max-width:100%}textarea,select,input,button,area{outline:0}body.forbid-scroll{height:100vh;overflow:hidden}::selection{color:var(--white);background:var(--black);-webkit-text-fill-color:var(--white)}::-moz-selection{color:var(--white);background:var(--black)}input:-internal-autofill-selected,input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,textarea:-webkit-autofill,textarea:-webkit-autofill:hover,textarea:-webkit-autofill:focus,select:-webkit-autofill,select:-webkit-autofill:hover,select:-webkit-autofill:focus{background-color:var(--silicon)!important;background-image:none!important;color:var(--black)!important}.dark-toggle{display:flex;align-items:center;position:fixed;bottom:25px;right:25px;height:37px;cursor:pointer;z-index:201;background-color:transparent;padding:0 1px 0 12px;border:1px solid transparent;border-radius:1px;transition:.2s ease,background-color 0s,border 0s}.logged-in .dark-toggle{display:none;visibility:hidden}.logged-out .dark-toggle{display:flex;visibility:visible!important}.dark-toggle .dark-mode-label,.dark-toggle .light-mode-label{font-size:var(--size-small);margin-right:7px;opacity:0;transition-duration:.2s}@media (hover:hover){.dark-toggle:hover{background-color:var(--white);border:1px solid var(--silicon)}.dark-toggle:hover>.dark-mode-label{opacity:1;transition-duration:.2s}}header .dark-mode-label{opacity:1;transition-duration:0s!important}.m-badge{position:absolute;right:35px;background:var(--black);color:var(--white);padding:2px 7px;font-size:1.3rem;user-select:none;-webkit-user-select:none;-ms-user-select:none;vertical-align:text-bottom;z-index:151;border:1px solid var(--black)}.m-badge span{color:var(--white);position:relative;z-index:5;mix-blend-mode:exclusion}.m-badge.secondary{position:absolute;background:var(--white);color:var(--black)}.tooltip-box{position:relative;width:26px;height:26px}.tooltip{position:absolute;
1left:calc(100% + 15px);top:50%;transform:translateY(-50%);width:max-content;max-width:210px;font-size:var(--size-small);background:var(--black);color:var(--white);line-height:1.8rem;padding:7px 10px;opacity:0;visibility:hidden;border-radius:1px;white-space:initial;z-index:1;transition:.2s ease;text-align:left}.tooltip a{color:var(--white)}.left .tooltip{right:calc(100% + 15px);left:unset}.bottom .tooltip{top:calc(100% + 15px);left:50%;transform:translateX(-50%);right:unset}.tooltip-box:hover .tooltip,.tooltip-box:hover i{opacity:1;visibility:visible}.tooltip::before{content:"";position:absolute;left:-10px;top:calc(50% - 10px);width:0;height:0;border-top:10px solid transparent;border-bottom:10px solid transparent;border-right:10px solid var(--black)}.left .tooltip::before{right:-10px;left:unset;border-left:10px solid var(--black);border-right:unset;border-top:10px solid transparent;border-bottom:10px solid transparent}.bottom .tooltip::before{top:-10px;left:calc(50% - 10px);border-left:10px solid transparent;border-right:10px solid transparent;border-bottom:10px solid var(--black);border-top:unset}.tooltip i{filter:invert(1)}.dark-mode .tooltip i{filter:invert(0)!important}.d-f{display:flex}.d-if{display:inline-flex}.d-ib{display:inline-block}.fd-r{flex-direction:row}.fd-rr{flex-direction:row-reverse}.fd-c{flex-direction:column}.fd-cr{flex-direction:column-reverse}.fw-n{flex-wrap:nowrap}.fw-w{flex-wrap:wrap}.fw-wr{flex-wrap:wrap-reverse}.jc-fe{justify-content:flex-end}.jc-fs{justify-content:flex-start}.jc-c{justify-content:center}.jc-sa{justify-content:space-around}.jc-sb{justify-content:space-between}.ai-fs{align-items:flex-start}.ai-c{align-items:center}.ai-fe{align-items:flex-end}.ai-s{align-items:stretch}.ai-b{align-items:baseline}.fg-0{flex-grow:0}.fg-1{flex-grow:1}.fs-0{flex-shrink:0}.fs-1{flex-shrink:1}.fb-a{flex-basis:auto}.fb-0{flex-basis:0}.as-a{align-self:auto}.as-fs{align-self:flex-start}.as-c{align-self:center}.as-fe{align-self:flex-end}.as-s{align-self:stretch}.as-b{align-self:baseline}.no-select{user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.no-margin{margin:0!important}.mobile-menu{position:fixed;visibility:hidden;left:0;right:0;bottom:0;height:0;opacity:0;background:rgba(0,0,0,.6);transition:opacity .2s,visibility .2s;z-index:353}.mobile-menu.on{visibility:visible;height:100%;opacity:1;transition:opacity .5s cubic-bezier(.19,1,.22,1),visibility .5s cubic-bezier(.19,1,.22,1)}.mobile-menu-container{position:fixed;bottom:60px;right:0;left:0;background:var(--bg-color);border:0;width:100%;height:auto;max-height:none;padding-bottom:10px;margin-bottom:env(safe-area-inset-bottom);font-size:1.6rem;border-top:1px solid var(--silicon);transform:translateY(100vh);transition:transform .2s ease;-webkit-box-shadow:0 0 15px 1px rgba(0,0,0,.07);box-shadow:0 0 15px 1px rgba(0,0,0,.07);z-index:348}.mobile-menu-container.on{transform:translateY(0)}.mobile-menu-container .account-header{display:flex;align-items:flex-start;flex-direction:column;padding:25px 30px}.account-name{display:block;color:var(--black);margin:0 0 5px 0}.mobile-menu-row{display:flex;justify-content:flex-start;padding:15px 30px;color:var(--black);width:100%;text-align:left;line-height:25px}.mobile-menu-row i{font-size:2.8rem;margin-right:10px}#btn-alias-switch{display:none;position:absolute;top:23px;right:20px;color:var(--black);opacity:.5;font-size:var(--size-normal)}#btn-alias-switch i{margin-right:3px}@media only screen and (max-width:768px){.desktop-only{display:none!important}}@media only screen and (min-width:768px){.desktop-only{display:inline-block}.mobile-menu{display:none}::-webkit-scrollbar{height:11px;width:11px}::-webkit-scrollbar-track{background:var(--bg-color);opacity:0}::-webkit-scrollbar-thumb{background:var(--black);border:3px solid var(--white);border-radius:1px;opacity:1}}@-webkit-keyframes shimmer{0%{background-position:-1000px 0}to{background-position:1000px 0}}@-webkit-keyframes processing{0%{background-position:-500px 0}to{background-position:500px 0}}@keyframes rotate-spinner-inner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-spinner-outer{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}.spinner{display:flex;align-items:center;justify-content:center}.spinner .inner{background-image:url("data:image/svg+xml,<svg height%3D%2228%22 width%3D%2228%22 xmlns%3D%22http%3A//www.w3.org/2000/svg%22><path d%3D%22M16.684 19.367l-.447-.894a5 5 0 000-8.946l.447-.895A6 6 0 0120 14a6 6 0 01-3.316 5.367zm-5.368 0A6 6 0 018 14a6 6 0 013.316-5.368l.447.895a5 5 0 000 8.946z%22 fill%3D%22%23fff%22/></svg>");background-position:center;background-repeat:no-repeat;background-size:28px 28px;height:28px;width:28px;animation:rotate-spinner-inner 1.5s linear infinite}.spinner .outer{position:absolute;background-image:url("data:image/svg+xml,<svg height%3D%2228%22 width%3D%2228%22 xmlns%3D%22http%3A//www.w3.org/2000/svg%22><path d%3D%22M22.946 9.527l-.894.447A9 9 0 0014 5a9 9 0 00-8.052 4.974l-.894-.447A10 10 0 0114 4a10 10 0 018.946 5.527zm0 8.946A10 10 0 0114 24a10 10 0 01-8.946-5.527l.894-.447A9 9 0 0014 23a9 9 0 008.052-4.974z%22 fill%3D%22%23fff%22/></svg>");background-position:center;background-repeat:no-repeat;background-size:28px 28px;height:28px;width:28px;animation:rotate-spinner-outer 1.5s linear infinite}.bullet-list li{position:relative;list-style:none;font-size:1.6rem;margin-left:0;margin-bottom:8px;padding-left:35px}.bullet-list .bullet-point{position:absolute;
1left:0;display:inline-block;font-size:14px;color:var(--black);background-color:var(--silicon);border-radius:50px;height:25px;width:25px;line-height:25px;text-align:center;margin-right:10px}.bold{font-weight:500;color:var(--black)}.stronger{color:var(--black);font-weight:400}a.stronger{border-bottom:2px solid var(--black);transition:color .2s,border-bottom .2s}.m-slider{-webkit-appearance:none;appearance:none;height:1px;width:200px;background:var(--black);cursor:pointer}.m-slider::-webkit-slider-thumb,.m-slider::-moz-range-thumb{position:relative;-webkit-appearance:none;appearance:none;width:1px;height:15px;background:var(--black);cursor:pointer;transition-duration:.2s}.m-slider.circle::-webkit-slider-thumb{position:relative;-webkit-appearance:none;appearance:none;width:20px;height:20px;background:var(--bg-color);border:1px solid var(--black);border-radius:50%;cursor:pointer;transition-duration:.2s}.m-slider::-moz-range-thumb{position:relative;-webkit-appearance:none;appearance:none;width:10px;height:10px;background:var(--white);border:1px solid var(--black);border-radius:10px;cursor:pointer;transition-duration:.2s}.m-slider:-moz-range-track{-webkit-appearance:none;appearance:none;height:17px}.m-slider.volume{height:1px;width:1px;opacity:0;background:#fff}.m-slider.volume::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:1px;height:15px;background:#fff;cursor:pointer;transition-duration:.2s}.m-slider.volume:focus{width:100px;opacity:1;transition-duration:.2s}@media (hover:hover){.vol-control-container:hover .m-slider.volume{width:100px;opacity:1;transition-duration:.2s}}[class^=icon-m-player-],[class*=icon-m-player-],.searchbar-player-container::after{background-image:url("data:image/svg+xml,<svg width%3D%221501%22 height%3D%2227%22 viewBox%3D%220 0 1501 27%22 fill%3D%22none%22 xmlns%3D%22http%3A//www.w3.org/2000/svg%22>%0A<g clip-path%3D%22url%28%23clip0_1559_519%29%22>%0A<path d%3D%22M1430 6H1417V7H1430V6Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1414 6H1412V7H1414V6Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1430 13H1417V14H1430V13Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1414 13H1412V14H1414V13Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1430 20H1417V21H1430V20Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1414 20H1412V21H1414V20Z%22 fill%3D%22black%22/>%0A<path d%3D%22M671.732 18.2901C670.362 19.4774 668.584 20.0866 666.773 19.9894C664.963 19.8923 663.26 19.0963 662.025 17.7692C660.789 16.4421 660.117 14.6873 660.15 12.8744C660.182 11.0615 660.917 9.3319 662.199 8.04976C663.481 6.76763 665.21 6.03303 667.023 6.00063C668.836 5.96823 670.591 6.64056 671.918 7.87606C673.245 9.11156 674.041 10.8138 674.138 12.6244C674.236 14.435 673.626 16.2127 672.439 17.5831L677.117 22.2621L676.409 22.9691L671.732 18.2901ZM667.148 19.0001C668.739 19.0001 670.265 18.368 671.391 17.2427C672.516 16.1175 673.148 14.5914 673.148 13.0001C673.148 11.4088 672.516 9.8827 671.391 8.75748C670.265 7.63226 668.739 7.00012 667.148 7.00012C665.557 7.00012 664.031 7.63226 662.905 8.75748C661.78 9.8827 661.148 11.4088 661.148 13.0001C661.148 14.5914 661.78 16.1175 662.905 17.2427C664.031 18.368 665.557 19.0001 667.148 19.0001Z%22 fill%3D%22black%22/>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M21 19H15.714L14.857 18H21V6H1V18H7.143L6.286 19H0V5H22V19H21ZM4 23L11 15L18 23H4Z%22 fill%3D%22black%22/>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M8 17H2V7H20V17H14L11 13.5L8 17ZM55 19H49.714L48.857 18H55V6H35V18H41.143L40.286 19H34V5H56V19H55ZM38 23L45 15L52 23H38ZM85.997 21H74.71C74.3766 19.8856 73.7713 18.8715 72.9486 18.0492C72.1259 17.2268 71.1116 16.6219 69.997 16.289C69.997 15.744 69.997 15.161 70 14.538V7H88V21H85.997ZM68 6V5H90V23H75V22H89V6H69V16H68V6ZM68.915 22.981H68V21.031C68.98 21.23 69.751 22.001 69.95 22.981H68.915ZM68 19.009C69.0147 19.1219 69.9608 19.5766 70.6829 20.2985C71.4049 21.0203 71.8599 21.9663 71.973 22.981H70.965C70.857 22.2331 70.5098 21.5402 69.9754 21.0059C69.441 20.4717 68.748 20.1248 68 20.017V19.009ZM68 17C69.5464 17.1199 70.999 17.7885 72.0958 18.8852C73.1925 19.982 73.8611 21.4346 73.981 22.981H72.978C72.8612 21.7001 72.2993 20.5007 71.3898 19.5912C70.4803 18.6817 69.2809 18.1198 68 18.003V17ZM102 6V5H124V23H109V22H123V6H103V16H102V6ZM102.915 22.981H102V2
11.031C102.98 21.23 103.751 22.001 103.95 22.981H102.915ZM102 19.009C103.014 19.1231 103.96 19.5782 104.681 20.2998C105.403 21.0215 105.859 21.9668 105.973 22.981H104.965C104.856 22.2334 104.509 21.5409 103.975 21.0068C103.44 20.4727 102.748 20.1255 102 20.017V19.009ZM102 17C103.546 17.1201 104.999 17.7888 106.096 18.8855C107.192 19.9822 107.861 21.4347 107.981 22.981H106.978C106.861 21.7002 106.299 20.501 105.389 19.592C104.48 18.6821 103.281 18.1198 102 18.003V17ZM177 19V23H176V19H170V18H177V19ZM176 9V5H177V10H170V9H176ZM187 9H193V10H186V5H187V9ZM187 19V23H186V18H193V19H187ZM205 6V10H204V5H211V6H205ZM227 6V10H226V6H220V5H227V6ZM226 22V18H227V23H220V22H226ZM205 22H211V23H204V18H205V22Z%22 fill%3D%22black%22/>%0A<path d%3D%22M242.232 17H239V11H244L251 5V8.232L250 9.232V7.174L244.37 12H240V16H243.232L242.232 17ZM245.333 18.142L246.042 17.433L250 20.826V13.475L251 12.475V23L245.333 18.142ZM254 6.646L254.707 7.354L240.707 21.354L240 20.646L254 6.646Z%22 fill%3D%22black%22/>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M279 6H280V24H279V6ZM285 6H286V24H285V6Z%22 fill%3D%22black%22/>%0A<path d%3D%22M310 6V24L326 15L310 6ZM311 7.71L323.96 15L311 22.29V7.71ZM383 11V17H388L395 23V5L388 11H383ZM384 12H388.37L394 7.174V20.826L388.37 16H384V12ZM417 11H422L429 5V23L422 17H417V11ZM418 12V16H422.37L428 20.826V7.174L422.37 12H418ZM431 7H432V21H431V7ZM451 11H456L463 5V23L456 17H451V11ZM452 12V16H456.37L462 20.826V7.174L456.37 12H452ZM465 7H466V21H465V7ZM468 6H469V22H468V6ZM485 11H490L497 5V23L490 17H485V11ZM486 12V16H490.37L496 20.826V7.174L490.37 12H486ZM499 7H500V21H499V7ZM502 6H503V22H502V6ZM505 5H506V23H505V5Z%22 fill%3D%22black%22/>%0A<path d%3D%22M135.5 5.5H158.5V22.5H135.5V5.5Z%22 stroke%3D%22black%22/>%0A<path d%3D%22M145 13.5H139V14.5H145V13.5Z%22 fill%3D%22black%22/>%0A<path d%3D%22M142.101 11.799L141.461 11L138 14L141.461 17L142.101 16.201L139.562 14L142.101 11.799ZM149 14.5H155V13.5H149V14.5Z%22 fill%3D%22black%22/>%0A<path d%3D%22M151.898 16.201L152.538 17L155.999 14L152.538 11L151.898 11.799L154.437 14L151.898 16.201Z%22 fill%3D%22black%22/>%0A<path d%3D%22M339.5 5.5H362.5V22.5H339.5V5.5Z%22 stroke%3D%22black%22/>%0A<path d%3D%22M342 13.5H348V14.5H342V13.5Z%22 fill%3D%22black%22/>%0A<path d%3D%22M344.898 11.799L345.538 11L348.999 14L345.538 17L344.898 16.201L347.437 14L344.898 11.799ZM359.999 14.5H353.999V13.5H359.999V14.5Z%22 fill%3D%22black%22/>%0A<path d%3D%22M357.101 16.201L356.461 17L353 14L356.461 11L357.101 11.799L354.562 14L357.101 16.201Z%22 fill%3D%22black%22/>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M533.232 23H523.062L518 14L523.062 5
1H533.232L538.294 14L533.232 23ZM519.147 14L523.647 22H532.647L537.147 14L532.647 6H523.647L519.147 14ZM532.147 14C532.147 15.0609 531.726 16.0783 530.975 16.8284C530.225 17.5786 529.208 18 528.147 18C527.086 18 526.069 17.5786 525.319 16.8284C524.568 16.0783 524.147 15.0609 524.147 14C524.147 12.9391 524.568 11.9217 525.319 11.1716C526.069 10.4214 527.086 10 528.147 10C529.208 10 530.225 10.4214 530.975 11.1716C531.726 11.9217 532.147 12.9391 532.147 14ZM525.147 14C525.147 14.7956 525.463 15.5587 526.026 16.1213C526.588 16.6839 527.351 17 528.147 17C528.943 17 529.706 16.6839 530.268 16.1213C530.831 15.5587 531.147 14.7956 531.147 14C531.147 13.2044 530.831 12.4413 530.268 11.8787C529.706 11.3161 528.943 11 528.147 11C527.351 11 526.588 11.3161 526.026 11.8787C525.463 12.4413 525.147 13.2044 525.147 14Z%22 fill%3D%22black%22/>%0A<path d%3D%22M571.2 12.737L567.381 6.286H559.754L571.2 12.736V12.737ZM571.2 15.263L559.754 21.714H567.381L571.2 15.264V15.263ZM557.472 20.47V7.53L553.646 14L557.472 20.47ZM593.755 9H594.491C595.68 9 596.644 9.96 596.644 11.143V19.714H595.352V11.143C595.352 11.0302 595.329 10.9185 595.286 10.8144C595.242 10.7103 595.179 10.6158 595.099 10.5362C595.019 10.4566 594.924 10.3935 594.82 10.3506C594.716 10.3077 594.604 10.2857 594.491 10.286H589.757V19.714H588.465V10.286H582.439V19.714H581.148V9H593.755ZM606.896 18.429V9H608.187V19.714H601.3C600.73 19.7151 600.184 19.4899 599.78 19.088C599.377 18.6862 599.149 18.1405 599.148 17.571V9H600.439V17.571C600.44 17.7989 600.53 18.0173 600.692 18.1782C600.853 18.3391 601.072 18.4293 601.3 18.429H606.896ZM612.3 15C611.73 15.0011 611.184 14.7759 610.78 14.374C610.377 13.9722 610.149 13.4265 610.148 12.85
17V11.143C610.148 9.959 611.112 9 612.3 9H618.326V10.286H612.3C612.072 10.2857 611.854 10.3758 611.692 10.5365C611.531 10.6971 611.44 10.9153 611.439 11.143V12.857C611.44 13.0847 611.531 13.3029 611.692 13.4635C611.854 13.6242 612.072 13.7143 612.3 13.714H616.604C617.793 13.714 618.757 14.674 618.757 15.857V17.571C618.756 17.8531 618.7 18.1323 618.592 18.3926C618.483 18.653 618.324 18.8894 618.124 19.0884C617.924 19.2874 617.687 19.4451 617.426 19.5524C617.166 19.6597 616.886 19.7147 616.604 19.714H610.148V18.43H616.604C616.717 18.4303 616.829 18.4083 616.933 18.3653C617.038 18.3223 617.132 18.2592 617.212 18.1795C617.292 18.0998 617.356 18.0051 617.399 17.9009C617.442 17.7966 617.465 17.6849 617.465 17.572V15.858C617.465 15.7452 617.442 15.6335 617.399 15.5294C617.355 15.4253 617.292 15.3308 617.212 15.2512C617.132 15.1716 617.037 15.1085 616.933 15.0656C616.829 15.0227 616.717 15.0007 616.604 15.001H612.3V15ZM630.187 19.714H623.3C622.73 19.7151 622.184 19.4899 621.78 19.088C621.377 18.6862 621.149 18.1405 621.148 17.571V11.143C621.148 9.959 622.112 9 623.3 9H628.465C629.654 9 630.618 9.96 630.618 11.143V15H622.439V17.571C622.44 17.7989 622.53 18.0173 622.692 18.1782C622.853 18.3391 623.072 18.4293 623.3 18.429H630.187V19.714ZM623.3 10.286C623.072 10.2857 622.854 10.3758 622.692 10.5365C622.531 10.6971 622.44 10.9153 622.439 11.143V13.714H629.326V11.143C629.326 11.0302 629.303 10.9185 629.26 10.8144C629.216 10.7103 629.153 10.6158 629.073 10.5362C628.993 10.4566 628.898 10.3935 628.794 10.3506C628.69 10.3077 628.578 10.2857 628.465 10.286H623.3ZM637.578 9H644.465C645.654 9 646.618 9.96 646.618 11.143V19.714H639.3C638.73 19.7151 638.184 19.4899 637.78 19.088C637.377 18.6862 637.149 18.1405 637.148 17.571V15.857C637.148 14.674 638.112 13.714 639.3 13.714H645.326V11.143C645.326 11.0302 645.303 10.9185 645.26 10.8144C645.216 10.7103 645.153 10.6158 645.073 10.5362C644.993 10.4566 644.898 10.3935 644.794 10.3506C644.69 10.3077 644.578 10.2857 644.465 10.286H637.578V9ZM645.331 18.429V15H639.304C639.076 14.9997 638.858 15.0898 638.697 15.2505C638.535 15.4112 638.445 15.6294 638.444 15.857V17.571C638.444 18.045 638.829 18.429 639.304 18.429H645.331ZM632.905 18.43H634.196V19.716H632.905V18.43ZM649.148 9H650.439V19.714H649.148V9ZM649.148 6.5H650.439V7.786H649.148V6.5ZM568.117 5L573.442 14L568.117 23H557.472L552.148 14L557.472 5H568.117ZM558.764 7.207H558.768V20.793L570.82 14L558.764 7.207ZM697.708 14L704.708 21L704.001 21.707L697.001 14.707L690.001 21.707L689.294 21L696.294 14L689.294 7L690.001 6.293L697.001 13.293L704.001 6.293L704.708 7L697.708 14Z%22 fill%3D%22black%22/>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M730 6H739V13H742V14H739V21H730V24H729V21H720V14H717V13H720V6H729V3H730V6ZM730 7H721V20H738V7H730ZM724 10H735V17H724V10Z%22 fill%3D%22black%22/>%0A<path d%3D%22M786 5L799 13L786 21V5ZM787 6.79V19.21L797.092 13L787 6.79ZM799 5L812 13L799 21V5ZM800 6.79V19.21L810.092 13L800 6.79ZM777 5L764 13L777 21V5ZM776 6.79V19.21L765.908 13L776 6.79ZM764 5L751 13L764 21V5ZM763 6.79V19.21L752.908 13L763 6.79ZM828 20.323L828.702 21L837 13L828.702 5L828 5.677L835.595 13L828 20.323ZM871 5.677L870.298 5L862 13L870.298 21L871 20.323L863.405 13L871 5.677ZM893.677 17L893 16.298L901 8L909 16.298L908.323 17L901 9.405L893.677 17ZM930.5 21C928.246 21 926.084 20.1045 924.49 18.5104C922.896 16.9163 922 14.7543 922 12.5C922 10.2457 922.896 8.08365 924.49 6.48959C926.084 4.89553 928.246 4 930.5 4C932.754 4 934.916 4.89553 936.51 6.48959C938.104 8.08365 939 10.2457 939 12.5C939 14.7543 938.104 16.9163 936.51 18.5104C934.916 20.1045 932.754 21 930.5 21ZM930.5 20C932.489 20 934.397 19.2098 935.803 17.8033C937.21 16.3968 938 14.4891 938 12.5C938 10.5109 937.21 8.60322 935.803 7.1967C934.397 5.79018 932.489 5 930.5 5C928.511 5 926.603 5.79018 925.197 7.1967C923.79 8.60322 923 10.5109 923 12.5C923 14.4891 923.79 16.3968 925.197 17.8033C926.603 19.2098 928.511 20 930.5 20ZM930 14V8H931V14H930ZM930 17V16H931V17H930ZM987.975 12.026C987.65 11.701 987.264 11.4432 986.839 11.2673C986.415 11.0914 985.96 11.0008 985.5 11.0008C985.04 11.0008 984.585 11.0914 984.161 11.2673C983.736 11.4432 983.35 11.701 983.025 12.026C982.369 12.6824 982 13.5727 982 14.501C982 15.4293 982.369 16.3196 983.025 16.976C983.681 17.6324 984.572 18.0012 985.5 18.0012C986.428 18.0012 987.319 17.6324 987.975 16.976C988.631 16.3196 989 15.4293 989 14.501C989 13.5727 988.631 12.6824 987.975 12.026ZM993.278 7.43L995.4 9.55L994.692 10.258L992.571 8.137L989.017 11.692C989.736 12.5903 990.083 13.7297 989.988 14.8761C989.893 16.0225 989.362 17.089 988.505 17.8565C987.648 18.624 986.53 19.0343 985.38 19.003C984.23 18.9718 983.136 18.5015 982.322 17.6886C981.508 16.8758 981.036 15.7821 981.003 14.6322C980.97 13.4823 981.379 12.3635 982.145 11.5055C982.912 10.6475 983.977 10.1155 985.124 10.0187C986.27 9.92187 987.41 10.2677 988.309 10.985L994.692 4.601L997.521 7.43L996.814 8.137L994.692 6.015L993.278 7.43Z%22 fill%3D%22black%22/>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M966 19H954V10H966V19ZM957 8C957 6.346 958.346 5 960 5C961.654 5 963 6.346 963 8V9H957V8ZM964 9V8C964 5.8 962.2 4 960 4C957.8 4 956 5.8 956 8V9H953V20H967V9H964Z%22 fill%3D%22black%22/>%0A<mask id%3D%22mask0_1559_519%22 style%3D%22mask-type%3Aluminance%22 maskUnits%3D%22userSpaceOnUse%22 x%3D%22953%22 y%3D%224%22 width%3D%2214%22 height%3D%2216%22>%0A<path d%3D%22M953 20H967V4H953V20Z%22 fill%3D%22white%22/>%0A</mask>%0A<g mask%3D%22url%28%23mask0_1559_519%29%22>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M959 15H961V14H959V15Z%22 fill%3D%22black%22/>%0A</g>%0A<path d%3D%22M1015 19V13L1021 16L1015 19ZM1016 17.382L1018.76 16L1016 14.618V17.382ZM1028 15H1030V5.029H1017V7H1028V15ZM1028 16.029V19H1027V19.029H1025V22H1010V10H1013V7H1016V4H1031V16H1030V16.029H1028ZM1027 15V8.029H1014V10H1025V18H1027V15ZM1024 19.029V11H1011V21H1024V19.029ZM1045 5V21L1060 13L1045 5ZM1046 6.667L1057.88 13L1046 19.333V6.667Z%22 fill%3D%22black%22/>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M1085.53 8.04311L1077.92 11.8521C1077.97 12.0581 1078 12.2761 1078 12.5001C1078 12.7241 1077.97 12.9421 1077.92 13.1491L1085.53 16.9571C1085.85 16.5479 1086.29 16.249 1086.79 16.102C1087.29 15.955 1087.82 15.9673 1088.31 16.137C1088.81 16.3068 1089.23 16.6256 1089.53 17.0491C1089.84 17.4727 1090 17.9799 1090 18.5001C1090 19.1631 1089.74 19.799 1089.27 20.2679C1088.8 20.7367 1088.16 21.0001 1087.5 21.0001C1086.84 21.0001 1086.2 20.7367 1085.73 20.2679C1085.26 19.799 1085 19.1631 1085 18.5001C1085 18.2761 1085.03 18.0581 1085.08 17.8521L1077.47 14.0421C1077.15 14.4512 1076.71 14.7501 1076.21 14.8971C1075.71 15.0441 1075.18 15.032 1074.69 14.8623C1074.19 14.6927 1073.77 14.374 1073.47 13.9507C1073.16 13.5273 1073 13.0203 1073 12.5001C1073 11.9793 1073.16 11.4712 1073.46 11.0469C1073.76 10.6225 1074.19 10.3031 1074.68 10.1331C1075.18 9.96318 1075.71 9.95124 1076.21 10.099C1076.71 10.2467 1077.15 10.5467 1077.47 10.9571L1085.08 7.14911C1085.03 6.93671 1085 6.71885 1085 6.50011C1085 5.90877 1085.21 5.33689 1085.59 4.88607C1085.98 4.43525 1086.51 4.13467 1087.09 4.03773C1087.67 3.9408
11088.27 4.05378 1088.78 4.35661C1089.29 4.65944 1089.67 5.1325 1089.86 5.69177C1090.06 6.25104 1090.04 6.8603 1089.83 7.41131C1089.61 7.96233 1089.21 8.41942 1088.69 8.70139C1088.17 8.98337 1087.57 9.07196 1086.99 8.95144C1086.41 8.83092 1085.89 8.50908 1085.53 8.04311ZM1075.49 13.9781C1076.31 13.9781 1076.98 13.3111 1076.98 12.4881C1076.98 11.6671 1076.31 11.0001 1075.49 11.0001C1074.67 11.0001 1074 11.6671 1074 12.4891C1074 13.3111 1074.67 13.9781 1075.49 13.9781ZM1087.49 19.9781C1088.31 19.9781 1088.98 19.3111 1088.98 18.4881C1088.98 17.6671 1088.31 17.0001 1087.49 17.0001C1086.67 17.0001 1086 17.6671 1086 18.4891C1086 19.3111 1086.67 19.9781 1087.49 19.9781ZM1087.49 7.97811C1088.31 7.97811 1088.98 7.31111 1088.98 6.48811C1088.98 5.66711 1088.31 5.00011 1087.49 5.00011C1086.67 5.00011 1086 5.66711 1086 6.48911C1086 7.31111 1086.67 7.97811 1087.49 7.97811Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1112 20.003H1114V11.003H1111V8.003H1111.29H1105V20H1112V20.003ZM1112 21.001H1104V7.004H1112V7L1115 9.999L1114.99 10.002H1115V21.002H1112V21.001ZM1112 8.416V10.003H1113.59L1112 8.416ZM1119 7V17H1116V16H1118V7H1115V4H1115.29H1109V6H1108V3H1116L1119 5.998L1118.99 6.001H1119V7ZM1116 4.413V6H1117.59L1116 4.413Z%22 fill%3D%22black%22/>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M1148.28 6.569H1145.31C1144.27 6.569 1143.02 7.323 1143.02 9.675V11.687H1140.81V14.32H1143.02V21H1134V4H1151V21H1145.71V14.32H1147.89L1148.28 11.687H1145.71V9.675C1145.71 9.273 1146.03 8.878 1146.61 8.878H1148.28V6.569Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1273.5 13C1273.9 13 1274.28 12.842 1274.56 12.5607C1274.84 12.2794 1275 11.8978 1275 11.5C1275 11.1022 1274.84 10.7206 1274.56 10.4393C1274.28 10.158 1273.9 10 1273.5 10C1273.1 10 1272.72 10.158 1272.44 10.4393C1272.16 10.7206 1272 11.1022 1272 11.5C1272 11.8978 1272.16 12.2794 1272.44 12.5607C1272.72 12.842 1273.1 13 1273.5 13ZM1279.5 13C1279.9 13 1280.28 12.842 1280.56 12.5607C1280.84 12.2794 1281 11.8978 1281 11.5C1281 11.1022 1280.84 10.7206 1280.56 10.4393C1280.28 10.158 1279.9 10 1279.5 10C1279.1 10 1278.72 10.158 1278.44 10.4393C1278.16 10.7206 1278 11.1022 1278 11.5C1278 11.8978 1278.16 12.2794 1278.44 12.5607C1278.72 12.842 1279.1 13 1279.5 13ZM1285.5 13C1285.9 13 1286.28 12.842 1286.56 12.5607C1286.84 12.2794 1287 11.8978 1287 11.5C1287 11.1022 1286.84 10.7206 1286.56 10.4393C1286.28 10.158 1285.9 10 1285.5 10C1285.1 10 1284.72 10.158 1284.44 10.4393C1284.16 10.7206 1284 11.1022 1284 11.5C1284 11.8978 1284.16 12.2794 1284.44 12.5607C1284.72 12.842 1285.1 13 1285.5 13ZM1187 11.823C1187 11.263 1186.78 10.727 1186.39 10.33C1185.99 9.934 1185.46 9.71 1184.9 9.707C1184.33 9.707 1183.82 9.936 1183.44 10.304C1182.01 9.351 1180.07 8.744 1177.92 8.667L1179.09 4.932L1182.27 5.685V5.731C1182.27 6.686 1183.04 7.461 1183.99 7.461C1184.94 7.461 1185.71 6.686 1185.71 5.731C1185.71 4.777 1184.94 4 1183.99 4C1183.26 4 1182.64 4.46 1182.39 5.103L1178.96 4.291C1178.89 4.27307 1178.81 4.28384 1178.75 4.321C1178.68 4.35898 1178.63 4.41933 1178.61 4.491L1177.31 8.656C1175.06 8.683 1173.02 9.294 1171.53 10.276C1171.14 9.912 1170.63 9.708 1170.1 9.706C1169.64 9.70902 1169.19 9.86278 1168.82 10.144C1168.46 10.426 1168.19 10.821 1168.07 11.268C1167.95 11.716 1167.98 12.19 1168.16 12.618C1168.33 13.047 1168.64 13.406 1169.04 13.64C1169 13.866 1168.98 14.096 1168.97 14.326C1168.97 17.454 1172.78 20 1177.46 20C1182.14 20 1185.95 17.454 1185.95 14.326C1185.95 14.106 1185.92 13.89 1185.89 13.678C1186.22 13.498 1186.5 13.231 1186.7 12.904C1186.9 12.577 1187 12.204 1187 11.823ZM1173.36 13.276C1173.36 12.582 1173.93 12.016 1174.62 12.016C1175.31 12.016 1175.87 12.582 1175.87 13.276C1175.87 13.97 1175.31 14.536 1174.62 14.536C1173.93 14.536 1173.36 13.97 1173.36 13.276ZM1180.54 17.011C1179.91 17.646 1178.92 17.954 1177.51 17.954L1177.5 17.952L1177.49 17.954C1176.08 17.954 1175.09 17.646 1174.46 17.011C1174.41 16.9534 1174.38 16.879 1174.38 16.802C1174.38 16.725 1174.41 16.6506 1174.46 16.593C1174.49 16.565 1174.52 16.543 1174.56 16.529C1174.59 16.5133 1174.63 16.5054 1174.67 16.506C1174.71 16.506 1174.75 16.514 1174.78 16.529C1174.82 16.5432 1174.85 16.565 1174.88 16.593C1175.39 17.11 1176.25 17.362 1177.49 17.362L1177.5 17.364L1177.51 17.362C1178.75 17.362 1179.61 17.11 1180.12 16.592C1180.15 16.564 1180.18 16.542 1180.22 16.528C1180.25 16.5123 1180.29 16.5044 1180.33 16.505C1180.37 16.505 1180.41 16.513 1180.44 16.528C1180.48 16.5422 1180.51 16.564 1180.54 16.592C1180.59 16.6499 1180.62 16.7246 1180.62 16.802C1180.62 16.8794 1180.59 16.953 1180.54 17.011ZM1180.39 14.535C1179.7 14.535 1179.14 13.97 1179.14 13.276C1179.14 12.582 1179.7 12.016 1180.39 12.016C1181.08 12.016 1181.64 12.582 1181.64 13.276C1181.64 13.97 1181.08 14.536 1180.39 14.536V14.535ZM1221 5.847C1220.29 6.165 1219.53 6.374 1218.76 6.467C1219.58 5.97339 1220.19 5.19895 1220.48 4.288C1219.71 4.74479 1218.87 5.06805 1218 5.244C1217.64 4.851 1217.2 4.538 12
116.71 4.324C1216.22 4.10944 1215.69 3.99912 1215.15 4C1212.64 4 1210.79 6.373 1211.36 8.836C1208.12 8.672 1205.25 7.104 1203.32 4.721C1202.3 6.491 1202.79 8.807 1204.53 9.98C1203.91 9.96022 1203.3 9.79111 1202.76 9.487C1202.72 11.312 1204.02 13.02 1205.89 13.4C1205.34 13.55 1204.74 13.586 1204.13 13.467C1204.37 14.2471 1204.86 14.931 1205.51 15.422C1206.16 15.9129 1206.95 16.1862 1207.77 16.203C1206.96 16.8427 1206.04 17.3163 1205.05 17.5962C1204.06 17.8762 1203.02 17.957 1202 17.834C1203.78 18.9913 1205.86 19.6062 1207.98 19.604C1215.21 19.604 1219.3 13.426 1219.06 7.886C1219.82 7.3264 1220.48 6.63604 1221 5.847ZM1236 21L1237.27 16.378C1236.49 15.023 1236.07 13.4838 1236.08 11.918C1236.08 7.001 1240.1 3 1245.04 3C1247.44 3 1249.69 3.93 1251.38 5.616C1252.21 6.44291 1252.87 7.42619 1253.32 8.50916C1253.77 9.59213 1254 10.7534 1254 11.926C1254 16.844 1249.98 20.846 1245.04 20.846C1243.54 20.846 1242.07 20.473 1240.75 19.759L1236 21ZM1240.97 18.145C1242.23 18.891 1243.44 19.338 1245.03 19.339C1249.14 19.339 1252.48 16.013 1252.49 11.925C1252.49 7.828 1249.16 4.507 1245.04 4.506C1240.93 4.506 1237.59 7.831 1237.59 11.919C1237.59 13.588 1238.08 14.837 1238.9 16.145L1238.15 18.881L1240.97 18.145ZM1249.55 14.047C1249.5 13.954 1249.35 13.898 1249.12 13.787C1248.9 13.675 1247.8 13.135 1247.59 13.061C1247.39 12.987 1247.24 12.95 1247.09 13.173C1246.94 13.396 1246.51 13.898 1246.38 14.047C1246.25 14.195 1246.12 14.214 1245.89 14.102C1245.67 13.991 1244.95 13.756 1244.09 12.996C1243.43 12.405 1242.98 11.676 1242.85 11.452C1242.72 11.229 1242.83 11.108 1242.94 10.997C1243.05 10.897 1243.17 10.737 1243.28 10.607C1243.39 10.477 1243.43 10.384 1243.51 10.235C1243.54 10.1735 1243.55 10.1056 1243.55 10.0375C1243.55 9.96937 1243.53 9.90322 1243.49 9.845C1243.43 9.733 1242.98 8.636 1242.8 8.19C1242.62 7.756 1242.43 7.814 1242.29 7.808L1241.86 7.8C1241.75 7.80295 1241.64 7.82918 1241.54 7.877C1241.44 7.92188 1241.34 7.99113 1241.27 8.079C1241.06 8.302 1240.48 8.841 1240.48 9.939C1240.48 11.036 1241.29 12.095 1241.4 12.244C1241.51 12.392 1242.98 14.644 1245.22 15.609C1245.76 15.839 1246.18 15.976 1246.5 16.079C1246.96 16.217 1247.44 16.247 1247.91 16.167C1248.34 16.103 1249.24 15.627 1249.42 15.107C1249.61 14.586 1249.61 14.14 1249.55 14.047Z%22 fill%3D%22black%22/>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M1321.94 5L1309.92 17.018L1305.71 12.805L1305 13.512L1309.21 17.725L1309.92 18.433L1310.63 17.726L1322.65 5.707L1321.94 5ZM1335 18H1351V19H1335V18ZM1343.13 14.988L1342.81 14.688L1340 12.051L1340.6 11.404L1342.67 13.35V5H1343.54L1343.56 13.35L1345.36 11.38L1345.97 11.956L1343.42 14.673L1343.13 14.988ZM1363 12V16H1367V17H1362V11H1367V12H1363ZM1370 12V16H1374V17H1369V11H1374V12H1370ZM1358 6H1378V22H1358V6ZM1359 7V21H1377V7H1359Z%22 fill%3D%22black%22/>%0A<path fill-rule%3D%22evenodd%22 clip-rule%3D%22evenodd%22 d%3D%22M1384 6H1404V22H1384V6ZM1389 12H1393V11H1388V17H1393V16H1389V12ZM1396 12H1400V11H1395V17H1400V16H1396V12Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1494.77 21.3369L1490.5 9.75488H1492.54L1495.73 19.2766H1495.78L1498.99 9.75488H1501L1496.75 21.3369H1494.77Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1487.82 21.337V9.75498H1489.76V21.337H1487.82ZM1488.79 7.79496C1488.46 7.79496 1488.17 7.67616 1487.93 7.43859C1487.7 7.201 1487.58 6.91517 1487.58 6.58107C1487.58 6.23955 1487.7 5.95371 1487.93 5.72356C1488.17 5.48598 1488.46 5.36719 1488.79 5.36719C1489.13 5.36719 1489.42 5.48598 1489.65 5.72356C1489.89 5.95371 1490.01 6.23955 1490.01 6.58107C1490.01 6.91517 1489.89 7.201 1489.65 7.43859C1489.42 7.67616 1489.13 7.79496 1488.79 7.79496Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1477.7 21.3371V5.26709H1479.64V21.3371H1477.7ZM1485.02 21.3371L1480.61 15.8023L1481.9 14.5104L1487.27 21.3371H1485.02ZM1479.21 17.3837V14.8668H1479.69L1484.76 9.75512H1487.11L1481.62 15.2232H1481.47L1479.21 17.3837Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1470.47 21.6046C1469.32 21.6046 1468.29 21.4264 1467.41 21.07C1466.53 20.7063 1465.84 20.1902 1465.32 19.5221C1464.8 18.8539 1464.52 18.0632 1464.45 17.15L1464.44 16.9941H1466.44L1466.46 17.15C1466.55 17.6845 1466.76 18.1485 1467.12 18.542C1467.48 18.9281 1467.95 19.2288 1468.54 19.4441C1469.13 19.652 1469.81 19.756 1470.58 19.756C1471.36 19.756 1472.03 19.6483 1472.59 19.433C1473.15 19.2102 1473.59 18.8947 1473.89 18.4864C1474.2 18.078 1474.36 17.5991 1474.36 17.0498V17.0386C1474.36 16.3333 1474.12 15.769 1473.63 15.3459C1473.14 14.9227 1472.34 14.5886 1471.23 14.3436L1469.45 13.9538C1467.88 13.6048 1466.72 13.0703 1465.96 12.3501C1465.21 11.6225 1464.84 10.6722 1464.84 9.49917V9.48803C1464.85 8.60453 1465.09 7.82868 1465.57 7.16049C1466.06 6.48487 1466.72 5.95774 1467.57 5.5791C1468.42 5.19303 1469.4 5 1470.5 5C1471.54 5 1472.48 5.18932 1473.3 5.56796C1474.13 5.93918 1474.78 6.45888 1475.27 7.12709C1475.77 7.79527 1476.05 8.5674 1476.11 9.44348L1476.12 9.61053H1474.12L1474.09 9.45462C1474.01 8.90522 1473.81 8.43748 1473.49 8.05142C1473.17 7.66535 1472.75 7.36838 1472.23 7.16049C1471.72 6.95261 1471.12 6.84866 1470.44 6.84866C1469.73 6.84866 1469.1 6.95632 1468.57 7.17162C1468.03 7.38694 1467.62 7.68762 1467.32 8.07369C1467.03 8.45975 1466.89 8.91264 1466.89 9.43235V9.44348C1466.89 10.0968 1467.14 10.6351 1467.63 11.0583C1468.13 11.4815 1468.9 11.8081 1469.95 12.0383L1471.73 12.4281C1472.83 12.6657 1473.72 12.9812 1474.4 13.3747C1475.1 13.7682 1475.6 14.2582 1475.92 14.8447C1476.25 15.4238 1476.41 16.1217 1476.41 16.9384V16.9495C1476.41 17.8998 1476.17 18.7239 1475.69 19.4218C1475.21 20.1197 1474.53 20.658 1473.64 21.0366C1472.75 21.4153 1471.7 21.6046 1470.47 21.6046Z%22 fill%3D%22black%22/>%0A<path d%3D%22M1454.24 5.37158L1458.9 13.4303L1454.24 21.489H1444.65L1440 13.4303L1444.65 5.37158H1454.24Z%22 stroke%3D%22black%22 stroke-width%3D%221.82461%22/>%0A<path d%3D%22M1444.49 21.3372V5.52393L1458.94 13.4306L1444.49 21.3372Z%22 stroke%3D%22black%22 stroke-width%3D%221.82461%22 stroke-linejoin%3D%22bevel%22/>%0A</g>%0A<defs>%0A<clipPath id%3D%22clip0_1559_519%22>%0A<rect width%3D%221501%22 height%3D%2227%22 fill%3D%22white%22/>%0A</clipPath>%0A</defs>%0A</svg>%0A")}[class^=icon-m-player-],[class*=icon-m-player-]{display:inline-block;position:relative;background-repeat:no-repeat;vertical-align:middle}
1.searchbar-player-container::after{content:"";position:absolute;top:9px;left:10px;background-repeat:no-repeat;width:26px;height:26px;background-position:-656px -3px;z-index:2;filter:invert(1)}.video-container :focus-visible{outline:solid #fff 4px!important}.video-container .no-outline{outline:0!important}i{width:26px;height:26px;font-style:normal}[class^=icon-].small,[class*=" icon-"].small{transform:scale(.8)}.icon-m-player-airplay{background-position:-32px -1px}.icon-m-player-airplay-on{background-position:2px -1px}.icon-m-player-chromecast{background-position:-100px -1px}.icon-m-player-chromecast-on{background-position:-66px -1px}.icon-m-player-expand{background-position:-134px -1px}.icon-m-player-shrink{background-position:-338px -1px}.icon-m-player-fullscreen{background-position:-203px -1px}.icon-m-player-fullscreen-close{background-position:-169px -1px}.icon-m-player-mute{background-position:-238px -1px}.icon-m-player-play{background-position:-305px -2px}.video-container:not(.paused) .player-play i{background-position:-270px -2px}.icon-m-player-pause{background-position:-270px -2px}.icon-m-player-volume0{background-position:-382px -1px}.icon-m-player-volume1{background-position:-416px -1px}.icon-m-player-volume2{background-position:-450px -1px}.icon-m-player-volume3{background-position:-484px -1px}.icon-m-player-settings{width:24px;background-position:-516px -1px}.icon-m-player-logo-full{width:62px;background-position:-1439px -1px}.icon-m-player-search{background-position:-656px -3px}.icon-m-player-close{background-position:-685px -1px}.icon-m-player-center{background-position:-717px -1px}.icon-m-player-fast-back{background-position:-752px -1px}.icon-m-player-fast-forward{background-position:-786px -1px}.icon-m-player-caret-left{background-position:-854px -1px}.icon-m-player-caret-right{background-position:-819px -1px}.icon-m-player-caret-up{background-position:-888px 0}.icon-m-player-warning{background-position:-918px 0}.icon-m-player-lock{background-position:-948px 0}.icon-m-player-key{background-position:-976px 1px}.icon-m-player-share{background-position:-1067px 1px}.icon-m-player-copy{background-position:-1098px 0}.icon-m-player-facebook{background-position:-1130px 0}.icon-m-player-reddit{background-position:-1165px 0}.icon-m-player-twitter{background-position:-1198px 1px}.icon-m-player-whatsapp{background-position:-1232px 1px}.icon-m-player-more{background-position:-1267px 1px}.icon-m-player-check{background-position:-1300px 1px}.icon-m-player-download{background-position:-1330px 1px}.icon-m-player-subtitles{background-position:-1355px -1px}.icon-m-player-subtitles-on{background-position:-1381px -1px}.icon-m-player-chapters{background-position:-1408px -1px}a:focus,button:focus{outline:0}button{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}button:first-of-type,a:first-of-type{margin-left:0}.m-btn-ghost{display:flex;align-items:center;justify-content:center;height:32px;width:32px;transition:.5s;cursor:pointer;background:0 0;border:0;padding:0}.m-btn-ghost i{filter:invert(1)}.video-container *{font-size:15px;font-family:-apple-system,BlinkMacSystemFont,"Arial",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}video::-webkit-media-controls{display:none!important}.video-container{display:block;position:relative;min-width:240px;min-height:120px;font-weight:300;user-select:none;overflow:hidden;z-index:0;-webkit-user-select:none}.video-container video{width:100%;height:100%}.video-container.casting video{visibility:hidden;opacity:0}.video-container button{border:0;padding:0;cursor:pointer;background-color:transparent}.casting .video-poster{visibility:visible;opacity:1;transition:opacity .2s;filter:blur(10px) brightness(.5);pointer-events:none}.casting .casting-info{display:block;position:absolute;top:calc(50% - 30px);width:100%;line-height:60px;text-align:center;white-space:nowrap;pointer-events:none;z-index:1}.casting-info{display:none}.casting-info span{color:#fff;padding:20px;margin-left:10px;border-radius:1px}.casting-info i{margin-right:7px;margin-top:-1px;filter:invert(1)}.video-container.fail::after{content:"File not supported or damaged.";display:flex;justify-content:center;align-items:center;position:absolute;top:0;bottom:0;width:100%;padding-top:23%;background-image:url("data:image/svg+xml,<svg height%3D%22972%22 width%3D%221722%22 xmlns%3D%22http%3A//www.w3.org/2000/svg%22><g fill%3D%22none%22 fill-rule%3D%22evenodd%22><path d%3D%22M0 0h1722v972H0z%22 fill%3D%22%23fff%22/><g stroke-width%3D%226%22><path d%3D%22m1013 430.331-242 121v-242z%22 stroke%3D%22%23000%22/><path d%3D%22m693.14 278.757-8.485 8.486 302.433 302.433 8.486-8.485z%22 fill%3D%22%23000%22 fill-rule%3D%22nonzero%22 stroke%3D%22%23fff%22/></g></g></svg>");background-size:cover;background-repeat:no-repeat;font-size:18px;color:#000;z-index:2}.dark-mode .video-container.fail::after{filter:invert(1)}.player-overlay{display:flex;visibility:hidden;opacity:0;justify-content:center;align-items:center;flex-direction:column;position:absolute;top:0;bottom:0;left:0;right:0;padding:20px;line-height:23px;z-index:3;pointer-events:none;transition:opacity .1s ease}.overlay-share,.overlay-cta{background-color:rgba(0,0,0,.5);backdrop-filter:blur(100px) saturate(150%);-webkit-backdrop-filter:blur(100px) saturate(150%)}.overlay-cta .cta-form input{width:100%;margin-top:12px;padding:8px 14px;border:solid #fff 1px}.overlay-cta .cta-form input:focus-visible{outline:0!important}.overlay-cta .cta-form input::selection{color:#fff;-webkit-text-fill-color:#fff;background:#000}.player-small .overlay-cta .cta-form,.player-tiny .overlay-cta .cta-form{display:flex;flex-wrap:wrap;justify-content:space-between}.player-small .overlay-cta .cta-form input{width:calc(50% - 5px);margin-top:10px;font-size:12px}.player-tiny .overlay-cta .cta-form input{width:calc(50% - 2.5px);margin-top:5px;padding:5px 10px;font-size:12px}.video-container .overlay-cta .cta-btn{margin-top:12px}.player-small .overlay-cta .cta-btn{margin-top:10px;line-height:37px;font-size:12px}.player-tiny .overlay-cta .cta-btn{margin-top:5px;line-height:37px;font-size:12px}.player-small .cta-title,.player-tiny .cta-title{margin:0!important;font-size:16px}.player-small .cta-text,.player-tiny .cta-text{font-size:12px}.player-small .overlay-cta input,.player-tiny .overlay-cta input{width:100%}.overlay-cta .cta-form.submitted input:invalid{border:solid red 1px}.transcoding .overlay-transcoding,.warning .overlay-warning,.unavailable .overlay-unavailable,.password .overlay-password,.show-share .overlay-share,.show-cta .overlay-cta,.show-share .player-title{visibility:visible;opacity:1;pointer-events:all}.overlay-password,.overlay-unavailable{background:#000}.video-container.password,.video-container.unavailable{width:100%}.video-container.transcoding video,.video-container.warning video,.video-container.unavailable video,.video-container.password video{visibility:hidden;opacity:0}
1.transcoding .video-poster,.warning .video-poster,.unavailable .video-poster,.password .video-poster{visibility:visible;opacity:1;transition:opacity .2s;filter:blur(20px) brightness(.5);pointer-events:none}.video-view.video-unavailable:not(.video-invalid) .overlay-transcoding{display:none}.transcoding .player-title,.transcoding .player-cover,.transcoding .player-controls-desktop,.transcoding .searchbar-player-container,.transcoding .player-cover-search,.warning .player-title,.warning .player-cover,.warning .player-controls-desktop,.warning .searchbar-player-container,.warning .player-controls-mobile,.warning .player-cover-search,.warning .player-chapter-title,.unavailable .player-cover,.unavailable .player-cover-search,.unavailable .player-controls-desktop,.unavailable .searchbar-player-container,.unavailable .player-controls-mobile,.unavailable .player-title,.unavailable .player-chapter-title,.password .player-cover,.password .player-cover-search,.password .player-controls-desktop,.password .searchbar-player-container,.password .player-controls-mobile,.password .player-title,.password .player-chapter-title,.show-cta .player-controls-desktop,.show-cta .searchbar-player-container,.show-cta .player-controls-mobile,.show-cta .player-title,.show-cta .player-chapter-title,.show-share .player-scrim-top,.show-share .player-scrim-bottom,.show-share .player-controls-mobile,.show-share .player-chapter-title{display:none!important}.content-overlay{max-width:380px}.overlay-password .m-input{display:block;width:100%;height:45px;padding:10px 12px;margin:10px 0;font-size:15px;font-weight:300;color:#fff!important;background:var(--black-10);border:1px solid var(--black-10);border-radius:10px;box-shadow:none;transition:border .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none}.overlay-password .m-btn-overlay{margin:0}.psw-error{display:block;color:var(--hal-red)!important;font-size:15px}.header-player-overlay{visibility:visible!important;opacity:1!important;font-size:18px;font-weight:400;color:#fff;margin:0 0 5px 0!important}.player-overlay p{color:#fff;margin:0;opacity:.7}.player-overlay i{margin:-1px 7px 0-3px;filter:invert(1)}.video-container .m-btn-overlay{display:inline-block;background-color:#fff;color:#000;margin-top:15px;padding:0 18px;border:0;border-radius:10px;line-height:46px;width:100%;text-align:center;cursor:pointer;user-select:none;transition:opacity .2s ease}.video-container .m-btn-overlay i{filter:invert(0)!important}.video-container .m-btn-overlay.second{background-color:rgba(138,138,138,.65);color:#fff}.player-tiny .m-btn-overlay,.player-small .m-btn-overlay,.player-minimal .m-btn-overlay{width:100%}@media (hover:hover){.video-container .m-btn-overlay:hover{opacity:.8;color:#000}.video-container .m-btn-overlay.second:hover{color:#fff}}[class^=close-overlay-]{position:absolute;top:18px;right:14px;cursor:pointer;color:#fff;transition:opacity .2s ease}.overlay-share .player-link-box{display:flex;align-items:center;position:absolute;width:70%;max-width:420px;border-radius:10px;border:1px solid var(--black-10);color:#fff;background-color:#ffffff26;position:relative;padding:0 15px 0 20px;height:55px}.player-small .player-link-box,.player-tiny .player-link-box{width:90%}.player-small .link-box-textarea,.player-tiny .link-box-textarea{max-width:calc(100% - 95px)}.url-share{user-select:all}.btn-share-copy,.player-link-box button{position:absolute;right:4px;top:4px;bottom:4px;background-color:var(--black-10);color:#fff;border:0;border-radius:6px;width:99px;margin:0;padding:0;line-height:45px;cursor:pointer;transition:opacity .2s ease}.btn-share-copy i{margin-right:7px;filter:invert(1)!important}.row-share{display:flex;justify-content:space-between;margin-bottom:15px;width:234px}.row-share i,[class^=close-overlay-] i{filter:invert(1);margin:0}@media (hover:hover){[class^=close-overlay-]:hover{opacity:.7}.btn-share-copy:hover{opacity:.7}}.video-container [class*=player-control-]{font-size:14px!important}.video-container.cover .player-title{visibility:visible;opacity:1;transition:opacity .2s}
1.video-container.hide-controls .player-controls-desktop,.video-container.hide-controls .player-controls-mobile,.video-container.hide-controls .progress-bar-container,.video-container.hide-controls .searchbar-player-container{display:none}.video-container.hide-controls [class*=player-control-]{display:none!important}.video-content{position:relative;margin:0 auto;line-height:0;overflow:hidden}video:focus{outline:0}.video-poster{position:absolute;display:none;opacity:0;top:0;left:0;width:100%;height:100%;z-index:1;transition:0s;object-fit:cover}.video-poster.show{display:block;opacity:1}.audio-only .video-poster{display:block;opacity:1;pointer-events:none;z-index:0}.player-controls-desktop{display:flex;position:absolute;visibility:hidden;opacity:0;height:96px;bottom:0;left:0;right:0;padding:30px 25px 0 25px;z-index:2;color:#fff;pointer-events:none;transition:opacity .2s}.player-controls-desktop>*{pointer-events:auto}.player-control-close{visibility:hidden;position:absolute;opacity:0;top:20px;left:20px;z-index:2;transition:opacity .2s}.player-small .player-control-close{top:15px;left:14px}.player-tiny .player-control-close{top:10px;left:10px}.player-controls-desktop i,.player-controls-mobile i{filter:invert(1)}.player-control.hide{display:none!important}.time-container{font-variant-numeric:tabular-nums;margin:-1px 12px 0 0}.video-container.fullscreen{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important}.video-container:-webkit-full-screen{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important}.video-container.hide-cursor.fullscreen{cursor:none}.video-container.hide-cursor:-webkit-full-screen{cursor:none}.video-container.fullscreen video{width:100%!important;height:100%!important;max-height:none}.video-container:-webkit-full-screen video{width:100%!important;height:100%!important;max-height:none;background-color:#000}.video-container.fullscreen .video-content{height:100%!important;width:100%!important}.video-container:-webkit-full-screen .video-content{height:100%!important;width:100%!important}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-controls-desktop{height:106px}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-scrim-bottom{height:236px}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-controls-left,.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-controls-right{bottom:22px}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-controls-left{left:19px}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-controls-left a,.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-controls-right a,.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-control-back{transform:scale(1.2);margin-right:15px;transform-origin:left}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-controls-right a{transform-origin:right}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-controls-right .player-logo-custom{margin-left:20px}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-controls-desktop span{font-size:20px}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .m-slider.volume{transform:scale(1.2);transform-origin:left}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .searchbar-player-container{transform:scale(1.2);transform-origin:right}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-controls-desktop .time-container{margin-right:18px}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .settings-panel,.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .download-panel{bottom:110px;transform:scale(1.2) translateY(30px);transform-origin:bottom right}.fullscreen.show-settings:not(.player-small):not(.player-tiny):not(.player-minimal) .settings-panel,.fullscreen.show-settings:not(.player-small):not(.player-tiny):not(.player-minimal) .download-panel{transform:scale(1.2) translateY(0)}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .video-seekbar-thumbnail{bottom:110px}.fullscreen:not(.player-small):not(.player-tiny):not(.player-minimal) .player-logo{margin-left:35px!important}.video-container.fullscreen .player-control-expand,.video-container.fullscreen .player-control-close,.video-container.fullscreen .player-control-center,.video-container.fullscreen .curation-boxes{display:none!important}.video-container.fullscreen .player-chapter-title{bottom:115px;font-size:var(--size-normal)}
1.video-container:-webkit-full-screen .player-controls-desktop{visibility:hidden;opacity:0;transition:opacity 1s cubic-bezier(.165,.84,.44,1),visibility 1s cubic-bezier(.165,.84,.44,1)}.video-container.fullscreen .player-controls-desktop{visibility:hidden;opacity:0;transition:opacity 1s cubic-bezier(.165,.84,.44,1),visibility 1s cubic-bezier(.165,.84,.44,1)}.video-container.fullscreen-controls:-webkit-full-screen .player-controls-desktop{visibility:visible!important;opacity:1!important;transition:opacity .2s cubic-bezier(.165,.84,.44,1),visibility .2s cubic-bezier(.165,.84,.44,1)}.video-container.fullscreen.fullscreen-controls .player-controls-desktop{visibility:visible!important;opacity:1!important;transition:opacity .2s cubic-bezier(.165,.84,.44,1),visibility .2s cubic-bezier(.165,.84,.44,1)}.video-container.fullscreen.fullscreen-controls .player-chapter-title{visibility:visible;opacity:1}.player-controls-desktop button{margin-right:10px}.player-controls-right button{margin:0 0 0 10px}.fullscreen .player-controls-desktop button{transform:scale(1.2);margin-right:16px}.fullscreen .player-controls-right button{margin:0 0 0 16px}.player-controls-desktop{font-size:28px;cursor:pointer}.player-controls-desktop i{margin-right:0}.player-controls-desktop span,.player-controls-desktop a{color:#fff}.player-controls-left{display:flex;justify-content:space-between;align-items:center;position:absolute;left:21px;bottom:17px;height:30px}.player-controls-right{display:flex;justify-content:space-around;align-items:center;position:absolute;bottom:17px;right:25px;height:30px}.cast-button{display:none!important}.player-control-chromecast{display:none}.player-control-chromecast.on{display:block}.chromecast-on{display:none}.casting .chromecast-on{display:block}.casting .chromecast-off{display:none}@-moz-document url-prefix(){.player-control-airplay{display:none!important}}.cinema-on{display:none}.cinema .cinema-on{display:block}.cinema .cinema-off{display:none}.video-container.mobile-overlay .player-play-mobile,.video-container.mobile-overlay .player-overlay-logo{pointer-events:auto;cursor:pointer}.player-play-mobile{display:block;pointer-events:none}.player-play-mobile i{margin:0 0 0 1px}.player-volume{margin-left:15px}.player-tiny .player-down i,.player-small .player-down i{margin-right:0}.player-volume i{margin:0}.progress-bar-container{display:flex;align-items:center;position:absolute;top:21px;right:25px;left:25px;height:18px;cursor:pointer;background:0 0}.progress-bar-container.mobile{display:block;visibility:hidden;opacity:0;pointer-events:none}.video-search-result{position:absolute;height:13px;background:#fff;width:2px!important;transition:.2s;transform-origin:center;z-index:2}.video-search-result:hover{transform:scalex(3.5) scaley(1.4)!important}.video-container .progress-bar{display:inline-flex;align-items:center;position:relative;background:0 0;height:12px;transition:transform .15s;transform-origin:center}.video-seekbar-thumbnail{position:absolute;bottom:89px;height:100px;max-width:180px;box-shadow:0 0 14px 0 rgba(0,0,0,.3);outline:1px solid #fff3;z-index:20;font-size:0;background:#000;border-radius:7px}.container-thumbnail{border-radius:7px;overflow:hidden}.video-seekbar-thumbnail canvas{max-width:180px;border-radius:7px}.chapters-on .video-seekbar-thumbnail{bottom:115px}.video-seekbar-thumbnail-timestamp{position:absolute;line-height:24px;left:50%;transform:translateX(-50%);padding:0 6px;bottom:10px;color:#fff;background:rgba(0,0,0,.3);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-radius:4px;font-variant-numeric:tabular-nums}.video-seekbar-chapter-title{display:none;position:absolute;left:-1px;right:-1px;bottom:-30px;background-color:rgba(0,0,0,.3);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;font-size:13px;text-align:center;height:26px;line-height:23px;border-radius:7px;box-shadow:0 0 14px 0 rgba(0,0,0,.3);border:1px solid #fff3}.chapters-on .video-seekbar-chapter-title{display:block;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-chapter-title{display:none;visibility:hidden;position:absolute;bottom:90px;left:24px;color:#fff;opacity:0;transition:opacity .2s ease;z-index:1;overflow:hidden;line-height:normal;white-space:nowrap;text-overflow:ellipsis;max-width:calc(100% - 40px)}.chapters-on .player-chapter-title{display:block}.time-chapter{position:absolute;background:#ffffff35;right:3px;left:0;height:2px;transition:transform .15s}.progress-bar:last-child .time-chapter{right:0}.time-bar,.buffer-bar,.seek-bar{position:absolute;top:0;bottom:0;left:0;width:0;background:#fff}.buffer-bar{opacity:.3}
1.progress-bar-container:hover .seek-bar{display:block}.seek-bar{opacity:.6;display:none}.player-controls-mobile{display:none;opacity:0;user-select:none;-webkit-user-select:none}.show-download .player-down{display:block}.player-controls-mobile i::after{content:"";position:absolute;left:-5px;right:-5px;top:-5px;bottom:-5px}.settings-panel,.download-panel{display:flex;position:absolute;flex-direction:column;align-items:flex-end;bottom:80px;right:25px;width:186px;padding:0;border:1px solid rgba(255,255,255,.1);border-radius:10px;max-height:calc(100% - 150px);background-color:rgba(0,0,0,.85);pointer-events:none;transform:translateY(30px);opacity:0;visibility:hidden;transition:transform .2s ease,opacity .2s ease;z-index:2;overflow:hidden}@supports ((-webkit-backdrop-filter:blur(2em)) or (backdrop-filter:blur(2em))){.settings-panel,.download-panel{background-color:rgba(0,0,0,.3);backdrop-filter:blur(100px) saturate(120%);-webkit-backdrop-filter:blur(100px) saturate(120%)}}.settings-panel .container,.download-panel .container{width:100%;height:35px;min-height:35px;overflow:hidden;transition:transform .4s,opacity .3s}.settings-panel .container.open{height:auto;display:flex;flex-direction:column}.settings-panel .settings-control.hide{display:none!important}.show-settings .progress-bar-container,.show-download-panel .progress-bar-container{pointer-events:none}.show-settings .settings-panel,.show-download-panel .download-panel,.player-full.paused.show-description .player-description,.player-full.show-description:hover .player-description,.player-small.mobile-overlay.show-description .player-description{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}.player-control-settings{transition:transform .2s ease}.show-settings .player-control-settings{transform:rotate(60deg)}.settings-panel .slider{position:absolute;transform:translateX(100%);opacity:0}.settings-panel .slider.open{position:static;max-height:auto;transform:translateX(0);opacity:1}.settings-panel .slider .back i{filter:invert(1);transform:rotate(90deg);background-position:-37px -423px}.settings-panel .slide-out{transform:translateX(-100%);position:absolute;opacity:0}.settings-panel .slide-out:not(.open){visibility:hidden}.download-panel i{filter:invert(1);background-position:-1326px 1px}.scroll-container::-webkit-scrollbar{width:4px!important;background:0 0!important;padding-left:2px}.scroll-container::-webkit-scrollbar-track{background:0 0!important}.scroll-container::-webkit-scrollbar-thumb{background:#ffffff2c!important;border-radius:1px!important;border:0!important;margin-left:2px!important}.video-container.show-settings .player-controls-desktop,.video-container.show-download-panel .player-controls-desktop{visibility:visible;opacity:1;transition:opacity .2s}.video-container.show-settings .player-scrim-bottom,.video-container.show-download-panel .player-scrim-bottom{visibility:visible;opacity:1}.scroll-container{display:none;max-height:100%;overflow-y:hidden;overflow-x:hidden;scrollbar-color:#ffffff2c transparent;scrollbar-width:thin}.open .scroll-container{display:block;overflow-y:auto}.download-panel .settings-panel-header,.settings-panel .settings-panel-header{position:unset;height:35px;min-height:35px;display:flex;justify-content:space-between;align-items:center;line-height:35px;width:100%;text-align:right;color:#fff;border-top:1px solid rgba(255,255,255,.1);padding:0 10px;cursor:pointer;transition:background .2s ease;outline-offset:-4px}.download-panel .settings-panel-header span,.settings-panel .settings-panel-header span{font-size:13px;color:#fff}.open .settings-panel-header{border-bottom:1px solid rgba(255,255,255,.1)}.header-subtitles,.header-translate{border-top:none!important}@media (hover:hover){.settings-panel-header:hover{background:rgba(255,255,255,.1);transition:background .5s ease}}.subtitles-current,.quality-current,.speed-current{font-size:13px;opacity:.6}.quality,.speed,.subtitles-list,.translate-list{position:relative;width:100%;overflow:hidden;padding:5px 0}
1.speed{display:flex;justify-content:space-between;padding:7px 12px}.settings-panel .option{display:flex;justify-content:space-between;align-items:center;flex-direction:row-reverse;position:relative;font-size:13px;height:30px;line-height:30px;text-transform:capitalize;text-align:right;color:#fff;opacity:.6;transition:.2s cubic-bezier(.165,.84,.44,1);padding:0 12px;width:100%;outline-offset:-4px}.settings-panel .current{visibility:visible;color:#fff;opacity:1}.settings-panel .option::before{content:"";position:absolute;visibility:hidden;left:5px;width:calc(100% - 10px);height:100%;color:var(--white-60);background-color:rgba(255,255,255,.12);padding:0;right:0;opacity:0;transition:opacity .5s ease;border-radius:5px}.settings-panel .speed .option::before{left:-5px;width:calc(100% + 11px);height:22px;border-radius:5px}.settings-panel .option:hover::before{opacity:.4}.settings-panel .current::before{visibility:visible;opacity:1}.settings-panel .subtitles-list .option{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.speed .option{margin:0;width:auto;padding:0;outline-offset:0}.settings-panel .option.generating,.settings-panel .option.generating:hover{opacity:.2;cursor:auto;height:30px}.spinner.transcoding{display:none}.settings-panel .option.generating .spinner.transcoding{display:flex;position:absolute;left:7px}.settings-panel .option:hover{visibility:visible;opacity:1}.settings-panel .option:last-of-type{margin-bottom:0}.player-small.show-settings .player-controls-mobile,.player-tiny.show-settings .player-controls-mobile,.player-small.show-settings.paused .player-controls-mobile,.player-tiny.show-settings.paused .player-controls-mobile,.player-small.show-settings.mobile-overlay .searchbar-player-container,.player-tiny.show-settings.mobile-overlay .searchbar-player-container,.player-small.show-settings.mobile-overlay .player-chapter-title,.player-tiny.show-settings.mobile-overlay .player-chapter-title{visibility:hidden;opacity:0!important}.player-small .settings-panel,.player-tiny .settings-panel,.player-small .download-panel,.player-tiny .download-panel{min-height:52px}.player-small .settings-panel .container,.player-tiny .settings-panel .container{height:unset;min-height:unset;border-bottom:none}.player-small .settings-panel-header,.player-tiny .settings-panel-header{font-size:15px;height:41px;line-height:50px;position:absolute;bottom:0;width:calc(33% - 5px);justify-content:center;border:1px solid rgba(255,255,255,.1)!important;z-index:1;padding:unset;margin:5px;border-radius:5px}.player-small .open .settings-panel-header,.player-tiny .open .settings-panel-header{background-color:rgba(255,255,255,.12)}.player-small .scroll-container,.player-tiny .scroll-container{display:none;margin-bottom:50px}.player-small .open .scroll-container,.player-tiny .open .scroll-container{display:block}.player-small .header-subtitles,.player-tiny .header-subtitles{left:1px;width:calc(33% - 6px)}.settings-panel-header.header-translate{width:calc(100% - 10px)}.player-small .header-quality,.player-tiny .header-quality{left:33%}.player-small .header-speed,.player-tiny .header-speed{right:0}.player-small .subtitles-current,.player-small .quality-current,.player-small .speed-current,.player-tiny .subtitles-current,.player-tiny .quality-current,.player-tiny .speed-current{display:none}.subtitles{display:none;justify-content:center;position:absolute;bottom:30px;width:100%;padding:0 25px;text-align:center;color:#fff;transition:transform .2s}.show-subtitles .subtitles{display:flex}.player-control-subtitles .icon-m-player-subtitles-on{display:none}.show-subtitles .player-control-subtitles .icon-m-player-subtitles-on{display:inline-block}.show-subtitles .player-control-subtitles .icon-m-player-subtitles{display:none}.subtitles span{font-size:20px;font-weight:400;line-height:28px;word-break:break-word;padding:4px 10px;background-color:#00000080;border-radius:5px}.subtitles span:empty{background-color:transparent;padding:0}.player-full.paused .subtitles,.player-full.video-container:hover .subtitles,.player-full.show-settings .subtitles{transform:translatey(-60px)}.fullscreen.fullscreen-controls .subtitles,.fullscreen.paused .subtitles,.fullscreen.show-settings .subtitles{transform:translatey(-80px)!important}.fullscreen .subtitles{transform:translatey(0)!important}.player-small .subtitles,.player-tiny .subtitles{bottom:20px;font-weight:450;line-height:26px;padding:0 20px}.player-small .subtitles span{font-size:15px}.player-minimal .subtitles span{font-size:18px}.player-tiny .subtitles{line-height:20px;padding:0 15px}.fullscreen .subtitles span{bottom:90px;font-size:30px;line-height:40px;padding:4px 20px}.player-small .speed,.player-tiny .speed{width:unset;padding:7px 20px}.rew-clickable,.fwd-clickable{position:absolute;top:0;bottom:0}.rew-clickable{left:0;right:50%}.fwd-clickable{left:50%;right:0}.rew-overlay,.fwd-overlay{display:flex;position:absolute;visibility:hidden;opacity:0;align-items:center;top:0;bottom:0;transition:visibility .2s,opacity .2s}.rew-overlay{right:50%;left:0;background:linear-gradient(to right,rgba(0,0,0,.85)0,rgba(0,0,0,.839) 8.1%,rgba(0,0,0,.809) 15.7%,rgba(0,0,0,.762) 22.8%,rgba(0,0,0,.701) 29.5%,rgba(0,0,0,.63) 35.9%,rgba(0,0,0,.551) 42.1%,rgba(0,0,0,.467) 48.1%,rgba(0,0,0,.383) 54.1%,rgba(0,0,0,.299) 60%,rgba(0,0,0,.22) 66.1%,rgba(0,0,0,.149) 72.3%,rgba(0,0,0,.088) 78.7%,rgba(0,0,0,.041) 85.4%,rgba(0,0,0,.011) 92.5%,transparent 100%)}.fwd-overlay{left:50%;right:0;background:linear-gradient(to left,rgba(0,0,0,.85)0,rgba(0,0,0,.839) 8.1%,rgba(0,0,0,.809) 15.7%,rgba(0,0,0,.762) 22.8%,rgba(0,0,0,.701) 29.5%,rgba(0,0,0,.63) 35.9%,rgba(0,0,0,.551) 42.1%,rgba(0,0,0,.467) 48.1%,rgba(0,0,0,.383) 54.1%,rgba(0,0,0,.299) 60%,rgba(0,0,0,.22) 66.1%,rgba(0,0,0,.149) 72.3%,rgba(0,0,0,.088) 78.7%,rgba(0,0,0,.041) 85.4%,rgba(0,0,0,.011) 92.5%,transparent 100%)}.rew-overlay.feedback,.fwd-overlay.feedback{visibility:visible;opacity:1}.fwd-msg,.rew-msg{position:absolute;color:#fff;user-select:none;white-space:nowrap;-webkit-user-select:none}.rew-msg{left:80px;transition:left .8s cubic-bezier(.165,.84,.44,1)}.fwd-msg{right:80px;transition:right .8s cubic-bezier(.165,.84,.44,1)}.fwd-msg i,.rew-msg i{transform:scale(1.5);filter:invert(1);margin:0}.fwd-msg-text,.rew-msg-text{line-height:30px;font-size:29px;vertical-align:bottom}.fwd-msg-text{margin-right:20px}.rew-msg-text{margin-left:20px}.fwd-overlay.feedback .fwd-msg{right:60px;transition:right .2s cubic-bezier(.165,.84,.44,1)}.rew-overlay.feedback .rew-msg{left:60px;transition:left .2s cubic-bezier(.165,.84,.44,1)}.volume-indicator{display:block;visibility:hidden;position:absolute;top:100px;bottom:100px;right:25px;width:7px;background-color:rgba(179,179,179,.369);backdrop-filter:blur(50px);-webkit-backdrop-filter:blur(50px);transform:translateX(30px);opacity:0;transition:opacity .2s ease,transform .2s ease}.volume-indicator.on{visibility:visible;transform:translateX(0);opacity:1}.volume-indicator-level{position:absolute;width:100%;bottom:0;background-color:#fff;opacity:.5;transition:.3s cubic-bezier(.165,.84,.44,1)}.video-container .info-box{display:none;flex-direction:column;align-items:flex-start;position:absolute;max-width:100%;top:0;right:0;color:#fff;background:rgba(0,0,0,.8);padding:5px 25px 5px 12px;user-select:text;text-align:right;z-index:3}.video-container .info-box>.info-row{font-size:12px;line-height:20px;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.info-box>.info-row.fid::before{content:"ID: "}.info-box>.info-row.res::before{content:"Resolution (original): "}.info-box>.info-row.resc::before{content:"Resolution (current): "}.info-box>.info-row.bandwidth::before{content:"Bandwidth: "}.info-box>.info-row.cdn::before{content:"Server: "}.video-container .info-box .info-close::after{position:absolute;top:0;right:0;padding:9px 8px 10px 10px;content:"â";font-size:10px;line-height:10px;cursor:pointer}.player-overlay-logo,.player-cover-logo{background-image:url("data:image/svg+xml,<svg width%3D%22128%22 height%3D%2237%22 viewBox%3D%220 0 128 37%22 fill%3D%22none%22 xmlns%3D%22http%3A//www.w3.org/2000/svg%22>%0A<path d%3D%22M115.101 34.8053L106.305 10.9209H110.507L117.099 30.5566H117.19L123.805 10.9209H127.961L119.188 34.8053H115.101Z%22 fill%3D%22white%22/>%0A<path d%3D%22M100.81 34.805V10.9206H104.806V34.805H100.81ZM102.808 6.87861C102.119 6.87861 101.53 6.63364 101.04 6.1437C100.55 5.65377 100.305 5.06431 100.305 4.37534C100.305 3.67106 100.55 3.0816 101.04 2.60697C101.53 2.11704 102.119 1.87207 102.808 1.87207C103.512 1.87207 104.102 2.11704 104.576 2.60697C105.066 3.0816 105.311 3.67106 105.311 4.37534C105.311 5.06431 105.066 5.65377 104.576 6.1437C104.102 6.63364 103.512 6.87861 102.808 6.87861Z%22 fill%3D%22white%22/>%0A<path d%3D%22M79.9375 34.8051V1.66553H83.9335V34.8051H79.9375ZM95.026 34.8051L85.9316 23.3911L88.5956 20.7271L99.6651 34.8051H95.026ZM83.0379 26.6523V21.462H84.0254L94.4978 10.9207H99.3436L88.0215 22.1969H87.6999L83.0379 26.6523Z%22 fill%3D%22white%22/>%0A<path d%3D%22M65.0256 35.3562C62.6371 35.3562 60.5319 34.9888 58.71 34.2539C56.9033 33.5036 55.4642 32.4396 54.3924 31.0616C53.336 29.6837 52.7389 28.0531 52.6011 26.1699L52.5781 25.8484H56.712L56.7579 26.1699C56.9263 27.2723 57.378 28.2292 58.1129 29.0406C58.8478 29.8368 59.82 30.4569 61.0295 30.9009C62.2544 31.3296 63.6629 31.5439 65.2552 31.5439C66.8475 3
11.5439 68.2255 31.3219 69.3891 30.8779C70.5527 30.4186 71.4483 29.7679 72.0761 28.9258C72.7191 28.0837 73.0406 27.0962 73.0406 25.9632V25.9403C73.0406 24.4858 72.5354 23.3222 71.5249 22.4495C70.5144 21.5768 68.8685 20.8878 66.5872 20.3825L62.9127 19.5787C59.6822 18.8591 57.2861 17.7568 55.7244 16.2717C54.1781 14.7712 53.4049 12.8115 53.4049 10.3924V10.3695C53.4202 8.54751 53.9255 6.94756 54.9206 5.56962C55.9158 4.17636 57.2861 3.08931 59.0315 2.30848C60.7922 1.51233 62.8055 1.11426 65.0715 1.11426C67.2303 1.11426 69.1594 1.50468 70.8589 2.28551C72.5583 3.05104 73.9133 4.12277 74.9238 5.50072C75.9496 6.87867 76.5238 8.47096 76.6463 10.2776L76.6692 10.6221H72.5354L72.4894 10.3006C72.321 9.16759 71.9076 8.20303 71.2493 7.40688C70.5909 6.61073 69.7259 5.99831 68.6542 5.56962C67.5977 5.14092 66.3652 4.92658 64.9567 4.92658C63.4869 4.92658 62.2008 5.14858 61.0984 5.59258C59.9961 6.03659 59.1387 6.65666 58.5263 7.45281C57.9291 8.24896 57.6306 9.1829 57.6306 10.2546V10.2776C57.6306 11.6249 58.1435 12.7349 59.1693 13.6076C60.1951 14.4803 61.7874 15.154 63.9462 15.6286L67.6207 16.4324C69.8867 16.9224 71.7239 17.5731 73.1325 18.3845C74.5564 19.196 75.5975 20.2065 76.2558 21.416C76.9295 22.6102 77.2663 24.0494 77.2663 25.7336V25.7565C77.2663 27.7163 76.7687 29.4157 75.7736 30.8549C74.7937 32.2941 73.3851 33.4041 71.5479 34.185C69.7259 34.9658 67.5518 35.3562 65.0256 35.3562Z%22 fill%3D%22white%22/>%0A<path d%3D%22M31.5449 1.88184L41.1387 18.5L31.5449 35.1182H11.7666L2.17188 18.5L11.7666 1.88184H31.5449Z%22 stroke%3D%22white%22 stroke-width%3D%223.76271%22/>%0A<path d%3D%22M11.4609 34.805V2.19482L41.2491 18.4999L11.4609 34.805Z%22 stroke%3D%22white%22 stroke-width%3D%223.76271%22 stroke-linejoin%3D%22bevel%22/>%0A</svg>%0A")}.player-overlay-logo{display:none;position:absolute;top:20px;left:20px;height:18px;width:63px;pointer-events:none;background-repeat:no-repeat;background-size:62px;z-index:5}.video-container.hide-title .player-overlay-logo{display:block}.player-scrim-top{position:absolute;visibility:hidden;top:0;left:0;right:0;height:96px;padding:30px 25px 0 25px;background:linear-gradient(to top,transparent 0,rgba(0,0,0,.008) 8.5%,rgba(0,0,0,.029) 16.5%,rgba(0,0,0,.062) 24%,rgba(0,0,0,.105) 31.2%,rgba(0,0,0,.156) 37.9%,rgba(0,0,0,.211) 44.4%,rgba(0,0,0,.27) 50.7%,rgba(0,0,0,.33) 56.8%,rgba(0,0,0,.389) 62.8%,rgba(0,0,0,.444) 68.7%,rgba(0,0,0,.495) 74.7%,rgba(0,0,0,.538) 80.8%,rgba(0,0,0,.571) 87%,rgba(0,0,0,.592) 93.3%,rgba(0,0,0,.6) 100%);opacity:0;pointer-events:none!important;z-index:2;transition:.2s}.player-full.fullscreen .player-scrim-top{visibility:hidden;opacity:0;transition:1s}.player-full.fullscreen.fullscreen-controls .player-scrim-top,.player-full.fullscreen.fullscreen-controls .player-scrim-bottom{visibility:visible;opacity:1;transition:.2s}.searchbar-player-container{display:block;visibility:hidden;position:absolute;top:15px;right:25px;height:41px;min-width:0;padding:0 0 0 40px;font-size:15px;color:#fff!important;opacity:0;z-index:2;transition:min-width .6s cubic-bezier(.165,.84,.44,1);cursor:pointer}.player-full.fullscreen .searchbar-player-container{visibility:hidden;opacity:0;transition:1s opacity}.player-full.fullscreen.fullscreen-controls .searchbar-player-container{visibility:visible;opacity:1;transition:.2s opacity,.3s width cubic-bezier(.165,.84,.44,1)}.search-focused .searchbar-player-container,.search-active .searchbar-player-container{right:23px;min-width:300px;transition:min-width .3s cubic-bezier(.165,.84,.44,1)}.searchbar-player-container .searchbar-player{position:relative;width:100%;height:100%;background:0 0;border:0;color:rgba(255,255,255,.85)!important;padding:0;transition:padding-right .2s ease}.search-active .searchbar-player,.search-focused .searchbar-player{padding:0 35px 0 0}.search-results .searchbar-player{padding:0}.search-results .searchbar-player-container{padding-right:100px}.searchbar-player::placeholder{visibility:visible;color:#fff!important;font-weight:300!important;opacity:1!important}.searchbar-player-controls{position:absolute;visibility:hidden;opacity:0;top:-1px;right:30px;height:41px;
1display:flex;transition:opacity .2s;pointer-events:none}.search-results .searchbar-player-container .searchbar-player-controls{visibility:visible;opacity:1;pointer-events:auto}.searchbar-player-controls button{display:flex;align-items:center;justify-content:center;height:100%;width:35px;padding:4px 0 0 0;background:0 0;border:0;cursor:pointer}.searchbar-player-container button i{margin:0;filter:invert(1);opacity:.5;transition:opacity .2s}.searchbar-player-container button:hover i{visibility:visible;opacity:1}.searchbar-clear{position:absolute;visibility:hidden;right:2px;padding:0;border:0;height:41px;width:24px;background:0;opacity:0;cursor:pointer;pointer-events:none;transition:.3s cubic-bezier(.165,.84,.44,1)}.search-active .searchbar-clear,.search-focused .searchbar-clear,.search-results .searchbar-clear{visibility:visible;opacity:1;pointer-events:all}.spinner.search{position:absolute;visibility:hidden;top:6px;right:0;height:28px;width:28px;opacity:0;pointer-events:none;transition:.3s cubic-bezier(.165,.84,.44,1)}.search-results-loading .spinner.search{visibility:visible;opacity:1}.search-results-loading .searchbar-clear{visibility:hidden;opacity:0!important;pointer-events:none}.video-view .video-container .player-control-back{visibility:hidden;opacity:0}.player-tiny .player-control-back,.player-small .player-control-back{display:none!important}.video-container.fullscreen .player-control-back{visibility:hidden;opacity:0;transition:1s opacity}.video-container.fullscreen.fullscreen-controls .player-control-back{visibility:visible;opacity:1;transition:.2s opacity}.buffering-overlay{visibility:hidden;position:absolute;opacity:0;top:0;bottom:0;left:0;right:0;z-index:1;background:rgba(0,0,0,.7);pointer-events:none}.buffering-overlay::after{content:"";position:absolute;width:100%;height:100%;background-image:url("data:image/gif;base64,R0lGODlhlgCWAPUAAP///9ra2vj4+Pz8/OXl5e7u7tfX18/Pz/T09PX19eLi4vHx8f7+/tzc3PDw8PPz89vb297e3t/f3/f398DAwO/v7/r6+vb29u3t7ebm5unp6fv7+/n5+ezs7N3d3eTk5Orq6sfHx+Pj4/39/dXV1efn5/Ly8qWlpdLS0tnZ2dTU1LW1tb+/v7q6utbW1re3t7GxseDg4MXFxdDQ0Ovr69HR0czMzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDJEQjVERTU3ODkyMTFFOThDN0VCNzAyMUNCM0Q5RUQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDJEQjVERTY3ODkyMTFFOThDN0VCNzAyMUNCM0Q5RUQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMkRCNURFMzc4OTIxMUU5OEM3RUI3MDIxQ0IzRDlFRCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowMkRCNURFNDc4OTIxMUU5OEM3RUI3MDIxQ0IzRDlFRCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAUDAAAALAAAAACWAJYAQAK6hI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/AwdLT1NXW19rVgAACH5BAUDAAEALCoAEQABAAYAAAIChF8AIfkEBQMAAQAsKwARAAEABgAAAgKEXwAh+QQFAwABACwsABEAAgAGAAACA4SPVgAh+QQFAwABACwuABEAAQAGAAACAoRfACH5BAUDAAEALC8AEQADAAYAAAIEhI95BQAh+QQFAwABACwyABEAAgAGAAACA4SPVgAh+QQFAwABACw0ABEAAwAGAAACBISPeQUAIfkEBQMAAQAsNwARAAQABgAAAgSEj6lXACH5BAUDAAEALDsAEQAEAAYAAAIEhI+pVwAh+QQFAwABACw/ABEABAAGAAACBISPqVcAIfkEBQMAAQAsQwARAAYABgAAAgWEj6nLBQAh+QQFAwABACxJABEABgAGAAACBYSPqcs
1FACH5BAUDAAEALE8AEQAHAAYAAAIFhI+py1oAIfkEBQMAAQAsVgARAAgABgAAAgaEj6nLfQUAIfkEBQMAAQAsKgARAD4ACgAABjNAgHBILBqPyKRyyWw6n9CodEqtWq/YrPZaCHi/4LB4TC6bwcKzes02A0LtuFydmNvv4CAAIfkEBQMAAQAsKgARAEgACwAABkbAgHBILBqPyKTyCGg2M8uodEoNOJ3VrJZ6xW6/YGK3GS5/xwCLec1Fh4YAthyJhs/vRMcYZMX7hWhxf34YVwp9g35NH0NBACH5BAUDAAEALCsAFwBOABEAAAZbQADAEigaj8ikcslsOp/QqHTKLCwB1Kx2W8Ryv+CA8JEUhM9UoRrN1qrf7Xj0rSbJ7026EM9PTvQVfYJdeoOCJHpehniJi316F454D3oikneFl3IFagqajAtHQQAh+QQFAwABACwrABcAVgAfAAAGeUCAEBAoGo/IpHLJbDqfSSJ0Sq1amZOrdsuNdr9gKoAULpu957R6zW673/C4fE6v2+/4vH4PrfDjUn9sQw6CakNDhmchiImKZRaNgY9gkhaUYZJCmJWSnF8OkgWfXZqkXBWmp1oXnqtaqq9VmjOyVq62VKlChbm3k0EAIfkEBQMAAQAsLAAXAF4AMAAABpzAgBAgLBqPyKRyyWw6n0MSdEqtWpsA4nXL7S613rDYCniMz2hses1uu9/wuHxOr9vv+Lx+z+/7/4CBgoOEhYaHiImKi4yNjo+QkZKTlAFSlVtgmFNZABObnJ2aoEokop2kWKejqUirrK1FD6sYsUqvtkkFqw65rqu+RyG4wUUWwMVFqxbJQ8TJz8UOqx3NAdHBFadm1heo1kUCRkEAIfkEBQMAAQAsLQAYAGIAQwAABqVAgNARKBqPyKRyyWw6n1AkIEqtWq9VQAHL7Xqhwq94LA6Tz+joNM1uu9/wuHxOr9vv+Lx+z+/7/4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoZ1uprE5mrUJrqLG0qbSxJLa3sqYVuxO6t6kyu7ykLsWzu8q3Jsy1p8nPsdOvpQ/SptmlxQrVxqPb3LfArNCtAQALS0EAIfkEBQMAAQAsLgAYAFkAWwAABsHAQAAhLBqPyKRyyWw6mwDAc0qtWqGAyHXL7SoBA694fJWSz+hvJc1uu9/wuHxOr9vv+Lx+z+/7/4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6XANRpBFRwQEXoMHGoBfGUVqfymCgE86hzmae1KAK183S28oPxdzW4eLK4OWfD9rkx93GCubs68LwUROgveeeDs7EoPvxobIB8GAKxJQgACH5BAUDAAEALC8AGQBLAG4AAAbBQIAQECgaj8ikcslsOpVCy3NKrVoDw6t2qxUquODwMisul4XmtHrNbrvf8Lh8Tq/b7/i8fs/v+/+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wBGZaJYXQ0PCkcdCA5ITy0SS0NGQ05IK1srQ0tAP3Mvfx5PZ1duRD+SP6Y7TX4oS8PEi64fT5ov2xxON+WSM/QAusOunLt+UIAAh+QQFAwABACwwABoAMwBtAAAGlECAECAIGI/IpHLJbAaGQolzSqVCAdWsFgnderPDx3fshAjJ6LR6zW673/C4fE6v2+/4vH7P7/v/gIGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ipqqusra6vsLGys7S1tre4SRK7vL2+v8BSZC1XxcbHQ2nIy8vKzM9XztDTaDDT19LXzEEAIfkEBQMAAQAsKwAbABsAbAAABWYgII4kcARoqq6sOrYw/MZ0Oj51PufxiPA5CXBILBqPyKRyyWw6n9CodEqtWq/YrHbL7Xq/4LB4TC6bz+i0es1uu9/wuHxOr9vv+Lx+zz9K/oCBgoOCJYaHiImKi4yNjo+QiQGRiSEAIfkEBQMAAQAsHQAdAB0AagAABovAgHBILBqLgORxyQwkAaOmlPicWp8Aq1RQ1U6V3rB4TC6bz+i0es1uu9/wuHxOr9vv+Lx+z+/7/4CBgoOEhYaHiImKi4yNjo+QkZKTlJVrWWpYaCVYAApnnWBlGaGYZaVoqGaqq6GgoQ+vnWcKrGS2t65mE6ESsk8Dvqe6rZpnEbNoA8apXWml0E9BACH5BAUDAAEALBQAHgApAFgAAAWGYCCOZGmeaAAASeq+6LrCNCwDdX7eek/KCp9QJixqisikcslsOp/QqHRKrVqv2Kx2y+16v+CweEwum8/otHrNbrvf8Lh8Tq/b7/i8fg/FYQUrDlc3flSEM1QWh1aHFlWHiFOQVQ6HBY+LmDcDVReHEZo8hpNUA5lTEocToZGjhYyvfCQPUiEAIfkECQMAAQAsDAAfADUARgAABonAgHBILBqPyCQRoGw6n0YAE0qtLqVSq9aJzW6/yC54TCR0L+S0EOFVq6fuuHxOr9vv+Lx+z+/7/4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6fUCUDiFiGAl0PhF2lgxCrbYGvcIKyhBOvFaqvhCS1g76/q2jBq7nErIMFYoawhSGDQQAh+QQFAwABACwGAB8APgBGAAAGpMCAcEgsGo9IIwTAbDqbyah0inxamdSsNim4PrfgsPcbLlPHULM6SUCv30iEF043Pi31fDGt7wewfoGCg4SFhoeIiYqLjI2Oj5CRkpOUlZaXmJmam5ydnp+goaKjpKWmp6ZMEJxkmVYIrlaaV7FPCrVOmS5WeJi0uHyWVw/AgJcYVsS+ssUAzbPMlxNWFc+YJL+X2dpPF83Vy62WBVYO1pch24dBACH5BAUDAAEALAcAIwBCACoAAAVmYCCOZGmeaKqaxOq+cAwASmzf8gzgfD/qQJ/QBpwNj6/iDslEJYLN6GlWkVqv2Kx2y+16v+CweEwum8/otHrNbrvf8Lh8Tt/q6oFiba5cwvsPcn2CSnIPg3GIf0p7hHd4RngifnEhACH5BAUDAAEALAwAJgBCAB0AAAVgYCCOZGmeaKqawuq+MAzMQGzfMg00eO+LOtpvGAvOLsTkylhTOlGH4HN6EgA21Kx2y+16v+CweEwum8/otHrZXL90PLeKKU/R66aJsYI33fsjf4ABCoKDQEKHfgAPiiIhACH5BAUDAAEALBEAKQBEABMAAAVRYCCOZGmeaKqawOq+cBwAdCvfuFvXee+Lu5rjR3wFd4KiMnXkLZ+nI3QadVKvIoettMB6AxZa4juVkpfNc7FwHKp/6bcvLofXLvWiNU/c8m8hACH5BAUDAAEALBUALABHAAoAAAVDYCCOZGmeaKqihQoAayzP6Juc74vQfF/nJUcO6CvyhsQA8mVsypYvBRTmrOKmUIt1W5JikdwwCVpiis/KXAXNNiXMIQAh+QQFAwABACwYACgATgAUAAAFV2AQfAAgnmiqrmzrvu5QmnBt37g473nv57vZb0hcXYK0olIZXDqLwqd0WJhar9isdgpwbL+pKHiLHGeRYvMTPROonQU2772UJ+l1ZATPnQ34Vg0lgFhJIQAh+QQFAwABACwaACQAVwAeAAAFbGAgAoBonmiqrmzrviopw3Rt37FM4nzvj7rdb0hkSYKASXHJRM2a0GYpSq1ar9isdsvter/gsHhMLpvP6LR6zW5rn25isBD/IUmJOu+u09v4fX40AoBwgi6FU4cvCnwRizUEQQOQN4GVlg4iIQAh+QQFAwABACwdACAAYwAqAAAFi2AQAGJpnmiqrmzrvukDzHBt33g9703u/0CWbDcTBI/IH5GUbDphM8VzSk0xq9isdsvter/gsHhMLpvP6LR6zW673/C4fE6v2+/4vH7P7/v/gIGBAAiCSjsEhjdLNIpQjI2OK5BERpIpEJRLl1aaOxCcKAiekaElpFemp5qqKAeQrSoCRA+xkwAMIiEAIfkEBQMAAQAsIAAdAGgAOQAABZZgsARkaZ5oqq5s674tICdwbd94Hsi87v/AF68XLBqDw6NyeZMxn1AWIEqtWq/YrHbL7Xq/4LB4TC6bz+i0es1uu9/wuHxOr9vv+Lx+z+/7/4CBgoOEhYaHiImKi2MFjCwIJRWPKkSUKENOlyWZlpSdSZegno8Eo1ObARigqQEZna2sm6eitJcGtrWwsbupD6SxFCQCmSEAIfkEBQMAAQAsIQAbAF0ASgAABaZgAABBaZ5oqq5s676vMo5wbd84PM9O7v/A1k4QLBqBtKNyyWw6n9CodEqtWq/YrHbL7Xq/4LB4TC6bz+i0es1uu9/wuHxOr9vv+Lx+z+/7/4CBgoOEhYaHiImKi4yNjo+QkZKTgTIkiDuHA
1jtJgpycgQ2foH4So5wJfqc7BaqrM34Fr517CbMARH23l3y7rrN+Drc9urMKf7eBr4SjFIXCM62HsEYhACH5BAUDAAEALCMAGQBAAF8AAAWq4AAAQWmeaKqubJuOI+TOdN3Co63v9MjxwCCKJCwCH8akcslsOp/QqHRKrVqv2Kx2y+16v+CweEwum8/otHrNbrvf8Lh8Tq/b7/i8fs/v+/+AgYKDhIWGh4iJiouMjY6PdERsMGwCOJJmB5eUZps4ZZ6bYgmhn2GlOA1iqJxgrAACq69iBK8KYQqvBLKsYpa9p7NhEK+YXq8JvKhkuaVnoQdoDpexaqaTUSEAIfkEBQMAAQAsIwAXAEoAcAAABsDAAAAQKBqPyKRyyWw6k8Phc0qtVifRqHXL7Qql3rB4OTKNz2gBes1uu9/wuHxOr9vv+Lx+z+/7/4CBgoOEhYaHiImKi4yNjo+QkZKTlJWWl5iZmpucnZ6foKGio6SlpqeoqaqrrK2ur7CxsrO0tba3uLm6u7y9vr/AwcLDxKlalQVZlVnHkMzKj8/PjQrSzASLDtZZDoLWRdvQg+HhiOTTiedRCYznGI7kzuEqKcX2958oJ/v8/f7/AAMKHEhwXxAAIfkEBQMAAQAsJQAWAAoAZAAABEoQyEArlcDhja3/YCiOZGmeaKqubOu+cCzPdG3feK7vfO//MM7kIqwIAcYikZNkLjdN6LMzHQaOUepVuXV2pV8ttookZ60DrkAYAQAh+QQFAwABACwlABQACgBQAAAFQ2AwBGRJekBqrmnrtmssz3Rt33iu73zv/8CgcEgsGo/IpHLJbApfKhIUUJpWoddX1rWFSbFfbZg79gas5egZvBa3XSEAIfkEBQMAAQAsJQATAAoAQQAABTtgEDxiWW5AYooR4AJrLM90bd94ru987//AoHBILBqPyKQy+GqWmq8nFCaaUgNWKVTrrE65Ue9W3MVOQwAh+QQFAwABACwmABMACQA1AAAFMmAAcEFpDkBqrmzrvnAsz3Rt33iu73zv/8CgMCApGiWllFIlWjKdT2hS2nROrdXldRkCACH5BAUDAAEALCgANwAHAAgAAAIGhI+py+1QACH5BAUDAAEALCgAMQAHAAYAAAIFhI+py1oAIfkEBQMAAQAsKAAsAAcABQAAAgWEj6m7BQAh+QQFAwABACwoACcABwAFAAAGDcDAajgMAI7IpHLJDAIAIfkECQMAAQAsKAARAAcAFwAAAg6Mj6nL7Q+jnBHYi7PeBQAh+QQJAwABACwoABEABwAXAAAGIcCAEEAECANF4jDJbDqf0GhxZGIKlsoj0qjtervSsFgcBAAh+QQJAwABACwnABEACgAXAAAGOMCAUAgoFodEo3GoVIICzah0OoVWqdjiyDQVJJtIa3ESFgcWxsEDEDAERlFm/KuUg+lL/FHP5guDACH5BAkDAAEALCcAEQAKABcAAAY0wIBwGAAYicKVcYlcLgtDpzNQklqvUywAoe0aBwqsQOgtMwXWgCEwSJPdRfg1Kq9L6fdAEAAh+QQJAwABACwnABEACgAXAAAGN8CAcCj0AIhECWCJDCiXgAIxBoUOU9VqIJPNBrpQBHhMLpvPVkE3YAgM1kLwUB6Hf+30u7e+DwIAIfkECQMAAQAsJwARAA0AFwAABTRgII4kYJJoYK6puK5F+r7oPI/2/JX56fYsoHBILAoDAlvAwBoof6on71aT4qw/6pRW1YpCACH5BAkDAAEALCcAEQAQABcAAAM0GLrc/gwA6CQodFmZw7bUZxGPuFXmqaWqx4LKK88zI4iBASsDHk+rT8hXIqKEENMQWWQ2EgAh+QQJAwABACwnABEAEwAXAAADPBi63P5QARDhBKW2O/XilwdeRDVy0Qk+KihsLXh88SrVeM0IY2D0iwEwYLsVFTwK7fhhnETDVNQyZVUbCQAh+QQJAwABACwnABEAFwAXAAADQxi63P4wBgCkpaBYiOl2HfYtIUaMZfel4cV2QvSWxzOn4I2TetkIPsOrMfApWI3dAqhiKJ0iaItTkTYhJ2sUZeROPwkAIfkECQMAAQAsJwARABsAFwAABE4wyEmrvThnALSnHFB8XsiRm3milRoS7OSacTCr7K0KpO4eJZ9LI7xhirfERTA0ICuDoaTYkk6YRpBVu7V1uaEqLkOggcMexEr2PYrNtQgAIfkECQMAAQAsJwARACAAFwAABFMwyEmrvTjrDMD+VwcUYBmInfmhosqxHeFaMDpTNXufOSrMPdhBFayZijkQMpf4CGABw1IzgEqmGCPlWQxZK0jaV5wEjy2EMu58QbC1K5tZd6xFAAAh+QQJAwABACwnABEAJgAXAAAFZWAgjmRpnqSHriwrAXAMtPT5ynFR78GNxzya7wcMojrEH8FIS8KYLGcRWpLGBFSSVXbIBra4LPgHHf8STAHZAA4OyKL2jlhSW2t0k3yVP22XKH0nBFsKfnAsCHd6iC1Sh2E8SSYhACH5BAkDAAEALCcAEQAtABcAAARdMMhJq7046805AF0oBh9QjChWfmk7raWbwiUhi/R6dzm8az2Y4HcJ0g5EijGXlCx7yWcvQRTQAgbpbnB1Pm9MinXpCle0KLPlacN1MYSnIqTGIL6e9+Y5BOrzZBcRACH5BAkDAAEALCcAEQA0ABcAAAVsYCCOZGmeaKqubFtKQCzLbt3Cc17Y/InnuZ5Q9AMGh7aOcUlAOpcx5xBKk9qoMoHVhZ0dtqvuEXwSA8kmMzCBJgnOBnE7MDiL5Ghj6Y0l69NdW39lWE1PdigEXQpIgykIgUKOKl1aPJNhkS0hACH5BAkDAAEALCcAEQA9ABcAAARmMMhJq7046827/xIAgGSJiUBhriUqsnDnonF9zShh7wHu8jXfDMgSzgTElnF2SH6WPqcMGpVmqMKEFSPABQzYbWXgDVHFk+qkC0WrKWHru0LVOecVAlWRxFsQZ0B+N1BIO4MngTARACH5BAkDAAEALCcAEQBIABcAAARsMMhJq7046827/yAGAGFpgiNQnGxbpaMrn3A6316dEngv6jafUAKsDX3FmuB4S+oOTJcTGGVNi9XStZjIggS6gGHr7QzCxGt5Q6WAp+uf0UKOU9qXK88ewF8IVwp2fhgIamuEGVdLXokadUwRACH5BAkDAAEALCcAEwBOABUAAAWLILMEZGmeaKqubMsCcOHOdG2bcH7vvAtsp5ywRyTqgsIcocicDYbI5LFJRT2gOGmyyi1hvdqkoFvFTMHh5IHcPJPSYTYThoKn5T161C5N4HcAKQJSAQZ8gX80EylPW298iUaEJoN2kYCTe3eXNForfEucLZ4rBHwKop+ZKwiQqXWrL3Zjr2hfPq6pIQAh+QQJAwABACwnABMAVQAbAAAEjJCtQKu9OOvNu79AWHxkaZ5YqKJs61Jq/M70FsdErdf3vf+tXg9IJAl7gqJScxQellBYUxhdTptV4rWZyP4EQ8MW4DUBupjBUHote1YZqgXcdmMUsvgatLVbfHqAgU05fgF5KXsZBFsKfg9wiYIbCH12kXyTHFtJZQUhTIpvllmghqeoqaqrrK2ur3YRACH5BAkDAAEALCcAEwBdACkAAAStkK1Aq7046827/0BYfGRpnmSoomzrcmr8zvQZx0St79h980CdzxcstoY+gXGZQvoOzKjGiZRaK1TnVZp1JrZMAdHQBYCLAyKlfAYOL+JsW6i+sOev9zSbw7P0GgRdCn42dRsIXYUlgB1dSouOhx53kRmNIF0Nlj2TJAmKnFiejKGcmCiVVmZ7PzMHXSNRcRuoLXFUX0Wuor2+v8DBwsPExcbHyMnKy8zNzs/QOxEAIfkECQMAAQAsJwATAGcAOAAABPyQrUCrvTjrzbv/HCAWYGmeaCquaeu+5irDdE3LMmHv/IfjvaCw8vsNj7biT4BstpTFg3MKgiqp2I0Vmu0St8qEtyswGsCAMXVgpKDVzuKlvIUf5Zi3vYfPgHV7SW0aBGAKgTeDGwhgiC99HWBMjiiQHnqUVYo+YA2ZnEAoCY2fIZsxpKV5pyeYqm6sJwdgJK8Bli50VmKquI+pmb4wrojCiVaHjsY0DmAOxbE7CsBqyzvEXdY82FTaPKNbk1nePQXUcdFN3EPk7Fu16undW7wuABNa8lQN65Ei/qGg1SmhK42tgwgTKlzIsKHDhxAjSpxIsaLFixgzatwoMQIAIfkECQMAAQAsJwATAGgATQAABf8gswRkaZ5oqq5s674tIBdwbd94Hsi87v/AF28YLBp/Q+JxyYwllc1o9PmUWo/Up+DK9WWph6649s2Oz6zyF802qb+JdltQNbwB8vOgSrrnxVQndGp/V4EofoVNhylvBIpLjCkEbwqQRZIqCG+XQJkrb1udOZ9pnKM2paZqDagwqi0Jp66rUDiJtI18XrO5JbA1B280vn27QINlcb7At72ozaTPl9E6ldDHTA5vDp3VPwrTct+e4mjkQbht6EGyaqJs7EUF5obZZ+pd8pFqxPr369Qss5fkUoN8TPZJQYgFYKFkaxY5VPQGQcKJisKpeWRE4RhKhDBh9FaPzMhRoZBXnBwFgaGQldjUQHBWsNiKTSFN1rQJSo3FVzCLuTzhcZSwfk528nQB0UxPpUtduCzKjNM2PFGzat3KtavXr2DDih1LtqzZs2jTql3Ltq3bt3Djyp1Ld0UIACH5BAkDAAEALCcAEwBnAGIAAAX/ILMEZGmeaKqubOu+LCAXcG3feC7vee//tp0QSCwShUOjcvlCygbMqPTkBAgCvKm2WHVet2Bd13kIm2Hj7nm9So/Z8JJ7nIjDBc6AYQ6wnwd5JHx+YVUneG6EWoYog4pMjClzBI9KkSkEcwqVR4EsCHOcP5cxbl+iN6Qtjqhonq5uDa1NrzUJobOlSD6suVS1OL2+WMA4B3M0w8S7RYhpdb6qo7iz0kDCldadaZui2kQOcw6c30UK1ITlRths6pbo7cVat6Zx7kwF8IXy+4ln91OQmQG4yA20gsweNWC3jp89fQ0TinL2BpLDdG4QLCHI5pwbSlwuPsrk75rIbBCD1JwkV68HR0UQGK5aiYoPhFQ0W4EqSUuiMhVzNPZM8nMmT6A5hx1zkwypz6IsKKpxShTq0Iq/nlo1miZr1a0vSHKTkxRsAAxzNCz7atZFhkEvt845FbeosLrD2OGd5TENyEZlo2XUxbatVHV7H8n0mqXtQjcUaiSOI2HOQViFlQkMFtjOYq6NleU7ylkrKnppTvHqPDBl6cyKXYsxjZG0pG5XZaAK52aciwmhCQevPQa3CySq2ypfzry58+fQo0ufTr269evYs2vfzr279+/gw4sfbzYEACH5BAkDAAEALCcAEwBnAHQAAAb/QMYiQCwaj8ikcslsOp9MgLQArVqv2Kx0m+16v9atGEwuk8Vjs3r9RHPZ8LjRLZXb4XRAcQMQ3P9deURoB4CGUHQMg26HjUt0EwEXeXqOlouMlFIJl5YCjAaab52AA4yYmqSAdEefoqp2rEiidbBsskm0BLZquEkEtAq8Z6dMCLTDX75Ron7JWMtNtJXPiMXWog3VbddVCcjbzGhe0+FK0Vfl5nPdWQe0VOsB6Fmumpzm9IHg2/rk/Mn8KRMlLGA7NQ5oORgmkIwCgKQallEX8aAcipYkqvnW7JLGNQUgrrI48tWhj3HgGUJ5URS+WCQdNcB4K2ZGkWZYArJHCY/N/4qaEKzReeihqF0Tf8ICZhIM0ZtN942Tx06TMy1Kk0GgiS0N1SPTIKTLuu1YVCdPGYoSym3qV3GppJGV905UvHNzqfIUhNft27Zxweb9SzMtVaaaCs4b/JcIBloaFvttXCVDOcNUaV3FnA8i52pcJXulrMSoJqSzGIejxbbvaNJF9jb8DDSw3MmNZ4qiUIV2Iwm0XnYdRdguVtzrQg+vRTXkWWiqD3G0Sgy5wedSX1+3XV27LeUDrXdKKGqhT/FQKSk+7z19zzu+j3Nvif
16ObDe8V0b3UlfTXf31sfeeI/HdNt9J+3mDUyMFppbNdwkaOCAsDaKSx1W8NAhebcSRgVuYeqtFSIRplKDWj4gbZpjgfQGq2KJrE2bG2FYLdvZiVZQIV9yNosXYmEYprjECNUkF6JwmhTDYIWx3iMDkk1BGKeWUVFZp5ZVYZqnlllx26eWXYIYp5phkFhEEACH5BAkDAAEALCcAEwBnAHQAAAb/QMYiQCwaj8ikcslsOp9MgLQArVqv2Kx0m+16v9atGEwuk8Vjs3r9RHPZ8LjRLZXb4XTAfW/OHz0AB3yDUH5zb4SJSYZEF26KkEWMAXkJkZACj0R5aZd8A5qUnIiednRHmaN6pXKnSKp1rGyui6oEsmq0SQSwCrhnoUsIsL9fulGqAsVawU6wq8uFzc6wDdFt008JxNfIaF7P3UrHWOHih99gB7BU56LpZKmjluLkxtzX9mDmy/rAo76K+SPjAJaDXwPLKMBXKmEfhpEc5oKYSKKabckiZttTgOIei3g8ttpIiN0gkKZU0UsJj1UDfiFbyoK5BuUgeZxidooGC0FN/5KyFtp6KPMaL1VlbF6iWQ4oz4xdlJaCwBRbUXebYEG4IhXXMKRVuiJU5dPqTqxLqh4Ru2ydqnbjnKI1gnPSWrlz0Y2qdTWvt716Sfl9chSgJLyDj2CApeHd2cROMoRjixWWsqx9Id8FezizZsc5XyGeK3TULb6PP/f8K1hzXYeUWakV7dndS1UUwo4uJgHWSmm1871lFlygSLOtu3XkHHV3JIyjLt8r7mk2V+cljxNPLVt7c+qDCqo6qDP5UlUB48T+B5gl9+zM3Zvn89pN7pPYybgdBRc/eKLtVZTfdwEqsp4T0IVW3YC6qWJNd/81Fd+CETbIiXS4HBiYXRkyuKlLL90cWBonp4XoYWcFClchKt6NtSJmKZ4jFVUt9oOdb5ChZJ07Fu1YmVzLjSLIZzDOVyQdGBLpj49+2cPkYKDINGIeJRKJxGtFiDcKeVailsaTmj3DYZe0iRkLmU2YKcVvaKYlJgZtAjdhnG7CokIKEuSp55589unnn35SqOaghL7IXqGIqilooozWqF6jkM7pX6SUGkoGCidkqummnHbq6aeghpqpJ0EAACH5BAkDAAEALCcAEwBnAHQAAAb/QMYiQCwaj8ikcslsOp9MgLQArVqv2Kx0m+16v9atGEwuk8Vjs3r9RHPZ8LjRLZXb4XTAfW/O8/9ffoCDV4JIb4SJAYZGD2IJiokCbkmMkXcDlEeOlpdxdId5iJ54mkeiaaRroEqoUgSqaqxKBK4ACrFnpksItrmBu1GuAr9awU22esVVs1DJDcttx08JvtHCaF7J163TYdbcRc1dB7ZU4YveWJOukNzjYNvX8Lqu0fRltri/+GUOtg5y9TOjAJyngbIMKkK4SuEghmuqDVuozk4Bh3sgfsIoR2NHV+cyVgRky50dj3cayNuYjR/Heql+sUNVquU9Vwga2oxW0BWs/3wjVdWyB3NUuJVdUJKyRSxp0GIQkDJ7uiwZhEJUo/Ui6izrPJxdd6LDRhOZ13DlQJI1OrbJTFFLlLaVSkRu23Rc6569S2Qoqn14Y/K1gsGWhsBsBz/JsM0uX6bi9t6V6vgoxso8bf0MJVbxKbBxJS9724mzYM90u3Xmq9IVhamrx0ooiTW2ZVQhv9m+mbf26WsXe2PBzEciqqbAdqtKbUz5JeZOnSeCrk10nH+uAtb8HUnfSesJhbMhHu+lTu58SNN5/Yc8lrS4CbnXXVY+eN9wu9+HYjz/8/1muQLNUgCGJh5F0jUnCnKxzDeHefolCIVfogBWzHw9obIZb+jR55XfO/epV+AdlVFXlWRRQXiihJGhYtJgKJl4W4cPHvhYUMGhcoBnpiVW44I8VqKOjDBOQ6RimYiVoSgbBpmEekVgh4p2ThrY0pFBJlNalUJq6SOXXWr5IpgB2oIBmR5+iKY0tqiQggRwxinnnBKQ6eWdALQAJp5errAnn8n4ySWggf5JKCoskInCCYw26uijkEbKKJlBAAAh+QQJAwABACwfABMAbwB0AAAG/8CAcChkLIjIpHLJbDqf0GgTQC1Ir9isdiukerngsPjqLY/P6HPZnG67pevve05Pxqn1fP0O0PvdfH+CaneDhmCBh4pYiU0gi5BCAnFPcpGGA5RTbJeChUwPn516okp8eKN7mkoJp1QEqXOlSQSuVAqxbbNKCLZ9uYRrUb4CwGK7m7bGXMjJrg3LWc1OrcrRcKvSvtdQ08Pb3EzeUQe+VuF22WCTtgnoROOM4O/x2tbh9Vq+uNz5Wg6+HFzzt0XBPGAEmR1MlRDRwksNwVRzVWxUxDAFHiq6eEzjII5jzEECGeyUu0MkzzTw9cuTukgsP768xM7Vn5RvfCEgNXOUQf9bsOjgpFPrHqCeuWIeFUbPVkU0Q/1AUBoSaTSWEKoyfUekl9EtUVHa2qlwK9d0X7GZPYuknK1zZKyyrXlK3lq2pjzmvYt3r81KcvsKKeqKn7jAgoVg8KXhMN/ESTJQRcsJ8hJiTsIy1AsP8dnJmT2j++kq6LfHeHXaqyyYbiO7rNmChm2J7UpbFMJo1iPB10ndoi2+hRocJmd9xRVlTKs1dq6Jp57qSu6SOXHUxq2n2Q1c+3TshgDaEniTek5bhsuD9zObvfmSdRdxh+L6Tu6R77m4dQUX//rvf3Uyn1/xbfafGNC9ZqBz2/kCjTEDBtDegrU1SBE++V12HIWonEGS2Cnp9ZPhEKSdYlpTB4bm3VUZ1jeifO9NyFVEU22IYYpD+GZZjsHJ2Fc+PgoWz3KuHLAjgR1qeOGRSLZEWYFMPpkkjysymclaJfJxYpRK1DeEeK6Qx6VjTAU5poQsRchimhWe6QxLv7kJGEv9yTlnlXYiYWOeep4iAZ+r4QgolYIO2oWaiSloaBQonODoo4syEQQAIfkECQMAAQAsFgATAHgAcwAABf9gII5kKTKLqa5s675wLL8DYBdzru98P0a2IMBHLBp3wuRxyWwmn82oFPkUTq9Y1qRqzXq93O53HA2LyeiiwhxMu4ns9nuei8vp+Fc1IIDm/yt7ATVKgIYkgoIxDkOHWH4BijBnjkyQki6EQQSVTmeYLEBVCp1HQqQjoIFmpUWUqipxAq09d6mQk3G0OjYTJrAsdg27MjaxuDIJusR6jSXAzWzMLc7PyLzL0zHQMQdxONrRlD19bAnh1Nc+duirhZbZ7SLctWyo8vQ9jGwO+OpMa6Shy+cqHjGCRtgxQ2hEGZtZuxgeKWCwksQlCjtdhGcGnKONnsycOwSySYOMeUr/lqn4RqWUcqzwuJwSBwGdmVMCmuHkBucVAiyz+HwUlOY/jQ/HDPUCAaXRd9rsQCAKNRyCogWrDmRjc6XWdk6zjpPnjY1HsbbkkYAZxtRRtWGxfVWLCKu4tHRNALXHY2klDHE0yB2bt0SGuC78kkxKZW5hxNve+hO4TnI4nWF4wrE8rSZGzrvYcglJuLPdvqArnWRD4WnpVhLijHSNN6JZMKlTnnbr+BBFyl8UM3FoBiIZ4bxjpkG+Gfjy3MF3U32dZp+Zfrp7o4lzLzv16M691z4ufTv0JaKrtEaqXUrZjrSYu1PeSr618KXsiyDeNur5OnEME458kMX3Xy7F0aVYpYELHbjCXmZ0t0sE842nA2ZcaNZZhcagNRpY1dzSngvpOajbMSNyqB9Rvtz3nQpNlVdfh3WlWGMYsz2WFkMMbmVDdwT1CKIt9PxmxgGFzeeihfMwluQx2N1ooZB5hSjiWFQ+iSIlGFahoZYAvmNdGFGC2VgXWZqpYppqrklfm/XYAUCOcMZ5W50JyYhnYm/u2dwTEvjJkY2CRvZioWEahyg8i8YQAgAh+QQJAwABACwPABMAfwBzAAAF/2AgjmRpjsxyrmzrvnAsz+wA3AWt73zvk5GbEPArGo++oRLJbDpHyuhzSuVFl9WsljW5DrfgcMD7FZun5PJ5fVSkhex48Q2X23X0+n0PuwYEUnyCLH4BNliDiSMPhYWKio6Oj4KMgWOWk3ySkngKmUhXnlCYNGqfSaScMg5KAqc9qqoxZK80ElETJrIvbw21MYemo4gzF3S/Ll4nu33HyMukw8J4zs8ixsQlzDIHdDnWzNszgG8JyNvipdWfrErfK+nUb6fi8Tt0oo/10UjtaQ76hljgxY+Jm3mJssEr2CTPIIXQIKJZJ2faQolTEtBxZUcIwGYYqRSgeEYPwZBVHP+yuTHD3sQ078QAuNCSYRg65mSqQwmmgcotRGryvElSk8015NJAOrryDYKHTNkcTEPA6NA4BIqWjNpRK9GrdzbGcXkHwk+ZXAXlgWCGrCAEXp+4hZrmKdC0k86+tGit25uYTuZOSkprr0lrEZUGxvtL7xzGv7K+yfcYLGIMdDQYEfwrg+N7kBu/4bg5NL24oC2/+lyZL+KpZKrKNZ3QaUrafAgry8J5D+vFqvn4fEPhq+tJt8q1xb0V5preyxE+Z75lpPSmwcVoHB2WOpXf0Y+PRf0jqAzos6+j2SlejD8yH3nTPO+9dBrKvAFUoJ+9IXn/5p3U3m3qgeHRLPXpoNvQFcVNxxJIAzbhl3PjHXZRhKD8l5+FiXFo2G7dAUBaMgm2sJ1iRgmFoRV0+IIYCeiRWOCLMV7oxYgvwliiCODRWKJk9+XYQo0BwOaFbEIS4l2PSV7S3wgL7hjQk0w2KY2HLpiloZVOrsijclzyt2KVYep4FZllmtmedWkckKY84on1JpxYojmnNvzYeSee2Rh5
1BZJ70vlgAO95EV+gqZWhJ6K65CHlm456yaiSjuY0aWsUXmofippuSmSnVw4hAagAPkkqpVieioqIqk7U6gohAAAh+QQJAwABACwIABMAhgBzAAAF/2AgjmRpniOzoGzrvnAsz7Q5AHhR73zv/6UIbggAGo9II3GZbDqfpqUUSq0CpUyrdgubYIncsLj0BY/P27IZzX4q1MO2vAmPz++/uh3Pr2EDAlN9gzF/ATdZhIooD4aGi5Akj4+RkI2CAZSVipSam31YCpKYn4OanqVznqipbBJSE1GkVwANrTuIa6OJQJc4tzNfJ6w7xMC7ush7eWXHLBezyr9KajrOZNEjxjOBcAnXIsbbNHrXDlLWKON+dcfb68VwoqnCLfA753AOpVIWL/c83sDZZCGbLF5Uyi2q5wIgs4GE4Dn8kaCOgD4FpOyDMRFIRoh37nWkBpINwJFH6v+kOyPlQjCDYup8G+MQZZIGCtPUhMmynU6EHHmi6aZGi5QK7IDiqYOgilB1T9kIVEMAitKgV/kQ8EknmQybXHKmXEYu6lI4F8cCeNADrBgIYttO4+GWZh0IzNjKzVoJAdd4D722YkqXFl9+fwsZFgzsgEq7h1sRbRamLqjECc3eivvEMqGt8pxqPoahjgaro4Fl4KyWMThtaEVHdofZieezJVn4C0wW3NQyVTku7u2M8NciPm4Prd1wbfLUppj/mxtvtiKccCjs1VvdNaRX3gLv9c4JzsrxyJOSv5z7efruxAl9LJoEQFr01BVVjJ3kvvv1bbDGh3KtURYJgbwxVAnkgjzko8ZGnzCo3hfz0AOdbdIdeCESAka4IRCTfaHdNRKy4Jh5r2XyIV0ZDrZiWe2BU+II+9GXojTvdVaHLTdiYx2LMfbIoEU9skBgh0Wq+CMMoKlRYZLDvDjCb18EB6WRUipp45VYLnlCiDNCghKSXPoIoAlwtVgmjhNiMdOahYxGJpwHnTknnXXGR8J8ZRyAZ5s55omFf38el9WdhUapFKKJKpoMlVhY2SigIzhYBoSTwjcNo5lCpYeXnTr6aagk6fEmqf9Vg2qBCq6aIKiu2vOFBLHWF2anWdZ6EKG6chjoqiEAACH5BAkDAAEALAYAEwCIAHMAAAX/YCCOZGmeJbOgbOu+cCzPNDoAeFHvfO//pwhuCAAaj0gkcZlsOp+opRRKrR6lTKt2K5tgidyw+PQFj8/hshnNpirUw7b8CY/P78a6Hc/nYQMCU32DM38BN1mEii0PhoaLkCaPj5GVjYIBlJWQlJqbhFgKJJ6ffZqkpXeeqKltElITkpiteIhro7O0cl9kubpsqKy/XBe+I8JXFcNRxiLIQEI4Ccu4ib3WdNi6DlI6LM8+ZcvI4D1qorS8LeV+cA6tUhYv7DxvcKUWzSX05nWV6i74hfO3qJxAHwnqCCBUQMo7GAd/NLxnSp8sbVz04KEX8Qocb22kXChkMSOcaWj4/3VM0kCjGIAxVjZxaRJjwJJnAlG04mWJMhoyodRBYOVgUCj21BAQipOZTT4ECCZJeovk04o78zR1WjWSQq1LHvS7SggCzXZkb6YFVQcCWiJix3YthUCq1bl39/wamhcHkKO77LK4tFYtXloH6oDkqlduY2o61XyTgu4HYD5nj22dtxme3cuXB0WFgw50Z10Y6mgwXXhYBo2tIZ72rGahM78zZ3/KfChb7N2Ci+peRPXL0pfD2aoheiY0msjigCVXFXyMcy4t4VCg/vvOq5OYpzf/OOg606zhu5+ZKLmgeCsJ4dh2r75me6/vfd//lz8Jb/z1PcGNO+n09xdpexnoGNZMBQYI1n4JOugDdF9sR00mCsaQGHkX3iZhDf+Nk+E61V1ongnxQdihZh8aVkYDKzKG23kqxsjiYZbJZyOJLe5T4o43PubDaOcA6eKMPxSHxXFG8oijDCE26aOEFJ5YSkdRSnnNkyiY9aOWWwp5pBQogQllZ1maKWMRsqGnZkw4sVfGAW/uQI6OddqpT5p5Oikkn336iWQASkrBZKB6JjKgGg8huiCbgDo6ZqSSTlpjpYnqUSamOSrGqRJffgripaI+ioMEpeY2YqqrpoohAPO56sSgn4YAACH5BAkDAAEALAsAEwCDAHMAAAb/wIBwSCwaj4zFcclsOp/QqHQKHQCuBap2y+16l5GrGPAtm8/nsRrNbruP6vh7Ti/H1/W8Hjq5j/eAgUV+f4KGeoSFh4tuColijJFsj5CSll6UlZebVHcBAnKcolCeAVZ4o6lHD6Wlqq9Drq6wqqyhAbO0o7O5upt3CkS9vpa5w8SMvcfIhhJxE0bLzIGnisK304t+cNjZhsfS3nQX3deo4oHL4eht0uvsZw5xWUzv8Hblg/n3k+H2/FziWHjy780VWBb26TtnKKEmTtsIKswT8ddEc9YEERJwqUAcB1EKohnxqNhFjA81Ukp2EuXBSJToqRxzYYpIg48SpGvpksyl/waZEIm8SSdonZtE64Aq+aaPmgpaklJ8hMANUal5HD0igCYpVj0EVpbRylDK1z1Gu0g9C4gSxy13HqjluQlCWrN0uZX1lQmCTTVy5+4lhkBsyIxR86aiVBUvvsHT7gqFPO1AzLaKaS1NhDazLslWPfM1HJoyvLCPgpVGDHAIBkoa2olGlgH0F7av3OI0jc52mtm5Se9mjY4sIa5TeSNjjFm5rs2EZhJfLryz81RAH1HQBnyRs5wwu397JJPldZNM0U8X5TH9JdxzEugWBX919MXih99XVd+Mb4j5xUMJSJ8F+Bghqo123hz/8WcgXNUpuJ5SlGznTX9QWEYeOxg60b8gMR0u8SF1C3Ihn3v3hBgLJQ20JoSKuESY4oM9qfGWiyuWKBGKOMaoIxOoJZJgjzlOKIVxfiBH5EJGkiLjkl9BV9GSejUp4pNUvuiZXVhm6aOVNY6hk5ce5jUimV+mVE+XaBapphHtJXJAm4eZNh+dTkJ2Jp5uvsTkfnzWmRGSdygZqKCayPMIgYf+hceejf6ZiZ+RdjLpm5UiCl6mAWVSHqeJ8QiqpYCO2ukdEph6IJiqNkHjqGLc2Kp/PqkaBAAh+QQJAwABACwPABMAfwBzAAAF/2AgjmRpjsxyrmzrvnAsz+wA3AWt73zvk5GbEPArGo++oRLJbDpHyuhzSuVFl9WsljW5DrfgcMD7FZun5PJ5fVSkhex48Q2X23X0+n0PuwYEUnyCLH4BNliDiSMPhYWKio6Oj4KMgWOWk3ySkpl2VwoknJ1xnKKjZ6Kmp2ESURMmqqtbh2qhmLJhXiexuFSqvL1OF7e2iMFascDHR7zKyz8OUTmExM9MwM7WO7ot2do0URYv3t8xFtWw6OXbzuTr3eol7u8nBVEOMfP08vH8xvvg+vmrpUgCmCgXZujLBSBBFncLtwi0AnHimmgWA/7rk9FMmidDKuDpGAbDGwROEv/cYLeRj5s3BDSRNEOAzp6IDN94msmGjgBSPNlAyLMGZ1E6EDwGtYPAZk6CveiglLhUps6HVfkcoDMNTVZBgK6C/DqIqBOjj8wiQfuo5htQzMhOMvlGgxG2kzKoTSIX0pufcVt+23u3702nTfDeeZkm5ljBwaRWUcwm7EeskE8R9mU4TAM6FJ7qkdXqjUMxlJG96Yq6M2exqFw7sQf7aOY7Kv/eSX0N8c7bPX3vls239mHgYTCmwecXOdU0cNMSVyi8OdTWxqU7d2KZTOhVvF9sXR11+orNms0PJPMsvIncl9urz9NgsHn0x9z7pMcbvzXKbkEH0CXbucAYGY4NyJZ+f+sY1R03AxZzXT7VRUjghC4MVaGF89BxmoW7dMQgiNmMCOKFo61AWxoHnDhOP/u5+CJkJsoogik12njjLQd6kaCOM6qhHBnMAUkhFjkaCUUe6pXDJIZKuvBkQ1FSxFWVPSSJZYjsbVlcFAZ5+SWUYh6ZYplWAobmHESsGUAIACH5BAkDAAEALBMAEwB7AHMAAAX/YCCOZFkyi6mubOu+cCzLA2AXc67vfG9GtiDARywafcLkcclsjpJQp3S6gyqp2OxqYhVqv+CuF0yeisfl9FFxDqrfxbYbTtfJ5/U8zBoQRPWALHwBNVeBhyMPg4OIiIyMjYCKfwGQkXmQlpdwVgokmptqlqChZJqkpVoSUBMmqKlYhWiflLBhoK+2TqS5uksXtSW9vkaow8RIwcLKyEsOUDiCzM3F00/W1D1dLsfZMlAWL93eLxbY14bkPhzD4+orx+7vKgVCDjHy8yo2DN/n+lLyAUyWbqAWgQar/Et4BCHDGQ4f4lsokeCsirsoYlRYMBsAAWkiAsJwEYtIPVAg/3w5WUfMQY2bziAwCfPSHTM1Lx2QE40J
1Sz1+2jT5Cehmw5ywjBIheoiAHE8W8SQk2UaDNqS6Mii1gzVpG5BRbSTcerUjObJhh8xj04aAz66O2swcChdQ0DM4zepC+1ZvqgZyKGRhqkpOgpV1Q7bp+dJvI740HQeqJ1RUYiwJ5IC1LLmlHM+d30AuQ3jp56KXjzxrcy9QaY5ioB56DfH049Q8RqPEneOuGMGhaLPYudhr6L54bQlfVnkvbxaZm/tafqcBNeG6U73WrI5wdufHYzhtI7t7arZn3AI8+b1ZRN/bGCJs7y0fBPr1cxreWAkm/nfx2MZff51RdsYBA9IiGVB3CSpYEjrJNeigVBC6JKErwaAnhnoXMofGame01iGGV/zH3x3LeYQihSPCs+JhLYpzB2MxtmBii9LVuEcXEuiYQ3w+1vZgkDJ+RGRuagUZAgAh+QQJAwAGACwWABMAcgBzAAAG/0CDcEgsChkLo3LJbDqf0KjUOABYC9OsdsvVRqxgQHdMLmfDaLN6rUa72fD41J2W2+/FCT2M79/3fH6Ca4CBg4ddCoVgiI1bi4yOklCQkZOXS3QGAm+YnkSaBlV1n54PoaGlmKmpqpKnnQatro2ts7SDdAqgsbiHs7e+eLfBwnISbhNGxcZwo4a8pM12e0rM02bF19hjF71F29xczOHiZ9/g6OZddFhM5etRAdLW6vHslpn2910gT/D8CO0LKAcgwTIGD45JqHDcwIZtHkJEKHHiwooWHdLLKHAjx2wYP84JKTIKw5JNTqLU53HlI5Iu38GMWa8lTSkqbwrJqZPnTf+fNIHGFOqSKLYB+GxahDZSaUMITmVGJVhNi1FXhV5OXVfJ6kxjihYR0MqU6iIEScve47SIzNVakEBuxdUAEoWIc1UhW5SAzds+kNz5/Sqpa0HCiArE/YNYUAJIAgA3ltzWz1+5WXNNjmP41+Y1DiA5cHSZ7J5dhT+7XTyptEnWl1w7YVvo7ifZSw4ExqoaJ+xSuKNlxhXcwOPKwnBXajBNdudmpSGb+/uc21UCkFBzVR220Fh+QqvH80kbUMOc4gOehPr7IENIfTMaTH8eI32I4RQvOrBym/Si+9zHUTACfjRLd4B811MsoS0ymk5DoNLegpXkJVKFakG4E4bxaVgf0yKCefiheSKmNFyJUrkhAYr/FOeehSWCERmLI9EYBAAh+QQJAwABACwZABMAWgBzAAAF/2AgjiTJLGWqrmzrvnA6AHQR33iukxHtA7ugcBj4GYnI5MrIVDqVzONzGpxEf9Rs7orVel3c7ndcUoR95PTojFaT2W33NxoQNOVeemAmxVMfenp+U4KCg0qAd0WKh0mGho1DUQokkJFBkJaXW4wimpsxPUYTKZ+gL3xilZ2nMFcqpq0tfSWxsixmQEustzESLLa9OsHCOMTFMcfIL8rLs7zOnLTRO83UpdDXrtnaYNzdwN/gsOLjteXma+jpi9Ps4e7v5PHy5/T16vf47ar79v3+8gEMyC8OQYEGDxakoXCVPnzWxkUEN7FbRW0Xr2WktjFaR2cfl4VENrJYSWEne9ilvLVSVkstuoytu5Rw20NQBW7+qykrQRQUN14iCSNTpx84QWemQVp04CEHbBwMU5rnDKVqVKkwxZTVyVYhQlvYOUPBUdchB9jYgHKW6xlCbaUR1Ro3hs+3MOt6O9Ngjl54c/0anRpGgJqUX9/8FUGAzVU3IXOFITDoY2I5G8cGPnTxcuWsEDx/HowwSgKXM0VHOqaapricZw6Q/MbGsMhsrVtpyo16mmQulDEqgnpGKsU7vE3CWTx6eUx2zgGcrrd8LUQ2BPFmv/JL4auGC8Hnsy3e03N2IQAAIfkECQMAAQAsHAATAEAAcwAABv/AgHBIDDAWxaRyyWw6iwOAtPCsWq/EiHQLwHq/Sa4YTL6Kz+V08zxWu4kTNvdND8jndfUdnycr9lt9ZYCBgl+EhYZYbAECaIpmj1FtkE8PjHaPlU6YmZSbS5eanaBKpKSlRBxnCkSoqUKor7CxiUOztJkDYZq5Vbi+pr3Ba8PES8DHt8bKRcnNz8rRx9PE1cHXvtm527TdsN+p4aXjoOWb55XpkOuK7YbvgvF983n1dfd0+W/7bv16zJot+yTQWcCC/9IkHHRQ4EIyD8FEPNQQWkVpF6lltLYRW0dtH7mF9DYSXElxJ8mlNLcSXUt1L9nFdDcTXk15N+nltLeTU5ePXz2R2SpGUFECMRaAFtXJ5sWTfoCeBiV0QepSgFGV8nlDgFArK+3+ACLgZR0iiS0dZUV7VesdrFuvQDgLd6hbNgn0faSrt63BtfguFiB0wKZfT3cEyGzLl+bSxovjit1DViUlB4QckGwD2TKiuCY/S8H4OS9pQFQcEipY6y3r1mckvB54WCPo2VsUzxbGOggAIfkECQMAAQAsHgATACkAcwAABf9gII4js5Boqq7rALwFK89o9N4ArbN4v/+inhC4E/qIs4kRh5wtmc3VExpFKaa3agqb1Y64XW/AGBAMxeSA66itpNNaOFx7pc69hBfpLkbx+19ngFuCg3uFhkGIiX+DjYCPfZFoi4aTXpdxlY6bkJ2Sn5RsiYqjpJlVqFGqTaxIrkSwQLI/tEWhmLiapoy6qb6rwK3Cr8SxxrPItcq3vJbMOrbR0DTS1dRO2DLW2c6c3p7goOKiVKRj2jzpUusq3NvthOS587vmp/F++Yf1v/3B/4YFLDbwWMFkB5clbHav18JpD69F7Nbw2UR4F9UdhKCHYhiFAB547MjwoztfT05EaKyIogAWjCwDTbkA0yS/KRIrgilJUkSdKQRAhnHAxYFBKDsJgomZcyk9MAnKTYkxDue3JfiMSDiH9Rw6puMEeNWXKAQAIfkECQMAAQAsIAATABUAcwAABfhgII4Bs5BoOg5AW6hw1M4AnNK4LeK8zuewyY9mGxJVxiNKkZwhm60UAxpFdXqC3rPKAsKqPx0pLN5py2T0WZxmr33vYvw73yrdXvwdnufv5X2Af3SBhIN2TmUBbX6JaoWIVY+HN3WVkJeUKIyCjnqejZKfoqE1ipyGoJ2kq6aTqqmssa6jtKWKi5abumO8I6iRtq24wJmwwcS+Zpi7zL3Ov8q50Muaz9bR1NPY1cfGssin0sXN3Nve5ejX6tnm5Ovg38Kzydrv7ezd8en78PPhr/rhE6jvn7x67sZp2dekFI0JrTBRmVWnYUQAEmoZhIdrmoCOZsSEAAAh+QQJAwABACwiABMADQBnAAAFnWAgiswynuMArAUqRmsMuHI91riI29MuB76gcAgk6oIuQQ6lsqF2tOUJ+pTerEfnFFvUXr3ZXxXcFW/J1LP5uw7Homhumv0et8t1dZ6+gt/nbn12e4Ezg4J6iHyGiYyLfoR4ioWQk5KOlIeYl5WbgJyanaKhpI2jpqWPqZmoraqurK+ysbSgsLazuLWfvHK+ccB/v8LBkb3Flp94ASEAIfkECQMAAQAsIwATAAwAWAAABozAgDDAWAyPwgFgWUAGIssoACmtCqvYALZq2Upt3qhQED56qVlzerhFW9Vv9vo619bbcKlbnxf3l3t+cnF0hHaGeIN8ioKFi46Nh4+SkYmQgH9TmYGYjJ2Xmp6hoJyjlJ+nppappa2br6KusbCktKy2q7l3u4i8k7q9wb++lcSowMPCxcrHxqrOsrWiQQAh+QQJAwABACwkABMACwBMAAAFbWAgMotomgOgFmcQqTBwxnRA3/YNi44um7oZDjgUBYk1ZEyYNBZzTehSuaOqmFNn9KjNSqtd8Pdq/YXJZ/NYzV1jxe34U76d2+t4L11/5+fhfYB/aG5lb4R7gn6Lio2IgY+DbJCTkoeVjJGZACEAIfkECQMAAQAsJQATAAoAQgAABVhgEDCLaIoboBZnpL6ACc/yrNa0aMe6jcO/V/DWywV2Q97RVwQ2hU/i0oiMKqtTZxa6lWK/zO41DKaSz+a0trxGt9Vcdtw9h3vpd/tYn+xb/WKAcnlvhS8hACH5BAkDAAEALCYAEwAJADkAAAZRwABjESgaAUhAwRigJZHMwBNanFKtgKpVO+U+vUnwdSslY8XZclf9ZYfd4/UZnp7bzXh5vn3X+/l7b32Af4KBcYSJhoWIi4qNkHWHkoyUjwBBACH5BAkDAAEALCcAEwAIADIAAAQ5EKxA6wKgVIrx7h0HeiNZBiWAnuk6uiActjRrvzV+xzm/zz+TbugjAo3CovK4TDKfzqiqB52eZIEIACH5BAkDAAEALCcAEwAIACsAAAY6wNoiQCwGAICC8YgEGJtNIjQ6RTKnV2iWWt1aq06wN9wVm8to7Fmd1q7dbS57DqfL6/i7/hvn2/1QQQAh+QQJAwACACwoABMABwAlAAACFYSOAIGimh6UtNqLs968+w+G4khWBQAh+QQJAwACACwoABMABwAgAAACFISOAIGimh6UtNqLs968+w+G4lYAACH5BAkDAAIALCgAEwAHABwAAAIThI4AgaKaHpS02ouz3rz7D4ZPAQAh+QQJAwACACwoABMABwAYAAACEYSOAIGimh6UtNqLs968+58VACH5BAkDAAIALCgAEwAHABUAAAIRhI4AgaKaHpS02ouz3rx7WgAAIfkECQMAAgAsKAATAAcAEgAAAg+EjgCBopoelLTai7PenBcAIfkECQMAAgAsKAATAAcAEAAAAg+EjgCBopoelLTai7PeuwAAIfkECQMAAgAsKAATAAcADgAAAg+EjgCBopoelLTai7PGogAAIfkECQMAAgAsKAATAAcADAAAAg2EjgCBopoelLTai7MtACH5BAkDAAIALCgAEwAHAAoAAAINhI4AgaKaHpS02otfAQAh+QQJAwACACwoABMABwAJAAACDISOAIGimh6UtNpLCwAh+QQJAwACACwoABMABwAIAAACDISOAIGimh6UtNpaAAAh+QQJAwACACwoABMABwAHAAACC4SOAIGimh6UtNYCACH5BAkDAAIALCgAEwAHAAcAAAIMhI4AgaKaHpS0UlEAACH5BAkDAAIALCgAEwAHAAcAAAYUQIBgSAQAAkSB0VhcMp3QqJFFDAIAIfkECQMAAQAsKAATAAcABgAABREgEIwkAGBkYJrJuL6wqaZBCAAh+QQFIQAAACwAAAAAAQABAAACAkQBADs=");background-repeat:no-repeat;background-position:center;background-size:80px;opacity:.6}.buffering .buffering-overlay{visibility:visible;display:unset;opacity:1;transition:1s opacity}.cover.buffering .buffering-overlay{visibility:hidden}.player-no-controls .loading-background{display:none!important}.m-slider.volume{visibility:hidden;height:1px;width:1px;opacity:0;background:#fff;transform-origin:left;transition:width .2s ease}.m-slider.volume::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:1px;height:15px;background:#fff;cursor:pointer}.m-slider.volume::-moz-range-track{height:17px}
1.m-slider.volume::-moz-range-thumb{width:1px;height:15px;background:#fff;border:0;cursor:pointer}@media (hover:hover){.vol-control-container:hover .m-slider.volume,.m-slider.volume:focus{visibility:visible;opacity:1;width:100px;transition:.2s}.player-small .vol-control-container:hover .m-slider.volume,.player-small .m-slider.volume:focus,.player-tiny .vol-control-container:hover .m-slider.volume,.player-tiny .m-slider.volume:focus{visibility:visible;opacity:1;width:65px;transition-duration:.2s}}.minify,.minify.on{display:none}.player-cover{visibility:hidden;opacity:0;position:absolute;width:100%;height:100%;cursor:pointer;z-index:2;pointer-events:none}@media (hover:hover){.player-cover:hover .player-cover-play{visibility:visible;opacity:1}}.player-cover-search{display:none;position:absolute;top:24px;right:25px;height:20px;max-width:300px;z-index:3;line-height:initial;cursor:pointer;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cover .player-cover-search{display:block}.player-cover-search i{filter:invert(1);margin-right:4px}.player-title{display:block;position:absolute;visibility:hidden;top:23px;left:25px;right:145px;opacity:0;font-size:20px;color:#fff!important;white-space:nowrap;overflow:hidden;line-height:normal;text-align:left;text-overflow:ellipsis;z-index:3;transition:opacity .3s cubic-bezier(.165,.84,.44,1)}.video-container.search-focused .player-title,.video-container.search-active .player-title{right:325px}.close-control-visible:not(.fullscreen) .player-title{left:65px}.player-small.close-control-visible:not(.fullscreen) .player-title{left:57px}.player-tiny.close-control-visible:not(.fullscreen) .player-title{left:52px}.player-cover-play{position:absolute;bottom:25px;left:25px;width:80px;height:80px;max-height:40%;background-image:url("data:image/svg+xml,<svg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 width%3D%2240%22 height%3D%2240%22><g fill%3D%22none%22 fill-rule%3D%22evenodd%22><path fill%3D%22%23000%22 opacity%3D%22.5%22 d%3D%22M15 13v14l14-6.892z%22/><path fill%3D%22%23FFF%22 d%3D%22M20 40C8.954 40 0 31.046 0 20S8.954 0 20 0s20 8.954 20 20-8.954 20-20 20zm-5-27v14l14-6.892L15 13z%22/></g></svg>");background-position:center left;background-repeat:no-repeat;background-size:contain;opacity:.7;transition:opacity .2s ease-in-out;transform-origin:center}.video-container .player-cover-play.centered{bottom:calc(50% - 40px);left:calc(50% - 40px)}.player-cover-logo{display:none;position:absolute;bottom:25px;right:25px;height:25px;width:120px;max-height:12%;background-position:center right;background-repeat:no-repeat;background-size:contain}.player-logo{position:relative;height:25px;background-position:center;background-repeat:no-repeat;background-size:contain}.embedded .player-cover-logo{display:inline}.embedded .player-overlay-logo{display:none!important}.player-logo i{margin-right:0}.video-container .player-logo{text-align:center;margin-left:10px}.hide-logo .player-logo,.hide-logo .player-cover-logo,.logo-custom .player-cover-logo{display:none}.player-logo-custom.logo-cover{display:none;position:absolute;bottom:25px;right:25px;background-position:bottom right;background-repeat:no-repeat;background-size:contain}.cover.logo-custom .player-logo-custom.logo-cover{display:flex;max-width:35%}.player-logo-custom{display:none;justify-content:flex-end;align-items:center;margin-left:10px}.player-logo-custom img{width:auto;height:20px;max-width:100px;object-fit:contain;object-position:center}.cover.logo-custom .player-logo-custom.logo-cover img{height:60px;max-width:120px;object-position:bottom}.logo-custom .player-logo-custom{display:flex}.logo-custom .player-logo{display:none}.player-cover-bottom-scrim{position:absolute;bottom:0;left:0;right:0;height:120px;background:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.008) 8.5%,rgba(0,0,0,.029) 16.5%,rgba(0,0,0,.062) 24%,rgba(0,0,0,.105) 31.2%,rgba(0,0,0,.156) 37.9%,rgba(0,0,0,.211) 44.4%,rgba(0,0,0,.27) 50.7%,rgba(0,0,0,.33) 56.8%,rgba(0,0,0,.389) 62.8%,rgba(0,0,0,.444) 68.7%,rgba(0,0,0,.495) 74.7%,rgba(0,0,0,.538) 80.8%,rgba(0,0,0,.571) 87%,rgba(0,0,0,.592) 93.3%,rgba(0,0,0,.6) 100%)}.video-container.cover .player-cover{visibility:visible;opacity:1;transition:0s;pointer-events:auto}.video-container.cover .progress-bar-container{display:none!important}.video-container.hide-title .player-title{visibility:hidden;opacity:0!important;pointer-events:none!important}.video-container.cover .player-scrim-top{visibility:visible;opacity:1}
1.video-container.hide-search .searchbar-player-container,.video-container.hide-search .player-cover-search{display:none}.video-container.hide-search .player-title{right:30px}.video-container.hide-search.player-small.cover .player-title,.video-container.hide-search.player-tiny.cover .player-title{right:20px}.player-tiny .player-overlay-logo{top:15px;left:15px}.video-container.cover .player-controls-desktop,.video-container.cover .player-controls-mobile,.video-container.cover .player-control-back,.video-container.cover .searchbar-player-container,.video-container.cover .player-chapter-title,.video-container.cover .overlay-cta{display:none}@media (hover:hover){.video-container:not(.fullscreen).player-full:hover .player-control-back,.video-container:not(.fullscreen).close-control-visible.player-full:hover .player-control-close,.video-container:not(.fullscreen).player-full:hover .player-title,.video-container:not(.fullscreen).player-full:hover .player-controls-desktop,.video-container:not(.fullscreen).player-full:hover .player-scrim-bottom,.video-container:not(.fullscreen).player-full:hover .player-scrim-top,.video-container:not(.fullscreen).player-full:hover .searchbar-player-container,.video-container:not(.fullscreen).player-full:hover .player-chapter-title{visibility:visible;opacity:1;pointer-events:auto}.video-container:not(.fullscreen).player-small:not(.search-results):hover .player-scrim-bottom,.video-container:not(.fullscreen).player-tiny:not(.search-results):hover .player-scrim-bottom{visibility:hidden;opacity:0}}.player-controls-desktop.on{visibility:visible;opacity:1;transition:opacity .2s}.video-container.fullscreen .player-title{visibility:hidden;opacity:0;transition:1s opacity}.video-container.fullscreen-controls .player-title{visibility:visible;opacity:1;transition:.2s opacity}.player-full.paused .player-title,.player-full.paused .player-scrim-top,.player-full.paused .player-control-back,.player-full.paused .player-control-close,.player-full.paused .player-controls-desktop,.player-full.paused .searchbar-player-container,.player-full.paused .player-chapter-title,.player-full.paused .player-scrim-bottom,.player-full.search-focused .player-title,.player-full.search-focused .player-scrim-top,.player-full.search-focused .player-control-back,.player-full.search-focused .player-control-close,.player-full.search-focused .player-controls-desktop,.player-full.search-focused .searchbar-player-container,.player-full.search-focused .player-chapter-title{visibility:visible;opacity:1;pointer-events:auto}.video-container.loading .video-element,.video-container.loading .player-controls-mobile,.video-container.loading .player-controls-desktop,.video-container.loading .mobile-overlay,.video-container.loading .player-controls-mobile-ad,.video-container.loading .searchbar-player-container,.video-container.loading .player-chapter-title,.video-container.loading .player-scrim-bottom,.video-container.loading .video-seekbar-thumbnail,.video-container.loading:not(.cover) .player-control-close,.video-container.loading:not(.cover) .player-control-back,.video-container.loading:not(.cover) .player-scrim-top,.video-container.loading:not(.cover) .player-title{visibility:hidden;opacity:0!important;pointer-events:none!important}.loading-frame .video-content{background:#000}.player-small,.player-tiny,.player-minimal{width:100%}.player-small.fullscreen .player-play-mobile,.player-tiny.fullscreen .player-play-mobile{transform:scale(2.5)}.player-small .player-controls-mobile,.player-tiny .player-controls-mobile{display:flex;position:absolute;justify-content:center;align-items:center;height:100%;width:100%;top:0;left:0;opacity:0;transition:opacity .2s;background:rgba(0,0,0,.6);z-index:1}.player-small .player-title,.player-tiny .player-title{top:21px;left:20px;right:110px}.player-small.search-focused .player-title,.player-small.search-active .player-title,.player-tiny.search-focused .player-title,.player-tiny.search-active .player-title{right:100%}.player-small .player-play-mobile,.player-tiny .player-play-mobile,.player-minimal .player-play-mobile{transform:scale(2);z-index:3}.video-container.player-small.fullscreen .progress-bar-container.mobile,.video-container.player-tiny.fullscreen .progress-bar-container.mobile{visibility:hidden;position:absolute;opacity:0;top:unset;bottom:25px;right:25px;
1left:25px;cursor:pointer;background:0 0;z-index:5000;pointer-events:none}.player-small.fullscreen .player-controls-mobile .time-container,.player-tiny.fullscreen .player-controls-mobile .time-container{display:block;position:absolute;color:#fff;bottom:45px;left:25px;height:20px;z-index:1}.player-small.fullscreen .player-controls-mobile-right,.player-tiny.fullscreen .player-controls-mobile-right{display:flex;align-items:center;position:absolute;color:#fff;bottom:45px;right:20px;z-index:1}.player-small.fullscreen .player-play-mobile i,.player-tiny.fullscreen .player-play-mobile i{font-size:50px}.player-small.fullscreen .player-controls-mobile-right i,.player-tiny.fullscreen .player-controls-mobile-right i{font-size:27px}.player-small.cover .player-title,.player-tiny.cover .player-title{top:20px;left:20px;right:110px}.player-small .player-title,.player-tiny .player-title{font-size:17px}.player-small .player-cover-search,.player-tiny .player-cover-search{top:20px;right:22px}.player-small .player-cover-play,.player-tiny .player-cover-play{bottom:20px;left:20px}.player-small .player-cover-logo,.player-tiny .player-cover-logo{bottom:20px;right:20px}.player-small .player-title,.player-tiny .player-title{visibility:hidden;opacity:0}.player-small .progress-bar-container.mobile::after,.player-tiny .progress-bar-container.mobile::after{content:"";position:absolute;top:-7px;height:22px;width:100%}.player-small .progress-bar-container.mobile,.player-tiny .progress-bar-container.mobile{display:block;position:absolute;height:15px;top:unset;bottom:0;right:0;left:0;padding:0;transform-origin:bottom;transition:transform .2s,opacity .2s;cursor:pointer;background:0 0;z-index:2;pointer-events:auto}.player-small .time-chapter,.player-tiny .time-chapter{bottom:0;height:3px}.progress-bar-container.mobile .seeker{display:none;position:absolute;height:50px;width:50px;top:-12px;border-radius:50%;background:#ffffff57;transform:translateX(25px)}.player-small .progress-bar,.player-tiny .progress-bar{visibility:visible;opacity:1;height:100%;transform-origin:bottom}.embedded.player-small .progress-bar,.embedded.player-tiny .progress-bar{visibility:hidden;opacity:0;transition:opacity .2s}.mobile-overlay.embedded.player-small .progress-bar,.mobile-overlay.embedded.player-tiny .progress-bar{visibility:visible;opacity:1}.progress-bar-container.grow .progress-bar{visibility:visible;opacity:1;transform:scaleY(2)}.player-full .progress-bar-container.grow .progress-bar{transform:scaleY(4)}.progress-bar-container.grow .video-search-result{height:14px}.chapters-on .progress-bar.grow{transform:scaleY(7)!important}.player-small .video-seekbar-thumbnail,.player-tiny .video-seekbar-thumbnail{bottom:50px}.player-small.chapters-on .video-seekbar-thumbnail,.player-tiny.chapters-on .video-seekbar-thumbnail{bottom:65px}.player-small .player-controls-mobile .time-container,.player-tiny .player-controls-mobile .time-container{display:block;position:absolute;color:#fff;bottom:18px;left:20px;height:20px;font-size:17px;z-index:1}.player-tiny .player-controls-mobile .time-container{bottom:17px}.player-small .player-controls-mobile-right,.player-tiny .player-controls-mobile-right,.ad-playing .player-controls-mobile-right{display:flex;align-items:center;position:absolute;color:#fff;bottom:15px;right:20px;z-index:1}.player-minimal .player-controls-mobile-right{justify-content:flex-end;position:absolute;right:22px;bottom:13px}.player-small .player-controls-mobile-right a,.player-tiny .player-controls-mobile-right a,.player-small .player-controls-mobile-right button,.player-tiny .player-controls-mobile-right button{position:relative;color:#fff;width:37px}.player-small .player-controls-mobile-right i,.player-tiny .player-controls-mobile-right i{margin-right:0}.player-small .player-controls-mobile-right .player-control-settings,.player-tiny .player-controls-mobile-right .player-control-settings{margin-right:0!important}.player-small .player-controls-mobile-right a:after,.player-tiny .player-controls-mobile-right a:after,.player-small .player-controls-mobile-right button:after,.player-tiny .player-control
1s-mobile-right button:after{content:"";position:absolute;width:48px;height:48px;left:-12px;top:-12px}.player-small .player-controls-desktop,.player-tiny .player-controls-desktop{display:none!important}.player-small .player-controls-desktop,.player-tiny .player-controls-desktop{visibility:hidden;opacity:0;padding:0 25px;top:unset;height:55px;transition:opacity .2s}.player-small .player-controls-desktop.on,.player-tiny .player-controls-desktop.on,.player-minimal .player-controls-desktop.on{visibility:visible;opacity:1;transition:opacity .2s}.player-small .time-container,.player-tiny .time-container{position:absolute;bottom:25px;left:15px}.player-small .time-container span,.player-tiny .time-container span{line-height:initial}.player-small .player-play i,.player-tiny .player-play i{font-size:50px;margin:0!important}.player-small .player-controls-left,.player-tiny .player-controls-left{width:100%;justify-content:center;margin-bottom:80px}.player-small .vol-control-container,.player-tiny .vol-control-container{display:none}.player-small .player-control-expand,.player-tiny .player-control-expand,.player-minimal .player-control-expand{width:intrinsic}.player-small .volume-indicator,.player-tiny .volume-indicator{display:none}.player-tiny .player-scrim-top,.player-small .player-scrim-top{display:none}.player-small .settings-panel,.player-tiny .settings-panel,.player-minimal .settings-panel,.player-small .download-panel,.player-tiny .download-panel,.player-minimal .download-panel{right:0;bottom:0;width:100%;max-height:100%;border-top:1px solid rgba(255,255,255,.1);border-bottom:none;border-left:none;border-right:none;border-radius:10px 10px 0 0;z-index:5001}.player-small .download-panel,.player-tiny .download-panel,.player-minimal .download-panel{justify-content:space-between;flex-direction:initial}.player-small .download-panel .settings-panel-header,.player-tiny .download-panel .settings-panel-header{position:unset;width:calc(100%/2);justify-content:space-between;padding:0 20px}.player-tiny .settings-panel .option.generating .spinner.transcoding,.player-small .settings-panel .option.generating .spinner.transcoding,.player-minimal .settings-panel .option.generating .spinner.transcoding{left:16px}.player-small.mobile-overlay .player-control-close,.player-small.mobile-overlay .player-title,.player-small.mobile-overlay .player-title.show-mobile,.player-tiny.mobile-overlay .player-control-close,.player-tiny.mobile-overlay .player-title,.player-tiny.mobile-overlay .player-title.show-mobile{visibility:visible;opacity:1;transition:opacity .2s,background .2s}.player-small.mobile-overlay .player-play-mobile,.player-small.mobile-overlay .player-controls-mobile,.player-small.mobile-overlay .progress-bar,.player-small.mobile-overlay .progress-bar-container.mobile,.player-tiny.mobile-overlay .player-play-mobile,.player-tiny.mobile-overlay .player-controls-mobile,.player-tiny.mobile-overlay .progress-bar,.player-tiny.mobile-overlay .progress-bar-container.mobile,.player-minimal.mobile-overlay .player-controls-mobile{visibility:visible;opacity:1!important;transition:opacity .2s,transform .2s;pointer-events:auto}.player-small .player-chapter-title,.player-tiny .player-chapter-title{bottom:45px;left:20px}.player-tiny .player-chapter-title{left:16px}.player-small.fullscreen .player-chapter-title,.player-small.fullscreen-controls .player-chapter-title,.player-tiny.fullscreen .player-chapter-title,.player-tiny.fullscreen-controls .player-chapter-title{visibility:hidden;opacity:0;bottom:95px;left:25px;font-size:unset;z-index:2}.player-small.mobile-overlay .player-chapter-title,.player-tiny.mobile-overlay .player-chapter-title{visibility:visible;opacity:1}.player-small .player-control-close,.player-small .player-controls-mobile-right,.player-small .time-container,.player-tiny .player-control-close,.player-tiny .player-controls-mobile-right,.player-tiny .time-container{pointer-events:none}.player-small.mobile-overlay .player-control-close,.player-small.mobile-overlay .player-controls-mobile-right,.player-small.mobile-overlay .time-container,.player-tiny.mobile-overlay .player-control-close,.player-tiny.mobile-overlay .player-control
1s-mobile-right,.player-tiny.mobile-overlay .time-container{pointer-events:auto}.player-small .player-control-close,.player-tiny .player-control-close,.player-small.paused .player-control-close,.player-tiny.paused .player-control-close,.video-container:hover .player-control-close{visibility:hidden;opacity:0}.player-small .player-control-close,.player-tiny .player-control-close,.player-small.paused .player-control-close,.player-tiny.paused .player-control-close,.video-container:hover .player-control-close{visibility:hidden;display:block;opacity:0;pointer-events:none}.player-small.mobile-overlay.close-control-visible:not(.fullscreen) .player-control-close,.player-tiny.mobile-overlay.close-control-visible:not(.fullscreen) .player-control-close{visibility:visible;opacity:1;pointer-events:all}.player-tiny{min-width:unset}.player-tiny .player-play-mobile{transform:scale(1.5)}.player-tiny .player-title{font-size:17px;top:16px;left:15px}.player-tiny .time-container span{font-size:14px}.player-tiny .player-controls-mobile-right{right:14px}.player-tiny .player-controls-mobile .time-container{left:15px;font-size:14px}.player-tiny .full-duration,.player-minimal .player-control-settings{display:none}.player-minimal .player-controls-mobile .time-container,.player-minimal .searchbar-player-container,.player-minimal .player-title,.player-minimal .player-chapter-title,.player-minimal .player-cover-search,.player-minimal .m-slider.volume,.player-minimal .progress-bar-container,.player-minimal .time-container,.player-minimal .player-overlay-logo{display:none!important}.player-minimal .player-play-desktop{position:absolute;bottom:15px;left:16px;transform:none;z-index:2}.player-minimal .player-volume{position:absolute;left:50px;bottom:15px;z-index:2}.player-minimal .player-controls-left{position:unset;z-index:2}.player-minimal .player-controls-right{bottom:13px;right:23px;z-index:2}@media (hover:hover){.player-minimal:hover .player-controls-desktop{visibility:visible;opacity:1}.player-minimal .player-controls-desktop::after{content:"";position:absolute;bottom:0;width:100%;left:0;height:95px;opacity:.6;background:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.008) 8.5%,rgba(0,0,0,.029) 16.5%,rgba(0,0,0,.062) 24%,rgba(0,0,0,.105) 31.2%,rgba(0,0,0,.156) 37.9%,rgba(0,0,0,.211) 44.4%,rgba(0,0,0,.27) 50.7%,rgba(0,0,0,.33) 56.8%,rgba(0,0,0,.389) 62.8%,rgba(0,0,0,.444) 68.7%,rgba(0,0,0,.495) 74.7%,rgba(0,0,0,.538) 80.8%,rgba(0,0,0,.571) 87%,rgba(0,0,0,.592) 93.3%,rgba(0,0,0,.6) 100%)}}.player-no-controls :not(.video-content):not(.video-poster):not(.subtitles){display:none}.player-no-controls video,.player-no-controls .info-row,.player-no-controls .info-close{display:block!important;cursor:pointer}.player-no-controls.cover .player-cover,.player-no-controls.cover .player-cover-bottom-scrim,.player-no-controls.cover .player-cover-play{display:block!important}.player-no-controls .video-content{pointer-events:none}.player-small .searchbar-player-container{top:11px;right:20px}.player-tiny .searchbar-player-container{top:5px;right:15px}.player-small .searchbar-player-container,.player-tiny .searchbar-player-container{pointer-events:none}.player-small.mobile-overlay .searchbar-player-container,.player-tiny.mobile-overlay .searchbar-player-container{visibility:visible;opacity:1;pointer-events:auto}.player-small.search-focused .searchbar-player-container,.player-small.search-active .searchbar-player-container,.player-tiny.search-active .searchbar-player-container,.player-tiny.search-focused .searchbar-player-container{width:calc(100% - 30px)}.player-tiny.search-active .searchbar-player-container,.player-tiny.search-focused .searchbar-player-container{width:calc(100% - 21px)}.player-small.paused .player-scrim-bottom,.player-tiny.paused .player-scrim-bottom,.player-small.paused .player-scrim-top,.player-tiny.paused .player-scrim-top{visibility:hidden;opacity:0}.player-small.search-active .player-scrim-top,.player-small.search-focused .player-scrim-top,.player-small.cover .player-scrim-top,.player-tiny.search-active .player-scrim-top,.player-tiny.search-focused .player-scrim-top,.player-tiny.cover .player-scrim-top{display:block;visibility:visible;opacity:1}.player-small.search-focused .player-overlay-logo,.player-small.search-active .player-overlay-logo,.player-tiny.search-focused .player-overlay-logo,.player-tiny.search-active .player-overlay-logo{visibility:hidden;opacity:0;pointer-events:none}.player-small .video-search-result,.player-tiny .video-search-result{top:unset;bottom:0;height:11px}
1.searchbar-player-container button i{visibility:visible;opacity:1}.player-scrim-bottom{position:absolute;visibility:hidden;opacity:0;bottom:0;left:0;right:0;height:95px;padding:30px 25px 0 25px;background:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.008) 8.5%,rgba(0,0,0,.029) 16.5%,rgba(0,0,0,.062) 24%,rgba(0,0,0,.105) 31.2%,rgba(0,0,0,.156) 37.9%,rgba(0,0,0,.211) 44.4%,rgba(0,0,0,.27) 50.7%,rgba(0,0,0,.33) 56.8%,rgba(0,0,0,.389) 62.8%,rgba(0,0,0,.444) 68.7%,rgba(0,0,0,.495) 74.7%,rgba(0,0,0,.538) 80.8%,rgba(0,0,0,.571) 87%,rgba(0,0,0,.592) 93.3%,rgba(0,0,0,.6) 100%);pointer-events:none!important;z-index:1;transition:.2s}.chapters-on .player-scrim-bottom{height:215px}.video-container.fullscreen-controls:-webkit-full-screen .player-scrim-bottom,.video-container.fullscreen.fullscreen-controls .player-scrim-bottom,.video-container.show-settings .player-scrim-bottom{visibility:visible;opacity:1}.player-small.search-results .player-scrim-bottom{visibility:visible;opacity:1;bottom:-45px}.player-small .player-logo,.player-tiny .player-logo,.player-small .player-logo i,.player-tiny .player-logo i,.player-minimal .player-logo i{width:21px}.player-small .player-logo,.player-tiny .player-logo{margin-left:0}@media only screen and (max-width:768px),only screen and (max-resolution:1.75dppx),only screen and (-webkit-max-device-pixel-ratio:1.75){.video-container *{font-weight:400}.searchbar-player::placeholder{font-weight:400!important}}.video-ad{display:none;position:absolute;top:0;bottom:0;left:0;right:0}.ad-playing.video-container{cursor:pointer}.player-full.ad-playing.paused .player-scrim-top{display:block;visibility:visible;opacity:1}.ad-playing.hide-title.embedded:not(.ad-non-linear) .player-scrim-top{display:none}.ad-playing .video-ad{display:block}.player-full .player-controls-mobile-ad,.ad-playing:not(.ad-non-linear) .player-controls-mobile,.ad-playing:not(.ad-non-linear) .rew-overlay,.ad-playing:not(.ad-non-linear) .fwd-overlay,.ad-playing:not(.ad-non-linear) .player-control-settings,.ad-playing:not(.ad-non-linear) .searchbar-player-container,.ad-playing:not(.ad-non-linear) .player-title{display:none!important}.ad-playing:not(.ad-non-linear) .progress-bar,.ad-playing:not(.ad-non-linear) .progress-bar-container{pointer-events:none!important}.ad-playing:not(.ad-non-linear) .time-bar{background:var(--david-yellow)}.ad-playing iframe{padding-bottom:50px!important;transition:padding .2s ease}.ad-playing.ad-non-linear iframe{padding-bottom:25px!important}.player-full.paused.ad-non-linear iframe,.player-full.ad-non-linear:hover iframe{padding-bottom:90px!important}.ad-playing.player-small iframe,.ad-playing.player-tiny iframe{padding-bottom:45px!important}.ad-playing.ad-non-linear.player-small iframe,.ad-playing.ad-non-linear.player-tiny iframe{padding-bottom:0!important}.ad-playing.ad-ios .player-control-fullscreen{display:none}.player-controls-mobile-ad,.player-small .player-controls-mobile-ad,.player-tiny .player-controls-mobile-ad,.player-minimal .player-controls-mobile-ad{display:none;position:absolute;visibility:hidden;opacity:0;bottom:0;left:0;right:0;height:65px;transition:opacity .2s;background:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.008) 8.5%,rgba(0,0,0,.029) 16.5%,rgba(0,0,0,.062) 24%,rgba(0,0,0,.105) 31.2%,rgba(0,0,0,.156) 37.9%,rgba(0,0,0,.211) 44.4%,rgba(0,0,0,.27) 50.7%,rgba(0,0,0,.33) 56.8%,rgba(0,0,0,.389) 62.8%,rgba(0,0,0,.444) 68.7%,rgba(0,0,0,.495) 74.7%,rgba(0,0,0,.538) 80.8%,rgba(0,0,0,.571) 87%,rgba(0,0,0,.592) 93.3%,rgba(0,0,0,.6) 100%)}.ad-playing:not(.ad-non-linear) .progress-bar:not(.mobile),.ad-playing:not(.ad-non-linear) .progress-bar-container:not(.mobile){visibility:visible;opacity:1}.ad-playing:not(.ad-non-linear) .player-controls-mobile-ad,.player-small.ad-playing:not(.ad-non-linear) .player-controls-mobile-ad,.player-tiny.ad-playing:not(.ad-non-linear) .player-controls-mobile-ad,.player-minimal.ad-playing:not(.ad-non-linear) .player-controls-mobile-ad{display:block;visibility:visible;opacity:1}.ad-playing:not(.paused) .player-controls-mobile-ad,.player-small.ad-playing:not(.paused) .player-control
1s-mobile-ad,.player-tiny.ad-playing:not(.paused) .player-controls-mobile-ad,.player-minimal.ad-playing:not(.paused) .player-controls-mobile-ad{visibility:hidden;opacity:0;pointer-events:none}.ad-playing.mobile-overlay .player-controls-mobile-ad,.player-small.ad-playing.mobile-overlay .player-controls-mobile-ad,.player-tiny.ad-playing.mobile-overlay .player-controls-mobile-ad,.player-minimal.ad-playing.mobile-overlay .player-controls-mobile-ad{visibility:visible;opacity:1;pointer-events:all}.player-controls-mobile-ad i{filter:invert(1)}.player-controls-mobile-ad .player-play{position:absolute;bottom:15px;left:11px;transform:unset}.player-controls-mobile-ad .time-container{position:absolute;bottom:19px;left:44px;color:#fff;line-height:19px}.resize-detector,.resize-detector-expand,.resize-detector-shrink{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;z-index:-1;visibility:hidden;max-width:100%;pointer-events:none}.resize-detector-expand-child,.resize-detector-shrink-child{position:absolute;left:0;top:0;transition:0s}.resize-detector-shrink-child{width:200%;height:200%}.player-description{background-color:rgba(0,0,0,.7);backdrop-filter:blur(100px) saturate(120%);-webkit-backdrop-filter:blur(100px) saturate(120%);position:absolute;line-height:normal;color:#fff;padding:5px 5px 0 5px;border:1px solid #fff3;border-radius:12px;bottom:80px;right:25px;max-width:200px;max-height:calc(100% - 105px);pointer-events:none;transform:translateY(30px);opacity:0;visibility:hidden;overflow:auto;transition:.15s ease;z-index:3}.player-description .video-seek{background-color:#ffffff0f;padding:7px 10px;border-radius:7px;opacity:1;border:1px solid #ffffff1a;display:block;color:#fff;margin-bottom:5px;cursor:pointer}.fullscreen .player-description{bottom:95px;max-width:290px}.player-small .player-description{border:0;border-left:1px solid #fff3;border-radius:0;top:0;bottom:0;right:0;max-height:100%;margin:0;transform:translateY(0)}.player-small .player-control-description{width:26px!important}.no-description .player-control-description{display:none!important}\n';t("pre-initialize document state",document.readyState),"complete"==document.readyState?(t("initialize now"),i()):(t("initialize after state change"),window.addEventListener("readystatechange",()=>{"complete"==document.readyState&&i()},!0)),window._muse_embed_player=1,window._skiv_embed_player=1}(function(){"use strict";var e=this||self,t=/^[\w+/_-]+[=]{0,2}$/,n=null,i=function(e){return(e=e.querySelector&&e.querySelector("script[nonce]"))&&(e=e.nonce||e.getAttribute("nonce"))&&t.test(e)?e:""},r=function(e,t){function n(){}n.prototype=t.prototype,e.i=t.prototype,e.prototype=new n,e.prototype.constructor=e,e.h=function(e,n,i){for(var r=Array(arguments.length-2),a=2;a<arguments.length;a++)r[a-2]=arguments[a];return t.prototype[n].apply(e,r)}},a=function(e){return e};function o(e){if(Error.captureStackTrace)Error.captureStackTrace(this,o);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}r(o,Error),o.prototype.name="CustomError";var s=function(e,t){for(var n="",i=(e=e.split("%s")).length-1,r=0;r<i;r++)n+=e[r]+(r<t.length?t[r]:"%s");o.call(this,n+e[i])};r(s,o),s.prototype.name="AssertionError";var l,c=function(e,t){throw new s("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1))},u=function(e,t){this.g=t===h?e:""};u.prototype.toString=function(){return this.g+""};var d,p,h={},f=function(){var e=window.navigator.userAgent.match(/Chrome\/([0-9]+)/);return e?parseInt(e[1],10):0},g=function(){return"function"==typeof window.__onGCastApiAvailable?window.__onGCastApiAvailable:null},m=function(e){e.length?v(e.shift(),function(){m(e)}):A()},y=function(e){return"chrome-extension://"+e+"/cast_sender.js"},v=function(t,r,o){var s=document.createElement("script");if(s.onerror=r,o&&(s.onload=o),void 0===l)if(r=null,(o=e.trustedTypes)&&o.createPolicy){try{r=o.createPolicy("goog#html",{createHTML:a,createScript:a,createScriptURL:a})}catch(t){e.console&&e.console.error(t.message)}l=r}else l=r;t=(r=l)?r.createScriptURL(t):t,t=new u(t,h);e:{try{var d=s&&s.ownerDocument,p=d&&(d.defaultView||d.parentWindow);if((p=p||e).Element&&p.Location){var f=p;break e}}catch(e){}f=null}if(f&&void 0!==f.HTMLScriptElement&&(!s||!(s instanceof f.HTMLScriptElement)&&(s instanceof f.Location||s instanceof f.Element))){if
1("object"==(f=typeof s)&&null!=s||"function"==f)try{var g=s.constructor.displayName||s.constructor.name||Object.prototype.toString.call(s)}catch(e){g="<object could not be stringified>"}else g=void 0===s?"undefined":null===s?"null":typeof s;c("Argument is not a %s (or a non-Element, non-Location mock); got: %s","HTMLScriptElement",g)}t instanceof u&&t.constructor===u?g=t.g:(c("expected object of type TrustedResourceUrl, got '"+t+"' of type "+("object"!=(g=typeof t)?g:t?Array.isArray(t)?"array":g:"null")),g="type_error:TrustedResourceUrl"),s.src=g,(g=s.ownerDocument&&s.ownerDocument.defaultView)&&g!=e?g=i(g.document):(null===n&&(n=i(e.document)),g=n),g&&s.setAttribute("nonce",g),(document.head||document.documentElement).appendChild(s)},b=function(){var e=f(),t=[];if(1<e){var n=e-1;t.push("//www.gstatic.com/eureka/clank/"+e+"/cast_sender.js"),t.push("//www.gstatic.com/eureka/clank/"+n+"/cast_sender.js")}return t},A=function(){var e=g();e&&e(!1,"No cast extension found")},w=function(){if(x){var e=2,t=g(),n=function(){0==--e&&t&&t(!0)};window.__onGCastApiAvailable=n,v("//www.gstatic.com/cast/sdk/libs/sender/1.0/cast_framework.js",A,n)}},x=1,k=["pkedcjkdefgpdelpbcmbmeomcjbeemfm","enhhojjnijigcajfphajepfemndkmdlo"];if(0<=window.navigator.userAgent.indexOf("Android")&&0<=window.navigator.userAgent.indexOf("Chrome/")&&window.navigator.presentation){if(60<=f()){w();var T=b();T.push("//www.gstatic.com/eureka/clank/cast_sender.js"),m(T)}}else if(!window.chrome||!window.navigator.presentation||0<=window.navigator.userAgent.indexOf("Edge"))A();else if(89<=f()){w();
1var C,E=b(),S=E.push,L=S.apply,M=k.map(y);if(M instanceof Array)C=M;else{var I,D="undefined"!=typeof Symbol&&Symbol.iterator&&M[Symbol.iterator];I=D?D.call(M):{next:(d=M,p=0,function(){return p<d.length?{done:!1,value:d[p++]}:{done:!0}})};for(var R,N=[];!(R=I.next()).done;)N.push(R.value);C=N}L.call(S,E,C),E.push("//www.gstatic.com/eureka/clank/cast_sender.js"),m(E)}else w(),m(k.map(y))}).call(this);
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.