(function(){'use strict';var q;function aa(a){var b=0;return function(){return b>>0)+"_",g=0;return b}); u("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c>>0),sa=0;function I(a,b){a=a.split(".");var c=G;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b} function ta(a,b){function c(){} c.prototype=b.prototype;a.H=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Y=function(d,g,k){for(var e=Array(arguments.length-2),f=2;f=0&&Array.prototype.splice.call(a,b,1)} function xa(a){return Array.prototype.concat.apply([],arguments)} function ya(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d0){this.h--;var a=this.g;this.g=a.next;a.next=null}else a=this.i();return a};function Aa(a){G.setTimeout(function(){throw a;},0)} ;function Ba(){this.h=this.g=null} Ba.prototype.add=function(a,b){var c=Ca.get();c.set(a,b);this.h?this.h.next=c:this.g=c;this.h=c}; Ba.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.h=null),a.next=null);return a}; var Ca=new za(function(){return new Da},function(a){return a.reset()}); function Da(){this.next=this.scope=this.g=null} Da.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null}; Da.prototype.reset=function(){this.next=this.scope=this.g=null};var Ea,Fa=!1,Ga=new Ba;function Ha(a){Ea||Ia();Fa||(Ea(),Fa=!0);Ga.add(a,void 0)} function Ia(){var a=Promise.resolve(void 0);Ea=function(){a.then(Ja)}} function Ja(){for(var a;a=Ga.remove();){try{a.g.call(a.scope)}catch(c){Aa(c)}var b=Ca;b.j(a);b.h<100&&(b.h++,a.next=b.g,b.g=a)}Fa=!1} ;function J(){this.i=this.i;this.j=this.j} J.prototype.i=!1;J.prototype.dispose=function(){this.i||(this.i=!0,this.C())}; J.prototype[Symbol.dispose]=function(){this.dispose()}; J.prototype.addOnDisposeCallback=function(a,b){this.i?b!==void 0?a.call(b):a():(this.j||(this.j=[]),b&&(a=a.bind(b)),this.j.push(a))}; J.prototype.C=function(){if(this.j)for(;this.j.length;)this.j.shift()()};var Ka=/&/g,La=//g,Na=/"/g,Oa=/'/g,Pa=/\x00/g,Qa=/[\x00&<>"']/;/* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ function K(a){this.g=a} K.prototype.toString=function(){return this.g}; var Ra=new K("about:invalid#zClosurez");function Sa(a){this.R=a} function L(a){return new Sa(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})} var Ta=[L("data"),L("http"),L("https"),L("mailto"),L("ftp"),new Sa(function(a){return/^[^:]*([/?#]|$)/.test(a)})]; function Ua(a){var b=b===void 0?Ta:b;a:if(b=b===void 0?Ta:b,!(a instanceof K)){for(var c=0;c")!=-1&&(a=a.replace(Ma,">")),a.indexOf('"')!=-1&&(a=a.replace(Na,""")),a.indexOf("'")!=-1&&(a=a.replace(Oa,"'")),a.indexOf("\x00")!=-1&&(a=a.replace(Pa,"�")));return a} ;var $a,P;a:{for(var ab=["CLOSURE_FLAGS"],Q=G,bb=0;bb0:!1} function gb(a){var b={};a.forEach(function(c){b[c[0]]=c[1]}); return function(c){return b[c.find(function(d){return d in b})]||""}} function hb(){for(var a=R(),b=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);a=gb(c);return(fb()?eb():(R().indexOf("Chrome")!=-1||R().indexOf("CriOS")!=-1)&&(fb()||R().indexOf("Edge")==-1)||R().indexOf("Silk")!=-1)?a(["Chrome","CriOS","HeadlessChrome"]):""} function ib(){if(fb()){var a=S.brands.find(function(b){return b.brand==="Chromium"}); if(!a||!a.version)return NaN;a=a.version.split(".")}else{a=hb();if(a==="")return NaN;a=a.split(".")}return a.length===0?NaN:Number(a[0])} ;function T(a){J.call(this);this.s=1;this.l=[];this.m=0;this.g=[];this.h={};this.A=!!a} ta(T,J);q=T.prototype;q.subscribe=function(a,b,c){var d=this.h[a];d||(d=this.h[a]=[]);var g=this.s;this.g[g]=a;this.g[g+1]=b;this.g[g+2]=c;this.s=g+3;d.push(g);return g}; function jb(a,b,c){var d=U;if(a=d.h[a]){var g=d.g;(a=a.find(function(k){return g[k+1]==b&&g[k+2]==c}))&&d.D(a)}} q.D=function(a){var b=this.g[a];if(b){var c=this.h[b];this.m!=0?(this.l.push(a),this.g[a+1]=function(){}):(c&&wa(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b}; q.G=function(a,b){var c=this.h[a];if(c){var d=Array(arguments.length-1),g=arguments.length,k;for(k=1;k0&&this.m==0)for(;c=this.l.pop();)this.D(c)}}return k!=0}return!1}; function kb(a,b,c){Ha(function(){a.apply(b,c)})} q.clear=function(a){if(a){var b=this.h[a];b&&(b.forEach(this.D,this),delete this.h[a])}else this.g.length=0,this.h={}}; q.C=function(){T.H.C.call(this);this.clear();this.l.length=0};var lb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");function mb(a){var b=a.match(lb);a=b[1];var c=b[2],d=b[3];b=b[4];var g="";a&&(g+=a+":");d&&(g+="//",c&&(g+=c+"@"),g+=d,b&&(g+=":"+b));return g} function nb(a,b,c){if(Array.isArray(b))for(var d=0;d=119;return b.call(a,c&&!!navigator.permissions&&!!navigator.permissions.query&&"requestStorageAccessFor"in document)})} function tb(){var a=new rb,b=["https://www.youtube.com"];b=b===void 0?qb:b;oa(function(c){switch(c.g){case 1:return C(c,sb(),2);case 2:if(!c.m){c.g=3;break}return C(c,Promise.all(b.map(function(d){var g;return oa(function(k){if(k.g==1)return k.l=2,C(k,navigator.permissions.query({name:"top-level-storage-access",requestedOrigin:d}),4);k.g!=2?(g=k.m,g.state==="prompt"&&a.g.push(d),k.g=0,k.l=0):(k.l=0,k.i=null,k.g=0)})})),4); case 4:a.g.length>0&&window.addEventListener("click",a.h);case 3:return c.return()}})} ;var V={},ub=[],U=new T,vb={};function wb(){for(var a=x(ub),b=a.next();!b.done;b=a.next())b=b.value,b()} function xb(a,b){return a.tagName.toLowerCase().substring(0,3)==="yt:"?a.getAttribute(b):a.dataset?a.dataset[b]:a.getAttribute("data-"+b)} function yb(a){U.G.apply(U,arguments)} ;function zb(a){return(a.search("cue")===0||a.search("load")===0)&&a!=="loadModule"} function Ab(a){return a.search("get")===0||a.search("is")===0} ;var W=window; function X(a,b){this.v={};this.playerInfo={};this.videoTitle="";this.j=this.g=null;this.h=0;this.m=!1;this.l=[];this.i=null;this.A={};this.options=null;if(!a)throw Error("YouTube player element ID required.");this.id=qa(this);b=Object.assign({title:"video player",videoId:"",width:640,height:360},b||{});var c=document;if(a=typeof a==="string"?c.getElementById(a):a){W.yt_embedsEnableRsaforFromIframeApi&&tb();c=a.tagName.toLowerCase()==="iframe";b.host||(b.host=c?mb(a.src):"https://www.youtube.com");this.options= b||{};b=[this.options,window.YTConfig||{}];for(var d=0;d=0&&ml)n=l;m+=f.length+1;h=decodeURIComponent(h.slice(m,n!==-1?n:0).replace(/\+/g," "))}h!==null&&(e[f]=h)}); W.yt_embedsEnableIframeApiSendFullEmbedUrl&&(window.location.href&&(e.forigin=window.location.href),b=window.location.ancestorOrigins,e.aoriginsup=b===void 0?0:1,b&&b.length>0&&(e.aorigins=Array.from(b).join(",")),window.document.referrer&&(e.gporigin=window.document.referrer));a=""+Y(a,"host")+Hb(a)+"?"+ob(e);W.yt_embedsEnableIframeSrcWithIntent?(Ya(c,Ua(a)),c.sandbox.add("allow-presentation","allow-top-navigation")):c.src=a;return c} q.F=function(){this.g&&this.g.contentWindow?this.sendMessage({event:"listening"}):clearInterval(this.h)}; function Cb(a){Ib(a,a.id,String(Y(a,"host")));a.h=setInterval(a.F.bind(a),250);a.g&&(a.s=function(){clearInterval(a.h);a.h=setInterval(a.F.bind(a),250)},a.g.addEventListener("load",a.s))} function Eb(a,b){a.A[b]||(a.A[b]=!0,Fb(a,"addEventListener",[b]))} q.sendMessage=function(a){a.id=this.id;a.channel="widget";a=JSON.stringify(a);var b=mb(this.g.src||"").replace("http:","https:");if(this.g.contentWindow)try{this.g.contentWindow.postMessage(a,b)}catch(c){if(c.name&&c.name==="SyntaxError")c.message&&c.message.indexOf("target origin ''")>0||console&&console.warn&&console.warn(c);else throw c;}else console&&console.warn&&console.warn("The YouTube player is not attached to the DOM. API calls should be made after the onReady event. See more: https://developers.google.com/youtube/iframe_api_reference#Events")}; function Hb(a){if(W.yt_embedsEnableIframeApiVideoIdValidation){a=String(Y(a,"videoId"));if(a.includes("../"))throw Error("Invalid video id");return"/embed/"+a}return"/embed/"+String(Y(a,"videoId"))} function Gb(a){var b=Y(a,"playerVars");if(b){var c={},d;for(d in b)c[d]=b[d];b=c}else b={};window!==window.top&&document.referrer&&(b.widget_referrer=document.referrer.substring(0,256));if(a=Y(a,"embedConfig")){if(H(a))try{a=JSON.stringify(a)}catch(g){console.error("Invalid embed config JSON",g)}b.embed_config=a}return b} function Jb(a,b){if(H(b)){for(var c in b)b.hasOwnProperty(c)&&(a.playerInfo[c]=b[c]);a.playerInfo.hasOwnProperty("videoData")&&(b=a.playerInfo.videoData,b.hasOwnProperty("title")&&b.title?(b=b.title,b!==a.videoTitle&&(a.videoTitle=b,a.g.setAttribute("title",b))):(a.videoTitle="",a.g.setAttribute("title","YouTube "+Y(a,"title"))))}} function Kb(a,b){b=x(b);for(var c=b.next(),d={};!c.done;d={u:void 0},c=b.next())d.u=c.value,a[d.u]||(d.u==="getCurrentTime"?a[d.u]=function(){var g=this.playerInfo.currentTime;if(this.playerInfo.playerState===1){var k=(Date.now()/1E3-this.playerInfo.currentTimeLastUpdated_)*this.playerInfo.playbackRate;k>0&&(g+=Math.min(k,1))}return g}:zb(d.u)?a[d.u]=function(g){return function(){this.playerInfo={}; this.v={};Fb(this,g.u,arguments);return this}}(d):Ab(d.u)?a[d.u]=function(g){return function(){var k=g.u,e=0; k.search("get")===0?e=3:k.search("is")===0&&(e=2);return this.playerInfo[k.charAt(e).toLowerCase()+k.substring(e+1)]}}(d):a[d.u]=function(g){return function(){Fb(this,g.u,arguments); return this}}(d))} q.getVideoEmbedCode=function(){var a=""+Y(this,"host")+Hb(this),b=Number(Y(this,"width")),c=Number(Y(this,"height"));if(isNaN(b)||isNaN(c))throw Error("Invalid width or height property");b=Math.floor(b);c=Math.floor(c);var d=this.videoTitle;a=Za(a);d=Za(d!=null?d:"YouTube video player");return'')}; q.getOptions=function(a){return this.v.namespaces?a?this.v[a]?this.v[a].options||[]:[]:this.v.namespaces||[]:[]}; q.getOption=function(a,b){if(this.v.namespaces&&a&&b&&this.v[a])return this.v[a][b]}; function Y(a,b){a=[a.options,window.YTConfig||{}];for(var c=0;c