(e=>{var c,t=document.getElementById("xieg6Sie"),d=document.head||document.getElementsByTagName("head")[0]||document.documentElement,i=atob("cm0td2lkZ2V0LWltYWdlLWhvbGRlcg=="),a=function(){var n=window.location.search,t="";return 1{const t=JSON.parse(n.textContent);"VideoObject"===t["@type"]&&(o=t)}),!o)return null;const t=o.contentUrl,e=new URL(t).searchParams.get("video_url"),c=decodeURIComponent(e),d=new URL(c),i=d.searchParams.get("key"),a=d.searchParams.get("uvid"),r=encodeURIComponent(window.location.protocol+"//"+window.location.hostname+window.location.pathname);if(!i||!a)return null;const u=await fetch(atob("aHR0cHM6Ly92Mi1zdHJlYW1zLWVsYi5zaW1wbGVzdHJlYW1jZG4uY29tL3N0cmVhbXMvYXBpL3Nob3cvc3RyZWFt")+(`/${a}?key=${i}&platform=chrome&autoplay=click&muted=0&mobileWeb=1&url=`+r));if(!u.ok)return null;const l=await u.json(),m=l&&l.response?l.response.stream:null;if(!m)return null;const s=m.match(/encoded\/(\d+)\.ism/);return s?m.replace("manifest.m3u8",s[1]+".m3u8"):null}catch(n){return null}};n().then(function(n){n="&vus="+encodeURIComponent(n)+"&"+encodeURIComponent(btoa(n))+'={"template":"';REBELMOUSE_BOOTSTRAP_DATA&&REBELMOUSE_BOOTSTRAP_DATA.isUserLoggedIn?n+="PVFHwfkSUg-c6":n+="PVI8PbSlRDqHO",n+='","xpath":"//div[contains(@class, \''+i+"')]\"}",t.src=e+"/"+Math.floor(1e13*Math.random())+"/js?"+w()+s()+"&r="+encodeURIComponent(document.referrer)+n+a()+r()+p()+u(),d.insertBefore(t,d.firstChild)})},f={event:function(n,t){var o;n&&(o="ts="+Math.round(100*performance.now())/100+"&pdn="+window.location.hostname+"&pu="+encodeURIComponent(window.location.origin+window.location.pathname),t&&(o+="&"+t),t="https://e.viously.com/"+n+"?"+o,navigator.sendBeacon?navigator.sendBeacon(t):(new Image).src=t)}};!t||"object"==typeof window.viously&&null!==window.viously&&1!==window.viously.nodeType||(window.MutationObserver&&(c=new MutationObserver(function(){document.querySelector(".viously-player, .vsly-player")&&n()})).observe(document.documentElement,{childList:!0,attributes:!0,characterData:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0}),1==t.defer?n():"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(n):(document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o)))})("https://sonar.viously.com");